framework7-vue 6.3.4 → 6.3.8

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.
@@ -330,7 +330,7 @@ var _default = {
330
330
  }
331
331
  });
332
332
  var isSortableComputed = (0, _vue.computed)(function () {
333
- return props.sortable || ListContext.value.listIsSortable || false;
333
+ return props.sortable === true || props.sortable === false ? props.sortable : ListContext.value.listIsSortable || false;
334
334
  });
335
335
 
336
336
  var createInput = function createInput(InputTag, children) {
@@ -450,7 +450,7 @@ var _default = {
450
450
  return props.mediaItem || props.mediaList || listIsMedia.value;
451
451
  });
452
452
  var isSortableComputed = (0, _vue.computed)(function () {
453
- return props.sortable || listIsSortable.value;
453
+ return props.sortable === true || props.sortable === false ? props.sortable : listIsSortable.value;
454
454
  });
455
455
  var isSortableOppositeComputed = (0, _vue.computed)(function () {
456
456
  return isSortableComputed.value && (props.sortableOpposite || listIsSortableOpposite.value);
@@ -169,6 +169,14 @@ var _default = {
169
169
  f7Sheet.close();
170
170
  }
171
171
  });
172
+ ['closeByBackdropClick', 'closeByOutsideClick', 'closeOnEscape', 'swipeToClose'].forEach(function (propName) {
173
+ (0, _vue.watch)(function () {
174
+ return props[propName];
175
+ }, function (propValue) {
176
+ if (!f7Sheet) return;
177
+ f7Sheet.params[propName] = propValue;
178
+ });
179
+ });
172
180
  var classes = (0, _vue.computed)(function () {
173
181
  var positionComputed = 'bottom';
174
182
  if (props.position) positionComputed = props.position;else if (props.top) positionComputed = 'top';else if (props.bottom) positionComputed = 'bottom';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 Vue 6.3.4
2
+ * Framework7 Vue 6.3.8
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: September 16, 2021
10
+ * Released on: November 8, 2021
11
11
  */
12
12
  "use strict";
13
13
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 Vue 6.3.4
2
+ * Framework7 Vue 6.3.8
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: September 16, 2021
10
+ * Released on: November 8, 2021
11
11
  */
12
12
  "use strict";
13
13
 
@@ -318,7 +318,7 @@ export default {
318
318
  }
319
319
  });
320
320
  var isSortableComputed = computed(function () {
321
- return props.sortable || ListContext.value.listIsSortable || false;
321
+ return props.sortable === true || props.sortable === false ? props.sortable : ListContext.value.listIsSortable || false;
322
322
  });
323
323
 
324
324
  var createInput = function createInput(InputTag, children) {
@@ -408,7 +408,7 @@ export default {
408
408
  return props.mediaItem || props.mediaList || listIsMedia.value;
409
409
  });
410
410
  var isSortableComputed = computed(function () {
411
- return props.sortable || listIsSortable.value;
411
+ return props.sortable === true || props.sortable === false ? props.sortable : listIsSortable.value;
412
412
  });
413
413
  var isSortableOppositeComputed = computed(function () {
414
414
  return isSortableComputed.value && (props.sortableOpposite || listIsSortableOpposite.value);
@@ -159,6 +159,14 @@ export default {
159
159
  f7Sheet.close();
160
160
  }
161
161
  });
162
+ ['closeByBackdropClick', 'closeByOutsideClick', 'closeOnEscape', 'swipeToClose'].forEach(function (propName) {
163
+ watch(function () {
164
+ return props[propName];
165
+ }, function (propValue) {
166
+ if (!f7Sheet) return;
167
+ f7Sheet.params[propName] = propValue;
168
+ });
169
+ });
162
170
  var classes = computed(function () {
163
171
  var positionComputed = 'bottom';
164
172
  if (props.position) positionComputed = props.position;else if (props.top) positionComputed = 'top';else if (props.bottom) positionComputed = 'bottom';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 Vue 6.3.4
2
+ * Framework7 Vue 6.3.8
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: September 16, 2021
10
+ * Released on: November 8, 2021
11
11
  */
12
12
  import Framework7Vue from './shared/plugin';
13
13
  import { f7, f7ready, theme } from './shared/f7';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 Vue 6.3.4
2
+ * Framework7 Vue 6.3.8
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: September 16, 2021
10
+ * Released on: November 8, 2021
11
11
  */
12
12
  import Framework7Vue from './shared/plugin';
13
13
  import { f7, f7ready, theme } from './shared/f7';