cft-builder 0.2.328 → 0.2.329

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.
@@ -1,4 +1,4 @@
1
- import { E as s, D as o, F as a, G as d, R as i, T as u, C as m, A as B, z as k, B as l } from "./main-whdWYZaD.js";
1
+ import { E as s, D as o, F as a, G as d, R as i, T as u, C as m, A as B, z as k, B as l } from "./main-BUjQIvnD.js";
2
2
  export {
3
3
  s as BuilderItems,
4
4
  o as BuilderItemsRender,
@@ -4164,7 +4164,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4164
4164
  justify-content: center;
4165
4165
 
4166
4166
  margin-top: 20px;
4167
- `,j6e=t=>{const{onSetValue:e,row:n,items:r,setItems:i,isLoading:a,setIsLoading:s}=t,{processPending:l}=mh();k.useEffect(()=>{const d=Gt.addListener("clearRepeatableFields",f=>{f===(n==null?void 0:n.uuid)&&i([])});return()=>{d.remove()}});const c=d=>{const f=[...r,...d.items];i(f)};y5e(d=>c(d));const u=async()=>{s(!0),l()};return o.jsxs($6e,{children:[r.map(d=>o.jsx(U6e,{item:d,onSetValue:e,setIsLoading:s},d.id)),r.length?o.jsx(Ot,{type:"button",label:"Upload",className:"p-button-info",onClick:u,disabled:a,loading:a}):null]})},z6e=(t,e)=>{var ee,oe,pe,Ce,De,me,Te;const{field:n,fieldIndex:r,row:i,pageIndex:a,sectionIndex:s,rowIndex:l,columnIndex:c,isDisabled:u}=t,{isAdmin:d,isBuilderMode:f,fileUploadParams:h}=Ht(),{userSelectedLanguage:g,fieldSettingUpdate:v}=sn(),{taskRegisterData:m,userTaskSubmitFormData:A,task_status:w,TASK_PUBLISHED:C,updateUserFormDataSubmit:S,updateTaskRegisterData:T,updateTaskProgressValue:x}=Ar(),[E,_]=k.useState(!1),[M,N]=k.useState([]),[F,P]=k.useState(!1),[H,O]=k.useState(0),[j,U]=k.useState([]),[le,R]=k.useState(!1),[X,ce]=k.useState(!1),Y=()=>{ce(!0)},ae=()=>{ce(!1)},re=Pe=>{if((A==null?void 0:A.length)>0){const Ee=[...A],$=_t.cloneDeep(m);for(const he of Ee)he.fieldId===t.field.uuid&&(he.postData[0]={postValue:Pe});if((Pe==null?void 0:Pe.length)>0?($[n==null?void 0:n.uuid]=Pe,n.isValid=1):(delete $[n==null?void 0:n.uuid],n.isValid=0),!(i!=null&&i.rowIsRepeatable)){T($);const he=Object.keys($).length;x(he)}}},Z=()=>{var Pe,Ee;if(!(i!=null&&i.rowIsRepeatable)){const $=A;if(($==null?void 0:$.length)>0){for(const he of $)if(he.fieldId===n.uuid&&((Pe=he==null?void 0:he.postData)!=null&&Pe.length)){N((Ee=he==null?void 0:he.postData[0])==null?void 0:Ee.postValue),P(!0);break}}}};k.useEffect(()=>{F||Z();const Pe=Gt.addListener("clearRepeatableFields",he=>{he===(i==null?void 0:i.uuid)&&(N([]),O(0),n.isValid=0,v(a,s,l,c,r,n))}),Ee=Gt.addListener("onSubmitUserForm",he=>{var ye;(ye=n==null?void 0:n.attributes)!=null&&ye.required?(M==null?void 0:M.length)>0?n.isValid=1:n.isValid=0:n.isValid=1}),$=Gt.addListener("OnInvalidFieldCatch",he=>{n.uuid===(he==null?void 0:he.fieldId)?O(1):O(0)});return()=>{Ee.remove(),$.remove(),Pe.remove()}});const K=Pe=>{_(Pe)},W=()=>{_(!1)},ge=OV(k.forwardRef((Pe,Ee)=>o.jsx(Ot,{size:"small",type:"button",...Pe,ref:Ee,disabled:f||le||u,children:"Select files"}))),ve=Pe=>{var Ee,$;if(!(i!=null&&i.rowIsRepeatable)){const he=_t.cloneDeep(m);delete he[n==null?void 0:n.uuid],T(he);const ye=Object.keys(he).length;x(ye);const se=A;if(se!=null&&se.length){for(const fe of se)if(fe.fieldId===t.field.uuid&&((Ee=fe==null?void 0:fe.postData)!=null&&Ee.length)){console.log("data?.postData",fe==null?void 0:fe.postData);let Ae=($=fe==null?void 0:fe.postData[0])==null?void 0:$.postValue;Ae=Ae.filter((Le,ze)=>ze!==Pe),console.log("rowIndex",Pe),console.log("letPostDataArray",Ae),fe.postData[0].postValue=Ae,(Ae==null?void 0:Ae.length)>0?n.isValid=1:n.isValid=0;const Ne=j.filter((Le,ze)=>ze!==Pe);U(Ne),N(Ae),P(!0);break}}else{const fe=M.filter((Ne,Le)=>Le!==Pe),Ae=j.filter((Ne,Le)=>Le!==Pe);U(Ae),N(fe)}}},Ie=Pe=>(console.log("rowIndex",l),o.jsx(o.Fragment,{children:o.jsx(Ot,{text:!0,type:"button",className:"p-button-danger ",onClick:()=>ve(Pe==null?void 0:Pe.rowIndex),icon:"pi pi-trash",size:"small"})})),be=Pe=>(console.log("rowDetail",Pe),o.jsx(o.Fragment,{children:o.jsx("a",{href:Pe.fileUrl,download:Pe.fileName,target:"_blank",rel:"noopener noreferrer",children:o.jsx(Ot,{outlined:!0,icon:"pi pi-arrow-down",className:"p-button-primary",size:"small"})})})),de=Pe=>{var Ee;if((A==null?void 0:A.length)>0){const $=[...A],he=_t.findIndex($,function(fe){return fe.rowId===(i==null?void 0:i.uuid)});let ye=(Ee=A[he])==null?void 0:Ee.repeatableFields,se="<ol class='card '>";Pe==null||Pe.map(fe=>{const Ae=fe;se=se+`<li>${Ae==null?void 0:Ae.fileName}</li>`}),se=se+"</ol>",ye={...ye,[n==null?void 0:n.uuid]:se},$[he]={...$[he],repeatableFields:ye},S($)}(Pe==null?void 0:Pe.length)>0?n.isValid=1:n.isValid=0},ne=Pe=>{let Ee=[...M];Ee.push(Pe),Ee=Ee.map(($,he)=>({...$,rowIndex:he})),i!=null&&i.rowIsRepeatable?de(Ee):re(Ee),N([...M,Pe])},q=o.jsxs("div",{onMouseOver:Y,onMouseOut:ae,children:[f&&X&&o.jsx(Wr,{handleFieldSettingsSidebar:K,...t}),o.jsx("div",{className:`field ${f?" py-3 px-4 builder-element-wrapper ":""}${(n==null?void 0:n.isFluid)===!0&&" p-fluid"}`,children:o.jsxs("div",{className:"grid",children:[o.jsxs("div",{className:f?"col-12 field-form-builder":"col-12",children:[(n==null?void 0:n.showHeaderText)&&o.jsx("h6",{children:(ee=n==null?void 0:n.headerText)==null?void 0:ee[g==null?void 0:g.type]}),(n==null?void 0:n.showLabel)&&o.jsxs("label",{htmlFor:r,className:"flex font-bold mb-3 text-gray-900 text-xl",children:[o.jsx(ca,{...t}),((oe=n==null?void 0:n.attributes)==null?void 0:oe.required)&&o.jsx("span",{className:"must-required mr-1",children:"*"})," ",f?o.jsx(aa,{...t}):o.jsx(o.Fragment,{children:(pe=n==null?void 0:n.label)==null?void 0:pe[g==null?void 0:g.type]}),o.jsx("span",{className:"ml-3",children:(n==null?void 0:n.showToolTip)&&o.jsx(zi,{message:(Ce=n==null?void 0:n.toolTip)==null?void 0:Ce[g==null?void 0:g.type],position:"right"})})]}),o.jsx("div",{children:(n==null?void 0:n.showHelperText)&&o.jsx("small",{children:(De=n==null?void 0:n.helperText)==null?void 0:De[g==null?void 0:g.type]})}),o.jsxs("div",{className:"mt-3",children:[w!==C&&!d&&o.jsx(o.Fragment,{children:o.jsxs(r9e,{debug:!1,retries:10,chunkSize:35e3,multiple:!1,autoUpload:!1,destination:h,children:[o.jsx(ge,{}),o.jsx(j6e,{items:j,setItems:U,isLoading:le,setIsLoading:R,row:i,inputValue:M,onSetValue:ne})]})}),((me=n==null?void 0:n.attributes)==null?void 0:me.required)&&o.jsx("small",{className:"error",children:H===1&&(M==null?void 0:M.length)===0?(Te=n==null?void 0:n.validationMesssage)==null?void 0:Te[g==null?void 0:g.type]:""}),o.jsx("div",{className:"mt-3",children:o.jsxs(ro,{value:M,emptyMessage:"No Files have been uploaded",children:[o.jsx(Sr,{field:"fileName",header:"Filename"}),o.jsx(Sr,{field:"fileSize",header:"Size"}),o.jsx(Sr,{field:"fileType",header:"type"}),o.jsx(Sr,{style:{width:"10%"},headerStyle:{textAlign:"center"},header:"Download",bodyStyle:{textAlign:"center",overflow:"visible"},body:Pe=>be(Pe)}),w!==C&&o.jsx(Sr,{style:{width:"10%"},headerStyle:{textAlign:"center"},bodyStyle:{textAlign:"center",overflow:"visible"},body:Pe=>Ie(Pe)})]})})]})]}),d&&o.jsxs(o.Fragment,{children:[o.jsx("hr",{}),o.jsx(ki,{...t})]})]})})]});return o.jsxs(o.Fragment,{children:[E===!0&&o.jsx(Qi,{visibilty:E,closeSettingFieldSidebar:W,...t}),o.jsx(xi,{...t,fieldWrap:q})]})},H6e=t=>{const{isBuilderMode:e}=Ht(),{field:n}=t,[r,i]=k.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},[l,c]=k.useState(!1),u=f=>{c(f)},d=()=>{c(!1)};return o.jsxs("div",{onMouseOver:a,onMouseOut:s,children:[e&&l===!0&&o.jsx(sB,{visibilty:l,closeSettingFieldSidebar:d,...t}),o.jsxs("div",{dir:"ltr",className:e?"field-form-builder":"",children:[e&&r&&o.jsx(Wr,{handleFieldSettingsSidebar:u,...t}),o.jsx("div",{className:`field-${(n==null?void 0:n.isFluid)===!0?" p-fluid":" "}`,children:o.jsx("div",{className:"grid",children:o.jsxs("div",{className:e?"col-12 p-fluid":"col-12 ",children:[o.jsx("label",{className:"flex font-bold mb-3 text-gray-900 text-xl",children:"Document"}),o.jsx("ol",{children:n==null?void 0:n.documents.map(f=>o.jsx("li",{children:f==null?void 0:f.url},f==null?void 0:f.uuid))})]})})})]})]})};function vw(){return vw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},vw.apply(null,arguments)}var Oq=b.memo(b.forwardRef(function(t,e){var n=ri.getPTI(t);return b.createElement("svg",vw({ref:e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.createElement("path",{d:"M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",fill:"currentColor"}),b.createElement("path",{d:"M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",fill:"currentColor"}),b.createElement("path",{d:"M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",fill:"currentColor"}))}));Oq.displayName="ExclamationTriangleIcon";function bw(){return bw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},bw.apply(null,arguments)}var Fq=b.memo(b.forwardRef(function(t,e){var n=ri.getPTI(t);return b.createElement("svg",bw({ref:e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z",fill:"currentColor"}))}));Fq.displayName="InfoCircleIcon";function yw(){return yw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},yw.apply(null,arguments)}function Aw(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Y6e(t){if(Array.isArray(t))return Aw(t)}function K6e(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kq(t,e){if(t){if(typeof t=="string")return Aw(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Aw(t,e):void 0}}function X6e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
4167
+ `,j6e=t=>{const{onSetValue:e,row:n,items:r,setItems:i,isLoading:a,setIsLoading:s}=t,{processPending:l}=mh();k.useEffect(()=>{const d=Gt.addListener("clearRepeatableFields",f=>{f===(n==null?void 0:n.uuid)&&i([])});return()=>{d.remove()}});const c=d=>{const f=[...r,...d.items];i(f)};y5e(d=>c(d));const u=async()=>{s(!0),l()};return o.jsxs($6e,{children:[r.map(d=>o.jsx(U6e,{item:d,onSetValue:e,setIsLoading:s},d.id)),r.length?o.jsx(Ot,{type:"button",label:"Upload",className:"p-button-info",onClick:u,disabled:a,loading:a}):null]})},z6e=(t,e)=>{var ee,oe,pe,Ce,De,me,Te;const{field:n,fieldIndex:r,row:i,pageIndex:a,sectionIndex:s,rowIndex:l,columnIndex:c,isDisabled:u}=t,{isAdmin:d,isBuilderMode:f,fileUploadParams:h}=Ht(),{userSelectedLanguage:g,fieldSettingUpdate:v}=sn(),{taskRegisterData:m,userTaskSubmitFormData:A,task_status:w,TASK_PUBLISHED:C,updateUserFormDataSubmit:S,updateTaskRegisterData:T,updateTaskProgressValue:x}=Ar(),[E,_]=k.useState(!1),[M,N]=k.useState([]),[F,P]=k.useState(!1),[H,O]=k.useState(0),[j,U]=k.useState([]),[le,R]=k.useState(!1),[X,ce]=k.useState(!1),Y=()=>{ce(!0)},ae=()=>{ce(!1)},re=Pe=>{if((A==null?void 0:A.length)>0){const Ee=[...A],$=_t.cloneDeep(m);for(const he of Ee)he.fieldId===t.field.uuid&&(he.postData[0]={postValue:Pe});if((Pe==null?void 0:Pe.length)>0?($[n==null?void 0:n.uuid]=Pe,n.isValid=1):(delete $[n==null?void 0:n.uuid],n.isValid=0),!(i!=null&&i.rowIsRepeatable)){T($);const he=Object.keys($).length;x(he)}}},Z=()=>{var Pe,Ee;if(!(i!=null&&i.rowIsRepeatable)){const $=A;if(($==null?void 0:$.length)>0){for(const he of $)if(he.fieldId===n.uuid&&((Pe=he==null?void 0:he.postData)!=null&&Pe.length)){N((Ee=he==null?void 0:he.postData[0])==null?void 0:Ee.postValue),P(!0);break}}}};k.useEffect(()=>{F||Z();const Pe=Gt.addListener("clearRepeatableFields",he=>{he===(i==null?void 0:i.uuid)&&(N([]),O(0),n.isValid=0,v(a,s,l,c,r,n))}),Ee=Gt.addListener("onSubmitUserForm",he=>{var ye;(ye=n==null?void 0:n.attributes)!=null&&ye.required?(M==null?void 0:M.length)>0?n.isValid=1:n.isValid=0:n.isValid=1}),$=Gt.addListener("OnInvalidFieldCatch",he=>{n.uuid===(he==null?void 0:he.fieldId)?O(1):O(0)});return()=>{Ee.remove(),$.remove(),Pe.remove()}});const K=Pe=>{_(Pe)},W=()=>{_(!1)},ge=OV(k.forwardRef((Pe,Ee)=>o.jsx(Ot,{size:"small",type:"button",...Pe,ref:Ee,disabled:f||le||u,children:"Select files"}))),ve=Pe=>{var Ee,$;if(!(i!=null&&i.rowIsRepeatable)){const he=_t.cloneDeep(m);delete he[n==null?void 0:n.uuid],T(he);const ye=Object.keys(he).length;x(ye);const se=A;if(se!=null&&se.length){for(const fe of se)if(fe.fieldId===t.field.uuid&&((Ee=fe==null?void 0:fe.postData)!=null&&Ee.length)){console.log("data?.postData",fe==null?void 0:fe.postData);let Ae=($=fe==null?void 0:fe.postData[0])==null?void 0:$.postValue;Ae=Ae.filter((Le,ze)=>ze!==Pe),console.log("rowIndex",Pe),console.log("letPostDataArray",Ae),fe.postData[0].postValue=Ae,(Ae==null?void 0:Ae.length)>0?n.isValid=1:n.isValid=0;const Ne=j.filter((Le,ze)=>ze!==Pe);U(Ne),N(Ae),P(!0);break}}else{const fe=M.filter((Ne,Le)=>Le!==Pe),Ae=j.filter((Ne,Le)=>Le!==Pe);U(Ae),N(fe)}}},Ie=Pe=>(console.log("rowIndex",l),o.jsx(o.Fragment,{children:o.jsx(Ot,{text:!0,type:"button",className:"p-button-danger ",onClick:()=>ve(Pe==null?void 0:Pe.rowIndex),icon:"pi pi-trash",size:"small"})})),be=Pe=>(console.log("rowDetail",Pe),o.jsx(o.Fragment,{children:o.jsx("a",{href:Pe.fileUrl,download:Pe.fileName,target:"_blank",rel:"noopener noreferrer",children:o.jsx(Ot,{outlined:!0,icon:"pi pi-arrow-down",className:"p-button-primary",size:"small"})})})),de=Pe=>{var Ee;if((A==null?void 0:A.length)>0){const $=[...A],he=_t.findIndex($,function(fe){return fe.rowId===(i==null?void 0:i.uuid)});let ye=(Ee=A[he])==null?void 0:Ee.repeatableFields,se="<ol class='card '>";Pe==null||Pe.map(fe=>{const Ae=fe;se=se+`<li>${Ae==null?void 0:Ae.fileName}</li>`}),se=se+"</ol>",ye={...ye,[n==null?void 0:n.uuid]:se},$[he]={...$[he],repeatableFields:ye},S($)}(Pe==null?void 0:Pe.length)>0?n.isValid=1:n.isValid=0},ne=Pe=>{let Ee=[...M];Ee.push(Pe),Ee=Ee.map(($,he)=>({...$,rowIndex:he})),i!=null&&i.rowIsRepeatable?de(Ee):re(Ee),N([...M,Pe])},q=o.jsxs("div",{onMouseOver:Y,onMouseOut:ae,children:[f&&X&&o.jsx(Wr,{handleFieldSettingsSidebar:K,...t}),o.jsxs("div",{className:`field ${f?" py-3 px-4 builder-element-wrapper ":""}${(n==null?void 0:n.isFluid)===!0&&" p-fluid"}`,children:[o.jsxs("div",{className:"grid",children:[o.jsxs("div",{className:f?"col-12 field-form-builder":"col-12",children:[(n==null?void 0:n.showHeaderText)&&o.jsx("h6",{children:(ee=n==null?void 0:n.headerText)==null?void 0:ee[g==null?void 0:g.type]}),(n==null?void 0:n.showLabel)&&o.jsxs("label",{htmlFor:r,className:"flex font-bold mb-3 text-gray-900 text-xl",children:[o.jsx(ca,{...t}),((oe=n==null?void 0:n.attributes)==null?void 0:oe.required)&&o.jsx("span",{className:"must-required mr-1",children:"*"})," ",f?o.jsx(aa,{...t}):o.jsx(o.Fragment,{children:(pe=n==null?void 0:n.label)==null?void 0:pe[g==null?void 0:g.type]}),o.jsx("span",{className:"ml-3",children:(n==null?void 0:n.showToolTip)&&o.jsx(zi,{message:(Ce=n==null?void 0:n.toolTip)==null?void 0:Ce[g==null?void 0:g.type],position:"right"})})]}),o.jsx("div",{children:(n==null?void 0:n.showHelperText)&&o.jsx("small",{children:(De=n==null?void 0:n.helperText)==null?void 0:De[g==null?void 0:g.type]})}),o.jsxs("div",{className:"mt-3",children:[w!==C&&!d&&o.jsx(o.Fragment,{children:o.jsxs(r9e,{debug:!1,retries:10,chunkSize:35e3,multiple:!1,autoUpload:!1,destination:h,children:[o.jsx(ge,{}),o.jsx(j6e,{items:j,setItems:U,isLoading:le,setIsLoading:R,row:i,inputValue:M,onSetValue:ne})]})}),((me=n==null?void 0:n.attributes)==null?void 0:me.required)&&o.jsx("small",{className:"error",children:H===1&&(M==null?void 0:M.length)===0?(Te=n==null?void 0:n.validationMesssage)==null?void 0:Te[g==null?void 0:g.type]:""}),o.jsx("div",{className:"mt-3",children:o.jsxs(ro,{value:M,emptyMessage:"No Files have been uploaded",children:[o.jsx(Sr,{field:"fileName",header:"Filename"}),o.jsx(Sr,{field:"fileSize",header:"Size"}),o.jsx(Sr,{field:"fileType",header:"type"}),o.jsx(Sr,{style:{width:"10%"},headerStyle:{textAlign:"center"},header:"Download",bodyStyle:{textAlign:"center",overflow:"visible"},body:Pe=>be(Pe)}),w!==C&&o.jsx(Sr,{style:{width:"10%"},headerStyle:{textAlign:"center"},bodyStyle:{textAlign:"center",overflow:"visible"},body:Pe=>Ie(Pe)})]})})]})]}),d&&o.jsx(o.Fragment,{children:o.jsx("div",{className:"col-6",children:o.jsx(ki,{...t})})})]}),d&&o.jsx("hr",{})]})]});return o.jsxs(o.Fragment,{children:[E===!0&&o.jsx(Qi,{visibilty:E,closeSettingFieldSidebar:W,...t}),o.jsx(xi,{...t,fieldWrap:q})]})},H6e=t=>{const{isBuilderMode:e}=Ht(),{field:n}=t,[r,i]=k.useState(!1),a=()=>{i(!0)},s=()=>{i(!1)},[l,c]=k.useState(!1),u=f=>{c(f)},d=()=>{c(!1)};return o.jsxs("div",{onMouseOver:a,onMouseOut:s,children:[e&&l===!0&&o.jsx(sB,{visibilty:l,closeSettingFieldSidebar:d,...t}),o.jsxs("div",{dir:"ltr",className:e?"field-form-builder":"",children:[e&&r&&o.jsx(Wr,{handleFieldSettingsSidebar:u,...t}),o.jsx("div",{className:`field-${(n==null?void 0:n.isFluid)===!0?" p-fluid":" "}`,children:o.jsx("div",{className:"grid",children:o.jsxs("div",{className:e?"col-12 p-fluid":"col-12 ",children:[o.jsx("label",{className:"flex font-bold mb-3 text-gray-900 text-xl",children:"Document"}),o.jsx("ol",{children:n==null?void 0:n.documents.map(f=>o.jsx("li",{children:f==null?void 0:f.url},f==null?void 0:f.uuid))})]})})})]})]})};function vw(){return vw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},vw.apply(null,arguments)}var Oq=b.memo(b.forwardRef(function(t,e){var n=ri.getPTI(t);return b.createElement("svg",vw({ref:e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.createElement("path",{d:"M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",fill:"currentColor"}),b.createElement("path",{d:"M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",fill:"currentColor"}),b.createElement("path",{d:"M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",fill:"currentColor"}))}));Oq.displayName="ExclamationTriangleIcon";function bw(){return bw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},bw.apply(null,arguments)}var Fq=b.memo(b.forwardRef(function(t,e){var n=ri.getPTI(t);return b.createElement("svg",bw({ref:e,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z",fill:"currentColor"}))}));Fq.displayName="InfoCircleIcon";function yw(){return yw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},yw.apply(null,arguments)}function Aw(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Y6e(t){if(Array.isArray(t))return Aw(t)}function K6e(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kq(t,e){if(t){if(typeof t=="string")return Aw(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Aw(t,e):void 0}}function X6e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
4168
4168
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ww(t){return Y6e(t)||K6e(t)||kq(t)||X6e()}function R6e(t){if(Array.isArray(t))return t}function G6e(t,e){var n=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var r,i,a,s,l=[],c=!0,u=!1;try{if(a=(n=n.call(t)).next,e===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(d){u=!0,i=d}finally{try{if(!c&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return l}}function W6e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4169
4169
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Sw(t,e){return R6e(t)||G6e(t,e)||kq(t,e)||W6e()}function pg(t){"@babel/helpers - typeof";return pg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pg(t)}function Q6e(t,e){if(pg(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var r=n.call(t,e||"default");if(pg(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function J6e(t){var e=Q6e(t,"string");return pg(e)=="symbol"?e:e+""}function Pq(t,e,n){return(e=J6e(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Z6e=`
4170
4170
  @layer primereact {
@@ -60055,7 +60055,7 @@ var m0e = function() {
60055
60055
  theme: i.theme,
60056
60056
  formats: i.formats
60057
60057
  };
60058
- m0e ? w(new Quill(d.current, P)) : import("./quill-UFV9lnF9.js").then(function(z) {
60058
+ m0e ? w(new Quill(d.current, P)) : import("./quill-C1QQdqvB.js").then(function(z) {
60059
60059
  if (z && Ce.isExist(d.current)) {
60060
60060
  var F;
60061
60061
  z.default ? F = new z.default(d.current, P) : F = new z(d.current, P), w(F);
@@ -109991,100 +109991,100 @@ const G8e = q2(NB)`
109991
109991
  })), i != null && i.rowIsRepeatable ? ue(Ee) : ne(Ee), N([...R, Pe]);
109992
109992
  }, B = /* @__PURE__ */ I("div", { onMouseOver: G, onMouseOut: ie, children: [
109993
109993
  f && Y && /* @__PURE__ */ c(Vr, { handleFieldSettingsSidebar: H, ...t }),
109994
- /* @__PURE__ */ c(
109994
+ /* @__PURE__ */ I(
109995
109995
  "div",
109996
109996
  {
109997
109997
  className: `field ${f ? " py-3 px-4 builder-element-wrapper " : ""}${(n == null ? void 0 : n.isFluid) === !0 && " p-fluid"}`,
109998
- children: /* @__PURE__ */ I("div", { className: "grid", children: [
109999
- /* @__PURE__ */ I("div", { className: f ? "col-12 field-form-builder" : "col-12", children: [
110000
- (n == null ? void 0 : n.showHeaderText) && /* @__PURE__ */ c("h6", { children: (ee = n == null ? void 0 : n.headerText) == null ? void 0 : ee[m == null ? void 0 : m.type] }),
110001
- (n == null ? void 0 : n.showLabel) && /* @__PURE__ */ I(
110002
- "label",
110003
- {
110004
- htmlFor: r,
110005
- className: "flex font-bold mb-3 text-gray-900 text-xl",
110006
- children: [
110007
- /* @__PURE__ */ c(zi, { ...t }),
110008
- ((se = n == null ? void 0 : n.attributes) == null ? void 0 : se.required) && /* @__PURE__ */ c("span", { className: "must-required mr-1", children: "*" }),
110009
- " ",
110010
- f ? /* @__PURE__ */ c(ji, { ...t }) : /* @__PURE__ */ c(we, { children: (he = n == null ? void 0 : n.label) == null ? void 0 : he[m == null ? void 0 : m.type] }),
110011
- /* @__PURE__ */ c("span", { className: "ml-3", children: (n == null ? void 0 : n.showToolTip) && /* @__PURE__ */ c(
110012
- Ti,
110013
- {
110014
- message: (Se = n == null ? void 0 : n.toolTip) == null ? void 0 : Se[m == null ? void 0 : m.type],
110015
- position: "right"
110016
- }
110017
- ) })
110018
- ]
110019
- }
110020
- ),
110021
- /* @__PURE__ */ c("div", { children: (n == null ? void 0 : n.showHelperText) && /* @__PURE__ */ c("small", { children: (De = n == null ? void 0 : n.helperText) == null ? void 0 : De[m == null ? void 0 : m.type] }) }),
110022
- /* @__PURE__ */ I("div", { className: "mt-3", children: [
110023
- x !== S && !d && /* @__PURE__ */ c(we, { children: /* @__PURE__ */ I(
110024
- g7e,
110025
- {
110026
- debug: !1,
110027
- retries: 10,
110028
- chunkSize: 35e3,
110029
- multiple: !1,
110030
- autoUpload: !1,
110031
- destination: p,
110032
- children: [
110033
- /* @__PURE__ */ c(pe, {}),
110034
- /* @__PURE__ */ c(
110035
- tbe,
110036
- {
110037
- items: j,
110038
- setItems: $,
110039
- isLoading: oe,
110040
- setIsLoading: K,
110041
- row: i,
110042
- inputValue: R,
110043
- onSetValue: te
110044
- }
110045
- )
110046
- ]
110047
- }
110048
- ) }),
110049
- ((me = n == null ? void 0 : n.attributes) == null ? void 0 : me.required) && /* @__PURE__ */ c("small", { className: "error", children: z === 1 && (R == null ? void 0 : R.length) === 0 ? (Te = n == null ? void 0 : n.validationMesssage) == null ? void 0 : Te[m == null ? void 0 : m.type] : "" }),
110050
- /* @__PURE__ */ c("div", { className: "mt-3", children: /* @__PURE__ */ I(
110051
- Qs,
109998
+ children: [
109999
+ /* @__PURE__ */ I("div", { className: "grid", children: [
110000
+ /* @__PURE__ */ I("div", { className: f ? "col-12 field-form-builder" : "col-12", children: [
110001
+ (n == null ? void 0 : n.showHeaderText) && /* @__PURE__ */ c("h6", { children: (ee = n == null ? void 0 : n.headerText) == null ? void 0 : ee[m == null ? void 0 : m.type] }),
110002
+ (n == null ? void 0 : n.showLabel) && /* @__PURE__ */ I(
110003
+ "label",
110052
110004
  {
110053
- value: R,
110054
- emptyMessage: "No Files have been uploaded",
110005
+ htmlFor: r,
110006
+ className: "flex font-bold mb-3 text-gray-900 text-xl",
110055
110007
  children: [
110056
- /* @__PURE__ */ c(gr, { field: "fileName", header: "Filename" }),
110057
- /* @__PURE__ */ c(gr, { field: "fileSize", header: "Size" }),
110058
- /* @__PURE__ */ c(gr, { field: "fileType", header: "type" }),
110059
- /* @__PURE__ */ c(
110060
- gr,
110061
- {
110062
- style: { width: "10%" },
110063
- headerStyle: { textAlign: "center" },
110064
- header: "Download",
110065
- bodyStyle: { textAlign: "center", overflow: "visible" },
110066
- body: (Pe) => ve(Pe)
110067
- }
110068
- ),
110069
- x !== S && /* @__PURE__ */ c(
110070
- gr,
110008
+ /* @__PURE__ */ c(zi, { ...t }),
110009
+ ((se = n == null ? void 0 : n.attributes) == null ? void 0 : se.required) && /* @__PURE__ */ c("span", { className: "must-required mr-1", children: "*" }),
110010
+ " ",
110011
+ f ? /* @__PURE__ */ c(ji, { ...t }) : /* @__PURE__ */ c(we, { children: (he = n == null ? void 0 : n.label) == null ? void 0 : he[m == null ? void 0 : m.type] }),
110012
+ /* @__PURE__ */ c("span", { className: "ml-3", children: (n == null ? void 0 : n.showToolTip) && /* @__PURE__ */ c(
110013
+ Ti,
110071
110014
  {
110072
- style: { width: "10%" },
110073
- headerStyle: { textAlign: "center" },
110074
- bodyStyle: { textAlign: "center", overflow: "visible" },
110075
- body: (Pe) => _e(Pe)
110015
+ message: (Se = n == null ? void 0 : n.toolTip) == null ? void 0 : Se[m == null ? void 0 : m.type],
110016
+ position: "right"
110076
110017
  }
110077
- )
110018
+ ) })
110078
110019
  ]
110079
110020
  }
110080
- ) })
110081
- ] })
110021
+ ),
110022
+ /* @__PURE__ */ c("div", { children: (n == null ? void 0 : n.showHelperText) && /* @__PURE__ */ c("small", { children: (De = n == null ? void 0 : n.helperText) == null ? void 0 : De[m == null ? void 0 : m.type] }) }),
110023
+ /* @__PURE__ */ I("div", { className: "mt-3", children: [
110024
+ x !== S && !d && /* @__PURE__ */ c(we, { children: /* @__PURE__ */ I(
110025
+ g7e,
110026
+ {
110027
+ debug: !1,
110028
+ retries: 10,
110029
+ chunkSize: 35e3,
110030
+ multiple: !1,
110031
+ autoUpload: !1,
110032
+ destination: p,
110033
+ children: [
110034
+ /* @__PURE__ */ c(pe, {}),
110035
+ /* @__PURE__ */ c(
110036
+ tbe,
110037
+ {
110038
+ items: j,
110039
+ setItems: $,
110040
+ isLoading: oe,
110041
+ setIsLoading: K,
110042
+ row: i,
110043
+ inputValue: R,
110044
+ onSetValue: te
110045
+ }
110046
+ )
110047
+ ]
110048
+ }
110049
+ ) }),
110050
+ ((me = n == null ? void 0 : n.attributes) == null ? void 0 : me.required) && /* @__PURE__ */ c("small", { className: "error", children: z === 1 && (R == null ? void 0 : R.length) === 0 ? (Te = n == null ? void 0 : n.validationMesssage) == null ? void 0 : Te[m == null ? void 0 : m.type] : "" }),
110051
+ /* @__PURE__ */ c("div", { className: "mt-3", children: /* @__PURE__ */ I(
110052
+ Qs,
110053
+ {
110054
+ value: R,
110055
+ emptyMessage: "No Files have been uploaded",
110056
+ children: [
110057
+ /* @__PURE__ */ c(gr, { field: "fileName", header: "Filename" }),
110058
+ /* @__PURE__ */ c(gr, { field: "fileSize", header: "Size" }),
110059
+ /* @__PURE__ */ c(gr, { field: "fileType", header: "type" }),
110060
+ /* @__PURE__ */ c(
110061
+ gr,
110062
+ {
110063
+ style: { width: "10%" },
110064
+ headerStyle: { textAlign: "center" },
110065
+ header: "Download",
110066
+ bodyStyle: { textAlign: "center", overflow: "visible" },
110067
+ body: (Pe) => ve(Pe)
110068
+ }
110069
+ ),
110070
+ x !== S && /* @__PURE__ */ c(
110071
+ gr,
110072
+ {
110073
+ style: { width: "10%" },
110074
+ headerStyle: { textAlign: "center" },
110075
+ bodyStyle: { textAlign: "center", overflow: "visible" },
110076
+ body: (Pe) => _e(Pe)
110077
+ }
110078
+ )
110079
+ ]
110080
+ }
110081
+ ) })
110082
+ ] })
110083
+ ] }),
110084
+ d && /* @__PURE__ */ c(we, { children: /* @__PURE__ */ c("div", { className: "col-6", children: /* @__PURE__ */ c(mi, { ...t }) }) })
110082
110085
  ] }),
110083
- d && /* @__PURE__ */ I(we, { children: [
110084
- /* @__PURE__ */ c("hr", {}),
110085
- /* @__PURE__ */ c(mi, { ...t })
110086
- ] })
110087
- ] })
110086
+ d && /* @__PURE__ */ c("hr", {})
110087
+ ]
110088
110088
  }
110089
110089
  )
110090
110090
  ] });
@@ -1,7 +1,7 @@
1
1
  var Bl = Object.defineProperty;
2
2
  var Ml = (n, t, e) => t in n ? Bl(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var T = (n, t, e) => Ml(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-whdWYZaD.js";
4
+ import { d as ti, i as Rr, a as Hi, b as Dl, e as Br, M as Ul, S as ei, U as si, g as ni, c as ri, f as fr, h as zs, j as $i, k as Vs, l as dr, m as Pl, n as jl, o as Fi, p as Hl, q as $l, r as Fl, s as zl, t as ii, u as Kl, v as Gl, w as Ft, x as zi, y as xe } from "./main-BUjQIvnD.js";
5
5
  function Ki(n) {
6
6
  return n;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cft-builder",
3
- "version": "0.2.328",
3
+ "version": "0.2.329",
4
4
  "type": "module",
5
5
  "types": "dist/types/index",
6
6
  "files": [