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{n as r,o as i}from"./axios-BDcMaxoP.js";import{t as a}from"./index.esm-D4i6w2dF.js";import{t as o}from"./input-C55Uc3oN.js";import{V as s}from"./ctiAxios-BejSO3uQ.js";import{t as c}from"./button-xukQsL9n.js";import{t as l}from"./select-dQ-XiIfN.js";import{t as u}from"./SearchOutlined-ouHQf-Hv.js";import{t as d}from"./tooltip-D0a9NNK5.js";import{n as f,t as p}from"./row-CaO7bYqu.js";import{t as m}from"./popconfirm-DSZyXnoJ.js";import{t as h}from"./CopyOutlined-DYcCtig4.js";import{t as g}from"./useMutation-BtpRmKbj.js";import{n as _}from"./DiscardChangesButton-gl7C8z1u.js";import{n as v}from"./RowLabelWithIcon-heAqbCix.js";import{t as y}from"./UndoOutlined-DAvTbx0c.js";import{t as b}from"./Loader-BvAKWCqv.js";import{D as x,F as S,I as C,Q as w,T,X as E,Z as D,ht as O,k,mt as A,ot as j,s as M}from"./index-D703b6hu.js";import{t as ee}from"./SaveButton-C_jME57P.js";import{r as N,t as P}from"./useFormIsActive-DyF3doLv.js";import{n as F,r as te,t as I}from"./CloseButton-BzLwE03Z.js";import{a as L,c as R,i as z,l as B,n as V,o as H,s as U,t as W,u as G}from"./CopyToClipboard-ZGM0sP8d.js";import{n as K}from"./Information-BXzTZc0Z.js";import{n as q}from"./indicatorsColumns-CZGaI0aK.js";var J=e(t()),Y=e(r());function ne(){let e=i();return g({mutationFn:({softCode:e,indicator:t})=>G(e,t),meta:{successMessage:`Indicateur enregistré`,errorMessage:`Erreur lors de l'enregistrement de l'indicateur`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:U.list(r.softCode)})}})}function re(){let e=i();return g({mutationFn:({softCode:e,oid:t})=>B(e,t),meta:{successMessage:`Indicateur supprimé`,errorMessage:`Erreur lors de la suppression de l'indicateur`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:U.list(r.softCode)})}})}function ie(){let e=i();return g({mutationFn:({softCode:e,oid:t})=>R(e,t),meta:{successMessage:`Indicateur copié`,errorMessage:`Erreur lors de la copie de l'indicateur`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:U.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)(j.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)(j.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}=x(),o=V(t,H(i).data??L),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)(j.Item,{name:`total_function`,children:(0,X.jsx)(E,{treeData:z(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)(D,{}),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)(j.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)(j.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}=x(),c=C().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)(j.Item,{name:`code`,children:(0,X.jsx)(o,{className:`indicator-form-input`})}),(0,X.jsx)(W,{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)(j.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)(j.Item,{name:`entete`,children:(0,X.jsx)(o.TextArea,{className:`indicator-form-input`})}),(0,X.jsx)(S,{title:`Nom de l'entéte de la colonne qui apparait dans le rapport`,children:(0,X.jsx)(K,{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)(j.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)(j.Item,{valuePropName:`checked`,name:`is_cti`,children:(0,X.jsx)(A,{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)(j.Item,{valuePropName:`checked`,name:`is_hide`,children:(0,X.jsx)(A,{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)(j.Item,{valuePropName:`checked`,name:`anonymized`,children:(0,X.jsx)(A,{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)(j.Item,{name:`dimensions`,children:(0,X.jsx)(E,{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=C().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)(S,{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)(D,{}),`Supprimer`]})}),(0,X.jsx)(F,{onConfirm:r,modified:e,disabled:!e||s}),(0,X.jsx)(ee,{onClick:n,toolTipTitle:`Enregistrer`,loading:s,disabled:!e}),(0,X.jsx)(I,{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=C(),c=H(o),l=ne(),u=re(),d=ie(),f=c.data??L,p=s.data?.session,[m]=j.useForm(),[h,g]=(0,J.useState)(!1),[_,v]=(0,J.useState)(),[y,b]=(0,J.useState)(),[x,S]=(0,J.useState)(),[w,T]=(0,J.useState)(),[E,D]=(0,J.useState)(null),[k,A]=(0,J.useState)(!1),[M,ee]=(0,J.useState)([]);(0,J.useEffect)(()=>{let t=r.find(t=>t.code===e.table_name);t&&T(t.dimensions)},[e,r]),(0,J.useEffect)(()=>{let t=G(e);m.setFieldsValue(t),v(t),b(K(e)),S(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&&(D(e),ee(W(t))),A(!k)},I=()=>{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})},V=()=>{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=``;x[e-1]&&(t=x[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:k,handleShowModal:()=>F(null),handleModifyIndicator:N,options:{oneOnly:!0},specifiedIndicators:M,joinedIndicatorIndex:E}),(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:V,handleReset:R,handleCopy:B,handleCloseEditor:i,handleDelete:z,isMutating:Z})}),(0,X.jsxs)(j,{className:`indicator-editor-form`,form:m,onValuesChange:I,disabled:P(e.is_cti,p),children:[(0,X.jsx)(`div`,{className:`indicator-tab-column`,children:(0,X.jsx)(O,{items:[{label:`Paramètre`,key:`1`,className:`scrollable-tab`,children:(0,X.jsx)(oe,{indicator:e,availableDimensions:w,indicatorDimensions:x,setIndicatorDimensions:S,handleChange:N})}]})}),e.code!==`CTI_SEP`&&(0,X.jsx)(`div`,{className:`indicator-tab-column`,children:(0,X.jsx)(O,{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)(M,{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=H(e),n=t.data??L,[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)([]),[x,C]=(0,J.useState)(!1),[E,D]=(0,J.useState)(!1),[O,A]=(0,J.useState)(``);return(0,J.useEffect)(()=>{l(null),i(!1),h(`100%`)},[n.indicators]),(0,J.useEffect)(()=>{let e=n.indicators.filter(e=>(!E||e.is_hide===!0)&&(!x||e.is_cti===!0));O&&(e=T(e,O,[`texte`,`column_name`,`code`,`entete`,`table`])),_(e)},[n.indicators,O,x,E]),t.isPending?(0,X.jsx)(`div`,{className:`loading-wrapper`,children:(0,X.jsx)(b,{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)(S,{title:`Actualiser`,children:(0,X.jsx)(c,{type:`link`,onClick:()=>{t.refetch()},children:(0,X.jsx)(y,{})})}),(0,X.jsx)(S,{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:O,onChange:e=>{A(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)(w,{size:`small`,checked:x,onChange:e=>{C(e)}}),(0,X.jsx)(`span`,{children:`Indicateurs CTI`})]}),(0,X.jsxs)(`div`,{className:`indicators__table-single-check`,children:[(0,X.jsx)(w,{size:`small`,checked:E,onChange:e=>{D(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)(k,{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};