@chili-publish/studio-sdk 1.37.0 → 1.38.0

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.
@@ -3,9 +3,9 @@ var Me = (s) => {
3
3
  };
4
4
  var xe = (s, o, t) => o.has(s) || Me("Cannot " + t);
5
5
  var a = (s, o, t) => (xe(s, o, "read from private field"), t ? t.call(s) : o.get(s)), u = (s, o, t) => o.has(s) ? Me("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(s) : o.set(s, t), g = (s, o, t, e) => (xe(s, o, "write to private field"), e ? e.call(s, t) : o.set(s, t), t);
6
- const Ms = "2.20.latest", Ss = {
6
+ const Ms = "2.21.latest", Ss = {
7
7
  current: Ms
8
- }, xs = "1.37.0", bs = {
8
+ }, xs = "1.38.0", bs = {
9
9
  version: xs
10
10
  };
11
11
  var z;
@@ -78,15 +78,15 @@ const Rs = (s, o) => {
78
78
  t(`${e}: Unable to send ${f}() reply due to destroyed connection`);
79
79
  return;
80
80
  }
81
- const E = {
81
+ const O = {
82
82
  penpal: z.Reply,
83
83
  id: A,
84
84
  resolution: S,
85
85
  returnValue: M
86
86
  };
87
- S === ut.Rejected && M instanceof Error && (E.returnValue = Re(M), E.returnValueIsError = !0);
87
+ S === ut.Rejected && M instanceof Error && (O.returnValue = Re(M), O.returnValueIsError = !0);
88
88
  try {
89
- n.postMessage(E, c);
89
+ n.postMessage(O, c);
90
90
  } catch (P) {
91
91
  if (P.name === ne.DataCloneError) {
92
92
  const W = {
@@ -142,22 +142,22 @@ const Ts = () => ++Hs, vs = ".", Is = (s) => s ? s.split(vs) : [], $s = (s) => s
142
142
  throw S.code = Gt.ConnectionDestroyed, S;
143
143
  }
144
144
  return new Promise((S, M) => {
145
- const E = Ts(), P = (j) => {
146
- if (j.source !== h || j.data.penpal !== z.Reply || j.data.id !== E)
145
+ const O = Ts(), P = (j) => {
146
+ if (j.source !== h || j.data.penpal !== z.Reply || j.data.id !== O)
147
147
  return;
148
148
  if (j.origin !== p) {
149
149
  r(`${n} received message from origin ${j.origin} which did not match expected origin ${p}`);
150
150
  return;
151
151
  }
152
- const St = j.data;
152
+ const bt = j.data;
153
153
  r(`${n}: Received ${b}() reply`), c.removeEventListener(dt.Message, P);
154
- let bt = St.returnValue;
155
- St.returnValueIsError && (bt = ks(bt)), (St.resolution === ut.Fulfilled ? S : M)(bt);
154
+ let vt = bt.returnValue;
155
+ bt.returnValueIsError && (vt = ks(vt)), (bt.resolution === ut.Fulfilled ? S : M)(vt);
156
156
  };
157
157
  c.addEventListener(dt.Message, P);
158
158
  const W = {
159
159
  penpal: z.Call,
160
- id: E,
160
+ id: O,
161
161
  methodName: b,
162
162
  args: A
163
163
  };
@@ -228,7 +228,7 @@ const Ts = () => ++Hs, vs = ".", Is = (s) => s ? s.split(vs) : [], $s = (s) => s
228
228
  const y = e === "null" ? "*" : e, v = As(t), f = Ys(c, v, e, y), b = qs(v, e, y, h, c);
229
229
  return {
230
230
  promise: new Promise((I, S) => {
231
- const M = Xs(r, p), E = (P) => {
231
+ const M = Xs(r, p), O = (P) => {
232
232
  if (!(P.source !== o.contentWindow || !P.data)) {
233
233
  if (P.data.penpal === z.Syn) {
234
234
  f(P);
@@ -241,8 +241,8 @@ const Ts = () => ++Hs, vs = ".", Is = (s) => s ? s.split(vs) : [], $s = (s) => s
241
241
  }
242
242
  }
243
243
  };
244
- window.addEventListener(dt.Message, E), c("Parent: Awaiting handshake"), Qs(o, h), d((P) => {
245
- window.removeEventListener(dt.Message, E), P && S(P);
244
+ window.addEventListener(dt.Message, O), c("Parent: Awaiting handshake"), Qs(o, h), d((P) => {
245
+ window.removeEventListener(dt.Message, O), P && S(P);
246
246
  });
247
247
  }),
248
248
  destroy() {
@@ -488,7 +488,7 @@ class Je {
488
488
  }
489
489
  }
490
490
  L = new WeakMap();
491
- var $ = /* @__PURE__ */ ((s) => (s.code39 = "code39", s.code93 = "code93", s.code128 = "code128", s.dataMatrix = "dataMatrix", s.ean13 = "ean13", s.ean8 = "ean8", s.qr = "qr", s.upca = "upca", s.upce = "upce", s.gs1128 = "gs1128", s))($ || {}), Rt = /* @__PURE__ */ ((s) => (s.low = "low", s.medium = "medium", s.quartile = "quartile", s.high = "high", s))(Rt || {}), vt = /* @__PURE__ */ ((s) => (s.utf8 = "utf8", s.iso8859_1 = "iso8859_1", s.code128a = "code128a", s.code128b = "code128b", s.code128c = "code128c", s))(vt || {}), lr = /* @__PURE__ */ ((s) => (s.success = "success", s.empty = "empty", s.invalidLength = "invalidLength", s.invalidCharacters = "invalidCharacters", s.invalidChecksum = "invalidChecksum", s.invalidUPCE = "invalidUPCE", s.otherError = "otherError", s))(lr || {}), dr = /* @__PURE__ */ ((s) => (s.px = "px", s.mm = "mm", s.cm = "cm", s.inch = "inch", s.pt = "pt", s))(dr || {}), X = /* @__PURE__ */ ((s) => (s.top = "top", s.right = "right", s.bottom = "bottom", s.left = "left", s))(X || {}), ur = /* @__PURE__ */ ((s) => (s.top = "top", s.child = "child", s))(ur || {}), gr = /* @__PURE__ */ ((s) => (s.print = "print", s.digitalStatic = "digitalStatic", s.digitalAnimated = "digitalAnimated", s))(gr || {}), yr = /* @__PURE__ */ ((s) => (s.locked = "locked", s.range = "range", s.none = "none", s))(yr || {}), k;
491
+ var $ = /* @__PURE__ */ ((s) => (s.code39 = "code39", s.code93 = "code93", s.code128 = "code128", s.dataMatrix = "dataMatrix", s.ean13 = "ean13", s.ean8 = "ean8", s.qr = "qr", s.upca = "upca", s.upce = "upce", s.gs1128 = "gs1128", s))($ || {}), Rt = /* @__PURE__ */ ((s) => (s.low = "low", s.medium = "medium", s.quartile = "quartile", s.high = "high", s))(Rt || {}), It = /* @__PURE__ */ ((s) => (s.utf8 = "utf8", s.iso8859_1 = "iso8859_1", s.code128a = "code128a", s.code128b = "code128b", s.code128c = "code128c", s))(It || {}), lr = /* @__PURE__ */ ((s) => (s.success = "success", s.empty = "empty", s.invalidLength = "invalidLength", s.invalidCharacters = "invalidCharacters", s.invalidChecksum = "invalidChecksum", s.invalidUPCE = "invalidUPCE", s.otherError = "otherError", s))(lr || {}), dr = /* @__PURE__ */ ((s) => (s.px = "px", s.mm = "mm", s.cm = "cm", s.inch = "inch", s.pt = "pt", s))(dr || {}), X = /* @__PURE__ */ ((s) => (s.top = "top", s.right = "right", s.bottom = "bottom", s.left = "left", s))(X || {}), ur = /* @__PURE__ */ ((s) => (s.top = "top", s.child = "child", s))(ur || {}), gr = /* @__PURE__ */ ((s) => (s.print = "print", s.digitalStatic = "digitalStatic", s.digitalAnimated = "digitalAnimated", s))(gr || {}), yr = /* @__PURE__ */ ((s) => (s.locked = "locked", s.range = "range", s.none = "none", s))(yr || {}), k;
492
492
  class Ge {
493
493
  /**
494
494
  * @ignore
@@ -540,7 +540,7 @@ class Ge {
540
540
  let e = !0, r = !0, n = !0, c, h, d = !1, p = !1, y = !1;
541
541
  switch (t) {
542
542
  case $.qr:
543
- c = [vt.iso8859_1, vt.utf8], h = [
543
+ c = [It.iso8859_1, It.utf8], h = [
544
544
  Rt.low,
545
545
  Rt.medium,
546
546
  Rt.quartile,
@@ -561,9 +561,9 @@ class Ge {
561
561
  case $.code128:
562
562
  case $.gs1128:
563
563
  c = [
564
- vt.code128a,
565
- vt.code128b,
566
- vt.code128c
564
+ It.code128a,
565
+ It.code128b,
566
+ It.code128c
567
567
  ];
568
568
  break;
569
569
  case $.code39:
@@ -586,9 +586,9 @@ class Ge {
586
586
  }
587
587
  k = new WeakMap();
588
588
  var T = /* @__PURE__ */ ((s) => (s.rgb = "rgb", s.hex = "hex", s.cmyk = "cmyk", s.spotCmyk = "spotCmyk", s.spotRgb = "spotRgb", s.spotHex = "spotHex", s))(T || {}), q = /* @__PURE__ */ ((s) => (s.rgb = "rgb", s.hex = "hex", s.cmyk = "cmyk", s.gray = "gray", s.hsl = "hsl", s.spot = "spot", s.spotCMYK = "spotCMYK", s.spotRGB = "spotRGB", s.spotHEX = "spotHEX", s))(q || {}), ae = /* @__PURE__ */ ((s) => (s.local = "local", s.brandKit = "brandKit", s.stylekit = "brandKit", s))(ae || {});
589
- const Be = (s) => s.type === T.hex, ie = (s) => s.type === T.spotHex, pr = (s) => s.type === T.spotRgb, Cr = (s) => s.type === T.spotCmyk, wr = (s) => pr(s) || Cr(s) || ie(s), mr = (s) => {
589
+ const Be = (s) => s.type === T.hex, ie = (s) => s.type === T.spotHex, pr = (s) => s.type === T.spotRgb, wr = (s) => s.type === T.spotCmyk, Cr = (s) => pr(s) || wr(s) || ie(s), mr = (s) => {
590
590
  const o = fr(s.type);
591
- return wr(s) ? {
591
+ return Cr(s) ? {
592
592
  ...ie(s) && { value: s.displayValue },
593
593
  ...!ie(s) && { ...s.displayValue },
594
594
  spotName: s.value,
@@ -681,7 +681,7 @@ class _e {
681
681
  y,
682
682
  p,
683
683
  v
684
- ]), E = {
684
+ ]), O = {
685
685
  id: e.parsedData,
686
686
  brandKit: {
687
687
  id: e.parsedData,
@@ -696,8 +696,8 @@ class _e {
696
696
  }
697
697
  }, P = {
698
698
  success: !0,
699
- data: JSON.stringify(E),
700
- parsedData: E,
699
+ data: JSON.stringify(O),
700
+ parsedData: O,
701
701
  status: 200
702
702
  };
703
703
  return i(P);
@@ -916,28 +916,28 @@ class Ke {
916
916
  }
917
917
  V = new WeakMap();
918
918
  var Bt = /* @__PURE__ */ ((s) => (s[s.file = 0] = "file", s[s.collection = 1] = "collection", s))(Bt || {}), ce = /* @__PURE__ */ ((s) => (s.LowResolutionWeb = "lowresWeb", s.HighResolutionWeb = "highresWeb", s))(ce || {}), Ut = /* @__PURE__ */ ((s) => (s.file = "file", s.collection = "collection", s))(Ut || {}), Sr = /* @__PURE__ */ ((s) => (s.media = "media", s.fonts = "fonts", s.data = "data", s.components = "components", s))(Sr || {}), br = /* @__PURE__ */ ((s) => (s.name = "name", s.path = "relativePath", s.id = "id", s))(br || {}), vr = /* @__PURE__ */ ((s) => (s.ascending = "asc", s.descending = "desc", s))(vr || {}), Ir = /* @__PURE__ */ ((s) => (s.text = "text", s.boolean = "boolean", s))(Ir || {}), Ar = /* @__PURE__ */ ((s) => (s.query = "query", s.upload = "upload", s))(Ar || {}), Vt = /* @__PURE__ */ ((s) => (s.url = "url", s.grafx = "grafx", s.local = "local", s))(Vt || {});
919
- class Hn {
919
+ class Tn {
920
920
  constructor(o, t, e, r = "engineToConnector") {
921
921
  this.direction = "engineToConnector", this.name = o, this.direction = r, t === "var" ? this.value = `${t}.${e}` : this.value = e;
922
922
  }
923
923
  }
924
- var Pr = /* @__PURE__ */ ((s) => (s.variable = "var", s.value = "value", s))(Pr || {}), Fr = /* @__PURE__ */ ((s) => (s.engineToConnector = "engineToConnector", s.connectorToEngine = "connectorToEngine", s))(Fr || {}), he = /* @__PURE__ */ ((s) => (s.loading = "loading", s.loaded = "loaded", s.running = "running", s.ready = "ready", s.error = "error", s))(he || {}), Er = /* @__PURE__ */ ((s) => (s.stateChanged = "stateChanged", s.authChanged = "authChanged", s.reloadRequired = "reloadRequired", s.unloaded = "unloaded", s))(Er || {});
925
- const Tn = {
924
+ var Pr = /* @__PURE__ */ ((s) => (s.variable = "var", s.value = "value", s))(Pr || {}), Fr = /* @__PURE__ */ ((s) => (s.engineToConnector = "engineToConnector", s.connectorToEngine = "connectorToEngine", s))(Fr || {}), he = /* @__PURE__ */ ((s) => (s.loading = "loading", s.loaded = "loaded", s.running = "running", s.ready = "ready", s.error = "error", s))(he || {}), Or = /* @__PURE__ */ ((s) => (s.stateChanged = "stateChanged", s.authChanged = "authChanged", s.reloadRequired = "reloadRequired", s.unloaded = "unloaded", s))(Or || {});
925
+ const $n = {
926
926
  url: "grafx-media.json",
927
927
  source: "local"
928
928
  /* local */
929
929
  };
930
- class $n {
930
+ class Kn {
931
931
  constructor(o) {
932
932
  this.type = "grafxToken", this.token = o;
933
933
  }
934
934
  }
935
- class Kn {
935
+ class zn {
936
936
  constructor() {
937
937
  this.type = "refreshed";
938
938
  }
939
939
  }
940
- var Or = /* @__PURE__ */ ((s) => (s.grafxToken = "grafxToken", s.refreshed = "refreshed", s))(Or || {}), Lr = /* @__PURE__ */ ((s) => (s.grafxToken = "grafxToken", s.any = "any", s))(Lr || {}), Fs = /* @__PURE__ */ ((s) => (s.minDimension = "minDimension", s))(Fs || {});
940
+ var Er = /* @__PURE__ */ ((s) => (s.grafxToken = "grafxToken", s.refreshed = "refreshed", s))(Er || {}), Lr = /* @__PURE__ */ ((s) => (s.grafxToken = "grafxToken", s.any = "any", s))(Lr || {}), Fs = /* @__PURE__ */ ((s) => (s.minDimension = "minDimension", s))(Fs || {});
941
941
  class Dr extends Error {
942
942
  constructor(o, t) {
943
943
  super(o), this.type = t;
@@ -969,8 +969,8 @@ class ye {
969
969
  }, this.isSourceMigrated = (o) => "id" in o;
970
970
  }
971
971
  }
972
- var J, It, gt, ws;
973
- let ze = (ws = class {
972
+ var J, At, gt, Cs;
973
+ let ze = (Cs = class {
974
974
  /**
975
975
  * @ignore
976
976
  */
@@ -979,19 +979,19 @@ let ze = (ws = class {
979
979
  * @ignore
980
980
  */
981
981
  u(this, J);
982
- u(this, It);
982
+ u(this, At);
983
983
  u(this, gt);
984
984
  this.getById = async (e) => (await a(this, J)).getConnectorById(e).then((n) => i(n)).then((n) => {
985
985
  const c = { ...n, parsedData: null };
986
986
  return n.parsedData && (c.parsedData = a(this, gt).makeSingleConnectorBackwardsCompatible(
987
987
  n.parsedData,
988
- a(this, It).get(tt.GraFxStudioEnvironmentApiUrl)
988
+ a(this, At).get(tt.GraFxStudioEnvironmentApiUrl)
989
989
  )), c;
990
990
  }), this.getAllByType = async (e) => (await a(this, J)).getConnectors(e).then((n) => i(n)).then((n) => {
991
991
  const c = { ...n, parsedData: null };
992
992
  return n.parsedData && (c.parsedData = a(this, gt).makeMultipleConnectorsBackwardsCompatible(
993
993
  n.parsedData,
994
- a(this, It).get(tt.GraFxStudioEnvironmentApiUrl)
994
+ a(this, At).get(tt.GraFxStudioEnvironmentApiUrl)
995
995
  )), c;
996
996
  }), this.register = async (e) => {
997
997
  const r = await a(this, J), n = a(this, gt).makeConnectorSourceForwardsCompatible(e);
@@ -1043,7 +1043,7 @@ let ze = (ws = class {
1043
1043
  )
1044
1044
  )) ?? [], d = r.filter((y) => y.name !== "" && y.value !== ""), p = [...h, ...d];
1045
1045
  await n.setMappings(p);
1046
- }), g(this, J, o), g(this, It, t), g(this, gt, new ye());
1046
+ }), g(this, J, o), g(this, At, t), g(this, gt, new ye());
1047
1047
  }
1048
1048
  async getMappings(o, t) {
1049
1049
  return (await a(this, J)).getConnectorMappings(o).then((r) => i(r)).then(
@@ -1056,7 +1056,7 @@ let ze = (ws = class {
1056
1056
  }
1057
1057
  );
1058
1058
  }
1059
- }, J = new WeakMap(), It = new WeakMap(), gt = new WeakMap(), ws);
1059
+ }, J = new WeakMap(), At = new WeakMap(), gt = new WeakMap(), Cs);
1060
1060
  var yt, pt;
1061
1061
  class Nr {
1062
1062
  /**
@@ -1135,7 +1135,7 @@ class qe {
1135
1135
  }
1136
1136
  }
1137
1137
  it = new WeakMap();
1138
- var Ct;
1138
+ var wt;
1139
1139
  class Ye {
1140
1140
  /**
1141
1141
  * @ignore
@@ -1144,29 +1144,29 @@ class Ye {
1144
1144
  /**
1145
1145
  * @ignore
1146
1146
  */
1147
- u(this, Ct);
1148
- this.getCurrentState = async () => (await a(this, Ct)).getCurrentDocumentState().then((e) => i(e)), this.load = async (t, e = { keepConnectors: !1 }) => {
1149
- const r = await a(this, Ct), n = typeof t != "string" ? JSON.stringify(t) : t;
1147
+ u(this, wt);
1148
+ this.getCurrentState = async () => (await a(this, wt)).getCurrentDocumentState().then((e) => i(e)), this.load = async (t, e = { keepConnectors: !1 }) => {
1149
+ const r = await a(this, wt), n = typeof t != "string" ? JSON.stringify(t) : t;
1150
1150
  return r.loadDocument(n, JSON.stringify(e)).then((c) => i(c));
1151
1151
  }, this.createAndLoad = async (t) => {
1152
- const e = await a(this, Ct), r = JSON.stringify(t);
1152
+ const e = await a(this, wt), r = JSON.stringify(t);
1153
1153
  return e.createAndLoadDocument(r).then((n) => i(n));
1154
- }, g(this, Ct, o);
1154
+ }, g(this, wt, o);
1155
1155
  }
1156
1156
  }
1157
- Ct = new WeakMap();
1158
- var Mr = /* @__PURE__ */ ((s) => (s.top = "top", s.bottom = "bottom", s.left = "left", s.right = "right", s))(Mr || {}), te = /* @__PURE__ */ ((s) => (s.url = "url", s.variable = "variable", s.connector = "connector", s.brandKitMedia = "brandKitMedia", s))(te || {}), xr = /* @__PURE__ */ ((s) => (s.connector = "connector", s))(xr || {}), Rr = /* @__PURE__ */ ((s) => (s.text = "text", s.image = "image", s.shape = "shape", s.barcode = "barcode", s.component = "component", s))(Rr || {}), Vr = /* @__PURE__ */ ((s) => (s.variable = "variable", s.text = "text", s))(Vr || {}), Jr = /* @__PURE__ */ ((s) => (s.leftToRight = "leftToRight", s.rightToLeft = "rightToLeft", s.weak = "weak", s))(Jr || {}), Gr = /* @__PURE__ */ ((s) => (s.horizontal = "horizontal", s.vertical = "vertical", s.onPath = "onPath", s))(Gr || {}), Br = /* @__PURE__ */ ((s) => (s.top = "top", s.bottom = "bottom", s.middle = "middle", s.justify = "justify", s))(Br || {}), Ur = /* @__PURE__ */ ((s) => (s.normal = "normal", s.screen = "screen", s.overlay = "overlay", s.darken = "darken", s.lighten = "lighten", s.colorDodge = "colorDodge", s.colorBurn = "colorBurn", s.hardLight = "hardLight", s.softLight = "softLight", s.difference = "difference", s.exclusion = "exclusion", s.multiply = "multiply", s.hue = "hue", s.saturation = "saturation", s.color = "color", s.luminosity = "luminosity", s))(Ur || {}), kr = /* @__PURE__ */ ((s) => (s.fill = "fill", s.fit = "fit", s.smartCrop = "smartCrop", s.manualCrop = "manualCrop", s))(kr || {}), _r = /* @__PURE__ */ ((s) => (s.topLeft = "topLeft", s.topCenter = "topCenter", s.topRight = "topRight", s.centerLeft = "centerLeft", s.center = "center", s.centerRight = "centerRight", s.bottomLeft = "bottomLeft", s.bottomCenter = "bottomCenter", s.bottomRight = "bottomRight", s))(_r || {}), Hr = /* @__PURE__ */ ((s) => (s.bringToFront = "bringToFront", s.sendToBack = "sendToBack", s.bringForward = "bringForward", s.sendBackward = "sendBackward", s))(Hr || {}), Tr = /* @__PURE__ */ ((s) => (s.relative = "relative", s.start = "start", s.end = "end", s.startAndEnd = "startAndEnd", s.center = "center", s))(Tr || {}), $r = /* @__PURE__ */ ((s) => (s.page = "page", s.frame = "frame", s))($r || {}), Kr = /* @__PURE__ */ ((s) => (s.start = "start", s.end = "end", s.center = "center", s))(Kr || {});
1159
- class Wn {
1157
+ wt = new WeakMap();
1158
+ var Mr = /* @__PURE__ */ ((s) => (s.resize = "resize", s.scale = "scale", s.scaleAndResize = "scaleAndResize", s))(Mr || {}), xr = /* @__PURE__ */ ((s) => (s.top = "top", s.bottom = "bottom", s.left = "left", s.right = "right", s))(xr || {}), te = /* @__PURE__ */ ((s) => (s.url = "url", s.variable = "variable", s.connector = "connector", s.brandKitMedia = "brandKitMedia", s))(te || {}), Rr = /* @__PURE__ */ ((s) => (s.connector = "connector", s))(Rr || {}), Vr = /* @__PURE__ */ ((s) => (s.text = "text", s.image = "image", s.shape = "shape", s.barcode = "barcode", s.component = "component", s))(Vr || {}), Jr = /* @__PURE__ */ ((s) => (s.variable = "variable", s.text = "text", s))(Jr || {}), Gr = /* @__PURE__ */ ((s) => (s.leftToRight = "leftToRight", s.rightToLeft = "rightToLeft", s.weak = "weak", s))(Gr || {}), Br = /* @__PURE__ */ ((s) => (s.horizontal = "horizontal", s.vertical = "vertical", s.onPath = "onPath", s))(Br || {}), Ur = /* @__PURE__ */ ((s) => (s.top = "top", s.bottom = "bottom", s.middle = "middle", s.justify = "justify", s))(Ur || {}), kr = /* @__PURE__ */ ((s) => (s.normal = "normal", s.screen = "screen", s.overlay = "overlay", s.darken = "darken", s.lighten = "lighten", s.colorDodge = "colorDodge", s.colorBurn = "colorBurn", s.hardLight = "hardLight", s.softLight = "softLight", s.difference = "difference", s.exclusion = "exclusion", s.multiply = "multiply", s.hue = "hue", s.saturation = "saturation", s.color = "color", s.luminosity = "luminosity", s))(kr || {}), _r = /* @__PURE__ */ ((s) => (s.fill = "fill", s.fit = "fit", s.smartCrop = "smartCrop", s.manualCrop = "manualCrop", s))(_r || {}), Hr = /* @__PURE__ */ ((s) => (s.topLeft = "topLeft", s.topCenter = "topCenter", s.topRight = "topRight", s.centerLeft = "centerLeft", s.center = "center", s.centerRight = "centerRight", s.bottomLeft = "bottomLeft", s.bottomCenter = "bottomCenter", s.bottomRight = "bottomRight", s))(Hr || {}), Tr = /* @__PURE__ */ ((s) => (s.bringToFront = "bringToFront", s.sendToBack = "sendToBack", s.bringForward = "bringForward", s.sendBackward = "sendBackward", s))(Tr || {}), $r = /* @__PURE__ */ ((s) => (s.relative = "relative", s.start = "start", s.end = "end", s.startAndEnd = "startAndEnd", s.center = "center", s))($r || {}), Kr = /* @__PURE__ */ ((s) => (s.page = "page", s.frame = "frame", s))(Kr || {}), zr = /* @__PURE__ */ ((s) => (s.start = "start", s.end = "end", s.center = "center", s))(zr || {});
1159
+ class jn {
1160
1160
  constructor() {
1161
1161
  this.type = "page";
1162
1162
  }
1163
1163
  }
1164
- class jn {
1164
+ class qn {
1165
1165
  constructor(o, t) {
1166
1166
  this.type = "frame", this.frameId = o, this.edge = t;
1167
1167
  }
1168
1168
  }
1169
- var Es = /* @__PURE__ */ ((s) => (s.frameCrop = "frameCrop", s.assetCrop = "assetCrop", s))(Es || {}), G;
1169
+ var Os = /* @__PURE__ */ ((s) => (s.frameCrop = "frameCrop", s.assetCrop = "assetCrop", s))(Os || {}), G;
1170
1170
  class Ze {
1171
1171
  /**
1172
1172
  * @ignore
@@ -1183,7 +1183,7 @@ class Ze {
1183
1183
  }
1184
1184
  }
1185
1185
  G = new WeakMap();
1186
- var ot, At;
1186
+ var ot, Pt;
1187
1187
  class Qe {
1188
1188
  /**
1189
1189
  * @ignore
@@ -1193,14 +1193,14 @@ class Qe {
1193
1193
  * @ignore
1194
1194
  */
1195
1195
  u(this, ot);
1196
- u(this, At);
1197
- this.query = async (t, e, r = {}) => (await a(this, ot)).fontConnectorQuery(t, JSON.stringify(e), JSON.stringify(r)).then((c) => i(c)), this.detail = async (t, e, r = {}) => (await a(this, ot)).fontConnectorDetail(t, e, JSON.stringify(r)).then((c) => i(c)), this.download = async (t, e, r = {}) => (await a(this, At)).fontConnectorDownload(t, e, JSON.stringify(r)).then((c) => c ?? c), this.preview = async (t, e, r, n = {}) => (await a(this, At)).fontConnectorPreview(t, e, r, JSON.stringify(n)).then((h) => h ?? h), this.getConfigurationOptions = async (t) => (await a(this, ot)).fontConnectorGetConfigurationOptions(t).then((r) => i(r)), this.getCapabilities = async (t) => (await a(this, ot)).fontConnectorGetCapabilities(t).then((r) => i(r)), this.parseDeprecatedFontType = (t) => {
1196
+ u(this, Pt);
1197
+ this.query = async (t, e, r = {}) => (await a(this, ot)).fontConnectorQuery(t, JSON.stringify(e), JSON.stringify(r)).then((c) => i(c)), this.detail = async (t, e, r = {}) => (await a(this, ot)).fontConnectorDetail(t, e, JSON.stringify(r)).then((c) => i(c)), this.download = async (t, e, r = {}) => (await a(this, Pt)).fontConnectorDownload(t, e, JSON.stringify(r)).then((c) => c ?? c), this.preview = async (t, e, r, n = {}) => (await a(this, Pt)).fontConnectorPreview(t, e, r, JSON.stringify(n)).then((h) => h ?? h), this.getConfigurationOptions = async (t) => (await a(this, ot)).fontConnectorGetConfigurationOptions(t).then((r) => i(r)), this.getCapabilities = async (t) => (await a(this, ot)).fontConnectorGetCapabilities(t).then((r) => i(r)), this.parseDeprecatedFontType = (t) => {
1198
1198
  if (t === Bt.file) return Ut.file;
1199
1199
  if (t === Bt.collection) return Ut.collection;
1200
- }, g(this, ot, o), g(this, At, o);
1200
+ }, g(this, ot, o), g(this, Pt, o);
1201
1201
  }
1202
1202
  }
1203
- ot = new WeakMap(), At = new WeakMap();
1203
+ ot = new WeakMap(), Pt = new WeakMap();
1204
1204
  var F;
1205
1205
  class Xe {
1206
1206
  /**
@@ -1215,7 +1215,7 @@ class Xe {
1215
1215
  }
1216
1216
  }
1217
1217
  F = new WeakMap();
1218
- var Pt;
1218
+ var Ft;
1219
1219
  class le {
1220
1220
  /**
1221
1221
  * @ignore
@@ -1224,8 +1224,8 @@ class le {
1224
1224
  /**
1225
1225
  * @ignore
1226
1226
  */
1227
- u(this, Pt);
1228
- this.setShapeProperties = async (t, e) => (await a(this, Pt)).setShapeProperties(t, JSON.stringify(e)).then((n) => i(n)), this.setEnableFill = async (t, e) => {
1227
+ u(this, Ft);
1228
+ this.setShapeProperties = async (t, e) => (await a(this, Ft)).setShapeProperties(t, JSON.stringify(e)).then((n) => i(n)), this.setEnableFill = async (t, e) => {
1229
1229
  const r = { enableFill: e };
1230
1230
  return this.setShapeProperties(t, r);
1231
1231
  }, this.setFillColor = async (t, e) => {
@@ -1243,7 +1243,7 @@ class le {
1243
1243
  }, this.setFlagAllCornersSame = async (t, e) => {
1244
1244
  const r = { allCornersSame: e };
1245
1245
  return this.setShapeProperties(t, r);
1246
- }, this.setShapeCorners = async (t, e) => (await a(this, Pt)).setShapeCorners(t, JSON.stringify(e)).then((n) => i(n)), this.setRadiusAll = async (t, e) => {
1246
+ }, this.setShapeCorners = async (t, e) => (await a(this, Ft)).setShapeCorners(t, JSON.stringify(e)).then((n) => i(n)), this.setRadiusAll = async (t, e) => {
1247
1247
  const r = { radiusAll: e };
1248
1248
  return this.setShapeCorners(t, r);
1249
1249
  }, this.setRadiusTopLeft = async (t, e) => {
@@ -1258,10 +1258,10 @@ class le {
1258
1258
  }, this.setRadiusBottomRight = async (t, e) => {
1259
1259
  const r = { bottomRight: e };
1260
1260
  return this.setShapeCorners(t, r);
1261
- }, g(this, Pt, o);
1261
+ }, g(this, Ft, o);
1262
1262
  }
1263
1263
  }
1264
- Pt = new WeakMap();
1264
+ Ft = new WeakMap();
1265
1265
  var l;
1266
1266
  class ts {
1267
1267
  /**
@@ -1290,7 +1290,7 @@ class ts {
1290
1290
  status: 0,
1291
1291
  error: "setFrameConstrainProportions is not supported anymore",
1292
1292
  parsedData: null
1293
- })), this.setVerticalAlign = async (t, e) => (await a(this, l)).setVerticalAlignment(t, e).then((n) => i(n)), this.setNumberOfColumns = async (t, e) => (await a(this, l)).setNumberOfColumns(t, e).then((n) => i(n)), this.setColumnGap = async (t, e) => (await a(this, l)).setColumnGap(t, e).then((n) => i(n)), this.setMinCopyfitting = async (t, e) => (await a(this, l)).setMinCopyfitting(t, e).then((n) => i(n)), this.setMaxCopyfitting = async (t, e) => (await a(this, l)).setMaxCopyfitting(t, e).then((n) => i(n)), this.setEnableCopyfitting = async (t, e) => (await a(this, l)).setEnableCopyfitting(t, e).then((n) => i(n)), this.resetMinCopyfitting = async (t) => (await a(this, l)).resetMinCopyfitting(t).then((r) => i(r)), this.resetMaxCopyfitting = async (t) => (await a(this, l)).resetMaxCopyfitting(t).then((r) => i(r)), this.resetEnableCopyfitting = async (t) => (await a(this, l)).resetEnableCopyfitting(t).then((r) => i(r)), this.setShapeFrameEnableFill = async (t, e) => this.shapeController.setEnableFill(t, e), this.setShapeFrameFillColor = async (t, e) => this.shapeController.setFillColor(t, e), this.setShapeFrameEnableStroke = async (t, e) => this.shapeController.setEnableStroke(t, e), this.setShapeFrameStrokeColor = async (t, e) => this.shapeController.setStrokeColor(t, e), this.setShapeFrameStrokeWeight = async (t, e) => this.shapeController.setStrokeWeight(t, e), this.setBlendMode = async (t, e) => (await a(this, l)).setFrameBlendMode(t, e).then((n) => i(n)), this.enterCropMode = async (t, e = Es.frameCrop) => (await a(this, l)).enterCropMode(t, e).then((n) => i(n)), this.applyCropMode = async () => (await a(this, l)).applyCropMode().then((e) => i(e)), this.exitCropMode = async () => (await a(this, l)).cancelCropMode().then((e) => i(e)), this.enterSubjectMode = async (t) => (await a(this, l)).enterSubjectMode(t).then((r) => i(r)), this.applySubjectMode = async () => (await a(this, l)).applySubjectMode().then((e) => i(e)), this.exitSubjectMode = async () => (await a(this, l)).cancelSubjectMode().then((e) => i(e)), this.enterGradientMode = async (t) => (await a(this, l)).enterGradientMode(t).then((r) => i(r)), this.applyGradientMode = async () => (await a(this, l)).applyGradientMode().then((e) => i(e)), this.cancelGradientMode = async () => (await a(this, l)).cancelGradientMode().then((e) => i(e)), this.resetCropMode = async (t) => (console.error("resetCropMode is not supported anymore"), i({
1293
+ })), this.setVerticalAlign = async (t, e) => (await a(this, l)).setVerticalAlignment(t, e).then((n) => i(n)), this.setNumberOfColumns = async (t, e) => (await a(this, l)).setNumberOfColumns(t, e).then((n) => i(n)), this.setColumnGap = async (t, e) => (await a(this, l)).setColumnGap(t, e).then((n) => i(n)), this.setMinCopyfitting = async (t, e) => (await a(this, l)).setMinCopyfitting(t, e).then((n) => i(n)), this.setMaxCopyfitting = async (t, e) => (await a(this, l)).setMaxCopyfitting(t, e).then((n) => i(n)), this.setEnableCopyfitting = async (t, e) => (await a(this, l)).setEnableCopyfitting(t, e).then((n) => i(n)), this.resetMinCopyfitting = async (t) => (await a(this, l)).resetMinCopyfitting(t).then((r) => i(r)), this.resetMaxCopyfitting = async (t) => (await a(this, l)).resetMaxCopyfitting(t).then((r) => i(r)), this.resetEnableCopyfitting = async (t) => (await a(this, l)).resetEnableCopyfitting(t).then((r) => i(r)), this.setShapeFrameEnableFill = async (t, e) => this.shapeController.setEnableFill(t, e), this.setShapeFrameFillColor = async (t, e) => this.shapeController.setFillColor(t, e), this.setShapeFrameEnableStroke = async (t, e) => this.shapeController.setEnableStroke(t, e), this.setShapeFrameStrokeColor = async (t, e) => this.shapeController.setStrokeColor(t, e), this.setShapeFrameStrokeWeight = async (t, e) => this.shapeController.setStrokeWeight(t, e), this.setBlendMode = async (t, e) => (await a(this, l)).setFrameBlendMode(t, e).then((n) => i(n)), this.enterCropMode = async (t, e = Os.frameCrop) => (await a(this, l)).enterCropMode(t, e).then((n) => i(n)), this.applyCropMode = async () => (await a(this, l)).applyCropMode().then((e) => i(e)), this.exitCropMode = async () => (await a(this, l)).cancelCropMode().then((e) => i(e)), this.enterSubjectMode = async (t) => (await a(this, l)).enterSubjectMode(t).then((r) => i(r)), this.applySubjectMode = async () => (await a(this, l)).applySubjectMode().then((e) => i(e)), this.exitSubjectMode = async () => (await a(this, l)).cancelSubjectMode().then((e) => i(e)), this.enterGradientMode = async (t) => (await a(this, l)).enterGradientMode(t).then((r) => i(r)), this.applyGradientMode = async () => (await a(this, l)).applyGradientMode().then((e) => i(e)), this.cancelGradientMode = async () => (await a(this, l)).cancelGradientMode().then((e) => i(e)), this.resetCropMode = async (t) => (console.error("resetCropMode is not supported anymore"), i({
1294
1294
  success: !1,
1295
1295
  status: 0,
1296
1296
  error: "resetCropMode is not supported anymore",
@@ -1380,12 +1380,12 @@ class ts {
1380
1380
  }, this.setBrandKitGradient = async (t, e) => {
1381
1381
  const r = { id: e };
1382
1382
  return (await a(this, l)).updateFrameGradientSettings(t, JSON.stringify(r)).then((c) => i(c));
1383
- }, g(this, l, o), this.shapeController = new le(a(this, l)), this.constraints = new zr(a(this, l));
1383
+ }, g(this, l, o), this.shapeController = new le(a(this, l)), this.constraints = new Wr(a(this, l));
1384
1384
  }
1385
1385
  }
1386
1386
  l = new WeakMap();
1387
1387
  var _;
1388
- class zr {
1388
+ class Wr {
1389
1389
  /**
1390
1390
  * @ignore
1391
1391
  */
@@ -1458,7 +1458,7 @@ class ss {
1458
1458
  }
1459
1459
  }
1460
1460
  m = new WeakMap(), $t = new WeakMap();
1461
- var de = /* @__PURE__ */ ((s) => (s.thumbnail = "thumbnail", s.mediumres = "mediumres", s.highres = "highres", s.original = "original", s))(de || {}), Os = /* @__PURE__ */ ((s) => (s.web = "web", s.print = "print", s.animation = "animation", s))(Os || {}), Y, Kt;
1461
+ var de = /* @__PURE__ */ ((s) => (s.thumbnail = "thumbnail", s.mediumres = "mediumres", s.highres = "highres", s.original = "original", s))(de || {}), Es = /* @__PURE__ */ ((s) => (s.web = "web", s.print = "print", s.animation = "animation", s))(Es || {}), Y, Kt;
1462
1462
  class rs {
1463
1463
  /**
1464
1464
  * @ignore
@@ -1477,7 +1477,7 @@ class rs {
1477
1477
  t,
1478
1478
  e,
1479
1479
  c,
1480
- Os.web,
1480
+ Es.web,
1481
1481
  JSON.stringify(n)
1482
1482
  ).then((d) => {
1483
1483
  if (d instanceof Uint8Array)
@@ -1507,7 +1507,7 @@ class rs {
1507
1507
  }
1508
1508
  }
1509
1509
  Y = new WeakMap(), Kt = new WeakMap();
1510
- var O, zt, ms;
1510
+ var E, zt, ms;
1511
1511
  let ns = (ms = class {
1512
1512
  /**
1513
1513
  * @ignore
@@ -1516,14 +1516,14 @@ let ns = (ms = class {
1516
1516
  /**
1517
1517
  * @ignore
1518
1518
  */
1519
- u(this, O);
1519
+ u(this, E);
1520
1520
  /**
1521
1521
  * @ignore
1522
1522
  */
1523
1523
  u(this, zt);
1524
- this.add = async () => (await a(this, O)).addPage().then((e) => i(e)), this.remove = async (t) => (await a(this, O)).removePage(t).then((r) => i(r)), this.select = async (t) => (await a(this, O)).selectPage(t).then((r) => i(r)), this.setVisibility = async (t, e) => (await a(this, O)).setPageIsVisible(t, e).then((n) => i(n)), this.duplicate = async (t) => (await a(this, O)).duplicatePage(t).then((r) => i(r)), this.getAll = async () => (await a(this, O)).getPages().then((e) => i(e)), this.getById = async (t) => (await a(this, O)).getPageById(t).then((r) => i(r)), this.getSnapshot = async (t, e) => (await a(this, zt)).getPageSnapshotWithSettings(t, e == null ? null : JSON.stringify(e)).then((n) => n ?? n), this.setWidth = async (t, e) => (t !== void 0 && console.warn("pageId has no effect since all pages are being updated simultaneously."), (await a(this, O)).setPageWidth(e).then((n) => i(n))), this.setHeight = async (t, e) => (t !== void 0 && console.warn("pageId has no effect since all pages are being updated simultaneously."), (await a(this, O)).setPageHeight(e).then((n) => i(n))), this.setSize = async (t, e) => (await a(this, O)).setPageSize(t, e).then((n) => i(n)), this.move = async (t, e) => (await a(this, O)).reorderPages(t, e).then((n) => i(n)), g(this, O, o), g(this, zt, o);
1524
+ this.add = async () => (await a(this, E)).addPage().then((e) => i(e)), this.remove = async (t) => (await a(this, E)).removePage(t).then((r) => i(r)), this.select = async (t) => (await a(this, E)).selectPage(t).then((r) => i(r)), this.setVisibility = async (t, e) => (await a(this, E)).setPageIsVisible(t, e).then((n) => i(n)), this.duplicate = async (t) => (await a(this, E)).duplicatePage(t).then((r) => i(r)), this.getAll = async () => (await a(this, E)).getPages().then((e) => i(e)), this.getById = async (t) => (await a(this, E)).getPageById(t).then((r) => i(r)), this.getSnapshot = async (t, e) => (await a(this, zt)).getPageSnapshotWithSettings(t, e == null ? null : JSON.stringify(e)).then((n) => n ?? n), this.setWidth = async (t, e) => (t !== void 0 && console.warn("pageId has no effect since all pages are being updated simultaneously."), (await a(this, E)).setPageWidth(e).then((n) => i(n))), this.setHeight = async (t, e) => (t !== void 0 && console.warn("pageId has no effect since all pages are being updated simultaneously."), (await a(this, E)).setPageHeight(e).then((n) => i(n))), this.setSize = async (t, e) => (await a(this, E)).setPageSize(t, e).then((n) => i(n)), this.move = async (t, e) => (await a(this, E)).reorderPages(t, e).then((n) => i(n)), g(this, E, o), g(this, zt, o);
1525
1525
  }
1526
- }, O = new WeakMap(), zt = new WeakMap(), ms);
1526
+ }, E = new WeakMap(), zt = new WeakMap(), ms);
1527
1527
  var B;
1528
1528
  class as {
1529
1529
  /**
@@ -1539,18 +1539,18 @@ class as {
1539
1539
  }
1540
1540
  B = new WeakMap();
1541
1541
  var x = /* @__PURE__ */ ((s) => (s.info = "info", s.warn = "warn", s.error = "error", s))(x || {}), Ls = /* @__PURE__ */ ((s) => (s.general = "general", s.connector = "connector", s.event = "event", s.engine = "engine", s))(Ls || {}), kt = /* @__PURE__ */ ((s) => (s.throw = "throw", s.log = "log", s))(kt || {});
1542
- class Wr {
1542
+ class jr {
1543
1543
  constructor(o, t, e, r) {
1544
1544
  this.type = "action", this.message = o, this.id = t, this.event = e, this.eventChain = r;
1545
1545
  }
1546
1546
  }
1547
- class jr {
1547
+ class qr {
1548
1548
  constructor(o, t, e) {
1549
1549
  this.type = "dataRow", this.count = o, this.message = t, this.exceptions = e;
1550
1550
  }
1551
1551
  }
1552
- var pe = /* @__PURE__ */ ((s) => (s.shortText = "shortText", s.longText = "longText", s.image = "image", s.list = "list", s.boolean = "boolean", s.group = "group", s.number = "number", s.date = "date", s))(pe || {}), qr = /* @__PURE__ */ ((s) => (s.Monday = "monday", s.Tuesday = "tuesday", s.Wednesday = "wednesday", s.Thursday = "thursday", s.Friday = "friday", s.Saturday = "saturday", s.Sunday = "sunday", s))(qr || {}), Yr = /* @__PURE__ */ ((s) => (s.en_US = "en_US", s.cs = "cs", s.da = "da", s.nl = "nl", s.fi = "fi", s.fr = "fr", s.de = "de", s.it = "it", s.no = "no", s.pl = "pl", s.pt_PT = "pt_PT", s.es_ES = "es_ES", s.sv = "sv", s))(Yr || {}), Jt = /* @__PURE__ */ ((s) => (s.visible = "visible", s.invisible = "invisible", s.conditional = "conditional", s))(Jt || {}), Zr = /* @__PURE__ */ ((s) => (s.boolean = "boolean", s.text = "text", s.number = "number", s))(Zr || {}), Qr = /* @__PURE__ */ ((s) => (s.equals = "=", s.notEquals = "!=", s.greaterThan = ">", s.greaterThanOrEquals = ">=", s.lessThan = "<", s.lessThanOrEquals = "<=", s))(Qr || {});
1553
- let Xr = class {
1552
+ var pe = /* @__PURE__ */ ((s) => (s.shortText = "shortText", s.longText = "longText", s.image = "image", s.list = "list", s.boolean = "boolean", s.group = "group", s.number = "number", s.date = "date", s))(pe || {}), Yr = /* @__PURE__ */ ((s) => (s.Monday = "monday", s.Tuesday = "tuesday", s.Wednesday = "wednesday", s.Thursday = "thursday", s.Friday = "friday", s.Saturday = "saturday", s.Sunday = "sunday", s))(Yr || {}), Zr = /* @__PURE__ */ ((s) => (s.en_US = "en_US", s.cs = "cs", s.da = "da", s.nl = "nl", s.fi = "fi", s.fr = "fr", s.de = "de", s.it = "it", s.no = "no", s.pl = "pl", s.pt_PT = "pt_PT", s.es_ES = "es_ES", s.sv = "sv", s))(Zr || {}), Jt = /* @__PURE__ */ ((s) => (s.visible = "visible", s.invisible = "invisible", s.conditional = "conditional", s))(Jt || {}), Qr = /* @__PURE__ */ ((s) => (s.boolean = "boolean", s.text = "text", s.number = "number", s))(Qr || {}), Xr = /* @__PURE__ */ ((s) => (s.equals = "=", s.notEquals = "!=", s.greaterThan = ">", s.greaterThanOrEquals = ">=", s.lessThan = "<", s.lessThanOrEquals = "<=", s))(Xr || {});
1553
+ let tn = class {
1554
1554
  /**
1555
1555
  * @ignore
1556
1556
  */
@@ -1651,14 +1651,14 @@ let Xr = class {
1651
1651
  }, this.onAsyncError = (e) => {
1652
1652
  const r = JSON.parse(e);
1653
1653
  if ((r == null ? void 0 : r.type) === "dataRow") {
1654
- const n = new jr(
1654
+ const n = new qr(
1655
1655
  r.count,
1656
1656
  r.message,
1657
1657
  r.exceptions
1658
1658
  );
1659
1659
  this.config.events.onAsyncError.trigger(n);
1660
1660
  } else if ((r == null ? void 0 : r.type) === "action") {
1661
- const n = new Wr(
1661
+ const n = new jr(
1662
1662
  r.message,
1663
1663
  r.id,
1664
1664
  r.event,
@@ -1682,7 +1682,7 @@ let Xr = class {
1682
1682
  }, this.config = o, this.localConfig = t;
1683
1683
  }
1684
1684
  };
1685
- var wt;
1685
+ var Ct;
1686
1686
  class is {
1687
1687
  /**
1688
1688
  * @ignore
@@ -1691,12 +1691,12 @@ class is {
1691
1691
  /**
1692
1692
  * @ignore
1693
1693
  */
1694
- u(this, wt);
1695
- this.set = async (t) => (await a(this, wt)).selectedTextStyleDeltaUpdate(JSON.stringify(t)).then((r) => i(r)), this.removeSelected = async () => (await a(this, wt)).selectedTextStyleClean().then((e) => i(e)), this.getSelected = async () => (await a(this, wt)).getSelectedTextStyle().then((e) => i(e)), g(this, wt, o);
1694
+ u(this, Ct);
1695
+ this.set = async (t) => (await a(this, Ct)).selectedTextStyleDeltaUpdate(JSON.stringify(t)).then((r) => i(r)), this.removeSelected = async () => (await a(this, Ct)).selectedTextStyleClean().then((e) => i(e)), this.getSelected = async () => (await a(this, Ct)).getSelectedTextStyle().then((e) => i(e)), g(this, Ct, o);
1696
1696
  }
1697
1697
  }
1698
- wt = new WeakMap();
1699
- var tn = /* @__PURE__ */ ((s) => (s.FRAME_X = "frameX", s.FRAME_Y = "frameY", s.WIDTH = "width", s.HEIGHT = "height", s.FRAME_ROTATION = "frameRotation", s))(tn || {}), en = /* @__PURE__ */ ((s) => (s.LAYOUT_HEIGHT = "layoutHeight", s.LAYOUT_WIDTH = "layoutWidth", s.BLEED_TOP = "bleedTop", s.BLEED_BOTTOM = "bleedBottom", s.BLEED_LEFT = "bleedLeft", s.BLEED_RIGHT = "bleedRight", s.BLEED_VALUES_COMBINED = "areBleedValuesCombined", s))(en || {}), K = /* @__PURE__ */ ((s) => (s.SELECT = "select", s.ZOOM = "zoom", s.HAND = "hand", s.IMAGE_FRAME = "imageFrame", s.TEXT_FRAME = "textFrame", s.SHAPE_RECT = "rect", s.SHAPE_ELLIPSE = "ellipse", s.SHAPE_POLYGON = "polygon", s))(K || {}), sn = /* @__PURE__ */ ((s) => (s.MP4 = "mp4", s.GIF = "gif", s.PNG = "png", s.JPG = "jpg", s.PDF = "pdf", s.HTML = "html", s))(sn || {}), ue = /* @__PURE__ */ ((s) => (s.SANDBOX = "sandbox", s.PRODUCTION = "online", s))(ue || {}), Ft;
1698
+ Ct = new WeakMap();
1699
+ var en = /* @__PURE__ */ ((s) => (s.FRAME_X = "frameX", s.FRAME_Y = "frameY", s.WIDTH = "width", s.HEIGHT = "height", s.FRAME_ROTATION = "frameRotation", s))(en || {}), sn = /* @__PURE__ */ ((s) => (s.LAYOUT_HEIGHT = "layoutHeight", s.LAYOUT_WIDTH = "layoutWidth", s.BLEED_TOP = "bleedTop", s.BLEED_BOTTOM = "bleedBottom", s.BLEED_LEFT = "bleedLeft", s.BLEED_RIGHT = "bleedRight", s.BLEED_VALUES_COMBINED = "areBleedValuesCombined", s))(sn || {}), K = /* @__PURE__ */ ((s) => (s.SELECT = "select", s.ZOOM = "zoom", s.HAND = "hand", s.IMAGE_FRAME = "imageFrame", s.TEXT_FRAME = "textFrame", s.SHAPE_RECT = "rect", s.SHAPE_ELLIPSE = "ellipse", s.SHAPE_POLYGON = "polygon", s))(K || {}), rn = /* @__PURE__ */ ((s) => (s.MP4 = "mp4", s.GIF = "gif", s.PNG = "png", s.JPG = "jpg", s.PDF = "pdf", s.HTML = "html", s))(rn || {}), ue = /* @__PURE__ */ ((s) => (s.SANDBOX = "sandbox", s.PRODUCTION = "online", s))(ue || {}), Ot;
1700
1700
  class os {
1701
1701
  /**
1702
1702
  * @ignore
@@ -1705,11 +1705,11 @@ class os {
1705
1705
  /**
1706
1706
  * @ignore
1707
1707
  */
1708
- u(this, Ft);
1709
- this.setTool = async (t) => (await a(this, Ft)).setTool(t).then((r) => i(r)), this.getSelected = async () => (await a(this, Ft)).getSelectedTool().then((e) => i(e)), this.setPointer = async () => this.setTool(K.SELECT), this.setSelect = async () => this.setTool(K.SELECT), this.setHand = async () => this.setTool(K.HAND), this.setZoom = async () => this.setTool(K.ZOOM), this.setTextFrame = async () => this.setTool(K.TEXT_FRAME), this.setImageFrame = async () => this.setTool(K.IMAGE_FRAME), this.setShapeRect = async () => this.setTool(K.SHAPE_RECT), this.setShapeEllipse = async () => this.setTool(K.SHAPE_ELLIPSE), this.setShapePolygon = async () => this.setTool(K.SHAPE_POLYGON), g(this, Ft, o);
1708
+ u(this, Ot);
1709
+ this.setTool = async (t) => (await a(this, Ot)).setTool(t).then((r) => i(r)), this.getSelected = async () => (await a(this, Ot)).getSelectedTool().then((e) => i(e)), this.setPointer = async () => this.setTool(K.SELECT), this.setSelect = async () => this.setTool(K.SELECT), this.setHand = async () => this.setTool(K.HAND), this.setZoom = async () => this.setTool(K.ZOOM), this.setTextFrame = async () => this.setTool(K.TEXT_FRAME), this.setImageFrame = async () => this.setTool(K.IMAGE_FRAME), this.setShapeRect = async () => this.setTool(K.SHAPE_RECT), this.setShapeEllipse = async () => this.setTool(K.SHAPE_ELLIPSE), this.setShapePolygon = async () => this.setTool(K.SHAPE_POLYGON), g(this, Ot, o);
1710
1710
  }
1711
1711
  }
1712
- Ft = new WeakMap();
1712
+ Ot = new WeakMap();
1713
1713
  var Z, H, Wt;
1714
1714
  class cs {
1715
1715
  /**
@@ -1757,12 +1757,12 @@ class cs {
1757
1757
  * @returns
1758
1758
  */
1759
1759
  abort: async () => a(this, H).abort()
1760
- }, g(this, Z, o), g(this, Wt, t), g(this, H, new rn(o));
1760
+ }, g(this, Z, o), g(this, Wt, t), g(this, H, new nn(o));
1761
1761
  }
1762
1762
  }
1763
1763
  Z = new WeakMap(), H = new WeakMap(), Wt = new WeakMap();
1764
1764
  var ct;
1765
- class rn {
1765
+ class nn {
1766
1766
  /**
1767
1767
  * @ignore
1768
1768
  */
@@ -1775,7 +1775,7 @@ class rn {
1775
1775
  }
1776
1776
  }
1777
1777
  ct = new WeakMap();
1778
- const nn = (s, o = 2) => {
1778
+ const an = (s, o = 2) => {
1779
1779
  const t = Math.pow(10, o);
1780
1780
  return Math.round(s * t) / t;
1781
1781
  };
@@ -1791,7 +1791,7 @@ class hs {
1791
1791
  u(this, jt);
1792
1792
  u(this, Et);
1793
1793
  this.round = (e, r) => i({
1794
- data: String(nn(e, r)),
1794
+ data: String(an(e, r)),
1795
1795
  success: !0,
1796
1796
  status: 200,
1797
1797
  parsedData: null
@@ -1838,7 +1838,7 @@ class hs {
1838
1838
  }
1839
1839
  jt = new WeakMap(), Et = new WeakMap();
1840
1840
  var qt;
1841
- class an {
1841
+ class on {
1842
1842
  constructor(o) {
1843
1843
  u(this, qt);
1844
1844
  this.setMinimum = async (t, e) => {
@@ -1874,7 +1874,7 @@ class an {
1874
1874
  }
1875
1875
  qt = new WeakMap();
1876
1876
  var Yt;
1877
- class on {
1877
+ class cn {
1878
1878
  constructor(o) {
1879
1879
  u(this, Yt);
1880
1880
  this.setDisplayFormat = async (t, e) => {
@@ -1900,7 +1900,7 @@ class on {
1900
1900
  }
1901
1901
  }
1902
1902
  Yt = new WeakMap();
1903
- var w, Ot, Lt, fs;
1903
+ var w, Lt, Dt, fs;
1904
1904
  let ls = (fs = class {
1905
1905
  /**
1906
1906
  * @ignore
@@ -1910,8 +1910,8 @@ let ls = (fs = class {
1910
1910
  * @ignore
1911
1911
  */
1912
1912
  u(this, w);
1913
- u(this, Ot);
1914
1913
  u(this, Lt);
1914
+ u(this, Dt);
1915
1915
  this.getAll = async () => (await a(this, w)).getVariables().then((e) => i(e)).then((e) => {
1916
1916
  const r = e;
1917
1917
  return r.parsedData && (r.parsedData = this.makeVariablesBackwardsCompatible(r.parsedData)), r;
@@ -1921,7 +1921,7 @@ let ls = (fs = class {
1921
1921
  }), this.getByName = async (t) => (await a(this, w)).getVariableByName(t).then((r) => i(r)).then((r) => {
1922
1922
  const n = r;
1923
1923
  return n.parsedData && (n.parsedData = this.makeVariableBackwardsCompatible(n.parsedData)), n;
1924
- }), this.create = async (t, e) => (await a(this, w)).addVariable(t, e).then((n) => i(n)), this.remove = async (t) => (await a(this, w)).removeVariables(t).then((r) => i(r)), this.rename = async (t, e) => (await a(this, w)).setVariableName(t, e).then((n) => i(n)), this.setLabel = async (t, e) => (await a(this, w)).setVariableLabel(t, e).then((n) => i(n)), g(this, Ot, async (t, e) => (await a(this, w)).setVariablePlaceholder(t, e).then((n) => i(n))), this.setPlaceholder = async (t, e) => a(this, Ot).call(this, t, e), this.resetPlaceholder = async (t) => a(this, Ot).call(this, t, null), g(this, Lt, async (t, e) => (await a(this, w)).setVariableHelpText(t, e).then((n) => i(n))), this.setHelpText = async (t, e) => a(this, Lt).call(this, t, e), this.resetHelpText = async (t) => a(this, Lt).call(this, t, null), this.setType = async (t, e) => (await a(this, w)).setVariableType(t, e).then((n) => i(n)), this.setListVariable = async (t, e) => (await a(this, w)).setListVariableItems(
1924
+ }), this.create = async (t, e) => (await a(this, w)).addVariable(t, e).then((n) => i(n)), this.remove = async (t) => (await a(this, w)).removeVariables(t).then((r) => i(r)), this.rename = async (t, e) => (await a(this, w)).setVariableName(t, e).then((n) => i(n)), this.setLabel = async (t, e) => (await a(this, w)).setVariableLabel(t, e).then((n) => i(n)), g(this, Lt, async (t, e) => (await a(this, w)).setVariablePlaceholder(t, e).then((n) => i(n))), this.setPlaceholder = async (t, e) => a(this, Lt).call(this, t, e), this.resetPlaceholder = async (t) => a(this, Lt).call(this, t, null), g(this, Dt, async (t, e) => (await a(this, w)).setVariableHelpText(t, e).then((n) => i(n))), this.setHelpText = async (t, e) => a(this, Dt).call(this, t, e), this.resetHelpText = async (t) => a(this, Dt).call(this, t, null), this.setType = async (t, e) => (await a(this, w)).setVariableType(t, e).then((n) => i(n)), this.setListVariable = async (t, e) => (await a(this, w)).setListVariableItems(
1925
1925
  t,
1926
1926
  e.map((n) => JSON.stringify({ value: n }))
1927
1927
  ).then((n) => i(n)), this.setValue = async (t, e) => (await a(this, w)).setVariableValue(t, e).then((n) => i(n)), this.duplicate = async (t) => (await a(this, w)).duplicateVariable(t).then((r) => i(r)), this.groupVariables = async (t, e) => (await a(this, w)).groupVariables(t, e).then((n) => i(n)), this.ungroupVariables = async (t) => (await a(this, w)).ungroupVariable(t).then((r) => i(r)), this.move = async (t, e, r) => (await a(this, w)).moveVariable(e, r, t).then((c) => i(c)), this.moveVariables = async (t, e, r) => (await a(this, w)).moveVariables(e, r, t).then((c) => i(c)), this.setIsVisible = async (t, e) => {
@@ -1945,7 +1945,7 @@ let ls = (fs = class {
1945
1945
  }, this.setSuffixCharacterStyle = async (t, e) => {
1946
1946
  const r = { suffixCharacterStyleId: { value: e } };
1947
1947
  return this.applyPrefixSuffixDeltaUpdate(t, r);
1948
- }, this.setPrivateData = async (t, e) => (await a(this, w)).setVariablePrivateData(t, JSON.stringify(e)).then((n) => i(n)), this.getPrivateData = async (t) => (await a(this, w)).getVariablePrivateData(t).then((r) => i(r)), this.setAllowImageQuery = async (t, e) => (await a(this, w)).setImageVariableAllowQuery(t, e).then((n) => i(n)), this.setAllowImageUpload = async (t, e) => (await a(this, w)).setImageVariableAllowUpload(t, e).then((n) => i(n)), this.setMinImageUploadSize = async (t, e, r) => (await a(this, w)).setImageVariableUploadMinSize(t, e, r).then((c) => i(c)), this.setIsDontBreak = async (t, e) => (await a(this, w)).setVariableIsDontBreak(t, e).then((n) => i(n)), g(this, w, o), this.number = new an(a(this, w)), this.date = new on(a(this, w));
1948
+ }, this.setPrivateData = async (t, e) => (await a(this, w)).setVariablePrivateData(t, JSON.stringify(e)).then((n) => i(n)), this.getPrivateData = async (t) => (await a(this, w)).getVariablePrivateData(t).then((r) => i(r)), this.setAllowImageQuery = async (t, e) => (await a(this, w)).setImageVariableAllowQuery(t, e).then((n) => i(n)), this.setAllowImageUpload = async (t, e) => (await a(this, w)).setImageVariableAllowUpload(t, e).then((n) => i(n)), this.setMinImageUploadSize = async (t, e, r) => (await a(this, w)).setImageVariableUploadMinSize(t, e, r).then((c) => i(c)), this.setIsDontBreak = async (t, e) => (await a(this, w)).setVariableIsDontBreak(t, e).then((n) => i(n)), this.highlightUsages = async (t) => (await a(this, w)).highlightVariableUsages(t).then((r) => i(r)), g(this, w, o), this.number = new on(a(this, w)), this.date = new cn(a(this, w));
1949
1949
  }
1950
1950
  makeVariablesBackwardsCompatible(o) {
1951
1951
  return o.map((t) => this.makeVariableBackwardsCompatible(t));
@@ -1961,8 +1961,8 @@ let ls = (fs = class {
1961
1961
  const r = await (await a(this, w)).updateVariablePrefixSuffixProperties(o, JSON.stringify(t));
1962
1962
  return i(r);
1963
1963
  }
1964
- }, w = new WeakMap(), Ot = new WeakMap(), Lt = new WeakMap(), fs);
1965
- class cn {
1964
+ }, w = new WeakMap(), Lt = new WeakMap(), Dt = new WeakMap(), fs);
1965
+ class hn {
1966
1966
  /**
1967
1967
  * @ignore
1968
1968
  */
@@ -1979,7 +1979,7 @@ class cn {
1979
1979
  }
1980
1980
  }
1981
1981
  var ht;
1982
- class hn {
1982
+ class ln {
1983
1983
  /**
1984
1984
  * @ignore
1985
1985
  */
@@ -1991,12 +1991,12 @@ class hn {
1991
1991
  this.getAll = async () => (await a(this, ht)).getVariables().then((e) => i(e)), this.getById = async (t) => (await a(this, ht)).getVariableById(t).then((r) => i(r)), this.getByName = async (t) => (await a(this, ht)).getVariableByName(t).then((r) => i(r)), this.setListVariable = async (t, e) => (await a(this, ht)).setListVariableItems(
1992
1992
  t,
1993
1993
  e.map((n) => JSON.stringify(n))
1994
- ).then((n) => i(n)), g(this, ht, o), this.image = new ln(o);
1994
+ ).then((n) => i(n)), g(this, ht, o), this.image = new dn(o);
1995
1995
  }
1996
1996
  }
1997
1997
  ht = new WeakMap();
1998
1998
  var Q;
1999
- class ln {
1999
+ class dn {
2000
2000
  constructor(o) {
2001
2001
  u(this, Q);
2002
2002
  this.setAllowQuery = async (t, e) => (await a(this, Q)).setImageVariableAllowQuery(t, e).then((n) => i(n)), this.setAllowUpload = async (t, e) => (await a(this, Q)).setImageVariableAllowUpload(t, e).then((n) => i(n)), this.setMinUploadSize = async (t, e, r) => (await a(this, Q)).setImageVariableUploadMinSize(t, e, r).then((c) => i(c)), this.setConnector = async (t, e) => (await a(this, Q)).setImageVariableConnector(t, JSON.stringify(e)).then((n) => i(n)), this.setConnectorContext = async (t, e) => (await a(this, Q)).setImageVariableConnectorContext(t, JSON.stringify(e)).then((n) => i(n)), g(this, Q, o);
@@ -2004,7 +2004,7 @@ class ln {
2004
2004
  }
2005
2005
  Q = new WeakMap();
2006
2006
  var mt;
2007
- class dn {
2007
+ class un {
2008
2008
  /**
2009
2009
  * @ignore
2010
2010
  */
@@ -2017,8 +2017,8 @@ class dn {
2017
2017
  }
2018
2018
  }
2019
2019
  mt = new WeakMap();
2020
- var Dt, ee;
2021
- class un {
2020
+ var Nt, ee;
2021
+ class gn {
2022
2022
  /**
2023
2023
  * @ignore
2024
2024
  */
@@ -2026,15 +2026,15 @@ class un {
2026
2026
  /**
2027
2027
  * @ignore
2028
2028
  */
2029
- u(this, Dt);
2029
+ u(this, Nt);
2030
2030
  /**
2031
2031
  * @ignore
2032
2032
  */
2033
2033
  u(this, ee);
2034
- this.setWidth = async (t) => (await a(this, Dt)).setPageWidth(t).then((r) => i(r)), this.setHeight = async (t) => (await a(this, Dt)).setPageHeight(t).then((r) => i(r)), g(this, Dt, o), g(this, ee, o);
2034
+ this.setWidth = async (t) => (await a(this, Nt)).setPageWidth(t).then((r) => i(r)), this.setHeight = async (t) => (await a(this, Nt)).setPageHeight(t).then((r) => i(r)), g(this, Nt, o), g(this, ee, o);
2035
2035
  }
2036
2036
  }
2037
- Dt = new WeakMap(), ee = new WeakMap();
2037
+ Nt = new WeakMap(), ee = new WeakMap();
2038
2038
  class ds {
2039
2039
  /**
2040
2040
  * The next initiator is a split off on SDK level to tag next features
@@ -2042,7 +2042,7 @@ class ds {
2042
2042
  * @param config The configuration object where the SDK and editor can get configured
2043
2043
  */
2044
2044
  constructor(o, t, e) {
2045
- this.config = o, this.connection = t, this.editorAPI = e, this.subscriber = new cn(o), this.variable = new hn(this.editorAPI), this.connector = new dn(this.editorAPI), this.page = new un(this.editorAPI), this.canvas = new oe(this.editorAPI);
2045
+ this.config = o, this.connection = t, this.editorAPI = e, this.subscriber = new hn(o), this.variable = new ln(this.editorAPI), this.connector = new un(this.editorAPI), this.page = new gn(this.editorAPI), this.canvas = new oe(this.editorAPI);
2046
2046
  }
2047
2047
  }
2048
2048
  class Ds {
@@ -2116,7 +2116,7 @@ class C extends Ds {
2116
2116
  };
2117
2117
  }
2118
2118
  }
2119
- class Ce {
2119
+ class we {
2120
2120
  /**
2121
2121
  * Creates a runtime configuration object from the provided configuration object.
2122
2122
  *
@@ -2124,13 +2124,13 @@ class Ce {
2124
2124
  * @returns The runtime configuration object.
2125
2125
  */
2126
2126
  static createRuntimeConfig(o) {
2127
- var e, r, n, c, h, d, p, y, v, f, b, A, I, S, M, E, P, W, j, St, bt, we, me, fe, Se, be, ve, Ie, Ae, Pe, Fe, Ee, Oe, Le, De;
2127
+ var e, r, n, c, h, d, p, y, v, f, b, A, I, S, M, O, P, W, j, bt, vt, Ce, me, fe, Se, be, ve, Ie, Ae, Pe, Fe, Oe, Ee, Le, De;
2128
2128
  const t = { ...o };
2129
2129
  return t.logging = {
2130
2130
  logLevel: ((e = o.logging) == null ? void 0 : e.logLevel) || x.error,
2131
2131
  logger: ((r = o.logging) == null ? void 0 : r.logger) || ((xt, se, re) => {
2132
2132
  var Ne;
2133
- if (Ce.isLoggingEnabled(xt, ((Ne = t.logging) == null ? void 0 : Ne.logLevel) ?? x.error))
2133
+ if (we.isLoggingEnabled(xt, ((Ne = t.logging) == null ? void 0 : Ne.logLevel) ?? x.error))
2134
2134
  switch (xt) {
2135
2135
  case x.error:
2136
2136
  console.error(`[${se}] [${xt}] ${re}`);
@@ -2195,7 +2195,7 @@ class Ce {
2195
2195
  ),
2196
2196
  onVariableListChanged: new C(
2197
2197
  () => t.onVariableListChanged,
2198
- (E = t.logging) == null ? void 0 : E.logger
2198
+ (O = t.logging) == null ? void 0 : O.logger
2199
2199
  ),
2200
2200
  onSelectedToolChanged: new C(
2201
2201
  () => t.onSelectedToolChanged,
@@ -2211,15 +2211,15 @@ class Ce {
2211
2211
  ),
2212
2212
  onSelectedTextStyleChanged: new C(
2213
2213
  () => t.onSelectedTextStyleChanged,
2214
- (St = t.logging) == null ? void 0 : St.logger
2214
+ (bt = t.logging) == null ? void 0 : bt.logger
2215
2215
  ),
2216
2216
  onColorsChanged: new C(
2217
2217
  () => t.onColorsChanged,
2218
- (bt = t.logging) == null ? void 0 : bt.logger
2218
+ (vt = t.logging) == null ? void 0 : vt.logger
2219
2219
  ),
2220
2220
  onParagraphStylesChanged: new C(
2221
2221
  () => t.onParagraphStylesChanged,
2222
- (we = t.logging) == null ? void 0 : we.logger
2222
+ (Ce = t.logging) == null ? void 0 : Ce.logger
2223
2223
  ),
2224
2224
  onCharacterStylesChanged: new C(
2225
2225
  () => t.onCharacterStylesChanged,
@@ -2271,11 +2271,11 @@ class Ce {
2271
2271
  ),
2272
2272
  onCropActiveFrameIdChanged: new C(
2273
2273
  () => t.onCropActiveFrameIdChanged,
2274
- (Ee = t.logging) == null ? void 0 : Ee.logger
2274
+ (Oe = t.logging) == null ? void 0 : Oe.logger
2275
2275
  ),
2276
2276
  onAsyncError: new C(
2277
2277
  () => t.onAsyncError,
2278
- (Oe = t.logging) == null ? void 0 : Oe.logger
2278
+ (Ee = t.logging) == null ? void 0 : Ee.logger
2279
2279
  ),
2280
2280
  onViewModeChanged: new C(
2281
2281
  () => t.onViewModeChanged,
@@ -2308,7 +2308,7 @@ class Ce {
2308
2308
  return t == x.info || t == x.warn && (o == x.warn || o == x.error) ? !0 : t == x.error && o == x.error;
2309
2309
  }
2310
2310
  }
2311
- class gn {
2311
+ class yn {
2312
2312
  /**
2313
2313
  * Checks if the given value is a `DatePropertyWrapper`.
2314
2314
  *
@@ -2359,7 +2359,7 @@ class gn {
2359
2359
  }
2360
2360
  }
2361
2361
  var lt;
2362
- class yn {
2362
+ class pn {
2363
2363
  /**
2364
2364
  * @ignore
2365
2365
  */
@@ -2402,8 +2402,8 @@ class yn {
2402
2402
  }
2403
2403
  }
2404
2404
  lt = new WeakMap();
2405
- var Nt;
2406
- class gs extends yn {
2405
+ var Mt;
2406
+ class gs extends pn {
2407
2407
  /**
2408
2408
  * @ignore
2409
2409
  */
@@ -2412,8 +2412,8 @@ class gs extends yn {
2412
2412
  /**
2413
2413
  * @ignore
2414
2414
  */
2415
- u(this, Nt);
2416
- g(this, Nt, e);
2415
+ u(this, Mt);
2416
+ g(this, Mt, e);
2417
2417
  }
2418
2418
  /**
2419
2419
  * This method returns the value for a given configuration key. If a value was not found in the configuration store,
@@ -2421,7 +2421,7 @@ class gs extends yn {
2421
2421
  * @returns value for a given configuration key
2422
2422
  */
2423
2423
  async getValue(t) {
2424
- const e = a(this, Nt).get(t);
2424
+ const e = a(this, Mt).get(t);
2425
2425
  return e != null ? i(
2426
2426
  {
2427
2427
  status: 200,
@@ -2440,10 +2440,10 @@ class gs extends yn {
2440
2440
  */
2441
2441
  async setValue(t, e) {
2442
2442
  const r = super.setValue(t, e);
2443
- return a(this, Nt).set(t, e), r;
2443
+ return a(this, Mt).set(t, e), r;
2444
2444
  }
2445
2445
  }
2446
- Nt = new WeakMap();
2446
+ Mt = new WeakMap();
2447
2447
  var U;
2448
2448
  class ys {
2449
2449
  /**
@@ -2480,8 +2480,8 @@ class ps {
2480
2480
  }
2481
2481
  }
2482
2482
  ft = new WeakMap(), Zt = new WeakMap();
2483
- var Mt;
2484
- class Cs {
2483
+ var St;
2484
+ class ws {
2485
2485
  /**
2486
2486
  * @ignore
2487
2487
  */
@@ -2489,20 +2489,20 @@ class Cs {
2489
2489
  /**
2490
2490
  * @ignore
2491
2491
  */
2492
- u(this, Mt);
2493
- this.linkVariable = async (t, e, r) => (await a(this, Mt)).linkComponentVariable(t, e, r, null).then((c) => i(c)), this.getComponentVariables = async (t) => (await a(this, Mt)).getComponentVariables(t).then((r) => i(r)), g(this, Mt, o);
2492
+ u(this, St);
2493
+ this.linkVariable = async (t, e, r) => (await a(this, St)).linkComponentVariable(t, e, r, null).then((c) => i(c)), this.getComponentVariables = async (t) => (await a(this, St)).getComponentVariables(t).then((r) => i(r)), this.setFitMode = async (t, e) => (await a(this, St)).setComponentLayoutFit(t, e).then((n) => i(n)), g(this, St, o);
2494
2494
  }
2495
2495
  }
2496
- Mt = new WeakMap();
2497
- const pn = "studio-cdn.chiligrafx.com", Cn = `https://${pn}/editor/${Ss.current}/web`;
2496
+ St = new WeakMap();
2497
+ const wn = "studio-cdn.chiligrafx.com", Cn = `https://${wn}/editor/${Ss.current}/web`;
2498
2498
  let et;
2499
- class Qn {
2499
+ class Xn {
2500
2500
  /**
2501
2501
  * The SDK should be configured clientside and it exposes all controllers to work with in other applications
2502
2502
  * @param config The configuration object where the SDK and editor can get configured
2503
2503
  */
2504
2504
  constructor(o) {
2505
- this.localConfig = /* @__PURE__ */ new Map(), this.dataItemMappingTools = new gn(), this.loadEditor = () => {
2505
+ this.localConfig = /* @__PURE__ */ new Map(), this.dataItemMappingTools = new yn(), this.loadEditor = () => {
2506
2506
  var t;
2507
2507
  nr(
2508
2508
  this.config.editorLink || Cn,
@@ -2565,7 +2565,7 @@ class Qn {
2565
2565
  var r, n;
2566
2566
  (n = (r = this.config).onConnectionError) == null || n.call(r, e);
2567
2567
  }
2568
- ), this.editorAPI = et == null ? void 0 : et.promise.then((e) => e), this.action = new Ve(this.editorAPI), this.layout = new ss(this.editorAPI), this.frame = new ts(this.editorAPI), this.barcode = new Ge(this.editorAPI), this.component = new Cs(this.editorAPI), this.animation = new Je(this.editorAPI), this.document = new Ye(this.editorAPI), this.configuration = new gs(this.editorAPI, this.localConfig), this.utils = new hs(this.editorAPI, this.localConfig), this.tool = new os(this.editorAPI), this.page = new ns(this.editorAPI), this.debug = new qe(this.editorAPI), this.undoManager = new cs(this.editorAPI, this), this.textSelection = new is(this.editorAPI), this.colorStyle = new Ke(this.editorAPI), this.gradientStyle = new ys(this.editorAPI), this.paragraphStyle = new as(this.editorAPI), this.characterStyle = new He(this.editorAPI), this.mediaConnector = new rs(this.editorAPI), this.fontConnector = new Qe(this.editorAPI), this.componentConnector = new ps(this.editorAPI), this.dataConnector = new We(this.editorAPI, this.dataItemMappingTools), this.dataSource = new je(this.editorAPI, this.dataItemMappingTools), this.connector = new ze(this.editorAPI, this.localConfig), this.variable = new ls(this.editorAPI), this.font = new Xe(this.editorAPI), this.experiment = new Ze(this.editorAPI), this.canvas = new oe(this.editorAPI), this.shape = new le(this.editorAPI), this.colorConversion = new $e(this.editorAPI), this.info = new es(), this.clipboard = new Te(this.editorAPI), this.brandKit = new _e(this.editorAPI, this), this.next = new ds(this.config, this.connection, this.editorAPI), this.configuration.setValue(tt.GraFxStudioSdkVersion, bs.version), this.configuration.setValue(
2568
+ ), this.editorAPI = et == null ? void 0 : et.promise.then((e) => e), this.action = new Ve(this.editorAPI), this.layout = new ss(this.editorAPI), this.frame = new ts(this.editorAPI), this.barcode = new Ge(this.editorAPI), this.component = new ws(this.editorAPI), this.animation = new Je(this.editorAPI), this.document = new Ye(this.editorAPI), this.configuration = new gs(this.editorAPI, this.localConfig), this.utils = new hs(this.editorAPI, this.localConfig), this.tool = new os(this.editorAPI), this.page = new ns(this.editorAPI), this.debug = new qe(this.editorAPI), this.undoManager = new cs(this.editorAPI, this), this.textSelection = new is(this.editorAPI), this.colorStyle = new Ke(this.editorAPI), this.gradientStyle = new ys(this.editorAPI), this.paragraphStyle = new as(this.editorAPI), this.characterStyle = new He(this.editorAPI), this.mediaConnector = new rs(this.editorAPI), this.fontConnector = new Qe(this.editorAPI), this.componentConnector = new ps(this.editorAPI), this.dataConnector = new We(this.editorAPI, this.dataItemMappingTools), this.dataSource = new je(this.editorAPI, this.dataItemMappingTools), this.connector = new ze(this.editorAPI, this.localConfig), this.variable = new ls(this.editorAPI), this.font = new Xe(this.editorAPI), this.experiment = new Ze(this.editorAPI), this.canvas = new oe(this.editorAPI), this.shape = new le(this.editorAPI), this.colorConversion = new $e(this.editorAPI), this.info = new es(), this.clipboard = new Te(this.editorAPI), this.brandKit = new _e(this.editorAPI, this), this.next = new ds(this.config, this.connection, this.editorAPI), this.configuration.setValue(tt.GraFxStudioSdkVersion, bs.version), this.configuration.setValue(
2569
2569
  tt.GraFxStudioDocumentType,
2570
2570
  this.config.documentType || Ps.template
2571
2571
  ), this.configuration.updateStudioOptions(this.config.studioOptions || ir), this.configuration.setValue(
@@ -2574,110 +2574,111 @@ class Qn {
2574
2574
  );
2575
2575
  }, this.setConnection = (t) => {
2576
2576
  et = t;
2577
- }, this.config = Ce.createRuntimeConfig(o), this.connection = et, this.editorAPI = et == null ? void 0 : et.promise.then((t) => t), this.action = new Ve(this.editorAPI), this.layout = new ss(this.editorAPI), this.frame = new ts(this.editorAPI), this.shape = new le(this.editorAPI), this.barcode = new Ge(this.editorAPI), this.component = new Cs(this.editorAPI), this.undoManager = new cs(this.editorAPI, this), this.connector = new ze(this.editorAPI, this.localConfig), this.mediaConnector = new rs(this.editorAPI), this.fontConnector = new Qe(this.editorAPI), this.componentConnector = new ps(this.editorAPI), this.dataConnector = new We(this.editorAPI, this.dataItemMappingTools), this.dataSource = new je(this.editorAPI, this.dataItemMappingTools), this.animation = new Je(this.editorAPI), this.document = new Ye(this.editorAPI), this.configuration = new gs(this.editorAPI, this.localConfig), this.variable = new ls(this.editorAPI), this.utils = new hs(this.editorAPI, this.localConfig), this.subscriber = new Xr(this.config, this.localConfig), this.tool = new os(this.editorAPI), this.page = new ns(this.editorAPI), this.debug = new qe(this.editorAPI), this.textSelection = new is(this.editorAPI), this.colorStyle = new Ke(this.editorAPI), this.gradientStyle = new ys(this.editorAPI), this.paragraphStyle = new as(this.editorAPI), this.characterStyle = new He(this.editorAPI), this.font = new Xe(this.editorAPI), this.experiment = new Ze(this.editorAPI), this.canvas = new oe(this.editorAPI), this.colorConversion = new $e(this.editorAPI), this.info = new es(), this.clipboard = new Te(this.editorAPI), this.next = new ds(this.config, this.connection, this.editorAPI), this.enabledNextSubscribers = this.config.enableNextSubscribers, this.brandKit = new _e(this.editorAPI, this);
2577
+ }, this.config = we.createRuntimeConfig(o), this.connection = et, this.editorAPI = et == null ? void 0 : et.promise.then((t) => t), this.action = new Ve(this.editorAPI), this.layout = new ss(this.editorAPI), this.frame = new ts(this.editorAPI), this.shape = new le(this.editorAPI), this.barcode = new Ge(this.editorAPI), this.component = new ws(this.editorAPI), this.undoManager = new cs(this.editorAPI, this), this.connector = new ze(this.editorAPI, this.localConfig), this.mediaConnector = new rs(this.editorAPI), this.fontConnector = new Qe(this.editorAPI), this.componentConnector = new ps(this.editorAPI), this.dataConnector = new We(this.editorAPI, this.dataItemMappingTools), this.dataSource = new je(this.editorAPI, this.dataItemMappingTools), this.animation = new Je(this.editorAPI), this.document = new Ye(this.editorAPI), this.configuration = new gs(this.editorAPI, this.localConfig), this.variable = new ls(this.editorAPI), this.utils = new hs(this.editorAPI, this.localConfig), this.subscriber = new tn(this.config, this.localConfig), this.tool = new os(this.editorAPI), this.page = new ns(this.editorAPI), this.debug = new qe(this.editorAPI), this.textSelection = new is(this.editorAPI), this.colorStyle = new Ke(this.editorAPI), this.gradientStyle = new ys(this.editorAPI), this.paragraphStyle = new as(this.editorAPI), this.characterStyle = new He(this.editorAPI), this.font = new Xe(this.editorAPI), this.experiment = new Ze(this.editorAPI), this.canvas = new oe(this.editorAPI), this.colorConversion = new $e(this.editorAPI), this.info = new es(), this.clipboard = new Te(this.editorAPI), this.next = new ds(this.config, this.connection, this.editorAPI), this.enabledNextSubscribers = this.config.enableNextSubscribers, this.brandKit = new _e(this.editorAPI, this);
2578
2578
  }
2579
2579
  }
2580
- var wn = /* @__PURE__ */ ((s) => (s.top = "top", s.left = "left", s.right = "right", s.bottom = "bottom", s.topLeft = "topLeft", s.topRight = "topRight", s.bottomLeft = "bottomLeft", s.bottomRight = "bottomRight", s))(wn || {}), mn = /* @__PURE__ */ ((s) => (s.horizontal = "horizontal", s.vertical = "vertical", s))(mn || {}), fn = /* @__PURE__ */ ((s) => (s.easeIn = "easeIn", s.easeOut = "easeOut", s.easeInOut = "easeInOut", s))(fn || {}), Sn = /* @__PURE__ */ ((s) => (s.quadratic = "Quadratic", s.cubic = "Cubic", s.quartic = "Quartic", s.quintic = "Quintic", s.sine = "Sine", s.exponential = "Exponential", s.circular = "Circular", s.elastic = "Elastic", s.bounce = "Bounce", s.back = "Back", s))(Sn || {}), bn = /* @__PURE__ */ ((s) => (s.bounce = "bounce", s.flash = "flash", s.headshake = "headShake", s.heartbeat = "heartbeat", s.pulse = "pulse", s.rubberBand = "rubberBand", s.vertical = "vertical", s.horizontal = "horizontal", s.swing = "swing", s.tada = "tada", s))(bn || {}), vn = /* @__PURE__ */ ((s) => (s.preview = "preview", s.normal = "normal", s))(vn || {}), In = /* @__PURE__ */ ((s) => (s.linear = "linear", s))(In || {}), An = /* @__PURE__ */ ((s) => (s.local = "linearLocal", s.linearBrandKit = "linearBrandKit", s))(An || {}), Pn = /* @__PURE__ */ ((s) => (s.Square = "square", s.Line = "line", s))(Pn || {}), Fn = /* @__PURE__ */ ((s) => (s.thumbnail = "thumbnail", s.highest = "highest", s.medium = "medium", s))(Fn || {}), En = /* @__PURE__ */ ((s) => (s.BOLD = "Bold", s.ITALIC = "Italic", s.REGULAR = "Regular", s))(En || {}), On = /* @__PURE__ */ ((s) => (s.LEFT = "left", s.CENTER = "center", s.RIGHT = "right", s.JUSTIFY = "justify", s))(On || {}), Ln = /* @__PURE__ */ ((s) => (s.TOP = "top", s.CENTER = "center", s.BOTTOM = "bottom", s))(Ln || {}), Dn = /* @__PURE__ */ ((s) => (s.TO_LOWER_CASE = "lowercase", s.TO_UPPER_CASE = "uppercase", s.NORMAL = "normal", s))(Dn || {}), Nn = /* @__PURE__ */ ((s) => (s.SUPERSCRIPT = "superscript", s.SUBSCRIPT = "subscript", s.NORMAL = "normal", s))(Nn || {}), Mn = /* @__PURE__ */ ((s) => (s.none = "none", s.bullet = "bullet", s.number = "number", s))(Mn || {}), xn = /* @__PURE__ */ ((s) => (s.STYLE = "textStyle", s.PROPERTIES = "textProperties", s.APPEARANCE = "appearance", s))(xn || {}), Rn = /* @__PURE__ */ ((s) => (s.PARAGRAPH = "paragraphStyleId", s.CHARACTER = "characterStyleId", s.FONT_FAMILY = "fontKey", s.FONT_STYLE = "fontStyle", s.FONT_SIZE = "fontSize", s.LETTER_SPACING = "letterSpacing", s.LINE_HEIGHT = "lineHeight", s.TEXT_ALIGN = "textAlign", s.VERTICAL_ALIGN = "verticalAlign", s.TYPOGRAPHIC_CASE = "typographicCase", s.SUB_SUPER_SCRIPT = "subSuperScript", s.UNDERLINE = "underline", s.LINE_THROUGH = "lineThrough", s.FILL_COLOR = "fillColor", s.COLOR = "color", s.FILL_COLOR_APPLIED = "fillColorApplied", s.STROKE_COLOR = "strokeColor", s.STROKE_COLOR_APPLIED = "strokeColorApplied", s.DROP_SHADOW_COLOR = "dropShadowColor", s.BLEND_MODE = "blendMode", s.OPACITY = "opacity", s.TRACKING_RIGHT = "trackingRight", s.BASELINE_SHIFT = "baselineShiftValue", s.STROKE_WIDTH = "strokeWidth", s.MARKED_LIST_TYPE = "markedListType", s.MARKED_LIST_GROUP = "markedListGroup", s.MARKED_LIST_LEVEL = "markedListLevel", s))(Rn || {}), Vn = /* @__PURE__ */ ((s) => (s.arabic = "arabic", s.romanUpperCase = "romanUpperCase", s.romanLowerCase = "romanLowerCase", s.latinUpperCase = "latinUpperCase", s.latinLowerCase = "latinLowerCase", s))(Vn || {}), Jn = /* @__PURE__ */ ((s) => (s.none = "none", s.dash = "dash", s.dot = "dot", s.colon = "colon", s.roundBracket = "roundBracket", s))(Jn || {}), Gn = /* @__PURE__ */ ((s) => (s.selectedLayoutChanged = "selectedLayoutChanged", s.frameMoved = "frameMoved", s.pageSizeChanged = "pageSizeChanged", s.documentLoaded = "documentLoaded", s.variableValueChanged = "variableValueChanged", s))(Gn || {}), Bn = /* @__PURE__ */ ((s) => (s.ellipse = "ellipse", s.rectangle = "rectangle", s.polygon = "polygon", s))(Bn || {}), Un = /* @__PURE__ */ ((s) => (s.all = "all", s.only = "only", s.none = "none", s))(Un || {}), kn = /* @__PURE__ */ ((s) => (s.normal = "normal", s.textEdit = "textEdit", s.customCrop = "customCrop", s.frameSubjectArea = "frameSubjectArea", s.perAssetCrop = "perAssetCrop", s.gradient = "gradient", s))(kn || {}), Ns = /* @__PURE__ */ ((s) => (s.url = "url", s.grafx = "grafx", s.local = "local", s))(Ns || {});
2581
- const Xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2580
+ var mn = /* @__PURE__ */ ((s) => (s.top = "top", s.left = "left", s.right = "right", s.bottom = "bottom", s.topLeft = "topLeft", s.topRight = "topRight", s.bottomLeft = "bottomLeft", s.bottomRight = "bottomRight", s))(mn || {}), fn = /* @__PURE__ */ ((s) => (s.horizontal = "horizontal", s.vertical = "vertical", s))(fn || {}), Sn = /* @__PURE__ */ ((s) => (s.easeIn = "easeIn", s.easeOut = "easeOut", s.easeInOut = "easeInOut", s))(Sn || {}), bn = /* @__PURE__ */ ((s) => (s.quadratic = "Quadratic", s.cubic = "Cubic", s.quartic = "Quartic", s.quintic = "Quintic", s.sine = "Sine", s.exponential = "Exponential", s.circular = "Circular", s.elastic = "Elastic", s.bounce = "Bounce", s.back = "Back", s))(bn || {}), vn = /* @__PURE__ */ ((s) => (s.bounce = "bounce", s.flash = "flash", s.headshake = "headShake", s.heartbeat = "heartbeat", s.pulse = "pulse", s.rubberBand = "rubberBand", s.vertical = "vertical", s.horizontal = "horizontal", s.swing = "swing", s.tada = "tada", s))(vn || {}), In = /* @__PURE__ */ ((s) => (s.preview = "preview", s.normal = "normal", s))(In || {}), An = /* @__PURE__ */ ((s) => (s.linear = "linear", s))(An || {}), Pn = /* @__PURE__ */ ((s) => (s.local = "linearLocal", s.linearBrandKit = "linearBrandKit", s))(Pn || {}), Fn = /* @__PURE__ */ ((s) => (s.Square = "square", s.Line = "line", s))(Fn || {}), On = /* @__PURE__ */ ((s) => (s.thumbnail = "thumbnail", s.highest = "highest", s.medium = "medium", s))(On || {}), En = /* @__PURE__ */ ((s) => (s.BOLD = "Bold", s.ITALIC = "Italic", s.REGULAR = "Regular", s))(En || {}), Ln = /* @__PURE__ */ ((s) => (s.LEFT = "left", s.CENTER = "center", s.RIGHT = "right", s.JUSTIFY = "justify", s))(Ln || {}), Dn = /* @__PURE__ */ ((s) => (s.TOP = "top", s.CENTER = "center", s.BOTTOM = "bottom", s))(Dn || {}), Nn = /* @__PURE__ */ ((s) => (s.TO_LOWER_CASE = "lowercase", s.TO_UPPER_CASE = "uppercase", s.NORMAL = "normal", s))(Nn || {}), Mn = /* @__PURE__ */ ((s) => (s.SUPERSCRIPT = "superscript", s.SUBSCRIPT = "subscript", s.NORMAL = "normal", s))(Mn || {}), xn = /* @__PURE__ */ ((s) => (s.none = "none", s.bullet = "bullet", s.number = "number", s))(xn || {}), Rn = /* @__PURE__ */ ((s) => (s.STYLE = "textStyle", s.PROPERTIES = "textProperties", s.APPEARANCE = "appearance", s))(Rn || {}), Vn = /* @__PURE__ */ ((s) => (s.PARAGRAPH = "paragraphStyleId", s.CHARACTER = "characterStyleId", s.FONT_FAMILY = "fontKey", s.FONT_STYLE = "fontStyle", s.FONT_SIZE = "fontSize", s.LETTER_SPACING = "letterSpacing", s.LINE_HEIGHT = "lineHeight", s.TEXT_ALIGN = "textAlign", s.VERTICAL_ALIGN = "verticalAlign", s.TYPOGRAPHIC_CASE = "typographicCase", s.SUB_SUPER_SCRIPT = "subSuperScript", s.UNDERLINE = "underline", s.LINE_THROUGH = "lineThrough", s.FILL_COLOR = "fillColor", s.COLOR = "color", s.FILL_COLOR_APPLIED = "fillColorApplied", s.STROKE_COLOR = "strokeColor", s.STROKE_COLOR_APPLIED = "strokeColorApplied", s.DROP_SHADOW_COLOR = "dropShadowColor", s.BLEND_MODE = "blendMode", s.OPACITY = "opacity", s.TRACKING_RIGHT = "trackingRight", s.BASELINE_SHIFT = "baselineShiftValue", s.STROKE_WIDTH = "strokeWidth", s.MARKED_LIST_TYPE = "markedListType", s.MARKED_LIST_GROUP = "markedListGroup", s.MARKED_LIST_LEVEL = "markedListLevel", s))(Vn || {}), Jn = /* @__PURE__ */ ((s) => (s.arabic = "arabic", s.romanUpperCase = "romanUpperCase", s.romanLowerCase = "romanLowerCase", s.latinUpperCase = "latinUpperCase", s.latinLowerCase = "latinLowerCase", s))(Jn || {}), Gn = /* @__PURE__ */ ((s) => (s.none = "none", s.dash = "dash", s.dot = "dot", s.colon = "colon", s.roundBracket = "roundBracket", s))(Gn || {}), Bn = /* @__PURE__ */ ((s) => (s.selectedLayoutChanged = "selectedLayoutChanged", s.frameMoved = "frameMoved", s.pageSizeChanged = "pageSizeChanged", s.documentLoaded = "documentLoaded", s.variableValueChanged = "variableValueChanged", s))(Bn || {}), Un = /* @__PURE__ */ ((s) => (s.ellipse = "ellipse", s.rectangle = "rectangle", s.polygon = "polygon", s))(Un || {}), kn = /* @__PURE__ */ ((s) => (s.all = "all", s.only = "only", s.none = "none", s))(kn || {}), _n = /* @__PURE__ */ ((s) => (s.normal = "normal", s.textEdit = "textEdit", s.customCrop = "customCrop", s.frameSubjectArea = "frameSubjectArea", s.perAssetCrop = "perAssetCrop", s.gradient = "gradient", s))(_n || {}), Ns = /* @__PURE__ */ ((s) => (s.url = "url", s.grafx = "grafx", s.local = "local", s))(Ns || {});
2581
+ const ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2582
2582
  __proto__: null,
2583
2583
  ConnectorRegistrationSource: Ns
2584
2584
  }, Symbol.toStringTag, { value: "Module" }));
2585
2585
  export {
2586
- Wr as ActionAsyncError,
2587
- Gn as ActionEditorEvent,
2588
- On as Alignment,
2589
- Kr as AnchorTargetEdgeType,
2590
- $r as AnchorTargetType,
2591
- Or as AuthCredentialsTypeEnum,
2586
+ jr as ActionAsyncError,
2587
+ Bn as ActionEditorEvent,
2588
+ Ln as Alignment,
2589
+ zr as AnchorTargetEdgeType,
2590
+ Kr as AnchorTargetType,
2591
+ Er as AuthCredentialsTypeEnum,
2592
2592
  Lr as AuthRefreshTypeEnum,
2593
- Mr as AutoGrowDirection,
2594
- vt as BarcodeCharacterSet,
2593
+ xr as AutoGrowDirection,
2594
+ It as BarcodeCharacterSet,
2595
2595
  Rt as BarcodeErrorCorrectionLevel,
2596
- Vr as BarcodeSourceTypeEnum,
2596
+ Jr as BarcodeSourceTypeEnum,
2597
2597
  $ as BarcodeType,
2598
2598
  lr as BarcodeValidationResult,
2599
- bn as BasicAnimationsEmphasisStyles,
2600
- Ur as BlendMode,
2601
- Dn as Case,
2599
+ vn as BasicAnimationsEmphasisStyles,
2600
+ kr as BlendMode,
2601
+ Nn as Case,
2602
2602
  q as ColorType,
2603
2603
  ae as ColorUsageType,
2604
- Fn as ComponentPreviewType,
2605
- xr as ComponentSourceTypeEnum,
2604
+ Mr as ComponentFitEnum,
2605
+ On as ComponentPreviewType,
2606
+ Rr as ComponentSourceTypeEnum,
2606
2607
  Ar as ConnectorConfigContextType,
2607
2608
  Ir as ConnectorConfigValueType,
2608
- Er as ConnectorEventType,
2609
+ Or as ConnectorEventType,
2609
2610
  hr as ConnectorHttpError,
2610
- Hn as ConnectorMapping,
2611
+ Tn as ConnectorMapping,
2611
2612
  Fr as ConnectorMappingDirection,
2612
2613
  Pr as ConnectorMappingSource,
2613
2614
  Vt as ConnectorRegistrationSource,
2614
2615
  he as ConnectorStateType,
2615
2616
  Sr as ConnectorType,
2616
2617
  yr as ConstraintMode,
2617
- Un as CornerRadiusType,
2618
- Es as CropType,
2619
- jr as DataRowAsyncError,
2620
- qr as Day,
2618
+ kn as CornerRadiusType,
2619
+ Os as CropType,
2620
+ qr as DataRowAsyncError,
2621
+ Yr as Day,
2621
2622
  ce as DeprecatedMediaConnectorDownloadType,
2622
2623
  Bt as DeprecatedMediaType,
2623
2624
  or as DocumentIssueTypeEnum,
2624
2625
  Ps as DocumentType,
2625
- sn as DownloadFormats,
2626
- fn as EaseTypes,
2627
- kn as EngineEditModeType,
2626
+ rn as DownloadFormats,
2627
+ Sn as EaseTypes,
2628
+ _n as EngineEditModeType,
2628
2629
  ue as EnvironmentType,
2629
- kr as FitMode,
2630
- _r as FitModePosition,
2631
- Gr as FlowDirection,
2632
- Pn as FontPreviewFormat,
2630
+ _r as FitMode,
2631
+ Hr as FitModePosition,
2632
+ Br as FlowDirection,
2633
+ Fn as FontPreviewFormat,
2633
2634
  En as FontWeights,
2634
- jn as FrameAnchorTarget,
2635
- Tr as FrameAnchorType,
2635
+ qn as FrameAnchorTarget,
2636
+ $r as FrameAnchorType,
2636
2637
  ar as FrameEditingMode,
2637
- tn as FramePropertyNames,
2638
- Rr as FrameTypeEnum,
2639
- In as GradientType,
2640
- An as GradientUsageType,
2641
- $n as GrafxTokenAuthCredentials,
2638
+ en as FramePropertyNames,
2639
+ Vr as FrameTypeEnum,
2640
+ An as GradientType,
2641
+ Pn as GradientUsageType,
2642
+ Kn as GrafxTokenAuthCredentials,
2642
2643
  te as ImageSourceTypeEnum,
2643
2644
  gr as LayoutIntent,
2644
- en as LayoutPropertyNames,
2645
+ sn as LayoutPropertyNames,
2645
2646
  ur as LayoutType,
2646
- Yr as Locale,
2647
- Mn as MarkedListType,
2647
+ Zr as Locale,
2648
+ xn as MarkedListType,
2648
2649
  dr as MeasurementUnit,
2649
- Os as MediaDownloadIntent,
2650
+ Es as MediaDownloadIntent,
2650
2651
  de as MediaDownloadType,
2651
2652
  Ut as MediaType,
2652
- Xn as Next,
2653
- Vn as NumberListFormat,
2654
- Jn as NumberListSeparatorSymbol,
2655
- Wn as PageAnchorTarget,
2653
+ ta as Next,
2654
+ Jn as NumberListFormat,
2655
+ Gn as NumberListSeparatorSymbol,
2656
+ jn as PageAnchorTarget,
2656
2657
  X as PositionEnum,
2657
- Kn as RefreshedAuthCredendentials,
2658
- Nn as Scripting,
2659
- xn as SelectedTextStyleSections,
2660
- Rn as SelectedTextStyles,
2661
- mn as ShakeDirections,
2662
- Bn as ShapeType,
2663
- wn as SlideDirections,
2658
+ zn as RefreshedAuthCredendentials,
2659
+ Mn as Scripting,
2660
+ Rn as SelectedTextStyleSections,
2661
+ Vn as SelectedTextStyles,
2662
+ fn as ShakeDirections,
2663
+ Un as ShapeType,
2664
+ mn as SlideDirections,
2664
2665
  br as SortBy,
2665
2666
  vr as SortOrder,
2666
- Jr as TextDirection,
2667
- Ln as TextPosition,
2667
+ Gr as TextDirection,
2668
+ Dn as TextPosition,
2668
2669
  K as ToolType,
2669
- Sn as TweenTypes,
2670
- Hr as UpdateZIndexMethod,
2670
+ bn as TweenTypes,
2671
+ Tr as UpdateZIndexMethod,
2671
2672
  Dr as UploadAssetValidationError,
2672
2673
  Fs as UploadAssetValidationErrorType,
2673
2674
  pe as VariableType,
2674
- Qr as VariableVisibilityOperator,
2675
- Zr as VariableVisibilityTargetType,
2675
+ Xr as VariableVisibilityOperator,
2676
+ Qr as VariableVisibilityTargetType,
2676
2677
  Jt as VariableVisibilityType,
2677
- Br as VerticalAlign,
2678
- vn as ViewMode,
2678
+ Ur as VerticalAlign,
2679
+ In as ViewMode,
2679
2680
  tt as WellKnownConfigurationKeys,
2680
- Qn as default,
2681
- Tn as grafxMediaConnectorRegistration
2681
+ Xn as default,
2682
+ $n as grafxMediaConnectorRegistration
2682
2683
  };
2683
2684
  //# sourceMappingURL=main.es.js.map