@prefecthq/prefect-ui-library 2.4.10 → 2.4.11
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/{FlowRunsPageWithDefaultFilter-EYLOXLho.mjs → FlowRunsPageWithDefaultFilter-aHlaX_JJ.mjs} +2 -2
- package/dist/{FlowRunsPageWithDefaultFilter-EYLOXLho.mjs.map → FlowRunsPageWithDefaultFilter-aHlaX_JJ.mjs.map} +1 -1
- package/dist/{index-UD_uv5IJ.mjs → index-Dteax-3L.mjs} +3 -2
- package/dist/{index-UD_uv5IJ.mjs.map → index-Dteax-3L.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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, shallowRef as l, watch as s, openBlock as i, createBlock as m, resolveDynamicComponent as c, createCommentVNode as p } from "vue";
|
|
2
|
-
import { i as f, u as F, a as d, m as v, g as y } from "./index-
|
|
2
|
+
import { i as f, u as F, a as d, m as v, g as y } from "./index-Dteax-3L.mjs";
|
|
3
3
|
import "@prefecthq/vue-charts";
|
|
4
4
|
import "@prefecthq/prefect-design";
|
|
5
5
|
import "@prefecthq/vue-compositions";
|
|
@@ -37,4 +37,4 @@ const a = (n) => {
|
|
|
37
37
|
export {
|
|
38
38
|
k as default
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=FlowRunsPageWithDefaultFilter-
|
|
40
|
+
//# sourceMappingURL=FlowRunsPageWithDefaultFilter-aHlaX_JJ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowRunsPageWithDefaultFilter-
|
|
1
|
+
{"version":3,"file":"FlowRunsPageWithDefaultFilter-aHlaX_JJ.mjs","sources":["../src/components/FlowRunsPageWithDefaultFilter.vue"],"sourcesContent":["<template>\n <component :is=\"routeComponent\" v-if=\"routeComponent !== null\" />\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, shallowRef, watch } from 'vue'\n import { NavigationGuard, RouteComponent } from 'vue-router'\n import { isEmptyObject, mapper, getQueryForFlowRunsFilter, isFunction } from '..'\n import { useDefaultSavedSearchFilter } from '@/compositions/useDefaultSavedSearchFilter'\n\n const setDefaultFlowRunsFilterQueryIfEmpty: NavigationGuard = (to) => {\n const { value: defaultFlowRunsSavedSearchFilter, isCustom } = useDefaultSavedSearchFilter()\n if (isEmptyObject(to.query) && isCustom.value) {\n const asFlowRunsFilter = mapper.map('SavedSearchFilter', defaultFlowRunsSavedSearchFilter.value, 'FlowRunsFilter')\n const asQueryParams = getQueryForFlowRunsFilter(asFlowRunsFilter)\n return { ...to, query: asQueryParams }\n }\n return true\n }\n\n export default defineComponent({\n expose: [],\n beforeRouteEnter: setDefaultFlowRunsFilterQueryIfEmpty,\n beforeRouteUpdate: setDefaultFlowRunsFilterQueryIfEmpty,\n })\n</script>\n\n<script setup lang=\"ts\">\n type LazilyLoadedRouteComponent = () => Promise<{ default: RouteComponent }>\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","asFlowRunsFilter","mapper","asQueryParams","getQueryForFlowRunsFilter","__default__","defineComponent","routeComponent","shallowRef","isLazilyLoadedRouteComponent","component","isFunction","watch","props"],"mappings":";;;;;;;AAUE,MAAMA,IAAwD,CAACC,MAAO;AACpE,QAAM,EAAE,OAAOC,GAAkC,UAAAC,MAAaC,EAA4B;AAC1F,MAAIC,EAAcJ,EAAG,KAAK,KAAKE,EAAS,OAAO;AAC7C,UAAMG,IAAmBC,EAAO,IAAI,qBAAqBL,EAAiC,OAAO,gBAAgB,GAC3GM,IAAgBC,EAA0BH,CAAgB;AAChE,WAAO,EAAE,GAAGL,GAAI,OAAOO,EAAc;AAAA,EACvC;AACO,SAAA;AACT,GAEeE,IAAAC,EAAgB;AAAA,EAC7B,QAAQ,CAAC;AAAA,EACT,kBAAkBX;AAAA,EAClB,mBAAmBA;AACrB,CAAC;;;;;;;iBASKY,IAAiBC,EAAkC,IAAI;AAE7D,aAASC,EAA6BC,GAAiG;AACrI,aAAOC,EAAWD,CAAS;AAAA,IAC7B;AAEM,WAAAE,EAAAC,EAAM,WAAW,MAAM;AACvB,MAAAJ,EAA6BI,EAAM,SAAS,IACxCA,EAAA,UAAA,EAAY,KAAK,CAAaH,MAAA;AAClC,QAAAH,EAAe,QAAQG,EAAU;AAAA,MAAA,CAClC,IAEDH,EAAe,QAAQM,EAAM;AAAA,IAC/B,GACC,EAAE,WAAW,GAAA,CAAM;;;"}
|
|
@@ -26586,7 +26586,7 @@ function dRe(t) {
|
|
|
26586
26586
|
{
|
|
26587
26587
|
name: "workspace.flow-runs",
|
|
26588
26588
|
path: "",
|
|
26589
|
-
component: () => import("./FlowRunsPageWithDefaultFilter-
|
|
26589
|
+
component: () => import("./FlowRunsPageWithDefaultFilter-aHlaX_JJ.mjs"),
|
|
26590
26590
|
props: { component: t.flowRuns }
|
|
26591
26591
|
},
|
|
26592
26592
|
{
|
|
@@ -36311,6 +36311,7 @@ const Tue = { class: "deployment-list__name-col" }, kue = { class: "deployment-l
|
|
|
36311
36311
|
}, null, 8, ["deployment"]),
|
|
36312
36312
|
w(g(iF), {
|
|
36313
36313
|
size: "xs",
|
|
36314
|
+
"show-all": "",
|
|
36314
36315
|
deployment: le,
|
|
36315
36316
|
flat: "",
|
|
36316
36317
|
onDelete: R
|
|
@@ -77891,4 +77892,4 @@ export {
|
|
|
77891
77892
|
dO as y,
|
|
77892
77893
|
Boe as z
|
|
77893
77894
|
};
|
|
77894
|
-
//# sourceMappingURL=index-
|
|
77895
|
+
//# sourceMappingURL=index-Dteax-3L.mjs.map
|