@prefecthq/prefect-ui-library 1.5.4 → 1.5.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.
- package/dist/{index-ce542085.mjs → index-503c6ea8.mjs} +13689 -13591
- package/dist/index-503c6ea8.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +59 -58
- package/dist/prefect-ui-library.umd.js +74 -74
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/FlowList.vue.d.ts +0 -2
- package/dist/types/src/components/FlowRunTimeline.vue.d.ts +11 -1
- package/dist/types/src/compositions/index.d.ts +1 -0
- package/dist/types/src/compositions/useTaskRunResult.d.ts +10 -0
- package/dist/types/src/localization/index.d.ts +2 -0
- package/dist/types/src/localization/locale/en.d.ts +2 -0
- package/dist/types/src/services/can.d.ts +1 -1
- package/dist/{viewport.es-87938ebd-22223d03.mjs → viewport.es-a4ca92c6-135de565.mjs} +2 -2
- package/dist/{viewport.es-87938ebd-22223d03.mjs.map → viewport.es-a4ca92c6-135de565.mjs.map} +1 -1
- package/package.json +7 -7
- package/dist/index-ce542085.mjs.map +0 -1
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
import { TimelineVisibleDateRange } from '@prefecthq/graphs';
|
|
1
|
+
import { NodeSelectionEvent, TimelineVisibleDateRange } from '@prefecthq/graphs';
|
|
2
2
|
import { FlowRun } from '../models';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
flowRun: FlowRun;
|
|
5
5
|
visibleDateRange?: TimelineVisibleDateRange | undefined;
|
|
6
|
+
height: string;
|
|
7
|
+
selectedNode: NodeSelectionEvent | null;
|
|
6
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
9
|
"update:visibleDateRange": (value: TimelineVisibleDateRange | undefined) => void;
|
|
10
|
+
} & {
|
|
11
|
+
selection: (value: NodeSelectionEvent | null) => void;
|
|
12
|
+
} & {
|
|
13
|
+
"update:fullscreen": (value: boolean) => void;
|
|
8
14
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
15
|
flowRun: FlowRun;
|
|
10
16
|
visibleDateRange?: TimelineVisibleDateRange | undefined;
|
|
17
|
+
height: string;
|
|
18
|
+
selectedNode: NodeSelectionEvent | null;
|
|
11
19
|
}>>> & {
|
|
12
20
|
"onUpdate:visibleDateRange"?: ((value: TimelineVisibleDateRange | undefined) => any) | undefined;
|
|
21
|
+
onSelection?: ((value: NodeSelectionEvent | null) => any) | undefined;
|
|
22
|
+
"onUpdate:fullscreen"?: ((value: boolean) => any) | undefined;
|
|
13
23
|
}, {}>;
|
|
14
24
|
export default _default;
|
|
15
25
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -27,6 +27,7 @@ export * from './useShowModal';
|
|
|
27
27
|
export * from './useStatePolling';
|
|
28
28
|
export * from './useTabs';
|
|
29
29
|
export * from './useTaskRun';
|
|
30
|
+
export * from './useTaskRunResult';
|
|
30
31
|
export * from './useTaskRunsCount';
|
|
31
32
|
export * from './useWorkPoolQueue';
|
|
32
33
|
export * from './useWorkQueueStatus';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { UseSubscription } from '@prefecthq/vue-compositions';
|
|
2
|
+
import { ComputedRef } from 'vue';
|
|
3
|
+
import { Artifact } from '../models';
|
|
4
|
+
import { WorkspaceArtifactsApi } from '../services/WorkspaceArtifactsApi';
|
|
5
|
+
import { MaybeRef } from '../types';
|
|
6
|
+
export type UseTaskRunResult = {
|
|
7
|
+
subscription: UseSubscription<WorkspaceArtifactsApi['getArtifacts']>;
|
|
8
|
+
result: ComputedRef<Artifact | undefined>;
|
|
9
|
+
};
|
|
10
|
+
export declare function useTaskRunResult(taskRunId: MaybeRef<string | null | undefined>): UseTaskRunResult;
|
|
@@ -99,6 +99,7 @@ export declare const localization: {
|
|
|
99
99
|
updateWorkQueue: string;
|
|
100
100
|
};
|
|
101
101
|
info: {
|
|
102
|
+
with: string;
|
|
102
103
|
artifact: string;
|
|
103
104
|
artifacts: string;
|
|
104
105
|
addTagPlaceholder: string;
|
|
@@ -138,6 +139,7 @@ export declare const localization: {
|
|
|
138
139
|
workQueue: string;
|
|
139
140
|
filterByTags: string;
|
|
140
141
|
invalidData: (docsUrl: string) => string;
|
|
142
|
+
result: string;
|
|
141
143
|
noResults: string;
|
|
142
144
|
none: string;
|
|
143
145
|
infraOverrides: string;
|
|
@@ -99,6 +99,7 @@ export declare const en: {
|
|
|
99
99
|
updateWorkQueue: string;
|
|
100
100
|
};
|
|
101
101
|
info: {
|
|
102
|
+
with: string;
|
|
102
103
|
artifact: string;
|
|
103
104
|
artifacts: string;
|
|
104
105
|
addTagPlaceholder: string;
|
|
@@ -138,6 +139,7 @@ export declare const en: {
|
|
|
138
139
|
workQueue: string;
|
|
139
140
|
filterByTags: string;
|
|
140
141
|
invalidData: (docsUrl: string) => string;
|
|
142
|
+
result: string;
|
|
141
143
|
noResults: string;
|
|
142
144
|
none: string;
|
|
143
145
|
infraOverrides: string;
|
|
@@ -2,7 +2,7 @@ import { InjectionKey } from 'vue';
|
|
|
2
2
|
import { MaybeRef } from '../types/reactivity';
|
|
3
3
|
export declare const workspaceFeatureFlags: readonly ["access:collections", "access:workers", "access:variables"];
|
|
4
4
|
export type WorkspaceFeatureFlag = typeof workspaceFeatureFlags[number];
|
|
5
|
-
export declare const workspacePermissions: readonly ["create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
5
|
+
export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
6
6
|
export type WorkspacePermission = typeof workspacePermissions[number];
|
|
7
7
|
export type PermissionValue = boolean | undefined;
|
|
8
8
|
export type PermissionVerb<T extends string> = T extends `${infer Action}:${string}` ? Action : never;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { X as O, c as k, $ as b, f as c } from "./index-503c6ea8.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@prefecthq/vue-charts";
|
|
4
4
|
import "@prefecthq/prefect-design";
|
|
@@ -1535,4 +1535,4 @@ export {
|
|
|
1535
1535
|
C as Viewport,
|
|
1536
1536
|
N as Wheel
|
|
1537
1537
|
};
|
|
1538
|
-
//# sourceMappingURL=viewport.es-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-a4ca92c6-135de565.mjs.map
|