framework7 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.
- package/cjs/components/searchbar/searchbar-class.js +1 -1
- package/cjs/components/sheet/sheet-class.js +10 -0
- package/cjs/framework7-bundle.js +2 -2
- package/cjs/framework7-lite-bundle.js +2 -2
- package/cjs/framework7-lite.js +2 -2
- package/cjs/framework7.js +2 -2
- package/cjs/modules/component/component-class.js +19 -0
- package/cjs/modules/component/parse-component.js +1 -1
- package/components/gauge/gauge.d.ts +2 -2
- package/components/searchbar/searchbar.js +1 -1
- package/components/sheet/sheet.js +1 -1
- package/esm/components/searchbar/searchbar-class.js +1 -1
- package/esm/components/sheet/sheet-class.js +10 -0
- package/esm/framework7-bundle.js +2 -2
- package/esm/framework7-lite-bundle.js +2 -2
- package/esm/framework7-lite.js +2 -2
- package/esm/framework7.js +2 -2
- package/esm/modules/component/component-class.js +19 -0
- package/esm/modules/component/parse-component.js +1 -1
- package/framework7-bundle-rtl.css +2 -2
- package/framework7-bundle-rtl.min.css +2 -2
- package/framework7-bundle.css +2 -2
- package/framework7-bundle.js +33 -4
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +2 -2
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-rtl.css +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.js +22 -3
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +2 -2
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/modules/component/component.d.ts +2 -0
- package/package.json +1 -1
- package/types/components/gauge/gauge.d.ts +2 -2
- package/types/modules/component/component.d.ts +2 -0
package/framework7-bundle.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 6.3.
|
|
2
|
+
* Framework7 6.3.8
|
|
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:
|
|
10
|
+
* Released on: November 8, 2021
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/*====================
|
package/framework7-bundle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 6.3.
|
|
2
|
+
* Framework7 6.3.8
|
|
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:
|
|
10
|
+
* Released on: November 8, 2021
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
(function (global, factory) {
|
|
@@ -13903,6 +13903,24 @@
|
|
|
13903
13903
|
});
|
|
13904
13904
|
};
|
|
13905
13905
|
|
|
13906
|
+
_proto.getComponentRef = function getComponentRef() {
|
|
13907
|
+
var self = this;
|
|
13908
|
+
return function (initialValue) {
|
|
13909
|
+
var value = initialValue;
|
|
13910
|
+
var obj = {};
|
|
13911
|
+
Object.defineProperty(obj, 'value', {
|
|
13912
|
+
get: function get() {
|
|
13913
|
+
return value;
|
|
13914
|
+
},
|
|
13915
|
+
set: function set(v) {
|
|
13916
|
+
value = v;
|
|
13917
|
+
self.update();
|
|
13918
|
+
}
|
|
13919
|
+
});
|
|
13920
|
+
return obj;
|
|
13921
|
+
};
|
|
13922
|
+
};
|
|
13923
|
+
|
|
13906
13924
|
_proto.getComponentStore = function getComponentStore() {
|
|
13907
13925
|
var _this2 = this;
|
|
13908
13926
|
|
|
@@ -13947,6 +13965,7 @@
|
|
|
13947
13965
|
$update: this.update.bind(this),
|
|
13948
13966
|
$emit: this.emit.bind(this),
|
|
13949
13967
|
$store: this.getComponentStore(),
|
|
13968
|
+
$ref: this.getComponentRef(),
|
|
13950
13969
|
$el: {}
|
|
13951
13970
|
};
|
|
13952
13971
|
Object.defineProperty(ctx.$el, 'value', {
|
|
@@ -14204,7 +14223,7 @@
|
|
|
14204
14223
|
if (!scriptContent || !scriptContent.trim()) scriptContent = 'return () => {return $render}'; // Parse Template
|
|
14205
14224
|
|
|
14206
14225
|
if (template) {
|
|
14207
|
-
scriptContent = scriptContent.replace('$render', "function ($$ctx) {\n var $ = $$ctx.$$;\n var $h = $$ctx.$h;\n var $root = $$ctx.$root;\n var $f7 = $$ctx.$f7;\n var $f7route = $$ctx.$f7route;\n var $f7router = $$ctx.$f7router;\n var $theme = $$ctx.$theme;\n var $update = $$ctx.$update;\n var $store = $$ctx.$store;\n\n return $h`" + template + "`\n }\n ").replace(/export default/g, 'return');
|
|
14226
|
+
scriptContent = scriptContent.replace('$render', "function ($$ctx) {\n var $ = $$ctx.$$;\n var $h = $$ctx.$h;\n var $root = $$ctx.$root;\n var $f7 = $$ctx.$f7;\n var $f7route = $$ctx.$f7route;\n var $f7router = $$ctx.$f7router;\n var $theme = $$ctx.$theme;\n var $update = $$ctx.$update;\n var $store = $$ctx.$store;\n var $ref = $$ctx.$ref;\n\n return $h`" + template + "`\n }\n ").replace(/export default/g, 'return');
|
|
14208
14227
|
} // Execute Script
|
|
14209
14228
|
|
|
14210
14229
|
|
|
@@ -18690,6 +18709,7 @@
|
|
|
18690
18709
|
$el.removeClass('modal-in-swipe-step');
|
|
18691
18710
|
$el.trigger('sheet:stepprogress', 1);
|
|
18692
18711
|
sheet.emit('local::stepProgress sheetStepProgress', sheet, 1);
|
|
18712
|
+
sheet.emit('local::_swipeStep', false);
|
|
18693
18713
|
$el.trigger('sheet:stepopen');
|
|
18694
18714
|
sheet.emit('local::stepOpen sheetStepOpen', sheet);
|
|
18695
18715
|
|
|
@@ -18708,6 +18728,7 @@
|
|
|
18708
18728
|
$el.addClass('modal-in-swipe-step');
|
|
18709
18729
|
$el.trigger('sheet:stepprogress', 0);
|
|
18710
18730
|
sheet.emit('local::stepProgress sheetStepProgress', sheet, 0);
|
|
18731
|
+
sheet.emit('local::_swipeStep', true);
|
|
18711
18732
|
$el.trigger('sheet:stepclose');
|
|
18712
18733
|
sheet.emit('local::stepClose sheetStepClose', sheet);
|
|
18713
18734
|
|
|
@@ -18723,6 +18744,7 @@
|
|
|
18723
18744
|
$el.addClass('modal-in-swipe-step');
|
|
18724
18745
|
$el.trigger('sheet:stepprogress', 0);
|
|
18725
18746
|
sheet.emit('local::stepProgress sheetStepProgress', sheet, 0);
|
|
18747
|
+
sheet.emit('local::_swipeStep', true);
|
|
18726
18748
|
$el.trigger('sheet:stepclose');
|
|
18727
18749
|
sheet.emit('local::stepClose sheetStepClose', sheet);
|
|
18728
18750
|
|
|
@@ -18744,6 +18766,7 @@
|
|
|
18744
18766
|
$el.removeClass('modal-in-swipe-step');
|
|
18745
18767
|
$el.trigger('sheet:stepprogress', 1);
|
|
18746
18768
|
sheet.emit('local::stepProgress sheetStepProgress', sheet, 1);
|
|
18769
|
+
sheet.emit('local::_swipeStep', false);
|
|
18747
18770
|
$el.trigger('sheet:stepopen');
|
|
18748
18771
|
sheet.emit('local::stepOpen sheetStepOpen', sheet);
|
|
18749
18772
|
|
|
@@ -18764,6 +18787,7 @@
|
|
|
18764
18787
|
$el.addClass('modal-in-swipe-step');
|
|
18765
18788
|
$el.trigger('sheet:stepprogress', 0);
|
|
18766
18789
|
sheet.emit('local::stepProgress sheetStepProgress', sheet, 0);
|
|
18790
|
+
sheet.emit('local::_swipeStep', true);
|
|
18767
18791
|
$el.trigger('sheet:stepclose');
|
|
18768
18792
|
sheet.emit('local::stepClose sheetStepClose', sheet);
|
|
18769
18793
|
|
|
@@ -18794,6 +18818,7 @@
|
|
|
18794
18818
|
|
|
18795
18819
|
if (!byResize) {
|
|
18796
18820
|
$el.addClass('modal-in-swipe-step');
|
|
18821
|
+
sheet.emit('local::_swipeStep', true);
|
|
18797
18822
|
}
|
|
18798
18823
|
};
|
|
18799
18824
|
|
|
@@ -18858,6 +18883,7 @@
|
|
|
18858
18883
|
sheet.on('close', function () {
|
|
18859
18884
|
if (sheet.params.swipeToStep) {
|
|
18860
18885
|
$el.removeClass('modal-in-swipe-step');
|
|
18886
|
+
sheet.emit('local::_swipeStep', false);
|
|
18861
18887
|
app.off('resize', onResize);
|
|
18862
18888
|
}
|
|
18863
18889
|
|
|
@@ -18889,6 +18915,7 @@
|
|
|
18889
18915
|
|
|
18890
18916
|
sheet.stepOpen = function stepOpen() {
|
|
18891
18917
|
$el.removeClass('modal-in-swipe-step');
|
|
18918
|
+
sheet.emit('local::_swipeStep', false);
|
|
18892
18919
|
|
|
18893
18920
|
if (sheet.push) {
|
|
18894
18921
|
if (!pushOffset) {
|
|
@@ -18904,6 +18931,7 @@
|
|
|
18904
18931
|
|
|
18905
18932
|
sheet.stepClose = function stepClose() {
|
|
18906
18933
|
$el.addClass('modal-in-swipe-step');
|
|
18934
|
+
sheet.emit('local::_swipeStep', true);
|
|
18907
18935
|
|
|
18908
18936
|
if (sheet.push) {
|
|
18909
18937
|
sheet.$htmlEl[0].style.removeProperty('--f7-sheet-push-scale');
|
|
@@ -18912,6 +18940,7 @@
|
|
|
18912
18940
|
|
|
18913
18941
|
sheet.stepToggle = function stepToggle() {
|
|
18914
18942
|
$el.toggleClass('modal-in-swipe-step');
|
|
18943
|
+
sheet.emit('local::_swipeStep', $el.hasClass('modal-in-swipe-step'));
|
|
18915
18944
|
};
|
|
18916
18945
|
|
|
18917
18946
|
$el[0].f7Modal = sheet;
|
|
@@ -32979,7 +33008,7 @@
|
|
|
32979
33008
|
foundItems = sb.virtualList.params.searchAll(vlQuery, sb.virtualList.items) || [];
|
|
32980
33009
|
} else if (sb.virtualList.params.searchByItem) {
|
|
32981
33010
|
for (var i = 0; i < sb.virtualList.items.length; i += 1) {
|
|
32982
|
-
if (sb.virtualList.params.searchByItem(vlQuery, sb.virtualList.
|
|
33011
|
+
if (sb.virtualList.params.searchByItem(vlQuery, sb.virtualList.items[i], i)) {
|
|
32983
33012
|
foundItems.push(i);
|
|
32984
33013
|
}
|
|
32985
33014
|
}
|