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,6 +1,6 @@
1
1
  import { getWindow } from 'ssr-window';
2
- import $ from '../../shared/dom7';
3
- import ViewClass from '../../components/view/view-class';
2
+ import $ from '../../shared/dom7.js';
3
+ import ViewClass from '../../components/view/view-class.js';
4
4
 
5
5
  function initClicks(app) {
6
6
  function handleClicks(e) {
@@ -1,5 +1,5 @@
1
1
  import htm from 'htm';
2
- import { flattenArray } from '../../shared/utils';
2
+ import { flattenArray } from '../../shared/utils.js';
3
3
  const ignoreChildren = [false, null, '', undefined];
4
4
 
5
5
  const h = (type, props, ...children) => {
@@ -1,4 +1,4 @@
1
- import { flattenArray } from '../../shared/utils';
1
+ import { flattenArray } from '../../shared/utils.js';
2
2
  const ignoreChildren = [false, null, '', undefined];
3
3
 
4
4
  const $jsx = (type, props, ...children) => {
@@ -1,10 +1,10 @@
1
1
  /* eslint no-underscore-dangle: "off" */
2
2
  import { getWindow, getDocument } from 'ssr-window';
3
- import $ from '../../shared/dom7';
4
- import $h from './$h';
5
- import { id as generateId, merge, eventNameToColonCase, deleteProps } from '../../shared/utils';
6
- import vdom from './vdom';
7
- import patch from './patch';
3
+ import $ from '../../shared/dom7.js';
4
+ import $h from './$h.js';
5
+ import { id as generateId, merge, eventNameToColonCase, deleteProps } from '../../shared/utils.js';
6
+ import vdom from './vdom.js';
7
+ import patch from './patch.js';
8
8
 
9
9
  class Component {
10
10
  constructor(app, component, props = {}, {
@@ -1,7 +1,7 @@
1
- import Component from './component-class';
2
- import parseComponent from './parse-component';
3
- import customComponents from './custom-components';
4
- import $jsx from './$jsx';
1
+ import Component from './component-class.js';
2
+ import parseComponent from './parse-component.js';
3
+ import customComponents from './custom-components.js';
4
+ import $jsx from './$jsx.js';
5
5
 
6
6
  function registerComponent(tagName, component) {
7
7
  customComponents[tagName] = component;
@@ -1,4 +1,4 @@
1
- import $ from '../../shared/dom7';
1
+ import $ from '../../shared/dom7.js';
2
2
 
3
3
  function invokeHandler(handler, event, args) {
4
4
  if (typeof handler === 'function') {
@@ -1,6 +1,6 @@
1
1
  import { getWindow, getDocument } from 'ssr-window';
2
- import $ from '../../shared/dom7';
3
- import { id } from '../../shared/utils';
2
+ import $ from '../../shared/dom7.js';
3
+ import { id } from '../../shared/utils.js';
4
4
 
5
5
  function parseComponent(componentString) {
6
6
  const window = getWindow();
@@ -1,8 +1,8 @@
1
1
  /* eslint import/no-named-as-default: off */
2
- import { init } from './snabbdom/snabbdom';
3
- import attributesModule from './snabbdom/modules/attributes';
4
- import propsModule from './snabbdom/modules/props';
5
- import styleModule from './snabbdom/modules/style';
6
- import eventListenersModule from './eventslisteners';
2
+ import { init } from './snabbdom/snabbdom.js';
3
+ import attributesModule from './snabbdom/modules/attributes.js';
4
+ import propsModule from './snabbdom/modules/props.js';
5
+ import styleModule from './snabbdom/modules/style.js';
6
+ import eventListenersModule from './eventslisteners.js';
7
7
  const patch = init([attributesModule, propsModule, styleModule, eventListenersModule]);
8
8
  export default patch;
@@ -1,4 +1,4 @@
1
- import { vnode } from './vnode';
1
+ import { vnode } from './vnode.js';
2
2
  import * as is from './is';
3
3
 
4
4
  function addNS(data, children, sel) {
@@ -1,15 +1,15 @@
1
- import { init } from './snabbdom';
2
- import { attributesModule } from './modules/attributes'; // for setting attributes on DOM elements
1
+ import { init } from './snabbdom.js';
2
+ import { attributesModule } from './modules/attributes.js'; // for setting attributes on DOM elements
3
3
 
4
- import { classModule } from './modules/class'; // makes it easy to toggle classes
4
+ import { classModule } from './modules/class.js'; // makes it easy to toggle classes
5
5
 
6
- import { propsModule } from './modules/props'; // for setting properties on DOM elements
6
+ import { propsModule } from './modules/props.js'; // for setting properties on DOM elements
7
7
 
8
- import { styleModule } from './modules/style'; // handles styling on elements with support for animations
8
+ import { styleModule } from './modules/style.js'; // handles styling on elements with support for animations
9
9
 
10
- import { eventListenersModule } from './modules/eventlisteners'; // attaches event listeners
10
+ import { eventListenersModule } from './modules/eventlisteners.js'; // attaches event listeners
11
11
 
12
- import { h } from './h'; // helper function for creating vnodes
12
+ import { h } from './h.js'; // helper function for creating vnodes
13
13
 
14
14
  var patch = init([attributesModule, classModule, propsModule, styleModule, eventListenersModule]);
15
15
  export var snabbdomBundle = {
@@ -1,6 +1,6 @@
1
- import vnode from './vnode';
2
- import * as is from './is';
3
- import htmlDomApi from './htmldomapi';
1
+ import vnode from './vnode.js';
2
+ import * as is from './is.js';
3
+ import htmlDomApi from './htmldomapi.js';
4
4
 
5
5
  function isUndef(s) {
6
6
  return s === undefined;
@@ -1,4 +1,4 @@
1
- import { h } from './h';
1
+ import { h } from './h.js';
2
2
 
3
3
  function copyToThunk(vnode, thunk) {
4
4
  thunk.elm = vnode.elm;
@@ -1,5 +1,5 @@
1
- import vnode from './vnode';
2
- import htmlDomApi from './htmldomapi';
1
+ import vnode from './vnode.js';
2
+ import htmlDomApi from './htmldomapi.js';
3
3
  export function toVNode(node, domApi) {
4
4
  var api = domApi !== undefined ? domApi : htmlDomApi;
5
5
  var text;
@@ -1,9 +1,9 @@
1
1
  /* eslint no-use-before-define: "off" */
2
2
 
3
3
  /* eslint import/no-named-as-default: "off" */
4
- import h from './snabbdom/h';
5
- import customComponents from './custom-components';
6
- import { isObject, eventNameToColonCase } from '../../shared/utils';
4
+ import h from './snabbdom/h.js';
5
+ import customComponents from './custom-components.js';
6
+ import { isObject, eventNameToColonCase } from '../../shared/utils.js';
7
7
  const SELF_CLOSING = 'area base br col command embed hr img input keygen link menuitem meta param source track wbr'.split(' ');
8
8
  const PROPS_ATTRS = 'hidden checked disabled readonly selected autofocus autoplay required multiple value indeterminate routeProps innerHTML'.split(' ');
9
9
  const BOOLEAN_PROPS = 'hidden checked disabled readonly selected autofocus autoplay required multiple readOnly indeterminate'.split(' ');
@@ -1,5 +1,5 @@
1
1
  import { getDocument } from 'ssr-window';
2
- import { getDevice } from '../../shared/get-device';
2
+ import { getDevice } from '../../shared/get-device.js';
3
3
  export default {
4
4
  name: 'device',
5
5
  static: {
@@ -1,4 +1,4 @@
1
- import History from '../../shared/history';
1
+ import History from '../../shared/history.js';
2
2
  export default {
3
3
  name: 'history',
4
4
  static: {
@@ -1,5 +1,5 @@
1
1
  /* eslint no-param-reassign: "off" */
2
- import request from '../../shared/request';
2
+ import request from '../../shared/request.js';
3
3
  export default {
4
4
  name: 'request',
5
5
  proto: {
@@ -1,5 +1,5 @@
1
1
  import { getWindow, getDocument } from 'ssr-window';
2
- import { getDevice } from '../../shared/get-device';
2
+ import { getDevice } from '../../shared/get-device.js';
3
3
  export default {
4
4
  name: 'resize',
5
5
 
@@ -1,12 +1,12 @@
1
1
  import { getDocument } from 'ssr-window';
2
- import $ from '../../shared/dom7';
3
- import { extend, parseUrlQuery } from '../../shared/utils';
4
- import { getDevice } from '../../shared/get-device';
5
- import History from '../../shared/history';
6
- import redirect from './redirect';
7
- import processRouteQueue from './process-route-queue';
8
- import appRouterCheck from './app-router-check';
9
- import asyncComponent from './async-component';
2
+ import $ from '../../shared/dom7.js';
3
+ import { extend, parseUrlQuery } from '../../shared/utils.js';
4
+ import { getDevice } from '../../shared/get-device.js';
5
+ import History from '../../shared/history.js';
6
+ import redirect from './redirect.js';
7
+ import processRouteQueue from './process-route-queue.js';
8
+ import appRouterCheck from './app-router-check.js';
9
+ import asyncComponent from './async-component.js';
10
10
 
11
11
  function backward(router, el, backwardOptions) {
12
12
  const device = getDevice();
@@ -1,5 +1,5 @@
1
- import $ from '../../shared/dom7';
2
- import appRouterCheck from './app-router-check';
1
+ import $ from '../../shared/dom7.js';
2
+ import appRouterCheck from './app-router-check.js';
3
3
 
4
4
  function clearPreviousPages(router) {
5
5
  appRouterCheck(router, 'clearPreviousPages');
@@ -1,4 +1,4 @@
1
- import { merge } from '../../shared/utils';
1
+ import { merge } from '../../shared/utils.js';
2
2
  export default {
3
3
  name: 'routerComponentLoader',
4
4
  proto: {
@@ -1,6 +1,6 @@
1
- import { extend, nextTick } from '../../shared/utils';
2
- import History from '../../shared/history';
3
- import asyncComponent from './async-component';
1
+ import { extend, nextTick } from '../../shared/utils.js';
2
+ import History from '../../shared/history.js';
3
+ import asyncComponent from './async-component.js';
4
4
 
5
5
  function modalLoad(modalType, route, loadOptions = {}, direction) {
6
6
  const router = this;
@@ -1,11 +1,11 @@
1
1
  import { getDocument } from 'ssr-window';
2
- import $ from '../../shared/dom7';
3
- import { extend, parseUrlQuery } from '../../shared/utils';
4
- import History from '../../shared/history';
5
- import redirect from './redirect';
6
- import processRouteQueue from './process-route-queue';
7
- import appRouterCheck from './app-router-check';
8
- import asyncComponent from './async-component';
2
+ import $ from '../../shared/dom7.js';
3
+ import { extend, parseUrlQuery } from '../../shared/utils.js';
4
+ import History from '../../shared/history.js';
5
+ import redirect from './redirect.js';
6
+ import processRouteQueue from './process-route-queue.js';
7
+ import appRouterCheck from './app-router-check.js';
8
+ import asyncComponent from './async-component.js';
9
9
 
10
10
  function refreshPage() {
11
11
  const router = this;
@@ -1,4 +1,4 @@
1
- import { extend } from '../../shared/utils';
1
+ import { extend } from '../../shared/utils.js';
2
2
  export default function redirect(direction, route, options) {
3
3
  const router = this;
4
4
  const r = route.route.redirect;
@@ -1,16 +1,16 @@
1
1
  import { getWindow, getDocument } from 'ssr-window';
2
2
  import { pathToRegexp, compile } from 'path-to-regexp';
3
- import $ from '../../shared/dom7';
4
- import Framework7Class from '../../shared/class';
5
- import { extend, nextFrame, parseUrlQuery, serializeObject, now, eventNameToColonCase } from '../../shared/utils';
6
- import History from '../../shared/history';
7
- import SwipeBack from './swipe-back';
8
- import { refreshPage, navigate } from './navigate';
9
- import { tabLoad, tabRemove } from './tab';
10
- import { modalLoad, modalRemove } from './modal';
11
- import { back } from './back';
12
- import { clearPreviousHistory } from './clear-previous-history';
13
- import appRouterCheck from './app-router-check';
3
+ import $ from '../../shared/dom7.js';
4
+ import Framework7Class from '../../shared/class.js';
5
+ import { extend, nextFrame, parseUrlQuery, serializeObject, now, eventNameToColonCase } from '../../shared/utils.js';
6
+ import History from '../../shared/history.js';
7
+ import SwipeBack from './swipe-back.js';
8
+ import { refreshPage, navigate } from './navigate.js';
9
+ import { tabLoad, tabRemove } from './tab.js';
10
+ import { modalLoad, modalRemove } from './modal.js';
11
+ import { back } from './back.js';
12
+ import { clearPreviousHistory } from './clear-previous-history.js';
13
+ import appRouterCheck from './app-router-check.js';
14
14
 
15
15
  class Router extends Framework7Class {
16
16
  constructor(app, view) {
@@ -1,4 +1,4 @@
1
- import Router from './router-class';
1
+ import Router from './router-class.js';
2
2
  export default {
3
3
  name: 'router',
4
4
  static: {
@@ -1,8 +1,8 @@
1
- import $ from '../../shared/dom7';
2
- import History from '../../shared/history';
3
- import { getSupport } from '../../shared/get-support';
4
- import { getDevice } from '../../shared/get-device';
5
- import { now } from '../../shared/utils';
1
+ import $ from '../../shared/dom7.js';
2
+ import History from '../../shared/history.js';
3
+ import { getSupport } from '../../shared/get-support.js';
4
+ import { getDevice } from '../../shared/get-device.js';
5
+ import { now } from '../../shared/utils.js';
6
6
 
7
7
  function SwipeBack(r) {
8
8
  const router = r;
@@ -1,7 +1,7 @@
1
- import $ from '../../shared/dom7';
2
- import { extend } from '../../shared/utils';
3
- import History from '../../shared/history';
4
- import asyncComponent from './async-component';
1
+ import $ from '../../shared/dom7.js';
2
+ import { extend } from '../../shared/utils.js';
3
+ import History from '../../shared/history.js';
4
+ import asyncComponent from './async-component.js';
5
5
 
6
6
  function tabLoad(tabRoute, loadOptions = {}) {
7
7
  const router = this;
@@ -1,5 +1,5 @@
1
1
  import { getWindow } from 'ssr-window';
2
- import { extend } from '../../shared/utils';
2
+ import { extend } from '../../shared/utils.js';
3
3
  const SW = {
4
4
  registrations: [],
5
5
 
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable no-underscore-dangle */
2
- import { extend } from '../../shared/utils';
2
+ import { extend } from '../../shared/utils.js';
3
3
 
4
4
  function createStore(storeParams = {}) {
5
5
  const store = {
@@ -1,4 +1,4 @@
1
- import createStore from './create-store';
1
+ import createStore from './create-store.js';
2
2
  export { createStore };
3
3
  export default {
4
4
  name: 'store',
@@ -1,4 +1,4 @@
1
- import { getSupport } from '../../shared/get-support';
1
+ import { getSupport } from '../../shared/get-support.js';
2
2
  export default {
3
3
  name: 'support',
4
4
  static: {
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable no-nested-ternary */
2
2
  import { getWindow, getDocument } from 'ssr-window';
3
- import $ from '../../shared/dom7';
4
- import { getSupport } from '../../shared/get-support';
5
- import { getDevice } from '../../shared/get-device';
6
- import { extend } from '../../shared/utils';
3
+ import $ from '../../shared/dom7.js';
4
+ import { getSupport } from '../../shared/get-support.js';
5
+ import { getDevice } from '../../shared/get-device.js';
6
+ import { extend } from '../../shared/utils.js';
7
7
 
8
8
  function initTouch() {
9
9
  const app = this;
@@ -1,4 +1,4 @@
1
- import * as utils from '../../shared/utils';
1
+ import * as utils from '../../shared/utils.js';
2
2
  export default {
3
3
  name: 'utils',
4
4
  proto: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework7",
3
- "version": "7.0.0-beta.4",
3
+ "version": "7.0.0-beta.5",
4
4
  "description": "Full featured mobile HTML framework for building iOS & Android apps",
5
5
  "type": "module",
6
6
  "exports": {
package/shared/class.js CHANGED
@@ -1,5 +1,5 @@
1
- import { extend, now } from './utils';
2
- import EventsClass from './events-class';
1
+ import { extend, now } from './utils.js';
2
+ import EventsClass from './events-class.js';
3
3
 
4
4
  class Framework7Class extends EventsClass {
5
5
  constructor(params = {}, parents = []) {
@@ -1,4 +1,4 @@
1
- import $ from './dom7';
1
+ import $ from './dom7.js';
2
2
  export default function ConstructorMethods(parameters = {}) {
3
3
  const {
4
4
  defaultSelector,
@@ -1,5 +1,5 @@
1
1
  import { getWindow } from 'ssr-window';
2
- import { getSupport } from './get-support';
2
+ import { getSupport } from './get-support.js';
3
3
  let deviceCalculated;
4
4
 
5
5
  function calcDevice({
package/shared/history.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { getWindow, getDocument } from 'ssr-window';
2
- import $ from './dom7';
3
- import { extend } from './utils';
2
+ import $ from './dom7.js';
3
+ import { extend } from './utils.js';
4
4
  const History = {
5
5
  queue: [],
6
6
 
@@ -1,6 +1,6 @@
1
- import $ from './dom7';
2
- import { extend } from './utils';
3
- import ConstructorMethods from './constructor-methods';
1
+ import $ from './dom7.js';
2
+ import { extend } from './utils.js';
3
+ import ConstructorMethods from './constructor-methods.js';
4
4
  export default function ModalMethods(parameters = {}) {
5
5
  const {
6
6
  defaultSelector,
package/shared/request.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable max-classes-per-file */
2
2
  import { getWindow, getDocument } from 'ssr-window';
3
- import { extend, serializeObject } from './utils';
3
+ import { extend, serializeObject } from './utils.js';
4
4
  const globals = {};
5
5
  let jsonpRequests = 0;
6
6