@prefecthq/prefect-ui-library 2.8.14 → 2.8.16

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 (54) hide show
  1. package/dist/{FlowRunsPageWithDefaultFilter-BG1151bl.mjs → FlowRunsPageWithDefaultFilter-BlKHQh1G.mjs} +2 -2
  2. package/dist/{FlowRunsPageWithDefaultFilter-BG1151bl.mjs.map → FlowRunsPageWithDefaultFilter-BlKHQh1G.mjs.map} +1 -1
  3. package/dist/{index-Bftz9m1S.mjs → index-BCrxmDrX.mjs} +13505 -13479
  4. package/dist/index-BCrxmDrX.mjs.map +1 -0
  5. package/dist/prefect-ui-library.mjs +38 -38
  6. package/dist/prefect-ui-library.umd.js +82 -82
  7. package/dist/prefect-ui-library.umd.js.map +1 -1
  8. package/dist/style.css +1 -1
  9. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeAutomation.vue.d.ts +2 -2
  10. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeDeployment.vue.d.ts +2 -2
  11. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeWorkPool.vue.d.ts +2 -2
  12. package/dist/types/src/automations/components/AutomationActionDescriptionPauseResumeWorkQueue.vue.d.ts +2 -2
  13. package/dist/types/src/automations/components/AutomationActionDescriptionSuspendCancelFlowRun.vue.d.ts +2 -2
  14. package/dist/types/src/components/ActivityChart.vue.d.ts +1 -0
  15. package/dist/types/src/components/ColorModeSelectOption.vue.d.ts +2 -3
  16. package/dist/types/src/components/DeploymentStatusIcon.vue.d.ts +2 -3
  17. package/dist/types/src/components/FlowRunJobVariableOverridesLabeledInput.vue.d.ts +15 -6
  18. package/dist/types/src/components/FlowRunResumeModal.vue.d.ts +19 -14
  19. package/dist/types/src/components/FlowRunStateTypeCount.vue.d.ts +2 -3
  20. package/dist/types/src/components/FlowRunStateTypeEmpty.vue.d.ts +2 -3
  21. package/dist/types/src/components/FlowRunStateTypeTabDescription.vue.d.ts +2 -3
  22. package/dist/types/src/components/FlowRunsAccordion.vue.d.ts +2 -3
  23. package/dist/types/src/components/FlowRunsSort.vue.d.ts +2 -3
  24. package/dist/types/src/components/JobVariableOverridesInput.vue.d.ts +15 -6
  25. package/dist/types/src/components/LogLevelLabel.vue.d.ts +2 -3
  26. package/dist/types/src/components/LogLevelSelect.vue.d.ts +2 -3
  27. package/dist/types/src/components/LogoImage.vue.d.ts +1 -1
  28. package/dist/types/src/components/LogsSort.vue.d.ts +2 -3
  29. package/dist/types/src/components/NotificationDetails.vue.d.ts +2 -2
  30. package/dist/types/src/components/NotificationStatusSelect.vue.d.ts +2 -3
  31. package/dist/types/src/components/SchemaPropertyKeyValue.vue.d.ts +3 -3
  32. package/dist/types/src/components/SeparatedList.vue.d.ts +3 -0
  33. package/dist/types/src/components/StateIcon.vue.d.ts +2 -3
  34. package/dist/types/src/models/index.d.ts +0 -1
  35. package/dist/types/src/schemas/components/SchemaForm.vue.d.ts +3 -3
  36. package/dist/types/src/schemas/components/SchemaFormProperty.vue.d.ts +3 -1
  37. package/dist/types/src/schemas/components/SchemaFormPropertyAllOf.vue.d.ts +4 -5
  38. package/dist/types/src/schemas/components/SchemaFormPropertyAnyOf.vue.d.ts +4 -5
  39. package/dist/types/src/schemas/components/SchemaFormPropertyArray.vue.d.ts +2 -2
  40. package/dist/types/src/schemas/components/SchemaFormPropertyArrayItem.vue.d.ts +2 -3
  41. package/dist/types/src/schemas/components/SchemaFormPropertyArrayList.vue.d.ts +2 -2
  42. package/dist/types/src/schemas/components/SchemaFormPropertyBlockDocument.vue.d.ts +2 -2
  43. package/dist/types/src/schemas/components/SchemaFormPropertyBoolean.vue.d.ts +23 -24
  44. package/dist/types/src/schemas/components/SchemaFormPropertyInput.vue.d.ts +2 -3
  45. package/dist/types/src/schemas/components/SchemaFormPropertyInteger.vue.d.ts +2 -2
  46. package/dist/types/src/schemas/components/SchemaFormPropertyMenu.vue.d.ts +8 -2
  47. package/dist/types/src/schemas/components/SchemaFormPropertyNull.vue.d.ts +2 -2
  48. package/dist/types/src/schemas/components/SchemaFormPropertyObject.vue.d.ts +2 -2
  49. package/dist/types/src/schemas/components/SchemaFormPropertyString.vue.d.ts +2 -2
  50. package/dist/types/src/schemas/components/SchemaInput.vue.d.ts +3 -3
  51. package/dist/types/src/utilities/errors.d.ts +7 -0
  52. package/package.json +5 -5
  53. package/dist/index-Bftz9m1S.mjs.map +0 -1
  54. package/dist/types/src/models/ExistingHandleError.d.ts +0 -6
@@ -1,10 +1,19 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- modelValue: import("vue").PropType<string>;
3
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ modelValue?: string | undefined;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  "update:modelValue": (modelValue: string) => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
- modelValue: import("vue").PropType<string>;
7
- }>> & {
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
6
+ modelValue?: string | undefined;
7
+ }>>> & {
8
8
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
9
9
  }, {}, {}>;
10
10
  export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToOption<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,18 +1,23 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- showModal: import("vue").PropType<boolean>;
3
- flowRunId: {
4
- type: import("vue").PropType<string>;
5
- required: true;
6
- };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ showModal?: boolean | undefined;
3
+ } & {
4
+ flowRunId: string;
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
6
  "update:showModal": (showModal: boolean) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
- showModal: import("vue").PropType<boolean>;
11
- flowRunId: {
12
- type: import("vue").PropType<string>;
13
- required: true;
14
- };
15
- }>> & {
7
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
+ showModal?: boolean | undefined;
9
+ } & {
10
+ flowRunId: string;
11
+ }>>> & {
16
12
  "onUpdate:showModal"?: ((showModal: boolean) => any) | undefined;
17
13
  }, {}, {}>;
18
14
  export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToOption<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
+ };
@@ -1,12 +1,11 @@
1
1
  import { FlowRunsFilter } from '../models/Filters';
2
- import { StateType } from '../models/StateType';
3
2
  import { MaybeGetter } from '../types/reactivity';
4
3
  import { MaybeArray } from '../types/utilities';
5
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
- stateType: MaybeArray<StateType>;
5
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
7
6
  filter?: MaybeGetter<FlowRunsFilter> | undefined;
8
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
- stateType: MaybeArray<StateType>;
8
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
10
9
  filter?: MaybeGetter<FlowRunsFilter> | undefined;
11
10
  }>>>, {}, {}>;
12
11
  export default _default;
@@ -1,9 +1,8 @@
1
- import { StateType } from '../models';
2
1
  import { MaybeArray } from '../types';
3
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
- stateType: MaybeArray<StateType>;
3
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
5
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
6
- stateType: MaybeArray<StateType>;
5
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
7
6
  }>>>, {}, {}>;
8
7
  export default _default;
9
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,12 +1,11 @@
1
1
  import { FlowRunsFilter } from '../models/Filters';
2
- import { StateType } from '../models/StateType';
3
2
  import { MaybeGetter } from '../types/reactivity';
4
3
  import { MaybeArray } from '../types/utilities';
5
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
- stateType: MaybeArray<StateType>;
5
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
7
6
  filter?: MaybeGetter<FlowRunsFilter> | undefined;
8
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
- stateType: MaybeArray<StateType>;
8
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
10
9
  filter?: MaybeGetter<FlowRunsFilter> | undefined;
11
10
  }>>>, {}, {}>;
12
11
  export default _default;
@@ -1,13 +1,12 @@
1
1
  import { FlowRunsFilter } from '../models/Filters';
2
- import { StateType } from '../models/StateType';
3
2
  import { MaybeGetter } from '../types/reactivity';
4
3
  import { MaybeArray } from '../types/utilities';
5
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
5
  filter: MaybeGetter<FlowRunsFilter>;
7
- stateType: MaybeArray<StateType>;
6
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
8
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
8
  filter: MaybeGetter<FlowRunsFilter>;
10
- stateType: MaybeArray<StateType>;
9
+ stateType: MaybeArray<"completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused">;
11
10
  }>>>, {}, {}>;
12
11
  export default _default;
13
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,10 +1,9 @@
1
- import { FlowRunSortValues } from '../types/SortOptionTypes';
2
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- modelValue: FlowRunSortValues | null | undefined;
2
+ modelValue: "CREATED_DESC" | "NAME_DESC" | "NAME_ASC" | "ID_DESC" | "END_TIME_DESC" | "EXPECTED_START_TIME_DESC" | "EXPECTED_START_TIME_ASC" | "NEXT_SCHEDULED_START_TIME_ASC" | "START_TIME_DESC" | "START_TIME_ASC" | null | undefined;
4
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
4
  "update:modelValue": (value: string | null | undefined) => void;
6
5
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
- modelValue: FlowRunSortValues | null | undefined;
6
+ modelValue: "CREATED_DESC" | "NAME_DESC" | "NAME_ASC" | "ID_DESC" | "END_TIME_DESC" | "EXPECTED_START_TIME_DESC" | "EXPECTED_START_TIME_ASC" | "NEXT_SCHEDULED_START_TIME_ASC" | "START_TIME_DESC" | "START_TIME_ASC" | null | undefined;
8
7
  }>>> & {
9
8
  "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
10
9
  }, {}, {}>;
@@ -1,10 +1,19 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- modelValue: import("vue").PropType<string>;
3
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ modelValue?: string | undefined;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
4
  "update:modelValue": (modelValue: string) => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
6
- modelValue: import("vue").PropType<string>;
7
- }>> & {
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
6
+ modelValue?: string | undefined;
7
+ }>>> & {
8
8
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
9
9
  }, {}, {}>;
10
10
  export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToOption<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,8 +1,7 @@
1
- import { LogLevel } from '../models/Log';
2
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- level: LogLevel;
2
+ level: 0 | 10 | 50 | 20 | 30 | 40;
4
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- level: LogLevel;
4
+ level: 0 | 10 | 50 | 20 | 30 | 40;
6
5
  }>>>, {}, {}>;
7
6
  export default _default;
8
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,10 +1,9 @@
1
- import { LogLevel } from '../models';
2
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- selected: LogLevel;
2
+ selected: 0 | 10 | 50 | 20 | 30 | 40;
4
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
4
  "update:selected": (value: 0 | 10 | 50 | 20 | 30 | 40) => void;
6
5
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
- selected: LogLevel;
6
+ selected: 0 | 10 | 50 | 20 | 30 | 40;
8
7
  }>>> & {
9
8
  "onUpdate:selected"?: ((value: 0 | 10 | 50 | 20 | 30 | 40) => any) | undefined;
10
9
  }, {}, {}>;
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
9
9
  }>, {
10
10
  size: string;
11
11
  }>>>, {
12
- size: 'sm' | 'md' | 'lg';
12
+ size: "sm" | "md" | "lg";
13
13
  }, {}>;
14
14
  export default _default;
15
15
  type __VLS_WithDefaults<P, D> = {
@@ -1,10 +1,9 @@
1
- import { LogSortValues } from '../types/SortOptionTypes';
2
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- selected: LogSortValues;
2
+ selected: string;
4
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
4
  "update:selected": (value: string) => void;
6
5
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
- selected: LogSortValues;
6
+ selected: string;
8
7
  }>>> & {
9
8
  "onUpdate:selected"?: ((value: string) => any) | undefined;
10
9
  }, {}, {}>;
@@ -1,11 +1,11 @@
1
1
  import { BlockType, Notification } from '../models';
2
2
  import { SchemaValues } from '../types/schemas';
3
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
- notification: Pick<Notification, 'tags' | 'stateNames'>;
4
+ notification: Pick<Notification, "tags" | "stateNames">;
5
5
  blockType: BlockType;
6
6
  data: SchemaValues;
7
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
8
- notification: Pick<Notification, 'tags' | 'stateNames'>;
8
+ notification: Pick<Notification, "tags" | "stateNames">;
9
9
  blockType: BlockType;
10
10
  data: SchemaValues;
11
11
  }>>>, {}, {}>;
@@ -1,10 +1,9 @@
1
- import { NotificationStatus } from '../models';
2
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- selected: NotificationStatus;
2
+ selected: "paused" | "active" | "all";
4
3
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
4
  "update:selected": (value: "paused" | "active" | "all") => void;
6
5
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
- selected: NotificationStatus;
6
+ selected: "paused" | "active" | "all";
8
7
  }>>> & {
9
8
  "onUpdate:selected"?: ((value: "paused" | "active" | "all") => any) | undefined;
10
9
  }, {}, {}>;
@@ -1,11 +1,11 @@
1
- import { SchemaProperty, SchemaValue } from '../types/schemas';
1
+ import { SchemaProperty } from '../types/schemas';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  property: SchemaProperty;
4
- value: SchemaValue;
4
+ value: unknown;
5
5
  alternate?: boolean | undefined;
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
7
7
  property: SchemaProperty;
8
- value: SchemaValue;
8
+ value: unknown;
9
9
  alternate?: boolean | undefined;
10
10
  }>>>, {}, {}>;
11
11
  export default _default;
@@ -6,6 +6,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
6
6
  default?(_: {
7
7
  item: string;
8
8
  }): any;
9
+ default?(_: {
10
+ item: string;
11
+ }): any;
9
12
  }>;
10
13
  export default _default;
11
14
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,12 +1,11 @@
1
- import { StateType } from '../models/StateType';
2
1
  import { TailwindColor } from '../types/tailwind';
3
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
- stateType: StateType | null | undefined;
3
+ stateType: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
5
4
  shade?: TailwindColor | undefined;
6
5
  }>, {
7
6
  shade: number;
8
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
- stateType: StateType | null | undefined;
8
+ stateType: "completed" | "running" | "scheduled" | "pending" | "failed" | "cancelled" | "cancelling" | "crashed" | "paused" | null | undefined;
10
9
  shade?: TailwindColor | undefined;
11
10
  }>, {
12
11
  shade: number;
@@ -24,7 +24,6 @@ export * from './DeploymentStatus';
24
24
  export * from './DeploymentUpdate';
25
25
  export * from './ObjectLevelCan';
26
26
  export * from './EmpiricalPolicy';
27
- export * from './ExistingHandleError';
28
27
  export * from './FilterDateError';
29
28
  export * from './FilterPrefixError';
30
29
  export * from './FilterRelativeDateUnitError';
@@ -1,9 +1,9 @@
1
1
  import { Schema } from '../../schemas/types/schema';
2
- import { PrefectKind, SchemaValues } from '../../schemas/types/schemaValues';
2
+ import { SchemaValues } from '../../schemas/types/schemaValues';
3
3
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
4
  schema: Schema;
5
5
  values: SchemaValues;
6
- kinds: PrefectKind[];
6
+ kinds: ("json" | "none" | "jinja" | "workspace_variable")[];
7
7
  loading?: boolean | null | undefined;
8
8
  }>, {
9
9
  loading: null;
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
14
14
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
15
15
  schema: Schema;
16
16
  values: SchemaValues;
17
- kinds: PrefectKind[];
17
+ kinds: ("json" | "none" | "jinja" | "workspace_variable")[];
18
18
  loading?: boolean | null | undefined;
19
19
  }>, {
20
20
  loading: null;
@@ -15,7 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  }>>> & {
16
16
  "onUpdate:value"?: ((args_0: unknown) => any) | undefined;
17
17
  }, {}, {}>, {
18
- default?(_: {}): any;
18
+ default?(_: {
19
+ kind: "json" | "none" | "jinja" | "workspace_variable";
20
+ }): any;
19
21
  }>;
20
22
  export default _default;
21
23
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,17 +1,16 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
- import { SchemaValue } from '../../schemas/types/schemaValues';
3
2
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
3
  import { Require } from '../../types/utilities';
5
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
- property: Require<SchemaProperty, 'allOf'>;
7
- value: SchemaValue;
5
+ property: Require<SchemaProperty, "allOf">;
6
+ value: unknown;
8
7
  required: boolean;
9
8
  errors: SchemaValueError[];
10
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
10
  "update:value": (args_0: unknown) => void;
12
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
- property: Require<SchemaProperty, 'allOf'>;
14
- value: SchemaValue;
12
+ property: Require<SchemaProperty, "allOf">;
13
+ value: unknown;
15
14
  required: boolean;
16
15
  errors: SchemaValueError[];
17
16
  }>>> & {
@@ -1,17 +1,16 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
- import { SchemaValue } from '../../schemas/types/schemaValues';
3
2
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
3
  import { Require } from '../../types/utilities';
5
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
- property: Require<SchemaProperty, 'anyOf'>;
7
- value: SchemaValue;
5
+ property: Require<SchemaProperty, "anyOf">;
6
+ value: unknown;
8
7
  required: boolean;
9
8
  errors: SchemaValueError[];
10
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
10
  "update:value": (args_0: unknown) => void;
12
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
- property: Require<SchemaProperty, 'anyOf'>;
14
- value: SchemaValue;
12
+ property: Require<SchemaProperty, "anyOf">;
13
+ value: unknown;
15
14
  required: boolean;
16
15
  errors: SchemaValueError[];
17
16
  }>>> & {
@@ -3,7 +3,7 @@ import { SchemaProperty } from '../../schemas/types/schema';
3
3
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
5
  property: SchemaProperty & {
6
- type: 'array';
6
+ type: "array";
7
7
  };
8
8
  value: unknown[] | undefined;
9
9
  errors: SchemaValueError[];
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
12
12
  "update:value": (args_0: unknown[] | undefined) => void;
13
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
14
14
  property: SchemaProperty & {
15
- type: 'array';
15
+ type: "array";
16
16
  };
17
17
  value: unknown[] | undefined;
18
18
  errors: SchemaValueError[];
@@ -1,9 +1,8 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
- import { SchemaValue } from '../../schemas/types/schemaValues';
3
2
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
4
  property: SchemaProperty;
6
- value: SchemaValue;
5
+ value: unknown;
7
6
  isLast: boolean;
8
7
  isFirst: boolean;
9
8
  errors: SchemaValueError[];
@@ -16,7 +15,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
16
15
  handleUp: () => void;
17
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
18
17
  property: SchemaProperty;
19
- value: SchemaValue;
18
+ value: unknown;
20
19
  isLast: boolean;
21
20
  isFirst: boolean;
22
21
  errors: SchemaValueError[];
@@ -3,7 +3,7 @@ import { SchemaProperty } from '../../schemas/types/schema';
3
3
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
5
  property: SchemaProperty & {
6
- type: 'array';
6
+ type: "array";
7
7
  };
8
8
  value: unknown[] | undefined;
9
9
  errors: SchemaValueError[];
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
12
12
  "update:value": (args_0: unknown[] | undefined) => void;
13
13
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
14
14
  property: SchemaProperty & {
15
- type: 'array';
15
+ type: "array";
16
16
  };
17
17
  value: unknown[] | undefined;
18
18
  errors: SchemaValueError[];
@@ -3,13 +3,13 @@ import { SchemaProperty } from '../../schemas/types/schema';
3
3
  import { BlockDocumentReferenceValue } from '../../schemas/types/schemaValues';
4
4
  import { Require } from '../../types/utilities';
5
5
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
- property: Require<SchemaProperty, 'blockTypeSlug'>;
6
+ property: Require<SchemaProperty, "blockTypeSlug">;
7
7
  value: BlockDocumentReferenceValue | undefined;
8
8
  state: State;
9
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
10
  "update:value": (args_0: BlockDocumentReferenceValue | undefined) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
12
- property: Require<SchemaProperty, 'blockTypeSlug'>;
12
+ property: Require<SchemaProperty, "blockTypeSlug">;
13
13
  value: BlockDocumentReferenceValue | undefined;
14
14
  state: State;
15
15
  }>>> & {
@@ -1,32 +1,31 @@
1
1
  import { State } from '@prefecthq/prefect-design';
2
2
  import { SchemaProperty } from '../../schemas/types/schema';
3
- declare const _default: import("vue").DefineComponent<{
4
- value: import("vue").PropType<boolean | undefined>;
5
- property: {
6
- type: import("vue").PropType<SchemaProperty & {
7
- type: 'boolean';
8
- }>;
9
- required: true;
10
- };
11
- state: {
12
- type: import("vue").PropType<State>;
13
- required: true;
3
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
+ value?: boolean | undefined;
5
+ } & {
6
+ property: SchemaProperty & {
7
+ type: "boolean";
14
8
  };
15
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ state: State;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
11
  "update:value": (value: boolean | undefined) => void;
17
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
- value: import("vue").PropType<boolean | undefined>;
19
- property: {
20
- type: import("vue").PropType<SchemaProperty & {
21
- type: 'boolean';
22
- }>;
23
- required: true;
12
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ value?: boolean | undefined;
14
+ } & {
15
+ property: SchemaProperty & {
16
+ type: "boolean";
24
17
  };
25
- state: {
26
- type: import("vue").PropType<State>;
27
- required: true;
28
- };
29
- }>> & {
18
+ state: State;
19
+ }>>> & {
30
20
  "onUpdate:value"?: ((value: boolean | undefined) => any) | undefined;
31
21
  }, {}, {}>;
32
22
  export default _default;
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToOption<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
@@ -1,17 +1,16 @@
1
1
  import { State } from '@prefecthq/prefect-design';
2
2
  import { SchemaProperty } from '../../schemas/types/schema';
3
- import { SchemaValue } from '../../schemas/types/schemaValues';
4
3
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
5
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
6
5
  property: SchemaProperty;
7
- value: SchemaValue;
6
+ value: unknown;
8
7
  errors: SchemaValueError[];
9
8
  state: State;
10
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
10
  "update:value": (args_0: unknown) => void;
12
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
12
  property: SchemaProperty;
14
- value: SchemaValue;
13
+ value: unknown;
15
14
  errors: SchemaValueError[];
16
15
  state: State;
17
16
  }>>> & {
@@ -2,7 +2,7 @@ import { State } from '@prefecthq/prefect-design';
2
2
  import { SchemaProperty } from '../../schemas/types/schema';
3
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
4
4
  property: SchemaProperty & {
5
- type: 'integer';
5
+ type: "integer";
6
6
  };
7
7
  value: number | null | undefined;
8
8
  state: State;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
10
10
  "update:value": (args_0: number | null | undefined) => void;
11
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
12
12
  property: SchemaProperty & {
13
- type: 'integer';
13
+ type: "integer";
14
14
  };
15
15
  value: number | null | undefined;
16
16
  state: State;
@@ -1,16 +1,22 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  kind: "json" | "none" | "jinja" | "workspace_variable";
4
+ value: unknown;
5
+ } & {
4
6
  property: SchemaProperty;
5
7
  disabled?: boolean | undefined;
6
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "update:kind": (args_0: "json" | "none" | "jinja" | "workspace_variable") => void;
9
+ "update:kind": (kind: "json" | "none" | "jinja" | "workspace_variable") => void;
10
+ "update:value": (value: unknown) => void;
8
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
12
  kind: "json" | "none" | "jinja" | "workspace_variable";
13
+ value: unknown;
14
+ } & {
10
15
  property: SchemaProperty;
11
16
  disabled?: boolean | undefined;
12
17
  }>>> & {
13
- "onUpdate:kind"?: ((args_0: "json" | "none" | "jinja" | "workspace_variable") => any) | undefined;
18
+ "onUpdate:kind"?: ((kind: "json" | "none" | "jinja" | "workspace_variable") => any) | undefined;
19
+ "onUpdate:value"?: ((value: unknown) => any) | undefined;
14
20
  }, {}, {}>, {
15
21
  default?(_: {}): any;
16
22
  }>;
@@ -1,14 +1,14 @@
1
1
  import { SchemaProperty } from '../../schemas/types/schema';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  property: SchemaProperty & {
4
- type: 'null';
4
+ type: "null";
5
5
  };
6
6
  value: null;
7
7
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
8
  "update:value": (args_0: null) => void;
9
9
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
10
10
  property: SchemaProperty & {
11
- type: 'null';
11
+ type: "null";
12
12
  };
13
13
  value: null;
14
14
  }>>> & {
@@ -3,7 +3,7 @@ import { SchemaValues } from '../../schemas/types/schemaValues';
3
3
  import { SchemaValueError } from '../../schemas/types/schemaValuesValidationResponse';
4
4
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
5
5
  property: SchemaProperty & {
6
- type: 'object';
6
+ type: "object";
7
7
  };
8
8
  values: SchemaValues | undefined;
9
9
  errors: SchemaValueError[];
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
11
11
  "update:values": (args_0: SchemaValues | undefined) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
13
  property: SchemaProperty & {
14
- type: 'object';
14
+ type: "object";
15
15
  };
16
16
  values: SchemaValues | undefined;
17
17
  errors: SchemaValueError[];