@prefecthq/prefect-ui-library 1.1.26 → 1.2.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 (44) hide show
  1. package/dist/{index-37059d1b.mjs → index-c9eb9416.mjs} +15894 -15353
  2. package/dist/index-c9eb9416.mjs.map +1 -0
  3. package/dist/prefect-ui-library.mjs +669 -660
  4. package/dist/prefect-ui-library.umd.js +76 -76
  5. package/dist/prefect-ui-library.umd.js.map +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/types/src/components/ArtifactCollections.vue.d.ts +2 -0
  8. package/dist/types/src/components/ArtifactCollectionsEmptyState.vue.d.ts +2 -0
  9. package/dist/types/src/components/ArtifactResultCard.vue.d.ts +18 -0
  10. package/dist/types/src/components/ArtifactTimelineItem.vue.d.ts +2 -0
  11. package/dist/types/src/components/ArtifactTypeSelect.vue.d.ts +19 -0
  12. package/dist/types/src/components/ConfirmStateChangeModal.vue.d.ts +1 -1
  13. package/dist/types/src/components/PageHeadingArtifactKey.vue.d.ts +16 -0
  14. package/dist/types/src/components/PageHeadingArtifacts.vue.d.ts +2 -0
  15. package/dist/types/src/components/RowGridLayoutList.vue.d.ts +25 -0
  16. package/dist/types/src/components/ViewModeButtonGroup.vue.d.ts +2 -0
  17. package/dist/types/src/components/WorkPoolBaseJobTemplateFormSection.vue.d.ts +20 -0
  18. package/dist/types/src/components/index.d.ts +9 -0
  19. package/dist/types/src/compositions/useBlockDocument.d.ts +5 -3
  20. package/dist/types/src/compositions/useBlockSchema.d.ts +6 -4
  21. package/dist/types/src/compositions/useBlockType.d.ts +6 -4
  22. package/dist/types/src/compositions/useDeployment.d.ts +5 -3
  23. package/dist/types/src/compositions/useFlow.d.ts +5 -3
  24. package/dist/types/src/compositions/useFlowRun.d.ts +5 -3
  25. package/dist/types/src/compositions/useTaskRun.d.ts +5 -3
  26. package/dist/types/src/compositions/useTaskRunsCount.d.ts +5 -2
  27. package/dist/types/src/compositions/useWorkPoolQueue.d.ts +5 -3
  28. package/dist/types/src/compositions/useWorkQueueStatus.d.ts +5 -3
  29. package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +2 -1
  30. package/dist/types/src/localization/index.d.ts +4 -0
  31. package/dist/types/src/localization/locale/en.d.ts +4 -0
  32. package/dist/types/src/mocks/index.d.ts +1 -1
  33. package/dist/types/src/models/Filters.d.ts +3 -0
  34. package/dist/types/src/models/api/Filters.d.ts +6 -1
  35. package/dist/types/src/router/routes.d.ts +2 -1
  36. package/dist/types/src/services/Mocker.d.ts +1 -1
  37. package/dist/types/src/types/useEntitySubscription.d.ts +7 -0
  38. package/dist/types/src/utilities/activeViewMode.d.ts +2 -0
  39. package/dist/types/src/utilities/timezone.d.ts +29 -29
  40. package/dist/{viewport.es-20251669-990a96d6.mjs → viewport.es-20251669-d77ce039.mjs} +3 -3
  41. package/dist/{viewport.es-20251669-990a96d6.mjs.map → viewport.es-20251669-d77ce039.mjs.map} +1 -1
  42. package/package.json +1 -1
  43. package/dist/index-37059d1b.mjs.map +0 -1
  44. package/dist/types/src/utilities/artifactsViewMode.d.ts +0 -5
@@ -0,0 +1,19 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ selected: string | null;
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:selected": (value: string | null) => void;
5
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ selected: string | null;
7
+ }>>> & {
8
+ "onUpdate:selected"?: ((value: string | null) => 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
+ };
@@ -16,8 +16,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
16
  }>, {
17
17
  label: string;
18
18
  }>>> & {
19
- onChange?: ((value: StateUpdateDetails) => any) | undefined;
20
19
  "onUpdate:showModal"?: ((value: boolean) => any) | undefined;
20
+ onChange?: ((value: StateUpdateDetails) => any) | undefined;
21
21
  }, {
22
22
  label: string;
23
23
  }>, {
@@ -0,0 +1,16 @@
1
+ import { Artifact } from '../models';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ artifact: Artifact;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ artifact: Artifact;
6
+ }>>>, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,25 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ items: any[];
3
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ items: any[];
5
+ }>>>, {}>, {
6
+ default: (_: {
7
+ item: any;
8
+ }) => any;
9
+ empty: (_: {}) => any;
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
+ };
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { WorkerBaseJobTemplate } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ baseJobTemplate: WorkerBaseJobTemplate;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ "update:base-job-template": (value: WorkerBaseJobTemplate) => void;
6
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ baseJobTemplate: WorkerBaseJobTemplate;
8
+ }>>> & {
9
+ "onUpdate:base-job-template"?: ((value: WorkerBaseJobTemplate) => 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
+ };
@@ -1,11 +1,16 @@
1
1
  export { default as ActivityChart } from './ActivityChart.vue';
2
2
  export { default as ArtifactCard } from './ArtifactCard.vue';
3
+ export { default as ArtifactCollectionsEmptyState } from './ArtifactCollectionsEmptyState.vue';
4
+ export { default as ArtifactCollections } from './ArtifactCollections.vue';
3
5
  export { default as ArtifactDataView } from './ArtifactDataView.vue';
4
6
  export { default as ArtifactDataMarkdown } from './ArtifactDataMarkdown.vue';
5
7
  export { default as ArtifactDataResult } from './ArtifactDataResult.vue';
6
8
  export { default as ArtifactDataUnknown } from './ArtifactDataUnknown.vue';
7
9
  export { default as ArtifactDescription } from './ArtifactDescription.vue';
8
10
  export { default as ArtifactMenu } from './ArtifactMenu.vue';
11
+ export { default as ArtifactResultCard } from './ArtifactResultCard.vue';
12
+ export { default as ArtifactTimeline } from './ArtifactTimeline.vue';
13
+ export { default as ArtifactTypeSelect } from './ArtifactTypeSelect.vue';
9
14
  export { default as BetaBadge } from './BetaBadge.vue';
10
15
  export { default as BlockCapabilityBlockDocumentInput } from './BlockCapabilityBlockDocumentInput.vue';
11
16
  export { default as BlockDocumentCard } from './BlockDocumentCard.vue';
@@ -132,6 +137,8 @@ export { default as PageHeading } from './PageHeading.vue';
132
137
  export { default as PageHeadingAccountSettings } from './PageHeadingAccountSettings.vue';
133
138
  export { default as PageHeadingApiKeys } from './PageHeadingApiKeys.vue';
134
139
  export { default as PageHeadingArtifact } from './PageHeadingArtifact.vue';
140
+ export { default as PageHeadingArtifactKey } from './PageHeadingArtifactKey.vue';
141
+ export { default as PageHeadingArtifacts } from './PageHeadingArtifacts.vue';
135
142
  export { default as PageHeadingBlock } from './PageHeadingBlock.vue';
136
143
  export { default as PageHeadingBlockEdit } from './PageHeadingBlockEdit.vue';
137
144
  export { default as PageHeadingBlocks } from './PageHeadingBlocks.vue';
@@ -212,8 +219,10 @@ export { default as TaskRunLogs } from './TaskRunLogs.vue';
212
219
  export { default as TaskRunsSort } from './TaskRunsSort.vue';
213
220
  export { default as TimezoneSelect } from './TimezoneSelect.vue';
214
221
  export { default as ToastFlowRunCreate } from './ToastFlowRunCreate.vue';
222
+ export { default as ViewModeButtonGroup } from './ViewModeButtonGroup.vue';
215
223
  export { default as WorkersLateIndicator } from './WorkersLateIndicator.vue';
216
224
  export { default as WorkersTable } from './WorkersTable.vue';
225
+ export { default as WorkPoolBaseJobTemplateFormSection } from './WorkPoolBaseJobTemplateFormSection.vue';
217
226
  export { default as WorkPoolCard } from './WorkPoolCard.vue';
218
227
  export { default as WorkPoolCombobox } from './WorkPoolCombobox.vue';
219
228
  export { default as WorkPoolCreateForm } from './WorkPoolCreateForm.vue';
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { BlockDocument } from '../models/BlockDocument';
3
- export declare function useBlockDocument(blockDocumentId: string | Ref<string | null | null>): ComputedRef<BlockDocument | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceBlockDocumentsApi } from '../services/WorkspaceBlockDocumentsApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseBlockDocument = UseEntitySubscription<WorkspaceBlockDocumentsApi['getBlockDocument'], 'blockDocument'>;
5
+ export declare function useBlockDocument(blockDocumentId: string | Ref<string | null | null>): UseBlockDocument;
@@ -1,4 +1,6 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { BlockSchema } from '../models/BlockSchema';
3
- export declare function useBlockSchema(blockSchemaId: string | Ref<string | null | null>): ComputedRef<BlockSchema | undefined>;
4
- export declare function useBlockSchemaForBlockType(blockTypeId: string | Ref<string | null | null>): ComputedRef<BlockSchema | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceBlockSchemasApi } from '../services/WorkspaceBlockSchemasApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseBlockSchema = UseEntitySubscription<WorkspaceBlockSchemasApi['getBlockSchema'], 'blockSchema'>;
5
+ export declare function useBlockSchema(blockSchemaId: string | Ref<string | null | null>): UseBlockSchema;
6
+ export declare function useBlockSchemaForBlockType(blockTypeId: string | Ref<string | null | null>): UseBlockSchema;
@@ -1,4 +1,6 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { BlockType } from '../models/BlockType';
3
- export declare function useBlockType(blockTypeId: string | Ref<string | null | undefined>): ComputedRef<BlockType | undefined>;
4
- export declare function useBlockTypeBySlug(blockTypeSlug: string | Ref<string | null | undefined>): ComputedRef<BlockType | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceBlockTypesApi } from '../services/WorkspaceBlockTypesApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseBlockType = UseEntitySubscription<WorkspaceBlockTypesApi['getBlockType'], 'blockType'>;
5
+ export declare function useBlockType(blockTypeId: string | Ref<string | null | undefined>): UseBlockType;
6
+ export declare function useBlockTypeBySlug(blockTypeSlug: string | Ref<string | null | undefined>): UseBlockType;
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { Deployment } from '../models/Deployment';
3
- export declare function useDeployment(deploymentId: string | Ref<string | null | undefined>): ComputedRef<Deployment | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceDeploymentsApi } from '../services/WorkspaceDeploymentsApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseDeployment = UseEntitySubscription<WorkspaceDeploymentsApi['getDeployment'], 'deployment'>;
5
+ export declare function useDeployment(deploymentId: string | Ref<string | null | undefined>): UseDeployment;
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { Flow } from '../models/Flow';
3
- export declare function useFlow(flowId: string | Ref<string | null | undefined>): ComputedRef<Flow | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceFlowsApi } from '../services/WorkspaceFlowsApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseFlow = UseEntitySubscription<WorkspaceFlowsApi['getFlow'], 'flow'>;
5
+ export declare function useFlow(flowId: string | Ref<string | null | undefined>): UseFlow;
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { FlowRun } from '../models/FlowRun';
3
- export declare function useFlowRun(flowRunId: string | Ref<string | null | undefined>): ComputedRef<FlowRun | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceFlowRunsApi } from '../services';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseFlowRun = UseEntitySubscription<WorkspaceFlowRunsApi['getFlowRun'], 'flowRun'>;
5
+ export declare function useFlowRun(flowRunId: string | Ref<string | null | undefined>): UseFlowRun;
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { TaskRun } from '../models/TaskRun';
3
- export declare function useTaskRun(taskRunId: string | Ref<string | null | undefined>): ComputedRef<TaskRun | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceTaskRunsApi } from '../services/WorkspaceTaskRunsApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseTaskRun = UseEntitySubscription<WorkspaceTaskRunsApi['getTaskRun'], 'taskRun'>;
5
+ export declare function useTaskRun(taskRunId: string | Ref<string | null | undefined>): UseTaskRun;
@@ -1,2 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- export declare function useTaskRunsCount(flowRunId: string | Ref<string | null | undefined>): ComputedRef<number | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceTaskRunsApi } from '../services/WorkspaceTaskRunsApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseTaskRunsCount = UseEntitySubscription<WorkspaceTaskRunsApi['getTaskRunsCount'], 'taskRunsCount'>;
5
+ export declare function useTaskRunsCount(flowRunId: string | Ref<string | null | undefined>): UseTaskRunsCount;
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { WorkPoolQueue } from '../models/WorkPoolQueue';
3
- export declare function useWorkPoolQueue(workPoolQueueId: string | Ref<string | null | undefined>): ComputedRef<WorkPoolQueue | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceWorkQueuesApi } from '../services/WorkspaceWorkQueuesApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseWorkPoolQueue = UseEntitySubscription<WorkspaceWorkQueuesApi['getWorkQueue'], 'workPoolQueue'>;
5
+ export declare function useWorkPoolQueue(workPoolQueueId: string | Ref<string | null | undefined>): UseWorkPoolQueue;
@@ -1,3 +1,5 @@
1
- import { ComputedRef, Ref } from 'vue';
2
- import { WorkQueueStatus } from '../models/WorkQueueStatus';
3
- export declare function useWorkQueueStatus(workQueueId: string | Ref<string | null | undefined>): ComputedRef<WorkQueueStatus | undefined>;
1
+ import { Ref } from 'vue';
2
+ import { WorkspaceWorkQueuesApi } from '../services/WorkspaceWorkQueuesApi';
3
+ import { UseEntitySubscription } from '../types/useEntitySubscription';
4
+ export type UseWorkQueueStatus = UseEntitySubscription<WorkspaceWorkQueuesApi['getWorkQueueStatus'], 'workQueueStatus'>;
5
+ export declare function useWorkQueueStatus(workQueueId: string | Ref<string | null | undefined>): UseWorkQueueStatus;
@@ -7,11 +7,12 @@ export declare function useWorkspaceRoutes(): {
7
7
  readonly artifactId: string;
8
8
  };
9
9
  };
10
- artifactKey: () => {
10
+ artifactKey: (artifactId: string) => {
11
11
  readonly name: "workspace.artifacts.artifact.key";
12
12
  readonly params: {
13
13
  readonly accountId?: string | undefined;
14
14
  readonly workspaceId?: string | undefined;
15
+ readonly artifactId: string;
15
16
  };
16
17
  };
17
18
  artifacts: () => {
@@ -1,5 +1,6 @@
1
1
  export declare const localization: {
2
2
  docs: {
3
+ artifacts: string;
3
4
  gettingStarted: string;
4
5
  flows: string;
5
6
  flowRuns: string;
@@ -88,6 +89,9 @@ export declare const localization: {
88
89
  };
89
90
  info: {
90
91
  artifact: string;
92
+ artifacts: string;
93
+ artifactSearch: string;
94
+ latest: string;
91
95
  noResults: string;
92
96
  flowRun: string;
93
97
  taskRun: string;
@@ -1,5 +1,6 @@
1
1
  export declare const en: {
2
2
  docs: {
3
+ artifacts: string;
3
4
  gettingStarted: string;
4
5
  flows: string;
5
6
  flowRuns: string;
@@ -88,6 +89,9 @@ export declare const en: {
88
89
  };
89
90
  info: {
90
91
  artifact: string;
92
+ artifacts: string;
93
+ artifactSearch: string;
94
+ latest: string;
91
95
  noResults: string;
92
96
  flowRun: string;
93
97
  taskRun: string;
@@ -10,7 +10,7 @@ export declare const mocks: {
10
10
  blockType: import("..").MockFunction<import("..").BlockType, [(Partial<import("..").BlockType> | undefined)?]>;
11
11
  blockTypeSnippet: import("..").MockFunction<string, []>;
12
12
  boolean: import("..").MockFunction<boolean, []>;
13
- char: import("..").MockFunction<"h" | "d" | "w" | "m" | "y" | "s" | "a" | "e" | "i" | "o" | "u" | "b" | "c" | "f" | "g" | "j" | "k" | "l" | "n" | "p" | "q" | "r" | "t" | "v" | "x" | "z", []>;
13
+ char: import("..").MockFunction<"h" | "d" | "w" | "m" | "y" | "a" | "b" | "c" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "x" | "z", []>;
14
14
  collectionItem: import("..").MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
15
15
  concurrencyLimit: import("..").MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
16
16
  createdOrUpdatedBy: import("..").MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
@@ -60,7 +60,10 @@ export type ArtifactFilter = {
60
60
  id?: string[];
61
61
  key?: string[];
62
62
  keyLike?: string;
63
+ keyExists?: boolean;
64
+ keyLatest?: boolean;
63
65
  type?: string[];
66
+ notType?: string[];
64
67
  flowRunId?: string[];
65
68
  taskRunId?: string[];
66
69
  };
@@ -28,6 +28,10 @@ export type NullableEquals = {
28
28
  export type Exists = {
29
29
  exists_?: boolean;
30
30
  };
31
+ /** Matches on boolean equality */
32
+ export type Latest = {
33
+ latest_?: boolean;
34
+ };
31
35
  /** If true, returns results whose key is null */
32
36
  export type IsNull = {
33
37
  is_null_?: boolean;
@@ -137,7 +141,8 @@ export type TaskRunsFilterRequest = UnionFilterRequest<TaskRunSortValues>;
137
141
  export type DeploymentsFilterRequest = UnionFilterRequest<DeploymentSortValues>;
138
142
  export type ArtifactFilterRequest = {
139
143
  id?: Any;
140
- key?: Any & Like;
144
+ key?: Any & Like & Exists & Latest;
145
+ type?: Any & NotAny;
141
146
  flow_run_id?: Any;
142
147
  task_run_id?: Any;
143
148
  };
@@ -11,11 +11,12 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
11
11
  readonly artifactId: string;
12
12
  };
13
13
  };
14
- artifactKey: () => {
14
+ artifactKey: (artifactId: string) => {
15
15
  readonly name: "workspace.artifacts.artifact.key";
16
16
  readonly params: {
17
17
  readonly accountId?: string | undefined;
18
18
  readonly workspaceId?: string | undefined;
19
+ readonly artifactId: string;
19
20
  };
20
21
  };
21
22
  artifacts: () => {
@@ -23,7 +23,7 @@ export declare const mocker: Mocker<{
23
23
  blockType: MockFunction<import("..").BlockType, [(Partial<import("..").BlockType> | undefined)?]>;
24
24
  blockTypeSnippet: MockFunction<string, []>;
25
25
  boolean: MockFunction<boolean, []>;
26
- char: MockFunction<"h" | "d" | "w" | "m" | "y" | "s" | "a" | "e" | "i" | "o" | "u" | "b" | "c" | "f" | "g" | "j" | "k" | "l" | "n" | "p" | "q" | "r" | "t" | "v" | "x" | "z", []>;
26
+ char: MockFunction<"h" | "d" | "w" | "m" | "y" | "a" | "b" | "c" | "e" | "f" | "g" | "i" | "j" | "k" | "l" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "x" | "z", []>;
27
27
  collectionItem: MockFunction<import("..").CollectionItem, [(Partial<import("..").CollectionItem> | undefined)?]>;
28
28
  concurrencyLimit: MockFunction<import("..").ConcurrencyLimit, [(Partial<import("..").ConcurrencyLimit> | undefined)?]>;
29
29
  createdOrUpdatedBy: MockFunction<import("..").CreatedOrUpdatedBy, [(Partial<import("..").CreatedOrUpdatedBy> | undefined)?]>;
@@ -0,0 +1,7 @@
1
+ import { Action, UseSubscription } from '@prefecthq/vue-compositions';
2
+ import { ComputedRef } from 'vue';
3
+ export type UseEntitySubscription<T extends Action, PropertyName extends string> = {
4
+ subscription: UseSubscription<T | (() => undefined)>;
5
+ } & {
6
+ [P in PropertyName]: ComputedRef<UseSubscription<T | (() => undefined)>['response']>;
7
+ };
@@ -0,0 +1,2 @@
1
+ import { ViewOption } from '../types/flowRunResults';
2
+ export declare const activeViewMode: import("vue").WritableComputedRef<ViewOption>;
@@ -40,7 +40,7 @@ export declare const dateFunctions: {
40
40
  differenceInCalendarQuarters(dateLeft: number | Date, dateRight: number | Date): number;
41
41
  differenceInCalendarWeeks(dateLeft: number | Date, dateRight: number | Date, options?: {
42
42
  locale?: Locale | undefined;
43
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
43
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
44
44
  } | undefined): number;
45
45
  differenceInCalendarYears(dateLeft: number | Date, dateRight: number | Date): number;
46
46
  differenceInDays(dateLeft: number | Date, dateRight: number | Date): number;
@@ -79,7 +79,7 @@ export declare const dateFunctions: {
79
79
  eachWeekendOfYear(date: number | Date): Date[];
80
80
  eachWeekOfInterval(interval: Interval, options?: {
81
81
  locale?: Locale | undefined;
82
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
82
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
83
83
  } | undefined): Date[];
84
84
  eachYearOfInterval(interval: Interval): Date[];
85
85
  endOfDay(date: number | Date): Date;
@@ -97,13 +97,13 @@ export declare const dateFunctions: {
97
97
  endOfTomorrow(): Date;
98
98
  endOfWeek(date: number | Date, options?: {
99
99
  locale?: Locale | undefined;
100
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
100
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
101
101
  } | undefined): Date;
102
102
  endOfYear(date: number | Date): Date;
103
103
  endOfYesterday(): Date;
104
104
  format(date: number | Date, format: string, options?: {
105
105
  locale?: Locale | undefined;
106
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
106
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
107
107
  firstWeekContainsDate?: number | undefined;
108
108
  useAdditionalWeekYearTokens?: boolean | undefined;
109
109
  useAdditionalDayOfYearTokens?: boolean | undefined;
@@ -147,7 +147,7 @@ export declare const dateFunctions: {
147
147
  formatISODuration(duration: Duration): string;
148
148
  formatRelative(date: number | Date, baseDate: number | Date, options?: {
149
149
  locale?: Locale | undefined;
150
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
150
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
151
151
  } | undefined): string;
152
152
  formatRFC3339(date: number | Date, options?: {
153
153
  fractionDigits?: 0 | 1 | 2 | 3 | undefined;
@@ -155,7 +155,7 @@ export declare const dateFunctions: {
155
155
  formatRFC7231(date: number | Date): string;
156
156
  fromUnixTime(unixTime: number): Date;
157
157
  getDate(date: number | Date): number;
158
- getDay(date: number | Date): 0 | 1 | 6 | 4 | 5 | 2 | 3;
158
+ getDay(date: number | Date): 0 | 1 | 4 | 5 | 2 | 3 | 6;
159
159
  getDayOfYear(date: number | Date): number;
160
160
  getDaysInMonth(date: number | Date): number;
161
161
  getDaysInYear(date: number | Date): number;
@@ -176,21 +176,21 @@ export declare const dateFunctions: {
176
176
  getUnixTime(date: number | Date): number;
177
177
  getWeek(date: number | Date, options?: {
178
178
  locale?: Locale | undefined;
179
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
180
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
179
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
180
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
181
181
  } | undefined): number;
182
182
  getWeekOfMonth(date: number | Date, options?: {
183
183
  locale?: Locale | undefined;
184
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
184
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
185
185
  } | undefined): number;
186
186
  getWeeksInMonth(date: number | Date, options?: {
187
187
  locale?: Locale | undefined;
188
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
188
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
189
189
  } | undefined): number;
190
190
  getWeekYear(date: number | Date, options?: {
191
191
  locale?: Locale | undefined;
192
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
193
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
192
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
193
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
194
194
  } | undefined): number;
195
195
  getYear(date: number | Date): number;
196
196
  hoursToMilliseconds(hours: number): number;
@@ -233,8 +233,8 @@ export declare const dateFunctions: {
233
233
  isLeapYear(date: number | Date): boolean;
234
234
  isMatch(dateString: string, formatString: string, options?: {
235
235
  locale?: Locale | undefined;
236
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
237
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
236
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
237
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
238
238
  useAdditionalWeekYearTokens?: boolean | undefined;
239
239
  useAdditionalDayOfYearTokens?: boolean | undefined;
240
240
  } | undefined): boolean;
@@ -250,7 +250,7 @@ export declare const dateFunctions: {
250
250
  isSameSecond(dateLeft: number | Date, dateRight: number | Date): boolean;
251
251
  isSameWeek(dateLeft: number | Date, dateRight: number | Date, options?: {
252
252
  locale?: Locale | undefined;
253
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
253
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
254
254
  } | undefined): boolean;
255
255
  isSameYear(dateLeft: number | Date, dateRight: number | Date): boolean;
256
256
  isSaturday(date: number | Date): boolean;
@@ -263,7 +263,7 @@ export declare const dateFunctions: {
263
263
  isThisSecond(date: number | Date): boolean;
264
264
  isThisWeek(date: number | Date, options?: {
265
265
  locale?: Locale | undefined;
266
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
266
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
267
267
  } | undefined): boolean;
268
268
  isThisYear(date: number | Date): boolean;
269
269
  isThursday(date: number | Date): boolean;
@@ -284,7 +284,7 @@ export declare const dateFunctions: {
284
284
  } | undefined): Date;
285
285
  lastDayOfWeek(date: number | Date, options?: {
286
286
  locale?: Locale | undefined;
287
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
287
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
288
288
  } | undefined): Date;
289
289
  lastDayOfYear(date: number | Date): Date;
290
290
  lightFormat(date: number | Date, format: string): string;
@@ -309,8 +309,8 @@ export declare const dateFunctions: {
309
309
  nextWednesday(date: number | Date): Date;
310
310
  parse(dateString: string, formatString: string, referenceDate: number | Date, options?: {
311
311
  locale?: Locale | undefined;
312
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
313
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
312
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
313
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
314
314
  useAdditionalWeekYearTokens?: boolean | undefined;
315
315
  useAdditionalDayOfYearTokens?: boolean | undefined;
316
316
  } | undefined): Date;
@@ -347,13 +347,13 @@ export declare const dateFunctions: {
347
347
  setDate(date: number | Date, dayOfMonth: number): Date;
348
348
  setDay(date: number | Date, day: number, options?: {
349
349
  locale?: Locale | undefined;
350
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
350
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
351
351
  } | undefined): Date;
352
352
  setDayOfYear(date: number | Date, dayOfYear: number): Date;
353
353
  setDefaultOptions(newOptions: {
354
354
  locale?: Locale | undefined;
355
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
356
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
355
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
356
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
357
357
  }): void;
358
358
  setHours(date: number | Date, hours: number): Date;
359
359
  setISODay(date: number | Date, day: number): Date;
@@ -366,13 +366,13 @@ export declare const dateFunctions: {
366
366
  setSeconds(date: number | Date, seconds: number): Date;
367
367
  setWeek(date: number | Date, week: number, options?: {
368
368
  locale?: Locale | undefined;
369
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
370
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
369
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
370
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
371
371
  } | undefined): Date;
372
372
  setWeekYear(date: number | Date, weekYear: number, options?: {
373
373
  locale?: Locale | undefined;
374
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
375
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
374
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
375
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
376
376
  } | undefined): Date;
377
377
  setYear(date: number | Date, year: number): Date;
378
378
  startOfDay(date: number | Date): Date;
@@ -388,12 +388,12 @@ export declare const dateFunctions: {
388
388
  startOfTomorrow(): Date;
389
389
  startOfWeek(date: number | Date, options?: {
390
390
  locale?: Locale | undefined;
391
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
391
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
392
392
  } | undefined): Date;
393
393
  startOfWeekYear(date: number | Date, options?: {
394
394
  locale?: Locale | undefined;
395
- weekStartsOn?: 0 | 1 | 6 | 4 | 5 | 2 | 3 | undefined;
396
- firstWeekContainsDate?: 1 | 6 | 4 | 5 | 7 | 2 | 3 | undefined;
395
+ weekStartsOn?: 0 | 1 | 4 | 5 | 2 | 3 | 6 | undefined;
396
+ firstWeekContainsDate?: 1 | 4 | 5 | 7 | 2 | 3 | 6 | undefined;
397
397
  } | undefined): Date;
398
398
  startOfYear(date: number | Date): Date;
399
399
  startOfYesterday(): Date;
@@ -1,10 +1,10 @@
1
- import { u as c, Q as b, X as O, l as k } from "./index-37059d1b.mjs";
1
+ import { u as c, Q as b, X as O, l as k } from "./index-c9eb9416.mjs";
2
2
  import "vue";
3
3
  import "@prefecthq/vue-charts";
4
4
  import "@prefecthq/prefect-design";
5
5
  import "@prefecthq/vue-compositions";
6
- import "vue-router";
7
6
  import "vee-validate";
7
+ import "vue-router";
8
8
  class d {
9
9
  constructor(t) {
10
10
  this.parent = t, this.paused = !1;
@@ -1535,4 +1535,4 @@ export {
1535
1535
  C as Viewport,
1536
1536
  $ as Wheel
1537
1537
  };
1538
- //# sourceMappingURL=viewport.es-20251669-990a96d6.mjs.map
1538
+ //# sourceMappingURL=viewport.es-20251669-d77ce039.mjs.map