@kodaris/krubble-app-components 1.0.138 → 1.0.140
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/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/krubble-app.bundled.js +3 -2
- package/dist/krubble-app.bundled.js.map +1 -1
- package/dist/krubble-app.bundled.min.js +1 -1
- package/dist/krubble-app.bundled.min.js.map +1 -1
- package/dist/krubble-app.umd.js +3 -2
- package/dist/krubble-app.umd.js.map +1 -1
- package/dist/krubble-app.umd.min.js +1 -1
- package/dist/krubble-app.umd.min.js.map +1 -1
- package/dist/router.d.ts +4 -0
- package/dist/router.d.ts.map +1 -1
- package/dist/router.js +3 -2
- package/dist/router.js.map +1 -1
- package/package.json +1 -1
package/dist/krubble-app.umd.js
CHANGED
|
@@ -12251,10 +12251,11 @@
|
|
|
12251
12251
|
const constructor = customElements.get(match.route.component);
|
|
12252
12252
|
if (constructor && typeof constructor.resolve === 'function') {
|
|
12253
12253
|
return Promise.resolve(constructor.resolve(KRRouter.getParams())).then(data => {
|
|
12254
|
-
|
|
12254
|
+
const routeSnapshot = Object.freeze({
|
|
12255
12255
|
params: match.params,
|
|
12256
12256
|
data,
|
|
12257
|
-
};
|
|
12257
|
+
});
|
|
12258
|
+
el.routeSnapshot = routeSnapshot;
|
|
12258
12259
|
return el;
|
|
12259
12260
|
});
|
|
12260
12261
|
}
|