datacontract-editor 0.1.3 → 0.1.5
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/bin/datacontract-editor.js +1 -1
- package/dist/{cssMode-D1BKMuoE.js → cssMode-BNkTa2xp.js} +1 -1
- package/dist/datacontract-editor.css +1 -1
- package/dist/datacontract-editor.es.js +76587 -5
- package/dist/{freemarker2-DJroF-Hr.js → freemarker2-Dyfzmb5A.js} +1 -1
- package/dist/{handlebars-raeUt1yS.js → handlebars-BtDNI-uC.js} +1 -1
- package/dist/{html-BCS0QY_V.js → html-Cn4TGw_o.js} +1 -1
- package/dist/{htmlMode-DZYoBGlS.js → htmlMode-Bf84vbo2.js} +1 -1
- package/dist/index.html +1 -13
- package/dist/{javascript-urT9PDrD.js → javascript-B86Kac07.js} +1 -1
- package/dist/{jsonMode-BRpyrU87.js → jsonMode-Ckgg5lAE.js} +1 -1
- package/dist/{liquid-BoBEJBsD.js → liquid-D0NPwuu_.js} +1 -1
- package/dist/{mdx-7D_sT_ZF.js → mdx-QFRSBtVQ.js} +1 -1
- package/dist/monaco-4.7.0.js +125917 -0
- package/dist/{python-EsNGCgP9.js → python-C8RW9B6A.js} +5 -5
- package/dist/{razor-CK2egutP.js → razor-CLZqdY_r.js} +1 -1
- package/dist/{tsMode-Cf0dGAkO.js → tsMode-yleMwhPq.js} +1 -1
- package/dist/{typescript-C36W7Z-E.js → typescript-CJBeebKU.js} +4 -4
- package/dist/{xml-B0NnrJ3h.js → xml-vC-NMVX1.js} +3 -3
- package/dist/{yaml-Bk4-_-GX.js → yaml-Dlf2VF-T.js} +1 -1
- package/package.json +7 -1
- package/dist/embed-BTxQKyKe.js +0 -189951
- /package/dist/assets/{editor.worker-CKX8jfJ6.js → editor.worker-4.7.0.js} +0 -0
- /package/dist/assets/{yaml.worker-BqEbEWOg.js → yaml.worker-4.7.0.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as f } from "./monaco-4.7.0.js";
|
|
2
2
|
var F = Object.defineProperty, b = Object.getOwnPropertyDescriptor, x = Object.getOwnPropertyNames, $ = Object.prototype.hasOwnProperty, v = (t, n, _, e) => {
|
|
3
3
|
if (n && typeof n == "object" || typeof n == "function")
|
|
4
4
|
for (let o of x(n))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as l } from "./monaco-4.7.0.js";
|
|
2
2
|
var i = Object.defineProperty, s = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, c = Object.prototype.hasOwnProperty, p = (t, e, r, m) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let n of d(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as s } from "./monaco-4.7.0.js";
|
|
2
2
|
var d = Object.defineProperty, p = Object.getOwnPropertyDescriptor, m = Object.getOwnPropertyNames, l = Object.prototype.hasOwnProperty, c = (t, e, n, o) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let r of m(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as ft } from "./monaco-4.7.0.js";
|
|
2
2
|
var gt = Object.defineProperty, ht = Object.getOwnPropertyDescriptor, vt = Object.getOwnPropertyNames, pt = Object.prototype.hasOwnProperty, mt = (e, n, i, r) => {
|
|
3
3
|
if (n && typeof n == "object" || typeof n == "function")
|
|
4
4
|
for (let t of vt(n))
|
package/dist/index.html
CHANGED
|
@@ -19,24 +19,12 @@
|
|
|
19
19
|
init({
|
|
20
20
|
container: '#root',
|
|
21
21
|
mode: 'SERVER',
|
|
22
|
-
|
|
22
|
+
persistence: 'localStorage',
|
|
23
23
|
initialView: 'form',
|
|
24
24
|
tests: {
|
|
25
25
|
enabled: true,
|
|
26
26
|
dataContractCliApiServerUrl: 'https://api.datacontract.com'
|
|
27
27
|
},
|
|
28
|
-
// onSave callback - handles iOS/mobile where File System Access API isn't available
|
|
29
|
-
onSave: async (yaml) => {
|
|
30
|
-
if (navigator.share) {
|
|
31
|
-
try {
|
|
32
|
-
await navigator.share({ title: 'Data Contract', text: yaml });
|
|
33
|
-
} catch (err) {
|
|
34
|
-
if (err.name !== 'AbortError') {
|
|
35
|
-
console.log('Share failed:', err);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
28
|
});
|
|
41
29
|
</script>
|
|
42
30
|
</body>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as Lt } from "./monaco-4.7.0.js";
|
|
2
2
|
var Ot = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, Mt = Object.getOwnPropertyNames, Rt = Object.prototype.hasOwnProperty, Tt = (e, r, i, n) => {
|
|
3
3
|
if (r && typeof r == "object" || typeof r == "function")
|
|
4
4
|
for (let t of Mt(r))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as l } from "./monaco-4.7.0.js";
|
|
2
2
|
var d = Object.defineProperty, s = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, u = Object.prototype.hasOwnProperty, m = (t, e, r, n) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let i of c(e))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as s } from "./monaco-4.7.0.js";
|
|
2
2
|
var d = Object.defineProperty, c = Object.getOwnPropertyDescriptor, p = Object.getOwnPropertyNames, a = Object.prototype.hasOwnProperty, k = (n, e, i, r) => {
|
|
3
3
|
if (e && typeof e == "object" || typeof e == "function")
|
|
4
4
|
for (let o of p(e))
|