lit-intlayer 9.5.8 → 9.5.9-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/cjs/plugins.cjs +1 -1
- package/dist/esm/plugins.mjs +41 -44
- package/dist/types/plugins.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cjs/plugins.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));const c=require("../installIntlayer-DOvWQYtw.js"),l=require("./markdown/runtime.cjs"),u=require("./renderIntlayerNode.cjs");let d=require("@intlayer/config/built"),f=require("@intlayer/core/interpreter"),p=require("@intlayer/core/markdown"),m=require("@intlayer/types/nodeType");m=s(m);let h=require("lit/directives/unsafe-html.js"),g=require("lit/static-html.js");var _=(e=``,t={})=>(0,p.compileWithOptions)(e,l.default,t),v=(e,t,n={})=>{let r=typeof e==`string`?(0,h.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)}})},y=e=>e.replace(/&/g,`&`).replace(/"/g,`"`),b=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),x={id:`intlayer-node-plugin`,canHandle:e=>typeof e==`bigint`||typeof e==`string`||typeof e==`number`,transform:(e,{children:t,keyPath:n,dictionaryKey:r,...i})=>{if(process.env.INTLAYER_EDITOR_ENABLED!==`false`&&d.editor.enabled){let e=String(t??``);return v(`<intlayer-content-selector-wrapper key-path="${y(JSON.stringify(n??[]))}" dictionary-key="${y(String(r??``))}">${b(e)}</intlayer-content-selector-wrapper>`,e)}return u.renderIntlayerNode({...i,value:t,children:t})}},S=process.env.INTLAYER_NODE_TYPE_INSERTION===`false`?f.fallbackPlugin:{id:`insertion-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===m.INSERTION,transform:(e,t,n)=>{let r=[...t.keyPath,{type:m.INSERTION}],i=e[m.INSERTION],a={id:`insertion-string-plugin`,canHandle:e=>typeof e==`string`||(0,f.isInterpolableWrapperNode)(e),transform:(e,n,r)=>{if((0,f.isInterpolableWrapperNode)(e))return i=>(0,f.transformInterpolableNode)(e,i,n,t.plugins,r);let i=r(e,{...n,children:e,plugins:(t.plugins??[]).filter(e=>e.id!==`intlayer-node-plugin`)});return e=>{let a=(0,f.splitInsertionTemplate)(i,e),o=a.isSimple?a.parts:a.parts.join(``);return r(o,{...n,plugins:t.plugins,children:o})}}},o=n(i,{...t,children:i,keyPath:r,plugins:[a,...t.plugins??[]]});return
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,s)=>(s=n==null?{}:e(i(n)),o(r||!n||!n.__esModule||!a.call(n,`default`)?t(s,`default`,{value:n,enumerable:!0}):s,n));const c=require("../installIntlayer-DOvWQYtw.js"),l=require("./markdown/runtime.cjs"),u=require("./renderIntlayerNode.cjs");let d=require("@intlayer/config/built"),f=require("@intlayer/core/interpreter"),p=require("@intlayer/core/markdown"),m=require("@intlayer/types/nodeType");m=s(m);let h=require("lit/directives/unsafe-html.js"),g=require("lit/static-html.js");var _=(e=``,t={})=>(0,p.compileWithOptions)(e,l.default,t),v=(e,t,n={})=>{let r=typeof e==`string`?(0,h.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)}})},y=e=>e.replace(/&/g,`&`).replace(/"/g,`"`),b=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`),x={id:`intlayer-node-plugin`,canHandle:e=>typeof e==`bigint`||typeof e==`string`||typeof e==`number`,transform:(e,{children:t,keyPath:n,dictionaryKey:r,...i})=>{if(process.env.INTLAYER_EDITOR_ENABLED!==`false`&&d.editor.enabled){let e=String(t??``);return v(`<intlayer-content-selector-wrapper key-path="${y(JSON.stringify(n??[]))}" dictionary-key="${y(String(r??``))}">${b(e)}</intlayer-content-selector-wrapper>`,e)}return u.renderIntlayerNode({...i,value:t,children:t})}},S=process.env.INTLAYER_NODE_TYPE_INSERTION===`false`?f.fallbackPlugin:{id:`insertion-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===m.INSERTION,transform:(e,t,n)=>{let r=[...t.keyPath,{type:m.INSERTION}],i=e[m.INSERTION],a={id:`insertion-string-plugin`,canHandle:e=>typeof e==`string`||(0,f.isInterpolableWrapperNode)(e),transform:(e,n,r)=>{if((0,f.isInterpolableWrapperNode)(e))return i=>(0,f.transformInterpolableNode)(e,i,n,t.plugins,r);let i=r(e,{...n,children:e,plugins:(t.plugins??[]).filter(e=>e.id!==`intlayer-node-plugin`)});return e=>{let a=(0,f.splitInsertionTemplate)(i,e),o=a.isSimple?a.parts:a.parts.join(``);return r(o,{...n,plugins:t.plugins,children:o})}}},o=n(i,{...t,children:i,keyPath:r,plugins:[a,...t.plugins??[]]});return(0,f.resolveInsertedSelector)(i,o)}},C=process.env.INTLAYER_NODE_TYPE_MARKDOWN===`false`?f.fallbackPlugin:{id:`markdown-string-plugin`,canHandle:e=>typeof e==`string`,transform:(e,t,n)=>{let{plugins:r,...i}=t,{keyPath:a,dictionaryKey:o}=i,s=n((0,p.getMarkdownMetadata)(e)??{},{plugins:[{id:`markdown-metadata-plugin`,canHandle:e=>typeof e==`string`||typeof e==`number`||typeof e==`boolean`||!e,transform:(t,n)=>u.renderIntlayerNode({...n,value:t,children:e})}],dictionaryKey:i.dictionaryKey,keyPath:[]}),c=_(e),l=t=>{let n=_(e,{components:t});return process.env.INTLAYER_EDITOR_ENABLED!==`false`&&d.editor.enabled?v(`<intlayer-content-selector-wrapper key-path="${y(JSON.stringify(a??[]))}" dictionary-key="${y(String(o??``))}">${n}</intlayer-content-selector-wrapper>`,e):v(n,e)};return process.env.INTLAYER_EDITOR_ENABLED!==`false`&&d.editor.enabled?v(`<intlayer-content-selector-wrapper key-path="${y(JSON.stringify(a??[]))}" dictionary-key="${y(String(o??``))}">${c}</intlayer-content-selector-wrapper>`,e,{metadata:s,use:l}):v(c,e,{metadata:s,use:l})}},w=process.env.INTLAYER_NODE_TYPE_MARKDOWN===`false`?f.fallbackPlugin:{id:`markdown-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===m.MARKDOWN,transform:(e,t,n)=>{let r=[...t.keyPath,{type:m.MARKDOWN}],i=e[m.MARKDOWN];return n(i,{...t,children:i,keyPath:r,plugins:[C,...t.plugins??[]]})}},T=process.env.INTLAYER_NODE_TYPE_HTML===`false`?f.fallbackPlugin:{id:`html-plugin`,canHandle:e=>typeof e==`object`&&e?.nodeType===m.HTML,transform:(e,t)=>{let n=e[m.HTML],{keyPath:r,dictionaryKey:i}=t,a=(e={})=>{let t=Object.fromEntries(Object.entries(e).filter(([,e])=>e).map(([e,t])=>[e,e=>t(e)])),a=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=>g.html`<${(0,g.unsafeStatic)(t)} ...${e}>${e.children}</${(0,g.unsafeStatic)(t)}>`}}),o=(0,f.getHTML)(n,a);return process.env.INTLAYER_EDITOR_ENABLED!==`false`&&d.editor.enabled?v(`<intlayer-content-selector-wrapper key-path="${y(JSON.stringify(r??[]))}" dictionary-key="${y(String(i??``))}">${o}</intlayer-content-selector-wrapper>`,n):v(o,n)};return process.env.INTLAYER_EDITOR_ENABLED!==`false`&&d.editor.enabled?v(`<intlayer-content-selector-wrapper key-path="${y(JSON.stringify(r??[]))}" dictionary-key="${y(String(i??``))}">${n}</intlayer-content-selector-wrapper>`,n,{use:a}):v(n,n,{use:a})}},E=new Map,D=(e,t=!0)=>{let n=e??(typeof window<`u`&&c.r()?.locale)??d.internationalization.defaultLocale,r=`${n}_${t}`;if(E.has(r))return E.get(r);let i=[(0,f.translationPlugin)(e??d.internationalization.defaultLocale,t?d.internationalization.defaultLocale:void 0),f.enumerationPlugin,(0,f.pluralPlugin)(n),f.conditionPlugin,(0,f.nestedPlugin)(n),f.filePlugin,f.genderPlugin,f.selectPlugin,x,S,w,T];return E.set(r,i),i};exports.getPlugins=D,exports.htmlPlugin=T,exports.insertionPlugin=S,exports.intlayerNodePlugins=x,exports.markdownPlugin=w,exports.markdownStringPlugin=C;
|
package/dist/esm/plugins.mjs
CHANGED
|
@@ -2,26 +2,26 @@ import { r as e } from "../installIntlayer-DT6bzUDN.mjs";
|
|
|
2
2
|
import t from "./markdown/runtime.mjs";
|
|
3
3
|
import { renderIntlayerNode as n } from "./renderIntlayerNode.mjs";
|
|
4
4
|
import { editor as r, internationalization as i } from "@intlayer/config/built";
|
|
5
|
-
import { conditionPlugin as a, enumerationPlugin as o, fallbackPlugin as s, filePlugin as c, genderPlugin as l, getHTML as u, isInterpolableWrapperNode as d, nestedPlugin as f, pluralPlugin as p,
|
|
6
|
-
import { compileWithOptions as
|
|
7
|
-
import * as
|
|
8
|
-
import { unsafeHTML as
|
|
9
|
-
import { html as
|
|
5
|
+
import { conditionPlugin as a, enumerationPlugin as o, fallbackPlugin as s, filePlugin as c, genderPlugin as l, getHTML as u, isInterpolableWrapperNode as d, nestedPlugin as f, pluralPlugin as p, resolveInsertedSelector as m, selectPlugin as h, splitInsertionTemplate as g, transformInterpolableNode as _, translationPlugin as v } from "@intlayer/core/interpreter";
|
|
6
|
+
import { compileWithOptions as y, getMarkdownMetadata as b } from "@intlayer/core/markdown";
|
|
7
|
+
import * as x from "@intlayer/types/nodeType";
|
|
8
|
+
import { unsafeHTML as S } from "lit/directives/unsafe-html.js";
|
|
9
|
+
import { html as C, unsafeStatic as w } from "lit/static-html.js";
|
|
10
10
|
//#region src/plugins.ts
|
|
11
|
-
var
|
|
12
|
-
let r = typeof e == "string" ?
|
|
11
|
+
var T = (e = "", n = {}) => y(e, t, n), E = (e, t, n = {}) => {
|
|
12
|
+
let r = typeof e == "string" ? S(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
|
+
}, D = (e) => e.replace(/&/g, "&").replace(/"/g, """), O = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), k = {
|
|
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: i, dictionaryKey: a, ...o }) => {
|
|
22
22
|
if (process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled) {
|
|
23
23
|
let e = String(t ?? "");
|
|
24
|
-
return
|
|
24
|
+
return E(`<intlayer-content-selector-wrapper key-path="${D(JSON.stringify(i ?? []))}" dictionary-key="${D(String(a ?? ""))}">${O(e)}</intlayer-content-selector-wrapper>`, e);
|
|
25
25
|
}
|
|
26
26
|
return n({
|
|
27
27
|
...o,
|
|
@@ -29,22 +29,22 @@ var w = (e = "", n = {}) => v(e, t, n), T = (e, t, n = {}) => {
|
|
|
29
29
|
children: t
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, A = process.env.INTLAYER_NODE_TYPE_INSERTION === "false" ? s : {
|
|
33
33
|
id: "insertion-plugin",
|
|
34
|
-
canHandle: (e) => typeof e == "object" && e?.nodeType ===
|
|
34
|
+
canHandle: (e) => typeof e == "object" && e?.nodeType === x.INSERTION,
|
|
35
35
|
transform: (e, t, n) => {
|
|
36
|
-
let r = [...t.keyPath, { type:
|
|
36
|
+
let r = [...t.keyPath, { type: x.INSERTION }], i = e[x.INSERTION], a = {
|
|
37
37
|
id: "insertion-string-plugin",
|
|
38
38
|
canHandle: (e) => typeof e == "string" || d(e),
|
|
39
39
|
transform: (e, n, r) => {
|
|
40
|
-
if (d(e)) return (i) =>
|
|
40
|
+
if (d(e)) return (i) => _(e, i, n, t.plugins, r);
|
|
41
41
|
let i = r(e, {
|
|
42
42
|
...n,
|
|
43
43
|
children: e,
|
|
44
44
|
plugins: (t.plugins ?? []).filter((e) => e.id !== "intlayer-node-plugin")
|
|
45
45
|
});
|
|
46
46
|
return (e) => {
|
|
47
|
-
let a =
|
|
47
|
+
let a = g(i, e), o = a.isSimple ? a.parts : a.parts.join("");
|
|
48
48
|
return r(o, {
|
|
49
49
|
...n,
|
|
50
50
|
plugins: t.plugins,
|
|
@@ -58,16 +58,13 @@ var w = (e = "", n = {}) => v(e, t, n), T = (e, t, n = {}) => {
|
|
|
58
58
|
keyPath: r,
|
|
59
59
|
plugins: [a, ...t.plugins ?? []]
|
|
60
60
|
});
|
|
61
|
-
return
|
|
62
|
-
let n = o(t);
|
|
63
|
-
return typeof n == "function" ? n(e) : n;
|
|
64
|
-
} : o;
|
|
61
|
+
return m(i, o);
|
|
65
62
|
}
|
|
66
|
-
},
|
|
63
|
+
}, j = process.env.INTLAYER_NODE_TYPE_MARKDOWN === "false" ? s : {
|
|
67
64
|
id: "markdown-string-plugin",
|
|
68
65
|
canHandle: (e) => typeof e == "string",
|
|
69
66
|
transform: (e, t, i) => {
|
|
70
|
-
let { plugins: a, ...o } = t, { keyPath: s, dictionaryKey: c } = o, l = i(
|
|
67
|
+
let { plugins: a, ...o } = t, { keyPath: s, dictionaryKey: c } = o, l = i(b(e) ?? {}, {
|
|
71
68
|
plugins: [{
|
|
72
69
|
id: "markdown-metadata-plugin",
|
|
73
70
|
canHandle: (e) => typeof e == "string" || typeof e == "number" || typeof e == "boolean" || !e,
|
|
@@ -79,61 +76,61 @@ var w = (e = "", n = {}) => v(e, t, n), T = (e, t, n = {}) => {
|
|
|
79
76
|
}],
|
|
80
77
|
dictionaryKey: o.dictionaryKey,
|
|
81
78
|
keyPath: []
|
|
82
|
-
}), u =
|
|
83
|
-
let n =
|
|
84
|
-
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ?
|
|
79
|
+
}), u = T(e), d = (t) => {
|
|
80
|
+
let n = T(e, { components: t });
|
|
81
|
+
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ? E(`<intlayer-content-selector-wrapper key-path="${D(JSON.stringify(s ?? []))}" dictionary-key="${D(String(c ?? ""))}">${n}</intlayer-content-selector-wrapper>`, e) : E(n, e);
|
|
85
82
|
};
|
|
86
|
-
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ?
|
|
83
|
+
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ? E(`<intlayer-content-selector-wrapper key-path="${D(JSON.stringify(s ?? []))}" dictionary-key="${D(String(c ?? ""))}">${u}</intlayer-content-selector-wrapper>`, e, {
|
|
87
84
|
metadata: l,
|
|
88
85
|
use: d
|
|
89
|
-
}) :
|
|
86
|
+
}) : E(u, e, {
|
|
90
87
|
metadata: l,
|
|
91
88
|
use: d
|
|
92
89
|
});
|
|
93
90
|
}
|
|
94
|
-
},
|
|
91
|
+
}, M = process.env.INTLAYER_NODE_TYPE_MARKDOWN === "false" ? s : {
|
|
95
92
|
id: "markdown-plugin",
|
|
96
|
-
canHandle: (e) => typeof e == "object" && e?.nodeType ===
|
|
93
|
+
canHandle: (e) => typeof e == "object" && e?.nodeType === x.MARKDOWN,
|
|
97
94
|
transform: (e, t, n) => {
|
|
98
|
-
let r = [...t.keyPath, { type:
|
|
95
|
+
let r = [...t.keyPath, { type: x.MARKDOWN }], i = e[x.MARKDOWN];
|
|
99
96
|
return n(i, {
|
|
100
97
|
...t,
|
|
101
98
|
children: i,
|
|
102
99
|
keyPath: r,
|
|
103
|
-
plugins: [
|
|
100
|
+
plugins: [j, ...t.plugins ?? []]
|
|
104
101
|
});
|
|
105
102
|
}
|
|
106
|
-
},
|
|
103
|
+
}, N = process.env.INTLAYER_NODE_TYPE_HTML === "false" ? s : {
|
|
107
104
|
id: "html-plugin",
|
|
108
|
-
canHandle: (e) => typeof e == "object" && e?.nodeType ===
|
|
105
|
+
canHandle: (e) => typeof e == "object" && e?.nodeType === x.HTML,
|
|
109
106
|
transform: (e, t) => {
|
|
110
|
-
let n = e[
|
|
107
|
+
let n = e[x.HTML], { keyPath: i, dictionaryKey: a } = t, o = (e = {}) => {
|
|
111
108
|
let t = Object.fromEntries(Object.entries(e).filter(([, e]) => e).map(([e, t]) => [e, (e) => t(e)])), o = new Proxy(t, { get(e, t) {
|
|
112
109
|
if (typeof t == "string" && t in e) return e[t];
|
|
113
|
-
if (typeof t == "string" && /^[a-z][a-z0-9]*$/.test(t)) return (e) =>
|
|
110
|
+
if (typeof t == "string" && /^[a-z][a-z0-9]*$/.test(t)) return (e) => C`<${w(t)} ...${e}>${e.children}</${w(t)}>`;
|
|
114
111
|
} }), s = u(n, o);
|
|
115
|
-
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ?
|
|
112
|
+
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ? E(`<intlayer-content-selector-wrapper key-path="${D(JSON.stringify(i ?? []))}" dictionary-key="${D(String(a ?? ""))}">${s}</intlayer-content-selector-wrapper>`, n) : E(s, n);
|
|
116
113
|
};
|
|
117
|
-
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ?
|
|
114
|
+
return process.env.INTLAYER_EDITOR_ENABLED !== "false" && r.enabled ? E(`<intlayer-content-selector-wrapper key-path="${D(JSON.stringify(i ?? []))}" dictionary-key="${D(String(a ?? ""))}">${n}</intlayer-content-selector-wrapper>`, n, { use: o }) : E(n, n, { use: o });
|
|
118
115
|
}
|
|
119
|
-
},
|
|
116
|
+
}, P = /* @__PURE__ */ new Map(), F = (t, n = !0) => {
|
|
120
117
|
let r = t ?? (typeof window < "u" && e()?.locale) ?? i.defaultLocale, s = `${r}_${n}`;
|
|
121
|
-
if (
|
|
118
|
+
if (P.has(s)) return P.get(s);
|
|
122
119
|
let u = [
|
|
123
|
-
|
|
120
|
+
v(t ?? i.defaultLocale, n ? i.defaultLocale : void 0),
|
|
124
121
|
o,
|
|
125
122
|
p(r),
|
|
126
123
|
a,
|
|
127
124
|
f(r),
|
|
128
125
|
c,
|
|
129
126
|
l,
|
|
130
|
-
|
|
131
|
-
O,
|
|
127
|
+
h,
|
|
132
128
|
k,
|
|
133
|
-
|
|
134
|
-
M
|
|
129
|
+
A,
|
|
130
|
+
M,
|
|
131
|
+
N
|
|
135
132
|
];
|
|
136
|
-
return
|
|
133
|
+
return P.set(s, u), u;
|
|
137
134
|
};
|
|
138
135
|
//#endregion
|
|
139
|
-
export {
|
|
136
|
+
export { F as getPlugins, N as htmlPlugin, A as insertionPlugin, k as intlayerNodePlugins, M as markdownPlugin, j as markdownStringPlugin };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/plugins.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,oBAAoB,IAAI,wBAAwB,EAMrD,KAAK,uBAAuB,IAAI,2BAA2B,EAG3D,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/plugins.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,oBAAoB,IAAI,wBAAwB,EAMrD,KAAK,uBAAuB,IAAI,2BAA2B,EAG3D,KAAK,OAAO,EAOb,MAAM,4BAA4B,CAAC;AAYpC,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAKtD,OAAO,KAAK,EAAE,cAAc,EAAoB,MAAM,cAAc,CAAC;AAErE,OAAO,EACL,KAAK,YAAY,IAAI,gBAAgB,EAEtC,MAAM,sBAAsB,CAAC;AA+C9B;;mDAEmD;AAEnD,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,MAAM,GAAG,MAAM,GACvD,YAAY,CAAC,CAAC,CAAC,GACf,KAAK,CAAC;AAEV,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAQ9D;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,OAkBjC,CAAC;AAEF;;mDAEmD;AAEnD,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,SAAS,aAAa,IAAI,CAAC,SAAS;IACpE,QAAQ,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC5B,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CA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