@prefecthq/prefect-ui-library 1.6.48 → 2.0.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.
- package/dist/{index-a0d15dfc.mjs → index-5be7bb67.mjs} +23715 -21105
- package/dist/index-5be7bb67.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +528 -529
- package/dist/prefect-ui-library.umd.js +598 -83
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/services/mockWorkspaceFlowRunsApi.d.ts +2 -2
- package/dist/types/src/components/ArtifactCard.vue.d.ts +6 -0
- package/dist/types/src/components/LogoImage.vue.d.ts +3 -3
- package/dist/types/src/components/PageHeading.vue.d.ts +10 -10
- package/dist/types/src/components/TimeSpanFilter.vue.d.ts +4 -5
- package/dist/types/src/components/index.d.ts +0 -1
- package/dist/types/src/maps/index.d.ts +0 -1
- package/dist/types/src/services/Mapper.d.ts +0 -1
- package/dist/types/src/services/WorkspaceFlowRunsApi.d.ts +3 -3
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/src/types/size.d.ts +1 -0
- package/dist/types/src/utilities/timeline.d.ts +3 -0
- package/dist/{viewport.es-ae91b8e8-96b1fc79.mjs → viewport.es-f8e518db-3cb654c0.mjs} +725 -21
- package/dist/viewport.es-f8e518db-3cb654c0.mjs.map +1 -0
- package/package.json +10 -10
- package/dist/index-a0d15dfc.mjs.map +0 -1
- package/dist/types/src/components/PythonInput.vue.d.ts +0 -16
- package/dist/types/src/maps/flowRunTimeline.d.ts +0 -4
- package/dist/viewport.es-ae91b8e8-96b1fc79.mjs.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BreadCrumbs
|
|
2
|
-
import {
|
|
1
|
+
import { BreadCrumbs } from '@prefecthq/prefect-design';
|
|
2
|
+
import { Size } from '../types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
-
crumbs: {
|
|
5
|
-
type: PropType<BreadCrumbs>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
4
|
size: {
|
|
9
|
-
type: PropType<Size>;
|
|
5
|
+
type: import("vue").PropType<Size>;
|
|
10
6
|
default: string;
|
|
11
7
|
};
|
|
12
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
8
|
crumbs: {
|
|
14
|
-
type: PropType<BreadCrumbs>;
|
|
9
|
+
type: import("vue").PropType<BreadCrumbs>;
|
|
15
10
|
required: true;
|
|
16
11
|
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
13
|
size: {
|
|
18
|
-
type: PropType<Size>;
|
|
14
|
+
type: import("vue").PropType<Size>;
|
|
19
15
|
default: string;
|
|
20
16
|
};
|
|
17
|
+
crumbs: {
|
|
18
|
+
type: import("vue").PropType<BreadCrumbs>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
21
|
}>>, {
|
|
22
22
|
size: Size;
|
|
23
23
|
}, {}>, {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Size } from '@prefecthq/prefect-design';
|
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
|
3
2
|
selected: {
|
|
4
3
|
type: import("vue").PropType<number>;
|
|
5
4
|
required: true;
|
|
6
5
|
};
|
|
7
|
-
|
|
8
|
-
type: import("vue").PropType<
|
|
6
|
+
small: {
|
|
7
|
+
type: import("vue").PropType<boolean>;
|
|
9
8
|
};
|
|
10
9
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
10
|
"update:selected": (value: number) => void;
|
|
@@ -14,8 +13,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
13
|
type: import("vue").PropType<number>;
|
|
15
14
|
required: true;
|
|
16
15
|
};
|
|
17
|
-
|
|
18
|
-
type: import("vue").PropType<
|
|
16
|
+
small: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
19
18
|
};
|
|
20
19
|
}>> & {
|
|
21
20
|
"onUpdate:selected"?: ((value: number) => any) | undefined;
|
|
@@ -197,7 +197,6 @@ export { default as PageHeadingWorkQueues } from './PageHeadingWorkQueues.vue';
|
|
|
197
197
|
export { default as PageHeadingWorkspaceSettings } from './PageHeadingWorkspaceSettings.vue';
|
|
198
198
|
export { default as ParametersTable } from './ParametersTable.vue';
|
|
199
199
|
export { default as ProcessTypeBadge } from './ProcessTypeBadge.vue';
|
|
200
|
-
export { default as PythonInput } from './PythonInput.vue';
|
|
201
200
|
export { default as QuickRunParametersModal } from './QuickRunParametersModal.vue';
|
|
202
201
|
export { default as ResultsCount } from './ResultsCount.vue';
|
|
203
202
|
export { default as RunMenu } from './RunMenu.vue';
|
|
@@ -140,7 +140,6 @@ export declare const maps: {
|
|
|
140
140
|
};
|
|
141
141
|
FlowRunGraphResponse: {
|
|
142
142
|
GraphNode: import("..").MapFunction<import("..").FlowRunGraphResponse, import("..").GraphNode>;
|
|
143
|
-
TimelineNode: import("..").MapFunction<import("..").FlowRunGraphResponse, import("@prefecthq/graphs").GraphTimelineNode>;
|
|
144
143
|
};
|
|
145
144
|
FlowRunHistoryResponse: {
|
|
146
145
|
RunHistory: import("..").MapFunction<import("..").FlowRunHistoryResponse, import("..").RunHistory>;
|
|
@@ -164,7 +164,6 @@ export declare const mapper: Mapper<{
|
|
|
164
164
|
};
|
|
165
165
|
FlowRunGraphResponse: {
|
|
166
166
|
GraphNode: MapFunction<import("..").FlowRunGraphResponse, import("..").GraphNode>;
|
|
167
|
-
TimelineNode: MapFunction<import("..").FlowRunGraphResponse, import("@prefecthq/graphs").GraphTimelineNode>;
|
|
168
167
|
};
|
|
169
168
|
FlowRunHistoryResponse: {
|
|
170
169
|
RunHistory: MapFunction<import("..").FlowRunHistoryResponse, import("..").RunHistory>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TimelineData } from '@prefecthq/graphs';
|
|
2
2
|
import { StateUpdate } from '../models';
|
|
3
3
|
import { FlowRunsFilter, FlowRunsHistoryFilter } from '../models/Filters';
|
|
4
4
|
import { FlowRun } from '../models/FlowRun';
|
|
@@ -12,7 +12,7 @@ export interface IWorkspaceFlowRunsApi {
|
|
|
12
12
|
getFlowRunsHistory: (filter: FlowRunsHistoryFilter) => Promise<RunHistory[]>;
|
|
13
13
|
getFlowRunsAverageLateness: (filter: FlowRunsFilter) => Promise<number | null>;
|
|
14
14
|
getFlowRunsGraph: (flowRunId: string) => Promise<GraphNode[]>;
|
|
15
|
-
getFlowRunsTimeline: (flowRunId: string) => Promise<
|
|
15
|
+
getFlowRunsTimeline: (flowRunId: string) => Promise<TimelineData>;
|
|
16
16
|
retryFlowRun: (flowRunId: string) => Promise<void>;
|
|
17
17
|
setFlowRunState: (flowRunId: string, body: StateUpdate) => Promise<void>;
|
|
18
18
|
resumeFlowRun: (flowRunId: string) => Promise<void>;
|
|
@@ -27,7 +27,7 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi implements IWorks
|
|
|
27
27
|
getFlowRunsHistory(filter: FlowRunsHistoryFilter): Promise<RunHistory[]>;
|
|
28
28
|
getFlowRunsAverageLateness(filter: FlowRunsFilter): Promise<number | null>;
|
|
29
29
|
getFlowRunsGraph(flowRunId: string): Promise<GraphNode[]>;
|
|
30
|
-
getFlowRunsTimeline(id: string): Promise<
|
|
30
|
+
getFlowRunsTimeline(id: string): Promise<TimelineData>;
|
|
31
31
|
retryFlowRun(id: string): Promise<void>;
|
|
32
32
|
setFlowRunState(id: string, body: StateUpdate): Promise<void>;
|
|
33
33
|
resumeFlowRun(id: string): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|