@pdfme/ui 5.5.8-dev.14 → 5.5.8-dev.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -94,7 +94,7 @@ var hasRequiredReact_production_min;
94
94
  function requireReact_production_min() {
95
95
  if (hasRequiredReact_production_min) return react_production_min;
96
96
  hasRequiredReact_production_min = 1;
97
- var a = requireObjectAssign(), s = typeof Symbol == "function" && Symbol.for, c = s ? Symbol.for("react.element") : 60103, u = s ? Symbol.for("react.portal") : 60106, d = s ? Symbol.for("react.fragment") : 60107, p = s ? Symbol.for("react.strict_mode") : 60108, v = s ? Symbol.for("react.profiler") : 60114, A = s ? Symbol.for("react.provider") : 60109, x = s ? Symbol.for("react.context") : 60110, g = s ? Symbol.for("react.forward_ref") : 60112, b = s ? Symbol.for("react.suspense") : 60113, y = s ? Symbol.for("react.memo") : 60115, f = s ? Symbol.for("react.lazy") : 60116, m = typeof Symbol == "function" && Symbol.iterator;
97
+ var a = requireObjectAssign(), s = typeof Symbol == "function" && Symbol.for, c = s ? /* @__PURE__ */ Symbol.for("react.element") : 60103, u = s ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, d = s ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, p = s ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, v = s ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, A = s ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, x = s ? /* @__PURE__ */ Symbol.for("react.context") : 60110, g = s ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = s ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, y = s ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, f = s ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, m = typeof Symbol == "function" && Symbol.iterator;
98
98
  function E(q) {
99
99
  for (var Q = "https://reactjs.org/docs/error-decoder.html?invariant=" + q, ee = 1; ee < arguments.length; ee++) Q += "&args[]=" + encodeURIComponent(arguments[ee]);
100
100
  return "Minified React error #" + q + "; visit " + Q + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
@@ -739,7 +739,7 @@ function requireReactDom_production_min() {
739
739
  var Oe = oe.hasOwnProperty(ne) ? oe[ne] : null, ze = Oe !== null ? Oe.type === 0 : Se ? !1 : !(!(2 < ne.length) || ne[0] !== "o" && ne[0] !== "O" || ne[1] !== "n" && ne[1] !== "N");
740
740
  ze || (te(ne, de, Oe, Se) && (de = null), Se || Oe === null ? Y(ne) && (de === null ? z.removeAttribute(ne) : z.setAttribute(ne, "" + de)) : Oe.mustUseProperty ? z[Oe.propertyName] = de === null ? Oe.type === 3 ? !1 : "" : de : (ne = Oe.attributeName, Se = Oe.attributeNamespace, de === null ? z.removeAttribute(ne) : (Oe = Oe.type, de = Oe === 3 || Oe === 4 && de === !0 ? "" : "" + de, Se ? z.setAttributeNS(Se, ne, de) : z.setAttribute(ne, de))));
741
741
  }
742
- var me = /^(.*)[\\\/]/, be = typeof Symbol == "function" && Symbol.for, le = be ? Symbol.for("react.element") : 60103, ve = be ? Symbol.for("react.portal") : 60106, he = be ? Symbol.for("react.fragment") : 60107, ye = be ? Symbol.for("react.strict_mode") : 60108, Ee = be ? Symbol.for("react.profiler") : 60114, xe = be ? Symbol.for("react.provider") : 60109, we = be ? Symbol.for("react.context") : 60110, $e = be ? Symbol.for("react.concurrent_mode") : 60111, Ae = be ? Symbol.for("react.forward_ref") : 60112, ue = be ? Symbol.for("react.suspense") : 60113, ce = be ? Symbol.for("react.suspense_list") : 60120, Ce = be ? Symbol.for("react.memo") : 60115, _e = be ? Symbol.for("react.lazy") : 60116, Re = be ? Symbol.for("react.block") : 60121, De = typeof Symbol == "function" && Symbol.iterator;
742
+ var me = /^(.*)[\\\/]/, be = typeof Symbol == "function" && Symbol.for, le = be ? /* @__PURE__ */ Symbol.for("react.element") : 60103, ve = be ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, he = be ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, ye = be ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, Ee = be ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, xe = be ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, we = be ? /* @__PURE__ */ Symbol.for("react.context") : 60110, $e = be ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, Ae = be ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, ue = be ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, ce = be ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, Ce = be ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, _e = be ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, Re = be ? /* @__PURE__ */ Symbol.for("react.block") : 60121, De = typeof Symbol == "function" && Symbol.iterator;
743
743
  function Te(z) {
744
744
  return z === null || typeof z != "object" ? null : (z = De && z[De] || z["@@iterator"], typeof z == "function" ? z : null);
745
745
  }
@@ -2834,7 +2834,6 @@ function requireReactDom_production_min() {
2834
2834
  var Ge = ne.lastRenderedState, nt = ze(Ge, de);
2835
2835
  if (Oe.eagerReducer = ze, Oe.eagerState = nt, Zn(nt, Ge)) return;
2836
2836
  } catch {
2837
- } finally {
2838
2837
  }
2839
2838
  Qn(
2840
2839
  z,
@@ -4264,14 +4263,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
4264
4263
  var Pr = sr.ref;
4265
4264
  if (Pr !== null) {
4266
4265
  var Hr = sr.stateNode;
4267
- switch (sr.tag) {
4268
- case 5:
4269
- Xt = Hr;
4270
- break;
4271
- default:
4272
- Xt = Hr;
4273
- }
4274
- typeof Pr == "function" ? Pr(Xt) : Pr.current = Xt;
4266
+ sr.tag, Xt = Hr, typeof Pr == "function" ? Pr(Xt) : Pr.current = Xt;
4275
4267
  }
4276
4268
  }
4277
4269
  sr = sr.nextEffect;
@@ -4679,13 +4671,7 @@ Add a <Suspense fallback=...> component higher in the tree to provide a loading
4679
4671
  return ne.context === null ? ne.context = de : ne.pendingContext = de, ne = zn(ze, Ge), ne.payload = { element: z }, Se = Se === void 0 ? null : Se, Se !== null && (ne.callback = Se), Un(Oe, ne), Qn(Oe, ze), ze;
4680
4672
  }
4681
4673
  function qo(z) {
4682
- if (z = z.current, !z.child) return null;
4683
- switch (z.child.tag) {
4684
- case 5:
4685
- return z.child.stateNode;
4686
- default:
4687
- return z.child.stateNode;
4688
- }
4674
+ return z = z.current, z.child ? (z.child.tag === 5, z.child.stateNode) : null;
4689
4675
  }
4690
4676
  function Ul(z, ne) {
4691
4677
  z = z.memoizedState, z !== null && z.dehydrated !== null && z.retryTime < ne && (z.retryTime = ne);
@@ -4953,7 +4939,7 @@ function floatSafeRemainder(a, s) {
4953
4939
  const p = c > d ? c : d, v = Number.parseInt(a.toFixed(p).replace(".", "")), A = Number.parseInt(s.toFixed(p).replace(".", ""));
4954
4940
  return v % A / 10 ** p;
4955
4941
  }
4956
- const EVALUATING = Symbol("evaluating");
4942
+ const EVALUATING = /* @__PURE__ */ Symbol("evaluating");
4957
4943
  function defineLazy(a, s, c) {
4958
4944
  let u;
4959
4945
  Object.defineProperty(a, s, {
@@ -7402,7 +7388,7 @@ function requireIeee754() {
7402
7388
  var hasRequiredBuffer;
7403
7389
  function requireBuffer() {
7404
7390
  return hasRequiredBuffer || (hasRequiredBuffer = 1, (function(a) {
7405
- const s = requireBase64Js(), c = requireIeee754(), u = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
7391
+ const s = requireBase64Js(), c = requireIeee754(), u = typeof Symbol == "function" && typeof Symbol.for == "function" ? /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom") : null;
7406
7392
  a.Buffer = A, a.SlowBuffer = R, a.INSPECT_MAX_BYTES = 50;
7407
7393
  const d = 2147483647;
7408
7394
  a.kMaxLength = d, A.TYPED_ARRAY_SUPPORT = p(), !A.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
@@ -18707,7 +18693,7 @@ function requirePdf() {
18707
18693
  value: !0
18708
18694
  }), s.OptionalContentConfig = void 0;
18709
18695
  var u = c(1), d = c(8);
18710
- const p = Symbol("INTERNAL");
18696
+ const p = /* @__PURE__ */ Symbol("INTERNAL");
18711
18697
  class v {
18712
18698
  #e = !0;
18713
18699
  constructor(g, b) {
@@ -25782,9 +25768,9 @@ function requirePdf_worker() {
25782
25768
  value: !0
25783
25769
  }), A.RefSetCache = A.RefSet = A.Ref = A.Name = A.EOF = A.Dict = A.Cmd = A.CIRCULAR_REF = void 0, A.clearPrimitiveCaches = w, A.isCmd = L, A.isDict = B, A.isName = O, A.isRefsEqual = F;
25784
25770
  var g = x(2);
25785
- const b = Symbol("CIRCULAR_REF");
25771
+ const b = /* @__PURE__ */ Symbol("CIRCULAR_REF");
25786
25772
  A.CIRCULAR_REF = b;
25787
- const y = Symbol("EOF");
25773
+ const y = /* @__PURE__ */ Symbol("EOF");
25788
25774
  A.EOF = y;
25789
25775
  let f = /* @__PURE__ */ Object.create(null), m = /* @__PURE__ */ Object.create(null), E = /* @__PURE__ */ Object.create(null);
25790
25776
  function w() {
@@ -48792,141 +48778,141 @@ ${q}
48792
48778
  Object.defineProperty(A, "__esModule", {
48793
48779
  value: !0
48794
48780
  }), A.$uid = A.$toStyle = A.$toString = A.$toPages = A.$toHTML = A.$text = A.$tabIndex = A.$setValue = A.$setSetAttributes = A.$setId = A.$searchNode = A.$root = A.$resolvePrototypes = A.$removeChild = A.$pushPara = A.$pushGlyphs = A.$popPara = A.$onText = A.$onChildCheck = A.$onChild = A.$nsAttributes = A.$nodeName = A.$namespaceId = A.$lastAttribute = A.$isUsable = A.$isTransparent = A.$isThereMoreWidth = A.$isSplittable = A.$isNsAgnostic = A.$isDescendent = A.$isDataValue = A.$isCDATAXml = A.$isBindable = A.$insertAt = A.$indexOf = A.$ids = A.$hasSettableValue = A.$globalData = A.$getTemplateRoot = A.$getSubformParent = A.$getRealChildrenByNameIt = A.$getParent = A.$getNextPage = A.$getExtra = A.$getDataValue = A.$getContainedChildren = A.$getChildrenByNameIt = A.$getChildrenByName = A.$getChildrenByClass = A.$getChildren = A.$getAvailableSpace = A.$getAttributes = A.$getAttributeIt = A.$flushHTML = A.$finalize = A.$extra = A.$dump = A.$data = A.$content = A.$consumed = A.$clone = A.$cleanup = A.$cleanPage = A.$clean = A.$childrenToHTML = A.$appendChild = A.$addHTML = A.$acceptWhitespace = void 0;
48795
- const x = Symbol();
48781
+ const x = /* @__PURE__ */ Symbol();
48796
48782
  A.$acceptWhitespace = x;
48797
- const g = Symbol();
48783
+ const g = /* @__PURE__ */ Symbol();
48798
48784
  A.$addHTML = g;
48799
- const b = Symbol();
48785
+ const b = /* @__PURE__ */ Symbol();
48800
48786
  A.$appendChild = b;
48801
- const y = Symbol();
48787
+ const y = /* @__PURE__ */ Symbol();
48802
48788
  A.$childrenToHTML = y;
48803
- const f = Symbol();
48789
+ const f = /* @__PURE__ */ Symbol();
48804
48790
  A.$clean = f;
48805
- const m = Symbol();
48791
+ const m = /* @__PURE__ */ Symbol();
48806
48792
  A.$cleanPage = m;
48807
- const E = Symbol();
48793
+ const E = /* @__PURE__ */ Symbol();
48808
48794
  A.$cleanup = E;
48809
- const w = Symbol();
48795
+ const w = /* @__PURE__ */ Symbol();
48810
48796
  A.$clone = w;
48811
- const S = Symbol();
48797
+ const S = /* @__PURE__ */ Symbol();
48812
48798
  A.$consumed = S;
48813
- const $ = Symbol("content");
48799
+ const $ = /* @__PURE__ */ Symbol("content");
48814
48800
  A.$content = $;
48815
- const R = Symbol("data");
48801
+ const R = /* @__PURE__ */ Symbol("data");
48816
48802
  A.$data = R;
48817
- const I = Symbol();
48803
+ const I = /* @__PURE__ */ Symbol();
48818
48804
  A.$dump = I;
48819
- const _ = Symbol("extra");
48805
+ const _ = /* @__PURE__ */ Symbol("extra");
48820
48806
  A.$extra = _;
48821
- const C = Symbol();
48807
+ const C = /* @__PURE__ */ Symbol();
48822
48808
  A.$finalize = C;
48823
- const P = Symbol();
48809
+ const P = /* @__PURE__ */ Symbol();
48824
48810
  A.$flushHTML = P;
48825
- const O = Symbol();
48811
+ const O = /* @__PURE__ */ Symbol();
48826
48812
  A.$getAttributeIt = O;
48827
- const L = Symbol();
48813
+ const L = /* @__PURE__ */ Symbol();
48828
48814
  A.$getAttributes = L;
48829
- const B = Symbol();
48815
+ const B = /* @__PURE__ */ Symbol();
48830
48816
  A.$getAvailableSpace = B;
48831
- const F = Symbol();
48817
+ const F = /* @__PURE__ */ Symbol();
48832
48818
  A.$getChildrenByClass = F;
48833
- const D = Symbol();
48819
+ const D = /* @__PURE__ */ Symbol();
48834
48820
  A.$getChildrenByName = D;
48835
- const V = Symbol();
48821
+ const V = /* @__PURE__ */ Symbol();
48836
48822
  A.$getChildrenByNameIt = V;
48837
- const j = Symbol();
48823
+ const j = /* @__PURE__ */ Symbol();
48838
48824
  A.$getDataValue = j;
48839
- const G = Symbol();
48825
+ const G = /* @__PURE__ */ Symbol();
48840
48826
  A.$getExtra = G;
48841
- const U = Symbol();
48827
+ const U = /* @__PURE__ */ Symbol();
48842
48828
  A.$getRealChildrenByNameIt = U;
48843
- const M = Symbol();
48829
+ const M = /* @__PURE__ */ Symbol();
48844
48830
  A.$getChildren = M;
48845
- const N = Symbol();
48831
+ const N = /* @__PURE__ */ Symbol();
48846
48832
  A.$getContainedChildren = N;
48847
- const T = Symbol();
48833
+ const T = /* @__PURE__ */ Symbol();
48848
48834
  A.$getNextPage = T;
48849
- const k = Symbol();
48835
+ const k = /* @__PURE__ */ Symbol();
48850
48836
  A.$getSubformParent = k;
48851
- const H = Symbol();
48837
+ const H = /* @__PURE__ */ Symbol();
48852
48838
  A.$getParent = H;
48853
- const W = Symbol();
48839
+ const W = /* @__PURE__ */ Symbol();
48854
48840
  A.$getTemplateRoot = W;
48855
- const J = Symbol();
48841
+ const J = /* @__PURE__ */ Symbol();
48856
48842
  A.$globalData = J;
48857
- const re = Symbol();
48843
+ const re = /* @__PURE__ */ Symbol();
48858
48844
  A.$hasSettableValue = re;
48859
- const K = Symbol();
48845
+ const K = /* @__PURE__ */ Symbol();
48860
48846
  A.$ids = K;
48861
- const q = Symbol();
48847
+ const q = /* @__PURE__ */ Symbol();
48862
48848
  A.$indexOf = q;
48863
- const Q = Symbol();
48849
+ const Q = /* @__PURE__ */ Symbol();
48864
48850
  A.$insertAt = Q;
48865
- const ee = Symbol();
48851
+ const ee = /* @__PURE__ */ Symbol();
48866
48852
  A.$isCDATAXml = ee;
48867
- const Y = Symbol();
48853
+ const Y = /* @__PURE__ */ Symbol();
48868
48854
  A.$isBindable = Y;
48869
- const Z = Symbol();
48855
+ const Z = /* @__PURE__ */ Symbol();
48870
48856
  A.$isDataValue = Z;
48871
- const te = Symbol();
48857
+ const te = /* @__PURE__ */ Symbol();
48872
48858
  A.$isDescendent = te;
48873
- const ae = Symbol();
48859
+ const ae = /* @__PURE__ */ Symbol();
48874
48860
  A.$isNsAgnostic = ae;
48875
- const oe = Symbol();
48861
+ const oe = /* @__PURE__ */ Symbol();
48876
48862
  A.$isSplittable = oe;
48877
- const se = Symbol();
48863
+ const se = /* @__PURE__ */ Symbol();
48878
48864
  A.$isThereMoreWidth = se;
48879
- const fe = Symbol();
48865
+ const fe = /* @__PURE__ */ Symbol();
48880
48866
  A.$isTransparent = fe;
48881
- const pe = Symbol();
48867
+ const pe = /* @__PURE__ */ Symbol();
48882
48868
  A.$isUsable = pe;
48883
- const ge = Symbol();
48869
+ const ge = /* @__PURE__ */ Symbol();
48884
48870
  A.$lastAttribute = ge;
48885
- const me = Symbol("namespaceId");
48871
+ const me = /* @__PURE__ */ Symbol("namespaceId");
48886
48872
  A.$namespaceId = me;
48887
- const be = Symbol("nodeName");
48873
+ const be = /* @__PURE__ */ Symbol("nodeName");
48888
48874
  A.$nodeName = be;
48889
- const le = Symbol();
48875
+ const le = /* @__PURE__ */ Symbol();
48890
48876
  A.$nsAttributes = le;
48891
- const ve = Symbol();
48877
+ const ve = /* @__PURE__ */ Symbol();
48892
48878
  A.$onChild = ve;
48893
- const he = Symbol();
48879
+ const he = /* @__PURE__ */ Symbol();
48894
48880
  A.$onChildCheck = he;
48895
- const ye = Symbol();
48881
+ const ye = /* @__PURE__ */ Symbol();
48896
48882
  A.$onText = ye;
48897
- const Ee = Symbol();
48883
+ const Ee = /* @__PURE__ */ Symbol();
48898
48884
  A.$pushGlyphs = Ee;
48899
- const xe = Symbol();
48885
+ const xe = /* @__PURE__ */ Symbol();
48900
48886
  A.$popPara = xe;
48901
- const we = Symbol();
48887
+ const we = /* @__PURE__ */ Symbol();
48902
48888
  A.$pushPara = we;
48903
- const $e = Symbol();
48889
+ const $e = /* @__PURE__ */ Symbol();
48904
48890
  A.$removeChild = $e;
48905
- const Ae = Symbol("root");
48891
+ const Ae = /* @__PURE__ */ Symbol("root");
48906
48892
  A.$root = Ae;
48907
- const ue = Symbol();
48893
+ const ue = /* @__PURE__ */ Symbol();
48908
48894
  A.$resolvePrototypes = ue;
48909
- const ce = Symbol();
48895
+ const ce = /* @__PURE__ */ Symbol();
48910
48896
  A.$searchNode = ce;
48911
- const Ce = Symbol();
48897
+ const Ce = /* @__PURE__ */ Symbol();
48912
48898
  A.$setId = Ce;
48913
- const _e = Symbol();
48899
+ const _e = /* @__PURE__ */ Symbol();
48914
48900
  A.$setSetAttributes = _e;
48915
- const Re = Symbol();
48901
+ const Re = /* @__PURE__ */ Symbol();
48916
48902
  A.$setValue = Re;
48917
- const De = Symbol();
48903
+ const De = /* @__PURE__ */ Symbol();
48918
48904
  A.$tabIndex = De;
48919
- const Te = Symbol();
48905
+ const Te = /* @__PURE__ */ Symbol();
48920
48906
  A.$text = Te;
48921
- const Be = Symbol();
48907
+ const Be = /* @__PURE__ */ Symbol();
48922
48908
  A.$toPages = Be;
48923
- const Pe = Symbol();
48909
+ const Pe = /* @__PURE__ */ Symbol();
48924
48910
  A.$toHTML = Pe;
48925
- const Me = Symbol();
48911
+ const Me = /* @__PURE__ */ Symbol();
48926
48912
  A.$toString = Me;
48927
- const Fe = Symbol();
48913
+ const Fe = /* @__PURE__ */ Symbol();
48928
48914
  A.$toStyle = Fe;
48929
- const Ue = Symbol("uid");
48915
+ const Ue = /* @__PURE__ */ Symbol("uid");
48930
48916
  A.$uid = Ue;
48931
48917
  }),
48932
48918
  /* 79 */
@@ -52017,7 +52003,7 @@ ${q}
52017
52003
  Object.defineProperty(A, "__esModule", {
52018
52004
  value: !0
52019
52005
  }), A.NamespaceIds = A.$buildXFAObject = void 0;
52020
- const x = Symbol();
52006
+ const x = /* @__PURE__ */ Symbol();
52021
52007
  A.$buildXFAObject = x;
52022
52008
  const g = {
52023
52009
  config: {
@@ -52166,7 +52152,6 @@ ${q}
52166
52152
  width: R.width - _,
52167
52153
  height: R.height - I - $[g.$extra].height
52168
52154
  };
52169
- case "position":
52170
52155
  default:
52171
52156
  return R;
52172
52157
  }
@@ -52979,7 +52964,7 @@ ${q}
52979
52964
  value: !0
52980
52965
  }), A.XmlObject = A.XFAObjectArray = A.XFAObject = A.XFAAttribute = A.StringObject = A.OptionObject = A.Option10 = A.Option01 = A.IntegerObject = A.ContentObject = void 0;
52981
52966
  var g = x(78), b = x(84), y = x(2), f = x(3), m = x(81), E = x(88);
52982
- const w = Symbol(), S = Symbol(), $ = Symbol(), R = Symbol("_children"), I = Symbol(), _ = Symbol(), C = Symbol(), P = Symbol(), O = Symbol(), L = Symbol(), B = Symbol(), F = Symbol(), D = Symbol(), V = Symbol("parent"), j = Symbol(), G = Symbol(), U = Symbol();
52967
+ const w = /* @__PURE__ */ Symbol(), S = /* @__PURE__ */ Symbol(), $ = /* @__PURE__ */ Symbol(), R = /* @__PURE__ */ Symbol("_children"), I = /* @__PURE__ */ Symbol(), _ = /* @__PURE__ */ Symbol(), C = /* @__PURE__ */ Symbol(), P = /* @__PURE__ */ Symbol(), O = /* @__PURE__ */ Symbol(), L = /* @__PURE__ */ Symbol(), B = /* @__PURE__ */ Symbol(), F = /* @__PURE__ */ Symbol(), D = /* @__PURE__ */ Symbol(), V = /* @__PURE__ */ Symbol("parent"), j = /* @__PURE__ */ Symbol(), G = /* @__PURE__ */ Symbol(), U = /* @__PURE__ */ Symbol();
52983
52968
  let M = 0;
52984
52969
  const N = m.NamespaceIds.datasets.id;
52985
52970
  class T {
@@ -55578,7 +55563,7 @@ ${q}
55578
55563
  value: !0
55579
55564
  }), A.XhtmlNamespace = void 0;
55580
55565
  var g = x(78), b = x(81), y = x(83), f = x(84), m = x(87);
55581
- const E = b.NamespaceIds.xhtml.id, w = Symbol(), S = /* @__PURE__ */ new Set(["color", "font", "font-family", "font-size", "font-stretch", "font-style", "font-weight", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "letter-spacing", "line-height", "orphans", "page-break-after", "page-break-before", "page-break-inside", "tab-interval", "tab-stop", "text-align", "text-decoration", "text-indent", "vertical-align", "widows", "kerning-mode", "xfa-font-horizontal-scale", "xfa-font-vertical-scale", "xfa-spacerun", "xfa-tab-stops"]), $ = /* @__PURE__ */ new Map([["page-break-after", "breakAfter"], ["page-break-before", "breakBefore"], ["page-break-inside", "breakInside"], ["kerning-mode", (re) => re === "none" ? "none" : "normal"], ["xfa-font-horizontal-scale", (re) => `scaleX(${Math.max(0, Math.min(parseInt(re) / 100)).toFixed(2)})`], ["xfa-font-vertical-scale", (re) => `scaleY(${Math.max(0, Math.min(parseInt(re) / 100)).toFixed(2)})`], ["xfa-spacerun", ""], ["xfa-tab-stops", ""], ["font-size", (re, K) => (re = K.fontSize = (0, f.getMeasurement)(re), (0, y.measureToString)(0.99 * re))], ["letter-spacing", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["line-height", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-bottom", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-left", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-right", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-top", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["text-indent", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["font-family", (re) => re], ["vertical-align", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))]]), R = /\s+/g, I = /[\r\n]+/g, _ = /\r\n?/g;
55566
+ const E = b.NamespaceIds.xhtml.id, w = /* @__PURE__ */ Symbol(), S = /* @__PURE__ */ new Set(["color", "font", "font-family", "font-size", "font-stretch", "font-style", "font-weight", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "letter-spacing", "line-height", "orphans", "page-break-after", "page-break-before", "page-break-inside", "tab-interval", "tab-stop", "text-align", "text-decoration", "text-indent", "vertical-align", "widows", "kerning-mode", "xfa-font-horizontal-scale", "xfa-font-vertical-scale", "xfa-spacerun", "xfa-tab-stops"]), $ = /* @__PURE__ */ new Map([["page-break-after", "breakAfter"], ["page-break-before", "breakBefore"], ["page-break-inside", "breakInside"], ["kerning-mode", (re) => re === "none" ? "none" : "normal"], ["xfa-font-horizontal-scale", (re) => `scaleX(${Math.max(0, Math.min(parseInt(re) / 100)).toFixed(2)})`], ["xfa-font-vertical-scale", (re) => `scaleY(${Math.max(0, Math.min(parseInt(re) / 100)).toFixed(2)})`], ["xfa-spacerun", ""], ["xfa-tab-stops", ""], ["font-size", (re, K) => (re = K.fontSize = (0, f.getMeasurement)(re), (0, y.measureToString)(0.99 * re))], ["letter-spacing", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["line-height", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-bottom", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-left", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-right", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["margin-top", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["text-indent", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))], ["font-family", (re) => re], ["vertical-align", (re) => (0, y.measureToString)((0, f.getMeasurement)(re))]]), R = /\s+/g, I = /[\r\n]+/g, _ = /\r\n?/g;
55582
55567
  function C(re, K, q) {
55583
55568
  const Q = /* @__PURE__ */ Object.create(null);
55584
55569
  if (!re)
@@ -76907,7 +76892,7 @@ function _typeof$h(a) {
76907
76892
  return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
76908
76893
  }, _typeof$h(a);
76909
76894
  }
76910
- var REACT_ELEMENT_TYPE_18 = Symbol.for("react.element"), REACT_ELEMENT_TYPE_19 = Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
76895
+ var REACT_ELEMENT_TYPE_18 = /* @__PURE__ */ Symbol.for("react.element"), REACT_ELEMENT_TYPE_19 = /* @__PURE__ */ Symbol.for("react.transitional.element"), REACT_FRAGMENT_TYPE = /* @__PURE__ */ Symbol.for("react.fragment");
76911
76896
  function isFragment$1(a) {
76912
76897
  return (
76913
76898
  // Base object type
@@ -77007,8 +76992,8 @@ var hasRequiredReactIs_production_min;
77007
76992
  function requireReactIs_production_min() {
77008
76993
  if (hasRequiredReactIs_production_min) return reactIs_production_min;
77009
76994
  hasRequiredReactIs_production_min = 1;
77010
- var a = Symbol.for("react.element"), s = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), A = Symbol.for("react.server_context"), x = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), E;
77011
- E = Symbol.for("react.module.reference");
76995
+ var a = /* @__PURE__ */ Symbol.for("react.element"), s = /* @__PURE__ */ Symbol.for("react.portal"), c = /* @__PURE__ */ Symbol.for("react.fragment"), u = /* @__PURE__ */ Symbol.for("react.strict_mode"), d = /* @__PURE__ */ Symbol.for("react.profiler"), p = /* @__PURE__ */ Symbol.for("react.provider"), v = /* @__PURE__ */ Symbol.for("react.context"), A = /* @__PURE__ */ Symbol.for("react.server_context"), x = /* @__PURE__ */ Symbol.for("react.forward_ref"), g = /* @__PURE__ */ Symbol.for("react.suspense"), b = /* @__PURE__ */ Symbol.for("react.suspense_list"), y = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), m = /* @__PURE__ */ Symbol.for("react.offscreen"), E;
76996
+ E = /* @__PURE__ */ Symbol.for("react.module.reference");
77012
76997
  function w(S) {
77013
76998
  if (typeof S == "object" && S !== null) {
77014
76999
  var $ = S.$$typeof;
@@ -79451,7 +79436,6 @@ class FastColor {
79451
79436
  case 4:
79452
79437
  this.r = y, this.g = g;
79453
79438
  break;
79454
- case 5:
79455
79439
  default:
79456
79440
  this.g = g, this.b = b;
79457
79441
  break;
@@ -81549,14 +81533,7 @@ function normalizeAttrs() {
81549
81533
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
81550
81534
  return Object.keys(a).reduce(function(s, c) {
81551
81535
  var u = a[c];
81552
- switch (c) {
81553
- case "class":
81554
- s.className = u, delete s.class;
81555
- break;
81556
- default:
81557
- delete s[c], s[camelCase(c)] = u;
81558
- }
81559
- return s;
81536
+ return c === "class" ? (s.className = u, delete s.class) : (delete s[c], s[camelCase(c)] = u), s;
81560
81537
  }, {});
81561
81538
  }
81562
81539
  function generate$1(a, s, c) {
@@ -136702,7 +136679,7 @@ function require_objectAssign() {
136702
136679
  hasRequired_objectAssign = 1;
136703
136680
  var a = require_descriptors(), s = require_objectKeys(), c = require_objectGops(), u = require_objectPie(), d = require_toObject(), p = require_iobject(), v = Object.assign;
136704
136681
  return _objectAssign = !v || require_fails()(function() {
136705
- var A = {}, x = {}, g = Symbol(), b = "abcdefghijklmnopqrst";
136682
+ var A = {}, x = {}, g = /* @__PURE__ */ Symbol(), b = "abcdefghijklmnopqrst";
136706
136683
  return A[g] = 7, b.split("").forEach(function(y) {
136707
136684
  x[y] = y;
136708
136685
  }), v({}, A)[g] != 7 || Object.keys(v({}, x)).join("") != b;
@@ -143316,14 +143293,7 @@ function requireUtils() {
143316
143293
  var I = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
143317
143294
  return Object.keys(I).reduce(function(_, C) {
143318
143295
  var P = I[C];
143319
- switch (C) {
143320
- case "class":
143321
- _.className = P, delete _.class;
143322
- break;
143323
- default:
143324
- delete _[C], _[(0, g.default)(C)] = P;
143325
- }
143326
- return _;
143296
+ return C === "class" ? (_.className = P, delete _.class) : (delete _[C], _[(0, g.default)(C)] = P), _;
143327
143297
  }, {});
143328
143298
  }
143329
143299
  function w(I, _, C) {
@@ -159101,14 +159071,7 @@ const { Text } = Typography, icons = {
159101
159071
  input: G ?? B,
159102
159072
  options: { font: v },
159103
159073
  _cache,
159104
- getDynamicHeights: (N, T) => {
159105
- switch (T.schema.type) {
159106
- case "table":
159107
- return getDynamicHeightsForTable(N, T);
159108
- default:
159109
- return Promise.resolve([T.schema.height]);
159110
- }
159111
- }
159074
+ getDynamicHeights: (N, T) => T.schema.type === "table" ? getDynamicHeightsForTable(N, T) : Promise.resolve([T.schema.height])
159112
159075
  }).then(async (N) => {
159113
159076
  const T = await template2SchemasList(N);
159114
159077
  R(T), await O(N);