@getflip/swirl-components-react 0.236.0 → 0.237.0
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/dist/{file-manager.entry.145a9775.js → file-manager.entry.140f6ce4.js} +5 -5
- package/dist/{index.fff64e3e.js → index.e1718062.js} +494 -494
- package/dist/{swirl-accordion-item.entry.c00468fa.js → swirl-accordion-item.entry.e8ef899d.js} +2 -2
- package/dist/{swirl-accordion.entry.ed609a49.js → swirl-accordion.entry.938f8b17.js} +5 -5
- package/dist/{swirl-action-list-section.entry.70de231a.js → swirl-action-list-section.entry.d944ec2a.js} +6 -6
- package/dist/{swirl-action-list_3.entry.4dc34927.js → swirl-action-list_3.entry.7735caca.js} +6 -6
- package/dist/{swirl-app-bar.entry.e49145d0.js → swirl-app-bar.entry.dff230ed.js} +1 -1
- package/dist/{swirl-app-icon.entry.8b88ece3.js → swirl-app-icon.entry.369cafb2.js} +4 -4
- package/dist/{swirl-app-layout_5.entry.6181f108.js → swirl-app-layout_5.entry.b19324dc.js} +246 -159
- package/dist/{swirl-autocomplete.entry.c6accf9c.js → swirl-autocomplete.entry.dca699d9.js} +7 -7
- package/dist/{swirl-avatar-group.entry.4d3e1b1b.js → swirl-avatar-group.entry.e8066da2.js} +2 -2
- package/dist/{swirl-avatar.entry.01ad439e.js → swirl-avatar.entry.7132514c.js} +11 -11
- package/dist/{swirl-badge.entry.e1307ccb.js → swirl-badge.entry.b3728365.js} +2 -2
- package/dist/{swirl-banner.entry.e0992286.js → swirl-banner.entry.81006029.js} +10 -10
- package/dist/swirl-box.entry.210975fc.js +76 -0
- package/dist/{swirl-button-group.entry.cdbc4fea.js → swirl-button-group.entry.5dc01ad5.js} +5 -5
- package/dist/{swirl-button.entry.fbc5f491.js → swirl-button.entry.1af16410.js} +3 -3
- package/dist/{swirl-card.entry.308695bf.js → swirl-card.entry.5ece2157.js} +2 -2
- package/dist/{swirl-carousel-slide.entry.4eaf9cb3.js → swirl-carousel-slide.entry.fe9423f2.js} +2 -2
- package/dist/{swirl-carousel.entry.49781ac9.js → swirl-carousel.entry.a70c2d51.js} +3 -3
- package/dist/{swirl-checkbox.entry.3c549349.js → swirl-checkbox.entry.99a46686.js} +2 -2
- package/dist/{swirl-chip.entry.d5cd9ab6.js → swirl-chip.entry.25e9e8e1.js} +2 -2
- package/dist/{swirl-color-input.entry.ed6e389e.js → swirl-color-input.entry.aeacdeeb.js} +3 -3
- package/dist/swirl-columns.entry.931a96b1.js +18 -0
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +62 -75
- package/dist/{swirl-console-layout.entry.8bbfc2f6.js → swirl-console-layout.entry.2c48311b.js} +5 -5
- package/dist/{swirl-date-input.entry.4a52060b.js → swirl-date-input.entry.1d776b8e.js} +6 -6
- package/dist/{swirl-date-picker_2.entry.8a4e374f.js → swirl-date-picker_2.entry.01d206aa.js} +3 -3
- package/dist/{swirl-description-list-item.entry.d8c7d01d.js → swirl-description-list-item.entry.dc308552.js} +8 -8
- package/dist/{swirl-description-list.entry.c18b416a.js → swirl-description-list.entry.1363aaec.js} +2 -2
- package/dist/{swirl-dialog.entry.66e90098.js → swirl-dialog.entry.964ad7e3.js} +2 -2
- package/dist/{swirl-emoji-clap.entry.c41307e6.js → swirl-emoji-clap.entry.73bdd80f.js} +2 -2
- package/dist/{swirl-emoji-happy.entry.7bbd2cbd.js → swirl-emoji-happy.entry.98a63be2.js} +2 -2
- package/dist/swirl-emoji-idea.entry.1edf93c9.js +17 -0
- package/dist/swirl-emoji-love.entry.848e8541.js +17 -0
- package/dist/swirl-emoji-sad.entry.57bd232a.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.6d42502b.js +17 -0
- package/dist/{swirl-emoji.entry.8d5c74a8.js → swirl-emoji.entry.bcd870b0.js} +2 -2
- package/dist/{swirl-file-uploader.entry.66707465.js → swirl-file-uploader.entry.672957b6.js} +4 -4
- package/dist/{swirl-file-viewer_8.entry.330ba6e0.js → swirl-file-viewer_8.entry.cad47c40.js} +10 -10
- package/dist/{swirl-form-control.entry.ce23b8e4.js → swirl-form-control.entry.2634b31f.js} +2 -2
- package/dist/{swirl-form-group.entry.5dbca942.js → swirl-form-group.entry.f6feb563.js} +4 -4
- package/dist/{swirl-heading.entry.e3ee315e.js → swirl-heading.entry.41df2154.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.99351d59.js → swirl-icon-add-moderator.entry.94652dae.js} +7 -7
- package/dist/{swirl-icon-add-photo.entry.5b6d394c.js → swirl-icon-add-photo.entry.f55926ef.js} +8 -8
- package/dist/{swirl-icon-add-reaction.entry.83dc9b16.js → swirl-icon-add-reaction.entry.e272ae58.js} +8 -8
- package/dist/{swirl-icon-add_6.entry.886dc921.js → swirl-icon-add_6.entry.58ff1f9a.js} +29 -29
- package/dist/{swirl-icon-admin-panel-settings.entry.34c5278c.js → swirl-icon-admin-panel-settings.entry.32ae3816.js} +5 -5
- package/dist/{swirl-icon-ai.entry.b9525476.js → swirl-icon-ai.entry.b269226b.js} +7 -7
- package/dist/{swirl-icon-apps.entry.92cb59f9.js → swirl-icon-apps.entry.902ee1dd.js} +9 -9
- package/dist/{swirl-icon-arrow-back_5.entry.893b8e8e.js → swirl-icon-arrow-back_5.entry.6c4f80e9.js} +24 -24
- package/dist/{swirl-icon-arrow-downward_2.entry.0d66a2b6.js → swirl-icon-arrow-downward_2.entry.2fede01d.js} +7 -7
- package/dist/{swirl-icon-arrow-left_4.entry.741e77e5.js → swirl-icon-arrow-left_4.entry.7487b60f.js} +9 -9
- package/dist/swirl-icon-arrow-right-small.entry.4d432b30.js +19 -0
- package/dist/{swirl-icon-aspect-ratio.entry.616833fb.js → swirl-icon-aspect-ratio.entry.5d64fd20.js} +9 -9
- package/dist/{swirl-icon-attachment.entry.8312557d.js → swirl-icon-attachment.entry.00e4a5f0.js} +2 -2
- package/dist/{swirl-icon-bar-chart.entry.f42a764f.js → swirl-icon-bar-chart.entry.4866de1c.js} +5 -5
- package/dist/{swirl-icon-block.entry.141368f9.js → swirl-icon-block.entry.d974baf5.js} +8 -8
- package/dist/{swirl-icon-bookmark-filled.entry.a4f98e8d.js → swirl-icon-bookmark-filled.entry.f83e72d2.js} +5 -5
- package/dist/{swirl-icon-bookmark.entry.f8616ee9.js → swirl-icon-bookmark.entry.4b89d15f.js} +7 -7
- package/dist/{swirl-icon-cancel_4.entry.cc6a219f.js → swirl-icon-cancel_4.entry.e3adc296.js} +28 -28
- package/dist/{swirl-icon-chat-bubble.entry.97c6f5b2.js → swirl-icon-chat-bubble.entry.bb1fe373.js} +8 -8
- package/dist/{swirl-icon-chats-filled.entry.b6202c2b.js → swirl-icon-chats-filled.entry.f53cbbdf.js} +5 -5
- package/dist/{swirl-icon-chats.entry.eb80822f.js → swirl-icon-chats.entry.20c48eca.js} +8 -8
- package/dist/{swirl-icon-check-circle_2.entry.79fe8363.js → swirl-icon-check-circle_2.entry.37964db2.js} +6 -6
- package/dist/{swirl-icon-check-small_3.entry.e5cd1cd6.js → swirl-icon-check-small_3.entry.159b5a10.js} +8 -8
- package/dist/{swirl-icon-check-strong.entry.c147a289.js → swirl-icon-check-strong.entry.a001c9c1.js} +5 -5
- package/dist/{swirl-icon-check.entry.87e1ee47.js → swirl-icon-check.entry.f0e50022.js} +5 -5
- package/dist/{swirl-icon-chevron-left.entry.258ad1b8.js → swirl-icon-chevron-left.entry.685179da.js} +8 -8
- package/dist/{swirl-icon-chevron-right.entry.e03cd25c.js → swirl-icon-chevron-right.entry.321b0620.js} +6 -6
- package/dist/{swirl-icon-close-small.entry.7981ebcf.js → swirl-icon-close-small.entry.18e2acd9.js} +8 -8
- package/dist/{swirl-icon-close.entry.647865c6.js → swirl-icon-close.entry.b5b7f587.js} +6 -6
- package/dist/{swirl-icon-cloud-upload.entry.46705109.js → swirl-icon-cloud-upload.entry.06241283.js} +8 -8
- package/dist/{swirl-icon-column.entry.6acbb2c6.js → swirl-icon-column.entry.faed48c9.js} +4 -4
- package/dist/{swirl-icon-comment.entry.28d409f1.js → swirl-icon-comment.entry.d7799d1b.js} +5 -5
- package/dist/{swirl-icon-copy.entry.28b6c197.js → swirl-icon-copy.entry.e49935ad.js} +7 -7
- package/dist/{swirl-icon-crop.entry.ea45f21c.js → swirl-icon-crop.entry.2bcbc814.js} +6 -6
- package/dist/{swirl-icon-dark-mode.entry.8d3081b7.js → swirl-icon-dark-mode.entry.6413f30e.js} +8 -8
- package/dist/{swirl-icon-date-range.entry.56ef69b3.js → swirl-icon-date-range.entry.b44db1e5.js} +5 -5
- package/dist/{swirl-icon-delete.entry.84f36e77.js → swirl-icon-delete.entry.fa9ab17d.js} +8 -8
- package/dist/{swirl-icon-description.entry.2583ad7f.js → swirl-icon-description.entry.a9e8fc1a.js} +7 -7
- package/dist/{swirl-icon-desktop.entry.9f516096.js → swirl-icon-desktop.entry.c4769d4e.js} +4 -4
- package/dist/{swirl-icon-directory-filled.entry.243243d6.js → swirl-icon-directory-filled.entry.e755ff42.js} +8 -8
- package/dist/{swirl-icon-directory.entry.d0b41605.js → swirl-icon-directory.entry.b39b52b3.js} +6 -6
- package/dist/{swirl-icon-discover.entry.0c6edafe.js → swirl-icon-discover.entry.bed686d6.js} +6 -6
- package/dist/{swirl-icon-dock-left.entry.7a737800.js → swirl-icon-dock-left.entry.8887d8bc.js} +7 -7
- package/dist/swirl-icon-dot.entry.4395d425.js +19 -0
- package/dist/{swirl-icon-double-arrow-right.entry.39a1e3d8.js → swirl-icon-double-arrow-right.entry.3261f5b1.js} +9 -9
- package/dist/{swirl-icon-download.entry.4dbaa9dc.js → swirl-icon-download.entry.7b17515d.js} +5 -5
- package/dist/{swirl-icon-edit.entry.371c0bd5.js → swirl-icon-edit.entry.862f78b1.js} +7 -7
- package/dist/{swirl-icon-emoji-mood.entry.022ee987.js → swirl-icon-emoji-mood.entry.62ef25d2.js} +7 -7
- package/dist/{swirl-icon-emoji-satisfied.entry.ec8c7f25.js → swirl-icon-emoji-satisfied.entry.43b7cefd.js} +7 -7
- package/dist/{swirl-icon-error_3.entry.88e4c508.js → swirl-icon-error_3.entry.8cbecd43.js} +8 -8
- package/dist/{swirl-icon-expand-more.entry.dd7fdd41.js → swirl-icon-expand-more.entry.8f5b2ccc.js} +7 -7
- package/dist/{swirl-icon-experiment.entry.35bbd819.js → swirl-icon-experiment.entry.bf42d416.js} +4 -4
- package/dist/{swirl-icon-file.entry.b9988749.js → swirl-icon-file.entry.789df0c5.js} +5 -5
- package/dist/{swirl-icon-filter.entry.81189939.js → swirl-icon-filter.entry.16a7b833.js} +7 -7
- package/dist/{swirl-icon-folder.entry.06913ad2.js → swirl-icon-folder.entry.04518afc.js} +6 -6
- package/dist/{swirl-icon-format-h-one.entry.fb69dde1.js → swirl-icon-format-h-one.entry.f1c386bd.js} +8 -8
- package/dist/{swirl-icon-gif.entry.2c916091.js → swirl-icon-gif.entry.3fca793f.js} +5 -5
- package/dist/{swirl-icon-group-add.entry.fe9e6d4a.js → swirl-icon-group-add.entry.fe3efa32.js} +4 -4
- package/dist/{swirl-icon-group-assign.entry.51804ec0.js → swirl-icon-group-assign.entry.148844bf.js} +7 -7
- package/dist/{swirl-icon-groups-filled.entry.49fcaa34.js → swirl-icon-groups-filled.entry.664cb32d.js} +9 -9
- package/dist/{swirl-icon-groups.entry.9422d884.js → swirl-icon-groups.entry.9ccde933.js} +8 -8
- package/dist/{swirl-icon-hamburger-menu.entry.675597e2.js → swirl-icon-hamburger-menu.entry.b56f2388.js} +7 -7
- package/dist/{swirl-icon-help.entry.c42f5d66.js → swirl-icon-help.entry.29858d53.js} +7 -7
- package/dist/{swirl-icon-highlight.entry.ff0e88ce.js → swirl-icon-highlight.entry.da3266c6.js} +6 -6
- package/dist/{swirl-icon-history.entry.cdcf7d68.js → swirl-icon-history.entry.4ed2947e.js} +6 -6
- package/dist/{swirl-icon-home.entry.b0c68afd.js → swirl-icon-home.entry.fc7e052c.js} +4 -4
- package/dist/{swirl-icon-image.entry.70c6e961.js → swirl-icon-image.entry.04181132.js} +8 -8
- package/dist/{swirl-icon-improve-text.entry.39ccd49c.js → swirl-icon-improve-text.entry.032f3186.js} +5 -5
- package/dist/{swirl-icon-info.entry.7aeb5f20.js → swirl-icon-info.entry.da4e6010.js} +6 -6
- package/dist/{swirl-icon-insert-below.entry.0d9325c5.js → swirl-icon-insert-below.entry.805152b7.js} +6 -6
- package/dist/{swirl-icon-insert-on-top.entry.f24acb8e.js → swirl-icon-insert-on-top.entry.e5e4fe48.js} +7 -7
- package/dist/{swirl-icon-inventory.entry.d5e897c8.js → swirl-icon-inventory.entry.7a46bf0f.js} +5 -5
- package/dist/{swirl-icon-keyboard-hide.entry.b26f888c.js → swirl-icon-keyboard-hide.entry.e6e2acba.js} +2 -2
- package/dist/{swirl-icon-keyboard.entry.49f438f6.js → swirl-icon-keyboard.entry.f2681f7a.js} +8 -8
- package/dist/{swirl-icon-light-mode.entry.47f210be.js → swirl-icon-light-mode.entry.f631e508.js} +7 -7
- package/dist/{swirl-icon-like.entry.f4c00b93.js → swirl-icon-like.entry.a28b2a09.js} +7 -7
- package/dist/{swirl-icon-link.entry.70f18f59.js → swirl-icon-link.entry.0c8be517.js} +8 -8
- package/dist/{swirl-icon-live.entry.30c05175.js → swirl-icon-live.entry.ce45bb9a.js} +7 -7
- package/dist/{swirl-icon-load.entry.4a0a799b.js → swirl-icon-load.entry.2afaacef.js} +8 -8
- package/dist/{swirl-icon-lock-open.entry.fbd294ab.js → swirl-icon-lock-open.entry.e919e5e3.js} +5 -5
- package/dist/{swirl-icon-lock-person.entry.e9694c4e.js → swirl-icon-lock-person.entry.f04e4ba8.js} +5 -5
- package/dist/{swirl-icon-lock.entry.da8f6e45.js → swirl-icon-lock.entry.eb2b597d.js} +7 -7
- package/dist/{swirl-icon-login.entry.617d992f.js → swirl-icon-login.entry.acb331ca.js} +10 -10
- package/dist/{swirl-icon-logout.entry.f9306b17.js → swirl-icon-logout.entry.c3a61a38.js} +7 -7
- package/dist/{swirl-icon-long-text.entry.30a13936.js → swirl-icon-long-text.entry.b45305c7.js} +5 -5
- package/dist/{swirl-icon-mail.entry.682ad7f9.js → swirl-icon-mail.entry.e2f410e9.js} +5 -5
- package/dist/{swirl-icon-manage-accounts.entry.e8576229.js → swirl-icon-manage-accounts.entry.828a01fe.js} +5 -5
- package/dist/{swirl-icon-mark-chat-read.entry.9274da7c.js → swirl-icon-mark-chat-read.entry.b7f0b959.js} +4 -4
- package/dist/{swirl-icon-mark-chat-unread.entry.3d0ab507.js → swirl-icon-mark-chat-unread.entry.5f8f505f.js} +6 -6
- package/dist/{swirl-icon-mention.entry.a69903c9.js → swirl-icon-mention.entry.e54cd947.js} +7 -7
- package/dist/{swirl-icon-menu-filled.entry.f237182d.js → swirl-icon-menu-filled.entry.1ba3836d.js} +8 -8
- package/dist/{swirl-icon-menu.entry.5b300e6b.js → swirl-icon-menu.entry.c4befdd9.js} +10 -10
- package/dist/{swirl-icon-message.entry.948c8c8f.js → swirl-icon-message.entry.7e030944.js} +7 -7
- package/dist/{swirl-icon-mic-off.entry.b547cc08.js → swirl-icon-mic-off.entry.3cce2cbd.js} +7 -7
- package/dist/{swirl-icon-mic.entry.c6e56e22.js → swirl-icon-mic.entry.42fc130a.js} +6 -6
- package/dist/{swirl-icon-more-horizontal.entry.e7008c6d.js → swirl-icon-more-horizontal.entry.42416217.js} +10 -10
- package/dist/{swirl-icon-news-filled.entry.13123ca7.js → swirl-icon-news-filled.entry.690f0e41.js} +5 -5
- package/dist/{swirl-icon-news-off.entry.830aa213.js → swirl-icon-news-off.entry.35e8cffa.js} +10 -10
- package/dist/{swirl-icon-news.entry.25c42052.js → swirl-icon-news.entry.0df2caaf.js} +10 -10
- package/dist/{swirl-icon-notifications-active.entry.e310313b.js → swirl-icon-notifications-active.entry.88a72609.js} +7 -7
- package/dist/{swirl-icon-notifications-off.entry.d9f76d87.js → swirl-icon-notifications-off.entry.f0206c02.js} +3 -3
- package/dist/{swirl-icon-notifications.entry.d58430c4.js → swirl-icon-notifications.entry.a66f5ff0.js} +8 -8
- package/dist/{swirl-icon-open-in-full.entry.1a9e13b4.js → swirl-icon-open-in-full.entry.abe496af.js} +4 -4
- package/dist/{swirl-icon-open-in-new.entry.c45f51cf.js → swirl-icon-open-in-new.entry.e387e3da.js} +6 -6
- package/dist/{swirl-icon-pause-circle.entry.42c27e20.js → swirl-icon-pause-circle.entry.bc72bbb7.js} +7 -7
- package/dist/{swirl-icon-pause.entry.75c5cc58.js → swirl-icon-pause.entry.94fe44ae.js} +5 -5
- package/dist/{swirl-icon-people-alt.entry.878d10f0.js → swirl-icon-people-alt.entry.eb23361f.js} +5 -5
- package/dist/{swirl-icon-person-off.entry.b0fed6e8.js → swirl-icon-person-off.entry.e501dac7.js} +7 -7
- package/dist/{swirl-icon-person.entry.8ee3d3d6.js → swirl-icon-person.entry.a1e28ba1.js} +8 -8
- package/dist/{swirl-icon-phone.entry.febc1ca9.js → swirl-icon-phone.entry.a8897b94.js} +8 -8
- package/dist/{swirl-icon-photo-camera.entry.d70d87df.js → swirl-icon-photo-camera.entry.545d5c32.js} +5 -5
- package/dist/{swirl-icon-pin-off.entry.3d8e84d4.js → swirl-icon-pin-off.entry.2a9c99df.js} +6 -6
- package/dist/{swirl-icon-pin.entry.1c27fd6b.js → swirl-icon-pin.entry.24ae8572.js} +10 -10
- package/dist/{swirl-icon-place.entry.25a8f86a.js → swirl-icon-place.entry.ba5063e7.js} +6 -6
- package/dist/{swirl-icon-play-arrow.entry.94cc4e70.js → swirl-icon-play-arrow.entry.535c460e.js} +7 -7
- package/dist/{swirl-icon-poll.entry.4f76a1e3.js → swirl-icon-poll.entry.41faa400.js} +6 -6
- package/dist/{swirl-icon-present.entry.efc3ba06.js → swirl-icon-present.entry.88d9c6e2.js} +5 -5
- package/dist/{swirl-icon-print.entry.12c51bee.js → swirl-icon-print.entry.72c24bf1.js} +7 -7
- package/dist/{swirl-icon-public-off.entry.eade8480.js → swirl-icon-public-off.entry.1c253e07.js} +2 -2
- package/dist/{swirl-icon-public.entry.c6c3098f.js → swirl-icon-public.entry.28e921fb.js} +5 -5
- package/dist/{swirl-icon-ratio-four-to-three.entry.a8ccd914.js → swirl-icon-ratio-four-to-three.entry.fdbdd4bf.js} +2 -2
- package/dist/{swirl-icon-ratio-freeform.entry.33cebaf2.js → swirl-icon-ratio-freeform.entry.11dc7bca.js} +5 -5
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.caab32d7.js → swirl-icon-ratio-sixteen-to-nine.entry.cc713132.js} +9 -9
- package/dist/{swirl-icon-ratio-square.entry.d5ae516e.js → swirl-icon-ratio-square.entry.9a142eb1.js} +6 -6
- package/dist/{swirl-icon-ratio-three-to-four.entry.75f6f39c.js → swirl-icon-ratio-three-to-four.entry.b9e33f8c.js} +5 -5
- package/dist/{swirl-icon-ratio-three-to-two.entry.6c003e64.js → swirl-icon-ratio-three-to-two.entry.d4e14387.js} +4 -4
- package/dist/{swirl-icon-recieved.entry.496fc7cd.js → swirl-icon-recieved.entry.5709ac89.js} +6 -6
- package/dist/{swirl-icon-remove-circle.entry.09dca4a5.js → swirl-icon-remove-circle.entry.7d58b377.js} +7 -7
- package/dist/{swirl-icon-remove-moderator.entry.58fbc17b.js → swirl-icon-remove-moderator.entry.73b8680f.js} +6 -6
- package/dist/{swirl-icon-reply.entry.2b4ff44e.js → swirl-icon-reply.entry.e63d58fb.js} +5 -5
- package/dist/{swirl-icon-report.entry.24422a6e.js → swirl-icon-report.entry.61626b6f.js} +8 -8
- package/dist/{swirl-icon-roadmap.entry.0e72eb75.js → swirl-icon-roadmap.entry.fea05b61.js} +9 -9
- package/dist/{swirl-icon-rotate-left.entry.8585b27a.js → swirl-icon-rotate-left.entry.cbaf0a0b.js} +6 -6
- package/dist/{swirl-icon-rotate-right.entry.cd270865.js → swirl-icon-rotate-right.entry.fd4eb57d.js} +5 -5
- package/dist/{swirl-icon-screenshare-off.entry.012dc578.js → swirl-icon-screenshare-off.entry.6622b50e.js} +2 -2
- package/dist/{swirl-icon-screenshare.entry.d53fe747.js → swirl-icon-screenshare.entry.ceda4413.js} +8 -8
- package/dist/{swirl-icon-search-strong.entry.3605e896.js → swirl-icon-search-strong.entry.0ee66578.js} +9 -9
- package/dist/{swirl-icon-search.entry.12772858.js → swirl-icon-search.entry.72df63a0.js} +9 -9
- package/dist/{swirl-icon-secure.entry.2efaf262.js → swirl-icon-secure.entry.38a2b2aa.js} +4 -4
- package/dist/{swirl-icon-send.entry.6408bb8e.js → swirl-icon-send.entry.abbd9594.js} +9 -9
- package/dist/{swirl-icon-settings.entry.755a176d.js → swirl-icon-settings.entry.bed65018.js} +2 -2
- package/dist/{swirl-icon-short-text.entry.5c2e2736.js → swirl-icon-short-text.entry.7e824122.js} +6 -6
- package/dist/{swirl-icon-simplify.entry.b142927f.js → swirl-icon-simplify.entry.c5067824.js} +5 -5
- package/dist/{swirl-icon-spellcheck.entry.03c961d1.js → swirl-icon-spellcheck.entry.ceaccd7f.js} +8 -8
- package/dist/{swirl-icon-stop.entry.116c1edf.js → swirl-icon-stop.entry.aeb2d8a6.js} +7 -7
- package/dist/{swirl-icon-sync.entry.f088cca7.js → swirl-icon-sync.entry.420198d5.js} +4 -4
- package/dist/{swirl-icon-tasks-filled.entry.d9647376.js → swirl-icon-tasks-filled.entry.253d1139.js} +6 -6
- package/dist/{swirl-icon-tasks.entry.96cb17b3.js → swirl-icon-tasks.entry.af6dc351.js} +6 -6
- package/dist/{swirl-icon-terminal.entry.7c536c7a.js → swirl-icon-terminal.entry.34260e00.js} +7 -7
- package/dist/{swirl-icon-time-filled.entry.7b8e1cc6.js → swirl-icon-time-filled.entry.93dec772.js} +5 -5
- package/dist/{swirl-icon-time.entry.753d3840.js → swirl-icon-time.entry.fd36bf0d.js} +2 -2
- package/dist/{swirl-icon-today-filled.entry.1544cfe2.js → swirl-icon-today-filled.entry.988d1bf2.js} +7 -7
- package/dist/{swirl-icon-translate.entry.a8fca882.js → swirl-icon-translate.entry.127385bf.js} +4 -4
- package/dist/{swirl-icon-tree-structure.entry.00569bcb.js → swirl-icon-tree-structure.entry.b139b522.js} +10 -10
- package/dist/{swirl-icon-undo.entry.9835bc5d.js → swirl-icon-undo.entry.50ac3c00.js} +10 -10
- package/dist/{swirl-icon-unlock-person.entry.6bf163c1.js → swirl-icon-unlock-person.entry.c6d691cb.js} +9 -9
- package/dist/{swirl-icon-user-add.entry.ebb7aca5.js → swirl-icon-user-add.entry.f9d1ecdf.js} +8 -8
- package/dist/{swirl-icon-user-assign.entry.340f5210.js → swirl-icon-user-assign.entry.74437664.js} +8 -8
- package/dist/{swirl-icon-video-camera-off.entry.7a7c33e1.js → swirl-icon-video-camera-off.entry.540d79a5.js} +8 -8
- package/dist/{swirl-icon-video-camera.entry.ca49d076.js → swirl-icon-video-camera.entry.28834e79.js} +8 -8
- package/dist/{swirl-icon-video-library.entry.184096e4.js → swirl-icon-video-library.entry.3a133816.js} +4 -4
- package/dist/{swirl-icon-video-player.entry.2e87243e.js → swirl-icon-video-player.entry.36cc106b.js} +7 -7
- package/dist/{swirl-icon-voice.entry.4689396b.js → swirl-icon-voice.entry.9e292765.js} +5 -5
- package/dist/{swirl-icon-web-asset-off.entry.caae4a2d.js → swirl-icon-web-asset-off.entry.235637fd.js} +4 -4
- package/dist/{swirl-icon-web-asset.entry.d8f0830e.js → swirl-icon-web-asset.entry.94accd28.js} +6 -6
- package/dist/{swirl-icon-work.entry.2e0dbbc4.js → swirl-icon-work.entry.c63001bc.js} +10 -10
- package/dist/swirl-icon.entry.4669487a.js +16 -0
- package/dist/{swirl-image-grid-item.entry.0e023b46.js → swirl-image-grid-item.entry.1a22a4da.js} +7 -7
- package/dist/{swirl-image-grid.entry.3e3be557.js → swirl-image-grid.entry.5206c2a4.js} +10 -10
- package/dist/{swirl-inline-notification.entry.26a57751.js → swirl-inline-notification.entry.475e7a26.js} +5 -5
- package/dist/{swirl-inline-status.entry.c7a9f1a8.js → swirl-inline-status.entry.33b25172.js} +7 -7
- package/dist/{swirl-lightbox.entry.bee15351.js → swirl-lightbox.entry.115fe8e2.js} +5 -5
- package/dist/{swirl-link.entry.bbdb2c20.js → swirl-link.entry.180012fd.js} +5 -5
- package/dist/{swirl-list.entry.5245886c.js → swirl-list.entry.c336f67d.js} +4 -4
- package/dist/{swirl-menu-item.entry.246c30a4.js → swirl-menu-item.entry.d939169d.js} +3 -3
- package/dist/{swirl-menu.entry.8c033d30.js → swirl-menu.entry.8ac6e845.js} +7 -7
- package/dist/{swirl-modal.entry.005b18dc.js → swirl-modal.entry.f31d253e.js} +3 -3
- package/dist/{swirl-option-list-section.entry.54517b45.js → swirl-option-list-section.entry.61483a88.js} +2 -2
- package/dist/{swirl-option-list_2.entry.da22cce5.js → swirl-option-list_2.entry.3367f0ed.js} +6 -6
- package/dist/{swirl-pagination.entry.d5e7578d.js → swirl-pagination.entry.ac3ef88a.js} +2 -2
- package/dist/{swirl-pdf-reader.entry.c1e31deb.js → swirl-pdf-reader.entry.0a1635d6.js} +3 -3
- package/dist/{swirl-popover_2.entry.a317f8e4.js → swirl-popover_2.entry.3d114534.js} +10 -10
- package/dist/{swirl-progress-indicator.entry.2416f7dd.js → swirl-progress-indicator.entry.82ccdf72.js} +5 -5
- package/dist/{swirl-radio-group.entry.1f2667d5.js → swirl-radio-group.entry.884d1018.js} +5 -5
- package/dist/{swirl-radio.entry.6cc77af0.js → swirl-radio.entry.358825a0.js} +2 -2
- package/dist/{swirl-resource-list-file-item.entry.59dc9344.js → swirl-resource-list-file-item.entry.d7e292d5.js} +6 -6
- package/dist/{swirl-search.entry.3c247657.js → swirl-search.entry.c1f9f258.js} +2 -2
- package/dist/{swirl-select.entry.c2a021b2.js → swirl-select.entry.76bc83c3.js} +5 -5
- package/dist/swirl-shell-layout.entry.d07be12d.js +143 -0
- package/dist/{swirl-shell-navigation-item.entry.bb945fe4.js → swirl-shell-navigation-item.entry.3772f22a.js} +2 -2
- package/dist/{swirl-skeleton-box.entry.ce106d9a.js → swirl-skeleton-box.entry.35970947.js} +6 -6
- package/dist/{swirl-skeleton-text.entry.1c031577.js → swirl-skeleton-text.entry.f5f8f9b4.js} +2 -2
- package/dist/{swirl-stack.entry.09d3b604.js → swirl-stack.entry.19849222.js} +2 -2
- package/dist/{swirl-status-indicator.entry.88eb3128.js → swirl-status-indicator.entry.4c2e1a14.js} +2 -2
- package/dist/{swirl-switch.entry.5f96e70e.js → swirl-switch.entry.fcd1ef8c.js} +2 -2
- package/dist/{swirl-symbol-account-circle.entry.aaf4e06e.js → swirl-symbol-account-circle.entry.5897c14e.js} +7 -7
- package/dist/{swirl-symbol-alternate-email.entry.0e19ea88.js → swirl-symbol-alternate-email.entry.ca650f08.js} +5 -5
- package/dist/{swirl-symbol-android.entry.52cdd9df.js → swirl-symbol-android.entry.35e7ca33.js} +5 -5
- package/dist/{swirl-symbol-announcement.entry.e104d9ab.js → swirl-symbol-announcement.entry.ba19ac1e.js} +2 -2
- package/dist/{swirl-symbol-backup.entry.29b97117.js → swirl-symbol-backup.entry.2a2327be.js} +4 -4
- package/dist/{swirl-symbol-beach-access.entry.72d03a8f.js → swirl-symbol-beach-access.entry.707ade5b.js} +2 -2
- package/dist/{swirl-symbol-bookmark.entry.1b51d89e.js → swirl-symbol-bookmark.entry.7b28edd5.js} +2 -2
- package/dist/{swirl-symbol-cloud.entry.a84b4ac7.js → swirl-symbol-cloud.entry.7b0b218c.js} +5 -5
- package/dist/{swirl-symbol-coronavirus.entry.7fec7457.js → swirl-symbol-coronavirus.entry.d99d105d.js} +5 -5
- package/dist/{swirl-symbol-desktop-windows.entry.3bfc1b9b.js → swirl-symbol-desktop-windows.entry.96ba9ed9.js} +6 -6
- package/dist/{swirl-symbol-directions-car-filled.entry.574ff858.js → swirl-symbol-directions-car-filled.entry.4aad7fad.js} +6 -6
- package/dist/{swirl-symbol-edit-calendar.entry.1b378faf.js → swirl-symbol-edit-calendar.entry.af16dcde.js} +5 -5
- package/dist/{swirl-symbol-email.entry.4ce9e56f.js → swirl-symbol-email.entry.e385a8b7.js} +6 -6
- package/dist/{swirl-symbol-emoji-food-beverage.entry.c8af00ed.js → swirl-symbol-emoji-food-beverage.entry.ff24ae88.js} +5 -5
- package/dist/{swirl-symbol-event-menu.entry.e0a1e55c.js → swirl-symbol-event-menu.entry.c495c18a.js} +5 -5
- package/dist/{swirl-symbol-facebook.entry.b8d6ef55.js → swirl-symbol-facebook.entry.9046d8e7.js} +6 -6
- package/dist/{swirl-symbol-favorite.entry.19c202b7.js → swirl-symbol-favorite.entry.50bf1a55.js} +2 -2
- package/dist/{swirl-symbol-fitness-center.entry.6e3357f7.js → swirl-symbol-fitness-center.entry.b83ceb35.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.d4b1e4c6.js → swirl-symbol-flag.entry.2fa8de99.js} +5 -5
- package/dist/{swirl-symbol-folder.entry.3f45af19.js → swirl-symbol-folder.entry.1467f62c.js} +5 -5
- package/dist/{swirl-symbol-globe.entry.bca24661.js → swirl-symbol-globe.entry.ae028196.js} +2 -2
- package/dist/{swirl-symbol-groups.entry.d9d00f93.js → swirl-symbol-groups.entry.c5afb601.js} +6 -6
- package/dist/{swirl-symbol-help.entry.eb93e815.js → swirl-symbol-help.entry.b84adcfe.js} +2 -2
- package/dist/{swirl-symbol-image.entry.b57cef50.js → swirl-symbol-image.entry.861df423.js} +2 -2
- package/dist/{swirl-symbol-info-menu.entry.04504ce4.js → swirl-symbol-info-menu.entry.bbd22b84.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.7161e14a.js → swirl-symbol-instagram.entry.08824c85.js} +5 -5
- package/dist/{swirl-symbol-ios.entry.1be1cd7a.js → swirl-symbol-ios.entry.0846fcf8.js} +5 -5
- package/dist/{swirl-symbol-language.entry.9c58df06.js → swirl-symbol-language.entry.9d0776a3.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.d398b608.js → swirl-symbol-leaderboard.entry.cf40cd4d.js} +4 -4
- package/dist/{swirl-symbol-lightbulb.entry.79397893.js → swirl-symbol-lightbulb.entry.c54ce9d7.js} +5 -5
- package/dist/{swirl-symbol-linkedin.entry.a2705b98.js → swirl-symbol-linkedin.entry.05aa392b.js} +7 -7
- package/dist/{swirl-symbol-location-on.entry.d56ecbd6.js → swirl-symbol-location-on.entry.60ef1d0e.js} +2 -2
- package/dist/{swirl-symbol-loyalty.entry.89789554.js → swirl-symbol-loyalty.entry.db6d2d5c.js} +2 -2
- package/dist/{swirl-symbol-maps-home-work.entry.c0735e9a.js → swirl-symbol-maps-home-work.entry.90d426b4.js} +5 -5
- package/dist/{swirl-symbol-notifications.entry.f6077417.js → swirl-symbol-notifications.entry.52a538e9.js} +4 -4
- package/dist/{swirl-symbol-open-in-new.entry.6b612add.js → swirl-symbol-open-in-new.entry.bae23ba7.js} +5 -5
- package/dist/{swirl-symbol-pedal-bike.entry.4f24a6da.js → swirl-symbol-pedal-bike.entry.79ac707f.js} +7 -7
- package/dist/{swirl-symbol-pinterest.entry.aea6b21e.js → swirl-symbol-pinterest.entry.458fe007.js} +5 -5
- package/dist/{swirl-symbol-policy.entry.167aad9d.js → swirl-symbol-policy.entry.d98f4c31.js} +7 -7
- package/dist/{swirl-symbol-push-pin.entry.51b903a8.js → swirl-symbol-push-pin.entry.d325e860.js} +5 -5
- package/dist/{swirl-symbol-redeem.entry.a52b6ac5.js → swirl-symbol-redeem.entry.a27c6f96.js} +7 -7
- package/dist/{swirl-symbol-report-problem.entry.79bab7c9.js → swirl-symbol-report-problem.entry.d6441e6a.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.624ca880.js → swirl-symbol-restaurant.entry.2fe56a99.js} +7 -7
- package/dist/swirl-symbol-roadmap.entry.0235a459.js +17 -0
- package/dist/{swirl-symbol-room.entry.2e200796.js → swirl-symbol-room.entry.b69f0214.js} +5 -5
- package/dist/{swirl-symbol-savings.entry.e9b3b72f.js → swirl-symbol-savings.entry.c3c15bc8.js} +2 -2
- package/dist/{swirl-symbol-settings-voice.entry.ee9c531a.js → swirl-symbol-settings-voice.entry.59efc93a.js} +4 -4
- package/dist/{swirl-symbol-shopping-cart.entry.5d2101b5.js → swirl-symbol-shopping-cart.entry.3e56c9c7.js} +2 -2
- package/dist/swirl-symbol-smartphone.entry.8790ac0e.js +17 -0
- package/dist/{swirl-symbol-star.entry.ca900b6a.js → swirl-symbol-star.entry.dd29bf02.js} +7 -7
- package/dist/{swirl-symbol-supervisor-account.entry.1e8f07b0.js → swirl-symbol-supervisor-account.entry.1b4777c7.js} +5 -5
- package/dist/{swirl-symbol-thumbs-up-down.entry.31e4a367.js → swirl-symbol-thumbs-up-down.entry.4db4e103.js} +9 -9
- package/dist/{swirl-symbol-twitter.entry.547d19b9.js → swirl-symbol-twitter.entry.0755c8f9.js} +2 -2
- package/dist/{swirl-symbol-wb-sunny.entry.3d1781ef.js → swirl-symbol-wb-sunny.entry.c174b0bf.js} +7 -7
- package/dist/{swirl-symbol-wechat.entry.14681681.js → swirl-symbol-wechat.entry.22c3e932.js} +5 -5
- package/dist/{swirl-symbol-weibo.entry.6e36c6d9.js → swirl-symbol-weibo.entry.aaeffd1d.js} +5 -5
- package/dist/{swirl-symbol-work.entry.5497f517.js → swirl-symbol-work.entry.500a2096.js} +5 -5
- package/dist/{swirl-symbol-xing.entry.1641c026.js → swirl-symbol-xing.entry.6eb3a8e3.js} +5 -5
- package/dist/{swirl-symbol-youtube.entry.144e39ce.js → swirl-symbol-youtube.entry.ba3b044e.js} +2 -2
- package/dist/{swirl-symbol.entry.f9b4a0e7.js → swirl-symbol.entry.82fc4004.js} +2 -2
- package/dist/{swirl-tab-bar.entry.2740f745.js → swirl-tab-bar.entry.1dd382ec.js} +2 -2
- package/dist/{swirl-tab.entry.6d824160.js → swirl-tab.entry.fb31ed54.js} +3 -3
- package/dist/{swirl-table-cell.entry.4ac93fc9.js → swirl-table-cell.entry.3d743202.js} +4 -4
- package/dist/{swirl-table-column.entry.73fad2ad.js → swirl-table-column.entry.fc4410c8.js} +2 -2
- package/dist/{swirl-table-row-group.entry.51735e45.js → swirl-table-row-group.entry.c0d6a3ee.js} +7 -7
- package/dist/{swirl-table-row.entry.f56ca0bd.js → swirl-table-row.entry.0e11064d.js} +9 -9
- package/dist/{swirl-table.entry.2ac3235b.js → swirl-table.entry.aade74eb.js} +5 -5
- package/dist/{swirl-tabs.entry.757933ec.js → swirl-tabs.entry.11163339.js} +3 -3
- package/dist/{swirl-text-input.entry.facf34cd.js → swirl-text-input.entry.3a99c3dd.js} +2 -2
- package/dist/{swirl-text.entry.9f2f9aa3.js → swirl-text.entry.22566986.js} +2 -2
- package/dist/{swirl-theme-provider.entry.17937f5a.js → swirl-theme-provider.entry.b238ab8f.js} +2 -2
- package/dist/{swirl-time-input.entry.843ff43d.js → swirl-time-input.entry.2c8a3407.js} +9 -9
- package/dist/{swirl-toast-provider.entry.b5c23f36.js → swirl-toast-provider.entry.c378a13c.js} +10 -10
- package/dist/{swirl-toast.entry.e230584c.js → swirl-toast.entry.141b8b3e.js} +6 -6
- package/dist/{swirl-toolbar.entry.f5326605.js → swirl-toolbar.entry.4f232999.js} +7 -7
- package/dist/{swirl-tooltip.entry.bc2ddc83.js → swirl-tooltip.entry.4d8646e6.js} +10 -10
- package/dist/{swirl-tree-navigation-item.entry.201de123.js → swirl-tree-navigation-item.entry.c2d339bf.js} +3 -3
- package/dist/{swirl-tree-view-item.entry.cebbf2c8.js → swirl-tree-view-item.entry.c8acf9ca.js} +4 -4
- package/dist/{swirl-tree-view.entry.50ce2210.js → swirl-tree-view.entry.a9d644c4.js} +5 -5
- package/dist/{swirl-video-thumbnail.entry.e41c137d.js → swirl-video-thumbnail.entry.b35ae0e4.js} +4 -4
- package/dist/swirl-visually-hidden.entry.9fe83266.js +15 -0
- package/dist/{wc-datepicker.entry.ce1fe390.js → wc-datepicker.entry.92a7e6a6.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-box.entry.49bb21d5.js +0 -69
- package/dist/swirl-columns.entry.46607e11.js +0 -18
- package/dist/swirl-emoji-idea.entry.d4561b6f.js +0 -17
- package/dist/swirl-emoji-love.entry.e5a8bacc.js +0 -17
- package/dist/swirl-emoji-sad.entry.f9aadaed.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.0ed865f8.js +0 -17
- package/dist/swirl-icon-arrow-right-small.entry.2c560279.js +0 -19
- package/dist/swirl-icon-dot.entry.563ece3f.js +0 -19
- package/dist/swirl-icon.entry.fa7155cc.js +0 -16
- package/dist/swirl-shell-layout.entry.884f9720.js +0 -127
- package/dist/swirl-symbol-roadmap.entry.3d413af6.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.4470b765.js +0 -17
- package/dist/swirl-visually-hidden.entry.5c7ac817.js +0 -15
|
@@ -1,43 +1,70 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { c
|
|
3
|
-
import {
|
|
4
|
-
import { S } from "./sortable.esm-8c3d5856.57c4f048.js";
|
|
5
|
-
import { v as
|
|
1
|
+
import { r as n, c as r, h as a, H as d, g as p, F as h } from "./index.e1718062.js";
|
|
2
|
+
import { c } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import { g as _, d as y, i as g, f } from "./utils-c16952ba.529dd544.js";
|
|
4
|
+
import { S as T } from "./sortable.esm-8c3d5856.57c4f048.js";
|
|
5
|
+
import { v as w } from "./v4-23648a96.77c7c20f.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-dom";
|
|
8
|
-
const
|
|
8
|
+
const E = `:host{--header-height:3.5625rem;position:relative;z-index:1;display:flex;width:100%;height:100%}:host *{box-sizing:border-box}.app-layout{display:flex;overflow:hidden;width:100%;height:100%;margin-right:auto;margin-left:auto}.app-layout__grid{position:relative;display:grid;width:100%;height:100%;grid-template-columns:100%;grid-template-rows:var(--header-height) 1fr;grid-template-areas:"body"
|
|
9
9
|
"body"}.app-layout:not(.app-layout--has-navigation) .app-layout__header,.app-layout:not(.app-layout--has-navigation) .app-layout__navigation{display:none}.app-layout:not(.app-layout--has-sidebar) .app-layout__sidebar{display:none}@media (max-width: 767px){.app-layout:not(.app-layout--mobile-view-body) .app-layout__body{display:none}}@media (max-width: 767px){.app-layout:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar{display:none}}.app-layout:not(.app-layout--has-app-bar-mobile-menu-button) .app-layout__app-bar-mobile-menu-button{display:none}.app-layout--has-navigation .app-layout__grid{grid-template-columns:100%;grid-template-areas:"header"
|
|
10
10
|
"navigation"}@media (min-width: 768px){.app-layout--has-navigation .app-layout__grid{grid-template-columns:min(50%, 22.5rem) 1fr;grid-template-areas:"header body"
|
|
11
|
-
"navigation body"}}@media (min-width: 1440px){.app-layout--has-navigation .app-layout__grid{grid-template-columns:min(50%, 25rem) 1fr}}@media (min-width: 768px){.app-layout--has-navigation .app-layout__app-bar-mobile-menu-button{display:none}}@media (min-width:
|
|
11
|
+
"navigation body"}}@media (min-width: 1440px){.app-layout--has-navigation .app-layout__grid{grid-template-columns:min(50%, 25rem) 1fr}}@media (min-width: 768px){.app-layout--has-navigation .app-layout__app-bar-mobile-menu-button{display:none}}@media (min-width: 992px){.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-collapsed .app-layout__grid{grid-template-columns:0 1fr}.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__grid{grid-template-columns:0 1fr}.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__header,.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__navigation{position:absolute;z-index:4;top:0;left:0;width:22.5rem;animation:app-layout-nav-overlay-slide-in-desktop 0.1s;animation-fill-mode:forwards}.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__header:after{position:absolute;z-index:1;top:0;left:calc(100% + var(--s-border-width-default));display:block;width:2rem;height:100vh;background-image:linear-gradient(
|
|
12
|
+
to right,
|
|
13
|
+
rgba(0, 0, 0, 0.05) 0,
|
|
14
|
+
rgba(0, 0, 0, 0) 80%,
|
|
15
|
+
rgba(0, 0, 0, 0) 100%
|
|
16
|
+
);content:""}.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__navigation{z-index:3;bottom:0}}@media (min-width: 1440px){.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__header,.app-layout--has-navigation.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__navigation{width:25rem;animation:app-layout-nav-overlay-slide-in-large-desktop 0.1s}}@media (min-width: 768px){.app-layout--has-sidebar:not(.app-layout--has-navigation).app-layout--sidebar-active .app-layout__grid{animation:app-layout-no-nav-sidebar-slide-in 0.3s}@media (prefers-reduced-motion){.app-layout--has-sidebar:not(.app-layout--has-navigation).app-layout--sidebar-active .app-layout__grid{animation:none}}}@media (min-width: 768px){.app-layout--has-sidebar:not(.app-layout--has-navigation).app-layout--sidebar-closing .app-layout__grid{animation:app-layout-no-nav-sidebar-slide-out 0.3s}@media (prefers-reduced-motion){.app-layout--has-sidebar:not(.app-layout--has-navigation).app-layout--sidebar-closing .app-layout__grid{animation:none}}}@media (min-width: 768px){.app-layout--has-sidebar.app-layout--sidebar-active .app-layout__grid{grid-template-columns:1fr min(50%, 25rem);grid-template-areas:"body sidebar"
|
|
12
17
|
"body sidebar"}}.app-layout--has-sidebar .app-layout__grid{grid-template-columns:100%;grid-template-areas:"body"
|
|
13
|
-
"body"}@media (min-width: 1800px){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-active .app-layout__grid{
|
|
14
|
-
"navigation body sidebar"}@media (prefers-reduced-motion){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-
|
|
15
|
-
"navigation body"}}@media (min-width: 992px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__grid{grid-template-columns:22.5rem 1fr}}@media (min-width: 1440px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__grid{grid-template-columns:25rem 1fr}}@media (min-width: 768px) and (max-width: 1799px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__sidebar{position:absolute;top:0;right:0;bottom:0;width:min(40%, 25rem);border-left:var(--s-border-width-default) solid var(--s-border-default);box-shadow:var(--s-shadow-level-3)}}@media (max-width: 767px){.app-layout--mobile-view-navigation .app-layout__grid{grid-template-areas:"header"
|
|
18
|
+
"body"}@media (min-width: 1800px){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-active .app-layout__grid{grid-template-columns:25rem 1fr 25rem;grid-template-areas:"header body sidebar"
|
|
19
|
+
"navigation body sidebar"}}@media (min-width: 1800px){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-opening .app-layout__grid{animation:app-layout-sidebar-slide-in 0.3s;animation-fill-mode:forwards}@media (prefers-reduced-motion){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-opening .app-layout__grid{animation:none}}.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-opening.app-layout--nav-collapsed .app-layout__grid,.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-opening.app-layout--nav-overlayed .app-layout__grid{animation:app-layout-sidebar-slide-in-with-collapsed-nav 0.3s}}@media (min-width: 1800px){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-closing .app-layout__grid{animation:app-layout-sidebar-slide-out 0.3s}@media (prefers-reduced-motion){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-closing .app-layout__grid{animation:none}}.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-closing.app-layout--nav-collapsed .app-layout__grid,.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-closing.app-layout--nav-overlayed .app-layout__grid{animation:app-layout-sidebar-slide-out-with-collapsed-nav 0.3s}}@media (min-width: 768px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__grid{grid-template-columns:min(50%, 22.5rem) 1fr;grid-template-areas:"header body"
|
|
20
|
+
"navigation body"}}@media (min-width: 992px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__grid{grid-template-columns:22.5rem 1fr}}@media (min-width: 1440px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__grid{grid-template-columns:25rem 1fr}}@media (min-width: 992px){.app-layout--has-navigation.app-layout--has-sidebar.app-layout--nav-collapsible.app-layout--nav-collapsed .app-layout__grid{grid-template-columns:0 1fr}.app-layout--has-navigation.app-layout--has-sidebar.app-layout--nav-collapsible.app-layout--nav-overlayed .app-layout__grid{grid-template-columns:0 1fr}}@media (min-width: 768px) and (max-width: 1799px){.app-layout--has-navigation.app-layout--has-sidebar .app-layout__sidebar{position:absolute;top:0;right:0;bottom:0;width:min(40%, 25rem);border-left:var(--s-border-width-default) solid var(--s-border-default);box-shadow:var(--s-shadow-level-3)}}@media (max-width: 767px){.app-layout--mobile-view-navigation .app-layout__grid{grid-template-areas:"header"
|
|
16
21
|
"navigation"}.app-layout--mobile-view-navigation .app-layout__body,.app-layout--mobile-view-navigation .app-layout__sidebar{display:none}}@media (max-width: 767px){.app-layout--mobile-view-body .app-layout__grid{grid-template-areas:"body"
|
|
17
22
|
"body"}.app-layout--mobile-view-body .app-layout__header,.app-layout--mobile-view-body .app-layout__navigation,.app-layout--mobile-view-body .app-layout__sidebar{display:none}}@media (max-width: 767px){.app-layout--mobile-view-sidebar .app-layout__grid{grid-template-areas:"sidebar"
|
|
18
|
-
"sidebar"}.app-layout--mobile-view-sidebar .app-layout__header,.app-layout--mobile-view-sidebar .app-layout__navigation,.app-layout--mobile-view-sidebar .app-layout__body{display:none}}.app-layout--has-sidebar:not(.app-layout--sidebar-active) .app-layout__sidebar{display:none}@media (min-width: 768px){.app-layout--sidebar-closing .app-layout__sidebar{animation:app-layout-sidebar-overlay-slide-out 0.3s}@media (prefers-reduced-motion){.app-layout--sidebar-closing .app-layout__sidebar{animation:none}}}@media (min-width: 1800px){.app-layout--sidebar-closing .app-layout__sidebar{animation:none}}.app-layout--has-app-bar-controls .app-layout__app-bar-controls{display:block}.app-layout--has-bottom-bar .app-layout__body{grid-template-rows:minmax(
|
|
23
|
+
"sidebar"}.app-layout--mobile-view-sidebar .app-layout__header,.app-layout--mobile-view-sidebar .app-layout__navigation,.app-layout--mobile-view-sidebar .app-layout__body{display:none}}.app-layout--has-sidebar:not(.app-layout--sidebar-active) .app-layout__sidebar{display:none}@media (min-width: 768px){.app-layout--sidebar-closing .app-layout__sidebar{animation:app-layout-sidebar-overlay-slide-out 0.3s}@media (prefers-reduced-motion){.app-layout--sidebar-closing .app-layout__sidebar{animation:none}}}@media (min-width: 1800px){.app-layout--sidebar-closing .app-layout__sidebar{animation:none}}.app-layout--has-app-bar-controls .app-layout__app-bar-controls{display:block}.app-layout--has-bottom-bar .app-layout__body{grid-template-rows:minmax(var(--header-height), auto) auto 1fr auto;grid-template-areas:"app-bar"
|
|
19
24
|
"banner"
|
|
20
25
|
"content"
|
|
21
|
-
"bottom-bar"}.app-layout--has-bottom-bar .app-layout__bottom-bar{display:block}.app-layout--has-custom-app-bar-back-button .app-layout__custom-app-bar-back-button{display:block}.app-layout--has-custom-sidebar-header .app-layout__sidebar-header{display:none}.app-layout--has-custom-sidebar-header .app-layout__custom-sidebar-header{display:block}.app-layout--has-floating-action-button .app-layout__floating-action-button{display:block}.app-layout--hide-app-bar .app-layout__body{grid-template-rows:auto 1fr;grid-template-areas:"banner"
|
|
22
|
-
"content"}.app-layout__header{z-index:1;display:flex;min-width:0;padding-top:var(--s-space-12);padding-right:var(--s-space-8);padding-bottom:var(--s-space-12);padding-left:var(--s-space-8);align-items:center;background-color:var(--s-background-default);grid-area:header;gap:var(--s-space-8)}@media (min-width: 768px){.app-layout__header{border-right:var(--s-border-width-default) solid var(--s-border-default)}}@media (min-width: 992px){.app-layout__header{padding-right:var(--s-space-16);padding-left:var(--s-space-16)}}.app-layout__app-name{min-width:0}.app-layout__app-name .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-layout__app-bar-mobile-menu-button,.app-layout__navigation-mobile-menu-button{flex-shrink:0}@media (min-width: 992px){.app-layout__app-bar-mobile-menu-button,.app-layout__navigation-mobile-menu-button{display:none}}.app-layout__app-bar-mobile-menu-button{padding-left:var(--s-space-8)}@media (min-width: 768px){.app-layout__app-bar-mobile-menu-button{padding-left:0}}.app-layout__navigation-back-button{margin-left:calc(-1 * var(--s-space-4))}.app-layout__floating-action-button{position:absolute;z-index:4;right:var(--s-space-16);bottom:var(--s-space-16);display:none}.app-layout__navigation-controls{flex-shrink:0}.app-layout__navigation{z-index:1;overflow-y:auto;border-right:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);grid-area:navigation}.app-layout__body{z-index:2;display:grid;width:100%;height:100%;grid-area:body;grid-template-rows:minmax(
|
|
26
|
+
"bottom-bar"}.app-layout--has-bottom-bar .app-layout__content{border-bottom:var(--s-border-width-default) solid transparent}.app-layout--has-bottom-bar .app-layout__bottom-bar{display:block}.app-layout--has-custom-app-bar-back-button .app-layout__custom-app-bar-back-button{display:block}.app-layout--has-custom-sidebar-header .app-layout__sidebar-header{display:none}.app-layout--has-custom-sidebar-header .app-layout__custom-sidebar-header{display:block}.app-layout--has-floating-action-button .app-layout__floating-action-button{display:block}.app-layout--hide-app-bar .app-layout__body{grid-template-rows:auto 1fr;grid-template-areas:"banner"
|
|
27
|
+
"content"}.app-layout--content-scrollable:not(.app-layout--content-scrolled-to-top) .app-layout__app-bar{border-bottom-color:var(--s-border-default)}.app-layout--content-scrollable.app-layout--has-bottom-bar:not(.app-layout--content-scrolled-to-bottom) .app-layout__content{border-bottom-color:var(--s-border-default)}.app-layout--nav-scrollable:not(.app-layout--nav-scrolled-to-top) .app-layout__header{border-bottom-color:var(--s-border-default)}.app-layout--sidebar-scrollable:not(.app-layout--sidebar-scrolled-to-top) .app-layout__sidebar-header,.app-layout--sidebar-scrollable:not(.app-layout--sidebar-scrolled-to-top) .app-layout__custom-sidebar-header{border-bottom-color:var(--s-border-default)}.app-layout__header{z-index:1;display:flex;min-width:0;height:var(--header-height);padding-top:var(--s-space-12);padding-right:var(--s-space-8);padding-bottom:var(--s-space-12);padding-left:var(--s-space-8);align-items:center;border-bottom:var(--s-border-width-default) solid transparent;background-color:var(--s-background-default);grid-area:header;gap:var(--s-space-8)}@media (min-width: 768px){.app-layout__header{border-right:var(--s-border-width-default) solid var(--s-border-default)}}@media (min-width: 992px){.app-layout__header{padding-right:var(--s-space-16);padding-left:var(--s-space-16)}}.app-layout__app-name{min-width:0}.app-layout__app-name .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-layout__app-bar-mobile-menu-button,.app-layout__navigation-mobile-menu-button{flex-shrink:0}@media (min-width: 992px){.app-layout__app-bar-mobile-menu-button,.app-layout__navigation-mobile-menu-button{display:none}}.app-layout__app-bar-mobile-menu-button{padding-left:var(--s-space-8)}@media (min-width: 768px){.app-layout__app-bar-mobile-menu-button{padding-left:0}}.app-layout__navigation-back-button{margin-left:calc(-1 * var(--s-space-4))}.app-layout__floating-action-button{position:absolute;z-index:4;right:var(--s-space-16);bottom:var(--s-space-16);display:none}.app-layout__navigation-controls{flex-shrink:0}.app-layout__navigation{z-index:1;overflow-y:auto;border-right:var(--s-border-width-default) solid var(--s-border-default);background-color:var(--s-background-default);grid-area:navigation}.app-layout__nav-overlay-toggle,.app-layout__nav-expansion-toggle{display:none}@media (min-width: 992px){.app-layout__nav-overlay-toggle,.app-layout__nav-expansion-toggle{display:block}}.app-layout__nav-expansion-toggle{padding-left:var(--s-space-16)}.app-layout__body{z-index:2;display:grid;width:100%;height:100%;grid-area:body;grid-template-rows:minmax(var(--header-height), auto) auto 1fr;grid-template-areas:"app-bar"
|
|
23
28
|
"banner"
|
|
24
|
-
"content"}.app-layout__app-bar{--swirl-tab-bar-border-width:0;--swirl-tab-bar-height:3.5rem;display:flex;min-width:0;align-items:center;background-color:var(--s-background-default);grid-area:app-bar;gap:var(--s-space-8)}.app-layout__bottom-bar{display:none;min-width:0;align-items:center;background-color:var(--s-background-default);grid-area:bottom-bar}.app-layout__back-to-navigation-button{padding-left:var(--s-space-8)}@media (min-width: 768px){.app-layout__back-to-navigation-button{display:none}}.app-layout__banner{grid-area:banner}.app-layout__app-bar-content{min-width:0;flex-grow:1}.app-layout__custom-app-bar-back-button{display:none;padding-left:var(--s-space-8)}.app-layout__app-bar-controls{display:none;padding-right:var(--s-space-8)}@media (min-width: 768px){.app-layout__app-bar-controls{padding-right:var(--s-space-16)}}.app-layout__content{overflow:auto;background-color:var(--s-background-default);grid-area:content}.app-layout__sidebar{z-index:3;display:grid;width:100%;height:100%;border-left:var(--s-border-width-default) solid var(--s-border-default);grid-area:sidebar;grid-template-rows:
|
|
25
|
-
"sidebar-content"}@media (min-width: 768px){.app-layout__sidebar{animation:app-layout-slide-in 0.3s}@media (prefers-reduced-motion){.app-layout__sidebar{animation:none}}}@media (min-width: 1800px){.app-layout__sidebar{width:25rem;animation:none}}.app-layout__custom-sidebar-header{display:none;min-width:0;border-bottom:var(--s-border-width-default) solid
|
|
26
|
-
(scroll-timeline: --scroll-timeline y) and
|
|
27
|
-
(animation-timeline: --scroll-timeline)
|
|
28
|
-
){.app-layout__bordered-container-when-scrolled:before,.app-layout__bordered-container-when-scrolled:after{visibility:var(--swirl-app-layout-border-visibility);animation-name:app-layout-border-reveal;animation-fill-mode:both;animation-range:1px 1px;animation-timeline:--scroll-timeline}}.app-layout__bordered-container-when-scrolled:after{display:none;top:auto;bottom:0}.app-layout__bordered-container-when-scrolled--with-bottom:after{display:block;animation-direction:reverse;animation-range:calc(100% - 1px) calc(100% - 1px)}@keyframes app-layout-border-reveal{0%{background-color:transparent}100%{background-color:var(--s-border-default)}}@keyframes app-layout-detect-scroll{from,to{--swirl-app-layout-border-visibility:visible}}@media (max-width: 767px){.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__grid,.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__grid{grid-template-columns:100%;grid-template-areas:"header"
|
|
29
|
+
"content"}.app-layout__app-bar{--swirl-tab-bar-border-width:0;--swirl-tab-bar-height:3.5rem;display:flex;min-width:0;align-items:center;border-bottom:var(--s-border-width-default) solid transparent;background-color:var(--s-background-default);grid-area:app-bar;gap:var(--s-space-8)}.app-layout__bottom-bar{display:none;min-width:0;align-items:center;background-color:var(--s-background-default);grid-area:bottom-bar}.app-layout__back-to-navigation-button{padding-left:var(--s-space-8)}@media (min-width: 768px){.app-layout__back-to-navigation-button{display:none}}.app-layout__banner{grid-area:banner}.app-layout__app-bar-content{min-width:0;flex-grow:1}.app-layout__custom-app-bar-back-button{display:none;padding-left:var(--s-space-8)}.app-layout__app-bar-controls{display:none;padding-right:var(--s-space-8)}@media (min-width: 768px){.app-layout__app-bar-controls{padding-right:var(--s-space-16)}}.app-layout__content{overflow:auto;background-color:var(--s-background-default);grid-area:content}.app-layout__sidebar{z-index:3;display:grid;width:100%;height:100%;border-left:var(--s-border-width-default) solid var(--s-border-default);grid-area:sidebar;grid-template-rows:var(--header-height) 1fr;grid-template-areas:"sidebar-header"
|
|
30
|
+
"sidebar-content"}@media (min-width: 768px){.app-layout__sidebar{animation:app-layout-slide-in 0.3s}@media (prefers-reduced-motion){.app-layout__sidebar{animation:none}}}@media (min-width: 1800px){.app-layout__sidebar{width:25rem;animation:none}}.app-layout__custom-sidebar-header{display:none;min-width:0;border-bottom:var(--s-border-width-default) solid transparent;background-color:var(--s-background-default);grid-area:sidebar-header}.app-layout__sidebar-header{display:flex;min-width:0;padding-top:var(--s-space-12);padding-right:var(--s-space-8);padding-bottom:var(--s-space-12);padding-left:var(--s-space-8);align-items:center;border-bottom:var(--s-border-width-default) solid transparent;background-color:var(--s-background-default);grid-area:sidebar-header;gap:var(--s-space-8)}@media (min-width: 768px){.app-layout__sidebar-header{padding-right:var(--s-space-16);padding-left:var(--s-space-16)}}.app-layout__sidebar-heading{min-width:0;flex-grow:1}.app-layout__sidebar-heading .heading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.app-layout__sidebar-close-button{margin-left:calc(-1 * var(--s-space-4))}.app-layout__sidebar-content{overflow-y:auto;background-color:var(--s-background-default);grid-area:sidebar-content}@keyframes app-layout-nav-overlay-slide-in-desktop{from{width:0}to{width:22.5rem}}@keyframes app-layout-nav-overlay-slide-in-large-desktop{from{width:0}to{width:25rem}}@media (max-width: 767px){.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__grid,.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__grid{grid-template-columns:100%;grid-template-areas:"header"
|
|
29
31
|
"navigation"}.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{position:absolute;top:0;left:0;display:grid;width:100%;transform:translate3d(100%, 0, 0)}}@media (max-width: 767px){.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header{display:flex}.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{display:block}}@media (max-width: 991px){.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__grid,.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__grid{grid-template-columns:100%;grid-template-areas:"body"
|
|
30
|
-
"body"}.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{position:absolute;top:0;left:0;display:grid;border-left:var(--s-border-width-default) solid var(--s-border-default)}}@media (max-width: 991px){.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{display:grid}.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{display:grid}}@media (max-width: 767px){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__navigation,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation:app-layout-slide-out 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__navigation,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:app-layout-slide-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body:after,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body:after{position:absolute;top:0;right:100%;bottom:0;display:block;width:100%;background-color:rgba(0, 0, 0, 0.3);content:"";animation:app-layout-fade-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body:after,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body:after{animation:none}}}@media (max-width: 767px){.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body:after{animation-direction:reverse}}@media (max-width: 991px){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation:app-layout-slide-out 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:app-layout-slide-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar:after,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar:after{position:absolute;top:0;right:100%;bottom:0;display:block;width:100%;background-color:rgba(0, 0, 0, 0.3);content:"";animation:app-layout-fade-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar:after,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar:after{animation:none}}}@media (max-width: 991px){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar:after{animation-direction:reverse}}@media (max-width: 767px){.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:app-layout-scale-in 0.3s}@media (prefers-reduced-motion){.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:none}}}@media (max-width: 767px){.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header{animation-direction:reverse}.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation-direction:reverse}.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation-direction:reverse}}@media (max-width: 991px){.app-layout--transition-style-dialog.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:app-layout-scale-in 0.3s}@media (prefers-reduced-motion){.app-layout--transition-style-dialog.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:none}}}@media (max-width: 991px){.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation-direction:reverse}.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation-direction:reverse}}@keyframes app-layout-sidebar-overlay-slide-out{0%{transform:translate3d(0, 0, 0)}100%{transform:translate3d(100%, 0, 0)}}@keyframes app-layout-slide-in{0%{transform:translate3d(100%, 0, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes app-layout-slide-out{0%{transform:translate3d(0, 0, 0)}100%{transform:translate3d(-20%, 0, 0)}}@keyframes app-layout-fade-in{0%{opacity:0}100%{opacity:1}}@keyframes app-layout-scale-in{from{transform:scale(0);box-shadow:0 0 0 100rem rgba(0, 0, 0, 0)}to{transform:scale(1);box-shadow:0 0 0 100rem rgba(0, 0, 0, 0.25)}}@keyframes app-layout-sidebar-slide-in{from{overflow:hidden;grid-template-columns:25rem 1fr 0}to{overflow:hidden;grid-template-columns:25rem 1fr 25rem}}@keyframes app-layout-sidebar-slide-out{from{overflow:hidden;grid-template-columns:25rem 1fr 25rem}to{overflow:hidden;grid-template-columns:25rem 1fr 0}}@keyframes app-layout-no-nav-sidebar-slide-in{from{overflow:hidden;grid-template-columns:1fr 0}to{overflow:hidden;grid-template-columns:1fr 25rem}}@keyframes app-layout-no-nav-sidebar-slide-out{from{overflow:hidden;grid-template-columns:1fr 25rem}to{overflow:hidden;grid-template-columns:1fr 0}}`, A = D, M = class {
|
|
31
|
-
constructor(
|
|
32
|
-
|
|
32
|
+
"body"}.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{position:absolute;top:0;left:0;display:grid;border-left:var(--s-border-width-default) solid var(--s-border-default)}}@media (max-width: 991px){.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{display:grid}.app-layout:not(.app-layout--transition-none).app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{display:grid}}@media (max-width: 767px){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__navigation,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation:app-layout-slide-out 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__navigation,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:app-layout-slide-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body:after,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body:after{position:absolute;top:0;right:100%;bottom:0;display:block;width:100%;background-color:rgba(0, 0, 0, 0.3);content:"";animation:app-layout-fade-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body:after,.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body:after{animation:none}}}@media (max-width: 767px){.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body:after{animation-direction:reverse}}@media (max-width: 991px){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation:app-layout-slide-out 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__body,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:app-layout-slide-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:none}}.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar:after,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar:after{position:absolute;top:0;right:100%;bottom:0;display:block;width:100%;background-color:rgba(0, 0, 0, 0.3);content:"";animation:app-layout-fade-in 0.4s}@media (prefers-reduced-motion){.app-layout--transition-style-slides.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar:after,.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar:after{animation:none}}}@media (max-width: 991px){.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation-direction:reverse}.app-layout--transition-style-slides.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar:after{animation-direction:reverse}}@media (max-width: 767px){.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:app-layout-scale-in 0.3s}@media (prefers-reduced-motion){.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-navigation:not(.app-layout--mobile-view-body) .app-layout__body,.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation:none}}}@media (max-width: 767px){.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__header{animation-direction:reverse}.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__navigation{animation-direction:reverse}.app-layout--transition-style-dialog.app-layout--transitioning-to-navigation.app-layout--transitioning-from-body:not(.app-layout--mobile-view-navigation) .app-layout__body{animation-direction:reverse}}@media (max-width: 991px){.app-layout--transition-style-dialog.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:app-layout-scale-in 0.3s}@media (prefers-reduced-motion){.app-layout--transition-style-dialog.app-layout--transitioning-to-sidebar.app-layout--transitioning-from-body:not(.app-layout--mobile-view-sidebar) .app-layout__sidebar,.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation:none}}}@media (max-width: 991px){.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__body{animation-direction:reverse}.app-layout--transition-style-dialog.app-layout--transitioning-to-body.app-layout--transitioning-from-sidebar:not(.app-layout--mobile-view-body) .app-layout__sidebar{animation-direction:reverse}}@keyframes app-layout-sidebar-overlay-slide-out{0%{transform:translate3d(0, 0, 0)}100%{transform:translate3d(100%, 0, 0)}}@keyframes app-layout-slide-in{0%{transform:translate3d(100%, 0, 0)}100%{transform:translate3d(0, 0, 0)}}@keyframes app-layout-slide-out{0%{transform:translate3d(0, 0, 0)}100%{transform:translate3d(-20%, 0, 0)}}@keyframes app-layout-fade-in{0%{opacity:0}100%{opacity:1}}@keyframes app-layout-scale-in{from{transform:scale(0);box-shadow:0 0 0 100rem rgba(0, 0, 0, 0)}to{transform:scale(1);box-shadow:0 0 0 100rem rgba(0, 0, 0, 0.25)}}@keyframes app-layout-sidebar-slide-in{from{overflow:hidden;grid-template-columns:25rem 1fr 0}to{overflow:hidden;grid-template-columns:25rem 1fr 25rem}}@keyframes app-layout-sidebar-slide-in-with-collapsed-nav{from{overflow:hidden;grid-template-columns:0 1fr 0}to{overflow:hidden;grid-template-columns:0 1fr 25rem}}@keyframes app-layout-sidebar-slide-out{from{overflow:hidden;grid-template-columns:25rem 1fr 25rem}to{overflow:hidden;grid-template-columns:25rem 1fr 0}}@keyframes app-layout-sidebar-slide-out-with-collapsed-nav{from{overflow:hidden;grid-template-columns:0 1fr 25rem}to{overflow:hidden;grid-template-columns:0 1fr 0}}@keyframes app-layout-no-nav-sidebar-slide-in{from{overflow:hidden;grid-template-columns:1fr 0}to{overflow:hidden;grid-template-columns:1fr 25rem}}@keyframes app-layout-no-nav-sidebar-slide-out{from{overflow:hidden;grid-template-columns:1fr 25rem}to{overflow:hidden;grid-template-columns:1fr 0}}`, D = E, A = "SWIRL_APP_LAYOUT_NAV_EXPANSION_STATE", M = class {
|
|
33
|
+
constructor(t) {
|
|
34
|
+
n(this, t), this.ctaClick = r(this, "ctaClick", 7), this.mobileViewChange = r(this, "mobileViewChange", 7), this.navigationBackButtonClick = r(this, "navigationBackButtonClick", 7), this.navigationExpansionStateChange = r(this, "navigationExpansionStateChange", 7), this.sidebarToggle = r(this, "sidebarToggle", 7), this.desktopMediaQuery = _(), this.desktopMediaQueryHandler = (e) => {
|
|
35
|
+
this.isDesktop = e.matches;
|
|
36
|
+
}, this.onBackToNavigationViewButtonClick = () => {
|
|
33
37
|
this.changeMobileView("navigation");
|
|
34
|
-
}, this.onCtaClick = (
|
|
35
|
-
this.ctaClick.emit(
|
|
36
|
-
}, this.onNavigationBackButtonClick = (
|
|
37
|
-
this.navigationBackButtonClick.emit(
|
|
38
|
+
}, this.onCtaClick = (e) => {
|
|
39
|
+
this.ctaClick.emit(e);
|
|
40
|
+
}, this.onNavigationBackButtonClick = (e) => {
|
|
41
|
+
this.navigationBackButtonClick.emit(e);
|
|
38
42
|
}, this.onSidebarCloseButtonClick = () => {
|
|
39
43
|
this.hideSidebar();
|
|
40
|
-
}, this.
|
|
44
|
+
}, this.onContentScroll = y(() => {
|
|
45
|
+
this.updateContentScrollState();
|
|
46
|
+
}, 16), this.onNavScroll = y(() => {
|
|
47
|
+
this.updateNavScrollState();
|
|
48
|
+
}, 16), this.onSidebarScroll = y(() => {
|
|
49
|
+
this.updateSidebarScrollState();
|
|
50
|
+
}, 16), this.toggleNavigation = () => {
|
|
51
|
+
if (!this.collapsibleNavigation)
|
|
52
|
+
return;
|
|
53
|
+
const e = this.navExpansionState === "expanded" ? "collapsed" : "expanded";
|
|
54
|
+
this.setCollapsibleNavigationState(e);
|
|
55
|
+
}, this.overlayNavigation = (e) => {
|
|
56
|
+
e.stopPropagation(), this.setCollapsibleNavigationState("overlayed");
|
|
57
|
+
}, this.appName = void 0, this.backToNavigationViewButtonLabel = "Back to navigation", this.collapsibleNavigation = void 0, this.ctaIcon = void 0, this.ctaLabel = void 0, this.hasNavigation = void 0, this.hideAppBar = void 0, this.navigationBackButtonLabel = "Go back", this.navigationExpansionStateStorageKey = A, this.navigationToggleLabel = "Toggle navigation", this.navigationOverlayLabel = "Show navigation", this.navigationLabel = void 0, this.showNavigationBackButton = void 0, this.sidebarCloseButtonLabel = "Close sidebar", this.sidebarHeading = void 0, this.transitionStyle = "slides", this.contentScrollState = {
|
|
58
|
+
scrollable: !1,
|
|
59
|
+
scrolledToTop: !1,
|
|
60
|
+
scrolledToBottom: !1
|
|
61
|
+
}, this.hasCustomAppBarBackButton = void 0, this.hasSidebar = void 0, this.isDesktop = void 0, this.mobileView = "navigation", this.navScrollState = {
|
|
62
|
+
scrollable: !1,
|
|
63
|
+
scrolledToTop: !1
|
|
64
|
+
}, this.navExpansionState = "expanded", this.sidebarActive = void 0, this.sidebarClosing = void 0, this.sidebarOpening = void 0, this.sidebarScrollState = {
|
|
65
|
+
scrollable: !1,
|
|
66
|
+
scrolledToTop: !1
|
|
67
|
+
}, this.transitioningFrom = void 0, this.transitioningTo = void 0;
|
|
41
68
|
}
|
|
42
69
|
componentWillLoad() {
|
|
43
70
|
this.mutationObserver = new MutationObserver(() => {
|
|
@@ -46,48 +73,73 @@ const D = `:host{--swirl-app-layout-border-visibility:hidden;position:relative;z
|
|
|
46
73
|
this.updateCustomAppBarBackButtonStatus(), this.updateSidebarStatus(), this.updateNavigationStatus(), this.checkMobileView();
|
|
47
74
|
});
|
|
48
75
|
}
|
|
76
|
+
componentDidLoad() {
|
|
77
|
+
this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler, queueMicrotask(() => {
|
|
78
|
+
this.isDesktop = this.desktopMediaQuery.matches, this.restoreNavExpansionState(), this.updateContentScrollState(), this.updateSidebarScrollState(), this.updateNavScrollState();
|
|
79
|
+
});
|
|
80
|
+
}
|
|
49
81
|
disconnectedCallback() {
|
|
50
|
-
var e;
|
|
51
|
-
(e = this.
|
|
82
|
+
var t, e, i;
|
|
83
|
+
(e = (t = this.desktopMediaQuery).removeEventListener) == null || e.call(t, "change", this.desktopMediaQueryHandler), (i = this.mutationObserver) == null || i.disconnect();
|
|
84
|
+
}
|
|
85
|
+
onDocumentClick(t) {
|
|
86
|
+
if (!this.collapsibleNavigation || this.navExpansionState !== "overlayed")
|
|
87
|
+
return;
|
|
88
|
+
t.composedPath().includes(this.navEl) || t.composedPath().includes(this.headerEl) || this.setCollapsibleNavigationState("collapsed");
|
|
89
|
+
}
|
|
90
|
+
onKeyDown(t) {
|
|
91
|
+
t.key === "Escape" && this.navExpansionState === "overlayed" && this.setCollapsibleNavigationState("collapsed");
|
|
52
92
|
}
|
|
53
93
|
watchMobileView() {
|
|
54
94
|
this.checkMobileView();
|
|
55
95
|
}
|
|
56
96
|
async showSidebar() {
|
|
57
|
-
this.sidebarActive || !this.hasSidebar
|
|
97
|
+
if (this.sidebarActive || !this.hasSidebar)
|
|
98
|
+
return;
|
|
99
|
+
Boolean(this.sidebarOpeningTimeout) && clearTimeout(this.sidebarOpeningTimeout), this.sidebarOpening = !0;
|
|
100
|
+
const t = g() || f() ? 0 : 300;
|
|
101
|
+
this.sidebarOpeningTimeout = setTimeout(() => {
|
|
102
|
+
this.sidebarActive = !0, this.sidebarOpening = !1, this.changeMobileView("sidebar"), this.sidebarToggle.emit(!0);
|
|
103
|
+
}, t);
|
|
58
104
|
}
|
|
59
105
|
async hideSidebar() {
|
|
60
106
|
if (!this.sidebarActive || !this.hasSidebar)
|
|
61
107
|
return;
|
|
62
108
|
Boolean(this.sidebarClosingTimeout) && clearTimeout(this.sidebarClosingTimeout), this.sidebarClosing = !0;
|
|
63
|
-
const
|
|
109
|
+
const t = g() || f() ? 0 : 300;
|
|
64
110
|
this.sidebarClosingTimeout = setTimeout(() => {
|
|
65
111
|
this.sidebarActive = !1, this.sidebarClosing = !1, this.changeMobileView("body"), this.sidebarToggle.emit(!1);
|
|
66
|
-
},
|
|
112
|
+
}, t);
|
|
67
113
|
}
|
|
68
114
|
async toggleSidebar() {
|
|
69
115
|
!this.hasSidebar || (this.sidebarActive ? this.hideSidebar() : this.showSidebar());
|
|
70
116
|
}
|
|
71
|
-
async
|
|
72
|
-
|
|
117
|
+
async getCollapsibleNavigationState() {
|
|
118
|
+
return this.navExpansionState;
|
|
119
|
+
}
|
|
120
|
+
async setCollapsibleNavigationState(t) {
|
|
121
|
+
!this.collapsibleNavigation || (this.navExpansionState = t, this.navigationExpansionStateChange.emit(this.navExpansionState), localStorage.setItem(this.navigationExpansionStateStorageKey, this.navExpansionState));
|
|
122
|
+
}
|
|
123
|
+
async changeMobileView(t, e = !0) {
|
|
124
|
+
if (this.mobileView === t || t === "navigation" && !this.hasNavigation || t === "sidebar" && !this.hasSidebar)
|
|
73
125
|
return;
|
|
74
|
-
if (!g() || !
|
|
75
|
-
this.mobileView =
|
|
126
|
+
if (!g() || !e) {
|
|
127
|
+
this.mobileView = t, this.mobileViewChange.emit(this.mobileView);
|
|
76
128
|
return;
|
|
77
129
|
}
|
|
78
|
-
Boolean(this.transitionTimeout) && clearTimeout(this.transitionTimeout), this.transitioningFrom = this.mobileView, this.transitioningTo =
|
|
79
|
-
const
|
|
130
|
+
Boolean(this.transitionTimeout) && clearTimeout(this.transitionTimeout), this.transitioningFrom = this.mobileView, this.transitioningTo = t;
|
|
131
|
+
const l = f() ? 0 : this.transitionStyle === "slides" ? 400 : this.transitionStyle === "dialog" ? 300 : 0;
|
|
80
132
|
this.transitionTimeout = setTimeout(() => {
|
|
81
|
-
this.mobileView =
|
|
82
|
-
},
|
|
133
|
+
this.mobileView = t, this.transitioningFrom = void 0, this.transitioningTo = void 0, this.mobileViewChange.emit(this.mobileView);
|
|
134
|
+
}, l);
|
|
83
135
|
}
|
|
84
136
|
checkMobileView() {
|
|
85
137
|
if (this.mobileView === "navigation" && !this.hasNavigation || this.mobileView === "sidebar" && !this.hasSidebar) {
|
|
86
138
|
this.mobileView = "body";
|
|
87
139
|
return;
|
|
88
140
|
}
|
|
89
|
-
const
|
|
90
|
-
|
|
141
|
+
const t = this.mobileView === "sidebar" || this.sidebarActive;
|
|
142
|
+
t !== this.sidebarActive && (t ? this.showSidebar() : this.hideSidebar());
|
|
91
143
|
}
|
|
92
144
|
updateNavigationStatus() {
|
|
93
145
|
this.hasNavigation = Boolean(this.el.querySelector('[slot="navigation"]'));
|
|
@@ -98,23 +150,58 @@ const D = `:host{--swirl-app-layout-border-visibility:hidden;position:relative;z
|
|
|
98
150
|
updateSidebarStatus() {
|
|
99
151
|
this.hasSidebar = Boolean(this.el.querySelector('[slot="sidebar"]'));
|
|
100
152
|
}
|
|
153
|
+
updateContentScrollState() {
|
|
154
|
+
const t = {
|
|
155
|
+
scrollable: this.contentEl.scrollHeight > this.contentEl.clientHeight,
|
|
156
|
+
scrolledToTop: this.contentEl.scrollTop === 0,
|
|
157
|
+
scrolledToBottom: Math.round(this.contentEl.scrollTop + this.contentEl.clientHeight) >= this.contentEl.scrollHeight
|
|
158
|
+
};
|
|
159
|
+
Object.keys(t).some((e) => t[e] !== this.contentScrollState[e]) && (this.contentScrollState = t);
|
|
160
|
+
}
|
|
161
|
+
updateNavScrollState() {
|
|
162
|
+
const t = {
|
|
163
|
+
scrollable: this.navEl.scrollHeight > this.navEl.clientHeight,
|
|
164
|
+
scrolledToTop: this.navEl.scrollTop === 0
|
|
165
|
+
};
|
|
166
|
+
Object.keys(t).some((e) => t[e] !== this.navScrollState[e]) && (this.navScrollState = t);
|
|
167
|
+
}
|
|
168
|
+
updateSidebarScrollState() {
|
|
169
|
+
const t = {
|
|
170
|
+
scrollable: this.sidebarEl.scrollHeight > this.sidebarEl.clientHeight,
|
|
171
|
+
scrolledToTop: this.sidebarEl.scrollTop === 0
|
|
172
|
+
};
|
|
173
|
+
Object.keys(t).some((e) => t[e] !== this.sidebarScrollState[e]) && (this.sidebarScrollState = t);
|
|
174
|
+
}
|
|
175
|
+
restoreNavExpansionState() {
|
|
176
|
+
if (!this.collapsibleNavigation)
|
|
177
|
+
return;
|
|
178
|
+
const t = localStorage.getItem(this.navigationExpansionStateStorageKey);
|
|
179
|
+
Boolean(t) && this.setCollapsibleNavigationState(t);
|
|
180
|
+
}
|
|
101
181
|
render() {
|
|
102
|
-
const
|
|
182
|
+
const t = (this.mobileView === "body" || this.transitioningTo) && this.hasNavigation && !this.hasCustomAppBarBackButton, e = Boolean(this.el.querySelector('[slot="app-bar-controls"]')), i = Boolean(this.el.querySelector('[slot="bottom-bar"]')), o = Boolean(this.el.querySelector('[slot="app-bar-mobile-menu-button"]')), l = Boolean(this.el.querySelector('[slot="custom-sidebar-header"]')), u = Boolean(this.el.querySelector('[slot="floating-action-button"]')) || Boolean(this.ctaLabel), b = this.hasNavigation && (!this.collapsibleNavigation || this.navExpansionState !== "collapsed" || !this.isDesktop), m = c("app-layout", `app-layout--mobile-view-${this.mobileView}`, `app-layout--nav-${this.isDesktop ? this.navExpansionState : "expanded"}`, `app-layout--transitioning-from-${this.transitioningFrom}`, `app-layout--transitioning-to-${this.transitioningTo}`, `app-layout--transition-style-${this.transitionStyle}`, {
|
|
183
|
+
"app-layout--content-scrollable": this.contentScrollState.scrollable,
|
|
184
|
+
"app-layout--content-scrolled-to-top": this.contentScrollState.scrolledToTop,
|
|
185
|
+
"app-layout--content-scrolled-to-bottom": this.contentScrollState.scrolledToBottom,
|
|
103
186
|
"app-layout--has-app-bar-mobile-menu-button": o,
|
|
104
|
-
"app-layout--has-app-bar-controls":
|
|
105
|
-
"app-layout--has-bottom-bar":
|
|
187
|
+
"app-layout--has-app-bar-controls": e,
|
|
188
|
+
"app-layout--has-bottom-bar": i,
|
|
106
189
|
"app-layout--has-custom-app-bar-back-button": this.hasCustomAppBarBackButton,
|
|
107
|
-
"app-layout--has-custom-sidebar-header":
|
|
108
|
-
"app-layout--has-floating-action-button":
|
|
190
|
+
"app-layout--has-custom-sidebar-header": l,
|
|
191
|
+
"app-layout--has-floating-action-button": u,
|
|
109
192
|
"app-layout--has-navigation": this.hasNavigation,
|
|
110
193
|
"app-layout--has-sidebar": this.hasSidebar,
|
|
111
194
|
"app-layout--hide-app-bar": this.hideAppBar,
|
|
195
|
+
"app-layout--nav-collapsible": this.collapsibleNavigation && this.isDesktop,
|
|
196
|
+
"app-layout--nav-scrollable": this.navScrollState.scrollable,
|
|
197
|
+
"app-layout--nav-scrolled-to-top": this.navScrollState.scrolledToTop,
|
|
112
198
|
"app-layout--sidebar-active": this.mobileView === "sidebar" || this.sidebarActive,
|
|
113
|
-
"app-layout--sidebar-closing": this.sidebarClosing
|
|
114
|
-
|
|
115
|
-
"app-
|
|
199
|
+
"app-layout--sidebar-closing": this.sidebarClosing,
|
|
200
|
+
"app-layout--sidebar-opening": this.sidebarOpening,
|
|
201
|
+
"app-layout--sidebar-scrollable": this.sidebarScrollState.scrollable,
|
|
202
|
+
"app-layout--sidebar-scrolled-to-top": this.sidebarScrollState.scrolledToTop
|
|
116
203
|
});
|
|
117
|
-
return
|
|
204
|
+
return a(d, { key: "3b1c6dfbd70f1e73595152063eb0f19214061a0b" }, a("section", { key: "66b24882d23244130b99d018d154819924a238a8", "aria-labelledby": "app-name", class: m }, a("div", { key: "4ba4430a6ff528e1f5c7739a49bb1718acfff76c", class: "app-layout__grid" }, a("header", { key: "2557b4f52f4d63b8e3bd0d79b97d12dff3e35ebf", class: "app-layout__header", ref: (s) => this.headerEl = s }, a("span", { key: "db4942252a5b23067a186188a2de09e231b33fc2", class: "app-layout__navigation-mobile-menu-button" }, a("slot", { key: "d34fefe46a8116f28df00c3d2b00611d2e5c977f", name: "navigation-mobile-menu-button" })), this.collapsibleNavigation && a("span", { key: "f199cb947888c1ae726108c398f1b0a0ccd459e1", class: "app-layout__nav-overlay-toggle" }, a("swirl-button", { key: "801cb2ec74f780fd9f5a2114e4ef9c5fa11bc844", hideLabel: !0, icon: this.navExpansionState !== "expanded" ? "<swirl-icon-dock-left-expand></swirl-icon-dock-left-expand>" : "<swirl-icon-dock-left-collapse></swirl-icon-dock-left-collapse>", label: this.navigationToggleLabel, onClick: this.toggleNavigation })), this.showNavigationBackButton && a("span", { key: "09cc96fc608719f6f03c124765362c9203ae624a", class: "app-layout__navigation-back-button" }, a("swirl-button", { key: "c48e18559fef928f25f0fee06b3d1e3202ef624a", hideLabel: !0, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.navigationBackButtonLabel, onClick: this.onNavigationBackButtonClick })), a("swirl-heading", { key: "5b0c2f2b4183636415d2c605f2921f4513f87d9e", as: "h1", class: "app-layout__app-name", headingId: "app-name", level: 3, text: this.appName }), b && a("span", { key: "1c17004783909c533522e645bcde641efe20af38", class: "app-layout__navigation-controls" }, a("slot", { key: "6194344af515533f48c12719578d355d538fe132", name: "navigation-controls" }))), a("nav", { key: "49f8bed05da5f7ea4d8ca731e8ac6640f6efba1d", "aria-label": this.navigationLabel, class: "app-layout__navigation", onScroll: this.onNavScroll, ref: (s) => this.navEl = s, inert: this.isDesktop && this.collapsibleNavigation && this.navExpansionState === "collapsed" }, a("slot", { key: "7bb84dd7374be5df9caaea8bd04545512ee68ec0", name: "navigation" })), a("section", { key: "a19ab7ca766bf445427ccbd80ca20c8493435e83", "aria-labelledby": "app-name", class: "app-layout__body" }, !this.hideAppBar && a("header", { key: "8325293845b85f72b7f3df2662559e2ab4074bb9", class: "app-layout__app-bar" }, a("span", { key: "5237b62f03cd7c1373549a2a30ccf446ba0372f9", class: "app-layout__app-bar-mobile-menu-button" }, a("slot", { key: "f18bde70731b9351e63b21ad7f1a9c647abf416f", name: "app-bar-mobile-menu-button" })), t && a("span", { key: "215d23179fc51dd075864c265ea9b7f364319a95", class: "app-layout__back-to-navigation-button" }, a("swirl-button", { key: "ea3be8edd9002a61f20c0a12da9aa1b578947c6a", hideLabel: !0, icon: this.transitionStyle === "dialog" ? "<swirl-icon-close></swirl-icon-close>" : "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backToNavigationViewButtonLabel, onClick: this.onBackToNavigationViewButtonClick })), this.collapsibleNavigation && this.navExpansionState !== "expanded" && a("span", { key: "60fa359b9bd61b0e1f6be352436999b2cf17f4fc", class: "app-layout__nav-expansion-toggle" }, a("swirl-button", { key: "05e09fb3a58dc2ab2e88ee49c585eecc60c7954d", hideLabel: !0, icon: "<swirl-icon-hamburger-menu></swirl-icon-hamburger-menu>", label: this.navigationOverlayLabel, onClick: this.overlayNavigation })), a("span", { key: "f47a36036537b26f772e3bda24b2aa6469e2cf3c", class: "app-layout__custom-app-bar-back-button" }, a("slot", { key: "136b0f6cb5f49fd2748ff359ee12320adc70e564", name: "custom-app-bar-back-button" })), a("div", { key: "b8a00b16415b1ec1e860c1d5d57e0490d48e4401", class: "app-layout__app-bar-content" }, a("slot", { key: "62cc509a362d5f194182499071b1756c146d26dc", name: "app-bar" })), a("div", { key: "effb581b5c5e33f5ff2438b4b41376d88d232fe9", class: "app-layout__app-bar-controls" }, a("slot", { key: "f87b7467b069faaa2efa0cbc68e7ec22c041ff8b", name: "app-bar-controls" }))), a("div", { key: "818823f7c90a8f1fb905a225b5d10b4828805769", class: "app-layout__banner" }, a("slot", { key: "fd1f5c35df19fffe35abdd5096f85c32fc1bba22", name: "banner" })), a("div", { key: "572494fb3c5f3b59bdb55d87feb44b59842eb1a6", class: "app-layout__content", onScroll: this.onContentScroll, ref: (s) => this.contentEl = s }, a("slot", { key: "b83fb9b173afa0b60976565aded1449afd680955", name: "content" })), a("div", { key: "3150822e788bf1af515f1e55c42b25851feaef27", class: "app-layout__bottom-bar" }, a("slot", { key: "35a21d973b8f54a8aac80f3744c500f501fa5aa1", name: "bottom-bar" }))), a("aside", { key: "d32a56c28adc6a57c15b750a02575093b80a58f6", class: "app-layout__sidebar" }, a("header", { key: "7b60c1d2b4dc8ddd384dde58d4e822e34732f37d", class: "app-layout__custom-sidebar-header" }, a("slot", { key: "a10e07f95f94b4fd3863c60e0689997fcc7af569", name: "custom-sidebar-header" })), a("header", { key: "18bfcf429fcbfb1ef138a7723a8b9e0752ced246", class: "app-layout__sidebar-header" }, a("swirl-button", { key: "ea311add99e5adb33b8bbed78f7d88fc7d6bf28f", class: "app-layout__sidebar-close-button", hideLabel: !0, icon: "<swirl-icon-close></swirl-icon-close>", label: this.sidebarCloseButtonLabel, onClick: this.onSidebarCloseButtonClick }), a("swirl-heading", { key: "54a13c7f1f0b362cb196a59c5622d2e246cadec0", as: "h3", class: "app-layout__sidebar-heading", headingId: "sidebar-heading", level: 3, text: this.sidebarHeading })), a("div", { key: "6920f3562d625be0f9e16c090eeed8d17eea49b7", class: "app-layout__sidebar-content", onScroll: this.onSidebarScroll, ref: (s) => this.sidebarEl = s }, a("slot", { key: "9807fec2801d84a5ae517765ff7b0f08e4c3f3c5", name: "sidebar" }))), a("span", { key: "9a5b7f6098d8f24f6df6ba7d84bf0276c043effa", class: "app-layout__floating-action-button" }, this.ctaLabel && a("swirl-button", { key: "77e960a30d95129160f0ebec29d419a8572f67ab", hideLabel: Boolean(this.ctaIcon), icon: this.ctaIcon, intent: "primary", label: this.ctaLabel, onClick: this.onCtaClick, variant: "floating" }), a("slot", { key: "8f8942d7df62a364c2e9216d08aa0cbe765a9093", name: "floating-action-button" })))));
|
|
118
205
|
}
|
|
119
206
|
get el() {
|
|
120
207
|
return p(this);
|
|
@@ -125,70 +212,70 @@ const D = `:host{--swirl-app-layout-border-visibility:hidden;position:relative;z
|
|
|
125
212
|
};
|
|
126
213
|
}
|
|
127
214
|
};
|
|
128
|
-
M.style =
|
|
129
|
-
const L = ":host{display:block}:host *{box-sizing:border-box}.empty-state{display:flex;max-width:28rem;align-items:center;flex-direction:column;gap:var(--s-space-16)}.empty-state--has-controls .empty-state__controls{display:block}.empty-state--has-slotted-illustration .empty-state__slotted-illustration{display:block}.empty-state__illustration{max-width:16rem}.empty-state__body{display:flex;align-items:center;flex-direction:column;gap:var(--s-space-24)}.empty-state__controls{display:none}.empty-state__slotted-illustration{display:none;max-width:16rem}",
|
|
130
|
-
constructor(
|
|
131
|
-
|
|
215
|
+
M.style = D;
|
|
216
|
+
const L = ":host{display:block}:host *{box-sizing:border-box}.empty-state{display:flex;max-width:28rem;align-items:center;flex-direction:column;gap:var(--s-space-16)}.empty-state--has-controls .empty-state__controls{display:block}.empty-state--has-slotted-illustration .empty-state__slotted-illustration{display:block}.empty-state__illustration{max-width:16rem}.empty-state__body{display:flex;align-items:center;flex-direction:column;gap:var(--s-space-24)}.empty-state__controls{display:none}.empty-state__slotted-illustration{display:none;max-width:16rem}", N = L, H = class {
|
|
217
|
+
constructor(t) {
|
|
218
|
+
n(this, t), this.heading = void 0, this.illustration = void 0;
|
|
132
219
|
}
|
|
133
220
|
render() {
|
|
134
|
-
const
|
|
135
|
-
"empty-state--has-controls":
|
|
136
|
-
"empty-state--has-slotted-illustration":
|
|
221
|
+
const t = Boolean(this.el.querySelector('[slot="controls"]')), e = Boolean(this.el.querySelector('[slot="illustration"]')), i = c("empty-state", {
|
|
222
|
+
"empty-state--has-controls": t,
|
|
223
|
+
"empty-state--has-slotted-illustration": e
|
|
137
224
|
});
|
|
138
|
-
return
|
|
225
|
+
return a(d, { key: "a69b7620012d83f74a37fb281795d3372a98aa59" }, a("div", { key: "0d4b05a0470275d6f8bb05557b76aa631ed5bfbf", class: i }, this.illustration && !e && a("img", { key: "a14e963317f1444179fac8e662101c4e801fe7ea", alt: "", class: "empty-state__illustration", src: this.illustration }), a("div", { key: "7e95b8147620d992445c71a6e3e7b3e0e5b7f8ba", class: "empty-state__slotted-illustration" }, a("slot", { key: "8b3ecf12623210c586b0ee2a85a727023ebaa9be", name: "illustration" })), a("div", { key: "6a704c827cce431f91fedb45c4fe7d975fa2938a", class: "empty-state__body" }, a("swirl-stack", { key: "3a5b1b80e8a8873ae9e194cbeec6f3d58c61da39", align: "stretch", spacing: "8" }, this.heading && a("swirl-heading", { key: "5d0331dc10a582ed584a189d3f3aafd10f308ad7", align: "center", as: "p", level: 4, text: this.heading }), a("div", { key: "d054646b5036134b39ea760f88d6eca3882fa291", class: "empty-state__content" }, a("swirl-text", { key: "3a65aefab1be1e3320412da968cc4e27886cc512", align: "center", color: "subdued" }, a("slot", { key: "533530974b07ea8924dfd9e55911c6b298958e73" })))), a("div", { key: "c9fc53e76202b2d1e257c0ef258a7d7d2714a8f0", class: "empty-state__controls" }, a("slot", { key: "c0335467618f043bbc9906395237b105f8232401", name: "controls" })))));
|
|
139
226
|
}
|
|
140
227
|
get el() {
|
|
141
228
|
return p(this);
|
|
142
229
|
}
|
|
143
230
|
};
|
|
144
|
-
|
|
145
|
-
const
|
|
146
|
-
constructor(
|
|
147
|
-
|
|
231
|
+
H.style = N;
|
|
232
|
+
const V = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", z = V, O = class {
|
|
233
|
+
constructor(t) {
|
|
234
|
+
n(this, t), this.color = void 0, this.size = 24;
|
|
148
235
|
}
|
|
149
236
|
render() {
|
|
150
|
-
const
|
|
237
|
+
const t = this.size === 20 ? 24 : this.size, e = {
|
|
151
238
|
color: Boolean(this.color) ? `var(--s-icon-${this.color})` : void 0
|
|
152
|
-
},
|
|
153
|
-
return
|
|
239
|
+
}, i = c("swirl-icon", `swirl-icon--size-${this.size}`);
|
|
240
|
+
return a("svg", { key: "c8031de035626022e2998b30e46674d21c009618", "aria-hidden": "true", class: i, fill: "none", height: this.size, part: "icon", style: e, viewBox: `0 0 ${t} ${t}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && a(h, { key: "7411876d03b3449acfbbdcb120f8782f2b265c19" }, a("path", { key: "ef7b0ffe45da6e567c027d1c500c77a4ef977309", d: "M9.99998 8.66669C10.3666 8.66669 10.6806 8.53602 10.942 8.27469C11.2029 8.0138 11.3333 7.70002 11.3333 7.33335C11.3333 6.96669 11.2029 6.65269 10.942 6.39135C10.6806 6.13046 10.3666 6.00002 9.99998 6.00002C9.63331 6.00002 9.31953 6.13046 9.05865 6.39135C8.79731 6.65269 8.66665 6.96669 8.66665 7.33335C8.66665 7.70002 8.79731 8.0138 9.05865 8.27469C9.31953 8.53602 9.63331 8.66669 9.99998 8.66669ZM7.33331 11.3334H12.6666V10.9667C12.6666 10.4667 12.4222 10.0694 11.9333 9.77469C11.4444 9.48046 10.8 9.33335 9.99998 9.33335C9.19998 9.33335 8.55553 9.48046 8.06665 9.77469C7.57776 10.0694 7.33331 10.4667 7.33331 10.9667V11.3334ZM2.66665 13.3334C2.29998 13.3334 1.9862 13.2029 1.72531 12.942C1.46398 12.6807 1.33331 12.3667 1.33331 12V4.00002C1.33331 3.63335 1.46398 3.31958 1.72531 3.05869C1.9862 2.79735 2.29998 2.66669 2.66665 2.66669H6.11665C6.29442 2.66669 6.46398 2.70002 6.62531 2.76669C6.7862 2.83335 6.92776 2.9278 7.04998 3.05002L7.99998 4.00002H13.3333C13.7 4.00002 14.014 4.13069 14.2753 4.39202C14.5362 4.65291 14.6666 4.96669 14.6666 5.33335V12C14.6666 12.3667 14.5362 12.6807 14.2753 12.942C14.014 13.2029 13.7 13.3334 13.3333 13.3334H2.66665ZM2.66665 4.00002V12H13.3333V5.33335H7.44998L6.11665 4.00002H2.66665Z", fill: "currentColor" })), (this.size === 20 || this.size === 24) && a(h, { key: "d237daceaaa9921fe9bbd023bb160fc2ffdd08da" }, a("path", { key: "440348d527b34268f12f23e9545f825f3c9e8d03", d: "M15 13C15.55 13 16.021 12.804 16.413 12.412C16.8043 12.0207 17 11.55 17 11C17 10.45 16.8043 9.979 16.413 9.587C16.021 9.19567 15.55 9 15 9C14.45 9 13.9793 9.19567 13.588 9.587C13.196 9.979 13 10.45 13 11C13 11.55 13.196 12.0207 13.588 12.412C13.9793 12.804 14.45 13 15 13ZM11 17H19V16.45C19 15.7 18.6333 15.104 17.9 14.662C17.1667 14.2207 16.2 14 15 14C13.8 14 12.8333 14.2207 12.1 14.662C11.3667 15.104 11 15.7 11 16.45V17ZM4 20C3.45 20 2.97933 19.8043 2.588 19.413C2.196 19.021 2 18.55 2 18V6C2 5.45 2.196 4.97933 2.588 4.588C2.97933 4.196 3.45 4 4 4H9.175C9.44167 4 9.696 4.05 9.938 4.15C10.1793 4.25 10.3917 4.39167 10.575 4.575L12 6H20C20.55 6 21.021 6.196 21.413 6.588C21.8043 6.97933 22 7.45 22 8V18C22 18.55 21.8043 19.021 21.413 19.413C21.021 19.8043 20.55 20 20 20H4ZM4 6V18H20V8H11.175L9.175 6H4Z", fill: "currentColor" })), this.size === 28 && a(h, { key: "358b24f65015f4c56cec38feb1bd41995820b3c1" }, a("path", { key: "c790bb83088b4775451652678f2459cabafebb10", d: "M17.5 15.1667C18.1416 15.1667 18.6911 14.938 19.1485 14.4807C19.605 14.0241 19.8333 13.475 19.8333 12.8334C19.8333 12.1917 19.605 11.6422 19.1485 11.1849C18.6911 10.7283 18.1416 10.5 17.5 10.5C16.8583 10.5 16.3092 10.7283 15.8526 11.1849C15.3953 11.6422 15.1666 12.1917 15.1666 12.8334C15.1666 13.475 15.3953 14.0241 15.8526 14.4807C16.3092 14.938 16.8583 15.1667 17.5 15.1667ZM12.8333 19.8334H22.1666V19.1917C22.1666 18.3167 21.7389 17.6214 20.8833 17.1057C20.0278 16.5908 18.9 16.3334 17.5 16.3334C16.1 16.3334 14.9722 16.5908 14.1166 17.1057C13.2611 17.6214 12.8333 18.3167 12.8333 19.1917V19.8334ZM4.66665 23.3334C4.02498 23.3334 3.47587 23.1051 3.01931 22.6485C2.56198 22.1912 2.33331 21.6417 2.33331 21V7.00002C2.33331 6.35835 2.56198 5.80924 3.01931 5.35269C3.47587 4.89535 4.02498 4.66669 4.66665 4.66669H10.7041C11.0153 4.66669 11.312 4.72502 11.5943 4.84169C11.8759 4.95835 12.1236 5.12363 12.3375 5.33752L14 7.00002H23.3333C23.975 7.00002 24.5245 7.22869 24.9818 7.68602C25.4384 8.14258 25.6666 8.69169 25.6666 9.33335V21C25.6666 21.6417 25.4384 22.1912 24.9818 22.6485C24.5245 23.1051 23.975 23.3334 23.3333 23.3334H4.66665ZM4.66665 7.00002V21H23.3333V9.33335H13.0375L10.7041 7.00002H4.66665Z", fill: "currentColor" })));
|
|
154
241
|
}
|
|
155
242
|
};
|
|
156
|
-
|
|
157
|
-
const
|
|
158
|
-
constructor(
|
|
159
|
-
|
|
160
|
-
const
|
|
161
|
-
Boolean(this.dragging) ? this.stopDrag(
|
|
162
|
-
}, this.startDrag = (
|
|
163
|
-
this.dragging =
|
|
164
|
-
const
|
|
165
|
-
this.focusItemAtIndex(
|
|
166
|
-
}, this.stopDrag = (
|
|
167
|
-
const
|
|
168
|
-
this.dragging = void 0,
|
|
169
|
-
}, this.onKeyDown = (
|
|
170
|
-
if (
|
|
171
|
-
|
|
172
|
-
else if (
|
|
173
|
-
if (
|
|
243
|
+
O.style = z;
|
|
244
|
+
const q = ".sc-swirl-resource-list-h{display:block;width:100%}.sc-swirl-resource-list-h *.sc-swirl-resource-list{box-sizing:border-box}", F = q, P = class {
|
|
245
|
+
constructor(t) {
|
|
246
|
+
n(this, t), this.itemDrop = r(this, "itemDrop", 7), this.focusedIndex = 0, this.toggleDrag = (e) => {
|
|
247
|
+
const i = e.detail;
|
|
248
|
+
Boolean(this.dragging) ? this.stopDrag(i) : this.startDrag(i);
|
|
249
|
+
}, this.startDrag = (e) => {
|
|
250
|
+
this.dragging = e, this.draggingStartIndex = this.getItemIndex(this.dragging), e.setAttribute("dragging", "true");
|
|
251
|
+
const i = this.getItemIndex(this.dragging);
|
|
252
|
+
this.focusItemAtIndex(i), this.assistiveText = this.assistiveTextItemGrabbed;
|
|
253
|
+
}, this.stopDrag = (e) => {
|
|
254
|
+
const i = this.getItemIndex(this.dragging);
|
|
255
|
+
this.dragging = void 0, e.removeAttribute("dragging"), this.assistiveText = `${this.assistiveTextItemMoved} ${i + 1}`, this.itemDrop.emit({ item: e, oldIndex: this.draggingStartIndex, newIndex: i }), this.draggingStartIndex = void 0;
|
|
256
|
+
}, this.onKeyDown = (e) => {
|
|
257
|
+
if (e.code === "ArrowDown")
|
|
258
|
+
e.preventDefault(), Boolean(this.dragging) ? this.moveDraggedItemDown() : this.focusItemAtIndex((this.focusedIndex + 1) % this.items.length);
|
|
259
|
+
else if (e.code === "ArrowUp")
|
|
260
|
+
if (e.preventDefault(), Boolean(this.dragging))
|
|
174
261
|
this.moveDraggedItemUp();
|
|
175
262
|
else {
|
|
176
|
-
const
|
|
177
|
-
this.focusItemAtIndex(
|
|
263
|
+
const i = this.focusedIndex === 0 ? this.items.length - 1 : this.focusedIndex - 1;
|
|
264
|
+
this.focusItemAtIndex(i);
|
|
178
265
|
}
|
|
179
|
-
else if (
|
|
180
|
-
const
|
|
181
|
-
if (Boolean(this.dragging) && !(
|
|
182
|
-
|
|
266
|
+
else if (e.code === "Space" || e.code === "Enter") {
|
|
267
|
+
const i = e.composedPath()[0];
|
|
268
|
+
if (Boolean(this.dragging) && !(i != null && i.classList.contains("resource-list-item__drag-handle")))
|
|
269
|
+
e.preventDefault(), this.stopDrag(this.dragging);
|
|
183
270
|
else if (Boolean(this.controllingElement)) {
|
|
184
271
|
const o = this.items[this.focusedIndex];
|
|
185
272
|
if (!Boolean(o) || !o.isConnected)
|
|
186
273
|
return;
|
|
187
|
-
|
|
274
|
+
e.stopPropagation(), e.preventDefault(), o.click();
|
|
188
275
|
}
|
|
189
276
|
} else
|
|
190
|
-
|
|
191
|
-
}, this.allowDrag = void 0, this.assistiveTextItemGrabbed = "Item grabbed. Use arrow keys to move item up or down. Use spacebar to save position.", this.assistiveTextItemMoving = "Current position:", this.assistiveTextItemMoved = "Item moved. New position:", this.controllingElement = void 0, this.label = void 0, this.spacing = "0", this.assistiveText = void 0, this.listId =
|
|
277
|
+
e.code === "Home" ? (e.preventDefault(), this.focusItemAtIndex(0)) : e.code === "End" && (e.preventDefault(), this.focusItemAtIndex(this.items.length - 1));
|
|
278
|
+
}, this.allowDrag = void 0, this.assistiveTextItemGrabbed = "Item grabbed. Use arrow keys to move item up or down. Use spacebar to save position.", this.assistiveTextItemMoving = "Current position:", this.assistiveTextItemMoved = "Item moved. New position:", this.controllingElement = void 0, this.label = void 0, this.spacing = "0", this.assistiveText = void 0, this.listId = w();
|
|
192
279
|
}
|
|
193
280
|
componentDidLoad() {
|
|
194
281
|
this.observeSlotChanges(), this.collectItems(), this.setupControllingElement(), this.setItemAllowDragState(), this.setupDragDrop();
|
|
@@ -197,8 +284,8 @@ const N = ".sc-swirl-resource-list-h{display:block;width:100%}.sc-swirl-resource
|
|
|
197
284
|
this.setupDragDrop();
|
|
198
285
|
}
|
|
199
286
|
disconnectedCallback() {
|
|
200
|
-
var e, i
|
|
201
|
-
(
|
|
287
|
+
var t, e, i;
|
|
288
|
+
(t = this.sortable) == null || t.destroy(), (e = this.observer) == null || e.disconnect(), (i = this.controllingElement) == null || i.removeEventListener("keydown", this.onKeyDown);
|
|
202
289
|
}
|
|
203
290
|
observeSlotChanges() {
|
|
204
291
|
this.observer = new MutationObserver(() => {
|
|
@@ -213,63 +300,63 @@ const N = ".sc-swirl-resource-list-h{display:block;width:100%}.sc-swirl-resource
|
|
|
213
300
|
this.setItemAllowDragState(), this.setupDragDrop();
|
|
214
301
|
}
|
|
215
302
|
collectItems() {
|
|
216
|
-
var
|
|
217
|
-
this.items = Array.from(this.el.querySelectorAll("swirl-resource-list-item, swirl-resource-list-file-item, [data-resource-list-item]")).filter((
|
|
303
|
+
var t;
|
|
304
|
+
this.items = Array.from(this.el.querySelectorAll("swirl-resource-list-item, swirl-resource-list-file-item, [data-resource-list-item]")).filter((e) => e.isConnected), this.removeItemsFromTabOrder(), this.enableItemFocus(this.items[this.focusedIndex]), Boolean(this.controllingElement) && ((t = this.items[0]) == null || t.setAttribute("aria-selected", "true"));
|
|
218
305
|
}
|
|
219
306
|
setupControllingElement() {
|
|
220
307
|
!Boolean(this.controllingElement) || (this.controllingElement.setAttribute("aria-controls", this.listId), this.controllingElement.setAttribute("role", "combobox"), this.controllingElement.setAttribute("aria-autocomplete", "list"), this.controllingElement.addEventListener("keydown", this.onKeyDown));
|
|
221
308
|
}
|
|
222
|
-
getItemIndex(
|
|
223
|
-
return this.items.map((
|
|
309
|
+
getItemIndex(t) {
|
|
310
|
+
return this.items.map((e) => e).findIndex((e) => e === t);
|
|
224
311
|
}
|
|
225
312
|
removeItemsFromTabOrder() {
|
|
226
|
-
this.items.forEach((
|
|
227
|
-
const
|
|
228
|
-
Boolean(this.controllingElement) &&
|
|
313
|
+
this.items.forEach((t) => {
|
|
314
|
+
const e = t == null ? void 0 : t.querySelector(".resource-list-item__content, .resource-list-file-item, [data-resource-list-item-button]"), i = t == null ? void 0 : t.querySelector(".resource-list-item__drag-handle");
|
|
315
|
+
Boolean(this.controllingElement) && t.setAttribute("aria-selected", "false"), e == null || e.setAttribute("tabIndex", "-1"), i == null || i.setAttribute("tabIndex", "-1");
|
|
229
316
|
});
|
|
230
317
|
}
|
|
231
318
|
setItemAllowDragState() {
|
|
232
|
-
this.allowDrag ? this.items.forEach((
|
|
233
|
-
|
|
234
|
-
}) : this.items.forEach((
|
|
235
|
-
|
|
319
|
+
this.allowDrag ? this.items.forEach((t) => {
|
|
320
|
+
t.setAttribute("allow-drag", "true"), t.addEventListener("toggleDrag", this.toggleDrag);
|
|
321
|
+
}) : this.items.forEach((t) => {
|
|
322
|
+
t.removeAttribute("allow-drag"), t.removeEventListener("toggleDrag", this.toggleDrag);
|
|
236
323
|
});
|
|
237
324
|
}
|
|
238
325
|
setupDragDrop() {
|
|
239
|
-
Boolean(this.sortable) && this.sortable.destroy(), this.allowDrag && (this.sortable =
|
|
326
|
+
Boolean(this.sortable) && this.sortable.destroy(), this.allowDrag && (this.sortable = T.create(this.gridEl, {
|
|
240
327
|
animation: 150,
|
|
241
328
|
draggable: "swirl-resource-list-item",
|
|
242
329
|
handle: ".resource-list-item__drag-handle",
|
|
243
|
-
onEnd: (
|
|
330
|
+
onEnd: (t) => {
|
|
244
331
|
this.itemDrop.emit({
|
|
245
|
-
item:
|
|
246
|
-
oldIndex:
|
|
247
|
-
newIndex:
|
|
332
|
+
item: t.item,
|
|
333
|
+
oldIndex: t.oldDraggableIndex,
|
|
334
|
+
newIndex: t.newDraggableIndex
|
|
248
335
|
});
|
|
249
336
|
}
|
|
250
337
|
}));
|
|
251
338
|
}
|
|
252
|
-
enableItemFocus(
|
|
253
|
-
if (!Boolean(
|
|
339
|
+
enableItemFocus(t, e) {
|
|
340
|
+
if (!Boolean(t) || Boolean(this.controllingElement))
|
|
254
341
|
return;
|
|
255
|
-
const
|
|
256
|
-
Boolean(o) && o.setAttribute("tabIndex", "0"), Boolean(
|
|
342
|
+
const i = t.querySelector(".resource-list-item__content, .resource-list-file-item, [data-resource-list-item-button]"), o = t.querySelector(".resource-list-item__drag-handle");
|
|
343
|
+
Boolean(o) && o.setAttribute("tabIndex", "0"), Boolean(i) && (i.setAttribute("tabIndex", "0"), e && !Boolean(this.controllingElement) && i.focus());
|
|
257
344
|
}
|
|
258
|
-
focusItemAtIndex(
|
|
345
|
+
focusItemAtIndex(t) {
|
|
259
346
|
this.removeItemsFromTabOrder();
|
|
260
|
-
const
|
|
261
|
-
!Boolean(
|
|
347
|
+
const e = this.items[t];
|
|
348
|
+
!Boolean(e) || !e.isConnected || (this.enableItemFocus(e, !Boolean(this.controllingElement)), Boolean(this.controllingElement) && (e.setAttribute("aria-selected", "true"), e.scrollIntoView({ block: "nearest" })), this.focusedIndex = t);
|
|
262
349
|
}
|
|
263
350
|
moveDraggedItemDown() {
|
|
264
|
-
const
|
|
265
|
-
!Boolean(
|
|
351
|
+
const t = this.dragging.nextElementSibling;
|
|
352
|
+
!Boolean(t) || (t.after(this.dragging), this.collectItems(), this.focusItemAtIndex(this.getItemIndex(this.dragging)), this.assistiveText = `${this.assistiveTextItemMoving} ${this.getItemIndex(this.dragging) + 1}`);
|
|
266
353
|
}
|
|
267
354
|
moveDraggedItemUp() {
|
|
268
|
-
const
|
|
269
|
-
!Boolean(
|
|
355
|
+
const t = this.dragging.previousElementSibling;
|
|
356
|
+
!Boolean(t) || (t.before(this.dragging), this.collectItems(), this.focusItemAtIndex(this.getItemIndex(this.dragging)), this.assistiveText = `${this.assistiveTextItemMoving} ${this.getItemIndex(this.dragging) + 1}`);
|
|
270
357
|
}
|
|
271
358
|
render() {
|
|
272
|
-
return
|
|
359
|
+
return a(d, { key: "96af06f9572dd5721918e14843e9b4a4b9a58593", onKeyDown: this.onKeyDown }, a("swirl-visually-hidden", { key: "4d6a06d8e4f9170339e31e9c4ebd7ed5ba7371ed", role: "alert" }, this.assistiveText), a("swirl-box", { key: "45f9f1707f1ab4d69dbe82db02e047465f4a51ef", paddingInlineEnd: "8", paddingInlineStart: "8" }, a("swirl-stack", { key: "46dfcfade06e1256d345001cf9c65f8dff1169bd", "aria-label": this.label, class: "resource-list", id: this.listId, ref: (t) => this.gridEl = t, role: "grid", spacing: this.spacing }, a("slot", { key: "eeadd957c176313005fcfeb29e9b97507328d508" }))));
|
|
273
360
|
}
|
|
274
361
|
get el() {
|
|
275
362
|
return p(this);
|
|
@@ -280,26 +367,26 @@ const N = ".sc-swirl-resource-list-h{display:block;width:100%}.sc-swirl-resource
|
|
|
280
367
|
};
|
|
281
368
|
}
|
|
282
369
|
};
|
|
283
|
-
|
|
370
|
+
P.style = F;
|
|
284
371
|
const $ = `.sc-swirl-resource-list-item-h{position:relative;display:block;width:100%}.sc-swirl-resource-list-item-h *.sc-swirl-resource-list-item{box-sizing:border-box}[aria-selected="true"].sc-swirl-resource-list-item-h .resource-list-item__content.sc-swirl-resource-list-item{background-color:var(--swirl-resource-list-item-background-hovered)}[aria-selected="true"].sc-swirl-resource-list-item-h .resource-list-item__content.sc-swirl-resource-list-item .resource-list-item__media.sc-swirl-resource-list-item,[aria-selected="true"].sc-swirl-resource-list-item-h .resource-list-item__content.sc-swirl-resource-list-item .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-background-color:var(--s-surface-raised-hovered);--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item.sc-swirl-resource-list-item{position:relative;width:100%}.resource-list-item--interactive.sc-swirl-resource-list-item:hover{--swirl-ghost-button-background-default:var(--s-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{cursor:pointer}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:disabled{cursor:default}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:hover:not(:disabled),.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:focus:not(:disabled){background-color:var(--swirl-resource-list-item-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:hover:not(:disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:hover:not(:disabled) .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:focus:not(:disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:focus:not(:disabled) .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-background-color:var(--s-surface-raised-hovered);--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:active:not(:disabled){background-color:var(--swirl-resource-list-item-background-pressed)}.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:active:not(:disabled) .resource-list-item__media.sc-swirl-resource-list-item,.resource-list-item--interactive.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item:active:not(:disabled) .resource-list-item__meta.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-pressed);--swirl-badge-border-color:var(--s-background-pressed)}.resource-list-item--active.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{--swirl-badge-border-color:var(
|
|
285
372
|
--swirl-resource-list-item-background-hovered
|
|
286
373
|
);background-color:var(--swirl-resource-list-item-background-hovered)}.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-highlight);color:var(--s-text-on-status);background-color:var(--s-icon-highlight)}.resource-list-item--compact.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding:var(--s-space-8)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item--compact.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding:var(--s-space-8)}}.resource-list-item--compact.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{min-height:2.5rem}@media (min-width: 768px){.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-16) + 1.5rem + var(--s-space-12))}}.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{padding-right:calc(var(--s-space-16) + 1.5rem + var(--s-space-12))}@media (min-width: 768px){.resource-list-item--selectable.sc-swirl-resource-list-item .resource-list-item__label-container.sc-swirl-resource-list-item{padding-right:var(--s-space-16)}}.resource-list-item--label-weight-medium.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{font-weight:var(--s-font-weight-medium)}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within{--swirl-flat-button-background-default:var(--s-background-default);--swirl-flat-button-background-disabled:var(--s-background-disabled);--swirl-flat-button-background-hovered:var(--s-background-hovered);--swirl-flat-button-background-pressed:var(--s-background-pressed)}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover .resource-list-item__control.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus .resource-list-item__control.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within .resource-list-item__control.sc-swirl-resource-list-item{pointer-events:auto;opacity:1}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:hover .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus .resource-list-item__meta.sc-swirl-resource-list-item,.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item:focus-within .resource-list-item__meta.sc-swirl-resource-list-item{pointer-events:none;opacity:0}.resource-list-item--show-control-on-focus.sc-swirl-resource-list-item .resource-list-item__control.sc-swirl-resource-list-item{pointer-events:none;opacity:0}.resource-list-item--draggable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-16) * 2 + 1.5rem)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item--draggable.sc-swirl-resource-list-item .resource-list-item__content.sc-swirl-resource-list-item{padding-left:calc(var(--s-space-16) * 2 + 1rem)}}.resource-list-item--dragging.sc-swirl-resource-list-item{z-index:1;border-radius:var(--s-border-radius-s);background-color:var(--s-surface-overlay-pressed);box-shadow:0 0.0625rem 0.125rem rgba(25, 26, 28, 0.08),
|
|
287
|
-
0 0.25rem 2rem rgba(25, 26, 28, 0.16)}.resource-list-item--dragging.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.resource-list-item--disabled.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:var(--s-icon-disabled)}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:transparent}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox-icon.sc-swirl-resource-list-item{color:var(--s-text-on-status)}.resource-list-item--wrap-description.sc-swirl-resource-list-item .resource-list-item__description.sc-swirl-resource-list-item{white-space:normal}.resource-list-item--wrap-label.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{white-space:normal}.resource-list-item__content.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-default);--swirl-badge-border-color:var(--s-background-default);position:relative;display:flex;width:100%;min-width:0;margin:0;padding-top:var(--s-space-12);padding-right:0;padding-bottom:var(--s-space-12);padding-left:var(--s-space-8);align-items:flex-start;border:none;border-radius:var(--s-border-radius-sm);color:var(--s-text-default);background-color:var(--swirl-resource-list-item-background-default);font:inherit;line-height:var(--s-line-height-sm);text-align:left;text-decoration:none;gap:var(--s-space-12)}.resource-list-item__content.sc-swirl-resource-list-item:focus{outline:none}.resource-list-item__content.sc-swirl-resource-list-item:focus-visible{background-color:var(--s-background-hovered)}.resource-list-item__content.sc-swirl-resource-list-item:focus-visible .resource-list-item__media.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item__content.sc-swirl-resource-list-item:disabled{color:var(--s-text-disabled);cursor:default}.resource-list-item__content.sc-swirl-resource-list-item:disabled .resource-list-item__description.sc-swirl-resource-list-item{color:var(--s-text-disabled)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__content.sc-swirl-resource-list-item{padding:var(--s-space-12) var(--s-space-8);line-height:var(--s-line-height-base)}}.resource-list-item__media.sc-swirl-resource-list-item{display:inline-flex;flex-shrink:0}.resource-list-item__label-container.sc-swirl-resource-list-item{position:relative;display:flex;min-width:0;min-height:3rem;padding-right:var(--s-space-16);flex-grow:1;justify-content:center;flex-direction:column}.resource-list-item__label.sc-swirl-resource-list-item{overflow:hidden;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);white-space:nowrap;text-overflow:ellipsis}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__label.sc-swirl-resource-list-item{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-item__description.sc-swirl-resource-list-item{overflow:hidden;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-item__menu-trigger.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);transform:translateY(-50%)}.resource-list-item__control.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-8);transform:translateY(-50%)}.resource-list-item__checkbox.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);display:flex;width:1.125rem;height:1.125rem;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:var(--s-border-radius-s);transform:translateY(-50%);pointer-events:none}@media (min-width: 768px){.resource-list-item__checkbox.sc-swirl-resource-list-item{right:auto;left:calc(var(--s-space-16) - var(--s-space-2))}}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item{display:inline-flex;width:1.0625rem;height:1.0625rem}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item>*.sc-swirl-resource-list-item::part(icon){width:1.0625rem;height:1.0625rem}.resource-list-item__meta.sc-swirl-resource-list-item{display:flex;align-items:flex-end;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);flex-direction:column;align-self:flex-start;gap:var(--s-space-2)}.resource-list-item__badges.sc-swirl-resource-list-item{display:inline-flex;width:-webkit-max-content;width:-moz-max-content;width:max-content}.resource-list-item__drag-handle.sc-swirl-resource-list-item{position:absolute;z-index:1;top:50%;left:var(--s-space-4);display:inline-flex;margin:0;padding:0;padding:var(--s-space-8);flex-shrink:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:grab;transform:translateY(-50%)}.resource-list-item__drag-handle.sc-swirl-resource-list-item:active{cursor:grabbing}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus:not(:focus-visible){outline:none}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus-visible{outline-color:var(--s-focus-default)}`,
|
|
288
|
-
constructor(
|
|
289
|
-
|
|
290
|
-
this.forceIconProps(
|
|
374
|
+
0 0.25rem 2rem rgba(25, 26, 28, 0.16)}.resource-list-item--dragging.sc-swirl-resource-list-item:hover:not(.resource-list-item--disabled){background-color:var(--s-surface-overlay-pressed)}.resource-list-item--disabled.resource-list-item--checked.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:var(--s-icon-disabled)}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox.sc-swirl-resource-list-item{border-color:var(--s-icon-disabled);background-color:transparent}.resource-list-item--disabled.sc-swirl-resource-list-item .resource-list-item__checkbox-icon.sc-swirl-resource-list-item{color:var(--s-text-on-status)}.resource-list-item--wrap-description.sc-swirl-resource-list-item .resource-list-item__description.sc-swirl-resource-list-item{white-space:normal}.resource-list-item--wrap-label.sc-swirl-resource-list-item .resource-list-item__label.sc-swirl-resource-list-item{white-space:normal}.resource-list-item__content.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-default);--swirl-badge-border-color:var(--s-background-default);position:relative;display:flex;width:100%;min-width:0;margin:0;padding-top:var(--s-space-12);padding-right:0;padding-bottom:var(--s-space-12);padding-left:var(--s-space-8);align-items:flex-start;border:none;border-radius:var(--s-border-radius-sm);color:var(--s-text-default);background-color:var(--swirl-resource-list-item-background-default);font:inherit;line-height:var(--s-line-height-sm);text-align:left;text-decoration:none;gap:var(--s-space-12)}.resource-list-item__content.sc-swirl-resource-list-item:focus{outline:none}.resource-list-item__content.sc-swirl-resource-list-item:focus-visible{background-color:var(--s-background-hovered)}.resource-list-item__content.sc-swirl-resource-list-item:focus-visible .resource-list-item__media.sc-swirl-resource-list-item{--swirl-avatar-group-border-color:var(--s-background-hovered);--swirl-badge-border-color:var(--s-background-hovered)}.resource-list-item__content.sc-swirl-resource-list-item:disabled{color:var(--s-text-disabled);cursor:default}.resource-list-item__content.sc-swirl-resource-list-item:disabled .resource-list-item__description.sc-swirl-resource-list-item{color:var(--s-text-disabled)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__content.sc-swirl-resource-list-item{padding:var(--s-space-12) var(--s-space-8);line-height:var(--s-line-height-base)}}.resource-list-item__media.sc-swirl-resource-list-item{display:inline-flex;flex-shrink:0}.resource-list-item__label-container.sc-swirl-resource-list-item{position:relative;display:flex;min-width:0;min-height:3rem;padding-right:var(--s-space-16);flex-grow:1;justify-content:center;flex-direction:column}.resource-list-item__label.sc-swirl-resource-list-item{overflow:hidden;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);white-space:nowrap;text-overflow:ellipsis}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.resource-list-item__label.sc-swirl-resource-list-item{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.resource-list-item__description.sc-swirl-resource-list-item{overflow:hidden;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);white-space:nowrap;text-overflow:ellipsis}.resource-list-item__menu-trigger.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);transform:translateY(-50%)}.resource-list-item__control.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-8);transform:translateY(-50%)}.resource-list-item__checkbox.sc-swirl-resource-list-item{position:absolute;top:50%;right:var(--s-space-16);display:flex;width:1.125rem;height:1.125rem;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:var(--s-border-radius-s);transform:translateY(-50%);pointer-events:none}@media (min-width: 768px){.resource-list-item__checkbox.sc-swirl-resource-list-item{right:auto;left:calc(var(--s-space-16) - var(--s-space-2))}}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item{display:inline-flex;width:1.0625rem;height:1.0625rem}.resource-list-item__checkbox-icon.sc-swirl-resource-list-item>*.sc-swirl-resource-list-item::part(icon){width:1.0625rem;height:1.0625rem}.resource-list-item__meta.sc-swirl-resource-list-item{display:flex;align-items:flex-end;color:var(--s-text-subdued);font-size:var(--s-font-size-sm);flex-direction:column;align-self:flex-start;gap:var(--s-space-2)}.resource-list-item__badges.sc-swirl-resource-list-item{display:inline-flex;width:-webkit-max-content;width:-moz-max-content;width:max-content}.resource-list-item__drag-handle.sc-swirl-resource-list-item{position:absolute;z-index:1;top:50%;left:var(--s-space-4);display:inline-flex;margin:0;padding:0;padding:var(--s-space-8);flex-shrink:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:grab;transform:translateY(-50%)}.resource-list-item__drag-handle.sc-swirl-resource-list-item:active{cursor:grabbing}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus:not(:focus-visible){outline:none}.resource-list-item__drag-handle.sc-swirl-resource-list-item:focus-visible{outline-color:var(--s-focus-default)}`, Q = $, R = class {
|
|
375
|
+
constructor(t) {
|
|
376
|
+
n(this, t), this.toggleDrag = r(this, "toggleDrag", 7), this.valueChange = r(this, "valueChange", 7), this.desktopMediaQuery = _(), this.elementId = w(), this.desktopMediaQueryHandler = (e) => {
|
|
377
|
+
this.forceIconProps(e.matches), this.updateIconSize(e.matches);
|
|
291
378
|
}, this.onClick = () => {
|
|
292
379
|
!this.selectable || (this.checked = !this.checked, this.valueChange.emit(this.checked));
|
|
293
380
|
}, this.onBlur = () => {
|
|
294
381
|
this.makeControlUnfocusable();
|
|
295
382
|
}, this.onFocus = () => {
|
|
296
383
|
this.makeControlFocusable();
|
|
297
|
-
}, this.onMenuTriggerClick = (
|
|
298
|
-
this.disabled && !Boolean(this.href) &&
|
|
299
|
-
}, this.onDragHandleKeyDown = (
|
|
300
|
-
(
|
|
301
|
-
}, this.onControlClick = (
|
|
302
|
-
|
|
384
|
+
}, this.onMenuTriggerClick = (e) => {
|
|
385
|
+
this.disabled && !Boolean(this.href) && e.stopPropagation();
|
|
386
|
+
}, this.onDragHandleKeyDown = (e) => {
|
|
387
|
+
(e.code === "Space" || e.code === "Enter") && (e.preventDefault(), this.toggleDrag.emit(this.el));
|
|
388
|
+
}, this.onControlClick = (e) => {
|
|
389
|
+
e.stopPropagation();
|
|
303
390
|
}, this.active = void 0, this.allowDrag = void 0, this.allowHtml = !0, this.checked = !1, this.compact = void 0, this.description = void 0, this.descriptionWrap = void 0, this.disabled = void 0, this.dragging = void 0, this.dragHandleDescription = "Press spacebar to toggle grab", this.dragHandleLabel = "Move item", this.hideDivider = void 0, this.href = void 0, this.interactive = !0, this.label = void 0, this.labelWeight = "medium", this.labelWrap = void 0, this.menuTriggerId = void 0, this.menuTriggerLabel = "Options", this.meta = void 0, this.selectable = void 0, this.swirlAriaLabel = void 0, this.value = void 0, this.hasMedia = !1, this.iconSize = 24;
|
|
304
391
|
}
|
|
305
392
|
componentWillLoad() {
|
|
@@ -309,63 +396,63 @@ const $ = `.sc-swirl-resource-list-item-h{position:relative;display:block;width:
|
|
|
309
396
|
this.forceIconProps(this.desktopMediaQuery.matches), this.updateIconSize(this.desktopMediaQuery.matches), this.desktopMediaQuery.onchange = this.desktopMediaQueryHandler, this.makeControlUnfocusable(), Boolean(this.menuTriggerId) && console.warn('[Swirl] The "menu-trigger-id" prop of swirl-resource-list-item is deprecated and will be removed with the next major release. Please use the "control" slot to add a menu button instead. https://swirl-storybook.flip-app.dev/?path=/docs/components-swirlresourcelistitem--docs');
|
|
310
397
|
}
|
|
311
398
|
disconnectedCallback() {
|
|
312
|
-
var
|
|
313
|
-
(
|
|
399
|
+
var t, e;
|
|
400
|
+
(e = (t = this.desktopMediaQuery).removeEventListener) == null || e.call(t, "change", this.desktopMediaQueryHandler);
|
|
314
401
|
}
|
|
315
|
-
forceIconProps(
|
|
316
|
-
var
|
|
317
|
-
const
|
|
318
|
-
|
|
402
|
+
forceIconProps(t) {
|
|
403
|
+
var i;
|
|
404
|
+
const e = (i = this.iconEl) == null ? void 0 : i.children[0];
|
|
405
|
+
e == null || e.setAttribute("size", t ? "20" : "24");
|
|
319
406
|
}
|
|
320
|
-
updateIconSize(
|
|
321
|
-
this.iconSize =
|
|
407
|
+
updateIconSize(t) {
|
|
408
|
+
this.iconSize = t ? 20 : 24;
|
|
322
409
|
}
|
|
323
410
|
updateMediaState() {
|
|
324
|
-
const
|
|
325
|
-
|
|
411
|
+
const t = this.el.querySelector('[slot="media"]'), e = Boolean(t);
|
|
412
|
+
e !== this.hasMedia && (this.hasMedia = e);
|
|
326
413
|
}
|
|
327
414
|
getControl() {
|
|
328
415
|
return this.el.querySelector('[slot="control"] button');
|
|
329
416
|
}
|
|
330
417
|
makeControlFocusable() {
|
|
331
|
-
const
|
|
332
|
-
!Boolean(
|
|
418
|
+
const t = this.getControl();
|
|
419
|
+
!Boolean(t) || (t.tabIndex = 0);
|
|
333
420
|
}
|
|
334
421
|
makeControlUnfocusable() {
|
|
335
|
-
const
|
|
336
|
-
!Boolean(
|
|
422
|
+
const t = this.getControl();
|
|
423
|
+
!Boolean(t) || (t.tabIndex = -1);
|
|
337
424
|
}
|
|
338
425
|
render() {
|
|
339
|
-
var
|
|
340
|
-
const
|
|
341
|
-
paddingRight: `calc(${(
|
|
342
|
-
} : void 0,
|
|
426
|
+
var v;
|
|
427
|
+
const t = !this.interactive && !this.selectable ? "div" : Boolean(this.href) && !this.selectable ? "a" : "button", e = this.disabled && !Boolean(this.href), i = Boolean(this.el.querySelector("[slot='badges']")), o = this.el.querySelector("[slot='control']"), l = Boolean(this.menuTriggerId) || o, u = this.interactive && Boolean(this.href) ? this.href : void 0, b = o && (Boolean(this.meta) || i), m = Boolean(this.menuTriggerId) && !Boolean(this.meta) && !this.selectable, s = (Boolean(this.meta) || i) && !this.selectable, k = Boolean(this.swirlAriaLabel) ? this.swirlAriaLabel : this.label, x = this.selectable ? String(this.checked) : void 0, S = this.interactive && this.selectable ? "checkbox" : void 0, C = !s && Boolean(this.controlContainer) ? {
|
|
428
|
+
paddingRight: `calc(${(v = this.controlContainer) == null ? void 0 : v.getBoundingClientRect().width}px + var(--s-space-16))`
|
|
429
|
+
} : void 0, I = c("resource-list-item", `resource-list-item--label-weight-${this.labelWeight}`, {
|
|
343
430
|
"resource-list-item--active": this.active,
|
|
344
431
|
"resource-list-item--checked": this.checked,
|
|
345
432
|
"resource-list-item--compact": this.compact,
|
|
346
433
|
"resource-list-item--disabled": this.disabled,
|
|
347
434
|
"resource-list-item--draggable": this.allowDrag,
|
|
348
435
|
"resource-list-item--dragging": this.dragging,
|
|
349
|
-
"resource-list-item--has-menu":
|
|
436
|
+
"resource-list-item--has-menu": l,
|
|
350
437
|
"resource-list-item--hide-divider": this.hideDivider,
|
|
351
438
|
"resource-list-item--interactive": this.interactive || this.selectable,
|
|
352
439
|
"resource-list-item--selectable": this.selectable,
|
|
353
|
-
"resource-list-item--show-control-on-focus":
|
|
354
|
-
"resource-list-item--show-meta":
|
|
440
|
+
"resource-list-item--show-control-on-focus": b,
|
|
441
|
+
"resource-list-item--show-meta": s,
|
|
355
442
|
"resource-list-item--wrap-description": this.descriptionWrap,
|
|
356
443
|
"resource-list-item--wrap-label": this.labelWrap
|
|
357
444
|
});
|
|
358
|
-
return
|
|
445
|
+
return a(d, { key: "ac74fb7463d8d0d9f2b83356353e9c4a90b5a1aa", role: "row" }, a("div", { key: "733859dfd9c0980e8659399d2344e6a013420b86", class: I, role: "gridcell" }, a(t, { key: "8fbccd573e7135479fe1b27179b66737cb08d602", "aria-checked": x, "aria-disabled": e ? "true" : void 0, "aria-label": k, "aria-labelledby": Boolean(this.swirlAriaLabel) ? void 0 : this.elementId, class: "resource-list-item__content", href: u, disabled: e, onClick: this.onClick, onBlur: this.onBlur, onFocus: this.onFocus, part: "resource-list-item__content", role: S, tabIndex: 0, type: t === "button" ? "button" : void 0 }, this.hasMedia && a("span", { key: "22db389db7d6f0d62dcbfb03efcd69d7904db977", class: "resource-list-item__media" }, a("slot", { key: "fb241f299008cb0a622df9958316d826c01d4c7e", name: "media" })), a("span", { key: "ee3eca86bcef05e666e17b359686d44cfe873715", class: "resource-list-item__label-container", style: C }, a("span", { key: "39d163e3741c8b6f7cff6511beb16dcf6277e1ec", class: "resource-list-item__label", id: this.elementId, innerHTML: this.allowHtml ? this.label : void 0 }, !this.allowHtml && this.label), this.description && a("span", { key: "039ebc6f9d22031d26ed207c19251000bf28e58d", class: "resource-list-item__description", innerHTML: this.allowHtml ? this.description : void 0 }, !this.allowHtml && this.description)), s && a("span", { key: "e9b96c32db78de5392ab803ad75906b932f5b94f", class: "resource-list-item__meta" }, a("span", { key: "b60fc5920cc7a2a4a375ba3a20d836f5596708a9", class: "resource-list-item__meta-text" }, this.meta), a("span", { key: "8f42c56de7e649bd0112bbbe67a9c45508292632", class: "resource-list-item__badges" }, a("slot", { key: "8e03652fd0084c4444e158e140095c64160309c2", name: "badges" })))), this.selectable && a("span", { key: "ab378006208232d293b37b920cb47e7350de76e4", "aria-hidden": "true", class: "resource-list-item__checkbox" }, a("span", { key: "6b75aa2f40d80579f38364d3636a67d8d5f9e8e9", class: "resource-list-item__checkbox-icon" }, this.checked && a("swirl-icon-check-strong", { key: "4ad6c7dd6e5c36269dec1f37a1c94b1fdc9cd56d" }))), a("span", { key: "7df52eb0305c2a7a6bad2299940fa718caa3ab25", class: "resource-list-item__control", onClick: this.onControlClick, ref: (B) => this.controlContainer = B }, a("slot", { key: "b3a1841057ba2f9aec1ca4fd1827aa27bd1c2d70", name: "control" })), m && a("swirl-popover-trigger", { key: "b109f91d7c21e88853ab0a8b56f894fbca8b2d1c", swirlPopover: this.menuTriggerId }, a("swirl-button", { key: "2e946c4671ff07f7e6d08b55a3f6acf17f81214a", "aria-disabled": e ? "true" : void 0, class: "resource-list-item__menu-trigger", disabled: e, hideLabel: !0, icon: "<swirl-icon-more-horizontal></swirl-icon-more-horizontal>", intent: "primary", label: this.menuTriggerLabel, onClick: this.onMenuTriggerClick }))), this.allowDrag && a("button", { key: "a7e6850dbe1be6cff77d6eb3dae8fb44b3c03955", "aria-describedby": this.dragHandleDescription, "aria-label": `${this.dragHandleLabel} "${this.label}"`, class: "resource-list-item__drag-handle", onKeyDown: this.onDragHandleKeyDown, type: "button" }, a("swirl-icon-drag-handle", { key: "ad3da0fee6bbac0a17db50b0cfc3a2484e991c07", size: this.iconSize })));
|
|
359
446
|
}
|
|
360
447
|
get el() {
|
|
361
448
|
return p(this);
|
|
362
449
|
}
|
|
363
450
|
};
|
|
364
|
-
R.style =
|
|
451
|
+
R.style = Q;
|
|
365
452
|
export {
|
|
366
453
|
M as swirl_app_layout,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
454
|
+
H as swirl_empty_state,
|
|
455
|
+
O as swirl_icon_folder_shared,
|
|
456
|
+
P as swirl_resource_list,
|
|
370
457
|
R as swirl_resource_list_item
|
|
371
458
|
};
|