sample-cross-fx 0.14.27-beta.4285 → 0.14.28-beta.4360
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.a6be5e.js → index.3915e2.js} +32 -8
- package/app/{index.a6be5e.js.map → index.3915e2.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
|
@@ -132164,15 +132164,29 @@ function dispatchToRoot(event) {
|
|
|
132164
132164
|
}
|
|
132165
132165
|
}
|
|
132166
132166
|
|
|
132167
|
-
function emitRenderEvent(source, name, params) {
|
|
132167
|
+
function emitRenderEvent(source, name, params, sourceRef, fallbackComponent) {
|
|
132168
132168
|
const target = findTarget(source);
|
|
132169
|
+
const empty = typeof fallbackComponent === 'string' ? () => {} : undefined;
|
|
132170
|
+
const order = typeof sourceRef !== 'undefined' ? elements => {
|
|
132171
|
+
const oldItems = elements.map((el, id) => ({
|
|
132172
|
+
id,
|
|
132173
|
+
pilet: el.pilet,
|
|
132174
|
+
defaults: el.defaults
|
|
132175
|
+
}));
|
|
132176
|
+
const newItems = sourceRef.invokeMethod('Order', oldItems);
|
|
132177
|
+
return newItems.map(({
|
|
132178
|
+
id
|
|
132179
|
+
}) => elements[id]).filter(Boolean);
|
|
132180
|
+
} : undefined;
|
|
132169
132181
|
const eventInit = {
|
|
132170
132182
|
bubbles: true,
|
|
132171
132183
|
detail: {
|
|
132172
132184
|
target,
|
|
132173
132185
|
props: {
|
|
132174
132186
|
name,
|
|
132175
|
-
params
|
|
132187
|
+
params,
|
|
132188
|
+
empty,
|
|
132189
|
+
order
|
|
132176
132190
|
}
|
|
132177
132191
|
}
|
|
132178
132192
|
};
|
|
@@ -132250,7 +132264,17 @@ function createBlazorStarter(publicPath) {
|
|
|
132250
132264
|
const originalBase = baseElement.href;
|
|
132251
132265
|
baseElement.href = publicPath;
|
|
132252
132266
|
return () => {
|
|
132253
|
-
window.Blazor._internal.navigationManager
|
|
132267
|
+
const navManager = window.Blazor._internal.navigationManager; //Overwrite to get NavigationManager in Blazor working, see https://github.com/smapiot/Piral.Blazor/issues/89
|
|
132268
|
+
|
|
132269
|
+
navManager.navigateTo = (route, opts) => {
|
|
132270
|
+
if (opts.forceLoad) {
|
|
132271
|
+
location.href = route;
|
|
132272
|
+
} else {
|
|
132273
|
+
window.Blazor.emitNavigateEvent(undefined, route, opts.replaceHistoryEntry);
|
|
132274
|
+
}
|
|
132275
|
+
};
|
|
132276
|
+
|
|
132277
|
+
navManager.getBaseURI = () => originalBase;
|
|
132254
132278
|
|
|
132255
132279
|
return window.Blazor.start().then(() => {
|
|
132256
132280
|
baseElement.href = originalBase;
|
|
@@ -137353,7 +137377,7 @@ function createInstance(config = {}) {
|
|
|
137353
137377
|
const createApi = apiFactory(context, usedPlugins);
|
|
137354
137378
|
const root = createApi({
|
|
137355
137379
|
name: 'root',
|
|
137356
|
-
version: "0.14.
|
|
137380
|
+
version: "0.14.28-beta.4360" || 0,
|
|
137357
137381
|
spec: ''
|
|
137358
137382
|
});
|
|
137359
137383
|
const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
|
|
@@ -139353,12 +139377,12 @@ function installPiralDebug(options) {
|
|
|
139353
139377
|
debug: debugApiVersion,
|
|
139354
139378
|
instance: {
|
|
139355
139379
|
name: "sample-cross-fx",
|
|
139356
|
-
version: "0.14.
|
|
139380
|
+
version: "0.14.28-beta.4360",
|
|
139357
139381
|
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"
|
|
139358
139382
|
},
|
|
139359
139383
|
build: {
|
|
139360
|
-
date: "2022-06-
|
|
139361
|
-
cli: "0.14.
|
|
139384
|
+
date: "2022-06-27T12:36:10.352Z",
|
|
139385
|
+
cli: "0.14.27",
|
|
139362
139386
|
compat: "0.14"
|
|
139363
139387
|
},
|
|
139364
139388
|
pilets: {
|
|
@@ -262806,4 +262830,4 @@ const app = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7__.createElement(piral_
|
|
|
262806
262830
|
|
|
262807
262831
|
/******/ })()
|
|
262808
262832
|
;
|
|
262809
|
-
//# sourceMappingURL=index.
|
|
262833
|
+
//# sourceMappingURL=index.3915e2.js.map
|