@fangzhongya/vue-archive 0.0.2-36 → 0.0.2-38
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/node/index.cjs +18 -16
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.js +18 -16
- package/dist/packages/utils/glob.cjs +2 -2
- package/dist/packages/utils/glob.js +16 -14
- package/package.json +1 -1
package/dist/node/index.cjs
CHANGED
|
@@ -64874,15 +64874,16 @@ function getLocalTextComponents(u) {
|
|
|
64874
64874
|
if (componentObj.raw) {
|
|
64875
64875
|
resolve3(componentObj.raw);
|
|
64876
64876
|
} else if (componentObj.getRaw) {
|
|
64877
|
-
componentObj.getRaw(componentObj).then(
|
|
64877
|
+
componentObj.getRaw(componentObj).then((s) => {
|
|
64878
64878
|
const m = (s || "") + "";
|
|
64879
|
-
|
|
64879
|
+
getComponentsProps(
|
|
64880
64880
|
m,
|
|
64881
64881
|
componentObj
|
|
64882
|
-
)
|
|
64883
|
-
|
|
64884
|
-
|
|
64885
|
-
|
|
64882
|
+
).then((text) => {
|
|
64883
|
+
componentObj.raw = text;
|
|
64884
|
+
componentObj.getRaw = null;
|
|
64885
|
+
resolve3(text);
|
|
64886
|
+
});
|
|
64886
64887
|
});
|
|
64887
64888
|
} else {
|
|
64888
64889
|
resolve3("");
|
|
@@ -66350,18 +66351,19 @@ function h3(div, sx, v) {
|
|
|
66350
66351
|
}
|
|
66351
66352
|
var setHtml = h3;
|
|
66352
66353
|
var configObj;
|
|
66353
|
-
var
|
|
66354
|
-
function nodeInit(c, callback) {
|
|
66354
|
+
var comps = [];
|
|
66355
|
+
async function nodeInit(c, callback) {
|
|
66355
66356
|
configObj = userConfig(c);
|
|
66356
66357
|
configObj._callback_ = callback;
|
|
66357
66358
|
if (typeof c.setHtml === "function") {
|
|
66358
66359
|
setHtml = c.setHtml;
|
|
66359
66360
|
}
|
|
66360
66361
|
Fang = runDev(_optionalChain([c, 'optionalAccess', _64 => _64.create]));
|
|
66361
|
-
getCompoNameObj()
|
|
66362
|
-
|
|
66363
|
-
|
|
66364
|
-
|
|
66362
|
+
comps = getCompoNameObj();
|
|
66363
|
+
for (let index = 0; index < comps.length; index++) {
|
|
66364
|
+
const element = comps[index];
|
|
66365
|
+
await getCompoData(element);
|
|
66366
|
+
}
|
|
66365
66367
|
}
|
|
66366
66368
|
function gettests(obj, arr) {
|
|
66367
66369
|
const tests = getTestName(obj.key);
|
|
@@ -66394,9 +66396,9 @@ function setMd(obj, arr) {
|
|
|
66394
66396
|
"/" + obj.value + "/index.md"
|
|
66395
66397
|
);
|
|
66396
66398
|
Fang.fileOpen(sc, arr.join("\n\n"));
|
|
66397
|
-
if (
|
|
66399
|
+
if (comps.length == lss) {
|
|
66398
66400
|
if (configObj._callback_) {
|
|
66399
|
-
configObj._callback_(
|
|
66401
|
+
configObj._callback_(comps);
|
|
66400
66402
|
}
|
|
66401
66403
|
}
|
|
66402
66404
|
}
|
|
@@ -66419,10 +66421,10 @@ function setDom(dom) {
|
|
|
66419
66421
|
arr.push(prettierHtml(dom));
|
|
66420
66422
|
return arr;
|
|
66421
66423
|
}
|
|
66422
|
-
function getCompoData(value) {
|
|
66424
|
+
async function getCompoData(value) {
|
|
66423
66425
|
const arr = [];
|
|
66424
66426
|
arr.push("# " + value.name);
|
|
66425
|
-
getNotes2(value.key).then((obj) => {
|
|
66427
|
+
await getNotes2(value.key).then((obj) => {
|
|
66426
66428
|
let { titles: titles2, propss, slots, emitss, exposes } = obj;
|
|
66427
66429
|
const dom = setHtml(
|
|
66428
66430
|
"div",
|
package/dist/node/index.d.ts
CHANGED
|
@@ -105,6 +105,6 @@ interface ComponentsObj extends Component, TextObj {
|
|
|
105
105
|
interface NodeConfig extends Config {
|
|
106
106
|
[key: string]: any;
|
|
107
107
|
}
|
|
108
|
-
declare function nodeInit(c: NodeConfig, callback: (mls: ComponentsObj[]) => void): void
|
|
108
|
+
declare function nodeInit(c: NodeConfig, callback: (mls: ComponentsObj[]) => void): Promise<void>;
|
|
109
109
|
|
|
110
110
|
export { nodeInit };
|
package/dist/node/index.js
CHANGED
|
@@ -64874,15 +64874,16 @@ function getLocalTextComponents(u) {
|
|
|
64874
64874
|
if (componentObj.raw) {
|
|
64875
64875
|
resolve3(componentObj.raw);
|
|
64876
64876
|
} else if (componentObj.getRaw) {
|
|
64877
|
-
componentObj.getRaw(componentObj).then(
|
|
64877
|
+
componentObj.getRaw(componentObj).then((s) => {
|
|
64878
64878
|
const m = (s || "") + "";
|
|
64879
|
-
|
|
64879
|
+
getComponentsProps(
|
|
64880
64880
|
m,
|
|
64881
64881
|
componentObj
|
|
64882
|
-
)
|
|
64883
|
-
|
|
64884
|
-
|
|
64885
|
-
|
|
64882
|
+
).then((text) => {
|
|
64883
|
+
componentObj.raw = text;
|
|
64884
|
+
componentObj.getRaw = null;
|
|
64885
|
+
resolve3(text);
|
|
64886
|
+
});
|
|
64886
64887
|
});
|
|
64887
64888
|
} else {
|
|
64888
64889
|
resolve3("");
|
|
@@ -66350,18 +66351,19 @@ function h3(div, sx, v) {
|
|
|
66350
66351
|
}
|
|
66351
66352
|
var setHtml = h3;
|
|
66352
66353
|
var configObj;
|
|
66353
|
-
var
|
|
66354
|
-
function nodeInit(c, callback) {
|
|
66354
|
+
var comps = [];
|
|
66355
|
+
async function nodeInit(c, callback) {
|
|
66355
66356
|
configObj = userConfig(c);
|
|
66356
66357
|
configObj._callback_ = callback;
|
|
66357
66358
|
if (typeof c.setHtml === "function") {
|
|
66358
66359
|
setHtml = c.setHtml;
|
|
66359
66360
|
}
|
|
66360
66361
|
Fang = runDev(c?.create);
|
|
66361
|
-
getCompoNameObj()
|
|
66362
|
-
|
|
66363
|
-
|
|
66364
|
-
|
|
66362
|
+
comps = getCompoNameObj();
|
|
66363
|
+
for (let index = 0; index < comps.length; index++) {
|
|
66364
|
+
const element = comps[index];
|
|
66365
|
+
await getCompoData(element);
|
|
66366
|
+
}
|
|
66365
66367
|
}
|
|
66366
66368
|
function gettests(obj, arr) {
|
|
66367
66369
|
const tests = getTestName(obj.key);
|
|
@@ -66394,9 +66396,9 @@ function setMd(obj, arr) {
|
|
|
66394
66396
|
"/" + obj.value + "/index.md"
|
|
66395
66397
|
);
|
|
66396
66398
|
Fang.fileOpen(sc, arr.join("\n\n"));
|
|
66397
|
-
if (
|
|
66399
|
+
if (comps.length == lss) {
|
|
66398
66400
|
if (configObj._callback_) {
|
|
66399
|
-
configObj._callback_(
|
|
66401
|
+
configObj._callback_(comps);
|
|
66400
66402
|
}
|
|
66401
66403
|
}
|
|
66402
66404
|
}
|
|
@@ -66419,10 +66421,10 @@ function setDom(dom) {
|
|
|
66419
66421
|
arr.push(prettierHtml(dom));
|
|
66420
66422
|
return arr;
|
|
66421
66423
|
}
|
|
66422
|
-
function getCompoData(value) {
|
|
66424
|
+
async function getCompoData(value) {
|
|
66423
66425
|
const arr = [];
|
|
66424
66426
|
arr.push("# " + value.name);
|
|
66425
|
-
getNotes2(value.key).then((obj) => {
|
|
66427
|
+
await getNotes2(value.key).then((obj) => {
|
|
66426
66428
|
let { titles: titles2, propss, slots, emitss, exposes } = obj;
|
|
66427
66429
|
const dom = setHtml(
|
|
66428
66430
|
"div",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`)}async function v(e,t){let s=e;if(e&&(t.comprops||t.curprops)){let n=(await C(t.key,e,t.suffix,t.comprops||"")).filter(a=>m.isComprops(a.name,t.comprops||"")||m.isCurprops(a.name,t.curprops||""));s=await K(n)+s}return s}function ee(e){return new Promise(t=>{if(e){h();const s=f[e];s?s.raw?t(s.raw):s.getRaw?s.getRaw(s).then(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("../config.cjs"),m=require("./common.cjs"),w=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-J7CICTHH.cjs"),E=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.cjs"),L=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.cjs"),M=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.cjs"),q=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.cjs"),x=require("../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.cjs"),H=require("./index.cjs"),f={},R={},y=[],A={},S={},d={};function I(){return P.getConfig("example")}function j(e,t,s){const n=Object.assign({exampless:[],examplessRaw:[]},t,s),r=[],a=n.examples;a&&Object.keys(a).forEach(l=>{r.push(l),S[l]=a[l]});const i=n.examplesRaw,o=[];n.urls&&n.urls.length>0?(n.exampless=n.urls,n.urls.forEach(l=>{o.push(l),i&&(d[l]=N(i,l))})):(n.exampless=r,i&&Object.keys(i).forEach(l=>{o.push(l),i&&(d[l]=N(i,l))})),n.examples=void 0,n.examplessRaw=o,n.examplesRaw=void 0,A[e]=n}function N(e,t){return typeof e=="function"?e:e&&(e[t]||e)}async function k(e,t){let s="";if(t=="vue"){let r=new RegExp(/(<script([^>]*)>)((.|\n|\r)*)(<\/script>)/g).exec(e);r&&(s=r[3])}else(t=="js"||t=="ts"||t=="")&&(s=e);if(s){const n=await H.getTextImport(s);let r=n==null?void 0:n.map(i=>i.n);const a=[];return r&&r.length>0&&r.forEach(i=>{i&&(i.startsWith("./")||i.startsWith("../"))&&a.push(i)}),a}}function U(e){return new Promise(t=>{e?e.raw?t(e.raw):e.getRaw?e.getRaw(e).then(s=>{const n=(s||"")+"";e.raw=n,e.getRaw=null,t(n)}):t(""):t("")})}function V(e,t){e=(e||"")+"";let s="";switch(e){case"1":s=t.tdir+"/";break;case"2":s=t.adir+"/";break;case"3":s=t.tdir+"/"+t.adir+"/";break}return s}function W(e,t,s){var o,l;e=(e||"")+"",s=(s||"")+"";let n=w.humpToLine(t.name),r=[];const a=Object.values(t.aliass||{});if(e==="1")t.alias&&r.push(t.alias+"-"+n);else if(e==="2")a&&a.length>0&&a.forEach(c=>{r.push(c+"-"+n)});else if(e==="3"){let c="";t.alias&&(c=t.alias+"-"),a==null||a.forEach(u=>{r.push(c+u+"-"+n)})}else e==="4"?(o=t.aliasNames)==null||o.forEach(c=>{r.push(w.humpToLine(c))}):e=="9"&&(r.push(n),(l=t.aliasNames)==null||l.forEach(c=>{r.push(w.humpToLine(c))}));r.length==0&&r.push(n);let i=[];return s==="1"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(u,L.firstLower(u))}):s==="2"?r.forEach(c=>{let u=E.lineToLargeHump(c);i.push(c,u,L.firstLower(u))}):i=[...r],i=[...new Set(i)],i}function b(e,t,s,n){const r=[];return s.examplessRaw.forEach(a=>{for(let i=0;i<t.length;i++){const o=t[i];if(a==e+o+"/"+s.md+".md"){r.push({topurl:e,comkey:n.key,suffix:x.getSuffix(a),name:n.name,value:o,key:a,raw:"",getRaw:m.getRawValue(d,a)});break}}}),r}function T(e){h();const t=f[e];if(t.tests)return t.tests;{const s=A[t.dir],n=s.dir+V(s.level||0,t),r=W(s.aliaslevel||0,t,s.componentName||0);t.mds=b(n,r,s,t);const a={};return s.exampless.forEach(i=>{for(let o=0;o<r.length;o++){const l=r[o];if(i.startsWith(n+l+"/")){const c=new RegExp("^\\"+n+l+"/(.*)/index\\."+m.defaultExtensions.join("|")+"$");let u="",p=i.match(c);p&&p.length>1&&(u=p[1]),a[i]={topurl:n,name:l,value:u,suffix:x.getSuffix(i),comname:t.name,comkey:t.key,key:i,component:S[i],raw:"",getRaw:m.getRawValue(d,i)};break}}}),t.tests=a,a}}function B(e){if(e){const t=T(e);return Object.values(t)}else return[]}function D(e,t,s){h();const n=T(s),r=[];if(t){let a=n[t];if(a)return r.push(a),r}return Object.values(n).forEach(a=>{a.name+"/"+a.value==e&&r.push(a)}),r}function F(e){return T(e),f[e].mds}async function C(e,t,s,n){let r=await k(t,s)||[],a=e.split("/");return r.map(i=>{if(i.startsWith("./")){let o=a.slice(0,a.length-1).join("/"),l=i.substring(2);return{name:i,comprops:n||"",value:l,suffix:x.getSuffix(i),head:o,key:o+"/"+l}}else{let o=i.split("/"),l=0;for(let O=0;O<o.length;O++)if(o[O]!=".."){l=O;break}let c=o.slice(l,o.length),u=a.slice(0,a.length-l-1).join("/"),p=c.join("/");return{name:i,comprops:n||"",value:p,suffix:x.getSuffix(i),head:u,key:u+"/"+p}}})}function J(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>({raw:"",value:n.value,suffix:x.getSuffix(n.key),key:n.key,getRaw:m.getRawValue(d,n.key)}));q.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(o=>{const l=(o||"")+"";a.raw=l,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}function X(){const e=I(),t=P.getConfig("components");t==null||t.forEach(s=>{var r;$(s);let n=s.dir||((r=s==null?void 0:s.resolver)==null?void 0:r.dir)||"";j(n,e,s.example)})}const g="default";function Z(e){let t=w.humpToLine(e.name),s=[...e.aliasNames];s.push(t),s.forEach(n=>{y.push({name:n,value:e.key})})}function Q(e,t){const s={};t==null||t.forEach(n=>{f[n.key]=n,Z(n);const r=Object.values(n.aliass||{});r&&r.length?r.forEach(a=>{s[a]=s[a]||[],s[a].push(n.key)}):(s[g]=s[g]||[],s[g].push(n.key))})}function $(e){var n;let t,s;if(e.resolver)t=e.alias||((n=e.resolver)==null?void 0:n.alias)||g,s=m.getComponentsArr(e.resolver.urls||[],e.resolver,e.componentsRaw,e.components,e);else{t=e.alias||g;let r=(e==null?void 0:e.urls)||Object.keys(e.componentsRaw);s=m.getComponentsArr(r,e,e.componentsRaw,e.components,e)}s&&(s!=null&&s.props)&&s.props.forEach(r=>{R[r.key]=r}),Q(t,s.components)}function G(e){return h(),f[e]}function h(){return Object.keys(f).length==0&&X(),Object.values(f)}function Y(e,t,s){h();const n=[];if(s){let a=f[s];if(a&&a.key)return[a]}let r=w.humpToLine(e);return y.forEach(a=>{t?a.name.includes(r)&&n.push(f[a.value]):a.name==r&&n.push(f[a.value])}),M.duplicateRemoval(n,"key")}async function _(e,t){let s=e;if(e){let n=(await C(t.key,e,t.suffix,t.comprops)).filter(r=>r.key.startsWith(t.head)||m.isComprops(r.name,t.comprops||""));s=await K(n)+s}return s}function z(e){return new Promise(t=>{if(e&&e.length>0){let s=e.map(n=>R[n.key]||R[n.key+".js"]||R[n.key+".ts"]);q.asyncMergeArray(s,(n,r,a,i)=>{a.raw?n():a.getRaw?a.getRaw(a).then(async o=>{const l=(o||"")+"";let c=await _(l,e[i]);a.raw=c,a.getRaw=null,n()}):n()}).then(()=>{t(s)})}else t([])})}async function K(e){const t=await z(e);return((t==null?void 0:t.map(n=>n.raw))||[]).join(`
|
|
2
|
+
`)}async function v(e,t){let s=e;if(e&&(t.comprops||t.curprops)){let n=(await C(t.key,e,t.suffix,t.comprops||"")).filter(a=>m.isComprops(a.name,t.comprops||"")||m.isCurprops(a.name,t.curprops||""));s=await K(n)+s}return s}function ee(e){return new Promise(t=>{if(e){h();const s=f[e];s?s.raw?t(s.raw):s.getRaw?s.getRaw(s).then(n=>{const r=(n||"")+"";v(r,s).then(a=>{s.raw=a,s.getRaw=null,t(a)})}):t(""):t("")}else t("")})}exports.defaultName=g;exports.getCompoName=Y;exports.getCompoNameKey=G;exports.getCompoNameObj=h;exports.getKeyMds=F;exports.getLocalTextArr=J;exports.getLocalTextComponents=ee;exports.getLocalTextTests=U;exports.getTestImportUrl=C;exports.getTestName=B;exports.getTestNameObj=D;
|
|
@@ -4,10 +4,10 @@ import { humpToLine as p } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0
|
|
|
4
4
|
import { lineToLargeHump as C } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-XCDKXZFR.js";
|
|
5
5
|
import { firstLower as N } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-4OBNLDTJ.js";
|
|
6
6
|
import { duplicateRemoval as V } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-ZVBCHJA5.js";
|
|
7
|
-
import { asyncMergeArray as
|
|
7
|
+
import { asyncMergeArray as A } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-Q6FMBSK4.js";
|
|
8
8
|
import { getSuffix as g } from "../../node_modules/.pnpm/@fangzhongya_utils@0.0.7-18/node_modules/@fangzhongya/utils/dist/chunk-UOADEBDH.js";
|
|
9
9
|
import { getTextImport as F } from "./index.js";
|
|
10
|
-
const m = {}, R = {},
|
|
10
|
+
const m = {}, R = {}, I = [], K = {}, y = {}, w = {};
|
|
11
11
|
function H() {
|
|
12
12
|
return L("example");
|
|
13
13
|
}
|
|
@@ -21,7 +21,7 @@ function $(e, t, s) {
|
|
|
21
21
|
s
|
|
22
22
|
), r = [], a = n.examples;
|
|
23
23
|
a && Object.keys(a).forEach((l) => {
|
|
24
|
-
r.push(l),
|
|
24
|
+
r.push(l), y[l] = a[l];
|
|
25
25
|
});
|
|
26
26
|
const i = n.examplesRaw, o = [];
|
|
27
27
|
n.urls && n.urls.length > 0 ? (n.exampless = n.urls, n.urls.forEach((l) => {
|
|
@@ -34,7 +34,7 @@ function $(e, t, s) {
|
|
|
34
34
|
i,
|
|
35
35
|
l
|
|
36
36
|
));
|
|
37
|
-
})), n.examples = void 0, n.examplessRaw = o, n.examplesRaw = void 0,
|
|
37
|
+
})), n.examples = void 0, n.examplessRaw = o, n.examplesRaw = void 0, K[e] = n;
|
|
38
38
|
}
|
|
39
39
|
function P(e, t) {
|
|
40
40
|
return typeof e == "function" ? e : e && (e[t] || e);
|
|
@@ -143,7 +143,7 @@ function E(e) {
|
|
|
143
143
|
if (t.tests)
|
|
144
144
|
return t.tests;
|
|
145
145
|
{
|
|
146
|
-
const s =
|
|
146
|
+
const s = K[t.dir], n = s.dir + q(s.level || 0, t), r = B(
|
|
147
147
|
s.aliaslevel || 0,
|
|
148
148
|
t,
|
|
149
149
|
s.componentName || 0
|
|
@@ -166,7 +166,7 @@ function E(e) {
|
|
|
166
166
|
comname: t.name,
|
|
167
167
|
comkey: t.key,
|
|
168
168
|
key: i,
|
|
169
|
-
component:
|
|
169
|
+
component: y[i],
|
|
170
170
|
raw: "",
|
|
171
171
|
getRaw: O(
|
|
172
172
|
w,
|
|
@@ -246,7 +246,7 @@ function me(e) {
|
|
|
246
246
|
n.key
|
|
247
247
|
)
|
|
248
248
|
}));
|
|
249
|
-
|
|
249
|
+
A(
|
|
250
250
|
s,
|
|
251
251
|
(n, r, a, i) => {
|
|
252
252
|
a.raw ? n() : a.getRaw ? a.getRaw(a).then((o) => {
|
|
@@ -274,7 +274,7 @@ const h = "default";
|
|
|
274
274
|
function J(e) {
|
|
275
275
|
let t = p(e.name), s = [...e.aliasNames];
|
|
276
276
|
s.push(t), s.forEach((n) => {
|
|
277
|
-
|
|
277
|
+
I.push({
|
|
278
278
|
name: n,
|
|
279
279
|
value: e.key
|
|
280
280
|
});
|
|
@@ -331,7 +331,7 @@ function pe(e, t, s) {
|
|
|
331
331
|
return [a];
|
|
332
332
|
}
|
|
333
333
|
let r = p(e);
|
|
334
|
-
return
|
|
334
|
+
return I.forEach((a) => {
|
|
335
335
|
t ? a.name.includes(r) && n.push(m[a.value]) : a.name == r && n.push(m[a.value]);
|
|
336
336
|
}), V(n, "key");
|
|
337
337
|
}
|
|
@@ -352,7 +352,7 @@ function Z(e) {
|
|
|
352
352
|
return new Promise((t) => {
|
|
353
353
|
if (e && e.length > 0) {
|
|
354
354
|
let s = e.map((n) => R[n.key] || R[n.key + ".js"] || R[n.key + ".ts"]);
|
|
355
|
-
|
|
355
|
+
A(
|
|
356
356
|
s,
|
|
357
357
|
(n, r, a, i) => {
|
|
358
358
|
a.raw ? n() : a.getRaw ? a.getRaw(a).then(async (o) => {
|
|
@@ -397,12 +397,14 @@ function he(e) {
|
|
|
397
397
|
if (e) {
|
|
398
398
|
x();
|
|
399
399
|
const s = m[e];
|
|
400
|
-
s ? s.raw ? t(s.raw) : s.getRaw ? s.getRaw(s).then(
|
|
401
|
-
const r = (n || "") + ""
|
|
400
|
+
s ? s.raw ? t(s.raw) : s.getRaw ? s.getRaw(s).then((n) => {
|
|
401
|
+
const r = (n || "") + "";
|
|
402
|
+
_(
|
|
402
403
|
r,
|
|
403
404
|
s
|
|
404
|
-
)
|
|
405
|
-
|
|
405
|
+
).then((a) => {
|
|
406
|
+
s.raw = a, s.getRaw = null, t(a);
|
|
407
|
+
});
|
|
406
408
|
}) : t("") : t("");
|
|
407
409
|
} else
|
|
408
410
|
t("");
|