sample-cross-fx 0.15.8-beta.5229 → 0.15.8-beta.5261
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/app/{index.eaecca.js → index.c4a7dc.js} +83 -71
- package/app/{index.eaecca.js.map → index.c4a7dc.js.map} +1 -1
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +20 -20
|
@@ -54385,7 +54385,7 @@ function createConverter(lazy, opts, language, logLevel) {
|
|
|
54385
54385
|
});
|
|
54386
54386
|
}
|
|
54387
54387
|
|
|
54388
|
-
(loader || (loader = boot())).then(config => dependency(config).then(() => {
|
|
54388
|
+
(loader || (convert.loader = loader = boot())).then(config => dependency(config).then(() => {
|
|
54389
54389
|
if (locals.state === 'fresh') {
|
|
54390
54390
|
const [_, capabilities, applyChanges] = config;
|
|
54391
54391
|
const fn = capabilities.includes('custom-element') ? mountModern : mountClassic;
|
|
@@ -54533,84 +54533,96 @@ function createDependencyLoader(convert) {
|
|
|
54533
54533
|
|
|
54534
54534
|
defineBlazorReferences(references, meta = {}, satellites = {}, prio = 0) {
|
|
54535
54535
|
prio = Math.max(prio, 0);
|
|
54536
|
-
const
|
|
54537
|
-
|
|
54538
|
-
// let others finish first
|
|
54539
|
-
yield Promise.all(depsWithPrios.filter(m => m.prio > prio).map(m => m.promise));
|
|
54540
|
-
window.dispatchEvent(new CustomEvent('loading-blazor-pilet', {
|
|
54541
|
-
detail: meta
|
|
54542
|
-
}));
|
|
54536
|
+
const depWithPrio = {
|
|
54537
|
+
prio,
|
|
54543
54538
|
|
|
54544
|
-
|
|
54545
|
-
|
|
54546
|
-
|
|
54547
|
-
satellites = undefined;
|
|
54548
|
-
}
|
|
54549
|
-
|
|
54550
|
-
const dependencies = references.filter(m => m.endsWith('.dll'));
|
|
54551
|
-
const dllUrl = dependencies.pop();
|
|
54552
|
-
const piletName = dllUrl.substring(0, dllUrl.length - 4);
|
|
54553
|
-
const piletPdb = `${piletName}.pdb`;
|
|
54554
|
-
const pdbUrl = references.find(m => m === piletPdb);
|
|
54555
|
-
const id = Math.random().toString(26).substring(2);
|
|
54556
|
-
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadBlazorPilet)(id, {
|
|
54557
|
-
name: meta.name || '(unknown)',
|
|
54558
|
-
version: meta.version || '0.0.0',
|
|
54559
|
-
config: JSON.stringify(meta.config || {}),
|
|
54560
|
-
baseUrl: meta.basePath || dllUrl.substring(0, dllUrl.lastIndexOf('/')).replace('/_framework/', '/'),
|
|
54561
|
-
dependencies,
|
|
54562
|
-
satellites,
|
|
54563
|
-
dllUrl,
|
|
54564
|
-
pdbUrl
|
|
54565
|
-
});
|
|
54566
|
-
loadedBlazorPilets.push(id);
|
|
54567
|
-
} else {
|
|
54568
|
-
// old loading mechanism
|
|
54569
|
-
for (const dllUrl of references) {
|
|
54570
|
-
const dllName = dllUrl.substring(dllUrl.lastIndexOf('/') + 1);
|
|
54539
|
+
load() {
|
|
54540
|
+
return Promise.resolve();
|
|
54541
|
+
}
|
|
54571
54542
|
|
|
54572
|
-
|
|
54573
|
-
|
|
54543
|
+
};
|
|
54544
|
+
let result = false;
|
|
54574
54545
|
|
|
54575
|
-
|
|
54576
|
-
|
|
54577
|
-
|
|
54578
|
-
|
|
54579
|
-
|
|
54580
|
-
|
|
54581
|
-
|
|
54582
|
-
|
|
54583
|
-
|
|
54584
|
-
|
|
54585
|
-
|
|
54586
|
-
|
|
54587
|
-
|
|
54588
|
-
|
|
54589
|
-
|
|
54590
|
-
|
|
54546
|
+
const load = ([_, capabilities]) => (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
|
|
54547
|
+
// let others finish first
|
|
54548
|
+
yield Promise.all(depsWithPrios.filter(m => m.prio > prio).map(m => m.load()));
|
|
54549
|
+
window.dispatchEvent(new CustomEvent('loading-blazor-pilet', {
|
|
54550
|
+
detail: meta
|
|
54551
|
+
}));
|
|
54552
|
+
|
|
54553
|
+
if (capabilities.includes('load')) {
|
|
54554
|
+
// new loading mechanism
|
|
54555
|
+
if (!capabilities.includes('language')) {
|
|
54556
|
+
satellites = undefined;
|
|
54557
|
+
}
|
|
54558
|
+
|
|
54559
|
+
const dependencies = references.filter(m => m.endsWith('.dll'));
|
|
54560
|
+
const dllUrl = dependencies.pop();
|
|
54561
|
+
const piletName = dllUrl.substring(0, dllUrl.length - 4);
|
|
54562
|
+
const piletPdb = `${piletName}.pdb`;
|
|
54563
|
+
const pdbUrl = references.find(m => m === piletPdb);
|
|
54564
|
+
const id = Math.random().toString(26).substring(2);
|
|
54565
|
+
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadBlazorPilet)(id, {
|
|
54566
|
+
name: meta.name || '(unknown)',
|
|
54567
|
+
version: meta.version || '0.0.0',
|
|
54568
|
+
config: JSON.stringify(meta.config || {}),
|
|
54569
|
+
baseUrl: meta.basePath || dllUrl.substring(0, dllUrl.lastIndexOf('/')).replace('/_framework/', '/'),
|
|
54570
|
+
dependencies,
|
|
54571
|
+
satellites,
|
|
54572
|
+
dllUrl,
|
|
54573
|
+
pdbUrl
|
|
54574
|
+
});
|
|
54575
|
+
loadedBlazorPilets.push(id);
|
|
54576
|
+
} else {
|
|
54577
|
+
// old loading mechanism
|
|
54578
|
+
for (const dllUrl of references) {
|
|
54579
|
+
const dllName = dllUrl.substring(dllUrl.lastIndexOf('/') + 1);
|
|
54591
54580
|
|
|
54592
|
-
|
|
54581
|
+
if (dllUrl.endsWith('.dll')) {
|
|
54582
|
+
const entry = loadedDependencies.find(m => m.name === dllName);
|
|
54583
|
+
|
|
54584
|
+
if (entry) {
|
|
54585
|
+
entry.count++;
|
|
54586
|
+
yield entry.promise;
|
|
54587
|
+
} else {
|
|
54588
|
+
const urlWithoutExtension = dllUrl.substring(0, dllUrl.length - 4);
|
|
54589
|
+
const pdbName = `${urlWithoutExtension}.pdb`;
|
|
54590
|
+
const pdbUrl = references.find(m => m === pdbName);
|
|
54591
|
+
const promise = pdbUrl ? (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadResourceWithSymbol)(dllUrl, pdbUrl) : (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadResource)(dllUrl);
|
|
54592
|
+
loadedDependencies.push({
|
|
54593
|
+
name: dllName,
|
|
54594
|
+
url: dllUrl,
|
|
54595
|
+
count: 1,
|
|
54596
|
+
promise
|
|
54597
|
+
});
|
|
54598
|
+
yield promise;
|
|
54593
54599
|
}
|
|
54600
|
+
|
|
54601
|
+
definedBlazorReferences.push(dllName);
|
|
54594
54602
|
}
|
|
54595
|
-
}
|
|
54603
|
+
}
|
|
54604
|
+
} // inform remaining that this one finished
|
|
54596
54605
|
|
|
54597
54606
|
|
|
54598
|
-
|
|
54599
|
-
|
|
54600
|
-
|
|
54601
|
-
|
|
54602
|
-
});
|
|
54607
|
+
window.dispatchEvent(new CustomEvent('loaded-blazor-pilet', {
|
|
54608
|
+
detail: meta
|
|
54609
|
+
}));
|
|
54610
|
+
});
|
|
54603
54611
|
|
|
54604
|
-
|
|
54612
|
+
depWithPrio.load = () => {
|
|
54613
|
+
if (!result) {
|
|
54614
|
+
result = convert.loader.then(load);
|
|
54615
|
+
}
|
|
54605
54616
|
|
|
54606
|
-
|
|
54607
|
-
}
|
|
54617
|
+
return result;
|
|
54618
|
+
};
|
|
54619
|
+
|
|
54620
|
+
result = !convert.lazy && convert.loader.then(load);
|
|
54621
|
+
|
|
54622
|
+
dependency = config => result || (result = load(config));
|
|
54608
54623
|
|
|
54609
54624
|
if (prio) {
|
|
54610
|
-
depsWithPrios.push(
|
|
54611
|
-
prio,
|
|
54612
|
-
promise
|
|
54613
|
-
});
|
|
54625
|
+
depsWithPrios.push(depWithPrio);
|
|
54614
54626
|
}
|
|
54615
54627
|
},
|
|
54616
54628
|
|
|
@@ -63791,12 +63803,12 @@ function installPiralDebug(options) {
|
|
|
63791
63803
|
debug: debugApiVersion,
|
|
63792
63804
|
instance: {
|
|
63793
63805
|
name: "sample-cross-fx",
|
|
63794
|
-
version: "0.15.8-beta.
|
|
63806
|
+
version: "0.15.8-beta.5261",
|
|
63795
63807
|
dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,piral-ng/common,preact,riot,rxjs,vue,zone.js,tslib,react,react-dom,react-router,react-router-dom"
|
|
63796
63808
|
},
|
|
63797
63809
|
build: {
|
|
63798
|
-
date: "2023-03-
|
|
63799
|
-
cli: "0.15.8-beta.
|
|
63810
|
+
date: "2023-03-06T16:06:11.828Z",
|
|
63811
|
+
cli: "0.15.8-beta.5261",
|
|
63800
63812
|
compat: "0.15"
|
|
63801
63813
|
}
|
|
63802
63814
|
};
|
|
@@ -216644,4 +216656,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
216644
216656
|
|
|
216645
216657
|
/******/ })()
|
|
216646
216658
|
;
|
|
216647
|
-
//# sourceMappingURL=index.
|
|
216659
|
+
//# sourceMappingURL=index.c4a7dc.js.map
|