framework7 6.3.5 → 6.3.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 6.3.5
2
+ * Framework7 6.3.9
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: September 30, 2021
10
+ * Released on: November 18, 2021
11
11
  */
12
12
 
13
13
  /*====================
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 6.3.5
2
+ * Framework7 6.3.9
3
3
  * Full featured mobile HTML framework for building iOS & Android apps
4
4
  * https://framework7.io/
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Released under the MIT License
9
9
  *
10
- * Released on: September 30, 2021
10
+ * Released on: November 18, 2021
11
11
  */
12
12
 
13
13
  (function (global, factory) {
@@ -18709,6 +18709,7 @@
18709
18709
  $el.removeClass('modal-in-swipe-step');
18710
18710
  $el.trigger('sheet:stepprogress', 1);
18711
18711
  sheet.emit('local::stepProgress sheetStepProgress', sheet, 1);
18712
+ sheet.emit('local::_swipeStep', false);
18712
18713
  $el.trigger('sheet:stepopen');
18713
18714
  sheet.emit('local::stepOpen sheetStepOpen', sheet);
18714
18715
 
@@ -18727,6 +18728,7 @@
18727
18728
  $el.addClass('modal-in-swipe-step');
18728
18729
  $el.trigger('sheet:stepprogress', 0);
18729
18730
  sheet.emit('local::stepProgress sheetStepProgress', sheet, 0);
18731
+ sheet.emit('local::_swipeStep', true);
18730
18732
  $el.trigger('sheet:stepclose');
18731
18733
  sheet.emit('local::stepClose sheetStepClose', sheet);
18732
18734
 
@@ -18742,6 +18744,7 @@
18742
18744
  $el.addClass('modal-in-swipe-step');
18743
18745
  $el.trigger('sheet:stepprogress', 0);
18744
18746
  sheet.emit('local::stepProgress sheetStepProgress', sheet, 0);
18747
+ sheet.emit('local::_swipeStep', true);
18745
18748
  $el.trigger('sheet:stepclose');
18746
18749
  sheet.emit('local::stepClose sheetStepClose', sheet);
18747
18750
 
@@ -18763,6 +18766,7 @@
18763
18766
  $el.removeClass('modal-in-swipe-step');
18764
18767
  $el.trigger('sheet:stepprogress', 1);
18765
18768
  sheet.emit('local::stepProgress sheetStepProgress', sheet, 1);
18769
+ sheet.emit('local::_swipeStep', false);
18766
18770
  $el.trigger('sheet:stepopen');
18767
18771
  sheet.emit('local::stepOpen sheetStepOpen', sheet);
18768
18772
 
@@ -18783,6 +18787,7 @@
18783
18787
  $el.addClass('modal-in-swipe-step');
18784
18788
  $el.trigger('sheet:stepprogress', 0);
18785
18789
  sheet.emit('local::stepProgress sheetStepProgress', sheet, 0);
18790
+ sheet.emit('local::_swipeStep', true);
18786
18791
  $el.trigger('sheet:stepclose');
18787
18792
  sheet.emit('local::stepClose sheetStepClose', sheet);
18788
18793
 
@@ -18813,6 +18818,7 @@
18813
18818
 
18814
18819
  if (!byResize) {
18815
18820
  $el.addClass('modal-in-swipe-step');
18821
+ sheet.emit('local::_swipeStep', true);
18816
18822
  }
18817
18823
  };
18818
18824
 
@@ -18877,6 +18883,7 @@
18877
18883
  sheet.on('close', function () {
18878
18884
  if (sheet.params.swipeToStep) {
18879
18885
  $el.removeClass('modal-in-swipe-step');
18886
+ sheet.emit('local::_swipeStep', false);
18880
18887
  app.off('resize', onResize);
18881
18888
  }
18882
18889
 
@@ -18908,6 +18915,7 @@
18908
18915
 
18909
18916
  sheet.stepOpen = function stepOpen() {
18910
18917
  $el.removeClass('modal-in-swipe-step');
18918
+ sheet.emit('local::_swipeStep', false);
18911
18919
 
18912
18920
  if (sheet.push) {
18913
18921
  if (!pushOffset) {
@@ -18923,6 +18931,7 @@
18923
18931
 
18924
18932
  sheet.stepClose = function stepClose() {
18925
18933
  $el.addClass('modal-in-swipe-step');
18934
+ sheet.emit('local::_swipeStep', true);
18926
18935
 
18927
18936
  if (sheet.push) {
18928
18937
  sheet.$htmlEl[0].style.removeProperty('--f7-sheet-push-scale');
@@ -18931,6 +18940,7 @@
18931
18940
 
18932
18941
  sheet.stepToggle = function stepToggle() {
18933
18942
  $el.toggleClass('modal-in-swipe-step');
18943
+ sheet.emit('local::_swipeStep', $el.hasClass('modal-in-swipe-step'));
18934
18944
  };
18935
18945
 
18936
18946
  $el[0].f7Modal = sheet;
@@ -32998,7 +33008,7 @@
32998
33008
  foundItems = sb.virtualList.params.searchAll(vlQuery, sb.virtualList.items) || [];
32999
33009
  } else if (sb.virtualList.params.searchByItem) {
33000
33010
  for (var i = 0; i < sb.virtualList.items.length; i += 1) {
33001
- if (sb.virtualList.params.searchByItem(vlQuery, sb.virtualList.params.items[i], i)) {
33011
+ if (sb.virtualList.params.searchByItem(vlQuery, sb.virtualList.items[i], i)) {
33002
33012
  foundItems.push(i);
33003
33013
  }
33004
33014
  }