@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.
- package/dist/components/breadcrumb-bar/menu-drawer.d.ts.map +1 -1
- package/dist/components/breadcrumb-bar/phase-entity-list.d.ts.map +1 -1
- package/dist/components/form/__tests__/config-driven-form.test.d.ts +2 -0
- package/dist/components/form/__tests__/config-driven-form.test.d.ts.map +1 -0
- package/dist/components/form/components/form-dialog/form-dialog.d.ts +1 -1
- package/dist/components/form/components/form-dialog/form-dialog.d.ts.map +1 -1
- package/dist/components/form/components/form-dialog/types.d.ts +1 -1
- package/dist/components/form/components/form-dialog/types.d.ts.map +1 -1
- package/dist/components/form/components/form-error-banner/use-form-error-list.d.ts.map +1 -1
- package/dist/components/form/config-driven-form.d.ts +24 -0
- package/dist/components/form/config-driven-form.d.ts.map +1 -0
- package/dist/components/form/constants.d.ts +4 -0
- package/dist/components/form/constants.d.ts.map +1 -0
- package/dist/components/form/fields/boolean/schema-boolean-field.d.ts +3 -0
- package/dist/components/form/fields/boolean/schema-boolean-field.d.ts.map +1 -0
- package/dist/components/form/fields/boolean/types.d.ts +4 -1
- package/dist/components/form/fields/boolean/types.d.ts.map +1 -1
- package/dist/components/form/fields/checkbox/schema-checkbox-field.d.ts +3 -0
- package/dist/components/form/fields/checkbox/schema-checkbox-field.d.ts.map +1 -0
- package/dist/components/form/fields/checkbox/types.d.ts +4 -1
- package/dist/components/form/fields/checkbox/types.d.ts.map +1 -1
- package/dist/components/form/fields/date/schema-date-field.d.ts +3 -0
- package/dist/components/form/fields/date/schema-date-field.d.ts.map +1 -0
- package/dist/components/form/fields/date/types.d.ts +4 -1
- package/dist/components/form/fields/date/types.d.ts.map +1 -1
- package/dist/components/form/fields/map/schema-map-field.d.ts +3 -0
- package/dist/components/form/fields/map/schema-map-field.d.ts.map +1 -0
- package/dist/components/form/fields/map/types.d.ts +4 -1
- package/dist/components/form/fields/map/types.d.ts.map +1 -1
- package/dist/components/form/fields/markdown/schema-markdown-field.d.ts +3 -0
- package/dist/components/form/fields/markdown/schema-markdown-field.d.ts.map +1 -0
- package/dist/components/form/fields/markdown/types.d.ts +4 -1
- package/dist/components/form/fields/markdown/types.d.ts.map +1 -1
- package/dist/components/form/fields/number/schema-number-field.d.ts +3 -0
- package/dist/components/form/fields/number/schema-number-field.d.ts.map +1 -0
- package/dist/components/form/fields/number/types.d.ts +6 -0
- package/dist/components/form/fields/number/types.d.ts.map +1 -0
- package/dist/components/form/fields/radio/schema-radio-field.d.ts +3 -0
- package/dist/components/form/fields/radio/schema-radio-field.d.ts.map +1 -0
- package/dist/components/form/fields/radio/types.d.ts +4 -1
- package/dist/components/form/fields/radio/types.d.ts.map +1 -1
- package/dist/components/form/fields/schema-field.d.ts +12 -0
- package/dist/components/form/fields/schema-field.d.ts.map +1 -0
- package/dist/components/form/fields/select/schema-select-field.d.ts +3 -0
- package/dist/components/form/fields/select/schema-select-field.d.ts.map +1 -0
- package/dist/components/form/fields/select/types.d.ts +11 -1
- package/dist/components/form/fields/select/types.d.ts.map +1 -1
- package/dist/components/form/fields/string/schema-string-field.d.ts +4 -0
- package/dist/components/form/fields/string/schema-string-field.d.ts.map +1 -0
- package/dist/components/form/fields/string/types.d.ts +10 -0
- package/dist/components/form/fields/string/types.d.ts.map +1 -1
- package/dist/components/form/fields/textarea/schema-textarea-field.d.ts +3 -0
- package/dist/components/form/fields/textarea/schema-textarea-field.d.ts.map +1 -0
- package/dist/components/form/fields/textarea/types.d.ts +4 -1
- package/dist/components/form/fields/textarea/types.d.ts.map +1 -1
- package/dist/components/form/fields/types.d.ts +5 -0
- package/dist/components/form/fields/types.d.ts.map +1 -1
- package/dist/components/form/fields/url/schema-url-field.d.ts +3 -0
- package/dist/components/form/fields/url/schema-url-field.d.ts.map +1 -0
- package/dist/components/form/fields/url/types.d.ts +4 -1
- package/dist/components/form/fields/url/types.d.ts.map +1 -1
- package/dist/components/form/form-context.d.ts +1 -1
- package/dist/components/form/form-context.d.ts.map +1 -1
- package/dist/components/form/form.d.ts +1 -1
- package/dist/components/form/form.d.ts.map +1 -1
- package/dist/components/form/hooks/use-array-field.d.ts +1 -1
- package/dist/components/form/hooks/use-array-field.d.ts.map +1 -1
- package/dist/components/form/hooks/use-field-renderer.d.ts +7 -0
- package/dist/components/form/hooks/use-field-renderer.d.ts.map +1 -0
- package/dist/components/form/hooks/use-field.d.ts +1 -1
- package/dist/components/form/hooks/use-field.d.ts.map +1 -1
- package/dist/components/form/hooks/use-form-state.d.ts +1 -1
- package/dist/components/form/hooks/use-form-state.d.ts.map +1 -1
- package/dist/components/form/hooks/use-form.d.ts +1 -1
- package/dist/components/form/hooks/use-form.d.ts.map +1 -1
- package/dist/components/form/layout/condition/__tests__/evaluate-condition.test.d.ts +2 -0
- package/dist/components/form/layout/condition/__tests__/evaluate-condition.test.d.ts.map +1 -0
- package/dist/components/form/layout/condition/__tests__/form-condition.test.d.ts +2 -0
- package/dist/components/form/layout/condition/__tests__/form-condition.test.d.ts.map +1 -0
- package/dist/components/form/layout/condition/evaluate-condition.d.ts +4 -0
- package/dist/components/form/layout/condition/evaluate-condition.d.ts.map +1 -0
- package/dist/components/form/layout/condition/form-condition.d.ts +10 -0
- package/dist/components/form/layout/condition/form-condition.d.ts.map +1 -0
- package/dist/components/form/layout/condition/types.d.ts +36 -0
- package/dist/components/form/layout/condition/types.d.ts.map +1 -0
- package/dist/components/form/layout/form-grid/types.d.ts +5 -0
- package/dist/components/form/layout/form-grid/types.d.ts.map +1 -1
- package/dist/components/form/layout/form-group/types.d.ts +6 -0
- package/dist/components/form/layout/form-group/types.d.ts.map +1 -1
- package/dist/components/form/layout/form-row/types.d.ts +5 -0
- package/dist/components/form/layout/form-row/types.d.ts.map +1 -1
- package/dist/components/form/layout/layout-item-list.d.ts +8 -0
- package/dist/components/form/layout/layout-item-list.d.ts.map +1 -0
- package/dist/components/form/layout/layout-renderer.d.ts +7 -0
- package/dist/components/form/layout/layout-renderer.d.ts.map +1 -0
- package/dist/components/form/layout/types.d.ts +1 -1
- package/dist/components/form/layout/types.d.ts.map +1 -1
- package/dist/components/form/types/config-types.d.ts +132 -0
- package/dist/components/form/types/config-types.d.ts.map +1 -0
- package/dist/components/form/{types.d.ts → types/form-types.d.ts} +2 -2
- package/dist/components/form/types/form-types.d.ts.map +1 -0
- package/dist/components/form/utils/__tests__/delete-by-path.test.d.ts +2 -0
- package/dist/components/form/utils/__tests__/delete-by-path.test.d.ts.map +1 -0
- package/dist/components/form/utils/__tests__/filter-hidden-condition-fields.test.d.ts +2 -0
- package/dist/components/form/utils/__tests__/filter-hidden-condition-fields.test.d.ts.map +1 -0
- package/dist/components/form/utils/__tests__/is-empty-field-value.test.d.ts +2 -0
- package/dist/components/form/utils/__tests__/is-empty-field-value.test.d.ts.map +1 -0
- package/dist/components/form/utils/delete-by-path.d.ts +6 -0
- package/dist/components/form/utils/delete-by-path.d.ts.map +1 -0
- package/dist/components/form/utils/filter-hidden-condition-fields.d.ts +11 -0
- package/dist/components/form/utils/filter-hidden-condition-fields.d.ts.map +1 -0
- package/dist/components/form/utils/is-empty-field-value.d.ts +2 -0
- package/dist/components/form/utils/is-empty-field-value.d.ts.map +1 -0
- package/dist/components/form/validation/resolve-validation.d.ts +4 -0
- package/dist/components/form/validation/resolve-validation.d.ts.map +1 -0
- package/dist/components/links-box/types.d.ts +1 -0
- package/dist/components/links-box/types.d.ts.map +1 -1
- package/dist/components/navigation-bar/navigation-bar.d.ts +2 -1
- package/dist/components/navigation-bar/navigation-bar.d.ts.map +1 -1
- package/dist/components/signpost/signpost.d.ts +3 -0
- package/dist/components/signpost/signpost.d.ts.map +1 -0
- package/dist/components/signpost/styled-components.d.ts +2 -0
- package/dist/components/signpost/styled-components.d.ts.map +1 -0
- package/dist/components/{error-view → signpost}/types.d.ts +1 -1
- package/dist/components/signpost/types.d.ts.map +1 -0
- package/dist/components/views/phase-entity-view/entity-table.d.ts +1 -1
- package/dist/components/views/phase-entity-view/entity-table.d.ts.map +1 -1
- package/dist/components/views/phase-entity-view/phase-entity-view.d.ts.map +1 -1
- package/dist/components/views/phase-entity-view/types.d.ts +6 -0
- package/dist/components/views/phase-entity-view/types.d.ts.map +1 -1
- package/dist/components/views/phase-entity-view/utils/inject-list-options.d.ts +8 -0
- package/dist/components/views/phase-entity-view/utils/inject-list-options.d.ts.map +1 -0
- package/dist/components/views/project/components/phase-card.d.ts.map +1 -1
- package/dist/components/views/project/project-detail.d.ts.map +1 -1
- package/dist/components/views/sandbox/sandbox.d.ts.map +1 -1
- package/dist/config/entities/deployment/deployment-info-page.d.ts +5 -0
- package/dist/config/entities/deployment/deployment-info-page.d.ts.map +1 -0
- package/dist/config/entities/deployment/deployment-revision-card.d.ts +14 -0
- package/dist/config/entities/deployment/deployment-revision-card.d.ts.map +1 -0
- package/dist/config/entities/deployment/detail.d.ts.map +1 -1
- package/dist/config/entities/deployment/shared.d.ts +8 -0
- package/dist/config/entities/deployment/shared.d.ts.map +1 -1
- package/dist/config/entities/deployment/types.d.ts +39 -0
- package/dist/config/entities/deployment/types.d.ts.map +1 -0
- package/dist/config/entities/model/__tests__/model-page.test.d.ts +2 -0
- package/dist/config/entities/model/__tests__/model-page.test.d.ts.map +1 -0
- package/dist/config/entities/model/constants.d.ts +25 -0
- package/dist/config/entities/model/constants.d.ts.map +1 -0
- package/dist/config/entities/model/list.d.ts.map +1 -1
- package/dist/config/entities/pipeline/__tests__/pipeline.test.d.ts +2 -0
- package/dist/config/entities/pipeline/__tests__/pipeline.test.d.ts.map +1 -0
- package/dist/config/entities/pipeline/pipeline.d.ts.map +1 -1
- package/dist/config/phases/data.d.ts.map +1 -1
- package/dist/config/phases/deploy.d.ts.map +1 -1
- package/dist/config/phases/monitor-debug.d.ts +3 -0
- package/dist/config/phases/monitor-debug.d.ts.map +1 -0
- package/dist/config/phases/phases.d.ts +2 -0
- package/dist/config/phases/phases.d.ts.map +1 -1
- package/dist/config/phases/retrain.d.ts +3 -0
- package/dist/config/phases/retrain.d.ts.map +1 -0
- package/dist/config/phases/train.d.ts.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/interpolation/types.d.ts +0 -4
- package/dist/interpolation/types.d.ts.map +1 -1
- package/dist/michelangelo-core.cjs +16 -16
- package/dist/michelangelo-core.js +22295 -21756
- package/dist/primitives.cjs +1 -1
- package/dist/primitives.d.ts +2 -0
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +25 -24
- package/dist/providers/form-provider/form-context.d.ts +3 -0
- package/dist/providers/form-provider/form-context.d.ts.map +1 -0
- package/dist/providers/form-provider/form-provider.d.ts +21 -0
- package/dist/providers/form-provider/form-provider.d.ts.map +1 -0
- package/dist/providers/form-provider/types.d.ts +25 -0
- package/dist/providers/form-provider/types.d.ts.map +1 -0
- package/dist/providers/form-provider/use-form-provider.d.ts +15 -0
- package/dist/providers/form-provider/use-form-provider.d.ts.map +1 -0
- package/dist/router/router.d.ts.map +1 -1
- package/dist/test/wrappers/get-form-provider-wrapper.d.ts +1 -1
- package/dist/test/wrappers/get-form-provider-wrapper.d.ts.map +1 -1
- package/dist/{theme-provider-BNyeUTHs.js → theme-provider-Ba4vmtVx.js} +5911 -5657
- package/dist/theme-provider-H-LNQYdH.cjs +303 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/common/studio-types.d.ts +6 -0
- package/dist/types/common/studio-types.d.ts.map +1 -1
- package/dist/utils/__tests__/crd-utils.test.d.ts +2 -0
- package/dist/utils/__tests__/crd-utils.test.d.ts.map +1 -0
- package/dist/utils/__tests__/environment-utils.test.d.ts +2 -0
- package/dist/utils/__tests__/environment-utils.test.d.ts.map +1 -0
- package/dist/utils/crd-utils.d.ts +32 -0
- package/dist/utils/crd-utils.d.ts.map +1 -0
- package/dist/utils/environment-utils.d.ts +18 -0
- package/dist/utils/environment-utils.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/components/error-view/error-view.d.ts +0 -3
- package/dist/components/error-view/error-view.d.ts.map +0 -1
- package/dist/components/error-view/styled-components.d.ts +0 -2
- package/dist/components/error-view/styled-components.d.ts.map +0 -1
- package/dist/components/error-view/types.d.ts.map +0 -1
- package/dist/components/form/types.d.ts.map +0 -1
- package/dist/theme-provider-BEQVBa23.cjs +0 -303
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-condition.test.d.ts","sourceRoot":"","sources":["../../../../../../components/form/layout/condition/__tests__/form-condition.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ConditionLayoutConfig } from './types';
|
|
2
|
+
/** Evaluates whether a condition layout's `items` should be visible for the given field value. */
|
|
3
|
+
export declare function evaluateCondition(layout: ConditionLayoutConfig, value: unknown): boolean;
|
|
4
|
+
//# sourceMappingURL=evaluate-condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluate-condition.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/condition/evaluate-condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,kGAAkG;AAClG,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,qBAAqB,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAoBxF"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ConditionLayoutConfig } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* Renders `children` when `layout` evaluates to true against the current form state.
|
|
5
|
+
*/
|
|
6
|
+
export declare function FormCondition({ layout, children, }: {
|
|
7
|
+
layout: ConditionLayoutConfig;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
//# sourceMappingURL=form-condition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-condition.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/condition/form-condition.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,QAAQ,GACT,EAAE;IACD,MAAM,EAAE,qBAAqB,CAAC;IAC9B,QAAQ,EAAE,SAAS,CAAC;CACrB,kDAIA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { LayoutItem } from '../../../../components/form/types/config-types';
|
|
2
|
+
type BaseConditionLayoutConfig = {
|
|
3
|
+
type: 'condition';
|
|
4
|
+
when: string;
|
|
5
|
+
items: LayoutItem[];
|
|
6
|
+
};
|
|
7
|
+
/** Renders `items` only when the `when` field's value strictly equals `is`. */
|
|
8
|
+
type LiteralCondition = BaseConditionLayoutConfig & {
|
|
9
|
+
is: unknown;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Renders `items` when the `when` field's value differs from `isNot`.
|
|
13
|
+
*
|
|
14
|
+
* An empty value is treated as "not yet determined" and is also hidden, even
|
|
15
|
+
* though it technically differs from `isNot` — this avoids flashing content
|
|
16
|
+
* before the user has made a choice.
|
|
17
|
+
*/
|
|
18
|
+
type NegationCondition = BaseConditionLayoutConfig & {
|
|
19
|
+
isNot: unknown;
|
|
20
|
+
};
|
|
21
|
+
/** Renders `items` based on whether the `when` field's value is empty (null/undefined/''/[]). */
|
|
22
|
+
type EmptyCondition = BaseConditionLayoutConfig & {
|
|
23
|
+
isEmpty: boolean;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Renders `items` when the `when` field's value overlaps with `containsAny`.
|
|
27
|
+
*
|
|
28
|
+
* If the field value is an array, membership is checked against each of its
|
|
29
|
+
* elements; otherwise the scalar value itself is checked for membership.
|
|
30
|
+
*/
|
|
31
|
+
type ContainsAnyCondition = BaseConditionLayoutConfig & {
|
|
32
|
+
containsAny: unknown[];
|
|
33
|
+
};
|
|
34
|
+
export type ConditionLayoutConfig = LiteralCondition | NegationCondition | EmptyCondition | ContainsAnyCondition;
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../components/form/layout/condition/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,KAAK,yBAAyB,GAAG;IAC/B,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB,CAAC;AAEF,+EAA+E;AAC/E,KAAK,gBAAgB,GAAG,yBAAyB,GAAG;IAAE,EAAE,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpE;;;;;;GAMG;AACH,KAAK,iBAAiB,GAAG,yBAAyB,GAAG;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,CAAC;AAExE,iGAAiG;AACjG,KAAK,cAAc,GAAG,yBAAyB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC;AAEvE;;;;;GAKG;AACH,KAAK,oBAAoB,GAAG,yBAAyB,GAAG;IAAE,WAAW,EAAE,OAAO,EAAE,CAAA;CAAE,CAAC;AAEnF,MAAM,MAAM,qBAAqB,GAC7B,gBAAgB,GAChB,iBAAiB,GACjB,cAAc,GACd,oBAAoB,CAAC"}
|
|
@@ -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;
|
|
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;
|
|
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;
|
|
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":"AAMA,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,2CA0BA"}
|
|
@@ -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,
|
|
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,132 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { BooleanFieldConfig } from '../../../components/form/fields/boolean/types';
|
|
3
|
+
import type { CheckboxFieldConfig } from '../../../components/form/fields/checkbox/types';
|
|
4
|
+
import type { DateFieldConfig } from '../../../components/form/fields/date/types';
|
|
5
|
+
import type { MapFieldConfig } from '../../../components/form/fields/map/types';
|
|
6
|
+
import type { MarkdownFieldConfig } from '../../../components/form/fields/markdown/types';
|
|
7
|
+
import type { NumberFieldConfig } from '../../../components/form/fields/number/types';
|
|
8
|
+
import type { RadioFieldConfig } from '../../../components/form/fields/radio/types';
|
|
9
|
+
import type { SelectFieldConfig } from '../../../components/form/fields/select/types';
|
|
10
|
+
import type { StringFieldConfig } from '../../../components/form/fields/string/types';
|
|
11
|
+
import type { TextareaFieldConfig } from '../../../components/form/fields/textarea/types';
|
|
12
|
+
import type { SharedFieldConfig } from '../../../components/form/fields/types';
|
|
13
|
+
import type { UrlFieldConfig } from '../../../components/form/fields/url/types';
|
|
14
|
+
import type { ConditionLayoutConfig } from '../../../components/form/layout/condition/types';
|
|
15
|
+
import type { FormGridLayoutConfig } from '../../../components/form/layout/form-grid/types';
|
|
16
|
+
import type { FormGroupLayoutConfig } from '../../../components/form/layout/form-group/types';
|
|
17
|
+
import type { FormRowLayoutConfig } from '../../../components/form/layout/form-row/types';
|
|
18
|
+
/**
|
|
19
|
+
* Declarative form configuration that defines fields and their layout.
|
|
20
|
+
* Generic `T` constrains field keys and value types (defaultValue, parse, format)
|
|
21
|
+
* to match the form's data shape.
|
|
22
|
+
*/
|
|
23
|
+
export type FormConfig<T extends Record<string, unknown> = Record<string, unknown>> = {
|
|
24
|
+
fields: {
|
|
25
|
+
[K in keyof T]?: FieldConfig<T[K]>;
|
|
26
|
+
};
|
|
27
|
+
layout: LayoutItem[];
|
|
28
|
+
};
|
|
29
|
+
/** Union of all field config types — built-in and consumer-extended. */
|
|
30
|
+
export type FieldConfig<T = unknown> = BuiltinFieldConfig | (SharedFieldConfig<T> & {
|
|
31
|
+
type: string;
|
|
32
|
+
});
|
|
33
|
+
/** A layout entry — either a layout config or a field path string. */
|
|
34
|
+
export type LayoutItem = LayoutConfig | string;
|
|
35
|
+
/** Union of layout types that the form engine renders. */
|
|
36
|
+
export type LayoutConfig = FormGroupLayoutConfig | FormRowLayoutConfig | FormGridLayoutConfig | ConditionLayoutConfig;
|
|
37
|
+
/** Union of all field config types implemented by packages/core. */
|
|
38
|
+
export type BuiltinFieldConfig = StringFieldConfig | NumberFieldConfig | BooleanFieldConfig | SelectFieldConfig | CheckboxFieldConfig | RadioFieldConfig | DateFieldConfig | TextareaFieldConfig | UrlFieldConfig | MapFieldConfig | MarkdownFieldConfig;
|
|
39
|
+
/**
|
|
40
|
+
* Module-augmentation extension point for consumer field configs.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* declare module '@michelangelo-ai/core' {
|
|
45
|
+
* interface FieldConfigExtensions {
|
|
46
|
+
* 'select-hive': { type: 'select-hive'; cluster: string };
|
|
47
|
+
* }
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export interface FieldConfigExtensions {
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Declarative validation config that maps to the built-in validators in `validation/validators.ts`.
|
|
55
|
+
* Each key resolves to its corresponding validator factory via `resolveValidation`.
|
|
56
|
+
*/
|
|
57
|
+
export type BuiltinFieldValidation = {
|
|
58
|
+
regex?: {
|
|
59
|
+
pattern: string | RegExp;
|
|
60
|
+
errorMessage?: string;
|
|
61
|
+
};
|
|
62
|
+
min?: number;
|
|
63
|
+
max?: number;
|
|
64
|
+
minLength?: number;
|
|
65
|
+
maxLength?: number;
|
|
66
|
+
url?: {
|
|
67
|
+
errorMessage?: string;
|
|
68
|
+
} | boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* Full validation config combining declarative rules with an optional custom validator.
|
|
72
|
+
* Declarative rules are resolved first; the custom `validate` function runs last.
|
|
73
|
+
*/
|
|
74
|
+
export type FieldValidation = BuiltinFieldValidation & {
|
|
75
|
+
/** Custom validator that runs after all declarative rules. */
|
|
76
|
+
validate?: (value: unknown) => string | undefined;
|
|
77
|
+
};
|
|
78
|
+
/** Enumerates the built-in field types available in the config-driven form system. */
|
|
79
|
+
export declare enum FieldType {
|
|
80
|
+
/**
|
|
81
|
+
* @description Renders a single-line **Input** or, with `multi: true`, a **Tag input** for multiple values
|
|
82
|
+
*/
|
|
83
|
+
STRING = "string",
|
|
84
|
+
/**
|
|
85
|
+
* @description Renders a numeric **Input** (`type="number"`)
|
|
86
|
+
*/
|
|
87
|
+
NUMBER = "number",
|
|
88
|
+
/**
|
|
89
|
+
* @description Renders a **Checkbox** or, with `toggle: true`, a **Toggle** switch
|
|
90
|
+
*/
|
|
91
|
+
BOOLEAN = "boolean",
|
|
92
|
+
/**
|
|
93
|
+
* @description Renders a **Select** dropdown with searchable options
|
|
94
|
+
*/
|
|
95
|
+
SELECT = "select",
|
|
96
|
+
/**
|
|
97
|
+
* @description Renders a **CheckboxGroup** for multiple selections
|
|
98
|
+
*/
|
|
99
|
+
CHECKBOX = "checkbox",
|
|
100
|
+
/**
|
|
101
|
+
* @description Renders a **RadioGroup** for single selection
|
|
102
|
+
*/
|
|
103
|
+
RADIO = "radio",
|
|
104
|
+
/**
|
|
105
|
+
* @description Renders a **DatePicker** with calendar popover
|
|
106
|
+
*/
|
|
107
|
+
DATE = "date",
|
|
108
|
+
/**
|
|
109
|
+
* @description Renders a multi-line **Textarea**
|
|
110
|
+
*/
|
|
111
|
+
TEXTAREA = "textarea",
|
|
112
|
+
/**
|
|
113
|
+
* @description Renders a read-only **Link** when the value is a navigable URL, otherwise a placeholder
|
|
114
|
+
*/
|
|
115
|
+
URL = "url",
|
|
116
|
+
/**
|
|
117
|
+
* @description Renders a **key-value editor** with add/remove rows
|
|
118
|
+
*/
|
|
119
|
+
MAP = "map",
|
|
120
|
+
/**
|
|
121
|
+
* @description Renders a **Textarea** in edit mode or formatted **Markdown** in read-only mode
|
|
122
|
+
*/
|
|
123
|
+
MARKDOWN = "markdown"
|
|
124
|
+
}
|
|
125
|
+
/** Props passed to a field renderer by the config-driven form system. */
|
|
126
|
+
export type FieldRendererProps = {
|
|
127
|
+
name: string;
|
|
128
|
+
config: FieldConfig;
|
|
129
|
+
};
|
|
130
|
+
/** A React component that renders a form field from its config. */
|
|
131
|
+
export type FieldRenderer = ComponentType<FieldRendererProps>;
|
|
132
|
+
//# 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":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FORM_ERROR } from 'final-form';
|
|
2
|
-
import type { DeepPartial } from '
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"delete-by-path.test.d.ts","sourceRoot":"","sources":["../../../../../components/form/utils/__tests__/delete-by-path.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-hidden-condition-fields.test.d.ts","sourceRoot":"","sources":["../../../../../components/form/utils/__tests__/filter-hidden-condition-fields.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-empty-field-value.test.d.ts","sourceRoot":"","sources":["../../../../../components/form/utils/__tests__/is-empty-field-value.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a copy of `values` with the value at `path` removed, pruning any parent object or
|
|
3
|
+
* array left empty as a result.
|
|
4
|
+
*/
|
|
5
|
+
export declare function deleteByPath<T extends Record<string, unknown>>(values: T, path: string): T;
|
|
6
|
+
//# sourceMappingURL=delete-by-path.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-by-path.d.ts","sourceRoot":"","sources":["../../../../components/form/utils/delete-by-path.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,CAI1F"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { FormConfig } from '../../../components/form/types/config-types';
|
|
2
|
+
/**
|
|
3
|
+
* Strips values for fields nested under a condition that currently evaluates to hidden,
|
|
4
|
+
* so stale data entered while the condition was true never gets submitted after the user
|
|
5
|
+
* navigates away from it.
|
|
6
|
+
*
|
|
7
|
+
* Uses the same `evaluateCondition` logic as `FormCondition`, so every operator
|
|
8
|
+
* (`is`/`isNot`/`isEmpty`/`containsAny`) is stripped consistently with what's rendered.
|
|
9
|
+
*/
|
|
10
|
+
export declare function filterHiddenConditionFields<T extends Record<string, unknown>>(values: T, config: FormConfig<T>): T;
|
|
11
|
+
//# sourceMappingURL=filter-hidden-condition-fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter-hidden-condition-fields.d.ts","sourceRoot":"","sources":["../../../../components/form/utils/filter-hidden-condition-fields.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,0CAA0C,CAAC;AAEvF;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC3E,MAAM,EAAE,CAAC,EACT,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,GACpB,CAAC,CAEH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-empty-field-value.d.ts","sourceRoot":"","sources":["../../../../components/form/utils/is-empty-field-value.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAIzD"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FieldValidation } from '../../../components/form/types/config-types';
|
|
2
|
+
import type { FieldValidator } from '../../../components/form/validation/types';
|
|
3
|
+
export declare function resolveValidation(validation: FieldValidation | undefined): FieldValidator | undefined;
|
|
4
|
+
//# sourceMappingURL=resolve-validation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-validation.d.ts","sourceRoot":"","sources":["../../../../components/form/validation/resolve-validation.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAE7E,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,eAAe,GAAG,SAAS,GACtC,cAAc,GAAG,SAAS,CAyB5B"}
|
|
@@ -1 +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;
|
|
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;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,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"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { NavigationLink } from './types';
|
|
2
2
|
type Props = {
|
|
3
3
|
links?: NavigationLink[];
|
|
4
|
+
onSignOut?: () => void;
|
|
4
5
|
};
|
|
5
|
-
export declare function NavigationBar({ links }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function NavigationBar({ links, onSignOut }: Props): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
7
8
|
//# sourceMappingURL=navigation-bar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-bar.d.ts","sourceRoot":"","sources":["../../../components/navigation-bar/navigation-bar.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,SAAS,CAAC;AAE3D,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"navigation-bar.d.ts","sourceRoot":"","sources":["../../../components/navigation-bar/navigation-bar.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAe,cAAc,EAAE,MAAM,SAAS,CAAC;AAE3D,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAIF,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,KAAK,2CA6ExD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signpost.d.ts","sourceRoot":"","sources":["../../../components/signpost/signpost.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAkB5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled-components.d.ts","sourceRoot":"","sources":["../../../components/signpost/styled-components.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,yDAS3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/signpost/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,aAAa,GAAG;IAC1B,YAAY,EAAE,SAAS,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,CAAC,EAAE;QACb,OAAO,EAAE,SAAS,CAAC;KACpB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;CACnC,CAAC"}
|
|
@@ -12,5 +12,5 @@ import type { EntityTableProps } from './types';
|
|
|
12
12
|
* />
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
|
-
export declare function EntityTable<T extends object = object>({ service, tableConfig, tableSettingsId, }: EntityTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function EntityTable<T extends object = object>({ service, tableConfig, tableSettingsId, pipelineTypes, }: EntityTableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=entity-table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-table.d.ts","sourceRoot":"","sources":["../../../../components/views/phase-entity-view/entity-table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entity-table.d.ts","sourceRoot":"","sources":["../../../../components/views/phase-entity-view/entity-table.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EACrD,OAAO,EACP,WAAW,EACX,eAAe,EACf,aAAa,GACd,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAwBrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phase-entity-view.d.ts","sourceRoot":"","sources":["../../../../components/views/phase-entity-view/phase-entity-view.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EACzD,WAAW,EACX,QAAQ,GACT,EAAE,oBAAoB,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"phase-entity-view.d.ts","sourceRoot":"","sources":["../../../../components/views/phase-entity-view/phase-entity-view.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAAE,EACzD,WAAW,EACX,QAAQ,GACT,EAAE,oBAAoB,CAAC,CAAC,CAAC,kDAkFzB"}
|
|
@@ -15,11 +15,17 @@ export interface PhaseEntityViewProps<T extends object = object> {
|
|
|
15
15
|
phaseConfig: Omit<PhaseConfig, 'entities'>;
|
|
16
16
|
entities: ListableEntity<T>[];
|
|
17
17
|
}
|
|
18
|
+
export interface InjectedListOptions {
|
|
19
|
+
fieldSelector?: string;
|
|
20
|
+
labelSelector?: string;
|
|
21
|
+
}
|
|
18
22
|
export interface EntityTableProps<T extends object = object> {
|
|
19
23
|
/** Service name for data fetching (e.g., 'pipeline' → 'ListPipeline') */
|
|
20
24
|
service: QueryConfig['service'];
|
|
21
25
|
tableConfig: TableConfig<T>;
|
|
22
26
|
/** Unique ID for table state persistence */
|
|
23
27
|
tableSettingsId: string;
|
|
28
|
+
/** Pipeline types the owning phase restricts this entity's data to, if any */
|
|
29
|
+
pipelineTypes?: string[];
|
|
24
30
|
}
|
|
25
31
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/views/phase-entity-view/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,CAAC,GAAG;IAC7E,KAAK,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG;QAAE,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC;CACnD,CAAC;AAEF,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC7D;;;OAGG;IACH,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAE3C,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACzD,yEAAyE;IACzE,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,4CAA4C;IAC5C,eAAe,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/views/phase-entity-view/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI,iBAAiB,CAAC,CAAC,CAAC,GAAG;IAC7E,KAAK,EAAE,QAAQ,CAAC;IAChB,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG;QAAE,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC;CACnD,CAAC;AAEF,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC7D;;;OAGG;IACH,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAE3C,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IACzD,yEAAyE;IACzE,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,WAAW,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5B,4CAA4C;IAC5C,eAAe,EAAE,MAAM,CAAC;IACxB,8EAA8E;IAC9E,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { QueryConfig } from '../../../../types/query-types';
|
|
2
|
+
import type { InjectedListOptions } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Derives the RPC-level listOptions needed to restrict an entity's list query to a
|
|
5
|
+
* phase's pipeline types.
|
|
6
|
+
*/
|
|
7
|
+
export declare function injectListOptions(service: QueryConfig['service'], pipelineTypes?: string[]): InjectedListOptions | undefined;
|
|
8
|
+
//# sourceMappingURL=inject-list-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inject-list-options.d.ts","sourceRoot":"","sources":["../../../../../components/views/phase-entity-view/utils/inject-list-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,EAC/B,aAAa,CAAC,EAAE,MAAM,EAAE,GACvB,mBAAmB,GAAG,SAAS,CAUjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phase-card.d.ts","sourceRoot":"","sources":["../../../../../components/views/project/components/phase-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"phase-card.d.ts","sourceRoot":"","sources":["../../../../../components/views/project/components/phase-card.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,GAAG;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,2CA4FnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-detail.d.ts","sourceRoot":"","sources":["../../../../components/views/project/project-detail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"project-detail.d.ts","sourceRoot":"","sources":["../../../../components/views/project/project-detail.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAEnE,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,WAAW,EAAE,CAAA;CAAE,2CA6ElE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../../components/views/sandbox/sandbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../../components/views/sandbox/sandbox.tsx"],"names":[],"mappings":"AA4BA,wBAAgB,OAAO,4CAgCtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-info-page.d.ts","sourceRoot":"","sources":["../../../../config/entities/deployment/deployment-info-page.tsx"],"names":[],"mappings":"AAcA,wBAAgB,kBAAkB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,OAAO,CAAA;CAAE,2CAkF5F"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ResourceRef } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Renders a card for one of a deployment's revision references (current,
|
|
4
|
+
* candidate, or desired). Shows only what is present on the Deployment CR
|
|
5
|
+
* itself — the revision name — since OSS has no producer of Model revisions to
|
|
6
|
+
* resolve richer model metadata from.
|
|
7
|
+
*/
|
|
8
|
+
export declare function DeploymentRevisionCard({ title, revision, emptyText, isLoading, }: {
|
|
9
|
+
title: string;
|
|
10
|
+
revision?: ResourceRef;
|
|
11
|
+
emptyText: string;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=deployment-revision-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-revision-card.d.ts","sourceRoot":"","sources":["../../../../config/entities/deployment/deployment-revision-card.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,EACrC,KAAK,EACL,QAAQ,EACR,SAAS,EACT,SAAS,GACV,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,2CAuCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../config/entities/deployment/detail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"detail.d.ts","sourceRoot":"","sources":["../../../../config/entities/deployment/detail.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAErE,eAAO,MAAM,wBAAwB,EAAE,gBA2EtC,CAAC"}
|