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,5 +1,5 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { nextFrame, bindMethods } from '../../shared/utils';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { nextFrame, bindMethods } from '../../shared/utils.js';
|
|
3
3
|
const Accordion = {
|
|
4
4
|
toggleClicked($clickedEl) {
|
|
5
5
|
const app = this;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/* eslint indent: ["off"] */
|
|
2
2
|
import { getWindow, getDocument } from 'ssr-window';
|
|
3
|
-
import { getDevice } from '../../shared/get-device';
|
|
4
|
-
import { extend, nextTick } from '../../shared/utils';
|
|
5
|
-
import Modal from '../modal/modal-class';
|
|
6
|
-
import $ from '../../shared/dom7';
|
|
3
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
4
|
+
import { extend, nextTick } from '../../shared/utils.js';
|
|
5
|
+
import Modal from '../modal/modal-class.js';
|
|
6
|
+
import $ from '../../shared/dom7.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 Actions extends Modal {
|
|
12
12
|
constructor(app, params) {
|
|
@@ -145,7 +145,7 @@ interface Framework7 extends Framework7Class<Framework7Events> {
|
|
|
145
145
|
rtl: boolean;
|
|
146
146
|
/** Current app theme. Can be md, ios or aurora */
|
|
147
147
|
theme: string;
|
|
148
|
-
/** Indicates whether the dark
|
|
148
|
+
/** Indicates whether the dark mode active or not. This property has effect only when `autoDarkMode` enabled */
|
|
149
149
|
darkMode: boolean;
|
|
150
150
|
/** Object with app root data passed on intialization */
|
|
151
151
|
data: any;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable no-underscore-dangle */
|
|
2
2
|
import { getWindow, getDocument } from 'ssr-window';
|
|
3
|
-
import { extend, nextFrame } from '../../shared/utils';
|
|
4
|
-
import { getDevice } from '../../shared/get-device';
|
|
5
|
-
import { getSupport } from '../../shared/get-support';
|
|
6
|
-
import Framework7Class from '../../shared/class';
|
|
7
|
-
import EventsClass from '../../shared/events-class';
|
|
8
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
9
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
10
|
-
import $ from '../../shared/dom7';
|
|
11
|
-
import loadModule from './load-module';
|
|
3
|
+
import { extend, nextFrame } from '../../shared/utils.js';
|
|
4
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
5
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
6
|
+
import Framework7Class from '../../shared/class.js';
|
|
7
|
+
import EventsClass from '../../shared/events-class.js';
|
|
8
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
9
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
10
|
+
import $ from '../../shared/dom7.js';
|
|
11
|
+
import loadModule from './load-module.js';
|
|
12
12
|
|
|
13
13
|
class Framework7 extends Framework7Class {
|
|
14
14
|
constructor(params = {}) {
|
|
@@ -115,7 +115,7 @@ class Framework7 extends Framework7Class {
|
|
|
115
115
|
app.el = app.$el[0];
|
|
116
116
|
app.el.f7 = app;
|
|
117
117
|
app.rtl = $rootEl.css('direction') === 'rtl';
|
|
118
|
-
} // Auto Dark
|
|
118
|
+
} // Auto Dark Mode
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
const DARK = '(prefers-color-scheme: dark)';
|
|
@@ -217,7 +217,7 @@ class Framework7 extends Framework7Class {
|
|
|
217
217
|
|
|
218
218
|
if (app.rtl) {
|
|
219
219
|
$('html').attr('dir', 'rtl');
|
|
220
|
-
} // Auto Dark
|
|
220
|
+
} // Auto Dark Mode
|
|
221
221
|
|
|
222
222
|
|
|
223
223
|
if (app.params.autoDarkMode) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getWindow, getDocument } from 'ssr-window';
|
|
2
|
-
import { id } from '../../shared/utils';
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
2
|
+
import { id } from '../../shared/utils.js';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
4
|
const fetchedModules = [];
|
|
5
5
|
|
|
6
6
|
function loadModule(moduleToLoad) {
|
|
@@ -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 AreaChart extends Framework7Class {
|
|
9
9
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import AreaChart from './area-chart-class';
|
|
3
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import AreaChart from './area-chart-class.js';
|
|
3
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'areaChart',
|
|
6
6
|
params: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint "no-useless-escape": "off" */
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, id, nextTick, deleteProps, iosPreloaderContent, mdPreloaderContent, auroraPreloaderContent } from '../../shared/utils';
|
|
4
|
-
import { getDevice } from '../../shared/get-device';
|
|
5
|
-
import Framework7Class from '../../shared/class';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, id, nextTick, deleteProps, iosPreloaderContent, mdPreloaderContent, auroraPreloaderContent } from '../../shared/utils.js';
|
|
4
|
+
import { getDevice } from '../../shared/get-device.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 Autocomplete extends Framework7Class {
|
|
11
11
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { extend } from '../../shared/utils';
|
|
2
|
-
import Autocomplete from './autocomplete-class';
|
|
3
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import { extend } from '../../shared/utils.js';
|
|
2
|
+
import Autocomplete from './autocomplete-class.js';
|
|
3
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'autocomplete',
|
|
6
6
|
params: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { extend, nextTick, deleteProps } from '../../shared/utils';
|
|
2
|
-
import Framework7Class from '../../shared/class';
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
4
|
-
import { getDevice } from '../../shared/get-device';
|
|
5
|
-
import { getSupport } from '../../shared/get-support';
|
|
1
|
+
import { extend, nextTick, deleteProps } from '../../shared/utils.js';
|
|
2
|
+
import Framework7Class from '../../shared/class.js';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
5
|
+
import { getSupport } from '../../shared/get-support.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 Calendar extends Framework7Class {
|
|
11
11
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
2
|
-
import Calendar from './calendar-class';
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
1
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
2
|
+
import Calendar from './calendar-class.js';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'calendar',
|
|
6
6
|
static: {
|
package/components/card/card.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/* eslint no-param-reassign: "off" */
|
|
2
2
|
import { getDocument } from 'ssr-window';
|
|
3
|
-
import { bindMethods } from '../../shared/utils';
|
|
4
|
-
import { getSupport } from '../../shared/get-support';
|
|
5
|
-
import { getDevice } from '../../shared/get-device';
|
|
6
|
-
import $ from '../../shared/dom7';
|
|
3
|
+
import { bindMethods } from '../../shared/utils.js';
|
|
4
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
|
+
import $ from '../../shared/dom7.js';
|
|
7
7
|
const CardExpandable = {
|
|
8
8
|
open(cardEl = '.card-expandable', animate = true) {
|
|
9
9
|
const app = this;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { extend, colorRgbToHex, colorRgbToHsl, colorHslToHsb, colorHslToRgb, colorHsbToHsl, colorHexToRgb, nextTick, deleteProps } from '../../shared/utils';
|
|
2
|
-
import Framework7Class from '../../shared/class';
|
|
3
|
-
import $ from '../../shared/dom7';
|
|
4
|
-
import { getDevice } from '../../shared/get-device';
|
|
5
|
-
import moduleAlphaSlider from './modules/alpha-slider';
|
|
6
|
-
import moduleCurrentColor from './modules/current-color';
|
|
7
|
-
import moduleHex from './modules/hex';
|
|
8
|
-
import moduleHsbSliders from './modules/hsb-sliders';
|
|
9
|
-
import moduleHueSlider from './modules/hue-slider';
|
|
10
|
-
import moduleBrightnessSlider from './modules/brightness-slider';
|
|
11
|
-
import modulePalette from './modules/palette';
|
|
12
|
-
import moduleInitialCurrentColors from './modules/initial-current-colors';
|
|
13
|
-
import moduleRgbBars from './modules/rgb-bars';
|
|
14
|
-
import moduleRgbSliders from './modules/rgb-sliders';
|
|
15
|
-
import moduleSbSpectrum from './modules/sb-spectrum';
|
|
16
|
-
import moduleHsSpectrum from './modules/hs-spectrum';
|
|
17
|
-
import moduleWheel from './modules/wheel';
|
|
1
|
+
import { extend, colorRgbToHex, colorRgbToHsl, colorHslToHsb, colorHslToRgb, colorHsbToHsl, colorHexToRgb, nextTick, deleteProps } from '../../shared/utils.js';
|
|
2
|
+
import Framework7Class from '../../shared/class.js';
|
|
3
|
+
import $ from '../../shared/dom7.js';
|
|
4
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
5
|
+
import moduleAlphaSlider from './modules/alpha-slider.js';
|
|
6
|
+
import moduleCurrentColor from './modules/current-color.js';
|
|
7
|
+
import moduleHex from './modules/hex.js';
|
|
8
|
+
import moduleHsbSliders from './modules/hsb-sliders.js';
|
|
9
|
+
import moduleHueSlider from './modules/hue-slider.js';
|
|
10
|
+
import moduleBrightnessSlider from './modules/brightness-slider.js';
|
|
11
|
+
import modulePalette from './modules/palette.js';
|
|
12
|
+
import moduleInitialCurrentColors from './modules/initial-current-colors.js';
|
|
13
|
+
import moduleRgbBars from './modules/rgb-bars.js';
|
|
14
|
+
import moduleRgbSliders from './modules/rgb-sliders.js';
|
|
15
|
+
import moduleSbSpectrum from './modules/sb-spectrum.js';
|
|
16
|
+
import moduleHsSpectrum from './modules/hs-spectrum.js';
|
|
17
|
+
import moduleWheel from './modules/wheel.js';
|
|
18
18
|
/** @jsx $jsx */
|
|
19
19
|
|
|
20
|
-
import $jsx from '../../shared/$jsx';
|
|
20
|
+
import $jsx from '../../shared/$jsx.js';
|
|
21
21
|
|
|
22
22
|
class ColorPicker extends Framework7Class {
|
|
23
23
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
3
|
-
import ColorPicker from './color-picker-class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
3
|
+
import ColorPicker from './color-picker-class.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'colorPicker',
|
|
6
6
|
static: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { colorHsbToHsl } from '../../../shared/utils';
|
|
1
|
+
import { colorHsbToHsl } from '../../../shared/utils.js';
|
|
2
2
|
/** @jsx $jsx */
|
|
3
3
|
|
|
4
|
-
import $jsx from '../../../shared/$jsx';
|
|
4
|
+
import $jsx from '../../../shared/$jsx.js';
|
|
5
5
|
export default {
|
|
6
6
|
render(self) {
|
|
7
7
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import $ from '../../../shared/dom7';
|
|
2
|
-
import { colorHsbToHsl } from '../../../shared/utils';
|
|
3
|
-
import { getSupport } from '../../../shared/get-support';
|
|
1
|
+
import $ from '../../../shared/dom7.js';
|
|
2
|
+
import { colorHsbToHsl } from '../../../shared/utils.js';
|
|
3
|
+
import { getSupport } from '../../../shared/get-support.js';
|
|
4
4
|
/** @jsx $jsx */
|
|
5
5
|
|
|
6
|
-
import $jsx from '../../../shared/$jsx';
|
|
6
|
+
import $jsx from '../../../shared/$jsx.js';
|
|
7
7
|
export default {
|
|
8
8
|
render() {
|
|
9
9
|
return $jsx("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import $ from '../../../shared/dom7';
|
|
2
|
-
import { colorHsbToHsl } from '../../../shared/utils';
|
|
1
|
+
import $ from '../../../shared/dom7.js';
|
|
2
|
+
import { colorHsbToHsl } from '../../../shared/utils.js';
|
|
3
3
|
/** @jsx $jsx */
|
|
4
4
|
|
|
5
|
-
import $jsx from '../../../shared/$jsx';
|
|
5
|
+
import $jsx from '../../../shared/$jsx.js';
|
|
6
6
|
export default {
|
|
7
7
|
render(self) {
|
|
8
8
|
const {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint indent: ["off"] */
|
|
2
|
-
import $ from '../../../shared/dom7';
|
|
2
|
+
import $ from '../../../shared/dom7.js';
|
|
3
3
|
/** @jsx $jsx */
|
|
4
4
|
|
|
5
|
-
import $jsx from '../../../shared/$jsx';
|
|
5
|
+
import $jsx from '../../../shared/$jsx.js';
|
|
6
6
|
export default {
|
|
7
7
|
render(self) {
|
|
8
8
|
return $jsx("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import $ from '../../../shared/dom7';
|
|
2
|
-
import { getSupport } from '../../../shared/get-support';
|
|
1
|
+
import $ from '../../../shared/dom7.js';
|
|
2
|
+
import { getSupport } from '../../../shared/get-support.js';
|
|
3
3
|
/** @jsx $jsx */
|
|
4
4
|
|
|
5
|
-
import $jsx from '../../../shared/$jsx';
|
|
5
|
+
import $jsx from '../../../shared/$jsx.js';
|
|
6
6
|
export default {
|
|
7
7
|
render() {
|
|
8
8
|
return $jsx("div", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import $ from '../../../shared/dom7';
|
|
2
|
-
import { getSupport } from '../../../shared/get-support';
|
|
1
|
+
import $ from '../../../shared/dom7.js';
|
|
2
|
+
import { getSupport } from '../../../shared/get-support.js';
|
|
3
3
|
/** @jsx $jsx */
|
|
4
4
|
|
|
5
|
-
import $jsx from '../../../shared/$jsx';
|
|
5
|
+
import $jsx from '../../../shared/$jsx.js';
|
|
6
6
|
|
|
7
7
|
function svgWheelCircles() {
|
|
8
8
|
const total = 256;
|
|
@@ -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 DataTable extends Framework7Class {
|
|
6
6
|
constructor(app, params = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import DataTable from './data-table-class';
|
|
3
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import DataTable from './data-table-class.js';
|
|
3
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'dataTable',
|
|
6
6
|
static: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { 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
|
/** @jsx $jsx */
|
|
7
7
|
|
|
8
|
-
import $jsx from '../../shared/$jsx';
|
|
8
|
+
import $jsx from '../../shared/$jsx.js';
|
|
9
9
|
|
|
10
10
|
class Dialog extends Modal {
|
|
11
11
|
constructor(app, params) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { extend, iosPreloaderContent, mdPreloaderContent, auroraPreloaderContent } from '../../shared/utils';
|
|
2
|
-
import Dialog from './dialog-class';
|
|
3
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
1
|
+
import { extend, iosPreloaderContent, mdPreloaderContent, auroraPreloaderContent } from '../../shared/utils.js';
|
|
2
|
+
import Dialog from './dialog-class.js';
|
|
3
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
4
4
|
export default {
|
|
5
5
|
name: 'dialog',
|
|
6
6
|
params: {
|
package/components/fab/fab.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { bindMethods, getTranslate, nextFrame } from '../../shared/utils';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { bindMethods, getTranslate, nextFrame } from '../../shared/utils.js';
|
|
3
3
|
const Fab = {
|
|
4
4
|
morphOpen(fabEl, targetEl) {
|
|
5
5
|
const app = this;
|
package/components/form/form.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getWindow, getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend, serializeObject } from '../../shared/utils'; // Form Data
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend, serializeObject } from '../../shared/utils.js'; // Form Data
|
|
4
4
|
|
|
5
5
|
const FormData = {
|
|
6
6
|
store(form, data) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* eslint no-nested-ternary: off */
|
|
2
2
|
import { getDocument } from 'ssr-window';
|
|
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 Gauge extends Framework7Class {
|
|
11
11
|
constructor(app, params = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import Gauge from './gauge-class';
|
|
3
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
4
|
-
import { extend } from '../../shared/utils';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import Gauge from './gauge-class.js';
|
|
3
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
4
|
+
import { extend } from '../../shared/utils.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'gauge',
|
|
7
7
|
static: {
|
package/components/grid/grid.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getDocument } from 'ssr-window';
|
|
2
|
-
import $ from '../../shared/dom7';
|
|
3
|
-
import { extend } from '../../shared/utils';
|
|
2
|
+
import $ from '../../shared/dom7.js';
|
|
3
|
+
import { extend } from '../../shared/utils.js';
|
|
4
4
|
|
|
5
5
|
function getElMinSize(dimension, $el) {
|
|
6
6
|
let minSize = $el.css(`min-${dimension}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getWindow, getDocument } 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
|
const Input = {
|
|
6
6
|
ignoreTypes: ['checkbox', 'button', 'submit', 'range', 'radio', 'image'],
|
|
7
7
|
|
package/components/lazy/lazy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getWindow } 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 Lazy = {
|
|
6
6
|
destroy(pageEl) {
|
|
7
7
|
const $pageEl = $(pageEl).closest('.page');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend, 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, 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 ListIndex extends Framework7Class {
|
|
7
7
|
constructor(app, params = {}) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import ListIndex from './list-index-class';
|
|
4
|
-
import ConstructorMethods from '../../shared/constructor-methods';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import ListIndex from './list-index-class.js';
|
|
4
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
5
5
|
export default {
|
|
6
6
|
name: 'listIndex',
|
|
7
7
|
static: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import $ from '../../shared/dom7';
|
|
2
|
-
import { extend } from '../../shared/utils';
|
|
3
|
-
import Modal from '../modal/modal-class';
|
|
1
|
+
import $ from '../../shared/dom7.js';
|
|
2
|
+
import { extend } from '../../shared/utils.js';
|
|
3
|
+
import Modal from '../modal/modal-class.js';
|
|
4
4
|
|
|
5
5
|
class LoginScreen extends Modal {
|
|
6
6
|
constructor(app, params) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import LoginScreen from './login-screen-class';
|
|
2
|
-
import ModalMethods from '../../shared/modal-methods';
|
|
1
|
+
import LoginScreen from './login-screen-class.js';
|
|
2
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
3
3
|
export default {
|
|
4
4
|
name: 'loginScreen',
|
|
5
5
|
static: {
|
package/components/menu/menu.js
CHANGED
|
@@ -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 Messagebar extends Framework7Class {
|
|
6
6
|
constructor(app, params = {}) {
|