@michelangelo-ai/core 0.8.0 → 0.9.0

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 (203) hide show
  1. package/dist/components/breadcrumb-bar/menu-drawer.d.ts.map +1 -1
  2. package/dist/components/breadcrumb-bar/phase-entity-list.d.ts.map +1 -1
  3. package/dist/components/form/__tests__/config-driven-form.test.d.ts +2 -0
  4. package/dist/components/form/__tests__/config-driven-form.test.d.ts.map +1 -0
  5. package/dist/components/form/components/form-dialog/form-dialog.d.ts +1 -1
  6. package/dist/components/form/components/form-dialog/form-dialog.d.ts.map +1 -1
  7. package/dist/components/form/components/form-dialog/types.d.ts +1 -1
  8. package/dist/components/form/components/form-dialog/types.d.ts.map +1 -1
  9. package/dist/components/form/components/form-error-banner/use-form-error-list.d.ts.map +1 -1
  10. package/dist/components/form/config-driven-form.d.ts +24 -0
  11. package/dist/components/form/config-driven-form.d.ts.map +1 -0
  12. package/dist/components/form/constants.d.ts +4 -0
  13. package/dist/components/form/constants.d.ts.map +1 -0
  14. package/dist/components/form/fields/boolean/schema-boolean-field.d.ts +3 -0
  15. package/dist/components/form/fields/boolean/schema-boolean-field.d.ts.map +1 -0
  16. package/dist/components/form/fields/boolean/types.d.ts +4 -1
  17. package/dist/components/form/fields/boolean/types.d.ts.map +1 -1
  18. package/dist/components/form/fields/checkbox/schema-checkbox-field.d.ts +3 -0
  19. package/dist/components/form/fields/checkbox/schema-checkbox-field.d.ts.map +1 -0
  20. package/dist/components/form/fields/checkbox/types.d.ts +4 -1
  21. package/dist/components/form/fields/checkbox/types.d.ts.map +1 -1
  22. package/dist/components/form/fields/date/schema-date-field.d.ts +3 -0
  23. package/dist/components/form/fields/date/schema-date-field.d.ts.map +1 -0
  24. package/dist/components/form/fields/date/types.d.ts +4 -1
  25. package/dist/components/form/fields/date/types.d.ts.map +1 -1
  26. package/dist/components/form/fields/map/schema-map-field.d.ts +3 -0
  27. package/dist/components/form/fields/map/schema-map-field.d.ts.map +1 -0
  28. package/dist/components/form/fields/map/types.d.ts +4 -1
  29. package/dist/components/form/fields/map/types.d.ts.map +1 -1
  30. package/dist/components/form/fields/markdown/schema-markdown-field.d.ts +3 -0
  31. package/dist/components/form/fields/markdown/schema-markdown-field.d.ts.map +1 -0
  32. package/dist/components/form/fields/markdown/types.d.ts +4 -1
  33. package/dist/components/form/fields/markdown/types.d.ts.map +1 -1
  34. package/dist/components/form/fields/number/schema-number-field.d.ts +3 -0
  35. package/dist/components/form/fields/number/schema-number-field.d.ts.map +1 -0
  36. package/dist/components/form/fields/number/types.d.ts +6 -0
  37. package/dist/components/form/fields/number/types.d.ts.map +1 -0
  38. package/dist/components/form/fields/radio/schema-radio-field.d.ts +3 -0
  39. package/dist/components/form/fields/radio/schema-radio-field.d.ts.map +1 -0
  40. package/dist/components/form/fields/radio/types.d.ts +4 -1
  41. package/dist/components/form/fields/radio/types.d.ts.map +1 -1
  42. package/dist/components/form/fields/schema-field.d.ts +12 -0
  43. package/dist/components/form/fields/schema-field.d.ts.map +1 -0
  44. package/dist/components/form/fields/select/schema-select-field.d.ts +3 -0
  45. package/dist/components/form/fields/select/schema-select-field.d.ts.map +1 -0
  46. package/dist/components/form/fields/select/types.d.ts +11 -1
  47. package/dist/components/form/fields/select/types.d.ts.map +1 -1
  48. package/dist/components/form/fields/string/schema-string-field.d.ts +4 -0
  49. package/dist/components/form/fields/string/schema-string-field.d.ts.map +1 -0
  50. package/dist/components/form/fields/string/types.d.ts +10 -0
  51. package/dist/components/form/fields/string/types.d.ts.map +1 -1
  52. package/dist/components/form/fields/textarea/schema-textarea-field.d.ts +3 -0
  53. package/dist/components/form/fields/textarea/schema-textarea-field.d.ts.map +1 -0
  54. package/dist/components/form/fields/textarea/types.d.ts +4 -1
  55. package/dist/components/form/fields/textarea/types.d.ts.map +1 -1
  56. package/dist/components/form/fields/types.d.ts +5 -0
  57. package/dist/components/form/fields/types.d.ts.map +1 -1
  58. package/dist/components/form/fields/url/schema-url-field.d.ts +3 -0
  59. package/dist/components/form/fields/url/schema-url-field.d.ts.map +1 -0
  60. package/dist/components/form/fields/url/types.d.ts +4 -1
  61. package/dist/components/form/fields/url/types.d.ts.map +1 -1
  62. package/dist/components/form/form-context.d.ts +1 -1
  63. package/dist/components/form/form-context.d.ts.map +1 -1
  64. package/dist/components/form/form.d.ts +1 -1
  65. package/dist/components/form/form.d.ts.map +1 -1
  66. package/dist/components/form/hooks/use-array-field.d.ts +1 -1
  67. package/dist/components/form/hooks/use-array-field.d.ts.map +1 -1
  68. package/dist/components/form/hooks/use-field-renderer.d.ts +7 -0
  69. package/dist/components/form/hooks/use-field-renderer.d.ts.map +1 -0
  70. package/dist/components/form/hooks/use-field.d.ts +1 -1
  71. package/dist/components/form/hooks/use-field.d.ts.map +1 -1
  72. package/dist/components/form/hooks/use-form-state.d.ts +1 -1
  73. package/dist/components/form/hooks/use-form-state.d.ts.map +1 -1
  74. package/dist/components/form/hooks/use-form.d.ts +1 -1
  75. package/dist/components/form/hooks/use-form.d.ts.map +1 -1
  76. package/dist/components/form/layout/condition/__tests__/evaluate-condition.test.d.ts +2 -0
  77. package/dist/components/form/layout/condition/__tests__/evaluate-condition.test.d.ts.map +1 -0
  78. package/dist/components/form/layout/condition/__tests__/form-condition.test.d.ts +2 -0
  79. package/dist/components/form/layout/condition/__tests__/form-condition.test.d.ts.map +1 -0
  80. package/dist/components/form/layout/condition/evaluate-condition.d.ts +4 -0
  81. package/dist/components/form/layout/condition/evaluate-condition.d.ts.map +1 -0
  82. package/dist/components/form/layout/condition/form-condition.d.ts +10 -0
  83. package/dist/components/form/layout/condition/form-condition.d.ts.map +1 -0
  84. package/dist/components/form/layout/condition/types.d.ts +36 -0
  85. package/dist/components/form/layout/condition/types.d.ts.map +1 -0
  86. package/dist/components/form/layout/form-grid/types.d.ts +5 -0
  87. package/dist/components/form/layout/form-grid/types.d.ts.map +1 -1
  88. package/dist/components/form/layout/form-group/types.d.ts +6 -0
  89. package/dist/components/form/layout/form-group/types.d.ts.map +1 -1
  90. package/dist/components/form/layout/form-row/types.d.ts +5 -0
  91. package/dist/components/form/layout/form-row/types.d.ts.map +1 -1
  92. package/dist/components/form/layout/layout-item-list.d.ts +8 -0
  93. package/dist/components/form/layout/layout-item-list.d.ts.map +1 -0
  94. package/dist/components/form/layout/layout-renderer.d.ts +7 -0
  95. package/dist/components/form/layout/layout-renderer.d.ts.map +1 -0
  96. package/dist/components/form/layout/types.d.ts +1 -1
  97. package/dist/components/form/layout/types.d.ts.map +1 -1
  98. package/dist/components/form/types/config-types.d.ts +132 -0
  99. package/dist/components/form/types/config-types.d.ts.map +1 -0
  100. package/dist/components/form/{types.d.ts → types/form-types.d.ts} +2 -2
  101. package/dist/components/form/types/form-types.d.ts.map +1 -0
  102. package/dist/components/form/utils/__tests__/delete-by-path.test.d.ts +2 -0
  103. package/dist/components/form/utils/__tests__/delete-by-path.test.d.ts.map +1 -0
  104. package/dist/components/form/utils/__tests__/filter-hidden-condition-fields.test.d.ts +2 -0
  105. package/dist/components/form/utils/__tests__/filter-hidden-condition-fields.test.d.ts.map +1 -0
  106. package/dist/components/form/utils/__tests__/is-empty-field-value.test.d.ts +2 -0
  107. package/dist/components/form/utils/__tests__/is-empty-field-value.test.d.ts.map +1 -0
  108. package/dist/components/form/utils/delete-by-path.d.ts +6 -0
  109. package/dist/components/form/utils/delete-by-path.d.ts.map +1 -0
  110. package/dist/components/form/utils/filter-hidden-condition-fields.d.ts +11 -0
  111. package/dist/components/form/utils/filter-hidden-condition-fields.d.ts.map +1 -0
  112. package/dist/components/form/utils/is-empty-field-value.d.ts +2 -0
  113. package/dist/components/form/utils/is-empty-field-value.d.ts.map +1 -0
  114. package/dist/components/form/validation/resolve-validation.d.ts +4 -0
  115. package/dist/components/form/validation/resolve-validation.d.ts.map +1 -0
  116. package/dist/components/links-box/types.d.ts +1 -0
  117. package/dist/components/links-box/types.d.ts.map +1 -1
  118. package/dist/components/navigation-bar/navigation-bar.d.ts +2 -1
  119. package/dist/components/navigation-bar/navigation-bar.d.ts.map +1 -1
  120. package/dist/components/signpost/signpost.d.ts +3 -0
  121. package/dist/components/signpost/signpost.d.ts.map +1 -0
  122. package/dist/components/signpost/styled-components.d.ts +2 -0
  123. package/dist/components/signpost/styled-components.d.ts.map +1 -0
  124. package/dist/components/{error-view → signpost}/types.d.ts +1 -1
  125. package/dist/components/signpost/types.d.ts.map +1 -0
  126. package/dist/components/views/phase-entity-view/entity-table.d.ts +1 -1
  127. package/dist/components/views/phase-entity-view/entity-table.d.ts.map +1 -1
  128. package/dist/components/views/phase-entity-view/phase-entity-view.d.ts.map +1 -1
  129. package/dist/components/views/phase-entity-view/types.d.ts +6 -0
  130. package/dist/components/views/phase-entity-view/types.d.ts.map +1 -1
  131. package/dist/components/views/phase-entity-view/utils/inject-list-options.d.ts +8 -0
  132. package/dist/components/views/phase-entity-view/utils/inject-list-options.d.ts.map +1 -0
  133. package/dist/components/views/project/components/phase-card.d.ts.map +1 -1
  134. package/dist/components/views/project/project-detail.d.ts.map +1 -1
  135. package/dist/components/views/sandbox/sandbox.d.ts.map +1 -1
  136. package/dist/config/entities/deployment/deployment-info-page.d.ts +5 -0
  137. package/dist/config/entities/deployment/deployment-info-page.d.ts.map +1 -0
  138. package/dist/config/entities/deployment/deployment-revision-card.d.ts +14 -0
  139. package/dist/config/entities/deployment/deployment-revision-card.d.ts.map +1 -0
  140. package/dist/config/entities/deployment/detail.d.ts.map +1 -1
  141. package/dist/config/entities/deployment/shared.d.ts +8 -0
  142. package/dist/config/entities/deployment/shared.d.ts.map +1 -1
  143. package/dist/config/entities/deployment/types.d.ts +39 -0
  144. package/dist/config/entities/deployment/types.d.ts.map +1 -0
  145. package/dist/config/entities/model/__tests__/model-page.test.d.ts +2 -0
  146. package/dist/config/entities/model/__tests__/model-page.test.d.ts.map +1 -0
  147. package/dist/config/entities/model/constants.d.ts +25 -0
  148. package/dist/config/entities/model/constants.d.ts.map +1 -0
  149. package/dist/config/entities/model/list.d.ts.map +1 -1
  150. package/dist/config/entities/pipeline/__tests__/pipeline.test.d.ts +2 -0
  151. package/dist/config/entities/pipeline/__tests__/pipeline.test.d.ts.map +1 -0
  152. package/dist/config/entities/pipeline/pipeline.d.ts.map +1 -1
  153. package/dist/config/phases/data.d.ts.map +1 -1
  154. package/dist/config/phases/deploy.d.ts.map +1 -1
  155. package/dist/config/phases/monitor-debug.d.ts +3 -0
  156. package/dist/config/phases/monitor-debug.d.ts.map +1 -0
  157. package/dist/config/phases/phases.d.ts +2 -0
  158. package/dist/config/phases/phases.d.ts.map +1 -1
  159. package/dist/config/phases/retrain.d.ts +3 -0
  160. package/dist/config/phases/retrain.d.ts.map +1 -0
  161. package/dist/config/phases/train.d.ts.map +1 -1
  162. package/dist/index.d.ts +3 -1
  163. package/dist/index.d.ts.map +1 -1
  164. package/dist/interpolation/types.d.ts +0 -4
  165. package/dist/interpolation/types.d.ts.map +1 -1
  166. package/dist/michelangelo-core.cjs +16 -16
  167. package/dist/michelangelo-core.js +22295 -21756
  168. package/dist/primitives.cjs +1 -1
  169. package/dist/primitives.d.ts +2 -0
  170. package/dist/primitives.d.ts.map +1 -1
  171. package/dist/primitives.js +25 -24
  172. package/dist/providers/form-provider/form-context.d.ts +3 -0
  173. package/dist/providers/form-provider/form-context.d.ts.map +1 -0
  174. package/dist/providers/form-provider/form-provider.d.ts +21 -0
  175. package/dist/providers/form-provider/form-provider.d.ts.map +1 -0
  176. package/dist/providers/form-provider/types.d.ts +25 -0
  177. package/dist/providers/form-provider/types.d.ts.map +1 -0
  178. package/dist/providers/form-provider/use-form-provider.d.ts +15 -0
  179. package/dist/providers/form-provider/use-form-provider.d.ts.map +1 -0
  180. package/dist/router/router.d.ts.map +1 -1
  181. package/dist/test/wrappers/get-form-provider-wrapper.d.ts +1 -1
  182. package/dist/test/wrappers/get-form-provider-wrapper.d.ts.map +1 -1
  183. package/dist/{theme-provider-BNyeUTHs.js → theme-provider-Ba4vmtVx.js} +5911 -5657
  184. package/dist/theme-provider-H-LNQYdH.cjs +303 -0
  185. package/dist/tsconfig.tsbuildinfo +1 -1
  186. package/dist/types/common/studio-types.d.ts +6 -0
  187. package/dist/types/common/studio-types.d.ts.map +1 -1
  188. package/dist/utils/__tests__/crd-utils.test.d.ts +2 -0
  189. package/dist/utils/__tests__/crd-utils.test.d.ts.map +1 -0
  190. package/dist/utils/__tests__/environment-utils.test.d.ts +2 -0
  191. package/dist/utils/__tests__/environment-utils.test.d.ts.map +1 -0
  192. package/dist/utils/crd-utils.d.ts +32 -0
  193. package/dist/utils/crd-utils.d.ts.map +1 -0
  194. package/dist/utils/environment-utils.d.ts +18 -0
  195. package/dist/utils/environment-utils.d.ts.map +1 -0
  196. package/package.json +1 -1
  197. package/dist/components/error-view/error-view.d.ts +0 -3
  198. package/dist/components/error-view/error-view.d.ts.map +0 -1
  199. package/dist/components/error-view/styled-components.d.ts +0 -2
  200. package/dist/components/error-view/styled-components.d.ts.map +0 -1
  201. package/dist/components/error-view/types.d.ts.map +0 -1
  202. package/dist/components/form/types.d.ts.map +0 -1
  203. package/dist/theme-provider-BEQVBa23.cjs +0 -303
@@ -1 +1 @@
1
- {"version":3,"file":"menu-drawer.d.ts","sourceRoot":"","sources":["../../../components/breadcrumb-bar/menu-drawer.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,UAAU,KAAK;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,KAAK,2CAoGrE"}
1
+ {"version":3,"file":"menu-drawer.d.ts","sourceRoot":"","sources":["../../../components/breadcrumb-bar/menu-drawer.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,UAAU,KAAK;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,EAAE,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,KAAK,2CAqGrE"}
@@ -1 +1 @@
1
- {"version":3,"file":"phase-entity-list.d.ts","sourceRoot":"","sources":["../../../components/breadcrumb-bar/phase-entity-list.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,SAAS,EACT,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,2CAuCA"}
1
+ {"version":3,"file":"phase-entity-list.d.ts","sourceRoot":"","sources":["../../../components/breadcrumb-bar/phase-entity-list.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,SAAS,EACT,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,WAAW,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB,2CAuCA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=config-driven-form.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-driven-form.test.d.ts","sourceRoot":"","sources":["../../../../components/form/__tests__/config-driven-form.test.tsx"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- import type { FormData } from '../../../../components/form/types';
1
+ import type { FormData } from '../../../../components/form/types/form-types';
2
2
  import type { FormDialogProps } from './types';
3
3
  /**
4
4
  * Modal dialog component that wraps a form with automatic submit button integration.
@@ -1 +1 @@
1
- {"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../../../../components/form/components/form-dialog/form-dialog.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,UAAU,GAAI,WAAW,SAAS,QAAQ,oGASpD,eAAe,CAAC,WAAW,CAAC,4CAmD9B,CAAC"}
1
+ {"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../../../../components/form/components/form-dialog/form-dialog.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,UAAU,GAAI,WAAW,SAAS,QAAQ,oGASpD,eAAe,CAAC,WAAW,CAAC,4CAmD9B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Size as DialogSize } from 'baseui/dialog';
2
- import type { FormData, FormProps } from '../../../../components/form/types';
2
+ import type { FormData, FormProps } from '../../../../components/form/types/form-types';
3
3
  export interface FormDialogProps<FieldValues extends FormData = FormData> extends Pick<FormProps<FieldValues>, 'onSubmit' | 'initialValues' | 'children'> {
4
4
  isOpen: boolean;
5
5
  onDismiss: () => void;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/components/form-dialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAEvE,MAAM,WAAW,eAAe,CAAC,WAAW,SAAS,QAAQ,GAAG,QAAQ,CACtE,SAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,eAAe,GAAG,UAAU,CAAC;IAC/E,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/components/form-dialog/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AAElF,MAAM,WAAW,eAAe,CAAC,WAAW,SAAS,QAAQ,GAAG,QAAQ,CACtE,SAAQ,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,eAAe,GAAG,UAAU,CAAC;IAC/E,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-form-error-list.d.ts","sourceRoot":"","sources":["../../../../../components/form/components/form-error-banner/use-form-error-list.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,UAAU,EAAE,CAoC/C"}
1
+ {"version":3,"file":"use-form-error-list.d.ts","sourceRoot":"","sources":["../../../../../components/form/components/form-error-banner/use-form-error-list.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,UAAU,EAAE,CAoC/C"}
@@ -0,0 +1,24 @@
1
+ import type { FormConfig } from '../../components/form/types/config-types';
2
+ import type { DeepPartial } from '../../types/utility-types';
3
+ type ConfigDrivenFormProps<T extends Record<string, unknown> = Record<string, unknown>> = {
4
+ config: FormConfig<T>;
5
+ /** `...rest` forwards final-form's `form` and `callback` arguments through untyped. */
6
+ onSubmit: (values: T, ...rest: unknown[]) => void | object | Promise<object>;
7
+ initialValues?: DeepPartial<T>;
8
+ };
9
+ /**
10
+ * Renders a form from a declarative configuration.
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * const config: FormConfig<{ name: string }> = {
15
+ * fields: { name: { type: 'string', label: 'Name' } },
16
+ * layout: ['name'],
17
+ * };
18
+ *
19
+ * <ConfigDrivenForm config={config} onSubmit={handleSubmit} />
20
+ * ```
21
+ */
22
+ export declare function ConfigDrivenForm<T extends Record<string, unknown>>({ config, onSubmit, initialValues, }: ConfigDrivenFormProps<T>): import("react/jsx-runtime").JSX.Element;
23
+ export {};
24
+ //# sourceMappingURL=config-driven-form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-driven-form.d.ts","sourceRoot":"","sources":["../../../components/form/config-driven-form.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,UAAU,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,KAAK,qBAAqB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACxF,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC;IACtB,uFAAuF;IACvF,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7E,aAAa,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;CAChC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAClE,MAAM,EACN,QAAQ,EACR,aAAa,GACd,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAmB1B"}
@@ -0,0 +1,4 @@
1
+ import type { FieldRenderer, FieldType } from './types/config-types';
2
+ /** Built-in field renderer registry. FormProvider renderers take priority over these. */
3
+ export declare const FIELD_RENDERERS: Record<FieldType, FieldRenderer>;
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../components/form/constants.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAErE,yFAAyF;AACzF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,SAAS,EAAE,aAAa,CAY5D,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaBooleanField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-boolean-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-boolean-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/boolean/schema-boolean-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAkBtE"}
@@ -1,4 +1,4 @@
1
- import type { BaseFieldProps } from '../types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
2
2
  export interface BooleanFieldProps extends BaseFieldProps<boolean> {
3
3
  /**
4
4
  * Custom label for the checkbox itself.
@@ -13,4 +13,7 @@ export interface BooleanFieldProps extends BaseFieldProps<boolean> {
13
13
  */
14
14
  toggle?: boolean;
15
15
  }
16
+ export type BooleanFieldConfig<T = boolean> = SharedFieldConfig<T, boolean> & Pick<BooleanFieldProps, 'checkboxLabel' | 'toggle'> & {
17
+ type: 'boolean';
18
+ };
16
19
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/boolean/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,OAAO,CAAC;IAChE;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/boolean/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,OAAO,CAAC;IAChE;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,OAAO,IAAI,iBAAiB,CAAC,CAAC,EAAE,OAAO,CAAC,GACzE,IAAI,CAAC,iBAAiB,EAAE,eAAe,GAAG,QAAQ,CAAC,GAAG;IACpD,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaCheckboxField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-checkbox-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-checkbox-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/checkbox/schema-checkbox-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAiBvE"}
@@ -1,4 +1,4 @@
1
- import type { BaseFieldProps } from '../../../../components/form/fields/types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../../../../components/form/fields/types';
2
2
  export interface CheckboxOption {
3
3
  id: string;
4
4
  label: string;
@@ -7,4 +7,7 @@ export interface CheckboxOption {
7
7
  export interface CheckboxFieldProps extends BaseFieldProps<string[]> {
8
8
  options: CheckboxOption[];
9
9
  }
10
+ export type CheckboxFieldConfig<T = string[]> = SharedFieldConfig<T, string[]> & Pick<CheckboxFieldProps, 'options'> & {
11
+ type: 'checkbox';
12
+ };
10
13
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,MAAM,EAAE,CAAC;IAClE,OAAO,EAAE,cAAc,EAAE,CAAC;CAC3B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAE5F,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,MAAM,EAAE,CAAC;IAClE,OAAO,EAAE,cAAc,EAAE,CAAC;CAC3B;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAC5E,IAAI,CAAC,kBAAkB,EAAE,SAAS,CAAC,GAAG;IACpC,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaDateField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-date-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-date-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/date/schema-date-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAmBnE"}
@@ -1,4 +1,4 @@
1
- import type { BaseFieldProps } from '../types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
2
2
  export interface DateFieldProps extends BaseFieldProps<string, Date | null> {
3
3
  /** @default DateFormat.ISO_DATE_STRING */
4
4
  dateFormat?: DateFormat;
@@ -19,4 +19,7 @@ export declare enum DateFormat {
19
19
  */
20
20
  ISO_DATE_STRING = "iso"
21
21
  }
22
+ export type DateFieldConfig<T = string> = SharedFieldConfig<T, Date | null> & Pick<DateFieldProps, 'dateFormat' | 'noFutureDate'> & {
23
+ type: 'date';
24
+ };
22
25
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/date/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACzE,0CAA0C;IAC1C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,oBAAY,UAAU;IACpB;;;OAGG;IACH,aAAa,UAAU;IACvB;;OAEG;IACH,eAAe,QAAQ;CACxB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/date/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,cAAe,SAAQ,cAAc,CAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IACzE,0CAA0C;IAC1C,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,oBAAY,UAAU;IACpB;;;OAGG;IACH,aAAa,UAAU;IACvB;;OAEG;IACH,eAAe,QAAQ;CACxB;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC,GACzE,IAAI,CAAC,cAAc,EAAE,YAAY,GAAG,cAAc,CAAC,GAAG;IACpD,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaMapField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-map-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-map-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/map/schema-map-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAuBlE"}
@@ -1,5 +1,5 @@
1
1
  import type { SIZE } from 'baseui/input';
2
- import type { BaseFieldProps } from '../../../../components/form/fields/types';
2
+ import type { BaseFieldProps, SharedFieldConfig } from '../../../../components/form/fields/types';
3
3
  export interface KeyValueEntry {
4
4
  /** Stable React key — monotonically increasing, never reused after deletion. */
5
5
  id: number;
@@ -31,4 +31,7 @@ export interface MapFieldOwnProps extends KeyValueRowConfig {
31
31
  emptyMessage?: string;
32
32
  }
33
33
  export type MapFieldProps = MapFieldOwnProps & BaseFieldProps<Record<string, string>>;
34
+ export type MapFieldConfig<T = Record<string, string>> = SharedFieldConfig<T, Record<string, string>> & Pick<MapFieldOwnProps & KeyValueRowConfig, 'singleValue' | 'creatable' | 'emptyMessage' | 'keyConfig' | 'valueConfig' | 'deletable' | 'size'> & {
35
+ type: 'map';
36
+ };
34
37
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/map/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,MAAM,WAAW,aAAa;IAC5B,gFAAgF;IAChF,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qFAAqF;A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EAAE,MAAM,CAAA;KAAE,CAAC;IAEvC,oDAAoD;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,gCAAgC;IAChC,IAAI,CAAC,EAAE,MAAM,OAAO,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,gFAAgF;IAChF,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEtF,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,iBAAiB,CACxE,CAAC,EACD,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CACvB,GACC,IAAI,CACF,gBAAgB,GAAG,iBAAiB,EAClC,aAAa,GACb,WAAW,GACX,cAAc,GACd,WAAW,GACX,aAAa,GACb,WAAW,GACX,MAAM,CACT,GAAG;IACF,IAAI,EAAE,KAAK,CAAC;CACb,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaMarkdownField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-markdown-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-markdown-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/markdown/schema-markdown-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAmBvE"}
@@ -1,4 +1,4 @@
1
- import type { BaseFieldProps } from '../types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
2
2
  export interface MarkdownFieldProps extends BaseFieldProps<string> {
3
3
  rows?: number;
4
4
  /**
@@ -8,4 +8,7 @@ export interface MarkdownFieldProps extends BaseFieldProps<string> {
8
8
  */
9
9
  maxLength?: number;
10
10
  }
11
+ export type MarkdownFieldConfig<T = string> = SharedFieldConfig<T, string> & Pick<MarkdownFieldProps, 'rows' | 'maxLength'> & {
12
+ type: 'markdown';
13
+ };
11
14
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/markdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,MAAM,CAAC;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/markdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,MAAM,CAAC;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC,GACxE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG;IAC/C,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaNumberField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-number-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-number-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/number/schema-number-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAiBrE"}
@@ -0,0 +1,6 @@
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
2
+ export type NumberFieldProps = BaseFieldProps<number | undefined>;
3
+ export type NumberFieldConfig<T = number | undefined> = SharedFieldConfig<T, number | undefined> & {
4
+ type: 'number';
5
+ };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/number/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;AAElE,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,MAAM,GAAG,SAAS,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG;IACjG,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaRadioField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-radio-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-radio-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/radio/schema-radio-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAkBpE"}
@@ -1,5 +1,5 @@
1
1
  import type { Align } from 'baseui/radio';
2
- import type { BaseFieldProps } from '../types';
2
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
3
3
  export interface RadioOption {
4
4
  value: string | boolean;
5
5
  label: string;
@@ -11,4 +11,7 @@ export interface RadioFieldProps extends BaseFieldProps<string | boolean> {
11
11
  options: RadioOption[];
12
12
  align?: Align;
13
13
  }
14
+ export type RadioFieldConfig<T = string | boolean> = SharedFieldConfig<T, string | boolean> & Pick<RadioFieldProps, 'options' | 'align'> & {
15
+ type: 'radio';
16
+ };
14
17
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/radio/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,yGAAyG;IACzG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,MAAM,GAAG,OAAO,CAAC;IACvE,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/radio/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,yGAAyG;IACzG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,MAAM,GAAG,OAAO,CAAC;IACvE,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,GACzF,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,OAAO,CAAC,GAAG;IAC3C,IAAI,EAAE,OAAO,CAAC;CACf,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { FieldConfig } from '../../../components/form/types/config-types';
2
+ /**
3
+ * Resolves and renders the field renderer for a given field path.
4
+ *
5
+ * Renders nothing if specified field configuration's type is not
6
+ * registered to FIELD_RENDERERS or FormContext.renderers.
7
+ */
8
+ export declare function SchemaField({ fieldPath, config, }: {
9
+ fieldPath: string;
10
+ config: FieldConfig | undefined;
11
+ }): import("react/jsx-runtime").JSX.Element | null;
12
+ //# sourceMappingURL=schema-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-field.d.ts","sourceRoot":"","sources":["../../../../components/form/fields/schema-field.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAE5E;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,MAAM,GACP,EAAE;IACD,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,GAAG,SAAS,CAAC;CACjC,kDAKA"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaSelectField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-select-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-select-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/select/schema-select-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAyBrE"}
@@ -1,4 +1,4 @@
1
- import type { BaseFieldProps } from '../types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
2
2
  export interface SelectOption<V = string | number> {
3
3
  id: V;
4
4
  label: string;
@@ -21,5 +21,15 @@ export type SelectFieldProps<V = string | number> = (SelectFieldOwnProps<V> & Ba
21
21
  }) | (SelectFieldOwnProps<V> & BaseFieldProps<V[]> & {
22
22
  multi: true;
23
23
  });
24
+ type SelectFieldConfigOwnProps = Pick<SelectFieldOwnProps<string | number>, 'options' | 'clearable' | 'searchable' | 'creatable' | 'isLoading' | 'visibleOptionLimit'>;
25
+ export type SingleSelectFieldConfig<T = string | number> = SharedFieldConfig<T, string | number> & SelectFieldConfigOwnProps & {
26
+ type: 'select';
27
+ multi?: false;
28
+ };
29
+ export type MultiSelectFieldConfig<T = Array<string | number>> = SharedFieldConfig<T, Array<string | number>> & SelectFieldConfigOwnProps & {
30
+ type: 'select';
31
+ multi: true;
32
+ };
33
+ export type SelectFieldConfig<T = string | number> = SingleSelectFieldConfig<T> | MultiSelectFieldConfig<T>;
24
34
  export {};
25
35
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/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4 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ /** Schema-aware wrapper for StringField that maps config to component props. */
3
+ export declare function SchemaStringField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=schema-string-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-string-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/string/schema-string-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,gFAAgF;AAChF,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAmBrE"}
@@ -1,3 +1,4 @@
1
+ import type { SharedFieldConfig } from '../types';
1
2
  import type { BaseFieldProps } from '../types';
2
3
  export type SingleStringFieldProps = BaseFieldProps<string> & {
3
4
  multi?: false;
@@ -6,4 +7,13 @@ export type MultiStringFieldProps = BaseFieldProps<string[]> & {
6
7
  multi: true;
7
8
  };
8
9
  export type StringFieldProps = SingleStringFieldProps | MultiStringFieldProps;
10
+ export type SingleStringFieldConfig<T = string> = SharedFieldConfig<T, string> & {
11
+ type: 'string';
12
+ multi?: false;
13
+ };
14
+ export type MultiStringFieldConfig<T = string[]> = SharedFieldConfig<T, string[]> & {
15
+ type: 'string';
16
+ multi: true;
17
+ };
18
+ export type StringFieldConfig<T = string> = SingleStringFieldConfig<T> | MultiStringFieldConfig<T>;
9
19
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/string/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,GAAG;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,CAAC;AAE/E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/string/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAChF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,GAAG;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,CAAC;AAE/E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GAAG,qBAAqB,CAAC;AAE9E,MAAM,MAAM,uBAAuB,CAAC,CAAC,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IAC/E,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG;IAClF,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,IAAI,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,MAAM,IAAI,uBAAuB,CAAC,CAAC,CAAC,GAAG,sBAAsB,CAAC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaTextareaField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-textarea-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-textarea-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/textarea/schema-textarea-field.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAiBvE"}
@@ -1,4 +1,4 @@
1
- import type { BaseFieldProps } from '../types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../types';
2
2
  export interface TextareaFieldProps extends BaseFieldProps<string> {
3
3
  rows?: number;
4
4
  /**
@@ -12,4 +12,7 @@ export interface MaxLengthLabelEnhancerProps {
12
12
  maxLength: number;
13
13
  currentLength: number;
14
14
  }
15
+ export type TextareaFieldConfig<T = string> = SharedFieldConfig<T, string> & Pick<TextareaFieldProps, 'rows' | 'maxLength'> & {
16
+ type: 'textarea';
17
+ };
15
18
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/textarea/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,MAAM,CAAC;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/textarea/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElE,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,MAAM,CAAC;IAChE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC,GACxE,IAAI,CAAC,kBAAkB,EAAE,MAAM,GAAG,WAAW,CAAC,GAAG;IAC/C,IAAI,EAAE,UAAU,CAAC;CAClB,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { FieldValidation } from '../../../components/form/types/config-types';
1
2
  import type { FieldValidator } from '../../../components/form/validation/types';
2
3
  export interface BaseFieldProps<T = unknown, InputValue = T> {
3
4
  /** Unique ID of the field,
@@ -74,4 +75,8 @@ export interface BaseFieldProps<T = unknown, InputValue = T> {
74
75
  */
75
76
  validate?: FieldValidator;
76
77
  }
78
+ /** Declarative field configuration derived from BaseFieldProps, excluding runtime-only concerns. */
79
+ export type SharedFieldConfig<T = unknown, InputValue = T> = Pick<BaseFieldProps<T, InputValue>, 'label' | 'required' | 'disabled' | 'readOnly' | 'placeholder' | 'description' | 'caption' | 'defaultValue' | 'initialValue' | 'parse' | 'format'> & {
80
+ validation?: FieldValidation;
81
+ };
77
82
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/form/fields/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,MAAM,WAAW,cAAc,CAAC,CAAC,GAAG,OAAO,EAAE,UAAU,GAAG,CAAC;IACzD;;;;;;;OAOG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CA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AAC;IAEnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEnC;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,CAAC,CAAC;IAEjC;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,UAAU,CAAC;IAElC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED,oGAAoG;AACpG,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,OAAO,EAAE,UAAU,GAAG,CAAC,IAAI,IAAI,CAC/D,cAAc,CAAC,CAAC,EAAE,UAAU,CAAC,EAC3B,OAAO,GACP,UAAU,GACV,UAAU,GACV,UAAU,GACV,aAAa,GACb,aAAa,GACb,SAAS,GACT,cAAc,GACd,cAAc,GACd,OAAO,GACP,QAAQ,CACX,GAAG;IACF,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { FieldRendererProps } from '../../../../components/form/types/config-types';
2
+ export declare function SchemaUrlField({ name, config }: FieldRendererProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=schema-url-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-url-field.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/url/schema-url-field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAkBlE"}
@@ -1,6 +1,9 @@
1
- import type { BaseFieldProps } from '../../../../components/form/fields/types';
1
+ import type { BaseFieldProps, SharedFieldConfig } from '../../../../components/form/fields/types';
2
2
  export interface UrlFieldProps extends BaseFieldProps<string> {
3
3
  /** Display label for the link; falls back to the field value if omitted */
4
4
  urlName?: string;
5
5
  }
6
+ export type UrlFieldConfig<T = string> = SharedFieldConfig<T, string> & Pick<UrlFieldProps, 'urlName'> & {
7
+ type: 'url';
8
+ };
6
9
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/url/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAEzE,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC3D,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/fields/url/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAE5F,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,MAAM,CAAC;IAC3D,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,EAAE,MAAM,CAAC,GACnE,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,GAAG;IAC/B,IAAI,EAAE,KAAK,CAAC;CACb,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { FormInstance } from './types';
1
+ import type { FormInstance } from './types/form-types';
2
2
  export declare const FormContext: import("react").Context<FormInstance | null>;
3
3
  export declare function useFormContext(): FormInstance;
4
4
  //# sourceMappingURL=form-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-context.d.ts","sourceRoot":"","sources":["../../../components/form/form-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,8CAA2C,CAAC;AAEpE,wBAAgB,cAAc,IAAI,YAAY,CAI7C"}
1
+ {"version":3,"file":"form-context.d.ts","sourceRoot":"","sources":["../../../components/form/form-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEvD,eAAO,MAAM,WAAW,8CAA2C,CAAC;AAEpE,wBAAgB,cAAc,IAAI,YAAY,CAI7C"}
@@ -1,3 +1,3 @@
1
- import type { FormData, FormProps } from './types';
1
+ import type { FormData, FormProps } from './types/form-types';
2
2
  export declare const Form: <FieldValues extends FormData = FormData>({ onSubmit, initialValues, id, children, render, footer, focusOnError, }: FormProps<FieldValues>) => import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../components/form/form.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAiB,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIlE,eAAO,MAAM,IAAI,GAAI,WAAW,SAAS,QAAQ,uFAQ9C,SAAS,CAAC,WAAW,CAAC,4CAqCxB,CAAC"}
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../components/form/form.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAiB,QAAQ,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI7E,eAAO,MAAM,IAAI,GAAI,WAAW,SAAS,QAAQ,uFAQ9C,SAAS,CAAC,WAAW,CAAC,4CAqCxB,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { ArrayFieldOptions } from '../../../components/form/types';
1
+ import type { ArrayFieldOptions } from '../../../components/form/types/form-types';
2
2
  /**
3
3
  * @param rootFieldPath - Dot-notation path to the root field of the array.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"use-array-field.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-array-field.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,aAAa,CAC3B,aAAa,EAAE,MAAM,EACrB,EAAE,QAAY,EAAE,QAAgB,EAAE,GAAE,iBAAsB;;;;;;oBAyBnC,MAAM;;EAe9B"}
1
+ {"version":3,"file":"use-array-field.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-array-field.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,aAAa,CAC3B,aAAa,EAAE,MAAM,EACrB,EAAE,QAAY,EAAE,QAAgB,EAAE,GAAE,iBAAsB;;;;;;oBAyBnC,MAAM;;EAe9B"}
@@ -0,0 +1,7 @@
1
+ import type { FieldRenderer } from '../../../components/form/types/config-types';
2
+ /**
3
+ * Resolves a field renderer by type. Checks context-registered renderers first
4
+ * (via FormProvider), then falls back to built-in renderers.
5
+ */
6
+ export declare function useFieldRenderer(type: string): FieldRenderer | undefined;
7
+ //# sourceMappingURL=use-field-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-field-renderer.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-field-renderer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAE9E;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAIxE"}
@@ -1,5 +1,5 @@
1
1
  import type { FieldValidator } from '../../../components/form/validation/types';
2
- import type { FieldInput, FieldState } from '../types';
2
+ import type { FieldInput, FieldState } from '../types/form-types';
3
3
  export declare function useField<T = unknown, InputValue = T>(name: string, options?: {
4
4
  validate?: FieldValidator;
5
5
  required?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"use-field.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-field.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEvD,wBAAgB,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,UAAU,GAAG,CAAC,EAClD,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;IACR,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,UAAU,CAAC;CACnC,GACA;IAAE,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CA+BxD"}
1
+ {"version":3,"file":"use-field.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-field.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAElE,wBAAgB,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,UAAU,GAAG,CAAC,EAClD,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE;IACR,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,UAAU,CAAC;CACnC,GACA;IAAE,KAAK,EAAE,UAAU,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,CA+BxD"}
@@ -1,4 +1,4 @@
1
- import type { FormData, FormState } from '../types';
1
+ import type { FormData, FormState } from '../types/form-types';
2
2
  /**
3
3
  * Hook for accessing form state with customizable subscriptions.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"use-form-state.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-form-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,WAAW,SAAS,QAAQ,GAAG,QAAQ,KAAK,SAAS,CAAC,WAAW,CAAC,CAAC;AAChG,wBAAgB,YAAY,CAAC,WAAW,SAAS,QAAQ,GAAG,QAAQ,EAClE,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,SAAS,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,GACnE,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"use-form-state.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-form-state.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,WAAW,SAAS,QAAQ,GAAG,QAAQ,KAAK,SAAS,CAAC,WAAW,CAAC,CAAC;AAChG,wBAAgB,YAAY,CAAC,WAAW,SAAS,QAAQ,GAAG,QAAQ,EAClE,YAAY,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,SAAS,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,GACnE,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { FormApi } from '../types';
1
+ import type { FormApi } from '../types/form-types';
2
2
  export declare function useForm(): FormApi;
3
3
  //# sourceMappingURL=use-form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-form.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-form.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAExC,wBAAgB,OAAO,IAAI,OAAO,CAQjC"}
1
+ {"version":3,"file":"use-form.d.ts","sourceRoot":"","sources":["../../../../components/form/hooks/use-form.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAEnD,wBAAgB,OAAO,IAAI,OAAO,CAQjC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=evaluate-condition.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluate-condition.test.d.ts","sourceRoot":"","sources":["../../../../../../components/form/layout/condition/__tests__/evaluate-condition.test.ts"],"names":[],"mappings":""}