st-comp 0.0.84 → 0.0.86
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/es/MonacoEditor.cjs +1 -1
- package/es/MonacoEditor.js +1 -1
- package/es/VarietySearch.cjs +2 -2
- package/es/VarietySearch.js +494 -491
- package/es/{index-caa490bf.js → index-07e788d7.js} +5 -2
- package/es/{index-a091492d.cjs → index-47fc965e.cjs} +1 -1
- package/es/{python-0b8dfd75.js → python-86b2bf30.js} +1 -1
- package/es/{python-bd86111b.cjs → python-a0dc573a.cjs} +1 -1
- package/es/style.css +1 -1
- package/lib/bundle.js +1 -1
- package/lib/bundle.umd.cjs +110 -110
- package/lib/{index-204c3b02.js → index-137cb843.js} +5640 -5634
- package/lib/{python-0009dfc8.js → python-02b0f7eb.js} +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/packages/MonacoEditor/index.vue +3 -0
- package/packages/VarietySearch/components/FactorScreen/index.vue +9 -6
- package/src/pages/MonacoEditor/index.vue +8 -2
|
@@ -74859,7 +74859,7 @@ UY({
|
|
|
74859
74859
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
74860
74860
|
aliases: ["Python", "py"],
|
|
74861
74861
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
74862
|
-
loader: () => import("./python-
|
|
74862
|
+
loader: () => import("./python-86b2bf30.js")
|
|
74863
74863
|
});
|
|
74864
74864
|
const $Y = /* @__PURE__ */ kM({
|
|
74865
74865
|
__name: "index",
|
|
@@ -74895,7 +74895,10 @@ const $Y = /* @__PURE__ */ kM({
|
|
|
74895
74895
|
setValue: (a) => {
|
|
74896
74896
|
i.setValue(a);
|
|
74897
74897
|
},
|
|
74898
|
-
getValue: () => i.getValue()
|
|
74898
|
+
getValue: () => i.getValue(),
|
|
74899
|
+
setReadOnly: (a = !0) => {
|
|
74900
|
+
i.updateOptions({ readOnly: a });
|
|
74901
|
+
}
|
|
74899
74902
|
}), (a, l) => (IM(), TM("div", {
|
|
74900
74903
|
ref_key: "editorContainer",
|
|
74901
74904
|
ref: r,
|
|
@@ -655,4 +655,4 @@ ${e.toString()}`}}class a_{constructor(e=new tg,t=!1,i,n=wj){var o;this._service
|
|
|
655
655
|
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
656
656
|
* Released under the MIT license
|
|
657
657
|
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
|
|
658
|
-
*-----------------------------------------------------------------------------*/BY({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Promise.resolve().then(()=>require("./python-
|
|
658
|
+
*-----------------------------------------------------------------------------*/BY({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:()=>Promise.resolve().then(()=>require("./python-a0dc573a.cjs"))});const WY=xc.defineComponent({__name:"index",props:{defaultValue:{type:String,default:""},language:{type:String,default:"python"},theme:{type:String,default:"vs-dark"}},emits:["change"],setup(s,{expose:e,emit:t}){let i;const n=t,o=s,r=xc.ref(null);return xc.onMounted(()=>{i=wM.create(r.value,{value:o.defaultValue,language:o.language,theme:o.theme}),i.onDidChangeModelContent(a=>{n("change",i.getValue())})}),xc.onUnmounted(()=>{i&&i.dispose()}),e({setValue:a=>{i.setValue(a)},getValue:()=>i.getValue(),setReadOnly:(a=!0)=>{i.updateOptions({readOnly:a})}}),(a,l)=>(xc.openBlock(),xc.createElementBlock("div",{ref_key:"editorContainer",ref:r,style:{width:"100%",height:"100%"}},null,512))}}),VY={install(s){s.component("st-monacoEditor",WY)}};exports.index=VY;exports.monaco_editor_core_star=SM;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index-47fc965e.cjs");require("vue");/*!-----------------------------------------------------------------------------
|
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
3
|
* Version: 0.50.0(c321d0fbecb50ab8a5365fa1965476b0ae63fc87)
|
|
4
4
|
* Released under the MIT license
|