sample-cross-fx 0.14.26-beta.4273 → 0.14.26-beta.4274
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.
|
@@ -131922,14 +131922,11 @@ function project(component, destination, options) {
|
|
|
131922
131922
|
|
|
131923
131923
|
function createConverter(lazy) {
|
|
131924
131924
|
const boot = (0,_interop__WEBPACK_IMPORTED_MODULE_0__.createBootLoader)(_infra_codegen__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
131925
|
-
const root = document.body.appendChild(document.createElement('div'));
|
|
131926
131925
|
let loader = !lazy && boot();
|
|
131927
|
-
root.style.display = 'none';
|
|
131928
|
-
root.id = 'blazor-root';
|
|
131929
131926
|
|
|
131930
131927
|
const enqueueChange = (locals, update) => {
|
|
131931
131928
|
if (locals.state === 'mounted') {
|
|
131932
|
-
update
|
|
131929
|
+
loader.then(update);
|
|
131933
131930
|
} else {
|
|
131934
131931
|
locals.update = update;
|
|
131935
131932
|
}
|
|
@@ -131943,17 +131940,17 @@ function createConverter(lazy) {
|
|
|
131943
131940
|
locals.state = 'fresh';
|
|
131944
131941
|
locals.update = noop;
|
|
131945
131942
|
locals.dispose = (0,_events__WEBPACK_IMPORTED_MODULE_2__.attachEvents)(el, ev => data.piral.renderHtmlExtension(ev.detail.target, ev.detail.props), ev => ev.detail.replace ? ctx.router.history.replace(ev.detail.to, ev.detail.store) : ctx.router.history.push(ev.detail.to, ev.detail.state));
|
|
131946
|
-
(loader || (loader = boot())).then(dependency).then(() => (0,_interop__WEBPACK_IMPORTED_MODULE_0__.activate)(moduleName, props)).then(refId => {
|
|
131943
|
+
(loader || (loader = boot())).then(root => dependency().then(() => (0,_interop__WEBPACK_IMPORTED_MODULE_0__.activate)(moduleName, props)).then(refId => {
|
|
131947
131944
|
if (locals.state === 'fresh') {
|
|
131948
131945
|
locals.id = refId;
|
|
131949
131946
|
locals.node = root.querySelector(`#${locals.id} > div`);
|
|
131950
131947
|
project(locals.node, el, options);
|
|
131951
131948
|
locals.state = 'mounted';
|
|
131952
131949
|
locals.referenceId = refId;
|
|
131953
|
-
locals.update();
|
|
131950
|
+
locals.update(root);
|
|
131954
131951
|
locals.update = noop;
|
|
131955
131952
|
}
|
|
131956
|
-
}).catch(err => console.error(err));
|
|
131953
|
+
})).catch(err => console.error(err));
|
|
131957
131954
|
},
|
|
131958
131955
|
|
|
131959
131956
|
update(el, data, ctx, locals) {
|
|
@@ -131967,7 +131964,7 @@ function createConverter(lazy) {
|
|
|
131967
131964
|
(0,_events__WEBPACK_IMPORTED_MODULE_2__.removeGlobalEventListeners)(el);
|
|
131968
131965
|
el.removeAttribute('data-blazor-pilet-root');
|
|
131969
131966
|
locals.dispose();
|
|
131970
|
-
enqueueChange(locals,
|
|
131967
|
+
enqueueChange(locals, root => {
|
|
131971
131968
|
root.querySelector(`#${locals.id}`).appendChild(locals.node);
|
|
131972
131969
|
(0,_interop__WEBPACK_IMPORTED_MODULE_0__.deactivate)(moduleName, locals.referenceId);
|
|
131973
131970
|
});
|
|
@@ -132094,7 +132091,9 @@ function createDependencyLoader(convert, lazy = true) {
|
|
|
132094
132091
|
|
|
132095
132092
|
releaseBlazorReferences() {
|
|
132096
132093
|
return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
|
|
132097
|
-
|
|
132094
|
+
const references = definedBlazorReferences.splice(0, definedBlazorReferences.length);
|
|
132095
|
+
|
|
132096
|
+
for (const reference of references) {
|
|
132098
132097
|
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.unloadResource)(reference);
|
|
132099
132098
|
}
|
|
132100
132099
|
});
|
|
@@ -132242,6 +132241,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
132242
132241
|
const coreLib = 'Piral.Blazor.Core';
|
|
132243
132242
|
|
|
132244
132243
|
function createBlazorStarter(publicPath) {
|
|
132244
|
+
const root = document.body.appendChild(document.createElement('div'));
|
|
132245
|
+
root.style.display = 'none';
|
|
132246
|
+
root.id = 'blazor-root';
|
|
132247
|
+
|
|
132245
132248
|
if (publicPath) {
|
|
132246
132249
|
const baseElement = document.head.querySelector('base') || document.head.appendChild(document.createElement('base'));
|
|
132247
132250
|
const originalBase = baseElement.href;
|
|
@@ -132251,11 +132254,12 @@ function createBlazorStarter(publicPath) {
|
|
|
132251
132254
|
|
|
132252
132255
|
return window.Blazor.start().then(() => {
|
|
132253
132256
|
baseElement.href = originalBase;
|
|
132257
|
+
return root;
|
|
132254
132258
|
});
|
|
132255
132259
|
};
|
|
132256
132260
|
}
|
|
132257
132261
|
|
|
132258
|
-
return () => window.Blazor.start();
|
|
132262
|
+
return () => window.Blazor.start().then(() => root);
|
|
132259
132263
|
}
|
|
132260
132264
|
|
|
132261
132265
|
function computePath() {
|
|
@@ -137349,7 +137353,7 @@ function createInstance(config = {}) {
|
|
|
137349
137353
|
const createApi = apiFactory(context, usedPlugins);
|
|
137350
137354
|
const root = createApi({
|
|
137351
137355
|
name: 'root',
|
|
137352
|
-
version: "0.14.26-beta.
|
|
137356
|
+
version: "0.14.26-beta.4274" || 0,
|
|
137353
137357
|
spec: ''
|
|
137354
137358
|
});
|
|
137355
137359
|
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -139349,11 +139353,11 @@ function installPiralDebug(options) {
|
|
|
139349
139353
|
debug: debugApiVersion,
|
|
139350
139354
|
instance: {
|
|
139351
139355
|
name: "sample-cross-fx",
|
|
139352
|
-
version: "0.14.26-beta.
|
|
139356
|
+
version: "0.14.26-beta.4274",
|
|
139353
139357
|
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,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
|
|
139354
139358
|
},
|
|
139355
139359
|
build: {
|
|
139356
|
-
date: "2022-06-04T07:
|
|
139360
|
+
date: "2022-06-04T07:58:24.058Z",
|
|
139357
139361
|
cli: "0.14.25",
|
|
139358
139362
|
compat: "0.14"
|
|
139359
139363
|
},
|
|
@@ -262802,4 +262806,4 @@ const app = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(piral_
|
|
|
262802
262806
|
|
|
262803
262807
|
/******/ })()
|
|
262804
262808
|
;
|
|
262805
|
-
//# sourceMappingURL=index.
|
|
262809
|
+
//# sourceMappingURL=index.906edf.js.map
|