@guihz/trading-vue-editor-tes 0.0.100 → 0.0.102

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,6 @@ export interface IBoxArgs {
26
26
  color?: string;
27
27
  point?: Point;
28
28
  width?: number;
29
- index?: number;
30
29
  }
31
30
  type VBoxArgs = Omit<IBoxArgs, 'id'> & {
32
31
  id: Box;
@@ -72,9 +71,7 @@ export declare class Box {
72
71
  private _id;
73
72
  private _variables;
74
73
  private _errorListener;
75
- private _index;
76
74
  constructor(variables: BuiltInVariables, key: string, errorListener: TccErrorListener);
77
- set index(index: number);
78
75
  copy(posStr: string): Box;
79
76
  delete(): void;
80
77
  get_top(): number | undefined;
@@ -16,7 +16,6 @@ interface ILabelArgs {
16
16
  textcolor: string;
17
17
  tooltip: string;
18
18
  text_font_family: string;
19
- index: number;
20
19
  }
21
20
  export type PartialLabelArgs = Partial<ILabelArgs>;
22
21
  type TLabelArgs = Omit<PartialLabelArgs, 'id'> & {
@@ -57,9 +56,7 @@ export declare class Label {
57
56
  private _id;
58
57
  private _variables;
59
58
  private _errorListener;
60
- private _index;
61
59
  constructor(key: string, variables: BuiltInVariables, errorListener: TccErrorListener);
62
- set index(index: number);
63
60
  copy(posStr: string): Label;
64
61
  get_x(posStr: string): number | undefined;
65
62
  get_y(posStr: string): number | undefined;
@@ -18,7 +18,6 @@ export interface ILineArgs {
18
18
  style?: VLineStyle;
19
19
  width?: number;
20
20
  linefills?: string[];
21
- index?: number;
22
21
  }
23
22
  type LineArgs = Omit<ILineArgs, 'id'> & {
24
23
  id: Line;
@@ -59,10 +58,8 @@ export declare class Line {
59
58
  private _variables;
60
59
  private _id;
61
60
  private _errorListener;
62
- private _index;
63
61
  constructor(key: string, variables: BuiltInVariables, errorListener: TccErrorListener);
64
62
  get data(): ILineArgs | undefined;
65
- set index(index: number);
66
63
  copy(posStr: string): Line;
67
64
  delete(): void;
68
65
  get_price({ x }: ILineArgs, posStr: string): number | undefined;
@@ -5,7 +5,6 @@ interface ILinefillArgs {
5
5
  line1?: Line;
6
6
  line2?: Line;
7
7
  color?: string;
8
- index?: number;
9
8
  }
10
9
  export type TLinefill = Omit<ILinefillArgs, 'line1' | 'line2' | 'id'> & {
11
10
  id: string;
@@ -26,9 +25,7 @@ export declare class Linefill {
26
25
  private _line1?;
27
26
  private _line2?;
28
27
  private _variables;
29
- private _index;
30
28
  constructor(variables: BuiltInVariables, key: string, line1?: Line, line2?: Line);
31
- set index(index: number);
32
29
  linefill(args: {
33
30
  x?: Linefill;
34
31
  }, posStr: string): Linefill;
@@ -11,7 +11,6 @@ export interface IPolyline {
11
11
  fill_color?: string;
12
12
  line_style?: VLineStyle;
13
13
  line_width?: number;
14
- index?: number;
15
14
  }
16
15
  type TPolylineArgs = Omit<IPolyline, 'id'> & {
17
16
  id: Polyline;
@@ -29,9 +28,7 @@ export default class BuildInPolyline {
29
28
  export declare class Polyline {
30
29
  private _id;
31
30
  private _variables;
32
- private _index;
33
31
  constructor(key: string, variables: BuiltInVariables);
34
- set index(index: number);
35
32
  delete(): void;
36
33
  }
37
34
  export {};
@@ -17,7 +17,6 @@ export interface ITableArgs {
17
17
  start_row?: number;
18
18
  end_column?: number;
19
19
  end_row?: number;
20
- index?: number;
21
20
  }
22
21
  interface ITableCellArgs {
23
22
  table_id?: Table;
@@ -72,10 +71,8 @@ export declare class Table {
72
71
  private _id;
73
72
  private _variables;
74
73
  private _errorListener;
75
- private _index;
76
74
  private _defaultCell;
77
75
  constructor(variables: BuiltInVariables, key: string, errorListener: TccErrorListener);
78
- set index(index: number);
79
76
  cell(args: ITableCellArgs): void;
80
77
  cell_set_bgcolor({ column, row, bgcolor }: ITableCellArgs): void;
81
78
  cell_set_height({ column, row, height }: ITableCellArgs): void;
@@ -67519,14 +67519,14 @@ function ar(a, n, r) {
67519
67519
  function lh() {
67520
67520
  return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
67521
67521
  }
67522
- const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-DzBrRU8_.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
67522
+ const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-Da7Yv8uK.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
67523
67523
  Fp.onerror = (a) => {
67524
67524
  console.error(a);
67525
67525
  };
67526
67526
  async function Rp(a) {
67527
67527
  return await Ja.setInlayHints(a);
67528
67528
  }
67529
- const Bp = Hi(Fp), Kp = Hi(new Worker(new URL("" + new URL("assets/parserTccWorker-ChPWymni.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
67529
+ const Bp = Hi(Fp), Kp = Hi(new Worker(new URL("" + new URL("assets/parserTccWorker-6YLzf8WY.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
67530
67530
  async function ch(a, n = !1) {
67531
67531
  const { functions: r, types: o, constants: l, variables: c, methods: m } = bt;
67532
67532
  return await Kp.parseTcc(a, n, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(l), variables: Object.fromEntries(c) });
@@ -68191,7 +68191,7 @@ const Uh = ({ theme: a = "vs-dark", currentValue: n }) => {
68191
68191
  }, 10), (R = F.current) == null || R.scrollTo({ top: 0 });
68192
68192
  }, O = (I) => {
68193
68193
  const A = Br.find((R) => I.startsWith(R.prefix));
68194
- A && j(A, I);
68194
+ A && (_(0), j(A, I));
68195
68195
  };
68196
68196
  return L.jsxs("div", { className: `${a} manual-warpper`, children: [L.jsxs("div", { className: "manual-left", children: [L.jsxs("div", { className: "manual-search", children: [L.jsx("span", { className: "manual-search-icon", children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: L.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), L.jsx("input", { onChange: H, spellCheck: "false", value: g, className: "manual-search-input", autoComplete: "off", placeholder: "Search", type: "text" }), L.jsx("span", { onClick: G, className: `manual-search-clear ${g ? "" : "hide"}`, children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: L.jsx("path", { d: "M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z" }) }) })] }), L.jsx("div", { className: `manual-group-search-list manual-scroll ${g ? "" : "hide"}`, children: L.jsxs("div", { children: [l == null ? void 0 : l.labelList.map((I) => L.jsx("a", { onClick: (A) => {
68197
68197
  A.preventDefault(), N(I.key, I.group);
@@ -141,11 +141,11 @@ function print() { __p += __j.call(arguments, '') }
141
141
  * @license
142
142
  * Copyright 2019 Google LLC
143
143
  * SPDX-License-Identifier: Apache-2.0
144
- */const _o=Symbol("Comlink.proxy"),nm=Symbol("Comlink.endpoint"),im=Symbol("Comlink.releaseProxy"),yn=Symbol("Comlink.finalizer"),Ys=Symbol("Comlink.thrown"),fo=a=>typeof a=="object"&&a!==null||typeof a=="function",om={canHandle:a=>fo(a)&&a[_o],serialize(a){const{port1:n,port2:s}=new MessageChannel;return bo(a,n),[s,[s]]},deserialize(a){return a.start(),_n(a)}},lm={canHandle:a=>fo(a)&&Ys in a,serialize({value:a}){let n;return a instanceof Error?n={isError:!0,value:{message:a.message,name:a.name,stack:a.stack}}:n={isError:!1,value:a},[n,[]]},deserialize(a){throw a.isError?Object.assign(new Error(a.value.message),a.value):a.value}},go=new Map([["proxy",om],["throw",lm]]);function cm(a,n){for(const s of a)if(n===s||s==="*"||s instanceof RegExp&&s.test(n))return!0;return!1}function bo(a,n=globalThis,s=["*"]){n.addEventListener("message",function o(l){if(!l||!l.data)return;if(!cm(s,l.origin)){console.warn(`Invalid origin '${l.origin}' for comlink proxy`);return}const{id:c,type:m,path:_}=Object.assign({path:[]},l.data),g=(l.data.argumentList||[]).map(gr);let b;try{const h=_.slice(0,-1).reduce((P,B)=>P[B],a),T=_.reduce((P,B)=>P[B],a);switch(m){case"GET":b=T;break;case"SET":h[_.slice(-1)[0]]=gr(l.data.value),b=!0;break;case"APPLY":b=T.apply(h,g);break;case"CONSTRUCT":{const P=new T(...g);b=gn(P)}break;case"ENDPOINT":{const{port1:P,port2:B}=new MessageChannel;bo(a,B),b=ym(P,[P])}break;case"RELEASE":b=void 0;break;default:return}}catch(h){b={value:h,[Ys]:0}}Promise.resolve(b).catch(h=>({value:h,[Ys]:0})).then(h=>{const[T,P]=ea(h);n.postMessage(Object.assign(Object.assign({},T),{id:c}),P),m==="RELEASE"&&(n.removeEventListener("message",o),xo(n),yn in a&&typeof a[yn]=="function"&&a[yn]())}).catch(h=>{const[T,P]=ea({value:new TypeError("Unserializable return value"),[Ys]:0});n.postMessage(Object.assign(Object.assign({},T),{id:c}),P)})}),n.start&&n.start()}function pm(a){return a.constructor.name==="MessagePort"}function xo(a){pm(a)&&a.close()}function _n(a,n){return fn(a,[],n)}function Qs(a){if(a)throw new Error("Proxy has been released and is not useable")}function ho(a){return Lr(a,{type:"RELEASE"}).then(()=>{xo(a)})}const Zs=new WeakMap,Js="FinalizationRegistry"in globalThis&&new FinalizationRegistry(a=>{const n=(Zs.get(a)||0)-1;Zs.set(a,n),n===0&&ho(a)});function dm(a,n){const s=(Zs.get(n)||0)+1;Zs.set(n,s),Js&&Js.register(a,n,a)}function mm(a){Js&&Js.unregister(a)}function fn(a,n=[],s=function(){}){let o=!1;const l=new Proxy(s,{get(c,m){if(Qs(o),m===im)return()=>{mm(l),ho(a),o=!0};if(m==="then"){if(n.length===0)return{then:()=>l};const _=Lr(a,{type:"GET",path:n.map(g=>g.toString())}).then(gr);return _.then.bind(_)}return fn(a,[...n,m])},set(c,m,_){Qs(o);const[g,b]=ea(_);return Lr(a,{type:"SET",path:[...n,m].map(h=>h.toString()),value:g},b).then(gr)},apply(c,m,_){Qs(o);const g=n[n.length-1];if(g===nm)return Lr(a,{type:"ENDPOINT"}).then(gr);if(g==="bind")return fn(a,n.slice(0,-1));const[b,h]=wo(_);return Lr(a,{type:"APPLY",path:n.map(T=>T.toString()),argumentList:b},h).then(gr)},construct(c,m){Qs(o);const[_,g]=wo(m);return Lr(a,{type:"CONSTRUCT",path:n.map(b=>b.toString()),argumentList:_},g).then(gr)}});return dm(l,a),l}function um(a){return Array.prototype.concat.apply([],a)}function wo(a){const n=a.map(ea);return[n.map(s=>s[0]),um(n.map(s=>s[1]))]}const vo=new WeakMap;function ym(a,n){return vo.set(a,n),a}function gn(a){return Object.assign(a,{[_o]:!0})}function ea(a){for(const[n,s]of go)if(s.canHandle(a)){const[o,l]=s.serialize(a);return[{type:"HANDLER",name:n,value:o},l]}return[{type:"RAW",value:a},vo.get(a)||[]]}function gr(a){switch(a.type){case"HANDLER":return go.get(a.name).deserialize(a.value);case"RAW":return a.value}}function Lr(a,n,s){return new Promise(o=>{const l=_m();a.addEventListener("message",function c(m){!m.data||!m.data.id||m.data.id!==l||(a.removeEventListener("message",c),o(m.data))}),a.start&&a.start(),a.postMessage(Object.assign({id:l},n),s)})}function _m(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}const To=new Worker(new URL(""+(typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__dirname+"/assets/scriptsRunWorker-DzBrRU8_.js").href:new URL("assets/scriptsRunWorker-DzBrRU8_.js",typeof document>"u"?location.href:document.currentScript&&document.currentScript.src||document.baseURI).href),typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:Us&&Us.src||new URL("trading-vue-editor.umd.cjs",document.baseURI).href),{type:"module",name:"Run TccScript Server"});To.onerror=a=>{console.error(a)};async function Do(a){return await Gs.setInlayHints(a)}const ko=_n(To),Io=_n(new Worker(new URL(""+(typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__dirname+"/assets/parserTccWorker-ChPWymni.js").href:new URL("assets/parserTccWorker-ChPWymni.js",typeof document>"u"?location.href:document.currentScript&&document.currentScript.src||document.baseURI).href),typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:Us&&Us.src||new URL("trading-vue-editor.umd.cjs",document.baseURI).href),{type:"module",name:"Parser TccScript Server"}));async function Ao(a,n=!1){const{functions:s,types:o,constants:l,variables:c,methods:m}=lt;return await Io.parseTcc(a,n,gn(Do),{functions:Object.fromEntries(s),methods:Object.fromEntries(m),types:Object.fromEntries(o),constants:Object.fromEntries(l),variables:Object.fromEntries(c)})}async function fm(a,n){const{functions:s,types:o,constants:l,variables:c,methods:m}=lt;return await Io.parseLibraryCode(a,n,gn(Do),{functions:Object.fromEntries(s),methods:Object.fromEntries(m),types:Object.fromEntries(o),constants:Object.fromEntries(l),variables:Object.fromEntries(c)})}async function qo(a,n,s=!0){return await ko.runScript(a,n,s)}async function gm(a){return await ko.removeScript(a)}function bm(a){return new Worker(""+(typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__dirname+"/assets/editor.worker-CT5Cb1wO.js").href:new URL("assets/editor.worker-CT5Cb1wO.js",typeof document>"u"?location.href:document.currentScript&&document.currentScript.src||document.baseURI).href),{name:a==null?void 0:a.name})}self.MonacoEnvironment={getWorker(){return new bm({name:"Editor Worker"})}},sn.config({monaco:pp});let Co={};const xm=(a,n)=>{const{height:s,width:o,theme:l,options:c,hasDiff:m,readOnly:_,defaultValue:g,onChange:b,onLinkOpen:h,onDeclareConfigChange:T,onCursorPositionChange:P,onActionTrigger:B,onEditorDidMount:R}=a,N=O.useRef(null),W=O.useRef(null);O.useImperativeHandle(n,()=>({setOriginalScript(q){var U;(U=N.current)==null||U.setOriginalScript(q)},setScript(q){var U;(U=N.current)==null||U.setValue(q)},gotoLine(){var q;(q=N.current)==null||q.gotoLine()},getEditorLayout(){var q;return(q=N.current)==null?void 0:q.getEditorLayout()},setPosition(q,U){var j;(j=N.current)==null||j.setPosition({column:q,lineNumber:U})},setModelMarkers(q){var U;(U=N.current)==null||U.setModelMarkers(q)}})),O.useEffect(()=>{var q,U;m?(U=N.current)==null||U.addDiffDecorations():(q=N.current)==null||q.removeDiffDecorations()},[m]),O.useEffect(()=>{var q;(q=N.current)==null||q.updateActionTrigger(B)},[B]),O.useEffect(()=>{var q;h&&((q=N.current)==null||q.addLinkOpenFunc(h))},[h]);function V(q,U){var ae,ye,le;zt.initBuiltinsTrees(),Gs.setEditor(q),N.current=new am(q,U,B),h&&((ae=N.current)==null||ae.addLinkOpenFunc(h)),m&&((ye=N.current)==null||ye.addDiffDecorations()),zd(q),(le=N.current)==null||le.setEditorLayout(Number(s));const j=q.getValue();N.current.onChangeCursorPosition(P),b&&b(j),!_&&G(j),R&&R()}const G=O.useCallback(async q=>{var ht;const U=Date.now(),{errors:j,functions:ae,methods:ye,types:le,variables:xt,overloadsFuncs:St,imports:$e,preParserCode:Be,enums:Q}=await Ao(q),ge=new Map(Object.entries(ae)),Ne=new Map(Object.entries(ye)),Pe=new Map(Object.entries(le)),ct=new Map(Object.entries(xt)),Et=new Map(Object.entries($e)),te=new Map(Object.entries(Q));Er.setUserDefined({functions:ge,methods:Ne,types:Pe,variables:ct,imports:Et,enums:te},St),zt.setUserDefind(ge,Pe,ct,Ne,te);const he=j.map(Ae=>({...Ae,severity:Ae.type||ke.MarkerSeverity.Error}));if(_)return;try{if(!j.length&&Be){const Ae=await qo(Be,{isPreParser:!0});io.isEqual(Ae,Co)||(Co=Ae,T&&T(Ae))}}catch(Ae){console.log(Ae),j.push({message:Ae.message,startLineNumber:0,endLineNumber:0,startColumn:0,endColumn:0})}(ht=N.current)==null||ht.setModelMarkers(he);const Fe=Date.now();console.log((Fe-U)/1e3)},[T,_]),F=O.useMemo(()=>io.debounce(G,1500),[G]);function k(q){var U;if(_){G(q||"");return}Gs.clearInlayHints(),(U=N.current)==null||U.setModelMarkers([]),q!==void 0&&(b&&b(q),F(q))}return O.useEffect(()=>{const q=()=>{window.requestAnimationFrame(()=>{var ae,ye;const j=(ae=W.current)==null?void 0:ae.getBoundingClientRect();(ye=N.current)==null||ye.setEditorLayout((j==null?void 0:j.height)||0,j==null?void 0:j.width)})},U=new ResizeObserver(q);return W.current&&U.observe(W.current),()=>{W.current&&U.unobserve(W.current),U.disconnect()}},[]),L.jsx("div",{ref:W,children:L.jsx(xd,{height:s,width:o||"100%",defaultLanguage:Ee,defaultValue:g||`indicator("我的脚本")
144
+ */const _o=Symbol("Comlink.proxy"),nm=Symbol("Comlink.endpoint"),im=Symbol("Comlink.releaseProxy"),yn=Symbol("Comlink.finalizer"),Ys=Symbol("Comlink.thrown"),fo=a=>typeof a=="object"&&a!==null||typeof a=="function",om={canHandle:a=>fo(a)&&a[_o],serialize(a){const{port1:n,port2:s}=new MessageChannel;return bo(a,n),[s,[s]]},deserialize(a){return a.start(),_n(a)}},lm={canHandle:a=>fo(a)&&Ys in a,serialize({value:a}){let n;return a instanceof Error?n={isError:!0,value:{message:a.message,name:a.name,stack:a.stack}}:n={isError:!1,value:a},[n,[]]},deserialize(a){throw a.isError?Object.assign(new Error(a.value.message),a.value):a.value}},go=new Map([["proxy",om],["throw",lm]]);function cm(a,n){for(const s of a)if(n===s||s==="*"||s instanceof RegExp&&s.test(n))return!0;return!1}function bo(a,n=globalThis,s=["*"]){n.addEventListener("message",function o(l){if(!l||!l.data)return;if(!cm(s,l.origin)){console.warn(`Invalid origin '${l.origin}' for comlink proxy`);return}const{id:c,type:m,path:_}=Object.assign({path:[]},l.data),g=(l.data.argumentList||[]).map(gr);let b;try{const h=_.slice(0,-1).reduce((P,B)=>P[B],a),T=_.reduce((P,B)=>P[B],a);switch(m){case"GET":b=T;break;case"SET":h[_.slice(-1)[0]]=gr(l.data.value),b=!0;break;case"APPLY":b=T.apply(h,g);break;case"CONSTRUCT":{const P=new T(...g);b=gn(P)}break;case"ENDPOINT":{const{port1:P,port2:B}=new MessageChannel;bo(a,B),b=ym(P,[P])}break;case"RELEASE":b=void 0;break;default:return}}catch(h){b={value:h,[Ys]:0}}Promise.resolve(b).catch(h=>({value:h,[Ys]:0})).then(h=>{const[T,P]=ea(h);n.postMessage(Object.assign(Object.assign({},T),{id:c}),P),m==="RELEASE"&&(n.removeEventListener("message",o),xo(n),yn in a&&typeof a[yn]=="function"&&a[yn]())}).catch(h=>{const[T,P]=ea({value:new TypeError("Unserializable return value"),[Ys]:0});n.postMessage(Object.assign(Object.assign({},T),{id:c}),P)})}),n.start&&n.start()}function pm(a){return a.constructor.name==="MessagePort"}function xo(a){pm(a)&&a.close()}function _n(a,n){return fn(a,[],n)}function Qs(a){if(a)throw new Error("Proxy has been released and is not useable")}function ho(a){return Lr(a,{type:"RELEASE"}).then(()=>{xo(a)})}const Zs=new WeakMap,Js="FinalizationRegistry"in globalThis&&new FinalizationRegistry(a=>{const n=(Zs.get(a)||0)-1;Zs.set(a,n),n===0&&ho(a)});function dm(a,n){const s=(Zs.get(n)||0)+1;Zs.set(n,s),Js&&Js.register(a,n,a)}function mm(a){Js&&Js.unregister(a)}function fn(a,n=[],s=function(){}){let o=!1;const l=new Proxy(s,{get(c,m){if(Qs(o),m===im)return()=>{mm(l),ho(a),o=!0};if(m==="then"){if(n.length===0)return{then:()=>l};const _=Lr(a,{type:"GET",path:n.map(g=>g.toString())}).then(gr);return _.then.bind(_)}return fn(a,[...n,m])},set(c,m,_){Qs(o);const[g,b]=ea(_);return Lr(a,{type:"SET",path:[...n,m].map(h=>h.toString()),value:g},b).then(gr)},apply(c,m,_){Qs(o);const g=n[n.length-1];if(g===nm)return Lr(a,{type:"ENDPOINT"}).then(gr);if(g==="bind")return fn(a,n.slice(0,-1));const[b,h]=wo(_);return Lr(a,{type:"APPLY",path:n.map(T=>T.toString()),argumentList:b},h).then(gr)},construct(c,m){Qs(o);const[_,g]=wo(m);return Lr(a,{type:"CONSTRUCT",path:n.map(b=>b.toString()),argumentList:_},g).then(gr)}});return dm(l,a),l}function um(a){return Array.prototype.concat.apply([],a)}function wo(a){const n=a.map(ea);return[n.map(s=>s[0]),um(n.map(s=>s[1]))]}const vo=new WeakMap;function ym(a,n){return vo.set(a,n),a}function gn(a){return Object.assign(a,{[_o]:!0})}function ea(a){for(const[n,s]of go)if(s.canHandle(a)){const[o,l]=s.serialize(a);return[{type:"HANDLER",name:n,value:o},l]}return[{type:"RAW",value:a},vo.get(a)||[]]}function gr(a){switch(a.type){case"HANDLER":return go.get(a.name).deserialize(a.value);case"RAW":return a.value}}function Lr(a,n,s){return new Promise(o=>{const l=_m();a.addEventListener("message",function c(m){!m.data||!m.data.id||m.data.id!==l||(a.removeEventListener("message",c),o(m.data))}),a.start&&a.start(),a.postMessage(Object.assign({id:l},n),s)})}function _m(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}const To=new Worker(new URL(""+(typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__dirname+"/assets/scriptsRunWorker-Da7Yv8uK.js").href:new URL("assets/scriptsRunWorker-Da7Yv8uK.js",typeof document>"u"?location.href:document.currentScript&&document.currentScript.src||document.baseURI).href),typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:Us&&Us.src||new URL("trading-vue-editor.umd.cjs",document.baseURI).href),{type:"module",name:"Run TccScript Server"});To.onerror=a=>{console.error(a)};async function Do(a){return await Gs.setInlayHints(a)}const ko=_n(To),Io=_n(new Worker(new URL(""+(typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__dirname+"/assets/parserTccWorker-6YLzf8WY.js").href:new URL("assets/parserTccWorker-6YLzf8WY.js",typeof document>"u"?location.href:document.currentScript&&document.currentScript.src||document.baseURI).href),typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__filename).href:typeof document>"u"?location.href:Us&&Us.src||new URL("trading-vue-editor.umd.cjs",document.baseURI).href),{type:"module",name:"Parser TccScript Server"}));async function Ao(a,n=!1){const{functions:s,types:o,constants:l,variables:c,methods:m}=lt;return await Io.parseTcc(a,n,gn(Do),{functions:Object.fromEntries(s),methods:Object.fromEntries(m),types:Object.fromEntries(o),constants:Object.fromEntries(l),variables:Object.fromEntries(c)})}async function fm(a,n){const{functions:s,types:o,constants:l,variables:c,methods:m}=lt;return await Io.parseLibraryCode(a,n,gn(Do),{functions:Object.fromEntries(s),methods:Object.fromEntries(m),types:Object.fromEntries(o),constants:Object.fromEntries(l),variables:Object.fromEntries(c)})}async function qo(a,n,s=!0){return await ko.runScript(a,n,s)}async function gm(a){return await ko.removeScript(a)}function bm(a){return new Worker(""+(typeof document>"u"&&typeof location>"u"?require("url").pathToFileURL(__dirname+"/assets/editor.worker-CT5Cb1wO.js").href:new URL("assets/editor.worker-CT5Cb1wO.js",typeof document>"u"?location.href:document.currentScript&&document.currentScript.src||document.baseURI).href),{name:a==null?void 0:a.name})}self.MonacoEnvironment={getWorker(){return new bm({name:"Editor Worker"})}},sn.config({monaco:pp});let Co={};const xm=(a,n)=>{const{height:s,width:o,theme:l,options:c,hasDiff:m,readOnly:_,defaultValue:g,onChange:b,onLinkOpen:h,onDeclareConfigChange:T,onCursorPositionChange:P,onActionTrigger:B,onEditorDidMount:R}=a,N=O.useRef(null),W=O.useRef(null);O.useImperativeHandle(n,()=>({setOriginalScript(q){var U;(U=N.current)==null||U.setOriginalScript(q)},setScript(q){var U;(U=N.current)==null||U.setValue(q)},gotoLine(){var q;(q=N.current)==null||q.gotoLine()},getEditorLayout(){var q;return(q=N.current)==null?void 0:q.getEditorLayout()},setPosition(q,U){var j;(j=N.current)==null||j.setPosition({column:q,lineNumber:U})},setModelMarkers(q){var U;(U=N.current)==null||U.setModelMarkers(q)}})),O.useEffect(()=>{var q,U;m?(U=N.current)==null||U.addDiffDecorations():(q=N.current)==null||q.removeDiffDecorations()},[m]),O.useEffect(()=>{var q;(q=N.current)==null||q.updateActionTrigger(B)},[B]),O.useEffect(()=>{var q;h&&((q=N.current)==null||q.addLinkOpenFunc(h))},[h]);function V(q,U){var ae,ye,le;zt.initBuiltinsTrees(),Gs.setEditor(q),N.current=new am(q,U,B),h&&((ae=N.current)==null||ae.addLinkOpenFunc(h)),m&&((ye=N.current)==null||ye.addDiffDecorations()),zd(q),(le=N.current)==null||le.setEditorLayout(Number(s));const j=q.getValue();N.current.onChangeCursorPosition(P),b&&b(j),!_&&G(j),R&&R()}const G=O.useCallback(async q=>{var ht;const U=Date.now(),{errors:j,functions:ae,methods:ye,types:le,variables:xt,overloadsFuncs:St,imports:$e,preParserCode:Be,enums:Q}=await Ao(q),ge=new Map(Object.entries(ae)),Ne=new Map(Object.entries(ye)),Pe=new Map(Object.entries(le)),ct=new Map(Object.entries(xt)),Et=new Map(Object.entries($e)),te=new Map(Object.entries(Q));Er.setUserDefined({functions:ge,methods:Ne,types:Pe,variables:ct,imports:Et,enums:te},St),zt.setUserDefind(ge,Pe,ct,Ne,te);const he=j.map(Ae=>({...Ae,severity:Ae.type||ke.MarkerSeverity.Error}));if(_)return;try{if(!j.length&&Be){const Ae=await qo(Be,{isPreParser:!0});io.isEqual(Ae,Co)||(Co=Ae,T&&T(Ae))}}catch(Ae){console.log(Ae),j.push({message:Ae.message,startLineNumber:0,endLineNumber:0,startColumn:0,endColumn:0})}(ht=N.current)==null||ht.setModelMarkers(he);const Fe=Date.now();console.log((Fe-U)/1e3)},[T,_]),F=O.useMemo(()=>io.debounce(G,1500),[G]);function k(q){var U;if(_){G(q||"");return}Gs.clearInlayHints(),(U=N.current)==null||U.setModelMarkers([]),q!==void 0&&(b&&b(q),F(q))}return O.useEffect(()=>{const q=()=>{window.requestAnimationFrame(()=>{var ae,ye;const j=(ae=W.current)==null?void 0:ae.getBoundingClientRect();(ye=N.current)==null||ye.setEditorLayout((j==null?void 0:j.height)||0,j==null?void 0:j.width)})},U=new ResizeObserver(q);return W.current&&U.observe(W.current),()=>{W.current&&U.unobserve(W.current),U.disconnect()}},[]),L.jsx("div",{ref:W,children:L.jsx(xd,{height:s,width:o||"100%",defaultLanguage:Ee,defaultValue:g||`indicator("我的脚本")
145
145
  plot(close)
146
146
  `,theme:l||"vs-dark",className:`tvue-script ${l||"vs-dark"}`,options:{colorDecorators:!0,useShadowDOM:!1,matchOnWordStartOnly:!0,automaticLayout:!1,suggest:{filterGraceful:!0},fontSize:13,..._?Rd:{},readOnlyMessage:{value:"该脚本是只读的。它无法被编辑。"},...c},onMount:V,onChange:k})})},hm=O.forwardRef(xm),wm=a=>{const{theme:n,modified:s,original:o,height:l,width:c,renderSideBySide:m=!0}=a,_=O.useCallback((g,b)=>{b.languages.register({id:Ee}),b.editor.defineTheme("vs-dark",cn),b.editor.defineTheme("vs",ln),b.languages.setMonarchTokensProvider(Ee,Nr),b.languages.setLanguageConfiguration(Ee,on)},[]);return L.jsx(yd,{height:l||"90vh",width:c||"100%",theme:n||"vs-dark",options:{readOnly:!0,renderSideBySide:m,scrollBeyondLastLine:!1},language:Ee,modified:s,original:o,onMount:_})};A.VMarkerSeverity=void 0,function(a){a[a.Hint=1]="Hint",a[a.Info=2]="Info",a[a.Warning=4]="Warning",a[a.Error=8]="Error"}(A.VMarkerSeverity||(A.VMarkerSeverity={}));var ta={},vm=function(){var a=document.getSelection();if(!a.rangeCount)return function(){};for(var n=document.activeElement,s=[],o=0;o<a.rangeCount;o++)s.push(a.getRangeAt(o));switch(n.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":n.blur();break;default:n=null;break}return a.removeAllRanges(),function(){a.type==="Caret"&&a.removeAllRanges(),a.rangeCount||s.forEach(function(l){a.addRange(l)}),n&&n.focus()}},Tm=vm,zo={"text/plain":"Text","text/html":"Url",default:"Text"},Dm="Copy to clipboard: #{key}, Enter";function km(a){var n=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return a.replace(/#{\s*key\s*}/g,n)}function Im(a,n){var s,o,l,c,m,_,g=!1;n||(n={}),s=n.debug||!1;try{l=Tm(),c=document.createRange(),m=document.getSelection(),_=document.createElement("span"),_.textContent=a,_.ariaHidden="true",_.style.all="unset",_.style.position="fixed",_.style.top=0,_.style.clip="rect(0, 0, 0, 0)",_.style.whiteSpace="pre",_.style.webkitUserSelect="text",_.style.MozUserSelect="text",_.style.msUserSelect="text",_.style.userSelect="text",_.addEventListener("copy",function(h){if(h.stopPropagation(),n.format)if(h.preventDefault(),typeof h.clipboardData>"u"){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var T=zo[n.format]||zo.default;window.clipboardData.setData(T,a)}else h.clipboardData.clearData(),h.clipboardData.setData(n.format,a);n.onCopy&&(h.preventDefault(),n.onCopy(h.clipboardData))}),document.body.appendChild(_),c.selectNodeContents(_),m.addRange(c);var b=document.execCommand("copy");if(!b)throw new Error("copy command was unsuccessful");g=!0}catch(h){s&&console.error("unable to copy using execCommand: ",h),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(n.format||"text",a),n.onCopy&&n.onCopy(window.clipboardData),g=!0}catch(T){s&&console.error("unable to copy using clipboardData: ",T),s&&console.error("falling back to prompt"),o=km("message"in n?n.message:Dm),window.prompt(o,a)}}finally{m&&(typeof m.removeRange=="function"?m.removeRange(c):m.removeAllRanges()),_&&document.body.removeChild(_),l()}return g}var Am=Im;function bn(a){"@babel/helpers - typeof";return bn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},bn(a)}Object.defineProperty(ta,"__esModule",{value:!0}),ta.CopyToClipboard=void 0;var ra=So(O),qm=So(Am),Cm=["text","onCopy","options","children"];function So(a){return a&&a.__esModule?a:{default:a}}function Eo(a,n){var s=Object.keys(a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(a);n&&(o=o.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),s.push.apply(s,o)}return s}function No(a){for(var n=1;n<arguments.length;n++){var s=arguments[n]!=null?arguments[n]:{};n%2?Eo(Object(s),!0).forEach(function(o){hn(a,o,s[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):Eo(Object(s)).forEach(function(o){Object.defineProperty(a,o,Object.getOwnPropertyDescriptor(s,o))})}return a}function zm(a,n){if(a==null)return{};var s=Sm(a,n),o,l;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);for(l=0;l<c.length;l++)o=c[l],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(a,o)&&(s[o]=a[o])}return s}function Sm(a,n){if(a==null)return{};var s={},o=Object.keys(a),l,c;for(c=0;c<o.length;c++)l=o[c],!(n.indexOf(l)>=0)&&(s[l]=a[l]);return s}function Em(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function Lo(a,n){for(var s=0;s<n.length;s++){var o=n[s];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(a,o.key,o)}}function Nm(a,n,s){return n&&Lo(a.prototype,n),s&&Lo(a,s),Object.defineProperty(a,"prototype",{writable:!1}),a}function Lm(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(n&&n.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),Object.defineProperty(a,"prototype",{writable:!1}),n&&xn(a,n)}function xn(a,n){return xn=Object.setPrototypeOf||function(o,l){return o.__proto__=l,o},xn(a,n)}function Mm(a){var n=Om();return function(){var o=sa(a),l;if(n){var c=sa(this).constructor;l=Reflect.construct(o,arguments,c)}else l=o.apply(this,arguments);return Pm(this,l)}}function Pm(a,n){if(n&&(bn(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mo(a)}function Mo(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function Om(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function sa(a){return sa=Object.setPrototypeOf?Object.getPrototypeOf:function(s){return s.__proto__||Object.getPrototypeOf(s)},sa(a)}function hn(a,n,s){return n in a?Object.defineProperty(a,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[n]=s,a}var Po=function(a){Lm(s,a);var n=Mm(s);function s(){var o;Em(this,s);for(var l=arguments.length,c=new Array(l),m=0;m<l;m++)c[m]=arguments[m];return o=n.call.apply(n,[this].concat(c)),hn(Mo(o),"onClick",function(_){var g=o.props,b=g.text,h=g.onCopy,T=g.children,P=g.options,B=ra.default.Children.only(T),R=(0,qm.default)(b,P);h&&h(b,R),B&&B.props&&typeof B.props.onClick=="function"&&B.props.onClick(_)}),o}return Nm(s,[{key:"render",value:function(){var l=this.props;l.text,l.onCopy,l.options;var c=l.children,m=zm(l,Cm),_=ra.default.Children.only(c);return ra.default.cloneElement(_,No(No({},m),{},{onClick:this.onClick}))}}]),s}(ra.default.PureComponent);ta.CopyToClipboard=Po,hn(Po,"defaultProps",{onCopy:void 0,options:void 0});var Rm=ta,wn=Rm.CopyToClipboard;wn.CopyToClipboard=wn;var Fm=wn;const vn=dp(Fm);async function Bm(a,n=0){const s=a[n];if(!s)return;const{name:o,args:l,type:c,desc:m,examples:_,remarks:g,seeAlso:b,syntax:h,detailedDesc:T,fields:P,returns:B}=s,R={name:o};if(a.length>1&&(R.overloads=`${a.length} overloads`),c&&(R.type=c),l&&(R.name=`${o}()`,R.args=l.map(N=>{const{name:W,desc:V,displayType:G}=N;return{label:`${W} (${G})`,desc:V&&br(V)}})),m&&(R.desc=m.map(N=>br(N))),_&&(R.originalExample=_.join(`
147
147
  `),R.examples=await ke.editor.colorize(R.originalExample,Ee,{tabSize:4})),T){R.detailedDesc=[];for(const N of T){const{desc:W,examples:V}=N;let G=W.map(q=>br(q)),F,k;V&&(k=V.join(`
148
148
  `),F=await ke.editor.colorize(k,Ee,{tabSize:4})),R.detailedDesc.push({desc:G,examples:F,originalExample:k})}}return B&&(R.returns=B.map(N=>br(N))),g&&(R.remarks=typeof g=="string"?[br(g)]:g.map(N=>br(N))),h&&(R.syntax=a.map(N=>{var W;return(W=N.syntax)==null?void 0:W[0]})),P&&(R.fields=P.map(N=>{const{name:W,desc:V,type:G}=N;return{label:`${W} (${G})`,desc:V&&br(V)}})),b&&(R.seeAlso=b.map(N=>Um(N))),R}function Um(a){const s=/\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(a);if(s){const[o,l,c]=s;return{name:l,link:c}}}function br(a){const n=/\*\*([^\*]+)\*\*/g,s=/\`([^\`]+)\`/g,o=/\[([^\[\]]+)\]\(([^\(\)]+)\)/g;return a.replace(n,(l,c)=>`<strong>${c}</strong>`).replace(s,(l,c)=>`<code>${c}</code>`).replace(o,(l,c,m)=>`<a ${m.startsWith("#")?`data-name="${c}"`:'target="_blank"'} class="manual-content-text-link" href="${m}">${c}</a>`)}function Km(a){var o;const n=[],s=[];for(const l of ps){for(let c of no[l.key].sort()){if(ao.includes(c))continue;let m=c;l.prefix==="fun"&&(m=`${c}()`),m.includes(a)&&(m.startsWith(a)?n.unshift({label:m,group:l,key:`${l.prefix}_${c}`}):n.push({label:m,group:l,key:`${l.prefix}_${c}`}))}for(const[c,m]of lt[l.key])for(const _ of m){const{name:g,args:b,type:h,desc:T,examples:P,remarks:B,seeAlso:R,syntax:N,detailedDesc:W,fields:V,returns:G}=_,F={label:g,group:l,key:`${l.prefix}_${g}`};if(l.prefix==="fun"&&(F.label=`${g}()`),F.label.includes(a))break;if(b){let k=!1;for(const q of b){const{name:U,desc:j,displayType:ae}=q;if(U.includes(a)||j!=null&&j.includes(a)||ae!=null&&ae.includes(a)){s.push(F),k=!0;break}}if(k)break}if(h&&h.includes(a)){s.push(F);break}if(T){let k=!1;for(const q of T)if(q.includes(a)){s.push(F),k=!0;break}if(k)break}if(P){let k=!1;for(const q of P)if(q.includes(a)){s.push(F),k=!0;break}if(k)break}if(B&&(typeof B=="string"?B:B.join(`
149
149
  `)).includes(a)){s.push(F);break}if(R){let k=!1;for(const q of R)if(q.includes(a)){s.push(F),k=!0;break}if(k)break}if(N){let k=!1;for(const q of N)if(q.includes(a)){s.push(F),k=!0;break}if(k)break}if(W){let k=!1;for(const q of W){const{desc:U,examples:j}=q;if(U.join(`
150
150
  `).includes(a)){s.push(F),k=!0;break}if((o=j==null?void 0:j.join(`
151
- `))!=null&&o.includes(a)){s.push(F),k=!0;break}}if(k)break}if(V){let k=!1;for(const q of V){const{name:U,desc:j,type:ae}=q;if(U.includes(a)||j!=null&&j.includes(a)||ae!=null&&ae.includes(a)){s.push(F),k=!0;break}}if(k)break}if(G){let k=!1;for(const q of G)if(q.includes(a)){s.push(F),k=!0;break}if(k)break}}}return{labelList:n,contentList:s}}const $m=a=>{var G;const{group:n,itemKey:s,onItemClick:o,currentIndex:l}=a,[c,m]=O.useState(),[_,g]=O.useState(0),[b,h]=O.useState("Copy code"),[T,P]=O.useState("Copy link");O.useEffect(()=>{B(l)},[s]);const B=F=>{const k=s.replace(`${n==null?void 0:n.prefix}_`,""),q=lt[n==null?void 0:n.key].get(k);g(F),q&&Bm(q,F).then(U=>{m(U)})},R=F=>{B(F)},N=F=>{var k,q;if(F.target.localName==="a"&&F.target.hash&&((q=(k=F.target)==null?void 0:k.dataset)!=null&&q.name)){F.preventDefault();const{hash:U}=F.target;o(U.replace("#",""))}},W=()=>{h("Copied"),setTimeout(()=>{h("Copy code")},1e3)},V=()=>{P("Link copied"),setTimeout(()=>{P("Copy link")},3e3)};return L.jsx("div",{onClick:N,id:`#${s}`,children:L.jsxs("div",{className:"manual-content-wrapper",children:[L.jsxs("div",{className:"manual-content-header",children:[L.jsxs("div",{children:[L.jsx("h3",{className:"manual-content-header-title",children:c==null?void 0:c.name}),!!(c!=null&&c.overloads)&&L.jsx("span",{className:"manual-content-header-overloads",children:c==null?void 0:c.overloads})]}),L.jsx(vn,{text:(c==null?void 0:c.name)||"",onCopy:V,children:L.jsx("div",{"data-tooltip":T,className:"manual-content-btn",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28",width:"28",height:"28",children:L.jsxs("g",{fill:"currentColor",children:[L.jsx("path",{fillRule:"nonzero",d:"M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z"}),L.jsx("path",{d:"M10.485 16.141l5.656-5.656.707.707-5.656 5.656z"})]})})})})]}),(G=c==null?void 0:c.desc)==null?void 0:G.map((F,k)=>L.jsx("div",{dangerouslySetInnerHTML:{__html:F},className:"manual-content-text"},k)),(c==null?void 0:c.type)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"type"}),L.jsx("div",{className:"manual-content-text",children:c.type})]}),(c==null?void 0:c.syntax)&&L.jsxs(O.Fragment,{children:[L.jsxs("div",{className:"manual-content-sub-title",children:["Syntax ",!!(c!=null&&c.overloads)&&"& Overloads"]}),c.syntax.map((F,k)=>{var q;return(((q=c.syntax)==null?void 0:q.length)||0)>1?L.jsx("div",{onClick:()=>R(k),children:L.jsx("pre",{className:`manual-content-syntax with-overloads ${k===_?"selected":""}`,children:F})},k):L.jsx("pre",{className:"manual-content-syntax",children:F},k)})]}),(c==null?void 0:c.args)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"arguments"}),c.args.map((F,k)=>L.jsxs("div",{className:"manual-content-text",children:[L.jsx("span",{className:"manual-content-args-label",children:F.label})," ",L.jsx("span",{dangerouslySetInnerHTML:{__html:F.desc||""}})]},k))]}),(c==null?void 0:c.fields)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"fields"}),c.fields.map((F,k)=>L.jsxs("div",{className:"manual-content-text",children:[L.jsx("span",{className:"manual-content-args-label",children:F.label})," ",L.jsx("span",{dangerouslySetInnerHTML:{__html:F.desc||""}})]},k))]}),(c==null?void 0:c.examples)&&L.jsxs(O.Fragment,{children:[L.jsxs("div",{className:"manual-content-sub-title manual-content-example-header",children:[L.jsx("div",{children:L.jsx("span",{children:"example"})}),L.jsx(vn,{text:c.originalExample||"",onCopy:W,children:L.jsx("div",{"data-tooltip":b,className:"manual-content-btn manual-content-example-copy",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",fill:"none",children:L.jsx("path",{stroke:"currentColor",d:"M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z"})})})})]}),L.jsx("pre",{className:"manual-content-example",children:L.jsx("code",{dangerouslySetInnerHTML:{__html:c.examples}})})]}),(c==null?void 0:c.detailedDesc)&&c.detailedDesc.map((F,k)=>L.jsxs(O.Fragment,{children:[F.desc.map((q,U)=>L.jsx("div",{className:"manual-content-text",dangerouslySetInnerHTML:{__html:q}},U)),L.jsxs("div",{className:"manual-content-sub-title manual-content-example-header",children:[L.jsx("div",{children:L.jsx("span",{children:"example"})}),L.jsx(vn,{text:F.originalExample||"",onCopy:W,children:L.jsx("div",{"data-tooltip":b,className:"manual-content-btn manual-content-example-copy",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",fill:"none",children:L.jsx("path",{stroke:"currentColor",d:"M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z"})})})})]}),L.jsx("pre",{className:"manual-content-example",children:L.jsx("code",{dangerouslySetInnerHTML:{__html:F.examples||""}})})]},k)),(c==null?void 0:c.returns)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"returns"}),c.returns.map((F,k)=>L.jsx("div",{className:"manual-content-text",dangerouslySetInnerHTML:{__html:F}},k))]}),(c==null?void 0:c.remarks)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"remarks"}),c.remarks.map((F,k)=>L.jsx("div",{className:"manual-content-text",dangerouslySetInnerHTML:{__html:F}},k))]}),(c==null?void 0:c.seeAlso)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"see Also"}),L.jsx("div",{className:"manual-content-see_also",children:c.seeAlso.map((F,k)=>L.jsx("a",{className:"manual-content-see_also-tag","data-name":F==null?void 0:F.name,href:F==null?void 0:F.link,children:F==null?void 0:F.name},k))})]})]})})};ke.languages.register({id:Ee}),ke.editor.defineTheme("vs-dark",cn),ke.editor.defineTheme("vs",ln),ke.languages.setMonarchTokensProvider(Ee,Nr),ke.languages.setLanguageConfiguration(Ee,on);const jm=({theme:a="vs-dark",currentValue:n})=>{const[s,o]=O.useState(ps[0]),[l,c]=O.useState(null),[m,_]=O.useState(0),[g,b]=O.useState(""),[h,T]=O.useState("var_bar_index"),P=O.useRef(null),B=O.useRef(null),R=k=>{k.key===(s==null?void 0:s.key)&&!(s!=null&&s.isHidden)?o({...k,isHidden:!0}):o(k)};O.useEffect(()=>{ke.editor.setTheme(a)},[a]),O.useEffect(()=>{if(n.value){const[k]=n.value.split("_"),q=ps.find(U=>k===U.prefix);q&&(_(n.index||0),G(q,n.value))}},[n]);const N=(k,q)=>{var U;k!==h&&(q&&o(q),_(0),T(k),(U=B.current)==null||U.scrollTo({top:0}))},W=k=>{if(k.target.value.trim()==="")V();else{b(k.target.value);const q=Km(k.target.value);c(q)}},V=()=>{b(""),c(null),setTimeout(()=>{var k,q;(q=(k=P.current)==null?void 0:k.querySelector(`a[data-href="${h}"]`))==null||q.scrollIntoView(!0)},10)},G=(k,q)=>{var U;o(k),T(q),setTimeout(()=>{var j,ae;(ae=(j=P.current)==null?void 0:j.querySelector(`a[data-href="${q}"]`))==null||ae.scrollIntoView(!0)},10),(U=B.current)==null||U.scrollTo({top:0})},F=k=>{const q=ps.find(U=>k.startsWith(U.prefix));q&&G(q,k)};return L.jsxs("div",{className:`${a} manual-warpper`,children:[L.jsxs("div",{className:"manual-left",children:[L.jsxs("div",{className:"manual-search",children:[L.jsx("span",{className:"manual-search-icon",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",width:"18px",height:"18px",children:L.jsx("path",{fillRule:"evenodd",d:"M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z"})})}),L.jsx("input",{onChange:W,spellCheck:"false",value:g,className:"manual-search-input",autoComplete:"off",placeholder:"Search",type:"text"}),L.jsx("span",{onClick:V,className:`manual-search-clear ${g?"":"hide"}`,children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.939 95.939",width:"9",height:"9",children:L.jsx("path",{d:"M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z"})})})]}),L.jsx("div",{className:`manual-group-search-list manual-scroll ${g?"":"hide"}`,children:L.jsxs("div",{children:[l==null?void 0:l.labelList.map(k=>L.jsx("a",{onClick:q=>{q.preventDefault(),N(k.key,k.group)},className:`manual-group-body-item ${k.key===h?"manual-group-body-item-selected":""}`,"data-href":k.key,href:`#${k.key}`,children:k.label},`search_${k.key}`)),L.jsx("div",{className:"manual-content-separator"}),l==null?void 0:l.contentList.map(k=>L.jsx("a",{onClick:q=>{q.preventDefault(),N(k.key,k.group)},className:`manual-group-body-item ${k.key===h?"manual-group-body-item-selected":""}`,"data-href":k.key,href:`#${k.key}`,children:k.label},`search_${k.key}`))]})}),L.jsx("div",{className:`manual-group-list manual-scroll ${g?"hide":""}`,ref:P,children:ps.map(k=>{var q,U;return L.jsxs(O.Fragment,{children:[L.jsx("div",{onClick:()=>R(k),className:`manual-group-title ${k.key===(s==null?void 0:s.key)&&!(s!=null&&s.isHidden)?"active":""}`,children:k.title}),L.jsx("div",{className:`manual-group-body manual-scroll ${k.key!==(s==null?void 0:s.key)||s!=null&&s.isHidden?"hide":""}`,children:(U=(q=no[k.key])==null?void 0:q.sort().filter(j=>!ao.includes(j)))==null?void 0:U.map(j=>{const ae=`${k.prefix}_${j}`;return L.jsx("a",{onClick:ye=>{ye.preventDefault(),N(ae)},className:`manual-group-body-item ${ae===h?"manual-group-body-item-selected":""}`,"data-href":ae,href:`#${ae}`,children:`${j}${k.prefix==="fun"?"()":""}`},ae)})})]},k.key)})})]}),L.jsx("div",{ref:B,className:"manual-right manual-scroll",children:L.jsx($m,{currentIndex:m,group:s,itemKey:h,onItemClick:F})})]})};A.ReferenceManual=jm,A.TradingVueDiffEditor=wm,A.TradingVueEditor=hm,A.parseLibrary=fm,A.parseTcc=Ao,A.removeScript=gm,A.scriptsRun=qo,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})});
151
+ `))!=null&&o.includes(a)){s.push(F),k=!0;break}}if(k)break}if(V){let k=!1;for(const q of V){const{name:U,desc:j,type:ae}=q;if(U.includes(a)||j!=null&&j.includes(a)||ae!=null&&ae.includes(a)){s.push(F),k=!0;break}}if(k)break}if(G){let k=!1;for(const q of G)if(q.includes(a)){s.push(F),k=!0;break}if(k)break}}}return{labelList:n,contentList:s}}const $m=a=>{var G;const{group:n,itemKey:s,onItemClick:o,currentIndex:l}=a,[c,m]=O.useState(),[_,g]=O.useState(0),[b,h]=O.useState("Copy code"),[T,P]=O.useState("Copy link");O.useEffect(()=>{B(l)},[s]);const B=F=>{const k=s.replace(`${n==null?void 0:n.prefix}_`,""),q=lt[n==null?void 0:n.key].get(k);g(F),q&&Bm(q,F).then(U=>{m(U)})},R=F=>{B(F)},N=F=>{var k,q;if(F.target.localName==="a"&&F.target.hash&&((q=(k=F.target)==null?void 0:k.dataset)!=null&&q.name)){F.preventDefault();const{hash:U}=F.target;o(U.replace("#",""))}},W=()=>{h("Copied"),setTimeout(()=>{h("Copy code")},1e3)},V=()=>{P("Link copied"),setTimeout(()=>{P("Copy link")},3e3)};return L.jsx("div",{onClick:N,id:`#${s}`,children:L.jsxs("div",{className:"manual-content-wrapper",children:[L.jsxs("div",{className:"manual-content-header",children:[L.jsxs("div",{children:[L.jsx("h3",{className:"manual-content-header-title",children:c==null?void 0:c.name}),!!(c!=null&&c.overloads)&&L.jsx("span",{className:"manual-content-header-overloads",children:c==null?void 0:c.overloads})]}),L.jsx(vn,{text:(c==null?void 0:c.name)||"",onCopy:V,children:L.jsx("div",{"data-tooltip":T,className:"manual-content-btn",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 28",width:"28",height:"28",children:L.jsxs("g",{fill:"currentColor",children:[L.jsx("path",{fillRule:"nonzero",d:"M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z"}),L.jsx("path",{d:"M10.485 16.141l5.656-5.656.707.707-5.656 5.656z"})]})})})})]}),(G=c==null?void 0:c.desc)==null?void 0:G.map((F,k)=>L.jsx("div",{dangerouslySetInnerHTML:{__html:F},className:"manual-content-text"},k)),(c==null?void 0:c.type)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"type"}),L.jsx("div",{className:"manual-content-text",children:c.type})]}),(c==null?void 0:c.syntax)&&L.jsxs(O.Fragment,{children:[L.jsxs("div",{className:"manual-content-sub-title",children:["Syntax ",!!(c!=null&&c.overloads)&&"& Overloads"]}),c.syntax.map((F,k)=>{var q;return(((q=c.syntax)==null?void 0:q.length)||0)>1?L.jsx("div",{onClick:()=>R(k),children:L.jsx("pre",{className:`manual-content-syntax with-overloads ${k===_?"selected":""}`,children:F})},k):L.jsx("pre",{className:"manual-content-syntax",children:F},k)})]}),(c==null?void 0:c.args)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"arguments"}),c.args.map((F,k)=>L.jsxs("div",{className:"manual-content-text",children:[L.jsx("span",{className:"manual-content-args-label",children:F.label})," ",L.jsx("span",{dangerouslySetInnerHTML:{__html:F.desc||""}})]},k))]}),(c==null?void 0:c.fields)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"fields"}),c.fields.map((F,k)=>L.jsxs("div",{className:"manual-content-text",children:[L.jsx("span",{className:"manual-content-args-label",children:F.label})," ",L.jsx("span",{dangerouslySetInnerHTML:{__html:F.desc||""}})]},k))]}),(c==null?void 0:c.examples)&&L.jsxs(O.Fragment,{children:[L.jsxs("div",{className:"manual-content-sub-title manual-content-example-header",children:[L.jsx("div",{children:L.jsx("span",{children:"example"})}),L.jsx(vn,{text:c.originalExample||"",onCopy:W,children:L.jsx("div",{"data-tooltip":b,className:"manual-content-btn manual-content-example-copy",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",fill:"none",children:L.jsx("path",{stroke:"currentColor",d:"M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z"})})})})]}),L.jsx("pre",{className:"manual-content-example",children:L.jsx("code",{dangerouslySetInnerHTML:{__html:c.examples}})})]}),(c==null?void 0:c.detailedDesc)&&c.detailedDesc.map((F,k)=>L.jsxs(O.Fragment,{children:[F.desc.map((q,U)=>L.jsx("div",{className:"manual-content-text",dangerouslySetInnerHTML:{__html:q}},U)),L.jsxs("div",{className:"manual-content-sub-title manual-content-example-header",children:[L.jsx("div",{children:L.jsx("span",{children:"example"})}),L.jsx(vn,{text:F.originalExample||"",onCopy:W,children:L.jsx("div",{"data-tooltip":b,className:"manual-content-btn manual-content-example-copy",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"28",fill:"none",children:L.jsx("path",{stroke:"currentColor",d:"M8 9.5H6.5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1V20m-8-1.5h11a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1h-11a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1z"})})})})]}),L.jsx("pre",{className:"manual-content-example",children:L.jsx("code",{dangerouslySetInnerHTML:{__html:F.examples||""}})})]},k)),(c==null?void 0:c.returns)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"returns"}),c.returns.map((F,k)=>L.jsx("div",{className:"manual-content-text",dangerouslySetInnerHTML:{__html:F}},k))]}),(c==null?void 0:c.remarks)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"remarks"}),c.remarks.map((F,k)=>L.jsx("div",{className:"manual-content-text",dangerouslySetInnerHTML:{__html:F}},k))]}),(c==null?void 0:c.seeAlso)&&L.jsxs(O.Fragment,{children:[L.jsx("div",{className:"manual-content-sub-title",children:"see Also"}),L.jsx("div",{className:"manual-content-see_also",children:c.seeAlso.map((F,k)=>L.jsx("a",{className:"manual-content-see_also-tag","data-name":F==null?void 0:F.name,href:F==null?void 0:F.link,children:F==null?void 0:F.name},k))})]})]})})};ke.languages.register({id:Ee}),ke.editor.defineTheme("vs-dark",cn),ke.editor.defineTheme("vs",ln),ke.languages.setMonarchTokensProvider(Ee,Nr),ke.languages.setLanguageConfiguration(Ee,on);const jm=({theme:a="vs-dark",currentValue:n})=>{const[s,o]=O.useState(ps[0]),[l,c]=O.useState(null),[m,_]=O.useState(0),[g,b]=O.useState(""),[h,T]=O.useState("var_bar_index"),P=O.useRef(null),B=O.useRef(null),R=k=>{k.key===(s==null?void 0:s.key)&&!(s!=null&&s.isHidden)?o({...k,isHidden:!0}):o(k)};O.useEffect(()=>{ke.editor.setTheme(a)},[a]),O.useEffect(()=>{if(n.value){const[k]=n.value.split("_"),q=ps.find(U=>k===U.prefix);q&&(_(n.index||0),G(q,n.value))}},[n]);const N=(k,q)=>{var U;k!==h&&(q&&o(q),_(0),T(k),(U=B.current)==null||U.scrollTo({top:0}))},W=k=>{if(k.target.value.trim()==="")V();else{b(k.target.value);const q=Km(k.target.value);c(q)}},V=()=>{b(""),c(null),setTimeout(()=>{var k,q;(q=(k=P.current)==null?void 0:k.querySelector(`a[data-href="${h}"]`))==null||q.scrollIntoView(!0)},10)},G=(k,q)=>{var U;o(k),T(q),setTimeout(()=>{var j,ae;(ae=(j=P.current)==null?void 0:j.querySelector(`a[data-href="${q}"]`))==null||ae.scrollIntoView(!0)},10),(U=B.current)==null||U.scrollTo({top:0})},F=k=>{const q=ps.find(U=>k.startsWith(U.prefix));q&&(_(0),G(q,k))};return L.jsxs("div",{className:`${a} manual-warpper`,children:[L.jsxs("div",{className:"manual-left",children:[L.jsxs("div",{className:"manual-search",children:[L.jsx("span",{className:"manual-search-icon",children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",width:"18px",height:"18px",children:L.jsx("path",{fillRule:"evenodd",d:"M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z"})})}),L.jsx("input",{onChange:W,spellCheck:"false",value:g,className:"manual-search-input",autoComplete:"off",placeholder:"Search",type:"text"}),L.jsx("span",{onClick:V,className:`manual-search-clear ${g?"":"hide"}`,children:L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 95.939 95.939",width:"9",height:"9",children:L.jsx("path",{d:"M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z"})})})]}),L.jsx("div",{className:`manual-group-search-list manual-scroll ${g?"":"hide"}`,children:L.jsxs("div",{children:[l==null?void 0:l.labelList.map(k=>L.jsx("a",{onClick:q=>{q.preventDefault(),N(k.key,k.group)},className:`manual-group-body-item ${k.key===h?"manual-group-body-item-selected":""}`,"data-href":k.key,href:`#${k.key}`,children:k.label},`search_${k.key}`)),L.jsx("div",{className:"manual-content-separator"}),l==null?void 0:l.contentList.map(k=>L.jsx("a",{onClick:q=>{q.preventDefault(),N(k.key,k.group)},className:`manual-group-body-item ${k.key===h?"manual-group-body-item-selected":""}`,"data-href":k.key,href:`#${k.key}`,children:k.label},`search_${k.key}`))]})}),L.jsx("div",{className:`manual-group-list manual-scroll ${g?"hide":""}`,ref:P,children:ps.map(k=>{var q,U;return L.jsxs(O.Fragment,{children:[L.jsx("div",{onClick:()=>R(k),className:`manual-group-title ${k.key===(s==null?void 0:s.key)&&!(s!=null&&s.isHidden)?"active":""}`,children:k.title}),L.jsx("div",{className:`manual-group-body manual-scroll ${k.key!==(s==null?void 0:s.key)||s!=null&&s.isHidden?"hide":""}`,children:(U=(q=no[k.key])==null?void 0:q.sort().filter(j=>!ao.includes(j)))==null?void 0:U.map(j=>{const ae=`${k.prefix}_${j}`;return L.jsx("a",{onClick:ye=>{ye.preventDefault(),N(ae)},className:`manual-group-body-item ${ae===h?"manual-group-body-item-selected":""}`,"data-href":ae,href:`#${ae}`,children:`${j}${k.prefix==="fun"?"()":""}`},ae)})})]},k.key)})})]}),L.jsx("div",{ref:B,className:"manual-right manual-scroll",children:L.jsx($m,{currentIndex:m,group:s,itemKey:h,onItemClick:F})})]})};A.ReferenceManual=jm,A.TradingVueDiffEditor=wm,A.TradingVueEditor=hm,A.parseLibrary=fm,A.parseTcc=Ao,A.removeScript=gm,A.scriptsRun=qo,Object.defineProperty(A,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guihz/trading-vue-editor-tes",
3
- "version": "0.0.100",
3
+ "version": "0.0.102",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "lib"