@getflip/swirl-components-react 0.216.1 → 0.218.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.6b410820.js → file-manager.entry.2c0f7955.js} +1 -1
- package/dist/{index.20a2f34f.js → index.3849c5f8.js} +354 -354
- package/dist/{swirl-accordion-item.entry.2f34c236.js → swirl-accordion-item.entry.08ad409b.js} +1 -1
- package/dist/{swirl-accordion.entry.2f6c4d6c.js → swirl-accordion.entry.985806ee.js} +1 -1
- package/dist/{swirl-action-list-section.entry.2115c3c6.js → swirl-action-list-section.entry.b2daff36.js} +1 -1
- package/dist/{swirl-action-list_3.entry.629ead9f.js → swirl-action-list_3.entry.f10c7ef0.js} +1 -1
- package/dist/{swirl-app-bar.entry.f29ba950.js → swirl-app-bar.entry.457c72a6.js} +1 -1
- package/dist/{swirl-app-icon.entry.8fc4aab4.js → swirl-app-icon.entry.fb9fa360.js} +1 -1
- package/dist/{swirl-app-layout_6.entry.d13944c7.js → swirl-app-layout_6.entry.07b7bb64.js} +1 -1
- package/dist/{swirl-autocomplete.entry.6144d4d7.js → swirl-autocomplete.entry.abb5581c.js} +1 -1
- package/dist/{swirl-avatar-group.entry.5a2a07ce.js → swirl-avatar-group.entry.290e533b.js} +9 -9
- package/dist/{swirl-avatar.entry.bbcdede2.js → swirl-avatar.entry.8c59cf3e.js} +1 -1
- package/dist/{swirl-badge.entry.bb09f803.js → swirl-badge.entry.0f1d02cb.js} +1 -1
- package/dist/{swirl-banner.entry.e01f199f.js → swirl-banner.entry.38f0fd1d.js} +1 -1
- package/dist/{swirl-box.entry.8846a74f.js → swirl-box.entry.789009a2.js} +1 -1
- package/dist/{swirl-button-group.entry.b8b6dc96.js → swirl-button-group.entry.d555474c.js} +1 -1
- package/dist/{swirl-button.entry.32079e73.js → swirl-button.entry.8965033c.js} +1 -1
- package/dist/{swirl-card.entry.b6faa5ec.js → swirl-card.entry.9063b406.js} +1 -1
- package/dist/{swirl-carousel-slide.entry.6f3435e5.js → swirl-carousel-slide.entry.42853001.js} +1 -1
- package/dist/{swirl-carousel.entry.6ac9520a.js → swirl-carousel.entry.dd58737e.js} +1 -1
- package/dist/{swirl-checkbox.entry.6a03d92b.js → swirl-checkbox.entry.c12d7dd5.js} +1 -1
- package/dist/{swirl-chip.entry.e951ab0a.js → swirl-chip.entry.5bd3adfe.js} +1 -1
- package/dist/{swirl-color-input.entry.2076baed.js → swirl-color-input.entry.8842e187.js} +1 -1
- package/dist/{swirl-columns.entry.8ee83ef3.js → swirl-columns.entry.d0bb7407.js} +1 -1
- package/dist/swirl-components-react.js +1 -1
- package/dist/swirl-components-react.umd.cjs +4 -4
- package/dist/{swirl-console-layout.entry.38364376.js → swirl-console-layout.entry.ad775369.js} +1 -1
- package/dist/{swirl-date-input.entry.fecd0fe4.js → swirl-date-input.entry.33c9089d.js} +1 -1
- package/dist/{swirl-date-picker_2.entry.d8d42cf3.js → swirl-date-picker_2.entry.05b534bc.js} +1 -1
- package/dist/{swirl-description-list-item.entry.9149af9b.js → swirl-description-list-item.entry.d4698ebf.js} +1 -1
- package/dist/{swirl-description-list.entry.58d5f340.js → swirl-description-list.entry.66efd27e.js} +1 -1
- package/dist/{swirl-dialog.entry.c2877f38.js → swirl-dialog.entry.299b0463.js} +1 -1
- package/dist/{swirl-emoji-clap.entry.5347f2c2.js → swirl-emoji-clap.entry.a4da07eb.js} +1 -1
- package/dist/{swirl-emoji-happy.entry.8b387ebb.js → swirl-emoji-happy.entry.499f7a36.js} +1 -1
- package/dist/{swirl-emoji-idea.entry.87a6e7ec.js → swirl-emoji-idea.entry.415c63e6.js} +1 -1
- package/dist/{swirl-emoji-love.entry.4cc62418.js → swirl-emoji-love.entry.18a00c14.js} +1 -1
- package/dist/{swirl-emoji-sad.entry.5c976fc2.js → swirl-emoji-sad.entry.da0e0cce.js} +1 -1
- package/dist/{swirl-emoji-thumbs-up.entry.79bdb9e7.js → swirl-emoji-thumbs-up.entry.5e2f1ba1.js} +1 -1
- package/dist/{swirl-emoji.entry.39c4ea6a.js → swirl-emoji.entry.3f16c161.js} +1 -1
- package/dist/{swirl-file-uploader.entry.5a2f8aa0.js → swirl-file-uploader.entry.b88fd5e1.js} +1 -1
- package/dist/{swirl-file-viewer_7.entry.caf0c167.js → swirl-file-viewer_7.entry.4c16d8e2.js} +125 -117
- package/dist/{swirl-form-control.entry.ec0e1c54.js → swirl-form-control.entry.7af9e67e.js} +1 -1
- package/dist/{swirl-form-group.entry.9ac19e6e.js → swirl-form-group.entry.3c23c085.js} +1 -1
- package/dist/{swirl-heading.entry.805db888.js → swirl-heading.entry.fbbc7aa3.js} +1 -1
- package/dist/{swirl-icon-add-moderator.entry.070c6d49.js → swirl-icon-add-moderator.entry.6cac69ca.js} +1 -1
- package/dist/{swirl-icon-add-photo.entry.b697d485.js → swirl-icon-add-photo.entry.4635ffb3.js} +1 -1
- package/dist/{swirl-icon-add-reaction.entry.e9bbbd20.js → swirl-icon-add-reaction.entry.36c0da06.js} +1 -1
- package/dist/{swirl-icon-add_6.entry.02de3d23.js → swirl-icon-add_6.entry.94e79143.js} +1 -1
- package/dist/{swirl-icon-admin-panel-settings.entry.d0fb2f96.js → swirl-icon-admin-panel-settings.entry.0b8b7d76.js} +1 -1
- package/dist/{swirl-icon-ai.entry.01cc5432.js → swirl-icon-ai.entry.25bc39eb.js} +1 -1
- package/dist/{swirl-icon-apps.entry.8d605331.js → swirl-icon-apps.entry.199a79a7.js} +1 -1
- package/dist/{swirl-icon-arrow-back_4.entry.13d17e30.js → swirl-icon-arrow-back_4.entry.174a0e25.js} +1 -1
- package/dist/{swirl-icon-arrow-downward_2.entry.6e4134e5.js → swirl-icon-arrow-downward_2.entry.10d051e3.js} +1 -1
- package/dist/{swirl-icon-arrow-left_4.entry.9e4c2e11.js → swirl-icon-arrow-left_4.entry.12520384.js} +1 -1
- package/dist/{swirl-icon-arrow-right-small.entry.f6f5d573.js → swirl-icon-arrow-right-small.entry.ed329569.js} +1 -1
- package/dist/{swirl-icon-aspect-ratio.entry.c25f89e4.js → swirl-icon-aspect-ratio.entry.ecd01fa3.js} +1 -1
- package/dist/{swirl-icon-attachment.entry.f4ad3f7a.js → swirl-icon-attachment.entry.7a38071b.js} +1 -1
- package/dist/{swirl-icon-bar-chart.entry.d08ae17b.js → swirl-icon-bar-chart.entry.05f90868.js} +1 -1
- package/dist/{swirl-icon-block.entry.104cf0c6.js → swirl-icon-block.entry.a1d27354.js} +1 -1
- package/dist/{swirl-icon-bookmark-filled.entry.947139bf.js → swirl-icon-bookmark-filled.entry.8de27178.js} +1 -1
- package/dist/{swirl-icon-bookmark.entry.240bff92.js → swirl-icon-bookmark.entry.df90485a.js} +1 -1
- package/dist/{swirl-icon-cancel_4.entry.1f860e5b.js → swirl-icon-cancel_4.entry.a100f086.js} +1 -1
- package/dist/{swirl-icon-chat-bubble.entry.f5df4bb7.js → swirl-icon-chat-bubble.entry.e770d2c3.js} +1 -1
- package/dist/{swirl-icon-chats-filled.entry.825d50c2.js → swirl-icon-chats-filled.entry.c470e11c.js} +1 -1
- package/dist/{swirl-icon-chats.entry.96da5962.js → swirl-icon-chats.entry.8de073bc.js} +1 -1
- package/dist/{swirl-icon-check-circle_2.entry.546fc726.js → swirl-icon-check-circle_2.entry.d21801c8.js} +1 -1
- package/dist/{swirl-icon-check-small_3.entry.f17fda90.js → swirl-icon-check-small_3.entry.33aa48be.js} +1 -1
- package/dist/{swirl-icon-check-strong.entry.aac84208.js → swirl-icon-check-strong.entry.3d598da7.js} +1 -1
- package/dist/{swirl-icon-check.entry.165e1815.js → swirl-icon-check.entry.4aa9ba13.js} +1 -1
- package/dist/{swirl-icon-chevron-left.entry.003165f9.js → swirl-icon-chevron-left.entry.216a44f0.js} +1 -1
- package/dist/{swirl-icon-chevron-right.entry.40212c7a.js → swirl-icon-chevron-right.entry.9725f49d.js} +1 -1
- package/dist/{swirl-icon-close-small.entry.2d6f0785.js → swirl-icon-close-small.entry.d21f7cb2.js} +1 -1
- package/dist/{swirl-icon-close.entry.7697e67c.js → swirl-icon-close.entry.1df705d3.js} +1 -1
- package/dist/{swirl-icon-cloud-upload.entry.ed216354.js → swirl-icon-cloud-upload.entry.b2f73bd3.js} +1 -1
- package/dist/{swirl-icon-column.entry.68698f2e.js → swirl-icon-column.entry.3dd7212e.js} +1 -1
- package/dist/{swirl-icon-comment.entry.ae1863a4.js → swirl-icon-comment.entry.aee4b842.js} +1 -1
- package/dist/{swirl-icon-copy.entry.c58d6a40.js → swirl-icon-copy.entry.645d2367.js} +1 -1
- package/dist/{swirl-icon-crop.entry.d0733371.js → swirl-icon-crop.entry.e46fcd88.js} +1 -1
- package/dist/{swirl-icon-dark-mode.entry.6e4e7762.js → swirl-icon-dark-mode.entry.e2a25500.js} +1 -1
- package/dist/{swirl-icon-date-range.entry.b3575b5c.js → swirl-icon-date-range.entry.0fb89e83.js} +1 -1
- package/dist/{swirl-icon-delete.entry.3fc6b955.js → swirl-icon-delete.entry.5f1898dd.js} +1 -1
- package/dist/{swirl-icon-description.entry.247d6ade.js → swirl-icon-description.entry.83746cb4.js} +1 -1
- package/dist/{swirl-icon-desktop.entry.f2e77895.js → swirl-icon-desktop.entry.6e24c06f.js} +1 -1
- package/dist/{swirl-icon-directory-filled.entry.2e6cee35.js → swirl-icon-directory-filled.entry.35c31294.js} +1 -1
- package/dist/{swirl-icon-directory.entry.e61c3d3a.js → swirl-icon-directory.entry.36ef0599.js} +1 -1
- package/dist/{swirl-icon-discover.entry.fb4e0fad.js → swirl-icon-discover.entry.d17d11b5.js} +1 -1
- package/dist/{swirl-icon-dot.entry.1728ab3f.js → swirl-icon-dot.entry.b68a006a.js} +1 -1
- package/dist/{swirl-icon-double-arrow-right.entry.d3f6c09a.js → swirl-icon-double-arrow-right.entry.baf9679a.js} +1 -1
- package/dist/{swirl-icon-download.entry.83d8c606.js → swirl-icon-download.entry.b62ef71e.js} +1 -1
- package/dist/{swirl-icon-edit.entry.89c4330c.js → swirl-icon-edit.entry.ad35d29a.js} +1 -1
- package/dist/{swirl-icon-emoji-mood.entry.eb7535ba.js → swirl-icon-emoji-mood.entry.34695a71.js} +1 -1
- package/dist/{swirl-icon-emoji-satisfied.entry.cd27b83a.js → swirl-icon-emoji-satisfied.entry.a2a61701.js} +1 -1
- package/dist/{swirl-icon-error_3.entry.d137c452.js → swirl-icon-error_3.entry.1006737a.js} +1 -1
- package/dist/{swirl-icon-expand-more.entry.149ea621.js → swirl-icon-expand-more.entry.2b115a67.js} +1 -1
- package/dist/{swirl-icon-experiment.entry.25d7ffeb.js → swirl-icon-experiment.entry.3fc0d7d0.js} +1 -1
- package/dist/{swirl-icon-filter.entry.543f73d0.js → swirl-icon-filter.entry.a602439d.js} +1 -1
- package/dist/{swirl-icon-folder.entry.381adac6.js → swirl-icon-folder.entry.ac18b9db.js} +1 -1
- package/dist/{swirl-icon-format-h-one.entry.7463085f.js → swirl-icon-format-h-one.entry.6507ca04.js} +1 -1
- package/dist/{swirl-icon-gif.entry.726f8842.js → swirl-icon-gif.entry.6f21b0ae.js} +1 -1
- package/dist/{swirl-icon-group-add.entry.ff22b410.js → swirl-icon-group-add.entry.27f45d25.js} +1 -1
- package/dist/{swirl-icon-group-assign.entry.1e93e714.js → swirl-icon-group-assign.entry.736b6f10.js} +1 -1
- package/dist/{swirl-icon-groups-filled.entry.9e13897e.js → swirl-icon-groups-filled.entry.3632ee0b.js} +1 -1
- package/dist/{swirl-icon-groups.entry.927296c0.js → swirl-icon-groups.entry.89c223de.js} +1 -1
- package/dist/{swirl-icon-hamburger-menu.entry.d31d2271.js → swirl-icon-hamburger-menu.entry.283951e4.js} +1 -1
- package/dist/{swirl-icon-help.entry.13081c5e.js → swirl-icon-help.entry.e439057c.js} +1 -1
- package/dist/{swirl-icon-highlight.entry.dc4668b1.js → swirl-icon-highlight.entry.1916b9af.js} +1 -1
- package/dist/{swirl-icon-history.entry.173b08d4.js → swirl-icon-history.entry.f64b0d19.js} +1 -1
- package/dist/{swirl-icon-home.entry.326f38e7.js → swirl-icon-home.entry.b355a302.js} +1 -1
- package/dist/{swirl-icon-image.entry.19aa2908.js → swirl-icon-image.entry.5bb224e2.js} +1 -1
- package/dist/{swirl-icon-improve-text.entry.d955faab.js → swirl-icon-improve-text.entry.95535e40.js} +1 -1
- package/dist/{swirl-icon-info.entry.2126f13b.js → swirl-icon-info.entry.f02e6c92.js} +1 -1
- package/dist/{swirl-icon-insert-below.entry.fb44b81c.js → swirl-icon-insert-below.entry.d7c1ce27.js} +1 -1
- package/dist/{swirl-icon-insert-on-top.entry.ded24576.js → swirl-icon-insert-on-top.entry.578c9fec.js} +1 -1
- package/dist/{swirl-icon-inventory.entry.c5d7fe3f.js → swirl-icon-inventory.entry.80855f09.js} +1 -1
- package/dist/{swirl-icon-keyboard-hide.entry.9a2270b9.js → swirl-icon-keyboard-hide.entry.97cad26a.js} +1 -1
- package/dist/{swirl-icon-keyboard.entry.b8d8f582.js → swirl-icon-keyboard.entry.06e3b4b8.js} +1 -1
- package/dist/{swirl-icon-light-mode.entry.25a17e45.js → swirl-icon-light-mode.entry.acc2f45e.js} +1 -1
- package/dist/{swirl-icon-like.entry.506499e1.js → swirl-icon-like.entry.8f2b60e2.js} +1 -1
- package/dist/{swirl-icon-link.entry.9b52ff3d.js → swirl-icon-link.entry.b19b3949.js} +1 -1
- package/dist/{swirl-icon-load.entry.2e36407e.js → swirl-icon-load.entry.d7326fef.js} +1 -1
- package/dist/{swirl-icon-lock-open.entry.0d35df2e.js → swirl-icon-lock-open.entry.5bbb102b.js} +1 -1
- package/dist/{swirl-icon-lock-person.entry.7cb93b54.js → swirl-icon-lock-person.entry.f767b65a.js} +1 -1
- package/dist/{swirl-icon-lock.entry.d1b68436.js → swirl-icon-lock.entry.9117693e.js} +1 -1
- package/dist/{swirl-icon-login.entry.786c90ab.js → swirl-icon-login.entry.cf2a9114.js} +1 -1
- package/dist/{swirl-icon-logout.entry.0307c6ad.js → swirl-icon-logout.entry.46b6e256.js} +1 -1
- package/dist/{swirl-icon-long-text.entry.53576c35.js → swirl-icon-long-text.entry.a835fdac.js} +1 -1
- package/dist/{swirl-icon-mail.entry.e2b4361f.js → swirl-icon-mail.entry.d1284e30.js} +1 -1
- package/dist/{swirl-icon-manage-accounts.entry.81d29f6f.js → swirl-icon-manage-accounts.entry.d8dd797c.js} +1 -1
- package/dist/{swirl-icon-mark-chat-read.entry.250a9473.js → swirl-icon-mark-chat-read.entry.45a5f035.js} +1 -1
- package/dist/{swirl-icon-mark-chat-unread.entry.7f402a43.js → swirl-icon-mark-chat-unread.entry.9c63c167.js} +1 -1
- package/dist/{swirl-icon-mention.entry.a366bdf6.js → swirl-icon-mention.entry.cc4fc8a5.js} +1 -1
- package/dist/{swirl-icon-menu-filled.entry.583b834d.js → swirl-icon-menu-filled.entry.d6fd815b.js} +1 -1
- package/dist/{swirl-icon-menu.entry.5d4c4c80.js → swirl-icon-menu.entry.be19ccd7.js} +1 -1
- package/dist/{swirl-icon-message.entry.3848499b.js → swirl-icon-message.entry.213fb6c0.js} +1 -1
- package/dist/{swirl-icon-mic-off.entry.2eb320b6.js → swirl-icon-mic-off.entry.8fa29ffd.js} +1 -1
- package/dist/{swirl-icon-mic.entry.4165da66.js → swirl-icon-mic.entry.1baea2ec.js} +1 -1
- package/dist/{swirl-icon-more-horizontal.entry.1d034617.js → swirl-icon-more-horizontal.entry.cf24e916.js} +1 -1
- package/dist/{swirl-icon-news-filled.entry.0c2048cf.js → swirl-icon-news-filled.entry.47c45257.js} +1 -1
- package/dist/{swirl-icon-news-off.entry.3e42013f.js → swirl-icon-news-off.entry.76bdb995.js} +1 -1
- package/dist/{swirl-icon-news.entry.c8a577b5.js → swirl-icon-news.entry.240bb3b8.js} +1 -1
- package/dist/{swirl-icon-notifications-active.entry.002d2884.js → swirl-icon-notifications-active.entry.afda2ff6.js} +1 -1
- package/dist/{swirl-icon-notifications-off.entry.7d55c013.js → swirl-icon-notifications-off.entry.601e20d6.js} +1 -1
- package/dist/{swirl-icon-notifications.entry.4d1239cc.js → swirl-icon-notifications.entry.76ab5b2c.js} +1 -1
- package/dist/{swirl-icon-open-in-full.entry.6880e1c6.js → swirl-icon-open-in-full.entry.e6d18d4e.js} +1 -1
- package/dist/{swirl-icon-open-in-new.entry.19502c7e.js → swirl-icon-open-in-new.entry.1bb8dd14.js} +1 -1
- package/dist/{swirl-icon-pause-circle.entry.ebce2a7a.js → swirl-icon-pause-circle.entry.fe9a9a95.js} +1 -1
- package/dist/{swirl-icon-pause.entry.27dd2e61.js → swirl-icon-pause.entry.c3a2d34c.js} +1 -1
- package/dist/{swirl-icon-people-alt.entry.5a32f601.js → swirl-icon-people-alt.entry.40105932.js} +1 -1
- package/dist/{swirl-icon-person-off.entry.ef4639d7.js → swirl-icon-person-off.entry.4e66841e.js} +1 -1
- package/dist/{swirl-icon-person.entry.41b66bf1.js → swirl-icon-person.entry.ab6e1360.js} +1 -1
- package/dist/{swirl-icon-phone.entry.5acaba6d.js → swirl-icon-phone.entry.c5b26b0b.js} +1 -1
- package/dist/{swirl-icon-photo-camera.entry.4e8ee117.js → swirl-icon-photo-camera.entry.21a0f375.js} +1 -1
- package/dist/{swirl-icon-pin-off.entry.33d68869.js → swirl-icon-pin-off.entry.8cd9f578.js} +1 -1
- package/dist/{swirl-icon-pin.entry.b09fe011.js → swirl-icon-pin.entry.869cdf6c.js} +1 -1
- package/dist/{swirl-icon-place.entry.ad991967.js → swirl-icon-place.entry.e42e4ec3.js} +1 -1
- package/dist/{swirl-icon-play-arrow.entry.e50468d1.js → swirl-icon-play-arrow.entry.a76b19d4.js} +1 -1
- package/dist/{swirl-icon-poll.entry.54d3a14b.js → swirl-icon-poll.entry.dd952eac.js} +1 -1
- package/dist/{swirl-icon-print.entry.0a1b5597.js → swirl-icon-print.entry.ef4e01b0.js} +1 -1
- package/dist/{swirl-icon-ratio-four-to-three.entry.5a58be87.js → swirl-icon-ratio-four-to-three.entry.973b377d.js} +1 -1
- package/dist/{swirl-icon-ratio-freeform.entry.dc7266c9.js → swirl-icon-ratio-freeform.entry.91eff188.js} +1 -1
- package/dist/{swirl-icon-ratio-sixteen-to-nine.entry.52fb7500.js → swirl-icon-ratio-sixteen-to-nine.entry.130bbd90.js} +1 -1
- package/dist/{swirl-icon-ratio-square.entry.828d8f6d.js → swirl-icon-ratio-square.entry.fd32d5e9.js} +1 -1
- package/dist/{swirl-icon-ratio-three-to-four.entry.e99edaab.js → swirl-icon-ratio-three-to-four.entry.ca0e2a33.js} +1 -1
- package/dist/{swirl-icon-ratio-three-to-two.entry.4a53367d.js → swirl-icon-ratio-three-to-two.entry.61f567c1.js} +1 -1
- package/dist/{swirl-icon-recieved.entry.da96d6ce.js → swirl-icon-recieved.entry.2b2b0b32.js} +1 -1
- package/dist/{swirl-icon-remove-moderator.entry.628fe1b2.js → swirl-icon-remove-moderator.entry.93f5c3bd.js} +1 -1
- package/dist/{swirl-icon-reply.entry.4f0026b0.js → swirl-icon-reply.entry.ef5434b0.js} +1 -1
- package/dist/{swirl-icon-report.entry.aa9c0201.js → swirl-icon-report.entry.7c910136.js} +1 -1
- package/dist/{swirl-icon-roadmap.entry.65289d96.js → swirl-icon-roadmap.entry.900df5a0.js} +1 -1
- package/dist/{swirl-icon-rotate-left.entry.17a2a904.js → swirl-icon-rotate-left.entry.71d4fb26.js} +1 -1
- package/dist/{swirl-icon-rotate-right.entry.506c08d4.js → swirl-icon-rotate-right.entry.e5e0a70a.js} +1 -1
- package/dist/{swirl-icon-search-strong.entry.b3f4fd62.js → swirl-icon-search-strong.entry.77d8c10a.js} +1 -1
- package/dist/{swirl-icon-search.entry.55cc67c9.js → swirl-icon-search.entry.8a729f9a.js} +1 -1
- package/dist/{swirl-icon-secure.entry.2dec6ad9.js → swirl-icon-secure.entry.bb527504.js} +1 -1
- package/dist/{swirl-icon-send.entry.8e0ad59c.js → swirl-icon-send.entry.bd358445.js} +1 -1
- package/dist/{swirl-icon-settings.entry.e15c6757.js → swirl-icon-settings.entry.dd149903.js} +1 -1
- package/dist/{swirl-icon-short-text.entry.a16197df.js → swirl-icon-short-text.entry.92bfed46.js} +1 -1
- package/dist/{swirl-icon-simplify.entry.f9bf1197.js → swirl-icon-simplify.entry.0b0f3925.js} +1 -1
- package/dist/{swirl-icon-spellcheck.entry.82199514.js → swirl-icon-spellcheck.entry.cf7e7e97.js} +1 -1
- package/dist/{swirl-icon-stop.entry.5bab05d5.js → swirl-icon-stop.entry.9046cdb9.js} +1 -1
- package/dist/{swirl-icon-sync.entry.6b716a4f.js → swirl-icon-sync.entry.f6331725.js} +1 -1
- package/dist/{swirl-icon-tasks-filled.entry.94af3cd4.js → swirl-icon-tasks-filled.entry.044d1794.js} +1 -1
- package/dist/{swirl-icon-tasks.entry.16c98ff8.js → swirl-icon-tasks.entry.6a2dbd4d.js} +1 -1
- package/dist/{swirl-icon-terminal.entry.3623e38f.js → swirl-icon-terminal.entry.c9290b0a.js} +1 -1
- package/dist/{swirl-icon-time-filled.entry.acf79b06.js → swirl-icon-time-filled.entry.6ca3fea2.js} +1 -1
- package/dist/{swirl-icon-time.entry.f83329e5.js → swirl-icon-time.entry.3cec47e1.js} +1 -1
- package/dist/{swirl-icon-today-filled.entry.421c710f.js → swirl-icon-today-filled.entry.05ea92bd.js} +1 -1
- package/dist/{swirl-icon-translate.entry.7e470a6c.js → swirl-icon-translate.entry.0da79522.js} +1 -1
- package/dist/{swirl-icon-tree-structure.entry.c1c5c458.js → swirl-icon-tree-structure.entry.57691227.js} +1 -1
- package/dist/{swirl-icon-undo.entry.925b12e6.js → swirl-icon-undo.entry.78e18a2b.js} +1 -1
- package/dist/{swirl-icon-unlock-person.entry.a99637b4.js → swirl-icon-unlock-person.entry.2d665e57.js} +1 -1
- package/dist/{swirl-icon-user-add.entry.7da95eb9.js → swirl-icon-user-add.entry.57f4a81b.js} +1 -1
- package/dist/{swirl-icon-user-assign.entry.fd159407.js → swirl-icon-user-assign.entry.4538f4d4.js} +1 -1
- package/dist/{swirl-icon-video-camera-off.entry.6dbaf816.js → swirl-icon-video-camera-off.entry.305b5f88.js} +1 -1
- package/dist/{swirl-icon-video-camera.entry.2090966b.js → swirl-icon-video-camera.entry.3936c97b.js} +1 -1
- package/dist/{swirl-icon-video-library.entry.6711b119.js → swirl-icon-video-library.entry.bcdbbbe3.js} +1 -1
- package/dist/{swirl-icon-voice.entry.1bc59206.js → swirl-icon-voice.entry.69c97f7c.js} +1 -1
- package/dist/{swirl-icon-web-asset-off.entry.ab6fb757.js → swirl-icon-web-asset-off.entry.02843f2e.js} +1 -1
- package/dist/{swirl-icon-web-asset.entry.e83f4a1b.js → swirl-icon-web-asset.entry.15fd7149.js} +1 -1
- package/dist/{swirl-icon-work.entry.b40acb6d.js → swirl-icon-work.entry.4e67aefc.js} +1 -1
- package/dist/{swirl-icon.entry.76098668.js → swirl-icon.entry.bd2fc0af.js} +1 -1
- package/dist/{swirl-image-grid-item.entry.487bb4b5.js → swirl-image-grid-item.entry.ffc4a09e.js} +1 -1
- package/dist/{swirl-image-grid.entry.c2955cba.js → swirl-image-grid.entry.b0c8f15f.js} +1 -1
- package/dist/{swirl-inline-notification.entry.f082bfe7.js → swirl-inline-notification.entry.58386690.js} +1 -1
- package/dist/{swirl-inline-status.entry.b72960b6.js → swirl-inline-status.entry.c030e09f.js} +1 -1
- package/dist/{swirl-lightbox.entry.ebc68a2d.js → swirl-lightbox.entry.c2dbca9f.js} +1 -1
- package/dist/{swirl-link.entry.4c17eb97.js → swirl-link.entry.72df2005.js} +1 -1
- package/dist/{swirl-list.entry.4f382817.js → swirl-list.entry.9f2fbf0e.js} +1 -1
- package/dist/{swirl-menu-item.entry.e5fae326.js → swirl-menu-item.entry.8469ea8d.js} +1 -1
- package/dist/{swirl-menu.entry.4cf87989.js → swirl-menu.entry.766b5929.js} +1 -1
- package/dist/{swirl-modal.entry.c1ff3c58.js → swirl-modal.entry.25680d0d.js} +1 -1
- package/dist/{swirl-option-list-section.entry.2bfc9236.js → swirl-option-list-section.entry.7202d6fd.js} +1 -1
- package/dist/{swirl-option-list_2.entry.e572ba17.js → swirl-option-list_2.entry.37cc954a.js} +1 -1
- package/dist/{swirl-pagination.entry.3ba35068.js → swirl-pagination.entry.204509ce.js} +1 -1
- package/dist/{swirl-pdf-reader.entry.e770dfd5.js → swirl-pdf-reader.entry.dac337d8.js} +1 -1
- package/dist/{swirl-popover_2.entry.dab29992.js → swirl-popover_2.entry.7798b574.js} +1 -1
- package/dist/{swirl-progress-indicator.entry.2533ae20.js → swirl-progress-indicator.entry.178ba7cc.js} +1 -1
- package/dist/{swirl-radio-group.entry.05ee0a7e.js → swirl-radio-group.entry.a614b287.js} +1 -1
- package/dist/{swirl-radio.entry.2c7ab7d3.js → swirl-radio.entry.61bf1fbe.js} +1 -1
- package/dist/{swirl-resource-list-file-item.entry.6e05e640.js → swirl-resource-list-file-item.entry.0db24c7c.js} +1 -1
- package/dist/{swirl-search.entry.aaf143b0.js → swirl-search.entry.ae1bfcc2.js} +1 -1
- package/dist/{swirl-select.entry.bf642593.js → swirl-select.entry.2a9a6861.js} +1 -1
- package/dist/{swirl-shell-layout.entry.9c832492.js → swirl-shell-layout.entry.7db0f9f7.js} +1 -1
- package/dist/{swirl-shell-navigation-item.entry.c8bbbd01.js → swirl-shell-navigation-item.entry.8bfca328.js} +1 -1
- package/dist/{swirl-skeleton-box.entry.e708092e.js → swirl-skeleton-box.entry.a612bf74.js} +1 -1
- package/dist/{swirl-skeleton-text.entry.8f28a750.js → swirl-skeleton-text.entry.abd5efa6.js} +1 -1
- package/dist/{swirl-stack.entry.55f3be7e.js → swirl-stack.entry.04f9a99b.js} +1 -1
- package/dist/{swirl-status-indicator.entry.5ea1a05c.js → swirl-status-indicator.entry.b7723aa6.js} +1 -1
- package/dist/{swirl-switch.entry.9ddedb66.js → swirl-switch.entry.3569af50.js} +1 -1
- package/dist/{swirl-symbol-account-circle.entry.8c32a9f0.js → swirl-symbol-account-circle.entry.26572bea.js} +1 -1
- package/dist/{swirl-symbol-alternate-email.entry.17e79c16.js → swirl-symbol-alternate-email.entry.f2ab40e0.js} +1 -1
- package/dist/{swirl-symbol-android.entry.d2dfcd61.js → swirl-symbol-android.entry.b0f142f2.js} +1 -1
- package/dist/{swirl-symbol-announcement.entry.544eb392.js → swirl-symbol-announcement.entry.713e9cb1.js} +1 -1
- package/dist/{swirl-symbol-backup.entry.6926f409.js → swirl-symbol-backup.entry.e1ec0c0e.js} +1 -1
- package/dist/{swirl-symbol-beach-access.entry.83527fa1.js → swirl-symbol-beach-access.entry.abef9121.js} +1 -1
- package/dist/{swirl-symbol-bookmark.entry.fee98094.js → swirl-symbol-bookmark.entry.e347c732.js} +1 -1
- package/dist/{swirl-symbol-cloud.entry.47f0b821.js → swirl-symbol-cloud.entry.320f7af4.js} +1 -1
- package/dist/{swirl-symbol-coronavirus.entry.8b56d245.js → swirl-symbol-coronavirus.entry.a1db7783.js} +1 -1
- package/dist/{swirl-symbol-desktop-windows.entry.e6d6b53e.js → swirl-symbol-desktop-windows.entry.700fe8f3.js} +1 -1
- package/dist/{swirl-symbol-directions-car-filled.entry.89a91bef.js → swirl-symbol-directions-car-filled.entry.db789cbf.js} +1 -1
- package/dist/{swirl-symbol-edit-calendar.entry.a0bcb128.js → swirl-symbol-edit-calendar.entry.8c634487.js} +1 -1
- package/dist/{swirl-symbol-email.entry.f81654fa.js → swirl-symbol-email.entry.bf9ed6e2.js} +1 -1
- package/dist/{swirl-symbol-emoji-food-beverage.entry.25c4598f.js → swirl-symbol-emoji-food-beverage.entry.733861df.js} +1 -1
- package/dist/{swirl-symbol-event-menu.entry.ad1e8ee2.js → swirl-symbol-event-menu.entry.278af42c.js} +1 -1
- package/dist/{swirl-symbol-facebook.entry.af7625cb.js → swirl-symbol-facebook.entry.57c64e87.js} +1 -1
- package/dist/{swirl-symbol-favorite.entry.e2c0c289.js → swirl-symbol-favorite.entry.63ed3634.js} +1 -1
- package/dist/{swirl-symbol-fitness-center.entry.cc6cfb93.js → swirl-symbol-fitness-center.entry.1c987f45.js} +1 -1
- package/dist/{swirl-symbol-flag.entry.4850a9ed.js → swirl-symbol-flag.entry.16290f9b.js} +1 -1
- package/dist/{swirl-symbol-folder.entry.6af98256.js → swirl-symbol-folder.entry.1651eda2.js} +1 -1
- package/dist/{swirl-symbol-globe.entry.82d957bf.js → swirl-symbol-globe.entry.3b3b72de.js} +1 -1
- package/dist/{swirl-symbol-groups.entry.490db415.js → swirl-symbol-groups.entry.76ece166.js} +1 -1
- package/dist/{swirl-symbol-help.entry.e1da532a.js → swirl-symbol-help.entry.1793b942.js} +1 -1
- package/dist/{swirl-symbol-image.entry.ee144a86.js → swirl-symbol-image.entry.b9988860.js} +1 -1
- package/dist/{swirl-symbol-info-menu.entry.cad810d6.js → swirl-symbol-info-menu.entry.3f6cfc3d.js} +1 -1
- package/dist/{swirl-symbol-instagram.entry.ab193c48.js → swirl-symbol-instagram.entry.1a45c804.js} +1 -1
- package/dist/{swirl-symbol-ios.entry.4d11aa95.js → swirl-symbol-ios.entry.2878430c.js} +1 -1
- package/dist/{swirl-symbol-language.entry.0b2b4e6e.js → swirl-symbol-language.entry.59ab66e7.js} +1 -1
- package/dist/{swirl-symbol-leaderboard.entry.11023b93.js → swirl-symbol-leaderboard.entry.50822583.js} +1 -1
- package/dist/{swirl-symbol-lightbulb.entry.fe0d8a9b.js → swirl-symbol-lightbulb.entry.0b5d406f.js} +1 -1
- package/dist/{swirl-symbol-linkedin.entry.c6577410.js → swirl-symbol-linkedin.entry.279b314b.js} +1 -1
- package/dist/{swirl-symbol-location-on.entry.30ac32c9.js → swirl-symbol-location-on.entry.cb279410.js} +1 -1
- package/dist/{swirl-symbol-loyalty.entry.124c7b36.js → swirl-symbol-loyalty.entry.ebac0b87.js} +1 -1
- package/dist/{swirl-symbol-maps-home-work.entry.adad832e.js → swirl-symbol-maps-home-work.entry.12642da2.js} +1 -1
- package/dist/{swirl-symbol-notifications.entry.8dea119a.js → swirl-symbol-notifications.entry.4d7c0610.js} +1 -1
- package/dist/{swirl-symbol-open-in-new.entry.b8c4c17c.js → swirl-symbol-open-in-new.entry.b37b056e.js} +1 -1
- package/dist/{swirl-symbol-pedal-bike.entry.3983758d.js → swirl-symbol-pedal-bike.entry.3b098e4b.js} +1 -1
- package/dist/{swirl-symbol-pinterest.entry.3d22793e.js → swirl-symbol-pinterest.entry.92cf15b5.js} +1 -1
- package/dist/{swirl-symbol-policy.entry.37d2315c.js → swirl-symbol-policy.entry.115fda9a.js} +1 -1
- package/dist/{swirl-symbol-push-pin.entry.914ed4f2.js → swirl-symbol-push-pin.entry.bbd6a2a4.js} +1 -1
- package/dist/{swirl-symbol-redeem.entry.710189cc.js → swirl-symbol-redeem.entry.ea8ab1c4.js} +1 -1
- package/dist/{swirl-symbol-report-problem.entry.8dcf9d99.js → swirl-symbol-report-problem.entry.f7517edb.js} +1 -1
- package/dist/{swirl-symbol-restaurant.entry.6f0dd8cc.js → swirl-symbol-restaurant.entry.d5b7e3dc.js} +1 -1
- package/dist/{swirl-symbol-roadmap.entry.ef211e36.js → swirl-symbol-roadmap.entry.3d089835.js} +1 -1
- package/dist/{swirl-symbol-room.entry.6f329c7d.js → swirl-symbol-room.entry.c27a0689.js} +1 -1
- package/dist/{swirl-symbol-savings.entry.d484fb6e.js → swirl-symbol-savings.entry.af8b88a4.js} +1 -1
- package/dist/{swirl-symbol-settings-voice.entry.96d616b8.js → swirl-symbol-settings-voice.entry.cbbf19cc.js} +1 -1
- package/dist/{swirl-symbol-shopping-cart.entry.8816f522.js → swirl-symbol-shopping-cart.entry.e9347822.js} +1 -1
- package/dist/{swirl-symbol-smartphone.entry.8eb1667b.js → swirl-symbol-smartphone.entry.4494a63f.js} +1 -1
- package/dist/{swirl-symbol-star.entry.36969d41.js → swirl-symbol-star.entry.83fe6208.js} +1 -1
- package/dist/{swirl-symbol-supervisor-account.entry.7bc55232.js → swirl-symbol-supervisor-account.entry.e054bc70.js} +1 -1
- package/dist/{swirl-symbol-thumbs-up-down.entry.f81891ca.js → swirl-symbol-thumbs-up-down.entry.ec4fae0d.js} +1 -1
- package/dist/{swirl-symbol-twitter.entry.33d41721.js → swirl-symbol-twitter.entry.eeb169fb.js} +1 -1
- package/dist/{swirl-symbol-wb-sunny.entry.a90c8fb2.js → swirl-symbol-wb-sunny.entry.deab3320.js} +1 -1
- package/dist/{swirl-symbol-wechat.entry.0bcd2a3e.js → swirl-symbol-wechat.entry.3b75da61.js} +1 -1
- package/dist/{swirl-symbol-weibo.entry.9f54bef7.js → swirl-symbol-weibo.entry.d682743e.js} +1 -1
- package/dist/{swirl-symbol-work.entry.12466aca.js → swirl-symbol-work.entry.7a08350d.js} +1 -1
- package/dist/{swirl-symbol-xing.entry.1498b861.js → swirl-symbol-xing.entry.9cc0bf04.js} +1 -1
- package/dist/{swirl-symbol-youtube.entry.833cb14b.js → swirl-symbol-youtube.entry.406100ac.js} +1 -1
- package/dist/{swirl-symbol.entry.ad3661c3.js → swirl-symbol.entry.fdcb4fe6.js} +1 -1
- package/dist/{swirl-tab-bar.entry.6d726b45.js → swirl-tab-bar.entry.d6a6b5d9.js} +1 -1
- package/dist/{swirl-tab.entry.54e20b71.js → swirl-tab.entry.2abb7dd2.js} +1 -1
- package/dist/{swirl-table-cell.entry.9a91676b.js → swirl-table-cell.entry.2f9b1030.js} +1 -1
- package/dist/{swirl-table-column.entry.5a534963.js → swirl-table-column.entry.f7c6627f.js} +1 -1
- package/dist/{swirl-table-row-group.entry.d313f7c5.js → swirl-table-row-group.entry.b66c678e.js} +1 -1
- package/dist/{swirl-table-row.entry.f897102a.js → swirl-table-row.entry.694f2f6a.js} +1 -1
- package/dist/{swirl-table.entry.eb6f92f3.js → swirl-table.entry.6e4b108d.js} +1 -1
- package/dist/{swirl-tabs.entry.8a26d064.js → swirl-tabs.entry.e81117d2.js} +1 -1
- package/dist/{swirl-text-input.entry.c33a943c.js → swirl-text-input.entry.1b495f49.js} +1 -1
- package/dist/{swirl-text.entry.cb9e7048.js → swirl-text.entry.c3faafa5.js} +1 -1
- package/dist/{swirl-theme-provider.entry.40616af5.js → swirl-theme-provider.entry.d395b3a3.js} +1 -1
- package/dist/{swirl-time-input.entry.2245d0cb.js → swirl-time-input.entry.46e1ae4d.js} +1 -1
- package/dist/{swirl-toast-provider.entry.715d1438.js → swirl-toast-provider.entry.d750b1f2.js} +1 -1
- package/dist/{swirl-toast.entry.8c9b9c07.js → swirl-toast.entry.0ee06f19.js} +1 -1
- package/dist/{swirl-toolbar.entry.058d3c83.js → swirl-toolbar.entry.ba566c79.js} +1 -1
- package/dist/{swirl-tooltip.entry.8baf9d80.js → swirl-tooltip.entry.1d37bb21.js} +1 -1
- package/dist/{swirl-tree-navigation-item.entry.94ca0003.js → swirl-tree-navigation-item.entry.66275e88.js} +1 -1
- package/dist/{swirl-video-thumbnail.entry.9ac5c2b7.js → swirl-video-thumbnail.entry.b3473cf4.js} +1 -1
- package/dist/{swirl-visually-hidden.entry.0e08dd64.js → swirl-visually-hidden.entry.c965a87f.js} +1 -1
- package/dist/{wc-datepicker.entry.e4a88512.js → wc-datepicker.entry.c70be19a.js} +1 -1
- package/package.json +2 -2
package/dist/{swirl-file-viewer_7.entry.caf0c167.js → swirl-file-viewer_7.entry.4c16d8e2.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as zt, c as Rt, h as qe, H as jt, g as Qt } from "./index.
|
|
1
|
+
import { r as zt, c as Rt, h as qe, H as jt, g as Qt } from "./index.3849c5f8.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, f as ia, i as aa } from "./utils-9b747dd7.4c4c7dc0.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
var Wn = { exports: {} };
|
|
8
|
-
(function(
|
|
8
|
+
(function(De, Ee) {
|
|
9
9
|
(function(Ie, Te) {
|
|
10
10
|
Te();
|
|
11
11
|
})(vt, function() {
|
|
@@ -20,7 +20,7 @@ var Wn = { exports: {} };
|
|
|
20
20
|
console.error("could not download file");
|
|
21
21
|
}, R.send();
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Le(o) {
|
|
24
24
|
var c = new XMLHttpRequest();
|
|
25
25
|
c.open("HEAD", o, !1);
|
|
26
26
|
try {
|
|
@@ -40,7 +40,7 @@ var Wn = { exports: {} };
|
|
|
40
40
|
var B = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof vt == "object" && vt.global === vt ? vt : void 0, v = B.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), n = B.saveAs || (typeof window != "object" || window !== B ? function() {
|
|
41
41
|
} : "download" in HTMLAnchorElement.prototype && !v ? function(o, c, T) {
|
|
42
42
|
var R = B.URL || B.webkitURL, O = document.createElement("a");
|
|
43
|
-
c = c || o.name || "download", O.download = c, O.rel = "noopener", typeof o == "string" ? (O.href = o, O.origin === location.origin ? Qe(O) :
|
|
43
|
+
c = c || o.name || "download", O.download = c, O.rel = "noopener", typeof o == "string" ? (O.href = o, O.origin === location.origin ? Qe(O) : Le(O.href) ? Te(o, c, T) : Qe(O, O.target = "_blank")) : (O.href = R.createObjectURL(o), setTimeout(function() {
|
|
44
44
|
R.revokeObjectURL(O.href);
|
|
45
45
|
}, 4e4), setTimeout(function() {
|
|
46
46
|
Qe(O);
|
|
@@ -48,7 +48,7 @@ var Wn = { exports: {} };
|
|
|
48
48
|
} : "msSaveOrOpenBlob" in navigator ? function(o, c, T) {
|
|
49
49
|
if (c = c || o.name || "download", typeof o != "string")
|
|
50
50
|
navigator.msSaveOrOpenBlob(Ie(o, T), c);
|
|
51
|
-
else if (
|
|
51
|
+
else if (Le(o))
|
|
52
52
|
Te(o, c, T);
|
|
53
53
|
else {
|
|
54
54
|
var R = document.createElement("a");
|
|
@@ -73,33 +73,33 @@ var Wn = { exports: {} };
|
|
|
73
73
|
}, 4e4);
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
B.saveAs = n.saveAs = n,
|
|
76
|
+
B.saveAs = n.saveAs = n, De.exports = n;
|
|
77
77
|
});
|
|
78
78
|
})(Wn);
|
|
79
79
|
const sa = ":host{display:block;width:100%;height:100%;pointer-events:none}:host *{box-sizing:border-box}.file-viewer{display:flex;width:100%;height:100%;justify-content:center;align-items:center}.file-viewer__file{display:inline-flex;width:100%;height:100%;justify-content:center;align-items:center}", oa = sa, la = class {
|
|
80
|
-
constructor(
|
|
81
|
-
zt(this,
|
|
80
|
+
constructor(De) {
|
|
81
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.visiblePagesChange = Rt(this, "visiblePagesChange", 7), this.onActivate = (Ee) => {
|
|
82
82
|
this.activate.emit(Ee.detail);
|
|
83
83
|
}, this.onVisiblePagesChange = (Ee) => {
|
|
84
84
|
this.visiblePagesChange.emit(Ee.detail);
|
|
85
|
-
}, this.active = !0, this.autoplay = void 0, this.description = void 0, this.errorMessage = "File could not be loaded.", this.file = void 0, this.fileName = void 0, this.pdfWorkerSrc = void 0, this.thumbnailUrl = void 0, this.type = void 0, this.typeUnsupportedMessage = "File type is not supported.", this.viewMode = "single", this.zoom = 1;
|
|
85
|
+
}, this.active = !0, this.autoplay = void 0, this.description = void 0, this.disableDownload = void 0, this.errorMessage = "File could not be loaded.", this.file = void 0, this.fileName = void 0, this.pdfWorkerSrc = void 0, this.thumbnailUrl = void 0, this.type = void 0, this.typeUnsupportedMessage = "File type is not supported.", this.viewMode = "single", this.zoom = 1;
|
|
86
86
|
}
|
|
87
87
|
async download() {
|
|
88
|
-
const
|
|
89
|
-
Wn.exports.saveAs(await Ee.blob(),
|
|
88
|
+
const De = this.fileName || this.file.split("/").pop(), Ee = await fetch(this.file);
|
|
89
|
+
Wn.exports.saveAs(await Ee.blob(), De);
|
|
90
90
|
}
|
|
91
91
|
async print() {
|
|
92
92
|
this.type === "application/pdf" && this.viewer.print();
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
const
|
|
96
|
-
return qe(jt, { key: "
|
|
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 qe(jt, { key: "b4bf3cf48bdf55b5a5247d2d9d00d2dd2a653922" }, qe("div", { key: "b9c135b1150e6c9b5a090a6ac78b04ca36e391cc", class: "file-viewer" }, this.type && this.active && qe("div", { key: "d01dd4d3496474e41c93fbf480f4d4c86f88d3cf", class: "file-viewer__file" }, this.type.startsWith("image/") && qe("swirl-file-viewer-image", { key: "0a67087ddcf5569804bf42f8f3026fcd99ff6b8d", description: this.description, errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "text/plain" && qe("swirl-file-viewer-text", { key: "3e9e0aa3c2e793226e21b8054fdbfff0fa28d9b8", errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "text/csv" && qe("swirl-file-viewer-csv", { key: "83be558b789a82eeac46c67af061b634f7dc72c1", errorMessage: this.errorMessage, file: this.file, ref: (Ee) => this.viewer = Ee }), this.type === "application/pdf" && qe("swirl-file-viewer-pdf", { key: "68bb685041185dd29d07be8e48e7038492d75e57", errorMessage: this.errorMessage, file: this.file, onActivate: this.onActivate, onVisiblePagesChange: this.onVisiblePagesChange, ref: (Ee) => this.viewer = Ee, viewMode: this.viewMode, workerSrc: this.pdfWorkerSrc, zoom: this.zoom }), this.type.startsWith("video/") && qe("swirl-file-viewer-video", { key: "66af2a88573a3e2b8019dad662cf32e6f15b1f3e", autoplay: this.autoplay, disableDownload: this.disableDownload, file: this.file, ref: (Ee) => this.viewer = Ee, type: this.type }), this.type.startsWith("audio/") && qe("swirl-file-viewer-audio", { key: "3ff7c5aefbb892cd34a11a172e674a7ecfd7769d", autoplay: this.autoplay, file: this.file, ref: (Ee) => this.viewer = Ee, type: this.type }), De && qe("swirl-inline-error", { key: "3d437e0bfedf35206ac3e1c88b6e93e26ccff3be", message: this.typeUnsupportedMessage }))));
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
la.style = oa;
|
|
100
100
|
const ca = ":host{display:inline-flex;width:100%;height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-audio__audio{width:100%;height:100%}", ua = ca, da = class {
|
|
101
|
-
constructor(
|
|
102
|
-
zt(this,
|
|
101
|
+
constructor(De) {
|
|
102
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.autoplay = void 0, this.file = void 0, this.type = void 0;
|
|
103
103
|
}
|
|
104
104
|
componentDidLoad() {
|
|
105
105
|
this.activate.emit(this.el);
|
|
@@ -119,11 +119,11 @@ v5.3.2
|
|
|
119
119
|
https://github.com/mholt/PapaParse
|
|
120
120
|
License: MIT
|
|
121
121
|
*/
|
|
122
|
-
(function(
|
|
122
|
+
(function(De, Ee) {
|
|
123
123
|
(function(Ie, Te) {
|
|
124
|
-
|
|
124
|
+
De.exports = Te();
|
|
125
125
|
})(vt, function Ie() {
|
|
126
|
-
var Te = typeof self < "u" ? self : typeof window < "u" ? window : Te !== void 0 ? Te : {},
|
|
126
|
+
var Te = typeof self < "u" ? self : typeof window < "u" ? window : Te !== void 0 ? Te : {}, Le = !Te.document && !!Te.postMessage, Qe = Le && /blob:/i.test((Te.location || {}).protocol), B = {}, v = 0, n = { parse: function(p, b) {
|
|
127
127
|
var u = (b = b || {}).dynamicTyping || !1;
|
|
128
128
|
if (F(u) && (b.dynamicTypingFunction = u, u = {}), b.dynamicTyping = u, b.transform = !!F(b.transform) && b.transform, b.worker && n.WORKERS_SUPPORTED) {
|
|
129
129
|
var t = function() {
|
|
@@ -206,7 +206,7 @@ License: MIT
|
|
|
206
206
|
}
|
|
207
207
|
} };
|
|
208
208
|
if (n.RECORD_SEP = String.fromCharCode(30), n.UNIT_SEP = String.fromCharCode(31), n.BYTE_ORDER_MARK = "\uFEFF", n.BAD_DELIMITERS = ["\r", `
|
|
209
|
-
`, '"', n.BYTE_ORDER_MARK], n.WORKERS_SUPPORTED = !
|
|
209
|
+
`, '"', n.BYTE_ORDER_MARK], n.WORKERS_SUPPORTED = !Le && !!Te.Worker, n.NODE_STREAM_INPUT = 1, n.LocalChunkSize = 10485760, n.RemoteChunkSize = 5242880, n.DefaultDelimiter = ",", n.Parser = D, n.ParserHandle = m, n.NetworkStreamer = T, n.FileStreamer = R, n.StringStreamer = O, n.ReadableStreamStreamer = P, Te.jQuery) {
|
|
210
210
|
var o = Te.jQuery;
|
|
211
211
|
o.fn.parse = function(p) {
|
|
212
212
|
var b = p.config || {}, u = [];
|
|
@@ -275,7 +275,7 @@ License: MIT
|
|
|
275
275
|
}
|
|
276
276
|
function T(p) {
|
|
277
277
|
var b;
|
|
278
|
-
(p = p || {}).chunkSize || (p.chunkSize = n.RemoteChunkSize), c.call(this, p), this._nextChunk =
|
|
278
|
+
(p = p || {}).chunkSize || (p.chunkSize = n.RemoteChunkSize), c.call(this, p), this._nextChunk = Le ? function() {
|
|
279
279
|
this._readChunk(), this._chunkLoaded();
|
|
280
280
|
} : function() {
|
|
281
281
|
this._readChunk();
|
|
@@ -285,7 +285,7 @@ License: MIT
|
|
|
285
285
|
if (this._finished)
|
|
286
286
|
this._chunkLoaded();
|
|
287
287
|
else {
|
|
288
|
-
if (b = new XMLHttpRequest(), this._config.withCredentials && (b.withCredentials = this._config.withCredentials),
|
|
288
|
+
if (b = new XMLHttpRequest(), this._config.withCredentials && (b.withCredentials = this._config.withCredentials), Le || (b.onload = w(this._chunkLoaded, this), b.onerror = w(this._chunkError, this)), b.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !Le), this._config.downloadRequestHeaders) {
|
|
289
289
|
var u = this._config.downloadRequestHeaders;
|
|
290
290
|
for (var t in u)
|
|
291
291
|
b.setRequestHeader(t, u[t]);
|
|
@@ -299,7 +299,7 @@ License: MIT
|
|
|
299
299
|
} catch (f) {
|
|
300
300
|
this._chunkError(f.message);
|
|
301
301
|
}
|
|
302
|
-
|
|
302
|
+
Le && b.status === 0 && this._chunkError();
|
|
303
303
|
}
|
|
304
304
|
}, this._chunkLoaded = function() {
|
|
305
305
|
b.readyState === 4 && (b.status < 200 || 400 <= b.status ? this._chunkError() : (this._start += this._config.chunkSize ? this._config.chunkSize : b.responseText.length, this._finished = !this._config.chunkSize || this._start >= function(u) {
|
|
@@ -647,8 +647,8 @@ License: MIT
|
|
|
647
647
|
});
|
|
648
648
|
})(Un);
|
|
649
649
|
const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-csv__csv{overflow:auto;width:100%;max-height:100%;padding:var(--s-space-16);background-color:var(--s-background-default)}.file-viewer-csv__table{margin-right:auto;margin-left:auto;border-collapse:collapse;line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-csv__table{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-csv__cell{padding:var(--s-space-8);border:var(--s-border-width-default) solid var(--s-border-default)}.file-viewer-csv__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-csv__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", fa = ha, pa = class {
|
|
650
|
-
constructor(
|
|
651
|
-
zt(this,
|
|
650
|
+
constructor(De) {
|
|
651
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.errorMessage = "File could not be loaded.", this.file = void 0, this.data = void 0, this.error = void 0, this.loading = void 0;
|
|
652
652
|
}
|
|
653
653
|
componentWillLoad() {
|
|
654
654
|
this.updateTable();
|
|
@@ -657,7 +657,7 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
657
657
|
this.activate.emit(this.el);
|
|
658
658
|
}
|
|
659
659
|
async updateTable() {
|
|
660
|
-
var
|
|
660
|
+
var De;
|
|
661
661
|
this.error = !1, this.loading = !0;
|
|
662
662
|
try {
|
|
663
663
|
const Ee = await fetch(this.file), Ie = Un.exports.parse(await Ee.text(), {
|
|
@@ -665,7 +665,7 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
665
665
|
fastMode: !1,
|
|
666
666
|
skipEmptyLines: !0
|
|
667
667
|
});
|
|
668
|
-
if (((
|
|
668
|
+
if (((De = Ie.errors) == null ? void 0 : De.length) > 0) {
|
|
669
669
|
this.error = !0, this.loading = !1;
|
|
670
670
|
return;
|
|
671
671
|
}
|
|
@@ -675,8 +675,8 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
675
675
|
}
|
|
676
676
|
}
|
|
677
677
|
render() {
|
|
678
|
-
var
|
|
679
|
-
return qe(jt, { key: "9de54e5b54d7d03ac4c70e30781c59604088a1fa", class: "file-viewer-csv", exportparts: "file-viewer-csv__table" }, this.error && qe("swirl-inline-error", { key: "e3e066bc3834e4d7d1d50056dda8f1316b92a52d", class: "file-viewer-csv__error", message: this.errorMessage }), qe("div", { key: "9896303d4266e2c59799ea01487a3b2d740a4ffd", class: "file-viewer-csv__csv", tabIndex: 0 }, qe("table", { key: "f6b31328d070e77694bee923dbfaf65430cec0a4", class: "file-viewer-csv__table", part: "file-viewer-csv__table" }, qe("tbody", { key: "34d7e1f6ea9c81bf50a8f5ec23eb73f3d69959e3" }, (
|
|
678
|
+
var De;
|
|
679
|
+
return qe(jt, { key: "9de54e5b54d7d03ac4c70e30781c59604088a1fa", class: "file-viewer-csv", exportparts: "file-viewer-csv__table" }, this.error && qe("swirl-inline-error", { key: "e3e066bc3834e4d7d1d50056dda8f1316b92a52d", class: "file-viewer-csv__error", message: this.errorMessage }), qe("div", { key: "9896303d4266e2c59799ea01487a3b2d740a4ffd", class: "file-viewer-csv__csv", tabIndex: 0 }, qe("table", { key: "f6b31328d070e77694bee923dbfaf65430cec0a4", class: "file-viewer-csv__table", part: "file-viewer-csv__table" }, qe("tbody", { key: "34d7e1f6ea9c81bf50a8f5ec23eb73f3d69959e3" }, (De = this.data) == null ? void 0 : De.map((Ee, Ie) => qe("tr", { class: "file-viewer-csv__row", key: `row-${Ie}` }, Ee.map((Te, Le) => qe("td", { class: "file-viewer-csv__cell", key: `cell-${Ie}-${Le}` }, Te))))))), this.loading && qe("div", { key: "109596c95c2b4de6c276f9905f89a40daab4053d", class: "file-viewer-csv__spinner" }, qe("swirl-spinner", { key: "7582c12b0eea6c9eab16d1c45103451780ab0389" })));
|
|
680
680
|
}
|
|
681
681
|
get el() {
|
|
682
682
|
return Qt(this);
|
|
@@ -689,8 +689,8 @@ const ha = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
689
689
|
};
|
|
690
690
|
pa.style = fa;
|
|
691
691
|
const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-image__image{max-width:100%;-o-object-fit:contain;object-fit:contain}.file-viewer-image__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-image__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", ma = ga, va = class {
|
|
692
|
-
constructor(
|
|
693
|
-
zt(this,
|
|
692
|
+
constructor(De) {
|
|
693
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.panX = 0, this.panY = 0, this.zoom = 1, this.onError = () => {
|
|
694
694
|
this.error = !0, this.loading = !1;
|
|
695
695
|
}, this.onLoad = () => {
|
|
696
696
|
this.error = !1, this.loading = !1;
|
|
@@ -701,8 +701,8 @@ const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
|
|
|
701
701
|
const Ie = Math.min(Math.max(1, this.zoom + -1 * Ee.deltaY / 100), this.maxZoom);
|
|
702
702
|
if (Ie === this.zoom)
|
|
703
703
|
return;
|
|
704
|
-
const Te = Ee.offsetX,
|
|
705
|
-
this.updateTransformOrigin(Te,
|
|
704
|
+
const Te = Ee.offsetX, Le = Ee.offsetY;
|
|
705
|
+
this.updateTransformOrigin(Te, Le), this.updateZoomAndPan(Ie, 0, 0);
|
|
706
706
|
}, this.onPointerDown = (Ee) => {
|
|
707
707
|
this.startPan(Ee);
|
|
708
708
|
}, this.onPointerMove = (Ee) => {
|
|
@@ -725,13 +725,13 @@ const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
|
|
|
725
725
|
}, this.getPinchDistance = (Ee) => Math.hypot(Ee.touches[0].pageX - Ee.touches[1].pageX, Ee.touches[0].pageY - Ee.touches[1].pageY), this.clickToZoom = (Ee) => {
|
|
726
726
|
if (!(navigator.maxTouchPoints > 1))
|
|
727
727
|
if (this.zoom === 1) {
|
|
728
|
-
const Te = Ee.pageX - this.el.getBoundingClientRect().x,
|
|
729
|
-
this.updateTransformOrigin(Te,
|
|
728
|
+
const Te = Ee.pageX - this.el.getBoundingClientRect().x, Le = Ee.pageY - this.el.getBoundingClientRect().y;
|
|
729
|
+
this.updateTransformOrigin(Te, Le), this.updateZoomAndPan(2);
|
|
730
730
|
} else
|
|
731
731
|
this.updateZoomAndPan(1);
|
|
732
732
|
}, this.updateZoomAndPan = (Ee, Ie, Te) => {
|
|
733
|
-
const
|
|
734
|
-
this.zoom =
|
|
733
|
+
const Le = Ee === void 0 ? this.zoom : Ee, Qe = Le - this.zoom, B = Ie === void 0 ? this.panX + this.panX * Qe : Ie, v = Ie === void 0 ? this.panY + this.panY * Qe : Te, n = this.panX, o = this.panY;
|
|
734
|
+
this.zoom = Le, this.panX = B, this.panY = v;
|
|
735
735
|
const c = (this.el.parentElement || this.el).getBoundingClientRect(), T = this.imageEl.getBoundingClientRect(), R = T.right < c.right && B < n || T.left > c.left && B > n, O = T.bottom < c.bottom && v < o || T.top > c.top && v > o;
|
|
736
736
|
R && (this.panX = n), O && (this.panY = o), this.zoom === 1 && (this.panX = 0, this.panY = 0), this.imageEl.style.transform = `matrix(${this.zoom}, 0, 0, ${this.zoom}, ${this.panX}, ${this.panY})`;
|
|
737
737
|
}, this.updateTransformOrigin = (Ee, Ie) => {
|
|
@@ -743,8 +743,8 @@ const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
|
|
|
743
743
|
if (this.previousScreenX = Ee.screenX, this.previousScreenY = Ee.screenY, !this.panning || this.pinching)
|
|
744
744
|
return;
|
|
745
745
|
Ee.preventDefault();
|
|
746
|
-
const
|
|
747
|
-
this.updateZoomAndPan(this.zoom,
|
|
746
|
+
const Le = this.panX + Ee.screenX - Ie, Qe = this.panY + Ee.screenY - Te;
|
|
747
|
+
this.updateZoomAndPan(this.zoom, Le, Qe);
|
|
748
748
|
}, this.endPan = () => {
|
|
749
749
|
this.panning = !1;
|
|
750
750
|
}, this.description = "", this.errorMessage = "File could not be loaded.", this.file = void 0, this.maxZoom = 3, this.error = void 0, this.loading = !0;
|
|
@@ -762,7 +762,7 @@ const ga = ":host{position:relative;display:inline-flex;max-height:100%;pointer-
|
|
|
762
762
|
return this.updateZoomAndPan(1);
|
|
763
763
|
}
|
|
764
764
|
render() {
|
|
765
|
-
return qe(jt, { key: "344f6ae2acaadab72556d29101884444c96bfe60", 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 && qe("swirl-inline-error", { key: "91a9b17afab842a29e8e6c088db976a75aae623f", class: "file-viewer-image__error", message: this.errorMessage }), qe("img", { key: "dd2beccac1e94d4f41b02e8c9d80950920053c07", alt: this.description, class: "file-viewer-image__image", onError: this.onError, onLoad: this.onLoad, ref: (
|
|
765
|
+
return qe(jt, { key: "344f6ae2acaadab72556d29101884444c96bfe60", 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 && qe("swirl-inline-error", { key: "91a9b17afab842a29e8e6c088db976a75aae623f", class: "file-viewer-image__error", message: this.errorMessage }), qe("img", { key: "dd2beccac1e94d4f41b02e8c9d80950920053c07", alt: this.description, class: "file-viewer-image__image", onError: this.onError, onLoad: this.onLoad, ref: (De) => this.imageEl = De, src: this.file }), this.loading && qe("div", { key: "2dd07c6c3aec5fce3a94a1e3db3187accb631e11", class: "file-viewer-image__spinner" }, qe("swirl-spinner", { key: "78fbffa011dbc99db992c83313b60871ff2ffe6c" })));
|
|
766
766
|
}
|
|
767
767
|
get el() {
|
|
768
768
|
return Qt(this);
|
|
@@ -780,9 +780,9 @@ var Or = { exports: {} }, zn = { exports: {} };
|
|
|
780
780
|
* Copyright 2022 © thednp
|
|
781
781
|
* Licensed under MIT (https://github.com/thednp/DOMMatrix/blob/master/LICENSE)
|
|
782
782
|
*/
|
|
783
|
-
(function(
|
|
783
|
+
(function(De, Ee) {
|
|
784
784
|
(function(Ie, Te) {
|
|
785
|
-
|
|
785
|
+
De.exports = Te();
|
|
786
786
|
})(vt, function() {
|
|
787
787
|
function Ie(r) {
|
|
788
788
|
var l = new P(), A = Array.from(r);
|
|
@@ -827,7 +827,7 @@ var Or = { exports: {} }, zn = { exports: {} };
|
|
|
827
827
|
);
|
|
828
828
|
throw TypeError('CSSMatrix: "' + JSON.stringify(r) + '" is not a DOMMatrix / CSSMatrix / JSON compatible object.');
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function Le(r) {
|
|
831
831
|
if (typeof r != "string")
|
|
832
832
|
throw TypeError('CSSMatrix: "' + r + '" is not a string.');
|
|
833
833
|
var l = String(r).replace(/\s/g, ""), A = new P(), h = 'CSSMatrix: invalid transform string "' + r + '"';
|
|
@@ -1005,7 +1005,7 @@ var Or = { exports: {} }, zn = { exports: {} };
|
|
|
1005
1005
|
return r.m31 === 0 && r.m32 === 0 && r.m33 === 1 && r.m34 === 0 && r.m43 === 0 && r.m44 === 1;
|
|
1006
1006
|
}, P.prototype.setMatrixValue = function(l) {
|
|
1007
1007
|
var A = this;
|
|
1008
|
-
return typeof l == "string" && l.length && l !== "none" ?
|
|
1008
|
+
return typeof l == "string" && l.length && l !== "none" ? Le(l) : [Array, Float64Array, Float32Array].some(function(h) {
|
|
1009
1009
|
return l instanceof h;
|
|
1010
1010
|
}) ? Ie(l) : [P, DOMMatrix, Object].some(function(h) {
|
|
1011
1011
|
return l instanceof h;
|
|
@@ -1062,7 +1062,7 @@ var Or = { exports: {} }, zn = { exports: {} };
|
|
|
1062
1062
|
Multiply: O,
|
|
1063
1063
|
fromArray: Ie,
|
|
1064
1064
|
fromMatrix: Te,
|
|
1065
|
-
fromString:
|
|
1065
|
+
fromString: Le,
|
|
1066
1066
|
toArray: Qe
|
|
1067
1067
|
});
|
|
1068
1068
|
var y = "1.0.3", D = y;
|
|
@@ -1070,14 +1070,14 @@ var Or = { exports: {} }, zn = { exports: {} };
|
|
|
1070
1070
|
});
|
|
1071
1071
|
})(zn);
|
|
1072
1072
|
var Kr = { exports: {} };
|
|
1073
|
-
(function(
|
|
1073
|
+
(function(De, Ee) {
|
|
1074
1074
|
(function(Ie, Te) {
|
|
1075
1075
|
Te(Ee);
|
|
1076
1076
|
})(vt, function(Ie) {
|
|
1077
1077
|
var Te = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol : function(e) {
|
|
1078
1078
|
return "Symbol(" + e + ")";
|
|
1079
1079
|
};
|
|
1080
|
-
function
|
|
1080
|
+
function Le() {
|
|
1081
1081
|
}
|
|
1082
1082
|
function Qe() {
|
|
1083
1083
|
if (typeof self < "u")
|
|
@@ -1091,7 +1091,7 @@ var Kr = { exports: {} };
|
|
|
1091
1091
|
function v(e) {
|
|
1092
1092
|
return typeof e == "object" && e !== null || typeof e == "function";
|
|
1093
1093
|
}
|
|
1094
|
-
var n =
|
|
1094
|
+
var n = Le, o = Promise, c = Promise.prototype.then, T = Promise.resolve.bind(o), R = Promise.reject.bind(o);
|
|
1095
1095
|
function O(e) {
|
|
1096
1096
|
return new o(e);
|
|
1097
1097
|
}
|
|
@@ -2562,7 +2562,7 @@ var Kr = { exports: {} };
|
|
|
2562
2562
|
return O(function(Ye, it) {
|
|
2563
2563
|
fe(Me, {
|
|
2564
2564
|
_chunkSteps: function(lt) {
|
|
2565
|
-
Je = y(un(Ue, lt), void 0,
|
|
2565
|
+
Je = y(un(Ue, lt), void 0, Le), Ye(!1);
|
|
2566
2566
|
},
|
|
2567
2567
|
_closeSteps: function() {
|
|
2568
2568
|
return Ye(!0);
|
|
@@ -3109,7 +3109,7 @@ var Kr = { exports: {} };
|
|
|
3109
3109
|
pe._closeSteps(void 0);
|
|
3110
3110
|
}), x._readIntoRequests = new u());
|
|
3111
3111
|
var K = e._readableStreamController[$](i);
|
|
3112
|
-
return A(K,
|
|
3112
|
+
return A(K, Le);
|
|
3113
3113
|
}
|
|
3114
3114
|
function sr(e) {
|
|
3115
3115
|
e._state = "closed";
|
|
@@ -3457,9 +3457,9 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
|
|
|
3457
3457
|
__proto__: null,
|
|
3458
3458
|
default: ba
|
|
3459
3459
|
}), Kt = /* @__PURE__ */ ta(ya);
|
|
3460
|
-
(function(
|
|
3461
|
-
(function(Te,
|
|
3462
|
-
|
|
3460
|
+
(function(De, Ee) {
|
|
3461
|
+
(function(Te, Le) {
|
|
3462
|
+
De.exports = Le();
|
|
3463
3463
|
})(globalThis, () => (() => {
|
|
3464
3464
|
var Ie = [
|
|
3465
3465
|
,
|
|
@@ -15952,14 +15952,14 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
|
|
|
15952
15952
|
}
|
|
15953
15953
|
}
|
|
15954
15954
|
], Te = {};
|
|
15955
|
-
function
|
|
15955
|
+
function Le(B) {
|
|
15956
15956
|
var v = Te[B];
|
|
15957
15957
|
if (v !== void 0)
|
|
15958
15958
|
return v.exports;
|
|
15959
15959
|
var n = Te[B] = {
|
|
15960
15960
|
exports: {}
|
|
15961
15961
|
};
|
|
15962
|
-
return Ie[B](n, n.exports,
|
|
15962
|
+
return Ie[B](n, n.exports, Le), n.exports;
|
|
15963
15963
|
}
|
|
15964
15964
|
var Qe = {};
|
|
15965
15965
|
return (() => {
|
|
@@ -16152,18 +16152,18 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
|
|
|
16152
16152
|
return n.version;
|
|
16153
16153
|
}
|
|
16154
16154
|
});
|
|
16155
|
-
var v =
|
|
16155
|
+
var v = Le(1), n = Le(129), o = Le(133), c = Le(147), T = Le(132), R = Le(152), O = Le(140), P = Le(3), m = Le(155), y = Le(156), D = Le(154);
|
|
16156
16156
|
if (P.isNodeJS) {
|
|
16157
16157
|
const {
|
|
16158
16158
|
PDFNodeStream: r
|
|
16159
|
-
} =
|
|
16159
|
+
} = Le(157);
|
|
16160
16160
|
(0, n.setPDFNetworkStreamFactory)((l) => new r(l));
|
|
16161
16161
|
} else {
|
|
16162
16162
|
const {
|
|
16163
16163
|
PDFNetworkStream: r
|
|
16164
|
-
} =
|
|
16164
|
+
} = Le(160), {
|
|
16165
16165
|
PDFFetchStream: l
|
|
16166
|
-
} =
|
|
16166
|
+
} = Le(161);
|
|
16167
16167
|
(0, n.setPDFNetworkStreamFactory)((A) => (0, o.isValidFetchUrl)(A.url) ? new l(A) : new r(A));
|
|
16168
16168
|
}
|
|
16169
16169
|
})(), Qe;
|
|
@@ -16172,16 +16172,16 @@ const ba = {}, ya = /* @__PURE__ */ Object.freeze({
|
|
|
16172
16172
|
const Sa = /* @__PURE__ */ ea(Or.exports), Aa = ":host{position:relative;display:inline-flex;width:100%;height:100%;pointer-events:auto}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__pages{display:grid;grid-template-columns:repeat(2, 1fr);grid-row-gap:var(--s-space-8);grid-column-gap:var(--s-space-8);grid-auto-rows:auto}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page{margin:0}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page:nth-child(odd){justify-self:end}:host(.file-viewer-pdf--view-mode-side-by-side) .file-viewer-pdf__page:nth-child(even){justify-self:start}:host *{box-sizing:border-box}.file-viewer-pdf__pages{overflow:auto;width:100%;height:100%}@media (min-width: 768px){.file-viewer-pdf__pages{padding:var(--s-space-16)}}.file-viewer-pdf__page{position:relative;margin-right:auto;margin-left:auto;border-bottom:var(--s-border-width-default) solid var(--s-border-default);background-color:#fff}@media (min-width: 768px){.file-viewer-pdf__page{border:var(--s-border-width-default) solid var(--s-border-default)}.file-viewer-pdf__page:not(:last-of-type){margin-bottom:var(--s-space-8)}}.file-viewer-pdf__page-spinner{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}.file-viewer-pdf__canvas{display:flex;width:100%;height:100%;margin-right:auto;margin-left:auto}.file-viewer-pdf__text-container{position:absolute;overflow:hidden;line-height:1;text-align:initial;-webkit-user-select:none;-moz-user-select:none;user-select:none;inset:0;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.file-viewer-pdf__text-container>*{position:absolute;color:transparent;white-space:pre;cursor:text;transform-origin:0% 0%}.file-viewer-pdf__text-container>*.markedContent{top:0;height:0}.file-viewer-pdf__text-container>*.highlight{margin:-1px;padding:1px;border-radius:4px;background-color:rgba(180, 0, 170, 1)}.file-viewer-pdf__text-container>*.highlight.appended{position:initial}.file-viewer-pdf__text-container>*.highlight.begin{border-radius:4px 0 0 4px}.file-viewer-pdf__text-container>*.highlight.end{border-radius:0 4px 4px 0}.file-viewer-pdf__text-container>*.highlight.middle{border-radius:0}.file-viewer-pdf__text-container>*.highlight.selected{background-color:rgba(0, 100, 0, 1)}.file-viewer-pdf__text-container>*.endOfContent{position:absolute;z-index:-1;top:100%;right:0;bottom:0;left:0;display:block;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.file-viewer-pdf__text-container>*.endOfContent.active{top:0}.file-viewer-pdf__text-container>br::-moz-selection{background:transparent}.file-viewer-pdf__text-container>br::selection{background:transparent}@media (min-width: 768px){.file-viewer-pdf__text-container{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}}.file-viewer-pdf__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-pdf__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}.file-viewer-pdf__pagination{position:absolute;bottom:var(--s-space-16);left:50%;padding:var(--s-space-4) var(--s-space-12);border-radius:var(--s-border-radius-base);color:var(--s-text-on-image);background-color:rgba(0, 0, 0, 0.6);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base);transform:translateX(-50%);pointer-events:none}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-pdf__pagination{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}", wa = Aa;
|
|
16173
16173
|
window.pdf = Sa;
|
|
16174
16174
|
const _a = class {
|
|
16175
|
-
constructor(
|
|
16176
|
-
zt(this,
|
|
16177
|
-
var Ie, Te,
|
|
16178
|
-
const Ee = Math.ceil(((Ie = this.scrollContainer) == null ? void 0 : Ie.scrollTop) + ((Te = this.scrollContainer) == null ? void 0 : Te.offsetHeight)) >= ((
|
|
16175
|
+
constructor(De) {
|
|
16176
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.visiblePagesChange = Rt(this, "visiblePagesChange", 7), this.pages = [], this.renderingPageNumbers = [], this.recentScrollPosition = { x: 0, y: 0 }, this.determineScrollStatus = () => {
|
|
16177
|
+
var Ie, Te, Le;
|
|
16178
|
+
const Ee = Math.ceil(((Ie = this.scrollContainer) == null ? void 0 : Ie.scrollTop) + ((Te = this.scrollContainer) == null ? void 0 : Te.offsetHeight)) >= ((Le = this.scrollContainer) == null ? void 0 : Le.scrollHeight);
|
|
16179
16179
|
Ee !== this.scrolledDown && (this.scrolledDown = Ee);
|
|
16180
16180
|
}, this.storeRecentScrollPosition = () => {
|
|
16181
|
-
var Ee, Ie, Te,
|
|
16181
|
+
var Ee, Ie, Te, Le;
|
|
16182
16182
|
this.recentScrollPosition = {
|
|
16183
16183
|
x: Math.round(((Ee = this.scrollContainer) == null ? void 0 : Ee.scrollLeft) / ((Ie = this.scrollContainer) == null ? void 0 : Ie.scrollWidth) * 100) / 100,
|
|
16184
|
-
y: Math.round(((Te = this.scrollContainer) == null ? void 0 : Te.scrollTop) / ((
|
|
16184
|
+
y: Math.round(((Te = this.scrollContainer) == null ? void 0 : Te.scrollTop) / ((Le = this.scrollContainer) == null ? void 0 : Le.scrollHeight) * 100) / 100
|
|
16185
16185
|
};
|
|
16186
16186
|
}, this.onScroll = na(() => {
|
|
16187
16187
|
this.updateVisiblePages(), this.determineScrollStatus(), this.storeRecentScrollPosition();
|
|
@@ -16197,8 +16197,8 @@ const _a = class {
|
|
|
16197
16197
|
this.updateVisiblePages(), this.determineScrollStatus();
|
|
16198
16198
|
}
|
|
16199
16199
|
disconnectedCallback() {
|
|
16200
|
-
var
|
|
16201
|
-
(
|
|
16200
|
+
var De;
|
|
16201
|
+
(De = this.doc) == null || De.destroy();
|
|
16202
16202
|
}
|
|
16203
16203
|
async onWindowResize() {
|
|
16204
16204
|
this.visiblePages = [], this.renderedPages = [], await this.updateVisiblePages(), this.determineScrollStatus();
|
|
@@ -16217,13 +16217,13 @@ const _a = class {
|
|
|
16217
16217
|
});
|
|
16218
16218
|
}
|
|
16219
16219
|
async getThumbnails() {
|
|
16220
|
-
return await Promise.all(this.pages.filter(Boolean).map((
|
|
16221
|
-
const Ee =
|
|
16220
|
+
return await Promise.all(this.pages.filter(Boolean).map((De) => {
|
|
16221
|
+
const Ee = De.getViewport({ scale: 1 }), Ie = document.createElement("canvas");
|
|
16222
16222
|
Ie.width = Ee.width, Ie.height = Ee.height;
|
|
16223
16223
|
const Te = Math.min(Ie.width / Ee.width, Ie.height / Ee.height);
|
|
16224
|
-
return
|
|
16224
|
+
return De.render({
|
|
16225
16225
|
canvasContext: Ie.getContext("2d"),
|
|
16226
|
-
viewport:
|
|
16226
|
+
viewport: De.getViewport({ scale: Te })
|
|
16227
16227
|
}).promise.then(function() {
|
|
16228
16228
|
return Ie;
|
|
16229
16229
|
});
|
|
@@ -16238,43 +16238,43 @@ const _a = class {
|
|
|
16238
16238
|
async previousPage() {
|
|
16239
16239
|
await this.setPage(this.singlePageModePage - 1), await this.updateVisiblePages();
|
|
16240
16240
|
}
|
|
16241
|
-
async setPage(
|
|
16242
|
-
this.singlePageModePage = Math.min(Math.max(
|
|
16241
|
+
async setPage(De) {
|
|
16242
|
+
this.singlePageModePage = Math.min(Math.max(De, 1), this.pages.length - 1), await this.updateVisiblePages();
|
|
16243
16243
|
}
|
|
16244
16244
|
async getPages() {
|
|
16245
16245
|
this.error = !1, this.loading = !0;
|
|
16246
16246
|
try {
|
|
16247
16247
|
Boolean(this.doc) && this.doc.destroy(), this.doc = await Or.exports.getDocument({ isEvalSupported: !1, url: this.file }).promise;
|
|
16248
|
-
const
|
|
16248
|
+
const De = [];
|
|
16249
16249
|
for (let Ee = 1; Ee <= this.doc.numPages; Ee++)
|
|
16250
|
-
|
|
16251
|
-
this.pages = await Promise.all(
|
|
16250
|
+
De.push(this.doc.getPage(Ee));
|
|
16251
|
+
this.pages = await Promise.all(De), this.loading = !1;
|
|
16252
16252
|
} catch {
|
|
16253
16253
|
this.error = !0, this.loading = !1;
|
|
16254
16254
|
}
|
|
16255
16255
|
}
|
|
16256
|
-
async renderVisiblePages(
|
|
16256
|
+
async renderVisiblePages(De) {
|
|
16257
16257
|
const Ee = Array.from(this.el.shadowRoot.querySelectorAll("canvas")), Ie = [];
|
|
16258
16258
|
for (const Te of Ee) {
|
|
16259
|
-
const
|
|
16259
|
+
const Le = Te.closest(".file-viewer-pdf__page"), Qe = this.pages.find((B) => (B == null ? void 0 : B.pageNumber) === +(Le == null ? void 0 : Le.dataset.pageNumber));
|
|
16260
16260
|
if (!(!Boolean(Qe) || this.renderingPageNumbers.includes(Qe.pageNumber))) {
|
|
16261
|
-
if (!this.visiblePages.includes(Qe.pageNumber) && !
|
|
16261
|
+
if (!this.visiblePages.includes(Qe.pageNumber) && !De) {
|
|
16262
16262
|
this.destroyPage(Qe);
|
|
16263
16263
|
continue;
|
|
16264
16264
|
}
|
|
16265
|
-
if (this.renderedPages.includes(Qe.pageNumber) && !
|
|
16265
|
+
if (this.renderedPages.includes(Qe.pageNumber) && !De) {
|
|
16266
16266
|
Ie.push(Qe.pageNumber);
|
|
16267
16267
|
continue;
|
|
16268
16268
|
}
|
|
16269
|
-
await this.renderPage(Qe, Te,
|
|
16269
|
+
await this.renderPage(Qe, Te, De), Ie.push(Qe.pageNumber);
|
|
16270
16270
|
}
|
|
16271
16271
|
}
|
|
16272
16272
|
this.renderedPages = Ie;
|
|
16273
16273
|
}
|
|
16274
|
-
async renderPage(
|
|
16275
|
-
const Te = Ee.closest(".file-viewer-pdf__page"),
|
|
16276
|
-
this.renderingPageNumbers = [...this.renderingPageNumbers,
|
|
16277
|
-
const Qe = Ie ? 2 : this.getScale(
|
|
16274
|
+
async renderPage(De, Ee, Ie) {
|
|
16275
|
+
const Te = Ee.closest(".file-viewer-pdf__page"), Le = Te == null ? void 0 : Te.querySelector(".file-viewer-pdf__text-container");
|
|
16276
|
+
this.renderingPageNumbers = [...this.renderingPageNumbers, De.pageNumber];
|
|
16277
|
+
const Qe = Ie ? 2 : this.getScale(De), B = window.devicePixelRatio || 1, v = B !== 1 ? [B, 0, 0, B, 0, 0] : null, n = De.getViewport({ scale: Qe }), o = Ee.getContext("2d");
|
|
16278
16278
|
Ee.height = Math.floor(n.height * B), Ee.width = Math.floor(n.width * B);
|
|
16279
16279
|
const c = {
|
|
16280
16280
|
canvasContext: o,
|
|
@@ -16282,34 +16282,34 @@ const _a = class {
|
|
|
16282
16282
|
viewport: n
|
|
16283
16283
|
};
|
|
16284
16284
|
try {
|
|
16285
|
-
await
|
|
16285
|
+
await De.render(c).promise, De.cleanup(), Le.innerHTML = "", this.renderTextLayer(De, Le).catch(), this.renderingPageNumbers = this.renderingPageNumbers.filter((T) => T !== De.pageNumber);
|
|
16286
16286
|
} catch {
|
|
16287
16287
|
}
|
|
16288
16288
|
}
|
|
16289
|
-
destroyPage(
|
|
16290
|
-
const Ee = this.el.shadowRoot.querySelector(`[data-page-number="${
|
|
16289
|
+
destroyPage(De) {
|
|
16290
|
+
const Ee = this.el.shadowRoot.querySelector(`[data-page-number="${De.pageNumber}"]`), Ie = Ee.querySelector("canvas"), Te = Ee.querySelector(".file-viewer-pdf__text-container");
|
|
16291
16291
|
Ie.width = 1, Ie.height = 1, Ie.getContext("2d").clearRect(0, 0, Ie.width, Ie.height), Te.innerHTML = "";
|
|
16292
16292
|
}
|
|
16293
|
-
async updateVisiblePages(
|
|
16293
|
+
async updateVisiblePages(De) {
|
|
16294
16294
|
const Ee = Array.from(this.el.shadowRoot.querySelectorAll(".file-viewer-pdf__page"));
|
|
16295
16295
|
let Ie = [];
|
|
16296
16296
|
if (this.singlePageMode)
|
|
16297
16297
|
Ie = [this.singlePageModePage];
|
|
16298
|
-
else if (Ie =
|
|
16298
|
+
else if (Ie = De ? Ee.map((Le) => +Le.dataset.pageNumber) : Ee.filter((Le) => ia(Le, this.scrollContainer) > 0).map((Le) => +Le.dataset.pageNumber), this.visiblePages.length === Ie.length && this.visiblePages.every((Le) => Ie.includes(Le)))
|
|
16299
16299
|
return;
|
|
16300
|
-
this.visiblePages = Ie, await this.renderVisiblePages(
|
|
16300
|
+
this.visiblePages = Ie, await this.renderVisiblePages(De), this.visiblePagesChange.emit(this.visiblePages);
|
|
16301
16301
|
}
|
|
16302
|
-
async renderTextLayer(
|
|
16302
|
+
async renderTextLayer(De, Ee) {
|
|
16303
16303
|
Or.exports.renderTextLayer({
|
|
16304
16304
|
container: Ee,
|
|
16305
|
-
textContent: await
|
|
16306
|
-
viewport:
|
|
16307
|
-
scale: this.getScale(
|
|
16305
|
+
textContent: await De.getTextContent(),
|
|
16306
|
+
viewport: De.getViewport({
|
|
16307
|
+
scale: this.getScale(De)
|
|
16308
16308
|
})
|
|
16309
16309
|
});
|
|
16310
16310
|
}
|
|
16311
16311
|
async openPrintDialog() {
|
|
16312
|
-
const
|
|
16312
|
+
const De = Array.from(this.scrollContainer.querySelectorAll("canvas"));
|
|
16313
16313
|
let Ee = `
|
|
16314
16314
|
*, *:before, *:after {
|
|
16315
16315
|
margin: 0;
|
|
@@ -16346,7 +16346,7 @@ const _a = class {
|
|
|
16346
16346
|
</head>
|
|
16347
16347
|
<body>
|
|
16348
16348
|
`;
|
|
16349
|
-
for (const Qe of
|
|
16349
|
+
for (const Qe of De)
|
|
16350
16350
|
Ie += `<img src="${Qe.toDataURL()}">`;
|
|
16351
16351
|
Ie += `
|
|
16352
16352
|
</body>
|
|
@@ -16354,29 +16354,29 @@ const _a = class {
|
|
|
16354
16354
|
`;
|
|
16355
16355
|
const Te = document.createElement("iframe");
|
|
16356
16356
|
this.el.append(Te);
|
|
16357
|
-
const
|
|
16358
|
-
|
|
16357
|
+
const Le = Te.contentWindow;
|
|
16358
|
+
Le.document.write(Ie), Le.focus(), await new Promise((Qe) => setTimeout(Qe, 100)), Le.print(), Te.remove();
|
|
16359
16359
|
}
|
|
16360
|
-
getScale(
|
|
16360
|
+
getScale(De) {
|
|
16361
16361
|
var Ie;
|
|
16362
16362
|
const Ee = aa() ? 0 : 32;
|
|
16363
|
-
return this.zoom === "auto" ? (((Ie = this.scrollContainer) == null ? void 0 : Ie.clientWidth) - Ee) /
|
|
16363
|
+
return this.zoom === "auto" ? (((Ie = this.scrollContainer) == null ? void 0 : Ie.clientWidth) - Ee) / De.view[2] : isNaN(this.zoom) ? 1 : this.zoom;
|
|
16364
16364
|
}
|
|
16365
16365
|
restoreScrollPosition() {
|
|
16366
|
-
var
|
|
16367
|
-
this.scrollContainer.scrollTop = this.recentScrollPosition.y * ((
|
|
16366
|
+
var De, Ee;
|
|
16367
|
+
this.scrollContainer.scrollTop = this.recentScrollPosition.y * ((De = this.scrollContainer) == null ? void 0 : De.scrollHeight), this.scrollContainer.scrollLeft = this.recentScrollPosition.x * ((Ee = this.scrollContainer) == null ? void 0 : Ee.scrollWidth);
|
|
16368
16368
|
}
|
|
16369
16369
|
render() {
|
|
16370
|
-
const
|
|
16371
|
-
return qe(jt, { key: "b28bcfe2c09ea61bb231e3293c9db33b8bc9e84d", class: Te, exportparts: "file-viewer-pdf__pagination" }, this.error && qe("swirl-inline-error", { key: "0bf5545534fbda26a6bb80c758015d8dfab9a4d5", class: "file-viewer-pdf__error", message: this.errorMessage }), qe("div", { key: "772a8f4e55b37fa49a4dbab6c1bc8d1ce420fb64", "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (
|
|
16372
|
-
const Qe =
|
|
16373
|
-
scale: this.getScale(
|
|
16374
|
-
}), B = Qe.height, v = Qe.width, n = this.renderedPages.includes(
|
|
16375
|
-
return qe("div", { "aria-label":
|
|
16370
|
+
const De = !this.error && !this.loading && this.visiblePages.length > 0, Ee = this.scrolledDown && !this.singlePageMode ? this.pages.length - 1 : this.visiblePages[0], Ie = this.loading, Te = ra("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
|
|
16371
|
+
return qe(jt, { key: "b28bcfe2c09ea61bb231e3293c9db33b8bc9e84d", class: Te, exportparts: "file-viewer-pdf__pagination" }, this.error && qe("swirl-inline-error", { key: "0bf5545534fbda26a6bb80c758015d8dfab9a4d5", class: "file-viewer-pdf__error", message: this.errorMessage }), qe("div", { key: "772a8f4e55b37fa49a4dbab6c1bc8d1ce420fb64", "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (Le) => this.scrollContainer = Le }, this.pages.map((Le) => {
|
|
16372
|
+
const Qe = Le.getViewport({
|
|
16373
|
+
scale: this.getScale(Le)
|
|
16374
|
+
}), B = Qe.height, v = Qe.width, n = this.renderedPages.includes(Le.pageNumber);
|
|
16375
|
+
return qe("div", { "aria-label": Le.pageNumber, class: "file-viewer-pdf__page", "data-page-number": Le.pageNumber, hidden: !this.singlePageMode || Le.pageNumber === this.singlePageModePage ? void 0 : !0, id: `page-${Le.pageNumber}`, key: Le.pageNumber, role: "region", style: {
|
|
16376
16376
|
width: `${v}px`,
|
|
16377
16377
|
height: `${B}px`
|
|
16378
16378
|
}, tabIndex: 0 }, !n && qe("swirl-spinner", { class: "file-viewer-pdf__page-spinner" }), qe("canvas", { class: "file-viewer-pdf__canvas", style: { opacity: n ? "1" : "0" } }), qe("div", { class: "file-viewer-pdf__text-container" }));
|
|
16379
|
-
})),
|
|
16379
|
+
})), De && qe("span", { key: "93057b4402d4bcfee7b690d02b03a7f2f483e294", class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, qe("span", { key: "f13d0f87c2a7b86f5551ba05e9e008323ab8d662", "aria-current": "page" }, Ee), " / ", this.doc.numPages), Ie && qe("div", { key: "6b84fbaff23e0a4b0412720c5668d4574cf1c9a5", class: "file-viewer-pdf__spinner" }, qe("swirl-spinner", { key: "93af5efd3cbaf907b2ea1e0d08579bd9213933a6" })));
|
|
16380
16380
|
}
|
|
16381
16381
|
get el() {
|
|
16382
16382
|
return Qt(this);
|
|
@@ -16391,8 +16391,8 @@ const _a = class {
|
|
|
16391
16391
|
};
|
|
16392
16392
|
_a.style = wa;
|
|
16393
16393
|
const Ea = ":host{position:relative;display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-text__text{overflow:auto;width:100%;max-height:100%;margin:0;padding:0;padding:var(--s-space-16);background-color:var(--s-background-default);font-family:var(--s-font-family-code)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.file-viewer-text__text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.file-viewer-text__spinner{position:absolute;display:flex;justify-content:center;align-items:center;background-color:rgba(0, 0, 0, 0.2);inset:0}.file-viewer-text__error{position:absolute;top:50%;left:50%;transform:translate3d(-50%, -50%, 0)}", Ca = Ea, Ta = class {
|
|
16394
|
-
constructor(
|
|
16395
|
-
zt(this,
|
|
16394
|
+
constructor(De) {
|
|
16395
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.errorMessage = "File could not be loaded.", this.file = void 0, this.error = void 0, this.loading = void 0, this.text = void 0;
|
|
16396
16396
|
}
|
|
16397
16397
|
componentWillLoad() {
|
|
16398
16398
|
this.updateText();
|
|
@@ -16403,8 +16403,8 @@ const Ea = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
16403
16403
|
async updateText() {
|
|
16404
16404
|
this.error = !1, this.loading = !0;
|
|
16405
16405
|
try {
|
|
16406
|
-
const
|
|
16407
|
-
this.text = await
|
|
16406
|
+
const De = await fetch(this.file);
|
|
16407
|
+
this.text = await De.text(), this.loading = !1;
|
|
16408
16408
|
} catch {
|
|
16409
16409
|
this.loading = !1, this.error = !0;
|
|
16410
16410
|
}
|
|
@@ -16423,18 +16423,26 @@ const Ea = ":host{position:relative;display:inline-flex;width:100%;max-height:10
|
|
|
16423
16423
|
};
|
|
16424
16424
|
Ta.style = Ca;
|
|
16425
16425
|
const Pa = ":host{display:inline-flex;width:100%;max-height:100%;pointer-events:auto}:host *{box-sizing:border-box}.file-viewer-video__video{width:100%;background-color:rgba(0, 0, 0, 1)}", Ra = Pa, xa = class {
|
|
16426
|
-
constructor(
|
|
16427
|
-
zt(this,
|
|
16426
|
+
constructor(De) {
|
|
16427
|
+
zt(this, De), this.activate = Rt(this, "activate", 7), this.autoplay = void 0, this.disableDownload = void 0, this.file = void 0, this.type = void 0;
|
|
16428
16428
|
}
|
|
16429
16429
|
componentDidLoad() {
|
|
16430
|
-
this.activate.emit(this.el);
|
|
16430
|
+
this.activate.emit(this.el), this.disableDownload && this.videoEl.setAttribute("controlsList", "nodownload");
|
|
16431
|
+
}
|
|
16432
|
+
watchDisableDownload() {
|
|
16433
|
+
this.disableDownload ? this.videoEl.setAttribute("controlsList", "nodownload") : this.videoEl.removeAttribute("controlsList");
|
|
16431
16434
|
}
|
|
16432
16435
|
render() {
|
|
16433
|
-
return qe(jt, { key: "
|
|
16436
|
+
return qe(jt, { key: "ac8cf96b6359070114b3cde6a7ccf7eea5245c7a", class: "file-viewer-video" }, qe("video", { key: "10cc560ceaea3df058a7c5a78f3583f04af60508", autoplay: this.autoplay, class: "file-viewer-video__video", controls: !0, ref: (De) => this.videoEl = De }, qe("source", { key: "6a8da26d879cfe62ed136b52af3e39f3d8bfa626", src: this.file, type: this.type })));
|
|
16434
16437
|
}
|
|
16435
16438
|
get el() {
|
|
16436
16439
|
return Qt(this);
|
|
16437
16440
|
}
|
|
16441
|
+
static get watchers() {
|
|
16442
|
+
return {
|
|
16443
|
+
disableDownload: ["watchDisableDownload"]
|
|
16444
|
+
};
|
|
16445
|
+
}
|
|
16438
16446
|
};
|
|
16439
16447
|
xa.style = Ra;
|
|
16440
16448
|
export {
|