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
|
@@ -1,1291 +0,0 @@
|
|
|
1
|
-
/* message.svelte generated by Svelte v3.38.2 */
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
const { HtmlTag, SvelteComponent, append, assign, attr, check_outros, compute_rest_props, compute_slots, create_slot, detach, element, empty, exclude_internal_props, get_spread_update, group_outros, init, insert, listen, run_all, safe_not_equal, set_attributes, set_data, space, text: text_1, transition_in, transition_out, update_slot } = require("svelte/internal");
|
|
5
|
-
const { createEventDispatcher } = 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 get_end_slot_changes = dirty => ({});
|
|
10
|
-
const get_end_slot_context = ctx => ({});
|
|
11
|
-
const get_content_end_slot_changes = dirty => ({});
|
|
12
|
-
const get_content_end_slot_context = ctx => ({});
|
|
13
|
-
const get_footer_slot_changes = dirty => ({});
|
|
14
|
-
const get_footer_slot_context = ctx => ({});
|
|
15
|
-
const get_bubble_end_slot_changes = dirty => ({});
|
|
16
|
-
const get_bubble_end_slot_context = ctx => ({});
|
|
17
|
-
const get_text_footer_slot_changes = dirty => ({});
|
|
18
|
-
const get_text_footer_slot_context = ctx => ({});
|
|
19
|
-
const get_text_slot_changes = dirty => ({});
|
|
20
|
-
const get_text_slot_context = ctx => ({});
|
|
21
|
-
const get_text_header_slot_changes = dirty => ({});
|
|
22
|
-
const get_text_header_slot_context = ctx => ({});
|
|
23
|
-
const get_image_slot_changes = dirty => ({});
|
|
24
|
-
const get_image_slot_context = ctx => ({});
|
|
25
|
-
const get_bubble_start_slot_changes = dirty => ({});
|
|
26
|
-
const get_bubble_start_slot_context = ctx => ({});
|
|
27
|
-
const get_header_slot_changes = dirty => ({});
|
|
28
|
-
const get_header_slot_context = ctx => ({});
|
|
29
|
-
const get_name_slot_changes = dirty => ({});
|
|
30
|
-
const get_name_slot_context = ctx => ({});
|
|
31
|
-
const get_content_start_slot_changes = dirty => ({});
|
|
32
|
-
const get_content_start_slot_context = ctx => ({});
|
|
33
|
-
const get_avatar_slot_changes = dirty => ({});
|
|
34
|
-
const get_avatar_slot_context = ctx => ({});
|
|
35
|
-
const get_start_slot_changes = dirty => ({});
|
|
36
|
-
const get_start_slot_context = ctx => ({});
|
|
37
|
-
|
|
38
|
-
// (91:2) {#if avatar || hasAvatarSlots}
|
|
39
|
-
function create_if_block_10(ctx) {
|
|
40
|
-
let div;
|
|
41
|
-
let div_style_value;
|
|
42
|
-
let current;
|
|
43
|
-
let mounted;
|
|
44
|
-
let dispose;
|
|
45
|
-
const avatar_slot_template = /*#slots*/ ctx[37].avatar;
|
|
46
|
-
const avatar_slot = create_slot(avatar_slot_template, ctx, /*$$scope*/ ctx[36], get_avatar_slot_context);
|
|
47
|
-
|
|
48
|
-
return {
|
|
49
|
-
c() {
|
|
50
|
-
div = element("div");
|
|
51
|
-
if (avatar_slot) avatar_slot.c();
|
|
52
|
-
attr(div, "class", "message-avatar");
|
|
53
|
-
|
|
54
|
-
attr(div, "style", div_style_value = /*avatar*/ ctx[3]
|
|
55
|
-
? `background-image: url(${/*avatar*/ ctx[3]})`
|
|
56
|
-
: undefined);
|
|
57
|
-
},
|
|
58
|
-
m(target, anchor) {
|
|
59
|
-
insert(target, div, anchor);
|
|
60
|
-
|
|
61
|
-
if (avatar_slot) {
|
|
62
|
-
avatar_slot.m(div, null);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
current = true;
|
|
66
|
-
|
|
67
|
-
if (!mounted) {
|
|
68
|
-
dispose = listen(div, "click", /*onAvatarClick*/ ctx[22]);
|
|
69
|
-
mounted = true;
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
p(ctx, dirty) {
|
|
73
|
-
if (avatar_slot) {
|
|
74
|
-
if (avatar_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
75
|
-
update_slot(avatar_slot, avatar_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_avatar_slot_changes, get_avatar_slot_context);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (!current || dirty[0] & /*avatar*/ 8 && div_style_value !== (div_style_value = /*avatar*/ ctx[3]
|
|
80
|
-
? `background-image: url(${/*avatar*/ ctx[3]})`
|
|
81
|
-
: undefined)) {
|
|
82
|
-
attr(div, "style", div_style_value);
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
i(local) {
|
|
86
|
-
if (current) return;
|
|
87
|
-
transition_in(avatar_slot, local);
|
|
88
|
-
current = true;
|
|
89
|
-
},
|
|
90
|
-
o(local) {
|
|
91
|
-
transition_out(avatar_slot, local);
|
|
92
|
-
current = false;
|
|
93
|
-
},
|
|
94
|
-
d(detaching) {
|
|
95
|
-
if (detaching) detach(div);
|
|
96
|
-
if (avatar_slot) avatar_slot.d(detaching);
|
|
97
|
-
mounted = false;
|
|
98
|
-
dispose();
|
|
99
|
-
}
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// (102:4) {#if hasNameSlots || name}
|
|
104
|
-
function create_if_block_9(ctx) {
|
|
105
|
-
let div;
|
|
106
|
-
let t0_value = plainText(/*name*/ ctx[2]) + "";
|
|
107
|
-
let t0;
|
|
108
|
-
let t1;
|
|
109
|
-
let current;
|
|
110
|
-
let mounted;
|
|
111
|
-
let dispose;
|
|
112
|
-
const name_slot_template = /*#slots*/ ctx[37].name;
|
|
113
|
-
const name_slot = create_slot(name_slot_template, ctx, /*$$scope*/ ctx[36], get_name_slot_context);
|
|
114
|
-
|
|
115
|
-
return {
|
|
116
|
-
c() {
|
|
117
|
-
div = element("div");
|
|
118
|
-
t0 = text_1(t0_value);
|
|
119
|
-
t1 = space();
|
|
120
|
-
if (name_slot) name_slot.c();
|
|
121
|
-
attr(div, "class", "message-name");
|
|
122
|
-
},
|
|
123
|
-
m(target, anchor) {
|
|
124
|
-
insert(target, div, anchor);
|
|
125
|
-
append(div, t0);
|
|
126
|
-
append(div, t1);
|
|
127
|
-
|
|
128
|
-
if (name_slot) {
|
|
129
|
-
name_slot.m(div, null);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
current = true;
|
|
133
|
-
|
|
134
|
-
if (!mounted) {
|
|
135
|
-
dispose = listen(div, "click", /*onNameClick*/ ctx[20]);
|
|
136
|
-
mounted = true;
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
p(ctx, dirty) {
|
|
140
|
-
if ((!current || dirty[0] & /*name*/ 4) && t0_value !== (t0_value = plainText(/*name*/ ctx[2]) + "")) set_data(t0, t0_value);
|
|
141
|
-
|
|
142
|
-
if (name_slot) {
|
|
143
|
-
if (name_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
144
|
-
update_slot(name_slot, name_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_name_slot_changes, get_name_slot_context);
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
i(local) {
|
|
149
|
-
if (current) return;
|
|
150
|
-
transition_in(name_slot, local);
|
|
151
|
-
current = true;
|
|
152
|
-
},
|
|
153
|
-
o(local) {
|
|
154
|
-
transition_out(name_slot, local);
|
|
155
|
-
current = false;
|
|
156
|
-
},
|
|
157
|
-
d(detaching) {
|
|
158
|
-
if (detaching) detach(div);
|
|
159
|
-
if (name_slot) name_slot.d(detaching);
|
|
160
|
-
mounted = false;
|
|
161
|
-
dispose();
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
// (108:4) {#if hasHeaderSlots || header}
|
|
167
|
-
function create_if_block_8(ctx) {
|
|
168
|
-
let div;
|
|
169
|
-
let t0_value = plainText(/*header*/ ctx[5]) + "";
|
|
170
|
-
let t0;
|
|
171
|
-
let t1;
|
|
172
|
-
let current;
|
|
173
|
-
let mounted;
|
|
174
|
-
let dispose;
|
|
175
|
-
const header_slot_template = /*#slots*/ ctx[37].header;
|
|
176
|
-
const header_slot = create_slot(header_slot_template, ctx, /*$$scope*/ ctx[36], get_header_slot_context);
|
|
177
|
-
|
|
178
|
-
return {
|
|
179
|
-
c() {
|
|
180
|
-
div = element("div");
|
|
181
|
-
t0 = text_1(t0_value);
|
|
182
|
-
t1 = space();
|
|
183
|
-
if (header_slot) header_slot.c();
|
|
184
|
-
attr(div, "class", "message-header");
|
|
185
|
-
},
|
|
186
|
-
m(target, anchor) {
|
|
187
|
-
insert(target, div, anchor);
|
|
188
|
-
append(div, t0);
|
|
189
|
-
append(div, t1);
|
|
190
|
-
|
|
191
|
-
if (header_slot) {
|
|
192
|
-
header_slot.m(div, null);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
current = true;
|
|
196
|
-
|
|
197
|
-
if (!mounted) {
|
|
198
|
-
dispose = listen(div, "click", /*onHeaderClick*/ ctx[23]);
|
|
199
|
-
mounted = true;
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
p(ctx, dirty) {
|
|
203
|
-
if ((!current || dirty[0] & /*header*/ 32) && t0_value !== (t0_value = plainText(/*header*/ ctx[5]) + "")) set_data(t0, t0_value);
|
|
204
|
-
|
|
205
|
-
if (header_slot) {
|
|
206
|
-
if (header_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
207
|
-
update_slot(header_slot, header_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_header_slot_changes, get_header_slot_context);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
i(local) {
|
|
212
|
-
if (current) return;
|
|
213
|
-
transition_in(header_slot, local);
|
|
214
|
-
current = true;
|
|
215
|
-
},
|
|
216
|
-
o(local) {
|
|
217
|
-
transition_out(header_slot, local);
|
|
218
|
-
current = false;
|
|
219
|
-
},
|
|
220
|
-
d(detaching) {
|
|
221
|
-
if (detaching) detach(div);
|
|
222
|
-
if (header_slot) header_slot.d(detaching);
|
|
223
|
-
mounted = false;
|
|
224
|
-
dispose();
|
|
225
|
-
}
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
// (116:6) {#if hasImageSlots || image}
|
|
230
|
-
function create_if_block_6(ctx) {
|
|
231
|
-
let div;
|
|
232
|
-
let t;
|
|
233
|
-
let current;
|
|
234
|
-
let if_block = /*image*/ ctx[4] && create_if_block_7(ctx);
|
|
235
|
-
const image_slot_template = /*#slots*/ ctx[37].image;
|
|
236
|
-
const image_slot = create_slot(image_slot_template, ctx, /*$$scope*/ ctx[36], get_image_slot_context);
|
|
237
|
-
|
|
238
|
-
return {
|
|
239
|
-
c() {
|
|
240
|
-
div = element("div");
|
|
241
|
-
if (if_block) if_block.c();
|
|
242
|
-
t = space();
|
|
243
|
-
if (image_slot) image_slot.c();
|
|
244
|
-
attr(div, "class", "message-image");
|
|
245
|
-
},
|
|
246
|
-
m(target, anchor) {
|
|
247
|
-
insert(target, div, anchor);
|
|
248
|
-
if (if_block) if_block.m(div, null);
|
|
249
|
-
append(div, t);
|
|
250
|
-
|
|
251
|
-
if (image_slot) {
|
|
252
|
-
image_slot.m(div, null);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
current = true;
|
|
256
|
-
},
|
|
257
|
-
p(ctx, dirty) {
|
|
258
|
-
if (/*image*/ ctx[4]) {
|
|
259
|
-
if (if_block) {
|
|
260
|
-
if_block.p(ctx, dirty);
|
|
261
|
-
} else {
|
|
262
|
-
if_block = create_if_block_7(ctx);
|
|
263
|
-
if_block.c();
|
|
264
|
-
if_block.m(div, t);
|
|
265
|
-
}
|
|
266
|
-
} else if (if_block) {
|
|
267
|
-
if_block.d(1);
|
|
268
|
-
if_block = null;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
if (image_slot) {
|
|
272
|
-
if (image_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
273
|
-
update_slot(image_slot, image_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_image_slot_changes, get_image_slot_context);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
i(local) {
|
|
278
|
-
if (current) return;
|
|
279
|
-
transition_in(image_slot, local);
|
|
280
|
-
current = true;
|
|
281
|
-
},
|
|
282
|
-
o(local) {
|
|
283
|
-
transition_out(image_slot, local);
|
|
284
|
-
current = false;
|
|
285
|
-
},
|
|
286
|
-
d(detaching) {
|
|
287
|
-
if (detaching) detach(div);
|
|
288
|
-
if (if_block) if_block.d();
|
|
289
|
-
if (image_slot) image_slot.d(detaching);
|
|
290
|
-
}
|
|
291
|
-
};
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
// (118:10) {#if image}
|
|
295
|
-
function create_if_block_7(ctx) {
|
|
296
|
-
let img;
|
|
297
|
-
let img_src_value;
|
|
298
|
-
|
|
299
|
-
return {
|
|
300
|
-
c() {
|
|
301
|
-
img = element("img");
|
|
302
|
-
if (img.src !== (img_src_value = /*image*/ ctx[4])) attr(img, "src", img_src_value);
|
|
303
|
-
},
|
|
304
|
-
m(target, anchor) {
|
|
305
|
-
insert(target, img, anchor);
|
|
306
|
-
},
|
|
307
|
-
p(ctx, dirty) {
|
|
308
|
-
if (dirty[0] & /*image*/ 16 && img.src !== (img_src_value = /*image*/ ctx[4])) {
|
|
309
|
-
attr(img, "src", img_src_value);
|
|
310
|
-
}
|
|
311
|
-
},
|
|
312
|
-
d(detaching) {
|
|
313
|
-
if (detaching) detach(img);
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
// (124:6) {#if hasTextHeaderSlots || textHeader}
|
|
319
|
-
function create_if_block_5(ctx) {
|
|
320
|
-
let div;
|
|
321
|
-
let t0_value = plainText(/*textHeader*/ ctx[7]) + "";
|
|
322
|
-
let t0;
|
|
323
|
-
let t1;
|
|
324
|
-
let current;
|
|
325
|
-
const text_header_slot_template = /*#slots*/ ctx[37]["text-header"];
|
|
326
|
-
const text_header_slot = create_slot(text_header_slot_template, ctx, /*$$scope*/ ctx[36], get_text_header_slot_context);
|
|
327
|
-
|
|
328
|
-
return {
|
|
329
|
-
c() {
|
|
330
|
-
div = element("div");
|
|
331
|
-
t0 = text_1(t0_value);
|
|
332
|
-
t1 = space();
|
|
333
|
-
if (text_header_slot) text_header_slot.c();
|
|
334
|
-
attr(div, "class", "message-text-header");
|
|
335
|
-
},
|
|
336
|
-
m(target, anchor) {
|
|
337
|
-
insert(target, div, anchor);
|
|
338
|
-
append(div, t0);
|
|
339
|
-
append(div, t1);
|
|
340
|
-
|
|
341
|
-
if (text_header_slot) {
|
|
342
|
-
text_header_slot.m(div, null);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
current = true;
|
|
346
|
-
},
|
|
347
|
-
p(ctx, dirty) {
|
|
348
|
-
if ((!current || dirty[0] & /*textHeader*/ 128) && t0_value !== (t0_value = plainText(/*textHeader*/ ctx[7]) + "")) set_data(t0, t0_value);
|
|
349
|
-
|
|
350
|
-
if (text_header_slot) {
|
|
351
|
-
if (text_header_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
352
|
-
update_slot(text_header_slot, text_header_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_text_header_slot_changes, get_text_header_slot_context);
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
i(local) {
|
|
357
|
-
if (current) return;
|
|
358
|
-
transition_in(text_header_slot, local);
|
|
359
|
-
current = true;
|
|
360
|
-
},
|
|
361
|
-
o(local) {
|
|
362
|
-
transition_out(text_header_slot, local);
|
|
363
|
-
current = false;
|
|
364
|
-
},
|
|
365
|
-
d(detaching) {
|
|
366
|
-
if (detaching) detach(div);
|
|
367
|
-
if (text_header_slot) text_header_slot.d(detaching);
|
|
368
|
-
}
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
// (130:6) {#if hasTextSlots || text || htmlText || typing}
|
|
373
|
-
function create_if_block_2(ctx) {
|
|
374
|
-
let div;
|
|
375
|
-
let t0_value = plainText(/*text*/ ctx[0]) + "";
|
|
376
|
-
let t0;
|
|
377
|
-
let t1;
|
|
378
|
-
let t2;
|
|
379
|
-
let t3;
|
|
380
|
-
let current;
|
|
381
|
-
let mounted;
|
|
382
|
-
let dispose;
|
|
383
|
-
let if_block0 = /*htmlText*/ ctx[1] && create_if_block_4(ctx);
|
|
384
|
-
const text_slot_template = /*#slots*/ ctx[37].text;
|
|
385
|
-
const text_slot = create_slot(text_slot_template, ctx, /*$$scope*/ ctx[36], get_text_slot_context);
|
|
386
|
-
let if_block1 = /*typing*/ ctx[9] && create_if_block_3(ctx);
|
|
387
|
-
|
|
388
|
-
return {
|
|
389
|
-
c() {
|
|
390
|
-
div = element("div");
|
|
391
|
-
t0 = text_1(t0_value);
|
|
392
|
-
t1 = space();
|
|
393
|
-
if (if_block0) if_block0.c();
|
|
394
|
-
t2 = space();
|
|
395
|
-
if (text_slot) text_slot.c();
|
|
396
|
-
t3 = space();
|
|
397
|
-
if (if_block1) if_block1.c();
|
|
398
|
-
attr(div, "class", "message-text");
|
|
399
|
-
},
|
|
400
|
-
m(target, anchor) {
|
|
401
|
-
insert(target, div, anchor);
|
|
402
|
-
append(div, t0);
|
|
403
|
-
append(div, t1);
|
|
404
|
-
if (if_block0) if_block0.m(div, null);
|
|
405
|
-
append(div, t2);
|
|
406
|
-
|
|
407
|
-
if (text_slot) {
|
|
408
|
-
text_slot.m(div, null);
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
append(div, t3);
|
|
412
|
-
if (if_block1) if_block1.m(div, null);
|
|
413
|
-
current = true;
|
|
414
|
-
|
|
415
|
-
if (!mounted) {
|
|
416
|
-
dispose = listen(div, "click", /*onTextClick*/ ctx[21]);
|
|
417
|
-
mounted = true;
|
|
418
|
-
}
|
|
419
|
-
},
|
|
420
|
-
p(ctx, dirty) {
|
|
421
|
-
if ((!current || dirty[0] & /*text*/ 1) && t0_value !== (t0_value = plainText(/*text*/ ctx[0]) + "")) set_data(t0, t0_value);
|
|
422
|
-
|
|
423
|
-
if (/*htmlText*/ ctx[1]) {
|
|
424
|
-
if (if_block0) {
|
|
425
|
-
if_block0.p(ctx, dirty);
|
|
426
|
-
} else {
|
|
427
|
-
if_block0 = create_if_block_4(ctx);
|
|
428
|
-
if_block0.c();
|
|
429
|
-
if_block0.m(div, t2);
|
|
430
|
-
}
|
|
431
|
-
} else if (if_block0) {
|
|
432
|
-
if_block0.d(1);
|
|
433
|
-
if_block0 = null;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
if (text_slot) {
|
|
437
|
-
if (text_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
438
|
-
update_slot(text_slot, text_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_text_slot_changes, get_text_slot_context);
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
if (/*typing*/ ctx[9]) {
|
|
443
|
-
if (if_block1) {
|
|
444
|
-
|
|
445
|
-
} else {
|
|
446
|
-
if_block1 = create_if_block_3(ctx);
|
|
447
|
-
if_block1.c();
|
|
448
|
-
if_block1.m(div, null);
|
|
449
|
-
}
|
|
450
|
-
} else if (if_block1) {
|
|
451
|
-
if_block1.d(1);
|
|
452
|
-
if_block1 = null;
|
|
453
|
-
}
|
|
454
|
-
},
|
|
455
|
-
i(local) {
|
|
456
|
-
if (current) return;
|
|
457
|
-
transition_in(text_slot, local);
|
|
458
|
-
current = true;
|
|
459
|
-
},
|
|
460
|
-
o(local) {
|
|
461
|
-
transition_out(text_slot, local);
|
|
462
|
-
current = false;
|
|
463
|
-
},
|
|
464
|
-
d(detaching) {
|
|
465
|
-
if (detaching) detach(div);
|
|
466
|
-
if (if_block0) if_block0.d();
|
|
467
|
-
if (text_slot) text_slot.d(detaching);
|
|
468
|
-
if (if_block1) if_block1.d();
|
|
469
|
-
mounted = false;
|
|
470
|
-
dispose();
|
|
471
|
-
}
|
|
472
|
-
};
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
// (133:10) {#if htmlText}
|
|
476
|
-
function create_if_block_4(ctx) {
|
|
477
|
-
let html_tag;
|
|
478
|
-
let html_anchor;
|
|
479
|
-
|
|
480
|
-
return {
|
|
481
|
-
c() {
|
|
482
|
-
html_anchor = empty();
|
|
483
|
-
html_tag = new HtmlTag(html_anchor);
|
|
484
|
-
},
|
|
485
|
-
m(target, anchor) {
|
|
486
|
-
html_tag.m(/*htmlText*/ ctx[1], target, anchor);
|
|
487
|
-
insert(target, html_anchor, anchor);
|
|
488
|
-
},
|
|
489
|
-
p(ctx, dirty) {
|
|
490
|
-
if (dirty[0] & /*htmlText*/ 2) html_tag.p(/*htmlText*/ ctx[1]);
|
|
491
|
-
},
|
|
492
|
-
d(detaching) {
|
|
493
|
-
if (detaching) detach(html_anchor);
|
|
494
|
-
if (detaching) html_tag.d();
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
// (135:10) {#if typing}
|
|
500
|
-
function create_if_block_3(ctx) {
|
|
501
|
-
let div3;
|
|
502
|
-
|
|
503
|
-
return {
|
|
504
|
-
c() {
|
|
505
|
-
div3 = element("div");
|
|
506
|
-
|
|
507
|
-
div3.innerHTML = `<div></div>
|
|
508
|
-
<div></div>
|
|
509
|
-
<div></div>`;
|
|
510
|
-
|
|
511
|
-
attr(div3, "class", "message-typing-indicator");
|
|
512
|
-
},
|
|
513
|
-
m(target, anchor) {
|
|
514
|
-
insert(target, div3, anchor);
|
|
515
|
-
},
|
|
516
|
-
d(detaching) {
|
|
517
|
-
if (detaching) detach(div3);
|
|
518
|
-
}
|
|
519
|
-
};
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
// (144:6) {#if hasTextFooterSlots || textFooter}
|
|
523
|
-
function create_if_block_1(ctx) {
|
|
524
|
-
let div;
|
|
525
|
-
let t0_value = plainText(/*textFooter*/ ctx[8]) + "";
|
|
526
|
-
let t0;
|
|
527
|
-
let t1;
|
|
528
|
-
let current;
|
|
529
|
-
const text_footer_slot_template = /*#slots*/ ctx[37]["text-footer"];
|
|
530
|
-
const text_footer_slot = create_slot(text_footer_slot_template, ctx, /*$$scope*/ ctx[36], get_text_footer_slot_context);
|
|
531
|
-
|
|
532
|
-
return {
|
|
533
|
-
c() {
|
|
534
|
-
div = element("div");
|
|
535
|
-
t0 = text_1(t0_value);
|
|
536
|
-
t1 = space();
|
|
537
|
-
if (text_footer_slot) text_footer_slot.c();
|
|
538
|
-
attr(div, "class", "message-text-footer");
|
|
539
|
-
},
|
|
540
|
-
m(target, anchor) {
|
|
541
|
-
insert(target, div, anchor);
|
|
542
|
-
append(div, t0);
|
|
543
|
-
append(div, t1);
|
|
544
|
-
|
|
545
|
-
if (text_footer_slot) {
|
|
546
|
-
text_footer_slot.m(div, null);
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
current = true;
|
|
550
|
-
},
|
|
551
|
-
p(ctx, dirty) {
|
|
552
|
-
if ((!current || dirty[0] & /*textFooter*/ 256) && t0_value !== (t0_value = plainText(/*textFooter*/ ctx[8]) + "")) set_data(t0, t0_value);
|
|
553
|
-
|
|
554
|
-
if (text_footer_slot) {
|
|
555
|
-
if (text_footer_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
556
|
-
update_slot(text_footer_slot, text_footer_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_text_footer_slot_changes, get_text_footer_slot_context);
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
i(local) {
|
|
561
|
-
if (current) return;
|
|
562
|
-
transition_in(text_footer_slot, local);
|
|
563
|
-
current = true;
|
|
564
|
-
},
|
|
565
|
-
o(local) {
|
|
566
|
-
transition_out(text_footer_slot, local);
|
|
567
|
-
current = false;
|
|
568
|
-
},
|
|
569
|
-
d(detaching) {
|
|
570
|
-
if (detaching) detach(div);
|
|
571
|
-
if (text_footer_slot) text_footer_slot.d(detaching);
|
|
572
|
-
}
|
|
573
|
-
};
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
// (153:4) {#if hasFooterSlots || footer}
|
|
577
|
-
function create_if_block(ctx) {
|
|
578
|
-
let div;
|
|
579
|
-
let t0_value = plainText(/*footer*/ ctx[6]) + "";
|
|
580
|
-
let t0;
|
|
581
|
-
let t1;
|
|
582
|
-
let current;
|
|
583
|
-
let mounted;
|
|
584
|
-
let dispose;
|
|
585
|
-
const footer_slot_template = /*#slots*/ ctx[37].footer;
|
|
586
|
-
const footer_slot = create_slot(footer_slot_template, ctx, /*$$scope*/ ctx[36], get_footer_slot_context);
|
|
587
|
-
|
|
588
|
-
return {
|
|
589
|
-
c() {
|
|
590
|
-
div = element("div");
|
|
591
|
-
t0 = text_1(t0_value);
|
|
592
|
-
t1 = space();
|
|
593
|
-
if (footer_slot) footer_slot.c();
|
|
594
|
-
attr(div, "class", "message-footer");
|
|
595
|
-
},
|
|
596
|
-
m(target, anchor) {
|
|
597
|
-
insert(target, div, anchor);
|
|
598
|
-
append(div, t0);
|
|
599
|
-
append(div, t1);
|
|
600
|
-
|
|
601
|
-
if (footer_slot) {
|
|
602
|
-
footer_slot.m(div, null);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
current = true;
|
|
606
|
-
|
|
607
|
-
if (!mounted) {
|
|
608
|
-
dispose = listen(div, "click", /*onFooterClick*/ ctx[24]);
|
|
609
|
-
mounted = true;
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
p(ctx, dirty) {
|
|
613
|
-
if ((!current || dirty[0] & /*footer*/ 64) && t0_value !== (t0_value = plainText(/*footer*/ ctx[6]) + "")) set_data(t0, t0_value);
|
|
614
|
-
|
|
615
|
-
if (footer_slot) {
|
|
616
|
-
if (footer_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
617
|
-
update_slot(footer_slot, footer_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_footer_slot_changes, get_footer_slot_context);
|
|
618
|
-
}
|
|
619
|
-
}
|
|
620
|
-
},
|
|
621
|
-
i(local) {
|
|
622
|
-
if (current) return;
|
|
623
|
-
transition_in(footer_slot, local);
|
|
624
|
-
current = true;
|
|
625
|
-
},
|
|
626
|
-
o(local) {
|
|
627
|
-
transition_out(footer_slot, local);
|
|
628
|
-
current = false;
|
|
629
|
-
},
|
|
630
|
-
d(detaching) {
|
|
631
|
-
if (detaching) detach(div);
|
|
632
|
-
if (footer_slot) footer_slot.d(detaching);
|
|
633
|
-
mounted = false;
|
|
634
|
-
dispose();
|
|
635
|
-
}
|
|
636
|
-
};
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
function create_fragment(ctx) {
|
|
640
|
-
let div2;
|
|
641
|
-
let t0;
|
|
642
|
-
let t1;
|
|
643
|
-
let div1;
|
|
644
|
-
let t2;
|
|
645
|
-
let t3;
|
|
646
|
-
let t4;
|
|
647
|
-
let div0;
|
|
648
|
-
let t5;
|
|
649
|
-
let t6;
|
|
650
|
-
let t7;
|
|
651
|
-
let t8;
|
|
652
|
-
let t9;
|
|
653
|
-
let t10;
|
|
654
|
-
let t11;
|
|
655
|
-
let t12;
|
|
656
|
-
let t13;
|
|
657
|
-
let current;
|
|
658
|
-
let mounted;
|
|
659
|
-
let dispose;
|
|
660
|
-
const start_slot_template = /*#slots*/ ctx[37].start;
|
|
661
|
-
const start_slot = create_slot(start_slot_template, ctx, /*$$scope*/ ctx[36], get_start_slot_context);
|
|
662
|
-
let if_block0 = (/*avatar*/ ctx[3] || /*hasAvatarSlots*/ ctx[11]) && create_if_block_10(ctx);
|
|
663
|
-
const content_start_slot_template = /*#slots*/ ctx[37]["content-start"];
|
|
664
|
-
const content_start_slot = create_slot(content_start_slot_template, ctx, /*$$scope*/ ctx[36], get_content_start_slot_context);
|
|
665
|
-
let if_block1 = (/*hasNameSlots*/ ctx[12] || /*name*/ ctx[2]) && create_if_block_9(ctx);
|
|
666
|
-
let if_block2 = (/*hasHeaderSlots*/ ctx[13] || /*header*/ ctx[5]) && create_if_block_8(ctx);
|
|
667
|
-
const bubble_start_slot_template = /*#slots*/ ctx[37]["bubble-start"];
|
|
668
|
-
const bubble_start_slot = create_slot(bubble_start_slot_template, ctx, /*$$scope*/ ctx[36], get_bubble_start_slot_context);
|
|
669
|
-
let if_block3 = (/*hasImageSlots*/ ctx[14] || /*image*/ ctx[4]) && create_if_block_6(ctx);
|
|
670
|
-
let if_block4 = (/*hasTextHeaderSlots*/ ctx[15] || /*textHeader*/ ctx[7]) && create_if_block_5(ctx);
|
|
671
|
-
let if_block5 = (/*hasTextSlots*/ ctx[17] || /*text*/ ctx[0] || /*htmlText*/ ctx[1] || /*typing*/ ctx[9]) && create_if_block_2(ctx);
|
|
672
|
-
let if_block6 = (/*hasTextFooterSlots*/ ctx[16] || /*textFooter*/ ctx[8]) && create_if_block_1(ctx);
|
|
673
|
-
const bubble_end_slot_template = /*#slots*/ ctx[37]["bubble-end"];
|
|
674
|
-
const bubble_end_slot = create_slot(bubble_end_slot_template, ctx, /*$$scope*/ ctx[36], get_bubble_end_slot_context);
|
|
675
|
-
const default_slot_template = /*#slots*/ ctx[37].default;
|
|
676
|
-
const default_slot = create_slot(default_slot_template, ctx, /*$$scope*/ ctx[36], null);
|
|
677
|
-
let if_block7 = (/*hasFooterSlots*/ ctx[18] || /*footer*/ ctx[6]) && create_if_block(ctx);
|
|
678
|
-
const content_end_slot_template = /*#slots*/ ctx[37]["content-end"];
|
|
679
|
-
const content_end_slot = create_slot(content_end_slot_template, ctx, /*$$scope*/ ctx[36], get_content_end_slot_context);
|
|
680
|
-
const end_slot_template = /*#slots*/ ctx[37].end;
|
|
681
|
-
const end_slot = create_slot(end_slot_template, ctx, /*$$scope*/ ctx[36], get_end_slot_context);
|
|
682
|
-
let div2_levels = [{ class: /*classes*/ ctx[10] }, restProps(/*$$restProps*/ ctx[26])];
|
|
683
|
-
let div2_data = {};
|
|
684
|
-
|
|
685
|
-
for (let i = 0; i < div2_levels.length; i += 1) {
|
|
686
|
-
div2_data = assign(div2_data, div2_levels[i]);
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
return {
|
|
690
|
-
c() {
|
|
691
|
-
div2 = element("div");
|
|
692
|
-
if (start_slot) start_slot.c();
|
|
693
|
-
t0 = space();
|
|
694
|
-
if (if_block0) if_block0.c();
|
|
695
|
-
t1 = space();
|
|
696
|
-
div1 = element("div");
|
|
697
|
-
if (content_start_slot) content_start_slot.c();
|
|
698
|
-
t2 = space();
|
|
699
|
-
if (if_block1) if_block1.c();
|
|
700
|
-
t3 = space();
|
|
701
|
-
if (if_block2) if_block2.c();
|
|
702
|
-
t4 = space();
|
|
703
|
-
div0 = element("div");
|
|
704
|
-
if (bubble_start_slot) bubble_start_slot.c();
|
|
705
|
-
t5 = space();
|
|
706
|
-
if (if_block3) if_block3.c();
|
|
707
|
-
t6 = space();
|
|
708
|
-
if (if_block4) if_block4.c();
|
|
709
|
-
t7 = space();
|
|
710
|
-
if (if_block5) if_block5.c();
|
|
711
|
-
t8 = space();
|
|
712
|
-
if (if_block6) if_block6.c();
|
|
713
|
-
t9 = space();
|
|
714
|
-
if (bubble_end_slot) bubble_end_slot.c();
|
|
715
|
-
t10 = space();
|
|
716
|
-
if (default_slot) default_slot.c();
|
|
717
|
-
t11 = space();
|
|
718
|
-
if (if_block7) if_block7.c();
|
|
719
|
-
t12 = space();
|
|
720
|
-
if (content_end_slot) content_end_slot.c();
|
|
721
|
-
t13 = space();
|
|
722
|
-
if (end_slot) end_slot.c();
|
|
723
|
-
attr(div0, "class", "message-bubble");
|
|
724
|
-
attr(div1, "class", "message-content");
|
|
725
|
-
set_attributes(div2, div2_data);
|
|
726
|
-
},
|
|
727
|
-
m(target, anchor) {
|
|
728
|
-
insert(target, div2, anchor);
|
|
729
|
-
|
|
730
|
-
if (start_slot) {
|
|
731
|
-
start_slot.m(div2, null);
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
append(div2, t0);
|
|
735
|
-
if (if_block0) if_block0.m(div2, null);
|
|
736
|
-
append(div2, t1);
|
|
737
|
-
append(div2, div1);
|
|
738
|
-
|
|
739
|
-
if (content_start_slot) {
|
|
740
|
-
content_start_slot.m(div1, null);
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
append(div1, t2);
|
|
744
|
-
if (if_block1) if_block1.m(div1, null);
|
|
745
|
-
append(div1, t3);
|
|
746
|
-
if (if_block2) if_block2.m(div1, null);
|
|
747
|
-
append(div1, t4);
|
|
748
|
-
append(div1, div0);
|
|
749
|
-
|
|
750
|
-
if (bubble_start_slot) {
|
|
751
|
-
bubble_start_slot.m(div0, null);
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
append(div0, t5);
|
|
755
|
-
if (if_block3) if_block3.m(div0, null);
|
|
756
|
-
append(div0, t6);
|
|
757
|
-
if (if_block4) if_block4.m(div0, null);
|
|
758
|
-
append(div0, t7);
|
|
759
|
-
if (if_block5) if_block5.m(div0, null);
|
|
760
|
-
append(div0, t8);
|
|
761
|
-
if (if_block6) if_block6.m(div0, null);
|
|
762
|
-
append(div0, t9);
|
|
763
|
-
|
|
764
|
-
if (bubble_end_slot) {
|
|
765
|
-
bubble_end_slot.m(div0, null);
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
append(div0, t10);
|
|
769
|
-
|
|
770
|
-
if (default_slot) {
|
|
771
|
-
default_slot.m(div0, null);
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
append(div1, t11);
|
|
775
|
-
if (if_block7) if_block7.m(div1, null);
|
|
776
|
-
append(div1, t12);
|
|
777
|
-
|
|
778
|
-
if (content_end_slot) {
|
|
779
|
-
content_end_slot.m(div1, null);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
append(div2, t13);
|
|
783
|
-
|
|
784
|
-
if (end_slot) {
|
|
785
|
-
end_slot.m(div2, null);
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
current = true;
|
|
789
|
-
|
|
790
|
-
if (!mounted) {
|
|
791
|
-
dispose = [
|
|
792
|
-
listen(div0, "click", /*onBubbleClick*/ ctx[25]),
|
|
793
|
-
listen(div2, "click", /*onClick*/ ctx[19])
|
|
794
|
-
];
|
|
795
|
-
|
|
796
|
-
mounted = true;
|
|
797
|
-
}
|
|
798
|
-
},
|
|
799
|
-
p(ctx, dirty) {
|
|
800
|
-
if (start_slot) {
|
|
801
|
-
if (start_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
802
|
-
update_slot(start_slot, start_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_start_slot_changes, get_start_slot_context);
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
if (/*avatar*/ ctx[3] || /*hasAvatarSlots*/ ctx[11]) {
|
|
807
|
-
if (if_block0) {
|
|
808
|
-
if_block0.p(ctx, dirty);
|
|
809
|
-
|
|
810
|
-
if (dirty[0] & /*avatar, hasAvatarSlots*/ 2056) {
|
|
811
|
-
transition_in(if_block0, 1);
|
|
812
|
-
}
|
|
813
|
-
} else {
|
|
814
|
-
if_block0 = create_if_block_10(ctx);
|
|
815
|
-
if_block0.c();
|
|
816
|
-
transition_in(if_block0, 1);
|
|
817
|
-
if_block0.m(div2, t1);
|
|
818
|
-
}
|
|
819
|
-
} else if (if_block0) {
|
|
820
|
-
group_outros();
|
|
821
|
-
|
|
822
|
-
transition_out(if_block0, 1, 1, () => {
|
|
823
|
-
if_block0 = null;
|
|
824
|
-
});
|
|
825
|
-
|
|
826
|
-
check_outros();
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
if (content_start_slot) {
|
|
830
|
-
if (content_start_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
831
|
-
update_slot(content_start_slot, content_start_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_content_start_slot_changes, get_content_start_slot_context);
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
if (/*hasNameSlots*/ ctx[12] || /*name*/ ctx[2]) {
|
|
836
|
-
if (if_block1) {
|
|
837
|
-
if_block1.p(ctx, dirty);
|
|
838
|
-
|
|
839
|
-
if (dirty[0] & /*hasNameSlots, name*/ 4100) {
|
|
840
|
-
transition_in(if_block1, 1);
|
|
841
|
-
}
|
|
842
|
-
} else {
|
|
843
|
-
if_block1 = create_if_block_9(ctx);
|
|
844
|
-
if_block1.c();
|
|
845
|
-
transition_in(if_block1, 1);
|
|
846
|
-
if_block1.m(div1, t3);
|
|
847
|
-
}
|
|
848
|
-
} else if (if_block1) {
|
|
849
|
-
group_outros();
|
|
850
|
-
|
|
851
|
-
transition_out(if_block1, 1, 1, () => {
|
|
852
|
-
if_block1 = null;
|
|
853
|
-
});
|
|
854
|
-
|
|
855
|
-
check_outros();
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
if (/*hasHeaderSlots*/ ctx[13] || /*header*/ ctx[5]) {
|
|
859
|
-
if (if_block2) {
|
|
860
|
-
if_block2.p(ctx, dirty);
|
|
861
|
-
|
|
862
|
-
if (dirty[0] & /*hasHeaderSlots, header*/ 8224) {
|
|
863
|
-
transition_in(if_block2, 1);
|
|
864
|
-
}
|
|
865
|
-
} else {
|
|
866
|
-
if_block2 = create_if_block_8(ctx);
|
|
867
|
-
if_block2.c();
|
|
868
|
-
transition_in(if_block2, 1);
|
|
869
|
-
if_block2.m(div1, t4);
|
|
870
|
-
}
|
|
871
|
-
} else if (if_block2) {
|
|
872
|
-
group_outros();
|
|
873
|
-
|
|
874
|
-
transition_out(if_block2, 1, 1, () => {
|
|
875
|
-
if_block2 = null;
|
|
876
|
-
});
|
|
877
|
-
|
|
878
|
-
check_outros();
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
if (bubble_start_slot) {
|
|
882
|
-
if (bubble_start_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
883
|
-
update_slot(bubble_start_slot, bubble_start_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_bubble_start_slot_changes, get_bubble_start_slot_context);
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
if (/*hasImageSlots*/ ctx[14] || /*image*/ ctx[4]) {
|
|
888
|
-
if (if_block3) {
|
|
889
|
-
if_block3.p(ctx, dirty);
|
|
890
|
-
|
|
891
|
-
if (dirty[0] & /*hasImageSlots, image*/ 16400) {
|
|
892
|
-
transition_in(if_block3, 1);
|
|
893
|
-
}
|
|
894
|
-
} else {
|
|
895
|
-
if_block3 = create_if_block_6(ctx);
|
|
896
|
-
if_block3.c();
|
|
897
|
-
transition_in(if_block3, 1);
|
|
898
|
-
if_block3.m(div0, t6);
|
|
899
|
-
}
|
|
900
|
-
} else if (if_block3) {
|
|
901
|
-
group_outros();
|
|
902
|
-
|
|
903
|
-
transition_out(if_block3, 1, 1, () => {
|
|
904
|
-
if_block3 = null;
|
|
905
|
-
});
|
|
906
|
-
|
|
907
|
-
check_outros();
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
if (/*hasTextHeaderSlots*/ ctx[15] || /*textHeader*/ ctx[7]) {
|
|
911
|
-
if (if_block4) {
|
|
912
|
-
if_block4.p(ctx, dirty);
|
|
913
|
-
|
|
914
|
-
if (dirty[0] & /*hasTextHeaderSlots, textHeader*/ 32896) {
|
|
915
|
-
transition_in(if_block4, 1);
|
|
916
|
-
}
|
|
917
|
-
} else {
|
|
918
|
-
if_block4 = create_if_block_5(ctx);
|
|
919
|
-
if_block4.c();
|
|
920
|
-
transition_in(if_block4, 1);
|
|
921
|
-
if_block4.m(div0, t7);
|
|
922
|
-
}
|
|
923
|
-
} else if (if_block4) {
|
|
924
|
-
group_outros();
|
|
925
|
-
|
|
926
|
-
transition_out(if_block4, 1, 1, () => {
|
|
927
|
-
if_block4 = null;
|
|
928
|
-
});
|
|
929
|
-
|
|
930
|
-
check_outros();
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
if (/*hasTextSlots*/ ctx[17] || /*text*/ ctx[0] || /*htmlText*/ ctx[1] || /*typing*/ ctx[9]) {
|
|
934
|
-
if (if_block5) {
|
|
935
|
-
if_block5.p(ctx, dirty);
|
|
936
|
-
|
|
937
|
-
if (dirty[0] & /*hasTextSlots, text, htmlText, typing*/ 131587) {
|
|
938
|
-
transition_in(if_block5, 1);
|
|
939
|
-
}
|
|
940
|
-
} else {
|
|
941
|
-
if_block5 = create_if_block_2(ctx);
|
|
942
|
-
if_block5.c();
|
|
943
|
-
transition_in(if_block5, 1);
|
|
944
|
-
if_block5.m(div0, t8);
|
|
945
|
-
}
|
|
946
|
-
} else if (if_block5) {
|
|
947
|
-
group_outros();
|
|
948
|
-
|
|
949
|
-
transition_out(if_block5, 1, 1, () => {
|
|
950
|
-
if_block5 = null;
|
|
951
|
-
});
|
|
952
|
-
|
|
953
|
-
check_outros();
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
if (/*hasTextFooterSlots*/ ctx[16] || /*textFooter*/ ctx[8]) {
|
|
957
|
-
if (if_block6) {
|
|
958
|
-
if_block6.p(ctx, dirty);
|
|
959
|
-
|
|
960
|
-
if (dirty[0] & /*hasTextFooterSlots, textFooter*/ 65792) {
|
|
961
|
-
transition_in(if_block6, 1);
|
|
962
|
-
}
|
|
963
|
-
} else {
|
|
964
|
-
if_block6 = create_if_block_1(ctx);
|
|
965
|
-
if_block6.c();
|
|
966
|
-
transition_in(if_block6, 1);
|
|
967
|
-
if_block6.m(div0, t9);
|
|
968
|
-
}
|
|
969
|
-
} else if (if_block6) {
|
|
970
|
-
group_outros();
|
|
971
|
-
|
|
972
|
-
transition_out(if_block6, 1, 1, () => {
|
|
973
|
-
if_block6 = null;
|
|
974
|
-
});
|
|
975
|
-
|
|
976
|
-
check_outros();
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
if (bubble_end_slot) {
|
|
980
|
-
if (bubble_end_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
981
|
-
update_slot(bubble_end_slot, bubble_end_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_bubble_end_slot_changes, get_bubble_end_slot_context);
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
if (default_slot) {
|
|
986
|
-
if (default_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
987
|
-
update_slot(default_slot, default_slot_template, ctx, /*$$scope*/ ctx[36], dirty, null, null);
|
|
988
|
-
}
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
if (/*hasFooterSlots*/ ctx[18] || /*footer*/ ctx[6]) {
|
|
992
|
-
if (if_block7) {
|
|
993
|
-
if_block7.p(ctx, dirty);
|
|
994
|
-
|
|
995
|
-
if (dirty[0] & /*hasFooterSlots, footer*/ 262208) {
|
|
996
|
-
transition_in(if_block7, 1);
|
|
997
|
-
}
|
|
998
|
-
} else {
|
|
999
|
-
if_block7 = create_if_block(ctx);
|
|
1000
|
-
if_block7.c();
|
|
1001
|
-
transition_in(if_block7, 1);
|
|
1002
|
-
if_block7.m(div1, t12);
|
|
1003
|
-
}
|
|
1004
|
-
} else if (if_block7) {
|
|
1005
|
-
group_outros();
|
|
1006
|
-
|
|
1007
|
-
transition_out(if_block7, 1, 1, () => {
|
|
1008
|
-
if_block7 = null;
|
|
1009
|
-
});
|
|
1010
|
-
|
|
1011
|
-
check_outros();
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
if (content_end_slot) {
|
|
1015
|
-
if (content_end_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
1016
|
-
update_slot(content_end_slot, content_end_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_content_end_slot_changes, get_content_end_slot_context);
|
|
1017
|
-
}
|
|
1018
|
-
}
|
|
1019
|
-
|
|
1020
|
-
if (end_slot) {
|
|
1021
|
-
if (end_slot.p && (!current || dirty[1] & /*$$scope*/ 32)) {
|
|
1022
|
-
update_slot(end_slot, end_slot_template, ctx, /*$$scope*/ ctx[36], dirty, get_end_slot_changes, get_end_slot_context);
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
set_attributes(div2, div2_data = get_spread_update(div2_levels, [
|
|
1027
|
-
(!current || dirty[0] & /*classes*/ 1024) && { class: /*classes*/ ctx[10] },
|
|
1028
|
-
dirty[0] & /*$$restProps*/ 67108864 && restProps(/*$$restProps*/ ctx[26])
|
|
1029
|
-
]));
|
|
1030
|
-
},
|
|
1031
|
-
i(local) {
|
|
1032
|
-
if (current) return;
|
|
1033
|
-
transition_in(start_slot, local);
|
|
1034
|
-
transition_in(if_block0);
|
|
1035
|
-
transition_in(content_start_slot, local);
|
|
1036
|
-
transition_in(if_block1);
|
|
1037
|
-
transition_in(if_block2);
|
|
1038
|
-
transition_in(bubble_start_slot, local);
|
|
1039
|
-
transition_in(if_block3);
|
|
1040
|
-
transition_in(if_block4);
|
|
1041
|
-
transition_in(if_block5);
|
|
1042
|
-
transition_in(if_block6);
|
|
1043
|
-
transition_in(bubble_end_slot, local);
|
|
1044
|
-
transition_in(default_slot, local);
|
|
1045
|
-
transition_in(if_block7);
|
|
1046
|
-
transition_in(content_end_slot, local);
|
|
1047
|
-
transition_in(end_slot, local);
|
|
1048
|
-
current = true;
|
|
1049
|
-
},
|
|
1050
|
-
o(local) {
|
|
1051
|
-
transition_out(start_slot, local);
|
|
1052
|
-
transition_out(if_block0);
|
|
1053
|
-
transition_out(content_start_slot, local);
|
|
1054
|
-
transition_out(if_block1);
|
|
1055
|
-
transition_out(if_block2);
|
|
1056
|
-
transition_out(bubble_start_slot, local);
|
|
1057
|
-
transition_out(if_block3);
|
|
1058
|
-
transition_out(if_block4);
|
|
1059
|
-
transition_out(if_block5);
|
|
1060
|
-
transition_out(if_block6);
|
|
1061
|
-
transition_out(bubble_end_slot, local);
|
|
1062
|
-
transition_out(default_slot, local);
|
|
1063
|
-
transition_out(if_block7);
|
|
1064
|
-
transition_out(content_end_slot, local);
|
|
1065
|
-
transition_out(end_slot, local);
|
|
1066
|
-
current = false;
|
|
1067
|
-
},
|
|
1068
|
-
d(detaching) {
|
|
1069
|
-
if (detaching) detach(div2);
|
|
1070
|
-
if (start_slot) start_slot.d(detaching);
|
|
1071
|
-
if (if_block0) if_block0.d();
|
|
1072
|
-
if (content_start_slot) content_start_slot.d(detaching);
|
|
1073
|
-
if (if_block1) if_block1.d();
|
|
1074
|
-
if (if_block2) if_block2.d();
|
|
1075
|
-
if (bubble_start_slot) bubble_start_slot.d(detaching);
|
|
1076
|
-
if (if_block3) if_block3.d();
|
|
1077
|
-
if (if_block4) if_block4.d();
|
|
1078
|
-
if (if_block5) if_block5.d();
|
|
1079
|
-
if (if_block6) if_block6.d();
|
|
1080
|
-
if (bubble_end_slot) bubble_end_slot.d(detaching);
|
|
1081
|
-
if (default_slot) default_slot.d(detaching);
|
|
1082
|
-
if (if_block7) if_block7.d();
|
|
1083
|
-
if (content_end_slot) content_end_slot.d(detaching);
|
|
1084
|
-
if (end_slot) end_slot.d(detaching);
|
|
1085
|
-
mounted = false;
|
|
1086
|
-
run_all(dispose);
|
|
1087
|
-
}
|
|
1088
|
-
};
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
function instance($$self, $$props, $$invalidate) {
|
|
1092
|
-
let classes;
|
|
1093
|
-
let hasAvatarSlots;
|
|
1094
|
-
let hasNameSlots;
|
|
1095
|
-
let hasHeaderSlots;
|
|
1096
|
-
let hasImageSlots;
|
|
1097
|
-
let hasTextHeaderSlots;
|
|
1098
|
-
let hasTextFooterSlots;
|
|
1099
|
-
let hasTextSlots;
|
|
1100
|
-
let hasFooterSlots;
|
|
1101
|
-
|
|
1102
|
-
const omit_props_names = [
|
|
1103
|
-
"class","text","htmlText","name","avatar","type","image","header","footer","textHeader","textFooter","first","last","tail","sameName","sameHeader","sameFooter","sameAvatar","typing"
|
|
1104
|
-
];
|
|
1105
|
-
|
|
1106
|
-
let $$restProps = compute_rest_props($$props, omit_props_names);
|
|
1107
|
-
let { $$slots: slots = {}, $$scope } = $$props;
|
|
1108
|
-
const $$slots = compute_slots(slots);
|
|
1109
|
-
const emit = createEmitter(createEventDispatcher, $$props);
|
|
1110
|
-
let { class: className = undefined } = $$props;
|
|
1111
|
-
let { text = undefined } = $$props;
|
|
1112
|
-
let { htmlText = undefined } = $$props;
|
|
1113
|
-
let { name = undefined } = $$props;
|
|
1114
|
-
let { avatar = undefined } = $$props;
|
|
1115
|
-
let { type = "sent" } = $$props;
|
|
1116
|
-
let { image = undefined } = $$props;
|
|
1117
|
-
let { header = undefined } = $$props;
|
|
1118
|
-
let { footer = undefined } = $$props;
|
|
1119
|
-
let { textHeader = undefined } = $$props;
|
|
1120
|
-
let { textFooter = undefined } = $$props;
|
|
1121
|
-
let { first = undefined } = $$props;
|
|
1122
|
-
let { last = undefined } = $$props;
|
|
1123
|
-
let { tail = undefined } = $$props;
|
|
1124
|
-
let { sameName = undefined } = $$props;
|
|
1125
|
-
let { sameHeader = undefined } = $$props;
|
|
1126
|
-
let { sameFooter = undefined } = $$props;
|
|
1127
|
-
let { sameAvatar = undefined } = $$props;
|
|
1128
|
-
let { typing = undefined } = $$props;
|
|
1129
|
-
|
|
1130
|
-
function onClick() {
|
|
1131
|
-
emit("click");
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
function onNameClick() {
|
|
1135
|
-
emit("clickName");
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
function onTextClick() {
|
|
1139
|
-
emit("clickText");
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
function onAvatarClick() {
|
|
1143
|
-
emit("clickAvatar");
|
|
1144
|
-
}
|
|
1145
|
-
|
|
1146
|
-
function onHeaderClick() {
|
|
1147
|
-
emit("clickHeader");
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
function onFooterClick() {
|
|
1151
|
-
emit("clickFooter");
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1154
|
-
function onBubbleClick() {
|
|
1155
|
-
emit("clickBubble");
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
$$self.$$set = $$new_props => {
|
|
1159
|
-
$$invalidate(39, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
|
|
1160
|
-
$$invalidate(26, $$restProps = compute_rest_props($$props, omit_props_names));
|
|
1161
|
-
if ("class" in $$new_props) $$invalidate(27, className = $$new_props.class);
|
|
1162
|
-
if ("text" in $$new_props) $$invalidate(0, text = $$new_props.text);
|
|
1163
|
-
if ("htmlText" in $$new_props) $$invalidate(1, htmlText = $$new_props.htmlText);
|
|
1164
|
-
if ("name" in $$new_props) $$invalidate(2, name = $$new_props.name);
|
|
1165
|
-
if ("avatar" in $$new_props) $$invalidate(3, avatar = $$new_props.avatar);
|
|
1166
|
-
if ("type" in $$new_props) $$invalidate(28, type = $$new_props.type);
|
|
1167
|
-
if ("image" in $$new_props) $$invalidate(4, image = $$new_props.image);
|
|
1168
|
-
if ("header" in $$new_props) $$invalidate(5, header = $$new_props.header);
|
|
1169
|
-
if ("footer" in $$new_props) $$invalidate(6, footer = $$new_props.footer);
|
|
1170
|
-
if ("textHeader" in $$new_props) $$invalidate(7, textHeader = $$new_props.textHeader);
|
|
1171
|
-
if ("textFooter" in $$new_props) $$invalidate(8, textFooter = $$new_props.textFooter);
|
|
1172
|
-
if ("first" in $$new_props) $$invalidate(29, first = $$new_props.first);
|
|
1173
|
-
if ("last" in $$new_props) $$invalidate(30, last = $$new_props.last);
|
|
1174
|
-
if ("tail" in $$new_props) $$invalidate(31, tail = $$new_props.tail);
|
|
1175
|
-
if ("sameName" in $$new_props) $$invalidate(32, sameName = $$new_props.sameName);
|
|
1176
|
-
if ("sameHeader" in $$new_props) $$invalidate(33, sameHeader = $$new_props.sameHeader);
|
|
1177
|
-
if ("sameFooter" in $$new_props) $$invalidate(34, sameFooter = $$new_props.sameFooter);
|
|
1178
|
-
if ("sameAvatar" in $$new_props) $$invalidate(35, sameAvatar = $$new_props.sameAvatar);
|
|
1179
|
-
if ("typing" in $$new_props) $$invalidate(9, typing = $$new_props.typing);
|
|
1180
|
-
if ("$$scope" in $$new_props) $$invalidate(36, $$scope = $$new_props.$$scope);
|
|
1181
|
-
};
|
|
1182
|
-
|
|
1183
|
-
$$self.$$.update = () => {
|
|
1184
|
-
$: $$invalidate(10, classes = classNames(
|
|
1185
|
-
className,
|
|
1186
|
-
"message",
|
|
1187
|
-
{
|
|
1188
|
-
"message-sent": type === "sent" || !type,
|
|
1189
|
-
"message-received": type === "received",
|
|
1190
|
-
"message-typing": typing,
|
|
1191
|
-
"message-first": first,
|
|
1192
|
-
"message-last": last,
|
|
1193
|
-
"message-tail": tail,
|
|
1194
|
-
"message-same-name": sameName,
|
|
1195
|
-
"message-same-header": sameHeader,
|
|
1196
|
-
"message-same-footer": sameFooter,
|
|
1197
|
-
"message-same-avatar": sameAvatar
|
|
1198
|
-
},
|
|
1199
|
-
colorClasses($$props)
|
|
1200
|
-
));
|
|
1201
|
-
};
|
|
1202
|
-
|
|
1203
|
-
$: $$invalidate(11, hasAvatarSlots = $$slots.avatar);
|
|
1204
|
-
$: $$invalidate(12, hasNameSlots = $$slots.name);
|
|
1205
|
-
$: $$invalidate(13, hasHeaderSlots = $$slots.header);
|
|
1206
|
-
$: $$invalidate(14, hasImageSlots = $$slots.image);
|
|
1207
|
-
$: $$invalidate(15, hasTextHeaderSlots = $$slots["text-header"]);
|
|
1208
|
-
$: $$invalidate(16, hasTextFooterSlots = $$slots["text-footer"]);
|
|
1209
|
-
$: $$invalidate(17, hasTextSlots = $$slots.text);
|
|
1210
|
-
$: $$invalidate(18, hasFooterSlots = $$slots.footer);
|
|
1211
|
-
$$props = exclude_internal_props($$props);
|
|
1212
|
-
|
|
1213
|
-
return [
|
|
1214
|
-
text,
|
|
1215
|
-
htmlText,
|
|
1216
|
-
name,
|
|
1217
|
-
avatar,
|
|
1218
|
-
image,
|
|
1219
|
-
header,
|
|
1220
|
-
footer,
|
|
1221
|
-
textHeader,
|
|
1222
|
-
textFooter,
|
|
1223
|
-
typing,
|
|
1224
|
-
classes,
|
|
1225
|
-
hasAvatarSlots,
|
|
1226
|
-
hasNameSlots,
|
|
1227
|
-
hasHeaderSlots,
|
|
1228
|
-
hasImageSlots,
|
|
1229
|
-
hasTextHeaderSlots,
|
|
1230
|
-
hasTextFooterSlots,
|
|
1231
|
-
hasTextSlots,
|
|
1232
|
-
hasFooterSlots,
|
|
1233
|
-
onClick,
|
|
1234
|
-
onNameClick,
|
|
1235
|
-
onTextClick,
|
|
1236
|
-
onAvatarClick,
|
|
1237
|
-
onHeaderClick,
|
|
1238
|
-
onFooterClick,
|
|
1239
|
-
onBubbleClick,
|
|
1240
|
-
$$restProps,
|
|
1241
|
-
className,
|
|
1242
|
-
type,
|
|
1243
|
-
first,
|
|
1244
|
-
last,
|
|
1245
|
-
tail,
|
|
1246
|
-
sameName,
|
|
1247
|
-
sameHeader,
|
|
1248
|
-
sameFooter,
|
|
1249
|
-
sameAvatar,
|
|
1250
|
-
$$scope,
|
|
1251
|
-
slots
|
|
1252
|
-
];
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
class Message extends SvelteComponent {
|
|
1256
|
-
constructor(options) {
|
|
1257
|
-
super();
|
|
1258
|
-
|
|
1259
|
-
init(
|
|
1260
|
-
this,
|
|
1261
|
-
options,
|
|
1262
|
-
instance,
|
|
1263
|
-
create_fragment,
|
|
1264
|
-
safe_not_equal,
|
|
1265
|
-
{
|
|
1266
|
-
class: 27,
|
|
1267
|
-
text: 0,
|
|
1268
|
-
htmlText: 1,
|
|
1269
|
-
name: 2,
|
|
1270
|
-
avatar: 3,
|
|
1271
|
-
type: 28,
|
|
1272
|
-
image: 4,
|
|
1273
|
-
header: 5,
|
|
1274
|
-
footer: 6,
|
|
1275
|
-
textHeader: 7,
|
|
1276
|
-
textFooter: 8,
|
|
1277
|
-
first: 29,
|
|
1278
|
-
last: 30,
|
|
1279
|
-
tail: 31,
|
|
1280
|
-
sameName: 32,
|
|
1281
|
-
sameHeader: 33,
|
|
1282
|
-
sameFooter: 34,
|
|
1283
|
-
sameAvatar: 35,
|
|
1284
|
-
typing: 9
|
|
1285
|
-
},
|
|
1286
|
-
[-1, -1]
|
|
1287
|
-
);
|
|
1288
|
-
}
|
|
1289
|
-
}
|
|
1290
|
-
|
|
1291
|
-
exports.default = Message;
|