@prefecthq/prefect-ui-library 2.4.36 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/{FlowRunsPageWithDefaultFilter-70vMgGCO.mjs → FlowRunsPageWithDefaultFilter-yNSEReol.mjs} +2 -2
  2. package/dist/{FlowRunsPageWithDefaultFilter-70vMgGCO.mjs.map → FlowRunsPageWithDefaultFilter-yNSEReol.mjs.map} +1 -1
  3. package/dist/{index-fKmiuPrT.mjs → index-Y__ePSjb.mjs} +18008 -17321
  4. package/dist/{index-fKmiuPrT.mjs.map → index-Y__ePSjb.mjs.map} +1 -1
  5. package/dist/prefect-ui-library.mjs +421 -420
  6. package/dist/prefect-ui-library.umd.js +85 -85
  7. package/dist/prefect-ui-library.umd.js.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/types/src/components/WorkQueueCombobox.vue.d.ts +6 -0
  10. package/dist/types/src/components/WorkspaceVariableCombobox.vue.d.ts +21 -0
  11. package/dist/types/src/components/index.d.ts +2 -1
  12. package/dist/types/src/compositions/useVariables.d.ts +4 -4
  13. package/dist/types/src/schemas/components/SchemaForm.vue.d.ts +26 -4
  14. package/dist/types/src/schemas/components/SchemaFormKindInput.vue.d.ts +6 -0
  15. package/dist/types/src/schemas/components/SchemaFormProperties.vue.d.ts +3 -0
  16. package/dist/types/src/schemas/components/SchemaFormProperty.vue.d.ts +3 -0
  17. package/dist/types/src/schemas/components/SchemaFormPropertyAllOf.vue.d.ts +3 -0
  18. package/dist/types/src/schemas/components/SchemaFormPropertyAnyOf.vue.d.ts +3 -0
  19. package/dist/types/src/schemas/components/SchemaFormPropertyArray.vue.d.ts +6 -0
  20. package/dist/types/src/schemas/components/SchemaFormPropertyArrayItem.vue.d.ts +40 -0
  21. package/dist/types/src/schemas/components/SchemaFormPropertyBlockDocument.vue.d.ts +3 -0
  22. package/dist/types/src/schemas/components/SchemaFormPropertyDate.vue.d.ts +19 -0
  23. package/dist/types/src/schemas/components/SchemaFormPropertyDateTime.vue.d.ts +19 -0
  24. package/dist/types/src/schemas/components/SchemaFormPropertyInput.vue.d.ts +6 -0
  25. package/dist/types/src/schemas/components/SchemaFormPropertyKindJinja.vue.d.ts +20 -0
  26. package/dist/types/src/schemas/components/SchemaFormPropertyKindJson.vue.d.ts +26 -0
  27. package/dist/types/src/schemas/components/SchemaFormPropertyKindWorkspaceVariable.vue.d.ts +20 -0
  28. package/dist/types/src/schemas/components/SchemaFormPropertyMenu.vue.d.ts +28 -0
  29. package/dist/types/src/schemas/components/SchemaFormPropertyObject.vue.d.ts +3 -0
  30. package/dist/types/src/schemas/components/SchemaFormPropertyString.vue.d.ts +29 -0
  31. package/dist/types/src/schemas/compositions/usePrefectKind.d.ts +6 -0
  32. package/dist/types/src/schemas/compositions/useSchemaFormKinds.d.ts +4 -0
  33. package/dist/types/src/schemas/compositions/useSchemaProperty.d.ts +8 -1
  34. package/dist/types/src/schemas/compositions/useSchemaPropertyInput.d.ts +343 -0
  35. package/dist/types/src/schemas/mapper.d.ts +34 -1
  36. package/dist/types/src/schemas/maps/index.d.ts +9 -0
  37. package/dist/types/src/schemas/maps/schema.d.ts +3 -0
  38. package/dist/types/src/schemas/types/schema.d.ts +1 -1
  39. package/dist/types/src/schemas/types/schemaResponse.d.ts +1 -1
  40. package/dist/types/src/schemas/types/schemaValues.d.ts +4 -5
  41. package/dist/types/src/schemas/types/schemaValuesValidationResponse.d.ts +15 -0
  42. package/dist/types/src/schemas/utilities/errors.d.ts +8 -0
  43. package/dist/types/src/services/WorkspaceSchemasWorkspaceApi.d.ts +8 -0
  44. package/dist/types/src/services/schemas/properties/SchemaPropertyService.d.ts +3 -3
  45. package/dist/types/src/services/schemas/utilities.d.ts +3 -3
  46. package/dist/types/src/utilities/api.d.ts +2 -0
  47. package/dist/types/src/utilities/components.d.ts +3 -3
  48. package/package.json +4 -4
@@ -1,13 +1,19 @@
1
+ import { State } from '@prefecthq/prefect-design';
1
2
  import { SchemaProperty } from '../../schemas/types/schema';
2
3
  import { PrefectKindValue } from '../../schemas/types/schemaValues';
4
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
6
  property: SchemaProperty;
5
7
  value: PrefectKindValue;
8
+ errors: SchemaValueError[];
9
+ state: State;
6
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
11
  "update:value": (args_0: PrefectKindValue) => void;
8
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
13
  property: SchemaProperty;
10
14
  value: PrefectKindValue;
15
+ errors: SchemaValueError[];
16
+ state: State;
11
17
  }>>> & {
12
18
  "onUpdate:value"?: ((args_0: PrefectKindValue) => any) | undefined;
13
19
  }, {}, {}>;
@@ -1,15 +1,18 @@
1
1
  import { SchemaProperty, SchemaProperties } from '../../schemas/types/schema';
2
2
  import { SchemaValues } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
5
  parent: SchemaProperty;
5
6
  properties: SchemaProperties;
6
7
  values: SchemaValues | undefined;
8
+ errors: SchemaValueError[];
7
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
10
  "update:values": (args_0: SchemaValues | undefined) => void;
9
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
12
  parent: SchemaProperty;
11
13
  properties: SchemaProperties;
12
14
  values: SchemaValues | undefined;
15
+ errors: SchemaValueError[];
13
16
  }>>> & {
14
17
  "onUpdate:values"?: ((args_0: SchemaValues | undefined) => any) | undefined;
15
18
  }, {}, {}>;
@@ -1,15 +1,18 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
2
  import { SchemaValue } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
5
  property: SchemaProperty;
5
6
  value: SchemaValue;
6
7
  required: boolean;
8
+ errors: SchemaValueError[];
7
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
10
  "update:value": (args_0: unknown) => void;
9
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
12
  property: SchemaProperty;
11
13
  value: SchemaValue;
12
14
  required: boolean;
15
+ errors: SchemaValueError[];
13
16
  }>>> & {
14
17
  "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
15
18
  }, {}, {}>;
@@ -1,16 +1,19 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
2
  import { SchemaValue } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
4
  import { Require } from '../../types/utilities';
4
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
6
  property: Require<SchemaProperty, 'allOf'>;
6
7
  value: SchemaValue;
7
8
  required: boolean;
9
+ errors: SchemaValueError[];
8
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  "update:value": (args_0: unknown) => void;
10
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
13
  property: Require<SchemaProperty, 'allOf'>;
12
14
  value: SchemaValue;
13
15
  required: boolean;
16
+ errors: SchemaValueError[];
14
17
  }>>> & {
15
18
  "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
16
19
  }, {}, {}>;
@@ -1,16 +1,19 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
2
  import { SchemaValue } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
4
  import { Require } from '../../types/utilities';
4
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
6
  property: Require<SchemaProperty, 'anyOf'>;
6
7
  value: SchemaValue;
7
8
  required: boolean;
9
+ errors: SchemaValueError[];
8
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  "update:value": (args_0: unknown) => void;
10
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
13
  property: Require<SchemaProperty, 'anyOf'>;
12
14
  value: SchemaValue;
13
15
  required: boolean;
16
+ errors: SchemaValueError[];
14
17
  }>>> & {
15
18
  "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
16
19
  }, {}, {}>;
@@ -1,9 +1,13 @@
1
+ import { State } from '@prefecthq/prefect-design';
1
2
  import { SchemaProperty } from '../../schemas/types/schema';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
2
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
5
  property: SchemaProperty & {
4
6
  type: 'array';
5
7
  };
6
8
  value: unknown[] | null;
9
+ errors: SchemaValueError[];
10
+ state: State;
7
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
12
  "update:value": (args_0: unknown[] | null) => void;
9
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -11,6 +15,8 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
11
15
  type: 'array';
12
16
  };
13
17
  value: unknown[] | null;
18
+ errors: SchemaValueError[];
19
+ state: State;
14
20
  }>>> & {
15
21
  "onUpdate:value"?: ((args_0: unknown[] | null) => any) | undefined;
16
22
  }, {}, {}>;
@@ -0,0 +1,40 @@
1
+ import { SchemaProperty } from '../../schemas/types/schema';
2
+ import { SchemaValue } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
+ property: SchemaProperty;
6
+ value: SchemaValue;
7
+ isLast: boolean;
8
+ isFirst: boolean;
9
+ errors: SchemaValueError[];
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:value": (args_0: unknown) => void;
12
+ moveToTop: () => void;
13
+ moveToBottom: () => void;
14
+ deleteItem: () => void;
15
+ handleDown: () => void;
16
+ handleUp: () => void;
17
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
18
+ property: SchemaProperty;
19
+ value: SchemaValue;
20
+ isLast: boolean;
21
+ isFirst: boolean;
22
+ errors: SchemaValueError[];
23
+ }>>> & {
24
+ "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
25
+ onMoveToTop?: (() => any) | undefined;
26
+ onMoveToBottom?: (() => any) | undefined;
27
+ onDeleteItem?: (() => any) | undefined;
28
+ onHandleDown?: (() => any) | undefined;
29
+ onHandleUp?: (() => any) | undefined;
30
+ }, {}, {}>;
31
+ export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import('vue').PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
@@ -1,14 +1,17 @@
1
+ import { State } from '@prefecthq/prefect-design';
1
2
  import { SchemaProperty } from '../../schemas/types/schema';
2
3
  import { BlockDocumentReferenceValue } from '../../schemas/types/schemaValues';
3
4
  import { Require } from '../../types/utilities';
4
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
6
  property: Require<SchemaProperty, 'blockTypeSlug'>;
6
7
  value: BlockDocumentReferenceValue | null | undefined;
8
+ state: State;
7
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
10
  "update:value": (args_0: BlockDocumentReferenceValue | null | undefined) => void;
9
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
12
  property: Require<SchemaProperty, 'blockTypeSlug'>;
11
13
  value: BlockDocumentReferenceValue | null | undefined;
14
+ state: State;
12
15
  }>>> & {
13
16
  "onUpdate:value"?: ((args_0: BlockDocumentReferenceValue | null | undefined) => any) | undefined;
14
17
  }, {}, {}>;
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ value: string | null | undefined;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:value": (args_0: string | null | undefined) => void;
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ value: string | null | undefined;
7
+ }>>> & {
8
+ "onUpdate:value"?: ((args_0: string | null | undefined) => any) | undefined;
9
+ }, {}, {}>;
10
+ export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ value: string | null | undefined;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:value": (args_0: string | null | undefined) => void;
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ value: string | null | undefined;
7
+ }>>> & {
8
+ "onUpdate:value"?: ((args_0: string | null | undefined) => any) | undefined;
9
+ }, {}, {}>;
10
+ export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
@@ -1,13 +1,19 @@
1
+ import { State } from '@prefecthq/prefect-design';
1
2
  import { SchemaProperty } from '../../schemas/types/schema';
2
3
  import { SchemaValue } from '../../schemas/types/schemaValues';
4
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
6
  property: SchemaProperty;
5
7
  value: SchemaValue;
8
+ errors: SchemaValueError[];
9
+ state: State;
6
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
11
  "update:value": (args_0: unknown) => void;
8
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
13
  property: SchemaProperty;
10
14
  value: SchemaValue;
15
+ errors: SchemaValueError[];
16
+ state: State;
11
17
  }>>> & {
12
18
  "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
13
19
  }, {}, {}>;
@@ -0,0 +1,20 @@
1
+ import { PrefectKindJinja } from '../../schemas/types/schemaValues';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ value: PrefectKindJinja;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:value": (args_0: PrefectKindJinja) => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ value: PrefectKindJinja;
8
+ }>>> & {
9
+ "onUpdate:value"?: ((args_0: PrefectKindJinja) => any) | undefined;
10
+ }, {}, {}>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,26 @@
1
+ import { State } from '@prefecthq/prefect-design';
2
+ import { PrefectKindJson } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
+ value: PrefectKindJson;
6
+ errors: SchemaValueError[];
7
+ state: State;
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:value": (args_0: PrefectKindJson) => void;
10
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
+ value: PrefectKindJson;
12
+ errors: SchemaValueError[];
13
+ state: State;
14
+ }>>> & {
15
+ "onUpdate:value"?: ((args_0: PrefectKindJson) => any) | undefined;
16
+ }, {}, {}>;
17
+ export default _default;
18
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
+ type __VLS_TypePropsToRuntimeProps<T> = {
20
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
21
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
+ } : {
23
+ type: import('vue').PropType<T[K]>;
24
+ required: true;
25
+ };
26
+ };
@@ -0,0 +1,20 @@
1
+ import { PrefectKindWorkspaceVariable } from '../../schemas/types/schemaValues';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ value: PrefectKindWorkspaceVariable;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:value": (args_0: PrefectKindWorkspaceVariable) => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ value: PrefectKindWorkspaceVariable;
8
+ }>>> & {
9
+ "onUpdate:value"?: ((args_0: PrefectKindWorkspaceVariable) => any) | undefined;
10
+ }, {}, {}>;
11
+ export default _default;
12
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
+ type __VLS_TypePropsToRuntimeProps<T> = {
14
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
15
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
+ } : {
17
+ type: import('vue').PropType<T[K]>;
18
+ required: true;
19
+ };
20
+ };
@@ -0,0 +1,28 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ kind: "json" | "none" | "jinja" | "workspace_variable";
3
+ disabled?: boolean | undefined;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:kind": (args_0: "json" | "none" | "jinja" | "workspace_variable") => void;
6
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ kind: "json" | "none" | "jinja" | "workspace_variable";
8
+ disabled?: boolean | undefined;
9
+ }>>> & {
10
+ "onUpdate:kind"?: ((args_0: "json" | "none" | "jinja" | "workspace_variable") => any) | undefined;
11
+ }, {}, {}>, {
12
+ default?(_: {}): any;
13
+ }>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: import('vue').PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -1,10 +1,12 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
2
  import { SchemaValues } from '../../schemas/types/schemaValues';
3
+ import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
3
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
5
  property: SchemaProperty & {
5
6
  type: 'object';
6
7
  };
7
8
  values: SchemaValues | undefined;
9
+ errors: SchemaValueError[];
8
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
11
  "update:values": (args_0: SchemaValues | undefined) => void;
10
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -12,6 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
12
14
  type: 'object';
13
15
  };
14
16
  values: SchemaValues | undefined;
17
+ errors: SchemaValueError[];
15
18
  }>>> & {
16
19
  "onUpdate:values"?: ((args_0: SchemaValues | undefined) => any) | undefined;
17
20
  }, {}, {}>;
@@ -0,0 +1,29 @@
1
+ import { State } from '@prefecthq/prefect-design';
2
+ import { SchemaProperty } from '../../schemas/types/schema';
3
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ property: SchemaProperty & {
5
+ type: 'string';
6
+ };
7
+ value: string | null | undefined;
8
+ state: State;
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "update:value": (args_0: string | null | undefined) => void;
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ property: SchemaProperty & {
13
+ type: 'string';
14
+ };
15
+ value: string | null | undefined;
16
+ state: State;
17
+ }>>> & {
18
+ "onUpdate:value"?: ((args_0: string | null | undefined) => any) | undefined;
19
+ }, {}, {}>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -0,0 +1,6 @@
1
+ import { Ref } from 'vue';
2
+ import { PrefectKind } from '../../schemas/types/schemaValues';
3
+ export type UsePrefectKind = {
4
+ kind: Ref<PrefectKind>;
5
+ };
6
+ export declare function usePrefectKind(propertyValue: Ref<unknown>): UsePrefectKind;
@@ -0,0 +1,4 @@
1
+ import { InjectionKey } from 'vue';
2
+ import { PrefectKind } from '../../schemas/types/schemaValues';
3
+ export declare const schemaFormKindsInjectionKey: InjectionKey<Readonly<PrefectKind[]>>;
4
+ export declare function useSchemaFormKinds(): Readonly<PrefectKind[]>;
@@ -1,3 +1,10 @@
1
1
  import { ComputedRef, MaybeRefOrGetter } from 'vue';
2
2
  import { SchemaProperty } from '../../schemas/types/schema';
3
- export declare function useSchemaProperty(source: MaybeRefOrGetter<SchemaProperty>): ComputedRef<SchemaProperty>;
3
+ type UseSchemaProperty = {
4
+ property: ComputedRef<SchemaProperty>;
5
+ label: ComputedRef<string>;
6
+ description: ComputedRef<string>;
7
+ disabled: ComputedRef<boolean>;
8
+ };
9
+ export declare function useSchemaProperty(source: MaybeRefOrGetter<SchemaProperty>, required?: MaybeRefOrGetter<boolean>): UseSchemaProperty;
10
+ export {};