@strictly/react-form 0.0.29 → 0.0.31

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.
Files changed (294) hide show
  1. package/.out/core/mobx/{field_adapter.d.ts → FieldAdapter.d.ts} +1 -1
  2. package/.out/core/mobx/{field_adapters_of_values.d.ts → FieldAdaptersOfValues.d.ts} +1 -1
  3. package/.out/core/mobx/{flattened_adapters_of_fields.d.ts → FlattenedAdaptersOfFields.d.ts} +2 -2
  4. package/.out/core/mobx/{form_fields_of_field_adapters.d.ts → FormFieldsOfFieldAdapters.d.ts} +2 -2
  5. package/.out/core/mobx/{form_model.d.ts → FormModel.d.ts} +3 -3
  6. package/.out/core/mobx/{form_model.js → FormModel.js} +1 -1
  7. package/.out/core/mobx/{field_adapter_builder.d.ts → fieldAdapterBuilder.d.ts} +2 -2
  8. package/.out/core/mobx/{field_adapter_builder.js → fieldAdapterBuilder.js} +6 -6
  9. package/.out/core/mobx/hooks.d.ts +1 -1
  10. package/.out/core/mobx/hooks.js +1 -1
  11. package/.out/core/mobx/{merge_field_adapters_with_two_way_converter.d.ts → mergeFieldAdaptersWithTwoWayConverter.d.ts} +2 -2
  12. package/.out/core/mobx/{merge_field_adapters_with_two_way_converter.js → mergeFieldAdaptersWithTwoWayConverter.js} +1 -1
  13. package/.out/core/mobx/{merge_field_adapters_with_validators.d.ts → mergeFieldAdaptersWithValidators.d.ts} +1 -1
  14. package/.out/core/mobx/{merge_field_adapters_with_validators.js → mergeFieldAdaptersWithValidators.js} +1 -1
  15. package/.out/core/mobx/specs/{form_model.tests.js → FormModel.tests.js} +8 -8
  16. package/.out/core/mobx/specs/{merge_field_adapters_with_two_way_converter.tests.js → MergeFieldAdaptersWithTwoWayConverter.tests.js} +4 -4
  17. package/.out/core/mobx/specs/{merge_field_adapters_with_validators.tests.js → MergeFieldAdaptersWithValidators.tests.js} +3 -3
  18. package/.out/core/mobx/specs/fixtures.d.ts +2 -2
  19. package/.out/core/mobx/specs/{sub_form_field_adapters.tests.js → subFormFieldAdapters.tests.js} +2 -2
  20. package/.out/core/mobx/{sub_form_field_adapters.d.ts → subFormFieldAdapters.d.ts} +1 -1
  21. package/.out/core/props.d.ts +1 -1
  22. package/.out/field_converters/{integer_to_string_converter.d.ts → IntegerToStringConverter.d.ts} +1 -1
  23. package/.out/field_converters/{integer_to_string_converter.js → IntegerToStringConverter.js} +1 -1
  24. package/.out/field_converters/{maybe_identity_converter.d.ts → MaybeIdentityConverter.d.ts} +1 -1
  25. package/.out/field_converters/{nullable_to_boolean_converter.d.ts → NullableToBooleanConverter.d.ts} +1 -1
  26. package/.out/field_converters/{nullable_to_boolean_converter.js → NullableToBooleanConverter.js} +1 -1
  27. package/.out/field_converters/{select_value_type_converter.d.ts → SelectValueTypeConverter.d.ts} +1 -1
  28. package/.out/field_converters/{select_value_type_converter.js → SelectValueTypeConverter.js} +1 -1
  29. package/.out/field_converters/{trimming_string_converter.d.ts → TrimmingStringConverter.d.ts} +1 -1
  30. package/.out/field_converters/{trimming_string_converter.js → TrimmingStringConverter.js} +1 -1
  31. package/.out/field_converters/{chain_field_converter.d.ts → chainFieldConverter.d.ts} +1 -1
  32. package/.out/field_converters/{chain_field_converter.js → chainFieldConverter.js} +1 -1
  33. package/.out/field_converters/{identity_converter.d.ts → identityConverter.d.ts} +1 -1
  34. package/.out/field_converters/{identity_converter.js → identityConverter.js} +1 -1
  35. package/.out/field_converters/specs/{chain_field_converter.tests.js → chainFieldConverter.tests.js} +2 -2
  36. package/.out/field_converters/{validating_converter.d.ts → validatingConverter.d.ts} +1 -1
  37. package/.out/field_converters/{validating_converter.js → validatingConverter.js} +1 -1
  38. package/.out/field_value_factories/{prototyping_field_value_factory.d.ts → prototypingFieldValueFactory.d.ts} +1 -1
  39. package/.out/index.d.ts +22 -22
  40. package/.out/index.js +22 -22
  41. package/.out/mantine/{error_renderer.d.ts → ErrorRenderer.d.ts} +2 -2
  42. package/.out/mantine/{create_checkbox.d.ts → createCheckbox.d.ts} +3 -3
  43. package/.out/mantine/{create_checkbox.js → createCheckbox.js} +2 -2
  44. package/.out/mantine/{create_field_view.d.ts → createFieldView.d.ts} +4 -4
  45. package/.out/mantine/{create_field_view.js → createFieldView.js} +1 -1
  46. package/.out/mantine/{create_fields_view.d.ts → createFieldsView.d.ts} +3 -3
  47. package/.out/mantine/{create_form.d.ts → createForm.d.ts} +3 -3
  48. package/.out/mantine/{create_list.d.ts → createList.d.ts} +3 -3
  49. package/.out/mantine/{create_list.js → createList.js} +1 -1
  50. package/.out/mantine/{create_pill.d.ts → createPill.d.ts} +2 -2
  51. package/.out/mantine/{create_pill.js → createPill.js} +1 -1
  52. package/.out/mantine/{create_radio.d.ts → createRadio.d.ts} +3 -3
  53. package/.out/mantine/{create_radio.js → createRadio.js} +1 -1
  54. package/.out/mantine/{create_radio_group.d.ts → createRadioGroup.d.ts} +3 -3
  55. package/.out/mantine/{create_radio_group.js → createRadioGroup.js} +2 -2
  56. package/.out/mantine/{create_text_input.d.ts → createTextInput.d.ts} +3 -3
  57. package/.out/mantine/{create_text_input.js → createTextInput.js} +2 -2
  58. package/.out/mantine/{create_value_input.d.ts → createValueInput.d.ts} +4 -4
  59. package/.out/mantine/{create_value_input.js → createValueInput.js} +2 -2
  60. package/.out/mantine/hooks.d.ts +18 -18
  61. package/.out/mantine/hooks.js +10 -10
  62. package/.out/mantine/specs/{checkbox_hooks.stories.d.ts → checkboxHooks.stories.d.ts} +1 -1
  63. package/.out/mantine/specs/{checkbox_hooks.stories.js → checkboxHooks.stories.js} +1 -1
  64. package/.out/mantine/specs/{checkbox_hooks.tests.js → checkboxHooks.tests.js} +2 -2
  65. package/.out/mantine/specs/{field_view_hooks.stories.d.ts → fieldViewHooks.stories.d.ts} +1 -1
  66. package/.out/mantine/specs/{field_view_hooks.tests.js → fieldViewHooks.tests.js} +1 -1
  67. package/.out/mantine/specs/{fields_view_hooks.stories.d.ts → fieldsViewHooks.stories.d.ts} +1 -1
  68. package/.out/mantine/specs/{fields_view_hooks.tests.js → fieldsViewHooks.tests.js} +1 -1
  69. package/.out/mantine/specs/{form_hooks.stories.d.ts → formHooks.stories.d.ts} +1 -1
  70. package/.out/mantine/specs/{form_hooks.tests.js → formHooks.tests.js} +1 -1
  71. package/.out/mantine/specs/{list_hooks.stories.d.ts → listHooks.stories.d.ts} +1 -1
  72. package/.out/mantine/specs/{list_hooks.tests.js → listHooks.tests.js} +1 -1
  73. package/.out/mantine/specs/{radio_group_hooks.stories.d.ts → radioGroupHooks.stories.d.ts} +2 -2
  74. package/.out/mantine/specs/{radio_group_hooks.stories.js → radioGroupHooks.stories.js} +1 -1
  75. package/.out/mantine/specs/{radio_group_hooks.tests.js → radioGroupHooks.tests.js} +2 -2
  76. package/.out/mantine/specs/{select_hooks.stories.d.ts → selectHooks.stories.d.ts} +1 -1
  77. package/.out/mantine/specs/{select_hooks.stories.js → selectHooks.stories.js} +1 -1
  78. package/.out/mantine/specs/{select_hooks.tests.js → selectHooks.tests.js} +1 -1
  79. package/.out/mantine/specs/{text_input_hooks.stories.d.ts → textInputHooks.stories.d.ts} +2 -2
  80. package/.out/mantine/specs/{text_input_hooks.stories.js → textInputHooks.stories.js} +1 -1
  81. package/.out/mantine/specs/{text_input_hooks.tests.js → textInputHooks.tests.js} +2 -2
  82. package/.out/mantine/specs/{value_input_hooks.stories.d.ts → valueInputHooks.stories.d.ts} +2 -2
  83. package/.out/mantine/specs/{value_input_hooks.stories.js → valueInputHooks.stories.js} +1 -1
  84. package/.out/mantine/specs/{value_input_hooks.tests.js → valueInputHooks.tests.js} +1 -1
  85. package/.out/mantine/types.d.ts +3 -3
  86. package/.out/tsconfig.tsbuildinfo +1 -1
  87. package/.out/types/{all_fields_of_fields.d.ts → AllFieldsOfFields.d.ts} +2 -2
  88. package/.out/types/{boolean_fields_of_fields.d.ts → BooleanFieldsOfFields.d.ts} +2 -2
  89. package/.out/types/{error_of_field.d.ts → ErrorOfField.d.ts} +1 -1
  90. package/.out/types/{flattened_validators_of_fields.d.ts → FlattenedValidatorsOfFields.d.ts} +1 -1
  91. package/.out/types/{list_fields_of_fields.d.ts → ListFieldsOfFields.d.ts} +2 -2
  92. package/.out/types/{string_fields_of_fields.d.ts → StringFieldsOfFields.d.ts} +2 -2
  93. package/.out/types/{sub_form_fields.d.ts → SubFormFields.d.ts} +1 -1
  94. package/.out/types/{value_type_of_field.d.ts → ValueTypeOfField.d.ts} +1 -1
  95. package/.out/types/specs/{merge_validators.tests.js → MergeValidators.tests.js} +1 -1
  96. package/.out/vitest.workspace.js +4 -4
  97. package/.turbo/turbo-build.log +6 -6
  98. package/.turbo/turbo-check-types.log +1 -1
  99. package/.turbo/turbo-release$colon$exports.log +1 -1
  100. package/core/mobx/{field_adapter.ts → FieldAdapter.ts} +1 -1
  101. package/core/mobx/{field_adapters_of_values.ts → FieldAdaptersOfValues.ts} +1 -1
  102. package/core/mobx/{flattened_adapters_of_fields.ts → FlattenedAdaptersOfFields.ts} +2 -2
  103. package/core/mobx/{form_fields_of_field_adapters.ts → FormFieldsOfFieldAdapters.ts} +2 -2
  104. package/core/mobx/{form_model.ts → FormModel.ts} +4 -4
  105. package/core/mobx/{field_adapter_builder.ts → fieldAdapterBuilder.ts} +7 -7
  106. package/core/mobx/hooks.tsx +2 -2
  107. package/core/mobx/{merge_field_adapters_with_two_way_converter.ts → mergeFieldAdaptersWithTwoWayConverter.ts} +3 -3
  108. package/core/mobx/{merge_field_adapters_with_validators.ts → mergeFieldAdaptersWithValidators.ts} +2 -2
  109. package/core/mobx/specs/{flattened_adapters_of_fields.tests.ts → FlattenedAdaptersOfFields.tests.ts} +3 -3
  110. package/core/mobx/specs/{flattened_list_types_of_types.tests.ts → FlattenedListTypesOfTypes.tests.ts} +1 -1
  111. package/core/mobx/specs/{form_model.tests.ts → FormModel.tests.ts} +10 -10
  112. package/core/mobx/specs/{merge_field_adapters_with_two_way_converter.tests.ts → MergeFieldAdaptersWithTwoWayConverter.tests.ts} +5 -5
  113. package/core/mobx/specs/{merge_field_adapters_with_validators.tests.ts → MergeFieldAdaptersWithValidators.tests.ts} +4 -4
  114. package/core/mobx/specs/fixtures.ts +2 -2
  115. package/core/mobx/specs/{sub_form_field_adapters.tests.ts → subFormFieldAdapters.tests.ts} +3 -3
  116. package/core/mobx/{sub_form_field_adapters.ts → subFormFieldAdapters.ts} +1 -1
  117. package/core/props.ts +1 -1
  118. package/dist/index.cjs +98 -98
  119. package/dist/index.d.cts +9 -9
  120. package/dist/index.d.ts +9 -9
  121. package/dist/index.js +101 -101
  122. package/field_converters/{integer_to_string_converter.ts → IntegerToStringConverter.ts} +1 -1
  123. package/field_converters/{maybe_identity_converter.ts → MaybeIdentityConverter.ts} +1 -1
  124. package/field_converters/{nullable_to_boolean_converter.ts → NullableToBooleanConverter.ts} +1 -1
  125. package/field_converters/{select_value_type_converter.ts → SelectValueTypeConverter.ts} +1 -1
  126. package/field_converters/{trimming_string_converter.ts → TrimmingStringConverter.ts} +1 -1
  127. package/field_converters/{chain_field_converter.ts → chainFieldConverter.ts} +1 -1
  128. package/field_converters/{identity_converter.ts → identityConverter.ts} +1 -1
  129. package/field_converters/specs/{chain_field_converter.tests.ts → chainFieldConverter.tests.ts} +2 -2
  130. package/field_converters/{validating_converter.ts → validatingConverter.ts} +1 -1
  131. package/field_value_factories/{prototyping_field_value_factory.ts → prototypingFieldValueFactory.ts} +1 -1
  132. package/index.ts +22 -22
  133. package/mantine/{error_renderer.ts → ErrorRenderer.ts} +2 -2
  134. package/mantine/{create_checkbox.tsx → createCheckbox.tsx} +5 -5
  135. package/mantine/{create_field_view.tsx → createFieldView.tsx} +5 -5
  136. package/mantine/{create_fields_view.tsx → createFieldsView.tsx} +4 -4
  137. package/mantine/{create_form.tsx → createForm.tsx} +3 -3
  138. package/mantine/{create_list.tsx → createList.tsx} +4 -4
  139. package/mantine/{create_pill.tsx → createPill.tsx} +3 -3
  140. package/mantine/{create_radio.tsx → createRadio.tsx} +4 -4
  141. package/mantine/{create_radio_group.tsx → createRadioGroup.tsx} +5 -5
  142. package/mantine/{create_text_input.tsx → createTextInput.tsx} +5 -5
  143. package/mantine/{create_value_input.tsx → createValueInput.tsx} +6 -6
  144. package/mantine/hooks.tsx +22 -22
  145. package/mantine/specs/{create_fields_view.tests.ts → CreateFieldsView.tests.ts} +1 -1
  146. package/mantine/specs/__snapshots__/{value_input_hooks.tests.tsx.snap → valueInputHooks.tests.tsx.snap} +3 -2
  147. package/mantine/specs/{checkbox_hooks.stories.tsx → checkboxHooks.stories.tsx} +2 -2
  148. package/mantine/specs/{checkbox_hooks.tests.tsx → checkboxHooks.tests.tsx} +2 -2
  149. package/mantine/specs/{field_view_hooks.stories.tsx → fieldViewHooks.stories.tsx} +1 -1
  150. package/mantine/specs/{field_view_hooks.tests.tsx → fieldViewHooks.tests.tsx} +1 -1
  151. package/mantine/specs/{fields_view_hooks.stories.tsx → fieldsViewHooks.stories.tsx} +1 -1
  152. package/mantine/specs/{fields_view_hooks.tests.tsx → fieldsViewHooks.tests.tsx} +1 -1
  153. package/mantine/specs/{form_hooks.stories.tsx → formHooks.stories.tsx} +1 -1
  154. package/mantine/specs/{form_hooks.tests.tsx → formHooks.tests.tsx} +1 -1
  155. package/mantine/specs/{list_hooks.stories.tsx → listHooks.stories.tsx} +1 -1
  156. package/mantine/specs/{list_hooks.tests.tsx → listHooks.tests.tsx} +1 -1
  157. package/mantine/specs/{radio_group_hooks.stories.tsx → radioGroupHooks.stories.tsx} +3 -3
  158. package/mantine/specs/{radio_group_hooks.tests.tsx → radioGroupHooks.tests.tsx} +2 -2
  159. package/mantine/specs/{select_hooks.stories.tsx → selectHooks.stories.tsx} +2 -2
  160. package/mantine/specs/{select_hooks.tests.tsx → selectHooks.tests.tsx} +1 -1
  161. package/mantine/specs/{text_input_hooks.stories.tsx → textInputHooks.stories.tsx} +3 -3
  162. package/mantine/specs/{text_input_hooks.tests.tsx → textInputHooks.tests.tsx} +2 -2
  163. package/mantine/specs/{value_input_hooks.stories.tsx → valueInputHooks.stories.tsx} +3 -3
  164. package/mantine/specs/{value_input_hooks.tests.tsx → valueInputHooks.tests.tsx} +1 -1
  165. package/mantine/types.ts +3 -3
  166. package/package.json +3 -3
  167. package/types/{all_fields_of_fields.ts → AllFieldsOfFields.ts} +2 -2
  168. package/types/{boolean_fields_of_fields.ts → BooleanFieldsOfFields.ts} +2 -2
  169. package/types/{error_of_field.ts → ErrorOfField.ts} +1 -1
  170. package/types/{flattened_validators_of_fields.ts → FlattenedValidatorsOfFields.ts} +1 -1
  171. package/types/{list_fields_of_fields.ts → ListFieldsOfFields.ts} +2 -2
  172. package/types/{string_fields_of_fields.ts → StringFieldsOfFields.ts} +2 -2
  173. package/types/{sub_form_fields.ts → SubFormFields.ts} +1 -1
  174. package/types/{value_type_of_field.ts → ValueTypeOfField.ts} +1 -1
  175. package/types/specs/{boolean_fields_of_fields.tests.ts → BooleanFieldsOfFields.tests.ts} +2 -2
  176. package/types/specs/{error_of_field.tests.ts → ErrorOfField.tests.ts} +2 -2
  177. package/types/specs/{flattened_validators_of_fields.tests.ts → FlattenedValidatorsOfFields.tests.ts} +2 -2
  178. package/types/specs/{list_fields_of_fields.tests.ts → ListFieldsOfFields.tests.ts} +2 -2
  179. package/types/specs/{merge_validators.tests.ts → MergeValidators.tests.ts} +1 -1
  180. package/types/specs/{string_fields_of_fields.tests.ts → StringFieldsOfFields.tests.ts} +2 -2
  181. package/types/specs/{sub_form_fields.tests.ts → SubFormFields.tests.ts} +2 -2
  182. package/types/specs/{value_type_of_field.tests.ts → ValueTypeOfField.tests.ts} +2 -2
  183. package/util/specs/partial.tests.tsx +1 -1
  184. package/vitest.workspace.ts +4 -4
  185. /package/.out/.vitest/{install_deterministic_random.d.ts → installDeterministicRandom.d.ts} +0 -0
  186. /package/.out/.vitest/{install_deterministic_random.js → installDeterministicRandom.js} +0 -0
  187. /package/.out/.vitest/{install_storybook_preview.d.ts → installStorybookPreview.d.ts} +0 -0
  188. /package/.out/.vitest/{install_storybook_preview.js → installStorybookPreview.js} +0 -0
  189. /package/.out/.vitest/{match_media.d.ts → matchMedia.d.ts} +0 -0
  190. /package/.out/.vitest/{match_media.js → matchMedia.js} +0 -0
  191. /package/.out/.vitest/{resize_observer.d.ts → resizeObserver.d.ts} +0 -0
  192. /package/.out/.vitest/{resize_observer.js → resizeObserver.js} +0 -0
  193. /package/.out/core/mobx/{field_adapter.js → FieldAdapter.js} +0 -0
  194. /package/.out/core/mobx/{field_adapters_of_values.js → FieldAdaptersOfValues.js} +0 -0
  195. /package/.out/core/mobx/{flattened_adapters_of_fields.js → FlattenedAdaptersOfFields.js} +0 -0
  196. /package/.out/core/mobx/{flattened_list_types_of_type.d.ts → FlattenedListTypesOfType.d.ts} +0 -0
  197. /package/.out/core/mobx/{flattened_list_types_of_type.js → FlattenedListTypesOfType.js} +0 -0
  198. /package/.out/core/mobx/{form_fields_of_field_adapters.js → FormFieldsOfFieldAdapters.js} +0 -0
  199. /package/.out/core/mobx/specs/{flattened_adapters_of_fields.tests.d.ts → FlattenedAdaptersOfFields.tests.d.ts} +0 -0
  200. /package/.out/core/mobx/specs/{flattened_adapters_of_fields.tests.js → FlattenedAdaptersOfFields.tests.js} +0 -0
  201. /package/.out/core/mobx/specs/{flattened_list_types_of_types.tests.d.ts → FlattenedListTypesOfTypes.tests.d.ts} +0 -0
  202. /package/.out/core/mobx/specs/{flattened_list_types_of_types.tests.js → FlattenedListTypesOfTypes.tests.js} +0 -0
  203. /package/.out/core/mobx/specs/{form_model.tests.d.ts → FormModel.tests.d.ts} +0 -0
  204. /package/.out/core/mobx/specs/{merge_field_adapters_with_two_way_converter.tests.d.ts → MergeFieldAdaptersWithTwoWayConverter.tests.d.ts} +0 -0
  205. /package/.out/core/mobx/specs/{merge_field_adapters_with_validators.tests.d.ts → MergeFieldAdaptersWithValidators.tests.d.ts} +0 -0
  206. /package/.out/core/mobx/specs/{sub_form_field_adapters.tests.d.ts → subFormFieldAdapters.tests.d.ts} +0 -0
  207. /package/.out/core/mobx/{sub_form_field_adapters.js → subFormFieldAdapters.js} +0 -0
  208. /package/.out/field_converters/{maybe_identity_converter.js → MaybeIdentityConverter.js} +0 -0
  209. /package/.out/field_converters/specs/{chain_field_converter.tests.d.ts → chainFieldConverter.tests.d.ts} +0 -0
  210. /package/.out/field_value_factories/{prototyping_field_value_factory.js → prototypingFieldValueFactory.js} +0 -0
  211. /package/.out/mantine/{error_renderer.js → ErrorRenderer.js} +0 -0
  212. /package/.out/mantine/{create_fields_view.js → createFieldsView.js} +0 -0
  213. /package/.out/mantine/{create_form.js → createForm.js} +0 -0
  214. /package/.out/mantine/specs/{checkbox_hooks.tests.d.ts → CreateFieldsView.tests.d.ts} +0 -0
  215. /package/.out/mantine/specs/{create_fields_view.tests.js → CreateFieldsView.tests.js} +0 -0
  216. /package/.out/mantine/specs/{checkbox_constants.d.ts → checkboxConstants.d.ts} +0 -0
  217. /package/.out/mantine/specs/{checkbox_constants.js → checkboxConstants.js} +0 -0
  218. /package/.out/mantine/specs/{create_fields_view.tests.d.ts → checkboxHooks.tests.d.ts} +0 -0
  219. /package/.out/mantine/specs/{field_view_hooks.stories.js → fieldViewHooks.stories.js} +0 -0
  220. /package/.out/mantine/specs/{field_view_hooks.tests.d.ts → fieldViewHooks.tests.d.ts} +0 -0
  221. /package/.out/mantine/specs/{fields_view_hooks.stories.js → fieldsViewHooks.stories.js} +0 -0
  222. /package/.out/mantine/specs/{fields_view_hooks.tests.d.ts → fieldsViewHooks.tests.d.ts} +0 -0
  223. /package/.out/mantine/specs/{form_hooks.stories.js → formHooks.stories.js} +0 -0
  224. /package/.out/mantine/specs/{form_hooks.tests.d.ts → formHooks.tests.d.ts} +0 -0
  225. /package/.out/mantine/specs/{list_hooks.stories.js → listHooks.stories.js} +0 -0
  226. /package/.out/mantine/specs/{list_hooks.tests.d.ts → listHooks.tests.d.ts} +0 -0
  227. /package/.out/mantine/specs/{radio_group_constants.d.ts → radioGroupConstants.d.ts} +0 -0
  228. /package/.out/mantine/specs/{radio_group_constants.js → radioGroupConstants.js} +0 -0
  229. /package/.out/mantine/specs/{radio_group_hooks.tests.d.ts → radioGroupHooks.tests.d.ts} +0 -0
  230. /package/.out/mantine/specs/{select_hooks.tests.d.ts → selectHooks.tests.d.ts} +0 -0
  231. /package/.out/mantine/specs/{select_hooks_constant.d.ts → selectHooksConstant.d.ts} +0 -0
  232. /package/.out/mantine/specs/{select_hooks_constant.js → selectHooksConstant.js} +0 -0
  233. /package/.out/mantine/specs/{text_input_constants.d.ts → textInputConstants.d.ts} +0 -0
  234. /package/.out/mantine/specs/{text_input_constants.js → textInputConstants.js} +0 -0
  235. /package/.out/mantine/specs/{text_input_hooks.tests.d.ts → textInputHooks.tests.d.ts} +0 -0
  236. /package/.out/mantine/specs/{value_input_constants.d.ts → valueInputConstants.d.ts} +0 -0
  237. /package/.out/mantine/specs/{value_input_constants.js → valueInputConstants.js} +0 -0
  238. /package/.out/mantine/specs/{value_input_hooks.tests.d.ts → valueInputHooks.tests.d.ts} +0 -0
  239. /package/.out/types/{all_fields_of_fields.js → AllFieldsOfFields.js} +0 -0
  240. /package/.out/types/{boolean_fields_of_fields.js → BooleanFieldsOfFields.js} +0 -0
  241. /package/.out/types/{error_of_field.js → ErrorOfField.js} +0 -0
  242. /package/.out/types/{field.d.ts → Field.d.ts} +0 -0
  243. /package/.out/types/{field.js → Field.js} +0 -0
  244. /package/.out/types/{field_converters.d.ts → FieldConverters.d.ts} +0 -0
  245. /package/.out/types/{field_converters.js → FieldConverters.js} +0 -0
  246. /package/.out/types/{flattened_validators_of_fields.js → FlattenedValidatorsOfFields.js} +0 -0
  247. /package/.out/types/{list_fields_of_fields.js → ListFieldsOfFields.js} +0 -0
  248. /package/.out/types/{specs/boolean_fields_of_fields.tests.d.ts → StringFieldsOfFields.js} +0 -0
  249. /package/.out/types/{specs/error_of_field.tests.d.ts → SubFormFields.js} +0 -0
  250. /package/.out/types/{specs/flattened_validators_of_fields.tests.d.ts → ValueTypeOfField.js} +0 -0
  251. /package/.out/types/{merge_validators.d.ts → mergeValidators.d.ts} +0 -0
  252. /package/.out/types/{merge_validators.js → mergeValidators.js} +0 -0
  253. /package/.out/types/specs/{list_fields_of_fields.tests.d.ts → BooleanFieldsOfFields.tests.d.ts} +0 -0
  254. /package/.out/types/specs/{boolean_fields_of_fields.tests.js → BooleanFieldsOfFields.tests.js} +0 -0
  255. /package/.out/types/specs/{merge_validators.tests.d.ts → ErrorOfField.tests.d.ts} +0 -0
  256. /package/.out/types/specs/{error_of_field.tests.js → ErrorOfField.tests.js} +0 -0
  257. /package/.out/types/specs/{string_fields_of_fields.tests.d.ts → FlattenedValidatorsOfFields.tests.d.ts} +0 -0
  258. /package/.out/types/specs/{flattened_validators_of_fields.tests.js → FlattenedValidatorsOfFields.tests.js} +0 -0
  259. /package/.out/types/specs/{sub_form_fields.tests.d.ts → ListFieldsOfFields.tests.d.ts} +0 -0
  260. /package/.out/types/specs/{list_fields_of_fields.tests.js → ListFieldsOfFields.tests.js} +0 -0
  261. /package/.out/types/specs/{value_type_of_field.tests.d.ts → MergeValidators.tests.d.ts} +0 -0
  262. /package/.out/types/{string_fields_of_fields.js → specs/StringFieldsOfFields.tests.d.ts} +0 -0
  263. /package/.out/types/specs/{string_fields_of_fields.tests.js → StringFieldsOfFields.tests.js} +0 -0
  264. /package/.out/types/{sub_form_fields.js → specs/SubFormFields.tests.d.ts} +0 -0
  265. /package/.out/types/specs/{sub_form_fields.tests.js → SubFormFields.tests.js} +0 -0
  266. /package/.out/types/{value_type_of_field.js → specs/ValueTypeOfField.tests.d.ts} +0 -0
  267. /package/.out/types/specs/{value_type_of_field.tests.js → ValueTypeOfField.tests.js} +0 -0
  268. /package/.out/util/{empty.d.ts → Empty.d.ts} +0 -0
  269. /package/.out/util/{empty.js → Empty.js} +0 -0
  270. /package/.out/util/{partial.d.ts → Partial.d.ts} +0 -0
  271. /package/.out/util/{partial.js → Partial.js} +0 -0
  272. /package/.vitest/{install_deterministic_random.ts → installDeterministicRandom.ts} +0 -0
  273. /package/.vitest/{install_storybook_preview.ts → installStorybookPreview.ts} +0 -0
  274. /package/.vitest/{match_media.ts → matchMedia.ts} +0 -0
  275. /package/.vitest/{resize_observer.ts → resizeObserver.ts} +0 -0
  276. /package/core/mobx/{flattened_list_types_of_type.ts → FlattenedListTypesOfType.ts} +0 -0
  277. /package/mantine/specs/__snapshots__/{checkbox_hooks.tests.tsx.snap → checkboxHooks.tests.tsx.snap} +0 -0
  278. /package/mantine/specs/__snapshots__/{field_view_hooks.tests.tsx.snap → fieldViewHooks.tests.tsx.snap} +0 -0
  279. /package/mantine/specs/__snapshots__/{fields_view_hooks.tests.tsx.snap → fieldsViewHooks.tests.tsx.snap} +0 -0
  280. /package/mantine/specs/__snapshots__/{form_hooks.tests.tsx.snap → formHooks.tests.tsx.snap} +0 -0
  281. /package/mantine/specs/__snapshots__/{list_hooks.tests.tsx.snap → listHooks.tests.tsx.snap} +0 -0
  282. /package/mantine/specs/__snapshots__/{radio_group_hooks.tests.tsx.snap → radioGroupHooks.tests.tsx.snap} +0 -0
  283. /package/mantine/specs/__snapshots__/{select_hooks.tests.tsx.snap → selectHooks.tests.tsx.snap} +0 -0
  284. /package/mantine/specs/__snapshots__/{text_input_hooks.tests.tsx.snap → textInputHooks.tests.tsx.snap} +0 -0
  285. /package/mantine/specs/{checkbox_constants.ts → checkboxConstants.ts} +0 -0
  286. /package/mantine/specs/{radio_group_constants.ts → radioGroupConstants.ts} +0 -0
  287. /package/mantine/specs/{select_hooks_constant.ts → selectHooksConstant.ts} +0 -0
  288. /package/mantine/specs/{text_input_constants.ts → textInputConstants.ts} +0 -0
  289. /package/mantine/specs/{value_input_constants.ts → valueInputConstants.ts} +0 -0
  290. /package/types/{field.ts → Field.ts} +0 -0
  291. /package/types/{field_converters.ts → FieldConverters.ts} +0 -0
  292. /package/types/{merge_validators.ts → mergeValidators.ts} +0 -0
  293. /package/util/{empty.tsx → Empty.tsx} +0 -0
  294. /package/util/{partial.tsx → Partial.tsx} +0 -0
package/dist/index.cjs CHANGED
@@ -121,17 +121,17 @@ __export(index_exports, {
121
121
  });
122
122
  module.exports = __toCommonJS(index_exports);
123
123
 
124
- // field_converters/chain_field_converter.ts
124
+ // field_converters/chainFieldConverter.ts
125
125
  var import_base = require("@strictly/base");
126
126
 
127
- // types/field_converters.ts
127
+ // types/FieldConverters.ts
128
128
  var UnreliableFieldConversionType = /* @__PURE__ */ ((UnreliableFieldConversionType2) => {
129
129
  UnreliableFieldConversionType2[UnreliableFieldConversionType2["Success"] = 0] = "Success";
130
130
  UnreliableFieldConversionType2[UnreliableFieldConversionType2["Failure"] = 1] = "Failure";
131
131
  return UnreliableFieldConversionType2;
132
132
  })(UnreliableFieldConversionType || {});
133
133
 
134
- // field_converters/chain_field_converter.ts
134
+ // field_converters/chainFieldConverter.ts
135
135
  function chainUnreliableFieldConverter(from, to) {
136
136
  return function(value, valuePath, context) {
137
137
  const fromConversion = from(value, valuePath, context);
@@ -189,7 +189,7 @@ function chainAnnotatedFieldConverter(from, to) {
189
189
  };
190
190
  }
191
191
 
192
- // field_converters/identity_converter.ts
192
+ // field_converters/identityConverter.ts
193
193
  function annotatedIdentityConverter(required = false) {
194
194
  return function(value) {
195
195
  return {
@@ -208,7 +208,7 @@ function unreliableIdentityConverter() {
208
208
  };
209
209
  }
210
210
 
211
- // field_converters/maybe_identity_converter.ts
211
+ // field_converters/MaybeIdentityConverter.ts
212
212
  var MaybeIdentityConverter = class {
213
213
  constructor(converter, isFrom) {
214
214
  this.converter = converter;
@@ -223,7 +223,7 @@ var MaybeIdentityConverter = class {
223
223
  }
224
224
  };
225
225
 
226
- // field_converters/trimming_string_converter.ts
226
+ // field_converters/TrimmingStringConverter.ts
227
227
  var TrimmingStringConverter = class {
228
228
  constructor() {
229
229
  }
@@ -242,14 +242,14 @@ var TrimmingStringConverter = class {
242
242
  }
243
243
  };
244
244
 
245
- // field_value_factories/prototyping_field_value_factory.ts
245
+ // field_value_factories/prototypingFieldValueFactory.ts
246
246
  function prototypingFieldValueFactory(prototype) {
247
247
  return function() {
248
248
  return prototype;
249
249
  };
250
250
  }
251
251
 
252
- // core/mobx/field_adapter_builder.ts
252
+ // core/mobx/fieldAdapterBuilder.ts
253
253
  var FieldAdapterBuilder = class _FieldAdapterBuilder {
254
254
  constructor(convert, create, revert) {
255
255
  this.convert = convert;
@@ -353,7 +353,7 @@ function listAdapter() {
353
353
  );
354
354
  }
355
355
 
356
- // core/mobx/form_model.ts
356
+ // core/mobx/FormModel.ts
357
357
  var import_base2 = require("@strictly/base");
358
358
  var import_define = require("@strictly/define");
359
359
  var import_mobx = require("mobx");
@@ -891,7 +891,7 @@ function useDefaultMobxFormHooks(model, {
891
891
  };
892
892
  }
893
893
 
894
- // core/mobx/merge_field_adapters_with_two_way_converter.ts
894
+ // core/mobx/mergeFieldAdaptersWithTwoWayConverter.ts
895
895
  var import_base3 = require("@strictly/base");
896
896
  function mergeFieldAdaptersWithTwoWayConverter(fieldAdapters, converter) {
897
897
  return (0, import_base3.map)(
@@ -912,7 +912,7 @@ function mergeFieldAdaptersWithTwoWayConverter(fieldAdapters, converter) {
912
912
  );
913
913
  }
914
914
 
915
- // core/mobx/merge_field_adapters_with_validators.ts
915
+ // core/mobx/mergeFieldAdaptersWithValidators.ts
916
916
  var import_base4 = require("@strictly/base");
917
917
  var import_define2 = require("@strictly/define");
918
918
  function mergeAdaptersWithValidators(adapters, validators) {
@@ -966,7 +966,7 @@ function mergeAdaptersWithValidators(adapters, validators) {
966
966
  );
967
967
  }
968
968
 
969
- // core/mobx/sub_form_field_adapters.ts
969
+ // core/mobx/subFormFieldAdapters.ts
970
970
  function subFormFieldAdapters(subAdapters, parentTypePath) {
971
971
  const dotCount = parentTypePath.split(".").length;
972
972
  function getSubValuePath(valuePath) {
@@ -995,7 +995,7 @@ function subFormFieldAdapters(subAdapters, parentTypePath) {
995
995
  }, {});
996
996
  }
997
997
 
998
- // field_converters/integer_to_string_converter.ts
998
+ // field_converters/IntegerToStringConverter.ts
999
999
  var IntegerToStringConverter = class {
1000
1000
  constructor(isNanError, base = 10) {
1001
1001
  this.isNanError = isNanError;
@@ -1026,7 +1026,7 @@ var IntegerToStringConverter = class {
1026
1026
  }
1027
1027
  };
1028
1028
 
1029
- // field_converters/nullable_to_boolean_converter.ts
1029
+ // field_converters/NullableToBooleanConverter.ts
1030
1030
  var import_define3 = require("@strictly/define");
1031
1031
  var NullableToBooleanConverter = class {
1032
1032
  constructor(typeDef, prototype, nullType, defaultToNull = true) {
@@ -1061,7 +1061,7 @@ var NullableToBooleanConverter = class {
1061
1061
  }
1062
1062
  };
1063
1063
 
1064
- // field_converters/select_value_type_converter.ts
1064
+ // field_converters/SelectValueTypeConverter.ts
1065
1065
  var import_base5 = require("@strictly/base");
1066
1066
  var import_define4 = require("@strictly/define");
1067
1067
  var AbstractSelectValueTypeConverter = class {
@@ -1154,7 +1154,7 @@ var SelectStringConverter = class extends AbstractSelectValueTypeConverter {
1154
1154
  }
1155
1155
  };
1156
1156
 
1157
- // field_converters/validating_converter.ts
1157
+ // field_converters/validatingConverter.ts
1158
1158
  var import_define5 = require("@strictly/define");
1159
1159
  function validatingConverter(validators = []) {
1160
1160
  return function(value, valuePath, context) {
@@ -1180,7 +1180,7 @@ function validatingConverter(validators = []) {
1180
1180
  };
1181
1181
  }
1182
1182
 
1183
- // mantine/error_renderer.ts
1183
+ // mantine/ErrorRenderer.ts
1184
1184
  function DefaultErrorRenderer({
1185
1185
  error
1186
1186
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
@@ -1194,7 +1194,7 @@ var import_base7 = require("@strictly/base");
1194
1194
  var import_mobx2 = require("mobx");
1195
1195
  var import_react6 = require("react");
1196
1196
 
1197
- // util/partial.tsx
1197
+ // util/Partial.tsx
1198
1198
  var import_mobx_react = require("mobx-react");
1199
1199
  var import_react2 = require("react");
1200
1200
  var import_jsx_runtime = require("react/jsx-runtime");
@@ -1339,7 +1339,7 @@ function usePartialObserverComponent(curriedPropsSource, deps, Component, additi
1339
1339
  );
1340
1340
  }
1341
1341
 
1342
- // mantine/create_checkbox.tsx
1342
+ // mantine/createCheckbox.tsx
1343
1343
  var import_jsx_runtime2 = require("react/jsx-runtime");
1344
1344
  function createCheckbox(valuePath, Checkbox) {
1345
1345
  const onChange = (e) => {
@@ -1391,17 +1391,82 @@ function createCheckbox(valuePath, Checkbox) {
1391
1391
  );
1392
1392
  }
1393
1393
 
1394
- // mantine/create_field_view.tsx
1394
+ // mantine/createFieldsView.tsx
1395
+ var import_define6 = require("@strictly/define");
1395
1396
  var import_mobx_react2 = require("mobx-react");
1397
+ var import_jsx_runtime3 = require("react/jsx-runtime");
1398
+ function createFieldsView(valuePath, FieldsView, observableProps) {
1399
+ function toKey(subKey) {
1400
+ return (0, import_define6.jsonPathPrefix)(valuePath, subKey);
1401
+ }
1402
+ function toSubKey(key) {
1403
+ return (0, import_define6.jsonPathUnprefix)(valuePath, key);
1404
+ }
1405
+ function onFieldValueChange(subKey, value) {
1406
+ observableProps.onFieldValueChange(toKey(subKey), value);
1407
+ }
1408
+ function onFieldBlur(subKey) {
1409
+ var _a;
1410
+ (_a = observableProps.onFieldBlur) == null ? void 0 : _a.call(observableProps, toKey(subKey));
1411
+ }
1412
+ function onFieldFocus(subKey) {
1413
+ var _a;
1414
+ (_a = observableProps.onFieldFocus) == null ? void 0 : _a.call(observableProps, toKey(subKey));
1415
+ }
1416
+ function onFieldSubmit(subKey) {
1417
+ var _a;
1418
+ (_a = observableProps.onFieldSubmit) == null ? void 0 : _a.call(observableProps, toKey(subKey));
1419
+ }
1420
+ const Component = (0, import_mobx_react2.observer)(
1421
+ function(props) {
1422
+ const subFields = Object.entries(observableProps.fields).reduce(
1423
+ (acc, [
1424
+ fieldKey,
1425
+ fieldValue
1426
+ ]) => {
1427
+ if (fieldKey.startsWith(valuePath)) {
1428
+ acc[toSubKey(fieldKey)] = fieldValue;
1429
+ }
1430
+ return acc;
1431
+ },
1432
+ // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
1433
+ {}
1434
+ );
1435
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1436
+ FieldsView,
1437
+ __spreadProps(__spreadValues({}, props), {
1438
+ fields: subFields,
1439
+ onFieldBlur,
1440
+ onFieldFocus,
1441
+ onFieldSubmit,
1442
+ onFieldValueChange
1443
+ })
1444
+ );
1445
+ }
1446
+ );
1447
+ const callbackMapper = (callback) => {
1448
+ return (subFormValuePath, ...args) => {
1449
+ const valuePath2 = toKey(subFormValuePath);
1450
+ return callback(valuePath2, ...args);
1451
+ };
1452
+ };
1453
+ return {
1454
+ Component,
1455
+ callbackMapper
1456
+ };
1457
+ }
1458
+
1459
+ // mantine/createFieldView.tsx
1460
+ var import_mobx_react3 = require("mobx-react");
1396
1461
  var import_react3 = require("react");
1397
1462
 
1398
- // util/empty.tsx
1463
+ // util/Empty.tsx
1399
1464
  function Empty() {
1400
1465
  return null;
1401
1466
  }
1402
1467
 
1403
- // mantine/create_field_view.tsx
1404
- var import_jsx_runtime3 = require("react/jsx-runtime");
1468
+ // mantine/createFieldView.tsx
1469
+ var import_jsx_runtime4 = require("react/jsx-runtime");
1405
1470
  function FieldView({
1406
1471
  valuePath,
1407
1472
  form,
@@ -1435,7 +1500,7 @@ function FieldView({
1435
1500
  form,
1436
1501
  valuePath
1437
1502
  ]);
1438
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_mobx_react2.Observer, { children: () => {
1503
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_mobx_react3.Observer, { children: () => {
1439
1504
  const {
1440
1505
  value,
1441
1506
  error
@@ -1453,7 +1518,7 @@ function FieldView({
1453
1518
  }
1454
1519
  function createFieldView(valuePath) {
1455
1520
  return (props) => {
1456
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
1521
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1457
1522
  FieldView,
1458
1523
  __spreadValues({
1459
1524
  form: this,
@@ -1463,72 +1528,7 @@ function createFieldView(valuePath) {
1463
1528
  };
1464
1529
  }
1465
1530
 
1466
- // mantine/create_fields_view.tsx
1467
- var import_define6 = require("@strictly/define");
1468
- var import_mobx_react3 = require("mobx-react");
1469
- var import_jsx_runtime4 = require("react/jsx-runtime");
1470
- function createFieldsView(valuePath, FieldsView, observableProps) {
1471
- function toKey(subKey) {
1472
- return (0, import_define6.jsonPathPrefix)(valuePath, subKey);
1473
- }
1474
- function toSubKey(key) {
1475
- return (0, import_define6.jsonPathUnprefix)(valuePath, key);
1476
- }
1477
- function onFieldValueChange(subKey, value) {
1478
- observableProps.onFieldValueChange(toKey(subKey), value);
1479
- }
1480
- function onFieldBlur(subKey) {
1481
- var _a;
1482
- (_a = observableProps.onFieldBlur) == null ? void 0 : _a.call(observableProps, toKey(subKey));
1483
- }
1484
- function onFieldFocus(subKey) {
1485
- var _a;
1486
- (_a = observableProps.onFieldFocus) == null ? void 0 : _a.call(observableProps, toKey(subKey));
1487
- }
1488
- function onFieldSubmit(subKey) {
1489
- var _a;
1490
- (_a = observableProps.onFieldSubmit) == null ? void 0 : _a.call(observableProps, toKey(subKey));
1491
- }
1492
- const Component = (0, import_mobx_react3.observer)(
1493
- function(props) {
1494
- const subFields = Object.entries(observableProps.fields).reduce(
1495
- (acc, [
1496
- fieldKey,
1497
- fieldValue
1498
- ]) => {
1499
- if (fieldKey.startsWith(valuePath)) {
1500
- acc[toSubKey(fieldKey)] = fieldValue;
1501
- }
1502
- return acc;
1503
- },
1504
- // eslint-disable-next-line @typescript-eslint/consistent-type-assertions
1505
- {}
1506
- );
1507
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1508
- FieldsView,
1509
- __spreadProps(__spreadValues({}, props), {
1510
- fields: subFields,
1511
- onFieldBlur,
1512
- onFieldFocus,
1513
- onFieldSubmit,
1514
- onFieldValueChange
1515
- })
1516
- );
1517
- }
1518
- );
1519
- const callbackMapper = (callback) => {
1520
- return (subFormValuePath, ...args) => {
1521
- const valuePath2 = toKey(subFormValuePath);
1522
- return callback(valuePath2, ...args);
1523
- };
1524
- };
1525
- return {
1526
- Component,
1527
- callbackMapper
1528
- };
1529
- }
1530
-
1531
- // mantine/create_form.tsx
1531
+ // mantine/createForm.tsx
1532
1532
  var import_mobx_react4 = require("mobx-react");
1533
1533
  var import_react4 = require("react");
1534
1534
  var import_jsx_runtime5 = require("react/jsx-runtime");
@@ -1548,7 +1548,7 @@ function createForm(valuePath, Form, observableProps) {
1548
1548
  });
1549
1549
  }
1550
1550
 
1551
- // mantine/create_list.tsx
1551
+ // mantine/createList.tsx
1552
1552
  var import_base6 = require("@strictly/base");
1553
1553
  var import_react5 = require("react");
1554
1554
  var import_jsx_runtime6 = require("react/jsx-runtime");
@@ -1592,7 +1592,7 @@ function DefaultList({
1592
1592
  }) });
1593
1593
  }
1594
1594
 
1595
- // mantine/create_pill.tsx
1595
+ // mantine/createPill.tsx
1596
1596
  function createPill(valuePath, Pill) {
1597
1597
  const propSource = () => {
1598
1598
  const {
@@ -1610,7 +1610,7 @@ function createPill(valuePath, Pill) {
1610
1610
  return createUnsafePartialObserverComponent(Pill, propSource);
1611
1611
  }
1612
1612
 
1613
- // mantine/create_radio.tsx
1613
+ // mantine/createRadio.tsx
1614
1614
  function createRadio(valuePath, value, Radio) {
1615
1615
  const propSource = () => {
1616
1616
  return {
@@ -1624,7 +1624,7 @@ function createRadio(valuePath, value, Radio) {
1624
1624
  );
1625
1625
  }
1626
1626
 
1627
- // mantine/create_radio_group.tsx
1627
+ // mantine/createRadioGroup.tsx
1628
1628
  var import_jsx_runtime7 = require("react/jsx-runtime");
1629
1629
  function createRadioGroup(valuePath, RadioGroup) {
1630
1630
  const onChange = (value) => {
@@ -1667,7 +1667,7 @@ function createRadioGroup(valuePath, RadioGroup) {
1667
1667
  return createUnsafePartialObserverComponent(RadioGroup, propSource, ["ErrorRenderer"]);
1668
1668
  }
1669
1669
 
1670
- // mantine/create_text_input.tsx
1670
+ // mantine/createTextInput.tsx
1671
1671
  var import_jsx_runtime8 = require("react/jsx-runtime");
1672
1672
  function createTextInput(valuePath, TextInput) {
1673
1673
  const onChange = (e) => {
@@ -1723,7 +1723,7 @@ function createTextInput(valuePath, TextInput) {
1723
1723
  );
1724
1724
  }
1725
1725
 
1726
- // mantine/create_value_input.tsx
1726
+ // mantine/createValueInput.tsx
1727
1727
  var import_jsx_runtime9 = require("react/jsx-runtime");
1728
1728
  function createValueInput(valuePath, ValueInput) {
1729
1729
  const onChange = (value) => {
@@ -1956,7 +1956,7 @@ _fields = new WeakMap();
1956
1956
  __decorateElement(_init2, 4, "fields", _fields_dec2, MantineFormImpl, _fields);
1957
1957
  __decoratorMetadata(_init2, MantineFormImpl);
1958
1958
 
1959
- // types/merge_validators.ts
1959
+ // types/mergeValidators.ts
1960
1960
  var import_define7 = require("@strictly/define");
1961
1961
  function mergeValidators(validators1, validators2) {
1962
1962
  const validators = __spreadValues(__spreadValues({}, validators1), validators2);
package/dist/index.d.cts CHANGED
@@ -349,6 +349,15 @@ type MantineFieldComponent<T, P = T, E = any, R = RefOfProps<P>> = UnsafePartial
349
349
 
350
350
  type SuppliedCheckboxProps = Pick<CheckboxProps, 'name' | 'checked' | 'disabled' | 'required' | 'error' | 'onChange' | 'onFocus' | 'onBlur' | 'onKeyUp'>;
351
351
 
352
+ type SubPathsOf<ValuePath extends string, SubFormValuePath extends string> = SubFormValuePath extends StringConcatOf<ValuePath, infer Postfix> ? `$${Postfix}` : never;
353
+ type CallbackMapper<ValuePath extends string> = {
354
+ <Cb extends (...args: any[]) => any>(cb: Cb): Parameters<Cb> extends [infer SubFormValuePath extends string, ...(infer Rest)] ? (valuePath: SubPathsOf<ValuePath, SubFormValuePath>, ...rest: Rest) => ReturnType<Cb> : never;
355
+ };
356
+ type FieldsView<ValuePath extends string = string, C extends ComponentType<any> = ComponentType<any>> = {
357
+ Component: C;
358
+ callbackMapper: CallbackMapper<ValuePath>;
359
+ };
360
+
352
361
  type FieldViewProps<F extends Fields, K extends keyof F> = {
353
362
  children: (props: {
354
363
  value: ValueTypeOfField<F[K]>;
@@ -363,15 +372,6 @@ type FieldViewProps<F extends Fields, K extends keyof F> = {
363
372
  }) => JSX.Element;
364
373
  };
365
374
 
366
- type SubPathsOf<ValuePath extends string, SubFormValuePath extends string> = SubFormValuePath extends StringConcatOf<ValuePath, infer Postfix> ? `$${Postfix}` : never;
367
- type CallbackMapper<ValuePath extends string> = {
368
- <Cb extends (...args: any[]) => any>(cb: Cb): Parameters<Cb> extends [infer SubFormValuePath extends string, ...(infer Rest)] ? (valuePath: SubPathsOf<ValuePath, SubFormValuePath>, ...rest: Rest) => ReturnType<Cb> : never;
369
- };
370
- type FieldsView<ValuePath extends string = string, C extends ComponentType<any> = ComponentType<any>> = {
371
- Component: C;
372
- callbackMapper: CallbackMapper<ValuePath>;
373
- };
374
-
375
375
  type SuppliedListProps<Value = any, ListPath extends string = string> = {
376
376
  values: readonly Value[];
377
377
  indexKeys: number[];
package/dist/index.d.ts CHANGED
@@ -349,6 +349,15 @@ type MantineFieldComponent<T, P = T, E = any, R = RefOfProps<P>> = UnsafePartial
349
349
 
350
350
  type SuppliedCheckboxProps = Pick<CheckboxProps, 'name' | 'checked' | 'disabled' | 'required' | 'error' | 'onChange' | 'onFocus' | 'onBlur' | 'onKeyUp'>;
351
351
 
352
+ type SubPathsOf<ValuePath extends string, SubFormValuePath extends string> = SubFormValuePath extends StringConcatOf<ValuePath, infer Postfix> ? `$${Postfix}` : never;
353
+ type CallbackMapper<ValuePath extends string> = {
354
+ <Cb extends (...args: any[]) => any>(cb: Cb): Parameters<Cb> extends [infer SubFormValuePath extends string, ...(infer Rest)] ? (valuePath: SubPathsOf<ValuePath, SubFormValuePath>, ...rest: Rest) => ReturnType<Cb> : never;
355
+ };
356
+ type FieldsView<ValuePath extends string = string, C extends ComponentType<any> = ComponentType<any>> = {
357
+ Component: C;
358
+ callbackMapper: CallbackMapper<ValuePath>;
359
+ };
360
+
352
361
  type FieldViewProps<F extends Fields, K extends keyof F> = {
353
362
  children: (props: {
354
363
  value: ValueTypeOfField<F[K]>;
@@ -363,15 +372,6 @@ type FieldViewProps<F extends Fields, K extends keyof F> = {
363
372
  }) => JSX.Element;
364
373
  };
365
374
 
366
- type SubPathsOf<ValuePath extends string, SubFormValuePath extends string> = SubFormValuePath extends StringConcatOf<ValuePath, infer Postfix> ? `$${Postfix}` : never;
367
- type CallbackMapper<ValuePath extends string> = {
368
- <Cb extends (...args: any[]) => any>(cb: Cb): Parameters<Cb> extends [infer SubFormValuePath extends string, ...(infer Rest)] ? (valuePath: SubPathsOf<ValuePath, SubFormValuePath>, ...rest: Rest) => ReturnType<Cb> : never;
369
- };
370
- type FieldsView<ValuePath extends string = string, C extends ComponentType<any> = ComponentType<any>> = {
371
- Component: C;
372
- callbackMapper: CallbackMapper<ValuePath>;
373
- };
374
-
375
375
  type SuppliedListProps<Value = any, ListPath extends string = string> = {
376
376
  values: readonly Value[];
377
377
  indexKeys: number[];