@prefecthq/prefect-ui-library 3.14.3 → 3.14.4

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.
@@ -1,4 +1,4 @@
1
- import { ref as ge, computed as D, capitalize as hj, readonly as SI, inject as Wv, getCurrentInstance as RI, resolveComponent as P, createElementBlock as z, openBlock as T, createTextVNode as q, createVNode as w, withCtx as k, toValue as Qe, reactive as lt, toRef as xe, watch as Ct, isReactive as fj, toRefs as Nn, onScopeDispose as AI, watchEffect as dx, onUnmounted as Em, isRef as Xe, unref as v, onMounted as wi, defineComponent as U, mergeModels as Br, useModel as zn, useSlots as DI, createBlock as O, createCommentVNode as j, renderSlot as Ve, Fragment as ve, createElementVNode as re, resolveDynamicComponent as Mr, normalizeProps as sn, guardReactiveProps as kn, toDisplayString as ie, mergeProps as yt, renderList as ln, createSlots as Ut, markRaw as mj, normalizeClass as Bt, normalizeStyle as b0, KeepAlive as hx, withAsyncContext as fx, onActivated as yj, provide as EI, onBeforeMount as MI, h as Mm, getCurrentScope as gj, withKeys as PI, withModifiers as ek, useAttrs as Eh, onBeforeUnmount as CI, Transition as mx, createStaticVNode as Pm } from "vue";
1
+ import { ref as ge, computed as D, capitalize as hj, readonly as SI, inject as Wv, getCurrentInstance as RI, resolveComponent as P, createElementBlock as z, openBlock as T, createTextVNode as q, createVNode as w, withCtx as k, toValue as Qe, reactive as lt, toRef as xe, watch as Pt, isReactive as fj, toRefs as Nn, onScopeDispose as AI, watchEffect as dx, onUnmounted as Em, isRef as Xe, unref as v, onMounted as wi, defineComponent as U, mergeModels as Br, useModel as zn, useSlots as DI, createBlock as O, createCommentVNode as j, renderSlot as Ve, Fragment as ve, createElementVNode as re, resolveDynamicComponent as Mr, normalizeProps as sn, guardReactiveProps as kn, toDisplayString as ie, mergeProps as yt, renderList as ln, createSlots as Ut, markRaw as mj, normalizeClass as Bt, normalizeStyle as b0, KeepAlive as hx, withAsyncContext as fx, onActivated as yj, provide as EI, onBeforeMount as MI, h as Mm, getCurrentScope as gj, withKeys as PI, withModifiers as ek, useAttrs as Eh, onBeforeUnmount as CI, Transition as mx, createStaticVNode as Pm } from "vue";
2
2
  import { DivergingBarChart as vj, LineChart as tk, ScatterPlot as _j, useChartCursor as OI, useChartSelection as II, ChartCursor as wj, ChartSelection as bj, ChartZoom as kj } from "@prefecthq/vue-charts";
3
3
  import { asArray as Sa, isDefined as Vt, toPluralString as Ks, showToast as He, isDateBefore as Tj, isDateBeforeOrEqual as xj, isDateAfter as Sj, isDateAfterOrEqual as Rj, isNotNullish as ri, isArray as eu, mapDateRangeSelectValueToDateRange as Aj, isDateRangeSelectPeriod as ND, isDateRangeSelectAroundUnit as LD, isDateRangeSelectType as BD, scrollToValidationError as Dj, useThemeTokens as Ej, PCombobox as ts, PToggle as Mh, PNumberInput as Ca, PTextarea as nk, PDateInput as UD, randomId as Cm, PLabel as nr, PTextInput as Mj, PIcon as vo, PEmptyResults as el, useAttrsStylesAndClasses as Pj, PCodeInput as Cj, sortStringArray as Ph, kebabCase as FI, PEmptyState as na, PKeyValue as Lt, PTags as am, POverflowMenuItem as rk, useAttrsStylesClassesAndListeners as Oj, PButton as Zo, PContent as NI, PIconButtonMenu as Ij, PTagWrapper as Fj, PSelect as Om, PListItemInput as Nj, PListItem as Lj, media as _s, PForm as Vv, positions as qr, usePopOverGroup as Bj, toPixels as Uj, PPopOver as Hv, useColorTheme as Xj, PTag as LI, PCode as $j, PTagsInput as Wj, PButtonGroup as Vj, PTable as BI, PBreadCrumbs as Hj, useWizardStep as yx, isSelectOptionNormalized as XD, ToastPlugin as jj } from "@prefecthq/prefect-design";
4
4
  import { createActions as Fn, SubscriptionManager as zj, RouteParam as Ba, InvalidRouteParamValue as Zr, getLocationQueryForSchema as qj, NumberRouteParam as _o, StringRouteParam as Xt, BooleanRouteParam as Yo, DateRouteParam as mo, useRouteQueryParams as Gj, NullableBooleanRouteParam as Yj, useSubscriptionWithDependencies as xt, useRouteQueryParam as dn, useSubscription as mt, useLocalStorage as hl, watchableArgs as Qj, unrefArgs as Kj, useNow as gx, useElementRect as UI, useSessionStorage as Zj, useDebouncedRef as ns, useIntersectionObserver as XI, useValidation as bn, useValidationObserver as Ms, useRouteParam as Jj, useKeyDown as $I, usePatchRef as mr, refreshChannel as WI } from "@prefecthq/vue-compositions";
@@ -19963,13 +19963,13 @@ function Gm(t, e) {
19963
19963
  return lt({ ...r, sort: n });
19964
19964
  }
19965
19965
  function ra(t, e) {
19966
- lc(t, e), Ct(t, () => {
19966
+ lc(t, e), Pt(t, () => {
19967
19967
  lc(e, t);
19968
19968
  });
19969
19969
  const n = __(() => {
19970
19970
  cm(t, e) || lc(t, e);
19971
19971
  }, 100);
19972
- Ct(e, () => {
19972
+ Pt(e, () => {
19973
19973
  n();
19974
19974
  }, { deep: !0 });
19975
19975
  }
@@ -21121,7 +21121,7 @@ function mN({
21121
21121
  }
21122
21122
  return null;
21123
21123
  }), a = xt(n, l, o), c = D(() => a.response ?? 0), p = lt([]), d = D(() => p.flatMap((M) => M.response ?? []));
21124
- Ct([c, i, e], ([M, L, X]) => {
21124
+ Pt([c, i, e], ([M, L, X]) => {
21125
21125
  if (M === 0 || L === 0 || X === null) {
21126
21126
  p.forEach((B) => B.unsubscribe()), p.splice(0);
21127
21127
  return;
@@ -21180,7 +21180,7 @@ function mN({
21180
21180
  function C() {
21181
21181
  return o?.mode ?? "page";
21182
21182
  }
21183
- return Ct(e, () => {
21183
+ return Pt(e, () => {
21184
21184
  i.value = 1;
21185
21185
  }, { deep: !0 }), AI(() => {
21186
21186
  h.unsubscribe();
@@ -21563,9 +21563,9 @@ function Xa(t) {
21563
21563
  }
21564
21564
  function CBe(t) {
21565
21565
  const n = ge(typeof t == "string" ? JSON.parse(t) : t), r = ge(or(n.value)), o = ge(!1);
21566
- return Ct(r, (s) => {
21566
+ return Pt(r, (s) => {
21567
21567
  o.value = ME(s), o.value && (n.value = JSON.parse(s));
21568
- }), Ct(n, (s) => {
21568
+ }), Pt(n, (s) => {
21569
21569
  if (ME(r.value)) {
21570
21570
  const i = JSON.stringify(JSON.parse(r.value)), u = JSON.stringify(s);
21571
21571
  i !== u && (r.value = JSON.stringify(s));
@@ -25383,7 +25383,7 @@ function _se(t) {
25383
25383
  }
25384
25384
  function wse(...[t, e, n]) {
25385
25385
  let r = pm(t);
25386
- return Ct(t, (...o) => {
25386
+ return Pt(t, (...o) => {
25387
25387
  const s = pm(t);
25388
25388
  hu.isEqual(r, s) || (r = s, e(...o));
25389
25389
  }, n);
@@ -25430,7 +25430,7 @@ function bse(t, ...[e, n, r = {}]) {
25430
25430
  ...r,
25431
25431
  initialValue: t
25432
25432
  }), { value: s } = o;
25433
- return Ct(s, (i) => t.value = i), Ct(t, (i) => {
25433
+ return Pt(s, (i) => t.value = i), Pt(t, (i) => {
25434
25434
  i !== s.value && (s.value = i);
25435
25435
  }), o;
25436
25436
  }
@@ -25438,9 +25438,9 @@ function T2(t, ...[e = {}]) {
25438
25438
  const n = Mc({
25439
25439
  ...e
25440
25440
  });
25441
- return Ct(() => n.values, (r) => {
25441
+ return Pt(() => n.values, (r) => {
25442
25442
  t.value = { ...r };
25443
- }, { deep: !0 }), Ct(t, (r) => {
25443
+ }, { deep: !0 }), Pt(t, (r) => {
25444
25444
  JSON.stringify(r) !== JSON.stringify(n.values) && n.setValues(r);
25445
25445
  }), n;
25446
25446
  }
@@ -25483,7 +25483,7 @@ function x2(t, e = 5e3) {
25483
25483
  }
25484
25484
  function BBe(t, e) {
25485
25485
  const n = ge(t), r = D(() => n.value.filter((i) => i.hidden !== !0).map((i) => i.label)), o = D(() => r.value.at(0)), s = ge(e ?? o.value);
25486
- return Ct(r, (i) => {
25486
+ return Pt(r, (i) => {
25487
25487
  const u = s.value;
25488
25488
  u !== void 0 && (i.includes(u) || (s.value = o.value));
25489
25489
  }, { immediate: !0 }), {
@@ -25594,7 +25594,7 @@ function Rse(t, e) {
25594
25594
  }
25595
25595
  function Ase() {
25596
25596
  const { value: t } = dte(), e = Ej(), n = lt({});
25597
- r(), Ct(t, () => r());
25597
+ r(), Pt(t, () => r());
25598
25598
  function r() {
25599
25599
  requestAnimationFrame(() => {
25600
25600
  Object.assign(n, e, Dse());
@@ -25953,7 +25953,7 @@ function qBe(t) {
25953
25953
  {
25954
25954
  name: "workspace.runs",
25955
25955
  path: "",
25956
- component: () => import("./RunsPageWithDefaultFilter-CDapVdTS.js"),
25956
+ component: () => import("./RunsPageWithDefaultFilter-CceYGNey.js"),
25957
25957
  props: { component: t.runs }
25958
25958
  },
25959
25959
  {
@@ -26069,7 +26069,7 @@ function qBe(t) {
26069
26069
  {
26070
26070
  name: "workspace.work-queues.work-queue",
26071
26071
  path: "work-queue/:workQueueId",
26072
- component: t.workQueue ?? (() => import("./WorkQueueToWorkPoolQueueRedirect-L0NJih1T.js"))
26072
+ component: t.workQueue ?? (() => import("./WorkQueueToWorkPoolQueueRedirect-C9AtKf4r.js"))
26073
26073
  }
26074
26074
  ]
26075
26075
  },
@@ -26361,9 +26361,9 @@ function Pse(t, e) {
26361
26361
  }
26362
26362
  function GBe(t, e) {
26363
26363
  const n = ge(1), r = lt({}), o = Se(), s = D(() => [Qe(t)]), i = mt(o.events.getEvents, s, e), u = D(() => i.response), l = D(() => u.value?.pages), a = D(() => n.value <= 1 ? null : [r[n.value]]), c = xt(o.events.getNextPage, a), p = D(() => c.response), d = D(() => i.loading || c.loading), h = D(() => n.value === 1 ? u.value?.events ?? [] : p.value?.events ?? []), m = D(() => h.value.length === 0), g = D(() => u.value?.total ?? 0);
26364
- return Ct(u, (_) => {
26364
+ return Pt(u, (_) => {
26365
26365
  _?.nextPageToken && (r[2] = _.nextPageToken);
26366
- }), Ct(p, (_) => {
26366
+ }), Pt(p, (_) => {
26367
26367
  _?.nextPageToken && (r[n.value + 1] = _.nextPageToken);
26368
26368
  }), {
26369
26369
  page: n,
@@ -26702,7 +26702,7 @@ function S2({ property: t, value: e }) {
26702
26702
  return a.valid ? r.value = [] : r.value = a.errors, a;
26703
26703
  }
26704
26704
  const l = __(u, 1e3);
26705
- return Ct(e, () => {
26705
+ return Pt(e, () => {
26706
26706
  r.value.length && l();
26707
26707
  }, { deep: !0 }), {
26708
26708
  errors: r,
@@ -27542,9 +27542,9 @@ const $0 = /* @__PURE__ */ U({
27542
27542
  emits: ["update:modelValue"],
27543
27543
  setup(t, { emit: e }) {
27544
27544
  const n = t, r = e, o = ge(n.modelValue ?? "");
27545
- Ct(() => n.modelValue, (u) => {
27545
+ Pt(() => n.modelValue, (u) => {
27546
27546
  s(u, o.value) || (o.value = u ?? "");
27547
- }), Ct(o, (u) => {
27547
+ }), Pt(o, (u) => {
27548
27548
  s(u, n.modelValue) || r("update:modelValue", u);
27549
27549
  });
27550
27550
  function s(u, l) {
@@ -27838,9 +27838,9 @@ const Rae = { class: "schema-form-property-any-of__section-header" }, qN = /* @_
27838
27838
  label: d.title ?? d.alias ?? d.format ?? d.type ?? "",
27839
27839
  value: h
27840
27840
  }))), p = s.value.map((d) => Ck(d));
27841
- return Ct(o, (d) => {
27841
+ return Pt(o, (d) => {
27842
27842
  r(p[d]);
27843
- }), Ct(n, (d) => {
27843
+ }), Pt(n, (d) => {
27844
27844
  p[o.value] = d;
27845
27845
  }, { immediate: !0 }), (d, h) => {
27846
27846
  const m = P("p-button-group"), g = P("p-content"), _ = P("p-label");
@@ -28548,7 +28548,7 @@ const Lae = /* @__PURE__ */ U({
28548
28548
  });
28549
28549
  if (!m && !n.skipDefaultValueInitialization && !Vt(n.value) && Vt(i.value.default)) {
28550
28550
  r("update:value", i.value.default);
28551
- const C = Ct(() => n.value, () => {
28551
+ const C = Pt(() => n.value, () => {
28552
28552
  cm(n.value, i.value.default) && (h.value = !0, C());
28553
28553
  });
28554
28554
  } else
@@ -28971,7 +28971,7 @@ const Zae = /* @__PURE__ */ U({
28971
28971
  r("update:value", h);
28972
28972
  }
28973
28973
  });
28974
- Ct(i, () => {
28974
+ Pt(i, () => {
28975
28975
  if (ri(i.value) && ri(n.value)) {
28976
28976
  const h = d(n.value, i.value);
28977
28977
  r("update:value", h);
@@ -29484,7 +29484,7 @@ function Xh(t, e) {
29484
29484
  r.value = [];
29485
29485
  }
29486
29486
  const u = __(s, 1e3);
29487
- return Ct(() => Qe(e), () => {
29487
+ return Pt(() => Qe(e), () => {
29488
29488
  r.value.length && u();
29489
29489
  }, { deep: !0 }), {
29490
29490
  validate: s,
@@ -33717,9 +33717,9 @@ const c4 = /* @__PURE__ */ U({
33717
33717
  const b = await n.artifacts.getArtifacts(o.value), S = [...new Map([...d.value, ...b].map((E) => [E.id, E])).values()].sort((E, A) => vk(A.created, E.created));
33718
33718
  d.value = S;
33719
33719
  };
33720
- Ct(l, (b, x) => {
33720
+ Pt(l, (b, x) => {
33721
33721
  b && !x ? r.value = [b] : m();
33722
- }, { immediate: !0 }), Ct(s, h);
33722
+ }, { immediate: !0 }), Pt(s, h);
33723
33723
  const g = () => {
33724
33724
  d.value.length >= p.value || (s.value += cM);
33725
33725
  };
@@ -36229,7 +36229,7 @@ const v4 = /* @__PURE__ */ Dc(the, [["render", rhe]]), ohe = { class: "block-cap
36229
36229
  H0,
36230
36230
  A4
36231
36231
  ]), c = ge(e.concurrencyLimit.active ?? !0), p = ge(e.concurrencyLimit.activeSlots ?? 0), d = ge(e.concurrencyLimit.slotDecayPerSecond ?? 0), h = Se(), m = mt(h.concurrencyV2Limits.getConcurrencyV2Limits);
36232
- Ct(() => e.concurrencyLimit, () => {
36232
+ Pt(() => e.concurrencyLimit, () => {
36233
36233
  o.value = e.concurrencyLimit.name, u.value = e.concurrencyLimit.limit, c.value = e.concurrencyLimit.active ?? !0, p.value = e.concurrencyLimit.activeSlots ?? 0, d.value = e.concurrencyLimit.slotDecayPerSecond ?? 0;
36234
36234
  });
36235
36235
  const { valid: _, pending: b, validate: x } = Ms(), S = async () => {
@@ -36590,7 +36590,7 @@ const v4 = /* @__PURE__ */ Dc(the, [["render", rhe]]), ohe = { class: "block-cap
36590
36590
  }, { handleSubmit: i, handleReset: u, isSubmitting: l } = Mc(), { value: a, meta: c, errorMessage: p } = Rs("type", s.type), { value: d } = Rs("message"), h = i((m) => {
36591
36591
  r("change", m), o.value = !1;
36592
36592
  });
36593
- return Ct(o, (m) => {
36593
+ return Pt(o, (m) => {
36594
36594
  m || u();
36595
36595
  }), (m, g) => {
36596
36596
  const _ = P("p-label"), b = P("p-text-input"), x = P("p-content"), S = P("p-form"), E = P("p-button"), A = P("p-modal");
@@ -36804,7 +36804,7 @@ const v4 = /* @__PURE__ */ Dc(the, [["render", rhe]]), ohe = { class: "block-cap
36804
36804
  }, g = () => {
36805
36805
  h.value || r("submit", d.value);
36806
36806
  };
36807
- return Ct(() => d.value, () => r("update:schedule", d.value)), Ct(() => h.value, () => r("update:disabled", h.value)), Ct(() => n.schedule, (_) => {
36807
+ return Pt(() => d.value, () => r("update:schedule", d.value)), Pt(() => h.value, () => r("update:disabled", h.value)), Pt(() => n.schedule, (_) => {
36808
36808
  c.value = _.timezone ?? c.value, u.value = _.cron, p.value = _.dayOr;
36809
36809
  }, { deep: !0 }), wi(() => {
36810
36810
  r("update:disabled", h.value), r("update:schedule", d.value);
@@ -41880,7 +41880,7 @@ const Cc = /* @__PURE__ */ U({
41880
41880
  { label: "Days", value: ic }
41881
41881
  ].filter((c) => c.value >= l);
41882
41882
  });
41883
- Ct(o, (l, a) => {
41883
+ Pt(o, (l, a) => {
41884
41884
  r("update:modelValue", n.modelValue / a * l);
41885
41885
  });
41886
41886
  const i = D({
@@ -44075,7 +44075,15 @@ const Cc = /* @__PURE__ */ U({
44075
44075
  nameLike: s
44076
44076
  },
44077
44077
  limit: i
44078
- }), e.prefix), { flowRuns: c, count: p, pages: d, subscription: h, errored: m, error: g } = kN(u, {
44078
+ }), e.prefix);
44079
+ Pt(
44080
+ () => u.flowRuns?.state?.name,
44081
+ (x, S) => {
44082
+ JSON.stringify(x) !== JSON.stringify(S) && (u.page = 1);
44083
+ },
44084
+ { deep: !0 }
44085
+ );
44086
+ const { flowRuns: c, count: p, pages: d, subscription: h, errored: m, error: g } = kN(u, {
44079
44087
  interval: 3e4
44080
44088
  }), _ = D(() => h.executed && c.value.length === 0), b = () => {
44081
44089
  r.value = [], h.refresh();
@@ -48857,7 +48865,7 @@ Rt.prototype.toString = function() {
48857
48865
  return `[@pixi/math:Point x=${this.x} y=${this.y}]`;
48858
48866
  };
48859
48867
  const mg = [new Rt(), new Rt(), new Rt(), new Rt()];
48860
- class Pt {
48868
+ class Ct {
48861
48869
  /**
48862
48870
  * @param x - The X coordinate of the upper-left corner of the rectangle
48863
48871
  * @param y - The Y coordinate of the upper-left corner of the rectangle
@@ -48885,14 +48893,14 @@ class Pt {
48885
48893
  }
48886
48894
  /** A constant empty rectangle. */
48887
48895
  static get EMPTY() {
48888
- return new Pt(0, 0, 0, 0);
48896
+ return new Ct(0, 0, 0, 0);
48889
48897
  }
48890
48898
  /**
48891
48899
  * Creates a clone of this Rectangle
48892
48900
  * @returns a copy of the rectangle
48893
48901
  */
48894
48902
  clone() {
48895
- return new Pt(this.x, this.y, this.width, this.height);
48903
+ return new Ct(this.x, this.y, this.width, this.height);
48896
48904
  }
48897
48905
  /**
48898
48906
  * Copies another rectangle to this one.
@@ -48990,7 +48998,7 @@ class Pt {
48990
48998
  return this.x = n, this.width = r - n, this.y = o, this.height = s - o, this;
48991
48999
  }
48992
49000
  }
48993
- Pt.prototype.toString = function() {
49001
+ Ct.prototype.toString = function() {
48994
49002
  return `[@pixi/math:Rectangle x=${this.x} y=${this.y} width=${this.width} height=${this.height}]`;
48995
49003
  };
48996
49004
  class $_ {
@@ -49027,7 +49035,7 @@ class $_ {
49027
49035
  * @returns The framing rectangle
49028
49036
  */
49029
49037
  getBounds() {
49030
- return new Pt(this.x - this.radius, this.y - this.radius, this.radius * 2, this.radius * 2);
49038
+ return new Ct(this.x - this.radius, this.y - this.radius, this.radius * 2, this.radius * 2);
49031
49039
  }
49032
49040
  }
49033
49041
  $_.prototype.toString = function() {
@@ -49067,7 +49075,7 @@ class W_ {
49067
49075
  * @returns The framing rectangle
49068
49076
  */
49069
49077
  getBounds() {
49070
- return new Pt(this.x - this.width, this.y - this.height, this.width, this.height);
49078
+ return new Ct(this.x - this.width, this.y - this.height, this.width, this.height);
49071
49079
  }
49072
49080
  }
49073
49081
  W_.prototype.toString = function() {
@@ -51594,7 +51602,7 @@ class pt extends uy {
51594
51602
  * @param borders - Default borders used for 9-slice scaling. See {@link PIXI.NineSlicePlane}
51595
51603
  */
51596
51604
  constructor(e, n, r, o, s, i, u) {
51597
- if (super(), this.noFrame = !1, n || (this.noFrame = !0, n = new Pt(0, 0, 1, 1)), e instanceof pt && (e = e.baseTexture), this.baseTexture = e, this._frame = n, this.trim = o, this.valid = !1, this.destroyed = !1, this._uvs = NC, this.uvMatrix = null, this.orig = r || n, this._rotate = Number(s || 0), s === !0)
51605
+ if (super(), this.noFrame = !1, n || (this.noFrame = !0, n = new Ct(0, 0, 1, 1)), e instanceof pt && (e = e.baseTexture), this.baseTexture = e, this._frame = n, this.trim = o, this.valid = !1, this.destroyed = !1, this._uvs = NC, this.uvMatrix = null, this.orig = r || n, this._rotate = Number(s || 0), s === !0)
51598
51606
  this._rotate = 2;
51599
51607
  else if (this._rotate % 2 !== 0)
51600
51608
  throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");
@@ -52059,7 +52067,7 @@ class vB extends yc {
52059
52067
  }
52060
52068
  class pbe {
52061
52069
  constructor() {
52062
- this.renderTexture = null, this.target = null, this.legacy = !1, this.resolution = 1, this.multisample = jr.NONE, this.sourceFrame = new Pt(), this.destinationFrame = new Pt(), this.bindingSourceFrame = new Pt(), this.bindingDestinationFrame = new Pt(), this.filters = [], this.transform = null;
52070
+ this.renderTexture = null, this.target = null, this.legacy = !1, this.resolution = 1, this.multisample = jr.NONE, this.sourceFrame = new Ct(), this.destinationFrame = new Ct(), this.bindingSourceFrame = new Ct(), this.bindingDestinationFrame = new Ct(), this.filters = [], this.transform = null;
52063
52071
  }
52064
52072
  /** Clears the state */
52065
52073
  clear() {
@@ -52072,8 +52080,8 @@ class _B {
52072
52080
  * @param renderer - The renderer this System works for.
52073
52081
  */
52074
52082
  constructor(e) {
52075
- this.renderer = e, this.defaultFilterStack = [{}], this.texturePool = new gB(), this.statePool = [], this.quad = new cbe(), this.quadUv = new vB(), this.tempRect = new Pt(), this.activeState = {}, this.globalUniforms = new di({
52076
- outputFrame: new Pt(),
52083
+ this.renderer = e, this.defaultFilterStack = [{}], this.texturePool = new gB(), this.statePool = [], this.quad = new cbe(), this.quadUv = new vB(), this.tempRect = new Ct(), this.activeState = {}, this.globalUniforms = new di({
52084
+ outputFrame: new Ct(),
52077
52085
  inputSize: new Float32Array(4),
52078
52086
  inputPixel: new Float32Array(4),
52079
52087
  inputClamp: new Float32Array(4),
@@ -52300,7 +52308,7 @@ class dbe {
52300
52308
  this.framebuffer = e, this.stencil = null, this.dirtyId = -1, this.dirtyFormat = -1, this.dirtySize = -1, this.multisample = jr.NONE, this.msaaBuffer = null, this.blitFramebuffer = null, this.mipLevel = 0;
52301
52309
  }
52302
52310
  }
52303
- const hbe = new Pt();
52311
+ const hbe = new Ct();
52304
52312
  class wB {
52305
52313
  /**
52306
52314
  * @param renderer - The renderer this System works for.
@@ -52312,7 +52320,7 @@ class wB {
52312
52320
  contextChange() {
52313
52321
  this.disposeAll(!0);
52314
52322
  const e = this.gl = this.renderer.gl;
52315
- if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, this.current = this.unknownFramebuffer, this.viewport = new Pt(), this.hasMRT = !0, this.writeDepthTexture = !0, this.renderer.context.webGLVersion === 1) {
52323
+ if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, this.current = this.unknownFramebuffer, this.viewport = new Ct(), this.hasMRT = !0, this.writeDepthTexture = !0, this.renderer.context.webGLVersion === 1) {
52316
52324
  let n = this.renderer.context.extensions.drawBuffers, r = this.renderer.context.extensions.depthTexture;
52317
52325
  at.PREFER_ENV === nd.WEBGL_LEGACY && (n = null, r = null), n ? e.drawBuffers = (o) => n.drawBuffersWEBGL(o) : (this.hasMRT = !1, e.drawBuffers = () => {
52318
52326
  }), r || (this.writeDepthTexture = !1);
@@ -52583,7 +52591,7 @@ class wB {
52583
52591
  }
52584
52592
  /** Resets framebuffer stored state, binds screen framebuffer. Should be called before renderTexture reset(). */
52585
52593
  reset() {
52586
- this.current = this.unknownFramebuffer, this.viewport = new Pt();
52594
+ this.current = this.unknownFramebuffer, this.viewport = new Ct();
52587
52595
  }
52588
52596
  destroy() {
52589
52597
  this.renderer = null;
@@ -53132,7 +53140,7 @@ const BC = new Qn(), UC = [], SB = class n0 extends xB {
53132
53140
  calcScissorRect(e) {
53133
53141
  if (e._scissorRectLocal)
53134
53142
  return;
53135
- const n = e._scissorRect, { maskObject: r } = e, { renderer: o } = this, s = o.renderTexture, i = r.getBounds(!0, UC.pop() ?? new Pt());
53143
+ const n = e._scissorRect, { maskObject: r } = e, { renderer: o } = this, s = o.renderTexture, i = r.getBounds(!0, UC.pop() ?? new Ct());
53136
53144
  this.roundFrameToPixels(
53137
53145
  i,
53138
53146
  s.current ? s.current.resolution : o.resolution,
@@ -53361,7 +53369,7 @@ DB.extension = {
53361
53369
  name: "projection"
53362
53370
  };
53363
53371
  dt.add(DB);
53364
- const _be = new SS(), XC = new Pt();
53372
+ const _be = new SS(), XC = new Ct();
53365
53373
  class EB {
53366
53374
  constructor(e) {
53367
53375
  this.renderer = e, this._tempMatrix = new Qn();
@@ -53401,13 +53409,13 @@ EB.extension = {
53401
53409
  name: "textureGenerator"
53402
53410
  };
53403
53411
  dt.add(EB);
53404
- const Qc = new Pt(), _f = new Pt();
53412
+ const Qc = new Ct(), _f = new Ct();
53405
53413
  class MB {
53406
53414
  /**
53407
53415
  * @param renderer - The renderer this System works for.
53408
53416
  */
53409
53417
  constructor(e) {
53410
- this.renderer = e, this.defaultMaskStack = [], this.current = null, this.sourceFrame = new Pt(), this.destinationFrame = new Pt(), this.viewportFrame = new Pt();
53418
+ this.renderer = e, this.defaultMaskStack = [], this.current = null, this.sourceFrame = new Ct(), this.destinationFrame = new Ct(), this.viewportFrame = new Ct();
53411
53419
  }
53412
53420
  contextChange() {
53413
53421
  const e = this.renderer?.gl.getContextAttributes();
@@ -54607,7 +54615,7 @@ class lv {
54607
54615
  * @param {PIXI.ViewOptions} options - the options for the view
54608
54616
  */
54609
54617
  init(e) {
54610
- this.screen = new Pt(0, 0, e.width, e.height), this.element = e.view || at.ADAPTER.createCanvas(), this.resolution = e.resolution || at.RESOLUTION, this.autoDensity = !!e.autoDensity;
54618
+ this.screen = new Ct(0, 0, e.width, e.height), this.element = e.view || at.ADAPTER.createCanvas(), this.resolution = e.resolution || at.RESOLUTION, this.autoDensity = !!e.autoDensity;
54611
54619
  }
54612
54620
  /**
54613
54621
  * Resizes the screen and canvas to the specified dimensions.
@@ -56339,7 +56347,7 @@ class cv {
56339
56347
  * @returns - A rectangle of the bounds
56340
56348
  */
56341
56349
  getRectangle(e) {
56342
- return this.minX > this.maxX || this.minY > this.maxY ? Pt.EMPTY : (e = e || new Pt(0, 0, 1, 1), e.x = this.minX, e.y = this.minY, e.width = this.maxX - this.minX, e.height = this.maxY - this.minY, e);
56350
+ return this.minX > this.maxX || this.minY > this.maxY ? Ct.EMPTY : (e = e || new Ct(0, 0, 1, 1), e.x = this.minX, e.y = this.minY, e.width = this.maxX - this.minX, e.height = this.maxY - this.minY, e);
56343
56351
  }
56344
56352
  /**
56345
56353
  * This function should be inlined when its possible.
@@ -56577,7 +56585,7 @@ class vr extends uy {
56577
56585
  * @returns - The minimum axis-aligned rectangle in world space that fits around this object.
56578
56586
  */
56579
56587
  getBounds(e, n) {
56580
- return e || (this.parent ? (this._recursivePostUpdateTransform(), this.updateTransform()) : (this.parent = this._tempDisplayObjectParent, this.updateTransform(), this.parent = null)), this._bounds.updateID !== this._boundsID && (this.calculateBounds(), this._bounds.updateID = this._boundsID), n || (this._boundsRect || (this._boundsRect = new Pt()), n = this._boundsRect), this._bounds.getRectangle(n);
56588
+ return e || (this.parent ? (this._recursivePostUpdateTransform(), this.updateTransform()) : (this.parent = this._tempDisplayObjectParent, this.updateTransform(), this.parent = null)), this._bounds.updateID !== this._boundsID && (this.calculateBounds(), this._bounds.updateID = this._boundsID), n || (this._boundsRect || (this._boundsRect = new Ct()), n = this._boundsRect), this._bounds.getRectangle(n);
56581
56589
  }
56582
56590
  /**
56583
56591
  * Retrieves the local bounds of the displayObject as a rectangle object.
@@ -56585,7 +56593,7 @@ class vr extends uy {
56585
56593
  * @returns - The rectangular bounding area.
56586
56594
  */
56587
56595
  getLocalBounds(e) {
56588
- e || (this._localBoundsRect || (this._localBoundsRect = new Pt()), e = this._localBoundsRect), this._localBounds || (this._localBounds = new cv());
56596
+ e || (this._localBoundsRect || (this._localBoundsRect = new Ct()), e = this._localBoundsRect), this._localBounds || (this._localBounds = new cv());
56589
56597
  const n = this.transform, r = this.parent;
56590
56598
  this.parent = null, this._tempDisplayObjectParent.worldAlpha = r?.worldAlpha ?? 1, this.transform = this._tempDisplayObjectParent.transform;
56591
56599
  const o = this._bounds, s = this._boundsID;
@@ -57260,7 +57268,7 @@ class Vr extends fn {
57260
57268
  * @returns The bounds.
57261
57269
  */
57262
57270
  getLocalBounds(e) {
57263
- return this.children.length === 0 ? (this._localBounds || (this._localBounds = new cv()), this._localBounds.minX = this._texture.orig.width * -this._anchor._x, this._localBounds.minY = this._texture.orig.height * -this._anchor._y, this._localBounds.maxX = this._texture.orig.width * (1 - this._anchor._x), this._localBounds.maxY = this._texture.orig.height * (1 - this._anchor._y), e || (this._localBoundsRect || (this._localBoundsRect = new Pt()), e = this._localBoundsRect), this._localBounds.getRectangle(e)) : super.getLocalBounds.call(this, e);
57271
+ return this.children.length === 0 ? (this._localBounds || (this._localBounds = new cv()), this._localBounds.minX = this._texture.orig.width * -this._anchor._x, this._localBounds.minY = this._texture.orig.height * -this._anchor._y, this._localBounds.maxX = this._texture.orig.width * (1 - this._anchor._x), this._localBounds.maxY = this._texture.orig.height * (1 - this._anchor._y), e || (this._localBoundsRect || (this._localBoundsRect = new Ct()), e = this._localBoundsRect), this._localBounds.getRectangle(e)) : super.getLocalBounds.call(this, e);
57264
57272
  }
57265
57273
  /**
57266
57274
  * Tests if a point is inside this sprite
@@ -57459,7 +57467,7 @@ vr.prototype._initCachedDisplayObject = function(t) {
57459
57467
  return;
57460
57468
  const e = this.alpha;
57461
57469
  this.alpha = 1, t.batch.flush();
57462
- const n = this.getLocalBounds(new Pt(), !0);
57470
+ const n = this.getLocalBounds(new Ct(), !0);
57463
57471
  if (this.filters?.length) {
57464
57472
  const d = this.filters[0].padding;
57465
57473
  n.pad(d);
@@ -57484,7 +57492,7 @@ vr.prototype._renderCachedCanvas = function(t) {
57484
57492
  vr.prototype._initCachedDisplayObjectCanvas = function(t) {
57485
57493
  if (this._cacheData?.sprite)
57486
57494
  return;
57487
- const e = this.getLocalBounds(new Pt(), !0), n = this.alpha;
57495
+ const e = this.getLocalBounds(new Ct(), !0), n = this.alpha;
57488
57496
  this.alpha = 1;
57489
57497
  const r = t.canvasContext.activeContext, o = t._projTransform, s = this.cacheAsBitmapResolution || t.resolution;
57490
57498
  e.ceil(s), e.width = Math.max(e.width, 1 / s), e.height = Math.max(e.height, 1 / s);
@@ -62855,7 +62863,7 @@ const qTe = {
62855
62863
  }
62856
62864
  };
62857
62865
  dt.add(qTe);
62858
- const Eg = new Pt(), GTe = 4, e6 = class $f {
62866
+ const Eg = new Ct(), GTe = 4, e6 = class $f {
62859
62867
  /**
62860
62868
  * @param renderer - A reference to the current renderer
62861
62869
  */
@@ -64280,7 +64288,7 @@ const Db = {}, RT = class a0 extends fn {
64280
64288
  * @returns - This Graphics object. Good for chaining method calls
64281
64289
  */
64282
64290
  drawRect(e, n, r, o) {
64283
- return this.drawShape(new Pt(e, n, r, o));
64291
+ return this.drawShape(new Ct(e, n, r, o));
64284
64292
  }
64285
64293
  /**
64286
64294
  * Draw a rectangle shape with rounded/beveled corners.
@@ -66147,7 +66155,7 @@ const pxe = {
66147
66155
  let o = !1;
66148
66156
  r || (r = at.ADAPTER.createCanvas(), o = !0), r.width = 3, r.height = 3;
66149
66157
  const s = pt.from(r);
66150
- s.orig = new Pt(), s.trim = new Pt(), super(s), this._ownCanvas = o, this.canvas = r, this.context = r.getContext("2d", {
66158
+ s.orig = new Ct(), s.trim = new Ct(), super(s), this._ownCanvas = o, this.canvas = r, this.context = r.getContext("2d", {
66151
66159
  // required for trimming to work without warnings
66152
66160
  willReadFrequently: !0
66153
66161
  }), this._resolution = ET.defaultResolution ?? at.RESOLUTION, this._autoResolution = ET.defaultAutoResolution, this._text = null, this._style = null, this._styleListener = null, this._font = "", this.text = e, this.style = n, this.localStyleID = -1;
@@ -66803,23 +66811,23 @@ const y6 = class Vf {
66803
66811
  const o = this._frameKeys[n], s = this._frames[o], i = s.frame;
66804
66812
  if (i) {
66805
66813
  let u = null, l = null;
66806
- const a = s.trimmed !== !1 && s.sourceSize ? s.sourceSize : s.frame, c = new Pt(
66814
+ const a = s.trimmed !== !1 && s.sourceSize ? s.sourceSize : s.frame, c = new Ct(
66807
66815
  0,
66808
66816
  0,
66809
66817
  Math.floor(a.w) / this.resolution,
66810
66818
  Math.floor(a.h) / this.resolution
66811
66819
  );
66812
- s.rotated ? u = new Pt(
66820
+ s.rotated ? u = new Ct(
66813
66821
  Math.floor(i.x) / this.resolution,
66814
66822
  Math.floor(i.y) / this.resolution,
66815
66823
  Math.floor(i.h) / this.resolution,
66816
66824
  Math.floor(i.w) / this.resolution
66817
- ) : u = new Pt(
66825
+ ) : u = new Ct(
66818
66826
  Math.floor(i.x) / this.resolution,
66819
66827
  Math.floor(i.y) / this.resolution,
66820
66828
  Math.floor(i.w) / this.resolution,
66821
66829
  Math.floor(i.h) / this.resolution
66822
- ), s.trimmed !== !1 && s.spriteSourceSize && (l = new Pt(
66830
+ ), s.trimmed !== !1 && s.spriteSourceSize && (l = new Ct(
66823
66831
  Math.floor(s.spriteSourceSize.x) / this.resolution,
66824
66832
  Math.floor(s.spriteSourceSize.y) / this.resolution,
66825
66833
  Math.floor(i.w) / this.resolution,
@@ -67212,7 +67220,7 @@ const ql = class Hi {
67212
67220
  const { id: p, page: d } = e.char[c];
67213
67221
  let { x: h, y: m, width: g, height: _, xoffset: b, yoffset: x, xadvance: S } = e.char[c];
67214
67222
  h /= l, m /= l, g /= l, _ /= l, b /= l, x /= l, S /= l;
67215
- const E = new Pt(
67223
+ const E = new Ct(
67216
67224
  h + a[d].frame.x / l,
67217
67225
  m + a[d].frame.y / l,
67218
67226
  g,
@@ -68096,7 +68104,7 @@ const Og = class Fd extends Vr {
68096
68104
  autoLoad: !1
68097
68105
  }
68098
68106
  });
68099
- o.orig = new Pt(), o.trim = new Pt(), this.texture = o;
68107
+ o.orig = new Ct(), o.trim = new Ct(), this.texture = o;
68100
68108
  const s = "http://www.w3.org/2000/svg", i = "http://www.w3.org/1999/xhtml", u = document.createElementNS(s, "svg"), l = document.createElementNS(s, "foreignObject"), a = document.createElementNS(i, "div"), c = document.createElementNS(i, "style");
68101
68109
  l.setAttribute("width", "10000"), l.setAttribute("height", "10000"), l.style.overflow = "hidden", u.appendChild(l), this.maxWidth = Fd.defaultMaxWidth, this.maxHeight = Fd.defaultMaxHeight, this._domElement = a, this._styleElement = c, this._svgRoot = u, this._foreignObject = l, this._foreignObject.appendChild(c), this._foreignObject.appendChild(a), this._image = r, this._loadImage = new Image(), this._autoResolution = Fd.defaultAutoResolution, this._resolution = Fd.defaultResolution ?? at.RESOLUTION, this.text = e, this.style = n;
68102
68110
  }
@@ -68398,7 +68406,7 @@ function Gxe() {
68398
68406
  async function oa() {
68399
68407
  return Jf || await Is("configCreated");
68400
68408
  }
68401
- const Zc = new Pt();
68409
+ const Zc = new Ct();
68402
68410
  class Yxe {
68403
68411
  /**
68404
68412
  * @param options
@@ -70124,7 +70132,7 @@ class S2e {
70124
70132
  }
70125
70133
  /** Add input listeners */
70126
70134
  addListeners() {
70127
- this.viewport.eventMode = "static", this.viewport.forceHitArea || (this.viewport.hitArea = new Pt(0, 0, this.viewport.worldWidth, this.viewport.worldHeight)), this.viewport.on("pointerdown", this.down, this), this.viewport.options.allowPreserveDragOutside ? this.viewport.on("globalpointermove", this.move, this) : this.viewport.on("pointermove", this.move, this), this.viewport.on("pointerup", this.up, this), this.viewport.on("pointerupoutside", this.up, this), this.viewport.on("pointercancel", this.up, this), this.viewport.options.allowPreserveDragOutside || this.viewport.on("pointerleave", this.up, this), this.wheelFunction = (e) => this.handleWheel(e), this.viewport.options.events.domElement.addEventListener(
70135
+ this.viewport.eventMode = "static", this.viewport.forceHitArea || (this.viewport.hitArea = new Ct(0, 0, this.viewport.worldWidth, this.viewport.worldHeight)), this.viewport.on("pointerdown", this.down, this), this.viewport.options.allowPreserveDragOutside ? this.viewport.on("globalpointermove", this.move, this) : this.viewport.on("pointermove", this.move, this), this.viewport.on("pointerup", this.up, this), this.viewport.on("pointerupoutside", this.up, this), this.viewport.on("pointercancel", this.up, this), this.viewport.options.allowPreserveDragOutside || this.viewport.on("pointerleave", this.up, this), this.wheelFunction = (e) => this.handleWheel(e), this.viewport.options.events.domElement.addEventListener(
70128
70136
  "wheel",
70129
70137
  this.wheelFunction,
70130
70138
  { passive: this.viewport.options.passiveWheel }
@@ -70442,7 +70450,7 @@ class D2e extends fn {
70442
70450
  * @param {number} elapsed time in milliseconds since last update
70443
70451
  */
70444
70452
  update(e) {
70445
- this.pause || (this.plugins.update(e), this.lastViewport && (this.lastViewport.x !== this.x || this.lastViewport.y !== this.y ? this.moving = !0 : this.moving && (this.emit("moved-end", this), this.moving = !1), this.lastViewport.scaleX !== this.scale.x || this.lastViewport.scaleY !== this.scale.y ? this.zooming = !0 : this.zooming && (this.emit("zoomed-end", this), this.zooming = !1)), this.forceHitArea || (this._hitAreaDefault = new Pt(this.left, this.top, this.worldScreenWidth, this.worldScreenHeight), this.hitArea = this._hitAreaDefault), this._dirty = this._dirty || !this.lastViewport || this.lastViewport.x !== this.x || this.lastViewport.y !== this.y || this.lastViewport.scaleX !== this.scale.x || this.lastViewport.scaleY !== this.scale.y, this.lastViewport = {
70453
+ this.pause || (this.plugins.update(e), this.lastViewport && (this.lastViewport.x !== this.x || this.lastViewport.y !== this.y ? this.moving = !0 : this.moving && (this.emit("moved-end", this), this.moving = !1), this.lastViewport.scaleX !== this.scale.x || this.lastViewport.scaleY !== this.scale.y ? this.zooming = !0 : this.zooming && (this.emit("zoomed-end", this), this.zooming = !1)), this.forceHitArea || (this._hitAreaDefault = new Ct(this.left, this.top, this.worldScreenWidth, this.worldScreenHeight), this.hitArea = this._hitAreaDefault), this._dirty = this._dirty || !this.lastViewport || this.lastViewport.x !== this.x || this.lastViewport.y !== this.y || this.lastViewport.scaleX !== this.scale.x || this.lastViewport.scaleY !== this.scale.y, this.lastViewport = {
70446
70454
  x: this.x,
70447
70455
  y: this.y,
70448
70456
  scaleX: this.scale.x,
@@ -70475,7 +70483,7 @@ class D2e extends fn {
70475
70483
  }
70476
70484
  /** Get visible world bounds of viewport */
70477
70485
  getVisibleBounds() {
70478
- return new Pt(this.left, this.top, this.worldScreenWidth, this.worldScreenHeight);
70486
+ return new Ct(this.left, this.top, this.worldScreenWidth, this.worldScreenHeight);
70479
70487
  }
70480
70488
  /**
70481
70489
  * Changes coordinate from screen to world
@@ -70778,7 +70786,7 @@ class D2e extends fn {
70778
70786
  return this._forceHitArea;
70779
70787
  }
70780
70788
  set forceHitArea(e) {
70781
- e ? (this._forceHitArea = e, this.hitArea = e) : (this._forceHitArea = null, this.hitArea = new Pt(0, 0, this.worldWidth, this.worldHeight));
70789
+ e ? (this._forceHitArea = e, this.hitArea = e) : (this._forceHitArea = null, this.hitArea = new Ct(0, 0, this.worldWidth, this.worldHeight));
70782
70790
  }
70783
70791
  /**
70784
70792
  * Enable one-finger touch to drag
@@ -73312,7 +73320,7 @@ async function lRe({ size: t, stroke: e = 1, radius: n = 0 }) {
73312
73320
  const r = await no(), o = new vc();
73313
73321
  return o.lineStyle(e, "#fff", 1, 0), o.drawRoundedRect(0, 0, t * 2, t * 2, n), r.renderer.generateTexture(o, {
73314
73322
  // drew a rounded rectangle and then just using one corner as the "arrow"
73315
- region: new Pt(0, 0, t, t),
73323
+ region: new Ct(0, 0, t, t),
73316
73324
  // manually bumping up the resolution to keep the border radius from being blurry
73317
73325
  resolution: 10
73318
73326
  });
@@ -73418,7 +73426,7 @@ async function mRe({ height: t, radius: e }) {
73418
73426
  const n = await no(), r = new vc();
73419
73427
  return r.beginFill("#fff"), r.drawRoundedRect(0, 0, e * 2, t, e), r.endFill(), n.renderer.generateTexture(r, {
73420
73428
  // drew a rounded rectangle and then just using half of the graphic to get just the left "cap"
73421
- region: new Pt(0, 0, e, t),
73429
+ region: new Ct(0, 0, e, t),
73422
73430
  resolution: BL
73423
73431
  });
73424
73432
  }
@@ -78991,7 +78999,7 @@ const rOe = { class: "flex items-center gap-2" }, oOe = /* @__PURE__ */ U({
78991
78999
  s.value = p, r("update:fullscreen", p);
78992
79000
  }
78993
79001
  });
78994
- Ct(() => n.selected, (p) => wu(p)), Ze.on("itemSelected", (p) => r("update:selected", p)), Ct(() => n.viewport, (p) => LCe(p)), Ct(() => n.config, (p) => k6(p));
79002
+ Pt(() => n.selected, (p) => wu(p)), Ze.on("itemSelected", (p) => r("update:selected", p)), Pt(() => n.viewport, (p) => LCe(p)), Pt(() => n.config, (p) => k6(p));
78995
79003
  const u = D(() => ({
78996
79004
  root: {
78997
79005
  "run-graph--fullscreen": i.value
@@ -79813,7 +79821,7 @@ const rOe = { class: "flex items-center gap-2" }, oOe = /* @__PURE__ */ U({
79813
79821
  emits: /* @__PURE__ */ Br(["update"], ["update:showModal"]),
79814
79822
  setup(t, { emit: e }) {
79815
79823
  const n = zn(t, "showModal"), r = e, o = Se(), s = ge({}), i = ge(null), u = ge(null), { errors: l, validate: a, reset: c } = Xh(u, s);
79816
- Ct(n, (m) => {
79824
+ Pt(n, (m) => {
79817
79825
  if (!m) {
79818
79826
  d();
79819
79827
  return;
@@ -81567,7 +81575,7 @@ const vIe = /* @__PURE__ */ Dc(mIe, [["render", gIe]]), _Ie = { class: "flow-run
81567
81575
  }, _ = () => {
81568
81576
  m.value || r("submit", h.value);
81569
81577
  };
81570
- return Ct(() => h.value, () => r("update:schedule", h.value)), Ct(() => m.value, () => r("update:disabled", m.value)), Ct(() => n.schedule, (b, x) => {
81578
+ return Pt(() => h.value, () => r("update:schedule", h.value)), Pt(() => m.value, () => r("update:disabled", m.value)), Pt(() => n.schedule, (b, x) => {
81571
81579
  s.value = b?.anchorDate ?? s.value, i.value = b?.timezone ?? i.value, b && !x && (u.value = IE(b.interval), c.value = FE(b.interval));
81572
81580
  }, { deep: !0 }), wi(() => {
81573
81581
  r("update:disabled", m.value), r("update:schedule", h.value);
@@ -82112,7 +82120,7 @@ const vIe = /* @__PURE__ */ Dc(mIe, [["render", gIe]]), _Ie = { class: "flow-run
82112
82120
  });
82113
82121
  bse(c, "blockData");
82114
82122
  const p = D(() => n.notification?.blockDocumentId ? [n.notification.blockDocumentId] : null), d = xt(u.blockDocuments.getBlockDocument, p), h = D(() => d.response);
82115
- Ct(h, (X) => {
82123
+ Pt(h, (X) => {
82116
82124
  X && (l.value = X.blockTypeId, c.value = X.data);
82117
82125
  }, { immediate: !0 });
82118
82126
  const m = {
@@ -84121,9 +84129,9 @@ const lX = /* @__PURE__ */ U({
84121
84129
  required: [],
84122
84130
  properties: R1(S.value, A.value)
84123
84131
  }));
84124
- Ct(r, () => {
84132
+ Pt(r, () => {
84125
84133
  r.value && (b.value = u.scheduleParameters ?? {}, x.value = Object.keys(b.value), a.value = u.slug ?? null);
84126
- }), Ct(A, () => {
84134
+ }), Pt(A, () => {
84127
84135
  const J = R1(b.value, A.value), oe = R1(
84128
84136
  u.deploymentParameters,
84129
84137
  A.value
@@ -84166,7 +84174,7 @@ const lX = /* @__PURE__ */ U({
84166
84174
  ], ae = () => {
84167
84175
  de.value = um(u.schedule) ? u.schedule : void 0, V.value = lm(u.schedule) ? u.schedule : void 0, c.value = u.active ?? !0, g.value = u.jobVariables ? or(u.jobVariables) : void 0;
84168
84176
  };
84169
- Ct(() => u.schedule, ae);
84177
+ Pt(() => u.schedule, ae);
84170
84178
  function Z(J) {
84171
84179
  J || ae();
84172
84180
  }
@@ -84485,7 +84493,7 @@ const lX = /* @__PURE__ */ U({
84485
84493
  const { value: S, success: E } = jN(c.value);
84486
84494
  E && (l.value = m(S));
84487
84495
  }
84488
- return Ct(u, (S, E) => {
84496
+ return Pt(u, (S, E) => {
84489
84497
  if (S === "form")
84490
84498
  return x();
84491
84499
  if (S === "json" || E === "form")
@@ -85115,7 +85123,7 @@ const lX = /* @__PURE__ */ U({
85115
85123
  }
85116
85124
  }
85117
85125
  }, { validate: u, pending: l } = Ms(), a = ge(n.variable.name + "_copy"), c = ge(n.variable.valueString ?? ""), p = ge([...n.variable.tags ?? []]);
85118
- Ct(() => n.variable, (x) => {
85126
+ Pt(() => n.variable, (x) => {
85119
85127
  a.value = x.name + "_copy", c.value = x.valueString ?? "", p.value = [...x.tags ?? []];
85120
85128
  }, { deep: !0 });
85121
85129
  const d = {
@@ -85847,7 +85855,7 @@ const lX = /* @__PURE__ */ U({
85847
85855
  throw m;
85848
85856
  }
85849
85857
  });
85850
- Ct(() => n.baseJobTemplate, (m) => {
85858
+ Pt(() => n.baseJobTemplate, (m) => {
85851
85859
  hu.isEqual(m, l.value) || (s.value = or(m));
85852
85860
  });
85853
85861
  const a = D(() => n.baseJobTemplate.variables ?? {}), c = D(() => ye.map("SchemaResponse", Ste(a.value), "Schema")), p = D(() => a.value.properties ?? {}), d = D(() => Object.keys(p.value).length > 0), h = D({
@@ -87206,7 +87214,7 @@ const lX = /* @__PURE__ */ U({
87206
87214
  name: [e.workPoolQueue.name]
87207
87215
  }
87208
87216
  }), { flowRuns: o, subscription: s } = Qp(r), i = D(() => s.executed && o.value.length === 0), u = D(() => n.value.isPaused);
87209
- return Ct(() => n, () => {
87217
+ return Pt(() => n, () => {
87210
87218
  s.refresh();
87211
87219
  }), (l, a) => {
87212
87220
  const c = P("p-icon"), p = P("p-empty-results");
@@ -87456,7 +87464,7 @@ const lX = /* @__PURE__ */ U({
87456
87464
  label: ""
87457
87465
  }), p;
87458
87466
  });
87459
- return Ct(a, (c, p) => {
87467
+ return Pt(a, (c, p) => {
87460
87468
  const d = new Set(c.flatMap((m) => m.options.map((g) => XD(g) ? g.value : null))), h = /* @__PURE__ */ new Set();
87461
87469
  for (const m of p)
87462
87470
  for (const g of m.options)
@@ -88813,7 +88821,7 @@ const rNe = {
88813
88821
  m !== null && g !== null && s.set(m, g);
88814
88822
  }
88815
88823
  const d = ge(or(n.action.jobVariables ?? {}));
88816
- Ct(n.action, () => d.value = or(n.action.jobVariables ?? {}));
88824
+ Pt(n.action, () => d.value = or(n.action.jobVariables ?? {}));
88817
88825
  function h(m) {
88818
88826
  d.value = m ?? "{}";
88819
88827
  try {
@@ -89592,7 +89600,7 @@ const jNe = /* @__PURE__ */ Dc(WNe, [["render", HNe]]), zNe = { class: "automati
89592
89600
  },
89593
89601
  u(30 * ic)
89594
89602
  ]);
89595
- Ct(() => n.posture, async () => await s());
89603
+ Pt(() => n.posture, async () => await s());
89596
89604
  function i(l) {
89597
89605
  return (a, c) => !Vt(a) || a >= l ? !0 : `${c} must be greater than or equal to ${l}`;
89598
89606
  }
@@ -91253,4 +91261,4 @@ export {
91253
91261
  dhe as y,
91254
91262
  KN as z
91255
91263
  };
91256
- //# sourceMappingURL=index-DjDBGSho.js.map
91264
+ //# sourceMappingURL=index-D_QhxcHe.js.map