kdpa-components 1.38.11 → 1.38.12
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.js +1 -1
- package/dist/types/components/AdvancedList/KdpaAdvancedList.d.ts +13 -0
- package/dist/types/components/AdvancedList/KdpaAdvancedList.d.ts.map +1 -0
- package/dist/types/components/AdvancedList/KdpaAdvancedList.stories.d.ts +7 -0
- package/dist/types/components/AdvancedList/KdpaAdvancedList.stories.d.ts.map +1 -0
- package/dist/types/components/AdvancedList/index.d.ts +2 -0
- package/dist/types/components/AdvancedList/index.d.ts.map +1 -0
- package/dist/types/components/CodeEditor/KdpaCodeEditor.d.ts +5 -0
- package/dist/types/components/CodeEditor/KdpaCodeEditor.d.ts.map +1 -0
- package/dist/types/components/CodeEditor/KdpaCodeEditor.stories.d.ts +8 -0
- package/dist/types/components/CodeEditor/KdpaCodeEditor.stories.d.ts.map +1 -0
- package/dist/types/components/CodeEditor/index.d.ts +3 -0
- package/dist/types/components/CodeEditor/index.d.ts.map +1 -0
- package/dist/types/components/DataGrid/KdpaDataGrid.d.ts +4 -0
- package/dist/types/components/DataGrid/KdpaDataGrid.d.ts.map +1 -0
- package/dist/types/components/DataGrid/KdpaDataGrid.stories.d.ts +7 -0
- package/dist/types/components/DataGrid/KdpaDataGrid.stories.d.ts.map +1 -0
- package/dist/types/components/DataGrid/index.d.ts +2 -0
- package/dist/types/components/DataGrid/index.d.ts.map +1 -0
- package/dist/types/designerKit/components/Alert/Temp.d.ts +3 -0
- package/dist/types/designerKit/components/Alert/Temp.d.ts.map +1 -0
- package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts +12 -0
- package/dist/types/designerKit/components/Form/KdFormField/KdpaFormField.d.ts.map +1 -0
- package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts +10 -0
- package/dist/types/designerKit/components/GridPanel/PanelWrapper.d.ts.map +1 -0
- package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts +5 -0
- package/dist/types/designerKit/components/Tree/useKdTreeHelper.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts +9 -0
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts +9 -0
- package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts +9 -0
- package/dist/types/designerKit/components/Uploader/KdFileUploader/UploadedItems.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.d.ts +10 -0
- package/dist/types/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.d.ts +6 -0
- package/dist/types/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.d.ts.map +1 -0
- package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts +53 -0
- package/dist/types/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.d.ts.map +1 -0
- package/dist/types/designerKit/utils/fileUtils.d.ts +19 -0
- package/dist/types/designerKit/utils/fileUtils.d.ts.map +1 -0
- package/dist/types/designerKit/utils/sharedUtils.d.ts.map +1 -1
- package/dist/types/designerKit/utils/typographyHelper.d.ts +5 -0
- package/dist/types/designerKit/utils/typographyHelper.d.ts.map +1 -0
- package/dist/types/designerKit/utils/useTreeHelper.d.ts +17 -0
- package/dist/types/designerKit/utils/useTreeHelper.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -558,7 +558,7 @@ html body {
|
|
|
558
558
|
* limitations under the License.
|
|
559
559
|
*/(function(e,t){var n;function r(i,a){var s=[],c=0;function f(m){return s.push(m),a}function p(){return s[c++]}return{tokenize:function(m){return m.replace(i,f)},detokenize:function(m){return m.replace(new RegExp("("+a+")","g"),p)}}}function o(){var i="`TMP`",a="`NOFLIP_SINGLE`",s="`NOFLIP_CLASS`",c="`COMMENT`",f="[^\\u0020-\\u007e]",p="(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)",m="(?:[0-9]*\\.[0-9]+|[0-9]+)",b="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",y="direction\\s*:\\s*",w="[!#$%&*-~]",S=`['"]?\\s*`,k="(^|[^a-zA-Z])",T="[^\\}]*?",E="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",_="\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/",R="(?:"+p+"|\\\\[^\\r\\n\\f0-9a-f])",N="(?:[_a-z]|"+f+"|"+R+")",F="(?:[_a-z0-9-]|"+f+"|"+R+")",j="-?"+N+F+"*",K=m+"(?:\\s*"+b+"|"+j+")?",Y="((?:-?"+K+")|(?:inherit|auto))",J="((?:margin|padding|border-width)\\s*:\\s*)",X="((?:-color|border-style)\\s*:\\s*)",ne="(#?"+F+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",ie="(?:"+w+"|"+f+"|"+R+")*?",te="(?![a-zA-Z])",re="(?!("+F+`|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|"[^"]*"|`+c+")*?{)",de="(?!"+ie+S+"\\))",le="(?="+ie+S+"\\))",ce="(\\s*(?:!important\\s*)?[;}])",ve=/`TMP`/g,fe=new RegExp(_,"gi"),Te=new RegExp("("+E+re+"[^;}]+;?)","gi"),Re=new RegExp("("+E+T+"})","gi"),je=new RegExp("("+y+")ltr","gi"),ke=new RegExp("("+y+")rtl","gi"),me=new RegExp(k+"(left)"+te+de+re,"gi"),Pe=new RegExp(k+"(right)"+te+de+re,"gi"),Me=new RegExp(k+"(left)"+le,"gi"),_e=new RegExp(k+"(right)"+le,"gi"),Be=new RegExp(k+"(ltr)"+le,"gi"),Le=new RegExp(k+"(rtl)"+le,"gi"),Ne=new RegExp(k+"([ns]?)e-resize","gi"),Ee=new RegExp(k+"([ns]?)w-resize","gi"),He=new RegExp(J+Y+"(\\s+)"+Y+"(\\s+)"+Y+"(\\s+)"+Y+ce,"gi"),Ie=new RegExp(X+ne+"(\\s+)"+ne+"(\\s+)"+ne+"(\\s+)"+ne+ce,"gi"),Qe=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+K+")","gi"),tt=new RegExp("(background-position-x\\s*:\\s*)(-?"+m+"%)","gi"),ot=new RegExp("(border-radius\\s*:\\s*)"+Y+"(?:(?:\\s+"+Y+")(?:\\s+"+Y+")?(?:\\s+"+Y+")?)?(?:(?:(?:\\s*\\/\\s*)"+Y+")(?:\\s+"+Y+")?(?:\\s+"+Y+")?(?:\\s+"+Y+")?)?"+ce,"gi"),ze=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+Y,"gi"),$e=new RegExp("(text-shadow\\s*:\\s*)"+Y+"(\\s*)"+ne,"gi"),Ce=new RegExp("(text-shadow\\s*:\\s*)"+ne+"(\\s*)"+Y,"gi"),Oe=new RegExp("(text-shadow\\s*:\\s*)"+Y,"gi"),Ue=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+Y+"(\\s*\\))","gi"),ht=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+Y+"((?:\\s*,\\s*"+Y+"){0,2}\\s*\\))","gi");function Ze(yt,Lt,Et){var Mt,lt;return Et.slice(-1)==="%"&&(Mt=Et.indexOf("."),Mt!==-1?(lt=Et.length-Mt-2,Et=100-parseFloat(Et),Et=Et.toFixed(lt)+"%"):Et=100-parseFloat(Et)+"%"),Lt+Et}function pt(yt){switch(yt.length){case 4:yt=[yt[1],yt[0],yt[3],yt[2]];break;case 3:yt=[yt[1],yt[0],yt[1],yt[2]];break;case 2:yt=[yt[1],yt[0]];break;case 1:yt=[yt[0]];break}return yt.join(" ")}function ut(yt,Lt){var Et,Mt=[].slice.call(arguments),lt=Mt.slice(2,6).filter(function(zt){return zt}),mt=Mt.slice(6,10).filter(function(zt){return zt}),$t=Mt[10]||"";return mt.length?Et=pt(lt)+" / "+pt(mt):Et=pt(lt),Lt+Et+$t}function Ct(yt){return parseFloat(yt)===0?yt:yt[0]==="-"?yt.slice(1):"-"+yt}function Je(yt,Lt,Et){return Lt+Ct(Et)}function qe(yt,Lt,Et,Mt,lt){return Lt+Et+Ct(Mt)+lt}function it(yt,Lt,Et,Mt,lt){return Lt+Et+Mt+Ct(lt)}return{transform:function(yt,Lt){var Et=new r(Te,a),Mt=new r(Re,s),lt=new r(fe,c);return yt=lt.tokenize(Mt.tokenize(Et.tokenize(yt.replace("`","%60")))),Lt.transformDirInUrl&&(yt=yt.replace(Be,"$1"+i).replace(Le,"$1ltr").replace(ve,"rtl")),Lt.transformEdgeInUrl&&(yt=yt.replace(Me,"$1"+i).replace(_e,"$1left").replace(ve,"right")),yt=yt.replace(je,"$1"+i).replace(ke,"$1ltr").replace(ve,"rtl").replace(me,"$1"+i).replace(Pe,"$1left").replace(ve,"right").replace(Ne,"$1$2"+i).replace(Ee,"$1$2e-resize").replace(ve,"w-resize").replace(ot,ut).replace(ze,Je).replace($e,it).replace(Ce,it).replace(Oe,Je).replace(Ue,qe).replace(ht,qe).replace(He,"$1$2$3$8$5$6$7$4$9").replace(Ie,"$1$2$3$8$5$6$7$4$9").replace(Qe,Ze).replace(tt,Ze),yt=Et.detokenize(Mt.detokenize(lt.detokenize(yt))),yt}}}n=new o,e.exports?t.transform=function(i,a,s){var c;return typeof a=="object"?c=a:(c={},typeof a=="boolean"&&(c.transformDirInUrl=a),typeof s=="boolean"&&(c.transformEdgeInUrl=s)),n.transform(i,c)}:typeof window<"u"&&(window.cssjanus=n)})(N2,N2.exports);var Xke=N2.exports,Gke=fo(Xke);function s6(e,t,n){switch(e.type){case _ke:case O2:case T2:return e.return=e.return||e.value;case zg:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(o){o.type===T2&&(o.children=o.value)})}var r=a6(Array.prototype.concat(e.children),s6);return Zl(r)?e.return=e.value+"{"+r+"}":""}function l6(e,t,n,r){if(e.type===Jz||e.type===Nke||e.type===zg&&(!e.parent||e.parent.type===Dke||e.parent.type===zg)){var o=Gke.transform(s6(e));e.children=o?Yke(o)[0].children:[],e.return=""}}Object.defineProperty(l6,"name",{value:"stylisRTLPlugin"});function qke(e){const t=Zr(()=>XS({key:"kdpa",stylisPlugins:[Kke,l6],container:e?.container}),[]);return W(zA,{value:t,children:e.children})}const Zke=Dt.forwardRef((e,t)=>W(kk,{direction:"up",ref:t,...e}));function Jke({children:e,...t}){return W(Am,{TransitionComponent:Zke,fullScreen:!0,...t,children:e})}function Qke(e){return hr({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(e)}function eEe(e){return hr({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(e)}function tEe({children:e,label:t="",maxLength:n=23,expandable:r=!1,defaultOpen:o=!0,...i}){const a=Math.min(n,t.length)*7,[s,c]=_n(o??!0),f=()=>{c(p=>!p)};return W(Kk,{sx:{...i.style,...i.sx,width:"100%"},children:wt(Kk,{xs:12,container:!0,sx:{border:"1px solid #ebe9f1 !important",position:"relative",marginLeft:"0.1rem",marginRight:"0.1rem",borderRadius:"0.357rem !important",borderTopWidth:"0px !important",padding:"1rem 0.1rem","::before":{content:'""',background:"#ebe9f1",position:"absolute",top:0,right:"2px",width:`calc(${a===0?"100%":`90% - ${a}px`})`,height:"0.7px"},"::after":{content:'""',background:"#ebe9f1",position:"absolute",top:0,right:"2px",width:"20px",height:"0.7px"}},children:[W("span",{style:{position:"absolute",top:"-10px",right:"10px",fontSize:"80%",padding:"0 13px",width:`calc(100px + ${a}px)`},children:W(jl,{title:t,children:W("span",{children:t.length>n?wt(no,{children:[t.substring(0,n)," ..."]}):t})})}),r&&W("div",{style:{position:"absolute",top:"-8px",left:"20px",fontSize:"80%",padding:"0 16px",width:"20px",color:"var(--bs-primary,#7367AA)"},children:s?W(Qke,{size:18,onClick:f}):W(eEe,{size:18,onClick:f})}),W(_4,{in:r?s:!0,style:{width:"100%"},children:W(Dt.Fragment,{children:e})})]})})}function nEe(e){return hr({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"}},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"}},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"}}]})(e)}function c6(e){return hr({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"17 8 12 3 7 8"}},{tag:"line",attr:{x1:"12",y1:"3",x2:"12",y2:"15"}}]})(e)}function rEe({onUpload:e,label:t,multiple:n=!1,...r}){const o=i=>{const a=i.target.files;a&&e(a)};return wt("label",{className:"kdpa-file-uploader",htmlFor:"kdpaFileUploader",children:[t&&W("span",{className:"kdpa-file-uploader__label",children:t}),W(mg,{component:"label",htmlFor:"kdpaFileUploader",sx:{padding:"7px 7px",minWidth:"36px"},children:W(c6,{size:20})}),W("input",{id:"kdpaFileUploader",type:"file",...r,hidden:!0,multiple:!0,onChange:o})]})}function oEe({style:e,sx:t,children:n,onSubmit:r,loading:o=!1,defaultValues:i,errorHandlingMode:a="onChange"},s){const c=Z9({mode:a,defaultValues:i});return uA(s,()=>({formState:c})),W(hA,{...c,children:wt("form",{className:"kdpa-form-container",onSubmit:c.handleSubmit(r),style:{...t,...e},children:[n,o&&W("div",{className:"kdpa-form-container__loading",children:W(fs,{})})]})})}var iEe=rr(oEe);function aEe({name:e="",rules:t={},Component:n,...r}){const{control:o}=Gp(),{field:i,fieldState:{error:a}}=qp({control:o,name:e,rules:t,shouldUnregister:!0,defaultValue:r?.defaultValue});function s(...c){//! this will change in the future
|
|
560
560
|
r.autoComplete?i.onChange(c[1]):i.onChange(...c),r?.onChange?.(...c)}return wt("div",{children:[W(n,{...i,...r,onChange:s}),a&&a.message&&W("span",{style:{color:"red"},children:a.message})]})}function sEe({children:e,handleClose:t,open:n,...r}){return W(Am,{open:n,onClose:t,...r,children:e})}function lEe(e){return hr({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{id:"File_On"},child:[{tag:"path",attr:{d:"M19.485,7.35l-4.97-4.86a1.466,1.466,0,0,0-1.05-.43h-6.9a2.5,2.5,0,0,0-2.5,2.5V19.44a2.507,2.507,0,0,0,2.5,2.5h10.87a2.507,2.507,0,0,0,2.5-2.5V8.42A1.49,1.49,0,0,0,19.485,7.35Zm-1.27.15h-2.34a1.5,1.5,0,0,1-1.5-1.5V3.75Zm.72,11.94a1.5,1.5,0,0,1-1.5,1.5H6.565a1.5,1.5,0,0,1-1.5-1.5V4.56a1.5,1.5,0,0,1,1.5-1.5h6.81V6a2.5,2.5,0,0,0,2.5,2.5h3.06Z"}}]}]})(e)}function cEe(e){return wt(Ni,{sx:{position:"relative",display:"inline-flex"},children:[W(fs,{variant:"determinate",...e}),W(Ni,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:W(ni,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e.value)}%`})})]})}function R2({progress:e}){return W("div",{className:"kdpa-uploading-file",style:{display:"flex",flexDirection:"column",alignItems:"center"},children:W("div",{className:"parent",style:{position:"relative",borderRadius:"8px"},children:wt("div",{style:{position:"relative",width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:[W(lEe,{style:{position:"absolute",height:"100%",width:"100%",opacity:.2}}),W(cEe,{variant:e===0?"indeterminate":"determinate",value:e})]})})})}function I2({sessionId:e,fileName:t,onDelete:n,smallUrl:r,mediumUrl:o,largeUrl:i,modal:a=!0}){return wt("div",{className:"kdpa-uploaded-file",style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[wt("div",{className:"parent",style:{position:"relative",borderRadius:"8px"},children:[a?W(LT,{small:r,medium:o??r,large:i,hideZoom:!0,className:"modal-image"}):W("img",{src:r,className:"modal-image"}),W("div",{style:{position:"absolute",top:"100"},className:"child",children:W(nEe,{style:{color:"white",cursor:"pointer"},size:20,onClick:()=>{n(e)}})})]}),t&&W("span",{style:{fontSize:"12px"},children:t?.split("\\")?.slice(-1)?.[0]})]})}function uEe({name:e="",rules:t={},Component:n,...r}){const{control:o,setValue:i}=Gp(),{field:a,fieldState:{error:s}}=qp({control:o,name:e,rules:t,shouldUnregister:!0,defaultValue:r?.defaultValue});bn(()=>{r?.defaultValue&&i(e,r?.defaultValue)},[r?.defaultValue]);function c(...f){a.onChange(...f),r?.onChange?.(...f)}return wt(no,{children:[W(n,{...a,...r,error:s,onChange:c}),s&&s.message&&W(Ha,{variant:"caption",sx:{color:"red"},children:s.message})]})}function u6({style:e,sx:t,children:n,onSubmit:r,loading:o=!1,submitLoading:i=!1,formState:a}){return W(hA,{...a,children:wt("form",{className:"kdpa-form-container",onSubmit:a.handleSubmit(r),style:{...t,...e},children:[o?W(fs,{}):n,i&&W("div",{className:"kdpa-form-container__loading",children:W(fs,{})})]})})}function d6({name:e="",rules:t={},options:n,multiple:r=!1,defaultValue:o,valueField:i,labelField:a,loading:s=!1,getOptionValue:c,getOptionImage:f,basePathImages:p,imageSize:m="md",...b}){const{control:y,setValue:w,getValues:S}=Gp(),k=Zr(()=>{if(!o)return r?[]:null;if(r)if(i&&a){const R=o[i],N=o[a];return!N||!R?[]:R?.map((j,K)=>{const Y={[a]:N[K],[i]:j};return i==="EnumTitle"&&(Y.id=j),Y})}else return[];else return o},[]),{field:T,fieldState:{error:E}}=qp({control:y,name:e,rules:t,shouldUnregister:!0,defaultValue:k});bn(()=>{o&&w(e,k)},[k]);function _(...R){T.onChange(R[1]),b?.onChange?.(R[1])}return wt(no,{children:[W(pg,{...T,...b,getOptionKey:c,defaultValue:k,multiple:r,options:n,renderOption:f?(R,N)=>{const F=f(N);return cn("div",{...R,key:c?.(N),style:{padding:"10px",cursor:"pointer",display:"flex",flexDirection:"row",gap:"8px"}},W("img",{src:(p?.basePathStream??"")+F,style:{maxWidth:m==="lg"?"100px":m==="md"?"75px":"50px"}}),b.getOptionLabel?.(N))}:void 0,onChange:_,renderInput:R=>cn(Hm,{...R,size:"small",key:b?.key,placeholder:b?.placeholder,variant:b?.variant,label:b.label,error:!!E,required:!!b?.required,helperText:E?void 0:b?.helperText,InputProps:{...R.InputProps,...b?.InputProps,endAdornment:wt(no,{children:[s?W(fs,{color:"inherit",size:20}):null,R.InputProps.endAdornment]})}})}),E&&E.message&&W(Ha,{variant:"caption",sx:{color:"red"},children:E.message})]})}function dEe({onScrollEnd:e,onSearch:t,limitCharacterSearch:n=3,delaySearch:r=700,...o}){let i,a;function s(m,b,y){clearTimeout(i),clearTimeout(a),b.length===0&&(a=setTimeout(()=>{t&&t(b)},350)),b.length>=n&&(i=setTimeout(()=>{t&&t(b)},r))}const c=Wt(null),f=Wt(0),p=m=>{const b=m.target;f.current!==b.scrollTop&&(f.current=b.scrollTop,b.scrollTop+b.clientHeight===b.scrollHeight&&!o?.loading&&e&&e())};return bn(()=>{c.current&&(c.current.scrollTop=f.current)},[o?.options]),W(d6,{...o,onInputChange:s,ListboxComponent:m=>W("ul",{onScroll:p,ref:b=>{c.current=b},...m,style:{maxHeight:"200px"},children:m.children})})}function fEe({name:e="",rules:t={},options:n,multiple:r=!1,defaultValueKey:o="",defaultValue:i="",...a}){const{control:s}=Gp(),c=Zr(()=>r&&Array.isArray(i)?n?.filter(b=>i.includes(b[o])):n?.find(b=>b[o]===i),[n,i]),{field:f,fieldState:{error:p}}=qp({control:s,name:e,rules:t,shouldUnregister:!0,defaultValue:c});function m(...b){f.onChange(b[1]),a?.onChange?.(b[1])}return wt(no,{children:[W(Y7,{...f,...a,error:!!p,multiple:r,options:n,onChange:m}),p&&p.message&&W(Ha,{variant:"caption",sx:{color:"red"},children:p.message})]})}const hEe=()=>{const e=({data:r,getOptionLabel:o=c=>c.label,getOptionIcon:i=c=>c.icon,getOptionValue:a=c=>c.value,getOptionParent:s=c=>c.parent})=>{const c=[];return r?.forEach(f=>{a(f)&&c.push({value:a(f),label:wt(no,{children:[i(f),o(f)]}),parent:s(f)})}),c},t=(r=[],o)=>{const i=[];for(const a of r){const s=a;if(!o&&!s?.parent||s?.parent===o){const c=t(r,s.value);c.length>0&&(s.children=c),i.push(s)}}return i},n=(r,o)=>{const i=[];if(!o)return[];const a=r.find(s=>s.value===o);return a&&(i.push(a.value),i.push(...n(r,a.parent))),i};return{renderTreeToSpecificFieldName:e,buildTree:t,findAllExpanded:n}};function pEe({data:e,defaultValue:t=[],onExpand:n,multiSelect:r=!0,getOptionValue:o,getOptionIcon:i,getOptionLabel:a,getOptionParent:s,noDataText:c="no data",...f}){const p=Er(),{buildTree:m,renderTreeToSpecificFieldName:b,findAllExpanded:y}=hEe(),w=b({data:e,getOptionLabel:a,getOptionIcon:i,getOptionValue:o,getOptionParent:s}),S=m(w),[k,T]=_n([]),[E,_]=_n([S?.[0]?.value]);bn(()=>{if(t)if(typeof t=="string")_(y(w,t)),T([t]);else{const F=[];t.forEach(j=>{F.push(...y(w,j))}),_(F),T([...t])}},[]),bn(()=>{f?.onChange&&(r?f.onChange(k):f.onChange(k[0]))},[k]);function R(F,j){if(r)T(F);else if(j.isLeaf){const K=!!k.find(Y=>Y===j.value);T(K?[]:[j.value])}}function N(F,j){n&&n(F,j),_(F)}return W("div",{className:"KdTreeField",children:S?.length>0?W(F5,{...f,icons:{leaf:W("span",{}),parentOpen:W("span",{}),parentClose:W("span",{}),check:W(i5,{size:24,color:p?.palette?.primary?.main}),expandOpen:W(n5,{size:24}),uncheck:W(o5,{size:24}),expandClose:W(r5,{size:24}),halfCheck:W(a5,{color:p?.palette?.primary?.main,size:24})},nodes:S,onCheck:R,checked:k,expanded:E,onExpand:N,showNodeIcon:!0}):W("div",{style:{width:"100%",textAlign:"center"},children:c})})}function mEe({name:e="",rules:t={},options:n,getOptionValue:r=s=>s.value,defaultValue:o,split:i,...a}){const{control:s,setValue:c}=Gp(),f=Zr(()=>o||null,[o]);bn(()=>{c(e,f)},[f]);const{field:p,fieldState:{error:m}}=qp({control:s,name:e,rules:t,shouldUnregister:!0,defaultValue:f});function b(...y){i&&i?.length>0?(p.onChange(y[1]?.join(i)),a?.onChange?.(y[1]?.join(i))):(p.onChange(y[1]),a?.onChange?.(y[1]))}return wt(no,{children:[W(pg,{...p,...a,value:i&&i?.length>0?p?.value?.split(i):p?.value,error:!!m,multiple:!0,freeSolo:!0,options:n?.map(y=>r(y))??[],onChange:b}),m&&m.message&&W(Ha,{variant:"caption",sx:{color:"red"},children:m.message})]})}var f6={exports:{}};/*! @license DOMPurify 3.0.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.9/LICENSE */(function(e,t){(function(n,r){e.exports=r()})(Ho,function(){const{entries:n,setPrototypeOf:r,isFrozen:o,getPrototypeOf:i,getOwnPropertyDescriptor:a}=Object;let{freeze:s,seal:c,create:f}=Object,{apply:p,construct:m}=typeof Reflect<"u"&&Reflect;s||(s=function(Ce){return Ce}),c||(c=function(Ce){return Ce}),p||(p=function(Ce,Oe,Ue){return Ce.apply(Oe,Ue)}),m||(m=function(Ce,Oe){return new Ce(...Oe)});const b=K(Array.prototype.forEach),y=K(Array.prototype.pop),w=K(Array.prototype.push),S=K(String.prototype.toLowerCase),k=K(String.prototype.toString),T=K(String.prototype.match),E=K(String.prototype.replace),_=K(String.prototype.indexOf),R=K(String.prototype.trim),N=K(Object.prototype.hasOwnProperty),F=K(RegExp.prototype.test),j=Y(TypeError);function K($e){return function(Ce){for(var Oe=arguments.length,Ue=new Array(Oe>1?Oe-1:0),ht=1;ht<Oe;ht++)Ue[ht-1]=arguments[ht];return p($e,Ce,Ue)}}function Y($e){return function(){for(var Ce=arguments.length,Oe=new Array(Ce),Ue=0;Ue<Ce;Ue++)Oe[Ue]=arguments[Ue];return m($e,Oe)}}function J($e,Ce){let Oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:S;r&&r($e,null);let Ue=Ce.length;for(;Ue--;){let ht=Ce[Ue];if(typeof ht=="string"){const Ze=Oe(ht);Ze!==ht&&(o(Ce)||(Ce[Ue]=Ze),ht=Ze)}$e[ht]=!0}return $e}function X($e){for(let Ce=0;Ce<$e.length;Ce++)N($e,Ce)||($e[Ce]=null);return $e}function ne($e){const Ce=f(null);for(const[Oe,Ue]of n($e))N($e,Oe)&&(Array.isArray(Ue)?Ce[Oe]=X(Ue):Ue&&typeof Ue=="object"&&Ue.constructor===Object?Ce[Oe]=ne(Ue):Ce[Oe]=Ue);return Ce}function ie($e,Ce){for(;$e!==null;){const Ue=a($e,Ce);if(Ue){if(Ue.get)return K(Ue.get);if(typeof Ue.value=="function")return K(Ue.value)}$e=i($e)}function Oe(){return null}return Oe}const te=s(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),re=s(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),de=s(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),le=s(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),ce=s(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),ve=s(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),fe=s(["#text"]),Te=s(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Re=s(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),je=s(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ke=s(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),me=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Pe=c(/<%[\w\W]*|[\w\W]*%>/gm),Me=c(/\${[\w\W]*}/gm),_e=c(/^data-[\-\w.\u00B7-\uFFFF]/),Be=c(/^aria-[\-\w]+$/),Le=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ne=c(/^(?:\w+script|data):/i),Ee=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),He=c(/^html$/i);var Ie=Object.freeze({__proto__:null,MUSTACHE_EXPR:me,ERB_EXPR:Pe,TMPLIT_EXPR:Me,DATA_ATTR:_e,ARIA_ATTR:Be,IS_ALLOWED_URI:Le,IS_SCRIPT_OR_DATA:Ne,ATTR_WHITESPACE:Ee,DOCTYPE_NAME:He});const Qe=function(){return typeof window>"u"?null:window},tt=function(Ce,Oe){if(typeof Ce!="object"||typeof Ce.createPolicy!="function")return null;let Ue=null;const ht="data-tt-policy-suffix";Oe&&Oe.hasAttribute(ht)&&(Ue=Oe.getAttribute(ht));const Ze="dompurify"+(Ue?"#"+Ue:"");try{return Ce.createPolicy(Ze,{createHTML(pt){return pt},createScriptURL(pt){return pt}})}catch{return console.warn("TrustedTypes policy "+Ze+" could not be created."),null}};function ot(){let $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe();const Ce=On=>ot(On);if(Ce.version="3.0.9",Ce.removed=[],!$e||!$e.document||$e.document.nodeType!==9)return Ce.isSupported=!1,Ce;let{document:Oe}=$e;const Ue=Oe,ht=Ue.currentScript,{DocumentFragment:Ze,HTMLTemplateElement:pt,Node:ut,Element:Ct,NodeFilter:Je,NamedNodeMap:qe=$e.NamedNodeMap||$e.MozNamedAttrMap,HTMLFormElement:it,DOMParser:yt,trustedTypes:Lt}=$e,Et=Ct.prototype,Mt=ie(Et,"cloneNode"),lt=ie(Et,"nextSibling"),mt=ie(Et,"childNodes"),$t=ie(Et,"parentNode");if(typeof pt=="function"){const On=Oe.createElement("template");On.content&&On.content.ownerDocument&&(Oe=On.content.ownerDocument)}let zt,an="";const{implementation:sn,createNodeIterator:Cn,createDocumentFragment:An,getElementsByTagName:Dn}=Oe,{importNode:Ke}=Ue;let we={};Ce.isSupported=typeof n=="function"&&typeof $t=="function"&&sn&&sn.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:dt,ERB_EXPR:Ye,TMPLIT_EXPR:Ot,DATA_ATTR:Vt,ARIA_ATTR:_t,IS_SCRIPT_OR_DATA:We,ATTR_WHITESPACE:De}=Ie;let{IS_ALLOWED_URI:Ge}=Ie,st=null;const Tt=J({},[...te,...re,...de,...ce,...fe]);let kt=null;const gn=J({},[...Te,...Re,...je,...ke]);let nn=Object.seal(f(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ln=null,Jt=null,ft=!0,Ae=!0,rt=!1,St=!0,Ft=!1,Nt=!1,ae=!1,l=!1,d=!1,h=!1,g=!1,v=!0,x=!1;const C="user-content-";let O=!0,D=!1,I={},L=null;const $=J({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let U=null;const q=J({},["audio","video","img","source","image","track"]);let Q=null;const oe=J({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",P="http://www.w3.org/1999/xhtml";let z=P,Z=!1,ue=null;const be=J({},[he,ye,P],k);let xe=null;const Fe=["application/xhtml+xml","text/html"],Ve="text/html";let at=null,xt=null;const gt=Oe.createElement("form"),Ht=function(ct){return ct instanceof RegExp||ct instanceof Function},Qt=function(){let ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(xt&&xt===ct)){if((!ct||typeof ct!="object")&&(ct={}),ct=ne(ct),xe=Fe.indexOf(ct.PARSER_MEDIA_TYPE)===-1?Ve:ct.PARSER_MEDIA_TYPE,at=xe==="application/xhtml+xml"?k:S,st=N(ct,"ALLOWED_TAGS")?J({},ct.ALLOWED_TAGS,at):Tt,kt=N(ct,"ALLOWED_ATTR")?J({},ct.ALLOWED_ATTR,at):gn,ue=N(ct,"ALLOWED_NAMESPACES")?J({},ct.ALLOWED_NAMESPACES,k):be,Q=N(ct,"ADD_URI_SAFE_ATTR")?J(ne(oe),ct.ADD_URI_SAFE_ATTR,at):oe,U=N(ct,"ADD_DATA_URI_TAGS")?J(ne(q),ct.ADD_DATA_URI_TAGS,at):q,L=N(ct,"FORBID_CONTENTS")?J({},ct.FORBID_CONTENTS,at):$,ln=N(ct,"FORBID_TAGS")?J({},ct.FORBID_TAGS,at):{},Jt=N(ct,"FORBID_ATTR")?J({},ct.FORBID_ATTR,at):{},I=N(ct,"USE_PROFILES")?ct.USE_PROFILES:!1,ft=ct.ALLOW_ARIA_ATTR!==!1,Ae=ct.ALLOW_DATA_ATTR!==!1,rt=ct.ALLOW_UNKNOWN_PROTOCOLS||!1,St=ct.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ft=ct.SAFE_FOR_TEMPLATES||!1,Nt=ct.WHOLE_DOCUMENT||!1,d=ct.RETURN_DOM||!1,h=ct.RETURN_DOM_FRAGMENT||!1,g=ct.RETURN_TRUSTED_TYPE||!1,l=ct.FORCE_BODY||!1,v=ct.SANITIZE_DOM!==!1,x=ct.SANITIZE_NAMED_PROPS||!1,O=ct.KEEP_CONTENT!==!1,D=ct.IN_PLACE||!1,Ge=ct.ALLOWED_URI_REGEXP||Le,z=ct.NAMESPACE||P,nn=ct.CUSTOM_ELEMENT_HANDLING||{},ct.CUSTOM_ELEMENT_HANDLING&&Ht(ct.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(nn.tagNameCheck=ct.CUSTOM_ELEMENT_HANDLING.tagNameCheck),ct.CUSTOM_ELEMENT_HANDLING&&Ht(ct.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(nn.attributeNameCheck=ct.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),ct.CUSTOM_ELEMENT_HANDLING&&typeof ct.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(nn.allowCustomizedBuiltInElements=ct.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ft&&(Ae=!1),h&&(d=!0),I&&(st=J({},fe),kt=[],I.html===!0&&(J(st,te),J(kt,Te)),I.svg===!0&&(J(st,re),J(kt,Re),J(kt,ke)),I.svgFilters===!0&&(J(st,de),J(kt,Re),J(kt,ke)),I.mathMl===!0&&(J(st,ce),J(kt,je),J(kt,ke))),ct.ADD_TAGS&&(st===Tt&&(st=ne(st)),J(st,ct.ADD_TAGS,at)),ct.ADD_ATTR&&(kt===gn&&(kt=ne(kt)),J(kt,ct.ADD_ATTR,at)),ct.ADD_URI_SAFE_ATTR&&J(Q,ct.ADD_URI_SAFE_ATTR,at),ct.FORBID_CONTENTS&&(L===$&&(L=ne(L)),J(L,ct.FORBID_CONTENTS,at)),O&&(st["#text"]=!0),Nt&&J(st,["html","head","body"]),st.table&&(J(st,["tbody"]),delete ln.tbody),ct.TRUSTED_TYPES_POLICY){if(typeof ct.TRUSTED_TYPES_POLICY.createHTML!="function")throw j('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ct.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw j('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');zt=ct.TRUSTED_TYPES_POLICY,an=zt.createHTML("")}else zt===void 0&&(zt=tt(Lt,ht)),zt!==null&&typeof an=="string"&&(an=zt.createHTML(""));s&&s(ct),xt=ct}},rn=J({},["mi","mo","mn","ms","mtext"]),Tn=J({},["foreignobject","desc","title","annotation-xml"]),$n=J({},["title","style","font","a","script"]),Rn=J({},[...re,...de,...le]),Wn=J({},[...ce,...ve]),Gn=function(ct){let Xt=$t(ct);(!Xt||!Xt.tagName)&&(Xt={namespaceURI:z,tagName:"template"});const Pn=S(ct.tagName),Mr=S(Xt.tagName);return ue[ct.namespaceURI]?ct.namespaceURI===ye?Xt.namespaceURI===P?Pn==="svg":Xt.namespaceURI===he?Pn==="svg"&&(Mr==="annotation-xml"||rn[Mr]):!!Rn[Pn]:ct.namespaceURI===he?Xt.namespaceURI===P?Pn==="math":Xt.namespaceURI===ye?Pn==="math"&&Tn[Mr]:!!Wn[Pn]:ct.namespaceURI===P?Xt.namespaceURI===ye&&!Tn[Mr]||Xt.namespaceURI===he&&!rn[Mr]?!1:!Wn[Pn]&&($n[Pn]||!Rn[Pn]):!!(xe==="application/xhtml+xml"&&ue[ct.namespaceURI]):!1},pr=function(ct){w(Ce.removed,{element:ct});try{ct.parentNode.removeChild(ct)}catch{ct.remove()}},Br=function(ct,Xt){try{w(Ce.removed,{attribute:Xt.getAttributeNode(ct),from:Xt})}catch{w(Ce.removed,{attribute:null,from:Xt})}if(Xt.removeAttribute(ct),ct==="is"&&!kt[ct])if(d||h)try{pr(Xt)}catch{}else try{Xt.setAttribute(ct,"")}catch{}},Co=function(ct){let Xt=null,Pn=null;if(l)ct="<remove></remove>"+ct;else{const go=T(ct,/^[\r\n\t ]+/);Pn=go&&go[0]}xe==="application/xhtml+xml"&&z===P&&(ct='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+ct+"</body></html>");const Mr=zt?zt.createHTML(ct):ct;if(z===P)try{Xt=new yt().parseFromString(Mr,xe)}catch{}if(!Xt||!Xt.documentElement){Xt=sn.createDocument(z,"template",null);try{Xt.documentElement.innerHTML=Z?an:Mr}catch{}}const to=Xt.body||Xt.documentElement;return ct&&Pn&&to.insertBefore(Oe.createTextNode(Pn),to.childNodes[0]||null),z===P?Dn.call(Xt,Nt?"html":"body")[0]:Nt?Xt.documentElement:to},Bo=function(ct){return Cn.call(ct.ownerDocument||ct,ct,Je.SHOW_ELEMENT|Je.SHOW_COMMENT|Je.SHOW_TEXT,null)},Wr=function(ct){return ct instanceof it&&(typeof ct.nodeName!="string"||typeof ct.textContent!="string"||typeof ct.removeChild!="function"||!(ct.attributes instanceof qe)||typeof ct.removeAttribute!="function"||typeof ct.setAttribute!="function"||typeof ct.namespaceURI!="string"||typeof ct.insertBefore!="function"||typeof ct.hasChildNodes!="function")},Ur=function(ct){return typeof ut=="function"&&ct instanceof ut},fn=function(ct,Xt,Pn){we[ct]&&b(we[ct],Mr=>{Mr.call(Ce,Xt,Pn,xt)})},Fn=function(ct){let Xt=null;if(fn("beforeSanitizeElements",ct,null),Wr(ct))return pr(ct),!0;const Pn=at(ct.nodeName);if(fn("uponSanitizeElement",ct,{tagName:Pn,allowedTags:st}),ct.hasChildNodes()&&!Ur(ct.firstElementChild)&&F(/<[/\w]/g,ct.innerHTML)&&F(/<[/\w]/g,ct.textContent))return pr(ct),!0;if(!st[Pn]||ln[Pn]){if(!ln[Pn]&&Gr(Pn)&&(nn.tagNameCheck instanceof RegExp&&F(nn.tagNameCheck,Pn)||nn.tagNameCheck instanceof Function&&nn.tagNameCheck(Pn)))return!1;if(O&&!L[Pn]){const Mr=$t(ct)||ct.parentNode,to=mt(ct)||ct.childNodes;if(to&&Mr){const go=to.length;for(let Vo=go-1;Vo>=0;--Vo)Mr.insertBefore(Mt(to[Vo],!0),lt(ct))}}return pr(ct),!0}return ct instanceof Ct&&!Gn(ct)||(Pn==="noscript"||Pn==="noembed"||Pn==="noframes")&&F(/<\/no(script|embed|frames)/i,ct.innerHTML)?(pr(ct),!0):(Ft&&ct.nodeType===3&&(Xt=ct.textContent,b([dt,Ye,Ot],Mr=>{Xt=E(Xt,Mr," ")}),ct.textContent!==Xt&&(w(Ce.removed,{element:ct.cloneNode()}),ct.textContent=Xt)),fn("afterSanitizeElements",ct,null),!1)},Vr=function(ct,Xt,Pn){if(v&&(Xt==="id"||Xt==="name")&&(Pn in Oe||Pn in gt))return!1;if(!(Ae&&!Jt[Xt]&&F(Vt,Xt))){if(!(ft&&F(_t,Xt))){if(!kt[Xt]||Jt[Xt]){if(!(Gr(ct)&&(nn.tagNameCheck instanceof RegExp&&F(nn.tagNameCheck,ct)||nn.tagNameCheck instanceof Function&&nn.tagNameCheck(ct))&&(nn.attributeNameCheck instanceof RegExp&&F(nn.attributeNameCheck,Xt)||nn.attributeNameCheck instanceof Function&&nn.attributeNameCheck(Xt))||Xt==="is"&&nn.allowCustomizedBuiltInElements&&(nn.tagNameCheck instanceof RegExp&&F(nn.tagNameCheck,Pn)||nn.tagNameCheck instanceof Function&&nn.tagNameCheck(Pn))))return!1}else if(!Q[Xt]){if(!F(Ge,E(Pn,De,""))){if(!((Xt==="src"||Xt==="xlink:href"||Xt==="href")&&ct!=="script"&&_(Pn,"data:")===0&&U[ct])){if(!(rt&&!F(We,E(Pn,De,"")))){if(Pn)return!1}}}}}}return!0},Gr=function(ct){return ct!=="annotation-xml"&&ct.indexOf("-")>0},jr=function(ct){fn("beforeSanitizeAttributes",ct,null);const{attributes:Xt}=ct;if(!Xt)return;const Pn={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:kt};let Mr=Xt.length;for(;Mr--;){const to=Xt[Mr],{name:go,namespaceURI:Vo,value:sa}=to,is=at(go);let Go=go==="value"?sa:R(sa);if(Pn.attrName=is,Pn.attrValue=Go,Pn.keepAttr=!0,Pn.forceKeepAttr=void 0,fn("uponSanitizeAttribute",ct,Pn),Go=Pn.attrValue,Pn.forceKeepAttr||(Br(go,ct),!Pn.keepAttr))continue;if(!St&&F(/\/>/i,Go)){Br(go,ct);continue}Ft&&b([dt,Ye,Ot],af=>{Go=E(Go,af," ")});const of=at(ct.nodeName);if(Vr(of,is,Go)){if(x&&(is==="id"||is==="name")&&(Br(go,ct),Go=C+Go),zt&&typeof Lt=="object"&&typeof Lt.getAttributeType=="function"&&!Vo)switch(Lt.getAttributeType(of,is)){case"TrustedHTML":{Go=zt.createHTML(Go);break}case"TrustedScriptURL":{Go=zt.createScriptURL(Go);break}}try{Vo?ct.setAttributeNS(Vo,go,Go):ct.setAttribute(go,Go),y(Ce.removed)}catch{}}}fn("afterSanitizeAttributes",ct,null)},Fs=function On(ct){let Xt=null;const Pn=Bo(ct);for(fn("beforeSanitizeShadowDOM",ct,null);Xt=Pn.nextNode();)fn("uponSanitizeShadowNode",Xt,null),!Fn(Xt)&&(Xt.content instanceof Ze&&On(Xt.content),jr(Xt));fn("afterSanitizeShadowDOM",ct,null)};return Ce.sanitize=function(On){let ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Xt=null,Pn=null,Mr=null,to=null;if(Z=!On,Z&&(On="<!-->"),typeof On!="string"&&!Ur(On))if(typeof On.toString=="function"){if(On=On.toString(),typeof On!="string")throw j("dirty is not a string, aborting")}else throw j("toString is not a function");if(!Ce.isSupported)return On;if(ae||Qt(ct),Ce.removed=[],typeof On=="string"&&(D=!1),D){if(On.nodeName){const sa=at(On.nodeName);if(!st[sa]||ln[sa])throw j("root node is forbidden and cannot be sanitized in-place")}}else if(On instanceof ut)Xt=Co("<!---->"),Pn=Xt.ownerDocument.importNode(On,!0),Pn.nodeType===1&&Pn.nodeName==="BODY"||Pn.nodeName==="HTML"?Xt=Pn:Xt.appendChild(Pn);else{if(!d&&!Ft&&!Nt&&On.indexOf("<")===-1)return zt&&g?zt.createHTML(On):On;if(Xt=Co(On),!Xt)return d?null:g?an:""}Xt&&l&&pr(Xt.firstChild);const go=Bo(D?On:Xt);for(;Mr=go.nextNode();)Fn(Mr)||(Mr.content instanceof Ze&&Fs(Mr.content),jr(Mr));if(D)return On;if(d){if(h)for(to=An.call(Xt.ownerDocument);Xt.firstChild;)to.appendChild(Xt.firstChild);else to=Xt;return(kt.shadowroot||kt.shadowrootmode)&&(to=Ke.call(Ue,to,!0)),to}let Vo=Nt?Xt.outerHTML:Xt.innerHTML;return Nt&&st["!doctype"]&&Xt.ownerDocument&&Xt.ownerDocument.doctype&&Xt.ownerDocument.doctype.name&&F(He,Xt.ownerDocument.doctype.name)&&(Vo="<!DOCTYPE "+Xt.ownerDocument.doctype.name+`>
|
|
561
|
-
`+Vo),Ft&&b([dt,Ye,Ot],sa=>{Vo=E(Vo,sa," ")}),zt&&g?zt.createHTML(Vo):Vo},Ce.setConfig=function(){let On=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Qt(On),ae=!0},Ce.clearConfig=function(){xt=null,ae=!1},Ce.isValidAttribute=function(On,ct,Xt){xt||Qt({});const Pn=at(On),Mr=at(ct);return Vr(Pn,Mr,Xt)},Ce.addHook=function(On,ct){typeof ct=="function"&&(we[On]=we[On]||[],w(we[On],ct))},Ce.removeHook=function(On){if(we[On])return y(we[On])},Ce.removeHooks=function(On){we[On]&&(we[On]=[])},Ce.removeAllHooks=function(){we={}},Ce}var ze=ot();return ze})})(f6);var gEe=f6.exports,L2=fo(gEe);const vEe=(e,t)=>{if(!e)return e;switch(t.type){case"string":return bEe(e,t);case"number":return xEe(e,t);case"date":return wEe(e,t);case"time":return SEe(e,t);case"date-time":return CEe(e,t);case"boolean":return kEe(e);case"html":return EEe(e,t);default:return e}},bEe=(e,t)=>t.maxLength&&typeof t.maxLength!="number"?e:yEe(String(e),t.maxLength),yEe=(e,t)=>t&&e.length>t?W(no,{children:e.substring(0,t)+" ..."}):W(no,{children:e}),xEe=(e,t)=>{switch(t.typeNumber){case"int":return parseInt(String(e));case"float":return parseFloat(String(e));case"cost":{if(Number.isNaN(parseFloat(String(e))))return e;const n=String(e),[r,o]=n.split("."),i=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return o?`${i}.${o}`:i}default:return parseFloat(e)}},wEe=(e,t)=>{if(typeof e!="string")return console.error("Kdpa Typography error: Date value is not a string"),e;const n=new Date(e);if(isNaN(n.getTime()))return console.error("Kdpa Typography error: Date value is not a valid date (new Date)"),e;const r=localStorage.getItem("i18nextLng")??"fa",o=t.loc||r,i={fa:"YYYY/MM/DD",en:"YYYY-MM-DD",ar:"YYYY/MM/DD"},a=t.format||(i[o]??"YYYY/MM/DD");let s;try{s=Z0(n).locale(o).format(a)}catch{return console.error("Kdpa Typography error: Date value is not a valid date (jalali moment)"),e}return s},SEe=(e,t)=>{if(typeof e!="string")return console.error("Kdpa Typography error: Time value is not a string"),e;const n=new Date(e);if(isNaN(n.getTime()))return console.error("Kdpa Typography error: Time value is not a valid date (new Date)"),e;const r=localStorage.getItem("i18nextLng")??"fa",o=t.loc||r,i={fa:"HH:mm:ss",en:"hh:mm:ss a",ar:"hh:mm:ss a"},a=t.formatTime||(i[o]??"HH:mm:ss");let s;try{s=Z0(n).locale(o).format(a)}catch{return console.error("Kdpa Typography error: Time value is not a valid date (jalali moment)"),e}return s},CEe=(e,t)=>{if(typeof e!="string")return console.error("Kdpa Typography error: Date Time value is not a string"),e;const n=new Date(e);if(isNaN(n.getTime()))return console.error("Kdpa Typography error: Date Time value is not a valid date (new Date)"),e;const r=localStorage.getItem("i18nextLng")??"fa",o=t.loc||r,i={fa:"YYYY/MM/DD HH:mm:ss",en:"YYYY-MM-DD hh:mm:ss a",ar:"YYYY/MM/DD hh:mm:ss a"},a=t.formatDateTime||(i[o]??"YYYY/MM/DD HH:mm:ss");let s;try{s=Z0(n).locale(o).format(a)}catch{return console.error("Kdpa Typography error: Date Time value is not a valid date (jalali moment)"),e}return s},kEe=e=>e?"true":"false",EEe=(e,t)=>{if(typeof e!="string")return e;const n=L2.sanitize(e,{USE_PROFILES:{html:!0}});return W("div",{dangerouslySetInnerHTML:{__html:t.ignoreTags?n:e}})},TEe=({type:e="string",...t})=>{const n={type:e,maxLength:t.maxLength,typeNumber:t.typeNumber,format:t.format,formatTime:t.formatTime,formatDateTime:t.formatDateTime,loc:t.loc,ignoreTags:t.ignoreTags??!0};return W(Ha,{...t,children:vEe(t.children,n)})};function OEe(e,t){if(t){let n=[];return e.image&&(e.image==="ALL"?n=n.concat(t.image):n=n.concat(e?.image?.filter(r=>t?.image?.includes(r)))),e.video&&(e.video==="ALL"?n=n.concat(t.video):n=n.concat(e?.video?.filter(r=>t?.video?.includes(r)))),e.text&&(e.text==="ALL"?n=n.concat(t.text):n=n.concat(e?.text?.filter(r=>t?.text?.includes(r)))),e.compress&&(e.compress==="ALL"?n=n.concat(t.compress):n=n.concat(e?.compress?.filter(r=>t?.compress?.includes(r)))),n.map(r=>`.${r}`).join(",")}else return"*"}const Ka={image:["jpg","jpeg","gif","png","svg","ico"],font:["ttf","eot","woff","woff2"],text:["doc","pdf","xls","ppt","txt","htm","docx","bmp","xlsx","pptx","tif","xml","epub","bpmn","cmmn","csv"],video:["mp4","wmv","mpg","divx","div","tix","qt","mov","avi","mpa","mpe","m1v","bmp"],compress:["zip","rar","tar","gz","tar.gz","tar.xz"]};function h6(e,t){return{thumbnail_URL:t?.[0]==="$"?`${e}${hl.upload}${Sd.thumbnailTempPath}${t}`:`${e}${hl.upload}${Sd.thumbnailstreamPath}${t}`,larg_URL:t?.[0]==="$"?`${e}${hl.upload}${Sd.tempPath}${t}`:`${e}${hl.upload}${Sd.streamPath}${t}`}}async function p6(e,t,n){if(!t||t.length===0)return[];try{const r={method:"GET",headers:{sessionId:n??""},credentials:"include"};return(await(await fetch(`${e}${hl.upload}${t?.[0]?.[0]==="$"?Sd.restTempUrlFileProperty:Sd.restStreamUrlFileProperty}${t.join(",")}`,r)).json())?.data}catch(r){return console.error("Error:",r),[]}}const hl={upload:"/upload/rest"},Sd={streamPath:"/api/v1/fileupload/download/stream/",thumbnailstreamPath:"/api/v1/fileupload/thumbnail/stream/",tempPath:"/api/v1/fileupload/download/temp/",thumbnailTempPath:"/api/v1/fileupload/thumbnail/temp/",restStreamUrlFileProperty:"/api/v1/fileupload/property/stream/",restTempUrlFileProperty:"/api/v1/fileupload/property/temp/",exportPath:"/api/v1/export/download/"},Jx={pathFileUpload:"/api/v1/FileUpload/",pathForUploadCunk:"/api/v1/FileUpload/upload/session/",pathForGetFile:"/api/v1/FileUpload/upload/"},MEe="/auth/api/v1/bpmsCaptcha/image?rnd=";function PEe({label:e,defaultValue:t,placeholder:n,multiple:r=!1,accept:o,fileCountLimit:i,fileSizeLimit:a,onError:s,pathProp:c,inputStyle:f,style:p,required:m,...b}){const{files:y,removeFile:w,uploadingFiles:S,handleFileChange:k,fileExtension:T,APIURL:E}=GP({multiple:r,APIURL:c?.APIURL,sessionId:c?.sessionId,onError:s,fileSizeLimit:a,fileCountLimit:i}),[_,R]=_n([]);bn(()=>{(async()=>{if(t){const j=Array.isArray(t)?[...t]:[t],K=await p6(E,j,c?.sessionId);R(j.map(Y=>({fileName:(K??[]).find(J=>J.guid===Y)?.fileName,session:Y})))}else R([])})()},[t]),bn(()=>{y&&(r?R(F=>[...F,...y.filter(j=>!_.find(K=>K.session===j.session)).map(j=>({fileName:j.fileName,session:j.session}))??[]]):y.length>0&&R([{fileName:y[0]?.fileName,session:y[0]?.session}]))},[y]),bn(()=>{b.onChange&&(r?b.onChange((_??[]).map(F=>F.session)):_.length>0?b.onChange(_[_.length-1]?.session):b.onChange())},[_]);const N=F=>{R(j=>j.filter(K=>K.session!==F)),y?.find(j=>j.session===F)&&w&&w(F)};return wt("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"10px",alignItems:"center",width:"100%",...p},children:[wt(Ha,{children:[e," ",m&&"*"]}),W("label",{htmlFor:`icon-button-file-${b.name}`,children:wt(mg,{component:"span",style:{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",gap:"5px",...f},children:[W(c6,{}),n]})}),W("input",{style:{display:"none"},accept:T&&o?OEe(o,T):"*",id:`icon-button-file-${b.name}`,type:"file",multiple:r,onChange:F=>{k(F,o)}}),W("input",{type:"hidden",...b,value:_?.map(F=>F.session)}),_&&_.map(F=>{const j=h6(E,F.session);return W(I2,{sessionId:F?.session,smallUrl:j.thumbnail_URL,mediumUrl:j.thumbnail_URL,largeUrl:j.larg_URL,fileName:F?.fileName,onDelete:N})}),S&&(r||_.length===0)&&S.map(F=>W(R2,{progress:F.progress}))]})}function AEe(e,t){if(t){const n={};return e.image&&(e.image==="ALL"?n["image/*"]=t.image.map(r=>`.${r}`):e.image.forEach(r=>{t?.image?.includes(r)&&(n["image/"+r]=["."+r])})),e.video&&(e.video==="ALL"?n["video/*"]=t.video.map(r=>`.${r}`):e.video.forEach(r=>{t?.video?.includes(r)&&(n["video/"+r]=["."+r])})),e.text&&(e.text==="ALL"?n["text/*"]=t.text.map(r=>`.${r}`):e.text.forEach(r=>{t?.text?.includes(r)&&(n["text/"+r]=["."+r])})),e.compress&&(e.compress==="ALL"?n["text/*"]=[...n["text/*"]??[],...t.compress.map(r=>`.${r}`)??[]]:e.compress.forEach(r=>{t?.compress?.includes(r)&&(n["text/"+r]=["."+r])})),n}else return"*"}const DEe=({label:e="\u0641\u0627\u06CC\u0644(\u0647\u0627) \u0631\u0627 \u062F\u0631 \u0627\u06CC\u0646 \u062C\u0639\u0628\u0647 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F\u060C \u06CC\u0627 \u0631\u0648\u06CC \u062C\u0639\u0628\u0647 \u06A9\u0644\u06CC\u06A9 \u06A9\u0646\u06CC\u062F",defaultValue:t,multiple:n=!1,accept:r,fileCountLimit:o=20,fileSizeLimit:i,onError:a,required:s,pathProp:c,...f})=>{const{files:p,removeFile:m,uploadingFiles:b,handleFileChange:y,fileExtension:w,APIURL:S}=GP({multiple:n,APIURL:c?.APIURL,sessionId:c?.sessionId,onError:a,fileSizeLimit:i,fileCountLimit:o}),[k,T]=_n([]);bn(()=>{(async()=>{if(t){const X=Array.isArray(t)?[...t]:[t],ne=await p6(S,X,c?.sessionId);T(X.map(ie=>({fileName:(ne??[]).find(te=>te.guid===ie)?.fileName,session:ie})))}else T([])})()},[t]),bn(()=>{p&&(n?T(J=>[...J,...p.filter(X=>!k.find(ne=>ne.session===X.session)).map(X=>({fileName:X.fileName,session:X.session}))??[]]):p.length>0&&T([{fileName:p[0]?.fileName,session:p[0]?.session}]))},[p]),bn(()=>{f.onChange&&(n?f.onChange((k??[]).map(J=>J.session)):k.length>0?f.onChange(k[k.length-1].session):f.onChange())},[k]);const E=Zn(J=>{const X={target:{files:J}};if(J.length+k.length>o){a?.(`\u062D\u062F\u0627\u06A9\u062B\u0631 ${o} \u0641\u0627\u06CC\u0644 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F.`);return}else y(X,r)},[k]),_=J=>{T(X=>X.filter(ne=>ne.session!==J)),p?.find(X=>X.session===J)&&m&&m(J)},{getRootProps:R,getInputProps:N,isDragAccept:F,isDragReject:j,open:K,inputRef:Y}=mT({onDropAccepted:E,accept:r?AEe(r,w??null):void 0,maxFiles:9999,noClick:!0,multiple:n});return bn(()=>{if(!Y.current)return;const J=async X=>{const ne=X.clipboardData?.files;ne&&ne.length>0&&Y.current&&(Y.current.files=ne,Y.current.dispatchEvent(new Event("change",{bubbles:!0})))};return document.addEventListener("paste",J),()=>{document.removeEventListener("paste",J)}},[Y]),W(Ni,{children:wt(Ni,{component:"section",sx:{mb:1,border:2,borderStyle:"dashed",borderRadius:3,borderColor:J=>J.palette.primary.main,transition:"all 0.3s ease-in-ease-out",...F&&{borderColor:J=>J.palette.success.main},...F&&{bgcolor:J=>J.palette.success.light},...j&&{borderColor:J=>J.palette.warning.main},...j&&{bgcolor:J=>J.palette.warning.light},...f.sx},...R(),children:[W("input",{...N()}),wt(Ni,{sx:{p:2,display:"flex",flexDirection:"column",justifyContent:"center"},children:[wt(Ha,{sx:{display:"flex",justifyContent:"center"},children:[e," ",s&&"*"]}),W(Ni,{sx:{display:"flex",justifyContent:"center"},children:W(za,{sx:{color:J=>J.palette.primary.main,...F&&{color:J=>J.palette.success.main},...j&&{color:J=>J.palette.warning.main}},onClick:K,children:W(s5,{size:45})})}),W(aT,{in:k?.length!==0||b?.length!==0,children:wt("div",{style:{display:"flex",flexDirection:"row",gap:"10px",flexWrap:"wrap"},children:[k&&k.map(J=>{const X=h6(S,J.session);return W(I2,{sessionId:J.session,smallUrl:X.thumbnail_URL,mediumUrl:X.thumbnail_URL,largeUrl:X.larg_URL,fileName:J.fileName,onDelete:_})}),b&&(n||k.length===0)&&b.map(J=>W(R2,{progress:J.progress}))]})})]})]})})};function _Ee(e,t,n,r){const o=Array.from(new Set(e.map(s=>s[t])));return o.length===1&&o[0]===void 0?{series:[],uniqueCategoryArray:[]}:{series:Array.from(new Set(e.map(s=>s[n]))).map(s=>({name:s,data:o.map(c=>{const f=e.find(p=>p[n]===s&&p[t]===c);return f&&!Number.isNaN(parseInt(f[r]))?parseInt(f[r]):0})})),uniqueCategoryArray:o}}var m6={},$2={exports:{}};/*!
|
|
561
|
+
`+Vo),Ft&&b([dt,Ye,Ot],sa=>{Vo=E(Vo,sa," ")}),zt&&g?zt.createHTML(Vo):Vo},Ce.setConfig=function(){let On=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Qt(On),ae=!0},Ce.clearConfig=function(){xt=null,ae=!1},Ce.isValidAttribute=function(On,ct,Xt){xt||Qt({});const Pn=at(On),Mr=at(ct);return Vr(Pn,Mr,Xt)},Ce.addHook=function(On,ct){typeof ct=="function"&&(we[On]=we[On]||[],w(we[On],ct))},Ce.removeHook=function(On){if(we[On])return y(we[On])},Ce.removeHooks=function(On){we[On]&&(we[On]=[])},Ce.removeAllHooks=function(){we={}},Ce}var ze=ot();return ze})})(f6);var gEe=f6.exports,L2=fo(gEe);const vEe=(e,t)=>{if(!e)return e;switch(t.type){case"string":return bEe(e,t);case"number":return xEe(e,t);case"date":return wEe(e,t);case"time":return SEe(e,t);case"date-time":return CEe(e,t);case"boolean":return kEe(e);case"html":return EEe(e,t);default:return e}},bEe=(e,t)=>t.maxLength&&typeof t.maxLength!="number"?e:yEe(String(e),t.maxLength),yEe=(e,t)=>t&&e.length>t?W(no,{children:e.substring(0,t)+" ..."}):W(no,{children:e}),xEe=(e,t)=>{switch(t.typeNumber){case"int":return parseInt(String(e));case"float":return parseFloat(String(e));case"cost":{if(Number.isNaN(parseFloat(String(e))))return e;const n=String(e),[r,o]=n.split("."),i=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return o?`${i}.${o}`:i}default:return parseFloat(e)}},wEe=(e,t)=>{if(typeof e!="string")return console.error("Kdpa Typography error: Date value is not a string"),e;const n=new Date(e);if(isNaN(n.getTime()))return console.error("Kdpa Typography error: Date value is not a valid date (new Date)"),e;const r=localStorage.getItem("i18nextLng")??"fa",o=t.loc||r,i={fa:"YYYY/MM/DD",en:"YYYY-MM-DD",ar:"YYYY/MM/DD"},a=t.format||(i[o]??"YYYY/MM/DD");let s;try{s=Z0(n).locale(o).format(a)}catch{return console.error("Kdpa Typography error: Date value is not a valid date (jalali moment)"),e}return s},SEe=(e,t)=>{if(typeof e!="string")return console.error("Kdpa Typography error: Time value is not a string"),e;const n=new Date(e);if(isNaN(n.getTime()))return console.error("Kdpa Typography error: Time value is not a valid date (new Date)"),e;const r=localStorage.getItem("i18nextLng")??"fa",o=t.loc||r,i={fa:"HH:mm:ss",en:"hh:mm:ss a",ar:"hh:mm:ss a"},a=t.formatTime||(i[o]??"HH:mm:ss");let s;try{s=Z0(n).locale(o).format(a)}catch{return console.error("Kdpa Typography error: Time value is not a valid date (jalali moment)"),e}return s},CEe=(e,t)=>{if(typeof e!="string")return console.error("Kdpa Typography error: Date Time value is not a string"),e;const n=new Date(e);if(isNaN(n.getTime()))return console.error("Kdpa Typography error: Date Time value is not a valid date (new Date)"),e;const r=localStorage.getItem("i18nextLng")??"fa",o=t.loc||r,i={fa:"YYYY/MM/DD HH:mm:ss",en:"YYYY-MM-DD hh:mm:ss a",ar:"YYYY/MM/DD hh:mm:ss a"},a=t.formatDateTime||(i[o]??"YYYY/MM/DD HH:mm:ss");let s;try{s=Z0(n).locale(o).format(a)}catch{return console.error("Kdpa Typography error: Date Time value is not a valid date (jalali moment)"),e}return s},kEe=e=>e?"true":"false",EEe=(e,t)=>{if(typeof e!="string")return e;const n=L2.sanitize(e,{USE_PROFILES:{html:!0}});return W("div",{dangerouslySetInnerHTML:{__html:t.ignoreTags?n:e}})},TEe=({type:e="string",...t})=>{const n={type:e,maxLength:t.maxLength,typeNumber:t.typeNumber,format:t.format,formatTime:t.formatTime,formatDateTime:t.formatDateTime,loc:t.loc,ignoreTags:t.ignoreTags??!0};return W(Ha,{...t,children:vEe(t.children,n)})};function OEe(e,t){if(t){let n=[];return e.image&&(e.image==="ALL"?n=n.concat(t.image):n=n.concat(e?.image?.filter(r=>t?.image?.includes(r)))),e.video&&(e.video==="ALL"?n=n.concat(t.video):n=n.concat(e?.video?.filter(r=>t?.video?.includes(r)))),e.text&&(e.text==="ALL"?n=n.concat(t.text):n=n.concat(e?.text?.filter(r=>t?.text?.includes(r)))),e.compress&&(e.compress==="ALL"?n=n.concat(t.compress):n=n.concat(e?.compress?.filter(r=>t?.compress?.includes(r)))),n.map(r=>`.${r}`).join(",")}else return"*"}const Ka={image:["jpg","jpeg","gif","png","svg","ico"],font:["ttf","eot","woff","woff2"],text:["doc","pdf","xls","ppt","txt","htm","docx","bmp","xlsx","pptx","tif","xml","epub","bpmn","cmmn","csv"],video:["mp4","wmv","mpg","divx","div","tix","qt","mov","avi","mpa","mpe","m1v","bmp"],compress:["zip","rar","tar","gz","tar.gz","tar.xz"]};function h6(e,t){return{thumbnail_URL:t?.[0]==="$"?`${e}${hl.upload}${Sd.thumbnailTempPath}${t}`:`${e}${hl.upload}${Sd.thumbnailstreamPath}${t}`,larg_URL:t?.[0]==="$"?`${e}${hl.upload}${Sd.tempPath}${t}`:`${e}${hl.upload}${Sd.streamPath}${t}`}}async function p6(e,t,n){if(!t||t.length===0)return[];try{const r={method:"GET",headers:{sessionId:n??""},credentials:"include"};return(await(await fetch(`${e}${hl.upload}${t?.[0]?.[0]==="$"?Sd.restTempUrlFileProperty:Sd.restStreamUrlFileProperty}${t.join(",")}`,r)).json())?.data}catch(r){return console.error("Error:",r),[]}}const hl={upload:"/upload/rest"},Sd={streamPath:"/api/v1/fileupload/download/stream/",thumbnailstreamPath:"/api/v1/fileupload/thumbnail/stream/",tempPath:"/api/v1/fileupload/download/temp/",thumbnailTempPath:"/api/v1/fileupload/thumbnail/temp/",restStreamUrlFileProperty:"/api/v1/fileupload/property/stream/",restTempUrlFileProperty:"/api/v1/fileupload/property/temp/",exportPath:"/api/v1/export/download/"},Jx={pathFileUpload:"/api/v1/fileUpload/",pathForUploadCunk:"/api/v1/fileUpload/upload/session/",pathForGetFile:"/api/v1/fileUpload/upload/"},MEe="/auth/api/v1/bpmsCaptcha/image?rnd=";function PEe({label:e,defaultValue:t,placeholder:n,multiple:r=!1,accept:o,fileCountLimit:i,fileSizeLimit:a,onError:s,pathProp:c,inputStyle:f,style:p,required:m,...b}){const{files:y,removeFile:w,uploadingFiles:S,handleFileChange:k,fileExtension:T,APIURL:E}=GP({multiple:r,APIURL:c?.APIURL,sessionId:c?.sessionId,onError:s,fileSizeLimit:a,fileCountLimit:i}),[_,R]=_n([]);bn(()=>{(async()=>{if(t){const j=Array.isArray(t)?[...t]:[t],K=await p6(E,j,c?.sessionId);R(j.map(Y=>({fileName:(K??[]).find(J=>J.guid===Y)?.fileName,session:Y})))}else R([])})()},[t]),bn(()=>{y&&(r?R(F=>[...F,...y.filter(j=>!_.find(K=>K.session===j.session)).map(j=>({fileName:j.fileName,session:j.session}))??[]]):y.length>0&&R([{fileName:y[0]?.fileName,session:y[0]?.session}]))},[y]),bn(()=>{b.onChange&&(r?b.onChange((_??[]).map(F=>F.session)):_.length>0?b.onChange(_[_.length-1]?.session):b.onChange())},[_]);const N=F=>{R(j=>j.filter(K=>K.session!==F)),y?.find(j=>j.session===F)&&w&&w(F)};return wt("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"10px",alignItems:"center",width:"100%",...p},children:[wt(Ha,{children:[e," ",m&&"*"]}),W("label",{htmlFor:`icon-button-file-${b.name}`,children:wt(mg,{component:"span",style:{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",gap:"5px",...f},children:[W(c6,{}),n]})}),W("input",{style:{display:"none"},accept:T&&o?OEe(o,T):"*",id:`icon-button-file-${b.name}`,type:"file",multiple:r,onChange:F=>{k(F,o)}}),W("input",{type:"hidden",...b,value:_?.map(F=>F.session)}),_&&_.map(F=>{const j=h6(E,F.session);return W(I2,{sessionId:F?.session,smallUrl:j.thumbnail_URL,mediumUrl:j.thumbnail_URL,largeUrl:j.larg_URL,fileName:F?.fileName,onDelete:N})}),S&&(r||_.length===0)&&S.map(F=>W(R2,{progress:F.progress}))]})}function AEe(e,t){if(t){const n={};return e.image&&(e.image==="ALL"?n["image/*"]=t.image.map(r=>`.${r}`):e.image.forEach(r=>{t?.image?.includes(r)&&(n["image/"+r]=["."+r])})),e.video&&(e.video==="ALL"?n["video/*"]=t.video.map(r=>`.${r}`):e.video.forEach(r=>{t?.video?.includes(r)&&(n["video/"+r]=["."+r])})),e.text&&(e.text==="ALL"?n["text/*"]=t.text.map(r=>`.${r}`):e.text.forEach(r=>{t?.text?.includes(r)&&(n["text/"+r]=["."+r])})),e.compress&&(e.compress==="ALL"?n["text/*"]=[...n["text/*"]??[],...t.compress.map(r=>`.${r}`)??[]]:e.compress.forEach(r=>{t?.compress?.includes(r)&&(n["text/"+r]=["."+r])})),n}else return"*"}const DEe=({label:e="\u0641\u0627\u06CC\u0644(\u0647\u0627) \u0631\u0627 \u062F\u0631 \u0627\u06CC\u0646 \u062C\u0639\u0628\u0647 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F\u060C \u06CC\u0627 \u0631\u0648\u06CC \u062C\u0639\u0628\u0647 \u06A9\u0644\u06CC\u06A9 \u06A9\u0646\u06CC\u062F",defaultValue:t,multiple:n=!1,accept:r,fileCountLimit:o=20,fileSizeLimit:i,onError:a,required:s,pathProp:c,...f})=>{const{files:p,removeFile:m,uploadingFiles:b,handleFileChange:y,fileExtension:w,APIURL:S}=GP({multiple:n,APIURL:c?.APIURL,sessionId:c?.sessionId,onError:a,fileSizeLimit:i,fileCountLimit:o}),[k,T]=_n([]);bn(()=>{(async()=>{if(t){const X=Array.isArray(t)?[...t]:[t],ne=await p6(S,X,c?.sessionId);T(X.map(ie=>({fileName:(ne??[]).find(te=>te.guid===ie)?.fileName,session:ie})))}else T([])})()},[t]),bn(()=>{p&&(n?T(J=>[...J,...p.filter(X=>!k.find(ne=>ne.session===X.session)).map(X=>({fileName:X.fileName,session:X.session}))??[]]):p.length>0&&T([{fileName:p[0]?.fileName,session:p[0]?.session}]))},[p]),bn(()=>{f.onChange&&(n?f.onChange((k??[]).map(J=>J.session)):k.length>0?f.onChange(k[k.length-1].session):f.onChange())},[k]);const E=Zn(J=>{const X={target:{files:J}};if(J.length+k.length>o){a?.(`\u062D\u062F\u0627\u06A9\u062B\u0631 ${o} \u0641\u0627\u06CC\u0644 \u0645\u06CC\u200C\u062A\u0648\u0627\u0646\u06CC\u062F \u0628\u0627\u0631\u06AF\u0630\u0627\u0631\u06CC \u06A9\u0646\u06CC\u062F.`);return}else y(X,r)},[k]),_=J=>{T(X=>X.filter(ne=>ne.session!==J)),p?.find(X=>X.session===J)&&m&&m(J)},{getRootProps:R,getInputProps:N,isDragAccept:F,isDragReject:j,open:K,inputRef:Y}=mT({onDropAccepted:E,accept:r?AEe(r,w??null):void 0,maxFiles:9999,noClick:!0,multiple:n});return bn(()=>{if(!Y.current)return;const J=async X=>{const ne=X.clipboardData?.files;ne&&ne.length>0&&Y.current&&(Y.current.files=ne,Y.current.dispatchEvent(new Event("change",{bubbles:!0})))};return document.addEventListener("paste",J),()=>{document.removeEventListener("paste",J)}},[Y]),W(Ni,{children:wt(Ni,{component:"section",sx:{mb:1,border:2,borderStyle:"dashed",borderRadius:3,borderColor:J=>J.palette.primary.main,transition:"all 0.3s ease-in-ease-out",...F&&{borderColor:J=>J.palette.success.main},...F&&{bgcolor:J=>J.palette.success.light},...j&&{borderColor:J=>J.palette.warning.main},...j&&{bgcolor:J=>J.palette.warning.light},...f.sx},...R(),children:[W("input",{...N()}),wt(Ni,{sx:{p:2,display:"flex",flexDirection:"column",justifyContent:"center"},children:[wt(Ha,{sx:{display:"flex",justifyContent:"center"},children:[e," ",s&&"*"]}),W(Ni,{sx:{display:"flex",justifyContent:"center"},children:W(za,{sx:{color:J=>J.palette.primary.main,...F&&{color:J=>J.palette.success.main},...j&&{color:J=>J.palette.warning.main}},onClick:K,children:W(s5,{size:45})})}),W(aT,{in:k?.length!==0||b?.length!==0,children:wt("div",{style:{display:"flex",flexDirection:"row",gap:"10px",flexWrap:"wrap"},children:[k&&k.map(J=>{const X=h6(S,J.session);return W(I2,{sessionId:J.session,smallUrl:X.thumbnail_URL,mediumUrl:X.thumbnail_URL,largeUrl:X.larg_URL,fileName:J.fileName,onDelete:_})}),b&&(n||k.length===0)&&b.map(J=>W(R2,{progress:J.progress}))]})})]})]})})};function _Ee(e,t,n,r){const o=Array.from(new Set(e.map(s=>s[t])));return o.length===1&&o[0]===void 0?{series:[],uniqueCategoryArray:[]}:{series:Array.from(new Set(e.map(s=>s[n]))).map(s=>({name:s,data:o.map(c=>{const f=e.find(p=>p[n]===s&&p[t]===c);return f&&!Number.isNaN(parseInt(f[r]))?parseInt(f[r]):0})})),uniqueCategoryArray:o}}var m6={},$2={exports:{}};/*!
|
|
562
562
|
* ApexCharts v3.46.0
|
|
563
563
|
* (c) 2018-2024 ApexCharts
|
|
564
564
|
* Released under the MIT License.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./kdpaAdvancedList.scss";
|
|
2
|
+
interface KdpaAdvancedListProps {
|
|
3
|
+
components: any;
|
|
4
|
+
pagination: any;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
selection: any;
|
|
7
|
+
ordering: any;
|
|
8
|
+
columns: any;
|
|
9
|
+
rows: any;
|
|
10
|
+
}
|
|
11
|
+
declare const KdpaAdvancedList: ({ components, pagination, selection, ordering, loading, columns, rows, ...rest }: KdpaAdvancedListProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default KdpaAdvancedList;
|
|
13
|
+
//# sourceMappingURL=KdpaAdvancedList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaAdvancedList.d.ts","sourceRoot":"","sources":["../../../../src/components/AdvancedList/KdpaAdvancedList.tsx"],"names":[],"mappings":"AAOA,OAAO,yBAAyB,CAAC;AAsCjC,UAAU,qBAAqB;IAC7B,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,GAAG,CAAC;IACf,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,GAAG,CAAC;CACX;AAED,QAAA,MAAM,gBAAgB,qFASnB,qBAAqB,4CAoEvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import KdpaAdvancedList from "./KdpaAdvancedList";
|
|
3
|
+
declare const meta: Meta<typeof KdpaAdvancedList>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof KdpaAdvancedList>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=KdpaAdvancedList.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaAdvancedList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/AdvancedList/KdpaAdvancedList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAIlD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAGvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AA0D/C,eAAO,MAAM,OAAO,EAAE,KAwBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AdvancedList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { EditorProps } from "@monaco-editor/react";
|
|
2
|
+
export type KdpaCodeEditorProps = EditorProps;
|
|
3
|
+
declare function KdpaCodeEditor(props: KdpaCodeEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default KdpaCodeEditor;
|
|
5
|
+
//# sourceMappingURL=KdpaCodeEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaCodeEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/KdpaCodeEditor.tsx"],"names":[],"mappings":"AAAA,OAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC;AAE9C,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,2CAMjD;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import KdpaCodeEditor from "./KdpaCodeEditor";
|
|
3
|
+
declare const meta: Meta<typeof KdpaCodeEditor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof KdpaCodeEditor>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
export declare const Secondary: Story;
|
|
8
|
+
//# sourceMappingURL=KdpaCodeEditor.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaCodeEditor.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/KdpaCodeEditor.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAGrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAavB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/CodeEditor/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaDataGrid.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/KdpaDataGrid.tsx"],"names":[],"mappings":"AAEA,OAAO,iBAAiB,CAAC;AAEzB,iBAAS,YAAY,CAAC,KAAK,EAAE,GAAG,2CAE/B;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import KdpaDataGrid from "./KdpaDataGrid";
|
|
3
|
+
declare const meta: Meta<typeof KdpaDataGrid>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof KdpaDataGrid>;
|
|
6
|
+
export declare const Primary: Story;
|
|
7
|
+
//# sourceMappingURL=KdpaDataGrid.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaDataGrid.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/KdpaDataGrid.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAInC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAC;AAwE3C,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DataGrid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Temp.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Alert/Temp.tsx"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU,yDA2Gf,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface KdFormFieldProps {
|
|
3
|
+
name: string;
|
|
4
|
+
rules?: any;
|
|
5
|
+
Component: React.ElementType;
|
|
6
|
+
autoComplete?: boolean;
|
|
7
|
+
onChange?: (e: unknown) => void;
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}
|
|
10
|
+
declare function KdpaFormField({ name, rules, Component, ...props }: KdFormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default KdpaFormField;
|
|
12
|
+
//# sourceMappingURL=KdpaFormField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdpaFormField.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormField/KdpaFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,MAAM,GAAI,GAAG,CAAA;CAClB;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CA6BlB;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PanelWrapperProps {
|
|
3
|
+
isOpen?: boolean;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
}
|
|
8
|
+
declare function PanelWrapper({ type, isOpen, children, onClose, ...props }: PanelWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default PanelWrapper;
|
|
10
|
+
//# sourceMappingURL=PanelWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PanelWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/GridPanel/PanelWrapper.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,YAAY,CAAC,EAAE,IAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAehG;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const useKdTreeHelper: () => {
|
|
2
|
+
renderTreeCheckBox: (data: unknown[], valueField: string, labelField: string, parentField: string, iconField?: string) => any[];
|
|
3
|
+
buildTree: (flatTree?: never[], parent?: undefined) => any[];
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=useKdTreeHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useKdTreeHelper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/Tree/useKdTreeHelper.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;+BAElB,OAAO,EAAE,cACH,MAAM,cACN,MAAM,eACL,MAAM,cACP,MAAM;;CAmCrB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeUploadHandler } from "../KdFileUploader/KdFileUploader";
|
|
2
|
+
interface DroppedFilesProps {
|
|
3
|
+
item: string;
|
|
4
|
+
onDelete: (item: string) => void;
|
|
5
|
+
uploadHandler?: TypeUploadHandler;
|
|
6
|
+
}
|
|
7
|
+
export default function DroppedFiles({ item, onDelete, uploadHandler, }: DroppedFilesProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=DroppedFiles.d.ts.map
|
package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DroppedFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,aAAa,GACd,EAAE,iBAAiB,2CA8DnB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeUploadHandler } from "../KdFileUploader/KdFileUploader";
|
|
2
|
+
interface DroppedFilesProps {
|
|
3
|
+
item: any;
|
|
4
|
+
uploadHandler?: TypeUploadHandler;
|
|
5
|
+
}
|
|
6
|
+
export declare function CircularProgressWithLabel(props: any): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default function DroppingFiles({ item }: DroppedFilesProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=DroppingFiles.d.ts.map
|
package/dist/types/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DroppingFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/DroppingFiles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,UAAU,iBAAiB;IACzB,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,2CAsBnD;AACD,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE,iBAAiB,2CA2ChE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TypeUploadHandler } from "./KdFileUploader";
|
|
2
|
+
interface UploadedItemsProps {
|
|
3
|
+
item: string;
|
|
4
|
+
onDelete: (item: string) => void;
|
|
5
|
+
uploadHandler?: TypeUploadHandler;
|
|
6
|
+
}
|
|
7
|
+
declare function UploadedItems({ item, uploadHandler, onDelete }: UploadedItemsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default UploadedItems;
|
|
9
|
+
//# sourceMappingURL=UploadedItems.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UploadedItems.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdFileUploader/UploadedItems.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,iBAAS,aAAa,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA8D3E;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface KdUploadedFileProps {
|
|
2
|
+
sessionId: string;
|
|
3
|
+
fileName?: string;
|
|
4
|
+
onDelete: (session: string) => void;
|
|
5
|
+
smallUrl: string;
|
|
6
|
+
mediumUrl?: string;
|
|
7
|
+
largeUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export default function KdUploadedFile({ sessionId, fileName, onDelete, smallUrl, mediumUrl, largeUrl, }: KdUploadedFileProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=KdUploadedFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdUploadedFile.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CA+CrB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface KdUploadingFileProps {
|
|
2
|
+
progress: number;
|
|
3
|
+
}
|
|
4
|
+
export declare function CircularProgressWithLabel(props: any): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export default function KdUploadingFile({ progress }: KdUploadingFileProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=KdUploadingFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdUploadingFile.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,2CAsBnD;AACD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CA2CzE"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export type TypeAcceptUploader = {
|
|
2
|
+
image?: string[] | "ALL";
|
|
3
|
+
video?: string[] | "ALL";
|
|
4
|
+
text?: string[] | "ALL";
|
|
5
|
+
compress?: string[] | "ALL";
|
|
6
|
+
};
|
|
7
|
+
export declare const fileExtension: {
|
|
8
|
+
image: string[];
|
|
9
|
+
text: string[];
|
|
10
|
+
video: string[];
|
|
11
|
+
compress: string[];
|
|
12
|
+
};
|
|
13
|
+
export declare const pathFile: {
|
|
14
|
+
streamPath: string;
|
|
15
|
+
thumbnailstreamPath: string;
|
|
16
|
+
tempPath: string;
|
|
17
|
+
thumbnailTempPath: string;
|
|
18
|
+
};
|
|
19
|
+
export interface KdUseFileUploadType {
|
|
20
|
+
APIURL?: string;
|
|
21
|
+
UPLOAD_REST_URL?: string;
|
|
22
|
+
sessionId?: string;
|
|
23
|
+
fileSizeLimit: number;
|
|
24
|
+
fileCountLimit: number;
|
|
25
|
+
validUploadType: string[];
|
|
26
|
+
}
|
|
27
|
+
declare function KdUseFileUpload({ APIURL, UPLOAD_REST_URL, sessionId, fileSizeLimit, fileCountLimit, validUploadType, }: KdUseFileUploadType): {
|
|
28
|
+
APIURL: string;
|
|
29
|
+
UPLOAD_REST_URL: string;
|
|
30
|
+
uploadingFiles: {
|
|
31
|
+
session?: string | undefined;
|
|
32
|
+
progress: number;
|
|
33
|
+
type: string;
|
|
34
|
+
file: File;
|
|
35
|
+
}[];
|
|
36
|
+
files: {
|
|
37
|
+
session: string;
|
|
38
|
+
progress?: number | undefined;
|
|
39
|
+
type?: string | undefined;
|
|
40
|
+
fileURL?: string | undefined;
|
|
41
|
+
file?: File | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
removeFile: (session: string) => void;
|
|
44
|
+
handleFileChange: (e: React.ChangeEvent<HTMLInputElement>, internalValidUploadType: TypeAcceptUploader) => Promise<void>;
|
|
45
|
+
fileExtension: {
|
|
46
|
+
image: string[];
|
|
47
|
+
text: string[];
|
|
48
|
+
video: string[];
|
|
49
|
+
compress: string[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export default KdUseFileUpload;
|
|
53
|
+
//# sourceMappingURL=KdUseFileUpload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdUseFileUpload.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUseFileUpload/KdUseFileUpload.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;CAoCzB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAC;AAsCF,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,iBAAS,eAAe,CAAC,EACvB,MAA2C,EAC3C,eAAyD,EACzD,SAAmD,EACnD,aAAiB,EACjB,cAAmB,EACnB,eAAsD,GACvD,EAAE,mBAAmB;;;;;kBAaN,MAAM;cACV,MAAM;cACN,IAAI;;;iBAZD,MAAM;;;;;;0BAqBU,MAAM;0BAe9B,MAAM,WAAW,CAAC,gBAAgB,CAAC,2BACb,kBAAkB;;;;;;;EA6O9C;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const fileExtension: {
|
|
2
|
+
image: string[];
|
|
3
|
+
text: string[];
|
|
4
|
+
video: string[];
|
|
5
|
+
compress: string[];
|
|
6
|
+
};
|
|
7
|
+
export declare const pathFile: {
|
|
8
|
+
streamPath: string;
|
|
9
|
+
thumbnailstreamPath: string;
|
|
10
|
+
tempPath: string;
|
|
11
|
+
thumbnailTempPath: string;
|
|
12
|
+
exportPath: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const pathServicesUpload: {
|
|
15
|
+
pathFileUpload: string;
|
|
16
|
+
pathForUploadCunk: string;
|
|
17
|
+
pathForGetFile: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=fileUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fileUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/fileUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;CAoCzB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/sharedUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAqCzB,CAAC;AAEF,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;EAW5D;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sharedUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/sharedUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAqCzB,CAAC;AAEF,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;;;EAW5D;AAED,wBAAsB,kBAAkB,CACtC,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,SAAS,CAAC,EAAE,MAAM,gBA0BnB;AAED,eAAO,MAAM,WAAW;;CAEvB,CAAC;AACF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,WAAW,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypeMeta } from "../components/Typography/KdTypography";
|
|
3
|
+
export declare const typographyHelper: (value: React.ReactNode, meta: TypeMeta) => string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | null | undefined;
|
|
4
|
+
export declare const textWrapper: (text: string, maxLength?: number) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=typographyHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typographyHelper.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/typographyHelper.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAGjE,eAAO,MAAM,gBAAgB,UAAW,MAAM,SAAS,QAAQ,QAAQ,iIAiBtE,CAAC;AAOF,eAAO,MAAM,WAAW,SAAU,MAAM,cAAc,MAAM,4CAQ3D,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface RenderTreeType {
|
|
2
|
+
label: JSX.Element;
|
|
3
|
+
value: string;
|
|
4
|
+
parent?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface BuildTreeType {
|
|
7
|
+
label: JSX.Element;
|
|
8
|
+
value: string;
|
|
9
|
+
parent?: string;
|
|
10
|
+
children?: RenderTreeType[];
|
|
11
|
+
}
|
|
12
|
+
export declare const useTreeHelper: () => {
|
|
13
|
+
renderTreeToSpecificFieldName: (data: unknown[], valueField: string, labelField: string, parentField: string, iconField?: string) => RenderTreeType[];
|
|
14
|
+
buildTree: (flatTree?: RenderTreeType[], parent?: undefined) => BuildTreeType[];
|
|
15
|
+
findAllExpanded: (nodes: RenderTreeType[], nodeValue?: string) => string[];
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=useTreeHelper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTreeHelper.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/useTreeHelper.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,aAAa;0CAEhB,OAAO,EAAE,cACH,MAAM,cACN,MAAM,eACL,MAAM,cACP,MAAM;2BAmBS,cAAc,EAAE;6BAgBb,cAAc,EAAE,cAAc,MAAM;CAYrE,CAAC"}
|