vue-intlayer 5.7.5 → 5.7.6-canary.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/dist/ContentSelector.vue_vue_type_script_setup_true_lang-Df1Nt4x_.mjs +75 -0
- package/dist/ContentSelector.vue_vue_type_script_setup_true_lang-RwUsyBxL.js +1 -0
- package/dist/ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-CcDEyAOE.mjs +68 -0
- package/dist/ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DJRF1I6m.js +1 -0
- package/dist/cjs/UI/ContentSelector.cjs +1 -1
- package/dist/cjs/editor/ContentSelectorWrapper.cjs +1 -1
- package/dist/cjs/editor/EditorSelectorRenderer.cjs +1 -1
- package/dist/cjs/editor/index.cjs +1 -1
- package/dist/cjs/editor/installIntlayerEditor.cjs +1 -1
- package/dist/cjs/plugins.cjs +1 -1
- package/dist/esm/UI/ContentSelector.mjs +1 -1
- package/dist/esm/editor/ContentSelectorWrapper.mjs +1 -1
- package/dist/esm/editor/EditorSelectorRenderer.mjs +1 -1
- package/dist/esm/editor/communicator.mjs +3 -3
- package/dist/esm/editor/index.mjs +1 -1
- package/dist/esm/editor/installIntlayerEditor.mjs +13 -14
- package/dist/esm/plugins.mjs +1 -1
- package/dist/types/UI/ContentSelector.vue.d.ts +4 -0
- package/dist/types/UI/ContentSelector.vue.d.ts.map +1 -1
- package/dist/types/editor/ContentSelectorWrapper.vue.d.ts.map +1 -1
- package/dist/types/editor/installIntlayerEditor.d.ts.map +1 -1
- package/package.json +13 -13
- package/dist/ContentSelector.vue_vue_type_script_setup_true_lang-Dfu1ALQx.mjs +0 -71
- package/dist/ContentSelector.vue_vue_type_script_setup_true_lang-OSRmjq5b.js +0 -1
- package/dist/ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DjJnMLJE.js +0 -1
- package/dist/ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DqR_ETSJ.mjs +0 -51
- package/dist/cjs/editor/changedContent.cjs +0 -1
- package/dist/esm/editor/changedContent.mjs +0 -21
- package/dist/types/editor/changedContent.d.ts +0 -15
- package/dist/types/editor/changedContent.d.ts.map +0 -1
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { defineComponent as _, ref as i, computed as h, useSlots as D, onMounted as E, onBeforeUnmount as B, createElementBlock as O, openBlock as R, normalizeStyle as L, renderSlot as P } from "vue";
|
|
2
|
+
const b = 250, x = /* @__PURE__ */ _({
|
|
3
|
+
__name: "ContentSelector",
|
|
4
|
+
props: {
|
|
5
|
+
onClickOutside: { type: Function },
|
|
6
|
+
pressDuration: {},
|
|
7
|
+
isSelecting: { type: Boolean }
|
|
8
|
+
},
|
|
9
|
+
emits: ["click", "press", "hover", "unhover"],
|
|
10
|
+
setup(S, { emit: T }) {
|
|
11
|
+
const o = S, s = T, a = i(null), t = i(!1), l = i(o.isSelecting ?? !1), u = i(null), c = h(() => o.isSelecting ?? l.value), g = h(() => {
|
|
12
|
+
var n, p;
|
|
13
|
+
const e = (p = (n = D()).default) == null ? void 0 : p.call(n);
|
|
14
|
+
return (e == null ? void 0 : e.length) === 1 && typeof e[0].children == "string";
|
|
15
|
+
}), k = () => {
|
|
16
|
+
l.value = !0, s("press");
|
|
17
|
+
}, C = () => {
|
|
18
|
+
u.value = setTimeout(() => {
|
|
19
|
+
k();
|
|
20
|
+
}, o.pressDuration ?? b);
|
|
21
|
+
}, r = () => {
|
|
22
|
+
u.value && (clearTimeout(u.value), u.value = null);
|
|
23
|
+
}, d = () => {
|
|
24
|
+
r(), C();
|
|
25
|
+
}, v = () => {
|
|
26
|
+
t.value && (t.value = !1, s("unhover")), r();
|
|
27
|
+
}, f = () => {
|
|
28
|
+
t.value && (t.value = !1, s("unhover")), r();
|
|
29
|
+
}, m = (e) => {
|
|
30
|
+
var n;
|
|
31
|
+
a.value && !a.value.contains(e.target) && (l.value = !1, (n = o.onClickOutside) == null || n.call(o));
|
|
32
|
+
}, y = (e) => {
|
|
33
|
+
c.value && (e.preventDefault(), e.stopPropagation());
|
|
34
|
+
}, M = () => {
|
|
35
|
+
l.value = !1;
|
|
36
|
+
};
|
|
37
|
+
return E(() => {
|
|
38
|
+
document.addEventListener("mousedown", m);
|
|
39
|
+
}), B(() => {
|
|
40
|
+
document.removeEventListener("mousedown", m), r();
|
|
41
|
+
}), (e, n) => (R(), O("span", {
|
|
42
|
+
ref_key: "containerRef",
|
|
43
|
+
ref: a,
|
|
44
|
+
role: "button",
|
|
45
|
+
tabindex: "0",
|
|
46
|
+
onClick: y,
|
|
47
|
+
onMousedown: d,
|
|
48
|
+
onMouseup: v,
|
|
49
|
+
onMouseleave: f,
|
|
50
|
+
onTouchstart: d,
|
|
51
|
+
onTouchend: v,
|
|
52
|
+
onTouchcancel: f,
|
|
53
|
+
onBlur: M,
|
|
54
|
+
onMouseenter: n[0] || (n[0] = () => {
|
|
55
|
+
t.value = !0, s("hover");
|
|
56
|
+
}),
|
|
57
|
+
style: L({
|
|
58
|
+
display: g.value ? "inline" : "inline-block",
|
|
59
|
+
cursor: "pointer",
|
|
60
|
+
userSelect: "none",
|
|
61
|
+
borderRadius: "0.375rem",
|
|
62
|
+
outlineWidth: "2px",
|
|
63
|
+
outlineOffset: "4px",
|
|
64
|
+
outlineStyle: "solid",
|
|
65
|
+
outlineColor: c.value || t.value ? "inherit" : "transparent",
|
|
66
|
+
transition: "all 100ms 50ms ease-in-out"
|
|
67
|
+
})
|
|
68
|
+
}, [
|
|
69
|
+
P(e.$slots, "default")
|
|
70
|
+
], 36));
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
export {
|
|
74
|
+
x as _
|
|
75
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),y=250,M=e.defineComponent({__name:"ContentSelector",props:{onClickOutside:{type:Function},pressDuration:{},isSelecting:{type:Boolean}},emits:["click","press","hover","unhover"],setup(h,{emit:S}){const o=h,l=S,a=e.ref(null),s=e.ref(!1),u=e.ref(o.isSelecting??!1),r=e.ref(null),c=e.computed(()=>o.isSelecting??u.value),T=e.computed(()=>{var t,p;const n=(p=(t=e.useSlots()).default)==null?void 0:p.call(t);return(n==null?void 0:n.length)===1&&typeof n[0].children=="string"}),g=()=>{u.value=!0,l("press")},k=()=>{r.value=setTimeout(()=>{g()},o.pressDuration??y)},i=()=>{r.value&&(clearTimeout(r.value),r.value=null)},d=()=>{i(),k()},v=()=>{s.value&&(s.value=!1,l("unhover")),i()},f=()=>{s.value&&(s.value=!1,l("unhover")),i()},m=n=>{var t;a.value&&!a.value.contains(n.target)&&(u.value=!1,(t=o.onClickOutside)==null||t.call(o))},C=n=>{c.value&&(n.preventDefault(),n.stopPropagation())},_=()=>{u.value=!1};return e.onMounted(()=>{document.addEventListener("mousedown",m)}),e.onBeforeUnmount(()=>{document.removeEventListener("mousedown",m),i()}),(n,t)=>(e.openBlock(),e.createElementBlock("span",{ref_key:"containerRef",ref:a,role:"button",tabindex:"0",onClick:C,onMousedown:d,onMouseup:v,onMouseleave:f,onTouchstart:d,onTouchend:v,onTouchcancel:f,onBlur:_,onMouseenter:t[0]||(t[0]=()=>{s.value=!0,l("hover")}),style:e.normalizeStyle({display:T.value?"inline":"inline-block",cursor:"pointer",userSelect:"none",borderRadius:"0.375rem",outlineWidth:"2px",outlineOffset:"4px",outlineStyle:"solid",outlineColor:c.value||s.value?"inherit":"transparent",transition:"all 100ms 50ms ease-in-out"})},[e.renderSlot(n.$slots,"default")],36))}});exports._sfc_main=M;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { defineComponent as m, computed as u, createBlock as _, renderSlot as r, unref as E, openBlock as k, withCtx as C } from "vue";
|
|
2
|
+
import { isSameKeyPath as f } from "@intlayer/core";
|
|
3
|
+
import { _ as P } from "./ContentSelector.vue_vue_type_script_setup_true_lang-Df1Nt4x_.mjs";
|
|
4
|
+
import { useEditorEnabled as v } from "./esm/editor/editorEnabled.mjs";
|
|
5
|
+
import { useFocusDictionary as K } from "./esm/editor/focusDictionary.mjs";
|
|
6
|
+
import { useEditor as N } from "./esm/editor/useEditor.mjs";
|
|
7
|
+
import { MessageKey as d } from "@intlayer/editor";
|
|
8
|
+
import { useCommunicator as g } from "./esm/editor/communicator.mjs";
|
|
9
|
+
const M = /* @__PURE__ */ m({
|
|
10
|
+
__name: "ContentSelectorWrapper",
|
|
11
|
+
props: {
|
|
12
|
+
dictionaryKey: {},
|
|
13
|
+
keyPath: {},
|
|
14
|
+
plugins: {},
|
|
15
|
+
locale: {},
|
|
16
|
+
dictionaryPath: {},
|
|
17
|
+
children: {}
|
|
18
|
+
},
|
|
19
|
+
setup(l) {
|
|
20
|
+
const t = l, e = K(), p = v(), o = g();
|
|
21
|
+
N();
|
|
22
|
+
const i = u(
|
|
23
|
+
() => {
|
|
24
|
+
var n, a;
|
|
25
|
+
return ((n = e == null ? void 0 : e.focusedContent.value) == null ? void 0 : n.dictionaryKey) === t.dictionaryKey && (((a = e == null ? void 0 : e.focusedContent.value.keyPath) == null ? void 0 : a.length) ?? 0) > 0 && f(
|
|
26
|
+
(e == null ? void 0 : e.focusedContent.value.keyPath) ?? [],
|
|
27
|
+
t.keyPath
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
), y = () => {
|
|
31
|
+
e == null || e.setFocusedContent({
|
|
32
|
+
dictionaryKey: t.dictionaryKey,
|
|
33
|
+
keyPath: t.keyPath
|
|
34
|
+
});
|
|
35
|
+
}, h = () => {
|
|
36
|
+
o == null || o.postMessage({
|
|
37
|
+
type: `${d.INTLAYER_HOVERED_CONTENT_CHANGED}/post`,
|
|
38
|
+
data: {
|
|
39
|
+
dictionaryKey: t.dictionaryKey,
|
|
40
|
+
keyPath: t.keyPath
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}, c = () => {
|
|
44
|
+
o == null || o.postMessage({
|
|
45
|
+
type: `${d.INTLAYER_HOVERED_CONTENT_CHANGED}/post`,
|
|
46
|
+
data: null
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
return (n, a) => {
|
|
50
|
+
var s;
|
|
51
|
+
return (s = E(p)) != null && s.enabled.value ? (k(), _(P, {
|
|
52
|
+
key: 0,
|
|
53
|
+
onPress: y,
|
|
54
|
+
isSelecting: i.value,
|
|
55
|
+
onHover: h,
|
|
56
|
+
onUnhover: c
|
|
57
|
+
}, {
|
|
58
|
+
default: C(() => [
|
|
59
|
+
r(n.$slots, "default")
|
|
60
|
+
]),
|
|
61
|
+
_: 3
|
|
62
|
+
}, 8, ["isSelecting"])) : r(n.$slots, "default", { key: 1 });
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
export {
|
|
67
|
+
M as _
|
|
68
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("vue"),p=require("@intlayer/core"),h=require("./ContentSelector.vue_vue_type_script_setup_true_lang-RwUsyBxL.js"),E=require("./cjs/editor/editorEnabled.cjs"),C=require("./cjs/editor/focusDictionary.cjs"),k=require("./cjs/editor/useEditor.cjs"),d=require("@intlayer/editor"),v=require("./cjs/editor/communicator.cjs"),P=t.defineComponent({__name:"ContentSelectorWrapper",props:{dictionaryKey:{},keyPath:{},plugins:{},locale:{},dictionaryPath:{},children:{}},setup(i){const n=i,e=C.useFocusDictionary(),c=E.useEditorEnabled(),o=v.useCommunicator();k.useEditor();const l=t.computed(()=>{var s,r;return((s=e==null?void 0:e.focusedContent.value)==null?void 0:s.dictionaryKey)===n.dictionaryKey&&(((r=e==null?void 0:e.focusedContent.value.keyPath)==null?void 0:r.length)??0)>0&&p.isSameKeyPath((e==null?void 0:e.focusedContent.value.keyPath)??[],n.keyPath)}),u=()=>{e==null||e.setFocusedContent({dictionaryKey:n.dictionaryKey,keyPath:n.keyPath})},y=()=>{o==null||o.postMessage({type:`${d.MessageKey.INTLAYER_HOVERED_CONTENT_CHANGED}/post`,data:{dictionaryKey:n.dictionaryKey,keyPath:n.keyPath}})},_=()=>{o==null||o.postMessage({type:`${d.MessageKey.INTLAYER_HOVERED_CONTENT_CHANGED}/post`,data:null})};return(s,r)=>{var a;return(a=t.unref(c))!=null&&a.enabled.value?(t.openBlock(),t.createBlock(h._sfc_main,{key:0,onPress:u,isSelecting:l.value,onHover:y,onUnhover:_},{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},8,["isSelecting"])):t.renderSlot(s.$slots,"default",{key:1})}}});exports._sfc_main=P;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ContentSelector.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ContentSelector.vue_vue_type_script_setup_true_lang-RwUsyBxL.js");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DJRF1I6m.js");exports.default=e._sfc_main;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DJRF1I6m.js"),u=require("../../EditedContentRenderer.vue_vue_type_script_setup_true_lang-Yqrgst_y.js"),d=e.defineComponent({__name:"EditorSelectorRenderer",props:{dictionaryKey:{},keyPath:{},plugins:{},locale:{},dictionaryPath:{},children:{}},setup(i){const c=i,{keyPath:t,children:r,dictionaryKey:n}=c;return(o,_)=>(e.openBlock(),e.createBlock(a._sfc_main,{dictionaryKey:e.unref(n),keyPath:e.unref(t),children:e.unref(r)},{default:e.withCtx(()=>[e.createVNode(u._sfc_main,{dictionaryKey:e.unref(n),keyPath:e.unref(t),children:e.unref(r)},{default:e.withCtx(()=>[e.renderSlot(o.$slots,"default")]),_:3},8,["dictionaryKey","keyPath","children"])]),_:3},8,["dictionaryKey","keyPath","children"]))}});exports.default=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DJRF1I6m.js"),t=require("./installIntlayerEditor.cjs");exports.ContentSelectorWrapper=e._sfc_main;exports.installIntlayerEditor=t.installIntlayerEditor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@intlayer/config/built"),o=require("./communicator.cjs"),n=require("./dictionariesRecord.cjs"),r=require("./editedContent.cjs"),s=require("./editorEnabled.cjs"),c=require("./focusDictionary.cjs"),{editor:t}=e,{applicationURL:d,editorURL:l,cmsURL:a}=t??{},u=i=>{typeof window>"u"||!(window.self!==window.top)||(t.applicationURL.length>0&&window.postMessage(i,t.applicationURL),t.editorURL.length>0&&window.parent.postMessage(i,t.editorURL),t.cmsURL.length>0&&window.parent.postMessage(i,t.cmsURL))},f=i=>{o.installCommunicator(i,{postMessage:u,allowedOrigins:[d,l,a]}),s.installEditorEnabled(i),n.installDictionariesRecord(i),r.installEditedContent(i),c.installFocusDictionary(i)};exports.installIntlayerEditor=f;
|
package/dist/cjs/plugins.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@intlayer/core"),l=require("vue"),y=require("../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@intlayer/core"),l=require("vue"),y=require("../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-DJRF1I6m.js");require("./editor/installIntlayerEditor.cjs");const k=require("./markdown/installIntlayerMarkdown.cjs"),o=require("./renderIntlayerNode.cjs"),p={id:"intlayer-node-plugin",canHandle:e=>typeof e=="bigint"||typeof e=="string"||typeof e=="number",transform:(e,{children:n,...r})=>o.renderIntlayerNode({...r,value:n,children:()=>l.h(y._sfc_main,{dictionaryKey:r.dictionaryKey,keyPath:r.keyPath},{default:()=>n})})},u={id:"markdown-string-plugin",canHandle:e=>typeof e=="string",transform:(e,n,r)=>{const{plugins:d,...a}=n,s=i.getMarkdownMetadata(e),c=r(s,{plugins:[{id:"markdown-metadata-plugin",canHandle:t=>typeof t=="string"||typeof t=="number"||typeof t=="boolean"||!t,transform:(t,g)=>o.renderIntlayerNode({...g,value:t,children:e})}],dictionaryKey:a.dictionaryKey,keyPath:[]});return o.renderIntlayerNode({...n,value:e,children:()=>l.h(y._sfc_main,{dictionaryKey:a.dictionaryKey,keyPath:a.keyPath},{default:()=>{const{renderMarkdown:t}=k.useMarkdown();return t(e)}}),additionalProps:{metadata:c}})}},m={id:"markdown-plugin",canHandle:e=>typeof e=="object"&&(e==null?void 0:e.nodeType)===i.NodeType.Markdown,transform:(e,n,r)=>{const d=[...n.keyPath,{type:i.NodeType.Markdown}],a=e[i.NodeType.Markdown];return r(a,{...n,children:a,keyPath:d,plugins:[u,...n.plugins??[]]})}};exports.intlayerNodePlugins=p;exports.markdownPlugin=m;exports.markdownStringPlugin=u;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, createBlock as y, openBlock as l, unref as e, withCtx as n, createVNode as h, renderSlot as s } from "vue";
|
|
2
|
-
import { _ } from "../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ } from "../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-CcDEyAOE.mjs";
|
|
3
3
|
import { _ as f } from "../../EditedContentRenderer.vue_vue_type_script_setup_true_lang-CvPgk7Z3.mjs";
|
|
4
4
|
const P = /* @__PURE__ */ d({
|
|
5
5
|
__name: "EditorSelectorRenderer",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import a from "@intlayer/config/built";
|
|
2
2
|
import { v4 as u } from "uuid";
|
|
3
|
-
import {
|
|
3
|
+
import { inject as l, reactive as i } from "vue";
|
|
4
4
|
const { editor: n } = a, o = {
|
|
5
5
|
postMessage: () => null,
|
|
6
6
|
allowedOrigins: [
|
|
@@ -11,7 +11,7 @@ const { editor: n } = a, o = {
|
|
|
11
11
|
senderId: ""
|
|
12
12
|
};
|
|
13
13
|
let t = null;
|
|
14
|
-
const r = Symbol("Communicator"), m = (e = { postMessage: () => null }) => t || (t =
|
|
14
|
+
const r = Symbol("Communicator"), m = (e = { postMessage: () => null }) => t || (t = i({
|
|
15
15
|
...o,
|
|
16
16
|
...e,
|
|
17
17
|
senderId: u()
|
|
@@ -20,7 +20,7 @@ const r = Symbol("Communicator"), m = (e = { postMessage: () => null }) => t ||
|
|
|
20
20
|
e.provide(r, c);
|
|
21
21
|
}, C = () => {
|
|
22
22
|
try {
|
|
23
|
-
return
|
|
23
|
+
return l(r, o);
|
|
24
24
|
} catch {
|
|
25
25
|
return console.warn(
|
|
26
26
|
"useCommunicator: inject can only be used in setup(). Returning default communicator."
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e } from "../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as e } from "../../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-CcDEyAOE.mjs";
|
|
2
2
|
import { installIntlayerEditor as a } from "./installIntlayerEditor.mjs";
|
|
3
3
|
export {
|
|
4
4
|
e as ContentSelectorWrapper,
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import t from "@intlayer/config/built";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}), l(o), n(o), e(o), s(o), m(o);
|
|
2
|
+
import { installCommunicator as n } from "./communicator.mjs";
|
|
3
|
+
import { installDictionariesRecord as r } from "./dictionariesRecord.mjs";
|
|
4
|
+
import { installEditedContent as e } from "./editedContent.mjs";
|
|
5
|
+
import { installEditorEnabled as s } from "./editorEnabled.mjs";
|
|
6
|
+
import { installFocusDictionary as l } from "./focusDictionary.mjs";
|
|
7
|
+
const { editor: o } = t, { applicationURL: a, editorURL: m, cmsURL: c } = o ?? {}, d = (i) => {
|
|
8
|
+
typeof window > "u" || !(window.self !== window.top) || (o.applicationURL.length > 0 && window.postMessage(i, o.applicationURL), o.editorURL.length > 0 && window.parent.postMessage(i, o.editorURL), o.cmsURL.length > 0 && window.parent.postMessage(i, o.cmsURL));
|
|
9
|
+
}, u = (i) => {
|
|
10
|
+
n(i, {
|
|
11
|
+
postMessage: d,
|
|
12
|
+
allowedOrigins: [a, m, c]
|
|
13
|
+
}), s(i), r(i), e(i), l(i);
|
|
15
14
|
};
|
|
16
15
|
export {
|
|
17
|
-
|
|
16
|
+
u as installIntlayerEditor
|
|
18
17
|
};
|
package/dist/esm/plugins.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getMarkdownMetadata as u, NodeType as i } from "@intlayer/core";
|
|
2
2
|
import { h as d } from "vue";
|
|
3
|
-
import { _ as l } from "../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as l } from "../ContentSelectorWrapper.vue_vue_type_script_setup_true_lang-CcDEyAOE.mjs";
|
|
4
4
|
import "./editor/installIntlayerEditor.mjs";
|
|
5
5
|
import { useMarkdown as p } from "./markdown/installIntlayerMarkdown.mjs";
|
|
6
6
|
import { renderIntlayerNode as o } from "./renderIntlayerNode.mjs";
|
|
@@ -17,9 +17,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
18
|
click: (...args: any[]) => void;
|
|
19
19
|
press: (...args: any[]) => void;
|
|
20
|
+
hover: (...args: any[]) => void;
|
|
21
|
+
unhover: (...args: any[]) => void;
|
|
20
22
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
21
23
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
22
24
|
onPress?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
onHover?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onUnhover?: ((...args: any[]) => any) | undefined;
|
|
23
27
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
28
|
containerRef: HTMLSpanElement;
|
|
25
29
|
}, HTMLSpanElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/UI/ContentSelector.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/UI/ContentSelector.vue"],"names":[],"mappings":"AAsIA,KAAK,KAAK,GAAG;IACX,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AA6FF,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAmBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;mBASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentSelectorWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/editor/ContentSelectorWrapper.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentSelectorWrapper.vue.d.ts","sourceRoot":"","sources":["../../../src/editor/ContentSelectorWrapper.vue"],"names":[],"mappings":"AAYA;AA4EA,OAAO,EAAY,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,EAAiB,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAQ/D;;;GAGG;AACH,KAAK,KAAK,GAAG,SAAS,GAAG,iBAAiB,CAAC,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAkD5E,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;;;;EAehC;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,sRAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installIntlayerEditor.d.ts","sourceRoot":"","sources":["../../../src/editor/installIntlayerEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"installIntlayerEditor.d.ts","sourceRoot":"","sources":["../../../src/editor/installIntlayerEditor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AA8B1B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,GAAI,KAAK,GAAG,KAAG,IAahD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-intlayer",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.6-canary.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Vue applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"js-cookie": "^3.0.5",
|
|
72
72
|
"uuid": "^11.1.0",
|
|
73
|
-
"@intlayer/config": "5.7.
|
|
74
|
-
"@intlayer/
|
|
75
|
-
"@intlayer/
|
|
76
|
-
"@intlayer/
|
|
77
|
-
"@intlayer/
|
|
73
|
+
"@intlayer/config": "5.7.6-canary.0",
|
|
74
|
+
"@intlayer/dictionaries-entry": "5.7.6-canary.0",
|
|
75
|
+
"@intlayer/api": "5.7.6-canary.0",
|
|
76
|
+
"@intlayer/editor": "5.7.6-canary.0",
|
|
77
|
+
"@intlayer/core": "5.7.6-canary.0"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@types/js-cookie": "^3.0.6",
|
|
@@ -94,16 +94,16 @@
|
|
|
94
94
|
"@utils/ts-config": "1.0.4",
|
|
95
95
|
"@utils/tsup-config": "1.0.4",
|
|
96
96
|
"@utils/ts-config-types": "1.0.4",
|
|
97
|
-
"@intlayer/backend": "5.7.
|
|
97
|
+
"@intlayer/backend": "5.7.6-canary.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"vue": "^3.5.13",
|
|
101
|
-
"@intlayer/
|
|
102
|
-
"@intlayer/
|
|
103
|
-
"@intlayer/
|
|
104
|
-
"@intlayer/editor": "5.7.
|
|
105
|
-
"@intlayer/dictionaries-entry": "5.7.
|
|
106
|
-
"intlayer": "5.7.
|
|
101
|
+
"@intlayer/core": "5.7.6-canary.0",
|
|
102
|
+
"@intlayer/api": "5.7.6-canary.0",
|
|
103
|
+
"@intlayer/config": "5.7.6-canary.0",
|
|
104
|
+
"@intlayer/editor": "5.7.6-canary.0",
|
|
105
|
+
"@intlayer/dictionaries-entry": "5.7.6-canary.0",
|
|
106
|
+
"intlayer": "5.7.6-canary.0"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
109
109
|
"node": ">=14.18"
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, ref as i, computed as f, useSlots as D, onMounted as E, onBeforeUnmount as M, createElementBlock as B, openBlock as O, normalizeStyle as R, renderSlot as P } from "vue";
|
|
2
|
-
const b = 250, x = /* @__PURE__ */ _({
|
|
3
|
-
__name: "ContentSelector",
|
|
4
|
-
props: {
|
|
5
|
-
onClickOutside: { type: Function },
|
|
6
|
-
pressDuration: {},
|
|
7
|
-
isSelecting: { type: Boolean }
|
|
8
|
-
},
|
|
9
|
-
emits: ["click", "press"],
|
|
10
|
-
setup(v, { emit: S }) {
|
|
11
|
-
const t = v, h = S, r = i(null), u = i(!1), o = i(t.isSelecting ?? !1), s = i(null), d = f(() => t.isSelecting ?? o.value), T = f(() => {
|
|
12
|
-
var n, c;
|
|
13
|
-
const e = (c = (n = D()).default) == null ? void 0 : c.call(n);
|
|
14
|
-
return (e == null ? void 0 : e.length) === 1 && typeof e[0].children == "string";
|
|
15
|
-
}), g = () => {
|
|
16
|
-
o.value = !0, h("press");
|
|
17
|
-
}, k = () => {
|
|
18
|
-
s.value = setTimeout(() => {
|
|
19
|
-
g();
|
|
20
|
-
}, t.pressDuration ?? b);
|
|
21
|
-
}, a = () => {
|
|
22
|
-
s.value && (clearTimeout(s.value), s.value = null);
|
|
23
|
-
}, m = () => {
|
|
24
|
-
a(), k();
|
|
25
|
-
}, l = () => {
|
|
26
|
-
u.value = !1, a();
|
|
27
|
-
}, p = (e) => {
|
|
28
|
-
var n;
|
|
29
|
-
r.value && !r.value.contains(e.target) && (o.value = !1, (n = t.onClickOutside) == null || n.call(t));
|
|
30
|
-
}, C = (e) => {
|
|
31
|
-
d.value && (e.preventDefault(), e.stopPropagation());
|
|
32
|
-
}, y = () => {
|
|
33
|
-
o.value = !1;
|
|
34
|
-
};
|
|
35
|
-
return E(() => {
|
|
36
|
-
document.addEventListener("mousedown", p);
|
|
37
|
-
}), M(() => {
|
|
38
|
-
document.removeEventListener("mousedown", p), a();
|
|
39
|
-
}), (e, n) => (O(), B("span", {
|
|
40
|
-
ref_key: "containerRef",
|
|
41
|
-
ref: r,
|
|
42
|
-
role: "button",
|
|
43
|
-
tabindex: "0",
|
|
44
|
-
onClick: C,
|
|
45
|
-
onMousedown: m,
|
|
46
|
-
onMouseup: l,
|
|
47
|
-
onMouseleave: l,
|
|
48
|
-
onTouchstart: m,
|
|
49
|
-
onTouchend: l,
|
|
50
|
-
onTouchcancel: l,
|
|
51
|
-
onBlur: y,
|
|
52
|
-
onMouseenter: n[0] || (n[0] = (c) => u.value = !0),
|
|
53
|
-
style: R({
|
|
54
|
-
display: T.value ? "inline" : "inline-block",
|
|
55
|
-
cursor: "pointer",
|
|
56
|
-
userSelect: "none",
|
|
57
|
-
borderRadius: "0.375rem",
|
|
58
|
-
outlineWidth: "2px",
|
|
59
|
-
outlineOffset: "4px",
|
|
60
|
-
outlineStyle: "solid",
|
|
61
|
-
outlineColor: d.value || u.value ? "inherit" : "transparent",
|
|
62
|
-
transition: "all 100ms 50ms ease-in-out"
|
|
63
|
-
})
|
|
64
|
-
}, [
|
|
65
|
-
P(e.$slots, "default")
|
|
66
|
-
], 36));
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
x as _
|
|
71
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),_=250,y=e.defineComponent({__name:"ContentSelector",props:{onClickOutside:{type:Function},pressDuration:{},isSelecting:{type:Boolean}},emits:["click","press"],setup(p,{emit:v}){const o=p,S=v,u=e.ref(null),r=e.ref(!1),s=e.ref(o.isSelecting??!1),l=e.ref(null),d=e.computed(()=>o.isSelecting??s.value),h=e.computed(()=>{var t,c;const n=(c=(t=e.useSlots()).default)==null?void 0:c.call(t);return(n==null?void 0:n.length)===1&&typeof n[0].children=="string"}),T=()=>{s.value=!0,S("press")},g=()=>{l.value=setTimeout(()=>{T()},o.pressDuration??_)},a=()=>{l.value&&(clearTimeout(l.value),l.value=null)},f=()=>{a(),g()},i=()=>{r.value=!1,a()},m=n=>{var t;u.value&&!u.value.contains(n.target)&&(s.value=!1,(t=o.onClickOutside)==null||t.call(o))},k=n=>{d.value&&(n.preventDefault(),n.stopPropagation())},C=()=>{s.value=!1};return e.onMounted(()=>{document.addEventListener("mousedown",m)}),e.onBeforeUnmount(()=>{document.removeEventListener("mousedown",m),a()}),(n,t)=>(e.openBlock(),e.createElementBlock("span",{ref_key:"containerRef",ref:u,role:"button",tabindex:"0",onClick:k,onMousedown:f,onMouseup:i,onMouseleave:i,onTouchstart:f,onTouchend:i,onTouchcancel:i,onBlur:C,onMouseenter:t[0]||(t[0]=c=>r.value=!0),style:e.normalizeStyle({display:h.value?"inline":"inline-block",cursor:"pointer",userSelect:"none",borderRadius:"0.375rem",outlineWidth:"2px",outlineOffset:"4px",outlineStyle:"solid",outlineColor:d.value||r.value?"inherit":"transparent",transition:"all 100ms 50ms ease-in-out"})},[e.renderSlot(n.$slots,"default")],36))}});exports._sfc_main=y;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),l=require("@intlayer/core"),u=require("./ContentSelector.vue_vue_type_script_setup_true_lang-OSRmjq5b.js"),_=require("./cjs/editor/editorEnabled.cjs"),y=require("./cjs/editor/focusDictionary.cjs"),p=require("./cjs/editor/useEditor.cjs"),h=t.defineComponent({__name:"ContentSelectorWrapper",props:{dictionaryKey:{},keyPath:{},plugins:{},locale:{},dictionaryPath:{},children:{}},setup(a){const o=a,e=y.useFocusDictionary(),d=_.useEditorEnabled();p.useEditor();const c=t.computed(()=>{var n,r;return((n=e==null?void 0:e.focusedContent.value)==null?void 0:n.dictionaryKey)===o.dictionaryKey&&(((r=e==null?void 0:e.focusedContent.value.keyPath)==null?void 0:r.length)??0)>0&&l.isSameKeyPath((e==null?void 0:e.focusedContent.value.keyPath)??[],o.keyPath)}),i=()=>{e==null||e.setFocusedContent({dictionaryKey:o.dictionaryKey,keyPath:o.keyPath})};return(n,r)=>{var s;return(s=t.unref(d))!=null&&s.enabled.value?(t.openBlock(),t.createBlock(u._sfc_main,{key:0,onPress:i,isSelecting:c.value},{default:t.withCtx(()=>[t.renderSlot(n.$slots,"default")]),_:3},8,["isSelecting"])):t.renderSlot(n.$slots,"default",{key:1})}}});exports._sfc_main=h;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, computed as m, createBlock as p, renderSlot as a, unref as u, openBlock as y, withCtx as h } from "vue";
|
|
2
|
-
import { isSameKeyPath as k } from "@intlayer/core";
|
|
3
|
-
import { _ as f } from "./ContentSelector.vue_vue_type_script_setup_true_lang-Dfu1ALQx.mjs";
|
|
4
|
-
import { useEditorEnabled as P } from "./esm/editor/editorEnabled.mjs";
|
|
5
|
-
import { useFocusDictionary as _ } from "./esm/editor/focusDictionary.mjs";
|
|
6
|
-
import { useEditor as C } from "./esm/editor/useEditor.mjs";
|
|
7
|
-
const $ = /* @__PURE__ */ c({
|
|
8
|
-
__name: "ContentSelectorWrapper",
|
|
9
|
-
props: {
|
|
10
|
-
dictionaryKey: {},
|
|
11
|
-
keyPath: {},
|
|
12
|
-
plugins: {},
|
|
13
|
-
locale: {},
|
|
14
|
-
dictionaryPath: {},
|
|
15
|
-
children: {}
|
|
16
|
-
},
|
|
17
|
-
setup(l) {
|
|
18
|
-
const o = l, e = _(), s = P();
|
|
19
|
-
C();
|
|
20
|
-
const d = m(
|
|
21
|
-
() => {
|
|
22
|
-
var t, n;
|
|
23
|
-
return ((t = e == null ? void 0 : e.focusedContent.value) == null ? void 0 : t.dictionaryKey) === o.dictionaryKey && (((n = e == null ? void 0 : e.focusedContent.value.keyPath) == null ? void 0 : n.length) ?? 0) > 0 && k(
|
|
24
|
-
(e == null ? void 0 : e.focusedContent.value.keyPath) ?? [],
|
|
25
|
-
o.keyPath
|
|
26
|
-
);
|
|
27
|
-
}
|
|
28
|
-
), i = () => {
|
|
29
|
-
e == null || e.setFocusedContent({
|
|
30
|
-
dictionaryKey: o.dictionaryKey,
|
|
31
|
-
keyPath: o.keyPath
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
return (t, n) => {
|
|
35
|
-
var r;
|
|
36
|
-
return (r = u(s)) != null && r.enabled.value ? (y(), p(f, {
|
|
37
|
-
key: 0,
|
|
38
|
-
onPress: i,
|
|
39
|
-
isSelecting: d.value
|
|
40
|
-
}, {
|
|
41
|
-
default: h(() => [
|
|
42
|
-
a(t.$slots, "default")
|
|
43
|
-
]),
|
|
44
|
-
_: 3
|
|
45
|
-
}, 8, ["isSelecting"])) : a(t.$slots, "default", { key: 1 });
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
$ as _
|
|
51
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue"),a=Symbol("intlayerChangedContent"),n=()=>{const e=C.reactive({});return{state:e,setChangedContent:(t,s)=>{e[t]={...e[t]??{key:t,content:{}},content:s}}}},c=e=>{const o=n();e.provide(a,o)},r=()=>C.reactive(n());exports.createChangedContentClient=n;exports.installChangedContent=c;exports.useChangedContent=r;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { reactive as o } from "vue";
|
|
2
|
-
const c = Symbol("intlayerChangedContent"), C = () => {
|
|
3
|
-
const t = o({});
|
|
4
|
-
return {
|
|
5
|
-
state: t,
|
|
6
|
-
setChangedContent: (n, s) => {
|
|
7
|
-
t[n] = {
|
|
8
|
-
...t[n] ?? { key: n, content: {} },
|
|
9
|
-
content: s
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}, a = (t) => {
|
|
14
|
-
const e = C();
|
|
15
|
-
t.provide(c, e);
|
|
16
|
-
}, g = () => o(C());
|
|
17
|
-
export {
|
|
18
|
-
C as createChangedContentClient,
|
|
19
|
-
a as installChangedContent,
|
|
20
|
-
g as useChangedContent
|
|
21
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Dictionary } from '@intlayer/core';
|
|
2
|
-
import { App } from 'vue';
|
|
3
|
-
export declare const createChangedContentClient: () => {
|
|
4
|
-
state: Record<string, Dictionary>;
|
|
5
|
-
setChangedContent: (dictionaryKey: Dictionary["key"], newValue: Dictionary["content"]) => void;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Helper to install the Intlayer provider into the app
|
|
9
|
-
*/
|
|
10
|
-
export declare const installChangedContent: (app: App) => void;
|
|
11
|
-
export declare const useChangedContent: () => {
|
|
12
|
-
state: Record<string, Dictionary>;
|
|
13
|
-
setChangedContent: (dictionaryKey: Dictionary["key"], newValue: Dictionary["content"]) => void;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=changedContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"changedContent.d.ts","sourceRoot":"","sources":["../../../src/editor/changedContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,GAAG,EAAY,MAAM,KAAK,CAAC;AAcpC,eAAO,MAAM,0BAA0B;;uCAWpB,UAAU,CAAC,KAAK,CAAC,YACtB,UAAU,CAAC,SAAS,CAAC;CAYlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,KAAK,GAAG,SAI7C,CAAC;AAEF,eAAO,MAAM,iBAAiB;;uCAxBX,UAAU,CAAC,KAAK,CAAC,YACtB,UAAU,CAAC,SAAS,CAAC;CA2BlC,CAAC"}
|