@prefecthq/prefect-ui-library 1.6.1 → 1.6.2
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/{index-77bf5847.mjs → index-19aa00f4.mjs} +19690 -23150
- package/dist/index-19aa00f4.mjs.map +1 -0
- package/dist/prefect-ui-library.mjs +539 -547
- package/dist/prefect-ui-library.umd.js +141 -141
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/src/components/index.d.ts +0 -8
- package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +0 -8
- package/dist/types/src/index.d.ts +0 -1
- package/dist/types/src/router/routes.d.ts +0 -8
- package/dist/{viewport.es-a4ca92c6-f4439522.mjs → viewport.es-ae91b8e8-9ab18c9b.mjs} +6 -6
- package/dist/{viewport.es-a4ca92c6-f4439522.mjs.map → viewport.es-ae91b8e8-9ab18c9b.mjs.map} +1 -1
- package/package.json +2 -3
- package/dist/index-77bf5847.mjs.map +0 -1
- package/dist/types/demo/sections/flowRuns/FlowRunRadar.vue.d.ts +0 -2
- package/dist/types/src/components/PageHeadingFlowRunRadar.vue.d.ts +0 -18
- package/dist/types/src/components/RadarApp.vue.d.ts +0 -15
- package/dist/types/src/components/RadarNode.vue.d.ts +0 -66
- package/dist/types/src/components/RadarNodeFlowRun.vue.d.ts +0 -16
- package/dist/types/src/components/RadarNodePlaceholder.vue.d.ts +0 -2
- package/dist/types/src/components/RadarNodeSubFlowRun.vue.d.ts +0 -16
- package/dist/types/src/components/RadarNodeTaskRun.vue.d.ts +0 -16
- package/dist/types/src/components/RadarSmall.vue.d.ts +0 -15
|
@@ -41,14 +41,6 @@ export declare function createWorkspaceRoutes(config?: CreateWorkspaceRoutesConf
|
|
|
41
41
|
readonly flowRunId: string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
flowRunRadar: (flowRunId: string) => {
|
|
45
|
-
readonly name: "workspace.flow-runs.flow-run-radar";
|
|
46
|
-
readonly params: {
|
|
47
|
-
readonly accountId?: string | undefined;
|
|
48
|
-
readonly workspaceId?: string | undefined;
|
|
49
|
-
readonly flowRunId: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
44
|
taskRun: (taskRunId: string) => {
|
|
53
45
|
readonly name: "workspace.flow-runs.task-run";
|
|
54
46
|
readonly params: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { k as O, f as k, $ as b, l as c } from "./index-19aa00f4.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@prefecthq/vue-charts";
|
|
4
4
|
import "@prefecthq/prefect-design";
|
|
@@ -165,7 +165,7 @@ function H(p, t) {
|
|
|
165
165
|
} else
|
|
166
166
|
return S[t];
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const Y = {
|
|
169
169
|
removeOnInterrupt: !1,
|
|
170
170
|
ease: "linear",
|
|
171
171
|
time: 1e3
|
|
@@ -193,7 +193,7 @@ class u extends d {
|
|
|
193
193
|
this.time = 0;
|
|
194
194
|
}
|
|
195
195
|
constructor(t, e = {}) {
|
|
196
|
-
super(t), u.prototype.__init.call(this), u.prototype.__init2.call(this), u.prototype.__init3.call(this), u.prototype.__init4.call(this), u.prototype.__init5.call(this), u.prototype.__init6.call(this), u.prototype.__init7.call(this), this.options = Object.assign({},
|
|
196
|
+
super(t), u.prototype.__init.call(this), u.prototype.__init2.call(this), u.prototype.__init3.call(this), u.prototype.__init4.call(this), u.prototype.__init5.call(this), u.prototype.__init6.call(this), u.prototype.__init7.call(this), this.options = Object.assign({}, Y, e), this.options.ease = H(this.options.ease), this.setupPosition(), this.setupZoom(), this.time = 0;
|
|
197
197
|
}
|
|
198
198
|
setupPosition() {
|
|
199
199
|
typeof this.options.position < "u" ? (this.startX = this.parent.center.x, this.startY = this.parent.center.y, this.deltaX = this.options.position.x - this.parent.center.x, this.deltaY = this.options.position.y - this.parent.center.y, this.keepCenter = !1) : this.keepCenter = !0;
|
|
@@ -251,7 +251,7 @@ function v(p) {
|
|
|
251
251
|
}
|
|
252
252
|
return e;
|
|
253
253
|
}
|
|
254
|
-
const
|
|
254
|
+
const X = {
|
|
255
255
|
sides: "all",
|
|
256
256
|
friction: 0.5,
|
|
257
257
|
time: 150,
|
|
@@ -261,7 +261,7 @@ const Y = {
|
|
|
261
261
|
};
|
|
262
262
|
class _ extends d {
|
|
263
263
|
constructor(t, e = {}) {
|
|
264
|
-
super(t), this.options = Object.assign({},
|
|
264
|
+
super(t), this.options = Object.assign({}, X, e), this.ease = H(this.options.ease, "easeInOutSine"), this.options.sides ? this.options.sides === "all" ? this.top = this.bottom = this.left = this.right = !0 : this.options.sides === "horizontal" ? (this.right = this.left = !0, this.top = this.bottom = !1) : this.options.sides === "vertical" ? (this.left = this.right = !1, this.top = this.bottom = !0) : (this.top = this.options.sides.indexOf("top") !== -1, this.bottom = this.options.sides.indexOf("bottom") !== -1, this.left = this.options.sides.indexOf("left") !== -1, this.right = this.options.sides.indexOf("right") !== -1) : this.left = this.top = this.right = this.bottom = !1;
|
|
265
265
|
const n = this.options.underflow.toLowerCase();
|
|
266
266
|
n === "center" ? (this.underflowX = 0, this.underflowY = 0) : (this.underflowX = n.indexOf("left") !== -1 ? -1 : n.indexOf("right") !== -1 ? 1 : 0, this.underflowY = n.indexOf("top") !== -1 ? -1 : n.indexOf("bottom") !== -1 ? 1 : 0), this.reset();
|
|
267
267
|
}
|
|
@@ -1535,4 +1535,4 @@ export {
|
|
|
1535
1535
|
C as Viewport,
|
|
1536
1536
|
N as Wheel
|
|
1537
1537
|
};
|
|
1538
|
-
//# sourceMappingURL=viewport.es-
|
|
1538
|
+
//# sourceMappingURL=viewport.es-ae91b8e8-9ab18c9b.mjs.map
|