framework7 6.3.16 → 7.0.0-beta.12
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.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.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 +2 -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/components/statusbar/statusbar.d.ts +9 -9
- 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.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 +3 -1
- 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 +34567 -35041
- 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 +3395 -4063
- 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 +14 -13
- 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 +125 -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 -2
- package/{esm/shared → shared}/get-device.js +34 -40
- 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 -908
- 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 -137
- 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,149 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
|
|
4
|
-
export namespace Sheet {
|
|
5
|
-
interface Events {
|
|
6
|
-
/** Event will be triggered on Sheet swipe step open/expand */
|
|
7
|
-
stepOpen: (sheet: Sheet) => void;
|
|
8
|
-
/** Event will be triggered on Sheet swipe step close/collapse */
|
|
9
|
-
stepClose: (sheet: Sheet) => void;
|
|
10
|
-
/** Event will be triggered on Sheet swipe step between step opened and closed state. As `progress` it receives step open progress number (from 0 to 1) */
|
|
11
|
-
stepProgress: (sheet: Sheet, progress: number) => void;
|
|
12
|
-
/** Event will be triggered when Sheet Modal starts its opening animation. As an argument event handler receives sheet instance */
|
|
13
|
-
open: (sheet: Sheet) => void;
|
|
14
|
-
/** Event will be triggered when Sheet Modal completes its opening animation. As an argument event handler receives sheet instance */
|
|
15
|
-
opened: (sheet: Sheet) => void;
|
|
16
|
-
/** Event will be triggered when Sheet Modal starts its closing animation. As an argument event handler receives sheet instance */
|
|
17
|
-
close: (sheet: Sheet) => void;
|
|
18
|
-
/** Event will be triggered after Sheet Modal completes its closing animation. As an argument event handler receives sheet instance */
|
|
19
|
-
closed: (sheet: Sheet) => void;
|
|
20
|
-
/** Event will be triggered right before Sheet Modal instance will be destroyed */
|
|
21
|
-
beforeDestroy: (sheet: Sheet) => void;
|
|
22
|
-
}
|
|
23
|
-
interface Parameters {
|
|
24
|
-
/** Sheet Modal element. Can be useful if you already have Sheet Modal element in your HTML and want to create new instance using this element. */
|
|
25
|
-
el?: HTMLElement | CSSSelector;
|
|
26
|
-
/** Full Sheet Modal HTML layout string. Can be useful if you want to create Sheet Modal element dynamically. */
|
|
27
|
-
content?: string;
|
|
28
|
-
/** Enables Sheet Modal backdrop (dark semi transparent layer behind). (default true) */
|
|
29
|
-
backdrop?: boolean;
|
|
30
|
-
/** Backdrop element to share across instances */
|
|
31
|
-
backdropEl?: HTMLElement | CSSSelector;
|
|
32
|
-
/** HTML element or string (with CSS selector) of element. If specified, then sheet will try to scroll page content to this element on open */
|
|
33
|
-
scrollToEl?: HTMLElement | CSSSelector;
|
|
34
|
-
/** When enabled, Sheet Modal will be closed on backdrop click. (default true) */
|
|
35
|
-
closeByBackdropClick?: boolean;
|
|
36
|
-
/** When enabled, sheet will be closed on when click outside of it */
|
|
37
|
-
closeByOutsideClick?: boolean;
|
|
38
|
-
/** When enabled, sheet will be closed on ESC keyboard key press (default false) */
|
|
39
|
-
closeOnEscape?: boolean;
|
|
40
|
-
/** Whether the Sheet Modal should be opened/closed with animation or not. Can be overwritten in .open() and .close() methods. (default true) */
|
|
41
|
-
animate?: boolean;
|
|
42
|
-
/** When enabled it will be possible to close sheet with swipe, can be false or true (default false) */
|
|
43
|
-
swipeToClose?: boolean;
|
|
44
|
-
/** When enabled it will be possible to split opened sheet into two states: partially opened and fully opened that can be controlled with swipe (default false) */
|
|
45
|
-
swipeToStep?: boolean;
|
|
46
|
-
/** When enabled it will be possible to close sheet with swipe only on specified handler element (default null) */
|
|
47
|
-
swipeHandler?: HTMLElement | CSSSelector;
|
|
48
|
-
/** When enabled it will push view behind on open. Works only when top safe area is in place. It can also be enabled by adding `sheet-modal-push` class to Sheet element. (default false) */
|
|
49
|
-
push?: boolean;
|
|
50
|
-
/** Element to mount modal to. (default app.el) */
|
|
51
|
-
containerEl?: HTMLElement | CSSSelector;
|
|
52
|
-
|
|
53
|
-
/** Object with events handlers.. */
|
|
54
|
-
on?: {
|
|
55
|
-
[event in keyof Events]?: Events[event];
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
interface Sheet extends Framework7EventsClass<Events> {
|
|
59
|
-
/** Link to global app instance */
|
|
60
|
-
app: Framework7;
|
|
61
|
-
/** Sheet Modal HTML element */
|
|
62
|
-
el: HTMLElement;
|
|
63
|
-
/** Dom7 instance with Sheet Modal HTML element */
|
|
64
|
-
$el: Dom7Array;
|
|
65
|
-
/** Backdrop HTML element */
|
|
66
|
-
backdropEl: HTMLElement;
|
|
67
|
-
/** Dom7 instance with backdrop HTML element */
|
|
68
|
-
$backdropEl: Dom7Array;
|
|
69
|
-
/** sheet parameters */
|
|
70
|
-
params: Parameters;
|
|
71
|
-
/** Boolean prop indicating whether sheet is opened or not */
|
|
72
|
-
opened: boolean;
|
|
73
|
-
|
|
74
|
-
/** Open sheet. */
|
|
75
|
-
open(animate?: boolean): Sheet;
|
|
76
|
-
/** Close sheet. */
|
|
77
|
-
close(animate?: boolean): Sheet;
|
|
78
|
-
/** Open/expand sheet swipe step */
|
|
79
|
-
stepOpen(): void;
|
|
80
|
-
/** Close/collapse sheet swipe step */
|
|
81
|
-
stepClose(): void;
|
|
82
|
-
/** Toggle (open or close) sheet swipe step */
|
|
83
|
-
stepToggle(): void;
|
|
84
|
-
/** Update step position. Required to call after content of sheet modal has been modified manually when it is opened */
|
|
85
|
-
setSwipeStep(): void;
|
|
86
|
-
/** Destroy sheet */
|
|
87
|
-
destroy(): void;
|
|
88
|
-
}
|
|
89
|
-
interface DomEvents {
|
|
90
|
-
/** Event will be triggered when Sheet Modal starts its opening animation */
|
|
91
|
-
'sheet:open': () => void;
|
|
92
|
-
/** Event will be triggered after Sheet Modal completes its opening animation */
|
|
93
|
-
'sheet:opened': () => void;
|
|
94
|
-
/** Event will be triggered when Sheet Modal starts its closing animation */
|
|
95
|
-
'sheet:close': () => void;
|
|
96
|
-
/** Event will be triggered after Sheet Modal completes its closing animation */
|
|
97
|
-
'sheet:closed': () => void;
|
|
98
|
-
/** Event will be triggered on Sheet swipe step open/expand */
|
|
99
|
-
'sheet:stepopen': () => void;
|
|
100
|
-
/** Event will be triggered on Sheet swipe step close/collapse */
|
|
101
|
-
'sheet:stepclose': () => void;
|
|
102
|
-
/** Event will be triggered on Sheet swipe step between step opened and closed state. As `event.detail` it receives step open progress number (from 0 to 1) */
|
|
103
|
-
'sheet:stepprogress': () => void;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
interface AppMethods {
|
|
107
|
-
sheet: {
|
|
108
|
-
/** create Sheet Modal instance */
|
|
109
|
-
create(parameters: Parameters): Sheet;
|
|
110
|
-
/** destroy Sheet Modal instance */
|
|
111
|
-
destroy(el: HTMLElement | CSSSelector | Sheet): void;
|
|
112
|
-
/** get Sheet Modal instance by HTML element */
|
|
113
|
-
get(el?: HTMLElement | CSSSelector): Sheet;
|
|
114
|
-
/** open Sheet Modal */
|
|
115
|
-
open(el?: HTMLElement | CSSSelector, animate?: boolean): Sheet;
|
|
116
|
-
/** closes Sheet Modal */
|
|
117
|
-
close(el?: HTMLElement | CSSSelector, animate?: boolean): Sheet;
|
|
118
|
-
/** open/expand Sheet swipe step */
|
|
119
|
-
stepOpen(el?: HTMLElement | CSSSelector): Sheet;
|
|
120
|
-
/** close/collapse Sheet swipe step */
|
|
121
|
-
stepClose(el?: HTMLElement | CSSSelector): Sheet;
|
|
122
|
-
/** toggle (open or close) Sheet swipe step */
|
|
123
|
-
stepToggle(el?: HTMLElement | CSSSelector): Sheet;
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
interface AppParams {
|
|
127
|
-
sheet?: Parameters | undefined;
|
|
128
|
-
}
|
|
129
|
-
interface AppEvents {
|
|
130
|
-
/** Event will be triggered on Sheet swipe step open/expand */
|
|
131
|
-
sheetStepOpen: (sheet: Sheet) => void;
|
|
132
|
-
/** Event will be triggered on Sheet swipe step close/collapse */
|
|
133
|
-
sheetStepClose: (sheet: Sheet) => void;
|
|
134
|
-
/** Event will be triggered on Sheet swipe step between step opened and closed state. As `progress` it receives step open progress number (from 0 to 1) */
|
|
135
|
-
sheetStepProgress: (sheet: Sheet, progress: number) => void;
|
|
136
|
-
/** Event will be triggered when Sheet Modal starts its opening animation. As an argument event handler receives sheet instance */
|
|
137
|
-
sheetOpen: (sheet: Sheet) => void;
|
|
138
|
-
/** Event will be triggered when Sheet Modal completes its opening animation. As an argument event handler receives sheet instance */
|
|
139
|
-
sheetOpened: (sheet: Sheet) => void;
|
|
140
|
-
/** Event will be triggered when Sheet Modal starts its closing animation. As an argument event handler receives sheet instance */
|
|
141
|
-
sheetClose: (sheet: Sheet) => void;
|
|
142
|
-
/** Event will be triggered after Sheet Modal completes its closing animation. As an argument event handler receives sheet instance */
|
|
143
|
-
sheetClosed: (sheet: Sheet) => void;
|
|
144
|
-
/** Event will be triggered right before Sheet Modal instance will be destroyed */
|
|
145
|
-
sheetBeforeDestroy: (sheet: Sheet) => void;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
declare const SheetComponent: Framework7Plugin;
|
|
149
|
-
export default SheetComponent;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Skeleton {
|
|
4
|
-
interface AppMethods {}
|
|
5
|
-
interface AppParams {}
|
|
6
|
-
interface AppEvents {}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare const SkeletonComponent: Framework7Plugin;
|
|
10
|
-
export default SkeletonComponent;
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
import { View } from '../view/view';
|
|
4
|
-
import { Searchbar } from '../searchbar/searchbar';
|
|
5
|
-
|
|
6
|
-
export namespace SmartSelect {
|
|
7
|
-
interface Events {
|
|
8
|
-
/** Event will be triggered before Smart Select open. As second argument it receives "prevent" function that can be called to prevent Smart Select from opening */
|
|
9
|
-
beforeOpen: (smartSelect: SmartSelect, prevent: () => void) => void;
|
|
10
|
-
/** Event will be triggered when Smart Select starts its opening animation. As an argument event handler receives smart select instance */
|
|
11
|
-
open: (smartSelect: SmartSelect) => void;
|
|
12
|
-
/** Event will be triggered when Smart Select completes its opening animation. As an argument event handler receives smart select instance */
|
|
13
|
-
opened: (smartSelect: SmartSelect) => void;
|
|
14
|
-
/** Event will be triggered when Smart Select starts its closing animation. As an argument event handler receives smart select instance */
|
|
15
|
-
close: (smartSelect: SmartSelect) => void;
|
|
16
|
-
/** Event will be triggered after Smart Select completes its closing animation. As an argument event handler receives smart select instance */
|
|
17
|
-
closed: (smartSelect: SmartSelect) => void;
|
|
18
|
-
/** Event will be triggered right before Smart Select instance will be destroyed */
|
|
19
|
-
beforeDestroy: (smartSelect: SmartSelect) => void;
|
|
20
|
-
}
|
|
21
|
-
interface Parameters {
|
|
22
|
-
/** Smart Select element. Can be useful if you already have Smart Select element in your HTML and want to create new instance using this element */
|
|
23
|
-
el?: HTMLElement | CSSSelector;
|
|
24
|
-
/** Link to initialized View instance which is required for Smart Select to work. By default, if not specified, it will be opened in parent View. */
|
|
25
|
-
view?: View.View;
|
|
26
|
-
/** Visual element where to insert selected value. If not passed then it will look for <div class="item-after"> element */
|
|
27
|
-
valueEl?: HTMLElement | CSSSelector;
|
|
28
|
-
/** When enabled then smart select will automatically insert value text into "valueEl" in format returned by "formatValueText" */
|
|
29
|
-
setValueText?: boolean;
|
|
30
|
-
/** Custom function to format smart select text value that appears on list item */
|
|
31
|
-
formatValueText?: (values: any[]) => string;
|
|
32
|
-
/** Defines how to open Smart Select. Can be page or popup or popover or sheet (default is "page") */
|
|
33
|
-
openIn?: 'page' | 'popup' | 'popover' | 'sheet';
|
|
34
|
-
/** Enables smart select popup to push view/s behind on open (default false) */
|
|
35
|
-
popupPush?: boolean;
|
|
36
|
-
/** Enables ability to close smart select popup with swipe (default undefined) */
|
|
37
|
-
popupSwipeToClose?: boolean | undefined;
|
|
38
|
-
/** Enables smart select sheet to push view/s behind on open (default false) */
|
|
39
|
-
sheetPush?: boolean;
|
|
40
|
-
/** Enables ability to close smart select sheet with swipe (default undefined) */
|
|
41
|
-
sheetSwipeToClose?: boolean | undefined;
|
|
42
|
-
/** Enables smart select sheet backdrop (default false) */
|
|
43
|
-
sheetBackdrop?: boolean;
|
|
44
|
-
/** Smart select page title. If not passed then it will be the <div class="item-title"> text */
|
|
45
|
-
pageTitle?: string;
|
|
46
|
-
/** Smart select Page back link text (default 'Back') */
|
|
47
|
-
pageBackLinkText?: string;
|
|
48
|
-
/** Smart select Popup close link text (default 'Close') */
|
|
49
|
-
popupCloseLinkText?: string;
|
|
50
|
-
/** Smart select Popup will be opened as full screen popup on tablet */
|
|
51
|
-
popupTabletFullscreen?: boolean;
|
|
52
|
-
/** Smart select Sheet close link text (default 'Done') */
|
|
53
|
-
sheetCloseLinkText?: string;
|
|
54
|
-
/** Enables Searchbar on smart select page. If passed as object then it should be valid Searchbar parameters (default false) */
|
|
55
|
-
searchbar?: boolean | Searchbar.Parameters;
|
|
56
|
-
/** Searchbar placeholder text (default 'Search') */
|
|
57
|
-
searchbarPlaceholder?: string;
|
|
58
|
-
/** Searchbar "cancel" link text. Has effect only in iOS theme (default 'Cancel') */
|
|
59
|
-
searchbarDisableText?: string;
|
|
60
|
-
/** Enables searchbar disable button. By default, disabled for Aurora theme */
|
|
61
|
-
searchbarDisableButton?: boolean;
|
|
62
|
-
/** Value of "spellcheck" attribute on searchbar input (default false) */
|
|
63
|
-
searchbarSpellcheck?: boolean;
|
|
64
|
-
/** Appends block with content that displayed when there are no Searchbar results (default false) */
|
|
65
|
-
appendSearchbarNotFound?: boolean | string | HTMLElement;
|
|
66
|
-
/** If enabled then smart select will be automatically closed after user selectes any option (default false) */
|
|
67
|
-
closeOnSelect?: boolean;
|
|
68
|
-
/** Enable Virtual List for smart select if your select has a lot (hundreds, thousands) of options (default false) */
|
|
69
|
-
virtualList?: boolean;
|
|
70
|
-
/** Virtual list item height. If number - list item height in px. If function then function should return item height */
|
|
71
|
-
virtualListHeight?: number | Function;
|
|
72
|
-
/** When enabled it will scroll smart select content to first selected item on open (default false) */
|
|
73
|
-
scrollToSelectedItem?: boolean;
|
|
74
|
-
/** Smart select page form color theme. One of the default colors */
|
|
75
|
-
formColorTheme?: string;
|
|
76
|
-
/** Smart select navbar color theme. One of the default colors */
|
|
77
|
-
navbarColorTheme?: string;
|
|
78
|
-
/** Will add opened smart select modal (when openIn is popup, popover or sheet) to router history which gives ability to close smart select by going back in router history and set current route to the smart select modal (default false) */
|
|
79
|
-
routableModals?: boolean;
|
|
80
|
-
/** Smart select page/modal URL that will be set as a current route (default 'select/') */
|
|
81
|
-
url?: string;
|
|
82
|
-
/** Additional CSS class name to be set on Smart Select container (Page, Popup, Popover or Sheet) */
|
|
83
|
-
cssClass?: string;
|
|
84
|
-
|
|
85
|
-
/** Select option icon to be set on all options. If it just a string then will create an icon with this class. If it is in the format of `f7:icon_name` then it will create a F7-Icons icon. If it is in the format of `md:icon_name` then it will create a Material Icons icon. */
|
|
86
|
-
optionIcon?: string;
|
|
87
|
-
/** Same as `optionIcon` but will apply only when iOS theme is active */
|
|
88
|
-
optionIconIos?: string;
|
|
89
|
-
/** Same as `optionIcon` but will apply only when MD theme is active */
|
|
90
|
-
optionIconMd?: string;
|
|
91
|
-
/** Same as `optionIcon` but will apply only when Aurora theme is active */
|
|
92
|
-
optionIconAurora?: string;
|
|
93
|
-
|
|
94
|
-
/** Function to render smart select page, must return full page HTML string */
|
|
95
|
-
renderPage?: (items: any[]) => string;
|
|
96
|
-
/** Function to render smart select popup, must return full popup HTML string */
|
|
97
|
-
renderPopup?: (items: any[]) => string;
|
|
98
|
-
/** Function to render smart select sheet, must return full sheet HTML string */
|
|
99
|
-
renderSheet?: (items: any[]) => string;
|
|
100
|
-
/** Function to render smart select popover, must return full popover HTML string */
|
|
101
|
-
renderPopover?: (items: any[]) => string;
|
|
102
|
-
/** Function to render all smart select items, must return all items HTML string */
|
|
103
|
-
renderItems?: (items: any[]) => string;
|
|
104
|
-
/** Function to render smart select item, must return item HTML string */
|
|
105
|
-
renderItem?: (item: any, index: number) => string;
|
|
106
|
-
/** Function to render smart select searchbar dropdown, must return searchbar HTML string */
|
|
107
|
-
renderSearchbar?: () => string;
|
|
108
|
-
|
|
109
|
-
/** Object with events handlers.. */
|
|
110
|
-
on?: {
|
|
111
|
-
[event in keyof Events]?: Events[event];
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
interface SmartSelect extends Framework7EventsClass<Events> {
|
|
115
|
-
/** Link to global app instance */
|
|
116
|
-
app: Framework7;
|
|
117
|
-
/** Smart Select HTML element */
|
|
118
|
-
el: HTMLElement;
|
|
119
|
-
/** Dom7 instance with Smart Select HTML element */
|
|
120
|
-
$el: Dom7Array;
|
|
121
|
-
/** HTML element used to display value */
|
|
122
|
-
valueEl: HTMLElement;
|
|
123
|
-
/** Dom7 instance with HTML element used to display value */
|
|
124
|
-
$valueEl: Dom7Array;
|
|
125
|
-
/** Child select element <select> */
|
|
126
|
-
selectEl: HTMLElement;
|
|
127
|
-
/** Dom7 instance with child select element */
|
|
128
|
-
$selectEl: Dom7Array;
|
|
129
|
-
/** Smart Select URL (that was passed in url parameter) */
|
|
130
|
-
url: string;
|
|
131
|
-
/** Smart Select View (that was passed in view parameter) or found parent view */
|
|
132
|
-
view: View.View;
|
|
133
|
-
/** Smart Select parameters */
|
|
134
|
-
params: Parameters;
|
|
135
|
-
|
|
136
|
-
/** Scroll smart select content to first selected item */
|
|
137
|
-
scrollToSelectedItem(): SmartSelect;
|
|
138
|
-
/** Set new smart select value. In case of select is multiple it must be an array with new values */
|
|
139
|
-
setValue(value: string | number | any[]): SmartSelect;
|
|
140
|
-
/** Unset smart select value */
|
|
141
|
-
unsetValue(): SmartSelect;
|
|
142
|
-
/** Returns smart select value. In case of select is multiple it returns array with selected values */
|
|
143
|
-
getValue(): string | number | any[];
|
|
144
|
-
/** Open smart select. */
|
|
145
|
-
open(): SmartSelect;
|
|
146
|
-
/** Close smart select. */
|
|
147
|
-
close(): SmartSelect;
|
|
148
|
-
/** Destroy smart select */
|
|
149
|
-
destroy(): void;
|
|
150
|
-
}
|
|
151
|
-
interface DomEvents {
|
|
152
|
-
/** Event will be triggered before Smart Select open. event.detail.prevent is a function that can be called to prevent Smart Select from opening */
|
|
153
|
-
'smartselect:beforeopen': () => void;
|
|
154
|
-
/** Event will be triggered when Smart Select starts its opening animation */
|
|
155
|
-
'smartselect:open': () => void;
|
|
156
|
-
/** Event will be triggered after Smart Select completes its opening animation */
|
|
157
|
-
'smartselect:opened': () => void;
|
|
158
|
-
/** Event will be triggered when Smart Select starts its closing animation */
|
|
159
|
-
'smartselect:close': () => void;
|
|
160
|
-
/** Event will be triggered after Smart Select completes its closing animation */
|
|
161
|
-
'smartselect:closed': () => void;
|
|
162
|
-
/** Event will be triggered right before Smart Select instance will be destroyed */
|
|
163
|
-
'smartselect:beforedestroy': () => void;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
interface AppMethods {
|
|
167
|
-
smartSelect: {
|
|
168
|
-
/** create Smart Select instance */
|
|
169
|
-
create(parameters: Parameters): SmartSelect;
|
|
170
|
-
/** destroy Smart Select instance */
|
|
171
|
-
destroy(el: HTMLElement | CSSSelector | SmartSelect): void;
|
|
172
|
-
/** get Smart Select instance by HTML element */
|
|
173
|
-
get(el: HTMLElement | CSSSelector): SmartSelect;
|
|
174
|
-
/** open Smart Select */
|
|
175
|
-
open(el: HTMLElement | CSSSelector): SmartSelect;
|
|
176
|
-
/** close Smart Select */
|
|
177
|
-
close(el: HTMLElement | CSSSelector): SmartSelect;
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
interface AppParams {
|
|
181
|
-
smartSelect?: Parameters | undefined;
|
|
182
|
-
}
|
|
183
|
-
interface AppEvents {
|
|
184
|
-
/** Event will be triggered before Smart Select open. As second argument it receives "prevent" function that can be called to prevent Smart Select from opening */
|
|
185
|
-
smartSelectBeforeOpen: (smartSelect: SmartSelect, prevent: () => void) => void;
|
|
186
|
-
/** Event will be triggered when Smart Select starts its opening animation. As an argument event handler receives smart select instance */
|
|
187
|
-
smartSelectOpen: (smartSelect: SmartSelect) => void;
|
|
188
|
-
/** Event will be triggered when Smart Select completes its opening animation. As an argument event handler receives smart select instance */
|
|
189
|
-
smartSelectOpened: (smartSelect: SmartSelect) => void;
|
|
190
|
-
/** Event will be triggered when Smart Select starts its closing animation. As an argument event handler receives smart select instance */
|
|
191
|
-
smartSelectClose: (smartSelect: SmartSelect) => void;
|
|
192
|
-
/** Event will be triggered after Smart Select completes its closing animation. As an argument event handler receives smart select instance */
|
|
193
|
-
smartSelectClosed: (smartSelect: SmartSelect) => void;
|
|
194
|
-
/** Event will be triggered right before Smart Select instance will be destroyed */
|
|
195
|
-
smartSelectBeforeDestroy: (smartSelect: SmartSelect) => void;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
declare const SmartSelectComponent: Framework7Plugin;
|
|
199
|
-
export default SmartSelectComponent;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { CSSSelector, Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Sortable {
|
|
4
|
-
interface SortIndexes {
|
|
5
|
-
from: number;
|
|
6
|
-
to: number;
|
|
7
|
-
}
|
|
8
|
-
interface DomEvents {
|
|
9
|
-
/** Event will be triggered when sortable mode is enabled */
|
|
10
|
-
'sortable:enable': (event: any) => void;
|
|
11
|
-
/** Event will be triggered when sortable mode is disabled */
|
|
12
|
-
'sortable:disable': (event: any) => void;
|
|
13
|
-
/** Event will be triggered after user release currently sorting element in new position. event.detail will contain object with from and to properties with from/to index numbers of sorted list item */
|
|
14
|
-
'sortable:sort': (event: any, indexes: SortIndexes) => void;
|
|
15
|
-
/** Event will be triggered on every list item move during sorting */
|
|
16
|
-
'sortable:move': (event: any) => void;
|
|
17
|
-
}
|
|
18
|
-
interface AppMethods {
|
|
19
|
-
sortable: {
|
|
20
|
-
/** enable sorting mode on sortable list */
|
|
21
|
-
enable(listEl?: HTMLElement | CSSSelector): void;
|
|
22
|
-
/** disable sorting mode on sortable list */
|
|
23
|
-
disable(listEl?: HTMLElement | CSSSelector): void;
|
|
24
|
-
/** toggle sorting mode on sortable list */
|
|
25
|
-
toggle(listEl?: HTMLElement | CSSSelector): void;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
interface AppParams {
|
|
29
|
-
sortable?:
|
|
30
|
-
| {
|
|
31
|
-
/** When enabled then it will move (reorder) HTML elements according to new sortable order. It is useful to disable it if you use other library for DOM manipulation, like React or Vue (default true) */
|
|
32
|
-
moveElements?: boolean;
|
|
33
|
-
}
|
|
34
|
-
| undefined;
|
|
35
|
-
}
|
|
36
|
-
interface AppEvents {
|
|
37
|
-
/** Event will be triggered when sortable mode is enabled */
|
|
38
|
-
sortableEnable: (listEl: HTMLElement) => void;
|
|
39
|
-
/** Event will be triggered when sortable mode is disabled */
|
|
40
|
-
sortableDisable: (listEl: HTMLElement) => void;
|
|
41
|
-
/** Event will be triggered after user release currently sorting element in new position. indexes is an object with from and to properties with from/to index numbers of sorted list item */
|
|
42
|
-
sortableSort: (itemEl: HTMLElement, indexes: SortIndexes, listEl: HTMLElement) => void;
|
|
43
|
-
/** Event will be triggered on every list item move during sorting */
|
|
44
|
-
sortableMove: (itemEl: HTMLElement, listEl: HTMLElement) => void;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
declare const SortableComponent: Framework7Plugin;
|
|
49
|
-
|
|
50
|
-
export default SortableComponent;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Statusbar {
|
|
4
|
-
interface AppParams {
|
|
5
|
-
/** Statusbar parameters */
|
|
6
|
-
statusbar?:
|
|
7
|
-
| {
|
|
8
|
-
/** Enables statusbar handling by Framework7. Disable it if you don't want Framework7 to handle statusbar behavior */
|
|
9
|
-
enabled?: boolean;
|
|
10
|
-
/** If enabled, then click on statusbar overlay will scroll top page content to the top.This functionality is only available when app is running under cordova/phonegap environment with installed cordova-plugin-statusbar */
|
|
11
|
-
scrollTopOnClick?: boolean;
|
|
12
|
-
/** Hex string (#RRGGBB) with background color when app running under iOS device. If passed then it will override CSS value */
|
|
13
|
-
iosBackgroundColor?: string;
|
|
14
|
-
/** Makes the statusbar overlay or not overlay the WebView. This functionality is only available when app is running on iOS device under cordova/phonegap environment with installed cordova-plugin-statusbar*/
|
|
15
|
-
iosOverlaysWebView?: boolean;
|
|
16
|
-
/** Statusbar text color. Can be white or black. This functionality is only available when app is running on iOS under cordova/phonegap environment with installed cordova-plugin-statusbar */
|
|
17
|
-
iosTextColor?: string;
|
|
18
|
-
/** Hex string (#RRGGBB) with background color when app running on Android device. If passed then it will override CSS value */
|
|
19
|
-
androidBackgroundColor?: string;
|
|
20
|
-
/** Makes the statusbar overlay or not overlay the WebView. This functionality is only available when app is running on Android and under cordova/phonegap environment with installed cordova-plugin-statusbar
|
|
21
|
-
*/
|
|
22
|
-
androidOverlaysWebView?: boolean;
|
|
23
|
-
/** Statusbar text color. Can be white or black. This functionality is only available when app is running on Android and under cordova/phonegap environment with installed cordova-plugin-statusbar */
|
|
24
|
-
androidTextColor?: string;
|
|
25
|
-
}
|
|
26
|
-
| undefined;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
interface AppMethods {
|
|
30
|
-
/** Statusbar methods and properties */
|
|
31
|
-
statusbar: {
|
|
32
|
-
/** Hide statusbar. In webapp it just hides statusbar overlay, but in cordova app it will hide statusbar at all. Hiding device statusbar is available when app is running under cordova/phonegap environment with installed cordova-plugin-statusbar */
|
|
33
|
-
hide(): void;
|
|
34
|
-
/** Show statusbar */
|
|
35
|
-
show(): void;
|
|
36
|
-
/** Makes the statusbar overlay or not overlay the WebView. This functionality is only available when app is running under cordova/phonegap environment with installed cordova-plugin-statusbar */
|
|
37
|
-
overlaysWebView(overlays: boolean): void;
|
|
38
|
-
/** "Set/change statusbar text color. "color" can be white or black. This functionality is only available when app is running under cordova/phonegap environment with installed cordova-plugin-statusbar" */
|
|
39
|
-
setTextColor(color: string): void;
|
|
40
|
-
/** Set/change statusbar background colorhex - string - Hex string (#RRGGBB) with background color */
|
|
41
|
-
setBackgroundColor(hex: string): void;
|
|
42
|
-
/** Returns Promise resolved with "true" if system statusbar is visible and false when it is not visible. This functionality is only available when app is running under cordova/phonegap/capacitor environment with installed cordova-plugin-statusbar */
|
|
43
|
-
isVisible(): Promise<boolean>;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
interface AppEvents {}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
declare const StatusbarComponent: Framework7Plugin;
|
|
50
|
-
export default StatusbarComponent;
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { Dom7Array } from 'dom7';
|
|
2
|
-
import Framework7, { CSSSelector, Framework7EventsClass, Framework7Plugin } from '../app/app-class';
|
|
3
|
-
|
|
4
|
-
export namespace Stepper {
|
|
5
|
-
interface Parameters {
|
|
6
|
-
/** Stepper element. HTMLElement or string with CSS selector of stepper element */
|
|
7
|
-
el: HTMLElement | CSSSelector;
|
|
8
|
-
/** Stepper input element or CSS selector of input element. If not specified, will try to look for <input> inside of stepper element */
|
|
9
|
-
inputEl?: HTMLElement | CSSSelector;
|
|
10
|
-
/** Minimal step between values (default 1) */
|
|
11
|
-
step?: number;
|
|
12
|
-
/** Minimum value (default 0) */
|
|
13
|
-
min?: number;
|
|
14
|
-
/** Maximum value (default 100) */
|
|
15
|
-
max?: number;
|
|
16
|
-
/** Initial value (default 0) */
|
|
17
|
-
value?: number;
|
|
18
|
-
/** When enabled, incrementing beyond maximum value sets value to minimum value; likewise, decrementing below minimum value sets value to maximum value (default false) */
|
|
19
|
-
wraps?: boolean;
|
|
20
|
-
/** When enabled it will repeatedly increase/decrease values while you tap and hold plus/minus buttons (default false) */
|
|
21
|
-
autorepeat?: boolean;
|
|
22
|
-
/** When enabled it will increase autorepeat ratio based on how long you hold the button (default false) */
|
|
23
|
-
autorepeatDynamic?: boolean;
|
|
24
|
-
/** Stepper value element or CSS selector of this element where Stepper will insert value. If not specified, and there is no inputEl passed will try to look for <div class="stepper-value"> inside of stepper element */
|
|
25
|
-
valueEl?: HTMLElement | CSSSelector;
|
|
26
|
-
/** Function to format value in required format. It accepts current value and must return new formatted value */
|
|
27
|
-
formatValue?: (value: number) => string | number;
|
|
28
|
-
/** */
|
|
29
|
-
manualInputMode?: boolean;
|
|
30
|
-
/** Enables manual input mode. This mode allows to type value from keyboar and check fractional part with defined accurancy. Also, step parameter is ignored when typing in this mode */
|
|
31
|
-
decimalPoint?: number;
|
|
32
|
-
/** Number of digits after dot, when in manual input mode */
|
|
33
|
-
buttonsEndInputMode?: boolean;
|
|
34
|
-
/** Object with events handlers.. */
|
|
35
|
-
on?: {
|
|
36
|
-
[event in keyof Events]?: Events[event];
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
interface Stepper extends Framework7EventsClass<Events> {
|
|
40
|
-
/** Link to global app instance */
|
|
41
|
-
app: Framework7;
|
|
42
|
-
/** Stepper HTML element */
|
|
43
|
-
el: HTMLElement;
|
|
44
|
-
/** Dom7 instance with stepper HTML element */
|
|
45
|
-
$el: Dom7Array;
|
|
46
|
-
/** Stepper min value */
|
|
47
|
-
min: number;
|
|
48
|
-
/** Stepper max value */
|
|
49
|
-
max: number;
|
|
50
|
-
/** Stepper value */
|
|
51
|
-
value: number;
|
|
52
|
-
/** Stepper input HTML element */
|
|
53
|
-
inputEl: HTMLElement;
|
|
54
|
-
/** Dom7 instance with stepper input HTML element */
|
|
55
|
-
$inputEl: Dom7Array;
|
|
56
|
-
/** Stepper value container HTML element */
|
|
57
|
-
valueEl: HTMLElement;
|
|
58
|
-
/** Dom7 instance with stepper value container HTML element */
|
|
59
|
-
$valueEl: HTMLElement;
|
|
60
|
-
/** Stepper parameters */
|
|
61
|
-
params: Parameters;
|
|
62
|
-
/** Returns stepper value */
|
|
63
|
-
getValue(): number;
|
|
64
|
-
/** Set new stepper value */
|
|
65
|
-
setValue(value: number): Stepper;
|
|
66
|
-
/** Increment stepper value, similar to clicking on its "plus" button */
|
|
67
|
-
incremenet(): Stepper;
|
|
68
|
-
/** Increment stepper value, similar to clicking on its "plus" button */
|
|
69
|
-
plus(): Stepper;
|
|
70
|
-
/** Decrement stepper value, similar to clicking on its "minus" button */
|
|
71
|
-
decrement(): Stepper;
|
|
72
|
-
/** Decrement stepper value, similar to clicking on its "minus" button */
|
|
73
|
-
minus(): Stepper;
|
|
74
|
-
/** Destroy stepper */
|
|
75
|
-
destroy(): void;
|
|
76
|
-
}
|
|
77
|
-
interface Events {
|
|
78
|
-
/** Event will be triggered when stepper value has been changed. As an argument event handler receives stepper instance and stepper value */
|
|
79
|
-
change: (stepper: Stepper, value: number) => void;
|
|
80
|
-
/** Event will be triggered right before Stepper instance will be destroyed. As an argument event handler receives stepper instance */
|
|
81
|
-
beforeDestroy: (stepper: Stepper) => void;
|
|
82
|
-
}
|
|
83
|
-
interface DomEvents {
|
|
84
|
-
/** Event will be triggered when Stepper value has been changed*/
|
|
85
|
-
'stepper:change': () => void;
|
|
86
|
-
/** Event will be triggered right before Stepper instance will be destroyed */
|
|
87
|
-
'stepper:beforedestroy': () => void;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
interface AppMethods {
|
|
91
|
-
stepper: {
|
|
92
|
-
/** create Stepper instance */
|
|
93
|
-
create(parameters: Parameters): Stepper;
|
|
94
|
-
/** get Stepper instance by HTML element */
|
|
95
|
-
get(el: HTMLElement | CSSSelector | Stepper): Stepper;
|
|
96
|
-
/** get Stepper value */
|
|
97
|
-
getValue(el: HTMLElement | CSSSelector | Stepper): number | number[];
|
|
98
|
-
/** set new Stepper value */
|
|
99
|
-
setValue(el: HTMLElement | CSSSelector | Stepper, value: number | number[]): void;
|
|
100
|
-
/** destroy Stepper instance */
|
|
101
|
-
destroy(el: HTMLElement | CSSSelector | Stepper): void;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
interface AppParams {
|
|
105
|
-
stepper?: Parameters | undefined;
|
|
106
|
-
}
|
|
107
|
-
interface AppEvents {
|
|
108
|
-
/** Event will be triggered when stepper value has been changed. As an argument event handler receives stepper instance and stepper value */
|
|
109
|
-
stepperChange: (stepper: Stepper, value: number) => void;
|
|
110
|
-
/** Event will be triggered right before Stepper instance will be destroyed. As an argument event handler receives stepper instance */
|
|
111
|
-
stepperBeforeDestroy: (stepper: Stepper) => void;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
declare const StepperComponent: Framework7Plugin;
|
|
116
|
-
|
|
117
|
-
export default StepperComponent;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Subnavbar {
|
|
4
|
-
interface AppMethods {}
|
|
5
|
-
interface AppParams {}
|
|
6
|
-
interface AppEvents {}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare const SubnavbarComponent: Framework7Plugin;
|
|
10
|
-
|
|
11
|
-
export default SubnavbarComponent;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { CSSSelector, Framework7Plugin } from '../app/app-class';
|
|
2
|
-
|
|
3
|
-
export namespace Swipeout {
|
|
4
|
-
interface DomEvents {
|
|
5
|
-
/** Event will be triggered while you move swipeout element. event.detail contains current opening progress percentage */
|
|
6
|
-
swipeout: (event: any) => void;
|
|
7
|
-
/** Event will be triggered when swipeout element starts its opening animation */
|
|
8
|
-
'swipeout:open': (event: any) => void;
|
|
9
|
-
/** Event will be triggered after swipeout element completes its opening animation */
|
|
10
|
-
'swipeout:opened': (event: any) => void;
|
|
11
|
-
/** Event will be triggered when swipeout element starts its closing animation */
|
|
12
|
-
'swipeout:close': (event: any) => void;
|
|
13
|
-
/** Event will be triggered after swipeout element completes its closing animation */
|
|
14
|
-
'swipeout:closed': (event: any) => void;
|
|
15
|
-
/** Event will be triggered after swipeout element starts its delete animation */
|
|
16
|
-
'swipeout:delete': (event: any) => void;
|
|
17
|
-
/** Event will be triggered after swipeout element completes its delete animation right before it will be removed from DOM */
|
|
18
|
-
'swipeout:deleted': (event: any) => void;
|
|
19
|
-
}
|
|
20
|
-
interface AppMethods {
|
|
21
|
-
swipeout: {
|
|
22
|
-
/** Currently opened swipeout HTMLElement. Or undefined if there is no opened swipeout element */
|
|
23
|
-
el: HTMLElement | CSSSelector | undefined;
|
|
24
|
-
/** reveal swipeout actions on specified element */
|
|
25
|
-
open(el: HTMLElement | CSSSelector, side?: 'left' | 'right', callback?: Function): void;
|
|
26
|
-
/** close swipeout actions on specified element */
|
|
27
|
-
close(el: HTMLElement | CSSSelector, callback?: Function): void;
|
|
28
|
-
/** delete specified swipeout element */
|
|
29
|
-
delete(el: HTMLElement | CSSSelector, callback?: Function): void;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
interface AppParams {
|
|
33
|
-
swipeout?:
|
|
34
|
-
| {
|
|
35
|
-
/** Fallback option for potentially better performance on old/slow devices. If you enable it, then swipeout item will not follow your finger during touch, it will be automatically opened/closed on swipe left/right. (default false) */
|
|
36
|
-
noFollow?: boolean;
|
|
37
|
-
/** When disabled, then framework will not remove swipeout element from DOM on "swipeout-delete" click. Useful to enable if you use another library like Vue or React to manage (remove) swipeout items (default true) */
|
|
38
|
-
removeElements?: boolean;
|
|
39
|
-
/** When enabled, then framework will remove swipeout element from DOM on "swipeout-delete" click after specified delay (default false) */
|
|
40
|
-
removeElementsWithTimeout?: boolean;
|
|
41
|
-
/** Delay in ms to remove swipeout item if removeElementsWithTimeout is enabled */
|
|
42
|
-
removeElementsTimeout?: number;
|
|
43
|
-
/** Defines how much/hard needed to swipe to trigger overswipe (defaults to 1.2) */
|
|
44
|
-
overswipeRatio?: number;
|
|
45
|
-
}
|
|
46
|
-
| undefined;
|
|
47
|
-
}
|
|
48
|
-
interface AppEvents {
|
|
49
|
-
/** Event will be triggered while you move swipeout element */
|
|
50
|
-
swipeout: (progress: number) => void;
|
|
51
|
-
/** Event will be triggered when swipeout element starts its opening animation */
|
|
52
|
-
swipeoutOpen: (swipeoutEl: HTMLElement) => void;
|
|
53
|
-
/** Event will be triggered after swipeout element completes its opening animation */
|
|
54
|
-
swipeoutOpened: (swipeoutEl: HTMLElement) => void;
|
|
55
|
-
/** Event will be triggered when swipeout element starts its closing animation */
|
|
56
|
-
swipeoutClose: (swipeoutEl: HTMLElement) => void;
|
|
57
|
-
/** Event will be triggered after swipeout element completes its closing animation */
|
|
58
|
-
swipeoutClosed: (swipeoutEl: HTMLElement) => void;
|
|
59
|
-
/** Event will be triggered after swipeout element starts its delete animation */
|
|
60
|
-
swipeoutDelete: (swipeoutEl: HTMLElement) => void;
|
|
61
|
-
/** Event will be triggered after swipeout element completes its delete animation right before it will be removed from DOM */
|
|
62
|
-
swipeoutDeleted: (swipeoutEl: HTMLElement) => void;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
declare const SwipeoutComponent: Framework7Plugin;
|
|
67
|
-
|
|
68
|
-
export default SwipeoutComponent;
|