@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,349 @@
|
|
|
1
|
+
/* eslint-disable no-underscore-dangle */
|
|
2
|
+
|
|
3
|
+
import { getWindow, getDocument } from 'ssr-window';
|
|
4
|
+
import { extend, nextFrame } from '../../shared/utils.js';
|
|
5
|
+
import { getDevice } from '../../shared/get-device.js';
|
|
6
|
+
import { getSupport } from '../../shared/get-support.js';
|
|
7
|
+
import Framework7Class from '../../shared/class.js';
|
|
8
|
+
import EventsClass from '../../shared/events-class.js';
|
|
9
|
+
import ConstructorMethods from '../../shared/constructor-methods.js';
|
|
10
|
+
import ModalMethods from '../../shared/modal-methods.js';
|
|
11
|
+
import $ from '../../shared/dom7.js';
|
|
12
|
+
import loadModule from './load-module.js';
|
|
13
|
+
import $jsx from '../../shared/$jsx.js';
|
|
14
|
+
class Framework7 extends Framework7Class {
|
|
15
|
+
constructor(params) {
|
|
16
|
+
if (params === void 0) {
|
|
17
|
+
params = {};
|
|
18
|
+
}
|
|
19
|
+
super(params);
|
|
20
|
+
// eslint-disable-next-line
|
|
21
|
+
if (Framework7.instance && typeof window !== 'undefined') {
|
|
22
|
+
throw new Error("Framework7 is already initialized and can't be initialized more than once");
|
|
23
|
+
}
|
|
24
|
+
const device = getDevice({
|
|
25
|
+
userAgent: params.userAgent || undefined
|
|
26
|
+
});
|
|
27
|
+
const support = getSupport();
|
|
28
|
+
const passedParams = extend({}, params);
|
|
29
|
+
|
|
30
|
+
// App Instance
|
|
31
|
+
const app = this;
|
|
32
|
+
app.device = device;
|
|
33
|
+
app.support = support;
|
|
34
|
+
const w = getWindow();
|
|
35
|
+
const d = getDocument();
|
|
36
|
+
Framework7.instance = app;
|
|
37
|
+
|
|
38
|
+
// Default
|
|
39
|
+
const defaults = {
|
|
40
|
+
el: 'body',
|
|
41
|
+
theme: 'auto',
|
|
42
|
+
routes: [],
|
|
43
|
+
name: 'Framework7',
|
|
44
|
+
lazyModulesPath: null,
|
|
45
|
+
initOnDeviceReady: true,
|
|
46
|
+
init: true,
|
|
47
|
+
darkMode: undefined,
|
|
48
|
+
iosTranslucentBars: true,
|
|
49
|
+
iosTranslucentModals: true,
|
|
50
|
+
component: undefined,
|
|
51
|
+
componentUrl: undefined,
|
|
52
|
+
userAgent: null,
|
|
53
|
+
url: null,
|
|
54
|
+
colors: {
|
|
55
|
+
primary: '#007aff',
|
|
56
|
+
red: '#ff3b30',
|
|
57
|
+
green: '#4cd964',
|
|
58
|
+
blue: '#2196f3',
|
|
59
|
+
pink: '#ff2d55',
|
|
60
|
+
yellow: '#ffcc00',
|
|
61
|
+
orange: '#ff9500',
|
|
62
|
+
purple: '#9c27b0',
|
|
63
|
+
deeppurple: '#673ab7',
|
|
64
|
+
lightblue: '#5ac8fa',
|
|
65
|
+
teal: '#009688',
|
|
66
|
+
lime: '#cddc39',
|
|
67
|
+
deeporange: '#ff6b22',
|
|
68
|
+
white: '#ffffff',
|
|
69
|
+
black: '#000000'
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
// Extend defaults with modules params
|
|
74
|
+
app.useModulesParams(defaults);
|
|
75
|
+
|
|
76
|
+
// Extend defaults with passed params
|
|
77
|
+
app.params = extend(defaults, params);
|
|
78
|
+
extend(app, {
|
|
79
|
+
// App Name
|
|
80
|
+
name: app.params.name,
|
|
81
|
+
// Routes
|
|
82
|
+
routes: app.params.routes,
|
|
83
|
+
// Theme
|
|
84
|
+
theme: function getTheme() {
|
|
85
|
+
if (app.params.theme === 'auto') {
|
|
86
|
+
if (device.ios) return 'ios';
|
|
87
|
+
return 'md';
|
|
88
|
+
}
|
|
89
|
+
return app.params.theme;
|
|
90
|
+
}(),
|
|
91
|
+
// Initially passed parameters
|
|
92
|
+
passedParams,
|
|
93
|
+
online: w.navigator.onLine,
|
|
94
|
+
colors: app.params.colors,
|
|
95
|
+
darkMode: app.params.darkMode
|
|
96
|
+
});
|
|
97
|
+
if (params.store) app.params.store = params.store;
|
|
98
|
+
|
|
99
|
+
// Save Root
|
|
100
|
+
if (app.$el && app.$el[0]) {
|
|
101
|
+
app.$el[0].f7 = app;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Install Modules
|
|
105
|
+
app.useModules();
|
|
106
|
+
|
|
107
|
+
// Init Store
|
|
108
|
+
app.initStore();
|
|
109
|
+
|
|
110
|
+
// Init
|
|
111
|
+
if (app.params.init) {
|
|
112
|
+
if (device.cordova && app.params.initOnDeviceReady) {
|
|
113
|
+
$(d).on('deviceready', () => {
|
|
114
|
+
app.init();
|
|
115
|
+
});
|
|
116
|
+
} else {
|
|
117
|
+
app.init();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Return app instance
|
|
122
|
+
return app;
|
|
123
|
+
}
|
|
124
|
+
setColorTheme(color) {
|
|
125
|
+
if (!color) return;
|
|
126
|
+
const app = this;
|
|
127
|
+
app.colors.primary = color;
|
|
128
|
+
app.setColors();
|
|
129
|
+
}
|
|
130
|
+
setColors() {
|
|
131
|
+
const app = this;
|
|
132
|
+
const document = getDocument();
|
|
133
|
+
if (!app.colorsStyleEl) {
|
|
134
|
+
app.colorsStyleEl = document.createElement('style');
|
|
135
|
+
document.head.prepend(app.colorsStyleEl);
|
|
136
|
+
}
|
|
137
|
+
app.colorsStyleEl.textContent = app.utils.colorThemeCSSStyles(app.colors);
|
|
138
|
+
}
|
|
139
|
+
mount(rootEl) {
|
|
140
|
+
const app = this;
|
|
141
|
+
const window = getWindow();
|
|
142
|
+
const document = getDocument();
|
|
143
|
+
const $rootEl = $(rootEl || app.params.el).eq(0);
|
|
144
|
+
app.$el = $rootEl;
|
|
145
|
+
if (app.$el && app.$el[0]) {
|
|
146
|
+
app.el = app.$el[0];
|
|
147
|
+
app.el.f7 = app;
|
|
148
|
+
app.rtl = $rootEl.css('direction') === 'rtl';
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Auto Dark Mode
|
|
152
|
+
const DARK = '(prefers-color-scheme: dark)';
|
|
153
|
+
const LIGHT = '(prefers-color-scheme: light)';
|
|
154
|
+
app.mq = {};
|
|
155
|
+
if (window.matchMedia) {
|
|
156
|
+
app.mq.dark = window.matchMedia(DARK);
|
|
157
|
+
app.mq.light = window.matchMedia(LIGHT);
|
|
158
|
+
}
|
|
159
|
+
app.colorSchemeListener = function colorSchemeListener(_ref) {
|
|
160
|
+
let {
|
|
161
|
+
matches,
|
|
162
|
+
media
|
|
163
|
+
} = _ref;
|
|
164
|
+
if (!matches) {
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
const html = document.querySelector('html');
|
|
168
|
+
if (media === DARK) {
|
|
169
|
+
html.classList.add('dark');
|
|
170
|
+
app.darkMode = true;
|
|
171
|
+
app.emit('darkModeChange', true);
|
|
172
|
+
} else if (media === LIGHT) {
|
|
173
|
+
html.classList.remove('dark');
|
|
174
|
+
app.darkMode = false;
|
|
175
|
+
app.emit('darkModeChange', false);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
app.emit('mount');
|
|
179
|
+
}
|
|
180
|
+
initStore() {
|
|
181
|
+
const app = this;
|
|
182
|
+
if (typeof app.params.store !== 'undefined' && app.params.store.__store) {
|
|
183
|
+
app.store = app.params.store;
|
|
184
|
+
} else {
|
|
185
|
+
app.store = app.createStore(app.params.store);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
enableAutoDarkMode() {
|
|
189
|
+
const window = getWindow();
|
|
190
|
+
const document = getDocument();
|
|
191
|
+
if (!window.matchMedia) return;
|
|
192
|
+
const app = this;
|
|
193
|
+
const html = document.querySelector('html');
|
|
194
|
+
if (app.mq.dark && app.mq.light) {
|
|
195
|
+
app.mq.dark.addEventListener('change', app.colorSchemeListener);
|
|
196
|
+
app.mq.light.addEventListener('change', app.colorSchemeListener);
|
|
197
|
+
}
|
|
198
|
+
if (app.mq.dark && app.mq.dark.matches) {
|
|
199
|
+
html.classList.add('dark');
|
|
200
|
+
app.darkMode = true;
|
|
201
|
+
app.emit('darkModeChange', true);
|
|
202
|
+
} else if (app.mq.light && app.mq.light.matches) {
|
|
203
|
+
html.classList.remove('dark');
|
|
204
|
+
app.darkMode = false;
|
|
205
|
+
app.emit('darkModeChange', false);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
disableAutoDarkMode() {
|
|
209
|
+
const window = getWindow();
|
|
210
|
+
if (!window.matchMedia) return;
|
|
211
|
+
const app = this;
|
|
212
|
+
if (app.mq.dark) app.mq.dark.removeEventListener('change', app.colorSchemeListener);
|
|
213
|
+
if (app.mq.light) app.mq.light.removeEventListener('change', app.colorSchemeListener);
|
|
214
|
+
}
|
|
215
|
+
setDarkMode(mode) {
|
|
216
|
+
const app = this;
|
|
217
|
+
if (mode === 'auto') {
|
|
218
|
+
app.enableAutoDarkMode();
|
|
219
|
+
} else {
|
|
220
|
+
app.disableAutoDarkMode();
|
|
221
|
+
$('html')[mode ? 'addClass' : 'removeClass']('dark');
|
|
222
|
+
app.darkMode = mode;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
initAppComponent(callback) {
|
|
226
|
+
const app = this;
|
|
227
|
+
app.router.componentLoader(app.params.component, app.params.componentUrl, {
|
|
228
|
+
componentOptions: {
|
|
229
|
+
el: app.$el[0]
|
|
230
|
+
}
|
|
231
|
+
}, el => {
|
|
232
|
+
app.$el = $(el);
|
|
233
|
+
app.$el[0].f7 = app;
|
|
234
|
+
app.$elComponent = el.f7Component;
|
|
235
|
+
app.el = app.$el[0];
|
|
236
|
+
if (callback) callback();
|
|
237
|
+
}, () => {});
|
|
238
|
+
}
|
|
239
|
+
init(rootEl) {
|
|
240
|
+
const app = this;
|
|
241
|
+
app.setColors();
|
|
242
|
+
app.mount(rootEl);
|
|
243
|
+
const init = () => {
|
|
244
|
+
if (app.initialized) return;
|
|
245
|
+
app.$el.addClass('framework7-initializing');
|
|
246
|
+
|
|
247
|
+
// RTL attr
|
|
248
|
+
if (app.rtl) {
|
|
249
|
+
$('html').attr('dir', 'rtl');
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
// Auto Dark Mode
|
|
253
|
+
if (typeof app.params.darkMode === 'undefined') {
|
|
254
|
+
app.darkMode = $('html').hasClass('dark');
|
|
255
|
+
} else {
|
|
256
|
+
app.setDarkMode(app.params.darkMode);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// Watch for online/offline state
|
|
260
|
+
const window = getWindow();
|
|
261
|
+
window.addEventListener('offline', () => {
|
|
262
|
+
app.online = false;
|
|
263
|
+
app.emit('offline');
|
|
264
|
+
app.emit('connection', false);
|
|
265
|
+
});
|
|
266
|
+
window.addEventListener('online', () => {
|
|
267
|
+
app.online = true;
|
|
268
|
+
app.emit('online');
|
|
269
|
+
app.emit('connection', true);
|
|
270
|
+
});
|
|
271
|
+
|
|
272
|
+
// Root class
|
|
273
|
+
app.$el.addClass('framework7-root');
|
|
274
|
+
|
|
275
|
+
// Theme class
|
|
276
|
+
$('html').removeClass('ios md').addClass(app.theme);
|
|
277
|
+
|
|
278
|
+
// iOS Translucent
|
|
279
|
+
if (app.params.iosTranslucentBars && app.theme === 'ios') {
|
|
280
|
+
$('html').addClass('ios-translucent-bars');
|
|
281
|
+
}
|
|
282
|
+
if (app.params.iosTranslucentModals && app.theme === 'ios') {
|
|
283
|
+
$('html').addClass('ios-translucent-modals');
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
// Init class
|
|
287
|
+
nextFrame(() => {
|
|
288
|
+
app.$el.removeClass('framework7-initializing');
|
|
289
|
+
});
|
|
290
|
+
// Emit, init other modules
|
|
291
|
+
app.initialized = true;
|
|
292
|
+
app.emit('init');
|
|
293
|
+
};
|
|
294
|
+
if (app.params.component || app.params.componentUrl) {
|
|
295
|
+
app.initAppComponent(() => {
|
|
296
|
+
init();
|
|
297
|
+
});
|
|
298
|
+
} else {
|
|
299
|
+
init();
|
|
300
|
+
}
|
|
301
|
+
return app;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// eslint-disable-next-line
|
|
305
|
+
loadModule() {
|
|
306
|
+
return Framework7.loadModule(...arguments);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
// eslint-disable-next-line
|
|
310
|
+
loadModules() {
|
|
311
|
+
return Framework7.loadModules(...arguments);
|
|
312
|
+
}
|
|
313
|
+
getVnodeHooks(hook, id) {
|
|
314
|
+
const app = this;
|
|
315
|
+
if (!app.vnodeHooks || !app.vnodeHooks[hook]) return [];
|
|
316
|
+
return app.vnodeHooks[hook][id] || [];
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
// eslint-disable-next-line
|
|
320
|
+
get $() {
|
|
321
|
+
return $;
|
|
322
|
+
}
|
|
323
|
+
static get Dom7() {
|
|
324
|
+
return $;
|
|
325
|
+
}
|
|
326
|
+
static get $() {
|
|
327
|
+
return $;
|
|
328
|
+
}
|
|
329
|
+
static get device() {
|
|
330
|
+
return getDevice();
|
|
331
|
+
}
|
|
332
|
+
static get support() {
|
|
333
|
+
return getSupport();
|
|
334
|
+
}
|
|
335
|
+
static get Class() {
|
|
336
|
+
return Framework7Class;
|
|
337
|
+
}
|
|
338
|
+
static get Events() {
|
|
339
|
+
return EventsClass;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
Framework7.$jsx = $jsx;
|
|
343
|
+
Framework7.ModalMethods = ModalMethods;
|
|
344
|
+
Framework7.ConstructorMethods = ConstructorMethods;
|
|
345
|
+
Framework7.loadModule = loadModule;
|
|
346
|
+
Framework7.loadModules = function loadModules(modules) {
|
|
347
|
+
return Promise.all(modules.map(module => Framework7.loadModule(module)));
|
|
348
|
+
};
|
|
349
|
+
export default Framework7;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.ios {
|
|
2
|
+
.md-only,
|
|
3
|
+
.if-md,
|
|
4
|
+
.if-not-ios,
|
|
5
|
+
.not-ios {
|
|
6
|
+
display: none !important;
|
|
7
|
+
}
|
|
8
|
+
// Fix for iPad in Safari in Lanscape mode
|
|
9
|
+
@media (width: 1024px) and (height: 691px) and (orientation: landscape) {
|
|
10
|
+
&,
|
|
11
|
+
& body,
|
|
12
|
+
& .framework7-root {
|
|
13
|
+
height: 671px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
@media (width: 1024px) and (height: 692px) and (orientation: landscape) {
|
|
17
|
+
&,
|
|
18
|
+
& body,
|
|
19
|
+
& .framework7-root {
|
|
20
|
+
height: 672px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/*====================
|
|
2
|
+
Core
|
|
3
|
+
==================== */
|
|
4
|
+
:root {
|
|
5
|
+
--f7-safe-area-left: 0px;
|
|
6
|
+
--f7-safe-area-right: 0px;
|
|
7
|
+
--f7-safe-area-top: 0px;
|
|
8
|
+
--f7-safe-area-bottom: 0px;
|
|
9
|
+
|
|
10
|
+
--f7-safe-area-outer-left: 0px;
|
|
11
|
+
--f7-safe-area-outer-right: 0px;
|
|
12
|
+
|
|
13
|
+
@supports (left: env(safe-area-inset-left)) {
|
|
14
|
+
--f7-safe-area-top: env(safe-area-inset-top);
|
|
15
|
+
--f7-safe-area-bottom: env(safe-area-inset-bottom);
|
|
16
|
+
.ios-left-edge,
|
|
17
|
+
.ios-edges,
|
|
18
|
+
.safe-area-left,
|
|
19
|
+
.safe-areas,
|
|
20
|
+
.popup,
|
|
21
|
+
.sheet-modal,
|
|
22
|
+
.panel-left {
|
|
23
|
+
--f7-safe-area-left: env(safe-area-inset-left);
|
|
24
|
+
--f7-safe-area-outer-left: env(safe-area-inset-left);
|
|
25
|
+
}
|
|
26
|
+
.ios-right-edge,
|
|
27
|
+
.ios-edges,
|
|
28
|
+
.safe-area-right,
|
|
29
|
+
.safe-areas,
|
|
30
|
+
.popup,
|
|
31
|
+
.sheet-modal,
|
|
32
|
+
.panel-right {
|
|
33
|
+
--f7-safe-area-right: env(safe-area-inset-right);
|
|
34
|
+
--f7-safe-area-outer-right: env(safe-area-inset-right);
|
|
35
|
+
}
|
|
36
|
+
.no-safe-areas,
|
|
37
|
+
.no-safe-area-left,
|
|
38
|
+
.no-ios-edges,
|
|
39
|
+
.no-ios-left-edge {
|
|
40
|
+
--f7-safe-area-left: 0px;
|
|
41
|
+
--f7-safe-area-outer-left: 0px;
|
|
42
|
+
}
|
|
43
|
+
.no-safe-areas,
|
|
44
|
+
.no-safe-area-right,
|
|
45
|
+
.no-ios-edges,
|
|
46
|
+
.no-ios-right-edge {
|
|
47
|
+
--f7-safe-area-right: 0px;
|
|
48
|
+
--f7-safe-area-outer-right: 0px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
--f7-device-pixel-ratio: 1;
|
|
53
|
+
@media (min-resolution: 2dppx) {
|
|
54
|
+
--f7-device-pixel-ratio: 2;
|
|
55
|
+
}
|
|
56
|
+
@media (min-resolution: 3dppx) {
|
|
57
|
+
--f7-device-pixel-ratio: 3;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/*====================
|
|
61
|
+
Fonts & Bars
|
|
62
|
+
==================== */
|
|
63
|
+
:root {
|
|
64
|
+
--f7-font-size: 14px;
|
|
65
|
+
|
|
66
|
+
--f7-bars-translucent-opacity: 0.8;
|
|
67
|
+
--f7-bars-translucent-blur: 20px;
|
|
68
|
+
}
|
|
69
|
+
.ios-vars({
|
|
70
|
+
--f7-font-family: -apple-system, SF Pro Text, SF UI Text, system-ui, Helvetica Neue, Helvetica, Arial, sans-serif;
|
|
71
|
+
--f7-line-height: 1.4;
|
|
72
|
+
/*
|
|
73
|
+
--f7-bars-link-color: var(--f7-theme-color);
|
|
74
|
+
*/
|
|
75
|
+
.light-vars({
|
|
76
|
+
--f7-bars-text-color: #000;
|
|
77
|
+
--f7-text-color: #000;
|
|
78
|
+
--f7-bars-bg-color: #f7f7f8;
|
|
79
|
+
--f7-bars-bg-color-rgb: 247, 247, 248;
|
|
80
|
+
--f7-bars-border-color: rgba(0,0,0,0.25);
|
|
81
|
+
});
|
|
82
|
+
.dark-vars({
|
|
83
|
+
--f7-bars-text-color: #fff;
|
|
84
|
+
--f7-text-color: #fff;
|
|
85
|
+
--f7-bars-bg-color: #121212;
|
|
86
|
+
--f7-bars-bg-color-rgb: 22, 22, 22;
|
|
87
|
+
--f7-bars-border-color: rgba(255,255,255,0.16);
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
.md-vars({
|
|
91
|
+
--f7-font-family: Roboto, system-ui, Noto, Helvetica, Arial, sans-serif;
|
|
92
|
+
--f7-line-height: 1.5;
|
|
93
|
+
--f7-bars-border-color: transparent;
|
|
94
|
+
|
|
95
|
+
.light-vars({
|
|
96
|
+
--f7-text-color: #212121;
|
|
97
|
+
});
|
|
98
|
+
.dark-vars({
|
|
99
|
+
--f7-text-color: rgba(255,255,255,0.87);
|
|
100
|
+
});
|
|
101
|
+
});
|
|
102
|
+
.md-color-vars({
|
|
103
|
+
--f7-bars-link-color: var(--f7-md-on-surface);
|
|
104
|
+
--f7-bars-bg-color: var(--f7-md-surface-2);
|
|
105
|
+
--f7-bars-bg-color-rgb: var(--f7-md-surface-2-rgb);
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
/*====================
|
|
109
|
+
Color Themes
|
|
110
|
+
==================== */
|
|
111
|
+
.text-color-primary {
|
|
112
|
+
--f7-theme-color-text-color: var(--f7-theme-color);
|
|
113
|
+
}
|
|
114
|
+
.bg-color-primary {
|
|
115
|
+
--f7-theme-color-bg-color: var(--f7-theme-color);
|
|
116
|
+
}
|
|
117
|
+
.border-color-primary {
|
|
118
|
+
--f7-theme-color-border-color: var(--f7-theme-color);
|
|
119
|
+
}
|
|
120
|
+
.ripple-color-primary {
|
|
121
|
+
--f7-theme-color-ripple-color: rgba(var(--f7-theme-color-rgb), 0.3);
|
|
122
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
@import './app-vars.less';
|
|
2
|
+
// Core Icons
|
|
3
|
+
@font-face {
|
|
4
|
+
@fontBase64: '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';
|
|
5
|
+
font-family: 'framework7-core-icons';
|
|
6
|
+
src: url('data:application/font-woff;charset=utf-8;base64, @{fontBase64}') format('woff');
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
10
|
+
html {
|
|
11
|
+
overscroll-behavior: none;
|
|
12
|
+
}
|
|
13
|
+
.rtl({
|
|
14
|
+
html {
|
|
15
|
+
direction: rtl;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
html,
|
|
19
|
+
body,
|
|
20
|
+
.framework7-root {
|
|
21
|
+
position: relative;
|
|
22
|
+
height: 100%;
|
|
23
|
+
width: 100%;
|
|
24
|
+
overflow-x: hidden;
|
|
25
|
+
}
|
|
26
|
+
body {
|
|
27
|
+
margin: 0;
|
|
28
|
+
padding: 0;
|
|
29
|
+
width: 100%;
|
|
30
|
+
background: #fff;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
overflow-y: scroll;
|
|
33
|
+
-webkit-text-size-adjust: 100%;
|
|
34
|
+
-webkit-font-smoothing: antialiased;
|
|
35
|
+
font-family: var(--f7-font-family);
|
|
36
|
+
font-size: var(--f7-font-size);
|
|
37
|
+
line-height: var(--f7-line-height);
|
|
38
|
+
color: var(--f7-text-color);
|
|
39
|
+
.no-scrollbar();
|
|
40
|
+
}
|
|
41
|
+
.dark body,
|
|
42
|
+
body.dark {
|
|
43
|
+
background: #000;
|
|
44
|
+
}
|
|
45
|
+
.dark {
|
|
46
|
+
color: var(--f7-text-color);
|
|
47
|
+
}
|
|
48
|
+
.framework7-root {
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
box-sizing: border-box;
|
|
51
|
+
}
|
|
52
|
+
.framework7-initializing * {
|
|
53
|
+
&,
|
|
54
|
+
&:before,
|
|
55
|
+
&:after {
|
|
56
|
+
transition-duration: 0ms !important;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
.device-ios,
|
|
60
|
+
.device-android {
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
}
|
|
63
|
+
.device-ios {
|
|
64
|
+
touch-action: manipulation;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Fix for iPad in Safari in Lanscape mode
|
|
68
|
+
@media (width: 1024px) and (height: 691px) and (orientation: landscape) {
|
|
69
|
+
html,
|
|
70
|
+
body,
|
|
71
|
+
.framework7-root {
|
|
72
|
+
height: 671px;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
@media (width: 1024px) and (height: 692px) and (orientation: landscape) {
|
|
76
|
+
html,
|
|
77
|
+
body,
|
|
78
|
+
.framework7-root {
|
|
79
|
+
height: 672px;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
* {
|
|
83
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
84
|
+
-webkit-touch-callout: none;
|
|
85
|
+
}
|
|
86
|
+
a,
|
|
87
|
+
input,
|
|
88
|
+
textarea,
|
|
89
|
+
select {
|
|
90
|
+
outline: 0;
|
|
91
|
+
}
|
|
92
|
+
a {
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
text-decoration: none;
|
|
95
|
+
color: var(--f7-theme-color);
|
|
96
|
+
}
|
|
97
|
+
.link,
|
|
98
|
+
.item-link {
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
p {
|
|
102
|
+
margin: 1em 0;
|
|
103
|
+
}
|
|
104
|
+
// Disabled
|
|
105
|
+
.disabled {
|
|
106
|
+
.disabled() !important;
|
|
107
|
+
}
|
|
108
|
+
// Full viewport
|
|
109
|
+
html.device-full-viewport {
|
|
110
|
+
&,
|
|
111
|
+
& body {
|
|
112
|
+
height: 100vh;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.if-ios-theme({
|
|
117
|
+
@import './app-ios.less';
|
|
118
|
+
});
|
|
119
|
+
.if-md-theme({
|
|
120
|
+
@import './app-md.less';
|
|
121
|
+
});
|