@cratis/event-models 0.200.0 → 0.201.1

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,12 +1,12 @@
1
1
  import { c as Ga, d as Ha, f as We, l as Xi, m as oo, p as Va, s as Ja, t as er, u as Yt } from "./defaultStructuredEditorStrings-Ch1I0Lci.js";
2
2
  import { t as tr } from "./QueryBindingEditor-MTd0R7iQ.js";
3
3
  import { i as Qa, n as Ya, r as Za, t as Xa } from "./toTemplateSources-B9ALGe3x.js";
4
- import { _ as es, a as Zg, c as Ko, d as nr, f as ts, g as Xg, h as ns, i as os, l as ev, m as is, n as tv, o as sn, p as or, r as rs, s as nv, t as ov, u as iv, v as rv, y as av } from "./structuredValue-vqCZttsk.js";
4
+ import { _ as es, a as ev, c as Ko, d as nr, f as ts, g as tv, h as ns, i as os, l as nv, m as is, n as ov, o as sn, p as or, r as rs, s as iv, t as rv, u as av, v as sv, y as lv } from "./structuredValue-vqCZttsk.js";
5
5
  import { a as ve, n as as, r as ss } from "./iconDiagnostics-Ds4CnqD0.js";
6
- import { t as cv } from "./StructuredValueEditor-CcwyOga0.js";
6
+ import { t as uv } from "./StructuredValueEditor-CcwyOga0.js";
7
7
  import { createContext as ls, createElement as yt, useCallback as U, useContext as cs, useEffect as le, useId as ds, useLayoutEffect as ye, useMemo as L, useRef as V, useState as z } from "react";
8
8
  import { LayoutArrangement as J, PrototypeOverlayFrame as ir } from "@cratis/scene/ScreenEditor";
9
- import { BindingMode as mv, BindingNullBehavior as hv, BindingSourceKind as fv, BindingSourceKind as xt, CollectionOperation as be, ComponentCategory as us, DestinationKind as gv, DestinationKind as rr, DiagnosticCode as ps, EditTarget as ms, EditingScopeKind as Ht, FlowContainerKind as ln, FormGenerationMode as he, FormWidthUnit as we, GridUnitType as hs, HorizontalAlignment as io, InteractionActionKind as lt, InteractionTriggerKind as ar, NavigationRegionKind as qo, NavigationRegionMode as xe, Orientation as ct, PackageKind as dt, PropertyEditorKind as Y, PropertyValueType as G, ProvenanceKind as Go, QueryOriginKind as fs, QueryResultShape as gs, SceneEditKind as Q, SceneNodeKind as vs, TemplateReferenceSource as bs, TemplateScope as ys, ValueSource as sr, VerticalAlignment as ro, Visibility as ao, componentCategories as ws } from "@cratis/scene.model";
9
+ import { BindingMode as fv, BindingNullBehavior as gv, BindingSourceKind as vv, BindingSourceKind as xt, CollectionOperation as be, ComponentCategory as us, DestinationKind as bv, DestinationKind as rr, DiagnosticCode as ps, EditTarget as ms, EditingScopeKind as Ht, FlowContainerKind as ln, FormGenerationMode as he, FormWidthUnit as we, GridUnitType as hs, HorizontalAlignment as io, InteractionActionKind as lt, InteractionTriggerKind as ar, NavigationRegionKind as qo, NavigationRegionMode as xe, Orientation as ct, PackageKind as dt, PropertyEditorKind as Y, PropertyValueType as G, ProvenanceKind as Go, QueryOriginKind as fs, QueryResultShape as gs, SceneEditKind as Q, SceneNodeKind as vs, TemplateReferenceSource as bs, TemplateScope as ys, ValueSource as sr, VerticalAlignment as ro, Visibility as ao, componentCategories as ws } from "@cratis/scene.model";
10
10
  import { ApplicationStructureIndex as Zt, EffectiveIconCatalog as ks, NavigationEditKind as Ho, TemplateCatalogKind as lr, ToolbarDiagnosticSeverity as Ss, addNavItem as Cs, applicableTemplates as Ns, applyEdit as cr, applyNavigationEdits as Ts, baseComponentLibraries as Is, componentArgumentSourcePrefix as Ps, componentBadge as Vo, computeSizeClass as xs, corePackage as so, createDescriptorCatalog as Os, diagnoseNavigationRegions as Rs, effectiveNavigation as dr, effectivePackages as ur, elementNodeId as oe, findComponentDescriptor as lo, findLayoutTypeDescriptor as Jo, inspect as co, isCanvas as ut, isDockPanel as Ds, isExternalComponent as qe, isGrid as uo, isPackageSelectionValid as Es, isPanel as Bt, isStackPanel as po, isThemeCompatible as Fs, isWrapPanel as As, matchComponentQuery as Ms, normalizeToolbarButton as _s, packagesOfKind as Qo, rankFrequentlyUsedComponents as $s, resolveComponentName as Tt, resolveEffectiveConfiguration as pr, resolveIconLibraries as Ls, resolvePackageDependencies as Bs, resolveTemplateChain as mo, resolveToolbarButton as js, setApplicationLogo as Us, switchRegionMode as mr, toComponentCatalog as Xt, toolbarButtonFromItem as ho, validateToolbarButtons as Ws, validateValue as cn } from "@cratis/scene.engine";
11
11
  import { Fragment as ae, jsx as a, jsxs as b } from "react/jsx-runtime";
12
12
  import { ErrorBoundary as He, IconButton as Ie, Tabs as zs } from "@cratis/components/Common";
@@ -2661,7 +2661,7 @@ var Pp = class {
2661
2661
  };
2662
2662
  function xp() {
2663
2663
  const e = new Pp();
2664
- e.register(Y.Text, async () => (await import("./TextEditor-BEH-9K1S.js")).TextEditor), e.register(Y.Number, async () => (await import("./NumberEditor-Cyo9_23Z.js")).NumberEditor), e.register(Y.Boolean, async () => (await import("./BooleanEditor-eC1yCpz0.js")).BooleanEditor), e.register(Y.Enum, async () => (await import("./EnumEditor-DNnnf9i3.js")).EnumEditor), e.register(Y.Select, async () => (await import("./SelectEditor-Bi_fonS5.js")).SelectEditor), e.register(Y.Color, async () => (await import("./ColorEditor-Cc6Xq8pW.js")).ColorEditor), e.register(Y.Icon, async () => (await import("./IconEditor-C0ibqn-e.js")).IconEditor), e.register(Y.List, async () => (await import("./ListEditor-CfFPVVJ4.js")).ListEditor), e.register(Y.Reference, async () => (await import("./ReferenceEditor-DYLimujk.js")).ReferenceEditor), e.register(Y.NavigationTarget, async () => (await import("./NavigationTargetEditor-DiGohBww.js")).NavigationTargetEditor), e.register(Y.RenderingSlot, async () => (await import("./RenderingSlotEditor-D0ppEIOx.js")).RenderingSlotEditor), e.register(Y.Slice, async () => (await import("./SliceEditor-C9bAGN4f.js")).SliceEditor), e.register(Y.InheritanceMode, async () => (await import("./InheritanceModeEditor-CtdsACnc.js")).InheritanceModeEditor), e.register(Y.Field, async () => (await import("./FieldEditor-Biz82jlR.js")).FieldEditor), e.register(Y.ColumnList, async () => (await import("./ColumnListEditor-MZzEtJuo.js")).ColumnListEditor), e.register(Y.Template, async () => (await import("./TemplatePropertyEditor-CDKWG7m1.js")).TemplatePropertyEditor), e.register(Y.SampleData, async () => (await import("./ReferenceTargetEditors-D0jEg1QM.js")).SampleDataEditor), e.register("object", async () => (await import("./StructuredPropertyEditor-B3lVjrHZ.js")).StructuredPropertyEditor), e.register("collection", async () => (await import("./CollectionEditor-C7eX8Hw7.js")).CollectionEditor);
2664
+ e.register(Y.Text, async () => (await import("./TextEditor-BEH-9K1S.js")).TextEditor), e.register(Y.Number, async () => (await import("./NumberEditor-Cyo9_23Z.js")).NumberEditor), e.register(Y.Boolean, async () => (await import("./BooleanEditor-eC1yCpz0.js")).BooleanEditor), e.register(Y.Enum, async () => (await import("./EnumEditor-DNnnf9i3.js")).EnumEditor), e.register(Y.Select, async () => (await import("./SelectEditor-CY6dlYWi.js")).SelectEditor), e.register(Y.Color, async () => (await import("./ColorEditor-Cc6Xq8pW.js")).ColorEditor), e.register(Y.Icon, async () => (await import("./IconEditor-C0ibqn-e.js")).IconEditor), e.register(Y.List, async () => (await import("./ListEditor-CfFPVVJ4.js")).ListEditor), e.register(Y.Reference, async () => (await import("./ReferenceEditor-CTguqJZC.js")).ReferenceEditor), e.register(Y.NavigationTarget, async () => (await import("./NavigationTargetEditor-C53kuCBJ.js")).NavigationTargetEditor), e.register(Y.RenderingSlot, async () => (await import("./RenderingSlotEditor-D0ppEIOx.js")).RenderingSlotEditor), e.register(Y.Slice, async () => (await import("./SliceEditor-BdiU5-Tg.js")).SliceEditor), e.register(Y.InheritanceMode, async () => (await import("./InheritanceModeEditor-CtdsACnc.js")).InheritanceModeEditor), e.register(Y.Field, async () => (await import("./FieldEditor-e6VpsD__.js")).FieldEditor), e.register(Y.ColumnList, async () => (await import("./ColumnListEditor-CmhQYS5b.js")).ColumnListEditor), e.register(Y.Template, async () => (await import("./TemplatePropertyEditor-CDKWG7m1.js")).TemplatePropertyEditor), e.register(Y.SampleData, async () => (await import("./ReferenceTargetEditors-Bx6dhIxY.js")).SampleDataEditor), e.register("object", async () => (await import("./StructuredPropertyEditor-B3lVjrHZ.js")).StructuredPropertyEditor), e.register("collection", async () => (await import("./CollectionEditor-C7eX8Hw7.js")).CollectionEditor);
2665
2665
  for (const t of [
2666
2666
  Y.StringList,
2667
2667
  Y.NumberList,
@@ -2669,7 +2669,7 @@ function xp() {
2669
2669
  Y.Scalar,
2670
2670
  Y.StringMap
2671
2671
  ]) e.register(t, async () => (await import("./StructuredPropertyEditor-B3lVjrHZ.js")).StructuredPropertyEditor);
2672
- e.register("iconPicker", async () => (await import("./IconEditor-C0ibqn-e.js")).IconEditor), e.register("navigationItemTarget", async () => (await import("./NavigationItemTargetEditor-pApohBNj.js")).NavigationItemTargetEditor), e.register("screenPicker", async () => (await import("./NavigationTargetEditor-DiGohBww.js")).NavigationTargetEditor), e.register("stateChangeReference", async () => (await import("./StateChangeEditors-BkAsY31N.js")).StateChangeEditor), e.register("commandBinding", async () => (await import("./StateChangeEditors-BkAsY31N.js")).StateChangeEditor), e.register("resultField", async () => (await import("./FieldEditor-Biz82jlR.js")).FieldEditor), e.register("bindingPath", async () => (await import("./FieldEditor-Biz82jlR.js")).FieldEditor), e.register("resultFieldList", async () => (await import("./FieldListEditor-VWZ3LAwY.js")).FieldListEditor), e.register("queryBinding", async () => (await import("./QueryBindingPropertyEditor-BQa1v9AT.js")).QueryBindingPropertyEditor), e.register("bindingExpression", async () => (await import("./BindingExpressionPropertyEditor-ClMKmJ_3.js")).BindingExpressionPropertyEditor), e.register("undescribed", async () => (await import("./UndescribedEditor-Cqs6bHhD.js")).UndescribedEditor);
2672
+ e.register("iconPicker", async () => (await import("./IconEditor-C0ibqn-e.js")).IconEditor), e.register("navigationItemTarget", async () => (await import("./NavigationItemTargetEditor-pApohBNj.js")).NavigationItemTargetEditor), e.register("screenPicker", async () => (await import("./NavigationTargetEditor-C53kuCBJ.js")).NavigationTargetEditor), e.register("stateChangeReference", async () => (await import("./StateChangeEditors-DHzrwtMX.js")).StateChangeEditor), e.register("commandBinding", async () => (await import("./StateChangeEditors-DHzrwtMX.js")).StateChangeEditor), e.register("resultField", async () => (await import("./FieldEditor-e6VpsD__.js")).FieldEditor), e.register("bindingPath", async () => (await import("./FieldEditor-e6VpsD__.js")).FieldEditor), e.register("resultFieldList", async () => (await import("./FieldListEditor-65ZJZoLM.js")).FieldListEditor), e.register("queryBinding", async () => (await import("./QueryBindingPropertyEditor-BQa1v9AT.js")).QueryBindingPropertyEditor), e.register("bindingExpression", async () => (await import("./BindingExpressionPropertyEditor-ClMKmJ_3.js")).BindingExpressionPropertyEditor), e.register("undescribed", async () => (await import("./UndescribedEditor-Cqs6bHhD.js")).UndescribedEditor);
2673
2673
  for (const t of [
2674
2674
  "commandFormLayout",
2675
2675
  "fieldWidths",
@@ -4587,7 +4587,7 @@ var Im = (e) => e.dataTransfer.types.includes(Ao), Pm = {
4587
4587
  "data-component": T.key,
4588
4588
  draggable: !0,
4589
4589
  className: "studio-component-picker__row",
4590
- "aria-label": n.addLabel(T.label),
4590
+ title: n.addLabel(T.label),
4591
4591
  onClick: () => o(T),
4592
4592
  onDragStart: (I) => x(T, I),
4593
4593
  onDragEnd: C,
@@ -6697,8 +6697,11 @@ var Zh = (e, t) => e.left === t.left && e.top === t.top && e.width === t.width &
6697
6697
  value: p,
6698
6698
  children: g
6699
6699
  }) : g;
6700
+ }, of = 'button, a[href], [role="button"], [role="radio"], [role="option"], [role="menuitem"]', rf = (e) => {
6701
+ const t = e;
6702
+ return !!t && typeof t.closest == "function" && t.closest(of) !== null;
6700
6703
  };
6701
- function of(e, t, n) {
6704
+ function af(e, t, n) {
6702
6705
  const { subject: o } = t;
6703
6706
  if (!o) return !1;
6704
6707
  const i = en(e.target), r = () => (e.preventDefault(), e.stopPropagation(), !0);
@@ -6706,7 +6709,7 @@ function of(e, t, n) {
6706
6709
  return t.deselect(), r();
6707
6710
  const s = o.selected;
6708
6711
  if (!s || i || s.readOnly) return !1;
6709
- if (e.key === "Enter" && !e.altKey && !e.ctrlKey && !e.metaKey) return n() ? r() : !1;
6712
+ if (e.key === "Enter" && !e.altKey && !e.ctrlKey && !e.metaKey) return !rf(e.target) && n() ? r() : !1;
6710
6713
  if (e.altKey && !e.ctrlKey && !e.metaKey) {
6711
6714
  const l = e.key === "ArrowUp" || e.key === "ArrowLeft", c = e.key === "ArrowDown" || e.key === "ArrowRight";
6712
6715
  if (l || c)
@@ -6728,11 +6731,11 @@ function Da(e, t, n) {
6728
6731
  ...l ? { slots: l } : {}
6729
6732
  } : e;
6730
6733
  }
6731
- var rf = () => {
6732
- }, af = {
6734
+ var sf = () => {
6735
+ }, lf = {
6733
6736
  button: "Button",
6734
6737
  item: "New item"
6735
- }, sf = ({ controller: e, environment: t, resolveBinding: n = rf, configuration: o, strings: i, editorStrings: r, viewportHeight: s, shell: l }) => {
6738
+ }, cf = ({ controller: e, environment: t, resolveBinding: n = sf, configuration: o, strings: i, editorStrings: r, viewportHeight: s, shell: l }) => {
6736
6739
  const c = V(null), { composition: u, dropRegions: d, selectedId: p } = e, { selectionRect: m, measureNow: h } = Fh(c, d, p), { feedback: g, draggedId: f, startMoving: v, endMoving: w, handlers: P } = Dh(c, h, e), [x, C] = z(), k = Nh(e, t), { document: y, context: T } = e, A = L(() => o ?? (y.instanceContributions.length > 0 ? pr(mo(y, T.scope), y.instanceContributions, T.catalog) : void 0), [
6737
6740
  o,
6738
6741
  y,
@@ -6741,7 +6744,7 @@ var rf = () => {
6741
6744
  controller: e,
6742
6745
  environment: t,
6743
6746
  strings: I,
6744
- startingLabels: af,
6747
+ startingLabels: lf,
6745
6748
  ...E ? { startingDestination: E } : {}
6746
6749
  });
6747
6750
  ye(() => {
@@ -6755,7 +6758,7 @@ var rf = () => {
6755
6758
  H.preventDefault(), l.back();
6756
6759
  return;
6757
6760
  }
6758
- of(H, B, () => {
6761
+ af(H, B, () => {
6759
6762
  const ie = c.current?.querySelector(".studio-design-toolbar__title");
6760
6763
  return ie?.focus({ preventScroll: !0 }), !!ie;
6761
6764
  }) || !ko(H) || !e.selectedId || !e.canRemove(e.selectedId) || (H.preventDefault(), e.remove(e.selectedId));
@@ -7000,7 +7003,7 @@ var rf = () => {
7000
7003
  onClick: d.back,
7001
7004
  children: n.shellPeekBack
7002
7005
  })]
7003
- }), /* @__PURE__ */ a(sf, {
7006
+ }), /* @__PURE__ */ a(cf, {
7004
7007
  controller: e,
7005
7008
  environment: t,
7006
7009
  resolveBinding: () => {
@@ -7015,7 +7018,7 @@ var rf = () => {
7015
7018
  ]
7016
7019
  });
7017
7020
  };
7018
- function lf(e, t, n) {
7021
+ function df(e, t, n) {
7019
7022
  const o = e.screens.find((l) => l.name === ge);
7020
7023
  if (!o || o.screenTemplate === t?.name) return e;
7021
7024
  const i = o.screenTemplate, r = e.screens.map((l) => {
@@ -7026,14 +7029,14 @@ function lf(e, t, n) {
7026
7029
  screenTemplate: t.name
7027
7030
  } : u;
7028
7031
  });
7029
- let s = e.screenTemplates.filter((l) => !cf(l, i, r, n));
7032
+ let s = e.screenTemplates.filter((l) => !uf(l, i, r, n));
7030
7033
  return t && !s.some((l) => l.name === t.name) && (s = [...s, globalThis.structuredClone(t)]), {
7031
7034
  ...e,
7032
7035
  screens: r,
7033
7036
  screenTemplates: s
7034
7037
  };
7035
7038
  }
7036
- function cf(e, t, n, o) {
7039
+ function uf(e, t, n, o) {
7037
7040
  if (e.name !== t || n.some((r) => r.screenTemplate === t)) return !1;
7038
7041
  const i = o.find((r) => r.name === t);
7039
7042
  return i !== void 0 && JSON.stringify(i) === JSON.stringify(e);
@@ -7069,14 +7072,14 @@ function Ma(e) {
7069
7072
  top: o
7070
7073
  } : void 0;
7071
7074
  }
7072
- function df(e) {
7075
+ function pf(e) {
7073
7076
  const { [Ve]: t, [Je]: n, ...o } = e.properties ?? {};
7074
7077
  return {
7075
7078
  ...e,
7076
7079
  properties: o
7077
7080
  };
7078
7081
  }
7079
- function uf(e) {
7082
+ function mf(e) {
7080
7083
  if (e.targetParentId !== null)
7081
7084
  return {
7082
7085
  kind: Q.MoveNode,
@@ -7093,7 +7096,7 @@ function _a(e, t, n) {
7093
7096
  element: n
7094
7097
  };
7095
7098
  }
7096
- function pf(e) {
7099
+ function hf(e) {
7097
7100
  return {
7098
7101
  kind: Q.RemoveNode,
7099
7102
  nodeId: oe(e)
@@ -7107,18 +7110,18 @@ var $a = (e, t) => (e?.children ?? []).map((n) => {
7107
7110
  bottom: o?.bottom
7108
7111
  };
7109
7112
  });
7110
- function mf(e, t, n, o) {
7113
+ function ff(e, t, n, o) {
7111
7114
  const i = We(e, t.nodeId);
7112
7115
  if (!i || t.targetParentId === null) return;
7113
7116
  const r = oo(e, t.nodeId), s = We(e, t.targetParentId), l = !!r && ut(r), c = !!s && ut(s);
7114
7117
  if (!l && !c) return;
7115
- const u = l && c && r.id === t.targetParentId, d = u ? r.children.findIndex((m) => m.id === t.nodeId) : t.index, p = c ? Aa(i, n ?? (u ? Ma(i) : void 0) ?? Fa($a(s, o))) : df(i);
7118
+ const u = l && c && r.id === t.targetParentId, d = u ? r.children.findIndex((m) => m.id === t.nodeId) : t.index, p = c ? Aa(i, n ?? (u ? Ma(i) : void 0) ?? Fa($a(s, o))) : pf(i);
7116
7119
  return [{
7117
7120
  kind: Q.RemoveNode,
7118
7121
  nodeId: oe(t.nodeId)
7119
7122
  }, _a(t.targetParentId, d, p)];
7120
7123
  }
7121
- function hf(e) {
7124
+ function gf(e) {
7122
7125
  switch (e) {
7123
7126
  case J.Row:
7124
7127
  case J.Wrap:
@@ -7133,7 +7136,7 @@ function hf(e) {
7133
7136
  }
7134
7137
  }
7135
7138
  function Gi(e, t, n, o) {
7136
- const i = e ?? "screen", r = hf(n), s = {
7139
+ const i = e ?? "screen", r = gf(n), s = {
7137
7140
  id: `${i}:container`,
7138
7141
  kind: Se.Container,
7139
7142
  containerId: e,
@@ -7152,7 +7155,7 @@ function Gi(e, t, n, o) {
7152
7155
  ...c < t.length ? { beforeId: o.idOf(t[c]) } : {}
7153
7156
  }))];
7154
7157
  }
7155
- function ff(e, t, n) {
7158
+ function vf(e, t, n) {
7156
7159
  const o = (i) => i.flatMap((r) => {
7157
7160
  if (!n.acceptsChildren(r)) return [];
7158
7161
  const s = n.childrenOf(r);
@@ -7160,7 +7163,7 @@ function ff(e, t, n) {
7160
7163
  });
7161
7164
  return [...Gi(null, e, t, n), ...o(e)];
7162
7165
  }
7163
- var gf = class {
7166
+ var bf = class {
7164
7167
  latest;
7165
7168
  publish;
7166
7169
  constructor(e, t) {
@@ -7173,7 +7176,7 @@ var gf = class {
7173
7176
  return this.latest = e(this.latest), this.publish(this.latest), this.latest;
7174
7177
  }
7175
7178
  };
7176
- function vf(e) {
7179
+ function yf(e) {
7177
7180
  return {
7178
7181
  document: e,
7179
7182
  undoable: [],
@@ -7183,7 +7186,7 @@ function vf(e) {
7183
7186
  savedDocument: e
7184
7187
  };
7185
7188
  }
7186
- function bf(e, t, n, o) {
7189
+ function wf(e, t, n, o) {
7187
7190
  const i = cr(e.document, t, n);
7188
7191
  return i.applied ? {
7189
7192
  ...e,
@@ -7213,7 +7216,7 @@ function Te(e, t, n) {
7213
7216
  isDirty: t !== e.savedDocument
7214
7217
  };
7215
7218
  }
7216
- function yf(e, t, n, o) {
7219
+ function kf(e, t, n, o) {
7217
7220
  let i = e.document;
7218
7221
  const r = [];
7219
7222
  for (const s of t) {
@@ -7236,8 +7239,8 @@ function yf(e, t, n, o) {
7236
7239
  isDirty: i !== e.savedDocument
7237
7240
  };
7238
7241
  }
7239
- var wf = (e) => e.undoable.length > 0, kf = (e) => e.redoable.length > 0;
7240
- function Sf(e) {
7242
+ var Sf = (e) => e.undoable.length > 0, Cf = (e) => e.redoable.length > 0;
7243
+ function Nf(e) {
7241
7244
  const t = e.undoable[e.undoable.length - 1];
7242
7245
  return t ? {
7243
7246
  ...e,
@@ -7251,7 +7254,7 @@ function Sf(e) {
7251
7254
  isDirty: t.before !== e.savedDocument
7252
7255
  } : e;
7253
7256
  }
7254
- function Cf(e) {
7257
+ function Tf(e) {
7255
7258
  const t = e.redoable[e.redoable.length - 1];
7256
7259
  return t ? {
7257
7260
  ...e,
@@ -7265,7 +7268,7 @@ function Cf(e) {
7265
7268
  isDirty: t.before !== e.savedDocument
7266
7269
  } : e;
7267
7270
  }
7268
- function Nf(e) {
7271
+ function If(e) {
7269
7272
  return {
7270
7273
  ...e,
7271
7274
  savedDocument: e.document,
@@ -7288,7 +7291,7 @@ function bt(e, t, n) {
7288
7291
  Array.isArray(i) && bt(i, t, n);
7289
7292
  }
7290
7293
  }
7291
- var to = (e) => e.id, Tf = (e) => e.name || to(e), If = (e) => {
7294
+ var to = (e) => e.id, Pf = (e) => e.name || to(e), xf = (e) => {
7292
7295
  switch (e) {
7293
7296
  case W.Stack:
7294
7297
  return J.Column;
@@ -7306,10 +7309,10 @@ var to = (e) => e.id, Tf = (e) => e.name || to(e), If = (e) => {
7306
7309
  return;
7307
7310
  }
7308
7311
  };
7309
- function Pf(e) {
7312
+ function Of(e) {
7310
7313
  return {
7311
7314
  idOf: to,
7312
- nameOf: Tf,
7315
+ nameOf: Pf,
7313
7316
  childrenOf: Yt,
7314
7317
  withChildren: (t, n) => Bt(t) ? {
7315
7318
  ...t,
@@ -7320,13 +7323,13 @@ function Pf(e) {
7320
7323
  } : t,
7321
7324
  acceptsChildren: (t) => Bt(t),
7322
7325
  ownershipOf: (t) => e(to(t)) ?? ne.Local,
7323
- arrangementOf: (t) => Bt(t) ? If($r(t)) : void 0
7326
+ arrangementOf: (t) => Bt(t) ? xf($r(t)) : void 0
7324
7327
  };
7325
7328
  }
7326
- function xf(e) {
7329
+ function Rf(e) {
7327
7330
  return e ? ut(e) ? J.Freeform : uo(e) ? J.Grid : po(e) ? e.orientation === ct.Horizontal ? J.Row : J.Column : J.Column : J.Column;
7328
7331
  }
7329
- var Of = (e, t) => Math.max(0, Math.min(e, t));
7332
+ var Df = (e, t) => Math.max(0, Math.min(e, t));
7330
7333
  function Vi(e, t, n) {
7331
7334
  const o = ke(e, t.nodeId, n);
7332
7335
  if (!o) return te.NodeNotFound;
@@ -7342,10 +7345,10 @@ function Vi(e, t, n) {
7342
7345
  }
7343
7346
  if ((o.parent === null ? null : n.idOf(o.parent)) === t.targetParentId) {
7344
7347
  const r = i.length - 1;
7345
- if (Of(t.index, r) === o.index) return te.NoChange;
7348
+ if (Df(t.index, r) === o.index) return te.NoChange;
7346
7349
  }
7347
7350
  }
7348
- var Rf = "composition";
7351
+ var Ef = "composition";
7349
7352
  function no(e, t) {
7350
7353
  const n = e.screens.find((s) => s.name === ge), o = t !== void 0 ? $n(t, !0) : $n(void 0), i = mo(e, o).levels.filter((s) => s.kind === vs.ScreenTemplate).map((s) => s.owner), r = [];
7351
7354
  for (const s of i) {
@@ -7354,12 +7357,12 @@ function no(e, t) {
7354
7357
  for (const c of l.slots) r.push(...l.content?.[c.name] ?? []);
7355
7358
  }
7356
7359
  return (t === void 0 || o.kind === Ht.Screen) && r.push(...n?.slotContent.content ?? []), {
7357
- element: Qt(W.Stack, Rf, "Composition", r),
7360
+ element: Qt(W.Stack, Ef, "Composition", r),
7358
7361
  roots: r,
7359
7362
  templates: i
7360
7363
  };
7361
7364
  }
7362
- function Df(e) {
7365
+ function Ff(e) {
7363
7366
  switch (e) {
7364
7367
  case Go.Inherited:
7365
7368
  return ne.Inherited;
@@ -7369,15 +7372,15 @@ function Df(e) {
7369
7372
  return ne.Local;
7370
7373
  }
7371
7374
  }
7372
- function Ef(e, t, n) {
7375
+ function Af(e, t, n) {
7373
7376
  const o = /* @__PURE__ */ new Map();
7374
7377
  for (const i of Ha(t)) {
7375
7378
  const r = co(e, oe(i), n);
7376
- o.set(i, r ? Df(r.provenance.kind) : ne.Inherited);
7379
+ o.set(i, r ? Ff(r.provenance.kind) : ne.Inherited);
7377
7380
  }
7378
7381
  return (i) => o.get(i) ?? ne.Local;
7379
7382
  }
7380
- function Ff(e) {
7383
+ function Mf(e) {
7381
7384
  const [t, n] = z({
7382
7385
  catalog: e,
7383
7386
  times: 0
@@ -7395,10 +7398,10 @@ function Ff(e) {
7395
7398
  };
7396
7399
  }, [e]), t.catalog === e ? t.times : 0;
7397
7400
  }
7398
- var Af = { modules: [] }, Mf = (e, t) => oo(e, t)?.id;
7401
+ var _f = { modules: [] }, $f = (e, t) => oo(e, t)?.id;
7399
7402
  function La(e, t, n, o) {
7400
- const [i, r] = z(() => vf(e.document)), s = V(void 0);
7401
- s.current ??= new gf(i, r);
7403
+ const [i, r] = z(() => yf(e.document)), s = V(void 0);
7404
+ s.current ??= new bf(i, r);
7402
7405
  const l = U((D) => s.current.commit(D), []), [c, u] = z(), [d, p] = z(), [m, h] = z(n.navigation?.module), g = V(void 0), f = U((D, j) => {
7403
7406
  const _ = g.current?.(D), K = g.current?.(j);
7404
7407
  return _ && K ? {
@@ -7407,7 +7410,7 @@ function La(e, t, n, o) {
7407
7410
  } : void 0;
7408
7411
  }, []), v = U((D) => {
7409
7412
  g.current = D;
7410
- }, []), w = Ff(n.runtime.icons), P = L(() => ({
7413
+ }, []), w = Mf(n.runtime.icons), P = L(() => ({
7411
7414
  catalog: n.runtime.catalog,
7412
7415
  scope: $n(t, t !== void 0),
7413
7416
  queryCandidates: [...n.queryCandidates],
@@ -7416,11 +7419,11 @@ function La(e, t, n, o) {
7416
7419
  n,
7417
7420
  t,
7418
7421
  w
7419
- ]), x = L(() => no(i.document, t), [i.document, t]), C = L(() => Ef(i.document, x.roots, P), [
7422
+ ]), x = L(() => no(i.document, t), [i.document, t]), C = L(() => Af(i.document, x.roots, P), [
7420
7423
  i.document,
7421
7424
  x,
7422
7425
  P
7423
- ]), k = L(() => Pf(C), [C]), y = ht(i.document, t), T = L(() => ff(x.roots, xf(y), k).filter((D) => D.containerId !== null), [
7426
+ ]), k = L(() => Of(C), [C]), y = ht(i.document, t), T = L(() => vf(x.roots, Rf(y), k).filter((D) => D.containerId !== null), [
7424
7427
  x,
7425
7428
  y,
7426
7429
  k
@@ -7429,7 +7432,7 @@ function La(e, t, n, o) {
7429
7432
  c,
7430
7433
  P
7431
7434
  ]), N = U((D, j) => {
7432
- const _ = s.current.current, K = l((ee) => bf(ee, D, P, j));
7435
+ const _ = s.current.current, K = l((ee) => wf(ee, D, P, j));
7433
7436
  return {
7434
7437
  applied: K.undoable.length > _.undoable.length || K.document !== _.document,
7435
7438
  diagnostics: K.diagnostics
@@ -7437,7 +7440,7 @@ function La(e, t, n, o) {
7437
7440
  }, [l, P]), E = U((D, j) => {
7438
7441
  N(D, j);
7439
7442
  }, [N]), B = U((D, j) => {
7440
- const _ = s.current.current, K = l((ee) => yf(ee, D, P, j));
7443
+ const _ = s.current.current, K = l((ee) => kf(ee, D, P, j));
7441
7444
  return {
7442
7445
  applied: K.document !== _.document,
7443
7446
  diagnostics: K.diagnostics
@@ -7461,10 +7464,10 @@ function La(e, t, n, o) {
7461
7464
  t,
7462
7465
  f
7463
7466
  ]), q = U((D, j) => {
7464
- const _ = mf(x.roots, D, j, f), K = Vi(x.roots, D, k);
7465
- if (K && !(K === te.NoChange && _ && D.targetParentId === Mf(x.roots, D.nodeId))) return K;
7467
+ const _ = ff(x.roots, D, j, f), K = Vi(x.roots, D, k);
7468
+ if (K && !(K === te.NoChange && _ && D.targetParentId === $f(x.roots, D.nodeId))) return K;
7466
7469
  if (_) return B(_, "Move").applied ? void 0 : te.NodeLocked;
7467
- const ee = uf(D);
7470
+ const ee = mf(D);
7468
7471
  return ee ? N(ee, "Move").applied ? void 0 : te.NodeLocked : te.TargetNotContainer;
7469
7472
  }, [
7470
7473
  x,
@@ -7514,15 +7517,15 @@ function La(e, t, n, o) {
7514
7517
  dialogTemplates: D
7515
7518
  }, j));
7516
7519
  }, [l]), Ce = U((D, j, _, K, ee) => {
7517
- l((de) => Te(de, Hi(de.document, D, (Le) => _f(Le, j, _, K)), ee));
7520
+ l((de) => Te(de, Hi(de.document, D, (Le) => Lf(Le, j, _, K)), ee));
7518
7521
  }, [l]), Ne = U((D, j) => {
7519
7522
  const _ = n.runtime.bundles.flatMap((K) => K.screenTemplates ?? []);
7520
- l((K) => Te(K, lf(K.document, D, _), j));
7523
+ l((K) => Te(K, df(K.document, D, _), j));
7521
7524
  }, [l, n.runtime.bundles]), R = U((D, j, _) => {
7522
7525
  l((K) => Te(K, Hi(K.document, D, (ee) => {
7523
7526
  j ? ee.behaviors = j : delete ee.behaviors;
7524
7527
  }), _));
7525
- }, [l]), X = L(() => Ci(i.document), [i.document]), pe = n.navigation?.structure ?? Af, H = U((D, j) => {
7528
+ }, [l]), X = L(() => Ci(i.document), [i.document]), pe = n.navigation?.structure ?? _f, H = U((D, j) => {
7526
7529
  const _ = Ts(Ci(s.current.current.document), D);
7527
7530
  return _.applied ? (l((K) => Te(K, zp(K.document, _.model), j)), { applied: !0 }) : {
7528
7531
  applied: !1,
@@ -7564,7 +7567,7 @@ function La(e, t, n, o) {
7564
7567
  remove: (D) => {
7565
7568
  if (!jn(x.roots, D, k)) return;
7566
7569
  const j = jr(x.roots, D, k);
7567
- N(pf(D), "Remove").applied && u((_) => _ === D || _ === void 0 ? j : _);
7570
+ N(hf(D), "Remove").applied && u((_) => _ === D || _ === void 0 ? j : _);
7568
7571
  },
7569
7572
  canRemove: (D) => jn(x.roots, D, k),
7570
7573
  setProperty: (D, j) => c && E(Gn(c, D, j), "Change"),
@@ -7576,24 +7579,24 @@ function La(e, t, n, o) {
7576
7579
  setElementBehaviors: R,
7577
7580
  setScreenTemplate: Ne,
7578
7581
  markSaved: () => {
7579
- l(Nf);
7582
+ l(If);
7580
7583
  },
7581
7584
  undo: () => {
7582
- l(Sf);
7585
+ l(Nf);
7583
7586
  },
7584
7587
  redo: () => {
7585
- l(Cf);
7588
+ l(Tf);
7586
7589
  },
7587
- canUndo: wf(i),
7588
- canRedo: kf(i),
7590
+ canUndo: Sf(i),
7591
+ canRedo: Cf(i),
7589
7592
  isDirty: i.isDirty
7590
7593
  };
7591
7594
  }
7592
- function _f(e, t, n, o) {
7595
+ function Lf(e, t, n, o) {
7593
7596
  const i = e.properties[t];
7594
- Array.isArray(i) && (e.properties[t] = i.map((r) => Ba(r) && r.id === n ? $f(r, o) : r));
7597
+ Array.isArray(i) && (e.properties[t] = i.map((r) => Ba(r) && r.id === n ? Bf(r, o) : r));
7595
7598
  }
7596
- function $f(e, t) {
7599
+ function Bf(e, t) {
7597
7600
  if (Ba(e.values)) {
7598
7601
  const o = { ...e.values };
7599
7602
  return t ? o.destination = t : delete o.destination, {
@@ -7610,13 +7613,13 @@ function Ba(e) {
7610
7613
  var Ji = () => ({
7611
7614
  width: window.innerWidth - 64,
7612
7615
  height: window.innerHeight - 64
7613
- }), oy = (e) => /* @__PURE__ */ a(ga, {
7616
+ }), ry = (e) => /* @__PURE__ */ a(ga, {
7614
7617
  strings: e.strings,
7615
7618
  onClose: () => e.onDismiss?.(),
7616
- children: /* @__PURE__ */ a(Lf, { ...e })
7617
- }), Lf = (e) => {
7619
+ children: /* @__PURE__ */ a(jf, { ...e })
7620
+ }), jf = (e) => {
7618
7621
  const t = L(() => ha(e.subject, e.environment.runtime), [e.subject, e.environment.runtime]);
7619
- return t.opened ? /* @__PURE__ */ a(Bf, {
7622
+ return t.opened ? /* @__PURE__ */ a(Uf, {
7620
7623
  ...e,
7621
7624
  opened: t.subject
7622
7625
  }, e.environment.runtime.id) : /* @__PURE__ */ a(ir, {
@@ -7630,7 +7633,7 @@ var Ji = () => ({
7630
7633
  onClose: () => n.close()
7631
7634
  })
7632
7635
  });
7633
- }, Bf = ({ subject: e, environment: t, strings: n, layoutLabels: o, icons: i, paletteSources: r, sourceRect: s, initialSize: l, rememberWindowAs: c, windowMemory: u, centerOffsetX: d, renderPaletteHost: p, onClose: m, onBeforeClose: h, onPreview: g, opened: f }) => {
7636
+ }, Uf = ({ subject: e, environment: t, strings: n, layoutLabels: o, icons: i, paletteSources: r, sourceRect: s, initialSize: l, rememberWindowAs: c, windowMemory: u, centerOffsetX: d, renderPaletteHost: p, onClose: m, onBeforeClose: h, onPreview: g, opened: f }) => {
7634
7637
  const v = V(void 0), w = La(f, e.authoringTemplate, t, ($) => v.current?.($)), P = L(() => u ?? $m(), [u]), x = L(() => jm({
7635
7638
  remembered: c ? P.read(c) : void 0,
7636
7639
  saved: l,
@@ -7700,7 +7703,7 @@ var Ji = () => ({
7700
7703
  v.current = S;
7701
7704
  function F($) {
7702
7705
  if (!Fo($)) return;
7703
- const q = w.selection && jf(w) ? w.selectedId : void 0;
7706
+ const q = w.selection && Wf(w) ? w.selectedId : void 0;
7704
7707
  $.kind === "layout" ? w.insertLayout($.item, q, void 0) : w.insertComponent(Mo($.componentName, $.package), q, void 0);
7705
7708
  }
7706
7709
  return /* @__PURE__ */ b(wa, {
@@ -7749,11 +7752,11 @@ var Ji = () => ({
7749
7752
  })]
7750
7753
  });
7751
7754
  };
7752
- function jf(e) {
7755
+ function Wf(e) {
7753
7756
  return !!e.selection && "children" in e.selection;
7754
7757
  }
7755
7758
  var ot = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
7756
- function Uf(e, t) {
7759
+ function zf(e, t) {
7757
7760
  if (!t) return e;
7758
7761
  const n = { ...e };
7759
7762
  for (const [o, i] of Object.entries(t)) {
@@ -7772,7 +7775,7 @@ function Uf(e, t) {
7772
7775
  var it = "p-anchored-overlay", Lt = "p-collapsible", Rn = "p-overlay-mask", O = (e, t) => ({ props: t ? {
7773
7776
  styles: e,
7774
7777
  motionProps: { name: t }
7775
- } : { styles: e } }), ue = (e) => ({ props: { motionProps: { name: e } } }), Wf = {
7778
+ } : { styles: e } }), ue = (e) => ({ props: { motionProps: { name: e } } }), Kf = {
7776
7779
  "Accordion.Root": O(vc, Lt),
7777
7780
  "AutoComplete.Root": O(bc),
7778
7781
  "AutoComplete.Popup": ue(it),
@@ -7860,27 +7863,27 @@ var it = "p-anchored-overlay", Lt = "p-collapsible", Rn = "p-overlay-mask", O =
7860
7863
  "Tooltip.Root": O(_d),
7861
7864
  "Tooltip.Popup": ue("p-tooltip"),
7862
7865
  "Tree.Root": O($d)
7863
- }, zf = Yo.find((e) => e.name === "lara-light-blue") ?? Yo[0], iy = ({ defaults: e, theme: t, ...n }) => {
7864
- const o = pl(zf);
7866
+ }, qf = Yo.find((e) => e.name === "lara-light-blue") ?? Yo[0], ay = ({ defaults: e, theme: t, ...n }) => {
7867
+ const o = pl(qf);
7865
7868
  return /* @__PURE__ */ a(gc, {
7866
7869
  ...n,
7867
7870
  theme: t ?? o?.theme,
7868
- defaults: Uf(Wf, e)
7871
+ defaults: zf(Kf, e)
7869
7872
  });
7870
- }, ry = (e) => /* @__PURE__ */ a(ga, {
7873
+ }, sy = (e) => /* @__PURE__ */ a(ga, {
7871
7874
  strings: e.strings,
7872
7875
  onClose: e.onDismiss,
7873
- children: /* @__PURE__ */ a(Kf, { ...e })
7874
- }), Kf = (e) => {
7876
+ children: /* @__PURE__ */ a(Gf, { ...e })
7877
+ }), Gf = (e) => {
7875
7878
  const t = L(() => ha(e.subject, e.environment.runtime), [e.subject, e.environment.runtime]);
7876
- return t.opened ? /* @__PURE__ */ a(qf, {
7879
+ return t.opened ? /* @__PURE__ */ a(Hf, {
7877
7880
  ...e,
7878
7881
  opened: t.subject
7879
7882
  }, e.environment.runtime.id) : /* @__PURE__ */ a(va, {
7880
7883
  problem: t.problem,
7881
7884
  strings: e.strings
7882
7885
  });
7883
- }, qf = ({ subject: e, environment: t, strings: n, layoutLabels: o, icons: i, paletteSources: r, initialSize: s, onChange: l, renderPaletteHost: c, opened: u }) => {
7886
+ }, Hf = ({ subject: e, environment: t, strings: n, layoutLabels: o, icons: i, paletteSources: r, initialSize: s, onChange: l, renderPaletteHost: c, opened: u }) => {
7884
7887
  const d = V(void 0), p = La(u, e.authoringTemplate, t, (C) => d.current?.(C)), [m, h] = z(s ?? an[Ge.Desktop]), [g, f] = z(!0), v = V(l);
7885
7888
  v.current = l, le(() => {
7886
7889
  const C = ht(p.document, e.authoringTemplate);
@@ -7961,7 +7964,7 @@ var it = "p-anchored-overlay", Lt = "p-collapsible", Rn = "p-overlay-mask", O =
7961
7964
  })
7962
7965
  });
7963
7966
  };
7964
- function Gf(e) {
7967
+ function Vf(e) {
7965
7968
  const t = {
7966
7969
  "row.id": "Guid",
7967
7970
  "selection.id": "Guid"
@@ -7969,26 +7972,26 @@ function Gf(e) {
7969
7972
  for (const n of e) for (const o of n.parameters) t[`route.${o.name}`] ??= o.type;
7970
7973
  return t;
7971
7974
  }
7972
- var Hf = new Set(Object.values(gs)), Vf = new Set(Object.values(fs));
7973
- function Jf(e) {
7974
- return e.filter((t) => Hf.has(t.resultShape) && t.origin.every((n) => Vf.has(n.kind))).map((t) => t);
7975
+ var Jf = new Set(Object.values(gs)), Qf = new Set(Object.values(fs));
7976
+ function Yf(e) {
7977
+ return e.filter((t) => Jf.has(t.resultShape) && t.origin.every((n) => Qf.has(n.kind))).map((t) => t);
7975
7978
  }
7976
- function ay(e) {
7977
- const t = Jf(e.queryCandidates ?? []);
7979
+ function ly(e) {
7980
+ const t = Yf(e.queryCandidates ?? []);
7978
7981
  return {
7979
7982
  runtime: e.runtime,
7980
7983
  queryCandidates: t,
7981
7984
  stateChangeSlices: e.stateChangeSlices ?? [],
7982
7985
  destinations: e.destinations ?? [],
7983
- availableSources: Gf(t),
7986
+ availableSources: Vf(t),
7984
7987
  ...e.richText === !1 ? {} : { richText: e.richText ?? Ld },
7985
7988
  ...e.fileUpload ? { fileUpload: e.fileUpload } : {},
7986
7989
  ...e.templateScope ? { templateScope: e.templateScope } : {},
7987
7990
  ...e.navigation ? { navigation: e.navigation } : {}
7988
7991
  };
7989
7992
  }
7990
- var Qf = [.../* @__PURE__ */ new Set([...tn.ids, ...Object.values(Y)])];
7991
- function Yf(e, t) {
7993
+ var Zf = [.../* @__PURE__ */ new Set([...tn.ids, ...Object.values(Y)])];
7994
+ function Xf(e, t) {
7992
7995
  return sl({
7993
7996
  bundles: e,
7994
7997
  profile: t,
@@ -7997,16 +8000,16 @@ function Yf(e, t) {
7997
8000
  allowNetworkAssets: !1,
7998
8001
  loadDesignTime: !0
7999
8002
  }
8000
- }, { hostEditorKinds: [...Qf] });
8003
+ }, { hostEditorKinds: [...Zf] });
8001
8004
  }
8002
- function Zf(e) {
8005
+ function eg(e) {
8003
8006
  return e.flatMap((t) => t.iconLibrary ? [t.iconLibrary.catalog] : []);
8004
8007
  }
8005
- function Xf(e, t) {
8008
+ function tg(e, t) {
8006
8009
  const n = Ls(e, t.map((o) => o.manifest));
8007
- return new ks(n, Zf(t));
8010
+ return new ks(n, eg(t));
8008
8011
  }
8009
- var eg = [
8012
+ var ng = [
8010
8013
  "PrimeReact.Accordion",
8011
8014
  "PrimeReact.AutoComplete",
8012
8015
  "PrimeReact.Avatar",
@@ -8109,7 +8112,7 @@ var eg = [
8109
8112
  "itemsControl",
8110
8113
  "stackPanel",
8111
8114
  "wrapPanel"
8112
- ], tg = ["PrimeReact.Dialog"], ng = new Set(eg.filter((e) => !tg.includes(e))), og = [
8115
+ ], og = ["PrimeReact.Dialog"], ig = new Set(ng.filter((e) => !og.includes(e))), rg = [
8113
8116
  {
8114
8117
  value: fe.None,
8115
8118
  label: "Run directly"
@@ -8123,7 +8126,7 @@ var eg = [
8123
8126
  label: "Ask in a drawer"
8124
8127
  }
8125
8128
  ];
8126
- function ig(e) {
8129
+ function ag(e) {
8127
8130
  return !e.component.endsWith(":action") || e.properties.some((t) => t.path === "presentation") ? e : {
8128
8131
  ...e,
8129
8132
  properties: [...e.properties, {
@@ -8132,13 +8135,13 @@ function ig(e) {
8132
8135
  group: "Behavior",
8133
8136
  valueType: G.Enum,
8134
8137
  default: fe.None,
8135
- choices: og,
8138
+ choices: rg,
8136
8139
  description: "Whether the command runs straight away or first asks for its input in a dialog or a drawer."
8137
8140
  }]
8138
8141
  };
8139
8142
  }
8140
- var rg = (e) => e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase()), ag = (e) => /ies$/i.test(e) ? `${e.slice(0, -3)}y` : /(ss|us)$/i.test(e) || !/s$/i.test(e) ? e : e.slice(0, -1), ja = (e) => e !== null && typeof e == "object" && !Array.isArray(e);
8141
- function Wo(e, t, n = rg(e)) {
8143
+ var sg = (e) => e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase()), lg = (e) => /ies$/i.test(e) ? `${e.slice(0, -3)}y` : /(ss|us)$/i.test(e) || !/s$/i.test(e) ? e : e.slice(0, -1), ja = (e) => e !== null && typeof e == "object" && !Array.isArray(e);
8144
+ function Wo(e, t, n = sg(e)) {
8142
8145
  const o = {
8143
8146
  path: e,
8144
8147
  label: n,
@@ -8150,7 +8153,7 @@ function Wo(e, t, n = rg(e)) {
8150
8153
  } : typeof t == "boolean" ? {
8151
8154
  ...o,
8152
8155
  valueType: G.Boolean
8153
- } : Array.isArray(t) ? lg(o, t) : ja(t) ? {
8156
+ } : Array.isArray(t) ? dg(o, t) : ja(t) ? {
8154
8157
  ...o,
8155
8158
  valueType: G.Object,
8156
8159
  properties: Ua(t),
@@ -8161,12 +8164,12 @@ function Wo(e, t, n = rg(e)) {
8161
8164
  };
8162
8165
  }
8163
8166
  function Ua(e, t = []) {
8164
- return Object.entries(e).filter(([n]) => !t.includes(n)).map(([n, o]) => sg(n, o));
8167
+ return Object.entries(e).filter(([n]) => !t.includes(n)).map(([n, o]) => cg(n, o));
8165
8168
  }
8166
- function sg(e, t) {
8169
+ function cg(e, t) {
8167
8170
  return Wo(e, t);
8168
8171
  }
8169
- function lg(e, t) {
8172
+ function dg(e, t) {
8170
8173
  if (t.length > 0 && t.every((o) => typeof o == "string")) return {
8171
8174
  ...e,
8172
8175
  valueType: G.Json,
@@ -8183,17 +8186,17 @@ function lg(e, t) {
8183
8186
  ...e,
8184
8187
  valueType: G.Collection,
8185
8188
  item: {
8186
- label: ag(e.label),
8189
+ label: lg(e.label),
8187
8190
  properties: Ua(n, ["id"]),
8188
8191
  open: !0
8189
8192
  }
8190
8193
  };
8191
8194
  }
8192
- var cg = (e) => e.valueType === G.Json && e.editorKind === void 0;
8193
- function dg(e) {
8195
+ var ug = (e) => e.valueType === G.Json && e.editorKind === void 0;
8196
+ function pg(e) {
8194
8197
  const t = Uo(e.component, e.component.slice(e.component.lastIndexOf(":") + 1));
8195
8198
  if (!t) return e;
8196
- const n = new Set(e.properties.map((r) => r.path)), o = e.properties.map((r) => cg(r) && r.path in t ? ug(r, t[r.path]) : r), i = Object.entries(t).filter(([r]) => !n.has(r)).map(([r, s]) => ({
8199
+ const n = new Set(e.properties.map((r) => r.path)), o = e.properties.map((r) => ug(r) && r.path in t ? mg(r, t[r.path]) : r), i = Object.entries(t).filter(([r]) => !n.has(r)).map(([r, s]) => ({
8197
8200
  ...Wo(r, s),
8198
8201
  description: "Shown as sample content on the design surface until you set it."
8199
8202
  }));
@@ -8202,7 +8205,7 @@ function dg(e) {
8202
8205
  properties: [...o, ...i]
8203
8206
  } : e;
8204
8207
  }
8205
- function ug(e, t) {
8208
+ function mg(e, t) {
8206
8209
  const { editorKind: n, item: o, properties: i, choices: r, ...s } = e, l = Wo(e.path, t);
8207
8210
  return {
8208
8211
  ...l,
@@ -8210,7 +8213,7 @@ function ug(e, t) {
8210
8213
  valueType: l.valueType
8211
8214
  };
8212
8215
  }
8213
- var Qi = "Placement", pg = [{
8216
+ var Qi = "Placement", hg = [{
8214
8217
  path: Ve,
8215
8218
  label: "Left",
8216
8219
  group: Qi,
@@ -8221,22 +8224,22 @@ var Qi = "Placement", pg = [{
8221
8224
  group: Qi,
8222
8225
  valueType: G.Number
8223
8226
  }];
8224
- function mg(e) {
8227
+ function fg(e) {
8225
8228
  const t = new Set(e.properties.map((n) => n.path));
8226
8229
  return {
8227
8230
  ...e,
8228
- properties: [...e.properties, ...pg.filter((n) => !t.has(n.path))]
8231
+ properties: [...e.properties, ...hg.filter((n) => !t.has(n.path))]
8229
8232
  };
8230
8233
  }
8231
- var Yi = "PrimeReact", hg = 1;
8232
- function fg(e, t, n) {
8234
+ var Yi = "PrimeReact", gg = 1;
8235
+ function vg(e, t, n) {
8233
8236
  const o = Xt(e.map((p) => p.manifest)), i = e.flatMap((p) => p.descriptors ?? []), r = new Set(i.map((p) => p.component)), s = e.flatMap((p) => p.manifest.components.map((m) => ({
8234
8237
  component: En(p.manifest.name, m),
8235
8238
  displayName: m,
8236
8239
  properties: []
8237
- }))).filter((p) => !r.has(p.component)), l = [...i, ...s].map(ig).map(dg).map(mg), c = [...l, ...gg(l, o, t)], u = new Set(Object.values(o).flat()), d = new Map(l.map((p) => [p.component, p]));
8240
+ }))).filter((p) => !r.has(p.component)), l = [...i, ...s].map(ag).map(pg).map(fg), c = [...l, ...bg(l, o, t)], u = new Set(Object.values(o).flat()), d = new Map(l.map((p) => [p.component, p]));
8238
8241
  return {
8239
- id: hg++,
8242
+ id: gg++,
8240
8243
  bundles: e,
8241
8244
  registry: wr(e),
8242
8245
  packages: o,
@@ -8244,9 +8247,9 @@ function fg(e, t, n) {
8244
8247
  catalog: Os(c),
8245
8248
  profile: t,
8246
8249
  ...n ? { appearance: n } : {},
8247
- icons: Xf(t.packages, e),
8250
+ icons: tg(t.packages, e),
8248
8251
  iconAdapters: al(e),
8249
- designTime: Yf(e, t),
8252
+ designTime: Xf(e, t),
8250
8253
  packageDescriptorOf: (p) => {
8251
8254
  if (p.component.includes(":")) return p;
8252
8255
  const m = Tt(p.component, t, o);
@@ -8255,11 +8258,11 @@ function fg(e, t, n) {
8255
8258
  isKnownComponent: (p) => u.has(p),
8256
8259
  legacyTypeOf: (p) => {
8257
8260
  const m = Fm(p, t, o), h = m?.package === Yi ? `${Yi}.${_r(m.name)}` : void 0;
8258
- return h !== void 0 && ng.has(h) ? h : void 0;
8261
+ return h !== void 0 && ig.has(h) ? h : void 0;
8259
8262
  }
8260
8263
  };
8261
8264
  }
8262
- function gg(e, t, n) {
8265
+ function bg(e, t, n) {
8263
8266
  const o = [];
8264
8267
  for (const i of new Set(Object.values(t).flat())) {
8265
8268
  const r = Tt(i, n, t), s = r && e.find((l) => l.component === En(r.package, r.name));
@@ -8270,7 +8273,7 @@ function gg(e, t, n) {
8270
8273
  }
8271
8274
  return o;
8272
8275
  }
8273
- var zo = "Cratis.Icons.Lucide", vg = {
8276
+ var zo = "Cratis.Icons.Lucide", yg = {
8274
8277
  name: zo,
8275
8278
  version: "1.52.0",
8276
8279
  kind: dt.IconLibrary,
@@ -8292,20 +8295,20 @@ var zo = "Cratis.Icons.Lucide", vg = {
8292
8295
  attributionUrl: "https://lucide.dev",
8293
8296
  iconCount: 1858
8294
8297
  }
8295
- }, bg = {
8298
+ }, wg = {
8296
8299
  library: zo,
8297
8300
  loadEntries: async () => (await import("./catalog-CZx3FR-E.js")).default
8298
- }, yg = Wd, wg = {
8301
+ }, kg = Wd, Sg = {
8299
8302
  library: zo,
8300
- loadGlyph: async ({ key: e }) => (await yg[e]?.())?.default
8301
- }, kg = {
8302
- manifest: vg,
8303
+ loadGlyph: async ({ key: e }) => (await kg[e]?.())?.default
8304
+ }, Cg = {
8305
+ manifest: yg,
8303
8306
  components: {},
8304
8307
  iconLibrary: {
8305
- catalog: bg,
8306
- adapter: wg
8308
+ catalog: wg,
8309
+ adapter: Sg
8307
8310
  }
8308
- }, Sg = [
8311
+ }, Ng = [
8309
8312
  Bd,
8310
8313
  jd,
8311
8314
  Ud
@@ -8316,10 +8319,10 @@ var zo = "Cratis.Icons.Lucide", vg = {
8316
8319
  Er,
8317
8320
  fr,
8318
8321
  Ar,
8319
- ...Sg,
8320
- kg
8321
- ], Cg = Pt.map((e) => e.manifest), sy = wr(Pt), ly = Xt(Cg), cy = Pt.flatMap((e) => e.themes ?? []);
8322
- function Ng(e) {
8322
+ ...Ng,
8323
+ Cg
8324
+ ], Tg = Pt.map((e) => e.manifest), cy = wr(Pt), dy = Xt(Tg), uy = Pt.flatMap((e) => e.themes ?? []);
8325
+ function Ig(e) {
8323
8326
  const t = Is(e).map((i) => i.name), n = Qo(e, dt.Styling).map((i) => i.name), o = Qo(e, dt.Blueprint)[0];
8324
8327
  return o ? [
8325
8328
  ...t,
@@ -8332,16 +8335,16 @@ var Wa = (e) => e === void 0 || e.activePack === "" && e.mappings.length === 0 ?
8332
8335
  mappings: e.mappings.map((t) => ({ ...t })),
8333
8336
  bindings: []
8334
8337
  };
8335
- function Tg(e, t) {
8338
+ function Pg(e, t) {
8336
8339
  return t.filter((n) => Fs(n, e));
8337
8340
  }
8338
- function Ig(e, t) {
8341
+ function xg(e, t) {
8339
8342
  return [...new Set(Object.values(t).flat())].map((n) => Tt(n, e, t)).filter((n) => n !== void 0 && n.shadows.length > 0).sort((n, o) => n.name.localeCompare(o.name));
8340
8343
  }
8341
8344
  var Dn = /* @__PURE__ */ (function(e) {
8342
8345
  return e.Fallback = "fallback", e.Explicit = "explicit", e.Automatic = "automatic", e;
8343
8346
  })({});
8344
- function Pg(e) {
8347
+ function Og(e) {
8345
8348
  const t = [
8346
8349
  so,
8347
8350
  ...e.packages,
@@ -8351,17 +8354,17 @@ function Pg(e) {
8351
8354
  ];
8352
8355
  return [...new Set(t.filter((n) => n.length > 0))];
8353
8356
  }
8354
- function xg(e, t) {
8357
+ function Rg(e, t) {
8355
8358
  return e.find((n) => n.manifest.name === t)?.manifest.layouts[0] ?? "";
8356
8359
  }
8357
- function Og(e, t) {
8360
+ function Dg(e, t) {
8358
8361
  const n = e.root?.template;
8359
8362
  if (!(n?.source !== bs.Blueprint || n.blueprint === void 0))
8360
8363
  return t.find((o) => o.manifest.name === n.blueprint)?.manifest.layouts.includes(n.id) ? n.id : void 0;
8361
8364
  }
8362
8365
  var za = "UI Profile";
8363
8366
  function Ka(e, t) {
8364
- const n = t.map((c) => c.manifest), o = Pg(e), i = Bs(o, n), r = Og(e, t) ?? xg(t, e.shell), s = {
8367
+ const n = t.map((c) => c.manifest), o = Og(e), i = Bs(o, n), r = Dg(e, t) ?? Rg(t, e.shell), s = {
8365
8368
  name: za,
8366
8369
  targetPlatform: "web",
8367
8370
  packages: i.packages,
@@ -8385,14 +8388,14 @@ function Ka(e, t) {
8385
8388
  requiredBy: n.filter((d) => i.packages.includes(d.name) && d.dependencies.some((p) => p.name === c)).map((d) => d.name)
8386
8389
  }] : [];
8387
8390
  }),
8388
- collisions: Ig(s, Xt(n)),
8389
- compatibleThemes: Tg(s, t.flatMap((c) => c.themes ?? [])),
8391
+ collisions: xg(s, Xt(n)),
8392
+ compatibleThemes: Pg(s, t.flatMap((c) => c.themes ?? [])),
8390
8393
  layout: r,
8391
8394
  isValid: Es(i)
8392
8395
  };
8393
8396
  }
8394
- function Rg(e) {
8395
- const t = e.map((s) => s.manifest), n = Ng(t), o = n.find((s) => t.find((l) => l.name === s)?.kind === dt.Blueprint) ?? "", i = {
8397
+ function Eg(e) {
8398
+ const t = e.map((s) => s.manifest), n = Ig(t), o = n.find((s) => t.find((l) => l.name === s)?.kind === dt.Blueprint) ?? "", i = {
8396
8399
  packages: n.filter((s) => s !== o && s !== so),
8397
8400
  shell: o,
8398
8401
  templatePacks: [],
@@ -8407,7 +8410,7 @@ function Rg(e) {
8407
8410
  theme: r?.name ?? ""
8408
8411
  };
8409
8412
  }
8410
- function Dg(e, t) {
8413
+ function Fg(e, t) {
8411
8414
  return {
8412
8415
  name: za,
8413
8416
  targetPlatform: "web",
@@ -8417,11 +8420,11 @@ function Dg(e, t) {
8417
8420
  sampleData: Wa(t)
8418
8421
  };
8419
8422
  }
8420
- function dy(e, t = Pt, n, o) {
8421
- const i = e ? Dg(e, o) : Ka(Rg(t), t).profile;
8422
- return fg(t, i, n);
8423
+ function py(e, t = Pt, n, o) {
8424
+ const i = e ? Fg(e, o) : Ka(Eg(t), t).profile;
8425
+ return vg(t, i, n);
8423
8426
  }
8424
- function Eg(e, t) {
8427
+ function Ag(e, t) {
8425
8428
  const n = no(e), o = mo(e, {
8426
8429
  kind: Ht.Screen,
8427
8430
  name: ge
@@ -8431,8 +8434,8 @@ function Eg(e, t) {
8431
8434
  configuration: i
8432
8435
  };
8433
8436
  }
8434
- var Fg = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry }) => {
8435
- const { element: i, configuration: r } = L(() => Eg(e, t.catalog), [e, t.catalog]), s = L(() => go(i, t.profile, t.packages), [
8437
+ var Mg = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry }) => {
8438
+ const { element: i, configuration: r } = L(() => Ag(e, t.catalog), [e, t.catalog]), s = L(() => go(i, t.profile, t.packages), [
8436
8439
  i,
8437
8440
  t.profile,
8438
8441
  t.packages
@@ -8453,12 +8456,12 @@ var Fg = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry
8453
8456
  })
8454
8457
  })
8455
8458
  });
8456
- }, Ag = (e) => {
8459
+ }, _g = (e) => {
8457
8460
  const t = vt(e);
8458
8461
  return Na.has(t) || t in Sa;
8459
- }, Mg = (e, t) => {
8462
+ }, $g = (e, t) => {
8460
8463
  const n = (o) => {
8461
- const i = Ag(o.element.componentName), r = L(() => ({
8464
+ const i = _g(o.element.componentName), r = L(() => ({
8462
8465
  ...o.element,
8463
8466
  properties: Ta(e, o.element.componentName, o.element.properties)
8464
8467
  }), [o.element]);
@@ -8472,11 +8475,11 @@ var Fg = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry
8472
8475
  };
8473
8476
  return n.displayName = `Miniature(${t.displayName ?? t.name ?? "Component"})`, n;
8474
8477
  };
8475
- function _g(e) {
8476
- return Object.fromEntries(Object.entries(e).map(([t, n]) => [t, Mg(t, n)]));
8478
+ function Lg(e) {
8479
+ return Object.fromEntries(Object.entries(e).map(([t, n]) => [t, $g(t, n)]));
8477
8480
  }
8478
- var uy = 240, py = 112;
8479
- function $g(e, t = 240, n = Number.POSITIVE_INFINITY) {
8481
+ var my = 240, hy = 112;
8482
+ function Bg(e, t = 240, n = Number.POSITIVE_INFINITY) {
8480
8483
  const o = e && e.width > 0 && e.height > 0 ? e : ya({
8481
8484
  width: 1 / 0,
8482
8485
  height: 1 / 0
@@ -8489,7 +8492,7 @@ function $g(e, t = 240, n = Number.POSITIVE_INFINITY) {
8489
8492
  scale: s
8490
8493
  };
8491
8494
  }
8492
- function Lg(e, t = 240) {
8495
+ function jg(e, t = 240) {
8493
8496
  const n = typeof IntersectionObserver < "u", [o, i] = z(!n);
8494
8497
  return le(() => {
8495
8498
  const r = e.current;
@@ -8502,23 +8505,23 @@ function Lg(e, t = 240) {
8502
8505
  n
8503
8506
  ]), o;
8504
8507
  }
8505
- var Bg = [
8508
+ var Ug = [
8506
8509
  "#f66",
8507
8510
  "#fa0",
8508
8511
  "#3c3"
8509
- ], jg = () => {
8510
- }, Zi = 16, my = ({ document: e, runtime: t, windowSize: n, width: o, title: i, openTitle: r, onClick: s, placeholder: l }) => {
8511
- const c = V(null), u = Lg(c), d = L(() => $g(n, o ?? 240, o === void 0 ? 112 : void 0), [
8512
+ ], Wg = () => {
8513
+ }, Zi = 16, fy = ({ document: e, runtime: t, windowSize: n, width: o, title: i, openTitle: r, onClick: s, placeholder: l }) => {
8514
+ const c = V(null), u = jg(c), d = L(() => Bg(n, o ?? 240, o === void 0 ? 112 : void 0), [
8512
8515
  n?.width,
8513
8516
  n?.height,
8514
8517
  o
8515
- ]), p = L(() => jo(t), [t]), m = L(() => _g(t.registry), [t.registry]), h = {
8518
+ ]), p = L(() => jo(t), [t]), m = L(() => Lg(t.registry), [t.registry]), h = {
8516
8519
  width: d.width,
8517
8520
  height: Zi + d.bodyHeight
8518
8521
  }, g = /* @__PURE__ */ b(ae, { children: [/* @__PURE__ */ b("div", {
8519
8522
  className: "screen-thumbnail__title-bar",
8520
8523
  style: { height: Zi },
8521
- children: [Bg.map((v) => /* @__PURE__ */ a("span", {
8524
+ children: [Ug.map((v) => /* @__PURE__ */ a("span", {
8522
8525
  className: "screen-thumbnail__light",
8523
8526
  style: { borderColor: v }
8524
8527
  }, v)), i && /* @__PURE__ */ a("span", {
@@ -8538,10 +8541,10 @@ var Bg = [
8538
8541
  "--studio-surface-viewport-height": `${d.canvasHeight}px`
8539
8542
  },
8540
8543
  "data-studio-viewport": "",
8541
- children: /* @__PURE__ */ a(Fg, {
8544
+ children: /* @__PURE__ */ a(Mg, {
8542
8545
  document: e,
8543
8546
  runtime: t,
8544
- resolveBinding: jg,
8547
+ resolveBinding: Wg,
8545
8548
  registry: m
8546
8549
  })
8547
8550
  }) : l
@@ -8567,28 +8570,28 @@ var Bg = [
8567
8570
  "aria-label": i,
8568
8571
  children: g
8569
8572
  });
8570
- }, rt = /* @__PURE__ */ new Map(), Ug = 200;
8571
- function hy(e) {
8573
+ }, rt = /* @__PURE__ */ new Map(), zg = 200;
8574
+ function gy(e) {
8572
8575
  if (!e) return;
8573
8576
  if (rt.has(e)) return rt.get(e);
8574
8577
  const t = Zr(e), n = t.readable ? t.document : void 0;
8575
- return rt.size >= Ug && rt.delete(rt.keys().next().value), rt.set(e, n), n;
8578
+ return rt.size >= zg && rt.delete(rt.keys().next().value), rt.set(e, n), n;
8576
8579
  }
8577
- var fy = {
8580
+ var vy = {
8578
8581
  [W.Stack]: "Stack",
8579
8582
  [W.Row]: "Row",
8580
8583
  [W.Grid]: "Grid",
8581
8584
  [W.Container]: "Container",
8582
8585
  [W.Wrap]: "Wrap",
8583
8586
  [W.Canvas]: "Canvas"
8584
- }, Wg = {
8587
+ }, Kg = {
8585
8588
  [W.Stack]: st,
8586
8589
  [W.Row]: Rl,
8587
8590
  [W.Grid]: Or,
8588
8591
  [W.Container]: bo,
8589
8592
  [W.Wrap]: yo,
8590
8593
  [W.Canvas]: rc
8591
- }, zg = {
8594
+ }, qg = {
8592
8595
  text: ml,
8593
8596
  button: Ut,
8594
8597
  card: Nl,
@@ -8729,7 +8732,7 @@ var fy = {
8729
8732
  themeSwitcher: gn,
8730
8733
  layoutModeSwitcher: Fn,
8731
8734
  arcPageHeader: jt
8732
- }, Kg = [
8735
+ }, Gg = [
8733
8736
  [/dialog/i, mt],
8734
8737
  [/table|grid/i, pt],
8735
8738
  [/menu|bar$/i, st],
@@ -8742,35 +8745,35 @@ var fy = {
8742
8745
  [/message|toast/i, Cr],
8743
8746
  [/tree/i, _n],
8744
8747
  [/page|screen/i, An]
8745
- ], qg = (e) => zg[e] ?? Kg.find(([t]) => t.test(e))?.[1] ?? Pr, Gg = {
8748
+ ], Hg = (e) => qg[e] ?? Gg.find(([t]) => t.test(e))?.[1] ?? Pr, Vg = {
8746
8749
  [yr.manifest.name]: xr,
8747
8750
  [kr.manifest.name]: Rr,
8748
8751
  [Er.manifest.name]: Pr,
8749
8752
  [fr.manifest.name]: yo,
8750
8753
  [Ar.manifest.name]: jt,
8751
8754
  [Fr.manifest.name]: Ul
8752
- }, Hg = Tl, gy = {
8755
+ }, Jg = Tl, by = {
8753
8756
  layout: (e) => {
8754
- const t = Wg[e];
8757
+ const t = Kg[e];
8755
8758
  return /* @__PURE__ */ a(t, { "aria-hidden": "true" });
8756
8759
  },
8757
8760
  component: (e) => {
8758
- const t = qg(e);
8761
+ const t = Hg(e);
8759
8762
  return /* @__PURE__ */ a(t, { "aria-hidden": "true" });
8760
8763
  },
8761
8764
  drawer: {
8762
8765
  layout: /* @__PURE__ */ a(Or, { "aria-hidden": "true" }),
8763
8766
  package: (e) => {
8764
- const t = Gg[e] ?? Hg;
8767
+ const t = Vg[e] ?? Jg;
8765
8768
  return /* @__PURE__ */ a(t, { "aria-hidden": "true" });
8766
8769
  }
8767
8770
  }
8768
- }, vy = Pt.map((e) => ({
8771
+ }, yy = Pt.map((e) => ({
8769
8772
  package: e.manifest.name,
8770
8773
  components: e.manifest.components,
8771
8774
  descriptors: e.descriptors ?? []
8772
8775
  }));
8773
- function by(e, t, n) {
8776
+ function wy(e, t, n) {
8774
8777
  return e.map((o) => ({
8775
8778
  type: o.type,
8776
8779
  name: t[o.item],
@@ -8778,10 +8781,10 @@ function by(e, t, n) {
8778
8781
  icon: n?.[o.item]
8779
8782
  }));
8780
8783
  }
8781
- var yy = /* @__PURE__ */ (function(e) {
8784
+ var ky = /* @__PURE__ */ (function(e) {
8782
8785
  return e.Auto = "auto", e.Manual = "manual", e;
8783
8786
  })({});
8784
- function wy(e) {
8787
+ function Sy(e) {
8785
8788
  return [
8786
8789
  {
8787
8790
  kind: xt.DataContext,
@@ -8804,67 +8807,67 @@ function wy(e) {
8804
8807
  ];
8805
8808
  }
8806
8809
  export {
8807
- mv as BindingMode,
8808
- hv as BindingNullBehavior,
8809
- fv as BindingSourceKind,
8810
- yy as CommandFormMode,
8811
- gv as DestinationKind,
8810
+ fv as BindingMode,
8811
+ gv as BindingNullBehavior,
8812
+ vv as BindingSourceKind,
8813
+ ky as CommandFormMode,
8814
+ bv as DestinationKind,
8812
8815
  W as LayoutItem,
8813
8816
  ne as Ownership,
8814
- Fg as PlayScreenView,
8817
+ Mg as PlayScreenView,
8815
8818
  Fe as SceneDocumentProblem,
8816
8819
  wa as ScreenEditorControlProviders,
8817
- oy as ScreenEditorOverlay,
8818
- iy as ScreenEditorPrimeReactProvider,
8820
+ ry as ScreenEditorOverlay,
8821
+ ay as ScreenEditorPrimeReactProvider,
8819
8822
  Ea as ScreenEditorWindow,
8820
- ry as ScreenEditorWorkspace,
8821
- my as ScreenThumbnail,
8823
+ sy as ScreenEditorWorkspace,
8824
+ fy as ScreenThumbnail,
8822
8825
  te as StructureEditRejection,
8823
- cv as StructuredValueEditor,
8824
- ov as asList,
8825
- wy as bindingSourceChoices,
8826
+ uv as StructuredValueEditor,
8827
+ rv as asList,
8828
+ Sy as bindingSourceChoices,
8826
8829
  _m as browserWindowSizeStorage,
8827
8830
  kt as commandNameOf,
8828
- ay as createScreenEditorEnvironment,
8829
- fg as createScreenEditorRuntime,
8831
+ ly as createScreenEditorEnvironment,
8832
+ vg as createScreenEditorRuntime,
8830
8833
  $m as createWindowSizeMemory,
8831
- Wg as defaultLayoutIcons,
8832
- fy as defaultLayoutLabels,
8833
- gy as defaultPaletteIcons,
8834
- vy as defaultPaletteSources,
8834
+ Kg as defaultLayoutIcons,
8835
+ vy as defaultLayoutLabels,
8836
+ by as defaultPaletteIcons,
8837
+ yy as defaultPaletteSources,
8835
8838
  Cp as defaultScreenEditorStrings,
8836
8839
  er as defaultStructuredEditorStrings,
8837
8840
  ya as defaultWindowSize,
8838
8841
  Um as fitWindowSize,
8839
- tv as identified,
8842
+ ov as identified,
8840
8843
  rs as isCollectionOfRecords,
8841
8844
  Bm as isLegacyDefaultWindow,
8842
8845
  os as isObjectWithFields,
8843
- Zg as isPrimitiveList,
8846
+ ev as isPrimitiveList,
8844
8847
  sn as isRecord,
8845
- nv as isStringMap,
8848
+ iv as isStringMap,
8846
8849
  Ko as isStructured,
8847
- ev as movedItem,
8848
- iv as newItem,
8850
+ nv as movedItem,
8851
+ av as newItem,
8849
8852
  nr as numberListEditorKind,
8850
8853
  Zr as readSceneDocument,
8851
- hy as readThumbnailDocument,
8854
+ gy as readThumbnailDocument,
8852
8855
  jm as resolveInitialWindowSize,
8853
8856
  ts as scalarEditorKind,
8854
- Wf as screenEditorPrimeReactDefaults,
8855
- dy as screenEditorRuntimeForProfile,
8857
+ Kf as screenEditorPrimeReactDefaults,
8858
+ py as screenEditorRuntimeForProfile,
8856
8859
  St as sliceNamedBy,
8857
8860
  or as stringListEditorKind,
8858
8861
  is as stringMapEditorKind,
8859
8862
  ns as stringOrListEditorKind,
8860
8863
  Kn as structuredProblem,
8861
- $g as thumbnailGeometry,
8862
- py as thumbnailMaxBodyHeight,
8863
- uy as thumbnailWidth,
8864
- by as toLayoutContainerDescriptors,
8865
- Jf as toSceneCandidates,
8866
- Xg as withField,
8864
+ Bg as thumbnailGeometry,
8865
+ hy as thumbnailMaxBodyHeight,
8866
+ my as thumbnailWidth,
8867
+ wy as toLayoutContainerDescriptors,
8868
+ Yf as toSceneCandidates,
8869
+ tv as withField,
8867
8870
  es as withIdentities,
8868
- rv as withItem,
8869
- av as withoutItem
8871
+ sv as withItem,
8872
+ lv as withoutItem
8870
8873
  };