@prefecthq/prefect-ui-library 1.4.1 → 1.4.3
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-6bbae2a5.mjs → index-d3611b56.mjs} +13077 -13016
- package/dist/index-d3611b56.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +577 -572
- package/dist/prefect-ui-library.umd.js +71 -71
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/VariablesTable.vue.d.ts +4 -1
- package/dist/types/src/compositions/index.d.ts +2 -0
- package/dist/types/src/compositions/useFlowRuns.d.ts +5 -0
- package/dist/types/src/compositions/useFlows.d.ts +5 -0
- package/dist/types/src/localization/index.d.ts +4 -0
- package/dist/types/src/localization/locale/en.d.ts +4 -0
- package/dist/types/src/maps/index.d.ts +1 -1
- package/dist/types/src/models/StateType.d.ts +3 -3
- package/dist/types/src/models/Variable.d.ts +2 -0
- package/dist/types/src/services/Mapper.d.ts +1 -1
- package/dist/types/src/services/WorkspaceApi.d.ts +1 -1
- package/dist/types/src/utilities/arrays.d.ts +1 -0
- package/dist/{viewport.es-20251669-31c6f860.mjs → viewport.es-ff98659c-f500916f.mjs} +2 -2
- package/dist/{viewport.es-20251669-31c6f860.mjs.map → viewport.es-ff98659c-f500916f.mjs.map} +1 -1
- package/package.json +6 -6
- package/dist/index-6bbae2a5.mjs.map +0 -1
|
@@ -45,6 +45,10 @@ export declare const localization: {
|
|
|
45
45
|
resumeFlowRun: string;
|
|
46
46
|
retryRun: string;
|
|
47
47
|
scheduleFlowRun: string;
|
|
48
|
+
arrayValueTooLong: (property: string, max: number) => string;
|
|
49
|
+
stringValueTooLong: (property: string, max: number) => string;
|
|
50
|
+
numberValueTooLarge: (property: string, max: number) => string;
|
|
51
|
+
valueTooLarge: (property: string, max: number) => string;
|
|
48
52
|
submitNotification: string;
|
|
49
53
|
updateBlock: string;
|
|
50
54
|
updateNotification: string;
|
|
@@ -45,6 +45,10 @@ export declare const en: {
|
|
|
45
45
|
resumeFlowRun: string;
|
|
46
46
|
retryRun: string;
|
|
47
47
|
scheduleFlowRun: string;
|
|
48
|
+
arrayValueTooLong: (property: string, max: number) => string;
|
|
49
|
+
stringValueTooLong: (property: string, max: number) => string;
|
|
50
|
+
numberValueTooLarge: (property: string, max: number) => string;
|
|
51
|
+
valueTooLarge: (property: string, max: number) => string;
|
|
48
52
|
submitNotification: string;
|
|
49
53
|
updateBlock: string;
|
|
50
54
|
updateNotification: string;
|
|
@@ -175,7 +175,7 @@ export declare const maps: {
|
|
|
175
175
|
};
|
|
176
176
|
RunHistory: {
|
|
177
177
|
FlowRunHistoryResponse: import("..").MapFunction<import("..").RunHistory, import("..").FlowRunHistoryResponse>;
|
|
178
|
-
DivergingBarChartItem: import("..").MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem
|
|
178
|
+
DivergingBarChartItem: import("..").MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem>;
|
|
179
179
|
};
|
|
180
180
|
SavedSearchCreate: {
|
|
181
181
|
SavedSearchCreateRequest: import("..").MapFunction<import("..").SavedSearchCreate, import("..").SavedSearchCreateRequest>;
|
|
@@ -5,9 +5,9 @@ export declare function isStateType(value: unknown): value is StateType;
|
|
|
5
5
|
export declare const terminalStateType: string[];
|
|
6
6
|
export type TerminalStateType = typeof terminalStateType[number];
|
|
7
7
|
export type ServerTerminalStateType = Uppercase<TerminalStateType>;
|
|
8
|
-
export declare function isTerminalStateType(value:
|
|
8
|
+
export declare function isTerminalStateType(value: unknown): value is TerminalStateType;
|
|
9
9
|
export declare const stuckStateTypes: string[];
|
|
10
10
|
export type StuckStateType = typeof stuckStateTypes[number];
|
|
11
11
|
export declare function isStuckStateType(value: string): value is StuckStateType;
|
|
12
|
-
export declare function isPausedStateType(value:
|
|
13
|
-
export declare function isRunningStateType(value:
|
|
12
|
+
export declare function isPausedStateType(value: unknown): boolean;
|
|
13
|
+
export declare function isRunningStateType(value: unknown): boolean;
|
|
@@ -6,6 +6,8 @@ export interface IVariable {
|
|
|
6
6
|
value: string;
|
|
7
7
|
tags: string[];
|
|
8
8
|
}
|
|
9
|
+
export declare const MAX_VARIABLE_NAME_LENGTH: 255;
|
|
10
|
+
export declare const MAX_VARIABLE_VALUE_LENGTH: 5000;
|
|
9
11
|
export declare class Variable implements IVariable {
|
|
10
12
|
readonly id: string;
|
|
11
13
|
readonly created: Date;
|
|
@@ -199,7 +199,7 @@ export declare const mapper: Mapper<{
|
|
|
199
199
|
};
|
|
200
200
|
RunHistory: {
|
|
201
201
|
FlowRunHistoryResponse: MapFunction<import("..").RunHistory, import("..").FlowRunHistoryResponse>;
|
|
202
|
-
DivergingBarChartItem: MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem
|
|
202
|
+
DivergingBarChartItem: MapFunction<import("..").RunHistory, import("@prefecthq/vue-charts").DivergingBarChartItem>;
|
|
203
203
|
};
|
|
204
204
|
SavedSearchCreate: {
|
|
205
205
|
SavedSearchCreateRequest: MapFunction<import("..").SavedSearchCreate, import("..").SavedSearchCreateRequest>;
|
|
@@ -6,5 +6,5 @@ export type CloudApiConfig = PrefectConfig & {
|
|
|
6
6
|
export type WorkspaceApiConfig = PrefectConfig | CloudApiConfig;
|
|
7
7
|
export declare function isCloudConfig(config: WorkspaceApiConfig): config is CloudApiConfig;
|
|
8
8
|
export declare class WorkspaceApi extends Api<WorkspaceApiConfig> {
|
|
9
|
-
protected apiBaseUrl: ApiBaseUrl
|
|
9
|
+
protected apiBaseUrl: ApiBaseUrl;
|
|
10
10
|
}
|
|
@@ -18,3 +18,4 @@ export declare function some<T>(source: T[], min?: number, max?: number): T[];
|
|
|
18
18
|
export declare function intersects(first: unknown[], ...rest: unknown[][]): boolean;
|
|
19
19
|
export declare function groupBy<T, K extends keyof T>(source: T[], key: K): Map<T[K], T[]>;
|
|
20
20
|
export declare function separate<T>(source: T[], filter: (value: T) => boolean): [found: T[], notFound: T[]];
|
|
21
|
+
export declare function toggle<T>(source: T[], value: T, force?: boolean): T[];
|
|
@@ -1,4 +1,4 @@
|
|
|
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-d3611b56.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
|
$ as Wheel
|
|
1537
1537
|
};
|
|
1538
|
-
//# sourceMappingURL=viewport.es-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-ff98659c-f500916f.mjs.map
|