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.
Files changed (170) hide show
  1. package/components/accordion/accordion.js +2 -2
  2. package/components/actions/actions-class.js +5 -5
  3. package/components/actions/actions.js +2 -2
  4. package/components/app/app-class.d.ts +1 -1
  5. package/components/app/app-class.js +11 -11
  6. package/components/app/load-module.js +2 -2
  7. package/components/area-chart/area-chart-class.js +4 -4
  8. package/components/area-chart/area-chart.js +3 -3
  9. package/components/autocomplete/autocomplete-class.js +5 -5
  10. package/components/autocomplete/autocomplete.js +3 -3
  11. package/components/calendar/calendar-class.js +6 -6
  12. package/components/calendar/calendar.js +3 -3
  13. package/components/card/card.js +4 -4
  14. package/components/color-picker/color-picker-class.js +18 -18
  15. package/components/color-picker/color-picker.js +3 -3
  16. package/components/color-picker/modules/alpha-slider.js +1 -1
  17. package/components/color-picker/modules/brightness-slider.js +2 -2
  18. package/components/color-picker/modules/current-color.js +1 -1
  19. package/components/color-picker/modules/hex.js +1 -1
  20. package/components/color-picker/modules/hs-spectrum.js +4 -4
  21. package/components/color-picker/modules/hsb-sliders.js +3 -3
  22. package/components/color-picker/modules/hue-slider.js +1 -1
  23. package/components/color-picker/modules/initial-current-colors.js +1 -1
  24. package/components/color-picker/modules/palette.js +2 -2
  25. package/components/color-picker/modules/rgb-bars.js +2 -2
  26. package/components/color-picker/modules/rgb-sliders.js +2 -2
  27. package/components/color-picker/modules/sb-spectrum.js +3 -3
  28. package/components/color-picker/modules/wheel.js +3 -3
  29. package/components/data-table/data-table-class.js +3 -3
  30. package/components/data-table/data-table.js +3 -3
  31. package/components/dialog/dialog-class.js +5 -5
  32. package/components/dialog/dialog.js +3 -3
  33. package/components/fab/fab.js +2 -2
  34. package/components/form/form.js +2 -2
  35. package/components/gauge/gauge-class.js +4 -4
  36. package/components/gauge/gauge.js +4 -4
  37. package/components/grid/grid.js +2 -2
  38. package/components/infinite-scroll/infinite-scroll.js +2 -2
  39. package/components/input/input.js +3 -3
  40. package/components/lazy/lazy.js +3 -3
  41. package/components/list-index/list-index-class.js +4 -4
  42. package/components/list-index/list-index.js +4 -4
  43. package/components/login-screen/login-screen-class.js +3 -3
  44. package/components/login-screen/login-screen.js +2 -2
  45. package/components/menu/menu.js +2 -2
  46. package/components/messagebar/messagebar-class.js +3 -3
  47. package/components/messagebar/messagebar.js +4 -4
  48. package/components/messages/messages-class.js +4 -4
  49. package/components/messages/messages.js +3 -3
  50. package/components/modal/custom-modal-class.js +3 -3
  51. package/components/modal/modal-class.js +3 -3
  52. package/components/modal/modal.js +2 -2
  53. package/components/navbar/navbar.js +3 -3
  54. package/components/notification/notification-class.js +4 -4
  55. package/components/notification/notification.js +3 -3
  56. package/components/panel/panel-class.js +5 -5
  57. package/components/panel/panel.js +3 -3
  58. package/components/panel/resizable-panel.js +3 -3
  59. package/components/panel/swipe-panel.js +2 -2
  60. package/components/photo-browser/photo-browser-class.js +4 -4
  61. package/components/photo-browser/photo-browser.js +2 -2
  62. package/components/picker/picker-class.js +6 -6
  63. package/components/picker/picker-column.js +3 -3
  64. package/components/picker/picker.js +3 -3
  65. package/components/pie-chart/pie-chart-class.js +4 -4
  66. package/components/pie-chart/pie-chart.js +3 -3
  67. package/components/popover/popover-class.js +4 -4
  68. package/components/popover/popover.js +4 -4
  69. package/components/popup/popup-class.js +5 -5
  70. package/components/popup/popup.js +2 -2
  71. package/components/preloader/preloader.js +2 -2
  72. package/components/progressbar/progressbar.js +2 -2
  73. package/components/pull-to-refresh/pull-to-refresh-class.js +5 -5
  74. package/components/pull-to-refresh/pull-to-refresh.js +4 -4
  75. package/components/range/range-class.js +4 -4
  76. package/components/range/range.js +4 -4
  77. package/components/searchbar/searchbar-class.js +5 -5
  78. package/components/searchbar/searchbar.js +4 -4
  79. package/components/sheet/sheet-class.js +5 -5
  80. package/components/sheet/sheet.js +4 -4
  81. package/components/smart-select/smart-select-class.js +4 -4
  82. package/components/smart-select/smart-select.js +4 -4
  83. package/components/sortable/sortable.js +3 -3
  84. package/components/statusbar/statusbar.js +3 -3
  85. package/components/stepper/stepper-class.js +3 -3
  86. package/components/stepper/stepper.js +4 -4
  87. package/components/subnavbar/subnavbar.js +1 -1
  88. package/components/swipeout/swipeout.js +3 -3
  89. package/components/swiper/swiper.js +2 -2
  90. package/components/tabs/tabs.js +2 -2
  91. package/components/text-editor/text-editor-class.js +4 -4
  92. package/components/text-editor/text-editor.js +4 -4
  93. package/components/toast/toast-class.js +4 -4
  94. package/components/toast/toast.js +3 -3
  95. package/components/toggle/toggle-class.js +4 -4
  96. package/components/toggle/toggle.js +3 -3
  97. package/components/toolbar/toolbar.js +2 -2
  98. package/components/tooltip/tooltip-class.js +4 -4
  99. package/components/tooltip/tooltip.js +3 -3
  100. package/components/touch-ripple/touch-ripple-class.js +1 -1
  101. package/components/touch-ripple/touch-ripple.js +1 -1
  102. package/components/treeview/treeview.js +2 -2
  103. package/components/view/resizable-view.js +3 -3
  104. package/components/view/view-class.js +5 -5
  105. package/components/view/view.js +3 -3
  106. package/components/virtual-list/virtual-list-class.js +4 -4
  107. package/components/virtual-list/virtual-list.js +2 -2
  108. package/framework7-bundle-rtl.css +2 -2
  109. package/framework7-bundle-rtl.min.css +2 -2
  110. package/framework7-bundle.css +2 -2
  111. package/framework7-bundle.esm.js +84 -84
  112. package/framework7-bundle.js +4 -4
  113. package/framework7-bundle.js.map +1 -1
  114. package/framework7-bundle.less +2 -2
  115. package/framework7-bundle.min.css +2 -2
  116. package/framework7-bundle.min.js +2 -2
  117. package/framework7-bundle.min.js.map +1 -1
  118. package/framework7-lite-bundle.esm.js +78 -78
  119. package/framework7-lite.esm.js +26 -26
  120. package/framework7-rtl.css +2 -2
  121. package/framework7-rtl.min.css +2 -2
  122. package/framework7.css +2 -2
  123. package/framework7.esm.js +29 -29
  124. package/framework7.js +4 -4
  125. package/framework7.js.map +1 -1
  126. package/framework7.less +2 -2
  127. package/framework7.min.css +2 -2
  128. package/framework7.min.js +2 -2
  129. package/framework7.min.js.map +1 -1
  130. package/modules/clicks/clicks.js +2 -2
  131. package/modules/component/$h.js +1 -1
  132. package/modules/component/$jsx.js +1 -1
  133. package/modules/component/component-class.js +5 -5
  134. package/modules/component/component.js +4 -4
  135. package/modules/component/eventslisteners.js +1 -1
  136. package/modules/component/parse-component.js +2 -2
  137. package/modules/component/patch.js +5 -5
  138. package/modules/component/snabbdom/h.js +1 -1
  139. package/modules/component/snabbdom/snabbdom.bundle.js +7 -7
  140. package/modules/component/snabbdom/snabbdom.js +3 -3
  141. package/modules/component/snabbdom/thunk.js +1 -1
  142. package/modules/component/snabbdom/tovnode.js +2 -2
  143. package/modules/component/vdom.js +3 -3
  144. package/modules/device/device.js +1 -1
  145. package/modules/history/history.js +1 -1
  146. package/modules/request/request.js +1 -1
  147. package/modules/resize/resize.js +1 -1
  148. package/modules/router/back.js +8 -8
  149. package/modules/router/clear-previous-history.js +2 -2
  150. package/modules/router/component-loader.js +1 -1
  151. package/modules/router/modal.js +3 -3
  152. package/modules/router/navigate.js +7 -7
  153. package/modules/router/redirect.js +1 -1
  154. package/modules/router/router-class.js +11 -11
  155. package/modules/router/router.js +1 -1
  156. package/modules/router/swipe-back.js +5 -5
  157. package/modules/router/tab.js +4 -4
  158. package/modules/service-worker/service-worker.js +1 -1
  159. package/modules/store/create-store.js +1 -1
  160. package/modules/store/store.js +1 -1
  161. package/modules/support/support.js +1 -1
  162. package/modules/touch/touch.js +4 -4
  163. package/modules/utils/utils.js +1 -1
  164. package/package.json +1 -1
  165. package/shared/class.js +2 -2
  166. package/shared/constructor-methods.js +1 -1
  167. package/shared/get-device.js +1 -1
  168. package/shared/history.js +2 -2
  169. package/shared/modal-methods.js +3 -3
  170. 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) {
@@ -1,5 +1,5 @@
1
- import Actions from './actions-class';
2
- import ModalMethods from '../../shared/modal-methods';
1
+ import Actions from './actions-class.js';
2
+ import ModalMethods from '../../shared/modal-methods.js';
3
3
  export default {
4
4
  name: 'actions',
5
5
  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 theme active or not. This property has effect only when `autoDarkMode` enabled */
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 Theme
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 Theme
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: {
@@ -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,5 +1,5 @@
1
1
  /** @jsx $jsx */
2
- import $jsx from '../../../shared/$jsx';
2
+ import $jsx from '../../../shared/$jsx.js';
3
3
  export default {
4
4
  render(self) {
5
5
  const {
@@ -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,5 +1,5 @@
1
1
  /** @jsx $jsx */
2
- import $jsx from '../../../shared/$jsx';
2
+ import $jsx from '../../../shared/$jsx.js';
3
3
  export default {
4
4
  render() {
5
5
  return $jsx("div", {
@@ -1,5 +1,5 @@
1
1
  /** @jsx $jsx */
2
- import $jsx from '../../../shared/$jsx';
2
+ import $jsx from '../../../shared/$jsx.js';
3
3
  export default {
4
4
  render(self) {
5
5
  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,5 +1,5 @@
1
1
  /** @jsx $jsx */
2
- import $jsx from '../../../shared/$jsx';
2
+ import $jsx from '../../../shared/$jsx.js';
3
3
  export default {
4
4
  render(self) {
5
5
  const {
@@ -1,5 +1,5 @@
1
1
  /** @jsx $jsx */
2
- import $jsx from '../../../shared/$jsx';
2
+ import $jsx from '../../../shared/$jsx.js';
3
3
  export default {
4
4
  render() {
5
5
  return $jsx("div", {
@@ -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,7 +1,7 @@
1
- import $ from '../../../shared/dom7';
1
+ import $ from '../../../shared/dom7.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,7 +1,7 @@
1
- import $ from '../../../shared/dom7';
1
+ import $ from '../../../shared/dom7.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,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: {
@@ -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;
@@ -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: {
@@ -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,5 +1,5 @@
1
- import $ from '../../shared/dom7';
2
- import { bindMethods } from '../../shared/utils';
1
+ import $ from '../../shared/dom7.js';
2
+ import { bindMethods } from '../../shared/utils.js';
3
3
  const InfiniteScroll = {
4
4
  handle(el, e) {
5
5
  const app = this;
@@ -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
 
@@ -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: {
@@ -1,5 +1,5 @@
1
- import $ from '../../shared/dom7';
2
- import { bindMethods } from '../../shared/utils';
1
+ import $ from '../../shared/dom7.js';
2
+ import { bindMethods } from '../../shared/utils.js';
3
3
  const Menu = {
4
4
  open(el = '.menu-item-dropdown') {
5
5
  const app = this;
@@ -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 = {}) {