@eightshift/ui-components 6.3.0 → 7.1.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/Button-h6xF_WrP.js +225 -0
- package/dist/Dialog-i5VLQw1o.js +2488 -0
- package/dist/Disclosure-NYWFw9RJ.js +188 -0
- package/dist/FieldError-BWDbP5Db.js +213 -0
- package/dist/FocusScope-CgwbGOBB.js +746 -0
- package/dist/Form-DTMkbrQY.js +5 -0
- package/dist/Heading-Hol-wS_B.js +16 -0
- package/dist/Hidden-8TB37dpK.js +51 -0
- package/dist/Input-BURqyJXW.js +161 -0
- package/dist/Label-DFXXxMKY.js +17 -0
- package/dist/List-CMK5qsNF.js +506 -0
- package/dist/ListBox-B21SgugS.js +601 -0
- package/dist/NumberFormatter-m5VW6MTK.js +122 -0
- package/dist/OverlayArrow-BoloUPQM.js +573 -0
- package/dist/PortalProvider-DinZZCKX.js +14 -0
- package/dist/RSPContexts-C_z0bI8W.js +12 -0
- package/dist/RadioGroup-BwlGtCja.js +329 -0
- package/dist/SearchField-DR_I4_yn.js +765 -0
- package/dist/SelectionIndicator-31L6EI9F.js +13 -0
- package/dist/SelectionManager-B8lLv6Ue.js +2176 -0
- package/dist/Slider-DW1RuMVp.js +827 -0
- package/dist/Text-O6VBBDlP.js +16 -0
- package/dist/VisuallyHidden-CfsnJHZb.js +43 -0
- package/dist/animation-Bd2peown.js +62 -0
- package/dist/assets/style-admin.css +252 -255
- package/dist/assets/style-editor.css +252 -255
- package/dist/assets/style.css +252 -255
- package/dist/assets/wp-overrides/allow-full-width-blocks.css +1 -1
- package/dist/assets/wp-overrides/fix-label-text-case.css +1 -1
- package/dist/assets/wp-overrides/increase-sidebar-width.css +1 -1
- package/dist/assets/wp-overrides/make-block-messages-nicer.css +1 -1
- package/dist/assets/wp-overrides/replace-fonts.css +1 -1
- package/dist/assets/wp-overrides/restyle-tooltips.css +3 -3
- package/dist/assets/wp-overrides/round-corners.css +1 -1
- package/dist/assets/wp-overrides/unify-button-sizes.css +1 -1
- package/dist/build-module-sxK3nxOK.js +855 -0
- package/dist/button-COTeluL8.js +524 -0
- package/dist/checkbox-D0AWkLhp.js +338 -0
- package/dist/clsx-BUU5J41u.js +16 -0
- package/dist/color-swatch-CBYsO_Zs.js +2572 -0
- package/dist/components/animated-visibility/animated-visibility.js +87 -111
- package/dist/components/base-control/base-control.js +73 -86
- package/dist/components/base-control/container.js +199 -227
- package/dist/components/breakpoint-preview/breakpoint-preview.js +162 -158
- package/dist/components/button/button.js +3 -580
- package/dist/components/checkbox/checkbox.js +2 -391
- package/dist/components/color-pickers/color-picker.js +172 -276
- package/dist/components/color-pickers/color-swatch.js +3 -7
- package/dist/components/color-pickers/gradient-editor.js +4 -552
- package/dist/components/color-pickers/solid-color-picker.js +3 -1710
- package/dist/components/component-toggle/component-toggle.js +107 -160
- package/dist/components/container-panel/container-panel.js +94 -151
- package/dist/components/draggable/draggable-context.js +4 -4
- package/dist/components/draggable/draggable-handle.js +27 -43
- package/dist/components/draggable/draggable.js +3 -7638
- package/dist/components/draggable-list/draggable-list-context.js +4 -4
- package/dist/components/draggable-list/draggable-list-item.js +63 -80
- package/dist/components/draggable-list/draggable-list.js +115 -142
- package/dist/components/expandable/expandable.js +105 -407
- package/dist/components/index.js +30 -106
- package/dist/components/input-field/input-field.js +2 -326
- package/dist/components/item-collection/item-collection.js +50 -56
- package/dist/components/layout/hstack.js +27 -29
- package/dist/components/layout/vstack.js +27 -29
- package/dist/components/link-input/link-input.js +3 -1943
- package/dist/components/matrix-align/matrix-align.js +127 -161
- package/dist/components/menu/menu.js +253 -356
- package/dist/components/modal/modal.js +3 -399
- package/dist/components/notice/notice.js +99 -139
- package/dist/components/number-picker/number-picker.js +3 -344
- package/dist/components/option-select/option-select.js +226 -404
- package/dist/components/options-panel/options-panel.js +138 -175
- package/dist/components/placeholders/file-picker-shell.js +91 -141
- package/dist/components/placeholders/file-placeholder.js +41 -53
- package/dist/components/placeholders/image-placeholder.js +65 -96
- package/dist/components/placeholders/media-placeholder.js +65 -68
- package/dist/components/popover/popover.js +147 -221
- package/dist/components/portal-provider/portal-provider.js +23 -21
- package/dist/components/radio/radio.js +246 -294
- package/dist/components/repeater/repeater-context.js +4 -4
- package/dist/components/repeater/repeater-item.js +95 -114
- package/dist/components/repeater/repeater.js +221 -278
- package/dist/components/responsive/mini-responsive.js +403 -495
- package/dist/components/responsive/responsive-legacy.js +271 -336
- package/dist/components/responsive/responsive.js +445 -562
- package/dist/components/responsive-preview/responsive-preview.js +94 -117
- package/dist/components/rich-label/rich-label.js +80 -75
- package/dist/components/select/async-multi-select.js +357 -589
- package/dist/components/select/async-select.js +282 -492
- package/dist/components/select/multi-select.js +338 -552
- package/dist/components/select/shared.js +3 -17
- package/dist/components/select/single-select.js +276 -475
- package/dist/components/select/styles.js +84 -0
- package/dist/components/slider/column-config-slider.js +170 -301
- package/dist/components/slider/slider.js +258 -405
- package/dist/components/slider/utils.js +77 -121
- package/dist/components/smart-image/image-analysis-worker.js +128 -0
- package/dist/components/smart-image/smart-image.js +3 -205
- package/dist/components/smart-image/worker-inline.js +4 -4
- package/dist/components/spacer/spacer.js +80 -94
- package/dist/components/tabs/tabs.js +3 -1051
- package/dist/components/toggle/switch.js +2 -295
- package/dist/components/toggle/toggle.js +54 -64
- package/dist/components/toggle-button/toggle-button.js +2 -451
- package/dist/components/tooltip/tooltip.js +2 -535
- package/dist/context-C-XNeJ_l.js +93 -0
- package/dist/debounce-throttle-DXxSAKpq.js +120 -0
- package/dist/dist-DIK9pFxO.js +55 -0
- package/dist/draggable-CYQyD9gG.js +6961 -0
- package/dist/es-dash-HqXWZZ3_.js +303 -0
- package/dist/filterDOMProps-_2_3GD-K.js +69 -0
- package/dist/general-BKOvs-AO.js +4276 -0
- package/dist/gradient-editor-BAd_Gzx4.js +604 -0
- package/dist/icons/block-icon.js +34 -39
- package/dist/icons/generated-icon-loaders.js +759 -0
- package/dist/icons/generic-color-swatch.js +81 -111
- package/dist/icons/icon.js +67 -0
- package/dist/icons/icons.js +218 -3656
- package/dist/icons/index.js +756 -10
- package/dist/icons/internal.js +758 -0
- package/dist/icons/jsx-svg.js +2 -94
- package/dist/icons/spinner.js +16 -18
- package/dist/icons/ui-icons/a11y-warning.js +34 -0
- package/dist/icons/ui-icons/a11y.js +29 -0
- package/dist/icons/ui-icons/accelerometer.js +51 -0
- package/dist/icons/ui-icons/activity-log.js +53 -0
- package/dist/icons/ui-icons/add.js +20 -0
- package/dist/icons/ui-icons/alert.js +31 -0
- package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +37 -0
- package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +36 -0
- package/dist/icons/ui-icons/align-horizontal-vertical.js +34 -0
- package/dist/icons/ui-icons/alt-text-generic-alt.js +19 -0
- package/dist/icons/ui-icons/alt-text-generic.js +25 -0
- package/dist/icons/ui-icons/alt-text.js +36 -0
- package/dist/icons/ui-icons/anchor-page.js +44 -0
- package/dist/icons/ui-icons/anchor.js +28 -0
- package/dist/icons/ui-icons/angle.js +24 -0
- package/dist/icons/ui-icons/animation-file.js +66 -0
- package/dist/icons/ui-icons/animation-generic.js +36 -0
- package/dist/icons/ui-icons/animation-list-generic.js +41 -0
- package/dist/icons/ui-icons/animation-settings-generic.js +41 -0
- package/dist/icons/ui-icons/animation.js +55 -0
- package/dist/icons/ui-icons/archive-file.js +24 -0
- package/dist/icons/ui-icons/archive.js +39 -0
- package/dist/icons/ui-icons/aria-label.js +42 -0
- package/dist/icons/ui-icons/arrow-down-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-down-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-down-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-down-square.js +28 -0
- package/dist/icons/ui-icons/arrow-down.js +20 -0
- package/dist/icons/ui-icons/arrow-left-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-left-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-left-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-left-square.js +28 -0
- package/dist/icons/ui-icons/arrow-left.js +20 -0
- package/dist/icons/ui-icons/arrow-right-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-right-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-right-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-right-square.js +28 -0
- package/dist/icons/ui-icons/arrow-right.js +20 -0
- package/dist/icons/ui-icons/arrow-up-circle-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-up-circle.js +28 -0
- package/dist/icons/ui-icons/arrow-up-square-alt.js +28 -0
- package/dist/icons/ui-icons/arrow-up-square.js +28 -0
- package/dist/icons/ui-icons/arrow-up.js +20 -0
- package/dist/icons/ui-icons/arrows-down.js +38 -0
- package/dist/icons/ui-icons/arrows-horizontal.js +20 -0
- package/dist/icons/ui-icons/arrows-left-diagonal.js +20 -0
- package/dist/icons/ui-icons/arrows-left.js +38 -0
- package/dist/icons/ui-icons/arrows-right-diagonal.js +20 -0
- package/dist/icons/ui-icons/arrows-right.js +38 -0
- package/dist/icons/ui-icons/arrows-up.js +38 -0
- package/dist/icons/ui-icons/arrows-vertical.js +20 -0
- package/dist/icons/ui-icons/aspect-ratio-auto.js +38 -0
- package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-square.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-three-two.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +28 -0
- package/dist/icons/ui-icons/aspect-ratio.js +27 -0
- package/dist/icons/ui-icons/attachment.js +19 -0
- package/dist/icons/ui-icons/auto-close.js +26 -0
- package/dist/icons/ui-icons/auto-pause-scroll.js +39 -0
- package/dist/icons/ui-icons/auto-pause.js +26 -0
- package/dist/icons/ui-icons/automatic-alt.js +19 -0
- package/dist/icons/ui-icons/automatic.js +20 -0
- package/dist/icons/ui-icons/autoplay-alt.js +34 -0
- package/dist/icons/ui-icons/autoplay-alt2.js +23 -0
- package/dist/icons/ui-icons/autoplay.js +36 -0
- package/dist/icons/ui-icons/award.js +39 -0
- package/dist/icons/ui-icons/background-blur.js +66 -0
- package/dist/icons/ui-icons/background-color-swatch.js +48 -0
- package/dist/icons/ui-icons/background-image.js +41 -0
- package/dist/icons/ui-icons/background-repeat.js +95 -0
- package/dist/icons/ui-icons/background-type-alt.js +38 -0
- package/dist/icons/ui-icons/background-type-alt2.js +27 -0
- package/dist/icons/ui-icons/background-type.js +27 -0
- package/dist/icons/ui-icons/block-parts.js +54 -0
- package/dist/icons/ui-icons/bold.js +21 -0
- package/dist/icons/ui-icons/book.js +40 -0
- package/dist/icons/ui-icons/bookmark.js +18 -0
- package/dist/icons/ui-icons/boolean-exclude.js +24 -0
- package/dist/icons/ui-icons/boolean-intersect.js +31 -0
- package/dist/icons/ui-icons/boolean-subtract.js +27 -0
- package/dist/icons/ui-icons/boolean-union.js +33 -0
- package/dist/icons/ui-icons/border-color.js +79 -0
- package/dist/icons/ui-icons/border.js +60 -0
- package/dist/icons/ui-icons/bot-deny.js +61 -0
- package/dist/icons/ui-icons/bot.js +47 -0
- package/dist/icons/ui-icons/box.js +35 -0
- package/dist/icons/ui-icons/brain.js +20 -0
- package/dist/icons/ui-icons/branch-fork.js +46 -0
- package/dist/icons/ui-icons/branch.js +46 -0
- package/dist/icons/ui-icons/briefcase.js +26 -0
- package/dist/icons/ui-icons/browser.js +60 -0
- package/dist/icons/ui-icons/button-disabled.js +30 -0
- package/dist/icons/ui-icons/button-filled.js +19 -0
- package/dist/icons/ui-icons/button-ghost.js +28 -0
- package/dist/icons/ui-icons/button-outline.js +27 -0
- package/dist/icons/ui-icons/calculator.js +139 -0
- package/dist/icons/ui-icons/calendar-add.js +51 -0
- package/dist/icons/ui-icons/calendar-download.js +62 -0
- package/dist/icons/ui-icons/calendar-remove.js +51 -0
- package/dist/icons/ui-icons/calendar.js +34 -0
- package/dist/icons/ui-icons/caption-generic.js +25 -0
- package/dist/icons/ui-icons/card-featured.js +28 -0
- package/dist/icons/ui-icons/caret-down-fill.js +19 -0
- package/dist/icons/ui-icons/caret-down.js +19 -0
- package/dist/icons/ui-icons/caret-left-fill.js +19 -0
- package/dist/icons/ui-icons/caret-left.js +19 -0
- package/dist/icons/ui-icons/caret-right-fill.js +19 -0
- package/dist/icons/ui-icons/caret-right.js +19 -0
- package/dist/icons/ui-icons/caret-up-fill.js +19 -0
- package/dist/icons/ui-icons/caret-up.js +19 -0
- package/dist/icons/ui-icons/center-point.js +25 -0
- package/dist/icons/ui-icons/chat-bubble-alt.js +25 -0
- package/dist/icons/ui-icons/chat-bubble.js +19 -0
- package/dist/icons/ui-icons/chat.js +25 -0
- package/dist/icons/ui-icons/check-circle-fill-transparent.js +24 -0
- package/dist/icons/ui-icons/check-circle-fill.js +17 -0
- package/dist/icons/ui-icons/check-circle.js +27 -0
- package/dist/icons/ui-icons/check-square.js +28 -0
- package/dist/icons/ui-icons/check.js +20 -0
- package/dist/icons/ui-icons/checks-circle.js +26 -0
- package/dist/icons/ui-icons/checks.js +26 -0
- package/dist/icons/ui-icons/chevron-down.js +20 -0
- package/dist/icons/ui-icons/chevron-left.js +20 -0
- package/dist/icons/ui-icons/chevron-right.js +20 -0
- package/dist/icons/ui-icons/chevron-up.js +20 -0
- package/dist/icons/ui-icons/clear-alt.js +25 -0
- package/dist/icons/ui-icons/clear.js +20 -0
- package/dist/icons/ui-icons/clipboard-plain.js +35 -0
- package/dist/icons/ui-icons/clipboard.js +43 -0
- package/dist/icons/ui-icons/clock.js +26 -0
- package/dist/icons/ui-icons/closed-captions.js +27 -0
- package/dist/icons/ui-icons/code-variable.js +20 -0
- package/dist/icons/ui-icons/code.js +20 -0
- package/dist/icons/ui-icons/color-alt.js +40 -0
- package/dist/icons/ui-icons/color-fill-swatch.js +61 -0
- package/dist/icons/ui-icons/color-picker-fill.js +42 -0
- package/dist/icons/ui-icons/color-picker-list-marker.js +41 -0
- package/dist/icons/ui-icons/color-picker-text-highlight.js +19 -0
- package/dist/icons/ui-icons/color-picker-text.js +20 -0
- package/dist/icons/ui-icons/color-select.js +33 -0
- package/dist/icons/ui-icons/color.js +22 -0
- package/dist/icons/ui-icons/column-gutters-lr.js +54 -0
- package/dist/icons/ui-icons/columns.js +42 -0
- package/dist/icons/ui-icons/columns3366.js +30 -0
- package/dist/icons/ui-icons/columns6633.js +30 -0
- package/dist/icons/ui-icons/component-generic.js +27 -0
- package/dist/icons/ui-icons/component-options.js +36 -0
- package/dist/icons/ui-icons/condition-h.js +20 -0
- package/dist/icons/ui-icons/condition-v.js +20 -0
- package/dist/icons/ui-icons/conditional-visibility.js +26 -0
- package/dist/icons/ui-icons/container-height.js +68 -0
- package/dist/icons/ui-icons/container-spacing-h.js +41 -0
- package/dist/icons/ui-icons/container-spacing.js +41 -0
- package/dist/icons/ui-icons/container-width.js +68 -0
- package/dist/icons/ui-icons/content-bottom-left.js +31 -0
- package/dist/icons/ui-icons/content-bottom-right.js +31 -0
- package/dist/icons/ui-icons/content-center.js +31 -0
- package/dist/icons/ui-icons/content-top-left.js +31 -0
- package/dist/icons/ui-icons/content-top-right.js +31 -0
- package/dist/icons/ui-icons/contrast-alt.js +27 -0
- package/dist/icons/ui-icons/contrast.js +26 -0
- package/dist/icons/ui-icons/cookie-alt.js +124 -0
- package/dist/icons/ui-icons/cookie.js +76 -0
- package/dist/icons/ui-icons/copy.js +26 -0
- package/dist/icons/ui-icons/currency.js +48 -0
- package/dist/icons/ui-icons/current-page.js +42 -0
- package/dist/icons/ui-icons/cursor-disabled.js +35 -0
- package/dist/icons/ui-icons/cursor-move.js +20 -0
- package/dist/icons/ui-icons/dark-mode.js +20 -0
- package/dist/icons/ui-icons/data.js +33 -0
- package/dist/icons/ui-icons/date-time.js +67 -0
- package/dist/icons/ui-icons/defer.js +26 -0
- package/dist/icons/ui-icons/description-link.js +40 -0
- package/dist/icons/ui-icons/design.js +48 -0
- package/dist/icons/ui-icons/dice.js +59 -0
- package/dist/icons/ui-icons/divider-bottom.js +23 -0
- package/dist/icons/ui-icons/divider-side.js +53 -0
- package/dist/icons/ui-icons/divider-status.js +53 -0
- package/dist/icons/ui-icons/divider-top.js +23 -0
- package/dist/icons/ui-icons/divider.js +23 -0
- package/dist/icons/ui-icons/door-in.js +32 -0
- package/dist/icons/ui-icons/door-out.js +32 -0
- package/dist/icons/ui-icons/door.js +27 -0
- package/dist/icons/ui-icons/download.js +20 -0
- package/dist/icons/ui-icons/dropdown-caret-alt.js +17 -0
- package/dist/icons/ui-icons/dropdown-caret.js +20 -0
- package/dist/icons/ui-icons/dropdown-close.js +52 -0
- package/dist/icons/ui-icons/dropdown-open.js +38 -0
- package/dist/icons/ui-icons/dropdown.js +38 -0
- package/dist/icons/ui-icons/dummy-spacer.js +17 -0
- package/dist/icons/ui-icons/edit-options.js +32 -0
- package/dist/icons/ui-icons/edit.js +22 -0
- package/dist/icons/ui-icons/email-remove.js +42 -0
- package/dist/icons/ui-icons/email.js +28 -0
- package/dist/icons/ui-icons/embed.js +28 -0
- package/dist/icons/ui-icons/empty-circle.js +23 -0
- package/dist/icons/ui-icons/empty-rect.js +25 -0
- package/dist/icons/ui-icons/equal-columns.js +25 -0
- package/dist/icons/ui-icons/equal-rows.js +25 -0
- package/dist/icons/ui-icons/equals.js +20 -0
- package/dist/icons/ui-icons/error-circle-fill-transparent.js +23 -0
- package/dist/icons/ui-icons/error-circle-fill.js +17 -0
- package/dist/icons/ui-icons/error-circle.js +24 -0
- package/dist/icons/ui-icons/exclude-item-alt.js +38 -0
- package/dist/icons/ui-icons/exclude-item.js +42 -0
- package/dist/icons/ui-icons/exclude.js +29 -0
- package/dist/icons/ui-icons/expand-xl.js +20 -0
- package/dist/icons/ui-icons/expand.js +20 -0
- package/dist/icons/ui-icons/experiment.js +33 -0
- package/dist/icons/ui-icons/external-link.js +25 -0
- package/dist/icons/ui-icons/extract-alt.js +25 -0
- package/dist/icons/ui-icons/extract.js +25 -0
- package/dist/icons/ui-icons/eyedropper.js +36 -0
- package/dist/icons/ui-icons/fast-forward.js +26 -0
- package/dist/icons/ui-icons/fast-reverse.js +26 -0
- package/dist/icons/ui-icons/field-after-text.js +54 -0
- package/dist/icons/ui-icons/field-before-text.js +46 -0
- package/dist/icons/ui-icons/field-disabled.js +35 -0
- package/dist/icons/ui-icons/field-help.js +46 -0
- package/dist/icons/ui-icons/field-label.js +38 -0
- package/dist/icons/ui-icons/field-name.js +45 -0
- package/dist/icons/ui-icons/field-placeholder.js +49 -0
- package/dist/icons/ui-icons/field-readonly.js +36 -0
- package/dist/icons/ui-icons/field-required.js +37 -0
- package/dist/icons/ui-icons/field-type.js +36 -0
- package/dist/icons/ui-icons/field-value.js +46 -0
- package/dist/icons/ui-icons/field-width.js +27 -0
- package/dist/icons/ui-icons/file-download.js +33 -0
- package/dist/icons/ui-icons/file-error.js +25 -0
- package/dist/icons/ui-icons/file-metadata.js +41 -0
- package/dist/icons/ui-icons/file-pdf.js +34 -0
- package/dist/icons/ui-icons/file-size-max.js +33 -0
- package/dist/icons/ui-icons/file-size-min.js +33 -0
- package/dist/icons/ui-icons/file-size.js +34 -0
- package/dist/icons/ui-icons/file-type.js +42 -0
- package/dist/icons/ui-icons/file-upload.js +33 -0
- package/dist/icons/ui-icons/file.js +24 -0
- package/dist/icons/ui-icons/files.js +34 -0
- package/dist/icons/ui-icons/fill-color.js +49 -0
- package/dist/icons/ui-icons/filter-alt.js +24 -0
- package/dist/icons/ui-icons/filter.js +20 -0
- package/dist/icons/ui-icons/flag-alt.js +24 -0
- package/dist/icons/ui-icons/flag.js +24 -0
- package/dist/icons/ui-icons/flip-h.js +27 -0
- package/dist/icons/ui-icons/flip-v.js +27 -0
- package/dist/icons/ui-icons/focus.js +21 -0
- package/dist/icons/ui-icons/folder-add.js +22 -0
- package/dist/icons/ui-icons/folder-open-solid.js +17 -0
- package/dist/icons/ui-icons/folder-open.js +19 -0
- package/dist/icons/ui-icons/folder-solid.js +17 -0
- package/dist/icons/ui-icons/folder-top-level.js +22 -0
- package/dist/icons/ui-icons/folder.js +19 -0
- package/dist/icons/ui-icons/font-family.js +24 -0
- package/dist/icons/ui-icons/footer.js +23 -0
- package/dist/icons/ui-icons/form-alt.js +71 -0
- package/dist/icons/ui-icons/form.js +53 -0
- package/dist/icons/ui-icons/four-columns.js +38 -0
- package/dist/icons/ui-icons/frame.js +33 -0
- package/dist/icons/ui-icons/full-max-shield.js +26 -0
- package/dist/icons/ui-icons/full-max-text.js +20 -0
- package/dist/icons/ui-icons/full-width-image.js +35 -0
- package/dist/icons/ui-icons/gears-fill.js +19 -0
- package/dist/icons/ui-icons/gears.js +38 -0
- package/dist/icons/ui-icons/generic-color-swatch.js +6 -0
- package/dist/icons/ui-icons/generic-shapes-alt.js +33 -0
- package/dist/icons/ui-icons/generic-shapes.js +38 -0
- package/dist/icons/ui-icons/globe-anchor.js +55 -0
- package/dist/icons/ui-icons/globe-hash.js +40 -0
- package/dist/icons/ui-icons/globe.js +37 -0
- package/dist/icons/ui-icons/google-tag-manager.js +36 -0
- package/dist/icons/ui-icons/gradient-repeat.js +41 -0
- package/dist/icons/ui-icons/gradient-stop.js +36 -0
- package/dist/icons/ui-icons/gradient.js +54 -0
- package/dist/icons/ui-icons/grid-alt.js +19 -0
- package/dist/icons/ui-icons/grid-auto-cols.js +46 -0
- package/dist/icons/ui-icons/grid-auto-rows.js +41 -0
- package/dist/icons/ui-icons/grid-col.js +22 -0
- package/dist/icons/ui-icons/grid-height.js +22 -0
- package/dist/icons/ui-icons/grid-list-toggle.js +48 -0
- package/dist/icons/ui-icons/grid-manual.js +18 -0
- package/dist/icons/ui-icons/grid-row.js +22 -0
- package/dist/icons/ui-icons/grid-width.js +22 -0
- package/dist/icons/ui-icons/group.js +33 -0
- package/dist/icons/ui-icons/gutter.js +28 -0
- package/dist/icons/ui-icons/gyroscope.js +53 -0
- package/dist/icons/ui-icons/h1.js +28 -0
- package/dist/icons/ui-icons/h2.js +28 -0
- package/dist/icons/ui-icons/h3.js +28 -0
- package/dist/icons/ui-icons/h4.js +28 -0
- package/dist/icons/ui-icons/h5.js +28 -0
- package/dist/icons/ui-icons/h6.js +28 -0
- package/dist/icons/ui-icons/hamburger-menu.js +19 -0
- package/dist/icons/ui-icons/hard-drive.js +35 -0
- package/dist/icons/ui-icons/header.js +23 -0
- package/dist/icons/ui-icons/heading-level-alt.js +28 -0
- package/dist/icons/ui-icons/heading-level.js +28 -0
- package/dist/icons/ui-icons/heading.js +20 -0
- package/dist/icons/ui-icons/heart-fill-transparent.js +19 -0
- package/dist/icons/ui-icons/heart-fill.js +18 -0
- package/dist/icons/ui-icons/heart.js +18 -0
- package/dist/icons/ui-icons/height.js +30 -0
- package/dist/icons/ui-icons/help-fill.js +19 -0
- package/dist/icons/ui-icons/help.js +38 -0
- package/dist/icons/ui-icons/hide.js +29 -0
- package/dist/icons/ui-icons/highlighted-checkmark.js +24 -0
- package/dist/icons/ui-icons/highlighted-exclamation-mark.js +33 -0
- package/dist/icons/ui-icons/history.js +26 -0
- package/dist/icons/ui-icons/horizontal-align-alt.js +27 -0
- package/dist/icons/ui-icons/horizontal-align-around.js +37 -0
- package/dist/icons/ui-icons/horizontal-align-between-alt.js +37 -0
- package/dist/icons/ui-icons/horizontal-align-between.js +46 -0
- package/dist/icons/ui-icons/horizontal-align-center.js +41 -0
- package/dist/icons/ui-icons/horizontal-align-evenly.js +37 -0
- package/dist/icons/ui-icons/horizontal-align-left.js +44 -0
- package/dist/icons/ui-icons/horizontal-align-right.js +48 -0
- package/dist/icons/ui-icons/horizontal-align-stretch.js +37 -0
- package/dist/icons/ui-icons/horizontal-align.js +35 -0
- package/dist/icons/ui-icons/hover-background-glow.js +61 -0
- package/dist/icons/ui-icons/hover-background-type.js +34 -0
- package/dist/icons/ui-icons/hover-invert-object.js +42 -0
- package/dist/icons/ui-icons/hover-invert-text.js +32 -0
- package/dist/icons/ui-icons/hover-rotate.js +20 -0
- package/dist/icons/ui-icons/hover-zoom.js +25 -0
- package/dist/icons/ui-icons/hyphenate-alt.js +20 -0
- package/dist/icons/ui-icons/hyphenate-alt2.js +20 -0
- package/dist/icons/ui-icons/hyphenate.js +25 -0
- package/dist/icons/ui-icons/icon-generic.js +23 -0
- package/dist/icons/ui-icons/id-card.js +45 -0
- package/dist/icons/ui-icons/id.js +28 -0
- package/dist/icons/ui-icons/image-blur.js +50 -0
- package/dist/icons/ui-icons/image-caption.js +36 -0
- package/dist/icons/ui-icons/image-error.js +36 -0
- package/dist/icons/ui-icons/image-file.js +40 -0
- package/dist/icons/ui-icons/image-lazy-load.js +52 -0
- package/dist/icons/ui-icons/image-opacity.js +31 -0
- package/dist/icons/ui-icons/image-overlay-alt.js +93 -0
- package/dist/icons/ui-icons/image-overlay-alt2.js +93 -0
- package/dist/icons/ui-icons/image-overlay.js +92 -0
- package/dist/icons/ui-icons/image-remove.js +46 -0
- package/dist/icons/ui-icons/image.js +25 -0
- package/dist/icons/ui-icons/index.js +753 -0
- package/dist/icons/ui-icons/info-circle-fill-transparent.js +21 -0
- package/dist/icons/ui-icons/info-circle-fill.js +17 -0
- package/dist/icons/ui-icons/info-circle.js +24 -0
- package/dist/icons/ui-icons/info.js +17 -0
- package/dist/icons/ui-icons/inherit.js +41 -0
- package/dist/icons/ui-icons/inline-gradient-format.js +62 -0
- package/dist/icons/ui-icons/input-field.js +27 -0
- package/dist/icons/ui-icons/italic.js +20 -0
- package/dist/icons/ui-icons/item-limit.js +35 -0
- package/dist/icons/ui-icons/item-select.js +33 -0
- package/dist/icons/ui-icons/item-wrap.js +60 -0
- package/dist/icons/ui-icons/items-per-page.js +48 -0
- package/dist/icons/ui-icons/items-per-row.js +45 -0
- package/dist/icons/ui-icons/key.js +25 -0
- package/dist/icons/ui-icons/keyboard.js +19 -0
- package/dist/icons/ui-icons/large.js +24 -0
- package/dist/icons/ui-icons/latest-posts.js +44 -0
- package/dist/icons/ui-icons/layer-off.js +20 -0
- package/dist/icons/ui-icons/layer.js +19 -0
- package/dist/icons/ui-icons/layers.js +33 -0
- package/dist/icons/ui-icons/layout-alt.js +19 -0
- package/dist/icons/ui-icons/layout-alt2.js +23 -0
- package/dist/icons/ui-icons/layout-alt3.js +19 -0
- package/dist/icons/ui-icons/layout-alt4.js +19 -0
- package/dist/icons/ui-icons/layout-bento-box.js +19 -0
- package/dist/icons/ui-icons/layout-masonry.js +79 -0
- package/dist/icons/ui-icons/layout.js +43 -0
- package/dist/icons/ui-icons/left-panel-alt.js +25 -0
- package/dist/icons/ui-icons/left-panel.js +22 -0
- package/dist/icons/ui-icons/light-bulb-alt.js +30 -0
- package/dist/icons/ui-icons/light-bulb.js +33 -0
- package/dist/icons/ui-icons/light-mode.js +26 -0
- package/dist/icons/ui-icons/limit-width.js +26 -0
- package/dist/icons/ui-icons/line-break-alt-off.js +26 -0
- package/dist/icons/ui-icons/line-break-alt.js +25 -0
- package/dist/icons/ui-icons/line-break-off-alt.js +35 -0
- package/dist/icons/ui-icons/line-break-off.js +41 -0
- package/dist/icons/ui-icons/line-break.js +29 -0
- package/dist/icons/ui-icons/line-breaks-hyphenation.js +36 -0
- package/dist/icons/ui-icons/link-add.js +41 -0
- package/dist/icons/ui-icons/link-nav.js +59 -0
- package/dist/icons/ui-icons/link-remove.js +41 -0
- package/dist/icons/ui-icons/link.js +19 -0
- package/dist/icons/ui-icons/list-indent.js +26 -0
- package/dist/icons/ui-icons/list-ordered.js +43 -0
- package/dist/icons/ui-icons/list-outdent.js +26 -0
- package/dist/icons/ui-icons/list-unordered.js +43 -0
- package/dist/icons/ui-icons/loader-alt.js +19 -0
- package/dist/icons/ui-icons/loader.js +19 -0
- package/dist/icons/ui-icons/location-add.js +44 -0
- package/dist/icons/ui-icons/location-allow.js +44 -0
- package/dist/icons/ui-icons/location-deny.js +44 -0
- package/dist/icons/ui-icons/location-settings.js +36 -0
- package/dist/icons/ui-icons/location.js +26 -0
- package/dist/icons/ui-icons/lock.js +44 -0
- package/dist/icons/ui-icons/loop-mode.js +20 -0
- package/dist/icons/ui-icons/magic-alt-fill-transparent.js +20 -0
- package/dist/icons/ui-icons/magic-alt-fill.js +19 -0
- package/dist/icons/ui-icons/magic-alt.js +19 -0
- package/dist/icons/ui-icons/magic-fill-transparent.js +20 -0
- package/dist/icons/ui-icons/magic-fill.js +19 -0
- package/dist/icons/ui-icons/magic.js +19 -0
- package/dist/icons/ui-icons/map-layer-json.js +35 -0
- package/dist/icons/ui-icons/map-layer-raster.js +121 -0
- package/dist/icons/ui-icons/map-layer-vector.js +81 -0
- package/dist/icons/ui-icons/map-layer.js +26 -0
- package/dist/icons/ui-icons/map-pin.js +41 -0
- package/dist/icons/ui-icons/matrix-align-control-dot-active.js +23 -0
- package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +21 -0
- package/dist/icons/ui-icons/media.js +49 -0
- package/dist/icons/ui-icons/medium.js +24 -0
- package/dist/icons/ui-icons/menu-item-check.js +20 -0
- package/dist/icons/ui-icons/menu-item-circle.js +19 -0
- package/dist/icons/ui-icons/microphone.js +23 -0
- package/dist/icons/ui-icons/migration-alt-v.js +20 -0
- package/dist/icons/ui-icons/migration-alt.js +20 -0
- package/dist/icons/ui-icons/migration.js +26 -0
- package/dist/icons/ui-icons/module.js +24 -0
- package/dist/icons/ui-icons/money-paper.js +58 -0
- package/dist/icons/ui-icons/more-h-circle.js +40 -0
- package/dist/icons/ui-icons/more-h.js +33 -0
- package/dist/icons/ui-icons/more-v-circle.js +44 -0
- package/dist/icons/ui-icons/more-v.js +36 -0
- package/dist/icons/ui-icons/mouse-cursor.js +20 -0
- package/dist/icons/ui-icons/mouse-wheel.js +27 -0
- package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +58 -0
- package/dist/icons/ui-icons/multi-item-left-inset.js +39 -0
- package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +55 -0
- package/dist/icons/ui-icons/multi-item-right-inset.js +36 -0
- package/dist/icons/ui-icons/multiple.js +34 -0
- package/dist/icons/ui-icons/music-note.js +40 -0
- package/dist/icons/ui-icons/mute-centered.js +20 -0
- package/dist/icons/ui-icons/mute.js +20 -0
- package/dist/icons/ui-icons/narrow-bottom.js +49 -0
- package/dist/icons/ui-icons/narrow-left.js +49 -0
- package/dist/icons/ui-icons/narrow-right.js +49 -0
- package/dist/icons/ui-icons/narrow-top.js +49 -0
- package/dist/icons/ui-icons/navigation-buttons.js +39 -0
- package/dist/icons/ui-icons/new-tab.js +27 -0
- package/dist/icons/ui-icons/newspaper.js +45 -0
- package/dist/icons/ui-icons/none.js +25 -0
- package/dist/icons/ui-icons/notebook.js +44 -0
- package/dist/icons/ui-icons/num0-circle-alt.js +24 -0
- package/dist/icons/ui-icons/num0-circle.js +24 -0
- package/dist/icons/ui-icons/num0-square-alt.js +26 -0
- package/dist/icons/ui-icons/num0-square.js +26 -0
- package/dist/icons/ui-icons/num1-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num1-circle.js +26 -0
- package/dist/icons/ui-icons/num1-square-alt.js +28 -0
- package/dist/icons/ui-icons/num1-square.js +28 -0
- package/dist/icons/ui-icons/num2-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num2-circle.js +26 -0
- package/dist/icons/ui-icons/num2-square-alt.js +28 -0
- package/dist/icons/ui-icons/num2-square.js +28 -0
- package/dist/icons/ui-icons/num3-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num3-circle.js +26 -0
- package/dist/icons/ui-icons/num3-square-alt.js +28 -0
- package/dist/icons/ui-icons/num3-square.js +28 -0
- package/dist/icons/ui-icons/num4-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num4-circle.js +26 -0
- package/dist/icons/ui-icons/num4-square-alt.js +28 -0
- package/dist/icons/ui-icons/num4-square.js +28 -0
- package/dist/icons/ui-icons/num5-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num5-circle.js +26 -0
- package/dist/icons/ui-icons/num5-square-alt.js +28 -0
- package/dist/icons/ui-icons/num5-square.js +28 -0
- package/dist/icons/ui-icons/num6-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num6-circle.js +26 -0
- package/dist/icons/ui-icons/num6-square-alt.js +28 -0
- package/dist/icons/ui-icons/num6-square.js +28 -0
- package/dist/icons/ui-icons/num7-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num7-circle.js +26 -0
- package/dist/icons/ui-icons/num7-square-alt.js +28 -0
- package/dist/icons/ui-icons/num7-square.js +28 -0
- package/dist/icons/ui-icons/num8-circle-alt.js +24 -0
- package/dist/icons/ui-icons/num8-circle.js +24 -0
- package/dist/icons/ui-icons/num8-square-alt.js +26 -0
- package/dist/icons/ui-icons/num8-square.js +26 -0
- package/dist/icons/ui-icons/num9-circle-alt.js +26 -0
- package/dist/icons/ui-icons/num9-circle.js +26 -0
- package/dist/icons/ui-icons/num9-square-alt.js +28 -0
- package/dist/icons/ui-icons/num9-square.js +28 -0
- package/dist/icons/ui-icons/office-building.js +203 -0
- package/dist/icons/ui-icons/office-buildings.js +256 -0
- package/dist/icons/ui-icons/offset-auto.js +46 -0
- package/dist/icons/ui-icons/offset.js +39 -0
- package/dist/icons/ui-icons/option-list-alt.js +61 -0
- package/dist/icons/ui-icons/option-list.js +63 -0
- package/dist/icons/ui-icons/options.js +24 -0
- package/dist/icons/ui-icons/order.js +49 -0
- package/dist/icons/ui-icons/padding-bottom.js +35 -0
- package/dist/icons/ui-icons/padding-top.js +35 -0
- package/dist/icons/ui-icons/padding.js +34 -0
- package/dist/icons/ui-icons/pagination.js +49 -0
- package/dist/icons/ui-icons/palette-color.js +111 -0
- package/dist/icons/ui-icons/panel-collapse.js +41 -0
- package/dist/icons/ui-icons/panel-expand.js +41 -0
- package/dist/icons/ui-icons/paragraph.js +24 -0
- package/dist/icons/ui-icons/paste.js +52 -0
- package/dist/icons/ui-icons/pause.js +20 -0
- package/dist/icons/ui-icons/people-group.js +57 -0
- package/dist/icons/ui-icons/people.js +43 -0
- package/dist/icons/ui-icons/person.js +26 -0
- package/dist/icons/ui-icons/photo-camera.js +26 -0
- package/dist/icons/ui-icons/picture-in-picture.js +33 -0
- package/dist/icons/ui-icons/play-reverse.js +20 -0
- package/dist/icons/ui-icons/play.js +20 -0
- package/dist/icons/ui-icons/playback-options.js +24 -0
- package/dist/icons/ui-icons/plus-circle-fill-alt.js +23 -0
- package/dist/icons/ui-icons/plus-circle-fill.js +17 -0
- package/dist/icons/ui-icons/plus-circle.js +26 -0
- package/dist/icons/ui-icons/plus-minus-buttons-h.js +25 -0
- package/dist/icons/ui-icons/plus-minus-buttons-v.js +25 -0
- package/dist/icons/ui-icons/plus-square-fill-transparent.js +27 -0
- package/dist/icons/ui-icons/plus-square-fill.js +17 -0
- package/dist/icons/ui-icons/plus-square.js +27 -0
- package/dist/icons/ui-icons/pointer-hand-disabled.js +34 -0
- package/dist/icons/ui-icons/pointer-hand.js +20 -0
- package/dist/icons/ui-icons/position-arrows-h.js +26 -0
- package/dist/icons/ui-icons/position-arrows-inverted-h.js +26 -0
- package/dist/icons/ui-icons/position-arrows-inverted-v.js +26 -0
- package/dist/icons/ui-icons/position-arrows-inverted.js +26 -0
- package/dist/icons/ui-icons/position-arrows-v.js +26 -0
- package/dist/icons/ui-icons/position-arrows.js +26 -0
- package/dist/icons/ui-icons/position-h-center.js +43 -0
- package/dist/icons/ui-icons/position-h-end.js +43 -0
- package/dist/icons/ui-icons/position-h-start.js +43 -0
- package/dist/icons/ui-icons/position-left.js +31 -0
- package/dist/icons/ui-icons/position-right.js +31 -0
- package/dist/icons/ui-icons/position-v-center.js +43 -0
- package/dist/icons/ui-icons/position-v-end.js +43 -0
- package/dist/icons/ui-icons/position-v-start.js +43 -0
- package/dist/icons/ui-icons/position2x2-bottom-left.js +52 -0
- package/dist/icons/ui-icons/position2x2-bottom-right.js +52 -0
- package/dist/icons/ui-icons/position2x2-empty.js +51 -0
- package/dist/icons/ui-icons/position2x2-top-left.js +52 -0
- package/dist/icons/ui-icons/position2x2-top-right.js +52 -0
- package/dist/icons/ui-icons/position3x3-bottom-center.js +97 -0
- package/dist/icons/ui-icons/position3x3-bottom-left.js +97 -0
- package/dist/icons/ui-icons/position3x3-bottom-right.js +97 -0
- package/dist/icons/ui-icons/position3x3-center-center.js +97 -0
- package/dist/icons/ui-icons/position3x3-center-left.js +97 -0
- package/dist/icons/ui-icons/position3x3-center-right.js +97 -0
- package/dist/icons/ui-icons/position3x3-empty.js +96 -0
- package/dist/icons/ui-icons/position3x3-top-center.js +97 -0
- package/dist/icons/ui-icons/position3x3-top-left.js +97 -0
- package/dist/icons/ui-icons/position3x3-top-right.js +97 -0
- package/dist/icons/ui-icons/positioning-guide-alt.js +30 -0
- package/dist/icons/ui-icons/positioning-guide.js +30 -0
- package/dist/icons/ui-icons/positioning-width-guide.js +40 -0
- package/dist/icons/ui-icons/preload.js +44 -0
- package/dist/icons/ui-icons/preview-responsive.js +48 -0
- package/dist/icons/ui-icons/preview.js +35 -0
- package/dist/icons/ui-icons/progressbar-intermittent.js +26 -0
- package/dist/icons/ui-icons/progressbar.js +30 -0
- package/dist/icons/ui-icons/range-max.js +48 -0
- package/dist/icons/ui-icons/range-mid.js +40 -0
- package/dist/icons/ui-icons/range-min.js +48 -0
- package/dist/icons/ui-icons/range.js +61 -0
- package/dist/icons/ui-icons/read-only.js +25 -0
- package/dist/icons/ui-icons/reduce-height-bottom.js +49 -0
- package/dist/icons/ui-icons/reduce-height-top.js +49 -0
- package/dist/icons/ui-icons/regex.js +39 -0
- package/dist/icons/ui-icons/remove.js +20 -0
- package/dist/icons/ui-icons/rename.js +24 -0
- package/dist/icons/ui-icons/reorder-grabber-h.js +51 -0
- package/dist/icons/ui-icons/reorder-grabber-v.js +57 -0
- package/dist/icons/ui-icons/reorder.js +35 -0
- package/dist/icons/ui-icons/required-alt.js +20 -0
- package/dist/icons/ui-icons/required.js +19 -0
- package/dist/icons/ui-icons/reset-to-zero.js +33 -0
- package/dist/icons/ui-icons/reset.js +25 -0
- package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +26 -0
- package/dist/icons/ui-icons/responsive-overrides-alt.js +49 -0
- package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +34 -0
- package/dist/icons/ui-icons/responsive-overrides-alt2.js +45 -0
- package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +33 -0
- package/dist/icons/ui-icons/responsive-overrides.js +39 -0
- package/dist/icons/ui-icons/responsive.js +33 -0
- package/dist/icons/ui-icons/right-panel-alt.js +23 -0
- package/dist/icons/ui-icons/right-panel.js +22 -0
- package/dist/icons/ui-icons/rotate-left.js +20 -0
- package/dist/icons/ui-icons/rotate-right.js +20 -0
- package/dist/icons/ui-icons/rounded-corners.js +19 -0
- package/dist/icons/ui-icons/route.js +27 -0
- package/dist/icons/ui-icons/row-add.js +45 -0
- package/dist/icons/ui-icons/row-empty.js +51 -0
- package/dist/icons/ui-icons/row.js +45 -0
- package/dist/icons/ui-icons/rows.js +42 -0
- package/dist/icons/ui-icons/ruler.js +28 -0
- package/dist/icons/ui-icons/save.js +26 -0
- package/dist/icons/ui-icons/screen-desktop.js +32 -0
- package/dist/icons/ui-icons/screen-large.js +23 -0
- package/dist/icons/ui-icons/screen-mobile.js +39 -0
- package/dist/icons/ui-icons/screen-tablet-large.js +36 -0
- package/dist/icons/ui-icons/screen-tablet.js +36 -0
- package/dist/icons/ui-icons/scrollbar-h.js +40 -0
- package/dist/icons/ui-icons/scrollbar-v.js +41 -0
- package/dist/icons/ui-icons/scrollbars.js +55 -0
- package/dist/icons/ui-icons/search-empty.js +37 -0
- package/dist/icons/ui-icons/search.js +25 -0
- package/dist/icons/ui-icons/separator-h.js +41 -0
- package/dist/icons/ui-icons/separator-v.js +39 -0
- package/dist/icons/ui-icons/shadow.js +61 -0
- package/dist/icons/ui-icons/share.js +26 -0
- package/dist/icons/ui-icons/shield-plus-alt.js +27 -0
- package/dist/icons/ui-icons/shield-plus.js +20 -0
- package/dist/icons/ui-icons/shield.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-left.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +20 -0
- package/dist/icons/ui-icons/shrink-diagonal-right.js +20 -0
- package/dist/icons/ui-icons/shrink-xl.js +20 -0
- package/dist/icons/ui-icons/shrink.js +20 -0
- package/dist/icons/ui-icons/shuffle.js +20 -0
- package/dist/icons/ui-icons/sidebar-flip.js +22 -0
- package/dist/icons/ui-icons/sidebar.js +22 -0
- package/dist/icons/ui-icons/single-item-left-inset-mobile.js +48 -0
- package/dist/icons/ui-icons/single-item-left-inset.js +23 -0
- package/dist/icons/ui-icons/single-item-right-inset-mobile.js +50 -0
- package/dist/icons/ui-icons/single-item-right-inset.js +23 -0
- package/dist/icons/ui-icons/size-alt.js +33 -0
- package/dist/icons/ui-icons/size.js +29 -0
- package/dist/icons/ui-icons/slider.js +31 -0
- package/dist/icons/ui-icons/sliders.js +68 -0
- package/dist/icons/ui-icons/small.js +24 -0
- package/dist/icons/ui-icons/solid-circle-fill-transparent.js +22 -0
- package/dist/icons/ui-icons/solid-circle-filled.js +21 -0
- package/dist/icons/ui-icons/solid-circle-gradient.js +31 -0
- package/dist/icons/ui-icons/solid-circle.js +21 -0
- package/dist/icons/ui-icons/solid-color.js +19 -0
- package/dist/icons/ui-icons/solid-rect-fill-transparent.js +24 -0
- package/dist/icons/ui-icons/solid-rect-filled.js +23 -0
- package/dist/icons/ui-icons/solid-rect-gradient.js +33 -0
- package/dist/icons/ui-icons/solid-rect.js +23 -0
- package/dist/icons/ui-icons/sort-asc.js +20 -0
- package/dist/icons/ui-icons/sort-desc.js +20 -0
- package/dist/icons/ui-icons/sort-generic.js +25 -0
- package/dist/icons/ui-icons/spacing-bottom-in.js +23 -0
- package/dist/icons/ui-icons/spacing-bottom.js +23 -0
- package/dist/icons/ui-icons/spacing-left-in.js +23 -0
- package/dist/icons/ui-icons/spacing-left.js +23 -0
- package/dist/icons/ui-icons/spacing-right-in.js +23 -0
- package/dist/icons/ui-icons/spacing-right.js +23 -0
- package/dist/icons/ui-icons/spacing-top-in.js +23 -0
- package/dist/icons/ui-icons/spacing-top.js +23 -0
- package/dist/icons/ui-icons/speed.js +25 -0
- package/dist/icons/ui-icons/stagger.js +53 -0
- package/dist/icons/ui-icons/star.js +18 -0
- package/dist/icons/ui-icons/step.js +27 -0
- package/dist/icons/ui-icons/stop.js +20 -0
- package/dist/icons/ui-icons/swap.js +41 -0
- package/dist/icons/ui-icons/tag-alt.js +24 -0
- package/dist/icons/ui-icons/tag.js +26 -0
- package/dist/icons/ui-icons/text-abc.js +40 -0
- package/dist/icons/ui-icons/text-above.js +25 -0
- package/dist/icons/ui-icons/text-align-center.js +20 -0
- package/dist/icons/ui-icons/text-align-generic.js +20 -0
- package/dist/icons/ui-icons/text-align-justify.js +20 -0
- package/dist/icons/ui-icons/text-align-left.js +20 -0
- package/dist/icons/ui-icons/text-align-right.js +20 -0
- package/dist/icons/ui-icons/text-below.js +25 -0
- package/dist/icons/ui-icons/text-box-edit.js +35 -0
- package/dist/icons/ui-icons/text-color-swatch.js +40 -0
- package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +49 -0
- package/dist/icons/ui-icons/text-highlight-color-swatch.js +48 -0
- package/dist/icons/ui-icons/text-larger.js +23 -0
- package/dist/icons/ui-icons/text-length.js +20 -0
- package/dist/icons/ui-icons/text-size-alt.js +23 -0
- package/dist/icons/ui-icons/text-size.js +20 -0
- package/dist/icons/ui-icons/text-smaller.js +23 -0
- package/dist/icons/ui-icons/text-strikethrough.js +26 -0
- package/dist/icons/ui-icons/text-uppercase.js +25 -0
- package/dist/icons/ui-icons/text-write.js +39 -0
- package/dist/icons/ui-icons/thumbs-down.js +22 -0
- package/dist/icons/ui-icons/thumbs-up.js +22 -0
- package/dist/icons/ui-icons/title-generic.js +25 -0
- package/dist/icons/ui-icons/toggle-off.js +33 -0
- package/dist/icons/ui-icons/toggle-on-alt.js +19 -0
- package/dist/icons/ui-icons/toggle-on.js +31 -0
- package/dist/icons/ui-icons/tools.js +25 -0
- package/dist/icons/ui-icons/total-items.js +45 -0
- package/dist/icons/ui-icons/trash-alt.js +44 -0
- package/dist/icons/ui-icons/trash.js +33 -0
- package/dist/icons/ui-icons/tree-alt.js +62 -0
- package/dist/icons/ui-icons/tree-alt2.js +79 -0
- package/dist/icons/ui-icons/tree.js +70 -0
- package/dist/icons/ui-icons/troubleshoot-alt.js +39 -0
- package/dist/icons/ui-icons/two-cards-left.js +32 -0
- package/dist/icons/ui-icons/two-cards-right.js +32 -0
- package/dist/icons/ui-icons/two-columns.js +30 -0
- package/dist/icons/ui-icons/typography-options.js +77 -0
- package/dist/icons/ui-icons/typography.js +71 -0
- package/dist/icons/ui-icons/underline.js +19 -0
- package/dist/icons/ui-icons/ungroup.js +39 -0
- package/dist/icons/ui-icons/upload.js +20 -0
- package/dist/icons/ui-icons/venn-diagram-alt.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt2.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt3.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt4.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt5.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt6.js +34 -0
- package/dist/icons/ui-icons/venn-diagram-alt7.js +39 -0
- package/dist/icons/ui-icons/venn-diagram.js +26 -0
- package/dist/icons/ui-icons/vertical-align-alt.js +27 -0
- package/dist/icons/ui-icons/vertical-align-around.js +39 -0
- package/dist/icons/ui-icons/vertical-align-between-alt.js +39 -0
- package/dist/icons/ui-icons/vertical-align-between.js +48 -0
- package/dist/icons/ui-icons/vertical-align-bottom.js +44 -0
- package/dist/icons/ui-icons/vertical-align-center.js +39 -0
- package/dist/icons/ui-icons/vertical-align-evenly.js +39 -0
- package/dist/icons/ui-icons/vertical-align-stretch.js +39 -0
- package/dist/icons/ui-icons/vertical-align-top.js +46 -0
- package/dist/icons/ui-icons/vertical-align.js +35 -0
- package/dist/icons/ui-icons/vertical-spacing.js +28 -0
- package/dist/icons/ui-icons/video-chapters.js +25 -0
- package/dist/icons/ui-icons/video-controls.js +67 -0
- package/dist/icons/ui-icons/video-file.js +40 -0
- package/dist/icons/ui-icons/video-poster-image.js +40 -0
- package/dist/icons/ui-icons/video-subtitle-alt.js +39 -0
- package/dist/icons/ui-icons/video-subtitle.js +27 -0
- package/dist/icons/ui-icons/video.js +36 -0
- package/dist/icons/ui-icons/visibility-alt.js +40 -0
- package/dist/icons/ui-icons/visibility-alt2.js +41 -0
- package/dist/icons/ui-icons/visibility.js +45 -0
- package/dist/icons/ui-icons/visible.js +28 -0
- package/dist/icons/ui-icons/volume.js +25 -0
- package/dist/icons/ui-icons/warning-circle-fill-transparent.js +30 -0
- package/dist/icons/ui-icons/warning-circle-fill.js +17 -0
- package/dist/icons/ui-icons/warning-circle.js +33 -0
- package/dist/icons/ui-icons/warning-fill-transparent.js +30 -0
- package/dist/icons/ui-icons/warning-fill.js +17 -0
- package/dist/icons/ui-icons/warning.js +30 -0
- package/dist/icons/ui-icons/web-video.js +63 -0
- package/dist/icons/ui-icons/wide-bottom.js +49 -0
- package/dist/icons/ui-icons/wide-left.js +49 -0
- package/dist/icons/ui-icons/wide-right.js +49 -0
- package/dist/icons/ui-icons/wide-top.js +49 -0
- package/dist/icons/ui-icons/width.js +29 -0
- package/dist/icons/ui-icons/wordpress.js +17 -0
- package/dist/icons/ui-icons/wrapper-alt.js +71 -0
- package/dist/icons/ui-icons/wrapper-config.js +41 -0
- package/dist/icons/ui-icons/wrapper-off-alt.js +19 -0
- package/dist/icons/ui-icons/wrapper-overflow.js +31 -0
- package/dist/icons/ui-icons/wrapper-simple-alt.js +58 -0
- package/dist/icons/ui-icons/wrapper-simple.js +32 -0
- package/dist/icons/ui-icons/wrapper.js +42 -0
- package/dist/icons/ui-icons/wrench.js +19 -0
- package/dist/icons/ui-icons/zap-fill.js +20 -0
- package/dist/icons/ui-icons/zap.js +19 -0
- package/dist/index.js +32 -108
- package/dist/input-field-UCZL5bqv.js +290 -0
- package/dist/jsx-svg-OBADs_Qs.js +11123 -0
- package/dist/link-input-D7iDRpOM.js +1821 -0
- package/dist/modal-DbVLYMkH.js +318 -0
- package/dist/number-ZZIxJukn.js +40 -0
- package/dist/number-picker-CkA1iJNZ.js +268 -0
- package/dist/proxy-DjkEpeDL.js +9660 -0
- package/dist/shared-D_OXizRt.js +1038 -0
- package/dist/smart-image-CbSsEASF.js +284 -0
- package/dist/solid-color-picker-DbT-aoVx.js +1415 -0
- package/dist/style-admin.js +1 -1
- package/dist/style-editor.js +1 -1
- package/dist/style.js +1 -1
- package/dist/switch-L8dFSQWQ.js +274 -0
- package/dist/tabs-BrdyBER5.js +975 -0
- package/dist/textSelection-Dv6WPj0Z.js +45 -0
- package/dist/toggle-button-DJ8jNQ-9.js +424 -0
- package/dist/tooltip-BzJzYlcc.js +440 -0
- package/dist/useAsyncList-BNzwKoX4.js +412 -0
- package/dist/useButton-ra1ZSZ4z.js +57 -0
- package/dist/useEvent-DkZVfgsS.js +22 -0
- package/dist/useField-D0WrzR2F.js +32 -0
- package/dist/useFilter-OiMnf6sb.js +44 -0
- package/dist/useFocusRing-DuYL4cdO.js +98 -0
- package/dist/useFormReset-DdkykzAn.js +18 -0
- package/dist/useHover-qaMm3XFO.js +982 -0
- package/dist/useLabel-2EohW5l6.js +27 -0
- package/dist/useLabels-B2p7RXi5.js +16 -0
- package/dist/useListState-CD_5vfyy.js +147 -0
- package/dist/useLocalizedStringFormatter-Dv2diN3k.js +108 -0
- package/dist/useNumberField-2xbi3jRV.js +1318 -0
- package/dist/useNumberFormatter-C2Cm2mNj.js +10 -0
- package/dist/usePress-ZP1TjkFf.js +678 -0
- package/dist/useToggle-ecIirvIM.js +64 -0
- package/dist/useToggleState-IIDbiKPl.js +23 -0
- package/dist/utilities/array-helpers.js +38 -49
- package/dist/utilities/debounce-throttle.js +2 -123
- package/dist/utilities/es-dash.js +2 -400
- package/dist/utilities/general.js +2 -10
- package/dist/utilities/hash.js +31 -35
- package/dist/utilities/index.js +6 -41
- package/dist/utilities/text-helpers.js +96 -129
- package/dist/utilities/web-workers.js +61 -44
- package/dist/utilities-CPFDXC3B.js +7 -0
- package/dist/utils-B_uiqNa4.js +372 -0
- package/dist/workers/image-analysis.worker.js +56 -48
- package/package.json +37 -25
- package/dist/Button-DtRmB6b8.js +0 -243
- package/dist/Dialog-DTIxSDhz.js +0 -2790
- package/dist/FieldError-BPG0hKfB.js +0 -42
- package/dist/FocusScope-CjFQ7cbd.js +0 -832
- package/dist/Form-Cq3fu75_.js +0 -5
- package/dist/Heading-CY-_gt-U.js +0 -16
- package/dist/Hidden-DOH36apC.js +0 -58
- package/dist/Input-BG9DaxYN.js +0 -169
- package/dist/Label-_aSf9-8u.js +0 -18
- package/dist/List-CQFXnN4w.js +0 -590
- package/dist/ListBox-DXFyyj_r.js +0 -695
- package/dist/NumberFormatter-DA8u1Ot7.js +0 -140
- package/dist/OverlayArrow-Fuxj-1QM.js +0 -614
- package/dist/PortalProvider-BQ1X8vGX.js +0 -19
- package/dist/RSPContexts-CJ-HBf0L.js +0 -18
- package/dist/RadioGroup-DCeiLxLK.js +0 -371
- package/dist/SearchField-B_yKFXRk.js +0 -817
- package/dist/SelectionIndicator-D7WMzeAW.js +0 -7
- package/dist/SelectionManager-B02LcxLr.js +0 -2505
- package/dist/SharedElementTransition-CtoWSaF0.js +0 -12
- package/dist/Slider-bR3fAmim.js +0 -897
- package/dist/Text-CjFEHSfr.js +0 -17
- package/dist/VisuallyHidden-DZnWrkn8.js +0 -48
- package/dist/animation-Dfl8uEb3.js +0 -67
- package/dist/clsx-DgYk2OaC.js +0 -16
- package/dist/color-swatch-bUFkK7ox.js +0 -2570
- package/dist/components/smart-image/image-analysis-worker-next.js +0 -144
- package/dist/components/smart-image/smart-image-next.js +0 -294
- package/dist/context-iUFQCK8m.js +0 -95
- package/dist/default-i18n-CnQeC5Pl.js +0 -731
- package/dist/filterDOMProps-eGTqWSTd.js +0 -71
- package/dist/general-BfKmjm56.js +0 -4378
- package/dist/index-BHpUy2Ix.js +0 -44
- package/dist/index-BL5gdWX4.js +0 -28323
- package/dist/number-7sOvrqo0.js +0 -41
- package/dist/proxy-CNEXmkdK.js +0 -7948
- package/dist/react-jsx-parser.min-DAh4myol.js +0 -11736
- package/dist/shared-CNH8QfV9.js +0 -1111
- package/dist/sprintf-DmNrJSYG.js +0 -51
- package/dist/textSelection-DA3VcKpG.js +0 -46
- package/dist/useAsyncList-DsZvQXls.js +0 -453
- package/dist/useButton-DyMX0EVr.js +0 -59
- package/dist/useEvent-Bfy68GHZ.js +0 -22
- package/dist/useFilter-Bg5C34XC.js +0 -50
- package/dist/useFocusRing-B2glEZ25.js +0 -114
- package/dist/useFormReset-BoxsKyJ9.js +0 -20
- package/dist/useFormValidation-BrbMhS2N.js +0 -232
- package/dist/useHover-DkmPQdGE.js +0 -1047
- package/dist/useLabel-DzXzKZZZ.js +0 -27
- package/dist/useLabels-D8O3gOdV.js +0 -23
- package/dist/useListState-BjnzKozj.js +0 -171
- package/dist/useLocalizedStringFormatter-CEDs0LsA.js +0 -121
- package/dist/useNumberField-CsygZKz9.js +0 -1330
- package/dist/useNumberFormatter-CG_IQXp9.js +0 -13
- package/dist/usePress-Ck5xMtDr.js +0 -701
- package/dist/useToggle-Ddc7N8pR.js +0 -72
- package/dist/useToggleState-H_lORSWO.js +0 -23
- package/dist/utils-Cr3pLd9c.js +0 -420
|
@@ -0,0 +1,2488 @@
|
|
|
1
|
+
import { a as $4e85f108e88277b8$export$b0d3ecf7112093a7, n as $4e85f108e88277b8$export$698f465ec27e93df, o as $4e85f108e88277b8$export$d688439359537581 } from "./RSPContexts-C_z0bI8W.js";
|
|
2
|
+
import { a as $64fa3d84918910a7$export$c62b8e45d58ddad9, c as $64fa3d84918910a7$export$fabf2dc03a41866e, f as $ff5963eb1fccf552$export$e08e3b67e392101e, g as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, h as $b5e257d569688ac6$export$535bd6ca7f90a273, i as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, l as $df56164dff5785e2$export$4338b53315abf666, m as $bdb11010cef70236$export$f680877a34711e37, n as $64fa3d84918910a7$export$29f1550f4b0d4415, o as $64fa3d84918910a7$export$df3a06d6289f983e, p as $bdb11010cef70236$export$b4cc09c592e8fdb8, r as $64fa3d84918910a7$export$4d86445c2cf5e3, t as $64fa3d84918910a7$export$2881499e37b75b9a, u as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./utils-B_uiqNa4.js";
|
|
3
|
+
import { A as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, B as $d4ee10de306f2510$export$b4f377a2b6254582, C as $e7801be82b4b2a53$export$4debdb1a3f0fa79e, D as $ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f, G as $431fbd86ca7dc216$export$f21a1ffae260145a, H as $d4ee10de306f2510$export$e58f029f0fbfdb29, L as $c87311424ea30a05$export$fedb369cb70207f1, O as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, R as $7215afc6de606d6b$export$de79e2c695e052f3, U as $f4e2df6bd15f8569$export$98658e8c59125e6a, V as $d4ee10de306f2510$export$cd4e5573fbe2b576, W as $431fbd86ca7dc216$export$b204af158042fbac, a as $46d819fcbaf35654$export$8f71654801c2f7cd, c as $507fabe10e71c6fb$export$630ff653c5ada6a9, d as $507fabe10e71c6fb$export$98e20ec92f614cfe, f as $507fabe10e71c6fb$export$b9b3dfddab17db27, l as $507fabe10e71c6fb$export$8397ddfc504fdb9a, r as $f645667febf57a63$export$4c014de7c8940b4c, s as $3ad3f6e1647bc98d$export$80f3e147d781571c, t as $6179b936705e76d3$export$ae780daf29e6d456, v as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $8ae05eaa5c114e9c$export$7f54fc3180508a52, z as $d4ee10de306f2510$export$4282f70798064fe0 } from "./useHover-qaMm3XFO.js";
|
|
4
|
+
import { a as $dfc540311bf7f109$export$4d0f8be8b12a7ef6, n as $9bf71ea28793e738$export$20e40289641fbbb6, t as $9bf71ea28793e738$export$1258395f99bf9cbf } from "./FocusScope-CgwbGOBB.js";
|
|
5
|
+
import { t as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-_2_3GD-K.js";
|
|
6
|
+
import { t as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-B2p7RXi5.js";
|
|
7
|
+
import { A as $21f1aa98acb08317$export$c57958e35f31ed73, E as $8a26561d2877236e$export$c24ed0104d07eab9, _ as $7613b1592d41b092$export$6cd28814d92fa9c9, c as $e1995378a142960e$export$bf788dd355e3a401, d as $23b9f4fcf0fe224b$export$437f11dc9b403b78, f as $23b9f4fcf0fe224b$export$5ae2504e948afce5, g as $c5a24bc478652b5f$export$1005530eda016c13, h as $23b9f4fcf0fe224b$export$fd11f34e1d07f134, i as $7135fc7d473fd974$export$90e00781bc59d8f9, j as $cc38e7bd3fc7b213$export$2bb74740c4e19def, l as $e1995378a142960e$export$e953bb1cd0f19726, m as $23b9f4fcf0fe224b$export$d68d59712b04d9d1, n as $7af3f5b51489e0b5$export$253fe78d46329472, o as $7135fc7d473fd974$export$d40e14dec8b060a8, r as $7135fc7d473fd974$export$4feb769f8ddf26c5, s as $e1995378a142960e$export$18af5c7a9e9b3664, t as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, u as $e1995378a142960e$export$fb8073518f34e6ec, v as $880e95eb8b93ba9a$export$ecf600387e221c37, x as $feb5ffebff200149$export$c3d8340acf92597f, y as $ae20dd8cbca75726$export$d6daf82dcd84e87c } from "./SelectionManager-B8lLv6Ue.js";
|
|
8
|
+
import { a as $dd149f63282afbbf$export$f6211563215e3b37, i as $2a41e45df1593e64$export$d39e1813b3bdd0e1, o as $9daab02d461809db$export$683480f191c0e3ea, r as $fc909762b330b746$export$61c6a8c84e605fb6, t as $44f671af83e7d9e0$export$2de4954e8ae13b9f } from "./OverlayArrow-BoloUPQM.js";
|
|
9
|
+
import { t as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-DkZVfgsS.js";
|
|
10
|
+
import { n as $d3f049242431219c$export$6d3443f2c48bfc20, t as $d3f049242431219c$export$45fda7c47f93fd48 } from "./animation-Bd2peown.js";
|
|
11
|
+
import { t as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "./Button-h6xF_WrP.js";
|
|
12
|
+
import { t as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-C-XNeJ_l.js";
|
|
13
|
+
import { t as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-Dv2diN3k.js";
|
|
14
|
+
import { n as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, t as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-ZP1TjkFf.js";
|
|
15
|
+
import { n as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-DuYL4cdO.js";
|
|
16
|
+
import { n as $96b38030c423d352$export$9fc1347d4195ccb3 } from "./PortalProvider-DinZZCKX.js";
|
|
17
|
+
import { t as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-CfsnJHZb.js";
|
|
18
|
+
import { r as $f39a9eba43920ace$export$b5d7cc18bb8d2b59 } from "./Hidden-8TB37dpK.js";
|
|
19
|
+
import { n as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-O6VBBDlP.js";
|
|
20
|
+
import { n as $c8a5a149f625efcf$export$758399f318e6385a, t as $1d5b8b8664671ef2$export$c9549807523555e0 } from "./SelectionIndicator-31L6EI9F.js";
|
|
21
|
+
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
22
|
+
import $dbSRa$reactdom from "react-dom";
|
|
23
|
+
//#region node_modules/@react-aria/utils/dist/getScrollParent.mjs
|
|
24
|
+
function $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {
|
|
25
|
+
let scrollableNode = node;
|
|
26
|
+
if ($cc38e7bd3fc7b213$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
|
|
27
|
+
while (scrollableNode && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
|
|
28
|
+
return scrollableNode || document.scrollingElement || document.documentElement;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region node_modules/@react-aria/i18n/dist/useCollator.mjs
|
|
32
|
+
var $325a3faab7a68acd$var$cache = new Map();
|
|
33
|
+
function $325a3faab7a68acd$export$a16aca283550c30d(options) {
|
|
34
|
+
let { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
35
|
+
let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
|
|
36
|
+
if ($325a3faab7a68acd$var$cache.has(cacheKey)) return $325a3faab7a68acd$var$cache.get(cacheKey);
|
|
37
|
+
let formatter = new Intl.Collator(locale, options);
|
|
38
|
+
$325a3faab7a68acd$var$cache.set(cacheKey, formatter);
|
|
39
|
+
return formatter;
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region node_modules/@react-aria/interactions/dist/PressResponder.mjs
|
|
43
|
+
var $f1ab8c75478c6f73$export$3351871ee4b288b8 = React.forwardRef(({ children, ...props }, ref) => {
|
|
44
|
+
let isRegistered = useRef(false);
|
|
45
|
+
let prevContext = useContext($ae1eeba8b9eafd08$export$5165eccb35aaadb5);
|
|
46
|
+
let context = $3ef42575df84b30b$export$9d1611c77c2fe928(prevContext || {}, {
|
|
47
|
+
...props,
|
|
48
|
+
register() {
|
|
49
|
+
isRegistered.current = true;
|
|
50
|
+
if (prevContext) prevContext.register();
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
context.ref = $df56164dff5785e2$export$4338b53315abf666(ref || (prevContext === null || prevContext === void 0 ? void 0 : prevContext.ref));
|
|
54
|
+
$e7801be82b4b2a53$export$4debdb1a3f0fa79e(prevContext, context.ref);
|
|
55
|
+
useEffect(() => {
|
|
56
|
+
if (!isRegistered.current) {
|
|
57
|
+
if (process.env.NODE_ENV !== "production") console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
|
|
58
|
+
isRegistered.current = true;
|
|
59
|
+
}
|
|
60
|
+
}, []);
|
|
61
|
+
return React.createElement($ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider, { value: context }, children);
|
|
62
|
+
});
|
|
63
|
+
function $f1ab8c75478c6f73$export$cf75428e0b9ed1ea({ children }) {
|
|
64
|
+
let context = useMemo(() => ({ register: () => {} }), []);
|
|
65
|
+
return React.createElement($ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider, { value: context }, children);
|
|
66
|
+
}
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region node_modules/@react-aria/interactions/dist/useInteractOutside.mjs
|
|
69
|
+
function $e0b6e0b68ec7f50f$export$872b660ac5a1ff98(props) {
|
|
70
|
+
let { ref, onInteractOutside, isDisabled, onInteractOutsideStart } = props;
|
|
71
|
+
let stateRef = useRef({
|
|
72
|
+
isPointerDown: false,
|
|
73
|
+
ignoreEmulatedMouseEvents: false
|
|
74
|
+
});
|
|
75
|
+
let onPointerDown = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
76
|
+
if (onInteractOutside && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) {
|
|
77
|
+
if (onInteractOutsideStart) onInteractOutsideStart(e);
|
|
78
|
+
stateRef.current.isPointerDown = true;
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
let triggerInteractOutside = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
82
|
+
if (onInteractOutside) onInteractOutside(e);
|
|
83
|
+
});
|
|
84
|
+
useEffect(() => {
|
|
85
|
+
let state = stateRef.current;
|
|
86
|
+
if (isDisabled) return;
|
|
87
|
+
const element = ref.current;
|
|
88
|
+
const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
|
|
89
|
+
if (typeof PointerEvent !== "undefined") {
|
|
90
|
+
let onClick = (e) => {
|
|
91
|
+
if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
|
|
92
|
+
state.isPointerDown = false;
|
|
93
|
+
};
|
|
94
|
+
documentObject.addEventListener("pointerdown", onPointerDown, true);
|
|
95
|
+
documentObject.addEventListener("click", onClick, true);
|
|
96
|
+
return () => {
|
|
97
|
+
documentObject.removeEventListener("pointerdown", onPointerDown, true);
|
|
98
|
+
documentObject.removeEventListener("click", onClick, true);
|
|
99
|
+
};
|
|
100
|
+
} else if (process.env.NODE_ENV === "test") {
|
|
101
|
+
let onMouseUp = (e) => {
|
|
102
|
+
if (state.ignoreEmulatedMouseEvents) state.ignoreEmulatedMouseEvents = false;
|
|
103
|
+
else if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
|
|
104
|
+
state.isPointerDown = false;
|
|
105
|
+
};
|
|
106
|
+
let onTouchEnd = (e) => {
|
|
107
|
+
state.ignoreEmulatedMouseEvents = true;
|
|
108
|
+
if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
|
|
109
|
+
state.isPointerDown = false;
|
|
110
|
+
};
|
|
111
|
+
documentObject.addEventListener("mousedown", onPointerDown, true);
|
|
112
|
+
documentObject.addEventListener("mouseup", onMouseUp, true);
|
|
113
|
+
documentObject.addEventListener("touchstart", onPointerDown, true);
|
|
114
|
+
documentObject.addEventListener("touchend", onTouchEnd, true);
|
|
115
|
+
return () => {
|
|
116
|
+
documentObject.removeEventListener("mousedown", onPointerDown, true);
|
|
117
|
+
documentObject.removeEventListener("mouseup", onMouseUp, true);
|
|
118
|
+
documentObject.removeEventListener("touchstart", onPointerDown, true);
|
|
119
|
+
documentObject.removeEventListener("touchend", onTouchEnd, true);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}, [ref, isDisabled]);
|
|
123
|
+
}
|
|
124
|
+
function $e0b6e0b68ec7f50f$var$isValidEvent(event, ref) {
|
|
125
|
+
if (event.button > 0) return false;
|
|
126
|
+
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(event);
|
|
127
|
+
if (target) {
|
|
128
|
+
const ownerDocument = target.ownerDocument;
|
|
129
|
+
if (!ownerDocument || !$d4ee10de306f2510$export$4282f70798064fe0(ownerDocument.documentElement, target)) return false;
|
|
130
|
+
if (target.closest("[data-react-aria-top-layer]")) return false;
|
|
131
|
+
}
|
|
132
|
+
if (!ref.current) return false;
|
|
133
|
+
return !event.composedPath().includes(ref.current);
|
|
134
|
+
}
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region node_modules/@react-aria/overlays/dist/useOverlay.mjs
|
|
137
|
+
var $a11501f3d1d39e6c$var$visibleOverlays = [];
|
|
138
|
+
function $a11501f3d1d39e6c$export$ea8f71083e90600f(props, ref) {
|
|
139
|
+
let { onClose, shouldCloseOnBlur, isOpen, isDismissable = false, isKeyboardDismissDisabled = false, shouldCloseOnInteractOutside } = props;
|
|
140
|
+
let lastVisibleOverlay = useRef(void 0);
|
|
141
|
+
useEffect(() => {
|
|
142
|
+
if (isOpen && !$a11501f3d1d39e6c$var$visibleOverlays.includes(ref)) {
|
|
143
|
+
$a11501f3d1d39e6c$var$visibleOverlays.push(ref);
|
|
144
|
+
return () => {
|
|
145
|
+
let index = $a11501f3d1d39e6c$var$visibleOverlays.indexOf(ref);
|
|
146
|
+
if (index >= 0) $a11501f3d1d39e6c$var$visibleOverlays.splice(index, 1);
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
}, [isOpen, ref]);
|
|
150
|
+
let onHide = () => {
|
|
151
|
+
if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref && onClose) onClose();
|
|
152
|
+
};
|
|
153
|
+
let onInteractOutsideStart = (e) => {
|
|
154
|
+
const topMostOverlay = $a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1];
|
|
155
|
+
lastVisibleOverlay.current = topMostOverlay;
|
|
156
|
+
if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside($d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
|
|
157
|
+
if (topMostOverlay === ref) {
|
|
158
|
+
e.stopPropagation();
|
|
159
|
+
e.preventDefault();
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
let onInteractOutside = (e) => {
|
|
164
|
+
if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside($d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
|
|
165
|
+
if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref) {
|
|
166
|
+
e.stopPropagation();
|
|
167
|
+
e.preventDefault();
|
|
168
|
+
}
|
|
169
|
+
if (lastVisibleOverlay.current === ref) onHide();
|
|
170
|
+
}
|
|
171
|
+
lastVisibleOverlay.current = void 0;
|
|
172
|
+
};
|
|
173
|
+
let onKeyDown = (e) => {
|
|
174
|
+
if (e.key === "Escape" && !isKeyboardDismissDisabled && !e.nativeEvent.isComposing) {
|
|
175
|
+
e.stopPropagation();
|
|
176
|
+
e.preventDefault();
|
|
177
|
+
onHide();
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
$e0b6e0b68ec7f50f$export$872b660ac5a1ff98({
|
|
181
|
+
ref,
|
|
182
|
+
onInteractOutside: isDismissable && isOpen ? onInteractOutside : void 0,
|
|
183
|
+
onInteractOutsideStart
|
|
184
|
+
});
|
|
185
|
+
let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
|
|
186
|
+
isDisabled: !shouldCloseOnBlur,
|
|
187
|
+
onBlurWithin: (e) => {
|
|
188
|
+
if (!e.relatedTarget || $9bf71ea28793e738$export$1258395f99bf9cbf(e.relatedTarget)) return;
|
|
189
|
+
if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside(e.relatedTarget)) onClose === null || onClose === void 0 || onClose();
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
let onPointerDownUnderlay = (e) => {
|
|
193
|
+
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === e.currentTarget) e.preventDefault();
|
|
194
|
+
};
|
|
195
|
+
return {
|
|
196
|
+
overlayProps: {
|
|
197
|
+
onKeyDown,
|
|
198
|
+
...focusWithinProps
|
|
199
|
+
},
|
|
200
|
+
underlayProps: { onPointerDown: onPointerDownUnderlay }
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region node_modules/@react-aria/overlays/dist/useOverlayTrigger.mjs
|
|
205
|
+
function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
|
|
206
|
+
let { type } = props;
|
|
207
|
+
let { isOpen } = state;
|
|
208
|
+
useEffect(() => {
|
|
209
|
+
if (ref && ref.current) $dd149f63282afbbf$export$f6211563215e3b37.set(ref.current, state.close);
|
|
210
|
+
});
|
|
211
|
+
let ariaHasPopup = void 0;
|
|
212
|
+
if (type === "menu") ariaHasPopup = true;
|
|
213
|
+
else if (type === "listbox") ariaHasPopup = "listbox";
|
|
214
|
+
let overlayId = $bdb11010cef70236$export$f680877a34711e37();
|
|
215
|
+
return {
|
|
216
|
+
triggerProps: {
|
|
217
|
+
"aria-haspopup": ariaHasPopup,
|
|
218
|
+
"aria-expanded": isOpen,
|
|
219
|
+
"aria-controls": isOpen ? overlayId : void 0,
|
|
220
|
+
onPress: state.toggle
|
|
221
|
+
},
|
|
222
|
+
overlayProps: { id: overlayId }
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
//#endregion
|
|
226
|
+
//#region node_modules/@react-aria/overlays/dist/usePreventScroll.mjs
|
|
227
|
+
var $49c51c25361d4cd2$var$visualViewport = typeof document !== "undefined" && window.visualViewport;
|
|
228
|
+
var $49c51c25361d4cd2$var$preventScrollCount = 0;
|
|
229
|
+
var $49c51c25361d4cd2$var$restore;
|
|
230
|
+
function $49c51c25361d4cd2$export$ee0f7cc6afcd1c18(options = {}) {
|
|
231
|
+
let { isDisabled } = options;
|
|
232
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
233
|
+
if (isDisabled) return;
|
|
234
|
+
$49c51c25361d4cd2$var$preventScrollCount++;
|
|
235
|
+
if ($49c51c25361d4cd2$var$preventScrollCount === 1) if ($c87311424ea30a05$export$fedb369cb70207f1()) $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollMobileSafari();
|
|
236
|
+
else $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollStandard();
|
|
237
|
+
return () => {
|
|
238
|
+
$49c51c25361d4cd2$var$preventScrollCount--;
|
|
239
|
+
if ($49c51c25361d4cd2$var$preventScrollCount === 0) $49c51c25361d4cd2$var$restore();
|
|
240
|
+
};
|
|
241
|
+
}, [isDisabled]);
|
|
242
|
+
}
|
|
243
|
+
function $49c51c25361d4cd2$var$preventScrollStandard() {
|
|
244
|
+
let scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
|
|
245
|
+
return $ff5963eb1fccf552$export$e08e3b67e392101e(scrollbarWidth > 0 && ("scrollbarGutter" in document.documentElement.style ? $49c51c25361d4cd2$var$setStyle(document.documentElement, "scrollbarGutter", "stable") : $49c51c25361d4cd2$var$setStyle(document.documentElement, "paddingRight", `${scrollbarWidth}px`)), $49c51c25361d4cd2$var$setStyle(document.documentElement, "overflow", "hidden"));
|
|
246
|
+
}
|
|
247
|
+
function $49c51c25361d4cd2$var$preventScrollMobileSafari() {
|
|
248
|
+
let restoreOverflow = $49c51c25361d4cd2$var$setStyle(document.documentElement, "overflow", "hidden");
|
|
249
|
+
let scrollable;
|
|
250
|
+
let allowTouchMove = false;
|
|
251
|
+
let onTouchStart = (e) => {
|
|
252
|
+
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
253
|
+
scrollable = $cc38e7bd3fc7b213$export$2bb74740c4e19def(target) ? target : $62d8ded9296f3872$export$cfa2225e87938781(target, true);
|
|
254
|
+
allowTouchMove = false;
|
|
255
|
+
let selection = target.ownerDocument.defaultView.getSelection();
|
|
256
|
+
if (selection && !selection.isCollapsed && selection.containsNode(target, true)) allowTouchMove = true;
|
|
257
|
+
if (e.composedPath().some((el) => el instanceof HTMLInputElement && el.type === "range")) allowTouchMove = true;
|
|
258
|
+
if ("selectionStart" in target && "selectionEnd" in target && target.selectionStart < target.selectionEnd && target.ownerDocument.activeElement === target) allowTouchMove = true;
|
|
259
|
+
};
|
|
260
|
+
let style = document.createElement("style");
|
|
261
|
+
style.textContent = `
|
|
262
|
+
@layer {
|
|
263
|
+
* {
|
|
264
|
+
overscroll-behavior: contain;
|
|
265
|
+
}
|
|
266
|
+
}`.trim();
|
|
267
|
+
document.head.prepend(style);
|
|
268
|
+
let onTouchMove = (e) => {
|
|
269
|
+
if (e.touches.length === 2 || allowTouchMove) return;
|
|
270
|
+
if (!scrollable || scrollable === document.documentElement || scrollable === document.body) {
|
|
271
|
+
e.preventDefault();
|
|
272
|
+
return;
|
|
273
|
+
}
|
|
274
|
+
if (scrollable.scrollHeight === scrollable.clientHeight && scrollable.scrollWidth === scrollable.clientWidth) e.preventDefault();
|
|
275
|
+
};
|
|
276
|
+
let onBlur = (e) => {
|
|
277
|
+
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
278
|
+
let relatedTarget = e.relatedTarget;
|
|
279
|
+
if (relatedTarget && $21f1aa98acb08317$export$c57958e35f31ed73(relatedTarget)) {
|
|
280
|
+
relatedTarget.focus({ preventScroll: true });
|
|
281
|
+
$49c51c25361d4cd2$var$scrollIntoViewWhenReady(relatedTarget, $21f1aa98acb08317$export$c57958e35f31ed73(target));
|
|
282
|
+
} else if (!relatedTarget) {
|
|
283
|
+
var _target_parentElement;
|
|
284
|
+
let focusable = (_target_parentElement = target.parentElement) === null || _target_parentElement === void 0 ? void 0 : _target_parentElement.closest("[tabindex]");
|
|
285
|
+
focusable === null || focusable === void 0 || focusable.focus({ preventScroll: true });
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
let focus = HTMLElement.prototype.focus;
|
|
289
|
+
HTMLElement.prototype.focus = function(opts) {
|
|
290
|
+
let activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576();
|
|
291
|
+
let wasKeyboardVisible = activeElement != null && $21f1aa98acb08317$export$c57958e35f31ed73(activeElement);
|
|
292
|
+
focus.call(this, {
|
|
293
|
+
...opts,
|
|
294
|
+
preventScroll: true
|
|
295
|
+
});
|
|
296
|
+
if (!opts || !opts.preventScroll) $49c51c25361d4cd2$var$scrollIntoViewWhenReady(this, wasKeyboardVisible);
|
|
297
|
+
};
|
|
298
|
+
let removeEvents = $ff5963eb1fccf552$export$e08e3b67e392101e($49c51c25361d4cd2$var$addEvent(document, "touchstart", onTouchStart, {
|
|
299
|
+
passive: false,
|
|
300
|
+
capture: true
|
|
301
|
+
}), $49c51c25361d4cd2$var$addEvent(document, "touchmove", onTouchMove, {
|
|
302
|
+
passive: false,
|
|
303
|
+
capture: true
|
|
304
|
+
}), $49c51c25361d4cd2$var$addEvent(document, "blur", onBlur, true));
|
|
305
|
+
return () => {
|
|
306
|
+
restoreOverflow();
|
|
307
|
+
removeEvents();
|
|
308
|
+
style.remove();
|
|
309
|
+
HTMLElement.prototype.focus = focus;
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
function $49c51c25361d4cd2$var$setStyle(element, style, value) {
|
|
313
|
+
let cur = element.style[style];
|
|
314
|
+
element.style[style] = value;
|
|
315
|
+
return () => {
|
|
316
|
+
element.style[style] = cur;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
function $49c51c25361d4cd2$var$addEvent(target, event, handler, options) {
|
|
320
|
+
target.addEventListener(event, handler, options);
|
|
321
|
+
return () => {
|
|
322
|
+
target.removeEventListener(event, handler, options);
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
function $49c51c25361d4cd2$var$scrollIntoViewWhenReady(target, wasKeyboardVisible) {
|
|
326
|
+
if (wasKeyboardVisible || !$49c51c25361d4cd2$var$visualViewport) $49c51c25361d4cd2$var$scrollIntoView(target);
|
|
327
|
+
else $49c51c25361d4cd2$var$visualViewport.addEventListener("resize", () => $49c51c25361d4cd2$var$scrollIntoView(target), { once: true });
|
|
328
|
+
}
|
|
329
|
+
function $49c51c25361d4cd2$var$scrollIntoView(target) {
|
|
330
|
+
let root = document.scrollingElement || document.documentElement;
|
|
331
|
+
let nextTarget = target;
|
|
332
|
+
while (nextTarget && nextTarget !== root) {
|
|
333
|
+
let scrollable = $62d8ded9296f3872$export$cfa2225e87938781(nextTarget);
|
|
334
|
+
if (scrollable !== document.documentElement && scrollable !== document.body && scrollable !== nextTarget) {
|
|
335
|
+
let scrollableRect = scrollable.getBoundingClientRect();
|
|
336
|
+
let targetRect = nextTarget.getBoundingClientRect();
|
|
337
|
+
if (targetRect.top < scrollableRect.top || targetRect.bottom > scrollableRect.top + nextTarget.clientHeight) {
|
|
338
|
+
let bottom = scrollableRect.bottom;
|
|
339
|
+
if ($49c51c25361d4cd2$var$visualViewport) bottom = Math.min(bottom, $49c51c25361d4cd2$var$visualViewport.offsetTop + $49c51c25361d4cd2$var$visualViewport.height);
|
|
340
|
+
let adjustment = targetRect.top - scrollableRect.top - ((bottom - scrollableRect.top) / 2 - targetRect.height / 2);
|
|
341
|
+
scrollable.scrollTo({
|
|
342
|
+
top: Math.max(0, Math.min(scrollable.scrollHeight - scrollable.clientHeight, scrollable.scrollTop + adjustment)),
|
|
343
|
+
behavior: "smooth"
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
nextTarget = scrollable.parentElement;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
//#endregion
|
|
351
|
+
//#region node_modules/@react-aria/overlays/dist/ar-AE.mjs
|
|
352
|
+
var $773d5888b972f1cf$exports = {};
|
|
353
|
+
$773d5888b972f1cf$exports = { "dismiss": `\u{62A}\u{62C}\u{627}\u{647}\u{644}` };
|
|
354
|
+
//#endregion
|
|
355
|
+
//#region node_modules/@react-aria/overlays/dist/bg-BG.mjs
|
|
356
|
+
var $d11f19852b941573$exports = {};
|
|
357
|
+
$d11f19852b941573$exports = { "dismiss": `\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}` };
|
|
358
|
+
//#endregion
|
|
359
|
+
//#region node_modules/@react-aria/overlays/dist/cs-CZ.mjs
|
|
360
|
+
var $b983974c2ee1efb3$exports = {};
|
|
361
|
+
$b983974c2ee1efb3$exports = { "dismiss": `Odstranit` };
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region node_modules/@react-aria/overlays/dist/da-DK.mjs
|
|
364
|
+
var $5809cc9d4e92de73$exports = {};
|
|
365
|
+
$5809cc9d4e92de73$exports = { "dismiss": `Luk` };
|
|
366
|
+
//#endregion
|
|
367
|
+
//#region node_modules/@react-aria/overlays/dist/de-DE.mjs
|
|
368
|
+
var $c68c2e4fc74398d1$exports = {};
|
|
369
|
+
$c68c2e4fc74398d1$exports = { "dismiss": `Schlie\xdfen` };
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region node_modules/@react-aria/overlays/dist/el-GR.mjs
|
|
372
|
+
var $0898b4c153db2b77$exports = {};
|
|
373
|
+
$0898b4c153db2b77$exports = { "dismiss": `\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}` };
|
|
374
|
+
//#endregion
|
|
375
|
+
//#region node_modules/@react-aria/overlays/dist/en-US.mjs
|
|
376
|
+
var $6d74810286a15183$exports = {};
|
|
377
|
+
$6d74810286a15183$exports = { "dismiss": `Dismiss` };
|
|
378
|
+
//#endregion
|
|
379
|
+
//#region node_modules/@react-aria/overlays/dist/es-ES.mjs
|
|
380
|
+
var $309d73dc65f78055$exports = {};
|
|
381
|
+
$309d73dc65f78055$exports = { "dismiss": `Descartar` };
|
|
382
|
+
//#endregion
|
|
383
|
+
//#region node_modules/@react-aria/overlays/dist/et-EE.mjs
|
|
384
|
+
var $44ad94f7205cf593$exports = {};
|
|
385
|
+
$44ad94f7205cf593$exports = { "dismiss": `L\xf5peta` };
|
|
386
|
+
//#endregion
|
|
387
|
+
//#region node_modules/@react-aria/overlays/dist/fi-FI.mjs
|
|
388
|
+
var $7c28f5687f0779a9$exports = {};
|
|
389
|
+
$7c28f5687f0779a9$exports = { "dismiss": `Hylk\xe4\xe4` };
|
|
390
|
+
//#endregion
|
|
391
|
+
//#region node_modules/@react-aria/overlays/dist/fr-FR.mjs
|
|
392
|
+
var $e6d75df4b68bd73a$exports = {};
|
|
393
|
+
$e6d75df4b68bd73a$exports = { "dismiss": `Rejeter` };
|
|
394
|
+
//#endregion
|
|
395
|
+
//#region node_modules/@react-aria/overlays/dist/he-IL.mjs
|
|
396
|
+
var $87505c9dab186d0f$exports = {};
|
|
397
|
+
$87505c9dab186d0f$exports = { "dismiss": `\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}` };
|
|
398
|
+
//#endregion
|
|
399
|
+
//#region node_modules/@react-aria/overlays/dist/hr-HR.mjs
|
|
400
|
+
var $553439c3ffb3e492$exports = {};
|
|
401
|
+
$553439c3ffb3e492$exports = { "dismiss": `Odbaci` };
|
|
402
|
+
//#endregion
|
|
403
|
+
//#region node_modules/@react-aria/overlays/dist/hu-HU.mjs
|
|
404
|
+
var $74cf411061b983a2$exports = {};
|
|
405
|
+
$74cf411061b983a2$exports = { "dismiss": `Elutas\xedt\xe1s` };
|
|
406
|
+
//#endregion
|
|
407
|
+
//#region node_modules/@react-aria/overlays/dist/it-IT.mjs
|
|
408
|
+
var $e933f298574dc435$exports = {};
|
|
409
|
+
$e933f298574dc435$exports = { "dismiss": `Ignora` };
|
|
410
|
+
//#endregion
|
|
411
|
+
//#region node_modules/@react-aria/overlays/dist/ja-JP.mjs
|
|
412
|
+
var $ac91fc9fe02f71f6$exports = {};
|
|
413
|
+
$ac91fc9fe02f71f6$exports = { "dismiss": `\u{9589}\u{3058}\u{308B}` };
|
|
414
|
+
//#endregion
|
|
415
|
+
//#region node_modules/@react-aria/overlays/dist/ko-KR.mjs
|
|
416
|
+
var $52b96f86422025af$exports = {};
|
|
417
|
+
$52b96f86422025af$exports = { "dismiss": `\u{BB34}\u{C2DC}` };
|
|
418
|
+
//#endregion
|
|
419
|
+
//#region node_modules/@react-aria/overlays/dist/lt-LT.mjs
|
|
420
|
+
var $c0d724c3e51dafa6$exports = {};
|
|
421
|
+
$c0d724c3e51dafa6$exports = { "dismiss": `Atmesti` };
|
|
422
|
+
//#endregion
|
|
423
|
+
//#region node_modules/@react-aria/overlays/dist/lv-LV.mjs
|
|
424
|
+
var $c92899672a3fe72e$exports = {};
|
|
425
|
+
$c92899672a3fe72e$exports = { "dismiss": `Ner\u{101}d\u{12B}t` };
|
|
426
|
+
//#endregion
|
|
427
|
+
//#region node_modules/@react-aria/overlays/dist/nb-NO.mjs
|
|
428
|
+
var $9f576b39d8e7a9d6$exports = {};
|
|
429
|
+
$9f576b39d8e7a9d6$exports = { "dismiss": `Lukk` };
|
|
430
|
+
//#endregion
|
|
431
|
+
//#region node_modules/@react-aria/overlays/dist/nl-NL.mjs
|
|
432
|
+
var $9d025808aeec81a7$exports = {};
|
|
433
|
+
$9d025808aeec81a7$exports = { "dismiss": `Negeren` };
|
|
434
|
+
//#endregion
|
|
435
|
+
//#region node_modules/@react-aria/overlays/dist/pl-PL.mjs
|
|
436
|
+
var $fce709921e2c0fa6$exports = {};
|
|
437
|
+
$fce709921e2c0fa6$exports = { "dismiss": `Zignoruj` };
|
|
438
|
+
//#endregion
|
|
439
|
+
//#region node_modules/@react-aria/overlays/dist/pt-BR.mjs
|
|
440
|
+
var $2599cf0c4ab37f59$exports = {};
|
|
441
|
+
$2599cf0c4ab37f59$exports = { "dismiss": `Descartar` };
|
|
442
|
+
//#endregion
|
|
443
|
+
//#region node_modules/@react-aria/overlays/dist/pt-PT.mjs
|
|
444
|
+
var $3c220ae7ef8a35fd$exports = {};
|
|
445
|
+
$3c220ae7ef8a35fd$exports = { "dismiss": `Dispensar` };
|
|
446
|
+
//#endregion
|
|
447
|
+
//#region node_modules/@react-aria/overlays/dist/ro-RO.mjs
|
|
448
|
+
var $93562b5094072f54$exports = {};
|
|
449
|
+
$93562b5094072f54$exports = { "dismiss": `Revocare` };
|
|
450
|
+
//#endregion
|
|
451
|
+
//#region node_modules/@react-aria/overlays/dist/ru-RU.mjs
|
|
452
|
+
var $cd9e2abd0d06c7b4$exports = {};
|
|
453
|
+
$cd9e2abd0d06c7b4$exports = { "dismiss": `\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}` };
|
|
454
|
+
//#endregion
|
|
455
|
+
//#region node_modules/@react-aria/overlays/dist/sk-SK.mjs
|
|
456
|
+
var $45375701f409adf1$exports = {};
|
|
457
|
+
$45375701f409adf1$exports = { "dismiss": `Zru\u{161}i\u{165}` };
|
|
458
|
+
//#endregion
|
|
459
|
+
//#region node_modules/@react-aria/overlays/dist/sl-SI.mjs
|
|
460
|
+
var $27fab53a576de9dd$exports = {};
|
|
461
|
+
$27fab53a576de9dd$exports = { "dismiss": `Opusti` };
|
|
462
|
+
//#endregion
|
|
463
|
+
//#region node_modules/@react-aria/overlays/dist/sr-SP.mjs
|
|
464
|
+
var $4438748d9952e7c7$exports = {};
|
|
465
|
+
$4438748d9952e7c7$exports = { "dismiss": `Odbaci` };
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region node_modules/@react-aria/overlays/dist/sv-SE.mjs
|
|
468
|
+
var $0936d7347ef4da4c$exports = {};
|
|
469
|
+
$0936d7347ef4da4c$exports = { "dismiss": `Avvisa` };
|
|
470
|
+
//#endregion
|
|
471
|
+
//#region node_modules/@react-aria/overlays/dist/tr-TR.mjs
|
|
472
|
+
var $29700c92185d38f8$exports = {};
|
|
473
|
+
$29700c92185d38f8$exports = { "dismiss": `Kapat` };
|
|
474
|
+
//#endregion
|
|
475
|
+
//#region node_modules/@react-aria/overlays/dist/uk-UA.mjs
|
|
476
|
+
var $662ccaf2be4c25b3$exports = {};
|
|
477
|
+
$662ccaf2be4c25b3$exports = { "dismiss": `\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}` };
|
|
478
|
+
//#endregion
|
|
479
|
+
//#region node_modules/@react-aria/overlays/dist/zh-CN.mjs
|
|
480
|
+
var $d80a27deda7cdb3c$exports = {};
|
|
481
|
+
$d80a27deda7cdb3c$exports = { "dismiss": `\u{53D6}\u{6D88}` };
|
|
482
|
+
//#endregion
|
|
483
|
+
//#region node_modules/@react-aria/overlays/dist/zh-TW.mjs
|
|
484
|
+
var $2b2734393847c884$exports = {};
|
|
485
|
+
$2b2734393847c884$exports = { "dismiss": `\u{95DC}\u{9589}` };
|
|
486
|
+
//#endregion
|
|
487
|
+
//#region node_modules/@react-aria/overlays/dist/intlStrings.mjs
|
|
488
|
+
var $a2f21f5f14f60553$exports = {};
|
|
489
|
+
$a2f21f5f14f60553$exports = {
|
|
490
|
+
"ar-AE": $773d5888b972f1cf$exports,
|
|
491
|
+
"bg-BG": $d11f19852b941573$exports,
|
|
492
|
+
"cs-CZ": $b983974c2ee1efb3$exports,
|
|
493
|
+
"da-DK": $5809cc9d4e92de73$exports,
|
|
494
|
+
"de-DE": $c68c2e4fc74398d1$exports,
|
|
495
|
+
"el-GR": $0898b4c153db2b77$exports,
|
|
496
|
+
"en-US": $6d74810286a15183$exports,
|
|
497
|
+
"es-ES": $309d73dc65f78055$exports,
|
|
498
|
+
"et-EE": $44ad94f7205cf593$exports,
|
|
499
|
+
"fi-FI": $7c28f5687f0779a9$exports,
|
|
500
|
+
"fr-FR": $e6d75df4b68bd73a$exports,
|
|
501
|
+
"he-IL": $87505c9dab186d0f$exports,
|
|
502
|
+
"hr-HR": $553439c3ffb3e492$exports,
|
|
503
|
+
"hu-HU": $74cf411061b983a2$exports,
|
|
504
|
+
"it-IT": $e933f298574dc435$exports,
|
|
505
|
+
"ja-JP": $ac91fc9fe02f71f6$exports,
|
|
506
|
+
"ko-KR": $52b96f86422025af$exports,
|
|
507
|
+
"lt-LT": $c0d724c3e51dafa6$exports,
|
|
508
|
+
"lv-LV": $c92899672a3fe72e$exports,
|
|
509
|
+
"nb-NO": $9f576b39d8e7a9d6$exports,
|
|
510
|
+
"nl-NL": $9d025808aeec81a7$exports,
|
|
511
|
+
"pl-PL": $fce709921e2c0fa6$exports,
|
|
512
|
+
"pt-BR": $2599cf0c4ab37f59$exports,
|
|
513
|
+
"pt-PT": $3c220ae7ef8a35fd$exports,
|
|
514
|
+
"ro-RO": $93562b5094072f54$exports,
|
|
515
|
+
"ru-RU": $cd9e2abd0d06c7b4$exports,
|
|
516
|
+
"sk-SK": $45375701f409adf1$exports,
|
|
517
|
+
"sl-SI": $27fab53a576de9dd$exports,
|
|
518
|
+
"sr-SP": $4438748d9952e7c7$exports,
|
|
519
|
+
"sv-SE": $0936d7347ef4da4c$exports,
|
|
520
|
+
"tr-TR": $29700c92185d38f8$exports,
|
|
521
|
+
"uk-UA": $662ccaf2be4c25b3$exports,
|
|
522
|
+
"zh-CN": $d80a27deda7cdb3c$exports,
|
|
523
|
+
"zh-TW": $2b2734393847c884$exports
|
|
524
|
+
};
|
|
525
|
+
//#endregion
|
|
526
|
+
//#region node_modules/@react-aria/overlays/dist/DismissButton.mjs
|
|
527
|
+
function $parcel$interopDefault$1(a) {
|
|
528
|
+
return a && a.__esModule ? a.default : a;
|
|
529
|
+
}
|
|
530
|
+
function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
|
|
531
|
+
let { onDismiss, ...otherProps } = props;
|
|
532
|
+
let labels = $313b98861ee5dd6c$export$d6875122194c7b44(otherProps, $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($a2f21f5f14f60553$exports), "@react-aria/overlays").format("dismiss"));
|
|
533
|
+
let onClick = () => {
|
|
534
|
+
if (onDismiss) onDismiss();
|
|
535
|
+
};
|
|
536
|
+
return React.createElement($5c3e21d68f1c4674$export$439d29a4e110a164, null, React.createElement("button", {
|
|
537
|
+
...labels,
|
|
538
|
+
tabIndex: -1,
|
|
539
|
+
onClick,
|
|
540
|
+
style: {
|
|
541
|
+
width: 1,
|
|
542
|
+
height: 1
|
|
543
|
+
}
|
|
544
|
+
}));
|
|
545
|
+
}
|
|
546
|
+
//#endregion
|
|
547
|
+
//#region node_modules/@react-aria/overlays/dist/ariaHideOutside.mjs
|
|
548
|
+
var $5e3802645cc19319$var$supportsInert = typeof HTMLElement !== "undefined" && "inert" in HTMLElement.prototype;
|
|
549
|
+
var $5e3802645cc19319$var$refCountMap = new WeakMap();
|
|
550
|
+
var $5e3802645cc19319$var$observerStack = [];
|
|
551
|
+
function $5e3802645cc19319$export$1c3ebcada18427bf(targets, options) {
|
|
552
|
+
let windowObj = $431fbd86ca7dc216$export$f21a1ffae260145a(targets === null || targets === void 0 ? void 0 : targets[0]);
|
|
553
|
+
let opts = options instanceof windowObj.Element ? { root: options } : options;
|
|
554
|
+
var _opts_root;
|
|
555
|
+
let root = (_opts_root = opts === null || opts === void 0 ? void 0 : opts.root) !== null && _opts_root !== void 0 ? _opts_root : document.body;
|
|
556
|
+
let shouldUseInert = (opts === null || opts === void 0 ? void 0 : opts.shouldUseInert) && $5e3802645cc19319$var$supportsInert;
|
|
557
|
+
let visibleNodes = new Set(targets);
|
|
558
|
+
let hiddenNodes = new Set();
|
|
559
|
+
let getHidden = (element) => {
|
|
560
|
+
return shouldUseInert && element instanceof windowObj.HTMLElement ? element.inert : element.getAttribute("aria-hidden") === "true";
|
|
561
|
+
};
|
|
562
|
+
let setHidden = (element, hidden) => {
|
|
563
|
+
if (shouldUseInert && element instanceof windowObj.HTMLElement) element.inert = hidden;
|
|
564
|
+
else if (hidden) element.setAttribute("aria-hidden", "true");
|
|
565
|
+
else {
|
|
566
|
+
element.removeAttribute("aria-hidden");
|
|
567
|
+
if (element instanceof windowObj.HTMLElement) element.inert = false;
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
let shadowRootsToWatch = new Set();
|
|
571
|
+
if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) for (let target of targets) {
|
|
572
|
+
let node = target;
|
|
573
|
+
while (node && node !== root) {
|
|
574
|
+
let root = node.getRootNode();
|
|
575
|
+
if ("shadowRoot" in root) shadowRootsToWatch.add(root.shadowRoot);
|
|
576
|
+
node = root.parentNode;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
let walk = (root) => {
|
|
580
|
+
for (let element of root.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) visibleNodes.add(element);
|
|
581
|
+
let acceptNode = (node) => {
|
|
582
|
+
if (hiddenNodes.has(node) || visibleNodes.has(node) || node.parentElement && hiddenNodes.has(node.parentElement) && node.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
|
|
583
|
+
for (let target of visibleNodes) if ($d4ee10de306f2510$export$4282f70798064fe0(node, target)) return NodeFilter.FILTER_SKIP;
|
|
584
|
+
return NodeFilter.FILTER_ACCEPT;
|
|
585
|
+
};
|
|
586
|
+
let walker = $dfc540311bf7f109$export$4d0f8be8b12a7ef6($431fbd86ca7dc216$export$b204af158042fbac(root), root, NodeFilter.SHOW_ELEMENT, { acceptNode });
|
|
587
|
+
let acceptRoot = acceptNode(root);
|
|
588
|
+
if (acceptRoot === NodeFilter.FILTER_ACCEPT) hide(root);
|
|
589
|
+
if (acceptRoot !== NodeFilter.FILTER_REJECT) {
|
|
590
|
+
let node = walker.nextNode();
|
|
591
|
+
while (node != null) {
|
|
592
|
+
hide(node);
|
|
593
|
+
node = walker.nextNode();
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
};
|
|
597
|
+
let hide = (node) => {
|
|
598
|
+
var _refCountMap_get;
|
|
599
|
+
let refCount = (_refCountMap_get = $5e3802645cc19319$var$refCountMap.get(node)) !== null && _refCountMap_get !== void 0 ? _refCountMap_get : 0;
|
|
600
|
+
if (getHidden(node) && refCount === 0) return;
|
|
601
|
+
if (refCount === 0) setHidden(node, true);
|
|
602
|
+
hiddenNodes.add(node);
|
|
603
|
+
$5e3802645cc19319$var$refCountMap.set(node, refCount + 1);
|
|
604
|
+
};
|
|
605
|
+
if ($5e3802645cc19319$var$observerStack.length) $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1].disconnect();
|
|
606
|
+
walk(root);
|
|
607
|
+
let observer = new MutationObserver((changes) => {
|
|
608
|
+
for (let change of changes) {
|
|
609
|
+
if (change.type !== "childList") continue;
|
|
610
|
+
if (change.target.isConnected && ![...visibleNodes, ...hiddenNodes].some((node) => $d4ee10de306f2510$export$4282f70798064fe0(node, change.target))) {
|
|
611
|
+
for (let node of change.addedNodes) if ((node instanceof HTMLElement || node instanceof SVGElement) && (node.dataset.liveAnnouncer === "true" || node.dataset.reactAriaTopLayer === "true")) visibleNodes.add(node);
|
|
612
|
+
else if (node instanceof Element) walk(node);
|
|
613
|
+
}
|
|
614
|
+
if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) {
|
|
615
|
+
for (let shadowRoot of shadowRootsToWatch) if (!shadowRoot.isConnected) {
|
|
616
|
+
observer.disconnect();
|
|
617
|
+
break;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
});
|
|
622
|
+
observer.observe(root, {
|
|
623
|
+
childList: true,
|
|
624
|
+
subtree: true
|
|
625
|
+
});
|
|
626
|
+
let shadowObservers = new Set();
|
|
627
|
+
if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) for (let shadowRoot of shadowRootsToWatch) {
|
|
628
|
+
let shadowObserver = new MutationObserver((changes) => {
|
|
629
|
+
for (let change of changes) {
|
|
630
|
+
if (change.type !== "childList") continue;
|
|
631
|
+
if (change.target.isConnected && ![...visibleNodes, ...hiddenNodes].some((node) => $d4ee10de306f2510$export$4282f70798064fe0(node, change.target))) {
|
|
632
|
+
for (let node of change.addedNodes) if ((node instanceof HTMLElement || node instanceof SVGElement) && (node.dataset.liveAnnouncer === "true" || node.dataset.reactAriaTopLayer === "true")) visibleNodes.add(node);
|
|
633
|
+
else if (node instanceof Element) walk(node);
|
|
634
|
+
}
|
|
635
|
+
if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) {
|
|
636
|
+
for (let shadowRoot of shadowRootsToWatch) if (!shadowRoot.isConnected) {
|
|
637
|
+
observer.disconnect();
|
|
638
|
+
break;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
shadowObserver.observe(shadowRoot, {
|
|
644
|
+
childList: true,
|
|
645
|
+
subtree: true
|
|
646
|
+
});
|
|
647
|
+
shadowObservers.add(shadowObserver);
|
|
648
|
+
}
|
|
649
|
+
let observerWrapper = {
|
|
650
|
+
visibleNodes,
|
|
651
|
+
hiddenNodes,
|
|
652
|
+
observe() {
|
|
653
|
+
observer.observe(root, {
|
|
654
|
+
childList: true,
|
|
655
|
+
subtree: true
|
|
656
|
+
});
|
|
657
|
+
},
|
|
658
|
+
disconnect() {
|
|
659
|
+
observer.disconnect();
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
$5e3802645cc19319$var$observerStack.push(observerWrapper);
|
|
663
|
+
return () => {
|
|
664
|
+
observer.disconnect();
|
|
665
|
+
if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) for (let shadowObserver of shadowObservers) shadowObserver.disconnect();
|
|
666
|
+
for (let node of hiddenNodes) {
|
|
667
|
+
let count = $5e3802645cc19319$var$refCountMap.get(node);
|
|
668
|
+
if (count == null) continue;
|
|
669
|
+
if (count === 1) {
|
|
670
|
+
setHidden(node, false);
|
|
671
|
+
$5e3802645cc19319$var$refCountMap.delete(node);
|
|
672
|
+
} else $5e3802645cc19319$var$refCountMap.set(node, count - 1);
|
|
673
|
+
}
|
|
674
|
+
if (observerWrapper === $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1]) {
|
|
675
|
+
$5e3802645cc19319$var$observerStack.pop();
|
|
676
|
+
if ($5e3802645cc19319$var$observerStack.length) $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1].observe();
|
|
677
|
+
} else $5e3802645cc19319$var$observerStack.splice($5e3802645cc19319$var$observerStack.indexOf(observerWrapper), 1);
|
|
678
|
+
};
|
|
679
|
+
}
|
|
680
|
+
function $5e3802645cc19319$export$1020fa7f77e17884(element) {
|
|
681
|
+
let observer = $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1];
|
|
682
|
+
if (observer && !observer.visibleNodes.has(element)) {
|
|
683
|
+
observer.visibleNodes.add(element);
|
|
684
|
+
return () => {
|
|
685
|
+
observer.visibleNodes.delete(element);
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
//#endregion
|
|
690
|
+
//#region node_modules/@react-aria/overlays/dist/usePopover.mjs
|
|
691
|
+
function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
|
|
692
|
+
let { triggerRef, popoverRef, groupRef, isNonModal, isKeyboardDismissDisabled, shouldCloseOnInteractOutside, ...otherProps } = props;
|
|
693
|
+
let isSubmenu = otherProps["trigger"] === "SubmenuTrigger";
|
|
694
|
+
let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f({
|
|
695
|
+
isOpen: state.isOpen,
|
|
696
|
+
onClose: state.close,
|
|
697
|
+
shouldCloseOnBlur: true,
|
|
698
|
+
isDismissable: !isNonModal || isSubmenu,
|
|
699
|
+
isKeyboardDismissDisabled,
|
|
700
|
+
shouldCloseOnInteractOutside
|
|
701
|
+
}, groupRef !== null && groupRef !== void 0 ? groupRef : popoverRef);
|
|
702
|
+
let { overlayProps: positionProps, arrowProps, placement, triggerAnchorPoint: origin } = $2a41e45df1593e64$export$d39e1813b3bdd0e1({
|
|
703
|
+
...otherProps,
|
|
704
|
+
targetRef: triggerRef,
|
|
705
|
+
overlayRef: popoverRef,
|
|
706
|
+
isOpen: state.isOpen,
|
|
707
|
+
onClose: isNonModal && !isSubmenu ? state.close : null
|
|
708
|
+
});
|
|
709
|
+
$49c51c25361d4cd2$export$ee0f7cc6afcd1c18({ isDisabled: isNonModal || !state.isOpen });
|
|
710
|
+
useEffect(() => {
|
|
711
|
+
if (state.isOpen && popoverRef.current) {
|
|
712
|
+
var _groupRef_current, _groupRef_current1;
|
|
713
|
+
if (isNonModal) return $5e3802645cc19319$export$1020fa7f77e17884((_groupRef_current = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current !== void 0 ? _groupRef_current : popoverRef.current);
|
|
714
|
+
else return $5e3802645cc19319$export$1c3ebcada18427bf([(_groupRef_current1 = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current1 !== void 0 ? _groupRef_current1 : popoverRef.current], { shouldUseInert: true });
|
|
715
|
+
}
|
|
716
|
+
}, [
|
|
717
|
+
isNonModal,
|
|
718
|
+
state.isOpen,
|
|
719
|
+
popoverRef,
|
|
720
|
+
groupRef
|
|
721
|
+
]);
|
|
722
|
+
return {
|
|
723
|
+
popoverProps: $3ef42575df84b30b$export$9d1611c77c2fe928(overlayProps, positionProps),
|
|
724
|
+
arrowProps,
|
|
725
|
+
underlayProps,
|
|
726
|
+
placement,
|
|
727
|
+
triggerAnchorPoint: origin
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
//#endregion
|
|
731
|
+
//#region node_modules/@react-aria/overlays/dist/Overlay.mjs
|
|
732
|
+
var $337b884510726a0d$export$a2200b96afd16271 = React.createContext(null);
|
|
733
|
+
function $337b884510726a0d$export$c6fdb837b070b4ff(props) {
|
|
734
|
+
let isSSR = $b5e257d569688ac6$export$535bd6ca7f90a273();
|
|
735
|
+
let { portalContainer = isSSR ? null : document.body, isExiting } = props;
|
|
736
|
+
let [contain, setContain] = useState(false);
|
|
737
|
+
let contextValue = useMemo(() => ({
|
|
738
|
+
contain,
|
|
739
|
+
setContain
|
|
740
|
+
}), [contain, setContain]);
|
|
741
|
+
let { getContainer } = $96b38030c423d352$export$9fc1347d4195ccb3();
|
|
742
|
+
if (!props.portalContainer && getContainer) portalContainer = getContainer();
|
|
743
|
+
if (!portalContainer) return null;
|
|
744
|
+
let contents = props.children;
|
|
745
|
+
if (!props.disableFocusManagement) contents = React.createElement($9bf71ea28793e738$export$20e40289641fbbb6, {
|
|
746
|
+
restoreFocus: true,
|
|
747
|
+
contain: (props.shouldContainFocus || contain) && !isExiting
|
|
748
|
+
}, contents);
|
|
749
|
+
contents = React.createElement($337b884510726a0d$export$a2200b96afd16271.Provider, { value: contextValue }, React.createElement($f1ab8c75478c6f73$export$cf75428e0b9ed1ea, null, contents));
|
|
750
|
+
return $dbSRa$reactdom.createPortal(contents, portalContainer);
|
|
751
|
+
}
|
|
752
|
+
function $337b884510726a0d$export$14c98a7594375490() {
|
|
753
|
+
let ctx = useContext($337b884510726a0d$export$a2200b96afd16271);
|
|
754
|
+
let setContain = ctx === null || ctx === void 0 ? void 0 : ctx.setContain;
|
|
755
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
756
|
+
setContain === null || setContain === void 0 || setContain(true);
|
|
757
|
+
}, [setContain]);
|
|
758
|
+
}
|
|
759
|
+
//#endregion
|
|
760
|
+
//#region node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs
|
|
761
|
+
var $657e4dc4a6e88df0$export$8f5ed9ff9f511381 = class {
|
|
762
|
+
getItemRect(key) {
|
|
763
|
+
let container = this.ref.current;
|
|
764
|
+
if (!container) return null;
|
|
765
|
+
let item = key != null ? $feb5ffebff200149$export$c3d8340acf92597f(this.ref, key) : null;
|
|
766
|
+
if (!item) return null;
|
|
767
|
+
let containerRect = container.getBoundingClientRect();
|
|
768
|
+
let itemRect = item.getBoundingClientRect();
|
|
769
|
+
return {
|
|
770
|
+
x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,
|
|
771
|
+
y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,
|
|
772
|
+
width: itemRect.width,
|
|
773
|
+
height: itemRect.height
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
getContentSize() {
|
|
777
|
+
let container = this.ref.current;
|
|
778
|
+
var _container_scrollWidth, _container_scrollHeight;
|
|
779
|
+
return {
|
|
780
|
+
width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,
|
|
781
|
+
height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
getVisibleRect() {
|
|
785
|
+
let container = this.ref.current;
|
|
786
|
+
var _container_scrollLeft, _container_scrollTop, _container_clientWidth, _container_clientHeight;
|
|
787
|
+
return {
|
|
788
|
+
x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,
|
|
789
|
+
y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,
|
|
790
|
+
width: (_container_clientWidth = container === null || container === void 0 ? void 0 : container.clientWidth) !== null && _container_clientWidth !== void 0 ? _container_clientWidth : 0,
|
|
791
|
+
height: (_container_clientHeight = container === null || container === void 0 ? void 0 : container.clientHeight) !== null && _container_clientHeight !== void 0 ? _container_clientHeight : 0
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
|
+
constructor(ref) {
|
|
795
|
+
this.ref = ref;
|
|
796
|
+
}
|
|
797
|
+
};
|
|
798
|
+
//#endregion
|
|
799
|
+
//#region node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs
|
|
800
|
+
var $2a25aae57d74318e$export$a05409b8bb224a5a = class {
|
|
801
|
+
isDisabled(item) {
|
|
802
|
+
var _item_props;
|
|
803
|
+
return this.disabledBehavior === "all" && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));
|
|
804
|
+
}
|
|
805
|
+
findNextNonDisabled(key, getNext) {
|
|
806
|
+
let nextKey = key;
|
|
807
|
+
while (nextKey != null) {
|
|
808
|
+
let item = this.collection.getItem(nextKey);
|
|
809
|
+
if ((item === null || item === void 0 ? void 0 : item.type) === "item" && !this.isDisabled(item)) return nextKey;
|
|
810
|
+
nextKey = getNext(nextKey);
|
|
811
|
+
}
|
|
812
|
+
return null;
|
|
813
|
+
}
|
|
814
|
+
getNextKey(key) {
|
|
815
|
+
let nextKey = key;
|
|
816
|
+
nextKey = this.collection.getKeyAfter(nextKey);
|
|
817
|
+
return this.findNextNonDisabled(nextKey, (key) => this.collection.getKeyAfter(key));
|
|
818
|
+
}
|
|
819
|
+
getPreviousKey(key) {
|
|
820
|
+
let nextKey = key;
|
|
821
|
+
nextKey = this.collection.getKeyBefore(nextKey);
|
|
822
|
+
return this.findNextNonDisabled(nextKey, (key) => this.collection.getKeyBefore(key));
|
|
823
|
+
}
|
|
824
|
+
findKey(key, nextKey, shouldSkip) {
|
|
825
|
+
let tempKey = key;
|
|
826
|
+
let itemRect = this.layoutDelegate.getItemRect(tempKey);
|
|
827
|
+
if (!itemRect || tempKey == null) return null;
|
|
828
|
+
let prevRect = itemRect;
|
|
829
|
+
do {
|
|
830
|
+
tempKey = nextKey(tempKey);
|
|
831
|
+
if (tempKey == null) break;
|
|
832
|
+
itemRect = this.layoutDelegate.getItemRect(tempKey);
|
|
833
|
+
} while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);
|
|
834
|
+
return tempKey;
|
|
835
|
+
}
|
|
836
|
+
isSameRow(prevRect, itemRect) {
|
|
837
|
+
return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;
|
|
838
|
+
}
|
|
839
|
+
isSameColumn(prevRect, itemRect) {
|
|
840
|
+
return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;
|
|
841
|
+
}
|
|
842
|
+
getKeyBelow(key) {
|
|
843
|
+
if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key) => this.getNextKey(key), this.isSameRow);
|
|
844
|
+
else return this.getNextKey(key);
|
|
845
|
+
}
|
|
846
|
+
getKeyAbove(key) {
|
|
847
|
+
if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key) => this.getPreviousKey(key), this.isSameRow);
|
|
848
|
+
else return this.getPreviousKey(key);
|
|
849
|
+
}
|
|
850
|
+
getNextColumn(key, right) {
|
|
851
|
+
return right ? this.getPreviousKey(key) : this.getNextKey(key);
|
|
852
|
+
}
|
|
853
|
+
getKeyRightOf(key) {
|
|
854
|
+
let layoutDelegateMethod = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
855
|
+
if (this.layoutDelegate[layoutDelegateMethod]) {
|
|
856
|
+
key = this.layoutDelegate[layoutDelegateMethod](key);
|
|
857
|
+
return this.findNextNonDisabled(key, (key) => this.layoutDelegate[layoutDelegateMethod](key));
|
|
858
|
+
}
|
|
859
|
+
if (this.layout === "grid") if (this.orientation === "vertical") return this.getNextColumn(key, this.direction === "rtl");
|
|
860
|
+
else return this.findKey(key, (key) => this.getNextColumn(key, this.direction === "rtl"), this.isSameColumn);
|
|
861
|
+
else if (this.orientation === "horizontal") return this.getNextColumn(key, this.direction === "rtl");
|
|
862
|
+
return null;
|
|
863
|
+
}
|
|
864
|
+
getKeyLeftOf(key) {
|
|
865
|
+
let layoutDelegateMethod = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
866
|
+
if (this.layoutDelegate[layoutDelegateMethod]) {
|
|
867
|
+
key = this.layoutDelegate[layoutDelegateMethod](key);
|
|
868
|
+
return this.findNextNonDisabled(key, (key) => this.layoutDelegate[layoutDelegateMethod](key));
|
|
869
|
+
}
|
|
870
|
+
if (this.layout === "grid") if (this.orientation === "vertical") return this.getNextColumn(key, this.direction === "ltr");
|
|
871
|
+
else return this.findKey(key, (key) => this.getNextColumn(key, this.direction === "ltr"), this.isSameColumn);
|
|
872
|
+
else if (this.orientation === "horizontal") return this.getNextColumn(key, this.direction === "ltr");
|
|
873
|
+
return null;
|
|
874
|
+
}
|
|
875
|
+
getFirstKey() {
|
|
876
|
+
let key = this.collection.getFirstKey();
|
|
877
|
+
return this.findNextNonDisabled(key, (key) => this.collection.getKeyAfter(key));
|
|
878
|
+
}
|
|
879
|
+
getLastKey() {
|
|
880
|
+
let key = this.collection.getLastKey();
|
|
881
|
+
return this.findNextNonDisabled(key, (key) => this.collection.getKeyBefore(key));
|
|
882
|
+
}
|
|
883
|
+
getKeyPageAbove(key) {
|
|
884
|
+
let menu = this.ref.current;
|
|
885
|
+
let itemRect = this.layoutDelegate.getItemRect(key);
|
|
886
|
+
if (!itemRect) return null;
|
|
887
|
+
if (menu && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(menu)) return this.getFirstKey();
|
|
888
|
+
let nextKey = key;
|
|
889
|
+
if (this.orientation === "horizontal") {
|
|
890
|
+
let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);
|
|
891
|
+
while (itemRect && itemRect.x > pageX && nextKey != null) {
|
|
892
|
+
nextKey = this.getKeyAbove(nextKey);
|
|
893
|
+
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
894
|
+
}
|
|
895
|
+
} else {
|
|
896
|
+
let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);
|
|
897
|
+
while (itemRect && itemRect.y > pageY && nextKey != null) {
|
|
898
|
+
nextKey = this.getKeyAbove(nextKey);
|
|
899
|
+
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();
|
|
903
|
+
}
|
|
904
|
+
getKeyPageBelow(key) {
|
|
905
|
+
let menu = this.ref.current;
|
|
906
|
+
let itemRect = this.layoutDelegate.getItemRect(key);
|
|
907
|
+
if (!itemRect) return null;
|
|
908
|
+
if (menu && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(menu)) return this.getLastKey();
|
|
909
|
+
let nextKey = key;
|
|
910
|
+
if (this.orientation === "horizontal") {
|
|
911
|
+
let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);
|
|
912
|
+
while (itemRect && itemRect.x < pageX && nextKey != null) {
|
|
913
|
+
nextKey = this.getKeyBelow(nextKey);
|
|
914
|
+
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
915
|
+
}
|
|
916
|
+
} else {
|
|
917
|
+
let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);
|
|
918
|
+
while (itemRect && itemRect.y < pageY && nextKey != null) {
|
|
919
|
+
nextKey = this.getKeyBelow(nextKey);
|
|
920
|
+
itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();
|
|
924
|
+
}
|
|
925
|
+
getKeyForSearch(search, fromKey) {
|
|
926
|
+
if (!this.collator) return null;
|
|
927
|
+
let collection = this.collection;
|
|
928
|
+
let key = fromKey || this.getFirstKey();
|
|
929
|
+
while (key != null) {
|
|
930
|
+
let item = collection.getItem(key);
|
|
931
|
+
if (!item) return null;
|
|
932
|
+
let substring = item.textValue.slice(0, search.length);
|
|
933
|
+
if (item.textValue && this.collator.compare(substring, search) === 0) return key;
|
|
934
|
+
key = this.getNextKey(key);
|
|
935
|
+
}
|
|
936
|
+
return null;
|
|
937
|
+
}
|
|
938
|
+
constructor(...args) {
|
|
939
|
+
if (args.length === 1) {
|
|
940
|
+
let opts = args[0];
|
|
941
|
+
this.collection = opts.collection;
|
|
942
|
+
this.ref = opts.ref;
|
|
943
|
+
this.collator = opts.collator;
|
|
944
|
+
this.disabledKeys = opts.disabledKeys || new Set();
|
|
945
|
+
this.disabledBehavior = opts.disabledBehavior || "all";
|
|
946
|
+
this.orientation = opts.orientation || "vertical";
|
|
947
|
+
this.direction = opts.direction;
|
|
948
|
+
this.layout = opts.layout || "stack";
|
|
949
|
+
this.layoutDelegate = opts.layoutDelegate || new $657e4dc4a6e88df0$export$8f5ed9ff9f511381(opts.ref);
|
|
950
|
+
} else {
|
|
951
|
+
this.collection = args[0];
|
|
952
|
+
this.disabledKeys = args[1];
|
|
953
|
+
this.ref = args[2];
|
|
954
|
+
this.collator = args[3];
|
|
955
|
+
this.layout = "stack";
|
|
956
|
+
this.orientation = "vertical";
|
|
957
|
+
this.disabledBehavior = "all";
|
|
958
|
+
this.layoutDelegate = new $657e4dc4a6e88df0$export$8f5ed9ff9f511381(this.ref);
|
|
959
|
+
}
|
|
960
|
+
if (this.layout === "stack" && this.orientation === "vertical") {
|
|
961
|
+
this.getKeyLeftOf = void 0;
|
|
962
|
+
this.getKeyRightOf = void 0;
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
};
|
|
966
|
+
//#endregion
|
|
967
|
+
//#region node_modules/@react-aria/selection/dist/useSelectableList.mjs
|
|
968
|
+
function $982254629710d113$export$b95089534ab7c1fd(props) {
|
|
969
|
+
let { selectionManager, collection, disabledKeys, ref, keyboardDelegate, layoutDelegate } = props;
|
|
970
|
+
let collator = $325a3faab7a68acd$export$a16aca283550c30d({
|
|
971
|
+
usage: "search",
|
|
972
|
+
sensitivity: "base"
|
|
973
|
+
});
|
|
974
|
+
let disabledBehavior = selectionManager.disabledBehavior;
|
|
975
|
+
let delegate = useMemo(() => keyboardDelegate || new $2a25aae57d74318e$export$a05409b8bb224a5a({
|
|
976
|
+
collection,
|
|
977
|
+
disabledKeys,
|
|
978
|
+
disabledBehavior,
|
|
979
|
+
ref,
|
|
980
|
+
collator,
|
|
981
|
+
layoutDelegate
|
|
982
|
+
}), [
|
|
983
|
+
keyboardDelegate,
|
|
984
|
+
layoutDelegate,
|
|
985
|
+
collection,
|
|
986
|
+
disabledKeys,
|
|
987
|
+
ref,
|
|
988
|
+
collator,
|
|
989
|
+
disabledBehavior
|
|
990
|
+
]);
|
|
991
|
+
let { collectionProps } = $ae20dd8cbca75726$export$d6daf82dcd84e87c({
|
|
992
|
+
...props,
|
|
993
|
+
ref,
|
|
994
|
+
selectionManager,
|
|
995
|
+
keyboardDelegate: delegate
|
|
996
|
+
});
|
|
997
|
+
return { listProps: collectionProps };
|
|
998
|
+
}
|
|
999
|
+
//#endregion
|
|
1000
|
+
//#region node_modules/@react-stately/collections/dist/getItemCount.mjs
|
|
1001
|
+
var $453cc9f0df89c0a5$var$cache = new WeakMap();
|
|
1002
|
+
function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
|
|
1003
|
+
let count = $453cc9f0df89c0a5$var$cache.get(collection);
|
|
1004
|
+
if (count != null) return count;
|
|
1005
|
+
let counter = 0;
|
|
1006
|
+
let countItems = (items) => {
|
|
1007
|
+
for (let item of items) if (item.type === "section") countItems($c5a24bc478652b5f$export$1005530eda016c13(item, collection));
|
|
1008
|
+
else if (item.type === "item") counter++;
|
|
1009
|
+
};
|
|
1010
|
+
countItems(collection);
|
|
1011
|
+
$453cc9f0df89c0a5$var$cache.set(collection, counter);
|
|
1012
|
+
return counter;
|
|
1013
|
+
}
|
|
1014
|
+
//#endregion
|
|
1015
|
+
//#region node_modules/@react-aria/menu/dist/ar-AE.mjs
|
|
1016
|
+
var $c0398ad35c3639b7$exports = {};
|
|
1017
|
+
$c0398ad35c3639b7$exports = { "longPressMessage": `\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}` };
|
|
1018
|
+
//#endregion
|
|
1019
|
+
//#region node_modules/@react-aria/menu/dist/bg-BG.mjs
|
|
1020
|
+
var $7af657c4165927c3$exports = {};
|
|
1021
|
+
$7af657c4165927c3$exports = { "longPressMessage": `\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}` };
|
|
1022
|
+
//#endregion
|
|
1023
|
+
//#region node_modules/@react-aria/menu/dist/cs-CZ.mjs
|
|
1024
|
+
var $d95d4da6d531ab81$exports = {};
|
|
1025
|
+
$d95d4da6d531ab81$exports = { "longPressMessage": `Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku` };
|
|
1026
|
+
//#endregion
|
|
1027
|
+
//#region node_modules/@react-aria/menu/dist/da-DK.mjs
|
|
1028
|
+
var $24ebda9c775dca17$exports = {};
|
|
1029
|
+
$24ebda9c775dca17$exports = { "longPressMessage": `Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen` };
|
|
1030
|
+
//#endregion
|
|
1031
|
+
//#region node_modules/@react-aria/menu/dist/de-DE.mjs
|
|
1032
|
+
var $743e0dfca6cab1e9$exports = {};
|
|
1033
|
+
$743e0dfca6cab1e9$exports = { "longPressMessage": `Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen` };
|
|
1034
|
+
//#endregion
|
|
1035
|
+
//#region node_modules/@react-aria/menu/dist/el-GR.mjs
|
|
1036
|
+
var $a2f41026e05f1c84$exports = {};
|
|
1037
|
+
$a2f41026e05f1c84$exports = { "longPressMessage": `\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}` };
|
|
1038
|
+
//#endregion
|
|
1039
|
+
//#region node_modules/@react-aria/menu/dist/en-US.mjs
|
|
1040
|
+
var $43b800e97c901737$exports = {};
|
|
1041
|
+
$43b800e97c901737$exports = { "longPressMessage": `Long press or press Alt + ArrowDown to open menu` };
|
|
1042
|
+
//#endregion
|
|
1043
|
+
//#region node_modules/@react-aria/menu/dist/es-ES.mjs
|
|
1044
|
+
var $442f5f6ac211e29f$exports = {};
|
|
1045
|
+
$442f5f6ac211e29f$exports = { "longPressMessage": `Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa` };
|
|
1046
|
+
//#endregion
|
|
1047
|
+
//#region node_modules/@react-aria/menu/dist/et-EE.mjs
|
|
1048
|
+
var $dff280acfeb2d8ac$exports = {};
|
|
1049
|
+
$dff280acfeb2d8ac$exports = { "longPressMessage": `Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool` };
|
|
1050
|
+
//#endregion
|
|
1051
|
+
//#region node_modules/@react-aria/menu/dist/fi-FI.mjs
|
|
1052
|
+
var $51608325613944d7$exports = {};
|
|
1053
|
+
$51608325613944d7$exports = { "longPressMessage": `Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli` };
|
|
1054
|
+
//#endregion
|
|
1055
|
+
//#region node_modules/@react-aria/menu/dist/fr-FR.mjs
|
|
1056
|
+
var $c4a1b1eabeaa87be$exports = {};
|
|
1057
|
+
$c4a1b1eabeaa87be$exports = { "longPressMessage": `Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.` };
|
|
1058
|
+
//#endregion
|
|
1059
|
+
//#region node_modules/@react-aria/menu/dist/he-IL.mjs
|
|
1060
|
+
var $8c74815cdee18d1b$exports = {};
|
|
1061
|
+
$8c74815cdee18d1b$exports = { "longPressMessage": `\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}` };
|
|
1062
|
+
//#endregion
|
|
1063
|
+
//#region node_modules/@react-aria/menu/dist/hr-HR.mjs
|
|
1064
|
+
var $fd0e9ef6a7fe0ec9$exports = {};
|
|
1065
|
+
$fd0e9ef6a7fe0ec9$exports = { "longPressMessage": `Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika` };
|
|
1066
|
+
//#endregion
|
|
1067
|
+
//#region node_modules/@react-aria/menu/dist/hu-HU.mjs
|
|
1068
|
+
var $a89a74a39eba465a$exports = {};
|
|
1069
|
+
$a89a74a39eba465a$exports = { "longPressMessage": `Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz` };
|
|
1070
|
+
//#endregion
|
|
1071
|
+
//#region node_modules/@react-aria/menu/dist/it-IT.mjs
|
|
1072
|
+
var $edc7c66594a0ae8a$exports = {};
|
|
1073
|
+
$edc7c66594a0ae8a$exports = { "longPressMessage": `Premi a lungo o premi Alt + Freccia gi\xf9 per aprire il menu` };
|
|
1074
|
+
//#endregion
|
|
1075
|
+
//#region node_modules/@react-aria/menu/dist/ja-JP.mjs
|
|
1076
|
+
var $f1ab51510712db52$exports = {};
|
|
1077
|
+
$f1ab51510712db52$exports = { "longPressMessage": `\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}` };
|
|
1078
|
+
//#endregion
|
|
1079
|
+
//#region node_modules/@react-aria/menu/dist/ko-KR.mjs
|
|
1080
|
+
var $f9b672d9b82fa3d6$exports = {};
|
|
1081
|
+
$f9b672d9b82fa3d6$exports = { "longPressMessage": `\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}` };
|
|
1082
|
+
//#endregion
|
|
1083
|
+
//#region node_modules/@react-aria/menu/dist/lt-LT.mjs
|
|
1084
|
+
var $a385f3910feda499$exports = {};
|
|
1085
|
+
$a385f3910feda499$exports = { "longPressMessage": `Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.` };
|
|
1086
|
+
//#endregion
|
|
1087
|
+
//#region node_modules/@react-aria/menu/dist/lv-LV.mjs
|
|
1088
|
+
var $4f1bde932c441789$exports = {};
|
|
1089
|
+
$4f1bde932c441789$exports = { "longPressMessage": `Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a` };
|
|
1090
|
+
//#endregion
|
|
1091
|
+
//#region node_modules/@react-aria/menu/dist/nb-NO.mjs
|
|
1092
|
+
var $914a51a8a594d5be$exports = {};
|
|
1093
|
+
$914a51a8a594d5be$exports = { "longPressMessage": `Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen` };
|
|
1094
|
+
//#endregion
|
|
1095
|
+
//#region node_modules/@react-aria/menu/dist/nl-NL.mjs
|
|
1096
|
+
var $89aaf803103bb500$exports = {};
|
|
1097
|
+
$89aaf803103bb500$exports = { "longPressMessage": `Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen` };
|
|
1098
|
+
//#endregion
|
|
1099
|
+
//#region node_modules/@react-aria/menu/dist/pl-PL.mjs
|
|
1100
|
+
var $c685891476dbaaca$exports = {};
|
|
1101
|
+
$c685891476dbaaca$exports = { "longPressMessage": `Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu` };
|
|
1102
|
+
//#endregion
|
|
1103
|
+
//#region node_modules/@react-aria/menu/dist/pt-BR.mjs
|
|
1104
|
+
var $885879b9b10c2959$exports = {};
|
|
1105
|
+
$885879b9b10c2959$exports = { "longPressMessage": `Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu` };
|
|
1106
|
+
//#endregion
|
|
1107
|
+
//#region node_modules/@react-aria/menu/dist/pt-PT.mjs
|
|
1108
|
+
var $6b39616688a51692$exports = {};
|
|
1109
|
+
$6b39616688a51692$exports = { "longPressMessage": `Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu` };
|
|
1110
|
+
//#endregion
|
|
1111
|
+
//#region node_modules/@react-aria/menu/dist/ro-RO.mjs
|
|
1112
|
+
var $f26362aed63f47e2$exports = {};
|
|
1113
|
+
$f26362aed63f47e2$exports = { "longPressMessage": `Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul` };
|
|
1114
|
+
//#endregion
|
|
1115
|
+
//#region node_modules/@react-aria/menu/dist/ru-RU.mjs
|
|
1116
|
+
var $06cbade644558bf0$exports = {};
|
|
1117
|
+
$06cbade644558bf0$exports = { "longPressMessage": `\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}` };
|
|
1118
|
+
//#endregion
|
|
1119
|
+
//#region node_modules/@react-aria/menu/dist/sk-SK.mjs
|
|
1120
|
+
var $0a391ff68f9d59b1$exports = {};
|
|
1121
|
+
$0a391ff68f9d59b1$exports = { "longPressMessage": `Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol` };
|
|
1122
|
+
//#endregion
|
|
1123
|
+
//#region node_modules/@react-aria/menu/dist/sl-SI.mjs
|
|
1124
|
+
var $8193cf0e649c7928$exports = {};
|
|
1125
|
+
$8193cf0e649c7928$exports = { "longPressMessage": `Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol` };
|
|
1126
|
+
//#endregion
|
|
1127
|
+
//#region node_modules/@react-aria/menu/dist/sr-SP.mjs
|
|
1128
|
+
var $f398debcce5a5c55$exports = {};
|
|
1129
|
+
$f398debcce5a5c55$exports = { "longPressMessage": `Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni` };
|
|
1130
|
+
//#endregion
|
|
1131
|
+
//#region node_modules/@react-aria/menu/dist/sv-SE.mjs
|
|
1132
|
+
var $9e9fef000aa4c013$exports = {};
|
|
1133
|
+
$9e9fef000aa4c013$exports = { "longPressMessage": `H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn` };
|
|
1134
|
+
//#endregion
|
|
1135
|
+
//#region node_modules/@react-aria/menu/dist/tr-TR.mjs
|
|
1136
|
+
var $c016c8183bbe3d68$exports = {};
|
|
1137
|
+
$c016c8183bbe3d68$exports = { "longPressMessage": `Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n` };
|
|
1138
|
+
//#endregion
|
|
1139
|
+
//#region node_modules/@react-aria/menu/dist/uk-UA.mjs
|
|
1140
|
+
var $ca4f6c8462244e62$exports = {};
|
|
1141
|
+
$ca4f6c8462244e62$exports = { "longPressMessage": `\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}` };
|
|
1142
|
+
//#endregion
|
|
1143
|
+
//#region node_modules/@react-aria/menu/dist/zh-CN.mjs
|
|
1144
|
+
var $2d9960c02ccac927$exports = {};
|
|
1145
|
+
$2d9960c02ccac927$exports = { "longPressMessage": `\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}` };
|
|
1146
|
+
//#endregion
|
|
1147
|
+
//#region node_modules/@react-aria/menu/dist/zh-TW.mjs
|
|
1148
|
+
var $f1b682a4c8c5631c$exports = {};
|
|
1149
|
+
$f1b682a4c8c5631c$exports = { "longPressMessage": `\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}` };
|
|
1150
|
+
//#endregion
|
|
1151
|
+
//#region node_modules/@react-aria/menu/dist/intlStrings.mjs
|
|
1152
|
+
var $2cbb7ca666678a14$exports = {};
|
|
1153
|
+
$2cbb7ca666678a14$exports = {
|
|
1154
|
+
"ar-AE": $c0398ad35c3639b7$exports,
|
|
1155
|
+
"bg-BG": $7af657c4165927c3$exports,
|
|
1156
|
+
"cs-CZ": $d95d4da6d531ab81$exports,
|
|
1157
|
+
"da-DK": $24ebda9c775dca17$exports,
|
|
1158
|
+
"de-DE": $743e0dfca6cab1e9$exports,
|
|
1159
|
+
"el-GR": $a2f41026e05f1c84$exports,
|
|
1160
|
+
"en-US": $43b800e97c901737$exports,
|
|
1161
|
+
"es-ES": $442f5f6ac211e29f$exports,
|
|
1162
|
+
"et-EE": $dff280acfeb2d8ac$exports,
|
|
1163
|
+
"fi-FI": $51608325613944d7$exports,
|
|
1164
|
+
"fr-FR": $c4a1b1eabeaa87be$exports,
|
|
1165
|
+
"he-IL": $8c74815cdee18d1b$exports,
|
|
1166
|
+
"hr-HR": $fd0e9ef6a7fe0ec9$exports,
|
|
1167
|
+
"hu-HU": $a89a74a39eba465a$exports,
|
|
1168
|
+
"it-IT": $edc7c66594a0ae8a$exports,
|
|
1169
|
+
"ja-JP": $f1ab51510712db52$exports,
|
|
1170
|
+
"ko-KR": $f9b672d9b82fa3d6$exports,
|
|
1171
|
+
"lt-LT": $a385f3910feda499$exports,
|
|
1172
|
+
"lv-LV": $4f1bde932c441789$exports,
|
|
1173
|
+
"nb-NO": $914a51a8a594d5be$exports,
|
|
1174
|
+
"nl-NL": $89aaf803103bb500$exports,
|
|
1175
|
+
"pl-PL": $c685891476dbaaca$exports,
|
|
1176
|
+
"pt-BR": $885879b9b10c2959$exports,
|
|
1177
|
+
"pt-PT": $6b39616688a51692$exports,
|
|
1178
|
+
"ro-RO": $f26362aed63f47e2$exports,
|
|
1179
|
+
"ru-RU": $06cbade644558bf0$exports,
|
|
1180
|
+
"sk-SK": $0a391ff68f9d59b1$exports,
|
|
1181
|
+
"sl-SI": $8193cf0e649c7928$exports,
|
|
1182
|
+
"sr-SP": $f398debcce5a5c55$exports,
|
|
1183
|
+
"sv-SE": $9e9fef000aa4c013$exports,
|
|
1184
|
+
"tr-TR": $c016c8183bbe3d68$exports,
|
|
1185
|
+
"uk-UA": $ca4f6c8462244e62$exports,
|
|
1186
|
+
"zh-CN": $2d9960c02ccac927$exports,
|
|
1187
|
+
"zh-TW": $f1b682a4c8c5631c$exports
|
|
1188
|
+
};
|
|
1189
|
+
//#endregion
|
|
1190
|
+
//#region node_modules/@react-aria/menu/dist/useMenuTrigger.mjs
|
|
1191
|
+
function $parcel$interopDefault(a) {
|
|
1192
|
+
return a && a.__esModule ? a.default : a;
|
|
1193
|
+
}
|
|
1194
|
+
function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
|
|
1195
|
+
let { type = "menu", isDisabled, trigger = "press" } = props;
|
|
1196
|
+
let menuTriggerId = $bdb11010cef70236$export$f680877a34711e37();
|
|
1197
|
+
let { triggerProps, overlayProps } = $628037886ba31236$export$f9d5c8beee7d008d({ type }, state, ref);
|
|
1198
|
+
let onKeyDown = (e) => {
|
|
1199
|
+
if (isDisabled) return;
|
|
1200
|
+
if (trigger === "longPress" && !e.altKey) return;
|
|
1201
|
+
if (ref && ref.current) switch (e.key) {
|
|
1202
|
+
case "Enter":
|
|
1203
|
+
case " ": if (trigger === "longPress" || e.isDefaultPrevented()) return;
|
|
1204
|
+
case "ArrowDown":
|
|
1205
|
+
if (!("continuePropagation" in e)) e.stopPropagation();
|
|
1206
|
+
e.preventDefault();
|
|
1207
|
+
state.toggle("first");
|
|
1208
|
+
break;
|
|
1209
|
+
case "ArrowUp":
|
|
1210
|
+
if (!("continuePropagation" in e)) e.stopPropagation();
|
|
1211
|
+
e.preventDefault();
|
|
1212
|
+
state.toggle("last");
|
|
1213
|
+
break;
|
|
1214
|
+
default: if ("continuePropagation" in e) e.continuePropagation();
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($2cbb7ca666678a14$exports), "@react-aria/menu");
|
|
1218
|
+
let { longPressProps } = $8a26561d2877236e$export$c24ed0104d07eab9({
|
|
1219
|
+
isDisabled: isDisabled || trigger !== "longPress",
|
|
1220
|
+
accessibilityDescription: stringFormatter.format("longPressMessage"),
|
|
1221
|
+
onLongPressStart() {
|
|
1222
|
+
state.close();
|
|
1223
|
+
},
|
|
1224
|
+
onLongPress() {
|
|
1225
|
+
state.open("first");
|
|
1226
|
+
}
|
|
1227
|
+
});
|
|
1228
|
+
let pressProps = {
|
|
1229
|
+
preventFocusOnPress: true,
|
|
1230
|
+
onPressStart(e) {
|
|
1231
|
+
if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled) {
|
|
1232
|
+
$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
1233
|
+
state.open(e.pointerType === "virtual" ? "first" : null);
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
onPress(e) {
|
|
1237
|
+
if (e.pointerType === "touch" && !isDisabled) {
|
|
1238
|
+
$7215afc6de606d6b$export$de79e2c695e052f3(e.target);
|
|
1239
|
+
state.toggle();
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
};
|
|
1243
|
+
delete triggerProps.onPress;
|
|
1244
|
+
return {
|
|
1245
|
+
menuTriggerProps: {
|
|
1246
|
+
...triggerProps,
|
|
1247
|
+
...trigger === "press" ? pressProps : longPressProps,
|
|
1248
|
+
id: menuTriggerId,
|
|
1249
|
+
onKeyDown
|
|
1250
|
+
},
|
|
1251
|
+
menuProps: {
|
|
1252
|
+
...overlayProps,
|
|
1253
|
+
"aria-labelledby": menuTriggerId,
|
|
1254
|
+
autoFocus: state.focusStrategy || true,
|
|
1255
|
+
onClose: state.close
|
|
1256
|
+
}
|
|
1257
|
+
};
|
|
1258
|
+
}
|
|
1259
|
+
//#endregion
|
|
1260
|
+
//#region node_modules/@react-aria/menu/dist/utils.mjs
|
|
1261
|
+
var $fc79756100351201$export$6f49b4016bfc8d56 = new WeakMap();
|
|
1262
|
+
//#endregion
|
|
1263
|
+
//#region node_modules/@react-aria/menu/dist/useMenu.mjs
|
|
1264
|
+
function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
|
|
1265
|
+
let { shouldFocusWrap = true, onKeyDown, onKeyUp, ...otherProps } = props;
|
|
1266
|
+
if (!props["aria-label"] && !props["aria-labelledby"] && process.env.NODE_ENV !== "production") console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
1267
|
+
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { labelable: true });
|
|
1268
|
+
let { listProps } = $982254629710d113$export$b95089534ab7c1fd({
|
|
1269
|
+
...otherProps,
|
|
1270
|
+
ref,
|
|
1271
|
+
selectionManager: state.selectionManager,
|
|
1272
|
+
collection: state.collection,
|
|
1273
|
+
disabledKeys: state.disabledKeys,
|
|
1274
|
+
shouldFocusWrap,
|
|
1275
|
+
linkBehavior: "override"
|
|
1276
|
+
});
|
|
1277
|
+
$fc79756100351201$export$6f49b4016bfc8d56.set(state, {
|
|
1278
|
+
onClose: props.onClose,
|
|
1279
|
+
onAction: props.onAction,
|
|
1280
|
+
shouldUseVirtualFocus: props.shouldUseVirtualFocus
|
|
1281
|
+
});
|
|
1282
|
+
return { menuProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, {
|
|
1283
|
+
onKeyDown,
|
|
1284
|
+
onKeyUp
|
|
1285
|
+
}, {
|
|
1286
|
+
role: "menu",
|
|
1287
|
+
...listProps,
|
|
1288
|
+
onKeyDown: (e) => {
|
|
1289
|
+
var _listProps_onKeyDown;
|
|
1290
|
+
if (e.key !== "Escape" || props.shouldUseVirtualFocus) (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 || _listProps_onKeyDown.call(listProps, e);
|
|
1291
|
+
}
|
|
1292
|
+
}) };
|
|
1293
|
+
}
|
|
1294
|
+
//#endregion
|
|
1295
|
+
//#region node_modules/@react-aria/menu/dist/useMenuItem.mjs
|
|
1296
|
+
function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
|
|
1297
|
+
let { id, key, closeOnSelect, shouldCloseOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart, onPressUp: pressUpProp, onPress, onPressChange: pressChangeProp, onPressEnd, onClick: onClickProp, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
|
|
1298
|
+
let isTrigger = !!hasPopup;
|
|
1299
|
+
let isTriggerExpanded = isTrigger && props["aria-expanded"] === "true";
|
|
1300
|
+
var _props_isDisabled;
|
|
1301
|
+
let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : selectionManager.isDisabled(key);
|
|
1302
|
+
var _props_isSelected;
|
|
1303
|
+
let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : selectionManager.isSelected(key);
|
|
1304
|
+
let data = $fc79756100351201$export$6f49b4016bfc8d56.get(state);
|
|
1305
|
+
let item = state.collection.getItem(key);
|
|
1306
|
+
let onClose = props.onClose || data.onClose;
|
|
1307
|
+
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
1308
|
+
let performAction = () => {
|
|
1309
|
+
var _item_props;
|
|
1310
|
+
if (isTrigger) return;
|
|
1311
|
+
if (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) item.props.onAction();
|
|
1312
|
+
else if (props.onAction) props.onAction(key);
|
|
1313
|
+
if (data.onAction) {
|
|
1314
|
+
let onAction = data.onAction;
|
|
1315
|
+
onAction(key);
|
|
1316
|
+
}
|
|
1317
|
+
};
|
|
1318
|
+
let role = "menuitem";
|
|
1319
|
+
if (!isTrigger) {
|
|
1320
|
+
if (selectionManager.selectionMode === "single") role = "menuitemradio";
|
|
1321
|
+
else if (selectionManager.selectionMode === "multiple") role = "menuitemcheckbox";
|
|
1322
|
+
}
|
|
1323
|
+
let labelId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
1324
|
+
let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
1325
|
+
let keyboardId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
1326
|
+
let ariaProps = {
|
|
1327
|
+
id,
|
|
1328
|
+
"aria-disabled": isDisabled || void 0,
|
|
1329
|
+
role,
|
|
1330
|
+
"aria-label": props["aria-label"],
|
|
1331
|
+
"aria-labelledby": labelId,
|
|
1332
|
+
"aria-describedby": [
|
|
1333
|
+
props["aria-describedby"],
|
|
1334
|
+
descriptionId,
|
|
1335
|
+
keyboardId
|
|
1336
|
+
].filter(Boolean).join(" ") || void 0,
|
|
1337
|
+
"aria-controls": props["aria-controls"],
|
|
1338
|
+
"aria-haspopup": hasPopup,
|
|
1339
|
+
"aria-expanded": props["aria-expanded"]
|
|
1340
|
+
};
|
|
1341
|
+
if (selectionManager.selectionMode !== "none" && !isTrigger) ariaProps["aria-checked"] = isSelected;
|
|
1342
|
+
if (isVirtualized) {
|
|
1343
|
+
let index = Number(item === null || item === void 0 ? void 0 : item.index);
|
|
1344
|
+
ariaProps["aria-posinset"] = Number.isNaN(index) ? void 0 : index + 1;
|
|
1345
|
+
ariaProps["aria-setsize"] = $453cc9f0df89c0a5$export$77d5aafae4e095b2(state.collection);
|
|
1346
|
+
}
|
|
1347
|
+
let isPressedRef = useRef(false);
|
|
1348
|
+
let onPressChange = (isPressed) => {
|
|
1349
|
+
pressChangeProp === null || pressChangeProp === void 0 || pressChangeProp(isPressed);
|
|
1350
|
+
isPressedRef.current = isPressed;
|
|
1351
|
+
};
|
|
1352
|
+
let interaction = useRef(null);
|
|
1353
|
+
let onPressUp = (e) => {
|
|
1354
|
+
if (e.pointerType !== "keyboard") interaction.current = { pointerType: e.pointerType };
|
|
1355
|
+
if (e.pointerType === "mouse") {
|
|
1356
|
+
if (!isPressedRef.current) e.target.click();
|
|
1357
|
+
}
|
|
1358
|
+
pressUpProp === null || pressUpProp === void 0 || pressUpProp(e);
|
|
1359
|
+
};
|
|
1360
|
+
let onClick = (e) => {
|
|
1361
|
+
var _interaction_current, _interaction_current1;
|
|
1362
|
+
onClickProp === null || onClickProp === void 0 || onClickProp(e);
|
|
1363
|
+
performAction();
|
|
1364
|
+
$ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f(e, router, item.props.href, item === null || item === void 0 ? void 0 : item.props.routerOptions);
|
|
1365
|
+
let shouldClose = ((_interaction_current = interaction.current) === null || _interaction_current === void 0 ? void 0 : _interaction_current.pointerType) === "keyboard" ? ((_interaction_current1 = interaction.current) === null || _interaction_current1 === void 0 ? void 0 : _interaction_current1.key) === "Enter" || selectionManager.selectionMode === "none" || selectionManager.isLink(key) : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key);
|
|
1366
|
+
var _ref;
|
|
1367
|
+
shouldClose = (_ref = shouldCloseOnSelect !== null && shouldCloseOnSelect !== void 0 ? shouldCloseOnSelect : closeOnSelect) !== null && _ref !== void 0 ? _ref : shouldClose;
|
|
1368
|
+
if (onClose && !isTrigger && shouldClose) onClose();
|
|
1369
|
+
interaction.current = null;
|
|
1370
|
+
};
|
|
1371
|
+
let { itemProps, isFocused } = $880e95eb8b93ba9a$export$ecf600387e221c37({
|
|
1372
|
+
id,
|
|
1373
|
+
selectionManager,
|
|
1374
|
+
key,
|
|
1375
|
+
ref,
|
|
1376
|
+
shouldSelectOnPressUp: true,
|
|
1377
|
+
allowsDifferentPressOrigin: true,
|
|
1378
|
+
linkBehavior: "none",
|
|
1379
|
+
shouldUseVirtualFocus: data.shouldUseVirtualFocus
|
|
1380
|
+
});
|
|
1381
|
+
let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
|
|
1382
|
+
onPressStart,
|
|
1383
|
+
onPress,
|
|
1384
|
+
onPressUp,
|
|
1385
|
+
onPressChange,
|
|
1386
|
+
onPressEnd,
|
|
1387
|
+
isDisabled
|
|
1388
|
+
});
|
|
1389
|
+
let { hoverProps } = $6179b936705e76d3$export$ae780daf29e6d456({
|
|
1390
|
+
isDisabled,
|
|
1391
|
+
onHoverStart(e) {
|
|
1392
|
+
if (!$507fabe10e71c6fb$export$b9b3dfddab17db27() && !(isTriggerExpanded && hasPopup)) {
|
|
1393
|
+
selectionManager.setFocused(true);
|
|
1394
|
+
selectionManager.setFocusedKey(key);
|
|
1395
|
+
}
|
|
1396
|
+
hoverStartProp === null || hoverStartProp === void 0 || hoverStartProp(e);
|
|
1397
|
+
},
|
|
1398
|
+
onHoverChange,
|
|
1399
|
+
onHoverEnd
|
|
1400
|
+
});
|
|
1401
|
+
let { keyboardProps } = $46d819fcbaf35654$export$8f71654801c2f7cd({
|
|
1402
|
+
onKeyDown: (e) => {
|
|
1403
|
+
if (e.repeat) {
|
|
1404
|
+
e.continuePropagation();
|
|
1405
|
+
return;
|
|
1406
|
+
}
|
|
1407
|
+
switch (e.key) {
|
|
1408
|
+
case " ":
|
|
1409
|
+
interaction.current = {
|
|
1410
|
+
pointerType: "keyboard",
|
|
1411
|
+
key: " "
|
|
1412
|
+
};
|
|
1413
|
+
$d4ee10de306f2510$export$e58f029f0fbfdb29(e).click();
|
|
1414
|
+
$507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
|
|
1415
|
+
break;
|
|
1416
|
+
case "Enter":
|
|
1417
|
+
interaction.current = {
|
|
1418
|
+
pointerType: "keyboard",
|
|
1419
|
+
key: "Enter"
|
|
1420
|
+
};
|
|
1421
|
+
if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e).tagName !== "A") $d4ee10de306f2510$export$e58f029f0fbfdb29(e).click();
|
|
1422
|
+
$507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
|
|
1423
|
+
break;
|
|
1424
|
+
default:
|
|
1425
|
+
if (!isTrigger) e.continuePropagation();
|
|
1426
|
+
onKeyDown === null || onKeyDown === void 0 || onKeyDown(e);
|
|
1427
|
+
break;
|
|
1428
|
+
}
|
|
1429
|
+
},
|
|
1430
|
+
onKeyUp
|
|
1431
|
+
});
|
|
1432
|
+
let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c({
|
|
1433
|
+
onBlur,
|
|
1434
|
+
onFocus,
|
|
1435
|
+
onFocusChange
|
|
1436
|
+
}, ref);
|
|
1437
|
+
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(item === null || item === void 0 ? void 0 : item.props);
|
|
1438
|
+
delete domProps.id;
|
|
1439
|
+
let linkProps = $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(item === null || item === void 0 ? void 0 : item.props);
|
|
1440
|
+
return {
|
|
1441
|
+
menuItemProps: {
|
|
1442
|
+
...ariaProps,
|
|
1443
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(domProps, linkProps, isTrigger ? {
|
|
1444
|
+
onFocus: itemProps.onFocus,
|
|
1445
|
+
"data-collection": itemProps["data-collection"],
|
|
1446
|
+
"data-key": itemProps["data-key"]
|
|
1447
|
+
} : itemProps, pressProps, hoverProps, keyboardProps, focusableProps, data.shouldUseVirtualFocus || isTrigger ? { onMouseDown: (e) => e.preventDefault() } : void 0, isDisabled ? void 0 : { onClick }),
|
|
1448
|
+
tabIndex: itemProps.tabIndex != null && isTriggerExpanded && !data.shouldUseVirtualFocus ? -1 : itemProps.tabIndex
|
|
1449
|
+
},
|
|
1450
|
+
labelProps: { id: labelId },
|
|
1451
|
+
descriptionProps: { id: descriptionId },
|
|
1452
|
+
keyboardShortcutProps: { id: keyboardId },
|
|
1453
|
+
isFocused,
|
|
1454
|
+
isFocusVisible: isFocused && selectionManager.isFocused && $507fabe10e71c6fb$export$b9b3dfddab17db27() && !isTriggerExpanded,
|
|
1455
|
+
isSelected,
|
|
1456
|
+
isPressed,
|
|
1457
|
+
isDisabled
|
|
1458
|
+
};
|
|
1459
|
+
}
|
|
1460
|
+
//#endregion
|
|
1461
|
+
//#region node_modules/@react-aria/menu/dist/useMenuSection.mjs
|
|
1462
|
+
function $3e5eb2498db5b506$export$73f7a44322579622(props) {
|
|
1463
|
+
let { heading, "aria-label": ariaLabel } = props;
|
|
1464
|
+
let headingId = $bdb11010cef70236$export$f680877a34711e37();
|
|
1465
|
+
return {
|
|
1466
|
+
itemProps: { role: "presentation" },
|
|
1467
|
+
headingProps: heading ? {
|
|
1468
|
+
id: headingId,
|
|
1469
|
+
role: "presentation"
|
|
1470
|
+
} : {},
|
|
1471
|
+
groupProps: {
|
|
1472
|
+
role: "group",
|
|
1473
|
+
"aria-label": ariaLabel,
|
|
1474
|
+
"aria-labelledby": heading ? headingId : void 0
|
|
1475
|
+
}
|
|
1476
|
+
};
|
|
1477
|
+
}
|
|
1478
|
+
//#endregion
|
|
1479
|
+
//#region node_modules/@react-aria/menu/dist/useSafelyMouseToSubmenu.mjs
|
|
1480
|
+
var $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS = 2;
|
|
1481
|
+
var $d275435c250248f8$var$THROTTLE_TIME = 50;
|
|
1482
|
+
var $d275435c250248f8$var$TIMEOUT_TIME = 1e3;
|
|
1483
|
+
var $d275435c250248f8$var$ANGLE_PADDING = Math.PI / 12;
|
|
1484
|
+
function $d275435c250248f8$export$85ec83e04c95f50a(options) {
|
|
1485
|
+
let { menuRef, submenuRef, isOpen, isDisabled } = options;
|
|
1486
|
+
let prevPointerPos = useRef(void 0);
|
|
1487
|
+
let submenuRect = useRef(void 0);
|
|
1488
|
+
let lastProcessedTime = useRef(0);
|
|
1489
|
+
let timeout = useRef(void 0);
|
|
1490
|
+
let autoCloseTimeout = useRef(void 0);
|
|
1491
|
+
let submenuSide = useRef(void 0);
|
|
1492
|
+
let movementsTowardsSubmenuCount = useRef(2);
|
|
1493
|
+
let [preventPointerEvents, setPreventPointerEvents] = useState(false);
|
|
1494
|
+
let updateSubmenuRect = () => {
|
|
1495
|
+
if (submenuRef.current) {
|
|
1496
|
+
submenuRect.current = submenuRef.current.getBoundingClientRect();
|
|
1497
|
+
submenuSide.current = void 0;
|
|
1498
|
+
}
|
|
1499
|
+
};
|
|
1500
|
+
$9daab02d461809db$export$683480f191c0e3ea({
|
|
1501
|
+
ref: isOpen ? submenuRef : void 0,
|
|
1502
|
+
onResize: updateSubmenuRect
|
|
1503
|
+
});
|
|
1504
|
+
let reset = () => {
|
|
1505
|
+
setPreventPointerEvents(false);
|
|
1506
|
+
movementsTowardsSubmenuCount.current = $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS;
|
|
1507
|
+
prevPointerPos.current = void 0;
|
|
1508
|
+
};
|
|
1509
|
+
let modality = $507fabe10e71c6fb$export$98e20ec92f614cfe();
|
|
1510
|
+
let onPointerDown = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
|
|
1511
|
+
if (preventPointerEvents) e.preventDefault();
|
|
1512
|
+
});
|
|
1513
|
+
useEffect(() => {
|
|
1514
|
+
if (preventPointerEvents && menuRef.current) menuRef.current.style.pointerEvents = "none";
|
|
1515
|
+
else menuRef.current.style.pointerEvents = "";
|
|
1516
|
+
}, [menuRef, preventPointerEvents]);
|
|
1517
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
1518
|
+
let submenu = submenuRef.current;
|
|
1519
|
+
let menu = menuRef.current;
|
|
1520
|
+
if (isDisabled || !submenu || !isOpen || modality !== "pointer" || !menu) {
|
|
1521
|
+
reset();
|
|
1522
|
+
return;
|
|
1523
|
+
}
|
|
1524
|
+
submenuRect.current = submenu.getBoundingClientRect();
|
|
1525
|
+
let onPointerMove = (e) => {
|
|
1526
|
+
if (e.pointerType === "touch" || e.pointerType === "pen") return;
|
|
1527
|
+
let currentTime = Date.now();
|
|
1528
|
+
if (currentTime - lastProcessedTime.current < $d275435c250248f8$var$THROTTLE_TIME) return;
|
|
1529
|
+
clearTimeout(timeout.current);
|
|
1530
|
+
clearTimeout(autoCloseTimeout.current);
|
|
1531
|
+
let { clientX: mouseX, clientY: mouseY } = e;
|
|
1532
|
+
if (!prevPointerPos.current) {
|
|
1533
|
+
prevPointerPos.current = {
|
|
1534
|
+
x: mouseX,
|
|
1535
|
+
y: mouseY
|
|
1536
|
+
};
|
|
1537
|
+
return;
|
|
1538
|
+
}
|
|
1539
|
+
if (!submenuRect.current) return;
|
|
1540
|
+
if (!submenuSide.current) submenuSide.current = mouseX > submenuRect.current.right ? "left" : "right";
|
|
1541
|
+
if (mouseX < menu.getBoundingClientRect().left || mouseX > menu.getBoundingClientRect().right || mouseY < menu.getBoundingClientRect().top || mouseY > menu.getBoundingClientRect().bottom) {
|
|
1542
|
+
reset();
|
|
1543
|
+
return;
|
|
1544
|
+
}
|
|
1545
|
+
let prevMouseX = prevPointerPos.current.x;
|
|
1546
|
+
let prevMouseY = prevPointerPos.current.y;
|
|
1547
|
+
let toSubmenuX = submenuSide.current === "right" ? submenuRect.current.left - prevMouseX : prevMouseX - submenuRect.current.right;
|
|
1548
|
+
let angleTop = Math.atan2(prevMouseY - submenuRect.current.top, toSubmenuX) + $d275435c250248f8$var$ANGLE_PADDING;
|
|
1549
|
+
let angleBottom = Math.atan2(prevMouseY - submenuRect.current.bottom, toSubmenuX) - $d275435c250248f8$var$ANGLE_PADDING;
|
|
1550
|
+
let anglePointer = Math.atan2(prevMouseY - mouseY, submenuSide.current === "left" ? -(mouseX - prevMouseX) : mouseX - prevMouseX);
|
|
1551
|
+
let isMovingTowardsSubmenu = anglePointer < angleTop && anglePointer > angleBottom;
|
|
1552
|
+
movementsTowardsSubmenuCount.current = isMovingTowardsSubmenu ? Math.min(movementsTowardsSubmenuCount.current + 1, $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS) : Math.max(movementsTowardsSubmenuCount.current - 1, 0);
|
|
1553
|
+
if (movementsTowardsSubmenuCount.current >= $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS) setPreventPointerEvents(true);
|
|
1554
|
+
else setPreventPointerEvents(false);
|
|
1555
|
+
lastProcessedTime.current = currentTime;
|
|
1556
|
+
prevPointerPos.current = {
|
|
1557
|
+
x: mouseX,
|
|
1558
|
+
y: mouseY
|
|
1559
|
+
};
|
|
1560
|
+
if (isMovingTowardsSubmenu) timeout.current = setTimeout(() => {
|
|
1561
|
+
reset();
|
|
1562
|
+
autoCloseTimeout.current = setTimeout(() => {
|
|
1563
|
+
let target = document.elementFromPoint(mouseX, mouseY);
|
|
1564
|
+
if (target && $d4ee10de306f2510$export$4282f70798064fe0(menu, target)) target.dispatchEvent(new PointerEvent("pointerover", {
|
|
1565
|
+
bubbles: true,
|
|
1566
|
+
cancelable: true
|
|
1567
|
+
}));
|
|
1568
|
+
}, 100);
|
|
1569
|
+
}, $d275435c250248f8$var$TIMEOUT_TIME);
|
|
1570
|
+
};
|
|
1571
|
+
window.addEventListener("pointermove", onPointerMove);
|
|
1572
|
+
if (process.env.NODE_ENV !== "test") window.addEventListener("pointerdown", onPointerDown, true);
|
|
1573
|
+
return () => {
|
|
1574
|
+
window.removeEventListener("pointermove", onPointerMove);
|
|
1575
|
+
if (process.env.NODE_ENV !== "test") window.removeEventListener("pointerdown", onPointerDown, true);
|
|
1576
|
+
clearTimeout(timeout.current);
|
|
1577
|
+
clearTimeout(autoCloseTimeout.current);
|
|
1578
|
+
movementsTowardsSubmenuCount.current = $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS;
|
|
1579
|
+
};
|
|
1580
|
+
}, [
|
|
1581
|
+
isDisabled,
|
|
1582
|
+
isOpen,
|
|
1583
|
+
menuRef,
|
|
1584
|
+
modality,
|
|
1585
|
+
setPreventPointerEvents,
|
|
1586
|
+
submenuRef
|
|
1587
|
+
]);
|
|
1588
|
+
}
|
|
1589
|
+
//#endregion
|
|
1590
|
+
//#region node_modules/@react-aria/menu/dist/useSubmenuTrigger.mjs
|
|
1591
|
+
function $0065b146e7192841$export$7138b0d059a6e743(props, state, ref) {
|
|
1592
|
+
let { parentMenuRef, submenuRef, type = "menu", isDisabled, delay = 200, shouldUseVirtualFocus } = props;
|
|
1593
|
+
let submenuTriggerId = $bdb11010cef70236$export$f680877a34711e37();
|
|
1594
|
+
let overlayId = $bdb11010cef70236$export$f680877a34711e37();
|
|
1595
|
+
let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
1596
|
+
let openTimeout = useRef(void 0);
|
|
1597
|
+
let cancelOpenTimeout = useCallback(() => {
|
|
1598
|
+
if (openTimeout.current) {
|
|
1599
|
+
clearTimeout(openTimeout.current);
|
|
1600
|
+
openTimeout.current = void 0;
|
|
1601
|
+
}
|
|
1602
|
+
}, [openTimeout]);
|
|
1603
|
+
let onSubmenuOpen = useCallback((focusStrategy) => {
|
|
1604
|
+
cancelOpenTimeout();
|
|
1605
|
+
state.open(focusStrategy);
|
|
1606
|
+
}, [state, cancelOpenTimeout]);
|
|
1607
|
+
let onSubmenuClose = useCallback(() => {
|
|
1608
|
+
cancelOpenTimeout();
|
|
1609
|
+
state.close();
|
|
1610
|
+
}, [state, cancelOpenTimeout]);
|
|
1611
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
1612
|
+
return () => {
|
|
1613
|
+
cancelOpenTimeout();
|
|
1614
|
+
};
|
|
1615
|
+
}, [cancelOpenTimeout]);
|
|
1616
|
+
let submenuKeyDown = (e) => {
|
|
1617
|
+
if (!$d4ee10de306f2510$export$b4f377a2b6254582(e.currentTarget)) return;
|
|
1618
|
+
switch (e.key) {
|
|
1619
|
+
case "ArrowLeft":
|
|
1620
|
+
if (direction === "ltr" && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
|
|
1621
|
+
e.preventDefault();
|
|
1622
|
+
e.stopPropagation();
|
|
1623
|
+
onSubmenuClose();
|
|
1624
|
+
if (!shouldUseVirtualFocus && ref.current) $7215afc6de606d6b$export$de79e2c695e052f3(ref.current);
|
|
1625
|
+
}
|
|
1626
|
+
break;
|
|
1627
|
+
case "ArrowRight":
|
|
1628
|
+
if (direction === "rtl" && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
|
|
1629
|
+
e.preventDefault();
|
|
1630
|
+
e.stopPropagation();
|
|
1631
|
+
onSubmenuClose();
|
|
1632
|
+
if (!shouldUseVirtualFocus && ref.current) $7215afc6de606d6b$export$de79e2c695e052f3(ref.current);
|
|
1633
|
+
}
|
|
1634
|
+
break;
|
|
1635
|
+
case "Escape":
|
|
1636
|
+
if ($d4ee10de306f2510$export$4282f70798064fe0(submenuRef.current, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
|
|
1637
|
+
e.stopPropagation();
|
|
1638
|
+
onSubmenuClose();
|
|
1639
|
+
if (!shouldUseVirtualFocus && ref.current) $7215afc6de606d6b$export$de79e2c695e052f3(ref.current);
|
|
1640
|
+
}
|
|
1641
|
+
break;
|
|
1642
|
+
}
|
|
1643
|
+
};
|
|
1644
|
+
var _state_focusStrategy;
|
|
1645
|
+
let submenuProps = {
|
|
1646
|
+
id: overlayId,
|
|
1647
|
+
"aria-labelledby": submenuTriggerId,
|
|
1648
|
+
submenuLevel: state.submenuLevel,
|
|
1649
|
+
...type === "menu" && {
|
|
1650
|
+
onClose: state.closeAll,
|
|
1651
|
+
autoFocus: (_state_focusStrategy = state.focusStrategy) !== null && _state_focusStrategy !== void 0 ? _state_focusStrategy : void 0,
|
|
1652
|
+
onKeyDown: submenuKeyDown
|
|
1653
|
+
}
|
|
1654
|
+
};
|
|
1655
|
+
let submenuTriggerKeyDown = (e) => {
|
|
1656
|
+
switch (e.key) {
|
|
1657
|
+
case "ArrowRight":
|
|
1658
|
+
if (!isDisabled) if (direction === "ltr") {
|
|
1659
|
+
e.preventDefault();
|
|
1660
|
+
if (!state.isOpen) onSubmenuOpen("first");
|
|
1661
|
+
if (type === "menu" && !!(submenuRef === null || submenuRef === void 0 ? void 0 : submenuRef.current) && $d4ee10de306f2510$export$cd4e5573fbe2b576() === (ref === null || ref === void 0 ? void 0 : ref.current)) $7215afc6de606d6b$export$de79e2c695e052f3(submenuRef.current);
|
|
1662
|
+
} else if (state.isOpen) onSubmenuClose();
|
|
1663
|
+
else e.continuePropagation();
|
|
1664
|
+
break;
|
|
1665
|
+
case "ArrowLeft":
|
|
1666
|
+
if (!isDisabled) if (direction === "rtl") {
|
|
1667
|
+
e.preventDefault();
|
|
1668
|
+
if (!state.isOpen) onSubmenuOpen("first");
|
|
1669
|
+
if (type === "menu" && !!(submenuRef === null || submenuRef === void 0 ? void 0 : submenuRef.current) && $d4ee10de306f2510$export$cd4e5573fbe2b576() === (ref === null || ref === void 0 ? void 0 : ref.current)) $7215afc6de606d6b$export$de79e2c695e052f3(submenuRef.current);
|
|
1670
|
+
} else if (state.isOpen) onSubmenuClose();
|
|
1671
|
+
else e.continuePropagation();
|
|
1672
|
+
break;
|
|
1673
|
+
default:
|
|
1674
|
+
e.continuePropagation();
|
|
1675
|
+
break;
|
|
1676
|
+
}
|
|
1677
|
+
};
|
|
1678
|
+
let onPressStart = (e) => {
|
|
1679
|
+
if (!isDisabled && (e.pointerType === "virtual" || e.pointerType === "keyboard")) onSubmenuOpen("first");
|
|
1680
|
+
};
|
|
1681
|
+
let onPress = (e) => {
|
|
1682
|
+
if (!isDisabled && (e.pointerType === "touch" || e.pointerType === "mouse")) onSubmenuOpen();
|
|
1683
|
+
};
|
|
1684
|
+
let onHoverChange = (isHovered) => {
|
|
1685
|
+
if (!isDisabled) {
|
|
1686
|
+
if (isHovered && !state.isOpen) {
|
|
1687
|
+
if (!openTimeout.current) openTimeout.current = setTimeout(() => {
|
|
1688
|
+
onSubmenuOpen();
|
|
1689
|
+
}, delay);
|
|
1690
|
+
} else if (!isHovered) cancelOpenTimeout();
|
|
1691
|
+
}
|
|
1692
|
+
};
|
|
1693
|
+
$e9faafb641e167db$export$90fc3a17d93f704c(parentMenuRef, "focusin", (e) => {
|
|
1694
|
+
if (state.isOpen && $d4ee10de306f2510$export$4282f70798064fe0(parentMenuRef.current, $d4ee10de306f2510$export$e58f029f0fbfdb29(e)) && $d4ee10de306f2510$export$e58f029f0fbfdb29(e) !== ref.current) onSubmenuClose();
|
|
1695
|
+
});
|
|
1696
|
+
let shouldCloseOnInteractOutside = (target) => {
|
|
1697
|
+
if (target !== ref.current) return true;
|
|
1698
|
+
return false;
|
|
1699
|
+
};
|
|
1700
|
+
$d275435c250248f8$export$85ec83e04c95f50a({
|
|
1701
|
+
menuRef: parentMenuRef,
|
|
1702
|
+
submenuRef,
|
|
1703
|
+
isOpen: state.isOpen,
|
|
1704
|
+
isDisabled
|
|
1705
|
+
});
|
|
1706
|
+
return {
|
|
1707
|
+
submenuTriggerProps: {
|
|
1708
|
+
id: submenuTriggerId,
|
|
1709
|
+
"aria-controls": state.isOpen ? overlayId : void 0,
|
|
1710
|
+
"aria-haspopup": !isDisabled ? type : void 0,
|
|
1711
|
+
"aria-expanded": state.isOpen ? "true" : "false",
|
|
1712
|
+
onPressStart,
|
|
1713
|
+
onPress,
|
|
1714
|
+
onHoverChange,
|
|
1715
|
+
onKeyDown: submenuTriggerKeyDown,
|
|
1716
|
+
isOpen: state.isOpen
|
|
1717
|
+
},
|
|
1718
|
+
submenuProps,
|
|
1719
|
+
popoverProps: {
|
|
1720
|
+
isNonModal: true,
|
|
1721
|
+
shouldCloseOnInteractOutside
|
|
1722
|
+
}
|
|
1723
|
+
};
|
|
1724
|
+
}
|
|
1725
|
+
//#endregion
|
|
1726
|
+
//#region node_modules/@react-aria/dialog/dist/useDialog.mjs
|
|
1727
|
+
function $40df3f8667284809$export$d55e7ee900f34e93(props, ref) {
|
|
1728
|
+
let { role = "dialog" } = props;
|
|
1729
|
+
let titleId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
|
|
1730
|
+
titleId = props["aria-label"] ? void 0 : titleId;
|
|
1731
|
+
let isRefocusing = useRef(false);
|
|
1732
|
+
useEffect(() => {
|
|
1733
|
+
if (ref.current && !$d4ee10de306f2510$export$b4f377a2b6254582(ref.current)) {
|
|
1734
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1735
|
+
let timeout = setTimeout(() => {
|
|
1736
|
+
if ($d4ee10de306f2510$export$cd4e5573fbe2b576() === ref.current || $d4ee10de306f2510$export$cd4e5573fbe2b576() === document.body) {
|
|
1737
|
+
isRefocusing.current = true;
|
|
1738
|
+
if (ref.current) {
|
|
1739
|
+
ref.current.blur();
|
|
1740
|
+
$3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
1741
|
+
}
|
|
1742
|
+
isRefocusing.current = false;
|
|
1743
|
+
}
|
|
1744
|
+
}, 500);
|
|
1745
|
+
return () => {
|
|
1746
|
+
clearTimeout(timeout);
|
|
1747
|
+
};
|
|
1748
|
+
}
|
|
1749
|
+
}, [ref]);
|
|
1750
|
+
$337b884510726a0d$export$14c98a7594375490();
|
|
1751
|
+
return {
|
|
1752
|
+
dialogProps: {
|
|
1753
|
+
...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { labelable: true }),
|
|
1754
|
+
role,
|
|
1755
|
+
tabIndex: -1,
|
|
1756
|
+
"aria-labelledby": props["aria-labelledby"] || titleId,
|
|
1757
|
+
onBlur: (e) => {
|
|
1758
|
+
if (isRefocusing.current) e.stopPropagation();
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
titleProps: { id: titleId }
|
|
1762
|
+
};
|
|
1763
|
+
}
|
|
1764
|
+
//#endregion
|
|
1765
|
+
//#region node_modules/@react-aria/separator/dist/useSeparator.mjs
|
|
1766
|
+
function $f4b273590fab9f93$export$52210f68a14655d0(props) {
|
|
1767
|
+
let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { labelable: true });
|
|
1768
|
+
let ariaOrientation;
|
|
1769
|
+
if (props.orientation === "vertical") ariaOrientation = "vertical";
|
|
1770
|
+
if (props.elementType !== "hr") return { separatorProps: {
|
|
1771
|
+
...domProps,
|
|
1772
|
+
role: "separator",
|
|
1773
|
+
"aria-orientation": ariaOrientation
|
|
1774
|
+
} };
|
|
1775
|
+
return { separatorProps: domProps };
|
|
1776
|
+
}
|
|
1777
|
+
//#endregion
|
|
1778
|
+
//#region node_modules/@react-stately/menu/dist/useMenuTriggerState.mjs
|
|
1779
|
+
function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
|
|
1780
|
+
let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
1781
|
+
let [focusStrategy, setFocusStrategy] = useState(null);
|
|
1782
|
+
let [expandedKeysStack, setExpandedKeysStack] = useState([]);
|
|
1783
|
+
let closeAll = () => {
|
|
1784
|
+
setExpandedKeysStack([]);
|
|
1785
|
+
overlayTriggerState.close();
|
|
1786
|
+
};
|
|
1787
|
+
let openSubmenu = (triggerKey, level) => {
|
|
1788
|
+
setExpandedKeysStack((oldStack) => {
|
|
1789
|
+
if (level > oldStack.length) return oldStack;
|
|
1790
|
+
return [...oldStack.slice(0, level), triggerKey];
|
|
1791
|
+
});
|
|
1792
|
+
};
|
|
1793
|
+
let closeSubmenu = (triggerKey, level) => {
|
|
1794
|
+
setExpandedKeysStack((oldStack) => {
|
|
1795
|
+
if (oldStack[level] === triggerKey) return oldStack.slice(0, level);
|
|
1796
|
+
else return oldStack;
|
|
1797
|
+
});
|
|
1798
|
+
};
|
|
1799
|
+
return {
|
|
1800
|
+
focusStrategy,
|
|
1801
|
+
...overlayTriggerState,
|
|
1802
|
+
open(focusStrategy = null) {
|
|
1803
|
+
setFocusStrategy(focusStrategy);
|
|
1804
|
+
overlayTriggerState.open();
|
|
1805
|
+
},
|
|
1806
|
+
toggle(focusStrategy = null) {
|
|
1807
|
+
setFocusStrategy(focusStrategy);
|
|
1808
|
+
overlayTriggerState.toggle();
|
|
1809
|
+
},
|
|
1810
|
+
close() {
|
|
1811
|
+
closeAll();
|
|
1812
|
+
},
|
|
1813
|
+
expandedKeysStack,
|
|
1814
|
+
openSubmenu,
|
|
1815
|
+
closeSubmenu
|
|
1816
|
+
};
|
|
1817
|
+
}
|
|
1818
|
+
//#endregion
|
|
1819
|
+
//#region node_modules/@react-stately/menu/dist/useSubmenuTriggerState.mjs
|
|
1820
|
+
function $e5614764aa47eb35$export$cfc51cf86138bf98(props, state) {
|
|
1821
|
+
let { triggerKey } = props;
|
|
1822
|
+
let { expandedKeysStack, openSubmenu, closeSubmenu, close: closeAll } = state;
|
|
1823
|
+
let [submenuLevel] = useState(expandedKeysStack === null || expandedKeysStack === void 0 ? void 0 : expandedKeysStack.length);
|
|
1824
|
+
let isOpen = useMemo(() => expandedKeysStack[submenuLevel] === triggerKey, [
|
|
1825
|
+
expandedKeysStack,
|
|
1826
|
+
triggerKey,
|
|
1827
|
+
submenuLevel
|
|
1828
|
+
]);
|
|
1829
|
+
let [focusStrategy, setFocusStrategy] = useState(null);
|
|
1830
|
+
let open = useCallback((focusStrategy) => {
|
|
1831
|
+
setFocusStrategy(focusStrategy !== null && focusStrategy !== void 0 ? focusStrategy : null);
|
|
1832
|
+
openSubmenu(triggerKey, submenuLevel);
|
|
1833
|
+
}, [
|
|
1834
|
+
openSubmenu,
|
|
1835
|
+
submenuLevel,
|
|
1836
|
+
triggerKey
|
|
1837
|
+
]);
|
|
1838
|
+
let close = useCallback(() => {
|
|
1839
|
+
setFocusStrategy(null);
|
|
1840
|
+
closeSubmenu(triggerKey, submenuLevel);
|
|
1841
|
+
}, [
|
|
1842
|
+
closeSubmenu,
|
|
1843
|
+
submenuLevel,
|
|
1844
|
+
triggerKey
|
|
1845
|
+
]);
|
|
1846
|
+
let toggle = useCallback((focusStrategy) => {
|
|
1847
|
+
setFocusStrategy(focusStrategy !== null && focusStrategy !== void 0 ? focusStrategy : null);
|
|
1848
|
+
if (isOpen) close();
|
|
1849
|
+
else open(focusStrategy);
|
|
1850
|
+
}, [
|
|
1851
|
+
close,
|
|
1852
|
+
open,
|
|
1853
|
+
isOpen
|
|
1854
|
+
]);
|
|
1855
|
+
return useMemo(() => ({
|
|
1856
|
+
focusStrategy,
|
|
1857
|
+
isOpen,
|
|
1858
|
+
open,
|
|
1859
|
+
close,
|
|
1860
|
+
closeAll,
|
|
1861
|
+
submenuLevel,
|
|
1862
|
+
setOpen: () => {},
|
|
1863
|
+
toggle
|
|
1864
|
+
}), [
|
|
1865
|
+
isOpen,
|
|
1866
|
+
open,
|
|
1867
|
+
close,
|
|
1868
|
+
closeAll,
|
|
1869
|
+
focusStrategy,
|
|
1870
|
+
toggle,
|
|
1871
|
+
submenuLevel
|
|
1872
|
+
]);
|
|
1873
|
+
}
|
|
1874
|
+
//#endregion
|
|
1875
|
+
//#region node_modules/@react-stately/tree/dist/TreeCollection.mjs
|
|
1876
|
+
var $05ca4cd7c4a5a999$export$863faf230ee2118a = class {
|
|
1877
|
+
*[Symbol.iterator]() {
|
|
1878
|
+
yield* this.iterable;
|
|
1879
|
+
}
|
|
1880
|
+
get size() {
|
|
1881
|
+
return this.keyMap.size;
|
|
1882
|
+
}
|
|
1883
|
+
getKeys() {
|
|
1884
|
+
return this.keyMap.keys();
|
|
1885
|
+
}
|
|
1886
|
+
getKeyBefore(key) {
|
|
1887
|
+
let node = this.keyMap.get(key);
|
|
1888
|
+
var _node_prevKey;
|
|
1889
|
+
return node ? (_node_prevKey = node.prevKey) !== null && _node_prevKey !== void 0 ? _node_prevKey : null : null;
|
|
1890
|
+
}
|
|
1891
|
+
getKeyAfter(key) {
|
|
1892
|
+
let node = this.keyMap.get(key);
|
|
1893
|
+
var _node_nextKey;
|
|
1894
|
+
return node ? (_node_nextKey = node.nextKey) !== null && _node_nextKey !== void 0 ? _node_nextKey : null : null;
|
|
1895
|
+
}
|
|
1896
|
+
getFirstKey() {
|
|
1897
|
+
return this.firstKey;
|
|
1898
|
+
}
|
|
1899
|
+
getLastKey() {
|
|
1900
|
+
return this.lastKey;
|
|
1901
|
+
}
|
|
1902
|
+
getItem(key) {
|
|
1903
|
+
var _this_keyMap_get;
|
|
1904
|
+
return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;
|
|
1905
|
+
}
|
|
1906
|
+
at(idx) {
|
|
1907
|
+
const keys = [...this.getKeys()];
|
|
1908
|
+
return this.getItem(keys[idx]);
|
|
1909
|
+
}
|
|
1910
|
+
constructor(nodes, { expandedKeys } = {}) {
|
|
1911
|
+
this.keyMap = new Map();
|
|
1912
|
+
this.firstKey = null;
|
|
1913
|
+
this.lastKey = null;
|
|
1914
|
+
this.iterable = nodes;
|
|
1915
|
+
expandedKeys = expandedKeys || new Set();
|
|
1916
|
+
let visit = (node) => {
|
|
1917
|
+
this.keyMap.set(node.key, node);
|
|
1918
|
+
if (node.childNodes && (node.type === "section" || expandedKeys.has(node.key))) for (let child of node.childNodes) visit(child);
|
|
1919
|
+
};
|
|
1920
|
+
for (let node of nodes) visit(node);
|
|
1921
|
+
let last = null;
|
|
1922
|
+
let index = 0;
|
|
1923
|
+
for (let [key, node] of this.keyMap) {
|
|
1924
|
+
if (last) {
|
|
1925
|
+
last.nextKey = key;
|
|
1926
|
+
node.prevKey = last.key;
|
|
1927
|
+
} else {
|
|
1928
|
+
this.firstKey = key;
|
|
1929
|
+
node.prevKey = void 0;
|
|
1930
|
+
}
|
|
1931
|
+
if (node.type === "item") node.index = index++;
|
|
1932
|
+
last = node;
|
|
1933
|
+
last.nextKey = void 0;
|
|
1934
|
+
}
|
|
1935
|
+
var _last_key;
|
|
1936
|
+
this.lastKey = (_last_key = last === null || last === void 0 ? void 0 : last.key) !== null && _last_key !== void 0 ? _last_key : null;
|
|
1937
|
+
}
|
|
1938
|
+
};
|
|
1939
|
+
//#endregion
|
|
1940
|
+
//#region node_modules/@react-stately/tree/dist/useTreeState.mjs
|
|
1941
|
+
function $875d6693e12af071$export$728d6ba534403756(props) {
|
|
1942
|
+
let { onExpandedChange } = props;
|
|
1943
|
+
let [expandedKeys, setExpandedKeys] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.expandedKeys ? new Set(props.expandedKeys) : void 0, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : new Set(), onExpandedChange);
|
|
1944
|
+
let selectionState = $7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
1945
|
+
let disabledKeys = useMemo(() => props.disabledKeys ? new Set(props.disabledKeys) : new Set(), [props.disabledKeys]);
|
|
1946
|
+
let tree = $7613b1592d41b092$export$6cd28814d92fa9c9(props, useCallback((nodes) => new $05ca4cd7c4a5a999$export$863faf230ee2118a(nodes, { expandedKeys }), [expandedKeys]), null);
|
|
1947
|
+
useEffect(() => {
|
|
1948
|
+
if (selectionState.focusedKey != null && !tree.getItem(selectionState.focusedKey)) selectionState.setFocusedKey(null);
|
|
1949
|
+
}, [tree, selectionState.focusedKey]);
|
|
1950
|
+
let onToggle = (key) => {
|
|
1951
|
+
setExpandedKeys($875d6693e12af071$var$toggleKey(expandedKeys, key));
|
|
1952
|
+
};
|
|
1953
|
+
return {
|
|
1954
|
+
collection: tree,
|
|
1955
|
+
expandedKeys,
|
|
1956
|
+
disabledKeys,
|
|
1957
|
+
toggleKey: onToggle,
|
|
1958
|
+
setExpandedKeys,
|
|
1959
|
+
selectionManager: new $d496c0a20b6e58ec$export$6c8a5aaad13c9852(tree, selectionState)
|
|
1960
|
+
};
|
|
1961
|
+
}
|
|
1962
|
+
function $875d6693e12af071$var$toggleKey(set, key) {
|
|
1963
|
+
let res = new Set(set);
|
|
1964
|
+
if (res.has(key)) res.delete(key);
|
|
1965
|
+
else res.add(key);
|
|
1966
|
+
return res;
|
|
1967
|
+
}
|
|
1968
|
+
//#endregion
|
|
1969
|
+
//#region node_modules/react-aria-components/dist/Header.mjs
|
|
1970
|
+
var $72a5793c14baf454$export$e0e4026c12a8bdbb = createContext({});
|
|
1971
|
+
var $72a5793c14baf454$export$8b251419efc915eb = $e1995378a142960e$export$18af5c7a9e9b3664($23b9f4fcf0fe224b$export$5ae2504e948afce5, function Header(props, ref) {
|
|
1972
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $72a5793c14baf454$export$e0e4026c12a8bdbb);
|
|
1973
|
+
return React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.header, {
|
|
1974
|
+
className: "react-aria-Header",
|
|
1975
|
+
...props,
|
|
1976
|
+
ref
|
|
1977
|
+
}, props.children);
|
|
1978
|
+
});
|
|
1979
|
+
//#endregion
|
|
1980
|
+
//#region node_modules/react-aria-components/dist/Separator.mjs
|
|
1981
|
+
var $431f98aba6844401$export$6615d83f6de245ce = createContext({});
|
|
1982
|
+
var $431f98aba6844401$export$7750289ca694c0b5 = class extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
|
|
1983
|
+
filter(collection, newCollection) {
|
|
1984
|
+
let prevItem = newCollection.getItem(this.prevKey);
|
|
1985
|
+
if (prevItem && prevItem.type !== "separator") {
|
|
1986
|
+
let clone = this.clone();
|
|
1987
|
+
newCollection.addDescendants(clone, collection);
|
|
1988
|
+
return clone;
|
|
1989
|
+
}
|
|
1990
|
+
return null;
|
|
1991
|
+
}
|
|
1992
|
+
};
|
|
1993
|
+
$431f98aba6844401$export$7750289ca694c0b5.type = "separator";
|
|
1994
|
+
var $431f98aba6844401$export$1ff3c3f08ae963c0 = $e1995378a142960e$export$18af5c7a9e9b3664($431f98aba6844401$export$7750289ca694c0b5, function Separator(props, ref) {
|
|
1995
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $431f98aba6844401$export$6615d83f6de245ce);
|
|
1996
|
+
let { elementType, orientation, style, className, slot, ...otherProps } = props;
|
|
1997
|
+
let Element = elementType || "hr";
|
|
1998
|
+
if (Element === "hr" && orientation === "vertical") Element = "div";
|
|
1999
|
+
let ElementType = $64fa3d84918910a7$export$df3a06d6289f983e[Element];
|
|
2000
|
+
let { separatorProps } = $f4b273590fab9f93$export$52210f68a14655d0({
|
|
2001
|
+
...otherProps,
|
|
2002
|
+
elementType,
|
|
2003
|
+
orientation
|
|
2004
|
+
});
|
|
2005
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { global: true });
|
|
2006
|
+
return React.createElement(ElementType, {
|
|
2007
|
+
render: props.render,
|
|
2008
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, separatorProps),
|
|
2009
|
+
style,
|
|
2010
|
+
className: className !== null && className !== void 0 ? className : "react-aria-Separator",
|
|
2011
|
+
ref,
|
|
2012
|
+
slot: slot || void 0
|
|
2013
|
+
});
|
|
2014
|
+
});
|
|
2015
|
+
//#endregion
|
|
2016
|
+
//#region node_modules/react-aria-components/dist/Popover.mjs
|
|
2017
|
+
var $07b14b47974efb58$export$9b9a0cd73afb7ca4 = createContext(null);
|
|
2018
|
+
var $07b14b47974efb58$var$PopoverGroupContext = createContext(null);
|
|
2019
|
+
var $07b14b47974efb58$export$5b6b19405a83ff9d = forwardRef(function Popover(props, ref) {
|
|
2020
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $07b14b47974efb58$export$9b9a0cd73afb7ca4);
|
|
2021
|
+
let contextState = useContext($de32f1b87079253c$export$d2f961adcb0afbe);
|
|
2022
|
+
let localState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
|
|
2023
|
+
let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
|
|
2024
|
+
let isExiting = $d3f049242431219c$export$45fda7c47f93fd48(ref, state.isOpen) || props.isExiting || false;
|
|
2025
|
+
let isHidden = $f39a9eba43920ace$export$b5d7cc18bb8d2b59();
|
|
2026
|
+
let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
|
|
2027
|
+
if (isHidden) {
|
|
2028
|
+
let children = props.children;
|
|
2029
|
+
if (typeof children === "function") children = children({
|
|
2030
|
+
trigger: props.trigger || null,
|
|
2031
|
+
placement: "bottom",
|
|
2032
|
+
isEntering: false,
|
|
2033
|
+
isExiting: false,
|
|
2034
|
+
defaultChildren: null
|
|
2035
|
+
});
|
|
2036
|
+
return React.createElement(React.Fragment, null, children);
|
|
2037
|
+
}
|
|
2038
|
+
if (state && !state.isOpen && !isExiting) return null;
|
|
2039
|
+
return React.createElement($07b14b47974efb58$var$PopoverInner, {
|
|
2040
|
+
...props,
|
|
2041
|
+
triggerRef: props.triggerRef,
|
|
2042
|
+
state,
|
|
2043
|
+
popoverRef: ref,
|
|
2044
|
+
isExiting,
|
|
2045
|
+
dir: direction
|
|
2046
|
+
});
|
|
2047
|
+
});
|
|
2048
|
+
function $07b14b47974efb58$var$PopoverInner({ state, isExiting, UNSTABLE_portalContainer, clearContexts, ...props }) {
|
|
2049
|
+
let arrowRef = useRef(null);
|
|
2050
|
+
let containerRef = useRef(null);
|
|
2051
|
+
let groupCtx = useContext($07b14b47974efb58$var$PopoverGroupContext);
|
|
2052
|
+
let isSubPopover = groupCtx && props.trigger === "SubmenuTrigger";
|
|
2053
|
+
var _props_offset;
|
|
2054
|
+
let { popoverProps, underlayProps, arrowProps, placement, triggerAnchorPoint } = $f2f8a6077418541e$export$542a6fd13ac93354({
|
|
2055
|
+
...props,
|
|
2056
|
+
offset: (_props_offset = props.offset) !== null && _props_offset !== void 0 ? _props_offset : 8,
|
|
2057
|
+
arrowRef,
|
|
2058
|
+
groupRef: isSubPopover ? groupCtx : containerRef
|
|
2059
|
+
}, state);
|
|
2060
|
+
let ref = props.popoverRef;
|
|
2061
|
+
let isEntering = $d3f049242431219c$export$6d3443f2c48bfc20(ref, !!placement) || props.isEntering || false;
|
|
2062
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
2063
|
+
...props,
|
|
2064
|
+
defaultClassName: "react-aria-Popover",
|
|
2065
|
+
values: {
|
|
2066
|
+
trigger: props.trigger || null,
|
|
2067
|
+
placement,
|
|
2068
|
+
isEntering,
|
|
2069
|
+
isExiting
|
|
2070
|
+
}
|
|
2071
|
+
});
|
|
2072
|
+
let shouldBeDialog = !props.isNonModal || props.trigger === "SubmenuTrigger";
|
|
2073
|
+
let [isDialog, setDialog] = useState(false);
|
|
2074
|
+
$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
2075
|
+
if (ref.current) setDialog(shouldBeDialog && !ref.current.querySelector("[role=dialog]"));
|
|
2076
|
+
}, [ref, shouldBeDialog]);
|
|
2077
|
+
useEffect(() => {
|
|
2078
|
+
if (isDialog && (props.trigger !== "SubmenuTrigger" || $507fabe10e71c6fb$export$630ff653c5ada6a9() !== "pointer") && ref.current && !$d4ee10de306f2510$export$b4f377a2b6254582(ref.current)) $3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
|
|
2079
|
+
}, [
|
|
2080
|
+
isDialog,
|
|
2081
|
+
ref,
|
|
2082
|
+
props.trigger
|
|
2083
|
+
]);
|
|
2084
|
+
let children = useMemo(() => {
|
|
2085
|
+
let children = renderProps.children;
|
|
2086
|
+
if (clearContexts) for (let Context of clearContexts) children = React.createElement(Context.Provider, { value: null }, children);
|
|
2087
|
+
return children;
|
|
2088
|
+
}, [renderProps.children, clearContexts]);
|
|
2089
|
+
let style = {
|
|
2090
|
+
...popoverProps.style,
|
|
2091
|
+
"--trigger-anchor-point": triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : void 0,
|
|
2092
|
+
...renderProps.style
|
|
2093
|
+
};
|
|
2094
|
+
let overlay = React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
|
|
2095
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928($65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { global: true }), popoverProps),
|
|
2096
|
+
...renderProps,
|
|
2097
|
+
role: isDialog ? "dialog" : void 0,
|
|
2098
|
+
tabIndex: isDialog ? -1 : void 0,
|
|
2099
|
+
"aria-label": props["aria-label"],
|
|
2100
|
+
"aria-labelledby": props["aria-labelledby"],
|
|
2101
|
+
ref,
|
|
2102
|
+
slot: props.slot || void 0,
|
|
2103
|
+
style,
|
|
2104
|
+
dir: props.dir,
|
|
2105
|
+
"data-trigger": props.trigger,
|
|
2106
|
+
"data-placement": placement,
|
|
2107
|
+
"data-entering": isEntering || void 0,
|
|
2108
|
+
"data-exiting": isExiting || void 0
|
|
2109
|
+
}, !props.isNonModal && React.createElement($86ea4cb521eb2e37$export$2317d149ed6f78c4, { onDismiss: state.close }), React.createElement($44f671af83e7d9e0$export$2de4954e8ae13b9f.Provider, { value: {
|
|
2110
|
+
...arrowProps,
|
|
2111
|
+
placement,
|
|
2112
|
+
ref: arrowRef
|
|
2113
|
+
} }, children), React.createElement($86ea4cb521eb2e37$export$2317d149ed6f78c4, { onDismiss: state.close }));
|
|
2114
|
+
if (!isSubPopover) return React.createElement($337b884510726a0d$export$c6fdb837b070b4ff, {
|
|
2115
|
+
...props,
|
|
2116
|
+
shouldContainFocus: isDialog,
|
|
2117
|
+
isExiting,
|
|
2118
|
+
portalContainer: UNSTABLE_portalContainer
|
|
2119
|
+
}, !props.isNonModal && state.isOpen && React.createElement("div", {
|
|
2120
|
+
"data-testid": "underlay",
|
|
2121
|
+
...underlayProps,
|
|
2122
|
+
style: {
|
|
2123
|
+
position: "fixed",
|
|
2124
|
+
inset: 0
|
|
2125
|
+
}
|
|
2126
|
+
}), React.createElement("div", {
|
|
2127
|
+
ref: containerRef,
|
|
2128
|
+
style: { display: "contents" }
|
|
2129
|
+
}, React.createElement($07b14b47974efb58$var$PopoverGroupContext.Provider, { value: containerRef }, overlay)));
|
|
2130
|
+
var _ref;
|
|
2131
|
+
return React.createElement($337b884510726a0d$export$c6fdb837b070b4ff, {
|
|
2132
|
+
...props,
|
|
2133
|
+
shouldContainFocus: isDialog,
|
|
2134
|
+
isExiting,
|
|
2135
|
+
portalContainer: (_ref = UNSTABLE_portalContainer !== null && UNSTABLE_portalContainer !== void 0 ? UNSTABLE_portalContainer : groupCtx === null || groupCtx === void 0 ? void 0 : groupCtx.current) !== null && _ref !== void 0 ? _ref : void 0
|
|
2136
|
+
}, overlay);
|
|
2137
|
+
}
|
|
2138
|
+
//#endregion
|
|
2139
|
+
//#region node_modules/react-aria-components/dist/Keyboard.mjs
|
|
2140
|
+
var $63df2425e2108aa8$export$744d98a3b8a94e1c = createContext({});
|
|
2141
|
+
//#endregion
|
|
2142
|
+
//#region node_modules/react-aria-components/dist/Menu.mjs
|
|
2143
|
+
var $3674c52c6b3c5bce$export$c7e742effb1c51e2 = createContext(null);
|
|
2144
|
+
var $3674c52c6b3c5bce$export$24aad8519b95b41b = createContext(null);
|
|
2145
|
+
var $3674c52c6b3c5bce$export$795aec4671cbae19 = createContext(null);
|
|
2146
|
+
var $3674c52c6b3c5bce$var$SelectionManagerContext = createContext(null);
|
|
2147
|
+
function $3674c52c6b3c5bce$export$27d2ad3c5815583e(props) {
|
|
2148
|
+
let state = $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props);
|
|
2149
|
+
let ref = useRef(null);
|
|
2150
|
+
let { menuTriggerProps, menuProps } = $168583247155ddda$export$dc9c12ed27dd1b49({
|
|
2151
|
+
...props,
|
|
2152
|
+
type: "menu"
|
|
2153
|
+
}, state, ref);
|
|
2154
|
+
let [buttonWidth, setButtonWidth] = useState(null);
|
|
2155
|
+
$9daab02d461809db$export$683480f191c0e3ea({
|
|
2156
|
+
ref,
|
|
2157
|
+
onResize: useCallback(() => {
|
|
2158
|
+
if (ref.current) setButtonWidth(ref.current.offsetWidth + "px");
|
|
2159
|
+
}, [ref])
|
|
2160
|
+
});
|
|
2161
|
+
let scrollRef = useRef(null);
|
|
2162
|
+
return React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
|
|
2163
|
+
[$3674c52c6b3c5bce$export$c7e742effb1c51e2, {
|
|
2164
|
+
...menuProps,
|
|
2165
|
+
ref: scrollRef
|
|
2166
|
+
}],
|
|
2167
|
+
[$de32f1b87079253c$export$d2f961adcb0afbe, state],
|
|
2168
|
+
[$3674c52c6b3c5bce$export$795aec4671cbae19, state],
|
|
2169
|
+
[$07b14b47974efb58$export$9b9a0cd73afb7ca4, {
|
|
2170
|
+
trigger: "MenuTrigger",
|
|
2171
|
+
triggerRef: ref,
|
|
2172
|
+
scrollRef,
|
|
2173
|
+
placement: "bottom start",
|
|
2174
|
+
style: { "--trigger-width": buttonWidth },
|
|
2175
|
+
"aria-labelledby": menuProps["aria-labelledby"]
|
|
2176
|
+
}]
|
|
2177
|
+
] }, React.createElement($f1ab8c75478c6f73$export$3351871ee4b288b8, {
|
|
2178
|
+
...menuTriggerProps,
|
|
2179
|
+
ref,
|
|
2180
|
+
isPressed: state.isOpen
|
|
2181
|
+
}, props.children));
|
|
2182
|
+
}
|
|
2183
|
+
var $3674c52c6b3c5bce$var$SubmenuTriggerContext = createContext(null);
|
|
2184
|
+
var $3674c52c6b3c5bce$var$SubmenuTriggerNode = class extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
|
|
2185
|
+
filter(collection, newCollection, filterFn) {
|
|
2186
|
+
let triggerNode = collection.getItem(this.firstChildKey);
|
|
2187
|
+
if (triggerNode && filterFn(triggerNode.textValue, this)) {
|
|
2188
|
+
let clone = this.clone();
|
|
2189
|
+
newCollection.addDescendants(clone, collection);
|
|
2190
|
+
return clone;
|
|
2191
|
+
}
|
|
2192
|
+
return null;
|
|
2193
|
+
}
|
|
2194
|
+
};
|
|
2195
|
+
$3674c52c6b3c5bce$var$SubmenuTriggerNode.type = "submenutrigger";
|
|
2196
|
+
var $3674c52c6b3c5bce$export$ecabc99eeffab7ca = $e1995378a142960e$export$e953bb1cd0f19726($3674c52c6b3c5bce$var$SubmenuTriggerNode, (props, ref, item) => {
|
|
2197
|
+
let { CollectionBranch } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
2198
|
+
let state = useContext($3674c52c6b3c5bce$export$24aad8519b95b41b);
|
|
2199
|
+
let rootMenuTriggerState = useContext($3674c52c6b3c5bce$export$795aec4671cbae19);
|
|
2200
|
+
let submenuTriggerState = $e5614764aa47eb35$export$cfc51cf86138bf98({ triggerKey: item.key }, rootMenuTriggerState);
|
|
2201
|
+
let submenuRef = useRef(null);
|
|
2202
|
+
let itemRef = $df56164dff5785e2$export$4338b53315abf666(ref);
|
|
2203
|
+
let { parentMenuRef, shouldUseVirtualFocus } = useContext($3674c52c6b3c5bce$var$SubmenuTriggerContext);
|
|
2204
|
+
let { submenuTriggerProps, submenuProps, popoverProps } = $0065b146e7192841$export$7138b0d059a6e743({
|
|
2205
|
+
parentMenuRef,
|
|
2206
|
+
submenuRef,
|
|
2207
|
+
delay: props.delay,
|
|
2208
|
+
shouldUseVirtualFocus
|
|
2209
|
+
}, submenuTriggerState, itemRef);
|
|
2210
|
+
return React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
|
|
2211
|
+
[$3674c52c6b3c5bce$var$MenuItemContext, {
|
|
2212
|
+
...submenuTriggerProps,
|
|
2213
|
+
onAction: void 0,
|
|
2214
|
+
ref: itemRef
|
|
2215
|
+
}],
|
|
2216
|
+
[$3674c52c6b3c5bce$export$c7e742effb1c51e2, {
|
|
2217
|
+
ref: submenuRef,
|
|
2218
|
+
...submenuProps
|
|
2219
|
+
}],
|
|
2220
|
+
[$de32f1b87079253c$export$d2f961adcb0afbe, submenuTriggerState],
|
|
2221
|
+
[$07b14b47974efb58$export$9b9a0cd73afb7ca4, {
|
|
2222
|
+
trigger: "SubmenuTrigger",
|
|
2223
|
+
triggerRef: itemRef,
|
|
2224
|
+
placement: "end top",
|
|
2225
|
+
"aria-labelledby": submenuProps["aria-labelledby"],
|
|
2226
|
+
...popoverProps
|
|
2227
|
+
}]
|
|
2228
|
+
] }, React.createElement(CollectionBranch, {
|
|
2229
|
+
collection: state.collection,
|
|
2230
|
+
parent: item
|
|
2231
|
+
}), props.children[1]);
|
|
2232
|
+
}, (props) => props.children[0]);
|
|
2233
|
+
var $3674c52c6b3c5bce$export$d9b273488cd8ce6f = forwardRef(function Menu(props, ref) {
|
|
2234
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $3674c52c6b3c5bce$export$c7e742effb1c51e2);
|
|
2235
|
+
return React.createElement($e1995378a142960e$export$bf788dd355e3a401, { content: React.createElement($e1995378a142960e$export$fb8073518f34e6ec, props) }, (collection) => React.createElement($3674c52c6b3c5bce$var$MenuInner, {
|
|
2236
|
+
props,
|
|
2237
|
+
collection,
|
|
2238
|
+
menuRef: ref
|
|
2239
|
+
}));
|
|
2240
|
+
});
|
|
2241
|
+
function $3674c52c6b3c5bce$var$MenuInner({ props, collection, menuRef: ref }) {
|
|
2242
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $4e85f108e88277b8$export$b0d3ecf7112093a7);
|
|
2243
|
+
let { filter, ...autocompleteMenuProps } = props;
|
|
2244
|
+
let filteredCollection = useMemo(() => filter ? collection.filter(filter) : collection, [collection, filter]);
|
|
2245
|
+
let state = $875d6693e12af071$export$728d6ba534403756({
|
|
2246
|
+
...props,
|
|
2247
|
+
collection: filteredCollection,
|
|
2248
|
+
children: void 0
|
|
2249
|
+
});
|
|
2250
|
+
let triggerState = useContext($3674c52c6b3c5bce$export$795aec4671cbae19);
|
|
2251
|
+
let { isVirtualized, CollectionRoot } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
2252
|
+
let { menuProps } = $d5336fe17ce95402$export$38eaa17faae8f579({
|
|
2253
|
+
...props,
|
|
2254
|
+
isVirtualized,
|
|
2255
|
+
onClose: props.onClose || (triggerState === null || triggerState === void 0 ? void 0 : triggerState.close)
|
|
2256
|
+
}, state, ref);
|
|
2257
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
2258
|
+
...props,
|
|
2259
|
+
children: void 0,
|
|
2260
|
+
defaultClassName: "react-aria-Menu",
|
|
2261
|
+
values: { isEmpty: state.collection.size === 0 }
|
|
2262
|
+
});
|
|
2263
|
+
let emptyState = null;
|
|
2264
|
+
if (state.collection.size === 0 && props.renderEmptyState) emptyState = React.createElement("div", {
|
|
2265
|
+
role: "menuitem",
|
|
2266
|
+
style: { display: "contents" }
|
|
2267
|
+
}, props.renderEmptyState());
|
|
2268
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { global: true });
|
|
2269
|
+
return React.createElement($9bf71ea28793e738$export$20e40289641fbbb6, null, React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
|
|
2270
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, menuProps),
|
|
2271
|
+
ref,
|
|
2272
|
+
slot: props.slot || void 0,
|
|
2273
|
+
"data-empty": state.collection.size === 0 || void 0,
|
|
2274
|
+
onScroll: props.onScroll
|
|
2275
|
+
}, React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
|
|
2276
|
+
[$3674c52c6b3c5bce$export$24aad8519b95b41b, state],
|
|
2277
|
+
[$431f98aba6844401$export$6615d83f6de245ce, { elementType: "div" }],
|
|
2278
|
+
[$7135fc7d473fd974$export$d40e14dec8b060a8, {
|
|
2279
|
+
name: "MenuSection",
|
|
2280
|
+
render: $3674c52c6b3c5bce$var$MenuSectionInner
|
|
2281
|
+
}],
|
|
2282
|
+
[$3674c52c6b3c5bce$var$SubmenuTriggerContext, {
|
|
2283
|
+
parentMenuRef: ref,
|
|
2284
|
+
shouldUseVirtualFocus: autocompleteMenuProps === null || autocompleteMenuProps === void 0 ? void 0 : autocompleteMenuProps.shouldUseVirtualFocus
|
|
2285
|
+
}],
|
|
2286
|
+
[$3674c52c6b3c5bce$var$MenuItemContext, { shouldCloseOnSelect: props.shouldCloseOnSelect }],
|
|
2287
|
+
[$4e85f108e88277b8$export$b0d3ecf7112093a7, null],
|
|
2288
|
+
[$4e85f108e88277b8$export$698f465ec27e93df, null],
|
|
2289
|
+
[$3674c52c6b3c5bce$var$SelectionManagerContext, state.selectionManager],
|
|
2290
|
+
[$3674c52c6b3c5bce$export$795aec4671cbae19, triggerState !== null && triggerState !== void 0 ? triggerState : $a28c903ee9ad8dc5$export$79fefeb1c2091ac3({})]
|
|
2291
|
+
] }, React.createElement($c8a5a149f625efcf$export$758399f318e6385a, null, React.createElement(CollectionRoot, {
|
|
2292
|
+
collection: state.collection,
|
|
2293
|
+
persistedKeys: $7135fc7d473fd974$export$90e00781bc59d8f9(state.selectionManager.focusedKey),
|
|
2294
|
+
scrollRef: ref
|
|
2295
|
+
}))), emptyState));
|
|
2296
|
+
}
|
|
2297
|
+
var $3674c52c6b3c5bce$var$GroupSelectionManager = class extends $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
|
|
2298
|
+
get focusedKey() {
|
|
2299
|
+
return this.parent.focusedKey;
|
|
2300
|
+
}
|
|
2301
|
+
get isFocused() {
|
|
2302
|
+
return this.parent.isFocused;
|
|
2303
|
+
}
|
|
2304
|
+
setFocusedKey(key, childFocusStrategy) {
|
|
2305
|
+
return this.parent.setFocusedKey(key, childFocusStrategy);
|
|
2306
|
+
}
|
|
2307
|
+
setFocused(isFocused) {
|
|
2308
|
+
this.parent.setFocused(isFocused);
|
|
2309
|
+
}
|
|
2310
|
+
get childFocusStrategy() {
|
|
2311
|
+
return this.parent.childFocusStrategy;
|
|
2312
|
+
}
|
|
2313
|
+
constructor(parent, state) {
|
|
2314
|
+
super(parent.collection, state);
|
|
2315
|
+
this.parent = parent;
|
|
2316
|
+
}
|
|
2317
|
+
};
|
|
2318
|
+
function $3674c52c6b3c5bce$var$MenuSectionInner(props, ref, section, className = "react-aria-MenuSection") {
|
|
2319
|
+
var _section_props, _section_props1, _useSlottedContext;
|
|
2320
|
+
let state = useContext($3674c52c6b3c5bce$export$24aad8519b95b41b);
|
|
2321
|
+
let { CollectionBranch } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
2322
|
+
let [headingRef, heading] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8();
|
|
2323
|
+
var _section_props_arialabel;
|
|
2324
|
+
let { headingProps, groupProps } = $3e5eb2498db5b506$export$73f7a44322579622({
|
|
2325
|
+
heading,
|
|
2326
|
+
"aria-label": (_section_props_arialabel = section.props["aria-label"]) !== null && _section_props_arialabel !== void 0 ? _section_props_arialabel : void 0
|
|
2327
|
+
});
|
|
2328
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
2329
|
+
...props,
|
|
2330
|
+
id: void 0,
|
|
2331
|
+
children: void 0,
|
|
2332
|
+
defaultClassName: className,
|
|
2333
|
+
className: (_section_props = section.props) === null || _section_props === void 0 ? void 0 : _section_props.className,
|
|
2334
|
+
style: (_section_props1 = section.props) === null || _section_props1 === void 0 ? void 0 : _section_props1.style,
|
|
2335
|
+
values: void 0
|
|
2336
|
+
});
|
|
2337
|
+
let parent = useContext($3674c52c6b3c5bce$var$SelectionManagerContext);
|
|
2338
|
+
let selectionState = $7af3f5b51489e0b5$export$253fe78d46329472(props);
|
|
2339
|
+
let manager = props.selectionMode != null ? new $3674c52c6b3c5bce$var$GroupSelectionManager(parent, selectionState) : parent;
|
|
2340
|
+
let closeOnSelect = (_useSlottedContext = $64fa3d84918910a7$export$fabf2dc03a41866e($3674c52c6b3c5bce$var$MenuItemContext)) === null || _useSlottedContext === void 0 ? void 0 : _useSlottedContext.shouldCloseOnSelect;
|
|
2341
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { global: true });
|
|
2342
|
+
delete DOMProps.id;
|
|
2343
|
+
var _props_shouldCloseOnSelect;
|
|
2344
|
+
return React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.section, {
|
|
2345
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, groupProps),
|
|
2346
|
+
ref
|
|
2347
|
+
}, React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
|
|
2348
|
+
[$72a5793c14baf454$export$e0e4026c12a8bdbb, {
|
|
2349
|
+
...headingProps,
|
|
2350
|
+
ref: headingRef
|
|
2351
|
+
}],
|
|
2352
|
+
[$3674c52c6b3c5bce$var$SelectionManagerContext, manager],
|
|
2353
|
+
[$3674c52c6b3c5bce$var$MenuItemContext, { shouldCloseOnSelect: (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : closeOnSelect }]
|
|
2354
|
+
] }, React.createElement(CollectionBranch, {
|
|
2355
|
+
collection: state.collection,
|
|
2356
|
+
parent: section
|
|
2357
|
+
})));
|
|
2358
|
+
}
|
|
2359
|
+
var $3674c52c6b3c5bce$export$4b1545b4f2016d26 = $e1995378a142960e$export$e953bb1cd0f19726($23b9f4fcf0fe224b$export$437f11dc9b403b78, $3674c52c6b3c5bce$var$MenuSectionInner);
|
|
2360
|
+
var $3674c52c6b3c5bce$var$MenuItemContext = createContext(null);
|
|
2361
|
+
var $3674c52c6b3c5bce$export$2ce376c2cc3355c8 = $e1995378a142960e$export$18af5c7a9e9b3664($23b9f4fcf0fe224b$export$fd11f34e1d07f134, function MenuItem(props, forwardedRef, item) {
|
|
2362
|
+
var _useSlottedContext;
|
|
2363
|
+
[props, forwardedRef] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, forwardedRef, $3674c52c6b3c5bce$var$MenuItemContext);
|
|
2364
|
+
let id = (_useSlottedContext = $64fa3d84918910a7$export$fabf2dc03a41866e($3674c52c6b3c5bce$var$MenuItemContext)) === null || _useSlottedContext === void 0 ? void 0 : _useSlottedContext.id;
|
|
2365
|
+
let state = useContext($3674c52c6b3c5bce$export$24aad8519b95b41b);
|
|
2366
|
+
let ref = $df56164dff5785e2$export$4338b53315abf666(forwardedRef);
|
|
2367
|
+
let selectionManager = useContext($3674c52c6b3c5bce$var$SelectionManagerContext);
|
|
2368
|
+
let { isVirtualized } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
|
|
2369
|
+
let { menuItemProps, labelProps, descriptionProps, keyboardShortcutProps, ...states } = $a2e5df62f93c7633$export$9d32628fc2aea7da({
|
|
2370
|
+
...props,
|
|
2371
|
+
id,
|
|
2372
|
+
key: item.key,
|
|
2373
|
+
selectionManager,
|
|
2374
|
+
isVirtualized
|
|
2375
|
+
}, state, ref);
|
|
2376
|
+
let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({ isDisabled: states.isDisabled });
|
|
2377
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
2378
|
+
...props,
|
|
2379
|
+
id: void 0,
|
|
2380
|
+
children: item.rendered,
|
|
2381
|
+
defaultClassName: "react-aria-MenuItem",
|
|
2382
|
+
values: {
|
|
2383
|
+
...states,
|
|
2384
|
+
isHovered,
|
|
2385
|
+
isFocusVisible: states.isFocusVisible,
|
|
2386
|
+
selectionMode: selectionManager.selectionMode,
|
|
2387
|
+
selectionBehavior: selectionManager.selectionBehavior,
|
|
2388
|
+
hasSubmenu: !!props["aria-haspopup"],
|
|
2389
|
+
isOpen: props["aria-expanded"] === "true"
|
|
2390
|
+
}
|
|
2391
|
+
});
|
|
2392
|
+
let ElementType = props.href ? $64fa3d84918910a7$export$df3a06d6289f983e.a : $64fa3d84918910a7$export$df3a06d6289f983e.div;
|
|
2393
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { global: true });
|
|
2394
|
+
delete DOMProps.id;
|
|
2395
|
+
delete DOMProps.onClick;
|
|
2396
|
+
return React.createElement(ElementType, {
|
|
2397
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, menuItemProps, hoverProps),
|
|
2398
|
+
ref,
|
|
2399
|
+
"data-disabled": states.isDisabled || void 0,
|
|
2400
|
+
"data-hovered": isHovered || void 0,
|
|
2401
|
+
"data-focused": states.isFocused || void 0,
|
|
2402
|
+
"data-focus-visible": states.isFocusVisible || void 0,
|
|
2403
|
+
"data-pressed": states.isPressed || void 0,
|
|
2404
|
+
"data-selected": states.isSelected || void 0,
|
|
2405
|
+
"data-selection-mode": selectionManager.selectionMode === "none" ? void 0 : selectionManager.selectionMode,
|
|
2406
|
+
"data-has-submenu": !!props["aria-haspopup"] || void 0,
|
|
2407
|
+
"data-open": props["aria-expanded"] === "true" || void 0
|
|
2408
|
+
}, React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
|
|
2409
|
+
[$514c0188e459b4c0$export$9afb8bc826b033ea, { slots: {
|
|
2410
|
+
[$64fa3d84918910a7$export$c62b8e45d58ddad9]: labelProps,
|
|
2411
|
+
label: labelProps,
|
|
2412
|
+
description: descriptionProps
|
|
2413
|
+
} }],
|
|
2414
|
+
[$63df2425e2108aa8$export$744d98a3b8a94e1c, keyboardShortcutProps],
|
|
2415
|
+
[$1d5b8b8664671ef2$export$c9549807523555e0, { isSelected: states.isSelected }]
|
|
2416
|
+
] }, renderProps.children));
|
|
2417
|
+
});
|
|
2418
|
+
//#endregion
|
|
2419
|
+
//#region node_modules/react-aria-components/dist/Dialog.mjs
|
|
2420
|
+
var $de32f1b87079253c$export$8b93a07348a7730c = createContext(null);
|
|
2421
|
+
var $de32f1b87079253c$export$d2f961adcb0afbe = createContext(null);
|
|
2422
|
+
function $de32f1b87079253c$export$2e1e1122cf0cba88(props) {
|
|
2423
|
+
let state = $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props);
|
|
2424
|
+
let buttonRef = useRef(null);
|
|
2425
|
+
let { triggerProps, overlayProps } = $628037886ba31236$export$f9d5c8beee7d008d({ type: "dialog" }, state, buttonRef);
|
|
2426
|
+
let [buttonWidth, setButtonWidth] = useState(null);
|
|
2427
|
+
$9daab02d461809db$export$683480f191c0e3ea({
|
|
2428
|
+
ref: buttonRef,
|
|
2429
|
+
onResize: useCallback(() => {
|
|
2430
|
+
if (buttonRef.current) setButtonWidth(buttonRef.current.offsetWidth + "px");
|
|
2431
|
+
}, [buttonRef])
|
|
2432
|
+
});
|
|
2433
|
+
triggerProps.id = $bdb11010cef70236$export$f680877a34711e37();
|
|
2434
|
+
overlayProps["aria-labelledby"] = triggerProps.id;
|
|
2435
|
+
return React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
|
|
2436
|
+
[$de32f1b87079253c$export$d2f961adcb0afbe, state],
|
|
2437
|
+
[$3674c52c6b3c5bce$export$795aec4671cbae19, state],
|
|
2438
|
+
[$de32f1b87079253c$export$8b93a07348a7730c, overlayProps],
|
|
2439
|
+
[$07b14b47974efb58$export$9b9a0cd73afb7ca4, {
|
|
2440
|
+
trigger: "DialogTrigger",
|
|
2441
|
+
triggerRef: buttonRef,
|
|
2442
|
+
"aria-labelledby": overlayProps["aria-labelledby"],
|
|
2443
|
+
style: { "--trigger-width": buttonWidth }
|
|
2444
|
+
}]
|
|
2445
|
+
] }, React.createElement($f1ab8c75478c6f73$export$3351871ee4b288b8, {
|
|
2446
|
+
...triggerProps,
|
|
2447
|
+
ref: buttonRef,
|
|
2448
|
+
isPressed: state.isOpen
|
|
2449
|
+
}, props.children));
|
|
2450
|
+
}
|
|
2451
|
+
var $de32f1b87079253c$export$3ddf2d174ce01153 = forwardRef(function Dialog(props, ref) {
|
|
2452
|
+
let originalAriaLabelledby = props["aria-labelledby"];
|
|
2453
|
+
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $de32f1b87079253c$export$8b93a07348a7730c);
|
|
2454
|
+
let { dialogProps, titleProps } = $40df3f8667284809$export$d55e7ee900f34e93({
|
|
2455
|
+
...props,
|
|
2456
|
+
"aria-labelledby": originalAriaLabelledby
|
|
2457
|
+
}, ref);
|
|
2458
|
+
let state = useContext($de32f1b87079253c$export$d2f961adcb0afbe);
|
|
2459
|
+
if (!dialogProps["aria-label"] && !dialogProps["aria-labelledby"]) {
|
|
2460
|
+
if (props["aria-labelledby"]) dialogProps["aria-labelledby"] = props["aria-labelledby"];
|
|
2461
|
+
else if (process.env.NODE_ENV !== "production") console.warn("If a Dialog does not contain a <Heading slot=\"title\">, it must have an aria-label or aria-labelledby attribute for accessibility.");
|
|
2462
|
+
}
|
|
2463
|
+
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
2464
|
+
defaultClassName: "react-aria-Dialog",
|
|
2465
|
+
className: props.className,
|
|
2466
|
+
style: props.style,
|
|
2467
|
+
children: props.children,
|
|
2468
|
+
values: { close: (state === null || state === void 0 ? void 0 : state.close) || (() => {}) }
|
|
2469
|
+
});
|
|
2470
|
+
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, { global: true });
|
|
2471
|
+
return React.createElement($64fa3d84918910a7$export$df3a06d6289f983e.section, {
|
|
2472
|
+
...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, dialogProps),
|
|
2473
|
+
render: props.render,
|
|
2474
|
+
ref,
|
|
2475
|
+
slot: props.slot || void 0
|
|
2476
|
+
}, React.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [[$4e85f108e88277b8$export$d688439359537581, { slots: {
|
|
2477
|
+
[$64fa3d84918910a7$export$c62b8e45d58ddad9]: {},
|
|
2478
|
+
title: {
|
|
2479
|
+
...titleProps,
|
|
2480
|
+
level: 2
|
|
2481
|
+
}
|
|
2482
|
+
} }], [$d2b4bc8c273e7be6$export$24d547caef80ccd1, { slots: {
|
|
2483
|
+
[$64fa3d84918910a7$export$c62b8e45d58ddad9]: {},
|
|
2484
|
+
close: { onPress: () => state === null || state === void 0 ? void 0 : state.close() }
|
|
2485
|
+
} }]] }, renderProps.children));
|
|
2486
|
+
});
|
|
2487
|
+
//#endregion
|
|
2488
|
+
export { $49c51c25361d4cd2$export$ee0f7cc6afcd1c18 as C, $62d8ded9296f3872$export$cfa2225e87938781 as D, $325a3faab7a68acd$export$a16aca283550c30d as E, $86ea4cb521eb2e37$export$2317d149ed6f78c4 as S, $e0b6e0b68ec7f50f$export$872b660ac5a1ff98 as T, $982254629710d113$export$b95089534ab7c1fd as _, $3674c52c6b3c5bce$export$2ce376c2cc3355c8 as a, $337b884510726a0d$export$c6fdb837b070b4ff as b, $3674c52c6b3c5bce$export$ecabc99eeffab7ca as c, $431f98aba6844401$export$1ff3c3f08ae963c0 as d, $431f98aba6844401$export$6615d83f6de245ce as f, $453cc9f0df89c0a5$export$77d5aafae4e095b2 as g, $168583247155ddda$export$dc9c12ed27dd1b49 as h, $3674c52c6b3c5bce$export$27d2ad3c5815583e as i, $07b14b47974efb58$export$5b6b19405a83ff9d as l, $72a5793c14baf454$export$e0e4026c12a8bdbb as m, $de32f1b87079253c$export$3ddf2d174ce01153 as n, $3674c52c6b3c5bce$export$4b1545b4f2016d26 as o, $72a5793c14baf454$export$8b251419efc915eb as p, $de32f1b87079253c$export$d2f961adcb0afbe as r, $3674c52c6b3c5bce$export$d9b273488cd8ce6f as s, $de32f1b87079253c$export$2e1e1122cf0cba88 as t, $07b14b47974efb58$export$9b9a0cd73afb7ca4 as u, $2a25aae57d74318e$export$a05409b8bb224a5a as v, $a11501f3d1d39e6c$export$ea8f71083e90600f as w, $5e3802645cc19319$export$1c3ebcada18427bf as x, $337b884510726a0d$export$14c98a7594375490 as y };
|