@prefecthq/prefect-ui-library 1.5.0 → 1.5.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-d9d3a498.mjs → index-04f45c48.mjs} +11141 -11105
- package/dist/{index-d9d3a498.mjs.map → index-04f45c48.mjs.map} +1 -1
- package/dist/prefect-ui-library.mjs +1 -1
- package/dist/prefect-ui-library.umd.js +51 -51
- package/dist/prefect-ui-library.umd.js.map +1 -1
- package/dist/types/src/localization/index.d.ts +2 -0
- package/dist/types/src/localization/locale/en.d.ts +2 -0
- package/dist/types/src/maps/index.d.ts +1 -0
- package/dist/types/src/models/DeploymentUpdate.d.ts +13 -0
- package/dist/types/src/models/api/DeploymentUpdateRequest.d.ts +1 -0
- package/dist/types/src/services/Mapper.d.ts +1 -0
- package/dist/types/src/services/schemas/properties/SchemaPropertyString.d.ts +2 -2
- package/dist/{viewport.es-14935be0-cad7f008.mjs → viewport.es-87938ebd-a4dd3056.mjs} +7 -7
- package/dist/{viewport.es-14935be0-cad7f008.mjs.map → viewport.es-87938ebd-a4dd3056.mjs.map} +1 -1
- package/package.json +2 -2
|
@@ -35,6 +35,7 @@ export declare const localization: {
|
|
|
35
35
|
delete: (type: string) => string;
|
|
36
36
|
deleteSavedSearch: string;
|
|
37
37
|
editVariable: string;
|
|
38
|
+
invalidJSON: string;
|
|
38
39
|
pauseDeployment: string;
|
|
39
40
|
pauseFlowRun: string;
|
|
40
41
|
pauseNotification: string;
|
|
@@ -138,6 +139,7 @@ export declare const localization: {
|
|
|
138
139
|
invalidData: (docsUrl: string) => string;
|
|
139
140
|
noResults: string;
|
|
140
141
|
none: string;
|
|
142
|
+
infraOverrides: string;
|
|
141
143
|
terminalTaskRunNoArtifacts: string;
|
|
142
144
|
nonTerminalTaskRunNoArtifacts: string;
|
|
143
145
|
terminalFlowRunNoArtifacts: string;
|
|
@@ -35,6 +35,7 @@ export declare const en: {
|
|
|
35
35
|
delete: (type: string) => string;
|
|
36
36
|
deleteSavedSearch: string;
|
|
37
37
|
editVariable: string;
|
|
38
|
+
invalidJSON: string;
|
|
38
39
|
pauseDeployment: string;
|
|
39
40
|
pauseFlowRun: string;
|
|
40
41
|
pauseNotification: string;
|
|
@@ -138,6 +139,7 @@ export declare const en: {
|
|
|
138
139
|
invalidData: (docsUrl: string) => string;
|
|
139
140
|
noResults: string;
|
|
140
141
|
none: string;
|
|
142
|
+
infraOverrides: string;
|
|
141
143
|
terminalTaskRunNoArtifacts: string;
|
|
142
144
|
nonTerminalTaskRunNoArtifacts: string;
|
|
143
145
|
terminalFlowRunNoArtifacts: string;
|
|
@@ -7,14 +7,27 @@ type Base = {
|
|
|
7
7
|
tags?: string[] | null;
|
|
8
8
|
workQueueName?: string | null;
|
|
9
9
|
workPoolName?: string | null;
|
|
10
|
+
infrastructureOverrides?: Record<string, unknown> | null;
|
|
11
|
+
};
|
|
12
|
+
type BaseEdit = Omit<Base, 'infrastructureOverrides'> & {
|
|
13
|
+
infrastructureOverrides?: string;
|
|
10
14
|
};
|
|
11
15
|
type WithoutParameters = Base & {
|
|
12
16
|
schema?: never;
|
|
13
17
|
parameters?: never;
|
|
14
18
|
};
|
|
19
|
+
type WithoutParametersEdit = BaseEdit & {
|
|
20
|
+
schema?: never;
|
|
21
|
+
parameters?: never;
|
|
22
|
+
};
|
|
15
23
|
type WithParameters = Base & {
|
|
16
24
|
schema: Schema;
|
|
17
25
|
parameters: SchemaValues;
|
|
18
26
|
};
|
|
27
|
+
type WithParametersEdit = BaseEdit & {
|
|
28
|
+
schema: Schema;
|
|
29
|
+
parameters: SchemaValues;
|
|
30
|
+
};
|
|
19
31
|
export type DeploymentUpdate = WithoutParameters | WithParameters;
|
|
32
|
+
export type DeploymentEdit = WithoutParametersEdit | WithParametersEdit;
|
|
20
33
|
export {};
|
|
@@ -3,11 +3,11 @@ import { SchemaPropertyComponentWithProps } from '../../../services/schemas/util
|
|
|
3
3
|
import { SchemaValue } from '../../../types/schemas';
|
|
4
4
|
import { ValidationMethodFactory } from '../../../utilities/validation';
|
|
5
5
|
export declare class SchemaPropertyString extends SchemaPropertyService {
|
|
6
|
+
protected get component(): SchemaPropertyComponentWithProps;
|
|
7
|
+
protected get default(): SchemaValue;
|
|
6
8
|
protected get validators(): ValidationMethodFactory[];
|
|
7
9
|
protected request(value: SchemaValue): unknown;
|
|
8
10
|
protected response(value: SchemaValue): unknown;
|
|
9
|
-
protected get default(): SchemaValue;
|
|
10
|
-
protected get component(): SchemaPropertyComponentWithProps;
|
|
11
11
|
private requestDateValue;
|
|
12
12
|
private responseDateValue;
|
|
13
13
|
private requestDateTimeValue;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as c, $ as b, X as O, c as k } from "./index-04f45c48.mjs";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "@prefecthq/vue-charts";
|
|
4
4
|
import "@prefecthq/prefect-design";
|
|
@@ -975,7 +975,7 @@ class G extends d {
|
|
|
975
975
|
this.snapping = null, super.resume();
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
|
-
const
|
|
978
|
+
const $ = {
|
|
979
979
|
percent: 0.1,
|
|
980
980
|
smooth: !1,
|
|
981
981
|
interrupt: !0,
|
|
@@ -989,7 +989,7 @@ const J = {
|
|
|
989
989
|
};
|
|
990
990
|
class N extends d {
|
|
991
991
|
constructor(t, e = {}) {
|
|
992
|
-
super(t), this.options = Object.assign({},
|
|
992
|
+
super(t), this.options = Object.assign({}, $, e), this.keyIsPressed = !1, this.options.keyToPress && this.handleKeyPresses(this.options.keyToPress);
|
|
993
993
|
}
|
|
994
994
|
handleKeyPresses(t) {
|
|
995
995
|
window.addEventListener("keydown", (e) => {
|
|
@@ -1078,7 +1078,7 @@ class N extends d {
|
|
|
1078
1078
|
return !this.parent.options.passiveWheel;
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
|
-
class
|
|
1081
|
+
class J {
|
|
1082
1082
|
constructor(t) {
|
|
1083
1083
|
this.viewport = t, this.touches = [], this.addListeners();
|
|
1084
1084
|
}
|
|
@@ -1285,7 +1285,7 @@ class C extends k {
|
|
|
1285
1285
|
{ divWheel: document.body },
|
|
1286
1286
|
et,
|
|
1287
1287
|
t
|
|
1288
|
-
), this.screenWidth = this.options.screenWidth, this.screenHeight = this.options.screenHeight, this._worldWidth = this.options.worldWidth, this._worldHeight = this.options.worldHeight, this.forceHitArea = this.options.forceHitArea, this.threshold = this.options.threshold, this.options.divWheel = this.options.divWheel || document.body, this.options.disableOnContextMenu && this.options.divWheel.addEventListener("contextmenu", this._disableOnContextMenu), this.options.noTicker || (this.tickerFunction = () => this.update(this.options.ticker.elapsedMS), this.options.ticker.add(this.tickerFunction)), this.input = new
|
|
1288
|
+
), this.screenWidth = this.options.screenWidth, this.screenHeight = this.options.screenHeight, this._worldWidth = this.options.worldWidth, this._worldHeight = this.options.worldHeight, this.forceHitArea = this.options.forceHitArea, this.threshold = this.options.threshold, this.options.divWheel = this.options.divWheel || document.body, this.options.disableOnContextMenu && this.options.divWheel.addEventListener("contextmenu", this._disableOnContextMenu), this.options.noTicker || (this.tickerFunction = () => this.update(this.options.ticker.elapsedMS), this.options.ticker.add(this.tickerFunction)), this.input = new J(this), this.plugins = new tt(this);
|
|
1289
1289
|
}
|
|
1290
1290
|
destroy(t) {
|
|
1291
1291
|
!this.options.noTicker && this.tickerFunction && this.options.ticker.remove(this.tickerFunction), this.options.disableOnContextMenu && this.options.divWheel.removeEventListener("contextmenu", this._disableOnContextMenu), this.input.destroy(), super.destroy(t);
|
|
@@ -1525,7 +1525,7 @@ export {
|
|
|
1525
1525
|
V as Decelerate,
|
|
1526
1526
|
M as Drag,
|
|
1527
1527
|
j as Follow,
|
|
1528
|
-
|
|
1528
|
+
J as InputManager,
|
|
1529
1529
|
q as MouseEdges,
|
|
1530
1530
|
y as Pinch,
|
|
1531
1531
|
d as Plugin,
|
|
@@ -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-87938ebd-a4dd3056.mjs.map
|