@pdfme/ui 5.3.16-dev.8 → 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 CHANGED
@@ -135713,7 +135713,7 @@ const Dragger = /* @__PURE__ */ reactExports.forwardRef((a, s) => {
135713
135713
  Upload.Dragger = Dragger;
135714
135714
  Upload.LIST_IGNORE = LIST_IGNORE;
135715
135715
  /**
135716
- * @license lucide-react v0.487.0 - ISC
135716
+ * @license lucide-react v0.507.0 - ISC
135717
135717
  *
135718
135718
  * This source code is licensed under the ISC license.
135719
135719
  * See the LICENSE file in the root directory of this source tree.
@@ -135724,9 +135724,13 @@ const toKebabCase = (a) => a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(
135724
135724
  ), toPascalCase = (a) => {
135725
135725
  const s = toCamelCase(a);
135726
135726
  return s.charAt(0).toUpperCase() + s.slice(1);
135727
- }, 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
+ };
135728
135732
  /**
135729
- * @license lucide-react v0.487.0 - ISC
135733
+ * @license lucide-react v0.507.0 - ISC
135730
135734
  *
135731
135735
  * This source code is licensed under the ISC license.
135732
135736
  * See the LICENSE file in the root directory of this source tree.
@@ -135743,7 +135747,7 @@ var defaultAttributes$1 = {
135743
135747
  strokeLinejoin: "round"
135744
135748
  };
135745
135749
  /**
135746
- * @license lucide-react v0.487.0 - ISC
135750
+ * @license lucide-react v0.507.0 - ISC
135747
135751
  *
135748
135752
  * This source code is licensed under the ISC license.
135749
135753
  * See the LICENSE file in the root directory of this source tree.
@@ -135768,6 +135772,7 @@ const Icon = reactExports.forwardRef(
135768
135772
  stroke: a,
135769
135773
  strokeWidth: u ? Number(c) * 24 / Number(s) : c,
135770
135774
  className: mergeClasses("lucide", d),
135775
+ ...!p && !hasA11yProp(A) && { "aria-hidden": "true" },
135771
135776
  ...A
135772
135777
  },
135773
135778
  [
@@ -135777,7 +135782,7 @@ const Icon = reactExports.forwardRef(
135777
135782
  )
135778
135783
  );
135779
135784
  /**
135780
- * @license lucide-react v0.487.0 - ISC
135785
+ * @license lucide-react v0.507.0 - ISC
135781
135786
  *
135782
135787
  * This source code is licensed under the ISC license.
135783
135788
  * See the LICENSE file in the root directory of this source tree.
@@ -135798,7 +135803,7 @@ const createLucideIcon = (a, s) => {
135798
135803
  return c.displayName = toPascalCase(a), c;
135799
135804
  };
135800
135805
  /**
135801
- * @license lucide-react v0.487.0 - ISC
135806
+ * @license lucide-react v0.507.0 - ISC
135802
135807
  *
135803
135808
  * This source code is licensed under the ISC license.
135804
135809
  * See the LICENSE file in the root directory of this source tree.
@@ -135811,7 +135816,7 @@ const __iconNode$m = [
135811
135816
  ["path", { d: "M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1", key: "1apec2" }]
135812
135817
  ], AlignCenterHorizontal = createLucideIcon("align-center-horizontal", __iconNode$m);
135813
135818
  /**
135814
- * @license lucide-react v0.487.0 - ISC
135819
+ * @license lucide-react v0.507.0 - ISC
135815
135820
  *
135816
135821
  * This source code is licensed under the ISC license.
135817
135822
  * See the LICENSE file in the root directory of this source tree.
@@ -135824,7 +135829,7 @@ const __iconNode$l = [
135824
135829
  ["path", { d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1", key: "1euafb" }]
135825
135830
  ], AlignCenterVertical = createLucideIcon("align-center-vertical", __iconNode$l);
135826
135831
  /**
135827
- * @license lucide-react v0.487.0 - ISC
135832
+ * @license lucide-react v0.507.0 - ISC
135828
135833
  *
135829
135834
  * This source code is licensed under the ISC license.
135830
135835
  * See the LICENSE file in the root directory of this source tree.
@@ -135835,7 +135840,7 @@ const __iconNode$k = [
135835
135840
  ["path", { d: "M22 22H2", key: "19qnx5" }]
135836
135841
  ], AlignEndHorizontal = createLucideIcon("align-end-horizontal", __iconNode$k);
135837
135842
  /**
135838
- * @license lucide-react v0.487.0 - ISC
135843
+ * @license lucide-react v0.507.0 - ISC
135839
135844
  *
135840
135845
  * This source code is licensed under the ISC license.
135841
135846
  * See the LICENSE file in the root directory of this source tree.
@@ -135846,7 +135851,7 @@ const __iconNode$j = [
135846
135851
  ["path", { d: "M22 22V2", key: "12ipfv" }]
135847
135852
  ], AlignEndVertical = createLucideIcon("align-end-vertical", __iconNode$j);
135848
135853
  /**
135849
- * @license lucide-react v0.487.0 - ISC
135854
+ * @license lucide-react v0.507.0 - ISC
135850
135855
  *
135851
135856
  * This source code is licensed under the ISC license.
135852
135857
  * See the LICENSE file in the root directory of this source tree.
@@ -135857,7 +135862,7 @@ const __iconNode$i = [
135857
135862
  ["path", { d: "M20 22V2", key: "1bnhr8" }]
135858
135863
  ], AlignHorizontalSpaceAround = createLucideIcon("align-horizontal-space-around", __iconNode$i);
135859
135864
  /**
135860
- * @license lucide-react v0.487.0 - ISC
135865
+ * @license lucide-react v0.507.0 - ISC
135861
135866
  *
135862
135867
  * This source code is licensed under the ISC license.
135863
135868
  * See the LICENSE file in the root directory of this source tree.
@@ -135868,7 +135873,7 @@ const __iconNode$h = [
135868
135873
  ["path", { d: "M22 2H2", key: "fhrpnj" }]
135869
135874
  ], AlignStartHorizontal = createLucideIcon("align-start-horizontal", __iconNode$h);
135870
135875
  /**
135871
- * @license lucide-react v0.487.0 - ISC
135876
+ * @license lucide-react v0.507.0 - ISC
135872
135877
  *
135873
135878
  * This source code is licensed under the ISC license.
135874
135879
  * See the LICENSE file in the root directory of this source tree.
@@ -135879,7 +135884,7 @@ const __iconNode$g = [
135879
135884
  ["path", { d: "M2 2v20", key: "1ivd8o" }]
135880
135885
  ], AlignStartVertical = createLucideIcon("align-start-vertical", __iconNode$g);
135881
135886
  /**
135882
- * @license lucide-react v0.487.0 - ISC
135887
+ * @license lucide-react v0.507.0 - ISC
135883
135888
  *
135884
135889
  * This source code is licensed under the ISC license.
135885
135890
  * See the LICENSE file in the root directory of this source tree.
@@ -135890,7 +135895,7 @@ const __iconNode$f = [
135890
135895
  ["path", { d: "M22 4H2", key: "1b7qnq" }]
135891
135896
  ], AlignVerticalSpaceAround = createLucideIcon("align-vertical-space-around", __iconNode$f);
135892
135897
  /**
135893
- * @license lucide-react v0.487.0 - ISC
135898
+ * @license lucide-react v0.507.0 - ISC
135894
135899
  *
135895
135900
  * This source code is licensed under the ISC license.
135896
135901
  * See the LICENSE file in the root directory of this source tree.
@@ -135900,7 +135905,7 @@ const __iconNode$e = [
135900
135905
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
135901
135906
  ], ArrowLeft = createLucideIcon("arrow-left", __iconNode$e);
135902
135907
  /**
135903
- * @license lucide-react v0.487.0 - ISC
135908
+ * @license lucide-react v0.507.0 - ISC
135904
135909
  *
135905
135910
  * This source code is licensed under the ISC license.
135906
135911
  * See the LICENSE file in the root directory of this source tree.
@@ -135910,21 +135915,21 @@ const __iconNode$d = [
135910
135915
  ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
135911
135916
  ], ArrowRight = createLucideIcon("arrow-right", __iconNode$d);
135912
135917
  /**
135913
- * @license lucide-react v0.487.0 - ISC
135918
+ * @license lucide-react v0.507.0 - ISC
135914
135919
  *
135915
135920
  * This source code is licensed under the ISC license.
135916
135921
  * See the LICENSE file in the root directory of this source tree.
135917
135922
  */
135918
135923
  const __iconNode$c = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("chevron-left", __iconNode$c);
135919
135924
  /**
135920
- * @license lucide-react v0.487.0 - ISC
135925
+ * @license lucide-react v0.507.0 - ISC
135921
135926
  *
135922
135927
  * This source code is licensed under the ISC license.
135923
135928
  * See the LICENSE file in the root directory of this source tree.
135924
135929
  */
135925
135930
  const __iconNode$b = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("chevron-right", __iconNode$b);
135926
135931
  /**
135927
- * @license lucide-react v0.487.0 - ISC
135932
+ * @license lucide-react v0.507.0 - ISC
135928
135933
  *
135929
135934
  * This source code is licensed under the ISC license.
135930
135935
  * See the LICENSE file in the root directory of this source tree.
@@ -135934,7 +135939,7 @@ const __iconNode$a = [
135934
135939
  ["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
135935
135940
  ], ChevronsLeft = createLucideIcon("chevrons-left", __iconNode$a);
135936
135941
  /**
135937
- * @license lucide-react v0.487.0 - ISC
135942
+ * @license lucide-react v0.507.0 - ISC
135938
135943
  *
135939
135944
  * This source code is licensed under the ISC license.
135940
135945
  * See the LICENSE file in the root directory of this source tree.
@@ -135944,7 +135949,7 @@ const __iconNode$9 = [
135944
135949
  ["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
135945
135950
  ], ChevronsRight = createLucideIcon("chevrons-right", __iconNode$9);
135946
135951
  /**
135947
- * @license lucide-react v0.487.0 - ISC
135952
+ * @license lucide-react v0.507.0 - ISC
135948
135953
  *
135949
135954
  * This source code is licensed under the ISC license.
135950
135955
  * See the LICENSE file in the root directory of this source tree.
@@ -135955,7 +135960,7 @@ const __iconNode$8 = [
135955
135960
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
135956
135961
  ], CircleAlert = createLucideIcon("circle-alert", __iconNode$8);
135957
135962
  /**
135958
- * @license lucide-react v0.487.0 - ISC
135963
+ * @license lucide-react v0.507.0 - ISC
135959
135964
  *
135960
135965
  * This source code is licensed under the ISC license.
135961
135966
  * See the LICENSE file in the root directory of this source tree.
@@ -135966,7 +135971,7 @@ const __iconNode$7 = [
135966
135971
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
135967
135972
  ], Ellipsis = createLucideIcon("ellipsis", __iconNode$7);
135968
135973
  /**
135969
- * @license lucide-react v0.487.0 - ISC
135974
+ * @license lucide-react v0.507.0 - ISC
135970
135975
  *
135971
135976
  * This source code is licensed under the ISC license.
135972
135977
  * See the LICENSE file in the root directory of this source tree.
@@ -135980,14 +135985,14 @@ const __iconNode$6 = [
135980
135985
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
135981
135986
  ], GripVertical = createLucideIcon("grip-vertical", __iconNode$6);
135982
135987
  /**
135983
- * @license lucide-react v0.487.0 - ISC
135988
+ * @license lucide-react v0.507.0 - ISC
135984
135989
  *
135985
135990
  * This source code is licensed under the ISC license.
135986
135991
  * See the LICENSE file in the root directory of this source tree.
135987
135992
  */
135988
135993
  const __iconNode$5 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], LoaderCircle = createLucideIcon("loader-circle", __iconNode$5);
135989
135994
  /**
135990
- * @license lucide-react v0.487.0 - ISC
135995
+ * @license lucide-react v0.507.0 - ISC
135991
135996
  *
135992
135997
  * This source code is licensed under the ISC license.
135993
135998
  * See the LICENSE file in the root directory of this source tree.
@@ -135997,25 +136002,25 @@ const __iconNode$4 = [
135997
136002
  ["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
135998
136003
  ], Lock = createLucideIcon("lock", __iconNode$4);
135999
136004
  /**
136000
- * @license lucide-react v0.487.0 - ISC
136005
+ * @license lucide-react v0.507.0 - ISC
136001
136006
  *
136002
136007
  * This source code is licensed under the ISC license.
136003
136008
  * See the LICENSE file in the root directory of this source tree.
136004
136009
  */
136005
136010
  const __iconNode$3 = [
136006
- ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
136007
- ["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
136008
- ["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
136011
+ ["path", { d: "M4 12h16", key: "1lakjw" }],
136012
+ ["path", { d: "M4 18h16", key: "19g7jn" }],
136013
+ ["path", { d: "M4 6h16", key: "1o0s65" }]
136009
136014
  ], Menu = createLucideIcon("menu", __iconNode$3);
136010
136015
  /**
136011
- * @license lucide-react v0.487.0 - ISC
136016
+ * @license lucide-react v0.507.0 - ISC
136012
136017
  *
136013
136018
  * This source code is licensed under the ISC license.
136014
136019
  * See the LICENSE file in the root directory of this source tree.
136015
136020
  */
136016
136021
  const __iconNode$2 = [["path", { d: "M5 12h14", key: "1ays0h" }]], Minus = createLucideIcon("minus", __iconNode$2);
136017
136022
  /**
136018
- * @license lucide-react v0.487.0 - ISC
136023
+ * @license lucide-react v0.507.0 - ISC
136019
136024
  *
136020
136025
  * This source code is licensed under the ISC license.
136021
136026
  * See the LICENSE file in the root directory of this source tree.
@@ -136025,7 +136030,7 @@ const __iconNode$1 = [
136025
136030
  ["path", { d: "M12 5v14", key: "s699le" }]
136026
136031
  ], Plus = createLucideIcon("plus", __iconNode$1);
136027
136032
  /**
136028
- * @license lucide-react v0.487.0 - ISC
136033
+ * @license lucide-react v0.507.0 - ISC
136029
136034
  *
136030
136035
  * This source code is licensed under the ISC license.
136031
136036
  * See the LICENSE file in the root directory of this source tree.
package/dist/index.umd.js CHANGED
@@ -636,137 +636,137 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
636
636
  ${c}-download,
637
637
  ${c}-delete
638
638
  `]:{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.colorIcon}),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:_,removeIcon:I,downloadIcon:$,extra:P,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:ve=>E(A,ve),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 I=="function"?I(A):I)||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,Z=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 P=="function"?P(A):P,Y=Q&&reactExports.createElement("span",{className:`${c}-list-item-extra`},Q),J=classnames(`${c}-list-item-name`),ee=A.url?reactExports.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:J,title:A.name},N,{href:A.url,onClick:ge=>E(A,ge)}),A.name,Y):reactExports.createElement("span",{key:"view",className:J,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 _=="function"?_(A):_||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,Z,ae,j&&reactExports.createElement(CSSMotion,{motionName:`${K}-fade`,visible:O==="uploading",motionDeadline:2e3},ge=>{let{className:Se}=ge;const ve="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)},ve)})),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:_,extra:I,progress:$={size:[-1,2],showInfo:!1},appendAction:P,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(J=>{Y.thumbUrl=J||"",B()}))})},[c,y,u]),reactExports.useEffect(()=>{D(!0)},[]);const H=(Y,J)=>{if(d)return J==null||J.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 J=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 J?ee:re}return J?reactExports.createElement(RefIcon$F,null):reactExports.createElement(RefIcon$4,null)},F=(Y,J,ee,re,ae)=>{const V={type:"text",size:"small",title:re,onClick:K=>{var te,ie;J(),reactExports.isValidElement(Y)&&((ie=(te=Y.props).onClick)===null||ie===void 0||ie.call(te,K))},className:`${ee}-list-item-action`,disabled:ae?T:!1};return 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}`),Z=reactExports.useMemo(()=>omit(initCollapseMotion(k),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[k]),Q=Object.assign(Object.assign({},O?{}:Z),{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:J,file:ee,className:re,style:ae}=Y;return reactExports.createElement(ListItem,{key:J,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:_,extra:I,iconRender:L,actionIconRender:F,itemRender:R,onPreview:H,onDownload:j,onClose:q})}),P&&reactExports.createElement(CSSMotion,Object.assign({},Q,{visible:E,forceRender:!0}),Y=>{let{className:J,style:ee}=Y;return cloneElement(P,re=>({className:classnames(re.className,J),style:Object.assign(Object.assign(Object.assign({},ee),{pointerEvents:J?"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:_,className:I,type:$="select",children:P,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"),Z=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 Ie=_toConsumableArray$e(Me),je=!1;T===1?Ie=Ie.slice(-1):T&&(je=Ie.length>T,Ie=Ie.slice(0,T)),reactDomExports.flushSync(()=>{N(Ie)});const Ye={file:Ne,fileList:Ie};Fe&&(Ye.event=Fe),(!je||Ne.status==="removed"||Ie.some(Te=>Te.uid===Ne.uid))&&reactDomExports.flushSync(()=>{g==null||g(Ye)})},J=(Ne,Me)=>__awaiter(void 0,void 0,void 0,function*(){const{beforeUpload:Fe,transformFile:Ie}=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 Ie&&(je=yield Ie(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 Ie=_toConsumableArray$e(U);Fe.forEach(je=>{Ie=updateFileList(je,Ie)}),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,Ie)})},re=(Ne,Me,Fe)=>{try{typeof Ne=="string"&&(Ne=JSON.parse(Ne))}catch{}if(!getFileItem(Me,U))return;const Ie=file2Obj(Me);Ie.status="done",Ie.percent=100,Ie.response=Ne,Ie.xhr=Fe;const je=updateFileList(Ie,U);Y(Ie,je)},ae=(Ne,Me)=>{if(!getFileItem(Me,U))return;const Fe=file2Obj(Me);Fe.status="uploading",Fe.percent=Ne.percent;const Ie=updateFileList(Fe,U);Y(Fe,Ie,Ne)},V=(Ne,Me,Fe)=>{if(!getFileItem(Fe,U))return;const Ie=file2Obj(Fe);Ie.error=Ne,Ie.response=Me,Ie.status="error";const je=updateFileList(Ie,U);Y(Ie,je)},K=Ne=>{let Me;Promise.resolve(typeof d=="function"?d(Ne):d).then(Fe=>{var Ie;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")}),(Ie=Z.current)===null||Ie===void 0||Ie.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:Z.current,nativeElement:Q.current}));const{getPrefixCls:ie,direction:ce,upload:ge}=reactExports.useContext(ConfigContext$1),Se=ie("upload",_),ve=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:J,onChange:void 0,hasControlInside:D});delete ve.className,delete ve.style,(!P||F)&&delete ve.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,_e=classnames(me,I,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:_e,ref:Q},reactExports.createElement("div",{className:Ne,style:ye,onDrop:te,onDragOver:te,onDragLeave:te},reactExports.createElement(Upload$2,Object.assign({},ve,{ref:Z,className:`${Se}-btn`}),reactExports.createElement("div",{className:`${Se}-drag-container`},P))),he()))}const Pe=classnames(Se,`${Se}-select`,{[`${Se}-disabled`]:F,[`${Se}-hidden`]:!P}),Le=reactExports.createElement("div",{className:Pe},reactExports.createElement(Upload$2,Object.assign({},ve,{ref:Z})));return fe(v==="picture-card"||v==="picture-circle"?reactExports.createElement("span",{className:_e,ref:Q},he(Le,!!P)):reactExports.createElement("span",{className:_e,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;/**
639
- * @license lucide-react v0.487.0 - ISC
639
+ * @license lucide-react v0.507.0 - ISC
640
640
  *
641
641
  * This source code is licensed under the ISC license.
642
642
  * See the LICENSE file in the root directory of this source tree.
643
- */const toKebabCase=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),toCamelCase=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,c,u)=>u?u.toUpperCase():c.toLowerCase()),toPascalCase=a=>{const s=toCamelCase(a);return s.charAt(0).toUpperCase()+s.slice(1)},mergeClasses=(...a)=>a.filter((s,c,u)=>!!s&&s.trim()!==""&&u.indexOf(s)===c).join(" ").trim();/**
644
- * @license lucide-react v0.487.0 - ISC
643
+ */const toKebabCase=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),toCamelCase=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,c,u)=>u?u.toUpperCase():c.toLowerCase()),toPascalCase=a=>{const s=toCamelCase(a);return s.charAt(0).toUpperCase()+s.slice(1)},mergeClasses=(...a)=>a.filter((s,c,u)=>!!s&&s.trim()!==""&&u.indexOf(s)===c).join(" ").trim(),hasA11yProp=a=>{for(const s in a)if(s.startsWith("aria-")||s==="role"||s==="title")return!0};/**
644
+ * @license lucide-react v0.507.0 - ISC
645
645
  *
646
646
  * This source code is licensed under the ISC license.
647
647
  * See the LICENSE file in the root directory of this source tree.
648
648
  */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"};/**
649
- * @license lucide-react v0.487.0 - ISC
649
+ * @license lucide-react v0.507.0 - ISC
650
650
  *
651
651
  * This source code is licensed under the ISC license.
652
652
  * See the LICENSE file in the root directory of this source tree.
653
- */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]]));/**
654
- * @license lucide-react v0.487.0 - ISC
653
+ */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),...!p&&!hasA11yProp(A)&&{"aria-hidden":"true"},...A},[...v.map(([g,x])=>reactExports.createElement(g,x)),...Array.isArray(p)?p:[p]]));/**
654
+ * @license lucide-react v0.507.0 - ISC
655
655
  *
656
656
  * This source code is licensed under the ISC license.
657
657
  * See the LICENSE file in the root directory of this source tree.
658
658
  */const createLucideIcon=(a,s)=>{const c=reactExports.forwardRef(({className:u,...d},p)=>reactExports.createElement(Icon,{ref:p,iconNode:s,className:mergeClasses(`lucide-${toKebabCase(toPascalCase(a))}`,`lucide-${a}`,u),...d}));return c.displayName=toPascalCase(a),c};/**
659
- * @license lucide-react v0.487.0 - ISC
659
+ * @license lucide-react v0.507.0 - ISC
660
660
  *
661
661
  * This source code is licensed under the ISC license.
662
662
  * See the LICENSE file in the root directory of this source tree.
663
663
  */const __iconNode$m=[["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("align-center-horizontal",__iconNode$m);/**
664
- * @license lucide-react v0.487.0 - ISC
664
+ * @license lucide-react v0.507.0 - ISC
665
665
  *
666
666
  * This source code is licensed under the ISC license.
667
667
  * See the LICENSE file in the root directory of this source tree.
668
668
  */const __iconNode$l=[["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("align-center-vertical",__iconNode$l);/**
669
- * @license lucide-react v0.487.0 - ISC
669
+ * @license lucide-react v0.507.0 - ISC
670
670
  *
671
671
  * This source code is licensed under the ISC license.
672
672
  * See the LICENSE file in the root directory of this source tree.
673
673
  */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("align-end-horizontal",__iconNode$k);/**
674
- * @license lucide-react v0.487.0 - ISC
674
+ * @license lucide-react v0.507.0 - ISC
675
675
  *
676
676
  * This source code is licensed under the ISC license.
677
677
  * See the LICENSE file in the root directory of this source tree.
678
678
  */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("align-end-vertical",__iconNode$j);/**
679
- * @license lucide-react v0.487.0 - ISC
679
+ * @license lucide-react v0.507.0 - ISC
680
680
  *
681
681
  * This source code is licensed under the ISC license.
682
682
  * See the LICENSE file in the root directory of this source tree.
683
683
  */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("align-horizontal-space-around",__iconNode$i);/**
684
- * @license lucide-react v0.487.0 - ISC
684
+ * @license lucide-react v0.507.0 - ISC
685
685
  *
686
686
  * This source code is licensed under the ISC license.
687
687
  * See the LICENSE file in the root directory of this source tree.
688
688
  */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("align-start-horizontal",__iconNode$h);/**
689
- * @license lucide-react v0.487.0 - ISC
689
+ * @license lucide-react v0.507.0 - ISC
690
690
  *
691
691
  * This source code is licensed under the ISC license.
692
692
  * See the LICENSE file in the root directory of this source tree.
693
693
  */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("align-start-vertical",__iconNode$g);/**
694
- * @license lucide-react v0.487.0 - ISC
694
+ * @license lucide-react v0.507.0 - ISC
695
695
  *
696
696
  * This source code is licensed under the ISC license.
697
697
  * See the LICENSE file in the root directory of this source tree.
698
698
  */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("align-vertical-space-around",__iconNode$f);/**
699
- * @license lucide-react v0.487.0 - ISC
699
+ * @license lucide-react v0.507.0 - ISC
700
700
  *
701
701
  * This source code is licensed under the ISC license.
702
702
  * See the LICENSE file in the root directory of this source tree.
703
703
  */const __iconNode$e=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],ArrowLeft=createLucideIcon("arrow-left",__iconNode$e);/**
704
- * @license lucide-react v0.487.0 - ISC
704
+ * @license lucide-react v0.507.0 - ISC
705
705
  *
706
706
  * This source code is licensed under the ISC license.
707
707
  * See the LICENSE file in the root directory of this source tree.
708
708
  */const __iconNode$d=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ArrowRight=createLucideIcon("arrow-right",__iconNode$d);/**
709
- * @license lucide-react v0.487.0 - ISC
709
+ * @license lucide-react v0.507.0 - ISC
710
710
  *
711
711
  * This source code is licensed under the ISC license.
712
712
  * See the LICENSE file in the root directory of this source tree.
713
713
  */const __iconNode$c=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],ChevronLeft=createLucideIcon("chevron-left",__iconNode$c);/**
714
- * @license lucide-react v0.487.0 - ISC
714
+ * @license lucide-react v0.507.0 - ISC
715
715
  *
716
716
  * This source code is licensed under the ISC license.
717
717
  * See the LICENSE file in the root directory of this source tree.
718
718
  */const __iconNode$b=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],ChevronRight=createLucideIcon("chevron-right",__iconNode$b);/**
719
- * @license lucide-react v0.487.0 - ISC
719
+ * @license lucide-react v0.507.0 - ISC
720
720
  *
721
721
  * This source code is licensed under the ISC license.
722
722
  * See the LICENSE file in the root directory of this source tree.
723
723
  */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("chevrons-left",__iconNode$a);/**
724
- * @license lucide-react v0.487.0 - ISC
724
+ * @license lucide-react v0.507.0 - ISC
725
725
  *
726
726
  * This source code is licensed under the ISC license.
727
727
  * See the LICENSE file in the root directory of this source tree.
728
728
  */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("chevrons-right",__iconNode$9);/**
729
- * @license lucide-react v0.487.0 - ISC
729
+ * @license lucide-react v0.507.0 - ISC
730
730
  *
731
731
  * This source code is licensed under the ISC license.
732
732
  * See the LICENSE file in the root directory of this source tree.
733
733
  */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("circle-alert",__iconNode$8);/**
734
- * @license lucide-react v0.487.0 - ISC
734
+ * @license lucide-react v0.507.0 - ISC
735
735
  *
736
736
  * This source code is licensed under the ISC license.
737
737
  * See the LICENSE file in the root directory of this source tree.
738
738
  */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);/**
739
- * @license lucide-react v0.487.0 - ISC
739
+ * @license lucide-react v0.507.0 - ISC
740
740
  *
741
741
  * This source code is licensed under the ISC license.
742
742
  * See the LICENSE file in the root directory of this source tree.
743
743
  */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("grip-vertical",__iconNode$6);/**
744
- * @license lucide-react v0.487.0 - ISC
744
+ * @license lucide-react v0.507.0 - ISC
745
745
  *
746
746
  * This source code is licensed under the ISC license.
747
747
  * See the LICENSE file in the root directory of this source tree.
748
748
  */const __iconNode$5=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],LoaderCircle=createLucideIcon("loader-circle",__iconNode$5);/**
749
- * @license lucide-react v0.487.0 - ISC
749
+ * @license lucide-react v0.507.0 - ISC
750
750
  *
751
751
  * This source code is licensed under the ISC license.
752
752
  * See the LICENSE file in the root directory of this source tree.
753
753
  */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);/**
754
- * @license lucide-react v0.487.0 - ISC
754
+ * @license lucide-react v0.507.0 - ISC
755
755
  *
756
756
  * This source code is licensed under the ISC license.
757
757
  * See the LICENSE file in the root directory of this source tree.
758
- */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);/**
759
- * @license lucide-react v0.487.0 - ISC
758
+ */const __iconNode$3=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],Menu=createLucideIcon("menu",__iconNode$3);/**
759
+ * @license lucide-react v0.507.0 - ISC
760
760
  *
761
761
  * This source code is licensed under the ISC license.
762
762
  * See the LICENSE file in the root directory of this source tree.
763
763
  */const __iconNode$2=[["path",{d:"M5 12h14",key:"1ays0h"}]],Minus=createLucideIcon("minus",__iconNode$2);/**
764
- * @license lucide-react v0.487.0 - ISC
764
+ * @license lucide-react v0.507.0 - ISC
765
765
  *
766
766
  * This source code is licensed under the ISC license.
767
767
  * See the LICENSE file in the root directory of this source tree.
768
768
  */const __iconNode$1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Plus=createLucideIcon("plus",__iconNode$1);/**
769
- * @license lucide-react v0.487.0 - ISC
769
+ * @license lucide-react v0.507.0 - ISC
770
770
  *
771
771
  * This source code is licensed under the ISC license.
772
772
  * 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.16-dev.8",
3
+ "version": "5.3.16-dev.9",
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.487.0",
47
+ "lucide-react": "^0.507.0",
48
48
  "react": "^16.14.0",
49
49
  "react-dom": "^16.14.0",
50
50
  "react-moveable": "^0.56.0",