sample-cross-fx 1.4.0-beta.6247 → 1.4.0-beta.6252

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.
@@ -53961,14 +53961,12 @@ __webpack_require__.r(__webpack_exports__);
53961
53961
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
53962
53962
  /* harmony export */ createConverter: () => (/* binding */ createConverter)
53963
53963
  /* harmony export */ });
53964
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
53965
- /* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./events */ "../../converters/piral-blazor/esm/events.js");
53964
+ /* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./events */ "../../converters/piral-blazor/esm/events.js");
53966
53965
  /* harmony import */ var _interop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./interop */ "../../converters/piral-blazor/esm/interop.js");
53967
53966
  /* harmony import */ var _infra_codegen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../infra.codegen */ "../../converters/piral-blazor/infra.codegen");
53968
53967
 
53969
53968
 
53970
53969
 
53971
-
53972
53970
  const noop = () => {};
53973
53971
  const mediaRules = [{
53974
53972
  attribute: 'src',
@@ -53987,7 +53985,7 @@ function prefixMediaSources(component, prefix) {
53987
53985
  }
53988
53986
  }
53989
53987
  function project(component, destination, options) {
53990
- if ((options === null || options === void 0 ? void 0 : options.resourcePathRoot) && !_infra_codegen__WEBPACK_IMPORTED_MODULE_0__["default"].noMutation) {
53988
+ if (options?.resourcePathRoot && !_infra_codegen__WEBPACK_IMPORTED_MODULE_0__["default"].noMutation) {
53991
53989
  prefixMediaSources(component, options.resourcePathRoot);
53992
53990
  }
53993
53991
  destination.appendChild(component);
@@ -54001,16 +53999,16 @@ function makeUrl(href) {
54001
53999
  }
54002
54000
  function createConverter(lazy, opts, language, logLevel) {
54003
54001
  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);
54004
- const boot = opts => bootLoader(opts).then(res => (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this, void 0, void 0, function* () {
54002
+ const boot = opts => bootLoader(opts).then(async res => {
54005
54003
  const [_, capabilities] = res;
54006
54004
  if (capabilities.includes('logging')) {
54007
54005
  if (typeof logLevel === 'number') {
54008
- yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.setLogLevel)(logLevel);
54006
+ await (0,_interop__WEBPACK_IMPORTED_MODULE_1__.setLogLevel)(logLevel);
54009
54007
  }
54010
54008
  }
54011
54009
  if (language && capabilities.includes('language')) {
54012
54010
  if (typeof language.current === 'string') {
54013
- yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.setLanguage)(language.current);
54011
+ await (0,_interop__WEBPACK_IMPORTED_MODULE_1__.setLanguage)(language.current);
54014
54012
  }
54015
54013
  if (capabilities.includes('events')) {
54016
54014
  const eventDispatcher = document.body.dispatchEvent;
@@ -54022,7 +54020,7 @@ function createConverter(lazy, opts, language, logLevel) {
54022
54020
  try {
54023
54021
  JSON.stringify(args);
54024
54022
  (0,_interop__WEBPACK_IMPORTED_MODULE_1__.processEvent)(type, args);
54025
- } catch (_a) {
54023
+ } catch {
54026
54024
  console.warn(`The event "${type}" could not be serialized and will not be handled by Blazor.`);
54027
54025
  }
54028
54026
  }
@@ -54035,7 +54033,7 @@ function createConverter(lazy, opts, language, logLevel) {
54035
54033
  }
54036
54034
  window.dispatchEvent(new CustomEvent('loaded-blazor-core'));
54037
54035
  return res;
54038
- }));
54036
+ });
54039
54037
  let loader = !lazy && boot(opts);
54040
54038
  let listener = undefined;
54041
54039
  const enqueueChange = (locals, update) => {
@@ -54049,13 +54047,16 @@ function createConverter(lazy, opts, language, logLevel) {
54049
54047
  };
54050
54048
  const convert = (moduleName, dependency, args, options) => ({
54051
54049
  mount(el, data, ctx, locals) {
54052
- const props = Object.assign(Object.assign({}, args), data);
54050
+ const props = {
54051
+ ...args,
54052
+ ...data
54053
+ };
54053
54054
  const {
54054
54055
  piral
54055
54056
  } = data;
54056
54057
  const nav = ctx.navigation;
54057
54058
  el.setAttribute('data-blazor-pilet-root', 'true');
54058
- (0,_events__WEBPACK_IMPORTED_MODULE_3__.addGlobalEventListeners)(el);
54059
+ (0,_events__WEBPACK_IMPORTED_MODULE_2__.addGlobalEventListeners)(el);
54059
54060
  if (listener === undefined) {
54060
54061
  listener = nav.listen(({
54061
54062
  location,
@@ -54070,7 +54071,7 @@ function createConverter(lazy, opts, language, logLevel) {
54070
54071
  }
54071
54072
  locals.state = 'fresh';
54072
54073
  locals.next = noop;
54073
- locals.dispose = (0,_events__WEBPACK_IMPORTED_MODULE_3__.attachEvents)(el, ev => {
54074
+ locals.dispose = (0,_events__WEBPACK_IMPORTED_MODULE_2__.attachEvents)(el, ev => {
54074
54075
  ev.stopPropagation();
54075
54076
  const {
54076
54077
  target,
@@ -54098,8 +54099,7 @@ function createConverter(lazy, opts, language, logLevel) {
54098
54099
  const [root] = config;
54099
54100
  const node = root.querySelector(`#${refId} > div`);
54100
54101
  locals.unmount = () => {
54101
- var _a;
54102
- (_a = root.querySelector(`#${refId}`)) === null || _a === void 0 ? void 0 : _a.appendChild(node);
54102
+ root.querySelector(`#${refId}`)?.appendChild(node);
54103
54103
  (0,_interop__WEBPACK_IMPORTED_MODULE_1__.deactivate)(moduleName, refId);
54104
54104
  el.innerHTML = '';
54105
54105
  };
@@ -54139,12 +54139,14 @@ function createConverter(lazy, opts, language, logLevel) {
54139
54139
  },
54140
54140
  update(el, data, ctx, locals) {
54141
54141
  enqueueChange(locals, () => {
54142
- var _a;
54143
- (_a = locals.update) === null || _a === void 0 ? void 0 : _a.call(locals, Object.assign(Object.assign({}, args), data));
54142
+ locals.update?.({
54143
+ ...args,
54144
+ ...data
54145
+ });
54144
54146
  });
54145
54147
  },
54146
54148
  unmount(el, locals) {
54147
- (0,_events__WEBPACK_IMPORTED_MODULE_3__.removeGlobalEventListeners)(el);
54149
+ (0,_events__WEBPACK_IMPORTED_MODULE_2__.removeGlobalEventListeners)(el);
54148
54150
  el.removeAttribute('data-blazor-pilet-root');
54149
54151
  locals.dispose();
54150
54152
  enqueueChange(locals, locals.unmount);
@@ -54240,13 +54242,10 @@ __webpack_require__.r(__webpack_exports__);
54240
54242
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
54241
54243
  /* harmony export */ createDependencyLoader: () => (/* binding */ createDependencyLoader)
54242
54244
  /* harmony export */ });
54243
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
54244
- /* harmony import */ var _interop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./interop */ "../../converters/piral-blazor/esm/interop.js");
54245
- var _a, _b;
54245
+ /* harmony import */ var _interop__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./interop */ "../../converters/piral-blazor/esm/interop.js");
54246
54246
 
54247
-
54248
- const loadedDependencies = (_a = window.$blazorDependencies) !== null && _a !== void 0 ? _a : window.$blazorDependencies = [];
54249
- const depsWithPrios = (_b = window.$blazorDependencyPrios) !== null && _b !== void 0 ? _b : window.$blazorDependencyPrios = [];
54247
+ const loadedDependencies = window.$blazorDependencies ?? (window.$blazorDependencies = []);
54248
+ const depsWithPrios = window.$blazorDependencyPrios ?? (window.$blazorDependencyPrios = []);
54250
54249
  function toExtLessUrl(url) {
54251
54250
  const idx = url.lastIndexOf('.');
54252
54251
  const sep = url.lastIndexOf('/');
@@ -54285,9 +54284,9 @@ function createDependencyLoader(convert) {
54285
54284
  }
54286
54285
  };
54287
54286
  let result = false;
54288
- const load = ([_, capabilities]) => (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
54287
+ const load = async ([_, capabilities]) => {
54289
54288
  // let others (any global, or higher prio) finish first
54290
- yield Promise.all(depsWithPrios.filter(m => m !== depWithPrio)
54289
+ await Promise.all(depsWithPrios.filter(m => m !== depWithPrio)
54291
54290
  // prefer (any) global pilets before non-global ones and otherwise prefer higher prio than lower ones
54292
54291
  .filter(m => m.prio > prio || m.kind === 'global' && !isGlobal).map(m => m.load()));
54293
54292
  window.dispatchEvent(new CustomEvent('loading-blazor-pilet', {
@@ -54316,7 +54315,7 @@ function createDependencyLoader(convert) {
54316
54315
  }
54317
54316
  }
54318
54317
  }
54319
- yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadBlazorPilet)(id, {
54318
+ await (0,_interop__WEBPACK_IMPORTED_MODULE_0__.loadBlazorPilet)(id, {
54320
54319
  name: meta.name || '(unknown)',
54321
54320
  version: meta.version || '0.0.0',
54322
54321
  config: JSON.stringify(meta.config || {}),
@@ -54338,19 +54337,19 @@ function createDependencyLoader(convert) {
54338
54337
  const entry = loadedDependencies.find(m => m.name === dllName);
54339
54338
  if (entry) {
54340
54339
  entry.count++;
54341
- yield entry.promise;
54340
+ await entry.promise;
54342
54341
  } else {
54343
54342
  const urlWithoutExtension = dllUrl.substring(0, dllUrl.length - 4);
54344
54343
  const pdbName = `${urlWithoutExtension}.pdb`;
54345
54344
  const pdbUrl = references.find(m => m === pdbName);
54346
- const promise = pdbUrl ? (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadResourceWithSymbol)(dllUrl, pdbUrl) : (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadResource)(dllUrl);
54345
+ const promise = pdbUrl ? (0,_interop__WEBPACK_IMPORTED_MODULE_0__.loadResourceWithSymbol)(dllUrl, pdbUrl) : (0,_interop__WEBPACK_IMPORTED_MODULE_0__.loadResource)(dllUrl);
54347
54346
  loadedDependencies.push({
54348
54347
  name: dllName,
54349
54348
  url: dllUrl,
54350
54349
  count: 1,
54351
54350
  promise
54352
54351
  });
54353
- yield promise;
54352
+ await promise;
54354
54353
  }
54355
54354
  definedBlazorReferences.push(dllName);
54356
54355
  }
@@ -54360,7 +54359,7 @@ function createDependencyLoader(convert) {
54360
54359
  window.dispatchEvent(new CustomEvent('loaded-blazor-pilet', {
54361
54360
  detail: meta
54362
54361
  }));
54363
- });
54362
+ };
54364
54363
  depWithPrio.load = () => {
54365
54364
  if (!result) {
54366
54365
  result = convert.loader.then(load);
@@ -54377,23 +54376,21 @@ function createDependencyLoader(convert) {
54377
54376
  depsWithPrios.push(depWithPrio);
54378
54377
  }
54379
54378
  },
54380
- releaseBlazorReferences() {
54381
- return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
54382
- const references = definedBlazorReferences.splice(0, definedBlazorReferences.length);
54383
- const ids = loadedBlazorPilets.splice(0, loadedBlazorPilets.length);
54384
- // old way of loading
54385
- for (const reference of references) {
54386
- const entry = loadedDependencies.find(m => m.name === reference);
54387
- if (--entry.count === 0) {
54388
- loadedDependencies.splice(loadedDependencies.indexOf(entry), 1);
54389
- yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.unloadResource)(entry.url);
54390
- }
54391
- }
54392
- // new way of loading
54393
- for (const id of ids) {
54394
- yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.unloadBlazorPilet)(id);
54379
+ async releaseBlazorReferences() {
54380
+ const references = definedBlazorReferences.splice(0, definedBlazorReferences.length);
54381
+ const ids = loadedBlazorPilets.splice(0, loadedBlazorPilets.length);
54382
+ // old way of loading
54383
+ for (const reference of references) {
54384
+ const entry = loadedDependencies.find(m => m.name === reference);
54385
+ if (--entry.count === 0) {
54386
+ loadedDependencies.splice(loadedDependencies.indexOf(entry), 1);
54387
+ await (0,_interop__WEBPACK_IMPORTED_MODULE_0__.unloadResource)(entry.url);
54395
54388
  }
54396
- });
54389
+ }
54390
+ // new way of loading
54391
+ for (const id of ids) {
54392
+ await (0,_interop__WEBPACK_IMPORTED_MODULE_0__.unloadBlazorPilet)(id);
54393
+ }
54397
54394
  }
54398
54395
  };
54399
54396
  }
@@ -54449,12 +54446,11 @@ function findTarget(target = document.body) {
54449
54446
  }
54450
54447
  }
54451
54448
  function dispatchToRoot(event) {
54452
- var _a;
54453
54449
  (0,_navigation__WEBPACK_IMPORTED_MODULE_1__.isInternalNavigation)(event) && (0,_navigation__WEBPACK_IMPORTED_MODULE_1__.performInternalNavigation)(event);
54454
54450
  // the mutation event cannot be cloned (at least in Webkit-based browsers)
54455
54451
  if (!(event instanceof MutationEvent) && !event.processed) {
54456
54452
  const eventClone = new event.constructor(event.type, event);
54457
- (_a = document.getElementById(blazorRootId)) === null || _a === void 0 ? void 0 : _a.dispatchEvent(eventClone);
54453
+ document.getElementById(blazorRootId)?.dispatchEvent(eventClone);
54458
54454
  // make sure to only process every event once; even though multiple boundaries might be active
54459
54455
  event.processed = true;
54460
54456
  }
@@ -54466,14 +54462,11 @@ function emitRenderEvent(source, name, params, sourceRef, fallbackComponent) {
54466
54462
  params
54467
54463
  }) : undefined;
54468
54464
  const order = typeof sourceRef !== 'undefined' ? elements => {
54469
- const oldItems = elements.map((el, id) => {
54470
- var _a;
54471
- return {
54472
- id,
54473
- pilet: el.pilet,
54474
- defaults: (_a = el.defaults) !== null && _a !== void 0 ? _a : {}
54475
- };
54476
- });
54465
+ const oldItems = elements.map((el, id) => ({
54466
+ id,
54467
+ pilet: el.pilet,
54468
+ defaults: el.defaults ?? {}
54469
+ }));
54477
54470
  const newItems = sourceRef.invokeMethod('Order', oldItems);
54478
54471
  return newItems.map(({
54479
54472
  id
@@ -54572,9 +54565,7 @@ __webpack_require__.r(__webpack_exports__);
54572
54565
  /* harmony export */ unloadResource: () => (/* binding */ unloadResource),
54573
54566
  /* harmony export */ updateElement: () => (/* binding */ updateElement)
54574
54567
  /* harmony export */ });
54575
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
54576
- /* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./events */ "../../converters/piral-blazor/esm/events.js");
54577
-
54568
+ /* harmony import */ var _events__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./events */ "../../converters/piral-blazor/esm/events.js");
54578
54569
 
54579
54570
  const wasmLib = 'Microsoft.AspNetCore.Components.WebAssembly';
54580
54571
  const coreLib = 'Piral.Blazor.Core';
@@ -54686,12 +54677,13 @@ function sanitize(props) {
54686
54677
  // hence we need to make the JSObjectReference
54687
54678
  if ('children' in props && typeof props.children === 'object') {
54688
54679
  const {
54689
- children
54690
- } = props,
54691
- rest = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__rest)(props, ["children"]);
54692
- return Object.assign({
54693
- children: window.DotNet.createJSObjectReference(children)
54694
- }, rest);
54680
+ children,
54681
+ ...rest
54682
+ } = props;
54683
+ return {
54684
+ children: window.DotNet.createJSObjectReference(children),
54685
+ ...rest
54686
+ };
54695
54687
  }
54696
54688
  return props;
54697
54689
  }
@@ -54772,9 +54764,9 @@ function initialize(scriptUrl, publicPath, opts = {}) {
54772
54764
  script.onerror = () => reject();
54773
54765
  script.onload = () => {
54774
54766
  Object.assign(window.Blazor, {
54775
- emitRenderEvent: _events__WEBPACK_IMPORTED_MODULE_1__.emitRenderEvent,
54776
- emitNavigateEvent: _events__WEBPACK_IMPORTED_MODULE_1__.emitNavigateEvent,
54777
- emitPiralEvent: _events__WEBPACK_IMPORTED_MODULE_1__.emitPiralEvent
54767
+ emitRenderEvent: _events__WEBPACK_IMPORTED_MODULE_0__.emitRenderEvent,
54768
+ emitNavigateEvent: _events__WEBPACK_IMPORTED_MODULE_0__.emitNavigateEvent,
54769
+ emitPiralEvent: _events__WEBPACK_IMPORTED_MODULE_0__.emitPiralEvent
54778
54770
  });
54779
54771
  startBlazor(opts).then(resolve);
54780
54772
  };
@@ -54824,7 +54816,7 @@ function eventHasSpecialKey(event) {
54824
54816
  }
54825
54817
  function isInternalNavigation(event) {
54826
54818
  const anchorTarget = getAnchorTarget(event);
54827
- return event.type === 'click' && event.button === 0 && !eventHasSpecialKey(event) && (anchorTarget === null || anchorTarget === void 0 ? void 0 : anchorTarget.hasAttribute('href')) && isWithinBaseUriSpace(anchorTarget.href);
54819
+ return event.type === 'click' && event.button === 0 && !eventHasSpecialKey(event) && anchorTarget?.hasAttribute('href') && isWithinBaseUriSpace(anchorTarget.href);
54828
54820
  }
54829
54821
  function performInternalNavigation(event) {
54830
54822
  const anchorTarget = getAnchorTarget(event);
@@ -54858,7 +54850,11 @@ function createConverter(config = {}) {
54858
54850
  const node = el.appendChild(document.createElement('div'));
54859
54851
  main.init({
54860
54852
  node,
54861
- flags: Object.assign(Object.assign(Object.assign({}, captured), ctx), props)
54853
+ flags: {
54854
+ ...captured,
54855
+ ...ctx,
54856
+ ...props
54857
+ }
54862
54858
  });
54863
54859
  },
54864
54860
  unmount(el) {
@@ -55052,7 +55048,10 @@ const {
55052
55048
  app
55053
55049
  } = __webpack_require__(/*! hyperapp */ "../../../node_modules/hyperapp/src/index.js");
55054
55050
  function mountHyperapp(el, root, props, ctx, state, actions) {
55055
- app(Object.assign(Object.assign({}, ctx), state), actions, () => h(root, props), el);
55051
+ app({
55052
+ ...ctx,
55053
+ ...state
55054
+ }, actions, () => h(root, props), el);
55056
55055
  }
55057
55056
  function createHyperappElement(name, props) {
55058
55057
  return h(name, props, []);
@@ -55233,9 +55232,10 @@ function mountInferno(el, root, props, ctx = {}) {
55233
55232
  });
55234
55233
  class Provider extends inferno__WEBPACK_IMPORTED_MODULE_0__.Component {
55235
55234
  getChildContext() {
55236
- return Object.assign({
55237
- piral: props.piral
55238
- }, ctx);
55235
+ return {
55236
+ piral: props.piral,
55237
+ ...ctx
55238
+ };
55239
55239
  }
55240
55240
  render() {
55241
55241
  return this.props.children;
@@ -55404,12 +55404,20 @@ function createConverter(config = {}) {
55404
55404
  const convert = (component, captured) => ({
55405
55405
  mount(el, props, ctx) {
55406
55406
  mithril__WEBPACK_IMPORTED_MODULE_0__.mount(el, {
55407
- view: () => mithril__WEBPACK_IMPORTED_MODULE_0__.m(component, Object.assign(Object.assign(Object.assign({}, captured), ctx), props))
55407
+ view: () => mithril__WEBPACK_IMPORTED_MODULE_0__.m(component, {
55408
+ ...captured,
55409
+ ...ctx,
55410
+ ...props
55411
+ })
55408
55412
  });
55409
55413
  },
55410
55414
  update(el, props, ctx) {
55411
55415
  mithril__WEBPACK_IMPORTED_MODULE_0__.mount(el, {
55412
- view: () => mithril__WEBPACK_IMPORTED_MODULE_0__.m(component, Object.assign(Object.assign(Object.assign({}, captured), ctx), props))
55416
+ view: () => mithril__WEBPACK_IMPORTED_MODULE_0__.m(component, {
55417
+ ...captured,
55418
+ ...ctx,
55419
+ ...props
55420
+ })
55413
55421
  });
55414
55422
  },
55415
55423
  unmount(el) {
@@ -55543,8 +55551,7 @@ _angular_common__WEBPACK_IMPORTED_MODULE_1__.BrowserPlatformLocation.prototype.b
55543
55551
  _angular_common__WEBPACK_IMPORTED_MODULE_1__.BrowserPlatformLocation.prototype.historyGo = noop;
55544
55552
  // required to detect / react to hidden URL change (see #554 for details)
55545
55553
  _angular_router__WEBPACK_IMPORTED_MODULE_0__.Router.prototype.navigateByUrl = function (url, extras) {
55546
- var _a;
55547
- skipNavigation = (_a = extras === null || extras === void 0 ? void 0 : extras.skipLocationChange) !== null && _a !== void 0 ? _a : false;
55554
+ skipNavigation = extras?.skipLocationChange ?? false;
55548
55555
  const result = navigateByUrl.call(this, url, extras);
55549
55556
  skipNavigation = false;
55550
55557
  return result;
@@ -55621,9 +55628,8 @@ let RoutingService = class RoutingService {
55621
55628
  }
55622
55629
  }
55623
55630
  ngOnDestroy() {
55624
- var _a, _b;
55625
- (_a = this.dispose) === null || _a === void 0 ? void 0 : _a.call(this);
55626
- (_b = this.subscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
55631
+ this.dispose?.();
55632
+ this.subscription?.unsubscribe();
55627
55633
  }
55628
55634
  };
55629
55635
  RoutingService = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Injectable)(), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__param)(0, (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Inject)('Context')), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__param)(1, (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Optional)()), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__param)(2, (0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.Optional)()), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__metadata)("design:paramtypes", [Object, _angular_router__WEBPACK_IMPORTED_MODULE_0__.Router, _angular_core__WEBPACK_IMPORTED_MODULE_3__.NgZone])], RoutingService);
@@ -55643,64 +55649,58 @@ __webpack_require__.r(__webpack_exports__);
55643
55649
  /* harmony export */ bootstrap: () => (/* binding */ bootstrap),
55644
55650
  /* harmony export */ prepareBootstrap: () => (/* binding */ prepareBootstrap)
55645
55651
  /* harmony export */ });
55646
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
55647
- /* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./module */ "../../converters/piral-ng/esm/module.js");
55648
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils */ "../../converters/piral-ng/esm/utils.js");
55649
- /* harmony import */ var _startup__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./startup */ "../../converters/piral-ng/esm/startup.js");
55652
+ /* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./module */ "../../converters/piral-ng/esm/module.js");
55653
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils */ "../../converters/piral-ng/esm/utils.js");
55654
+ /* harmony import */ var _startup__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./startup */ "../../converters/piral-ng/esm/startup.js");
55650
55655
 
55651
55656
 
55652
55657
 
55653
-
55654
- function prepareBootstrap(moduleOrComponent, piral) {
55655
- return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
55656
- if ('module' in moduleOrComponent && typeof moduleOrComponent.module === 'function') {
55657
- if (!(moduleOrComponent.state.current instanceof Promise)) {
55658
- moduleOrComponent.state.current = moduleOrComponent.module().then(result => {
55659
- if (typeof result !== 'object' || !('default' in result)) {
55660
- throw new Error('The lazy loaded module does not `default` export a NgModule class.');
55661
- }
55662
- (0,_module__WEBPACK_IMPORTED_MODULE_1__.defineModule)(result.default, moduleOrComponent.opts, moduleOrComponent.flags);
55663
- return (0,_module__WEBPACK_IMPORTED_MODULE_1__.findModule)(result.default);
55664
- });
55665
- }
55666
- const moduleDef = yield moduleOrComponent.state.current;
55667
- const {
55668
- components
55669
- } = moduleDef;
55670
- const component = components.find(m => (0,_utils__WEBPACK_IMPORTED_MODULE_2__.hasSelector)(m, moduleOrComponent.selector));
55671
- if (!component) {
55672
- throw new Error(`No component matching the selector "${moduleOrComponent.selector}" has been found.`);
55673
- }
55674
- return [...(0,_module__WEBPACK_IMPORTED_MODULE_1__.activateModuleInstance)(moduleDef, piral), component];
55658
+ async function prepareBootstrap(moduleOrComponent, piral) {
55659
+ if ('module' in moduleOrComponent && typeof moduleOrComponent.module === 'function') {
55660
+ if (!(moduleOrComponent.state.current instanceof Promise)) {
55661
+ moduleOrComponent.state.current = moduleOrComponent.module().then(result => {
55662
+ if (typeof result !== 'object' || !('default' in result)) {
55663
+ throw new Error('The lazy loaded module does not `default` export a NgModule class.');
55664
+ }
55665
+ (0,_module__WEBPACK_IMPORTED_MODULE_0__.defineModule)(result.default, moduleOrComponent.opts, moduleOrComponent.flags);
55666
+ return (0,_module__WEBPACK_IMPORTED_MODULE_0__.findModule)(result.default);
55667
+ });
55668
+ }
55669
+ const moduleDef = await moduleOrComponent.state.current;
55670
+ const {
55671
+ components
55672
+ } = moduleDef;
55673
+ const component = components.find(m => (0,_utils__WEBPACK_IMPORTED_MODULE_1__.hasSelector)(m, moduleOrComponent.selector));
55674
+ if (!component) {
55675
+ throw new Error(`No component matching the selector "${moduleOrComponent.selector}" has been found.`);
55676
+ }
55677
+ return [...(0,_module__WEBPACK_IMPORTED_MODULE_0__.activateModuleInstance)(moduleDef, piral), component];
55678
+ } else {
55679
+ const [annotation] = (0,_utils__WEBPACK_IMPORTED_MODULE_1__.getAnnotations)(moduleOrComponent);
55680
+ const standalone = annotation?.standalone;
55681
+ // first way is to directly use a module, which is the legacy way
55682
+ // second way is to find a previously defined Angular module
55683
+ if (annotation && annotation.bootstrap) {
55684
+ // usually contains things like imports, exports, declarations, ...
55685
+ const [component] = annotation.bootstrap;
55686
+ annotation.exports = [component];
55687
+ (0,_module__WEBPACK_IMPORTED_MODULE_0__.defineModule)(moduleOrComponent);
55688
+ return [...(0,_module__WEBPACK_IMPORTED_MODULE_0__.getModuleInstance)(component, standalone, piral), component];
55675
55689
  } else {
55676
- const [annotation] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.getAnnotations)(moduleOrComponent);
55677
- const standalone = annotation === null || annotation === void 0 ? void 0 : annotation.standalone;
55678
- // first way is to directly use a module, which is the legacy way
55679
- // second way is to find a previously defined Angular module
55680
- if (annotation && annotation.bootstrap) {
55681
- // usually contains things like imports, exports, declarations, ...
55682
- const [component] = annotation.bootstrap;
55683
- annotation.exports = [component];
55684
- (0,_module__WEBPACK_IMPORTED_MODULE_1__.defineModule)(moduleOrComponent);
55685
- return [...(0,_module__WEBPACK_IMPORTED_MODULE_1__.getModuleInstance)(component, standalone, piral), component];
55686
- } else {
55687
- // usually contains things like selector, template or templateUrl, changeDetection, ...
55688
- const result = (0,_module__WEBPACK_IMPORTED_MODULE_1__.getModuleInstance)(moduleOrComponent, standalone, piral) || (0,_module__WEBPACK_IMPORTED_MODULE_1__.createModuleInstance)(moduleOrComponent, standalone, piral);
55689
- return [...result, moduleOrComponent];
55690
- }
55690
+ // usually contains things like selector, template or templateUrl, changeDetection, ...
55691
+ const result = (0,_module__WEBPACK_IMPORTED_MODULE_0__.getModuleInstance)(moduleOrComponent, standalone, piral) || (0,_module__WEBPACK_IMPORTED_MODULE_0__.createModuleInstance)(moduleOrComponent, standalone, piral);
55692
+ return [...result, moduleOrComponent];
55691
55693
  }
55692
- });
55694
+ }
55693
55695
  }
55694
- function bootstrap(result, node, props, context) {
55695
- return (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
55696
- const [selectedModule, ngOptions, ngFlags, component] = result;
55697
- const ref = yield (0,_startup__WEBPACK_IMPORTED_MODULE_3__.startup)(selectedModule, context, ngOptions, ngFlags);
55698
- if (ref) {
55699
- ref.instance.attach(component, node, props);
55700
- return () => ref.instance.detach(component, node);
55701
- }
55702
- return () => {};
55703
- });
55696
+ async function bootstrap(result, node, props, context) {
55697
+ const [selectedModule, ngOptions, ngFlags, component] = result;
55698
+ const ref = await (0,_startup__WEBPACK_IMPORTED_MODULE_2__.startup)(selectedModule, context, ngOptions, ngFlags);
55699
+ if (ref) {
55700
+ ref.instance.attach(component, node, props);
55701
+ return () => ref.instance.detach(component, node);
55702
+ }
55703
+ return () => {};
55704
55704
  }
55705
55705
 
55706
55706
  /***/ }),
@@ -55716,13 +55716,11 @@ __webpack_require__.r(__webpack_exports__);
55716
55716
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
55717
55717
  /* harmony export */ createConverter: () => (/* binding */ createConverter)
55718
55718
  /* harmony export */ });
55719
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
55720
55719
  /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ "../../../node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js");
55721
55720
  /* harmony import */ var _queue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./queue */ "../../converters/piral-ng/esm/queue.js");
55722
- /* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./module */ "../../converters/piral-ng/esm/module.js");
55723
- /* harmony import */ var _bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bootstrap */ "../../converters/piral-ng/esm/bootstrap.js");
55724
- /* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../common */ "../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs");
55725
-
55721
+ /* harmony import */ var _module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./module */ "../../converters/piral-ng/esm/module.js");
55722
+ /* harmony import */ var _bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bootstrap */ "../../converters/piral-ng/esm/bootstrap.js");
55723
+ /* harmony import */ var _common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../common */ "../../../node_modules/piral-ng-common/fesm2022/piral-ng-common.mjs");
55726
55724
 
55727
55725
 
55728
55726
 
@@ -55739,14 +55737,14 @@ function createConverter(_ = {}) {
55739
55737
  if (!locals.queued) {
55740
55738
  locals.queued = Promise.resolve();
55741
55739
  }
55742
- locals.queued = locals.queued.then(() => (0,_queue__WEBPACK_IMPORTED_MODULE_1__.enqueue)(() => (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this, void 0, void 0, function* () {
55740
+ locals.queued = locals.queued.then(() => (0,_queue__WEBPACK_IMPORTED_MODULE_1__.enqueue)(async () => {
55743
55741
  if (!registry.has(component)) {
55744
- registry.set(component, yield (0,_bootstrap__WEBPACK_IMPORTED_MODULE_3__.prepareBootstrap)(component, props.piral));
55742
+ registry.set(component, await (0,_bootstrap__WEBPACK_IMPORTED_MODULE_2__.prepareBootstrap)(component, props.piral));
55745
55743
  }
55746
55744
  if (locals.active) {
55747
- return yield (0,_bootstrap__WEBPACK_IMPORTED_MODULE_3__.bootstrap)(registry.get(component), el, locals.props, ctx);
55745
+ return await (0,_bootstrap__WEBPACK_IMPORTED_MODULE_2__.bootstrap)(registry.get(component), el, locals.props, ctx);
55748
55746
  }
55749
- })));
55747
+ }));
55750
55748
  },
55751
55749
  update(el, props, ctx, locals) {
55752
55750
  locals.props.next(props);
@@ -55756,8 +55754,8 @@ function createConverter(_ = {}) {
55756
55754
  locals.queued = locals.queued.then(dispose => dispose && (0,_queue__WEBPACK_IMPORTED_MODULE_1__.enqueue)(dispose));
55757
55755
  }
55758
55756
  });
55759
- convert.defineModule = _module__WEBPACK_IMPORTED_MODULE_4__.defineModule;
55760
- convert.Extension = _common__WEBPACK_IMPORTED_MODULE_5__.NgExtension;
55757
+ convert.defineModule = _module__WEBPACK_IMPORTED_MODULE_3__.defineModule;
55758
+ convert.Extension = _common__WEBPACK_IMPORTED_MODULE_4__.NgExtension;
55761
55759
  return convert;
55762
55760
  }
55763
55761
 
@@ -55865,17 +55863,15 @@ function instantiateModule(moduleDef, piral) {
55865
55863
  this.appRef = appRef;
55866
55864
  }
55867
55865
  attach(component, node, $props) {
55868
- var _a, _b, _c;
55869
55866
  const factory = this.resolver.resolveComponentFactory(component);
55870
55867
  props.current = $props;
55871
55868
  if (factory) {
55872
55869
  const ref = this.zone.run(() => this.appRef.bootstrap(factory, node));
55873
- const name = (_c = (_b = (_a = ref.componentType) === null || _a === void 0 ? void 0 : _a.ɵcmp) === null || _b === void 0 ? void 0 : _b.inputs) === null || _c === void 0 ? void 0 : _c.Props;
55870
+ const name = ref.componentType?.ɵcmp?.inputs?.Props;
55874
55871
  if (typeof name === 'string') {
55875
55872
  const sub = $props.subscribe(props => {
55876
- var _a;
55877
55873
  ref.instance[name] = props;
55878
- (_a = ref.changeDetectorRef) === null || _a === void 0 ? void 0 : _a.detectChanges();
55874
+ ref.changeDetectorRef?.detectChanges();
55879
55875
  });
55880
55876
  ref.onDestroy(() => sub.unsubscribe());
55881
55877
  }
@@ -55883,7 +55879,6 @@ function instantiateModule(moduleDef, piral) {
55883
55879
  }
55884
55880
  }
55885
55881
  detach(component, node) {
55886
- var _a;
55887
55882
  for (let i = this.refs.length; i--;) {
55888
55883
  const [sourceComponent, sourceNode, ref] = this.refs[i];
55889
55884
  if (sourceComponent === component && sourceNode === node) {
@@ -55891,7 +55886,7 @@ function instantiateModule(moduleDef, piral) {
55891
55886
  this.refs.splice(i, 1);
55892
55887
  }
55893
55888
  }
55894
- if (!((_a = this.flags) === null || _a === void 0 ? void 0 : _a.keepAlive) && this.refs.length === 0) {
55889
+ if (!this.flags?.keepAlive && this.refs.length === 0) {
55895
55890
  (0,_startup__WEBPACK_IMPORTED_MODULE_3__.teardown)(BootstrapModule_1);
55896
55891
  }
55897
55892
  }
@@ -56042,11 +56037,10 @@ function startNew(BootstrapModule, context, ngOptions, ngFlags) {
56042
56037
  // @ts-ignore
56043
56038
  _angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone.isInAngularZone = () => window.Zone.current._properties[zoneIdentifier] === true;
56044
56039
  return platform.bootstrapModule(BootstrapModule, ngOptions).catch(err => console.error(err)).then(instance => {
56045
- var _a;
56046
56040
  if (instance) {
56047
56041
  const zone = instance.injector.get(_angular_core__WEBPACK_IMPORTED_MODULE_1__.NgZone);
56048
56042
  // @ts-ignore
56049
- const z = (_a = zone === null || zone === void 0 ? void 0 : zone._inner) !== null && _a !== void 0 ? _a : zone === null || zone === void 0 ? void 0 : zone.inner;
56043
+ const z = zone?._inner ?? zone?.inner;
56050
56044
  if (z && '_properties' in z) {
56051
56045
  z._properties[zoneIdentifier] = true;
56052
56046
  }
@@ -56148,7 +56142,7 @@ function getMinVersion() {
56148
56142
  return `${major}.0.0`;
56149
56143
  }
56150
56144
  function getAnnotations(component) {
56151
- let annotations = component === null || component === void 0 ? void 0 : component.__annotations__;
56145
+ let annotations = component?.__annotations__;
56152
56146
  if (!annotations && typeof Reflect !== 'undefined' && 'getOwnMetadata' in Reflect) {
56153
56147
  annotations = Reflect.getOwnMetadata('annotations', component);
56154
56148
  }
@@ -56470,9 +56464,10 @@ function mountPreact(el, root, props, ctx = {}) {
56470
56464
  });
56471
56465
  class Provider extends preact__WEBPACK_IMPORTED_MODULE_0__.Component {
56472
56466
  getChildContext() {
56473
- return Object.assign({
56474
- piral: props.piral
56475
- }, ctx);
56467
+ return {
56468
+ piral: props.piral,
56469
+ ...ctx
56470
+ };
56476
56471
  }
56477
56472
  render() {
56478
56473
  return this.props.children;
@@ -56511,7 +56506,11 @@ function createConverter(config = {}) {
56511
56506
  const mountApp = riot__WEBPACK_IMPORTED_MODULE_0__.component(component);
56512
56507
  return {
56513
56508
  mount(el, props, ctx, locals) {
56514
- locals.app = mountApp(el, Object.assign(Object.assign(Object.assign({}, captured), ctx), props));
56509
+ locals.app = mountApp(el, {
56510
+ ...captured,
56511
+ ...ctx,
56512
+ ...props
56513
+ });
56515
56514
  },
56516
56515
  unmount(el, locals) {
56517
56516
  locals.app.unmount(true);
@@ -56639,9 +56638,10 @@ function createConverter(config = {}) {
56639
56638
  (0,solid_js__WEBPACK_IMPORTED_MODULE_2__.onCleanup)(() => {
56640
56639
  el.innerHTML = '';
56641
56640
  });
56642
- return (0,solid_js__WEBPACK_IMPORTED_MODULE_2__.createComponent)(root, Object.assign({
56643
- context
56644
- }, props));
56641
+ return (0,solid_js__WEBPACK_IMPORTED_MODULE_2__.createComponent)(root, {
56642
+ context,
56643
+ ...props
56644
+ });
56645
56645
  }, el);
56646
56646
  };
56647
56647
  locals.update(props, context);
@@ -56759,7 +56759,11 @@ function createConverter(config = {}) {
56759
56759
  mount(parent, data, ctx, locals) {
56760
56760
  locals.instance = new Component({
56761
56761
  target: parent,
56762
- props: Object.assign(Object.assign(Object.assign({}, captured), ctx), data)
56762
+ props: {
56763
+ ...captured,
56764
+ ...ctx,
56765
+ ...data
56766
+ }
56763
56767
  });
56764
56768
  },
56765
56769
  update(el, data, ctx, locals) {
@@ -57006,12 +57010,16 @@ function register(name, component) {
57006
57010
  function mountVue(el, root, props, ctx, captured) {
57007
57011
  return new vue__WEBPACK_IMPORTED_MODULE_0__["default"]({
57008
57012
  el,
57009
- provide: Object.assign({
57010
- piral: props.piral
57011
- }, ctx),
57013
+ provide: {
57014
+ piral: props.piral,
57015
+ ...ctx
57016
+ },
57012
57017
  render(h) {
57013
57018
  return h(root, {
57014
- props: Object.assign(Object.assign({}, captured), props)
57019
+ props: {
57020
+ ...captured,
57021
+ ...props
57022
+ }
57015
57023
  });
57016
57024
  }
57017
57025
  });
@@ -57214,11 +57222,13 @@ __webpack_require__.r(__webpack_exports__);
57214
57222
 
57215
57223
 
57216
57224
  function initialize(ctx, loading, error, modules) {
57217
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57218
- app: Object.assign(Object.assign({}, state.app), {
57225
+ ctx.dispatch(state => ({
57226
+ ...state,
57227
+ app: {
57228
+ ...state.app,
57219
57229
  error,
57220
57230
  loading
57221
- }),
57231
+ },
57222
57232
  modules
57223
57233
  }));
57224
57234
  }
@@ -57226,7 +57236,8 @@ function addPilet(ctx, meta) {
57226
57236
  return ctx.options.loadPilet(meta).then(pilet => ctx.injectPilet(pilet)).then(pilet => (0,piral_base__WEBPACK_IMPORTED_MODULE_0__.runPilet)(ctx.options.createApi, pilet, ctx.options.hooks)).then(_utils__WEBPACK_IMPORTED_MODULE_1__.noop);
57227
57237
  }
57228
57238
  function removePilet(ctx, name) {
57229
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57239
+ ctx.dispatch(state => ({
57240
+ ...state,
57230
57241
  modules: state.modules.filter(m => m.name !== name),
57231
57242
  registry: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.removeNested)(state.registry, m => m.pilet === name)
57232
57243
  }));
@@ -57236,7 +57247,8 @@ function removePilet(ctx, name) {
57236
57247
  return Promise.resolve();
57237
57248
  }
57238
57249
  function injectPilet(ctx, pilet) {
57239
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57250
+ ctx.dispatch(state => ({
57251
+ ...state,
57240
57252
  modules: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.replaceOrAddItem)(state.modules, pilet, m => m.name === pilet.name),
57241
57253
  registry: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.removeNested)(state.registry, m => m.pilet === pilet.name)
57242
57254
  }));
@@ -57246,12 +57258,14 @@ function injectPilet(ctx, pilet) {
57246
57258
  return pilet;
57247
57259
  }
57248
57260
  function setComponent(ctx, name, component) {
57249
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57261
+ ctx.dispatch(state => ({
57262
+ ...state,
57250
57263
  components: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.components, name, component)
57251
57264
  }));
57252
57265
  }
57253
57266
  function setErrorComponent(ctx, type, component) {
57254
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57267
+ ctx.dispatch(state => ({
57268
+ ...state,
57255
57269
  errorComponents: (0,_utils__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.errorComponents, type, component)
57256
57270
  }));
57257
57271
  }
@@ -57313,7 +57327,8 @@ __webpack_require__.r(__webpack_exports__);
57313
57327
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
57314
57328
 
57315
57329
  function resetData(ctx) {
57316
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57330
+ ctx.dispatch(state => ({
57331
+ ...state,
57317
57332
  data: {}
57318
57333
  }));
57319
57334
  }
@@ -57332,7 +57347,8 @@ function writeDataItem(ctx, key, value, owner, target, expires) {
57332
57347
  target,
57333
57348
  expires
57334
57349
  };
57335
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57350
+ ctx.dispatch(state => ({
57351
+ ...state,
57336
57352
  data: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.updateKey)(state.data, key, data)
57337
57353
  }));
57338
57354
  ctx.emit('store-data', {
@@ -57446,22 +57462,26 @@ __webpack_require__.r(__webpack_exports__);
57446
57462
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
57447
57463
 
57448
57464
  function destroyPortal(ctx, id) {
57449
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57465
+ ctx.dispatch(state => ({
57466
+ ...state,
57450
57467
  portals: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withoutKey)(state.portals, id)
57451
57468
  }));
57452
57469
  }
57453
57470
  function hidePortal(ctx, id, entry) {
57454
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57471
+ ctx.dispatch(state => ({
57472
+ ...state,
57455
57473
  portals: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.portals, id, (0,_utils__WEBPACK_IMPORTED_MODULE_0__.excludeItem)(state.portals[id], entry))
57456
57474
  }));
57457
57475
  }
57458
57476
  function updatePortal(ctx, id, current, next) {
57459
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57477
+ ctx.dispatch(state => ({
57478
+ ...state,
57460
57479
  portals: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.portals, id, (0,_utils__WEBPACK_IMPORTED_MODULE_0__.replaceOrAddItem)(state.portals[id], next, m => m === current))
57461
57480
  }));
57462
57481
  }
57463
57482
  function showPortal(ctx, id, entry) {
57464
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
57483
+ ctx.dispatch(state => ({
57484
+ ...state,
57465
57485
  portals: (0,_utils__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.portals, id, (0,_utils__WEBPACK_IMPORTED_MODULE_0__.includeItem)(state.portals[id], entry))
57466
57486
  }));
57467
57487
  }
@@ -57506,11 +57526,9 @@ __webpack_require__.r(__webpack_exports__);
57506
57526
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
57507
57527
  /* harmony export */ ErrorBoundary: () => (/* binding */ ErrorBoundary)
57508
57528
  /* harmony export */ });
57509
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
57510
57529
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
57511
57530
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
57512
- /* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/components.js");
57513
-
57531
+ /* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./components */ "../../framework/piral-core/esm/components/components.js");
57514
57532
 
57515
57533
 
57516
57534
  /**
@@ -57535,27 +57553,27 @@ class ErrorBoundary extends react__WEBPACK_IMPORTED_MODULE_0__.Component {
57535
57553
  });
57536
57554
  }
57537
57555
  render() {
57538
- const _a = this.props,
57539
- {
57540
- children,
57541
- piral,
57542
- errorType
57543
- } = _a,
57544
- renderProps = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__rest)(_a, ["children", "piral", "errorType"]);
57556
+ const {
57557
+ children,
57558
+ piral,
57559
+ errorType,
57560
+ ...renderProps
57561
+ } = this.props;
57545
57562
  const {
57546
57563
  error
57547
57564
  } = this.state;
57548
57565
  const rest = renderProps;
57549
57566
  if (error) {
57550
57567
  const pilet = piral.meta.name;
57551
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.RegisteredErrorInfo, Object.assign({
57568
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_1__.RegisteredErrorInfo, {
57552
57569
  type: errorType,
57553
57570
  error: error,
57554
- pilet: pilet
57555
- }, rest));
57571
+ pilet: pilet,
57572
+ ...rest
57573
+ });
57556
57574
  }
57557
57575
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Suspense, {
57558
- fallback: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.RegisteredLoadingIndicator, null)
57576
+ fallback: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_1__.RegisteredLoadingIndicator, null)
57559
57577
  }, children);
57560
57578
  }
57561
57579
  }
@@ -57608,9 +57626,12 @@ function ExtensionSlot(props) {
57608
57626
  reference,
57609
57627
  defaults = {}
57610
57628
  }, i) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
57611
- key: `${(reference === null || reference === void 0 ? void 0 : reference.displayName) || '_'}${i}`,
57629
+ key: `${reference?.displayName || '_'}${i}`,
57612
57630
  children: children,
57613
- params: Object.assign(Object.assign({}, defaults), params)
57631
+ params: {
57632
+ ...defaults,
57633
+ ...params
57634
+ }
57614
57635
  }));
57615
57636
  if (isEmpty && emptySkipsRender) {
57616
57637
  return content[0];
@@ -57801,7 +57822,6 @@ __webpack_require__.r(__webpack_exports__);
57801
57822
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
57802
57823
  /* harmony export */ PiralRoutes: () => (/* binding */ PiralRoutes)
57803
57824
  /* harmony export */ });
57804
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
57805
57825
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
57806
57826
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
57807
57827
  /* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hooks */ "../../framework/piral-core/esm/hooks/globalState.js");
@@ -57811,13 +57831,12 @@ __webpack_require__.r(__webpack_exports__);
57811
57831
 
57812
57832
 
57813
57833
 
57814
-
57815
57834
  function useShellRoutes() {
57816
57835
  const routes = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useGlobalState)(s => s.routes);
57817
57836
  return react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => Object.entries(routes).map(([path, Component]) => ({
57818
57837
  path,
57819
57838
  Component,
57820
- meta: (Component === null || Component === void 0 ? void 0 : Component.meta) || {},
57839
+ meta: Component?.meta || {},
57821
57840
  matcher: (0,_utils__WEBPACK_IMPORTED_MODULE_2__.createRouteMatcher)(path)
57822
57841
  })), [routes]);
57823
57842
  }
@@ -57838,17 +57857,17 @@ function useRoutes() {
57838
57857
  /**
57839
57858
  * The component for defining the exclusive routes to be used.
57840
57859
  */
57841
- const PiralRoutes = _a => {
57842
- var {
57843
- NotFound,
57844
- RouteSwitch
57845
- } = _a,
57846
- props = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__rest)(_a, ["NotFound", "RouteSwitch"]);
57860
+ const PiralRoutes = ({
57861
+ NotFound,
57862
+ RouteSwitch,
57863
+ ...props
57864
+ }) => {
57847
57865
  const paths = useRoutes();
57848
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteSwitch, Object.assign({
57866
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(RouteSwitch, {
57849
57867
  NotFound: NotFound,
57850
- paths: paths
57851
- }, props));
57868
+ paths: paths,
57869
+ ...props
57870
+ });
57852
57871
  };
57853
57872
  PiralRoutes.displayName = 'Routes';
57854
57873
 
@@ -57911,9 +57930,10 @@ __webpack_require__.r(__webpack_exports__);
57911
57930
 
57912
57931
 
57913
57932
 
57914
- const NotFound = props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_1__.RegisteredErrorInfo, Object.assign({
57915
- type: "not_found"
57916
- }, props));
57933
+ const NotFound = props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_1__.RegisteredErrorInfo, {
57934
+ type: "not_found",
57935
+ ...props
57936
+ });
57917
57937
  /**
57918
57938
  * The component responsible for the generic view of the application.
57919
57939
  * This includes the used the current content and some convenience.
@@ -58020,13 +58040,16 @@ function renderComponent(components, props) {
58020
58040
  if (!Component) {
58021
58041
  const Unknown = components.unknown;
58022
58042
  if (Unknown) {
58023
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Unknown, Object.assign({}, props, {
58043
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Unknown, {
58044
+ ...props,
58024
58045
  type: "unknown"
58025
- }));
58046
+ });
58026
58047
  }
58027
58048
  return (0,_utils__WEBPACK_IMPORTED_MODULE_2__.defaultRender)(`Error: ${props.type}`);
58028
58049
  }
58029
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, props));
58050
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
58051
+ ...props
58052
+ });
58030
58053
  }
58031
58054
  const SwitchErrorInfo = props => {
58032
58055
  const components = (0,_hooks__WEBPACK_IMPORTED_MODULE_3__.useGlobalState)(m => m.errorComponents);
@@ -58068,7 +58091,9 @@ function getPiralComponent(name) {
58068
58091
  return props => {
58069
58092
  const Component = (0,_hooks__WEBPACK_IMPORTED_MODULE_1__.useGlobalState)(s => s.components[name]);
58070
58093
  // tslint:disable-next-line:no-null-keyword
58071
- return Component ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, props)) : null;
58094
+ return Component ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
58095
+ ...props
58096
+ }) : null;
58072
58097
  };
58073
58098
  }
58074
58099
  /**
@@ -58130,7 +58155,12 @@ __webpack_require__.r(__webpack_exports__);
58130
58155
  // this is an arbitrary start number to have 6 digits
58131
58156
  let portalIdBase = 123456;
58132
58157
  function wrapReactComponent(Component, captured, Wrapper) {
58133
- return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, Object.assign({}, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, props, captured)));
58158
+ return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, {
58159
+ ...props
58160
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
58161
+ ...props,
58162
+ ...captured
58163
+ }));
58134
58164
  }
58135
58165
  function wrapForeignComponent(component, captured, Wrapper) {
58136
58166
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.memo(props => {
@@ -58145,9 +58175,14 @@ function wrapForeignComponent(component, captured, Wrapper) {
58145
58175
  navigation,
58146
58176
  router: navigation.router
58147
58177
  }), []);
58148
- const innerProps = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => Object.assign(Object.assign({}, props), captured), [props]);
58178
+ const innerProps = react__WEBPACK_IMPORTED_MODULE_0__.useMemo(() => ({
58179
+ ...props,
58180
+ ...captured
58181
+ }), [props]);
58149
58182
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => () => destroyPortal(id), _utils__WEBPACK_IMPORTED_MODULE_2__.none);
58150
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, Object.assign({}, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_PortalRenderer__WEBPACK_IMPORTED_MODULE_3__.PortalRenderer, {
58183
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Wrapper, {
58184
+ ...props
58185
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_PortalRenderer__WEBPACK_IMPORTED_MODULE_3__.PortalRenderer, {
58151
58186
  id: id
58152
58187
  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_ForeignComponentContainer__WEBPACK_IMPORTED_MODULE_4__.ForeignComponentContainer, {
58153
58188
  innerProps: innerProps,
@@ -58305,7 +58340,9 @@ __webpack_require__.r(__webpack_exports__);
58305
58340
  const DefaultErrorInfo = props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_ExtensionSlot__WEBPACK_IMPORTED_MODULE_1__.ExtensionSlot, {
58306
58341
  name: "error",
58307
58342
  params: props,
58308
- empty: () => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_SwitchErrorInfo__WEBPACK_IMPORTED_MODULE_2__.SwitchErrorInfo, Object.assign({}, props))
58343
+ empty: () => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_SwitchErrorInfo__WEBPACK_IMPORTED_MODULE_2__.SwitchErrorInfo, {
58344
+ ...props
58345
+ })
58309
58346
  });
58310
58347
  DefaultErrorInfo.displayName = 'DefaultErrorInfo';
58311
58348
 
@@ -58367,28 +58404,27 @@ __webpack_require__.r(__webpack_exports__);
58367
58404
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
58368
58405
  /* harmony export */ DefaultRouteSwitch: () => (/* binding */ DefaultRouteSwitch)
58369
58406
  /* harmony export */ });
58370
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
58371
58407
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
58372
58408
  /* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
58373
- /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
58374
-
58409
+ /* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
58375
58410
 
58376
58411
 
58377
- const DefaultRouteSwitch = _a => {
58378
- var {
58379
- paths,
58380
- NotFound
58381
- } = _a,
58382
- props = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__rest)(_a, ["paths", "NotFound"]);
58383
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Switch, Object.assign({}, props), paths.map(({
58412
+ const DefaultRouteSwitch = ({
58413
+ paths,
58414
+ NotFound,
58415
+ ...props
58416
+ }) => {
58417
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__.Switch, {
58418
+ ...props
58419
+ }, paths.map(({
58384
58420
  path,
58385
58421
  Component
58386
- }) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Route, {
58422
+ }) => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__.Route, {
58387
58423
  exact: true,
58388
58424
  key: path,
58389
58425
  path: path,
58390
58426
  component: Component
58391
- })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_2__.Route, {
58427
+ })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__.Route, {
58392
58428
  component: NotFound
58393
58429
  }));
58394
58430
  };
@@ -58475,11 +58511,12 @@ function createRedirect(to) {
58475
58511
  function createNavigation(publicPath) {
58476
58512
  const enhance = (location, action) => ({
58477
58513
  action,
58478
- location: Object.assign({
58514
+ location: {
58479
58515
  get href() {
58480
58516
  return _nav.createHref(location);
58481
- }
58482
- }, location)
58517
+ },
58518
+ ...location
58519
+ }
58483
58520
  });
58484
58521
  return {
58485
58522
  get path() {
@@ -58563,7 +58600,7 @@ function createPiletOptions({
58563
58600
  const options = {
58564
58601
  config: loaderConfig,
58565
58602
  strategy,
58566
- loadPilet: (0,piral_base__WEBPACK_IMPORTED_MODULE_0__.extendLoader)(loadPilet !== null && loadPilet !== void 0 ? loadPilet : (0,piral_base__WEBPACK_IMPORTED_MODULE_0__.getDefaultLoader)(loaderConfig), loaders),
58603
+ loadPilet: (0,piral_base__WEBPACK_IMPORTED_MODULE_0__.extendLoader)(loadPilet ?? (0,piral_base__WEBPACK_IMPORTED_MODULE_0__.getDefaultLoader)(loaderConfig), loaders),
58567
58604
  createApi,
58568
58605
  pilets: availablePilets,
58569
58606
  fetchPilets: requestPilets,
@@ -58704,7 +58741,9 @@ function createExtenders(context, apis) {
58704
58741
  if ((0,piral_base__WEBPACK_IMPORTED_MODULE_1__.isfunc)(ctx)) {
58705
58742
  return ctx;
58706
58743
  } else {
58707
- return () => Object.assign({}, ctx);
58744
+ return () => ({
58745
+ ...ctx
58746
+ });
58708
58747
  }
58709
58748
  });
58710
58749
  }
@@ -59160,7 +59199,8 @@ __webpack_require__.r(__webpack_exports__);
59160
59199
 
59161
59200
 
59162
59201
  function createContext(state, events) {
59163
- const ctx = Object.assign(Object.assign({}, events), {
59202
+ const ctx = {
59203
+ ...events,
59164
59204
  apis: {},
59165
59205
  converters: {
59166
59206
  html: ({
@@ -59169,7 +59209,7 @@ function createContext(state, events) {
59169
59209
  },
59170
59210
  navigation: (0,_app_codegen__WEBPACK_IMPORTED_MODULE_0__.createNavigation)(_app_codegen__WEBPACK_IMPORTED_MODULE_1__.publicPath),
59171
59211
  state
59172
- });
59212
+ };
59173
59213
  return ctx;
59174
59214
  }
59175
59215
  function includeActions(ctx, actions) {
@@ -59265,20 +59305,30 @@ function getWrapper(wrappers, wrapperType) {
59265
59305
  const WrapAll = wrappers['*'];
59266
59306
  const WrapType = wrappers[wrapperType];
59267
59307
  if (WrapAll && WrapType) {
59268
- return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrapAll, Object.assign({}, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrapType, Object.assign({}, props)));
59308
+ return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrapAll, {
59309
+ ...props
59310
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(WrapType, {
59311
+ ...props
59312
+ }));
59269
59313
  }
59270
59314
  return WrapType || WrapAll || DefaultWrapper;
59271
59315
  }
59272
59316
  function makeWrapper(context, outerProps, wrapperType, errorType) {
59273
59317
  const OuterWrapper = context.readState(m => getWrapper(m.registry.wrappers, wrapperType));
59274
- return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(OuterWrapper, Object.assign({}, outerProps, props), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.ErrorBoundary, Object.assign({}, outerProps, props, {
59318
+ return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(OuterWrapper, {
59319
+ ...outerProps,
59320
+ ...props
59321
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.ErrorBoundary, {
59322
+ ...outerProps,
59323
+ ...props,
59275
59324
  errorType: errorType
59276
- }), props.children));
59325
+ }, props.children));
59277
59326
  }
59278
59327
  function withApi(context, component, piral, errorType, wrapperType = errorType, captured = {}) {
59279
- const outerProps = Object.assign(Object.assign({}, captured), {
59328
+ const outerProps = {
59329
+ ...captured,
59280
59330
  piral
59281
- });
59331
+ };
59282
59332
  const converters = context.converters;
59283
59333
  const Wrapper = makeWrapper(context, outerProps, wrapperType, errorType);
59284
59334
  return (0,_components__WEBPACK_IMPORTED_MODULE_3__.wrapComponent)(converters, component, outerProps, Wrapper);
@@ -59300,7 +59350,8 @@ __webpack_require__.r(__webpack_exports__);
59300
59350
  /* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/debug.js");
59301
59351
 
59302
59352
  function integrateDebugger(context, options, debug = {}) {
59303
- (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiralDebug)(Object.assign(Object.assign({}, debug), {
59353
+ (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_0__.installPiralDebug)({
59354
+ ...debug,
59304
59355
  addPilet: context.addPilet,
59305
59356
  removePilet: context.removePilet,
59306
59357
  updatePilet(pilet) {
@@ -59341,12 +59392,23 @@ function integrateDebugger(context, options, debug = {}) {
59341
59392
  return context.readState(s => s.modules);
59342
59393
  },
59343
59394
  integrate(dbg) {
59344
- context.dispatch(s => Object.assign(Object.assign({}, s), {
59345
- components: Object.assign(Object.assign({}, s.components), dbg.components),
59346
- routes: Object.assign(Object.assign({}, s.routes), dbg.routes),
59347
- registry: Object.assign(Object.assign({}, s.registry), {
59348
- wrappers: Object.assign(Object.assign({}, s.registry.wrappers), dbg.wrappers)
59349
- })
59395
+ context.dispatch(s => ({
59396
+ ...s,
59397
+ components: {
59398
+ ...s.components,
59399
+ ...dbg.components
59400
+ },
59401
+ routes: {
59402
+ ...s.routes,
59403
+ ...dbg.routes
59404
+ },
59405
+ registry: {
59406
+ ...s.registry,
59407
+ wrappers: {
59408
+ ...s.registry.wrappers,
59409
+ ...dbg.wrappers
59410
+ }
59411
+ }
59350
59412
  }));
59351
59413
  context.state.subscribe((current, previous) => {
59352
59414
  const pilets = current.modules !== previous.modules;
@@ -59361,7 +59423,7 @@ function integrateDebugger(context, options, debug = {}) {
59361
59423
  });
59362
59424
  });
59363
59425
  }
59364
- }));
59426
+ });
59365
59427
  }
59366
59428
 
59367
59429
  /***/ }),
@@ -59518,8 +59580,7 @@ const SlotCarrier = ({
59518
59580
  }) => {
59519
59581
  const host = react__WEBPACK_IMPORTED_MODULE_0__.useRef();
59520
59582
  react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
59521
- var _a;
59522
- (_a = host.current) === null || _a === void 0 ? void 0 : _a.append(...nodes);
59583
+ host.current?.append(...nodes);
59523
59584
  return () => removeAll(nodes);
59524
59585
  }, [nodes]);
59525
59586
  if (nodes.length) {
@@ -59535,7 +59596,9 @@ const SlotCarrier = ({
59535
59596
  * @returns The extension component (receiving its props via params).
59536
59597
  */
59537
59598
  function toExtension(Component) {
59538
- return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, Object.assign({}, props.params));
59599
+ return props => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(Component, {
59600
+ ...props.params
59601
+ });
59539
59602
  }
59540
59603
  /**
59541
59604
  * Reactifies the list of child nodes to a React Node by removing the
@@ -59664,8 +59727,6 @@ __webpack_require__.r(__webpack_exports__);
59664
59727
  /* harmony export */ withKey: () => (/* binding */ withKey),
59665
59728
  /* harmony export */ withoutKey: () => (/* binding */ withoutKey)
59666
59729
  /* harmony export */ });
59667
- /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
59668
-
59669
59730
  // tslint:disable-next-line
59670
59731
  const removeIndicator = null;
59671
59732
  // to avoid creating unnecessary empty arrays
@@ -59723,21 +59784,22 @@ function updateKey(obj, key, value) {
59723
59784
  return value === removeIndicator ? withoutKey(obj, key) : withKey(obj, key, value);
59724
59785
  }
59725
59786
  function withKey(obj, key, value) {
59726
- return Object.assign(Object.assign({}, obj), {
59787
+ return {
59788
+ ...obj,
59727
59789
  [key]: value
59728
- });
59790
+ };
59729
59791
  }
59730
59792
  function withoutKey(obj, key) {
59731
- const _a = obj || {},
59732
- _b = key,
59733
- _ = _a[_b],
59734
- newObj = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__rest)(_a, [typeof _b === "symbol" ? _b : _b + ""]);
59793
+ const {
59794
+ [key]: _,
59795
+ ...newObj
59796
+ } = obj || {};
59735
59797
  return newObj;
59736
59798
  }
59737
59799
  function tryParseJson(content) {
59738
59800
  try {
59739
59801
  return JSON.parse(content);
59740
- } catch (_a) {
59802
+ } catch {
59741
59803
  return {};
59742
59804
  }
59743
59805
  }
@@ -59858,10 +59920,12 @@ function withAll(...dispatchers) {
59858
59920
  * @returns The dispatcher.
59859
59921
  */
59860
59922
  function withPage(name, value) {
59861
- return state => Object.assign(Object.assign({}, state), {
59862
- registry: Object.assign(Object.assign({}, state.registry), {
59923
+ return state => ({
59924
+ ...state,
59925
+ registry: {
59926
+ ...state.registry,
59863
59927
  pages: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.registry.pages, name, value)
59864
- })
59928
+ }
59865
59929
  });
59866
59930
  }
59867
59931
  /**
@@ -59870,10 +59934,12 @@ function withPage(name, value) {
59870
59934
  * @returns The dispatcher.
59871
59935
  */
59872
59936
  function withoutPage(name) {
59873
- return state => Object.assign(Object.assign({}, state), {
59874
- registry: Object.assign(Object.assign({}, state.registry), {
59937
+ return state => ({
59938
+ ...state,
59939
+ registry: {
59940
+ ...state.registry,
59875
59941
  pages: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withoutKey)(state.registry.pages, name)
59876
- })
59942
+ }
59877
59943
  });
59878
59944
  }
59879
59945
  /**
@@ -59883,10 +59949,12 @@ function withoutPage(name) {
59883
59949
  * @returns The dispatcher.
59884
59950
  */
59885
59951
  function withExtension(name, value) {
59886
- return state => Object.assign(Object.assign({}, state), {
59887
- registry: Object.assign(Object.assign({}, state.registry), {
59952
+ return state => ({
59953
+ ...state,
59954
+ registry: {
59955
+ ...state.registry,
59888
59956
  extensions: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.registry.extensions, name, (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.appendItem)(state.registry.extensions[name], value))
59889
- })
59957
+ }
59890
59958
  });
59891
59959
  }
59892
59960
  /**
@@ -59896,10 +59964,12 @@ function withExtension(name, value) {
59896
59964
  * @returns The dispatcher.
59897
59965
  */
59898
59966
  function withoutExtension(name, reference) {
59899
- return state => Object.assign(Object.assign({}, state), {
59900
- registry: Object.assign(Object.assign({}, state.registry), {
59967
+ return state => ({
59968
+ ...state,
59969
+ registry: {
59970
+ ...state.registry,
59901
59971
  extensions: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.registry.extensions, name, (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.excludeOn)(state.registry.extensions[name], m => m.reference === reference))
59902
- })
59972
+ }
59903
59973
  });
59904
59974
  }
59905
59975
  /**
@@ -59923,7 +59993,8 @@ function withRootExtension(name, component) {
59923
59993
  */
59924
59994
  function withProvider(provider) {
59925
59995
  const wrapper = props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.cloneElement)(provider, props);
59926
- return state => Object.assign(Object.assign({}, state), {
59996
+ return state => ({
59997
+ ...state,
59927
59998
  provider: !state.provider ? wrapper : props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(state.provider, undefined, wrapper(props))
59928
59999
  });
59929
60000
  }
@@ -59934,7 +60005,8 @@ function withProvider(provider) {
59934
60005
  * @returns The dispatcher.
59935
60006
  */
59936
60007
  function withRoute(path, component) {
59937
- return state => Object.assign(Object.assign({}, state), {
60008
+ return state => ({
60009
+ ...state,
59938
60010
  routes: (0,_helpers__WEBPACK_IMPORTED_MODULE_1__.withKey)(state.routes, path, component)
59939
60011
  });
59940
60012
  }
@@ -59989,9 +60061,10 @@ const Dashboard = props => {
59989
60061
  rows: initialRows
59990
60062
  }));
59991
60063
  });
59992
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.PiralDashboardContainer, Object.assign({}, props, {
60064
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components__WEBPACK_IMPORTED_MODULE_2__.PiralDashboardContainer, {
60065
+ ...props,
59993
60066
  children: children
59994
- }));
60067
+ });
59995
60068
  };
59996
60069
  Dashboard.displayName = 'Dashboard';
59997
60070
 
@@ -60012,17 +60085,21 @@ __webpack_require__.r(__webpack_exports__);
60012
60085
  /* harmony import */ var piral_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-core */ "../../framework/piral-core/esm/utils/helpers.js");
60013
60086
 
60014
60087
  function registerTile(ctx, name, value) {
60015
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
60016
- registry: Object.assign(Object.assign({}, state.registry), {
60088
+ ctx.dispatch(state => ({
60089
+ ...state,
60090
+ registry: {
60091
+ ...state.registry,
60017
60092
  tiles: (0,piral_core__WEBPACK_IMPORTED_MODULE_0__.withKey)(state.registry.tiles, name, value)
60018
- })
60093
+ }
60019
60094
  }));
60020
60095
  }
60021
60096
  function unregisterTile(ctx, name) {
60022
- ctx.dispatch(state => Object.assign(Object.assign({}, state), {
60023
- registry: Object.assign(Object.assign({}, state.registry), {
60097
+ ctx.dispatch(state => ({
60098
+ ...state,
60099
+ registry: {
60100
+ ...state.registry,
60024
60101
  tiles: (0,piral_core__WEBPACK_IMPORTED_MODULE_0__.withoutKey)(state.registry.tiles, name)
60025
- })
60102
+ }
60026
60103
  }));
60027
60104
  }
60028
60105
 
@@ -60155,7 +60232,10 @@ __webpack_require__.r(__webpack_exports__);
60155
60232
 
60156
60233
 
60157
60234
  function getPreferences(defaultPreferences, customPreferences = {}) {
60158
- return Object.assign(Object.assign({}, defaultPreferences), customPreferences);
60235
+ return {
60236
+ ...defaultPreferences,
60237
+ ...customPreferences
60238
+ };
60159
60239
  }
60160
60240
  function getTiles(items, defaultPreferences) {
60161
60241
  const tiles = {};
@@ -60173,22 +60253,29 @@ function getTiles(items, defaultPreferences) {
60173
60253
  return tiles;
60174
60254
  }
60175
60255
  function withTiles(tiles) {
60176
- return state => Object.assign(Object.assign({}, state), {
60177
- components: Object.assign({
60256
+ return state => ({
60257
+ ...state,
60258
+ components: {
60178
60259
  DashboardTile: _default__WEBPACK_IMPORTED_MODULE_0__.DefaultTile,
60179
- DashboardContainer: _default__WEBPACK_IMPORTED_MODULE_0__.DefaultContainer
60180
- }, state.components),
60181
- registry: Object.assign(Object.assign({}, state.registry), {
60260
+ DashboardContainer: _default__WEBPACK_IMPORTED_MODULE_0__.DefaultContainer,
60261
+ ...state.components
60262
+ },
60263
+ registry: {
60264
+ ...state.registry,
60182
60265
  tiles
60183
- })
60266
+ }
60184
60267
  });
60185
60268
  }
60186
60269
  function withRoutes(routes) {
60187
- return state => Object.assign(Object.assign({}, state), {
60188
- routes: Object.assign(Object.assign({}, state.routes), routes.reduce((newRoutes, route) => {
60189
- newRoutes[route] = _Dashboard__WEBPACK_IMPORTED_MODULE_1__.Dashboard;
60190
- return newRoutes;
60191
- }, {}))
60270
+ return state => ({
60271
+ ...state,
60272
+ routes: {
60273
+ ...state.routes,
60274
+ ...routes.reduce((newRoutes, route) => {
60275
+ newRoutes[route] = _Dashboard__WEBPACK_IMPORTED_MODULE_1__.Dashboard;
60276
+ return newRoutes;
60277
+ }, {})
60278
+ }
60192
60279
  });
60193
60280
  }
60194
60281
 
@@ -60215,12 +60302,11 @@ function createLazyApi() {
60215
60302
  return api => {
60216
60303
  const cache = {};
60217
60304
  const getDependency = name => {
60218
- var _a;
60219
60305
  const dep = cache[name];
60220
60306
  if (!dep) {
60221
60307
  throw new Error(`The given dependency "${name}" cannot be found. Please add it first using "defineDependency"`);
60222
60308
  }
60223
- return (_a = dep.result) !== null && _a !== void 0 ? _a : dep.result = dep.loader();
60309
+ return dep.result ?? (dep.result = dep.loader());
60224
60310
  };
60225
60311
  return {
60226
60312
  defineDependency(name, loader) {
@@ -60236,9 +60322,10 @@ function createLazyApi() {
60236
60322
  return obj;
60237
60323
  }, {});
60238
60324
  return load().then(comp => (0,piral_core__WEBPACK_IMPORTED_MODULE_1__.withApi)(context, comp, api, 'unknown')).then(compWithApi => ({
60239
- default: props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(compWithApi, Object.assign({
60240
- deps: depMap
60241
- }, props))
60325
+ default: props => /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(compWithApi, {
60326
+ deps: depMap,
60327
+ ...props
60328
+ })
60242
60329
  }));
60243
60330
  }));
60244
60331
  }
@@ -60381,8 +60468,7 @@ const Visualizer = ({
60381
60468
  }
60382
60469
  };
60383
60470
  const observer = new MutationObserver(() => {
60384
- var _a;
60385
- const newSibling = (_a = container.current) === null || _a === void 0 ? void 0 : _a.nextElementSibling;
60471
+ const newSibling = container.current?.nextElementSibling;
60386
60472
  if (newSibling !== sibling) {
60387
60473
  remove();
60388
60474
  sibling = newSibling;
@@ -60492,7 +60578,8 @@ function installPiralDebug(options) {
60492
60578
  const debugApiVersion = 'v1';
60493
60579
  let setValue = _state__WEBPACK_IMPORTED_MODULE_0__.initialSetter;
60494
60580
  (0,_state__WEBPACK_IMPORTED_MODULE_0__.setInitialState)(initialSettings);
60495
- const settings = Object.assign(Object.assign({}, customSettings), {
60581
+ const settings = {
60582
+ ...customSettings,
60496
60583
  viewState: {
60497
60584
  value: initialSettings.viewState,
60498
60585
  type: 'boolean',
@@ -60552,7 +60639,7 @@ function installPiralDebug(options) {
60552
60639
  setValue = value ? (0,_state__WEBPACK_IMPORTED_MODULE_0__.enablePersistance)() : (0,_state__WEBPACK_IMPORTED_MODULE_0__.disablePersistance)();
60553
60640
  }
60554
60641
  }
60555
- });
60642
+ };
60556
60643
  const sendMessage = content => {
60557
60644
  window.postMessage({
60558
60645
  content,
@@ -60618,9 +60705,10 @@ function installPiralDebug(options) {
60618
60705
  updatePilet(pilet.original);
60619
60706
  } else {
60620
60707
  // something fishy is going on - let's just try to activate the same pilet
60621
- updatePilet(Object.assign(Object.assign({}, pilet), {
60708
+ updatePilet({
60709
+ ...pilet,
60622
60710
  disabled: false
60623
- }));
60711
+ });
60624
60712
  }
60625
60713
  } else {
60626
60714
  updatePilet({
@@ -60631,21 +60719,26 @@ function installPiralDebug(options) {
60631
60719
  }
60632
60720
  };
60633
60721
  const toggleVisualize = () => {
60634
- (0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => Object.assign(Object.assign({}, s), {
60635
- visualize: Object.assign(Object.assign({}, s.visualize), {
60722
+ (0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => ({
60723
+ ...s,
60724
+ visualize: {
60725
+ ...s.visualize,
60636
60726
  force: !s.visualize.force
60637
- })
60727
+ }
60638
60728
  }));
60639
60729
  };
60640
60730
  const updateVisualize = active => {
60641
- (0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => Object.assign(Object.assign({}, s), {
60642
- visualize: Object.assign(Object.assign({}, s.visualize), {
60731
+ (0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => ({
60732
+ ...s,
60733
+ visualize: {
60734
+ ...s.visualize,
60643
60735
  active
60644
- })
60736
+ }
60645
60737
  }));
60646
60738
  };
60647
60739
  const goToRoute = (path, state) => {
60648
- (0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => Object.assign(Object.assign({}, s), {
60740
+ (0,_state__WEBPACK_IMPORTED_MODULE_0__.setState)(s => ({
60741
+ ...s,
60649
60742
  route: {
60650
60743
  path,
60651
60744
  state
@@ -60682,12 +60775,12 @@ function installPiralDebug(options) {
60682
60775
  debug: debugApiVersion,
60683
60776
  instance: {
60684
60777
  name: "sample-cross-fx",
60685
- version: "1.4.0-beta.6247",
60778
+ version: "1.4.0-beta.6252",
60686
60779
  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/web,piral-ng/common,preact,riot,rxjs,vue,zone.js,tslib,react,react-dom,react-router,react-router-dom"
60687
60780
  },
60688
60781
  build: {
60689
- date: "2023-11-20T00:02:05.641Z",
60690
- cli: "1.4.0-beta.6247",
60782
+ date: "2023-11-21T11:30:39.762Z",
60783
+ cli: "1.4.0-beta.6252",
60691
60784
  compat: "1"
60692
60785
  }
60693
60786
  };
@@ -60709,9 +60802,9 @@ function installPiralDebug(options) {
60709
60802
  version: pilet.version,
60710
60803
  disabled: pilet.disabled
60711
60804
  }));
60712
- sendMessage(Object.assign(Object.assign({
60713
- type: 'available'
60714
- }, details), {
60805
+ sendMessage({
60806
+ type: 'available',
60807
+ ...details,
60715
60808
  state: {
60716
60809
  routes,
60717
60810
  pilets,
@@ -60721,12 +60814,13 @@ function installPiralDebug(options) {
60721
60814
  extensions,
60722
60815
  dependencies
60723
60816
  }
60724
- }));
60817
+ });
60725
60818
  };
60726
60819
  const check = () => {
60727
- sendMessage(Object.assign({
60728
- type: 'info'
60729
- }, details));
60820
+ sendMessage({
60821
+ type: 'info',
60822
+ ...details
60823
+ });
60730
60824
  };
60731
60825
  const getDependencyMap = () => {
60732
60826
  const dependencyMap = {};
@@ -61056,10 +61150,9 @@ const debugRouteCache = {
61056
61150
  function freezeRouteRefresh() {
61057
61151
  debugRouteCache.active++;
61058
61152
  return () => {
61059
- var _a;
61060
61153
  debugRouteCache.active--;
61061
61154
  if (!debugRouteCache.active) {
61062
- (_a = debugRouteCache.refresh) === null || _a === void 0 ? void 0 : _a.call(debugRouteCache, s => s + 1);
61155
+ debugRouteCache.refresh?.(s => s + 1);
61063
61156
  }
61064
61157
  };
61065
61158
  }
@@ -61128,7 +61221,7 @@ if (persistSettings) {
61128
61221
  const value = settings[name];
61129
61222
  sessionStorage.setItem(name, value);
61130
61223
  });
61131
- } catch (_a) {
61224
+ } catch {
61132
61225
  // invalid data
61133
61226
  localStorage.setItem(persistKey, '{}');
61134
61227
  }
@@ -61169,7 +61262,7 @@ function setNavigate(navigate) {
61169
61262
  _navigate = navigate;
61170
61263
  }
61171
61264
  function navigate(path, state) {
61172
- _navigate === null || _navigate === void 0 ? void 0 : _navigate(path, state);
61265
+ _navigate?.(path, state);
61173
61266
  }
61174
61267
  let state = {
61175
61268
  visualize: {
@@ -72295,7 +72388,7 @@ __webpack_require__.r(__webpack_exports__);
72295
72388
 
72296
72389
 
72297
72390
  function fillDependencies(deps) {
72298
- deps['sample-cross-fx']={};deps["@angular/common"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/common@16.2.9"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/compiler"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/compiler@16.2.9"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/core"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/core@16.2.9"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/platform-browser"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser@16.2.9"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser-dynamic"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@angular/platform-browser-dynamic@16.2.9"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@webcomponents/webcomponentsjs"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["@webcomponents/webcomponentsjs@2.6.0"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["angular"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["angular@1.8.3"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["aurelia-framework"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-framework@1.4.1"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-templating-binding"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-binding@1.6.0"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-resources"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-templating-resources@1.14.3"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-pal-browser"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-pal-browser@1.8.1"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-event-aggregator"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-event-aggregator@1.0.3"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-history-browser"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["aurelia-history-browser@1.4.0"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["hyperapp"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["hyperapp@1.2.10"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["inferno"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno@7.4.11"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno-create-element"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["inferno-create-element@7.4.11"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["mithril"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["mithril@2.2.2"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["lit-element"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["lit-element@2.5.1"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["solid-js"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js@1.8.2"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js/web"]=_node_modules_solid_js_web_dist_dev_js__WEBPACK_IMPORTED_MODULE_24__;deps["piral-ng/common"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng/common@1.3.3"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng@1.3.3"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["preact"]=_node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__;deps["preact@10.18.1"]=_node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__;deps["riot"]=_node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__;deps["riot@4.14.0"]=_node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__;deps["rxjs"]=_node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__;deps["rxjs@7.5.6"]=_node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__;deps["vue"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["vue@2.7.14"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["zone.js"]=_node_modules_zone_js_fesm2015_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["zone.js@0.13.3"]=_node_modules_zone_js_fesm2015_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["tslib"]=_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_28__;deps["tslib@2.5.2"]=_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_28__;deps["react"]=_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_17__;deps["react@18.2.0"]=_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_17__;deps["react-dom"]=/*#__PURE__*/ (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-dom@18.2.0"]=/*#__PURE__*/ (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-router"]=_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_29__;deps["react-router@5.3.4"]=_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_29__;deps["react-router-dom"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__;deps["react-router-dom@5.3.4"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__
72391
+ deps['sample-cross-fx']={};deps["@angular/common"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/common@16.2.9"]=_node_modules_angular_common_fesm2022_common_mjs__WEBPACK_IMPORTED_MODULE_19__;deps["@angular/compiler"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/compiler@16.2.9"]=_node_modules_angular_compiler_fesm2022_compiler_mjs__WEBPACK_IMPORTED_MODULE_0__;deps["@angular/core"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/core@16.2.9"]=_node_modules_angular_core_fesm2022_core_mjs__WEBPACK_IMPORTED_MODULE_20__;deps["@angular/platform-browser"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser@16.2.9"]=_node_modules_angular_platform_browser_fesm2022_platform_browser_mjs__WEBPACK_IMPORTED_MODULE_21__;deps["@angular/platform-browser-dynamic"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@angular/platform-browser-dynamic@16.2.9"]=_node_modules_angular_platform_browser_dynamic_fesm2022_platform_browser_dynamic_mjs__WEBPACK_IMPORTED_MODULE_22__;deps["@webcomponents/webcomponentsjs"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["@webcomponents/webcomponentsjs@2.6.0"]=_node_modules_webcomponents_webcomponentsjs_webcomponents_bundle_js__WEBPACK_IMPORTED_MODULE_1__;deps["angular"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["angular@1.8.3"]=_node_modules_angular_index_js__WEBPACK_IMPORTED_MODULE_2__;deps["aurelia-framework"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-framework@1.4.1"]=_node_modules_aurelia_framework_dist_native_modules_aurelia_framework_js__WEBPACK_IMPORTED_MODULE_3__;deps["aurelia-templating-binding"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-binding@1.6.0"]=_samples_sample_cross_fx_node_modules_aurelia_templating_binding_dist_native_modules_aurelia_templating_binding_js__WEBPACK_IMPORTED_MODULE_4__;deps["aurelia-templating-resources"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-templating-resources@1.14.3"]=_samples_sample_cross_fx_node_modules_aurelia_templating_resources_dist_native_modules_aurelia_templating_resources_js__WEBPACK_IMPORTED_MODULE_5__;deps["aurelia-pal-browser"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-pal-browser@1.8.1"]=_node_modules_aurelia_pal_browser_dist_es2015_aurelia_pal_browser_js__WEBPACK_IMPORTED_MODULE_6__;deps["aurelia-event-aggregator"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-event-aggregator@1.0.3"]=_node_modules_aurelia_event_aggregator_dist_native_modules_aurelia_event_aggregator_js__WEBPACK_IMPORTED_MODULE_7__;deps["aurelia-history-browser"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["aurelia-history-browser@1.4.0"]=_node_modules_aurelia_history_browser_dist_native_modules_aurelia_history_browser_js__WEBPACK_IMPORTED_MODULE_8__;deps["hyperapp"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["hyperapp@1.2.10"]=_node_modules_hyperapp_src_index_js__WEBPACK_IMPORTED_MODULE_9__;deps["inferno"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno@7.4.11"]=_node_modules_inferno_index_esm_js__WEBPACK_IMPORTED_MODULE_10__;deps["inferno-create-element"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["inferno-create-element@7.4.11"]=_node_modules_inferno_create_element_dist_index_esm_js__WEBPACK_IMPORTED_MODULE_11__;deps["mithril"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["mithril@2.2.2"]=_samples_sample_cross_fx_node_modules_mithril_index_js__WEBPACK_IMPORTED_MODULE_12__;deps["lit-element"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["lit-element@2.5.1"]=_node_modules_lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_13__;deps["solid-js"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js@1.8.2"]=_node_modules_solid_js_dist_dev_js__WEBPACK_IMPORTED_MODULE_23__;deps["solid-js/web"]=_node_modules_solid_js_web_dist_dev_js__WEBPACK_IMPORTED_MODULE_24__;deps["piral-ng/common"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng/common@1.4.0-beta.6252"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["piral-ng@1.4.0-beta.6252"]=_converters_piral_ng_common_js__WEBPACK_IMPORTED_MODULE_25__;deps["preact"]=_node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__;deps["preact@10.18.1"]=_node_modules_preact_dist_preact_module_js__WEBPACK_IMPORTED_MODULE_14__;deps["riot"]=_node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__;deps["riot@4.14.0"]=_node_modules_riot_riot_esm_js__WEBPACK_IMPORTED_MODULE_15__;deps["rxjs"]=_node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__;deps["rxjs@7.5.6"]=_node_modules_rxjs_dist_esm5_index_js__WEBPACK_IMPORTED_MODULE_26__;deps["vue"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["vue@2.7.14"]=_node_modules_vue_dist_vue_runtime_esm_js__WEBPACK_IMPORTED_MODULE_27__;deps["zone.js"]=_node_modules_zone_js_fesm2015_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["zone.js@0.13.3"]=_node_modules_zone_js_fesm2015_zone_js__WEBPACK_IMPORTED_MODULE_16__;deps["tslib"]=_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_28__;deps["tslib@2.5.2"]=_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_28__;deps["react"]=_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_17__;deps["react@18.2.0"]=_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_17__;deps["react-dom"]=/*#__PURE__*/ (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-dom@18.2.0"]=/*#__PURE__*/ (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache || (_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18___namespace_cache = __webpack_require__.t(_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_18__, 2)));deps["react-router"]=_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_29__;deps["react-router@5.3.4"]=_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_29__;deps["react-router-dom"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__;deps["react-router-dom@5.3.4"]=_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_30__
72299
72392
  }
72300
72393
 
72301
72394
 
@@ -227424,4 +227517,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3__.createElement(piral
227424
227517
 
227425
227518
  /******/ })()
227426
227519
  ;
227427
- //# sourceMappingURL=index.25cec3.js.map
227520
+ //# sourceMappingURL=index.96af31.js.map