@prefecthq/prefect-ui-library 3.12.3 → 3.12.5

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 (26) hide show
  1. package/dist/{RunsPageWithDefaultFilter-D7VEOalx.mjs → RunsPageWithDefaultFilter-CQFT67so.mjs} +2 -2
  2. package/dist/{RunsPageWithDefaultFilter-D7VEOalx.mjs.map → RunsPageWithDefaultFilter-CQFT67so.mjs.map} +1 -1
  3. package/dist/{WorkQueueToWorkPoolQueueRedirect-BVJmBPIC.mjs → WorkQueueToWorkPoolQueueRedirect-ChKFvzsT.mjs} +2 -2
  4. package/dist/{WorkQueueToWorkPoolQueueRedirect-BVJmBPIC.mjs.map → WorkQueueToWorkPoolQueueRedirect-ChKFvzsT.mjs.map} +1 -1
  5. package/dist/{index-OKWFTjew.mjs → index-SgClbU4m.mjs} +4 -4
  6. package/dist/{index-OKWFTjew.mjs.map → index-SgClbU4m.mjs.map} +1 -1
  7. package/dist/prefect-ui-library.mjs +1 -1
  8. package/dist/prefect-ui-library.umd.js +1 -1
  9. package/dist/prefect-ui-library.umd.js.map +1 -1
  10. package/dist/types/src/components/AutomationMenu.vue.d.ts +7 -1
  11. package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +7 -1
  12. package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +7 -1
  13. package/dist/types/src/components/DeploymentDetails.vue.d.ts +7 -1
  14. package/dist/types/src/components/DeploymentMenu.vue.d.ts +7 -1
  15. package/dist/types/src/components/FlowMenu.vue.d.ts +7 -1
  16. package/dist/types/src/components/FlowRouterLink.vue.d.ts +7 -1
  17. package/dist/types/src/components/FlowRunArtifacts.vue.d.ts +7 -1
  18. package/dist/types/src/components/FlowRunMenu.vue.d.ts +7 -1
  19. package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +4 -0
  20. package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +7 -1
  21. package/dist/types/src/components/WorkPoolMenu.vue.d.ts +7 -1
  22. package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +7 -1
  23. package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +7 -1
  24. package/dist/types/src/router/routes.d.ts +13 -6
  25. package/package.json +1 -1
  26. package/src/router/routes.ts +2 -1
@@ -182,13 +182,19 @@ declare const routes: {
182
182
  readonly workspaceId?: string | undefined;
183
183
  };
184
184
  };
185
- deployment: (deploymentId: string) => {
185
+ deployment: (deploymentId: string, versionId?: string, query?: {
186
+ tab?: string;
187
+ } & import("vue-router").LocationQuery) => {
186
188
  readonly name: "workspace.deployments.deployment";
187
189
  readonly params: {
188
190
  readonly accountId?: string | undefined;
189
191
  readonly workspaceId?: string | undefined;
190
192
  readonly deploymentId: string;
191
193
  };
194
+ readonly query: {
195
+ readonly tab?: string;
196
+ readonly versionId: string | undefined;
197
+ };
192
198
  };
193
199
  deploymentEdit: (deploymentId: string) => {
194
200
  readonly name: "workspace.deployments.deployment-edit";
@@ -179,13 +179,19 @@ declare const routes: {
179
179
  readonly workspaceId?: string | undefined;
180
180
  };
181
181
  };
182
- deployment: (deploymentId: string) => {
182
+ deployment: (deploymentId: string, versionId?: string, query?: {
183
+ tab?: string;
184
+ } & import("vue-router").LocationQuery) => {
183
185
  readonly name: "workspace.deployments.deployment";
184
186
  readonly params: {
185
187
  readonly accountId?: string | undefined;
186
188
  readonly workspaceId?: string | undefined;
187
189
  readonly deploymentId: string;
188
190
  };
191
+ readonly query: {
192
+ readonly tab?: string;
193
+ readonly versionId: string | undefined;
194
+ };
189
195
  };
190
196
  deploymentEdit: (deploymentId: string) => {
191
197
  readonly name: "workspace.deployments.deployment-edit";
@@ -178,13 +178,19 @@ declare const routes: {
178
178
  readonly workspaceId?: string | undefined;
179
179
  };
180
180
  };
181
- deployment: (deploymentId: string) => {
181
+ deployment: (deploymentId: string, versionId?: string, query?: {
182
+ tab?: string;
183
+ } & import("vue-router").LocationQuery) => {
182
184
  readonly name: "workspace.deployments.deployment";
183
185
  readonly params: {
184
186
  readonly accountId?: string | undefined;
185
187
  readonly workspaceId?: string | undefined;
186
188
  readonly deploymentId: string;
187
189
  };
190
+ readonly query: {
191
+ readonly tab?: string;
192
+ readonly versionId: string | undefined;
193
+ };
188
194
  };
189
195
  deploymentEdit: (deploymentId: string) => {
190
196
  readonly name: "workspace.deployments.deployment-edit";
@@ -193,13 +193,19 @@ declare const routes: {
193
193
  readonly workspaceId?: string | undefined;
194
194
  };
195
195
  };
196
- deployment: (deploymentId: string) => {
196
+ deployment: (deploymentId: string, versionId?: string, query?: {
197
+ tab?: string;
198
+ } & import("vue-router").LocationQuery) => {
197
199
  readonly name: "workspace.deployments.deployment";
198
200
  readonly params: {
199
201
  readonly accountId?: string | undefined;
200
202
  readonly workspaceId?: string | undefined;
201
203
  readonly deploymentId: string;
202
204
  };
205
+ readonly query: {
206
+ readonly tab?: string;
207
+ readonly versionId: string | undefined;
208
+ };
203
209
  };
204
210
  deploymentEdit: (deploymentId: string) => {
205
211
  readonly name: "workspace.deployments.deployment-edit";
@@ -184,13 +184,19 @@ declare const routes: {
184
184
  readonly workspaceId?: string | undefined;
185
185
  };
186
186
  };
187
- deployment: (deploymentId: string) => {
187
+ deployment: (deploymentId: string, versionId?: string, query?: {
188
+ tab?: string;
189
+ } & import("vue-router").LocationQuery) => {
188
190
  readonly name: "workspace.deployments.deployment";
189
191
  readonly params: {
190
192
  readonly accountId?: string | undefined;
191
193
  readonly workspaceId?: string | undefined;
192
194
  readonly deploymentId: string;
193
195
  };
196
+ readonly query: {
197
+ readonly tab?: string;
198
+ readonly versionId: string | undefined;
199
+ };
194
200
  };
195
201
  deploymentEdit: (deploymentId: string) => {
196
202
  readonly name: "workspace.deployments.deployment-edit";
@@ -181,13 +181,19 @@ declare const routes: {
181
181
  readonly workspaceId?: string | undefined;
182
182
  };
183
183
  };
184
- deployment: (deploymentId: string) => {
184
+ deployment: (deploymentId: string, versionId?: string, query?: {
185
+ tab?: string;
186
+ } & import("vue-router").LocationQuery) => {
185
187
  readonly name: "workspace.deployments.deployment";
186
188
  readonly params: {
187
189
  readonly accountId?: string | undefined;
188
190
  readonly workspaceId?: string | undefined;
189
191
  readonly deploymentId: string;
190
192
  };
193
+ readonly query: {
194
+ readonly tab?: string;
195
+ readonly versionId: string | undefined;
196
+ };
191
197
  };
192
198
  deploymentEdit: (deploymentId: string) => {
193
199
  readonly name: "workspace.deployments.deployment-edit";
@@ -179,13 +179,19 @@ declare const routes: {
179
179
  readonly workspaceId?: string | undefined;
180
180
  };
181
181
  };
182
- deployment: (deploymentId: string) => {
182
+ deployment: (deploymentId: string, versionId?: string, query?: {
183
+ tab?: string;
184
+ } & import("vue-router").LocationQuery) => {
183
185
  readonly name: "workspace.deployments.deployment";
184
186
  readonly params: {
185
187
  readonly accountId?: string | undefined;
186
188
  readonly workspaceId?: string | undefined;
187
189
  readonly deploymentId: string;
188
190
  };
191
+ readonly query: {
192
+ readonly tab?: string;
193
+ readonly versionId: string | undefined;
194
+ };
189
195
  };
190
196
  deploymentEdit: (deploymentId: string) => {
191
197
  readonly name: "workspace.deployments.deployment-edit";
@@ -184,13 +184,19 @@ declare const routes: {
184
184
  readonly workspaceId?: string | undefined;
185
185
  };
186
186
  };
187
- deployment: (deploymentId: string) => {
187
+ deployment: (deploymentId: string, versionId?: string, query?: {
188
+ tab?: string;
189
+ } & import("vue-router").LocationQuery) => {
188
190
  readonly name: "workspace.deployments.deployment";
189
191
  readonly params: {
190
192
  readonly accountId?: string | undefined;
191
193
  readonly workspaceId?: string | undefined;
192
194
  readonly deploymentId: string;
193
195
  };
196
+ readonly query: {
197
+ readonly tab?: string;
198
+ readonly versionId: string | undefined;
199
+ };
194
200
  };
195
201
  deploymentEdit: (deploymentId: string) => {
196
202
  readonly name: "workspace.deployments.deployment-edit";
@@ -183,13 +183,19 @@ declare const routes: {
183
183
  readonly workspaceId?: string | undefined;
184
184
  };
185
185
  };
186
- deployment: (deploymentId: string) => {
186
+ deployment: (deploymentId: string, versionId?: string, query?: {
187
+ tab?: string;
188
+ } & import("vue-router").LocationQuery) => {
187
189
  readonly name: "workspace.deployments.deployment";
188
190
  readonly params: {
189
191
  readonly accountId?: string | undefined;
190
192
  readonly workspaceId?: string | undefined;
191
193
  readonly deploymentId: string;
192
194
  };
195
+ readonly query: {
196
+ readonly tab?: string;
197
+ readonly versionId: string | undefined;
198
+ };
193
199
  };
194
200
  deploymentEdit: (deploymentId: string) => {
195
201
  readonly name: "workspace.deployments.deployment-edit";
@@ -22,6 +22,10 @@ declare const crumbs: import("vue").ComputedRef<({
22
22
  readonly workspaceId?: string | undefined;
23
23
  readonly deploymentId: string;
24
24
  };
25
+ readonly query: {
26
+ readonly tab?: string;
27
+ readonly versionId: string | undefined;
28
+ };
25
29
  };
26
30
  } | {
27
31
  text: string;
@@ -183,13 +183,19 @@ declare const routes: {
183
183
  readonly workspaceId?: string | undefined;
184
184
  };
185
185
  };
186
- deployment: (deploymentId: string) => {
186
+ deployment: (deploymentId: string, versionId?: string, query?: {
187
+ tab?: string;
188
+ } & import("vue-router").LocationQuery) => {
187
189
  readonly name: "workspace.deployments.deployment";
188
190
  readonly params: {
189
191
  readonly accountId?: string | undefined;
190
192
  readonly workspaceId?: string | undefined;
191
193
  readonly deploymentId: string;
192
194
  };
195
+ readonly query: {
196
+ readonly tab?: string;
197
+ readonly versionId: string | undefined;
198
+ };
193
199
  };
194
200
  deploymentEdit: (deploymentId: string) => {
195
201
  readonly name: "workspace.deployments.deployment-edit";
@@ -179,13 +179,19 @@ declare const routes: {
179
179
  readonly workspaceId?: string | undefined;
180
180
  };
181
181
  };
182
- deployment: (deploymentId: string) => {
182
+ deployment: (deploymentId: string, versionId?: string, query?: {
183
+ tab?: string;
184
+ } & import("vue-router").LocationQuery) => {
183
185
  readonly name: "workspace.deployments.deployment";
184
186
  readonly params: {
185
187
  readonly accountId?: string | undefined;
186
188
  readonly workspaceId?: string | undefined;
187
189
  readonly deploymentId: string;
188
190
  };
191
+ readonly query: {
192
+ readonly tab?: string;
193
+ readonly versionId: string | undefined;
194
+ };
189
195
  };
190
196
  deploymentEdit: (deploymentId: string) => {
191
197
  readonly name: "workspace.deployments.deployment-edit";
@@ -181,13 +181,19 @@ declare const routes: {
181
181
  readonly workspaceId?: string | undefined;
182
182
  };
183
183
  };
184
- deployment: (deploymentId: string) => {
184
+ deployment: (deploymentId: string, versionId?: string, query?: {
185
+ tab?: string;
186
+ } & import("vue-router").LocationQuery) => {
185
187
  readonly name: "workspace.deployments.deployment";
186
188
  readonly params: {
187
189
  readonly accountId?: string | undefined;
188
190
  readonly workspaceId?: string | undefined;
189
191
  readonly deploymentId: string;
190
192
  };
193
+ readonly query: {
194
+ readonly tab?: string;
195
+ readonly versionId: string | undefined;
196
+ };
191
197
  };
192
198
  deploymentEdit: (deploymentId: string) => {
193
199
  readonly name: "workspace.deployments.deployment-edit";
@@ -174,13 +174,19 @@ export declare function useWorkspaceRoutes(): {
174
174
  readonly workspaceId?: string | undefined;
175
175
  };
176
176
  };
177
- deployment: (deploymentId: string) => {
177
+ deployment: (deploymentId: string, versionId?: string, query?: {
178
+ tab?: string;
179
+ } & import("vue-router").LocationQuery) => {
178
180
  readonly name: "workspace.deployments.deployment";
179
181
  readonly params: {
180
182
  readonly accountId?: string | undefined;
181
183
  readonly workspaceId?: string | undefined;
182
184
  readonly deploymentId: string;
183
185
  };
186
+ readonly query: {
187
+ readonly tab?: string;
188
+ readonly versionId: string | undefined;
189
+ };
184
190
  };
185
191
  deploymentEdit: (deploymentId: string) => {
186
192
  readonly name: "workspace.deployments.deployment-edit";
@@ -1,3 +1,4 @@
1
+ import { LocationQuery } from 'vue-router';
1
2
  import { AutomationAction } from '../automations/types/actions';
2
3
  import { CreateAutomationQuery } from '../automations/types/createAutomationQuery';
3
4
  import { WorkspaceEvent } from '../models';
@@ -27,7 +28,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
27
28
  readonly accountId?: string | undefined;
28
29
  readonly workspaceId?: string | undefined;
29
30
  };
30
- readonly query: import("vue-router").LocationQuery | undefined;
31
+ readonly query: LocationQuery | undefined;
31
32
  };
32
33
  automationEdit: (automationId: string) => {
33
34
  readonly name: "workspace.automation.edit";
@@ -43,7 +44,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
43
44
  readonly accountId?: string | undefined;
44
45
  readonly workspaceId?: string | undefined;
45
46
  };
46
- readonly query: import("vue-router").LocationQuery;
47
+ readonly query: LocationQuery;
47
48
  };
48
49
  automateFlow: (flowId: string, actions?: AutomationAction[]) => {
49
50
  readonly name: "workspace.automation.create";
@@ -51,7 +52,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
51
52
  readonly accountId?: string | undefined;
52
53
  readonly workspaceId?: string | undefined;
53
54
  };
54
- readonly query: import("vue-router").LocationQuery;
55
+ readonly query: LocationQuery;
55
56
  };
56
57
  automateWorkPool: (workPoolId: string, actions?: AutomationAction[]) => {
57
58
  readonly name: "workspace.automation.create";
@@ -59,7 +60,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
59
60
  readonly accountId?: string | undefined;
60
61
  readonly workspaceId?: string | undefined;
61
62
  };
62
- readonly query: import("vue-router").LocationQuery;
63
+ readonly query: LocationQuery;
63
64
  };
64
65
  automateWorkPoolQueue: (workPoolQueueId: string, actions?: AutomationAction[]) => {
65
66
  readonly name: "workspace.automation.create";
@@ -67,7 +68,7 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
67
68
  readonly accountId?: string | undefined;
68
69
  readonly workspaceId?: string | undefined;
69
70
  };
70
- readonly query: import("vue-router").LocationQuery;
71
+ readonly query: LocationQuery;
71
72
  };
72
73
  events: () => {
73
74
  readonly name: "workspace.events";
@@ -182,13 +183,19 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
182
183
  readonly workspaceId?: string | undefined;
183
184
  };
184
185
  };
185
- deployment: (deploymentId: string) => {
186
+ deployment: (deploymentId: string, versionId?: string, query?: {
187
+ tab?: string;
188
+ } & LocationQuery) => {
186
189
  readonly name: "workspace.deployments.deployment";
187
190
  readonly params: {
188
191
  readonly accountId?: string | undefined;
189
192
  readonly workspaceId?: string | undefined;
190
193
  readonly deploymentId: string;
191
194
  };
195
+ readonly query: {
196
+ readonly tab?: string;
197
+ readonly versionId: string | undefined;
198
+ };
192
199
  };
193
200
  deploymentEdit: (deploymentId: string) => {
194
201
  readonly name: "workspace.deployments.deployment-edit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "3.12.3",
3
+ "version": "3.12.5",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,3 +1,4 @@
1
+ import { LocationQuery } from 'vue-router'
1
2
  import { AutomationAction } from '@/automations/types/actions'
2
3
  import { CreateAutomationQuery } from '@/automations/types/createAutomationQuery'
3
4
  import { WorkspaceEvent } from '@/models'
@@ -79,7 +80,7 @@ export function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConfig) {
79
80
  flowCollections: () => ({ name: 'workspace.flows.collections', params: { ...config } }) as const,
80
81
  flowCollection: (name: string) => ({ name: 'workspace.flows.collections.collection', params: { name, ...config } }) as const,
81
82
  deployments: () => ({ name: 'workspace.deployments', params: { ...config } }) as const,
82
- deployment: (deploymentId: string) => ({ name: 'workspace.deployments.deployment', params: { deploymentId, ...config } }) as const,
83
+ deployment: (deploymentId: string, versionId?: string, query?: { tab?: string } & LocationQuery) => ({ name: 'workspace.deployments.deployment', params: { deploymentId, ...config }, query: { versionId, ...query } }) as const,
83
84
  deploymentEdit: (deploymentId: string) => ({ name: 'workspace.deployments.deployment-edit', params: { deploymentId, ...config } }) as const,
84
85
  deploymentDuplicate: (deploymentId: string) => ({ name: 'workspace.deployments.deployment-duplicate', params: { deploymentId, ...config } }) as const,
85
86
  deploymentFlowRunCreate: (deploymentId: string, parameters?: Record<string, unknown>) => {