sample-cross-fx 0.15.10 → 0.15.11-beta.5506

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.
@@ -59445,10 +59445,11 @@ __webpack_require__.r(__webpack_exports__);
59445
59445
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
59446
59446
  /* harmony export */ "renderElement": () => (/* binding */ renderElement)
59447
59447
  /* harmony export */ });
59448
- /* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/ExtensionSlot.js");
59448
+ /* harmony import */ var _components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../components */ "../../framework/piral-core/esm/components/ExtensionSlot.js");
59449
59449
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/helpers.js");
59450
59450
  /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/extension.js");
59451
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/foreign.js");
59451
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/compare.js");
59452
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils */ "../../framework/piral-core/esm/utils/foreign.js");
59452
59453
 
59453
59454
 
59454
59455
 
@@ -59484,8 +59485,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59484
59485
  }
59485
59486
 
59486
59487
  set params(value) {
59487
- this.props.params = value;
59488
- this.update(this.props);
59488
+ if (!(0,_utils__WEBPACK_IMPORTED_MODULE_2__.isSame)(this.props.params, value)) {
59489
+ this.props.params = value;
59490
+ this.update(this.props);
59491
+ }
59489
59492
  }
59490
59493
 
59491
59494
  get name() {
@@ -59493,8 +59496,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59493
59496
  }
59494
59497
 
59495
59498
  set name(value) {
59496
- this.props.name = value;
59497
- this.update(this.props);
59499
+ if (this.props.name !== value) {
59500
+ this.props.name = value;
59501
+ this.update(this.props);
59502
+ }
59498
59503
  }
59499
59504
 
59500
59505
  get order() {
@@ -59502,8 +59507,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59502
59507
  }
59503
59508
 
59504
59509
  set order(value) {
59505
- this.props.order = value;
59506
- this.update(this.props);
59510
+ if (this.props.order !== value) {
59511
+ this.props.order = value;
59512
+ this.update(this.props);
59513
+ }
59507
59514
  }
59508
59515
 
59509
59516
  get render() {
@@ -59511,8 +59518,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59511
59518
  }
59512
59519
 
59513
59520
  set render(value) {
59514
- this.props.render = value;
59515
- this.update(this.props);
59521
+ if (this.props.render !== value) {
59522
+ this.props.render = value;
59523
+ this.update(this.props);
59524
+ }
59516
59525
  }
59517
59526
 
59518
59527
  get empty() {
@@ -59520,8 +59529,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59520
59529
  }
59521
59530
 
59522
59531
  set empty(value) {
59523
- this.props.empty = value;
59524
- this.update(this.props);
59532
+ if (this.props.empty !== value) {
59533
+ this.props.empty = value;
59534
+ this.update(this.props);
59535
+ }
59525
59536
  }
59526
59537
 
59527
59538
  get emptySkipsRender() {
@@ -59529,8 +59540,10 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59529
59540
  }
59530
59541
 
59531
59542
  set emptySkipsRender(value) {
59532
- this.props.emptySkipsRender = value;
59533
- this.update(this.props);
59543
+ if (this.props.emptySkipsRender !== value) {
59544
+ this.props.emptySkipsRender = value;
59545
+ this.update(this.props);
59546
+ }
59534
59547
  }
59535
59548
 
59536
59549
  connectedCallback() {
@@ -59564,7 +59577,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59564
59577
  break;
59565
59578
 
59566
59579
  case 'empty-skips-render':
59567
- this.params = typeof newValue === 'string';
59580
+ this.emptySkipsRender = typeof newValue === 'string';
59568
59581
  break;
59569
59582
  }
59570
59583
  }
@@ -59575,7 +59588,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59575
59588
 
59576
59589
  }
59577
59590
 
59578
- customElements.define(_utils__WEBPACK_IMPORTED_MODULE_2__.extensionName, PiralExtension);
59591
+ customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.extensionName, PiralExtension);
59579
59592
  /**
59580
59593
  * This is a boundary to host elements from other frameworks - effectively vanishing
59581
59594
  * at runtime.
@@ -59594,7 +59607,7 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59594
59607
 
59595
59608
  }
59596
59609
 
59597
- customElements.define(_utils__WEBPACK_IMPORTED_MODULE_2__.portalName, PiralPortal);
59610
+ customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.portalName, PiralPortal);
59598
59611
  /**
59599
59612
  * This is a virtual element to aggregate rendering from other frameworks, mostly
59600
59613
  * used like piral-portal, but without context-hosting capabilities. This would
@@ -59614,12 +59627,12 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
59614
59627
 
59615
59628
  }
59616
59629
 
59617
- customElements.define(_utils__WEBPACK_IMPORTED_MODULE_2__.slotName, PiralSlot);
59630
+ customElements.define(_utils__WEBPACK_IMPORTED_MODULE_3__.slotName, PiralSlot);
59618
59631
  }
59619
59632
 
59620
59633
  function renderElement(context, element, props) {
59621
59634
  if (typeof window !== 'undefined') {
59622
- let [id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.renderInDom)(context, element, _components__WEBPACK_IMPORTED_MODULE_3__.ExtensionSlot, props);
59635
+ let [id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.renderInDom)(context, element, _components__WEBPACK_IMPORTED_MODULE_4__.ExtensionSlot, props);
59623
59636
  const evName = 'extension-props-changed';
59624
59637
 
59625
59638
  const handler = ev => update(ev.detail);
@@ -59630,7 +59643,7 @@ function renderElement(context, element, props) {
59630
59643
  };
59631
59644
 
59632
59645
  const update = newProps => {
59633
- [id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.changeDomPortal)(id, portal, context, element, _components__WEBPACK_IMPORTED_MODULE_3__.ExtensionSlot, newProps);
59646
+ [id, portal] = (0,_utils__WEBPACK_IMPORTED_MODULE_3__.changeDomPortal)(id, portal, context, element, _components__WEBPACK_IMPORTED_MODULE_4__.ExtensionSlot, newProps);
59634
59647
  };
59635
59648
 
59636
59649
  element.addEventListener(evName, handler);
@@ -61354,11 +61367,11 @@ function installPiralDebug(options) {
61354
61367
  debug: debugApiVersion,
61355
61368
  instance: {
61356
61369
  name: "sample-cross-fx",
61357
- version: "0.15.10",
61370
+ version: "0.15.11-beta.5506",
61358
61371
  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"
61359
61372
  },
61360
61373
  build: {
61361
- date: "2023-05-08T10:16:23.465Z",
61374
+ date: "2023-05-11T13:26:40.064Z",
61362
61375
  cli: "0.15.10",
61363
61376
  compat: "0.15"
61364
61377
  }
@@ -216473,4 +216486,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
216473
216486
 
216474
216487
  /******/ })()
216475
216488
  ;
216476
- //# sourceMappingURL=index.b29008.js.map
216489
+ //# sourceMappingURL=index.14174f.js.map