@pdfme/ui 5.3.16-dev.16 → 5.3.16-dev.18
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 +27 -27
- package/dist/index.umd.js +27 -27
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
@@ -135913,7 +135913,7 @@ const Dragger = /* @__PURE__ */ reactExports.forwardRef((a, s) => {
|
|
135913
135913
|
Upload.Dragger = Dragger;
|
135914
135914
|
Upload.LIST_IGNORE = LIST_IGNORE;
|
135915
135915
|
/**
|
135916
|
-
* @license lucide-react v0.
|
135916
|
+
* @license lucide-react v0.508.0 - ISC
|
135917
135917
|
*
|
135918
135918
|
* This source code is licensed under the ISC license.
|
135919
135919
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135930,7 +135930,7 @@ const toKebabCase = (a) => a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(
|
|
135930
135930
|
return !0;
|
135931
135931
|
};
|
135932
135932
|
/**
|
135933
|
-
* @license lucide-react v0.
|
135933
|
+
* @license lucide-react v0.508.0 - ISC
|
135934
135934
|
*
|
135935
135935
|
* This source code is licensed under the ISC license.
|
135936
135936
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135947,7 +135947,7 @@ var defaultAttributes$1 = {
|
|
135947
135947
|
strokeLinejoin: "round"
|
135948
135948
|
};
|
135949
135949
|
/**
|
135950
|
-
* @license lucide-react v0.
|
135950
|
+
* @license lucide-react v0.508.0 - ISC
|
135951
135951
|
*
|
135952
135952
|
* This source code is licensed under the ISC license.
|
135953
135953
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -135982,7 +135982,7 @@ const Icon = reactExports.forwardRef(
|
|
135982
135982
|
)
|
135983
135983
|
);
|
135984
135984
|
/**
|
135985
|
-
* @license lucide-react v0.
|
135985
|
+
* @license lucide-react v0.508.0 - ISC
|
135986
135986
|
*
|
135987
135987
|
* This source code is licensed under the ISC license.
|
135988
135988
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136003,7 +136003,7 @@ const createLucideIcon = (a, s) => {
|
|
136003
136003
|
return c.displayName = toPascalCase(a), c;
|
136004
136004
|
};
|
136005
136005
|
/**
|
136006
|
-
* @license lucide-react v0.
|
136006
|
+
* @license lucide-react v0.508.0 - ISC
|
136007
136007
|
*
|
136008
136008
|
* This source code is licensed under the ISC license.
|
136009
136009
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136016,7 +136016,7 @@ const __iconNode$m = [
|
|
136016
136016
|
["path", { d: "M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1", key: "1apec2" }]
|
136017
136017
|
], AlignCenterHorizontal = createLucideIcon("align-center-horizontal", __iconNode$m);
|
136018
136018
|
/**
|
136019
|
-
* @license lucide-react v0.
|
136019
|
+
* @license lucide-react v0.508.0 - ISC
|
136020
136020
|
*
|
136021
136021
|
* This source code is licensed under the ISC license.
|
136022
136022
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136029,7 +136029,7 @@ const __iconNode$l = [
|
|
136029
136029
|
["path", { d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1", key: "1euafb" }]
|
136030
136030
|
], AlignCenterVertical = createLucideIcon("align-center-vertical", __iconNode$l);
|
136031
136031
|
/**
|
136032
|
-
* @license lucide-react v0.
|
136032
|
+
* @license lucide-react v0.508.0 - ISC
|
136033
136033
|
*
|
136034
136034
|
* This source code is licensed under the ISC license.
|
136035
136035
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136040,7 +136040,7 @@ const __iconNode$k = [
|
|
136040
136040
|
["path", { d: "M22 22H2", key: "19qnx5" }]
|
136041
136041
|
], AlignEndHorizontal = createLucideIcon("align-end-horizontal", __iconNode$k);
|
136042
136042
|
/**
|
136043
|
-
* @license lucide-react v0.
|
136043
|
+
* @license lucide-react v0.508.0 - ISC
|
136044
136044
|
*
|
136045
136045
|
* This source code is licensed under the ISC license.
|
136046
136046
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136051,7 +136051,7 @@ const __iconNode$j = [
|
|
136051
136051
|
["path", { d: "M22 22V2", key: "12ipfv" }]
|
136052
136052
|
], AlignEndVertical = createLucideIcon("align-end-vertical", __iconNode$j);
|
136053
136053
|
/**
|
136054
|
-
* @license lucide-react v0.
|
136054
|
+
* @license lucide-react v0.508.0 - ISC
|
136055
136055
|
*
|
136056
136056
|
* This source code is licensed under the ISC license.
|
136057
136057
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136062,7 +136062,7 @@ const __iconNode$i = [
|
|
136062
136062
|
["path", { d: "M20 22V2", key: "1bnhr8" }]
|
136063
136063
|
], AlignHorizontalSpaceAround = createLucideIcon("align-horizontal-space-around", __iconNode$i);
|
136064
136064
|
/**
|
136065
|
-
* @license lucide-react v0.
|
136065
|
+
* @license lucide-react v0.508.0 - ISC
|
136066
136066
|
*
|
136067
136067
|
* This source code is licensed under the ISC license.
|
136068
136068
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136073,7 +136073,7 @@ const __iconNode$h = [
|
|
136073
136073
|
["path", { d: "M22 2H2", key: "fhrpnj" }]
|
136074
136074
|
], AlignStartHorizontal = createLucideIcon("align-start-horizontal", __iconNode$h);
|
136075
136075
|
/**
|
136076
|
-
* @license lucide-react v0.
|
136076
|
+
* @license lucide-react v0.508.0 - ISC
|
136077
136077
|
*
|
136078
136078
|
* This source code is licensed under the ISC license.
|
136079
136079
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136084,7 +136084,7 @@ const __iconNode$g = [
|
|
136084
136084
|
["path", { d: "M2 2v20", key: "1ivd8o" }]
|
136085
136085
|
], AlignStartVertical = createLucideIcon("align-start-vertical", __iconNode$g);
|
136086
136086
|
/**
|
136087
|
-
* @license lucide-react v0.
|
136087
|
+
* @license lucide-react v0.508.0 - ISC
|
136088
136088
|
*
|
136089
136089
|
* This source code is licensed under the ISC license.
|
136090
136090
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136095,7 +136095,7 @@ const __iconNode$f = [
|
|
136095
136095
|
["path", { d: "M22 4H2", key: "1b7qnq" }]
|
136096
136096
|
], AlignVerticalSpaceAround = createLucideIcon("align-vertical-space-around", __iconNode$f);
|
136097
136097
|
/**
|
136098
|
-
* @license lucide-react v0.
|
136098
|
+
* @license lucide-react v0.508.0 - ISC
|
136099
136099
|
*
|
136100
136100
|
* This source code is licensed under the ISC license.
|
136101
136101
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136105,7 +136105,7 @@ const __iconNode$e = [
|
|
136105
136105
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
136106
136106
|
], ArrowLeft = createLucideIcon("arrow-left", __iconNode$e);
|
136107
136107
|
/**
|
136108
|
-
* @license lucide-react v0.
|
136108
|
+
* @license lucide-react v0.508.0 - ISC
|
136109
136109
|
*
|
136110
136110
|
* This source code is licensed under the ISC license.
|
136111
136111
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136115,21 +136115,21 @@ const __iconNode$d = [
|
|
136115
136115
|
["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
|
136116
136116
|
], ArrowRight = createLucideIcon("arrow-right", __iconNode$d);
|
136117
136117
|
/**
|
136118
|
-
* @license lucide-react v0.
|
136118
|
+
* @license lucide-react v0.508.0 - ISC
|
136119
136119
|
*
|
136120
136120
|
* This source code is licensed under the ISC license.
|
136121
136121
|
* See the LICENSE file in the root directory of this source tree.
|
136122
136122
|
*/
|
136123
136123
|
const __iconNode$c = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], ChevronLeft = createLucideIcon("chevron-left", __iconNode$c);
|
136124
136124
|
/**
|
136125
|
-
* @license lucide-react v0.
|
136125
|
+
* @license lucide-react v0.508.0 - ISC
|
136126
136126
|
*
|
136127
136127
|
* This source code is licensed under the ISC license.
|
136128
136128
|
* See the LICENSE file in the root directory of this source tree.
|
136129
136129
|
*/
|
136130
136130
|
const __iconNode$b = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], ChevronRight = createLucideIcon("chevron-right", __iconNode$b);
|
136131
136131
|
/**
|
136132
|
-
* @license lucide-react v0.
|
136132
|
+
* @license lucide-react v0.508.0 - ISC
|
136133
136133
|
*
|
136134
136134
|
* This source code is licensed under the ISC license.
|
136135
136135
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136139,7 +136139,7 @@ const __iconNode$a = [
|
|
136139
136139
|
["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
|
136140
136140
|
], ChevronsLeft = createLucideIcon("chevrons-left", __iconNode$a);
|
136141
136141
|
/**
|
136142
|
-
* @license lucide-react v0.
|
136142
|
+
* @license lucide-react v0.508.0 - ISC
|
136143
136143
|
*
|
136144
136144
|
* This source code is licensed under the ISC license.
|
136145
136145
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136149,7 +136149,7 @@ const __iconNode$9 = [
|
|
136149
136149
|
["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
|
136150
136150
|
], ChevronsRight = createLucideIcon("chevrons-right", __iconNode$9);
|
136151
136151
|
/**
|
136152
|
-
* @license lucide-react v0.
|
136152
|
+
* @license lucide-react v0.508.0 - ISC
|
136153
136153
|
*
|
136154
136154
|
* This source code is licensed under the ISC license.
|
136155
136155
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136160,7 +136160,7 @@ const __iconNode$8 = [
|
|
136160
136160
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
136161
136161
|
], CircleAlert = createLucideIcon("circle-alert", __iconNode$8);
|
136162
136162
|
/**
|
136163
|
-
* @license lucide-react v0.
|
136163
|
+
* @license lucide-react v0.508.0 - ISC
|
136164
136164
|
*
|
136165
136165
|
* This source code is licensed under the ISC license.
|
136166
136166
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136171,7 +136171,7 @@ const __iconNode$7 = [
|
|
136171
136171
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
136172
136172
|
], Ellipsis = createLucideIcon("ellipsis", __iconNode$7);
|
136173
136173
|
/**
|
136174
|
-
* @license lucide-react v0.
|
136174
|
+
* @license lucide-react v0.508.0 - ISC
|
136175
136175
|
*
|
136176
136176
|
* This source code is licensed under the ISC license.
|
136177
136177
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136185,14 +136185,14 @@ const __iconNode$6 = [
|
|
136185
136185
|
["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
|
136186
136186
|
], GripVertical = createLucideIcon("grip-vertical", __iconNode$6);
|
136187
136187
|
/**
|
136188
|
-
* @license lucide-react v0.
|
136188
|
+
* @license lucide-react v0.508.0 - ISC
|
136189
136189
|
*
|
136190
136190
|
* This source code is licensed under the ISC license.
|
136191
136191
|
* See the LICENSE file in the root directory of this source tree.
|
136192
136192
|
*/
|
136193
136193
|
const __iconNode$5 = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], LoaderCircle = createLucideIcon("loader-circle", __iconNode$5);
|
136194
136194
|
/**
|
136195
|
-
* @license lucide-react v0.
|
136195
|
+
* @license lucide-react v0.508.0 - ISC
|
136196
136196
|
*
|
136197
136197
|
* This source code is licensed under the ISC license.
|
136198
136198
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136202,7 +136202,7 @@ const __iconNode$4 = [
|
|
136202
136202
|
["path", { d: "M7 11V7a5 5 0 0 1 10 0v4", key: "fwvmzm" }]
|
136203
136203
|
], Lock = createLucideIcon("lock", __iconNode$4);
|
136204
136204
|
/**
|
136205
|
-
* @license lucide-react v0.
|
136205
|
+
* @license lucide-react v0.508.0 - ISC
|
136206
136206
|
*
|
136207
136207
|
* This source code is licensed under the ISC license.
|
136208
136208
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136213,14 +136213,14 @@ const __iconNode$3 = [
|
|
136213
136213
|
["path", { d: "M4 6h16", key: "1o0s65" }]
|
136214
136214
|
], Menu = createLucideIcon("menu", __iconNode$3);
|
136215
136215
|
/**
|
136216
|
-
* @license lucide-react v0.
|
136216
|
+
* @license lucide-react v0.508.0 - ISC
|
136217
136217
|
*
|
136218
136218
|
* This source code is licensed under the ISC license.
|
136219
136219
|
* See the LICENSE file in the root directory of this source tree.
|
136220
136220
|
*/
|
136221
136221
|
const __iconNode$2 = [["path", { d: "M5 12h14", key: "1ays0h" }]], Minus = createLucideIcon("minus", __iconNode$2);
|
136222
136222
|
/**
|
136223
|
-
* @license lucide-react v0.
|
136223
|
+
* @license lucide-react v0.508.0 - ISC
|
136224
136224
|
*
|
136225
136225
|
* This source code is licensed under the ISC license.
|
136226
136226
|
* See the LICENSE file in the root directory of this source tree.
|
@@ -136230,7 +136230,7 @@ const __iconNode$1 = [
|
|
136230
136230
|
["path", { d: "M12 5v14", key: "s699le" }]
|
136231
136231
|
], Plus = createLucideIcon("plus", __iconNode$1);
|
136232
136232
|
/**
|
136233
|
-
* @license lucide-react v0.
|
136233
|
+
* @license lucide-react v0.508.0 - ISC
|
136234
136234
|
*
|
136235
136235
|
* This source code is licensed under the ISC license.
|
136236
136236
|
* 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:k}=A,[O,H]=reactExports.useState(k);reactExports.useEffect(()=>{k!=="removed"&&H(k)},[k]);const[j,q]=reactExports.useState(!1);reactExports.useEffect(()=>{const me=setTimeout(()=>{q(!0)},300);return()=>{clearTimeout(me)}},[]);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 me=classnames(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:O!=="uploading"});F=reactExports.createElement("div",{className:me},L)}else{const me=m!=null&&m(A)?reactExports.createElement("img",{src:A.thumbUrl||A.url,alt:A.name,className:`${c}-list-item-image`,crossOrigin:A.crossOrigin}):L,we=classnames(`${c}-list-item-thumbnail`,{[`${c}-list-item-file`]:m&&!m(A)});F=reactExports.createElement("a",{className:we,onClick:ve=>E(A,ve),href:A.url||A.thumbUrl,target:"_blank",rel:"noopener noreferrer"},me)}const U=classnames(`${c}-list-item`,`${c}-list-item-${O}`),N=typeof A.linkProps=="string"?JSON.parse(A.linkProps):A.linkProps,D=(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,D),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:me=>E(A,me)}),A.name,Y):reactExports.createElement("span",{key:"view",className:J,onClick:me=>E(A,me),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:me=>E(A,me),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,D),{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},me=>{let{className:we}=me;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`,we)},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:me=>me.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,k]=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(()=>{k(!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),D=U(),W=classnames(`${N}-list`,`${N}-list-${c}`),Z=reactExports.useMemo(()=>omit(initCollapseMotion(D),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[D]),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:k=!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:Le=>Le??[]}),[D,W]=reactExports.useState("drop"),Z=reactExports.useRef(null),Q=reactExports.useRef(null);reactExports.useMemo(()=>{const Le=Date.now();(c||[]).forEach((Oe,Fe)=>{!Oe.uid&&!Object.isFrozen(Oe)&&(Oe.uid=`__AUTO__${Le}_${Fe}__`)})},[c]);const Y=(Le,Oe,Fe)=>{let _e=_toConsumableArray$e(Oe),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:Le,fileList:_e};Fe&&(Ye.event=Fe),(!je||Le.status==="removed"||_e.some(Te=>Te.uid===Le.uid))&&reactDomExports.flushSync(()=>{g==null||g(Ye)})},J=(Le,Oe)=>__awaiter(void 0,void 0,void 0,function*(){const{beforeUpload:Fe,transformFile:_e}=a;let je=Le;if(Fe){const Ye=yield Fe(Le,Oe);if(Ye===!1)return!1;if(delete Le[LIST_IGNORE],Ye===LIST_IGNORE)return Object.defineProperty(Le,LIST_IGNORE,{value:!0,configurable:!0}),!1;typeof Ye=="object"&&Ye&&(je=Ye)}return _e&&(je=yield _e(je)),je}),ee=Le=>{const Oe=Le.filter(je=>!je.file[LIST_IGNORE]);if(!Oe.length)return;const Fe=Oe.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(Oe[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=(Le,Oe,Fe)=>{try{typeof Le=="string"&&(Le=JSON.parse(Le))}catch{}if(!getFileItem(Oe,U))return;const _e=file2Obj(Oe);_e.status="done",_e.percent=100,_e.response=Le,_e.xhr=Fe;const je=updateFileList(_e,U);Y(_e,je)},ae=(Le,Oe)=>{if(!getFileItem(Oe,U))return;const Fe=file2Obj(Oe);Fe.status="uploading",Fe.percent=Le.percent;const _e=updateFileList(Fe,U);Y(Fe,_e,Le)},V=(Le,Oe,Fe)=>{if(!getFileItem(Fe,U))return;const _e=file2Obj(Fe);_e.error=Le,_e.response=Oe,_e.status="error";const je=updateFileList(_e,U);Y(_e,je)},K=Le=>{let Oe;Promise.resolve(typeof d=="function"?d(Le):d).then(Fe=>{var _e;if(Fe===!1)return;const je=removeFileItem(Le,U);je&&(Oe=Object.assign(Object.assign({},Le),{status:"removed"}),U==null||U.forEach(Ye=>{const Te=Oe.uid!==void 0?"uid":"name";Ye[Te]===Oe[Te]&&!Object.isFrozen(Ye)&&(Ye.status="removed")}),(_e=Z.current)===null||_e===void 0||_e.abort(Oe),Y(Oe,je))})},te=Le=>{W(Le.type),Le.type==="drop"&&(x==null||x(Le))};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:me}=reactExports.useContext(ConfigContext$1),we=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:we,disabled:F,beforeUpload:J,onChange:void 0,hasControlInside:k});delete ve.className,delete ve.style,(!P||F)&&delete ve.id;const ge=`${we}-wrapper`,[ue,se,oe]=useStyle(we,ge),[de]=useLocale$1("Upload",localeValues.Upload),{showRemoveIcon:le,showPreviewIcon:xe,showDownloadIcon:Ce,removeIcon:$e,previewIcon:Se,downloadIcon:Ee,extra:Ae}=typeof p=="boolean"?{}:p,pe=typeof le>"u"?!F:le,he=(Le,Oe)=>p?reactExports.createElement(UploadList,{prefixCls:we,listType:v,items:U,previewFile:y,onPreview:A,onDownload:b,onRemove:K,showRemoveIcon:pe,showPreviewIcon:xe,showDownloadIcon:Ce,removeIcon:$e,previewIcon:Se,downloadIcon:Ee,iconRender:C,extra:Ae,locale:Object.assign(Object.assign({},de),m),isImageUrl:S,progress:w,appendAction:Le,appendActionVisible:Oe,itemRender:R,disabled:F}):Le,Ie=classnames(ge,I,q,se,oe,me==null?void 0:me.className,{[`${we}-rtl`]:ce==="rtl",[`${we}-picture-card-wrapper`]:v==="picture-card",[`${we}-picture-circle-wrapper`]:v==="picture-circle"}),ye=Object.assign(Object.assign({},me==null?void 0:me.style),E);if($==="drag"){const Le=classnames(se,we,`${we}-drag`,{[`${we}-drag-uploading`]:U.some(Oe=>Oe.status==="uploading"),[`${we}-drag-hover`]:D==="dragover",[`${we}-disabled`]:F,[`${we}-rtl`]:ce==="rtl"});return ue(reactExports.createElement("span",{className:Ie,ref:Q},reactExports.createElement("div",{className:Le,style:ye,onDrop:te,onDragOver:te,onDragLeave:te},reactExports.createElement(Upload$2,Object.assign({},ve,{ref:Z,className:`${we}-btn`}),reactExports.createElement("div",{className:`${we}-drag-container`},P))),he()))}const Pe=classnames(we,`${we}-select`,{[`${we}-disabled`]:F,[`${we}-hidden`]:!P}),Ne=reactExports.createElement("div",{className:Pe},reactExports.createElement(Upload$2,Object.assign({},ve,{ref:Z})));return ue(v==="picture-card"||v==="picture-circle"?reactExports.createElement("span",{className:Ie,ref:Q},he(Ne,!!P)):reactExports.createElement("span",{className:Ie,ref:Q},Ne,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.
|
639
|
+
* @license lucide-react v0.508.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
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.
|
644
|
+
* @license lucide-react v0.508.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.
|
649
|
+
* @license lucide-react v0.508.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
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.
|
654
|
+
* @license lucide-react v0.508.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.
|
659
|
+
* @license lucide-react v0.508.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.
|
664
|
+
* @license lucide-react v0.508.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.
|
669
|
+
* @license lucide-react v0.508.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.
|
674
|
+
* @license lucide-react v0.508.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.
|
679
|
+
* @license lucide-react v0.508.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.
|
684
|
+
* @license lucide-react v0.508.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.
|
689
|
+
* @license lucide-react v0.508.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.
|
694
|
+
* @license lucide-react v0.508.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.
|
699
|
+
* @license lucide-react v0.508.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.
|
704
|
+
* @license lucide-react v0.508.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.
|
709
|
+
* @license lucide-react v0.508.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.
|
714
|
+
* @license lucide-react v0.508.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.
|
719
|
+
* @license lucide-react v0.508.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.
|
724
|
+
* @license lucide-react v0.508.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.
|
729
|
+
* @license lucide-react v0.508.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.
|
734
|
+
* @license lucide-react v0.508.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.
|
739
|
+
* @license lucide-react v0.508.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.
|
744
|
+
* @license lucide-react v0.508.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.
|
749
|
+
* @license lucide-react v0.508.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.
|
754
|
+
* @license lucide-react v0.508.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
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.
|
759
|
+
* @license lucide-react v0.508.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.
|
764
|
+
* @license lucide-react v0.508.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.
|
769
|
+
* @license lucide-react v0.508.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.
|
3
|
+
"version": "5.3.16-dev.18",
|
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.508.0",
|
48
48
|
"react": "^16.14.0",
|
49
49
|
"react-dom": "^16.14.0",
|
50
50
|
"react-moveable": "^0.56.0",
|