jclib-ui 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -388,7 +388,7 @@
388
388
  color: var(--pn-color-font);
389
389
  background-color: var(--pn-color);
390
390
  padding: var(--pn-padding);
391
- border-radius: 4px 4px 0 0;
391
+ border-radius: 5px 5px 0 0;
392
392
 
393
393
  .pn-title {
394
394
  display: flex;
@@ -414,7 +414,7 @@
414
414
  display: none;
415
415
  }
416
416
  }
417
- `;function mr({title:t,count:e,goBack:r,goHome:n,onClose:o,children:i,className:s="",...c}){const u=a.useHistory(),l=e&&"number"==typeof e?e:0,f=l>5e3?"5000+":l,d=Intl.NumberFormat("pt-br",{}).format(l),h=()=>{if(o)return o();r?u.goBack():u.push("/home")};return Jt.jsxs("div",{className:"panel--container bg-body "+s,...c,children:[Jt.jsxs(gr,{children:[Jt.jsxs("div",{className:"pn-title",children:[Jt.jsx("div",{className:"d-none d-sm-block",children:(r||n||o)&&Jt.jsx(ur,{title:"Fechar",onClick:h})}),t,0!==l&&Jt.jsx("span",{className:"pn-count",title:`Total de registros: ${d}`,children:f})]}),(r||n||o)&&Jt.jsx(cr,{title:"Fechar",onClick:h})]}),Jt.jsx("div",{className:"pn-body",children:i})]})}function vr({fileTo:t,previewUrl:n,visible:o,setVisible:i}){const{addModal:a,removeModal:s}=re(),[c]=e.useState("preview-"+r.random());return e.useEffect((()=>(o||s(c),()=>s(c))),[o]),e.useEffect((()=>{a(c,i)}),[c]),Jt.jsxs("div",{className:"pr-box",children:[Jt.jsxs("div",{className:"pr-box--header",children:[Jt.jsxs("div",{className:"pr-box--title",children:[Jt.jsxs("div",{className:"pr-box--name",children:[Jt.jsx("div",{children:"Visualizar relatório:"}),Jt.jsx("div",{className:"fw-bold",children:t})]}),Jt.jsx("div",{children:Jt.jsx("a",{href:n,download:t,children:"Salvar relatório"})})]}),Jt.jsx("button",{className:"ms-4 btn btn-danger rounded-pill",onClick:i,children:Jt.jsx(rr,{})})]}),Jt.jsx("iframe",{className:"pr-box--preview",src:n})]})}function yr(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _r={exports:{}};
417
+ `;function mr({title:t,count:e,goBack:r,goHome:n,onClose:o,children:i,className:s="",...c}){const u=a.useHistory(),l=e&&"number"==typeof e?e:0,f=l>5e3?"5000+":l,d=Intl.NumberFormat("pt-br",{}).format(l),h=()=>{if(o)return o();r?u.goBack():u.push("/home")};return Jt.jsxs("div",{className:"panel--container "+s,...c,children:[Jt.jsxs(gr,{children:[Jt.jsxs("div",{className:"pn-title",children:[Jt.jsx("div",{className:"d-none d-sm-block",children:(r||n||o)&&Jt.jsx(ur,{title:"Fechar",onClick:h})}),t,0!==l&&Jt.jsx("span",{className:"pn-count",title:`Total de registros: ${d}`,children:f})]}),(r||n||o)&&Jt.jsx(cr,{title:"Fechar",onClick:h})]}),Jt.jsx("div",{className:"pn-body",children:i})]})}function vr({fileTo:t,previewUrl:n,visible:o,setVisible:i}){const{addModal:a,removeModal:s}=re(),[c]=e.useState("preview-"+r.random());return e.useEffect((()=>(o||s(c),()=>s(c))),[o]),e.useEffect((()=>{a(c,i)}),[c]),Jt.jsxs("div",{className:"pr-box",children:[Jt.jsxs("div",{className:"pr-box--header",children:[Jt.jsxs("div",{className:"pr-box--title",children:[Jt.jsxs("div",{className:"pr-box--name",children:[Jt.jsx("div",{children:"Visualizar relatório:"}),Jt.jsx("div",{className:"fw-bold",children:t})]}),Jt.jsx("div",{children:Jt.jsx("a",{href:n,download:t,children:"Salvar relatório"})})]}),Jt.jsx("button",{className:"ms-4 btn btn-danger rounded-pill",onClick:i,children:Jt.jsx(rr,{})})]}),Jt.jsx("iframe",{className:"pr-box--preview",src:n})]})}function yr(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var _r={exports:{}};
418
418
  /*!
419
419
  localForage -- Offline Storage, Improved
420
420
  Version 1.10.0
@@ -437,7 +437,7 @@
437
437
  z-index: 1031;
438
438
 
439
439
  .mod-panel {
440
- background-color: var(--bs-body-bg);
440
+ background-color: var(--pn-color);
441
441
  border: 1px solid var(--pn-color);
442
442
  border-radius: 6px;
443
443
 
@@ -449,6 +449,7 @@
449
449
  animation: var(--ani-center);
450
450
 
451
451
  .mod-body {
452
+ background-color: var(--bs-body-bg);
452
453
  max-height: calc(100vh - 110px);
453
454
  overflow-y: auto;
454
455
  overflow-x: hidden;
@@ -542,7 +543,7 @@
542
543
  place-items: center;
543
544
 
544
545
  .mod-panel {
545
- background-color: var(--bs-body-bg);
546
+ background-color: var(--pn-color);
546
547
  border: 1px solid var(--pn-color);
547
548
  border-radius: 6px;
548
549
 
@@ -557,6 +558,7 @@
557
558
  }
558
559
 
559
560
  .mod-body {
561
+ background-color: var(--bs-body-bg);
560
562
  max-height: calc(100vh - 110px);
561
563
  overflow-y: auto;
562
564
  overflow-x: hidden;
@@ -603,7 +605,7 @@
603
605
  cursor: ${t=>t.disabled?"default":"pointer"};
604
606
  width: 27px;
605
607
  min-width: 27px;
606
- border-color: #666;
608
+ border-color: #999;
607
609
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-4 -4 8 8"><circle r="3" fill="rgb(102, 102, 102)"/></svg>') !important;
608
610
 
609
611
  &:checked {