@backtest-kit/ui 5.5.2 → 5.6.0
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/build/index.cjs +1055 -48
- package/build/index.mjs +1056 -49
- package/build/modules/frontend/build/assets/{Background-sfxyUbnl.js → Background-BGXaqCCj.js} +1 -1
- package/build/modules/frontend/build/assets/{IconPhoto-B37p3oma.js → IconPhoto-NqvLnXp7.js} +1 -1
- package/build/modules/frontend/build/assets/{KeyboardArrowLeft-BPw3Kmsa.js → KeyboardArrowLeft-Brhl60Pa.js} +1 -1
- package/build/modules/frontend/build/assets/{Refresh-Bc99NRlg.js → Refresh-BGkaUatF.js} +1 -1
- package/build/modules/frontend/build/assets/hasRouteMatch-7UKYuS0a.js +1 -0
- package/build/modules/frontend/build/assets/html2canvas-D-Nv0RTX.js +1 -0
- package/build/modules/frontend/build/assets/{index-DF_GlUhQ.js → index-4xZ56Pw3.js} +9 -9
- package/build/modules/frontend/build/assets/index-9iaIzgTc.js +1331 -0
- package/build/modules/frontend/build/assets/{index-DDdv_hbu.js → index-BDV9EkEY.js} +1 -1
- package/build/modules/frontend/build/assets/{index-B5N6nFu7.js → index-BYCwoppH.js} +1 -1
- package/build/modules/frontend/build/assets/{index-CsOKHAMs.js → index-CbQBf22x.js} +1 -1
- package/build/modules/frontend/build/assets/index-CywcKDZi.js +1 -0
- package/build/modules/frontend/build/assets/index-D3HRM1Jy.js +1 -0
- package/build/modules/frontend/build/assets/{index-BAiSnt2X.js → index-DG7b0pa9.js} +1 -1
- package/build/modules/frontend/build/assets/index.es-BFfvVHkP.js +16 -0
- package/build/modules/frontend/build/assets/{markdownit-D_RkE_Cw.js → markdownit-GU6B-6e7.js} +1 -1
- package/build/modules/frontend/build/assets/purify.es-DpMHVkxQ.js +2 -0
- package/build/modules/frontend/build/index.html +1 -1
- package/package.json +3 -3
- package/types.d.ts +80 -0
- package/build/modules/frontend/build/assets/index-B94OJ088.js +0 -1
- package/build/modules/frontend/build/assets/index-BB9WGslo.js +0 -1
package/build/modules/frontend/build/assets/{Background-sfxyUbnl.js → Background-BGXaqCCj.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as n,
|
|
1
|
+
import{f as n,ax as o}from"./index-4xZ56Pw3.js";const d=()=>n(o,{children:"\n body {\n background-color: #ddd !important;\n }\n "});export{d as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as e,i as t,B as r,J as s}from"./index-
|
|
1
|
+
import{f as e,i as t,B as r,J as s}from"./index-4xZ56Pw3.js";const a=({className:a,symbol:i,style:o,sx:n})=>e(s,{children:async()=>{try{const s=(await t.symbolGlobalService.getSymbolMap())[i],l=null==s?void 0:s.icon,c=(null==s?void 0:s.color)||"#ccc";return e(r,{className:a,sx:{position:"relative",width:24,height:24,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:l?"transparent":c,...n},style:o,children:l?e("img",{loading:"lazy",crossOrigin:"anonymous",src:l,alt:i,style:{width:"100%",height:"100%",borderRadius:"50%",objectFit:"contain"},onError:e=>{const t=e.target,r=t.parentElement;r&&(r.style.background=c,t.style.display="none")}}):e(r,{sx:{width:"60%",height:"60%",borderRadius:"50%",backgroundColor:"rgba(255, 255, 255, 0.2)"}})})}catch(s){return e(r,{className:a,sx:{position:"relative",width:24,height:24,borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",background:"#ccc",...n},style:o,children:e(r,{sx:{width:"60%",height:"60%",borderRadius:"50%",backgroundColor:"rgba(255, 255, 255, 0.2)"}})})}}});export{a as I};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as o,f as r}from"./index-
|
|
1
|
+
import{c as o,f as r}from"./index-4xZ56Pw3.js";const a=o(r("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"KeyboardArrowLeft");export{a as K};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{aS as e,aT as t,r as a,aU as s,f as i,aV as n,aW as o,aX as r,aY as d,aZ as m,a_ as u,a$ as p,b0 as x,c}from"./index-4xZ56Pw3.js";const h=e(),l=["className","component","disableGutters","fixed","maxWidth","classes"],b=m(),f=h("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[`maxWidth${o(String(a.maxWidth))}`],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),g=e=>r({props:e,name:"MuiContainer",defaultTheme:b});const W=function(e={}){const{createStyledComponent:r=f,useThemeProps:m=g,componentName:p="MuiContainer"}=e,x=r(({theme:e,ownerState:a})=>t({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!a.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,a)=>{const s=a,i=e.breakpoints.values[s];return 0!==i&&(t[e.breakpoints.up(s)]={maxWidth:`${i}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:a})=>t({},"xs"===a.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},a.maxWidth&&"xs"!==a.maxWidth&&{[e.breakpoints.up(a.maxWidth)]:{maxWidth:`${e.breakpoints.values[a.maxWidth]}${e.breakpoints.unit}`}}));return a.forwardRef(function(e,a){const r=m(e),{className:c,component:h="div",disableGutters:b=!1,fixed:f=!1,maxWidth:g="lg"}=r,W=s(r,l),S=t({},r,{component:h,disableGutters:b,fixed:f,maxWidth:g}),k=((e,t)=>{const{classes:a,fixed:s,disableGutters:i,maxWidth:n}=e,r={root:["root",n&&`maxWidth${o(String(n))}`,s&&"fixed",i&&"disableGutters"]};return d(r,e=>u(t,e),a)})(S,p);return i(x,t({as:h,ownerState:S,className:n(k.root,c),ref:a},W))})}({createStyledComponent:x("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[`maxWidth${o(String(a.maxWidth))}`],a.fixed&&t.fixed,a.disableGutters&&t.disableGutters]}}),useThemeProps:e=>p({props:e,name:"MuiContainer"})}),S=c(i("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z"}),"Refresh");export{W as C,S as R};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as a,aQ as e,aR as t}from"./index-4xZ56Pw3.js";const i=(i,o=a.routerService.location.pathname)=>!!e(t.filter(({path:a})=>i.includes(a)),o);export{i as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aD as e}from"./index-4xZ56Pw3.js";import{r}from"./index-9iaIzgTc.js";function t(e,r){for(var t=0;t<r.length;t++){const o=r[t];if("string"!=typeof o&&!Array.isArray(o))for(const r in o)if("default"!==r&&!(r in e)){const t=Object.getOwnPropertyDescriptor(o,r);t&&Object.defineProperty(e,r,t.get?t:{enumerable:!0,get:()=>o[r]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var o=r();const n=t({__proto__:null,default:e(o)},[o]);export{n as h};
|