framework7 7.0.0-beta.4 → 7.0.0-beta.5
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/accordion/accordion.js +2 -2
- package/components/actions/actions-class.js +5 -5
- package/components/actions/actions.js +2 -2
- package/components/app/app-class.d.ts +1 -1
- package/components/app/app-class.js +11 -11
- package/components/app/load-module.js +2 -2
- package/components/area-chart/area-chart-class.js +4 -4
- package/components/area-chart/area-chart.js +3 -3
- package/components/autocomplete/autocomplete-class.js +5 -5
- package/components/autocomplete/autocomplete.js +3 -3
- package/components/calendar/calendar-class.js +6 -6
- package/components/calendar/calendar.js +3 -3
- package/components/card/card.js +4 -4
- package/components/color-picker/color-picker-class.js +18 -18
- package/components/color-picker/color-picker.js +3 -3
- package/components/color-picker/modules/alpha-slider.js +1 -1
- package/components/color-picker/modules/brightness-slider.js +2 -2
- package/components/color-picker/modules/current-color.js +1 -1
- package/components/color-picker/modules/hex.js +1 -1
- package/components/color-picker/modules/hs-spectrum.js +4 -4
- package/components/color-picker/modules/hsb-sliders.js +3 -3
- package/components/color-picker/modules/hue-slider.js +1 -1
- package/components/color-picker/modules/initial-current-colors.js +1 -1
- package/components/color-picker/modules/palette.js +2 -2
- package/components/color-picker/modules/rgb-bars.js +2 -2
- package/components/color-picker/modules/rgb-sliders.js +2 -2
- package/components/color-picker/modules/sb-spectrum.js +3 -3
- package/components/color-picker/modules/wheel.js +3 -3
- package/components/data-table/data-table-class.js +3 -3
- package/components/data-table/data-table.js +3 -3
- package/components/dialog/dialog-class.js +5 -5
- package/components/dialog/dialog.js +3 -3
- package/components/fab/fab.js +2 -2
- package/components/form/form.js +2 -2
- package/components/gauge/gauge-class.js +4 -4
- package/components/gauge/gauge.js +4 -4
- package/components/grid/grid.js +2 -2
- package/components/infinite-scroll/infinite-scroll.js +2 -2
- package/components/input/input.js +3 -3
- package/components/lazy/lazy.js +3 -3
- package/components/list-index/list-index-class.js +4 -4
- package/components/list-index/list-index.js +4 -4
- package/components/login-screen/login-screen-class.js +3 -3
- package/components/login-screen/login-screen.js +2 -2
- package/components/menu/menu.js +2 -2
- package/components/messagebar/messagebar-class.js +3 -3
- package/components/messagebar/messagebar.js +4 -4
- package/components/messages/messages-class.js +4 -4
- package/components/messages/messages.js +3 -3
- package/components/modal/custom-modal-class.js +3 -3
- package/components/modal/modal-class.js +3 -3
- package/components/modal/modal.js +2 -2
- package/components/navbar/navbar.js +3 -3
- package/components/notification/notification-class.js +4 -4
- package/components/notification/notification.js +3 -3
- package/components/panel/panel-class.js +5 -5
- package/components/panel/panel.js +3 -3
- package/components/panel/resizable-panel.js +3 -3
- package/components/panel/swipe-panel.js +2 -2
- package/components/photo-browser/photo-browser-class.js +4 -4
- package/components/photo-browser/photo-browser.js +2 -2
- package/components/picker/picker-class.js +6 -6
- package/components/picker/picker-column.js +3 -3
- package/components/picker/picker.js +3 -3
- package/components/pie-chart/pie-chart-class.js +4 -4
- package/components/pie-chart/pie-chart.js +3 -3
- package/components/popover/popover-class.js +4 -4
- package/components/popover/popover.js +4 -4
- package/components/popup/popup-class.js +5 -5
- package/components/popup/popup.js +2 -2
- package/components/preloader/preloader.js +2 -2
- package/components/progressbar/progressbar.js +2 -2
- package/components/pull-to-refresh/pull-to-refresh-class.js +5 -5
- package/components/pull-to-refresh/pull-to-refresh.js +4 -4
- package/components/range/range-class.js +4 -4
- package/components/range/range.js +4 -4
- package/components/searchbar/searchbar-class.js +5 -5
- package/components/searchbar/searchbar.js +4 -4
- package/components/sheet/sheet-class.js +5 -5
- package/components/sheet/sheet.js +4 -4
- package/components/smart-select/smart-select-class.js +4 -4
- package/components/smart-select/smart-select.js +4 -4
- package/components/sortable/sortable.js +3 -3
- package/components/statusbar/statusbar.js +3 -3
- package/components/stepper/stepper-class.js +3 -3
- package/components/stepper/stepper.js +4 -4
- package/components/subnavbar/subnavbar.js +1 -1
- package/components/swipeout/swipeout.js +3 -3
- package/components/swiper/swiper.js +2 -2
- package/components/tabs/tabs.js +2 -2
- package/components/text-editor/text-editor-class.js +4 -4
- package/components/text-editor/text-editor.js +4 -4
- package/components/toast/toast-class.js +4 -4
- package/components/toast/toast.js +3 -3
- package/components/toggle/toggle-class.js +4 -4
- package/components/toggle/toggle.js +3 -3
- package/components/toolbar/toolbar.js +2 -2
- package/components/tooltip/tooltip-class.js +4 -4
- package/components/tooltip/tooltip.js +3 -3
- package/components/touch-ripple/touch-ripple-class.js +1 -1
- package/components/touch-ripple/touch-ripple.js +1 -1
- package/components/treeview/treeview.js +2 -2
- package/components/view/resizable-view.js +3 -3
- package/components/view/view-class.js +5 -5
- package/components/view/view.js +3 -3
- package/components/virtual-list/virtual-list-class.js +4 -4
- package/components/virtual-list/virtual-list.js +2 -2
- package/framework7-bundle-rtl.css +2 -2
- package/framework7-bundle-rtl.min.css +2 -2
- package/framework7-bundle.css +2 -2
- package/framework7-bundle.esm.js +84 -84
- package/framework7-bundle.js +4 -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 +2 -2
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +78 -78
- package/framework7-lite.esm.js +26 -26
- package/framework7-rtl.css +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.esm.js +29 -29
- package/framework7.js +4 -4
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +2 -2
- package/framework7.min.js +2 -2
- package/framework7.min.js.map +1 -1
- package/modules/clicks/clicks.js +2 -2
- package/modules/component/$h.js +1 -1
- package/modules/component/$jsx.js +1 -1
- package/modules/component/component-class.js +5 -5
- package/modules/component/component.js +4 -4
- package/modules/component/eventslisteners.js +1 -1
- package/modules/component/parse-component.js +2 -2
- package/modules/component/patch.js +5 -5
- package/modules/component/snabbdom/h.js +1 -1
- package/modules/component/snabbdom/snabbdom.bundle.js +7 -7
- package/modules/component/snabbdom/snabbdom.js +3 -3
- package/modules/component/snabbdom/thunk.js +1 -1
- package/modules/component/snabbdom/tovnode.js +2 -2
- package/modules/component/vdom.js +3 -3
- package/modules/device/device.js +1 -1
- package/modules/history/history.js +1 -1
- package/modules/request/request.js +1 -1
- package/modules/resize/resize.js +1 -1
- package/modules/router/back.js +8 -8
- package/modules/router/clear-previous-history.js +2 -2
- package/modules/router/component-loader.js +1 -1
- package/modules/router/modal.js +3 -3
- package/modules/router/navigate.js +7 -7
- package/modules/router/redirect.js +1 -1
- package/modules/router/router-class.js +11 -11
- package/modules/router/router.js +1 -1
- package/modules/router/swipe-back.js +5 -5
- package/modules/router/tab.js +4 -4
- package/modules/service-worker/service-worker.js +1 -1
- package/modules/store/create-store.js +1 -1
- package/modules/store/store.js +1 -1
- package/modules/support/support.js +1 -1
- package/modules/touch/touch.js +4 -4
- package/modules/utils/utils.js +1 -1
- package/package.json +1 -1
- package/shared/class.js +2 -2
- package/shared/constructor-methods.js +1 -1
- package/shared/get-device.js +1 -1
- package/shared/history.js +2 -2
- package/shared/modal-methods.js +3 -3
- package/shared/request.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Messagebar from './messagebar-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Messagebar from './messagebar-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'messagebar',
|
|
7
7
|
static: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
4
|
-
import { extend, deleteProps } from '../../shared/utils';
|
|
5
|
-
import Framework7Class from '../../shared/class';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
|
+
import { extend, deleteProps } from '../../shared/utils.js';
|
|
5
|
+
import Framework7Class from '../../shared/class.js';
|
|
6
6
|
/** @jsx $jsx */
|
|
7
7
|
|
|
8
|
-
import $jsx from '../../shared/$jsx';
|
|
8
|
+
import $jsx from '../../shared/$jsx.js';
|
|
9
9
|
|
|
10
10
|
class Messages extends Framework7Class {
|
|
11
11
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import Messages from './messages-class';
|
|
3
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import Messages from './messages-class.js';
|
|
3
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'messages',
|
|
6
6
|
static: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Modal from './modal-class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Modal from './modal-class.js';
|
|
4
4
|
|
|
5
5
|
class CustomModal extends Modal {
|
|
6
6
|
constructor(app, params) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, deleteProps } from '../../shared/utils';
|
|
4
|
-
import Framework7Class from '../../shared/class';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, deleteProps } from '../../shared/utils.js';
|
|
4
|
+
import Framework7Class from '../../shared/class.js';
|
|
5
5
|
const openedModals = [];
|
|
6
6
|
const dialogsQueue = [];
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { bindMethods } from '../../shared/utils';
|
|
3
|
-
import { getSupport } from '../../shared/get-support';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { bindMethods } from '../../shared/utils.js';
|
|
3
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
4
4
|
const Navbar = {
|
|
5
5
|
size(el) {
|
|
6
6
|
const app = this;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, now, nextTick } from '../../shared/utils';
|
|
3
|
-
import Modal from '../modal/modal-class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend, now, nextTick } from '../../shared/utils.js';
|
|
3
|
+
import Modal from '../modal/modal-class.js';
|
|
4
4
|
/** @jsx $jsx */
|
|
5
5
|
|
|
6
|
-
import $jsx from '../../shared/$jsx';
|
|
6
|
+
import $jsx from '../../shared/$jsx.js';
|
|
7
7
|
|
|
8
8
|
class Notification extends Modal {
|
|
9
9
|
constructor(app, params) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { extend } from '../../shared/utils';
|
|
2
|
-
import Notification from './notification-class';
|
|
3
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
1
|
+
import { extend } from '../../shared/utils.js';
|
|
2
|
+
import Notification from './notification-class.js';
|
|
3
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'notification',
|
|
6
6
|
static: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, deleteProps } from '../../shared/utils';
|
|
4
|
-
import Framework7Class from '../../shared/class';
|
|
5
|
-
import swipePanel from './swipe-panel';
|
|
6
|
-
import resizablePanel from './resizable-panel';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, deleteProps } from '../../shared/utils.js';
|
|
4
|
+
import Framework7Class from '../../shared/class.js';
|
|
5
|
+
import swipePanel from './swipe-panel.js';
|
|
6
|
+
import resizablePanel from './resizable-panel.js';
|
|
7
7
|
|
|
8
8
|
class Panel extends Framework7Class {
|
|
9
9
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Panel from './panel-class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Panel from './panel-class.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'panel',
|
|
6
6
|
params: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, nextFrame } from '../../shared/utils';
|
|
3
|
-
import { getSupport } from '../../shared/get-support';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend, nextFrame } from '../../shared/utils.js';
|
|
3
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
4
4
|
|
|
5
5
|
function resizablePanel(panel) {
|
|
6
6
|
const app = panel.app;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint indent: ["off"] */
|
|
2
2
|
import { getWindow } from 'ssr-window';
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
4
|
-
import { extend, now, nextTick, deleteProps } from '../../shared/utils';
|
|
5
|
-
import Framework7Class from '../../shared/class';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
|
+
import { extend, now, nextTick, deleteProps } from '../../shared/utils.js';
|
|
5
|
+
import Framework7Class from '../../shared/class.js';
|
|
6
6
|
/** @jsx $jsx */
|
|
7
7
|
|
|
8
|
-
import $jsx from '../../shared/$jsx';
|
|
8
|
+
import $jsx from '../../shared/$jsx.js';
|
|
9
9
|
|
|
10
10
|
class PhotoBrowser extends Framework7Class {
|
|
11
11
|
constructor(app, params = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import PhotoBrowser from './photo-browser-class';
|
|
2
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import PhotoBrowser from './photo-browser-class.js';
|
|
2
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
3
3
|
export default {
|
|
4
4
|
name: 'photoBrowser',
|
|
5
5
|
params: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { getWindow } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, nextTick, deleteProps } from '../../shared/utils';
|
|
4
|
-
import Framework7Class from '../../shared/class';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
6
|
-
import pickerColumn from './picker-column';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, nextTick, deleteProps } from '../../shared/utils.js';
|
|
4
|
+
import Framework7Class from '../../shared/class.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
|
+
import pickerColumn from './picker-column.js';
|
|
7
7
|
/** @jsx $jsx */
|
|
8
8
|
|
|
9
|
-
import $jsx from '../../shared/$jsx';
|
|
9
|
+
import $jsx from '../../shared/$jsx.js';
|
|
10
10
|
|
|
11
11
|
class Picker extends Framework7Class {
|
|
12
12
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { requestAnimationFrame, getTranslate } from '../../shared/utils';
|
|
3
|
-
import { getSupport } from '../../shared/get-support';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { requestAnimationFrame, getTranslate } from '../../shared/utils.js';
|
|
3
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
4
4
|
export default function pickerColumn(colEl, updateItems) {
|
|
5
5
|
const picker = this;
|
|
6
6
|
const app = picker.app;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
3
|
-
import Picker from './picker-class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
3
|
+
import Picker from './picker-class.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'picker',
|
|
6
6
|
static: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, deleteProps } from '../../shared/utils';
|
|
3
|
-
import Framework7Class from '../../shared/class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend, deleteProps } from '../../shared/utils.js';
|
|
3
|
+
import Framework7Class from '../../shared/class.js';
|
|
4
4
|
/** @jsx $jsx */
|
|
5
5
|
|
|
6
|
-
import $jsx from '../../shared/$jsx';
|
|
6
|
+
import $jsx from '../../shared/$jsx.js';
|
|
7
7
|
|
|
8
8
|
class PieChart extends Framework7Class {
|
|
9
9
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import PieChart from './pie-chart-class';
|
|
3
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import PieChart from './pie-chart-class.js';
|
|
3
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'pieChart',
|
|
6
6
|
params: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getWindow, getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend } from '../../shared/utils';
|
|
4
|
-
import { getDevice } from '../../shared/get-device';
|
|
5
|
-
import Modal from '../modal/modal-class';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend } from '../../shared/utils.js';
|
|
4
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
5
|
+
import Modal from '../modal/modal-class.js';
|
|
6
6
|
|
|
7
7
|
class Popover extends Modal {
|
|
8
8
|
constructor(app, params) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Popover from './popover-class';
|
|
4
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Popover from './popover-class.js';
|
|
4
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'popover',
|
|
7
7
|
params: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getWindow, getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, now, nextTick } from '../../shared/utils';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
6
|
-
import Modal from '../modal/modal-class';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, now, nextTick } from '../../shared/utils.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
|
+
import Modal from '../modal/modal-class.js';
|
|
7
7
|
|
|
8
8
|
class Popup extends Modal {
|
|
9
9
|
constructor(app, params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { bindMethods, iosPreloaderContent, mdPreloaderContent, auroraPreloaderContent } from '../../shared/utils';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { bindMethods, iosPreloaderContent, mdPreloaderContent, auroraPreloaderContent } from '../../shared/utils.js';
|
|
3
3
|
const Preloader = {
|
|
4
4
|
init(el) {
|
|
5
5
|
const app = this;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { deleteProps } from '../../shared/utils';
|
|
3
|
-
import Framework7Class from '../../shared/class';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { deleteProps } from '../../shared/utils.js';
|
|
3
|
+
import Framework7Class from '../../shared/class.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
6
|
|
|
7
7
|
class PullToRefresh extends Framework7Class {
|
|
8
8
|
constructor(app, el) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import PullToRefresh from './pull-to-refresh-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import PullToRefresh from './pull-to-refresh-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'pullToRefresh',
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, nextTick, deleteProps } from '../../shared/utils';
|
|
3
|
-
import Framework7Class from '../../shared/class';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend, nextTick, deleteProps } from '../../shared/utils.js';
|
|
3
|
+
import Framework7Class from '../../shared/class.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
5
|
|
|
6
6
|
class Range extends Framework7Class {
|
|
7
7
|
constructor(app, params) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Range from './range-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Range from './range-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'range',
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, nextTick, deleteProps } from '../../shared/utils';
|
|
4
|
-
import FrameworkClass from '../../shared/class';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
6
|
-
import removeDiacritics from './remove-diacritics';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, nextTick, deleteProps } from '../../shared/utils.js';
|
|
4
|
+
import FrameworkClass from '../../shared/class.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
|
+
import removeDiacritics from './remove-diacritics.js';
|
|
7
7
|
|
|
8
8
|
class Searchbar extends FrameworkClass {
|
|
9
9
|
constructor(app, params = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Searchbar from './searchbar-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Searchbar from './searchbar-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'searchbar',
|
|
7
7
|
static: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getWindow, getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, now, getTranslate } from '../../shared/utils';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
6
|
-
import Modal from '../modal/modal-class';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, now, getTranslate } from '../../shared/utils.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
|
+
import Modal from '../modal/modal-class.js';
|
|
7
7
|
|
|
8
8
|
class Sheet extends Modal {
|
|
9
9
|
constructor(app, params) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Sheet from './sheet-class';
|
|
4
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Sheet from './sheet-class.js';
|
|
4
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'sheet',
|
|
7
7
|
params: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, deleteProps, id, nextTick } from '../../shared/utils';
|
|
3
|
-
import Framework7Class from '../../shared/class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend, deleteProps, id, nextTick } from '../../shared/utils.js';
|
|
3
|
+
import Framework7Class from '../../shared/class.js';
|
|
4
4
|
/** @jsx $jsx */
|
|
5
5
|
|
|
6
|
-
import $jsx from '../../shared/$jsx';
|
|
6
|
+
import $jsx from '../../shared/$jsx.js';
|
|
7
7
|
|
|
8
8
|
class SmartSelect extends Framework7Class {
|
|
9
9
|
constructor(app, params = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import SmartSelect from './smart-select-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import SmartSelect from './smart-select-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'smartSelect',
|
|
7
7
|
params: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { bindMethods } from '../../shared/utils';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { bindMethods } from '../../shared/utils.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
5
|
const Sortable = {
|
|
6
6
|
init() {
|
|
7
7
|
const app = this;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getWindow } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { bindMethods } from '../../shared/utils';
|
|
4
|
-
import { getDevice } from '../../shared/get-device';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { bindMethods } from '../../shared/utils.js';
|
|
4
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
5
5
|
|
|
6
6
|
const isCapacitor = () => {
|
|
7
7
|
const window = getWindow();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, deleteProps } from '../../shared/utils';
|
|
3
|
-
import Framework7Class from '../../shared/class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend, deleteProps } from '../../shared/utils.js';
|
|
3
|
+
import Framework7Class from '../../shared/class.js';
|
|
4
4
|
|
|
5
5
|
class Stepper extends Framework7Class {
|
|
6
6
|
constructor(app, params) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Stepper from './stepper-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Stepper from './stepper-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'stepper',
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { nextFrame, bindMethods } from '../../shared/utils';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { nextFrame, bindMethods } from '../../shared/utils.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
5
|
const Swipeout = {
|
|
6
6
|
init() {
|
|
7
7
|
const app = this;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line
|
|
2
2
|
import Swiper from 'swiper/bundle';
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
function initSwiper(swiperEl) {
|
package/components/tabs/tabs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { getWindow, getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, deleteProps } from '../../shared/utils';
|
|
4
|
-
import Framework7Class from '../../shared/class';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, deleteProps } from '../../shared/utils.js';
|
|
4
|
+
import Framework7Class from '../../shared/class.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
6
|
const textEditorButtonsMap = {
|
|
7
7
|
// f7-icon, material-icon, command
|
|
8
8
|
bold: ['bold', 'format_bold', 'bold'],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import TextEditor from './text-editor-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import TextEditor from './text-editor-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'textEditor',
|
|
7
7
|
params: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { getWindow } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, nextTick } from '../../shared/utils';
|
|
4
|
-
import Modal from '../modal/modal-class';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, nextTick } from '../../shared/utils.js';
|
|
4
|
+
import Modal from '../modal/modal-class.js';
|
|
5
5
|
/** @jsx $jsx */
|
|
6
6
|
|
|
7
|
-
import $jsx from '../../shared/$jsx';
|
|
7
|
+
import $jsx from '../../shared/$jsx.js';
|
|
8
8
|
|
|
9
9
|
class Toast extends Modal {
|
|
10
10
|
constructor(app, params) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { extend } from '../../shared/utils';
|
|
2
|
-
import Toast from './toast-class';
|
|
3
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
1
|
+
import { extend } from '../../shared/utils.js';
|
|
2
|
+
import Toast from './toast-class.js';
|
|
3
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'toast',
|
|
6
6
|
static: {
|