sample-cross-fx 0.15.0-beta.4791 → 0.15.0-beta.4801
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/{index.4b45cb.js → index.06bb6d.js} +87 -227
- package/app/{index.4b45cb.js.map → index.06bb6d.js.map} +1 -1
- package/app/index.html +1 -1
- package/app/index.js +1 -1
- package/files.tar +0 -0
- package/files_once.tar +0 -0
- package/package.json +20 -20
|
@@ -54430,8 +54430,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
54430
54430
|
/* harmony export */ });
|
|
54431
54431
|
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
54432
54432
|
/* harmony import */ var _interop__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./interop */ "../../converters/piral-blazor/esm/interop.js");
|
|
54433
|
+
var _a;
|
|
54434
|
+
|
|
54433
54435
|
|
|
54434
54436
|
|
|
54437
|
+
const loadedDependencies = (_a = window.$blazorDependencies) !== null && _a !== void 0 ? _a : window.$blazorDependencies = [];
|
|
54435
54438
|
function createDependencyLoader(convert, lazy = true) {
|
|
54436
54439
|
const definedBlazorReferences = [];
|
|
54437
54440
|
let dependency;
|
|
@@ -54443,18 +54446,32 @@ function createDependencyLoader(convert, lazy = true) {
|
|
|
54443
54446
|
defineBlazorReferences(references) {
|
|
54444
54447
|
const load = () => (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__awaiter)(this, void 0, void 0, function* () {
|
|
54445
54448
|
for (const dllUrl of references) {
|
|
54449
|
+
const dllName = dllUrl.substring(dllUrl.lastIndexOf('/') + 1);
|
|
54450
|
+
|
|
54446
54451
|
if (dllUrl.endsWith('.dll')) {
|
|
54447
|
-
const
|
|
54448
|
-
const pdbName = `${urlWithoutExtension}.pdb`;
|
|
54449
|
-
const pdbUrl = references.find(m => m === pdbName);
|
|
54452
|
+
const entry = loadedDependencies.find(m => m.name === dllName);
|
|
54450
54453
|
|
|
54451
|
-
if (
|
|
54452
|
-
|
|
54454
|
+
if (entry) {
|
|
54455
|
+
entry.count++;
|
|
54453
54456
|
} else {
|
|
54454
|
-
|
|
54457
|
+
const urlWithoutExtension = dllUrl.substring(0, dllUrl.length - 4);
|
|
54458
|
+
const pdbName = `${urlWithoutExtension}.pdb`;
|
|
54459
|
+
const pdbUrl = references.find(m => m === pdbName);
|
|
54460
|
+
|
|
54461
|
+
if (pdbUrl) {
|
|
54462
|
+
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadResourceWithSymbol)(dllUrl, pdbUrl);
|
|
54463
|
+
} else {
|
|
54464
|
+
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.loadResource)(dllUrl);
|
|
54465
|
+
}
|
|
54466
|
+
|
|
54467
|
+
loadedDependencies.push({
|
|
54468
|
+
name: dllName,
|
|
54469
|
+
url: dllUrl,
|
|
54470
|
+
count: 1
|
|
54471
|
+
});
|
|
54455
54472
|
}
|
|
54456
54473
|
|
|
54457
|
-
definedBlazorReferences.push(
|
|
54474
|
+
definedBlazorReferences.push(dllName);
|
|
54458
54475
|
}
|
|
54459
54476
|
}
|
|
54460
54477
|
});
|
|
@@ -54469,7 +54486,12 @@ function createDependencyLoader(convert, lazy = true) {
|
|
|
54469
54486
|
const references = definedBlazorReferences.splice(0, definedBlazorReferences.length);
|
|
54470
54487
|
|
|
54471
54488
|
for (const reference of references) {
|
|
54472
|
-
|
|
54489
|
+
const entry = loadedDependencies.find(m => m.name === reference);
|
|
54490
|
+
|
|
54491
|
+
if (--entry.count === 0) {
|
|
54492
|
+
loadedDependencies.splice(loadedDependencies.indexOf(entry), 1);
|
|
54493
|
+
yield (0,_interop__WEBPACK_IMPORTED_MODULE_1__.unloadResource)(entry.url);
|
|
54494
|
+
}
|
|
54473
54495
|
}
|
|
54474
54496
|
});
|
|
54475
54497
|
}
|
|
@@ -55585,15 +55607,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55585
55607
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55586
55608
|
/* harmony export */ "NgExtension": () => (/* binding */ NgExtension)
|
|
55587
55609
|
/* harmony export */ });
|
|
55588
|
-
/* harmony import */ var
|
|
55589
|
-
/* harmony import */ var
|
|
55590
|
-
var NgExtension_1;
|
|
55591
|
-
|
|
55610
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
55611
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2020/core.mjs");
|
|
55592
55612
|
|
|
55593
55613
|
|
|
55594
|
-
const ngc = _angular_core__WEBPACK_IMPORTED_MODULE_0__;
|
|
55595
55614
|
const selector = 'extension-component';
|
|
55596
|
-
let NgExtension =
|
|
55615
|
+
let NgExtension = class NgExtension {
|
|
55597
55616
|
constructor(elRef, piral) {
|
|
55598
55617
|
this.elRef = elRef;
|
|
55599
55618
|
this.piral = piral;
|
|
@@ -55615,43 +55634,18 @@ let NgExtension = NgExtension_1 = class NgExtension {
|
|
|
55615
55634
|
});
|
|
55616
55635
|
}
|
|
55617
55636
|
|
|
55618
|
-
};
|
|
55619
|
-
|
|
55620
|
-
NgExtension.ɵfac = 'ɵɵdirectiveInject' in ngc ? t => new (t || NgExtension_1)(ngc.ɵɵdirectiveInject(_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), ngc.ɵɵdirectiveInject('piral')) : undefined; // @ts-ignore
|
|
55621
|
-
|
|
55622
|
-
NgExtension.ɵcmp = 'ɵɵdefineComponent' in ngc ? ngc.ɵɵdefineComponent({
|
|
55623
|
-
type: NgExtension_1,
|
|
55624
|
-
selectors: [selector],
|
|
55625
|
-
inputs: {
|
|
55626
|
-
name: 'name',
|
|
55627
|
-
params: 'params'
|
|
55628
|
-
},
|
|
55629
|
-
decls: 0,
|
|
55630
|
-
vars: 0,
|
|
55631
|
-
template: () => {},
|
|
55632
|
-
encapsulation: 2
|
|
55633
|
-
}) : undefined;
|
|
55637
|
+
};
|
|
55634
55638
|
|
|
55635
|
-
(0,
|
|
55639
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Input)('name'), (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__metadata)("design:type", String)], NgExtension.prototype, "name", void 0);
|
|
55636
55640
|
|
|
55637
|
-
(0,
|
|
55641
|
+
(0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Input)('params'), (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__metadata)("design:type", Object)], NgExtension.prototype, "params", void 0);
|
|
55638
55642
|
|
|
55639
|
-
NgExtension =
|
|
55643
|
+
NgExtension = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Component)({
|
|
55640
55644
|
selector,
|
|
55641
55645
|
template: ''
|
|
55642
|
-
}), (0,
|
|
55646
|
+
}), (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__param)(1, (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject)('piral')), (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__metadata)("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_1__.ElementRef, Object])], NgExtension);
|
|
55643
55647
|
|
|
55644
55648
|
|
|
55645
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
55646
|
-
ngc.ɵsetClassMetadata(NgExtension, [{
|
|
55647
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
|
|
55648
|
-
args: [{
|
|
55649
|
-
selector,
|
|
55650
|
-
template: ''
|
|
55651
|
-
}]
|
|
55652
|
-
}]);
|
|
55653
|
-
}
|
|
55654
|
-
|
|
55655
55649
|
/***/ }),
|
|
55656
55650
|
|
|
55657
55651
|
/***/ "../../converters/piral-ng/esm/ResourceUrlPipe.js":
|
|
@@ -55665,14 +55659,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55665
55659
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55666
55660
|
/* harmony export */ "ResourceUrlPipe": () => (/* binding */ ResourceUrlPipe)
|
|
55667
55661
|
/* harmony export */ });
|
|
55668
|
-
/* harmony import */ var
|
|
55669
|
-
/* harmony import */ var
|
|
55670
|
-
var ResourceUrlPipe_1;
|
|
55671
|
-
|
|
55662
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
55663
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2020/core.mjs");
|
|
55672
55664
|
|
|
55673
55665
|
|
|
55674
|
-
|
|
55675
|
-
let ResourceUrlPipe = ResourceUrlPipe_1 = class ResourceUrlPipe {
|
|
55666
|
+
let ResourceUrlPipe = class ResourceUrlPipe {
|
|
55676
55667
|
constructor(piral) {
|
|
55677
55668
|
this.piral = piral;
|
|
55678
55669
|
}
|
|
@@ -55684,35 +55675,12 @@ let ResourceUrlPipe = ResourceUrlPipe_1 = class ResourceUrlPipe {
|
|
|
55684
55675
|
return basePath + value;
|
|
55685
55676
|
}
|
|
55686
55677
|
|
|
55687
|
-
};
|
|
55688
|
-
|
|
55689
|
-
ResourceUrlPipe.ɵfac = 'ɵɵdirectiveInject' in ngc ? t => new (t || ResourceUrlPipe_1)(ngc.ɵɵdirectiveInject('piral', 16)) : undefined; // @ts-ignore
|
|
55690
|
-
|
|
55691
|
-
ResourceUrlPipe.ɵpipe = 'ɵɵdefinePipe' in ngc ? ngc.ɵɵdefinePipe({
|
|
55692
|
-
name: 'resourceUrl',
|
|
55693
|
-
type: ResourceUrlPipe_1,
|
|
55694
|
-
pure: true
|
|
55695
|
-
}) : undefined;
|
|
55696
|
-
ResourceUrlPipe = ResourceUrlPipe_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe)({
|
|
55678
|
+
};
|
|
55679
|
+
ResourceUrlPipe = (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Pipe)({
|
|
55697
55680
|
name: 'resourceUrl'
|
|
55698
|
-
}), (0,
|
|
55681
|
+
}), (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__param)(0, (0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.Inject)('piral')), (0,tslib__WEBPACK_IMPORTED_MODULE_0__.__metadata)("design:paramtypes", [Object])], ResourceUrlPipe);
|
|
55699
55682
|
|
|
55700
55683
|
|
|
55701
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
55702
|
-
ngc.ɵsetClassMetadata(ResourceUrlPipe, [{
|
|
55703
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Pipe,
|
|
55704
|
-
args: [{
|
|
55705
|
-
name: 'resourceUrl'
|
|
55706
|
-
}]
|
|
55707
|
-
}], () => [{
|
|
55708
|
-
type: undefined,
|
|
55709
|
-
decorators: [{
|
|
55710
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
|
|
55711
|
-
args: ['piral']
|
|
55712
|
-
}]
|
|
55713
|
-
}]);
|
|
55714
|
-
}
|
|
55715
|
-
|
|
55716
55684
|
/***/ }),
|
|
55717
55685
|
|
|
55718
55686
|
/***/ "../../converters/piral-ng/esm/RoutingService.js":
|
|
@@ -55726,16 +55694,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55726
55694
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55727
55695
|
/* harmony export */ "RoutingService": () => (/* binding */ RoutingService)
|
|
55728
55696
|
/* harmony export */ });
|
|
55729
|
-
/* harmony import */ var
|
|
55730
|
-
/* harmony import */ var
|
|
55731
|
-
/* harmony import */ var
|
|
55732
|
-
var RoutingService_1;
|
|
55733
|
-
|
|
55697
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
55698
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2020/core.mjs");
|
|
55699
|
+
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ "../../../node_modules/@angular/router/fesm2020/router.mjs");
|
|
55734
55700
|
|
|
55735
55701
|
|
|
55736
55702
|
|
|
55737
|
-
|
|
55738
|
-
let RoutingService = RoutingService_1 = class RoutingService {
|
|
55703
|
+
let RoutingService = class RoutingService {
|
|
55739
55704
|
constructor(context, router, zone) {
|
|
55740
55705
|
this.context = context;
|
|
55741
55706
|
this.router = router;
|
|
@@ -55759,11 +55724,12 @@ let RoutingService = RoutingService_1 = class RoutingService {
|
|
|
55759
55724
|
const path = location.pathname;
|
|
55760
55725
|
|
|
55761
55726
|
if (!this.invalidRoutes.includes(path)) {
|
|
55762
|
-
|
|
55727
|
+
const url = path + location.search + location.hash;
|
|
55728
|
+
this.zone.run(() => this.router.navigateByUrl(url));
|
|
55763
55729
|
}
|
|
55764
55730
|
});
|
|
55765
55731
|
this.subscription = this.router.events.subscribe(e => {
|
|
55766
|
-
if (e instanceof
|
|
55732
|
+
if (e instanceof _angular_router__WEBPACK_IMPORTED_MODULE_0__.NavigationError) {
|
|
55767
55733
|
const path = e.url;
|
|
55768
55734
|
|
|
55769
55735
|
if (!this.invalidRoutes.includes(path)) {
|
|
@@ -55792,38 +55758,8 @@ let RoutingService = RoutingService_1 = class RoutingService {
|
|
|
55792
55758
|
}
|
|
55793
55759
|
|
|
55794
55760
|
};
|
|
55795
|
-
RoutingService
|
|
55796
|
-
|
|
55797
|
-
token: RoutingService_1,
|
|
55798
|
-
factory: RoutingService_1.ɵfac
|
|
55799
|
-
}) : undefined;
|
|
55800
|
-
RoutingService = RoutingService_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable)(), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__param)(0, (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject)('Context')), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__param)(1, (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional)()), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__param)(2, (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional)()), (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__metadata)("design:paramtypes", [Object, _angular_router__WEBPACK_IMPORTED_MODULE_1__.Router, _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone])], RoutingService);
|
|
55801
|
-
|
|
55802
|
-
|
|
55803
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
55804
|
-
ngc.ɵsetClassMetadata(RoutingService, [{
|
|
55805
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
|
|
55806
|
-
args: [{
|
|
55807
|
-
name: 'resourceUrl'
|
|
55808
|
-
}]
|
|
55809
|
-
}], () => [{
|
|
55810
|
-
type: undefined,
|
|
55811
|
-
decorators: [{
|
|
55812
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
|
|
55813
|
-
args: ['Context']
|
|
55814
|
-
}]
|
|
55815
|
-
}, {
|
|
55816
|
-
type: _angular_router__WEBPACK_IMPORTED_MODULE_1__.Router,
|
|
55817
|
-
decorators: [{
|
|
55818
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
|
|
55819
|
-
}]
|
|
55820
|
-
}, {
|
|
55821
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone,
|
|
55822
|
-
decorators: [{
|
|
55823
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
|
|
55824
|
-
}]
|
|
55825
|
-
}]);
|
|
55826
|
-
}
|
|
55761
|
+
RoutingService = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Injectable)(), (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__param)(0, (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Inject)('Context')), (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__param)(1, (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional)()), (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__param)(2, (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.Optional)()), (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__metadata)("design:paramtypes", [Object, _angular_router__WEBPACK_IMPORTED_MODULE_0__.Router, _angular_core__WEBPACK_IMPORTED_MODULE_2__.NgZone])], RoutingService);
|
|
55762
|
+
|
|
55827
55763
|
|
|
55828
55764
|
/***/ }),
|
|
55829
55765
|
|
|
@@ -55838,36 +55774,22 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55838
55774
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55839
55775
|
/* harmony export */ "SharedModule": () => (/* binding */ SharedModule)
|
|
55840
55776
|
/* harmony export */ });
|
|
55841
|
-
/* harmony import */ var
|
|
55842
|
-
/* harmony import */ var
|
|
55843
|
-
/* harmony import */ var
|
|
55844
|
-
/* harmony import */ var
|
|
55845
|
-
/* harmony import */ var
|
|
55846
|
-
var SharedModule_1;
|
|
55847
|
-
|
|
55848
|
-
|
|
55849
|
-
|
|
55850
|
-
|
|
55777
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
55778
|
+
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm2020/common.mjs");
|
|
55779
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2020/core.mjs");
|
|
55780
|
+
/* harmony import */ var _NgExtension__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NgExtension */ "../../converters/piral-ng/esm/NgExtension.js");
|
|
55781
|
+
/* harmony import */ var _ResourceUrlPipe__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ResourceUrlPipe */ "../../converters/piral-ng/esm/ResourceUrlPipe.js");
|
|
55851
55782
|
|
|
55852
55783
|
|
|
55853
|
-
const ngc = _angular_core__WEBPACK_IMPORTED_MODULE_0__;
|
|
55854
|
-
const declarationsDef = [_NgExtension__WEBPACK_IMPORTED_MODULE_1__.NgExtension, _ResourceUrlPipe__WEBPACK_IMPORTED_MODULE_2__.ResourceUrlPipe];
|
|
55855
|
-
const exportsDef = [_NgExtension__WEBPACK_IMPORTED_MODULE_1__.NgExtension, _ResourceUrlPipe__WEBPACK_IMPORTED_MODULE_2__.ResourceUrlPipe];
|
|
55856
|
-
const importsDef = [_angular_common__WEBPACK_IMPORTED_MODULE_3__.CommonModule];
|
|
55857
|
-
let SharedModule = SharedModule_1 = class SharedModule {};
|
|
55858
|
-
SharedModule.props = {}; // @ts-ignore
|
|
55859
55784
|
|
|
55860
|
-
SharedModule.ɵfac = 'ɵɵinject' in ngc ? t => new (t || SharedModule_1)() : undefined; // @ts-ignore
|
|
55861
55785
|
|
|
55862
|
-
SharedModule.ɵmod = 'ɵɵdefineNgModule' in ngc ? ngc.ɵɵdefineNgModule({
|
|
55863
|
-
type: SharedModule_1
|
|
55864
|
-
}) : undefined; // @ts-ignore
|
|
55865
55786
|
|
|
55866
|
-
|
|
55867
|
-
|
|
55868
|
-
|
|
55869
|
-
|
|
55870
|
-
SharedModule =
|
|
55787
|
+
const declarationsDef = [_NgExtension__WEBPACK_IMPORTED_MODULE_0__.NgExtension, _ResourceUrlPipe__WEBPACK_IMPORTED_MODULE_1__.ResourceUrlPipe];
|
|
55788
|
+
const exportsDef = [_NgExtension__WEBPACK_IMPORTED_MODULE_0__.NgExtension, _ResourceUrlPipe__WEBPACK_IMPORTED_MODULE_1__.ResourceUrlPipe];
|
|
55789
|
+
const importsDef = [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule];
|
|
55790
|
+
let SharedModule = class SharedModule {};
|
|
55791
|
+
SharedModule.props = {};
|
|
55792
|
+
SharedModule = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule)({
|
|
55871
55793
|
declarations: declarationsDef,
|
|
55872
55794
|
providers: [],
|
|
55873
55795
|
imports: importsDef,
|
|
@@ -55875,18 +55797,6 @@ SharedModule = SharedModule_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate
|
|
|
55875
55797
|
})], SharedModule);
|
|
55876
55798
|
|
|
55877
55799
|
|
|
55878
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
55879
|
-
ngc.ɵsetClassMetadata(SharedModule, [{
|
|
55880
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
55881
|
-
args: [{
|
|
55882
|
-
declarations: declarationsDef,
|
|
55883
|
-
providers: [],
|
|
55884
|
-
imports: importsDef,
|
|
55885
|
-
exports: exportsDef
|
|
55886
|
-
}]
|
|
55887
|
-
}]);
|
|
55888
|
-
}
|
|
55889
|
-
|
|
55890
55800
|
/***/ }),
|
|
55891
55801
|
|
|
55892
55802
|
/***/ "../../converters/piral-ng/esm/bootstrap.js":
|
|
@@ -56060,12 +55970,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56060
55970
|
/* harmony export */ "defineModule": () => (/* binding */ defineModule),
|
|
56061
55971
|
/* harmony export */ "getModuleInstance": () => (/* binding */ getModuleInstance)
|
|
56062
55972
|
/* harmony export */ });
|
|
56063
|
-
/* harmony import */ var
|
|
56064
|
-
/* harmony import */ var
|
|
56065
|
-
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/platform-browser */ "../../../node_modules/@angular/platform-browser/fesm2020/platform-browser.mjs");
|
|
55973
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
55974
|
+
/* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/platform-browser */ "../../../node_modules/@angular/platform-browser/fesm2020/platform-browser.mjs");
|
|
56066
55975
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm2020/common.mjs");
|
|
56067
|
-
/* harmony import */ var
|
|
56068
|
-
/* harmony import */ var
|
|
55976
|
+
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2020/core.mjs");
|
|
55977
|
+
/* harmony import */ var _RoutingService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./RoutingService */ "../../converters/piral-ng/esm/RoutingService.js");
|
|
55978
|
+
/* harmony import */ var _SharedModule__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SharedModule */ "../../converters/piral-ng/esm/SharedModule.js");
|
|
56069
55979
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils */ "../../converters/piral-ng/esm/utils.js");
|
|
56070
55980
|
|
|
56071
55981
|
|
|
@@ -56074,21 +55984,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56074
55984
|
|
|
56075
55985
|
|
|
56076
55986
|
|
|
56077
|
-
|
|
56078
|
-
const ngc = _angular_core__WEBPACK_IMPORTED_MODULE_0__;
|
|
56079
55987
|
const availableModules = [];
|
|
56080
55988
|
|
|
56081
55989
|
function instantiateModule(moduleDef, piral) {
|
|
56082
|
-
var BootstrapModule_1;
|
|
56083
55990
|
const {
|
|
56084
55991
|
module,
|
|
56085
55992
|
components
|
|
56086
55993
|
} = moduleDef;
|
|
56087
|
-
const imports = [
|
|
55994
|
+
const imports = [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__.BrowserModule, _SharedModule__WEBPACK_IMPORTED_MODULE_1__.SharedModule, module];
|
|
56088
55995
|
const props = {
|
|
56089
55996
|
current: undefined
|
|
56090
55997
|
};
|
|
56091
|
-
const providers = [
|
|
55998
|
+
const providers = [_RoutingService__WEBPACK_IMPORTED_MODULE_2__.RoutingService, {
|
|
56092
55999
|
provide: 'Props',
|
|
56093
56000
|
useFactory: () => props.current.value,
|
|
56094
56001
|
deps: []
|
|
@@ -56097,7 +56004,7 @@ function instantiateModule(moduleDef, piral) {
|
|
|
56097
56004
|
useFactory: () => piral,
|
|
56098
56005
|
deps: []
|
|
56099
56006
|
}];
|
|
56100
|
-
let BootstrapModule =
|
|
56007
|
+
let BootstrapModule = class BootstrapModule {
|
|
56101
56008
|
constructor(resolver, zone, routing) {
|
|
56102
56009
|
this.resolver = resolver;
|
|
56103
56010
|
this.zone = zone;
|
|
@@ -56145,37 +56052,11 @@ function instantiateModule(moduleDef, piral) {
|
|
|
56145
56052
|
}
|
|
56146
56053
|
|
|
56147
56054
|
};
|
|
56148
|
-
BootstrapModule
|
|
56149
|
-
BootstrapModule.ɵmod = 'ɵɵdefineNgModule' in ngc ? ngc.ɵɵdefineNgModule({
|
|
56150
|
-
type: BootstrapModule_1
|
|
56151
|
-
}) : undefined;
|
|
56152
|
-
BootstrapModule.ɵinj = 'ɵɵdefineInjector' in ngc ? ngc.ɵɵdefineInjector({
|
|
56153
|
-
providers,
|
|
56154
|
-
imports: [imports]
|
|
56155
|
-
}) : undefined;
|
|
56156
|
-
BootstrapModule = BootstrapModule_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule)({
|
|
56055
|
+
BootstrapModule = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule)({
|
|
56157
56056
|
imports,
|
|
56158
56057
|
entryComponents: components,
|
|
56159
56058
|
providers
|
|
56160
|
-
}), (0,
|
|
56161
|
-
|
|
56162
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
56163
|
-
ngc.ɵsetClassMetadata(BootstrapModule, [{
|
|
56164
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
56165
|
-
args: [{
|
|
56166
|
-
entryComponents: components,
|
|
56167
|
-
providers,
|
|
56168
|
-
imports
|
|
56169
|
-
}]
|
|
56170
|
-
}], () => [{
|
|
56171
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ComponentFactoryResolver
|
|
56172
|
-
}, {
|
|
56173
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone
|
|
56174
|
-
}, {
|
|
56175
|
-
type: _RoutingService__WEBPACK_IMPORTED_MODULE_3__.RoutingService
|
|
56176
|
-
}]);
|
|
56177
|
-
}
|
|
56178
|
-
|
|
56059
|
+
}), (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__metadata)("design:paramtypes", [_angular_core__WEBPACK_IMPORTED_MODULE_4__.ComponentFactoryResolver, _angular_core__WEBPACK_IMPORTED_MODULE_4__.NgZone, _RoutingService__WEBPACK_IMPORTED_MODULE_2__.RoutingService])], BootstrapModule);
|
|
56179
56060
|
return BootstrapModule;
|
|
56180
56061
|
}
|
|
56181
56062
|
|
|
@@ -56199,38 +56080,17 @@ function getModuleInstance(component, standalone, piral) {
|
|
|
56199
56080
|
return undefined;
|
|
56200
56081
|
}
|
|
56201
56082
|
function createModuleInstance(component, standalone, piral) {
|
|
56202
|
-
var Module_1;
|
|
56203
56083
|
const declarations = standalone ? [] : [component];
|
|
56204
56084
|
const importsDef = standalone ? [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, component] : [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule];
|
|
56205
56085
|
const exportsDef = [component];
|
|
56206
|
-
const schemasDef = [
|
|
56207
|
-
let Module =
|
|
56208
|
-
Module
|
|
56209
|
-
Module.ɵmod = 'ɵɵdefineNgModule' in ngc ? ngc.ɵɵdefineNgModule({
|
|
56210
|
-
type: Module_1
|
|
56211
|
-
}) : undefined;
|
|
56212
|
-
Module.ɵinj = 'ɵɵdefineInjector' in ngc ? ngc.ɵɵdefineInjector({
|
|
56213
|
-
imports: [importsDef]
|
|
56214
|
-
}) : undefined;
|
|
56215
|
-
Module = Module_1 = (0,tslib__WEBPACK_IMPORTED_MODULE_4__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule)({
|
|
56086
|
+
const schemasDef = [_angular_core__WEBPACK_IMPORTED_MODULE_4__.CUSTOM_ELEMENTS_SCHEMA];
|
|
56087
|
+
let Module = class Module {};
|
|
56088
|
+
Module = (0,tslib__WEBPACK_IMPORTED_MODULE_3__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.NgModule)({
|
|
56216
56089
|
declarations,
|
|
56217
56090
|
imports: importsDef,
|
|
56218
56091
|
exports: exportsDef,
|
|
56219
56092
|
schemas: schemasDef
|
|
56220
56093
|
})], Module);
|
|
56221
|
-
|
|
56222
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
56223
|
-
ngc.ɵsetClassMetadata(Module, [{
|
|
56224
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
56225
|
-
args: [{
|
|
56226
|
-
declarations,
|
|
56227
|
-
imports: importsDef,
|
|
56228
|
-
exports: exportsDef,
|
|
56229
|
-
schemas: schemasDef
|
|
56230
|
-
}]
|
|
56231
|
-
}]);
|
|
56232
|
-
}
|
|
56233
|
-
|
|
56234
56094
|
defineModule(Module);
|
|
56235
56095
|
return getModuleInstance(component, standalone, piral);
|
|
56236
56096
|
}
|
|
@@ -61388,7 +61248,7 @@ function createNavigation() {
|
|
|
61388
61248
|
},
|
|
61389
61249
|
|
|
61390
61250
|
listen(listener) {
|
|
61391
|
-
const handler = e => listener(enhance(e.detail, _nav.action));
|
|
61251
|
+
const handler = e => listener(enhance(e.detail.location, _nav.action));
|
|
61392
61252
|
|
|
61393
61253
|
window.addEventListener('piral-navigate', handler);
|
|
61394
61254
|
return () => {
|
|
@@ -61396,12 +61256,12 @@ function createNavigation() {
|
|
|
61396
61256
|
};
|
|
61397
61257
|
},
|
|
61398
61258
|
|
|
61399
|
-
|
|
61400
|
-
|
|
61401
|
-
|
|
61402
|
-
}
|
|
61403
|
-
}
|
|
61259
|
+
router: {
|
|
61260
|
+
get history() {
|
|
61261
|
+
return _nav;
|
|
61262
|
+
}
|
|
61404
61263
|
|
|
61264
|
+
}
|
|
61405
61265
|
};
|
|
61406
61266
|
}
|
|
61407
61267
|
|
|
@@ -63699,12 +63559,12 @@ function installPiralDebug(options) {
|
|
|
63699
63559
|
debug: debugApiVersion,
|
|
63700
63560
|
instance: {
|
|
63701
63561
|
name: "sample-cross-fx",
|
|
63702
|
-
version: "0.15.0-beta.
|
|
63562
|
+
version: "0.15.0-beta.4801",
|
|
63703
63563
|
dependencies: "@angular/common,@angular/compiler,@angular/core,@angular/platform-browser,@angular/platform-browser-dynamic,@webcomponents/webcomponentsjs,angular,aurelia-framework,aurelia-templating-binding,aurelia-templating-resources,aurelia-pal-browser,aurelia-event-aggregator,aurelia-history-browser,hyperapp,inferno,inferno-create-element,mithril,lit-element,solid-js,solid-js/dom,piral-ng/common,preact,riot,rxjs,vue,zone.js,tslib,react,react-dom,react-router,react-router-dom"
|
|
63704
63564
|
},
|
|
63705
63565
|
build: {
|
|
63706
|
-
date: "2022-
|
|
63707
|
-
cli: "0.15.0-beta.
|
|
63566
|
+
date: "2022-11-03T14:02:28.638Z",
|
|
63567
|
+
cli: "0.15.0-beta.4801",
|
|
63708
63568
|
compat: "0.15"
|
|
63709
63569
|
}
|
|
63710
63570
|
};
|
|
@@ -216341,4 +216201,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
216341
216201
|
|
|
216342
216202
|
/******/ })()
|
|
216343
216203
|
;
|
|
216344
|
-
//# sourceMappingURL=index.
|
|
216204
|
+
//# sourceMappingURL=index.06bb6d.js.map
|