@pdfme/ui 5.3.13-dev.69 → 5.3.13-dev.71
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 +48 -48
- package/dist/index.umd.js +38 -38
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
@@ -80029,7 +80029,7 @@ const DEFAULT_OPACITY = 1, HEX_COLOR_PATTERN = "^#(?:[A-Fa-f0-9]{6})$", getBody$
|
|
80029
80029
|
});
|
80030
80030
|
};
|
80031
80031
|
/**
|
80032
|
-
* @license lucide v0.
|
80032
|
+
* @license lucide v0.482.0 - ISC
|
80033
80033
|
*
|
80034
80034
|
* This source code is licensed under the ISC license.
|
80035
80035
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80040,7 +80040,7 @@ const AlignCenter = [
|
|
80040
80040
|
["path", { d: "M21 6H3" }]
|
80041
80041
|
];
|
80042
80042
|
/**
|
80043
|
-
* @license lucide v0.
|
80043
|
+
* @license lucide v0.482.0 - ISC
|
80044
80044
|
*
|
80045
80045
|
* This source code is licensed under the ISC license.
|
80046
80046
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80051,7 +80051,7 @@ const AlignJustify = [
|
|
80051
80051
|
["path", { d: "M3 6h18" }]
|
80052
80052
|
];
|
80053
80053
|
/**
|
80054
|
-
* @license lucide v0.
|
80054
|
+
* @license lucide v0.482.0 - ISC
|
80055
80055
|
*
|
80056
80056
|
* This source code is licensed under the ISC license.
|
80057
80057
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80062,7 +80062,7 @@ const AlignLeft = [
|
|
80062
80062
|
["path", { d: "M21 6H3" }]
|
80063
80063
|
];
|
80064
80064
|
/**
|
80065
|
-
* @license lucide v0.
|
80065
|
+
* @license lucide v0.482.0 - ISC
|
80066
80066
|
*
|
80067
80067
|
* This source code is licensed under the ISC license.
|
80068
80068
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80073,7 +80073,7 @@ const AlignRight = [
|
|
80073
80073
|
["path", { d: "M21 6H3" }]
|
80074
80074
|
];
|
80075
80075
|
/**
|
80076
|
-
* @license lucide v0.
|
80076
|
+
* @license lucide v0.482.0 - ISC
|
80077
80077
|
*
|
80078
80078
|
* This source code is licensed under the ISC license.
|
80079
80079
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80084,7 +80084,7 @@ const ArrowDownToLine = [
|
|
80084
80084
|
["path", { d: "M19 21H5" }]
|
80085
80085
|
];
|
80086
80086
|
/**
|
80087
|
-
* @license lucide v0.
|
80087
|
+
* @license lucide v0.482.0 - ISC
|
80088
80088
|
*
|
80089
80089
|
* This source code is licensed under the ISC license.
|
80090
80090
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80095,7 +80095,7 @@ const ArrowUpToLine = [
|
|
80095
80095
|
["path", { d: "M12 7v14" }]
|
80096
80096
|
];
|
80097
80097
|
/**
|
80098
|
-
* @license lucide v0.
|
80098
|
+
* @license lucide v0.482.0 - ISC
|
80099
80099
|
*
|
80100
80100
|
* This source code is licensed under the ISC license.
|
80101
80101
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80106,7 +80106,7 @@ const Strikethrough = [
|
|
80106
80106
|
["line", { x1: "4", x2: "20", y1: "12", y2: "12" }]
|
80107
80107
|
];
|
80108
80108
|
/**
|
80109
|
-
* @license lucide v0.
|
80109
|
+
* @license lucide v0.482.0 - ISC
|
80110
80110
|
*
|
80111
80111
|
* This source code is licensed under the ISC license.
|
80112
80112
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -80119,7 +80119,7 @@ const TextCursorInput = [
|
|
80119
80119
|
["path", { d: "M9 7v10" }]
|
80120
80120
|
];
|
80121
80121
|
/**
|
80122
|
-
* @license lucide v0.
|
80122
|
+
* @license lucide v0.482.0 - ISC
|
80123
80123
|
*
|
80124
80124
|
* This source code is licensed under the ISC license.
|
80125
80125
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135558,14 +135558,14 @@ const Dragger = /* @__PURE__ */ reactExports.forwardRef((a, s) => {
|
|
135558
135558
|
Upload.Dragger = Dragger;
|
135559
135559
|
Upload.LIST_IGNORE = LIST_IGNORE;
|
135560
135560
|
/**
|
135561
|
-
* @license lucide-react v0.
|
135561
|
+
* @license lucide-react v0.482.0 - ISC
|
135562
135562
|
*
|
135563
135563
|
* This source code is licensed under the ISC license.
|
135564
135564
|
* See the LICENSE file in the root directory of this source tree.
|
135565
135565
|
*/
|
135566
135566
|
const toKebabCase = (a) => a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), mergeClasses = (...a) => a.filter((s, c, u) => !!s && s.trim() !== "" && u.indexOf(s) === c).join(" ").trim();
|
135567
135567
|
/**
|
135568
|
-
* @license lucide-react v0.
|
135568
|
+
* @license lucide-react v0.482.0 - ISC
|
135569
135569
|
*
|
135570
135570
|
* This source code is licensed under the ISC license.
|
135571
135571
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135582,7 +135582,7 @@ var defaultAttributes$1 = {
|
|
135582
135582
|
strokeLinejoin: "round"
|
135583
135583
|
};
|
135584
135584
|
/**
|
135585
|
-
* @license lucide-react v0.
|
135585
|
+
* @license lucide-react v0.482.0 - ISC
|
135586
135586
|
*
|
135587
135587
|
* This source code is licensed under the ISC license.
|
135588
135588
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135616,7 +135616,7 @@ const Icon = reactExports.forwardRef(
|
|
135616
135616
|
)
|
135617
135617
|
);
|
135618
135618
|
/**
|
135619
|
-
* @license lucide-react v0.
|
135619
|
+
* @license lucide-react v0.482.0 - ISC
|
135620
135620
|
*
|
135621
135621
|
* This source code is licensed under the ISC license.
|
135622
135622
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135633,33 +135633,33 @@ const createLucideIcon = (a, s) => {
|
|
135633
135633
|
return c.displayName = `${a}`, c;
|
135634
135634
|
};
|
135635
135635
|
/**
|
135636
|
-
* @license lucide-react v0.
|
135636
|
+
* @license lucide-react v0.482.0 - ISC
|
135637
135637
|
*
|
135638
135638
|
* This source code is licensed under the ISC license.
|
135639
135639
|
* See the LICENSE file in the root directory of this source tree.
|
135640
135640
|
*/
|
135641
135641
|
const __iconNode$m = [
|
135642
|
-
["path", { d: "
|
135643
|
-
["path", { d: "
|
135644
|
-
["path", { d: "
|
135645
|
-
["path", { d: "
|
135646
|
-
["path", { d: "
|
135647
|
-
],
|
135642
|
+
["path", { d: "M12 2v20", key: "t6zp3m" }],
|
135643
|
+
["path", { d: "M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4", key: "14d6g8" }],
|
135644
|
+
["path", { d: "M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4", key: "1e2lrw" }],
|
135645
|
+
["path", { d: "M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1", key: "1fkdwx" }],
|
135646
|
+
["path", { d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1", key: "1euafb" }]
|
135647
|
+
], AlignCenterVertical = createLucideIcon("AlignCenterVertical", __iconNode$m);
|
135648
135648
|
/**
|
135649
|
-
* @license lucide-react v0.
|
135649
|
+
* @license lucide-react v0.482.0 - ISC
|
135650
135650
|
*
|
135651
135651
|
* This source code is licensed under the ISC license.
|
135652
135652
|
* See the LICENSE file in the root directory of this source tree.
|
135653
135653
|
*/
|
135654
135654
|
const __iconNode$l = [
|
135655
|
-
["path", { d: "
|
135656
|
-
["path", { d: "
|
135657
|
-
["path", { d: "
|
135658
|
-
["path", { d: "
|
135659
|
-
["path", { d: "
|
135660
|
-
],
|
135655
|
+
["path", { d: "M2 12h20", key: "9i4pu4" }],
|
135656
|
+
["path", { d: "M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4", key: "11f1s0" }],
|
135657
|
+
["path", { d: "M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4", key: "t14dx9" }],
|
135658
|
+
["path", { d: "M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1", key: "1w07xs" }],
|
135659
|
+
["path", { d: "M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1", key: "1apec2" }]
|
135660
|
+
], AlignCenterHorizontal = createLucideIcon("AlignCenterHorizontal", __iconNode$l);
|
135661
135661
|
/**
|
135662
|
-
* @license lucide-react v0.
|
135662
|
+
* @license lucide-react v0.482.0 - ISC
|
135663
135663
|
*
|
135664
135664
|
* This source code is licensed under the ISC license.
|
135665
135665
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135670,7 +135670,7 @@ const __iconNode$k = [
|
|
135670
135670
|
["path", { d: "M22 22H2", key: "19qnx5" }]
|
135671
135671
|
], AlignEndHorizontal = createLucideIcon("AlignEndHorizontal", __iconNode$k);
|
135672
135672
|
/**
|
135673
|
-
* @license lucide-react v0.
|
135673
|
+
* @license lucide-react v0.482.0 - ISC
|
135674
135674
|
*
|
135675
135675
|
* This source code is licensed under the ISC license.
|
135676
135676
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135681,7 +135681,7 @@ const __iconNode$j = [
|
|
135681
135681
|
["path", { d: "M22 22V2", key: "12ipfv" }]
|
135682
135682
|
], AlignEndVertical = createLucideIcon("AlignEndVertical", __iconNode$j);
|
135683
135683
|
/**
|
135684
|
-
* @license lucide-react v0.
|
135684
|
+
* @license lucide-react v0.482.0 - ISC
|
135685
135685
|
*
|
135686
135686
|
* This source code is licensed under the ISC license.
|
135687
135687
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135692,7 +135692,7 @@ const __iconNode$i = [
|
|
135692
135692
|
["path", { d: "M20 22V2", key: "1bnhr8" }]
|
135693
135693
|
], AlignHorizontalSpaceAround = createLucideIcon("AlignHorizontalSpaceAround", __iconNode$i);
|
135694
135694
|
/**
|
135695
|
-
* @license lucide-react v0.
|
135695
|
+
* @license lucide-react v0.482.0 - ISC
|
135696
135696
|
*
|
135697
135697
|
* This source code is licensed under the ISC license.
|
135698
135698
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135703,7 +135703,7 @@ const __iconNode$h = [
|
|
135703
135703
|
["path", { d: "M22 2H2", key: "fhrpnj" }]
|
135704
135704
|
], AlignStartHorizontal = createLucideIcon("AlignStartHorizontal", __iconNode$h);
|
135705
135705
|
/**
|
135706
|
-
* @license lucide-react v0.
|
135706
|
+
* @license lucide-react v0.482.0 - ISC
|
135707
135707
|
*
|
135708
135708
|
* This source code is licensed under the ISC license.
|
135709
135709
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135714,7 +135714,7 @@ const __iconNode$g = [
|
|
135714
135714
|
["path", { d: "M2 2v20", key: "1ivd8o" }]
|
135715
135715
|
], AlignStartVertical = createLucideIcon("AlignStartVertical", __iconNode$g);
|
135716
135716
|
/**
|
135717
|
-
* @license lucide-react v0.
|
135717
|
+
* @license lucide-react v0.482.0 - ISC
|
135718
135718
|
*
|
135719
135719
|
* This source code is licensed under the ISC license.
|
135720
135720
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135725,7 +135725,7 @@ const __iconNode$f = [
|
|
135725
135725
|
["path", { d: "M22 4H2", key: "1b7qnq" }]
|
135726
135726
|
], AlignVerticalSpaceAround = createLucideIcon("AlignVerticalSpaceAround", __iconNode$f);
|
135727
135727
|
/**
|
135728
|
-
* @license lucide-react v0.
|
135728
|
+
* @license lucide-react v0.482.0 - ISC
|
135729
135729
|
*
|
135730
135730
|
* This source code is licensed under the ISC license.
|
135731
135731
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135735,7 +135735,7 @@ const __iconNode$e = [
|
|
135735
135735
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
135736
135736
|
], ArrowLeft = createLucideIcon("ArrowLeft", __iconNode$e);
|
135737
135737
|
/**
|
135738
|
-
* @license lucide-react v0.
|
135738
|
+
* @license lucide-react v0.482.0 - ISC
|
135739
135739
|
*
|
135740
135740
|
* This source code is licensed under the ISC license.
|
135741
135741
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135745,21 +135745,21 @@ const __iconNode$d = [
|
|
135745
135745
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
135746
135746
|
], ArrowRight = createLucideIcon("ArrowRight", __iconNode$d);
|
135747
135747
|
/**
|
135748
|
-
* @license lucide-react v0.
|
135748
|
+
* @license lucide-react v0.482.0 - ISC
|
135749
135749
|
*
|
135750
135750
|
* This source code is licensed under the ISC license.
|
135751
135751
|
* See the LICENSE file in the root directory of this source tree.
|
135752
135752
|
*/
|
135753
135753
|
const __iconNode$c = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("ChevronLeft", __iconNode$c);
|
135754
135754
|
/**
|
135755
|
-
* @license lucide-react v0.
|
135755
|
+
* @license lucide-react v0.482.0 - ISC
|
135756
135756
|
*
|
135757
135757
|
* This source code is licensed under the ISC license.
|
135758
135758
|
* See the LICENSE file in the root directory of this source tree.
|
135759
135759
|
*/
|
135760
135760
|
const __iconNode$b = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("ChevronRight", __iconNode$b);
|
135761
135761
|
/**
|
135762
|
-
* @license lucide-react v0.
|
135762
|
+
* @license lucide-react v0.482.0 - ISC
|
135763
135763
|
*
|
135764
135764
|
* This source code is licensed under the ISC license.
|
135765
135765
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135769,7 +135769,7 @@ const __iconNode$a = [
|
|
135769
135769
|
["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
|
135770
135770
|
], ChevronsLeft = createLucideIcon("ChevronsLeft", __iconNode$a);
|
135771
135771
|
/**
|
135772
|
-
* @license lucide-react v0.
|
135772
|
+
* @license lucide-react v0.482.0 - ISC
|
135773
135773
|
*
|
135774
135774
|
* This source code is licensed under the ISC license.
|
135775
135775
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135779,7 +135779,7 @@ const __iconNode$9 = [
|
|
135779
135779
|
["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
|
135780
135780
|
], ChevronsRight = createLucideIcon("ChevronsRight", __iconNode$9);
|
135781
135781
|
/**
|
135782
|
-
* @license lucide-react v0.
|
135782
|
+
* @license lucide-react v0.482.0 - ISC
|
135783
135783
|
*
|
135784
135784
|
* This source code is licensed under the ISC license.
|
135785
135785
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135790,7 +135790,7 @@ const __iconNode$8 = [
|
|
135790
135790
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
135791
135791
|
], CircleAlert = createLucideIcon("CircleAlert", __iconNode$8);
|
135792
135792
|
/**
|
135793
|
-
* @license lucide-react v0.
|
135793
|
+
* @license lucide-react v0.482.0 - ISC
|
135794
135794
|
*
|
135795
135795
|
* This source code is licensed under the ISC license.
|
135796
135796
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135801,7 +135801,7 @@ const __iconNode$7 = [
|
|
135801
135801
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
135802
135802
|
], Ellipsis = createLucideIcon("Ellipsis", __iconNode$7);
|
135803
135803
|
/**
|
135804
|
-
* @license lucide-react v0.
|
135804
|
+
* @license lucide-react v0.482.0 - ISC
|
135805
135805
|
*
|
135806
135806
|
* This source code is licensed under the ISC license.
|
135807
135807
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135815,14 +135815,14 @@ const __iconNode$6 = [
|
|
135815
135815
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
135816
135816
|
], GripVertical = createLucideIcon("GripVertical", __iconNode$6);
|
135817
135817
|
/**
|
135818
|
-
* @license lucide-react v0.
|
135818
|
+
* @license lucide-react v0.482.0 - ISC
|
135819
135819
|
*
|
135820
135820
|
* This source code is licensed under the ISC license.
|
135821
135821
|
* See the LICENSE file in the root directory of this source tree.
|
135822
135822
|
*/
|
135823
135823
|
const __iconNode$5 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], LoaderCircle = createLucideIcon("LoaderCircle", __iconNode$5);
|
135824
135824
|
/**
|
135825
|
-
* @license lucide-react v0.
|
135825
|
+
* @license lucide-react v0.482.0 - ISC
|
135826
135826
|
*
|
135827
135827
|
* This source code is licensed under the ISC license.
|
135828
135828
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135832,7 +135832,7 @@ const __iconNode$4 = [
|
|
135832
135832
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
135833
135833
|
], Lock = createLucideIcon("Lock", __iconNode$4);
|
135834
135834
|
/**
|
135835
|
-
* @license lucide-react v0.
|
135835
|
+
* @license lucide-react v0.482.0 - ISC
|
135836
135836
|
*
|
135837
135837
|
* This source code is licensed under the ISC license.
|
135838
135838
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135843,14 +135843,14 @@ const __iconNode$3 = [
|
|
135843
135843
|
["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
|
135844
135844
|
], Menu = createLucideIcon("Menu", __iconNode$3);
|
135845
135845
|
/**
|
135846
|
-
* @license lucide-react v0.
|
135846
|
+
* @license lucide-react v0.482.0 - ISC
|
135847
135847
|
*
|
135848
135848
|
* This source code is licensed under the ISC license.
|
135849
135849
|
* See the LICENSE file in the root directory of this source tree.
|
135850
135850
|
*/
|
135851
135851
|
const __iconNode$2 = [["path", { d: "M5 12h14", key: "1ays0h" }]], Minus = createLucideIcon("Minus", __iconNode$2);
|
135852
135852
|
/**
|
135853
|
-
* @license lucide-react v0.
|
135853
|
+
* @license lucide-react v0.482.0 - ISC
|
135854
135854
|
*
|
135855
135855
|
* This source code is licensed under the ISC license.
|
135856
135856
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135860,7 +135860,7 @@ const __iconNode$1 = [
|
|
135860
135860
|
["path", { d: "M12 5v14", key: "s699le" }]
|
135861
135861
|
], Plus = createLucideIcon("Plus", __iconNode$1);
|
135862
135862
|
/**
|
135863
|
-
* @license lucide-react v0.
|
135863
|
+
* @license lucide-react v0.482.0 - ISC
|
135864
135864
|
*
|
135865
135865
|
* This source code is licensed under the ISC license.
|
135866
135866
|
* See the LICENSE file in the root directory of this source tree.
|
package/dist/index.umd.js
CHANGED
@@ -139,47 +139,47 @@ endstream`,s}copyBytesInto(s,c){this.updateDict();const u=c;c+=this.dict.copyByt
|
|
139
139
|
`,""),Q=widthOfTextAtSize(J,y,m,P),Y=heightOfFontAtSize(y,m),Z=I*m*W;k===""&&(k=`\r
|
140
140
|
`);let ee=M;S==="center"?ee+=(R-Q)/2:S==="right"&&(ee+=R-Q);let re=E-mm2pt(v.position.y)-F-Z;if(v.strikethrough&&Q>0){const V=ee+Q+1,K=re+Y/3;d.drawLine({start:rotatePoint({x:ee,y:K},U,B.angle),end:rotatePoint({x:V,y:K},U,B.angle),thickness:1/12*m,color:C,opacity:O})}if(v.underline&&Q>0){const V=ee+Q+1,K=re-Y/12;d.drawLine({start:rotatePoint({x:ee,y:K},U,B.angle),end:rotatePoint({x:V,y:K},U,B.angle),thickness:1/12*m,color:C,opacity:O})}if(B.angle!==0){const V=rotatePoint({x:ee,y:re},U,B.angle);ee=V.x,re=V.y}let ae=P;if(S==="justify"&&k.slice(-1)!==`
|
141
141
|
`){const V=N.segment(J)[Symbol.iterator](),K=Array.from(V).length;ae+=(R-Q)/K}d.pushOperators(u.setCharacterSpacing(ae)),d.drawText(J,{x:ee,y:re,rotate:B,size:m,color:C,lineHeight:I*m,font:_,opacity:O})})};/**
|
142
|
-
* @license lucide v0.
|
142
|
+
* @license lucide v0.482.0 - ISC
|
143
143
|
*
|
144
144
|
* This source code is licensed under the ISC license.
|
145
145
|
* See the LICENSE file in the root directory of this source tree.
|
146
146
|
*/const AlignCenter=[["path",{d:"M17 12H7"}],["path",{d:"M19 18H5"}],["path",{d:"M21 6H3"}]];/**
|
147
|
-
* @license lucide v0.
|
147
|
+
* @license lucide v0.482.0 - ISC
|
148
148
|
*
|
149
149
|
* This source code is licensed under the ISC license.
|
150
150
|
* See the LICENSE file in the root directory of this source tree.
|
151
151
|
*/const AlignJustify=[["path",{d:"M3 12h18"}],["path",{d:"M3 18h18"}],["path",{d:"M3 6h18"}]];/**
|
152
|
-
* @license lucide v0.
|
152
|
+
* @license lucide v0.482.0 - ISC
|
153
153
|
*
|
154
154
|
* This source code is licensed under the ISC license.
|
155
155
|
* See the LICENSE file in the root directory of this source tree.
|
156
156
|
*/const AlignLeft=[["path",{d:"M15 12H3"}],["path",{d:"M17 18H3"}],["path",{d:"M21 6H3"}]];/**
|
157
|
-
* @license lucide v0.
|
157
|
+
* @license lucide v0.482.0 - ISC
|
158
158
|
*
|
159
159
|
* This source code is licensed under the ISC license.
|
160
160
|
* See the LICENSE file in the root directory of this source tree.
|
161
161
|
*/const AlignRight=[["path",{d:"M21 12H9"}],["path",{d:"M21 18H7"}],["path",{d:"M21 6H3"}]];/**
|
162
|
-
* @license lucide v0.
|
162
|
+
* @license lucide v0.482.0 - ISC
|
163
163
|
*
|
164
164
|
* This source code is licensed under the ISC license.
|
165
165
|
* See the LICENSE file in the root directory of this source tree.
|
166
166
|
*/const ArrowDownToLine=[["path",{d:"M12 17V3"}],["path",{d:"m6 11 6 6 6-6"}],["path",{d:"M19 21H5"}]];/**
|
167
|
-
* @license lucide v0.
|
167
|
+
* @license lucide v0.482.0 - ISC
|
168
168
|
*
|
169
169
|
* This source code is licensed under the ISC license.
|
170
170
|
* See the LICENSE file in the root directory of this source tree.
|
171
171
|
*/const ArrowUpToLine=[["path",{d:"M5 3h14"}],["path",{d:"m18 13-6-6-6 6"}],["path",{d:"M12 7v14"}]];/**
|
172
|
-
* @license lucide v0.
|
172
|
+
* @license lucide v0.482.0 - ISC
|
173
173
|
*
|
174
174
|
* This source code is licensed under the ISC license.
|
175
175
|
* See the LICENSE file in the root directory of this source tree.
|
176
176
|
*/const Strikethrough=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12"}]];/**
|
177
|
-
* @license lucide v0.
|
177
|
+
* @license lucide v0.482.0 - ISC
|
178
178
|
*
|
179
179
|
* This source code is licensed under the ISC license.
|
180
180
|
* See the LICENSE file in the root directory of this source tree.
|
181
181
|
*/const TextCursorInput=[["path",{d:"M5 4h1a3 3 0 0 1 3 3 3 3 0 0 1 3-3h1"}],["path",{d:"M13 20h-1a3 3 0 0 1-3-3 3 3 0 0 1-3 3H5"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7"}],["path",{d:"M9 7v10"}]];/**
|
182
|
-
* @license lucide v0.
|
182
|
+
* @license lucide v0.482.0 - ISC
|
183
183
|
*
|
184
184
|
* This source code is licensed under the ISC license.
|
185
185
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -637,137 +637,137 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
637
637
|
${c}-download,
|
638
638
|
${c}-delete
|
639
639
|
`]:{zIndex:10,width:u,margin:`0 ${unit$1(a.marginXXS)}`,fontSize:u,cursor:"pointer",transition:`all ${a.motionDurationSlow}`,color:d,"&:hover":{color:d},svg:{verticalAlign:"baseline"}}},[`${A}-thumbnail, ${A}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${A}-name`]:{display:"none",textAlign:"center"},[`${A}-file + ${A}-name`]:{position:"absolute",bottom:a.margin,display:"block",width:`calc(100% - ${unit$1(p(a.paddingXS).mul(2).equal())})`},[`${A}-uploading`]:{[`&${A}`]:{backgroundColor:a.colorFillAlter},[`&::before, ${c}-eye, ${c}-download, ${c}-delete`]:{display:"none"}},[`${A}-progress`]:{bottom:a.marginXL,width:`calc(100% - ${unit$1(p(a.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${s}-wrapper${s}-picture-circle-wrapper`]:{[`${s}${s}-select`]:{borderRadius:"50%"}}}},genRtlStyle=a=>{const{componentCls:s}=a;return{[`${s}-rtl`]:{direction:"rtl"}}},genBaseStyle=a=>{const{componentCls:s,colorTextDisabled:c}=a;return{[`${s}-wrapper`]:Object.assign(Object.assign({},resetComponent(a)),{[s]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${s}-select`]:{display:"inline-block"},[`${s}-hidden`]:{display:"none"},[`${s}-disabled`]:{color:c,cursor:"not-allowed"}})}},prepareComponentToken=a=>({actionsColor:a.colorTextDescription}),useStyle=genStyleHooks("Upload",a=>{const{fontSizeHeading3:s,fontHeight:c,lineWidth:u,controlHeightLG:d,calc:p}=a,v=merge(a,{uploadThumbnailSize:p(s).mul(2).equal(),uploadProgressOffset:p(p(c).div(2)).add(u).equal(),uploadPicCardSize:p(d).mul(2.55).equal()});return[genBaseStyle(v),genDraggerStyle(v),genPictureStyle(v),genPictureCardStyle(v),genListStyle(v),genMotionStyle(v),genRtlStyle(v),genCollapseMotion(v)]},prepareComponentToken);function file2Obj(a){return Object.assign(Object.assign({},a),{lastModified:a.lastModified,lastModifiedDate:a.lastModifiedDate,name:a.name,size:a.size,type:a.type,uid:a.uid,percent:0,originFileObj:a})}function updateFileList(a,s){const c=_toConsumableArray$e(s),u=c.findIndex(d=>{let{uid:p}=d;return p===a.uid});return u===-1?c.push(a):c[u]=a,c}function getFileItem(a,s){const c=a.uid!==void 0?"uid":"name";return s.filter(u=>u[c]===a[c])[0]}function removeFileItem(a,s){const c=a.uid!==void 0?"uid":"name",u=s.filter(d=>d[c]!==a[c]);return u.length===s.length?null:u}const extname=function(){const s=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),u=s[s.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(u)||[""])[0]},isImageFileType=a=>a.indexOf("image/")===0,isImageUrl=a=>{if(a.type&&!a.thumbUrl)return isImageFileType(a.type);const s=a.thumbUrl||a.url||"",c=extname(s);return/^data:image\//.test(s)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(c)?!0:!(/^data:/.test(s)||c)},MEASURE_SIZE=200;function previewImage(a){return new Promise(s=>{if(!a.type||!isImageFileType(a.type)){s("");return}const c=document.createElement("canvas");c.width=MEASURE_SIZE,c.height=MEASURE_SIZE,c.style.cssText=`position: fixed; left: 0; top: 0; width: ${MEASURE_SIZE}px; height: ${MEASURE_SIZE}px; z-index: 9999; display: none;`,document.body.appendChild(c);const u=c.getContext("2d"),d=new Image;if(d.onload=()=>{const{width:p,height:v}=d;let A=MEASURE_SIZE,b=MEASURE_SIZE,g=0,x=0;p>v?(b=v*(MEASURE_SIZE/p),x=-(b-A)/2):(A=p*(MEASURE_SIZE/v),g=-(A-b)/2),u.drawImage(d,g,x,A,b);const y=c.toDataURL();document.body.removeChild(c),window.URL.revokeObjectURL(d.src),s(y)},d.crossOrigin="anonymous",a.type.startsWith("image/svg+xml")){const p=new FileReader;p.onload=()=>{p.result&&typeof p.result=="string"&&(d.src=p.result)},p.readAsDataURL(a)}else if(a.type.startsWith("image/gif")){const p=new FileReader;p.onload=()=>{p.result&&s(p.result)},p.readAsDataURL(a)}else d.src=window.URL.createObjectURL(a)})}const ListItem=reactExports.forwardRef((a,s)=>{let{prefixCls:c,className:u,style:d,locale:p,listType:v,file:A,items:b,progress:g,iconRender:x,actionIconRender:y,itemRender:f,isImgUrl:m,showPreviewIcon:C,showRemoveIcon:S,showDownloadIcon:w,previewIcon:I,removeIcon:P,downloadIcon:$,extra:_,onPreview:E,onDownload:R,onClose:T}=a;var B,M;const{status:D}=A,[O,H]=reactExports.useState(D);reactExports.useEffect(()=>{D!=="removed"&&H(D)},[D]);const[j,q]=reactExports.useState(!1);reactExports.useEffect(()=>{const ge=setTimeout(()=>{q(!0)},300);return()=>{clearTimeout(ge)}},[]);const L=x(A);let F=reactExports.createElement("div",{className:`${c}-icon`},L);if(v==="picture"||v==="picture-card"||v==="picture-circle")if(O==="uploading"||!A.thumbUrl&&!A.url){const ge=classnames(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:O!=="uploading"});F=reactExports.createElement("div",{className:ge},L)}else{const ge=m!=null&&m(A)?reactExports.createElement("img",{src:A.thumbUrl||A.url,alt:A.name,className:`${c}-list-item-image`,crossOrigin:A.crossOrigin}):L,Se=classnames(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:m&&!m(A)});F=reactExports.createElement("a",{className:Se,onClick:be=>E(A,be),href:A.url||A.thumbUrl,target:"_blank",rel:"noopener noreferrer"},ge)}const U=classnames(`${c}-list-item`,`${c}-list-item-${O}`),N=typeof A.linkProps=="string"?JSON.parse(A.linkProps):A.linkProps,k=(typeof S=="function"?S(A):S)?y((typeof P=="function"?P(A):P)||reactExports.createElement(RefIcon$f,null),()=>T(A),c,p.removeFile,!0):null,W=(typeof w=="function"?w(A):w)&&O==="done"?y((typeof $=="function"?$(A):$)||reactExports.createElement(RefIcon$e,null),()=>R(A),c,p.downloadFile):null,J=v!=="picture-card"&&v!=="picture-circle"&&reactExports.createElement("span",{key:"download-delete",className:classnames(`${c}-list-item-actions`,{picture:v==="picture"})},W,k),Q=typeof _=="function"?_(A):_,Y=Q&&reactExports.createElement("span",{className:`${c}-list-item-extra`},Q),Z=classnames(`${c}-list-item-name`),ee=A.url?reactExports.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Z,title:A.name},N,{href:A.url,onClick:ge=>E(A,ge)}),A.name,Y):reactExports.createElement("span",{key:"view",className:Z,onClick:ge=>E(A,ge),title:A.name},A.name,Y),re=(typeof C=="function"?C(A):C)&&(A.url||A.thumbUrl)?reactExports.createElement("a",{href:A.url||A.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:ge=>E(A,ge),title:p.previewFile},typeof I=="function"?I(A):I||reactExports.createElement(RefIcon$s,null)):null,ae=(v==="picture-card"||v==="picture-circle")&&O!=="uploading"&&reactExports.createElement("span",{className:`${c}-list-item-actions`},re,O==="done"&&W,k),{getPrefixCls:V}=reactExports.useContext(ConfigContext$1),K=V(),te=reactExports.createElement("div",{className:U},F,ee,J,ae,j&&reactExports.createElement(CSSMotion,{motionName:`${K}-fade`,visible:O==="uploading",motionDeadline:2e3},ge=>{let{className:Se}=ge;const be="percent"in A?reactExports.createElement(Progress,Object.assign({},g,{type:"line",percent:A.percent,"aria-label":A["aria-label"],"aria-labelledby":A["aria-labelledby"]})):null;return reactExports.createElement("div",{className:classnames(`${c}-list-item-progress`,Se)},be)})),ie=A.response&&typeof A.response=="string"?A.response:((B=A.error)===null||B===void 0?void 0:B.statusText)||((M=A.error)===null||M===void 0?void 0:M.message)||p.uploadError,ce=O==="error"?reactExports.createElement(Tooltip,{title:ie,getPopupContainer:ge=>ge.parentNode},te):te;return reactExports.createElement("div",{className:classnames(`${c}-list-item-container`,u),style:d,ref:s},f?f(ce,A,b,{download:R.bind(null,A),preview:E.bind(null,A),remove:T.bind(null,A)}):ce)}),InternalUploadList=(a,s)=>{const{listType:c="text",previewFile:u=previewImage,onPreview:d,onDownload:p,onRemove:v,locale:A,iconRender:b,isImageUrl:g=isImageUrl,prefixCls:x,items:y=[],showPreviewIcon:f=!0,showRemoveIcon:m=!0,showDownloadIcon:C=!1,removeIcon:S,previewIcon:w,downloadIcon:I,extra:P,progress:$={size:[-1,2],showInfo:!1},appendAction:_,appendActionVisible:E=!0,itemRender:R,disabled:T}=a,B=useForceUpdate(),[M,D]=reactExports.useState(!1),O=["picture-card","picture-circle"].includes(c);reactExports.useEffect(()=>{c.startsWith("picture")&&(y||[]).forEach(Y=>{!(Y.originFileObj instanceof File||Y.originFileObj instanceof Blob)||Y.thumbUrl!==void 0||(Y.thumbUrl="",u==null||u(Y.originFileObj).then(Z=>{Y.thumbUrl=Z||"",B()}))})},[c,y,u]),reactExports.useEffect(()=>{D(!0)},[]);const H=(Y,Z)=>{if(d)return Z==null||Z.preventDefault(),d(Y)},j=Y=>{typeof p=="function"?p(Y):Y.url&&window.open(Y.url)},q=Y=>{v==null||v(Y)},L=Y=>{if(b)return b(Y,c);const Z=Y.status==="uploading";if(c.startsWith("picture")){const ee=c==="picture"?reactExports.createElement(RefIcon$F,null):A.uploading,re=g!=null&&g(Y)?reactExports.createElement(RefIcon$3,null):reactExports.createElement(RefIcon$a,null);return Z?ee:re}return Z?reactExports.createElement(RefIcon$F,null):reactExports.createElement(RefIcon$4,null)},F=(Y,Z,ee,re,ae)=>{const V={type:"text",size:"small",title:re,onClick:K=>{var te,ie;Z(),reactExports.isValidElement(Y)&&((ie=(te=Y.props).onClick)===null||ie===void 0||ie.call(te,K))},className:`${ee}-list-item-action`};return ae&&(V.disabled=T),reactExports.isValidElement(Y)?reactExports.createElement(Button$1,Object.assign({},V,{icon:cloneElement(Y,Object.assign(Object.assign({},Y.props),{onClick:()=>{}}))})):reactExports.createElement(Button$1,Object.assign({},V),reactExports.createElement("span",null,Y))};reactExports.useImperativeHandle(s,()=>({handlePreview:H,handleDownload:j}));const{getPrefixCls:U}=reactExports.useContext(ConfigContext$1),N=U("upload",x),k=U(),W=classnames(`${N}-list`,`${N}-list-${c}`),J=reactExports.useMemo(()=>omit(initCollapseMotion(k),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[k]),Q=Object.assign(Object.assign({},O?{}:J),{motionDeadline:2e3,motionName:`${N}-${O?"animate-inline":"animate"}`,keys:_toConsumableArray$e(y.map(Y=>({key:Y.uid,file:Y}))),motionAppear:M});return reactExports.createElement("div",{className:W},reactExports.createElement(CSSMotionList,Object.assign({},Q,{component:!1}),Y=>{let{key:Z,file:ee,className:re,style:ae}=Y;return reactExports.createElement(ListItem,{key:Z,locale:A,prefixCls:N,className:re,style:ae,file:ee,items:y,progress:$,listType:c,isImgUrl:g,showPreviewIcon:f,showRemoveIcon:m,showDownloadIcon:C,removeIcon:S,previewIcon:w,downloadIcon:I,extra:P,iconRender:L,actionIconRender:F,itemRender:R,onPreview:H,onDownload:j,onClose:q})}),_&&reactExports.createElement(CSSMotion,Object.assign({},Q,{visible:E,forceRender:!0}),Y=>{let{className:Z,style:ee}=Y;return cloneElement(_,re=>({className:classnames(re.className,Z),style:Object.assign(Object.assign(Object.assign({},ee),{pointerEvents:Z?"none":void 0}),re.style)}))}))},UploadList=reactExports.forwardRef(InternalUploadList);var __awaiter=function(a,s,c,u){function d(p){return p instanceof c?p:new c(function(v){v(p)})}return new(c||(c=Promise))(function(p,v){function A(x){try{g(u.next(x))}catch(y){v(y)}}function b(x){try{g(u.throw(x))}catch(y){v(y)}}function g(x){x.done?p(x.value):d(x.value).then(A,b)}g((u=u.apply(a,[])).next())})};const LIST_IGNORE=`__LIST_IGNORE_${Date.now()}__`,InternalUpload=(a,s)=>{const{fileList:c,defaultFileList:u,onRemove:d,showUploadList:p=!0,listType:v="text",onPreview:A,onDownload:b,onChange:g,onDrop:x,previewFile:y,disabled:f,locale:m,iconRender:C,isImageUrl:S,progress:w,prefixCls:I,className:P,type:$="select",children:_,style:E,itemRender:R,maxCount:T,data:B={},multiple:M=!1,hasControlInside:D=!0,action:O="",accept:H="",supportServerRender:j=!0,rootClassName:q}=a,L=reactExports.useContext(DisabledContext),F=f??L,[U,N]=useMergedState(u||[],{value:c,postState:Ne=>Ne??[]}),[k,W]=reactExports.useState("drop"),J=reactExports.useRef(null),Q=reactExports.useRef(null);reactExports.useMemo(()=>{const Ne=Date.now();(c||[]).forEach((Me,Fe)=>{!Me.uid&&!Object.isFrozen(Me)&&(Me.uid=`__AUTO__${Ne}_${Fe}__`)})},[c]);const Y=(Ne,Me,Fe)=>{let _e=_toConsumableArray$e(Me),je=!1;T===1?_e=_e.slice(-1):T&&(je=_e.length>T,_e=_e.slice(0,T)),reactDomExports.flushSync(()=>{N(_e)});const Ye={file:Ne,fileList:_e};Fe&&(Ye.event=Fe),(!je||Ne.status==="removed"||_e.some(Te=>Te.uid===Ne.uid))&&reactDomExports.flushSync(()=>{g==null||g(Ye)})},Z=(Ne,Me)=>__awaiter(void 0,void 0,void 0,function*(){const{beforeUpload:Fe,transformFile:_e}=a;let je=Ne;if(Fe){const Ye=yield Fe(Ne,Me);if(Ye===!1)return!1;if(delete Ne[LIST_IGNORE],Ye===LIST_IGNORE)return Object.defineProperty(Ne,LIST_IGNORE,{value:!0,configurable:!0}),!1;typeof Ye=="object"&&Ye&&(je=Ye)}return _e&&(je=yield _e(je)),je}),ee=Ne=>{const Me=Ne.filter(je=>!je.file[LIST_IGNORE]);if(!Me.length)return;const Fe=Me.map(je=>file2Obj(je.file));let _e=_toConsumableArray$e(U);Fe.forEach(je=>{_e=updateFileList(je,_e)}),Fe.forEach((je,Ye)=>{let Te=je;if(Me[Ye].parsedFile)je.status="uploading";else{const{originFileObj:ke}=je;let De;try{De=new File([ke],ke.name,{type:ke.type})}catch{De=new Blob([ke],{type:ke.type}),De.name=ke.name,De.lastModifiedDate=new Date,De.lastModified=new Date().getTime()}De.uid=je.uid,Te=De}Y(Te,_e)})},re=(Ne,Me,Fe)=>{try{typeof Ne=="string"&&(Ne=JSON.parse(Ne))}catch{}if(!getFileItem(Me,U))return;const _e=file2Obj(Me);_e.status="done",_e.percent=100,_e.response=Ne,_e.xhr=Fe;const je=updateFileList(_e,U);Y(_e,je)},ae=(Ne,Me)=>{if(!getFileItem(Me,U))return;const Fe=file2Obj(Me);Fe.status="uploading",Fe.percent=Ne.percent;const _e=updateFileList(Fe,U);Y(Fe,_e,Ne)},V=(Ne,Me,Fe)=>{if(!getFileItem(Fe,U))return;const _e=file2Obj(Fe);_e.error=Ne,_e.response=Me,_e.status="error";const je=updateFileList(_e,U);Y(_e,je)},K=Ne=>{let Me;Promise.resolve(typeof d=="function"?d(Ne):d).then(Fe=>{var _e;if(Fe===!1)return;const je=removeFileItem(Ne,U);je&&(Me=Object.assign(Object.assign({},Ne),{status:"removed"}),U==null||U.forEach(Ye=>{const Te=Me.uid!==void 0?"uid":"name";Ye[Te]===Me[Te]&&!Object.isFrozen(Ye)&&(Ye.status="removed")}),(_e=J.current)===null||_e===void 0||_e.abort(Me),Y(Me,je))})},te=Ne=>{W(Ne.type),Ne.type==="drop"&&(x==null||x(Ne))};reactExports.useImperativeHandle(s,()=>({onBatchStart:ee,onSuccess:re,onProgress:ae,onError:V,fileList:U,upload:J.current,nativeElement:Q.current}));const{getPrefixCls:ie,direction:ce,upload:ge}=reactExports.useContext(ConfigContext$1),Se=ie("upload",I),be=Object.assign(Object.assign({onBatchStart:ee,onError:V,onProgress:ae,onSuccess:re},a),{data:B,multiple:M,action:O,accept:H,supportServerRender:j,prefixCls:Se,disabled:F,beforeUpload:Z,onChange:void 0,hasControlInside:D});delete be.className,delete be.style,(!_||F)&&delete be.id;const me=`${Se}-wrapper`,[fe,se,oe]=useStyle(Se,me),[de]=useLocale$1("Upload",localeValues.Upload),{showRemoveIcon:le,showPreviewIcon:xe,showDownloadIcon:Ce,removeIcon:$e,previewIcon:we,downloadIcon:Ee,extra:Ae}=typeof p=="boolean"?{}:p,pe=typeof le>"u"?!F:le,he=(Ne,Me)=>p?reactExports.createElement(UploadList,{prefixCls:Se,listType:v,items:U,previewFile:y,onPreview:A,onDownload:b,onRemove:K,showRemoveIcon:pe,showPreviewIcon:xe,showDownloadIcon:Ce,removeIcon:$e,previewIcon:we,downloadIcon:Ee,iconRender:C,extra:Ae,locale:Object.assign(Object.assign({},de),m),isImageUrl:S,progress:w,appendAction:Ne,appendActionVisible:Me,itemRender:R,disabled:F}):Ne,Ie=classnames(me,P,q,se,oe,ge==null?void 0:ge.className,{[`${Se}-rtl`]:ce==="rtl",[`${Se}-picture-card-wrapper`]:v==="picture-card",[`${Se}-picture-circle-wrapper`]:v==="picture-circle"}),ye=Object.assign(Object.assign({},ge==null?void 0:ge.style),E);if($==="drag"){const Ne=classnames(se,Se,`${Se}-drag`,{[`${Se}-drag-uploading`]:U.some(Me=>Me.status==="uploading"),[`${Se}-drag-hover`]:k==="dragover",[`${Se}-disabled`]:F,[`${Se}-rtl`]:ce==="rtl"});return fe(reactExports.createElement("span",{className:Ie,ref:Q},reactExports.createElement("div",{className:Ne,style:ye,onDrop:te,onDragOver:te,onDragLeave:te},reactExports.createElement(Upload$2,Object.assign({},be,{ref:J,className:`${Se}-btn`}),reactExports.createElement("div",{className:`${Se}-drag-container`},_))),he()))}const Pe=classnames(Se,`${Se}-select`,{[`${Se}-disabled`]:F,[`${Se}-hidden`]:!_}),Le=reactExports.createElement("div",{className:Pe},reactExports.createElement(Upload$2,Object.assign({},be,{ref:J})));return fe(v==="picture-card"||v==="picture-circle"?reactExports.createElement("span",{className:Ie,ref:Q},he(Le,!!_)):reactExports.createElement("span",{className:Ie,ref:Q},Le,he()))},Upload$1=reactExports.forwardRef(InternalUpload);var __rest$3=function(a,s){var c={};for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&s.indexOf(u)<0&&(c[u]=a[u]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,u=Object.getOwnPropertySymbols(a);d<u.length;d++)s.indexOf(u[d])<0&&Object.prototype.propertyIsEnumerable.call(a,u[d])&&(c[u[d]]=a[u[d]]);return c};const Dragger=reactExports.forwardRef((a,s)=>{var{style:c,height:u,hasControlInside:d=!1}=a,p=__rest$3(a,["style","height","hasControlInside"]);return reactExports.createElement(Upload$1,Object.assign({ref:s,hasControlInside:d},p,{type:"drag",style:Object.assign(Object.assign({},c),{height:u})}))}),Upload=Upload$1;Upload.Dragger=Dragger,Upload.LIST_IGNORE=LIST_IGNORE;/**
|
640
|
-
* @license lucide-react v0.
|
640
|
+
* @license lucide-react v0.482.0 - ISC
|
641
641
|
*
|
642
642
|
* This source code is licensed under the ISC license.
|
643
643
|
* See the LICENSE file in the root directory of this source tree.
|
644
644
|
*/const toKebabCase=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mergeClasses=(...a)=>a.filter((s,c,u)=>!!s&&s.trim()!==""&&u.indexOf(s)===c).join(" ").trim();/**
|
645
|
-
* @license lucide-react v0.
|
645
|
+
* @license lucide-react v0.482.0 - ISC
|
646
646
|
*
|
647
647
|
* This source code is licensed under the ISC license.
|
648
648
|
* See the LICENSE file in the root directory of this source tree.
|
649
649
|
*/var defaultAttributes$1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
650
|
-
* @license lucide-react v0.
|
650
|
+
* @license lucide-react v0.482.0 - ISC
|
651
651
|
*
|
652
652
|
* This source code is licensed under the ISC license.
|
653
653
|
* See the LICENSE file in the root directory of this source tree.
|
654
654
|
*/const Icon=reactExports.forwardRef(({color:a="currentColor",size:s=24,strokeWidth:c=2,absoluteStrokeWidth:u,className:d="",children:p,iconNode:v,...A},b)=>reactExports.createElement("svg",{ref:b,...defaultAttributes$1,width:s,height:s,stroke:a,strokeWidth:u?Number(c)*24/Number(s):c,className:mergeClasses("lucide",d),...A},[...v.map(([g,x])=>reactExports.createElement(g,x)),...Array.isArray(p)?p:[p]]));/**
|
655
|
-
* @license lucide-react v0.
|
655
|
+
* @license lucide-react v0.482.0 - ISC
|
656
656
|
*
|
657
657
|
* This source code is licensed under the ISC license.
|
658
658
|
* See the LICENSE file in the root directory of this source tree.
|
659
659
|
*/const createLucideIcon=(a,s)=>{const c=reactExports.forwardRef(({className:u,...d},p)=>reactExports.createElement(Icon,{ref:p,iconNode:s,className:mergeClasses(`lucide-${toKebabCase(a)}`,u),...d}));return c.displayName=`${a}`,c};/**
|
660
|
-
* @license lucide-react v0.
|
660
|
+
* @license lucide-react v0.482.0 - ISC
|
661
661
|
*
|
662
662
|
* This source code is licensed under the ISC license.
|
663
663
|
* See the LICENSE file in the root directory of this source tree.
|
664
|
-
*/const __iconNode$m=[["path",{d:"
|
665
|
-
* @license lucide-react v0.
|
664
|
+
*/const __iconNode$m=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",key:"14d6g8"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",key:"1e2lrw"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",key:"1fkdwx"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",key:"1euafb"}]],AlignCenterVertical=createLucideIcon("AlignCenterVertical",__iconNode$m);/**
|
665
|
+
* @license lucide-react v0.482.0 - ISC
|
666
666
|
*
|
667
667
|
* This source code is licensed under the ISC license.
|
668
668
|
* See the LICENSE file in the root directory of this source tree.
|
669
|
-
*/const __iconNode$l=[["path",{d:"
|
670
|
-
* @license lucide-react v0.
|
669
|
+
*/const __iconNode$l=[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4",key:"11f1s0"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4",key:"t14dx9"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1",key:"1w07xs"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1",key:"1apec2"}]],AlignCenterHorizontal=createLucideIcon("AlignCenterHorizontal",__iconNode$l);/**
|
670
|
+
* @license lucide-react v0.482.0 - ISC
|
671
671
|
*
|
672
672
|
* This source code is licensed under the ISC license.
|
673
673
|
* See the LICENSE file in the root directory of this source tree.
|
674
674
|
*/const __iconNode$k=[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]],AlignEndHorizontal=createLucideIcon("AlignEndHorizontal",__iconNode$k);/**
|
675
|
-
* @license lucide-react v0.
|
675
|
+
* @license lucide-react v0.482.0 - ISC
|
676
676
|
*
|
677
677
|
* This source code is licensed under the ISC license.
|
678
678
|
* See the LICENSE file in the root directory of this source tree.
|
679
679
|
*/const __iconNode$j=[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]],AlignEndVertical=createLucideIcon("AlignEndVertical",__iconNode$j);/**
|
680
|
-
* @license lucide-react v0.
|
680
|
+
* @license lucide-react v0.482.0 - ISC
|
681
681
|
*
|
682
682
|
* This source code is licensed under the ISC license.
|
683
683
|
* See the LICENSE file in the root directory of this source tree.
|
684
684
|
*/const __iconNode$i=[["rect",{width:"6",height:"10",x:"9",y:"7",rx:"2",key:"yn7j0q"}],["path",{d:"M4 22V2",key:"tsjzd3"}],["path",{d:"M20 22V2",key:"1bnhr8"}]],AlignHorizontalSpaceAround=createLucideIcon("AlignHorizontalSpaceAround",__iconNode$i);/**
|
685
|
-
* @license lucide-react v0.
|
685
|
+
* @license lucide-react v0.482.0 - ISC
|
686
686
|
*
|
687
687
|
* This source code is licensed under the ISC license.
|
688
688
|
* See the LICENSE file in the root directory of this source tree.
|
689
689
|
*/const __iconNode$h=[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]],AlignStartHorizontal=createLucideIcon("AlignStartHorizontal",__iconNode$h);/**
|
690
|
-
* @license lucide-react v0.
|
690
|
+
* @license lucide-react v0.482.0 - ISC
|
691
691
|
*
|
692
692
|
* This source code is licensed under the ISC license.
|
693
693
|
* See the LICENSE file in the root directory of this source tree.
|
694
694
|
*/const __iconNode$g=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],AlignStartVertical=createLucideIcon("AlignStartVertical",__iconNode$g);/**
|
695
|
-
* @license lucide-react v0.
|
695
|
+
* @license lucide-react v0.482.0 - ISC
|
696
696
|
*
|
697
697
|
* This source code is licensed under the ISC license.
|
698
698
|
* See the LICENSE file in the root directory of this source tree.
|
699
699
|
*/const __iconNode$f=[["rect",{width:"10",height:"6",x:"7",y:"9",rx:"2",key:"b1zbii"}],["path",{d:"M22 20H2",key:"1p1f7z"}],["path",{d:"M22 4H2",key:"1b7qnq"}]],AlignVerticalSpaceAround=createLucideIcon("AlignVerticalSpaceAround",__iconNode$f);/**
|
700
|
-
* @license lucide-react v0.
|
700
|
+
* @license lucide-react v0.482.0 - ISC
|
701
701
|
*
|
702
702
|
* This source code is licensed under the ISC license.
|
703
703
|
* See the LICENSE file in the root directory of this source tree.
|
704
704
|
*/const __iconNode$e=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],ArrowLeft=createLucideIcon("ArrowLeft",__iconNode$e);/**
|
705
|
-
* @license lucide-react v0.
|
705
|
+
* @license lucide-react v0.482.0 - ISC
|
706
706
|
*
|
707
707
|
* This source code is licensed under the ISC license.
|
708
708
|
* See the LICENSE file in the root directory of this source tree.
|
709
709
|
*/const __iconNode$d=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ArrowRight=createLucideIcon("ArrowRight",__iconNode$d);/**
|
710
|
-
* @license lucide-react v0.
|
710
|
+
* @license lucide-react v0.482.0 - ISC
|
711
711
|
*
|
712
712
|
* This source code is licensed under the ISC license.
|
713
713
|
* See the LICENSE file in the root directory of this source tree.
|
714
714
|
*/const __iconNode$c=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ChevronLeft=createLucideIcon("ChevronLeft",__iconNode$c);/**
|
715
|
-
* @license lucide-react v0.
|
715
|
+
* @license lucide-react v0.482.0 - ISC
|
716
716
|
*
|
717
717
|
* This source code is licensed under the ISC license.
|
718
718
|
* See the LICENSE file in the root directory of this source tree.
|
719
719
|
*/const __iconNode$b=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ChevronRight=createLucideIcon("ChevronRight",__iconNode$b);/**
|
720
|
-
* @license lucide-react v0.
|
720
|
+
* @license lucide-react v0.482.0 - ISC
|
721
721
|
*
|
722
722
|
* This source code is licensed under the ISC license.
|
723
723
|
* See the LICENSE file in the root directory of this source tree.
|
724
724
|
*/const __iconNode$a=[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]],ChevronsLeft=createLucideIcon("ChevronsLeft",__iconNode$a);/**
|
725
|
-
* @license lucide-react v0.
|
725
|
+
* @license lucide-react v0.482.0 - ISC
|
726
726
|
*
|
727
727
|
* This source code is licensed under the ISC license.
|
728
728
|
* See the LICENSE file in the root directory of this source tree.
|
729
729
|
*/const __iconNode$9=[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]],ChevronsRight=createLucideIcon("ChevronsRight",__iconNode$9);/**
|
730
|
-
* @license lucide-react v0.
|
730
|
+
* @license lucide-react v0.482.0 - ISC
|
731
731
|
*
|
732
732
|
* This source code is licensed under the ISC license.
|
733
733
|
* See the LICENSE file in the root directory of this source tree.
|
734
734
|
*/const __iconNode$8=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],CircleAlert=createLucideIcon("CircleAlert",__iconNode$8);/**
|
735
|
-
* @license lucide-react v0.
|
735
|
+
* @license lucide-react v0.482.0 - ISC
|
736
736
|
*
|
737
737
|
* This source code is licensed under the ISC license.
|
738
738
|
* See the LICENSE file in the root directory of this source tree.
|
739
739
|
*/const __iconNode$7=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Ellipsis=createLucideIcon("Ellipsis",__iconNode$7);/**
|
740
|
-
* @license lucide-react v0.
|
740
|
+
* @license lucide-react v0.482.0 - ISC
|
741
741
|
*
|
742
742
|
* This source code is licensed under the ISC license.
|
743
743
|
* See the LICENSE file in the root directory of this source tree.
|
744
744
|
*/const __iconNode$6=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],GripVertical=createLucideIcon("GripVertical",__iconNode$6);/**
|
745
|
-
* @license lucide-react v0.
|
745
|
+
* @license lucide-react v0.482.0 - ISC
|
746
746
|
*
|
747
747
|
* This source code is licensed under the ISC license.
|
748
748
|
* See the LICENSE file in the root directory of this source tree.
|
749
749
|
*/const __iconNode$5=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],LoaderCircle=createLucideIcon("LoaderCircle",__iconNode$5);/**
|
750
|
-
* @license lucide-react v0.
|
750
|
+
* @license lucide-react v0.482.0 - ISC
|
751
751
|
*
|
752
752
|
* This source code is licensed under the ISC license.
|
753
753
|
* See the LICENSE file in the root directory of this source tree.
|
754
754
|
*/const __iconNode$4=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],Lock=createLucideIcon("Lock",__iconNode$4);/**
|
755
|
-
* @license lucide-react v0.
|
755
|
+
* @license lucide-react v0.482.0 - ISC
|
756
756
|
*
|
757
757
|
* This source code is licensed under the ISC license.
|
758
758
|
* See the LICENSE file in the root directory of this source tree.
|
759
759
|
*/const __iconNode$3=[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]],Menu=createLucideIcon("Menu",__iconNode$3);/**
|
760
|
-
* @license lucide-react v0.
|
760
|
+
* @license lucide-react v0.482.0 - ISC
|
761
761
|
*
|
762
762
|
* This source code is licensed under the ISC license.
|
763
763
|
* See the LICENSE file in the root directory of this source tree.
|
764
764
|
*/const __iconNode$2=[["path",{d:"M5 12h14",key:"1ays0h"}]],Minus=createLucideIcon("Minus",__iconNode$2);/**
|
765
|
-
* @license lucide-react v0.
|
765
|
+
* @license lucide-react v0.482.0 - ISC
|
766
766
|
*
|
767
767
|
* This source code is licensed under the ISC license.
|
768
768
|
* See the LICENSE file in the root directory of this source tree.
|
769
769
|
*/const __iconNode$1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Plus=createLucideIcon("Plus",__iconNode$1);/**
|
770
|
-
* @license lucide-react v0.
|
770
|
+
* @license lucide-react v0.482.0 - ISC
|
771
771
|
*
|
772
772
|
* This source code is licensed under the ISC license.
|
773
773
|
* See the LICENSE file in the root directory of this source tree.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pdfme/ui",
|
3
|
-
"version": "5.3.13-dev.
|
3
|
+
"version": "5.3.13-dev.71",
|
4
4
|
"sideEffects": false,
|
5
5
|
"author": "hand-dot",
|
6
6
|
"license": "MIT",
|
@@ -44,7 +44,7 @@
|
|
44
44
|
"form-render": "^2.2.16",
|
45
45
|
"globrex": "^0.1.2",
|
46
46
|
"hotkeys-js": "^3.8.7",
|
47
|
-
"lucide-react": "^0.
|
47
|
+
"lucide-react": "^0.482.0",
|
48
48
|
"react": "^16.14.0",
|
49
49
|
"react-dom": "^16.14.0",
|
50
50
|
"react-moveable": "^0.56.0",
|