@getflip/swirl-components-react 0.455.0 → 0.456.1-beta-20260305113737
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/index.d.ts +1 -1
- package/dist/stencil-generated/components.d.ts +1622 -0
- package/dist/swirl-components-react.js +38085 -476
- package/dist/swirl-components-react.umd.cjs +65 -94
- package/package.json +2 -6
- package/dist/FileSaver.min-DISpcNDq.9430eab9.js +0 -79
- package/dist/bodyScrollLock.esm-B0kNlhKL.c7a66a82.js +0 -93
- package/dist/floating-ui.dom-CLsTbQHn.fe95e3a6.js +0 -988
- package/dist/index-D3UoejeY.7db8c51e.js +0 -7494
- package/dist/index-orsBiyT_.fc4357c3.js +0 -47
- package/dist/index.0e476e54.js +0 -4650
- package/dist/index.esm-DBTxpXCn.fccbd562.js +0 -187
- package/dist/media-query.service-CCYT6DU8.f0931fdc.js +0 -17
- package/dist/sortable.esm-CMrz6687.dac971cd.js +0 -1240
- package/dist/stencil-generated/index.d.ts +0 -474
- package/dist/stencil-generated/react-component-lib/createComponent.d.ts +0 -10
- package/dist/stencil-generated/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/stencil-generated/react-component-lib/index.d.ts +0 -2
- package/dist/stencil-generated/react-component-lib/interfaces.d.ts +0 -29
- package/dist/stencil-generated/react-component-lib/utils/attachProps.d.ts +0 -16
- package/dist/stencil-generated/react-component-lib/utils/case.d.ts +0 -2
- package/dist/stencil-generated/react-component-lib/utils/index.d.ts +0 -10
- package/dist/swirl-accordion-item.entry.5294ec10.js +0 -38
- package/dist/swirl-accordion.entry.47c30825.js +0 -39
- package/dist/swirl-action-list-item.entry.fb87b949.js +0 -38
- package/dist/swirl-action-list-section.entry.74577720.js +0 -15
- package/dist/swirl-action-list_8.entry.c0d11c64.js +0 -171
- package/dist/swirl-app-bar.entry.87fa040b.js +0 -49
- package/dist/swirl-app-icon.entry.a0d9b1db.js +0 -30
- package/dist/swirl-app-layout.entry.93e98b11.js +0 -205
- package/dist/swirl-autocomplete.entry.e6155023.js +0 -117
- package/dist/swirl-avatar-group.entry.5f7b3b48.js +0 -37
- package/dist/swirl-avatar.entry.e3ce764f.js +0 -72
- package/dist/swirl-badge.entry.9d51fc44.js +0 -19
- package/dist/swirl-banner.entry.962a7215.js +0 -51
- package/dist/swirl-box.entry.21137732.js +0 -109
- package/dist/swirl-button-group.entry.309a1839.js +0 -19
- package/dist/swirl-button.entry.62d32407.js +0 -61
- package/dist/swirl-card.entry.20063ee9.js +0 -49
- package/dist/swirl-carousel-slide.entry.61dbe677.js +0 -23
- package/dist/swirl-carousel.entry.03be4fae.js +0 -91
- package/dist/swirl-checkbox.entry.2c4507d9.js +0 -28
- package/dist/swirl-chip.entry.3638b41e.js +0 -42
- package/dist/swirl-color-input.entry.9607d054.js +0 -272
- package/dist/swirl-columns.entry.0c549e8d.js +0 -18
- package/dist/swirl-console-layout.entry.ad1777cb.js +0 -93
- package/dist/swirl-data-cell-stack.entry.a3b92efa.js +0 -25
- package/dist/swirl-data-cell.entry.6c01b738.js +0 -34
- package/dist/swirl-date-input.entry.c382bdb6.js +0 -146
- package/dist/swirl-date-picker_2.entry.496df017.js +0 -47
- package/dist/swirl-description-list-item.entry.1b164b37.js +0 -24
- package/dist/swirl-description-list.entry.e233393e.js +0 -15
- package/dist/swirl-dialog.entry.07392ba1.js +0 -69
- package/dist/swirl-emoji-clap.entry.f838b761.js +0 -17
- package/dist/swirl-emoji-happy.entry.fcd3c8a5.js +0 -17
- package/dist/swirl-emoji-idea.entry.c2548d7d.js +0 -17
- package/dist/swirl-emoji-love.entry.807091fc.js +0 -17
- package/dist/swirl-emoji-sad.entry.30a8e8b1.js +0 -17
- package/dist/swirl-emoji-thumbs-up.entry.f08ef4d2.js +0 -17
- package/dist/swirl-emoji.entry.65c1179c.js +0 -16
- package/dist/swirl-empty-state.entry.d9c4b201.js +0 -23
- package/dist/swirl-file-chip.entry.dcdaab9a.js +0 -59
- package/dist/swirl-file-uploader.entry.a6376f6e.js +0 -31
- package/dist/swirl-file-viewer-audio_7.entry.bbc65449.js +0 -18783
- package/dist/swirl-form-control.entry.c1a70ce4.js +0 -121
- package/dist/swirl-form-group.entry.6c84e80b.js +0 -17
- package/dist/swirl-heading.entry.e7529c35.js +0 -26
- package/dist/swirl-icon-add-moderator.entry.a6eb66cf.js +0 -19
- package/dist/swirl-icon-add-photo.entry.33f3e8d8.js +0 -19
- package/dist/swirl-icon-add-reaction.entry.d3f40fd8.js +0 -19
- package/dist/swirl-icon-admin-panel-settings.entry.a50b4a76.js +0 -19
- package/dist/swirl-icon-ai-filled.entry.18a663f4.js +0 -19
- package/dist/swirl-icon-ai.entry.2a32f232.js +0 -19
- package/dist/swirl-icon-apps.entry.3351a933.js +0 -19
- package/dist/swirl-icon-arrow-back_5.entry.ef93212c.js +0 -71
- package/dist/swirl-icon-arrow-downward_2.entry.316dda8e.js +0 -32
- package/dist/swirl-icon-arrow-left_3.entry.68811e2c.js +0 -45
- package/dist/swirl-icon-arrow-right-small.entry.55d7df92.js +0 -19
- package/dist/swirl-icon-aspect-ratio.entry.b1ebc68f.js +0 -19
- package/dist/swirl-icon-attachment_6.entry.8539855f.js +0 -84
- package/dist/swirl-icon-autorenew.entry.a5a354e4.js +0 -19
- package/dist/swirl-icon-bar-chart.entry.5a0bc789.js +0 -19
- package/dist/swirl-icon-beach-access-filled.entry.bec907f4.js +0 -19
- package/dist/swirl-icon-beach-access.entry.8939d641.js +0 -19
- package/dist/swirl-icon-block.entry.8972d4d5.js +0 -19
- package/dist/swirl-icon-bookmark-filled.entry.a3cfb778.js +0 -19
- package/dist/swirl-icon-bookmark.entry.aa250b81.js +0 -19
- package/dist/swirl-icon-calendar-add-on-filled.entry.e960eb71.js +0 -19
- package/dist/swirl-icon-calendar-respond.entry.85a4bb24.js +0 -19
- package/dist/swirl-icon-calendar-today.entry.6b4a4506.js +0 -19
- package/dist/swirl-icon-call-end.entry.817adcc6.js +0 -19
- package/dist/swirl-icon-call.entry.bcd6e165.js +0 -19
- package/dist/swirl-icon-cancel-filled.entry.a9f3b10c.js +0 -19
- package/dist/swirl-icon-cancel-outline.entry.9cc1c496.js +0 -19
- package/dist/swirl-icon-cancel_4.entry.ce87c7a7.js +0 -58
- package/dist/swirl-icon-chat-bubble.entry.3754f362.js +0 -19
- package/dist/swirl-icon-chats-filled.entry.4723be8d.js +0 -19
- package/dist/swirl-icon-chats.entry.c59206b4.js +0 -19
- package/dist/swirl-icon-check-circle-filled.entry.0472d6e8.js +0 -19
- package/dist/swirl-icon-check-circle_2.entry.44733a9c.js +0 -32
- package/dist/swirl-icon-check-small_2.entry.fb9fdf9b.js +0 -66
- package/dist/swirl-icon-check-strong_2.entry.7bd65267.js +0 -32
- package/dist/swirl-icon-check.entry.d29bfff8.js +0 -19
- package/dist/swirl-icon-checkbox-filled.entry.4c9bdf21.js +0 -19
- package/dist/swirl-icon-chevron-left.entry.4eb1a080.js +0 -19
- package/dist/swirl-icon-chevron-right.entry.bef6e257.js +0 -19
- package/dist/swirl-icon-close-fullscreen.entry.424b0b11.js +0 -19
- package/dist/swirl-icon-close-small.entry.c5eafcd0.js +0 -19
- package/dist/swirl-icon-close.entry.7e97e55e.js +0 -19
- package/dist/swirl-icon-cloud-upload.entry.c4e3629f.js +0 -19
- package/dist/swirl-icon-column.entry.c0d502a3.js +0 -19
- package/dist/swirl-icon-comment.entry.9f1eedc8.js +0 -19
- package/dist/swirl-icon-contrast.entry.44c8cef1.js +0 -19
- package/dist/swirl-icon-copy.entry.bd1920a6.js +0 -19
- package/dist/swirl-icon-crop.entry.5cde943f.js +0 -19
- package/dist/swirl-icon-dark-mode.entry.db44f076.js +0 -19
- package/dist/swirl-icon-date-range.entry.af6a7aa7.js +0 -19
- package/dist/swirl-icon-delete.entry.596f4155.js +0 -19
- package/dist/swirl-icon-deployed-code.entry.c34ae231.js +0 -19
- package/dist/swirl-icon-description.entry.3c3fd04e.js +0 -19
- package/dist/swirl-icon-desktop.entry.a1d8fc60.js +0 -19
- package/dist/swirl-icon-directory-filled.entry.bc829eb3.js +0 -19
- package/dist/swirl-icon-directory.entry.16da61b1.js +0 -19
- package/dist/swirl-icon-discover.entry.fec9f1ca.js +0 -19
- package/dist/swirl-icon-dock-left.entry.6fe8d114.js +0 -19
- package/dist/swirl-icon-door-open.entry.cf7fbccb.js +0 -19
- package/dist/swirl-icon-dot.entry.29145055.js +0 -19
- package/dist/swirl-icon-double-arrow-right.entry.b815a94e.js +0 -19
- package/dist/swirl-icon-edit-note.entry.56e8dede.js +0 -19
- package/dist/swirl-icon-edit.entry.af16d49b.js +0 -19
- package/dist/swirl-icon-emoji-mood.entry.69180e36.js +0 -19
- package/dist/swirl-icon-emoji-satisfied.entry.766c5b66.js +0 -19
- package/dist/swirl-icon-emoji-symbols.entry.f614e8e9.js +0 -19
- package/dist/swirl-icon-error_3.entry.758289fb.js +0 -59
- package/dist/swirl-icon-expand-more.entry.154fc51a.js +0 -19
- package/dist/swirl-icon-experiment.entry.611e9595.js +0 -19
- package/dist/swirl-icon-file.entry.9d4bf48f.js +0 -19
- package/dist/swirl-icon-filter.entry.b67cbb25.js +0 -19
- package/dist/swirl-icon-folder-shared.entry.9407c286.js +0 -19
- package/dist/swirl-icon-format-h-one.entry.7302740f.js +0 -19
- package/dist/swirl-icon-format-list-bulleted.entry.55513e91.js +0 -19
- package/dist/swirl-icon-forward.entry.ded248ed.js +0 -19
- package/dist/swirl-icon-gif.entry.9b64fdbc.js +0 -19
- package/dist/swirl-icon-group-add.entry.7c6f3813.js +0 -19
- package/dist/swirl-icon-group-assign.entry.b17b4bc2.js +0 -19
- package/dist/swirl-icon-groups-filled.entry.3595cac3.js +0 -19
- package/dist/swirl-icon-groups.entry.e85a7a06.js +0 -19
- package/dist/swirl-icon-hamburger-menu.entry.4c326dcb.js +0 -19
- package/dist/swirl-icon-health-and-safety.entry.ce06d207.js +0 -19
- package/dist/swirl-icon-help-filled.entry.1de41152.js +0 -19
- package/dist/swirl-icon-help.entry.e78bf0c6.js +0 -19
- package/dist/swirl-icon-highlight.entry.cd0e292d.js +0 -19
- package/dist/swirl-icon-history.entry.2b4ad63b.js +0 -19
- package/dist/swirl-icon-home-filled.entry.5e2f6877.js +0 -19
- package/dist/swirl-icon-home.entry.ad10de0b.js +0 -19
- package/dist/swirl-icon-hr-resting.entry.e7735e58.js +0 -19
- package/dist/swirl-icon-improve-text.entry.e04ffeb9.js +0 -19
- package/dist/swirl-icon-info.entry.19a39662.js +0 -19
- package/dist/swirl-icon-insert-below.entry.c4cb0997.js +0 -19
- package/dist/swirl-icon-insert-chart.entry.0d696cd3.js +0 -19
- package/dist/swirl-icon-insert-on-top.entry.cd9d503f.js +0 -19
- package/dist/swirl-icon-inventory-off.entry.bcfc8043.js +0 -19
- package/dist/swirl-icon-inventory.entry.f5885a0c.js +0 -19
- package/dist/swirl-icon-iphone.entry.7c5ef281.js +0 -19
- package/dist/swirl-icon-key.entry.4482a2a7.js +0 -19
- package/dist/swirl-icon-keyboard-hide.entry.5c72f4d8.js +0 -19
- package/dist/swirl-icon-keyboard.entry.49a8a687.js +0 -19
- package/dist/swirl-icon-language.entry.4bdffbb5.js +0 -19
- package/dist/swirl-icon-light-mode.entry.cb097cee.js +0 -19
- package/dist/swirl-icon-like.entry.d0ab0715.js +0 -19
- package/dist/swirl-icon-link.entry.b8776d9b.js +0 -19
- package/dist/swirl-icon-live.entry.eb7d82ee.js +0 -19
- package/dist/swirl-icon-load.entry.5e6b7d42.js +0 -19
- package/dist/swirl-icon-location-on.entry.7df111ef.js +0 -19
- package/dist/swirl-icon-lock-open.entry.bd0446b7.js +0 -19
- package/dist/swirl-icon-lock-person.entry.c9cb98bc.js +0 -19
- package/dist/swirl-icon-lock.entry.f5d33ea8.js +0 -19
- package/dist/swirl-icon-login.entry.92a88721.js +0 -19
- package/dist/swirl-icon-logout.entry.17fa9c42.js +0 -19
- package/dist/swirl-icon-long-text.entry.2b009140.js +0 -19
- package/dist/swirl-icon-mail.entry.be2727f6.js +0 -19
- package/dist/swirl-icon-manage-accounts.entry.f5c4a64e.js +0 -19
- package/dist/swirl-icon-mark-chat-read.entry.63ca09f5.js +0 -19
- package/dist/swirl-icon-mark-chat-unread.entry.c397d062.js +0 -19
- package/dist/swirl-icon-mention.entry.f8ea0463.js +0 -19
- package/dist/swirl-icon-menu-book-filled.entry.c50384d3.js +0 -19
- package/dist/swirl-icon-menu-filled.entry.b4c5317c.js +0 -19
- package/dist/swirl-icon-menu.entry.4fed240a.js +0 -19
- package/dist/swirl-icon-message.entry.4a7df5a9.js +0 -19
- package/dist/swirl-icon-mic-off.entry.2698915b.js +0 -19
- package/dist/swirl-icon-mic.entry.1e0e0c18.js +0 -19
- package/dist/swirl-icon-more-horizontal.entry.8f60b2fe.js +0 -19
- package/dist/swirl-icon-more-vertikal.entry.ad00eb97.js +0 -19
- package/dist/swirl-icon-news-filled.entry.63390861.js +0 -19
- package/dist/swirl-icon-news-off.entry.d78a0922.js +0 -19
- package/dist/swirl-icon-news.entry.a76eeca0.js +0 -19
- package/dist/swirl-icon-next-plan.entry.b3e88585.js +0 -19
- package/dist/swirl-icon-note-stack-filled.entry.857233a4.js +0 -19
- package/dist/swirl-icon-note-stack.entry.5f2a0eb5.js +0 -19
- package/dist/swirl-icon-notifications-active.entry.bfd5a05d.js +0 -19
- package/dist/swirl-icon-notifications-off.entry.a7333607.js +0 -19
- package/dist/swirl-icon-notifications.entry.f2d1a91e.js +0 -19
- package/dist/swirl-icon-open-in-full.entry.5fbfea94.js +0 -19
- package/dist/swirl-icon-open-in-new.entry.83c9889c.js +0 -19
- package/dist/swirl-icon-patient-list.entry.195bf2c2.js +0 -19
- package/dist/swirl-icon-pause-circle.entry.3775a578.js +0 -19
- package/dist/swirl-icon-pause.entry.0d64236e.js +0 -19
- package/dist/swirl-icon-people-alt.entry.edbf06c5.js +0 -19
- package/dist/swirl-icon-person-check.entry.f21b2f75.js +0 -19
- package/dist/swirl-icon-person-off.entry.747e3831.js +0 -19
- package/dist/swirl-icon-person.entry.2d241312.js +0 -19
- package/dist/swirl-icon-phone.entry.69f19d1d.js +0 -19
- package/dist/swirl-icon-photo-camera.entry.9f43d86c.js +0 -19
- package/dist/swirl-icon-picture-in-picture.entry.a571048d.js +0 -19
- package/dist/swirl-icon-pin-off.entry.95940a3a.js +0 -19
- package/dist/swirl-icon-pin.entry.d9f2a744.js +0 -19
- package/dist/swirl-icon-place.entry.27872151.js +0 -19
- package/dist/swirl-icon-play-arrow.entry.9aa8a6ca.js +0 -19
- package/dist/swirl-icon-poll.entry.8d7f3f1f.js +0 -19
- package/dist/swirl-icon-post-approval.entry.062cad3a.js +0 -19
- package/dist/swirl-icon-present.entry.9127c31b.js +0 -19
- package/dist/swirl-icon-preview.entry.e36b1135.js +0 -19
- package/dist/swirl-icon-print.entry.a612b5db.js +0 -19
- package/dist/swirl-icon-public-off.entry.9096f6dd.js +0 -19
- package/dist/swirl-icon-public.entry.a96fcd7c.js +0 -19
- package/dist/swirl-icon-published-with-changes.entry.8d1322c1.js +0 -19
- package/dist/swirl-icon-ratio-four-to-three.entry.8e6c968d.js +0 -19
- package/dist/swirl-icon-ratio-freeform.entry.ec6bc1b2.js +0 -19
- package/dist/swirl-icon-ratio-sixteen-to-nine.entry.c971d434.js +0 -19
- package/dist/swirl-icon-ratio-square.entry.07727efc.js +0 -19
- package/dist/swirl-icon-ratio-three-to-four.entry.c4d2bc84.js +0 -19
- package/dist/swirl-icon-ratio-three-to-two.entry.d72a4af2.js +0 -19
- package/dist/swirl-icon-recieved.entry.9e2a992e.js +0 -19
- package/dist/swirl-icon-refresh.entry.3894e67e.js +0 -19
- package/dist/swirl-icon-remove-circle.entry.ff7d513a.js +0 -19
- package/dist/swirl-icon-remove-moderator.entry.9c54da6a.js +0 -19
- package/dist/swirl-icon-reply.entry.0bb8e50a.js +0 -19
- package/dist/swirl-icon-report.entry.d65c32fb.js +0 -19
- package/dist/swirl-icon-roadmap.entry.175d8873.js +0 -19
- package/dist/swirl-icon-rotate-left.entry.3d4cf93b.js +0 -19
- package/dist/swirl-icon-rotate-right.entry.a492e49b.js +0 -19
- package/dist/swirl-icon-screenshare-off.entry.f38cbce2.js +0 -19
- package/dist/swirl-icon-screenshare.entry.87aa7b2c.js +0 -19
- package/dist/swirl-icon-search-strong.entry.90f25ac2.js +0 -19
- package/dist/swirl-icon-search.entry.2a77d0ff.js +0 -19
- package/dist/swirl-icon-section.entry.9787ce40.js +0 -19
- package/dist/swirl-icon-secure.entry.1f74f830.js +0 -19
- package/dist/swirl-icon-sell.entry.cbb75022.js +0 -19
- package/dist/swirl-icon-send.entry.2d2f0d4c.js +0 -19
- package/dist/swirl-icon-settings.entry.24711d03.js +0 -19
- package/dist/swirl-icon-short-text.entry.4b69bace.js +0 -19
- package/dist/swirl-icon-simplify.entry.828ad046.js +0 -19
- package/dist/swirl-icon-spellcheck.entry.d26be768.js +0 -19
- package/dist/swirl-icon-stars.entry.c8c1a7c4.js +0 -19
- package/dist/swirl-icon-sticky-note.entry.0819898b.js +0 -19
- package/dist/swirl-icon-stop-circle.entry.51af07f2.js +0 -19
- package/dist/swirl-icon-stop.entry.97ddf8d6.js +0 -19
- package/dist/swirl-icon-sunny.entry.e2eb87b5.js +0 -19
- package/dist/swirl-icon-sync.entry.002b286b.js +0 -19
- package/dist/swirl-icon-tasks-filled.entry.00252ff0.js +0 -19
- package/dist/swirl-icon-tasks.entry.5aa8b016.js +0 -19
- package/dist/swirl-icon-terminal.entry.b238a607.js +0 -19
- package/dist/swirl-icon-time-filled.entry.dda53035.js +0 -19
- package/dist/swirl-icon-time.entry.48e8b8ed.js +0 -19
- package/dist/swirl-icon-today-filled.entry.b0afd102.js +0 -19
- package/dist/swirl-icon-translate.entry.34a98fb6.js +0 -19
- package/dist/swirl-icon-tree-structure.entry.23400f0d.js +0 -19
- package/dist/swirl-icon-undo.entry.5e0a8ee2.js +0 -19
- package/dist/swirl-icon-unlock-person.entry.f7787839.js +0 -19
- package/dist/swirl-icon-upload.entry.25e7b320.js +0 -19
- package/dist/swirl-icon-user-add.entry.a15f9066.js +0 -19
- package/dist/swirl-icon-user-assign.entry.376af42f.js +0 -19
- package/dist/swirl-icon-video-camera-off.entry.036e5df5.js +0 -19
- package/dist/swirl-icon-video-camera.entry.90d4bf7b.js +0 -19
- package/dist/swirl-icon-video-library.entry.c2f7aa19.js +0 -19
- package/dist/swirl-icon-view-agenda.entry.6c27f69e.js +0 -19
- package/dist/swirl-icon-voice.entry.5050a886.js +0 -19
- package/dist/swirl-icon-volume-up.entry.65a78ff4.js +0 -19
- package/dist/swirl-icon-web-asset-off.entry.0cb673d0.js +0 -19
- package/dist/swirl-icon-web-asset.entry.2a71a44c.js +0 -19
- package/dist/swirl-icon-work.entry.4a2083a8.js +0 -19
- package/dist/swirl-icon.entry.4d7af47f.js +0 -17
- package/dist/swirl-image-grid-item.entry.5ed62cbf.js +0 -93
- package/dist/swirl-image-grid.entry.27f29eca.js +0 -51
- package/dist/swirl-inline-notification.entry.c06299d7.js +0 -17
- package/dist/swirl-inline-status.entry.5cf0ff4b.js +0 -37
- package/dist/swirl-lightbox.entry.e5c29ea6.js +0 -152
- package/dist/swirl-link.entry.eb779f19.js +0 -17
- package/dist/swirl-list.entry.a378b5b6.js +0 -18
- package/dist/swirl-menu-item.entry.b6a45766.js +0 -86
- package/dist/swirl-menu.entry.4b858c00.js +0 -184
- package/dist/swirl-modal-shell.entry.ced927de.js +0 -45
- package/dist/swirl-modal.entry.964f2c0a.js +0 -177
- package/dist/swirl-option-list-section.entry.91145d26.js +0 -15
- package/dist/swirl-option-list_2.entry.29bd23e2.js +0 -293
- package/dist/swirl-pagination.entry.b43e8aae.js +0 -38
- package/dist/swirl-pdf-reader.entry.f4bf6ae6.js +0 -120
- package/dist/swirl-popover_2.entry.835664ad.js +0 -263
- package/dist/swirl-progress-indicator.entry.46e96df4.js +0 -17
- package/dist/swirl-radio-group.entry.be194877.js +0 -47
- package/dist/swirl-radio.entry.29ceebbb.js +0 -27
- package/dist/swirl-resource-list-file-item.entry.1821e790.js +0 -39
- package/dist/swirl-resource-list-item.entry.fad75ff5.js +0 -100
- package/dist/swirl-resource-list-section.entry.6992857e.js +0 -19
- package/dist/swirl-resource-list.entry.44618d0c.js +0 -158
- package/dist/swirl-search.entry.a4881f83.js +0 -51
- package/dist/swirl-select.entry.34e60f6f.js +0 -94
- package/dist/swirl-separator.entry.28612130.js +0 -29
- package/dist/swirl-shell-layout.entry.cd92e2de.js +0 -686
- package/dist/swirl-shell-navigation-item.entry.f4ee0081.js +0 -46
- package/dist/swirl-skeleton-box.entry.71f34516.js +0 -24
- package/dist/swirl-skeleton-text.entry.91dcab8a.js +0 -17
- package/dist/swirl-stack.entry.08dc85a8.js +0 -21
- package/dist/swirl-status-indicator.entry.d02c496a.js +0 -17
- package/dist/swirl-switch.entry.272c4ba2.js +0 -30
- package/dist/swirl-symbol-ac-unit.entry.86885c95.js +0 -17
- package/dist/swirl-symbol-account-circle.entry.eca73ba0.js +0 -17
- package/dist/swirl-symbol-alternate-email.entry.4c96c3df.js +0 -17
- package/dist/swirl-symbol-android.entry.3aabb332.js +0 -17
- package/dist/swirl-symbol-announcement.entry.53fbd841.js +0 -17
- package/dist/swirl-symbol-autorenew.entry.54fbabd2.js +0 -17
- package/dist/swirl-symbol-backup.entry.02adf0fe.js +0 -17
- package/dist/swirl-symbol-badge.entry.e7c9ecd9.js +0 -17
- package/dist/swirl-symbol-barcode-reader.entry.d53d8c07.js +0 -17
- package/dist/swirl-symbol-barcode-scanner.entry.5a6e9368.js +0 -17
- package/dist/swirl-symbol-battery-horiz.entry.6ce1afd7.js +0 -17
- package/dist/swirl-symbol-beach-access.entry.c87ddba7.js +0 -17
- package/dist/swirl-symbol-bolt.entry.0b417bc7.js +0 -17
- package/dist/swirl-symbol-bookmark.entry.c76e607d.js +0 -17
- package/dist/swirl-symbol-calendar.entry.566d6f9a.js +0 -17
- package/dist/swirl-symbol-campaign.entry.6af98f4f.js +0 -17
- package/dist/swirl-symbol-cards-star.entry.8aadfe8a.js +0 -17
- package/dist/swirl-symbol-cloud.entry.036cf708.js +0 -17
- package/dist/swirl-symbol-construction.entry.182c641e.js +0 -17
- package/dist/swirl-symbol-contacts.entry.584cf55d.js +0 -17
- package/dist/swirl-symbol-coronavirus.entry.f78cd123.js +0 -17
- package/dist/swirl-symbol-design-services.entry.2ca9436d.js +0 -17
- package/dist/swirl-symbol-desktop-windows.entry.ef6ca405.js +0 -17
- package/dist/swirl-symbol-directions-car-filled.entry.c933f535.js +0 -17
- package/dist/swirl-symbol-diversity.entry.7ebd590f.js +0 -17
- package/dist/swirl-symbol-draw.entry.5abb087e.js +0 -17
- package/dist/swirl-symbol-edit-calendar.entry.9f50df28.js +0 -17
- package/dist/swirl-symbol-email.entry.3b718c7a.js +0 -17
- package/dist/swirl-symbol-emergency.entry.c7143d75.js +0 -17
- package/dist/swirl-symbol-emoji-food-beverage.entry.e2d5fa89.js +0 -17
- package/dist/swirl-symbol-engineering.entry.12a4e5e0.js +0 -17
- package/dist/swirl-symbol-event-menu.entry.d828df39.js +0 -17
- package/dist/swirl-symbol-explore.entry.b549aa09.js +0 -17
- package/dist/swirl-symbol-extension.entry.01844a02.js +0 -17
- package/dist/swirl-symbol-facebook.entry.e075862f.js +0 -17
- package/dist/swirl-symbol-favorite.entry.7236e135.js +0 -17
- package/dist/swirl-symbol-fitness-center.entry.bb46abd9.js +0 -17
- package/dist/swirl-symbol-flag.entry.e158aeed.js +0 -17
- package/dist/swirl-symbol-flight.entry.40154cb1.js +0 -17
- package/dist/swirl-symbol-folder.entry.9566d75f.js +0 -17
- package/dist/swirl-symbol-globe.entry.4b67273f.js +0 -17
- package/dist/swirl-symbol-groups.entry.c335580b.js +0 -17
- package/dist/swirl-symbol-healing.entry.9f68504a.js +0 -17
- package/dist/swirl-symbol-health-and-safety.entry.9572624e.js +0 -17
- package/dist/swirl-symbol-help.entry.877353cb.js +0 -17
- package/dist/swirl-symbol-home-repair-service.entry.c65ccfb8.js +0 -17
- package/dist/swirl-symbol-home-storage.entry.27430dea.js +0 -17
- package/dist/swirl-symbol-id-card.entry.cb815b99.js +0 -17
- package/dist/swirl-symbol-image.entry.34620d05.js +0 -17
- package/dist/swirl-symbol-info-menu.entry.fc23e1cf.js +0 -17
- package/dist/swirl-symbol-instagram.entry.5452d0d7.js +0 -17
- package/dist/swirl-symbol-inventory-2.entry.171a2fb6.js +0 -17
- package/dist/swirl-symbol-inventory.entry.45407c7c.js +0 -17
- package/dist/swirl-symbol-ios.entry.ef2294e0.js +0 -17
- package/dist/swirl-symbol-key.entry.507c2c12.js +0 -17
- package/dist/swirl-symbol-language.entry.5d97cfab.js +0 -17
- package/dist/swirl-symbol-leaderboard.entry.8077c113.js +0 -17
- package/dist/swirl-symbol-lightbulb.entry.7827319e.js +0 -17
- package/dist/swirl-symbol-linkedin.entry.e0483e9e.js +0 -17
- package/dist/swirl-symbol-local-shipping.entry.37a81e80.js +0 -17
- package/dist/swirl-symbol-location-on.entry.c1c5f679.js +0 -17
- package/dist/swirl-symbol-loyalty.entry.69a23703.js +0 -17
- package/dist/swirl-symbol-map.entry.9f37e634.js +0 -17
- package/dist/swirl-symbol-maps-home-work.entry.ed2519d5.js +0 -17
- package/dist/swirl-symbol-menu-book.entry.cabbb0c0.js +0 -17
- package/dist/swirl-symbol-mop.entry.2fc183db.js +0 -17
- package/dist/swirl-symbol-nest-eco-leaf.entry.734466d4.js +0 -17
- package/dist/swirl-symbol-notifications.entry.a064cccc.js +0 -17
- package/dist/swirl-symbol-open-in-new.entry.b737b6f0.js +0 -17
- package/dist/swirl-symbol-orders.entry.b6c863e4.js +0 -17
- package/dist/swirl-symbol-package.entry.b7d05046.js +0 -17
- package/dist/swirl-symbol-palette.entry.e2187911.js +0 -17
- package/dist/swirl-symbol-partly-cloudy-day.entry.f8bab71a.js +0 -17
- package/dist/swirl-symbol-pedal-bike.entry.6eefc01f.js +0 -17
- package/dist/swirl-symbol-percent-discount.entry.66e324e0.js +0 -17
- package/dist/swirl-symbol-pets.entry.47bfce8e.js +0 -17
- package/dist/swirl-symbol-pinterest.entry.2b6a0588.js +0 -17
- package/dist/swirl-symbol-point-of-sale.entry.07f8df08.js +0 -17
- package/dist/swirl-symbol-policy.entry.9ef761f4.js +0 -17
- package/dist/swirl-symbol-precision-manufacturing.entry.8d254e62.js +0 -17
- package/dist/swirl-symbol-print.entry.b7b367c5.js +0 -17
- package/dist/swirl-symbol-push-pin.entry.d3aa7b84.js +0 -17
- package/dist/swirl-symbol-recycling.entry.7a6a0dc0.js +0 -17
- package/dist/swirl-symbol-redeem.entry.944bd5ac.js +0 -17
- package/dist/swirl-symbol-report-problem.entry.3d2933eb.js +0 -17
- package/dist/swirl-symbol-restaurant.entry.05fd0e88.js +0 -17
- package/dist/swirl-symbol-roadmap.entry.549abf68.js +0 -17
- package/dist/swirl-symbol-rocket-launch.entry.7941aa11.js +0 -17
- package/dist/swirl-symbol-room.entry.88a541a0.js +0 -17
- package/dist/swirl-symbol-savings.entry.a26509c9.js +0 -17
- package/dist/swirl-symbol-school.entry.3872b7c9.js +0 -17
- package/dist/swirl-symbol-sell.entry.113b39e8.js +0 -17
- package/dist/swirl-symbol-settings-voice.entry.155da2eb.js +0 -17
- package/dist/swirl-symbol-shopping-bag.entry.efb9d666.js +0 -17
- package/dist/swirl-symbol-shopping-cart.entry.ff0fe070.js +0 -17
- package/dist/swirl-symbol-smartphone.entry.4225fef2.js +0 -17
- package/dist/swirl-symbol-spa.entry.eab538cf.js +0 -17
- package/dist/swirl-symbol-sports-soccer.entry.a9d1c296.js +0 -17
- package/dist/swirl-symbol-star.entry.8c196964.js +0 -17
- package/dist/swirl-symbol-supervisor-account.entry.775d81b0.js +0 -17
- package/dist/swirl-symbol-task.entry.d8a61874.js +0 -17
- package/dist/swirl-symbol-tasks.entry.69ee247f.js +0 -17
- package/dist/swirl-symbol-thumbs-up-down.entry.6b6ef4ed.js +0 -17
- package/dist/swirl-symbol-timer.entry.43abd0c8.js +0 -17
- package/dist/swirl-symbol-tools-power-drill.entry.ca20534e.js +0 -17
- package/dist/swirl-symbol-train.entry.171d2856.js +0 -17
- package/dist/swirl-symbol-trophy.entry.4102de18.js +0 -17
- package/dist/swirl-symbol-twitter.entry.c3d5c43f.js +0 -17
- package/dist/swirl-symbol-video.entry.73f73784.js +0 -17
- package/dist/swirl-symbol-warehouse.entry.ed728eb9.js +0 -17
- package/dist/swirl-symbol-water-drop.entry.04d41843.js +0 -17
- package/dist/swirl-symbol-wb-sunny.entry.4b7f1f86.js +0 -17
- package/dist/swirl-symbol-wechat.entry.8ac429cf.js +0 -17
- package/dist/swirl-symbol-weibo.entry.740e17b8.js +0 -17
- package/dist/swirl-symbol-wifi.entry.5a0e5f59.js +0 -17
- package/dist/swirl-symbol-work.entry.83dca9b3.js +0 -17
- package/dist/swirl-symbol-xing.entry.b1702954.js +0 -17
- package/dist/swirl-symbol-youtube.entry.ee5279c9.js +0 -17
- package/dist/swirl-symbol.entry.7c26926c.js +0 -16
- package/dist/swirl-tab-bar.entry.0914bfe1.js +0 -65
- package/dist/swirl-tab.entry.4397d9e0.js +0 -17
- package/dist/swirl-table-cell.entry.13bca043.js +0 -15
- package/dist/swirl-table-column.entry.9290611f.js +0 -34
- package/dist/swirl-table-row-group.entry.b013be17.js +0 -35
- package/dist/swirl-table-row.entry.dad94401.js +0 -27
- package/dist/swirl-table.entry.fa1c44d2.js +0 -335
- package/dist/swirl-tabs.entry.491b0177.js +0 -63
- package/dist/swirl-text-input.entry.b6aea7d3.js +0 -93
- package/dist/swirl-text.entry.136adf15.js +0 -299
- package/dist/swirl-theme-provider.entry.0a843651.js +0 -96
- package/dist/swirl-thumbnail.entry.91acb04a.js +0 -20
- package/dist/swirl-time-input.entry.e6d3a3e6.js +0 -140
- package/dist/swirl-toast-provider.entry.7a0f91db.js +0 -81
- package/dist/swirl-toast.entry.f278b013.js +0 -55
- package/dist/swirl-toggle-button.entry.aada18b2.js +0 -21
- package/dist/swirl-toggle-group.entry.be636341.js +0 -62
- package/dist/swirl-toolbar.entry.4e5bed6a.js +0 -56
- package/dist/swirl-tooltip.entry.0a26b7d4.js +0 -114
- package/dist/swirl-tree-navigation-item.entry.dd705315.js +0 -73
- package/dist/swirl-tree-navigation.entry.1a95edea.js +0 -15
- package/dist/swirl-tree-view-item.entry.b143d3fd.js +0 -203
- package/dist/swirl-tree-view.config-BkSXzL50.94f4a648.js +0 -24
- package/dist/swirl-tree-view.entry.983ad325.js +0 -222
- package/dist/swirl-video-thumbnail.entry.b8216f3d.js +0 -15
- package/dist/swirl-visually-hidden.entry.d20b75ef.js +0 -15
- package/dist/utils-CCck-DTo.e4e43b6a.js +0 -119
- package/dist/v4-DD3477fe.2624487e.js +0 -27
- package/dist/wc-datepicker.entry.3cbe56b3.js +0 -380
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
import { r as lt, h as Z, H as ct, g as ht } from "./index.0e476e54.js";
|
|
2
|
-
import { c as dt, g as ft } from "./index-orsBiyT_.fc4357c3.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
var K = { exports: {} }, ut = K.exports, st;
|
|
6
|
-
function xt() {
|
|
7
|
-
return st || (st = 1, function(o) {
|
|
8
|
-
(function(l, a) {
|
|
9
|
-
o.exports ? o.exports = a() : l.balanceText = a();
|
|
10
|
-
})(ut, () => {
|
|
11
|
-
let l, a, r;
|
|
12
|
-
const c = {
|
|
13
|
-
sel: [],
|
|
14
|
-
el: []
|
|
15
|
-
};
|
|
16
|
-
let f = !1, v = !1;
|
|
17
|
-
function z() {
|
|
18
|
-
}
|
|
19
|
-
function g(t, e) {
|
|
20
|
-
Array.prototype.forEach.call(t, e);
|
|
21
|
-
}
|
|
22
|
-
function B(t) {
|
|
23
|
-
document.readyState !== "loading" ? t() : document.addEventListener ? document.addEventListener("DOMContentLoaded", t) : document.attachEvent("onreadystatechange", () => {
|
|
24
|
-
document.readyState !== "loading" && t();
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
function D(t, e, n, ...i) {
|
|
28
|
-
let s;
|
|
29
|
-
return function() {
|
|
30
|
-
const h = this;
|
|
31
|
-
function S() {
|
|
32
|
-
t.apply(h, i), s = null;
|
|
33
|
-
}
|
|
34
|
-
s && clearTimeout(s), s = setTimeout(S, 100);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function I() {
|
|
38
|
-
if (typeof window > "u")
|
|
39
|
-
return !1;
|
|
40
|
-
const { style: t } = document.documentElement;
|
|
41
|
-
return t.textWrap || t.WebkitTextWrap || t.MozTextWrap || t.MsTextWrap;
|
|
42
|
-
}
|
|
43
|
-
function C() {
|
|
44
|
-
this.reset();
|
|
45
|
-
}
|
|
46
|
-
C.prototype.reset = function() {
|
|
47
|
-
this.index = 0, this.width = 0;
|
|
48
|
-
};
|
|
49
|
-
function m(t) {
|
|
50
|
-
return a.some((e) => e.start < t && t < e.end);
|
|
51
|
-
}
|
|
52
|
-
function L(t, e) {
|
|
53
|
-
if (t.nodeType === t.ELEMENT_NODE)
|
|
54
|
-
if (window.getComputedStyle(t).whiteSpace === "nowrap") {
|
|
55
|
-
const i = t.outerHTML.length;
|
|
56
|
-
a.push({ start: r, end: r + i }), r += i;
|
|
57
|
-
} else
|
|
58
|
-
g(t.childNodes, (i) => {
|
|
59
|
-
L(i, !0);
|
|
60
|
-
}), e && (r += t.outerHTML.length - t.innerHTML.length);
|
|
61
|
-
else
|
|
62
|
-
t.nodeType === t.COMMENT_NODE ? r += t.length + 7 : t.nodeType === t.PROCESSING_INSTRUCTION_NODE ? r += t.length + 2 : r += t.length;
|
|
63
|
-
}
|
|
64
|
-
function k(t, e, n) {
|
|
65
|
-
if (n === 0)
|
|
66
|
-
t.style.whiteSpace = e, r = 0, a = [], L(t, !1), t.style.whiteSpace = "nowrap";
|
|
67
|
-
else {
|
|
68
|
-
const i = [];
|
|
69
|
-
a.forEach((s) => {
|
|
70
|
-
s.start > n && i.push({ start: s.start - n, end: s.end - n });
|
|
71
|
-
}), a = i;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
function Q(t) {
|
|
75
|
-
let e = t.querySelectorAll('br[data-owner="balance-text-hyphen"]');
|
|
76
|
-
g(e, (i) => {
|
|
77
|
-
i.outerHTML = "";
|
|
78
|
-
}), e = t.querySelectorAll('br[data-owner="balance-text"]'), g(e, (i) => {
|
|
79
|
-
i.outerHTML = " ";
|
|
80
|
-
});
|
|
81
|
-
let n = t.querySelectorAll('span[data-owner="balance-text-softhyphen"]');
|
|
82
|
-
if (n.length > 0 && g(n, (i) => {
|
|
83
|
-
const s = document.createTextNode("\xAD");
|
|
84
|
-
i.parentNode.insertBefore(s, i), i.parentNode.removeChild(i);
|
|
85
|
-
}), n = t.querySelectorAll('span[data-owner="balance-text-justify"]'), n.length > 0) {
|
|
86
|
-
let i = "";
|
|
87
|
-
g(n, (s) => {
|
|
88
|
-
i += s.textContent, s.parentNode.removeChild(s);
|
|
89
|
-
}), t.innerHTML = i;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
const _ = function(t) {
|
|
93
|
-
return (t.currentStyle || window.getComputedStyle(t, null)).textAlign === "justify";
|
|
94
|
-
};
|
|
95
|
-
function d(t, e, n) {
|
|
96
|
-
e = e.trim();
|
|
97
|
-
const i = e.split(" ").length;
|
|
98
|
-
if (e = `${e} `, i < 2)
|
|
99
|
-
return e;
|
|
100
|
-
const s = document.createElement("span");
|
|
101
|
-
s.innerHTML = e, t.appendChild(s);
|
|
102
|
-
const h = s.offsetWidth;
|
|
103
|
-
s.parentNode.removeChild(s);
|
|
104
|
-
const S = Math.floor((n - h) / (i - 1));
|
|
105
|
-
s.style.wordSpacing = `${S}px`, s.setAttribute("data-owner", "balance-text-justify");
|
|
106
|
-
const p = document.createElement("div");
|
|
107
|
-
return p.appendChild(s), p.innerHTML;
|
|
108
|
-
}
|
|
109
|
-
function x(t, e) {
|
|
110
|
-
const n = /([^\S\u00a0]|-|\u2014|\u2013|\u00ad)(?![^<]*>)/g;
|
|
111
|
-
let i;
|
|
112
|
-
if (!l)
|
|
113
|
-
for (l = [], i = n.exec(t); i !== null; )
|
|
114
|
-
m(i.index) || l.push(i.index), i = n.exec(t);
|
|
115
|
-
return l.indexOf(e) !== -1;
|
|
116
|
-
}
|
|
117
|
-
function X(t, e) {
|
|
118
|
-
return e === 0 || e === t.length || x(t, e - 1) && !x(t, e);
|
|
119
|
-
}
|
|
120
|
-
function b(t, e, n, i, s, h, S) {
|
|
121
|
-
let p;
|
|
122
|
-
if (e && typeof e == "string")
|
|
123
|
-
for (; ; ) {
|
|
124
|
-
for (; !X(e, h); )
|
|
125
|
-
h += s;
|
|
126
|
-
if (t.innerHTML = e.substr(0, h), p = t.offsetWidth, s < 0) {
|
|
127
|
-
if (p <= i || p <= 0 || h === 0)
|
|
128
|
-
break;
|
|
129
|
-
} else if (i <= p || n <= p || h === e.length)
|
|
130
|
-
break;
|
|
131
|
-
h += s;
|
|
132
|
-
}
|
|
133
|
-
S.index = h, S.width = p;
|
|
134
|
-
}
|
|
135
|
-
function R(t, e) {
|
|
136
|
-
const n = document.createElement("div");
|
|
137
|
-
n.style.display = "block", n.style.position = "absolute", n.style.bottom = 0, n.style.right = 0, n.style.width = 0, n.style.height = 0, n.style.margin = 0, n.style.padding = 0, n.style.visibility = "hidden", n.style.overflow = "hidden";
|
|
138
|
-
const i = document.createElement("span");
|
|
139
|
-
i.style.fontSize = "2000px", i.innerHTML = " ", n.appendChild(i), t.appendChild(n);
|
|
140
|
-
const s = i.getBoundingClientRect();
|
|
141
|
-
n.parentNode.removeChild(n);
|
|
142
|
-
const h = s.height / s.width;
|
|
143
|
-
return e / h;
|
|
144
|
-
}
|
|
145
|
-
function u(t) {
|
|
146
|
-
return t ? typeof t == "string" ? document.querySelectorAll(t) : t.tagName && t.querySelectorAll ? [t] : t : [];
|
|
147
|
-
}
|
|
148
|
-
function O(t) {
|
|
149
|
-
g(u(t), (e) => {
|
|
150
|
-
Q(e);
|
|
151
|
-
const i = e.style.whiteSpace, s = e.style.float, h = e.style.display, S = e.style.position, p = e.style.lineHeight;
|
|
152
|
-
e.style.lineHeight = "normal";
|
|
153
|
-
const E = e.offsetWidth, ot = e.offsetHeight;
|
|
154
|
-
e.style.whiteSpace = "nowrap", e.style.float = "none", e.style.display = "inline", e.style.position = "static";
|
|
155
|
-
let U = e.offsetWidth;
|
|
156
|
-
const P = e.offsetHeight, tt = i === "pre-wrap" ? 0 : R(e, P);
|
|
157
|
-
if (E > 0 && U > E && U < 5e3) {
|
|
158
|
-
let w = e.innerHTML, q = "", N = "";
|
|
159
|
-
const et = _(e);
|
|
160
|
-
let V = Math.round(ot / P), it = 0, W, A, y, H, j, nt, Y;
|
|
161
|
-
for (; V > 1; )
|
|
162
|
-
l = null, k(e, i, it), W = Math.round((U + tt) / V - tt), A = Math.round((w.length + 1) / V) - 1, y = new C(), b(e, w, E, W, -1, A, y), H = new C(), A = y.index, b(e, w, E, W, 1, A, H), y.reset(), A = H.index, b(e, w, E, W, -1, A, y), y.index === 0 ? j = H.index : E < H.width || y.index === H.index ? j = y.index : j = Math.abs(W - y.width) < Math.abs(H.width - W) ? y.index : H.index, N = w.substr(0, j).replace(/\s$/, ""), Y = Boolean(N.match(/\u00ad$/)), Y && (N = N.replace(/\u00ad$/, '<span data-owner="balance-text-softhyphen">-</span>')), et ? q += d(e, N, E) : (q += N, nt = Y || Boolean(N.match(/(-|\u2014|\u2013)$/)), q += nt ? '<br data-owner="balance-text-hyphen" />' : '<br data-owner="balance-text" aria-hidden="true" />'), w = w.substr(j), it = j, V--, e.innerHTML = w, U = e.offsetWidth;
|
|
163
|
-
et ? e.innerHTML = q + d(e, w, E) : e.innerHTML = q + w;
|
|
164
|
-
}
|
|
165
|
-
e.style.whiteSpace = i, e.style.float = s, e.style.display = h, e.style.position = S, e.style.lineHeight = p;
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
function T() {
|
|
169
|
-
const t = c.sel.join(","), e = u(t), n = Array.prototype.concat.apply(c.el, e);
|
|
170
|
-
O(n);
|
|
171
|
-
}
|
|
172
|
-
function F() {
|
|
173
|
-
f || (B(T), window.addEventListener("load", T), window.addEventListener("resize", D(T)), f = !0);
|
|
174
|
-
}
|
|
175
|
-
function M(t) {
|
|
176
|
-
typeof t == "string" ? c.sel.push(t) : g(u(t), (e) => {
|
|
177
|
-
c.el.push(e);
|
|
178
|
-
}), F(), T();
|
|
179
|
-
}
|
|
180
|
-
function J(t) {
|
|
181
|
-
typeof t == "string" ? c.sel = c.sel.filter((e) => e !== t) : (t = u(t), c.el = c.el.filter((e) => t.indexOf(e) === -1));
|
|
182
|
-
}
|
|
183
|
-
function G() {
|
|
184
|
-
v || (c.sel.push(".balance-text"), F(), v = !0);
|
|
185
|
-
}
|
|
186
|
-
function $(t, e) {
|
|
187
|
-
t ? e && e.watch === !0 ? M(t) : e && e.watch === !1 ? J(t) : O(t) : G();
|
|
188
|
-
}
|
|
189
|
-
return $.updateWatched = T, I() ? (z.updateWatched = z, z) : $;
|
|
190
|
-
});
|
|
191
|
-
}(K)), K.exports;
|
|
192
|
-
}
|
|
193
|
-
var pt = xt(), gt = /* @__PURE__ */ ft(pt);
|
|
194
|
-
/**
|
|
195
|
-
shave - Shave is a javascript plugin that truncates multi-line text within a html element based on set max height
|
|
196
|
-
@version v5.0.2
|
|
197
|
-
@link https://github.com/yowainwright/shave#readme
|
|
198
|
-
@author Jeff Wainwright <yowainwright@gmail.com> (jeffry.in)
|
|
199
|
-
@license MIT
|
|
200
|
-
**/
|
|
201
|
-
function rt(o, l) {
|
|
202
|
-
var a = typeof Symbol == "function" && o[Symbol.iterator];
|
|
203
|
-
if (!a)
|
|
204
|
-
return o;
|
|
205
|
-
var r = a.call(o), c, f = [], v;
|
|
206
|
-
try {
|
|
207
|
-
for (; !(c = r.next()).done; )
|
|
208
|
-
f.push(c.value);
|
|
209
|
-
} catch (z) {
|
|
210
|
-
v = { error: z };
|
|
211
|
-
} finally {
|
|
212
|
-
try {
|
|
213
|
-
c && !c.done && (a = r.return) && a.call(r);
|
|
214
|
-
} finally {
|
|
215
|
-
if (v)
|
|
216
|
-
throw v.error;
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
return f;
|
|
220
|
-
}
|
|
221
|
-
function at(o, l, a) {
|
|
222
|
-
if (arguments.length === 2)
|
|
223
|
-
for (var r = 0, c = l.length, f; r < c; r++)
|
|
224
|
-
(f || !(r in l)) && (f || (f = Array.prototype.slice.call(l, 0, r)), f[r] = l[r]);
|
|
225
|
-
return o.concat(f || Array.prototype.slice.call(l));
|
|
226
|
-
}
|
|
227
|
-
function wt(o) {
|
|
228
|
-
return typeof o == "string" ? at([], rt(document.querySelectorAll(o)), !1) : "length" in o ? at([], rt(o), !1) : [o];
|
|
229
|
-
}
|
|
230
|
-
function yt(o, l, a) {
|
|
231
|
-
if (a === void 0 && (a = {}), typeof l > "u" || isNaN(l))
|
|
232
|
-
throw Error("maxHeight is required");
|
|
233
|
-
var r = wt(o);
|
|
234
|
-
if (!!r.length)
|
|
235
|
-
for (var c = a.character, f = c === void 0 ? "\u2026" : c, v = a.classname, z = v === void 0 ? "js-shave" : v, g = a.spaces, B = g === void 0 ? !0 : g, D = a.charclassname, I = D === void 0 ? "js-shave-char" : D, C = a.link, m = C === void 0 ? {} : C, L = typeof B == "boolean" ? B : !0, k = m && JSON.stringify(m) !== "{}" && m.href, Q = k ? "a" : "span", _ = 0; _ < r.length; _ += 1) {
|
|
236
|
-
var d = r[_], x = d.style, X = d.querySelector("." + z), b = d.textContent === void 0 ? "innerText" : "textContent";
|
|
237
|
-
X && (d.removeChild(d.querySelector("." + I)), d[b] = d[b]);
|
|
238
|
-
var R = d[b], u = L ? R.split(" ") : R;
|
|
239
|
-
if (!(u.length < 2)) {
|
|
240
|
-
var O = x.height;
|
|
241
|
-
x.height = "auto";
|
|
242
|
-
var T = x.maxHeight;
|
|
243
|
-
if (x.maxHeight = "none", d.offsetHeight <= l) {
|
|
244
|
-
x.height = O, x.maxHeight = T;
|
|
245
|
-
continue;
|
|
246
|
-
}
|
|
247
|
-
var F = k && m.textContent ? m.textContent : f, M = document.createElement(Q), J = {
|
|
248
|
-
className: I,
|
|
249
|
-
textContent: F
|
|
250
|
-
};
|
|
251
|
-
for (var G in J)
|
|
252
|
-
M[G] = J[G], M.textContent = f;
|
|
253
|
-
if (k)
|
|
254
|
-
for (var $ in m)
|
|
255
|
-
M[$] = m[$];
|
|
256
|
-
for (var t = u.length - 1, e = 0, n = void 0; e < t; )
|
|
257
|
-
n = e + t + 1 >> 1, d[b] = L ? u.slice(0, n).join(" ") : u.slice(0, n), d.insertAdjacentElement("beforeend", M), d.offsetHeight > l ? t = n - 1 : e = n;
|
|
258
|
-
d[b] = L ? u.slice(0, t).join(" ") : u.slice(0, t), d.insertAdjacentElement("beforeend", M);
|
|
259
|
-
var i = L ? " ".concat(u.slice(t).join(" ")) : u.slice(t), s = document.createTextNode(i), h = document.createElement("span");
|
|
260
|
-
h.classList.add(z), h.style.display = "none", h.appendChild(s), d.insertAdjacentElement("beforeend", h), x.height = O, x.maxHeight = T;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
const vt = () => ".sc-swirl-text-h{display:block;max-width:100%}.sc-swirl-text-h *.sc-swirl-text{box-sizing:border-box}.text.sc-swirl-text{overflow:hidden;margin:0;padding:0}.text--align-start.sc-swirl-text{text-align:start}.text--align-center.sc-swirl-text{text-align:center}.text--align-end.sc-swirl-text{text-align:end}.text--color-default.sc-swirl-text{color:var(--s-text-default)}.text--color-disabled.sc-swirl-text{color:var(--s-text-disabled)}.text--color-highlight.sc-swirl-text{color:var(--s-text-highlight)}.text--color-on-action-primary.sc-swirl-text{color:var(--s-text-on-action-primary)}.text--color-on-image.sc-swirl-text{color:var(--s-text-on-image)}.text--color-on-status.sc-swirl-text{color:var(--s-text-on-status)}.text--color-on-surface-highlight.sc-swirl-text{color:var(--s-text-on-surface-highlight)}.text--color-on-surface-highlight-subdued.sc-swirl-text{color:var(--s-text-on-surface-highlight-subdued)}.text--color-subdued.sc-swirl-text{color:var(--s-text-subdued)}.text--color-critical.sc-swirl-text{color:var(--s-text-critical)}.text--color-success.sc-swirl-text{color:var(--s-text-success)}.text--color-warning.sc-swirl-text{color:var(--s-text-warning)}.text--size-xs.sc-swirl-text{font-size:var(--s-font-size-xs);line-height:var(--s-line-height-xs)}.text--size-sm.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}.text--size-base.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-base.text--responsive.sc-swirl-text{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.text--size-lg.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-lg.text--responsive.sc-swirl-text{font-size:var(--s-font-size-base);line-height:var(--s-line-height-base)}}.text--size-xl.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-lg);line-height:var(--s-line-height-lg)}}.text--size-2xl.sc-swirl-text{font-size:var(--s-font-size-2xl);line-height:var(--s-line-height-2xl)}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.text--size-2xl.text--responsive.sc-swirl-text{font-size:var(--s-font-size-xl);line-height:var(--s-line-height-xl)}}.text--weight-normal.sc-swirl-text{font-weight:var(--s-font-weight-normal)}.text--weight-medium.sc-swirl-text{font-weight:var(--s-font-weight-medium)}.text--weight-semibold.sc-swirl-text{font-weight:var(--s-font-weight-semibold)}.text--weight-bold.sc-swirl-text{font-weight:var(--s-font-weight-bold)}.text--font-style-normal.sc-swirl-text{font-style:normal}.text--font-style-italic.sc-swirl-text{font-style:italic}.text--font-family-code.sc-swirl-text{font-family:var(--s-font-family-code)}.text--truncate.sc-swirl-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.text--truncate-direction-start.sc-swirl-text{direction:rtl;text-align:left}", mt = class {
|
|
265
|
-
constructor(o) {
|
|
266
|
-
lt(this, o), this.align = "start", this.as = "p", this.color = "default", this.fontFamily = "text", this.fontStyle = "normal", this.responsive = !0, this.size = "base", this.truncateDirection = "end", this.weight = "normal", this.whiteSpace = "normal";
|
|
267
|
-
}
|
|
268
|
-
componentDidRender() {
|
|
269
|
-
this.rebalance(), this.handleTruncation();
|
|
270
|
-
}
|
|
271
|
-
onWindowResize() {
|
|
272
|
-
this.rebalance(), this.handleTruncation();
|
|
273
|
-
}
|
|
274
|
-
handleTruncation() {
|
|
275
|
-
if (!this.truncate || !Boolean(this.lines) || this.lines === 1)
|
|
276
|
-
return;
|
|
277
|
-
const o = +window.getComputedStyle(this.textEl, null).getPropertyValue("line-height").replace("px", "");
|
|
278
|
-
o > 0 && yt(this.textEl, o * this.lines);
|
|
279
|
-
}
|
|
280
|
-
rebalance() {
|
|
281
|
-
!this.balance || !Boolean(this.textEl) || gt(this.textEl);
|
|
282
|
-
}
|
|
283
|
-
render() {
|
|
284
|
-
const o = this.as, l = this.truncate && (!Boolean(this.lines) || this.lines === 1), a = dt("text", `text--align-${this.align}`, `text--color-${this.color}`, `text--font-family-${this.fontFamily}`, `text--font-style-${this.fontStyle}`, `text--size-${this.size}`, `text--truncate-direction-${this.truncateDirection}`, `text--weight-${this.weight}`, {
|
|
285
|
-
"text--truncate": l,
|
|
286
|
-
"text--responsive": this.responsive
|
|
287
|
-
}), r = {
|
|
288
|
-
whiteSpace: l ? "nowrap" : this.whiteSpace
|
|
289
|
-
};
|
|
290
|
-
return Z(ct, { key: "c7e5c1fe48bf2922d59882164f2dbcbcdb886920" }, Z(o, { key: "e448f3f46c6debac61d339b3b0a948e74f334f2b", class: a, ref: (c) => this.textEl = c, style: r }, Z("slot", { key: "7f7dfe2c44d3c3b8c9105643c7eaf493a980d6b7" })));
|
|
291
|
-
}
|
|
292
|
-
get el() {
|
|
293
|
-
return ht(this);
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
mt.style = vt();
|
|
297
|
-
export {
|
|
298
|
-
mt as swirl_text
|
|
299
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { r as m, c as n, h as o, H as d } from "./index.0e476e54.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "react-dom";
|
|
4
|
-
const l = () => ".sc-swirl-theme-provider-h{display:unset}", i = "swirl-preferred-theme", c = class {
|
|
5
|
-
constructor(e) {
|
|
6
|
-
m(this, e), this.appThemeUpdated = n(this, "appThemeUpdated", 7), this.themeChange = n(this, "themeChange", 7), this.darkThemeMediaQuery = window.matchMedia("(prefers-color-scheme: dark)"), this.setDesignTokens = [], this.osThemeChangeHandler = (t) => {
|
|
7
|
-
this.osTheme = t.matches ? "dark" : "light", this.updateAppTheme();
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
componentWillLoad() {
|
|
11
|
-
this.resolveConfig(), this.determineOSTheme(), this.updateAppTheme();
|
|
12
|
-
}
|
|
13
|
-
disconnectedCallback() {
|
|
14
|
-
this.darkThemeMediaQuery.removeEventListener("change", this.osThemeChangeHandler);
|
|
15
|
-
}
|
|
16
|
-
watchConfig() {
|
|
17
|
-
this.resolveConfig(), this.determineOSTheme(), this.updateAppTheme();
|
|
18
|
-
}
|
|
19
|
-
async getActiveOSTheme() {
|
|
20
|
-
return this.appOSTheme;
|
|
21
|
-
}
|
|
22
|
-
async getPreferredOSTheme() {
|
|
23
|
-
if (!!Boolean(this.resolvedConfig.storage))
|
|
24
|
-
return this.resolvedConfig.storage.getItem(i);
|
|
25
|
-
}
|
|
26
|
-
async setPreferredOSTheme(e) {
|
|
27
|
-
!Boolean(this.resolvedConfig.storage) || !this.resolvedConfig.enabledThemes.includes(e) || (this.resolvedConfig.storage.setItem(i, e), this.updateAppTheme());
|
|
28
|
-
}
|
|
29
|
-
async resetPreferredOSTheme() {
|
|
30
|
-
!Boolean(this.resolvedConfig.storage) || (this.resolvedConfig.storage.removeItem(i), this.updateAppTheme());
|
|
31
|
-
}
|
|
32
|
-
resolveConfig() {
|
|
33
|
-
var e, t, s;
|
|
34
|
-
if (this.resolvedConfig = {
|
|
35
|
-
...this.config || {},
|
|
36
|
-
enabledThemes: ((e = this.config) == null ? void 0 : e.enabledThemes) || ["light", "dark"],
|
|
37
|
-
rootElement: ((t = this.config) == null ? void 0 : t.rootElement) || document.documentElement,
|
|
38
|
-
storage: ((s = this.config) == null ? void 0 : s.storage) || (window == null ? void 0 : window.localStorage)
|
|
39
|
-
}, !this.resolvedConfig.enabledThemes.includes("light"))
|
|
40
|
-
throw new Error("[Swirl Theme Provider] Light theme must be enabled.");
|
|
41
|
-
}
|
|
42
|
-
determineOSTheme() {
|
|
43
|
-
if (!Boolean(window.matchMedia)) {
|
|
44
|
-
this.osTheme = "light";
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
this.osTheme = this.darkThemeMediaQuery.matches ? "dark" : "light", this.darkThemeMediaQuery.removeEventListener("change", this.osThemeChangeHandler), this.darkThemeMediaQuery.addEventListener("change", this.osThemeChangeHandler);
|
|
48
|
-
}
|
|
49
|
-
async updateAppTheme() {
|
|
50
|
-
const e = await this.getPreferredOSTheme() || this.osTheme;
|
|
51
|
-
this.resolvedConfig.enabledThemes.includes(e) ? this.appOSTheme = e : this.appOSTheme = "light", this.appOSTheme === "dark" ? (document.documentElement.classList.remove("theme-light"), document.documentElement.classList.add("theme-dark")) : (document.documentElement.classList.remove("theme-dark"), document.documentElement.classList.add("theme-light")), this.updateTenantVariables(), this.updateTenantAssets();
|
|
52
|
-
const t = {
|
|
53
|
-
activeTheme: await this.getActiveOSTheme(),
|
|
54
|
-
preferredTheme: await this.getPreferredOSTheme()
|
|
55
|
-
};
|
|
56
|
-
(!Boolean(this.recentOSThemeChangeEventData) || t.activeTheme !== this.recentOSThemeChangeEventData.activeTheme || t.preferredTheme !== this.recentOSThemeChangeEventData.preferredTheme) && (this.recentOSThemeChangeEventData = t, this.themeChange.emit(this.recentOSThemeChangeEventData)), this.appThemeUpdated.emit();
|
|
57
|
-
}
|
|
58
|
-
updateTenantAssets() {
|
|
59
|
-
var t, s, h;
|
|
60
|
-
const e = (s = (t = this.resolvedConfig) == null ? void 0 : t.themes) == null ? void 0 : s[this.appOSTheme];
|
|
61
|
-
!Boolean(e) || (h = document.head.querySelector('link[rel="icon"]')) == null || h.setAttribute("href", e.favicon.link);
|
|
62
|
-
}
|
|
63
|
-
updateTenantVariables() {
|
|
64
|
-
var s, h;
|
|
65
|
-
const e = (h = (s = this.resolvedConfig) == null ? void 0 : s.themes) == null ? void 0 : h[this.appOSTheme];
|
|
66
|
-
if (!Boolean(e)) {
|
|
67
|
-
this.resetTenantVariables();
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
const t = this.resolvedConfig.rootElement;
|
|
71
|
-
this.setDesignTokens = [], e.design_tokens.forEach((r) => {
|
|
72
|
-
const a = `--s-${r.id}`;
|
|
73
|
-
t.style.setProperty(a, `rgba(${r.color.r}, ${r.color.g}, ${r.color.b}, ${r.color.a})`), this.setDesignTokens.push(a);
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
resetTenantVariables() {
|
|
77
|
-
const e = this.resolvedConfig.rootElement;
|
|
78
|
-
this.setDesignTokens.forEach((t) => {
|
|
79
|
-
e.style.removeProperty(t);
|
|
80
|
-
}), this.setDesignTokens = [];
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
return o(d, { key: "fefdc5cefaea45d80da429da2abc4b370a162c7e" }, o("slot", { key: "354717bed5f64caf726803a8eb6362eb5247ff4f" }));
|
|
84
|
-
}
|
|
85
|
-
static get watchers() {
|
|
86
|
-
return {
|
|
87
|
-
config: [{
|
|
88
|
-
watchConfig: 0
|
|
89
|
-
}]
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
c.style = l();
|
|
94
|
-
export {
|
|
95
|
-
c as swirl_theme_provider
|
|
96
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { r as b, c as s, h as i, H as h } from "./index.0e476e54.js";
|
|
2
|
-
import { c as m } from "./index-orsBiyT_.fc4357c3.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "react-dom";
|
|
5
|
-
const c = () => ':host{display:inline-flex}:host *{box-sizing:border-box}.thumbnail{position:relative;display:inline-flex;overflow:hidden;padding:0.0625rem;border-radius:var(--s-border-radius-s)}.thumbnail--size-s{--swirl-thumbnail-size:2.5rem}.thumbnail--size-m{--swirl-thumbnail-size:3rem}.thumbnail--size-l{--swirl-thumbnail-size:4rem}.thumbnail--size-xl{--swirl-thumbnail-size:5rem;border-radius:var(--s-border-radius-sm)}.thumbnail--size-xl .thumbnail__buttons{transform:scale(0.75)}.thumbnail--size-2xl{--swirl-thumbnail-size:7.5rem;border-radius:var(--s-border-radius-sm)}.thumbnail--format-landscape{width:var(--swirl-thumbnail-size);aspect-ratio:4 / 3}.thumbnail--format-portrait{height:var(--swirl-thumbnail-size);aspect-ratio:3 / 4}.thumbnail--format-square{width:var(--swirl-thumbnail-size);height:var(--swirl-thumbnail-size)}.thumbnail--has-progress .thumbnail__timestamp{bottom:var(--s-space-8)}.thumbnail--interactive .thumbnail__image-wrapper{position:relative;padding:0;border:none;background-color:transparent;cursor:pointer}.thumbnail--interactive .thumbnail__image-wrapper:hover:after{position:absolute;background-color:rgba(0, 0, 0, 0.15);content:"";inset:0}.thumbnail--interactive .thumbnail__image-wrapper:active:after{position:absolute;background-color:rgba(0, 0, 0, 0.3);content:"";inset:0}.thumbnail__image-wrapper{overflow:hidden;width:100%;height:100%;border-radius:var(--s-border-radius-s);box-shadow:inset 0 0 0 0.03125rem rgba(0, 0, 0, 0.1)}.thumbnail__image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.thumbnail__progress-indicator{position:absolute;z-index:1;right:0;bottom:0;left:0}.thumbnail__buttons{position:absolute;z-index:1;top:var(--s-space-4);right:var(--s-space-4)}@media (hover: hover){.thumbnail__buttons{opacity:0}.thumbnail:hover .thumbnail__buttons{opacity:1}}.thumbnail__timestamp{position:absolute;z-index:1;bottom:var(--s-space-4);left:var(--s-space-4);display:block;overflow:hidden;max-width:calc(100% - 2 * var(--s-space-4));height:1.5rem;padding-right:var(--s-space-8);padding-left:var(--s-space-8);align-items:center;border-radius:var(--s-border-radius-s);color:var(--s-text-on-image);background-color:rgba(0, 0, 0, 0.6);font-size:var(--s-font-size-sm);line-height:1.5rem;white-space:nowrap;text-overflow:ellipsis}', d = class {
|
|
6
|
-
constructor(t) {
|
|
7
|
-
b(this, t), this.edit = s(this, "edit", 7), this.remove = s(this, "remove", 7), this.thumbnailClick = s(this, "thumbnailClick", 7), this.editButtonIcon = "<swirl-icon-crop></swirl-icon-crop>", this.editButtonLabel = "Edit", this.format = "landscape", this.progressLabel = "Loading progress", this.removeButtonLabel = "Remove", this.size = "m";
|
|
8
|
-
}
|
|
9
|
-
render() {
|
|
10
|
-
const t = (this.size === "xl" || this.size === "2xl") && this.format === "square", e = this.showRemoveButton && t, a = this.showEditButton && t && !(this.size === "xl" && e), r = a || e, o = Boolean(this.timestamp) && t, n = this.interactive ? "button" : "span", l = m("thumbnail", `thumbnail--format-${this.format}`, `thumbnail--size-${this.size}`, {
|
|
11
|
-
"thumbnail--interactive": this.interactive,
|
|
12
|
-
"thumbnail--has-progress": this.progress !== void 0
|
|
13
|
-
});
|
|
14
|
-
return i(h, { key: "60fd36e9353a9a86a70d1b35b745a32151a09bfa" }, i("span", { key: "b9f3c84e30a8c03bfa2c6ce15698938af3b900be", class: l, role: "group" }, i(n, { key: "ddc9b7af21b039f28885dc1bf41ff5d60606c4f8", class: "thumbnail__image-wrapper", onClick: this.thumbnailClick.emit, type: this.interactive ? "button" : void 0 }, i("img", { key: "f0fa51d8a133fd468f869e87fd47d0774ba6ecbe", alt: this.alt, class: "thumbnail__image", loading: "lazy", src: this.src })), this.progress !== void 0 && i("span", { key: "ffc442f88d1275a776599903c92ef409b793f70c", class: "thumbnail__progress-indicator" }, i("swirl-progress-indicator", { key: "1c48d20c34404dde48a155c19dad06fe663e75ab", label: this.progressLabel, value: this.progress })), r && i("swirl-button-group", { key: "4a95ec501ba7044a5412a587f409b9e7f0ac43ee", class: "thumbnail__buttons", segmented: a && e }, a && i("span", { key: "044a398b54e024274fe3f221ac547385247ba1be" }, i("swirl-button", { key: "a36fe962cfe305b2a72d4e9d830b36699f506ef8", hideLabel: !0, icon: this.editButtonIcon, label: this.editButtonLabel, onClick: this.edit.emit, pill: this.size === "xl", variant: "on-image" })), e && i("span", { key: "3703ecf16bc15af27753e91ec1a44b850d2273a5" }, i("swirl-button", { key: "034d623775210846466ae6b233e3b3fb101ed001", hideLabel: !0, icon: "<swirl-icon-delete></swirl-icon-delete>", label: this.removeButtonLabel, onClick: this.remove.emit, pill: this.size === "xl", variant: "on-image" }))), o && i("span", { key: "b38746e0e4ff3d9e1505c16da8393b24cd8a4d6d", class: "thumbnail__timestamp" }, this.timestamp)));
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
d.style = c();
|
|
18
|
-
export {
|
|
19
|
-
d as swirl_thumbnail
|
|
20
|
-
};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { r as h, c as m, h as n, H as p, g as d } from "./index.0e476e54.js";
|
|
2
|
-
import { c as f } from "./index-orsBiyT_.fc4357c3.js";
|
|
3
|
-
import { p as r, i as o, f as l, I as a } from "./index-D3UoejeY.7db8c51e.js";
|
|
4
|
-
import { D as g } from "./media-query.service-CCYT6DU8.f0931fdc.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "react-dom";
|
|
7
|
-
import "./utils-CCck-DTo.e4e43b6a.js";
|
|
8
|
-
const b = () => ".sc-swirl-time-input-h{display:flex;width:100%}.sc-swirl-time-input-h *.sc-swirl-time-input{box-sizing:border-box}.time-input.sc-swirl-time-input{position:relative;display:flex;width:100%;align-items:center;color:var(--s-text-default);line-height:var(--s-line-height-sm)}.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:-0.0625rem}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input--inline.sc-swirl-time-input .time-input__icon.sc-swirl-time-input{top:0}}.time-input__input.sc-swirl-time-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)}.time-input__input.sc-swirl-time-input:focus{outline:none}.time-input__input.sc-swirl-time-input:disabled{color:var(--s-text-disabled);background-color:transparent}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__input.sc-swirl-time-input{font-size:var(--s-font-size-sm);line-height:var(--s-line-height-sm)}}.time-input__icon.sc-swirl-time-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}@media (min-width: 992px) and (max-width: 1439px) and (hover: hover),(min-width: 1440px){.time-input__icon.sc-swirl-time-input{top:-0.625rem}}", u = "HH:mm:ss", w = class {
|
|
9
|
-
constructor(t) {
|
|
10
|
-
h(this, t), this.inputBlur = m(this, "inputBlur", 7), this.inputFocus = m(this, "inputFocus", 7), this.valueChange = m(this, "valueChange", 7), this.format = "HH:mm", this.placeholder = "hh:mm", this.iconSize = 24, this.mediaQueryUnsubscribe = () => {
|
|
11
|
-
}, this.onBlur = (e) => {
|
|
12
|
-
this.inputBlur.emit(e);
|
|
13
|
-
}, this.onClick = (e) => {
|
|
14
|
-
e.preventDefault();
|
|
15
|
-
}, this.onFocus = (e) => {
|
|
16
|
-
this.inputFocus.emit(e), this.handleAutoSelect(e);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
const t = Array.from(document.querySelectorAll("swirl-time-input")).indexOf(this.el);
|
|
21
|
-
this.id = `swirl-time-input-${t}`;
|
|
22
|
-
}
|
|
23
|
-
componentDidLoad() {
|
|
24
|
-
this.setupMask(), this.mediaQueryUnsubscribe = g.subscribe((t) => {
|
|
25
|
-
this.updateIconSize(t);
|
|
26
|
-
}), this.autoFocus && setTimeout(() => {
|
|
27
|
-
this.inputEl.focus();
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
disconnectedCallback() {
|
|
31
|
-
var t;
|
|
32
|
-
(t = this.mask) == null || t.destroy(), this.mediaQueryUnsubscribe();
|
|
33
|
-
}
|
|
34
|
-
watchFormat() {
|
|
35
|
-
this.setupMask();
|
|
36
|
-
}
|
|
37
|
-
watchValue(t, e) {
|
|
38
|
-
if (t !== e)
|
|
39
|
-
if (this.valueChange.emit(t), this.mask && t) {
|
|
40
|
-
const i = this.getPattern();
|
|
41
|
-
let s = r(t, u, new Date());
|
|
42
|
-
if (o(s) || (s = r(t, i, new Date())), o(s)) {
|
|
43
|
-
const c = l(s, i);
|
|
44
|
-
this.mask.value = c;
|
|
45
|
-
}
|
|
46
|
-
} else
|
|
47
|
-
this.mask && !t && (this.mask.value = "");
|
|
48
|
-
}
|
|
49
|
-
updateIconSize(t) {
|
|
50
|
-
this.iconSize = t ? 20 : 24;
|
|
51
|
-
}
|
|
52
|
-
getPattern() {
|
|
53
|
-
return this.format.replace(new RegExp("(?<!H)H(?!H)", "g"), "HH").replace(new RegExp("(?<!h)h(?!h)", "g"), "hh").replace(new RegExp("(?<!m)m(?!m)", "g"), "mm").replace(new RegExp("(?<!s)s(?!s)", "g"), "ss").replace(new RegExp("(?<!a)a(?!a)", "g"), "aa");
|
|
54
|
-
}
|
|
55
|
-
handleAutoSelect(t) {
|
|
56
|
-
if (!this.autoSelect) {
|
|
57
|
-
setTimeout(() => {
|
|
58
|
-
t.target && t.target instanceof HTMLInputElement && t.target.setSelectionRange && t.target.setSelectionRange(0, 0);
|
|
59
|
-
});
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
t.target && t.target instanceof HTMLInputElement && t.target.select();
|
|
63
|
-
}
|
|
64
|
-
setupMask() {
|
|
65
|
-
var e;
|
|
66
|
-
(e = this.mask) == null || e.destroy();
|
|
67
|
-
const t = this.getPattern();
|
|
68
|
-
if (this.mask = a(this.inputEl, {
|
|
69
|
-
mask: Date,
|
|
70
|
-
pattern: t.replace(/([^A-Za-z0-9])/g, "$1`"),
|
|
71
|
-
autofix: "pad",
|
|
72
|
-
lazy: !0,
|
|
73
|
-
overwrite: !0,
|
|
74
|
-
eager: "append",
|
|
75
|
-
prepareChar: (i) => i.toUpperCase(),
|
|
76
|
-
blocks: {
|
|
77
|
-
HH: {
|
|
78
|
-
mask: a.MaskedRange,
|
|
79
|
-
from: 0,
|
|
80
|
-
to: 23,
|
|
81
|
-
maxLength: 2
|
|
82
|
-
},
|
|
83
|
-
hh: {
|
|
84
|
-
mask: a.MaskedRange,
|
|
85
|
-
from: 1,
|
|
86
|
-
to: 12,
|
|
87
|
-
maxLength: 2
|
|
88
|
-
},
|
|
89
|
-
mm: {
|
|
90
|
-
mask: a.MaskedRange,
|
|
91
|
-
from: 0,
|
|
92
|
-
to: 59,
|
|
93
|
-
maxLength: 2
|
|
94
|
-
},
|
|
95
|
-
ss: {
|
|
96
|
-
mask: a.MaskedRange,
|
|
97
|
-
from: 0,
|
|
98
|
-
to: 59,
|
|
99
|
-
maxLength: 2
|
|
100
|
-
},
|
|
101
|
-
aa: {
|
|
102
|
-
mask: a.MaskedEnum,
|
|
103
|
-
enum: ["AM", "PM"],
|
|
104
|
-
maxLength: 2
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
format: (i) => o(i) ? (this.value = l(i, u), l(i, t)) : "",
|
|
108
|
-
parse: (i) => r(i, t, new Date())
|
|
109
|
-
}), this.value) {
|
|
110
|
-
const i = r(this.value, u, new Date());
|
|
111
|
-
if (o(i)) {
|
|
112
|
-
const s = l(i, t);
|
|
113
|
-
this.mask.value = s;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
render() {
|
|
118
|
-
const t = this.invalid === !0 || this.invalid === !1 ? String(this.invalid) : void 0, e = f("time-input", {
|
|
119
|
-
"time-input--inline": this.inline
|
|
120
|
-
});
|
|
121
|
-
return n(p, { key: "43058ce1fa97dbc5cf73086a5acd828a88328aa5" }, n("div", { key: "a4e1bbb9fc7eb6606dda7188d1e72a21102107c8", class: e }, n("input", { key: "1ad135fe74ea2b1b689fb6ba1de56d559cad7d0a", "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled ? "true" : void 0, "aria-invalid": t, autoFocus: this.autoFocus, class: "time-input__input", disabled: this.disabled, id: this.id, inputmode: "numeric", onBlur: this.onBlur, onClick: this.onClick, onFocus: this.onFocus, placeholder: this.placeholder, ref: (i) => this.inputEl = i, required: this.required, type: "text", readonly: this.readonly }), n("span", { key: "d066aca8ce3c3f094062b0bb2a3956eb9e08409e", class: "time-input__icon" }, n("swirl-icon-time-outlined", { key: "e15099d26bfea37c564b12bc070d0a0748569e9b", size: this.iconSize }))));
|
|
122
|
-
}
|
|
123
|
-
get el() {
|
|
124
|
-
return d(this);
|
|
125
|
-
}
|
|
126
|
-
static get watchers() {
|
|
127
|
-
return {
|
|
128
|
-
format: [{
|
|
129
|
-
watchFormat: 0
|
|
130
|
-
}],
|
|
131
|
-
value: [{
|
|
132
|
-
watchValue: 0
|
|
133
|
-
}]
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
w.style = b();
|
|
138
|
-
export {
|
|
139
|
-
w as swirl_time_input
|
|
140
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { r as n, h as e, H as r, g as c } from "./index.0e476e54.js";
|
|
2
|
-
import "react";
|
|
3
|
-
import "react-dom";
|
|
4
|
-
const l = () => ".toast-provider__stack{position:fixed;inset:unset;bottom:var(--s-space-16);left:0;right:0;pointer-events:none;margin:0 var(--s-space-24);border:none;padding:0;background:none;width:auto;overflow:unset}.toast-provider__stack::backdrop{display:none}.toast-provider__stack>*{width:auto;pointer-events:auto}", h = class {
|
|
5
|
-
constructor(t) {
|
|
6
|
-
n(this, t), this.toasts = [], this.activeDialogStack = [], this.originalParent = null, this.onAction = (s) => {
|
|
7
|
-
var o;
|
|
8
|
-
const i = this.toasts.find(({ toastId: a }) => a === s.detail);
|
|
9
|
-
!i || ((o = i.onAction) == null || o.call(i, i.toastId), i.dismissOnAction && this.dismiss(s.detail));
|
|
10
|
-
}, this.onDismiss = (s) => {
|
|
11
|
-
this.dismiss(s.detail);
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
async clearAll() {
|
|
15
|
-
this.toasts = [];
|
|
16
|
-
}
|
|
17
|
-
async dismiss(t) {
|
|
18
|
-
var i;
|
|
19
|
-
const s = this.toasts.find((o) => t === o.toastId);
|
|
20
|
-
!s || ((i = s.onDismiss) == null || i.call(s, s.toastId), this.toasts = [...this.toasts].filter((o) => o.toastId !== t));
|
|
21
|
-
}
|
|
22
|
-
async toast(t) {
|
|
23
|
-
if (this.toasts.some((i) => i.toastId === t.toastId))
|
|
24
|
-
return;
|
|
25
|
-
const s = {
|
|
26
|
-
...t,
|
|
27
|
-
createdAt: new Date(),
|
|
28
|
-
duration: t.duration || this.globalDuration || void 0,
|
|
29
|
-
toastId: t.toastId || String(Math.round(Math.random() * 1e4))
|
|
30
|
-
};
|
|
31
|
-
return this.toasts = [...this.toasts, s], s;
|
|
32
|
-
}
|
|
33
|
-
componentWillLoad() {
|
|
34
|
-
this.originalParent = this.el.parentElement;
|
|
35
|
-
}
|
|
36
|
-
disconnectedCallback() {
|
|
37
|
-
this.el.isConnected || (this.activeDialogStack = this.activeDialogStack.filter((t) => t.isConnected), this.ensureCorrectPosition());
|
|
38
|
-
}
|
|
39
|
-
handleDialogToggle(t) {
|
|
40
|
-
const { newState: s, dialog: i } = t.detail;
|
|
41
|
-
s === "open" ? this.onDialogOpen(i) : this.onDialogClose(i);
|
|
42
|
-
}
|
|
43
|
-
onToastsChange() {
|
|
44
|
-
this.toasts.length > 0 ? this.ensureCorrectPosition() : this.popoverEl.hidePopover();
|
|
45
|
-
}
|
|
46
|
-
onDialogOpen(t) {
|
|
47
|
-
this.activeDialogStack.includes(t) || this.activeDialogStack.push(t), this.toasts.length > 0 && this.ensureCorrectPosition();
|
|
48
|
-
}
|
|
49
|
-
onDialogClose(t) {
|
|
50
|
-
this.activeDialogStack = this.activeDialogStack.filter((s) => s != t), this.toasts.length > 0 && this.ensureCorrectPosition();
|
|
51
|
-
}
|
|
52
|
-
ensureCorrectPosition() {
|
|
53
|
-
const t = this.activeDialogStack[this.activeDialogStack.length - 1] || this.originalParent;
|
|
54
|
-
this.el.parentElement !== t && t.appendChild(this.el), this.popoverEl.hidePopover(), this.popoverEl.showPopover();
|
|
55
|
-
}
|
|
56
|
-
render() {
|
|
57
|
-
return e(r, { key: "45be26d34ad00323d7ac8fa60d893b051ae5e73a", role: "status" }, e("swirl-stack", { key: "9b4a13d53d6cbf870fbcaf7bf79767529e40abc0", class: "toast-provider__stack", part: "toast-provider__stack", popover: "manual", spacing: "12", align: "center", ref: (t) => this.popoverEl = t }, this.toasts.map((t) => {
|
|
58
|
-
const s = {
|
|
59
|
-
...t,
|
|
60
|
-
content: void 0,
|
|
61
|
-
onDismiss: void 0,
|
|
62
|
-
onAction: void 0
|
|
63
|
-
};
|
|
64
|
-
return e("swirl-toast", { key: t.toastId, ...s, onDismiss: this.onDismiss, onAction: this.onAction }, t.content);
|
|
65
|
-
})));
|
|
66
|
-
}
|
|
67
|
-
get el() {
|
|
68
|
-
return c(this);
|
|
69
|
-
}
|
|
70
|
-
static get watchers() {
|
|
71
|
-
return {
|
|
72
|
-
toasts: [{
|
|
73
|
-
onToastsChange: 0
|
|
74
|
-
}]
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
};
|
|
78
|
-
h.style = l();
|
|
79
|
-
export {
|
|
80
|
-
h as swirl_toast_provider
|
|
81
|
-
};
|