framework7-vue 8.0.0-beta.6 → 8.0.0-beta.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.
|
@@ -13,6 +13,10 @@ declare const PhotoBrowser: DefineComponent<
|
|
|
13
13
|
type: ArrayConstructor;
|
|
14
14
|
},
|
|
15
15
|
|
|
16
|
+
thumbs: {
|
|
17
|
+
type: ArrayConstructor;
|
|
18
|
+
},
|
|
19
|
+
|
|
16
20
|
view: {
|
|
17
21
|
type: StringConstructor | ObjectConstructor;
|
|
18
22
|
},
|
|
@@ -53,6 +57,10 @@ declare const PhotoBrowser: DefineComponent<
|
|
|
53
57
|
type: FunctionConstructor;
|
|
54
58
|
},
|
|
55
59
|
|
|
60
|
+
renderThumb: {
|
|
61
|
+
type: FunctionConstructor;
|
|
62
|
+
},
|
|
63
|
+
|
|
56
64
|
init: {
|
|
57
65
|
type: BooleanConstructor;
|
|
58
66
|
default: boolean;
|
|
@@ -104,6 +112,11 @@ declare const PhotoBrowser: DefineComponent<
|
|
|
104
112
|
default: undefined;
|
|
105
113
|
},
|
|
106
114
|
|
|
115
|
+
popupCloseLinkIcon: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
},
|
|
119
|
+
|
|
107
120
|
popupCloseLinkText: {
|
|
108
121
|
type: StringConstructor;
|
|
109
122
|
default: undefined;
|
|
@@ -10,6 +10,7 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
params: Object,
|
|
12
12
|
photos: Array,
|
|
13
|
+
thumbs: Array,
|
|
13
14
|
exposition: {
|
|
14
15
|
type: Boolean,
|
|
15
16
|
default: true
|
|
@@ -46,6 +47,10 @@ export default {
|
|
|
46
47
|
type: String,
|
|
47
48
|
default: undefined
|
|
48
49
|
},
|
|
50
|
+
popupCloseLinkIcon: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: undefined
|
|
53
|
+
},
|
|
49
54
|
popupCloseLinkText: {
|
|
50
55
|
type: String,
|
|
51
56
|
default: undefined
|
|
@@ -81,7 +86,8 @@ export default {
|
|
|
81
86
|
renderPhoto: Function,
|
|
82
87
|
renderPage: Function,
|
|
83
88
|
renderPopup: Function,
|
|
84
|
-
renderStandalone: Function
|
|
89
|
+
renderStandalone: Function,
|
|
90
|
+
renderThumb: Function
|
|
85
91
|
},
|
|
86
92
|
emits: ['photobrowser:open', 'photobrowser:close', 'photobrowser:opened', 'photobrowser:closed', 'photobrowser:swipetoclose'],
|
|
87
93
|
setup(props, _ref) {
|
|
@@ -112,6 +118,14 @@ export default {
|
|
|
112
118
|
pb.swiper.update();
|
|
113
119
|
}
|
|
114
120
|
});
|
|
121
|
+
watch(() => props.thumbs, value => {
|
|
122
|
+
const pb = f7PhotoBrowser;
|
|
123
|
+
if (!pb) return;
|
|
124
|
+
pb.params.thumbs = value;
|
|
125
|
+
if (pb.opened && pb.thumbsSwiper) {
|
|
126
|
+
pb.thumbsSwiper.update();
|
|
127
|
+
}
|
|
128
|
+
});
|
|
115
129
|
onMounted(() => {
|
|
116
130
|
if (!props.init) return;
|
|
117
131
|
f7ready(() => {
|
package/framework7-vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 Vue 8.0.0-beta.
|
|
2
|
+
* Framework7 Vue 8.0.0-beta.7
|
|
3
3
|
* Build full featured iOS & Android apps using Framework7 & Vue
|
|
4
4
|
* https://framework7.io/vue/
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on: March
|
|
10
|
+
* Released on: March 27, 2023
|
|
11
11
|
*/
|
|
12
12
|
import Framework7Vue from './shared/plugin.js';
|
|
13
13
|
import { f7, f7ready, theme } from './shared/f7.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framework7-vue",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.7",
|
|
4
4
|
"description": "Build full featured iOS & Android apps using Framework7 & Vue",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"type": "patreon",
|
|
56
56
|
"url": "https://www.patreon.com/framework7"
|
|
57
57
|
},
|
|
58
|
-
"releaseDate": "March
|
|
58
|
+
"releaseDate": "March 27, 2023"
|
|
59
59
|
}
|