test de déploiement du build depuis gitlab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
18 KiB

import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{a as r,n as i}from"./axios-BbX9YWYe.js";import{t as a}from"./index.esm-BWCs920B.js";import{t as o}from"./input-CAHxss7C.js";import{U as s}from"./notification-BAy1NkPD.js";import{t as c}from"./button-CGra0C8Y.js";import{t as l}from"./select-SSTpnrPj.js";import{t as u}from"./SearchOutlined-BTRNdCQU.js";import{t as d}from"./tooltip-C-n3SkGv.js";import{n as f,t as p}from"./row-4XqGKqJp.js";import{t as m}from"./popconfirm-Z3C_yxj0.js";import{t as h}from"./CopyOutlined-H2Q_iVe-.js";import{t as g}from"./useMutation-BZFnlhBo.js";import{t as _}from"./ConsoleSqlOutlined-CsHIitHW.js";import{n as v}from"./RowLabelWithIcon-C9cs-sLd.js";import{t as y}from"./UndoOutlined-eQ49Nx19.js";import{t as ee}from"./Loader-BunwQzlz.js";import{D as b,F as x,I as S,Q as C,T as w,X as T,Z as E,ht as D,k as O,mt as k,ot as A,s as j}from"./index-cqbbFfLv.js";import{t as M}from"./SaveButton-I18OHpZt.js";import{r as N,t as P}from"./useFormIsActive-DD4sKA_I.js";import{n as te,t as F}from"./CancelButton-CPkIvD2g.js";import{a as I,c as L,i as R,l as z,n as B,o as V,s as H,t as U,u as W}from"./CopyToClipboard-B60pn0Ok.js";import{n as G}from"./Information-Dvaqgobw.js";import{t as K}from"./CloseButton-Dkl0L-Ct.js";import{n as q}from"./indicatorsColumns-CHr83uXU.js";var J=e(t()),Y=e(i());function ne(){let e=r();return g({mutationFn:({softCode:e,indicator:t})=>W(e,t),meta:{successMessage:`Indicateur enregistré`,errorMessage:`Erreur lors de l'enregistrement de l'indicateur`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:H.list(r.softCode)})}})}function re(){let e=r();return g({mutationFn:({softCode:e,oid:t})=>z(e,t),meta:{successMessage:`Indicateur supprimé`,errorMessage:`Erreur lors de la suppression de l'indicateur`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:H.list(r.softCode)})}})}function ie(){let e=r();return g({mutationFn:({softCode:e,oid:t})=>L(e,t),meta:{successMessage:`Indicateur copié`,errorMessage:`Erreur lors de la copie de l'indicateur`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:H.list(r.softCode)})}})}var X=n(),ae=()=>(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Largeur`}),(0,X.jsx)(A.Item,{name:`width`,children:(0,X.jsx)(o,{className:`indicator-form-input`})})]}),(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Format de sortie`}),(0,X.jsx)(A.Item,{name:`output_format`,children:(0,X.jsx)(o,{className:`indicator-form-input`})})]})]})}),Z=({textAreaLastCursorPosition:e,indicator:t,handleShowModal:n,handleChange:r})=>{let{softCode:i,module:a}=b(),o=B(t,V(i).data??I),s=n=>{let i=``,a=e,o=`[`+n.associatedIndicatorIndex+`]`;i=t.column_name?e?t.column_name.slice(0,a)+o+t.column_name.slice(a):t.column_name+o:o,r({field:`column_name`,value:i})},l=(e=>{for(let[t,n]of Object.entries(e))if(/indicateur_associe_[\d]*_id/.test(t)&&n===`0`)return t;return null})(t);return(0,X.jsx)(X.Fragment,{children:(()=>{if(t.table_name&&!t.table_name.includes(`*CALC`))return(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Fonction 'total'`}),(0,X.jsx)(A.Item,{name:`total_function`,children:(0,X.jsx)(T,{treeData:R(a),size:`large`,treeDefaultExpandAll:!0,dropdownStyle:{maxHeight:400,overflow:`auto`},className:`indicator-form-input`,onChange:r})})]});{let e=o.map((e,i)=>(0,X.jsxs)(`li`,{className:`editor__database-joined-indicator-list`,children:[(0,X.jsxs)(`span`,{className:`editor__database-joined-indicator-list--key`,children:[`[`,e.associatedIndicatorIndex,`] - `]}),(0,X.jsx)(c,{type:`dashed`,onClick:()=>s(e),children:(0,X.jsx)(`span`,{children:e.code})}),(0,X.jsx)(d,{placement:`top`,title:`Modifier l'indicateur`,children:(0,X.jsx)(c,{type:`secondary`,icon:(0,X.jsx)(u,{}),onClick:()=>n(`indicateur_associe_${e.associatedIndicatorIndex}_id`,t)})}),(0,X.jsx)(d,{placement:`top`,title:`Supprimer l'indicateur`,children:(0,X.jsx)(c,{type:`danger`,icon:(0,X.jsx)(E,{}),className:`editor__database-joined-indicator--delete-button`,onClick:()=>r({field:`indicateur_associe_${e.associatedIndicatorIndex}_id`,value:`0`})})})]},i));return(0,X.jsx)(X.Fragment,{children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Indicateurs associés:`}),(0,X.jsxs)(`div`,{className:`editor__database-joined-indicator-block`,children:[o.length>0&&(0,X.jsx)(`ul`,{children:e}),o.length<=20&&(0,X.jsx)(c,{onClick:()=>n(l,t),children:`Ajouter`})]})]})})}})()})};Z.propTypes={textAreaLastCursorPosition:Y.default.oneOfType([Y.default.string,Y.default.number]),form:Y.default.object,indicator:Y.default.object,handleShowModal:Y.default.func,handleChange:Y.default.func};var Q=({tableOptions:e,form:t,indicator:n,handleShowModal:r,handleChange:i})=>{let[a,s]=(0,J.useState)(null),c=e=>{s(e.target.selectionStart)};return(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Table`}),(0,X.jsx)(A.Item,{name:`table_name`,children:(0,X.jsx)(l,{className:`indicator-form-input`,onChange:e=>i({field:`table_name`,value:e}),children:e})})]}),n.table_name!==``&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Code SQL`}),(0,X.jsx)(A.Item,{name:`column_name`,children:(0,X.jsx)(o.TextArea,{autoSize:{minRows:4},className:`editor__database-textArea`,onChange:e=>i({field:`column_name`,value:e.target.value}),onMouseLeave:e=>c(e)})})]}),n.total_function!==`*LISTANON`&&(0,X.jsx)(Z,{textAreaLastCursorPosition:a,form:t,indicator:n,handleShowModal:r,handleChange:i})]})]})})};Q.propTypes={tableOptions:Y.default.array,form:Y.default.object,indicator:Y.default.object,handleShowModal:Y.default.func};var oe=({indicator:e,availableDimensions:t,indicatorDimensions:n,setIndicatorDimensions:r,handleChange:i})=>{let{softCode:a}=b(),c=S().data?.session;return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Code`}),(0,X.jsx)(A.Item,{name:`code`,children:(0,X.jsx)(o,{className:`indicator-form-input`})}),(0,X.jsx)(U,{copiedText:e.code,type:`secondary`,style:{marginLeft:8,marginBottom:5}},e.oid)]})}),(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Nom`}),(0,X.jsx)(A.Item,{name:`texte`,children:(0,X.jsx)(o,{className:`indicator-form-input`})})]})}),(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Nom abrégé`}),(0,X.jsx)(A.Item,{name:`entete`,children:(0,X.jsx)(o.TextArea,{className:`indicator-form-input`})}),(0,X.jsx)(x,{title:`Nom de l'entéte de la colonne qui apparait dans le rapport`,children:(0,X.jsx)(G,{style:{marginLeft:6,marginBottom:-1,color:s.lightBlue}})})]})}),(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Description`}),(0,X.jsx)(A.Item,{name:`description`,children:(0,X.jsx)(o.TextArea,{className:`indicator-form-input`})})]})}),c.ISROLECTI&&(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Indicateur CTI`}),(0,X.jsx)(A.Item,{valuePropName:`checked`,name:`is_cti`,children:(0,X.jsx)(k,{size:`small`,onChange:e=>i({field:`is_cti`,value:e.target.checked})})})]})}),c.ISROLECTI&&a!==`iCTI_dpi`&&(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Indicateur masqué`}),(0,X.jsx)(A.Item,{valuePropName:`checked`,name:`is_hide`,children:(0,X.jsx)(k,{size:`small`,onChange:e=>i({field:`is_hide`,value:e.target.checked})})})]})}),(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Indicateur anonymisé`}),(0,X.jsx)(A.Item,{valuePropName:`checked`,name:`anonymized`,children:(0,X.jsx)(k,{size:`small`,onChange:t=>{let n={anonymized:t.target.checked};t.target.checked?(n.total_function=`*LISTANON`,e.table_name===`*CALC`&&(n.table_name=``)):n.total_function=`*LIST`,i({fieldsToEdit:n})},disabled:!c.ISROLECTI||!c.ISROLEADMIN})})]})}),a===`iCTI_activite`&&(0,X.jsx)(`div`,{className:`form-row`,children:(0,X.jsxs)(`div`,{className:`form-item`,children:[(0,X.jsx)(`span`,{className:`first-label`,children:`Dimension date`}),e.dimension_date===``||!e.dimension_date?(0,X.jsx)(A.Item,{name:`dimensions`,children:(0,X.jsx)(T,{treeData:t,value:n,multiple:!0,onChange:e=>{r(e)}})}):(0,X.jsx)(`span`,{children:e.dimension_date})]})})]})};oe.propTypes={setModified:Y.default.func,indicator:Y.default.object,availableDimensions:Y.default.array,setIndicatorDimensions:Y.default.func,handleChange:Y.default.func};var se=({modified:e,indicator:t,handleSubmit:n,handleReset:r,handleCopy:i,handleCloseEditor:a,handleDelete:o,isMutating:s=!1})=>{let l=S().data?.session,u=P(t.is_cti,l),d=t.oid===`-1`;return(0,X.jsxs)(`div`,{className:`editor-new-indicator-header`,children:[(0,X.jsx)(`div`,{className:`editor__header-title`,children:d?`Nouvel indicateur`:`Modifier l'indicateur`}),(0,X.jsxs)(`div`,{className:`editor-indicator-action-button`,children:[!d&&(0,X.jsx)(x,{title:`Copier l'indicateur`,children:(0,X.jsx)(c,{size:`default`,icon:(0,X.jsx)(h,{}),onClick:i,loading:s,children:`Copier`})}),!d&&l?.ISROLECTI&&(0,X.jsx)(c,{size:`default`,icon:(0,X.jsx)(_,{}),onClick:()=>N(t.module,t.oid),children:`SQL`}),!d&&(0,X.jsx)(m,{title:`Voulez-vous vraiment supprimer cet indicateur ?`,okText:`Supprimer`,okButtonProps:{danger:!0},cancelText:`Annuler`,onConfirm:o,disabled:u||s,children:(0,X.jsxs)(c,{danger:!0,disabled:u||s,children:[(0,X.jsx)(E,{}),`Supprimer`]})}),(0,X.jsx)(F,{onConfirm:r,modified:e,disabled:!e||s}),(0,X.jsx)(M,{onClick:n,toolTipTitle:`Enregistrer`,loading:s,disabled:!e}),(0,X.jsx)(K,{onConfirm:a,modified:e,disabled:s})]})]})};se.propTypes={modified:Y.default.bool,indicator:Y.default.object,handleSubmit:Y.default.func,handleReset:Y.default.func,handleCopy:Y.default.func,handleCloseEditor:Y.default.func,handleDelete:Y.default.func,isMutating:Y.default.bool};var{Option:ce}=l,$=({indicator:e,setIndicator:t,showEditor:n,tables:r,handleCloseEditor:i,themes:a,module:o})=>{let s=S(),c=V(o),l=ne(),u=re(),d=ie(),f=c.data??I,p=s.data?.session,[m]=A.useForm(),[h,g]=(0,J.useState)(!1),[_,v]=(0,J.useState)(),[y,ee]=(0,J.useState)(),[b,x]=(0,J.useState)(),[C,w]=(0,J.useState)(),[T,E]=(0,J.useState)(null),[O,k]=(0,J.useState)(!1),[j,M]=(0,J.useState)([]);(0,J.useEffect)(()=>{let t=r.find(t=>t.code===e.table_name);t&&w(t.dimensions)},[e,r]),(0,J.useEffect)(()=>{let t=G(e);m.setFieldsValue(t),v(t),ee(K(e)),x(q(e))},[e,f.indicators]);let N=({value:n,field:r,fieldsToEdit:i})=>{g(!0);let a=JSON.parse(JSON.stringify(e)),o=m.getFieldsValue();for(let e in o)a[e]=o[e];let s={...a};if(r&&n&&(s={...a,[r]:n}),i){for(let e in i)a[e]=i[e];s={...a,fieldsToEdit:i}}t({...s})},F=(e=null,t)=>{e&&(E(e),M(W(t))),k(!O)},L=()=>{g(!0)},R=()=>{m.setFieldsValue(_),g(!1)},z=()=>{u.mutate({softCode:e.module,oid:e.oid},{onSuccess:()=>i()})},B=()=>{d.mutate({softCode:e.module,oid:e.oid})},H=()=>{let t=U(e,m);l.mutate({softCode:e.module,indicator:t},{onSuccess:()=>g(!1)})},U=(e,t)=>{let n=t.getFieldsValue();for(let e in n)n[e]===!0?n[e]=`1`:n[e]===!1?n[e]=`0`:n[e]||(n[e]=``);let r=Y(a);for(let e=1;e<=6;e++){let t=`0`;y[e-1]&&(t=r.find(t=>t.value===y[e-1]).data),n[`theme_${e}_id`]=t}for(let e=1;e<=5;e++){let t=``;b[e-1]&&(t=b[e-1].toString()),n[`dimension_date_${e}`]=t}let i={...e,...n};return delete i.dimensions,delete i.themes,delete i.anonymized,delete i.themesSearch,delete i.is_new,i},W=e=>{let t=[];for(let[n,r]of Object.entries(e))/indicateur_associe_[\d]*_id/.test(n)&&r!==`0`&&t.push(r);let n=f.indicators.filter(e=>!t.includes(e.oid)).filter(t=>![e.oid].includes(t.oid));return n.length>0?n:[]};function G(t){let n=m.getFieldsValue();for(let e in n)n[e]=null;return n.table_name=r[0].code,{...n,...e}}function K(e){let t=[],n=Y(a);return e.themes.forEach(e=>{let r=n.find(t=>t.data===e);r&&t.push(r.value)}),t}function q(e){let t=[],n=r.find(t=>t.code===e.table_name);return e?.dimensions.forEach(e=>{let r=n?.dimensions.find(t=>t.value===e);r&&t.push(r.value)}),t}function Y(e){let t=[];return e.forEach(e=>{let n={...e};n.children&&(t=t.concat(Y(n.children)),delete n.children),t.push(n)}),t}let Z=l.isPending||u.isPending||d.isPending,$=r.map((e,t)=>(0,X.jsx)(ce,{value:e.code,children:e.texte},t));return e.total_function===`*LISTANON`&&($=$.filter(e=>e.props.value!==`*CALC`)),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(te,{showModal:O,handleShowModal:()=>F(null),handleModifyIndicator:N,options:{oneOnly:!0},specifiedIndicators:j,joinedIndicatorIndex:T}),(0,X.jsxs)(`div`,{className:`editor-indicator-editor`,style:{display:n?`flex`:`none`},children:[(0,X.jsx)(`div`,{className:`editor-indicator-header `,children:(0,X.jsx)(se,{modified:h,indicator:e,handleSubmit:H,handleReset:R,handleCopy:B,handleCloseEditor:i,handleDelete:z,isMutating:Z})}),(0,X.jsxs)(A,{className:`indicator-editor-form`,form:m,onValuesChange:L,disabled:P(e.is_cti,p),children:[(0,X.jsx)(`div`,{className:`indicator-tab-column`,children:(0,X.jsx)(D,{items:[{label:`Paramètre`,key:`1`,className:`scrollable-tab`,children:(0,X.jsx)(oe,{indicator:e,availableDimensions:C,indicatorDimensions:b,setIndicatorDimensions:x,handleChange:N})}]})}),e.code!==`CTI_SEP`&&(0,X.jsx)(`div`,{className:`indicator-tab-column`,children:(0,X.jsx)(D,{items:[{label:`Base de donnée`,key:`1`,className:`scrollable-tab`,children:(0,X.jsx)(Q,{tableOptions:$,form:m,indicator:e,handleShowModal:F,handleChange:N})},{label:`Présentation`,key:`2`,className:`scrollable-tab`,children:(0,X.jsx)(ae,{})}]})})]})]})]})};$.propTypes={indicator:Y.default.object,setIndicator:Y.default.func,showEditor:Y.default.bool,tables:Y.default.arrayOf(Y.default.object),handleCloseEditor:Y.default.func,themes:Y.default.arrayOf(Y.default.object),module:Y.default.string};var le=J.memo(({tables:e,selectedRow:t,handleSelectedRow:n,module:r,tableData:i,loading:a})=>(0,X.jsx)(j,{columns:q(r,e),data:i,loading:a,selectedRow:t,onRowSelect:n,rowClassName:({columns:e,rowData:t,rowIndex:n})=>{let r=``;return t.is_hide&&(r+=`settings__rowTable-inactive`),n%2==0&&(r+=` even-row`),r}})),ue=({softCode:e})=>{let t=V(e),n=t.data??I,[r,i]=(0,J.useState)(!1),[s,l]=(0,J.useState)(null),[u,d]=(0,J.useState)(null),[m,h]=(0,J.useState)(`100%`),[g,_]=(0,J.useState)([]),[b,S]=(0,J.useState)(!1),[T,E]=(0,J.useState)(!1),[D,k]=(0,J.useState)(``);return(0,J.useEffect)(()=>{l(null),i(!1),h(`100%`)},[n.indicators]),(0,J.useEffect)(()=>{let e=n.indicators.filter(e=>(!T||e.is_hide===!0)&&(!b||e.is_cti===!0));D&&(e=w(e,D,[`texte`,`column_name`,`code`,`entete`,`table`])),_(e)},[n.indicators,D,b,T]),t.isPending?(0,X.jsx)(`div`,{className:`loading-wrapper`,children:(0,X.jsx)(ee,{style:{height:`auto`}})}):(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(a,{children:(0,X.jsx)(`title`,{children:`iCTI | Gestion des indicateurs`})}),(0,X.jsxs)(`div`,{className:`component-header`,children:[(0,X.jsx)(`div`,{className:`header-title`,children:`Gestion des indicateurs`}),(0,X.jsxs)(`div`,{className:`header-actions`,children:[(0,X.jsx)(x,{title:`Actualiser`,children:(0,X.jsx)(c,{type:`link`,onClick:()=>{t.refetch()},children:(0,X.jsx)(y,{})})}),(0,X.jsx)(x,{title:`Créer un nouvel indicateur`,children:(0,X.jsx)(c,{size:`default`,type:`primary`,icon:(0,X.jsx)(v,{}),onClick:()=>{d({softCode:e,oid:`-1`,themes:[],dimensions:[],custom_total_function:``,indicateur_associe_1_id:`0`,indicateur_associe_2_id:`0`,indicateur_associe_3_id:`0`,indicateur_associe_4_id:`0`,indicateur_associe_5_id:`0`,indicateur_associe_6_id:`0`,table_name:``,total_function:`*LIST`,is_new:!0,is_cti:!1,is_hide:!1}),l(null),i(!0),h(`55%`)},children:`Ajouter un indicateur`})})]})]}),(0,X.jsx)(`div`,{className:`settings-filters`,children:(0,X.jsxs)(p,{children:[(0,X.jsx)(f,{span:12,children:(0,X.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10},children:(0,X.jsxs)(`div`,{className:`settings-search`,children:[(0,X.jsx)(`span`,{style:{minWidth:161},children:`Filtre`}),(0,X.jsx)(o,{className:`search-input`,placeholder:`Recherche`,value:D,onChange:e=>{k(e.target.value)},style:{width:`50%`}})]})})}),(0,X.jsx)(f,{span:12,children:(0,X.jsxs)(`div`,{className:`indicators__table-check`,children:[(0,X.jsx)(`span`,{children:`Afficher uniquement :`}),(0,X.jsxs)(`div`,{className:`indicators__table-single-check`,children:[(0,X.jsx)(C,{size:`small`,checked:b,onChange:e=>{S(e)}}),(0,X.jsx)(`span`,{children:`Indicateurs CTI`})]}),(0,X.jsxs)(`div`,{className:`indicators__table-single-check`,children:[(0,X.jsx)(C,{size:`small`,checked:T,onChange:e=>{E(e)}}),(0,X.jsx)(`span`,{children:`Indicateurs masqués`})]})]})})]})}),(0,X.jsx)(`div`,{className:`component-content`,children:(0,X.jsxs)(`div`,{className:`indicators-tab`,children:[(0,X.jsx)(O,{className:`tables-table`,axis:`x`,handleComponent:{bottom:(0,X.jsx)(`div`,{className:`resize-handle`,style:{marginBottom:8},children:(0,X.jsx)(`span`,{children:``})})},enable:{top:!1,right:!1,bottom:!0,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},size:{width:`100%`,height:m},onResizeStop:e=>{h(m+e.height)},children:(0,X.jsx)(le,{tables:n.tables,selectedRow:s,handleSelectedRow:e=>{let t=n.indicators.find(t=>t.key===e);t.anonymized=t.total_function===`*LISTANON`,l(t),i(!0),h(`55%`),d(t)},softCode:e,tableData:g,loading:t.isFetching})}),r&&(0,X.jsx)($,{indicator:u,setIndicator:d,showEditor:r,tables:n.tables,themes:n.themes,handleCloseEditor:()=>{l(null),i(!1),h(`100%`)},softCode:e})]})})]})};ue.propTypes={softCode:Y.default.string};var de=J.memo(ue);export{de as default};