@prefecthq/prefect-ui-library 3.11.40 → 3.11.41
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-5AFpX2M0.mjs → RunsPageWithDefaultFilter-Cv4odeJv.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-5AFpX2M0.mjs.map → RunsPageWithDefaultFilter-Cv4odeJv.mjs.map} +1 -1
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DSNS0PNZ.mjs → WorkQueueToWorkPoolQueueRedirect-CIv8zSnp.mjs} +2 -2
- package/dist/{WorkQueueToWorkPoolQueueRedirect-DSNS0PNZ.mjs.map → WorkQueueToWorkPoolQueueRedirect-CIv8zSnp.mjs.map} +1 -1
- package/dist/{index-DtSKHRpG.mjs → index-C3-QUU1q.mjs} +10 -10
- package/dist/{index-DtSKHRpG.mjs.map → index-C3-QUU1q.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +1 -1
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DeploymentList.vue +3 -3
package/dist/{RunsPageWithDefaultFilter-5AFpX2M0.mjs → RunsPageWithDefaultFilter-Cv4odeJv.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, shallowRef as c, watch as l, openBlock as s, createBlock as m, resolveDynamicComponent as i, createCommentVNode as p } from "vue";
|
|
2
|
-
import { u as f, i as d, m as v, a as y } from "./index-
|
|
2
|
+
import { u as f, i as d, m as v, a as y } from "./index-C3-QUU1q.mjs";
|
|
3
3
|
const a = (n) => {
|
|
4
4
|
const { value: e, isCustom: t } = f();
|
|
5
5
|
if (d(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-Cv4odeJv.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunsPageWithDefaultFilter-
|
|
1
|
+
{"version":3,"file":"RunsPageWithDefaultFilter-Cv4odeJv.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,MAAaC,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;aACTE,GAAO;AACd,cAAQ,MAAMA,CAAK;AAAA,IACrB;AAGK,SAAA;AACT;;;;;;;;AAgBA,UAAMC,IAAQC,GAIRC,IAAiBC,EAAkC,IAAI;AAE7D,aAASC,EAA6BC,GAAiG;AACrI,aAAOC,EAAWD,CAAS;AAAA,IAC7B;AAEM,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,GAAA,CAAM;;;"}
|
|
@@ -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-C3-QUU1q.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-CIv8zSnp.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WorkQueueToWorkPoolQueueRedirect-
|
|
1
|
+
{"version":3,"file":"WorkQueueToWorkPoolQueueRedirect-CIv8zSnp.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,KACNC,IAAwBC,EAAgBH,EAAI,WAAW,cAAc,CAACF,CAAW,CAAC,GAElFM,IAASC,KACTC,IAASC;AAEf,WAAAL,EAAsB,UAAU,KAAK,CAAC,EAAE,UAAUM,QAAgB;AAC5D,UAAA,CAACA,EAAU,cAAc;AACpB,QAAAJ,EAAA,QAAQE,EAAO,UAAW,CAAA;AACjC;AAAA,MACF;AACA,MAAAF,EAAO,QAAQE,EAAO,cAAcE,EAAU,cAAcA,EAAU,IAAI,CAAC;AAAA,IAAA,CAC5E;;;;"}
|
|
@@ -25605,7 +25605,7 @@ function s4e(t) {
|
|
|
25605
25605
|
{
|
|
25606
25606
|
name: "workspace.runs",
|
|
25607
25607
|
path: "",
|
|
25608
|
-
component: () => import("./RunsPageWithDefaultFilter-
|
|
25608
|
+
component: () => import("./RunsPageWithDefaultFilter-Cv4odeJv.mjs"),
|
|
25609
25609
|
props: { component: t.runs }
|
|
25610
25610
|
},
|
|
25611
25611
|
{
|
|
@@ -25721,7 +25721,7 @@ function s4e(t) {
|
|
|
25721
25721
|
{
|
|
25722
25722
|
name: "workspace.work-queues.work-queue",
|
|
25723
25723
|
path: "work-queue/:workQueueId",
|
|
25724
|
-
component: t.workQueue ?? (() => import("./WorkQueueToWorkPoolQueueRedirect-
|
|
25724
|
+
component: t.workQueue ?? (() => import("./WorkQueueToWorkPoolQueueRedirect-CIv8zSnp.mjs"))
|
|
25725
25725
|
}
|
|
25726
25726
|
]
|
|
25727
25727
|
},
|
|
@@ -40525,18 +40525,18 @@ const Ige = { class: "deployment-details" }, Oge = { class: "deployment-details_
|
|
|
40525
40525
|
}, null, 8, ["modelValue", "options"])
|
|
40526
40526
|
]),
|
|
40527
40527
|
default: w(() => [
|
|
40528
|
-
D.value.length
|
|
40528
|
+
D.value.length > 0 ? (k(), C(g(rp), {
|
|
40529
40529
|
key: 0,
|
|
40530
|
-
|
|
40531
|
-
|
|
40532
|
-
}, null, 8, ["count"])) : D.value.length == 0 && X.deploymentLimit ? (k(), C(g(Wo), {
|
|
40530
|
+
count: D.value.length
|
|
40531
|
+
}, null, 8, ["count"])) : X.deploymentLimit ? (k(), C(g(Wo), {
|
|
40533
40532
|
key: 1,
|
|
40534
40533
|
label: "Deployment",
|
|
40535
|
-
count:
|
|
40534
|
+
count: g(b),
|
|
40536
40535
|
limit: X.deploymentLimit
|
|
40537
|
-
}, null, 8, ["count", "limit"])) : (k(), C(g(
|
|
40536
|
+
}, null, 8, ["count", "limit"])) : (k(), C(g(Wo), {
|
|
40538
40537
|
key: 2,
|
|
40539
|
-
|
|
40538
|
+
label: "Deployment",
|
|
40539
|
+
count: g(b)
|
|
40540
40540
|
}, null, 8, ["count"])),
|
|
40541
40541
|
g(s).delete.deployment ? (k(), C(g(u4), {
|
|
40542
40542
|
key: 3,
|
|
@@ -90661,4 +90661,4 @@ export {
|
|
|
90661
90661
|
L8 as y,
|
|
90662
90662
|
c2 as z
|
|
90663
90663
|
};
|
|
90664
|
-
//# sourceMappingURL=index-
|
|
90664
|
+
//# sourceMappingURL=index-C3-QUU1q.mjs.map
|