@prefecthq/prefect-ui-library 1.6.1 → 1.6.3

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.
Files changed (26) hide show
  1. package/dist/{index-77bf5847.mjs → index-5a4e60e6.mjs} +19537 -23053
  2. package/dist/index-5a4e60e6.mjs.map +1 -0
  3. package/dist/prefect-ui-library.mjs +578 -587
  4. package/dist/prefect-ui-library.umd.js +141 -141
  5. package/dist/prefect-ui-library.umd.js.map +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/types/src/components/ExtraInfoModal.vue.d.ts +14 -11
  8. package/dist/types/src/components/index.d.ts +0 -9
  9. package/dist/types/src/compositions/useWorkspaceRoutes.d.ts +0 -8
  10. package/dist/types/src/index.d.ts +0 -1
  11. package/dist/types/src/router/routes.d.ts +0 -8
  12. package/dist/types/src/services/schemas/utilities.d.ts +1 -1
  13. package/dist/{viewport.es-a4ca92c6-f4439522.mjs → viewport.es-ae91b8e8-cbc36762.mjs} +6 -6
  14. package/dist/{viewport.es-a4ca92c6-f4439522.mjs.map → viewport.es-ae91b8e8-cbc36762.mjs.map} +1 -1
  15. package/package.json +2 -3
  16. package/dist/index-77bf5847.mjs.map +0 -1
  17. package/dist/types/demo/sections/flowRuns/FlowRunRadar.vue.d.ts +0 -2
  18. package/dist/types/src/components/HelpIconModal.vue.d.ts +0 -25
  19. package/dist/types/src/components/PageHeadingFlowRunRadar.vue.d.ts +0 -18
  20. package/dist/types/src/components/RadarApp.vue.d.ts +0 -15
  21. package/dist/types/src/components/RadarNode.vue.d.ts +0 -66
  22. package/dist/types/src/components/RadarNodeFlowRun.vue.d.ts +0 -16
  23. package/dist/types/src/components/RadarNodePlaceholder.vue.d.ts +0 -2
  24. package/dist/types/src/components/RadarNodeSubFlowRun.vue.d.ts +0 -16
  25. package/dist/types/src/components/RadarNodeTaskRun.vue.d.ts +0 -16
  26. package/dist/types/src/components/RadarSmall.vue.d.ts +0 -15
@@ -124,7 +124,6 @@ export { default as FlowsDeleteButton } from './FlowsDeleteButton.vue';
124
124
  export { default as FlowsPageEmptyState } from './FlowsPageEmptyState.vue';
125
125
  export { default as FlowsTable } from './FlowsTable.vue';
126
126
  export { default as FourZeroFour } from './FourZeroFour.vue';
127
- export { default as HelpIconModal } from './HelpIconModal.vue';
128
127
  export { default as IntervalScheduleForm } from './IntervalScheduleForm.vue';
129
128
  export { default as JsonInput } from './JsonInput.vue';
130
129
  export { default as ListItemMeta } from './ListItemMeta.vue';
@@ -165,7 +164,6 @@ export { default as PageHeadingFlowCollection } from './PageHeadingFlowCollectio
165
164
  export { default as PageHeadingFlowCollections } from './PageHeadingFlowCollections.vue';
166
165
  export { default as PageHeadingFlowRun } from './PageHeadingFlowRun.vue';
167
166
  export { default as PageHeadingFlowRunCreate } from './PageHeadingFlowRunCreate.vue';
168
- export { default as PageHeadingFlowRunRadar } from './PageHeadingFlowRunRadar.vue';
169
167
  export { default as PageHeadingFlowRuns } from './PageHeadingFlowRuns.vue';
170
168
  export { default as PageHeadingFlows } from './PageHeadingFlows.vue';
171
169
  export { default as PageHeadingNotificationCreate } from './PageHeadingNotificationCreate.vue';
@@ -189,13 +187,6 @@ export { default as ParametersTable } from './ParametersTable.vue';
189
187
  export { default as ProcessTypeBadge } from './ProcessTypeBadge.vue';
190
188
  export { default as PythonInput } from './PythonInput.vue';
191
189
  export { default as QuickRunParametersModal } from './QuickRunParametersModal.vue';
192
- export { default as RadarApp } from './RadarApp.vue';
193
- export { default as RadarNode } from './RadarNode.vue';
194
- export { default as RadarNodeFlowRun } from './RadarNodeFlowRun.vue';
195
- export { default as RadarNodePlaceholder } from './RadarNodePlaceholder.vue';
196
- export { default as RadarNodeSubFlowRun } from './RadarNodeSubFlowRun.vue';
197
- export { default as RadarNodeTaskRun } from './RadarNodeTaskRun.vue';
198
- export { default as RadarSmall } from './RadarSmall.vue';
199
190
  export { default as ResultsCount } from './ResultsCount.vue';
200
191
  export { default as RunMenu } from './RunMenu.vue';
201
192
  export { default as SavedFilters } from './SavedFilters.vue';
@@ -37,14 +37,6 @@ export declare function useWorkspaceRoutes(): {
37
37
  readonly flowRunId: string;
38
38
  };
39
39
  };
40
- flowRunRadar: (flowRunId: string) => {
41
- readonly name: "workspace.flow-runs.flow-run-radar";
42
- readonly params: {
43
- readonly accountId?: string | undefined;
44
- readonly workspaceId?: string | undefined;
45
- readonly flowRunId: string;
46
- };
47
- };
48
40
  taskRun: (taskRunId: string) => {
49
41
  readonly name: "workspace.flow-runs.task-run";
50
42
  readonly params: {
@@ -1,4 +1,3 @@
1
- import '@prefecthq/radar/dist/style.css';
2
1
  import '@prefecthq/graphs/dist/style.css';
3
2
  export * from './components';
4
3
  export * from './compositions';
@@ -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,7 +1,7 @@
1
1
  import { SchemaProperty, SchemaPropertyInputAttrs, Schema, SchemaValues, SchemaValue, SchemaPropertyAnyOf, SchemaPropertyAllOf } from '../../types/schemas';
2
2
  import { ValidationMethod } from '../../utilities/validation';
3
3
  export type SchemaPropertyComponentWithProps = ReturnType<typeof schemaPropertyComponentWithProps> | null;
4
- export declare const schemaPropertyComponentWithProps: <T extends import("../../utilities/components").ComponentDefinition>(...args: Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? [component: T, props?: Omit<InstanceType<T>["$props"], "modelValue"> | undefined] : [component: T, props: Omit<InstanceType<T>["$props"], "modelValue">]) => Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? {
4
+ export declare const schemaPropertyComponentWithProps: <T extends import("../../index").ComponentDefinition>(...args: Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? [component: T, props?: Omit<InstanceType<T>["$props"], "modelValue"> | undefined] : [component: T, props: Omit<InstanceType<T>["$props"], "modelValue">]) => Omit<Partial<InstanceType<T>["$props"]>, "modelValue"> extends Omit<InstanceType<T>["$props"], "modelValue"> ? {
5
5
  component: T;
6
6
  props?: Omit<InstanceType<T>["$props"], "modelValue"> | undefined;
7
7
  } : {
@@ -1,4 +1,4 @@
1
- import { X as O, c as k, $ as b, f as c } from "./index-77bf5847.mjs";
1
+ import { k as O, f as k, $ as b, l as c } from "./index-5a4e60e6.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 X = {
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({}, X, e), this.options.ease = H(this.options.ease), this.setupPosition(), this.setupZoom(), this.time = 0;
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 Y = {
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({}, Y, 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;
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-a4ca92c6-f4439522.mjs.map
1538
+ //# sourceMappingURL=viewport.es-ae91b8e8-cbc36762.mjs.map