sample-cross-fx 0.15.0-beta.4633 → 0.15.0-beta.4672
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.733b33.js → index.b0ccff.js} +281 -145
- package/app/{index.733b33.js.map → index.b0ccff.js.map} +1 -1
- package/app/index.d.ts +1168 -1166
- 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
|
@@ -54100,7 +54100,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
54100
54100
|
|
|
54101
54101
|
function createConverter(config = {}) {
|
|
54102
54102
|
const {
|
|
54103
|
-
rootName = '
|
|
54103
|
+
rootName = 'piral-slot'
|
|
54104
54104
|
} = config;
|
|
54105
54105
|
(0,aurelia_pal_browser__WEBPACK_IMPORTED_MODULE_1__.initialize)();
|
|
54106
54106
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_2__.createExtension)(rootName);
|
|
@@ -54266,6 +54266,16 @@ function project(component, destination, options) {
|
|
|
54266
54266
|
destination.appendChild(component);
|
|
54267
54267
|
}
|
|
54268
54268
|
|
|
54269
|
+
function makeUrl(href) {
|
|
54270
|
+
const origin = document.location.origin;
|
|
54271
|
+
|
|
54272
|
+
if (!href.startsWith(origin)) {
|
|
54273
|
+
return `${origin}${href}`;
|
|
54274
|
+
}
|
|
54275
|
+
|
|
54276
|
+
return href;
|
|
54277
|
+
}
|
|
54278
|
+
|
|
54269
54279
|
function createConverter(lazy) {
|
|
54270
54280
|
const boot = (0,_interop__WEBPACK_IMPORTED_MODULE_0__.createBootLoader)(_infra_codegen__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
54271
54281
|
let loader = !lazy && boot();
|
|
@@ -54293,7 +54303,8 @@ function createConverter(lazy) {
|
|
|
54293
54303
|
}) => {
|
|
54294
54304
|
// POP is already handled by .NET
|
|
54295
54305
|
if (action !== 'POP') {
|
|
54296
|
-
(
|
|
54306
|
+
const url = makeUrl(location.href);
|
|
54307
|
+
(0,_interop__WEBPACK_IMPORTED_MODULE_0__.callNotifyLocationChanged)(url, action === 'REPLACE');
|
|
54297
54308
|
}
|
|
54298
54309
|
});
|
|
54299
54310
|
}
|
|
@@ -54891,7 +54902,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
54891
54902
|
|
|
54892
54903
|
function createConverter(config = {}) {
|
|
54893
54904
|
const {
|
|
54894
|
-
rootName = 'slot'
|
|
54905
|
+
rootName = 'piral-slot'
|
|
54895
54906
|
} = config;
|
|
54896
54907
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_0__.createExtension)(rootName);
|
|
54897
54908
|
|
|
@@ -55029,7 +55040,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55029
55040
|
|
|
55030
55041
|
function createConverter(config = {}) {
|
|
55031
55042
|
const {
|
|
55032
|
-
rootName = 'slot'
|
|
55043
|
+
rootName = 'piral-slot'
|
|
55033
55044
|
} = config;
|
|
55034
55045
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_0__.createExtension)(rootName);
|
|
55035
55046
|
|
|
@@ -55391,7 +55402,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55391
55402
|
|
|
55392
55403
|
function createConverter(config = {}) {
|
|
55393
55404
|
const {
|
|
55394
|
-
rootName = 'slot'
|
|
55405
|
+
rootName = 'piral-slot'
|
|
55395
55406
|
} = config;
|
|
55396
55407
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_1__.createExtension)(rootName);
|
|
55397
55408
|
|
|
@@ -55672,16 +55683,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
55672
55683
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
55673
55684
|
/* harmony export */ "RoutingService": () => (/* binding */ RoutingService)
|
|
55674
55685
|
/* harmony export */ });
|
|
55675
|
-
/* harmony import */ var
|
|
55686
|
+
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ "../../../node_modules/tslib/tslib.es6.js");
|
|
55676
55687
|
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "../../../node_modules/@angular/core/fesm2020/core.mjs");
|
|
55677
|
-
/* harmony import */ var
|
|
55678
|
-
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs/operators */ "../../../node_modules/rxjs/dist/esm5/internal/operators/filter.js");
|
|
55688
|
+
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "../../../node_modules/@angular/router/fesm2020/router.mjs");
|
|
55679
55689
|
var RoutingService_1;
|
|
55680
55690
|
|
|
55681
55691
|
|
|
55682
55692
|
|
|
55683
55693
|
|
|
55684
|
-
|
|
55685
55694
|
const ngc = _angular_core__WEBPACK_IMPORTED_MODULE_0__;
|
|
55686
55695
|
let RoutingService = RoutingService_1 = class RoutingService {
|
|
55687
55696
|
constructor(context, router, zone) {
|
|
@@ -55710,14 +55719,24 @@ let RoutingService = RoutingService_1 = class RoutingService {
|
|
|
55710
55719
|
this.zone.run(() => this.router.navigateByUrl(path));
|
|
55711
55720
|
}
|
|
55712
55721
|
});
|
|
55713
|
-
this.subscription = this.router.events.
|
|
55714
|
-
|
|
55722
|
+
this.subscription = this.router.events.subscribe(e => {
|
|
55723
|
+
if (e instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__.NavigationError) {
|
|
55724
|
+
const path = e.url;
|
|
55715
55725
|
|
|
55716
|
-
|
|
55717
|
-
|
|
55718
|
-
|
|
55726
|
+
if (!this.invalidRoutes.includes(path)) {
|
|
55727
|
+
this.invalidRoutes.push(path);
|
|
55728
|
+
}
|
|
55729
|
+
|
|
55730
|
+
nav.push(path);
|
|
55731
|
+
} else if (e.type === 15) {
|
|
55732
|
+
// consistency check to avoid #535 and other Angular-specific issues
|
|
55733
|
+
const locationUrl = nav.path;
|
|
55734
|
+
const routerUrl = e.routerEvent.url;
|
|
55719
55735
|
|
|
55720
|
-
|
|
55736
|
+
if (routerUrl !== locationUrl) {
|
|
55737
|
+
nav.push(routerUrl);
|
|
55738
|
+
}
|
|
55739
|
+
}
|
|
55721
55740
|
});
|
|
55722
55741
|
}
|
|
55723
55742
|
}
|
|
@@ -55730,12 +55749,12 @@ let RoutingService = RoutingService_1 = class RoutingService {
|
|
|
55730
55749
|
}
|
|
55731
55750
|
|
|
55732
55751
|
};
|
|
55733
|
-
RoutingService.ɵfac = 'ɵɵinject' in ngc ? t => new (t || RoutingService_1)(ngc.ɵɵinject('Context'), ngc.ɵɵinject(
|
|
55752
|
+
RoutingService.ɵfac = 'ɵɵinject' in ngc ? t => new (t || RoutingService_1)(ngc.ɵɵinject('Context'), ngc.ɵɵinject(_angular_router__WEBPACK_IMPORTED_MODULE_1__.Router, 8), ngc.ɵɵinject(_angular_core__WEBPACK_IMPORTED_MODULE_0__.NgZone, 8)) : undefined;
|
|
55734
55753
|
RoutingService.ɵprov = 'ɵɵngDeclareInjectable' in ngc ? ngc.ɵɵdefineInjectable({
|
|
55735
55754
|
token: RoutingService_1,
|
|
55736
55755
|
factory: RoutingService_1.ɵfac
|
|
55737
55756
|
}) : undefined;
|
|
55738
|
-
RoutingService = RoutingService_1 = (0,
|
|
55757
|
+
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);
|
|
55739
55758
|
|
|
55740
55759
|
|
|
55741
55760
|
if ('ɵsetClassMetadata' in ngc) {
|
|
@@ -55751,7 +55770,7 @@ if ('ɵsetClassMetadata' in ngc) {
|
|
|
55751
55770
|
args: ['Context']
|
|
55752
55771
|
}]
|
|
55753
55772
|
}, {
|
|
55754
|
-
type:
|
|
55773
|
+
type: _angular_router__WEBPACK_IMPORTED_MODULE_1__.Router,
|
|
55755
55774
|
decorators: [{
|
|
55756
55775
|
type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
|
|
55757
55776
|
}]
|
|
@@ -56403,7 +56422,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56403
56422
|
|
|
56404
56423
|
function createConverter(config = {}) {
|
|
56405
56424
|
const {
|
|
56406
|
-
rootName = 'slot'
|
|
56425
|
+
rootName = 'piral-slot'
|
|
56407
56426
|
} = config;
|
|
56408
56427
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_1__.createExtension)(rootName);
|
|
56409
56428
|
|
|
@@ -56531,7 +56550,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56531
56550
|
|
|
56532
56551
|
function createConverter(config = {}) {
|
|
56533
56552
|
const {
|
|
56534
|
-
rootName = 'slot'
|
|
56553
|
+
rootName = 'piral-slot'
|
|
56535
56554
|
} = config;
|
|
56536
56555
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_0__.createExtension)(rootName);
|
|
56537
56556
|
|
|
@@ -56881,7 +56900,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
56881
56900
|
|
|
56882
56901
|
function createConverter(config = {}) {
|
|
56883
56902
|
const {
|
|
56884
|
-
rootName = 'slot'
|
|
56903
|
+
rootName = 'piral-slot'
|
|
56885
56904
|
} = config;
|
|
56886
56905
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_0__.createExtension)(rootName);
|
|
56887
56906
|
|
|
@@ -57132,7 +57151,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
57132
57151
|
|
|
57133
57152
|
function createConverter(config = {}) {
|
|
57134
57153
|
const {
|
|
57135
|
-
rootName = 'slot',
|
|
57154
|
+
rootName = 'piral-slot',
|
|
57136
57155
|
selector = 'extension-component'
|
|
57137
57156
|
} = config;
|
|
57138
57157
|
const Extension = (0,_extension__WEBPACK_IMPORTED_MODULE_0__.createExtension)(rootName, selector);
|
|
@@ -59628,8 +59647,8 @@ class ForeignComponentContainer extends react__WEBPACK_IMPORTED_MODULE_0__.Compo
|
|
|
59628
59647
|
const {
|
|
59629
59648
|
$portalId
|
|
59630
59649
|
} = this.props;
|
|
59631
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("
|
|
59632
|
-
|
|
59650
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("piral-portal", {
|
|
59651
|
+
pid: $portalId,
|
|
59633
59652
|
ref: this.setNode
|
|
59634
59653
|
});
|
|
59635
59654
|
}
|
|
@@ -60457,6 +60476,120 @@ DefaultRouter.displayName = 'DefaultRouter';
|
|
|
60457
60476
|
|
|
60458
60477
|
/***/ }),
|
|
60459
60478
|
|
|
60479
|
+
/***/ "../../framework/piral-core/esm/defaults/navigator_v5.js":
|
|
60480
|
+
/*!***************************************************************!*\
|
|
60481
|
+
!*** ../../framework/piral-core/esm/defaults/navigator_v5.js ***!
|
|
60482
|
+
\***************************************************************/
|
|
60483
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
60484
|
+
|
|
60485
|
+
"use strict";
|
|
60486
|
+
__webpack_require__.r(__webpack_exports__);
|
|
60487
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
60488
|
+
/* harmony export */ "createNavigation": () => (/* binding */ createNavigation),
|
|
60489
|
+
/* harmony export */ "createRedirect": () => (/* binding */ createRedirect),
|
|
60490
|
+
/* harmony export */ "useCurrentNavigation": () => (/* binding */ useCurrentNavigation),
|
|
60491
|
+
/* harmony export */ "useRouterContext": () => (/* binding */ useRouterContext)
|
|
60492
|
+
/* harmony export */ });
|
|
60493
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
60494
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
60495
|
+
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
60496
|
+
|
|
60497
|
+
|
|
60498
|
+
|
|
60499
|
+
let _nav;
|
|
60500
|
+
|
|
60501
|
+
const _noop = () => {};
|
|
60502
|
+
|
|
60503
|
+
function useRouterContext() {
|
|
60504
|
+
return react__WEBPACK_IMPORTED_MODULE_0__.useContext(react_router__WEBPACK_IMPORTED_MODULE_1__.__RouterContext);
|
|
60505
|
+
}
|
|
60506
|
+
function useCurrentNavigation() {
|
|
60507
|
+
const ctx = useRouterContext();
|
|
60508
|
+
const location = (0,react_router__WEBPACK_IMPORTED_MODULE_1__.useLocation)();
|
|
60509
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
60510
|
+
if (_nav) {
|
|
60511
|
+
window.dispatchEvent(new CustomEvent('piral-navigate', {
|
|
60512
|
+
detail: {
|
|
60513
|
+
location
|
|
60514
|
+
}
|
|
60515
|
+
}));
|
|
60516
|
+
}
|
|
60517
|
+
}, [location]);
|
|
60518
|
+
react__WEBPACK_IMPORTED_MODULE_0__.useEffect(() => {
|
|
60519
|
+
_nav = ctx.history;
|
|
60520
|
+
return () => {
|
|
60521
|
+
_nav = undefined;
|
|
60522
|
+
};
|
|
60523
|
+
}, []);
|
|
60524
|
+
}
|
|
60525
|
+
function createRedirect(to) {
|
|
60526
|
+
return () => /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(react_router__WEBPACK_IMPORTED_MODULE_1__.Redirect, {
|
|
60527
|
+
to: to
|
|
60528
|
+
});
|
|
60529
|
+
}
|
|
60530
|
+
function createNavigation() {
|
|
60531
|
+
const enhance = (location, action) => ({
|
|
60532
|
+
action,
|
|
60533
|
+
location: Object.assign({
|
|
60534
|
+
get href() {
|
|
60535
|
+
return _nav.createHref(location);
|
|
60536
|
+
}
|
|
60537
|
+
|
|
60538
|
+
}, location)
|
|
60539
|
+
});
|
|
60540
|
+
|
|
60541
|
+
return {
|
|
60542
|
+
get path() {
|
|
60543
|
+
if (_nav) {
|
|
60544
|
+
return _nav.location.pathname;
|
|
60545
|
+
}
|
|
60546
|
+
|
|
60547
|
+
return location.pathname;
|
|
60548
|
+
},
|
|
60549
|
+
|
|
60550
|
+
push(target, state) {
|
|
60551
|
+
if (_nav) {
|
|
60552
|
+
_nav.push(target, state);
|
|
60553
|
+
}
|
|
60554
|
+
},
|
|
60555
|
+
|
|
60556
|
+
replace(target, state) {
|
|
60557
|
+
if (_nav) {
|
|
60558
|
+
_nav.replace(target, state);
|
|
60559
|
+
}
|
|
60560
|
+
},
|
|
60561
|
+
|
|
60562
|
+
go(n) {
|
|
60563
|
+
if (_nav) {
|
|
60564
|
+
_nav.go(n);
|
|
60565
|
+
}
|
|
60566
|
+
},
|
|
60567
|
+
|
|
60568
|
+
block(blocker) {
|
|
60569
|
+
if (!_nav) {
|
|
60570
|
+
return _noop;
|
|
60571
|
+
}
|
|
60572
|
+
|
|
60573
|
+
return _nav.block((location, action) => blocker(enhance(location, action)));
|
|
60574
|
+
},
|
|
60575
|
+
|
|
60576
|
+
listen(listener) {
|
|
60577
|
+
const handler = e => listener(enhance(e.detail, _nav.action));
|
|
60578
|
+
|
|
60579
|
+
window.addEventListener('piral-navigate', handler);
|
|
60580
|
+
return () => {
|
|
60581
|
+
window.removeEventListener('piral-navigate', handler);
|
|
60582
|
+
};
|
|
60583
|
+
},
|
|
60584
|
+
|
|
60585
|
+
router: {
|
|
60586
|
+
history: _nav
|
|
60587
|
+
}
|
|
60588
|
+
};
|
|
60589
|
+
}
|
|
60590
|
+
|
|
60591
|
+
/***/ }),
|
|
60592
|
+
|
|
60460
60593
|
/***/ "../../framework/piral-core/esm/emulator.js":
|
|
60461
60594
|
/*!**************************************************!*\
|
|
60462
60595
|
!*** ../../framework/piral-core/esm/emulator.js ***!
|
|
@@ -60867,6 +61000,16 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
60867
61000
|
|
|
60868
61001
|
|
|
60869
61002
|
if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
61003
|
+
/**
|
|
61004
|
+
* This is a nice abstraction allowing anyone to actually use the extension system
|
|
61005
|
+
* brought by Piral. Not all props of the extension system are actually exposed.
|
|
61006
|
+
*
|
|
61007
|
+
* Usage:
|
|
61008
|
+
*
|
|
61009
|
+
* ```
|
|
61010
|
+
* <piral-extension name="my-ext-name"></piral-extension>
|
|
61011
|
+
* ```
|
|
61012
|
+
*/
|
|
60870
61013
|
class PiralExtension extends HTMLElement {
|
|
60871
61014
|
constructor() {
|
|
60872
61015
|
super(...arguments);
|
|
@@ -60908,6 +61051,8 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
60908
61051
|
}
|
|
60909
61052
|
|
|
60910
61053
|
connectedCallback() {
|
|
61054
|
+
this.style.display = 'contents';
|
|
61055
|
+
|
|
60911
61056
|
if (this.isConnected) {
|
|
60912
61057
|
this.dispatchEvent(new CustomEvent('render-html', {
|
|
60913
61058
|
bubbles: true,
|
|
@@ -60943,7 +61088,46 @@ if (typeof window !== 'undefined' && 'customElements' in window) {
|
|
|
60943
61088
|
|
|
60944
61089
|
}
|
|
60945
61090
|
|
|
60946
|
-
customElements.define(
|
|
61091
|
+
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_2__.extensionName, PiralExtension);
|
|
61092
|
+
/**
|
|
61093
|
+
* This is a boundary to host elements from other frameworks - effectively vanishing
|
|
61094
|
+
* at runtime.
|
|
61095
|
+
*
|
|
61096
|
+
* Usage:
|
|
61097
|
+
*
|
|
61098
|
+
* ```
|
|
61099
|
+
* <piral-portal pid="host-1234"></piral-portal>
|
|
61100
|
+
* ```
|
|
61101
|
+
*/
|
|
61102
|
+
|
|
61103
|
+
class PiralPortal extends HTMLElement {
|
|
61104
|
+
connectedCallback() {
|
|
61105
|
+
this.style.display = 'contents';
|
|
61106
|
+
}
|
|
61107
|
+
|
|
61108
|
+
}
|
|
61109
|
+
|
|
61110
|
+
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_2__.portalName, PiralPortal);
|
|
61111
|
+
/**
|
|
61112
|
+
* This is a virtual element to aggregate rendering from other frameworks, mostly
|
|
61113
|
+
* used like piral-portal, but without context-hosting capabilities. This would
|
|
61114
|
+
* be used exclusively within a foreign framework, not from Piral to initiate.
|
|
61115
|
+
*
|
|
61116
|
+
* Usage:
|
|
61117
|
+
*
|
|
61118
|
+
* ```
|
|
61119
|
+
* <piral-slot></piral-slot>
|
|
61120
|
+
* ```
|
|
61121
|
+
*/
|
|
61122
|
+
|
|
61123
|
+
class PiralSlot extends HTMLElement {
|
|
61124
|
+
connectedCallback() {
|
|
61125
|
+
this.style.display = 'contents';
|
|
61126
|
+
}
|
|
61127
|
+
|
|
61128
|
+
}
|
|
61129
|
+
|
|
61130
|
+
customElements.define(_utils__WEBPACK_IMPORTED_MODULE_2__.slotName, PiralSlot);
|
|
60947
61131
|
}
|
|
60948
61132
|
|
|
60949
61133
|
function renderElement(context, element, props) {
|
|
@@ -61048,7 +61232,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61048
61232
|
/* harmony export */ "includeActions": () => (/* binding */ includeActions)
|
|
61049
61233
|
/* harmony export */ });
|
|
61050
61234
|
/* harmony import */ var _actions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../actions */ "../../framework/piral-core/esm/actions/index.js");
|
|
61051
|
-
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app.codegen */ "../../framework/piral-core/
|
|
61235
|
+
/* harmony import */ var _app_codegen__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app.codegen */ "../../framework/piral-core/esm/defaults/navigator_v5.js");
|
|
61052
61236
|
|
|
61053
61237
|
|
|
61054
61238
|
|
|
@@ -61340,7 +61524,7 @@ const SlotCarrier = ({
|
|
|
61340
61524
|
}, [nodes]);
|
|
61341
61525
|
|
|
61342
61526
|
if (nodes.length) {
|
|
61343
|
-
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("slot", {
|
|
61527
|
+
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement("piral-slot", {
|
|
61344
61528
|
ref: host
|
|
61345
61529
|
});
|
|
61346
61530
|
}
|
|
@@ -61387,13 +61571,19 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
61387
61571
|
/* harmony export */ "attachDomPortal": () => (/* binding */ attachDomPortal),
|
|
61388
61572
|
/* harmony export */ "changeDomPortal": () => (/* binding */ changeDomPortal),
|
|
61389
61573
|
/* harmony export */ "convertComponent": () => (/* binding */ convertComponent),
|
|
61390
|
-
/* harmony export */ "
|
|
61574
|
+
/* harmony export */ "extensionName": () => (/* binding */ extensionName),
|
|
61575
|
+
/* harmony export */ "portalName": () => (/* binding */ portalName),
|
|
61576
|
+
/* harmony export */ "renderInDom": () => (/* binding */ renderInDom),
|
|
61577
|
+
/* harmony export */ "slotName": () => (/* binding */ slotName)
|
|
61391
61578
|
/* harmony export */ });
|
|
61392
61579
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
61393
61580
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
61394
61581
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");
|
|
61395
61582
|
|
|
61396
61583
|
|
|
61584
|
+
const extensionName = 'piral-extension';
|
|
61585
|
+
const portalName = 'piral-portal';
|
|
61586
|
+
const slotName = 'piral-slot';
|
|
61397
61587
|
function attachDomPortal(id, context, element, component, props) {
|
|
61398
61588
|
const portal = /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.createPortal)( /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(component, props), element);
|
|
61399
61589
|
context.showPortal(id, portal);
|
|
@@ -61412,11 +61602,11 @@ function convertComponent(converter, component) {
|
|
|
61412
61602
|
return converter(component);
|
|
61413
61603
|
}
|
|
61414
61604
|
function renderInDom(context, element, component, props) {
|
|
61415
|
-
const portalId = '
|
|
61605
|
+
const portalId = 'pid';
|
|
61416
61606
|
let parent = element;
|
|
61417
61607
|
|
|
61418
61608
|
while (parent) {
|
|
61419
|
-
if (parent instanceof Element && parent.hasAttribute(portalId)) {
|
|
61609
|
+
if (parent instanceof Element && parent.localName === portalName && parent.hasAttribute(portalId)) {
|
|
61420
61610
|
const id = parent.getAttribute(portalId);
|
|
61421
61611
|
return attachDomPortal(id, context, element, component, props);
|
|
61422
61612
|
}
|
|
@@ -62382,7 +62572,7 @@ function installPiralDebug(options) {
|
|
|
62382
62572
|
label: 'State container logging',
|
|
62383
62573
|
|
|
62384
62574
|
onChange(value) {
|
|
62385
|
-
setValue(
|
|
62575
|
+
setValue(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.viewState, value ? 'on' : 'off');
|
|
62386
62576
|
}
|
|
62387
62577
|
|
|
62388
62578
|
},
|
|
@@ -62392,7 +62582,7 @@ function installPiralDebug(options) {
|
|
|
62392
62582
|
label: 'Load available pilets',
|
|
62393
62583
|
|
|
62394
62584
|
onChange(value) {
|
|
62395
|
-
setValue(
|
|
62585
|
+
setValue(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.loadPilets, value ? 'on' : 'off');
|
|
62396
62586
|
}
|
|
62397
62587
|
|
|
62398
62588
|
},
|
|
@@ -62402,7 +62592,7 @@ function installPiralDebug(options) {
|
|
|
62402
62592
|
label: 'Full refresh on change',
|
|
62403
62593
|
|
|
62404
62594
|
onChange(value) {
|
|
62405
|
-
setValue(
|
|
62595
|
+
setValue(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.hardRefresh, value ? 'on' : 'off');
|
|
62406
62596
|
}
|
|
62407
62597
|
|
|
62408
62598
|
},
|
|
@@ -62412,7 +62602,7 @@ function installPiralDebug(options) {
|
|
|
62412
62602
|
label: 'Visualize component origins',
|
|
62413
62603
|
|
|
62414
62604
|
onChange(value, prev) {
|
|
62415
|
-
setValue(
|
|
62605
|
+
setValue(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.viewOrigins, value ? 'on' : 'off');
|
|
62416
62606
|
|
|
62417
62607
|
if (prev !== value) {
|
|
62418
62608
|
updateVisualize(value);
|
|
@@ -62426,7 +62616,7 @@ function installPiralDebug(options) {
|
|
|
62426
62616
|
label: 'Enable extension catalogue',
|
|
62427
62617
|
|
|
62428
62618
|
onChange(value) {
|
|
62429
|
-
setValue(
|
|
62619
|
+
setValue(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.extensionCatalogue, value ? 'on' : 'off');
|
|
62430
62620
|
}
|
|
62431
62621
|
|
|
62432
62622
|
},
|
|
@@ -62436,7 +62626,7 @@ function installPiralDebug(options) {
|
|
|
62436
62626
|
label: 'Clear console during HMR',
|
|
62437
62627
|
|
|
62438
62628
|
onChange(value) {
|
|
62439
|
-
setValue(
|
|
62629
|
+
setValue(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.clearConsole, value ? 'on' : 'off');
|
|
62440
62630
|
}
|
|
62441
62631
|
|
|
62442
62632
|
},
|
|
@@ -62601,12 +62791,12 @@ function installPiralDebug(options) {
|
|
|
62601
62791
|
debug: debugApiVersion,
|
|
62602
62792
|
instance: {
|
|
62603
62793
|
name: "sample-cross-fx",
|
|
62604
|
-
version: "0.15.0-beta.
|
|
62794
|
+
version: "0.15.0-beta.4672",
|
|
62605
62795
|
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"
|
|
62606
62796
|
},
|
|
62607
62797
|
build: {
|
|
62608
|
-
date: "2022-
|
|
62609
|
-
cli: "0.14.
|
|
62798
|
+
date: "2022-09-21T22:45:27.818Z",
|
|
62799
|
+
cli: "0.14.31",
|
|
62610
62800
|
compat: "0.14"
|
|
62611
62801
|
}
|
|
62612
62802
|
};
|
|
@@ -62714,11 +62904,12 @@ function installPiralDebug(options) {
|
|
|
62714
62904
|
if (!legacyBrowser && event.storageArea === sessionStorage) {
|
|
62715
62905
|
// potentially unknowingly updated settings
|
|
62716
62906
|
updateSettings({
|
|
62717
|
-
viewState: sessionStorage.getItem(
|
|
62718
|
-
loadPilets: sessionStorage.getItem(
|
|
62719
|
-
hardRefresh: sessionStorage.getItem(
|
|
62720
|
-
viewOrigins: sessionStorage.getItem(
|
|
62721
|
-
extensionCatalogue: sessionStorage.getItem(
|
|
62907
|
+
viewState: sessionStorage.getItem(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.viewState) !== 'off',
|
|
62908
|
+
loadPilets: sessionStorage.getItem(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.loadPilets) === 'on',
|
|
62909
|
+
hardRefresh: sessionStorage.getItem(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.hardRefresh) === 'on',
|
|
62910
|
+
viewOrigins: sessionStorage.getItem(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.viewOrigins) === 'on',
|
|
62911
|
+
extensionCatalogue: sessionStorage.getItem(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.extensionCatalogue) !== 'off',
|
|
62912
|
+
clearConsole: sessionStorage.getItem(_state__WEBPACK_IMPORTED_MODULE_0__.settingsKeys.clearConsole) === 'on'
|
|
62722
62913
|
});
|
|
62723
62914
|
}
|
|
62724
62915
|
});
|
|
@@ -63018,13 +63209,23 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
63018
63209
|
/* harmony export */ "navigate": () => (/* binding */ navigate),
|
|
63019
63210
|
/* harmony export */ "setNavigate": () => (/* binding */ setNavigate),
|
|
63020
63211
|
/* harmony export */ "setState": () => (/* binding */ setState),
|
|
63212
|
+
/* harmony export */ "settingsKeys": () => (/* binding */ settingsKeys),
|
|
63021
63213
|
/* harmony export */ "subscribe": () => (/* binding */ subscribe),
|
|
63022
63214
|
/* harmony export */ "useDebugState": () => (/* binding */ useDebugState)
|
|
63023
63215
|
/* harmony export */ });
|
|
63024
63216
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../../node_modules/react/index.js");
|
|
63025
63217
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
|
|
63026
63218
|
|
|
63027
|
-
const
|
|
63219
|
+
const settingsKeys = {
|
|
63220
|
+
viewState: 'dbg:view-state',
|
|
63221
|
+
loadPilets: 'dbg:load-pilets',
|
|
63222
|
+
hardRefresh: 'dbg:hard-refresh',
|
|
63223
|
+
viewOrigins: 'dbg:view-origins',
|
|
63224
|
+
extensionCatalogue: 'dbg:extension-catalogue',
|
|
63225
|
+
clearConsole: 'dbg:clear-console',
|
|
63226
|
+
persistSettings: 'dbg:persist-settings-data'
|
|
63227
|
+
};
|
|
63228
|
+
const persistKey = settingsKeys.persistSettings;
|
|
63028
63229
|
const persistSettings = !!localStorage.getItem(persistKey);
|
|
63029
63230
|
|
|
63030
63231
|
const defaultSetter = (name, value) => {
|
|
@@ -63053,11 +63254,15 @@ if (persistSettings) {
|
|
|
63053
63254
|
|
|
63054
63255
|
function enablePersistance() {
|
|
63055
63256
|
const data = {};
|
|
63257
|
+
const validKeys = Object.keys(settingsKeys).map(m => settingsKeys[m]);
|
|
63056
63258
|
|
|
63057
63259
|
for (let i = 0; i < sessionStorage.length; i++) {
|
|
63058
63260
|
const name = sessionStorage.key(i);
|
|
63059
|
-
|
|
63060
|
-
|
|
63261
|
+
|
|
63262
|
+
if (validKeys.includes(name)) {
|
|
63263
|
+
const value = sessionStorage.getItem(name);
|
|
63264
|
+
data[name] = value;
|
|
63265
|
+
}
|
|
63061
63266
|
}
|
|
63062
63267
|
|
|
63063
63268
|
localStorage.setItem(persistKey, JSON.stringify(data));
|
|
@@ -63069,12 +63274,12 @@ function disablePersistance() {
|
|
|
63069
63274
|
}
|
|
63070
63275
|
const initialSetter = persistSettings ? persistentSetter : defaultSetter;
|
|
63071
63276
|
const initialSettings = {
|
|
63072
|
-
viewState: sessionStorage.getItem(
|
|
63073
|
-
loadPilets: sessionStorage.getItem(
|
|
63074
|
-
hardRefresh: sessionStorage.getItem(
|
|
63075
|
-
viewOrigins: sessionStorage.getItem(
|
|
63076
|
-
extensionCatalogue: sessionStorage.getItem(
|
|
63077
|
-
clearConsole: sessionStorage.getItem(
|
|
63277
|
+
viewState: sessionStorage.getItem(settingsKeys.viewState) !== 'off',
|
|
63278
|
+
loadPilets: sessionStorage.getItem(settingsKeys.loadPilets) === 'on',
|
|
63279
|
+
hardRefresh: sessionStorage.getItem(settingsKeys.hardRefresh) === 'on',
|
|
63280
|
+
viewOrigins: sessionStorage.getItem(settingsKeys.viewOrigins) === 'on',
|
|
63281
|
+
extensionCatalogue: sessionStorage.getItem(settingsKeys.extensionCatalogue) !== 'off',
|
|
63282
|
+
clearConsole: sessionStorage.getItem(settingsKeys.clearConsole) === 'on',
|
|
63078
63283
|
persistSettings,
|
|
63079
63284
|
cataloguePath: '/$debug-extension-catalogue'
|
|
63080
63285
|
};
|
|
@@ -74314,14 +74519,14 @@ var react_dom__WEBPACK_IMPORTED_MODULE_18___namespace_cache;
|
|
|
74314
74519
|
__webpack_require__.r(__webpack_exports__);
|
|
74315
74520
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
74316
74521
|
/* harmony export */ "createDefaultState": () => (/* binding */ createDefaultState),
|
|
74317
|
-
/* harmony export */ "createNavigation": () => (/*
|
|
74318
|
-
/* harmony export */ "createRedirect": () => (/*
|
|
74522
|
+
/* harmony export */ "createNavigation": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.createNavigation),
|
|
74523
|
+
/* harmony export */ "createRedirect": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.createRedirect),
|
|
74319
74524
|
/* harmony export */ "fillDependencies": () => (/* binding */ fillDependencies),
|
|
74320
|
-
/* harmony export */ "integrateDebugger": () => (/* reexport safe */
|
|
74321
|
-
/* harmony export */ "integrateEmulator": () => (/* reexport safe */
|
|
74525
|
+
/* harmony export */ "integrateDebugger": () => (/* reexport safe */ piral_core_debugger__WEBPACK_IMPORTED_MODULE_37__.integrateDebugger),
|
|
74526
|
+
/* harmony export */ "integrateEmulator": () => (/* reexport safe */ piral_core_emulator__WEBPACK_IMPORTED_MODULE_38__.integrateEmulator),
|
|
74322
74527
|
/* harmony export */ "publicPath": () => (/* binding */ publicPath),
|
|
74323
74528
|
/* harmony export */ "useRouteFilter": () => (/* binding */ useRouteFilter),
|
|
74324
|
-
/* harmony export */ "useRouterContext": () => (/*
|
|
74529
|
+
/* harmony export */ "useRouterContext": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.useRouterContext)
|
|
74325
74530
|
/* harmony export */ });
|
|
74326
74531
|
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @angular/common */ "../../../node_modules/@angular/common/fesm2020/common.mjs");
|
|
74327
74532
|
/* harmony import */ var _angular_compiler__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/compiler */ "../../../node_modules/@angular/compiler/fesm2020/compiler.mjs");
|
|
@@ -74359,14 +74564,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74359
74564
|
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react-dom */ "../../../node_modules/react-dom/index.js");
|
|
74360
74565
|
/* harmony import */ var react_router__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! react-router */ "../../../node_modules/react-router/esm/react-router.js");
|
|
74361
74566
|
/* harmony import */ var react_router_dom__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! react-router-dom */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");
|
|
74362
|
-
/* harmony import */ var
|
|
74363
|
-
/* harmony import */ var
|
|
74364
|
-
/* harmony import */ var
|
|
74365
|
-
/* harmony import */ var
|
|
74366
|
-
/* harmony import */ var
|
|
74367
|
-
/* harmony import */ var
|
|
74368
|
-
/* harmony import */ var
|
|
74369
|
-
/* harmony import */ var
|
|
74567
|
+
/* harmony import */ var piral_core_defaults_DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! piral-core/_/defaults/DefaultErrorInfo */ "../../framework/piral-core/esm/defaults/DefaultErrorInfo.js");
|
|
74568
|
+
/* harmony import */ var piral_core_defaults_DefaultLoadingIndicator__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! piral-core/_/defaults/DefaultLoadingIndicator */ "../../framework/piral-core/esm/defaults/DefaultLoadingIndicator.js");
|
|
74569
|
+
/* harmony import */ var piral_core_defaults_DefaultLayout__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! piral-core/_/defaults/DefaultLayout */ "../../framework/piral-core/esm/defaults/DefaultLayout.js");
|
|
74570
|
+
/* harmony import */ var piral_core_defaults_DefaultRouter_v5__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! piral-core/_/defaults/DefaultRouter_v5 */ "../../framework/piral-core/esm/defaults/DefaultRouter_v5.js");
|
|
74571
|
+
/* harmony import */ var piral_core_defaults_DefaultRouteSwitch_v5__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! piral-core/_/defaults/DefaultRouteSwitch_v5 */ "../../framework/piral-core/esm/defaults/DefaultRouteSwitch_v5.js");
|
|
74572
|
+
/* harmony import */ var piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! piral-core/_/defaults/navigator_v5 */ "../../framework/piral-core/esm/defaults/navigator_v5.js");
|
|
74573
|
+
/* harmony import */ var piral_core_debugger__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! piral-core/_/debugger */ "../../framework/piral-core/esm/debugger.js");
|
|
74574
|
+
/* harmony import */ var piral_core_emulator__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! piral-core/_/emulator */ "../../framework/piral-core/esm/emulator.js");
|
|
74575
|
+
/* harmony import */ var piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! piral-debug-utils */ "../../utilities/piral-debug-utils/esm/emulator.js");
|
|
74370
74576
|
|
|
74371
74577
|
|
|
74372
74578
|
|
|
@@ -74409,11 +74615,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74409
74615
|
|
|
74410
74616
|
|
|
74411
74617
|
|
|
74412
|
-
|
|
74413
|
-
|
|
74414
|
-
|
|
74415
|
-
let _nav;
|
|
74416
|
-
const _noop = () => {};
|
|
74417
74618
|
|
|
74418
74619
|
|
|
74419
74620
|
function fillDependencies(deps) {
|
|
@@ -74421,63 +74622,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74421
74622
|
}
|
|
74422
74623
|
|
|
74423
74624
|
|
|
74424
|
-
function useCurrentNavigation() {
|
|
74425
|
-
const ctx = useRouterContext();
|
|
74426
|
-
|
|
74427
|
-
(0,react__WEBPACK_IMPORTED_MODULE_17__.useEffect)(() => {
|
|
74428
|
-
_nav = ctx.history;
|
|
74429
|
-
return () => {
|
|
74430
|
-
_nav = undefined;
|
|
74431
|
-
};
|
|
74432
|
-
}, []);
|
|
74433
|
-
}
|
|
74434
|
-
|
|
74435
|
-
|
|
74436
|
-
function createNavigation() {
|
|
74437
|
-
const enhance = info => ({
|
|
74438
|
-
...info,
|
|
74439
|
-
location: {
|
|
74440
|
-
get href() {
|
|
74441
|
-
return _nav.createHref(info.location);
|
|
74442
|
-
},
|
|
74443
|
-
...info.location,
|
|
74444
|
-
},
|
|
74445
|
-
});
|
|
74446
|
-
|
|
74447
|
-
return {
|
|
74448
|
-
push(target, state) {
|
|
74449
|
-
if (_nav) {
|
|
74450
|
-
_nav.push(target, state);
|
|
74451
|
-
}
|
|
74452
|
-
},
|
|
74453
|
-
replace(target, state) {
|
|
74454
|
-
if (_nav) {
|
|
74455
|
-
_nav.replace(target, state);
|
|
74456
|
-
}
|
|
74457
|
-
},
|
|
74458
|
-
go(n) {
|
|
74459
|
-
if (_nav) {
|
|
74460
|
-
_nav.go(n);
|
|
74461
|
-
}
|
|
74462
|
-
},
|
|
74463
|
-
block(blocker) {
|
|
74464
|
-
if (!_nav) {
|
|
74465
|
-
return _noop;
|
|
74466
|
-
}
|
|
74467
|
-
return _nav.block((location, action) => blocker(enhance({ location, action })));
|
|
74468
|
-
},
|
|
74469
|
-
listen(listener) {
|
|
74470
|
-
if (!_nav) {
|
|
74471
|
-
return _noop;
|
|
74472
|
-
}
|
|
74473
|
-
return _nav.listen((location, action) => listener(enhance({ location, action })));
|
|
74474
|
-
},
|
|
74475
|
-
router: {
|
|
74476
|
-
history: _nav,
|
|
74477
|
-
},
|
|
74478
|
-
};
|
|
74479
|
-
}
|
|
74480
74625
|
|
|
74626
|
+
|
|
74481
74627
|
|
|
74482
74628
|
const publicPath = "/";
|
|
74483
74629
|
|
|
@@ -74489,11 +74635,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74489
74635
|
loading: typeof window !== 'undefined',
|
|
74490
74636
|
},
|
|
74491
74637
|
components: {
|
|
74492
|
-
ErrorInfo:
|
|
74493
|
-
LoadingIndicator:
|
|
74494
|
-
Router:
|
|
74495
|
-
RouteSwitch:
|
|
74496
|
-
Layout:
|
|
74638
|
+
ErrorInfo: piral_core_defaults_DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_32__.DefaultErrorInfo,
|
|
74639
|
+
LoadingIndicator: piral_core_defaults_DefaultLoadingIndicator__WEBPACK_IMPORTED_MODULE_33__.DefaultLoadingIndicator,
|
|
74640
|
+
Router: piral_core_defaults_DefaultRouter_v5__WEBPACK_IMPORTED_MODULE_34__.DefaultRouter,
|
|
74641
|
+
RouteSwitch: piral_core_defaults_DefaultRouteSwitch_v5__WEBPACK_IMPORTED_MODULE_35__.DefaultRouteSwitch,
|
|
74642
|
+
Layout: piral_core_defaults_DefaultLayout__WEBPACK_IMPORTED_MODULE_36__.DefaultLayout,
|
|
74497
74643
|
},
|
|
74498
74644
|
errorComponents: {},
|
|
74499
74645
|
registry: {
|
|
@@ -74511,21 +74657,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
74511
74657
|
|
|
74512
74658
|
|
|
74513
74659
|
|
|
74514
|
-
function createRedirect(to) {
|
|
74515
|
-
return () => (0,react__WEBPACK_IMPORTED_MODULE_17__.createElement)(react_router__WEBPACK_IMPORTED_MODULE_29__.Redirect, { to });
|
|
74516
|
-
}
|
|
74517
|
-
|
|
74518
|
-
|
|
74519
|
-
function useRouterContext() {
|
|
74520
|
-
return (0,react__WEBPACK_IMPORTED_MODULE_17__.useContext)(react_router__WEBPACK_IMPORTED_MODULE_29__.__RouterContext);
|
|
74521
|
-
}
|
|
74522
|
-
|
|
74523
|
-
|
|
74524
74660
|
function useRouteFilter(paths) {
|
|
74525
74661
|
|
|
74526
|
-
useCurrentNavigation();
|
|
74662
|
+
;(0,piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_31__.useCurrentNavigation)();
|
|
74527
74663
|
|
|
74528
|
-
return (0,
|
|
74664
|
+
return (0,piral_debug_utils__WEBPACK_IMPORTED_MODULE_39__.debugRouteFilter)(paths);
|
|
74529
74665
|
}
|
|
74530
74666
|
|
|
74531
74667
|
|
|
@@ -211153,4 +211289,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8__.createElement(piral
|
|
|
211153
211289
|
|
|
211154
211290
|
/******/ })()
|
|
211155
211291
|
;
|
|
211156
|
-
//# sourceMappingURL=index.
|
|
211292
|
+
//# sourceMappingURL=index.b0ccff.js.map
|