@campxdev/pdfme 1.2.0 → 1.2.2
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/cjs/chunks/{helper-DU7Bm8ZQ.js → helper-BfoMn47R.js} +16956 -4
- package/dist/cjs/chunks/{index-mgS9yYj7.js → index-C8qZMUOU.js} +4 -4
- package/dist/cjs/chunks/{index-BzWo8eqh.js → index-COKtXyPp.js} +6 -2
- package/dist/cjs/chunks/{index-Co0Y0KJj.js → index-CVqJfcgy.js} +126 -34
- package/dist/cjs/chunks/{pluginRegistry-DlJQZP6L.js → pluginRegistry-C8bMreez.js} +1 -1
- package/dist/cjs/common.js +7 -3
- package/dist/cjs/converter.js +1 -1
- package/dist/cjs/generator.js +3 -3
- package/dist/cjs/index.js +9 -5
- package/dist/cjs/print-designer-editor.js +189 -112
- package/dist/cjs/schemas.js +3 -3
- package/dist/cjs/ui.js +83031 -72499
- package/dist/esm/chunks/{helper-C8LqGaF4.js → helper-D5PPN6Bv.js} +16953 -5
- package/dist/esm/chunks/{index-Rwcd_Vzj.js → index-C4F7EwBG.js} +4 -4
- package/dist/esm/chunks/{index-CwqHuiCe.js → index-C7jr4GIK.js} +127 -35
- package/dist/esm/chunks/{index-d0iAk7OA.js → index-CDhErAtE.js} +3 -3
- package/dist/esm/chunks/{pluginRegistry-C0a91XEw.js → pluginRegistry-B-XSNgmK.js} +1 -1
- package/dist/esm/common.js +3 -3
- package/dist/esm/converter.js +1 -1
- package/dist/esm/generator.js +3 -3
- package/dist/esm/index.js +5 -5
- package/dist/esm/print-designer-editor.js +188 -114
- package/dist/esm/schemas.js +5 -5
- package/dist/esm/ui.js +83031 -72499
- package/dist/types/_vendors/common/constants.d.ts +1 -2
- package/dist/types/_vendors/common/googleFontUrls.d.ts +9 -0
- package/dist/types/_vendors/common/googleFonts.d.ts +7 -0
- package/dist/types/_vendors/common/helper.d.ts +1 -0
- package/dist/types/_vendors/common/index.d.ts +3 -2
- package/dist/types/_vendors/print-designer-editor/index.d.ts +1 -1
- package/dist/types/_vendors/schemas/text/extraFormatter.d.ts +2 -0
- package/dist/types/_vendors/schemas/text/fontCache.d.ts +10 -0
- package/dist/types/_vendors/schemas/text/helper.d.ts +1 -0
- package/dist/types/_vendors/schemas/text/icons/index.d.ts +2 -0
- package/dist/types/_vendors/schemas/text/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React$c = require('react');
|
|
4
|
-
var helper = require('./chunks/helper-
|
|
5
|
-
var pluginRegistry = require('./chunks/pluginRegistry-
|
|
4
|
+
var helper = require('./chunks/helper-BfoMn47R.js');
|
|
5
|
+
var pluginRegistry = require('./chunks/pluginRegistry-C8bMreez.js');
|
|
6
6
|
var expression = require('./chunks/expression-CoTzcL7v.js');
|
|
7
|
-
var index$2 = require('./chunks/index-
|
|
7
|
+
var index$2 = require('./chunks/index-CVqJfcgy.js');
|
|
8
8
|
var ReactDOM__default = require('react-dom');
|
|
9
|
-
var index = require('./chunks/index-
|
|
9
|
+
var index = require('./chunks/index-C8qZMUOU.js');
|
|
10
10
|
require('zod');
|
|
11
11
|
require('buffer');
|
|
12
12
|
require('acorn');
|
|
@@ -98845,7 +98845,7 @@ strings$6.utf8border = function(a, s) {
|
|
|
98845
98845
|
function ZStream$6() {
|
|
98846
98846
|
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;
|
|
98847
98847
|
}
|
|
98848
|
-
var zstream$2 = ZStream$6, zlib_deflate$1 = deflate$9, utils$c = common$3, strings$5 = strings$6, msg$4 = messages$2, ZStream$5 = zstream$2, toString$
|
|
98848
|
+
var zstream$2 = ZStream$6, zlib_deflate$1 = deflate$9, utils$c = common$3, strings$5 = strings$6, msg$4 = messages$2, ZStream$5 = zstream$2, toString$7 = Object.prototype.toString, Z_NO_FLUSH$4 = 0, Z_FINISH$6 = 4, Z_OK$6 = 0, Z_STREAM_END$6 = 1, Z_SYNC_FLUSH$2 = 2, Z_DEFAULT_COMPRESSION$3 = -1, Z_DEFAULT_STRATEGY$3 = 0, Z_DEFLATED$5 = 8;
|
|
98849
98849
|
function Deflate$3(a) {
|
|
98850
98850
|
if (!(this instanceof Deflate$3))
|
|
98851
98851
|
return new Deflate$3(a);
|
|
@@ -98872,7 +98872,7 @@ function Deflate$3(a) {
|
|
|
98872
98872
|
throw new Error(msg$4[x]);
|
|
98873
98873
|
if (s.header && zlib_deflate$1.deflateSetHeader(this.strm, s.header), s.dictionary) {
|
|
98874
98874
|
var y;
|
|
98875
|
-
if (typeof s.dictionary == "string" ? y = strings$5.string2buf(s.dictionary) : toString$
|
|
98875
|
+
if (typeof s.dictionary == "string" ? y = strings$5.string2buf(s.dictionary) : toString$7.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate$1.deflateSetDictionary(this.strm, y), x !== Z_OK$6)
|
|
98876
98876
|
throw new Error(msg$4[x]);
|
|
98877
98877
|
this._dict_set = true;
|
|
98878
98878
|
}
|
|
@@ -98881,7 +98881,7 @@ Deflate$3.prototype.push = function(a, s) {
|
|
|
98881
98881
|
var x = this.strm, y = this.options.chunkSize, $, S;
|
|
98882
98882
|
if (this.ended)
|
|
98883
98883
|
return false;
|
|
98884
|
-
S = s === ~~s ? s : s === true ? Z_FINISH$6 : Z_NO_FLUSH$4, typeof a == "string" ? x.input = strings$5.string2buf(a) : toString$
|
|
98884
|
+
S = s === ~~s ? s : s === true ? Z_FINISH$6 : Z_NO_FLUSH$4, typeof a == "string" ? x.input = strings$5.string2buf(a) : toString$7.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
|
|
98885
98885
|
do {
|
|
98886
98886
|
if (x.avail_out === 0 && (x.output = new utils$c.Buf8(y), x.next_out = 0, x.avail_out = y), $ = zlib_deflate$1.deflate(x, S), $ !== Z_STREAM_END$6 && $ !== Z_OK$6)
|
|
98887
98887
|
return this.onEnd($), this.ended = true, false;
|
|
@@ -99722,7 +99722,7 @@ var constants$5 = {
|
|
|
99722
99722
|
function GZheader$4() {
|
|
99723
99723
|
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 = false;
|
|
99724
99724
|
}
|
|
99725
|
-
var gzheader$2 = GZheader$4, zlib_inflate$1 = inflate$a, utils$9 = common$3, strings$4 = strings$6, c$1 = constants$5, msg$3 = messages$2, ZStream$4 = zstream$2, GZheader$3 = gzheader$2, toString$
|
|
99725
|
+
var gzheader$2 = GZheader$4, zlib_inflate$1 = inflate$a, utils$9 = common$3, strings$4 = strings$6, c$1 = constants$5, msg$3 = messages$2, ZStream$4 = zstream$2, GZheader$3 = gzheader$2, toString$6 = Object.prototype.toString;
|
|
99726
99726
|
function Inflate$3(a) {
|
|
99727
99727
|
if (!(this instanceof Inflate$3))
|
|
99728
99728
|
return new Inflate$3(a);
|
|
@@ -99739,14 +99739,14 @@ function Inflate$3(a) {
|
|
|
99739
99739
|
);
|
|
99740
99740
|
if (x !== c$1.Z_OK)
|
|
99741
99741
|
throw new Error(msg$3[x]);
|
|
99742
|
-
if (this.header = new GZheader$3(), zlib_inflate$1.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$4.string2buf(s.dictionary) : toString$
|
|
99742
|
+
if (this.header = new GZheader$3(), zlib_inflate$1.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$4.string2buf(s.dictionary) : toString$6.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = zlib_inflate$1.inflateSetDictionary(this.strm, s.dictionary), x !== c$1.Z_OK)))
|
|
99743
99743
|
throw new Error(msg$3[x]);
|
|
99744
99744
|
}
|
|
99745
99745
|
Inflate$3.prototype.push = function(a, s) {
|
|
99746
99746
|
var x = this.strm, y = this.options.chunkSize, $ = this.options.dictionary, S, _, E, A, w, T = false;
|
|
99747
99747
|
if (this.ended)
|
|
99748
99748
|
return false;
|
|
99749
|
-
_ = s === ~~s ? s : s === true ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? x.input = strings$4.binstring2buf(a) : toString$
|
|
99749
|
+
_ = s === ~~s ? s : s === true ? c$1.Z_FINISH : c$1.Z_NO_FLUSH, typeof a == "string" ? x.input = strings$4.binstring2buf(a) : toString$6.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
|
|
99750
99750
|
do {
|
|
99751
99751
|
if (x.avail_out === 0 && (x.output = new utils$9.Buf8(y), x.next_out = 0, x.avail_out = y), S = zlib_inflate$1.inflate(x, c$1.Z_NO_FLUSH), S === c$1.Z_NEED_DICT && $ && (S = zlib_inflate$1.inflateSetDictionary(this.strm, $)), S === c$1.Z_BUF_ERROR && T === true && (S = c$1.Z_OK, T = false), S !== c$1.Z_STREAM_END && S !== c$1.Z_OK)
|
|
99752
99752
|
return this.onEnd(S), this.ended = true, false;
|
|
@@ -101837,7 +101837,7 @@ function GZheader$2() {
|
|
|
101837
101837
|
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 = false;
|
|
101838
101838
|
}
|
|
101839
101839
|
var gzheader$1 = GZheader$2;
|
|
101840
|
-
const toString$
|
|
101840
|
+
const toString$5 = Object.prototype.toString, {
|
|
101841
101841
|
Z_NO_FLUSH: Z_NO_FLUSH$3,
|
|
101842
101842
|
Z_FINISH: Z_FINISH$4,
|
|
101843
101843
|
Z_OK: Z_OK$4,
|
|
@@ -101861,7 +101861,7 @@ function Inflate$1(a) {
|
|
|
101861
101861
|
);
|
|
101862
101862
|
if (x !== Z_OK$4)
|
|
101863
101863
|
throw new Error(messages$1[x]);
|
|
101864
|
-
if (this.header = new gzheader$1(), inflate_1$2.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$3.string2buf(s.dictionary) : toString$
|
|
101864
|
+
if (this.header = new gzheader$1(), inflate_1$2.inflateGetHeader(this.strm, this.header), s.dictionary && (typeof s.dictionary == "string" ? s.dictionary = strings$3.string2buf(s.dictionary) : toString$5.call(s.dictionary) === "[object ArrayBuffer]" && (s.dictionary = new Uint8Array(s.dictionary)), s.raw && (x = inflate_1$2.inflateSetDictionary(this.strm, s.dictionary), x !== Z_OK$4)))
|
|
101865
101865
|
throw new Error(messages$1[x]);
|
|
101866
101866
|
}
|
|
101867
101867
|
Inflate$1.prototype.push = function(a, s) {
|
|
@@ -101869,7 +101869,7 @@ Inflate$1.prototype.push = function(a, s) {
|
|
|
101869
101869
|
let S, _, E;
|
|
101870
101870
|
if (this.ended)
|
|
101871
101871
|
return false;
|
|
101872
|
-
for (s === ~~s ? _ = s : _ = s === true ? Z_FINISH$4 : Z_NO_FLUSH$3, toString$
|
|
101872
|
+
for (s === ~~s ? _ = s : _ = s === true ? Z_FINISH$4 : Z_NO_FLUSH$3, toString$5.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length; ; ) {
|
|
101873
101873
|
for (x.avail_out === 0 && (x.output = new Uint8Array(y), x.next_out = 0, x.avail_out = y), S = inflate_1$2.inflate(x, _), S === Z_NEED_DICT$2 && $ && (S = inflate_1$2.inflateSetDictionary(x, $), S === Z_OK$4 ? S = inflate_1$2.inflate(x, _) : S === Z_DATA_ERROR$3 && (S = Z_NEED_DICT$2)); x.avail_in > 0 && S === Z_STREAM_END$4 && x.state.wrap > 0 && a[x.next_in] !== 0; )
|
|
101874
101874
|
inflate_1$2.inflateReset(x), S = inflate_1$2.inflate(x, _);
|
|
101875
101875
|
switch (S) {
|
|
@@ -105152,7 +105152,7 @@ strings$2.utf8border = function(a, s) {
|
|
|
105152
105152
|
function ZStream$2() {
|
|
105153
105153
|
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;
|
|
105154
105154
|
}
|
|
105155
|
-
var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common$1, strings$1 = strings$2, msg$1 = messages, ZStream$1 = zstream, toString$
|
|
105155
|
+
var zstream = ZStream$2, zlib_deflate = deflate$3, utils$5 = common$1, strings$1 = strings$2, msg$1 = messages, 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;
|
|
105156
105156
|
function Deflate(a) {
|
|
105157
105157
|
if (!(this instanceof Deflate))
|
|
105158
105158
|
return new Deflate(a);
|
|
@@ -105179,7 +105179,7 @@ function Deflate(a) {
|
|
|
105179
105179
|
throw new Error(msg$1[x]);
|
|
105180
105180
|
if (s.header && zlib_deflate.deflateSetHeader(this.strm, s.header), s.dictionary) {
|
|
105181
105181
|
var y;
|
|
105182
|
-
if (typeof s.dictionary == "string" ? y = strings$1.string2buf(s.dictionary) : toString$
|
|
105182
|
+
if (typeof s.dictionary == "string" ? y = strings$1.string2buf(s.dictionary) : toString$4.call(s.dictionary) === "[object ArrayBuffer]" ? y = new Uint8Array(s.dictionary) : y = s.dictionary, x = zlib_deflate.deflateSetDictionary(this.strm, y), x !== Z_OK$1)
|
|
105183
105183
|
throw new Error(msg$1[x]);
|
|
105184
105184
|
this._dict_set = true;
|
|
105185
105185
|
}
|
|
@@ -105188,7 +105188,7 @@ Deflate.prototype.push = function(a, s) {
|
|
|
105188
105188
|
var x = this.strm, y = this.options.chunkSize, $, S;
|
|
105189
105189
|
if (this.ended)
|
|
105190
105190
|
return false;
|
|
105191
|
-
S = s === ~~s ? s : s === true ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? x.input = strings$1.string2buf(a) : toString$
|
|
105191
|
+
S = s === ~~s ? s : s === true ? Z_FINISH$1 : Z_NO_FLUSH, typeof a == "string" ? x.input = strings$1.string2buf(a) : toString$4.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
|
|
105192
105192
|
do {
|
|
105193
105193
|
if (x.avail_out === 0 && (x.output = new utils$5.Buf8(y), x.next_out = 0, x.avail_out = y), $ = zlib_deflate.deflate(x, S), $ !== Z_STREAM_END$1 && $ !== Z_OK$1)
|
|
105194
105194
|
return this.onEnd($), this.ended = true, false;
|
|
@@ -106029,7 +106029,7 @@ var constants$1 = {
|
|
|
106029
106029
|
function GZheader$1() {
|
|
106030
106030
|
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 = false;
|
|
106031
106031
|
}
|
|
106032
|
-
var gzheader = GZheader$1, zlib_inflate = inflate$4, utils$2 = common$1, strings = strings$2, c = constants$1, msg = messages, ZStream = zstream, GZheader = gzheader, toString$
|
|
106032
|
+
var gzheader = GZheader$1, zlib_inflate = inflate$4, utils$2 = common$1, strings = strings$2, c = constants$1, msg = messages, ZStream = zstream, GZheader = gzheader, toString$3 = Object.prototype.toString;
|
|
106033
106033
|
function Inflate(a) {
|
|
106034
106034
|
if (!(this instanceof Inflate))
|
|
106035
106035
|
return new Inflate(a);
|
|
@@ -106046,14 +106046,14 @@ function Inflate(a) {
|
|
|
106046
106046
|
);
|
|
106047
106047
|
if (x !== c.Z_OK)
|
|
106048
106048
|
throw new Error(msg[x]);
|
|
106049
|
-
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$
|
|
106049
|
+
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 && (x = zlib_inflate.inflateSetDictionary(this.strm, s.dictionary), x !== c.Z_OK)))
|
|
106050
106050
|
throw new Error(msg[x]);
|
|
106051
106051
|
}
|
|
106052
106052
|
Inflate.prototype.push = function(a, s) {
|
|
106053
106053
|
var x = this.strm, y = this.options.chunkSize, $ = this.options.dictionary, S, _, E, A, w, T = false;
|
|
106054
106054
|
if (this.ended)
|
|
106055
106055
|
return false;
|
|
106056
|
-
_ = s === ~~s ? s : s === true ? c.Z_FINISH : c.Z_NO_FLUSH, typeof a == "string" ? x.input = strings.binstring2buf(a) : toString$
|
|
106056
|
+
_ = s === ~~s ? s : s === true ? c.Z_FINISH : c.Z_NO_FLUSH, typeof a == "string" ? x.input = strings.binstring2buf(a) : toString$3.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
|
|
106057
106057
|
do {
|
|
106058
106058
|
if (x.avail_out === 0 && (x.output = new utils$2.Buf8(y), x.next_out = 0, x.avail_out = y), S = zlib_inflate.inflate(x, c.Z_NO_FLUSH), S === c.Z_NEED_DICT && $ && (S = zlib_inflate.inflateSetDictionary(this.strm, $)), S === c.Z_BUF_ERROR && T === true && (S = c.Z_OK, T = false), S !== c.Z_STREAM_END && S !== c.Z_OK)
|
|
106059
106059
|
return this.onEnd(S), this.ended = true, false;
|
|
@@ -123309,7 +123309,7 @@ const arrayBufferToBase64 = (a) => {
|
|
|
123309
123309
|
options: x = {},
|
|
123310
123310
|
children: y
|
|
123311
123311
|
}) => {
|
|
123312
|
-
const $ = React$c.useMemo(() => pluginRegistry.pluginRegistry(s), [s]), S = React$c.useMemo(() => x.font || helper.
|
|
123312
|
+
const $ = React$c.useMemo(() => pluginRegistry.pluginRegistry(s), [s]), S = React$c.useMemo(() => x.font || helper.getAllFontsWithGoogle(), [x.font]);
|
|
123313
123313
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
123314
123314
|
AppContextProvider$1,
|
|
123315
123315
|
{
|
|
@@ -138995,11 +138995,11 @@ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\
|
|
|
138995
138995
|
}), s;
|
|
138996
138996
|
});
|
|
138997
138997
|
const stringToPath$1 = stringToPath;
|
|
138998
|
-
function toString$
|
|
138998
|
+
function toString$2(a) {
|
|
138999
138999
|
return a == null ? "" : baseToString(a);
|
|
139000
139000
|
}
|
|
139001
139001
|
function castPath(a, s) {
|
|
139002
|
-
return isArray$3(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$
|
|
139002
|
+
return isArray$3(a) ? a : isKey(a, s) ? [a] : stringToPath$1(toString$2(a));
|
|
139003
139003
|
}
|
|
139004
139004
|
function toKey(a) {
|
|
139005
139005
|
if (typeof a == "string" || isSymbol$2(a))
|
|
@@ -139528,7 +139528,7 @@ var objectProto$3 = Object.prototype, hasOwnProperty$4 = objectProto$3.hasOwnPro
|
|
|
139528
139528
|
function baseHas(a, s) {
|
|
139529
139529
|
return a != null && hasOwnProperty$4.call(a, s);
|
|
139530
139530
|
}
|
|
139531
|
-
function has$
|
|
139531
|
+
function has$6(a, s) {
|
|
139532
139532
|
return a != null && hasPath(a, s, baseHas);
|
|
139533
139533
|
}
|
|
139534
139534
|
function parent(a, s) {
|
|
@@ -140198,7 +140198,7 @@ var executeCallBack = function a(s, x, y, $) {
|
|
|
140198
140198
|
allValues: x,
|
|
140199
140199
|
flatValues: S
|
|
140200
140200
|
}), Object.keys(y).forEach(function(_) {
|
|
140201
|
-
if (has$
|
|
140201
|
+
if (has$6(S, _)) {
|
|
140202
140202
|
var E = _get(S, _), A = E.value, w = E.index, T = y[_];
|
|
140203
140203
|
executeCallBack(T, A, _, w);
|
|
140204
140204
|
}
|
|
@@ -144385,17 +144385,25 @@ var _coreExports = _core.exports, _aFunction = function(a) {
|
|
|
144385
144385
|
if (!isObject$3(a))
|
|
144386
144386
|
throw TypeError(a + " is not an object!");
|
|
144387
144387
|
return a;
|
|
144388
|
-
}, _fails
|
|
144389
|
-
|
|
144390
|
-
|
|
144391
|
-
|
|
144392
|
-
|
|
144393
|
-
|
|
144394
|
-
|
|
144395
|
-
|
|
144396
|
-
|
|
144397
|
-
|
|
144398
|
-
|
|
144388
|
+
}, _fails, hasRequired_fails;
|
|
144389
|
+
function require_fails() {
|
|
144390
|
+
return hasRequired_fails || (hasRequired_fails = 1, _fails = function(a) {
|
|
144391
|
+
try {
|
|
144392
|
+
return !!a();
|
|
144393
|
+
} catch {
|
|
144394
|
+
return true;
|
|
144395
|
+
}
|
|
144396
|
+
}), _fails;
|
|
144397
|
+
}
|
|
144398
|
+
var _descriptors, hasRequired_descriptors;
|
|
144399
|
+
function require_descriptors() {
|
|
144400
|
+
return hasRequired_descriptors || (hasRequired_descriptors = 1, _descriptors = !require_fails()(function() {
|
|
144401
|
+
return Object.defineProperty({}, "a", { get: function() {
|
|
144402
|
+
return 7;
|
|
144403
|
+
} }).a != 7;
|
|
144404
|
+
})), _descriptors;
|
|
144405
|
+
}
|
|
144406
|
+
var _domCreate, hasRequired_domCreate;
|
|
144399
144407
|
function require_domCreate() {
|
|
144400
144408
|
if (hasRequired_domCreate)
|
|
144401
144409
|
return _domCreate;
|
|
@@ -144405,7 +144413,7 @@ function require_domCreate() {
|
|
|
144405
144413
|
return x ? s.createElement(y) : {};
|
|
144406
144414
|
}, _domCreate;
|
|
144407
144415
|
}
|
|
144408
|
-
var _ie8DomDefine = !
|
|
144416
|
+
var _ie8DomDefine = !require_descriptors() && !require_fails()(function() {
|
|
144409
144417
|
return Object.defineProperty(require_domCreate()("div"), "a", { get: function() {
|
|
144410
144418
|
return 7;
|
|
144411
144419
|
} }).a != 7;
|
|
@@ -144417,7 +144425,7 @@ var _ie8DomDefine = !_descriptors && !_fails(function() {
|
|
|
144417
144425
|
return y;
|
|
144418
144426
|
throw TypeError("Can't convert object to primitive value");
|
|
144419
144427
|
}, anObject$3 = _anObject, IE8_DOM_DEFINE$1 = _ie8DomDefine, toPrimitive$2 = _toPrimitive$5, dP$3 = Object.defineProperty;
|
|
144420
|
-
_objectDp.f =
|
|
144428
|
+
_objectDp.f = require_descriptors() ? Object.defineProperty : function a(s, x, y) {
|
|
144421
144429
|
if (anObject$3(s), x = toPrimitive$2(x, true), anObject$3(y), IE8_DOM_DEFINE$1)
|
|
144422
144430
|
try {
|
|
144423
144431
|
return dP$3(s, x, y);
|
|
@@ -144434,17 +144442,17 @@ var _propertyDesc = function(a, s) {
|
|
|
144434
144442
|
writable: !(a & 4),
|
|
144435
144443
|
value: s
|
|
144436
144444
|
};
|
|
144437
|
-
}, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide =
|
|
144445
|
+
}, dP$2 = _objectDp, createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(a, s, x) {
|
|
144438
144446
|
return dP$2.f(a, s, createDesc$2(1, x));
|
|
144439
144447
|
} : function(a, s, x) {
|
|
144440
144448
|
return a[s] = x, a;
|
|
144441
144449
|
}, hasOwnProperty$1 = {}.hasOwnProperty, _has = function(a, s) {
|
|
144442
144450
|
return hasOwnProperty$1.call(a, s);
|
|
144443
|
-
}, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$
|
|
144451
|
+
}, global$4 = _globalExports, core$2 = _coreExports, ctx = _ctx, hide$2 = _hide, has$5 = _has, PROTOTYPE$2 = "prototype", $export$6 = function(a, s, x) {
|
|
144444
144452
|
var y = a & $export$6.F, $ = a & $export$6.G, S = a & $export$6.S, _ = a & $export$6.P, E = a & $export$6.B, A = a & $export$6.W, w = $ ? core$2 : core$2[s] || (core$2[s] = {}), T = w[PROTOTYPE$2], P = $ ? global$4 : S ? global$4[s] : (global$4[s] || {})[PROTOTYPE$2], C, R, I;
|
|
144445
144453
|
$ && (x = s);
|
|
144446
144454
|
for (C in x)
|
|
144447
|
-
R = !y && P && P[C] !== void 0, !(R && has$
|
|
144455
|
+
R = !y && P && P[C] !== void 0, !(R && has$5(w, C)) && (I = R ? P[C] : x[C], w[C] = $ && typeof P[C] != "function" ? x[C] : E && R ? ctx(I, global$4) : A && P[C] == I ? function(N) {
|
|
144448
144456
|
var M = function(D, B, F) {
|
|
144449
144457
|
if (this instanceof N) {
|
|
144450
144458
|
switch (arguments.length) {
|
|
@@ -144470,39 +144478,80 @@ $export$6.B = 16;
|
|
|
144470
144478
|
$export$6.W = 32;
|
|
144471
144479
|
$export$6.U = 64;
|
|
144472
144480
|
$export$6.R = 128;
|
|
144473
|
-
var _export = $export$6,
|
|
144474
|
-
|
|
144475
|
-
|
|
144481
|
+
var _export = $export$6, _cof, hasRequired_cof;
|
|
144482
|
+
function require_cof() {
|
|
144483
|
+
if (hasRequired_cof)
|
|
144484
|
+
return _cof;
|
|
144485
|
+
hasRequired_cof = 1;
|
|
144486
|
+
var a = {}.toString;
|
|
144487
|
+
return _cof = function(s) {
|
|
144488
|
+
return a.call(s).slice(8, -1);
|
|
144489
|
+
}, _cof;
|
|
144490
|
+
}
|
|
144491
|
+
var _iobject, hasRequired_iobject;
|
|
144476
144492
|
function require_iobject() {
|
|
144477
144493
|
if (hasRequired_iobject)
|
|
144478
144494
|
return _iobject;
|
|
144479
144495
|
hasRequired_iobject = 1;
|
|
144480
|
-
var a =
|
|
144496
|
+
var a = require_cof();
|
|
144481
144497
|
return _iobject = Object("z").propertyIsEnumerable(0) ? Object : function(s) {
|
|
144482
144498
|
return a(s) == "String" ? s.split("") : Object(s);
|
|
144483
144499
|
}, _iobject;
|
|
144484
144500
|
}
|
|
144485
|
-
var _defined
|
|
144486
|
-
|
|
144487
|
-
|
|
144488
|
-
|
|
144489
|
-
|
|
144490
|
-
|
|
144501
|
+
var _defined, hasRequired_defined;
|
|
144502
|
+
function require_defined() {
|
|
144503
|
+
return hasRequired_defined || (hasRequired_defined = 1, _defined = function(a) {
|
|
144504
|
+
if (a == null)
|
|
144505
|
+
throw TypeError("Can't call method on " + a);
|
|
144506
|
+
return a;
|
|
144507
|
+
}), _defined;
|
|
144508
|
+
}
|
|
144509
|
+
var IObject = require_iobject(), defined$1 = require_defined(), _toIobject = function(a) {
|
|
144510
|
+
return IObject(defined$1(a));
|
|
144491
144511
|
}, ceil = Math.ceil, floor = Math.floor, _toInteger = function(a) {
|
|
144492
144512
|
return isNaN(a = +a) ? 0 : (a > 0 ? floor : ceil)(a);
|
|
144493
|
-
},
|
|
144494
|
-
|
|
144495
|
-
|
|
144496
|
-
|
|
144497
|
-
|
|
144498
|
-
|
|
144499
|
-
|
|
144500
|
-
|
|
144501
|
-
|
|
144502
|
-
|
|
144503
|
-
|
|
144504
|
-
|
|
144505
|
-
|
|
144513
|
+
}, _toLength, hasRequired_toLength;
|
|
144514
|
+
function require_toLength() {
|
|
144515
|
+
if (hasRequired_toLength)
|
|
144516
|
+
return _toLength;
|
|
144517
|
+
hasRequired_toLength = 1;
|
|
144518
|
+
var a = _toInteger, s = Math.min;
|
|
144519
|
+
return _toLength = function(x) {
|
|
144520
|
+
return x > 0 ? s(a(x), 9007199254740991) : 0;
|
|
144521
|
+
}, _toLength;
|
|
144522
|
+
}
|
|
144523
|
+
var _toAbsoluteIndex, hasRequired_toAbsoluteIndex;
|
|
144524
|
+
function require_toAbsoluteIndex() {
|
|
144525
|
+
if (hasRequired_toAbsoluteIndex)
|
|
144526
|
+
return _toAbsoluteIndex;
|
|
144527
|
+
hasRequired_toAbsoluteIndex = 1;
|
|
144528
|
+
var a = _toInteger, s = Math.max, x = Math.min;
|
|
144529
|
+
return _toAbsoluteIndex = function(y, $) {
|
|
144530
|
+
return y = a(y), y < 0 ? s(y + $, 0) : x(y, $);
|
|
144531
|
+
}, _toAbsoluteIndex;
|
|
144532
|
+
}
|
|
144533
|
+
var _arrayIncludes, hasRequired_arrayIncludes;
|
|
144534
|
+
function require_arrayIncludes() {
|
|
144535
|
+
if (hasRequired_arrayIncludes)
|
|
144536
|
+
return _arrayIncludes;
|
|
144537
|
+
hasRequired_arrayIncludes = 1;
|
|
144538
|
+
var a = _toIobject, s = require_toLength(), x = require_toAbsoluteIndex();
|
|
144539
|
+
return _arrayIncludes = function(y) {
|
|
144540
|
+
return function($, S, _) {
|
|
144541
|
+
var E = a($), A = s(E.length), w = x(_, A), T;
|
|
144542
|
+
if (y && S != S) {
|
|
144543
|
+
for (; A > w; )
|
|
144544
|
+
if (T = E[w++], T != T)
|
|
144545
|
+
return true;
|
|
144546
|
+
} else
|
|
144547
|
+
for (; A > w; w++)
|
|
144548
|
+
if ((y || w in E) && E[w] === S)
|
|
144549
|
+
return y || w || 0;
|
|
144550
|
+
return !y && -1;
|
|
144551
|
+
};
|
|
144552
|
+
}, _arrayIncludes;
|
|
144553
|
+
}
|
|
144554
|
+
var _shared = { exports: {} }, core$1 = _coreExports, global$3 = _globalExports, SHARED = "__core-js_shared__", store$1 = global$3[SHARED] || (global$3[SHARED] = {});
|
|
144506
144555
|
(_shared.exports = function(a, s) {
|
|
144507
144556
|
return store$1[a] || (store$1[a] = s !== void 0 ? s : {});
|
|
144508
144557
|
})("versions", []).push({
|
|
@@ -144514,30 +144563,56 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
|
|
|
144514
144563
|
return "Symbol(".concat(a === void 0 ? "" : a, ")_", (++id$1 + px).toString(36));
|
|
144515
144564
|
}, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(a) {
|
|
144516
144565
|
return shared$1[a] || (shared$1[a] = uid$2(a));
|
|
144517
|
-
},
|
|
144518
|
-
|
|
144519
|
-
|
|
144520
|
-
|
|
144521
|
-
|
|
144522
|
-
|
|
144523
|
-
return
|
|
144524
|
-
|
|
144525
|
-
|
|
144526
|
-
|
|
144527
|
-
|
|
144566
|
+
}, _objectKeysInternal, hasRequired_objectKeysInternal;
|
|
144567
|
+
function require_objectKeysInternal() {
|
|
144568
|
+
if (hasRequired_objectKeysInternal)
|
|
144569
|
+
return _objectKeysInternal;
|
|
144570
|
+
hasRequired_objectKeysInternal = 1;
|
|
144571
|
+
var a = _has, s = _toIobject, x = require_arrayIncludes()(false), y = _sharedKey("IE_PROTO");
|
|
144572
|
+
return _objectKeysInternal = function($, S) {
|
|
144573
|
+
var _ = s($), E = 0, A = [], w;
|
|
144574
|
+
for (w in _)
|
|
144575
|
+
w != y && a(_, w) && A.push(w);
|
|
144576
|
+
for (; S.length > E; )
|
|
144577
|
+
a(_, w = S[E++]) && (~x(A, w) || A.push(w));
|
|
144578
|
+
return A;
|
|
144579
|
+
}, _objectKeysInternal;
|
|
144580
|
+
}
|
|
144581
|
+
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), _objectKeys, hasRequired_objectKeys;
|
|
144582
|
+
function require_objectKeys() {
|
|
144583
|
+
if (hasRequired_objectKeys)
|
|
144584
|
+
return _objectKeys;
|
|
144585
|
+
hasRequired_objectKeys = 1;
|
|
144586
|
+
var a = require_objectKeysInternal(), s = _enumBugKeys;
|
|
144587
|
+
return _objectKeys = Object.keys || function(y) {
|
|
144588
|
+
return a(y, s);
|
|
144589
|
+
}, _objectKeys;
|
|
144590
|
+
}
|
|
144591
|
+
var _objectGops = {}, hasRequired_objectGops;
|
|
144592
|
+
function require_objectGops() {
|
|
144593
|
+
return hasRequired_objectGops || (hasRequired_objectGops = 1, _objectGops.f = Object.getOwnPropertySymbols), _objectGops;
|
|
144594
|
+
}
|
|
144528
144595
|
var _objectPie = {}, hasRequired_objectPie;
|
|
144529
144596
|
function require_objectPie() {
|
|
144530
144597
|
return hasRequired_objectPie || (hasRequired_objectPie = 1, _objectPie.f = {}.propertyIsEnumerable), _objectPie;
|
|
144531
144598
|
}
|
|
144532
|
-
var
|
|
144533
|
-
|
|
144534
|
-
|
|
144599
|
+
var _toObject, hasRequired_toObject;
|
|
144600
|
+
function require_toObject() {
|
|
144601
|
+
if (hasRequired_toObject)
|
|
144602
|
+
return _toObject;
|
|
144603
|
+
hasRequired_toObject = 1;
|
|
144604
|
+
var a = require_defined();
|
|
144605
|
+
return _toObject = function(s) {
|
|
144606
|
+
return Object(a(s));
|
|
144607
|
+
}, _toObject;
|
|
144608
|
+
}
|
|
144609
|
+
var _objectAssign, hasRequired_objectAssign;
|
|
144535
144610
|
function require_objectAssign() {
|
|
144536
144611
|
if (hasRequired_objectAssign)
|
|
144537
144612
|
return _objectAssign;
|
|
144538
144613
|
hasRequired_objectAssign = 1;
|
|
144539
|
-
var a =
|
|
144540
|
-
return _objectAssign = !_ ||
|
|
144614
|
+
var a = require_descriptors(), s = require_objectKeys(), x = require_objectGops(), y = require_objectPie(), $ = require_toObject(), S = require_iobject(), _ = Object.assign;
|
|
144615
|
+
return _objectAssign = !_ || require_fails()(function() {
|
|
144541
144616
|
var E = {}, A = {}, w = Symbol(), T = "abcdefghijklmnopqrst";
|
|
144542
144617
|
return E[w] = 7, T.split("").forEach(function(P) {
|
|
144543
144618
|
A[P] = P;
|
|
@@ -145241,7 +145316,7 @@ var _default$7 = function(a, s) {
|
|
|
145241
145316
|
if (!(a instanceof s))
|
|
145242
145317
|
throw new TypeError("Cannot call a class as a function");
|
|
145243
145318
|
}, $export$4 = _export;
|
|
145244
|
-
$export$4($export$4.S + $export$4.F * !
|
|
145319
|
+
$export$4($export$4.S + $export$4.F * !require_descriptors(), "Object", { defineProperty: _objectDp.f });
|
|
145245
145320
|
var $Object$1 = _coreExports.Object, defineProperty$2 = function a(s, x, y) {
|
|
145246
145321
|
return $Object$1.defineProperty(s, x, y);
|
|
145247
145322
|
}, defineProperty$1 = { default: defineProperty$2, __esModule: true }, _defineProperty$8 = defineProperty$1, _defineProperty2$1 = _interopRequireDefault$f(_defineProperty$8);
|
|
@@ -145258,12 +145333,12 @@ var _default$6 = function() {
|
|
|
145258
145333
|
return function(s, x, y) {
|
|
145259
145334
|
return x && a(s.prototype, x), y && a(s, y), s;
|
|
145260
145335
|
};
|
|
145261
|
-
}(), _typeof$i = {}, toInteger = _toInteger, defined =
|
|
145336
|
+
}(), _typeof$i = {}, toInteger = _toInteger, defined = require_defined(), _stringAt = function(a) {
|
|
145262
145337
|
return function(s, x) {
|
|
145263
145338
|
var y = String(defined(s)), $ = toInteger(x), S = y.length, _, E;
|
|
145264
145339
|
return $ < 0 || $ >= S ? "" : (_ = y.charCodeAt($), _ < 55296 || _ > 56319 || $ + 1 === S || (E = y.charCodeAt($ + 1)) < 56320 || E > 57343 ? y.charAt($) : y.slice($, $ + 2) );
|
|
145265
145340
|
};
|
|
145266
|
-
}, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 =
|
|
145341
|
+
}, _redefine = _hide, _iterators = {}, dP$1 = _objectDp, anObject$2 = _anObject, getKeys$1 = require_objectKeys(), _objectDps = require_descriptors() ? Object.defineProperties : function a(s, x) {
|
|
145267
145342
|
anObject$2(s);
|
|
145268
145343
|
for (var y = getKeys$1(x), $ = y.length, S = 0, _; $ > S; )
|
|
145269
145344
|
dP$1.f(s, _ = y[S++], x[_]);
|
|
@@ -145297,7 +145372,7 @@ _hide(IteratorPrototype, _wksExports("iterator"), function() {
|
|
|
145297
145372
|
});
|
|
145298
145373
|
var _iterCreate = function(a, s, x) {
|
|
145299
145374
|
a.prototype = create$2(IteratorPrototype, { next: descriptor(1, x) }), setToStringTag$2(a, s + " Iterator");
|
|
145300
|
-
}, has$3 = _has, toObject$1 =
|
|
145375
|
+
}, has$3 = _has, toObject$1 = require_toObject(), IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(a) {
|
|
145301
145376
|
return a = toObject$1(a), has$3(a, IE_PROTO) ? a[IE_PROTO] : typeof a.constructor == "function" && a instanceof a.constructor ? a.constructor.prototype : a instanceof Object ? ObjectProto$1 : null;
|
|
145302
145377
|
}, $export$3 = _export, Iterators$2 = _iterators, $iterCreate = _iterCreate, setToStringTag$1 = _setToStringTag, getPrototypeOf = _objectGpo, ITERATOR = _wksExports("iterator"), BUGGY = !([].keys && "next" in [].keys()), FF_ITERATOR = "@@iterator", KEYS = "keys", VALUES = "values", returnThis = function() {
|
|
145303
145378
|
return this;
|
|
@@ -145358,7 +145433,7 @@ var _wksExt = {};
|
|
|
145358
145433
|
_wksExt.f = _wksExports;
|
|
145359
145434
|
var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esModule: true }, _meta = { exports: {} }, META$1 = _uid("meta"), isObject$1 = _isObject, has$2 = _has, setDesc = _objectDp.f, id = 0, isExtensible = Object.isExtensible || function() {
|
|
145360
145435
|
return true;
|
|
145361
|
-
}, FREEZE = !
|
|
145436
|
+
}, FREEZE = !require_fails()(function() {
|
|
145362
145437
|
return isExtensible(Object.preventExtensions({}));
|
|
145363
145438
|
}), setMeta = function(a) {
|
|
145364
145439
|
setDesc(a, META$1, { value: {
|
|
@@ -145398,25 +145473,19 @@ var iterator$1 = _wksExt.f("iterator"), iterator = { default: iterator$1, __esMo
|
|
|
145398
145473
|
}, _metaExports = _meta.exports, core = _coreExports, wksExt$1 = _wksExt, defineProperty = _objectDp.f, _wksDefine = function(a) {
|
|
145399
145474
|
var s = core.Symbol || (core.Symbol = {});
|
|
145400
145475
|
a.charAt(0) != "_" && !(a in s) && defineProperty(s, a, { value: wksExt$1.f(a) });
|
|
145401
|
-
}, getKeys =
|
|
145476
|
+
}, getKeys = require_objectKeys(), gOPS = require_objectGops(), pIE$1 = require_objectPie(), _enumKeys = function(a) {
|
|
145402
145477
|
var s = getKeys(a), x = gOPS.f;
|
|
145403
145478
|
if (x)
|
|
145404
145479
|
for (var y = x(a), $ = pIE$1.f, S = 0, _; y.length > S; )
|
|
145405
145480
|
$.call(a, _ = y[S++]) && s.push(_);
|
|
145406
145481
|
return s;
|
|
145407
|
-
}, cof =
|
|
145482
|
+
}, cof = require_cof(), _isArray = Array.isArray || function a(s) {
|
|
145408
145483
|
return cof(s) == "Array";
|
|
145409
|
-
}, _objectGopnExt = {}, _objectGopn = {},
|
|
145410
|
-
function
|
|
145411
|
-
|
|
145412
|
-
|
|
145413
|
-
|
|
145414
|
-
var a = _objectKeysInternal, s = _enumBugKeys.concat("length", "prototype");
|
|
145415
|
-
return _objectGopn.f = Object.getOwnPropertyNames || function(y) {
|
|
145416
|
-
return a(y, s);
|
|
145417
|
-
}, _objectGopn;
|
|
145418
|
-
}
|
|
145419
|
-
var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString$1 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(a) {
|
|
145484
|
+
}, _objectGopnExt = {}, _objectGopn = {}, $keys$1 = require_objectKeysInternal(), hiddenKeys = _enumBugKeys.concat("length", "prototype");
|
|
145485
|
+
_objectGopn.f = Object.getOwnPropertyNames || function a(s) {
|
|
145486
|
+
return $keys$1(s, hiddenKeys);
|
|
145487
|
+
};
|
|
145488
|
+
var toIObject$2 = _toIobject, gOPN$1 = _objectGopn.f, toString$1 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(a) {
|
|
145420
145489
|
try {
|
|
145421
145490
|
return gOPN$1(a);
|
|
145422
145491
|
} catch {
|
|
@@ -145427,7 +145496,7 @@ _objectGopnExt.f = function a(s) {
|
|
|
145427
145496
|
return windowNames && toString$1.call(s) == "[object Window]" ? getWindowNames(s) : gOPN$1(toIObject$2(s));
|
|
145428
145497
|
};
|
|
145429
145498
|
var _objectGopd = {}, pIE = require_objectPie(), createDesc$1 = _propertyDesc, toIObject$1 = _toIobject, toPrimitive$1 = _toPrimitive$5, has$1 = _has, IE8_DOM_DEFINE = _ie8DomDefine, gOPD$1 = Object.getOwnPropertyDescriptor;
|
|
145430
|
-
_objectGopd.f =
|
|
145499
|
+
_objectGopd.f = require_descriptors() ? gOPD$1 : function a(s, x) {
|
|
145431
145500
|
if (s = toIObject$1(s), x = toPrimitive$1(x, true), IE8_DOM_DEFINE)
|
|
145432
145501
|
try {
|
|
145433
145502
|
return gOPD$1(s, x);
|
|
@@ -145436,7 +145505,7 @@ _objectGopd.f = _descriptors ? gOPD$1 : function a(s, x) {
|
|
|
145436
145505
|
if (has$1(s, x))
|
|
145437
145506
|
return createDesc$1(!pIE.f.call(s, x), s[x]);
|
|
145438
145507
|
};
|
|
145439
|
-
var global$1 = _globalExports, has = _has, DESCRIPTORS =
|
|
145508
|
+
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 = _isArray, anObject = _anObject, isObject = _isObject, toObject = require_toObject(), toIObject = _toIobject, toPrimitive = _toPrimitive$5, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = require_objectGops(), $DP = _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() {
|
|
145440
145509
|
return _create$1(dP({}, "a", {
|
|
145441
145510
|
get: function() {
|
|
145442
145511
|
return dP(this, "a", { value: 7 }).a;
|
|
@@ -145487,7 +145556,7 @@ USE_NATIVE || ($Symbol = function() {
|
|
|
145487
145556
|
return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, s, { configurable: true, set: x }), wrap(s);
|
|
145488
145557
|
}, redefine($Symbol[PROTOTYPE], "toString", function() {
|
|
145489
145558
|
return this._k;
|
|
145490
|
-
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty,
|
|
145559
|
+
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, _objectGopn.f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, wksExt.f = function(a) {
|
|
145491
145560
|
return wrap(wks(a));
|
|
145492
145561
|
});
|
|
145493
145562
|
$export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
@@ -154685,21 +154754,26 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
|
|
|
154685
154754
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: s, children: /* @__PURE__ */ jsxRuntimeExports.jsx(LoaderCircle, { size: 50, style: x }) })
|
|
154686
154755
|
] });
|
|
154687
154756
|
}, Spinner$1 = Spinner, Root = ({ size: a, scale: s, children: x }, y) => {
|
|
154688
|
-
const $ = React$c.useContext(FontContext), S = React$c.useRef(/* @__PURE__ */ new Set())
|
|
154757
|
+
const $ = React$c.useContext(FontContext), S = React$c.useRef(/* @__PURE__ */ new Set()), _ = React$c.useCallback((E, A) => {
|
|
154758
|
+
if (S.current.has(E) || !(document != null && document.fonts))
|
|
154759
|
+
return;
|
|
154760
|
+
const w = new FontFace(E, typeof A == "string" ? `url(${A})` : A, {
|
|
154761
|
+
display: "swap"
|
|
154762
|
+
});
|
|
154763
|
+
w.load().then(() => {
|
|
154764
|
+
document.fonts.add(w), S.current.add(E);
|
|
154765
|
+
}).catch(() => {
|
|
154766
|
+
});
|
|
154767
|
+
}, []);
|
|
154689
154768
|
return React$c.useEffect(() => {
|
|
154690
154769
|
if (!document || !document.fonts)
|
|
154691
154770
|
return;
|
|
154692
|
-
const E = Object.entries($).filter(
|
|
154693
|
-
([A
|
|
154694
|
-
display: "swap"
|
|
154695
|
-
})
|
|
154771
|
+
const E = Object.entries($).filter(
|
|
154772
|
+
([A]) => !S.current.has(A) && !helper.isGoogleFont(A)
|
|
154696
154773
|
);
|
|
154697
|
-
|
|
154698
|
-
A
|
|
154699
|
-
|
|
154700
|
-
});
|
|
154701
|
-
});
|
|
154702
|
-
}, [$]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "root", ref: y, style: { position: "relative", background: BACKGROUND_COLOR, ...a }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "background", style: { margin: "0 auto", ...a }, children: s === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$1, {}) : x }) });
|
|
154774
|
+
for (const [A, { data: w }] of E)
|
|
154775
|
+
_(A, w);
|
|
154776
|
+
}, [$, _]), /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "root", ref: y, style: { position: "relative", background: BACKGROUND_COLOR, ...a }, children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: DESIGNER_CLASSNAME + "background", style: { margin: "0 auto", ...a }, children: s === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx(Spinner$1, {}) : x }) });
|
|
154703
154777
|
}, Root$1 = React$c.forwardRef(Root), scaleDragPosAdjustment = (a, s) => s > 1 ? a * (s - 1) : s < 1 ? a * -(1 - s) : 0, Canvas = ({
|
|
154704
154778
|
style: a,
|
|
154705
154779
|
className: s,
|
|
@@ -154958,7 +155032,7 @@ const FormRenderComponent = withProvider(FormCore, defaultWidgets), AlignWidget
|
|
|
154958
155032
|
return a;
|
|
154959
155033
|
};
|
|
154960
155034
|
async function convertPdfToBase64(a) {
|
|
154961
|
-
const { getB64BasePdf: s } = await Promise.resolve().then(function () { return require('./chunks/index-
|
|
155035
|
+
const { getB64BasePdf: s } = await Promise.resolve().then(function () { return require('./chunks/index-COKtXyPp.js'); }), x = await a.arrayBuffer();
|
|
154962
155036
|
return s(new Uint8Array(x));
|
|
154963
155037
|
}
|
|
154964
155038
|
const ENCODING_MAPPING = {
|
|
@@ -169951,9 +170025,12 @@ Check this document: https://pdfme.com/docs/custom-schemas`);
|
|
|
169951
170025
|
};
|
|
169952
170026
|
|
|
169953
170027
|
exports.getAllFonts = helper.getAllFonts;
|
|
170028
|
+
exports.getAllFontsWithGoogle = helper.getAllFontsWithGoogle;
|
|
169954
170029
|
exports.getBuiltinFontsData = helper.getBuiltinFontsData;
|
|
169955
170030
|
exports.getDefaultFont = helper.getDefaultFont;
|
|
170031
|
+
exports.getGoogleFontsData = helper.getGoogleFontsData;
|
|
169956
170032
|
exports.getInputFromTemplate = helper.getInputFromTemplate;
|
|
170033
|
+
exports.isGoogleFont = helper.isGoogleFont;
|
|
169957
170034
|
exports.Canvas = Canvas;
|
|
169958
170035
|
exports.PdfmeProvider = PdfmeProvider;
|
|
169959
170036
|
exports.PropPanel = PropPanel;
|
package/dist/cjs/schemas.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./chunks/index-
|
|
4
|
-
var index$1 = require('./chunks/index-
|
|
3
|
+
var index = require('./chunks/index-CVqJfcgy.js');
|
|
4
|
+
var index$1 = require('./chunks/index-C8qZMUOU.js');
|
|
5
5
|
var lucide = require('lucide');
|
|
6
|
-
var helper = require('./chunks/helper-
|
|
6
|
+
var helper = require('./chunks/helper-BfoMn47R.js');
|
|
7
7
|
var AirDatepicker = require('air-datepicker');
|
|
8
8
|
var localeAr = require('air-datepicker/locale/ar');
|
|
9
9
|
var localeBg = require('air-datepicker/locale/bg');
|