framework7-svelte 6.3.5 → 7.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{accordion-content/accordion-content.d.ts → accordion-content.d.ts} +0 -0
- package/{esm/svelte → components}/accordion-content.svelte +0 -0
- package/components/{accordion-item/accordion-item.d.ts → accordion-item.d.ts} +0 -0
- package/{esm/svelte → components}/accordion-item.svelte +0 -0
- package/components/{accordion-toggle/accordion-toggle.d.ts → accordion-toggle.d.ts} +0 -0
- package/{esm/svelte → components}/accordion-toggle.svelte +0 -0
- package/components/{accordion/accordion.d.ts → accordion.d.ts} +0 -0
- package/{esm/svelte → components}/accordion.svelte +0 -0
- package/components/{actions-button/actions-button.d.ts → actions-button.d.ts} +0 -0
- package/{esm/svelte → components}/actions-button.svelte +0 -0
- package/components/{actions-group/actions-group.d.ts → actions-group.d.ts} +0 -0
- package/{esm/svelte → components}/actions-group.svelte +0 -0
- package/components/{actions-label/actions-label.d.ts → actions-label.d.ts} +0 -0
- package/{esm/svelte → components}/actions-label.svelte +0 -0
- package/components/{actions/actions.d.ts → actions.d.ts} +0 -0
- package/{esm/svelte → components}/actions.svelte +0 -0
- package/components/{app/app.d.ts → app.d.ts} +0 -0
- package/{esm/svelte → components}/app.svelte +0 -0
- package/components/{appbar/appbar.d.ts → appbar.d.ts} +0 -0
- package/{esm/svelte → components}/appbar.svelte +0 -0
- package/components/{area-chart/area-chart.d.ts → area-chart.d.ts} +0 -0
- package/{esm/svelte → components}/area-chart.svelte +0 -0
- package/components/{badge/badge.d.ts → badge.d.ts} +0 -0
- package/{esm/svelte → components}/badge.svelte +0 -0
- package/components/{block-footer/block-footer.d.ts → block-footer.d.ts} +0 -0
- package/{esm/svelte → components}/block-footer.svelte +0 -0
- package/components/{block-header/block-header.d.ts → block-header.d.ts} +0 -0
- package/{esm/svelte → components}/block-header.svelte +0 -0
- package/components/{block-title/block-title.d.ts → block-title.d.ts} +0 -0
- package/{esm/svelte → components}/block-title.svelte +0 -0
- package/components/{block/block.d.ts → block.d.ts} +0 -0
- package/{esm/svelte → components}/block.svelte +0 -0
- package/components/{button/button.d.ts → button.d.ts} +0 -0
- package/{esm/svelte → components}/button.svelte +0 -1
- package/components/{card-content/card-content.d.ts → card-content.d.ts} +0 -0
- package/{esm/svelte → components}/card-content.svelte +0 -0
- package/components/{card-footer/card-footer.d.ts → card-footer.d.ts} +0 -0
- package/{esm/svelte → components}/card-footer.svelte +0 -0
- package/components/{card-header/card-header.d.ts → card-header.d.ts} +0 -0
- package/{esm/svelte → components}/card-header.svelte +0 -0
- package/components/{card/card.d.ts → card.d.ts} +0 -0
- package/{esm/svelte → components}/card.svelte +0 -0
- package/components/{checkbox/checkbox.d.ts → checkbox.d.ts} +0 -0
- package/{esm/svelte → components}/checkbox.svelte +0 -0
- package/components/{chip/chip.d.ts → chip.d.ts} +0 -0
- package/{esm/svelte → components}/chip.svelte +0 -0
- package/components/{col/col.d.ts → col.d.ts} +0 -0
- package/{esm/svelte → components}/col.svelte +0 -0
- package/components/{fab-backdrop/fab-backdrop.d.ts → fab-backdrop.d.ts} +0 -0
- package/{esm/svelte → components}/fab-backdrop.svelte +0 -0
- package/components/{fab-button/fab-button.d.ts → fab-button.d.ts} +0 -0
- package/{esm/svelte → components}/fab-button.svelte +0 -0
- package/components/{fab-buttons/fab-buttons.d.ts → fab-buttons.d.ts} +0 -0
- package/{esm/svelte → components}/fab-buttons.svelte +0 -0
- package/components/{fab/fab.d.ts → fab.d.ts} +0 -0
- package/{esm/svelte → components}/fab.svelte +0 -0
- package/components/{gauge/gauge.d.ts → gauge.d.ts} +0 -0
- package/{esm/svelte → components}/gauge.svelte +0 -0
- package/components/{icon/icon.d.ts → icon.d.ts} +0 -0
- package/{esm/svelte → components}/icon.svelte +0 -0
- package/components/{input/input.d.ts → input.d.ts} +0 -0
- package/{esm/svelte → components}/input.svelte +0 -0
- package/components/{link/link.d.ts → link.d.ts} +0 -0
- package/{esm/svelte → components}/link.svelte +0 -0
- package/components/{list-button/list-button.d.ts → list-button.d.ts} +0 -0
- package/{esm/svelte → components}/list-button.svelte +0 -0
- package/components/{list-group/list-group.d.ts → list-group.d.ts} +0 -0
- package/{esm/svelte → components}/list-group.svelte +0 -0
- package/components/{list-index/list-index.d.ts → list-index.d.ts} +0 -0
- package/{esm/svelte → components}/list-index.svelte +0 -0
- package/components/{list-input/list-input.d.ts → list-input.d.ts} +0 -0
- package/{esm/svelte → components}/list-input.svelte +0 -0
- package/components/{list-item-cell/list-item-cell.d.ts → list-item-cell.d.ts} +0 -0
- package/{esm/svelte → components}/list-item-cell.svelte +0 -0
- package/components/{list-item-row/list-item-row.d.ts → list-item-row.d.ts} +0 -0
- package/{esm/svelte → components}/list-item-row.svelte +0 -0
- package/components/{list-item/list-item.d.ts → list-item.d.ts} +0 -0
- package/{esm/svelte → components}/list-item.svelte +0 -0
- package/components/{list/list.d.ts → list.d.ts} +0 -0
- package/{esm/svelte → components}/list.svelte +0 -0
- package/components/{login-screen-title/login-screen-title.d.ts → login-screen-title.d.ts} +0 -0
- package/{esm/svelte → components}/login-screen-title.svelte +0 -0
- package/components/{login-screen/login-screen.d.ts → login-screen.d.ts} +0 -0
- package/{esm/svelte → components}/login-screen.svelte +0 -0
- package/components/{menu-dropdown-item/menu-dropdown-item.d.ts → menu-dropdown-item.d.ts} +0 -0
- package/{esm/svelte → components}/menu-dropdown-item.svelte +0 -0
- package/components/{menu-dropdown/menu-dropdown.d.ts → menu-dropdown.d.ts} +0 -0
- package/{esm/svelte → components}/menu-dropdown.svelte +0 -0
- package/components/{menu-item/menu-item.d.ts → menu-item.d.ts} +0 -0
- package/{esm/svelte → components}/menu-item.svelte +0 -0
- package/components/{menu/menu.d.ts → menu.d.ts} +0 -0
- package/{esm/svelte → components}/menu.svelte +0 -0
- package/components/{message/message.d.ts → message.d.ts} +0 -0
- package/{esm/svelte → components}/message.svelte +0 -0
- package/components/{messagebar-attachment/messagebar-attachment.d.ts → messagebar-attachment.d.ts} +0 -0
- package/{esm/svelte → components}/messagebar-attachment.svelte +0 -0
- package/components/{messagebar-attachments/messagebar-attachments.d.ts → messagebar-attachments.d.ts} +0 -0
- package/{esm/svelte → components}/messagebar-attachments.svelte +0 -0
- package/components/{messagebar-sheet-image/messagebar-sheet-image.d.ts → messagebar-sheet-image.d.ts} +0 -0
- package/{esm/svelte → components}/messagebar-sheet-image.svelte +0 -0
- package/components/{messagebar-sheet-item/messagebar-sheet-item.d.ts → messagebar-sheet-item.d.ts} +0 -0
- package/{esm/svelte → components}/messagebar-sheet-item.svelte +0 -0
- package/components/{messagebar-sheet/messagebar-sheet.d.ts → messagebar-sheet.d.ts} +0 -0
- package/{esm/svelte → components}/messagebar-sheet.svelte +0 -0
- package/components/{messagebar/messagebar.d.ts → messagebar.d.ts} +0 -0
- package/{esm/svelte → components}/messagebar.svelte +0 -0
- package/components/{messages-title/messages-title.d.ts → messages-title.d.ts} +0 -0
- package/{esm/svelte → components}/messages-title.svelte +0 -0
- package/components/{messages/messages.d.ts → messages.d.ts} +0 -0
- package/{esm/svelte → components}/messages.svelte +0 -0
- package/components/{nav-left/nav-left.d.ts → nav-left.d.ts} +0 -0
- package/{esm/svelte → components}/nav-left.svelte +2 -1
- package/components/{nav-right/nav-right.d.ts → nav-right.d.ts} +0 -0
- package/{esm/svelte → components}/nav-right.svelte +0 -0
- package/components/{nav-title-large/nav-title-large.d.ts → nav-title-large.d.ts} +0 -0
- package/{esm/svelte → components}/nav-title-large.svelte +0 -0
- package/components/{nav-title/nav-title.d.ts → nav-title.d.ts} +0 -0
- package/{esm/svelte → components}/nav-title.svelte +0 -0
- package/components/{navbar/navbar.d.ts → navbar.d.ts} +0 -0
- package/{esm/svelte → components}/navbar.svelte +0 -0
- package/components/{page-content/page-content.d.ts → page-content.d.ts} +0 -0
- package/{esm/svelte → components}/page-content.svelte +0 -0
- package/components/{page/page.d.ts → page.d.ts} +0 -0
- package/{esm/svelte → components}/page.svelte +0 -0
- package/components/{panel/panel.d.ts → panel.d.ts} +0 -0
- package/{esm/svelte → components}/panel.svelte +0 -0
- package/components/{photo-browser/photo-browser.d.ts → photo-browser.d.ts} +0 -0
- package/{esm/svelte → components}/photo-browser.svelte +0 -0
- package/components/{pie-chart/pie-chart.d.ts → pie-chart.d.ts} +0 -0
- package/{esm/svelte → components}/pie-chart.svelte +0 -0
- package/components/{popover/popover.d.ts → popover.d.ts} +0 -0
- package/{esm/svelte → components}/popover.svelte +0 -0
- package/components/{popup/popup.d.ts → popup.d.ts} +0 -0
- package/{esm/svelte → components}/popup.svelte +0 -0
- package/components/{preloader/preloader.d.ts → preloader.d.ts} +0 -0
- package/{esm/svelte → components}/preloader.svelte +0 -0
- package/components/{progressbar/progressbar.d.ts → progressbar.d.ts} +0 -0
- package/{esm/svelte → components}/progressbar.svelte +0 -0
- package/components/{radio/radio.d.ts → radio.d.ts} +0 -0
- package/{esm/svelte → components}/radio.svelte +0 -0
- package/components/{range/range.d.ts → range.d.ts} +0 -0
- package/{esm/svelte → components}/range.svelte +0 -0
- package/components/{routable-modals/routable-modals.d.ts → routable-modals.d.ts} +0 -0
- package/{esm/svelte → components}/routable-modals.svelte +0 -0
- package/components/{router-context-provider/router-context-provider.d.ts → router-context-provider.d.ts} +0 -0
- package/{esm/svelte → components}/router-context-provider.svelte +0 -0
- package/components/{row/row.d.ts → row.d.ts} +0 -0
- package/{esm/svelte → components}/row.svelte +0 -0
- package/components/{searchbar/searchbar.d.ts → searchbar.d.ts} +0 -0
- package/{esm/svelte → components}/searchbar.svelte +0 -0
- package/components/{segmented/segmented.d.ts → segmented.d.ts} +0 -0
- package/{esm/svelte → components}/segmented.svelte +0 -0
- package/components/{sheet/sheet.d.ts → sheet.d.ts} +0 -0
- package/{esm/svelte → components}/sheet.svelte +0 -0
- package/components/{skeleton-avatar/skeleton-avatar.d.ts → skeleton-avatar.d.ts} +0 -0
- package/{esm/components → components}/skeleton-avatar.js +0 -0
- package/components/{skeleton-block/skeleton-block.d.ts → skeleton-block.d.ts} +0 -0
- package/{esm/components → components}/skeleton-block.js +0 -0
- package/components/{skeleton-image/skeleton-image.d.ts → skeleton-image.d.ts} +0 -0
- package/{esm/components → components}/skeleton-image.js +0 -0
- package/components/{skeleton-text/skeleton-text.d.ts → skeleton-text.d.ts} +0 -0
- package/{esm/components → components}/skeleton-text.js +0 -0
- package/components/{stepper/stepper.d.ts → stepper.d.ts} +0 -0
- package/{esm/svelte → components}/stepper.svelte +0 -0
- package/components/{subnavbar/subnavbar.d.ts → subnavbar.d.ts} +0 -0
- package/{esm/svelte → components}/subnavbar.svelte +0 -0
- package/components/{swipeout-actions/swipeout-actions.d.ts → swipeout-actions.d.ts} +0 -0
- package/{esm/svelte → components}/swipeout-actions.svelte +0 -0
- package/components/{swipeout-button/swipeout-button.d.ts → swipeout-button.d.ts} +0 -0
- package/{esm/svelte → components}/swipeout-button.svelte +0 -0
- package/components/{swiper-slide/swiper-slide.d.ts → swiper-slide.d.ts} +0 -0
- package/{esm/components → components}/swiper-slide.js +0 -0
- package/components/{swiper/swiper.d.ts → swiper.d.ts} +0 -0
- package/{esm/components → components}/swiper.js +0 -0
- package/components/{tab/tab.d.ts → tab.d.ts} +0 -0
- package/{esm/svelte → components}/tab.svelte +0 -0
- package/components/{tabs/tabs.d.ts → tabs.d.ts} +0 -0
- package/{esm/svelte → components}/tabs.svelte +0 -0
- package/components/{text-editor/text-editor.d.ts → text-editor.d.ts} +0 -0
- package/{esm/svelte → components}/text-editor.svelte +0 -0
- package/components/{toggle/toggle.d.ts → toggle.d.ts} +0 -0
- package/{esm/svelte → components}/toggle.svelte +0 -0
- package/components/{toolbar/toolbar.d.ts → toolbar.d.ts} +0 -0
- package/{esm/svelte → components}/toolbar.svelte +0 -0
- package/components/{treeview-item/treeview-item.d.ts → treeview-item.d.ts} +0 -0
- package/{esm/svelte → components}/treeview-item.svelte +0 -0
- package/components/{treeview/treeview.d.ts → treeview.d.ts} +0 -0
- package/{esm/svelte → components}/treeview.svelte +0 -0
- package/components/{use-icon/use-icon.d.ts → use-icon.d.ts} +0 -0
- package/{esm/svelte → components}/use-icon.svelte +0 -0
- package/components/{view/view.d.ts → view.d.ts} +0 -0
- package/{esm/svelte → components}/view.svelte +0 -0
- package/components/{views/views.d.ts → views.d.ts} +0 -0
- package/{esm/svelte → components}/views.svelte +0 -0
- package/framework7-svelte.js +116 -0
- package/package.json +6 -5
- package/{esm/shared → shared}/components-router.js +76 -66
- package/{esm/shared → shared}/f7.js +16 -22
- package/shared/get-reactive-context.js +16 -0
- package/shared/get-router-initial-component.js +39 -0
- package/{esm/shared → shared}/list-context.js +0 -0
- package/{esm/shared → shared}/mixins.js +90 -76
- package/shared/modal-state-classes.js +9 -0
- package/{esm/shared → shared}/plugin.js +11 -12
- package/shared/rest-props.js +10 -0
- package/{esm/shared → shared}/router-context.js +0 -0
- package/shared/router-open-in-component.svelte +41 -0
- package/shared/router-open-in.js +47 -0
- package/{esm/shared → shared}/set-reactive-context.js +7 -7
- package/{esm/shared → shared}/tabbar-context.js +0 -0
- package/shared/use-icon.js +38 -0
- package/{esm/shared → shared}/use-route-props.js +5 -3
- package/{esm/shared → shared}/use-smart-select.js +6 -6
- package/shared/use-store.js +36 -0
- package/{esm/shared → shared}/use-tab.js +8 -8
- package/shared/use-theme.js +12 -0
- package/{esm/shared → shared}/use-tooltip.js +13 -10
- package/{esm/shared → shared}/utils.js +33 -40
- package/cjs/components/accordion-content.js +0 -93
- package/cjs/components/accordion-item.js +0 -159
- package/cjs/components/accordion-toggle.js +0 -93
- package/cjs/components/accordion.js +0 -95
- package/cjs/components/actions-button.js +0 -234
- package/cjs/components/actions-group.js +0 -93
- package/cjs/components/actions-label.js +0 -110
- package/cjs/components/actions.js +0 -259
- package/cjs/components/app.js +0 -124
- package/cjs/components/appbar.js +0 -295
- package/cjs/components/area-chart.js +0 -1162
- package/cjs/components/badge.js +0 -117
- package/cjs/components/block-footer.js +0 -93
- package/cjs/components/block-header.js +0 -93
- package/cjs/components/block-title.js +0 -105
- package/cjs/components/block.js +0 -209
- package/cjs/components/button.js +0 -1261
- package/cjs/components/card-content.js +0 -95
- package/cjs/components/card-footer.js +0 -93
- package/cjs/components/card-header.js +0 -93
- package/cjs/components/card.js +0 -790
- package/cjs/components/checkbox.js +0 -214
- package/cjs/components/chip.js +0 -507
- package/cjs/components/col.js +0 -448
- package/cjs/components/fab-backdrop.js +0 -76
- package/cjs/components/fab-button.js +0 -223
- package/cjs/components/fab-buttons.js +0 -95
- package/cjs/components/fab.js +0 -400
- package/cjs/components/gauge.js +0 -638
- package/cjs/components/icon.js +0 -275
- package/cjs/components/input.js +0 -2525
- package/cjs/components/link.js +0 -525
- package/cjs/components/list-button.js +0 -256
- package/cjs/components/list-group.js +0 -173
- package/cjs/components/list-index.js +0 -244
- package/cjs/components/list-input.js +0 -3905
- package/cjs/components/list-item-cell.js +0 -93
- package/cjs/components/list-item-row.js +0 -93
- package/cjs/components/list-item.js +0 -13256
- package/cjs/components/list.js +0 -933
- package/cjs/components/login-screen-title.js +0 -93
- package/cjs/components/login-screen.js +0 -211
- package/cjs/components/menu-dropdown-item.js +0 -368
- package/cjs/components/menu-dropdown.js +0 -145
- package/cjs/components/menu-item.js +0 -735
- package/cjs/components/menu.js +0 -97
- package/cjs/components/message.js +0 -1291
- package/cjs/components/messagebar-attachment.js +0 -218
- package/cjs/components/messagebar-attachments.js +0 -93
- package/cjs/components/messagebar-sheet-image.js +0 -159
- package/cjs/components/messagebar-sheet-item.js +0 -93
- package/cjs/components/messagebar-sheet.js +0 -93
- package/cjs/components/messagebar.js +0 -721
- package/cjs/components/messages-title.js +0 -93
- package/cjs/components/messages.js +0 -282
- package/cjs/components/nav-left.js +0 -235
- package/cjs/components/nav-right.js +0 -95
- package/cjs/components/nav-title-large.js +0 -97
- package/cjs/components/nav-title.js +0 -190
- package/cjs/components/navbar.js +0 -1004
- package/cjs/components/page-content.js +0 -575
- package/cjs/components/page.js +0 -808
- package/cjs/components/panel.js +0 -444
- package/cjs/components/photo-browser.js +0 -316
- package/cjs/components/pie-chart.js +0 -420
- package/cjs/components/popover.js +0 -256
- package/cjs/components/popup.js +0 -290
- package/cjs/components/preloader.js +0 -213
- package/cjs/components/progressbar.js +0 -131
- package/cjs/components/radio.js +0 -198
- package/cjs/components/range.js +0 -333
- package/cjs/components/routable-modals.js +0 -221
- package/cjs/components/router-context-provider.js +0 -67
- package/cjs/components/row.js +0 -423
- package/cjs/components/searchbar.js +0 -1217
- package/cjs/components/segmented.js +0 -395
- package/cjs/components/sheet.js +0 -374
- package/cjs/components/skeleton-avatar.js +0 -9
- package/cjs/components/skeleton-block.js +0 -9
- package/cjs/components/skeleton-image.js +0 -9
- package/cjs/components/skeleton-text.js +0 -9
- package/cjs/components/stepper.js +0 -547
- package/cjs/components/subnavbar.js +0 -268
- package/cjs/components/swipeout-actions.js +0 -116
- package/cjs/components/swipeout-button.js +0 -190
- package/cjs/components/swiper-slide.js +0 -9
- package/cjs/components/swiper.js +0 -9
- package/cjs/components/tab.js +0 -302
- package/cjs/components/tabs.js +0 -302
- package/cjs/components/text-editor.js +0 -364
- package/cjs/components/toggle.js +0 -259
- package/cjs/components/toolbar.js +0 -408
- package/cjs/components/treeview-item.js +0 -1120
- package/cjs/components/treeview.js +0 -93
- package/cjs/components/use-icon.js +0 -202
- package/cjs/components/view.js +0 -520
- package/cjs/components/views.js +0 -95
- package/cjs/framework7-svelte.js +0 -421
- package/cjs/shared/components-router.js +0 -243
- package/cjs/shared/f7.js +0 -132
- package/cjs/shared/get-reactive-context.js +0 -22
- package/cjs/shared/get-router-initial-component.js +0 -48
- package/cjs/shared/list-context.js +0 -9
- package/cjs/shared/mixins.js +0 -165
- package/cjs/shared/modal-state-classes.js +0 -17
- package/cjs/shared/plugin.js +0 -69
- package/cjs/shared/rest-props.js +0 -21
- package/cjs/shared/router-context.js +0 -7
- package/cjs/shared/set-reactive-context.js +0 -38
- package/cjs/shared/tabbar-context.js +0 -6
- package/cjs/shared/use-icon.js +0 -48
- package/cjs/shared/use-route-props.js +0 -23
- package/cjs/shared/use-smart-select.js +0 -36
- package/cjs/shared/use-store.js +0 -45
- package/cjs/shared/use-tab.js +0 -47
- package/cjs/shared/use-theme.js +0 -20
- package/cjs/shared/use-tooltip.js +0 -55
- package/cjs/shared/utils.js +0 -144
- package/components/accordion/package.json +0 -10
- package/components/accordion-content/package.json +0 -10
- package/components/accordion-item/package.json +0 -10
- package/components/accordion-toggle/package.json +0 -10
- package/components/actions/package.json +0 -10
- package/components/actions-button/package.json +0 -10
- package/components/actions-group/package.json +0 -10
- package/components/actions-label/package.json +0 -10
- package/components/app/package.json +0 -10
- package/components/appbar/package.json +0 -10
- package/components/area-chart/package.json +0 -10
- package/components/badge/package.json +0 -10
- package/components/block/package.json +0 -10
- package/components/block-footer/package.json +0 -10
- package/components/block-header/package.json +0 -10
- package/components/block-title/package.json +0 -10
- package/components/button/package.json +0 -10
- package/components/card/package.json +0 -10
- package/components/card-content/package.json +0 -10
- package/components/card-footer/package.json +0 -10
- package/components/card-header/package.json +0 -10
- package/components/checkbox/package.json +0 -10
- package/components/chip/package.json +0 -10
- package/components/col/package.json +0 -10
- package/components/fab/package.json +0 -10
- package/components/fab-backdrop/package.json +0 -10
- package/components/fab-button/package.json +0 -10
- package/components/fab-buttons/package.json +0 -10
- package/components/gauge/package.json +0 -10
- package/components/icon/package.json +0 -10
- package/components/input/package.json +0 -10
- package/components/link/package.json +0 -10
- package/components/list/package.json +0 -10
- package/components/list-button/package.json +0 -10
- package/components/list-group/package.json +0 -10
- package/components/list-index/package.json +0 -10
- package/components/list-input/package.json +0 -10
- package/components/list-item/package.json +0 -10
- package/components/list-item-cell/package.json +0 -10
- package/components/list-item-row/package.json +0 -10
- package/components/login-screen/package.json +0 -10
- package/components/login-screen-title/package.json +0 -10
- package/components/menu/package.json +0 -10
- package/components/menu-dropdown/package.json +0 -10
- package/components/menu-dropdown-item/package.json +0 -10
- package/components/menu-item/package.json +0 -10
- package/components/message/package.json +0 -10
- package/components/messagebar/package.json +0 -10
- package/components/messagebar-attachment/package.json +0 -10
- package/components/messagebar-attachments/package.json +0 -10
- package/components/messagebar-sheet/package.json +0 -10
- package/components/messagebar-sheet-image/package.json +0 -10
- package/components/messagebar-sheet-item/package.json +0 -10
- package/components/messages/package.json +0 -10
- package/components/messages-title/package.json +0 -10
- package/components/nav-left/package.json +0 -10
- package/components/nav-right/package.json +0 -10
- package/components/nav-title/package.json +0 -10
- package/components/nav-title-large/package.json +0 -10
- package/components/navbar/package.json +0 -10
- package/components/page/package.json +0 -10
- package/components/page-content/package.json +0 -10
- package/components/panel/package.json +0 -10
- package/components/photo-browser/package.json +0 -10
- package/components/pie-chart/package.json +0 -10
- package/components/popover/package.json +0 -10
- package/components/popup/package.json +0 -10
- package/components/preloader/package.json +0 -10
- package/components/progressbar/package.json +0 -10
- package/components/radio/package.json +0 -10
- package/components/range/package.json +0 -10
- package/components/routable-modals/package.json +0 -10
- package/components/router-context-provider/package.json +0 -10
- package/components/row/package.json +0 -10
- package/components/searchbar/package.json +0 -10
- package/components/segmented/package.json +0 -10
- package/components/sheet/package.json +0 -10
- package/components/skeleton-avatar/package.json +0 -10
- package/components/skeleton-block/package.json +0 -10
- package/components/skeleton-image/package.json +0 -10
- package/components/skeleton-text/package.json +0 -10
- package/components/stepper/package.json +0 -10
- package/components/subnavbar/package.json +0 -10
- package/components/swipeout-actions/package.json +0 -10
- package/components/swipeout-button/package.json +0 -10
- package/components/swiper/package.json +0 -10
- package/components/swiper-slide/package.json +0 -10
- package/components/tab/package.json +0 -10
- package/components/tabs/package.json +0 -10
- package/components/text-editor/package.json +0 -10
- package/components/toggle/package.json +0 -10
- package/components/toolbar/package.json +0 -10
- package/components/treeview/package.json +0 -10
- package/components/treeview-item/package.json +0 -10
- package/components/use-icon/package.json +0 -10
- package/components/view/package.json +0 -10
- package/components/views/package.json +0 -10
- package/esm/components/accordion-content.js +0 -108
- package/esm/components/accordion-item.js +0 -175
- package/esm/components/accordion-toggle.js +0 -108
- package/esm/components/accordion.js +0 -110
- package/esm/components/actions-button.js +0 -257
- package/esm/components/actions-group.js +0 -108
- package/esm/components/actions-label.js +0 -126
- package/esm/components/actions.js +0 -275
- package/esm/components/app.js +0 -143
- package/esm/components/appbar.js +0 -315
- package/esm/components/area-chart.js +0 -1189
- package/esm/components/badge.js +0 -134
- package/esm/components/block-footer.js +0 -108
- package/esm/components/block-header.js +0 -108
- package/esm/components/block-title.js +0 -120
- package/esm/components/block.js +0 -225
- package/esm/components/button.js +0 -1306
- package/esm/components/card-content.js +0 -110
- package/esm/components/card-footer.js +0 -108
- package/esm/components/card-header.js +0 -108
- package/esm/components/card.js +0 -816
- package/esm/components/checkbox.js +0 -234
- package/esm/components/chip.js +0 -539
- package/esm/components/col.js +0 -471
- package/esm/components/fab-backdrop.js +0 -88
- package/esm/components/fab-button.js +0 -248
- package/esm/components/fab-buttons.js +0 -110
- package/esm/components/fab.js +0 -428
- package/esm/components/gauge.js +0 -656
- package/esm/components/icon.js +0 -297
- package/esm/components/input.js +0 -2559
- package/esm/components/link.js +0 -571
- package/esm/components/list-button.js +0 -295
- package/esm/components/list-group.js +0 -189
- package/esm/components/list-index.js +0 -260
- package/esm/components/list-input.js +0 -3938
- package/esm/components/list-item-cell.js +0 -108
- package/esm/components/list-item-row.js +0 -108
- package/esm/components/list-item.js +0 -13302
- package/esm/components/list.js +0 -956
- package/esm/components/login-screen-title.js +0 -108
- package/esm/components/login-screen.js +0 -227
- package/esm/components/menu-dropdown-item.js +0 -403
- package/esm/components/menu-dropdown.js +0 -162
- package/esm/components/menu-item.js +0 -775
- package/esm/components/menu.js +0 -114
- package/esm/components/message.js +0 -1318
- package/esm/components/messagebar-attachment.js +0 -238
- package/esm/components/messagebar-attachments.js +0 -108
- package/esm/components/messagebar-sheet-image.js +0 -178
- package/esm/components/messagebar-sheet-item.js +0 -108
- package/esm/components/messagebar-sheet.js +0 -108
- package/esm/components/messagebar.js +0 -748
- package/esm/components/messages-title.js +0 -108
- package/esm/components/messages.js +0 -298
- package/esm/components/nav-left.js +0 -257
- package/esm/components/nav-right.js +0 -110
- package/esm/components/nav-title-large.js +0 -114
- package/esm/components/nav-title.js +0 -210
- package/esm/components/navbar.js +0 -1031
- package/esm/components/page-content.js +0 -599
- package/esm/components/page.js +0 -831
- package/esm/components/panel.js +0 -463
- package/esm/components/photo-browser.js +0 -321
- package/esm/components/pie-chart.js +0 -445
- package/esm/components/popover.js +0 -275
- package/esm/components/popup.js +0 -306
- package/esm/components/preloader.js +0 -226
- package/esm/components/progressbar.js +0 -146
- package/esm/components/radio.js +0 -218
- package/esm/components/range.js +0 -352
- package/esm/components/routable-modals.js +0 -242
- package/esm/components/router-context-provider.js +0 -74
- package/esm/components/row.js +0 -446
- package/esm/components/searchbar.js +0 -1244
- package/esm/components/segmented.js +0 -416
- package/esm/components/sheet.js +0 -393
- package/esm/components/stepper.js +0 -574
- package/esm/components/subnavbar.js +0 -290
- package/esm/components/swipeout-actions.js +0 -131
- package/esm/components/swipeout-button.js +0 -210
- package/esm/components/tab.js +0 -335
- package/esm/components/tabs.js +0 -323
- package/esm/components/text-editor.js +0 -383
- package/esm/components/toggle.js +0 -279
- package/esm/components/toolbar.js +0 -429
- package/esm/components/treeview-item.js +0 -1156
- package/esm/components/treeview.js +0 -108
- package/esm/components/use-icon.js +0 -220
- package/esm/components/view.js +0 -560
- package/esm/components/views.js +0 -110
- package/esm/framework7-svelte-src.js +0 -105
- package/esm/framework7-svelte.js +0 -116
- package/esm/shared/get-reactive-context.js +0 -14
- package/esm/shared/get-router-initial-component.js +0 -40
- package/esm/shared/modal-state-classes.js +0 -10
- package/esm/shared/rest-props.js +0 -16
- package/esm/shared/use-icon.js +0 -41
- package/esm/shared/use-store.js +0 -36
- package/esm/shared/use-theme.js +0 -12
package/cjs/components/navbar.js
DELETED
|
@@ -1,1004 +0,0 @@
|
|
|
1
|
-
/* navbar.svelte generated by Svelte v3.38.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
const { SvelteComponent, append, assign, attr, binding_callbacks, check_outros, compute_rest_props, compute_slots, create_component, create_slot, destroy_component, detach, element, exclude_internal_props, get_spread_update, group_outros, init, insert, mount_component, safe_not_equal, set_attributes, set_data, space, text, transition_in, transition_out, update_slot } = require("svelte/internal");
|
|
5
|
-
const { createEventDispatcher, onMount, onDestroy, afterUpdate } = require("svelte");
|
|
6
|
-
const { colorClasses } = require("../shared/mixins");
|
|
7
|
-
const { classNames, plainText, createEmitter } = require("../shared/utils");
|
|
8
|
-
const { restProps } = require("../shared/rest-props");
|
|
9
|
-
const { f7ready, app } = require("../shared/f7");
|
|
10
|
-
const { useTheme } = require("../shared/use-theme");
|
|
11
|
-
const { default: NavLeft } = require("./nav-left");
|
|
12
|
-
const { default: NavTitle } = require("./nav-title");
|
|
13
|
-
const { default: NavRight } = require("./nav-right");
|
|
14
|
-
const get_after_inner_slot_changes = dirty => ({});
|
|
15
|
-
const get_after_inner_slot_context = ctx => ({});
|
|
16
|
-
const get_title_large_slot_changes = dirty => ({});
|
|
17
|
-
const get_title_large_slot_context = ctx => ({});
|
|
18
|
-
const get_right_slot_changes = dirty => ({});
|
|
19
|
-
const get_right_slot_context = ctx => ({});
|
|
20
|
-
const get_nav_right_slot_changes = dirty => ({});
|
|
21
|
-
const get_nav_right_slot_context = ctx => ({});
|
|
22
|
-
const get_title_slot_changes = dirty => ({});
|
|
23
|
-
const get_title_slot_context = ctx => ({});
|
|
24
|
-
const get_left_slot_changes = dirty => ({});
|
|
25
|
-
const get_left_slot_context = ctx => ({});
|
|
26
|
-
const get_nav_left_slot_changes = dirty => ({});
|
|
27
|
-
const get_nav_left_slot_context = ctx => ({});
|
|
28
|
-
const get_before_inner_slot_changes = dirty => ({});
|
|
29
|
-
const get_before_inner_slot_context = ctx => ({});
|
|
30
|
-
|
|
31
|
-
// (197:4) {#if backLink || hasLeftSlots}
|
|
32
|
-
function create_if_block_3(ctx) {
|
|
33
|
-
let navleft;
|
|
34
|
-
let current;
|
|
35
|
-
|
|
36
|
-
navleft = new NavLeft({
|
|
37
|
-
props: {
|
|
38
|
-
backLink: /*backLink*/ ctx[0],
|
|
39
|
-
backLinkUrl: /*backLinkUrl*/ ctx[1],
|
|
40
|
-
backLinkForce: /*backLinkForce*/ ctx[2],
|
|
41
|
-
backLinkShowText: /*backLinkShowText*/ ctx[3],
|
|
42
|
-
onBackClick: /*onBackClick*/ ctx[15],
|
|
43
|
-
$$slots: { default: [create_default_slot_2] },
|
|
44
|
-
$$scope: { ctx }
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
return {
|
|
49
|
-
c() {
|
|
50
|
-
create_component(navleft.$$.fragment);
|
|
51
|
-
},
|
|
52
|
-
m(target, anchor) {
|
|
53
|
-
mount_component(navleft, target, anchor);
|
|
54
|
-
current = true;
|
|
55
|
-
},
|
|
56
|
-
p(ctx, dirty) {
|
|
57
|
-
const navleft_changes = {};
|
|
58
|
-
if (dirty[0] & /*backLink*/ 1) navleft_changes.backLink = /*backLink*/ ctx[0];
|
|
59
|
-
if (dirty[0] & /*backLinkUrl*/ 2) navleft_changes.backLinkUrl = /*backLinkUrl*/ ctx[1];
|
|
60
|
-
if (dirty[0] & /*backLinkForce*/ 4) navleft_changes.backLinkForce = /*backLinkForce*/ ctx[2];
|
|
61
|
-
if (dirty[0] & /*backLinkShowText*/ 8) navleft_changes.backLinkShowText = /*backLinkShowText*/ ctx[3];
|
|
62
|
-
|
|
63
|
-
if (dirty[1] & /*$$scope*/ 16384) {
|
|
64
|
-
navleft_changes.$$scope = { dirty, ctx };
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
navleft.$set(navleft_changes);
|
|
68
|
-
},
|
|
69
|
-
i(local) {
|
|
70
|
-
if (current) return;
|
|
71
|
-
transition_in(navleft.$$.fragment, local);
|
|
72
|
-
current = true;
|
|
73
|
-
},
|
|
74
|
-
o(local) {
|
|
75
|
-
transition_out(navleft.$$.fragment, local);
|
|
76
|
-
current = false;
|
|
77
|
-
},
|
|
78
|
-
d(detaching) {
|
|
79
|
-
destroy_component(navleft, detaching);
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
// (198:6) <NavLeft {backLink} {backLinkUrl} {backLinkForce} {backLinkShowText} {onBackClick}>
|
|
85
|
-
function create_default_slot_2(ctx) {
|
|
86
|
-
let t;
|
|
87
|
-
let current;
|
|
88
|
-
const nav_left_slot_template = /*#slots*/ ctx[43]["nav-left"];
|
|
89
|
-
const nav_left_slot = create_slot(nav_left_slot_template, ctx, /*$$scope*/ ctx[45], get_nav_left_slot_context);
|
|
90
|
-
const left_slot_template = /*#slots*/ ctx[43].left;
|
|
91
|
-
const left_slot = create_slot(left_slot_template, ctx, /*$$scope*/ ctx[45], get_left_slot_context);
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
c() {
|
|
95
|
-
if (nav_left_slot) nav_left_slot.c();
|
|
96
|
-
t = space();
|
|
97
|
-
if (left_slot) left_slot.c();
|
|
98
|
-
},
|
|
99
|
-
m(target, anchor) {
|
|
100
|
-
if (nav_left_slot) {
|
|
101
|
-
nav_left_slot.m(target, anchor);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
insert(target, t, anchor);
|
|
105
|
-
|
|
106
|
-
if (left_slot) {
|
|
107
|
-
left_slot.m(target, anchor);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
current = true;
|
|
111
|
-
},
|
|
112
|
-
p(ctx, dirty) {
|
|
113
|
-
if (nav_left_slot) {
|
|
114
|
-
if (nav_left_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
115
|
-
update_slot(nav_left_slot, nav_left_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_nav_left_slot_changes, get_nav_left_slot_context);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
if (left_slot) {
|
|
120
|
-
if (left_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
121
|
-
update_slot(left_slot, left_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_left_slot_changes, get_left_slot_context);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
i(local) {
|
|
126
|
-
if (current) return;
|
|
127
|
-
transition_in(nav_left_slot, local);
|
|
128
|
-
transition_in(left_slot, local);
|
|
129
|
-
current = true;
|
|
130
|
-
},
|
|
131
|
-
o(local) {
|
|
132
|
-
transition_out(nav_left_slot, local);
|
|
133
|
-
transition_out(left_slot, local);
|
|
134
|
-
current = false;
|
|
135
|
-
},
|
|
136
|
-
d(detaching) {
|
|
137
|
-
if (nav_left_slot) nav_left_slot.d(detaching);
|
|
138
|
-
if (detaching) detach(t);
|
|
139
|
-
if (left_slot) left_slot.d(detaching);
|
|
140
|
-
}
|
|
141
|
-
};
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// (203:4) {#if title || subtitle || hasTitleSlots}
|
|
145
|
-
function create_if_block_2(ctx) {
|
|
146
|
-
let navtitle;
|
|
147
|
-
let current;
|
|
148
|
-
|
|
149
|
-
navtitle = new NavTitle({
|
|
150
|
-
props: {
|
|
151
|
-
title: /*title*/ ctx[4],
|
|
152
|
-
subtitle: /*subtitle*/ ctx[5],
|
|
153
|
-
$$slots: { default: [create_default_slot_1] },
|
|
154
|
-
$$scope: { ctx }
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
|
|
158
|
-
return {
|
|
159
|
-
c() {
|
|
160
|
-
create_component(navtitle.$$.fragment);
|
|
161
|
-
},
|
|
162
|
-
m(target, anchor) {
|
|
163
|
-
mount_component(navtitle, target, anchor);
|
|
164
|
-
current = true;
|
|
165
|
-
},
|
|
166
|
-
p(ctx, dirty) {
|
|
167
|
-
const navtitle_changes = {};
|
|
168
|
-
if (dirty[0] & /*title*/ 16) navtitle_changes.title = /*title*/ ctx[4];
|
|
169
|
-
if (dirty[0] & /*subtitle*/ 32) navtitle_changes.subtitle = /*subtitle*/ ctx[5];
|
|
170
|
-
|
|
171
|
-
if (dirty[1] & /*$$scope*/ 16384) {
|
|
172
|
-
navtitle_changes.$$scope = { dirty, ctx };
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
navtitle.$set(navtitle_changes);
|
|
176
|
-
},
|
|
177
|
-
i(local) {
|
|
178
|
-
if (current) return;
|
|
179
|
-
transition_in(navtitle.$$.fragment, local);
|
|
180
|
-
current = true;
|
|
181
|
-
},
|
|
182
|
-
o(local) {
|
|
183
|
-
transition_out(navtitle.$$.fragment, local);
|
|
184
|
-
current = false;
|
|
185
|
-
},
|
|
186
|
-
d(detaching) {
|
|
187
|
-
destroy_component(navtitle, detaching);
|
|
188
|
-
}
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
// (204:6) <NavTitle {title} {subtitle}>
|
|
193
|
-
function create_default_slot_1(ctx) {
|
|
194
|
-
let current;
|
|
195
|
-
const title_slot_template = /*#slots*/ ctx[43].title;
|
|
196
|
-
const title_slot = create_slot(title_slot_template, ctx, /*$$scope*/ ctx[45], get_title_slot_context);
|
|
197
|
-
|
|
198
|
-
return {
|
|
199
|
-
c() {
|
|
200
|
-
if (title_slot) title_slot.c();
|
|
201
|
-
},
|
|
202
|
-
m(target, anchor) {
|
|
203
|
-
if (title_slot) {
|
|
204
|
-
title_slot.m(target, anchor);
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
current = true;
|
|
208
|
-
},
|
|
209
|
-
p(ctx, dirty) {
|
|
210
|
-
if (title_slot) {
|
|
211
|
-
if (title_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
212
|
-
update_slot(title_slot, title_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_title_slot_changes, get_title_slot_context);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
i(local) {
|
|
217
|
-
if (current) return;
|
|
218
|
-
transition_in(title_slot, local);
|
|
219
|
-
current = true;
|
|
220
|
-
},
|
|
221
|
-
o(local) {
|
|
222
|
-
transition_out(title_slot, local);
|
|
223
|
-
current = false;
|
|
224
|
-
},
|
|
225
|
-
d(detaching) {
|
|
226
|
-
if (title_slot) title_slot.d(detaching);
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
// (208:4) {#if hasRightSlots}
|
|
232
|
-
function create_if_block_1(ctx) {
|
|
233
|
-
let navright;
|
|
234
|
-
let current;
|
|
235
|
-
|
|
236
|
-
navright = new NavRight({
|
|
237
|
-
props: {
|
|
238
|
-
$$slots: { default: [create_default_slot] },
|
|
239
|
-
$$scope: { ctx }
|
|
240
|
-
}
|
|
241
|
-
});
|
|
242
|
-
|
|
243
|
-
return {
|
|
244
|
-
c() {
|
|
245
|
-
create_component(navright.$$.fragment);
|
|
246
|
-
},
|
|
247
|
-
m(target, anchor) {
|
|
248
|
-
mount_component(navright, target, anchor);
|
|
249
|
-
current = true;
|
|
250
|
-
},
|
|
251
|
-
p(ctx, dirty) {
|
|
252
|
-
const navright_changes = {};
|
|
253
|
-
|
|
254
|
-
if (dirty[1] & /*$$scope*/ 16384) {
|
|
255
|
-
navright_changes.$$scope = { dirty, ctx };
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
navright.$set(navright_changes);
|
|
259
|
-
},
|
|
260
|
-
i(local) {
|
|
261
|
-
if (current) return;
|
|
262
|
-
transition_in(navright.$$.fragment, local);
|
|
263
|
-
current = true;
|
|
264
|
-
},
|
|
265
|
-
o(local) {
|
|
266
|
-
transition_out(navright.$$.fragment, local);
|
|
267
|
-
current = false;
|
|
268
|
-
},
|
|
269
|
-
d(detaching) {
|
|
270
|
-
destroy_component(navright, detaching);
|
|
271
|
-
}
|
|
272
|
-
};
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// (209:6) <NavRight>
|
|
276
|
-
function create_default_slot(ctx) {
|
|
277
|
-
let t;
|
|
278
|
-
let current;
|
|
279
|
-
const nav_right_slot_template = /*#slots*/ ctx[43]["nav-right"];
|
|
280
|
-
const nav_right_slot = create_slot(nav_right_slot_template, ctx, /*$$scope*/ ctx[45], get_nav_right_slot_context);
|
|
281
|
-
const right_slot_template = /*#slots*/ ctx[43].right;
|
|
282
|
-
const right_slot = create_slot(right_slot_template, ctx, /*$$scope*/ ctx[45], get_right_slot_context);
|
|
283
|
-
|
|
284
|
-
return {
|
|
285
|
-
c() {
|
|
286
|
-
if (nav_right_slot) nav_right_slot.c();
|
|
287
|
-
t = space();
|
|
288
|
-
if (right_slot) right_slot.c();
|
|
289
|
-
},
|
|
290
|
-
m(target, anchor) {
|
|
291
|
-
if (nav_right_slot) {
|
|
292
|
-
nav_right_slot.m(target, anchor);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
insert(target, t, anchor);
|
|
296
|
-
|
|
297
|
-
if (right_slot) {
|
|
298
|
-
right_slot.m(target, anchor);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
current = true;
|
|
302
|
-
},
|
|
303
|
-
p(ctx, dirty) {
|
|
304
|
-
if (nav_right_slot) {
|
|
305
|
-
if (nav_right_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
306
|
-
update_slot(nav_right_slot, nav_right_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_nav_right_slot_changes, get_nav_right_slot_context);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
if (right_slot) {
|
|
311
|
-
if (right_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
312
|
-
update_slot(right_slot, right_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_right_slot_changes, get_right_slot_context);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
i(local) {
|
|
317
|
-
if (current) return;
|
|
318
|
-
transition_in(nav_right_slot, local);
|
|
319
|
-
transition_in(right_slot, local);
|
|
320
|
-
current = true;
|
|
321
|
-
},
|
|
322
|
-
o(local) {
|
|
323
|
-
transition_out(nav_right_slot, local);
|
|
324
|
-
transition_out(right_slot, local);
|
|
325
|
-
current = false;
|
|
326
|
-
},
|
|
327
|
-
d(detaching) {
|
|
328
|
-
if (nav_right_slot) nav_right_slot.d(detaching);
|
|
329
|
-
if (detaching) detach(t);
|
|
330
|
-
if (right_slot) right_slot.d(detaching);
|
|
331
|
-
}
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
// (214:4) {#if largeTitle || hasTitleLargeSlots}
|
|
336
|
-
function create_if_block(ctx) {
|
|
337
|
-
let div1;
|
|
338
|
-
let div0;
|
|
339
|
-
let t0_value = plainText(/*largeTitle*/ ctx[11]) + "";
|
|
340
|
-
let t0;
|
|
341
|
-
let t1;
|
|
342
|
-
let current;
|
|
343
|
-
const title_large_slot_template = /*#slots*/ ctx[43]["title-large"];
|
|
344
|
-
const title_large_slot = create_slot(title_large_slot_template, ctx, /*$$scope*/ ctx[45], get_title_large_slot_context);
|
|
345
|
-
|
|
346
|
-
return {
|
|
347
|
-
c() {
|
|
348
|
-
div1 = element("div");
|
|
349
|
-
div0 = element("div");
|
|
350
|
-
t0 = text(t0_value);
|
|
351
|
-
t1 = space();
|
|
352
|
-
if (title_large_slot) title_large_slot.c();
|
|
353
|
-
attr(div0, "class", "title-large-text");
|
|
354
|
-
attr(div1, "class", "title-large");
|
|
355
|
-
},
|
|
356
|
-
m(target, anchor) {
|
|
357
|
-
insert(target, div1, anchor);
|
|
358
|
-
append(div1, div0);
|
|
359
|
-
append(div0, t0);
|
|
360
|
-
append(div0, t1);
|
|
361
|
-
|
|
362
|
-
if (title_large_slot) {
|
|
363
|
-
title_large_slot.m(div0, null);
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
current = true;
|
|
367
|
-
},
|
|
368
|
-
p(ctx, dirty) {
|
|
369
|
-
if ((!current || dirty[0] & /*largeTitle*/ 2048) && t0_value !== (t0_value = plainText(/*largeTitle*/ ctx[11]) + "")) set_data(t0, t0_value);
|
|
370
|
-
|
|
371
|
-
if (title_large_slot) {
|
|
372
|
-
if (title_large_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
373
|
-
update_slot(title_large_slot, title_large_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_title_large_slot_changes, get_title_large_slot_context);
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
i(local) {
|
|
378
|
-
if (current) return;
|
|
379
|
-
transition_in(title_large_slot, local);
|
|
380
|
-
current = true;
|
|
381
|
-
},
|
|
382
|
-
o(local) {
|
|
383
|
-
transition_out(title_large_slot, local);
|
|
384
|
-
current = false;
|
|
385
|
-
},
|
|
386
|
-
d(detaching) {
|
|
387
|
-
if (detaching) detach(div1);
|
|
388
|
-
if (title_large_slot) title_large_slot.d(detaching);
|
|
389
|
-
}
|
|
390
|
-
};
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
function create_fragment(ctx) {
|
|
394
|
-
let div2;
|
|
395
|
-
let div0;
|
|
396
|
-
let t0;
|
|
397
|
-
let t1;
|
|
398
|
-
let div1;
|
|
399
|
-
let t2;
|
|
400
|
-
let t3;
|
|
401
|
-
let t4;
|
|
402
|
-
let t5;
|
|
403
|
-
let t6;
|
|
404
|
-
let current;
|
|
405
|
-
const before_inner_slot_template = /*#slots*/ ctx[43]["before-inner"];
|
|
406
|
-
const before_inner_slot = create_slot(before_inner_slot_template, ctx, /*$$scope*/ ctx[45], get_before_inner_slot_context);
|
|
407
|
-
let if_block0 = (/*backLink*/ ctx[0] || /*hasLeftSlots*/ ctx[8]) && create_if_block_3(ctx);
|
|
408
|
-
let if_block1 = (/*title*/ ctx[4] || /*subtitle*/ ctx[5] || /*hasTitleSlots*/ ctx[10]) && create_if_block_2(ctx);
|
|
409
|
-
let if_block2 = /*hasRightSlots*/ ctx[9] && create_if_block_1(ctx);
|
|
410
|
-
let if_block3 = (/*largeTitle*/ ctx[11] || /*hasTitleLargeSlots*/ ctx[12]) && create_if_block(ctx);
|
|
411
|
-
const default_slot_template = /*#slots*/ ctx[43].default;
|
|
412
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[45], null);
|
|
413
|
-
const after_inner_slot_template = /*#slots*/ ctx[43]["after-inner"];
|
|
414
|
-
const after_inner_slot = create_slot(after_inner_slot_template, ctx, /*$$scope*/ ctx[45], get_after_inner_slot_context);
|
|
415
|
-
|
|
416
|
-
let div2_levels = [
|
|
417
|
-
{ class: /*classes*/ ctx[13] },
|
|
418
|
-
{ "data-f7-slot": /*f7Slot*/ ctx[6] },
|
|
419
|
-
restProps(/*$$restProps*/ ctx[16])
|
|
420
|
-
];
|
|
421
|
-
|
|
422
|
-
let div2_data = {};
|
|
423
|
-
|
|
424
|
-
for (let i = 0; i < div2_levels.length; i += 1) {
|
|
425
|
-
div2_data = assign(div2_data, div2_levels[i]);
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
return {
|
|
429
|
-
c() {
|
|
430
|
-
div2 = element("div");
|
|
431
|
-
div0 = element("div");
|
|
432
|
-
t0 = space();
|
|
433
|
-
if (before_inner_slot) before_inner_slot.c();
|
|
434
|
-
t1 = space();
|
|
435
|
-
div1 = element("div");
|
|
436
|
-
if (if_block0) if_block0.c();
|
|
437
|
-
t2 = space();
|
|
438
|
-
if (if_block1) if_block1.c();
|
|
439
|
-
t3 = space();
|
|
440
|
-
if (if_block2) if_block2.c();
|
|
441
|
-
t4 = space();
|
|
442
|
-
if (if_block3) if_block3.c();
|
|
443
|
-
t5 = space();
|
|
444
|
-
if (default_slot) default_slot.c();
|
|
445
|
-
t6 = space();
|
|
446
|
-
if (after_inner_slot) after_inner_slot.c();
|
|
447
|
-
attr(div0, "class", "navbar-bg");
|
|
448
|
-
attr(div1, "class", /*innerClasses*/ ctx[14]);
|
|
449
|
-
set_attributes(div2, div2_data);
|
|
450
|
-
},
|
|
451
|
-
m(target, anchor) {
|
|
452
|
-
insert(target, div2, anchor);
|
|
453
|
-
append(div2, div0);
|
|
454
|
-
append(div2, t0);
|
|
455
|
-
|
|
456
|
-
if (before_inner_slot) {
|
|
457
|
-
before_inner_slot.m(div2, null);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
append(div2, t1);
|
|
461
|
-
append(div2, div1);
|
|
462
|
-
if (if_block0) if_block0.m(div1, null);
|
|
463
|
-
append(div1, t2);
|
|
464
|
-
if (if_block1) if_block1.m(div1, null);
|
|
465
|
-
append(div1, t3);
|
|
466
|
-
if (if_block2) if_block2.m(div1, null);
|
|
467
|
-
append(div1, t4);
|
|
468
|
-
if (if_block3) if_block3.m(div1, null);
|
|
469
|
-
append(div1, t5);
|
|
470
|
-
|
|
471
|
-
if (default_slot) {
|
|
472
|
-
default_slot.m(div1, null);
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
append(div2, t6);
|
|
476
|
-
|
|
477
|
-
if (after_inner_slot) {
|
|
478
|
-
after_inner_slot.m(div2, null);
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
/*div2_binding*/ ctx[44](div2);
|
|
482
|
-
current = true;
|
|
483
|
-
},
|
|
484
|
-
p(ctx, dirty) {
|
|
485
|
-
if (before_inner_slot) {
|
|
486
|
-
if (before_inner_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
487
|
-
update_slot(before_inner_slot, before_inner_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_before_inner_slot_changes, get_before_inner_slot_context);
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
if (/*backLink*/ ctx[0] || /*hasLeftSlots*/ ctx[8]) {
|
|
492
|
-
if (if_block0) {
|
|
493
|
-
if_block0.p(ctx, dirty);
|
|
494
|
-
|
|
495
|
-
if (dirty[0] & /*backLink, hasLeftSlots*/ 257) {
|
|
496
|
-
transition_in(if_block0, 1);
|
|
497
|
-
}
|
|
498
|
-
} else {
|
|
499
|
-
if_block0 = create_if_block_3(ctx);
|
|
500
|
-
if_block0.c();
|
|
501
|
-
transition_in(if_block0, 1);
|
|
502
|
-
if_block0.m(div1, t2);
|
|
503
|
-
}
|
|
504
|
-
} else if (if_block0) {
|
|
505
|
-
group_outros();
|
|
506
|
-
|
|
507
|
-
transition_out(if_block0, 1, 1, () => {
|
|
508
|
-
if_block0 = null;
|
|
509
|
-
});
|
|
510
|
-
|
|
511
|
-
check_outros();
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
if (/*title*/ ctx[4] || /*subtitle*/ ctx[5] || /*hasTitleSlots*/ ctx[10]) {
|
|
515
|
-
if (if_block1) {
|
|
516
|
-
if_block1.p(ctx, dirty);
|
|
517
|
-
|
|
518
|
-
if (dirty[0] & /*title, subtitle, hasTitleSlots*/ 1072) {
|
|
519
|
-
transition_in(if_block1, 1);
|
|
520
|
-
}
|
|
521
|
-
} else {
|
|
522
|
-
if_block1 = create_if_block_2(ctx);
|
|
523
|
-
if_block1.c();
|
|
524
|
-
transition_in(if_block1, 1);
|
|
525
|
-
if_block1.m(div1, t3);
|
|
526
|
-
}
|
|
527
|
-
} else if (if_block1) {
|
|
528
|
-
group_outros();
|
|
529
|
-
|
|
530
|
-
transition_out(if_block1, 1, 1, () => {
|
|
531
|
-
if_block1 = null;
|
|
532
|
-
});
|
|
533
|
-
|
|
534
|
-
check_outros();
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
if (/*hasRightSlots*/ ctx[9]) {
|
|
538
|
-
if (if_block2) {
|
|
539
|
-
if_block2.p(ctx, dirty);
|
|
540
|
-
|
|
541
|
-
if (dirty[0] & /*hasRightSlots*/ 512) {
|
|
542
|
-
transition_in(if_block2, 1);
|
|
543
|
-
}
|
|
544
|
-
} else {
|
|
545
|
-
if_block2 = create_if_block_1(ctx);
|
|
546
|
-
if_block2.c();
|
|
547
|
-
transition_in(if_block2, 1);
|
|
548
|
-
if_block2.m(div1, t4);
|
|
549
|
-
}
|
|
550
|
-
} else if (if_block2) {
|
|
551
|
-
group_outros();
|
|
552
|
-
|
|
553
|
-
transition_out(if_block2, 1, 1, () => {
|
|
554
|
-
if_block2 = null;
|
|
555
|
-
});
|
|
556
|
-
|
|
557
|
-
check_outros();
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
if (/*largeTitle*/ ctx[11] || /*hasTitleLargeSlots*/ ctx[12]) {
|
|
561
|
-
if (if_block3) {
|
|
562
|
-
if_block3.p(ctx, dirty);
|
|
563
|
-
|
|
564
|
-
if (dirty[0] & /*largeTitle, hasTitleLargeSlots*/ 6144) {
|
|
565
|
-
transition_in(if_block3, 1);
|
|
566
|
-
}
|
|
567
|
-
} else {
|
|
568
|
-
if_block3 = create_if_block(ctx);
|
|
569
|
-
if_block3.c();
|
|
570
|
-
transition_in(if_block3, 1);
|
|
571
|
-
if_block3.m(div1, t5);
|
|
572
|
-
}
|
|
573
|
-
} else if (if_block3) {
|
|
574
|
-
group_outros();
|
|
575
|
-
|
|
576
|
-
transition_out(if_block3, 1, 1, () => {
|
|
577
|
-
if_block3 = null;
|
|
578
|
-
});
|
|
579
|
-
|
|
580
|
-
check_outros();
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
if (default_slot) {
|
|
584
|
-
if (default_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
585
|
-
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[45], dirty, null, null);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
if (!current || dirty[0] & /*innerClasses*/ 16384) {
|
|
590
|
-
attr(div1, "class", /*innerClasses*/ ctx[14]);
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
if (after_inner_slot) {
|
|
594
|
-
if (after_inner_slot.p && (!current || dirty[1] & /*$$scope*/ 16384)) {
|
|
595
|
-
update_slot(after_inner_slot, after_inner_slot_template, ctx, /*$$scope*/ ctx[45], dirty, get_after_inner_slot_changes, get_after_inner_slot_context);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
set_attributes(div2, div2_data = get_spread_update(div2_levels, [
|
|
600
|
-
(!current || dirty[0] & /*classes*/ 8192) && { class: /*classes*/ ctx[13] },
|
|
601
|
-
(!current || dirty[0] & /*f7Slot*/ 64) && { "data-f7-slot": /*f7Slot*/ ctx[6] },
|
|
602
|
-
dirty[0] & /*$$restProps*/ 65536 && restProps(/*$$restProps*/ ctx[16])
|
|
603
|
-
]));
|
|
604
|
-
},
|
|
605
|
-
i(local) {
|
|
606
|
-
if (current) return;
|
|
607
|
-
transition_in(before_inner_slot, local);
|
|
608
|
-
transition_in(if_block0);
|
|
609
|
-
transition_in(if_block1);
|
|
610
|
-
transition_in(if_block2);
|
|
611
|
-
transition_in(if_block3);
|
|
612
|
-
transition_in(default_slot, local);
|
|
613
|
-
transition_in(after_inner_slot, local);
|
|
614
|
-
current = true;
|
|
615
|
-
},
|
|
616
|
-
o(local) {
|
|
617
|
-
transition_out(before_inner_slot, local);
|
|
618
|
-
transition_out(if_block0);
|
|
619
|
-
transition_out(if_block1);
|
|
620
|
-
transition_out(if_block2);
|
|
621
|
-
transition_out(if_block3);
|
|
622
|
-
transition_out(default_slot, local);
|
|
623
|
-
transition_out(after_inner_slot, local);
|
|
624
|
-
current = false;
|
|
625
|
-
},
|
|
626
|
-
d(detaching) {
|
|
627
|
-
if (detaching) detach(div2);
|
|
628
|
-
if (before_inner_slot) before_inner_slot.d(detaching);
|
|
629
|
-
if (if_block0) if_block0.d();
|
|
630
|
-
if (if_block1) if_block1.d();
|
|
631
|
-
if (if_block2) if_block2.d();
|
|
632
|
-
if (if_block3) if_block3.d();
|
|
633
|
-
if (default_slot) default_slot.d(detaching);
|
|
634
|
-
if (after_inner_slot) after_inner_slot.d(detaching);
|
|
635
|
-
/*div2_binding*/ ctx[44](null);
|
|
636
|
-
}
|
|
637
|
-
};
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
function instance($$self, $$props, $$invalidate) {
|
|
641
|
-
let hasLeftSlots;
|
|
642
|
-
let hasRightSlots;
|
|
643
|
-
let hasTitleSlots;
|
|
644
|
-
let largeTitle;
|
|
645
|
-
let hasTitleLargeSlots;
|
|
646
|
-
let addLeftTitleClass;
|
|
647
|
-
let addCenterTitleClass;
|
|
648
|
-
let isLarge;
|
|
649
|
-
let isTransparent;
|
|
650
|
-
let isTransparentVisible;
|
|
651
|
-
let classes;
|
|
652
|
-
let innerClasses;
|
|
653
|
-
|
|
654
|
-
const omit_props_names = [
|
|
655
|
-
"class","backLink","backLinkUrl","backLinkForce","backLinkShowText","sliding","title","subtitle","hidden","noShadow","noHairline","innerClass","innerClassName","large","largeTransparent","transparent","titleLarge","f7Slot","hide","show","size"
|
|
656
|
-
];
|
|
657
|
-
|
|
658
|
-
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
659
|
-
let { $$slots: slots = {}, $$scope } = $$props;
|
|
660
|
-
const $$slots = compute_slots(slots);
|
|
661
|
-
const emit = createEmitter(createEventDispatcher, $$props);
|
|
662
|
-
let { class: className = undefined } = $$props;
|
|
663
|
-
let { backLink = undefined } = $$props;
|
|
664
|
-
let { backLinkUrl = undefined } = $$props;
|
|
665
|
-
let { backLinkForce = false } = $$props;
|
|
666
|
-
let { backLinkShowText = undefined } = $$props;
|
|
667
|
-
let { sliding = true } = $$props;
|
|
668
|
-
let { title = undefined } = $$props;
|
|
669
|
-
let { subtitle = undefined } = $$props;
|
|
670
|
-
let { hidden = false } = $$props;
|
|
671
|
-
let { noShadow = false } = $$props;
|
|
672
|
-
let { noHairline = false } = $$props;
|
|
673
|
-
let { innerClass = undefined } = $$props;
|
|
674
|
-
let { innerClassName = undefined } = $$props;
|
|
675
|
-
let { large = false } = $$props;
|
|
676
|
-
let { largeTransparent = false } = $$props;
|
|
677
|
-
let { transparent = false } = $$props;
|
|
678
|
-
let { titleLarge = undefined } = $$props;
|
|
679
|
-
let { f7Slot = "fixed" } = $$props;
|
|
680
|
-
let el;
|
|
681
|
-
|
|
682
|
-
let theme = useTheme(t => {
|
|
683
|
-
$$invalidate(31, theme = t);
|
|
684
|
-
});
|
|
685
|
-
|
|
686
|
-
let routerPositionClass = "";
|
|
687
|
-
let largeCollapsed = false;
|
|
688
|
-
let routerNavbarRole = null;
|
|
689
|
-
let routerNavbarRoleDetailRoot = false;
|
|
690
|
-
let routerNavbarMasterStack = false;
|
|
691
|
-
let transparentVisible = false;
|
|
692
|
-
|
|
693
|
-
function hide(animate) {
|
|
694
|
-
app.f7.navbar.hide(el, animate);
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
function show(animate) {
|
|
698
|
-
app.f7.navbar.show(el, animate);
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
function size() {
|
|
702
|
-
app.f7.navbar.size(el);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
function onHide(navbarEl) {
|
|
706
|
-
if (el !== navbarEl) return;
|
|
707
|
-
emit("navbarHide");
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
function onShow(navbarEl) {
|
|
711
|
-
if (el !== navbarEl) return;
|
|
712
|
-
emit("navbarShow");
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
function onNavbarTransparentShow(navbarEl) {
|
|
716
|
-
if (el !== navbarEl) return;
|
|
717
|
-
$$invalidate(37, transparentVisible = true);
|
|
718
|
-
emit("navbarTransparentShow");
|
|
719
|
-
}
|
|
720
|
-
|
|
721
|
-
function onNavbarTransparentHide(navbarEl) {
|
|
722
|
-
if (el !== navbarEl) return;
|
|
723
|
-
$$invalidate(37, transparentVisible = false);
|
|
724
|
-
emit("navbarTransparentHide");
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
function onExpand(navbarEl) {
|
|
728
|
-
if (el !== navbarEl) return;
|
|
729
|
-
$$invalidate(33, largeCollapsed = false);
|
|
730
|
-
emit("navbarExpand");
|
|
731
|
-
}
|
|
732
|
-
|
|
733
|
-
function onCollapse(navbarEl) {
|
|
734
|
-
if (el !== navbarEl) return;
|
|
735
|
-
$$invalidate(33, largeCollapsed = true);
|
|
736
|
-
emit("navbarCollapse");
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
function onNavbarPosition(navbarEl, position) {
|
|
740
|
-
if (el !== navbarEl) return;
|
|
741
|
-
$$invalidate(32, routerPositionClass = position ? `navbar-${position}` : position);
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
function onNavbarRole(navbarEl, rolesData) {
|
|
745
|
-
if (el !== navbarEl) return;
|
|
746
|
-
$$invalidate(34, routerNavbarRole = rolesData.role);
|
|
747
|
-
$$invalidate(35, routerNavbarRoleDetailRoot = rolesData.detailRoot);
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
function onNavbarMasterStack(navbarEl) {
|
|
751
|
-
if (el !== navbarEl) return;
|
|
752
|
-
$$invalidate(36, routerNavbarMasterStack = true);
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
function onNavbarMasterUnstack(navbarEl) {
|
|
756
|
-
if (el !== navbarEl) return;
|
|
757
|
-
$$invalidate(36, routerNavbarMasterStack = false);
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
function onBackClick() {
|
|
761
|
-
emit("clickBack");
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
function mountNavbar() {
|
|
765
|
-
app.f7.on("navbarShow", onShow);
|
|
766
|
-
app.f7.on("navbarHide", onHide);
|
|
767
|
-
app.f7.on("navbarCollapse", onCollapse);
|
|
768
|
-
app.f7.on("navbarExpand", onExpand);
|
|
769
|
-
app.f7.on("navbarPosition", onNavbarPosition);
|
|
770
|
-
app.f7.on("navbarRole", onNavbarRole);
|
|
771
|
-
app.f7.on("navbarMasterStack", onNavbarMasterStack);
|
|
772
|
-
app.f7.on("navbarMasterUnstack", onNavbarMasterUnstack);
|
|
773
|
-
app.f7.on("navbarTransparentShow", onNavbarTransparentShow);
|
|
774
|
-
app.f7.on("navbarTransparentHide", onNavbarTransparentHide);
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
function destroyNavbar() {
|
|
778
|
-
app.f7.off("navbarShow", onShow);
|
|
779
|
-
app.f7.off("navbarHide", onHide);
|
|
780
|
-
app.f7.off("navbarCollapse", onCollapse);
|
|
781
|
-
app.f7.off("navbarExpand", onExpand);
|
|
782
|
-
app.f7.off("navbarPosition", onNavbarPosition);
|
|
783
|
-
app.f7.off("navbarRole", onNavbarRole);
|
|
784
|
-
app.f7.off("navbarMasterStack", onNavbarMasterStack);
|
|
785
|
-
app.f7.off("navbarMasterUnstack", onNavbarMasterUnstack);
|
|
786
|
-
app.f7.off("navbarTransparentShow", onNavbarTransparentShow);
|
|
787
|
-
app.f7.off("navbarTransparentHide", onNavbarTransparentHide);
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
onMount(() => {
|
|
791
|
-
f7ready(() => {
|
|
792
|
-
mountNavbar();
|
|
793
|
-
});
|
|
794
|
-
});
|
|
795
|
-
|
|
796
|
-
afterUpdate(() => {
|
|
797
|
-
if (!app.f7) return;
|
|
798
|
-
app.f7.navbar.size(el);
|
|
799
|
-
});
|
|
800
|
-
|
|
801
|
-
onDestroy(() => {
|
|
802
|
-
if (!app.f7) return;
|
|
803
|
-
destroyNavbar();
|
|
804
|
-
});
|
|
805
|
-
|
|
806
|
-
function div2_binding($$value) {
|
|
807
|
-
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
|
808
|
-
el = $$value;
|
|
809
|
-
$$invalidate(7, el);
|
|
810
|
-
});
|
|
811
|
-
}
|
|
812
|
-
|
|
813
|
-
$$self.$$set = $$new_props => {
|
|
814
|
-
$$invalidate(59, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
|
|
815
|
-
$$invalidate(16, $$restProps = compute_rest_props($$props, omit_props_names));
|
|
816
|
-
if ("class" in $$new_props) $$invalidate(17, className = $$new_props.class);
|
|
817
|
-
if ("backLink" in $$new_props) $$invalidate(0, backLink = $$new_props.backLink);
|
|
818
|
-
if ("backLinkUrl" in $$new_props) $$invalidate(1, backLinkUrl = $$new_props.backLinkUrl);
|
|
819
|
-
if ("backLinkForce" in $$new_props) $$invalidate(2, backLinkForce = $$new_props.backLinkForce);
|
|
820
|
-
if ("backLinkShowText" in $$new_props) $$invalidate(3, backLinkShowText = $$new_props.backLinkShowText);
|
|
821
|
-
if ("sliding" in $$new_props) $$invalidate(18, sliding = $$new_props.sliding);
|
|
822
|
-
if ("title" in $$new_props) $$invalidate(4, title = $$new_props.title);
|
|
823
|
-
if ("subtitle" in $$new_props) $$invalidate(5, subtitle = $$new_props.subtitle);
|
|
824
|
-
if ("hidden" in $$new_props) $$invalidate(19, hidden = $$new_props.hidden);
|
|
825
|
-
if ("noShadow" in $$new_props) $$invalidate(20, noShadow = $$new_props.noShadow);
|
|
826
|
-
if ("noHairline" in $$new_props) $$invalidate(21, noHairline = $$new_props.noHairline);
|
|
827
|
-
if ("innerClass" in $$new_props) $$invalidate(22, innerClass = $$new_props.innerClass);
|
|
828
|
-
if ("innerClassName" in $$new_props) $$invalidate(23, innerClassName = $$new_props.innerClassName);
|
|
829
|
-
if ("large" in $$new_props) $$invalidate(24, large = $$new_props.large);
|
|
830
|
-
if ("largeTransparent" in $$new_props) $$invalidate(25, largeTransparent = $$new_props.largeTransparent);
|
|
831
|
-
if ("transparent" in $$new_props) $$invalidate(26, transparent = $$new_props.transparent);
|
|
832
|
-
if ("titleLarge" in $$new_props) $$invalidate(27, titleLarge = $$new_props.titleLarge);
|
|
833
|
-
if ("f7Slot" in $$new_props) $$invalidate(6, f7Slot = $$new_props.f7Slot);
|
|
834
|
-
if ("$$scope" in $$new_props) $$invalidate(45, $$scope = $$new_props.$$scope);
|
|
835
|
-
};
|
|
836
|
-
|
|
837
|
-
$$self.$$.update = () => {
|
|
838
|
-
if ($$self.$$.dirty[0] & /*titleLarge, large, title*/ 150994960) {
|
|
839
|
-
$: $$invalidate(11, largeTitle = titleLarge || large && title);
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
if ($$self.$$.dirty[1] & /*theme*/ 1) {
|
|
843
|
-
$: $$invalidate(38, addLeftTitleClass = theme && theme.ios && app.f7 && !app.f7.params.navbar.iosCenterTitle);
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
if ($$self.$$.dirty[1] & /*theme*/ 1) {
|
|
847
|
-
$: $$invalidate(39, addCenterTitleClass = theme && theme.md && app.f7 && app.f7.params.navbar.mdCenterTitle || theme && theme.aurora && app.f7 && app.f7.params.navbar.auroraCenterTitle);
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
if ($$self.$$.dirty[0] & /*large, largeTransparent*/ 50331648) {
|
|
851
|
-
$: $$invalidate(40, isLarge = large || largeTransparent);
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
if ($$self.$$.dirty[0] & /*transparent, largeTransparent*/ 100663296 | $$self.$$.dirty[1] & /*isLarge*/ 512) {
|
|
855
|
-
$: $$invalidate(41, isTransparent = transparent || isLarge && largeTransparent);
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
if ($$self.$$.dirty[1] & /*isTransparent, transparentVisible*/ 1088) {
|
|
859
|
-
$: $$invalidate(42, isTransparentVisible = isTransparent && transparentVisible);
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
$: $$invalidate(13, classes = classNames(
|
|
863
|
-
className,
|
|
864
|
-
"navbar",
|
|
865
|
-
routerPositionClass,
|
|
866
|
-
{
|
|
867
|
-
"navbar-hidden": hidden,
|
|
868
|
-
"navbar-large": isLarge,
|
|
869
|
-
"navbar-large-collapsed": isLarge && largeCollapsed,
|
|
870
|
-
"navbar-transparent": isTransparent,
|
|
871
|
-
"navbar-transparent-visible": isTransparentVisible,
|
|
872
|
-
"navbar-master": routerNavbarRole === "master",
|
|
873
|
-
"navbar-master-detail": routerNavbarRole === "detail",
|
|
874
|
-
"navbar-master-detail-root": routerNavbarRoleDetailRoot === true,
|
|
875
|
-
"navbar-master-stacked": routerNavbarMasterStack === true,
|
|
876
|
-
"no-shadow": noShadow,
|
|
877
|
-
"no-hairline": noHairline
|
|
878
|
-
},
|
|
879
|
-
colorClasses($$props)
|
|
880
|
-
));
|
|
881
|
-
|
|
882
|
-
if ($$self.$$.dirty[0] & /*innerClass, innerClassName, sliding*/ 12845056 | $$self.$$.dirty[1] & /*addLeftTitleClass, addCenterTitleClass*/ 384) {
|
|
883
|
-
$: $$invalidate(14, innerClasses = classNames("navbar-inner", innerClass, innerClassName, {
|
|
884
|
-
sliding,
|
|
885
|
-
"navbar-inner-left-title": addLeftTitleClass,
|
|
886
|
-
"navbar-inner-centered-title": addCenterTitleClass
|
|
887
|
-
}));
|
|
888
|
-
}
|
|
889
|
-
};
|
|
890
|
-
|
|
891
|
-
$: $$invalidate(8, hasLeftSlots = $$slots["nav-left"] || $$slots["left"]);
|
|
892
|
-
|
|
893
|
-
// eslint-disable-next-line
|
|
894
|
-
$: $$invalidate(9, hasRightSlots = $$slots["nav-right"] || $$slots["right"]);
|
|
895
|
-
|
|
896
|
-
// eslint-disable-next-line
|
|
897
|
-
$: $$invalidate(10, hasTitleSlots = $$slots["title"]);
|
|
898
|
-
|
|
899
|
-
// eslint-disable-next-line
|
|
900
|
-
$: $$invalidate(12, hasTitleLargeSlots = $$slots["title-large"]);
|
|
901
|
-
|
|
902
|
-
$$props = exclude_internal_props($$props);
|
|
903
|
-
|
|
904
|
-
return [
|
|
905
|
-
backLink,
|
|
906
|
-
backLinkUrl,
|
|
907
|
-
backLinkForce,
|
|
908
|
-
backLinkShowText,
|
|
909
|
-
title,
|
|
910
|
-
subtitle,
|
|
911
|
-
f7Slot,
|
|
912
|
-
el,
|
|
913
|
-
hasLeftSlots,
|
|
914
|
-
hasRightSlots,
|
|
915
|
-
hasTitleSlots,
|
|
916
|
-
largeTitle,
|
|
917
|
-
hasTitleLargeSlots,
|
|
918
|
-
classes,
|
|
919
|
-
innerClasses,
|
|
920
|
-
onBackClick,
|
|
921
|
-
$$restProps,
|
|
922
|
-
className,
|
|
923
|
-
sliding,
|
|
924
|
-
hidden,
|
|
925
|
-
noShadow,
|
|
926
|
-
noHairline,
|
|
927
|
-
innerClass,
|
|
928
|
-
innerClassName,
|
|
929
|
-
large,
|
|
930
|
-
largeTransparent,
|
|
931
|
-
transparent,
|
|
932
|
-
titleLarge,
|
|
933
|
-
hide,
|
|
934
|
-
show,
|
|
935
|
-
size,
|
|
936
|
-
theme,
|
|
937
|
-
routerPositionClass,
|
|
938
|
-
largeCollapsed,
|
|
939
|
-
routerNavbarRole,
|
|
940
|
-
routerNavbarRoleDetailRoot,
|
|
941
|
-
routerNavbarMasterStack,
|
|
942
|
-
transparentVisible,
|
|
943
|
-
addLeftTitleClass,
|
|
944
|
-
addCenterTitleClass,
|
|
945
|
-
isLarge,
|
|
946
|
-
isTransparent,
|
|
947
|
-
isTransparentVisible,
|
|
948
|
-
slots,
|
|
949
|
-
div2_binding,
|
|
950
|
-
$$scope
|
|
951
|
-
];
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
class Navbar extends SvelteComponent {
|
|
955
|
-
constructor(options) {
|
|
956
|
-
super();
|
|
957
|
-
|
|
958
|
-
init(
|
|
959
|
-
this,
|
|
960
|
-
options,
|
|
961
|
-
instance,
|
|
962
|
-
create_fragment,
|
|
963
|
-
safe_not_equal,
|
|
964
|
-
{
|
|
965
|
-
class: 17,
|
|
966
|
-
backLink: 0,
|
|
967
|
-
backLinkUrl: 1,
|
|
968
|
-
backLinkForce: 2,
|
|
969
|
-
backLinkShowText: 3,
|
|
970
|
-
sliding: 18,
|
|
971
|
-
title: 4,
|
|
972
|
-
subtitle: 5,
|
|
973
|
-
hidden: 19,
|
|
974
|
-
noShadow: 20,
|
|
975
|
-
noHairline: 21,
|
|
976
|
-
innerClass: 22,
|
|
977
|
-
innerClassName: 23,
|
|
978
|
-
large: 24,
|
|
979
|
-
largeTransparent: 25,
|
|
980
|
-
transparent: 26,
|
|
981
|
-
titleLarge: 27,
|
|
982
|
-
f7Slot: 6,
|
|
983
|
-
hide: 28,
|
|
984
|
-
show: 29,
|
|
985
|
-
size: 30
|
|
986
|
-
},
|
|
987
|
-
[-1, -1]
|
|
988
|
-
);
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
get hide() {
|
|
992
|
-
return this.$$.ctx[28];
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
get show() {
|
|
996
|
-
return this.$$.ctx[29];
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
get size() {
|
|
1000
|
-
return this.$$.ctx[30];
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
exports.default = Navbar;
|