@prefecthq/prefect-ui-library 2.6.27 → 2.6.29
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-KrV3Jqlr.mjs → FlowRunsPageWithDefaultFilter-xGpIvmQl.mjs} +2 -2
- package/dist/{FlowRunsPageWithDefaultFilter-KrV3Jqlr.mjs.map → FlowRunsPageWithDefaultFilter-xGpIvmQl.mjs.map} +1 -1
- package/dist/{index-zBnDLKPC.mjs → index-FNNyglMw.mjs} +4 -2
- package/dist/{index-zBnDLKPC.mjs.map → index-FNNyglMw.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +61 -59
- package/dist/prefect-ui-library.umd.js +41 -41
- package/dist/types/src/schemas/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, shallowRef as l, watch as c, openBlock as s, createBlock as m, resolveDynamicComponent as p, createCommentVNode as i } 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-FNNyglMw.mjs";
|
|
3
3
|
const a = (n) => {
|
|
4
4
|
const { value: e, isCustom: t } = d();
|
|
5
5
|
if (v(n.query) && t.value)
|
|
@@ -35,4 +35,4 @@ const a = (n) => {
|
|
|
35
35
|
export {
|
|
36
36
|
C as default
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=FlowRunsPageWithDefaultFilter-
|
|
38
|
+
//# sourceMappingURL=FlowRunsPageWithDefaultFilter-xGpIvmQl.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlowRunsPageWithDefaultFilter-
|
|
1
|
+
{"version":3,"file":"FlowRunsPageWithDefaultFilter-xGpIvmQl.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, isFunction } from '..'\n import { useDefaultSavedSearchFilter } from '@/compositions/useDefaultSavedSearchFilter'\n\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\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","query","mapper","error","__default__","defineComponent","props","__props","routeComponent","shallowRef","isLazilyLoadedRouteComponent","component","isFunction","watch"],"mappings":";;AAUE,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,GAEeC,IAAAC,EAAgB;AAAA,EAC7B,QAAQ,CAAC;AAAA,EACT,kBAAkBV;AAAA,EAClB,mBAAmBA;AACrB,CAAC;;;;;;;AAKD,UAAMW,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;;;"}
|
|
@@ -27139,7 +27139,7 @@ function LCe(t) {
|
|
|
27139
27139
|
{
|
|
27140
27140
|
name: "workspace.flow-runs",
|
|
27141
27141
|
path: "",
|
|
27142
|
-
component: () => import("./FlowRunsPageWithDefaultFilter-
|
|
27142
|
+
component: () => import("./FlowRunsPageWithDefaultFilter-xGpIvmQl.mjs"),
|
|
27143
27143
|
props: { component: t.flowRuns }
|
|
27144
27144
|
},
|
|
27145
27145
|
{
|
|
@@ -81858,6 +81858,8 @@ export {
|
|
|
81858
81858
|
cne as mc,
|
|
81859
81859
|
Mx as md,
|
|
81860
81860
|
fA as me,
|
|
81861
|
+
Dx as mf,
|
|
81862
|
+
mm as mg,
|
|
81861
81863
|
Ex as n,
|
|
81862
81864
|
iie as o,
|
|
81863
81865
|
WCe as p,
|
|
@@ -81872,4 +81874,4 @@ export {
|
|
|
81872
81874
|
Fie as y,
|
|
81873
81875
|
Wie as z
|
|
81874
81876
|
};
|
|
81875
|
-
//# sourceMappingURL=index-
|
|
81877
|
+
//# sourceMappingURL=index-FNNyglMw.mjs.map
|