sample-cross-fx 0.15.8-beta.5219 → 0.15.8-beta.5224
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.86b899.js → index.9e994a.js} +18 -7
- package/app/{index.86b899.js.map → index.9e994a.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
|
@@ -54281,12 +54281,18 @@ function makeUrl(href) {
|
|
|
54281
54281
|
return href;
|
|
54282
54282
|
}
|
|
54283
54283
|
|
|
54284
|
-
function createConverter(lazy, opts, language) {
|
|
54284
|
+
function createConverter(lazy, opts, language, logLevel) {
|
|
54285
54285
|
const bootLoader = (0,_interop__WEBPACK_IMPORTED_MODULE_1__.createBootLoader)(_infra_codegen__WEBPACK_IMPORTED_MODULE_0__["default"].url, _infra_codegen__WEBPACK_IMPORTED_MODULE_0__["default"].satellites);
|
|
54286
54286
|
|
|
54287
54287
|
const boot = opts => bootLoader(opts).then(res => (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this, void 0, void 0, function* () {
|
|
54288
54288
|
const [_, capabilities] = res;
|
|
54289
54289
|
|
|
54290
|
+
if (capabilities.includes('logging')) {
|
|
54291
|
+
if (typeof logLevel === 'number') {
|
|
54292
|
+
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.setLogLevel)(logLevel);
|
|
54293
|
+
}
|
|
54294
|
+
}
|
|
54295
|
+
|
|
54290
54296
|
if (language && capabilities.includes('language')) {
|
|
54291
54297
|
if (typeof language.current === 'string') {
|
|
54292
54298
|
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.setLanguage)(language.current);
|
|
@@ -54449,12 +54455,13 @@ function createBlazorApi(config = {}) {
|
|
|
54449
54455
|
const {
|
|
54450
54456
|
lazy,
|
|
54451
54457
|
initialLanguage,
|
|
54452
|
-
onLanguageChange = createDefaultHandler(context)
|
|
54458
|
+
onLanguageChange = createDefaultHandler(context),
|
|
54459
|
+
logLevel
|
|
54453
54460
|
} = config;
|
|
54454
54461
|
const convert = (0,_converter__WEBPACK_IMPORTED_MODULE_0__.createConverter)(lazy, config.options, {
|
|
54455
54462
|
current: initialLanguage,
|
|
54456
54463
|
onChange: onLanguageChange || (() => {})
|
|
54457
|
-
});
|
|
54464
|
+
}, logLevel);
|
|
54458
54465
|
|
|
54459
54466
|
context.converters.blazor = ({
|
|
54460
54467
|
moduleName,
|
|
@@ -54777,6 +54784,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
54777
54784
|
/* harmony export */ "loadResourceWithSymbol": () => (/* binding */ loadResourceWithSymbol),
|
|
54778
54785
|
/* harmony export */ "reactivate": () => (/* binding */ reactivate),
|
|
54779
54786
|
/* harmony export */ "setLanguage": () => (/* binding */ setLanguage),
|
|
54787
|
+
/* harmony export */ "setLogLevel": () => (/* binding */ setLogLevel),
|
|
54780
54788
|
/* harmony export */ "unloadBlazorPilet": () => (/* binding */ unloadBlazorPilet),
|
|
54781
54789
|
/* harmony export */ "unloadResource": () => (/* binding */ unloadResource),
|
|
54782
54790
|
/* harmony export */ "updateElement": () => (/* binding */ updateElement)
|
|
@@ -54905,6 +54913,9 @@ function addScript(url) {
|
|
|
54905
54913
|
});
|
|
54906
54914
|
}
|
|
54907
54915
|
|
|
54916
|
+
function setLogLevel(logLevel) {
|
|
54917
|
+
return window.DotNet.invokeMethodAsync(coreLib, 'SetLogLevel', logLevel);
|
|
54918
|
+
}
|
|
54908
54919
|
function createElement(moduleName, props) {
|
|
54909
54920
|
return window.DotNet.invokeMethodAsync(coreLib, 'CreateElement', moduleName, props);
|
|
54910
54921
|
}
|
|
@@ -63771,12 +63782,12 @@ function installPiralDebug(options) {
|
|
|
63771
63782
|
debug: debugApiVersion,
|
|
63772
63783
|
instance: {
|
|
63773
63784
|
name: "sample-cross-fx",
|
|
63774
|
-
version: "0.15.8-beta.
|
|
63785
|
+
version: "0.15.8-beta.5224",
|
|
63775
63786
|
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"
|
|
63776
63787
|
},
|
|
63777
63788
|
build: {
|
|
63778
|
-
date: "2023-03-
|
|
63779
|
-
cli: "0.15.8-beta.
|
|
63789
|
+
date: "2023-03-02T13:33:23.688Z",
|
|
63790
|
+
cli: "0.15.8-beta.5224",
|
|
63780
63791
|
compat: "0.15"
|
|
63781
63792
|
}
|
|
63782
63793
|
};
|
|
@@ -216624,4 +216635,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
216624
216635
|
|
|
216625
216636
|
/******/ })()
|
|
216626
216637
|
;
|
|
216627
|
-
//# sourceMappingURL=index.
|
|
216638
|
+
//# sourceMappingURL=index.9e994a.js.map
|