sample-piral 0.15.0-beta.4803 → 0.15.0-beta.4812
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 +4 -0
- package/app/{index.be5bfb.js → index.f03bb2.js} +10 -8
- package/app/index.f03bb2.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 +8 -8
- package/app/index.be5bfb.js.map +0 -1
package/app/index.d.ts
CHANGED
|
@@ -942,6 +942,10 @@ export interface NavigationApi {
|
|
|
942
942
|
* Gets the current navigation / application path.
|
|
943
943
|
*/
|
|
944
944
|
path: string;
|
|
945
|
+
/**
|
|
946
|
+
* Gets the current navigation path incl. search and hash parts.
|
|
947
|
+
*/
|
|
948
|
+
url: string;
|
|
945
949
|
/**
|
|
946
950
|
* The original router behind the navigation. Don't depend on this
|
|
947
951
|
* as the implementation is router specific and may change over time.
|
|
@@ -4651,11 +4651,13 @@ function createNavigation() {
|
|
|
4651
4651
|
|
|
4652
4652
|
return {
|
|
4653
4653
|
get path() {
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4654
|
+
var loc = _nav ? _nav.location : location;
|
|
4655
|
+
return loc.pathname;
|
|
4656
|
+
},
|
|
4657
4657
|
|
|
4658
|
-
|
|
4658
|
+
get url() {
|
|
4659
|
+
var loc = _nav ? _nav.location : location;
|
|
4660
|
+
return "".concat(loc.pathname).concat(loc.search).concat(loc.hash);
|
|
4659
4661
|
},
|
|
4660
4662
|
|
|
4661
4663
|
push: function push(target, state) {
|
|
@@ -9602,12 +9604,12 @@ function installPiralDebug(options) {
|
|
|
9602
9604
|
debug: debugApiVersion,
|
|
9603
9605
|
instance: {
|
|
9604
9606
|
name: "sample-piral",
|
|
9605
|
-
version: "0.15.0-beta.
|
|
9607
|
+
version: "0.15.0-beta.4812",
|
|
9606
9608
|
dependencies: "reactstrap,tslib,react,react-dom,react-router,react-router-dom"
|
|
9607
9609
|
},
|
|
9608
9610
|
build: {
|
|
9609
|
-
date: "2022-11-
|
|
9610
|
-
cli: "0.15.0-beta.
|
|
9611
|
+
date: "2022-11-13T01:14:59.273Z",
|
|
9612
|
+
cli: "0.15.0-beta.4812",
|
|
9611
9613
|
compat: "0.15"
|
|
9612
9614
|
}
|
|
9613
9615
|
};
|
|
@@ -66371,4 +66373,4 @@ root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1__.createElement(piral
|
|
|
66371
66373
|
|
|
66372
66374
|
/******/ })()
|
|
66373
66375
|
;
|
|
66374
|
-
//# sourceMappingURL=index.
|
|
66376
|
+
//# sourceMappingURL=index.f03bb2.js.map
|