@pdfme/ui 4.2.5-dev.3 → 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 +92 -160
- package/dist/index.umd.js +7 -7
- package/dist/types/components/Designer/RightSidebar/DetailView/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/Designer/RightSidebar/DetailView/index.tsx +11 -7
- package/src/components/Designer/index.tsx +3 -2
- package/src/types.ts +1 -0
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$
|
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$
|
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$
|
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$
|
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$
|
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$
|
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;
|
@@ -137226,11 +137226,11 @@ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\
|
|
137226
137226
|
}), s;
|
137227
137227
|
});
|
137228
137228
|
const stringToPath$1 = stringToPath;
|
137229
|
-
function toString$
|
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$
|
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$
|
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$
|
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
|
142349
|
-
|
142350
|
-
|
142351
|
-
|
142352
|
-
|
142353
|
-
|
142354
|
-
|
142355
|
-
|
142356
|
-
|
142357
|
-
}
|
142358
|
-
|
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,7 +142365,7 @@ function require_domCreate() {
|
|
142373
142365
|
return $ ? s.createElement(_) : {};
|
142374
142366
|
}, _domCreate;
|
142375
142367
|
}
|
142376
|
-
var _ie8DomDefine = !
|
142368
|
+
var _ie8DomDefine = !_descriptors && !_fails(function() {
|
142377
142369
|
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
142378
142370
|
return 7;
|
142379
142371
|
} }).a != 7;
|
@@ -142385,7 +142377,7 @@ var _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
|
|
142385
142377
|
return _;
|
142386
142378
|
throw TypeError("Can't convert object to primitive value");
|
142387
142379
|
}, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$3 = _toPrimitive$5, dP$3 = Object.defineProperty;
|
142388
|
-
_objectDp.f =
|
142380
|
+
_objectDp.f = _descriptors ? Object.defineProperty : function a(s, $, _) {
|
142389
142381
|
if (anObject$3(s), $ = toPrimitive$3($, !0), anObject$3(_), IE8_DOM_DEFINE$1)
|
142390
142382
|
try {
|
142391
142383
|
return dP$3(s, $, _);
|
@@ -142402,17 +142394,17 @@ var _propertyDesc = function(a, s) {
|
|
142402
142394
|
writable: !(a & 4),
|
142403
142395
|
value: s
|
142404
142396
|
};
|
142405
|
-
}, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide =
|
142397
|
+
}, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = _descriptors ? function(a, s, $) {
|
142406
142398
|
return dP$2.f(a, s, createDesc$2(1, $));
|
142407
142399
|
} : function(a, s, $) {
|
142408
142400
|
return a[s] = $, a;
|
142409
142401
|
}, hasOwnProperty = {}.hasOwnProperty, _has = function(a, s) {
|
142410
142402
|
return hasOwnProperty.call(a, s);
|
142411
|
-
}, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$
|
142403
|
+
}, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$1 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$5 = function(a, s, $) {
|
142412
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;
|
142413
142405
|
_e && ($ = s);
|
142414
142406
|
for (et in $)
|
142415
|
-
it = !_ && lt && lt[et] !== void 0, !(it && has$
|
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) {
|
142416
142408
|
var ht = function(dt, gt, pt) {
|
142417
142409
|
if (this instanceof ft) {
|
142418
142410
|
switch (arguments.length) {
|
@@ -142438,80 +142430,44 @@ $export$5.B = 16;
|
|
142438
142430
|
$export$5.W = 32;
|
142439
142431
|
$export$5.U = 64;
|
142440
142432
|
$export$5.R = 128;
|
142441
|
-
var _export = $export$5,
|
142442
|
-
|
142443
|
-
|
142444
|
-
return _cof;
|
142445
|
-
hasRequired_cof = 1;
|
142446
|
-
var a = {}.toString;
|
142447
|
-
return _cof = function(s) {
|
142448
|
-
return a.call(s).slice(8, -1);
|
142449
|
-
}, _cof;
|
142450
|
-
}
|
142451
|
-
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;
|
142452
142436
|
function require_iobject() {
|
142453
142437
|
if (hasRequired_iobject)
|
142454
142438
|
return _iobject;
|
142455
142439
|
hasRequired_iobject = 1;
|
142456
|
-
var a =
|
142440
|
+
var a = _cof;
|
142457
142441
|
return _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(s) {
|
142458
142442
|
return a(s) == "String" ? s.split("") : Object(s);
|
142459
142443
|
}, _iobject;
|
142460
142444
|
}
|
142461
|
-
var _defined
|
142462
|
-
|
142463
|
-
|
142464
|
-
|
142465
|
-
|
142466
|
-
|
142467
|
-
}), _defined;
|
142468
|
-
}
|
142469
|
-
var IObject = require_iobject(), defined$1 = require_defined(), _toIobject = function(a) {
|
142470
|
-
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));
|
142471
142451
|
}, ceil = Math.ceil, floor = Math.floor, _toInteger = function(a) {
|
142472
142452
|
return isNaN(a = +a) ? 0 : (a > 0 ? floor : ceil)(a);
|
142473
|
-
},
|
142474
|
-
|
142475
|
-
|
142476
|
-
|
142477
|
-
|
142478
|
-
|
142479
|
-
|
142480
|
-
|
142481
|
-
|
142482
|
-
|
142483
|
-
|
142484
|
-
|
142485
|
-
|
142486
|
-
|
142487
|
-
|
142488
|
-
|
142489
|
-
|
142490
|
-
|
142491
|
-
}, _toAbsoluteIndex;
|
142492
|
-
}
|
142493
|
-
var _arrayIncludes, hasRequired_arrayIncludes;
|
142494
|
-
function require_arrayIncludes() {
|
142495
|
-
if (hasRequired_arrayIncludes)
|
142496
|
-
return _arrayIncludes;
|
142497
|
-
hasRequired_arrayIncludes = 1;
|
142498
|
-
var a = _toIobject, s = require_toLength(), $ = require_toAbsoluteIndex();
|
142499
|
-
return _arrayIncludes = function(_) {
|
142500
|
-
return function(_e, tt, nt) {
|
142501
|
-
var at = a(_e), ot = s(at.length), rt = $(nt, ot), st;
|
142502
|
-
if (_ && tt != tt) {
|
142503
|
-
for (; ot > rt; )
|
142504
|
-
if (st = at[rt++], st != st)
|
142505
|
-
return !0;
|
142506
|
-
} else
|
142507
|
-
for (; ot > rt; rt++)
|
142508
|
-
if ((_ || rt in at) && at[rt] === tt)
|
142509
|
-
return _ || rt || 0;
|
142510
|
-
return !_ && -1;
|
142511
|
-
};
|
142512
|
-
}, _arrayIncludes;
|
142513
|
-
}
|
142514
|
-
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] = {});
|
142515
142471
|
(_shared.exports = function(a, s) {
|
142516
142472
|
return store$1[a] || (store$1[a] = s !== void 0 ? s : {});
|
142517
142473
|
})("versions", []).push({
|
@@ -142523,56 +142479,30 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
|
|
142523
142479
|
return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
|
142524
142480
|
}, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
|
142525
142481
|
return shared$1[a] || (shared$1[a] = uid$2(a));
|
142526
|
-
}, _objectKeysInternal,
|
142527
|
-
|
142528
|
-
|
142529
|
-
|
142530
|
-
|
142531
|
-
|
142532
|
-
return
|
142533
|
-
|
142534
|
-
|
142535
|
-
|
142536
|
-
|
142537
|
-
a(nt, rt = tt[at++]) && (~$(ot, rt) || ot.push(rt));
|
142538
|
-
return ot;
|
142539
|
-
}, _objectKeysInternal;
|
142540
|
-
}
|
142541
|
-
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
|
142542
|
-
function require_objectKeys() {
|
142543
|
-
if (hasRequired_objectKeys)
|
142544
|
-
return _objectKeys;
|
142545
|
-
hasRequired_objectKeys = 1;
|
142546
|
-
var a = require_objectKeysInternal(), s = _enumBugKeys;
|
142547
|
-
return _objectKeys = Object.keys || function(_) {
|
142548
|
-
return a(_, s);
|
142549
|
-
}, _objectKeys;
|
142550
|
-
}
|
142551
|
-
var _objectGops = {}, hasRequired_objectGops;
|
142552
|
-
function require_objectGops() {
|
142553
|
-
return hasRequired_objectGops || (hasRequired_objectGops = 1, _objectGops.f = Object.getOwnPropertySymbols), _objectGops;
|
142554
|
-
}
|
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;
|
142555
142493
|
var _objectPie = {}, hasRequired_objectPie;
|
142556
142494
|
function require_objectPie() {
|
142557
142495
|
return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
|
142558
142496
|
}
|
142559
|
-
var
|
142560
|
-
|
142561
|
-
|
142562
|
-
return _toObject;
|
142563
|
-
hasRequired_toObject = 1;
|
142564
|
-
var a = require_defined();
|
142565
|
-
return _toObject = function(s) {
|
142566
|
-
return Object(a(s));
|
142567
|
-
}, _toObject;
|
142568
|
-
}
|
142569
|
-
var _objectAssign, hasRequired_objectAssign;
|
142497
|
+
var defined$1 = _defined, _toObject = function(a) {
|
142498
|
+
return Object(defined$1(a));
|
142499
|
+
}, _objectAssign, hasRequired_objectAssign;
|
142570
142500
|
function require_objectAssign() {
|
142571
142501
|
if (hasRequired_objectAssign)
|
142572
142502
|
return _objectAssign;
|
142573
142503
|
hasRequired_objectAssign = 1;
|
142574
|
-
var a =
|
142575
|
-
return _objectAssign = !nt ||
|
142504
|
+
var a = _descriptors, s = _objectKeys, $ = _objectGops, _ = require_objectPie(), _e = _toObject, tt = require_iobject(), nt = Object.assign;
|
142505
|
+
return _objectAssign = !nt || _fails(function() {
|
142576
142506
|
var at = {}, ot = {}, rt = Symbol(), st = "abcdefghijklmnopqrst";
|
142577
142507
|
return at[rt] = 7, st.split("").forEach(function(lt) {
|
142578
142508
|
ot[lt] = lt;
|
@@ -143233,7 +143163,7 @@ var _default$g = function(a, s) {
|
|
143233
143163
|
if (!(a instanceof s))
|
143234
143164
|
throw new TypeError("Cannot call a class as a function");
|
143235
143165
|
}, $export$3 = _export;
|
143236
|
-
$export$3($export$3.S + $export$3.F * !
|
143166
|
+
$export$3($export$3.S + $export$3.F * !_descriptors, "Object", { defineProperty: _objectDp.f });
|
143237
143167
|
var $Object$1 = _coreExports.Object, defineProperty$3 = function a(s, $, _) {
|
143238
143168
|
return $Object$1.defineProperty(s, $, _);
|
143239
143169
|
}, defineProperty$2 = { default: defineProperty$3, __esModule: !0 }, _defineProperty$8 = defineProperty$2, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
|
@@ -143250,12 +143180,12 @@ var _default$f = /* @__PURE__ */ function() {
|
|
143250
143180
|
return function(s, $, _) {
|
143251
143181
|
return $ && a(s.prototype, $), _ && a(s, _), s;
|
143252
143182
|
};
|
143253
|
-
}(), _typeof$j = {}, toInteger = _toInteger, defined =
|
143183
|
+
}(), _typeof$j = {}, toInteger = _toInteger, defined = _defined, _stringAt = function(a) {
|
143254
143184
|
return function(s, $) {
|
143255
143185
|
var _ = String(defined(s)), _e = toInteger($), tt = _.length, nt, at;
|
143256
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);
|
143257
143187
|
};
|
143258
|
-
}, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$2 =
|
143188
|
+
}, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$2 = _objectKeys, _objectDps = _descriptors ? Object.defineProperties : function a(s, $) {
|
143259
143189
|
anObject$2(s);
|
143260
143190
|
for (var _ = getKeys$2($), _e = _.length, tt = 0, nt; _e > tt; )
|
143261
143191
|
dP$1.f(s, nt = _[tt++], $[nt]);
|
@@ -143300,7 +143230,7 @@ function require_objectGpo() {
|
|
143300
143230
|
if (hasRequired_objectGpo)
|
143301
143231
|
return _objectGpo;
|
143302
143232
|
hasRequired_objectGpo = 1;
|
143303
|
-
var a = _has, s =
|
143233
|
+
var a = _has, s = _toObject, $ = _sharedKey("IE_PROTO"), _ = Object.prototype;
|
143304
143234
|
return _objectGpo = Object.getPrototypeOf || function(_e) {
|
143305
143235
|
return _e = s(_e), a(_e, $) ? _e[$] : typeof _e.constructor == "function" && _e instanceof _e.constructor ? _e.constructor.prototype : _e instanceof Object ? _ : null;
|
143306
143236
|
}, _objectGpo;
|
@@ -143373,7 +143303,7 @@ var _wksExt = {};
|
|
143373
143303
|
_wksExt.f = _wksExports;
|
143374
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() {
|
143375
143305
|
return !0;
|
143376
|
-
}, FREEZE = !
|
143306
|
+
}, FREEZE = !_fails(function() {
|
143377
143307
|
return isExtensible(Object.preventExtensions({}));
|
143378
143308
|
}), setMeta = function(a) {
|
143379
143309
|
setDesc(a, META$1, { value: {
|
@@ -143413,15 +143343,15 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
|
|
143413
143343
|
}, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty$1 = _objectDp.f, _wksDefine = function(a) {
|
143414
143344
|
var s = core.Symbol || (core.Symbol = {});
|
143415
143345
|
a.charAt(0) != "_" && !(a in s) && defineProperty$1(s, a, { value: wksExt$1.f(a) });
|
143416
|
-
}, getKeys$1 =
|
143346
|
+
}, getKeys$1 = _objectKeys, gOPS = _objectGops, pIE$1 = require_objectPie(), _enumKeys = function(a) {
|
143417
143347
|
var s = getKeys$1(a), $ = gOPS.f;
|
143418
143348
|
if ($)
|
143419
143349
|
for (var _ = $(a), _e = pIE$1.f, tt = 0, nt; _.length > tt; )
|
143420
143350
|
_e.call(a, nt = _[tt++]) && s.push(nt);
|
143421
143351
|
return s;
|
143422
|
-
}, cof =
|
143352
|
+
}, cof = _cof, _isArray = Array.isArray || function a(s) {
|
143423
143353
|
return cof(s) == "Array";
|
143424
|
-
}, _objectGopnExt = {}, _objectGopn = {}, $keys$1 =
|
143354
|
+
}, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = _objectKeysInternal, hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
143425
143355
|
_objectGopn.f = Object.getOwnPropertyNames || function a(s) {
|
143426
143356
|
return $keys$1(s, hiddenKeys);
|
143427
143357
|
};
|
@@ -143436,7 +143366,7 @@ _objectGopnExt.f = function a(s) {
|
|
143436
143366
|
return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
|
143437
143367
|
};
|
143438
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;
|
143439
|
-
_objectGopd.f =
|
143369
|
+
_objectGopd.f = _descriptors ? gOPD$1 : function a(s, $) {
|
143440
143370
|
if (s = toIObject$1(s), $ = toPrimitive$2($, !0), IE8_DOM_DEFINE)
|
143441
143371
|
try {
|
143442
143372
|
return gOPD$1(s, $);
|
@@ -143445,7 +143375,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, $) {
|
|
143445
143375
|
if (has$1(s, $))
|
143446
143376
|
return createDesc$1(!pIE.f.call(s, $), s[$]);
|
143447
143377
|
};
|
143448
|
-
var global$1 = _globalExports, has = _has, DESCRIPTORS =
|
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() {
|
143449
143379
|
return _create$1(dP({}, "a", {
|
143450
143380
|
get: function() {
|
143451
143381
|
return dP(this, "a", { value: 7 }).a;
|
@@ -151934,7 +151864,7 @@ const FormRender = withProvider(FormCore, defaultWidgets), svgBaseProp = {
|
|
151934
151864
|
);
|
151935
151865
|
}) }) });
|
151936
151866
|
}, ButtonGroupWidget$1 = ButtonGroupWidget, { Text: Text$2 } = Typography$1, DetailView = (a) => {
|
151937
|
-
const { token: s } = theme.useToken(), { size: $,
|
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({});
|
151938
151868
|
reactExports.useEffect(() => {
|
151939
151869
|
const ct = {
|
151940
151870
|
AlignWidget: (vt) => /* @__PURE__ */ jsxRuntimeExports.jsx(AlignWidget$1, { ...vt, ...a, options: st }),
|
@@ -151963,9 +151893,10 @@ const FormRender = withProvider(FormCore, defaultWidgets), svgBaseProp = {
|
|
151963
151893
|
ct.x = ct.position.x, ct.y = ct.position.y, delete ct.position, at.setValues(ct);
|
151964
151894
|
}, [nt, at]), reactExports.useEffect(() => at.resetFields(), [nt.id]), reactExports.useEffect(() => {
|
151965
151895
|
it.current = (ct) => {
|
151966
|
-
for (const vt of
|
151967
|
-
|
151968
|
-
|
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;
|
151969
151900
|
return !0;
|
151970
151901
|
};
|
151971
151902
|
}, [_, nt]);
|
@@ -152055,16 +151986,16 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
|
|
152055
151986
|
}
|
152056
151987
|
};
|
152057
151988
|
if (typeof dt == "function") {
|
152058
|
-
const ct = dt({
|
152059
|
-
...
|
151989
|
+
const { schemasList: ct, ...vt } = a, At = dt({
|
151990
|
+
...vt,
|
152060
151991
|
options: st,
|
152061
151992
|
theme: s,
|
152062
151993
|
i18n: ot
|
152063
151994
|
}) || {};
|
152064
151995
|
mt.properties = {
|
152065
151996
|
...mt.properties,
|
152066
|
-
...Object.keys(
|
152067
|
-
...
|
151997
|
+
...Object.keys(At).length === 0 ? {} : { "--": { type: "void", widget: "Divider" } },
|
151998
|
+
...At
|
152068
151999
|
};
|
152069
152000
|
} else {
|
152070
152001
|
const ct = dt || {};
|
@@ -162423,8 +162354,8 @@ const Guides$2 = Guides$1, guideStyle = (a, s, $, _) => ({
|
|
162423
162354
|
dt(Dt), Ct(), pt(0), (Ut = at.current) != null && Ut.scroll && at.current.scroll({ top: 0, behavior: "smooth" });
|
162424
162355
|
}, []), jt = (Tt) => {
|
162425
162356
|
const [Dt, Ut, Vt, Qt] = isBlankPdf(a.basePdf) ? a.basePdf.padding : [0, 0, 0, 0], qt = St[gt], Zt = (rr) => {
|
162426
|
-
let Yt = ht
|
162427
|
-
for (; ht
|
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)); )
|
162428
162359
|
Yt++, Kt = rr + Yt;
|
162429
162360
|
return Kt;
|
162430
162361
|
}, ar = (rr, Yt, Kt) => Math.min(Math.max(rr, Yt), Kt), Jt = {
|
@@ -162512,6 +162443,7 @@ const Guides$2 = Guides$1, guideStyle = (a, s, $, _) => ({
|
|
162512
162443
|
size: s,
|
162513
162444
|
pageSize: St[gt] ?? [],
|
162514
162445
|
activeElements: ut,
|
162446
|
+
schemasList: ht,
|
162515
162447
|
schemas: ht[gt] ?? [],
|
162516
162448
|
changeSchemas: Rt,
|
162517
162449
|
onSortEnd: Ht,
|