@prefecthq/prefect-ui-library 3.12.8 → 3.12.10
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/{RunsPageWithDefaultFilter-umBJVr8U.mjs → RunsPageWithDefaultFilter-rweNsjzV.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-umBJVr8U.mjs.map → RunsPageWithDefaultFilter-rweNsjzV.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DEUCC_Qo.mjs → WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DEUCC_Qo.mjs.map → WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs.map} +1 -1
- package/dist/{index-CPp5RYan.mjs → index-BxV9_Yx0.mjs} +11 -8
- package/dist/{index-CPp5RYan.mjs.map → index-BxV9_Yx0.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +2 -2
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/automations/components/AutomationCombobox.vue.d.ts +3 -26
- package/dist/types/src/automations/components/AutomationWithinInput.vue.d.ts +3 -19
- package/dist/types/src/components/ArtifactCard.vue.d.ts +2 -32
- package/dist/types/src/components/ArtifactMenu.vue.d.ts +2 -7
- package/dist/types/src/components/AutomationMenu.vue.d.ts +2 -434
- package/dist/types/src/components/BlockDocument.vue.d.ts +2 -7
- package/dist/types/src/components/BlockDocumentMenu.vue.d.ts +2 -23
- package/dist/types/src/components/BlockTypeCardLayout.vue.d.ts +2 -7
- package/dist/types/src/components/BlockTypeCardPreview.vue.d.ts +2 -419
- package/dist/types/src/components/CodeBanner.vue.d.ts +2 -9
- package/dist/types/src/components/CollectionItemCard.vue.d.ts +2 -7
- package/dist/types/src/components/ConcurrencyLimitResetModal.vue.d.ts +2 -15
- package/dist/types/src/components/ConcurrencyLimitV2ResetModal.vue.d.ts +2 -17
- package/dist/types/src/components/ConcurrencyLimitsCreateModal.vue.d.ts +2 -27
- package/dist/types/src/components/ConcurrencyLimitsV2CreateModal.vue.d.ts +2 -33
- package/dist/types/src/components/ConcurrencyLimitsV2UpdateModal.vue.d.ts +2 -39
- package/dist/types/src/components/ConfirmDeleteModal.vue.d.ts +2 -15
- package/dist/types/src/components/ConfirmStateChangeModal.vue.d.ts +2 -29
- package/dist/types/src/components/CopyableWrapper.vue.d.ts +2 -9
- package/dist/types/src/components/CronScheduleForm.vue.d.ts +2 -37
- package/dist/types/src/components/DashboardWorkPoolCardDetail.vue.d.ts +2 -4
- package/dist/types/src/components/DateRangeInput.vue.d.ts +2 -19
- package/dist/types/src/components/DeploymentCombobox.vue.d.ts +3 -39
- package/dist/types/src/components/DeploymentCustomRunOverflowMenuItem.vue.d.ts +2 -417
- package/dist/types/src/components/DeploymentDetails.vue.d.ts +3 -448
- package/dist/types/src/components/DeploymentMenu.vue.d.ts +2 -436
- package/dist/types/src/components/DeploymentQuickRunOverflowMenuItem.vue.d.ts +2 -7
- package/dist/types/src/components/DeploymentsPageEmptyState.vue.d.ts +2 -12
- package/dist/types/src/components/DocumentationButton.vue.d.ts +2 -4
- package/dist/types/src/components/ExtraInfoModal.vue.d.ts +3 -2
- package/dist/types/src/components/ExtraInfoTooltip.vue.d.ts +2 -4
- package/dist/types/src/components/FlowCombobox.vue.d.ts +3 -37
- package/dist/types/src/components/FlowMenu.vue.d.ts +2 -432
- package/dist/types/src/components/FlowPopover.vue.d.ts +5 -16
- package/dist/types/src/components/FlowRouterLink.vue.d.ts +2 -421
- package/dist/types/src/components/FlowRunArtifacts.vue.d.ts +2 -438
- package/dist/types/src/components/FlowRunFilteredList.vue.d.ts +2 -36
- package/dist/types/src/components/FlowRunGraphPopover.vue.d.ts +2 -222
- package/dist/types/src/components/FlowRunListItem.vue.d.ts +2 -41
- package/dist/types/src/components/FlowRunMenu.vue.d.ts +3 -473
- package/dist/types/src/components/FlowRunsPageEmptyState.vue.d.ts +2 -12
- package/dist/types/src/components/FlowsPageEmptyState.vue.d.ts +2 -12
- package/dist/types/src/components/FormattedDate.vue.d.ts +2 -7
- package/dist/types/src/components/IconTextCount.vue.d.ts +2 -7
- package/dist/types/src/components/IntervalScheduleForm.vue.d.ts +2 -39
- package/dist/types/src/components/LogsContainer.vue.d.ts +2 -24
- package/dist/types/src/components/MarketingBanner.vue.d.ts +2 -14
- package/dist/types/src/components/PageHeading.vue.d.ts +3 -17
- package/dist/types/src/components/PageHeadingFlowRunCreate.vue.d.ts +2 -37
- package/dist/types/src/components/QuickRunParametersModal.vue.d.ts +2 -29
- package/dist/types/src/components/ResourceLink.vue.d.ts +3 -14
- package/dist/types/src/components/RowGridLayoutList.vue.d.ts +2 -14
- package/dist/types/src/components/SaveFilterModal.vue.d.ts +2 -21
- package/dist/types/src/components/ScheduleFormModal.vue.d.ts +2 -2
- package/dist/types/src/components/SchemaInput.vue.d.ts +2 -31
- package/dist/types/src/components/SeparatedList.vue.d.ts +2 -9
- package/dist/types/src/components/StateListItem.vue.d.ts +2 -79
- package/dist/types/src/components/TaskRunArtifacts.vue.d.ts +2 -432
- package/dist/types/src/components/UseDeploymentSlot.vue.d.ts +2 -7
- package/dist/types/src/components/UseFlowSlot.vue.d.ts +2 -7
- package/dist/types/src/components/WorkPoolCombobox.vue.d.ts +3 -26
- package/dist/types/src/components/WorkPoolMenu.vue.d.ts +2 -429
- package/dist/types/src/components/WorkPoolQueueCombobox.vue.d.ts +3 -24
- package/dist/types/src/components/WorkPoolQueueMenu.vue.d.ts +2 -433
- package/dist/types/src/components/WorkQueueCombobox.vue.d.ts +3 -26
- package/dist/types/src/mocks/index.d.ts +1 -1
- package/dist/types/src/models/DeploymentVersion.d.ts +2 -0
- package/dist/types/src/models/api/DeploymentVersionResponse.d.ts +1 -0
- package/dist/types/src/schemas/components/SchemaFormProperty.vue.d.ts +2 -146
- package/dist/types/src/schemas/components/SchemaFormPropertyMenu.vue.d.ts +2 -26
- package/dist/types/src/services/Mocker.d.ts +1 -1
- package/package.json +4 -4
- package/src/maps/deployment.ts +1 -0
- package/src/maps/flowStatsFilter.ts +2 -2
- package/src/maps/savedSearchFilter.ts +2 -2
- package/src/mocks/deploymentVersion.ts +1 -0
- package/src/models/DeploymentVersion.ts +3 -0
- package/src/models/api/DeploymentVersionResponse.ts +1 -0
package/dist/{RunsPageWithDefaultFilter-umBJVr8U.mjs → RunsPageWithDefaultFilter-rweNsjzV.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, shallowRef as c, watch as l, createBlock as s, createCommentVNode as m, openBlock as i, resolveDynamicComponent as p } from "vue";
|
|
2
|
-
import { i as f, u as d, a as v, m as y } from "./index-
|
|
2
|
+
import { i as f, u as d, a as v, m as y } from "./index-BxV9_Yx0.mjs";
|
|
3
3
|
const a = (n) => {
|
|
4
4
|
const { value: e, isCustom: t } = d();
|
|
5
5
|
if (v(n.query) && t.value)
|
|
@@ -32,4 +32,4 @@ const a = (n) => {
|
|
|
32
32
|
export {
|
|
33
33
|
C as default
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=RunsPageWithDefaultFilter-
|
|
35
|
+
//# sourceMappingURL=RunsPageWithDefaultFilter-rweNsjzV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunsPageWithDefaultFilter-
|
|
1
|
+
{"version":3,"file":"RunsPageWithDefaultFilter-rweNsjzV.mjs","sources":["../src/components/RunsPageWithDefaultFilter.vue"],"sourcesContent":["<template>\n <component :is=\"routeComponent\" v-if=\"routeComponent !== null\" />\n</template>\n\n<script lang=\"ts\">\n const setDefaultFlowRunsFilterQueryIfEmpty: NavigationGuard = (to) => {\n const { value: defaultFlowRunsSavedSearchFilter, isCustom } = useDefaultSavedSearchFilter()\n\n if (isEmptyObject(to.query) && isCustom.value) {\n try {\n const query = mapper.map('SavedSearchFilter', defaultFlowRunsSavedSearchFilter.value, 'LocationQuery')\n\n return { ...to, query }\n } catch (error) {\n console.error(error)\n }\n }\n\n return true\n }\n</script>\n\n<script setup lang=\"ts\">\n import { shallowRef, watch } from 'vue'\n import { NavigationGuard, RouteComponent } from 'vue-router'\n import { isEmptyObject, mapper, isFunction } from '..'\n import { useDefaultSavedSearchFilter } from '@/compositions/useDefaultSavedSearchFilter'\n\n type LazilyLoadedRouteComponent = () => Promise<{ default: RouteComponent }>\n\n defineOptions({\n beforeRouteEnter: setDefaultFlowRunsFilterQueryIfEmpty,\n beforeRouteUpdate: setDefaultFlowRunsFilterQueryIfEmpty,\n })\n\n const props = defineProps<{\n component: RouteComponent | LazilyLoadedRouteComponent,\n }>()\n\n const routeComponent = shallowRef<RouteComponent | null>(null)\n\n function isLazilyLoadedRouteComponent(component: RouteComponent | LazilyLoadedRouteComponent): component is LazilyLoadedRouteComponent {\n return isFunction(component)\n }\n\n watch(props.component, () => {\n if (isLazilyLoadedRouteComponent(props.component)) {\n props.component().then(component => {\n routeComponent.value = component.default\n })\n } else {\n routeComponent.value = props.component\n }\n }, { immediate: true })\n</script>"],"names":["setDefaultFlowRunsFilterQueryIfEmpty","to","defaultFlowRunsSavedSearchFilter","isCustom","useDefaultSavedSearchFilter","isEmptyObject","query","mapper","error","props","__props","routeComponent","shallowRef","isLazilyLoadedRouteComponent","component","isFunction","watch"],"mappings":";;AAKE,MAAMA,IAAwD,CAACC,MAAO;AACpE,QAAM,EAAE,OAAOC,GAAkC,UAAAC,EAAA,IAAaC,EAA4B;AAE1F,MAAIC,EAAcJ,EAAG,KAAK,KAAKE,EAAS;AAClC,QAAA;AACF,YAAMG,IAAQC,EAAO,IAAI,qBAAqBL,EAAiC,OAAO,eAAe;AAE9F,aAAA,EAAE,GAAGD,GAAI,OAAAK,EAAM;AAAA,aACfE,GAAO;AACd,cAAQ,MAAMA,CAAK;AAAA,IAAA;AAIhB,SAAA;AACT;;;;;;;;AAgBA,UAAMC,IAAQC,GAIRC,IAAiBC,EAAkC,IAAI;AAE7D,aAASC,EAA6BC,GAAiG;AACrI,aAAOC,EAAWD,CAAS;AAAA,IAAA;AAGvB,WAAAE,EAAAP,EAAM,WAAW,MAAM;AACvB,MAAAI,EAA6BJ,EAAM,SAAS,IACxCA,EAAA,UAAA,EAAY,KAAK,CAAaK,MAAA;AAClC,QAAAH,EAAe,QAAQG,EAAU;AAAA,MAAA,CAClC,IAEDH,EAAe,QAAQF,EAAM;AAAA,IAC/B,GACC,EAAE,WAAW,IAAM;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as p } from "vue";
|
|
2
2
|
import { useRouteParam as m, useSubscription as i } from "@prefecthq/vue-compositions";
|
|
3
3
|
import { useRouter as n } from "vue-router";
|
|
4
|
-
import { b as a, c } from "./index-
|
|
4
|
+
import { b as a, c } from "./index-BxV9_Yx0.mjs";
|
|
5
5
|
import "@prefecthq/prefect-design";
|
|
6
6
|
import "vee-validate";
|
|
7
7
|
import "@prefecthq/vue-charts";
|
|
@@ -22,4 +22,4 @@ const W = /* @__PURE__ */ p({
|
|
|
22
22
|
export {
|
|
23
23
|
W as default
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=WorkQueueToWorkPoolQueueRedirect-
|
|
25
|
+
//# sourceMappingURL=WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkQueueToWorkPoolQueueRedirect-
|
|
1
|
+
{"version":3,"file":"WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs","sources":["../src/components/WorkQueueToWorkPoolQueueRedirect.vue"],"sourcesContent":["<script setup lang=\"ts\">\n /**\n * This component is used to redirect the user from an old, deprecated work queue route\n * to a work pool queue route. This is necessary because the old work queue routes are\n * were keyed on work queue id and the new routes are nested under work pools by\n * work pool name and work queue name.\n */\n import { useRouteParam, useSubscription } from '@prefecthq/vue-compositions'\n\n import { useRouter } from 'vue-router'\n import { useWorkspaceRoutes, useWorkspaceApi } from '@/compositions'\n\n const workQueueId = useRouteParam('workQueueId')\n\n const api = useWorkspaceApi()\n const workQueueSubscription = useSubscription(api.workQueues.getWorkQueue, [workQueueId])\n\n const router = useRouter()\n const routes = useWorkspaceRoutes()\n\n workQueueSubscription.promise().then(({ response: workQueue }) => {\n if (!workQueue.workPoolName) {\n router.replace(routes.workPools())\n return\n }\n router.replace(routes.workPoolQueue(workQueue.workPoolName, workQueue.name))\n })\n</script>"],"names":["workQueueId","useRouteParam","api","useWorkspaceApi","workQueueSubscription","useSubscription","router","useRouter","routes","useWorkspaceRoutes","workQueue"],"mappings":";;;;;;;;;;AAYQ,UAAAA,IAAcC,EAAc,aAAa,GAEzCC,IAAMC,EAAgB,GACtBC,IAAwBC,EAAgBH,EAAI,WAAW,cAAc,CAACF,CAAW,CAAC,GAElFM,IAASC,EAAU,GACnBC,IAASC,EAAmB;AAElC,WAAAL,EAAsB,UAAU,KAAK,CAAC,EAAE,UAAUM,QAAgB;AAC5D,UAAA,CAACA,EAAU,cAAc;AACpB,QAAAJ,EAAA,QAAQE,EAAO,WAAW;AACjC;AAAA,MAAA;AAEF,MAAAF,EAAO,QAAQE,EAAO,cAAcE,EAAU,cAAcA,EAAU,IAAI,CAAC;AAAA,IAAA,CAC5E;;;;"}
|
|
@@ -16224,6 +16224,7 @@ class VQ {
|
|
|
16224
16224
|
W(this, "createdBy");
|
|
16225
16225
|
W(this, "updated");
|
|
16226
16226
|
W(this, "updatedBy");
|
|
16227
|
+
W(this, "lastActive");
|
|
16227
16228
|
W(this, "name");
|
|
16228
16229
|
W(this, "description");
|
|
16229
16230
|
W(this, "versionInfo");
|
|
@@ -16237,7 +16238,7 @@ class VQ {
|
|
|
16237
16238
|
W(this, "workQueueName");
|
|
16238
16239
|
W(this, "workPoolName");
|
|
16239
16240
|
W(this, "enforceParameterSchema");
|
|
16240
|
-
this.id = e.id, this.deploymentId = e.deploymentId, this.created = e.created, this.createdBy = e.createdBy, this.updated = e.updated, this.updatedBy = e.updatedBy, this.name = e.name, this.description = e.description, this.versionInfo = e.versionInfo, this.tags = e.tags ?? [], this.labels = e.labels, this.entrypoint = e.entrypoint, this.pullSteps = e.pullSteps, this.parameters = e.parameters, this.parameterOpenApiSchema = e.parameterOpenApiSchema, this.jobVariables = e.jobVariables, this.workQueueName = e.workQueueName, this.workPoolName = e.workPoolName, this.enforceParameterSchema = e.enforceParameterSchema;
|
|
16241
|
+
this.id = e.id, this.deploymentId = e.deploymentId, this.created = e.created, this.createdBy = e.createdBy, this.updated = e.updated, this.updatedBy = e.updatedBy, this.lastActive = e.lastActive, this.name = e.name, this.description = e.description, this.versionInfo = e.versionInfo, this.tags = e.tags ?? [], this.labels = e.labels, this.entrypoint = e.entrypoint, this.pullSteps = e.pullSteps, this.parameters = e.parameters, this.parameterOpenApiSchema = e.parameterOpenApiSchema, this.jobVariables = e.jobVariables, this.workQueueName = e.workQueueName, this.workPoolName = e.workPoolName, this.enforceParameterSchema = e.enforceParameterSchema;
|
|
16241
16242
|
}
|
|
16242
16243
|
}
|
|
16243
16244
|
const UQ = B7.map((t) => t.split(":")[0]);
|
|
@@ -25869,7 +25870,7 @@ function $8e(t) {
|
|
|
25869
25870
|
{
|
|
25870
25871
|
name: "workspace.runs",
|
|
25871
25872
|
path: "",
|
|
25872
|
-
component: () => import("./RunsPageWithDefaultFilter-
|
|
25873
|
+
component: () => import("./RunsPageWithDefaultFilter-rweNsjzV.mjs"),
|
|
25873
25874
|
props: { component: t.runs }
|
|
25874
25875
|
},
|
|
25875
25876
|
{
|
|
@@ -25985,7 +25986,7 @@ function $8e(t) {
|
|
|
25985
25986
|
{
|
|
25986
25987
|
name: "workspace.work-queues.work-queue",
|
|
25987
25988
|
path: "work-queue/:workQueueId",
|
|
25988
|
-
component: t.workQueue ?? (() => import("./WorkQueueToWorkPoolQueueRedirect-
|
|
25989
|
+
component: t.workQueue ?? (() => import("./WorkQueueToWorkPoolQueueRedirect-DcC3MDka.mjs"))
|
|
25989
25990
|
}
|
|
25990
25991
|
]
|
|
25991
25992
|
},
|
|
@@ -29569,6 +29570,7 @@ const Sse = function(t) {
|
|
|
29569
29570
|
createdBy: this.map("CreatedOrUpdatedByResponse", t.created_by, "CreatedOrUpdatedBy"),
|
|
29570
29571
|
updated: this.map("string", t.updated, "Date"),
|
|
29571
29572
|
updatedBy: this.map("CreatedOrUpdatedByResponse", t.updated_by, "CreatedOrUpdatedBy"),
|
|
29573
|
+
lastActive: this.map("string", t.last_active, "Date"),
|
|
29572
29574
|
name: t.name,
|
|
29573
29575
|
deploymentId: t.deployment_id,
|
|
29574
29576
|
description: t.description,
|
|
@@ -30216,8 +30218,8 @@ const Vse = function(t) {
|
|
|
30216
30218
|
id: [t.flowId]
|
|
30217
30219
|
},
|
|
30218
30220
|
flowRuns: {
|
|
30219
|
-
|
|
30220
|
-
|
|
30221
|
+
startTimeAfter: e,
|
|
30222
|
+
startTimeBefore: n
|
|
30221
30223
|
}
|
|
30222
30224
|
};
|
|
30223
30225
|
}, Dae = function(t) {
|
|
@@ -30537,8 +30539,8 @@ const uie = function(t) {
|
|
|
30537
30539
|
state: {
|
|
30538
30540
|
name: s
|
|
30539
30541
|
},
|
|
30540
|
-
|
|
30541
|
-
|
|
30542
|
+
startTimeAfter: i,
|
|
30543
|
+
startTimeBefore: u
|
|
30542
30544
|
}
|
|
30543
30545
|
};
|
|
30544
30546
|
}, lie = function(t) {
|
|
@@ -31522,6 +31524,7 @@ const Aue = function(t = {}) {
|
|
|
31522
31524
|
createdBy: this.create("createdOrUpdatedBy"),
|
|
31523
31525
|
updated: this.create("date"),
|
|
31524
31526
|
updatedBy: this.create("createdOrUpdatedBy"),
|
|
31527
|
+
lastActive: this.create("date"),
|
|
31525
31528
|
name: this.create("noun"),
|
|
31526
31529
|
versionInfo: {
|
|
31527
31530
|
type: "vcs:github",
|
|
@@ -91169,4 +91172,4 @@ export {
|
|
|
91169
91172
|
p8 as y,
|
|
91170
91173
|
a2 as z
|
|
91171
91174
|
};
|
|
91172
|
-
//# sourceMappingURL=index-
|
|
91175
|
+
//# sourceMappingURL=index-BxV9_Yx0.mjs.map
|