@operato/shell 1.17.6 → 1.17.7
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/CHANGELOG.md +9 -0
- package/dist/src/actions/route.d.ts +2 -2
- package/dist/src/app/pages/page-view.d.ts +7 -1
- package/dist/src/app/pages/page-view.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/app/pages/page-view.ts +8 -1
- package/yarn-error.log +0 -17015
@@ -5,6 +5,13 @@ import isEqual from 'lodash-es/isEqual'
|
|
5
5
|
import { UPDATE_CONTEXT } from '../../actions/const'
|
6
6
|
import { store } from '../../store'
|
7
7
|
|
8
|
+
export type PageLifecycle = {
|
9
|
+
active: boolean
|
10
|
+
params: object
|
11
|
+
resourceId?: string
|
12
|
+
page?: string
|
13
|
+
}
|
14
|
+
|
8
15
|
function diff(after: any, before: any): any {
|
9
16
|
var changed = false
|
10
17
|
var changes: { [key: string]: any } = {}
|
@@ -72,7 +79,7 @@ export class PageView extends LitElement {
|
|
72
79
|
/**
|
73
80
|
* Stores information about the page's lifecycle.
|
74
81
|
*/
|
75
|
-
@property({ type: Object }) lifecycle
|
82
|
+
@property({ type: Object }) lifecycle!: PageLifecycle
|
76
83
|
|
77
84
|
/**
|
78
85
|
* The context path for the page.
|