@mixd-id/web-scaffold 0.1.230406108 → 0.1.230406109
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/package.json +1 -2
- package/src/index.js +1 -1
- package/src/widgets/WebPageBuilder.vue +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mixd-id/web-scaffold",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.230406109",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite serve",
|
|
7
7
|
"build": "vite build",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"glob": "^8.0.3",
|
|
44
44
|
"lodash": "^4.17.21",
|
|
45
45
|
"md5": "^2.3.0",
|
|
46
|
-
"monaco-editor": "^0.41.0",
|
|
47
46
|
"nprogress": "^0.2.0",
|
|
48
47
|
"pinia": "^2.0.14",
|
|
49
48
|
"prismjs": "^1.28.0",
|
package/src/index.js
CHANGED
|
@@ -321,7 +321,7 @@ export default{
|
|
|
321
321
|
app.component('Grid', defineAsyncComponent(() => import("./components/Grid.vue")))
|
|
322
322
|
app.component('Modal', defineAsyncComponent(() => import("./components/Modal.vue")))
|
|
323
323
|
app.component('Modal2', defineAsyncComponent(() => import("./components/Modal2.vue")))
|
|
324
|
-
app.component('MonacoEditor', defineAsyncComponent(() => import("./components/MonacoEditor.vue")))
|
|
324
|
+
//app.component('MonacoEditor', defineAsyncComponent(() => import("./components/MonacoEditor.vue")))
|
|
325
325
|
app.component('OTPField', defineAsyncComponent(() => import("./components/OTPField.vue")))
|
|
326
326
|
app.component('PageBuilder', defineAsyncComponent(() => import("./components/PageBuilder.vue")))
|
|
327
327
|
app.component('Radio', defineAsyncComponent(() => import("./components/Radio.vue")))
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
</template>
|
|
404
404
|
<template #default="{ context }">
|
|
405
405
|
<div class="flex-1 p-5">
|
|
406
|
-
<
|
|
406
|
+
<Textarea v-model="context.code" rows="10" ></Textarea>
|
|
407
407
|
</div>
|
|
408
408
|
</template>
|
|
409
409
|
</Modal>
|
|
@@ -724,11 +724,11 @@ export default{
|
|
|
724
724
|
}, 300),
|
|
725
725
|
|
|
726
726
|
saveLdjson(context){
|
|
727
|
-
const errors = this.$refs.monacoEditor.getErrors()
|
|
727
|
+
/*const errors = this.$refs.monacoEditor.getErrors()
|
|
728
728
|
if(errors){
|
|
729
729
|
this.alert('JSON is not valid', errors.map(_ => _.message).join("\n"))
|
|
730
730
|
return
|
|
731
|
-
}
|
|
731
|
+
}*/
|
|
732
732
|
|
|
733
733
|
'index' in context ?
|
|
734
734
|
this.page.ldjson[context.index] = context.code :
|