@inntechcorp/it-design 2.2.27 → 2.2.29
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.
- package/dist/index.cjs.js +34 -40
- package/dist/index.esm.js +5 -11
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4684,7 +4684,7 @@ function(b,z){M.exports?M.exports=z(SO()):z(b.moment)}(FO,(function(M){void 0===
|
|
|
4684
4684
|
}
|
|
4685
4685
|
`;var b}}
|
|
4686
4686
|
|
|
4687
|
-
`;function Xd({status:M,percent:b=0,alwaysShowPercent:z=!1,showInfo:o=!0,className:c=""}){const e=()=>{let z="itd-progress";return z+=" itd-progress-"+M
|
|
4687
|
+
`;function Xd({status:M,percent:b=0,alwaysShowPercent:z=!1,showInfo:o=!0,className:c=""}){const e=()=>{let z="itd-progress";return z+=" itd-progress-percent-"+b,M&&(z+=" itd-progress-"+M),""!==c&&null!==c&&(z+=" "+c),z},t=p("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:p("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"})}),n=p("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:p("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),A=()=>M||(b<100?"normal":"success"),a=()=>{if(o)return p("span",{className:"itd-progress-status",children:i()})},i=()=>{const M=A();return"active"===M||"normal"===M||z?p("span",{className:"itd-progress-status-text",children:b.toFixed(2)+"%"}):"success"===M?t:"exception"===M?n:void 0};return p(vd,{$status:A(),$percent:b,className:e(),children:O("div",{className:"itd-progress-outer",children:[p("div",{className:"itd-progress-inner",children:p("div",{className:"itd-progress-bg"})}),a()]})})}const yd=k.div`
|
|
4688
4688
|
|
|
4689
4689
|
height: ${M=>M.$height?M.$height+"px":"75px"};
|
|
4690
4690
|
|
|
@@ -4795,17 +4795,13 @@ function(b,z){M.exports?M.exports=z(SO()):z(b.moment)}(FO,(function(M){void 0===
|
|
|
4795
4795
|
border-radius: 8px;
|
|
4796
4796
|
border: 1px solid #F1F1F4;
|
|
4797
4797
|
box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
|
|
4798
|
+
height: 100%;
|
|
4798
4799
|
|
|
4799
4800
|
min-width : ${M=>M.$minWidth?M.$minWidth+"px":"200px"};
|
|
4800
4801
|
min-height : ${M=>M.$minHeight?M.$minHeight+"px":"100px"};
|
|
4801
4802
|
|
|
4802
|
-
display:
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
height: 100%;
|
|
4807
|
-
display: grid;
|
|
4808
|
-
grid-template-rows: ${M=>M.$hasHeader?"75px 1fr":"1fr"};
|
|
4803
|
+
display: grid;
|
|
4804
|
+
grid-template-rows: ${M=>M.$hasHeader?"75px 1fr":"1fr"};
|
|
4809
4805
|
|
|
4810
4806
|
|
|
4811
4807
|
`,Sd=k.div`
|
|
@@ -4832,9 +4828,7 @@ function(b,z){M.exports?M.exports=z(SO()):z(b.moment)}(FO,(function(M){void 0===
|
|
|
4832
4828
|
|
|
4833
4829
|
padding: ${M=>M.$padding?M.$padding:"30px"};
|
|
4834
4830
|
|
|
4835
|
-
display:
|
|
4836
|
-
flex-direction: column;
|
|
4837
|
-
justify-content: space-between;
|
|
4831
|
+
display: grid;
|
|
4838
4832
|
|
|
4839
4833
|
`,Dd=k.div`
|
|
4840
4834
|
display: flex;
|