sample-cross-fx 0.14.15 → 0.14.16-beta.3841
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.
|
@@ -125350,7 +125350,7 @@ function prefixMediaSources(component, prefix) {
|
|
|
125350
125350
|
|
|
125351
125351
|
function project(component, destination, options) {
|
|
125352
125352
|
(options === null || options === void 0 ? void 0 : options.resourcePathRoot) && prefixMediaSources(component, options.resourcePathRoot);
|
|
125353
|
-
|
|
125353
|
+
destination.appendChild(component);
|
|
125354
125354
|
}
|
|
125355
125355
|
|
|
125356
125356
|
function createConverter(lazy) {
|
|
@@ -125378,8 +125378,8 @@ function createConverter(lazy) {
|
|
|
125378
125378
|
(loader || (loader = boot())).then(dependency).then(() => (0,_interop__WEBPACK_IMPORTED_MODULE_0__.activate)(moduleName, props)).then(refId => {
|
|
125379
125379
|
if (state === 'fresh') {
|
|
125380
125380
|
id = refId;
|
|
125381
|
-
|
|
125382
|
-
|
|
125381
|
+
node = root.querySelector(`#${id} > div`);
|
|
125382
|
+
project(node, el, options);
|
|
125383
125383
|
state = 'mounted';
|
|
125384
125384
|
referenceId = refId;
|
|
125385
125385
|
}
|
|
@@ -125572,9 +125572,12 @@ function findTarget(target = document.body) {
|
|
|
125572
125572
|
function dispatchToRoot(event) {
|
|
125573
125573
|
var _a;
|
|
125574
125574
|
|
|
125575
|
-
(0,_navigation__WEBPACK_IMPORTED_MODULE_0__.isInternalNavigation)(event) && (0,_navigation__WEBPACK_IMPORTED_MODULE_0__.performInternalNavigation)(event);
|
|
125576
|
-
|
|
125577
|
-
(
|
|
125575
|
+
(0,_navigation__WEBPACK_IMPORTED_MODULE_0__.isInternalNavigation)(event) && (0,_navigation__WEBPACK_IMPORTED_MODULE_0__.performInternalNavigation)(event); // the mutation event cannot be cloned (at least in Webkit-based browsers)
|
|
125576
|
+
|
|
125577
|
+
if (!(event instanceof MutationEvent)) {
|
|
125578
|
+
const eventClone = new event.constructor(event.type, event);
|
|
125579
|
+
(_a = document.getElementById(blazorRootId)) === null || _a === void 0 ? void 0 : _a.dispatchEvent(eventClone);
|
|
125580
|
+
}
|
|
125578
125581
|
}
|
|
125579
125582
|
|
|
125580
125583
|
function emitRenderEvent(source, name, params) {
|
|
@@ -128963,7 +128966,13 @@ function checkFetchPilets(fetchPilets) {
|
|
|
128963
128966
|
|
|
128964
128967
|
function loadMetadata(fetchPilets) {
|
|
128965
128968
|
if (checkFetchPilets(fetchPilets)) {
|
|
128966
|
-
return fetchPilets()
|
|
128969
|
+
return fetchPilets().then(pilets => {
|
|
128970
|
+
if (!Array.isArray(pilets)) {
|
|
128971
|
+
throw new Error('The fetched pilets metadata is not an array.');
|
|
128972
|
+
}
|
|
128973
|
+
|
|
128974
|
+
return pilets.map(meta => Object.assign({}, meta));
|
|
128975
|
+
});
|
|
128967
128976
|
}
|
|
128968
128977
|
|
|
128969
128978
|
return Promise.resolve([]);
|
|
@@ -128977,13 +128986,7 @@ function loadMetadata(fetchPilets) {
|
|
|
128977
128986
|
*/
|
|
128978
128987
|
|
|
128979
128988
|
function loadPilets(fetchPilets, loadPilet) {
|
|
128980
|
-
return loadMetadata(fetchPilets).then(pilets =>
|
|
128981
|
-
if (!Array.isArray(pilets)) {
|
|
128982
|
-
throw new Error('The fetched pilets metadata is not an array.');
|
|
128983
|
-
}
|
|
128984
|
-
|
|
128985
|
-
return Promise.all(pilets.map(loadPilet));
|
|
128986
|
-
});
|
|
128989
|
+
return loadMetadata(fetchPilets).then(pilets => Promise.all(pilets.map(loadPilet)));
|
|
128987
128990
|
}
|
|
128988
128991
|
/**
|
|
128989
128992
|
* Loads a pilet from the specified metadata and loader function.
|
|
@@ -131098,7 +131101,7 @@ function createInstance(config = {}) {
|
|
|
131098
131101
|
const createApi = apiFactory(context, usedPlugins);
|
|
131099
131102
|
const root = createApi({
|
|
131100
131103
|
name: 'root',
|
|
131101
|
-
version: "0.14.
|
|
131104
|
+
version: "0.14.16-beta.3841" || 0,
|
|
131102
131105
|
spec: ''
|
|
131103
131106
|
});
|
|
131104
131107
|
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -133573,11 +133576,11 @@ function installPiralDebug(options) {
|
|
|
133573
133576
|
debug: debugApiVersion,
|
|
133574
133577
|
instance: {
|
|
133575
133578
|
name: "sample-cross-fx",
|
|
133576
|
-
version: "0.14.
|
|
133579
|
+
version: "0.14.16-beta.3841",
|
|
133577
133580
|
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,preact,riot,rxjs,vue,zone.js,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
|
|
133578
133581
|
},
|
|
133579
133582
|
build: {
|
|
133580
|
-
date: "2022-03-
|
|
133583
|
+
date: "2022-03-10T13:00:27.051Z",
|
|
133581
133584
|
cli: "0.14.15",
|
|
133582
133585
|
compat: "0.14"
|
|
133583
133586
|
},
|
|
@@ -255746,4 +255749,4 @@ const app = React.createElement(piral_core_1.Piral, {
|
|
|
255746
255749
|
|
|
255747
255750
|
/******/ })()
|
|
255748
255751
|
;
|
|
255749
|
-
//# sourceMappingURL=index.
|
|
255752
|
+
//# sourceMappingURL=index.b5025f.js.map
|