@prefecthq/prefect-ui-library 2.0.7 → 2.0.9
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-c52ebc61.mjs → index-d06297a1.mjs} +14987 -14806
- package/dist/index-d06297a1.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +708 -707
- package/dist/prefect-ui-library.umd.js +79 -79
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/demo/services/mockWorkspaceConcurrencyLimitsApi.d.ts +1 -0
- package/dist/types/src/components/BlockDocumentMenu.vue.d.ts +11 -2
- package/dist/types/src/components/ConcurrencyLimitResetModal.vue.d.ts +32 -0
- package/dist/types/src/components/DeploymentRelationships.vue.d.ts +13 -0
- package/dist/types/src/components/FlowRunTimelineOptIn.vue.d.ts +6 -0
- package/dist/types/src/components/index.d.ts +2 -1
- package/dist/types/src/compositions/useFilterPagination.d.ts +3 -2
- package/dist/types/src/localization/index.d.ts +5 -0
- package/dist/types/src/localization/locale/en.d.ts +5 -0
- package/dist/types/src/mocks/workPoolStatus.d.ts +2 -2
- package/dist/types/src/services/WorkspaceConcurrencyLimitsApi.d.ts +2 -0
- package/dist/types/src/services/can.d.ts +1 -1
- package/dist/types/src/utilities/errors.d.ts +1 -0
- package/dist/{viewport.es-88169ec4-5569bc4c.mjs → viewport.es-88169ec4-a9ebdaf7.mjs} +2 -2
- package/dist/{viewport.es-88169ec4-5569bc4c.mjs.map → viewport.es-88169ec4-a9ebdaf7.mjs.map} +1 -1
- package/package.json +7 -7
- package/dist/index-c52ebc61.mjs.map +0 -1
- package/dist/types/src/components/WorkPoolCreateForm.vue.d.ts +0 -2
|
@@ -44,6 +44,7 @@ export { default as ConcurrencyLimitActiveRuns } from './ConcurrencyLimitActiveR
|
|
|
44
44
|
export { default as ConcurrencyLimitDetails } from './ConcurrencyLimitDetails.vue';
|
|
45
45
|
export { default as ConcurrencyLimitMenu } from './ConcurrencyLimitMenu.vue';
|
|
46
46
|
export { default as ConcurrencyLimitsCreateModal } from './ConcurrencyLimitsCreateModal.vue';
|
|
47
|
+
export { default as ConcurrencyLimitResetModal } from '../components/ConcurrencyLimitResetModal.vue';
|
|
47
48
|
export { default as ConcurrencyLimitsPageEmptyState } from './ConcurrencyLimitsPageEmptyState.vue';
|
|
48
49
|
export { default as ConcurrencyLimitsTable } from './ConcurrencyLimitsTable.vue';
|
|
49
50
|
export { default as ConcurrencyLimitV2Menu } from '../components/ConcurrencyLimitV2Menu.vue';
|
|
@@ -77,6 +78,7 @@ export { default as DeploymentList } from './DeploymentList.vue';
|
|
|
77
78
|
export { default as DeploymentListItem } from './DeploymentListItem.vue';
|
|
78
79
|
export { default as DeploymentMenu } from './DeploymentMenu.vue';
|
|
79
80
|
export { default as DeploymentQuickRunOverflowMenuItem } from './DeploymentQuickRunOverflowMenuItem.vue';
|
|
81
|
+
export { default as DeploymentRelationships } from './DeploymentRelationships.vue';
|
|
80
82
|
export { default as DeploymentsCount } from './DeploymentsCount.vue';
|
|
81
83
|
export { default as DeploymentsDeleteButton } from './DeploymentsDeleteButton.vue';
|
|
82
84
|
export { default as DeploymentsPageEmptyState } from './DeploymentsPageEmptyState.vue';
|
|
@@ -252,7 +254,6 @@ export { default as WorkerStatusBadge } from './WorkerStatusBadge.vue';
|
|
|
252
254
|
export { default as WorkPoolBaseJobTemplateFormSection } from './WorkPoolBaseJobTemplateFormSection.vue';
|
|
253
255
|
export { default as WorkPoolCard } from './WorkPoolCard.vue';
|
|
254
256
|
export { default as WorkPoolCombobox } from './WorkPoolCombobox.vue';
|
|
255
|
-
export { default as WorkPoolCreateForm } from './WorkPoolCreateForm.vue';
|
|
256
257
|
export { default as WorkPoolCreateWizard } from './WorkPoolCreateWizard.vue';
|
|
257
258
|
export { default as WorkPoolCreateWizardStepInformation } from './WorkPoolCreateWizardStepInformation.vue';
|
|
258
259
|
export { default as WorkPoolCreateWizardStepInfrastructureConfiguration } from './WorkPoolCreateWizardStepInfrastructureConfiguration.vue';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ComputedRef,
|
|
1
|
+
import { ComputedRef, MaybeRefOrGetter, Ref } from 'vue';
|
|
2
2
|
export declare const GLOBAL_API_LIMIT = 200;
|
|
3
3
|
export type UseFilterPagination = {
|
|
4
4
|
limit: ComputedRef<number>;
|
|
5
5
|
offset: ComputedRef<number>;
|
|
6
|
+
page: Ref<number>;
|
|
6
7
|
};
|
|
7
|
-
export declare function useFilterPagination(page?:
|
|
8
|
+
export declare function useFilterPagination(page?: MaybeRefOrGetter<number>, limit?: MaybeRefOrGetter<number | undefined>): UseFilterPagination;
|
|
@@ -27,6 +27,7 @@ export declare const localization: {
|
|
|
27
27
|
changeTaskRunState: string;
|
|
28
28
|
createBlock: string;
|
|
29
29
|
createConcurrencyLimit: string;
|
|
30
|
+
resetConcurrencyLimit: string;
|
|
30
31
|
createNotification: string;
|
|
31
32
|
createSavedSearch: string;
|
|
32
33
|
createSchedule: string;
|
|
@@ -74,6 +75,7 @@ export declare const localization: {
|
|
|
74
75
|
changeTaskRunState: string;
|
|
75
76
|
createBlock: string;
|
|
76
77
|
createConcurrencyLimit: string;
|
|
78
|
+
resetConcurrencyLimit: string;
|
|
77
79
|
createNotification: string;
|
|
78
80
|
createSavedSearch: string;
|
|
79
81
|
createSchedule: string;
|
|
@@ -187,5 +189,8 @@ export declare const localization: {
|
|
|
187
189
|
workPoolInfrastructureConfigurationInstructions: string;
|
|
188
190
|
workPoolInfrastructureConfigurationAgent: string;
|
|
189
191
|
disableFlowRunCancel: string;
|
|
192
|
+
flowRunGraphNotDisplayedHeader: string;
|
|
193
|
+
flowRunGraphNotDisplayedCopy: string;
|
|
194
|
+
flowRunGraphNotDisplayedCta: string;
|
|
190
195
|
};
|
|
191
196
|
};
|
|
@@ -27,6 +27,7 @@ export declare const en: {
|
|
|
27
27
|
changeTaskRunState: string;
|
|
28
28
|
createBlock: string;
|
|
29
29
|
createConcurrencyLimit: string;
|
|
30
|
+
resetConcurrencyLimit: string;
|
|
30
31
|
createNotification: string;
|
|
31
32
|
createSavedSearch: string;
|
|
32
33
|
createSchedule: string;
|
|
@@ -74,6 +75,7 @@ export declare const en: {
|
|
|
74
75
|
changeTaskRunState: string;
|
|
75
76
|
createBlock: string;
|
|
76
77
|
createConcurrencyLimit: string;
|
|
78
|
+
resetConcurrencyLimit: string;
|
|
77
79
|
createNotification: string;
|
|
78
80
|
createSavedSearch: string;
|
|
79
81
|
createSchedule: string;
|
|
@@ -187,5 +189,8 @@ export declare const en: {
|
|
|
187
189
|
workPoolInfrastructureConfigurationInstructions: string;
|
|
188
190
|
workPoolInfrastructureConfigurationAgent: string;
|
|
189
191
|
disableFlowRunCancel: string;
|
|
192
|
+
flowRunGraphNotDisplayedHeader: string;
|
|
193
|
+
flowRunGraphNotDisplayedCopy: string;
|
|
194
|
+
flowRunGraphNotDisplayedCta: string;
|
|
190
195
|
};
|
|
191
196
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { WorkPoolStatus } from
|
|
2
|
-
import { MockFunction } from
|
|
1
|
+
import { WorkPoolStatus } from '../models/WorkPoolStatus';
|
|
2
|
+
import { MockFunction } from '../services/Mocker';
|
|
3
3
|
export declare const randomWorkPoolStatus: MockFunction<WorkPoolStatus, []>;
|
|
@@ -9,6 +9,7 @@ export interface IWorkspaceConcurrencyLimitsApi {
|
|
|
9
9
|
getConcurrencyLimitByTag: (tag: string) => Promise<ConcurrencyLimit>;
|
|
10
10
|
deleteConcurrencyLimit: (concurrencyLimitId: string) => Promise<void>;
|
|
11
11
|
deleteConcurrencyLimitByTag: (tag: string) => Promise<void>;
|
|
12
|
+
resetConcurrencyLimitByTag: (tag: string) => Promise<ConcurrencyLimit>;
|
|
12
13
|
}
|
|
13
14
|
export declare class WorkspaceConcurrencyLimitsApi extends WorkspaceApi {
|
|
14
15
|
protected routePrefix: string;
|
|
@@ -18,4 +19,5 @@ export declare class WorkspaceConcurrencyLimitsApi extends WorkspaceApi {
|
|
|
18
19
|
createConcurrencyLimit(limit: ConcurrencyLimitCreate): Promise<ConcurrencyLimit>;
|
|
19
20
|
deleteConcurrencyLimit(id: string): Promise<void>;
|
|
20
21
|
deleteConcurrencyLimitByTag(tag: string): Promise<void>;
|
|
22
|
+
resetConcurrencyLimitByTag(tag: string): Promise<ConcurrencyLimit>;
|
|
21
23
|
}
|
|
@@ -2,7 +2,7 @@ import { InjectionKey } from 'vue';
|
|
|
2
2
|
import { MaybeRef } from '../types/reactivity';
|
|
3
3
|
export declare const workspaceFeatureFlags: readonly [];
|
|
4
4
|
export type WorkspaceFeatureFlag = typeof workspaceFeatureFlags[number];
|
|
5
|
-
export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
5
|
+
export declare const workspacePermissions: readonly ["create:artifact", "create:automation", "create:block", "create:concurrency_limit", "create:deployment", "create:flow_run", "create:flow", "create:log", "create:notification_policy", "create:saved_search", "create:task_run", "create:variable", "create:work_queue", "create:work_pool_queue", "create:work_pool", "create:workspace_bot_access", "create:workspace_user_access", "delete:artifact", "delete:automation", "delete:block", "delete:concurrency_limit", "delete:deployment", "delete:flow_run", "delete:flow", "delete:notification_policy", "delete:saved_search", "delete:task_run", "delete:work_queue", "delete:work_pool_queue", "delete:work_pool", "delete:workspace_bot_access", "delete:workspace_user_access", "delete:variable", "read:artifact", "read:automation", "read:block", "read:concurrency_limit", "read:deployment", "read:flow_run", "read:flow", "read:log", "read:notification_policy", "read:saved_search", "read:task_run", "read:variable", "read:work_queue", "read:work_pool_queue", "read:work_pool", "read:workspace_bot_access", "read:workspace_settings", "read:workspace_user_access", "run:deployment", "update:automation", "update:block", "update:concurrency_limit", "update:deployment", "update:flow_run", "update:flow", "update:notification_policy", "update:task_run", "update:variable", "update:work_queue", "update:work_pool_queue", "update:work_pool", "update:workspace_bot_access", "update:workspace_settings", "update:workspace_user_access", "update:workspace"];
|
|
6
6
|
export type WorkspacePermission = typeof workspacePermissions[number];
|
|
7
7
|
export type PermissionValue = boolean | undefined;
|
|
8
8
|
export type PermissionVerb<T extends string> = T extends `${infer Action}:${string}` ? Action : never;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getApiErrorMessage(error: unknown, defaultErrorMessage: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as O, c as k, J as b, f as c } from "./index-
|
|
1
|
+
import { X as O, c as k, J as b, f as c } from "./index-d06297a1.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
|
N as Wheel
|
|
1537
1537
|
};
|
|
1538
|
-
//# sourceMappingURL=viewport.es-88169ec4-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-88169ec4-a9ebdaf7.mjs.map
|