@prefecthq/prefect-ui-library 1.6.46 → 2.0.0-beta.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-a0316622.mjs → index-a467e34e.mjs} +25096 -22479
- package/dist/index-a467e34e.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +527 -528
- 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-6a364e78.mjs → viewport.es-f8e518db-b39becd6.mjs} +725 -21
- package/dist/viewport.es-f8e518db-b39becd6.mjs.map +1 -0
- package/package.json +5 -5
- package/dist/index-a0316622.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/types/src/models/ConcurrencyV2Limit.d.ts +0 -12
- package/dist/types/src/models/ConcurrencyV2LimitCreate.d.ts +0 -8
- package/dist/types/src/models/api/ConcurrencyV2CreateRequest.d.ts +0 -8
- package/dist/types/src/models/api/ConcurrencyV2Response.d.ts +0 -12
- package/dist/viewport.es-ae91b8e8-6a364e78.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;
|
|
@@ -193,7 +193,6 @@ export { default as PageHeadingWorkQueues } from './PageHeadingWorkQueues.vue';
|
|
|
193
193
|
export { default as PageHeadingWorkspaceSettings } from './PageHeadingWorkspaceSettings.vue';
|
|
194
194
|
export { default as ParametersTable } from './ParametersTable.vue';
|
|
195
195
|
export { default as ProcessTypeBadge } from './ProcessTypeBadge.vue';
|
|
196
|
-
export { default as PythonInput } from './PythonInput.vue';
|
|
197
196
|
export { default as QuickRunParametersModal } from './QuickRunParametersModal.vue';
|
|
198
197
|
export { default as ResultsCount } from './ResultsCount.vue';
|
|
199
198
|
export { default as RunMenu } from './RunMenu.vue';
|
|
@@ -131,7 +131,6 @@ export declare const maps: {
|
|
|
131
131
|
};
|
|
132
132
|
FlowRunGraphResponse: {
|
|
133
133
|
GraphNode: import("..").MapFunction<import("..").FlowRunGraphResponse, import("..").GraphNode>;
|
|
134
|
-
TimelineNode: import("..").MapFunction<import("..").FlowRunGraphResponse, import("@prefecthq/graphs").GraphTimelineNode>;
|
|
135
134
|
};
|
|
136
135
|
FlowRunHistoryResponse: {
|
|
137
136
|
RunHistory: import("..").MapFunction<import("..").FlowRunHistoryResponse, import("..").RunHistory>;
|
|
@@ -155,7 +155,6 @@ export declare const mapper: Mapper<{
|
|
|
155
155
|
};
|
|
156
156
|
FlowRunGraphResponse: {
|
|
157
157
|
GraphNode: MapFunction<import("..").FlowRunGraphResponse, import("..").GraphNode>;
|
|
158
|
-
TimelineNode: MapFunction<import("..").FlowRunGraphResponse, import("@prefecthq/graphs").GraphTimelineNode>;
|
|
159
158
|
};
|
|
160
159
|
FlowRunHistoryResponse: {
|
|
161
160
|
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';
|