minimal-piral 0.15.0-beta.4715 → 0.15.0-beta.4739
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.d.ts +14 -2
- package/app/{index.92c07d.js → index.f0d7cf.js} +17 -13
- package/app/index.f0d7cf.js.map +1 -0
- 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 +1 -1
- package/app/index.92c07d.js.map +0 -1
package/app/index.d.ts
CHANGED
|
@@ -463,7 +463,18 @@ export interface ExtensionRegistration extends BaseRegistration {
|
|
|
463
463
|
* The context to be transported into the generic components.
|
|
464
464
|
*/
|
|
465
465
|
export interface ComponentContext {
|
|
466
|
+
/**
|
|
467
|
+
* The router-independent navigation API.
|
|
468
|
+
*/
|
|
466
469
|
navigation: NavigationApi;
|
|
470
|
+
/**
|
|
471
|
+
* The internal router object.
|
|
472
|
+
* @deprecated Exposes internals that can change at any time.
|
|
473
|
+
*/
|
|
474
|
+
router: any;
|
|
475
|
+
/**
|
|
476
|
+
* The public path of the application.
|
|
477
|
+
*/
|
|
467
478
|
publicPath: string;
|
|
468
479
|
}
|
|
469
480
|
|
|
@@ -509,11 +520,12 @@ export interface NavigationApi {
|
|
|
509
520
|
*/
|
|
510
521
|
listen(listener: NavigationListener): Disposable;
|
|
511
522
|
/**
|
|
512
|
-
* Gets the current path.
|
|
523
|
+
* Gets the current navigation / application path.
|
|
513
524
|
*/
|
|
514
525
|
path: string;
|
|
515
526
|
/**
|
|
516
|
-
* The original router behind the navigation.
|
|
527
|
+
* The original router behind the navigation. Don't depend on this
|
|
528
|
+
* as the implementation is router specific and may change over time.
|
|
517
529
|
*/
|
|
518
530
|
router: any;
|
|
519
531
|
}
|
|
@@ -4460,9 +4460,13 @@ function createNavigation() {
|
|
|
4460
4460
|
window.removeEventListener('piral-navigate', handler);
|
|
4461
4461
|
};
|
|
4462
4462
|
},
|
|
4463
|
-
|
|
4464
|
-
|
|
4463
|
+
|
|
4464
|
+
get router() {
|
|
4465
|
+
return {
|
|
4466
|
+
history: _nav
|
|
4467
|
+
};
|
|
4465
4468
|
}
|
|
4469
|
+
|
|
4466
4470
|
};
|
|
4467
4471
|
}
|
|
4468
4472
|
|
|
@@ -6641,11 +6645,11 @@ function installPiralDebug(options) {
|
|
|
6641
6645
|
debug: debugApiVersion,
|
|
6642
6646
|
instance: {
|
|
6643
6647
|
name: "minimal-piral",
|
|
6644
|
-
version: "0.15.0-beta.
|
|
6648
|
+
version: "0.15.0-beta.4739",
|
|
6645
6649
|
dependencies: "tslib,react,react-dom,react-router,react-router-dom"
|
|
6646
6650
|
},
|
|
6647
6651
|
build: {
|
|
6648
|
-
date: "2022-10-
|
|
6652
|
+
date: "2022-10-09T09:53:27.006Z",
|
|
6649
6653
|
cli: "0.14.32",
|
|
6650
6654
|
compat: "0.14"
|
|
6651
6655
|
}
|
|
@@ -8640,7 +8644,7 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
|
|
|
8640
8644
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
8641
8645
|
|
|
8642
8646
|
"use strict";
|
|
8643
|
-
var
|
|
8647
|
+
var _home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1___namespace_cache;
|
|
8644
8648
|
__webpack_require__.r(__webpack_exports__);
|
|
8645
8649
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8646
8650
|
/* harmony export */ "createDefaultState": () => (/* binding */ createDefaultState),
|
|
@@ -8653,12 +8657,12 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8653
8657
|
/* harmony export */ "useRouteFilter": () => (/* binding */ useRouteFilter),
|
|
8654
8658
|
/* harmony export */ "useRouterContext": () => (/* reexport safe */ piral_core_defaults_navigator_v5__WEBPACK_IMPORTED_MODULE_5__.useRouterContext)
|
|
8655
8659
|
/* harmony export */ });
|
|
8656
|
-
/* harmony import */ var
|
|
8657
|
-
/* harmony import */ var
|
|
8658
|
-
/* harmony import */ var
|
|
8659
|
-
/* harmony import */ var
|
|
8660
|
-
/* harmony import */ var
|
|
8661
|
-
/* harmony import */ var
|
|
8660
|
+
/* harmony import */ var _home_vsts_work_1_s_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../node_modules/tslib/tslib.es6.js */ "../../../node_modules/tslib/tslib.es6.js");
|
|
8661
|
+
/* harmony import */ var _home_vsts_work_1_s_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/react/index.js */ "../../../node_modules/react/index.js");
|
|
8662
|
+
/* harmony import */ var _home_vsts_work_1_s_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_vsts_work_1_s_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
8663
|
+
/* harmony import */ var _home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../node_modules/react-dom/index.js */ "../../../node_modules/react-dom/index.js");
|
|
8664
|
+
/* harmony import */ var _home_vsts_work_1_s_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../node_modules/react-router/esm/react-router.js */ "../../../node_modules/react-router/esm/react-router.js");
|
|
8665
|
+
/* harmony import */ var _home_vsts_work_1_s_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../node_modules/react-router-dom/esm/react-router-dom.js */ "../../../node_modules/react-router-dom/esm/react-router-dom.js");
|
|
8662
8666
|
/* harmony import */ var piral_core_defaults_DefaultErrorInfo__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! piral-core/_/defaults/DefaultErrorInfo */ "../../framework/piral-core/esm/defaults/DefaultErrorInfo.js");
|
|
8663
8667
|
/* harmony import */ var piral_core_defaults_DefaultLoadingIndicator__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! piral-core/_/defaults/DefaultLoadingIndicator */ "../../framework/piral-core/esm/defaults/DefaultLoadingIndicator.js");
|
|
8664
8668
|
/* harmony import */ var piral_core_defaults_DefaultLayout__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! piral-core/_/defaults/DefaultLayout */ "../../framework/piral-core/esm/defaults/DefaultLayout.js");
|
|
@@ -8686,7 +8690,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8686
8690
|
|
|
8687
8691
|
|
|
8688
8692
|
function fillDependencies(deps) {
|
|
8689
|
-
deps['minimal-piral']={};deps["tslib"]=
|
|
8693
|
+
deps['minimal-piral']={};deps["tslib"]=_home_vsts_work_1_s_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_2__;deps["tslib@2.3.1"]=_home_vsts_work_1_s_node_modules_tslib_tslib_es6_js__WEBPACK_IMPORTED_MODULE_2__;deps["react"]=_home_vsts_work_1_s_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_0__;deps["react@18.2.0"]=_home_vsts_work_1_s_node_modules_react_index_js__WEBPACK_IMPORTED_MODULE_0__;deps["react-dom"]=/*#__PURE__*/ (_home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (_home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(_home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-dom@18.2.0"]=/*#__PURE__*/ (_home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1___namespace_cache || (_home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1___namespace_cache = __webpack_require__.t(_home_vsts_work_1_s_node_modules_react_dom_index_js__WEBPACK_IMPORTED_MODULE_1__, 2)));deps["react-router"]=_home_vsts_work_1_s_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_3__;deps["react-router@5.3.3"]=_home_vsts_work_1_s_node_modules_react_router_esm_react_router_js__WEBPACK_IMPORTED_MODULE_3__;deps["react-router-dom"]=_home_vsts_work_1_s_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_4__;deps["react-router-dom@5.3.3"]=_home_vsts_work_1_s_node_modules_react_router_dom_esm_react_router_dom_js__WEBPACK_IMPORTED_MODULE_4__
|
|
8690
8694
|
}
|
|
8691
8695
|
|
|
8692
8696
|
|
|
@@ -45586,4 +45590,4 @@ var instance = (0,piral_core__WEBPACK_IMPORTED_MODULE_2__.createInstance)({
|
|
|
45586
45590
|
|
|
45587
45591
|
/******/ })()
|
|
45588
45592
|
;
|
|
45589
|
-
//# sourceMappingURL=index.
|
|
45593
|
+
//# sourceMappingURL=index.f0d7cf.js.map
|