@prefecthq/prefect-ui-library 1.1.23 → 1.1.25
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/README.md +2 -2
- package/dist/{index-0521790f.mjs → index-6bc92340.mjs} +25343 -29698
- package/dist/index-6bc92340.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +664 -663
- package/dist/prefect-ui-library.mjs.map +1 -1
- package/dist/prefect-ui-library.umd.js +93 -97
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/sections/artifacts/ArtifactTimeline.vue.d.ts +2 -0
- package/dist/types/demo/services/KeyedDataStore.d.ts +1 -1
- package/dist/types/src/components/ArtifactTimeline.vue.d.ts +15 -0
- package/dist/types/src/components/ArtifactTimelineItem.vue.d.ts +24 -0
- package/dist/types/src/localization/index.d.ts +1 -0
- package/dist/types/src/localization/locale/en.d.ts +1 -0
- package/dist/types/src/models/Filters.d.ts +2 -1
- package/dist/types/src/models/api/Filters.d.ts +4 -1
- package/dist/types/src/services/WorkspaceBlockDocumentsApi.d.ts +1 -0
- package/dist/{viewport.es-20251669-da8f7bf1.mjs → viewport.es-20251669-32e588f9.mjs} +3 -2
- package/dist/{viewport.es-20251669-da8f7bf1.mjs.map → viewport.es-20251669-32e588f9.mjs.map} +1 -1
- package/package.json +4 -4
- package/dist/index-0521790f.mjs.map +0 -1
|
@@ -2,7 +2,7 @@ export declare class DataStoreDataNotFound extends Error {
|
|
|
2
2
|
constructor();
|
|
3
3
|
}
|
|
4
4
|
type NoInfer<T> = T & {};
|
|
5
|
-
type KeyedDataStoreFindCallback<T> = (value: T) => boolean;
|
|
5
|
+
export type KeyedDataStoreFindCallback<T> = (value: T) => boolean;
|
|
6
6
|
type KeyedDataStoreHydrateMethod<T> = (value: T) => T;
|
|
7
7
|
type KeyedDataStoreOptions<T extends {
|
|
8
8
|
id: K;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
artifactKey: string;
|
|
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
|
+
artifactKey: string;
|
|
5
|
+
}>>>, {}>;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
+
} : {
|
|
12
|
+
type: import('vue').PropType<T[K]>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Artifact } from '../models';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
artifact: Artifact;
|
|
4
|
+
expanded?: (boolean | unknown[] | undefined) | null;
|
|
5
|
+
value?: unknown;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:expanded": (value: boolean | unknown[] | undefined) => void;
|
|
8
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
artifact: Artifact;
|
|
10
|
+
expanded?: (boolean | unknown[] | undefined) | null;
|
|
11
|
+
value?: unknown;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:expanded"?: ((value: boolean | unknown[] | undefined) => any) | undefined;
|
|
14
|
+
}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -60,6 +60,7 @@ export type ArtifactFilter = {
|
|
|
60
60
|
id?: string[];
|
|
61
61
|
key?: string[];
|
|
62
62
|
keyLike?: string;
|
|
63
|
+
type?: string[];
|
|
63
64
|
flowRunId?: string[];
|
|
64
65
|
taskRunId?: string[];
|
|
65
66
|
};
|
|
@@ -117,7 +118,7 @@ export type BlockSchemaFilter = {
|
|
|
117
118
|
export type BlockDocumentFilter = {
|
|
118
119
|
operator?: Operation;
|
|
119
120
|
id?: string[];
|
|
120
|
-
isAnonymous?: boolean;
|
|
121
|
+
isAnonymous?: boolean | null;
|
|
121
122
|
blockTypeId?: string[];
|
|
122
123
|
name?: string[];
|
|
123
124
|
};
|
|
@@ -21,6 +21,9 @@ export type NotAny = {
|
|
|
21
21
|
export type Equals = {
|
|
22
22
|
eq_?: boolean;
|
|
23
23
|
};
|
|
24
|
+
export type NullableEquals = {
|
|
25
|
+
eq_?: boolean | null;
|
|
26
|
+
};
|
|
24
27
|
/** Matches on boolean equality */
|
|
25
28
|
export type Exists = {
|
|
26
29
|
exists_?: boolean;
|
|
@@ -124,7 +127,7 @@ export type BlockSchemaFilterRequest = {
|
|
|
124
127
|
export type BlockDocumentFilterRequest = {
|
|
125
128
|
operator?: OperationRequest;
|
|
126
129
|
id?: Any;
|
|
127
|
-
is_anonymous?:
|
|
130
|
+
is_anonymous?: NullableEquals;
|
|
128
131
|
block_type_id?: Any;
|
|
129
132
|
name?: Any;
|
|
130
133
|
};
|
|
@@ -12,6 +12,7 @@ export interface IWorkspaceBlockDocumentsApi {
|
|
|
12
12
|
}
|
|
13
13
|
export declare class WorkspaceBlockDocumentsApi extends WorkspaceApi implements IWorkspaceBlockDocumentsApi {
|
|
14
14
|
protected routePrefix: string;
|
|
15
|
+
private readonly batcher;
|
|
15
16
|
getBlockDocument(blockDocumentId: string): Promise<BlockDocument>;
|
|
16
17
|
getBlockDocuments(filter?: BlockDocumentsFilter): Promise<BlockDocument[]>;
|
|
17
18
|
createBlockDocument(blockDocument: BlockDocumentCreate): Promise<BlockDocument>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { u as c, Q as b, X as O, l as k } from "./index-
|
|
1
|
+
import { u as c, Q as b, X as O, l as k } from "./index-6bc92340.mjs";
|
|
2
2
|
import "vue";
|
|
3
|
+
import "@prefecthq/vue-charts";
|
|
3
4
|
import "@prefecthq/prefect-design";
|
|
4
5
|
import "@prefecthq/vue-compositions";
|
|
5
6
|
import "vue-router";
|
|
@@ -1534,4 +1535,4 @@ export {
|
|
|
1534
1535
|
C as Viewport,
|
|
1535
1536
|
$ as Wheel
|
|
1536
1537
|
};
|
|
1537
|
-
//# sourceMappingURL=viewport.es-20251669-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-20251669-32e588f9.mjs.map
|