framework7 6.3.15 → 7.0.0-beta.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/accordion.js +132 -1
- package/components/accordion/accordion.lazy.js +1 -0
- package/components/actions/actions-class.js +370 -0
- package/components/actions/actions-rtl.css +1 -1
- package/components/actions/actions.css +1 -1
- package/components/actions/actions.d.ts +2 -0
- package/components/actions/actions.js +43 -1
- package/components/actions/actions.lazy.js +1 -0
- package/components/actions/actions.less +3 -0
- package/components/app/app-class.d.ts +10 -10
- package/{esm/components → components}/app/app-class.js +119 -152
- package/components/app/app.less +3 -3
- package/{esm/components → components}/app/load-module.js +34 -34
- package/components/appbar/appbar.js +3 -1
- package/components/appbar/appbar.lazy.js +1 -0
- package/components/area-chart/area-chart-class.js +507 -0
- package/components/area-chart/area-chart-rtl.css +1 -1
- package/components/area-chart/area-chart.css +1 -1
- package/components/area-chart/area-chart.js +47 -1
- package/components/area-chart/area-chart.lazy.js +1 -0
- package/{esm/components → components}/autocomplete/autocomplete-class.js +246 -258
- package/components/autocomplete/autocomplete-rtl.css +1 -1
- package/components/autocomplete/autocomplete.css +1 -1
- package/components/autocomplete/autocomplete.js +86 -1
- package/components/autocomplete/autocomplete.lazy.js +1 -0
- package/{esm/components → components}/badge/badge.js +0 -0
- package/{esm/components → components}/block/block.js +0 -0
- package/components/breadcrumbs/breadcrumbs-aurora.less +2 -0
- package/components/breadcrumbs/breadcrumbs-ios.less +2 -0
- package/components/breadcrumbs/breadcrumbs-md.less +2 -0
- package/components/breadcrumbs/breadcrumbs-rtl.css +1 -0
- package/components/breadcrumbs/breadcrumbs-vars.less +36 -0
- package/components/breadcrumbs/breadcrumbs.css +1 -0
- package/components/breadcrumbs/breadcrumbs.d.ts +15 -0
- package/components/breadcrumbs/breadcrumbs.js +13 -0
- package/components/breadcrumbs/breadcrumbs.lazy.js +1 -0
- package/components/breadcrumbs/breadcrumbs.less +100 -0
- package/{esm/components → components}/button/button.js +0 -0
- package/{esm/components → components}/calendar/calendar-class.js +828 -728
- package/components/calendar/calendar-rtl.css +1 -1
- package/components/calendar/calendar-vars.less +6 -10
- package/components/calendar/calendar.css +1 -1
- package/components/calendar/calendar.d.ts +2 -0
- package/components/calendar/calendar.js +112 -1
- package/components/calendar/calendar.lazy.js +1 -0
- package/components/calendar/calendar.less +20 -16
- package/components/card/card-rtl.css +1 -1
- package/components/card/card.css +1 -1
- package/components/card/card.js +592 -1
- package/components/card/card.lazy.js +1 -0
- package/components/checkbox/checkbox-rtl.css +1 -1
- package/components/checkbox/checkbox.css +1 -1
- package/components/checkbox/checkbox.js +3 -1
- package/components/checkbox/checkbox.lazy.js +1 -0
- package/components/chip/chip-rtl.css +1 -1
- package/components/chip/chip.css +1 -1
- package/components/chip/chip.js +3 -1
- package/components/chip/chip.lazy.js +1 -0
- package/{esm/components → components}/color-picker/color-picker-class.js +354 -367
- package/components/color-picker/color-picker-rtl.css +1 -1
- package/components/color-picker/color-picker.css +1 -1
- package/components/color-picker/color-picker.js +92 -1
- package/components/color-picker/color-picker.lazy.js +1 -0
- package/{esm/components → components}/color-picker/modules/alpha-slider.js +31 -20
- package/{esm/components → components}/color-picker/modules/brightness-slider.js +37 -26
- package/{esm/components → components}/color-picker/modules/current-color.js +5 -3
- package/{esm/components → components}/color-picker/modules/hex.js +28 -17
- package/{esm/components → components}/color-picker/modules/hs-spectrum.js +41 -29
- package/{esm/components → components}/color-picker/modules/hsb-sliders.js +57 -44
- package/{esm/components → components}/color-picker/modules/hue-slider.js +30 -19
- package/{esm/components → components}/color-picker/modules/initial-current-colors.js +15 -10
- package/{esm/components → components}/color-picker/modules/palette.js +16 -13
- package/{esm/components → components}/color-picker/modules/rgb-bars.js +44 -31
- package/{esm/components → components}/color-picker/modules/rgb-sliders.js +49 -36
- package/{esm/components → components}/color-picker/modules/sb-spectrum.js +41 -29
- package/{esm/components → components}/color-picker/modules/wheel.js +62 -50
- package/components/contacts-list/contacts-list-rtl.css +1 -1
- package/components/contacts-list/contacts-list.css +1 -1
- package/components/contacts-list/contacts-list.js +3 -1
- package/components/contacts-list/contacts-list.lazy.js +1 -0
- package/{esm/components → components}/data-table/data-table-class.js +43 -62
- package/components/data-table/data-table-rtl.css +1 -1
- package/components/data-table/data-table.css +1 -1
- package/components/data-table/data-table.js +72 -1
- package/components/data-table/data-table.lazy.js +1 -0
- package/{esm/components → components}/dialog/dialog-class.js +63 -72
- package/components/dialog/dialog-rtl.css +1 -1
- package/components/dialog/dialog.css +1 -1
- package/components/dialog/dialog.js +254 -1
- package/components/dialog/dialog.lazy.js +1 -0
- package/components/elevation/elevation.js +3 -1
- package/components/elevation/elevation.lazy.js +1 -0
- package/components/fab/fab.js +181 -1
- package/components/fab/fab.lazy.js +1 -0
- package/components/form/form.js +347 -1
- package/components/form/form.lazy.js +1 -0
- package/components/gauge/gauge-class.js +306 -0
- package/components/gauge/gauge.js +99 -1
- package/components/gauge/gauge.lazy.js +1 -0
- package/components/grid/grid-rtl.css +1 -1
- package/components/grid/grid.css +1 -1
- package/components/grid/grid.js +227 -1
- package/components/grid/grid.lazy.js +1 -0
- package/{esm/components → components}/icon/icon.js +0 -0
- package/components/infinite-scroll/infinite-scroll.js +110 -1
- package/components/infinite-scroll/infinite-scroll.lazy.js +1 -0
- package/components/input/input-rtl.css +1 -1
- package/components/input/input.css +1 -1
- package/components/input/input.js +394 -1
- package/components/input/input.lazy.js +1 -0
- package/components/input/input.less +1 -1
- package/components/lazy/lazy.js +283 -1
- package/components/lazy/lazy.lazy.js +1 -0
- package/{esm/components → components}/link/link.js +0 -0
- package/{esm/components → components}/list/list.js +0 -0
- package/{esm/components → components}/list-index/list-index-class.js +118 -126
- package/components/list-index/list-index-rtl.css +1 -1
- package/components/list-index/list-index.css +1 -1
- package/components/list-index/list-index.d.ts +1 -1
- package/components/list-index/list-index.js +73 -1
- package/components/list-index/list-index.lazy.js +1 -0
- package/components/login-screen/login-screen-class.js +43 -0
- package/components/login-screen/login-screen-rtl.css +1 -1
- package/components/login-screen/login-screen.css +1 -1
- package/components/login-screen/login-screen.js +28 -1
- package/components/login-screen/login-screen.lazy.js +1 -0
- package/components/login-screen/login-screen.less +1 -1
- package/components/menu/menu.js +79 -1
- package/components/menu/menu.lazy.js +1 -0
- package/{esm/components → components}/messagebar/messagebar-class.js +128 -156
- package/components/messagebar/messagebar-rtl.css +1 -1
- package/components/messagebar/messagebar.css +1 -1
- package/components/messagebar/messagebar.js +74 -1
- package/components/messagebar/messagebar.lazy.js +1 -0
- package/{esm/components → components}/messages/messages-class.js +166 -246
- package/components/messages/messages-rtl.css +1 -1
- package/components/messages/messages.css +1 -1
- package/components/messages/messages.js +73 -1
- package/components/messages/messages.lazy.js +1 -0
- package/components/modal/custom-modal-class.js +76 -0
- package/{esm/components → components}/modal/modal-class.js +81 -86
- package/components/modal/modal.js +25 -0
- package/{esm/components → components}/navbar/navbar.js +169 -174
- package/components/notification/notification-aurora.less +1 -1
- package/{esm/components → components}/notification/notification-class.js +69 -82
- package/components/notification/notification-ios.less +1 -1
- package/components/notification/notification-rtl.css +1 -1
- package/components/notification/notification.css +1 -1
- package/components/notification/notification.d.ts +4 -4
- package/components/notification/notification.js +35 -1
- package/components/notification/notification.lazy.js +1 -0
- package/components/page/page-vars.less +1 -1
- package/{esm/components → components}/page/page.js +0 -0
- package/{esm/components → components}/panel/panel-class.js +189 -220
- package/components/panel/panel-rtl.css +1 -1
- package/components/panel/panel.css +1 -1
- package/components/panel/panel.js +190 -1
- package/components/panel/panel.lazy.js +1 -0
- package/{esm/components → components}/panel/resizable-panel.js +33 -31
- package/{esm/components → components}/panel/swipe-panel.js +48 -46
- package/{esm/components → components}/photo-browser/photo-browser-class.js +210 -238
- package/components/photo-browser/photo-browser.js +73 -1
- package/components/photo-browser/photo-browser.lazy.js +1 -0
- package/{esm/components → components}/picker/picker-class.js +244 -244
- package/components/picker/picker-column.js +141 -0
- package/components/picker/picker-rtl.css +1 -1
- package/components/picker/picker.css +1 -1
- package/components/picker/picker.d.ts +2 -13
- package/components/picker/picker.js +59 -1
- package/components/picker/picker.lazy.js +1 -0
- package/components/picker/picker.less +28 -10
- package/components/pie-chart/pie-chart-class.js +264 -0
- package/components/pie-chart/pie-chart.js +35 -1
- package/components/pie-chart/pie-chart.lazy.js +1 -0
- package/{esm/components → components}/popover/popover-class.js +92 -104
- package/components/popover/popover-rtl.css +1 -1
- package/components/popover/popover.css +1 -1
- package/components/popover/popover.d.ts +2 -0
- package/components/popover/popover.js +77 -1
- package/components/popover/popover.lazy.js +1 -0
- package/components/popover/popover.less +3 -0
- package/{esm/components → components}/popup/popup-class.js +78 -88
- package/components/popup/popup-rtl.css +1 -1
- package/components/popup/popup.css +1 -1
- package/components/popup/popup.d.ts +4 -0
- package/components/popup/popup.js +42 -1
- package/components/popup/popup.lazy.js +1 -0
- package/components/popup/popup.less +24 -21
- package/components/preloader/preloader.js +115 -1
- package/components/preloader/preloader.lazy.js +1 -0
- package/components/progressbar/progressbar-rtl.css +1 -1
- package/components/progressbar/progressbar.css +1 -1
- package/components/progressbar/progressbar.js +166 -1
- package/components/progressbar/progressbar.lazy.js +1 -0
- package/{esm/components → components}/pull-to-refresh/pull-to-refresh-class.js +107 -124
- package/components/pull-to-refresh/pull-to-refresh.js +70 -1
- package/components/pull-to-refresh/pull-to-refresh.lazy.js +1 -0
- package/components/radio/radio-rtl.css +1 -1
- package/components/radio/radio.css +1 -1
- package/components/radio/radio.js +3 -1
- package/components/radio/radio.lazy.js +1 -0
- package/{esm/components → components}/range/range-class.js +196 -197
- package/components/range/range-rtl.css +1 -1
- package/components/range/range.css +1 -1
- package/components/range/range.js +79 -1
- package/components/range/range.lazy.js +1 -0
- package/components/searchbar/remove-diacritics.js +275 -0
- package/{esm/components → components}/searchbar/searchbar-class.js +135 -152
- package/components/searchbar/searchbar-rtl.css +1 -1
- package/components/searchbar/searchbar.css +1 -1
- package/components/searchbar/searchbar.js +121 -1
- package/components/searchbar/searchbar.lazy.js +1 -0
- package/components/searchbar/searchbar.less +1 -1
- package/{esm/components → components}/sheet/sheet-class.js +99 -113
- package/components/sheet/sheet-rtl.css +1 -1
- package/components/sheet/sheet.css +1 -1
- package/components/sheet/sheet.d.ts +2 -0
- package/components/sheet/sheet.js +69 -1
- package/components/sheet/sheet.lazy.js +1 -0
- package/components/sheet/sheet.less +19 -16
- package/components/skeleton/skeleton-rtl.css +1 -1
- package/components/skeleton/skeleton-vars.less +1 -1
- package/components/skeleton/skeleton.css +1 -1
- package/components/skeleton/skeleton.js +3 -1
- package/components/skeleton/skeleton.lazy.js +1 -0
- package/components/skeleton/skeleton.less +1 -1
- package/{esm/components → components}/smart-select/smart-select-class.js +288 -300
- package/components/smart-select/smart-select.js +149 -1
- package/components/smart-select/smart-select.lazy.js +1 -0
- package/components/sortable/sortable-rtl.css +1 -1
- package/components/sortable/sortable.css +1 -1
- package/components/sortable/sortable.js +306 -1
- package/components/sortable/sortable.lazy.js +1 -0
- package/{esm/components → components}/statusbar/statusbar.js +51 -44
- package/{esm/components → components}/stepper/stepper-class.js +108 -119
- package/components/stepper/stepper-rtl.css +1 -1
- package/components/stepper/stepper.css +1 -1
- package/components/stepper/stepper.js +86 -1
- package/components/stepper/stepper.lazy.js +1 -0
- package/{esm/components → components}/subnavbar/subnavbar.js +4 -3
- package/components/swipeout/swipeout-rtl.css +1 -1
- package/components/swipeout/swipeout.css +1 -1
- package/components/swipeout/swipeout.js +597 -1
- package/components/swipeout/swipeout.lazy.js +1 -0
- package/components/swiper/swiper-rtl.css +1 -1
- package/components/swiper/swiper.css +1 -1
- package/components/swiper/swiper.js +191 -1
- package/components/swiper/swiper.lazy.js +1 -0
- package/components/swiper/swiper.less +1 -1
- package/components/tabs/tabs.js +271 -1
- package/components/tabs/tabs.lazy.js +1 -0
- package/{esm/components → components}/text-editor/text-editor-class.js +174 -186
- package/components/text-editor/text-editor-rtl.css +1 -1
- package/components/text-editor/text-editor.css +1 -1
- package/components/text-editor/text-editor.js +89 -1
- package/components/text-editor/text-editor.lazy.js +1 -0
- package/components/timeline/timeline-rtl.css +1 -1
- package/components/timeline/timeline.css +1 -1
- package/components/timeline/timeline.js +3 -1
- package/components/timeline/timeline.lazy.js +1 -0
- package/components/toast/toast-class.js +119 -0
- package/components/toast/toast.d.ts +2 -2
- package/components/toast/toast.js +43 -1
- package/components/toast/toast.lazy.js +1 -0
- package/{esm/components → components}/toggle/toggle-class.js +51 -68
- package/components/toggle/toggle-rtl.css +1 -1
- package/components/toggle/toggle.css +1 -1
- package/components/toggle/toggle.js +65 -1
- package/components/toggle/toggle.lazy.js +1 -0
- package/{esm/components → components}/toolbar/toolbar.js +65 -61
- package/{esm/components → components}/tooltip/tooltip-class.js +100 -111
- package/components/tooltip/tooltip.js +144 -1
- package/components/tooltip/tooltip.lazy.js +1 -0
- package/components/touch-ripple/touch-ripple-class.js +98 -0
- package/components/touch-ripple/touch-ripple-vars.less +1 -1
- package/components/touch-ripple/touch-ripple.js +18 -0
- package/components/treeview/treeview-rtl.css +1 -1
- package/components/treeview/treeview.css +1 -1
- package/components/treeview/treeview.js +83 -1
- package/components/treeview/treeview.lazy.js +1 -0
- package/components/typography/typography.js +3 -1
- package/components/typography/typography.lazy.js +1 -0
- package/{esm/components → components}/view/resizable-view.js +26 -24
- package/{esm/components → components}/view/view-class.js +54 -73
- package/components/view/view.d.ts +2 -0
- package/{esm/components → components}/view/view.js +41 -31
- package/{esm/components → components}/virtual-list/virtual-list-class.js +158 -175
- package/components/virtual-list/virtual-list.js +19 -1
- package/components/virtual-list/virtual-list.lazy.js +1 -0
- package/framework7-bundle-rtl.css +544 -1021
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +544 -1021
- package/framework7-bundle.esm.js +99 -0
- package/framework7-bundle.js +31544 -32007
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +3 -2
- package/framework7-bundle.min.css +3 -3
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +92 -0
- package/framework7-lite.esm.js +39 -0
- package/framework7-rtl.css +52 -56
- package/framework7-rtl.min.css +3 -3
- package/{types/types.d.ts → framework7-types.d.ts} +5 -1
- package/framework7.css +52 -56
- package/framework7.d.ts +85 -81
- package/framework7.esm.js +43 -0
- package/framework7.js +3405 -4062
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +3 -3
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/less/mixins.less +2 -2
- package/{esm/modules → modules}/clicks/clicks.js +19 -18
- package/modules/component/$h.js +14 -0
- package/modules/component/$jsx.js +18 -0
- package/modules/component/component-class.js +382 -0
- package/modules/component/component.js +50 -0
- package/{esm/modules → modules}/component/custom-components.js +0 -0
- package/{esm/modules → modules}/component/eventslisteners.js +15 -19
- package/modules/component/parse-component.js +80 -0
- package/modules/component/patch.js +8 -0
- package/{esm/modules → modules}/component/snabbdom/h.js +1 -1
- package/{esm/modules → modules}/component/snabbdom/helpers/attachto.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/hooks.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/htmldomapi.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/is.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/attributes.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/class.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/dataset.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/eventlisteners.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/hero.js +1 -1
- package/{esm/modules → modules}/component/snabbdom/modules/module.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/props.js +0 -0
- package/{esm/modules → modules}/component/snabbdom/modules/style.js +1 -1
- package/modules/component/snabbdom/snabbdom.bundle.js +19 -0
- package/{esm/modules → modules}/component/snabbdom/snabbdom.js +9 -21
- package/{esm/modules → modules}/component/snabbdom/thunk.js +1 -1
- package/{esm/modules → modules}/component/snabbdom/tovnode.js +2 -2
- package/{esm/modules → modules}/component/snabbdom/vnode.js +0 -0
- package/{esm/modules → modules}/component/vdom.js +110 -134
- package/{esm/modules → modules}/demo-module.js +15 -7
- package/{esm/modules → modules}/device/device.js +13 -12
- package/{esm/modules → modules}/history/history.js +3 -2
- package/{esm/modules → modules}/request/request.js +3 -3
- package/modules/resize/resize.js +65 -0
- package/{esm/modules → modules}/router/app-router-check.js +1 -1
- package/{esm/modules → modules}/router/async-component.js +3 -3
- package/{esm/modules → modules}/router/back.js +135 -125
- package/{esm/modules → modules}/router/clear-previous-history.js +10 -10
- package/modules/router/component-loader.js +174 -0
- package/{esm/modules → modules}/router/modal.js +53 -53
- package/{esm/modules → modules}/router/navigate.js +147 -228
- package/{esm/modules → modules}/router/process-route-queue.js +20 -17
- package/{esm/modules → modules}/router/redirect.js +8 -12
- package/{esm/modules → modules}/router/router-class.js +423 -444
- package/{esm/modules → modules}/router/router.js +6 -4
- package/{esm/modules → modules}/router/swipe-back.js +148 -182
- package/{esm/modules → modules}/router/tab.js +52 -52
- package/{esm/modules → modules}/service-worker/service-worker.js +42 -38
- package/modules/store/create-store.js +149 -0
- package/modules/store/store.js +11 -0
- package/modules/support/support.js +7 -0
- package/{esm/modules → modules}/touch/touch.js +75 -74
- package/modules/utils/utils.js +10 -0
- package/package.json +256 -11
- package/shared/$jsx.js +22 -0
- package/shared/class.js +143 -0
- package/shared/constructor-methods.js +42 -0
- package/{esm/shared → shared}/dom7.js +2 -1
- package/shared/events-class.js +100 -0
- package/{types/shared → shared}/get-device.d.ts +0 -0
- package/{esm/shared → shared}/get-device.js +33 -38
- package/{types/shared → shared}/get-support.d.ts +0 -0
- package/{esm/shared → shared}/get-support.js +7 -6
- package/{esm/shared → shared}/history.js +63 -49
- package/shared/modal-methods.js +90 -0
- package/{types/shared → shared}/request.d.ts +0 -0
- package/shared/request.js +474 -0
- package/{types/shared → shared}/utils.d.ts +0 -0
- package/{esm/shared → shared}/utils.js +125 -162
- package/bundle/package.json +0 -8
- package/cjs/components/accordion/accordion.js +0 -136
- package/cjs/components/actions/actions-class.js +0 -383
- package/cjs/components/actions/actions.js +0 -58
- package/cjs/components/app/app-class.js +0 -378
- package/cjs/components/app/load-module.js +0 -155
- package/cjs/components/appbar/appbar.js +0 -8
- package/cjs/components/area-chart/area-chart-class.js +0 -526
- package/cjs/components/area-chart/area-chart.js +0 -56
- package/cjs/components/autocomplete/autocomplete-class.js +0 -975
- package/cjs/components/autocomplete/autocomplete.js +0 -93
- package/cjs/components/badge/badge.js +0 -8
- package/cjs/components/block/block.js +0 -8
- package/cjs/components/button/button.js +0 -8
- package/cjs/components/calendar/calendar-class.js +0 -2095
- package/cjs/components/calendar/calendar.js +0 -124
- package/cjs/components/card/card.js +0 -625
- package/cjs/components/checkbox/checkbox.js +0 -8
- package/cjs/components/chip/chip.js +0 -8
- package/cjs/components/color-picker/color-picker-class.js +0 -1022
- package/cjs/components/color-picker/color-picker.js +0 -105
- package/cjs/components/color-picker/modules/alpha-slider.js +0 -101
- package/cjs/components/color-picker/modules/brightness-slider.js +0 -86
- package/cjs/components/color-picker/modules/current-color.js +0 -23
- package/cjs/components/color-picker/modules/hex.js +0 -81
- package/cjs/components/color-picker/modules/hs-spectrum.js +0 -137
- package/cjs/components/color-picker/modules/hsb-sliders.js +0 -206
- package/cjs/components/color-picker/modules/hue-slider.js +0 -78
- package/cjs/components/color-picker/modules/initial-current-colors.js +0 -54
- package/cjs/components/color-picker/modules/palette.js +0 -61
- package/cjs/components/color-picker/modules/rgb-bars.js +0 -196
- package/cjs/components/color-picker/modules/rgb-sliders.js +0 -198
- package/cjs/components/color-picker/modules/sb-spectrum.js +0 -137
- package/cjs/components/color-picker/modules/wheel.js +0 -198
- package/cjs/components/contacts-list/contacts-list.js +0 -8
- package/cjs/components/data-table/data-table-class.js +0 -188
- package/cjs/components/data-table/data-table.js +0 -75
- package/cjs/components/dialog/dialog-class.js +0 -250
- package/cjs/components/dialog/dialog.js +0 -297
- package/cjs/components/elevation/elevation.js +0 -8
- package/cjs/components/fab/fab.js +0 -195
- package/cjs/components/form/form.js +0 -341
- package/cjs/components/gauge/gauge-class.js +0 -332
- package/cjs/components/gauge/gauge.js +0 -103
- package/cjs/components/grid/grid.js +0 -233
- package/cjs/components/icon/icon.js +0 -8
- package/cjs/components/infinite-scroll/infinite-scroll.js +0 -111
- package/cjs/components/input/input.js +0 -396
- package/cjs/components/lazy/lazy.js +0 -283
- package/cjs/components/link/link.js +0 -8
- package/cjs/components/list/list.js +0 -8
- package/cjs/components/list-index/list-index-class.js +0 -405
- package/cjs/components/list-index/list-index.js +0 -77
- package/cjs/components/login-screen/login-screen-class.js +0 -68
- package/cjs/components/login-screen/login-screen.js +0 -44
- package/cjs/components/menu/menu.js +0 -92
- package/cjs/components/messagebar/messagebar-class.js +0 -446
- package/cjs/components/messagebar/messagebar.js +0 -78
- package/cjs/components/messages/messages-class.js +0 -633
- package/cjs/components/messages/messages.js +0 -76
- package/cjs/components/modal/custom-modal-class.js +0 -99
- package/cjs/components/modal/modal-class.js +0 -277
- package/cjs/components/modal/modal.js +0 -32
- package/cjs/components/navbar/navbar.js +0 -833
- package/cjs/components/notification/notification-class.js +0 -269
- package/cjs/components/notification/notification.js +0 -44
- package/cjs/components/page/page.js +0 -8
- package/cjs/components/panel/panel-class.js +0 -660
- package/cjs/components/panel/panel.js +0 -219
- package/cjs/components/panel/resizable-panel.js +0 -197
- package/cjs/components/panel/swipe-panel.js +0 -363
- package/cjs/components/photo-browser/photo-browser-class.js +0 -781
- package/cjs/components/photo-browser/photo-browser.js +0 -78
- package/cjs/components/picker/picker-class.js +0 -704
- package/cjs/components/picker/picker-column.js +0 -389
- package/cjs/components/picker/picker.js +0 -77
- package/cjs/components/pie-chart/pie-chart-class.js +0 -290
- package/cjs/components/pie-chart/pie-chart.js +0 -44
- package/cjs/components/popover/popover-class.js +0 -365
- package/cjs/components/popover/popover.js +0 -93
- package/cjs/components/popup/popup-class.js +0 -416
- package/cjs/components/popup/popup.js +0 -57
- package/cjs/components/preloader/preloader.js +0 -111
- package/cjs/components/progressbar/progressbar.js +0 -185
- package/cjs/components/pull-to-refresh/pull-to-refresh-class.js +0 -627
- package/cjs/components/pull-to-refresh/pull-to-refresh.js +0 -74
- package/cjs/components/radio/radio.js +0 -8
- package/cjs/components/range/range-class.js +0 -674
- package/cjs/components/range/range.js +0 -93
- package/cjs/components/searchbar/remove-diacritics.js +0 -283
- package/cjs/components/searchbar/searchbar-class.js +0 -739
- package/cjs/components/searchbar/searchbar.js +0 -141
- package/cjs/components/sheet/sheet-class.js +0 -593
- package/cjs/components/sheet/sheet.js +0 -83
- package/cjs/components/skeleton/skeleton.js +0 -8
- package/cjs/components/smart-select/smart-select-class.js +0 -1005
- package/cjs/components/smart-select/smart-select.js +0 -151
- package/cjs/components/sortable/sortable.js +0 -335
- package/cjs/components/statusbar/statusbar.js +0 -226
- package/cjs/components/stepper/stepper-class.js +0 -497
- package/cjs/components/stepper/stepper.js +0 -96
- package/cjs/components/subnavbar/subnavbar.js +0 -28
- package/cjs/components/swipeout/swipeout.js +0 -618
- package/cjs/components/swiper/swiper.js +0 -189
- package/cjs/components/tabs/tabs.js +0 -295
- package/cjs/components/text-editor/text-editor-class.js +0 -627
- package/cjs/components/text-editor/text-editor.js +0 -93
- package/cjs/components/timeline/timeline.js +0 -8
- package/cjs/components/toast/toast-class.js +0 -142
- package/cjs/components/toast/toast.js +0 -51
- package/cjs/components/toggle/toggle-class.js +0 -213
- package/cjs/components/toggle/toggle.js +0 -72
- package/cjs/components/toolbar/toolbar.js +0 -234
- package/cjs/components/tooltip/tooltip-class.js +0 -409
- package/cjs/components/tooltip/tooltip.js +0 -146
- package/cjs/components/touch-ripple/touch-ripple-class.js +0 -110
- package/cjs/components/touch-ripple/touch-ripple.js +0 -34
- package/cjs/components/treeview/treeview.js +0 -88
- package/cjs/components/typography/typography.js +0 -8
- package/cjs/components/view/resizable-view.js +0 -155
- package/cjs/components/view/view-class.js +0 -251
- package/cjs/components/view/view.js +0 -196
- package/cjs/components/virtual-list/virtual-list-class.js +0 -654
- package/cjs/components/virtual-list/virtual-list.js +0 -27
- package/cjs/framework7-bundle.js +0 -208
- package/cjs/framework7-lite-bundle.js +0 -191
- package/cjs/framework7-lite.js +0 -87
- package/cjs/framework7.js +0 -98
- package/cjs/modules/clicks/clicks.js +0 -115
- package/cjs/modules/component/$h.js +0 -31
- package/cjs/modules/component/$jsx.js +0 -31
- package/cjs/modules/component/component-class.js +0 -434
- package/cjs/modules/component/component.js +0 -58
- package/cjs/modules/component/custom-components.js +0 -6
- package/cjs/modules/component/eventslisteners.js +0 -90
- package/cjs/modules/component/parse-component.js +0 -80
- package/cjs/modules/component/patch.js +0 -21
- package/cjs/modules/component/snabbdom/h.js +0 -72
- package/cjs/modules/component/snabbdom/helpers/attachto.js +0 -62
- package/cjs/modules/component/snabbdom/hooks.js +0 -1
- package/cjs/modules/component/snabbdom/htmldomapi.js +0 -90
- package/cjs/modules/component/snabbdom/is.js +0 -11
- package/cjs/modules/component/snabbdom/modules/attributes.js +0 -61
- package/cjs/modules/component/snabbdom/modules/class.js +0 -38
- package/cjs/modules/component/snabbdom/modules/dataset.js +0 -47
- package/cjs/modules/component/snabbdom/modules/eventlisteners.js +0 -106
- package/cjs/modules/component/snabbdom/modules/hero.js +0 -193
- package/cjs/modules/component/snabbdom/modules/module.js +0 -1
- package/cjs/modules/component/snabbdom/modules/props.js +0 -40
- package/cjs/modules/component/snabbdom/modules/style.js +0 -116
- package/cjs/modules/component/snabbdom/snabbdom.bundle.js +0 -33
- package/cjs/modules/component/snabbdom/snabbdom.js +0 -374
- package/cjs/modules/component/snabbdom/thunk.js +0 -66
- package/cjs/modules/component/snabbdom/tovnode.js +0 -57
- package/cjs/modules/component/snabbdom/vnode.js +0 -20
- package/cjs/modules/component/vdom.js +0 -393
- package/cjs/modules/demo-module.js +0 -49
- package/cjs/modules/device/device.js +0 -56
- package/cjs/modules/history/history.js +0 -21
- package/cjs/modules/request/request.js +0 -20
- package/cjs/modules/resize/resize.js +0 -72
- package/cjs/modules/router/app-router-check.js +0 -10
- package/cjs/modules/router/async-component.js +0 -33
- package/cjs/modules/router/back.js +0 -899
- package/cjs/modules/router/clear-previous-history.js +0 -50
- package/cjs/modules/router/component-loader.js +0 -140
- package/cjs/modules/router/modal.js +0 -254
- package/cjs/modules/router/navigate.js +0 -1054
- package/cjs/modules/router/process-route-queue.js +0 -80
- package/cjs/modules/router/redirect.js +0 -52
- package/cjs/modules/router/router-class.js +0 -1500
- package/cjs/modules/router/router.js +0 -36
- package/cjs/modules/router/swipe-back.js +0 -735
- package/cjs/modules/router/tab.js +0 -264
- package/cjs/modules/service-worker/service-worker.js +0 -101
- package/cjs/modules/store/create-store.js +0 -169
- package/cjs/modules/store/store.js +0 -21
- package/cjs/modules/support/support.js +0 -14
- package/cjs/modules/touch/touch.js +0 -585
- package/cjs/modules/utils/utils.js +0 -21
- package/cjs/shared/$jsx.js +0 -39
- package/cjs/shared/class.js +0 -206
- package/cjs/shared/constructor-methods.js +0 -73
- package/cjs/shared/dom7.js +0 -17
- package/cjs/shared/events-class.js +0 -125
- package/cjs/shared/get-device.js +0 -157
- package/cjs/shared/get-support.js +0 -44
- package/cjs/shared/history.js +0 -185
- package/cjs/shared/modal-methods.js +0 -105
- package/cjs/shared/request.js +0 -552
- package/cjs/shared/utils.js +0 -472
- package/components/accordion/package.json +0 -9
- package/components/actions/package.json +0 -9
- package/components/app/package.json +0 -9
- package/components/appbar/package.json +0 -9
- package/components/area-chart/package.json +0 -9
- package/components/autocomplete/package.json +0 -9
- package/components/badge/package.json +0 -9
- package/components/block/package.json +0 -9
- package/components/button/package.json +0 -9
- package/components/calendar/package.json +0 -9
- package/components/card/package.json +0 -9
- package/components/checkbox/package.json +0 -9
- package/components/chip/package.json +0 -9
- package/components/color-picker/package.json +0 -9
- package/components/contacts-list/package.json +0 -9
- package/components/data-table/package.json +0 -9
- package/components/dialog/package.json +0 -9
- package/components/elevation/package.json +0 -9
- package/components/fab/package.json +0 -9
- package/components/form/package.json +0 -9
- package/components/gauge/package.json +0 -9
- package/components/grid/package.json +0 -9
- package/components/icon/package.json +0 -9
- package/components/infinite-scroll/package.json +0 -9
- package/components/input/package.json +0 -9
- package/components/lazy/package.json +0 -9
- package/components/link/package.json +0 -9
- package/components/list/package.json +0 -9
- package/components/list-index/package.json +0 -9
- package/components/login-screen/package.json +0 -9
- package/components/menu/package.json +0 -9
- package/components/messagebar/package.json +0 -9
- package/components/messages/package.json +0 -9
- package/components/modal/package.json +0 -9
- package/components/navbar/package.json +0 -9
- package/components/notification/package.json +0 -9
- package/components/page/package.json +0 -9
- package/components/panel/package.json +0 -9
- package/components/photo-browser/package.json +0 -9
- package/components/picker/package.json +0 -9
- package/components/pie-chart/package.json +0 -9
- package/components/popover/package.json +0 -9
- package/components/popup/package.json +0 -9
- package/components/preloader/package.json +0 -9
- package/components/progressbar/package.json +0 -9
- package/components/pull-to-refresh/package.json +0 -9
- package/components/radio/package.json +0 -9
- package/components/range/package.json +0 -9
- package/components/searchbar/package.json +0 -9
- package/components/sheet/package.json +0 -9
- package/components/skeleton/package.json +0 -9
- package/components/smart-select/package.json +0 -9
- package/components/sortable/package.json +0 -9
- package/components/statusbar/package.json +0 -9
- package/components/stepper/package.json +0 -9
- package/components/subnavbar/package.json +0 -9
- package/components/swipeout/package.json +0 -9
- package/components/swiper/package.json +0 -9
- package/components/tabs/package.json +0 -9
- package/components/text-editor/package.json +0 -9
- package/components/timeline/package.json +0 -9
- package/components/toast/package.json +0 -9
- package/components/toggle/package.json +0 -9
- package/components/toolbar/package.json +0 -9
- package/components/tooltip/package.json +0 -9
- package/components/touch-ripple/package.json +0 -9
- package/components/treeview/package.json +0 -9
- package/components/typography/package.json +0 -9
- package/components/view/package.json +0 -9
- package/components/virtual-list/package.json +0 -9
- package/core/package.json +0 -8
- package/esm/components/accordion/accordion.js +0 -126
- package/esm/components/actions/actions-class.js +0 -373
- package/esm/components/actions/actions.js +0 -48
- package/esm/components/appbar/appbar.js +0 -3
- package/esm/components/area-chart/area-chart-class.js +0 -517
- package/esm/components/area-chart/area-chart.js +0 -45
- package/esm/components/autocomplete/autocomplete.js +0 -82
- package/esm/components/calendar/calendar.js +0 -113
- package/esm/components/card/card.js +0 -612
- package/esm/components/checkbox/checkbox.js +0 -3
- package/esm/components/chip/chip.js +0 -3
- package/esm/components/color-picker/color-picker.js +0 -94
- package/esm/components/contacts-list/contacts-list.js +0 -3
- package/esm/components/data-table/data-table.js +0 -64
- package/esm/components/dialog/dialog.js +0 -286
- package/esm/components/elevation/elevation.js +0 -3
- package/esm/components/fab/fab.js +0 -185
- package/esm/components/form/form.js +0 -330
- package/esm/components/gauge/gauge-class.js +0 -323
- package/esm/components/gauge/gauge.js +0 -91
- package/esm/components/grid/grid.js +0 -223
- package/esm/components/infinite-scroll/infinite-scroll.js +0 -101
- package/esm/components/input/input.js +0 -384
- package/esm/components/lazy/lazy.js +0 -271
- package/esm/components/list-index/list-index.js +0 -65
- package/esm/components/login-screen/login-screen-class.js +0 -58
- package/esm/components/login-screen/login-screen.js +0 -34
- package/esm/components/menu/menu.js +0 -82
- package/esm/components/messagebar/messagebar.js +0 -66
- package/esm/components/messages/messages.js +0 -65
- package/esm/components/modal/custom-modal-class.js +0 -89
- package/esm/components/modal/modal.js +0 -22
- package/esm/components/notification/notification.js +0 -33
- package/esm/components/panel/panel.js +0 -208
- package/esm/components/photo-browser/photo-browser.js +0 -68
- package/esm/components/picker/picker-column.js +0 -379
- package/esm/components/picker/picker.js +0 -66
- package/esm/components/pie-chart/pie-chart-class.js +0 -281
- package/esm/components/pie-chart/pie-chart.js +0 -33
- package/esm/components/popover/popover.js +0 -81
- package/esm/components/popup/popup.js +0 -47
- package/esm/components/preloader/preloader.js +0 -101
- package/esm/components/progressbar/progressbar.js +0 -175
- package/esm/components/pull-to-refresh/pull-to-refresh.js +0 -62
- package/esm/components/radio/radio.js +0 -3
- package/esm/components/range/range.js +0 -81
- package/esm/components/searchbar/remove-diacritics.js +0 -277
- package/esm/components/searchbar/searchbar.js +0 -129
- package/esm/components/sheet/sheet.js +0 -71
- package/esm/components/skeleton/skeleton.js +0 -3
- package/esm/components/smart-select/smart-select.js +0 -139
- package/esm/components/sortable/sortable.js +0 -323
- package/esm/components/stepper/stepper.js +0 -84
- package/esm/components/swipeout/swipeout.js +0 -606
- package/esm/components/swiper/swiper.js +0 -177
- package/esm/components/tabs/tabs.js +0 -285
- package/esm/components/text-editor/text-editor.js +0 -81
- package/esm/components/timeline/timeline.js +0 -3
- package/esm/components/toast/toast-class.js +0 -132
- package/esm/components/toast/toast.js +0 -40
- package/esm/components/toggle/toggle.js +0 -61
- package/esm/components/tooltip/tooltip.js +0 -135
- package/esm/components/touch-ripple/touch-ripple-class.js +0 -103
- package/esm/components/touch-ripple/touch-ripple.js +0 -25
- package/esm/components/treeview/treeview.js +0 -78
- package/esm/components/typography/typography.js +0 -3
- package/esm/components/virtual-list/virtual-list.js +0 -17
- package/esm/framework7-bundle.js +0 -98
- package/esm/framework7-lite-bundle.js +0 -91
- package/esm/framework7-lite.js +0 -39
- package/esm/framework7.js +0 -43
- package/esm/modules/component/$h.js +0 -20
- package/esm/modules/component/$jsx.js +0 -24
- package/esm/modules/component/component-class.js +0 -421
- package/esm/modules/component/component.js +0 -44
- package/esm/modules/component/parse-component.js +0 -70
- package/esm/modules/component/patch.js +0 -8
- package/esm/modules/component/snabbdom/snabbdom.bundle.js +0 -19
- package/esm/modules/resize/resize.js +0 -64
- package/esm/modules/router/component-loader.js +0 -133
- package/esm/modules/store/create-store.js +0 -164
- package/esm/modules/store/store.js +0 -11
- package/esm/modules/support/support.js +0 -7
- package/esm/modules/utils/utils.js +0 -10
- package/esm/shared/$jsx.js +0 -33
- package/esm/shared/class.js +0 -197
- package/esm/shared/constructor-methods.js +0 -65
- package/esm/shared/events-class.js +0 -119
- package/esm/shared/modal-methods.js +0 -95
- package/esm/shared/request.js +0 -545
- package/lite/package.json +0 -8
- package/lite-bundle/package.json +0 -8
- package/modules/clicks/package.json +0 -9
- package/modules/component/package.json +0 -9
- package/modules/device/package.json +0 -9
- package/modules/history/package.json +0 -9
- package/modules/request/package.json +0 -9
- package/modules/resize/package.json +0 -9
- package/modules/router/package.json +0 -9
- package/modules/service-worker/package.json +0 -9
- package/modules/store/package.json +0 -9
- package/modules/support/package.json +0 -9
- package/modules/touch/package.json +0 -9
- package/modules/utils/package.json +0 -9
- package/types/components/accordion/accordion.d.ts +0 -55
- package/types/components/actions/actions.d.ts +0 -158
- package/types/components/app/app-class.d.ts +0 -196
- package/types/components/appbar/appbar.d.ts +0 -10
- package/types/components/area-chart/area-chart.d.ts +0 -124
- package/types/components/autocomplete/autocomplete.d.ts +0 -191
- package/types/components/badge/badge.d.ts +0 -10
- package/types/components/block/block.d.ts +0 -10
- package/types/components/button/button.d.ts +0 -10
- package/types/components/calendar/calendar.d.ts +0 -304
- package/types/components/card/card.d.ts +0 -65
- package/types/components/checkbox/checkbox.d.ts +0 -10
- package/types/components/chip/chip.d.ts +0 -10
- package/types/components/color-picker/color-picker.d.ts +0 -229
- package/types/components/contacts-list/contacts-list.d.ts +0 -10
- package/types/components/data-table/data-table.d.ts +0 -57
- package/types/components/dialog/dialog.d.ts +0 -241
- package/types/components/elevation/elevation.d.ts +0 -10
- package/types/components/fab/fab.d.ts +0 -28
- package/types/components/form/form.d.ts +0 -60
- package/types/components/gauge/gauge.d.ts +0 -96
- package/types/components/grid/grid.d.ts +0 -17
- package/types/components/icon/icon.d.ts +0 -10
- package/types/components/infinite-scroll/infinite-scroll.d.ts +0 -23
- package/types/components/input/input.d.ts +0 -56
- package/types/components/lazy/lazy.d.ts +0 -53
- package/types/components/link/link.d.ts +0 -10
- package/types/components/list/list.d.ts +0 -10
- package/types/components/list-index/list-index.d.ts +0 -99
- package/types/components/login-screen/login-screen.d.ts +0 -95
- package/types/components/menu/menu.d.ts +0 -28
- package/types/components/messagebar/messagebar.d.ts +0 -161
- package/types/components/messages/messages.d.ts +0 -158
- package/types/components/modal/modal.d.ts +0 -78
- package/types/components/navbar/navbar.d.ts +0 -75
- package/types/components/notification/notification.d.ts +0 -118
- package/types/components/page/page.d.ts +0 -10
- package/types/components/panel/panel.d.ts +0 -194
- package/types/components/photo-browser/photo-browser.d.ts +0 -194
- package/types/components/picker/picker.d.ts +0 -216
- package/types/components/pie-chart/pie-chart.d.ts +0 -95
- package/types/components/popover/popover.d.ts +0 -127
- package/types/components/popup/popup.d.ts +0 -135
- package/types/components/preloader/preloader.d.ts +0 -22
- package/types/components/progressbar/progressbar.d.ts +0 -27
- package/types/components/pull-to-refresh/pull-to-refresh.d.ts +0 -99
- package/types/components/radio/radio.d.ts +0 -10
- package/types/components/range/range.d.ts +0 -139
- package/types/components/searchbar/searchbar.d.ts +0 -157
- package/types/components/sheet/sheet.d.ts +0 -149
- package/types/components/skeleton/skeleton.d.ts +0 -10
- package/types/components/smart-select/smart-select.d.ts +0 -199
- package/types/components/sortable/sortable.d.ts +0 -50
- package/types/components/statusbar/statusbar.d.ts +0 -50
- package/types/components/stepper/stepper.d.ts +0 -117
- package/types/components/subnavbar/subnavbar.d.ts +0 -11
- package/types/components/swipeout/swipeout.d.ts +0 -68
- package/types/components/swiper/swiper.d.ts +0 -21
- package/types/components/tabs/tabs.d.ts +0 -39
- package/types/components/text-editor/text-editor.d.ts +0 -162
- package/types/components/timeline/timeline.d.ts +0 -10
- package/types/components/toast/toast.d.ts +0 -117
- package/types/components/toggle/toggle.d.ts +0 -69
- package/types/components/toolbar/toolbar.d.ts +0 -43
- package/types/components/tooltip/tooltip.d.ts +0 -101
- package/types/components/touch-ripple/touch-ripple.d.ts +0 -21
- package/types/components/treeview/treeview.d.ts +0 -38
- package/types/components/typography/typography.d.ts +0 -10
- package/types/components/view/view.d.ts +0 -205
- package/types/components/virtual-list/virtual-list.d.ts +0 -138
- package/types/modules/clicks/clicks.d.ts +0 -19
- package/types/modules/component/component.d.ts +0 -96
- package/types/modules/component/snabbdom/h.d.ts +0 -10
- package/types/modules/component/snabbdom/helpers/attachto.d.ts +0 -9
- package/types/modules/component/snabbdom/hooks.d.ts +0 -23
- package/types/modules/component/snabbdom/htmldomapi.d.ts +0 -19
- package/types/modules/component/snabbdom/is.d.ts +0 -2
- package/types/modules/component/snabbdom/modules/attributes.d.ts +0 -4
- package/types/modules/component/snabbdom/modules/class.d.ts +0 -4
- package/types/modules/component/snabbdom/modules/dataset.d.ts +0 -4
- package/types/modules/component/snabbdom/modules/eventlisteners.d.ts +0 -8
- package/types/modules/component/snabbdom/modules/hero.d.ts +0 -6
- package/types/modules/component/snabbdom/modules/module.d.ts +0 -9
- package/types/modules/component/snabbdom/modules/props.d.ts +0 -4
- package/types/modules/component/snabbdom/modules/style.d.ts +0 -7
- package/types/modules/component/snabbdom/snabbdom.bundle.d.ts +0 -5
- package/types/modules/component/snabbdom/snabbdom.d.ts +0 -6
- package/types/modules/component/snabbdom/thunk.d.ts +0 -14
- package/types/modules/component/snabbdom/tovnode.d.ts +0 -4
- package/types/modules/component/snabbdom/vnode.d.ts +0 -36
- package/types/modules/device/device.d.ts +0 -14
- package/types/modules/request/request.d.ts +0 -15
- package/types/modules/resize/resize.d.ts +0 -25
- package/types/modules/router/router.d.ts +0 -356
- package/types/modules/service-worker/service-worker.d.ts +0 -38
- package/types/modules/store/store.d.ts +0 -40
- package/types/modules/support/support.d.ts +0 -15
- package/types/modules/touch/touch.d.ts +0 -62
- package/types/modules/utils/utils.d.ts +0 -15
- package/types/package.json +0 -6
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
|
|
4
|
-
export namespace Messages {
|
|
5
|
-
interface Messages extends Framework7EventsClass<Events> {
|
|
6
|
-
/** Object with passed initialization parameters */
|
|
7
|
-
params: Parameters;
|
|
8
|
-
/** Messages container HTML element (<div class="messages">) */
|
|
9
|
-
el: HTMLElement;
|
|
10
|
-
/** Dom7 element with messages HTML element */
|
|
11
|
-
$el: Dom7Array;
|
|
12
|
-
/** Array with messages */
|
|
13
|
-
messages: Message[];
|
|
14
|
-
|
|
15
|
-
/** Show typing message indicator */
|
|
16
|
-
showTyping(message: Message): void;
|
|
17
|
-
/** Hide typing message indicator */
|
|
18
|
-
hideTyping(): void;
|
|
19
|
-
/** Add new message to the end or to the beginning depending on method parameter */
|
|
20
|
-
addMessage(message: Message, method: 'append' | 'prepend', animate?: boolean): Messages;
|
|
21
|
-
/** Add multiple messages per once. */
|
|
22
|
-
addMessages(messages: Message[], method: 'append' | 'prepend', animate?: boolean): Messages;
|
|
23
|
-
/** Remove message */
|
|
24
|
-
removeMessage(message: Message): Messages;
|
|
25
|
-
/** Remove multiple messages */
|
|
26
|
-
removeMessages(messages: Message[]): Messages;
|
|
27
|
-
/** Scroll messages to top/bottom depending on newMessagesFirst parameter */
|
|
28
|
-
scroll(durationMS: number, position: number): Messages;
|
|
29
|
-
/** Render messages HTML depending on messages array */
|
|
30
|
-
renderMessages(): Messages;
|
|
31
|
-
/** Force messages auto layout */
|
|
32
|
-
layout(): Messages;
|
|
33
|
-
/** Clear/remove all the messages */
|
|
34
|
-
clear(): Messages;
|
|
35
|
-
/** Destroy messages instance */
|
|
36
|
-
destroy(): void;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
interface Message {
|
|
40
|
-
/** Message text. */
|
|
41
|
-
text: string;
|
|
42
|
-
/** Single message header. */
|
|
43
|
-
header: string;
|
|
44
|
-
/** Single message footer. */
|
|
45
|
-
footer: string;
|
|
46
|
-
/** Sender name. */
|
|
47
|
-
name: string;
|
|
48
|
-
/** Sender avatar URL string. */
|
|
49
|
-
avatar: string;
|
|
50
|
-
/** Message type - sent or received. (default sent) */
|
|
51
|
-
type?: string;
|
|
52
|
-
/** Message text header. */
|
|
53
|
-
textHeader: string;
|
|
54
|
-
/** Message text footer. */
|
|
55
|
-
textFooter: string;
|
|
56
|
-
/** Message image HTML string, e.g. <img src="path/to/image">. Can be used instead of imageSrc parameter. */
|
|
57
|
-
image: string;
|
|
58
|
-
/** Message image URL string. Can be used instead of image parameter. */
|
|
59
|
-
imageSrc: string;
|
|
60
|
-
/** Defines whether it should be rendered as a message or as a messages title. */
|
|
61
|
-
isTitle: boolean;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
interface Parameters {
|
|
65
|
-
/** Enable Auto Layout to add all required additional classes automatically based on passed conditions. (default true) */
|
|
66
|
-
autoLayout?: boolean;
|
|
67
|
-
/** Enable if you want to use new messages on top, instead of having them on bottom. (default false) */
|
|
68
|
-
newMessagesFirst?: boolean;
|
|
69
|
-
/** Enable/disable messages autoscrolling when adding new message. (default true) */
|
|
70
|
-
scrollMessages?: boolean;
|
|
71
|
-
/** If enabled then messages autoscrolling will happen only when user is on top/bottom of the messages view. (default true) */
|
|
72
|
-
scrollMessagesOnEdge?: boolean;
|
|
73
|
-
/** Array with initial messages. Each message in array should be presented as an object with single message parameters. */
|
|
74
|
-
messages?: Message[];
|
|
75
|
-
/** Object with events handlers.. */
|
|
76
|
-
on?: {
|
|
77
|
-
[event in keyof Events]?: Events[event];
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
/** Function to render single message. Must return full message HTML string. */
|
|
81
|
-
renderMessage?: (message: Message) => string;
|
|
82
|
-
|
|
83
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-first class will be added to message. */
|
|
84
|
-
firstMessageRule?: (
|
|
85
|
-
message: Message,
|
|
86
|
-
previousMessage: Message,
|
|
87
|
-
nextMessage: Message,
|
|
88
|
-
) => boolean;
|
|
89
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-last class will be added to message. */
|
|
90
|
-
lastMessageRule?: (message: Message, previousMessage: Message, nextMessage: Message) => boolean;
|
|
91
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-tail class will be added to message. */
|
|
92
|
-
tailMessageRule?: (message: Message, previousMessage: Message, nextMessage: Message) => boolean;
|
|
93
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-same-name class will be added to message. */
|
|
94
|
-
sameNameMessageRule?: (
|
|
95
|
-
message: Message,
|
|
96
|
-
previousMessage: Message,
|
|
97
|
-
nextMessage: Message,
|
|
98
|
-
) => boolean;
|
|
99
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-same-header class will be added to message. */
|
|
100
|
-
sameHeaderMessageRule?: (
|
|
101
|
-
message: Message,
|
|
102
|
-
previousMessage: Message,
|
|
103
|
-
nextMessage: Message,
|
|
104
|
-
) => boolean;
|
|
105
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-same-footer class will be added to message. */
|
|
106
|
-
sameFooterMessageRule?: (
|
|
107
|
-
message: Message,
|
|
108
|
-
previousMessage: Message,
|
|
109
|
-
nextMessage: Message,
|
|
110
|
-
) => boolean;
|
|
111
|
-
/** Function that must return boolean true or false based on required condition depending on previous and next messages. In case of match then message-same-avatar class will be added to message. */
|
|
112
|
-
sameAvatarMessageRule?: (
|
|
113
|
-
message: Message,
|
|
114
|
-
previousMessage: Message,
|
|
115
|
-
nextMessage: Message,
|
|
116
|
-
) => boolean;
|
|
117
|
-
/** Function that must return additional message classes as string, based on required condition depending on previous and next messages.. */
|
|
118
|
-
customClassMessageRule?: (
|
|
119
|
-
message: Message,
|
|
120
|
-
previousMessage: Message,
|
|
121
|
-
nextMessage: Message,
|
|
122
|
-
) => string;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
interface Events {
|
|
126
|
-
/** Event will be triggered right before Messages instance will be destroyed */
|
|
127
|
-
beforeDestroy(messages: Messages): void;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
interface DomEvents {
|
|
131
|
-
/** Event will be triggered right before Messages instance will be destroyed */
|
|
132
|
-
'messages:beforedestroy': void;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
interface AppMethods {
|
|
136
|
-
messages: {
|
|
137
|
-
/** create Messages instance */
|
|
138
|
-
create(parameters: Parameters): Messages;
|
|
139
|
-
|
|
140
|
-
/** destroy Messages instance */
|
|
141
|
-
destroy(el: HTMLElement | CSSSelector | Messages): void;
|
|
142
|
-
|
|
143
|
-
/** get Messages instance by HTML element */
|
|
144
|
-
get(el: HTMLElement | CSSSelector): Messages;
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
interface AppParams {
|
|
148
|
-
messages?: Parameters | undefined;
|
|
149
|
-
}
|
|
150
|
-
interface AppEvents {
|
|
151
|
-
/** Event will be triggered right before Messages instance will be destroyed */
|
|
152
|
-
messagesBeforeDestroy(messages: Messages): void;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
declare const MessagesComponent: Framework7Plugin;
|
|
157
|
-
|
|
158
|
-
export default MessagesComponent;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
|
|
4
|
-
export namespace Modal {
|
|
5
|
-
interface Modal extends Framework7EventsClass<Events> {
|
|
6
|
-
/** Link to global app instance */
|
|
7
|
-
app: Framework7;
|
|
8
|
-
/** Modal HTML element */
|
|
9
|
-
el: HTMLElement;
|
|
10
|
-
/** Dom7 instance with modal HTML element */
|
|
11
|
-
$el: Dom7Array; // Dom7Array
|
|
12
|
-
/** Backdrop HTML element */
|
|
13
|
-
backdropEl: HTMLElement;
|
|
14
|
-
/** Dom7 instance with backdrop HTML element */
|
|
15
|
-
$backdropEl: Dom7Array; // Dom7Array
|
|
16
|
-
/** Modal parameters */
|
|
17
|
-
params: Parameters;
|
|
18
|
-
/** Boolean prop indicating whether modal is opened or not */
|
|
19
|
-
opened: boolean;
|
|
20
|
-
|
|
21
|
-
/** Open modal */
|
|
22
|
-
open(animate: boolean): Modal;
|
|
23
|
-
/** Close modal. */
|
|
24
|
-
close(animate: boolean): Modal;
|
|
25
|
-
/** Destroy modal */
|
|
26
|
-
destroy(): void;
|
|
27
|
-
}
|
|
28
|
-
interface Parameters {
|
|
29
|
-
/** Modal element. Can be useful if you already have Modal element in your HTML and want to create new instance using this element. */
|
|
30
|
-
el: HTMLElement | CSSSelector;
|
|
31
|
-
/** Enables Modal backdrop (dark semi transparent layer behind). (default true) */
|
|
32
|
-
backdrop?: boolean;
|
|
33
|
-
/** When enabled, modal will be closed on backdrop click. (default true) */
|
|
34
|
-
closeByBackdropClick?: boolean;
|
|
35
|
-
/** Whether the Modal should be opened/closed with animation or not. Can be overwritten in .open() and .close() methods. (default true) */
|
|
36
|
-
animate?: boolean;
|
|
37
|
-
/** Object with events handlers.. */
|
|
38
|
-
on?: {
|
|
39
|
-
[event in keyof Events]?: Events[event];
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
interface Events {
|
|
43
|
-
/** Event will be triggered when Custom Modal starts its opening animation. As an argument event handler receives modal instance */
|
|
44
|
-
open: (modal: Modal) => void;
|
|
45
|
-
/** Event will be triggered after Custom Modal completes its opening animation. As an argument event handler receives modal instance */
|
|
46
|
-
opened: (modal: Modal) => void;
|
|
47
|
-
/** Event will be triggered when Custom Modal starts its closing animation. As an argument event handler receives modal instance */
|
|
48
|
-
close: (modal: Modal) => void;
|
|
49
|
-
/** Event will be triggered after Custom Modal completes its closing animation. As an argument event handler receives modal instance */
|
|
50
|
-
closed: (modal: Modal) => void;
|
|
51
|
-
/** Event will be triggered right before Custom Modal instance will be destroyed. As an argument event handler receives modal instance */
|
|
52
|
-
beforeDestroy: (modal: Modal) => void;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
interface AppMethods {
|
|
56
|
-
customModal: {
|
|
57
|
-
/** Creates Custom modal */
|
|
58
|
-
create(parameters: Parameters): Modal;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
interface AppParams {}
|
|
62
|
-
interface AppEvents {
|
|
63
|
-
/** Event will be triggered when Modal starts its opening animation. As an argument event handler receives modal instance */
|
|
64
|
-
customModalOpen: (modal: Modal) => void;
|
|
65
|
-
/** Event will be triggered after Modal completes its opening animation. As an argument event handler receives modal instance */
|
|
66
|
-
customModalOpened: (modal: Modal) => void;
|
|
67
|
-
/** Event will be triggered when Modal starts its closing animation. As an argument event handler receives modal instance */
|
|
68
|
-
customModalClose: (modal: Modal) => void;
|
|
69
|
-
/** Event will be triggered after Modal completes its closing animation. As an argument event handler receives modal instance */
|
|
70
|
-
customModalClosed: (modal: Modal) => void;
|
|
71
|
-
/** Event will be triggered right before Modal instance will be destroyed. As an argument event handler receives modal instance */
|
|
72
|
-
customModalBeforeDestroy: (modal: Modal) => void;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
declare const ModalComponent: Framework7Plugin;
|
|
77
|
-
|
|
78
|
-
export default ModalComponent;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Navbar {
|
|
4
|
-
interface AppMethods {
|
|
5
|
-
navbar: {
|
|
6
|
-
/** Hide navbar */
|
|
7
|
-
hide(navbarEl: HTMLElement | CSSSelector, animate?: boolean, hideStatusbar?: boolean): void;
|
|
8
|
-
/** Show navbar */
|
|
9
|
-
show(navbarEl: HTMLElement | CSSSelector, animate?: boolean): void;
|
|
10
|
-
/** Recalculate positional styles for Navbar elements. It could be useful after you change some of Navbar elements dynamically. This will have effect only in iOS theme */
|
|
11
|
-
size(navbarEl: HTMLElement | CSSSelector): void;
|
|
12
|
-
/** Get navbar HTML element by specified page element. Useful only when dynamic navbar is enabled. In this case it is out of the page container. This will have effect only in iOS theme */
|
|
13
|
-
getElByPage(pageEl: HTMLElement | CSSSelector): HTMLElement;
|
|
14
|
-
/** Get page HTML element by specified Navbar element. Useful only when dynamic navbar is enabled. In this case it is out of the page container. This will have effect only in iOS theme */
|
|
15
|
-
getPageByEl(navbarEl: HTMLElement | CSSSelector): HTMLElement;
|
|
16
|
-
/** Collapse large navbar title */
|
|
17
|
-
collapseLargeTitle(navbarEl: HTMLElement | CSSSelector): void;
|
|
18
|
-
/** Expand large navbar title */
|
|
19
|
-
expandLargeTitle(navbarEl: HTMLElement | CSSSelector): void;
|
|
20
|
-
/** Toggle large navbar title */
|
|
21
|
-
toggleLargeTitle(navbarEl: HTMLElement | CSSSelector): void;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
interface AppParams {
|
|
25
|
-
navbar?:
|
|
26
|
-
| {
|
|
27
|
-
/** Will hide Navbars on page scroll. (default false) */
|
|
28
|
-
hideOnPageScroll?: boolean;
|
|
29
|
-
/** Set to true to show hidden Navbar when scrolling reaches end of the page. (default true) */
|
|
30
|
-
showOnPageScrollEnd?: boolean;
|
|
31
|
-
/** Set to false and hidden Navbar will not become visible when you scroll page to top everytime. They will become visible only at the most top scroll position, in the beginning of the page. (default true) */
|
|
32
|
-
showOnPageScrollTop?: boolean;
|
|
33
|
-
/** When enabled then every click on navbar's title element will scroll related page to the top. (default true) */
|
|
34
|
-
scrollTopOnTitleClick?: boolean;
|
|
35
|
-
/** When enabled then it will position title at the center in iOS theme. This will have effect only in iOS theme. (default true) */
|
|
36
|
-
iosCenterTitle?: boolean;
|
|
37
|
-
/** When enabled then it will position title at the center in MD theme. This will have effect only in MD theme. (default false) */
|
|
38
|
-
mdCenterTitle?: boolean;
|
|
39
|
-
/** When enabled then it will position title at the center in Aurora theme. This will have effect only in Aurora theme. (default true) */
|
|
40
|
-
auroraCenterTitle?: boolean;
|
|
41
|
-
/** When enabled it will collapse large title on page scroll (default true) */
|
|
42
|
-
collapseLargeTitleOnScroll?: boolean;
|
|
43
|
-
/** When enabled it will snap page scroll to large title (default true) */
|
|
44
|
-
snapPageScrollToLargeTitle?: boolean;
|
|
45
|
-
/** When enabled it will snap page scroll to transparent title (default true) */
|
|
46
|
-
snapPageScrollToTransparentNavbar?: boolean;
|
|
47
|
-
}
|
|
48
|
-
| undefined;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
interface DomEvents {
|
|
52
|
-
/** Event will be triggered when Navbar becomes hidden */
|
|
53
|
-
'navbar:hide': () => void;
|
|
54
|
-
/** Event will be triggered when Navbar becomes visible */
|
|
55
|
-
'navbar:show': () => void;
|
|
56
|
-
/** Event will be triggered when Navbar with large title collapsed (from large navbar to usual navbar) */
|
|
57
|
-
'navbar:collapse': () => void;
|
|
58
|
-
/** Event will be triggered when Navbar with large title expanded (from usual navbar to large navbar) */
|
|
59
|
-
'navbar:expand': () => void;
|
|
60
|
-
}
|
|
61
|
-
interface AppEvents {
|
|
62
|
-
/** Event will be triggered when Navbar becomes hidden */
|
|
63
|
-
navbarHide: (el: HTMLElement) => void;
|
|
64
|
-
/** Event will be triggered when Navbar becomes visible */
|
|
65
|
-
navbarShow: (el: HTMLElement) => void;
|
|
66
|
-
/** Event will be triggered when Navbar with large title collapsed (from large navbar to usual navbar) */
|
|
67
|
-
navbarCollapse: (el: HTMLElement) => void;
|
|
68
|
-
/** Event will be triggered when Navbar with large title expanded (from usual navbar to large navbar) */
|
|
69
|
-
navbarExpand: (el: HTMLElement) => void;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
declare const NavbarComponent: Framework7Plugin;
|
|
74
|
-
|
|
75
|
-
export default NavbarComponent;
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
|
|
4
|
-
export namespace Notification {
|
|
5
|
-
interface Notification extends Framework7EventsClass<Events> {
|
|
6
|
-
/** Link to global app instance */
|
|
7
|
-
app: Framework7;
|
|
8
|
-
/** Notification HTML element */
|
|
9
|
-
el: HTMLElement;
|
|
10
|
-
/** Dom7 instance with notification HTML element */
|
|
11
|
-
$el: Dom7Array;
|
|
12
|
-
/** Notification parameters */
|
|
13
|
-
params: Parameters;
|
|
14
|
-
|
|
15
|
-
/** Open notification */
|
|
16
|
-
open(): Notification;
|
|
17
|
-
/** Close notification */
|
|
18
|
-
close(): Notification;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
interface Parameters {
|
|
22
|
-
/** Notification element. Can be useful if you already have Notification element in your HTML and want to create new instance using this element. */
|
|
23
|
-
el?: HTMLElement | CSSSelector;
|
|
24
|
-
/** Notification icon HTML layout, e.g. <i class="f7-icons">house</i> or image <img src="path/to/icon.png">. */
|
|
25
|
-
icon?: string;
|
|
26
|
-
/** Notification title. */
|
|
27
|
-
title?: string;
|
|
28
|
-
/** Additional text on the right side of title. */
|
|
29
|
-
titleRightText?: string;
|
|
30
|
-
/** Notification subtitle. */
|
|
31
|
-
subtitle?: string;
|
|
32
|
-
/** Notification inner text. */
|
|
33
|
-
text?: string;
|
|
34
|
-
/** Adds notification close button. (default false) */
|
|
35
|
-
closeButton?: boolean;
|
|
36
|
-
/** Timeout delay (in ms) to close notification automatically. */
|
|
37
|
-
closeTimeout?: number;
|
|
38
|
-
/** If enabled, notification will be closed on notification click. (default false) */
|
|
39
|
-
closeOnClick?: boolean;
|
|
40
|
-
/** If enabled, notification can be closed by swipe gesture. (default true) */
|
|
41
|
-
swipeToClose?: boolean;
|
|
42
|
-
/** Additional css class to add. */
|
|
43
|
-
cssClass?: string;
|
|
44
|
-
/** Element to mount notifications to. (default app.el) */
|
|
45
|
-
containerEl?: HTMLElement | CSSSelector;
|
|
46
|
-
/** Custom function to render Notification. Must return notification html. */
|
|
47
|
-
render?: () => string;
|
|
48
|
-
/** Object with events handlers.. */
|
|
49
|
-
on?: {
|
|
50
|
-
[event in keyof Events]?: Events[event];
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
interface Events {
|
|
55
|
-
/** Event will be triggered when user clicks on Notification element. As an argument event handler receives notification instance */
|
|
56
|
-
click: (notification: Notification) => void;
|
|
57
|
-
/** Event will be triggered when Notification starts its opening animation. As an argument event handler receives notification instance */
|
|
58
|
-
open: (notification: Notification) => void;
|
|
59
|
-
/** Event will be triggered after Notification completes its opening animation. As an argument event handler receives notification instance */
|
|
60
|
-
opened: (notification: Notification) => void;
|
|
61
|
-
/** Event will be triggered when Notification starts its closing animation. As an argument event handler receives notification instance */
|
|
62
|
-
close: (notification: Notification) => void;
|
|
63
|
-
/** Event will be triggered after Notification completes its closing animation. As an argument event handler receives notification instance */
|
|
64
|
-
closed: (notification: Notification) => void;
|
|
65
|
-
/** Event will be triggered right before Notification instance will be destroyed. As an argument event handler receives notification instance */
|
|
66
|
-
beforeDestroy: (notification: Notification) => void;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
interface DomEvents {
|
|
70
|
-
/** Event will be triggered when Notification starts its opening animation */
|
|
71
|
-
'notification:open': () => void;
|
|
72
|
-
/** Event will be triggered after Notification completes its opening animation */
|
|
73
|
-
'notification:opened': () => void;
|
|
74
|
-
/** Event will be triggered when Notification starts its closing animation */
|
|
75
|
-
'notification:close': () => void;
|
|
76
|
-
/** Event will be triggered after Notification completes its closing animation */
|
|
77
|
-
'notification:closed': () => void;
|
|
78
|
-
}
|
|
79
|
-
interface AppMethods {
|
|
80
|
-
notification: {
|
|
81
|
-
/** create Notification instance */
|
|
82
|
-
create(parameters: Parameters): Notification;
|
|
83
|
-
|
|
84
|
-
/** destroy Notification instance */
|
|
85
|
-
destroy(el: HTMLElement | CSSSelector | Notification): void;
|
|
86
|
-
|
|
87
|
-
/** get Notification instance by HTML element */
|
|
88
|
-
get(el: HTMLElement | CSSSelector): Notification;
|
|
89
|
-
|
|
90
|
-
/** open Notification */
|
|
91
|
-
open(el: HTMLElement | CSSSelector): Notification;
|
|
92
|
-
|
|
93
|
-
/** closes Notification */
|
|
94
|
-
close(el: HTMLElement | CSSSelector): Notification;
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
interface AppParams {
|
|
98
|
-
notification?: Parameters | undefined;
|
|
99
|
-
}
|
|
100
|
-
interface AppEvents {
|
|
101
|
-
/** Event will be triggered when user clicks on Notification element. As an argument event handler receives notification instance */
|
|
102
|
-
notificationClick: (notification: Notification) => void;
|
|
103
|
-
/** Event will be triggered when Notification starts its opening animation. As an argument event handler receives notification instance */
|
|
104
|
-
notificationOpen: (notification: Notification) => void;
|
|
105
|
-
/** Event will be triggered after Notification completes its opening animation. As an argument event handler receives notification instance */
|
|
106
|
-
notificationOpened: (notification: Notification) => void;
|
|
107
|
-
/** Event will be triggered when Notification starts its closing animation. As an argument event handler receives notification instance */
|
|
108
|
-
notificationClose: (notification: Notification) => void;
|
|
109
|
-
/** Event will be triggered after Notification completes its closing animation. As an argument event handler receives notification instance */
|
|
110
|
-
notificationClosed: (notification: Notification) => void;
|
|
111
|
-
/** Event will be triggered right before Notification instance will be destroyed. As an argument event handler receives notification instance */
|
|
112
|
-
notificationBeforeDestroy: (notification: Notification) => void;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
declare const NotificationComponent: Framework7Plugin;
|
|
117
|
-
|
|
118
|
-
export default NotificationComponent;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Page {
|
|
4
|
-
interface AppMethods {}
|
|
5
|
-
interface AppParams {}
|
|
6
|
-
interface AppEvents {}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare const PageComponent: Framework7Plugin;
|
|
10
|
-
export default PageComponent;
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
|
|
4
|
-
export namespace Panel {
|
|
5
|
-
interface Events {
|
|
6
|
-
/** Event will be triggered when Panel starts its opening animation. As an argument event handler receives panel instance */
|
|
7
|
-
open: (panel: Panel) => void;
|
|
8
|
-
/** Event will be triggered when Panel completes its opening animation. As an argument event handler receives panel instance */
|
|
9
|
-
opened: (panel: Panel) => void;
|
|
10
|
-
/** Event will be triggered when Panel starts its closing animation. As an argument event handler receives panel instance */
|
|
11
|
-
close: (panel: Panel) => void;
|
|
12
|
-
/** Event will be triggered after Notification completes its closing animation. As an argument event handler receives notification instance */
|
|
13
|
-
closed: (panel: Panel) => void;
|
|
14
|
-
/** Event will be triggered when the panel backdrop is clicked. As an argument event handler receives panel instance */
|
|
15
|
-
backdropClick: (panel: Panel) => void;
|
|
16
|
-
/** Event will be triggered in the very beginning of opening it with swipe. As an argument event handler receives panel instance */
|
|
17
|
-
swipeOpen: (panel: Panel) => void;
|
|
18
|
-
/** Event will be triggered for swipe panel during touch swipe action. As an argument event handler receives panel instance and opened progress (from 0 to 1) */
|
|
19
|
-
swipe: (panel: Panel, progress: number) => void;
|
|
20
|
-
/** Event will be triggered when it becomes collapsed/hidden when app width matches its collapsedBreakpoint. As an argument event handler receives panel instance */
|
|
21
|
-
collapsedBreakpoint: (panel: Panel) => void;
|
|
22
|
-
/** Event will be triggered when it becomes visible/hidden when app width matches its breakpoint. As an argument event handler receives panel instance */
|
|
23
|
-
breakpoint: (panel: Panel) => void;
|
|
24
|
-
/** Event will be triggered right when resizable Panel resized */
|
|
25
|
-
resize: (panel: Panel, panelWidth: number) => void;
|
|
26
|
-
/** Event will be triggered right before Panel instance will be destroyed */
|
|
27
|
-
beforeDestroy: (panel: Panel) => void;
|
|
28
|
-
}
|
|
29
|
-
interface Parameters {
|
|
30
|
-
/** Panel element. */
|
|
31
|
-
el?: HTMLElement | CSSSelector;
|
|
32
|
-
/** Panel element HTML string. */
|
|
33
|
-
content?: string;
|
|
34
|
-
/** Can be left or right. If not passed then will be determined based on panel-left or panel-right element classes. */
|
|
35
|
-
side?: string;
|
|
36
|
-
/** Can be "cover", "reveal" or "push". If not passed then will be determined based on panel-cover, panel-reveal or panel-push element classes. */
|
|
37
|
-
effect?: string;
|
|
38
|
-
/** Enables resizable panel */
|
|
39
|
-
resizable?: string;
|
|
40
|
-
/** Enables Panel backdrop (dark semi transparent layer behind). (default true) */
|
|
41
|
-
backdrop?: boolean;
|
|
42
|
-
/** Option to pass custom backdrop element */
|
|
43
|
-
backdropEl?: HTMLElement | CSSSelector;
|
|
44
|
-
/** Minimal app width (in px) when panel becomes always visible. */
|
|
45
|
-
visibleBreakpoint?: number;
|
|
46
|
-
/** Minimal app width (in px) when panel becomes visible but collapsed. */
|
|
47
|
-
collapsedBreakpoint?: number;
|
|
48
|
-
/** Enables ability to open/close panel with swipe (default false) */
|
|
49
|
-
swipe?: boolean;
|
|
50
|
-
/** Fallback option for potentially better performance on old/slow devices. If you enable it, then swipe panel will not follow your finger during touch move, it will be automatically opened/closed on swipe left/right. (default false) */
|
|
51
|
-
swipeNoFollow?: boolean;
|
|
52
|
-
/** This parameter allows to close (but not open) panel with swipes. (default false) */
|
|
53
|
-
swipeOnlyClose?: boolean;
|
|
54
|
-
/** Width (in px) of invisible edge from the screen that triggers swipe panel. (default 0) */
|
|
55
|
-
swipeActiveArea?: number;
|
|
56
|
-
/** Panel will not move with swipe if "touch distance" will be less than this value (in px).. (default 0) */
|
|
57
|
-
swipeThreshold?: number;
|
|
58
|
-
/** Enable/disable ability to close panel by clicking outside of panel (on panel's backdrop). (default true) */
|
|
59
|
-
closeByBackdropClick?: boolean;
|
|
60
|
-
/** Element to mount panel to. (default app.el) */
|
|
61
|
-
containerEl?: HTMLElement | CSSSelector;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
interface Panel extends Framework7EventsClass<Events> {
|
|
65
|
-
/** Link to global app instance */
|
|
66
|
-
app: Framework7;
|
|
67
|
-
/** String with panel side: left or right */
|
|
68
|
-
side: 'left' | 'right';
|
|
69
|
-
/** String with panel effect: cover, reveal or push */
|
|
70
|
-
effect: 'cover' | 'reveal' | 'push';
|
|
71
|
-
/** Boolean property indicating whether it is opened or not */
|
|
72
|
-
opened: boolean;
|
|
73
|
-
/** Panel HTML element */
|
|
74
|
-
el: HTMLElement;
|
|
75
|
-
/** Dom7 instance with panel HTML element */
|
|
76
|
-
$el: Dom7Array;
|
|
77
|
-
/** Backdrop HTML element */
|
|
78
|
-
backdropEl: HTMLElement;
|
|
79
|
-
/** Dom7 instance with backdrop HTML element */
|
|
80
|
-
$backdropEl: Dom7Array;
|
|
81
|
-
/** Popup parameters */
|
|
82
|
-
params: Parameters;
|
|
83
|
-
/** Element to mount panel to. (default app.el) */
|
|
84
|
-
containerEl: HTMLElement | CSSSelector;
|
|
85
|
-
/** Dom7 instance with element to mount panel to. (default app.el) */
|
|
86
|
-
$containerEl: Dom7Array;
|
|
87
|
-
|
|
88
|
-
/** Open panel. */
|
|
89
|
-
open(animate: boolean): void;
|
|
90
|
-
/** Close panel. */
|
|
91
|
-
close(animate: boolean): void;
|
|
92
|
-
/** Toggle panel */
|
|
93
|
-
toggle(animate: boolean): void;
|
|
94
|
-
/** Destroy panel instance */
|
|
95
|
-
destroy(): void;
|
|
96
|
-
|
|
97
|
-
/** Enable visible breakpoint */
|
|
98
|
-
enableVisibleBreakpoint(): void;
|
|
99
|
-
/** Disable visible breakpoint */
|
|
100
|
-
disableVisibleBreakpoint(): void;
|
|
101
|
-
/** Toggle visible breakpoint */
|
|
102
|
-
toggleVisibleBreakpoint(): void;
|
|
103
|
-
|
|
104
|
-
/** Enable collapsed breakpoint */
|
|
105
|
-
enableCollapsedBreakpoint(): void;
|
|
106
|
-
/** Disable collapsed breakpoint */
|
|
107
|
-
disableCollapsedBreakpoint(): void;
|
|
108
|
-
/** Toggle collapsed breakpoint */
|
|
109
|
-
toggleCollapsedBreakpoint(): void;
|
|
110
|
-
|
|
111
|
-
/** Enable resizable panel */
|
|
112
|
-
enableResizable(): void;
|
|
113
|
-
/** Disable resizable panel */
|
|
114
|
-
disableResizable(): void;
|
|
115
|
-
|
|
116
|
-
/** Enable swipeable panel */
|
|
117
|
-
enableSwipe(): void;
|
|
118
|
-
/** Disable swipeable panel */
|
|
119
|
-
disableSwipe(): void;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
interface DomEvents {
|
|
123
|
-
/** Event will be triggered when Panel starts its opening animation */
|
|
124
|
-
'panel:open': () => void;
|
|
125
|
-
/** Event will be triggered after Panel completes its opening animation */
|
|
126
|
-
'panel:opened': () => void;
|
|
127
|
-
/** Event will be triggered when Panel starts its closing animation */
|
|
128
|
-
'panel:close': () => void;
|
|
129
|
-
/** Event will be triggered after Panel completes its closing animation */
|
|
130
|
-
'panel:closed': () => void;
|
|
131
|
-
/** Event will be triggered when the panel overlay is clicked */
|
|
132
|
-
'panel:backdrop-click ': () => void;
|
|
133
|
-
/** Event will be triggered in the very beginning of opening it with swipe */
|
|
134
|
-
'panel:swipeopen': () => void;
|
|
135
|
-
/** Event will be triggered for swipe panel during touch swipe action */
|
|
136
|
-
'panel:swipe': () => void;
|
|
137
|
-
/** Event will be triggered when it becomes visible/hidden when app width matches its breakpoint */
|
|
138
|
-
'panel:breakpoint': () => void;
|
|
139
|
-
/** Event will be triggered when it becomes collapsed/hidden when app width matches its collapsedBreakpoint */
|
|
140
|
-
'panel:collapsedbreakpoint': () => void;
|
|
141
|
-
/** Event will be triggered right when resizable Panel resized */
|
|
142
|
-
'panel:resize': () => void;
|
|
143
|
-
/** Event will be triggered right before Panel instance will be destroyed */
|
|
144
|
-
'panel:beforedestroy': () => void;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
interface AppMethods {
|
|
148
|
-
panel: {
|
|
149
|
-
/** create new panel instance */
|
|
150
|
-
create(parameters: Parameters): Panel;
|
|
151
|
-
/** open panel */
|
|
152
|
-
open(el?: HTMLElement | CSSSelector | Panel | 'left' | 'right', animate?: boolean): boolean;
|
|
153
|
-
/** close panel */
|
|
154
|
-
close(el?: HTMLElement | CSSSelector | Panel | 'left' | 'right', animate?: boolean): boolean;
|
|
155
|
-
/** toggle panel */
|
|
156
|
-
toggle(el?: HTMLElement | CSSSelector | Panel | 'left' | 'right', animate?: boolean): boolean;
|
|
157
|
-
/** get Panel instance by specified side */
|
|
158
|
-
get(el?: HTMLElement | CSSSelector | Panel | 'left' | 'right', animate?: boolean): Panel;
|
|
159
|
-
/** destroy Panel instance */
|
|
160
|
-
destroy(el: HTMLElement | CSSSelector | Panel | 'left' | 'right'): void;
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
interface AppParams {
|
|
164
|
-
panel?: Parameters | undefined;
|
|
165
|
-
}
|
|
166
|
-
interface AppEvents {
|
|
167
|
-
/** Event will be triggered when Panel starts its opening animation. As an argument event handler receives panel instance */
|
|
168
|
-
panelOpen: (panel: Panel) => void;
|
|
169
|
-
/** Event will be triggered when Panel completes its opening animation. As an argument event handler receives panel instance */
|
|
170
|
-
panelOpened: (panel: Panel) => void;
|
|
171
|
-
/** Event will be triggered when Panel starts its closing animation. As an argument event handler receives panel instance */
|
|
172
|
-
panelClose: (panel: Panel) => void;
|
|
173
|
-
/** Event will be triggered after Notification completes its closing animation. As an argument event handler receives notification instance */
|
|
174
|
-
panelClosed: (panel: Panel) => void;
|
|
175
|
-
/** Event will be triggered when the panel backdrop is clicked. As an argument event handler receives panel instance */
|
|
176
|
-
panelBackdropClick: (panel: Panel) => void;
|
|
177
|
-
/** Event will be triggered in the very beginning of opening it with swipe. As an argument event handler receives panel instance */
|
|
178
|
-
panelSwipeOpen: (panel: Panel) => void;
|
|
179
|
-
/** Event will be triggered for swipe panel during touch swipe action. As an argument event handler receives panel instance and opened progress (from 0 to 1) */
|
|
180
|
-
panelSwipe: (panel: Panel, progress: number) => void;
|
|
181
|
-
/** Event will be triggered when it becomes collapsed/hidden when app width matches its collapsedBreakpoint. As an argument event handler receives panel instance */
|
|
182
|
-
panelCollapsedBreakpoint: (panel: Panel) => void;
|
|
183
|
-
/** Event will be triggered when it becomes visible/hidden when app width matches its breakpoint. As an argument event handler receives panel instance */
|
|
184
|
-
panelBreakpoint: (panel: Panel) => void;
|
|
185
|
-
/** Event will be triggered right when resizable Panel resized */
|
|
186
|
-
panelResize: (panel: Panel, panelWidth: number) => void;
|
|
187
|
-
/** Event will be triggered right before Panel instance will be destroyed */
|
|
188
|
-
panelBeforeDestroy: (panel: Panel) => void;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
declare const PanelComponent: Framework7Plugin;
|
|
193
|
-
|
|
194
|
-
export default PanelComponent;
|