@michelangelo-ai/core 0.7.0 → 0.8.0-nightly.20260811

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 (105) hide show
  1. package/dist/components/form/__tests__/config-driven-form.test.d.ts +2 -0
  2. package/dist/components/form/__tests__/config-driven-form.test.d.ts.map +1 -0
  3. package/dist/components/form/components/form-dialog/form-dialog.d.ts +1 -1
  4. package/dist/components/form/components/form-dialog/form-dialog.d.ts.map +1 -1
  5. package/dist/components/form/components/form-dialog/types.d.ts +1 -1
  6. package/dist/components/form/components/form-dialog/types.d.ts.map +1 -1
  7. package/dist/components/form/config-driven-form.d.ts +23 -0
  8. package/dist/components/form/config-driven-form.d.ts.map +1 -0
  9. package/dist/components/form/constants.d.ts +4 -0
  10. package/dist/components/form/constants.d.ts.map +1 -0
  11. package/dist/components/form/fields/schema-field.d.ts +12 -0
  12. package/dist/components/form/fields/schema-field.d.ts.map +1 -0
  13. package/dist/components/form/fields/string/components/editable-string-tag.d.ts.map +1 -1
  14. package/dist/components/form/fields/string/components/multi-string-field.d.ts.map +1 -1
  15. package/dist/components/form/fields/string/schema-string-field.d.ts +4 -0
  16. package/dist/components/form/fields/string/schema-string-field.d.ts.map +1 -0
  17. package/dist/components/form/fields/string/types.d.ts +10 -0
  18. package/dist/components/form/fields/string/types.d.ts.map +1 -1
  19. package/dist/components/form/fields/types.d.ts +2 -0
  20. package/dist/components/form/fields/types.d.ts.map +1 -1
  21. package/dist/components/form/form-context.d.ts +1 -1
  22. package/dist/components/form/form-context.d.ts.map +1 -1
  23. package/dist/components/form/form.d.ts +1 -1
  24. package/dist/components/form/form.d.ts.map +1 -1
  25. package/dist/components/form/hooks/use-array-field.d.ts +1 -1
  26. package/dist/components/form/hooks/use-array-field.d.ts.map +1 -1
  27. package/dist/components/form/hooks/use-field-renderer.d.ts +7 -0
  28. package/dist/components/form/hooks/use-field-renderer.d.ts.map +1 -0
  29. package/dist/components/form/hooks/use-field.d.ts +1 -1
  30. package/dist/components/form/hooks/use-field.d.ts.map +1 -1
  31. package/dist/components/form/hooks/use-form-state.d.ts +1 -1
  32. package/dist/components/form/hooks/use-form-state.d.ts.map +1 -1
  33. package/dist/components/form/hooks/use-form.d.ts +1 -1
  34. package/dist/components/form/hooks/use-form.d.ts.map +1 -1
  35. package/dist/components/form/layout/array-form-group/array-form-group.d.ts.map +1 -1
  36. package/dist/components/form/layout/form-grid/types.d.ts +5 -0
  37. package/dist/components/form/layout/form-grid/types.d.ts.map +1 -1
  38. package/dist/components/form/layout/form-group/types.d.ts +6 -0
  39. package/dist/components/form/layout/form-group/types.d.ts.map +1 -1
  40. package/dist/components/form/layout/form-row/types.d.ts +5 -0
  41. package/dist/components/form/layout/form-row/types.d.ts.map +1 -1
  42. package/dist/components/form/layout/layout-item-list.d.ts +8 -0
  43. package/dist/components/form/layout/layout-item-list.d.ts.map +1 -0
  44. package/dist/components/form/layout/layout-renderer.d.ts +7 -0
  45. package/dist/components/form/layout/layout-renderer.d.ts.map +1 -0
  46. package/dist/components/form/layout/types.d.ts +1 -1
  47. package/dist/components/form/layout/types.d.ts.map +1 -1
  48. package/dist/components/form/types/config-types.d.ts +56 -0
  49. package/dist/components/form/types/config-types.d.ts.map +1 -0
  50. package/dist/components/form/{types.d.ts → types/form-types.d.ts} +2 -2
  51. package/dist/components/form/types/form-types.d.ts.map +1 -0
  52. package/dist/components/links-box/__tests__/links-box.test.d.ts +2 -0
  53. package/dist/components/links-box/__tests__/links-box.test.d.ts.map +1 -0
  54. package/dist/components/links-box/links-box.d.ts +7 -0
  55. package/dist/components/links-box/links-box.d.ts.map +1 -0
  56. package/dist/components/links-box/map-link-config-to-column-config.d.ts +4 -0
  57. package/dist/components/links-box/map-link-config-to-column-config.d.ts.map +1 -0
  58. package/dist/components/links-box/types.d.ts +11 -0
  59. package/dist/components/links-box/types.d.ts.map +1 -0
  60. package/dist/components/message-container/__tests__/message-container.test.d.ts +2 -0
  61. package/dist/components/message-container/__tests__/message-container.test.d.ts.map +1 -0
  62. package/dist/components/message-container/message-container.d.ts +7 -0
  63. package/dist/components/message-container/message-container.d.ts.map +1 -0
  64. package/dist/components/message-container/styled-components.d.ts +6 -0
  65. package/dist/components/message-container/styled-components.d.ts.map +1 -0
  66. package/dist/components/message-container/types.d.ts +17 -0
  67. package/dist/components/message-container/types.d.ts.map +1 -0
  68. package/dist/components/row/types.d.ts +0 -2
  69. package/dist/components/row/types.d.ts.map +1 -1
  70. package/dist/config/entities/model/__tests__/model-page.test.d.ts +2 -0
  71. package/dist/config/entities/model/__tests__/model-page.test.d.ts.map +1 -0
  72. package/dist/config/entities/model/constants.d.ts +25 -0
  73. package/dist/config/entities/model/constants.d.ts.map +1 -0
  74. package/dist/config/entities/model/list.d.ts.map +1 -1
  75. package/dist/index.d.ts +2 -1
  76. package/dist/index.d.ts.map +1 -1
  77. package/dist/interpolation/types.d.ts +0 -4
  78. package/dist/interpolation/types.d.ts.map +1 -1
  79. package/dist/michelangelo-core.cjs +16 -16
  80. package/dist/michelangelo-core.js +4544 -4537
  81. package/dist/primitives.cjs +1 -1
  82. package/dist/primitives.js +5 -5
  83. package/dist/providers/form-provider/form-context.d.ts +3 -0
  84. package/dist/providers/form-provider/form-context.d.ts.map +1 -0
  85. package/dist/providers/form-provider/form-provider.d.ts +21 -0
  86. package/dist/providers/form-provider/form-provider.d.ts.map +1 -0
  87. package/dist/providers/form-provider/types.d.ts +25 -0
  88. package/dist/providers/form-provider/types.d.ts.map +1 -0
  89. package/dist/providers/form-provider/use-form-provider.d.ts +15 -0
  90. package/dist/providers/form-provider/use-form-provider.d.ts.map +1 -0
  91. package/dist/test/wrappers/get-form-provider-wrapper.d.ts +1 -1
  92. package/dist/test/wrappers/get-form-provider-wrapper.d.ts.map +1 -1
  93. package/dist/{theme-provider-BNyeUTHs.js → theme-provider-B-eq3gpv.js} +14 -13
  94. package/dist/{theme-provider-BEQVBa23.cjs → theme-provider-CgadO_VU.cjs} +38 -38
  95. package/dist/tsconfig.tsbuildinfo +1 -1
  96. package/dist/utils/__tests__/crd-utils.test.d.ts +2 -0
  97. package/dist/utils/__tests__/crd-utils.test.d.ts.map +1 -0
  98. package/dist/utils/__tests__/environment-utils.test.d.ts +2 -0
  99. package/dist/utils/__tests__/environment-utils.test.d.ts.map +1 -0
  100. package/dist/utils/crd-utils.d.ts +32 -0
  101. package/dist/utils/crd-utils.d.ts.map +1 -0
  102. package/dist/utils/environment-utils.d.ts +18 -0
  103. package/dist/utils/environment-utils.d.ts.map +1 -0
  104. package/package.json +1 -1
  105. package/dist/components/form/types.d.ts.map +0 -1
@@ -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"}
@@ -0,0 +1,23 @@
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
+ onSubmit: (values: T) => void | object | Promise<object>;
6
+ initialValues?: DeepPartial<T>;
7
+ };
8
+ /**
9
+ * Renders a form from a declarative configuration.
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * const config: FormConfig<{ name: string }> = {
14
+ * fields: { name: { type: 'string', label: 'Name' } },
15
+ * layout: ['name'],
16
+ * };
17
+ *
18
+ * <ConfigDrivenForm config={config} onSubmit={handleSubmit} />
19
+ * ```
20
+ */
21
+ export declare function ConfigDrivenForm<T extends Record<string, unknown>>({ config, onSubmit, initialValues, }: ConfigDrivenFormProps<T>): import("react/jsx-runtime").JSX.Element;
22
+ export {};
23
+ //# 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":"AAGA,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,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACzD,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,2CAU1B"}
@@ -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: Partial<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":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAErE,yFAAyF;AACzF,eAAO,MAAM,eAAe,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE,aAAa,CAAC,CAErE,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"editable-string-tag.d.ts","sourceRoot":"","sources":["../../../../../../components/form/fields/string/components/editable-string-tag.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CAuF9D"}
1
+ {"version":3,"file":"editable-string-tag.d.ts","sourceRoot":"","sources":["../../../../../../components/form/fields/string/components/editable-string-tag.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,2CA+E9D"}
@@ -1 +1 @@
1
- {"version":3,"file":"multi-string-field.d.ts","sourceRoot":"","sources":["../../../../../../components/form/fields/string/components/multi-string-field.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,MAAM,EACN,KAAK,GACN,EAAE,qBAAqB,2CAiGvB"}
1
+ {"version":3,"file":"multi-string-field.d.ts","sourceRoot":"","sources":["../../../../../../components/form/fields/string/components/multi-string-field.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,MAAM,EACN,KAAK,GACN,EAAE,qBAAqB,2CAqGvB"}
@@ -0,0 +1,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":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAGnF,gFAAgF;AAChF,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAiBrE"}
@@ -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"}
@@ -74,4 +74,6 @@ export interface BaseFieldProps<T = unknown, InputValue = T> {
74
74
  */
75
75
  validate?: FieldValidator;
76
76
  }
77
+ /** Declarative field configuration derived from BaseFieldProps, excluding runtime-only concerns. */
78
+ export type SharedFieldConfig<T = unknown, InputValue = T> = Pick<BaseFieldProps<T, InputValue>, 'label' | 'required' | 'disabled' | 'readOnly' | 'placeholder' | 'description' | 'caption' | 'defaultValue' | 'initialValue' | 'parse' | 'format'>;
77
79
  //# 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,CAAC;IAEf;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,CAAC;IAEjB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,CAAC;IAEjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;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"}
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,CAAC;IAEf;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,CAAC;IAEjB;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,CAAC;IAEjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;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,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"array-form-group.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/array-form-group/array-form-group.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,cAAc,CAAC,EAC7B,aAAa,EACb,UAAU,EACV,QAAQ,EAAE,YAAY,EACtB,QAAY,EACZ,QAAgB,EAChB,QAAQ,EACR,WAAW,EACX,OAAO,EACP,WAAW,GACZ,EAAE,mBAAmB,2CA6CrB"}
1
+ {"version":3,"file":"array-form-group.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/array-form-group/array-form-group.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,cAAc,CAAC,EAC7B,aAAa,EACb,UAAU,EACV,QAAQ,EAAE,YAAY,EACtB,QAAY,EACZ,QAAgB,EAChB,QAAQ,EACR,WAAW,EACX,OAAO,EACP,WAAW,GACZ,EAAE,mBAAmB,2CA8CrB"}
@@ -1,5 +1,10 @@
1
1
  import type { ReactNode } from 'react';
2
+ import type { LayoutItem } from '../../../../components/form/types/config-types';
2
3
  export interface FormGridProps {
3
4
  children: ReactNode;
4
5
  }
6
+ export type FormGridLayoutConfig = {
7
+ type: 'grid';
8
+ items: LayoutItem[];
9
+ };
5
10
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/form-grid/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/form-grid/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { BoxOverrides } from '../../../../components/box/types';
3
+ import type { LayoutItem } from '../../../../components/form/types/config-types';
3
4
  interface FormGroupBaseProps {
4
5
  title?: string;
5
6
  /** Text displayed below title, **Markdown supported** */
@@ -26,5 +27,10 @@ interface CollapsibleFormGroupProps extends FormGroupBaseProps {
26
27
  onToggle?: (expanded: boolean) => void;
27
28
  }
28
29
  export type FormGroupProps = StaticFormGroupProps | CollapsibleFormGroupProps;
30
+ export type FormGroupLayoutConfig = Pick<FormGroupBaseProps, 'title' | 'description' | 'tooltip'> & {
31
+ type: 'group';
32
+ collapsible?: boolean;
33
+ items: LayoutItem[];
34
+ };
29
35
  export {};
30
36
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/form-group/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/D,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,wDAAwD;IACxD,SAAS,CAAC,EAAE,YAAY,CAAC;IAEzB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,UAAU,oBAAqB,SAAQ,kBAAkB;IACvD,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,yBAA0B,SAAQ,kBAAkB;IAC5D,wDAAwD;IACxD,WAAW,EAAE,IAAI,CAAC;IAElB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,yBAAyB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/form-group/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,yDAAyD;IACzD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,+DAA+D;IAC/D,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB,wDAAwD;IACxD,SAAS,CAAC,EAAE,YAAY,CAAC;IAEzB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,UAAU,oBAAqB,SAAQ,kBAAkB;IACvD,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,yBAA0B,SAAQ,kBAAkB;IAC5D,wDAAwD;IACxD,WAAW,EAAE,IAAI,CAAC;IAElB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC;AAED,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;AAE9E,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,kBAAkB,EAClB,OAAO,GAAG,aAAa,GAAG,SAAS,CACpC,GAAG;IACF,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
+ import type { LayoutItem } from '../../../../components/form/types/config-types';
2
3
  export interface FormRowProps {
3
4
  /** Optional row label */
4
5
  name?: string;
@@ -10,4 +11,8 @@ export interface FormRowProps {
10
11
  span?: number[];
11
12
  children: ReactNode;
12
13
  }
14
+ export type FormRowLayoutConfig = Pick<FormRowProps, 'name' | 'span'> & {
15
+ type: 'row';
16
+ items: LayoutItem[];
17
+ };
13
18
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/form-row/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;CACrB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/form-row/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,MAAM,WAAW,YAAY;IAC3B,yBAAyB;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG;IACtE,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { FieldConfig, LayoutItem } from '../../../components/form/types/config-types';
2
+ /** Renders a list of layout items — strings become fields, objects become layout components. */
3
+ export declare function LayoutItemList({ items, fields, }: {
4
+ items: LayoutItem[];
5
+ /** Field configs keyed by path — untyped since layouts are structural and don't depend on the data shape. */
6
+ fields: Record<string, FieldConfig | undefined>;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=layout-item-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-item-list.d.ts","sourceRoot":"","sources":["../../../../components/form/layout/layout-item-list.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAExF,gGAAgG;AAChG,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,MAAM,GACP,EAAE;IACD,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,6GAA6G;IAC7G,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,CAAC,CAAC;CACjD,2CAWA"}
@@ -0,0 +1,7 @@
1
+ import type { FieldConfig, LayoutConfig } from '../../../components/form/types/config-types';
2
+ /** Renders a layout config by dispatching to the matching layout component. */
3
+ export declare function LayoutRenderer({ config, fields, }: {
4
+ config: LayoutConfig;
5
+ fields: Record<string, FieldConfig | undefined>;
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=layout-renderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout-renderer.d.ts","sourceRoot":"","sources":["../../../../components/form/layout/layout-renderer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAE1F,+EAA+E;AAC/E,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,MAAM,GACP,EAAE;IACD,MAAM,EAAE,YAAY,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,SAAS,CAAC,CAAC;CACjD,2CAwBA"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { ArrayFieldOptions } from '../../../components/form/types';
2
+ import type { ArrayFieldOptions } from '../../../components/form/types/form-types';
3
3
  export interface ArrayLayoutProps extends ArrayFieldOptions {
4
4
  /**
5
5
  * Dot-notation path to the root field of the array layout.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/form/layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;;;;OASG;IACH,QAAQ,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CAClE"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/form/layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD;;;;;;OAMG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;;;;;;;OASG;IACH,QAAQ,EAAE,CAAC,gBAAgB,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;CAClE"}
@@ -0,0 +1,56 @@
1
+ import type { ComponentType } from 'react';
2
+ import type { StringFieldConfig } from '../../../components/form/fields/string/types';
3
+ import type { SharedFieldConfig } from '../../../components/form/fields/types';
4
+ import type { FormGridLayoutConfig } from '../../../components/form/layout/form-grid/types';
5
+ import type { FormGroupLayoutConfig } from '../../../components/form/layout/form-group/types';
6
+ import type { FormRowLayoutConfig } from '../../../components/form/layout/form-row/types';
7
+ /**
8
+ * Declarative form configuration that defines fields and their layout.
9
+ * Generic `T` constrains field keys and value types (defaultValue, parse, format)
10
+ * to match the form's data shape.
11
+ */
12
+ export type FormConfig<T extends Record<string, unknown> = Record<string, unknown>> = {
13
+ fields: {
14
+ [K in keyof T]?: FieldConfig<T[K]>;
15
+ };
16
+ layout: LayoutItem[];
17
+ };
18
+ /** Union of all field config types — built-in and consumer-extended. */
19
+ export type FieldConfig<T = unknown> = BuiltinFieldConfig | (SharedFieldConfig<T> & {
20
+ type: string;
21
+ });
22
+ /** A layout entry — either a layout config or a field path string. */
23
+ export type LayoutItem = LayoutConfig | string;
24
+ /** Union of layout types that the form engine renders. */
25
+ export type LayoutConfig = FormGroupLayoutConfig | FormRowLayoutConfig | FormGridLayoutConfig;
26
+ /** Union of all field config types implemented by packages/core. */
27
+ export type BuiltinFieldConfig = StringFieldConfig;
28
+ /**
29
+ * Module-augmentation extension point for consumer field configs.
30
+ *
31
+ * @example
32
+ * ```ts
33
+ * declare module '@michelangelo-ai/core' {
34
+ * interface FieldConfigExtensions {
35
+ * 'select-hive': { type: 'select-hive'; cluster: string };
36
+ * }
37
+ * }
38
+ * ```
39
+ */
40
+ export interface FieldConfigExtensions {
41
+ }
42
+ /** Enumerates the built-in field types available in the config-driven form system. */
43
+ export declare enum FieldType {
44
+ /**
45
+ * @description Renders a single-line **Input** or, with `multi: true`, a **Tag input** for multiple values
46
+ */
47
+ STRING = "string"
48
+ }
49
+ /** Props passed to a field renderer by the config-driven form system. */
50
+ export type FieldRendererProps = {
51
+ name: string;
52
+ config: FieldConfig;
53
+ };
54
+ /** A React component that renders a form field from its config. */
55
+ export type FieldRenderer = ComponentType<FieldRendererProps>;
56
+ //# sourceMappingURL=config-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-types.d.ts","sourceRoot":"","sources":["../../../../components/form/types/config-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACzF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAEvF;;;;GAIG;AACH,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI;IACpF,MAAM,EAAE;SAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KAAE,CAAC;IAC/C,MAAM,EAAE,UAAU,EAAE,CAAC;CACtB,CAAC;AAEF,wEAAwE;AACxE,MAAM,MAAM,WAAW,CAAC,CAAC,GAAG,OAAO,IAC/B,kBAAkB,GAClB,CAAC,iBAAiB,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAE9C,sEAAsE;AACtE,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;AAE/C,0DAA0D;AAC1D,MAAM,MAAM,YAAY,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAE9F,oEAAoE;AACpE,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AAEnD;;;;;;;;;;;GAWG;AAEH,MAAM,WAAW,qBAAqB;CAAG;AAEzC,sFAAsF;AACtF,oBAAY,SAAS;IACnB;;OAEG;IACH,MAAM,WAAW;CAClB;AAED,yEAAyE;AACzE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,mEAAmE;AACnE,MAAM,MAAM,aAAa,GAAG,aAAa,CAAC,kBAAkB,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { FORM_ERROR } from 'final-form';
2
- import type { DeepPartial } from '../../types/utility-types';
2
+ import type { DeepPartial } from '../../../types/utility-types';
3
3
  export type FormData = Record<string, unknown>;
4
4
  export interface FormProps<FieldValues extends FormData = FormData> {
5
5
  onSubmit: (values: FieldValues) => void | object | Promise<object>;
@@ -116,4 +116,4 @@ export interface ArrayFieldOptions {
116
116
  minItems?: number;
117
117
  readOnly?: boolean;
118
118
  }
119
- //# sourceMappingURL=types.d.ts.map
119
+ //# sourceMappingURL=form-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-types.d.ts","sourceRoot":"","sources":["../../../../components/form/types/form-types.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=links-box.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links-box.test.d.ts","sourceRoot":"","sources":["../../../../components/links-box/__tests__/links-box.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { LinksBoxProps } from './types';
2
+ /**
3
+ * Renders a titled box with a row of related links. Links missing a name or
4
+ * url are skipped.
5
+ */
6
+ export declare function LinksBox(props: LinksBoxProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=links-box.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links-box.d.ts","sourceRoot":"","sources":["../../../components/links-box/links-box.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C;;;GAGG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAO5C"}
@@ -0,0 +1,4 @@
1
+ import type { LinkCellConfig } from '../../components/cell/renderers/link/types';
2
+ import type { LinkConfig } from './types';
3
+ export declare function mapLinkConfigToColumnConfig(links: LinkConfig[]): LinkCellConfig[];
4
+ //# sourceMappingURL=map-link-config-to-column-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map-link-config-to-column-config.d.ts","sourceRoot":"","sources":["../../../components/links-box/map-link-config-to-column-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,UAAU,EAAE,GAAG,cAAc,EAAE,CASjF"}
@@ -0,0 +1,11 @@
1
+ import type { CellTooltip } from '../../components/cell/types';
2
+ export type LinksBoxProps = {
3
+ links: LinkConfig[];
4
+ title: string;
5
+ };
6
+ export type LinkConfig = {
7
+ url?: string;
8
+ name?: string;
9
+ tooltip?: CellTooltip;
10
+ };
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/links-box/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE/D,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,WAAW,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=message-container.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-container.test.d.ts","sourceRoot":"","sources":["../../../../components/message-container/__tests__/message-container.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { MessageContainerProps } from './types';
2
+ /**
3
+ * Displays a status or diagnostic message with level-based background coloring
4
+ * (error, warning, or informational). Message content is rendered as markdown.
5
+ */
6
+ export declare function MessageContainer(props: MessageContainerProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=message-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-container.d.ts","sourceRoot":"","sources":["../../../components/message-container/message-container.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,2CAa5D"}
@@ -0,0 +1,6 @@
1
+ import { MessageLevel } from './types';
2
+ export declare const StyledRoot: import("styletron-react").StyletronComponent<"div", {
3
+ $level: MessageLevel;
4
+ }>;
5
+ export declare const StyledContent: import("styletron-react").StyletronComponent<"div", {}>;
6
+ //# sourceMappingURL=styled-components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../components/message-container/styled-components.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAIvC,eAAO,MAAM,UAAU;YAA2B,YAAY;EAU3D,CAAC;AAaJ,eAAO,MAAM,aAAa,yDAEvB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { Override } from 'baseui/overrides';
2
+ export declare enum MessageLevel {
3
+ ERROR = 0,
4
+ WARNING = 1,
5
+ INFO = 2
6
+ }
7
+ export type MessageContainerProps = {
8
+ message: string;
9
+ level?: MessageLevel;
10
+ overrides?: MessageContainerOverrides;
11
+ };
12
+ type MessageContainerOverrides = {
13
+ Root?: Override;
14
+ Content?: Override;
15
+ };
16
+ export {};
17
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/message-container/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,oBAAY,YAAY;IACtB,KAAK,IAAA;IACL,OAAO,IAAA;IACP,IAAI,IAAA;CACL;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,yBAAyB,CAAC;CACvC,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC"}
@@ -15,8 +15,6 @@ export type RowCell = Cell & {
15
15
  * In the "Triggers" metadata row, some columns (i.e. 'Max concurrency') need
16
16
  * to be hidden when their value is empty.
17
17
  *
18
- * @see: https://t3.uberinternal.com/browse/MA-36479
19
- *
20
18
  * @default false
21
19
  */
22
20
  hideEmpty?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/row/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG;IAC3B;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/row/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG;IAC3B;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=model-page.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model-page.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/model/__tests__/model-page.test.tsx"],"names":[],"mappings":""}