@pdfme/ui 5.3.16-dev.7 → 5.3.16-dev.9
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 +40 -33
- package/dist/index.umd.js +31 -31
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
@@ -5501,8 +5501,10 @@ const cuidRegex = /^c[^\s-]{8,}$/i, cuid2Regex = /^[0-9a-z]+$/, ulidRegex = /^[0
|
|
5501
5501
|
let emojiRegex;
|
5502
5502
|
const ipv4Regex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, ipv4CidrRegex = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, ipv6Regex = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, ipv6CidrRegex = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, base64Regex = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, base64urlRegex = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, dateRegexSource = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", dateRegex$1 = new RegExp(`^${dateRegexSource}$`);
|
5503
5503
|
function timeRegexSource(a) {
|
5504
|
-
let s = "
|
5505
|
-
|
5504
|
+
let s = "[0-5]\\d";
|
5505
|
+
a.precision ? s = `${s}\\.\\d{${a.precision}}` : a.precision == null && (s = `${s}(\\.\\d+)?`);
|
5506
|
+
const c = a.precision ? "+" : "?";
|
5507
|
+
return `([01]\\d|2[0-3]):[0-5]\\d(:${s})${c}`;
|
5506
5508
|
}
|
5507
5509
|
function timeRegex(a) {
|
5508
5510
|
return new RegExp(`^${timeRegexSource(a)}$`);
|
@@ -135711,7 +135713,7 @@ const Dragger = /* @__PURE__ */ reactExports.forwardRef((a, s) => {
|
|
135711
135713
|
Upload.Dragger = Dragger;
|
135712
135714
|
Upload.LIST_IGNORE = LIST_IGNORE;
|
135713
135715
|
/**
|
135714
|
-
* @license lucide-react v0.
|
135716
|
+
* @license lucide-react v0.507.0 - ISC
|
135715
135717
|
*
|
135716
135718
|
* This source code is licensed under the ISC license.
|
135717
135719
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135722,9 +135724,13 @@ const toKebabCase = (a) => a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(
|
|
135722
135724
|
), toPascalCase = (a) => {
|
135723
135725
|
const s = toCamelCase(a);
|
135724
135726
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
135725
|
-
}, mergeClasses = (...a) => a.filter((s, c, u) => !!s && s.trim() !== "" && u.indexOf(s) === c).join(" ").trim()
|
135727
|
+
}, mergeClasses = (...a) => a.filter((s, c, u) => !!s && s.trim() !== "" && u.indexOf(s) === c).join(" ").trim(), hasA11yProp = (a) => {
|
135728
|
+
for (const s in a)
|
135729
|
+
if (s.startsWith("aria-") || s === "role" || s === "title")
|
135730
|
+
return !0;
|
135731
|
+
};
|
135726
135732
|
/**
|
135727
|
-
* @license lucide-react v0.
|
135733
|
+
* @license lucide-react v0.507.0 - ISC
|
135728
135734
|
*
|
135729
135735
|
* This source code is licensed under the ISC license.
|
135730
135736
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135741,7 +135747,7 @@ var defaultAttributes$1 = {
|
|
135741
135747
|
strokeLinejoin: "round"
|
135742
135748
|
};
|
135743
135749
|
/**
|
135744
|
-
* @license lucide-react v0.
|
135750
|
+
* @license lucide-react v0.507.0 - ISC
|
135745
135751
|
*
|
135746
135752
|
* This source code is licensed under the ISC license.
|
135747
135753
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135766,6 +135772,7 @@ const Icon = reactExports.forwardRef(
|
|
135766
135772
|
stroke: a,
|
135767
135773
|
strokeWidth: u ? Number(c) * 24 / Number(s) : c,
|
135768
135774
|
className: mergeClasses("lucide", d),
|
135775
|
+
...!p && !hasA11yProp(A) && { "aria-hidden": "true" },
|
135769
135776
|
...A
|
135770
135777
|
},
|
135771
135778
|
[
|
@@ -135775,7 +135782,7 @@ const Icon = reactExports.forwardRef(
|
|
135775
135782
|
)
|
135776
135783
|
);
|
135777
135784
|
/**
|
135778
|
-
* @license lucide-react v0.
|
135785
|
+
* @license lucide-react v0.507.0 - ISC
|
135779
135786
|
*
|
135780
135787
|
* This source code is licensed under the ISC license.
|
135781
135788
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135796,7 +135803,7 @@ const createLucideIcon = (a, s) => {
|
|
135796
135803
|
return c.displayName = toPascalCase(a), c;
|
135797
135804
|
};
|
135798
135805
|
/**
|
135799
|
-
* @license lucide-react v0.
|
135806
|
+
* @license lucide-react v0.507.0 - ISC
|
135800
135807
|
*
|
135801
135808
|
* This source code is licensed under the ISC license.
|
135802
135809
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135809,7 +135816,7 @@ const __iconNode$m = [
|
|
135809
135816
|
["path", { d: "M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1", key: "1apec2" }]
|
135810
135817
|
], AlignCenterHorizontal = createLucideIcon("align-center-horizontal", __iconNode$m);
|
135811
135818
|
/**
|
135812
|
-
* @license lucide-react v0.
|
135819
|
+
* @license lucide-react v0.507.0 - ISC
|
135813
135820
|
*
|
135814
135821
|
* This source code is licensed under the ISC license.
|
135815
135822
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135822,7 +135829,7 @@ const __iconNode$l = [
|
|
135822
135829
|
["path", { d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1", key: "1euafb" }]
|
135823
135830
|
], AlignCenterVertical = createLucideIcon("align-center-vertical", __iconNode$l);
|
135824
135831
|
/**
|
135825
|
-
* @license lucide-react v0.
|
135832
|
+
* @license lucide-react v0.507.0 - ISC
|
135826
135833
|
*
|
135827
135834
|
* This source code is licensed under the ISC license.
|
135828
135835
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135833,7 +135840,7 @@ const __iconNode$k = [
|
|
135833
135840
|
["path", { d: "M22 22H2", key: "19qnx5" }]
|
135834
135841
|
], AlignEndHorizontal = createLucideIcon("align-end-horizontal", __iconNode$k);
|
135835
135842
|
/**
|
135836
|
-
* @license lucide-react v0.
|
135843
|
+
* @license lucide-react v0.507.0 - ISC
|
135837
135844
|
*
|
135838
135845
|
* This source code is licensed under the ISC license.
|
135839
135846
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135844,7 +135851,7 @@ const __iconNode$j = [
|
|
135844
135851
|
["path", { d: "M22 22V2", key: "12ipfv" }]
|
135845
135852
|
], AlignEndVertical = createLucideIcon("align-end-vertical", __iconNode$j);
|
135846
135853
|
/**
|
135847
|
-
* @license lucide-react v0.
|
135854
|
+
* @license lucide-react v0.507.0 - ISC
|
135848
135855
|
*
|
135849
135856
|
* This source code is licensed under the ISC license.
|
135850
135857
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135855,7 +135862,7 @@ const __iconNode$i = [
|
|
135855
135862
|
["path", { d: "M20 22V2", key: "1bnhr8" }]
|
135856
135863
|
], AlignHorizontalSpaceAround = createLucideIcon("align-horizontal-space-around", __iconNode$i);
|
135857
135864
|
/**
|
135858
|
-
* @license lucide-react v0.
|
135865
|
+
* @license lucide-react v0.507.0 - ISC
|
135859
135866
|
*
|
135860
135867
|
* This source code is licensed under the ISC license.
|
135861
135868
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135866,7 +135873,7 @@ const __iconNode$h = [
|
|
135866
135873
|
["path", { d: "M22 2H2", key: "fhrpnj" }]
|
135867
135874
|
], AlignStartHorizontal = createLucideIcon("align-start-horizontal", __iconNode$h);
|
135868
135875
|
/**
|
135869
|
-
* @license lucide-react v0.
|
135876
|
+
* @license lucide-react v0.507.0 - ISC
|
135870
135877
|
*
|
135871
135878
|
* This source code is licensed under the ISC license.
|
135872
135879
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135877,7 +135884,7 @@ const __iconNode$g = [
|
|
135877
135884
|
["path", { d: "M2 2v20", key: "1ivd8o" }]
|
135878
135885
|
], AlignStartVertical = createLucideIcon("align-start-vertical", __iconNode$g);
|
135879
135886
|
/**
|
135880
|
-
* @license lucide-react v0.
|
135887
|
+
* @license lucide-react v0.507.0 - ISC
|
135881
135888
|
*
|
135882
135889
|
* This source code is licensed under the ISC license.
|
135883
135890
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135888,7 +135895,7 @@ const __iconNode$f = [
|
|
135888
135895
|
["path", { d: "M22 4H2", key: "1b7qnq" }]
|
135889
135896
|
], AlignVerticalSpaceAround = createLucideIcon("align-vertical-space-around", __iconNode$f);
|
135890
135897
|
/**
|
135891
|
-
* @license lucide-react v0.
|
135898
|
+
* @license lucide-react v0.507.0 - ISC
|
135892
135899
|
*
|
135893
135900
|
* This source code is licensed under the ISC license.
|
135894
135901
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135898,7 +135905,7 @@ const __iconNode$e = [
|
|
135898
135905
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
135899
135906
|
], ArrowLeft = createLucideIcon("arrow-left", __iconNode$e);
|
135900
135907
|
/**
|
135901
|
-
* @license lucide-react v0.
|
135908
|
+
* @license lucide-react v0.507.0 - ISC
|
135902
135909
|
*
|
135903
135910
|
* This source code is licensed under the ISC license.
|
135904
135911
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135908,21 +135915,21 @@ const __iconNode$d = [
|
|
135908
135915
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
135909
135916
|
], ArrowRight = createLucideIcon("arrow-right", __iconNode$d);
|
135910
135917
|
/**
|
135911
|
-
* @license lucide-react v0.
|
135918
|
+
* @license lucide-react v0.507.0 - ISC
|
135912
135919
|
*
|
135913
135920
|
* This source code is licensed under the ISC license.
|
135914
135921
|
* See the LICENSE file in the root directory of this source tree.
|
135915
135922
|
*/
|
135916
135923
|
const __iconNode$c = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("chevron-left", __iconNode$c);
|
135917
135924
|
/**
|
135918
|
-
* @license lucide-react v0.
|
135925
|
+
* @license lucide-react v0.507.0 - ISC
|
135919
135926
|
*
|
135920
135927
|
* This source code is licensed under the ISC license.
|
135921
135928
|
* See the LICENSE file in the root directory of this source tree.
|
135922
135929
|
*/
|
135923
135930
|
const __iconNode$b = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("chevron-right", __iconNode$b);
|
135924
135931
|
/**
|
135925
|
-
* @license lucide-react v0.
|
135932
|
+
* @license lucide-react v0.507.0 - ISC
|
135926
135933
|
*
|
135927
135934
|
* This source code is licensed under the ISC license.
|
135928
135935
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135932,7 +135939,7 @@ const __iconNode$a = [
|
|
135932
135939
|
["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
|
135933
135940
|
], ChevronsLeft = createLucideIcon("chevrons-left", __iconNode$a);
|
135934
135941
|
/**
|
135935
|
-
* @license lucide-react v0.
|
135942
|
+
* @license lucide-react v0.507.0 - ISC
|
135936
135943
|
*
|
135937
135944
|
* This source code is licensed under the ISC license.
|
135938
135945
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135942,7 +135949,7 @@ const __iconNode$9 = [
|
|
135942
135949
|
["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
|
135943
135950
|
], ChevronsRight = createLucideIcon("chevrons-right", __iconNode$9);
|
135944
135951
|
/**
|
135945
|
-
* @license lucide-react v0.
|
135952
|
+
* @license lucide-react v0.507.0 - ISC
|
135946
135953
|
*
|
135947
135954
|
* This source code is licensed under the ISC license.
|
135948
135955
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135953,7 +135960,7 @@ const __iconNode$8 = [
|
|
135953
135960
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
135954
135961
|
], CircleAlert = createLucideIcon("circle-alert", __iconNode$8);
|
135955
135962
|
/**
|
135956
|
-
* @license lucide-react v0.
|
135963
|
+
* @license lucide-react v0.507.0 - ISC
|
135957
135964
|
*
|
135958
135965
|
* This source code is licensed under the ISC license.
|
135959
135966
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135964,7 +135971,7 @@ const __iconNode$7 = [
|
|
135964
135971
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
135965
135972
|
], Ellipsis = createLucideIcon("ellipsis", __iconNode$7);
|
135966
135973
|
/**
|
135967
|
-
* @license lucide-react v0.
|
135974
|
+
* @license lucide-react v0.507.0 - ISC
|
135968
135975
|
*
|
135969
135976
|
* This source code is licensed under the ISC license.
|
135970
135977
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135978,14 +135985,14 @@ const __iconNode$6 = [
|
|
135978
135985
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
135979
135986
|
], GripVertical = createLucideIcon("grip-vertical", __iconNode$6);
|
135980
135987
|
/**
|
135981
|
-
* @license lucide-react v0.
|
135988
|
+
* @license lucide-react v0.507.0 - ISC
|
135982
135989
|
*
|
135983
135990
|
* This source code is licensed under the ISC license.
|
135984
135991
|
* See the LICENSE file in the root directory of this source tree.
|
135985
135992
|
*/
|
135986
135993
|
const __iconNode$5 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], LoaderCircle = createLucideIcon("loader-circle", __iconNode$5);
|
135987
135994
|
/**
|
135988
|
-
* @license lucide-react v0.
|
135995
|
+
* @license lucide-react v0.507.0 - ISC
|
135989
135996
|
*
|
135990
135997
|
* This source code is licensed under the ISC license.
|
135991
135998
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135995,25 +136002,25 @@ const __iconNode$4 = [
|
|
135995
136002
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
135996
136003
|
], Lock = createLucideIcon("lock", __iconNode$4);
|
135997
136004
|
/**
|
135998
|
-
* @license lucide-react v0.
|
136005
|
+
* @license lucide-react v0.507.0 - ISC
|
135999
136006
|
*
|
136000
136007
|
* This source code is licensed under the ISC license.
|
136001
136008
|
* See the LICENSE file in the root directory of this source tree.
|
136002
136009
|
*/
|
136003
136010
|
const __iconNode$3 = [
|
136004
|
-
["
|
136005
|
-
["
|
136006
|
-
["
|
136011
|
+
["path", { d: "M4 12h16", key: "1lakjw" }],
|
136012
|
+
["path", { d: "M4 18h16", key: "19g7jn" }],
|
136013
|
+
["path", { d: "M4 6h16", key: "1o0s65" }]
|
136007
136014
|
], Menu = createLucideIcon("menu", __iconNode$3);
|
136008
136015
|
/**
|
136009
|
-
* @license lucide-react v0.
|
136016
|
+
* @license lucide-react v0.507.0 - ISC
|
136010
136017
|
*
|
136011
136018
|
* This source code is licensed under the ISC license.
|
136012
136019
|
* See the LICENSE file in the root directory of this source tree.
|
136013
136020
|
*/
|
136014
136021
|
const __iconNode$2 = [["path", { d: "M5 12h14", key: "1ays0h" }]], Minus = createLucideIcon("minus", __iconNode$2);
|
136015
136022
|
/**
|
136016
|
-
* @license lucide-react v0.
|
136023
|
+
* @license lucide-react v0.507.0 - ISC
|
136017
136024
|
*
|
136018
136025
|
* This source code is licensed under the ISC license.
|
136019
136026
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136023,7 +136030,7 @@ const __iconNode$1 = [
|
|
136023
136030
|
["path", { d: "M12 5v14", key: "s699le" }]
|
136024
136031
|
], Plus = createLucideIcon("plus", __iconNode$1);
|
136025
136032
|
/**
|
136026
|
-
* @license lucide-react v0.
|
136033
|
+
* @license lucide-react v0.507.0 - ISC
|
136027
136034
|
*
|
136028
136035
|
* This source code is licensed under the ISC license.
|
136029
136036
|
* See the LICENSE file in the root directory of this source tree.
|