framework7 6.3.4 → 7.0.0-beta.3

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 (811) hide show
  1. package/components/accordion/accordion.js +132 -1
  2. package/components/accordion/accordion.umd.js +1 -0
  3. package/components/actions/actions-class.js +365 -0
  4. package/components/actions/actions-rtl.css +1 -1
  5. package/components/actions/actions.css +1 -1
  6. package/components/actions/actions.js +42 -1
  7. package/components/actions/actions.umd.js +1 -0
  8. package/components/app/app-class.d.ts +10 -10
  9. package/{esm/components → components}/app/app-class.js +107 -140
  10. package/components/app/app.less +3 -3
  11. package/{esm/components → components}/app/load-module.js +32 -32
  12. package/components/appbar/appbar.js +3 -1
  13. package/components/appbar/appbar.umd.js +1 -0
  14. package/components/area-chart/area-chart-class.js +507 -0
  15. package/components/area-chart/area-chart-rtl.css +1 -1
  16. package/components/area-chart/area-chart.css +1 -1
  17. package/components/area-chart/area-chart.js +47 -1
  18. package/components/area-chart/area-chart.umd.js +1 -0
  19. package/{esm/components → components}/autocomplete/autocomplete-class.js +241 -253
  20. package/components/autocomplete/autocomplete-rtl.css +1 -1
  21. package/components/autocomplete/autocomplete.css +1 -1
  22. package/components/autocomplete/autocomplete.js +86 -1
  23. package/components/autocomplete/autocomplete.umd.js +1 -0
  24. package/{esm/components → components}/badge/badge.js +0 -0
  25. package/{esm/components → components}/block/block.js +0 -0
  26. package/{esm/components → components}/button/button.js +0 -0
  27. package/{esm/components → components}/calendar/calendar-class.js +676 -643
  28. package/components/calendar/calendar-rtl.css +1 -1
  29. package/components/calendar/calendar.css +1 -1
  30. package/components/calendar/calendar.js +111 -1
  31. package/components/calendar/calendar.umd.js +1 -0
  32. package/components/card/card-rtl.css +1 -1
  33. package/components/card/card.css +1 -1
  34. package/components/card/card.js +592 -1
  35. package/components/card/card.umd.js +1 -0
  36. package/components/checkbox/checkbox-rtl.css +1 -1
  37. package/components/checkbox/checkbox.css +1 -1
  38. package/components/checkbox/checkbox.js +3 -1
  39. package/components/checkbox/checkbox.umd.js +1 -0
  40. package/components/chip/chip-rtl.css +1 -1
  41. package/components/chip/chip.css +1 -1
  42. package/components/chip/chip.js +3 -1
  43. package/components/chip/chip.umd.js +1 -0
  44. package/{esm/components → components}/color-picker/color-picker-class.js +336 -349
  45. package/components/color-picker/color-picker-rtl.css +1 -1
  46. package/components/color-picker/color-picker.css +1 -1
  47. package/components/color-picker/color-picker.js +92 -1
  48. package/components/color-picker/color-picker.umd.js +1 -0
  49. package/{esm/components → components}/color-picker/modules/alpha-slider.js +30 -19
  50. package/{esm/components → components}/color-picker/modules/brightness-slider.js +35 -24
  51. package/{esm/components → components}/color-picker/modules/current-color.js +4 -2
  52. package/{esm/components → components}/color-picker/modules/hex.js +27 -16
  53. package/{esm/components → components}/color-picker/modules/hs-spectrum.js +37 -25
  54. package/{esm/components → components}/color-picker/modules/hsb-sliders.js +54 -41
  55. package/{esm/components → components}/color-picker/modules/hue-slider.js +29 -18
  56. package/{esm/components → components}/color-picker/modules/initial-current-colors.js +14 -9
  57. package/{esm/components → components}/color-picker/modules/palette.js +14 -11
  58. package/{esm/components → components}/color-picker/modules/rgb-bars.js +42 -29
  59. package/{esm/components → components}/color-picker/modules/rgb-sliders.js +47 -34
  60. package/{esm/components → components}/color-picker/modules/sb-spectrum.js +38 -26
  61. package/{esm/components → components}/color-picker/modules/wheel.js +59 -47
  62. package/components/contacts-list/contacts-list-rtl.css +1 -1
  63. package/components/contacts-list/contacts-list.css +1 -1
  64. package/components/contacts-list/contacts-list.js +3 -1
  65. package/components/contacts-list/contacts-list.umd.js +1 -0
  66. package/{esm/components → components}/data-table/data-table-class.js +40 -59
  67. package/components/data-table/data-table-rtl.css +1 -1
  68. package/components/data-table/data-table.css +1 -1
  69. package/components/data-table/data-table.js +72 -1
  70. package/components/data-table/data-table.umd.js +1 -0
  71. package/{esm/components → components}/dialog/dialog-class.js +58 -67
  72. package/components/dialog/dialog-rtl.css +1 -1
  73. package/components/dialog/dialog.css +1 -1
  74. package/components/dialog/dialog.js +254 -1
  75. package/components/dialog/dialog.umd.js +1 -0
  76. package/components/elevation/elevation.js +3 -1
  77. package/components/elevation/elevation.umd.js +1 -0
  78. package/components/fab/fab.js +181 -1
  79. package/components/fab/fab.umd.js +1 -0
  80. package/components/form/form.js +347 -1
  81. package/components/form/form.umd.js +1 -0
  82. package/components/gauge/gauge-class.js +306 -0
  83. package/components/gauge/gauge.js +99 -1
  84. package/components/gauge/gauge.umd.js +1 -0
  85. package/components/grid/grid-rtl.css +1 -1
  86. package/components/grid/grid.css +1 -1
  87. package/components/grid/grid.js +227 -1
  88. package/components/grid/grid.umd.js +1 -0
  89. package/{esm/components → components}/icon/icon.js +0 -0
  90. package/components/infinite-scroll/infinite-scroll.js +110 -1
  91. package/components/infinite-scroll/infinite-scroll.umd.js +1 -0
  92. package/components/input/input-rtl.css +1 -1
  93. package/components/input/input.css +1 -1
  94. package/components/input/input.js +394 -1
  95. package/components/input/input.less +1 -1
  96. package/components/input/input.umd.js +1 -0
  97. package/components/lazy/lazy.js +283 -1
  98. package/components/lazy/lazy.umd.js +1 -0
  99. package/{esm/components → components}/link/link.js +0 -0
  100. package/{esm/components → components}/list/list.js +0 -0
  101. package/{esm/components → components}/list-index/list-index-class.js +113 -121
  102. package/components/list-index/list-index-rtl.css +1 -1
  103. package/components/list-index/list-index.css +1 -1
  104. package/components/list-index/list-index.js +73 -1
  105. package/components/list-index/list-index.umd.js +1 -0
  106. package/components/login-screen/login-screen-class.js +43 -0
  107. package/components/login-screen/login-screen-rtl.css +1 -1
  108. package/components/login-screen/login-screen.css +1 -1
  109. package/components/login-screen/login-screen.js +28 -1
  110. package/components/login-screen/login-screen.less +1 -1
  111. package/components/login-screen/login-screen.umd.js +1 -0
  112. package/components/menu/menu.js +79 -1
  113. package/components/menu/menu.umd.js +1 -0
  114. package/{esm/components → components}/messagebar/messagebar-class.js +124 -152
  115. package/components/messagebar/messagebar-rtl.css +1 -1
  116. package/components/messagebar/messagebar.css +1 -1
  117. package/components/messagebar/messagebar.js +74 -1
  118. package/components/messagebar/messagebar.umd.js +1 -0
  119. package/{esm/components → components}/messages/messages-class.js +162 -242
  120. package/components/messages/messages-rtl.css +1 -1
  121. package/components/messages/messages.css +1 -1
  122. package/components/messages/messages.js +73 -1
  123. package/components/messages/messages.umd.js +1 -0
  124. package/{esm/components → components}/modal/custom-modal-class.js +16 -29
  125. package/{esm/components → components}/modal/modal-class.js +68 -83
  126. package/{esm/components → components}/modal/modal.js +8 -5
  127. package/{esm/components → components}/navbar/navbar.js +166 -171
  128. package/components/notification/notification-aurora.less +1 -1
  129. package/{esm/components → components}/notification/notification-class.js +65 -78
  130. package/components/notification/notification-ios.less +1 -1
  131. package/components/notification/notification-rtl.css +1 -1
  132. package/components/notification/notification.css +1 -1
  133. package/components/notification/notification.js +35 -1
  134. package/components/notification/notification.umd.js +1 -0
  135. package/components/page/page-vars.less +1 -1
  136. package/{esm/components → components}/page/page.js +0 -0
  137. package/{esm/components → components}/panel/panel-class.js +183 -214
  138. package/components/panel/panel-rtl.css +1 -1
  139. package/components/panel/panel.css +1 -1
  140. package/components/panel/panel.js +190 -1
  141. package/components/panel/panel.umd.js +1 -0
  142. package/{esm/components → components}/panel/resizable-panel.js +30 -28
  143. package/{esm/components → components}/panel/swipe-panel.js +46 -44
  144. package/{esm/components → components}/photo-browser/photo-browser-class.js +206 -234
  145. package/components/photo-browser/photo-browser.js +73 -1
  146. package/components/photo-browser/photo-browser.umd.js +1 -0
  147. package/{esm/components → components}/picker/picker-class.js +233 -233
  148. package/{esm/components → components}/picker/picker-column.js +70 -72
  149. package/components/picker/picker-rtl.css +1 -1
  150. package/components/picker/picker.css +1 -1
  151. package/components/picker/picker.js +64 -1
  152. package/components/picker/picker.umd.js +1 -0
  153. package/components/pie-chart/pie-chart-class.js +264 -0
  154. package/components/pie-chart/pie-chart.js +35 -1
  155. package/components/pie-chart/pie-chart.umd.js +1 -0
  156. package/{esm/components → components}/popover/popover-class.js +72 -97
  157. package/components/popover/popover-rtl.css +1 -1
  158. package/components/popover/popover.css +1 -1
  159. package/components/popover/popover.js +76 -1
  160. package/components/popover/popover.umd.js +1 -0
  161. package/{esm/components → components}/popup/popup-class.js +66 -81
  162. package/components/popup/popup-rtl.css +1 -1
  163. package/components/popup/popup.css +1 -1
  164. package/components/popup/popup.js +41 -1
  165. package/components/popup/popup.less +21 -21
  166. package/components/popup/popup.umd.js +1 -0
  167. package/components/preloader/preloader.js +115 -1
  168. package/components/preloader/preloader.umd.js +1 -0
  169. package/components/progressbar/progressbar-rtl.css +1 -1
  170. package/components/progressbar/progressbar.css +1 -1
  171. package/components/progressbar/progressbar.js +166 -1
  172. package/components/progressbar/progressbar.umd.js +1 -0
  173. package/{esm/components → components}/pull-to-refresh/pull-to-refresh-class.js +101 -118
  174. package/components/pull-to-refresh/pull-to-refresh.js +70 -1
  175. package/components/pull-to-refresh/pull-to-refresh.umd.js +1 -0
  176. package/components/radio/radio-rtl.css +1 -1
  177. package/components/radio/radio.css +1 -1
  178. package/components/radio/radio.js +3 -1
  179. package/components/radio/radio.umd.js +1 -0
  180. package/{esm/components → components}/range/range-class.js +191 -192
  181. package/components/range/range-rtl.css +1 -1
  182. package/components/range/range.css +1 -1
  183. package/components/range/range.js +79 -1
  184. package/components/range/range.umd.js +1 -0
  185. package/components/searchbar/remove-diacritics.js +275 -0
  186. package/{esm/components → components}/searchbar/searchbar-class.js +129 -146
  187. package/components/searchbar/searchbar-rtl.css +1 -1
  188. package/components/searchbar/searchbar.css +1 -1
  189. package/components/searchbar/searchbar.js +121 -1
  190. package/components/searchbar/searchbar.less +1 -1
  191. package/components/searchbar/searchbar.umd.js +1 -0
  192. package/{esm/components → components}/sheet/sheet-class.js +87 -106
  193. package/components/sheet/sheet-rtl.css +1 -1
  194. package/components/sheet/sheet.css +1 -1
  195. package/components/sheet/sheet.js +68 -1
  196. package/components/sheet/sheet.less +16 -16
  197. package/components/sheet/sheet.umd.js +1 -0
  198. package/components/skeleton/skeleton-rtl.css +1 -1
  199. package/components/skeleton/skeleton-vars.less +1 -1
  200. package/components/skeleton/skeleton.css +1 -1
  201. package/components/skeleton/skeleton.js +3 -1
  202. package/components/skeleton/skeleton.less +1 -1
  203. package/components/skeleton/skeleton.umd.js +1 -0
  204. package/{esm/components → components}/smart-select/smart-select-class.js +284 -296
  205. package/components/smart-select/smart-select.js +149 -1
  206. package/components/smart-select/smart-select.umd.js +1 -0
  207. package/components/sortable/sortable-rtl.css +1 -1
  208. package/components/sortable/sortable.css +1 -1
  209. package/components/sortable/sortable.js +293 -1
  210. package/components/sortable/sortable.umd.js +1 -0
  211. package/{esm/components → components}/statusbar/statusbar.js +48 -41
  212. package/{esm/components → components}/stepper/stepper-class.js +104 -115
  213. package/components/stepper/stepper-rtl.css +1 -1
  214. package/components/stepper/stepper.css +1 -1
  215. package/components/stepper/stepper.js +86 -1
  216. package/components/stepper/stepper.umd.js +1 -0
  217. package/{esm/components → components}/subnavbar/subnavbar.js +3 -2
  218. package/components/swipeout/swipeout-rtl.css +1 -1
  219. package/components/swipeout/swipeout.css +1 -1
  220. package/components/swipeout/swipeout.js +597 -1
  221. package/components/swipeout/swipeout.umd.js +1 -0
  222. package/components/swiper/swiper-rtl.css +1 -1
  223. package/components/swiper/swiper.css +1 -1
  224. package/components/swiper/swiper.js +191 -1
  225. package/components/swiper/swiper.less +1 -1
  226. package/components/swiper/swiper.umd.js +1 -0
  227. package/components/tabs/tabs.js +272 -1
  228. package/components/tabs/tabs.umd.js +1 -0
  229. package/{esm/components → components}/text-editor/text-editor-class.js +170 -182
  230. package/components/text-editor/text-editor-rtl.css +1 -1
  231. package/components/text-editor/text-editor.css +1 -1
  232. package/components/text-editor/text-editor.js +89 -1
  233. package/components/text-editor/text-editor.umd.js +1 -0
  234. package/components/timeline/timeline-rtl.css +1 -1
  235. package/components/timeline/timeline.css +1 -1
  236. package/components/timeline/timeline.js +3 -1
  237. package/components/timeline/timeline.umd.js +1 -0
  238. package/components/toast/toast-class.js +119 -0
  239. package/components/toast/toast.js +43 -1
  240. package/components/toast/toast.umd.js +1 -0
  241. package/{esm/components → components}/toggle/toggle-class.js +46 -63
  242. package/components/toggle/toggle-rtl.css +1 -1
  243. package/components/toggle/toggle.css +1 -1
  244. package/components/toggle/toggle.js +65 -1
  245. package/components/toggle/toggle.umd.js +1 -0
  246. package/{esm/components → components}/toolbar/toolbar.js +63 -59
  247. package/{esm/components → components}/tooltip/tooltip-class.js +95 -106
  248. package/components/tooltip/tooltip.js +144 -1
  249. package/components/tooltip/tooltip.umd.js +1 -0
  250. package/components/touch-ripple/touch-ripple-class.js +98 -0
  251. package/components/touch-ripple/touch-ripple-vars.less +1 -1
  252. package/components/touch-ripple/touch-ripple.js +18 -0
  253. package/components/treeview/treeview-rtl.css +1 -1
  254. package/components/treeview/treeview.css +1 -1
  255. package/components/treeview/treeview.js +83 -1
  256. package/components/treeview/treeview.umd.js +1 -0
  257. package/components/typography/typography.js +3 -1
  258. package/components/typography/typography.umd.js +1 -0
  259. package/{esm/components → components}/view/resizable-view.js +23 -21
  260. package/{esm/components → components}/view/view-class.js +48 -67
  261. package/{esm/components → components}/view/view.js +37 -28
  262. package/{esm/components → components}/virtual-list/virtual-list-class.js +153 -170
  263. package/components/virtual-list/virtual-list.js +19 -1
  264. package/components/virtual-list/virtual-list.umd.js +1 -0
  265. package/framework7-bundle-rtl.css +268 -852
  266. package/framework7-bundle-rtl.min.css +3 -3
  267. package/framework7-bundle.css +268 -852
  268. package/{esm/framework7-bundle.js → framework7-bundle.esm.js} +2 -2
  269. package/framework7-bundle.js +30782 -31429
  270. package/framework7-bundle.js.map +1 -1
  271. package/framework7-bundle.less +2 -2
  272. package/framework7-bundle.min.css +3 -3
  273. package/framework7-bundle.min.js +3 -3
  274. package/framework7-bundle.min.js.map +1 -1
  275. package/{esm/framework7-lite-bundle.js → framework7-lite-bundle.esm.js} +2 -2
  276. package/{esm/framework7-lite.js → framework7-lite.esm.js} +2 -2
  277. package/framework7-rtl.css +52 -56
  278. package/framework7-rtl.min.css +3 -3
  279. package/{types/types.d.ts → framework7-types.d.ts} +0 -0
  280. package/framework7.css +52 -56
  281. package/framework7.d.ts +81 -81
  282. package/{esm/framework7.js → framework7.esm.js} +2 -2
  283. package/framework7.js +3386 -4049
  284. package/framework7.js.map +1 -1
  285. package/framework7.less +2 -2
  286. package/framework7.min.css +3 -3
  287. package/framework7.min.js +3 -3
  288. package/framework7.min.js.map +1 -1
  289. package/less/mixins.less +2 -2
  290. package/{esm/modules → modules}/clicks/clicks.js +17 -16
  291. package/modules/component/$h.js +14 -0
  292. package/modules/component/$jsx.js +18 -0
  293. package/modules/component/component-class.js +382 -0
  294. package/modules/component/component.d.ts +2 -0
  295. package/{esm/modules → modules}/component/component.js +23 -17
  296. package/{esm/modules → modules}/component/custom-components.js +0 -0
  297. package/{esm/modules → modules}/component/eventslisteners.js +14 -18
  298. package/modules/component/parse-component.js +80 -0
  299. package/{esm/modules → modules}/component/patch.js +1 -1
  300. package/{esm/modules → modules}/component/snabbdom/h.js +0 -0
  301. package/{esm/modules → modules}/component/snabbdom/helpers/attachto.js +0 -0
  302. package/{esm/modules → modules}/component/snabbdom/hooks.js +0 -0
  303. package/{esm/modules → modules}/component/snabbdom/htmldomapi.js +0 -0
  304. package/{esm/modules → modules}/component/snabbdom/is.js +0 -0
  305. package/{esm/modules → modules}/component/snabbdom/modules/attributes.js +0 -0
  306. package/{esm/modules → modules}/component/snabbdom/modules/class.js +0 -0
  307. package/{esm/modules → modules}/component/snabbdom/modules/dataset.js +0 -0
  308. package/{esm/modules → modules}/component/snabbdom/modules/eventlisteners.js +0 -0
  309. package/{esm/modules → modules}/component/snabbdom/modules/hero.js +1 -1
  310. package/{esm/modules → modules}/component/snabbdom/modules/module.js +0 -0
  311. package/{esm/modules → modules}/component/snabbdom/modules/props.js +0 -0
  312. package/{esm/modules → modules}/component/snabbdom/modules/style.js +1 -1
  313. package/{esm/modules → modules}/component/snabbdom/snabbdom.bundle.js +0 -0
  314. package/{esm/modules → modules}/component/snabbdom/snabbdom.js +6 -18
  315. package/{esm/modules → modules}/component/snabbdom/thunk.js +0 -0
  316. package/{esm/modules → modules}/component/snabbdom/tovnode.js +0 -0
  317. package/{esm/modules → modules}/component/snabbdom/vnode.js +0 -0
  318. package/{esm/modules → modules}/component/vdom.js +106 -130
  319. package/{esm/modules → modules}/demo-module.js +15 -7
  320. package/{esm/modules → modules}/device/device.js +12 -11
  321. package/{esm/modules → modules}/history/history.js +2 -1
  322. package/{esm/modules → modules}/request/request.js +2 -2
  323. package/modules/resize/resize.js +65 -0
  324. package/{esm/modules → modules}/router/app-router-check.js +1 -1
  325. package/{esm/modules → modules}/router/async-component.js +3 -3
  326. package/{esm/modules → modules}/router/back.js +117 -117
  327. package/{esm/modules → modules}/router/clear-previous-history.js +8 -8
  328. package/modules/router/component-loader.js +174 -0
  329. package/{esm/modules → modules}/router/modal.js +49 -49
  330. package/{esm/modules → modules}/router/navigate.js +140 -221
  331. package/{esm/modules → modules}/router/process-route-queue.js +20 -17
  332. package/{esm/modules → modules}/router/redirect.js +7 -11
  333. package/{esm/modules → modules}/router/router-class.js +411 -432
  334. package/{esm/modules → modules}/router/router.js +5 -3
  335. package/{esm/modules → modules}/router/swipe-back.js +143 -177
  336. package/{esm/modules → modules}/router/tab.js +46 -46
  337. package/{esm/modules → modules}/service-worker/service-worker.js +41 -37
  338. package/modules/store/create-store.js +149 -0
  339. package/{esm/modules → modules}/store/store.js +2 -2
  340. package/{esm/modules → modules}/support/support.js +1 -1
  341. package/{esm/modules → modules}/touch/touch.js +71 -70
  342. package/{esm/modules → modules}/utils/utils.js +2 -2
  343. package/package.json +252 -11
  344. package/shared/$jsx.js +22 -0
  345. package/shared/class.js +143 -0
  346. package/shared/constructor-methods.js +42 -0
  347. package/{esm/shared → shared}/dom7.js +2 -1
  348. package/shared/events-class.js +100 -0
  349. package/{types/shared → shared}/get-device.d.ts +0 -0
  350. package/{esm/shared → shared}/get-device.js +32 -37
  351. package/{types/shared → shared}/get-support.d.ts +0 -0
  352. package/{esm/shared → shared}/get-support.js +7 -6
  353. package/{esm/shared → shared}/history.js +61 -47
  354. package/shared/modal-methods.js +90 -0
  355. package/{types/shared → shared}/request.d.ts +0 -0
  356. package/shared/request.js +474 -0
  357. package/{types/shared → shared}/utils.d.ts +0 -0
  358. package/{esm/shared → shared}/utils.js +125 -162
  359. package/bundle/package.json +0 -8
  360. package/cjs/components/accordion/accordion.js +0 -136
  361. package/cjs/components/actions/actions-class.js +0 -383
  362. package/cjs/components/actions/actions.js +0 -58
  363. package/cjs/components/app/app-class.js +0 -378
  364. package/cjs/components/app/load-module.js +0 -155
  365. package/cjs/components/appbar/appbar.js +0 -8
  366. package/cjs/components/area-chart/area-chart-class.js +0 -526
  367. package/cjs/components/area-chart/area-chart.js +0 -56
  368. package/cjs/components/autocomplete/autocomplete-class.js +0 -975
  369. package/cjs/components/autocomplete/autocomplete.js +0 -93
  370. package/cjs/components/badge/badge.js +0 -8
  371. package/cjs/components/block/block.js +0 -8
  372. package/cjs/components/button/button.js +0 -8
  373. package/cjs/components/calendar/calendar-class.js +0 -2078
  374. package/cjs/components/calendar/calendar.js +0 -124
  375. package/cjs/components/card/card.js +0 -625
  376. package/cjs/components/checkbox/checkbox.js +0 -8
  377. package/cjs/components/chip/chip.js +0 -8
  378. package/cjs/components/color-picker/color-picker-class.js +0 -1022
  379. package/cjs/components/color-picker/color-picker.js +0 -105
  380. package/cjs/components/color-picker/modules/alpha-slider.js +0 -101
  381. package/cjs/components/color-picker/modules/brightness-slider.js +0 -86
  382. package/cjs/components/color-picker/modules/current-color.js +0 -23
  383. package/cjs/components/color-picker/modules/hex.js +0 -81
  384. package/cjs/components/color-picker/modules/hs-spectrum.js +0 -137
  385. package/cjs/components/color-picker/modules/hsb-sliders.js +0 -206
  386. package/cjs/components/color-picker/modules/hue-slider.js +0 -78
  387. package/cjs/components/color-picker/modules/initial-current-colors.js +0 -54
  388. package/cjs/components/color-picker/modules/palette.js +0 -61
  389. package/cjs/components/color-picker/modules/rgb-bars.js +0 -196
  390. package/cjs/components/color-picker/modules/rgb-sliders.js +0 -198
  391. package/cjs/components/color-picker/modules/sb-spectrum.js +0 -137
  392. package/cjs/components/color-picker/modules/wheel.js +0 -198
  393. package/cjs/components/contacts-list/contacts-list.js +0 -8
  394. package/cjs/components/data-table/data-table-class.js +0 -188
  395. package/cjs/components/data-table/data-table.js +0 -75
  396. package/cjs/components/dialog/dialog-class.js +0 -250
  397. package/cjs/components/dialog/dialog.js +0 -297
  398. package/cjs/components/elevation/elevation.js +0 -8
  399. package/cjs/components/fab/fab.js +0 -195
  400. package/cjs/components/form/form.js +0 -341
  401. package/cjs/components/gauge/gauge-class.js +0 -332
  402. package/cjs/components/gauge/gauge.js +0 -103
  403. package/cjs/components/grid/grid.js +0 -233
  404. package/cjs/components/icon/icon.js +0 -8
  405. package/cjs/components/infinite-scroll/infinite-scroll.js +0 -111
  406. package/cjs/components/input/input.js +0 -396
  407. package/cjs/components/lazy/lazy.js +0 -283
  408. package/cjs/components/link/link.js +0 -8
  409. package/cjs/components/list/list.js +0 -8
  410. package/cjs/components/list-index/list-index-class.js +0 -405
  411. package/cjs/components/list-index/list-index.js +0 -77
  412. package/cjs/components/login-screen/login-screen-class.js +0 -68
  413. package/cjs/components/login-screen/login-screen.js +0 -44
  414. package/cjs/components/menu/menu.js +0 -92
  415. package/cjs/components/messagebar/messagebar-class.js +0 -446
  416. package/cjs/components/messagebar/messagebar.js +0 -78
  417. package/cjs/components/messages/messages-class.js +0 -633
  418. package/cjs/components/messages/messages.js +0 -76
  419. package/cjs/components/modal/custom-modal-class.js +0 -99
  420. package/cjs/components/modal/modal-class.js +0 -277
  421. package/cjs/components/modal/modal.js +0 -32
  422. package/cjs/components/navbar/navbar.js +0 -833
  423. package/cjs/components/notification/notification-class.js +0 -269
  424. package/cjs/components/notification/notification.js +0 -44
  425. package/cjs/components/page/page.js +0 -8
  426. package/cjs/components/panel/panel-class.js +0 -660
  427. package/cjs/components/panel/panel.js +0 -219
  428. package/cjs/components/panel/resizable-panel.js +0 -197
  429. package/cjs/components/panel/swipe-panel.js +0 -363
  430. package/cjs/components/photo-browser/photo-browser-class.js +0 -781
  431. package/cjs/components/photo-browser/photo-browser.js +0 -78
  432. package/cjs/components/picker/picker-class.js +0 -704
  433. package/cjs/components/picker/picker-column.js +0 -389
  434. package/cjs/components/picker/picker.js +0 -77
  435. package/cjs/components/pie-chart/pie-chart-class.js +0 -290
  436. package/cjs/components/pie-chart/pie-chart.js +0 -44
  437. package/cjs/components/popover/popover-class.js +0 -365
  438. package/cjs/components/popover/popover.js +0 -93
  439. package/cjs/components/popup/popup-class.js +0 -416
  440. package/cjs/components/popup/popup.js +0 -57
  441. package/cjs/components/preloader/preloader.js +0 -111
  442. package/cjs/components/progressbar/progressbar.js +0 -185
  443. package/cjs/components/pull-to-refresh/pull-to-refresh-class.js +0 -627
  444. package/cjs/components/pull-to-refresh/pull-to-refresh.js +0 -74
  445. package/cjs/components/radio/radio.js +0 -8
  446. package/cjs/components/range/range-class.js +0 -674
  447. package/cjs/components/range/range.js +0 -93
  448. package/cjs/components/searchbar/remove-diacritics.js +0 -283
  449. package/cjs/components/searchbar/searchbar-class.js +0 -739
  450. package/cjs/components/searchbar/searchbar.js +0 -141
  451. package/cjs/components/sheet/sheet-class.js +0 -583
  452. package/cjs/components/sheet/sheet.js +0 -83
  453. package/cjs/components/skeleton/skeleton.js +0 -8
  454. package/cjs/components/smart-select/smart-select-class.js +0 -1005
  455. package/cjs/components/smart-select/smart-select.js +0 -151
  456. package/cjs/components/sortable/sortable.js +0 -322
  457. package/cjs/components/statusbar/statusbar.js +0 -226
  458. package/cjs/components/stepper/stepper-class.js +0 -497
  459. package/cjs/components/stepper/stepper.js +0 -96
  460. package/cjs/components/subnavbar/subnavbar.js +0 -28
  461. package/cjs/components/swipeout/swipeout.js +0 -618
  462. package/cjs/components/swiper/swiper.js +0 -189
  463. package/cjs/components/tabs/tabs.js +0 -296
  464. package/cjs/components/text-editor/text-editor-class.js +0 -627
  465. package/cjs/components/text-editor/text-editor.js +0 -93
  466. package/cjs/components/timeline/timeline.js +0 -8
  467. package/cjs/components/toast/toast-class.js +0 -142
  468. package/cjs/components/toast/toast.js +0 -51
  469. package/cjs/components/toggle/toggle-class.js +0 -213
  470. package/cjs/components/toggle/toggle.js +0 -72
  471. package/cjs/components/toolbar/toolbar.js +0 -234
  472. package/cjs/components/tooltip/tooltip-class.js +0 -409
  473. package/cjs/components/tooltip/tooltip.js +0 -146
  474. package/cjs/components/touch-ripple/touch-ripple-class.js +0 -110
  475. package/cjs/components/touch-ripple/touch-ripple.js +0 -34
  476. package/cjs/components/treeview/treeview.js +0 -88
  477. package/cjs/components/typography/typography.js +0 -8
  478. package/cjs/components/view/resizable-view.js +0 -155
  479. package/cjs/components/view/view-class.js +0 -251
  480. package/cjs/components/view/view.js +0 -196
  481. package/cjs/components/virtual-list/virtual-list-class.js +0 -654
  482. package/cjs/components/virtual-list/virtual-list.js +0 -27
  483. package/cjs/framework7-bundle.js +0 -208
  484. package/cjs/framework7-lite-bundle.js +0 -191
  485. package/cjs/framework7-lite.js +0 -87
  486. package/cjs/framework7.js +0 -98
  487. package/cjs/modules/clicks/clicks.js +0 -115
  488. package/cjs/modules/component/$h.js +0 -31
  489. package/cjs/modules/component/$jsx.js +0 -31
  490. package/cjs/modules/component/component-class.js +0 -415
  491. package/cjs/modules/component/component.js +0 -58
  492. package/cjs/modules/component/custom-components.js +0 -6
  493. package/cjs/modules/component/eventslisteners.js +0 -90
  494. package/cjs/modules/component/parse-component.js +0 -80
  495. package/cjs/modules/component/patch.js +0 -21
  496. package/cjs/modules/component/snabbdom/h.js +0 -72
  497. package/cjs/modules/component/snabbdom/helpers/attachto.js +0 -62
  498. package/cjs/modules/component/snabbdom/hooks.js +0 -1
  499. package/cjs/modules/component/snabbdom/htmldomapi.js +0 -90
  500. package/cjs/modules/component/snabbdom/is.js +0 -11
  501. package/cjs/modules/component/snabbdom/modules/attributes.js +0 -61
  502. package/cjs/modules/component/snabbdom/modules/class.js +0 -38
  503. package/cjs/modules/component/snabbdom/modules/dataset.js +0 -47
  504. package/cjs/modules/component/snabbdom/modules/eventlisteners.js +0 -106
  505. package/cjs/modules/component/snabbdom/modules/hero.js +0 -193
  506. package/cjs/modules/component/snabbdom/modules/module.js +0 -1
  507. package/cjs/modules/component/snabbdom/modules/props.js +0 -40
  508. package/cjs/modules/component/snabbdom/modules/style.js +0 -116
  509. package/cjs/modules/component/snabbdom/snabbdom.bundle.js +0 -33
  510. package/cjs/modules/component/snabbdom/snabbdom.js +0 -374
  511. package/cjs/modules/component/snabbdom/thunk.js +0 -66
  512. package/cjs/modules/component/snabbdom/tovnode.js +0 -57
  513. package/cjs/modules/component/snabbdom/vnode.js +0 -20
  514. package/cjs/modules/component/vdom.js +0 -393
  515. package/cjs/modules/demo-module.js +0 -49
  516. package/cjs/modules/device/device.js +0 -56
  517. package/cjs/modules/history/history.js +0 -21
  518. package/cjs/modules/request/request.js +0 -20
  519. package/cjs/modules/resize/resize.js +0 -72
  520. package/cjs/modules/router/app-router-check.js +0 -10
  521. package/cjs/modules/router/async-component.js +0 -33
  522. package/cjs/modules/router/back.js +0 -899
  523. package/cjs/modules/router/clear-previous-history.js +0 -50
  524. package/cjs/modules/router/component-loader.js +0 -140
  525. package/cjs/modules/router/modal.js +0 -254
  526. package/cjs/modules/router/navigate.js +0 -1054
  527. package/cjs/modules/router/process-route-queue.js +0 -80
  528. package/cjs/modules/router/redirect.js +0 -52
  529. package/cjs/modules/router/router-class.js +0 -1500
  530. package/cjs/modules/router/router.js +0 -36
  531. package/cjs/modules/router/swipe-back.js +0 -735
  532. package/cjs/modules/router/tab.js +0 -264
  533. package/cjs/modules/service-worker/service-worker.js +0 -101
  534. package/cjs/modules/store/create-store.js +0 -169
  535. package/cjs/modules/store/store.js +0 -21
  536. package/cjs/modules/support/support.js +0 -14
  537. package/cjs/modules/touch/touch.js +0 -585
  538. package/cjs/modules/utils/utils.js +0 -21
  539. package/cjs/shared/$jsx.js +0 -39
  540. package/cjs/shared/class.js +0 -206
  541. package/cjs/shared/constructor-methods.js +0 -73
  542. package/cjs/shared/dom7.js +0 -17
  543. package/cjs/shared/events-class.js +0 -125
  544. package/cjs/shared/get-device.js +0 -157
  545. package/cjs/shared/get-support.js +0 -44
  546. package/cjs/shared/history.js +0 -185
  547. package/cjs/shared/modal-methods.js +0 -105
  548. package/cjs/shared/request.js +0 -552
  549. package/cjs/shared/utils.js +0 -472
  550. package/components/accordion/package.json +0 -9
  551. package/components/actions/package.json +0 -9
  552. package/components/app/package.json +0 -9
  553. package/components/appbar/package.json +0 -9
  554. package/components/area-chart/package.json +0 -9
  555. package/components/autocomplete/package.json +0 -9
  556. package/components/badge/package.json +0 -9
  557. package/components/block/package.json +0 -9
  558. package/components/button/package.json +0 -9
  559. package/components/calendar/package.json +0 -9
  560. package/components/card/package.json +0 -9
  561. package/components/checkbox/package.json +0 -9
  562. package/components/chip/package.json +0 -9
  563. package/components/color-picker/package.json +0 -9
  564. package/components/contacts-list/package.json +0 -9
  565. package/components/data-table/package.json +0 -9
  566. package/components/dialog/package.json +0 -9
  567. package/components/elevation/package.json +0 -9
  568. package/components/fab/package.json +0 -9
  569. package/components/form/package.json +0 -9
  570. package/components/gauge/package.json +0 -9
  571. package/components/grid/package.json +0 -9
  572. package/components/icon/package.json +0 -9
  573. package/components/infinite-scroll/package.json +0 -9
  574. package/components/input/package.json +0 -9
  575. package/components/lazy/package.json +0 -9
  576. package/components/link/package.json +0 -9
  577. package/components/list/package.json +0 -9
  578. package/components/list-index/package.json +0 -9
  579. package/components/login-screen/package.json +0 -9
  580. package/components/menu/package.json +0 -9
  581. package/components/messagebar/package.json +0 -9
  582. package/components/messages/package.json +0 -9
  583. package/components/modal/package.json +0 -9
  584. package/components/navbar/package.json +0 -9
  585. package/components/notification/package.json +0 -9
  586. package/components/page/package.json +0 -9
  587. package/components/panel/package.json +0 -9
  588. package/components/photo-browser/package.json +0 -9
  589. package/components/picker/package.json +0 -9
  590. package/components/pie-chart/package.json +0 -9
  591. package/components/popover/package.json +0 -9
  592. package/components/popup/package.json +0 -9
  593. package/components/preloader/package.json +0 -9
  594. package/components/progressbar/package.json +0 -9
  595. package/components/pull-to-refresh/package.json +0 -9
  596. package/components/radio/package.json +0 -9
  597. package/components/range/package.json +0 -9
  598. package/components/searchbar/package.json +0 -9
  599. package/components/sheet/package.json +0 -9
  600. package/components/skeleton/package.json +0 -9
  601. package/components/smart-select/package.json +0 -9
  602. package/components/sortable/package.json +0 -9
  603. package/components/statusbar/package.json +0 -9
  604. package/components/stepper/package.json +0 -9
  605. package/components/subnavbar/package.json +0 -9
  606. package/components/swipeout/package.json +0 -9
  607. package/components/swiper/package.json +0 -9
  608. package/components/tabs/package.json +0 -9
  609. package/components/text-editor/package.json +0 -9
  610. package/components/timeline/package.json +0 -9
  611. package/components/toast/package.json +0 -9
  612. package/components/toggle/package.json +0 -9
  613. package/components/toolbar/package.json +0 -9
  614. package/components/tooltip/package.json +0 -9
  615. package/components/touch-ripple/package.json +0 -9
  616. package/components/treeview/package.json +0 -9
  617. package/components/typography/package.json +0 -9
  618. package/components/view/package.json +0 -9
  619. package/components/virtual-list/package.json +0 -9
  620. package/core/package.json +0 -8
  621. package/esm/components/accordion/accordion.js +0 -126
  622. package/esm/components/actions/actions-class.js +0 -373
  623. package/esm/components/actions/actions.js +0 -48
  624. package/esm/components/appbar/appbar.js +0 -3
  625. package/esm/components/area-chart/area-chart-class.js +0 -517
  626. package/esm/components/area-chart/area-chart.js +0 -45
  627. package/esm/components/autocomplete/autocomplete.js +0 -82
  628. package/esm/components/calendar/calendar.js +0 -113
  629. package/esm/components/card/card.js +0 -612
  630. package/esm/components/checkbox/checkbox.js +0 -3
  631. package/esm/components/chip/chip.js +0 -3
  632. package/esm/components/color-picker/color-picker.js +0 -94
  633. package/esm/components/contacts-list/contacts-list.js +0 -3
  634. package/esm/components/data-table/data-table.js +0 -64
  635. package/esm/components/dialog/dialog.js +0 -286
  636. package/esm/components/elevation/elevation.js +0 -3
  637. package/esm/components/fab/fab.js +0 -185
  638. package/esm/components/form/form.js +0 -330
  639. package/esm/components/gauge/gauge-class.js +0 -323
  640. package/esm/components/gauge/gauge.js +0 -91
  641. package/esm/components/grid/grid.js +0 -223
  642. package/esm/components/infinite-scroll/infinite-scroll.js +0 -101
  643. package/esm/components/input/input.js +0 -384
  644. package/esm/components/lazy/lazy.js +0 -271
  645. package/esm/components/list-index/list-index.js +0 -65
  646. package/esm/components/login-screen/login-screen-class.js +0 -58
  647. package/esm/components/login-screen/login-screen.js +0 -34
  648. package/esm/components/menu/menu.js +0 -82
  649. package/esm/components/messagebar/messagebar.js +0 -66
  650. package/esm/components/messages/messages.js +0 -65
  651. package/esm/components/notification/notification.js +0 -33
  652. package/esm/components/panel/panel.js +0 -208
  653. package/esm/components/photo-browser/photo-browser.js +0 -68
  654. package/esm/components/picker/picker.js +0 -66
  655. package/esm/components/pie-chart/pie-chart-class.js +0 -281
  656. package/esm/components/pie-chart/pie-chart.js +0 -33
  657. package/esm/components/popover/popover.js +0 -81
  658. package/esm/components/popup/popup.js +0 -47
  659. package/esm/components/preloader/preloader.js +0 -101
  660. package/esm/components/progressbar/progressbar.js +0 -175
  661. package/esm/components/pull-to-refresh/pull-to-refresh.js +0 -62
  662. package/esm/components/radio/radio.js +0 -3
  663. package/esm/components/range/range.js +0 -81
  664. package/esm/components/searchbar/remove-diacritics.js +0 -277
  665. package/esm/components/searchbar/searchbar.js +0 -129
  666. package/esm/components/sheet/sheet.js +0 -71
  667. package/esm/components/skeleton/skeleton.js +0 -3
  668. package/esm/components/smart-select/smart-select.js +0 -139
  669. package/esm/components/sortable/sortable.js +0 -310
  670. package/esm/components/stepper/stepper.js +0 -84
  671. package/esm/components/swipeout/swipeout.js +0 -606
  672. package/esm/components/swiper/swiper.js +0 -177
  673. package/esm/components/tabs/tabs.js +0 -286
  674. package/esm/components/text-editor/text-editor.js +0 -81
  675. package/esm/components/timeline/timeline.js +0 -3
  676. package/esm/components/toast/toast-class.js +0 -132
  677. package/esm/components/toast/toast.js +0 -40
  678. package/esm/components/toggle/toggle.js +0 -61
  679. package/esm/components/tooltip/tooltip.js +0 -135
  680. package/esm/components/touch-ripple/touch-ripple-class.js +0 -103
  681. package/esm/components/touch-ripple/touch-ripple.js +0 -25
  682. package/esm/components/treeview/treeview.js +0 -78
  683. package/esm/components/typography/typography.js +0 -3
  684. package/esm/components/virtual-list/virtual-list.js +0 -17
  685. package/esm/modules/component/$h.js +0 -20
  686. package/esm/modules/component/$jsx.js +0 -24
  687. package/esm/modules/component/component-class.js +0 -402
  688. package/esm/modules/component/parse-component.js +0 -70
  689. package/esm/modules/resize/resize.js +0 -64
  690. package/esm/modules/router/component-loader.js +0 -133
  691. package/esm/modules/store/create-store.js +0 -164
  692. package/esm/shared/$jsx.js +0 -33
  693. package/esm/shared/class.js +0 -197
  694. package/esm/shared/constructor-methods.js +0 -65
  695. package/esm/shared/events-class.js +0 -119
  696. package/esm/shared/modal-methods.js +0 -95
  697. package/esm/shared/request.js +0 -545
  698. package/lite/package.json +0 -8
  699. package/lite-bundle/package.json +0 -8
  700. package/modules/clicks/package.json +0 -9
  701. package/modules/component/package.json +0 -9
  702. package/modules/device/package.json +0 -9
  703. package/modules/history/package.json +0 -9
  704. package/modules/request/package.json +0 -9
  705. package/modules/resize/package.json +0 -9
  706. package/modules/router/package.json +0 -9
  707. package/modules/service-worker/package.json +0 -9
  708. package/modules/store/package.json +0 -9
  709. package/modules/support/package.json +0 -9
  710. package/modules/touch/package.json +0 -9
  711. package/modules/utils/package.json +0 -9
  712. package/types/components/accordion/accordion.d.ts +0 -55
  713. package/types/components/actions/actions.d.ts +0 -158
  714. package/types/components/app/app-class.d.ts +0 -196
  715. package/types/components/appbar/appbar.d.ts +0 -10
  716. package/types/components/area-chart/area-chart.d.ts +0 -124
  717. package/types/components/autocomplete/autocomplete.d.ts +0 -191
  718. package/types/components/badge/badge.d.ts +0 -10
  719. package/types/components/block/block.d.ts +0 -10
  720. package/types/components/button/button.d.ts +0 -10
  721. package/types/components/calendar/calendar.d.ts +0 -304
  722. package/types/components/card/card.d.ts +0 -65
  723. package/types/components/checkbox/checkbox.d.ts +0 -10
  724. package/types/components/chip/chip.d.ts +0 -10
  725. package/types/components/color-picker/color-picker.d.ts +0 -229
  726. package/types/components/contacts-list/contacts-list.d.ts +0 -10
  727. package/types/components/data-table/data-table.d.ts +0 -57
  728. package/types/components/dialog/dialog.d.ts +0 -241
  729. package/types/components/elevation/elevation.d.ts +0 -10
  730. package/types/components/fab/fab.d.ts +0 -28
  731. package/types/components/form/form.d.ts +0 -60
  732. package/types/components/gauge/gauge.d.ts +0 -96
  733. package/types/components/grid/grid.d.ts +0 -17
  734. package/types/components/icon/icon.d.ts +0 -10
  735. package/types/components/infinite-scroll/infinite-scroll.d.ts +0 -23
  736. package/types/components/input/input.d.ts +0 -56
  737. package/types/components/lazy/lazy.d.ts +0 -53
  738. package/types/components/link/link.d.ts +0 -10
  739. package/types/components/list/list.d.ts +0 -10
  740. package/types/components/list-index/list-index.d.ts +0 -99
  741. package/types/components/login-screen/login-screen.d.ts +0 -95
  742. package/types/components/menu/menu.d.ts +0 -28
  743. package/types/components/messagebar/messagebar.d.ts +0 -161
  744. package/types/components/messages/messages.d.ts +0 -158
  745. package/types/components/modal/modal.d.ts +0 -78
  746. package/types/components/navbar/navbar.d.ts +0 -75
  747. package/types/components/notification/notification.d.ts +0 -118
  748. package/types/components/page/page.d.ts +0 -10
  749. package/types/components/panel/panel.d.ts +0 -194
  750. package/types/components/photo-browser/photo-browser.d.ts +0 -194
  751. package/types/components/picker/picker.d.ts +0 -216
  752. package/types/components/pie-chart/pie-chart.d.ts +0 -95
  753. package/types/components/popover/popover.d.ts +0 -127
  754. package/types/components/popup/popup.d.ts +0 -135
  755. package/types/components/preloader/preloader.d.ts +0 -18
  756. package/types/components/progressbar/progressbar.d.ts +0 -27
  757. package/types/components/pull-to-refresh/pull-to-refresh.d.ts +0 -99
  758. package/types/components/radio/radio.d.ts +0 -10
  759. package/types/components/range/range.d.ts +0 -121
  760. package/types/components/searchbar/searchbar.d.ts +0 -157
  761. package/types/components/sheet/sheet.d.ts +0 -149
  762. package/types/components/skeleton/skeleton.d.ts +0 -10
  763. package/types/components/smart-select/smart-select.d.ts +0 -199
  764. package/types/components/sortable/sortable.d.ts +0 -46
  765. package/types/components/statusbar/statusbar.d.ts +0 -50
  766. package/types/components/stepper/stepper.d.ts +0 -117
  767. package/types/components/subnavbar/subnavbar.d.ts +0 -11
  768. package/types/components/swipeout/swipeout.d.ts +0 -68
  769. package/types/components/swiper/swiper.d.ts +0 -21
  770. package/types/components/tabs/tabs.d.ts +0 -39
  771. package/types/components/text-editor/text-editor.d.ts +0 -162
  772. package/types/components/timeline/timeline.d.ts +0 -10
  773. package/types/components/toast/toast.d.ts +0 -117
  774. package/types/components/toggle/toggle.d.ts +0 -69
  775. package/types/components/toolbar/toolbar.d.ts +0 -43
  776. package/types/components/tooltip/tooltip.d.ts +0 -101
  777. package/types/components/touch-ripple/touch-ripple.d.ts +0 -21
  778. package/types/components/treeview/treeview.d.ts +0 -38
  779. package/types/components/typography/typography.d.ts +0 -10
  780. package/types/components/view/view.d.ts +0 -205
  781. package/types/components/virtual-list/virtual-list.d.ts +0 -138
  782. package/types/modules/clicks/clicks.d.ts +0 -19
  783. package/types/modules/component/component.d.ts +0 -94
  784. package/types/modules/component/snabbdom/h.d.ts +0 -10
  785. package/types/modules/component/snabbdom/helpers/attachto.d.ts +0 -9
  786. package/types/modules/component/snabbdom/hooks.d.ts +0 -23
  787. package/types/modules/component/snabbdom/htmldomapi.d.ts +0 -19
  788. package/types/modules/component/snabbdom/is.d.ts +0 -2
  789. package/types/modules/component/snabbdom/modules/attributes.d.ts +0 -4
  790. package/types/modules/component/snabbdom/modules/class.d.ts +0 -4
  791. package/types/modules/component/snabbdom/modules/dataset.d.ts +0 -4
  792. package/types/modules/component/snabbdom/modules/eventlisteners.d.ts +0 -8
  793. package/types/modules/component/snabbdom/modules/hero.d.ts +0 -6
  794. package/types/modules/component/snabbdom/modules/module.d.ts +0 -9
  795. package/types/modules/component/snabbdom/modules/props.d.ts +0 -4
  796. package/types/modules/component/snabbdom/modules/style.d.ts +0 -7
  797. package/types/modules/component/snabbdom/snabbdom.bundle.d.ts +0 -5
  798. package/types/modules/component/snabbdom/snabbdom.d.ts +0 -6
  799. package/types/modules/component/snabbdom/thunk.d.ts +0 -14
  800. package/types/modules/component/snabbdom/tovnode.d.ts +0 -4
  801. package/types/modules/component/snabbdom/vnode.d.ts +0 -36
  802. package/types/modules/device/device.d.ts +0 -14
  803. package/types/modules/request/request.d.ts +0 -15
  804. package/types/modules/resize/resize.d.ts +0 -25
  805. package/types/modules/router/router.d.ts +0 -356
  806. package/types/modules/service-worker/service-worker.d.ts +0 -38
  807. package/types/modules/store/store.d.ts +0 -40
  808. package/types/modules/support/support.d.ts +0 -15
  809. package/types/modules/touch/touch.d.ts +0 -62
  810. package/types/modules/utils/utils.d.ts +0 -15
  811. package/types/package.json +0 -6
@@ -1 +1 @@
1
- :root{--f7-panel-width:260px;--f7-panel-bg-color:#fff}.ios{--f7-panel-collapsed-width:58px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0);--f7-panel-transition-duration:400ms;--f7-panel-shadow:transparent}.md{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.aurora{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.panel-backdrop{position:absolute;left:0;top:var(--f7-appbar-app-offset,0px);width:100%;height:calc(100% - var(--f7-appbar-app-offset,0px));opacity:0;z-index:5999;visibility:hidden;pointer-events:none;transform:translate3d(0,0,0);background-color:var(--f7-panel-backdrop-bg-color);transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel-backdrop .with-panel,.panel-backdrop .with-panel-closing{visibility:visible}.panel-backdrop.not-animated{transition-duration:0s!important}.panel{z-index:1000;box-sizing:border-box;position:absolute;top:var(--f7-appbar-app-offset,0px);height:calc(100% - var(--f7-appbar-app-offset,0px));transform:translate3d(0,0,0);width:var(--f7-panel-width);background-color:var(--f7-panel-bg-color);overflow:visible;transition-property:transform;transition-duration:var(--f7-panel-transition-duration)}.panel:not(.panel-in):not(.panel-out):not(.panel-in-breakpoint):not(.panel-in-collapsed):not(.panel-in-swipe){display:none}.panel:after{pointer-events:none;opacity:0;z-index:5999;position:absolute;content:'';top:0;width:20px;height:100%;transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel.not-animated,.panel.not-animated:after{transition-duration:0s!important}.panel.panel-reveal.not-animated~.view,.panel.panel-reveal.not-animated~.views{transition-duration:0s!important}.panel.panel-resizing{-webkit-user-select:none;-moz-user-select:none;user-select:none}.panel.panel-resizing,.panel.panel-resizing:after,.panel.panel-resizing~.view,.panel.panel-resizing~.views{transition-duration:0s!important}.panel-cover{z-index:6000}.panel-left{left:0;width:var(--f7-panel-left-width,var(--f7-panel-width))}.panel-left.panel-cover,.panel-left.panel-push{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0)}.panel-left.panel-cover:after,.panel-left.panel-push:after{left:100%;background:linear-gradient(to right,var(--f7-panel-shadow))}.with-panel-left-cover .panel-left.panel-cover:after,.with-panel-left-cover .panel-left.panel-push:after{opacity:1}.panel-left.panel-reveal:after{right:0;transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0);background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-left-reveal .panel-left.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-right{right:0;width:var(--f7-panel-right-width,var(--f7-panel-width))}.panel-right.panel-cover,.panel-right.panel-push{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.panel-right.panel-cover:after,.panel-right.panel-push:after{right:100%;background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-right-cover .panel-right.panel-cover:after,.with-panel-right-cover .panel-right.panel-push:after{opacity:1}.panel-right.panel-reveal:after{left:0;background:linear-gradient(to right,var(--f7-panel-shadow));transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.with-panel-right-reveal .panel-right.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-in-breakpoint{transform:translate3d(0,0,0)!important;transition-duration:0s}.panel-in-breakpoint:after{display:none}.panel-in-breakpoint.panel-cover{z-index:5900}html.with-panel-closing .framework7-root>.view,html.with-panel-closing .views,html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views,html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}html.with-panel .framework7-root>.view .page-content,html.with-panel .framework7-root>.views .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.page>.panel-backdrop{z-index:290}.page .panel-push,.page>.panel-reveal{z-index:1}.page>.panel-cover{z-index:300}.page.with-panel-closing>.page-content,.page.with-panel-closing>.tabs,.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-closing .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:0}.with-panel-left-cover .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in,.with-panel-right-cover .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:1}.with-panel-left-push .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.with-panel-right-push .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-left-cover .panel-left,.with-panel-left-push .panel-left{transform:translate3d(0px,0,0)}.with-panel-right-cover .panel-right,.with-panel-right-push .panel-right{transform:translate3d(0px,0,0)}.panel-resize-handler{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;z-index:6000;display:none}.panel-resizable .panel-resize-handler{display:block}.panel-left.panel-cover .panel-resize-handler{right:-3px}.panel-left.panel-push .panel-resize-handler,.panel-resize-handler .panel-left.panel-reveal{right:0}.panel-right.panel-cover .panel-resize-handler{left:-3px}.panel-resize-handler .panel-right.panel-reveal,.panel-right.panel-push .panel-resize-handler{left:0}.panel-left.panel-in-collapsed~.page-content,.panel-left.panel-in-collapsed~.tabs,.panel-left.panel-in-collapsed~.view,.panel-left.panel-in-collapsed~.views{margin-left:var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.page-content,.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.tabs,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.view,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-left-width,var(--f7-panel-width)) - var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))),0,0)}.panel-right.panel-in-collapsed~.page-content,.panel-right.panel-in-collapsed~.tabs,.panel-right.panel-in-collapsed~.view,.panel-right.panel-in-collapsed~.views{margin-right:var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.page-content,.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.tabs,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.view,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width)) - var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{--f7-panelPushScale:var(--f7-popup-push-scale);--f7-panelPushTransitionDuration:var(--f7-popup-transition-duration);--f7-panelPushBorderRadius:var(--f7-popup-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{--f7-panelPushScale:var(--f7-sheet-push-scale);--f7-panelPushTransitionDuration:var(--f7-sheet-transition-duration);--f7-panelPushBorderRadius:var(--f7-sheet-push-border-radius)}html.with-modal-popup-push .framework7-root>.panel-in,html.with-modal-popup-push .framework7-root>.panel-out,html.with-modal-sheet-push .framework7-root>.panel-in,html.with-modal-sheet-push .framework7-root>.panel-out{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left{transform:scale(var(--f7-panelPushScale,1));transform-origin:50vw center;border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left .view{border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right{transform:scale(var(--f7-panelPushScale,1));transform-origin:calc(var(--f7-panel-left-width,var(--f7-panel-width)) - 50vw) center;border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right .view{border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-left{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0px)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-right{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0px)}html.with-modal-popup-push-closing .framework7-root>.panel-in,html.with-modal-sheet-push-closing .framework7-root>.panel-in{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-left{transform-origin:50vw center}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-right{transform-origin:calc(var(--f7-panel-right-width,var(--f7-panel-width)) - 50vw) center}
1
+ :root{--f7-panel-width:260px;--f7-panel-bg-color:#fff}.ios{--f7-panel-collapsed-width:58px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0);--f7-panel-transition-duration:400ms;--f7-panel-shadow:transparent}.md{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.aurora{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.panel-backdrop{position:absolute;left:0;top:var(--f7-appbar-app-offset,0px);width:100%;height:calc(100% - var(--f7-appbar-app-offset,0px));opacity:0;z-index:5999;visibility:hidden;pointer-events:none;transform:translate3d(0,0,0);background-color:var(--f7-panel-backdrop-bg-color);transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel-backdrop .with-panel,.panel-backdrop .with-panel-closing{visibility:visible}.panel-backdrop.not-animated{transition-duration:0s!important}.panel{z-index:1000;box-sizing:border-box;position:absolute;top:var(--f7-appbar-app-offset,0px);height:calc(100% - var(--f7-appbar-app-offset,0px));transform:translate3d(0,0,0);width:var(--f7-panel-width);background-color:var(--f7-panel-bg-color);overflow:visible;transition-property:transform;transition-duration:var(--f7-panel-transition-duration)}.panel:not(.panel-in):not(.panel-out):not(.panel-in-breakpoint):not(.panel-in-collapsed):not(.panel-in-swipe){display:none}.panel:after{pointer-events:none;opacity:0;z-index:5999;position:absolute;content:'';top:0;width:20px;height:100%;transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel.not-animated,.panel.not-animated:after{transition-duration:0s!important}.panel.panel-reveal.not-animated~.view,.panel.panel-reveal.not-animated~.views{transition-duration:0s!important}.panel.panel-resizing{-webkit-user-select:none;user-select:none}.panel.panel-resizing,.panel.panel-resizing:after,.panel.panel-resizing~.view,.panel.panel-resizing~.views{transition-duration:0s!important}.panel-cover{z-index:6000}.panel-left{left:0;width:var(--f7-panel-left-width,var(--f7-panel-width))}.panel-left.panel-cover,.panel-left.panel-push{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0)}.panel-left.panel-cover:after,.panel-left.panel-push:after{left:100%;background:linear-gradient(to right,var(--f7-panel-shadow))}.with-panel-left-cover .panel-left.panel-cover:after,.with-panel-left-cover .panel-left.panel-push:after{opacity:1}.panel-left.panel-reveal:after{right:0;transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0);background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-left-reveal .panel-left.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-right{right:0;width:var(--f7-panel-right-width,var(--f7-panel-width))}.panel-right.panel-cover,.panel-right.panel-push{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.panel-right.panel-cover:after,.panel-right.panel-push:after{right:100%;background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-right-cover .panel-right.panel-cover:after,.with-panel-right-cover .panel-right.panel-push:after{opacity:1}.panel-right.panel-reveal:after{left:0;background:linear-gradient(to right,var(--f7-panel-shadow));transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.with-panel-right-reveal .panel-right.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-in-breakpoint{transform:translate3d(0,0,0)!important;transition-duration:0s}.panel-in-breakpoint:after{display:none}.panel-in-breakpoint.panel-cover{z-index:5900}html.with-panel-closing .framework7-root>.view,html.with-panel-closing .views,html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views,html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}html.with-panel .framework7-root>.view .page-content,html.with-panel .framework7-root>.views .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.page>.panel-backdrop{z-index:290}.page .panel-push,.page>.panel-reveal{z-index:1}.page>.panel-cover{z-index:300}.page.with-panel-closing>.page-content,.page.with-panel-closing>.tabs,.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-closing .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:0}.with-panel-left-cover .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in,.with-panel-right-cover .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:1}.with-panel-left-push .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.with-panel-right-push .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-left-cover .panel-left,.with-panel-left-push .panel-left{transform:translate3d(0px,0,0)}.with-panel-right-cover .panel-right,.with-panel-right-push .panel-right{transform:translate3d(0px,0,0)}.panel-resize-handler{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;z-index:6000;display:none}.panel-resizable .panel-resize-handler{display:block}.panel-left.panel-cover .panel-resize-handler{right:-3px}.panel-left.panel-push .panel-resize-handler,.panel-resize-handler .panel-left.panel-reveal{right:0}.panel-right.panel-cover .panel-resize-handler{left:-3px}.panel-resize-handler .panel-right.panel-reveal,.panel-right.panel-push .panel-resize-handler{left:0}.panel-left.panel-in-collapsed~.page-content,.panel-left.panel-in-collapsed~.tabs,.panel-left.panel-in-collapsed~.view,.panel-left.panel-in-collapsed~.views{margin-left:var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.page-content,.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.tabs,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.view,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-left-width,var(--f7-panel-width)) - var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))),0,0)}.panel-right.panel-in-collapsed~.page-content,.panel-right.panel-in-collapsed~.tabs,.panel-right.panel-in-collapsed~.view,.panel-right.panel-in-collapsed~.views{margin-right:var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.page-content,.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.tabs,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.view,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width)) - var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{--f7-panelPushScale:var(--f7-popup-push-scale);--f7-panelPushTransitionDuration:var(--f7-popup-transition-duration);--f7-panelPushBorderRadius:var(--f7-popup-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{--f7-panelPushScale:var(--f7-sheet-push-scale);--f7-panelPushTransitionDuration:var(--f7-sheet-transition-duration);--f7-panelPushBorderRadius:var(--f7-sheet-push-border-radius)}html.with-modal-popup-push .framework7-root>.panel-in,html.with-modal-popup-push .framework7-root>.panel-out,html.with-modal-sheet-push .framework7-root>.panel-in,html.with-modal-sheet-push .framework7-root>.panel-out{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left{transform:scale(var(--f7-panelPushScale,1));transform-origin:50vw center;border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left .view{border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right{transform:scale(var(--f7-panelPushScale,1));transform-origin:calc(var(--f7-panel-left-width,var(--f7-panel-width)) - 50vw) center;border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right .view{border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-left{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0px)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-right{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0px)}html.with-modal-popup-push-closing .framework7-root>.panel-in,html.with-modal-sheet-push-closing .framework7-root>.panel-in{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-left{transform-origin:50vw center}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-right{transform-origin:calc(var(--f7-panel-right-width,var(--f7-panel-width)) - 50vw) center}
@@ -1 +1 @@
1
- :root{--f7-panel-width:260px;--f7-panel-bg-color:#fff}.ios{--f7-panel-collapsed-width:58px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0);--f7-panel-transition-duration:400ms;--f7-panel-shadow:transparent}.md{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.aurora{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.panel-backdrop{position:absolute;left:0;top:var(--f7-appbar-app-offset,0px);width:100%;height:calc(100% - var(--f7-appbar-app-offset,0px));opacity:0;z-index:5999;visibility:hidden;pointer-events:none;transform:translate3d(0,0,0);background-color:var(--f7-panel-backdrop-bg-color);transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel-backdrop .with-panel,.panel-backdrop .with-panel-closing{visibility:visible}.panel-backdrop.not-animated{transition-duration:0s!important}.panel{z-index:1000;box-sizing:border-box;position:absolute;top:var(--f7-appbar-app-offset,0px);height:calc(100% - var(--f7-appbar-app-offset,0px));transform:translate3d(0,0,0);width:var(--f7-panel-width);background-color:var(--f7-panel-bg-color);overflow:visible;transition-property:transform;transition-duration:var(--f7-panel-transition-duration)}.panel:not(.panel-in):not(.panel-out):not(.panel-in-breakpoint):not(.panel-in-collapsed):not(.panel-in-swipe){display:none}.panel:after{pointer-events:none;opacity:0;z-index:5999;position:absolute;content:'';top:0;width:20px;height:100%;transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel.not-animated,.panel.not-animated:after{transition-duration:0s!important}.panel.panel-reveal.not-animated~.view,.panel.panel-reveal.not-animated~.views{transition-duration:0s!important}.panel.panel-resizing{-webkit-user-select:none;-moz-user-select:none;user-select:none}.panel.panel-resizing,.panel.panel-resizing:after,.panel.panel-resizing~.view,.panel.panel-resizing~.views{transition-duration:0s!important}.panel-cover{z-index:6000}.panel-left{left:0;width:var(--f7-panel-left-width,var(--f7-panel-width))}.panel-left.panel-cover,.panel-left.panel-push{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0)}.panel-left.panel-cover:after,.panel-left.panel-push:after{left:100%;background:linear-gradient(to right,var(--f7-panel-shadow))}.with-panel-left-cover .panel-left.panel-cover:after,.with-panel-left-cover .panel-left.panel-push:after{opacity:1}.panel-left.panel-reveal:after{right:0;transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0);background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-left-reveal .panel-left.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-right{right:0;width:var(--f7-panel-right-width,var(--f7-panel-width))}.panel-right.panel-cover,.panel-right.panel-push{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.panel-right.panel-cover:after,.panel-right.panel-push:after{right:100%;background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-right-cover .panel-right.panel-cover:after,.with-panel-right-cover .panel-right.panel-push:after{opacity:1}.panel-right.panel-reveal:after{left:0;background:linear-gradient(to right,var(--f7-panel-shadow));transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.with-panel-right-reveal .panel-right.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-in-breakpoint{transform:translate3d(0,0,0)!important;transition-duration:0s}.panel-in-breakpoint:after{display:none}.panel-in-breakpoint.panel-cover{z-index:5900}html.with-panel-closing .framework7-root>.view,html.with-panel-closing .views,html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views,html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}html.with-panel .framework7-root>.view .page-content,html.with-panel .framework7-root>.views .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.page>.panel-backdrop{z-index:290}.page .panel-push,.page>.panel-reveal{z-index:1}.page>.panel-cover{z-index:300}.page.with-panel-closing>.page-content,.page.with-panel-closing>.tabs,.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-closing .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:0}.with-panel-left-cover .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in,.with-panel-right-cover .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:1}.with-panel-left-push .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.with-panel-right-push .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-left-cover .panel-left,.with-panel-left-push .panel-left{transform:translate3d(0px,0,0)}.with-panel-right-cover .panel-right,.with-panel-right-push .panel-right{transform:translate3d(0px,0,0)}.panel-resize-handler{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;z-index:6000;display:none}.panel-resizable .panel-resize-handler{display:block}.panel-left.panel-cover .panel-resize-handler{right:-3px}.panel-left.panel-push .panel-resize-handler,.panel-resize-handler .panel-left.panel-reveal{right:0}.panel-right.panel-cover .panel-resize-handler{left:-3px}.panel-resize-handler .panel-right.panel-reveal,.panel-right.panel-push .panel-resize-handler{left:0}.panel-left.panel-in-collapsed~.page-content,.panel-left.panel-in-collapsed~.tabs,.panel-left.panel-in-collapsed~.view,.panel-left.panel-in-collapsed~.views{margin-left:var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.page-content,.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.tabs,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.view,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-left-width,var(--f7-panel-width)) - var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))),0,0)}.panel-right.panel-in-collapsed~.page-content,.panel-right.panel-in-collapsed~.tabs,.panel-right.panel-in-collapsed~.view,.panel-right.panel-in-collapsed~.views{margin-right:var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.page-content,.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.tabs,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.view,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width)) - var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{--f7-panelPushScale:var(--f7-popup-push-scale);--f7-panelPushTransitionDuration:var(--f7-popup-transition-duration);--f7-panelPushBorderRadius:var(--f7-popup-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{--f7-panelPushScale:var(--f7-sheet-push-scale);--f7-panelPushTransitionDuration:var(--f7-sheet-transition-duration);--f7-panelPushBorderRadius:var(--f7-sheet-push-border-radius)}html.with-modal-popup-push .framework7-root>.panel-in,html.with-modal-popup-push .framework7-root>.panel-out,html.with-modal-sheet-push .framework7-root>.panel-in,html.with-modal-sheet-push .framework7-root>.panel-out{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left{transform:scale(var(--f7-panelPushScale,1));transform-origin:50vw center;border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left .view{border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right{transform:scale(var(--f7-panelPushScale,1));transform-origin:calc(var(--f7-panel-left-width,var(--f7-panel-width)) - 50vw) center;border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right .view{border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-left{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0px)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-right{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0px)}html.with-modal-popup-push-closing .framework7-root>.panel-in,html.with-modal-sheet-push-closing .framework7-root>.panel-in{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-left{transform-origin:50vw center}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-right{transform-origin:calc(var(--f7-panel-right-width,var(--f7-panel-width)) - 50vw) center}
1
+ :root{--f7-panel-width:260px;--f7-panel-bg-color:#fff}.ios{--f7-panel-collapsed-width:58px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0);--f7-panel-transition-duration:400ms;--f7-panel-shadow:transparent}.md{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.aurora{--f7-panel-collapsed-width:60px;--f7-panel-backdrop-bg-color:rgba(0, 0, 0, 0.3);--f7-panel-transition-duration:300ms;--f7-panel-shadow:rgba(0, 0, 0, 0.2) 0%,rgba(0, 0, 0, 0.07) 30%,rgba(0, 0, 0, 0.03) 40%,rgba(0, 0, 0, 0) 60%,rgba(0, 0, 0, 0) 100%}.panel-backdrop{position:absolute;left:0;top:var(--f7-appbar-app-offset,0px);width:100%;height:calc(100% - var(--f7-appbar-app-offset,0px));opacity:0;z-index:5999;visibility:hidden;pointer-events:none;transform:translate3d(0,0,0);background-color:var(--f7-panel-backdrop-bg-color);transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel-backdrop .with-panel,.panel-backdrop .with-panel-closing{visibility:visible}.panel-backdrop.not-animated{transition-duration:0s!important}.panel{z-index:1000;box-sizing:border-box;position:absolute;top:var(--f7-appbar-app-offset,0px);height:calc(100% - var(--f7-appbar-app-offset,0px));transform:translate3d(0,0,0);width:var(--f7-panel-width);background-color:var(--f7-panel-bg-color);overflow:visible;transition-property:transform;transition-duration:var(--f7-panel-transition-duration)}.panel:not(.panel-in):not(.panel-out):not(.panel-in-breakpoint):not(.panel-in-collapsed):not(.panel-in-swipe){display:none}.panel:after{pointer-events:none;opacity:0;z-index:5999;position:absolute;content:'';top:0;width:20px;height:100%;transition-property:transform,opacity;transition-duration:var(--f7-panel-transition-duration)}.panel.not-animated,.panel.not-animated:after{transition-duration:0s!important}.panel.panel-reveal.not-animated~.view,.panel.panel-reveal.not-animated~.views{transition-duration:0s!important}.panel.panel-resizing{-webkit-user-select:none;user-select:none}.panel.panel-resizing,.panel.panel-resizing:after,.panel.panel-resizing~.view,.panel.panel-resizing~.views{transition-duration:0s!important}.panel-cover{z-index:6000}.panel-left{left:0;width:var(--f7-panel-left-width,var(--f7-panel-width))}.panel-left.panel-cover,.panel-left.panel-push{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0)}.panel-left.panel-cover:after,.panel-left.panel-push:after{left:100%;background:linear-gradient(to right,var(--f7-panel-shadow))}.with-panel-left-cover .panel-left.panel-cover:after,.with-panel-left-cover .panel-left.panel-push:after{opacity:1}.panel-left.panel-reveal:after{right:0;transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0);background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-left-reveal .panel-left.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-right{right:0;width:var(--f7-panel-right-width,var(--f7-panel-width))}.panel-right.panel-cover,.panel-right.panel-push{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.panel-right.panel-cover:after,.panel-right.panel-push:after{right:100%;background:linear-gradient(to left,var(--f7-panel-shadow))}.with-panel-right-cover .panel-right.panel-cover:after,.with-panel-right-cover .panel-right.panel-push:after{opacity:1}.panel-right.panel-reveal:after{left:0;background:linear-gradient(to right,var(--f7-panel-shadow));transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0)}.with-panel-right-reveal .panel-right.panel-reveal:after{opacity:1;transform:translate3d(0,0,0)}.panel-in-breakpoint{transform:translate3d(0,0,0)!important;transition-duration:0s}.panel-in-breakpoint:after{display:none}.panel-in-breakpoint.panel-cover{z-index:5900}html.with-panel-closing .framework7-root>.view,html.with-panel-closing .views,html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views,html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}html.with-panel .framework7-root>.view .page-content,html.with-panel .framework7-root>.views .page-content{overflow:hidden;-webkit-overflow-scrolling:auto}html.with-panel-left-push .framework7-root>.view,html.with-panel-left-push .views,html.with-panel-left-reveal .framework7-root>.view,html.with-panel-left-reveal .views{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}html.with-panel-right-push .framework7-root>.view,html.with-panel-right-push .views,html.with-panel-right-reveal .framework7-root>.view,html.with-panel-right-reveal .views{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.page>.panel-backdrop{z-index:290}.page .panel-push,.page>.panel-reveal{z-index:1}.page>.panel-cover{z-index:300}.page.with-panel-closing>.page-content,.page.with-panel-closing>.tabs,.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs,.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transition-duration:var(--f7-panel-transition-duration);transition-property:transform}.page.with-panel-left-push>.page-content,.page.with-panel-left-push>.tabs,.page.with-panel-left-reveal>.page-content,.page.with-panel-left-reveal>.tabs{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.page.with-panel-right-push>.page-content,.page.with-panel-right-push>.tabs,.page.with-panel-right-reveal>.page-content,.page.with-panel-right-reveal>.tabs{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-closing .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:0}.with-panel-left-cover .panel-backdrop-in,.with-panel-left-push .panel-backdrop-in,.with-panel-right-cover .panel-backdrop-in,.with-panel-right-push .panel-backdrop-in{visibility:visible;pointer-events:auto;opacity:1}.with-panel-left-push .panel-backdrop-in,.with-panel-left-reveal .panel-backdrop-in{transform:translate3d(var(--f7-panel-left-width,var(--f7-panel-width)),0,0)}.with-panel-right-push .panel-backdrop-in,.with-panel-right-reveal .panel-backdrop-in{transform:translate3d(calc(-1 * var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}.with-panel-left-cover .panel-left,.with-panel-left-push .panel-left{transform:translate3d(0px,0,0)}.with-panel-right-cover .panel-right,.with-panel-right-push .panel-right{transform:translate3d(0px,0,0)}.panel-resize-handler{position:absolute;top:0;height:100%;width:6px;cursor:col-resize;z-index:6000;display:none}.panel-resizable .panel-resize-handler{display:block}.panel-left.panel-cover .panel-resize-handler{right:-3px}.panel-left.panel-push .panel-resize-handler,.panel-resize-handler .panel-left.panel-reveal{right:0}.panel-right.panel-cover .panel-resize-handler{left:-3px}.panel-resize-handler .panel-right.panel-reveal,.panel-right.panel-push .panel-resize-handler{left:0}.panel-left.panel-in-collapsed~.page-content,.panel-left.panel-in-collapsed~.tabs,.panel-left.panel-in-collapsed~.view,.panel-left.panel-in-collapsed~.views{margin-left:var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.page-content,.page.with-panel-left-reveal .panel-left.panel-in-collapsed~.tabs,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.view,html.with-panel-left-reveal .panel-left.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-left-width,var(--f7-panel-width)) - var(--f7-panel-left-collapsed-width,var(--f7-panel-collapsed-width))),0,0)}.panel-right.panel-in-collapsed~.page-content,.panel-right.panel-in-collapsed~.tabs,.panel-right.panel-in-collapsed~.view,.panel-right.panel-in-collapsed~.views{margin-right:var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width))}.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.page-content,.page.with-panel-right-reveal .panel-right.panel-in-collapsed~.tabs,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.view,html.with-panel-right-reveal .panel-right.panel-in-collapsed~.views{transform:translate3d(calc(var(--f7-panel-right-collapsed-width,var(--f7-panel-collapsed-width)) - var(--f7-panel-right-width,var(--f7-panel-width))),0,0)}html.with-modal-popup-push .framework7-root,html.with-modal-popup-push-closing .framework7-root{--f7-panelPushScale:var(--f7-popup-push-scale);--f7-panelPushTransitionDuration:var(--f7-popup-transition-duration);--f7-panelPushBorderRadius:var(--f7-popup-push-border-radius)}html.with-modal-sheet-push .framework7-root,html.with-modal-sheet-push-closing .framework7-root{--f7-panelPushScale:var(--f7-sheet-push-scale);--f7-panelPushTransitionDuration:var(--f7-sheet-transition-duration);--f7-panelPushBorderRadius:var(--f7-sheet-push-border-radius)}html.with-modal-popup-push .framework7-root>.panel-in,html.with-modal-popup-push .framework7-root>.panel-out,html.with-modal-sheet-push .framework7-root>.panel-in,html.with-modal-sheet-push .framework7-root>.panel-out{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left{transform:scale(var(--f7-panelPushScale,1));transform-origin:50vw center;border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-left .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-left .view{border-top-left-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right{transform:scale(var(--f7-panelPushScale,1));transform-origin:calc(var(--f7-panel-left-width,var(--f7-panel-width)) - 50vw) center;border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-popup-push .framework7-root>.panel-out.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-in.panel-reveal.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-push.panel-right .view,html.with-modal-sheet-push .framework7-root>.panel-out.panel-reveal.panel-right .view{border-top-right-radius:var(--f7-panelPushBorderRadius)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-left,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-left{transform:translate3d(calc(-1 * var(--f7-panel-left-width,var(--f7-panel-width))),0,0px)}html.with-modal-popup-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-popup-push .framework7-root>.panel-out.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-in.panel-cover.panel-right,html.with-modal-sheet-push .framework7-root>.panel-out.panel-cover.panel-right{transform:translate3d(var(--f7-panel-right-width,var(--f7-panel-width)),0,0px)}html.with-modal-popup-push-closing .framework7-root>.panel-in,html.with-modal-sheet-push-closing .framework7-root>.panel-in{transition-duration:var(--f7-panelPushTransitionDuration)}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-left,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-left{transform-origin:50vw center}html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-popup-push-closing .framework7-root>.panel-in.panel-reveal.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-push.panel-right,html.with-modal-sheet-push-closing .framework7-root>.panel-in.panel-reveal.panel-right{transform-origin:calc(var(--f7-panel-right-width,var(--f7-panel-width)) - 50vw) center}
@@ -1 +1,190 @@
1
- (function framework7ComponentLoader(e,a){void 0===a&&(a=!0);var n=e.$,t=e.utils,i=(e.getDevice,e.getSupport),l=e.Class,s=(e.Modal,e.ConstructorMethods,e.ModalMethods,t.extend),r=t.now,o=t.nextFrame,p=t.deleteProps;function d(e){this.wrapped=e}function c(e){var a,n;function t(a,n){try{var l=e[a](n),s=l.value,r=s instanceof d;Promise.resolve(r?s.wrapped:s).then((function(e){r?t("return"===a?"return":"next",e):i(l.done?"return":"normal",e)}),(function(e){t("throw",e)}))}catch(e){i("throw",e)}}function i(e,i){switch(e){case"return":a.resolve({value:i,done:!0});break;case"throw":a.reject(i);break;default:a.resolve({value:i,done:!1})}(a=a.next)?t(a.key,a.arg):n=null}this._invoke=function(e,i){return new Promise((function(l,s){var r={key:e,arg:i,resolve:l,reject:s,next:null};n?n=n.next=r:(a=n=r,t(e,i))}))},"function"!=typeof e.return&&(this.return=void 0)}function f(e,a){return(f=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e})(e,a)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}c.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},c.prototype.next=function(e){return this._invoke("next",e)},c.prototype.throw=function(e){return this._invoke("throw",e)},c.prototype.return=function(e){return this._invoke("return",e)};function v(e){var a=e.app,t=i();if(!e.resizableInitialized){s(e,{resizable:!0,resizableWidth:null,resizableInitialized:!0});var l=n("html"),r=e.$el,p=e.$backdropEl,d=e.side,c=e.effect;if(r){var f,h,v,u,b,g,m,w,C={};0===e.$el.find(".panel-resize-handler").length&&e.$el.append('<div class="panel-resize-handler"></div>'),e.$resizeHandlerEl=e.$el.children(".panel-resize-handler"),r.addClass("panel-resizable");var k=!!t.passiveListener&&{passive:!0};e.$el.on(a.touchEvents.start,".panel-resize-handler",z,k),a.on("touchmove:active",y),a.on("touchend:passive",B),a.on("resize",E),e.on("beforeOpen",E),e.once("panelDestroy",(function(){r.removeClass("panel-resizable"),e.$resizeHandlerEl.remove(),e.$el.off(a.touchEvents.start,".panel-resize-handler",z,k),a.off("touchmove:active",y),a.off("touchend:passive",B),a.off("resize",E),e.off("beforeOpen",E)}))}}function $(e){if(!e)return null;if(e.indexOf("%")>=0||e.indexOf("vw")>=0)return parseInt(e,10)/100*a.width;var n=parseInt(e,10);return Number.isNaN(n)?null:n}function z(a){e.resizable&&r.hasClass("panel-resizable")&&(C.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,C.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,h=!1,f=!0,g=$(r.css("min-width")),m=$(r.css("max-width")),w=r.hasClass("panel-in-breakpoint"))}function y(t){if(f){var i="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX;h||(u=r[0].offsetWidth,r.transition(0),r.addClass("panel-resizing"),l.css("cursor","col-resize"),("cover"!==c||w)&&(b=n(e.getViewEl()),e.$containerEl&&e.$containerEl.hasClass("page")&&b.add(e.$containerEl.children(".page-content, .tabs, .fab"))),"cover"===c||w||(p.transition(0),b.transition(0))),h=!0,t.preventDefault(),v=i-C.x;var s="left"===d?u+v:u-v;g&&!Number.isNaN(g)&&(s=Math.max(s,g)),m&&!Number.isNaN(m)&&(s=Math.min(s,m)),s=Math.min(Math.max(s,0),a.width),e.resizableWidth=s,r[0].style.width=s+"px","cover"===c||w?w&&b&&b.css("margin-"+d,s+"px"):(b&&b.transform("translate3d("+("left"===d?s:-s)+"px, 0, 0)"),p&&p.transform("translate3d("+("left"===d?s:-s)+"px, 0, 0)")),r.trigger("panel:resize",s),e.emit("local::resize panelResize",e,s)}}function B(){if(n("html").css("cursor",""),!f||!h)return f=!1,void(h=!1);f=!1,h=!1,l[0].style.setProperty("--f7-panel-"+d+"-width",e.resizableWidth+"px"),r[0].style.width="","cover"===c||w||(b.transform(""),p.transform("")),r.removeClass("panel-resizing"),o((function(){r.transition(""),"cover"!==c&&(p.transition(""),b&&b.transition(""))}))}function E(){e.opened&&e.resizableWidth&&(g=$(r.css("min-width")),m=$(r.css("max-width")),g&&!Number.isNaN(g)&&e.resizableWidth<g&&(e.resizableWidth=Math.max(e.resizableWidth,g)),m&&!Number.isNaN(m)&&e.resizableWidth>m&&(e.resizableWidth=Math.min(e.resizableWidth,m)),e.resizableWidth=Math.min(Math.max(e.resizableWidth,0),a.width),l[0].style.setProperty("--f7-panel-"+d+"-width",e.resizableWidth+"px"))}}var u=function(e){var a,t;function i(a,t){var i;void 0===t&&(t={});var l,r=s({on:{}},a.params.panel,t),o=h(i=e.call(this,r,[a])||this);if(o.params=r,o.$containerEl=o.params.containerEl?n(o.params.containerEl).eq(0):a.$el,o.containerEl=o.$containerEl[0],o.containerEl||(o.$containerEl=a.$el,o.containerEl=a.$el[0]),o.params.el?l=n(o.params.el).eq(0):o.params.content&&(l=n(o.params.content).filter((function(e){return 1===e.nodeType})).eq(0)),0===l.length)return o||h(i);if(l[0].f7Panel)return l[0].f7Panel||h(i);l[0].f7Panel=o;var p,d=o.params,c=d.side,f=d.effect,v=d.resizable;return void 0===c&&(c=l.hasClass("panel-left")?"left":"right"),void 0===f&&(f=l.hasClass("panel-cover")?"cover":l.hasClass("panel-push")?"push":"reveal"),void 0===v&&(v=l.hasClass("panel-resizable")),o.params.backdrop&&o.params.backdropEl?p=n(o.params.backdropEl):o.params.backdrop&&0===(p=o.$containerEl.children(".panel-backdrop")).length&&(p=n('<div class="panel-backdrop"></div>'),o.$containerEl.prepend(p)),s(o,{app:a,side:c,effect:f,resizable:v,$el:l,el:l[0],opened:!1,$backdropEl:p,backdropEl:p&&p[0]}),o.useModules(),o.init(),o||h(i)}t=e,(a=i).prototype=Object.create(t.prototype),a.prototype.constructor=a,f(a,t);var l=i.prototype;return l.getViewEl=function(){var e=this;return e.$containerEl.children(".views").length>0?e.$containerEl.children(".views")[0]:e.$containerEl.children(".view")[0]},l.setStateClasses=function(e){var a=this,t=a.side,i=a.el,l=a.getViewEl(),s=l&&l.contains(i),r=!l||s?a.$containerEl:n("html");"open"===e&&r.addClass("with-panel with-panel-"+a.side+"-"+a.effect),"before-closing"===e&&r.addClass("with-panel-closing"),"closing"===e&&(r.addClass("with-panel-closing"),r.removeClass("with-panel with-panel-"+a.side+"-"+a.effect)),"after-closing"===e&&r.removeClass("with-panel-closing"),"closed"===e&&r.removeClass("with-panel-"+t+"-reveal with-panel-"+t+"-cover with-panel-"+t+"-push with-panel")},l.enableVisibleBreakpoint=function(){var e=this;return e.visibleBreakpointDisabled=!1,e.setVisibleBreakpoint(),e},l.disableVisibleBreakpoint=function(){var e=this;return e.visibleBreakpointDisabled=!0,e.setVisibleBreakpoint(),e},l.toggleVisibleBreakpoint=function(){var e=this;return e.visibleBreakpointDisabled=!e.visibleBreakpointDisabled,e.setVisibleBreakpoint(),e},l.setVisibleBreakpoint=function(e){void 0===e&&(e=!0);var a=this,t=a.app;a.visibleBreakpointResizeHandler||(a.visibleBreakpointResizeHandler=function(){a.setVisibleBreakpoint()},t.on("resize",a.visibleBreakpointResizeHandler));var i,l,s=a.side,r=a.$el,o=a.$containerEl,p=a.params,d=a.visibleBreakpointDisabled,c=p.visibleBreakpoint,f=n(a.getViewEl()),h=r.hasClass("panel-in-breakpoint");if(o&&o.hasClass("page")&&f.add(o.children(".page-content, .tabs, .fab")),t.width>=c&&null!=c&&!d)h?f.css(((i={})["margin-"+s]=r.width()+"px",i)):(a.setStateClasses("closed"),r.addClass("panel-in-breakpoint").removeClass("panel-in panel-in-collapsed"),a.onOpen(!1),a.onOpened(),f.css(((l={})["margin-"+s]=r.width()+"px",l)),t.allowPanelOpen=!0,e&&(a.emit("local::breakpoint panelBreakpoint",a),a.$el.trigger("panel:breakpoint")));else if(h){var v;r.removeClass("panel-in-breakpoint panel-in"),a.onClose(),a.onClosed(),f.css(((v={})["margin-"+s]="",v)),e&&(a.emit("local::breakpoint panelBreakpoint",a),a.$el.trigger("panel:breakpoint"))}},l.enableCollapsedBreakpoint=function(){var e=this;return e.collapsedBreakpointDisabled=!1,e.setCollapsedBreakpoint(),e},l.disableCollapsedBreakpoint=function(){var e=this;return e.collapsedBreakpointDisabled=!0,e.setCollapsedBreakpoint(),e},l.toggleCollapsedBreakpoint=function(){var e=this;return e.collapsedBreakpointDisabled=!e.collapsedBreakpointDisabled,e.setCollapsedBreakpoint(),e},l.setCollapsedBreakpoint=function(e){void 0===e&&(e=!0);var a=this,n=a.app;a.collapsedBreakpointResizeHandler||(a.collapsedBreakpointResizeHandler=function(){a.setCollapsedBreakpoint()},n.on("resize",a.collapsedBreakpointResizeHandler));var t=a.$el,i=a.params,l=a.collapsedBreakpointDisabled;if(!t.hasClass("panel-in-breakpoint")){var s=i.collapsedBreakpoint,r=t.hasClass("panel-in-collapsed");n.width>=s&&null!=s&&!l?r||(a.setStateClasses("closed"),t.addClass("panel-in-collapsed").removeClass("panel-in"),a.collapsed=!0,n.allowPanelOpen=!0,e&&(a.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",a),a.$el.trigger("panel:collapsedbreakpoint"))):r&&(t.removeClass("panel-in-collapsed panel-in"),a.collapsed=!1,e&&(a.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",a),a.$el.trigger("panel:collapsedbreakpoint")))}},l.enableResizable=function(){var e=this;return e.resizableInitialized?(e.resizable=!0,e.$el.addClass("panel-resizable")):v(e),e},l.disableResizable=function(){var e=this;return e.resizable=!1,e.$el.removeClass("panel-resizable"),e},l.enableSwipe=function(){var e=this;return e.swipeInitialized?e.swipeable=!0:function(e){var a=e.app;if(!e.swipeInitialized){s(e,{swipeable:!0,swipeInitialized:!0});var t,i,l,p,d,c,f,h,v,u,b,g,m,w=e.params,C=e.$el,k=e.$backdropEl,$=e.side,z=e.effect,y={},B=0;a.on("touchstart:passive",E),a.on("touchmove:active",x),a.on("touchend:passive",O),a.on("gesturestart",M),a.on("gestureend",S),e.on("panelDestroy",(function(){a.off("touchstart:passive",E),a.off("touchmove:active",x),a.off("touchend:passive",O),a.off("gesturestart",M),a.off("gestureend",S)}))}function E(s){if(e.swipeable&&!l&&a.panel.allowOpen&&(w.swipe||w.swipeOnlyClose)&&!i&&!(n(".modal-in:not(.toast):not(.notification), .photo-browser-in").length>0)){var o=(t=a.panel.get("left"===$?"right":"left")||{}).opened&&t.$el&&!t.$el.hasClass("panel-in-breakpoint");if((e.opened||!o)&&(w.swipeOnlyClose||!o)&&(!s.target||"input"!==s.target.nodeName.toLowerCase()||"range"!==s.target.type)&&!(n(s.target).closest(".range-slider, .tabs-swipeable-wrap, .calendar-months, .no-swipe-panel, .card-opened").length>0)&&(y.x="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,y.y="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY,!w.swipeOnlyClose||e.opened)){if(w.swipeActiveArea&&!e.opened){if("left"===$&&y.x>w.swipeActiveArea)return;if("right"===$&&y.x<a.width-w.swipeActiveArea)return}B=0,m=n(e.getViewEl()),p=!1,i=!0,d=void 0,c=!1,f=r(),g=void 0}}}function x(n){if(i&&!l&&!c&&!((B+=1)<2))if(n.f7PreventSwipePanel||a.preventSwipePanelBySwipeBack||a.preventSwipePanel)i=!1;else{var t="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,s="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY;if(void 0===d&&(d=!!(d||Math.abs(s-y.y)>Math.abs(t-y.x))),d)i=!1;else{if(!g){if(g=t>y.x?"to-right":"to-left",w.swipeActiveArea>0&&!e.opened){if("left"===$&&y.x>w.swipeActiveArea)return void(i=!1);if("right"===$&&y.x<a.width-w.swipeActiveArea)return void(i=!1)}if(C.hasClass("panel-in-breakpoint"))return void(i=!1);if("left"===$&&"to-left"===g&&!C.hasClass("panel-in")||"right"===$&&"to-right"===g&&!C.hasClass("panel-in"))return void(i=!1)}var r=e.opened?0:-w.swipeThreshold;"right"===$&&(r=-r),p||(e.opened||(e.insertToRoot(),C.addClass("panel-in-swipe"),k.css("visibility","visible"),C.trigger("panel:swipeopen"),e.emit("local::swipeOpen panelSwipeOpen",e)),b=C[0].offsetWidth,"reveal"===z&&C.hasClass("panel-in-collapsed")&&(b-=parseFloat(m.css("margin-"+$))),C.transition(0)),p=!0,n.cancelable&&n.preventDefault(),h=t-y.x+r,"right"===$?"cover"===z||"push"===z?((v=h+(e.opened?0:b))<0&&(v=0),v>b&&(v=b)):((v=h-(e.opened?b:0))>0&&(v=0),v<-b&&(v=-b)):((v=h+(e.opened?b:0))<0&&(v=0),v>b&&(v=b));var o=Math.abs(v/b);if("reveal"===z)w.swipeNoFollow||(m.transform("translate3d("+v+"px,0,0)").transition(0),k.transform("translate3d("+v+"px,0,0)").transition(0)),C.trigger("panel:swipe",Math.abs(v/b)),e.emit("local::swipe panelSwipe",e,Math.abs(v/b));else{if("left"===$&&(v-=b),!w.swipeNoFollow&&(k.transition(0),u=1-Math.abs(v/b),k.css({opacity:u}),C.transform("translate3d("+v+"px,0,0)").transition(0),"push"===z)){var f="left"===$?v+b:v-b;m.transform("translate3d("+f+"px,0,0)").transition(0),k.transform("translate3d("+f+"px,0,0)").transition(0)}C.trigger("panel:swipe",Math.abs(v/b)),e.emit("local::swipe panelSwipe",e,Math.abs(v/b))}w.swipeNoFollow&&(e.opened&&0===o||!e.opened&&1===o)&&(c=!0,O(n))}}}function O(a){if(!i||!p)return i=!1,void(p=!1);var n="gesturestart"===a.type||l;i=!1,p=!1;var t,s=(new Date).getTime()-f,r=(0===v||Math.abs(v)===b)&&!w.swipeNoFollow,d=w.swipeThreshold||0;"swap"==(t=n?"reset":e.opened?"cover"===z||"push"===z?0===v?"reset":s<300&&Math.abs(v)>0?"swap":s>=300&&Math.abs(v)<b/2?"reset":"swap":v===-b?"reset":s<300&&Math.abs(v)>=0||s>=300&&Math.abs(v)<=b/2?"left"===$&&v===b?"reset":"swap":"reset":Math.abs(h)<d?"reset":"cover"===z||"push"===z?0===v||s<300&&Math.abs(v)>0||s>=300&&Math.abs(v)<b/2?"swap":"reset":0===v?"reset":s<300&&Math.abs(v)>0||s>=300&&Math.abs(v)>=b/2?"swap":"reset")&&(e.opened?e.close(!r):e.open(!r));var c=!0;if("reset"===t&&!e.opened)if(r)C.removeClass("panel-in-swipe");else{c=!1;var u="reveal"===z?m:C;e.setStateClasses("before-closing"),u.transitionEnd((function(){C.hasClass("panel-in")||(C.removeClass("panel-in-swipe"),e.setStateClasses("after-closing"))}))}"reveal"!==z&&"push"!==z||o((function(){m.transition(""),m.transform("")})),c&&C.removeClass("panel-in-swipe"),C.transition("").transform(""),k.transform("").transition("").css({opacity:"",visibility:""})}function M(e){l=!0,O(e)}function S(){l=!1}}(e),e},l.disableSwipe=function(){return this.swipeable=!1,this},l.onOpen=function(e){void 0===e&&(e=!0);var a=this,n=a.app;a.opened=!0,n.panel.allowOpen=!1,a.$el.trigger("panel:beforeopen"),a.emit("local::beforeOpen panelBeforeOpen",a),e&&a.setStateClasses("open"),a.$el.trigger("panel:open"),a.emit("local::open panelOpen",a)},l.onOpened=function(){var e=this;e.app.panel.allowOpen=!0,e.$el.trigger("panel:opened"),e.emit("local::opened panelOpened",e)},l.onClose=function(){var e=this,a=e.app;e.opened=!1,a.panel.allowOpen=!1,e.$el.trigger("panel:beforeclose"),e.emit("local::beforeClose panelBeforeClose",e),e.setStateClasses("closing"),e.$el.trigger("panel:close"),e.emit("local::close panelClose",e)},l.onClosed=function(){var e=this,a=e.app;if(a.panel.allowOpen=!0,e.setStateClasses("after-closing"),e.$el.removeClass("panel-out"),e.$backdropEl){var n=a.panel.get(".panel-in");(!n||n&&!n.$backdropEl)&&e.$backdropEl.removeClass("panel-backdrop-in")}e.$el.trigger("panel:closed"),e.emit("local::closed panelClosed",e)},l.toggle=function(e){void 0===e&&(e=!0);var a=this,n=a.params.visibleBreakpoint;return a.app.width>=n&&null!=n?a.toggleVisibleBreakpoint():(a.opened?a.close(e):a.open(e),a)},l.insertToRoot=function(){var e=this,a=e.$el,n=e.$backdropEl,t=e.$containerEl,i=a.parent(),l=a.parents(document).length>0;if(!i.is(t)||a.prevAll(".views, .view").length){var s=t.children(".panel, .views, .view").eq(0),r=t.children(".panel-backdrop").eq(0);s.length?a.insertBefore(s):r?a.insertBefore(r):t.prepend(a),n&&n.length&&(!n.parent().is(t)&&0===n.nextAll(".panel").length||n.parent().is(t)&&0===n.nextAll(".panel").length)&&n.insertBefore(a),e.once("panelClosed",(function(){l?i.append(a):a.remove()}))}},l.open=function(e){void 0===e&&(e=!0);var a=this,t=a.app;if(!t.panel.allowOpen)return!1;var i=a.effect,l=a.$el,s=a.$backdropEl,r=a.opened,o=a.$containerEl;if(!l||l.hasClass("panel-in"))return a;if(a.insertToRoot(),r||l.hasClass("panel-in-breakpoint")||l.hasClass("panel-in"))return!1;var p=t.panel.get(".panel-in");p&&p!==a&&p.close(e),l[e?"removeClass":"addClass"]("not-animated"),l.addClass("panel-in"),s&&(s.addClass("panel-backdrop-in"),s[e?"removeClass":"addClass"]("not-animated")),"cover"!==a.effect&&"push"!==a.effect||(a._clientLeft=l[0].clientLeft);var d=n(a.getViewEl());o&&o.hasClass("page")&&d.add(o.children(".page-content, .tabs"));var c="reveal"===i?d:l;return e?(s&&s.removeClass("not-animated"),function e(){c.transitionEnd((function(t){n(t.target).is(c)?l.hasClass("panel-out")?a.onClosed():a.onOpened():e()}))}(),l.removeClass("panel-out not-animated").addClass("panel-in"),a.onOpen()):(s&&s.addClass("not-animated"),l.removeClass("panel-out").addClass("panel-in not-animated"),a.onOpen(),a.onOpened()),!0},l.close=function(e){void 0===e&&(e=!0);var a=this,t=a.effect,i=a.$el,l=a.$backdropEl,s=a.opened,r=a.$containerEl;if(!s||i.hasClass("panel-in-breakpoint")||!i.hasClass("panel-in"))return a;i[e?"removeClass":"addClass"]("not-animated"),l&&l[e?"removeClass":"addClass"]("not-animated");var o=n(a.getViewEl());return r&&r.hasClass("page")&&o.add(r.children(".page-content, .tabs")),e?(("reveal"===t?o:i).transitionEnd((function(){i.hasClass("panel-out")?a.onClosed():i.hasClass("panel-in")&&a.onOpened(),a.setStateClasses("after-closing")})),i.removeClass("panel-in").addClass("panel-out"),a.onClose()):(i.addClass("not-animated").removeClass("panel-in").addClass("panel-out"),a.onClose(),a.onClosed()),a},l.init=function(){var e=this;void 0!==e.params.visibleBreakpoint&&e.setVisibleBreakpoint(),void 0!==e.params.collapsedBreakpoint&&e.setCollapsedBreakpoint(),e.params.swipe&&e.enableSwipe(),e.resizable&&e.enableResizable()},l.destroy=function(){var e=this,a=e.app,t=e.$containerEl;if(e.$el){if(e.emit("local::beforeDestroy panelBeforeDestroy",e),e.$el.trigger("panel:beforedestroy"),e.visibleBreakpointResizeHandler&&a.off("resize",e.visibleBreakpointResizeHandler),e.collapsedBreakpointResizeHandler&&a.off("resize",e.collapsedBreakpointResizeHandler),e.$el.hasClass("panel-in-breakpoint")||e.$el.hasClass("panel-in-collapsed")){var i,l=n(e.getViewEl());t&&t.hasClass("page")&&l.add(t.children(".page-content, .tabs")),e.$el.removeClass("panel-in-breakpoint panel-in-collapsed panel-in"),l.css(((i={})["margin-"+e.side]="",i)),e.emit("local::breakpoint panelBreakpoint",e),e.$el.trigger("panel:breakpoint")}e.$el.trigger("panel:destroy"),e.emit("local::destroy panelDestroy",e),e.el&&(e.el.f7Panel=null,delete e.el.f7Panel),p(e),e=null}},i}(l),b={name:"panel",params:{panel:{opened:void 0,side:void 0,effect:void 0,resizable:void 0,backdrop:!0,backdropEl:void 0,visibleBreakpoint:void 0,collapsedBreakpoint:void 0,swipe:!1,swipeNoFollow:!1,swipeOnlyClose:!1,swipeActiveArea:0,swipeThreshold:0,closeByBackdropClick:!0,containerEl:void 0}},static:{Panel:u},create:function(){var e=this;s(e,{panel:{allowOpen:!0,create:function(a){return new u(e,a)},get:function(e){if(void 0===e&&(e=".panel"),e instanceof u)return e;"left"!==e&&"right"!==e||(e=".panel-"+e);var a=n(e);return 0===a.length||a.length>1?void 0:a[0].f7Panel},destroy:function(a){void 0===a&&(a=".panel");var n=e.panel.get(a);if(n&&n.destroy)return n.destroy()},open:function(a,n){void 0===a&&(a=".panel"),"left"!==a&&"right"!==a||(a=".panel-"+a);var t=e.panel.get(a);return t&&t.open?t.open(n):t?void 0:(t=e.panel.create({el:a})).open(n)},close:function(a,n){void 0===a&&(a=".panel-in"),"left"!==a&&"right"!==a||(a=".panel-"+a);var t=e.panel.get(a);return t&&t.open?t.close(n):t?void 0:(t=e.panel.create({el:a})).close(n)},toggle:function(a,n){void 0===a&&(a=".panel"),"left"!==a&&"right"!==a||(a=".panel-"+a);var t=e.panel.get(a);return t&&t.toggle?t.toggle(n):t?void 0:(t=e.panel.create({el:a})).toggle(n)}}})},on:{init:function(){var e=this;n(".panel-init").each((function(a){var t=Object.assign({el:a},n(a).dataset()||{});e.panel.create(t)}))},pageInit:function(e){var a=this;e.$el.find(".panel-init").each((function(e){var t=Object.assign({el:e},n(e).dataset()||{});a.panel.create(t)}))},pageBeforeRemove:function(e){var a=this;e.$el.find(".panel-init").each((function(e){var n=a.panel.get(e);n&&n.destroy&&n.destroy()}))}},vnode:{"panel-init":{insert:function(e){var a=e.elm,t=Object.assign({el:a},n(a).dataset()||{});this.panel.create(t)},destroy:function(e){var a=e.elm,n=this.panel.get(a);n&&n.destroy&&n.destroy()}}},clicks:{".panel-open":function(e,a){void 0===a&&(a={});this.panel.open(a.panel,a.animate)},".panel-close":function(e,a){void 0===a&&(a={});this.panel.close(a.panel,a.animate)},".panel-toggle":function(e,a){void 0===a&&(a={});this.panel.toggle(a.panel,a.animate)},".panel-backdrop":function(){var e=this,a=n(".panel-in:not(.panel-out)");if(a.length){var t=a[0]&&a[0].f7Panel;a.trigger("panel:backdrop-click"),t&&t.emit("backdropClick",t),e.emit("panelBackdropClick",t||a[0]),e.params.panel.closeByBackdropClick&&e.panel.close()}}}};if(a){if(e.prototype.modules&&e.prototype.modules[b.name])return;e.use(b),e.instance&&(e.instance.useModuleParams(b,e.instance.params),e.instance.useModule(b))}return b}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))
1
+ import $ from '../../shared/dom7';
2
+ import { extend } from '../../shared/utils';
3
+ import Panel from './panel-class';
4
+ export default {
5
+ name: 'panel',
6
+ params: {
7
+ panel: {
8
+ opened: undefined,
9
+ // default based on panel-in class
10
+ side: undefined,
11
+ // default based on panel class
12
+ effect: undefined,
13
+ // default based on panel class
14
+ resizable: undefined,
15
+ // default based on panel-resizable class
16
+ backdrop: true,
17
+ backdropEl: undefined,
18
+ visibleBreakpoint: undefined,
19
+ collapsedBreakpoint: undefined,
20
+ swipe: false,
21
+ // or true
22
+ swipeNoFollow: false,
23
+ // or true
24
+ swipeOnlyClose: false,
25
+ swipeActiveArea: 0,
26
+ swipeThreshold: 0,
27
+ closeByBackdropClick: true,
28
+ containerEl: undefined
29
+ }
30
+ },
31
+ static: {
32
+ Panel
33
+ },
34
+
35
+ create() {
36
+ const app = this;
37
+ extend(app, {
38
+ panel: {
39
+ allowOpen: true,
40
+
41
+ create(params) {
42
+ return new Panel(app, params);
43
+ },
44
+
45
+ get(el = '.panel') {
46
+ if (el instanceof Panel) return el;
47
+ if (el === 'left' || el === 'right') el = `.panel-${el}`; // eslint-disable-line
48
+
49
+ const $el = $(el);
50
+ if ($el.length === 0 || $el.length > 1) return undefined;
51
+ return $el[0].f7Panel;
52
+ },
53
+
54
+ destroy(el = '.panel') {
55
+ const panel = app.panel.get(el);
56
+ if (panel && panel.destroy) return panel.destroy();
57
+ return undefined;
58
+ },
59
+
60
+ open(el = '.panel', animate) {
61
+ if (el === 'left' || el === 'right') el = `.panel-${el}`; // eslint-disable-line
62
+
63
+ let panel = app.panel.get(el);
64
+ if (panel && panel.open) return panel.open(animate);
65
+
66
+ if (!panel) {
67
+ panel = app.panel.create({
68
+ el
69
+ });
70
+ return panel.open(animate);
71
+ }
72
+
73
+ return undefined;
74
+ },
75
+
76
+ close(el = '.panel-in', animate) {
77
+ if (el === 'left' || el === 'right') el = `.panel-${el}`; // eslint-disable-line
78
+
79
+ let panel = app.panel.get(el);
80
+ if (panel && panel.open) return panel.close(animate);
81
+
82
+ if (!panel) {
83
+ panel = app.panel.create({
84
+ el
85
+ });
86
+ return panel.close(animate);
87
+ }
88
+
89
+ return undefined;
90
+ },
91
+
92
+ toggle(el = '.panel', animate) {
93
+ if (el === 'left' || el === 'right') el = `.panel-${el}`; // eslint-disable-line
94
+
95
+ let panel = app.panel.get(el);
96
+ if (panel && panel.toggle) return panel.toggle(animate);
97
+
98
+ if (!panel) {
99
+ panel = app.panel.create({
100
+ el
101
+ });
102
+ return panel.toggle(animate);
103
+ }
104
+
105
+ return undefined;
106
+ }
107
+
108
+ }
109
+ });
110
+ },
111
+
112
+ on: {
113
+ init() {
114
+ const app = this;
115
+ $('.panel-init').each(panelEl => {
116
+ const params = Object.assign({
117
+ el: panelEl
118
+ }, $(panelEl).dataset() || {});
119
+ app.panel.create(params);
120
+ });
121
+ },
122
+
123
+ pageInit(page) {
124
+ const app = this;
125
+ page.$el.find('.panel-init').each(panelEl => {
126
+ const params = Object.assign({
127
+ el: panelEl
128
+ }, $(panelEl).dataset() || {});
129
+ app.panel.create(params);
130
+ });
131
+ },
132
+
133
+ pageBeforeRemove(page) {
134
+ const app = this;
135
+ page.$el.find('.panel-init').each(panelEl => {
136
+ const panel = app.panel.get(panelEl);
137
+ if (panel && panel.destroy) panel.destroy();
138
+ });
139
+ }
140
+
141
+ },
142
+ vnode: {
143
+ 'panel-init': {
144
+ insert(vnode) {
145
+ const app = this;
146
+ const panelEl = vnode.elm;
147
+ const params = Object.assign({
148
+ el: panelEl
149
+ }, $(panelEl).dataset() || {});
150
+ app.panel.create(params);
151
+ },
152
+
153
+ destroy(vnode) {
154
+ const app = this;
155
+ const panelEl = vnode.elm;
156
+ const panel = app.panel.get(panelEl);
157
+ if (panel && panel.destroy) panel.destroy();
158
+ }
159
+
160
+ }
161
+ },
162
+ clicks: {
163
+ '.panel-open': function open(clickedEl, data = {}) {
164
+ const app = this;
165
+ app.panel.open(data.panel, data.animate);
166
+ },
167
+ '.panel-close': function close(clickedEl, data = {}) {
168
+ const app = this;
169
+ app.panel.close(data.panel, data.animate);
170
+ },
171
+ '.panel-toggle': function close(clickedEl, data = {}) {
172
+ const app = this;
173
+ app.panel.toggle(data.panel, data.animate);
174
+ },
175
+ '.panel-backdrop': function close() {
176
+ const app = this;
177
+ const $panelEl = $('.panel-in:not(.panel-out)');
178
+ if (!$panelEl.length) return;
179
+ const instance = $panelEl[0] && $panelEl[0].f7Panel;
180
+ $panelEl.trigger('panel:backdrop-click');
181
+
182
+ if (instance) {
183
+ instance.emit('backdropClick', instance);
184
+ }
185
+
186
+ app.emit('panelBackdropClick', instance || $panelEl[0]);
187
+ if (app.params.panel.closeByBackdropClick) app.panel.close();
188
+ }
189
+ }
190
+ };
@@ -0,0 +1 @@
1
+ (function framework7ComponentLoader(e,a){void 0===a&&(a=!0);var n=e.$,t=e.utils,s=(e.getDevice,e.getSupport),l=e.Class,i=(e.Modal,e.ConstructorMethods,e.ModalMethods,t.extend),o=t.now,r=t.nextFrame,p=t.deleteProps;function d(e){const a=e.app,t=s();if(e.resizableInitialized)return;i(e,{resizable:!0,resizableWidth:null,resizableInitialized:!0});const l=n("html"),{$el:o,$backdropEl:p,side:d,effect:c}=e;if(!o)return;let h,f;const b={};let g,u,v,m,w,C;function k(e){if(!e)return null;if(e.indexOf("%")>=0||e.indexOf("vw")>=0)return parseInt(e,10)/100*a.width;const n=parseInt(e,10);return Number.isNaN(n)?null:n}function $(a){e.resizable&&o.hasClass("panel-resizable")&&(b.x="touchstart"===a.type?a.targetTouches[0].pageX:a.pageX,b.y="touchstart"===a.type?a.targetTouches[0].pageY:a.pageY,f=!1,h=!0,m=k(o.css("min-width")),w=k(o.css("max-width")),C=o.hasClass("panel-in-breakpoint"))}function z(t){if(!h)return;const s="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX;f||(u=o[0].offsetWidth,o.transition(0),o.addClass("panel-resizing"),l.css("cursor","col-resize"),("cover"!==c||C)&&(v=n(e.getViewEl()),e.$containerEl&&e.$containerEl.hasClass("page")&&v.add(e.$containerEl.children(".page-content, .tabs, .fab"))),"cover"===c||C||(p.transition(0),v.transition(0))),f=!0,t.preventDefault(),g=s-b.x;let i="left"===d?u+g:u-g;m&&!Number.isNaN(m)&&(i=Math.max(i,m)),w&&!Number.isNaN(w)&&(i=Math.min(i,w)),i=Math.min(Math.max(i,0),a.width),e.resizableWidth=i,o[0].style.width=`${i}px`,"cover"===c||C?C&&v&&v.css(`margin-${d}`,`${i}px`):(v&&v.transform(`translate3d(${"left"===d?i:-i}px, 0, 0)`),p&&p.transform(`translate3d(${"left"===d?i:-i}px, 0, 0)`)),o.trigger("panel:resize",i),e.emit("local::resize panelResize",e,i)}function B(){if(n("html").css("cursor",""),!h||!f)return h=!1,void(f=!1);h=!1,f=!1,l[0].style.setProperty(`--f7-panel-${d}-width`,`${e.resizableWidth}px`),o[0].style.width="","cover"===c||C||(v.transform(""),p.transform("")),o.removeClass("panel-resizing"),r((()=>{o.transition(""),"cover"!==c&&(p.transition(""),v&&v.transition(""))}))}function E(){e.opened&&e.resizableWidth&&(m=k(o.css("min-width")),w=k(o.css("max-width")),m&&!Number.isNaN(m)&&e.resizableWidth<m&&(e.resizableWidth=Math.max(e.resizableWidth,m)),w&&!Number.isNaN(w)&&e.resizableWidth>w&&(e.resizableWidth=Math.min(e.resizableWidth,w)),e.resizableWidth=Math.min(Math.max(e.resizableWidth,0),a.width),l[0].style.setProperty(`--f7-panel-${d}-width`,`${e.resizableWidth}px`))}0===e.$el.find(".panel-resize-handler").length&&e.$el.append('<div class="panel-resize-handler"></div>'),e.$resizeHandlerEl=e.$el.children(".panel-resize-handler"),o.addClass("panel-resizable");const y=!!t.passiveListener&&{passive:!0};e.$el.on(a.touchEvents.start,".panel-resize-handler",$,y),a.on("touchmove:active",z),a.on("touchend:passive",B),a.on("resize",E),e.on("beforeOpen",E),e.once("panelDestroy",(()=>{o.removeClass("panel-resizable"),e.$resizeHandlerEl.remove(),e.$el.off(a.touchEvents.start,".panel-resize-handler",$,y),a.off("touchmove:active",z),a.off("touchend:passive",B),a.off("resize",E),e.off("beforeOpen",E)}))}class c extends l{constructor(e,a={}){const t=i({on:{}},e.params.panel,a);super(t,[e]);const s=this;let l;if(s.params=t,s.$containerEl=s.params.containerEl?n(s.params.containerEl).eq(0):e.$el,s.containerEl=s.$containerEl[0],s.containerEl||(s.$containerEl=e.$el,s.containerEl=e.$el[0]),s.params.el?l=n(s.params.el).eq(0):s.params.content&&(l=n(s.params.content).filter((e=>1===e.nodeType)).eq(0)),0===l.length)return s;if(l[0].f7Panel)return l[0].f7Panel;l[0].f7Panel=s;let o,{side:r,effect:p,resizable:d}=s.params;return void 0===r&&(r=l.hasClass("panel-left")?"left":"right"),void 0===p&&(p=l.hasClass("panel-cover")?"cover":l.hasClass("panel-push")?"push":"reveal"),void 0===d&&(d=l.hasClass("panel-resizable")),s.params.backdrop&&s.params.backdropEl?o=n(s.params.backdropEl):s.params.backdrop&&(o=s.$containerEl.children(".panel-backdrop"),0===o.length&&(o=n('<div class="panel-backdrop"></div>'),s.$containerEl.prepend(o))),i(s,{app:e,side:r,effect:p,resizable:d,$el:l,el:l[0],opened:!1,$backdropEl:o,backdropEl:o&&o[0]}),s.useModules(),s.init(),s}getViewEl(){const e=this;let a;return a=e.$containerEl.children(".views").length>0?e.$containerEl.children(".views")[0]:e.$containerEl.children(".view")[0],a}setStateClasses(e){const a=this,{side:t,el:s}=a,l=a.getViewEl(),i=l&&l.contains(s),o=!l||i?a.$containerEl:n("html");"open"===e&&o.addClass(`with-panel with-panel-${a.side}-${a.effect}`),"before-closing"===e&&o.addClass("with-panel-closing"),"closing"===e&&(o.addClass("with-panel-closing"),o.removeClass(`with-panel with-panel-${a.side}-${a.effect}`)),"after-closing"===e&&o.removeClass("with-panel-closing"),"closed"===e&&o.removeClass(`with-panel-${t}-reveal with-panel-${t}-cover with-panel-${t}-push with-panel`)}enableVisibleBreakpoint(){const e=this;return e.visibleBreakpointDisabled=!1,e.setVisibleBreakpoint(),e}disableVisibleBreakpoint(){const e=this;return e.visibleBreakpointDisabled=!0,e.setVisibleBreakpoint(),e}toggleVisibleBreakpoint(){const e=this;return e.visibleBreakpointDisabled=!e.visibleBreakpointDisabled,e.setVisibleBreakpoint(),e}setVisibleBreakpoint(e=!0){const a=this,t=a.app;a.visibleBreakpointResizeHandler||(a.visibleBreakpointResizeHandler=function(){a.setVisibleBreakpoint()},t.on("resize",a.visibleBreakpointResizeHandler));const{side:s,$el:l,$containerEl:i,params:o,visibleBreakpointDisabled:r}=a,p=o.visibleBreakpoint,d=n(a.getViewEl()),c=l.hasClass("panel-in-breakpoint");i&&i.hasClass("page")&&d.add(i.children(".page-content, .tabs, .fab")),t.width>=p&&null!=p&&!r?c?d.css({[`margin-${s}`]:`${l.width()}px`}):(a.setStateClasses("closed"),l.addClass("panel-in-breakpoint").removeClass("panel-in panel-in-collapsed"),a.onOpen(!1),a.onOpened(),d.css({[`margin-${s}`]:`${l.width()}px`}),t.allowPanelOpen=!0,e&&(a.emit("local::breakpoint panelBreakpoint",a),a.$el.trigger("panel:breakpoint"))):c&&(l.removeClass("panel-in-breakpoint panel-in"),a.onClose(),a.onClosed(),d.css({[`margin-${s}`]:""}),e&&(a.emit("local::breakpoint panelBreakpoint",a),a.$el.trigger("panel:breakpoint")))}enableCollapsedBreakpoint(){const e=this;return e.collapsedBreakpointDisabled=!1,e.setCollapsedBreakpoint(),e}disableCollapsedBreakpoint(){const e=this;return e.collapsedBreakpointDisabled=!0,e.setCollapsedBreakpoint(),e}toggleCollapsedBreakpoint(){const e=this;return e.collapsedBreakpointDisabled=!e.collapsedBreakpointDisabled,e.setCollapsedBreakpoint(),e}setCollapsedBreakpoint(e=!0){const a=this,n=a.app;a.collapsedBreakpointResizeHandler||(a.collapsedBreakpointResizeHandler=function(){a.setCollapsedBreakpoint()},n.on("resize",a.collapsedBreakpointResizeHandler));const{$el:t,params:s,collapsedBreakpointDisabled:l}=a;if(t.hasClass("panel-in-breakpoint"))return;const i=s.collapsedBreakpoint,o=t.hasClass("panel-in-collapsed");n.width>=i&&null!=i&&!l?o||(a.setStateClasses("closed"),t.addClass("panel-in-collapsed").removeClass("panel-in"),a.collapsed=!0,n.allowPanelOpen=!0,e&&(a.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",a),a.$el.trigger("panel:collapsedbreakpoint"))):o&&(t.removeClass("panel-in-collapsed panel-in"),a.collapsed=!1,e&&(a.emit("local::collapsedBreakpoint panelCollapsedBreakpoint",a),a.$el.trigger("panel:collapsedbreakpoint")))}enableResizable(){const e=this;return e.resizableInitialized?(e.resizable=!0,e.$el.addClass("panel-resizable")):d(e),e}disableResizable(){const e=this;return e.resizable=!1,e.$el.removeClass("panel-resizable"),e}enableSwipe(){const e=this;return e.swipeInitialized?e.swipeable=!0:function(e){const a=e.app;if(e.swipeInitialized)return;i(e,{swipeable:!0,swipeInitialized:!0});const t=e.params,{$el:s,$backdropEl:l,side:p,effect:d}=e;let c,h,f,b,g,u;const v={};let m,w,C,k,$,z,B,E=0;function y(s){if(!e.swipeable||f)return;if(!a.panel.allowOpen||!t.swipe&&!t.swipeOnlyClose||h)return;if(n(".modal-in:not(.toast):not(.notification), .photo-browser-in").length>0)return;c=a.panel.get("left"===p?"right":"left")||{};const l=c.opened&&c.$el&&!c.$el.hasClass("panel-in-breakpoint");if((e.opened||!l)&&(t.swipeOnlyClose||!l)&&(!s.target||"input"!==s.target.nodeName.toLowerCase()||"range"!==s.target.type)&&!(n(s.target).closest(".range-slider, .tabs-swipeable-wrap, .calendar-months, .no-swipe-panel, .card-opened").length>0)&&(v.x="touchstart"===s.type?s.targetTouches[0].pageX:s.pageX,v.y="touchstart"===s.type?s.targetTouches[0].pageY:s.pageY,!t.swipeOnlyClose||e.opened)){if(t.swipeActiveArea&&!e.opened){if("left"===p&&v.x>t.swipeActiveArea)return;if("right"===p&&v.x<a.width-t.swipeActiveArea)return}E=0,B=n(e.getViewEl()),b=!1,h=!0,g=void 0,u=!1,m=o(),z=void 0}}function x(n){if(!h||f||u)return;if(E+=1,E<2)return;if(n.f7PreventSwipePanel||a.preventSwipePanelBySwipeBack||a.preventSwipePanel)return void(h=!1);const i="touchmove"===n.type?n.targetTouches[0].pageX:n.pageX,o="touchmove"===n.type?n.targetTouches[0].pageY:n.pageY;if(void 0===g&&(g=!!(g||Math.abs(o-v.y)>Math.abs(i-v.x))),g)return void(h=!1);if(!z){if(z=i>v.x?"to-right":"to-left",t.swipeActiveArea>0&&!e.opened){if("left"===p&&v.x>t.swipeActiveArea)return void(h=!1);if("right"===p&&v.x<a.width-t.swipeActiveArea)return void(h=!1)}if(s.hasClass("panel-in-breakpoint"))return void(h=!1);if("left"===p&&"to-left"===z&&!s.hasClass("panel-in")||"right"===p&&"to-right"===z&&!s.hasClass("panel-in"))return void(h=!1)}let r=e.opened?0:-t.swipeThreshold;"right"===p&&(r=-r),b||(e.opened||(e.insertToRoot(),s.addClass("panel-in-swipe"),l.css("visibility","visible"),s.trigger("panel:swipeopen"),e.emit("local::swipeOpen panelSwipeOpen",e)),$=s[0].offsetWidth,"reveal"===d&&s.hasClass("panel-in-collapsed")&&($-=parseFloat(B.css(`margin-${p}`))),s.transition(0)),b=!0,n.cancelable&&n.preventDefault(),w=i-v.x+r,"right"===p?"cover"===d||"push"===d?(C=w+(e.opened?0:$),C<0&&(C=0),C>$&&(C=$)):(C=w-(e.opened?$:0),C>0&&(C=0),C<-$&&(C=-$)):(C=w+(e.opened?$:0),C<0&&(C=0),C>$&&(C=$));const c=Math.abs(C/$);if("reveal"===d)t.swipeNoFollow||(B.transform(`translate3d(${C}px,0,0)`).transition(0),l.transform(`translate3d(${C}px,0,0)`).transition(0)),s.trigger("panel:swipe",Math.abs(C/$)),e.emit("local::swipe panelSwipe",e,Math.abs(C/$));else{if("left"===p&&(C-=$),!t.swipeNoFollow&&(l.transition(0),k=1-Math.abs(C/$),l.css({opacity:k}),s.transform(`translate3d(${C}px,0,0)`).transition(0),"push"===d)){const e="left"===p?C+$:C-$;B.transform(`translate3d(${e}px,0,0)`).transition(0),l.transform(`translate3d(${e}px,0,0)`).transition(0)}s.trigger("panel:swipe",Math.abs(C/$)),e.emit("local::swipe panelSwipe",e,Math.abs(C/$))}t.swipeNoFollow&&(e.opened&&0===c||!e.opened&&1===c)&&(u=!0,O(n))}function O(a){if(!h||!b)return h=!1,void(b=!1);const n="gesturestart"===a.type||f;h=!1,b=!1;const i=(new Date).getTime()-m;let o;const c=(0===C||Math.abs(C)===$)&&!t.swipeNoFollow,g=t.swipeThreshold||0;o=n?"reset":e.opened?"cover"===d||"push"===d?0===C?"reset":i<300&&Math.abs(C)>0?"swap":i>=300&&Math.abs(C)<$/2?"reset":"swap":C===-$?"reset":i<300&&Math.abs(C)>=0||i>=300&&Math.abs(C)<=$/2?"left"===p&&C===$?"reset":"swap":"reset":Math.abs(w)<g?"reset":"cover"===d||"push"===d?0===C||i<300&&Math.abs(C)>0||i>=300&&Math.abs(C)<$/2?"swap":"reset":0===C?"reset":i<300&&Math.abs(C)>0||i>=300&&Math.abs(C)>=$/2?"swap":"reset","swap"===o&&(e.opened?e.close(!c):e.open(!c));let u=!0;if("reset"===o&&!e.opened)if(c)s.removeClass("panel-in-swipe");else{u=!1;const a="reveal"===d?B:s;e.setStateClasses("before-closing"),a.transitionEnd((()=>{s.hasClass("panel-in")||(s.removeClass("panel-in-swipe"),e.setStateClasses("after-closing"))}))}"reveal"!==d&&"push"!==d||r((()=>{B.transition(""),B.transform("")})),u&&s.removeClass("panel-in-swipe"),s.transition("").transform(""),l.transform("").transition("").css({opacity:"",visibility:""})}function M(e){f=!0,O(e)}function N(){f=!1}a.on("touchstart:passive",y),a.on("touchmove:active",x),a.on("touchend:passive",O),a.on("gesturestart",M),a.on("gestureend",N),e.on("panelDestroy",(()=>{a.off("touchstart:passive",y),a.off("touchmove:active",x),a.off("touchend:passive",O),a.off("gesturestart",M),a.off("gestureend",N)}))}(e),e}disableSwipe(){return this.swipeable=!1,this}onOpen(e=!0){const a=this,n=a.app;a.opened=!0,n.panel.allowOpen=!1,a.$el.trigger("panel:beforeopen"),a.emit("local::beforeOpen panelBeforeOpen",a),e&&a.setStateClasses("open"),a.$el.trigger("panel:open"),a.emit("local::open panelOpen",a)}onOpened(){const e=this;e.app.panel.allowOpen=!0,e.$el.trigger("panel:opened"),e.emit("local::opened panelOpened",e)}onClose(){const e=this,a=e.app;e.opened=!1,a.panel.allowOpen=!1,e.$el.trigger("panel:beforeclose"),e.emit("local::beforeClose panelBeforeClose",e),e.setStateClasses("closing"),e.$el.trigger("panel:close"),e.emit("local::close panelClose",e)}onClosed(){const e=this,a=e.app;if(a.panel.allowOpen=!0,e.setStateClasses("after-closing"),e.$el.removeClass("panel-out"),e.$backdropEl){const n=a.panel.get(".panel-in");(!n||n&&!n.$backdropEl)&&e.$backdropEl.removeClass("panel-backdrop-in")}e.$el.trigger("panel:closed"),e.emit("local::closed panelClosed",e)}toggle(e=!0){const a=this,n=a.params.visibleBreakpoint;return a.app.width>=n&&null!=n?a.toggleVisibleBreakpoint():(a.opened?a.close(e):a.open(e),a)}insertToRoot(){const e=this,a=getDocument(),{$el:n,$backdropEl:t,$containerEl:s}=e,l=n.parent(),i=n.parents(a).length>0;if(!l.is(s)||n.prevAll(".views, .view").length){const a=s.children(".panel, .views, .view").eq(0),o=s.children(".panel-backdrop").eq(0);a.length?n.insertBefore(a):o?n.insertBefore(o):s.prepend(n),t&&t.length&&(!t.parent().is(s)&&0===t.nextAll(".panel").length||t.parent().is(s)&&0===t.nextAll(".panel").length)&&t.insertBefore(n),e.once("panelClosed",(()=>{i?l.append(n):n.remove()}))}}open(e=!0){const a=this,t=a.app;if(!t.panel.allowOpen)return!1;const{effect:s,$el:l,$backdropEl:i,opened:o,$containerEl:r}=a;if(!l||l.hasClass("panel-in"))return a;if(a.insertToRoot(),o||l.hasClass("panel-in-breakpoint")||l.hasClass("panel-in"))return!1;const p=t.panel.get(".panel-in");p&&p!==a&&p.close(e),l[e?"removeClass":"addClass"]("not-animated"),l.addClass("panel-in"),i&&(i.addClass("panel-backdrop-in"),i[e?"removeClass":"addClass"]("not-animated")),"cover"!==a.effect&&"push"!==a.effect||(a._clientLeft=l[0].clientLeft);const d=n(a.getViewEl());r&&r.hasClass("page")&&d.add(r.children(".page-content, .tabs"));const c="reveal"===s?d:l;return e?(i&&i.removeClass("not-animated"),function e(){c.transitionEnd((t=>{n(t.target).is(c)?l.hasClass("panel-out")?a.onClosed():a.onOpened():e()}))}(),l.removeClass("panel-out not-animated").addClass("panel-in"),a.onOpen()):(i&&i.addClass("not-animated"),l.removeClass("panel-out").addClass("panel-in not-animated"),a.onOpen(),a.onOpened()),!0}close(e=!0){const a=this,{effect:t,$el:s,$backdropEl:l,opened:i,$containerEl:o}=a;if(!i||s.hasClass("panel-in-breakpoint")||!s.hasClass("panel-in"))return a;s[e?"removeClass":"addClass"]("not-animated"),l&&l[e?"removeClass":"addClass"]("not-animated");const r=n(a.getViewEl());o&&o.hasClass("page")&&r.add(o.children(".page-content, .tabs"));return e?(("reveal"===t?r:s).transitionEnd((()=>{s.hasClass("panel-out")?a.onClosed():s.hasClass("panel-in")&&a.onOpened(),a.setStateClasses("after-closing")})),s.removeClass("panel-in").addClass("panel-out"),a.onClose()):(s.addClass("not-animated").removeClass("panel-in").addClass("panel-out"),a.onClose(),a.onClosed()),a}init(){const e=this;void 0!==e.params.visibleBreakpoint&&e.setVisibleBreakpoint(),void 0!==e.params.collapsedBreakpoint&&e.setCollapsedBreakpoint(),e.params.swipe&&e.enableSwipe(),e.resizable&&e.enableResizable()}destroy(){let e=this;const a=e.app,{$containerEl:t}=e;if(e.$el){if(e.emit("local::beforeDestroy panelBeforeDestroy",e),e.$el.trigger("panel:beforedestroy"),e.visibleBreakpointResizeHandler&&a.off("resize",e.visibleBreakpointResizeHandler),e.collapsedBreakpointResizeHandler&&a.off("resize",e.collapsedBreakpointResizeHandler),e.$el.hasClass("panel-in-breakpoint")||e.$el.hasClass("panel-in-collapsed")){const a=n(e.getViewEl());t&&t.hasClass("page")&&a.add(t.children(".page-content, .tabs")),e.$el.removeClass("panel-in-breakpoint panel-in-collapsed panel-in"),a.css({[`margin-${e.side}`]:""}),e.emit("local::breakpoint panelBreakpoint",e),e.$el.trigger("panel:breakpoint")}e.$el.trigger("panel:destroy"),e.emit("local::destroy panelDestroy",e),e.el&&(e.el.f7Panel=null,delete e.el.f7Panel),p(e),e=null}}}var h={name:"panel",params:{panel:{opened:void 0,side:void 0,effect:void 0,resizable:void 0,backdrop:!0,backdropEl:void 0,visibleBreakpoint:void 0,collapsedBreakpoint:void 0,swipe:!1,swipeNoFollow:!1,swipeOnlyClose:!1,swipeActiveArea:0,swipeThreshold:0,closeByBackdropClick:!0,containerEl:void 0}},static:{Panel:c},create(){const e=this;i(e,{panel:{allowOpen:!0,create:a=>new c(e,a),get(e=".panel"){if(e instanceof c)return e;"left"!==e&&"right"!==e||(e=`.panel-${e}`);const a=n(e);return 0===a.length||a.length>1?void 0:a[0].f7Panel},destroy(a=".panel"){const n=e.panel.get(a);if(n&&n.destroy)return n.destroy()},open(a=".panel",n){"left"!==a&&"right"!==a||(a=`.panel-${a}`);let t=e.panel.get(a);return t&&t.open?t.open(n):t?void 0:(t=e.panel.create({el:a}),t.open(n))},close(a=".panel-in",n){"left"!==a&&"right"!==a||(a=`.panel-${a}`);let t=e.panel.get(a);return t&&t.open?t.close(n):t?void 0:(t=e.panel.create({el:a}),t.close(n))},toggle(a=".panel",n){"left"!==a&&"right"!==a||(a=`.panel-${a}`);let t=e.panel.get(a);return t&&t.toggle?t.toggle(n):t?void 0:(t=e.panel.create({el:a}),t.toggle(n))}}})},on:{init(){const e=this;n(".panel-init").each((a=>{const t=Object.assign({el:a},n(a).dataset()||{});e.panel.create(t)}))},pageInit(e){const a=this;e.$el.find(".panel-init").each((e=>{const t=Object.assign({el:e},n(e).dataset()||{});a.panel.create(t)}))},pageBeforeRemove(e){const a=this;e.$el.find(".panel-init").each((e=>{const n=a.panel.get(e);n&&n.destroy&&n.destroy()}))}},vnode:{"panel-init":{insert(e){const a=e.elm,t=Object.assign({el:a},n(a).dataset()||{});this.panel.create(t)},destroy(e){const a=e.elm,n=this.panel.get(a);n&&n.destroy&&n.destroy()}}},clicks:{".panel-open":function(e,a={}){this.panel.open(a.panel,a.animate)},".panel-close":function(e,a={}){this.panel.close(a.panel,a.animate)},".panel-toggle":function(e,a={}){this.panel.toggle(a.panel,a.animate)},".panel-backdrop":function(){const e=this,a=n(".panel-in:not(.panel-out)");if(!a.length)return;const t=a[0]&&a[0].f7Panel;a.trigger("panel:backdrop-click"),t&&t.emit("backdropClick",t),e.emit("panelBackdropClick",t||a[0]),e.params.panel.closeByBackdropClick&&e.panel.close()}}};if(a){if(e.prototype.modules&&e.prototype.modules[h.name])return;e.use(h),e.instance&&(e.instance.useModuleParams(h,e.instance.params),e.instance.useModule(h))}return h}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))
@@ -3,29 +3,31 @@ import { extend, nextFrame } from '../../shared/utils';
3
3
  import { getSupport } from '../../shared/get-support';
4
4
 
5
5
  function resizablePanel(panel) {
6
- var app = panel.app;
7
- var support = getSupport();
6
+ const app = panel.app;
7
+ const support = getSupport();
8
8
  if (panel.resizableInitialized) return;
9
9
  extend(panel, {
10
10
  resizable: true,
11
11
  resizableWidth: null,
12
12
  resizableInitialized: true
13
13
  });
14
- var $htmlEl = $('html');
15
- var $el = panel.$el,
16
- $backdropEl = panel.$backdropEl,
17
- side = panel.side,
18
- effect = panel.effect;
14
+ const $htmlEl = $('html');
15
+ const {
16
+ $el,
17
+ $backdropEl,
18
+ side,
19
+ effect
20
+ } = panel;
19
21
  if (!$el) return;
20
- var isTouched;
21
- var isMoved;
22
- var touchesStart = {};
23
- var touchesDiff;
24
- var panelWidth;
25
- var $viewEl;
26
- var panelMinWidth;
27
- var panelMaxWidth;
28
- var visibleByBreakpoint;
22
+ let isTouched;
23
+ let isMoved;
24
+ const touchesStart = {};
25
+ let touchesDiff;
26
+ let panelWidth;
27
+ let $viewEl;
28
+ let panelMinWidth;
29
+ let panelMaxWidth;
30
+ let visibleByBreakpoint;
29
31
 
30
32
  function transformCSSWidth(v) {
31
33
  if (!v) return null;
@@ -34,7 +36,7 @@ function resizablePanel(panel) {
34
36
  return parseInt(v, 10) / 100 * app.width;
35
37
  }
36
38
 
37
- var newV = parseInt(v, 10);
39
+ const newV = parseInt(v, 10);
38
40
  if (Number.isNaN(newV)) return null;
39
41
  return newV;
40
42
  }
@@ -56,7 +58,7 @@ function resizablePanel(panel) {
56
58
 
57
59
  function handleTouchMove(e) {
58
60
  if (!isTouched) return;
59
- var pageX = e.type === 'touchmove' ? e.targetTouches[0].pageX : e.pageX;
61
+ const pageX = e.type === 'touchmove' ? e.targetTouches[0].pageX : e.pageX;
60
62
 
61
63
  if (!isMoved) {
62
64
  panelWidth = $el[0].offsetWidth;
@@ -81,7 +83,7 @@ function resizablePanel(panel) {
81
83
  isMoved = true;
82
84
  e.preventDefault();
83
85
  touchesDiff = pageX - touchesStart.x;
84
- var newPanelWidth = side === 'left' ? panelWidth + touchesDiff : panelWidth - touchesDiff;
86
+ let newPanelWidth = side === 'left' ? panelWidth + touchesDiff : panelWidth - touchesDiff;
85
87
 
86
88
  if (panelMinWidth && !Number.isNaN(panelMinWidth)) {
87
89
  newPanelWidth = Math.max(newPanelWidth, panelMinWidth);
@@ -93,18 +95,18 @@ function resizablePanel(panel) {
93
95
 
94
96
  newPanelWidth = Math.min(Math.max(newPanelWidth, 0), app.width);
95
97
  panel.resizableWidth = newPanelWidth;
96
- $el[0].style.width = newPanelWidth + "px";
98
+ $el[0].style.width = `${newPanelWidth}px`;
97
99
 
98
100
  if (effect !== 'cover' && !visibleByBreakpoint) {
99
101
  if ($viewEl) {
100
- $viewEl.transform("translate3d(" + (side === 'left' ? newPanelWidth : -newPanelWidth) + "px, 0, 0)");
102
+ $viewEl.transform(`translate3d(${side === 'left' ? newPanelWidth : -newPanelWidth}px, 0, 0)`);
101
103
  }
102
104
 
103
105
  if ($backdropEl) {
104
- $backdropEl.transform("translate3d(" + (side === 'left' ? newPanelWidth : -newPanelWidth) + "px, 0, 0)");
106
+ $backdropEl.transform(`translate3d(${side === 'left' ? newPanelWidth : -newPanelWidth}px, 0, 0)`);
105
107
  }
106
108
  } else if (visibleByBreakpoint && $viewEl) {
107
- $viewEl.css("margin-" + side, newPanelWidth + "px");
109
+ $viewEl.css(`margin-${side}`, `${newPanelWidth}px`);
108
110
  }
109
111
 
110
112
  $el.trigger('panel:resize', newPanelWidth);
@@ -122,7 +124,7 @@ function resizablePanel(panel) {
122
124
 
123
125
  isTouched = false;
124
126
  isMoved = false;
125
- $htmlEl[0].style.setProperty("--f7-panel-" + side + "-width", panel.resizableWidth + "px");
127
+ $htmlEl[0].style.setProperty(`--f7-panel-${side}-width`, `${panel.resizableWidth}px`);
126
128
  $el[0].style.width = '';
127
129
 
128
130
  if (effect !== 'cover' && !visibleByBreakpoint) {
@@ -131,7 +133,7 @@ function resizablePanel(panel) {
131
133
  }
132
134
 
133
135
  $el.removeClass('panel-resizing');
134
- nextFrame(function () {
136
+ nextFrame(() => {
135
137
  $el.transition('');
136
138
 
137
139
  if (effect !== 'cover') {
@@ -155,7 +157,7 @@ function resizablePanel(panel) {
155
157
  }
156
158
 
157
159
  panel.resizableWidth = Math.min(Math.max(panel.resizableWidth, 0), app.width);
158
- $htmlEl[0].style.setProperty("--f7-panel-" + side + "-width", panel.resizableWidth + "px");
160
+ $htmlEl[0].style.setProperty(`--f7-panel-${side}-width`, `${panel.resizableWidth}px`);
159
161
  }
160
162
 
161
163
  if (panel.$el.find('.panel-resize-handler').length === 0) {
@@ -165,7 +167,7 @@ function resizablePanel(panel) {
165
167
  panel.$resizeHandlerEl = panel.$el.children('.panel-resize-handler');
166
168
  $el.addClass('panel-resizable'); // Add Events
167
169
 
168
- var passive = support.passiveListener ? {
170
+ const passive = support.passiveListener ? {
169
171
  passive: true
170
172
  } : false;
171
173
  panel.$el.on(app.touchEvents.start, '.panel-resize-handler', handleTouchStart, passive);
@@ -173,7 +175,7 @@ function resizablePanel(panel) {
173
175
  app.on('touchend:passive', handleTouchEnd);
174
176
  app.on('resize', handleResize);
175
177
  panel.on('beforeOpen', handleResize);
176
- panel.once('panelDestroy', function () {
178
+ panel.once('panelDestroy', () => {
177
179
  $el.removeClass('panel-resizable');
178
180
  panel.$resizeHandlerEl.remove();
179
181
  panel.$el.off(app.touchEvents.start, '.panel-resize-handler', handleTouchStart, passive);