@eightshift/ui-components 6.3.0 → 7.0.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 +197 -200
- package/dist/assets/style-editor.css +197 -200
- package/dist/assets/style.css +197 -200
- 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 +360 -589
- package/dist/components/select/async-select.js +284 -492
- package/dist/components/select/multi-select.js +340 -552
- package/dist/components/select/shared.js +3 -17
- package/dist/components/select/single-select.js +278 -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-D-7dwhuF.js +4277 -0
- package/dist/gradient-editor-DbH8NU2p.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-BG7-_Ou3.js +9638 -0
- package/dist/shared-DFDimxvX.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 +30 -18
- 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
|
@@ -1,1943 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
import { $ as $ee014567cb39d3f0$export$ff05c3ac10437e03 } from "../../FieldError-BPG0hKfB.js";
|
|
5
|
-
import { $ as $d3e0e05bdfcf66bd$export$c24727297075ec6a } from "../../Form-Cq3fu75_.js";
|
|
6
|
-
import { d as $2d73ec29415bd339$export$712718f7aec83d5, b as $3985021b0ad6602f$export$37fb8590cf2c088c, a as $a049562f99e7db0e$export$f9c6924e160136d1, c as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, $ as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../../Input-BG9DaxYN.js";
|
|
7
|
-
import { a as $01b77f81d0f07f68$export$75b6ee27786ba447, $ as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../../Label-_aSf9-8u.js";
|
|
8
|
-
import { b as $b1f0cad8af73213b$export$3585ede4d035bf14, c as $b1f0cad8af73213b$export$9145995848b05025, d as $eed445e0843c11d0$export$7ff8f37d2d81a48d, e as $eed445e0843c11d0$export$7c5906fe4f1f2af2, $ as $eed445e0843c11d0$export$41f133550aa26f48, f as $eed445e0843c11d0$export$a11e76429ed99b4 } from "../../ListBox-DXFyyj_r.js";
|
|
9
|
-
import { x as $168583247155ddda$export$dc9c12ed27dd1b49, u as $2a25aae57d74318e$export$a05409b8bb224a5a, t as $453cc9f0df89c0a5$export$77d5aafae4e095b2, n as $5e3802645cc19319$export$1c3ebcada18427bf, y as $e0b6e0b68ec7f50f$export$872b660ac5a1ff98, o as $de32f1b87079253c$export$d2f961adcb0afbe, z as $07b14b47974efb58$export$9b9a0cd73afb7ca4, f as $07b14b47974efb58$export$5b6b19405a83ff9d } from "../../Dialog-DTIxSDhz.js";
|
|
10
|
-
import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "../../Text-CjFEHSfr.js";
|
|
11
|
-
import { o as $ae20dd8cbca75726$export$d6daf82dcd84e87c, s as $c5a24bc478652b5f$export$1005530eda016c13, t as $55f9b1ae81f22853$export$2b35b76d2e30e129, g as $e1995378a142960e$export$bf788dd355e3a401 } from "../../SelectionManager-B02LcxLr.js";
|
|
12
|
-
import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "../../filterDOMProps-eGTqWSTd.js";
|
|
13
|
-
import { $ as $fc909762b330b746$export$61c6a8c84e605fb6, d as $9daab02d461809db$export$683480f191c0e3ea } from "../../OverlayArrow-Fuxj-1QM.js";
|
|
14
|
-
import $dbSRa$react__default, { useRef, useEffect, useMemo, useState, useCallback, forwardRef, createContext } from "react";
|
|
15
|
-
import { $ as $bb77f239b46e8c72$export$3274cf84b703fff } from "../../useFilter-Bg5C34XC.js";
|
|
16
|
-
import { b as $e5be200c675c3b3a$export$a763b9476acd3eb, $ as $e5be200c675c3b3a$export$fc1a364ae1f3ff10 } from "../../useFormValidation-BrbMhS2N.js";
|
|
17
|
-
import { a as $e72dd72e1c76a225$export$2f645645f7bca764, c as $a02d57049d202695$export$d085fb9e920b5ca7 } from "../../useListState-BjnzKozj.js";
|
|
18
|
-
import { c as $8ae05eaa5c114e9c$export$7f54fc3180508a52, M as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, L as $c87311424ea30a05$export$e1865c3bedcd822b, j as $d4ee10de306f2510$export$cd4e5573fbe2b576, e as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$e58f029f0fbfdb29, h as $d4ee10de306f2510$export$4282f70798064fe0, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715 } from "../../useHover-DkmPQdGE.js";
|
|
19
|
-
import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "../../useLabels-D8O3gOdV.js";
|
|
20
|
-
import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "../../useEvent-Bfy68GHZ.js";
|
|
21
|
-
import { $ as $99facab73266f662$export$5add1d006293d136 } from "../../useFormReset-BoxsKyJ9.js";
|
|
22
|
-
import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "../../useLocalizedStringFormatter-CEDs0LsA.js";
|
|
23
|
-
import { _ as __ } from "../../default-i18n-CnQeC5Pl.js";
|
|
24
|
-
import { icons } from "../../icons/icons.js";
|
|
25
|
-
import { Spinner } from "../../icons/spinner.js";
|
|
26
|
-
import { c as clsx } from "../../clsx-DgYk2OaC.js";
|
|
27
|
-
import { Tooltip } from "../tooltip/tooltip.js";
|
|
28
|
-
import { AnimatedVisibility } from "../animated-visibility/animated-visibility.js";
|
|
29
|
-
import { BaseControl } from "../base-control/base-control.js";
|
|
30
|
-
import { RichLabel } from "../rich-label/rich-label.js";
|
|
31
|
-
import { c as cva } from "../../index-BHpUy2Ix.js";
|
|
32
|
-
import { randomId } from "../../utilities/hash.js";
|
|
33
|
-
import { $ as $f86e6c1ec7da6ebb$export$bc3384a35de93d66 } from "../../useAsyncList-DsZvQXls.js";
|
|
34
|
-
function $4f58c5f72bcf79f7$export$496315a1608d9602(cb, dependencies) {
|
|
35
|
-
const isInitialMount = useRef(true);
|
|
36
|
-
const lastDeps = useRef(null);
|
|
37
|
-
let cbEvent = $8ae05eaa5c114e9c$export$7f54fc3180508a52(cb);
|
|
38
|
-
useEffect(() => {
|
|
39
|
-
isInitialMount.current = true;
|
|
40
|
-
return () => {
|
|
41
|
-
isInitialMount.current = false;
|
|
42
|
-
};
|
|
43
|
-
}, []);
|
|
44
|
-
useEffect(() => {
|
|
45
|
-
let prevDeps = lastDeps.current;
|
|
46
|
-
if (isInitialMount.current) isInitialMount.current = false;
|
|
47
|
-
else if (!prevDeps || dependencies.some((dep, i) => !Object.is(dep, prevDeps[i]))) cbEvent();
|
|
48
|
-
lastDeps.current = dependencies;
|
|
49
|
-
}, dependencies);
|
|
50
|
-
}
|
|
51
|
-
var $02cb4c75c506befe$exports = {};
|
|
52
|
-
$02cb4c75c506befe$exports = {
|
|
53
|
-
"buttonLabel": `عرض المقترحات`,
|
|
54
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
55
|
-
one: () => `${formatter.number(args.optionCount)} خيار`,
|
|
56
|
-
other: () => `${formatter.number(args.optionCount)} خيارات`
|
|
57
|
-
})} متاحة.`,
|
|
58
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
59
|
-
true: () => `المجموعة المدخلة ${args.groupTitle}, مع ${formatter.plural(args.groupCount, {
|
|
60
|
-
one: () => `${formatter.number(args.groupCount)} خيار`,
|
|
61
|
-
other: () => `${formatter.number(args.groupCount)} خيارات`
|
|
62
|
-
})}. `,
|
|
63
|
-
other: ``
|
|
64
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
65
|
-
true: `, محدد`,
|
|
66
|
-
other: ``
|
|
67
|
-
}, args.isSelected)}`,
|
|
68
|
-
"listboxLabel": `مقترحات`,
|
|
69
|
-
"selectedAnnouncement": (args) => `${args.optionText}، محدد`
|
|
70
|
-
};
|
|
71
|
-
var $568b8163f1e56faf$exports = {};
|
|
72
|
-
$568b8163f1e56faf$exports = {
|
|
73
|
-
"buttonLabel": `Покажи предложения`,
|
|
74
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
75
|
-
one: () => `${formatter.number(args.optionCount)} опция`,
|
|
76
|
-
other: () => `${formatter.number(args.optionCount)} опции`
|
|
77
|
-
})} на разположение.`,
|
|
78
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
79
|
-
true: () => `Въведена група ${args.groupTitle}, с ${formatter.plural(args.groupCount, {
|
|
80
|
-
one: () => `${formatter.number(args.groupCount)} опция`,
|
|
81
|
-
other: () => `${formatter.number(args.groupCount)} опции`
|
|
82
|
-
})}. `,
|
|
83
|
-
other: ``
|
|
84
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
85
|
-
true: `, избрани`,
|
|
86
|
-
other: ``
|
|
87
|
-
}, args.isSelected)}`,
|
|
88
|
-
"listboxLabel": `Предложения`,
|
|
89
|
-
"selectedAnnouncement": (args) => `${args.optionText}, избрани`
|
|
90
|
-
};
|
|
91
|
-
var $87581c0202d106b8$exports = {};
|
|
92
|
-
$87581c0202d106b8$exports = {
|
|
93
|
-
"buttonLabel": `Zobrazit doporučení`,
|
|
94
|
-
"countAnnouncement": (args, formatter) => `K dispozici ${formatter.plural(args.optionCount, {
|
|
95
|
-
one: () => `je ${formatter.number(args.optionCount)} možnost`,
|
|
96
|
-
other: () => `jsou/je ${formatter.number(args.optionCount)} možnosti/-í`
|
|
97
|
-
})}.`,
|
|
98
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
99
|
-
true: () => `Zadaná skupina „${args.groupTitle}“ ${formatter.plural(args.groupCount, {
|
|
100
|
-
one: () => `s ${formatter.number(args.groupCount)} možností`,
|
|
101
|
-
other: () => `se ${formatter.number(args.groupCount)} možnostmi`
|
|
102
|
-
})}. `,
|
|
103
|
-
other: ``
|
|
104
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
105
|
-
true: ` (vybráno)`,
|
|
106
|
-
other: ``
|
|
107
|
-
}, args.isSelected)}`,
|
|
108
|
-
"listboxLabel": `Návrhy`,
|
|
109
|
-
"selectedAnnouncement": (args) => `${args.optionText}, vybráno`
|
|
110
|
-
};
|
|
111
|
-
var $a10a0369f5433ed1$exports = {};
|
|
112
|
-
$a10a0369f5433ed1$exports = {
|
|
113
|
-
"buttonLabel": `Vis forslag`,
|
|
114
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
115
|
-
one: () => `${formatter.number(args.optionCount)} mulighed tilgængelig`,
|
|
116
|
-
other: () => `${formatter.number(args.optionCount)} muligheder tilgængelige`
|
|
117
|
-
})}.`,
|
|
118
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
119
|
-
true: () => `Angivet gruppe ${args.groupTitle}, med ${formatter.plural(args.groupCount, {
|
|
120
|
-
one: () => `${formatter.number(args.groupCount)} mulighed`,
|
|
121
|
-
other: () => `${formatter.number(args.groupCount)} muligheder`
|
|
122
|
-
})}. `,
|
|
123
|
-
other: ``
|
|
124
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
125
|
-
true: `, valgt`,
|
|
126
|
-
other: ``
|
|
127
|
-
}, args.isSelected)}`,
|
|
128
|
-
"listboxLabel": `Forslag`,
|
|
129
|
-
"selectedAnnouncement": (args) => `${args.optionText}, valgt`
|
|
130
|
-
};
|
|
131
|
-
var $bfd288727d5cb166$exports = {};
|
|
132
|
-
$bfd288727d5cb166$exports = {
|
|
133
|
-
"buttonLabel": `Empfehlungen anzeigen`,
|
|
134
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
135
|
-
one: () => `${formatter.number(args.optionCount)} Option`,
|
|
136
|
-
other: () => `${formatter.number(args.optionCount)} Optionen`
|
|
137
|
-
})} verfügbar.`,
|
|
138
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
139
|
-
true: () => `Eingetretene Gruppe ${args.groupTitle}, mit ${formatter.plural(args.groupCount, {
|
|
140
|
-
one: () => `${formatter.number(args.groupCount)} Option`,
|
|
141
|
-
other: () => `${formatter.number(args.groupCount)} Optionen`
|
|
142
|
-
})}. `,
|
|
143
|
-
other: ``
|
|
144
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
145
|
-
true: `, ausgewählt`,
|
|
146
|
-
other: ``
|
|
147
|
-
}, args.isSelected)}`,
|
|
148
|
-
"listboxLabel": `Empfehlungen`,
|
|
149
|
-
"selectedAnnouncement": (args) => `${args.optionText}, ausgewählt`
|
|
150
|
-
};
|
|
151
|
-
var $ca177778f9a74e3c$exports = {};
|
|
152
|
-
$ca177778f9a74e3c$exports = {
|
|
153
|
-
"buttonLabel": `Προβολή προτάσεων`,
|
|
154
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
155
|
-
one: () => `${formatter.number(args.optionCount)} επιλογή`,
|
|
156
|
-
other: () => `${formatter.number(args.optionCount)} επιλογές `
|
|
157
|
-
})} διαθέσιμες.`,
|
|
158
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
159
|
-
true: () => `Εισαγμένη ομάδα ${args.groupTitle}, με ${formatter.plural(args.groupCount, {
|
|
160
|
-
one: () => `${formatter.number(args.groupCount)} επιλογή`,
|
|
161
|
-
other: () => `${formatter.number(args.groupCount)} επιλογές`
|
|
162
|
-
})}. `,
|
|
163
|
-
other: ``
|
|
164
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
165
|
-
true: `, επιλεγμένο`,
|
|
166
|
-
other: ``
|
|
167
|
-
}, args.isSelected)}`,
|
|
168
|
-
"listboxLabel": `Προτάσεις`,
|
|
169
|
-
"selectedAnnouncement": (args) => `${args.optionText}, επιλέχθηκε`
|
|
170
|
-
};
|
|
171
|
-
var $9b5aa79ef84beb6c$exports = {};
|
|
172
|
-
$9b5aa79ef84beb6c$exports = {
|
|
173
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
174
|
-
true: () => `Entered group ${args.groupTitle}, with ${formatter.plural(args.groupCount, {
|
|
175
|
-
one: () => `${formatter.number(args.groupCount)} option`,
|
|
176
|
-
other: () => `${formatter.number(args.groupCount)} options`
|
|
177
|
-
})}. `,
|
|
178
|
-
other: ``
|
|
179
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
180
|
-
true: `, selected`,
|
|
181
|
-
other: ``
|
|
182
|
-
}, args.isSelected)}`,
|
|
183
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
184
|
-
one: () => `${formatter.number(args.optionCount)} option`,
|
|
185
|
-
other: () => `${formatter.number(args.optionCount)} options`
|
|
186
|
-
})} available.`,
|
|
187
|
-
"selectedAnnouncement": (args) => `${args.optionText}, selected`,
|
|
188
|
-
"buttonLabel": `Show suggestions`,
|
|
189
|
-
"listboxLabel": `Suggestions`
|
|
190
|
-
};
|
|
191
|
-
var $57968e8209de2557$exports = {};
|
|
192
|
-
$57968e8209de2557$exports = {
|
|
193
|
-
"buttonLabel": `Mostrar sugerencias`,
|
|
194
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
195
|
-
one: () => `${formatter.number(args.optionCount)} opción`,
|
|
196
|
-
other: () => `${formatter.number(args.optionCount)} opciones`
|
|
197
|
-
})} disponible(s).`,
|
|
198
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
199
|
-
true: () => `Se ha unido al grupo ${args.groupTitle}, con ${formatter.plural(args.groupCount, {
|
|
200
|
-
one: () => `${formatter.number(args.groupCount)} opción`,
|
|
201
|
-
other: () => `${formatter.number(args.groupCount)} opciones`
|
|
202
|
-
})}. `,
|
|
203
|
-
other: ``
|
|
204
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
205
|
-
true: `, seleccionado`,
|
|
206
|
-
other: ``
|
|
207
|
-
}, args.isSelected)}`,
|
|
208
|
-
"listboxLabel": `Sugerencias`,
|
|
209
|
-
"selectedAnnouncement": (args) => `${args.optionText}, seleccionado`
|
|
210
|
-
};
|
|
211
|
-
var $60690790bf4c1c6a$exports = {};
|
|
212
|
-
$60690790bf4c1c6a$exports = {
|
|
213
|
-
"buttonLabel": `Kuva soovitused`,
|
|
214
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
215
|
-
one: () => `${formatter.number(args.optionCount)} valik`,
|
|
216
|
-
other: () => `${formatter.number(args.optionCount)} valikud`
|
|
217
|
-
})} saadaval.`,
|
|
218
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
219
|
-
true: () => `Sisestatud rühm ${args.groupTitle}, valikuga ${formatter.plural(args.groupCount, {
|
|
220
|
-
one: () => `${formatter.number(args.groupCount)} valik`,
|
|
221
|
-
other: () => `${formatter.number(args.groupCount)} valikud`
|
|
222
|
-
})}. `,
|
|
223
|
-
other: ``
|
|
224
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
225
|
-
true: `, valitud`,
|
|
226
|
-
other: ``
|
|
227
|
-
}, args.isSelected)}`,
|
|
228
|
-
"listboxLabel": `Soovitused`,
|
|
229
|
-
"selectedAnnouncement": (args) => `${args.optionText}, valitud`
|
|
230
|
-
};
|
|
231
|
-
var $1101246e8c7d9357$exports = {};
|
|
232
|
-
$1101246e8c7d9357$exports = {
|
|
233
|
-
"buttonLabel": `Näytä ehdotukset`,
|
|
234
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
235
|
-
one: () => `${formatter.number(args.optionCount)} vaihtoehto`,
|
|
236
|
-
other: () => `${formatter.number(args.optionCount)} vaihtoehdot`
|
|
237
|
-
})} saatavilla.`,
|
|
238
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
239
|
-
true: () => `Mentiin ryhmään ${args.groupTitle}, ${formatter.plural(args.groupCount, {
|
|
240
|
-
one: () => `${formatter.number(args.groupCount)} vaihtoehdon`,
|
|
241
|
-
other: () => `${formatter.number(args.groupCount)} vaihtoehdon`
|
|
242
|
-
})} kanssa.`,
|
|
243
|
-
other: ``
|
|
244
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
245
|
-
true: `, valittu`,
|
|
246
|
-
other: ``
|
|
247
|
-
}, args.isSelected)}`,
|
|
248
|
-
"listboxLabel": `Ehdotukset`,
|
|
249
|
-
"selectedAnnouncement": (args) => `${args.optionText}, valittu`
|
|
250
|
-
};
|
|
251
|
-
var $6404b5cb5b241730$exports = {};
|
|
252
|
-
$6404b5cb5b241730$exports = {
|
|
253
|
-
"buttonLabel": `Afficher les suggestions`,
|
|
254
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
255
|
-
one: () => `${formatter.number(args.optionCount)} option`,
|
|
256
|
-
other: () => `${formatter.number(args.optionCount)} options`
|
|
257
|
-
})} disponible(s).`,
|
|
258
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
259
|
-
true: () => `Groupe ${args.groupTitle} rejoint, avec ${formatter.plural(args.groupCount, {
|
|
260
|
-
one: () => `${formatter.number(args.groupCount)} option`,
|
|
261
|
-
other: () => `${formatter.number(args.groupCount)} options`
|
|
262
|
-
})}. `,
|
|
263
|
-
other: ``
|
|
264
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
265
|
-
true: `, sélectionné(s)`,
|
|
266
|
-
other: ``
|
|
267
|
-
}, args.isSelected)}`,
|
|
268
|
-
"listboxLabel": `Suggestions`,
|
|
269
|
-
"selectedAnnouncement": (args) => `${args.optionText}, sélectionné`
|
|
270
|
-
};
|
|
271
|
-
var $dfeafa702e92e31f$exports = {};
|
|
272
|
-
$dfeafa702e92e31f$exports = {
|
|
273
|
-
"buttonLabel": `הצג הצעות`,
|
|
274
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
275
|
-
one: () => `אפשרות ${formatter.number(args.optionCount)}`,
|
|
276
|
-
other: () => `${formatter.number(args.optionCount)} אפשרויות`
|
|
277
|
-
})} במצב זמין.`,
|
|
278
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
279
|
-
true: () => `נכנס לקבוצה ${args.groupTitle}, עם ${formatter.plural(args.groupCount, {
|
|
280
|
-
one: () => `אפשרות ${formatter.number(args.groupCount)}`,
|
|
281
|
-
other: () => `${formatter.number(args.groupCount)} אפשרויות`
|
|
282
|
-
})}. `,
|
|
283
|
-
other: ``
|
|
284
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
285
|
-
true: `, נבחר`,
|
|
286
|
-
other: ``
|
|
287
|
-
}, args.isSelected)}`,
|
|
288
|
-
"listboxLabel": `הצעות`,
|
|
289
|
-
"selectedAnnouncement": (args) => `${args.optionText}, נבחר`
|
|
290
|
-
};
|
|
291
|
-
var $2d125e0b34676352$exports = {};
|
|
292
|
-
$2d125e0b34676352$exports = {
|
|
293
|
-
"buttonLabel": `Prikaži prijedloge`,
|
|
294
|
-
"countAnnouncement": (args, formatter) => `Dostupno još: ${formatter.plural(args.optionCount, {
|
|
295
|
-
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
296
|
-
other: () => `${formatter.number(args.optionCount)} opcije/a`
|
|
297
|
-
})}.`,
|
|
298
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
299
|
-
true: () => `Unesena skupina ${args.groupTitle}, s ${formatter.plural(args.groupCount, {
|
|
300
|
-
one: () => `${formatter.number(args.groupCount)} opcijom`,
|
|
301
|
-
other: () => `${formatter.number(args.groupCount)} opcije/a`
|
|
302
|
-
})}. `,
|
|
303
|
-
other: ``
|
|
304
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
305
|
-
true: `, odabranih`,
|
|
306
|
-
other: ``
|
|
307
|
-
}, args.isSelected)}`,
|
|
308
|
-
"listboxLabel": `Prijedlozi`,
|
|
309
|
-
"selectedAnnouncement": (args) => `${args.optionText}, odabrano`
|
|
310
|
-
};
|
|
311
|
-
var $ea029611d7634059$exports = {};
|
|
312
|
-
$ea029611d7634059$exports = {
|
|
313
|
-
"buttonLabel": `Javaslatok megjelenítése`,
|
|
314
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
315
|
-
one: () => `${formatter.number(args.optionCount)} lehetőség`,
|
|
316
|
-
other: () => `${formatter.number(args.optionCount)} lehetőség`
|
|
317
|
-
})} áll rendelkezésre.`,
|
|
318
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
319
|
-
true: () => `Belépett a(z) ${args.groupTitle} csoportba, amely ${formatter.plural(args.groupCount, {
|
|
320
|
-
one: () => `${formatter.number(args.groupCount)} lehetőséget`,
|
|
321
|
-
other: () => `${formatter.number(args.groupCount)} lehetőséget`
|
|
322
|
-
})} tartalmaz. `,
|
|
323
|
-
other: ``
|
|
324
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
325
|
-
true: `, kijelölve`,
|
|
326
|
-
other: ``
|
|
327
|
-
}, args.isSelected)}`,
|
|
328
|
-
"listboxLabel": `Javaslatok`,
|
|
329
|
-
"selectedAnnouncement": (args) => `${args.optionText}, kijelölve`
|
|
330
|
-
};
|
|
331
|
-
var $77f075bb86ad7091$exports = {};
|
|
332
|
-
$77f075bb86ad7091$exports = {
|
|
333
|
-
"buttonLabel": `Mostra suggerimenti`,
|
|
334
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
335
|
-
one: () => `${formatter.number(args.optionCount)} opzione disponibile`,
|
|
336
|
-
other: () => `${formatter.number(args.optionCount)} opzioni disponibili`
|
|
337
|
-
})}.`,
|
|
338
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
339
|
-
true: () => `Ingresso nel gruppo ${args.groupTitle}, con ${formatter.plural(args.groupCount, {
|
|
340
|
-
one: () => `${formatter.number(args.groupCount)} opzione`,
|
|
341
|
-
other: () => `${formatter.number(args.groupCount)} opzioni`
|
|
342
|
-
})}. `,
|
|
343
|
-
other: ``
|
|
344
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
345
|
-
true: `, selezionato`,
|
|
346
|
-
other: ``
|
|
347
|
-
}, args.isSelected)}`,
|
|
348
|
-
"listboxLabel": `Suggerimenti`,
|
|
349
|
-
"selectedAnnouncement": (args) => `${args.optionText}, selezionato`
|
|
350
|
-
};
|
|
351
|
-
var $6e87462e84907983$exports = {};
|
|
352
|
-
$6e87462e84907983$exports = {
|
|
353
|
-
"buttonLabel": `候補を表示`,
|
|
354
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
355
|
-
one: () => `${formatter.number(args.optionCount)} 個のオプション`,
|
|
356
|
-
other: () => `${formatter.number(args.optionCount)} 個のオプション`
|
|
357
|
-
})}を利用できます。`,
|
|
358
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
359
|
-
true: () => `入力されたグループ ${args.groupTitle}、${formatter.plural(args.groupCount, {
|
|
360
|
-
one: () => `${formatter.number(args.groupCount)} 個のオプション`,
|
|
361
|
-
other: () => `${formatter.number(args.groupCount)} 個のオプション`
|
|
362
|
-
})}を含む。`,
|
|
363
|
-
other: ``
|
|
364
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
365
|
-
true: `、選択済み`,
|
|
366
|
-
other: ``
|
|
367
|
-
}, args.isSelected)}`,
|
|
368
|
-
"listboxLabel": `候補`,
|
|
369
|
-
"selectedAnnouncement": (args) => `${args.optionText}、選択済み`
|
|
370
|
-
};
|
|
371
|
-
var $9246f2c6edc6b232$exports = {};
|
|
372
|
-
$9246f2c6edc6b232$exports = {
|
|
373
|
-
"buttonLabel": `제안 사항 표시`,
|
|
374
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
375
|
-
one: () => `${formatter.number(args.optionCount)}개 옵션`,
|
|
376
|
-
other: () => `${formatter.number(args.optionCount)}개 옵션`
|
|
377
|
-
})}을 사용할 수 있습니다.`,
|
|
378
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
379
|
-
true: () => `입력한 그룹 ${args.groupTitle}, ${formatter.plural(args.groupCount, {
|
|
380
|
-
one: () => `${formatter.number(args.groupCount)}개 옵션`,
|
|
381
|
-
other: () => `${formatter.number(args.groupCount)}개 옵션`
|
|
382
|
-
})}. `,
|
|
383
|
-
other: ``
|
|
384
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
385
|
-
true: `, 선택됨`,
|
|
386
|
-
other: ``
|
|
387
|
-
}, args.isSelected)}`,
|
|
388
|
-
"listboxLabel": `제안`,
|
|
389
|
-
"selectedAnnouncement": (args) => `${args.optionText}, 선택됨`
|
|
390
|
-
};
|
|
391
|
-
var $e587accc6c0a434c$exports = {};
|
|
392
|
-
$e587accc6c0a434c$exports = {
|
|
393
|
-
"buttonLabel": `Rodyti pasiūlymus`,
|
|
394
|
-
"countAnnouncement": (args, formatter) => `Yra ${formatter.plural(args.optionCount, {
|
|
395
|
-
one: () => `${formatter.number(args.optionCount)} parinktis`,
|
|
396
|
-
other: () => `${formatter.number(args.optionCount)} parinktys (-ių)`
|
|
397
|
-
})}.`,
|
|
398
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
399
|
-
true: () => `Įvesta grupė ${args.groupTitle}, su ${formatter.plural(args.groupCount, {
|
|
400
|
-
one: () => `${formatter.number(args.groupCount)} parinktimi`,
|
|
401
|
-
other: () => `${formatter.number(args.groupCount)} parinktimis (-ių)`
|
|
402
|
-
})}. `,
|
|
403
|
-
other: ``
|
|
404
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
405
|
-
true: `, pasirinkta`,
|
|
406
|
-
other: ``
|
|
407
|
-
}, args.isSelected)}`,
|
|
408
|
-
"listboxLabel": `Pasiūlymai`,
|
|
409
|
-
"selectedAnnouncement": (args) => `${args.optionText}, pasirinkta`
|
|
410
|
-
};
|
|
411
|
-
var $03a1900e7400b5ab$exports = {};
|
|
412
|
-
$03a1900e7400b5ab$exports = {
|
|
413
|
-
"buttonLabel": `Rādīt ieteikumus`,
|
|
414
|
-
"countAnnouncement": (args, formatter) => `Pieejamo opciju skaits: ${formatter.plural(args.optionCount, {
|
|
415
|
-
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
416
|
-
other: () => `${formatter.number(args.optionCount)} opcijas`
|
|
417
|
-
})}.`,
|
|
418
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
419
|
-
true: () => `Ievadīta grupa ${args.groupTitle}, ar ${formatter.plural(args.groupCount, {
|
|
420
|
-
one: () => `${formatter.number(args.groupCount)} opciju`,
|
|
421
|
-
other: () => `${formatter.number(args.groupCount)} opcijām`
|
|
422
|
-
})}. `,
|
|
423
|
-
other: ``
|
|
424
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
425
|
-
true: `, atlasīta`,
|
|
426
|
-
other: ``
|
|
427
|
-
}, args.isSelected)}`,
|
|
428
|
-
"listboxLabel": `Ieteikumi`,
|
|
429
|
-
"selectedAnnouncement": (args) => `${args.optionText}, atlasīta`
|
|
430
|
-
};
|
|
431
|
-
var $1387676441be6cf6$exports = {};
|
|
432
|
-
$1387676441be6cf6$exports = {
|
|
433
|
-
"buttonLabel": `Vis forslag`,
|
|
434
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
435
|
-
one: () => `${formatter.number(args.optionCount)} alternativ`,
|
|
436
|
-
other: () => `${formatter.number(args.optionCount)} alternativer`
|
|
437
|
-
})} finnes.`,
|
|
438
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
439
|
-
true: () => `Angitt gruppe ${args.groupTitle}, med ${formatter.plural(args.groupCount, {
|
|
440
|
-
one: () => `${formatter.number(args.groupCount)} alternativ`,
|
|
441
|
-
other: () => `${formatter.number(args.groupCount)} alternativer`
|
|
442
|
-
})}. `,
|
|
443
|
-
other: ``
|
|
444
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
445
|
-
true: `, valgt`,
|
|
446
|
-
other: ``
|
|
447
|
-
}, args.isSelected)}`,
|
|
448
|
-
"listboxLabel": `Forslag`,
|
|
449
|
-
"selectedAnnouncement": (args) => `${args.optionText}, valgt`
|
|
450
|
-
};
|
|
451
|
-
var $17e82ebf0f8ab91f$exports = {};
|
|
452
|
-
$17e82ebf0f8ab91f$exports = {
|
|
453
|
-
"buttonLabel": `Suggesties weergeven`,
|
|
454
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
455
|
-
one: () => `${formatter.number(args.optionCount)} optie`,
|
|
456
|
-
other: () => `${formatter.number(args.optionCount)} opties`
|
|
457
|
-
})} beschikbaar.`,
|
|
458
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
459
|
-
true: () => `Groep ${args.groupTitle} ingevoerd met ${formatter.plural(args.groupCount, {
|
|
460
|
-
one: () => `${formatter.number(args.groupCount)} optie`,
|
|
461
|
-
other: () => `${formatter.number(args.groupCount)} opties`
|
|
462
|
-
})}. `,
|
|
463
|
-
other: ``
|
|
464
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
465
|
-
true: `, geselecteerd`,
|
|
466
|
-
other: ``
|
|
467
|
-
}, args.isSelected)}`,
|
|
468
|
-
"listboxLabel": `Suggesties`,
|
|
469
|
-
"selectedAnnouncement": (args) => `${args.optionText}, geselecteerd`
|
|
470
|
-
};
|
|
471
|
-
var $2f5377d3471630e5$exports = {};
|
|
472
|
-
$2f5377d3471630e5$exports = {
|
|
473
|
-
"buttonLabel": `Wyświetlaj sugestie`,
|
|
474
|
-
"countAnnouncement": (args, formatter) => `dostępna/dostępne(-nych) ${formatter.plural(args.optionCount, {
|
|
475
|
-
one: () => `${formatter.number(args.optionCount)} opcja`,
|
|
476
|
-
other: () => `${formatter.number(args.optionCount)} opcje(-i)`
|
|
477
|
-
})}.`,
|
|
478
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
479
|
-
true: () => `Dołączono do grupy ${args.groupTitle}, z ${formatter.plural(args.groupCount, {
|
|
480
|
-
one: () => `${formatter.number(args.groupCount)} opcją`,
|
|
481
|
-
other: () => `${formatter.number(args.groupCount)} opcjami`
|
|
482
|
-
})}. `,
|
|
483
|
-
other: ``
|
|
484
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
485
|
-
true: `, wybrano`,
|
|
486
|
-
other: ``
|
|
487
|
-
}, args.isSelected)}`,
|
|
488
|
-
"listboxLabel": `Sugestie`,
|
|
489
|
-
"selectedAnnouncement": (args) => `${args.optionText}, wybrano`
|
|
490
|
-
};
|
|
491
|
-
var $dee9868b6fa95ffe$exports = {};
|
|
492
|
-
$dee9868b6fa95ffe$exports = {
|
|
493
|
-
"buttonLabel": `Mostrar sugestões`,
|
|
494
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
495
|
-
one: () => `${formatter.number(args.optionCount)} opção`,
|
|
496
|
-
other: () => `${formatter.number(args.optionCount)} opções`
|
|
497
|
-
})} disponível.`,
|
|
498
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
499
|
-
true: () => `Grupo inserido ${args.groupTitle}, com ${formatter.plural(args.groupCount, {
|
|
500
|
-
one: () => `${formatter.number(args.groupCount)} opção`,
|
|
501
|
-
other: () => `${formatter.number(args.groupCount)} opções`
|
|
502
|
-
})}. `,
|
|
503
|
-
other: ``
|
|
504
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
505
|
-
true: `, selecionado`,
|
|
506
|
-
other: ``
|
|
507
|
-
}, args.isSelected)}`,
|
|
508
|
-
"listboxLabel": `Sugestões`,
|
|
509
|
-
"selectedAnnouncement": (args) => `${args.optionText}, selecionado`
|
|
510
|
-
};
|
|
511
|
-
var $f8b2e63637cbb5a6$exports = {};
|
|
512
|
-
$f8b2e63637cbb5a6$exports = {
|
|
513
|
-
"buttonLabel": `Apresentar sugestões`,
|
|
514
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
515
|
-
one: () => `${formatter.number(args.optionCount)} opção`,
|
|
516
|
-
other: () => `${formatter.number(args.optionCount)} opções`
|
|
517
|
-
})} disponível.`,
|
|
518
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
519
|
-
true: () => `Grupo introduzido ${args.groupTitle}, com ${formatter.plural(args.groupCount, {
|
|
520
|
-
one: () => `${formatter.number(args.groupCount)} opção`,
|
|
521
|
-
other: () => `${formatter.number(args.groupCount)} opções`
|
|
522
|
-
})}. `,
|
|
523
|
-
other: ``
|
|
524
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
525
|
-
true: `, selecionado`,
|
|
526
|
-
other: ``
|
|
527
|
-
}, args.isSelected)}`,
|
|
528
|
-
"listboxLabel": `Sugestões`,
|
|
529
|
-
"selectedAnnouncement": (args) => `${args.optionText}, selecionado`
|
|
530
|
-
};
|
|
531
|
-
var $46a885db3b44ea95$exports = {};
|
|
532
|
-
$46a885db3b44ea95$exports = {
|
|
533
|
-
"buttonLabel": `Afișare sugestii`,
|
|
534
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
535
|
-
one: () => `${formatter.number(args.optionCount)} opțiune`,
|
|
536
|
-
other: () => `${formatter.number(args.optionCount)} opțiuni`
|
|
537
|
-
})} disponibile.`,
|
|
538
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
539
|
-
true: () => `Grup ${args.groupTitle} introdus, cu ${formatter.plural(args.groupCount, {
|
|
540
|
-
one: () => `${formatter.number(args.groupCount)} opțiune`,
|
|
541
|
-
other: () => `${formatter.number(args.groupCount)} opțiuni`
|
|
542
|
-
})}. `,
|
|
543
|
-
other: ``
|
|
544
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
545
|
-
true: `, selectat`,
|
|
546
|
-
other: ``
|
|
547
|
-
}, args.isSelected)}`,
|
|
548
|
-
"listboxLabel": `Sugestii`,
|
|
549
|
-
"selectedAnnouncement": (args) => `${args.optionText}, selectat`
|
|
550
|
-
};
|
|
551
|
-
var $50d8a8f0afa9dee5$exports = {};
|
|
552
|
-
$50d8a8f0afa9dee5$exports = {
|
|
553
|
-
"buttonLabel": `Показать предложения`,
|
|
554
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
555
|
-
one: () => `${formatter.number(args.optionCount)} параметр`,
|
|
556
|
-
other: () => `${formatter.number(args.optionCount)} параметров`
|
|
557
|
-
})} доступно.`,
|
|
558
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
559
|
-
true: () => `Введенная группа ${args.groupTitle}, с ${formatter.plural(args.groupCount, {
|
|
560
|
-
one: () => `${formatter.number(args.groupCount)} параметром`,
|
|
561
|
-
other: () => `${formatter.number(args.groupCount)} параметрами`
|
|
562
|
-
})}. `,
|
|
563
|
-
other: ``
|
|
564
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
565
|
-
true: `, выбранными`,
|
|
566
|
-
other: ``
|
|
567
|
-
}, args.isSelected)}`,
|
|
568
|
-
"listboxLabel": `Предложения`,
|
|
569
|
-
"selectedAnnouncement": (args) => `${args.optionText}, выбрано`
|
|
570
|
-
};
|
|
571
|
-
var $2867ee6173245507$exports = {};
|
|
572
|
-
$2867ee6173245507$exports = {
|
|
573
|
-
"buttonLabel": `Zobraziť návrhy`,
|
|
574
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
575
|
-
one: () => `${formatter.number(args.optionCount)} možnosť`,
|
|
576
|
-
other: () => `${formatter.number(args.optionCount)} možnosti/-í`
|
|
577
|
-
})} k dispozícii.`,
|
|
578
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
579
|
-
true: () => `Zadaná skupina ${args.groupTitle}, s ${formatter.plural(args.groupCount, {
|
|
580
|
-
one: () => `${formatter.number(args.groupCount)} možnosťou`,
|
|
581
|
-
other: () => `${formatter.number(args.groupCount)} možnosťami`
|
|
582
|
-
})}. `,
|
|
583
|
-
other: ``
|
|
584
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
585
|
-
true: `, vybraté`,
|
|
586
|
-
other: ``
|
|
587
|
-
}, args.isSelected)}`,
|
|
588
|
-
"listboxLabel": `Návrhy`,
|
|
589
|
-
"selectedAnnouncement": (args) => `${args.optionText}, vybraté`
|
|
590
|
-
};
|
|
591
|
-
var $0631b65beeb09b50$exports = {};
|
|
592
|
-
$0631b65beeb09b50$exports = {
|
|
593
|
-
"buttonLabel": `Prikaži predloge`,
|
|
594
|
-
"countAnnouncement": (args, formatter) => `Na voljo je ${formatter.plural(args.optionCount, {
|
|
595
|
-
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
596
|
-
other: () => `${formatter.number(args.optionCount)} opcije`
|
|
597
|
-
})}.`,
|
|
598
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
599
|
-
true: () => `Vnesena skupina ${args.groupTitle}, z ${formatter.plural(args.groupCount, {
|
|
600
|
-
one: () => `${formatter.number(args.groupCount)} opcija`,
|
|
601
|
-
other: () => `${formatter.number(args.groupCount)} opcije`
|
|
602
|
-
})}. `,
|
|
603
|
-
other: ``
|
|
604
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
605
|
-
true: `, izbrano`,
|
|
606
|
-
other: ``
|
|
607
|
-
}, args.isSelected)}`,
|
|
608
|
-
"listboxLabel": `Predlogi`,
|
|
609
|
-
"selectedAnnouncement": (args) => `${args.optionText}, izbrano`
|
|
610
|
-
};
|
|
611
|
-
var $65fc749265dcd686$exports = {};
|
|
612
|
-
$65fc749265dcd686$exports = {
|
|
613
|
-
"buttonLabel": `Prikaži predloge`,
|
|
614
|
-
"countAnnouncement": (args, formatter) => `Dostupno još: ${formatter.plural(args.optionCount, {
|
|
615
|
-
one: () => `${formatter.number(args.optionCount)} opcija`,
|
|
616
|
-
other: () => `${formatter.number(args.optionCount)} opcije/a`
|
|
617
|
-
})}.`,
|
|
618
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
619
|
-
true: () => `Unesena grupa ${args.groupTitle}, s ${formatter.plural(args.groupCount, {
|
|
620
|
-
one: () => `${formatter.number(args.groupCount)} opcijom`,
|
|
621
|
-
other: () => `${formatter.number(args.groupCount)} optione/a`
|
|
622
|
-
})}. `,
|
|
623
|
-
other: ``
|
|
624
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
625
|
-
true: `, izabranih`,
|
|
626
|
-
other: ``
|
|
627
|
-
}, args.isSelected)}`,
|
|
628
|
-
"listboxLabel": `Predlozi`,
|
|
629
|
-
"selectedAnnouncement": (args) => `${args.optionText}, izabrano`
|
|
630
|
-
};
|
|
631
|
-
var $69ba655c7853c08e$exports = {};
|
|
632
|
-
$69ba655c7853c08e$exports = {
|
|
633
|
-
"buttonLabel": `Visa förslag`,
|
|
634
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
635
|
-
one: () => `${formatter.number(args.optionCount)} alternativ`,
|
|
636
|
-
other: () => `${formatter.number(args.optionCount)} alternativ`
|
|
637
|
-
})} tillgängliga.`,
|
|
638
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
639
|
-
true: () => `Ingick i gruppen ${args.groupTitle} med ${formatter.plural(args.groupCount, {
|
|
640
|
-
one: () => `${formatter.number(args.groupCount)} alternativ`,
|
|
641
|
-
other: () => `${formatter.number(args.groupCount)} alternativ`
|
|
642
|
-
})}. `,
|
|
643
|
-
other: ``
|
|
644
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
645
|
-
true: `, valda`,
|
|
646
|
-
other: ``
|
|
647
|
-
}, args.isSelected)}`,
|
|
648
|
-
"listboxLabel": `Förslag`,
|
|
649
|
-
"selectedAnnouncement": (args) => `${args.optionText}, valda`
|
|
650
|
-
};
|
|
651
|
-
var $a79794784d61577c$exports = {};
|
|
652
|
-
$a79794784d61577c$exports = {
|
|
653
|
-
"buttonLabel": `Önerileri göster`,
|
|
654
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
655
|
-
one: () => `${formatter.number(args.optionCount)} seçenek`,
|
|
656
|
-
other: () => `${formatter.number(args.optionCount)} seçenekler`
|
|
657
|
-
})} kullanılabilir.`,
|
|
658
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
659
|
-
true: () => `Girilen grup ${args.groupTitle}, ile ${formatter.plural(args.groupCount, {
|
|
660
|
-
one: () => `${formatter.number(args.groupCount)} seçenek`,
|
|
661
|
-
other: () => `${formatter.number(args.groupCount)} seçenekler`
|
|
662
|
-
})}. `,
|
|
663
|
-
other: ``
|
|
664
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
665
|
-
true: `, seçildi`,
|
|
666
|
-
other: ``
|
|
667
|
-
}, args.isSelected)}`,
|
|
668
|
-
"listboxLabel": `Öneriler`,
|
|
669
|
-
"selectedAnnouncement": (args) => `${args.optionText}, seçildi`
|
|
670
|
-
};
|
|
671
|
-
var $c2845791417ebaf4$exports = {};
|
|
672
|
-
$c2845791417ebaf4$exports = {
|
|
673
|
-
"buttonLabel": `Показати пропозиції`,
|
|
674
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
675
|
-
one: () => `${formatter.number(args.optionCount)} параметр`,
|
|
676
|
-
other: () => `${formatter.number(args.optionCount)} параметри(-ів)`
|
|
677
|
-
})} доступно.`,
|
|
678
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
679
|
-
true: () => `Введена група ${args.groupTitle}, з ${formatter.plural(args.groupCount, {
|
|
680
|
-
one: () => `${formatter.number(args.groupCount)} параметр`,
|
|
681
|
-
other: () => `${formatter.number(args.groupCount)} параметри(-ів)`
|
|
682
|
-
})}. `,
|
|
683
|
-
other: ``
|
|
684
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
685
|
-
true: `, вибрано`,
|
|
686
|
-
other: ``
|
|
687
|
-
}, args.isSelected)}`,
|
|
688
|
-
"listboxLabel": `Пропозиції`,
|
|
689
|
-
"selectedAnnouncement": (args) => `${args.optionText}, вибрано`
|
|
690
|
-
};
|
|
691
|
-
var $29b642d0025cc7a4$exports = {};
|
|
692
|
-
$29b642d0025cc7a4$exports = {
|
|
693
|
-
"buttonLabel": `显示建议`,
|
|
694
|
-
"countAnnouncement": (args, formatter) => `有 ${formatter.plural(args.optionCount, {
|
|
695
|
-
one: () => `${formatter.number(args.optionCount)} 个选项`,
|
|
696
|
-
other: () => `${formatter.number(args.optionCount)} 个选项`
|
|
697
|
-
})}可用。`,
|
|
698
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
699
|
-
true: () => `进入了 ${args.groupTitle} 组,其中有 ${formatter.plural(args.groupCount, {
|
|
700
|
-
one: () => `${formatter.number(args.groupCount)} 个选项`,
|
|
701
|
-
other: () => `${formatter.number(args.groupCount)} 个选项`
|
|
702
|
-
})}. `,
|
|
703
|
-
other: ``
|
|
704
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
705
|
-
true: `, 已选择`,
|
|
706
|
-
other: ``
|
|
707
|
-
}, args.isSelected)}`,
|
|
708
|
-
"listboxLabel": `建议`,
|
|
709
|
-
"selectedAnnouncement": (args) => `${args.optionText}, 已选择`
|
|
710
|
-
};
|
|
711
|
-
var $cd36dd33f9d46936$exports = {};
|
|
712
|
-
$cd36dd33f9d46936$exports = {
|
|
713
|
-
"buttonLabel": `顯示建議`,
|
|
714
|
-
"countAnnouncement": (args, formatter) => `${formatter.plural(args.optionCount, {
|
|
715
|
-
one: () => `${formatter.number(args.optionCount)} 選項`,
|
|
716
|
-
other: () => `${formatter.number(args.optionCount)} 選項`
|
|
717
|
-
})} 可用。`,
|
|
718
|
-
"focusAnnouncement": (args, formatter) => `${formatter.select({
|
|
719
|
-
true: () => `輸入的群組 ${args.groupTitle}, 有 ${formatter.plural(args.groupCount, {
|
|
720
|
-
one: () => `${formatter.number(args.groupCount)} 選項`,
|
|
721
|
-
other: () => `${formatter.number(args.groupCount)} 選項`
|
|
722
|
-
})}. `,
|
|
723
|
-
other: ``
|
|
724
|
-
}, args.isGroupChange)}${args.optionText}${formatter.select({
|
|
725
|
-
true: `, 已選取`,
|
|
726
|
-
other: ``
|
|
727
|
-
}, args.isSelected)}`,
|
|
728
|
-
"listboxLabel": `建議`,
|
|
729
|
-
"selectedAnnouncement": (args) => `${args.optionText}, 已選取`
|
|
730
|
-
};
|
|
731
|
-
var $de5926a92e8ebc5b$exports = {};
|
|
732
|
-
$de5926a92e8ebc5b$exports = {
|
|
733
|
-
"ar-AE": $02cb4c75c506befe$exports,
|
|
734
|
-
"bg-BG": $568b8163f1e56faf$exports,
|
|
735
|
-
"cs-CZ": $87581c0202d106b8$exports,
|
|
736
|
-
"da-DK": $a10a0369f5433ed1$exports,
|
|
737
|
-
"de-DE": $bfd288727d5cb166$exports,
|
|
738
|
-
"el-GR": $ca177778f9a74e3c$exports,
|
|
739
|
-
"en-US": $9b5aa79ef84beb6c$exports,
|
|
740
|
-
"es-ES": $57968e8209de2557$exports,
|
|
741
|
-
"et-EE": $60690790bf4c1c6a$exports,
|
|
742
|
-
"fi-FI": $1101246e8c7d9357$exports,
|
|
743
|
-
"fr-FR": $6404b5cb5b241730$exports,
|
|
744
|
-
"he-IL": $dfeafa702e92e31f$exports,
|
|
745
|
-
"hr-HR": $2d125e0b34676352$exports,
|
|
746
|
-
"hu-HU": $ea029611d7634059$exports,
|
|
747
|
-
"it-IT": $77f075bb86ad7091$exports,
|
|
748
|
-
"ja-JP": $6e87462e84907983$exports,
|
|
749
|
-
"ko-KR": $9246f2c6edc6b232$exports,
|
|
750
|
-
"lt-LT": $e587accc6c0a434c$exports,
|
|
751
|
-
"lv-LV": $03a1900e7400b5ab$exports,
|
|
752
|
-
"nb-NO": $1387676441be6cf6$exports,
|
|
753
|
-
"nl-NL": $17e82ebf0f8ab91f$exports,
|
|
754
|
-
"pl-PL": $2f5377d3471630e5$exports,
|
|
755
|
-
"pt-BR": $dee9868b6fa95ffe$exports,
|
|
756
|
-
"pt-PT": $f8b2e63637cbb5a6$exports,
|
|
757
|
-
"ro-RO": $46a885db3b44ea95$exports,
|
|
758
|
-
"ru-RU": $50d8a8f0afa9dee5$exports,
|
|
759
|
-
"sk-SK": $2867ee6173245507$exports,
|
|
760
|
-
"sl-SI": $0631b65beeb09b50$exports,
|
|
761
|
-
"sr-SP": $65fc749265dcd686$exports,
|
|
762
|
-
"sv-SE": $69ba655c7853c08e$exports,
|
|
763
|
-
"tr-TR": $a79794784d61577c$exports,
|
|
764
|
-
"uk-UA": $c2845791417ebaf4$exports,
|
|
765
|
-
"zh-CN": $29b642d0025cc7a4$exports,
|
|
766
|
-
"zh-TW": $cd36dd33f9d46936$exports
|
|
767
|
-
};
|
|
768
|
-
function $parcel$interopDefault(a) {
|
|
769
|
-
return a && a.__esModule ? a.default : a;
|
|
770
|
-
}
|
|
771
|
-
function $c350ade66beef0af$export$8c18d1b4f7232bbf(props, state) {
|
|
772
|
-
let { buttonRef, popoverRef, inputRef, listBoxRef, keyboardDelegate, layoutDelegate, shouldFocusWrap, isReadOnly, isDisabled } = props;
|
|
773
|
-
let backupBtnRef = useRef(null);
|
|
774
|
-
buttonRef = buttonRef !== null && buttonRef !== void 0 ? buttonRef : backupBtnRef;
|
|
775
|
-
let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($de5926a92e8ebc5b$exports), "@react-aria/combobox");
|
|
776
|
-
let { menuTriggerProps, menuProps } = $168583247155ddda$export$dc9c12ed27dd1b49({
|
|
777
|
-
type: "listbox",
|
|
778
|
-
isDisabled: isDisabled || isReadOnly
|
|
779
|
-
}, state, buttonRef);
|
|
780
|
-
$b1f0cad8af73213b$export$3585ede4d035bf14.set(state, {
|
|
781
|
-
id: menuProps.id
|
|
782
|
-
});
|
|
783
|
-
let { collection } = state;
|
|
784
|
-
let { disabledKeys } = state.selectionManager;
|
|
785
|
-
let delegate = useMemo(() => keyboardDelegate || new $2a25aae57d74318e$export$a05409b8bb224a5a({
|
|
786
|
-
collection,
|
|
787
|
-
disabledKeys,
|
|
788
|
-
ref: listBoxRef,
|
|
789
|
-
layoutDelegate
|
|
790
|
-
}), [
|
|
791
|
-
keyboardDelegate,
|
|
792
|
-
layoutDelegate,
|
|
793
|
-
collection,
|
|
794
|
-
disabledKeys,
|
|
795
|
-
listBoxRef
|
|
796
|
-
]);
|
|
797
|
-
let { collectionProps } = $ae20dd8cbca75726$export$d6daf82dcd84e87c({
|
|
798
|
-
selectionManager: state.selectionManager,
|
|
799
|
-
keyboardDelegate: delegate,
|
|
800
|
-
disallowTypeAhead: true,
|
|
801
|
-
disallowEmptySelection: true,
|
|
802
|
-
shouldFocusWrap,
|
|
803
|
-
ref: inputRef,
|
|
804
|
-
// Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
|
|
805
|
-
isVirtualized: true
|
|
806
|
-
});
|
|
807
|
-
let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
|
|
808
|
-
let onKeyDown = (e) => {
|
|
809
|
-
if (e.nativeEvent.isComposing) return;
|
|
810
|
-
switch (e.key) {
|
|
811
|
-
case "Enter":
|
|
812
|
-
case "Tab":
|
|
813
|
-
if (state.isOpen && e.key === "Enter") e.preventDefault();
|
|
814
|
-
if (state.isOpen && listBoxRef.current && state.selectionManager.focusedKey != null) {
|
|
815
|
-
let collectionItem = state.collection.getItem(state.selectionManager.focusedKey);
|
|
816
|
-
if (collectionItem === null || collectionItem === void 0 ? void 0 : collectionItem.props.href) {
|
|
817
|
-
let item = listBoxRef.current.querySelector(`[data-key="${CSS.escape(state.selectionManager.focusedKey.toString())}"]`);
|
|
818
|
-
if (e.key === "Enter" && item instanceof HTMLAnchorElement) router.open(item, e, collectionItem.props.href, collectionItem.props.routerOptions);
|
|
819
|
-
state.close();
|
|
820
|
-
break;
|
|
821
|
-
} else if (collectionItem === null || collectionItem === void 0 ? void 0 : collectionItem.props.onAction) {
|
|
822
|
-
collectionItem.props.onAction();
|
|
823
|
-
state.close();
|
|
824
|
-
break;
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
state.commit();
|
|
828
|
-
break;
|
|
829
|
-
case "Escape":
|
|
830
|
-
if (!state.selectionManager.isEmpty || state.inputValue === "" || props.allowsCustomValue) e.continuePropagation();
|
|
831
|
-
state.revert();
|
|
832
|
-
break;
|
|
833
|
-
case "ArrowDown":
|
|
834
|
-
state.open("first", "manual");
|
|
835
|
-
break;
|
|
836
|
-
case "ArrowUp":
|
|
837
|
-
state.open("last", "manual");
|
|
838
|
-
break;
|
|
839
|
-
case "ArrowLeft":
|
|
840
|
-
case "ArrowRight":
|
|
841
|
-
state.selectionManager.setFocusedKey(null);
|
|
842
|
-
break;
|
|
843
|
-
}
|
|
844
|
-
};
|
|
845
|
-
let onBlur = (e) => {
|
|
846
|
-
let blurFromButton = (buttonRef === null || buttonRef === void 0 ? void 0 : buttonRef.current) && buttonRef.current === e.relatedTarget;
|
|
847
|
-
let blurIntoPopover = $d4ee10de306f2510$export$4282f70798064fe0(popoverRef.current, e.relatedTarget);
|
|
848
|
-
if (blurFromButton || blurIntoPopover) return;
|
|
849
|
-
if (props.onBlur) props.onBlur(e);
|
|
850
|
-
state.setFocused(false);
|
|
851
|
-
};
|
|
852
|
-
let onFocus = (e) => {
|
|
853
|
-
if (state.isFocused) return;
|
|
854
|
-
if (props.onFocus) props.onFocus(e);
|
|
855
|
-
state.setFocused(true);
|
|
856
|
-
};
|
|
857
|
-
let valueId = $c350ade66beef0af$var$useValueId([
|
|
858
|
-
state.selectedItems,
|
|
859
|
-
state.selectionManager.selectionMode
|
|
860
|
-
]);
|
|
861
|
-
let { isInvalid, validationErrors, validationDetails } = state.displayValidation;
|
|
862
|
-
let { labelProps, inputProps, descriptionProps, errorMessageProps } = $2d73ec29415bd339$export$712718f7aec83d5({
|
|
863
|
-
...props,
|
|
864
|
-
onChange: state.setInputValue,
|
|
865
|
-
onKeyDown: !isReadOnly ? $ff5963eb1fccf552$export$e08e3b67e392101e(state.isOpen && collectionProps.onKeyDown, onKeyDown, props.onKeyDown) : props.onKeyDown,
|
|
866
|
-
onBlur,
|
|
867
|
-
value: state.inputValue,
|
|
868
|
-
defaultValue: state.defaultInputValue,
|
|
869
|
-
onFocus,
|
|
870
|
-
autoComplete: "off",
|
|
871
|
-
validate: void 0,
|
|
872
|
-
[$e5be200c675c3b3a$export$a763b9476acd3eb]: state,
|
|
873
|
-
"aria-describedby": [
|
|
874
|
-
valueId,
|
|
875
|
-
props["aria-describedby"]
|
|
876
|
-
].filter(Boolean).join(" ") || void 0
|
|
877
|
-
}, inputRef);
|
|
878
|
-
$99facab73266f662$export$5add1d006293d136(inputRef, state.defaultValue, state.setValue);
|
|
879
|
-
let onPress = (e) => {
|
|
880
|
-
if (e.pointerType === "touch") {
|
|
881
|
-
var _inputRef_current;
|
|
882
|
-
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
|
|
883
|
-
state.toggle(null, "manual");
|
|
884
|
-
}
|
|
885
|
-
};
|
|
886
|
-
let onPressStart = (e) => {
|
|
887
|
-
if (e.pointerType !== "touch") {
|
|
888
|
-
var _inputRef_current;
|
|
889
|
-
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
|
|
890
|
-
state.toggle(e.pointerType === "keyboard" || e.pointerType === "virtual" ? "first" : null, "manual");
|
|
891
|
-
}
|
|
892
|
-
};
|
|
893
|
-
let triggerLabelProps = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
894
|
-
id: menuTriggerProps.id,
|
|
895
|
-
"aria-label": stringFormatter.format("buttonLabel"),
|
|
896
|
-
"aria-labelledby": props["aria-labelledby"] || labelProps.id
|
|
897
|
-
});
|
|
898
|
-
let listBoxProps = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
899
|
-
id: menuProps.id,
|
|
900
|
-
"aria-label": stringFormatter.format("listboxLabel"),
|
|
901
|
-
"aria-labelledby": props["aria-labelledby"] || labelProps.id
|
|
902
|
-
});
|
|
903
|
-
let lastEventTime = useRef(0);
|
|
904
|
-
let onTouchEnd = (e) => {
|
|
905
|
-
if (isDisabled || isReadOnly) return;
|
|
906
|
-
if (e.timeStamp - lastEventTime.current < 500) {
|
|
907
|
-
var _inputRef_current;
|
|
908
|
-
e.preventDefault();
|
|
909
|
-
(_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
|
|
910
|
-
return;
|
|
911
|
-
}
|
|
912
|
-
let rect = $d4ee10de306f2510$export$e58f029f0fbfdb29(e).getBoundingClientRect();
|
|
913
|
-
let touch = e.changedTouches[0];
|
|
914
|
-
let centerX = Math.ceil(rect.left + 0.5 * rect.width);
|
|
915
|
-
let centerY = Math.ceil(rect.top + 0.5 * rect.height);
|
|
916
|
-
if (touch.clientX === centerX && touch.clientY === centerY) {
|
|
917
|
-
var _inputRef_current1;
|
|
918
|
-
e.preventDefault();
|
|
919
|
-
(_inputRef_current1 = inputRef.current) === null || _inputRef_current1 === void 0 ? void 0 : _inputRef_current1.focus();
|
|
920
|
-
state.toggle(null, "manual");
|
|
921
|
-
lastEventTime.current = e.timeStamp;
|
|
922
|
-
}
|
|
923
|
-
};
|
|
924
|
-
let focusedItem = state.selectionManager.focusedKey != null && state.isOpen ? state.collection.getItem(state.selectionManager.focusedKey) : void 0;
|
|
925
|
-
var _focusedItem_parentKey;
|
|
926
|
-
let sectionKey = (_focusedItem_parentKey = focusedItem === null || focusedItem === void 0 ? void 0 : focusedItem.parentKey) !== null && _focusedItem_parentKey !== void 0 ? _focusedItem_parentKey : null;
|
|
927
|
-
var _state_selectionManager_focusedKey;
|
|
928
|
-
let itemKey = (_state_selectionManager_focusedKey = state.selectionManager.focusedKey) !== null && _state_selectionManager_focusedKey !== void 0 ? _state_selectionManager_focusedKey : null;
|
|
929
|
-
let lastSection = useRef(sectionKey);
|
|
930
|
-
let lastItem = useRef(itemKey);
|
|
931
|
-
useEffect(() => {
|
|
932
|
-
if ($c87311424ea30a05$export$e1865c3bedcd822b() && focusedItem != null && itemKey != null && itemKey !== lastItem.current) {
|
|
933
|
-
let isSelected = state.selectionManager.isSelected(itemKey);
|
|
934
|
-
let section = sectionKey != null ? state.collection.getItem(sectionKey) : null;
|
|
935
|
-
let sectionTitle = (section === null || section === void 0 ? void 0 : section["aria-label"]) || (typeof (section === null || section === void 0 ? void 0 : section.rendered) === "string" ? section.rendered : "") || "";
|
|
936
|
-
var _ref;
|
|
937
|
-
let announcement = stringFormatter.format("focusAnnouncement", {
|
|
938
|
-
isGroupChange: (_ref = section && sectionKey !== lastSection.current) !== null && _ref !== void 0 ? _ref : false,
|
|
939
|
-
groupTitle: sectionTitle,
|
|
940
|
-
groupCount: section ? [
|
|
941
|
-
...$c5a24bc478652b5f$export$1005530eda016c13(section, state.collection)
|
|
942
|
-
].length : 0,
|
|
943
|
-
optionText: focusedItem["aria-label"] || focusedItem.textValue || "",
|
|
944
|
-
isSelected
|
|
945
|
-
});
|
|
946
|
-
$319e236875307eab$export$a9b970dcc4ae71a9(announcement);
|
|
947
|
-
}
|
|
948
|
-
lastSection.current = sectionKey;
|
|
949
|
-
lastItem.current = itemKey;
|
|
950
|
-
});
|
|
951
|
-
let optionCount = $453cc9f0df89c0a5$export$77d5aafae4e095b2(state.collection);
|
|
952
|
-
let lastSize = useRef(optionCount);
|
|
953
|
-
let lastOpen = useRef(state.isOpen);
|
|
954
|
-
useEffect(() => {
|
|
955
|
-
let didOpenWithoutFocusedItem = state.isOpen !== lastOpen.current && (state.selectionManager.focusedKey == null || $c87311424ea30a05$export$e1865c3bedcd822b());
|
|
956
|
-
if (state.isOpen && (didOpenWithoutFocusedItem || optionCount !== lastSize.current)) {
|
|
957
|
-
let announcement = stringFormatter.format("countAnnouncement", {
|
|
958
|
-
optionCount
|
|
959
|
-
});
|
|
960
|
-
$319e236875307eab$export$a9b970dcc4ae71a9(announcement);
|
|
961
|
-
}
|
|
962
|
-
lastSize.current = optionCount;
|
|
963
|
-
lastOpen.current = state.isOpen;
|
|
964
|
-
});
|
|
965
|
-
let lastSelectedKey = useRef(state.selectedKey);
|
|
966
|
-
useEffect(() => {
|
|
967
|
-
if ($c87311424ea30a05$export$e1865c3bedcd822b() && state.isFocused && state.selectedItem && state.selectedKey !== lastSelectedKey.current) {
|
|
968
|
-
let optionText = state.selectedItem["aria-label"] || state.selectedItem.textValue || "";
|
|
969
|
-
let announcement = stringFormatter.format("selectedAnnouncement", {
|
|
970
|
-
optionText
|
|
971
|
-
});
|
|
972
|
-
$319e236875307eab$export$a9b970dcc4ae71a9(announcement);
|
|
973
|
-
}
|
|
974
|
-
lastSelectedKey.current = state.selectedKey;
|
|
975
|
-
});
|
|
976
|
-
useEffect(() => {
|
|
977
|
-
if (state.isOpen) return $5e3802645cc19319$export$1c3ebcada18427bf([
|
|
978
|
-
inputRef.current,
|
|
979
|
-
popoverRef.current
|
|
980
|
-
].filter((element) => element != null));
|
|
981
|
-
}, [
|
|
982
|
-
state.isOpen,
|
|
983
|
-
inputRef,
|
|
984
|
-
popoverRef
|
|
985
|
-
]);
|
|
986
|
-
$4f58c5f72bcf79f7$export$496315a1608d9602(() => {
|
|
987
|
-
if (!focusedItem && inputRef.current && $d4ee10de306f2510$export$cd4e5573fbe2b576($431fbd86ca7dc216$export$b204af158042fbac(inputRef.current)) === inputRef.current) $55f9b1ae81f22853$export$2b35b76d2e30e129(inputRef.current, null);
|
|
988
|
-
}, [
|
|
989
|
-
focusedItem
|
|
990
|
-
]);
|
|
991
|
-
$e9faafb641e167db$export$90fc3a17d93f704c(listBoxRef, "react-aria-item-action", state.isOpen ? () => {
|
|
992
|
-
state.close();
|
|
993
|
-
} : void 0);
|
|
994
|
-
$e0b6e0b68ec7f50f$export$872b660ac5a1ff98({
|
|
995
|
-
ref: popoverRef,
|
|
996
|
-
onInteractOutside: (e) => {
|
|
997
|
-
let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
|
|
998
|
-
if ($d4ee10de306f2510$export$4282f70798064fe0(buttonRef === null || buttonRef === void 0 ? void 0 : buttonRef.current, target) || $d4ee10de306f2510$export$4282f70798064fe0(inputRef.current, target)) return;
|
|
999
|
-
state.close();
|
|
1000
|
-
},
|
|
1001
|
-
isDisabled: !state.isOpen
|
|
1002
|
-
});
|
|
1003
|
-
return {
|
|
1004
|
-
labelProps,
|
|
1005
|
-
buttonProps: {
|
|
1006
|
-
...menuTriggerProps,
|
|
1007
|
-
...triggerLabelProps,
|
|
1008
|
-
excludeFromTabOrder: true,
|
|
1009
|
-
preventFocusOnPress: true,
|
|
1010
|
-
onPress,
|
|
1011
|
-
onPressStart,
|
|
1012
|
-
isDisabled: isDisabled || isReadOnly
|
|
1013
|
-
},
|
|
1014
|
-
inputProps: $3ef42575df84b30b$export$9d1611c77c2fe928(inputProps, {
|
|
1015
|
-
role: "combobox",
|
|
1016
|
-
"aria-expanded": menuTriggerProps["aria-expanded"],
|
|
1017
|
-
"aria-controls": state.isOpen ? menuProps.id : void 0,
|
|
1018
|
-
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
1019
|
-
"aria-autocomplete": "list",
|
|
1020
|
-
"aria-activedescendant": focusedItem ? $b1f0cad8af73213b$export$9145995848b05025(state, focusedItem.key) : void 0,
|
|
1021
|
-
onTouchEnd,
|
|
1022
|
-
// This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
|
|
1023
|
-
autoCorrect: "off",
|
|
1024
|
-
// This disable's the macOS Safari spell check auto corrections.
|
|
1025
|
-
spellCheck: "false"
|
|
1026
|
-
}),
|
|
1027
|
-
listBoxProps: $3ef42575df84b30b$export$9d1611c77c2fe928(menuProps, listBoxProps, {
|
|
1028
|
-
autoFocus: state.focusStrategy || true,
|
|
1029
|
-
shouldUseVirtualFocus: true,
|
|
1030
|
-
shouldSelectOnPressUp: true,
|
|
1031
|
-
shouldFocusOnHover: true,
|
|
1032
|
-
linkBehavior: "selection",
|
|
1033
|
-
["UNSTABLE_itemBehavior"]: "action"
|
|
1034
|
-
}),
|
|
1035
|
-
valueProps: {
|
|
1036
|
-
id: valueId
|
|
1037
|
-
},
|
|
1038
|
-
descriptionProps,
|
|
1039
|
-
errorMessageProps,
|
|
1040
|
-
isInvalid,
|
|
1041
|
-
validationErrors,
|
|
1042
|
-
validationDetails
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
function $c350ade66beef0af$var$useValueId(depArray = []) {
|
|
1046
|
-
let id = $bdb11010cef70236$export$f680877a34711e37();
|
|
1047
|
-
let [exists, setExists] = useState(true);
|
|
1048
|
-
let [lastDeps, setLastDeps] = useState(depArray);
|
|
1049
|
-
if (lastDeps.some((v, i) => !Object.is(v, depArray[i]))) {
|
|
1050
|
-
setExists(true);
|
|
1051
|
-
setLastDeps(depArray);
|
|
1052
|
-
}
|
|
1053
|
-
useEffect(() => {
|
|
1054
|
-
if (exists && !document.getElementById(id))
|
|
1055
|
-
setExists(false);
|
|
1056
|
-
}, [
|
|
1057
|
-
id,
|
|
1058
|
-
exists,
|
|
1059
|
-
lastDeps
|
|
1060
|
-
]);
|
|
1061
|
-
return exists ? id : void 0;
|
|
1062
|
-
}
|
|
1063
|
-
const $a9e7382a7d111cb5$var$EMPTY_VALUE = [];
|
|
1064
|
-
function $a9e7382a7d111cb5$export$b453a3bfd4a5fa9e(props) {
|
|
1065
|
-
var _collection_getItem;
|
|
1066
|
-
let { defaultFilter, menuTrigger = "input", allowsEmptyCollection = false, allowsCustomValue, shouldCloseOnBlur = true, selectionMode = "single" } = props;
|
|
1067
|
-
let [showAllItems, setShowAllItems] = useState(false);
|
|
1068
|
-
let [isFocused, setFocusedState] = useState(false);
|
|
1069
|
-
let [focusStrategy, setFocusStrategy] = useState(null);
|
|
1070
|
-
let defaultValue = useMemo(() => {
|
|
1071
|
-
var _props_defaultSelectedKey2;
|
|
1072
|
-
return props.defaultValue !== void 0 ? props.defaultValue : selectionMode === "single" ? (_props_defaultSelectedKey2 = props.defaultSelectedKey) !== null && _props_defaultSelectedKey2 !== void 0 ? _props_defaultSelectedKey2 : null : [];
|
|
1073
|
-
}, [
|
|
1074
|
-
props.defaultValue,
|
|
1075
|
-
props.defaultSelectedKey,
|
|
1076
|
-
selectionMode
|
|
1077
|
-
]);
|
|
1078
|
-
let value = useMemo(() => {
|
|
1079
|
-
return props.value !== void 0 ? props.value : selectionMode === "single" ? props.selectedKey : void 0;
|
|
1080
|
-
}, [
|
|
1081
|
-
props.value,
|
|
1082
|
-
props.selectedKey,
|
|
1083
|
-
selectionMode
|
|
1084
|
-
]);
|
|
1085
|
-
let [controlledValue, setControlledValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(value, defaultValue, props.onChange);
|
|
1086
|
-
let displayValue = selectionMode === "single" && Array.isArray(controlledValue) ? controlledValue[0] : controlledValue;
|
|
1087
|
-
let setValue = (value2) => {
|
|
1088
|
-
if (selectionMode === "single") {
|
|
1089
|
-
var _props_onSelectionChange;
|
|
1090
|
-
var _value_;
|
|
1091
|
-
let key = Array.isArray(value2) ? (_value_ = value2[0]) !== null && _value_ !== void 0 ? _value_ : null : value2;
|
|
1092
|
-
setControlledValue(key);
|
|
1093
|
-
if (key !== displayValue) (_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, key);
|
|
1094
|
-
} else {
|
|
1095
|
-
let keys = [];
|
|
1096
|
-
if (Array.isArray(value2)) keys = value2;
|
|
1097
|
-
else if (value2 != null) keys = [
|
|
1098
|
-
value2
|
|
1099
|
-
];
|
|
1100
|
-
setControlledValue(keys);
|
|
1101
|
-
}
|
|
1102
|
-
};
|
|
1103
|
-
var _props_items;
|
|
1104
|
-
let { collection, selectionManager, disabledKeys } = $e72dd72e1c76a225$export$2f645645f7bca764({
|
|
1105
|
-
...props,
|
|
1106
|
-
items: (_props_items = props.items) !== null && _props_items !== void 0 ? _props_items : props.defaultItems,
|
|
1107
|
-
selectionMode,
|
|
1108
|
-
disallowEmptySelection: selectionMode === "single",
|
|
1109
|
-
allowDuplicateSelectionEvents: true,
|
|
1110
|
-
selectedKeys: useMemo(() => $a9e7382a7d111cb5$var$convertValue(displayValue), [
|
|
1111
|
-
displayValue
|
|
1112
|
-
]),
|
|
1113
|
-
onSelectionChange: (keys) => {
|
|
1114
|
-
if (keys === "all") return;
|
|
1115
|
-
if (selectionMode === "single") {
|
|
1116
|
-
var _keys_values_next_value;
|
|
1117
|
-
let key = (_keys_values_next_value = keys.values().next().value) !== null && _keys_values_next_value !== void 0 ? _keys_values_next_value : null;
|
|
1118
|
-
if (key === displayValue) {
|
|
1119
|
-
var _props_onSelectionChange;
|
|
1120
|
-
(_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, key);
|
|
1121
|
-
resetInputValue();
|
|
1122
|
-
closeMenu();
|
|
1123
|
-
} else setValue(key);
|
|
1124
|
-
} else setValue([
|
|
1125
|
-
...keys
|
|
1126
|
-
]);
|
|
1127
|
-
}
|
|
1128
|
-
});
|
|
1129
|
-
let selectedKey = selectionMode === "single" ? selectionManager.firstSelectedKey : null;
|
|
1130
|
-
let selectedItems = useMemo(() => {
|
|
1131
|
-
return [
|
|
1132
|
-
...selectionManager.selectedKeys
|
|
1133
|
-
].map((key) => collection.getItem(key)).filter((item) => item != null);
|
|
1134
|
-
}, [
|
|
1135
|
-
selectionManager.selectedKeys,
|
|
1136
|
-
collection
|
|
1137
|
-
]);
|
|
1138
|
-
let [inputValue, setInputValue] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.inputValue, $a9e7382a7d111cb5$var$getDefaultInputValue(props.defaultInputValue, selectedKey, collection) || "", props.onInputChange);
|
|
1139
|
-
let [initialValue] = useState(displayValue);
|
|
1140
|
-
let [initialInputValue] = useState(inputValue);
|
|
1141
|
-
let originalCollection = collection;
|
|
1142
|
-
let filteredCollection = useMemo(() => (
|
|
1143
|
-
// No default filter if items are controlled.
|
|
1144
|
-
props.items != null || !defaultFilter ? collection : $a9e7382a7d111cb5$var$filterCollection(collection, inputValue, defaultFilter)
|
|
1145
|
-
), [
|
|
1146
|
-
collection,
|
|
1147
|
-
inputValue,
|
|
1148
|
-
defaultFilter,
|
|
1149
|
-
props.items
|
|
1150
|
-
]);
|
|
1151
|
-
let [lastCollection, setLastCollection] = useState(filteredCollection);
|
|
1152
|
-
let menuOpenTrigger = useRef("focus");
|
|
1153
|
-
let onOpenChange = (open2) => {
|
|
1154
|
-
if (props.onOpenChange) props.onOpenChange(open2, open2 ? menuOpenTrigger.current : void 0);
|
|
1155
|
-
selectionManager.setFocused(open2);
|
|
1156
|
-
if (!open2) selectionManager.setFocusedKey(null);
|
|
1157
|
-
};
|
|
1158
|
-
let triggerState = $fc909762b330b746$export$61c6a8c84e605fb6({
|
|
1159
|
-
...props,
|
|
1160
|
-
onOpenChange,
|
|
1161
|
-
isOpen: void 0,
|
|
1162
|
-
defaultOpen: void 0
|
|
1163
|
-
});
|
|
1164
|
-
let open = (focusStrategy2 = null, trigger) => {
|
|
1165
|
-
let displayAllItems = trigger === "manual" || trigger === "focus" && menuTrigger === "focus";
|
|
1166
|
-
if (allowsEmptyCollection || filteredCollection.size > 0 || displayAllItems && originalCollection.size > 0 || props.items) {
|
|
1167
|
-
if (displayAllItems && !triggerState.isOpen && props.items === void 0)
|
|
1168
|
-
setShowAllItems(true);
|
|
1169
|
-
menuOpenTrigger.current = trigger;
|
|
1170
|
-
setFocusStrategy(focusStrategy2);
|
|
1171
|
-
triggerState.open();
|
|
1172
|
-
}
|
|
1173
|
-
};
|
|
1174
|
-
let toggle = (focusStrategy2 = null, trigger) => {
|
|
1175
|
-
let displayAllItems = trigger === "manual" || trigger === "focus" && menuTrigger === "focus";
|
|
1176
|
-
if (!(allowsEmptyCollection || filteredCollection.size > 0 || displayAllItems && originalCollection.size > 0 || props.items) && !triggerState.isOpen) return;
|
|
1177
|
-
if (displayAllItems && !triggerState.isOpen && props.items === void 0)
|
|
1178
|
-
setShowAllItems(true);
|
|
1179
|
-
if (!triggerState.isOpen) menuOpenTrigger.current = trigger;
|
|
1180
|
-
toggleMenu(focusStrategy2);
|
|
1181
|
-
};
|
|
1182
|
-
let updateLastCollection = useCallback(() => {
|
|
1183
|
-
setLastCollection(showAllItems ? originalCollection : filteredCollection);
|
|
1184
|
-
}, [
|
|
1185
|
-
showAllItems,
|
|
1186
|
-
originalCollection,
|
|
1187
|
-
filteredCollection
|
|
1188
|
-
]);
|
|
1189
|
-
let toggleMenu = useCallback((focusStrategy2 = null) => {
|
|
1190
|
-
if (triggerState.isOpen) updateLastCollection();
|
|
1191
|
-
setFocusStrategy(focusStrategy2);
|
|
1192
|
-
triggerState.toggle();
|
|
1193
|
-
}, [
|
|
1194
|
-
triggerState,
|
|
1195
|
-
updateLastCollection
|
|
1196
|
-
]);
|
|
1197
|
-
let closeMenu = useCallback(() => {
|
|
1198
|
-
if (triggerState.isOpen) {
|
|
1199
|
-
updateLastCollection();
|
|
1200
|
-
triggerState.close();
|
|
1201
|
-
}
|
|
1202
|
-
}, [
|
|
1203
|
-
triggerState,
|
|
1204
|
-
updateLastCollection
|
|
1205
|
-
]);
|
|
1206
|
-
let [lastValue, setLastValue] = useState(inputValue);
|
|
1207
|
-
let resetInputValue = () => {
|
|
1208
|
-
var _collection_getItem2;
|
|
1209
|
-
var _collection_getItem_textValue2;
|
|
1210
|
-
let itemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
1211
|
-
setLastValue(itemText);
|
|
1212
|
-
setInputValue(itemText);
|
|
1213
|
-
};
|
|
1214
|
-
let lastValueRef = useRef(displayValue);
|
|
1215
|
-
var _collection_getItem_textValue;
|
|
1216
|
-
let lastSelectedKeyText = useRef(selectedKey != null ? (_collection_getItem_textValue = (_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.textValue) !== null && _collection_getItem_textValue !== void 0 ? _collection_getItem_textValue : "" : "");
|
|
1217
|
-
useEffect(() => {
|
|
1218
|
-
var _collection_getItem2;
|
|
1219
|
-
if (isFocused && (filteredCollection.size > 0 || allowsEmptyCollection) && !triggerState.isOpen && inputValue !== lastValue && menuTrigger !== "manual") open(null, "input");
|
|
1220
|
-
if (!showAllItems && !allowsEmptyCollection && triggerState.isOpen && filteredCollection.size === 0) closeMenu();
|
|
1221
|
-
if (displayValue != null && displayValue !== lastValueRef.current && selectionMode === "single") closeMenu();
|
|
1222
|
-
if (inputValue !== lastValue) {
|
|
1223
|
-
selectionManager.setFocusedKey(null);
|
|
1224
|
-
setShowAllItems(false);
|
|
1225
|
-
if (selectionMode === "single" && inputValue === "" && (props.inputValue === void 0 || value === void 0)) setValue(null);
|
|
1226
|
-
}
|
|
1227
|
-
if (displayValue !== lastValueRef.current && (props.inputValue === void 0 || value === void 0)) resetInputValue();
|
|
1228
|
-
else if (lastValue !== inputValue) setLastValue(inputValue);
|
|
1229
|
-
var _collection_getItem_textValue2;
|
|
1230
|
-
let selectedItemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
1231
|
-
if (!isFocused && selectedKey != null && props.inputValue === void 0 && selectedKey === lastValueRef.current) {
|
|
1232
|
-
if (lastSelectedKeyText.current !== selectedItemText) {
|
|
1233
|
-
setLastValue(selectedItemText);
|
|
1234
|
-
setInputValue(selectedItemText);
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
lastValueRef.current = displayValue;
|
|
1238
|
-
lastSelectedKeyText.current = selectedItemText;
|
|
1239
|
-
});
|
|
1240
|
-
let validation = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
1241
|
-
...props,
|
|
1242
|
-
value: useMemo(() => Array.isArray(displayValue) && displayValue.length === 0 ? null : {
|
|
1243
|
-
inputValue,
|
|
1244
|
-
value: displayValue,
|
|
1245
|
-
selectedKey
|
|
1246
|
-
}, [
|
|
1247
|
-
inputValue,
|
|
1248
|
-
selectedKey,
|
|
1249
|
-
displayValue
|
|
1250
|
-
])
|
|
1251
|
-
});
|
|
1252
|
-
let revert = () => {
|
|
1253
|
-
if (allowsCustomValue && selectedKey == null) commitCustomValue();
|
|
1254
|
-
else commitSelection();
|
|
1255
|
-
};
|
|
1256
|
-
let commitCustomValue = () => {
|
|
1257
|
-
let value2 = selectionMode === "multiple" ? $a9e7382a7d111cb5$var$EMPTY_VALUE : null;
|
|
1258
|
-
lastValueRef.current = value2;
|
|
1259
|
-
setValue(value2);
|
|
1260
|
-
closeMenu();
|
|
1261
|
-
};
|
|
1262
|
-
let commitSelection = () => {
|
|
1263
|
-
if (value !== void 0 && props.inputValue !== void 0) {
|
|
1264
|
-
var _props_onSelectionChange, _props_onChange, _collection_getItem2;
|
|
1265
|
-
(_props_onSelectionChange = props.onSelectionChange) === null || _props_onSelectionChange === void 0 ? void 0 : _props_onSelectionChange.call(props, selectedKey);
|
|
1266
|
-
(_props_onChange = props.onChange) === null || _props_onChange === void 0 ? void 0 : _props_onChange.call(props, displayValue);
|
|
1267
|
-
var _collection_getItem_textValue2;
|
|
1268
|
-
let itemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
1269
|
-
setLastValue(itemText);
|
|
1270
|
-
closeMenu();
|
|
1271
|
-
} else {
|
|
1272
|
-
resetInputValue();
|
|
1273
|
-
closeMenu();
|
|
1274
|
-
}
|
|
1275
|
-
};
|
|
1276
|
-
const commitValue = () => {
|
|
1277
|
-
if (allowsCustomValue) {
|
|
1278
|
-
var _collection_getItem2;
|
|
1279
|
-
var _collection_getItem_textValue2;
|
|
1280
|
-
const itemText = selectedKey != null ? (_collection_getItem_textValue2 = (_collection_getItem2 = collection.getItem(selectedKey)) === null || _collection_getItem2 === void 0 ? void 0 : _collection_getItem2.textValue) !== null && _collection_getItem_textValue2 !== void 0 ? _collection_getItem_textValue2 : "" : "";
|
|
1281
|
-
inputValue === itemText ? commitSelection() : commitCustomValue();
|
|
1282
|
-
} else
|
|
1283
|
-
commitSelection();
|
|
1284
|
-
};
|
|
1285
|
-
let commit = () => {
|
|
1286
|
-
if (triggerState.isOpen && selectionManager.focusedKey != null) {
|
|
1287
|
-
if (selectionManager.isSelected(selectionManager.focusedKey) && selectionMode === "single") commitSelection();
|
|
1288
|
-
else selectionManager.select(selectionManager.focusedKey);
|
|
1289
|
-
} else commitValue();
|
|
1290
|
-
};
|
|
1291
|
-
let valueOnFocus = useRef(inputValue);
|
|
1292
|
-
let setFocused = (isFocused2) => {
|
|
1293
|
-
if (isFocused2) {
|
|
1294
|
-
valueOnFocus.current = inputValue;
|
|
1295
|
-
if (menuTrigger === "focus" && !props.isReadOnly) open(null, "focus");
|
|
1296
|
-
} else {
|
|
1297
|
-
if (shouldCloseOnBlur) commitValue();
|
|
1298
|
-
if (inputValue !== valueOnFocus.current) validation.commitValidation();
|
|
1299
|
-
}
|
|
1300
|
-
setFocusedState(isFocused2);
|
|
1301
|
-
};
|
|
1302
|
-
let displayedCollection = useMemo(() => {
|
|
1303
|
-
if (triggerState.isOpen) {
|
|
1304
|
-
if (showAllItems) return originalCollection;
|
|
1305
|
-
else return filteredCollection;
|
|
1306
|
-
} else return lastCollection;
|
|
1307
|
-
}, [
|
|
1308
|
-
triggerState.isOpen,
|
|
1309
|
-
originalCollection,
|
|
1310
|
-
filteredCollection,
|
|
1311
|
-
showAllItems,
|
|
1312
|
-
lastCollection
|
|
1313
|
-
]);
|
|
1314
|
-
var _props_defaultSelectedKey;
|
|
1315
|
-
let defaultSelectedKey = (_props_defaultSelectedKey = props.defaultSelectedKey) !== null && _props_defaultSelectedKey !== void 0 ? _props_defaultSelectedKey : selectionMode === "single" ? initialValue : null;
|
|
1316
|
-
var _selectedItems_, _getDefaultInputValue;
|
|
1317
|
-
return {
|
|
1318
|
-
...validation,
|
|
1319
|
-
...triggerState,
|
|
1320
|
-
focusStrategy,
|
|
1321
|
-
toggle,
|
|
1322
|
-
open,
|
|
1323
|
-
close: commitValue,
|
|
1324
|
-
selectionManager,
|
|
1325
|
-
value: displayValue,
|
|
1326
|
-
defaultValue: defaultValue !== null && defaultValue !== void 0 ? defaultValue : initialValue,
|
|
1327
|
-
setValue,
|
|
1328
|
-
selectedKey,
|
|
1329
|
-
selectedItems,
|
|
1330
|
-
defaultSelectedKey,
|
|
1331
|
-
setSelectedKey: setValue,
|
|
1332
|
-
disabledKeys,
|
|
1333
|
-
isFocused,
|
|
1334
|
-
setFocused,
|
|
1335
|
-
selectedItem: (_selectedItems_ = selectedItems[0]) !== null && _selectedItems_ !== void 0 ? _selectedItems_ : null,
|
|
1336
|
-
collection: displayedCollection,
|
|
1337
|
-
inputValue,
|
|
1338
|
-
defaultInputValue: (_getDefaultInputValue = $a9e7382a7d111cb5$var$getDefaultInputValue(props.defaultInputValue, defaultSelectedKey, collection)) !== null && _getDefaultInputValue !== void 0 ? _getDefaultInputValue : initialInputValue,
|
|
1339
|
-
setInputValue,
|
|
1340
|
-
commit,
|
|
1341
|
-
revert
|
|
1342
|
-
};
|
|
1343
|
-
}
|
|
1344
|
-
function $a9e7382a7d111cb5$var$filterCollection(collection, inputValue, filter) {
|
|
1345
|
-
return new $a02d57049d202695$export$d085fb9e920b5ca7($a9e7382a7d111cb5$var$filterNodes(collection, collection, inputValue, filter));
|
|
1346
|
-
}
|
|
1347
|
-
function $a9e7382a7d111cb5$var$filterNodes(collection, nodes, inputValue, filter) {
|
|
1348
|
-
let filteredNode = [];
|
|
1349
|
-
for (let node of nodes) {
|
|
1350
|
-
if (node.type === "section" && node.hasChildNodes) {
|
|
1351
|
-
let filtered = $a9e7382a7d111cb5$var$filterNodes(collection, $c5a24bc478652b5f$export$1005530eda016c13(node, collection), inputValue, filter);
|
|
1352
|
-
if ([
|
|
1353
|
-
...filtered
|
|
1354
|
-
].some((node2) => node2.type === "item")) filteredNode.push({
|
|
1355
|
-
...node,
|
|
1356
|
-
childNodes: filtered
|
|
1357
|
-
});
|
|
1358
|
-
} else if (node.type === "item" && filter(node.textValue, inputValue)) filteredNode.push({
|
|
1359
|
-
...node
|
|
1360
|
-
});
|
|
1361
|
-
else if (node.type !== "item") filteredNode.push({
|
|
1362
|
-
...node
|
|
1363
|
-
});
|
|
1364
|
-
}
|
|
1365
|
-
return filteredNode;
|
|
1366
|
-
}
|
|
1367
|
-
function $a9e7382a7d111cb5$var$getDefaultInputValue(defaultInputValue, selectedKey, collection) {
|
|
1368
|
-
if (defaultInputValue == null) {
|
|
1369
|
-
var _collection_getItem;
|
|
1370
|
-
var _collection_getItem_textValue;
|
|
1371
|
-
if (selectedKey != null) return (_collection_getItem_textValue = (_collection_getItem = collection.getItem(selectedKey)) === null || _collection_getItem === void 0 ? void 0 : _collection_getItem.textValue) !== null && _collection_getItem_textValue !== void 0 ? _collection_getItem_textValue : "";
|
|
1372
|
-
}
|
|
1373
|
-
return defaultInputValue;
|
|
1374
|
-
}
|
|
1375
|
-
function $a9e7382a7d111cb5$var$convertValue(value) {
|
|
1376
|
-
if (value === void 0) return void 0;
|
|
1377
|
-
if (value === null) return [];
|
|
1378
|
-
return Array.isArray(value) ? value : [
|
|
1379
|
-
value
|
|
1380
|
-
];
|
|
1381
|
-
}
|
|
1382
|
-
const $d01f2c01039c0eec$export$d414ccceff7063c3 = /* @__PURE__ */ createContext(null);
|
|
1383
|
-
const $d01f2c01039c0eec$export$c02625b26074192c = /* @__PURE__ */ createContext(null);
|
|
1384
|
-
const $d01f2c01039c0eec$export$72b9695b8216309a = /* @__PURE__ */ forwardRef(function ComboBox(props, ref) {
|
|
1385
|
-
[props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $d01f2c01039c0eec$export$d414ccceff7063c3);
|
|
1386
|
-
let { children, isDisabled = false, isInvalid = false, isRequired = false } = props;
|
|
1387
|
-
let content = useMemo(() => {
|
|
1388
|
-
var _props_items;
|
|
1389
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement($eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider, {
|
|
1390
|
-
value: {
|
|
1391
|
-
items: (_props_items = props.items) !== null && _props_items !== void 0 ? _props_items : props.defaultItems
|
|
1392
|
-
}
|
|
1393
|
-
}, typeof children === "function" ? children({
|
|
1394
|
-
isOpen: false,
|
|
1395
|
-
isDisabled,
|
|
1396
|
-
isInvalid,
|
|
1397
|
-
isRequired,
|
|
1398
|
-
defaultChildren: null
|
|
1399
|
-
}) : children);
|
|
1400
|
-
}, [
|
|
1401
|
-
children,
|
|
1402
|
-
isDisabled,
|
|
1403
|
-
isInvalid,
|
|
1404
|
-
isRequired,
|
|
1405
|
-
props.items,
|
|
1406
|
-
props.defaultItems
|
|
1407
|
-
]);
|
|
1408
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement($e1995378a142960e$export$bf788dd355e3a401, {
|
|
1409
|
-
content
|
|
1410
|
-
}, (collection) => /* @__PURE__ */ $dbSRa$react__default.createElement($d01f2c01039c0eec$var$ComboBoxInner, {
|
|
1411
|
-
props,
|
|
1412
|
-
collection,
|
|
1413
|
-
comboBoxRef: ref
|
|
1414
|
-
}));
|
|
1415
|
-
});
|
|
1416
|
-
const $d01f2c01039c0eec$var$CLEAR_CONTEXTS = [
|
|
1417
|
-
$01b77f81d0f07f68$export$75b6ee27786ba447,
|
|
1418
|
-
$d2b4bc8c273e7be6$export$24d547caef80ccd1,
|
|
1419
|
-
$3985021b0ad6602f$export$37fb8590cf2c088c,
|
|
1420
|
-
$a049562f99e7db0e$export$f9c6924e160136d1,
|
|
1421
|
-
$514c0188e459b4c0$export$9afb8bc826b033ea
|
|
1422
|
-
];
|
|
1423
|
-
function $d01f2c01039c0eec$var$ComboBoxInner({ props, collection, comboBoxRef: ref }) {
|
|
1424
|
-
let { name, formValue = "key", allowsCustomValue } = props;
|
|
1425
|
-
if (allowsCustomValue) formValue = "text";
|
|
1426
|
-
let { validationBehavior: formValidationBehavior } = $64fa3d84918910a7$export$fabf2dc03a41866e($d3e0e05bdfcf66bd$export$c24727297075ec6a) || {};
|
|
1427
|
-
var _props_validationBehavior, _ref;
|
|
1428
|
-
let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : "native";
|
|
1429
|
-
let { contains } = $bb77f239b46e8c72$export$3274cf84b703fff({
|
|
1430
|
-
sensitivity: "base"
|
|
1431
|
-
});
|
|
1432
|
-
let state = $a9e7382a7d111cb5$export$b453a3bfd4a5fa9e({
|
|
1433
|
-
...props,
|
|
1434
|
-
defaultFilter: props.defaultFilter || contains,
|
|
1435
|
-
// If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
|
|
1436
|
-
items: props.items,
|
|
1437
|
-
children: void 0,
|
|
1438
|
-
collection,
|
|
1439
|
-
validationBehavior
|
|
1440
|
-
});
|
|
1441
|
-
let buttonRef = useRef(null);
|
|
1442
|
-
let inputRef = useRef(null);
|
|
1443
|
-
let listBoxRef = useRef(null);
|
|
1444
|
-
let popoverRef = useRef(null);
|
|
1445
|
-
let [labelRef, label] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!props["aria-label"] && !props["aria-labelledby"]);
|
|
1446
|
-
let { buttonProps, inputProps, listBoxProps, labelProps, descriptionProps, errorMessageProps, valueProps, ...validation } = $c350ade66beef0af$export$8c18d1b4f7232bbf({
|
|
1447
|
-
...$64fa3d84918910a7$export$ef03459518577ad4(props),
|
|
1448
|
-
label,
|
|
1449
|
-
inputRef,
|
|
1450
|
-
buttonRef,
|
|
1451
|
-
listBoxRef,
|
|
1452
|
-
popoverRef,
|
|
1453
|
-
name: formValue === "text" ? name : void 0,
|
|
1454
|
-
validationBehavior
|
|
1455
|
-
}, state);
|
|
1456
|
-
let [menuWidth, setMenuWidth] = useState(null);
|
|
1457
|
-
let onResize = useCallback(() => {
|
|
1458
|
-
if (inputRef.current) {
|
|
1459
|
-
var _buttonRef_current;
|
|
1460
|
-
let buttonRect = (_buttonRef_current = buttonRef.current) === null || _buttonRef_current === void 0 ? void 0 : _buttonRef_current.getBoundingClientRect();
|
|
1461
|
-
let inputRect = inputRef.current.getBoundingClientRect();
|
|
1462
|
-
let minX = buttonRect ? Math.min(buttonRect.left, inputRect.left) : inputRect.left;
|
|
1463
|
-
let maxX = buttonRect ? Math.max(buttonRect.right, inputRect.right) : inputRect.right;
|
|
1464
|
-
setMenuWidth(maxX - minX + "px");
|
|
1465
|
-
}
|
|
1466
|
-
}, [
|
|
1467
|
-
buttonRef,
|
|
1468
|
-
inputRef,
|
|
1469
|
-
setMenuWidth
|
|
1470
|
-
]);
|
|
1471
|
-
$9daab02d461809db$export$683480f191c0e3ea({
|
|
1472
|
-
ref: inputRef,
|
|
1473
|
-
onResize
|
|
1474
|
-
});
|
|
1475
|
-
let renderPropsState = useMemo(() => ({
|
|
1476
|
-
isOpen: state.isOpen,
|
|
1477
|
-
isDisabled: props.isDisabled || false,
|
|
1478
|
-
isInvalid: validation.isInvalid || false,
|
|
1479
|
-
isRequired: props.isRequired || false
|
|
1480
|
-
}), [
|
|
1481
|
-
state.isOpen,
|
|
1482
|
-
props.isDisabled,
|
|
1483
|
-
validation.isInvalid,
|
|
1484
|
-
props.isRequired
|
|
1485
|
-
]);
|
|
1486
|
-
let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
|
|
1487
|
-
...props,
|
|
1488
|
-
values: renderPropsState,
|
|
1489
|
-
defaultClassName: "react-aria-ComboBox"
|
|
1490
|
-
});
|
|
1491
|
-
let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
|
|
1492
|
-
global: true
|
|
1493
|
-
});
|
|
1494
|
-
delete DOMProps.id;
|
|
1495
|
-
let inputs = [];
|
|
1496
|
-
if (name && formValue === "key") {
|
|
1497
|
-
let values = Array.isArray(state.value) ? state.value : [
|
|
1498
|
-
state.value
|
|
1499
|
-
];
|
|
1500
|
-
if (values.length === 0) values = [
|
|
1501
|
-
null
|
|
1502
|
-
];
|
|
1503
|
-
inputs = values.map((value, i) => /* @__PURE__ */ $dbSRa$react__default.createElement("input", {
|
|
1504
|
-
key: i,
|
|
1505
|
-
type: "hidden",
|
|
1506
|
-
name,
|
|
1507
|
-
form: props.form,
|
|
1508
|
-
value: value !== null && value !== void 0 ? value : ""
|
|
1509
|
-
}));
|
|
1510
|
-
}
|
|
1511
|
-
return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
|
|
1512
|
-
values: [
|
|
1513
|
-
[
|
|
1514
|
-
$d01f2c01039c0eec$export$c02625b26074192c,
|
|
1515
|
-
state
|
|
1516
|
-
],
|
|
1517
|
-
[
|
|
1518
|
-
$01b77f81d0f07f68$export$75b6ee27786ba447,
|
|
1519
|
-
{
|
|
1520
|
-
...labelProps,
|
|
1521
|
-
ref: labelRef
|
|
1522
|
-
}
|
|
1523
|
-
],
|
|
1524
|
-
[
|
|
1525
|
-
$d2b4bc8c273e7be6$export$24d547caef80ccd1,
|
|
1526
|
-
{
|
|
1527
|
-
...buttonProps,
|
|
1528
|
-
ref: buttonRef,
|
|
1529
|
-
isPressed: state.isOpen
|
|
1530
|
-
}
|
|
1531
|
-
],
|
|
1532
|
-
[
|
|
1533
|
-
$3985021b0ad6602f$export$37fb8590cf2c088c,
|
|
1534
|
-
{
|
|
1535
|
-
...inputProps,
|
|
1536
|
-
ref: inputRef
|
|
1537
|
-
}
|
|
1538
|
-
],
|
|
1539
|
-
[
|
|
1540
|
-
$de32f1b87079253c$export$d2f961adcb0afbe,
|
|
1541
|
-
state
|
|
1542
|
-
],
|
|
1543
|
-
[
|
|
1544
|
-
$07b14b47974efb58$export$9b9a0cd73afb7ca4,
|
|
1545
|
-
{
|
|
1546
|
-
ref: popoverRef,
|
|
1547
|
-
triggerRef: inputRef,
|
|
1548
|
-
scrollRef: listBoxRef,
|
|
1549
|
-
placement: "bottom start",
|
|
1550
|
-
isNonModal: true,
|
|
1551
|
-
trigger: "ComboBox",
|
|
1552
|
-
style: {
|
|
1553
|
-
"--trigger-width": menuWidth
|
|
1554
|
-
},
|
|
1555
|
-
clearContexts: $d01f2c01039c0eec$var$CLEAR_CONTEXTS
|
|
1556
|
-
}
|
|
1557
|
-
],
|
|
1558
|
-
[
|
|
1559
|
-
$eed445e0843c11d0$export$7ff8f37d2d81a48d,
|
|
1560
|
-
{
|
|
1561
|
-
...listBoxProps,
|
|
1562
|
-
ref: listBoxRef
|
|
1563
|
-
}
|
|
1564
|
-
],
|
|
1565
|
-
[
|
|
1566
|
-
$eed445e0843c11d0$export$7c5906fe4f1f2af2,
|
|
1567
|
-
state
|
|
1568
|
-
],
|
|
1569
|
-
[
|
|
1570
|
-
$514c0188e459b4c0$export$9afb8bc826b033ea,
|
|
1571
|
-
{
|
|
1572
|
-
slots: {
|
|
1573
|
-
description: descriptionProps,
|
|
1574
|
-
errorMessage: errorMessageProps
|
|
1575
|
-
}
|
|
1576
|
-
}
|
|
1577
|
-
],
|
|
1578
|
-
[
|
|
1579
|
-
$a049562f99e7db0e$export$f9c6924e160136d1,
|
|
1580
|
-
{
|
|
1581
|
-
isInvalid: validation.isInvalid,
|
|
1582
|
-
isDisabled: props.isDisabled || false
|
|
1583
|
-
}
|
|
1584
|
-
],
|
|
1585
|
-
[
|
|
1586
|
-
$ee014567cb39d3f0$export$ff05c3ac10437e03,
|
|
1587
|
-
validation
|
|
1588
|
-
],
|
|
1589
|
-
[
|
|
1590
|
-
$d01f2c01039c0eec$export$5c804022b41722df,
|
|
1591
|
-
valueProps
|
|
1592
|
-
]
|
|
1593
|
-
]
|
|
1594
|
-
}, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
|
|
1595
|
-
...DOMProps,
|
|
1596
|
-
...renderProps,
|
|
1597
|
-
ref,
|
|
1598
|
-
slot: props.slot || void 0,
|
|
1599
|
-
"data-focused": state.isFocused || void 0,
|
|
1600
|
-
"data-open": state.isOpen || void 0,
|
|
1601
|
-
"data-disabled": props.isDisabled || void 0,
|
|
1602
|
-
"data-invalid": validation.isInvalid || void 0,
|
|
1603
|
-
"data-required": props.isRequired || void 0
|
|
1604
|
-
}, renderProps.children, inputs));
|
|
1605
|
-
}
|
|
1606
|
-
const $d01f2c01039c0eec$export$5c804022b41722df = /* @__PURE__ */ createContext(null);
|
|
1607
|
-
/**
|
|
1608
|
-
* Component that allows URL selection, with a suggestionList of suggestions and type-to-search.
|
|
1609
|
-
*
|
|
1610
|
-
* @component
|
|
1611
|
-
* @param {Object} props - Component props.
|
|
1612
|
-
* @param {string} [props.url] - The current URL.
|
|
1613
|
-
* @param {Function} [props.onChange] - Function to run when the URL changes.
|
|
1614
|
-
* @param {string} [props.label] - Label to display.
|
|
1615
|
-
* @param {string} [props.subtitle] - Subtitle to display.
|
|
1616
|
-
* @param {string} [props.help] - Help text to display below the input.
|
|
1617
|
-
* @param {string} [props.placeholder] - Placeholder to show in the input field.
|
|
1618
|
-
* @param {JSX.Element|JSX.Element[]} [props.actions] - Actions to display to the right of the label.
|
|
1619
|
-
* @param {JSX.Element} [props.icon=icons.globe] - Icon to display in the label.
|
|
1620
|
-
* @param {JSX.Element} [props.removeIcon=icons.clearAlt] - Icon to display in the input's clear button.
|
|
1621
|
-
* @param {boolean} [props.disabled=false] - If `true`, the input is disabled.
|
|
1622
|
-
* @param {Function} [props.fetchSuggestions] - A function that fetches suggestions based on the input value.
|
|
1623
|
-
* @param {string} [props.className] - Classes to pass to the input field.
|
|
1624
|
-
* @param {number} [props.inputDebounceDelay=500] - The delay in milliseconds before the input value is considered final.
|
|
1625
|
-
* @param {Function} [props.suggestionTypeIconOverride] - Allows overriding the default icon for the suggestion type, e.g. when using CPTs. Should be in the format: `(type) => icon or React component`.
|
|
1626
|
-
* @param {boolean} [props.showSuggestionsWhenEmpty] - If `true`, the suggestion list will be shown when down arrow is pressed even the input is empty.
|
|
1627
|
-
* @param {boolean} [props.flat] - If `true`, component will look more flat. Useful for nested layer of controls.
|
|
1628
|
-
* @param {boolean} [props.keyboardShortcuts] - If `true`, keyboard shortcuts are shown in the suggestion list.
|
|
1629
|
-
* @param {InputSize} [props.size='default'] - Sets the size of the input field.
|
|
1630
|
-
* @param {boolean} [props.inline] - If `true`, the component is displayed inline - icon/label/subtitle are on the left, the passed content is on the right. **Note:** not compatible with `actions`.
|
|
1631
|
-
* @param {boolean} [props.hidden] - If `true`, the component is not rendered.
|
|
1632
|
-
*
|
|
1633
|
-
* @typedef {'small' | 'medium' | 'default' | 'large'} InputSize
|
|
1634
|
-
*
|
|
1635
|
-
* @returns {JSX.Element} The LinkInput component.
|
|
1636
|
-
*
|
|
1637
|
-
* @example
|
|
1638
|
-
* <LinkInput
|
|
1639
|
-
* url={url}
|
|
1640
|
-
* onChange={setUrl}
|
|
1641
|
-
* />
|
|
1642
|
-
*
|
|
1643
|
-
* @preserve
|
|
1644
|
-
*/
|
|
1645
|
-
const LinkInput = (props) => {
|
|
1646
|
-
const {
|
|
1647
|
-
url = "",
|
|
1648
|
-
onChange,
|
|
1649
|
-
label = __("Link", "eightshift-ui-components"),
|
|
1650
|
-
subtitle,
|
|
1651
|
-
help,
|
|
1652
|
-
actions,
|
|
1653
|
-
inline,
|
|
1654
|
-
placeholder = __("Type to search or enter URL", "eightshift-ui-components"),
|
|
1655
|
-
icon = icons.globe,
|
|
1656
|
-
removeIcon = icons.clearAlt,
|
|
1657
|
-
disabled = false,
|
|
1658
|
-
suggestionTypeIconOverride,
|
|
1659
|
-
showSuggestionsWhenEmpty,
|
|
1660
|
-
fetchSuggestions,
|
|
1661
|
-
className,
|
|
1662
|
-
keyboardShortcuts,
|
|
1663
|
-
flat,
|
|
1664
|
-
size = "default",
|
|
1665
|
-
hidden
|
|
1666
|
-
} = props;
|
|
1667
|
-
const canShowSuggestions = typeof fetchSuggestions !== "undefined";
|
|
1668
|
-
let shouldShowSuggestions = true;
|
|
1669
|
-
if (!canShowSuggestions || !showSuggestionsWhenEmpty && url.length < 1) {
|
|
1670
|
-
shouldShowSuggestions = false;
|
|
1671
|
-
} else {
|
|
1672
|
-
shouldShowSuggestions = !(showSuggestionsWhenEmpty !== true && url.trim().length < 3 || url.startsWith("/") || url.startsWith("#") || url.startsWith(":") || url.startsWith("mailto") || url.startsWith("tel") || url.startsWith("http") || url.startsWith("www"));
|
|
1673
|
-
}
|
|
1674
|
-
const suggestionList = $f86e6c1ec7da6ebb$export$bc3384a35de93d66({
|
|
1675
|
-
async load({ signal }) {
|
|
1676
|
-
if (disabled || !canShowSuggestions || !shouldShowSuggestions) {
|
|
1677
|
-
return {
|
|
1678
|
-
items: []
|
|
1679
|
-
};
|
|
1680
|
-
}
|
|
1681
|
-
const items = await fetchSuggestions(url, signal);
|
|
1682
|
-
return {
|
|
1683
|
-
items: items ?? []
|
|
1684
|
-
};
|
|
1685
|
-
}
|
|
1686
|
-
});
|
|
1687
|
-
const inputClass = cva(
|
|
1688
|
-
[
|
|
1689
|
-
"es:text-13! es:leading-none",
|
|
1690
|
-
"es:w-fill",
|
|
1691
|
-
"es:border-none!",
|
|
1692
|
-
"es:rounded-lg! es:focus:rounded-xl! es:aria-[controls]:rounded-xl!",
|
|
1693
|
-
"es:transition-plus",
|
|
1694
|
-
"es:any-focus:outline-hidden",
|
|
1695
|
-
"es:inset-ring!",
|
|
1696
|
-
"es:focus-visible:ring-2 es:focus-visible:ring-accent-500/30",
|
|
1697
|
-
"es:focus-visible:text-accent-950 es:focus-visible:inset-ring-accent-500",
|
|
1698
|
-
"es:placeholder-shown:pr-0 es:pr-10",
|
|
1699
|
-
"es:focus:placeholder:text-surface-400",
|
|
1700
|
-
'es:font-variation-["wdth"_80,"wght"_325,"slnt"_0,"ROND"_100] es:placeholder-shown:font-variation-["wdth"_60,"wght"_300,"slnt"_-10,"ROND"_0]',
|
|
1701
|
-
inline && "es:min-w-48",
|
|
1702
|
-
className
|
|
1703
|
-
],
|
|
1704
|
-
{
|
|
1705
|
-
variants: {
|
|
1706
|
-
size: {
|
|
1707
|
-
small: ["es:min-h-8", "es:py-2 es:px-2.5"],
|
|
1708
|
-
medium: ["es:min-h-9", "es:py-2 es:px-3"],
|
|
1709
|
-
default: ["es:min-h-10", "es:py-2 es:px-3"],
|
|
1710
|
-
large: ["es:min-h-12", "es:py-2 es:px-4"]
|
|
1711
|
-
}
|
|
1712
|
-
},
|
|
1713
|
-
compoundVariants: [
|
|
1714
|
-
{
|
|
1715
|
-
flat: false,
|
|
1716
|
-
disabled: false,
|
|
1717
|
-
class: [
|
|
1718
|
-
"es:bg-white",
|
|
1719
|
-
"es:bg-linear-to-b es:from-secondary-100/0 es:to-secondary-100/50 es:from-25%",
|
|
1720
|
-
"es:hover:from-surface-100/0 es:hover:to-surface-100/50",
|
|
1721
|
-
"es:inset-ring-secondary-400/50 es:hover:inset-ring-surface-300 es:focus:inset-ring-surface-400",
|
|
1722
|
-
"es:inset-shadow-sm es:inset-shadow-secondary-100/50",
|
|
1723
|
-
"es:hover:placeholder:text-surface-400",
|
|
1724
|
-
"es:placeholder:text-secondary-400",
|
|
1725
|
-
"es:shadow-xs! es:shadow-black/5"
|
|
1726
|
-
]
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
flat: true,
|
|
1730
|
-
disabled: false,
|
|
1731
|
-
class: [
|
|
1732
|
-
"es:inset-ring-secondary-100",
|
|
1733
|
-
"es:focus:text-accent-950",
|
|
1734
|
-
"es:placeholder:text-secondary-500/80",
|
|
1735
|
-
"es:bg-secondary-100 es:focus:bg-surface-50",
|
|
1736
|
-
"es:inset-ring-secondary-200/15 es:hover:inset-ring-secondary-200/65 es:focus:inset-ring-surface-200",
|
|
1737
|
-
"es:shadow-none!"
|
|
1738
|
-
]
|
|
1739
|
-
},
|
|
1740
|
-
{ disabled: true, class: ["es:bg-white es:inset-ring-secondary-200 es:text-secondary-400"] }
|
|
1741
|
-
],
|
|
1742
|
-
defaultVariants: { disabled: false, flat: false }
|
|
1743
|
-
}
|
|
1744
|
-
);
|
|
1745
|
-
if (hidden) {
|
|
1746
|
-
return null;
|
|
1747
|
-
}
|
|
1748
|
-
const noResults = shouldShowSuggestions && !suggestionList.isLoading && suggestionList.items.length === 0;
|
|
1749
|
-
return /* @__PURE__ */ jsxs(
|
|
1750
|
-
$d01f2c01039c0eec$export$72b9695b8216309a,
|
|
1751
|
-
{
|
|
1752
|
-
items: suggestionList.items,
|
|
1753
|
-
inputValue: url,
|
|
1754
|
-
onInputChange: (value) => {
|
|
1755
|
-
onChange({ url: value, isAnchor: value?.includes("#") });
|
|
1756
|
-
if (shouldShowSuggestions) {
|
|
1757
|
-
suggestionList.reload();
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
allowsCustomValue: true,
|
|
1761
|
-
allowsEmptyCollection: true,
|
|
1762
|
-
isDisabled: disabled,
|
|
1763
|
-
className: "es:selection:bg-surface-100 es:selection:text-accent-800",
|
|
1764
|
-
children: [
|
|
1765
|
-
/* @__PURE__ */ jsx(
|
|
1766
|
-
BaseControl,
|
|
1767
|
-
{
|
|
1768
|
-
as: $01b77f81d0f07f68$export$b04be29aa201d4f5,
|
|
1769
|
-
icon,
|
|
1770
|
-
label,
|
|
1771
|
-
subtitle,
|
|
1772
|
-
actions,
|
|
1773
|
-
labelAs: $01b77f81d0f07f68$export$b04be29aa201d4f5,
|
|
1774
|
-
inline,
|
|
1775
|
-
help,
|
|
1776
|
-
children: /* @__PURE__ */ jsxs($a049562f99e7db0e$export$eb2fcfdbd7ba97d4, { className: "es:relative es:group", children: [
|
|
1777
|
-
/* @__PURE__ */ jsx(
|
|
1778
|
-
$3985021b0ad6602f$export$f5b8910cec6cf069,
|
|
1779
|
-
{
|
|
1780
|
-
placeholder: disabled ? null : placeholder,
|
|
1781
|
-
className: inputClass({ disabled, flat, size })
|
|
1782
|
-
}
|
|
1783
|
-
),
|
|
1784
|
-
/* @__PURE__ */ jsx(
|
|
1785
|
-
AnimatedVisibility,
|
|
1786
|
-
{
|
|
1787
|
-
visible: !disabled && url?.length > 0,
|
|
1788
|
-
className: "es:absolute es:inset-y-1 es:right-1",
|
|
1789
|
-
transition: "scaleFade",
|
|
1790
|
-
children: /* @__PURE__ */ jsxs(
|
|
1791
|
-
$d2b4bc8c273e7be6$export$353f5b6fc5456de1,
|
|
1792
|
-
{
|
|
1793
|
-
slot: null,
|
|
1794
|
-
onPress: () => {
|
|
1795
|
-
onChange({ url: void 0, isAnchor: false });
|
|
1796
|
-
},
|
|
1797
|
-
className: "es:any-focus:outline-hidden es:rounded-xs es:transition-plus es:focus-visible:rounded-md es:focus-visible:bg-surface-200 es:focus-visible:text-accent-900",
|
|
1798
|
-
children: [
|
|
1799
|
-
!(shouldShowSuggestions && suggestionList.isLoading) && /* @__PURE__ */ jsx(Tooltip, { text: __("Clear", "eightshift-ui-components"), children: /* @__PURE__ */ jsx(
|
|
1800
|
-
"div",
|
|
1801
|
-
{
|
|
1802
|
-
className: clsx(
|
|
1803
|
-
"es:opacity-0 es:group-hover:opacity-100 es:group-focus-within:opacity-100 es:focus-visible:opacity-100",
|
|
1804
|
-
"es:flex es:size-8 es:items-center es:justify-center es:rounded-md es:text-secondary-600 es:backdrop-blur es:transition",
|
|
1805
|
-
"es:hover:bg-red-600/5 es:hover:text-red-600",
|
|
1806
|
-
"es:icon:size-6"
|
|
1807
|
-
),
|
|
1808
|
-
children: removeIcon
|
|
1809
|
-
}
|
|
1810
|
-
) }),
|
|
1811
|
-
shouldShowSuggestions && suggestionList.isLoading && /* @__PURE__ */ jsx(Spinner, { className: "es:size-5! es:m-1.5 es:spinner-4!" })
|
|
1812
|
-
]
|
|
1813
|
-
}
|
|
1814
|
-
)
|
|
1815
|
-
}
|
|
1816
|
-
)
|
|
1817
|
-
] })
|
|
1818
|
-
}
|
|
1819
|
-
),
|
|
1820
|
-
canShowSuggestions && shouldShowSuggestions && /* @__PURE__ */ jsxs(
|
|
1821
|
-
$07b14b47974efb58$export$5b6b19405a83ff9d,
|
|
1822
|
-
{
|
|
1823
|
-
"aria-label": __("URL suggestions", "eightshift-ui-components"),
|
|
1824
|
-
className: ({ isEntering, isExiting }) => clsx(
|
|
1825
|
-
"es:font-sans",
|
|
1826
|
-
"es:w-(--trigger-width)",
|
|
1827
|
-
"es:rounded-xl es:outline-hidden es:min-w-72",
|
|
1828
|
-
"es:has-first-selected:rounded-t-18!",
|
|
1829
|
-
"es:has-last-selected:rounded-b-18!",
|
|
1830
|
-
"es:inset-ring es:inset-ring-surface-500/10",
|
|
1831
|
-
"es:inset-shadow-sm es:inset-shadow-white/50",
|
|
1832
|
-
noResults ? "es:bg-surface-50/50" : "es:bg-surface-50/65",
|
|
1833
|
-
noResults ? "es:backdrop-blur-sm" : "es:backdrop-blur-md",
|
|
1834
|
-
noResults ? "es:backdrop-brightness-105" : "es:backdrop-brightness-110",
|
|
1835
|
-
"es:backdrop-saturate-125",
|
|
1836
|
-
"es:shadow-lg es:shadow-black/10",
|
|
1837
|
-
"es:transition-plus",
|
|
1838
|
-
"es:motion-duration-250 es:motion-ease-spring-bouncy",
|
|
1839
|
-
"es:placement-bottom:origin-top-left es:placement-top:origin-bottom-left",
|
|
1840
|
-
(isEntering || !(suggestionList.isLoading || !shouldShowSuggestions)) && "es:motion-scale-x-in-95 es:motion-scale-y-in-85 es:motion-opacity-in-0",
|
|
1841
|
-
(isEntering || !(suggestionList.isLoading || !shouldShowSuggestions)) && "es:placement-top:motion-translate-y-in-[0.5rem] es:placement-bottom:motion-translate-y-in-[-0.5rem]",
|
|
1842
|
-
isExiting && "es:motion-scale-x-out-95 es:motion-scale-y-out-85 es:motion-opacity-out-0",
|
|
1843
|
-
isExiting && "es:placement-top:motion-translate-y-out-[0.5rem] es:placement-bottom:motion-translate-y-out-[-0.5rem]",
|
|
1844
|
-
(suggestionList.isLoading || !shouldShowSuggestions) && "es:invisible"
|
|
1845
|
-
),
|
|
1846
|
-
offset: 3,
|
|
1847
|
-
maxHeight: 0.8 * (window?.innerWidth ?? 1e3),
|
|
1848
|
-
children: [
|
|
1849
|
-
noResults && /* @__PURE__ */ jsx(
|
|
1850
|
-
RichLabel,
|
|
1851
|
-
{
|
|
1852
|
-
icon: icons.searchEmpty,
|
|
1853
|
-
label: __("No results", "eightshift-ui-components"),
|
|
1854
|
-
subtitle: __("Try a different search term", "eightshift-ui-components"),
|
|
1855
|
-
className: "es:p-4 es:w-fit es:mx-auto es:flex-col es:items-center es:gap-2.5",
|
|
1856
|
-
iconClassName: "es:text-accent-50 es:bg-linear-to-br es:from-accent-600 es:to-accent-700 es:p-2 es:rounded-full es:icon:size-7!",
|
|
1857
|
-
labelClassName: "es:mx-auto",
|
|
1858
|
-
subtitleClassName: "es:mx-auto",
|
|
1859
|
-
fullSizeSubtitle: true,
|
|
1860
|
-
noColor: true
|
|
1861
|
-
}
|
|
1862
|
-
),
|
|
1863
|
-
suggestionList.items.length > 0 && !suggestionList.isLoading && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1864
|
-
/* @__PURE__ */ jsx($eed445e0843c11d0$export$41f133550aa26f48, { className: "es:space-y-0.75 es:p-1.5", children: (item) => {
|
|
1865
|
-
const {
|
|
1866
|
-
label: title,
|
|
1867
|
-
value: url2,
|
|
1868
|
-
metadata: { subtype: rawSubtype }
|
|
1869
|
-
} = item;
|
|
1870
|
-
const subtype = rawSubtype ?? "page";
|
|
1871
|
-
let typeIcon = icons.file;
|
|
1872
|
-
if (subtype.toLowerCase() === "url") {
|
|
1873
|
-
typeIcon = icons.externalLink;
|
|
1874
|
-
} else if (subtype.toLowerCase() === "attachment") {
|
|
1875
|
-
typeIcon = icons.file;
|
|
1876
|
-
} else if (subtype.toLowerCase() === "category") {
|
|
1877
|
-
typeIcon = icons.layoutAlt;
|
|
1878
|
-
} else if (subtype.toLowerCase() === "internal") {
|
|
1879
|
-
typeIcon = icons.anchor;
|
|
1880
|
-
} else if (subtype.toLowerCase() === "eightshift-forms") {
|
|
1881
|
-
typeIcon = icons.formAlt;
|
|
1882
|
-
}
|
|
1883
|
-
if (suggestionTypeIconOverride) {
|
|
1884
|
-
const overrideIcon = suggestionTypeIconOverride(subtype);
|
|
1885
|
-
if (overrideIcon) {
|
|
1886
|
-
typeIcon = overrideIcon;
|
|
1887
|
-
}
|
|
1888
|
-
}
|
|
1889
|
-
return /* @__PURE__ */ jsx(
|
|
1890
|
-
$eed445e0843c11d0$export$a11e76429ed99b4,
|
|
1891
|
-
{
|
|
1892
|
-
id: item?.value ?? randomId(8),
|
|
1893
|
-
className: clsx(
|
|
1894
|
-
"es:transition-plus",
|
|
1895
|
-
"es:px-2 es:py-2.5",
|
|
1896
|
-
"es:bg-accent-900/4 es:rounded-sm es:first:rounded-t-lg es:last:rounded-b-lg es:after-current:rounded-t-lg es:before-current:rounded-b-lg",
|
|
1897
|
-
"es:focus-visible:bg-surface-200/65 es:focus-visible:rounded-2xl es:focus-visible:text-accent-950",
|
|
1898
|
-
"es:hover:bg-surface-200/50 es:hover:rounded-2xl es:hover:text-accent-900",
|
|
1899
|
-
"es:pressed:rounded-3xl!",
|
|
1900
|
-
"es:text-surface-950"
|
|
1901
|
-
),
|
|
1902
|
-
textValue: url2,
|
|
1903
|
-
children: /* @__PURE__ */ jsx(
|
|
1904
|
-
RichLabel,
|
|
1905
|
-
{
|
|
1906
|
-
icon: typeIcon,
|
|
1907
|
-
label: title,
|
|
1908
|
-
subtitle: url2?.replace(location.origin, "").replace(/\/$/, ""),
|
|
1909
|
-
className: "es:select-none",
|
|
1910
|
-
subtitleClassName: 'es:font-variation-["wdth"_80,"wght"_250,"ROND"_100,"slnt"_-2]!',
|
|
1911
|
-
iconClassName: "es:p-1 es:text-accent-900 es:bg-surface-50/65 es:rounded-md",
|
|
1912
|
-
noColor: true
|
|
1913
|
-
}
|
|
1914
|
-
)
|
|
1915
|
-
}
|
|
1916
|
-
);
|
|
1917
|
-
} }),
|
|
1918
|
-
keyboardShortcuts && /* @__PURE__ */ jsxs("div", { className: "es:flex es:flex-wrap es:items-center es:justify-end-safe es:gap-x-4 es:gap-y-0.5 es:px-2.5 es:pb-2 es:pt-0.5", children: [
|
|
1919
|
-
/* @__PURE__ */ jsxs("div", { className: "es:flex es:gap-1 es:items-center", children: [
|
|
1920
|
-
/* @__PURE__ */ jsx("kbd", { className: 'es:flex es:size-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-["wdth"_100,"wght"_450,"ROND"_100] es:text-13 es:text-box-trim', children: "↓" }),
|
|
1921
|
-
/* @__PURE__ */ jsx("kbd", { className: 'es:flex es:size-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-["wdth"_100,"wght"_450,"ROND"_100] es:text-13 es:text-box-trim', children: "↑" }),
|
|
1922
|
-
/* @__PURE__ */ jsx("span", { className: 'es:font-variation-["wdth"_75,"wght"_325,"ROND"_100,"slnt"_-4] es:text-12 es:text-box-trim es:text-surface-700', children: __("Navigate", "eightshift-ui-components") })
|
|
1923
|
-
] }),
|
|
1924
|
-
/* @__PURE__ */ jsxs("div", { className: "es:flex es:gap-1 es:items-center", children: [
|
|
1925
|
-
/* @__PURE__ */ jsx("kbd", { className: 'es:flex es:size-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-["wdth"_100,"wght"_450,"ROND"_100] es:text-13 es:text-box-trim', children: "↵" }),
|
|
1926
|
-
/* @__PURE__ */ jsx("span", { className: 'es:font-variation-["wdth"_75,"wght"_325,"ROND"_100,"slnt"_-4] es:text-12 es:text-box-trim es:text-surface-700', children: __("Select", "eightshift-ui-components") })
|
|
1927
|
-
] }),
|
|
1928
|
-
/* @__PURE__ */ jsxs("div", { className: "es:flex es:gap-1 es:items-center", children: [
|
|
1929
|
-
/* @__PURE__ */ jsx("kbd", { className: 'es:flex es:h-4 es:items-center es:justify-center es:rounded es:bg-surface-600/10 es:text-surface-600 es:font-sans es:font-variation-["wdth"_67,"wght"_450,"ROND"_100] es:text-10 es:text-box-trim es:px-0.75', children: "Esc" }),
|
|
1930
|
-
/* @__PURE__ */ jsx("span", { className: 'es:font-variation-["wdth"_75,"wght"_325,"ROND"_100,"slnt"_-4] es:text-12 es:text-box-trim es:text-surface-700', children: __("Hide", "eightshift-ui-components") })
|
|
1931
|
-
] })
|
|
1932
|
-
] })
|
|
1933
|
-
] })
|
|
1934
|
-
]
|
|
1935
|
-
}
|
|
1936
|
-
)
|
|
1937
|
-
]
|
|
1938
|
-
}
|
|
1939
|
-
);
|
|
1940
|
-
};
|
|
1941
|
-
export {
|
|
1942
|
-
LinkInput
|
|
1943
|
-
};
|
|
1
|
+
import { t as LinkInput } from "../../link-input-D7iDRpOM.js";
|
|
2
|
+
import "../../build-module-sxK3nxOK.js";
|
|
3
|
+
export { LinkInput };
|