lit-intlayer 8.6.0 → 8.6.1
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/cjs/plugins.cjs +1 -1
- package/dist/esm/plugins.mjs +44 -44
- package/package.json +7 -7
package/dist/cjs/plugins.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../installIntlayer-BvRKKBhO.js`),t=require(`./markdown/runtime.cjs`),n=require(`./renderIntlayerNode.cjs`);let r=require(`@intlayer/core/interpreter`),i=require(`@intlayer/config/built`);i=e.o(i);let a=require(`@intlayer/core/markdown`),o=require(`@intlayer/types/nodeType`);o=e.o(o);let s=require(`lit/directives/unsafe-html.js`),c=require(`lit/static-html.js`);var l=(e=``,n={})=>(0,a.compileWithOptions)(e,t.default,n),u=(e,t,n={})=>{let r=typeof e==`string`?(0,s.unsafeHTML)(e):e;return new Proxy(r,{get(e,r,i){if(r===`value`||r===`raw`)return t;if(r===`toString`||r===Symbol.toPrimitive)return()=>t;if(r!==Symbol.iterator)return r===`__update`?()=>{}:r===`isJSX`?!0:r in n?n[r]:Reflect.get(e,r,i)}})},d=e=>e.replace(/&/g,`&`).replace(/"/g,`"`),f=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),p={id:`intlayer-node-plugin`,canHandle:e=>typeof e==`bigint`||typeof e==`string`||typeof e==`number`,transform:(e,{children:t,keyPath:r,dictionaryKey:a,...o})=>{if(i.default.editor.enabled){let e=String(t??``);return u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(r??[]))}" dictionary-key="${d(String(a??``))}">${f(e)}</intlayer-content-selector-wrapper>`,e)}return n.renderIntlayerNode({...o,value:t,children:t})}},m={id:`insertion-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===o.INSERTION,transform:(e,t,n)=>{let i=[...t.keyPath,{type:o.INSERTION}],a=e[o.INSERTION],s={id:`insertion-string-plugin`,canHandle:e=>typeof e==`string`,transform:(e,n,i)=>{let a=i(e,{...n,children:e,plugins:(t.plugins??[]).filter(e=>e.id!==`intlayer-node-plugin`)});return e=>{let o=(0,r.splitInsertionTemplate)(a,e),s=o.isSimple?o.parts:o.parts.join(``);return i(s,{...n,plugins:t.plugins,children:s})}}},c=n(a,{...t,children:a,keyPath:i,plugins:[s,...t.plugins??[]]});return typeof a==`object`&&a&&`nodeType`in a&&[o.ENUMERATION,o.CONDITION].includes(a.nodeType)?e=>t=>{let n=c(t);return typeof n==`function`?n(e):n}:c}},h={id:`markdown-string-plugin`,canHandle:e=>typeof e==`string`,transform:(e,t,r)=>{let{plugins:o,...s}=t,{keyPath:c,dictionaryKey:f}=s,p=r((0,a.getMarkdownMetadata)(e)??{},{plugins:[{id:`markdown-metadata-plugin`,canHandle:e=>typeof e==`string`||typeof e==`number`||typeof e==`boolean`||!e,transform:(t,r)=>n.renderIntlayerNode({...r,value:t,children:e})}],dictionaryKey:s.dictionaryKey,keyPath:[]}),m=l(e),h=t=>{let n=l(e,{components:t});return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(c??[]))}" dictionary-key="${d(String(f??``))}">${n}</intlayer-content-selector-wrapper>`,e):u(n,e)};return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(c??[]))}" dictionary-key="${d(String(f??``))}">${m}</intlayer-content-selector-wrapper>`,e,{metadata:p,use:h}):u(m,e,{metadata:p,use:h})}},g={id:`markdown-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===o.MARKDOWN,transform:(e,t,n)=>{let r=[...t.keyPath,{type:o.MARKDOWN}],i=e[o.MARKDOWN];return n(i,{...t,children:i,keyPath:r,plugins:[h,...t.plugins??[]]})}},_={id:`html-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===o.HTML,transform:(e,t)=>{let n=e[o.HTML],{keyPath:a,dictionaryKey:s}=t,l=(e={})=>{let t=Object.fromEntries(Object.entries(e).filter(([,e])=>e).map(([e,t])=>[e,e=>t(e)])),o=(0,r.getHTML)(n,new Proxy(t,{get(e,t){if(typeof t==`string`&&t in e)return e[t];if(typeof t==`string`&&/^[a-z][a-z0-9]*$/.test(t))return e=>c.html`<${(0,c.unsafeStatic)(t)} ...${e}>${e.children}</${(0,c.unsafeStatic)(t)}>`}}));return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(a??[]))}" dictionary-key="${d(String(s??``))}">${o}</intlayer-content-selector-wrapper>`,n):u(o,n)};return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(a??[]))}" dictionary-key="${d(String(s??``))}">${n}</intlayer-content-selector-wrapper>`,n,{use:l}):u(n,n,{use:l})}},v=(t,n=!0)=>{let a=t??(typeof window<`u`&&e.r()?.locale)??i.default.internationalization.defaultLocale;return[(0,r.translationPlugin)(a,n?i.default.internationalization.defaultLocale:void 0),r.enumerationPlugin,r.conditionPlugin,(0,r.nestedPlugin)(a),r.filePlugin,r.genderPlugin,p,m,g,_]};exports.getPlugins=v,exports.htmlPlugin=_,exports.insertionPlugin=m,exports.intlayerNodePlugins=p,exports.markdownPlugin=g,exports.markdownStringPlugin=h;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../installIntlayer-BvRKKBhO.js`),t=require(`./markdown/runtime.cjs`),n=require(`./renderIntlayerNode.cjs`);let r=require(`@intlayer/core/interpreter`),i=require(`@intlayer/config/built`);i=e.o(i);let a=require(`@intlayer/core/markdown`),o=require(`@intlayer/types/nodeType`);o=e.o(o);let s=require(`lit/directives/unsafe-html.js`),c=require(`lit/static-html.js`);var l=(e=``,n={})=>(0,a.compileWithOptions)(e,t.default,n),u=(e,t,n={})=>{let r=typeof e==`string`?(0,s.unsafeHTML)(e):e;return new Proxy(r,{get(e,r,i){if(r===`value`||r===`raw`)return t;if(r===`toString`||r===Symbol.toPrimitive)return()=>t;if(r!==Symbol.iterator)return r===`__update`?()=>{}:r===`isJSX`?!0:r in n?n[r]:Reflect.get(e,r,i)}})},d=e=>e.replace(/&/g,`&`).replace(/"/g,`"`),f=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),p=process.env.INTLAYER_NODE_TYPE_INTLAYER_NODE===`false`?r.fallbackPlugin:{id:`intlayer-node-plugin`,canHandle:e=>typeof e==`bigint`||typeof e==`string`||typeof e==`number`,transform:(e,{children:t,keyPath:r,dictionaryKey:a,...o})=>{if(i.default.editor.enabled){let e=String(t??``);return u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(r??[]))}" dictionary-key="${d(String(a??``))}">${f(e)}</intlayer-content-selector-wrapper>`,e)}return n.renderIntlayerNode({...o,value:t,children:t})}},m=process.env.INTLAYER_NODE_TYPE_INSERTION===`false`?r.fallbackPlugin:{id:`insertion-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===o.INSERTION,transform:(e,t,n)=>{let i=[...t.keyPath,{type:o.INSERTION}],a=e[o.INSERTION],s={id:`insertion-string-plugin`,canHandle:e=>typeof e==`string`,transform:(e,n,i)=>{let a=i(e,{...n,children:e,plugins:(t.plugins??[]).filter(e=>e.id!==`intlayer-node-plugin`)});return e=>{let o=(0,r.splitInsertionTemplate)(a,e),s=o.isSimple?o.parts:o.parts.join(``);return i(s,{...n,plugins:t.plugins,children:s})}}},c=n(a,{...t,children:a,keyPath:i,plugins:[s,...t.plugins??[]]});return typeof a==`object`&&a&&`nodeType`in a&&[o.ENUMERATION,o.CONDITION].includes(a.nodeType)?e=>t=>{let n=c(t);return typeof n==`function`?n(e):n}:c}},h=process.env.INTLAYER_NODE_TYPE_MARKDOWN===`false`?r.fallbackPlugin:{id:`markdown-string-plugin`,canHandle:e=>typeof e==`string`,transform:(e,t,r)=>{let{plugins:o,...s}=t,{keyPath:c,dictionaryKey:f}=s,p=r((0,a.getMarkdownMetadata)(e)??{},{plugins:[{id:`markdown-metadata-plugin`,canHandle:e=>typeof e==`string`||typeof e==`number`||typeof e==`boolean`||!e,transform:(t,r)=>n.renderIntlayerNode({...r,value:t,children:e})}],dictionaryKey:s.dictionaryKey,keyPath:[]}),m=l(e),h=t=>{let n=l(e,{components:t});return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(c??[]))}" dictionary-key="${d(String(f??``))}">${n}</intlayer-content-selector-wrapper>`,e):u(n,e)};return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(c??[]))}" dictionary-key="${d(String(f??``))}">${m}</intlayer-content-selector-wrapper>`,e,{metadata:p,use:h}):u(m,e,{metadata:p,use:h})}},g=process.env.INTLAYER_NODE_TYPE_MARKDOWN===`false`?r.fallbackPlugin:{id:`markdown-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===o.MARKDOWN,transform:(e,t,n)=>{let r=[...t.keyPath,{type:o.MARKDOWN}],i=e[o.MARKDOWN];return n(i,{...t,children:i,keyPath:r,plugins:[h,...t.plugins??[]]})}},_=process.env.INTLAYER_NODE_TYPE_HTML===`false`?r.fallbackPlugin:{id:`html-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===o.HTML,transform:(e,t)=>{let n=e[o.HTML],{keyPath:a,dictionaryKey:s}=t,l=(e={})=>{let t=Object.fromEntries(Object.entries(e).filter(([,e])=>e).map(([e,t])=>[e,e=>t(e)])),o=(0,r.getHTML)(n,new Proxy(t,{get(e,t){if(typeof t==`string`&&t in e)return e[t];if(typeof t==`string`&&/^[a-z][a-z0-9]*$/.test(t))return e=>c.html`<${(0,c.unsafeStatic)(t)} ...${e}>${e.children}</${(0,c.unsafeStatic)(t)}>`}}));return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(a??[]))}" dictionary-key="${d(String(s??``))}">${o}</intlayer-content-selector-wrapper>`,n):u(o,n)};return i.default.editor.enabled?u(`<intlayer-content-selector-wrapper key-path="${d(JSON.stringify(a??[]))}" dictionary-key="${d(String(s??``))}">${n}</intlayer-content-selector-wrapper>`,n,{use:l}):u(n,n,{use:l})}},v=(t,n=!0)=>{let a=t??(typeof window<`u`&&e.r()?.locale)??i.default.internationalization.defaultLocale;return[(0,r.translationPlugin)(a,n?i.default.internationalization.defaultLocale:void 0),r.enumerationPlugin,r.conditionPlugin,(0,r.nestedPlugin)(a),r.filePlugin,r.genderPlugin,p,m,g,_].filter(Boolean)};exports.getPlugins=v,exports.htmlPlugin=_,exports.insertionPlugin=m,exports.intlayerNodePlugins=p,exports.markdownPlugin=g,exports.markdownStringPlugin=h;
|
package/dist/esm/plugins.mjs
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { r as e } from "../installIntlayer-3Fpy-rFd.mjs";
|
|
2
2
|
import t from "./markdown/runtime.mjs";
|
|
3
3
|
import { renderIntlayerNode as n } from "./renderIntlayerNode.mjs";
|
|
4
|
-
import { conditionPlugin as r, enumerationPlugin as i,
|
|
5
|
-
import
|
|
6
|
-
import { compileWithOptions as
|
|
7
|
-
import * as
|
|
8
|
-
import { unsafeHTML as
|
|
9
|
-
import { html as
|
|
4
|
+
import { conditionPlugin as r, enumerationPlugin as i, fallbackPlugin as a, filePlugin as o, genderPlugin as s, getHTML as c, nestedPlugin as l, splitInsertionTemplate as u, translationPlugin as d } from "@intlayer/core/interpreter";
|
|
5
|
+
import f from "@intlayer/config/built";
|
|
6
|
+
import { compileWithOptions as p, getMarkdownMetadata as m } from "@intlayer/core/markdown";
|
|
7
|
+
import * as h from "@intlayer/types/nodeType";
|
|
8
|
+
import { unsafeHTML as g } from "lit/directives/unsafe-html.js";
|
|
9
|
+
import { html as _, unsafeStatic as v } from "lit/static-html.js";
|
|
10
10
|
//#region src/plugins.ts
|
|
11
|
-
var
|
|
12
|
-
let r = typeof e == "string" ?
|
|
11
|
+
var y = (e = "", n = {}) => p(e, t, n), b = (e, t, n = {}) => {
|
|
12
|
+
let r = typeof e == "string" ? g(e) : e;
|
|
13
13
|
return new Proxy(r, { get(e, r, i) {
|
|
14
14
|
if (r === "value" || r === "raw") return t;
|
|
15
15
|
if (r === "toString" || r === Symbol.toPrimitive) return () => t;
|
|
16
16
|
if (r !== Symbol.iterator) return r === "__update" ? () => {} : r === "isJSX" ? !0 : r in n ? n[r] : Reflect.get(e, r, i);
|
|
17
17
|
} });
|
|
18
|
-
},
|
|
18
|
+
}, x = (e) => e.replace(/&/g, "&").replace(/"/g, """), S = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), C = process.env.INTLAYER_NODE_TYPE_INTLAYER_NODE === "false" ? a : {
|
|
19
19
|
id: "intlayer-node-plugin",
|
|
20
20
|
canHandle: (e) => typeof e == "bigint" || typeof e == "string" || typeof e == "number",
|
|
21
21
|
transform: (e, { children: t, keyPath: r, dictionaryKey: i, ...a }) => {
|
|
22
|
-
if (
|
|
22
|
+
if (f.editor.enabled) {
|
|
23
23
|
let e = String(t ?? "");
|
|
24
|
-
return
|
|
24
|
+
return b(`<intlayer-content-selector-wrapper key-path="${x(JSON.stringify(r ?? []))}" dictionary-key="${x(String(i ?? ""))}">${S(e)}</intlayer-content-selector-wrapper>`, e);
|
|
25
25
|
}
|
|
26
26
|
return n({
|
|
27
27
|
...a,
|
|
@@ -29,11 +29,11 @@ var v = (e = "", n = {}) => f(e, t, n), y = (e, t, n = {}) => {
|
|
|
29
29
|
children: t
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, w = process.env.INTLAYER_NODE_TYPE_INSERTION === "false" ? a : {
|
|
33
33
|
id: "insertion-plugin",
|
|
34
|
-
canHandle: (e) => typeof e == "object" && e?.nodeType ===
|
|
34
|
+
canHandle: (e) => typeof e == "object" && e?.nodeType === h.INSERTION,
|
|
35
35
|
transform: (e, t, n) => {
|
|
36
|
-
let r = [...t.keyPath, { type:
|
|
36
|
+
let r = [...t.keyPath, { type: h.INSERTION }], i = e[h.INSERTION], a = {
|
|
37
37
|
id: "insertion-string-plugin",
|
|
38
38
|
canHandle: (e) => typeof e == "string",
|
|
39
39
|
transform: (e, n, r) => {
|
|
@@ -43,7 +43,7 @@ var v = (e = "", n = {}) => f(e, t, n), y = (e, t, n = {}) => {
|
|
|
43
43
|
plugins: (t.plugins ?? []).filter((e) => e.id !== "intlayer-node-plugin")
|
|
44
44
|
});
|
|
45
45
|
return (e) => {
|
|
46
|
-
let a =
|
|
46
|
+
let a = u(i, e), o = a.isSimple ? a.parts : a.parts.join("");
|
|
47
47
|
return r(o, {
|
|
48
48
|
...n,
|
|
49
49
|
plugins: t.plugins,
|
|
@@ -57,16 +57,16 @@ var v = (e = "", n = {}) => f(e, t, n), y = (e, t, n = {}) => {
|
|
|
57
57
|
keyPath: r,
|
|
58
58
|
plugins: [a, ...t.plugins ?? []]
|
|
59
59
|
});
|
|
60
|
-
return typeof i == "object" && i && "nodeType" in i && [
|
|
60
|
+
return typeof i == "object" && i && "nodeType" in i && [h.ENUMERATION, h.CONDITION].includes(i.nodeType) ? (e) => (t) => {
|
|
61
61
|
let n = o(t);
|
|
62
62
|
return typeof n == "function" ? n(e) : n;
|
|
63
63
|
} : o;
|
|
64
64
|
}
|
|
65
|
-
},
|
|
65
|
+
}, T = process.env.INTLAYER_NODE_TYPE_MARKDOWN === "false" ? a : {
|
|
66
66
|
id: "markdown-string-plugin",
|
|
67
67
|
canHandle: (e) => typeof e == "string",
|
|
68
68
|
transform: (e, t, r) => {
|
|
69
|
-
let { plugins: i, ...a } = t, { keyPath: o, dictionaryKey: s } = a, c = r(
|
|
69
|
+
let { plugins: i, ...a } = t, { keyPath: o, dictionaryKey: s } = a, c = r(m(e) ?? {}, {
|
|
70
70
|
plugins: [{
|
|
71
71
|
id: "markdown-metadata-plugin",
|
|
72
72
|
canHandle: (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || !e,
|
|
@@ -78,57 +78,57 @@ var v = (e = "", n = {}) => f(e, t, n), y = (e, t, n = {}) => {
|
|
|
78
78
|
}],
|
|
79
79
|
dictionaryKey: a.dictionaryKey,
|
|
80
80
|
keyPath: []
|
|
81
|
-
}), l =
|
|
82
|
-
let n =
|
|
83
|
-
return
|
|
81
|
+
}), l = y(e), u = (t) => {
|
|
82
|
+
let n = y(e, { components: t });
|
|
83
|
+
return f.editor.enabled ? b(`<intlayer-content-selector-wrapper key-path="${x(JSON.stringify(o ?? []))}" dictionary-key="${x(String(s ?? ""))}">${n}</intlayer-content-selector-wrapper>`, e) : b(n, e);
|
|
84
84
|
};
|
|
85
|
-
return
|
|
85
|
+
return f.editor.enabled ? b(`<intlayer-content-selector-wrapper key-path="${x(JSON.stringify(o ?? []))}" dictionary-key="${x(String(s ?? ""))}">${l}</intlayer-content-selector-wrapper>`, e, {
|
|
86
86
|
metadata: c,
|
|
87
87
|
use: u
|
|
88
|
-
}) :
|
|
88
|
+
}) : b(l, e, {
|
|
89
89
|
metadata: c,
|
|
90
90
|
use: u
|
|
91
91
|
});
|
|
92
92
|
}
|
|
93
|
-
},
|
|
93
|
+
}, E = process.env.INTLAYER_NODE_TYPE_MARKDOWN === "false" ? a : {
|
|
94
94
|
id: "markdown-plugin",
|
|
95
|
-
canHandle: (e) => typeof e == "object" && e?.nodeType ===
|
|
95
|
+
canHandle: (e) => typeof e == "object" && e?.nodeType === h.MARKDOWN,
|
|
96
96
|
transform: (e, t, n) => {
|
|
97
|
-
let r = [...t.keyPath, { type:
|
|
97
|
+
let r = [...t.keyPath, { type: h.MARKDOWN }], i = e[h.MARKDOWN];
|
|
98
98
|
return n(i, {
|
|
99
99
|
...t,
|
|
100
100
|
children: i,
|
|
101
101
|
keyPath: r,
|
|
102
|
-
plugins: [
|
|
102
|
+
plugins: [T, ...t.plugins ?? []]
|
|
103
103
|
});
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, D = process.env.INTLAYER_NODE_TYPE_HTML === "false" ? a : {
|
|
106
106
|
id: "html-plugin",
|
|
107
|
-
canHandle: (e) => typeof e == "object" && e?.nodeType ===
|
|
107
|
+
canHandle: (e) => typeof e == "object" && e?.nodeType === h.HTML,
|
|
108
108
|
transform: (e, t) => {
|
|
109
|
-
let n = e[
|
|
110
|
-
let t = Object.fromEntries(Object.entries(e).filter(([, e]) => e).map(([e, t]) => [e, (e) => t(e)])), a =
|
|
109
|
+
let n = e[h.HTML], { keyPath: r, dictionaryKey: i } = t, a = (e = {}) => {
|
|
110
|
+
let t = Object.fromEntries(Object.entries(e).filter(([, e]) => e).map(([e, t]) => [e, (e) => t(e)])), a = c(n, new Proxy(t, { get(e, t) {
|
|
111
111
|
if (typeof t == "string" && t in e) return e[t];
|
|
112
|
-
if (typeof t == "string" && /^[a-z][a-z0-9]*$/.test(t)) return (e) =>
|
|
112
|
+
if (typeof t == "string" && /^[a-z][a-z0-9]*$/.test(t)) return (e) => _`<${v(t)} ...${e}>${e.children}</${v(t)}>`;
|
|
113
113
|
} }));
|
|
114
|
-
return
|
|
114
|
+
return f.editor.enabled ? b(`<intlayer-content-selector-wrapper key-path="${x(JSON.stringify(r ?? []))}" dictionary-key="${x(String(i ?? ""))}">${a}</intlayer-content-selector-wrapper>`, n) : b(a, n);
|
|
115
115
|
};
|
|
116
|
-
return
|
|
116
|
+
return f.editor.enabled ? b(`<intlayer-content-selector-wrapper key-path="${x(JSON.stringify(r ?? []))}" dictionary-key="${x(String(i ?? ""))}">${n}</intlayer-content-selector-wrapper>`, n, { use: a }) : b(n, n, { use: a });
|
|
117
117
|
}
|
|
118
|
-
},
|
|
119
|
-
let
|
|
118
|
+
}, O = (t, n = !0) => {
|
|
119
|
+
let a = t ?? (typeof window < "u" && e()?.locale) ?? f.internationalization.defaultLocale;
|
|
120
120
|
return [
|
|
121
|
-
|
|
121
|
+
d(a, n ? f.internationalization.defaultLocale : void 0),
|
|
122
122
|
i,
|
|
123
123
|
r,
|
|
124
|
-
|
|
125
|
-
a,
|
|
124
|
+
l(a),
|
|
126
125
|
o,
|
|
127
|
-
|
|
126
|
+
s,
|
|
128
127
|
C,
|
|
129
|
-
|
|
130
|
-
E
|
|
131
|
-
|
|
128
|
+
w,
|
|
129
|
+
E,
|
|
130
|
+
D
|
|
131
|
+
].filter(Boolean);
|
|
132
132
|
};
|
|
133
133
|
//#endregion
|
|
134
|
-
export {
|
|
134
|
+
export { O as getPlugins, D as htmlPlugin, w as insertionPlugin, C as intlayerNodePlugins, E as markdownPlugin, T as markdownStringPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lit-intlayer",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Lit applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
104
104
|
},
|
|
105
105
|
"dependencies": {
|
|
106
|
-
"@intlayer/api": "8.6.
|
|
107
|
-
"@intlayer/config": "8.6.
|
|
108
|
-
"@intlayer/core": "8.6.
|
|
109
|
-
"@intlayer/editor": "8.6.
|
|
110
|
-
"@intlayer/types": "8.6.
|
|
106
|
+
"@intlayer/api": "8.6.1",
|
|
107
|
+
"@intlayer/config": "8.6.1",
|
|
108
|
+
"@intlayer/core": "8.6.1",
|
|
109
|
+
"@intlayer/editor": "8.6.1",
|
|
110
|
+
"@intlayer/types": "8.6.1"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"@types/node": "25.5.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"vitest": "4.1.2"
|
|
124
124
|
},
|
|
125
125
|
"peerDependencies": {
|
|
126
|
-
"intlayer": "8.6.
|
|
126
|
+
"intlayer": "8.6.1",
|
|
127
127
|
"lit": ">=3.0.0"
|
|
128
128
|
},
|
|
129
129
|
"peerDependenciesMeta": {
|