@pdfme/ui 4.2.5-dev.1 → 4.2.5-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -76007,7 +76007,7 @@ strings$2.utf8border = function(a, s) {
76007
76007
  function ZStream$2() {
76008
76008
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
76009
76009
  }
76010
- var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common, strings$1 = strings$2, msg$1 = messages$1, ZStream$1 = zstream, toString$4 = Object.prototype.toString, Z_NO_FLUSH = 0, Z_FINISH$1 = 4, Z_OK$1 = 0, Z_STREAM_END$1 = 1, Z_SYNC_FLUSH = 2, Z_DEFAULT_COMPRESSION = -1, Z_DEFAULT_STRATEGY = 0, Z_DEFLATED$1 = 8;
76010
+ var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common, strings$1 = strings$2, msg$1 = messages$1, ZStream$1 = zstream, toString$5 = Object.prototype.toString, Z_NO_FLUSH = 0, Z_FINISH$1 = 4, Z_OK$1 = 0, Z_STREAM_END$1 = 1, Z_SYNC_FLUSH = 2, Z_DEFAULT_COMPRESSION = -1, Z_DEFAULT_STRATEGY = 0, Z_DEFLATED$1 = 8;
76011
76011
  function Deflate(a) {
76012
76012
  if (!(this instanceof Deflate))
76013
76013
  return new Deflate(a);
@@ -76034,7 +76034,7 @@ function Deflate(a) {
76034
76034
  throw new Error(msg$1[$]);
76035
76035
  if (s.header && zlib_deflate.deflateSetHeader(this.strm, s.header), s.dictionary) {
76036
76036
  var _;
76037
- if (typeof s.dictionary == "string" ? _ = strings$1.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" ? _ = new Uint8Array(s.dictionary) : _ = s.dictionary, $ = zlib_deflate.deflateSetDictionary(this.strm, _), $ !== Z_OK$1)
76037
+ if (typeof s.dictionary == "string" ? _ = strings$1.string2buf(s.dictionary) : toString$5.call(s.dictionary) === "[object ArrayBuffer]" ? _ = new Uint8Array(s.dictionary) : _ = s.dictionary, $ = zlib_deflate.deflateSetDictionary(this.strm, _), $ !== Z_OK$1)
76038
76038
  throw new Error(msg$1[$]);
76039
76039
  this._dict_set = !0;
76040
76040
  }
@@ -76043,7 +76043,7 @@ Deflate.prototype.push = function(a, s) {
76043
76043
  var $ = this.strm, _ = this.options.chunkSize, _e, tt;
76044
76044
  if (this.ended)
76045
76045
  return !1;
76046
- tt = s === ~~s ? s : s === !0 ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? $.input = strings$1.string2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? $.input = new Uint8Array(a) : $.input = a, $.next_in = 0, $.avail_in = $.input.length;
76046
+ tt = s === ~~s ? s : s === !0 ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? $.input = strings$1.string2buf(a) : toString$5.call(a) === "[object ArrayBuffer]" ? $.input = new Uint8Array(a) : $.input = a, $.next_in = 0, $.avail_in = $.input.length;
76047
76047
  do {
76048
76048
  if ($.avail_out === 0 && ($.output = new utils$5.Buf8(_), $.next_out = 0, $.avail_out = _), _e = zlib_deflate.deflate($, tt), _e !== Z_STREAM_END$1 && _e !== Z_OK$1)
76049
76049
  return this.onEnd(_e), this.ended = !0, !1;
@@ -76884,7 +76884,7 @@ var constants$1 = {
76884
76884
  function GZheader$1() {
76885
76885
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
76886
76886
  }
76887
- var gzheader = GZheader$1, zlib_inflate = inflate$3, utils$2 = common, strings = strings$2, c$1 = constants$1, msg = messages$1, ZStream = zstream, GZheader = gzheader, toString$3 = Object.prototype.toString;
76887
+ var gzheader = GZheader$1, zlib_inflate = inflate$3, utils$2 = common, strings = strings$2, c$1 = constants$1, msg = messages$1, ZStream = zstream, GZheader = gzheader, toString$4 = Object.prototype.toString;
76888
76888
  function Inflate(a) {
76889
76889
  if (!(this instanceof Inflate))
76890
76890
  return new Inflate(a);
@@ -76901,14 +76901,14 @@ function Inflate(a) {
76901
76901
  );
76902
76902
  if ($ !== c$1.Z_OK)
76903
76903
  throw new Error(msg[$]);
76904
- if (this.header = new GZheader(), zlib_inflate.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings.string2buf(s.dictionary) : toString$3.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && ($ = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), $ !== c$1.Z_OK)))
76904
+ if (this.header = new GZheader(), zlib_inflate.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && ($ = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), $ !== c$1.Z_OK)))
76905
76905
  throw new Error(msg[$]);
76906
76906
  }
76907
76907
  Inflate.prototype.push = function(a, s) {
76908
76908
  var $ = this.strm, _ = this.options.chunkSize, _e = this.options.dictionary, tt, nt, at, ot, rt, st = !1;
76909
76909
  if (this.ended)
76910
76910
  return !1;
76911
- nt = s === ~~s ? s : s === !0 ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? $.input = strings.binstring2buf(a) : toString$3.call(a) === "[object ArrayBuffer]" ? $.input = new Uint8Array(a) : $.input = a, $.next_in = 0, $.avail_in = $.input.length;
76911
+ nt = s === ~~s ? s : s === !0 ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? $.input = strings.binstring2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? $.input = new Uint8Array(a) : $.input = a, $.next_in = 0, $.avail_in = $.input.length;
76912
76912
  do {
76913
76913
  if ($.avail_out === 0 && ($.output = new utils$2.Buf8(_), $.next_out = 0, $.avail_out = _), tt = zlib_inflate.inflate($, c$1.Z_NO_FLUSH), tt === c$1.Z_NEED_DICT && _e && (tt = zlib_inflate.inflateSetDictionary(this.strm, _e)), tt === c$1.Z_BUF_ERROR && st === !0 && (tt = c$1.Z_OK, st = !1), tt !== c$1.Z_STREAM_END && tt !== c$1.Z_OK)
76914
76914
  return this.onEnd(tt), this.ended = !0, !1;
@@ -85575,7 +85575,7 @@ function _typeof$q(a) {
85575
85575
  return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
85576
85576
  }, _typeof$q(a);
85577
85577
  }
85578
- function toPrimitive$3(a, s) {
85578
+ function toPrimitive$4(a, s) {
85579
85579
  if (_typeof$q(a) != "object" || !a)
85580
85580
  return a;
85581
85581
  var $ = a[Symbol.toPrimitive];
@@ -85588,7 +85588,7 @@ function toPrimitive$3(a, s) {
85588
85588
  return (s === "string" ? String : Number)(a);
85589
85589
  }
85590
85590
  function toPropertyKey$1(a) {
85591
- var s = toPrimitive$3(a, "string");
85591
+ var s = toPrimitive$4(a, "string");
85592
85592
  return _typeof$q(s) == "symbol" ? s : String(s);
85593
85593
  }
85594
85594
  function _defineProperty$c(a, s, $) {
@@ -137226,11 +137226,11 @@ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\
137226
137226
  }), s;
137227
137227
  });
137228
137228
  const stringToPath$1 = stringToPath;
137229
- function toString$2(a) {
137229
+ function toString$3(a) {
137230
137230
  return a == null ? "" : baseToString(a);
137231
137231
  }
137232
137232
  function castPath(a, s) {
137233
- return isArray$5(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$2(a));
137233
+ return isArray$5(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$3(a));
137234
137234
  }
137235
137235
  var INFINITY = 1 / 0;
137236
137236
  function toKey(a) {
@@ -137776,7 +137776,7 @@ var objectProto$2 = Object.prototype, hasOwnProperty$2 = objectProto$2.hasOwnPro
137776
137776
  function baseHas(a, s) {
137777
137777
  return a != null && hasOwnProperty$2.call(a, s);
137778
137778
  }
137779
- function has$5(a, s) {
137779
+ function has$6(a, s) {
137780
137780
  return a != null && hasPath(a, s, baseHas);
137781
137781
  }
137782
137782
  function parent(a, s) {
@@ -138026,7 +138026,7 @@ var FRContext = /* @__PURE__ */ reactExports.createContext(null), ConfigContext
138026
138026
  validateTrigger: It,
138027
138027
  antdVersion: yt
138028
138028
  };
138029
- }, _set = set, _get = get, _cloneDeep = cloneDeep, _has$1 = has$5, _some = some$1, _isMatch = isMatch, isObject$6 = function a(s) {
138029
+ }, _set = set, _get = get, _cloneDeep = cloneDeep, _has$1 = has$6, _some = some$1, _isMatch = isMatch, isObject$6 = function a(s) {
138030
138030
  var $ = Object.prototype.toString.call(s);
138031
138031
  return $.indexOf("Object") > -1;
138032
138032
  }, isArray$3 = function a(s) {
@@ -142345,25 +142345,17 @@ var _coreExports = _core.exports, _aFunction = function(a) {
142345
142345
  if (!isObject$5(a))
142346
142346
  throw TypeError(a + " is not an object!");
142347
142347
  return a;
142348
- }, _fails, hasRequired_fails;
142349
- function require_fails() {
142350
- return hasRequired_fails || (hasRequired_fails = 1, _fails = function(a) {
142351
- try {
142352
- return !!a();
142353
- } catch {
142354
- return !0;
142355
- }
142356
- }), _fails;
142357
- }
142358
- var _descriptors, hasRequired_descriptors;
142359
- function require_descriptors() {
142360
- return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !require_fails()(function() {
142361
- return Object.defineProperty({}, "a", { get: function() {
142362
- return 7;
142363
- } }).a != 7;
142364
- })), _descriptors;
142365
- }
142366
- var _domCreate, hasRequired_domCreate;
142348
+ }, _fails = function(a) {
142349
+ try {
142350
+ return !!a();
142351
+ } catch {
142352
+ return !0;
142353
+ }
142354
+ }, _descriptors = !_fails(function() {
142355
+ return Object.defineProperty({}, "a", { get: function() {
142356
+ return 7;
142357
+ } }).a != 7;
142358
+ }), _domCreate, hasRequired_domCreate;
142367
142359
  function require_domCreate() {
142368
142360
  if (hasRequired_domCreate)
142369
142361
  return _domCreate;
@@ -142373,38 +142365,28 @@ function require_domCreate() {
142373
142365
  return $ ? s.createElement(_) : {};
142374
142366
  }, _domCreate;
142375
142367
  }
142376
- var _ie8DomDefine, hasRequired_ie8DomDefine;
142377
- function require_ie8DomDefine() {
142378
- return hasRequired_ie8DomDefine || (hasRequired_ie8DomDefine = 1, _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
142379
- return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
142380
- return 7;
142381
- } }).a != 7;
142382
- })), _ie8DomDefine;
142383
- }
142384
- var isObject$4 = _isObject, _toPrimitive$5 = function(a, s) {
142368
+ var _ie8DomDefine = !_descriptors && !_fails(function() {
142369
+ return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
142370
+ return 7;
142371
+ } }).a != 7;
142372
+ }), isObject$4 = _isObject, _toPrimitive$5 = function(a, s) {
142385
142373
  if (!isObject$4(a))
142386
142374
  return a;
142387
142375
  var $, _;
142388
142376
  if (s && typeof ($ = a.toString) == "function" && !isObject$4(_ = $.call(a)) || typeof ($ = a.valueOf) == "function" && !isObject$4(_ = $.call(a)) || !s && typeof ($ = a.toString) == "function" && !isObject$4(_ = $.call(a)))
142389
142377
  return _;
142390
142378
  throw TypeError("Can't convert object to primitive value");
142391
- }, hasRequired_objectDp;
142392
- function require_objectDp() {
142393
- if (hasRequired_objectDp)
142394
- return _objectDp;
142395
- hasRequired_objectDp = 1;
142396
- var a = _anObject, s = require_ie8DomDefine(), $ = _toPrimitive$5, _ = Object.defineProperty;
142397
- return _objectDp.f = require_descriptors() ? Object.defineProperty : function(tt, nt, at) {
142398
- if (a(tt), nt = $(nt, !0), a(at), s)
142399
- try {
142400
- return _(tt, nt, at);
142401
- } catch {
142402
- }
142403
- if ("get" in at || "set" in at)
142404
- throw TypeError("Accessors not supported!");
142405
- return "value" in at && (tt[nt] = at.value), tt;
142406
- }, _objectDp;
142407
- }
142379
+ }, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$3 = _toPrimitive$5, dP$3 = Object.defineProperty;
142380
+ _objectDp.f = _descriptors ? Object.defineProperty : function a(s, $, _) {
142381
+ if (anObject$3(s), $ = toPrimitive$3($, !0), anObject$3(_), IE8_DOM_DEFINE$1)
142382
+ try {
142383
+ return dP$3(s, $, _);
142384
+ } catch {
142385
+ }
142386
+ if ("get" in _ || "set" in _)
142387
+ throw TypeError("Accessors not supported!");
142388
+ return "value" in _ && (s[$] = _.value), s;
142389
+ };
142408
142390
  var _propertyDesc = function(a, s) {
142409
142391
  return {
142410
142392
  enumerable: !(a & 1),
@@ -142412,17 +142394,17 @@ var _propertyDesc = function(a, s) {
142412
142394
  writable: !(a & 4),
142413
142395
  value: s
142414
142396
  };
142415
- }, dP$2 = require_objectDp(), createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, $) {
142397
+ }, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(a, s, $) {
142416
142398
  return dP$2.f(a, s, createDesc$2(1, $));
142417
142399
  } : function(a, s, $) {
142418
142400
  return a[s] = $, a;
142419
142401
  }, hasOwnProperty = {}.hasOwnProperty, _has = function(a, s) {
142420
142402
  return hasOwnProperty.call(a, s);
142421
- }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$4 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(a, s, $) {
142403
+ }, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(a, s, $) {
142422
142404
  var _ = a & $export$5.F, _e = a & $export$5.G, tt = a & $export$5.S, nt = a & $export$5.P, at = a & $export$5.B, ot = a & $export$5.W, rt = _e ? core$2 : core$2[s] || (core$2[s] = {}), st = rt[PROTOTYPE$2], lt = _e ? global$4 : tt ? global$4[s] : (global$4[s] || {})[PROTOTYPE$2], et, it, ut;
142423
142405
  _e && ($ = s);
142424
142406
  for (et in $)
142425
- it = !_ && lt && lt[et] !== void 0, !(it && has$4(rt, et)) && (ut = it ? lt[et] : $[et], rt[et] = _e && typeof lt[et] != "function" ? $[et] : at && it ? ctx(ut, global$4) : ot && lt[et] == ut ? function(ft) {
142407
+ it = !_ && lt && lt[et] !== void 0, !(it && has$5(rt, et)) && (ut = it ? lt[et] : $[et], rt[et] = _e && typeof lt[et] != "function" ? $[et] : at && it ? ctx(ut, global$4) : ot && lt[et] == ut ? function(ft) {
142426
142408
  var ht = function(dt, gt, pt) {
142427
142409
  if (this instanceof ft) {
142428
142410
  switch (arguments.length) {
@@ -142448,80 +142430,44 @@ $export$5.B = 16;
142448
142430
  $export$5.W = 32;
142449
142431
  $export$5.U = 64;
142450
142432
  $export$5.R = 128;
142451
- var _export = $export$5, _cof, hasRequired_cof;
142452
- function require_cof() {
142453
- if (hasRequired_cof)
142454
- return _cof;
142455
- hasRequired_cof = 1;
142456
- var a = {}.toString;
142457
- return _cof = function(s) {
142458
- return a.call(s).slice(8, -1);
142459
- }, _cof;
142460
- }
142461
- var _iobject, hasRequired_iobject;
142433
+ var _export = $export$5, toString$2 = {}.toString, _cof = function(a) {
142434
+ return toString$2.call(a).slice(8, -1);
142435
+ }, _iobject, hasRequired_iobject;
142462
142436
  function require_iobject() {
142463
142437
  if (hasRequired_iobject)
142464
142438
  return _iobject;
142465
142439
  hasRequired_iobject = 1;
142466
- var a = require_cof();
142440
+ var a = _cof;
142467
142441
  return _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(s) {
142468
142442
  return a(s) == "String" ? s.split("") : Object(s);
142469
142443
  }, _iobject;
142470
142444
  }
142471
- var _defined, hasRequired_defined;
142472
- function require_defined() {
142473
- return hasRequired_defined || (hasRequired_defined = 1, _defined = function(a) {
142474
- if (a == null)
142475
- throw TypeError("Can't call method on " + a);
142476
- return a;
142477
- }), _defined;
142478
- }
142479
- var IObject = require_iobject(), defined$1 = require_defined(), _toIobject = function(a) {
142480
- return IObject(defined$1(a));
142445
+ var _defined = function(a) {
142446
+ if (a == null)
142447
+ throw TypeError("Can't call method on " + a);
142448
+ return a;
142449
+ }, IObject = require_iobject(), defined$2 = _defined, _toIobject = function(a) {
142450
+ return IObject(defined$2(a));
142481
142451
  }, ceil = Math.ceil, floor = Math.floor, _toInteger = function(a) {
142482
142452
  return isNaN(a = +a) ? 0 : (a > 0 ? floor : ceil)(a);
142483
- }, _toLength, hasRequired_toLength;
142484
- function require_toLength() {
142485
- if (hasRequired_toLength)
142486
- return _toLength;
142487
- hasRequired_toLength = 1;
142488
- var a = _toInteger, s = Math.min;
142489
- return _toLength = function($) {
142490
- return $ > 0 ? s(a($), 9007199254740991) : 0;
142491
- }, _toLength;
142492
- }
142493
- var _toAbsoluteIndex, hasRequired_toAbsoluteIndex;
142494
- function require_toAbsoluteIndex() {
142495
- if (hasRequired_toAbsoluteIndex)
142496
- return _toAbsoluteIndex;
142497
- hasRequired_toAbsoluteIndex = 1;
142498
- var a = _toInteger, s = Math.max, $ = Math.min;
142499
- return _toAbsoluteIndex = function(_, _e) {
142500
- return _ = a(_), _ < 0 ? s(_ + _e, 0) : $(_, _e);
142501
- }, _toAbsoluteIndex;
142502
- }
142503
- var _arrayIncludes, hasRequired_arrayIncludes;
142504
- function require_arrayIncludes() {
142505
- if (hasRequired_arrayIncludes)
142506
- return _arrayIncludes;
142507
- hasRequired_arrayIncludes = 1;
142508
- var a = _toIobject, s = require_toLength(), $ = require_toAbsoluteIndex();
142509
- return _arrayIncludes = function(_) {
142510
- return function(_e, tt, nt) {
142511
- var at = a(_e), ot = s(at.length), rt = $(nt, ot), st;
142512
- if (_ && tt != tt) {
142513
- for (; ot > rt; )
142514
- if (st = at[rt++], st != st)
142515
- return !0;
142516
- } else
142517
- for (; ot > rt; rt++)
142518
- if ((_ || rt in at) && at[rt] === tt)
142519
- return _ || rt || 0;
142520
- return !_ && -1;
142521
- };
142522
- }, _arrayIncludes;
142523
- }
142524
- var _shared = { exports: {} }, _library = !0, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
142453
+ }, toInteger$2 = _toInteger, min$1 = Math.min, _toLength = function(a) {
142454
+ return a > 0 ? min$1(toInteger$2(a), 9007199254740991) : 0;
142455
+ }, toInteger$1 = _toInteger, max = Math.max, min = Math.min, _toAbsoluteIndex = function(a, s) {
142456
+ return a = toInteger$1(a), a < 0 ? max(a + s, 0) : min(a, s);
142457
+ }, toIObject$5 = _toIobject, toLength = _toLength, toAbsoluteIndex = _toAbsoluteIndex, _arrayIncludes = function(a) {
142458
+ return function(s, $, _) {
142459
+ var _e = toIObject$5(s), tt = toLength(_e.length), nt = toAbsoluteIndex(_, tt), at;
142460
+ if (a && $ != $) {
142461
+ for (; tt > nt; )
142462
+ if (at = _e[nt++], at != at)
142463
+ return !0;
142464
+ } else
142465
+ for (; tt > nt; nt++)
142466
+ if ((a || nt in _e) && _e[nt] === $)
142467
+ return a || nt || 0;
142468
+ return !a && -1;
142469
+ };
142470
+ }, _shared = { exports: {} }, _library = !0, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
142525
142471
  (_shared.exports = function(a, s) {
142526
142472
  return store$1[a] || (store$1[a] = s !== void 0 ? s : {});
142527
142473
  })("versions", []).push({
@@ -142533,56 +142479,30 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
142533
142479
  return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
142534
142480
  }, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
142535
142481
  return shared$1[a] || (shared$1[a] = uid$2(a));
142536
- }, _objectKeysInternal, hasRequired_objectKeysInternal;
142537
- function require_objectKeysInternal() {
142538
- if (hasRequired_objectKeysInternal)
142539
- return _objectKeysInternal;
142540
- hasRequired_objectKeysInternal = 1;
142541
- var a = _has, s = _toIobject, $ = require_arrayIncludes()(!1), _ = _sharedKey("IE_PROTO");
142542
- return _objectKeysInternal = function(_e, tt) {
142543
- var nt = s(_e), at = 0, ot = [], rt;
142544
- for (rt in nt)
142545
- rt != _ && a(nt, rt) && ot.push(rt);
142546
- for (; tt.length > at; )
142547
- a(nt, rt = tt[at++]) && (~$(ot, rt) || ot.push(rt));
142548
- return ot;
142549
- }, _objectKeysInternal;
142550
- }
142551
- var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
142552
- function require_objectKeys() {
142553
- if (hasRequired_objectKeys)
142554
- return _objectKeys;
142555
- hasRequired_objectKeys = 1;
142556
- var a = require_objectKeysInternal(), s = _enumBugKeys;
142557
- return _objectKeys = Object.keys || function(_) {
142558
- return a(_, s);
142559
- }, _objectKeys;
142560
- }
142561
- var _objectGops = {}, hasRequired_objectGops;
142562
- function require_objectGops() {
142563
- return hasRequired_objectGops || (hasRequired_objectGops = 1, _objectGops.f = Object.getOwnPropertySymbols), _objectGops;
142564
- }
142482
+ }, has$4 = _has, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$1 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(a, s) {
142483
+ var $ = toIObject$4(a), _ = 0, _e = [], tt;
142484
+ for (tt in $)
142485
+ tt != IE_PROTO$1 && has$4($, tt) && _e.push(tt);
142486
+ for (; s.length > _; )
142487
+ has$4($, tt = s[_++]) && (~arrayIndexOf(_e, tt) || _e.push(tt));
142488
+ return _e;
142489
+ }, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$2 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function a(s) {
142490
+ return $keys$2(s, enumBugKeys$1);
142491
+ }, _objectGops = {};
142492
+ _objectGops.f = Object.getOwnPropertySymbols;
142565
142493
  var _objectPie = {}, hasRequired_objectPie;
142566
142494
  function require_objectPie() {
142567
142495
  return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
142568
142496
  }
142569
- var _toObject, hasRequired_toObject;
142570
- function require_toObject() {
142571
- if (hasRequired_toObject)
142572
- return _toObject;
142573
- hasRequired_toObject = 1;
142574
- var a = require_defined();
142575
- return _toObject = function(s) {
142576
- return Object(a(s));
142577
- }, _toObject;
142578
- }
142579
- var _objectAssign, hasRequired_objectAssign;
142497
+ var defined$1 = _defined, _toObject = function(a) {
142498
+ return Object(defined$1(a));
142499
+ }, _objectAssign, hasRequired_objectAssign;
142580
142500
  function require_objectAssign() {
142581
142501
  if (hasRequired_objectAssign)
142582
142502
  return _objectAssign;
142583
142503
  hasRequired_objectAssign = 1;
142584
- var a = require_descriptors(), s = require_objectKeys(), $ = require_objectGops(), _ = require_objectPie(), _e = require_toObject(), tt = require_iobject(), nt = Object.assign;
142585
- return _objectAssign = !nt || require_fails()(function() {
142504
+ var a = _descriptors, s = _objectKeys, $ = _objectGops, _ = require_objectPie(), _e = _toObject, tt = require_iobject(), nt = Object.assign;
142505
+ return _objectAssign = !nt || _fails(function() {
142586
142506
  var at = {}, ot = {}, rt = Symbol(), st = "abcdefghijklmnopqrst";
142587
142507
  return at[rt] = 7, st.split("").forEach(function(lt) {
142588
142508
  ot[lt] = lt;
@@ -143243,7 +143163,7 @@ var _default$g = function(a, s) {
143243
143163
  if (!(a instanceof s))
143244
143164
  throw new TypeError("Cannot call a class as a function");
143245
143165
  }, $export$3 = _export;
143246
- $export$3($export$3.S + $export$3.F * !require_descriptors(), "Object", { defineProperty: require_objectDp().f });
143166
+ $export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
143247
143167
  var $Object$1 = _coreExports.Object, defineProperty$3 = function a(s, $, _) {
143248
143168
  return $Object$1.defineProperty(s, $, _);
143249
143169
  }, defineProperty$2 = { default: defineProperty$3, __esModule: !0 }, _defineProperty$8 = defineProperty$2, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
@@ -143260,12 +143180,12 @@ var _default$f = /* @__PURE__ */ function() {
143260
143180
  return function(s, $, _) {
143261
143181
  return $ && a(s.prototype, $), _ && a(s, _), s;
143262
143182
  };
143263
- }(), _typeof$j = {}, toInteger = _toInteger, defined = require_defined(), _stringAt = function(a) {
143183
+ }(), _typeof$j = {}, toInteger = _toInteger, defined = _defined, _stringAt = function(a) {
143264
143184
  return function(s, $) {
143265
143185
  var _ = String(defined(s)), _e = toInteger($), tt = _.length, nt, at;
143266
143186
  return _e < 0 || _e >= tt ? a ? "" : void 0 : (nt = _.charCodeAt(_e), nt < 55296 || nt > 56319 || _e + 1 === tt || (at = _.charCodeAt(_e + 1)) < 56320 || at > 57343 ? a ? _.charAt(_e) : nt : a ? _.slice(_e, _e + 2) : (nt - 55296 << 10) + (at - 56320) + 65536);
143267
143187
  };
143268
- }, _redefine = _hide, _iterators = {}, dP$1 = require_objectDp(), anObject$2 = _anObject, getKeys$2 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, $) {
143188
+ }, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$2 = _objectKeys, _objectDps = _descriptors ? Object.defineProperties : function a(s, $) {
143269
143189
  anObject$2(s);
143270
143190
  for (var _ = getKeys$2($), _e = _.length, tt = 0, nt; _e > tt; )
143271
143191
  dP$1.f(s, nt = _[tt++], $[nt]);
@@ -143291,7 +143211,7 @@ var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PRO
143291
143211
  return store[a] || (store[a] = USE_SYMBOL && Symbol$1[a] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + a));
143292
143212
  };
143293
143213
  $exports.store = store;
143294
- var _wksExports = _wks.exports, def = require_objectDp().f, has$3 = _has, TAG = _wksExports("toStringTag"), _setToStringTag = function(a, s, $) {
143214
+ var _wksExports = _wks.exports, def = _objectDp.f, has$3 = _has, TAG = _wksExports("toStringTag"), _setToStringTag = function(a, s, $) {
143295
143215
  a && !has$3(a = $ ? a : a.prototype, TAG) && def(a, TAG, { configurable: !0, value: s });
143296
143216
  }, _iterCreate, hasRequired_iterCreate;
143297
143217
  function require_iterCreate() {
@@ -143310,7 +143230,7 @@ function require_objectGpo() {
143310
143230
  if (hasRequired_objectGpo)
143311
143231
  return _objectGpo;
143312
143232
  hasRequired_objectGpo = 1;
143313
- var a = _has, s = require_toObject(), $ = _sharedKey("IE_PROTO"), _ = Object.prototype;
143233
+ var a = _has, s = _toObject, $ = _sharedKey("IE_PROTO"), _ = Object.prototype;
143314
143234
  return _objectGpo = Object.getPrototypeOf || function(_e) {
143315
143235
  return _e = s(_e), a(_e, $) ? _e[$] : typeof _e.constructor == "function" && _e instanceof _e.constructor ? _e.constructor.prototype : _e instanceof Object ? _ : null;
143316
143236
  }, _objectGpo;
@@ -143381,9 +143301,9 @@ for (var i = 0; i < DOMIterables.length; i++) {
143381
143301
  }
143382
143302
  var _wksExt = {};
143383
143303
  _wksExt.f = _wksExports;
143384
- var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: !0 }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$3 = _isObject, has$2 = _has, setDesc = require_objectDp().f, id = 0, isExtensible = Object.isExtensible || function() {
143304
+ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: !0 }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$3 = _isObject, has$2 = _has, setDesc = _objectDp.f, id = 0, isExtensible = Object.isExtensible || function() {
143385
143305
  return !0;
143386
- }, FREEZE = !require_fails()(function() {
143306
+ }, FREEZE = !_fails(function() {
143387
143307
  return isExtensible(Object.preventExtensions({}));
143388
143308
  }), setMeta = function(a) {
143389
143309
  setDesc(a, META$1, { value: {
@@ -143420,18 +143340,18 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
143420
143340
  fastKey,
143421
143341
  getWeak,
143422
143342
  onFreeze
143423
- }, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty$1 = require_objectDp().f, _wksDefine = function(a) {
143343
+ }, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty$1 = _objectDp.f, _wksDefine = function(a) {
143424
143344
  var s = core.Symbol || (core.Symbol = {});
143425
143345
  a.charAt(0) != "_" && !(a in s) && defineProperty$1(s, a, { value: wksExt$1.f(a) });
143426
- }, getKeys$1 = require_objectKeys(), gOPS = require_objectGops(), pIE$1 = require_objectPie(), _enumKeys = function(a) {
143346
+ }, getKeys$1 = _objectKeys, gOPS = _objectGops, pIE$1 = require_objectPie(), _enumKeys = function(a) {
143427
143347
  var s = getKeys$1(a), $ = gOPS.f;
143428
143348
  if ($)
143429
143349
  for (var _ = $(a), _e = pIE$1.f, tt = 0, nt; _.length > tt; )
143430
143350
  _e.call(a, nt = _[tt++]) && s.push(nt);
143431
143351
  return s;
143432
- }, cof = require_cof(), _isArray = Array.isArray || function a(s) {
143352
+ }, cof = _cof, _isArray = Array.isArray || function a(s) {
143433
143353
  return cof(s) == "Array";
143434
- }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = require_objectKeysInternal(), hiddenKeys = _enumBugKeys.concat("length", "prototype");
143354
+ }, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = _objectKeysInternal, hiddenKeys = _enumBugKeys.concat("length", "prototype");
143435
143355
  _objectGopn.f = Object.getOwnPropertyNames || function a(s) {
143436
143356
  return $keys$1(s, hiddenKeys);
143437
143357
  };
@@ -143445,8 +143365,8 @@ var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString$1 = {}.toString,
143445
143365
  _objectGopnExt.f = function a(s) {
143446
143366
  return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
143447
143367
  };
143448
- var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$2 = _toPrimitive$5, has$1 = _has, IE8_DOM_DEFINE = require_ie8DomDefine(), gOPD$1 = Object.getOwnPropertyDescriptor;
143449
- _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, $) {
143368
+ var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$2 = _toPrimitive$5, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
143369
+ _objectGopd.f = _descriptors ? gOPD$1 : function a(s, $) {
143450
143370
  if (s = toIObject$1(s), $ = toPrimitive$2($, !0), IE8_DOM_DEFINE)
143451
143371
  try {
143452
143372
  return gOPD$1(s, $);
@@ -143455,7 +143375,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, $) {
143455
143375
  if (has$1(s, $))
143456
143376
  return createDesc$1(!pIE.f.call(s, $), s[$]);
143457
143377
  };
143458
- var global$1 = _globalExports, has = _has, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = require_fails(), shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$2 = _isObject, toObject = require_toObject(), toIObject = _toIobject, toPrimitive$1 = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = require_objectGops(), $DP = require_objectDp(), $keys = require_objectKeys(), gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
143378
+ var global$1 = _globalExports, has = _has, DESCRIPTORS = _descriptors, $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$2 = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive$1 = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = _objectDp, $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
143459
143379
  return _create$1(dP({}, "a", {
143460
143380
  get: function() {
143461
143381
  return dP(this, "a", { value: 7 }).a;
@@ -151944,7 +151864,7 @@ const FormRender = withProvider(FormCore, defaultWidgets), svgBaseProp = {
151944
151864
  );
151945
151865
  }) }) });
151946
151866
  }, ButtonGroupWidget$1 = ButtonGroupWidget, { Text: Text$2 } = Typography$1, DetailView = (a) => {
151947
- const { token: s } = theme.useToken(), { size: $, schemas: _, changeSchemas: _e, deselectSchema: tt, activeSchema: nt } = a, at = useForm(), ot = reactExports.useContext(I18nContext), rt = reactExports.useContext(PluginsRegistry), st = reactExports.useContext(OptionsContext), [lt, et] = reactExports.useState({});
151867
+ const { token: s } = theme.useToken(), { size: $, schemasList: _, changeSchemas: _e, deselectSchema: tt, activeSchema: nt } = a, at = useForm(), ot = reactExports.useContext(I18nContext), rt = reactExports.useContext(PluginsRegistry), st = reactExports.useContext(OptionsContext), [lt, et] = reactExports.useState({});
151948
151868
  reactExports.useEffect(() => {
151949
151869
  const ct = {
151950
151870
  AlignWidget: (vt) => /* @__PURE__ */ jsxRuntimeExports.jsx(AlignWidget$1, { ...vt, ...a, options: st }),
@@ -151973,9 +151893,10 @@ const FormRender = withProvider(FormCore, defaultWidgets), svgBaseProp = {
151973
151893
  ct.x = ct.position.x, ct.y = ct.position.y, delete ct.position, at.setValues(ct);
151974
151894
  }, [nt, at]), reactExports.useEffect(() => at.resetFields(), [nt.id]), reactExports.useEffect(() => {
151975
151895
  it.current = (ct) => {
151976
- for (const vt of Object.values(_))
151977
- if (vt.key === ct && vt.id !== nt.id)
151978
- return !1;
151896
+ for (const vt of _)
151897
+ for (const At of Object.values(vt))
151898
+ if (At.key === ct && At.id !== nt.id)
151899
+ return !1;
151979
151900
  return !0;
151980
151901
  };
151981
151902
  }, [_, nt]);
@@ -152065,16 +151986,16 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
152065
151986
  }
152066
151987
  };
152067
151988
  if (typeof dt == "function") {
152068
- const ct = dt({
152069
- ...a,
151989
+ const { schemasList: ct, ...vt } = a, At = dt({
151990
+ ...vt,
152070
151991
  options: st,
152071
151992
  theme: s,
152072
151993
  i18n: ot
152073
151994
  }) || {};
152074
151995
  mt.properties = {
152075
151996
  ...mt.properties,
152076
- ...Object.keys(ct).length === 0 ? {} : { "--": { type: "void", widget: "Divider" } },
152077
- ...ct
151997
+ ...Object.keys(At).length === 0 ? {} : { "--": { type: "void", widget: "Divider" } },
151998
+ ...At
152078
151999
  };
152079
152000
  } else {
152080
152001
  const ct = dt || {};
@@ -162433,8 +162354,8 @@ const Guides$2 = Guides$1, guideStyle = (a, s, $, _) => ({
162433
162354
  dt(Dt), Ct(), pt(0), (Ut = at.current) != null && Ut.scroll && at.current.scroll({ top: 0, behavior: "smooth" });
162434
162355
  }, []), jt = (Tt) => {
162435
162356
  const [Dt, Ut, Vt, Qt] = isBlankPdf(a.basePdf) ? a.basePdf.padding : [0, 0, 0, 0], qt = St[gt], Zt = (rr) => {
162436
- let Yt = ht[gt].length + 1, Kt = rr + Yt;
162437
- for (; ht[gt].find((nr) => nr.key === Kt); )
162357
+ let Yt = ht.reduce((nr, tr) => nr + tr.length, 0), Kt = rr + Yt;
162358
+ for (; ht.some((nr) => nr.find((tr) => tr.key === Kt)); )
162438
162359
  Yt++, Kt = rr + Yt;
162439
162360
  return Kt;
162440
162361
  }, ar = (rr, Yt, Kt) => Math.min(Math.max(rr, Yt), Kt), Jt = {
@@ -162522,6 +162443,7 @@ const Guides$2 = Guides$1, guideStyle = (a, s, $, _) => ({
162522
162443
  size: s,
162523
162444
  pageSize: St[gt] ?? [],
162524
162445
  activeElements: ut,
162446
+ schemasList: ht,
162525
162447
  schemas: ht[gt] ?? [],
162526
162448
  changeSchemas: Rt,
162527
162449
  onSortEnd: Ht,