@awes-io/ui 2.145.1 → 2.145.2
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
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.145.2](https://github.com/awes-io/client/compare/@awes-io/ui@2.145.1...@awes-io/ui@2.145.2) (2026-09-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* unused dependency removed ([225dd49](https://github.com/awes-io/client/commit/225dd490d0dda8226ff89ef71d6494b3ca951f62))
|
|
12
|
+
* **ui:** fire beforeDestroy teardown, guard AwPageSingle slots and refs ([4a0cca1](https://github.com/awes-io/client/commit/4a0cca1a456e061ddbcc5511b9ff958737dc9555))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [2.145.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.145.0...@awes-io/ui@2.145.1) (2026-08-21)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -171,7 +171,6 @@
|
|
|
171
171
|
import { pathOr } from 'rambdax'
|
|
172
172
|
import pageMixin from '@AwMixins/page'
|
|
173
173
|
import AwBottomBar from '@AwOrganisms/AwBottomBar.vue'
|
|
174
|
-
import { conf } from '@AwUtils/component'
|
|
175
174
|
|
|
176
175
|
export default {
|
|
177
176
|
name: 'AwPage',
|
|
@@ -316,7 +315,7 @@ export default {
|
|
|
316
315
|
}
|
|
317
316
|
},
|
|
318
317
|
|
|
319
|
-
|
|
318
|
+
beforeDestroy() {
|
|
320
319
|
this.$emit('update:fullscreen', false)
|
|
321
320
|
this.watchFullscreenState(false)
|
|
322
321
|
document.body.style.removeProperty('--page-buttons-bottom')
|
|
@@ -202,7 +202,10 @@ export default {
|
|
|
202
202
|
},
|
|
203
203
|
|
|
204
204
|
hasPreview() {
|
|
205
|
-
return
|
|
205
|
+
return (
|
|
206
|
+
pathOr(null, 'preview', this.$scopedSlots) ||
|
|
207
|
+
pathOr(null, 'preview', this.$slots)
|
|
208
|
+
)
|
|
206
209
|
},
|
|
207
210
|
|
|
208
211
|
isDesktopActionBeforeMenu() {
|
|
@@ -224,6 +227,8 @@ export default {
|
|
|
224
227
|
|
|
225
228
|
const { topScrollMark, bottomScrollMark } = this.$refs
|
|
226
229
|
|
|
230
|
+
if (!topScrollMark || !bottomScrollMark) return
|
|
231
|
+
|
|
227
232
|
this.$options.$observer = new IntersectionObserver((entries) => {
|
|
228
233
|
for (let i = 0; i < entries.length; i++) {
|
|
229
234
|
const entry = entries[i]
|
package/mixins/page.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.145.
|
|
3
|
+
"version": "2.145.2",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"peerDependencies": {
|
|
117
117
|
"nuxt": "^2.18.1"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "2ca960492ca09b5dfd6cb0d530bafd4afb968dba"
|
|
120
120
|
}
|