@prefecthq/prefect-ui-library 1.4.0 → 1.4.1
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-3ea05524.mjs → index-6bbae2a5.mjs} +11871 -11594
- package/dist/index-6bbae2a5.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +421 -418
- package/dist/prefect-ui-library.umd.js +83 -83
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/PageHeadingVariables.vue.d.ts +5 -1
- package/dist/types/src/components/VariablesTable.vue.d.ts +3 -1
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/compositions/filters.d.ts +2 -1
- package/dist/types/src/localization/index.d.ts +3 -1
- package/dist/types/src/localization/locale/en.d.ts +3 -1
- package/dist/types/src/models/api/VariableResponse.d.ts +1 -1
- package/dist/types/src/services/WorkspaceVariablesApi.d.ts +2 -2
- package/dist/{viewport.es-20251669-a528876a.mjs → viewport.es-20251669-31c6f860.mjs} +2 -2
- package/dist/{viewport.es-20251669-a528876a.mjs.map → viewport.es-20251669-31c6f860.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-3ea05524.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef } from 'vue';
|
|
2
|
-
import { BlockDocumentFilter, BlockDocumentsFilter, BlockSchemaFilter, BlockSchemasFilter, BlockTypeFilter, BlockTypesFilter, DeploymentFilter, DeploymentsFilter, FlowFilter, FlowRunFilter, FlowRunsFilter, FlowRunsHistoryFilter, FlowsFilter, StateFilter, TagFilter, TaskRunFilter, TaskRunsFilter, VariablesFilter, WorkPoolFilter, WorkPoolQueueFilter, WorkPoolsFilter } from '../models/Filters';
|
|
2
|
+
import { BlockDocumentFilter, BlockDocumentsFilter, BlockSchemaFilter, BlockSchemasFilter, BlockTypeFilter, BlockTypesFilter, DeploymentFilter, DeploymentsFilter, FlowFilter, FlowRunFilter, FlowRunsFilter, FlowRunsHistoryFilter, FlowsFilter, StateFilter, TagFilter, TaskRunFilter, TaskRunsFilter, VariableFilter, VariablesFilter, WorkPoolFilter, WorkPoolQueueFilter, WorkPoolsFilter } from '../models/Filters';
|
|
3
3
|
import { AnyRecord } from '../types/any';
|
|
4
4
|
import { MaybeReactive } from '../types/reactivity';
|
|
5
5
|
export type Filter<T extends AnyRecord> = {
|
|
@@ -37,6 +37,7 @@ export declare function useFlowsFilter(defaultValue?: MaybeReactive<FlowsFilter>
|
|
|
37
37
|
export declare function useFlowRunsFilter(defaultValue?: MaybeReactive<FlowRunsFilter>): UseFilter<FlowRunsFilter>;
|
|
38
38
|
export declare function useTaskRunsFilter(defaultValue?: MaybeReactive<TaskRunsFilter>): UseFilter<TaskRunsFilter>;
|
|
39
39
|
export declare function useDeploymentsFilter(defaultValue?: MaybeReactive<DeploymentsFilter>): UseFilter<DeploymentsFilter>;
|
|
40
|
+
export declare function useVariableFilter(defaultValue?: MaybeReactive<VariableFilter>): UseFilter<VariableFilter>;
|
|
40
41
|
export declare function useVariablesFilter(defaultValue?: MaybeReactive<VariablesFilter>): UseFilter<VariablesFilter>;
|
|
41
42
|
export declare function useFlowsFilterFromRoute(defaultValue?: MaybeReactive<FlowsFilter>, prefix?: string): UseFilter<FlowsFilter>;
|
|
42
43
|
export declare function useFlowRunsFilterFromRoute(defaultValue?: MaybeReactive<FlowRunsFilter>, prefix?: string): UseFilter<FlowRunsFilter>;
|
|
@@ -104,7 +104,8 @@ export declare const localization: {
|
|
|
104
104
|
close: string;
|
|
105
105
|
save: string;
|
|
106
106
|
name: string;
|
|
107
|
-
|
|
107
|
+
thisVariable: string;
|
|
108
|
+
theseVariables: string;
|
|
108
109
|
value: string;
|
|
109
110
|
latest: string;
|
|
110
111
|
item: string;
|
|
@@ -116,6 +117,7 @@ export declare const localization: {
|
|
|
116
117
|
edit: string;
|
|
117
118
|
delete: string;
|
|
118
119
|
tags: string;
|
|
120
|
+
filterByTags: string;
|
|
119
121
|
invalidData: (docsUrl: string) => string;
|
|
120
122
|
noResults: string;
|
|
121
123
|
flowRun: string;
|
|
@@ -104,7 +104,8 @@ export declare const en: {
|
|
|
104
104
|
close: string;
|
|
105
105
|
save: string;
|
|
106
106
|
name: string;
|
|
107
|
-
|
|
107
|
+
thisVariable: string;
|
|
108
|
+
theseVariables: string;
|
|
108
109
|
value: string;
|
|
109
110
|
latest: string;
|
|
110
111
|
item: string;
|
|
@@ -116,6 +117,7 @@ export declare const en: {
|
|
|
116
117
|
edit: string;
|
|
117
118
|
delete: string;
|
|
118
119
|
tags: string;
|
|
120
|
+
filterByTags: string;
|
|
119
121
|
invalidData: (docsUrl: string) => string;
|
|
120
122
|
noResults: string;
|
|
121
123
|
flowRun: string;
|
|
@@ -4,7 +4,7 @@ export interface IWorkspaceVariablesApi {
|
|
|
4
4
|
getVariables: (filter: VariablesFilter) => Promise<Variable[]>;
|
|
5
5
|
getVariablesCount: (filter: VariablesFilter) => Promise<number>;
|
|
6
6
|
getVariable: (variableId: string) => Promise<Variable>;
|
|
7
|
-
getVariableByName: (variableName: string) => Promise<Variable>;
|
|
7
|
+
getVariableByName: (variableName: string) => Promise<Variable | null>;
|
|
8
8
|
createVariable: (body: VariableCreate) => Promise<Variable>;
|
|
9
9
|
editVariable: (variableId: string, body: VariableEdit) => Promise<Variable>;
|
|
10
10
|
deleteVariable: (variableId: string) => Promise<void>;
|
|
@@ -12,7 +12,7 @@ export interface IWorkspaceVariablesApi {
|
|
|
12
12
|
export declare class WorkspaceVariablesApi extends WorkspaceApi implements IWorkspaceVariablesApi {
|
|
13
13
|
protected routePrefix: string;
|
|
14
14
|
getVariable(variableId: string): Promise<Variable>;
|
|
15
|
-
getVariableByName(variableName: string): Promise<Variable>;
|
|
15
|
+
getVariableByName(variableName: string): Promise<Variable | null>;
|
|
16
16
|
getVariables(filter?: VariablesFilter): Promise<Variable[]>;
|
|
17
17
|
getVariablesCount(filter?: VariablesFilter): Promise<number>;
|
|
18
18
|
createVariable(body: VariableCreate): Promise<Variable>;
|
|
@@ -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-6bbae2a5.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-20251669-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-20251669-31c6f860.mjs.map
|