framework7 6.3.15 → 7.0.0-beta.11

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 (848) hide show
  1. package/components/accordion/accordion.js +132 -1
  2. package/components/accordion/accordion.lazy.js +1 -0
  3. package/components/actions/actions-class.js +370 -0
  4. package/components/actions/actions-rtl.css +1 -1
  5. package/components/actions/actions.css +1 -1
  6. package/components/actions/actions.d.ts +2 -0
  7. package/components/actions/actions.js +43 -1
  8. package/components/actions/actions.lazy.js +1 -0
  9. package/components/actions/actions.less +3 -0
  10. package/components/app/app-class.d.ts +10 -10
  11. package/{esm/components → components}/app/app-class.js +119 -152
  12. package/components/app/app.less +3 -3
  13. package/{esm/components → components}/app/load-module.js +34 -34
  14. package/components/appbar/appbar.js +3 -1
  15. package/components/appbar/appbar.lazy.js +1 -0
  16. package/components/area-chart/area-chart-class.js +507 -0
  17. package/components/area-chart/area-chart-rtl.css +1 -1
  18. package/components/area-chart/area-chart.css +1 -1
  19. package/components/area-chart/area-chart.js +47 -1
  20. package/components/area-chart/area-chart.lazy.js +1 -0
  21. package/{esm/components → components}/autocomplete/autocomplete-class.js +246 -258
  22. package/components/autocomplete/autocomplete-rtl.css +1 -1
  23. package/components/autocomplete/autocomplete.css +1 -1
  24. package/components/autocomplete/autocomplete.js +86 -1
  25. package/components/autocomplete/autocomplete.lazy.js +1 -0
  26. package/{esm/components → components}/badge/badge.js +0 -0
  27. package/{esm/components → components}/block/block.js +0 -0
  28. package/components/breadcrumbs/breadcrumbs-aurora.less +2 -0
  29. package/components/breadcrumbs/breadcrumbs-ios.less +2 -0
  30. package/components/breadcrumbs/breadcrumbs-md.less +2 -0
  31. package/components/breadcrumbs/breadcrumbs-rtl.css +1 -0
  32. package/components/breadcrumbs/breadcrumbs-vars.less +36 -0
  33. package/components/breadcrumbs/breadcrumbs.css +1 -0
  34. package/components/breadcrumbs/breadcrumbs.d.ts +15 -0
  35. package/components/breadcrumbs/breadcrumbs.js +13 -0
  36. package/components/breadcrumbs/breadcrumbs.lazy.js +1 -0
  37. package/components/breadcrumbs/breadcrumbs.less +100 -0
  38. package/{esm/components → components}/button/button.js +0 -0
  39. package/{esm/components → components}/calendar/calendar-class.js +828 -728
  40. package/components/calendar/calendar-rtl.css +1 -1
  41. package/components/calendar/calendar-vars.less +6 -10
  42. package/components/calendar/calendar.css +1 -1
  43. package/components/calendar/calendar.d.ts +2 -0
  44. package/components/calendar/calendar.js +112 -1
  45. package/components/calendar/calendar.lazy.js +1 -0
  46. package/components/calendar/calendar.less +20 -16
  47. package/components/card/card-rtl.css +1 -1
  48. package/components/card/card.css +1 -1
  49. package/components/card/card.js +592 -1
  50. package/components/card/card.lazy.js +1 -0
  51. package/components/checkbox/checkbox-rtl.css +1 -1
  52. package/components/checkbox/checkbox.css +1 -1
  53. package/components/checkbox/checkbox.js +3 -1
  54. package/components/checkbox/checkbox.lazy.js +1 -0
  55. package/components/chip/chip-rtl.css +1 -1
  56. package/components/chip/chip.css +1 -1
  57. package/components/chip/chip.js +3 -1
  58. package/components/chip/chip.lazy.js +1 -0
  59. package/{esm/components → components}/color-picker/color-picker-class.js +354 -367
  60. package/components/color-picker/color-picker-rtl.css +1 -1
  61. package/components/color-picker/color-picker.css +1 -1
  62. package/components/color-picker/color-picker.js +92 -1
  63. package/components/color-picker/color-picker.lazy.js +1 -0
  64. package/{esm/components → components}/color-picker/modules/alpha-slider.js +31 -20
  65. package/{esm/components → components}/color-picker/modules/brightness-slider.js +37 -26
  66. package/{esm/components → components}/color-picker/modules/current-color.js +5 -3
  67. package/{esm/components → components}/color-picker/modules/hex.js +28 -17
  68. package/{esm/components → components}/color-picker/modules/hs-spectrum.js +41 -29
  69. package/{esm/components → components}/color-picker/modules/hsb-sliders.js +57 -44
  70. package/{esm/components → components}/color-picker/modules/hue-slider.js +30 -19
  71. package/{esm/components → components}/color-picker/modules/initial-current-colors.js +15 -10
  72. package/{esm/components → components}/color-picker/modules/palette.js +16 -13
  73. package/{esm/components → components}/color-picker/modules/rgb-bars.js +44 -31
  74. package/{esm/components → components}/color-picker/modules/rgb-sliders.js +49 -36
  75. package/{esm/components → components}/color-picker/modules/sb-spectrum.js +41 -29
  76. package/{esm/components → components}/color-picker/modules/wheel.js +62 -50
  77. package/components/contacts-list/contacts-list-rtl.css +1 -1
  78. package/components/contacts-list/contacts-list.css +1 -1
  79. package/components/contacts-list/contacts-list.js +3 -1
  80. package/components/contacts-list/contacts-list.lazy.js +1 -0
  81. package/{esm/components → components}/data-table/data-table-class.js +43 -62
  82. package/components/data-table/data-table-rtl.css +1 -1
  83. package/components/data-table/data-table.css +1 -1
  84. package/components/data-table/data-table.js +72 -1
  85. package/components/data-table/data-table.lazy.js +1 -0
  86. package/{esm/components → components}/dialog/dialog-class.js +63 -72
  87. package/components/dialog/dialog-rtl.css +1 -1
  88. package/components/dialog/dialog.css +1 -1
  89. package/components/dialog/dialog.js +254 -1
  90. package/components/dialog/dialog.lazy.js +1 -0
  91. package/components/elevation/elevation.js +3 -1
  92. package/components/elevation/elevation.lazy.js +1 -0
  93. package/components/fab/fab.js +181 -1
  94. package/components/fab/fab.lazy.js +1 -0
  95. package/components/form/form.js +347 -1
  96. package/components/form/form.lazy.js +1 -0
  97. package/components/gauge/gauge-class.js +306 -0
  98. package/components/gauge/gauge.js +99 -1
  99. package/components/gauge/gauge.lazy.js +1 -0
  100. package/components/grid/grid-rtl.css +1 -1
  101. package/components/grid/grid.css +1 -1
  102. package/components/grid/grid.js +227 -1
  103. package/components/grid/grid.lazy.js +1 -0
  104. package/{esm/components → components}/icon/icon.js +0 -0
  105. package/components/infinite-scroll/infinite-scroll.js +110 -1
  106. package/components/infinite-scroll/infinite-scroll.lazy.js +1 -0
  107. package/components/input/input-rtl.css +1 -1
  108. package/components/input/input.css +1 -1
  109. package/components/input/input.js +394 -1
  110. package/components/input/input.lazy.js +1 -0
  111. package/components/input/input.less +1 -1
  112. package/components/lazy/lazy.js +283 -1
  113. package/components/lazy/lazy.lazy.js +1 -0
  114. package/{esm/components → components}/link/link.js +0 -0
  115. package/{esm/components → components}/list/list.js +0 -0
  116. package/{esm/components → components}/list-index/list-index-class.js +118 -126
  117. package/components/list-index/list-index-rtl.css +1 -1
  118. package/components/list-index/list-index.css +1 -1
  119. package/components/list-index/list-index.d.ts +1 -1
  120. package/components/list-index/list-index.js +73 -1
  121. package/components/list-index/list-index.lazy.js +1 -0
  122. package/components/login-screen/login-screen-class.js +43 -0
  123. package/components/login-screen/login-screen-rtl.css +1 -1
  124. package/components/login-screen/login-screen.css +1 -1
  125. package/components/login-screen/login-screen.js +28 -1
  126. package/components/login-screen/login-screen.lazy.js +1 -0
  127. package/components/login-screen/login-screen.less +1 -1
  128. package/components/menu/menu.js +79 -1
  129. package/components/menu/menu.lazy.js +1 -0
  130. package/{esm/components → components}/messagebar/messagebar-class.js +128 -156
  131. package/components/messagebar/messagebar-rtl.css +1 -1
  132. package/components/messagebar/messagebar.css +1 -1
  133. package/components/messagebar/messagebar.js +74 -1
  134. package/components/messagebar/messagebar.lazy.js +1 -0
  135. package/{esm/components → components}/messages/messages-class.js +166 -246
  136. package/components/messages/messages-rtl.css +1 -1
  137. package/components/messages/messages.css +1 -1
  138. package/components/messages/messages.js +73 -1
  139. package/components/messages/messages.lazy.js +1 -0
  140. package/components/modal/custom-modal-class.js +76 -0
  141. package/{esm/components → components}/modal/modal-class.js +81 -86
  142. package/components/modal/modal.js +25 -0
  143. package/{esm/components → components}/navbar/navbar.js +169 -174
  144. package/components/notification/notification-aurora.less +1 -1
  145. package/{esm/components → components}/notification/notification-class.js +69 -82
  146. package/components/notification/notification-ios.less +1 -1
  147. package/components/notification/notification-rtl.css +1 -1
  148. package/components/notification/notification.css +1 -1
  149. package/components/notification/notification.d.ts +4 -4
  150. package/components/notification/notification.js +35 -1
  151. package/components/notification/notification.lazy.js +1 -0
  152. package/components/page/page-vars.less +1 -1
  153. package/{esm/components → components}/page/page.js +0 -0
  154. package/{esm/components → components}/panel/panel-class.js +189 -220
  155. package/components/panel/panel-rtl.css +1 -1
  156. package/components/panel/panel.css +1 -1
  157. package/components/panel/panel.js +190 -1
  158. package/components/panel/panel.lazy.js +1 -0
  159. package/{esm/components → components}/panel/resizable-panel.js +33 -31
  160. package/{esm/components → components}/panel/swipe-panel.js +48 -46
  161. package/{esm/components → components}/photo-browser/photo-browser-class.js +210 -238
  162. package/components/photo-browser/photo-browser.js +73 -1
  163. package/components/photo-browser/photo-browser.lazy.js +1 -0
  164. package/{esm/components → components}/picker/picker-class.js +244 -244
  165. package/components/picker/picker-column.js +141 -0
  166. package/components/picker/picker-rtl.css +1 -1
  167. package/components/picker/picker.css +1 -1
  168. package/components/picker/picker.d.ts +2 -13
  169. package/components/picker/picker.js +59 -1
  170. package/components/picker/picker.lazy.js +1 -0
  171. package/components/picker/picker.less +28 -10
  172. package/components/pie-chart/pie-chart-class.js +264 -0
  173. package/components/pie-chart/pie-chart.js +35 -1
  174. package/components/pie-chart/pie-chart.lazy.js +1 -0
  175. package/{esm/components → components}/popover/popover-class.js +92 -104
  176. package/components/popover/popover-rtl.css +1 -1
  177. package/components/popover/popover.css +1 -1
  178. package/components/popover/popover.d.ts +2 -0
  179. package/components/popover/popover.js +77 -1
  180. package/components/popover/popover.lazy.js +1 -0
  181. package/components/popover/popover.less +3 -0
  182. package/{esm/components → components}/popup/popup-class.js +78 -88
  183. package/components/popup/popup-rtl.css +1 -1
  184. package/components/popup/popup.css +1 -1
  185. package/components/popup/popup.d.ts +4 -0
  186. package/components/popup/popup.js +42 -1
  187. package/components/popup/popup.lazy.js +1 -0
  188. package/components/popup/popup.less +24 -21
  189. package/components/preloader/preloader.js +115 -1
  190. package/components/preloader/preloader.lazy.js +1 -0
  191. package/components/progressbar/progressbar-rtl.css +1 -1
  192. package/components/progressbar/progressbar.css +1 -1
  193. package/components/progressbar/progressbar.js +166 -1
  194. package/components/progressbar/progressbar.lazy.js +1 -0
  195. package/{esm/components → components}/pull-to-refresh/pull-to-refresh-class.js +107 -124
  196. package/components/pull-to-refresh/pull-to-refresh.js +70 -1
  197. package/components/pull-to-refresh/pull-to-refresh.lazy.js +1 -0
  198. package/components/radio/radio-rtl.css +1 -1
  199. package/components/radio/radio.css +1 -1
  200. package/components/radio/radio.js +3 -1
  201. package/components/radio/radio.lazy.js +1 -0
  202. package/{esm/components → components}/range/range-class.js +196 -197
  203. package/components/range/range-rtl.css +1 -1
  204. package/components/range/range.css +1 -1
  205. package/components/range/range.js +79 -1
  206. package/components/range/range.lazy.js +1 -0
  207. package/components/searchbar/remove-diacritics.js +275 -0
  208. package/{esm/components → components}/searchbar/searchbar-class.js +135 -152
  209. package/components/searchbar/searchbar-rtl.css +1 -1
  210. package/components/searchbar/searchbar.css +1 -1
  211. package/components/searchbar/searchbar.js +121 -1
  212. package/components/searchbar/searchbar.lazy.js +1 -0
  213. package/components/searchbar/searchbar.less +1 -1
  214. package/{esm/components → components}/sheet/sheet-class.js +99 -113
  215. package/components/sheet/sheet-rtl.css +1 -1
  216. package/components/sheet/sheet.css +1 -1
  217. package/components/sheet/sheet.d.ts +2 -0
  218. package/components/sheet/sheet.js +69 -1
  219. package/components/sheet/sheet.lazy.js +1 -0
  220. package/components/sheet/sheet.less +19 -16
  221. package/components/skeleton/skeleton-rtl.css +1 -1
  222. package/components/skeleton/skeleton-vars.less +1 -1
  223. package/components/skeleton/skeleton.css +1 -1
  224. package/components/skeleton/skeleton.js +3 -1
  225. package/components/skeleton/skeleton.lazy.js +1 -0
  226. package/components/skeleton/skeleton.less +1 -1
  227. package/{esm/components → components}/smart-select/smart-select-class.js +288 -300
  228. package/components/smart-select/smart-select.js +149 -1
  229. package/components/smart-select/smart-select.lazy.js +1 -0
  230. package/components/sortable/sortable-rtl.css +1 -1
  231. package/components/sortable/sortable.css +1 -1
  232. package/components/sortable/sortable.js +306 -1
  233. package/components/sortable/sortable.lazy.js +1 -0
  234. package/{esm/components → components}/statusbar/statusbar.js +51 -44
  235. package/{esm/components → components}/stepper/stepper-class.js +108 -119
  236. package/components/stepper/stepper-rtl.css +1 -1
  237. package/components/stepper/stepper.css +1 -1
  238. package/components/stepper/stepper.js +86 -1
  239. package/components/stepper/stepper.lazy.js +1 -0
  240. package/{esm/components → components}/subnavbar/subnavbar.js +4 -3
  241. package/components/swipeout/swipeout-rtl.css +1 -1
  242. package/components/swipeout/swipeout.css +1 -1
  243. package/components/swipeout/swipeout.js +597 -1
  244. package/components/swipeout/swipeout.lazy.js +1 -0
  245. package/components/swiper/swiper-rtl.css +1 -1
  246. package/components/swiper/swiper.css +1 -1
  247. package/components/swiper/swiper.js +191 -1
  248. package/components/swiper/swiper.lazy.js +1 -0
  249. package/components/swiper/swiper.less +1 -1
  250. package/components/tabs/tabs.js +271 -1
  251. package/components/tabs/tabs.lazy.js +1 -0
  252. package/{esm/components → components}/text-editor/text-editor-class.js +174 -186
  253. package/components/text-editor/text-editor-rtl.css +1 -1
  254. package/components/text-editor/text-editor.css +1 -1
  255. package/components/text-editor/text-editor.js +89 -1
  256. package/components/text-editor/text-editor.lazy.js +1 -0
  257. package/components/timeline/timeline-rtl.css +1 -1
  258. package/components/timeline/timeline.css +1 -1
  259. package/components/timeline/timeline.js +3 -1
  260. package/components/timeline/timeline.lazy.js +1 -0
  261. package/components/toast/toast-class.js +119 -0
  262. package/components/toast/toast.d.ts +2 -2
  263. package/components/toast/toast.js +43 -1
  264. package/components/toast/toast.lazy.js +1 -0
  265. package/{esm/components → components}/toggle/toggle-class.js +51 -68
  266. package/components/toggle/toggle-rtl.css +1 -1
  267. package/components/toggle/toggle.css +1 -1
  268. package/components/toggle/toggle.js +65 -1
  269. package/components/toggle/toggle.lazy.js +1 -0
  270. package/{esm/components → components}/toolbar/toolbar.js +65 -61
  271. package/{esm/components → components}/tooltip/tooltip-class.js +100 -111
  272. package/components/tooltip/tooltip.js +144 -1
  273. package/components/tooltip/tooltip.lazy.js +1 -0
  274. package/components/touch-ripple/touch-ripple-class.js +98 -0
  275. package/components/touch-ripple/touch-ripple-vars.less +1 -1
  276. package/components/touch-ripple/touch-ripple.js +18 -0
  277. package/components/treeview/treeview-rtl.css +1 -1
  278. package/components/treeview/treeview.css +1 -1
  279. package/components/treeview/treeview.js +83 -1
  280. package/components/treeview/treeview.lazy.js +1 -0
  281. package/components/typography/typography.js +3 -1
  282. package/components/typography/typography.lazy.js +1 -0
  283. package/{esm/components → components}/view/resizable-view.js +26 -24
  284. package/{esm/components → components}/view/view-class.js +54 -73
  285. package/components/view/view.d.ts +2 -0
  286. package/{esm/components → components}/view/view.js +41 -31
  287. package/{esm/components → components}/virtual-list/virtual-list-class.js +158 -175
  288. package/components/virtual-list/virtual-list.js +19 -1
  289. package/components/virtual-list/virtual-list.lazy.js +1 -0
  290. package/framework7-bundle-rtl.css +544 -1021
  291. package/framework7-bundle-rtl.min.css +3 -3
  292. package/framework7-bundle.css +544 -1021
  293. package/framework7-bundle.esm.js +99 -0
  294. package/framework7-bundle.js +31544 -32007
  295. package/framework7-bundle.js.map +1 -1
  296. package/framework7-bundle.less +3 -2
  297. package/framework7-bundle.min.css +3 -3
  298. package/framework7-bundle.min.js +3 -3
  299. package/framework7-bundle.min.js.map +1 -1
  300. package/framework7-lite-bundle.esm.js +92 -0
  301. package/framework7-lite.esm.js +39 -0
  302. package/framework7-rtl.css +52 -56
  303. package/framework7-rtl.min.css +3 -3
  304. package/{types/types.d.ts → framework7-types.d.ts} +5 -1
  305. package/framework7.css +52 -56
  306. package/framework7.d.ts +85 -81
  307. package/framework7.esm.js +43 -0
  308. package/framework7.js +3405 -4062
  309. package/framework7.js.map +1 -1
  310. package/framework7.less +2 -2
  311. package/framework7.min.css +3 -3
  312. package/framework7.min.js +3 -3
  313. package/framework7.min.js.map +1 -1
  314. package/less/mixins.less +2 -2
  315. package/{esm/modules → modules}/clicks/clicks.js +19 -18
  316. package/modules/component/$h.js +14 -0
  317. package/modules/component/$jsx.js +18 -0
  318. package/modules/component/component-class.js +382 -0
  319. package/modules/component/component.js +50 -0
  320. package/{esm/modules → modules}/component/custom-components.js +0 -0
  321. package/{esm/modules → modules}/component/eventslisteners.js +15 -19
  322. package/modules/component/parse-component.js +80 -0
  323. package/modules/component/patch.js +8 -0
  324. package/{esm/modules → modules}/component/snabbdom/h.js +1 -1
  325. package/{esm/modules → modules}/component/snabbdom/helpers/attachto.js +0 -0
  326. package/{esm/modules → modules}/component/snabbdom/hooks.js +0 -0
  327. package/{esm/modules → modules}/component/snabbdom/htmldomapi.js +0 -0
  328. package/{esm/modules → modules}/component/snabbdom/is.js +0 -0
  329. package/{esm/modules → modules}/component/snabbdom/modules/attributes.js +0 -0
  330. package/{esm/modules → modules}/component/snabbdom/modules/class.js +0 -0
  331. package/{esm/modules → modules}/component/snabbdom/modules/dataset.js +0 -0
  332. package/{esm/modules → modules}/component/snabbdom/modules/eventlisteners.js +0 -0
  333. package/{esm/modules → modules}/component/snabbdom/modules/hero.js +1 -1
  334. package/{esm/modules → modules}/component/snabbdom/modules/module.js +0 -0
  335. package/{esm/modules → modules}/component/snabbdom/modules/props.js +0 -0
  336. package/{esm/modules → modules}/component/snabbdom/modules/style.js +1 -1
  337. package/modules/component/snabbdom/snabbdom.bundle.js +19 -0
  338. package/{esm/modules → modules}/component/snabbdom/snabbdom.js +9 -21
  339. package/{esm/modules → modules}/component/snabbdom/thunk.js +1 -1
  340. package/{esm/modules → modules}/component/snabbdom/tovnode.js +2 -2
  341. package/{esm/modules → modules}/component/snabbdom/vnode.js +0 -0
  342. package/{esm/modules → modules}/component/vdom.js +110 -134
  343. package/{esm/modules → modules}/demo-module.js +15 -7
  344. package/{esm/modules → modules}/device/device.js +13 -12
  345. package/{esm/modules → modules}/history/history.js +3 -2
  346. package/{esm/modules → modules}/request/request.js +3 -3
  347. package/modules/resize/resize.js +65 -0
  348. package/{esm/modules → modules}/router/app-router-check.js +1 -1
  349. package/{esm/modules → modules}/router/async-component.js +3 -3
  350. package/{esm/modules → modules}/router/back.js +135 -125
  351. package/{esm/modules → modules}/router/clear-previous-history.js +10 -10
  352. package/modules/router/component-loader.js +174 -0
  353. package/{esm/modules → modules}/router/modal.js +53 -53
  354. package/{esm/modules → modules}/router/navigate.js +147 -228
  355. package/{esm/modules → modules}/router/process-route-queue.js +20 -17
  356. package/{esm/modules → modules}/router/redirect.js +8 -12
  357. package/{esm/modules → modules}/router/router-class.js +423 -444
  358. package/{esm/modules → modules}/router/router.js +6 -4
  359. package/{esm/modules → modules}/router/swipe-back.js +148 -182
  360. package/{esm/modules → modules}/router/tab.js +52 -52
  361. package/{esm/modules → modules}/service-worker/service-worker.js +42 -38
  362. package/modules/store/create-store.js +149 -0
  363. package/modules/store/store.js +11 -0
  364. package/modules/support/support.js +7 -0
  365. package/{esm/modules → modules}/touch/touch.js +75 -74
  366. package/modules/utils/utils.js +10 -0
  367. package/package.json +256 -11
  368. package/shared/$jsx.js +22 -0
  369. package/shared/class.js +143 -0
  370. package/shared/constructor-methods.js +42 -0
  371. package/{esm/shared → shared}/dom7.js +2 -1
  372. package/shared/events-class.js +100 -0
  373. package/{types/shared → shared}/get-device.d.ts +0 -0
  374. package/{esm/shared → shared}/get-device.js +33 -38
  375. package/{types/shared → shared}/get-support.d.ts +0 -0
  376. package/{esm/shared → shared}/get-support.js +7 -6
  377. package/{esm/shared → shared}/history.js +63 -49
  378. package/shared/modal-methods.js +90 -0
  379. package/{types/shared → shared}/request.d.ts +0 -0
  380. package/shared/request.js +474 -0
  381. package/{types/shared → shared}/utils.d.ts +0 -0
  382. package/{esm/shared → shared}/utils.js +125 -162
  383. package/bundle/package.json +0 -8
  384. package/cjs/components/accordion/accordion.js +0 -136
  385. package/cjs/components/actions/actions-class.js +0 -383
  386. package/cjs/components/actions/actions.js +0 -58
  387. package/cjs/components/app/app-class.js +0 -378
  388. package/cjs/components/app/load-module.js +0 -155
  389. package/cjs/components/appbar/appbar.js +0 -8
  390. package/cjs/components/area-chart/area-chart-class.js +0 -526
  391. package/cjs/components/area-chart/area-chart.js +0 -56
  392. package/cjs/components/autocomplete/autocomplete-class.js +0 -975
  393. package/cjs/components/autocomplete/autocomplete.js +0 -93
  394. package/cjs/components/badge/badge.js +0 -8
  395. package/cjs/components/block/block.js +0 -8
  396. package/cjs/components/button/button.js +0 -8
  397. package/cjs/components/calendar/calendar-class.js +0 -2095
  398. package/cjs/components/calendar/calendar.js +0 -124
  399. package/cjs/components/card/card.js +0 -625
  400. package/cjs/components/checkbox/checkbox.js +0 -8
  401. package/cjs/components/chip/chip.js +0 -8
  402. package/cjs/components/color-picker/color-picker-class.js +0 -1022
  403. package/cjs/components/color-picker/color-picker.js +0 -105
  404. package/cjs/components/color-picker/modules/alpha-slider.js +0 -101
  405. package/cjs/components/color-picker/modules/brightness-slider.js +0 -86
  406. package/cjs/components/color-picker/modules/current-color.js +0 -23
  407. package/cjs/components/color-picker/modules/hex.js +0 -81
  408. package/cjs/components/color-picker/modules/hs-spectrum.js +0 -137
  409. package/cjs/components/color-picker/modules/hsb-sliders.js +0 -206
  410. package/cjs/components/color-picker/modules/hue-slider.js +0 -78
  411. package/cjs/components/color-picker/modules/initial-current-colors.js +0 -54
  412. package/cjs/components/color-picker/modules/palette.js +0 -61
  413. package/cjs/components/color-picker/modules/rgb-bars.js +0 -196
  414. package/cjs/components/color-picker/modules/rgb-sliders.js +0 -198
  415. package/cjs/components/color-picker/modules/sb-spectrum.js +0 -137
  416. package/cjs/components/color-picker/modules/wheel.js +0 -198
  417. package/cjs/components/contacts-list/contacts-list.js +0 -8
  418. package/cjs/components/data-table/data-table-class.js +0 -188
  419. package/cjs/components/data-table/data-table.js +0 -75
  420. package/cjs/components/dialog/dialog-class.js +0 -250
  421. package/cjs/components/dialog/dialog.js +0 -297
  422. package/cjs/components/elevation/elevation.js +0 -8
  423. package/cjs/components/fab/fab.js +0 -195
  424. package/cjs/components/form/form.js +0 -341
  425. package/cjs/components/gauge/gauge-class.js +0 -332
  426. package/cjs/components/gauge/gauge.js +0 -103
  427. package/cjs/components/grid/grid.js +0 -233
  428. package/cjs/components/icon/icon.js +0 -8
  429. package/cjs/components/infinite-scroll/infinite-scroll.js +0 -111
  430. package/cjs/components/input/input.js +0 -396
  431. package/cjs/components/lazy/lazy.js +0 -283
  432. package/cjs/components/link/link.js +0 -8
  433. package/cjs/components/list/list.js +0 -8
  434. package/cjs/components/list-index/list-index-class.js +0 -405
  435. package/cjs/components/list-index/list-index.js +0 -77
  436. package/cjs/components/login-screen/login-screen-class.js +0 -68
  437. package/cjs/components/login-screen/login-screen.js +0 -44
  438. package/cjs/components/menu/menu.js +0 -92
  439. package/cjs/components/messagebar/messagebar-class.js +0 -446
  440. package/cjs/components/messagebar/messagebar.js +0 -78
  441. package/cjs/components/messages/messages-class.js +0 -633
  442. package/cjs/components/messages/messages.js +0 -76
  443. package/cjs/components/modal/custom-modal-class.js +0 -99
  444. package/cjs/components/modal/modal-class.js +0 -277
  445. package/cjs/components/modal/modal.js +0 -32
  446. package/cjs/components/navbar/navbar.js +0 -833
  447. package/cjs/components/notification/notification-class.js +0 -269
  448. package/cjs/components/notification/notification.js +0 -44
  449. package/cjs/components/page/page.js +0 -8
  450. package/cjs/components/panel/panel-class.js +0 -660
  451. package/cjs/components/panel/panel.js +0 -219
  452. package/cjs/components/panel/resizable-panel.js +0 -197
  453. package/cjs/components/panel/swipe-panel.js +0 -363
  454. package/cjs/components/photo-browser/photo-browser-class.js +0 -781
  455. package/cjs/components/photo-browser/photo-browser.js +0 -78
  456. package/cjs/components/picker/picker-class.js +0 -704
  457. package/cjs/components/picker/picker-column.js +0 -389
  458. package/cjs/components/picker/picker.js +0 -77
  459. package/cjs/components/pie-chart/pie-chart-class.js +0 -290
  460. package/cjs/components/pie-chart/pie-chart.js +0 -44
  461. package/cjs/components/popover/popover-class.js +0 -365
  462. package/cjs/components/popover/popover.js +0 -93
  463. package/cjs/components/popup/popup-class.js +0 -416
  464. package/cjs/components/popup/popup.js +0 -57
  465. package/cjs/components/preloader/preloader.js +0 -111
  466. package/cjs/components/progressbar/progressbar.js +0 -185
  467. package/cjs/components/pull-to-refresh/pull-to-refresh-class.js +0 -627
  468. package/cjs/components/pull-to-refresh/pull-to-refresh.js +0 -74
  469. package/cjs/components/radio/radio.js +0 -8
  470. package/cjs/components/range/range-class.js +0 -674
  471. package/cjs/components/range/range.js +0 -93
  472. package/cjs/components/searchbar/remove-diacritics.js +0 -283
  473. package/cjs/components/searchbar/searchbar-class.js +0 -739
  474. package/cjs/components/searchbar/searchbar.js +0 -141
  475. package/cjs/components/sheet/sheet-class.js +0 -593
  476. package/cjs/components/sheet/sheet.js +0 -83
  477. package/cjs/components/skeleton/skeleton.js +0 -8
  478. package/cjs/components/smart-select/smart-select-class.js +0 -1005
  479. package/cjs/components/smart-select/smart-select.js +0 -151
  480. package/cjs/components/sortable/sortable.js +0 -335
  481. package/cjs/components/statusbar/statusbar.js +0 -226
  482. package/cjs/components/stepper/stepper-class.js +0 -497
  483. package/cjs/components/stepper/stepper.js +0 -96
  484. package/cjs/components/subnavbar/subnavbar.js +0 -28
  485. package/cjs/components/swipeout/swipeout.js +0 -618
  486. package/cjs/components/swiper/swiper.js +0 -189
  487. package/cjs/components/tabs/tabs.js +0 -295
  488. package/cjs/components/text-editor/text-editor-class.js +0 -627
  489. package/cjs/components/text-editor/text-editor.js +0 -93
  490. package/cjs/components/timeline/timeline.js +0 -8
  491. package/cjs/components/toast/toast-class.js +0 -142
  492. package/cjs/components/toast/toast.js +0 -51
  493. package/cjs/components/toggle/toggle-class.js +0 -213
  494. package/cjs/components/toggle/toggle.js +0 -72
  495. package/cjs/components/toolbar/toolbar.js +0 -234
  496. package/cjs/components/tooltip/tooltip-class.js +0 -409
  497. package/cjs/components/tooltip/tooltip.js +0 -146
  498. package/cjs/components/touch-ripple/touch-ripple-class.js +0 -110
  499. package/cjs/components/touch-ripple/touch-ripple.js +0 -34
  500. package/cjs/components/treeview/treeview.js +0 -88
  501. package/cjs/components/typography/typography.js +0 -8
  502. package/cjs/components/view/resizable-view.js +0 -155
  503. package/cjs/components/view/view-class.js +0 -251
  504. package/cjs/components/view/view.js +0 -196
  505. package/cjs/components/virtual-list/virtual-list-class.js +0 -654
  506. package/cjs/components/virtual-list/virtual-list.js +0 -27
  507. package/cjs/framework7-bundle.js +0 -208
  508. package/cjs/framework7-lite-bundle.js +0 -191
  509. package/cjs/framework7-lite.js +0 -87
  510. package/cjs/framework7.js +0 -98
  511. package/cjs/modules/clicks/clicks.js +0 -115
  512. package/cjs/modules/component/$h.js +0 -31
  513. package/cjs/modules/component/$jsx.js +0 -31
  514. package/cjs/modules/component/component-class.js +0 -434
  515. package/cjs/modules/component/component.js +0 -58
  516. package/cjs/modules/component/custom-components.js +0 -6
  517. package/cjs/modules/component/eventslisteners.js +0 -90
  518. package/cjs/modules/component/parse-component.js +0 -80
  519. package/cjs/modules/component/patch.js +0 -21
  520. package/cjs/modules/component/snabbdom/h.js +0 -72
  521. package/cjs/modules/component/snabbdom/helpers/attachto.js +0 -62
  522. package/cjs/modules/component/snabbdom/hooks.js +0 -1
  523. package/cjs/modules/component/snabbdom/htmldomapi.js +0 -90
  524. package/cjs/modules/component/snabbdom/is.js +0 -11
  525. package/cjs/modules/component/snabbdom/modules/attributes.js +0 -61
  526. package/cjs/modules/component/snabbdom/modules/class.js +0 -38
  527. package/cjs/modules/component/snabbdom/modules/dataset.js +0 -47
  528. package/cjs/modules/component/snabbdom/modules/eventlisteners.js +0 -106
  529. package/cjs/modules/component/snabbdom/modules/hero.js +0 -193
  530. package/cjs/modules/component/snabbdom/modules/module.js +0 -1
  531. package/cjs/modules/component/snabbdom/modules/props.js +0 -40
  532. package/cjs/modules/component/snabbdom/modules/style.js +0 -116
  533. package/cjs/modules/component/snabbdom/snabbdom.bundle.js +0 -33
  534. package/cjs/modules/component/snabbdom/snabbdom.js +0 -374
  535. package/cjs/modules/component/snabbdom/thunk.js +0 -66
  536. package/cjs/modules/component/snabbdom/tovnode.js +0 -57
  537. package/cjs/modules/component/snabbdom/vnode.js +0 -20
  538. package/cjs/modules/component/vdom.js +0 -393
  539. package/cjs/modules/demo-module.js +0 -49
  540. package/cjs/modules/device/device.js +0 -56
  541. package/cjs/modules/history/history.js +0 -21
  542. package/cjs/modules/request/request.js +0 -20
  543. package/cjs/modules/resize/resize.js +0 -72
  544. package/cjs/modules/router/app-router-check.js +0 -10
  545. package/cjs/modules/router/async-component.js +0 -33
  546. package/cjs/modules/router/back.js +0 -899
  547. package/cjs/modules/router/clear-previous-history.js +0 -50
  548. package/cjs/modules/router/component-loader.js +0 -140
  549. package/cjs/modules/router/modal.js +0 -254
  550. package/cjs/modules/router/navigate.js +0 -1054
  551. package/cjs/modules/router/process-route-queue.js +0 -80
  552. package/cjs/modules/router/redirect.js +0 -52
  553. package/cjs/modules/router/router-class.js +0 -1500
  554. package/cjs/modules/router/router.js +0 -36
  555. package/cjs/modules/router/swipe-back.js +0 -735
  556. package/cjs/modules/router/tab.js +0 -264
  557. package/cjs/modules/service-worker/service-worker.js +0 -101
  558. package/cjs/modules/store/create-store.js +0 -169
  559. package/cjs/modules/store/store.js +0 -21
  560. package/cjs/modules/support/support.js +0 -14
  561. package/cjs/modules/touch/touch.js +0 -585
  562. package/cjs/modules/utils/utils.js +0 -21
  563. package/cjs/shared/$jsx.js +0 -39
  564. package/cjs/shared/class.js +0 -206
  565. package/cjs/shared/constructor-methods.js +0 -73
  566. package/cjs/shared/dom7.js +0 -17
  567. package/cjs/shared/events-class.js +0 -125
  568. package/cjs/shared/get-device.js +0 -157
  569. package/cjs/shared/get-support.js +0 -44
  570. package/cjs/shared/history.js +0 -185
  571. package/cjs/shared/modal-methods.js +0 -105
  572. package/cjs/shared/request.js +0 -552
  573. package/cjs/shared/utils.js +0 -472
  574. package/components/accordion/package.json +0 -9
  575. package/components/actions/package.json +0 -9
  576. package/components/app/package.json +0 -9
  577. package/components/appbar/package.json +0 -9
  578. package/components/area-chart/package.json +0 -9
  579. package/components/autocomplete/package.json +0 -9
  580. package/components/badge/package.json +0 -9
  581. package/components/block/package.json +0 -9
  582. package/components/button/package.json +0 -9
  583. package/components/calendar/package.json +0 -9
  584. package/components/card/package.json +0 -9
  585. package/components/checkbox/package.json +0 -9
  586. package/components/chip/package.json +0 -9
  587. package/components/color-picker/package.json +0 -9
  588. package/components/contacts-list/package.json +0 -9
  589. package/components/data-table/package.json +0 -9
  590. package/components/dialog/package.json +0 -9
  591. package/components/elevation/package.json +0 -9
  592. package/components/fab/package.json +0 -9
  593. package/components/form/package.json +0 -9
  594. package/components/gauge/package.json +0 -9
  595. package/components/grid/package.json +0 -9
  596. package/components/icon/package.json +0 -9
  597. package/components/infinite-scroll/package.json +0 -9
  598. package/components/input/package.json +0 -9
  599. package/components/lazy/package.json +0 -9
  600. package/components/link/package.json +0 -9
  601. package/components/list/package.json +0 -9
  602. package/components/list-index/package.json +0 -9
  603. package/components/login-screen/package.json +0 -9
  604. package/components/menu/package.json +0 -9
  605. package/components/messagebar/package.json +0 -9
  606. package/components/messages/package.json +0 -9
  607. package/components/modal/package.json +0 -9
  608. package/components/navbar/package.json +0 -9
  609. package/components/notification/package.json +0 -9
  610. package/components/page/package.json +0 -9
  611. package/components/panel/package.json +0 -9
  612. package/components/photo-browser/package.json +0 -9
  613. package/components/picker/package.json +0 -9
  614. package/components/pie-chart/package.json +0 -9
  615. package/components/popover/package.json +0 -9
  616. package/components/popup/package.json +0 -9
  617. package/components/preloader/package.json +0 -9
  618. package/components/progressbar/package.json +0 -9
  619. package/components/pull-to-refresh/package.json +0 -9
  620. package/components/radio/package.json +0 -9
  621. package/components/range/package.json +0 -9
  622. package/components/searchbar/package.json +0 -9
  623. package/components/sheet/package.json +0 -9
  624. package/components/skeleton/package.json +0 -9
  625. package/components/smart-select/package.json +0 -9
  626. package/components/sortable/package.json +0 -9
  627. package/components/statusbar/package.json +0 -9
  628. package/components/stepper/package.json +0 -9
  629. package/components/subnavbar/package.json +0 -9
  630. package/components/swipeout/package.json +0 -9
  631. package/components/swiper/package.json +0 -9
  632. package/components/tabs/package.json +0 -9
  633. package/components/text-editor/package.json +0 -9
  634. package/components/timeline/package.json +0 -9
  635. package/components/toast/package.json +0 -9
  636. package/components/toggle/package.json +0 -9
  637. package/components/toolbar/package.json +0 -9
  638. package/components/tooltip/package.json +0 -9
  639. package/components/touch-ripple/package.json +0 -9
  640. package/components/treeview/package.json +0 -9
  641. package/components/typography/package.json +0 -9
  642. package/components/view/package.json +0 -9
  643. package/components/virtual-list/package.json +0 -9
  644. package/core/package.json +0 -8
  645. package/esm/components/accordion/accordion.js +0 -126
  646. package/esm/components/actions/actions-class.js +0 -373
  647. package/esm/components/actions/actions.js +0 -48
  648. package/esm/components/appbar/appbar.js +0 -3
  649. package/esm/components/area-chart/area-chart-class.js +0 -517
  650. package/esm/components/area-chart/area-chart.js +0 -45
  651. package/esm/components/autocomplete/autocomplete.js +0 -82
  652. package/esm/components/calendar/calendar.js +0 -113
  653. package/esm/components/card/card.js +0 -612
  654. package/esm/components/checkbox/checkbox.js +0 -3
  655. package/esm/components/chip/chip.js +0 -3
  656. package/esm/components/color-picker/color-picker.js +0 -94
  657. package/esm/components/contacts-list/contacts-list.js +0 -3
  658. package/esm/components/data-table/data-table.js +0 -64
  659. package/esm/components/dialog/dialog.js +0 -286
  660. package/esm/components/elevation/elevation.js +0 -3
  661. package/esm/components/fab/fab.js +0 -185
  662. package/esm/components/form/form.js +0 -330
  663. package/esm/components/gauge/gauge-class.js +0 -323
  664. package/esm/components/gauge/gauge.js +0 -91
  665. package/esm/components/grid/grid.js +0 -223
  666. package/esm/components/infinite-scroll/infinite-scroll.js +0 -101
  667. package/esm/components/input/input.js +0 -384
  668. package/esm/components/lazy/lazy.js +0 -271
  669. package/esm/components/list-index/list-index.js +0 -65
  670. package/esm/components/login-screen/login-screen-class.js +0 -58
  671. package/esm/components/login-screen/login-screen.js +0 -34
  672. package/esm/components/menu/menu.js +0 -82
  673. package/esm/components/messagebar/messagebar.js +0 -66
  674. package/esm/components/messages/messages.js +0 -65
  675. package/esm/components/modal/custom-modal-class.js +0 -89
  676. package/esm/components/modal/modal.js +0 -22
  677. package/esm/components/notification/notification.js +0 -33
  678. package/esm/components/panel/panel.js +0 -208
  679. package/esm/components/photo-browser/photo-browser.js +0 -68
  680. package/esm/components/picker/picker-column.js +0 -379
  681. package/esm/components/picker/picker.js +0 -66
  682. package/esm/components/pie-chart/pie-chart-class.js +0 -281
  683. package/esm/components/pie-chart/pie-chart.js +0 -33
  684. package/esm/components/popover/popover.js +0 -81
  685. package/esm/components/popup/popup.js +0 -47
  686. package/esm/components/preloader/preloader.js +0 -101
  687. package/esm/components/progressbar/progressbar.js +0 -175
  688. package/esm/components/pull-to-refresh/pull-to-refresh.js +0 -62
  689. package/esm/components/radio/radio.js +0 -3
  690. package/esm/components/range/range.js +0 -81
  691. package/esm/components/searchbar/remove-diacritics.js +0 -277
  692. package/esm/components/searchbar/searchbar.js +0 -129
  693. package/esm/components/sheet/sheet.js +0 -71
  694. package/esm/components/skeleton/skeleton.js +0 -3
  695. package/esm/components/smart-select/smart-select.js +0 -139
  696. package/esm/components/sortable/sortable.js +0 -323
  697. package/esm/components/stepper/stepper.js +0 -84
  698. package/esm/components/swipeout/swipeout.js +0 -606
  699. package/esm/components/swiper/swiper.js +0 -177
  700. package/esm/components/tabs/tabs.js +0 -285
  701. package/esm/components/text-editor/text-editor.js +0 -81
  702. package/esm/components/timeline/timeline.js +0 -3
  703. package/esm/components/toast/toast-class.js +0 -132
  704. package/esm/components/toast/toast.js +0 -40
  705. package/esm/components/toggle/toggle.js +0 -61
  706. package/esm/components/tooltip/tooltip.js +0 -135
  707. package/esm/components/touch-ripple/touch-ripple-class.js +0 -103
  708. package/esm/components/touch-ripple/touch-ripple.js +0 -25
  709. package/esm/components/treeview/treeview.js +0 -78
  710. package/esm/components/typography/typography.js +0 -3
  711. package/esm/components/virtual-list/virtual-list.js +0 -17
  712. package/esm/framework7-bundle.js +0 -98
  713. package/esm/framework7-lite-bundle.js +0 -91
  714. package/esm/framework7-lite.js +0 -39
  715. package/esm/framework7.js +0 -43
  716. package/esm/modules/component/$h.js +0 -20
  717. package/esm/modules/component/$jsx.js +0 -24
  718. package/esm/modules/component/component-class.js +0 -421
  719. package/esm/modules/component/component.js +0 -44
  720. package/esm/modules/component/parse-component.js +0 -70
  721. package/esm/modules/component/patch.js +0 -8
  722. package/esm/modules/component/snabbdom/snabbdom.bundle.js +0 -19
  723. package/esm/modules/resize/resize.js +0 -64
  724. package/esm/modules/router/component-loader.js +0 -133
  725. package/esm/modules/store/create-store.js +0 -164
  726. package/esm/modules/store/store.js +0 -11
  727. package/esm/modules/support/support.js +0 -7
  728. package/esm/modules/utils/utils.js +0 -10
  729. package/esm/shared/$jsx.js +0 -33
  730. package/esm/shared/class.js +0 -197
  731. package/esm/shared/constructor-methods.js +0 -65
  732. package/esm/shared/events-class.js +0 -119
  733. package/esm/shared/modal-methods.js +0 -95
  734. package/esm/shared/request.js +0 -545
  735. package/lite/package.json +0 -8
  736. package/lite-bundle/package.json +0 -8
  737. package/modules/clicks/package.json +0 -9
  738. package/modules/component/package.json +0 -9
  739. package/modules/device/package.json +0 -9
  740. package/modules/history/package.json +0 -9
  741. package/modules/request/package.json +0 -9
  742. package/modules/resize/package.json +0 -9
  743. package/modules/router/package.json +0 -9
  744. package/modules/service-worker/package.json +0 -9
  745. package/modules/store/package.json +0 -9
  746. package/modules/support/package.json +0 -9
  747. package/modules/touch/package.json +0 -9
  748. package/modules/utils/package.json +0 -9
  749. package/types/components/accordion/accordion.d.ts +0 -55
  750. package/types/components/actions/actions.d.ts +0 -158
  751. package/types/components/app/app-class.d.ts +0 -196
  752. package/types/components/appbar/appbar.d.ts +0 -10
  753. package/types/components/area-chart/area-chart.d.ts +0 -124
  754. package/types/components/autocomplete/autocomplete.d.ts +0 -191
  755. package/types/components/badge/badge.d.ts +0 -10
  756. package/types/components/block/block.d.ts +0 -10
  757. package/types/components/button/button.d.ts +0 -10
  758. package/types/components/calendar/calendar.d.ts +0 -304
  759. package/types/components/card/card.d.ts +0 -65
  760. package/types/components/checkbox/checkbox.d.ts +0 -10
  761. package/types/components/chip/chip.d.ts +0 -10
  762. package/types/components/color-picker/color-picker.d.ts +0 -229
  763. package/types/components/contacts-list/contacts-list.d.ts +0 -10
  764. package/types/components/data-table/data-table.d.ts +0 -57
  765. package/types/components/dialog/dialog.d.ts +0 -241
  766. package/types/components/elevation/elevation.d.ts +0 -10
  767. package/types/components/fab/fab.d.ts +0 -28
  768. package/types/components/form/form.d.ts +0 -60
  769. package/types/components/gauge/gauge.d.ts +0 -96
  770. package/types/components/grid/grid.d.ts +0 -17
  771. package/types/components/icon/icon.d.ts +0 -10
  772. package/types/components/infinite-scroll/infinite-scroll.d.ts +0 -23
  773. package/types/components/input/input.d.ts +0 -56
  774. package/types/components/lazy/lazy.d.ts +0 -53
  775. package/types/components/link/link.d.ts +0 -10
  776. package/types/components/list/list.d.ts +0 -10
  777. package/types/components/list-index/list-index.d.ts +0 -99
  778. package/types/components/login-screen/login-screen.d.ts +0 -95
  779. package/types/components/menu/menu.d.ts +0 -28
  780. package/types/components/messagebar/messagebar.d.ts +0 -161
  781. package/types/components/messages/messages.d.ts +0 -158
  782. package/types/components/modal/modal.d.ts +0 -78
  783. package/types/components/navbar/navbar.d.ts +0 -75
  784. package/types/components/notification/notification.d.ts +0 -118
  785. package/types/components/page/page.d.ts +0 -10
  786. package/types/components/panel/panel.d.ts +0 -194
  787. package/types/components/photo-browser/photo-browser.d.ts +0 -194
  788. package/types/components/picker/picker.d.ts +0 -216
  789. package/types/components/pie-chart/pie-chart.d.ts +0 -95
  790. package/types/components/popover/popover.d.ts +0 -127
  791. package/types/components/popup/popup.d.ts +0 -135
  792. package/types/components/preloader/preloader.d.ts +0 -22
  793. package/types/components/progressbar/progressbar.d.ts +0 -27
  794. package/types/components/pull-to-refresh/pull-to-refresh.d.ts +0 -99
  795. package/types/components/radio/radio.d.ts +0 -10
  796. package/types/components/range/range.d.ts +0 -139
  797. package/types/components/searchbar/searchbar.d.ts +0 -157
  798. package/types/components/sheet/sheet.d.ts +0 -149
  799. package/types/components/skeleton/skeleton.d.ts +0 -10
  800. package/types/components/smart-select/smart-select.d.ts +0 -199
  801. package/types/components/sortable/sortable.d.ts +0 -50
  802. package/types/components/statusbar/statusbar.d.ts +0 -50
  803. package/types/components/stepper/stepper.d.ts +0 -117
  804. package/types/components/subnavbar/subnavbar.d.ts +0 -11
  805. package/types/components/swipeout/swipeout.d.ts +0 -68
  806. package/types/components/swiper/swiper.d.ts +0 -21
  807. package/types/components/tabs/tabs.d.ts +0 -39
  808. package/types/components/text-editor/text-editor.d.ts +0 -162
  809. package/types/components/timeline/timeline.d.ts +0 -10
  810. package/types/components/toast/toast.d.ts +0 -117
  811. package/types/components/toggle/toggle.d.ts +0 -69
  812. package/types/components/toolbar/toolbar.d.ts +0 -43
  813. package/types/components/tooltip/tooltip.d.ts +0 -101
  814. package/types/components/touch-ripple/touch-ripple.d.ts +0 -21
  815. package/types/components/treeview/treeview.d.ts +0 -38
  816. package/types/components/typography/typography.d.ts +0 -10
  817. package/types/components/view/view.d.ts +0 -205
  818. package/types/components/virtual-list/virtual-list.d.ts +0 -138
  819. package/types/modules/clicks/clicks.d.ts +0 -19
  820. package/types/modules/component/component.d.ts +0 -96
  821. package/types/modules/component/snabbdom/h.d.ts +0 -10
  822. package/types/modules/component/snabbdom/helpers/attachto.d.ts +0 -9
  823. package/types/modules/component/snabbdom/hooks.d.ts +0 -23
  824. package/types/modules/component/snabbdom/htmldomapi.d.ts +0 -19
  825. package/types/modules/component/snabbdom/is.d.ts +0 -2
  826. package/types/modules/component/snabbdom/modules/attributes.d.ts +0 -4
  827. package/types/modules/component/snabbdom/modules/class.d.ts +0 -4
  828. package/types/modules/component/snabbdom/modules/dataset.d.ts +0 -4
  829. package/types/modules/component/snabbdom/modules/eventlisteners.d.ts +0 -8
  830. package/types/modules/component/snabbdom/modules/hero.d.ts +0 -6
  831. package/types/modules/component/snabbdom/modules/module.d.ts +0 -9
  832. package/types/modules/component/snabbdom/modules/props.d.ts +0 -4
  833. package/types/modules/component/snabbdom/modules/style.d.ts +0 -7
  834. package/types/modules/component/snabbdom/snabbdom.bundle.d.ts +0 -5
  835. package/types/modules/component/snabbdom/snabbdom.d.ts +0 -6
  836. package/types/modules/component/snabbdom/thunk.d.ts +0 -14
  837. package/types/modules/component/snabbdom/tovnode.d.ts +0 -4
  838. package/types/modules/component/snabbdom/vnode.d.ts +0 -36
  839. package/types/modules/device/device.d.ts +0 -14
  840. package/types/modules/request/request.d.ts +0 -15
  841. package/types/modules/resize/resize.d.ts +0 -25
  842. package/types/modules/router/router.d.ts +0 -356
  843. package/types/modules/service-worker/service-worker.d.ts +0 -38
  844. package/types/modules/store/store.d.ts +0 -40
  845. package/types/modules/support/support.d.ts +0 -15
  846. package/types/modules/touch/touch.d.ts +0 -62
  847. package/types/modules/utils/utils.d.ts +0 -15
  848. package/types/package.json +0 -6
@@ -1,34 +1,22 @@
1
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
2
-
3
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
4
-
5
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
6
-
7
1
  import { getWindow, getDocument } from 'ssr-window';
8
- import $ from '../../shared/dom7';
9
- import { extend, now, getTranslate } from '../../shared/utils';
10
- import { getSupport } from '../../shared/get-support';
11
- import { getDevice } from '../../shared/get-device';
12
- import Modal from '../modal/modal-class';
13
-
14
- var Sheet = /*#__PURE__*/function (_Modal) {
15
- _inheritsLoose(Sheet, _Modal);
16
-
17
- function Sheet(app, params) {
18
- var _this;
19
-
20
- var extendedParams = extend({
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
+
8
+ class Sheet extends Modal {
9
+ constructor(app, params) {
10
+ const extendedParams = extend({
21
11
  on: {}
22
12
  }, app.params.sheet, params); // Extends with open/close Modal methods;
23
13
 
24
- _this = _Modal.call(this, app, extendedParams) || this;
25
-
26
- var sheet = _assertThisInitialized(_this);
27
-
28
- var window = getWindow();
29
- var document = getDocument();
30
- var support = getSupport();
31
- var device = getDevice();
14
+ super(app, extendedParams);
15
+ const sheet = this;
16
+ const window = getWindow();
17
+ const document = getDocument();
18
+ const support = getSupport();
19
+ const device = getDevice();
32
20
  sheet.params = extendedParams;
33
21
 
34
22
  if (typeof sheet.params.backdrop === 'undefined') {
@@ -36,30 +24,33 @@ var Sheet = /*#__PURE__*/function (_Modal) {
36
24
  } // Find Element
37
25
 
38
26
 
39
- var $el;
27
+ let $el;
40
28
 
41
29
  if (!sheet.params.el) {
42
- $el = $(sheet.params.content).filter(function (node) {
43
- return node.nodeType === 1;
44
- }).eq(0);
30
+ $el = $(sheet.params.content).filter(node => node.nodeType === 1).eq(0);
45
31
  } else {
46
32
  $el = $(sheet.params.el).eq(0);
47
33
  }
48
34
 
49
35
  if ($el && $el.length > 0 && $el[0].f7Modal) {
50
- return $el[0].f7Modal || _assertThisInitialized(_this);
36
+ return $el[0].f7Modal;
51
37
  }
52
38
 
53
39
  if ($el.length === 0) {
54
- return sheet.destroy() || _assertThisInitialized(_this);
40
+ return sheet.destroy();
55
41
  }
56
42
 
57
- var $backdropEl;
43
+ let $backdropEl;
58
44
 
59
45
  if (sheet.params.backdrop && sheet.params.backdropEl) {
60
46
  $backdropEl = $(sheet.params.backdropEl);
61
47
  } else if (sheet.params.backdrop) {
62
- $backdropEl = sheet.$containerEl.children('.sheet-backdrop');
48
+ if (sheet.params.backdropUnique) {
49
+ $backdropEl = $('<div class="sheet-backdrop sheet-backdrop-unique"></div>');
50
+ sheet.$containerEl.append($backdropEl);
51
+ } else {
52
+ $backdropEl = sheet.$containerEl.children('.sheet-backdrop');
53
+ }
63
54
 
64
55
  if ($backdropEl.length === 0) {
65
56
  $backdropEl = $('<div class="sheet-backdrop"></div>');
@@ -68,11 +59,11 @@ var Sheet = /*#__PURE__*/function (_Modal) {
68
59
  }
69
60
 
70
61
  extend(sheet, {
71
- app: app,
62
+ app,
72
63
  push: $el.hasClass('sheet-modal-push') || sheet.params.push,
73
- $el: $el,
64
+ $el,
74
65
  el: $el[0],
75
- $backdropEl: $backdropEl,
66
+ $backdropEl,
76
67
  backdropEl: $backdropEl && $backdropEl[0],
77
68
  type: 'sheet',
78
69
  $htmlEl: $('html')
@@ -82,23 +73,23 @@ var Sheet = /*#__PURE__*/function (_Modal) {
82
73
  $el.addClass('sheet-modal-push');
83
74
  }
84
75
 
85
- var $pageContentEl;
76
+ let $pageContentEl;
86
77
 
87
78
  function scrollToElementOnOpen() {
88
- var $scrollEl = $(sheet.params.scrollToEl).eq(0);
79
+ const $scrollEl = $(sheet.params.scrollToEl).eq(0);
89
80
  if ($scrollEl.length === 0) return;
90
81
  $pageContentEl = $scrollEl.parents('.page-content');
91
82
  if ($pageContentEl.length === 0) return;
92
- var paddingTop = parseInt($pageContentEl.css('padding-top'), 10);
93
- var paddingBottom = parseInt($pageContentEl.css('padding-bottom'), 10);
94
- var pageHeight = $pageContentEl[0].offsetHeight - paddingTop - $el.height();
95
- var pageScrollHeight = $pageContentEl[0].scrollHeight - paddingTop - $el.height();
96
- var pageScroll = $pageContentEl.scrollTop();
97
- var newPaddingBottom;
98
- var scrollElTop = $scrollEl.offset().top - paddingTop + $scrollEl[0].offsetHeight;
83
+ const paddingTop = parseInt($pageContentEl.css('padding-top'), 10);
84
+ const paddingBottom = parseInt($pageContentEl.css('padding-bottom'), 10);
85
+ const pageHeight = $pageContentEl[0].offsetHeight - paddingTop - $el.height();
86
+ const pageScrollHeight = $pageContentEl[0].scrollHeight - paddingTop - $el.height();
87
+ const pageScroll = $pageContentEl.scrollTop();
88
+ let newPaddingBottom;
89
+ const scrollElTop = $scrollEl.offset().top - paddingTop + $scrollEl[0].offsetHeight;
99
90
 
100
91
  if (scrollElTop > pageHeight) {
101
- var scrollTop = pageScroll + scrollElTop - pageHeight;
92
+ const scrollTop = pageScroll + scrollElTop - pageHeight;
102
93
 
103
94
  if (scrollTop + pageHeight > pageScrollHeight) {
104
95
  newPaddingBottom = scrollTop + pageHeight - pageScrollHeight + paddingBottom;
@@ -108,7 +99,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
108
99
  }
109
100
 
110
101
  $pageContentEl.css({
111
- 'padding-bottom': newPaddingBottom + "px"
102
+ 'padding-bottom': `${newPaddingBottom}px`
112
103
  });
113
104
  }
114
105
 
@@ -125,9 +116,9 @@ var Sheet = /*#__PURE__*/function (_Modal) {
125
116
  }
126
117
 
127
118
  function handleClick(e) {
128
- var target = e.target;
129
- var $target = $(target);
130
- var keyboardOpened = !device.desktop && device.cordova && (window.Keyboard && window.Keyboard.isVisible || window.cordova.plugins && window.cordova.plugins.Keyboard && window.cordova.plugins.Keyboard.isVisible);
119
+ const target = e.target;
120
+ const $target = $(target);
121
+ const keyboardOpened = !device.desktop && device.cordova && (window.Keyboard && window.Keyboard.isVisible || window.cordova.plugins && window.cordova.plugins.Keyboard && window.cordova.plugins.Keyboard.isVisible);
131
122
  if (keyboardOpened) return;
132
123
 
133
124
  if ($target.closest(sheet.el).length === 0) {
@@ -140,39 +131,39 @@ var Sheet = /*#__PURE__*/function (_Modal) {
140
131
  }
141
132
 
142
133
  function onKeyDown(e) {
143
- var keyCode = e.keyCode;
134
+ const keyCode = e.keyCode;
144
135
 
145
136
  if (keyCode === 27 && sheet.params.closeOnEscape) {
146
137
  sheet.close();
147
138
  }
148
139
  }
149
140
 
150
- var pushOffset;
141
+ let pushOffset;
151
142
 
152
143
  function pushViewScale(offset) {
153
144
  return (app.height - offset * 2) / app.height;
154
145
  }
155
146
 
156
- var isTouched = false;
157
- var startTouch;
158
- var currentTouch;
159
- var isScrolling;
160
- var touchStartTime;
161
- var touchesDiff;
162
- var isMoved = false;
163
- var isTopSheetModal;
164
- var swipeStepTranslate;
165
- var startTranslate;
166
- var currentTranslate;
167
- var sheetElOffsetHeight;
168
- var minTranslate;
169
- var maxTranslate;
170
- var $pushViewEl;
171
- var pushBorderRadius;
172
- var sheetPageContentEl;
173
- var sheetPageContentScrollTop;
174
- var sheetPageContentScrollHeight;
175
- var sheetPageContentOffsetHeight;
147
+ let isTouched = false;
148
+ let startTouch;
149
+ let currentTouch;
150
+ let isScrolling;
151
+ let touchStartTime;
152
+ let touchesDiff;
153
+ let isMoved = false;
154
+ let isTopSheetModal;
155
+ let swipeStepTranslate;
156
+ let startTranslate;
157
+ let currentTranslate;
158
+ let sheetElOffsetHeight;
159
+ let minTranslate;
160
+ let maxTranslate;
161
+ let $pushViewEl;
162
+ let pushBorderRadius;
163
+ let sheetPageContentEl;
164
+ let sheetPageContentScrollTop;
165
+ let sheetPageContentScrollHeight;
166
+ let sheetPageContentOffsetHeight;
176
167
 
177
168
  function handleTouchStart(e) {
178
169
  if (isTouched || !(sheet.params.swipeToClose || sheet.params.swipeToStep)) return;
@@ -214,7 +205,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
214
205
  }
215
206
 
216
207
  touchesDiff = startTouch.y - currentTouch.y;
217
- var direction = touchesDiff < 0 ? 'to-bottom' : 'to-top';
208
+ const direction = touchesDiff < 0 ? 'to-bottom' : 'to-top';
218
209
 
219
210
  if (!isMoved) {
220
211
  if (sheetPageContentEl && !$el.hasClass('modal-in-swipe-step')) {
@@ -253,7 +244,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
253
244
  e.preventDefault();
254
245
 
255
246
  if (sheet.push && pushOffset) {
256
- var progress = (currentTranslate - startTranslate) / sheetElOffsetHeight;
247
+ let progress = (currentTranslate - startTranslate) / sheetElOffsetHeight;
257
248
 
258
249
  if (sheet.params.swipeToStep) {
259
250
  if (isTopSheetModal) {
@@ -265,31 +256,31 @@ var Sheet = /*#__PURE__*/function (_Modal) {
265
256
 
266
257
  progress = Math.abs(progress);
267
258
  progress = Math.min(Math.max(progress, 0), 1);
268
- var pushProgress = 1 - progress;
269
- var scale = 1 - (1 - pushViewScale(pushOffset)) * pushProgress;
270
- $pushViewEl.transition(0).forEach(function (el) {
271
- el.style.setProperty('transform', "translate3d(0,0,0) scale(" + scale + ")", 'important');
259
+ const pushProgress = 1 - progress;
260
+ const scale = 1 - (1 - pushViewScale(pushOffset)) * pushProgress;
261
+ $pushViewEl.transition(0).forEach(el => {
262
+ el.style.setProperty('transform', `translate3d(0,0,0) scale(${scale})`, 'important');
272
263
  });
273
264
 
274
265
  if (sheet.params.swipeToStep) {
275
- $pushViewEl.css('border-radius', pushBorderRadius * pushProgress + "px");
266
+ $pushViewEl.css('border-radius', `${pushBorderRadius * pushProgress}px`);
276
267
  }
277
268
  }
278
269
 
279
- $el.transition(0).transform("translate3d(0," + currentTranslate + "px,0)");
270
+ $el.transition(0).transform(`translate3d(0,${currentTranslate}px,0)`);
280
271
 
281
272
  if (sheet.params.swipeToStep) {
282
- var _progress;
273
+ let progress;
283
274
 
284
275
  if (isTopSheetModal) {
285
- _progress = 1 - currentTranslate / swipeStepTranslate;
276
+ progress = 1 - currentTranslate / swipeStepTranslate;
286
277
  } else {
287
- _progress = (swipeStepTranslate - currentTranslate) / swipeStepTranslate;
278
+ progress = (swipeStepTranslate - currentTranslate) / swipeStepTranslate;
288
279
  }
289
280
 
290
- _progress = Math.min(Math.max(_progress, 0), 1);
291
- $el.trigger('sheet:stepprogress', _progress);
292
- sheet.emit('local::stepProgress sheetStepProgress', sheet, _progress);
281
+ progress = Math.min(Math.max(progress, 0), 1);
282
+ $el.trigger('sheet:stepprogress', progress);
283
+ sheet.emit('local::stepProgress sheetStepProgress', sheet, progress);
293
284
  }
294
285
  }
295
286
 
@@ -308,10 +299,10 @@ var Sheet = /*#__PURE__*/function (_Modal) {
308
299
  $pushViewEl.css('border-radius', '');
309
300
  }
310
301
 
311
- var direction = touchesDiff < 0 ? 'to-bottom' : 'to-top';
312
- var diff = Math.abs(touchesDiff);
302
+ const direction = touchesDiff < 0 ? 'to-bottom' : 'to-top';
303
+ const diff = Math.abs(touchesDiff);
313
304
  if (diff === 0 || currentTranslate === startTranslate) return;
314
- var timeDiff = new Date().getTime() - touchStartTime;
305
+ const timeDiff = new Date().getTime() - touchStartTime;
315
306
 
316
307
  if (!sheet.params.swipeToStep) {
317
308
  if (direction !== (isTopSheetModal ? 'to-top' : 'to-bottom')) {
@@ -325,10 +316,10 @@ var Sheet = /*#__PURE__*/function (_Modal) {
325
316
  return;
326
317
  }
327
318
 
328
- var openDirection = isTopSheetModal ? 'to-bottom' : 'to-top';
329
- var closeDirection = isTopSheetModal ? 'to-top' : 'to-bottom';
330
- var absCurrentTranslate = Math.abs(currentTranslate);
331
- var absSwipeStepTranslate = Math.abs(swipeStepTranslate);
319
+ const openDirection = isTopSheetModal ? 'to-bottom' : 'to-top';
320
+ const closeDirection = isTopSheetModal ? 'to-top' : 'to-bottom';
321
+ const absCurrentTranslate = Math.abs(currentTranslate);
322
+ const absSwipeStepTranslate = Math.abs(swipeStepTranslate);
332
323
 
333
324
  if (timeDiff < 300 && diff > 10) {
334
325
  if (direction === openDirection && absCurrentTranslate < absSwipeStepTranslate) {
@@ -385,7 +376,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
385
376
  }
386
377
 
387
378
  if (timeDiff >= 300) {
388
- var stepOpened = !$el.hasClass('modal-in-swipe-step');
379
+ const stepOpened = !$el.hasClass('modal-in-swipe-step');
389
380
 
390
381
  if (!stepOpened) {
391
382
  if (absCurrentTranslate < absSwipeStepTranslate / 2) {
@@ -427,12 +418,8 @@ var Sheet = /*#__PURE__*/function (_Modal) {
427
418
  }
428
419
  }
429
420
 
430
- sheet.setSwipeStep = function setSwipeStep(byResize) {
431
- if (byResize === void 0) {
432
- byResize = true;
433
- }
434
-
435
- var $swipeStepEl = $el.find('.sheet-modal-swipe-step').eq(0);
421
+ sheet.setSwipeStep = function setSwipeStep(byResize = true) {
422
+ const $swipeStepEl = $el.find('.sheet-modal-swipe-step').eq(0);
436
423
  if (!$swipeStepEl.length) return;
437
424
 
438
425
  if ($el.hasClass('sheet-modal-top')) {
@@ -441,7 +428,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
441
428
  swipeStepTranslate = $el[0].offsetHeight - ($swipeStepEl.offset().top - $el.offset().top + $swipeStepEl[0].offsetHeight);
442
429
  }
443
430
 
444
- $el[0].style.setProperty('--f7-sheet-swipe-step', swipeStepTranslate + "px");
431
+ $el[0].style.setProperty('--f7-sheet-swipe-step', `${swipeStepTranslate}px`);
445
432
 
446
433
  if (!byResize) {
447
434
  $el.addClass('modal-in-swipe-step');
@@ -453,7 +440,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
453
440
  sheet.setSwipeStep(true);
454
441
  }
455
442
 
456
- var passive = support.passiveListener ? {
443
+ const passive = support.passiveListener ? {
457
444
  passive: true
458
445
  } : false;
459
446
 
@@ -461,14 +448,14 @@ var Sheet = /*#__PURE__*/function (_Modal) {
461
448
  $el.on(app.touchEvents.start, handleTouchStart, passive);
462
449
  app.on('touchmove', handleTouchMove);
463
450
  app.on('touchend:passive', handleTouchEnd);
464
- sheet.once('sheetDestroy', function () {
451
+ sheet.once('sheetDestroy', () => {
465
452
  $el.off(app.touchEvents.start, handleTouchStart, passive);
466
453
  app.off('touchmove', handleTouchMove);
467
454
  app.off('touchend:passive', handleTouchEnd);
468
455
  });
469
456
  }
470
457
 
471
- sheet.on('open', function () {
458
+ sheet.on('open', () => {
472
459
  if (sheet.params.closeOnEscape) {
473
460
  $(document).on('keydown', onKeyDown);
474
461
  }
@@ -496,18 +483,18 @@ var Sheet = /*#__PURE__*/function (_Modal) {
496
483
  sheet.$htmlEl[0].style.setProperty('--f7-sheet-push-scale', pushViewScale(pushOffset));
497
484
  } else {
498
485
  $pushViewEl = app.$el.children('.view, .views');
499
- pushBorderRadius = parseFloat($el.css("border-" + (isTopSheetModal ? 'bottom' : 'top') + "-left-radius"));
486
+ pushBorderRadius = parseFloat($el.css(`border-${isTopSheetModal ? 'bottom' : 'top'}-left-radius`));
500
487
  $pushViewEl.css('border-radius', '0px');
501
488
  }
502
489
  }
503
490
  }
504
491
  });
505
- sheet.on('opened', function () {
492
+ sheet.on('opened', () => {
506
493
  if (sheet.params.closeByOutsideClick || sheet.params.closeByBackdropClick) {
507
494
  app.on('click', handleClick);
508
495
  }
509
496
  });
510
- sheet.on('close', function () {
497
+ sheet.on('close', () => {
511
498
  if (sheet.params.swipeToStep) {
512
499
  $el.removeClass('modal-in-swipe-step');
513
500
  sheet.emit('local::_swipeStep', false);
@@ -533,7 +520,7 @@ var Sheet = /*#__PURE__*/function (_Modal) {
533
520
  sheet.$htmlEl.addClass('with-modal-sheet-push-closing');
534
521
  }
535
522
  });
536
- sheet.on('closed', function () {
523
+ sheet.on('closed', () => {
537
524
  if (sheet.push && pushOffset) {
538
525
  sheet.$htmlEl.removeClass('with-modal-sheet-push-closing');
539
526
  sheet.$htmlEl[0].style.removeProperty('--f7-sheet-push-scale');
@@ -571,10 +558,9 @@ var Sheet = /*#__PURE__*/function (_Modal) {
571
558
  };
572
559
 
573
560
  $el[0].f7Modal = sheet;
574
- return sheet || _assertThisInitialized(_this);
561
+ return sheet;
575
562
  }
576
563
 
577
- return Sheet;
578
- }(Modal);
564
+ }
579
565
 
580
566
  export default Sheet;
@@ -1 +1 @@
1
- :root{--f7-sheet-height:260px;--f7-sheet-border-color:transparent;--f7-sheet-transition-duration:300ms;--f7-sheet-push-border-radius:10px;--f7-sheet-push-offset:var(--f7-safe-area-top);--f7-sheet-bg-color:#fff}:root .theme-dark,:root.theme-dark{--f7-sheet-bg-color:#202020}.ios{--f7-sheet-border-color:var(--f7-bars-border-color)}.sheet-backdrop{z-index:11000}.sheet-modal{position:absolute;left:0;bottom:0;width:100%;height:var(--f7-sheet-height);display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100%,0);background:var(--f7-sheet-bg-color);z-index:12500;will-change:transform,opacity}.sheet-modal.modal-in,.sheet-modal.modal-out{transition-duration:var(--f7-sheet-transition-duration)}.sheet-modal.not-animated{transition-duration:0s}.sheet-modal.modal-in{display:block;transform:translate3d(0,0,0)}.sheet-modal.modal-in-swipe-step{display:block;transform:translate3d(0,var(--f7-sheet-swipe-step,0),0)}.sheet-modal.modal-out{transform:translate3d(0,100%,0)}.sheet-modal .sheet-modal-inner{height:100%;position:relative;overflow:hidden}.sheet-modal .toolbar{--f7-safe-area-bottom:0px;position:relative;width:100%}.sheet-modal .toolbar:after,.sheet-modal .toolbar:before{display:none}.sheet-modal .toolbar+.sheet-modal-inner{height:calc(100% - var(--f7-toolbar-height))}.sheet-modal .toolbar+.sheet-modal-inner .page-content{--f7-page-toolbar-top-offset:0px;--f7-page-toolbar-bottom-offset:0px}.sheet-modal-top:after{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-top:after{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-bottom,.sheet-modal:not(.sheet-modal-top){--f7-safe-area-top:0px}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-top{--f7-safe-area-bottom:0px;bottom:auto;top:0;transform:translate3d(0,-100%,0)}.sheet-modal-top.modal-out{transform:translate3d(0,-100%,0)}.sheet-modal-top .toolbar-bottom{position:absolute}.sheet-modal-top .page-content{padding-top:var(--f7-safe-area-top)}html.with-modal-sheet-push .sheet-modal-push,html.with-modal-sheet-push-closing .sheet-modal-push{--f7-sheet-border-color:transparent;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;overflow:hidden}html.with-modal-sheet-push .sheet-modal-push .page,html.with-modal-sheet-push .sheet-modal-push .view,html.with-modal-sheet-push-closing .sheet-modal-push .page,html.with-modal-sheet-push-closing .sheet-modal-push .view{--f7-safe-area-top:0px}html.with-modal-sheet-push .sheet-modal-push.sheet-modal-top,html.with-modal-sheet-push-closing .sheet-modal-push.sheet-modal-top{border-radius:0 0 var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{background:#000}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push-closing .framework7-root>.view,html.with-modal-sheet-push-closing .framework7-root>.views{transition-duration:var(--f7-sheet-transition-duration)}html.with-modal-sheet-push .framework7-root>.view.theme-dark:after,html.with-modal-sheet-push .framework7-root>.views.theme-dark:after,html.with-modal-sheet-push .theme-dark .framework7-root>.view:after,html.with-modal-sheet-push .theme-dark .framework7-root>.views:after,html.with-modal-sheet-push .theme-dark.framework7-root>.view:after,html.with-modal-sheet-push .theme-dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .framework7-root>.view.theme-dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.theme-dark:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.views:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.views:after,html.with-modal-sheet-push.theme-dark .framework7-root>.view:after,html.with-modal-sheet-push.theme-dark .framework7-root>.views:after{content:'';position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;opacity:1;animation:sheet-dark-push-overlay-fade-in var(--f7-sheet-transition-duration) forwards}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views{border-radius:var(--f7-sheet-push-border-radius);transform:translate3d(0,0,0px) scale(var(--f7-sheet-push-scale,1))!important}html.with-modal-sheet-push-closing .framework7-root>.view.theme-dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.theme-dark:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.views:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.views:after{animation:sheet-dark-push-overlay-fade-out var(--f7-sheet-transition-duration) forwards}@keyframes sheet-dark-push-overlay-fade-in{from{opacity:0}to{opacity:1}}@keyframes sheet-dark-push-overlay-fade-out{from{opacity:1}to{opacity:0}}.md .sheet-modal .toolbar a.link:not(.tab-link){flex-shrink:0}
1
+ :root{--f7-sheet-height:260px;--f7-sheet-border-color:transparent;--f7-sheet-transition-duration:300ms;--f7-sheet-push-border-radius:10px;--f7-sheet-push-offset:var(--f7-safe-area-top);--f7-sheet-bg-color:#fff}:root .dark,:root.dark{--f7-sheet-bg-color:#202020}.ios{--f7-sheet-border-color:var(--f7-bars-border-color)}.sheet-backdrop{z-index:11000}.sheet-backdrop-unique{z-index:12500}.sheet-modal{position:absolute;left:0;bottom:0;width:100%;height:var(--f7-sheet-height);display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100%,0);background:var(--f7-sheet-bg-color);z-index:12500;will-change:transform,opacity}.sheet-modal.modal-in,.sheet-modal.modal-out{transition-duration:var(--f7-sheet-transition-duration)}.sheet-modal.not-animated{transition-duration:0s}.sheet-modal.modal-in{display:block;transform:translate3d(0,0,0)}.sheet-modal.modal-in-swipe-step{display:block;transform:translate3d(0,var(--f7-sheet-swipe-step,0),0)}.sheet-modal.modal-out{transform:translate3d(0,100%,0)}.sheet-modal .sheet-modal-inner{height:100%;position:relative;overflow:hidden}.sheet-modal .toolbar{--f7-safe-area-bottom:0px;position:relative;width:100%}.sheet-modal .toolbar:after,.sheet-modal .toolbar:before{display:none}.sheet-modal .toolbar+.sheet-modal-inner{height:calc(100% - var(--f7-toolbar-height))}.sheet-modal .toolbar+.sheet-modal-inner .page-content{--f7-page-toolbar-top-offset:0px;--f7-page-toolbar-bottom-offset:0px}.sheet-modal-top:after{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-top:after{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-bottom,.sheet-modal:not(.sheet-modal-top){--f7-safe-area-top:0px}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-top{--f7-safe-area-bottom:0px;bottom:auto;top:0;transform:translate3d(0,-100%,0)}.sheet-modal-top.modal-out{transform:translate3d(0,-100%,0)}.sheet-modal-top .toolbar-bottom{position:absolute}.sheet-modal-top .page-content{padding-top:var(--f7-safe-area-top)}html.with-modal-sheet-push .sheet-modal-push,html.with-modal-sheet-push-closing .sheet-modal-push{--f7-sheet-border-color:transparent;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;overflow:hidden}html.with-modal-sheet-push .sheet-modal-push .page,html.with-modal-sheet-push .sheet-modal-push .view,html.with-modal-sheet-push-closing .sheet-modal-push .page,html.with-modal-sheet-push-closing .sheet-modal-push .view{--f7-safe-area-top:0px}html.with-modal-sheet-push .sheet-modal-push.sheet-modal-top,html.with-modal-sheet-push-closing .sheet-modal-push.sheet-modal-top{border-radius:0 0 var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{background:#000}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push-closing .framework7-root>.view,html.with-modal-sheet-push-closing .framework7-root>.views{transition-duration:var(--f7-sheet-transition-duration)}html.with-modal-sheet-push .dark .framework7-root>.view:after,html.with-modal-sheet-push .dark .framework7-root>.views:after,html.with-modal-sheet-push .dark.framework7-root>.view:after,html.with-modal-sheet-push .dark.framework7-root>.views:after,html.with-modal-sheet-push .framework7-root>.view.dark:after,html.with-modal-sheet-push .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.dark .framework7-root>.views:after,html.with-modal-sheet-push.dark .framework7-root>.view:after,html.with-modal-sheet-push.dark .framework7-root>.views:after{content:'';position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;opacity:1;animation:sheet-dark-push-overlay-fade-in var(--f7-sheet-transition-duration) forwards}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views{border-radius:var(--f7-sheet-push-border-radius);transform:translate3d(0,0,0px) scale(var(--f7-sheet-push-scale,1))!important}html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.dark .framework7-root>.views:after{animation:sheet-dark-push-overlay-fade-out var(--f7-sheet-transition-duration) forwards}@keyframes sheet-dark-push-overlay-fade-in{from{opacity:0}to{opacity:1}}@keyframes sheet-dark-push-overlay-fade-out{from{opacity:1}to{opacity:0}}.md .sheet-modal .toolbar a.link:not(.tab-link){flex-shrink:0}
@@ -1 +1 @@
1
- :root{--f7-sheet-height:260px;--f7-sheet-border-color:transparent;--f7-sheet-transition-duration:300ms;--f7-sheet-push-border-radius:10px;--f7-sheet-push-offset:var(--f7-safe-area-top);--f7-sheet-bg-color:#fff}:root .theme-dark,:root.theme-dark{--f7-sheet-bg-color:#202020}.ios{--f7-sheet-border-color:var(--f7-bars-border-color)}.sheet-backdrop{z-index:11000}.sheet-modal{position:absolute;left:0;bottom:0;width:100%;height:var(--f7-sheet-height);display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100%,0);background:var(--f7-sheet-bg-color);z-index:12500;will-change:transform,opacity}.sheet-modal.modal-in,.sheet-modal.modal-out{transition-duration:var(--f7-sheet-transition-duration)}.sheet-modal.not-animated{transition-duration:0s}.sheet-modal.modal-in{display:block;transform:translate3d(0,0,0)}.sheet-modal.modal-in-swipe-step{display:block;transform:translate3d(0,var(--f7-sheet-swipe-step,0),0)}.sheet-modal.modal-out{transform:translate3d(0,100%,0)}.sheet-modal .sheet-modal-inner{height:100%;position:relative;overflow:hidden}.sheet-modal .toolbar{--f7-safe-area-bottom:0px;position:relative;width:100%}.sheet-modal .toolbar:after,.sheet-modal .toolbar:before{display:none}.sheet-modal .toolbar+.sheet-modal-inner{height:calc(100% - var(--f7-toolbar-height))}.sheet-modal .toolbar+.sheet-modal-inner .page-content{--f7-page-toolbar-top-offset:0px;--f7-page-toolbar-bottom-offset:0px}.sheet-modal-top:after{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-top:after{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-bottom,.sheet-modal:not(.sheet-modal-top){--f7-safe-area-top:0px}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-top{--f7-safe-area-bottom:0px;bottom:auto;top:0;transform:translate3d(0,-100%,0)}.sheet-modal-top.modal-out{transform:translate3d(0,-100%,0)}.sheet-modal-top .toolbar-bottom{position:absolute}.sheet-modal-top .page-content{padding-top:var(--f7-safe-area-top)}html.with-modal-sheet-push .sheet-modal-push,html.with-modal-sheet-push-closing .sheet-modal-push{--f7-sheet-border-color:transparent;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;overflow:hidden}html.with-modal-sheet-push .sheet-modal-push .page,html.with-modal-sheet-push .sheet-modal-push .view,html.with-modal-sheet-push-closing .sheet-modal-push .page,html.with-modal-sheet-push-closing .sheet-modal-push .view{--f7-safe-area-top:0px}html.with-modal-sheet-push .sheet-modal-push.sheet-modal-top,html.with-modal-sheet-push-closing .sheet-modal-push.sheet-modal-top{border-radius:0 0 var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{background:#000}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push-closing .framework7-root>.view,html.with-modal-sheet-push-closing .framework7-root>.views{transition-duration:var(--f7-sheet-transition-duration)}html.with-modal-sheet-push .framework7-root>.view.theme-dark:after,html.with-modal-sheet-push .framework7-root>.views.theme-dark:after,html.with-modal-sheet-push .theme-dark .framework7-root>.view:after,html.with-modal-sheet-push .theme-dark .framework7-root>.views:after,html.with-modal-sheet-push .theme-dark.framework7-root>.view:after,html.with-modal-sheet-push .theme-dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .framework7-root>.view.theme-dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.theme-dark:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.views:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.views:after,html.with-modal-sheet-push.theme-dark .framework7-root>.view:after,html.with-modal-sheet-push.theme-dark .framework7-root>.views:after{content:'';position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;opacity:1;animation:sheet-dark-push-overlay-fade-in var(--f7-sheet-transition-duration) forwards}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views{border-radius:var(--f7-sheet-push-border-radius);transform:translate3d(0,0,0px) scale(var(--f7-sheet-push-scale,1))!important}html.with-modal-sheet-push-closing .framework7-root>.view.theme-dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.theme-dark:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .theme-dark.framework7-root>.views:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.theme-dark .framework7-root>.views:after{animation:sheet-dark-push-overlay-fade-out var(--f7-sheet-transition-duration) forwards}@keyframes sheet-dark-push-overlay-fade-in{from{opacity:0}to{opacity:1}}@keyframes sheet-dark-push-overlay-fade-out{from{opacity:1}to{opacity:0}}.md .sheet-modal .toolbar a.link:not(.tab-link){flex-shrink:0}
1
+ :root{--f7-sheet-height:260px;--f7-sheet-border-color:transparent;--f7-sheet-transition-duration:300ms;--f7-sheet-push-border-radius:10px;--f7-sheet-push-offset:var(--f7-safe-area-top);--f7-sheet-bg-color:#fff}:root .dark,:root.dark{--f7-sheet-bg-color:#202020}.ios{--f7-sheet-border-color:var(--f7-bars-border-color)}.sheet-backdrop{z-index:11000}.sheet-backdrop-unique{z-index:12500}.sheet-modal{position:absolute;left:0;bottom:0;width:100%;height:var(--f7-sheet-height);display:none;box-sizing:border-box;transition-property:transform;transform:translate3d(0,100%,0);background:var(--f7-sheet-bg-color);z-index:12500;will-change:transform,opacity}.sheet-modal.modal-in,.sheet-modal.modal-out{transition-duration:var(--f7-sheet-transition-duration)}.sheet-modal.not-animated{transition-duration:0s}.sheet-modal.modal-in{display:block;transform:translate3d(0,0,0)}.sheet-modal.modal-in-swipe-step{display:block;transform:translate3d(0,var(--f7-sheet-swipe-step,0),0)}.sheet-modal.modal-out{transform:translate3d(0,100%,0)}.sheet-modal .sheet-modal-inner{height:100%;position:relative;overflow:hidden}.sheet-modal .toolbar{--f7-safe-area-bottom:0px;position:relative;width:100%}.sheet-modal .toolbar:after,.sheet-modal .toolbar:before{display:none}.sheet-modal .toolbar+.sheet-modal-inner{height:calc(100% - var(--f7-toolbar-height))}.sheet-modal .toolbar+.sheet-modal-inner .page-content{--f7-page-toolbar-top-offset:0px;--f7-page-toolbar-bottom-offset:0px}.sheet-modal-top:after{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:auto;right:auto;bottom:0;left:0;height:1px;width:100%;transform-origin:50% 100%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-top:after{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-bottom,.sheet-modal:not(.sheet-modal-top){--f7-safe-area-top:0px}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{content:'';position:absolute;background-color:var(--f7-sheet-border-color);display:block;z-index:15;top:0;right:auto;bottom:auto;left:0;height:1px;width:100%;transform-origin:50% 0%;transform:scaleY(calc(1 / var(--f7-device-pixel-ratio)))}.sheet-modal-bottom:before,.sheet-modal:not(.sheet-modal-top):before{z-index:700;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.sheet-modal-top{--f7-safe-area-bottom:0px;bottom:auto;top:0;transform:translate3d(0,-100%,0)}.sheet-modal-top.modal-out{transform:translate3d(0,-100%,0)}.sheet-modal-top .toolbar-bottom{position:absolute}.sheet-modal-top .page-content{padding-top:var(--f7-safe-area-top)}html.with-modal-sheet-push .sheet-modal-push,html.with-modal-sheet-push-closing .sheet-modal-push{--f7-sheet-border-color:transparent;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;overflow:hidden}html.with-modal-sheet-push .sheet-modal-push .page,html.with-modal-sheet-push .sheet-modal-push .view,html.with-modal-sheet-push-closing .sheet-modal-push .page,html.with-modal-sheet-push-closing .sheet-modal-push .view{--f7-safe-area-top:0px}html.with-modal-sheet-push .sheet-modal-push.sheet-modal-top,html.with-modal-sheet-push-closing .sheet-modal-push.sheet-modal-top{border-radius:0 0 var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{background:#000}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views,html.with-modal-sheet-push-closing .framework7-root>.view,html.with-modal-sheet-push-closing .framework7-root>.views{transition-duration:var(--f7-sheet-transition-duration)}html.with-modal-sheet-push .dark .framework7-root>.view:after,html.with-modal-sheet-push .dark .framework7-root>.views:after,html.with-modal-sheet-push .dark.framework7-root>.view:after,html.with-modal-sheet-push .dark.framework7-root>.views:after,html.with-modal-sheet-push .framework7-root>.view.dark:after,html.with-modal-sheet-push .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.dark .framework7-root>.views:after,html.with-modal-sheet-push.dark .framework7-root>.view:after,html.with-modal-sheet-push.dark .framework7-root>.views:after{content:'';position:absolute;pointer-events:none;left:0;top:0;width:100%;height:100%;background:rgba(255,255,255,.1);z-index:13000;border-radius:var(--f7-sheet-push-border-radius) var(--f7-sheet-push-border-radius) 0 0;opacity:1;animation:sheet-dark-push-overlay-fade-in var(--f7-sheet-transition-duration) forwards}html.with-modal-sheet-push .framework7-root>.view,html.with-modal-sheet-push .framework7-root>.views{border-radius:var(--f7-sheet-push-border-radius);transform:translate3d(0,0,0px) scale(var(--f7-sheet-push-scale,1))!important}html.with-modal-sheet-push-closing .dark .framework7-root>.view:after,html.with-modal-sheet-push-closing .dark .framework7-root>.views:after,html.with-modal-sheet-push-closing .dark.framework7-root>.view:after,html.with-modal-sheet-push-closing .dark.framework7-root>.views:after,html.with-modal-sheet-push-closing .framework7-root>.view.dark:after,html.with-modal-sheet-push-closing .framework7-root>.views.dark:after,html.with-modal-sheet-push-closing.dark .framework7-root>.view:after,html.with-modal-sheet-push-closing.dark .framework7-root>.views:after{animation:sheet-dark-push-overlay-fade-out var(--f7-sheet-transition-duration) forwards}@keyframes sheet-dark-push-overlay-fade-in{from{opacity:0}to{opacity:1}}@keyframes sheet-dark-push-overlay-fade-out{from{opacity:1}to{opacity:0}}.md .sheet-modal .toolbar a.link:not(.tab-link){flex-shrink:0}
@@ -29,6 +29,8 @@ export namespace Sheet {
29
29
  backdrop?: boolean;
30
30
  /** Backdrop element to share across instances */
31
31
  backdropEl?: HTMLElement | CSSSelector;
32
+ /** If enabled it creates unique backdrop element exclusively for this modal (default false) */
33
+ backdropUnique?: boolean;
32
34
  /** HTML element or string (with CSS selector) of element. If specified, then sheet will try to scroll page content to this element on open */
33
35
  scrollToEl?: HTMLElement | CSSSelector;
34
36
  /** When enabled, Sheet Modal will be closed on backdrop click. (default true) */
@@ -1 +1,69 @@
1
- (function framework7ComponentLoader(e,t){void 0===t&&(t=!0);var s=e.$,o=e.utils,r=e.getDevice,a=e.getSupport,p=(e.Class,e.Modal),l=(e.ConstructorMethods,e.ModalMethods),i=o.extend,n=o.now,c=o.getTranslate;function h(e){this.wrapped=e}function d(e){var t,s;function o(t,s){try{var a=e[t](s),p=a.value,l=p instanceof h;Promise.resolve(l?p.wrapped:p).then((function(e){l?o("return"===t?"return":"next",e):r(a.done?"return":"normal",e)}),(function(e){o("throw",e)}))}catch(e){r("throw",e)}}function r(e,r){switch(e){case"return":t.resolve({value:r,done:!0});break;case"throw":t.reject(r);break;default:t.resolve({value:r,done:!1})}(t=t.next)?o(t.key,t.arg):s=null}this._invoke=function(e,r){return new Promise((function(a,p){var l={key:e,arg:r,resolve:a,reject:p,next:null};s?s=s.next=l:(t=s=l,o(e,r))}))},"function"!=typeof e.return&&(this.return=void 0)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}d.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},d.prototype.next=function(e){return this._invoke("next",e)},d.prototype.throw=function(e){return this._invoke("throw",e)},d.prototype.return=function(e){return this._invoke("return",e)};var f=function(e){var t,o;function p(t,o){var p,l,h,d,m,f=i({on:{}},t.params.sheet,o),g=u(p=e.call(this,t,f)||this),v=a(),w=r();if(g.params=f,void 0===g.params.backdrop&&(g.params.backdrop="ios"!==t.theme),(l=g.params.el?s(g.params.el).eq(0):s(g.params.content).filter((function(e){return 1===e.nodeType})).eq(0))&&l.length>0&&l[0].f7Modal)return l[0].f7Modal||u(p);if(0===l.length)return g.destroy()||u(p);function y(e){var t=e.target,o=s(t);!w.desktop&&w.cordova&&(window.Keyboard&&window.Keyboard.isVisible||window.cordova.plugins&&window.cordova.plugins.Keyboard&&window.cordova.plugins.Keyboard.isVisible)||0===o.closest(g.el).length&&(g.params.closeByBackdropClick&&g.params.backdrop&&g.backdropEl&&g.backdropEl===t||g.params.closeByOutsideClick)&&g.close()}function b(e){27===e.keyCode&&g.params.closeOnEscape&&g.close()}function C(e){return(t.height-2*e)/t.height}g.params.backdrop&&g.params.backdropEl?h=s(g.params.backdropEl):g.params.backdrop&&0===(h=g.$containerEl.children(".sheet-backdrop")).length&&(h=s('<div class="sheet-backdrop"></div>'),g.$containerEl.append(h)),i(g,{app:t,push:l.hasClass("sheet-modal-push")||g.params.push,$el:l,el:l[0],$backdropEl:h,backdropEl:h&&h[0],type:"sheet",$htmlEl:s("html")}),g.params.push&&l.addClass("sheet-modal-push");var k,S,E,T,P,x,M,$,O,_,H,B,I,N,q,j,D,K,X=!1,Y=!1;function z(e){X||!g.params.swipeToClose&&!g.params.swipeToStep||g.params.swipeHandler&&0===s(e.target).closest(g.params.swipeHandler).length||(X=!0,Y=!1,k={x:"touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,y:"touchstart"===e.type?e.targetTouches[0].pageY:e.pageY},T=n(),E=void 0,x=l.hasClass("sheet-modal-top"),g.params.swipeHandler||"touchstart"!==e.type||(q=s(e.target).closest(".page-content")[0]))}function A(e){if(X){if(S={x:"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,y:"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY},void 0===E&&(E=!!(E||Math.abs(S.x-k.x)>Math.abs(S.y-k.y))),E)return X=!1,void(Y=!1);var s,o=(P=k.y-S.y)<0?"to-bottom":"to-top";if(!Y){if(q&&!l.hasClass("modal-in-swipe-step")&&(j=q.scrollTop,D=q.scrollHeight,K=q.offsetHeight,!(D===K||"to-bottom"===o&&0===j||"to-top"===o&&j===D-K)))return l.transform(""),X=!1,void(Y=!1);g.push&&m&&(I=t.$el.children(".view, .views")),_=l[0].offsetHeight,$=c(l[0],"y"),x?(H=g.params.swipeToClose?-_:-M,B=0):(H=0,B=g.params.swipeToClose?_:M),Y=!0}if(O=$-P,O=Math.min(Math.max(O,H),B),e.preventDefault(),g.push&&m){var r=(O-$)/_;g.params.swipeToStep&&(r=x?O/M:1-(M-O)/M),r=Math.abs(r);var a=1-(r=Math.min(Math.max(r,0),1)),p=1-(1-C(m))*a;I.transition(0).forEach((function(e){e.style.setProperty("transform","translate3d(0,0,0) scale("+p+")","important")})),g.params.swipeToStep&&I.css("border-radius",N*a+"px")}if(l.transition(0).transform("translate3d(0,"+O+"px,0)"),g.params.swipeToStep)s=x?1-O/M:(M-O)/M,s=Math.min(Math.max(s,0),1),l.trigger("sheet:stepprogress",s),g.emit("local::stepProgress sheetStepProgress",g,s)}}function L(){if(X=!1,Y){Y=!1,l.transform("").transition(""),g.push&&m&&(I.transition("").transform(""),I.css("border-radius",""));var e=P<0?"to-bottom":"to-top",t=Math.abs(P);if(0!==t&&O!==$){var s=(new Date).getTime()-T;if(g.params.swipeToStep){var o=x?"to-bottom":"to-top",r=x?"to-top":"to-bottom",a=Math.abs(O),p=Math.abs(M);if(s<300&&t>10)return e===o&&a<p&&(l.removeClass("modal-in-swipe-step"),l.trigger("sheet:stepprogress",1),g.emit("local::stepProgress sheetStepProgress",g,1),g.emit("local::_swipeStep",!1),l.trigger("sheet:stepopen"),g.emit("local::stepOpen sheetStepOpen",g),g.push&&m&&(g.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(m)),I.css("border-radius",""))),e===r&&a>p&&(g.params.swipeToClose?g.close():(l.addClass("modal-in-swipe-step"),l.trigger("sheet:stepprogress",0),g.emit("local::stepProgress sheetStepProgress",g,0),g.emit("local::_swipeStep",!0),l.trigger("sheet:stepclose"),g.emit("local::stepClose sheetStepClose",g),g.push&&m&&(g.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),I.css("border-radius","0px")))),void(e===r&&a<=p&&(l.addClass("modal-in-swipe-step"),l.trigger("sheet:stepprogress",0),g.emit("local::stepProgress sheetStepProgress",g,0),g.emit("local::_swipeStep",!0),l.trigger("sheet:stepclose"),g.emit("local::stepClose sheetStepClose",g),g.push&&m&&(g.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),I.css("border-radius","0px"))));if(s>=300){var i=!l.hasClass("modal-in-swipe-step");i?i&&(a>p+(_-p)/2?g.params.swipeToClose&&g.close():a>p/2&&(l.addClass("modal-in-swipe-step"),l.trigger("sheet:stepprogress",0),g.emit("local::stepProgress sheetStepProgress",g,0),g.emit("local::_swipeStep",!0),l.trigger("sheet:stepclose"),g.emit("local::stepClose sheetStepClose",g),g.push&&m&&(g.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),I.css("border-radius","0px")))):a<p/2?(l.removeClass("modal-in-swipe-step"),l.trigger("sheet:stepprogress",1),g.emit("local::stepProgress sheetStepProgress",g,1),g.emit("local::_swipeStep",!1),l.trigger("sheet:stepopen"),g.emit("local::stepOpen sheetStepOpen",g),g.push&&m&&(g.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(m)),I.css("border-radius",""))):a-p>(_-p)/2&&g.params.swipeToClose&&g.close()}}else{if(e!==(x?"to-top":"to-bottom"))return;(s<300&&t>20||s>=300&&t>_/2)&&g.close()}}}}function V(){g.setSwipeStep(!0)}g.setSwipeStep=function(e){void 0===e&&(e=!0);var t=l.find(".sheet-modal-swipe-step").eq(0);t.length&&(M=l.hasClass("sheet-modal-top")?-(t.offset().top-l.offset().top+t[0].offsetHeight):l[0].offsetHeight-(t.offset().top-l.offset().top+t[0].offsetHeight),l[0].style.setProperty("--f7-sheet-swipe-step",M+"px"),e||(l.addClass("modal-in-swipe-step"),g.emit("local::_swipeStep",!0)))};var F=!!v.passiveListener&&{passive:!0};return(g.params.swipeToClose||g.params.swipeToStep)&&(l.on(t.touchEvents.start,z,F),t.on("touchmove",A),t.on("touchend:passive",L),g.once("sheetDestroy",(function(){l.off(t.touchEvents.start,z,F),t.off("touchmove",A),t.off("touchend:passive",L)}))),g.on("open",(function(){g.params.closeOnEscape&&s(document).on("keydown",b),l.prevAll(".popup.modal-in").addClass("popup-behind"),g.params.swipeToStep&&(g.setSwipeStep(!1),t.on("resize",V)),g.params.scrollToEl&&function(){var e=s(g.params.scrollToEl).eq(0);if(0!==e.length&&0!==(d=e.parents(".page-content")).length){var t,o=parseInt(d.css("padding-top"),10),r=parseInt(d.css("padding-bottom"),10),a=d[0].offsetHeight-o-l.height(),p=d[0].scrollHeight-o-l.height(),i=d.scrollTop(),n=e.offset().top-o+e[0].offsetHeight;if(n>a){var c=i+n-a;c+a>p&&(t=c+a-p+r,a===p&&(t=l.height()),d.css({"padding-bottom":t+"px"})),d.scrollTop(c,300)}}}(),g.push&&(m=parseInt(l.css("--f7-sheet-push-offset"),10),Number.isNaN(m)&&(m=0),m&&(l.addClass("sheet-modal-push"),g.$htmlEl.addClass("with-modal-sheet-push"),g.params.swipeToStep?(I=t.$el.children(".view, .views"),N=parseFloat(l.css("border-"+(x?"bottom":"top")+"-left-radius")),I.css("border-radius","0px")):g.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(m))))})),g.on("opened",(function(){(g.params.closeByOutsideClick||g.params.closeByBackdropClick)&&t.on("click",y)})),g.on("close",(function(){g.params.swipeToStep&&(l.removeClass("modal-in-swipe-step"),g.emit("local::_swipeStep",!1),t.off("resize",V)),g.params.closeOnEscape&&s(document).off("keydown",b),g.params.scrollToEl&&d&&d.length>0&&d.css({"padding-bottom":""}),(g.params.closeByOutsideClick||g.params.closeByBackdropClick)&&t.off("click",y),l.prevAll(".popup.modal-in").eq(0).removeClass("popup-behind"),g.push&&m&&(g.$htmlEl.removeClass("with-modal-sheet-push"),g.$htmlEl.addClass("with-modal-sheet-push-closing"))})),g.on("closed",(function(){g.push&&m&&(g.$htmlEl.removeClass("with-modal-sheet-push-closing"),g.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"))})),g.stepOpen=function(){l.removeClass("modal-in-swipe-step"),g.emit("local::_swipeStep",!1),g.push&&(m||(m=parseInt(l.css("--f7-sheet-push-offset"),10),Number.isNaN(m)&&(m=0)),m&&g.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(m)))},g.stepClose=function(){l.addClass("modal-in-swipe-step"),g.emit("local::_swipeStep",!0),g.push&&g.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale")},g.stepToggle=function(){l.toggleClass("modal-in-swipe-step"),g.emit("local::_swipeStep",l.hasClass("modal-in-swipe-step"))},l[0].f7Modal=g,g||u(p)}return o=e,(t=p).prototype=Object.create(o.prototype),t.prototype.constructor=t,m(t,o),p}(p),g={name:"sheet",params:{sheet:{push:!1,backdrop:void 0,backdropEl:void 0,closeByBackdropClick:!0,closeByOutsideClick:!1,closeOnEscape:!1,swipeToClose:!1,swipeToStep:!1,swipeHandler:null,containerEl:null}},static:{Sheet:f},create:function(){var e=this;e.sheet=i({},l({app:e,constructor:f,defaultSelector:".sheet-modal.modal-in"}),{stepOpen:function(t){var s=e.sheet.get(t);if(s&&s.stepOpen)return s.stepOpen()},stepClose:function(t){var s=e.sheet.get(t);if(s&&s.stepClose)return s.stepClose()},stepToggle:function(t){var s=e.sheet.get(t);if(s&&s.stepToggle)return s.stepToggle()}})},clicks:{".sheet-open":function(e,t){void 0===t&&(t={});s(".sheet-modal.modal-in").length>0&&t.sheet&&s(t.sheet)[0]!==s(".sheet-modal.modal-in")[0]&&this.sheet.close(".sheet-modal.modal-in"),this.sheet.open(t.sheet,t.animate,e)},".sheet-close":function(e,t){void 0===t&&(t={});this.sheet.close(t.sheet,t.animate,e)}}};if(t){if(e.prototype.modules&&e.prototype.modules[g.name])return;e.use(g),e.instance&&(e.instance.useModuleParams(g,e.instance.params),e.instance.useModule(g))}return g}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))
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
+ export default {
6
+ name: 'sheet',
7
+ params: {
8
+ sheet: {
9
+ push: false,
10
+ backdrop: undefined,
11
+ backdropEl: undefined,
12
+ backdropUnique: false,
13
+ closeByBackdropClick: true,
14
+ closeByOutsideClick: false,
15
+ closeOnEscape: false,
16
+ swipeToClose: false,
17
+ swipeToStep: false,
18
+ swipeHandler: null,
19
+ containerEl: null
20
+ }
21
+ },
22
+ static: {
23
+ Sheet
24
+ },
25
+
26
+ create() {
27
+ const app = this;
28
+ app.sheet = extend({}, ModalMethods({
29
+ app,
30
+ constructor: Sheet,
31
+ defaultSelector: '.sheet-modal.modal-in'
32
+ }), {
33
+ stepOpen(sheet) {
34
+ const sheetInstance = app.sheet.get(sheet);
35
+ if (sheetInstance && sheetInstance.stepOpen) return sheetInstance.stepOpen();
36
+ return undefined;
37
+ },
38
+
39
+ stepClose(sheet) {
40
+ const sheetInstance = app.sheet.get(sheet);
41
+ if (sheetInstance && sheetInstance.stepClose) return sheetInstance.stepClose();
42
+ return undefined;
43
+ },
44
+
45
+ stepToggle(sheet) {
46
+ const sheetInstance = app.sheet.get(sheet);
47
+ if (sheetInstance && sheetInstance.stepToggle) return sheetInstance.stepToggle();
48
+ return undefined;
49
+ }
50
+
51
+ });
52
+ },
53
+
54
+ clicks: {
55
+ '.sheet-open': function openSheet($clickedEl, data = {}) {
56
+ const app = this;
57
+
58
+ if ($('.sheet-modal.modal-in').length > 0 && data.sheet && $(data.sheet)[0] !== $('.sheet-modal.modal-in')[0]) {
59
+ app.sheet.close('.sheet-modal.modal-in');
60
+ }
61
+
62
+ app.sheet.open(data.sheet, data.animate, $clickedEl);
63
+ },
64
+ '.sheet-close': function closeSheet($clickedEl, data = {}) {
65
+ const app = this;
66
+ app.sheet.close(data.sheet, data.animate, $clickedEl);
67
+ }
68
+ }
69
+ };
@@ -0,0 +1 @@
1
+ (function framework7ComponentLoader(e,s){void 0===s&&(s=!0);var t=e.$,o=e.utils,p=e.getDevice,a=e.getSupport,r=(e.Class,e.Modal),l=(e.ConstructorMethods,e.ModalMethods),i=o.extend,n=o.now,c=o.getTranslate;class h extends r{constructor(e,s){const o=i({on:{}},e.params.sheet,s);super(e,o);const r=this,l=getWindow(),h=getDocument(),m=a(),d=p();let u,g,f,w;if(r.params=o,void 0===r.params.backdrop&&(r.params.backdrop="ios"!==e.theme),u=r.params.el?t(r.params.el).eq(0):t(r.params.content).filter((e=>1===e.nodeType)).eq(0),u&&u.length>0&&u[0].f7Modal)return u[0].f7Modal;if(0===u.length)return r.destroy();function y(e){const s=e.target,o=t(s);!d.desktop&&d.cordova&&(l.Keyboard&&l.Keyboard.isVisible||l.cordova.plugins&&l.cordova.plugins.Keyboard&&l.cordova.plugins.Keyboard.isVisible)||0===o.closest(r.el).length&&(r.params.closeByBackdropClick&&r.params.backdrop&&r.backdropEl&&r.backdropEl===s||r.params.closeByOutsideClick)&&r.close()}function b(e){27===e.keyCode&&r.params.closeOnEscape&&r.close()}function C(s){return(e.height-2*s)/e.height}r.params.backdrop&&r.params.backdropEl?g=t(r.params.backdropEl):r.params.backdrop&&(r.params.backdropUnique?(g=t('<div class="sheet-backdrop sheet-backdrop-unique"></div>'),r.$containerEl.append(g)):g=r.$containerEl.children(".sheet-backdrop"),0===g.length&&(g=t('<div class="sheet-backdrop"></div>'),r.$containerEl.append(g))),i(r,{app:e,push:u.hasClass("sheet-modal-push")||r.params.push,$el:u,el:u[0],$backdropEl:g,backdropEl:g&&g[0],type:"sheet",$htmlEl:t("html")}),r.params.push&&u.addClass("sheet-modal-push");let v,S,k,E,T,$,P,M,x,O,H,B,_,q,N,D,I,K,X=!1,Y=!1;function z(e){X||!r.params.swipeToClose&&!r.params.swipeToStep||r.params.swipeHandler&&0===t(e.target).closest(r.params.swipeHandler).length||(X=!0,Y=!1,v={x:"touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,y:"touchstart"===e.type?e.targetTouches[0].pageY:e.pageY},E=n(),k=void 0,$=u.hasClass("sheet-modal-top"),r.params.swipeHandler||"touchstart"!==e.type||(N=t(e.target).closest(".page-content")[0]))}function A(s){if(!X)return;if(S={x:"touchmove"===s.type?s.targetTouches[0].pageX:s.pageX,y:"touchmove"===s.type?s.targetTouches[0].pageY:s.pageY},void 0===k&&(k=!!(k||Math.abs(S.x-v.x)>Math.abs(S.y-v.y))),k)return X=!1,void(Y=!1);T=v.y-S.y;const t=T<0?"to-bottom":"to-top";if(!Y){if(N&&!u.hasClass("modal-in-swipe-step")&&(D=N.scrollTop,I=N.scrollHeight,K=N.offsetHeight,!(I===K||"to-bottom"===t&&0===D||"to-top"===t&&D===I-K)))return u.transform(""),X=!1,void(Y=!1);r.push&&w&&(_=e.$el.children(".view, .views")),O=u[0].offsetHeight,M=c(u[0],"y"),$?(H=r.params.swipeToClose?-O:-P,B=0):(H=0,B=r.params.swipeToClose?O:P),Y=!0}if(x=M-T,x=Math.min(Math.max(x,H),B),s.preventDefault(),r.push&&w){let e=(x-M)/O;r.params.swipeToStep&&(e=$?x/P:1-(P-x)/P),e=Math.abs(e),e=Math.min(Math.max(e,0),1);const s=1-e,t=1-(1-C(w))*s;_.transition(0).forEach((e=>{e.style.setProperty("transform",`translate3d(0,0,0) scale(${t})`,"important")})),r.params.swipeToStep&&_.css("border-radius",q*s+"px")}if(u.transition(0).transform(`translate3d(0,${x}px,0)`),r.params.swipeToStep){let e;e=$?1-x/P:(P-x)/P,e=Math.min(Math.max(e,0),1),u.trigger("sheet:stepprogress",e),r.emit("local::stepProgress sheetStepProgress",r,e)}}function L(){if(X=!1,!Y)return;Y=!1,u.transform("").transition(""),r.push&&w&&(_.transition("").transform(""),_.css("border-radius",""));const e=T<0?"to-bottom":"to-top",s=Math.abs(T);if(0===s||x===M)return;const t=(new Date).getTime()-E;if(!r.params.swipeToStep){if(e!==($?"to-top":"to-bottom"))return;return void((t<300&&s>20||t>=300&&s>O/2)&&r.close())}const o=$?"to-bottom":"to-top",p=$?"to-top":"to-bottom",a=Math.abs(x),l=Math.abs(P);if(t<300&&s>10)return e===o&&a<l&&(u.removeClass("modal-in-swipe-step"),u.trigger("sheet:stepprogress",1),r.emit("local::stepProgress sheetStepProgress",r,1),r.emit("local::_swipeStep",!1),u.trigger("sheet:stepopen"),r.emit("local::stepOpen sheetStepOpen",r),r.push&&w&&(r.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(w)),_.css("border-radius",""))),e===p&&a>l&&(r.params.swipeToClose?r.close():(u.addClass("modal-in-swipe-step"),u.trigger("sheet:stepprogress",0),r.emit("local::stepProgress sheetStepProgress",r,0),r.emit("local::_swipeStep",!0),u.trigger("sheet:stepclose"),r.emit("local::stepClose sheetStepClose",r),r.push&&w&&(r.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),_.css("border-radius","0px")))),void(e===p&&a<=l&&(u.addClass("modal-in-swipe-step"),u.trigger("sheet:stepprogress",0),r.emit("local::stepProgress sheetStepProgress",r,0),r.emit("local::_swipeStep",!0),u.trigger("sheet:stepclose"),r.emit("local::stepClose sheetStepClose",r),r.push&&w&&(r.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),_.css("border-radius","0px"))));if(t>=300){const e=!u.hasClass("modal-in-swipe-step");e?e&&(a>l+(O-l)/2?r.params.swipeToClose&&r.close():a>l/2&&(u.addClass("modal-in-swipe-step"),u.trigger("sheet:stepprogress",0),r.emit("local::stepProgress sheetStepProgress",r,0),r.emit("local::_swipeStep",!0),u.trigger("sheet:stepclose"),r.emit("local::stepClose sheetStepClose",r),r.push&&w&&(r.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"),_.css("border-radius","0px")))):a<l/2?(u.removeClass("modal-in-swipe-step"),u.trigger("sheet:stepprogress",1),r.emit("local::stepProgress sheetStepProgress",r,1),r.emit("local::_swipeStep",!1),u.trigger("sheet:stepopen"),r.emit("local::stepOpen sheetStepOpen",r),r.push&&w&&(r.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(w)),_.css("border-radius",""))):a-l>(O-l)/2&&r.params.swipeToClose&&r.close()}}function U(){r.setSwipeStep(!0)}r.setSwipeStep=function(e=!0){const s=u.find(".sheet-modal-swipe-step").eq(0);s.length&&(P=u.hasClass("sheet-modal-top")?-(s.offset().top-u.offset().top+s[0].offsetHeight):u[0].offsetHeight-(s.offset().top-u.offset().top+s[0].offsetHeight),u[0].style.setProperty("--f7-sheet-swipe-step",`${P}px`),e||(u.addClass("modal-in-swipe-step"),r.emit("local::_swipeStep",!0)))};const V=!!m.passiveListener&&{passive:!0};return(r.params.swipeToClose||r.params.swipeToStep)&&(u.on(e.touchEvents.start,z,V),e.on("touchmove",A),e.on("touchend:passive",L),r.once("sheetDestroy",(()=>{u.off(e.touchEvents.start,z,V),e.off("touchmove",A),e.off("touchend:passive",L)}))),r.on("open",(()=>{r.params.closeOnEscape&&t(h).on("keydown",b),u.prevAll(".popup.modal-in").addClass("popup-behind"),r.params.swipeToStep&&(r.setSwipeStep(!1),e.on("resize",U)),r.params.scrollToEl&&function(){const e=t(r.params.scrollToEl).eq(0);if(0===e.length)return;if(f=e.parents(".page-content"),0===f.length)return;const s=parseInt(f.css("padding-top"),10),o=parseInt(f.css("padding-bottom"),10),p=f[0].offsetHeight-s-u.height(),a=f[0].scrollHeight-s-u.height(),l=f.scrollTop();let i;const n=e.offset().top-s+e[0].offsetHeight;if(n>p){const e=l+n-p;e+p>a&&(i=e+p-a+o,p===a&&(i=u.height()),f.css({"padding-bottom":`${i}px`})),f.scrollTop(e,300)}}(),r.push&&(w=parseInt(u.css("--f7-sheet-push-offset"),10),Number.isNaN(w)&&(w=0),w&&(u.addClass("sheet-modal-push"),r.$htmlEl.addClass("with-modal-sheet-push"),r.params.swipeToStep?(_=e.$el.children(".view, .views"),q=parseFloat(u.css(`border-${$?"bottom":"top"}-left-radius`)),_.css("border-radius","0px")):r.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(w))))})),r.on("opened",(()=>{(r.params.closeByOutsideClick||r.params.closeByBackdropClick)&&e.on("click",y)})),r.on("close",(()=>{r.params.swipeToStep&&(u.removeClass("modal-in-swipe-step"),r.emit("local::_swipeStep",!1),e.off("resize",U)),r.params.closeOnEscape&&t(h).off("keydown",b),r.params.scrollToEl&&f&&f.length>0&&f.css({"padding-bottom":""}),(r.params.closeByOutsideClick||r.params.closeByBackdropClick)&&e.off("click",y),u.prevAll(".popup.modal-in").eq(0).removeClass("popup-behind"),r.push&&w&&(r.$htmlEl.removeClass("with-modal-sheet-push"),r.$htmlEl.addClass("with-modal-sheet-push-closing"))})),r.on("closed",(()=>{r.push&&w&&(r.$htmlEl.removeClass("with-modal-sheet-push-closing"),r.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale"))})),r.stepOpen=function(){u.removeClass("modal-in-swipe-step"),r.emit("local::_swipeStep",!1),r.push&&(w||(w=parseInt(u.css("--f7-sheet-push-offset"),10),Number.isNaN(w)&&(w=0)),w&&r.$htmlEl[0].style.setProperty("--f7-sheet-push-scale",C(w)))},r.stepClose=function(){u.addClass("modal-in-swipe-step"),r.emit("local::_swipeStep",!0),r.push&&r.$htmlEl[0].style.removeProperty("--f7-sheet-push-scale")},r.stepToggle=function(){u.toggleClass("modal-in-swipe-step"),r.emit("local::_swipeStep",u.hasClass("modal-in-swipe-step"))},u[0].f7Modal=r,r}}var m={name:"sheet",params:{sheet:{push:!1,backdrop:void 0,backdropEl:void 0,backdropUnique:!1,closeByBackdropClick:!0,closeByOutsideClick:!1,closeOnEscape:!1,swipeToClose:!1,swipeToStep:!1,swipeHandler:null,containerEl:null}},static:{Sheet:h},create(){const e=this;e.sheet=i({},l({app:e,constructor:h,defaultSelector:".sheet-modal.modal-in"}),{stepOpen(s){const t=e.sheet.get(s);if(t&&t.stepOpen)return t.stepOpen()},stepClose(s){const t=e.sheet.get(s);if(t&&t.stepClose)return t.stepClose()},stepToggle(s){const t=e.sheet.get(s);if(t&&t.stepToggle)return t.stepToggle()}})},clicks:{".sheet-open":function(e,s={}){const o=this;t(".sheet-modal.modal-in").length>0&&s.sheet&&t(s.sheet)[0]!==t(".sheet-modal.modal-in")[0]&&o.sheet.close(".sheet-modal.modal-in"),o.sheet.open(s.sheet,s.animate,e)},".sheet-close":function(e,s={}){this.sheet.close(s.sheet,s.animate,e)}}};if(s){if(e.prototype.modules&&e.prototype.modules[m.name])return;e.use(m),e.instance&&(e.instance.useModuleParams(m,e.instance.params),e.instance.useModule(m))}return m}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))