sample-cross-fx 0.15.0-beta.4798 → 0.15.0-beta.4803
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.832e1f.js → index.717365.js} +25 -74
- package/app/{index.832e1f.js.map → index.717365.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 +98 -48
|
@@ -55724,7 +55724,8 @@ let RoutingService = class RoutingService {
|
|
|
55724
55724
|
const path = location.pathname;
|
|
55725
55725
|
|
|
55726
55726
|
if (!this.invalidRoutes.includes(path)) {
|
|
55727
|
-
|
|
55727
|
+
const url = path + location.search + location.hash;
|
|
55728
|
+
this.zone.run(() => this.router.navigateByUrl(url));
|
|
55728
55729
|
}
|
|
55729
55730
|
});
|
|
55730
55731
|
this.subscription = this.router.events.subscribe(e => {
|
|
@@ -55969,12 +55970,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55969
55970
|
/* harmony export */ "defineModule": () => (/* binding */ defineModule),
|
|
55970
55971
|
/* harmony export */ "getModuleInstance": () => (/* binding */ getModuleInstance)
|
|
55971
55972
|
/* harmony export */ });
|
|
55972
|
-
/* harmony import */ var
|
|
55973
|
-
/* harmony import */ var
|
|
55974
|
-
/* 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");
|
|
55975
55975
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm2020/common.mjs");
|
|
55976
|
-
/* harmony import */ var
|
|
55977
|
-
/* 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");
|
|
55978
55979
|
/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils */ "../../converters/piral-ng/esm/utils.js");
|
|
55979
55980
|
|
|
55980
55981
|
|
|
@@ -55983,21 +55984,18 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55983
55984
|
|
|
55984
55985
|
|
|
55985
55986
|
|
|
55986
|
-
|
|
55987
|
-
const ngc = _angular_core__WEBPACK_IMPORTED_MODULE_0__;
|
|
55988
55987
|
const availableModules = [];
|
|
55989
55988
|
|
|
55990
55989
|
function instantiateModule(moduleDef, piral) {
|
|
55991
|
-
var BootstrapModule_1;
|
|
55992
55990
|
const {
|
|
55993
55991
|
module,
|
|
55994
55992
|
components
|
|
55995
55993
|
} = moduleDef;
|
|
55996
|
-
const imports = [
|
|
55994
|
+
const imports = [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__.BrowserModule, _SharedModule__WEBPACK_IMPORTED_MODULE_1__.SharedModule, module];
|
|
55997
55995
|
const props = {
|
|
55998
55996
|
current: undefined
|
|
55999
55997
|
};
|
|
56000
|
-
const providers = [
|
|
55998
|
+
const providers = [_RoutingService__WEBPACK_IMPORTED_MODULE_2__.RoutingService, {
|
|
56001
55999
|
provide: 'Props',
|
|
56002
56000
|
useFactory: () => props.current.value,
|
|
56003
56001
|
deps: []
|
|
@@ -56006,7 +56004,7 @@ function instantiateModule(moduleDef, piral) {
|
|
|
56006
56004
|
useFactory: () => piral,
|
|
56007
56005
|
deps: []
|
|
56008
56006
|
}];
|
|
56009
|
-
let BootstrapModule =
|
|
56007
|
+
let BootstrapModule = class BootstrapModule {
|
|
56010
56008
|
constructor(resolver, zone, routing) {
|
|
56011
56009
|
this.resolver = resolver;
|
|
56012
56010
|
this.zone = zone;
|
|
@@ -56054,37 +56052,11 @@ function instantiateModule(moduleDef, piral) {
|
|
|
56054
56052
|
}
|
|
56055
56053
|
|
|
56056
56054
|
};
|
|
56057
|
-
BootstrapModule
|
|
56058
|
-
BootstrapModule.ɵmod = 'ɵɵdefineNgModule' in ngc ? ngc.ɵɵdefineNgModule({
|
|
56059
|
-
type: BootstrapModule_1
|
|
56060
|
-
}) : undefined;
|
|
56061
|
-
BootstrapModule.ɵinj = 'ɵɵdefineInjector' in ngc ? ngc.ɵɵdefineInjector({
|
|
56062
|
-
providers,
|
|
56063
|
-
imports: [imports]
|
|
56064
|
-
}) : undefined;
|
|
56065
|
-
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)({
|
|
56066
56056
|
imports,
|
|
56067
56057
|
entryComponents: components,
|
|
56068
56058
|
providers
|
|
56069
|
-
}), (0,
|
|
56070
|
-
|
|
56071
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
56072
|
-
ngc.ɵsetClassMetadata(BootstrapModule, [{
|
|
56073
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
56074
|
-
args: [{
|
|
56075
|
-
entryComponents: components,
|
|
56076
|
-
providers,
|
|
56077
|
-
imports
|
|
56078
|
-
}]
|
|
56079
|
-
}], () => [{
|
|
56080
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ComponentFactoryResolver
|
|
56081
|
-
}, {
|
|
56082
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone
|
|
56083
|
-
}, {
|
|
56084
|
-
type: _RoutingService__WEBPACK_IMPORTED_MODULE_3__.RoutingService
|
|
56085
|
-
}]);
|
|
56086
|
-
}
|
|
56087
|
-
|
|
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);
|
|
56088
56060
|
return BootstrapModule;
|
|
56089
56061
|
}
|
|
56090
56062
|
|
|
@@ -56108,38 +56080,17 @@ function getModuleInstance(component, standalone, piral) {
|
|
|
56108
56080
|
return undefined;
|
|
56109
56081
|
}
|
|
56110
56082
|
function createModuleInstance(component, standalone, piral) {
|
|
56111
|
-
var Module_1;
|
|
56112
56083
|
const declarations = standalone ? [] : [component];
|
|
56113
56084
|
const importsDef = standalone ? [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, component] : [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule];
|
|
56114
56085
|
const exportsDef = [component];
|
|
56115
|
-
const schemasDef = [
|
|
56116
|
-
let Module =
|
|
56117
|
-
Module
|
|
56118
|
-
Module.ɵmod = 'ɵɵdefineNgModule' in ngc ? ngc.ɵɵdefineNgModule({
|
|
56119
|
-
type: Module_1
|
|
56120
|
-
}) : undefined;
|
|
56121
|
-
Module.ɵinj = 'ɵɵdefineInjector' in ngc ? ngc.ɵɵdefineInjector({
|
|
56122
|
-
imports: [importsDef]
|
|
56123
|
-
}) : undefined;
|
|
56124
|
-
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)({
|
|
56125
56089
|
declarations,
|
|
56126
56090
|
imports: importsDef,
|
|
56127
56091
|
exports: exportsDef,
|
|
56128
56092
|
schemas: schemasDef
|
|
56129
56093
|
})], Module);
|
|
56130
|
-
|
|
56131
|
-
if ('ɵsetClassMetadata' in ngc) {
|
|
56132
|
-
ngc.ɵsetClassMetadata(Module, [{
|
|
56133
|
-
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
|
|
56134
|
-
args: [{
|
|
56135
|
-
declarations,
|
|
56136
|
-
imports: importsDef,
|
|
56137
|
-
exports: exportsDef,
|
|
56138
|
-
schemas: schemasDef
|
|
56139
|
-
}]
|
|
56140
|
-
}]);
|
|
56141
|
-
}
|
|
56142
|
-
|
|
56143
56094
|
defineModule(Module);
|
|
56144
56095
|
return getModuleInstance(component, standalone, piral);
|
|
56145
56096
|
}
|
|
@@ -61297,7 +61248,7 @@ function createNavigation() {
|
|
|
61297
61248
|
},
|
|
61298
61249
|
|
|
61299
61250
|
listen(listener) {
|
|
61300
|
-
const handler = e => listener(enhance(e.detail, _nav.action));
|
|
61251
|
+
const handler = e => listener(enhance(e.detail.location, _nav.action));
|
|
61301
61252
|
|
|
61302
61253
|
window.addEventListener('piral-navigate', handler);
|
|
61303
61254
|
return () => {
|
|
@@ -61305,12 +61256,12 @@ function createNavigation() {
|
|
|
61305
61256
|
};
|
|
61306
61257
|
},
|
|
61307
61258
|
|
|
61308
|
-
|
|
61309
|
-
|
|
61310
|
-
|
|
61311
|
-
}
|
|
61312
|
-
}
|
|
61259
|
+
router: {
|
|
61260
|
+
get history() {
|
|
61261
|
+
return _nav;
|
|
61262
|
+
}
|
|
61313
61263
|
|
|
61264
|
+
}
|
|
61314
61265
|
};
|
|
61315
61266
|
}
|
|
61316
61267
|
|
|
@@ -63608,12 +63559,12 @@ function installPiralDebug(options) {
|
|
|
63608
63559
|
debug: debugApiVersion,
|
|
63609
63560
|
instance: {
|
|
63610
63561
|
name: "sample-cross-fx",
|
|
63611
|
-
version: "0.15.0-beta.
|
|
63562
|
+
version: "0.15.0-beta.4803",
|
|
63612
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"
|
|
63613
63564
|
},
|
|
63614
63565
|
build: {
|
|
63615
|
-
date: "2022-11-
|
|
63616
|
-
cli: "0.15.0-beta.
|
|
63566
|
+
date: "2022-11-05T02:14:34.968Z",
|
|
63567
|
+
cli: "0.15.0-beta.4803",
|
|
63617
63568
|
compat: "0.15"
|
|
63618
63569
|
}
|
|
63619
63570
|
};
|
|
@@ -216250,4 +216201,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
216250
216201
|
|
|
216251
216202
|
/******/ })()
|
|
216252
216203
|
;
|
|
216253
|
-
//# sourceMappingURL=index.
|
|
216204
|
+
//# sourceMappingURL=index.717365.js.map
|