@operato/shell 1.17.6 → 1.17.9
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 +17 -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 +5 -5
- package/src/app/pages/page-view.ts +8 -1
- package/yarn-error.log +0 -17015
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@operato/shell",
|
3
3
|
"description": "WebApplication architecturing shell following open-wc recommendations",
|
4
4
|
"author": "heartyoh",
|
5
|
-
"version": "1.17.
|
5
|
+
"version": "1.17.9",
|
6
6
|
"main": "dist/src/index.js",
|
7
7
|
"module": "dist/src/index.js",
|
8
8
|
"exports": {
|
@@ -59,9 +59,9 @@
|
|
59
59
|
"@material/mwc-button": "^0.27.0",
|
60
60
|
"@material/mwc-icon": "^0.27.0",
|
61
61
|
"@material/mwc-icon-button": "^0.27.0",
|
62
|
-
"@operato/graphql": "^1.
|
63
|
-
"@operato/styles": "^1.
|
64
|
-
"@operato/utils": "^1.
|
62
|
+
"@operato/graphql": "^1.17.9",
|
63
|
+
"@operato/styles": "^1.17.9",
|
64
|
+
"@operato/utils": "^1.17.9",
|
65
65
|
"lit": "^2.5.0",
|
66
66
|
"lodash-es": "^4.17.21",
|
67
67
|
"pwa-helpers": "^0.9.1",
|
@@ -100,5 +100,5 @@
|
|
100
100
|
"prettier --write"
|
101
101
|
]
|
102
102
|
},
|
103
|
-
"gitHead": "
|
103
|
+
"gitHead": "3ee2a9ccedbe46a0ff0277e41bb75ba5428d4e04"
|
104
104
|
}
|
@@ -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.
|