@prefecthq/prefect-ui-library 3.2.9 → 3.2.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-C-LBE_V8.mjs → RunsPageWithDefaultFilter-DEca1rxJ.mjs} +2 -2
- package/dist/{RunsPageWithDefaultFilter-C-LBE_V8.mjs.map → RunsPageWithDefaultFilter-DEca1rxJ.mjs.map} +1 -1
- package/dist/{index-cfQGcnfO.mjs → index-B4dAFUoa.mjs} +5 -5
- package/dist/{index-cfQGcnfO.mjs.map → index-B4dAFUoa.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/BlockTypeList.vue +1 -1
package/dist/{RunsPageWithDefaultFilter-C-LBE_V8.mjs → RunsPageWithDefaultFilter-DEca1rxJ.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 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-B4dAFUoa.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=RunsPageWithDefaultFilter-
|
|
38
|
+
//# sourceMappingURL=RunsPageWithDefaultFilter-DEca1rxJ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RunsPageWithDefaultFilter-
|
|
1
|
+
{"version":3,"file":"RunsPageWithDefaultFilter-DEca1rxJ.mjs","sources":["../src/components/RunsPageWithDefaultFilter.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;;;"}
|
|
@@ -24989,7 +24989,7 @@ function UOe(t) {
|
|
|
24989
24989
|
{
|
|
24990
24990
|
name: "workspace.runs",
|
|
24991
24991
|
path: "",
|
|
24992
|
-
component: () => import("./RunsPageWithDefaultFilter-
|
|
24992
|
+
component: () => import("./RunsPageWithDefaultFilter-DEca1rxJ.mjs"),
|
|
24993
24993
|
props: { component: t.runs }
|
|
24994
24994
|
},
|
|
24995
24995
|
{
|
|
@@ -27267,8 +27267,8 @@ const soe = { class: "schema-form-property-any-of__section-header" }, N8 = /* @_
|
|
|
27267
27267
|
H(" Create ")
|
|
27268
27268
|
]),
|
|
27269
27269
|
_: 2
|
|
27270
|
-
}, 1032, ["onClick"])) :
|
|
27271
|
-
|
|
27270
|
+
}, 1032, ["onClick"])) : (w(), D(y, {
|
|
27271
|
+
key: 1,
|
|
27272
27272
|
size: "sm",
|
|
27273
27273
|
variant: "default",
|
|
27274
27274
|
to: m(o).blockCreate(_.slug)
|
|
@@ -27277,7 +27277,7 @@ const soe = { class: "schema-form-property-any-of__section-header" }, N8 = /* @_
|
|
|
27277
27277
|
H(" Create ")
|
|
27278
27278
|
]),
|
|
27279
27279
|
_: 2
|
|
27280
|
-
}, 1032, ["to"])
|
|
27280
|
+
}, 1032, ["to"]))
|
|
27281
27281
|
]),
|
|
27282
27282
|
_: 2
|
|
27283
27283
|
}, 1032, ["block-type"]))), 128))
|
|
@@ -88904,4 +88904,4 @@ export {
|
|
|
88904
88904
|
zce as y,
|
|
88905
88905
|
Qce as z
|
|
88906
88906
|
};
|
|
88907
|
-
//# sourceMappingURL=index-
|
|
88907
|
+
//# sourceMappingURL=index-B4dAFUoa.mjs.map
|