sample-cross-fx 0.14.18 → 0.14.19-beta.3964

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.
@@ -126940,7 +126940,7 @@ function prepareBootstrap(moduleOrComponent) {
126940
126940
  function bootstrap(result, node, props, context) {
126941
126941
  return (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__awaiter)(this, void 0, void 0, function* () {
126942
126942
  const [selectedModule, ngOptions, component] = result;
126943
- const ref = yield (0,_startup__WEBPACK_IMPORTED_MODULE_3__.startup)(selectedModule, context, ngOptions);
126943
+ const ref = yield (0,_startup__WEBPACK_IMPORTED_MODULE_3__.startup)(selectedModule, context, props.piral, ngOptions);
126944
126944
 
126945
126945
  if (ref) {
126946
126946
  ref.instance.attach(component, node, props);
@@ -127107,10 +127107,6 @@ function instantiateModule(moduleDef) {
127107
127107
  provide: 'Props',
127108
127108
  useFactory: () => props.current,
127109
127109
  deps: []
127110
- }, {
127111
- provide: 'piral',
127112
- useFactory: () => props.current.piral,
127113
- deps: []
127114
127110
  }];
127115
127111
  let BootstrapModule = BootstrapModule_1 = class BootstrapModule {
127116
127112
  constructor(resolver, zone, routing) {
@@ -127285,7 +127281,7 @@ function getVersionHandler(versions) {
127285
127281
  }
127286
127282
 
127287
127283
  const runningModules = [];
127288
- function startup(BootstrapModule, context, ngOptions) {
127284
+ function startup(BootstrapModule, context, piral, ngOptions) {
127289
127285
  var _a;
127290
127286
 
127291
127287
  const runningModule = runningModules.find(([ref]) => ref === BootstrapModule);
@@ -127298,6 +127294,10 @@ function startup(BootstrapModule, context, ngOptions) {
127298
127294
  const platform = (0,_angular_platform_browser_dynamic__WEBPACK_IMPORTED_MODULE_1__.platformBrowserDynamic)([{
127299
127295
  provide: 'Context',
127300
127296
  useValue: context
127297
+ }, {
127298
+ provide: 'piral',
127299
+ useFactory: () => piral,
127300
+ deps: []
127301
127301
  }, {
127302
127302
  provide: _angular_common__WEBPACK_IMPORTED_MODULE_2__.APP_BASE_HREF,
127303
127303
  useValue: path
@@ -127344,11 +127344,11 @@ if (true) {
127344
127344
  },
127345
127345
 
127346
127346
  current() {
127347
- console.log('Running in current mode (Angular 9-11)');
127347
+ console.log('Running in current mode (Angular 9-13)');
127348
127348
  },
127349
127349
 
127350
127350
  next() {
127351
- console.log('Running in next mode (Angular 12)');
127351
+ console.log('Running in next mode (Angular 14)');
127352
127352
  },
127353
127353
 
127354
127354
  unknown() {
@@ -127366,7 +127366,9 @@ if (true) {
127366
127366
  v9: versionHandlers.current,
127367
127367
  v10: versionHandlers.current,
127368
127368
  v11: versionHandlers.current,
127369
- v12: versionHandlers.next
127369
+ v12: versionHandlers.current,
127370
+ v13: versionHandlers.current,
127371
+ v14: versionHandlers.next
127370
127372
  };
127371
127373
  const handler = getVersionHandler(versions) || versionHandlers.unknown;
127372
127374
  handler();
@@ -131098,7 +131100,7 @@ function createInstance(config = {}) {
131098
131100
  const createApi = apiFactory(context, usedPlugins);
131099
131101
  const root = createApi({
131100
131102
  name: 'root',
131101
- version: "0.14.18" || 0,
131103
+ version: "0.14.19-beta.3964" || 0,
131102
131104
  spec: ''
131103
131105
  });
131104
131106
  const options = (0,_helpers__WEBPACK_IMPORTED_MODULE_6__.createPiletOptions)({
@@ -132491,13 +132493,11 @@ __webpack_require__.r(__webpack_exports__);
132491
132493
  /* harmony export */ "getCurrentLayout": () => (/* binding */ getCurrentLayout)
132492
132494
  /* harmony export */ });
132493
132495
  /* harmony import */ var piral_base__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! piral-base */ "../../framework/piral-base/esm/utils.js");
132494
- /* harmony import */ var _helpers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helpers */ "../../framework/piral-core/esm/utils/helpers.js");
132495
-
132496
132496
 
132497
132497
  const defaultLayouts = ['desktop', 'tablet', 'mobile'];
132498
132498
  const defaultBreakpoints = ['(min-width: 991px)', '(min-width: 481px)', '(max-width: 480px)'];
132499
132499
  const mm = typeof window === 'undefined' || !(0,piral_base__WEBPACK_IMPORTED_MODULE_0__.isfunc)(window.matchMedia) ? () => ({
132500
- matches: _helpers__WEBPACK_IMPORTED_MODULE_1__.none
132500
+ matches: undefined
132501
132501
  }) : q => window.matchMedia(q);
132502
132502
  function getCurrentLayout(breakpoints, layouts, defaultLayout) {
132503
132503
  const query = breakpoints.findIndex(q => mm(q).matches);
@@ -133573,12 +133573,12 @@ function installPiralDebug(options) {
133573
133573
  debug: debugApiVersion,
133574
133574
  instance: {
133575
133575
  name: "sample-cross-fx",
133576
- version: "0.14.18",
133576
+ version: "0.14.19-beta.3964",
133577
133577
  dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,preact,riot,rxjs,vue,zone.js,react,react-dom,react-router,react-router-dom,history,tslib,path-to-regexp,@libre/atom,@dbeining/react-atom"
133578
133578
  },
133579
133579
  build: {
133580
- date: "2022-03-15T08:48:34.852Z",
133581
- cli: "0.14.17",
133580
+ date: "2022-03-18T18:18:38.933Z",
133581
+ cli: "0.14.18",
133582
133582
  compat: "0.14"
133583
133583
  },
133584
133584
  pilets: {
@@ -255746,4 +255746,4 @@ const app = React.createElement(piral_core_1.Piral, {
255746
255746
 
255747
255747
  /******/ })()
255748
255748
  ;
255749
- //# sourceMappingURL=index.55444e.js.map
255749
+ //# sourceMappingURL=index.9f49b3.js.map