framework7 7.1.1 → 7.1.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/components/dialog/dialog-md.less +1 -0
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog.css +1 -1
- package/components/notification/notification.d.ts +1 -1
- package/components/photo-browser/photo-browser.js +1 -0
- package/components/photo-browser/photo-browser.lazy.js +1 -1
- package/components/picker/picker-rtl.css +1 -1
- package/components/picker/picker.css +1 -1
- package/components/picker/picker.less +36 -33
- package/framework7-bundle-rtl.css +37 -16
- package/framework7-bundle-rtl.min.css +4 -4
- package/framework7-bundle.css +37 -16
- package/framework7-bundle.esm.js +3 -3
- package/framework7-bundle.js +6 -5
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +3 -3
- package/framework7-bundle.min.css +4 -4
- package/framework7-bundle.min.js +4 -4
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +3 -3
- package/framework7-lite.esm.js +3 -3
- package/framework7-rtl.css +3 -3
- package/framework7-rtl.min.css +3 -3
- package/framework7.css +3 -3
- package/framework7.esm.js +3 -3
- package/framework7.js +5 -5
- package/framework7.js.map +1 -1
- package/framework7.less +3 -3
- package/framework7.min.css +3 -3
- package/framework7.min.js +4 -4
- package/framework7.min.js.map +1 -1
- package/modules/router/router-class.js +2 -2
- package/package.json +1 -1
- package/framework7-lite.js +0 -26
- package/less/plugin.js +0 -18
|
@@ -1201,12 +1201,12 @@ class Router extends Framework7Class {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
} else {
|
|
1203
1203
|
if (browserHistoryRoot && documentUrl.indexOf(browserHistoryRoot) >= 0) {
|
|
1204
|
-
documentUrl = documentUrl.
|
|
1204
|
+
documentUrl = documentUrl.substring(documentUrl.indexOf(browserHistoryRoot) + browserHistoryRoot.length);
|
|
1205
1205
|
if (documentUrl === '') documentUrl = '/';
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
1208
1208
|
if (browserHistorySeparator.length > 0 && documentUrl.indexOf(browserHistorySeparator) >= 0) {
|
|
1209
|
-
initialUrl = documentUrl.
|
|
1209
|
+
initialUrl = documentUrl.substring(documentUrl.indexOf(browserHistorySeparator) + browserHistorySeparator.length);
|
|
1210
1210
|
} else {
|
|
1211
1211
|
initialUrl = documentUrl;
|
|
1212
1212
|
}
|
package/package.json
CHANGED
package/framework7-lite.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import $ from './shared/dom7.js';
|
|
2
|
-
import Framework7 from './components/app/app-class.js'; //IMPORT_HELPERS
|
|
3
|
-
|
|
4
|
-
import DeviceModule from './modules/device/device.js';
|
|
5
|
-
import SupportModule from './modules/support/support.js';
|
|
6
|
-
import UtilsModule from './modules/utils/utils.js';
|
|
7
|
-
import ResizeModule from './modules/resize/resize.js';
|
|
8
|
-
import RequestModule from './modules/request/request.js';
|
|
9
|
-
import TouchModule from './modules/touch/touch.js';
|
|
10
|
-
import ClicksModule from './modules/clicks/clicks.js';
|
|
11
|
-
import RouterModule from './modules/router/router.js';
|
|
12
|
-
import HistoryModule from './modules/history/history.js';
|
|
13
|
-
import ServiceWorkerModule from './modules/service-worker/service-worker.js';
|
|
14
|
-
import StoreModule, { createStore } from './modules/store/store.js';
|
|
15
|
-
import Statusbar from './components/statusbar/statusbar.js';
|
|
16
|
-
import View from './components/view/view.js';
|
|
17
|
-
import Navbar from './components/navbar/navbar.js';
|
|
18
|
-
import Toolbar from './components/toolbar/toolbar.js';
|
|
19
|
-
import Subnavbar from './components/subnavbar/subnavbar.js';
|
|
20
|
-
import TouchRipple from './components/touch-ripple/touch-ripple.js';
|
|
21
|
-
import Modal from './components/modal/modal.js'; //IMPORT_COMPONENTS
|
|
22
|
-
|
|
23
|
-
Framework7.use([DeviceModule, SupportModule, UtilsModule, ResizeModule, RequestModule, TouchModule, ClicksModule, RouterModule, HistoryModule, ServiceWorkerModule, StoreModule, Statusbar, View, Navbar, Toolbar, Subnavbar, TouchRipple, Modal //INSTALL_COMPONENTS
|
|
24
|
-
]); //NAMED_EXPORT
|
|
25
|
-
|
|
26
|
-
export default Framework7;
|
package/less/plugin.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
|
|
3
|
-
function base64Encode(file) {
|
|
4
|
-
// read binary data
|
|
5
|
-
const bitmap = fs.readFileSync(file); // convert binary data to base64 encoded string
|
|
6
|
-
|
|
7
|
-
return Buffer.from(bitmap).toString('base64');
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
module.exports = {
|
|
11
|
-
install(less, pluginManager, functions) {
|
|
12
|
-
functions.add('framework7_coreIconsFont', () => {
|
|
13
|
-
const iconsFontBase64 = base64Encode('./src/core/icons/font/framework7-core-icons.woff');
|
|
14
|
-
return iconsFontBase64;
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
};
|