@xenknight/framework7 0.0.2
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/LICENSE +20 -0
- package/README.md +32 -0
- package/components/accordion/accordion-ios.less +2 -0
- package/components/accordion/accordion-md.less +2 -0
- package/components/accordion/accordion-rtl.css +1 -0
- package/components/accordion/accordion-vars.less +0 -0
- package/components/accordion/accordion.css +1 -0
- package/components/accordion/accordion.d.ts +55 -0
- package/components/accordion/accordion.js +118 -0
- package/components/accordion/accordion.less +215 -0
- package/components/actions/actions-class.js +325 -0
- package/components/actions/actions-ios.less +51 -0
- package/components/actions/actions-md.less +24 -0
- package/components/actions/actions-rtl.css +1 -0
- package/components/actions/actions-vars.less +72 -0
- package/components/actions/actions.css +1 -0
- package/components/actions/actions.d.ts +164 -0
- package/components/actions/actions.js +47 -0
- package/components/actions/actions.less +182 -0
- package/components/app/app-class.d.ts +189 -0
- package/components/app/app-class.js +349 -0
- package/components/app/app-ios.less +23 -0
- package/components/app/app-md.less +8 -0
- package/components/app/app-vars.less +122 -0
- package/components/app/app.less +121 -0
- package/components/app/load-module.js +125 -0
- package/components/area-chart/area-chart-class.js +467 -0
- package/components/area-chart/area-chart-ios.less +2 -0
- package/components/area-chart/area-chart-md.less +2 -0
- package/components/area-chart/area-chart-rtl.css +1 -0
- package/components/area-chart/area-chart-vars.less +35 -0
- package/components/area-chart/area-chart.css +1 -0
- package/components/area-chart/area-chart.d.ts +128 -0
- package/components/area-chart/area-chart.js +44 -0
- package/components/area-chart/area-chart.less +131 -0
- package/components/autocomplete/autocomplete-class.js +813 -0
- package/components/autocomplete/autocomplete-ios.less +9 -0
- package/components/autocomplete/autocomplete-md.less +30 -0
- package/components/autocomplete/autocomplete-rtl.css +1 -0
- package/components/autocomplete/autocomplete-vars.less +36 -0
- package/components/autocomplete/autocomplete.css +1 -0
- package/components/autocomplete/autocomplete.d.ts +193 -0
- package/components/autocomplete/autocomplete.js +81 -0
- package/components/autocomplete/autocomplete.less +102 -0
- package/components/badge/badge-ios.less +2 -0
- package/components/badge/badge-md.less +2 -0
- package/components/badge/badge-vars.less +18 -0
- package/components/badge/badge.d.ts +14 -0
- package/components/badge/badge.js +3 -0
- package/components/badge/badge.less +45 -0
- package/components/block/block-ios.less +2 -0
- package/components/block/block-md.less +2 -0
- package/components/block/block-vars.less +77 -0
- package/components/block/block.d.ts +14 -0
- package/components/block/block.js +3 -0
- package/components/block/block.less +209 -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 +52 -0
- package/components/breadcrumbs/breadcrumbs.css +1 -0
- package/components/breadcrumbs/breadcrumbs.d.ts +15 -0
- package/components/breadcrumbs/breadcrumbs.js +11 -0
- package/components/breadcrumbs/breadcrumbs.less +91 -0
- package/components/button/button-ios.less +21 -0
- package/components/button/button-md.less +11 -0
- package/components/button/button-vars.less +114 -0
- package/components/button/button.d.ts +14 -0
- package/components/button/button.js +3 -0
- package/components/button/button.less +421 -0
- package/components/calendar/calendar-class.js +1872 -0
- package/components/calendar/calendar-ios.less +2 -0
- package/components/calendar/calendar-md.less +2 -0
- package/components/calendar/calendar-rtl.css +1 -0
- package/components/calendar/calendar-vars.less +108 -0
- package/components/calendar/calendar.css +1 -0
- package/components/calendar/calendar.d.ts +312 -0
- package/components/calendar/calendar.js +118 -0
- package/components/calendar/calendar.less +448 -0
- package/components/card/card-ios.less +2 -0
- package/components/card/card-md.less +2 -0
- package/components/card/card-rtl.css +1 -0
- package/components/card/card-vars.less +80 -0
- package/components/card/card.css +1 -0
- package/components/card/card.d.ts +69 -0
- package/components/card/card.js +504 -0
- package/components/card/card.less +307 -0
- package/components/checkbox/checkbox-ios.less +23 -0
- package/components/checkbox/checkbox-md.less +17 -0
- package/components/checkbox/checkbox-rtl.css +1 -0
- package/components/checkbox/checkbox-vars.less +25 -0
- package/components/checkbox/checkbox.css +1 -0
- package/components/checkbox/checkbox.d.ts +14 -0
- package/components/checkbox/checkbox.js +3 -0
- package/components/checkbox/checkbox.less +155 -0
- package/components/chip/chip-ios.less +25 -0
- package/components/chip/chip-md.less +30 -0
- package/components/chip/chip-rtl.css +1 -0
- package/components/chip/chip-vars.less +42 -0
- package/components/chip/chip.css +1 -0
- package/components/chip/chip.d.ts +14 -0
- package/components/chip/chip.js +3 -0
- package/components/chip/chip.less +106 -0
- package/components/color-picker/color-picker-class.js +871 -0
- package/components/color-picker/color-picker-ios.less +2 -0
- package/components/color-picker/color-picker-md.less +2 -0
- package/components/color-picker/color-picker-rtl.css +1 -0
- package/components/color-picker/color-picker-vars.less +39 -0
- package/components/color-picker/color-picker.css +1 -0
- package/components/color-picker/color-picker.d.ts +233 -0
- package/components/color-picker/color-picker.js +92 -0
- package/components/color-picker/color-picker.less +557 -0
- package/components/color-picker/modules/alpha-slider.js +91 -0
- package/components/color-picker/modules/brightness-slider.js +80 -0
- package/components/color-picker/modules/current-color.js +14 -0
- package/components/color-picker/modules/hex.js +71 -0
- package/components/color-picker/modules/hs-spectrum.js +118 -0
- package/components/color-picker/modules/hsb-sliders.js +191 -0
- package/components/color-picker/modules/hue-slider.js +73 -0
- package/components/color-picker/modules/initial-current-colors.js +43 -0
- package/components/color-picker/modules/palette.js +46 -0
- package/components/color-picker/modules/rgb-bars.js +183 -0
- package/components/color-picker/modules/rgb-sliders.js +185 -0
- package/components/color-picker/modules/sb-spectrum.js +119 -0
- package/components/color-picker/modules/wheel.js +173 -0
- package/components/contacts-list/contacts-list-ios.less +2 -0
- package/components/contacts-list/contacts-list-md.less +21 -0
- package/components/contacts-list/contacts-list-rtl.css +1 -0
- package/components/contacts-list/contacts-list-vars.less +24 -0
- package/components/contacts-list/contacts-list.css +1 -0
- package/components/contacts-list/contacts-list.d.ts +14 -0
- package/components/contacts-list/contacts-list.js +3 -0
- package/components/contacts-list/contacts-list.less +26 -0
- package/components/data-table/data-table-class.js +141 -0
- package/components/data-table/data-table-ios.less +70 -0
- package/components/data-table/data-table-md.less +88 -0
- package/components/data-table/data-table-rtl.css +1 -0
- package/components/data-table/data-table-vars.less +77 -0
- package/components/data-table/data-table.css +1 -0
- package/components/data-table/data-table.d.ts +61 -0
- package/components/data-table/data-table.js +64 -0
- package/components/data-table/data-table.less +429 -0
- package/components/dialog/dialog-class.js +196 -0
- package/components/dialog/dialog-ios.less +94 -0
- package/components/dialog/dialog-md.less +86 -0
- package/components/dialog/dialog-rtl.css +1 -0
- package/components/dialog/dialog-vars.less +93 -0
- package/components/dialog/dialog.css +1 -0
- package/components/dialog/dialog.d.ts +245 -0
- package/components/dialog/dialog.js +242 -0
- package/components/dialog/dialog.less +142 -0
- package/components/fab/fab-ios.less +9 -0
- package/components/fab/fab-md.less +11 -0
- package/components/fab/fab-rtl.css +1 -0
- package/components/fab/fab-vars.less +46 -0
- package/components/fab/fab.css +1 -0
- package/components/fab/fab.d.ts +32 -0
- package/components/fab/fab.js +172 -0
- package/components/fab/fab.less +523 -0
- package/components/form/form-ios.less +0 -0
- package/components/form/form-md.less +0 -0
- package/components/form/form-rtl.css +0 -0
- package/components/form/form.css +0 -0
- package/components/form/form.d.ts +64 -0
- package/components/form/form.js +311 -0
- package/components/form/form.less +7 -0
- package/components/gauge/gauge-class.js +298 -0
- package/components/gauge/gauge-ios.less +2 -0
- package/components/gauge/gauge-md.less +2 -0
- package/components/gauge/gauge-rtl.css +1 -0
- package/components/gauge/gauge.css +1 -0
- package/components/gauge/gauge.d.ts +100 -0
- package/components/gauge/gauge.js +90 -0
- package/components/gauge/gauge.less +24 -0
- package/components/grid/grid-ios.less +2 -0
- package/components/grid/grid-md.less +2 -0
- package/components/grid/grid-rtl.css +1 -0
- package/components/grid/grid-vars.less +3 -0
- package/components/grid/grid.css +1 -0
- package/components/grid/grid.d.ts +15 -0
- package/components/grid/grid.js +3 -0
- package/components/grid/grid.less +78 -0
- package/components/icon/icon-ios.less +44 -0
- package/components/icon/icon-md.less +56 -0
- package/components/icon/icon.d.ts +14 -0
- package/components/icon/icon.js +3 -0
- package/components/icon/icon.less +33 -0
- package/components/infinite-scroll/infinite-scroll-ios.less +11 -0
- package/components/infinite-scroll/infinite-scroll-md.less +6 -0
- package/components/infinite-scroll/infinite-scroll-rtl.css +1 -0
- package/components/infinite-scroll/infinite-scroll.css +1 -0
- package/components/infinite-scroll/infinite-scroll.d.ts +27 -0
- package/components/infinite-scroll/infinite-scroll.js +94 -0
- package/components/infinite-scroll/infinite-scroll.less +15 -0
- package/components/input/input-ios.less +129 -0
- package/components/input/input-md.less +171 -0
- package/components/input/input-rtl.css +1 -0
- package/components/input/input-vars.less +94 -0
- package/components/input/input.css +1 -0
- package/components/input/input.d.ts +60 -0
- package/components/input/input.js +339 -0
- package/components/input/input.less +355 -0
- package/components/link/link-ios.less +9 -0
- package/components/link/link-md.less +2 -0
- package/components/link/link-vars.less +9 -0
- package/components/link/link.d.ts +14 -0
- package/components/link/link.js +3 -0
- package/components/link/link.less +37 -0
- package/components/list/list-ios.less +15 -0
- package/components/list/list-md.less +5 -0
- package/components/list/list-vars.less +184 -0
- package/components/list/list.d.ts +14 -0
- package/components/list/list.js +3 -0
- package/components/list/list.less +718 -0
- package/components/list-index/list-index-class.js +333 -0
- package/components/list-index/list-index-ios.less +21 -0
- package/components/list-index/list-index-md.less +7 -0
- package/components/list-index/list-index-rtl.css +1 -0
- package/components/list-index/list-index-vars.less +25 -0
- package/components/list-index/list-index.css +1 -0
- package/components/list-index/list-index.d.ts +101 -0
- package/components/list-index/list-index.js +65 -0
- package/components/list-index/list-index.less +130 -0
- package/components/login-screen/login-screen-class.js +38 -0
- package/components/login-screen/login-screen-ios.less +2 -0
- package/components/login-screen/login-screen-md.less +2 -0
- package/components/login-screen/login-screen-rtl.css +1 -0
- package/components/login-screen/login-screen-vars.less +33 -0
- package/components/login-screen/login-screen.css +1 -0
- package/components/login-screen/login-screen.d.ts +99 -0
- package/components/login-screen/login-screen.js +32 -0
- package/components/login-screen/login-screen.less +100 -0
- package/components/messagebar/messagebar-class.js +367 -0
- package/components/messagebar/messagebar-ios.less +88 -0
- package/components/messagebar/messagebar-md.less +114 -0
- package/components/messagebar/messagebar-rtl.css +1 -0
- package/components/messagebar/messagebar-vars.less +75 -0
- package/components/messagebar/messagebar.css +1 -0
- package/components/messagebar/messagebar.d.ts +165 -0
- package/components/messagebar/messagebar.js +66 -0
- package/components/messagebar/messagebar.less +162 -0
- package/components/messages/messages-class.js +487 -0
- package/components/messages/messages-ios.less +165 -0
- package/components/messages/messages-md.less +140 -0
- package/components/messages/messages-rtl.css +1 -0
- package/components/messages/messages-vars.less +82 -0
- package/components/messages/messages.css +1 -0
- package/components/messages/messages.d.ts +162 -0
- package/components/messages/messages.js +65 -0
- package/components/messages/messages.less +218 -0
- package/components/modal/custom-modal-class.js +66 -0
- package/components/modal/modal-class.js +224 -0
- package/components/modal/modal.d.ts +82 -0
- package/components/modal/modal.js +22 -0
- package/components/modal/modal.less +14 -0
- package/components/navbar/navbar-ios.less +755 -0
- package/components/navbar/navbar-md.less +65 -0
- package/components/navbar/navbar-vars.less +74 -0
- package/components/navbar/navbar.d.ts +77 -0
- package/components/navbar/navbar.js +712 -0
- package/components/navbar/navbar.less +311 -0
- package/components/notification/notification-class.js +212 -0
- package/components/notification/notification-ios.less +55 -0
- package/components/notification/notification-md.less +87 -0
- package/components/notification/notification-rtl.css +1 -0
- package/components/notification/notification-vars.less +75 -0
- package/components/notification/notification.css +1 -0
- package/components/notification/notification.d.ts +122 -0
- package/components/notification/notification.js +33 -0
- package/components/notification/notification.less +94 -0
- package/components/page/page-ios.less +154 -0
- package/components/page/page-md.less +83 -0
- package/components/page/page-transitions/circle.less +107 -0
- package/components/page/page-transitions/cover-v.less +61 -0
- package/components/page/page-transitions/cover.less +71 -0
- package/components/page/page-transitions/dive.less +77 -0
- package/components/page/page-transitions/fade.less +53 -0
- package/components/page/page-transitions/flip.less +91 -0
- package/components/page/page-transitions/parallax.less +75 -0
- package/components/page/page-transitions/push.less +75 -0
- package/components/page/page-vars.less +47 -0
- package/components/page/page.d.ts +14 -0
- package/components/page/page.js +3 -0
- package/components/page/page.less +204 -0
- package/components/panel/panel-class.js +556 -0
- package/components/panel/panel-ios.less +2 -0
- package/components/panel/panel-md.less +11 -0
- package/components/panel/panel-rtl.css +3 -0
- package/components/panel/panel-vars.less +24 -0
- package/components/panel/panel.css +3 -0
- package/components/panel/panel.d.ts +198 -0
- package/components/panel/panel.js +189 -0
- package/components/panel/panel.less +403 -0
- package/components/panel/resizable-panel.js +160 -0
- package/components/panel/swipe-panel.js +311 -0
- package/components/photo-browser/photo-browser-class.js +734 -0
- package/components/photo-browser/photo-browser-ios.less +2 -0
- package/components/photo-browser/photo-browser-md.less +2 -0
- package/components/photo-browser/photo-browser-rtl.css +1 -0
- package/components/photo-browser/photo-browser-vars.less +16 -0
- package/components/photo-browser/photo-browser.css +1 -0
- package/components/photo-browser/photo-browser.d.ts +204 -0
- package/components/photo-browser/photo-browser.js +73 -0
- package/components/photo-browser/photo-browser.less +358 -0
- package/components/picker/picker-class.js +588 -0
- package/components/picker/picker-column.js +121 -0
- package/components/picker/picker-ios.less +12 -0
- package/components/picker/picker-md.less +8 -0
- package/components/picker/picker-rtl.css +1 -0
- package/components/picker/picker-vars.less +35 -0
- package/components/picker/picker.css +1 -0
- package/components/picker/picker.d.ts +209 -0
- package/components/picker/picker.js +59 -0
- package/components/picker/picker.less +180 -0
- package/components/pie-chart/pie-chart-class.js +250 -0
- package/components/pie-chart/pie-chart-ios.less +2 -0
- package/components/pie-chart/pie-chart-md.less +2 -0
- package/components/pie-chart/pie-chart-rtl.css +1 -0
- package/components/pie-chart/pie-chart.css +1 -0
- package/components/pie-chart/pie-chart.d.ts +99 -0
- package/components/pie-chart/pie-chart.js +32 -0
- package/components/pie-chart/pie-chart.less +43 -0
- package/components/popover/popover-class.js +293 -0
- package/components/popover/popover-ios.less +6 -0
- package/components/popover/popover-md.less +41 -0
- package/components/popover/popover-rtl.css +1 -0
- package/components/popover/popover-vars.less +25 -0
- package/components/popover/popover.css +1 -0
- package/components/popover/popover.d.ts +137 -0
- package/components/popover/popover.js +75 -0
- package/components/popover/popover.less +168 -0
- package/components/popup/popup-class.js +329 -0
- package/components/popup/popup-ios.less +2 -0
- package/components/popup/popup-md.less +2 -0
- package/components/popup/popup-rtl.css +1 -0
- package/components/popup/popup-vars.less +21 -0
- package/components/popup/popup.css +1 -0
- package/components/popup/popup.d.ts +143 -0
- package/components/popup/popup.js +46 -0
- package/components/popup/popup.less +204 -0
- package/components/preloader/preloader-ios.less +57 -0
- package/components/preloader/preloader-md.less +114 -0
- package/components/preloader/preloader-rtl.css +1 -0
- package/components/preloader/preloader-vars.less +16 -0
- package/components/preloader/preloader.css +1 -0
- package/components/preloader/preloader.d.ts +26 -0
- package/components/preloader/preloader.js +106 -0
- package/components/preloader/preloader.less +60 -0
- package/components/progressbar/progressbar-ios.less +59 -0
- package/components/progressbar/progressbar-md.less +141 -0
- package/components/progressbar/progressbar-rtl.css +1 -0
- package/components/progressbar/progressbar-vars.less +22 -0
- package/components/progressbar/progressbar.css +1 -0
- package/components/progressbar/progressbar.d.ts +31 -0
- package/components/progressbar/progressbar.js +150 -0
- package/components/progressbar/progressbar.less +111 -0
- package/components/pull-to-refresh/pull-to-refresh-class.js +512 -0
- package/components/pull-to-refresh/pull-to-refresh-ios.less +88 -0
- package/components/pull-to-refresh/pull-to-refresh-md.less +129 -0
- package/components/pull-to-refresh/pull-to-refresh-rtl.css +1 -0
- package/components/pull-to-refresh/pull-to-refresh-vars.less +14 -0
- package/components/pull-to-refresh/pull-to-refresh.css +1 -0
- package/components/pull-to-refresh/pull-to-refresh.d.ts +103 -0
- package/components/pull-to-refresh/pull-to-refresh.js +62 -0
- package/components/pull-to-refresh/pull-to-refresh.less +38 -0
- package/components/radio/radio-ios.less +61 -0
- package/components/radio/radio-md.less +64 -0
- package/components/radio/radio-rtl.css +1 -0
- package/components/radio/radio-vars.less +24 -0
- package/components/radio/radio.css +1 -0
- package/components/radio/radio.d.ts +14 -0
- package/components/radio/radio.js +3 -0
- package/components/radio/radio.less +64 -0
- package/components/range/range-class.js +577 -0
- package/components/range/range-ios.less +9 -0
- package/components/range/range-md.less +41 -0
- package/components/range/range-rtl.css +1 -0
- package/components/range/range-vars.less +61 -0
- package/components/range/range.css +1 -0
- package/components/range/range.d.ts +143 -0
- package/components/range/range.js +75 -0
- package/components/range/range.less +235 -0
- package/components/searchbar/remove-diacritics.js +271 -0
- package/components/searchbar/searchbar-class.js +592 -0
- package/components/searchbar/searchbar-ios.less +107 -0
- package/components/searchbar/searchbar-md.less +147 -0
- package/components/searchbar/searchbar-rtl.css +1 -0
- package/components/searchbar/searchbar-vars.less +77 -0
- package/components/searchbar/searchbar.css +1 -0
- package/components/searchbar/searchbar.d.ts +161 -0
- package/components/searchbar/searchbar.js +122 -0
- package/components/searchbar/searchbar.less +322 -0
- package/components/sheet/sheet-class.js +673 -0
- package/components/sheet/sheet-ios.less +2 -0
- package/components/sheet/sheet-md.less +9 -0
- package/components/sheet/sheet-rtl.css +1 -0
- package/components/sheet/sheet-vars.less +27 -0
- package/components/sheet/sheet.css +1 -0
- package/components/sheet/sheet.d.ts +170 -0
- package/components/sheet/sheet.js +76 -0
- package/components/sheet/sheet.less +196 -0
- package/components/skeleton/skeleton-ios.less +2 -0
- package/components/skeleton/skeleton-md.less +2 -0
- package/components/skeleton/skeleton-rtl.css +1 -0
- package/components/skeleton/skeleton-vars.less +8 -0
- package/components/skeleton/skeleton.css +1 -0
- package/components/skeleton/skeleton.d.ts +14 -0
- package/components/skeleton/skeleton.js +3 -0
- package/components/skeleton/skeleton.less +11 -0
- package/components/smart-select/smart-select-class.js +874 -0
- package/components/smart-select/smart-select-ios.less +2 -0
- package/components/smart-select/smart-select-md.less +2 -0
- package/components/smart-select/smart-select-rtl.css +1 -0
- package/components/smart-select/smart-select-vars.less +6 -0
- package/components/smart-select/smart-select.css +1 -0
- package/components/smart-select/smart-select.d.ts +204 -0
- package/components/smart-select/smart-select.js +138 -0
- package/components/smart-select/smart-select.less +42 -0
- package/components/sortable/sortable-ios.less +7 -0
- package/components/sortable/sortable-md.less +7 -0
- package/components/sortable/sortable-rtl.css +1 -0
- package/components/sortable/sortable-vars.less +22 -0
- package/components/sortable/sortable.css +1 -0
- package/components/sortable/sortable.d.ts +50 -0
- package/components/sortable/sortable.js +286 -0
- package/components/sortable/sortable.less +133 -0
- package/components/statusbar/statusbar-ios.less +2 -0
- package/components/statusbar/statusbar-md.less +2 -0
- package/components/statusbar/statusbar.d.ts +54 -0
- package/components/statusbar/statusbar.js +190 -0
- package/components/statusbar/statusbar.less +7 -0
- package/components/stepper/stepper-class.js +403 -0
- package/components/stepper/stepper-ios.less +36 -0
- package/components/stepper/stepper-md.less +16 -0
- package/components/stepper/stepper-rtl.css +1 -0
- package/components/stepper/stepper-vars.less +40 -0
- package/components/stepper/stepper.css +1 -0
- package/components/stepper/stepper.d.ts +121 -0
- package/components/stepper/stepper.js +82 -0
- package/components/stepper/stepper.less +178 -0
- package/components/subnavbar/subnavbar-ios.less +51 -0
- package/components/subnavbar/subnavbar-md.less +47 -0
- package/components/subnavbar/subnavbar-vars.less +36 -0
- package/components/subnavbar/subnavbar.d.ts +11 -0
- package/components/subnavbar/subnavbar.js +17 -0
- package/components/subnavbar/subnavbar.less +128 -0
- package/components/swipeout/swipeout-ios.less +2 -0
- package/components/swipeout/swipeout-md.less +2 -0
- package/components/swipeout/swipeout-rtl.css +1 -0
- package/components/swipeout/swipeout-vars.less +24 -0
- package/components/swipeout/swipeout.css +1 -0
- package/components/swipeout/swipeout.d.ts +68 -0
- package/components/swipeout/swipeout.js +513 -0
- package/components/swipeout/swipeout.less +109 -0
- package/components/swiper/swiper-ios.less +2 -0
- package/components/swiper/swiper-md.less +2 -0
- package/components/swiper/swiper-rtl.css +1 -0
- package/components/swiper/swiper.css +1 -0
- package/components/swiper/swiper.d.ts +25 -0
- package/components/swiper/swiper.js +141 -0
- package/components/swiper/swiper.less +5 -0
- package/components/tabs/tabs-ios.less +2 -0
- package/components/tabs/tabs-md.less +2 -0
- package/components/tabs/tabs-rtl.css +1 -0
- package/components/tabs/tabs.css +1 -0
- package/components/tabs/tabs.d.ts +39 -0
- package/components/tabs/tabs.js +243 -0
- package/components/tabs/tabs.less +45 -0
- package/components/text-editor/text-editor-class.js +516 -0
- package/components/text-editor/text-editor-ios.less +9 -0
- package/components/text-editor/text-editor-md.less +11 -0
- package/components/text-editor/text-editor-rtl.css +1 -0
- package/components/text-editor/text-editor-vars.less +51 -0
- package/components/text-editor/text-editor.css +1 -0
- package/components/text-editor/text-editor.d.ts +166 -0
- package/components/text-editor/text-editor.js +81 -0
- package/components/text-editor/text-editor.less +153 -0
- package/components/timeline/timeline-ios.less +11 -0
- package/components/timeline/timeline-md.less +7 -0
- package/components/timeline/timeline-rtl.css +1 -0
- package/components/timeline/timeline-vars.less +64 -0
- package/components/timeline/timeline.css +1 -0
- package/components/timeline/timeline.d.ts +14 -0
- package/components/timeline/timeline.js +3 -0
- package/components/timeline/timeline.less +413 -0
- package/components/toast/toast-class.js +105 -0
- package/components/toast/toast-ios.less +81 -0
- package/components/toast/toast-md.less +72 -0
- package/components/toast/toast-rtl.css +1 -0
- package/components/toast/toast-vars.less +24 -0
- package/components/toast/toast.css +1 -0
- package/components/toast/toast.d.ts +121 -0
- package/components/toast/toast.js +40 -0
- package/components/toast/toast.less +62 -0
- package/components/toggle/toggle-class.js +165 -0
- package/components/toggle/toggle-ios.less +70 -0
- package/components/toggle/toggle-md.less +44 -0
- package/components/toggle/toggle-rtl.css +1 -0
- package/components/toggle/toggle-vars.less +30 -0
- package/components/toggle/toggle.css +1 -0
- package/components/toggle/toggle.d.ts +73 -0
- package/components/toggle/toggle.js +57 -0
- package/components/toggle/toggle.less +52 -0
- package/components/toolbar/toolbar-ios.less +47 -0
- package/components/toolbar/toolbar-md.less +77 -0
- package/components/toolbar/toolbar-vars.less +71 -0
- package/components/toolbar/toolbar.d.ts +43 -0
- package/components/toolbar/toolbar.js +198 -0
- package/components/toolbar/toolbar.less +306 -0
- package/components/tooltip/tooltip-class.js +336 -0
- package/components/tooltip/tooltip-ios.less +2 -0
- package/components/tooltip/tooltip-md.less +2 -0
- package/components/tooltip/tooltip-rtl.css +1 -0
- package/components/tooltip/tooltip-vars.less +19 -0
- package/components/tooltip/tooltip.css +1 -0
- package/components/tooltip/tooltip.d.ts +105 -0
- package/components/tooltip/tooltip.js +129 -0
- package/components/tooltip/tooltip.less +39 -0
- package/components/touch-ripple/touch-ripple-class.js +85 -0
- package/components/touch-ripple/touch-ripple-ios.less +2 -0
- package/components/touch-ripple/touch-ripple-md.less +2 -0
- package/components/touch-ripple/touch-ripple-vars.less +8 -0
- package/components/touch-ripple/touch-ripple.d.ts +25 -0
- package/components/touch-ripple/touch-ripple.js +18 -0
- package/components/touch-ripple/touch-ripple.less +114 -0
- package/components/treeview/treeview-ios.less +2 -0
- package/components/treeview/treeview-md.less +2 -0
- package/components/treeview/treeview-rtl.css +1 -0
- package/components/treeview/treeview-vars.less +38 -0
- package/components/treeview/treeview.css +1 -0
- package/components/treeview/treeview.d.ts +42 -0
- package/components/treeview/treeview.js +74 -0
- package/components/treeview/treeview.less +160 -0
- package/components/typography/typography-ios.less +2 -0
- package/components/typography/typography-md.less +2 -0
- package/components/typography/typography-rtl.css +1 -0
- package/components/typography/typography-vars.less +4 -0
- package/components/typography/typography.css +1 -0
- package/components/typography/typography.d.ts +14 -0
- package/components/typography/typography.js +3 -0
- package/components/typography/typography.less +220 -0
- package/components/view/resizable-view.js +125 -0
- package/components/view/view-class.js +206 -0
- package/components/view/view-ios.less +2 -0
- package/components/view/view-md.less +2 -0
- package/components/view/view.d.ts +199 -0
- package/components/view/view.js +173 -0
- package/components/view/view.less +35 -0
- package/components/virtual-list/virtual-list-class.js +583 -0
- package/components/virtual-list/virtual-list-ios.less +2 -0
- package/components/virtual-list/virtual-list-md.less +2 -0
- package/components/virtual-list/virtual-list-rtl.css +0 -0
- package/components/virtual-list/virtual-list.css +0 -0
- package/components/virtual-list/virtual-list.d.ts +142 -0
- package/components/virtual-list/virtual-list.js +17 -0
- package/components/virtual-list/virtual-list.less +7 -0
- package/framework7-bundle-rtl.css +19821 -0
- package/framework7-bundle-rtl.min.css +19 -0
- package/framework7-bundle.css +19802 -0
- package/framework7-bundle.esm.js +93 -0
- package/framework7-bundle.js +48416 -0
- package/framework7-bundle.js.map +1 -0
- package/framework7-bundle.less +92 -0
- package/framework7-bundle.min.css +19 -0
- package/framework7-bundle.min.js +14 -0
- package/framework7-bundle.min.js.map +1 -0
- package/framework7-lite-bundle.esm.js +86 -0
- package/framework7-lite.esm.js +37 -0
- package/framework7-lite.js +31 -0
- package/framework7-rtl.css +5252 -0
- package/framework7-rtl.min.css +17 -0
- package/framework7-types.d.ts +336 -0
- package/framework7.css +5245 -0
- package/framework7.d.ts +322 -0
- package/framework7.esm.js +41 -0
- package/framework7.js +42 -0
- package/framework7.less +41 -0
- package/framework7.min.css +17 -0
- package/less/mixins.less +281 -0
- package/less/plugin.js +15 -0
- package/less/vars.less +7 -0
- package/modules/clicks/clicks.d.ts +19 -0
- package/modules/clicks/clicks.js +94 -0
- package/modules/component/$h.js +15 -0
- package/modules/component/$jsx.js +17 -0
- package/modules/component/component-class.js +517 -0
- package/modules/component/component.d.ts +111 -0
- package/modules/component/component.js +44 -0
- package/modules/component/custom-components.js +1 -0
- package/modules/component/eventslisteners.js +74 -0
- package/modules/component/parse-component.js +79 -0
- package/modules/component/patch.js +8 -0
- package/modules/component/snabbdom/h.d.ts +10 -0
- package/modules/component/snabbdom/h.js +50 -0
- package/modules/component/snabbdom/helpers/attachto.d.ts +9 -0
- package/modules/component/snabbdom/helpers/attachto.js +49 -0
- package/modules/component/snabbdom/hooks.d.ts +23 -0
- package/modules/component/snabbdom/hooks.js +0 -0
- package/modules/component/snabbdom/htmldomapi.d.ts +19 -0
- package/modules/component/snabbdom/htmldomapi.js +67 -0
- package/modules/component/snabbdom/is.d.ts +2 -0
- package/modules/component/snabbdom/is.js +4 -0
- package/modules/component/snabbdom/modules/attributes.d.ts +4 -0
- package/modules/component/snabbdom/modules/attributes.js +51 -0
- package/modules/component/snabbdom/modules/class.d.ts +4 -0
- package/modules/component/snabbdom/modules/class.js +27 -0
- package/modules/component/snabbdom/modules/dataset.d.ts +4 -0
- package/modules/component/snabbdom/modules/dataset.js +37 -0
- package/modules/component/snabbdom/modules/eventlisteners.d.ts +8 -0
- package/modules/component/snabbdom/modules/eventlisteners.js +93 -0
- package/modules/component/snabbdom/modules/hero.d.ts +6 -0
- package/modules/component/snabbdom/modules/hero.js +147 -0
- package/modules/component/snabbdom/modules/module.d.ts +9 -0
- package/modules/component/snabbdom/modules/module.js +0 -0
- package/modules/component/snabbdom/modules/props.d.ts +4 -0
- package/modules/component/snabbdom/modules/props.js +29 -0
- package/modules/component/snabbdom/modules/style.d.ts +7 -0
- package/modules/component/snabbdom/modules/style.js +93 -0
- package/modules/component/snabbdom/snabbdom.bundle.d.ts +5 -0
- package/modules/component/snabbdom/snabbdom.bundle.js +13 -0
- package/modules/component/snabbdom/snabbdom.d.ts +6 -0
- package/modules/component/snabbdom/snabbdom.js +282 -0
- package/modules/component/snabbdom/thunk.d.ts +14 -0
- package/modules/component/snabbdom/thunk.js +50 -0
- package/modules/component/snabbdom/tovnode.d.ts +4 -0
- package/modules/component/snabbdom/tovnode.js +40 -0
- package/modules/component/snabbdom/vnode.d.ts +36 -0
- package/modules/component/snabbdom/vnode.js +12 -0
- package/modules/component/vdom.js +319 -0
- package/modules/demo-module.js +44 -0
- package/modules/device/device.d.ts +14 -0
- package/modules/device/device.js +44 -0
- package/modules/history/history.js +12 -0
- package/modules/resize/resize.d.ts +25 -0
- package/modules/resize/resize.js +62 -0
- package/modules/router/app-router-check.js +5 -0
- package/modules/router/async-component.js +27 -0
- package/modules/router/back.js +723 -0
- package/modules/router/clear-previous-history.js +31 -0
- package/modules/router/component-loader.js +200 -0
- package/modules/router/modal.js +223 -0
- package/modules/router/navigate.js +814 -0
- package/modules/router/process-route-queue.js +66 -0
- package/modules/router/redirect.js +38 -0
- package/modules/router/router-class.js +1268 -0
- package/modules/router/router.d.ts +354 -0
- package/modules/router/router.js +26 -0
- package/modules/router/swipe-back.js +589 -0
- package/modules/router/tab.js +230 -0
- package/modules/service-worker/service-worker.d.ts +38 -0
- package/modules/service-worker/service-worker.js +86 -0
- package/modules/store/create-store.js +138 -0
- package/modules/store/store.d.ts +40 -0
- package/modules/store/store.js +11 -0
- package/modules/support/support.d.ts +15 -0
- package/modules/support/support.js +7 -0
- package/modules/touch/touch.d.ts +60 -0
- package/modules/touch/touch.js +482 -0
- package/modules/utils/utils.d.ts +15 -0
- package/modules/utils/utils.js +10 -0
- package/package.json +458 -0
- package/shared/$jsx.js +21 -0
- package/shared/class.js +146 -0
- package/shared/constructor-methods.js +52 -0
- package/shared/dom7.js +7 -0
- package/shared/events-class.js +95 -0
- package/shared/get-device.d.ts +52 -0
- package/shared/get-device.js +147 -0
- package/shared/get-support.d.ts +12 -0
- package/shared/get-support.js +35 -0
- package/shared/history.js +171 -0
- package/shared/material-color-utils.js +1377 -0
- package/shared/material-colors.js +75 -0
- package/shared/modal-methods.js +80 -0
- package/shared/utils.d.ts +88 -0
- package/shared/utils.js +535 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--f7-notification-max-width: 568px;
|
|
3
|
+
--f7-notification-subtitle-text-transform: none;
|
|
4
|
+
--f7-notification-subtitle-line-height: 1.35;
|
|
5
|
+
--f7-notification-text-text-transform: none;
|
|
6
|
+
--f7-notification-text-font-weight: 400;
|
|
7
|
+
}
|
|
8
|
+
.ios-vars({
|
|
9
|
+
--f7-notification-margin: 8px;
|
|
10
|
+
--f7-notification-padding-horizontal: 10px;
|
|
11
|
+
--f7-notification-padding-vertical: 10px;
|
|
12
|
+
--f7-notification-border-radius: 12px;
|
|
13
|
+
--f7-notification-box-shadow: 0px 5px 25px -10px rgba(0, 0, 0, 0.7);
|
|
14
|
+
--f7-notification-icon-size: 20px;
|
|
15
|
+
|
|
16
|
+
--f7-notification-title-font-size: 13px;
|
|
17
|
+
--f7-notification-title-text-transform: uppercase;
|
|
18
|
+
--f7-notification-title-line-height: 1.4;
|
|
19
|
+
--f7-notification-title-font-weight: 400;
|
|
20
|
+
--f7-notification-title-letter-spacing: 0.02em;
|
|
21
|
+
|
|
22
|
+
--f7-notification-title-right-font-size: 13px;
|
|
23
|
+
|
|
24
|
+
--f7-notification-subtitle-font-size: 15px;
|
|
25
|
+
--f7-notification-subtitle-font-weight: 600;
|
|
26
|
+
|
|
27
|
+
--f7-notification-text-font-size: 15px;
|
|
28
|
+
--f7-notification-text-line-height: 1.2;
|
|
29
|
+
.light-vars({
|
|
30
|
+
--f7-notification-bg-color: rgba(250,250,250,0.95);
|
|
31
|
+
--f7-notification-bg-color-rgb: 255, 255, 255;
|
|
32
|
+
--f7-notification-title-color: #000;
|
|
33
|
+
--f7-notification-title-right-color: rgba(0,0,0,0.45);
|
|
34
|
+
--f7-notification-subtitle-color: #000;
|
|
35
|
+
--f7-notification-text-color: #000;
|
|
36
|
+
});
|
|
37
|
+
.dark-vars({
|
|
38
|
+
--f7-notification-bg-color: rgba(30,30,30,0.95);
|
|
39
|
+
--f7-notification-bg-color-rgb: 30, 30, 30;
|
|
40
|
+
--f7-notification-title-color: #fff;
|
|
41
|
+
--f7-notification-text-color: #fff;
|
|
42
|
+
--f7-notification-subtitle-color: #fff;
|
|
43
|
+
--f7-notification-title-right-color: rgba(255,255,255,0.55);
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
.md-vars({
|
|
47
|
+
--f7-notification-margin: 16px;
|
|
48
|
+
--f7-notification-padding-vertical: 20px;
|
|
49
|
+
--f7-notification-padding-horizontal: 16px;
|
|
50
|
+
--f7-notification-border-radius: 16px;
|
|
51
|
+
--f7-notification-box-shadow: none;
|
|
52
|
+
--f7-notification-icon-size: 24px;
|
|
53
|
+
|
|
54
|
+
--f7-notification-title-font-size: 16px;
|
|
55
|
+
--f7-notification-title-text-transform: none;
|
|
56
|
+
--f7-notification-title-line-height: 1.35;
|
|
57
|
+
--f7-notification-title-font-weight: 500;
|
|
58
|
+
|
|
59
|
+
--f7-notification-title-right-font-size: 12px;
|
|
60
|
+
|
|
61
|
+
--f7-notification-subtitle-font-size: 14px;
|
|
62
|
+
--f7-notification-subtitle-font-weight: 400;
|
|
63
|
+
|
|
64
|
+
--f7-notification-text-font-size: 14px;
|
|
65
|
+
--f7-notification-text-line-height: 1.35;
|
|
66
|
+
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
.md-color-vars({
|
|
70
|
+
--f7-notification-title-color: var(--f7-md-on-surface);
|
|
71
|
+
--f7-notification-bg-color: var(--f7-md-surface-5);
|
|
72
|
+
--f7-notification-text-color: var(--f7-md-on-surface-variant);
|
|
73
|
+
--f7-notification-title-right-color: var(--f7-md-on-surface-variant);
|
|
74
|
+
--f7-notification-subtitle-color: var(--f7-md-on-surface);
|
|
75
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{--f7-notification-max-width:568px;--f7-notification-subtitle-text-transform:none;--f7-notification-subtitle-line-height:1.35;--f7-notification-text-text-transform:none;--f7-notification-text-font-weight:400}.ios{--f7-notification-margin:8px;--f7-notification-padding-horizontal:10px;--f7-notification-padding-vertical:10px;--f7-notification-border-radius:12px;--f7-notification-box-shadow:0px 5px 25px -10px rgba(0, 0, 0, 0.7);--f7-notification-icon-size:20px;--f7-notification-title-font-size:13px;--f7-notification-title-text-transform:uppercase;--f7-notification-title-line-height:1.4;--f7-notification-title-font-weight:400;--f7-notification-title-letter-spacing:0.02em;--f7-notification-title-right-font-size:13px;--f7-notification-subtitle-font-size:15px;--f7-notification-subtitle-font-weight:600;--f7-notification-text-font-size:15px;--f7-notification-text-line-height:1.2;--f7-notification-bg-color:rgba(250, 250, 250, 0.95);--f7-notification-bg-color-rgb:255,255,255;--f7-notification-title-color:#000;--f7-notification-title-right-color:rgba(0, 0, 0, 0.45);--f7-notification-subtitle-color:#000;--f7-notification-text-color:#000}.ios .dark,.ios.dark{--f7-notification-bg-color:rgba(30, 30, 30, 0.95);--f7-notification-bg-color-rgb:30,30,30;--f7-notification-title-color:#fff;--f7-notification-text-color:#fff;--f7-notification-subtitle-color:#fff;--f7-notification-title-right-color:rgba(255, 255, 255, 0.55)}.md{--f7-notification-margin:16px;--f7-notification-padding-vertical:20px;--f7-notification-padding-horizontal:16px;--f7-notification-border-radius:16px;--f7-notification-box-shadow:none;--f7-notification-icon-size:24px;--f7-notification-title-font-size:16px;--f7-notification-title-text-transform:none;--f7-notification-title-line-height:1.35;--f7-notification-title-font-weight:500;--f7-notification-title-right-font-size:12px;--f7-notification-subtitle-font-size:14px;--f7-notification-subtitle-font-weight:400;--f7-notification-text-font-size:14px;--f7-notification-text-line-height:1.35}.md,.md .dark,.md [class*=color-]{--f7-notification-title-color:var(--f7-md-on-surface);--f7-notification-bg-color:var(--f7-md-surface-5);--f7-notification-text-color:var(--f7-md-on-surface-variant);--f7-notification-title-right-color:var(--f7-md-on-surface-variant);--f7-notification-subtitle-color:var(--f7-md-on-surface)}.notification{position:absolute;left:var(--f7-notification-margin);top:var(--f7-notification-margin);width:calc(100% - var(--f7-notification-margin) * 2);z-index:20000;font-size:14px;margin:0;border:none;display:none;box-sizing:border-box;transition-property:transform;direction:ltr;max-width:var(--f7-notification-max-width);padding:var(--f7-notification-padding-vertical) var(--f7-notification-padding-horizontal);border-radius:var(--f7-notification-border-radius);box-shadow:var(--f7-notification-box-shadow);background:var(--f7-notification-bg-color);margin-top:var(--f7-safe-area-top)}@supports ((-webkit-backdrop-filter:blur(20px)) or (backdrop-filter:blur(20px))){.ios-translucent-modals .notification{background-color:rgba(var(--f7-notification-bg-color-rgb),.8);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px)}}@media (min-width:568px){.notification{left:50%;width:var(--f7-notification-max-width);margin-left:calc(-1 * var(--f7-notification-max-width)/ 2)}}.notification-title{color:var(--f7-notification-title-color,var(--f7-theme-color));font-size:var(--f7-notification-title-font-size);text-transform:var(--f7-notification-title-text-transform);line-height:var(--f7-notification-title-line-height);font-weight:var(--f7-notification-title-font-weight);letter-spacing:var(--f7-notification-title-letter-spacing)}.notification-subtitle{color:var(--f7-notification-subtitle-color);font-size:var(--f7-notification-subtitle-font-size);text-transform:var(--f7-notification-subtitle-text-transform);line-height:var(--f7-notification-subtitle-line-height);font-weight:var(--f7-notification-subtitle-font-weight)}.notification-text{color:var(--f7-notification-text-color);font-size:var(--f7-notification-text-font-size);text-transform:var(--f7-notification-text-text-transform);line-height:var(--f7-notification-text-line-height);font-weight:var(--f7-notification-text-font-weight)}.notification-title-right-text{color:var(--f7-notification-title-right-color);font-size:var(--f7-notification-title-right-font-size)}.notification-icon{font-size:0;line-height:var(--f7-notification-icon-size)}.notification-icon,.notification-icon i{width:var(--f7-notification-icon-size)!important;height:var(--f7-notification-icon-size)!important}.notification-icon i{font-size:var(--f7-notification-icon-size)}.notification-icon img{height:var(--f7-notification-icon-size)}.notification-header{display:flex;justify-content:flex-start;align-items:center}.notification-close-button{margin-left:auto;cursor:pointer;position:relative}.notification-close-button:after{font-family:framework7-core-icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:'liga';display:block;width:100%;height:100%;font-size:20px;position:absolute;left:50%;top:50%;text-align:center}.ios .notification{transition-duration:450ms;transform:translate3d(0%,-200%,0)}.ios .notification.modal-in{transform:translate3d(0%,0%,0);opacity:1}.ios .notification.modal-out{transform:translate3d(0%,-200%,0)}.ios .notification-icon{margin-right:8px}.ios .notification-header+.notification-content{margin-top:10px}.ios .notification-title-right-text{margin-right:6px;margin-left:auto}.ios .notification-title-right-text+.notification-close-button{margin-left:10px}.ios .notification-close-button{font-size:14px;width:20px;height:20px;opacity:.3;transition-duration:.3s}.ios .notification-close-button.active-state{transition-duration:0s;opacity:.1}.ios .notification-close-button:after{color:#000;content:'notification_close_ios';font-size:.65em;line-height:44px;width:44px;height:44px;margin-left:-22px;margin-top:-22px}.ios .dark .notification-close-button:after,.ios.dark .notification-close-button:after{color:#fff}.md .notification{transform:translate3d(0,-150%,0)}.md .notification.modal-in{transition-duration:.5s;transform:translate3d(0,0%,0);transition-timing-function:cubic-bezier(0,0.8,0.34,1)}.md .notification.modal-in.notification-transitioning{transition-duration:.2s}.md .notification.modal-out{animation:none;transition-duration:.2s;transition-timing-function:ease-in;transform:translate3d(0,-150%,0)}.md .notification-with-icon .notification-icon{position:absolute;left:var(--f7-notification-padding-horizontal);top:var(--f7-notification-padding-vertical)}.md .notification-with-icon .notification-content,.md .notification-with-icon .notification-header{margin-left:calc(var(--f7-notification-icon-size) + 16px)}.md .notification-icon{margin-right:8px}.md .notification-subtitle+.notification-text{margin-top:4px}.md .notification-header+.notification-content{margin-top:8px}.md .notification-title-right-text{margin-left:4px}.md .notification-title-right-text:before{content:'';width:3px;height:3px;border-radius:50%;display:inline-block;vertical-align:middle;margin-right:4px;background:var(--f7-notification-title-right-color)}.md .notification-close-button{width:16px;height:16px;transition-duration:.3s}.md .notification-close-button:after,.md .notification-close-button:before{width:48px;height:48px;left:50%;top:50%;margin-left:-24px;margin-top:-24px}.md .notification-close-button:after{color:var(--f7-md-on-surface-variant);content:'delete_round_md';line-height:48px;font-size:24px}@keyframes notification-md-in{0%{transform:translate3d(0,-150%,0)}50%{transform:translate3d(0,10%,0)}100%{transform:translate3d(0,0%,0)}}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { Dom7Array } from 'dom7';
|
|
2
|
+
import Framework7, {
|
|
3
|
+
CSSSelector,
|
|
4
|
+
Framework7EventsClass,
|
|
5
|
+
Framework7Plugin,
|
|
6
|
+
} from '../app/app-class.js';
|
|
7
|
+
|
|
8
|
+
export namespace Notification {
|
|
9
|
+
interface Notification extends Framework7EventsClass<Events> {
|
|
10
|
+
/** Link to global app instance */
|
|
11
|
+
app: Framework7;
|
|
12
|
+
/** Notification HTML element */
|
|
13
|
+
el: HTMLElement;
|
|
14
|
+
/** Dom7 instance with notification HTML element */
|
|
15
|
+
$el: Dom7Array;
|
|
16
|
+
/** Notification parameters */
|
|
17
|
+
params: Parameters;
|
|
18
|
+
|
|
19
|
+
/** Open notification */
|
|
20
|
+
open(animate?: boolean): Notification;
|
|
21
|
+
/** Close notification */
|
|
22
|
+
close(animate?: boolean): Notification;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface Parameters {
|
|
26
|
+
/** Notification element. Can be useful if you already have Notification element in your HTML and want to create new instance using this element. */
|
|
27
|
+
el?: HTMLElement | CSSSelector;
|
|
28
|
+
/** Notification icon HTML layout, e.g. <i class="f7-icons">house</i> or image <img src="path/to/icon.png">. */
|
|
29
|
+
icon?: string;
|
|
30
|
+
/** Notification title. */
|
|
31
|
+
title?: string;
|
|
32
|
+
/** Additional text on the right side of title. */
|
|
33
|
+
titleRightText?: string;
|
|
34
|
+
/** Notification subtitle. */
|
|
35
|
+
subtitle?: string;
|
|
36
|
+
/** Notification inner text. */
|
|
37
|
+
text?: string;
|
|
38
|
+
/** Adds notification close button. (default false) */
|
|
39
|
+
closeButton?: boolean;
|
|
40
|
+
/** Timeout delay (in ms) to close notification automatically. */
|
|
41
|
+
closeTimeout?: number;
|
|
42
|
+
/** If enabled, notification will be closed on notification click. (default false) */
|
|
43
|
+
closeOnClick?: boolean;
|
|
44
|
+
/** If enabled, notification can be closed by swipe gesture. (default true) */
|
|
45
|
+
swipeToClose?: boolean;
|
|
46
|
+
/** Additional css class to add. */
|
|
47
|
+
cssClass?: string;
|
|
48
|
+
/** Element to mount notifications to. (default app.el) */
|
|
49
|
+
containerEl?: HTMLElement | CSSSelector;
|
|
50
|
+
/** Custom function to render Notification. Must return notification html. */
|
|
51
|
+
render?: (notification: Notification) => string;
|
|
52
|
+
/** Object with events handlers.. */
|
|
53
|
+
on?: {
|
|
54
|
+
[event in keyof Events]?: Events[event];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
interface Events {
|
|
59
|
+
/** Event will be triggered when user clicks on Notification element. As an argument event handler receives notification instance */
|
|
60
|
+
click: (notification: Notification) => void;
|
|
61
|
+
/** Event will be triggered when Notification starts its opening animation. As an argument event handler receives notification instance */
|
|
62
|
+
open: (notification: Notification) => void;
|
|
63
|
+
/** Event will be triggered after Notification completes its opening animation. As an argument event handler receives notification instance */
|
|
64
|
+
opened: (notification: Notification) => void;
|
|
65
|
+
/** Event will be triggered when Notification starts its closing animation. As an argument event handler receives notification instance */
|
|
66
|
+
close: (notification: Notification) => void;
|
|
67
|
+
/** Event will be triggered after Notification completes its closing animation. As an argument event handler receives notification instance */
|
|
68
|
+
closed: (notification: Notification) => void;
|
|
69
|
+
/** Event will be triggered right before Notification instance will be destroyed. As an argument event handler receives notification instance */
|
|
70
|
+
beforeDestroy: (notification: Notification) => void;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface DomEvents {
|
|
74
|
+
/** Event will be triggered when Notification starts its opening animation */
|
|
75
|
+
'notification:open': () => void;
|
|
76
|
+
/** Event will be triggered after Notification completes its opening animation */
|
|
77
|
+
'notification:opened': () => void;
|
|
78
|
+
/** Event will be triggered when Notification starts its closing animation */
|
|
79
|
+
'notification:close': () => void;
|
|
80
|
+
/** Event will be triggered after Notification completes its closing animation */
|
|
81
|
+
'notification:closed': () => void;
|
|
82
|
+
}
|
|
83
|
+
interface AppMethods {
|
|
84
|
+
notification: {
|
|
85
|
+
/** create Notification instance */
|
|
86
|
+
create(parameters: Parameters): Notification;
|
|
87
|
+
|
|
88
|
+
/** destroy Notification instance */
|
|
89
|
+
destroy(el: HTMLElement | CSSSelector | Notification): void;
|
|
90
|
+
|
|
91
|
+
/** get Notification instance by HTML element */
|
|
92
|
+
get(el: HTMLElement | CSSSelector): Notification;
|
|
93
|
+
|
|
94
|
+
/** open Notification */
|
|
95
|
+
open(el: HTMLElement | CSSSelector, animate?: boolean): Notification;
|
|
96
|
+
|
|
97
|
+
/** closes Notification */
|
|
98
|
+
close(el: HTMLElement | CSSSelector, animate?: boolean): Notification;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
interface AppParams {
|
|
102
|
+
notification?: Parameters | undefined;
|
|
103
|
+
}
|
|
104
|
+
interface AppEvents {
|
|
105
|
+
/** Event will be triggered when user clicks on Notification element. As an argument event handler receives notification instance */
|
|
106
|
+
notificationClick: (notification: Notification) => void;
|
|
107
|
+
/** Event will be triggered when Notification starts its opening animation. As an argument event handler receives notification instance */
|
|
108
|
+
notificationOpen: (notification: Notification) => void;
|
|
109
|
+
/** Event will be triggered after Notification completes its opening animation. As an argument event handler receives notification instance */
|
|
110
|
+
notificationOpened: (notification: Notification) => void;
|
|
111
|
+
/** Event will be triggered when Notification starts its closing animation. As an argument event handler receives notification instance */
|
|
112
|
+
notificationClose: (notification: Notification) => void;
|
|
113
|
+
/** Event will be triggered after Notification completes its closing animation. As an argument event handler receives notification instance */
|
|
114
|
+
notificationClosed: (notification: Notification) => void;
|
|
115
|
+
/** Event will be triggered right before Notification instance will be destroyed. As an argument event handler receives notification instance */
|
|
116
|
+
notificationBeforeDestroy: (notification: Notification) => void;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare const NotificationComponent: Framework7Plugin;
|
|
121
|
+
|
|
122
|
+
export default NotificationComponent;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { extend } from '../../shared/utils.js';
|
|
2
|
+
import Notification from './notification-class.js';
|
|
3
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
4
|
+
export default {
|
|
5
|
+
name: 'notification',
|
|
6
|
+
static: {
|
|
7
|
+
Notification
|
|
8
|
+
},
|
|
9
|
+
create() {
|
|
10
|
+
const app = this;
|
|
11
|
+
app.notification = extend({}, ModalMethods({
|
|
12
|
+
app,
|
|
13
|
+
constructor: Notification,
|
|
14
|
+
defaultSelector: '.notification.modal-in'
|
|
15
|
+
}));
|
|
16
|
+
},
|
|
17
|
+
params: {
|
|
18
|
+
notification: {
|
|
19
|
+
icon: null,
|
|
20
|
+
title: null,
|
|
21
|
+
titleRightText: null,
|
|
22
|
+
subtitle: null,
|
|
23
|
+
text: null,
|
|
24
|
+
closeButton: false,
|
|
25
|
+
closeTimeout: null,
|
|
26
|
+
closeOnClick: false,
|
|
27
|
+
swipeToClose: true,
|
|
28
|
+
cssClass: null,
|
|
29
|
+
render: null,
|
|
30
|
+
containerEl: null
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/* === Notifications === */
|
|
2
|
+
@import './notification-vars.less';
|
|
3
|
+
|
|
4
|
+
.notification {
|
|
5
|
+
position: absolute;
|
|
6
|
+
left: var(--f7-notification-margin);
|
|
7
|
+
top: var(--f7-notification-margin);
|
|
8
|
+
width: calc(100% - var(--f7-notification-margin) * 2);
|
|
9
|
+
z-index: 20000;
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
margin: 0;
|
|
12
|
+
border: none;
|
|
13
|
+
display: none;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
transition-property: transform;
|
|
16
|
+
direction: ltr;
|
|
17
|
+
max-width: var(--f7-notification-max-width);
|
|
18
|
+
padding: var(--f7-notification-padding-vertical) var(--f7-notification-padding-horizontal);
|
|
19
|
+
border-radius: var(--f7-notification-border-radius);
|
|
20
|
+
box-shadow: var(--f7-notification-box-shadow);
|
|
21
|
+
background: var(--f7-notification-bg-color);
|
|
22
|
+
margin-top: var(--f7-safe-area-top);
|
|
23
|
+
.ios-translucent-modals(var(--f7-notification-bg-color-rgb));
|
|
24
|
+
@media (min-width: 568px) {
|
|
25
|
+
left: 50%;
|
|
26
|
+
width: var(--f7-notification-max-width);
|
|
27
|
+
margin-left: calc(-1 * var(--f7-notification-max-width) / 2);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.notification-title {
|
|
31
|
+
color: var(--f7-notification-title-color, var(--f7-theme-color));
|
|
32
|
+
font-size: var(--f7-notification-title-font-size);
|
|
33
|
+
text-transform: var(--f7-notification-title-text-transform);
|
|
34
|
+
line-height: var(--f7-notification-title-line-height);
|
|
35
|
+
font-weight: var(--f7-notification-title-font-weight);
|
|
36
|
+
letter-spacing: var(--f7-notification-title-letter-spacing);
|
|
37
|
+
}
|
|
38
|
+
.notification-subtitle {
|
|
39
|
+
color: var(--f7-notification-subtitle-color);
|
|
40
|
+
font-size: var(--f7-notification-subtitle-font-size);
|
|
41
|
+
text-transform: var(--f7-notification-subtitle-text-transform);
|
|
42
|
+
line-height: var(--f7-notification-subtitle-line-height);
|
|
43
|
+
font-weight: var(--f7-notification-subtitle-font-weight);
|
|
44
|
+
}
|
|
45
|
+
.notification-text {
|
|
46
|
+
color: var(--f7-notification-text-color);
|
|
47
|
+
font-size: var(--f7-notification-text-font-size);
|
|
48
|
+
text-transform: var(--f7-notification-text-text-transform);
|
|
49
|
+
line-height: var(--f7-notification-text-line-height);
|
|
50
|
+
font-weight: var(--f7-notification-text-font-weight);
|
|
51
|
+
}
|
|
52
|
+
.notification-title-right-text {
|
|
53
|
+
color: var(--f7-notification-title-right-color);
|
|
54
|
+
font-size: var(--f7-notification-title-right-font-size);
|
|
55
|
+
}
|
|
56
|
+
.notification-icon {
|
|
57
|
+
font-size: 0;
|
|
58
|
+
line-height: var(--f7-notification-icon-size);
|
|
59
|
+
i,
|
|
60
|
+
& {
|
|
61
|
+
width: var(--f7-notification-icon-size) !important;
|
|
62
|
+
height: var(--f7-notification-icon-size) !important;
|
|
63
|
+
}
|
|
64
|
+
i {
|
|
65
|
+
font-size: var(--f7-notification-icon-size);
|
|
66
|
+
}
|
|
67
|
+
img {
|
|
68
|
+
height: var(--f7-notification-icon-size);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.notification-header {
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: flex-start;
|
|
74
|
+
align-items: center;
|
|
75
|
+
}
|
|
76
|
+
.notification-close-button {
|
|
77
|
+
margin-left: auto;
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
position: relative;
|
|
80
|
+
&:after {
|
|
81
|
+
.core-icons-font();
|
|
82
|
+
position: absolute;
|
|
83
|
+
left: 50%;
|
|
84
|
+
top: 50%;
|
|
85
|
+
text-align: center;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.if-ios-theme({
|
|
90
|
+
@import './notification-ios.less';
|
|
91
|
+
});
|
|
92
|
+
.if-md-theme({
|
|
93
|
+
@import './notification-md.less';
|
|
94
|
+
});
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
.ios {
|
|
2
|
+
.rtl({
|
|
3
|
+
.page-previous {
|
|
4
|
+
transform: translate3d(20%, 0, 0);
|
|
5
|
+
}
|
|
6
|
+
.page-next {
|
|
7
|
+
transform: translate3d(-100%, 0, 0);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
.ltr({
|
|
11
|
+
.page-previous {
|
|
12
|
+
transform: translate3d(-20%, 0, 0);
|
|
13
|
+
}
|
|
14
|
+
.page-next {
|
|
15
|
+
transform: translate3d(100%, 0, 0);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
.page-previous {
|
|
19
|
+
.page-opacity-effect {
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
&:after {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.page-current {
|
|
27
|
+
.page-shadow-effect {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.router-transition-forward {
|
|
33
|
+
.page-next {
|
|
34
|
+
animation: ios-page-next-to-current var(--f7-page-transition-duration) forwards;
|
|
35
|
+
&:before {
|
|
36
|
+
// Fake opacity
|
|
37
|
+
.page-fake-shadow();
|
|
38
|
+
animation: ios-page-element-fade-in var(--f7-page-transition-duration) forwards;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.page-current {
|
|
42
|
+
// From current to previous
|
|
43
|
+
animation: ios-page-current-to-previous var(--f7-page-transition-duration) forwards;
|
|
44
|
+
&:after {
|
|
45
|
+
// Fake opacity
|
|
46
|
+
.page-fake-opacity();
|
|
47
|
+
animation: ios-page-element-fade-in var(--f7-page-transition-duration) forwards;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.router-transition-backward {
|
|
52
|
+
.page-previous {
|
|
53
|
+
// From previous to current
|
|
54
|
+
animation: ios-page-previous-to-current var(--f7-page-transition-duration) forwards;
|
|
55
|
+
&:after {
|
|
56
|
+
// Fake opacity
|
|
57
|
+
.page-fake-opacity();
|
|
58
|
+
animation: ios-page-element-fade-out var(--f7-page-transition-duration) forwards;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
.page-current {
|
|
62
|
+
// From current to next
|
|
63
|
+
animation: ios-page-current-to-next var(--f7-page-transition-duration) forwards;
|
|
64
|
+
&:before {
|
|
65
|
+
.page-fake-shadow();
|
|
66
|
+
animation: ios-page-element-fade-out var(--f7-page-transition-duration) forwards;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.ltr({
|
|
72
|
+
@keyframes ios-page-next-to-current {
|
|
73
|
+
from {
|
|
74
|
+
transform: translate3d(100%,0,0);
|
|
75
|
+
}
|
|
76
|
+
to {
|
|
77
|
+
transform: translate3d(0%,0,0);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
@keyframes ios-page-previous-to-current {
|
|
81
|
+
from {
|
|
82
|
+
transform: translate3d(-20%,0,0);
|
|
83
|
+
}
|
|
84
|
+
to {
|
|
85
|
+
transform: translate3d(0%,0,0);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
@keyframes ios-page-current-to-previous {
|
|
89
|
+
from {
|
|
90
|
+
transform: translate3d(0,0,0);
|
|
91
|
+
}
|
|
92
|
+
to {
|
|
93
|
+
transform: translate3d(-20%,0,0);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
@keyframes ios-page-current-to-next {
|
|
97
|
+
from {
|
|
98
|
+
transform: translate3d(0,0,0);
|
|
99
|
+
}
|
|
100
|
+
to {
|
|
101
|
+
transform: translate3d(100%,0,0);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
.rtl({
|
|
106
|
+
@keyframes ios-page-next-to-current {
|
|
107
|
+
from {
|
|
108
|
+
transform: translate3d(-100%,0,0);
|
|
109
|
+
}
|
|
110
|
+
to {
|
|
111
|
+
transform: translate3d(0%,0,0);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
@keyframes ios-page-previous-to-current {
|
|
115
|
+
from {
|
|
116
|
+
transform: translate3d(20%,0,0);
|
|
117
|
+
}
|
|
118
|
+
to {
|
|
119
|
+
transform: translate3d(0%,0,0);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
@keyframes ios-page-current-to-previous {
|
|
123
|
+
from {
|
|
124
|
+
transform: translate3d(0,0,0);
|
|
125
|
+
}
|
|
126
|
+
to {
|
|
127
|
+
transform: translate3d(20%,0,0);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
@keyframes ios-page-current-to-next {
|
|
131
|
+
from {
|
|
132
|
+
transform: translate3d(0,0,0);
|
|
133
|
+
}
|
|
134
|
+
to {
|
|
135
|
+
transform: translate3d(-100%,0,0);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
@keyframes ios-page-element-fade-in {
|
|
140
|
+
from {
|
|
141
|
+
opacity: 0;
|
|
142
|
+
}
|
|
143
|
+
to {
|
|
144
|
+
opacity: 1;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
@keyframes ios-page-element-fade-out {
|
|
148
|
+
from {
|
|
149
|
+
opacity: 1;
|
|
150
|
+
}
|
|
151
|
+
to {
|
|
152
|
+
opacity: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.md {
|
|
2
|
+
.page-previous {
|
|
3
|
+
transform: translate3d(0, -20px, 0);
|
|
4
|
+
}
|
|
5
|
+
.page-next {
|
|
6
|
+
pointer-events: none;
|
|
7
|
+
transform: translate3d(0, 128px, 0);
|
|
8
|
+
opacity: 0;
|
|
9
|
+
&.page-next-on-right {
|
|
10
|
+
.ltr({
|
|
11
|
+
transform: translate3d(100%, 0, 0);
|
|
12
|
+
opacity: 1;
|
|
13
|
+
});
|
|
14
|
+
.rtl({
|
|
15
|
+
transform: translate3d(-100%, 0, 0);
|
|
16
|
+
opacity: 1;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
// Animations
|
|
21
|
+
.router-transition-forward {
|
|
22
|
+
.page-next {
|
|
23
|
+
opacity: 1;
|
|
24
|
+
animation: md-page-next-to-current var(--f7-page-transition-duration) forwards
|
|
25
|
+
cubic-bezier(0, 0.8, 0.3, 1);
|
|
26
|
+
}
|
|
27
|
+
.page-current {
|
|
28
|
+
animation: md-page-current-to-previous var(--f7-page-transition-duration) forwards
|
|
29
|
+
cubic-bezier(0, 0.8, 0.3, 1);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.router-transition-backward {
|
|
33
|
+
.page-current {
|
|
34
|
+
animation:
|
|
35
|
+
md-page-current-to-next calc(var(--f7-page-transition-duration) / 4) forwards
|
|
36
|
+
cubic-bezier(0.8, 0, 1, 0.3),
|
|
37
|
+
md-page-current-to-next-opacity 0ms calc(var(--f7-page-transition-duration) / 4) forwards;
|
|
38
|
+
}
|
|
39
|
+
.page-previous {
|
|
40
|
+
animation: md-page-previous-to-current var(--f7-page-transition-duration) forwards;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@keyframes md-page-next-to-current {
|
|
45
|
+
from {
|
|
46
|
+
transform: translate3d(0, 128px, 0);
|
|
47
|
+
}
|
|
48
|
+
to {
|
|
49
|
+
transform: translate3d(0, 0px, 0);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
@keyframes md-page-current-to-next {
|
|
53
|
+
from {
|
|
54
|
+
transform: translate3d(0, 0, 0);
|
|
55
|
+
}
|
|
56
|
+
to {
|
|
57
|
+
transform: translate3d(0, 128px, 0);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
@keyframes md-page-current-to-next-opacity {
|
|
61
|
+
from {
|
|
62
|
+
opacity: 1;
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
opacity: 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
@keyframes md-page-current-to-previous {
|
|
69
|
+
from {
|
|
70
|
+
transform: translate3d(0, 0, 0);
|
|
71
|
+
}
|
|
72
|
+
to {
|
|
73
|
+
transform: translate3d(0, -20px, 0);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
@keyframes md-page-previous-to-current {
|
|
77
|
+
from {
|
|
78
|
+
transform: translate3d(0, -20px, 0);
|
|
79
|
+
}
|
|
80
|
+
to {
|
|
81
|
+
transform: translate3d(0, 0px, 0);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
// f7-circle
|
|
2
|
+
.router-transition-f7-circle-forward,
|
|
3
|
+
.router-transition-f7-circle-backward {
|
|
4
|
+
&:after {
|
|
5
|
+
content: '';
|
|
6
|
+
position: absolute;
|
|
7
|
+
left: 50%;
|
|
8
|
+
top: 50%;
|
|
9
|
+
width: 100vmax;
|
|
10
|
+
height: 100vmax;
|
|
11
|
+
margin-left: -50vmax;
|
|
12
|
+
margin-top: -50vmax;
|
|
13
|
+
background: var(--f7-page-bg-color);
|
|
14
|
+
z-index: 100;
|
|
15
|
+
}
|
|
16
|
+
.page {
|
|
17
|
+
pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.router-transition-f7-circle-forward {
|
|
21
|
+
&:after {
|
|
22
|
+
transform: scale(0);
|
|
23
|
+
border-radius: 50%;
|
|
24
|
+
animation: f7-circle-circle-in 400ms forwards;
|
|
25
|
+
}
|
|
26
|
+
.ios &,
|
|
27
|
+
.md & {
|
|
28
|
+
.page-next {
|
|
29
|
+
opacity: 0;
|
|
30
|
+
transform: scale(0.9);
|
|
31
|
+
animation: f7-circle-next-to-current 300ms forwards;
|
|
32
|
+
animation-delay: 300ms;
|
|
33
|
+
z-index: 150;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
.router-transition-f7-circle-backward {
|
|
38
|
+
&:after {
|
|
39
|
+
animation: f7-circle-circle-out 300ms forwards;
|
|
40
|
+
animation-delay: 350ms;
|
|
41
|
+
}
|
|
42
|
+
.ios &,
|
|
43
|
+
.md & {
|
|
44
|
+
.page-current {
|
|
45
|
+
animation: f7-circle-current-to-next 700ms forwards;
|
|
46
|
+
z-index: 150;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@keyframes f7-circle-circle-in {
|
|
51
|
+
from {
|
|
52
|
+
transform: scale(0);
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
}
|
|
55
|
+
50% {
|
|
56
|
+
border-radius: 50%;
|
|
57
|
+
}
|
|
58
|
+
to {
|
|
59
|
+
transform: scale(1);
|
|
60
|
+
border-radius: 0%;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
@keyframes f7-circle-circle-out {
|
|
64
|
+
from {
|
|
65
|
+
transform: scale(1);
|
|
66
|
+
border-radius: 0%;
|
|
67
|
+
}
|
|
68
|
+
50% {
|
|
69
|
+
border-radius: 50%;
|
|
70
|
+
}
|
|
71
|
+
to {
|
|
72
|
+
transform: scale(0);
|
|
73
|
+
border-radius: 50%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
@keyframes f7-circle-next-to-current {
|
|
77
|
+
from {
|
|
78
|
+
transform: scale(0.9);
|
|
79
|
+
opacity: 0;
|
|
80
|
+
}
|
|
81
|
+
40% {
|
|
82
|
+
transform: scale(1.035);
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
85
|
+
to {
|
|
86
|
+
transform: scale(1);
|
|
87
|
+
opacity: 1;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
@keyframes f7-circle-current-to-next {
|
|
91
|
+
from {
|
|
92
|
+
transform: scale(1);
|
|
93
|
+
opacity: 1;
|
|
94
|
+
}
|
|
95
|
+
34% {
|
|
96
|
+
transform: scale(1.035);
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
57% {
|
|
100
|
+
transform: scale(0.9);
|
|
101
|
+
opacity: 0;
|
|
102
|
+
}
|
|
103
|
+
to {
|
|
104
|
+
transform: scale(0.9);
|
|
105
|
+
opacity: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|