@getflip/swirl-components-react 0.296.1 → 0.297.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.1fdf0757.js → file-manager.entry.a84f1538.js} +5 -5
- package/dist/{index.8e271707.js → index.e064caaa.js} +332 -332
- package/dist/{swirl-accordion-item.entry.a1f8fa29.js → swirl-accordion-item.entry.9c9c321f.js} +3 -3
- package/dist/{swirl-accordion.entry.b8caaecb.js → swirl-accordion.entry.6bf84f89.js} +2 -2
- package/dist/{swirl-action-list-section.entry.bb3cfea4.js → swirl-action-list-section.entry.4ef00c39.js} +4 -4
- package/dist/{swirl-action-list_2.entry.5d12877b.js → swirl-action-list_2.entry.edc779b1.js} +2 -2
- package/dist/{swirl-app-bar.entry.704eba64.js → swirl-app-bar.entry.691cf8a0.js} +1 -1
- package/dist/{swirl-app-icon.entry.37318189.js → swirl-app-icon.entry.820c67c3.js} +4 -4
- package/dist/{swirl-app-layout_5.entry.3f89a5a2.js → swirl-app-layout_5.entry.80eca515.js} +5 -5
- package/dist/{swirl-autocomplete.entry.0422da4e.js → swirl-autocomplete.entry.f0d0f372.js} +1 -1
- package/dist/{swirl-avatar-group.entry.76d96bf0.js → swirl-avatar-group.entry.465a4956.js} +2 -2
- package/dist/{swirl-avatar.entry.a6600bc6.js → swirl-avatar.entry.744ef35b.js} +1 -1
- package/dist/{swirl-badge.entry.5d0ecea1.js → swirl-badge.entry.c81f292a.js} +1 -1
- package/dist/{swirl-banner.entry.eab8cbf7.js → swirl-banner.entry.3fe8891d.js} +1 -1
- package/dist/{swirl-box.entry.a8532a8b.js → swirl-box.entry.f537eb80.js} +1 -1
- package/dist/{swirl-button-group.entry.03c0cac5.js → swirl-button-group.entry.b2e708d4.js} +1 -1
- package/dist/{swirl-button.entry.22621fef.js → swirl-button.entry.73470114.js} +1 -1
- package/dist/{swirl-card.entry.b0ccc0c9.js → swirl-card.entry.cffa4327.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.c062ae60.js → swirl-carousel-slide.entry.d837cc11.js} +2 -2
- package/dist/{swirl-carousel.entry.a998a998.js → swirl-carousel.entry.e1cd796f.js} +1 -1
- package/dist/{swirl-checkbox.entry.0ec2a60c.js → swirl-checkbox.entry.fb366baf.js} +1 -1
- package/dist/{swirl-chip.entry.453f8473.js → swirl-chip.entry.a4e1690c.js} +1 -1
- package/dist/{swirl-color-input.entry.edae98de.js → swirl-color-input.entry.325e3523.js} +3 -3
- package/dist/{swirl-columns.entry.0078877a.js → swirl-columns.entry.38fa6e45.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +29 -29
- package/dist/{swirl-console-layout.entry.a63a7a65.js → swirl-console-layout.entry.175f50cf.js} +4 -4
- package/dist/{swirl-date-input.entry.dda5887d.js → swirl-date-input.entry.4c78519d.js} +7 -7
- package/dist/{swirl-date-picker_2.entry.452995bb.js → swirl-date-picker_2.entry.d542562a.js} +6 -6
- package/dist/{swirl-description-list-item.entry.a94a4ef4.js → swirl-description-list-item.entry.ca7a86c3.js} +5 -5
- package/dist/swirl-description-list.entry.87af97c7.js +15 -0
- package/dist/swirl-dialog.entry.8561929a.js +47 -0
- package/dist/swirl-emoji-clap.entry.f8cddf48.js +17 -0
- package/dist/swirl-emoji-happy.entry.a0738476.js +17 -0
- package/dist/swirl-emoji-idea.entry.3be76fee.js +17 -0
- package/dist/swirl-emoji-love.entry.4133d9be.js +17 -0
- package/dist/swirl-emoji-sad.entry.9f4e3f3c.js +17 -0
- package/dist/swirl-emoji-thumbs-up.entry.9c1d7540.js +17 -0
- package/dist/swirl-emoji.entry.4db1b975.js +16 -0
- package/dist/{swirl-file-uploader.entry.d33ad380.js → swirl-file-uploader.entry.b8c7ea2c.js} +3 -3
- package/dist/{swirl-file-viewer_8.entry.88cd5e00.js → swirl-file-viewer_8.entry.32c0d665.js} +10 -10
- package/dist/{swirl-form-control.entry.2bd08897.js → swirl-form-control.entry.1413835d.js} +2 -2
- package/dist/{swirl-form-group.entry.38baf99e.js → swirl-form-group.entry.b9215440.js} +6 -6
- package/dist/{swirl-heading.entry.7851fa6e.js → swirl-heading.entry.ab55393b.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.9f2230b5.js → swirl-icon-add-moderator.entry.4e4c4b9b.js} +7 -7
- package/dist/{swirl-icon-add-photo.entry.f25692c0.js → swirl-icon-add-photo.entry.057c233f.js} +5 -5
- package/dist/{swirl-icon-add-reaction.entry.09efce9c.js → swirl-icon-add-reaction.entry.c8a0516c.js} +4 -4
- package/dist/{swirl-icon-add_6.entry.bd187c95.js → swirl-icon-add_6.entry.1f4b63c7.js} +9 -9
- package/dist/{swirl-icon-admin-panel-settings.entry.4d5aa8c6.js → swirl-icon-admin-panel-settings.entry.6637b202.js} +6 -6
- package/dist/swirl-icon-ai-filled.entry.788cd4e6.js +19 -0
- package/dist/{swirl-icon-ai.entry.06693ab3.js → swirl-icon-ai.entry.1b3c1abc.js} +8 -8
- package/dist/{swirl-icon-apps.entry.f94e03b8.js → swirl-icon-apps.entry.a568e98c.js} +8 -8
- package/dist/{swirl-icon-arrow-back_5.entry.6202c310.js → swirl-icon-arrow-back_5.entry.5b3fd540.js} +13 -13
- package/dist/{swirl-icon-arrow-downward_2.entry.a59bf2a6.js → swirl-icon-arrow-downward_2.entry.891d2b48.js} +11 -11
- package/dist/{swirl-icon-arrow-left_4.entry.7432f132.js → swirl-icon-arrow-left_4.entry.37a47aff.js} +9 -9
- package/dist/{swirl-icon-arrow-right-small.entry.7a13effc.js → swirl-icon-arrow-right-small.entry.d9a29a7b.js} +4 -4
- package/dist/{swirl-icon-aspect-ratio.entry.3dc9b173.js → swirl-icon-aspect-ratio.entry.bdd27f97.js} +6 -6
- package/dist/{swirl-icon-attachment.entry.903ad2de.js → swirl-icon-attachment.entry.04325e61.js} +6 -6
- package/dist/{swirl-icon-bar-chart.entry.1a9b0dd2.js → swirl-icon-bar-chart.entry.0d1e2469.js} +7 -7
- package/dist/{swirl-icon-block.entry.ff896f5b.js → swirl-icon-block.entry.e7494aee.js} +4 -4
- package/dist/{swirl-icon-bookmark-filled.entry.382b09b4.js → swirl-icon-bookmark-filled.entry.fd407795.js} +6 -6
- package/dist/{swirl-icon-bookmark.entry.de193d75.js → swirl-icon-bookmark.entry.7b6a3da6.js} +8 -8
- package/dist/{swirl-icon-cancel_4.entry.15148fd9.js → swirl-icon-cancel_4.entry.bbe77f20.js} +25 -25
- package/dist/{swirl-icon-chat-bubble.entry.332e88c8.js → swirl-icon-chat-bubble.entry.b8a2f321.js} +4 -4
- package/dist/{swirl-icon-chats-filled.entry.f6a97772.js → swirl-icon-chats-filled.entry.de09f4c7.js} +5 -5
- package/dist/{swirl-icon-chats.entry.9f9e0659.js → swirl-icon-chats.entry.c12d30fb.js} +8 -8
- package/dist/{swirl-icon-check-circle_2.entry.14d4cd63.js → swirl-icon-check-circle_2.entry.8829c5fb.js} +10 -10
- package/dist/{swirl-icon-check-small_2.entry.8dfcb4e7.js → swirl-icon-check-small_2.entry.c2026b31.js} +3 -3
- package/dist/swirl-icon-check-strong_2.entry.4a19f057.js +32 -0
- package/dist/{swirl-icon-check.entry.29ab5f6c.js → swirl-icon-check.entry.20ccd07f.js} +8 -8
- package/dist/{swirl-icon-chevron-left.entry.2329be28.js → swirl-icon-chevron-left.entry.b2607979.js} +5 -5
- package/dist/{swirl-icon-chevron-right.entry.e72adc1a.js → swirl-icon-chevron-right.entry.bbc3a4b9.js} +4 -4
- package/dist/{swirl-icon-close-small.entry.9c43447c.js → swirl-icon-close-small.entry.352a1e15.js} +6 -6
- package/dist/{swirl-icon-close.entry.2aff1913.js → swirl-icon-close.entry.bfdc987b.js} +9 -9
- package/dist/{swirl-icon-cloud-upload.entry.50e24adc.js → swirl-icon-cloud-upload.entry.388152d2.js} +7 -7
- package/dist/{swirl-icon-column.entry.96e6e367.js → swirl-icon-column.entry.b05ecebf.js} +5 -5
- package/dist/{swirl-icon-comment.entry.93eaab4d.js → swirl-icon-comment.entry.549af385.js} +4 -4
- package/dist/{swirl-icon-contrast.entry.b87371f8.js → swirl-icon-contrast.entry.35eed5e1.js} +5 -5
- package/dist/{swirl-icon-copy.entry.4dfd5f13.js → swirl-icon-copy.entry.b06ecef8.js} +7 -7
- package/dist/{swirl-icon-crop.entry.063f8bd7.js → swirl-icon-crop.entry.85c0f749.js} +8 -8
- package/dist/{swirl-icon-dark-mode.entry.445bcf28.js → swirl-icon-dark-mode.entry.110dd009.js} +5 -5
- package/dist/{swirl-icon-date-range.entry.82cc5020.js → swirl-icon-date-range.entry.94d84889.js} +2 -2
- package/dist/{swirl-icon-delete.entry.d26e8d85.js → swirl-icon-delete.entry.20719c97.js} +5 -5
- package/dist/{swirl-icon-deployed-code.entry.68e23e9e.js → swirl-icon-deployed-code.entry.9d01c1c1.js} +7 -7
- package/dist/{swirl-icon-description.entry.c42c0392.js → swirl-icon-description.entry.d04910fd.js} +4 -4
- package/dist/{swirl-icon-desktop.entry.192ef1c4.js → swirl-icon-desktop.entry.5bf40051.js} +7 -7
- package/dist/{swirl-icon-directory-filled.entry.b526fb17.js → swirl-icon-directory-filled.entry.1390819b.js} +4 -4
- package/dist/{swirl-icon-directory.entry.415b29e3.js → swirl-icon-directory.entry.9ed5ee84.js} +8 -8
- package/dist/{swirl-icon-discover.entry.ec4558be.js → swirl-icon-discover.entry.da4577c9.js} +7 -7
- package/dist/{swirl-icon-dock-left.entry.34d75c9a.js → swirl-icon-dock-left.entry.0f20ad27.js} +2 -2
- package/dist/{swirl-icon-door-open.entry.747d1760.js → swirl-icon-door-open.entry.2a7d925e.js} +4 -4
- package/dist/swirl-icon-dot.entry.64bf852c.js +19 -0
- package/dist/{swirl-icon-double-arrow-right.entry.fbf1b0e8.js → swirl-icon-double-arrow-right.entry.96f5e14a.js} +8 -8
- package/dist/{swirl-icon-download.entry.0090ebf6.js → swirl-icon-download.entry.9fcbf7dd.js} +8 -8
- package/dist/{swirl-icon-edit.entry.fa1cb188.js → swirl-icon-edit.entry.cb128001.js} +6 -6
- package/dist/{swirl-icon-emoji-mood.entry.80c282f0.js → swirl-icon-emoji-mood.entry.c12f148e.js} +7 -7
- package/dist/{swirl-icon-emoji-satisfied.entry.bc6407d6.js → swirl-icon-emoji-satisfied.entry.3a70f19d.js} +2 -2
- package/dist/{swirl-icon-error_3.entry.55f7a98f.js → swirl-icon-error_3.entry.cc2aa3b7.js} +10 -10
- package/dist/{swirl-icon-expand-more.entry.ef2c17c7.js → swirl-icon-expand-more.entry.c6d42dcc.js} +6 -6
- package/dist/{swirl-icon-experiment.entry.a020a55b.js → swirl-icon-experiment.entry.582b0792.js} +4 -4
- package/dist/{swirl-icon-file.entry.a1336370.js → swirl-icon-file.entry.90337023.js} +2 -2
- package/dist/{swirl-icon-filter.entry.9600e273.js → swirl-icon-filter.entry.14e500ef.js} +2 -2
- package/dist/{swirl-icon-folder.entry.5853d040.js → swirl-icon-folder.entry.3fce9c95.js} +5 -5
- package/dist/{swirl-icon-format-h-one.entry.b28f0522.js → swirl-icon-format-h-one.entry.966fbad3.js} +6 -6
- package/dist/{swirl-icon-gif_3.entry.c7736e9b.js → swirl-icon-gif_3.entry.e71a5ca9.js} +7 -7
- package/dist/{swirl-icon-group-add.entry.24dcb5a7.js → swirl-icon-group-add.entry.e24bdcb8.js} +7 -7
- package/dist/{swirl-icon-group-assign.entry.a60a90ab.js → swirl-icon-group-assign.entry.a8ebda4e.js} +7 -7
- package/dist/{swirl-icon-groups-filled.entry.512989bc.js → swirl-icon-groups-filled.entry.94b358e7.js} +4 -4
- package/dist/{swirl-icon-groups.entry.1576b534.js → swirl-icon-groups.entry.85b3c1ee.js} +7 -7
- package/dist/{swirl-icon-hamburger-menu.entry.0479fbe6.js → swirl-icon-hamburger-menu.entry.d84f7ccd.js} +7 -7
- package/dist/{swirl-icon-help.entry.35cf6049.js → swirl-icon-help.entry.89694d2d.js} +8 -8
- package/dist/{swirl-icon-highlight.entry.cc4e4c93.js → swirl-icon-highlight.entry.296d36b7.js} +2 -2
- package/dist/{swirl-icon-history.entry.960e8592.js → swirl-icon-history.entry.0fe0e987.js} +8 -8
- package/dist/{swirl-icon-home.entry.7ab6518b.js → swirl-icon-home.entry.c69fe521.js} +6 -6
- package/dist/{swirl-icon-image.entry.d815940c.js → swirl-icon-image.entry.e2105994.js} +7 -7
- package/dist/{swirl-icon-improve-text.entry.03dc9c36.js → swirl-icon-improve-text.entry.af8fbf08.js} +7 -7
- package/dist/{swirl-icon-info.entry.5927f31d.js → swirl-icon-info.entry.0a0c7c94.js} +5 -5
- package/dist/{swirl-icon-insert-below.entry.96dddb86.js → swirl-icon-insert-below.entry.73865bb0.js} +4 -4
- package/dist/{swirl-icon-insert-on-top.entry.1a9bf9cc.js → swirl-icon-insert-on-top.entry.38157785.js} +6 -6
- package/dist/{swirl-icon-inventory-off.entry.135e9091.js → swirl-icon-inventory-off.entry.c38e17b1.js} +9 -9
- package/dist/{swirl-icon-inventory.entry.796a1280.js → swirl-icon-inventory.entry.6b68c893.js} +5 -5
- package/dist/{swirl-icon-key.entry.20c8a0d8.js → swirl-icon-key.entry.8d0f3e78.js} +5 -5
- package/dist/{swirl-icon-keyboard-hide.entry.34910c9f.js → swirl-icon-keyboard-hide.entry.1a4f1ad2.js} +8 -8
- package/dist/{swirl-icon-keyboard.entry.d3b43b8a.js → swirl-icon-keyboard.entry.77a18388.js} +6 -6
- package/dist/{swirl-icon-light-mode.entry.6f0f513e.js → swirl-icon-light-mode.entry.a8c6426e.js} +5 -5
- package/dist/{swirl-icon-like.entry.5c582901.js → swirl-icon-like.entry.1dc30a78.js} +9 -9
- package/dist/{swirl-icon-link.entry.acdd1d52.js → swirl-icon-link.entry.801bdcf3.js} +2 -2
- package/dist/{swirl-icon-live.entry.d462f88c.js → swirl-icon-live.entry.ae709d64.js} +7 -7
- package/dist/{swirl-icon-load.entry.b2cab191.js → swirl-icon-load.entry.e561a2fa.js} +7 -7
- package/dist/{swirl-icon-lock-open.entry.c227e15a.js → swirl-icon-lock-open.entry.dfc8de81.js} +2 -2
- package/dist/{swirl-icon-lock-person.entry.b11cedb0.js → swirl-icon-lock-person.entry.b84c36d4.js} +6 -6
- package/dist/{swirl-icon-lock.entry.938b04f0.js → swirl-icon-lock.entry.d4dcfd3c.js} +8 -8
- package/dist/{swirl-icon-login.entry.da75ba9d.js → swirl-icon-login.entry.278555d2.js} +7 -7
- package/dist/{swirl-icon-logout.entry.f6958a76.js → swirl-icon-logout.entry.5dede86d.js} +5 -5
- package/dist/{swirl-icon-long-text.entry.3b5dc908.js → swirl-icon-long-text.entry.80408e7f.js} +5 -5
- package/dist/{swirl-icon-mail.entry.906fdb71.js → swirl-icon-mail.entry.b216b949.js} +7 -7
- package/dist/{swirl-icon-manage-accounts.entry.3f6444a8.js → swirl-icon-manage-accounts.entry.b95f3801.js} +7 -7
- package/dist/{swirl-icon-mark-chat-read.entry.01c86e88.js → swirl-icon-mark-chat-read.entry.999e370c.js} +4 -4
- package/dist/{swirl-icon-mark-chat-unread.entry.1b201688.js → swirl-icon-mark-chat-unread.entry.49971107.js} +4 -4
- package/dist/{swirl-icon-mention.entry.6af4fd4e.js → swirl-icon-mention.entry.63e833ea.js} +7 -7
- package/dist/{swirl-icon-menu-book-filled.entry.2b3dcf44.js → swirl-icon-menu-book-filled.entry.041bc876.js} +5 -5
- package/dist/swirl-icon-menu-filled.entry.6fa281e6.js +19 -0
- package/dist/{swirl-icon-menu.entry.57bb7be5.js → swirl-icon-menu.entry.6a23a5e0.js} +9 -9
- package/dist/{swirl-icon-message.entry.c8c04cac.js → swirl-icon-message.entry.9149ae39.js} +5 -5
- package/dist/{swirl-icon-mic-off.entry.57c5aca4.js → swirl-icon-mic-off.entry.5fc19c34.js} +2 -2
- package/dist/{swirl-icon-mic.entry.83440003.js → swirl-icon-mic.entry.d0cfbff0.js} +4 -4
- package/dist/{swirl-icon-more-horizontal.entry.b16e6b43.js → swirl-icon-more-horizontal.entry.c135dfcb.js} +6 -6
- package/dist/{swirl-icon-news-filled.entry.2dc6df46.js → swirl-icon-news-filled.entry.deb76203.js} +7 -7
- package/dist/{swirl-icon-news-off.entry.6c20f638.js → swirl-icon-news-off.entry.f543c165.js} +7 -7
- package/dist/{swirl-icon-news.entry.664b987d.js → swirl-icon-news.entry.0640bb27.js} +10 -10
- package/dist/{swirl-icon-notifications-active.entry.40cf104d.js → swirl-icon-notifications-active.entry.2cee7027.js} +5 -5
- package/dist/{swirl-icon-notifications-off.entry.e216e165.js → swirl-icon-notifications-off.entry.fcd739fa.js} +8 -8
- package/dist/{swirl-icon-notifications.entry.946526df.js → swirl-icon-notifications.entry.19189f2e.js} +5 -5
- package/dist/{swirl-icon-open-in-full.entry.e650125b.js → swirl-icon-open-in-full.entry.0d5f10a3.js} +8 -8
- package/dist/{swirl-icon-open-in-new.entry.29fa408d.js → swirl-icon-open-in-new.entry.299d9b08.js} +8 -8
- package/dist/{swirl-icon-pause-circle.entry.8222454c.js → swirl-icon-pause-circle.entry.91611794.js} +7 -7
- package/dist/{swirl-icon-people-alt.entry.f1de0e32.js → swirl-icon-people-alt.entry.91b938e6.js} +7 -7
- package/dist/{swirl-icon-person-off.entry.c05559fe.js → swirl-icon-person-off.entry.734e5abc.js} +7 -7
- package/dist/{swirl-icon-person.entry.b5032cc6.js → swirl-icon-person.entry.12c1e925.js} +8 -8
- package/dist/{swirl-icon-phone.entry.dfc1dbc8.js → swirl-icon-phone.entry.530eca26.js} +4 -4
- package/dist/{swirl-icon-photo-camera.entry.912b3939.js → swirl-icon-photo-camera.entry.0216accd.js} +6 -6
- package/dist/{swirl-icon-pin-off.entry.5a633c94.js → swirl-icon-pin-off.entry.0d2d58ff.js} +5 -5
- package/dist/{swirl-icon-pin.entry.e91257d7.js → swirl-icon-pin.entry.16efce0c.js} +9 -9
- package/dist/{swirl-icon-place.entry.34e88823.js → swirl-icon-place.entry.106ddbe1.js} +2 -2
- package/dist/{swirl-icon-poll.entry.8eac921b.js → swirl-icon-poll.entry.995d5724.js} +5 -5
- package/dist/{swirl-icon-post-approval.entry.ffd31334.js → swirl-icon-post-approval.entry.f9cc259e.js} +10 -10
- package/dist/{swirl-icon-present.entry.c6c75756.js → swirl-icon-present.entry.df51afa1.js} +8 -8
- package/dist/{swirl-icon-print.entry.475fc10f.js → swirl-icon-print.entry.82fa7eca.js} +5 -5
- package/dist/{swirl-icon-public-off.entry.03fb6b11.js → swirl-icon-public-off.entry.50cd43dc.js} +10 -10
- package/dist/{swirl-icon-public.entry.122fcc42.js → swirl-icon-public.entry.71fa57bf.js} +9 -9
- package/dist/{swirl-icon-ratio-four-to-three.entry.d252b571.js → swirl-icon-ratio-four-to-three.entry.b39afa23.js} +8 -8
- package/dist/{swirl-icon-ratio-freeform.entry.a7a99fd8.js → swirl-icon-ratio-freeform.entry.3f392d9f.js} +8 -8
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.08003f8f.js → swirl-icon-ratio-sixteen-to-nine.entry.87067269.js} +7 -7
- package/dist/{swirl-icon-ratio-square.entry.726405d4.js → swirl-icon-ratio-square.entry.86eafab7.js} +4 -4
- package/dist/{swirl-icon-ratio-three-to-four.entry.b9e379d6.js → swirl-icon-ratio-three-to-four.entry.c5a2355b.js} +6 -6
- package/dist/{swirl-icon-ratio-three-to-two.entry.873da24c.js → swirl-icon-ratio-three-to-two.entry.7a15145f.js} +6 -6
- package/dist/{swirl-icon-recieved.entry.690ee5f3.js → swirl-icon-recieved.entry.259f6b23.js} +8 -8
- package/dist/{swirl-icon-remove-circle.entry.90b19212.js → swirl-icon-remove-circle.entry.87d79274.js} +7 -7
- package/dist/{swirl-icon-remove-moderator.entry.c00735f6.js → swirl-icon-remove-moderator.entry.0be7b45d.js} +5 -5
- package/dist/{swirl-icon-reply.entry.7d77e70f.js → swirl-icon-reply.entry.42d8634a.js} +4 -4
- package/dist/{swirl-icon-report.entry.52d52abb.js → swirl-icon-report.entry.7f42b129.js} +8 -8
- package/dist/{swirl-icon-roadmap.entry.a8faafd6.js → swirl-icon-roadmap.entry.df57bd8e.js} +8 -8
- package/dist/{swirl-icon-rotate-left.entry.0659f6e7.js → swirl-icon-rotate-left.entry.a2586b1d.js} +6 -6
- package/dist/{swirl-icon-rotate-right.entry.13df48a2.js → swirl-icon-rotate-right.entry.6acf5532.js} +6 -6
- package/dist/{swirl-icon-screenshare-off.entry.133b5af7.js → swirl-icon-screenshare-off.entry.47cb7cfa.js} +8 -8
- package/dist/{swirl-icon-screenshare.entry.3eebf4c7.js → swirl-icon-screenshare.entry.b48c342e.js} +5 -5
- package/dist/{swirl-icon-search-strong.entry.b34ef259.js → swirl-icon-search-strong.entry.44f02229.js} +5 -5
- package/dist/{swirl-icon-search.entry.3a99853d.js → swirl-icon-search.entry.dd20a874.js} +5 -5
- package/dist/{swirl-icon-secure.entry.f128b87d.js → swirl-icon-secure.entry.495369ea.js} +6 -6
- package/dist/{swirl-icon-send.entry.946324d2.js → swirl-icon-send.entry.b450e67c.js} +9 -9
- package/dist/{swirl-icon-settings.entry.152906f8.js → swirl-icon-settings.entry.6bef4b53.js} +7 -7
- package/dist/{swirl-icon-short-text.entry.9da747b0.js → swirl-icon-short-text.entry.4f0603ca.js} +7 -7
- package/dist/{swirl-icon-simplify.entry.c49f7536.js → swirl-icon-simplify.entry.718b9e2a.js} +2 -2
- package/dist/{swirl-icon-spellcheck.entry.791c8d3b.js → swirl-icon-spellcheck.entry.f69255a3.js} +6 -6
- package/dist/{swirl-icon-stars.entry.e4e71c00.js → swirl-icon-stars.entry.7d0b7f2a.js} +7 -7
- package/dist/{swirl-icon-stop-circle.entry.a13b9489.js → swirl-icon-stop-circle.entry.87d73c81.js} +6 -6
- package/dist/{swirl-icon-stop.entry.3945fe4d.js → swirl-icon-stop.entry.856916a1.js} +8 -8
- package/dist/{swirl-icon-sync.entry.319a05d5.js → swirl-icon-sync.entry.527448bc.js} +2 -2
- package/dist/{swirl-icon-tasks-filled.entry.4df52d94.js → swirl-icon-tasks-filled.entry.a5ba3760.js} +5 -5
- package/dist/{swirl-icon-tasks.entry.fbbb10ac.js → swirl-icon-tasks.entry.a5928618.js} +7 -7
- package/dist/{swirl-icon-terminal.entry.1fd93625.js → swirl-icon-terminal.entry.0636dfb3.js} +6 -6
- package/dist/{swirl-icon-time-filled.entry.eeb4b3c1.js → swirl-icon-time-filled.entry.134c64c2.js} +2 -2
- package/dist/{swirl-icon-time.entry.3c658db1.js → swirl-icon-time.entry.1a8da289.js} +4 -4
- package/dist/{swirl-icon-today-filled.entry.0a5d85d3.js → swirl-icon-today-filled.entry.102961d0.js} +8 -8
- package/dist/{swirl-icon-translate.entry.7bc8a577.js → swirl-icon-translate.entry.88122773.js} +4 -4
- package/dist/{swirl-icon-tree-structure.entry.c86d23d5.js → swirl-icon-tree-structure.entry.8478fadf.js} +8 -8
- package/dist/{swirl-icon-undo.entry.f1953e7f.js → swirl-icon-undo.entry.23940c3b.js} +6 -6
- package/dist/{swirl-icon-unlock-person.entry.3a5ba37b.js → swirl-icon-unlock-person.entry.b5401980.js} +8 -8
- package/dist/{swirl-icon-user-add.entry.49e8cc48.js → swirl-icon-user-add.entry.500174e4.js} +7 -7
- package/dist/{swirl-icon-user-assign.entry.cc44ebd6.js → swirl-icon-user-assign.entry.a86af943.js} +9 -9
- package/dist/{swirl-icon-video-camera-off.entry.c54fba6d.js → swirl-icon-video-camera-off.entry.506a5de4.js} +5 -5
- package/dist/{swirl-icon-video-camera.entry.8a3c6155.js → swirl-icon-video-camera.entry.e15cf076.js} +8 -8
- package/dist/{swirl-icon-video-library.entry.58bde61f.js → swirl-icon-video-library.entry.7242bd07.js} +7 -7
- package/dist/{swirl-icon-video-player.entry.4f9ae6ff.js → swirl-icon-video-player.entry.262630d5.js} +8 -8
- package/dist/{swirl-icon-voice.entry.1dcb9914.js → swirl-icon-voice.entry.0d962553.js} +7 -7
- package/dist/{swirl-icon-web-asset-off.entry.a9854804.js → swirl-icon-web-asset-off.entry.8fc7f1b5.js} +8 -8
- package/dist/{swirl-icon-web-asset.entry.051d3c93.js → swirl-icon-web-asset.entry.407211ea.js} +2 -2
- package/dist/{swirl-icon-work.entry.28a12a9e.js → swirl-icon-work.entry.96d40bff.js} +7 -7
- package/dist/{swirl-icon.entry.85218646.js → swirl-icon.entry.e26fe2d6.js} +3 -3
- package/dist/{swirl-image-grid-item.entry.b2959feb.js → swirl-image-grid-item.entry.e7a66ae6.js} +3 -3
- package/dist/{swirl-image-grid.entry.d376a042.js → swirl-image-grid.entry.d70f71ff.js} +2 -2
- package/dist/{swirl-inline-notification.entry.65edd1d5.js → swirl-inline-notification.entry.22b3084d.js} +6 -6
- package/dist/{swirl-inline-status.entry.c6af606b.js → swirl-inline-status.entry.5197fd15.js} +4 -4
- package/dist/{swirl-lightbox.entry.2d30d9e7.js → swirl-lightbox.entry.afcbd623.js} +5 -5
- package/dist/{swirl-link.entry.bf08af65.js → swirl-link.entry.075b1f2c.js} +4 -4
- package/dist/{swirl-list.entry.e6e44276.js → swirl-list.entry.00393432.js} +2 -2
- package/dist/{swirl-menu-item.entry.11df2291.js → swirl-menu-item.entry.d624a20f.js} +2 -2
- package/dist/{swirl-menu.entry.aa0519d9.js → swirl-menu.entry.075b5752.js} +3 -3
- package/dist/{swirl-modal.entry.6bb83f45.js → swirl-modal.entry.059e62d8.js} +6 -6
- package/dist/{swirl-option-list-section.entry.b978cfae.js → swirl-option-list-section.entry.77078389.js} +4 -4
- package/dist/{swirl-option-list_2.entry.08c0ffe6.js → swirl-option-list_2.entry.763a8fda.js} +6 -6
- package/dist/{swirl-pagination.entry.4f053b30.js → swirl-pagination.entry.4b55e79a.js} +2 -2
- package/dist/{swirl-pdf-reader.entry.0396b5f2.js → swirl-pdf-reader.entry.d3eac331.js} +7 -7
- package/dist/{swirl-popover_2.entry.a5ebe98f.js → swirl-popover_2.entry.36b4df39.js} +7 -7
- package/dist/{swirl-progress-indicator.entry.161399a8.js → swirl-progress-indicator.entry.522aeb9f.js} +8 -8
- package/dist/{swirl-radio-group.entry.c57dbece.js → swirl-radio-group.entry.6d6636f7.js} +2 -2
- package/dist/{swirl-radio.entry.12c17a24.js → swirl-radio.entry.d5e06873.js} +3 -3
- package/dist/{swirl-resource-list-file-item.entry.444bcee0.js → swirl-resource-list-file-item.entry.149ff4a8.js} +2 -2
- package/dist/{swirl-resource-list-section.entry.5740affc.js → swirl-resource-list-section.entry.c0342970.js} +5 -5
- package/dist/{swirl-search.entry.6f35883b.js → swirl-search.entry.f72d9457.js} +2 -2
- package/dist/{swirl-select.entry.ac827aac.js → swirl-select.entry.57679fd6.js} +8 -8
- package/dist/{swirl-separator.entry.8d407e74.js → swirl-separator.entry.b0aae6b1.js} +1 -1
- package/dist/{swirl-shell-layout.entry.5f14557c.js → swirl-shell-layout.entry.64976592.js} +10 -10
- package/dist/{swirl-shell-navigation-item.entry.2a211469.js → swirl-shell-navigation-item.entry.88320f9f.js} +2 -2
- package/dist/{swirl-skeleton-box.entry.3d930813.js → swirl-skeleton-box.entry.dd732b70.js} +3 -3
- package/dist/{swirl-skeleton-text.entry.aa9c547c.js → swirl-skeleton-text.entry.2b75a5c1.js} +2 -2
- package/dist/{swirl-stack.entry.91329085.js → swirl-stack.entry.0c5ebab4.js} +1 -1
- package/dist/{swirl-status-indicator.entry.4f2b4f4f.js → swirl-status-indicator.entry.2d42cd4c.js} +5 -5
- package/dist/{swirl-switch.entry.b028c562.js → swirl-switch.entry.30adb29e.js} +5 -5
- package/dist/{swirl-symbol-account-circle.entry.0ca35dd8.js → swirl-symbol-account-circle.entry.d887d9f3.js} +2 -2
- package/dist/{swirl-symbol-alternate-email.entry.47fbe2a0.js → swirl-symbol-alternate-email.entry.b011acee.js} +4 -4
- package/dist/{swirl-symbol-android.entry.4d09df7a.js → swirl-symbol-android.entry.269838f1.js} +4 -4
- package/dist/{swirl-symbol-announcement.entry.bcb46b9e.js → swirl-symbol-announcement.entry.4ad2b1d0.js} +7 -7
- package/dist/{swirl-symbol-backup.entry.a6f6ae07.js → swirl-symbol-backup.entry.bef8e0b1.js} +5 -5
- package/dist/{swirl-symbol-beach-access.entry.23f675ae.js → swirl-symbol-beach-access.entry.08590deb.js} +2 -2
- package/dist/swirl-symbol-bookmark.entry.5d25e8b2.js +17 -0
- package/dist/{swirl-symbol-cloud.entry.b621e1d5.js → swirl-symbol-cloud.entry.35327d4d.js} +3 -3
- package/dist/{swirl-symbol-coronavirus.entry.793c33d3.js → swirl-symbol-coronavirus.entry.beb2d9bb.js} +7 -7
- package/dist/{swirl-symbol-desktop-windows.entry.15e8a3d6.js → swirl-symbol-desktop-windows.entry.c711aacf.js} +5 -5
- package/dist/{swirl-symbol-directions-car-filled.entry.be3470df.js → swirl-symbol-directions-car-filled.entry.289d8177.js} +6 -6
- package/dist/{swirl-symbol-edit-calendar.entry.e222ccb7.js → swirl-symbol-edit-calendar.entry.fce2a96b.js} +7 -7
- package/dist/{swirl-symbol-email.entry.510b1b33.js → swirl-symbol-email.entry.b1564f1a.js} +3 -3
- package/dist/{swirl-symbol-emoji-food-beverage.entry.a7b9d725.js → swirl-symbol-emoji-food-beverage.entry.563b0067.js} +5 -5
- package/dist/{swirl-symbol-event-menu.entry.a30db8e7.js → swirl-symbol-event-menu.entry.882648b0.js} +2 -2
- package/dist/{swirl-symbol-facebook.entry.ab98eec4.js → swirl-symbol-facebook.entry.a673ffca.js} +7 -7
- package/dist/{swirl-symbol-favorite.entry.bb004e6d.js → swirl-symbol-favorite.entry.be185ca8.js} +2 -2
- package/dist/{swirl-symbol-fitness-center.entry.00ef3f5d.js → swirl-symbol-fitness-center.entry.98ed6444.js} +2 -2
- package/dist/{swirl-symbol-flag.entry.5739ceff.js → swirl-symbol-flag.entry.4e29ffba.js} +6 -6
- package/dist/{swirl-symbol-folder.entry.3642cd82.js → swirl-symbol-folder.entry.9fba54ad.js} +5 -5
- package/dist/{swirl-symbol-globe.entry.92cb465c.js → swirl-symbol-globe.entry.1126f1c2.js} +5 -5
- package/dist/{swirl-symbol-groups.entry.becb84c3.js → swirl-symbol-groups.entry.79144a4e.js} +5 -5
- package/dist/{swirl-symbol-help.entry.b3aed91e.js → swirl-symbol-help.entry.e65f2fc0.js} +5 -5
- package/dist/{swirl-symbol-image.entry.6f20305e.js → swirl-symbol-image.entry.3b0e5275.js} +7 -7
- package/dist/{swirl-symbol-info-menu.entry.9e98d56e.js → swirl-symbol-info-menu.entry.22d4467f.js} +5 -5
- package/dist/{swirl-symbol-instagram.entry.1d360796.js → swirl-symbol-instagram.entry.6cedeca7.js} +4 -4
- package/dist/{swirl-symbol-ios.entry.bf506c0a.js → swirl-symbol-ios.entry.fda1ac3b.js} +2 -2
- package/dist/{swirl-symbol-language.entry.66632149.js → swirl-symbol-language.entry.352d9bd6.js} +7 -7
- package/dist/{swirl-symbol-leaderboard.entry.9eee63c1.js → swirl-symbol-leaderboard.entry.30ac05ca.js} +2 -2
- package/dist/{swirl-symbol-lightbulb.entry.ef3e3b53.js → swirl-symbol-lightbulb.entry.78c08a2a.js} +5 -5
- package/dist/{swirl-symbol-linkedin.entry.56b70c98.js → swirl-symbol-linkedin.entry.1e383465.js} +5 -5
- package/dist/{swirl-symbol-location-on.entry.042572af.js → swirl-symbol-location-on.entry.2d6add72.js} +7 -7
- package/dist/{swirl-symbol-loyalty.entry.8e33428e.js → swirl-symbol-loyalty.entry.6cba083f.js} +4 -4
- package/dist/{swirl-symbol-maps-home-work.entry.8843c2e1.js → swirl-symbol-maps-home-work.entry.42250216.js} +4 -4
- package/dist/{swirl-symbol-notifications.entry.23e8570c.js → swirl-symbol-notifications.entry.2f8544cb.js} +5 -5
- package/dist/{swirl-symbol-open-in-new.entry.4bbc0d4e.js → swirl-symbol-open-in-new.entry.e19faeed.js} +5 -5
- package/dist/{swirl-symbol-pedal-bike.entry.f0eea418.js → swirl-symbol-pedal-bike.entry.e2c60b46.js} +7 -7
- package/dist/{swirl-symbol-pinterest.entry.ed20520d.js → swirl-symbol-pinterest.entry.bb10e0dd.js} +2 -2
- package/dist/{swirl-symbol-policy.entry.c72a78ef.js → swirl-symbol-policy.entry.1a8d14fd.js} +6 -6
- package/dist/{swirl-symbol-push-pin.entry.2d9595b7.js → swirl-symbol-push-pin.entry.8048baa2.js} +5 -5
- package/dist/{swirl-symbol-redeem.entry.0b360349.js → swirl-symbol-redeem.entry.3131855e.js} +5 -5
- package/dist/{swirl-symbol-report-problem.entry.2c65688e.js → swirl-symbol-report-problem.entry.3099f864.js} +5 -5
- package/dist/{swirl-symbol-restaurant.entry.2090b4c3.js → swirl-symbol-restaurant.entry.8b1dfa7c.js} +2 -2
- package/dist/swirl-symbol-roadmap.entry.abc08936.js +17 -0
- package/dist/{swirl-symbol-room.entry.6158ff0f.js → swirl-symbol-room.entry.ed727fc8.js} +5 -5
- package/dist/{swirl-symbol-savings.entry.866bc058.js → swirl-symbol-savings.entry.4612d811.js} +4 -4
- package/dist/{swirl-symbol-settings-voice.entry.ba6502b0.js → swirl-symbol-settings-voice.entry.b352e9c8.js} +5 -5
- package/dist/{swirl-symbol-shopping-cart.entry.128eb8b1.js → swirl-symbol-shopping-cart.entry.c8d47407.js} +4 -4
- package/dist/{swirl-symbol-smartphone.entry.1803ca11.js → swirl-symbol-smartphone.entry.e9259271.js} +2 -2
- package/dist/{swirl-symbol-star.entry.5e6f31d8.js → swirl-symbol-star.entry.1562739f.js} +5 -5
- package/dist/{swirl-symbol-supervisor-account.entry.b4536e08.js → swirl-symbol-supervisor-account.entry.f355c30f.js} +2 -2
- package/dist/{swirl-symbol-thumbs-up-down.entry.f816a2df.js → swirl-symbol-thumbs-up-down.entry.d024a2f9.js} +5 -5
- package/dist/{swirl-symbol-twitter.entry.2f89fc71.js → swirl-symbol-twitter.entry.242924bb.js} +5 -5
- package/dist/{swirl-symbol-wb-sunny.entry.540ef6c0.js → swirl-symbol-wb-sunny.entry.6fa75447.js} +5 -5
- package/dist/{swirl-symbol-wechat.entry.33bc352d.js → swirl-symbol-wechat.entry.5fdd94b1.js} +5 -5
- package/dist/{swirl-symbol-weibo.entry.4297ab1c.js → swirl-symbol-weibo.entry.744e4daf.js} +2 -2
- package/dist/{swirl-symbol-work.entry.3ae82bb3.js → swirl-symbol-work.entry.f5009e46.js} +2 -2
- package/dist/{swirl-symbol-xing.entry.9d1d5d85.js → swirl-symbol-xing.entry.97ab3bab.js} +2 -2
- package/dist/{swirl-symbol-youtube.entry.52716386.js → swirl-symbol-youtube.entry.93e176a3.js} +6 -6
- package/dist/swirl-symbol.entry.264496a6.js +16 -0
- package/dist/{swirl-tab-bar.entry.9c9cfa4b.js → swirl-tab-bar.entry.362fe64b.js} +8 -8
- package/dist/{swirl-tab.entry.a52bd23b.js → swirl-tab.entry.67e339ba.js} +6 -6
- package/dist/{swirl-table-cell.entry.12f6061b.js → swirl-table-cell.entry.83d47a73.js} +2 -2
- package/dist/{swirl-table-column.entry.f4fedd36.js → swirl-table-column.entry.c02dbc04.js} +5 -5
- package/dist/{swirl-table-row-group.entry.d32f7048.js → swirl-table-row-group.entry.aaa66baf.js} +7 -7
- package/dist/{swirl-table-row.entry.8984051b.js → swirl-table-row.entry.e0264757.js} +7 -7
- package/dist/{swirl-table.entry.c7b219d8.js → swirl-table.entry.41aa6b69.js} +2 -2
- package/dist/{swirl-tabs.entry.c2406c64.js → swirl-tabs.entry.14ef91a6.js} +6 -6
- package/dist/{swirl-text-input.entry.88ac417a.js → swirl-text-input.entry.3ece3334.js} +1 -1
- package/dist/{swirl-text.entry.4f948b1d.js → swirl-text.entry.4be3784a.js} +2 -2
- package/dist/{swirl-theme-provider.entry.a0a8b26b.js → swirl-theme-provider.entry.589eba50.js} +3 -3
- package/dist/{swirl-time-input.entry.931f60a2.js → swirl-time-input.entry.d56ab4d2.js} +2 -2
- package/dist/{swirl-toast-provider.entry.94faedcc.js → swirl-toast-provider.entry.addf0fb2.js} +3 -3
- package/dist/{swirl-toast.entry.fb38dc38.js → swirl-toast.entry.87eff7e3.js} +2 -2
- package/dist/{swirl-toggle-button.entry.b22706ae.js → swirl-toggle-button.entry.a4910d9d.js} +2 -2
- package/dist/{swirl-toggle-group.entry.d07ce9c7.js → swirl-toggle-group.entry.ee781c01.js} +2 -2
- package/dist/{swirl-toolbar.entry.8af1309e.js → swirl-toolbar.entry.e2d950b4.js} +5 -5
- package/dist/{swirl-tooltip.entry.ed8c513e.js → swirl-tooltip.entry.30e94840.js} +6 -6
- package/dist/{swirl-tree-navigation-item.entry.9a3260fa.js → swirl-tree-navigation-item.entry.6bdc33b4.js} +4 -4
- package/dist/{swirl-tree-navigation.entry.132bc2d7.js → swirl-tree-navigation.entry.32018a81.js} +2 -2
- package/dist/{swirl-tree-view-item.entry.4677c3ee.js → swirl-tree-view-item.entry.7c28efcd.js} +19 -19
- package/dist/{swirl-tree-view.entry.35a549a4.js → swirl-tree-view.entry.44e80e28.js} +5 -5
- package/dist/{swirl-video-thumbnail.entry.28335bb8.js → swirl-video-thumbnail.entry.12274c3f.js} +2 -2
- package/dist/swirl-visually-hidden.entry.448aeb97.js +15 -0
- package/dist/{wc-datepicker.entry.c0c516c3.js → wc-datepicker.entry.c50a7ba8.js} +1 -1
- package/package.json +2 -2
- package/dist/swirl-description-list.entry.99d4c0ff.js +0 -15
- package/dist/swirl-dialog.entry.c9663309.js +0 -44
- package/dist/swirl-emoji-clap.entry.87f23b38.js +0 -17
- package/dist/swirl-emoji-happy.entry.7aeb6d82.js +0 -17
- package/dist/swirl-emoji-idea.entry.123432f1.js +0 -17
- package/dist/swirl-emoji-love.entry.4c71ba6b.js +0 -17
- package/dist/swirl-emoji-sad.entry.5351528d.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.7d49eb6d.js +0 -17
- package/dist/swirl-emoji.entry.93032442.js +0 -16
- package/dist/swirl-icon-ai-filled.entry.e5c4d4c9.js +0 -19
- package/dist/swirl-icon-check-strong_2.entry.656c8731.js +0 -32
- package/dist/swirl-icon-dot.entry.b4750c2c.js +0 -19
- package/dist/swirl-icon-menu-filled.entry.400a1d59.js +0 -19
- package/dist/swirl-symbol-bookmark.entry.9d795bb8.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.3765ce14.js +0 -17
- package/dist/swirl-symbol.entry.82c16141.js +0 -16
- package/dist/swirl-visually-hidden.entry.0d8fe266.js +0 -15
package/dist/{swirl-console-layout.entry.a63a7a65.js → swirl-console-layout.entry.175f50cf.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as c, c as n, h as e, H as r, g as b } from "./index.
|
|
1
|
+
import { r as c, c as n, h as e, H as r, g as b } from "./index.e064caaa.js";
|
|
2
2
|
import { c as h } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import { i } from "./utils-877a768f.c277f897.js";
|
|
4
4
|
import "react";
|
|
@@ -16,8 +16,8 @@ const f = `:host{display:block;width:100%;height:100vh}:host *{box-sizing:border
|
|
|
16
16
|
this.toggleSidebar();
|
|
17
17
|
}, this.onClick = (a) => {
|
|
18
18
|
var s;
|
|
19
|
-
const o = a.target,
|
|
20
|
-
!a.composedPath().includes(this.sidebarEl) && !
|
|
19
|
+
const o = a.target, l = Boolean(o.closest(".console-layout__mobile-navigation-button")), d = ((s = o.closest("[slot]")) == null ? void 0 : s.slot) === "overlays";
|
|
20
|
+
!a.composedPath().includes(this.sidebarEl) && !l && !d && this.sidebarActive && this.deactivateSidebar();
|
|
21
21
|
}, this.onKeyDown = (a) => {
|
|
22
22
|
a.code === "Escape" && this.sidebarActive && this.deactivateSidebar();
|
|
23
23
|
}, this.appName = void 0, this.backButonLabel = "Back", this.heading = void 0, this.helpButonLabel = "Help", this.hideNavigationButtonLabel = "Hide main navigation", this.logoText = "Admin", this.navigationLabel = "Main", this.maxContentWidth = void 0, this.showBackButton = void 0, this.showHelpButton = void 0, this.showNavigationButtonLabel = "Show main navigation", this.subheading = void 0, this.sidebarActive = void 0;
|
|
@@ -56,7 +56,7 @@ const f = `:host{display:block;width:100%;height:100vh}:host *{box-sizing:border
|
|
|
56
56
|
"console-layout--sidebar-active": this.sidebarActive,
|
|
57
57
|
"console-layout--empty-app-bar": !Boolean(this.appName) && !this.showHelpButton
|
|
58
58
|
});
|
|
59
|
-
return e(r, { key: "
|
|
59
|
+
return e(r, { key: "9eae3a95be22ea7aaf4e20341df8aa853825cff6" }, e("div", { key: "c2439333a98ff2c31a67163f162064c7f4b484a8", class: a, onClick: this.onClick, onKeyDown: this.onKeyDown }, e("header", { key: "0c5a275f17e499b6800b582454e9d30f006892a7", "aria-hidden": String(!this.sidebarActive), class: "console-layout__sidebar", ref: (o) => this.sidebarEl = o }, e("div", { key: "8217e531bda8f3231922c4c79b4827fd846132f6", class: "console-layout__header" }, e("div", { key: "bb1b2ff46f199f45d46dbb3cd11f5942effd40d2", class: "console-layout__logo" }, e("svg", { key: "85232e92114e98cceb292120d3031bf769ef41f9", class: "console-layout__logo-mark", fill: "none", height: "26", viewBox: "0 0 16 26", width: "16", xmlns: "http://www.w3.org/2000/svg" }, e("path", { key: "a5b1c28db029d8f5eeafcd8ca9ba108d60fe6d23", d: "M0.624238 14.0705C0.326496 13.5353 0.118077 12.9406 0.0287543 12.3161C-0.0307941 11.662 -0.0010199 11.0375 0.147851 10.4428C0.296722 9.84813 0.594464 9.25343 0.951754 8.77767C1.33882 8.27217 1.78543 7.85588 2.35114 7.55853L14.6181 0.362671C14.9159 0.8979 15.1243 1.4926 15.2136 2.11703C15.3029 2.74147 15.2434 3.3659 15.0945 3.99034C14.9456 4.58504 14.6479 5.17974 14.2906 5.6555C13.9035 6.16099 13.4569 6.57728 12.8912 6.87463L0.624238 14.0705Z", fill: "#145AF5" }), e("path", { key: "5369534901d1bd825f3dadbb1b0777cbc3038c58", d: "M3.69214 21.4743C3.3944 20.9391 3.18598 20.3444 3.09666 19.72C3.00733 19.0956 3.06688 18.4711 3.21575 17.8467C3.36462 17.252 3.66237 16.6573 4.01966 16.1815C4.40672 15.676 4.85333 15.2597 5.41904 14.9624L12.2076 10.9779C12.5053 11.5131 12.7137 12.1078 12.803 12.7323C12.8924 13.3567 12.8328 13.9811 12.6839 14.6056C12.5351 15.2003 12.2373 15.795 11.88 16.2707C11.493 16.7762 11.0464 17.1925 10.4807 17.4899L3.69214 21.4743Z", fill: "#145AF5" }), e("path", { key: "cb700811147a9e80c1b989e214f656ec3a71f341", d: "M3.69141 21.4739L7.77047 19.0951C8.39573 20.1953 8.5446 21.5036 8.24686 22.7228C7.91934 23.9419 7.14521 24.9826 6.04357 25.6368L3.69141 21.4739Z", fill: "#80A8F4" }), e("path", { key: "788e2f63db212f1cea1932f97cc45592ad35bff7", d: "M12.2072 10.9785L7.32419 10.1459L0.625 14.0709L5.38887 14.9629L12.2072 10.9785Z", fill: "#80A8F4" })), e("swirl-text", { key: "cc3432abedf3b5d5d4f64a50b9b6c5fbb79e7b8d", class: "console-layout__logo-text", weight: "medium" }, this.logoText))), e("nav", { key: "30656dbc948badce7c9c2fcd0c07c0c25cbd10c5", "aria-label": this.navigationLabel, class: "console-layout__navigation" }, e("slot", { key: "7f2cf3cdafd97528f4ebe7e501cb558e657b7b3c", name: "navigation" })), e("div", { key: "7e4de3ee5974d5db6c8ffe73b398178e6315c7ac", class: "console-layout__user" }, e("slot", { key: "ef6611b1d4fd1f7871bee6f8aa816429a3d59305", name: "user" }))), e("main", { key: "5ef5b41374886064a1096afa69821a0e2a2c65a8", "aria-labelledby": Boolean(this.appName) ? "app-name" : void 0, class: "console-layout__main" }, e("header", { key: "757777dcd0731014dcd7cd6b328ee4a0eb268af2", class: "console-layout__app-bar" }, e("span", { key: "85a212b35525e99ef43c22ed9d2c10f45cdd1448", class: "console-layout__mobile-navigation-button" }, e("swirl-button", { key: "c0e9d8bec6380e420316133cbe8fdbe7cb69dd7e", swirlAriaExpanded: String(this.sidebarActive), hideLabel: !0, icon: this.sidebarActive ? "<swirl-icon-close></swirl-icon-close>" : "<swirl-icon-menu></swirl-icon-menu>", label: this.sidebarActive ? this.hideNavigationButtonLabel : this.showNavigationButtonLabel, onClick: this.onMobileNavigationToggleClick })), e("div", { key: "776c5688dd5df6666069723090bb55a4eb25b4bf", class: "console-layout__app-name" }, this.appName && e("swirl-heading", { key: "c5097c74e1e9c7d25d41a0401ae57fef87380f8b", as: "h1", headingId: "app-name", level: 4, text: this.appName })), this.showHelpButton && e("swirl-button", { key: "6e97cecf6d158d16fb5b2cead14e0736c3276cb2", class: "console-layout__help-button", hideLabel: !0, icon: "<swirl-icon-help></swirl-icon-help>", label: this.helpButonLabel, onClick: this.onHelpButtonClick })), e("section", { key: "c2e81d97acec2fe6ab22b32f7347d56095028137", "aria-labelledby": "heading", class: "console-layout__content", style: t }, e("header", { key: "64ca8252b455e5e192577d66d74e443d0dd29b54", class: "console-layout__content-header" }, this.showBackButton && e("swirl-button", { key: "88b482a6ca62d18e16b6a595ebf7bc1a121f5edd", class: "console-layout__back-button", hideLabel: !0, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButonLabel, onClick: this.onBackButtonClick }), Boolean(this.heading) && e("div", { key: "fdf655d69778fd56858f3cc81fa7d4aff8fc296d", class: "console-layout__heading-container" }, e("swirl-heading", { key: "f223e7adc7c37f9edd595a424abeaa81cdef1b4b", as: Boolean(this.appName) ? "h2" : "h1", class: "console-layout__heading", headingId: "heading", level: 1, text: this.heading }), this.subheading && e("swirl-text", { key: "a4634f4e08e5e0059aa85161a1d62bfc1cca60fe", class: "console-layout__subheading", color: "subdued" }, this.subheading)), !Boolean(this.heading) && e("div", { key: "6efc46ef5ee44716c095a4ab67220ec93e467c17", class: "console-layout__heading-container" }, e("slot", { key: "b3dd442e78f2ed1ad9dc443d94b725a675c67c04", name: "heading" })), e("div", { key: "3ecc3f90eba6abd910779b7b7824e7e3976162c0", class: "console-layout__content-header-tools" }, e("slot", { key: "88a89549069fe0037819566a37f15be9c577450d", name: "content-header-tools" }))), e("div", { key: "6af01cc21666c89c474023596f3f2913a3798d29", class: "console-layout__integration" }, e("slot", { key: "8cde850848d0423876b8e059335a7c9081d33315", name: "content" }))), e("div", { key: "1c8d18fd34a993f6a4d0c0563053e2ea2284b966", class: "console-layout__overlays" }, e("slot", { key: "fca6923277da32bb48620b88952a6bddf54e76f3", name: "overlays" })))));
|
|
60
60
|
}
|
|
61
61
|
get el() {
|
|
62
62
|
return b(this);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as f, c as o, h as a, H as b, g as m } from "./index.
|
|
1
|
+
import { r as f, c as o, h as a, H as b, g as m } from "./index.e064caaa.js";
|
|
2
2
|
import { c as v } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
-
import { p as l, i as c, f as
|
|
3
|
+
import { p as l, i as c, f as r, m as k } from "./maska-c5119b9a.aa658697.js";
|
|
4
4
|
import { g as y, i as u } from "./utils-877a768f.c277f897.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
import "./_commonjsHelpers-d20b9603.2d9b8855.js";
|
|
8
|
-
const w = ".sc-swirl-date-input-h{display:flex;width:100%}.sc-swirl-date-input-h *.sc-swirl-date-input{box-sizing:border-box}.date-input.sc-swirl-date-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.date-input--inline.sc-swirl-date-input .date-input__date-picker-button.sc-swirl-date-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-input--inline.sc-swirl-date-input .date-input__date-picker-button.sc-swirl-date-input{top:0}}.date-input__input.sc-swirl-date-input{display:inline-flex;width:calc(100% - 1.25rem - var(--s-space-8));margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.date-input__input.sc-swirl-date-input:focus{outline:none}.date-input__input.sc-swirl-date-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-input__input.sc-swirl-date-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.date-input__date-picker-button.sc-swirl-date-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer}.date-input__date-picker-button.sc-swirl-date-input:focus:not(:focus-visible){outline:none}.date-input__date-picker-button.sc-swirl-date-input:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.date-input__date-picker-button.sc-swirl-date-input:disabled{color:var(--s-icon-disabled);cursor:default}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-input__date-picker-button.sc-swirl-date-input{top:-0.625rem}}@media (max-width: 767px){.date-input__date-picker-popover.sc-swirl-date-input{position:fixed}}", g = w,
|
|
8
|
+
const w = ".sc-swirl-date-input-h{display:flex;width:100%}.sc-swirl-date-input-h *.sc-swirl-date-input{box-sizing:border-box}.date-input.sc-swirl-date-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.date-input--inline.sc-swirl-date-input .date-input__date-picker-button.sc-swirl-date-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-input--inline.sc-swirl-date-input .date-input__date-picker-button.sc-swirl-date-input{top:0}}.date-input__input.sc-swirl-date-input{display:inline-flex;width:calc(100% - 1.25rem - var(--s-space-8));margin:0;padding:0;border:none;color:var(--s-text-default);background-color:transparent;font:inherit;font-size:var(--s-font-size-base);line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.date-input__input.sc-swirl-date-input:focus{outline:none}.date-input__input.sc-swirl-date-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-input__input.sc-swirl-date-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.date-input__date-picker-button.sc-swirl-date-input{position:absolute;top:calc(-1 * var(--s-space-12));right:0;display:inline-flex;margin:0;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer}.date-input__date-picker-button.sc-swirl-date-input:focus:not(:focus-visible){outline:none}.date-input__date-picker-button.sc-swirl-date-input:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.date-input__date-picker-button.sc-swirl-date-input:disabled{color:var(--s-icon-disabled);cursor:default}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-input__date-picker-button.sc-swirl-date-input{top:-0.625rem}}@media (max-width: 767px){.date-input__date-picker-popover.sc-swirl-date-input{position:fixed}}", g = w, d = "yyyy-MM-dd", _ = class {
|
|
9
9
|
constructor(t) {
|
|
10
10
|
f(this, t), this.invalidInput = o(this, "invalidInput", 7), this.valueChange = o(this, "valueChange", 7), this.desktopMediaQuery = y(), this.desktopMediaQueryHandler = (e) => {
|
|
11
11
|
this.updateIconSize(e.matches);
|
|
@@ -19,7 +19,7 @@ const w = ".sc-swirl-date-input-h{display:flex;width:100%}.sc-swirl-date-input-h
|
|
|
19
19
|
this.invalidInput.emit(i);
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
|
-
const h =
|
|
22
|
+
const h = r(s, d);
|
|
23
23
|
this.value = h;
|
|
24
24
|
}, this.onInput = (e) => {
|
|
25
25
|
this.onChange(e);
|
|
@@ -33,7 +33,7 @@ const w = ".sc-swirl-date-input-h{display:flex;width:100%}.sc-swirl-date-input-h
|
|
|
33
33
|
const i = this.pickerPopover.contains(e.relatedTarget);
|
|
34
34
|
this.setReadOnly(!i);
|
|
35
35
|
}, this.onPickDate = (e) => {
|
|
36
|
-
const i = e.detail, s =
|
|
36
|
+
const i = e.detail, s = r(i, d);
|
|
37
37
|
this.value = s, this.setReadOnly(!0), this.pickerPopover.close();
|
|
38
38
|
}, this.autoFocus = void 0, this.autoSelect = void 0, this.datePickerDisableDate = () => !1, this.datePickerLabel = "Date picker", this.datePickerTriggerLabel = "Open date picker", this.disabled = void 0, this.firstDayOfWeek = 0, this.format = "yyyy-MM-dd", this.inline = void 0, this.invalid = void 0, this.labels = void 0, this.locale = "en-US", this.placeholder = "yyyy-mm-dd", this.preferredInputMode = "input", this.required = void 0, this.swirlAriaDescribedby = void 0, this.value = void 0, this.iconSize = 24, this.readonly = !1;
|
|
39
39
|
}
|
|
@@ -75,10 +75,10 @@ const w = ".sc-swirl-date-input-h{display:flex;width:100%}.sc-swirl-date-input-h
|
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
const t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, e = Boolean(this.value) ? l(this.value,
|
|
78
|
+
const t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, e = Boolean(this.value) ? l(this.value, d, new Date()) : void 0, i = c(e) ? r(e, this.format) : void 0, s = v("date-input", {
|
|
79
79
|
"date-input--inline": this.inline
|
|
80
80
|
});
|
|
81
|
-
return a(b, { key: "
|
|
81
|
+
return a(b, { key: "8c8bf188577829729309ee11a4de95303f72fcfe" }, a("div", { key: "9c2593938d02edaa8139ecc0476a9b0b3f50c909", class: s }, a("input", { key: "89f21a6cfc56b79f5898d088117f175d81b5e055", "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid": t, autoFocus: this.autoFocus, class: "date-input__input", disabled: this.disabled, readonly: this.readonly, id: this.id, inputmode: "numeric", onClick: this.onClick, onMouseDown: this.onMouseDown, onFocus: this.onFocus, onBlur: this.onBlur, onInput: this.onInput, placeholder: this.placeholder, ref: (n) => this.inputEl = n, required: this.required, type: "text", value: i }), a("swirl-popover-trigger", { key: "0ce0f0b42b837a5ee839a03373dce8b604c85420", swirlPopover: `popover-${this.id}` }, a("button", { key: "01c8c8125a6941e800da12938f8b36abc4d095eb", "aria-label": this.datePickerTriggerLabel, class: "date-input__date-picker-button", disabled: this.disabled, type: "button" }, a("swirl-icon-today", { key: "395679e33fecef4d7a949b80e8e5f345b4cdedef", size: this.iconSize })))), !this.disabled && a("swirl-popover", { key: "c939e2811538e1e3e9ca74e9159a282fa06449ca", animation: "scale-in-y", class: "date-input__date-picker-popover", id: `popover-${this.id}`, label: this.datePickerLabel, placement: "bottom-end", ref: (n) => this.pickerPopover = n }, a("swirl-date-picker", { key: "73375240299d16518e12ee97eeeafeda6946bb1b", disableDate: this.datePickerDisableDate, firstDayOfWeek: this.firstDayOfWeek, labels: this.labels, locale: this.locale, onValueChange: this.onPickDate, value: e, startDate: e })));
|
|
82
82
|
}
|
|
83
83
|
get el() {
|
|
84
84
|
return m(this);
|
package/dist/{swirl-date-picker_2.entry.452995bb.js → swirl-date-picker_2.entry.d542562a.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as s, c as n, h as a, H as c, g as d, F as i } from "./index.
|
|
1
|
+
import { r as s, c as n, h as a, H as c, g as d, F as i } from "./index.e064caaa.js";
|
|
2
2
|
import { r as o, j as l } from "./utils-877a768f.c277f897.js";
|
|
3
3
|
import { c as p } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
6
6
|
const h = `:host{display:block}:host *{box-sizing:border-box}.date-picker{padding:var(--s-space-8) var(--s-space-16);background-color:var(--s-surface-overlay-default);font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm);letter-spacing:var(--s-letter-spacing-tighter)}@media (min-width: 768px){.date-picker{max-width:17.5rem}}.date-picker__header{display:flex;margin-bottom:var(--s-space-8);align-items:center}.date-picker__current-month{display:flex;padding:var(--s-space-8);flex-grow:1;align-items:center;order:1;gap:var(--s-space-4)}.date-picker__next-month-button,.date-picker__previous-month-button{position:relative;display:inline-flex;width:2.5rem;height:2.5rem;margin:0;padding:0;flex-shrink:0;justify-content:center;align-items:center;border:none;border-radius:50%;color:var(--s-icon-highlight);background-color:transparent;cursor:pointer}.date-picker__next-month-button:after,.date-picker__previous-month-button:after{position:absolute;background-color:currentColor;content:"";inset:0;-webkit-mask-position:center center;mask-position:center center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.date-picker__next-month-button:hover,.date-picker__previous-month-button:hover{background-color:var(--s-surface-overlay-hovered)}.date-picker__next-month-button:focus:not(:focus-visible),.date-picker__previous-month-button:focus:not(:focus-visible){outline:none}.date-picker__next-month-button:focus-visible,.date-picker__previous-month-button:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.date-picker__next-month-button>svg,.date-picker__previous-month-button>svg{display:none}.date-picker__next-month-button{order:3}.date-picker__next-month-button:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59999 17.4C8.38333 17.1834 8.27499 16.9167 8.27499 16.6C8.27499 16.2834 8.38333 16.0167 8.59999 15.8L12.4 12L8.59999 8.20002C8.38333 7.98336 8.27499 7.71669 8.27499 7.40002C8.27499 7.08336 8.38333 6.81669 8.59999 6.60002C8.81666 6.38336 9.08333 6.27502 9.39999 6.27502C9.71666 6.27502 9.98333 6.38336 10.2 6.60002L14.8 11.2C14.9167 11.3167 15 11.4417 15.05 11.575C15.1 11.7084 15.125 11.85 15.125 12C15.125 12.15 15.1 12.2917 15.05 12.425C15 12.5584 14.9167 12.6834 14.8 12.8L10.2 17.4C9.98333 17.6167 9.71666 17.725 9.39999 17.725C9.08333 17.725 8.81666 17.6167 8.59999 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.59999 17.4C8.38333 17.1834 8.27499 16.9167 8.27499 16.6C8.27499 16.2834 8.38333 16.0167 8.59999 15.8L12.4 12L8.59999 8.20002C8.38333 7.98336 8.27499 7.71669 8.27499 7.40002C8.27499 7.08336 8.38333 6.81669 8.59999 6.60002C8.81666 6.38336 9.08333 6.27502 9.39999 6.27502C9.71666 6.27502 9.98333 6.38336 10.2 6.60002L14.8 11.2C14.9167 11.3167 15 11.4417 15.05 11.575C15.1 11.7084 15.125 11.85 15.125 12C15.125 12.15 15.1 12.2917 15.05 12.425C15 12.5584 14.9167 12.6834 14.8 12.8L10.2 17.4C9.98333 17.6167 9.71666 17.725 9.39999 17.725C9.08333 17.725 8.81666 17.6167 8.59999 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E")}.date-picker__previous-month-button{order:2}.date-picker__previous-month-button:after{-webkit-mask-image:url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.4L8.59999 12.8C8.48333 12.6834 8.39999 12.5584 8.34999 12.425C8.29999 12.2917 8.27499 12.15 8.27499 12C8.27499 11.85 8.29999 11.7084 8.34999 11.575C8.39999 11.4417 8.48333 11.3167 8.59999 11.2L13.2 6.60002C13.4167 6.38336 13.6833 6.27502 14 6.27502C14.3167 6.27502 14.5833 6.38336 14.8 6.60002C15.0167 6.81669 15.125 7.08336 15.125 7.40002C15.125 7.71669 15.0167 7.98336 14.8 8.20002L11 12L14.8 15.8C15.0167 16.0167 15.125 16.2834 15.125 16.6C15.125 16.9167 15.0167 17.1834 14.8 17.4C14.5833 17.6167 14.3167 17.725 14 17.725C13.6833 17.725 13.4167 17.6167 13.2 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg class='swirl-icon swirl-icon--size-24' fill='none' height='24' part='icon' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.2 17.4L8.59999 12.8C8.48333 12.6834 8.39999 12.5584 8.34999 12.425C8.29999 12.2917 8.27499 12.15 8.27499 12C8.27499 11.85 8.29999 11.7084 8.34999 11.575C8.39999 11.4417 8.48333 11.3167 8.59999 11.2L13.2 6.60002C13.4167 6.38336 13.6833 6.27502 14 6.27502C14.3167 6.27502 14.5833 6.38336 14.8 6.60002C15.0167 6.81669 15.125 7.08336 15.125 7.40002C15.125 7.71669 15.0167 7.98336 14.8 8.20002L11 12L14.8 15.8C15.0167 16.0167 15.125 16.2834 15.125 16.6C15.125 16.9167 15.0167 17.1834 14.8 17.4C14.5833 17.6167 14.3167 17.725 14 17.725C13.6833 17.725 13.4167 17.6167 13.2 17.4Z' fill='currentColor'%3E%3C/path%3E%3C/svg%3E")}.date-picker__month-select,.date-picker__year-select{margin:0;padding:0;border:none;background-color:var(--s-surface-overlay-default);font:inherit;font-size:var(--s-font-size-base);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);text-align:left;cursor:pointer}.date-picker__month-select:focus:not(:focus-visible),.date-picker__year-select:focus:not(:focus-visible){outline:none}.date-picker__month-select:focus-visible,.date-picker__year-select:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.date-picker__month-select,.date-picker__year-select{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.date-picker__month-select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.date-picker__year-select{max-width:4rem}.date-picker__calendar{display:block;width:100%}.date-picker__calendar tbody{display:block}.date-picker__calendar-header{display:block}.date-picker__weekday-row,.date-picker__calendar-row{display:flex}.date-picker__weekday-row{margin-bottom:var(--s-space-8)}.date-picker__weekday{display:inline-flex;min-width:2.25rem;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;color:var(--s-text-subdued);font-weight:var(--s-font-weight-regular);aspect-ratio:1}.date-picker__date{position:relative;z-index:1;display:inline-flex;min-width:2.25rem;flex-basis:calc(100 / 7 * 1%);justify-content:center;align-items:center;font-weight:var(--s-font-weight-medium);cursor:pointer;aspect-ratio:1}.date-picker__date:before{position:absolute;z-index:-1;border-radius:50%;background-color:transparent;content:"";inset:0}.date-picker__date:hover:before{background-color:var(--s-surface-overlay-hovered)}.date-picker__date--current:before{background-color:var(--s-surface-overlay-hovered)}.date-picker__date--current:focus:not(:focus-visible){outline:none}.date-picker__date--current:focus-visible{outline-color:var(--s-focus-default);outline-offset:var(--s-space-2)}.date-picker__date--overflowing{color:var(--s-text-subdued)}.date-picker__date--selected{color:var(--s-text-on-action-primary)}.date-picker__date--selected:before{background-color:var(--s-action-primary-default)}.date-picker__date--selected:hover{color:var(--s-text-on-action-primary)}.date-picker__date--selected:hover:before{background-color:var(--s-action-primary-hovered)}.date-picker__date--selected>strong{font-weight:var(--s-font-weight-medium)}.date-picker__date--in-range:not(.date-picker__date--selected):after{position:absolute;border-radius:0px;background-color:var(--s-action-primary-default);content:"";opacity:0.2;inset:0.0625rem 0px}.date-picker__date--start:not(.date-picker__date--end){color:var(--s-text-on-action-primary)}.date-picker__date--start:not(.date-picker__date--end):before{background-color:var(--s-action-primary-default)}.date-picker__date--start:not(.date-picker__date--end):after{position:absolute;z-index:-1;border-radius:0;background-color:var(--s-action-primary-default);content:"";opacity:0.2;inset:0.0625rem 0 0.0625rem 50%}.date-picker__date--end:not(.date-picker__date--start){color:var(--s-text-on-action-primary)}.date-picker__date--end:not(.date-picker__date--start):before{background-color:var(--s-action-primary-default)}.date-picker__date--end:not(.date-picker__date--start):after{position:absolute;z-index:-1;border-radius:0;background-color:var(--s-action-primary-default);content:"";opacity:0.2;inset:0.0625rem 50% 0.0625rem 0}.date-picker__date--today:before{box-shadow:inset 0 0 0 var(--s-border-width-default)
|
|
7
|
-
var(--s-border-highlight)}.date-picker__date--today>em{font-style:normal}.date-picker__date--disabled{color:var(--s-text-disabled);cursor:default;pointer-events:none}.date-picker__date--disabled:before{background-color:transparent}.date-picker__date--disabled:hover{color:var(--s-text-disabled)}.date-picker__date--disabled:hover:before{background-color:transparent}`,
|
|
7
|
+
var(--s-border-highlight)}.date-picker__date--today>em{font-style:normal}.date-picker__date--disabled{color:var(--s-text-disabled);cursor:default;pointer-events:none}.date-picker__date--disabled:before{background-color:transparent}.date-picker__date--disabled:hover{color:var(--s-text-disabled)}.date-picker__date--disabled:hover:before{background-color:transparent}`, C = h, f = class {
|
|
8
8
|
constructor(e) {
|
|
9
9
|
s(this, e), this.valueChange = n(this, "valueChange", 3), this.onClick = (t) => {
|
|
10
10
|
t.stopPropagation(), t.preventDefault();
|
|
@@ -21,13 +21,13 @@ const h = `:host{display:block}:host *{box-sizing:border-box}.date-picker{paddin
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const e = this.startDate instanceof Date ? l(this.startDate) : void 0;
|
|
24
|
-
return a(c, { key: "
|
|
24
|
+
return a(c, { key: "1308d168101e84afb51948b884bd3d3f7f3f7322", onClick: this.onClick }, a("wc-datepicker", { key: "b3e0237ce70711cd55b0a7b037be042dd150f247", elementClassName: "date-picker", disableDate: this.disableDate, firstDayOfWeek: this.firstDayOfWeek, labels: this.labels, locale: this.locale, onSelectDate: this.onSelectDate, range: this.range, startDate: e, value: this.value }));
|
|
25
25
|
}
|
|
26
26
|
get el() {
|
|
27
27
|
return d(this);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
|
|
30
|
+
f.style = C;
|
|
31
31
|
const u = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{max-width:100%;max-height:100%}", _ = u, k = class {
|
|
32
32
|
constructor(e) {
|
|
33
33
|
s(this, e), this.color = void 0, this.size = 24;
|
|
@@ -36,11 +36,11 @@ const u = ":host{display:inline-flex;max-width:100%;max-height:100%}.swirl-icon{
|
|
|
36
36
|
const e = this.size === 20 ? 24 : this.size, t = {
|
|
37
37
|
color: Boolean(this.color) ? `var(--s-icon-${this.color})` : void 0
|
|
38
38
|
}, r = p("swirl-icon", `swirl-icon--size-${this.size}`);
|
|
39
|
-
return a("svg", { key: "
|
|
39
|
+
return a("svg", { key: "61ccb175d4f28022a7ac92c003e8a864b8d3abf6", "aria-hidden": "true", class: r, fill: "none", height: this.size, part: "icon", style: t, viewBox: `0 0 ${e} ${e}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && a(i, { key: "00026c8e34ea080be6404697bdc78126650d13db" }, a("path", { key: "9ae66270279e7d97e52eabc881cf581c266c7b46", d: "M6 10.9999C5.53333 10.9999 5.13889 10.8388 4.81667 10.5166C4.49444 10.1944 4.33333 9.79992 4.33333 9.33325C4.33333 8.86658 4.49444 8.47214 4.81667 8.14992C5.13889 7.8277 5.53333 7.66658 6 7.66658C6.46667 7.66658 6.86111 7.8277 7.18333 8.14992C7.50556 8.47214 7.66667 8.86658 7.66667 9.33325C7.66667 9.79992 7.50556 10.1944 7.18333 10.5166C6.86111 10.8388 6.46667 10.9999 6 10.9999ZM3.33333 14.6666C2.96667 14.6666 2.65267 14.5361 2.39133 14.2753C2.13044 14.0139 2 13.6999 2 13.3333V3.99992C2 3.63325 2.13044 3.31947 2.39133 3.05859C2.65267 2.79725 2.96667 2.66659 3.33333 2.66659H4V1.99992C4 1.81103 4.06378 1.65259 4.19133 1.52459C4.31933 1.39703 4.47778 1.33325 4.66667 1.33325C4.85556 1.33325 5.014 1.39703 5.142 1.52459C5.26956 1.65259 5.33333 1.81103 5.33333 1.99992V2.66659H10.6667V1.99992C10.6667 1.81103 10.7307 1.65259 10.8587 1.52459C10.9862 1.39703 11.1444 1.33325 11.3333 1.33325C11.5222 1.33325 11.6804 1.39703 11.808 1.52459C11.936 1.65259 12 1.81103 12 1.99992V2.66659H12.6667C13.0333 2.66659 13.3473 2.79725 13.6087 3.05859C13.8696 3.31947 14 3.63325 14 3.99992V13.3333C14 13.6999 13.8696 14.0139 13.6087 14.2753C13.3473 14.5361 13.0333 14.6666 12.6667 14.6666H3.33333ZM3.33333 13.3333H12.6667V6.66658H3.33333V13.3333ZM3.33333 5.33325H12.6667V3.99992H3.33333V5.33325Z", fill: "currentColor" })), (this.size === 20 || this.size === 24) && a(i, { key: "d5e0d823eee57677a6da4e6e2a19d9ddfdf88575" }, a("path", { key: "80f5b67e1a880eb4dba97b3b9426290ae4049f7c", d: "M9 16.5C8.3 16.5 7.70833 16.2583 7.225 15.775C6.74167 15.2917 6.5 14.7 6.5 14C6.5 13.3 6.74167 12.7083 7.225 12.225C7.70833 11.7417 8.3 11.5 9 11.5C9.7 11.5 10.2917 11.7417 10.775 12.225C11.2583 12.7083 11.5 13.3 11.5 14C11.5 14.7 11.2583 15.2917 10.775 15.775C10.2917 16.2583 9.7 16.5 9 16.5ZM5 22C4.45 22 3.979 21.8043 3.587 21.413C3.19567 21.021 3 20.55 3 20V6C3 5.45 3.19567 4.97933 3.587 4.588C3.979 4.196 4.45 4 5 4H6V3C6 2.71667 6.09567 2.479 6.287 2.287C6.479 2.09567 6.71667 2 7 2C7.28333 2 7.521 2.09567 7.713 2.287C7.90433 2.479 8 2.71667 8 3V4H16V3C16 2.71667 16.096 2.479 16.288 2.287C16.4793 2.09567 16.7167 2 17 2C17.2833 2 17.5207 2.09567 17.712 2.287C17.904 2.479 18 2.71667 18 3V4H19C19.55 4 20.021 4.196 20.413 4.588C20.8043 4.97933 21 5.45 21 6V20C21 20.55 20.8043 21.021 20.413 21.413C20.021 21.8043 19.55 22 19 22H5ZM5 20H19V10H5V20ZM5 8H19V6H5V8Z", fill: "currentColor" })), this.size === 28 && a(i, { key: "b93f367036751ed04ce039316a52ac7f103049d1" }, a("path", { key: "ee2865611f7cae9301b9e32b4ac185de85122a2c", d: "M10.5 19.2499C9.68333 19.2499 8.99306 18.968 8.42917 18.4041C7.86528 17.8402 7.58333 17.1499 7.58333 16.3333C7.58333 15.5166 7.86528 14.8263 8.42917 14.2624C8.99306 13.6985 9.68333 13.4166 10.5 13.4166C11.3167 13.4166 12.0069 13.6985 12.5708 14.2624C13.1347 14.8263 13.4167 15.5166 13.4167 16.3333C13.4167 17.1499 13.1347 17.8402 12.5708 18.4041C12.0069 18.968 11.3167 19.2499 10.5 19.2499ZM5.83333 25.6666C5.19167 25.6666 4.64217 25.4383 4.18483 24.9818C3.72828 24.5244 3.5 23.9749 3.5 23.3333V6.99992C3.5 6.35825 3.72828 5.80914 4.18483 5.35259C4.64217 4.89525 5.19167 4.66659 5.83333 4.66659H7V3.49992C7 3.16936 7.11161 2.89209 7.33483 2.66809C7.55883 2.44486 7.83611 2.33325 8.16667 2.33325C8.49722 2.33325 8.7745 2.44486 8.9985 2.66809C9.22172 2.89209 9.33333 3.16936 9.33333 3.49992V4.66659H18.6667V3.49992C18.6667 3.16936 18.7787 2.89209 19.0027 2.66809C19.2259 2.44486 19.5028 2.33325 19.8333 2.33325C20.1639 2.33325 20.4408 2.44486 20.664 2.66809C20.888 2.89209 21 3.16936 21 3.49992V4.66659H22.1667C22.8083 4.66659 23.3578 4.89525 23.8152 5.35259C24.2717 5.80914 24.5 6.35825 24.5 6.99992V23.3333C24.5 23.9749 24.2717 24.5244 23.8152 24.9818C23.3578 25.4383 22.8083 25.6666 22.1667 25.6666H5.83333ZM5.83333 23.3333H22.1667V11.6666H5.83333V23.3333ZM5.83333 9.33325H22.1667V6.99992H5.83333V9.33325Z", fill: "currentColor" })));
|
|
40
40
|
}
|
|
41
41
|
};
|
|
42
42
|
k.style = _;
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
f as swirl_date_picker,
|
|
45
45
|
k as swirl_icon_today
|
|
46
46
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as o, h as i, H as a, g as
|
|
2
|
-
import { c as
|
|
1
|
+
import { r as o, h as i, H as a, g as d } from "./index.e064caaa.js";
|
|
2
|
+
import { c as n } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
const r = ":host{display:block}:host *{box-sizing:border-box}.description-list-item__inner{display:flex;max-width:100%;padding-top:var(--s-space-8);padding-bottom:var(--s-space-8);align-items:flex-start;color:var(--s-text-default);line-height:var(--s-line-height-base);justify-content:space-between;gap:var(--s-space-16)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.description-list-item__inner{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.description-list-item--bordered{padding-top:var(--s-space-16);padding-bottom:var(--s-space-16);border-bottom:var(--s-border-width-default) solid var(--s-border-default)}.description-list-item:not(.description-list-item--has-tools) .description-list-item__tools{display:none}.description-list-item:not(.description-list-item--has-additional-content) .description-list-item__additional-content{display:none}.description-list-item__text-container{flex-grow:1}.description-list-item__term{display:block;margin-bottom:var(--s-space-4);font-weight:var(--s-font-weight-semibold);overflow-wrap:break-word}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.description-list-item__term{margin-bottom:var(--s-space-2)}}.description-list-item__tooltip{display:inline-flex;margin-left:var(--s-space-4);vertical-align:middle}.description-list-item__description{display:block;max-width:40rem;margin:0;overflow-wrap:break-word}.description-list-item__tools{display:flex;min-height:2.625rem;flex-shrink:0;align-items:center}.description-list-item__additional-content{padding-bottom:var(--s-space-8);flex-basis:100%;flex-shrink:0}", l = r, c = class {
|
|
@@ -7,15 +7,15 @@ const r = ":host{display:block}:host *{box-sizing:border-box}.description-list-i
|
|
|
7
7
|
o(this, t), this.bordered = !0, this.maxWidth = void 0, this.term = void 0, this.tooltip = void 0;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
const t = Boolean(this.el.querySelector('[slot="tools"]')), e = Boolean(this.el.querySelector('[slot="additional-content"]')), s =
|
|
10
|
+
const t = Boolean(this.el.querySelector('[slot="tools"]')), e = Boolean(this.el.querySelector('[slot="additional-content"]')), s = n("description-list-item", {
|
|
11
11
|
"description-list-item--bordered": this.bordered,
|
|
12
12
|
"description-list-item--has-additional-content": e,
|
|
13
13
|
"description-list-item--has-tools": t
|
|
14
14
|
});
|
|
15
|
-
return i(a, { key: "
|
|
15
|
+
return i(a, { key: "24880ec932f85f8bab070358ae74e878204143fc", role: "listitem" }, i("div", { key: "9a78a10403d03af454a390a51c16995e2344e7d7", class: s, part: "description-list-item", role: "group" }, i("div", { key: "7f292225fe34a0fac3c35b43e8273d4971444f28", class: "description-list-item__inner" }, i("div", { key: "864991f1dd047f7d9b4144e69471bd30b89382fa", class: "description-list-item__text-container" }, i("div", { key: "3d8c04ef6093c9991451b2b9ec4e9c581c54adbb", class: "description-list-item__term", part: "description-list-item__term", role: "term" }, this.term, this.tooltip && i("span", { key: "ac9ea268e5eda1b38197d1bb751fed2bad808aec", class: "description-list-item__tooltip" }, i("swirl-tooltip", { key: "3f74b2c7f2a0a717b1e55c520b8d11f9c38ce45c", content: this.tooltip, position: "right" }, i("swirl-icon-info", { key: "3e84e0f69502f70ebf0a291ee64f431504965f5e", size: 16, tabIndex: 0 })))), i("div", { key: "d97314eb88bccdf407b57a57f684dbe6a841a948", style: { maxWidth: this.maxWidth }, class: "description-list-item__description", role: "definition" }, i("slot", { key: "584f7856d02da64e26b8b797765b981ba9201429" }))), i("div", { key: "d825fd7c81cd524270c9aef203545a0ee96c0ce7", class: "description-list-item__tools" }, i("slot", { key: "040c4051e05ef3fe5dbfb0cd37bb1d53c2aaec42", name: "tools" }))), i("div", { key: "2484790fd02dcba4804912fb5c0fee859126a61a", class: "description-list-item__additional-content" }, i("slot", { key: "eed20e643f70742967513d9690049b6de819489c", name: "additional-content" }))));
|
|
16
16
|
}
|
|
17
17
|
get el() {
|
|
18
|
-
return
|
|
18
|
+
return d(this);
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
c.style = l;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { r as t, h as i, H as e } from "./index.e064caaa.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const r = ":host{display:block;container-type:inline-size;container-name:description-list}:host *{box-sizing:border-box}.description-list{display:block;max-width:100%;margin:0}", o = r, c = class {
|
|
5
|
+
constructor(s) {
|
|
6
|
+
t(this, s);
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return i(e, { key: "4b78ebb93142286f1ef92e9d10c983b2d502b7da" }, i("div", { key: "027a87f126bfba1c115bada780930ebc4b8fe75d", class: "description-list", role: "list" }, i("slot", { key: "8a339cb49294c12d1aade958869d83d44b61c4cb" })));
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
c.style = o;
|
|
13
|
+
export {
|
|
14
|
+
c as swirl_description_list
|
|
15
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { r as d, c as o, h as i, H as s, g as n } from "./index.e064caaa.js";
|
|
2
|
+
import { A as l } from "./a11y-dialog.esm-d7a94c8c.bd6ae411.js";
|
|
3
|
+
import { c as r } from "./index-267776a4.6beb4f4b.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
const c = ':host{display:block}:host *{box-sizing:border-box}.dialog{--swirl-ghost-button-background-default:var(--s-surface-overlay-default);--swirl-ghost-button-background-hovered:var(--s-surface-overlay-hovered);--swirl-ghost-button-background-pressed:var(--s-surface-overlay-pressed);position:fixed;z-index:var(--s-z-40);display:flex;justify-content:center;align-items:center;inset:0}.dialog[aria-hidden="true"]{display:none}.dialog:not(.dialog--closing) .dialog__backdrop{animation:0.15s dialog-backdrop-fade-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__backdrop{animation:none}}.dialog:not(.dialog--closing) .dialog__body{animation:0.15s dialog-scale-in}@media (prefers-reduced-motion){.dialog:not(.dialog--closing) .dialog__body{animation:none}}.dialog--closing{animation:0.15s dialog-fade-out;animation-fill-mode:forwards}@media (prefers-reduced-motion){.dialog--closing{animation:none}}.dialog__backdrop{position:fixed;background-color:rgba(0, 0, 0, 0.2);inset:0}.dialog__body{z-index:var(--s-z-40);overflow-x:hidden;overflow-y:auto;width:18.5rem;max-height:90vh;padding-top:var(--s-space-24);padding-right:var(--s-space-16);padding-bottom:var(--s-space-16);padding-left:var(--s-space-16);border-radius:var(--s-border-radius-l);background-color:var(--s-surface-overlay-default);text-align:center;box-shadow:var(--s-shadow-level-3)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.dialog__body{width:25rem;border-radius:var(--s-border-radius-base)}}@media (min-width: 992px){.dialog__body{text-align:start}}.dialog__heading{margin:0;margin-bottom:var(--s-space-8);padding-right:var(--s-space-8);padding-left:var(--s-space-8);font-size:var(--s-font-size-lg);font-weight:var(--s-font-weight-semibold);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.dialog__heading{line-height:var(--s-line-height-base)}}.dialog__content{margin-bottom:var(--s-space-20);padding-right:var(--s-space-8);padding-left:var(--s-space-8);line-height:var(--s-line-height-base)}.dialog__content ::slotted(*){margin:0}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.dialog__content{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}@media (min-width: 992px){.dialog__content{margin-bottom:var(--s-space-24)}}.dialog__controls{display:flex;flex-wrap:wrap;justify-content:stretch;gap:var(--s-space-8)}.dialog__controls>*{flex-grow:1}@media (min-width: 992px){.dialog__controls>*{flex-grow:0}}@media (min-width: 992px){.dialog__controls{flex-wrap:nowrap;justify-content:flex-end}}.dialog__left_controls{display:flex;align-items:center;flex-grow:1;padding-left:var(--s-space-8);width:100%;min-width:0}@media (min-width: 992px){.dialog__left_controls{width:auto}}@keyframes dialog-scale-in{from{transform:scale(0)}to{transform:scale(1)}}@keyframes dialog-backdrop-fade-in{from{opacity:0}to{opacity:1}}@keyframes dialog-fade-out{from{opacity:1}to{opacity:0}}', g = c, h = class {
|
|
7
|
+
constructor(a) {
|
|
8
|
+
d(this, a), this.dialogClose = o(this, "dialogClose", 7), this.dialogOpen = o(this, "dialogOpen", 7), this.primaryAction = o(this, "primaryAction", 7), this.secondaryAction = o(this, "secondaryAction", 7), this.onKeyDown = (e) => {
|
|
9
|
+
e.code === "Escape" && (e.stopImmediatePropagation(), this.close());
|
|
10
|
+
}, this.onBackdropClick = () => {
|
|
11
|
+
this.close();
|
|
12
|
+
}, this.onPrimaryAction = (e) => {
|
|
13
|
+
this.primaryAction.emit(e), this.close();
|
|
14
|
+
}, this.onSecondaryAction = (e) => {
|
|
15
|
+
this.secondaryAction.emit(e), this.close();
|
|
16
|
+
}, this.hideLabel = void 0, this.intent = "primary", this.label = void 0, this.primaryActionLabel = void 0, this.secondaryActionLabel = void 0, this.closing = !1;
|
|
17
|
+
}
|
|
18
|
+
componentDidLoad() {
|
|
19
|
+
this.dialog = new l(this.dialogEl), this.dialog.on("show", () => {
|
|
20
|
+
var a;
|
|
21
|
+
(a = this.controlsContainerEl.querySelector("swirl-button button")) == null || a.focus();
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
var a;
|
|
26
|
+
(a = this.dialog) == null || a.destroy();
|
|
27
|
+
}
|
|
28
|
+
async open() {
|
|
29
|
+
this.dialog.show(), this.dialogOpen.emit();
|
|
30
|
+
}
|
|
31
|
+
async close() {
|
|
32
|
+
this.closing || (this.closing = !0, setTimeout(() => {
|
|
33
|
+
this.dialog.hide(), this.dialogClose.emit(), this.closing = !1;
|
|
34
|
+
}, 150));
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
const a = r("dialog", { "dialog--closing": this.closing }), e = Boolean(this.el.querySelector('[slot="left-controls"]'));
|
|
38
|
+
return i(s, { key: "28c9ab3143ae5d89b412ce3b454ec4f33b784555" }, i("div", { key: "ddbc29e88279d1af1eb6f7643da359956ac60213", "aria-describedby": "content", "aria-hidden": "true", "aria-labelledby": this.hideLabel ? void 0 : "label", "aria-label": this.hideLabel ? this.label : void 0, "aria-modal": "true", class: a, onKeyDown: this.onKeyDown, ref: (t) => this.dialogEl = t, role: "alertdialog" }, i("div", { key: "82b52ce661d86bacec6b6876c1754ad4bdd851c3", class: "dialog__backdrop", onClick: this.onBackdropClick }), i("div", { key: "a8eaad88e1ead3803d0899fe1b4e59c7addca478", class: "dialog__body", part: "dialog__body", role: "document" }, !this.hideLabel && i("h2", { key: "32dc2e42e48027b0f3358512074e86cfbed4de01", class: "dialog__heading", part: "dialog__heading", id: "label" }, this.label), i("div", { key: "72df5ba9ac77e7e18c0452faa87301d0e02dd19f", class: "dialog__content", part: "dialog__content", id: "content" }, i("slot", { key: "b6de1f09ad34130808f728bab33becf401e62712" })), i("div", { key: "e38094098bcfc56e16ac5479378055419938638e", class: "dialog__controls", ref: (t) => this.controlsContainerEl = t }, e && i("div", { key: "aca3d7fc6972ce8def114e6eca3d2be4a2164c3b", class: "dialog__left_controls" }, i("slot", { key: "5d492b98348889a6cb3d14f136ff7f250001e44b", name: "left-controls" })), this.secondaryActionLabel && i("swirl-button", { key: "e952115137e9624b9687dc04ced686bc304bc452", label: this.secondaryActionLabel, onClick: this.onSecondaryAction }), this.primaryActionLabel && i("swirl-button", { key: "a283862cd82238c7e0f91676816c10612b40884a", intent: this.intent, label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))));
|
|
39
|
+
}
|
|
40
|
+
get el() {
|
|
41
|
+
return n(this);
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
h.style = g;
|
|
45
|
+
export {
|
|
46
|
+
h as swirl_dialog
|
|
47
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as i, h as e, F as a } from "./index.e064caaa.js";
|
|
2
|
+
import { c as t } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const l = ":host{display:inline-flex}", c = l, h = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
i(this, s), this.label = "", this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = t("emoji", `emoji--size-${this.size}`);
|
|
11
|
+
return e(a, { key: "55946d457c6b90f68070700d8d838aaec9285513" }, this.size === 16 && e("img", { key: "3d796699a16e2429faca254e59feed6efc055392", alt: this.label, class: s, height: "16", src: "emojis/Clap16.png", width: "16" }), this.size === 20 && e("img", { key: "dc7c386da99f56cb9986510b290adec32be7667d", alt: this.label, class: s, height: "20", src: "emojis/Clap20.png", width: "20" }), this.size === 24 && e("img", { key: "6e0560137146a842a608504c17ec35c03a0e1950", alt: this.label, class: s, height: "24", src: "emojis/Clap24.png", width: "24" }), this.size === 32 && e("img", { key: "283966368fe8a330e2a61d4f4b2c3dd8fb29ee21", alt: this.label, class: s, height: "32", src: "emojis/Clap32.png", width: "32" }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
h.style = c;
|
|
15
|
+
export {
|
|
16
|
+
h as swirl_emoji_clap
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as i, h as e, F as a } from "./index.e064caaa.js";
|
|
2
|
+
import { c as t } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const c = ":host{display:inline-flex}", l = c, b = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
i(this, s), this.label = "", this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = t("emoji", `emoji--size-${this.size}`);
|
|
11
|
+
return e(a, { key: "6575e541c858c25499eb3da24f58c2ae8c92d5be" }, this.size === 16 && e("img", { key: "bbb3f35cbf4d6fc370ca03e24699a37aa5bfbe0e", alt: this.label, class: s, height: "16", src: "emojis/Happy16.png", width: "16" }), this.size === 20 && e("img", { key: "c87db071ba761f502fc87af468b131e8d5072902", alt: this.label, class: s, height: "20", src: "emojis/Happy20.png", width: "20" }), this.size === 24 && e("img", { key: "42b0c96ba35f6ebcef3bef3391af9ddbb20ff14b", alt: this.label, class: s, height: "24", src: "emojis/Happy24.png", width: "24" }), this.size === 32 && e("img", { key: "d010607a5e3bb73641dbb1345c9a7a10e6698288", alt: this.label, class: s, height: "32", src: "emojis/Happy32.png", width: "32" }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
b.style = l;
|
|
15
|
+
export {
|
|
16
|
+
b as swirl_emoji_happy
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as i, h as s, F as a } from "./index.e064caaa.js";
|
|
2
|
+
import { c as t } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const l = ":host{display:inline-flex}", c = l, h = class {
|
|
6
|
+
constructor(e) {
|
|
7
|
+
i(this, e), this.label = "", this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const e = t("emoji", `emoji--size-${this.size}`);
|
|
11
|
+
return s(a, { key: "d76d88b7adcf216b21ab9e5f85d24e1c2230d1a5" }, this.size === 16 && s("img", { key: "368856c7039321bd2426126b32a54325d8574164", alt: this.label, class: e, height: "16", src: "emojis/Idea16.png", width: "16" }), this.size === 20 && s("img", { key: "5a611f1be2feeb89872584a71fb73ef7c69da42b", alt: this.label, class: e, height: "20", src: "emojis/Idea20.png", width: "20" }), this.size === 24 && s("img", { key: "b5a9d9986e471c88b1889e80a19765e83d1fc483", alt: this.label, class: e, height: "24", src: "emojis/Idea24.png", width: "24" }), this.size === 32 && s("img", { key: "bec5a64b895f668f79ceb840900651d4f2cb7715", alt: this.label, class: e, height: "32", src: "emojis/Idea32.png", width: "32" }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
h.style = c;
|
|
15
|
+
export {
|
|
16
|
+
h as swirl_emoji_idea
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as i, h as s, F as t } from "./index.e064caaa.js";
|
|
2
|
+
import { c as a } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const l = ":host{display:inline-flex}", o = l, c = class {
|
|
6
|
+
constructor(e) {
|
|
7
|
+
i(this, e), this.label = "", this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const e = a("emoji", `emoji--size-${this.size}`);
|
|
11
|
+
return s(t, { key: "d31814cf9accd0bcde6b3383657c857f6930e039" }, this.size === 16 && s("img", { key: "41dc9a67d4e337e19006f02e0f46f842e279db77", alt: this.label, class: e, height: "16", src: "emojis/Love16.png", width: "16" }), this.size === 20 && s("img", { key: "b16e34d8b5e8ba68e5dbd9d1ba1cb337ae28ae0f", alt: this.label, class: e, height: "20", src: "emojis/Love20.png", width: "20" }), this.size === 24 && s("img", { key: "eb8da22f8cd6bdd8bc4068df3c198b791a9dea29", alt: this.label, class: e, height: "24", src: "emojis/Love24.png", width: "24" }), this.size === 32 && s("img", { key: "9e65271c4985810eebe8effb98e915fa722f1915", alt: this.label, class: e, height: "32", src: "emojis/Love32.png", width: "32" }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
c.style = o;
|
|
15
|
+
export {
|
|
16
|
+
c as swirl_emoji_love
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as i, h as e, F as t } from "./index.e064caaa.js";
|
|
2
|
+
import { c as a } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const c = ":host{display:inline-flex}", l = c, d = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
i(this, s), this.label = "", this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = a("emoji", `emoji--size-${this.size}`);
|
|
11
|
+
return e(t, { key: "0a11af16e509876de3c89e11413ff1feb77f761f" }, this.size === 16 && e("img", { key: "0d4452cb84750dfaf68ef08d179cfb53cd21750b", alt: this.label, class: s, height: "16", src: "emojis/Sad16.png", width: "16" }), this.size === 20 && e("img", { key: "e892906e513d1b2c0de1149dc577906c568e91c3", alt: this.label, class: s, height: "20", src: "emojis/Sad20.png", width: "20" }), this.size === 24 && e("img", { key: "df681dee5e402ef3ab5ed3c727b21d512cca5f77", alt: this.label, class: s, height: "24", src: "emojis/Sad24.png", width: "24" }), this.size === 32 && e("img", { key: "5a672d730dbd83057be66132b56530ebdff69116", alt: this.label, class: s, height: "32", src: "emojis/Sad32.png", width: "32" }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
d.style = l;
|
|
15
|
+
export {
|
|
16
|
+
d as swirl_emoji_sad
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { r as e, h as i, F as t } from "./index.e064caaa.js";
|
|
2
|
+
import { c as a } from "./index-267776a4.6beb4f4b.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "react-dom";
|
|
5
|
+
const c = ":host{display:inline-flex}", h = c, l = class {
|
|
6
|
+
constructor(s) {
|
|
7
|
+
e(this, s), this.label = "", this.size = 24;
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
const s = a("emoji", `emoji--size-${this.size}`);
|
|
11
|
+
return i(t, { key: "dc060b6fc70283f8a8f6891d8bdf28910dc57833" }, this.size === 16 && i("img", { key: "7483b30c471f8927eefb1844acf6b3213396bfaf", alt: this.label, class: s, height: "16", src: "emojis/ThumbsUp16.png", width: "16" }), this.size === 20 && i("img", { key: "77a5b6012ec8fe66d7c7c49492900084d56bfd04", alt: this.label, class: s, height: "20", src: "emojis/ThumbsUp20.png", width: "20" }), this.size === 24 && i("img", { key: "dfe93ab3a4d95962093fbaa9dfa0a9b74cd33003", alt: this.label, class: s, height: "24", src: "emojis/ThumbsUp24.png", width: "24" }), this.size === 32 && i("img", { key: "821cdfd7bb5e8da7d98a37273b912ce81cc76cac", alt: this.label, class: s, height: "32", src: "emojis/ThumbsUp32.png", width: "32" }));
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
l.style = h;
|
|
15
|
+
export {
|
|
16
|
+
l as swirl_emoji_thumbs_up
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as i, h as e, H as t } from "./index.e064caaa.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "react-dom";
|
|
4
|
+
const r = ":host{display:inline-flex}", o = r, a = class {
|
|
5
|
+
constructor(s) {
|
|
6
|
+
i(this, s), this.label = "", this.name = void 0, this.size = 24;
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
const s = `swirl-emoji-${this.name}`;
|
|
10
|
+
return e(t, { key: "c7abdc67c354e143381e8240dfdaa48f6e4f8c3c" }, e(s, { key: "500c97ef03874563133209bda16cd9bb5b7ad916", label: this.label, size: this.size }));
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
a.style = o;
|
|
14
|
+
export {
|
|
15
|
+
a as swirl_emoji
|
|
16
|
+
};
|
package/dist/{swirl-file-uploader.entry.d33ad380.js → swirl-file-uploader.entry.b8c7ea2c.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as s, c as r, h as e, H as d } from "./index.
|
|
1
|
+
import { r as s, c as r, h as e, H as d } from "./index.e064caaa.js";
|
|
2
2
|
import { c as t } from "./index-267776a4.6beb4f4b.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
@@ -19,10 +19,10 @@ const p = ".sc-swirl-file-uploader-h{display:block;width:100%}.sc-swirl-file-upl
|
|
|
19
19
|
"file-uploader--disabled": this.disabled,
|
|
20
20
|
"file-uploader--show-dropzone": this.showDropzone
|
|
21
21
|
});
|
|
22
|
-
return e(d, { key: "
|
|
22
|
+
return e(d, { key: "0b5353ad9ed4246e097184c50f807665e35b830c" }, e("div", { key: "76d85061171df1e306633c5b72313ae38620cbc1", class: a }, e("label", { key: "b72b539cccedc10d69728e2eec986daee3b1cc6c", class: "file-uploader__label", htmlFor: this.inputId, id: `${this.inputId}-label` }, this.label), this.description && e("span", { key: "c925efaf8e7a3cdf4ccc0909193af52106cc450f", class: "file-uploader__description", id: `${this.inputId}-description` }, this.description), e("div", { key: "fa7544ba1d1a95764efbad3c5105fd5273049c71", class: "file-uploader__dropzone" }, this.showDropzone ? [
|
|
23
23
|
e("swirl-icon-cloud-upload", { class: "file-uploader__dropzone-icon" }),
|
|
24
24
|
e("div", { class: "file-uploader__dropzone-label", id: `${this.inputId}-additional-label` }, e("span", { class: "file-uploader__dropzone-cta" }, this.ctaLabel), " ", e("span", { class: "file-uploader__drag-drop-label" }, this.dragDropLabel))
|
|
25
|
-
] : e("swirl-button", { class: "file-uploader__upload-button", disabled: this.disabled, icon: this.uploadButtonIcon, intent: "primary", label: this.uploadButtonLabel, onClick: this.onUploadButtonClick, swirlAriaDescribedby: i, variant: this.uploadButtonVariant }), e("input", { key: "
|
|
25
|
+
] : e("swirl-button", { class: "file-uploader__upload-button", disabled: this.disabled, icon: this.uploadButtonIcon, intent: "primary", label: this.uploadButtonLabel, onClick: this.onUploadButtonClick, swirlAriaDescribedby: i, variant: this.uploadButtonVariant }), e("input", { key: "4b7853bb7cde7e16cd4fa25a38e77612833d65c2", accept: this.accept, "aria-describedby": i, "aria-disabled": this.disabled, autoComplete: "off", class: "file-uploader__input", disabled: this.disabled, id: this.inputId, multiple: this.multiple, name: this.inputName, onChange: this.onChange, ref: (o) => this.inputEl = o, tabIndex: l, type: "file" }))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
u.style = n;
|
package/dist/{swirl-file-viewer_8.entry.88cd5e00.js → swirl-file-viewer_8.entry.32c0d665.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as Lt, c as Pt, h as Xe, H as Nt, g as $t } from "./index.
|
|
1
|
+
import { r as Lt, c as Pt, h as Xe, H as Nt, g as $t } from "./index.e064caaa.js";
|
|
2
2
|
import { c as vt, g as ea, a as qr, b as ta } from "./_commonjsHelpers-d20b9603.2d9b8855.js";
|
|
3
3
|
import { c as ra } from "./index-267776a4.6beb4f4b.js";
|
|
4
4
|
import { d as na, k as ia, i as aa } from "./utils-877a768f.c277f897.js";
|
|
@@ -93,7 +93,7 @@ const sa = ":host{display:block;width:100%;height:100%;pointer-events:none}:host
|
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
95
|
const De = !Boolean(this.type) || !this.type.startsWith("image/") && !this.type.startsWith("video/") && !this.type.startsWith("audio/") && this.type !== "text/plain" && this.type !== "text/csv" && this.type !== "application/pdf";
|
|
96
|
-
return Xe(Nt, { key: "
|
|
96
|
+
return Xe(Nt, { key: "e936638ecb888b012d8e839fed838d9eb8fa1655" }, Xe("div", { key: "92b77012dc2946e1d857bd26bf91e7478ee017f7", class: "file-viewer" }, this.type && this.active && Xe("div", { key: "72f41eebbb761ada303c2ead6a31efc484f417a3", class: "file-viewer__file" }, this.type.startsWith("image/") && Xe("swirl-file-viewer-image", { key: "2b408dde874e8a72ed1895e857e54e1ca197e2c9", description: this.description, errorMessage: this.errorMessage, file: this.file, ref: (Te) => this.viewer = Te }), this.type === "text/plain" && Xe("swirl-file-viewer-text", { key: "2a029dab3394d38e5fe2d999c9a09222c286f6f8", errorMessage: this.errorMessage, file: this.file, ref: (Te) => this.viewer = Te }), this.type === "text/csv" && Xe("swirl-file-viewer-csv", { key: "7bb975cbcc46850588a8c5e3ebd47d1f3dcf16c5", errorMessage: this.errorMessage, file: this.file, ref: (Te) => this.viewer = Te }), this.type === "application/pdf" && Xe("swirl-file-viewer-pdf", { key: "d4c050590d39cc7ab54b9eeffbd128d72b37ba78", errorMessage: this.errorMessage, file: this.file, onActivate: this.onActivate, onVisiblePagesChange: this.onVisiblePagesChange, ref: (Te) => this.viewer = Te, viewMode: this.viewMode, workerSrc: this.pdfWorkerSrc, zoom: this.zoom }), this.type.startsWith("video/") && Xe("swirl-file-viewer-video", { key: "496c3b650713c9a92444449c9e45663279ff0ccc", autoplay: this.autoplay, disableDownload: this.disableDownload, file: this.file, ref: (Te) => this.viewer = Te, type: this.type }), this.type.startsWith("audio/") && Xe("swirl-file-viewer-audio", { key: "3bbf29d473c14d16571eefb65de45dd902722135", autoplay: this.autoplay, file: this.file, ref: (Te) => this.viewer = Te, type: this.type }), De && Xe("swirl-file-viewer-fallback", { key: "8de89234f224ccb70b8a262d1ee4e6f91b9ba51b", disableDownload: this.disableDownload, file: this.file, fileName: this.fileName }))));
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
la.style = oa;
|
|
@@ -105,7 +105,7 @@ const ca = ":host{display:inline-flex;width:100%;height:100%;pointer-events:auto
|
|
|
105
105
|
this.activate.emit(this.el);
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return Xe(Nt, { key: "
|
|
108
|
+
return Xe(Nt, { key: "aee5be17054d33d1f009f2ccd1e37a5a6e2923e7", class: "file-viewer-audio" }, Xe("audio", { key: "279a7967658b4f07e0d65182c96104c0097c8926", autoplay: this.autoplay, class: "file-viewer-audio__audio", controls: !0 }, Xe("source", { key: "31110a8c1d81faa6ca38c9048b45e83954129815", src: this.file, type: this.type })));
|
|
109
109
|
}
|
|
110
110
|
get el() {
|
|
111
111
|
return $t(this);
|
|
@@ -676,7 +676,7 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
676
676
|
}
|
|
677
677
|
render() {
|
|
678
678
|
var De;
|
|
679
|
-
return Xe(Nt, { key: "
|
|
679
|
+
return Xe(Nt, { key: "82e3a660e9f627ec032c976ed8a6aef66428b57d", class: "file-viewer-csv", exportparts: "file-viewer-csv__table" }, this.error && Xe("swirl-inline-error", { key: "07248626db07a72ec33b898f98d7d90bc6b02355", class: "file-viewer-csv__error", message: this.errorMessage }), Xe("div", { key: "bedf7f0976d9ca924ee2c35dcc1594be9f5c785c", class: "file-viewer-csv__csv", tabIndex: 0 }, Xe("table", { key: "34ec4ea11bec155c86deceb6b1d23ca76e0f616b", class: "file-viewer-csv__table", part: "file-viewer-csv__table" }, Xe("tbody", { key: "d46bca3f3068a329972b303780070126ce9832e9" }, (De = this.data) == null ? void 0 : De.map((Te, Ie) => Xe("tr", { class: "file-viewer-csv__row", key: `row-${Ie}` }, Te.map((we, ze) => Xe("td", { class: "file-viewer-csv__cell", key: `cell-${Ie}-${ze}` }, we))))))), this.loading && Xe("div", { key: "a4dad16da9e3ef16a8e292b1c834fd31ae64c46d", class: "file-viewer-csv__spinner" }, Xe("swirl-spinner", { key: "877eff49cc9b1a5b39b2d7d14dea12474c3c61c5" })));
|
|
680
680
|
}
|
|
681
681
|
get el() {
|
|
682
682
|
return $t(this);
|
|
@@ -700,7 +700,7 @@ const ga = ":host{display:inline-flex;width:100%;height:100%;justify-content:cen
|
|
|
700
700
|
this.activate.emit(this.el);
|
|
701
701
|
}
|
|
702
702
|
render() {
|
|
703
|
-
return Xe(Nt, { key: "
|
|
703
|
+
return Xe(Nt, { key: "aa78049d86fa8373eb881f7035227fe1c0a1420f", class: "file-viewer-fallback" }, Xe("swirl-stack", { key: "a3acec910f458e1b699dfa3baab51794fd683aad", align: "center", height: "100%", justify: "center", spacing: "16" }, Xe("swirl-icon-file", { key: "0cdef8e938a084127fffbee8a5f0a8b13027b38b", class: "file-viewer-fallback__icon", color: "on-image", size: 28 }), this.fileName && Xe("swirl-text", { key: "9ccf547bea65416e5b7f86e09bb5692fcc44888e", color: "on-image", size: "lg", weight: "medium" }, this.fileName), !this.disableDownload && Xe("swirl-button", { key: "f25211006ba2cde90e6c0c9749551884cca9b920", download: this.fileName, href: this.file, icon: "<swirl-icon-download></swirl-icon-download>", label: this.downloadButtonLabel, onClick: this.download, variant: "on-image" })));
|
|
704
704
|
}
|
|
705
705
|
get el() {
|
|
706
706
|
return $t(this);
|
|
@@ -781,7 +781,7 @@ const ba = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
|
|
|
781
781
|
return this.updateZoomAndPan(1);
|
|
782
782
|
}
|
|
783
783
|
render() {
|
|
784
|
-
return Xe(Nt, { key: "
|
|
784
|
+
return Xe(Nt, { key: "582c58f60673443df4141bedadc17dbdf7660c5c", class: "file-viewer-image", onDblClick: this.onDblClick, onWheel: this.onWheel, onPointerDown: this.onPointerDown, onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onTouchStart: this.onTouchStart, onTouchMove: this.onTouchMove, onTouchEnd: this.onTouchEnd }, this.error && Xe("swirl-inline-error", { key: "dd64a7108034e29f3cc392fc1465d988aca4786b", class: "file-viewer-image__error", message: this.errorMessage }), Xe("img", { key: "c619d8cbe36be92fb192374e5f32f1080ac661e9", alt: this.description, class: "file-viewer-image__image", onError: this.onError, onLoad: this.onLoad, ref: (De) => this.imageEl = De, src: this.file }), this.loading && Xe("div", { key: "3d3923e7efdbd3648dd2ec660cada69304d48aa3", class: "file-viewer-image__spinner" }, Xe("swirl-spinner", { key: "13e5f2b82de5c011b94f26e8311b8cf42b81a96d" })));
|
|
785
785
|
}
|
|
786
786
|
get el() {
|
|
787
787
|
return $t(this);
|
|
@@ -16390,7 +16390,7 @@ const Ta = class {
|
|
|
16390
16390
|
}
|
|
16391
16391
|
render() {
|
|
16392
16392
|
const De = !this.error && !this.loading && this.visiblePages.length > 0, Te = this.loading, Ie = ra("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
|
|
16393
|
-
return Xe(Nt, { key: "
|
|
16393
|
+
return Xe(Nt, { key: "1d3dc1cafdc8be24848eb1549e2ad34598acc36a", class: Ie, exportparts: "file-viewer-pdf__pagination" }, this.error && Xe("swirl-inline-error", { key: "2c3aab82aa87b4206729bc60cf4d24687b518a93", class: "file-viewer-pdf__error", message: this.errorMessage }), Xe("div", { key: "4531eac7ee983b0a383de43da7948b7e8494dc39", "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (we) => this.scrollContainer = we }, this.pages.map((we) => {
|
|
16394
16394
|
const ze = we.getViewport({
|
|
16395
16395
|
scale: this.getScale(we)
|
|
16396
16396
|
}), Ke = ze.height, D = ze.width, m = this.renderedPages.includes(we.pageNumber);
|
|
@@ -16398,7 +16398,7 @@ const Ta = class {
|
|
|
16398
16398
|
width: `${D}px`,
|
|
16399
16399
|
height: `${Ke}px`
|
|
16400
16400
|
}, tabIndex: 0 }, !m && Xe("swirl-spinner", { class: "file-viewer-pdf__page-spinner" }), Xe("canvas", { class: "file-viewer-pdf__canvas", style: { opacity: m ? "1" : "0" } }), Xe("div", { class: "file-viewer-pdf__text-container" }));
|
|
16401
|
-
})), De && Xe("span", { key: "
|
|
16401
|
+
})), De && Xe("span", { key: "14e3ddf6e83d01858a8ab3bc1ae7770de2dbe619", class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, Xe("span", { key: "a814c965764d051c09cdf75cd45118e080044c22", "aria-current": "page" }, this.currentPage), " /", " ", this.doc.numPages), Te && Xe("div", { key: "659799cb5334277cb74077d58bfc698c6abc7079", class: "file-viewer-pdf__spinner" }, Xe("swirl-spinner", { key: "a738004bb01a29571b7898d497bc24ed6f9197f3" })));
|
|
16402
16402
|
}
|
|
16403
16403
|
get el() {
|
|
16404
16404
|
return $t(this);
|
|
@@ -16432,7 +16432,7 @@ const Pa = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
16432
16432
|
}
|
|
16433
16433
|
}
|
|
16434
16434
|
render() {
|
|
16435
|
-
return Xe(Nt, { key: "
|
|
16435
|
+
return Xe(Nt, { key: "e4ee32a1f9e4e1fd16fbe9ba2b9ac9b820522416", class: "file-viewer-text", exportparts: "file-viewer-text__text" }, this.error && Xe("swirl-inline-error", { key: "e36ac705a8faf02ca61d22dfb46ad1d291a7360b", class: "file-viewer-text__error", message: this.errorMessage }), Xe("pre", { key: "35deea525f211f7e559d5a35852100daa10ca0bc", class: "file-viewer-text__text", part: "file-viewer-text__text", tabIndex: 0 }, this.text), this.loading && Xe("div", { key: "8398073fa0509a106cf2cedbc56302c48d447bbf", class: "file-viewer-text__spinner" }, Xe("swirl-spinner", { key: "74cfceef240d72152f16731013d389e4cb348cb4" })));
|
|
16436
16436
|
}
|
|
16437
16437
|
get el() {
|
|
16438
16438
|
return $t(this);
|
|
@@ -16455,7 +16455,7 @@ const ka = ":host{display:inline-flex;width:100%;max-height:100%;pointer-events:
|
|
|
16455
16455
|
this.disableDownload ? this.videoEl.setAttribute("controlsList", "nodownload") : this.videoEl.removeAttribute("controlsList");
|
|
16456
16456
|
}
|
|
16457
16457
|
render() {
|
|
16458
|
-
return Xe(Nt, { key: "
|
|
16458
|
+
return Xe(Nt, { key: "bcbbd3ab770c646eb0d34422926ae0b37607d24d", class: "file-viewer-video" }, Xe("video", { key: "5fb17e846b8e852c2be2e1c4dad36c913f0cc918", autoplay: this.autoplay, class: "file-viewer-video__video", controls: !0, ref: (De) => this.videoEl = De }, Xe("source", { key: "61e8c6104ad9becc1bb49496acbdce50dd2410b9", src: this.file, type: this.type })));
|
|
16459
16459
|
}
|
|
16460
16460
|
get el() {
|
|
16461
16461
|
return $t(this);
|