Browse Source

JIS Release v26.9.1

master
Bender 1 week ago
parent
commit
2c7a1c755c
152 changed files with 1124 additions and 1124 deletions
  1. +812
    -812
      .vite/manifest.json
  2. +1
    -1
      assets/ActionButton-C-auIQS0.js
  3. +1
    -1
      assets/ArrowLeftOutlined-Be9M8IUd.js
  4. +1
    -1
      assets/BaseActionButton-Da1uVM0x.js
  5. +0
    -5
      assets/CancelButton-N63wgEAp.js
  6. +5
    -0
      assets/CancelButton-rBN4jacc.js
  7. +3
    -3
      assets/Charts-DRUSdI5G.js
  8. +1
    -1
      assets/Checkbox-DaffYDjq.js
  9. +1
    -1
      assets/ClassesManager-DdjWwxAI.js
  10. +1
    -1
      assets/CloseButton-B2X9zY4u.js
  11. +3
    -3
      assets/ColorPicker-3vU9rt-8.js
  12. +1
    -1
      assets/ConsoleSqlOutlined-xZVyeJFJ.js
  13. +0
    -4
      assets/CopiloteWidget-8tr24tid.js
  14. +4
    -0
      assets/CopiloteWidget-BLnZL_7W.js
  15. +0
    -1
      assets/CopiloteWidget-C9V2J0rR.css
  16. +1
    -0
      assets/CopiloteWidget-DUuLDpRf.css
  17. +1
    -1
      assets/CopyOutlined-DaVzY812.js
  18. +1
    -1
      assets/CopyToClipboard-BUzlsu7g.js
  19. +1
    -1
      assets/Debug-6bSxXtnl.js
  20. +1
    -1
      assets/DiscardChangesButton-B-gDuJCC.js
  21. +1
    -1
      assets/DownloadOutlined-BPVvN91B.js
  22. +1
    -0
      assets/ExpertControlsSettings-D7UpGpT4.js
  23. +0
    -1
      assets/ExpertControlsSettings-DlJ1grXs.js
  24. +1
    -1
      assets/Exploit-f57GXKKx.js
  25. +1
    -1
      assets/FavoritesEditor-DoQrJVWH.js
  26. +0
    -4
      assets/Import-BAcCnLkA.js
  27. +4
    -0
      assets/Import-BLt5uC8k.js
  28. +1
    -1
      assets/ImportOutlined-CJMN8fnX.js
  29. +1
    -0
      assets/IndicatorsManager-B78y0WGi.js
  30. +0
    -1
      assets/IndicatorsManager-C97uTR6j.js
  31. +1
    -1
      assets/LeftSquareOutlined-CPEKio_w.js
  32. +1
    -1
      assets/LicencesManager-RvJhOqgt.js
  33. +0
    -1
      assets/ListesManagers-BTFrAIYL.js
  34. +1
    -0
      assets/ListesManagers-D2qt0rm8.js
  35. +0
    -1
      assets/Loader-DwTdyGS9.js
  36. +1
    -0
      assets/Loader-DwXJ8Se3.js
  37. +1
    -1
      assets/MessageOutlined-DbxNuxex.js
  38. +1
    -1
      assets/OvalideImports-BOC8EUvV.js
  39. +1
    -1
      assets/PasswordManager-BKsqrYey.js
  40. +1
    -1
      assets/PresentationManager-BxKrHO9Y.js
  41. +3
    -0
      assets/ReportsManager-7hEOoMoK.js
  42. +0
    -3
      assets/ReportsManager-CPBru-Ye.js
  43. +1
    -1
      assets/ResetButton-DwwRaJH2.js
  44. +1
    -1
      assets/RightSquareOutlined-79l4X31l.js
  45. +1
    -1
      assets/RowLabelWithIcon-DKaqYrFi.js
  46. +0
    -1
      assets/SalarieVentilationEditor-B92HIJJU.js
  47. +1
    -0
      assets/SalarieVentilationEditor-BAv2vip0.js
  48. +1
    -1
      assets/SalarieVentilationListing-D-FrMBaX.js
  49. +1
    -0
      assets/SaveButton-B7oEAcu-.js
  50. +0
    -1
      assets/SaveButton-CYK544Bz.js
  51. +1
    -1
      assets/SaveOutlined-CKknbpWq.js
  52. +29
    -0
      assets/SearchOutlined-BPqyJBOP.js
  53. +0
    -29
      assets/SearchOutlined-BrX-N3ET.js
  54. +1
    -1
      assets/Simulations-Dnn5166S.js
  55. +1
    -1
      assets/SpecSynchronize-D0Agdx8k.js
  56. +1
    -1
      assets/Synchronize-BCphLJ6n.js
  57. +6
    -0
      assets/TablesManager-BlFadPbF.js
  58. +0
    -6
      assets/TablesManager-CYF7GPCo.js
  59. +1
    -1
      assets/UndoOutlined-DS5JVKPM.js
  60. +0
    -1
      assets/UserManager-Bh1v79Eu.js
  61. +1
    -0
      assets/UserManager-_Pw6fmw0.js
  62. +1
    -1
      assets/ValoImports-BZq8Q45l.js
  63. +1
    -1
      assets/WarningFilled-G1Llf5rq.js
  64. +1
    -1
      assets/_assignValue-CtYsImY2.js
  65. +1
    -1
      assets/_baseIsEqual-B73sS91y.js
  66. +0
    -1
      assets/_baseMap-DcFd_3qT.js
  67. +1
    -0
      assets/_baseMap-olRIsrjP.js
  68. +1
    -1
      assets/_getTag-DqJrwfM-.js
  69. +0
    -77
      assets/axios-BAZB3l2q.js
  70. +77
    -0
      assets/axios-DOscJEDN.js
  71. +4
    -0
      assets/button-BMyidN73.js
  72. +0
    -4
      assets/button-BwrlrBF7.js
  73. +1
    -1
      assets/chunk-62JRHF6Z-Dyzu9RRG.js
  74. +1
    -1
      assets/cloneDeep-CXH354lv.js
  75. +0
    -1
      assets/colors-CMelTKY2.js
  76. +5
    -5
      assets/context-CO1J1AvK.js
  77. +2
    -2
      assets/ctiAxios-CDlE51TE.js
  78. +1
    -0
      assets/dropdown-D9KQHt_A.js
  79. +0
    -1
      assets/dropdown-DqL7jLhe.js
  80. +2
    -2
      assets/es-0LFFyZEl.js
  81. +1
    -1
      assets/es-CP2TylOl.js
  82. +0
    -1
      assets/es-ClAAiKbx.js
  83. +1
    -1
      assets/es-DVLNHcCS.js
  84. +1
    -0
      assets/es-vi4YRbrb.js
  85. +1
    -0
      assets/favoritesAdapter-BGKoD59H.js
  86. +0
    -1
      assets/favoritesAdapter-DV2HaU62.js
  87. +1
    -1
      assets/filterByCode-BHatCYW2.js
  88. +0
    -0
      assets/getDataOrAriaProps-lBkoLCFd.js
  89. +3
    -3
      assets/getScrollBarSize-Dv59m4MX.js
  90. +0
    -1
      assets/iconUtil-C0UXmWOf.js
  91. +1
    -0
      assets/iconUtil-CvNpmAMh.js
  92. +1
    -1
      assets/importColumn-CY1VPPWt.js
  93. +4
    -0
      assets/index-BocemapU.js
  94. +0
    -4
      assets/index-vzToGWaQ.js
  95. +1
    -1
      assets/indicatorsColumns-BM24jdvH.js
  96. +12
    -0
      assets/input-Yn95s9T0.js
  97. +0
    -12
      assets/input-vY_ggPFq.js
  98. +0
    -0
      assets/isObject-CrYMdqJr.js
  99. +1
    -1
      assets/jspdf.es.min-BnKNav1y.js
  100. +1
    -1
      assets/logs.queries-7Ij4dy4e.js

+ 812
- 812
.vite/manifest.json
File diff suppressed because it is too large
View File


assets/ActionButton-DczrKNM4.js → assets/ActionButton-C-auIQS0.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{$n as n,er as r,ot as i,st as a}from"./axios-BAZB3l2q.js";import{n as o,t as s}from"./slicedToArray-BQ1tPSGY.js";import{n as c,t as l}from"./button-BwrlrBF7.js";r(),o(),i();var u=e(t());function d(e){return!!(e&&e.then)}var f=function(e){var t=u.useRef(!1),r=u.useRef(null),i=s(a(!1),2),o=i[0],f=i[1],p=e.close,m=function(){p?.apply(void 0,arguments)};u.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;(e=r.current)==null||e.focus()})),function(){t&&clearTimeout(t)}},[]);var h=function(e){d(e)&&(f(!0),e.then(function(){f(!1,!0),m.apply(void 0,arguments),t.current=!1},function(e){return f(!1,!0),t.current=!1,Promise.reject(e)}))},g=function(n){var r=e.actionFn;if(!t.current){if(t.current=!0,!r){m();return}var i;if(e.emitEvent){if(i=r(n),e.quitOnNullishReturnValue&&!d(i)){t.current=!1,m(n);return}}else if(r.length)i=r(p),t.current=!1;else if(i=r(),!i){m();return}h(i)}},_=e.type,v=e.children,y=e.prefixCls,b=e.buttonProps;return u.createElement(l,n({},c(_),{onClick:g,loading:o,prefixCls:y},b,{ref:r}),v)};export{f as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{dt as n,ir as r,rr as i,ut as a}from"./axios-DOscJEDN.js";import{n as o,t as s}from"./slicedToArray-BQ1tPSGY.js";import{n as c,t as l}from"./button-BMyidN73.js";r(),o(),a();var u=e(t());function d(e){return!!(e&&e.then)}var f=function(e){var t=u.useRef(!1),r=u.useRef(null),a=s(n(!1),2),o=a[0],f=a[1],p=e.close,m=function(){p?.apply(void 0,arguments)};u.useEffect(function(){var t=null;return e.autoFocus&&(t=setTimeout(function(){var e;(e=r.current)==null||e.focus()})),function(){t&&clearTimeout(t)}},[]);var h=function(e){d(e)&&(f(!0),e.then(function(){f(!1,!0),m.apply(void 0,arguments),t.current=!1},function(e){return f(!1,!0),t.current=!1,Promise.reject(e)}))},g=function(n){var r=e.actionFn;if(!t.current){if(t.current=!0,!r){m();return}var i;if(e.emitEvent){if(i=r(n),e.quitOnNullishReturnValue&&!d(i)){t.current=!1,m(n);return}}else if(r.length)i=r(p),t.current=!1;else if(i=r(),!i){m();return}h(i)}},_=e.type,v=e.children,y=e.prefixCls,b=e.buttonProps;return u.createElement(l,i({},c(_),{onClick:g,loading:o,prefixCls:y},b,{ref:r}),v)};export{f as t};

assets/ArrowLeftOutlined-ClkO97bF.js → assets/ArrowLeftOutlined-Be9M8IUd.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`arrow-left`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z`}}]},name:`arrow-left`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

assets/BaseActionButton-CDIm59Eb.js → assets/BaseActionButton-Da1uVM0x.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./button-BwrlrBF7.js";import{t as i}from"./prop-types-CEsF4M7J.js";import{t as a}from"./modal-ChM3JDNH.js";import{t as o}from"./popconfirm-skTHAEtZ.js";import{I as s}from"./index-vzToGWaQ.js";var c=e(i()),l=n(),u=({toolTipTitle:e,children:t})=>e?(0,l.jsx)(s,{title:e,children:t}):t;u.propTypes={toolTipTitle:c.default.string,children:c.default.node.isRequired};var d=e(t()),f=({withModalConfirm:e,withPopConfirm:t,confirmTitle:n,okText:r,cancelText:i,disabled:s,onConfirm:c,children:u})=>{let f=()=>{a.confirm({title:n,okText:r,cancelText:i,onOk:c,centered:!0,width:450})};return e?d.cloneElement(u,{onClick:()=>{s||f()}}):t?(0,l.jsx)(o,{title:n,onConfirm:c,okText:r,cancelText:i,disabled:s,children:u}):u};f.propTypes={withPopConfirm:c.default.bool,withModalConfirm:c.default.bool,confirmTitle:c.default.string,okText:c.default.string,cancelText:c.default.string,disabled:c.default.bool,onConfirm:c.default.func.isRequired,children:c.default.node.isRequired};var p=({icon:e,onClick:t,disabled:n=!1,type:i=`primary`,loading:a=!1,toolTipTitle:o=``,withPopConfirm:s=!1,withModalConfirm:c=!1,confirmTitle:d=`Confirmez-vous cette action ?`,okText:p=`Oui`,cancelText:m=`Annuler`,children:h,...g})=>(0,l.jsx)(u,{toolTipTitle:o,children:(0,l.jsx)(f,{withModalConfirm:c,withPopConfirm:s,confirmTitle:d,okText:p,cancelText:m,disabled:n,onConfirm:t,children:(0,l.jsx)(r,{type:i,icon:e,loading:a,onClick:!s&&!c?t:void 0,disabled:n,...g,children:h})})});p.propTypes={icon:c.default.node,onClick:c.default.func.isRequired,disabled:c.default.bool,type:c.default.string,toolTipTitle:c.default.string,loading:c.default.bool,withConfirm:c.default.bool,withModalConfirm:c.default.bool,confirmTitle:c.default.string,okText:c.default.string,cancelText:c.default.string,children:c.default.node};export{p as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./button-BMyidN73.js";import{t as i}from"./modal-BdqOHno9.js";import{t as a}from"./popconfirm-DHVG0Jca.js";import{t as o}from"./prop-types-eZYknsgO.js";import{I as s}from"./index-BocemapU.js";var c=e(o()),l=n(),u=({toolTipTitle:e,children:t})=>e?(0,l.jsx)(s,{title:e,children:t}):t;u.propTypes={toolTipTitle:c.default.string,children:c.default.node.isRequired};var d=e(t()),f=({withModalConfirm:e,withPopConfirm:t,confirmTitle:n,okText:r,cancelText:o,disabled:s,onConfirm:c,children:u})=>{let f=()=>{i.confirm({title:n,okText:r,cancelText:o,onOk:c,centered:!0,width:450})};return e?d.cloneElement(u,{onClick:()=>{s||f()}}):t?(0,l.jsx)(a,{title:n,onConfirm:c,okText:r,cancelText:o,disabled:s,children:u}):u};f.propTypes={withPopConfirm:c.default.bool,withModalConfirm:c.default.bool,confirmTitle:c.default.string,okText:c.default.string,cancelText:c.default.string,disabled:c.default.bool,onConfirm:c.default.func.isRequired,children:c.default.node.isRequired};var p=({icon:e,onClick:t,disabled:n=!1,type:i=`primary`,loading:a=!1,toolTipTitle:o=``,withPopConfirm:s=!1,withModalConfirm:c=!1,confirmTitle:d=`Confirmez-vous cette action ?`,okText:p=`Oui`,cancelText:m=`Annuler`,children:h,...g})=>(0,l.jsx)(u,{toolTipTitle:o,children:(0,l.jsx)(f,{withModalConfirm:c,withPopConfirm:s,confirmTitle:d,okText:p,cancelText:m,disabled:n,onConfirm:t,children:(0,l.jsx)(r,{type:i,icon:e,loading:a,onClick:!s&&!c?t:void 0,disabled:n,...g,children:h})})});p.propTypes={icon:c.default.node,onClick:c.default.func.isRequired,disabled:c.default.bool,type:c.default.string,toolTipTitle:c.default.string,loading:c.default.bool,withConfirm:c.default.bool,withModalConfirm:c.default.bool,confirmTitle:c.default.string,okText:c.default.string,cancelText:c.default.string,children:c.default.node};export{p as t};

+ 0
- 5
assets/CancelButton-N63wgEAp.js
File diff suppressed because it is too large
View File


+ 5
- 0
assets/CancelButton-rBN4jacc.js
File diff suppressed because it is too large
View File


assets/Charts-DRUSdI5G.js
File diff suppressed because it is too large
View File


assets/Checkbox-DOtAK0l9.js → assets/Checkbox-DaffYDjq.js View File

@ -1 +1 @@
import{a as e,t}from"./chunk-jRWAZmH_.js";import{n}from"./jsx-runtime-CEixWuwE.js";import{In as r}from"./axios-BAZB3l2q.js";import{Q as i,Z as a,mt as o,pt as s}from"./index-vzToGWaQ.js";import{E as c,T as l,_ as u,g as d,i as f,n as p,t as m,w as h,y as g}from"./context-Cq8Lat8K.js";var _=t((e=>{var t=c().default,o=i().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=e.GroupContext=void 0;var s=o(a()),d=o(l()),f=o(u()),m=o(h()),_=o(r()),y=o(g()),b=t(n()),x=p(),S=o(v()),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},w=e.GroupContext=b.createContext(null),T=b.forwardRef(function(e,t){var n=e.defaultValue,r=e.children,i=e.options,a=i===void 0?[]:i,o=e.prefixCls,c=e.className,l=e.style,u=e.onChange,p=C(e,[`defaultValue`,`children`,`options`,`prefixCls`,`className`,`style`,`onChange`]),h=b.useContext(x.ConfigContext),g=h.getPrefixCls,v=h.direction,T=b.useState(p.value||n||[]),E=(0,m.default)(T,2),D=E[0],O=E[1],k=b.useState([]),A=(0,m.default)(k,2),j=A[0],M=A[1];b.useEffect(function(){`value`in p&&O(p.value||[])},[p.value]);var N=function(){return a.map(function(e){return typeof e==`string`||typeof e==`number`?{label:e,value:e}:e})},P=function(e){M(function(t){return t.filter(function(t){return t!==e})})},F=function(e){M(function(t){return[].concat((0,f.default)(t),[e])})},I=function(e){var t=D.indexOf(e.value),n=(0,f.default)(D);t===-1?n.push(e.value):n.splice(t,1),`value`in p||O(n);var r=N();u?.(n.filter(function(e){return j.includes(e)}).sort(function(e,t){return r.findIndex(function(t){return t.value===e})-r.findIndex(function(e){return e.value===t})}))},L=g(`checkbox`,o),R=`${L}-group`,z=(0,y.default)(p,[`value`,`disabled`]);a&&a.length>0&&(r=N().map(function(e){return b.createElement(S.default,{prefixCls:L,key:e.value.toString(),disabled:`disabled`in e?e.disabled:p.disabled,value:e.value,checked:D.includes(e.value),onChange:e.onChange,className:`${R}-item`,style:e.style},e.label)}));var B={toggleOption:I,value:D,disabled:p.disabled,name:p.name,registerValue:F,cancelValue:P},V=(0,_.default)(R,(0,d.default)({},`${R}-rtl`,v===`rtl`),c);return b.createElement(`div`,(0,s.default)({className:V,style:l},z,{ref:t}),b.createElement(w.Provider,{value:B},r))});e.default=b.memo(T)})),v=t((t=>{var u=c().default,h=i().default;Object.defineProperty(t,`__esModule`,{value:!0}),t.default=void 0;var g=h(l()),v=h(a()),y=h(r()),b=h((o(),e(s))),x=u(n()),S=x,C=p(),w=m();h(d());var T=_(),E=h(f()),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};t.default=S.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.children,a=e.indeterminate,o=a===void 0?!1:a,s=e.style,c=e.onMouseEnter,l=e.onMouseLeave,u=e.skipGroup,d=u===void 0?!1:u,f=e.disabled,p=D(e,[`prefixCls`,`className`,`children`,`indeterminate`,`style`,`onMouseEnter`,`onMouseLeave`,`skipGroup`,`disabled`]),m=S.useContext(C.ConfigContext),h=m.getPrefixCls,_=m.direction,O=S.useContext(T.GroupContext),k=(0,x.useContext)(w.FormItemInputContext).isFormItemInput,A=(0,x.useContext)(E.default),j=(O?.disabled||f)??A,M=S.useRef(p.value);S.useEffect(function(){O?.registerValue(p.value)},[]),S.useEffect(function(){if(!d)return p.value!==M.current&&(O?.cancelValue(M.current),O?.registerValue(p.value),M.current=p.value),function(){return O?.cancelValue(p.value)}},[p.value]);var N=h(`checkbox`,n),P=(0,v.default)({},p);O&&!d&&(P.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),O.toggleOption&&O.toggleOption({label:i,value:p.value})},P.name=O.name,P.checked=O.value.includes(p.value));var F=(0,y.default)((0,g.default)((0,g.default)((0,g.default)((0,g.default)((0,g.default)({},`${N}-wrapper`,!0),`${N}-rtl`,_===`rtl`),`${N}-wrapper-checked`,P.checked),`${N}-wrapper-disabled`,j),`${N}-wrapper-in-form-item`,k),r),I=(0,y.default)((0,g.default)({},`${N}-indeterminate`,o)),L=o?`mixed`:void 0;return S.createElement(`label`,{className:F,style:s,onMouseEnter:c,onMouseLeave:l},S.createElement(b.default,(0,v.default)({"aria-checked":L},P,{prefixCls:N,className:I,disabled:j,ref:t})),i!==void 0&&S.createElement(`span`,null,i))})}));export{v as t};
import{a as e,t}from"./chunk-jRWAZmH_.js";import{n}from"./jsx-runtime-CEixWuwE.js";import{Bn as r}from"./axios-DOscJEDN.js";import{Q as i,Z as a,mt as o,pt as s}from"./index-BocemapU.js";import{E as c,T as l,_ as u,g as d,i as f,n as p,t as m,w as h,y as g}from"./context-CO1J1AvK.js";var _=t((e=>{var t=c().default,o=i().default;Object.defineProperty(e,`__esModule`,{value:!0}),e.default=e.GroupContext=void 0;var s=o(a()),d=o(l()),f=o(u()),m=o(h()),_=o(r()),y=o(g()),b=t(n()),x=p(),S=o(v()),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},w=e.GroupContext=b.createContext(null),T=b.forwardRef(function(e,t){var n=e.defaultValue,r=e.children,i=e.options,a=i===void 0?[]:i,o=e.prefixCls,c=e.className,l=e.style,u=e.onChange,p=C(e,[`defaultValue`,`children`,`options`,`prefixCls`,`className`,`style`,`onChange`]),h=b.useContext(x.ConfigContext),g=h.getPrefixCls,v=h.direction,T=b.useState(p.value||n||[]),E=(0,m.default)(T,2),D=E[0],O=E[1],k=b.useState([]),A=(0,m.default)(k,2),j=A[0],M=A[1];b.useEffect(function(){`value`in p&&O(p.value||[])},[p.value]);var N=function(){return a.map(function(e){return typeof e==`string`||typeof e==`number`?{label:e,value:e}:e})},P=function(e){M(function(t){return t.filter(function(t){return t!==e})})},F=function(e){M(function(t){return[].concat((0,f.default)(t),[e])})},I=function(e){var t=D.indexOf(e.value),n=(0,f.default)(D);t===-1?n.push(e.value):n.splice(t,1),`value`in p||O(n);var r=N();u?.(n.filter(function(e){return j.includes(e)}).sort(function(e,t){return r.findIndex(function(t){return t.value===e})-r.findIndex(function(e){return e.value===t})}))},L=g(`checkbox`,o),R=`${L}-group`,z=(0,y.default)(p,[`value`,`disabled`]);a&&a.length>0&&(r=N().map(function(e){return b.createElement(S.default,{prefixCls:L,key:e.value.toString(),disabled:`disabled`in e?e.disabled:p.disabled,value:e.value,checked:D.includes(e.value),onChange:e.onChange,className:`${R}-item`,style:e.style},e.label)}));var B={toggleOption:I,value:D,disabled:p.disabled,name:p.name,registerValue:F,cancelValue:P},V=(0,_.default)(R,(0,d.default)({},`${R}-rtl`,v===`rtl`),c);return b.createElement(`div`,(0,s.default)({className:V,style:l},z,{ref:t}),b.createElement(w.Provider,{value:B},r))});e.default=b.memo(T)})),v=t((t=>{var u=c().default,h=i().default;Object.defineProperty(t,`__esModule`,{value:!0}),t.default=void 0;var g=h(l()),v=h(a()),y=h(r()),b=h((o(),e(s))),x=u(n()),S=x,C=p(),w=m();h(d());var T=_(),E=h(f()),D=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==`function`)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};t.default=S.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.children,a=e.indeterminate,o=a===void 0?!1:a,s=e.style,c=e.onMouseEnter,l=e.onMouseLeave,u=e.skipGroup,d=u===void 0?!1:u,f=e.disabled,p=D(e,[`prefixCls`,`className`,`children`,`indeterminate`,`style`,`onMouseEnter`,`onMouseLeave`,`skipGroup`,`disabled`]),m=S.useContext(C.ConfigContext),h=m.getPrefixCls,_=m.direction,O=S.useContext(T.GroupContext),k=(0,x.useContext)(w.FormItemInputContext).isFormItemInput,A=(0,x.useContext)(E.default),j=(O?.disabled||f)??A,M=S.useRef(p.value);S.useEffect(function(){O?.registerValue(p.value)},[]),S.useEffect(function(){if(!d)return p.value!==M.current&&(O?.cancelValue(M.current),O?.registerValue(p.value),M.current=p.value),function(){return O?.cancelValue(p.value)}},[p.value]);var N=h(`checkbox`,n),P=(0,v.default)({},p);O&&!d&&(P.onChange=function(){p.onChange&&p.onChange.apply(p,arguments),O.toggleOption&&O.toggleOption({label:i,value:p.value})},P.name=O.name,P.checked=O.value.includes(p.value));var F=(0,y.default)((0,g.default)((0,g.default)((0,g.default)((0,g.default)((0,g.default)({},`${N}-wrapper`,!0),`${N}-rtl`,_===`rtl`),`${N}-wrapper-checked`,P.checked),`${N}-wrapper-disabled`,j),`${N}-wrapper-in-form-item`,k),r),I=(0,y.default)((0,g.default)({},`${N}-indeterminate`,o)),L=o?`mixed`:void 0;return S.createElement(`label`,{className:F,style:s,onMouseEnter:c,onMouseLeave:l},S.createElement(b.default,(0,v.default)({"aria-checked":L},P,{prefixCls:N,className:I,disabled:j,ref:t})),i!==void 0&&S.createElement(`span`,null,i))})}));export{v as t};

assets/ClassesManager-DdjWwxAI.js
File diff suppressed because it is too large
View File


assets/CloseButton-DH5paWnd.js → assets/CloseButton-B2X9zY4u.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{G as r}from"./axios-BAZB3l2q.js";import{t as i}from"./button-BwrlrBF7.js";import{t as a}from"./prop-types-CEsF4M7J.js";import{t as o}from"./DiscardChangesButton-DYw1PWuZ.js";t();var s=e(a()),c=n(),l=({onConfirm:e,modified:t,disabled:n,placement:a=`topRight`})=>(0,c.jsx)(o,{onConfirm:e,modified:t,placement:a,children:(0,c.jsx)(i,{type:`link`,className:`close-button`,disabled:n,children:(0,c.jsx)(r,{})})});l.propTypes={onConfirm:s.default.func.isRequired,modified:s.default.bool,disabled:s.default.bool,placement:s.default.string};export{l as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{Y as r}from"./axios-DOscJEDN.js";import{t as i}from"./button-BMyidN73.js";import{t as a}from"./prop-types-eZYknsgO.js";import{t as o}from"./DiscardChangesButton-B-gDuJCC.js";t();var s=e(a()),c=n(),l=({onConfirm:e,modified:t,disabled:n,placement:a=`topRight`})=>(0,c.jsx)(o,{onConfirm:e,modified:t,placement:a,children:(0,c.jsx)(i,{type:`link`,className:`close-button`,disabled:n,children:(0,c.jsx)(r,{})})});l.propTypes={onConfirm:s.default.func.isRequired,modified:s.default.bool,disabled:s.default.bool,placement:s.default.string};export{l as t};

assets/ColorPicker-3vU9rt-8.js
File diff suppressed because it is too large
View File


assets/ConsoleSqlOutlined-CroAQcCk.js → assets/ConsoleSqlOutlined-xZVyeJFJ.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z`}},{tag:`path`,attrs:{d:`M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z`}},{tag:`path`,attrs:{d:`M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z`}}]},name:`console-sql`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M301.3 496.7c-23.8 0-40.2-10.5-41.6-26.9H205c.9 43.4 36.9 70.3 93.9 70.3 59.1 0 95-28.4 95-75.5 0-35.8-20-55.9-64.5-64.5l-29.1-5.6c-23.8-4.7-33.8-11.9-33.8-24.2 0-15 13.3-24.5 33.4-24.5 20.1 0 35.3 11.1 36.6 27h53c-.9-41.7-37.5-70.3-90.3-70.3-54.4 0-89.7 28.9-89.7 73 0 35.5 21.2 58 62.5 65.8l29.7 5.9c25.8 5.2 35.6 11.9 35.6 24.4.1 14.7-14.5 25.1-36 25.1z`}},{tag:`path`,attrs:{d:`M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z`}},{tag:`path`,attrs:{d:`M828.5 486.7h-95.8V308.5h-57.4V534h153.2zm-298.6 53.4c14.1 0 27.2-2 39.1-5.8l13.3 20.3h53.3L607.9 511c21.1-20 33-51.1 33-89.8 0-73.3-43.3-118.8-110.9-118.8s-111.2 45.3-111.2 118.8c-.1 73.7 43 118.9 111.1 118.9zm0-190c31.6 0 52.7 27.7 52.7 71.1 0 16.7-3.6 30.6-10 40.5l-5.2-6.9h-48.8L542 491c-3.9.9-8 1.4-12.2 1.4-31.7 0-52.8-27.5-52.8-71.2.1-43.6 21.2-71.1 52.9-71.1z`}}]},name:`console-sql`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

+ 0
- 4
assets/CopiloteWidget-8tr24tid.js
File diff suppressed because it is too large
View File


+ 4
- 0
assets/CopiloteWidget-BLnZL_7W.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/CopiloteWidget-C9V2J0rR.css View File

@ -1 +0,0 @@
.copilote-fab{z-index:99999;width:48px;height:48px;font-size:20px;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 12px #00000040}.copilote-drawer .ant-drawer-body{flex-direction:column;height:100%;padding:0;display:flex}.copilote-body{flex-direction:column;flex:1;padding:12px;display:flex;overflow-y:auto}.copilote-messages{flex-direction:column;flex:1;gap:8px;display:flex}.copilote-message{flex-direction:column;max-width:85%;display:flex}.copilote-message--user{align-self:flex-end}.copilote-message--user .copilote-message__bubble{color:#fff;background-color:#ff8801}.copilote-message--assistant{align-self:flex-start}.copilote-message--assistant .copilote-message__bubble{color:inherit;background-color:#eee}.copilote-message__bubble{word-break:break-word;border-radius:12px;padding:8px 12px;font-size:12px;line-height:1.5}.copilote-message__bubble ul{margin:4px 0;padding-left:20px;list-style:outside}.copilote-message--user .copilote-message__bubble{white-space:pre-wrap}.copilote-message--blocked .copilote-message__bubble{opacity:.55}.copilote-view-link{color:#ff8801;cursor:pointer;font-weight:600;text-decoration:underline}.copilote-view-link:hover{color:#ffac4e}.copilote-view-tag{cursor:default;font-family:monospace;font-size:11px}.copilote-suggestions{flex-wrap:wrap;gap:6px;width:100%;margin-top:6px;display:flex}.copilote-suggestion-chip{color:#ff8801;cursor:pointer;text-align:left;background:0 0;border:1px solid #ff8801;border-radius:16px;padding:4px 12px;font-size:12px;line-height:1.4;transition:all .2s}.copilote-suggestion-chip:hover{color:#fff;background-color:#ff8801}.copilote-feedback{opacity:0;gap:2px;margin-top:4px;transition:opacity .15s;display:flex}.copilote-message:hover .copilote-feedback,:is(.copilote-feedback:has(.copilote-feedback-btn--up-active),.copilote-feedback:has(.copilote-feedback-btn--down-active)){opacity:1}.copilote-feedback-btn{cursor:pointer;color:#929292;background:0 0;border:none;border-radius:4px;padding:2px 5px;font-size:13px;line-height:1;transition:color .15s}.copilote-feedback-btn:hover{color:#ff8801}.copilote-feedback-btn--up-active{color:#52c41a;opacity:1}.copilote-feedback-btn--down-active{color:#ff4d4f;opacity:1}.copilote-input{border-top:1px solid #eee;align-items:flex-end;gap:8px;padding:12px;display:flex}.copilote-input .ant-input{font-size:12px}.copilote-input textarea{resize:none;flex:1}.copilote-loading{color:#929292;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-style:italic;display:flex}.copilote-unavailable,.copilote-welcome{text-align:center;color:#929292;padding:24px 12px;font-size:12px}.copilote-unavailable p,.copilote-welcome p{margin-bottom:8px}

+ 1
- 0
assets/CopiloteWidget-DUuLDpRf.css View File

@ -0,0 +1 @@
.copilote-fab{z-index:99999;width:48px;height:48px;font-size:20px;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 12px #00000040}.copilote-drawer .ant-drawer-close .anticon{font-size:16px}.copilote-drawer .ant-drawer-body{flex-direction:column;height:100%;padding:0;display:flex}.copilote-body{flex-direction:column;flex:1;padding:12px;display:flex;overflow-y:auto}.copilote-messages{flex-direction:column;flex:1;gap:8px;display:flex}.copilote-message{flex-direction:column;max-width:85%;display:flex}.copilote-message--user{align-self:flex-end}.copilote-message--user .copilote-message__bubble{color:#fff;background-color:#ff8801}.copilote-message--assistant{align-self:flex-start}.copilote-message--assistant .copilote-message__bubble{color:inherit;background-color:#eee}.copilote-message__bubble{word-break:break-word;border-radius:12px;padding:8px 12px;font-size:12px;line-height:1.5}.copilote-message__bubble ul{margin:4px 0;padding-left:20px;list-style:outside}.copilote-message--user .copilote-message__bubble{white-space:pre-wrap}.copilote-message--blocked .copilote-message__bubble{opacity:.55}.copilote-view-link{color:#ff8801;cursor:pointer;font-weight:600;text-decoration:underline}.copilote-view-link:hover{color:#ffac4e}.copilote-view-tag{cursor:default;font-family:monospace;font-size:11px}.copilote-suggestions{flex-wrap:wrap;gap:6px;width:100%;margin-top:6px;display:flex}.copilote-suggestion-chip{color:#ff8801;cursor:pointer;text-align:left;background:0 0;border:1px solid #ff8801;border-radius:16px;padding:4px 12px;font-size:12px;line-height:1.4;transition:all .2s}.copilote-suggestion-chip:hover{color:#fff;background-color:#ff8801}.copilote-feedback{opacity:0;gap:2px;margin-top:4px;transition:opacity .15s;display:flex}.copilote-message:hover .copilote-feedback,:is(.copilote-feedback:has(.copilote-feedback-btn--up-active),.copilote-feedback:has(.copilote-feedback-btn--down-active)){opacity:1}.copilote-feedback-btn{cursor:pointer;color:#929292;background:0 0;border:none;border-radius:4px;padding:2px 5px;font-size:13px;line-height:1;transition:color .15s}.copilote-feedback-btn:hover{color:#ff8801}.copilote-feedback-btn--up-active{color:#52c41a;opacity:1}.copilote-feedback-btn--down-active{color:#ff4d4f;opacity:1}.copilote-input{border-top:1px solid #eee;align-items:flex-end;gap:8px;padding:12px;display:flex}.copilote-input .ant-input{font-size:12px}.copilote-input textarea{resize:none;flex:1}.copilote-loading{color:#929292;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-style:italic;display:flex}.copilote-unavailable,.copilote-welcome{text-align:center;color:#929292;padding:24px 12px;font-size:12px}.copilote-unavailable p,.copilote-welcome p{margin-bottom:8px}.copilote-key-form{padding:24px 12px;font-size:12px}.copilote-key-form p{color:#929292;margin-bottom:16px}.copilote-key-form .ant-alert{margin-bottom:16px}.copilote-key-form .copilote-key-form-actions{width:100%}.copilote-key-form .copilote-key-form-hint{margin-top:24px;margin-bottom:0}.copilote-key-form .copilote-key-form-hint code{word-break:break-all}.copilote-key-form .ant-form-item-explain{font-size:12px}

assets/CopyOutlined-TggLvVzB.js → assets/CopyOutlined-DaVzY812.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z`}}]},name:`copy`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

assets/CopyToClipboard-B676h_ov.js → assets/CopyToClipboard-BUzlsu7g.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{n as r}from"./axios-BAZB3l2q.js";import{i}from"./ctiAxios-z6-f5GoX.js";import{H as a}from"./notification-iew2j46e.js";import{t as o}from"./button-BwrlrBF7.js";import{t as s}from"./prop-types-CEsF4M7J.js";import{i as c}from"./select-7EsN1BXB.js";import{t as l}from"./CopyOutlined-TggLvVzB.js";import{t as u}from"./queryOptions-8oqYyfXL.js";import{I as d}from"./index-vzToGWaQ.js";import{b as f}from"./CancelButton-N63wgEAp.js";var p=async e=>f(await i(`modules/base/php/getIndicateurs.php`,{softCode:e}));async function m(e,t){await i(`modules/base/php/setIndicateur.php`,{action:`save`,softCode:e,...t})}async function h(e,t){await i(`modules/base/php/setIndicateur.php`,{action:`delete`,softCode:e,oid:t})}async function g(e,t){await i(`modules/base/php/setIndicateur.php`,{action:`copy`,softCode:e,oid:t})}var _={all:[`indicators`],list:e=>[..._.all,`list`,e]},v={indicators:[],tables:[],themesSearch:[],themes:[]},y=e=>u({queryKey:_.list(e),queryFn:()=>p(e),enabled:!!e}),b=e=>r(y(e)),x=e=>{let t=[{value:`*LIST`,title:`Pas de fonction total`},{value:`Sommes`,title:`Sommes`,disabled:!0,children:[{title:`Somme`,value:`SUM`},{title:`Somme du dernier mois`,value:`SUMLASTMONTH`},{title:`Somme du premier mois`,value:`SUMFIRSTMONTH`},{title:`Somme distincte`,value:`base.cti_sum_distinct_on`}]},{value:`Bornes`,title:`Bornes`,disabled:!0,children:[{title:`Minimum`,value:`MIN`},{title:`Maximum`,value:`MAX`}]},{value:`Moyennes`,title:`Moyennes`,disabled:!0,children:[{title:`Moyenne`,value:`AVG`},{title:`Moyenne sur 12 mois`,value:`AVG12M`}]},{value:`Comptage`,title:`Comptage`,disabled:!0,children:[{title:`Comptage`,value:`COUNT`},{title:`Comptage du dernier mois`,value:`COUNTLASTMONTH`}]},{value:`Texte`,title:`Texte`,disabled:!0,children:[{title:`Aggrégation des valeurs`,value:`LISTACUM`}]}];return e===`eis`&&t.filter(e=>e.value===`Texte`)[0].children.push({title:`AGGVAL`,data:`AGGVAL`}),t},S=[{title:`Pas de fonction total`,value:`AGGVAL`},{title:`Pas de fonction total`,value:`*LIST`},{title:`Somme`,value:`SUM`},{title:`Somme du dernier mois`,value:`SUMLASTMONTH`},{title:`Somme du premier mois`,value:`SUMFIRSTMONTH`},{title:`Somme distincte`,value:`base.cti_sum_distinct_on`},{title:`Minimum`,value:`MIN`},{title:`Maximum`,value:`MAX`},{title:`Moyenne`,value:`AVG`},{title:`Moyenne sur 12 mois`,value:`AVG12M`},{title:`Comptage`,value:`COUNT`},{title:`Comptage du dernier mois`,value:`COUNTLASTMONTH`},{title:`Aggrégation des valeurs`,value:`LISTACUM`},{title:`Calcul entre indicateurs`,value:`*CALC`}],C=(e,t)=>{let n={},r=[];for(let[t,r]of Object.entries(e))/indicateur_associe_[\d]*_id/.test(t)&&r!==`0`&&(n[t]=r);if(n){let e=Object.values(n).map(e=>t?.indicators.find(t=>t.oid===e));e.forEach(e=>{for(let[t,r]of Object.entries(n))if(r===e?.oid){let n=t.match(/\d+/g);e.associatedIndicatorIndex=Number(n[0])}}),r=e}return r},w=e(s()),T=e(t()),E=n(),D=({copiedText:e,size:t=`default`,type:n=`primary`,tooltip:r=`Copier`,style:i})=>{let[s,u]=(0,T.useState)(!1);return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(d,{title:`Copier`,children:(0,E.jsx)(o,{style:i,size:t,type:n,icon:s?(0,E.jsx)(c,{style:{color:a.green}}):(0,E.jsx)(l,{}),onClick:()=>{u(!s),navigator.clipboard.writeText(e)}})})})};D.propTypes={copiedText:w.default.string,size:w.default.string,type:w.default.string,tooltip:w.default.string};export{v as a,g as c,x as i,h as l,C as n,b as o,S as r,_ as s,D as t,m as u};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{n as r}from"./axios-DOscJEDN.js";import{i}from"./ctiAxios-CDlE51TE.js";import{H as a}from"./notification-BkpaB2Vc.js";import{t as o}from"./button-BMyidN73.js";import{i as s}from"./select-C47FfvhI.js";import{t as c}from"./CopyOutlined-DaVzY812.js";import{t as l}from"./queryOptions-_qrchnQm.js";import{t as u}from"./prop-types-eZYknsgO.js";import{I as d}from"./index-BocemapU.js";import{b as f}from"./CancelButton-rBN4jacc.js";var p=async e=>f(await i(`modules/base/php/getIndicateurs.php`,{softCode:e}));async function m(e,t){await i(`modules/base/php/setIndicateur.php`,{action:`save`,softCode:e,...t})}async function h(e,t){await i(`modules/base/php/setIndicateur.php`,{action:`delete`,softCode:e,oid:t})}async function g(e,t){await i(`modules/base/php/setIndicateur.php`,{action:`copy`,softCode:e,oid:t})}var _={all:[`indicators`],list:e=>[..._.all,`list`,e]},v={indicators:[],tables:[],themesSearch:[],themes:[]},y=e=>l({queryKey:_.list(e),queryFn:()=>p(e),enabled:!!e}),b=e=>r(y(e)),x=e=>{let t=[{value:`*LIST`,title:`Pas de fonction total`},{value:`Sommes`,title:`Sommes`,disabled:!0,children:[{title:`Somme`,value:`SUM`},{title:`Somme du dernier mois`,value:`SUMLASTMONTH`},{title:`Somme du premier mois`,value:`SUMFIRSTMONTH`},{title:`Somme distincte`,value:`base.cti_sum_distinct_on`}]},{value:`Bornes`,title:`Bornes`,disabled:!0,children:[{title:`Minimum`,value:`MIN`},{title:`Maximum`,value:`MAX`}]},{value:`Moyennes`,title:`Moyennes`,disabled:!0,children:[{title:`Moyenne`,value:`AVG`},{title:`Moyenne sur 12 mois`,value:`AVG12M`}]},{value:`Comptage`,title:`Comptage`,disabled:!0,children:[{title:`Comptage`,value:`COUNT`},{title:`Comptage du dernier mois`,value:`COUNTLASTMONTH`}]},{value:`Texte`,title:`Texte`,disabled:!0,children:[{title:`Aggrégation des valeurs`,value:`LISTACUM`}]}];return e===`eis`&&t.filter(e=>e.value===`Texte`)[0].children.push({title:`AGGVAL`,data:`AGGVAL`}),t},S=[{title:`Pas de fonction total`,value:`AGGVAL`},{title:`Pas de fonction total`,value:`*LIST`},{title:`Somme`,value:`SUM`},{title:`Somme du dernier mois`,value:`SUMLASTMONTH`},{title:`Somme du premier mois`,value:`SUMFIRSTMONTH`},{title:`Somme distincte`,value:`base.cti_sum_distinct_on`},{title:`Minimum`,value:`MIN`},{title:`Maximum`,value:`MAX`},{title:`Moyenne`,value:`AVG`},{title:`Moyenne sur 12 mois`,value:`AVG12M`},{title:`Comptage`,value:`COUNT`},{title:`Comptage du dernier mois`,value:`COUNTLASTMONTH`},{title:`Aggrégation des valeurs`,value:`LISTACUM`},{title:`Calcul entre indicateurs`,value:`*CALC`}],C=(e,t)=>{let n={},r=[];for(let[t,r]of Object.entries(e))/indicateur_associe_[\d]*_id/.test(t)&&r!==`0`&&(n[t]=r);if(n){let e=Object.values(n).map(e=>t?.indicators.find(t=>t.oid===e));e.forEach(e=>{for(let[t,r]of Object.entries(n))if(r===e?.oid){let n=t.match(/\d+/g);e.associatedIndicatorIndex=Number(n[0])}}),r=e}return r},w=e(u()),T=e(t()),E=n(),D=({copiedText:e,size:t=`default`,type:n=`primary`,tooltip:r=`Copier`,style:i})=>{let[l,u]=(0,T.useState)(!1);return(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(d,{title:`Copier`,children:(0,E.jsx)(o,{style:i,size:t,type:n,icon:l?(0,E.jsx)(s,{style:{color:a.green}}):(0,E.jsx)(c,{}),onClick:()=>{u(!l),navigator.clipboard.writeText(e)}})})})};D.propTypes={copiedText:w.default.string,size:w.default.string,type:w.default.string,tooltip:w.default.string};export{v as a,g as c,x as i,h as l,C as n,b as o,S as r,_ as s,D as t,m as u};

assets/Debug-6bSxXtnl.js
File diff suppressed because it is too large
View File


assets/DiscardChangesButton-DYw1PWuZ.js → assets/DiscardChangesButton-B-gDuJCC.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./button-BwrlrBF7.js";import{t as i}from"./prop-types-CEsF4M7J.js";import{t as a}from"./popconfirm-skTHAEtZ.js";import{t as o}from"./UndoOutlined-Dm9VLtd3.js";import{I as s}from"./index-vzToGWaQ.js";var c=e(t()),l=e(i()),u=n(),d=({onConfirm:e,modified:t=!0,children:n,title:i=`Quitter sans enregistrer ?`,description:l=`Vos modifications seront perdues.`,okText:d=`Quitter`,cancelText:f=`Continuer à modifier`,placement:p=`topRight`,toolTipTitle:m=`Annuler les modifications`,text:h,size:g=`default`,disabled:_=!1})=>{let v=(0,u.jsx)(s,{title:h?null:m,children:(0,u.jsx)(r,{size:g,disabled:_,icon:(0,u.jsx)(o,{}),children:h})});return t?(0,u.jsx)(a,{placement:p,title:i,description:l,onConfirm:e,okText:d,okButtonProps:{danger:!0},cancelText:f,children:n??v}):n?c.cloneElement(n,{onClick:e}):c.cloneElement(v,{onClick:e})};d.propTypes={onConfirm:l.default.func.isRequired,modified:l.default.bool,children:l.default.node,title:l.default.string,description:l.default.string,okText:l.default.string,cancelText:l.default.string,placement:l.default.string,toolTipTitle:l.default.string,text:l.default.string,size:l.default.string,disabled:l.default.bool};export{d as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./button-BMyidN73.js";import{t as i}from"./popconfirm-DHVG0Jca.js";import{t as a}from"./UndoOutlined-DS5JVKPM.js";import{t as o}from"./prop-types-eZYknsgO.js";import{I as s}from"./index-BocemapU.js";var c=e(t()),l=e(o()),u=n(),d=({onConfirm:e,modified:t=!0,children:n,title:o=`Quitter sans enregistrer ?`,description:l=`Vos modifications seront perdues.`,okText:d=`Quitter`,cancelText:f=`Continuer à modifier`,placement:p=`topRight`,toolTipTitle:m=`Annuler les modifications`,text:h,size:g=`default`,disabled:_=!1})=>{let v=(0,u.jsx)(s,{title:h?null:m,children:(0,u.jsx)(r,{size:g,disabled:_,icon:(0,u.jsx)(a,{}),children:h})});return t?(0,u.jsx)(i,{placement:p,title:o,description:l,onConfirm:e,okText:d,okButtonProps:{danger:!0},cancelText:f,children:n??v}):n?c.cloneElement(n,{onClick:e}):c.cloneElement(v,{onClick:e})};d.propTypes={onConfirm:l.default.func.isRequired,modified:l.default.bool,children:l.default.node,title:l.default.string,description:l.default.string,okText:l.default.string,cancelText:l.default.string,placement:l.default.string,toolTipTitle:l.default.string,text:l.default.string,size:l.default.string,disabled:l.default.bool};export{d as t};

assets/DownloadOutlined-SDOVAq85.js → assets/DownloadOutlined-BPVvN91B.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z`}}]},name:`download`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

+ 1
- 0
assets/ExpertControlsSettings-D7UpGpT4.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/ExpertControlsSettings-DlJ1grXs.js
File diff suppressed because it is too large
View File


assets/Exploit-BvdRs-0o.js → assets/Exploit-f57GXKKx.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{l as r}from"./ctiAxios-z6-f5GoX.js";import{t as i}from"./button-BwrlrBF7.js";import{t as a}from"./prop-types-CEsF4M7J.js";import{H as o,L as s,V as c,W as l,dt as u,nt as d,tt as f,v as p}from"./index-vzToGWaQ.js";import{t as m}from"./logs.queries-BcZwoYNp.js";var h=e(t()),g=e(r()),_=e(a()),v=n(),y=({status:e,env:t,provider:n,module:r,duration:i,start:a,running:c})=>{let l=s().data,u=window.location,d=u.origin,f=u.pathname.replace(l?.environment?.ICTIDIR??``,`iCTI_${t.code}`),p=``,m=``;switch(e){case 0:p=`rgb(240, 255, 241)`,m=`3px solid rgb(124, 217, 146)`;break;case 1:p=`rgb(254, 255, 240)`,m=`3px solid rgb(247, 228, 99)`;break;case 2:p=`rgb(255, 242, 240)`,m=`3px solid rgb(235, 96, 96)`;break;case-1:p=`rgb(211,211,211)`,m=`3px solid rgb(122, 122, 122)`;break;default:break}return(0,v.jsx)(`a`,{href:d+f,target:`_blank`,rel:`noreferrer`,children:(0,v.jsxs)(`div`,{className:`exploit-env`,style:{backgroundColor:p,border:m},children:[(0,v.jsxs)(`div`,{className:`exploit-label`,children:[c===1&&(0,v.jsx)(o,{className:`exploit__icon`,spin:!0}),r??`${t.code} - ${t.trig&&t.trig!==``?t.trig+` - `:``}${t.comment}`]}),a&&(0,v.jsxs)(`div`,{className:`exploit-duration`,children:[`Débuté le `,(0,g.default)(a).format(`DD/MM/YYYY à HH:mm`)]}),i&&(0,v.jsxs)(`div`,{className:`exploit-duration`,children:[`Durée: `,i]}),(0,v.jsx)(`div`,{className:`exploit-provider`,children:n})]},r||t.code)})};y.propTypes={status:_.default.number,env:_.default.object,provider:_.default.string,module:_.default.string,duration:_.default.string,start:_.default.string,running:_.default.number};var b={iCTI_activite:`ADMPROVIDER`,iCTI_pmsi:`PMSIPROVIDER`,iCTI_pmsipsy:`PMSIPSYPROVIDER`,iCTI_pmsihad:`PMSIHADPROVIDER`,iCTI_pmsissr:`PMSISSRPROVIDER`,iCTI_rh:`RHPROVIDER`,iCTI_compta:`COMPTAPROVIDER`,iCTI_eco:`ECOPROVIDER`,iCTI_dpi:`DPIPROVIDER`},x=()=>{let e=m(),t=s(),n=e.data?.envs??[],r=e.data?.timestamp,a=t.data,[o,_]=(0,h.useState)([`Synthèse`]),[x,S]=(0,h.useState)(!1);(0,h.useEffect)(()=>{if(n.length){let e=[];n.forEach(t=>{t.jobs.forEach(t=>{let n=``;switch(t.job){case`iCTI_consolidation_pmsi`:n=`iCTI_pmsi`;break;case`iCTI_import_activite_consolidation`:n=`iCTI_activite`;break;default:n=t.job.replace(/iCTI_(import_)?/,``);break}p[n]&&!e.includes(n)&&e.push(n)})}),_(e)}},[n]);let C=()=>{e.refetch()},w=e=>n.filter(t=>t.jobs.some(t=>e===`rss_rsf_en_cours`&&t.job.includes(`pmsi`)?!0:t.job.includes(e))).sort((e,t)=>e.code.localeCompare(t.code)).map(t=>{let n=t.jobs.find(t=>e===`rss_rsf`?t.job.includes(e)&&!t.job.includes(`en_cours`):e===`rss_rsf_en_cours`&&t.job.includes(`pmsi`)?!0:t.job.includes(e));if(n){let r=n.status,i=n.running;return(0,v.jsx)(y,{status:r,running:i,env:t,provider:Object.keys(t.settings).length?t.settings[b[p[e].module]]:``,duration:n.duration,start:n.start},t.code)}else return null});return!e.isFetching&&!a?.environment?.ISEXPLOIT?(0,v.jsx)(d,{icon:(0,v.jsx)(c,{}),title:`Cette fonctionnalité n'est pas encore disponible sur votre serveur.`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(`div`,{className:`component-header`,children:[(0,v.jsxs)(`div`,{className:`header-title`,children:[a?.environment?.ISEXPLOIT===`1`?`Résumé Exploitation Serveur `:`Résumé Exploitation `,`(dernière mise à jour: `,(0,g.default)(r).format(`HH:mm`),`)`]}),(0,v.jsxs)(`div`,{className:`header-actions`,children:[(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(`div`,{className:`actions-label`,children:`Afficher les jobs CTI:`}),(0,v.jsx)(f,{checked:x,onChange:e=>S(e)})]}),(0,v.jsx)(i,{onClick:C,type:`primary`,loading:e.isFetching,disabled:e.isFetching,icon:(0,v.jsx)(l,{}),children:`Rafraichir`})]})]}),(0,v.jsx)(`div`,{className:`component-content`,children:(0,v.jsx)(u,{items:[{label:`Synthèse`,key:`total`,children:(0,v.jsx)(`div`,{className:`exploit-module`,children:(e=>{if(e)return n.sort((e,t)=>e.code.localeCompare(t.code)).map(e=>(0,v.jsx)(y,{status:e.jobs.map(e=>e.status).includes(-1)?-1:e.jobs.reduce((e,t)=>(x||p[t.module])&&t.status>e?t.status:e,0),running:0,env:e,provider:``},e.code));{let e=n.find(e=>e.code===a?.environment?.ICTIDIR?.replace(`iCTI_`,``));if(e)return e.jobs.map(t=>{let n=t.module===t.job?t.job.replace(/iCTI_(import_)?/,``):t.module,r=Object.keys(e.settings).length&&p[t.module]?e.settings[b[p[t.module].module]]:null;return x||p[n]?(0,v.jsx)(y,{status:t.status,running:t.running,env:e,provider:r,duration:t.duration,start:t.start,module:p[n]?p[n].label:n},t.job):null})}})(a?.environment?.ISEXPLOIT===`1`)})},{tabsItems:()=>{let e=[];return a?.environment?.ISEXPLOIT===`1`&&(e=o.map(e=>({label:p[e]?.label??e,key:e,children:(0,v.jsx)(`div`,{className:`exploit-module`,children:w(e)})}))),e}}]})})]})};export{x as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{l as r}from"./ctiAxios-CDlE51TE.js";import{t as i}from"./button-BMyidN73.js";import{t as a}from"./prop-types-eZYknsgO.js";import{H as o,L as s,V as c,W as l,dt as u,nt as d,tt as f,v as p}from"./index-BocemapU.js";import{t as m}from"./logs.queries-7Ij4dy4e.js";var h=e(t()),g=e(r()),_=e(a()),v=n(),y=({status:e,env:t,provider:n,module:r,duration:i,start:a,running:c})=>{let l=s().data,u=window.location,d=u.origin,f=u.pathname.replace(l?.environment?.ICTIDIR??``,`iCTI_${t.code}`),p=``,m=``;switch(e){case 0:p=`rgb(240, 255, 241)`,m=`3px solid rgb(124, 217, 146)`;break;case 1:p=`rgb(254, 255, 240)`,m=`3px solid rgb(247, 228, 99)`;break;case 2:p=`rgb(255, 242, 240)`,m=`3px solid rgb(235, 96, 96)`;break;case-1:p=`rgb(211,211,211)`,m=`3px solid rgb(122, 122, 122)`;break;default:break}return(0,v.jsx)(`a`,{href:d+f,target:`_blank`,rel:`noreferrer`,children:(0,v.jsxs)(`div`,{className:`exploit-env`,style:{backgroundColor:p,border:m},children:[(0,v.jsxs)(`div`,{className:`exploit-label`,children:[c===1&&(0,v.jsx)(o,{className:`exploit__icon`,spin:!0}),r??`${t.code} - ${t.trig&&t.trig!==``?t.trig+` - `:``}${t.comment}`]}),a&&(0,v.jsxs)(`div`,{className:`exploit-duration`,children:[`Débuté le `,(0,g.default)(a).format(`DD/MM/YYYY à HH:mm`)]}),i&&(0,v.jsxs)(`div`,{className:`exploit-duration`,children:[`Durée: `,i]}),(0,v.jsx)(`div`,{className:`exploit-provider`,children:n})]},r||t.code)})};y.propTypes={status:_.default.number,env:_.default.object,provider:_.default.string,module:_.default.string,duration:_.default.string,start:_.default.string,running:_.default.number};var b={iCTI_activite:`ADMPROVIDER`,iCTI_pmsi:`PMSIPROVIDER`,iCTI_pmsipsy:`PMSIPSYPROVIDER`,iCTI_pmsihad:`PMSIHADPROVIDER`,iCTI_pmsissr:`PMSISSRPROVIDER`,iCTI_rh:`RHPROVIDER`,iCTI_compta:`COMPTAPROVIDER`,iCTI_eco:`ECOPROVIDER`,iCTI_dpi:`DPIPROVIDER`},x=()=>{let e=m(),t=s(),n=e.data?.envs??[],r=e.data?.timestamp,a=t.data,[o,_]=(0,h.useState)([`Synthèse`]),[x,S]=(0,h.useState)(!1);(0,h.useEffect)(()=>{if(n.length){let e=[];n.forEach(t=>{t.jobs.forEach(t=>{let n=``;switch(t.job){case`iCTI_consolidation_pmsi`:n=`iCTI_pmsi`;break;case`iCTI_import_activite_consolidation`:n=`iCTI_activite`;break;default:n=t.job.replace(/iCTI_(import_)?/,``);break}p[n]&&!e.includes(n)&&e.push(n)})}),_(e)}},[n]);let C=()=>{e.refetch()},w=e=>n.filter(t=>t.jobs.some(t=>e===`rss_rsf_en_cours`&&t.job.includes(`pmsi`)?!0:t.job.includes(e))).sort((e,t)=>e.code.localeCompare(t.code)).map(t=>{let n=t.jobs.find(t=>e===`rss_rsf`?t.job.includes(e)&&!t.job.includes(`en_cours`):e===`rss_rsf_en_cours`&&t.job.includes(`pmsi`)?!0:t.job.includes(e));if(n){let r=n.status,i=n.running;return(0,v.jsx)(y,{status:r,running:i,env:t,provider:Object.keys(t.settings).length?t.settings[b[p[e].module]]:``,duration:n.duration,start:n.start},t.code)}else return null});return!e.isFetching&&!a?.environment?.ISEXPLOIT?(0,v.jsx)(d,{icon:(0,v.jsx)(c,{}),title:`Cette fonctionnalité n'est pas encore disponible sur votre serveur.`}):(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)(`div`,{className:`component-header`,children:[(0,v.jsxs)(`div`,{className:`header-title`,children:[a?.environment?.ISEXPLOIT===`1`?`Résumé Exploitation Serveur `:`Résumé Exploitation `,`(dernière mise à jour: `,(0,g.default)(r).format(`HH:mm`),`)`]}),(0,v.jsxs)(`div`,{className:`header-actions`,children:[(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(`div`,{className:`actions-label`,children:`Afficher les jobs CTI:`}),(0,v.jsx)(f,{checked:x,onChange:e=>S(e)})]}),(0,v.jsx)(i,{onClick:C,type:`primary`,loading:e.isFetching,disabled:e.isFetching,icon:(0,v.jsx)(l,{}),children:`Rafraichir`})]})]}),(0,v.jsx)(`div`,{className:`component-content`,children:(0,v.jsx)(u,{items:[{label:`Synthèse`,key:`total`,children:(0,v.jsx)(`div`,{className:`exploit-module`,children:(e=>{if(e)return n.sort((e,t)=>e.code.localeCompare(t.code)).map(e=>(0,v.jsx)(y,{status:e.jobs.map(e=>e.status).includes(-1)?-1:e.jobs.reduce((e,t)=>(x||p[t.module])&&t.status>e?t.status:e,0),running:0,env:e,provider:``},e.code));{let e=n.find(e=>e.code===a?.environment?.ICTIDIR?.replace(`iCTI_`,``));if(e)return e.jobs.map(t=>{let n=t.module===t.job?t.job.replace(/iCTI_(import_)?/,``):t.module,r=Object.keys(e.settings).length&&p[t.module]?e.settings[b[p[t.module].module]]:null;return x||p[n]?(0,v.jsx)(y,{status:t.status,running:t.running,env:e,provider:r,duration:t.duration,start:t.start,module:p[n]?p[n].label:n},t.job):null})}})(a?.environment?.ISEXPLOIT===`1`)})},{tabsItems:()=>{let e=[];return a?.environment?.ISEXPLOIT===`1`&&(e=o.map(e=>({label:p[e]?.label??e,key:e,children:(0,v.jsx)(`div`,{className:`exploit-module`,children:w(e)})}))),e}}]})})]})};export{x as default};

assets/FavoritesEditor-DoQrJVWH.js
File diff suppressed because it is too large
View File


+ 0
- 4
assets/Import-BAcCnLkA.js
File diff suppressed because it is too large
View File


+ 4
- 0
assets/Import-BLt5uC8k.js
File diff suppressed because it is too large
View File


assets/ImportOutlined-SUKLbTeR.js → assets/ImportOutlined-CJMN8fnX.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z`}}]},name:`import`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{"fill-rule":`evenodd`,viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 912H144c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32h360c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8H184v656h656V520c0-4.4 3.6-8 8-8h56c4.4 0 8 3.6 8 8v360c0 17.7-14.3 32-32 32zM653.3 424.6l52.2 52.2a8.01 8.01 0 01-4.7 13.6l-179.4 21c-5.1.6-9.5-3.7-8.9-8.9l21-179.4c.8-6.6 8.9-9.4 13.6-4.7l52.4 52.4 256.2-256.2c3.1-3.1 8.2-3.1 11.3 0l42.4 42.4c3.1 3.1 3.1 8.2 0 11.3L653.3 424.6z`}}]},name:`import`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

+ 1
- 0
assets/IndicatorsManager-B78y0WGi.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/IndicatorsManager-C97uTR6j.js
File diff suppressed because it is too large
View File


assets/LeftSquareOutlined-z7zl8HUa.js → assets/LeftSquareOutlined-CPEKio_w.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`left-square`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M365.3 518.5l246 178c5.3 3.8 12.7 0 12.7-6.5v-46.9c0-10.2-4.9-19.9-13.2-25.9L465.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5l-246 178a8.05 8.05 0 000 13z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`left-square`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

assets/LicencesManager-drKuWlxn.js → assets/LicencesManager-RvJhOqgt.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r}from"./axios-BAZB3l2q.js";import{t as i}from"./index.esm-DB3Pt-Y3.js";import{c as a}from"./ctiAxios-z6-f5GoX.js";import{t as o}from"./button-BwrlrBF7.js";import{n as s,t as c}from"./row-BuoxhzeP.js";import{t as l}from"./modal-ChM3JDNH.js";import{t as u}from"./input-vY_ggPFq.js";import{t as d}from"./useMutation-21uqqzNW.js";import{t as f}from"./UndoOutlined-Dm9VLtd3.js";import{t as p}from"./Loader-DwTdyGS9.js";import{I as m,J as h,Y as g,_,c as v,g as y,h as b,m as x,tt as S}from"./index-vzToGWaQ.js";function C(){let e=r();return d({mutationFn:e=>_(e),meta:{successMessage:`Licence ajoutée`,errorMessage:`Erreur lors de l'ajout de la licence`},onSettled:async()=>{await e.invalidateQueries({queryKey:y.all})}})}var w=e(t()),T=n(),E=[{title:`Modules installés`,dataKey:`label`,key:`label`,width:250,dataGetter:({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i})=>(0,T.jsxs)(`div`,{children:[r.label,` `,(0,T.jsx)(`span`,{style:{float:`right`},children:r.licenceOK===`OK`?(0,T.jsx)(g,{twoToneColor:`#52c41a`}):(0,T.jsx)(h,{twoToneColor:`#cf1322`})})]})},{title:`Code`,dataKey:`softCode`,key:`softCode`,width:250},{title:`Expiration`,dataKey:`licenceDate`,key:`licenceDate`,width:250},{title:`Type`,dataKey:`licenceType`,key:`licenceType`,width:250}],D=[{title:`Licences serveur installées`,dataKey:`machineName`,key:`machineName`,width:250},{title:`FINESS`,dataKey:`finess`,key:`finess`,width:250,dataGetter:({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i})=>(0,T.jsxs)(`div`,{children:[r.finess,(0,T.jsx)(`span`,{style:{float:`right`},children:r.finessOK===`true`?(0,T.jsx)(g,{twoToneColor:`#52c41a`}):(0,T.jsx)(h,{twoToneColor:`#cf1322`})})]})},{title:`Module`,dataKey:`softCode`,key:`softCode`,width:250},{title:`Date expiration`,dataKey:`endDate`,key:`endDate`,width:250,dataGetter:({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i})=>(0,T.jsxs)(`div`,{children:[r.endDate,(0,T.jsx)(`span`,{style:{float:`right`},children:r.endDateOK===`true`?(0,T.jsx)(g,{twoToneColor:`#52c41a`}):(0,T.jsx)(h,{twoToneColor:`#cf1322`})})]})}],O=()=>{let e=b(),t=C(),n=e.data??x,[r,d]=(0,w.useState)(!1),[h,g]=(0,w.useState)(``),[_,O]=(0,w.useState)(!1),k=()=>{a.invalidateQueries({queryKey:y.all})},A=e=>{d(e)},j=()=>{O(!_)};return e.isPending?(0,T.jsx)(`div`,{className:`loading-wrapper`,children:(0,T.jsx)(p,{style:{height:`auto`}})}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(i,{children:(0,T.jsx)(`title`,{children:`iCTI | Gestion des licences`})}),(0,T.jsx)(l,{open:_,onCancel:j,onOk:()=>{t.mutate(h,{onSuccess:()=>{g(``),j()}})},okText:`Ajouter`,cancelText:`Annuler`,confirmLoading:t.isPending,title:`Ajouter une licence`,children:(0,T.jsx)(`div`,{className:`form-row`,children:(0,T.jsxs)(`div`,{className:`form-item`,children:[(0,T.jsx)(`span`,{className:`first-label`,children:`Clé de la licence`}),(0,T.jsx)(u,{value:h,onChange:e=>{g(e.target.value)}})]})})}),(0,T.jsxs)(`div`,{className:`component-header`,children:[(0,T.jsx)(`div`,{className:`header-title`,children:`Gestions des licences`}),(0,T.jsxs)(`div`,{className:`header-actions`,children:[(0,T.jsx)(m,{title:`Actualiser`,children:(0,T.jsx)(o,{type:`link`,onClick:k,children:(0,T.jsx)(f,{})})}),(0,T.jsx)(o,{type:`primary`,onClick:j,children:`Ajouter une licence`})]})]}),(0,T.jsx)(`div`,{className:`licences-info`,children:(0,T.jsxs)(c,{children:[(0,T.jsxs)(s,{span:12,children:[(0,T.jsxs)(`div`,{className:`licences-info-row`,children:[(0,T.jsx)(`span`,{children:`FINESS :`}),n.env.FINESS]}),(0,T.jsxs)(`div`,{className:`licences-info-row`,children:[(0,T.jsx)(`span`,{children:`Serveur :`}),n.session.SERVERNAME]})]}),(0,T.jsx)(s,{span:12,children:(0,T.jsxs)(`div`,{className:`settings-single-check`,children:[(0,T.jsx)(S,{size:`small`,className:`switch`,checked:r,onChange:A}),(0,T.jsx)(`span`,{children:`Afficher les licences installées`})]})})]})}),(0,T.jsx)(`div`,{className:`component-content`,children:r?(0,T.jsx)(v,{columns:D,data:n.licences}):(0,T.jsx)(v,{columns:E,data:n.modules})})]})};O.propTypes={};export{O as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r}from"./axios-DOscJEDN.js";import{t as i}from"./index.esm-DB3Pt-Y3.js";import{c as a}from"./ctiAxios-CDlE51TE.js";import{t as o}from"./button-BMyidN73.js";import{n as s,t as c}from"./row-CU8sFQni.js";import{t as l}from"./modal-BdqOHno9.js";import{t as u}from"./input-Yn95s9T0.js";import{t as d}from"./useMutation-DqBabLvU.js";import{t as f}from"./UndoOutlined-DS5JVKPM.js";import{t as p}from"./Loader-DwXJ8Se3.js";import{I as m,J as h,Y as g,_,c as v,g as y,h as b,m as x,tt as S}from"./index-BocemapU.js";function C(){let e=r();return d({mutationFn:e=>_(e),meta:{successMessage:`Licence ajoutée`,errorMessage:`Erreur lors de l'ajout de la licence`},onSettled:async()=>{await e.invalidateQueries({queryKey:y.all})}})}var w=e(t()),T=n(),E=[{title:`Modules installés`,dataKey:`label`,key:`label`,width:250,dataGetter:({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i})=>(0,T.jsxs)(`div`,{children:[r.label,` `,(0,T.jsx)(`span`,{style:{float:`right`},children:r.licenceOK===`OK`?(0,T.jsx)(g,{twoToneColor:`#52c41a`}):(0,T.jsx)(h,{twoToneColor:`#cf1322`})})]})},{title:`Code`,dataKey:`softCode`,key:`softCode`,width:250},{title:`Expiration`,dataKey:`licenceDate`,key:`licenceDate`,width:250},{title:`Type`,dataKey:`licenceType`,key:`licenceType`,width:250}],D=[{title:`Licences serveur installées`,dataKey:`machineName`,key:`machineName`,width:250},{title:`FINESS`,dataKey:`finess`,key:`finess`,width:250,dataGetter:({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i})=>(0,T.jsxs)(`div`,{children:[r.finess,(0,T.jsx)(`span`,{style:{float:`right`},children:r.finessOK===`true`?(0,T.jsx)(g,{twoToneColor:`#52c41a`}):(0,T.jsx)(h,{twoToneColor:`#cf1322`})})]})},{title:`Module`,dataKey:`softCode`,key:`softCode`,width:250},{title:`Date expiration`,dataKey:`endDate`,key:`endDate`,width:250,dataGetter:({columns:e,column:t,columnIndex:n,rowData:r,rowIndex:i})=>(0,T.jsxs)(`div`,{children:[r.endDate,(0,T.jsx)(`span`,{style:{float:`right`},children:r.endDateOK===`true`?(0,T.jsx)(g,{twoToneColor:`#52c41a`}):(0,T.jsx)(h,{twoToneColor:`#cf1322`})})]})}],O=()=>{let e=b(),t=C(),n=e.data??x,[r,d]=(0,w.useState)(!1),[h,g]=(0,w.useState)(``),[_,O]=(0,w.useState)(!1),k=()=>{a.invalidateQueries({queryKey:y.all})},A=e=>{d(e)},j=()=>{O(!_)};return e.isPending?(0,T.jsx)(`div`,{className:`loading-wrapper`,children:(0,T.jsx)(p,{style:{height:`auto`}})}):(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(i,{children:(0,T.jsx)(`title`,{children:`iCTI | Gestion des licences`})}),(0,T.jsx)(l,{open:_,onCancel:j,onOk:()=>{t.mutate(h,{onSuccess:()=>{g(``),j()}})},okText:`Ajouter`,cancelText:`Annuler`,confirmLoading:t.isPending,title:`Ajouter une licence`,children:(0,T.jsx)(`div`,{className:`form-row`,children:(0,T.jsxs)(`div`,{className:`form-item`,children:[(0,T.jsx)(`span`,{className:`first-label`,children:`Clé de la licence`}),(0,T.jsx)(u,{value:h,onChange:e=>{g(e.target.value)}})]})})}),(0,T.jsxs)(`div`,{className:`component-header`,children:[(0,T.jsx)(`div`,{className:`header-title`,children:`Gestions des licences`}),(0,T.jsxs)(`div`,{className:`header-actions`,children:[(0,T.jsx)(m,{title:`Actualiser`,children:(0,T.jsx)(o,{type:`link`,onClick:k,children:(0,T.jsx)(f,{})})}),(0,T.jsx)(o,{type:`primary`,onClick:j,children:`Ajouter une licence`})]})]}),(0,T.jsx)(`div`,{className:`licences-info`,children:(0,T.jsxs)(c,{children:[(0,T.jsxs)(s,{span:12,children:[(0,T.jsxs)(`div`,{className:`licences-info-row`,children:[(0,T.jsx)(`span`,{children:`FINESS :`}),n.env.FINESS]}),(0,T.jsxs)(`div`,{className:`licences-info-row`,children:[(0,T.jsx)(`span`,{children:`Serveur :`}),n.session.SERVERNAME]})]}),(0,T.jsx)(s,{span:12,children:(0,T.jsxs)(`div`,{className:`settings-single-check`,children:[(0,T.jsx)(S,{size:`small`,className:`switch`,checked:r,onChange:A}),(0,T.jsx)(`span`,{children:`Afficher les licences installées`})]})})]})}),(0,T.jsx)(`div`,{className:`component-content`,children:r?(0,T.jsx)(v,{columns:D,data:n.licences}):(0,T.jsx)(v,{columns:E,data:n.modules})})]})};O.propTypes={};export{O as default};

+ 0
- 1
assets/ListesManagers-BTFrAIYL.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/ListesManagers-D2qt0rm8.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/Loader-DwTdyGS9.js View File

@ -1 +0,0 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./prop-types-CEsF4M7J.js";import{r as i}from"./react-redux-DiLhgvsZ.js";t();var a=e(r()),o=n(),s=({style:e={},size:t})=>{i(e=>e.cti.ui.primaryColor);let n={...e};if(t)switch(t){case`small`:n.transform=`scale(0.5)`;break;default:break}return(0,o.jsx)(`div`,{className:`cti-loader`,style:n,children:(0,o.jsxs)(`div`,{className:`sk-folding-cube`,children:[(0,o.jsx)(`div`,{className:`sk-cube1 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube2 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube4 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube3 sk-cube`})]})})};s.propTypes={style:a.default.object,size:a.default.string};export{s as t};

+ 1
- 0
assets/Loader-DwXJ8Se3.js View File

@ -0,0 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{r}from"./react-redux-BUEaRwHS.js";import{t as i}from"./prop-types-eZYknsgO.js";t();var a=e(i()),o=n(),s=({style:e={},size:t})=>{r(e=>e.cti.ui.primaryColor);let n={...e};if(t)switch(t){case`small`:n.transform=`scale(0.5)`;break;default:break}return(0,o.jsx)(`div`,{className:`cti-loader`,style:n,children:(0,o.jsxs)(`div`,{className:`sk-folding-cube`,children:[(0,o.jsx)(`div`,{className:`sk-cube1 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube2 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube4 sk-cube`}),(0,o.jsx)(`div`,{className:`sk-cube3 sk-cube`})]})})};s.propTypes={style:a.default.object,size:a.default.string};export{s as t};

assets/MessageOutlined-jOruwg0B.js → assets/MessageOutlined-DbxNuxex.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`message`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z`}}]},name:`message`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

assets/OvalideImports-B4db6BAm.js → assets/OvalideImports-BOC8EUvV.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r,ir as i,n as a}from"./axios-BAZB3l2q.js";import{t as o}from"./index.esm-DB3Pt-Y3.js";import{t as s}from"./ctiAxios-z6-f5GoX.js";import{t as c}from"./button-BwrlrBF7.js";import{t as l}from"./prop-types-CEsF4M7J.js";import{t as u}from"./DownloadOutlined-SDOVAq85.js";import{t as d}from"./useMutation-21uqqzNW.js";import{t as f}from"./queryOptions-8oqYyfXL.js";import{t as p}from"./UndoOutlined-Dm9VLtd3.js";import{I as m,L as h,P as g,b as _,c as v,et as y,z as b}from"./index-vzToGWaQ.js";import{r as x,t as S}from"./path-B1e1j8Pf.js";import{i as C}from"./importColumn-D3K7oQwl.js";async function w(e){let t=new FormData;return t.append(`action`,`get`),(await s({method:`post`,url:i()+x(e),data:t,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}async function T({id:e,module:t}){if(t===`ssr`){await g.delete(`api/pmsissr/importsOvalide/${e}`);return}let n=new FormData;n.append(`action`,`delete`),n.append(`id`,e),await s({method:`post`,url:i()+x(t),data:n,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})}async function E({file:e,typeEts:t,module:n}){let r=new FormData;return r.append(`action`,`post`),r.append(`fileName`,e.name),r.append(`fileData`,e),r.append(`typeEts`,t),(await s({method:`post`,url:i()+x(n),data:r,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}async function D(e,t){_((await s({method:`get`,url:`${i()}${S(t)}${e}`,responseType:`blob`,headers:{"Content-Type":`multipart/form-data`}})).data,`ovalide.zip`)}var O={all:[`ovalideImports`],list:e=>[...O.all,`list`,e]},k=e=>f({queryKey:O.list(e),queryFn:()=>w(e),enabled:!!e}),A=e=>a(k(e));function j(){let e=r();return d({mutationFn:T,meta:{successMessage:`Import supprimé`,errorMessage:`Erreur lors de la suppression de l'import`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:O.list(r.module)})}})}function M(){let e=r();return d({mutationFn:E,meta:{successMessage:`Fichier importé`,errorMessage:`Erreur lors de l'import du fichier`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:O.list(r.module)})}})}var N=e(t()),P=e(l()),F=n(),I=({module:e})=>{let t=h(),n=A(e),r=j(),i=M(),a=n.data??[],[s,l]=(0,N.useState)(null),d=(0,N.useRef)(),f=()=>{n.refetch()},g=e=>{l(a.find(t=>t.oid===e))},_=()=>{s&&r.mutate({id:s.oid,module:e},{onSuccess:()=>l(null)})},x=()=>{s&&D(s.oid,e)},S=()=>{d.current.click()},w=n=>{let r=n.target.files[0];if(r){let n=t.data?.environment?.TYPEETS;i.mutate({file:r,typeEts:n,module:e})}},T=r.isPending||i.isPending;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(o,{children:(0,F.jsx)(`title`,{children:`iCTI | Gestion des imports`})}),(0,F.jsxs)(`div`,{className:`component-header`,children:[(0,F.jsx)(`div`,{className:`header-title`,children:`Import des fichiers MAT2A/OVALIDE`}),(0,F.jsxs)(`div`,{className:`header-actions`,children:[(0,F.jsx)(m,{title:`Actualiser`,children:(0,F.jsx)(c,{type:`link`,onClick:f,children:(0,F.jsx)(p,{})})}),(0,F.jsx)(m,{title:`Supprimer`,children:(0,F.jsx)(c,{type:`link`,onClick:_,disabled:!s||r.isPending,children:(0,F.jsx)(y,{})})}),(0,F.jsx)(m,{title:`Télécharger le fichier de l'import`,children:(0,F.jsx)(c,{type:`link`,onClick:x,disabled:!s||!s.oid,children:(0,F.jsx)(u,{})})}),(0,F.jsx)(c,{size:`default`,type:`primary`,icon:(0,F.jsx)(b,{}),onClick:S,loading:i.isPending,children:`Importer un fichier`}),(0,F.jsx)(`input`,{type:`file`,ref:d,onChange:w,style:{display:`none`}})]})]}),(0,F.jsx)(`div`,{className:`component-content`,children:(0,F.jsx)(`div`,{className:`ovalide-imports`,children:(0,F.jsx)(v,{rowKey:`oid`,columns:C(e),loading:n.isFetching||T,data:a,selectedRow:s,onRowSelect:g})})})]})};I.propTypes={module:P.default.string};export{I as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r,cr as i,n as a}from"./axios-DOscJEDN.js";import{t as o}from"./index.esm-DB3Pt-Y3.js";import{t as s}from"./ctiAxios-CDlE51TE.js";import{t as c}from"./button-BMyidN73.js";import{t as l}from"./DownloadOutlined-BPVvN91B.js";import{t as u}from"./useMutation-DqBabLvU.js";import{t as d}from"./queryOptions-_qrchnQm.js";import{t as f}from"./UndoOutlined-DS5JVKPM.js";import{t as p}from"./prop-types-eZYknsgO.js";import{I as m,L as h,P as g,b as _,c as v,et as y,z as b}from"./index-BocemapU.js";import{r as x,t as S}from"./path-DPb3kQoE.js";import{i as C}from"./importColumn-CY1VPPWt.js";async function w(e){let t=new FormData;return t.append(`action`,`get`),(await s({method:`post`,url:i()+x(e),data:t,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}async function T({id:e,module:t}){if(t===`ssr`){await g.delete(`api/pmsissr/importsOvalide/${e}`);return}let n=new FormData;n.append(`action`,`delete`),n.append(`id`,e),await s({method:`post`,url:i()+x(t),data:n,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})}async function E({file:e,typeEts:t,module:n}){let r=new FormData;return r.append(`action`,`post`),r.append(`fileName`,e.name),r.append(`fileData`,e),r.append(`typeEts`,t),(await s({method:`post`,url:i()+x(n),data:r,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}async function D(e,t){_((await s({method:`get`,url:`${i()}${S(t)}${e}`,responseType:`blob`,headers:{"Content-Type":`multipart/form-data`}})).data,`ovalide.zip`)}var O={all:[`ovalideImports`],list:e=>[...O.all,`list`,e]},k=e=>d({queryKey:O.list(e),queryFn:()=>w(e),enabled:!!e}),A=e=>a(k(e));function j(){let e=r();return u({mutationFn:T,meta:{successMessage:`Import supprimé`,errorMessage:`Erreur lors de la suppression de l'import`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:O.list(r.module)})}})}function M(){let e=r();return u({mutationFn:E,meta:{successMessage:`Fichier importé`,errorMessage:`Erreur lors de l'import du fichier`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:O.list(r.module)})}})}var N=e(t()),P=e(p()),F=n(),I=({module:e})=>{let t=h(),n=A(e),r=j(),i=M(),a=n.data??[],[s,u]=(0,N.useState)(null),d=(0,N.useRef)(),p=()=>{n.refetch()},g=e=>{u(a.find(t=>t.oid===e))},_=()=>{s&&r.mutate({id:s.oid,module:e},{onSuccess:()=>u(null)})},x=()=>{s&&D(s.oid,e)},S=()=>{d.current.click()},w=n=>{let r=n.target.files[0];if(r){let n=t.data?.environment?.TYPEETS;i.mutate({file:r,typeEts:n,module:e})}},T=r.isPending||i.isPending;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(o,{children:(0,F.jsx)(`title`,{children:`iCTI | Gestion des imports`})}),(0,F.jsxs)(`div`,{className:`component-header`,children:[(0,F.jsx)(`div`,{className:`header-title`,children:`Import des fichiers MAT2A/OVALIDE`}),(0,F.jsxs)(`div`,{className:`header-actions`,children:[(0,F.jsx)(m,{title:`Actualiser`,children:(0,F.jsx)(c,{type:`link`,onClick:p,children:(0,F.jsx)(f,{})})}),(0,F.jsx)(m,{title:`Supprimer`,children:(0,F.jsx)(c,{type:`link`,onClick:_,disabled:!s||r.isPending,children:(0,F.jsx)(y,{})})}),(0,F.jsx)(m,{title:`Télécharger le fichier de l'import`,children:(0,F.jsx)(c,{type:`link`,onClick:x,disabled:!s||!s.oid,children:(0,F.jsx)(l,{})})}),(0,F.jsx)(c,{size:`default`,type:`primary`,icon:(0,F.jsx)(b,{}),onClick:S,loading:i.isPending,children:`Importer un fichier`}),(0,F.jsx)(`input`,{type:`file`,ref:d,onChange:w,style:{display:`none`}})]})]}),(0,F.jsx)(`div`,{className:`component-content`,children:(0,F.jsx)(`div`,{className:`ovalide-imports`,children:(0,F.jsx)(v,{rowKey:`oid`,columns:C(e),loading:n.isFetching||T,data:a,selectedRow:s,onRowSelect:g})})})]})};I.propTypes={module:P.default.string};export{I as default};

assets/PasswordManager-c6aRyUhu.js → assets/PasswordManager-BKsqrYey.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./index.esm-DB3Pt-Y3.js";import{t as i}from"./input-vY_ggPFq.js";import{L as a,at as o}from"./index-vzToGWaQ.js";import{t as s}from"./SaveButton-CYK544Bz.js";import{r as c}from"./users.mutations-BqKv6Yo9.js";var l=e(t()),u=n(),d=()=>{let e=a(),t=c(),n=e.data?.session,[d,f]=(0,l.useState)(!1),[p]=o.useForm();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r,{children:(0,u.jsx)(`title`,{children:`iCTI | Modification du mot de passe`})}),(0,u.jsxs)(`div`,{className:`component-header`,children:[(0,u.jsx)(`h1`,{className:`header-title`,children:`Modification du mot de passe`}),(0,u.jsx)(`div`,{className:`header-actions`,children:(0,u.jsx)(s,{onClick:()=>p.submit(),disabled:!d||t.isPending,loading:t.isPending,toolTipTitle:`Enregistrer`})})]}),(0,u.jsx)(`div`,{className:`component-content`,children:(0,u.jsx)(`div`,{className:`password-form`,children:(0,u.jsxs)(o,{form:p,onValuesChange:()=>{f(!0)},onFinish:e=>{let r=n.CONNECTEDUSER;t.mutate({user:r,password:e.password,newPassword:e.newPassword},{onSuccess:()=>{p.resetFields(),f(!1)}})},children:[(0,u.jsx)(`div`,{className:`row-row`,children:(0,u.jsxs)(`div`,{className:`form-item`,children:[(0,u.jsx)(`span`,{className:`first-label`,children:`Mot de passe actuel :`}),(0,u.jsx)(o.Item,{name:`password`,rules:[{required:!0,message:`Veuillez renseigner ce champ`}],children:(0,u.jsx)(i.Password,{})})]})}),(0,u.jsx)(`div`,{className:`row-row`,children:(0,u.jsxs)(`div`,{className:`form-item`,children:[(0,u.jsx)(`span`,{className:`first-label`,children:`Nouveau mot de passe :`}),(0,u.jsx)(o.Item,{name:`newPassword`,rules:[{required:!0,message:`Veuillez renseigner ce champ`}],children:(0,u.jsx)(i.Password,{})})]})}),(0,u.jsx)(`div`,{className:`row-row`,children:(0,u.jsxs)(`div`,{className:`form-item`,children:[(0,u.jsx)(`span`,{className:`first-label`,children:`Confirmer le nouveau mot de passe :`}),(0,u.jsx)(o.Item,{name:`confirmPassword`,rules:[{required:!0,message:`Veuillez renseigner ce champ`},({getFieldValue:e})=>({validator(t,n){return!n||e(`newPassword`)===n?Promise.resolve():Promise.reject(`Les mots de passes ne sont pas identiques !`)}})],children:(0,u.jsx)(i.Password,{})})]})})]})})})]})};d.propTypes={};export{d as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./index.esm-DB3Pt-Y3.js";import{t as i}from"./input-Yn95s9T0.js";import{L as a,at as o}from"./index-BocemapU.js";import{t as s}from"./SaveButton-B7oEAcu-.js";import{r as c}from"./users.mutations-BX9ZE4mu.js";var l=e(t()),u=n(),d=()=>{let e=a(),t=c(),n=e.data?.session,[d,f]=(0,l.useState)(!1),[p]=o.useForm();return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r,{children:(0,u.jsx)(`title`,{children:`iCTI | Modification du mot de passe`})}),(0,u.jsxs)(`div`,{className:`component-header`,children:[(0,u.jsx)(`h1`,{className:`header-title`,children:`Modification du mot de passe`}),(0,u.jsx)(`div`,{className:`header-actions`,children:(0,u.jsx)(s,{onClick:()=>p.submit(),disabled:!d||t.isPending,loading:t.isPending,toolTipTitle:`Enregistrer`})})]}),(0,u.jsx)(`div`,{className:`component-content`,children:(0,u.jsx)(`div`,{className:`password-form`,children:(0,u.jsxs)(o,{form:p,onValuesChange:()=>{f(!0)},onFinish:e=>{let r=n.CONNECTEDUSER;t.mutate({user:r,password:e.password,newPassword:e.newPassword},{onSuccess:()=>{p.resetFields(),f(!1)}})},children:[(0,u.jsx)(`div`,{className:`row-row`,children:(0,u.jsxs)(`div`,{className:`form-item`,children:[(0,u.jsx)(`span`,{className:`first-label`,children:`Mot de passe actuel :`}),(0,u.jsx)(o.Item,{name:`password`,rules:[{required:!0,message:`Veuillez renseigner ce champ`}],children:(0,u.jsx)(i.Password,{})})]})}),(0,u.jsx)(`div`,{className:`row-row`,children:(0,u.jsxs)(`div`,{className:`form-item`,children:[(0,u.jsx)(`span`,{className:`first-label`,children:`Nouveau mot de passe :`}),(0,u.jsx)(o.Item,{name:`newPassword`,rules:[{required:!0,message:`Veuillez renseigner ce champ`}],children:(0,u.jsx)(i.Password,{})})]})}),(0,u.jsx)(`div`,{className:`row-row`,children:(0,u.jsxs)(`div`,{className:`form-item`,children:[(0,u.jsx)(`span`,{className:`first-label`,children:`Confirmer le nouveau mot de passe :`}),(0,u.jsx)(o.Item,{name:`confirmPassword`,rules:[{required:!0,message:`Veuillez renseigner ce champ`},({getFieldValue:e})=>({validator(t,n){return!n||e(`newPassword`)===n?Promise.resolve():Promise.reject(`Les mots de passes ne sont pas identiques !`)}})],children:(0,u.jsx)(i.Password,{})})]})})]})})})]})};d.propTypes={};export{d as default};

assets/PresentationManager-BxKrHO9Y.js
File diff suppressed because it is too large
View File


+ 3
- 0
assets/ReportsManager-7hEOoMoK.js
File diff suppressed because it is too large
View File


+ 0
- 3
assets/ReportsManager-CPBru-Ye.js
File diff suppressed because it is too large
View File


assets/ResetButton-8cB2wMhD.js → assets/ResetButton-DwwRaJH2.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{n as r}from"./axios-BAZB3l2q.js";import{t as i}from"./prop-types-CEsF4M7J.js";import{t as a}from"./UndoOutlined-Dm9VLtd3.js";import{P as o}from"./index-vzToGWaQ.js";import{t as s}from"./BaseActionButton-CDIm59Eb.js";var c=async()=>(await o.get(`/api/rh/paie/ventilations/eligible-salaries`)).data,l=async e=>(await o.get(`/api/rh/paie/ventilations/${e}/settings`)).data,u=async(e,t)=>(await o.put(`/api/rh/paie/ventilations/${e}/settings`,t)).data,d={all:[`salarieVentilation`],list:()=>[...d.all,`list`],detail:e=>[...d.all,e]},f=[`janvier`,`fevrier`,`mars`,`avril`,`mai`,`juin`,`juillet`,`aout`,`septembre`,`octobre`,`novembre`,`decembre`];function p(e,t){return e.filter(e=>{for(let n in t)if(t[n]?.length>0&&!t[n].includes(e[n]))return!1;return!0})}function m(e,t){return p(e,t).map(e=>e.salarie_id)}var h=e=>{let t=e?.ventilations??[],n=e=>`Etablissement ${e}`,r=t.reduce((e,t)=>{let{yearNumber:r,etablissementId:i,monthName:a,ratio:o,etablissementVentilation:s}=t;return e[r]||(e[r]={}),e[r][i]||(e[r][i]={key:i,etablissement_id:i,label:s||n(i)},f.forEach(t=>{e[r][i][`ratio_${t}`]=null})),e[r][i][`ratio_${a}`]=o,e},{}),i={};for(let e in r)i[e]=Object.values(r[e]);return i};function g(e,t){return Number(e)!==Number(t)}function _(e,t){for(let[n,r]of Object.entries(e)){if(!n.startsWith(`ratio_`))continue;let e=t?.[n]??null;if(!(r==null&&e==null)&&g(r,e))return!0}return!1}var v=(e,t)=>{let n=[],r=t.salarie_id;for(let[t,i]of Object.entries(e))i.forEach(e=>{f.forEach(i=>{let a=`ratio_${i}`;e.hasOwnProperty(a)&&(n=[...n,{yearNumber:Number(t),monthName:i,salarieId:r,etablissementId:e.etablissement_id,etablissementVentilation:e.label??`Non renseigné`,ratio:e[a]??0}])})});return{infos:t,ventilations:n}},y=(e=[])=>r({queryKey:d.list(),queryFn:c,select:t=>e.length>0?t.filter(({salarie_id:t})=>e.includes(t)):t}),b=e=>r({queryKey:d.detail(e),queryFn:()=>l(e),select:e=>({ventilationByYear:h(e),salarieInfo:e.infos})});t();var x=e(i()),S=n(),C=({children:e=`Réinitialiser`,...t})=>(0,S.jsx)(s,{icon:(0,S.jsx)(a,{}),confirmTitle:`Confirmez-vous la réinitialisation ?`,okText:`Réinitialiser`,...t,children:e});C.propTypes={children:x.default.node};export{p as a,g as c,u as d,f as i,v as l,b as n,m as o,y as r,_ as s,C as t,d as u};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{n as r}from"./axios-DOscJEDN.js";import{t as i}from"./UndoOutlined-DS5JVKPM.js";import{t as a}from"./prop-types-eZYknsgO.js";import{P as o}from"./index-BocemapU.js";import{t as s}from"./BaseActionButton-Da1uVM0x.js";var c=async()=>(await o.get(`/api/rh/paie/ventilations/eligible-salaries`)).data,l=async e=>(await o.get(`/api/rh/paie/ventilations/${e}/settings`)).data,u=async(e,t)=>(await o.put(`/api/rh/paie/ventilations/${e}/settings`,t)).data,d={all:[`salarieVentilation`],list:()=>[...d.all,`list`],detail:e=>[...d.all,e]},f=[`janvier`,`fevrier`,`mars`,`avril`,`mai`,`juin`,`juillet`,`aout`,`septembre`,`octobre`,`novembre`,`decembre`];function p(e,t){return e.filter(e=>{for(let n in t)if(t[n]?.length>0&&!t[n].includes(e[n]))return!1;return!0})}function m(e,t){return p(e,t).map(e=>e.salarie_id)}var h=e=>{let t=e?.ventilations??[],n=e=>`Etablissement ${e}`,r=t.reduce((e,t)=>{let{yearNumber:r,etablissementId:i,monthName:a,ratio:o,etablissementVentilation:s}=t;return e[r]||(e[r]={}),e[r][i]||(e[r][i]={key:i,etablissement_id:i,label:s||n(i)},f.forEach(t=>{e[r][i][`ratio_${t}`]=null})),e[r][i][`ratio_${a}`]=o,e},{}),i={};for(let e in r)i[e]=Object.values(r[e]);return i};function g(e,t){return Number(e)!==Number(t)}function _(e,t){for(let[n,r]of Object.entries(e)){if(!n.startsWith(`ratio_`))continue;let e=t?.[n]??null;if(!(r==null&&e==null)&&g(r,e))return!0}return!1}var v=(e,t)=>{let n=[],r=t.salarie_id;for(let[t,i]of Object.entries(e))i.forEach(e=>{f.forEach(i=>{let a=`ratio_${i}`;e.hasOwnProperty(a)&&(n=[...n,{yearNumber:Number(t),monthName:i,salarieId:r,etablissementId:e.etablissement_id,etablissementVentilation:e.label??`Non renseigné`,ratio:e[a]??0}])})});return{infos:t,ventilations:n}},y=(e=[])=>r({queryKey:d.list(),queryFn:c,select:t=>e.length>0?t.filter(({salarie_id:t})=>e.includes(t)):t}),b=e=>r({queryKey:d.detail(e),queryFn:()=>l(e),select:e=>({ventilationByYear:h(e),salarieInfo:e.infos})});t();var x=e(a()),S=n(),C=({children:e=`Réinitialiser`,...t})=>(0,S.jsx)(s,{icon:(0,S.jsx)(i,{}),confirmTitle:`Confirmez-vous la réinitialisation ?`,okText:`Réinitialiser`,...t,children:e});C.propTypes={children:x.default.node};export{p as a,g as c,u as d,f as i,v as l,b as n,m as o,y as r,_ as s,C as t,d as u};

assets/RightSquareOutlined-DxVieXog.js → assets/RightSquareOutlined-79l4X31l.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`right-square`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M412.7 696.5l246-178c4.4-3.2 4.4-9.7 0-12.9l-246-178c-5.3-3.8-12.7 0-12.7 6.5V381c0 10.2 4.9 19.9 13.2 25.9L558.6 512 413.2 617.2c-8.3 6-13.2 15.6-13.2 25.9V690c0 6.5 7.4 10.3 12.7 6.5z`}},{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z`}}]},name:`right-square`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

assets/RowLabelWithIcon-BiTwQp49.js → assets/RowLabelWithIcon-DKaqYrFi.js View File

@ -1,2 +1,2 @@
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Filter-m8-1YxaS.js","./chunk-jRWAZmH_.js","./jsx-runtime-CEixWuwE.js","./FilterOutline-CycqYAO-.js","./Home-D5JY1jwd.js","./HomeOutline-DIkwvRFz.js","./Hospital-CYNHgxJA.js","./Information-BBkpqMWL.js","./NotificationsOutline-jaL_Ma_u.js","./PeopleOutline-DqJliGUu.js","./PersonCircleOutline-CT7kExXR.js","./SynthesisOutline-B90vgmO5.js"])))=>i.map(i=>d[i]);
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{Ct as r,On as i,kn as a}from"./axios-BAZB3l2q.js";import{t as o}from"./prop-types-CEsF4M7J.js";import{t as s}from"./preload-helper-BkP9dkeM.js";import{I as c}from"./index-vzToGWaQ.js";var l=e(t());a();var u={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{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`,attrs:{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`}}]},name:`plus-circle`,theme:`outlined`},d=l.forwardRef(function(e,t){return l.createElement(r,i(i({},e),{},{ref:t,icon:u}))}),f=e(o()),p=n(),m=Object.assign({"../../components/shared/svg/icons/Filter.jsx":()=>s(()=>import(`./Filter-m8-1YxaS.js`).then(e=>e.t),__vite__mapDeps([0,1,2]),import.meta.url),"../../components/shared/svg/icons/FilterOutline.jsx":()=>s(()=>import(`./FilterOutline-CycqYAO-.js`).then(e=>e.t),__vite__mapDeps([3,1,2]),import.meta.url),"../../components/shared/svg/icons/Home.jsx":()=>s(()=>import(`./Home-D5JY1jwd.js`).then(e=>e.t),__vite__mapDeps([4,1,2]),import.meta.url),"../../components/shared/svg/icons/HomeOutline.jsx":()=>s(()=>import(`./HomeOutline-DIkwvRFz.js`).then(e=>e.t),__vite__mapDeps([5,1,2]),import.meta.url),"../../components/shared/svg/icons/Hospital.jsx":()=>s(()=>import(`./Hospital-CYNHgxJA.js`),__vite__mapDeps([6,1,2]),import.meta.url),"../../components/shared/svg/icons/Information.jsx":()=>s(()=>import(`./Information-BBkpqMWL.js`).then(e=>e.t),__vite__mapDeps([7,1,2]),import.meta.url),"../../components/shared/svg/icons/NotificationsOutline.jsx":()=>s(()=>import(`./NotificationsOutline-jaL_Ma_u.js`).then(e=>e.t),__vite__mapDeps([8,1,2]),import.meta.url),"../../components/shared/svg/icons/PeopleOutline.jsx":()=>s(()=>import(`./PeopleOutline-DqJliGUu.js`),__vite__mapDeps([9,1,2]),import.meta.url),"../../components/shared/svg/icons/PersonCircleOutline.jsx":()=>s(()=>import(`./PersonCircleOutline-CT7kExXR.js`).then(e=>e.t),__vite__mapDeps([10,1,2]),import.meta.url),"../../components/shared/svg/icons/SynthesisOutline.jsx":()=>s(()=>import(`./SynthesisOutline-B90vgmO5.js`).then(e=>e.n),__vite__mapDeps([11,1,2]),import.meta.url)}),h=(e,t)=>{let[n,r]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let n=!0;return(async()=>{try{let i=[``,`.jsx`,`.tsx`,`.js`,`.ts`],a=null;for(let t of i){let n=`../../components/${e}${t}`;if(m[n]){a=m[n];break}}if(!a){console.error(`Composant non trouvé: ${e}`);return}let o=(await a()).default;n&&r((0,p.jsx)(o,{...t}))}catch(t){console.error(`Erreur lors de l'import de ${e}:`,t)}})(),()=>{n=!1}},[e,t]),n},g=({label:e,isCti:t,icon:n,toolTipLabel:r})=>{let i=h(`shared/svg/icons/${n}`);return(0,p.jsxs)(p.Fragment,{children:[(t===`0`||t===`false`||!t)&&(0,p.jsx)(c,{title:r,children:i}),e]})};g.propTypes={label:f.default.string,isCti:f.default.oneOfType([f.default.string,f.default.bool]),icon:f.default.string};export{d as n,g as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{Dt as r,Mn as i,Nn as a}from"./axios-DOscJEDN.js";import{t as o}from"./preload-helper-m6Zr1aMT.js";import{t as s}from"./prop-types-eZYknsgO.js";import{I as c}from"./index-BocemapU.js";var l=e(t());a();var u={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{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`,attrs:{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`}}]},name:`plus-circle`,theme:`outlined`},d=l.forwardRef(function(e,t){return l.createElement(r,i(i({},e),{},{ref:t,icon:u}))}),f=e(s()),p=n(),m=Object.assign({"../../components/shared/svg/icons/Filter.jsx":()=>o(()=>import(`./Filter-m8-1YxaS.js`).then(e=>e.t),__vite__mapDeps([0,1,2]),import.meta.url),"../../components/shared/svg/icons/FilterOutline.jsx":()=>o(()=>import(`./FilterOutline-CycqYAO-.js`).then(e=>e.t),__vite__mapDeps([3,1,2]),import.meta.url),"../../components/shared/svg/icons/Home.jsx":()=>o(()=>import(`./Home-D5JY1jwd.js`).then(e=>e.t),__vite__mapDeps([4,1,2]),import.meta.url),"../../components/shared/svg/icons/HomeOutline.jsx":()=>o(()=>import(`./HomeOutline-DIkwvRFz.js`).then(e=>e.t),__vite__mapDeps([5,1,2]),import.meta.url),"../../components/shared/svg/icons/Hospital.jsx":()=>o(()=>import(`./Hospital-CYNHgxJA.js`),__vite__mapDeps([6,1,2]),import.meta.url),"../../components/shared/svg/icons/Information.jsx":()=>o(()=>import(`./Information-BBkpqMWL.js`).then(e=>e.t),__vite__mapDeps([7,1,2]),import.meta.url),"../../components/shared/svg/icons/NotificationsOutline.jsx":()=>o(()=>import(`./NotificationsOutline-jaL_Ma_u.js`).then(e=>e.t),__vite__mapDeps([8,1,2]),import.meta.url),"../../components/shared/svg/icons/PeopleOutline.jsx":()=>o(()=>import(`./PeopleOutline-DqJliGUu.js`),__vite__mapDeps([9,1,2]),import.meta.url),"../../components/shared/svg/icons/PersonCircleOutline.jsx":()=>o(()=>import(`./PersonCircleOutline-CT7kExXR.js`).then(e=>e.t),__vite__mapDeps([10,1,2]),import.meta.url),"../../components/shared/svg/icons/SynthesisOutline.jsx":()=>o(()=>import(`./SynthesisOutline-B90vgmO5.js`).then(e=>e.n),__vite__mapDeps([11,1,2]),import.meta.url)}),h=(e,t)=>{let[n,r]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let n=!0;return(async()=>{try{let i=[``,`.jsx`,`.tsx`,`.js`,`.ts`],a=null;for(let t of i){let n=`../../components/${e}${t}`;if(m[n]){a=m[n];break}}if(!a){console.error(`Composant non trouvé: ${e}`);return}let o=(await a()).default;n&&r((0,p.jsx)(o,{...t}))}catch(t){console.error(`Erreur lors de l'import de ${e}:`,t)}})(),()=>{n=!1}},[e,t]),n},g=({label:e,isCti:t,icon:n,toolTipLabel:r})=>{let i=h(`shared/svg/icons/${n}`);return(0,p.jsxs)(p.Fragment,{children:[(t===`0`||t===`false`||!t)&&(0,p.jsx)(c,{title:r,children:i}),e]})};g.propTypes={label:f.default.string,isCti:f.default.oneOfType([f.default.string,f.default.bool]),icon:f.default.string};export{d as n,g as t};

+ 0
- 1
assets/SalarieVentilationEditor-B92HIJJU.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/SalarieVentilationEditor-BAv2vip0.js
File diff suppressed because it is too large
View File


assets/SalarieVentilationListing-B2TvYUdd.js → assets/SalarieVentilationListing-D-FrMBaX.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./index.esm-DB3Pt-Y3.js";import{t as i}from"./button-BwrlrBF7.js";import{t as a}from"./table-COZB-myP.js";import{c as o,s,t as c}from"./chunk-62JRHF6Z-BvBbiO43.js";import{t as l}from"./Loader-DwTdyGS9.js";import{a as u,o as d,r as f,t as p}from"./ResetButton-8cB2wMhD.js";var m=e(t()),h=n();function g(){let e=s(),t=o(),[n,g]=(0,m.useState)(e.state?.filteredInfo||{}),_=Object.values(n).filter(Boolean).length!==0,v=f();if(v.status===`pending`)return(0,h.jsx)(`div`,{className:`loading-wrapper`,children:(0,h.jsx)(l,{style:{height:`auto`}})});if(v.status===`error`)return(0,h.jsx)(`p`,{children:`Error :(`});let y=_?u(v.data,n):[...v.data],b=[`matricule`,`nom`,`prenom`,`etablissement_contrat`,`qualification`],x={};b.forEach(e=>{let t=new Set(y?.map(t=>t[e]).filter(Boolean));x[e]=Array.from(t).sort((e,t)=>e.localeCompare(t)).map(e=>({text:e,value:e}))});let S=(n,r,i)=>{g(r),t(e.pathname,{replace:!0,state:{...e.state,filteredInfo:r}})},C=()=>{g({}),t(e.pathname,{replace:!0,state:{...e.state,filteredInfo:{}}})},w=[{title:`Matricule`,dataIndex:`matricule`,key:`matricule`,onFilter:(e,t)=>t.matricule.toString().toLowerCase().includes(e.toLowerCase()),filteredValue:n.matricule||null,filters:x.matricule,filterSearch:!0},{title:`Nom`,dataIndex:`nom`,key:`nom`,filteredValue:n.nom||null,filters:x.nom,filterSearch:!0,onFilter:(e,t)=>t.nom.toString().toLowerCase().includes(e.toLowerCase())},{title:`Prénom`,dataIndex:`prenom`,key:`prenom`,filteredValue:n.prenom||null,filters:x.prenom,onFilter:(e,t)=>t.prenom.toString().toLowerCase().includes(e.toLowerCase()),filterSearch:!0},{title:`Etablissement du contrat`,dataIndex:`etablissement_contrat`,key:`etablissement_contrat`,filteredValue:n.etablissement_contrat||null,filters:x.etablissement_contrat,onFilter:(e,t)=>t.etablissement_contrat.toString().toLowerCase().includes(e.toLowerCase()),filterSearch:!0},{title:`Qualification`,dataIndex:`qualification`,key:`qualification`,filteredValue:n.qualification||null,filters:x.qualification,onFilter:(e,t)=>t.qualification.toString().toLowerCase().includes(e.toLowerCase()),filterSearch:!0},{title:`Action`,dataIndex:``,key:`action`,width:`8%`,render:e=>(0,h.jsx)(c,{to:{pathname:`/rh/ventilations/${e.salarie_id}/settings`,state:{fromSider:!0,filteredSalarieIds:d(v.data,n),filteredInfo:n}},children:(0,h.jsx)(i,{children:`Éditer`})})}];return(0,h.jsxs)(`div`,{className:``,children:[(0,h.jsx)(r,{children:(0,h.jsx)(`title`,{children:`iCTI | Liste des Salariés`})}),(0,h.jsxs)(`div`,{className:`component-header`,children:[(0,h.jsx)(`div`,{className:`header-title`,children:`Liste des Salariés`}),(0,h.jsx)(p,{disabled:!_,onClick:C,children:`Réinitialiser les filtres`})]}),(0,h.jsx)(`div`,{className:`component-content`,children:(0,h.jsx)(a,{columns:w,dataSource:y,pagination:{pageSize:50},scroll:{y:`calc(100vh - 240px)`},onChange:S,size:`small`})})]})}export{g as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./index.esm-DB3Pt-Y3.js";import{t as i}from"./button-BMyidN73.js";import{t as a}from"./table-DT2n3sXB.js";import{c as o,s,t as c}from"./chunk-62JRHF6Z-Dyzu9RRG.js";import{t as l}from"./Loader-DwXJ8Se3.js";import{a as u,o as d,r as f,t as p}from"./ResetButton-DwwRaJH2.js";var m=e(t()),h=n();function g(){let e=s(),t=o(),[n,g]=(0,m.useState)(e.state?.filteredInfo||{}),_=Object.values(n).filter(Boolean).length!==0,v=f();if(v.status===`pending`)return(0,h.jsx)(`div`,{className:`loading-wrapper`,children:(0,h.jsx)(l,{style:{height:`auto`}})});if(v.status===`error`)return(0,h.jsx)(`p`,{children:`Error :(`});let y=_?u(v.data,n):[...v.data],b=[`matricule`,`nom`,`prenom`,`etablissement_contrat`,`qualification`],x={};b.forEach(e=>{let t=new Set(y?.map(t=>t[e]).filter(Boolean));x[e]=Array.from(t).sort((e,t)=>e.localeCompare(t)).map(e=>({text:e,value:e}))});let S=(n,r,i)=>{g(r),t(e.pathname,{replace:!0,state:{...e.state,filteredInfo:r}})},C=()=>{g({}),t(e.pathname,{replace:!0,state:{...e.state,filteredInfo:{}}})},w=[{title:`Matricule`,dataIndex:`matricule`,key:`matricule`,onFilter:(e,t)=>t.matricule.toString().toLowerCase().includes(e.toLowerCase()),filteredValue:n.matricule||null,filters:x.matricule,filterSearch:!0},{title:`Nom`,dataIndex:`nom`,key:`nom`,filteredValue:n.nom||null,filters:x.nom,filterSearch:!0,onFilter:(e,t)=>t.nom.toString().toLowerCase().includes(e.toLowerCase())},{title:`Prénom`,dataIndex:`prenom`,key:`prenom`,filteredValue:n.prenom||null,filters:x.prenom,onFilter:(e,t)=>t.prenom.toString().toLowerCase().includes(e.toLowerCase()),filterSearch:!0},{title:`Etablissement du contrat`,dataIndex:`etablissement_contrat`,key:`etablissement_contrat`,filteredValue:n.etablissement_contrat||null,filters:x.etablissement_contrat,onFilter:(e,t)=>t.etablissement_contrat.toString().toLowerCase().includes(e.toLowerCase()),filterSearch:!0},{title:`Qualification`,dataIndex:`qualification`,key:`qualification`,filteredValue:n.qualification||null,filters:x.qualification,onFilter:(e,t)=>t.qualification.toString().toLowerCase().includes(e.toLowerCase()),filterSearch:!0},{title:`Action`,dataIndex:``,key:`action`,width:`8%`,render:e=>(0,h.jsx)(c,{to:{pathname:`/rh/ventilations/${e.salarie_id}/settings`,state:{fromSider:!0,filteredSalarieIds:d(v.data,n),filteredInfo:n}},children:(0,h.jsx)(i,{children:`Éditer`})})}];return(0,h.jsxs)(`div`,{className:``,children:[(0,h.jsx)(r,{children:(0,h.jsx)(`title`,{children:`iCTI | Liste des Salariés`})}),(0,h.jsxs)(`div`,{className:`component-header`,children:[(0,h.jsx)(`div`,{className:`header-title`,children:`Liste des Salariés`}),(0,h.jsx)(p,{disabled:!_,onClick:C,children:`Réinitialiser les filtres`})]}),(0,h.jsx)(`div`,{className:`component-content`,children:(0,h.jsx)(a,{columns:w,dataSource:y,pagination:{pageSize:50},scroll:{y:`calc(100vh - 240px)`},onChange:S,size:`small`})})]})}export{g as default};

+ 1
- 0
assets/SaveButton-B7oEAcu-.js View File

@ -0,0 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./SaveOutlined-CKknbpWq.js";import{t as i}from"./prop-types-eZYknsgO.js";import{t as a}from"./BaseActionButton-Da1uVM0x.js";t();var o=e(i()),s=n(),c=({children:e=`Enregistrer`,...t})=>(0,s.jsx)(a,{icon:(0,s.jsx)(r,{}),confirmTitle:`Confirmez-vous l'enregistrement ?`,okText:`Enregister`,...t,children:e});c.propTypes={children:o.default.node};export{c as t};

+ 0
- 1
assets/SaveButton-CYK544Bz.js View File

@ -1 +0,0 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./prop-types-CEsF4M7J.js";import{t as i}from"./SaveOutlined-Gt-YZ390.js";import{t as a}from"./BaseActionButton-CDIm59Eb.js";t();var o=e(r()),s=n(),c=({children:e=`Enregistrer`,...t})=>(0,s.jsx)(a,{icon:(0,s.jsx)(i,{}),confirmTitle:`Confirmez-vous l'enregistrement ?`,okText:`Enregister`,...t,children:e});c.propTypes={children:o.default.node};export{c as t};

assets/SaveOutlined-Gt-YZ390.js → assets/SaveOutlined-CKknbpWq.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z`}}]},name:`save`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z`}}]},name:`save`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

+ 29
- 0
assets/SearchOutlined-BPqyJBOP.js
File diff suppressed because it is too large
View File


+ 0
- 29
assets/SearchOutlined-BrX-N3ET.js
File diff suppressed because it is too large
View File


assets/Simulations-BLTQT4ns.js → assets/Simulations-Dnn5166S.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r,mr as i,n as a,or as o}from"./axios-BAZB3l2q.js";import{t as s}from"./index.esm-DB3Pt-Y3.js";import{i as c}from"./ctiAxios-z6-f5GoX.js";import{a as l}from"./notification-iew2j46e.js";import{t as u}from"./button-BwrlrBF7.js";import{t as d}from"./prop-types-CEsF4M7J.js";import{t as f}from"./DownloadOutlined-SDOVAq85.js";import{t as p}from"./useMutation-21uqqzNW.js";import{t as m}from"./UndoOutlined-Dm9VLtd3.js";import{I as h,_t as g,c as _,z as v}from"./index-vzToGWaQ.js";var y={all:[`simulations`],list:e=>[...y.all,e]},b=e=>{let t=e.getElementsByTagName(`HTTP_SERVICE`)[0];return i(o(t,`FILE`))},x=e=>{let t=e.getElementsByTagName(`HTTP_SERVICE`)[0];return i(o(t,`RETURN`))[0]},S=`modules/pmsi/php/PMSI_simulation.php`;async function C(e){let t=await c(S,{operation:`get_list`,FG_YEAR:e});return{simulations:b(t),message:x(t)}}async function w(e){await c(S,{operation:`send_file`,FG_YEAR:e})}async function T(e,t){let n=x(await c(S,{operation:`get_file`,FG_YEAR:e,file:t}));if(n.code!==`OK`)throw Error(n.message);return n}async function E(e,t){let n=x(await c(S,{operation:`trt_file`,FG_YEAR:e,file:t}));if(n.code!==`OK`)throw Error(n.message);return n}function D(e){return a({queryKey:y.list(e),queryFn:()=>C(e),enabled:!!e})}function O(){let e=r();return p({mutationFn:({year:e})=>w(e),meta:{successMessage:`Séjours non groupés envoyés`,errorMessage:`Erreur lors de l'envoi des séjours`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:y.list(r.year)})}})}function k(){let e=r();return p({mutationFn:async({year:e,file:t})=>{await T(e,t),l({type:`info`,message:`Simulation`,description:`Séjours groupés téléchargés, lancement des traitements`}),await E(e,t)},meta:{successMessage:`Traitements terminés`,errorMessage:`Erreur lors du téléchargement des séjours groupés`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:y.list(r.year)})}})}var A=e(t()),j=e(d()),M=[{title:`Séjour téléversés`,dataKey:`fg0_name`,key:`fg0_name`,width:300,resizable:!0,flexGrow:1},{title:`Date de téléversement`,dataKey:`fg0_remote_date`,key:`fg0_remote_date`,width:300,resizable:!0},{title:`Taille`,dataKey:`fg0_size`,key:`fg0_size`,cellRenderer:({cellData:e})=>`${e/1e3} Ko`,width:300,resizable:!0},{title:`Groupé par CTI`,dataKey:`fg1_remote_date`,key:`fg1_remote_date`,width:300,resizable:!0}],N=n(),P=({year:e})=>{let t=D(e),n=O(),r=k(),i=t.data?.simulations??[],a=t.data?.message??{},[o,c]=(0,A.useState)({}),l=()=>{t.refetch()},d=()=>{n.mutate({year:e})},p=e=>{c(i.find(t=>t.key===e))},y=()=>{o.fg1_ok===`OUI`&&r.mutate({year:e,file:o.fg1_name})},b=t.isFetching||n.isPending||r.isPending;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(s,{children:(0,N.jsxs)(`title`,{children:[`iCTI | Regroupage `,e]})}),(0,N.jsxs)(`div`,{className:`component-header`,children:[(0,N.jsxs)(`div`,{className:`header-title`,children:[`Regroupage `,e]}),(0,N.jsxs)(`div`,{className:`header-actions`,children:[(0,N.jsx)(h,{title:`Téléverser les séjours vers Web CTI`,children:(0,N.jsxs)(u,{onClick:d,disabled:n.isPending,children:[(0,N.jsx)(v,{}),`Téléverser`]})}),(0,N.jsx)(h,{title:`Télécharger la simulation`,children:(0,N.jsxs)(u,{disabled:o.fg1_ok!==`OUI`||r.isPending,onClick:y,children:[(0,N.jsx)(f,{}),`Télécharger`]})}),(0,N.jsx)(h,{title:`Actualiser`,children:(0,N.jsx)(u,{type:`link`,onClick:l,children:(0,N.jsx)(m,{})})})]})]}),a.warning&&a.warning!==``?(0,N.jsx)(g,{message:a.warning,type:`warning`,showIcon:!0}):null,(0,N.jsx)(`div`,{className:`component-content`,children:(0,N.jsx)(_,{columns:M,data:i,loading:b,fixed:!1,onRowSelect:p,selectedRow:o})})]})};P.propTypes={year:j.default.string};export{P as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r,n as i,ur as a,vr as o}from"./axios-DOscJEDN.js";import{t as s}from"./index.esm-DB3Pt-Y3.js";import{i as c}from"./ctiAxios-CDlE51TE.js";import{a as l}from"./notification-BkpaB2Vc.js";import{t as u}from"./button-BMyidN73.js";import{t as d}from"./DownloadOutlined-BPVvN91B.js";import{t as f}from"./useMutation-DqBabLvU.js";import{t as p}from"./UndoOutlined-DS5JVKPM.js";import{t as m}from"./prop-types-eZYknsgO.js";import{I as h,_t as g,c as _,z as v}from"./index-BocemapU.js";var y={all:[`simulations`],list:e=>[...y.all,e]},b=e=>{let t=e.getElementsByTagName(`HTTP_SERVICE`)[0];return o(a(t,`FILE`))},x=e=>{let t=e.getElementsByTagName(`HTTP_SERVICE`)[0];return o(a(t,`RETURN`))[0]},S=`modules/pmsi/php/PMSI_simulation.php`;async function C(e){let t=await c(S,{operation:`get_list`,FG_YEAR:e});return{simulations:b(t),message:x(t)}}async function w(e){await c(S,{operation:`send_file`,FG_YEAR:e})}async function T(e,t){let n=x(await c(S,{operation:`get_file`,FG_YEAR:e,file:t}));if(n.code!==`OK`)throw Error(n.message);return n}async function E(e,t){let n=x(await c(S,{operation:`trt_file`,FG_YEAR:e,file:t}));if(n.code!==`OK`)throw Error(n.message);return n}function D(e){return i({queryKey:y.list(e),queryFn:()=>C(e),enabled:!!e})}function O(){let e=r();return f({mutationFn:({year:e})=>w(e),meta:{successMessage:`Séjours non groupés envoyés`,errorMessage:`Erreur lors de l'envoi des séjours`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:y.list(r.year)})}})}function k(){let e=r();return f({mutationFn:async({year:e,file:t})=>{await T(e,t),l({type:`info`,message:`Simulation`,description:`Séjours groupés téléchargés, lancement des traitements`}),await E(e,t)},meta:{successMessage:`Traitements terminés`,errorMessage:`Erreur lors du téléchargement des séjours groupés`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:y.list(r.year)})}})}var A=e(t()),j=e(m()),M=[{title:`Séjour téléversés`,dataKey:`fg0_name`,key:`fg0_name`,width:300,resizable:!0,flexGrow:1},{title:`Date de téléversement`,dataKey:`fg0_remote_date`,key:`fg0_remote_date`,width:300,resizable:!0},{title:`Taille`,dataKey:`fg0_size`,key:`fg0_size`,cellRenderer:({cellData:e})=>`${e/1e3} Ko`,width:300,resizable:!0},{title:`Groupé par CTI`,dataKey:`fg1_remote_date`,key:`fg1_remote_date`,width:300,resizable:!0}],N=n(),P=({year:e})=>{let t=D(e),n=O(),r=k(),i=t.data?.simulations??[],a=t.data?.message??{},[o,c]=(0,A.useState)({}),l=()=>{t.refetch()},f=()=>{n.mutate({year:e})},m=e=>{c(i.find(t=>t.key===e))},y=()=>{o.fg1_ok===`OUI`&&r.mutate({year:e,file:o.fg1_name})},b=t.isFetching||n.isPending||r.isPending;return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(s,{children:(0,N.jsxs)(`title`,{children:[`iCTI | Regroupage `,e]})}),(0,N.jsxs)(`div`,{className:`component-header`,children:[(0,N.jsxs)(`div`,{className:`header-title`,children:[`Regroupage `,e]}),(0,N.jsxs)(`div`,{className:`header-actions`,children:[(0,N.jsx)(h,{title:`Téléverser les séjours vers Web CTI`,children:(0,N.jsxs)(u,{onClick:f,disabled:n.isPending,children:[(0,N.jsx)(v,{}),`Téléverser`]})}),(0,N.jsx)(h,{title:`Télécharger la simulation`,children:(0,N.jsxs)(u,{disabled:o.fg1_ok!==`OUI`||r.isPending,onClick:y,children:[(0,N.jsx)(d,{}),`Télécharger`]})}),(0,N.jsx)(h,{title:`Actualiser`,children:(0,N.jsx)(u,{type:`link`,onClick:l,children:(0,N.jsx)(p,{})})})]})]}),a.warning&&a.warning!==``?(0,N.jsx)(g,{message:a.warning,type:`warning`,showIcon:!0}):null,(0,N.jsx)(`div`,{className:`component-content`,children:(0,N.jsx)(_,{columns:M,data:i,loading:b,fixed:!1,onRowSelect:m,selectedRow:o})})]})};P.propTypes={year:j.default.string};export{P as default};

assets/SpecSynchronize-BkjIHIhm.js → assets/SpecSynchronize-D0Agdx8k.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./index.esm-DB3Pt-Y3.js";import{i}from"./ctiAxios-z6-f5GoX.js";import{a}from"./notification-iew2j46e.js";import{t as o}from"./button-BwrlrBF7.js";import{t as s}from"./prop-types-CEsF4M7J.js";import{t as c}from"./input-vY_ggPFq.js";import{t as l}from"./popconfirm-skTHAEtZ.js";import{t as u}from"./UndoOutlined-Dm9VLtd3.js";import{t as d}from"./Loader-DwTdyGS9.js";import{I as f,at as p,c as m,dt as h}from"./index-vzToGWaQ.js";import{a as g,t as _}from"./synchronize.queries-CRzIztql.js";var v=e(t()),y=e(s()),b=n(),x=({swfData:e})=>{let[t]=p.useForm(),n=(0,v.useMemo)(()=>{let t=e.split(`|`);return{exe:t[0],title:t[1],options:t.splice(2,t.length-1).filter(e=>e)}},[e]),s=_(n.exe),y=()=>{s.refetch()},x=async()=>{let e=t.getFieldsValue(),r={exe:n.exe},o=``;for(let t in e)e[t]&&(o=`${o}${t} ${e[t]} `);r.args=o,a({type:`success`,message:`Synchronisation`,description:`Synchronisation lancée sur le serveur`}),await i(`modules/outils/php/httpService_synchronizeManager_exec.php`,r),y()};function S(e){return(0,b.jsx)(`div`,{className:`content-table`,children:(0,b.jsx)(m,{columns:g,data:e.map((e,t)=>({...e,key:t})),loading:s.isFetching})})}return!s.data?.jobs||s.isPending?(0,b.jsx)(`div`,{className:`loading-wrapper`,children:(0,b.jsx)(d,{})}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(r,{children:(0,b.jsx)(`title`,{children:`iCTI | Synchronisation`})}),(0,b.jsxs)(`div`,{className:`component-header`,children:[(0,b.jsx)(`div`,{className:`header-title`,children:n.title}),(0,b.jsx)(`div`,{className:`header-actions`,children:(0,b.jsx)(f,{title:`Actualiser`,children:(0,b.jsx)(o,{type:`link`,onClick:y,children:(0,b.jsx)(u,{})})})})]}),(0,b.jsx)(`div`,{className:`component-content`,children:(0,b.jsx)(h,{defaultActiveKey:`1`,items:[{label:`Synchronisation des données`,key:`1`,children:(0,b.jsxs)(b.Fragment,{children:[!n.options||!n.options.length?null:(0,b.jsx)(`div`,{className:`sync-options`,children:(0,b.jsx)(p,{form:t,children:n.options.map(e=>{let t=e.split(`#`)[0],n=e.split(`#`)[1],r=e.split(`#`)[3];return(0,b.jsxs)(`div`,{className:`form-item`,children:[(0,b.jsx)(`div`,{className:`first-label`,children:t}),(0,b.jsx)(p.Item,{name:n,extra:r,children:(0,b.jsx)(c,{})},n)]},n)})})}),(0,b.jsx)(`div`,{style:{display:`flex`,flexDirection:`row`,justifyContent:`center`},children:(0,b.jsxs)(l,{title:`Êtes-vous sur de vouloir lancer la synchronisation ?`,onConfirm:x,children:[(0,b.jsx)(o,{type:`primary`,style:{width:500},children:`Lancer`}),(0,b.jsx)(`p`,{children:s.data.lastJobs[0].last_all_endded})]})})]})},{label:`Historique des travaux`,key:`2`,children:(0,b.jsx)(b.Fragment,{children:S(s.data.jobs)})}]})})]})};x.propTypes={data:y.default.string};var S=v.memo(x);export{S as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{t as r}from"./index.esm-DB3Pt-Y3.js";import{i}from"./ctiAxios-CDlE51TE.js";import{a}from"./notification-BkpaB2Vc.js";import{t as o}from"./button-BMyidN73.js";import{t as s}from"./input-Yn95s9T0.js";import{t as c}from"./popconfirm-DHVG0Jca.js";import{t as l}from"./UndoOutlined-DS5JVKPM.js";import{t as u}from"./prop-types-eZYknsgO.js";import{t as d}from"./Loader-DwXJ8Se3.js";import{I as f,at as p,c as m,dt as h}from"./index-BocemapU.js";import{a as g,t as _}from"./synchronize.queries-CTvMMThv.js";var v=e(t()),y=e(u()),b=n(),x=({swfData:e})=>{let[t]=p.useForm(),n=(0,v.useMemo)(()=>{let t=e.split(`|`);return{exe:t[0],title:t[1],options:t.splice(2,t.length-1).filter(e=>e)}},[e]),u=_(n.exe),y=()=>{u.refetch()},x=async()=>{let e=t.getFieldsValue(),r={exe:n.exe},o=``;for(let t in e)e[t]&&(o=`${o}${t} ${e[t]} `);r.args=o,a({type:`success`,message:`Synchronisation`,description:`Synchronisation lancée sur le serveur`}),await i(`modules/outils/php/httpService_synchronizeManager_exec.php`,r),y()};function S(e){return(0,b.jsx)(`div`,{className:`content-table`,children:(0,b.jsx)(m,{columns:g,data:e.map((e,t)=>({...e,key:t})),loading:u.isFetching})})}return!u.data?.jobs||u.isPending?(0,b.jsx)(`div`,{className:`loading-wrapper`,children:(0,b.jsx)(d,{})}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(r,{children:(0,b.jsx)(`title`,{children:`iCTI | Synchronisation`})}),(0,b.jsxs)(`div`,{className:`component-header`,children:[(0,b.jsx)(`div`,{className:`header-title`,children:n.title}),(0,b.jsx)(`div`,{className:`header-actions`,children:(0,b.jsx)(f,{title:`Actualiser`,children:(0,b.jsx)(o,{type:`link`,onClick:y,children:(0,b.jsx)(l,{})})})})]}),(0,b.jsx)(`div`,{className:`component-content`,children:(0,b.jsx)(h,{defaultActiveKey:`1`,items:[{label:`Synchronisation des données`,key:`1`,children:(0,b.jsxs)(b.Fragment,{children:[!n.options||!n.options.length?null:(0,b.jsx)(`div`,{className:`sync-options`,children:(0,b.jsx)(p,{form:t,children:n.options.map(e=>{let t=e.split(`#`)[0],n=e.split(`#`)[1],r=e.split(`#`)[3];return(0,b.jsxs)(`div`,{className:`form-item`,children:[(0,b.jsx)(`div`,{className:`first-label`,children:t}),(0,b.jsx)(p.Item,{name:n,extra:r,children:(0,b.jsx)(s,{})},n)]},n)})})}),(0,b.jsx)(`div`,{style:{display:`flex`,flexDirection:`row`,justifyContent:`center`},children:(0,b.jsxs)(c,{title:`Êtes-vous sur de vouloir lancer la synchronisation ?`,onConfirm:x,children:[(0,b.jsx)(o,{type:`primary`,style:{width:500},children:`Lancer`}),(0,b.jsx)(`p`,{children:u.data.lastJobs[0].last_all_endded})]})})]})},{label:`Historique des travaux`,key:`2`,children:(0,b.jsx)(b.Fragment,{children:S(u.data.jobs)})}]})})]})};x.propTypes={data:y.default.string};var S=v.memo(x);export{S as default};

assets/Synchronize-y9JbYBt3.js → assets/Synchronize-BCphLJ6n.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{Ct as r,On as i,S as a,kn as o}from"./axios-BAZB3l2q.js";import{t as s}from"./index.esm-DB3Pt-Y3.js";import{t as c}from"./button-BwrlrBF7.js";import{t as l}from"./prop-types-CEsF4M7J.js";import{t as u}from"./popconfirm-skTHAEtZ.js";import{t as d}from"./useMutation-21uqqzNW.js";import{t as f}from"./UndoOutlined-Dm9VLtd3.js";import{t as p}from"./Loader-DwTdyGS9.js";import{I as m,c as h,dt as g}from"./index-vzToGWaQ.js";import{a as _,i as v,n as y,r as b}from"./synchronize.queries-CRzIztql.js";var x={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z`}}]},name:`play-square`,theme:`filled`};o();var S=e(t()),C=S.forwardRef(function(e,t){return S.createElement(r,i(i({},e),{},{ref:t,icon:x}))});function w(){let e=a();return d({mutationFn:({exePath:e,year:t})=>v(e,t),meta:{successMessage:`Synchronisation lancée sur le serveur`,errorMessage:`Erreur lors du lancement de la synchronisation`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:b.ssaeJobs(r.year)})}})}var T=e(l()),E=n(),D=({softCode:e,year:t})=>{let n=y(t),r=w(),i=()=>{n.refetch()},a=e=>{r.mutate({exePath:e,year:t})};function o(t){return e===`iCTI_ssae`?(0,E.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`},children:t.map(e=>(0,E.jsxs)(`div`,{style:{padding:`10px 20px`},children:[(0,E.jsx)(u,{title:e.confirm,onConfirm:()=>a(e.exe_path),okText:`Lancer la synchronisation`,cancelText:`Annuler`,children:(0,E.jsx)(c,{type:`primary`,icon:(0,E.jsx)(C,{}),children:e.button})}),(0,E.jsx)(`br`,{}),(0,E.jsx)(`span`,{style:{margin:`10px 0px 0px`},children:e.last_status})]},e.button))}):(0,E.jsx)(`div`,{})}function l(e){return(0,E.jsx)(`div`,{className:`content-table`,children:(0,E.jsx)(h,{columns:_,data:e.map((e,t)=>({...e,key:t})),loading:n.isFetching})})}return!n.data?.jobs||n.isPending?(0,E.jsx)(`div`,{className:`loading-wrapper`,children:(0,E.jsx)(p,{})}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(s,{children:(0,E.jsx)(`title`,{children:`iCTI | Synchronisation`})}),(0,E.jsxs)(`div`,{className:`component-header`,children:[(0,E.jsx)(`div`,{className:`header-title`,children:`Synchronisation des données`}),(0,E.jsx)(`div`,{className:`header-actions`,children:(0,E.jsx)(m,{title:`Actualiser`,children:(0,E.jsx)(c,{type:`link`,onClick:i,children:(0,E.jsx)(f,{})})})})]}),(0,E.jsx)(`div`,{className:`component-content`,children:(0,E.jsx)(g,{defaultActiveKey:`1`,items:[{label:`Synchronisation des données`,key:`1`,children:(0,E.jsx)(E.Fragment,{children:o(n.data.execs)})},{label:`Historique des travaux`,key:`2`,children:(0,E.jsx)(E.Fragment,{children:l(n.data.jobs)})}]})})]})};D.propTypes={softCode:T.default.string,year:T.default.string};var O=S.memo(D);export{O as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{Dt as r,Mn as i,Nn as a,S as o}from"./axios-DOscJEDN.js";import{t as s}from"./index.esm-DB3Pt-Y3.js";import{t as c}from"./button-BMyidN73.js";import{t as l}from"./popconfirm-DHVG0Jca.js";import{t as u}from"./useMutation-DqBabLvU.js";import{t as d}from"./UndoOutlined-DS5JVKPM.js";import{t as f}from"./prop-types-eZYknsgO.js";import{t as p}from"./Loader-DwXJ8Se3.js";import{I as m,c as h,dt as g}from"./index-BocemapU.js";import{a as _,i as v,n as y,r as b}from"./synchronize.queries-CTvMMThv.js";var x={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM641.7 520.8L442.3 677.6c-7.4 5.8-18.3.6-18.3-8.8V355.3c0-9.4 10.9-14.7 18.3-8.8l199.4 156.7a11.2 11.2 0 010 17.6z`}}]},name:`play-square`,theme:`filled`};a();var S=e(t()),C=S.forwardRef(function(e,t){return S.createElement(r,i(i({},e),{},{ref:t,icon:x}))});function w(){let e=o();return u({mutationFn:({exePath:e,year:t})=>v(e,t),meta:{successMessage:`Synchronisation lancée sur le serveur`,errorMessage:`Erreur lors du lancement de la synchronisation`},onSettled:async(t,n,r)=>{await e.invalidateQueries({queryKey:b.ssaeJobs(r.year)})}})}var T=e(f()),E=n(),D=({softCode:e,year:t})=>{let n=y(t),r=w(),i=()=>{n.refetch()},a=e=>{r.mutate({exePath:e,year:t})};function o(t){return e===`iCTI_ssae`?(0,E.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`},children:t.map(e=>(0,E.jsxs)(`div`,{style:{padding:`10px 20px`},children:[(0,E.jsx)(l,{title:e.confirm,onConfirm:()=>a(e.exe_path),okText:`Lancer la synchronisation`,cancelText:`Annuler`,children:(0,E.jsx)(c,{type:`primary`,icon:(0,E.jsx)(C,{}),children:e.button})}),(0,E.jsx)(`br`,{}),(0,E.jsx)(`span`,{style:{margin:`10px 0px 0px`},children:e.last_status})]},e.button))}):(0,E.jsx)(`div`,{})}function u(e){return(0,E.jsx)(`div`,{className:`content-table`,children:(0,E.jsx)(h,{columns:_,data:e.map((e,t)=>({...e,key:t})),loading:n.isFetching})})}return!n.data?.jobs||n.isPending?(0,E.jsx)(`div`,{className:`loading-wrapper`,children:(0,E.jsx)(p,{})}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(s,{children:(0,E.jsx)(`title`,{children:`iCTI | Synchronisation`})}),(0,E.jsxs)(`div`,{className:`component-header`,children:[(0,E.jsx)(`div`,{className:`header-title`,children:`Synchronisation des données`}),(0,E.jsx)(`div`,{className:`header-actions`,children:(0,E.jsx)(m,{title:`Actualiser`,children:(0,E.jsx)(c,{type:`link`,onClick:i,children:(0,E.jsx)(d,{})})})})]}),(0,E.jsx)(`div`,{className:`component-content`,children:(0,E.jsx)(g,{defaultActiveKey:`1`,items:[{label:`Synchronisation des données`,key:`1`,children:(0,E.jsx)(E.Fragment,{children:o(n.data.execs)})},{label:`Historique des travaux`,key:`2`,children:(0,E.jsx)(E.Fragment,{children:u(n.data.jobs)})}]})})]})};D.propTypes={softCode:T.default.string,year:T.default.string};var O=S.memo(D);export{O as default};

+ 6
- 0
assets/TablesManager-BlFadPbF.js
File diff suppressed because it is too large
View File


+ 0
- 6
assets/TablesManager-CYF7GPCo.js
File diff suppressed because it is too large
View File


assets/UndoOutlined-Dm9VLtd3.js → assets/UndoOutlined-DS5JVKPM.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z`}}]},name:`undo`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z`}}]},name:`undo`,theme:`outlined`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

+ 0
- 1
assets/UserManager-Bh1v79Eu.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/UserManager-_Pw6fmw0.js
File diff suppressed because it is too large
View File


assets/ValoImports-D_tG4gN9.js → assets/ValoImports-BZq8Q45l.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r,ir as i,n as a}from"./axios-BAZB3l2q.js";import{t as o}from"./index.esm-DB3Pt-Y3.js";import{t as s}from"./ctiAxios-z6-f5GoX.js";import{t as c}from"./button-BwrlrBF7.js";import{t as l}from"./useMutation-21uqqzNW.js";import{t as u}from"./queryOptions-8oqYyfXL.js";import{t as d}from"./UndoOutlined-Dm9VLtd3.js";import{I as f,c as p,z as m}from"./index-vzToGWaQ.js";var h=`modules/pmsissr/php/PMSI_getImportsValo.php`;async function g(){let e=new FormData;return e.append(`action`,`get`),(await s({method:`post`,url:i()+h,data:e,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}async function _({file:e}){let t=new FormData;return t.append(`action`,`post`),t.append(`fileName`,e.name),t.append(`fileData`,e),(await s({method:`post`,url:i()+h,data:t,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}var v={all:[`valoSsrImports`],list:()=>[...v.all,`list`]},y=()=>u({queryKey:v.list(),queryFn:g}),b=()=>a(y());function x(){let e=r();return l({mutationFn:_,meta:{successMessage:`Fichier importé`,errorMessage:`Erreur lors de l'import du fichier`},onSettled:async()=>{await e.invalidateQueries({queryKey:v.list()})}})}var S=e(t()),C=n(),w=()=>{let e=b(),t=x(),n=e.data?.imports??[],r=(0,S.useRef)(),i=()=>{e.refetch()},a=()=>{r.current.click()},s=e=>{let n=e.target.files[0];n&&t.mutate({file:n})},l=[{title:`Import dans CTI`,dataKey:`date`},{title:`Nombre séjour`,dataKey:`nb_sejours`},{title:`Nombre séjour HC`,dataKey:`nb_sejours_hc`},{title:`Nombre séjour HP`,dataKey:`nb_sejours_hp`},{title:`Nombre séjour non valorisé`,dataKey:`nb_sejours_non_valorises`},{title:`Nombre séjour pédiatrique`,dataKey:`nb_sejours_pediatrique_valorises`},{title:`Année de valorisation`,dataKey:`vclass`},{title:`Coefficient Géographique`,dataKey:`coeffgeo`},{title:`Coefficient Spécialisation`,dataKey:`coeffspe`},{title:`Coefficient prudentiel`,dataKey:`coeffprud`},{title:`Coefficient honoraire`,dataKey:`coeffhono`},{title:`Coefficient transition`,dataKey:`coefftrans`},{title:`Fraction DMA`,dataKey:`fracdma`}].map(e=>({width:100,resizable:!0,key:e.dataKey,...e}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(o,{children:(0,C.jsx)(`title`,{children:`iCTI | Gestion des imports`})}),(0,C.jsxs)(`div`,{className:`component-header`,children:[(0,C.jsx)(`div`,{className:`header-title`,children:`Imports VALO SSR`}),(0,C.jsxs)(`div`,{className:`header-actions`,children:[(0,C.jsx)(f,{title:`Actualiser`,children:(0,C.jsx)(c,{type:`link`,onClick:i,children:(0,C.jsx)(d,{})})}),(0,C.jsx)(c,{size:`default`,type:`primary`,icon:(0,C.jsx)(m,{}),onClick:a,loading:t.isPending,children:`Importer un fichier`}),(0,C.jsx)(`input`,{type:`file`,ref:r,onChange:s,style:{display:`none`}})]})]}),(0,C.jsx)(`div`,{className:`component-content`,children:(0,C.jsx)(`div`,{className:`valo-imports`,children:(0,C.jsx)(p,{rowKey:`oid`,columns:l,loading:e.isFetching,data:n})})})]})};export{w as default};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{S as r,cr as i,n as a}from"./axios-DOscJEDN.js";import{t as o}from"./index.esm-DB3Pt-Y3.js";import{t as s}from"./ctiAxios-CDlE51TE.js";import{t as c}from"./button-BMyidN73.js";import{t as l}from"./useMutation-DqBabLvU.js";import{t as u}from"./queryOptions-_qrchnQm.js";import{t as d}from"./UndoOutlined-DS5JVKPM.js";import{I as f,c as p,z as m}from"./index-BocemapU.js";var h=`modules/pmsissr/php/PMSI_getImportsValo.php`;async function g(){let e=new FormData;return e.append(`action`,`get`),(await s({method:`post`,url:i()+h,data:e,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}async function _({file:e}){let t=new FormData;return t.append(`action`,`post`),t.append(`fileName`,e.name),t.append(`fileData`,e),(await s({method:`post`,url:i()+h,data:t,headers:{"Content-Type":`multipart/form-data`},responseType:`json`})).data}var v={all:[`valoSsrImports`],list:()=>[...v.all,`list`]},y=()=>u({queryKey:v.list(),queryFn:g}),b=()=>a(y());function x(){let e=r();return l({mutationFn:_,meta:{successMessage:`Fichier importé`,errorMessage:`Erreur lors de l'import du fichier`},onSettled:async()=>{await e.invalidateQueries({queryKey:v.list()})}})}var S=e(t()),C=n(),w=()=>{let e=b(),t=x(),n=e.data?.imports??[],r=(0,S.useRef)(),i=()=>{e.refetch()},a=()=>{r.current.click()},s=e=>{let n=e.target.files[0];n&&t.mutate({file:n})},l=[{title:`Import dans CTI`,dataKey:`date`},{title:`Nombre séjour`,dataKey:`nb_sejours`},{title:`Nombre séjour HC`,dataKey:`nb_sejours_hc`},{title:`Nombre séjour HP`,dataKey:`nb_sejours_hp`},{title:`Nombre séjour non valorisé`,dataKey:`nb_sejours_non_valorises`},{title:`Nombre séjour pédiatrique`,dataKey:`nb_sejours_pediatrique_valorises`},{title:`Année de valorisation`,dataKey:`vclass`},{title:`Coefficient Géographique`,dataKey:`coeffgeo`},{title:`Coefficient Spécialisation`,dataKey:`coeffspe`},{title:`Coefficient prudentiel`,dataKey:`coeffprud`},{title:`Coefficient honoraire`,dataKey:`coeffhono`},{title:`Coefficient transition`,dataKey:`coefftrans`},{title:`Fraction DMA`,dataKey:`fracdma`}].map(e=>({width:100,resizable:!0,key:e.dataKey,...e}));return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(o,{children:(0,C.jsx)(`title`,{children:`iCTI | Gestion des imports`})}),(0,C.jsxs)(`div`,{className:`component-header`,children:[(0,C.jsx)(`div`,{className:`header-title`,children:`Imports VALO SSR`}),(0,C.jsxs)(`div`,{className:`header-actions`,children:[(0,C.jsx)(f,{title:`Actualiser`,children:(0,C.jsx)(c,{type:`link`,onClick:i,children:(0,C.jsx)(d,{})})}),(0,C.jsx)(c,{size:`default`,type:`primary`,icon:(0,C.jsx)(m,{}),onClick:a,loading:t.isPending,children:`Importer un fichier`}),(0,C.jsx)(`input`,{type:`file`,ref:r,onChange:s,style:{display:`none`}})]})]}),(0,C.jsx)(`div`,{className:`component-content`,children:(0,C.jsx)(`div`,{className:`valo-imports`,children:(0,C.jsx)(p,{rowKey:`oid`,columns:l,loading:e.isFetching,data:n})})})]})};export{w as default};

assets/WarningFilled-C_xAI9NT.js → assets/WarningFilled-G1Llf5rq.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,kn as i}from"./axios-BAZB3l2q.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i}from"./axios-DOscJEDN.js";var a=e(t());i();var o={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z`}}]},name:`warning`,theme:`filled`},s=a.forwardRef(function(e,t){return a.createElement(n,r(r({},e),{},{ref:t,icon:o}))});export{s as t};

assets/_assignValue-bErb0ndH.js → assets/_assignValue-CtYsImY2.js View File

@ -1 +1 @@
import{t as e}from"./chunk-jRWAZmH_.js";import{C as t,T as n}from"./_getTag-BI_VKEzx.js";var r=e(((e,n)=>{var r=t();n.exports=function(){try{var e=r(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),i=e(((e,t)=>{var n=r();function i(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=i})),a=e(((e,t)=>{var r=i(),a=n(),o=Object.prototype.hasOwnProperty;function s(e,t,n){var i=e[t];(!(o.call(e,t)&&a(i,n))||n===void 0&&!(t in e))&&r(e,t,n)}t.exports=s}));export{i as n,r,a as t};
import{t as e}from"./chunk-jRWAZmH_.js";import{C as t,T as n}from"./_getTag-DqJrwfM-.js";var r=e(((e,n)=>{var r=t();n.exports=function(){try{var e=r(Object,`defineProperty`);return e({},``,{}),e}catch{}}()})),i=e(((e,t)=>{var n=r();function i(e,t,r){t==`__proto__`&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}t.exports=i})),a=e(((e,t)=>{var r=i(),a=n(),o=Object.prototype.hasOwnProperty;function s(e,t,n){var i=e[t];(!(o.call(e,t)&&a(i,n))||n===void 0&&!(t in e))&&r(e,t,n)}t.exports=s}));export{i as n,r,a as t};

assets/_baseIsEqual-CIpypu0h.js → assets/_baseIsEqual-B73sS91y.js View File

@ -1 +1 @@
import{t as e}from"./chunk-jRWAZmH_.js";import{At as t,Mt as n,Ot as r}from"./axios-BAZB3l2q.js";import{S as i,T as a,b as o,l as s,m as c,n as l,t as u,x as d}from"./_getTag-BI_VKEzx.js";var f=e(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),p=e(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),m=e(((e,t)=>{var n=i(),r=f(),a=p();function o(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=a,t.exports=o})),h=e(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n})),g=e(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),_=e(((e,t)=>{var n=m(),r=h(),i=g(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s})),v=e(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n})),y=e(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),b=e(((e,t)=>{var r=n(),i=o(),s=a(),c=_(),l=v(),u=y(),d=1,f=2,p=`[object Boolean]`,m=`[object Date]`,h=`[object Error]`,g=`[object Map]`,b=`[object Number]`,x=`[object RegExp]`,S=`[object Set]`,C=`[object String]`,w=`[object Symbol]`,T=`[object ArrayBuffer]`,E=`[object DataView]`,D=r?r.prototype:void 0,O=D?D.valueOf:void 0;function k(e,t,n,r,a,o,_){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!o(new i(e),new i(t)));case p:case m:case b:return s(+e,+t);case h:return e.name==t.name&&e.message==t.message;case x:case C:return e==t+``;case g:var v=l;case S:var y=r&d;if(v||=u,e.size!=t.size&&!y)return!1;var D=_.get(e);if(D)return D==t;r|=f,_.set(e,t);var k=c(v(e),v(t),r,a,o,_);return _.delete(e),k;case w:if(O)return O.call(e)==O.call(t)}return!1}t.exports=k})),x=e(((e,t)=>{var n=l(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a})),S=e(((e,n)=>{var r=d(),i=_(),a=b(),o=x(),l=u(),f=t(),p=c(),m=s(),h=1,g=`[object Arguments]`,v=`[object Array]`,y=`[object Object]`,S=Object.prototype.hasOwnProperty;function C(e,t,n,s,c,u){var d=f(e),_=f(t),b=d?v:l(e),x=_?v:l(t);b=b==g?y:b,x=x==g?y:x;var C=b==y,w=x==y,T=b==x;if(T&&p(e)){if(!p(t))return!1;d=!0,C=!1}if(T&&!C)return u||=new r,d||m(e)?i(e,t,n,s,c,u):a(e,t,b,n,s,c,u);if(!(n&h)){var E=C&&S.call(e,`__wrapped__`),D=w&&S.call(t,`__wrapped__`);if(E||D){var O=E?e.value():e,k=D?t.value():t;return u||=new r,c(O,k,n,s,u)}}return T?(u||=new r,o(e,t,n,s,c,u)):!1}n.exports=C})),C=e(((e,t)=>{var n=S(),i=r();function a(e,t,r,o,s){return e===t?!0:e==null||t==null||!i(e)&&!i(t)?e!==e&&t!==t:n(e,t,r,o,a,s)}t.exports=a}));export{C as t};
import{t as e}from"./chunk-jRWAZmH_.js";import{It as t,Mt as n,Pt as r}from"./axios-DOscJEDN.js";import{S as i,T as a,b as o,l as s,m as c,n as l,t as u,x as d}from"./_getTag-DqJrwfM-.js";var f=e(((e,t)=>{var n=`__lodash_hash_undefined__`;function r(e){return this.__data__.set(e,n),this}t.exports=r})),p=e(((e,t)=>{function n(e){return this.__data__.has(e)}t.exports=n})),m=e(((e,t)=>{var n=i(),r=f(),a=p();function o(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=r,o.prototype.has=a,t.exports=o})),h=e(((e,t)=>{function n(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=n})),g=e(((e,t)=>{function n(e,t){return e.has(t)}t.exports=n})),_=e(((e,t)=>{var n=m(),r=h(),i=g(),a=1,o=2;function s(e,t,s,c,l,u){var d=s&a,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var m=u.get(e),h=u.get(t);if(m&&h)return m==t&&h==e;var g=-1,_=!0,v=s&o?new n:void 0;for(u.set(e,t),u.set(t,e);++g<f;){var y=e[g],b=t[g];if(c)var x=d?c(b,y,g,t,e,u):c(y,b,g,e,t,u);if(x!==void 0){if(x)continue;_=!1;break}if(v){if(!r(t,function(e,t){if(!i(v,t)&&(y===e||l(y,e,s,c,u)))return v.push(t)})){_=!1;break}}else if(!(y===b||l(y,b,s,c,u))){_=!1;break}}return u.delete(e),u.delete(t),_}t.exports=s})),v=e(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=n})),y=e(((e,t)=>{function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=n})),b=e(((e,n)=>{var r=t(),i=o(),s=a(),c=_(),l=v(),u=y(),d=1,f=2,p=`[object Boolean]`,m=`[object Date]`,h=`[object Error]`,g=`[object Map]`,b=`[object Number]`,x=`[object RegExp]`,S=`[object Set]`,C=`[object String]`,w=`[object Symbol]`,T=`[object ArrayBuffer]`,E=`[object DataView]`,D=r?r.prototype:void 0,O=D?D.valueOf:void 0;function k(e,t,n,r,a,o,_){switch(n){case E:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!o(new i(e),new i(t)));case p:case m:case b:return s(+e,+t);case h:return e.name==t.name&&e.message==t.message;case x:case C:return e==t+``;case g:var v=l;case S:var y=r&d;if(v||=u,e.size!=t.size&&!y)return!1;var D=_.get(e);if(D)return D==t;r|=f,_.set(e,t);var k=c(v(e),v(t),r,a,o,_);return _.delete(e),k;case w:if(O)return O.call(e)==O.call(t)}return!1}n.exports=k})),x=e(((e,t)=>{var n=l(),r=1,i=Object.prototype.hasOwnProperty;function a(e,t,a,o,s,c){var l=a&r,u=n(e),d=u.length;if(d!=n(t).length&&!l)return!1;for(var f=d;f--;){var p=u[f];if(!(l?p in t:i.call(t,p)))return!1}var m=c.get(e),h=c.get(t);if(m&&h)return m==t&&h==e;var g=!0;c.set(e,t),c.set(t,e);for(var _=l;++f<d;){p=u[f];var v=e[p],y=t[p];if(o)var b=l?o(y,v,p,t,e,c):o(v,y,p,e,t,c);if(!(b===void 0?v===y||s(v,y,a,o,c):b)){g=!1;break}_||=p==`constructor`}if(g&&!_){var x=e.constructor,S=t.constructor;x!=S&&`constructor`in e&&`constructor`in t&&!(typeof x==`function`&&x instanceof x&&typeof S==`function`&&S instanceof S)&&(g=!1)}return c.delete(e),c.delete(t),g}t.exports=a})),S=e(((e,t)=>{var n=d(),i=_(),a=b(),o=x(),l=u(),f=r(),p=c(),m=s(),h=1,g=`[object Arguments]`,v=`[object Array]`,y=`[object Object]`,S=Object.prototype.hasOwnProperty;function C(e,t,r,s,c,u){var d=f(e),_=f(t),b=d?v:l(e),x=_?v:l(t);b=b==g?y:b,x=x==g?y:x;var C=b==y,w=x==y,T=b==x;if(T&&p(e)){if(!p(t))return!1;d=!0,C=!1}if(T&&!C)return u||=new n,d||m(e)?i(e,t,r,s,c,u):a(e,t,b,r,s,c,u);if(!(r&h)){var E=C&&S.call(e,`__wrapped__`),D=w&&S.call(t,`__wrapped__`);if(E||D){var O=E?e.value():e,k=D?t.value():t;return u||=new n,c(O,k,r,s,u)}}return T?(u||=new n,o(e,t,r,s,c,u)):!1}t.exports=C})),C=e(((e,t)=>{var r=S(),i=n();function a(e,t,n,o,s){return e===t?!0:e==null||t==null||!i(e)&&!i(t)?e!==e&&t!==t:r(e,t,n,o,a,s)}t.exports=a}));export{C as t};

+ 0
- 1
assets/_baseMap-DcFd_3qT.js View File

@ -1 +0,0 @@
import{t as e}from"./chunk-jRWAZmH_.js";import{x as t}from"./sanitizeDataUtils-DWjcSNVm.js";import{i as n}from"./_getTag-BI_VKEzx.js";var r=e(((e,r)=>{var i=t(),a=n();function o(e,t){var n=-1,r=a(e)?Array(e.length):[];return i(e,function(e,i,a){r[++n]=t(e,i,a)}),r}r.exports=o}));export{r as t};

+ 1
- 0
assets/_baseMap-olRIsrjP.js View File

@ -0,0 +1 @@
import{t as e}from"./chunk-jRWAZmH_.js";import{x as t}from"./sanitizeDataUtils-dwaGfQDt.js";import{i as n}from"./_getTag-DqJrwfM-.js";var r=e(((e,r)=>{var i=t(),a=n();function o(e,t){var n=-1,r=a(e)?Array(e.length):[];return i(e,function(e,i,a){r[++n]=t(e,i,a)}),r}r.exports=o}));export{r as t};

assets/_getTag-DqJrwfM-.js
File diff suppressed because it is too large
View File


+ 0
- 77
assets/axios-BAZB3l2q.js
File diff suppressed because it is too large
View File


+ 77
- 0
assets/axios-DOscJEDN.js
File diff suppressed because it is too large
View File


+ 4
- 0
assets/button-BMyidN73.js
File diff suppressed because it is too large
View File


+ 0
- 4
assets/button-BwrlrBF7.js
File diff suppressed because it is too large
View File


assets/chunk-62JRHF6Z-Dyzu9RRG.js
File diff suppressed because it is too large
View File


assets/cloneDeep-CXH354lv.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/colors-CMelTKY2.js View File

@ -1 +0,0 @@
import{E as e}from"./axios-BAZB3l2q.js";var t=e(`success`,`processing`,`error`,`default`,`warning`),n=e(`pink`,`red`,`yellow`,`orange`,`cyan`,`green`,`blue`,`purple`,`geekblue`,`magenta`,`volcano`,`gold`,`lime`);export{t as n,n as t};

assets/context-CO1J1AvK.js
File diff suppressed because it is too large
View File


assets/ctiAxios-CDlE51TE.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/dropdown-D9KQHt_A.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/dropdown-DqL7jLhe.js
File diff suppressed because it is too large
View File


assets/es-0LFFyZEl.js
File diff suppressed because it is too large
View File


assets/es-CP2TylOl.js
File diff suppressed because it is too large
View File


+ 0
- 1
assets/es-ClAAiKbx.js
File diff suppressed because it is too large
View File


assets/es-DVLNHcCS.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/es-vi4YRbrb.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/favoritesAdapter-BGKoD59H.js View File

@ -0,0 +1 @@
import{dr as e,ur as t}from"./axios-DOscJEDN.js";var n=e=>{let t=e.getElementsByTagName(`HTTP_SERVICE`)[0],n=t.getElementsByTagName(`MYFAVORITES`)[0],a=t.getElementsByTagName(`ALLVIEWS`)[0];return{myFavorites:r(n),allViews:i(a)}},r=(n,i=!1)=>{let a=t(n,`MENUITEM`),o={};return i&&(o=[]),a.length&&a.forEach((t,n)=>{let a=e(t),s=r(t,!0);if(Object.keys(s).length&&(a.children=s),i){o.push(a);return}o[n]=a}),o},i=n=>{let r=t(n,`MENUITEM`),a={};return r.length&&r.forEach((t,n)=>{let r=e(t),o=i(t);Object.keys(o).length&&(r.children=o),a[n]=r}),a};export{r as n,n as t};

+ 0
- 1
assets/favoritesAdapter-DV2HaU62.js View File

@ -1 +0,0 @@
import{or as e,sr as t}from"./axios-BAZB3l2q.js";var n=e=>{let t=e.getElementsByTagName(`HTTP_SERVICE`)[0],n=t.getElementsByTagName(`MYFAVORITES`)[0],a=t.getElementsByTagName(`ALLVIEWS`)[0];return{myFavorites:r(n),allViews:i(a)}},r=(n,i=!1)=>{let a=e(n,`MENUITEM`),o={};return i&&(o=[]),a.length&&a.forEach((e,n)=>{let a=t(e),s=r(e,!0);if(Object.keys(s).length&&(a.children=s),i){o.push(a);return}o[n]=a}),o},i=n=>{let r=e(n,`MENUITEM`),a={};return r.length&&r.forEach((e,n)=>{let r=t(e),o=i(e);Object.keys(o).length&&(r.children=o),a[n]=r}),a};export{r as n,n as t};

assets/filterByCode-CsO0sY9A.js → assets/filterByCode-BHatCYW2.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Ct as n,On as r,dr as i,ir as a,kn as o,or as s,sr as c}from"./axios-BAZB3l2q.js";import{i as l}from"./ctiAxios-z6-f5GoX.js";import{k as u}from"./index-vzToGWaQ.js";var d=e(t());o();var f={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z`}}]},name:`file-excel`,theme:`filled`},p=d.forwardRef(function(e,t){return d.createElement(n,r(r({},e),{},{ref:t,icon:f}))}),m=e(u());function h(e){let t=e.getElementsByTagName(`HTTP_SERVICE`)[0];return{schema:c(t).schema,tables:n(t),refTables:r(t)};function n(e){let t={};return s(e,`TABLE`).forEach((e,n)=>{let r=c(e),s=a(e);i(s)||(r.listes=s);let l=o(e);i(l)||(r.groups=l),t[`${r.table_id}-${n}`]=r}),t}function r(e){let t={};return s(e,`REFTABLE`).forEach(e=>{let n=c(e),r=a(e);i(r)||(n.listes=r);let s=o(e);i(s)||(n.groups=s),t[(0,m.default)(n.table_id)]=n}),t}function a(e){let t={};return s(e,`LISTE`).forEach(e=>{let n=c(e);t[(0,m.default)(n.liste_id)]=n}),t}function o(e){let t={};return s(e,`GROUP`).forEach(e=>{let n=c(e),r=o(e);i(r)||(n.groups=r);let s=a(e);i(s)||(n.listes=s),t[(0,m.default)(n.texte)]=n}),t}}function g(e){let t=e.getElementsByTagName(`HTTP_SERVICE`)[0],n=s(t,`LISTE`)[0],r=c(n),i=s(n,`COLUMN`);if(i){let e={};i.forEach(t=>{let n=c(t);e[n.name]=n}),r.columns=e}let a=s(n,`RECORD`);if(a){let e={};a.forEach(t=>{let n=c(t);e[n.oid]=n}),r.records=e}let o=s(n,`OID`);if(o){let e={};o.forEach(t=>{let n=c(t);e[n.code.replace(/\s/gm,``)]=n}),r.oids=e}return r}var _=async e=>h(await l(`modules/base/php/getListes.php`,{softCode:e})),v=async(e,t,n)=>g(await l(`modules/base/php/getListe.php`,{table_id:t,liste_id:n,schema:e})),y=`modules/base/php/setListe.php`;async function b(e){await l(y,e)}async function x(e,t,n,r){await l(y,{action:`refcopy`,softCode:t,refoid:e,schema:n,database:r})}async function S(e){let t=a()+`modules/base/php/getListeSaisieCode.php`,n=new FormData;for(let t in e)n.append(t,e[t]);return(await fetch(t,{method:`POST`,credentials:`include`,cache:`no-cache`,body:n})).json()}var C=/\w*\*?/gm;function w(e,t,n){let r=t.match(C),i=e.filter(e=>r.includes(e.code)?!0:r.length!==1&&r[0]!==``?r.some(t=>t!==``&&t.slice(-1)===`*`?e.code.startsWith(t.slice(0,-1)):!1):!0);if(n){let e=n.match(C);i=i.filter(t=>e.includes(t.code)?!1:e.length!==1&&e[0]!==``?e.some(e=>e!==``&&e.slice(-1)===`*`?!t.code.startsWith(e.slice(0,-1)):!0):!0)}return i}export{S as a,_ as i,x as n,b as o,v as r,p as s,w as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t}from"./jsx-runtime-CEixWuwE.js";import{Dt as n,Mn as r,Nn as i,cr as a,dr as o,hr as s,ur as c}from"./axios-DOscJEDN.js";import{i as l}from"./ctiAxios-CDlE51TE.js";import{k as u}from"./index-BocemapU.js";var d=e(t());i();var f={icon:{tag:`svg`,attrs:{viewBox:`64 64 896 896`,focusable:`false`},children:[{tag:`path`,attrs:{d:`M854.6 288.7c6 6 9.4 14.1 9.4 22.6V928c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32h424.7c8.5 0 16.7 3.4 22.7 9.4l215.2 215.3zM790.2 326L602 137.8V326h188.2zM575.34 477.84l-61.22 102.3L452.3 477.8a12 12 0 00-10.27-5.79h-38.44a12 12 0 00-6.4 1.85 12 12 0 00-3.75 16.56l82.34 130.42-83.45 132.78a12 12 0 00-1.84 6.39 12 12 0 0012 12h34.46a12 12 0 0010.21-5.7l62.7-101.47 62.3 101.45a12 12 0 0010.23 5.72h37.48a12 12 0 006.48-1.9 12 12 0 003.62-16.58l-83.83-130.55 85.3-132.47a12 12 0 001.9-6.5 12 12 0 00-12-12h-35.7a12 12 0 00-10.29 5.84z`}}]},name:`file-excel`,theme:`filled`},p=d.forwardRef(function(e,t){return d.createElement(n,r(r({},e),{},{ref:t,icon:f}))}),m=e(u());function h(e){let t=e.getElementsByTagName(`HTTP_SERVICE`)[0];return{schema:o(t).schema,tables:n(t),refTables:r(t)};function n(e){let t={};return c(e,`TABLE`).forEach((e,n)=>{let r=o(e),c=i(e);s(c)||(r.listes=c);let l=a(e);s(l)||(r.groups=l),t[`${r.table_id}-${n}`]=r}),t}function r(e){let t={};return c(e,`REFTABLE`).forEach(e=>{let n=o(e),r=i(e);s(r)||(n.listes=r);let c=a(e);s(c)||(n.groups=c),t[(0,m.default)(n.table_id)]=n}),t}function i(e){let t={};return c(e,`LISTE`).forEach(e=>{let n=o(e);t[(0,m.default)(n.liste_id)]=n}),t}function a(e){let t={};return c(e,`GROUP`).forEach(e=>{let n=o(e),r=a(e);s(r)||(n.groups=r);let c=i(e);s(c)||(n.listes=c),t[(0,m.default)(n.texte)]=n}),t}}function g(e){let t=e.getElementsByTagName(`HTTP_SERVICE`)[0],n=c(t,`LISTE`)[0],r=o(n),i=c(n,`COLUMN`);if(i){let e={};i.forEach(t=>{let n=o(t);e[n.name]=n}),r.columns=e}let a=c(n,`RECORD`);if(a){let e={};a.forEach(t=>{let n=o(t);e[n.oid]=n}),r.records=e}let s=c(n,`OID`);if(s){let e={};s.forEach(t=>{let n=o(t);e[n.code.replace(/\s/gm,``)]=n}),r.oids=e}return r}var _=async e=>h(await l(`modules/base/php/getListes.php`,{softCode:e})),v=async(e,t,n)=>g(await l(`modules/base/php/getListe.php`,{table_id:t,liste_id:n,schema:e})),y=`modules/base/php/setListe.php`;async function b(e){await l(y,e)}async function x(e,t,n,r){await l(y,{action:`refcopy`,softCode:t,refoid:e,schema:n,database:r})}async function S(e){let t=a()+`modules/base/php/getListeSaisieCode.php`,n=new FormData;for(let t in e)n.append(t,e[t]);return(await fetch(t,{method:`POST`,credentials:`include`,cache:`no-cache`,body:n})).json()}var C=/\w*\*?/gm;function w(e,t,n){let r=t.match(C),i=e.filter(e=>r.includes(e.code)?!0:r.length!==1&&r[0]!==``?r.some(t=>t!==``&&t.slice(-1)===`*`?e.code.startsWith(t.slice(0,-1)):!1):!0);if(n){let e=n.match(C);i=i.filter(t=>e.includes(t.code)?!1:e.length!==1&&e[0]!==``?e.some(e=>e!==``&&e.slice(-1)===`*`?!t.code.startsWith(e.slice(0,-1)):!0):!0)}return i}export{S as a,_ as i,x as n,b as o,v as r,p as s,w as t};

assets/getDataOrAriaProps-MMiy97cJ.js → assets/getDataOrAriaProps-lBkoLCFd.js View File


assets/getScrollBarSize-D-jIYUaZ.js → assets/getScrollBarSize-Dv59m4MX.js View File

@ -1,5 +1,5 @@
import{n as e}from"./chunk-jRWAZmH_.js";import{Ft as t,It as n,Lt as r}from"./axios-BAZB3l2q.js";function i(e){var t=`rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`,i=document.createElement(`div`);i.id=t;var a=i.style;a.position=`absolute`,a.left=`0`,a.top=`0`,a.width=`100px`,a.height=`100px`,a.overflow=`scroll`;var o,s;if(e){var c=getComputedStyle(e);a.scrollbarColor=c.scrollbarColor,a.scrollbarWidth=c.scrollbarWidth;var l=getComputedStyle(e,`::-webkit-scrollbar`),u=parseInt(l.width,10),d=parseInt(l.height,10);try{r(`
#${t}::-webkit-scrollbar {
import{n as e}from"./chunk-jRWAZmH_.js";import{Bt as t,Vt as n,zt as r}from"./axios-DOscJEDN.js";function i(e){var r=`rc-scrollbar-measure-${Math.random().toString(36).substring(7)}`,i=document.createElement(`div`);i.id=r;var a=i.style;a.position=`absolute`,a.left=`0`,a.top=`0`,a.width=`100px`,a.height=`100px`,a.overflow=`scroll`;var o,s;if(e){var c=getComputedStyle(e);a.scrollbarColor=c.scrollbarColor,a.scrollbarWidth=c.scrollbarWidth;var l=getComputedStyle(e,`::-webkit-scrollbar`),u=parseInt(l.width,10),d=parseInt(l.height,10);try{n(`
#${r}::-webkit-scrollbar {
${u?`width: ${l.width};`:``}
${d?`height: ${l.height};`:``}
}`,t)}catch(e){console.error(e),o=u,s=d}}document.body.appendChild(i);var f=e&&o&&!isNaN(o)?o:i.offsetWidth-i.clientWidth,p=e&&s&&!isNaN(s)?s:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),n(t),{width:f,height:p}}function a(e){return typeof document>`u`?0:((e||s===void 0)&&(s=i()),s.width)}function o(e){return typeof document>`u`||!e||!(e instanceof Element)?{width:0,height:0}:i(e)}var s,c=e((()=>{t()}));export{o as n,c as r,a as t};
}`,r)}catch(e){console.error(e),o=u,s=d}}document.body.appendChild(i);var f=e&&o&&!isNaN(o)?o:i.offsetWidth-i.clientWidth,p=e&&s&&!isNaN(s)?s:i.offsetHeight-i.clientHeight;return document.body.removeChild(i),t(r),{width:f,height:p}}function a(e){return typeof document>`u`?0:((e||s===void 0)&&(s=i()),s.width)}function o(e){return typeof document>`u`||!e||!(e instanceof Element)?{width:0,height:0}:i(e)}var s,c=e((()=>{r()}));export{o as n,c as r,a as t};

+ 0
- 1
assets/iconUtil-C0UXmWOf.js
File diff suppressed because it is too large
View File


+ 1
- 0
assets/iconUtil-CvNpmAMh.js
File diff suppressed because it is too large
View File


assets/importColumn-D3K7oQwl.js → assets/importColumn-CY1VPPWt.js View File

@ -1 +1 @@
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{l as r}from"./ctiAxios-z6-f5GoX.js";import{t as i}from"./button-BwrlrBF7.js";import{et as a}from"./index-vzToGWaQ.js";import{m as o,p as s}from"./path-B1e1j8Pf.js";t();var c=e(r()),l=n(),u=[{title:`Nom`,dataKey:`name`},{title:`Titre`,dataKey:`title`},{title:`Démarré`,dataKey:`start`},{title:`Terminé`,dataKey:`end`},{title:`Statut`,dataKey:`endStatus`,width:50},{title:`Durée`,dataKey:`duration`}].map(e=>({width:150,resizable:!0,key:e.dataKey,...e})),d=(e,t,n)=>[{title:``,dataIndex:`action`,key:`deleteImport`,render:(e,r,o)=>(0,l.jsx)(i,{shape:`circle`,icon:(0,l.jsx)(a,{}),onClick:()=>n(r.fullname,t)})},{title:`Type`,dataIndex:`type`,key:`type`,render:(t,n,r)=>{let i=e.find(e=>e.key===t);if(i)return i.label}},{title:`Mois`,dataIndex:`mois`,key:`month`},{title:`Fichier`,dataIndex:`name`,key:`file`},{title:`Date`,dataIndex:`date`,key:`date`},{title:`Taille`,dataIndex:`size`,key:`size`}],f=e=>[{title:`N°`,dataKey:`oid`},{title:`Texte`,dataKey:`texte`,width:200},{title:`Date import`,dataKey:`date_import`,width:100},{title:`Etat`,dataKey:`etat`,width:100,dataGetter:({rowData:e})=>{let t=``;return e.etat===`G`?t=`Généré`:e.etat===`C`&&(t=`Contrôlé`),e.etat_en_cours===`G`&&(t+=` - Génération en cours`),e.traitement_a_faire===`G`&&(t+=` - Génération en attente`),t}},{title:`Finess`,dataKey:`finess`,width:150},{title:`Date début`,dataKey:`date_debut`,width:100},{title:`Date fin`,dataKey:`date_fin`,width:100},{title:s[e].title,dataKey:s[e].dataKey},{title:o[e].title,dataKey:o[e].dataKey},{title:`RSF`,dataKey:`nb_rsf`},{title:`Erreur(s)`,dataKey:`nb_erreurs`},{title:`Avertissement(s)`,dataKey:`nb_avertissements`,width:150}],p=e=>f(e).map(e=>({width:50,resizable:!0,key:e.dataKey,...e})),m=e=>[{title:`N°`,dataKey:`oid`,width:50},{title:`Import dans CTI`,dataKey:`date_text`,dataGetter:({columns:t,column:n,columnIndex:r,rowData:i,rowIndex:a})=>e===`mco`?(0,c.default)(i.date_text,`YYYY/MM/DD`).format(`DD/MM/YYYY`):i.date},{title:`Traitement du fichier MAT2A/OVALIDE`,dataKey:`mat2a_date_text`,dataGetter:({rowData:t})=>e===`mco`?(0,c.default)(t.mat2a_date_text,`YYYY/MM/DD`).format(`DD/MM/YYYY`):t.mat2a_date},{title:`Année`,dataKey:`mat2a_annee`},{title:`Mois`,dataKey:`mat2a_mois`}],h=[{title:`RSA Transmis`,dataKey:`mat2a_rsa_transmis`},{title:`RSA traités`,dataKey:`mat2a_rsa_traites`},{title:`RSA séances`,dataKey:`mat2a_rsa_seances`},{title:`RSA 0 nuits`,dataKey:`mat2a_rsa_0_nuits`},{title:`Montant base de remboursement`,dataKey:`mat2a_rsa_prestations_base_remb`,dataGetter:({rowData:e})=>new Intl.NumberFormat(`fr-FR`,{style:`currency`,currency:`EUR`,minimumFractionDigits:0,maximumFractionDigits:0}).format(e.mat2a_rsa_prestations_base_remb)}],g=[{title:`RHA`,dataKey:`mat2a_rha`},{title:`Journées`,dataKey:`mat2a_journees`},{title:`IVA`,dataKey:`mat2a_iva`},{title:`Age moyen`,dataKey:`mat2a_age_moyen`},{title:`% femmes`,dataKey:`mat2a_pct_femmes`}],_=e=>{let t=[];return t=e===`mco`?m(e).concat(h):m(e).concat(g),t.map(e=>({width:150,resizable:!0,key:e.dataKey,...e}))};export{_ as i,d as n,p as r,u as t};
import{o as e}from"./chunk-jRWAZmH_.js";import{n as t,t as n}from"./jsx-runtime-CEixWuwE.js";import{l as r}from"./ctiAxios-CDlE51TE.js";import{t as i}from"./button-BMyidN73.js";import{et as a}from"./index-BocemapU.js";import{m as o,p as s}from"./path-DPb3kQoE.js";t();var c=e(r()),l=n(),u=[{title:`Nom`,dataKey:`name`},{title:`Titre`,dataKey:`title`},{title:`Démarré`,dataKey:`start`},{title:`Terminé`,dataKey:`end`},{title:`Statut`,dataKey:`endStatus`,width:50},{title:`Durée`,dataKey:`duration`}].map(e=>({width:150,resizable:!0,key:e.dataKey,...e})),d=(e,t,n)=>[{title:``,dataIndex:`action`,key:`deleteImport`,render:(e,r,o)=>(0,l.jsx)(i,{shape:`circle`,icon:(0,l.jsx)(a,{}),onClick:()=>n(r.fullname,t)})},{title:`Type`,dataIndex:`type`,key:`type`,render:(t,n,r)=>{let i=e.find(e=>e.key===t);if(i)return i.label}},{title:`Mois`,dataIndex:`mois`,key:`month`},{title:`Fichier`,dataIndex:`name`,key:`file`},{title:`Date`,dataIndex:`date`,key:`date`},{title:`Taille`,dataIndex:`size`,key:`size`}],f=e=>[{title:`N°`,dataKey:`oid`},{title:`Texte`,dataKey:`texte`,width:200},{title:`Date import`,dataKey:`date_import`,width:100},{title:`Etat`,dataKey:`etat`,width:100,dataGetter:({rowData:e})=>{let t=``;return e.etat===`G`?t=`Généré`:e.etat===`C`&&(t=`Contrôlé`),e.etat_en_cours===`G`&&(t+=` - Génération en cours`),e.traitement_a_faire===`G`&&(t+=` - Génération en attente`),t}},{title:`Finess`,dataKey:`finess`,width:150},{title:`Date début`,dataKey:`date_debut`,width:100},{title:`Date fin`,dataKey:`date_fin`,width:100},{title:s[e].title,dataKey:s[e].dataKey},{title:o[e].title,dataKey:o[e].dataKey},{title:`RSF`,dataKey:`nb_rsf`},{title:`Erreur(s)`,dataKey:`nb_erreurs`},{title:`Avertissement(s)`,dataKey:`nb_avertissements`,width:150}],p=e=>f(e).map(e=>({width:50,resizable:!0,key:e.dataKey,...e})),m=e=>[{title:`N°`,dataKey:`oid`,width:50},{title:`Import dans CTI`,dataKey:`date_text`,dataGetter:({columns:t,column:n,columnIndex:r,rowData:i,rowIndex:a})=>e===`mco`?(0,c.default)(i.date_text,`YYYY/MM/DD`).format(`DD/MM/YYYY`):i.date},{title:`Traitement du fichier MAT2A/OVALIDE`,dataKey:`mat2a_date_text`,dataGetter:({rowData:t})=>e===`mco`?(0,c.default)(t.mat2a_date_text,`YYYY/MM/DD`).format(`DD/MM/YYYY`):t.mat2a_date},{title:`Année`,dataKey:`mat2a_annee`},{title:`Mois`,dataKey:`mat2a_mois`}],h=[{title:`RSA Transmis`,dataKey:`mat2a_rsa_transmis`},{title:`RSA traités`,dataKey:`mat2a_rsa_traites`},{title:`RSA séances`,dataKey:`mat2a_rsa_seances`},{title:`RSA 0 nuits`,dataKey:`mat2a_rsa_0_nuits`},{title:`Montant base de remboursement`,dataKey:`mat2a_rsa_prestations_base_remb`,dataGetter:({rowData:e})=>new Intl.NumberFormat(`fr-FR`,{style:`currency`,currency:`EUR`,minimumFractionDigits:0,maximumFractionDigits:0}).format(e.mat2a_rsa_prestations_base_remb)}],g=[{title:`RHA`,dataKey:`mat2a_rha`},{title:`Journées`,dataKey:`mat2a_journees`},{title:`IVA`,dataKey:`mat2a_iva`},{title:`Age moyen`,dataKey:`mat2a_age_moyen`},{title:`% femmes`,dataKey:`mat2a_pct_femmes`}],_=e=>{let t=[];return t=e===`mco`?m(e).concat(h):m(e).concat(g),t.map(e=>({width:150,resizable:!0,key:e.dataKey,...e}))};export{_ as i,d as n,p as r,u as t};

+ 4
- 0
assets/index-BocemapU.js
File diff suppressed because it is too large
View File


+ 0
- 4
assets/index-vzToGWaQ.js
File diff suppressed because it is too large
View File


assets/indicatorsColumns-Bl6bNlpK.js → assets/indicatorsColumns-BM24jdvH.js View File

@ -1 +1 @@
import"./chunk-jRWAZmH_.js";import{n as e,t}from"./jsx-runtime-CEixWuwE.js";import{t as n}from"./RowLabelWithIcon-BiTwQp49.js";import{ut as r}from"./index-vzToGWaQ.js";e();var i=t(),a=[{title:`oid`,key:`oid`,dataKey:`oid`,width:150},{title:`code`,key:`code`,dataKey:`code`,width:150},{title:`Entête`,key:`entete`,dataKey:`entete`,width:200},{title:`Libéllé`,key:`texte`,dataKey:`texte`,width:200,flexGrow:2},{title:`CTI`,key:`isCti`,dataKey:`isCti`,width:50,dataGetter:({rowData:e})=>(0,i.jsx)(r,{disabled:!0,checked:e.isCti})}],o=(e,t)=>{let r=[{title:`Code`,dataKey:`code`,width:250},{title:`Nom`,dataKey:`texte`,frozen:`left`,width:500,cellRenderer:({rowData:e})=>{let t=e.texte;return(0,i.jsx)(`div`,{className:`BaseTable__row-cell-text`,children:(0,i.jsx)(n,{label:t,isCti:e.is_cti?`1`:`0`,icon:`Hospital`,toolTipLabel:`Indicateur créé par l'établissement`})})}},{title:`Nom abrégé`,dataKey:`entete`,width:400},{title:`Table`,dataKey:`table_name`,dataGetter:({rowData:e})=>{let n=e.table_name,r=t.find(e=>e.code===n);return r?r.texte:n},width:200},{title:`Format de sortie`,dataKey:`output_format`,width:200}];return e===`iCTI_activite`&&r.push({title:`Dimension date`,key:`date`,dataKey:`dimension_date`}),r.map(e=>({width:200,...e,resizable:!0,key:e.dataKey,className:`cti-default-table`,headerClassName:`cti-default-table`}))};export{o as n,a as t};
import"./chunk-jRWAZmH_.js";import{n as e,t}from"./jsx-runtime-CEixWuwE.js";import{t as n}from"./RowLabelWithIcon-DKaqYrFi.js";import{ut as r}from"./index-BocemapU.js";e();var i=t(),a=[{title:`oid`,key:`oid`,dataKey:`oid`,width:150},{title:`code`,key:`code`,dataKey:`code`,width:150},{title:`Entête`,key:`entete`,dataKey:`entete`,width:200},{title:`Libéllé`,key:`texte`,dataKey:`texte`,width:200,flexGrow:2},{title:`CTI`,key:`isCti`,dataKey:`isCti`,width:50,dataGetter:({rowData:e})=>(0,i.jsx)(r,{disabled:!0,checked:e.isCti})}],o=(e,t)=>{let r=[{title:`Code`,dataKey:`code`,width:250},{title:`Nom`,dataKey:`texte`,frozen:`left`,width:500,cellRenderer:({rowData:e})=>{let t=e.texte;return(0,i.jsx)(`div`,{className:`BaseTable__row-cell-text`,children:(0,i.jsx)(n,{label:t,isCti:e.is_cti?`1`:`0`,icon:`Hospital`,toolTipLabel:`Indicateur créé par l'établissement`})})}},{title:`Nom abrégé`,dataKey:`entete`,width:400},{title:`Table`,dataKey:`table_name`,dataGetter:({rowData:e})=>{let n=e.table_name,r=t.find(e=>e.code===n);return r?r.texte:n},width:200},{title:`Format de sortie`,dataKey:`output_format`,width:200}];return e===`iCTI_activite`&&r.push({title:`Dimension date`,key:`date`,dataKey:`dimension_date`}),r.map(e=>({width:200,...e,resizable:!0,key:e.dataKey,className:`cti-default-table`,headerClassName:`cti-default-table`}))};export{o as n,a as t};

+ 12
- 0
assets/input-Yn95s9T0.js
File diff suppressed because it is too large
View File


+ 0
- 12
assets/input-vY_ggPFq.js
File diff suppressed because it is too large
View File


assets/isObject-DZltOPdb.js → assets/isObject-CrYMdqJr.js View File


assets/jspdf.es.min-BnKNav1y.js
File diff suppressed because it is too large
View File


assets/logs.queries-BcZwoYNp.js → assets/logs.queries-7Ij4dy4e.js View File

@ -1 +1 @@
import{n as e}from"./axios-BAZB3l2q.js";import{a as t}from"./ctiAxios-z6-f5GoX.js";import{t as n}from"./queryOptions-8oqYyfXL.js";var r=async()=>{let e=await t(`api/logs`,`get`);if(!e)throw Error(`Failed to fetch logs`);return e.data},i=async()=>{let e=await t(`api/exploit-status`,`get`);if(!e)throw Error(`Failed to fetch exploit status`);return e.data},a={all:[`logs`],logs:()=>[...a.all,`logs`],exploit:()=>[...a.all,`exploit`]},o=()=>n({queryKey:a.logs(),queryFn:r}),s=()=>n({queryKey:a.exploit(),queryFn:i}),c=()=>e(o()),l=()=>e(s());export{c as n,l as t};
import{n as e}from"./axios-DOscJEDN.js";import{a as t}from"./ctiAxios-CDlE51TE.js";import{t as n}from"./queryOptions-_qrchnQm.js";var r=async()=>{let e=await t(`api/logs`,`get`);if(!e)throw Error(`Failed to fetch logs`);return e.data},i=async()=>{let e=await t(`api/exploit-status`,`get`);if(!e)throw Error(`Failed to fetch exploit status`);return e.data},a={all:[`logs`],logs:()=>[...a.all,`logs`],exploit:()=>[...a.all,`exploit`]},o=()=>n({queryKey:a.logs(),queryFn:r}),s=()=>n({queryKey:a.exploit(),queryFn:i}),c=()=>e(o()),l=()=>e(s());export{c as n,l as t};

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save