@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
|
@@ -0,0 +1,855 @@
|
|
|
1
|
+
//#region node_modules/@tannin/sprintf/src/index.js
|
|
2
|
+
/**
|
|
3
|
+
* Regular expression matching format placeholder syntax.
|
|
4
|
+
*
|
|
5
|
+
* The pattern for matching named arguments is a naive and incomplete matcher
|
|
6
|
+
* against valid JavaScript identifier names.
|
|
7
|
+
*
|
|
8
|
+
* via Mathias Bynens:
|
|
9
|
+
*
|
|
10
|
+
* >An identifier must start with $, _, or any character in the Unicode
|
|
11
|
+
* >categories “Uppercase letter (Lu)”, “Lowercase letter (Ll)”, “Titlecase
|
|
12
|
+
* >letter (Lt)”, “Modifier letter (Lm)”, “Other letter (Lo)”, or “Letter
|
|
13
|
+
* >number (Nl)”.
|
|
14
|
+
* >
|
|
15
|
+
* >The rest of the string can contain the same characters, plus any U+200C zero
|
|
16
|
+
* >width non-joiner characters, U+200D zero width joiner characters, and
|
|
17
|
+
* >characters in the Unicode categories “Non-spacing mark (Mn)”, “Spacing
|
|
18
|
+
* >combining mark (Mc)”, “Decimal digit number (Nd)”, or “Connector
|
|
19
|
+
* >punctuation (Pc)”.
|
|
20
|
+
*
|
|
21
|
+
* If browser support is constrained to those supporting ES2015, this could be
|
|
22
|
+
* made more accurate using the `u` flag:
|
|
23
|
+
*
|
|
24
|
+
* ```
|
|
25
|
+
* /^[$_\p{L}\p{Nl}][$_\p{L}\p{Nl}\u200C\u200D\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/u;
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* @see http://www.pixelbeat.org/programming/gcc/format_specs.html
|
|
29
|
+
* @see https://mathiasbynens.be/notes/javascript-identifiers#valid-identifier-names
|
|
30
|
+
*
|
|
31
|
+
* @type {RegExp}
|
|
32
|
+
*/
|
|
33
|
+
var PATTERN$1 = /%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;
|
|
34
|
+
/**
|
|
35
|
+
* Given a format string, returns string with arguments interpolatation.
|
|
36
|
+
* Arguments can either be provided directly via function arguments spread, or
|
|
37
|
+
* with an array as the second argument.
|
|
38
|
+
*
|
|
39
|
+
* @see https://en.wikipedia.org/wiki/Printf_format_string
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
*
|
|
43
|
+
* ```js
|
|
44
|
+
* import sprintf from '@tannin/sprintf';
|
|
45
|
+
*
|
|
46
|
+
* sprintf( 'Hello %s!', 'world' );
|
|
47
|
+
* // ⇒ 'Hello world!'
|
|
48
|
+
* ```
|
|
49
|
+
* @template {string} T
|
|
50
|
+
* @overload
|
|
51
|
+
* @param {T} string - string printf format string
|
|
52
|
+
* @param {...import('../types').SprintfArgs<T>} args - arguments to interpolate
|
|
53
|
+
*
|
|
54
|
+
* @return {string} Formatted string.
|
|
55
|
+
*/
|
|
56
|
+
/**
|
|
57
|
+
* Given a format string, returns string with arguments interpolatation.
|
|
58
|
+
* Arguments can either be provided directly via function arguments spread, or
|
|
59
|
+
* with an array as the second argument.
|
|
60
|
+
*
|
|
61
|
+
* @see https://en.wikipedia.org/wiki/Printf_format_string
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
*
|
|
65
|
+
* ```js
|
|
66
|
+
* import sprintf from '@tannin/sprintf';
|
|
67
|
+
*
|
|
68
|
+
* sprintf( 'Hello %s!', 'world' );
|
|
69
|
+
* // ⇒ 'Hello world!'
|
|
70
|
+
* ```
|
|
71
|
+
* @template {string} T
|
|
72
|
+
* @overload
|
|
73
|
+
* @param {T} string - string printf format string
|
|
74
|
+
* @param {import('../types').SprintfArgs<T>} args - arguments to interpolate
|
|
75
|
+
*
|
|
76
|
+
* @return {string} Formatted string.
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Given a format string, returns string with arguments interpolatation.
|
|
80
|
+
* Arguments can either be provided directly via function arguments spread, or
|
|
81
|
+
* with an array as the second argument.
|
|
82
|
+
*
|
|
83
|
+
* @see https://en.wikipedia.org/wiki/Printf_format_string
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
*
|
|
87
|
+
* ```js
|
|
88
|
+
* import sprintf from '@tannin/sprintf';
|
|
89
|
+
*
|
|
90
|
+
* sprintf( 'Hello %s!', 'world' );
|
|
91
|
+
* // ⇒ 'Hello world!'
|
|
92
|
+
* ```
|
|
93
|
+
* @template {string} T
|
|
94
|
+
* @param {T} string - string printf format string
|
|
95
|
+
* @param {...import('../types').SprintfArgs<T>} args - arguments to interpolate
|
|
96
|
+
*
|
|
97
|
+
* @return {string} Formatted string.
|
|
98
|
+
*/
|
|
99
|
+
function sprintf$1(string, ...args) {
|
|
100
|
+
var i = 0;
|
|
101
|
+
if (Array.isArray(args[0])) args = args[0];
|
|
102
|
+
return string.replace(PATTERN$1, function() {
|
|
103
|
+
var index = arguments[3], name = arguments[5], precision = arguments[7], type = arguments[9], value;
|
|
104
|
+
if (type === "%") return "%";
|
|
105
|
+
if (precision === "*") {
|
|
106
|
+
precision = args[i];
|
|
107
|
+
i++;
|
|
108
|
+
}
|
|
109
|
+
if (name === void 0) {
|
|
110
|
+
if (index === void 0) index = i + 1;
|
|
111
|
+
i++;
|
|
112
|
+
value = args[index - 1];
|
|
113
|
+
} else if (args[0] && typeof args[0] === "object" && args[0].hasOwnProperty(name)) value = args[0][name];
|
|
114
|
+
if (type === "f") value = parseFloat(value) || 0;
|
|
115
|
+
else if (type === "d") value = parseInt(value) || 0;
|
|
116
|
+
if (precision !== void 0) {
|
|
117
|
+
if (type === "f") value = value.toFixed(precision);
|
|
118
|
+
else if (type === "s") value = value.substr(0, precision);
|
|
119
|
+
}
|
|
120
|
+
return value !== void 0 && value !== null ? value : "";
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region node_modules/@wordpress/i18n/build-module/sprintf.mjs
|
|
125
|
+
function sprintf(format, ...args) {
|
|
126
|
+
return sprintf$1(format, ...args);
|
|
127
|
+
}
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region node_modules/@tannin/postfix/index.js
|
|
130
|
+
var PRECEDENCE = {
|
|
131
|
+
"(": 9,
|
|
132
|
+
"!": 8,
|
|
133
|
+
"*": 7,
|
|
134
|
+
"/": 7,
|
|
135
|
+
"%": 7,
|
|
136
|
+
"+": 6,
|
|
137
|
+
"-": 6,
|
|
138
|
+
"<": 5,
|
|
139
|
+
"<=": 5,
|
|
140
|
+
">": 5,
|
|
141
|
+
">=": 5,
|
|
142
|
+
"==": 4,
|
|
143
|
+
"!=": 4,
|
|
144
|
+
"&&": 3,
|
|
145
|
+
"||": 2,
|
|
146
|
+
"?": 1,
|
|
147
|
+
"?:": 1
|
|
148
|
+
}, OPENERS = ["(", "?"], TERMINATORS = {
|
|
149
|
+
")": ["("],
|
|
150
|
+
":": ["?", "?:"]
|
|
151
|
+
}, PATTERN = /<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;
|
|
152
|
+
/**
|
|
153
|
+
* Given a C expression, returns the equivalent postfix (Reverse Polish)
|
|
154
|
+
* notation terms as an array.
|
|
155
|
+
*
|
|
156
|
+
* If a postfix string is desired, simply `.join( ' ' )` the result.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
*
|
|
160
|
+
* ```js
|
|
161
|
+
* import postfix from '@tannin/postfix';
|
|
162
|
+
*
|
|
163
|
+
* postfix( 'n > 1' );
|
|
164
|
+
* // ⇒ [ 'n', '1', '>' ]
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* @param {string} expression C expression.
|
|
168
|
+
*
|
|
169
|
+
* @return {string[]} Postfix terms.
|
|
170
|
+
*/
|
|
171
|
+
function postfix(expression) {
|
|
172
|
+
var terms = [], stack = [], match, operator, term, element;
|
|
173
|
+
while (match = expression.match(PATTERN)) {
|
|
174
|
+
operator = match[0];
|
|
175
|
+
term = expression.substr(0, match.index).trim();
|
|
176
|
+
if (term) terms.push(term);
|
|
177
|
+
while (element = stack.pop()) {
|
|
178
|
+
if (TERMINATORS[operator]) {
|
|
179
|
+
if (TERMINATORS[operator][0] === element) {
|
|
180
|
+
operator = TERMINATORS[operator][1] || operator;
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
} else if (OPENERS.indexOf(element) >= 0 || PRECEDENCE[element] < PRECEDENCE[operator]) {
|
|
184
|
+
stack.push(element);
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
terms.push(element);
|
|
188
|
+
}
|
|
189
|
+
if (!TERMINATORS[operator]) stack.push(operator);
|
|
190
|
+
expression = expression.substr(match.index + operator.length);
|
|
191
|
+
}
|
|
192
|
+
expression = expression.trim();
|
|
193
|
+
if (expression) terms.push(expression);
|
|
194
|
+
return terms.concat(stack.reverse());
|
|
195
|
+
}
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region node_modules/@tannin/evaluate/index.js
|
|
198
|
+
/**
|
|
199
|
+
* Operator callback functions.
|
|
200
|
+
*
|
|
201
|
+
* @type {Object}
|
|
202
|
+
*/
|
|
203
|
+
var OPERATORS = {
|
|
204
|
+
"!": function(a) {
|
|
205
|
+
return !a;
|
|
206
|
+
},
|
|
207
|
+
"*": function(a, b) {
|
|
208
|
+
return a * b;
|
|
209
|
+
},
|
|
210
|
+
"/": function(a, b) {
|
|
211
|
+
return a / b;
|
|
212
|
+
},
|
|
213
|
+
"%": function(a, b) {
|
|
214
|
+
return a % b;
|
|
215
|
+
},
|
|
216
|
+
"+": function(a, b) {
|
|
217
|
+
return a + b;
|
|
218
|
+
},
|
|
219
|
+
"-": function(a, b) {
|
|
220
|
+
return a - b;
|
|
221
|
+
},
|
|
222
|
+
"<": function(a, b) {
|
|
223
|
+
return a < b;
|
|
224
|
+
},
|
|
225
|
+
"<=": function(a, b) {
|
|
226
|
+
return a <= b;
|
|
227
|
+
},
|
|
228
|
+
">": function(a, b) {
|
|
229
|
+
return a > b;
|
|
230
|
+
},
|
|
231
|
+
">=": function(a, b) {
|
|
232
|
+
return a >= b;
|
|
233
|
+
},
|
|
234
|
+
"==": function(a, b) {
|
|
235
|
+
return a === b;
|
|
236
|
+
},
|
|
237
|
+
"!=": function(a, b) {
|
|
238
|
+
return a !== b;
|
|
239
|
+
},
|
|
240
|
+
"&&": function(a, b) {
|
|
241
|
+
return a && b;
|
|
242
|
+
},
|
|
243
|
+
"||": function(a, b) {
|
|
244
|
+
return a || b;
|
|
245
|
+
},
|
|
246
|
+
"?:": function(a, b, c) {
|
|
247
|
+
if (a) throw b;
|
|
248
|
+
return c;
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
/**
|
|
252
|
+
* Given an array of postfix terms and operand variables, returns the result of
|
|
253
|
+
* the postfix evaluation.
|
|
254
|
+
*
|
|
255
|
+
* @example
|
|
256
|
+
*
|
|
257
|
+
* ```js
|
|
258
|
+
* import evaluate from '@tannin/evaluate';
|
|
259
|
+
*
|
|
260
|
+
* // 3 + 4 * 5 / 6 ⇒ '3 4 5 * 6 / +'
|
|
261
|
+
* const terms = [ '3', '4', '5', '*', '6', '/', '+' ];
|
|
262
|
+
*
|
|
263
|
+
* evaluate( terms, {} );
|
|
264
|
+
* // ⇒ 6.333333333333334
|
|
265
|
+
* ```
|
|
266
|
+
*
|
|
267
|
+
* @param {string[]} postfix Postfix terms.
|
|
268
|
+
* @param {Object} variables Operand variables.
|
|
269
|
+
*
|
|
270
|
+
* @return {*} Result of evaluation.
|
|
271
|
+
*/
|
|
272
|
+
function evaluate(postfix, variables) {
|
|
273
|
+
var stack = [], i, j, args, getOperatorResult, term, value;
|
|
274
|
+
for (i = 0; i < postfix.length; i++) {
|
|
275
|
+
term = postfix[i];
|
|
276
|
+
getOperatorResult = OPERATORS[term];
|
|
277
|
+
if (getOperatorResult) {
|
|
278
|
+
j = getOperatorResult.length;
|
|
279
|
+
args = Array(j);
|
|
280
|
+
while (j--) args[j] = stack.pop();
|
|
281
|
+
try {
|
|
282
|
+
value = getOperatorResult.apply(null, args);
|
|
283
|
+
} catch (earlyReturn) {
|
|
284
|
+
return earlyReturn;
|
|
285
|
+
}
|
|
286
|
+
} else if (variables.hasOwnProperty(term)) value = variables[term];
|
|
287
|
+
else value = +term;
|
|
288
|
+
stack.push(value);
|
|
289
|
+
}
|
|
290
|
+
return stack[0];
|
|
291
|
+
}
|
|
292
|
+
//#endregion
|
|
293
|
+
//#region node_modules/@tannin/compile/index.js
|
|
294
|
+
/**
|
|
295
|
+
* Given a C expression, returns a function which can be called to evaluate its
|
|
296
|
+
* result.
|
|
297
|
+
*
|
|
298
|
+
* @example
|
|
299
|
+
*
|
|
300
|
+
* ```js
|
|
301
|
+
* import compile from '@tannin/compile';
|
|
302
|
+
*
|
|
303
|
+
* const evaluate = compile( 'n > 1' );
|
|
304
|
+
*
|
|
305
|
+
* evaluate( { n: 2 } );
|
|
306
|
+
* // ⇒ true
|
|
307
|
+
* ```
|
|
308
|
+
*
|
|
309
|
+
* @param {string} expression C expression.
|
|
310
|
+
*
|
|
311
|
+
* @return {(variables?:{[variable:string]:*})=>*} Compiled evaluator.
|
|
312
|
+
*/
|
|
313
|
+
function compile(expression) {
|
|
314
|
+
var terms = postfix(expression);
|
|
315
|
+
return function(variables) {
|
|
316
|
+
return evaluate(terms, variables);
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
//#endregion
|
|
320
|
+
//#region node_modules/@tannin/plural-forms/index.js
|
|
321
|
+
/**
|
|
322
|
+
* Given a C expression, returns a function which, when called with a value,
|
|
323
|
+
* evaluates the result with the value assumed to be the "n" variable of the
|
|
324
|
+
* expression. The result will be coerced to its numeric equivalent.
|
|
325
|
+
*
|
|
326
|
+
* @param {string} expression C expression.
|
|
327
|
+
*
|
|
328
|
+
* @return {Function} Evaluator function.
|
|
329
|
+
*/
|
|
330
|
+
function pluralForms(expression) {
|
|
331
|
+
var evaluate = compile(expression);
|
|
332
|
+
return function(n) {
|
|
333
|
+
return +evaluate({ n });
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region node_modules/tannin/index.js
|
|
338
|
+
/**
|
|
339
|
+
* Tannin constructor options.
|
|
340
|
+
*
|
|
341
|
+
* @typedef {Object} TanninOptions
|
|
342
|
+
*
|
|
343
|
+
* @property {string} [contextDelimiter] Joiner in string lookup with context.
|
|
344
|
+
* @property {Function} [onMissingKey] Callback to invoke when key missing.
|
|
345
|
+
*/
|
|
346
|
+
/**
|
|
347
|
+
* Domain metadata.
|
|
348
|
+
*
|
|
349
|
+
* @typedef {Object} TanninDomainMetadata
|
|
350
|
+
*
|
|
351
|
+
* @property {string} [domain] Domain name.
|
|
352
|
+
* @property {string} [lang] Language code.
|
|
353
|
+
* @property {(string|Function)} [plural_forms] Plural forms expression or
|
|
354
|
+
* function evaluator.
|
|
355
|
+
*/
|
|
356
|
+
/**
|
|
357
|
+
* Domain translation pair respectively representing the singular and plural
|
|
358
|
+
* translation.
|
|
359
|
+
*
|
|
360
|
+
* @typedef {[string,string]} TanninTranslation
|
|
361
|
+
*/
|
|
362
|
+
/**
|
|
363
|
+
* Locale data domain. The key is used as reference for lookup, the value an
|
|
364
|
+
* array of two string entries respectively representing the singular and plural
|
|
365
|
+
* translation.
|
|
366
|
+
*
|
|
367
|
+
* @typedef {{[key:string]:TanninDomainMetadata|TanninTranslation,'':TanninDomainMetadata|TanninTranslation}} TanninLocaleDomain
|
|
368
|
+
*/
|
|
369
|
+
/**
|
|
370
|
+
* Jed-formatted locale data.
|
|
371
|
+
*
|
|
372
|
+
* @see http://messageformat.github.io/Jed/
|
|
373
|
+
*
|
|
374
|
+
* @typedef {{[domain:string]:TanninLocaleDomain}} TanninLocaleData
|
|
375
|
+
*/
|
|
376
|
+
/**
|
|
377
|
+
* Default Tannin constructor options.
|
|
378
|
+
*
|
|
379
|
+
* @type {TanninOptions}
|
|
380
|
+
*/
|
|
381
|
+
var DEFAULT_OPTIONS = {
|
|
382
|
+
contextDelimiter: "",
|
|
383
|
+
onMissingKey: null
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Given a specific locale data's config `plural_forms` value, returns the
|
|
387
|
+
* expression.
|
|
388
|
+
*
|
|
389
|
+
* @example
|
|
390
|
+
*
|
|
391
|
+
* ```
|
|
392
|
+
* getPluralExpression( 'nplurals=2; plural=(n != 1);' ) === '(n != 1)'
|
|
393
|
+
* ```
|
|
394
|
+
*
|
|
395
|
+
* @param {string} pf Locale data plural forms.
|
|
396
|
+
*
|
|
397
|
+
* @return {string} Plural forms expression.
|
|
398
|
+
*/
|
|
399
|
+
function getPluralExpression(pf) {
|
|
400
|
+
var parts = pf.split(";"), i, part;
|
|
401
|
+
for (i = 0; i < parts.length; i++) {
|
|
402
|
+
part = parts[i].trim();
|
|
403
|
+
if (part.indexOf("plural=") === 0) return part.substr(7);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* Tannin constructor.
|
|
408
|
+
*
|
|
409
|
+
* @class
|
|
410
|
+
*
|
|
411
|
+
* @param {TanninLocaleData} data Jed-formatted locale data.
|
|
412
|
+
* @param {TanninOptions} [options] Tannin options.
|
|
413
|
+
*/
|
|
414
|
+
function Tannin(data, options) {
|
|
415
|
+
var key;
|
|
416
|
+
/**
|
|
417
|
+
* Jed-formatted locale data.
|
|
418
|
+
*
|
|
419
|
+
* @name Tannin#data
|
|
420
|
+
* @type {TanninLocaleData}
|
|
421
|
+
*/
|
|
422
|
+
this.data = data;
|
|
423
|
+
/**
|
|
424
|
+
* Plural forms function cache, keyed by plural forms string.
|
|
425
|
+
*
|
|
426
|
+
* @name Tannin#pluralForms
|
|
427
|
+
* @type {Object<string,Function>}
|
|
428
|
+
*/
|
|
429
|
+
this.pluralForms = {};
|
|
430
|
+
/**
|
|
431
|
+
* Effective options for instance, including defaults.
|
|
432
|
+
*
|
|
433
|
+
* @name Tannin#options
|
|
434
|
+
* @type {TanninOptions}
|
|
435
|
+
*/
|
|
436
|
+
this.options = {};
|
|
437
|
+
for (key in DEFAULT_OPTIONS) this.options[key] = options !== void 0 && key in options ? options[key] : DEFAULT_OPTIONS[key];
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Returns the plural form index for the given domain and value.
|
|
441
|
+
*
|
|
442
|
+
* @param {string} domain Domain on which to calculate plural form.
|
|
443
|
+
* @param {number} n Value for which plural form is to be calculated.
|
|
444
|
+
*
|
|
445
|
+
* @return {number} Plural form index.
|
|
446
|
+
*/
|
|
447
|
+
Tannin.prototype.getPluralForm = function(domain, n) {
|
|
448
|
+
var getPluralForm = this.pluralForms[domain], config, plural, pf;
|
|
449
|
+
if (!getPluralForm) {
|
|
450
|
+
config = this.data[domain][""];
|
|
451
|
+
pf = config["Plural-Forms"] || config["plural-forms"] || config.plural_forms;
|
|
452
|
+
if (typeof pf !== "function") {
|
|
453
|
+
plural = getPluralExpression(config["Plural-Forms"] || config["plural-forms"] || config.plural_forms);
|
|
454
|
+
pf = pluralForms(plural);
|
|
455
|
+
}
|
|
456
|
+
getPluralForm = this.pluralForms[domain] = pf;
|
|
457
|
+
}
|
|
458
|
+
return getPluralForm(n);
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Translate a string.
|
|
462
|
+
*
|
|
463
|
+
* @param {string} domain Translation domain.
|
|
464
|
+
* @param {string|void} context Context distinguishing terms of the same name.
|
|
465
|
+
* @param {string} singular Primary key for translation lookup.
|
|
466
|
+
* @param {string=} plural Fallback value used for non-zero plural
|
|
467
|
+
* form index.
|
|
468
|
+
* @param {number=} n Value to use in calculating plural form.
|
|
469
|
+
*
|
|
470
|
+
* @return {string} Translated string.
|
|
471
|
+
*/
|
|
472
|
+
Tannin.prototype.dcnpgettext = function(domain, context, singular, plural, n) {
|
|
473
|
+
var index, key, entry;
|
|
474
|
+
if (n === void 0) index = 0;
|
|
475
|
+
else index = this.getPluralForm(domain, n);
|
|
476
|
+
key = singular;
|
|
477
|
+
if (context) key = context + this.options.contextDelimiter + singular;
|
|
478
|
+
entry = this.data[domain][key];
|
|
479
|
+
if (entry && entry[index]) return entry[index];
|
|
480
|
+
if (this.options.onMissingKey) this.options.onMissingKey(singular, domain);
|
|
481
|
+
return index === 0 ? singular : plural;
|
|
482
|
+
};
|
|
483
|
+
//#endregion
|
|
484
|
+
//#region node_modules/@wordpress/i18n/build-module/create-i18n.mjs
|
|
485
|
+
var DEFAULT_LOCALE_DATA = { "": { plural_forms(n) {
|
|
486
|
+
return n === 1 ? 0 : 1;
|
|
487
|
+
} } };
|
|
488
|
+
var I18N_HOOK_REGEXP = /^i18n\.(n?gettext|has_translation)(_|$)/;
|
|
489
|
+
var createI18n = (initialData, initialDomain, hooks) => {
|
|
490
|
+
const tannin = new Tannin({});
|
|
491
|
+
const listeners = new Set();
|
|
492
|
+
const notifyListeners = () => {
|
|
493
|
+
listeners.forEach((listener) => listener());
|
|
494
|
+
};
|
|
495
|
+
const subscribe = (callback) => {
|
|
496
|
+
listeners.add(callback);
|
|
497
|
+
return () => listeners.delete(callback);
|
|
498
|
+
};
|
|
499
|
+
const getLocaleData = (domain = "default") => tannin.data[domain];
|
|
500
|
+
const doSetLocaleData = (data, domain = "default") => {
|
|
501
|
+
tannin.data[domain] = {
|
|
502
|
+
...tannin.data[domain],
|
|
503
|
+
...data
|
|
504
|
+
};
|
|
505
|
+
tannin.data[domain][""] = {
|
|
506
|
+
...DEFAULT_LOCALE_DATA[""],
|
|
507
|
+
...tannin.data[domain]?.[""]
|
|
508
|
+
};
|
|
509
|
+
delete tannin.pluralForms[domain];
|
|
510
|
+
};
|
|
511
|
+
const setLocaleData = (data, domain) => {
|
|
512
|
+
doSetLocaleData(data, domain);
|
|
513
|
+
notifyListeners();
|
|
514
|
+
};
|
|
515
|
+
const addLocaleData = (data, domain = "default") => {
|
|
516
|
+
tannin.data[domain] = {
|
|
517
|
+
...tannin.data[domain],
|
|
518
|
+
...data,
|
|
519
|
+
"": {
|
|
520
|
+
...DEFAULT_LOCALE_DATA[""],
|
|
521
|
+
...tannin.data[domain]?.[""],
|
|
522
|
+
...data?.[""]
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
delete tannin.pluralForms[domain];
|
|
526
|
+
notifyListeners();
|
|
527
|
+
};
|
|
528
|
+
const resetLocaleData = (data, domain) => {
|
|
529
|
+
tannin.data = {};
|
|
530
|
+
tannin.pluralForms = {};
|
|
531
|
+
setLocaleData(data, domain);
|
|
532
|
+
};
|
|
533
|
+
const dcnpgettext = (domain = "default", context, single, plural, number) => {
|
|
534
|
+
if (!tannin.data[domain]) doSetLocaleData(void 0, domain);
|
|
535
|
+
return tannin.dcnpgettext(domain, context, single, plural, number);
|
|
536
|
+
};
|
|
537
|
+
const getFilterDomain = (domain) => domain || "default";
|
|
538
|
+
const __ = (text, domain) => {
|
|
539
|
+
let translation = dcnpgettext(domain, void 0, text);
|
|
540
|
+
if (!hooks) return translation;
|
|
541
|
+
translation = hooks.applyFilters("i18n.gettext", translation, text, domain);
|
|
542
|
+
return hooks.applyFilters("i18n.gettext_" + getFilterDomain(domain), translation, text, domain);
|
|
543
|
+
};
|
|
544
|
+
const _x = (text, context, domain) => {
|
|
545
|
+
let translation = dcnpgettext(domain, context, text);
|
|
546
|
+
if (!hooks) return translation;
|
|
547
|
+
translation = hooks.applyFilters("i18n.gettext_with_context", translation, text, context, domain);
|
|
548
|
+
return hooks.applyFilters("i18n.gettext_with_context_" + getFilterDomain(domain), translation, text, context, domain);
|
|
549
|
+
};
|
|
550
|
+
const _n = (single, plural, number, domain) => {
|
|
551
|
+
let translation = dcnpgettext(domain, void 0, single, plural, number);
|
|
552
|
+
if (!hooks) return translation;
|
|
553
|
+
translation = hooks.applyFilters("i18n.ngettext", translation, single, plural, number, domain);
|
|
554
|
+
return hooks.applyFilters("i18n.ngettext_" + getFilterDomain(domain), translation, single, plural, number, domain);
|
|
555
|
+
};
|
|
556
|
+
const _nx = (single, plural, number, context, domain) => {
|
|
557
|
+
let translation = dcnpgettext(domain, context, single, plural, number);
|
|
558
|
+
if (!hooks) return translation;
|
|
559
|
+
translation = hooks.applyFilters("i18n.ngettext_with_context", translation, single, plural, number, context, domain);
|
|
560
|
+
return hooks.applyFilters("i18n.ngettext_with_context_" + getFilterDomain(domain), translation, single, plural, number, context, domain);
|
|
561
|
+
};
|
|
562
|
+
const isRTL = () => {
|
|
563
|
+
return "rtl" === _x("ltr", "text direction");
|
|
564
|
+
};
|
|
565
|
+
const hasTranslation = (single, context, domain) => {
|
|
566
|
+
const key = context ? context + "" + single : single;
|
|
567
|
+
let result = !!tannin.data?.[domain ?? "default"]?.[key];
|
|
568
|
+
if (hooks) {
|
|
569
|
+
result = hooks.applyFilters("i18n.has_translation", result, single, context, domain);
|
|
570
|
+
result = hooks.applyFilters("i18n.has_translation_" + getFilterDomain(domain), result, single, context, domain);
|
|
571
|
+
}
|
|
572
|
+
return result;
|
|
573
|
+
};
|
|
574
|
+
if (initialData) setLocaleData(initialData, initialDomain);
|
|
575
|
+
if (hooks) {
|
|
576
|
+
const onHookAddedOrRemoved = (hookName) => {
|
|
577
|
+
if (I18N_HOOK_REGEXP.test(hookName)) notifyListeners();
|
|
578
|
+
};
|
|
579
|
+
hooks.addAction("hookAdded", "core/i18n", onHookAddedOrRemoved);
|
|
580
|
+
hooks.addAction("hookRemoved", "core/i18n", onHookAddedOrRemoved);
|
|
581
|
+
}
|
|
582
|
+
return {
|
|
583
|
+
getLocaleData,
|
|
584
|
+
setLocaleData,
|
|
585
|
+
addLocaleData,
|
|
586
|
+
resetLocaleData,
|
|
587
|
+
subscribe,
|
|
588
|
+
__,
|
|
589
|
+
_x,
|
|
590
|
+
_n,
|
|
591
|
+
_nx,
|
|
592
|
+
isRTL,
|
|
593
|
+
hasTranslation
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
//#endregion
|
|
597
|
+
//#region node_modules/@wordpress/hooks/build-module/validateNamespace.mjs
|
|
598
|
+
function validateNamespace(namespace) {
|
|
599
|
+
if ("string" !== typeof namespace || "" === namespace) {
|
|
600
|
+
console.error("The namespace must be a non-empty string.");
|
|
601
|
+
return false;
|
|
602
|
+
}
|
|
603
|
+
if (!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(namespace)) {
|
|
604
|
+
console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes.");
|
|
605
|
+
return false;
|
|
606
|
+
}
|
|
607
|
+
return true;
|
|
608
|
+
}
|
|
609
|
+
var validateNamespace_default = validateNamespace;
|
|
610
|
+
//#endregion
|
|
611
|
+
//#region node_modules/@wordpress/hooks/build-module/validateHookName.mjs
|
|
612
|
+
function validateHookName(hookName) {
|
|
613
|
+
if ("string" !== typeof hookName || "" === hookName) {
|
|
614
|
+
console.error("The hook name must be a non-empty string.");
|
|
615
|
+
return false;
|
|
616
|
+
}
|
|
617
|
+
if (/^__/.test(hookName)) {
|
|
618
|
+
console.error("The hook name cannot begin with `__`.");
|
|
619
|
+
return false;
|
|
620
|
+
}
|
|
621
|
+
if (!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(hookName)) {
|
|
622
|
+
console.error("The hook name can only contain numbers, letters, dashes, periods and underscores.");
|
|
623
|
+
return false;
|
|
624
|
+
}
|
|
625
|
+
return true;
|
|
626
|
+
}
|
|
627
|
+
var validateHookName_default = validateHookName;
|
|
628
|
+
//#endregion
|
|
629
|
+
//#region node_modules/@wordpress/hooks/build-module/createAddHook.mjs
|
|
630
|
+
function createAddHook(hooks, storeKey) {
|
|
631
|
+
return function addHook(hookName, namespace, callback, priority = 10) {
|
|
632
|
+
const hooksStore = hooks[storeKey];
|
|
633
|
+
if (!validateHookName_default(hookName)) return;
|
|
634
|
+
if (!validateNamespace_default(namespace)) return;
|
|
635
|
+
if ("function" !== typeof callback) {
|
|
636
|
+
console.error("The hook callback must be a function.");
|
|
637
|
+
return;
|
|
638
|
+
}
|
|
639
|
+
if ("number" !== typeof priority) {
|
|
640
|
+
console.error("If specified, the hook priority must be a number.");
|
|
641
|
+
return;
|
|
642
|
+
}
|
|
643
|
+
const handler = {
|
|
644
|
+
callback,
|
|
645
|
+
priority,
|
|
646
|
+
namespace
|
|
647
|
+
};
|
|
648
|
+
if (hooksStore[hookName]) {
|
|
649
|
+
const handlers = hooksStore[hookName].handlers;
|
|
650
|
+
let i;
|
|
651
|
+
for (i = handlers.length; i > 0; i--) if (priority >= handlers[i - 1].priority) break;
|
|
652
|
+
if (i === handlers.length) handlers[i] = handler;
|
|
653
|
+
else handlers.splice(i, 0, handler);
|
|
654
|
+
hooksStore.__current.forEach((hookInfo) => {
|
|
655
|
+
if (hookInfo.name === hookName && hookInfo.currentIndex >= i) hookInfo.currentIndex++;
|
|
656
|
+
});
|
|
657
|
+
} else hooksStore[hookName] = {
|
|
658
|
+
handlers: [handler],
|
|
659
|
+
runs: 0
|
|
660
|
+
};
|
|
661
|
+
if (hookName !== "hookAdded") hooks.doAction("hookAdded", hookName, namespace, callback, priority);
|
|
662
|
+
};
|
|
663
|
+
}
|
|
664
|
+
var createAddHook_default = createAddHook;
|
|
665
|
+
//#endregion
|
|
666
|
+
//#region node_modules/@wordpress/hooks/build-module/createRemoveHook.mjs
|
|
667
|
+
function createRemoveHook(hooks, storeKey, removeAll = false) {
|
|
668
|
+
return function removeHook(hookName, namespace) {
|
|
669
|
+
const hooksStore = hooks[storeKey];
|
|
670
|
+
if (!validateHookName_default(hookName)) return;
|
|
671
|
+
if (!removeAll && !validateNamespace_default(namespace)) return;
|
|
672
|
+
if (!hooksStore[hookName]) return 0;
|
|
673
|
+
let handlersRemoved = 0;
|
|
674
|
+
if (removeAll) {
|
|
675
|
+
handlersRemoved = hooksStore[hookName].handlers.length;
|
|
676
|
+
hooksStore[hookName] = {
|
|
677
|
+
runs: hooksStore[hookName].runs,
|
|
678
|
+
handlers: []
|
|
679
|
+
};
|
|
680
|
+
} else {
|
|
681
|
+
const handlers = hooksStore[hookName].handlers;
|
|
682
|
+
for (let i = handlers.length - 1; i >= 0; i--) if (handlers[i].namespace === namespace) {
|
|
683
|
+
handlers.splice(i, 1);
|
|
684
|
+
handlersRemoved++;
|
|
685
|
+
hooksStore.__current.forEach((hookInfo) => {
|
|
686
|
+
if (hookInfo.name === hookName && hookInfo.currentIndex >= i) hookInfo.currentIndex--;
|
|
687
|
+
});
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
if (hookName !== "hookRemoved") hooks.doAction("hookRemoved", hookName, namespace);
|
|
691
|
+
return handlersRemoved;
|
|
692
|
+
};
|
|
693
|
+
}
|
|
694
|
+
var createRemoveHook_default = createRemoveHook;
|
|
695
|
+
//#endregion
|
|
696
|
+
//#region node_modules/@wordpress/hooks/build-module/createHasHook.mjs
|
|
697
|
+
function createHasHook(hooks, storeKey) {
|
|
698
|
+
return function hasHook(hookName, namespace) {
|
|
699
|
+
const hooksStore = hooks[storeKey];
|
|
700
|
+
if ("undefined" !== typeof namespace) return hookName in hooksStore && hooksStore[hookName].handlers.some((hook) => hook.namespace === namespace);
|
|
701
|
+
return hookName in hooksStore;
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
var createHasHook_default = createHasHook;
|
|
705
|
+
//#endregion
|
|
706
|
+
//#region node_modules/@wordpress/hooks/build-module/createRunHook.mjs
|
|
707
|
+
function createRunHook(hooks, storeKey, returnFirstArg, async) {
|
|
708
|
+
return function runHook(hookName, ...args) {
|
|
709
|
+
const hooksStore = hooks[storeKey];
|
|
710
|
+
if (!hooksStore[hookName]) hooksStore[hookName] = {
|
|
711
|
+
handlers: [],
|
|
712
|
+
runs: 0
|
|
713
|
+
};
|
|
714
|
+
hooksStore[hookName].runs++;
|
|
715
|
+
const handlers = hooksStore[hookName].handlers;
|
|
716
|
+
if ("production" !== process.env.NODE_ENV) {
|
|
717
|
+
if ("hookAdded" !== hookName && hooksStore.all) handlers.push(...hooksStore.all.handlers);
|
|
718
|
+
}
|
|
719
|
+
if (!handlers || !handlers.length) return returnFirstArg ? args[0] : void 0;
|
|
720
|
+
const hookInfo = {
|
|
721
|
+
name: hookName,
|
|
722
|
+
currentIndex: 0
|
|
723
|
+
};
|
|
724
|
+
async function asyncRunner() {
|
|
725
|
+
try {
|
|
726
|
+
hooksStore.__current.add(hookInfo);
|
|
727
|
+
let result = returnFirstArg ? args[0] : void 0;
|
|
728
|
+
while (hookInfo.currentIndex < handlers.length) {
|
|
729
|
+
result = await handlers[hookInfo.currentIndex].callback.apply(null, args);
|
|
730
|
+
if (returnFirstArg) args[0] = result;
|
|
731
|
+
hookInfo.currentIndex++;
|
|
732
|
+
}
|
|
733
|
+
return returnFirstArg ? result : void 0;
|
|
734
|
+
} finally {
|
|
735
|
+
hooksStore.__current.delete(hookInfo);
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
function syncRunner() {
|
|
739
|
+
try {
|
|
740
|
+
hooksStore.__current.add(hookInfo);
|
|
741
|
+
let result = returnFirstArg ? args[0] : void 0;
|
|
742
|
+
while (hookInfo.currentIndex < handlers.length) {
|
|
743
|
+
result = handlers[hookInfo.currentIndex].callback.apply(null, args);
|
|
744
|
+
if (returnFirstArg) args[0] = result;
|
|
745
|
+
hookInfo.currentIndex++;
|
|
746
|
+
}
|
|
747
|
+
return returnFirstArg ? result : void 0;
|
|
748
|
+
} finally {
|
|
749
|
+
hooksStore.__current.delete(hookInfo);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
return (async ? asyncRunner : syncRunner)();
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
var createRunHook_default = createRunHook;
|
|
756
|
+
//#endregion
|
|
757
|
+
//#region node_modules/@wordpress/hooks/build-module/createCurrentHook.mjs
|
|
758
|
+
function createCurrentHook(hooks, storeKey) {
|
|
759
|
+
return function currentHook() {
|
|
760
|
+
const hooksStore = hooks[storeKey];
|
|
761
|
+
return Array.from(hooksStore.__current).at(-1)?.name ?? null;
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
var createCurrentHook_default = createCurrentHook;
|
|
765
|
+
//#endregion
|
|
766
|
+
//#region node_modules/@wordpress/hooks/build-module/createDoingHook.mjs
|
|
767
|
+
function createDoingHook(hooks, storeKey) {
|
|
768
|
+
return function doingHook(hookName) {
|
|
769
|
+
const hooksStore = hooks[storeKey];
|
|
770
|
+
if ("undefined" === typeof hookName) return hooksStore.__current.size > 0;
|
|
771
|
+
return Array.from(hooksStore.__current).some((hook) => hook.name === hookName);
|
|
772
|
+
};
|
|
773
|
+
}
|
|
774
|
+
var createDoingHook_default = createDoingHook;
|
|
775
|
+
//#endregion
|
|
776
|
+
//#region node_modules/@wordpress/hooks/build-module/createDidHook.mjs
|
|
777
|
+
function createDidHook(hooks, storeKey) {
|
|
778
|
+
return function didHook(hookName) {
|
|
779
|
+
const hooksStore = hooks[storeKey];
|
|
780
|
+
if (!validateHookName_default(hookName)) return;
|
|
781
|
+
return hooksStore[hookName] && hooksStore[hookName].runs ? hooksStore[hookName].runs : 0;
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
var createDidHook_default = createDidHook;
|
|
785
|
+
//#endregion
|
|
786
|
+
//#region node_modules/@wordpress/hooks/build-module/createHooks.mjs
|
|
787
|
+
var _Hooks = class {
|
|
788
|
+
actions;
|
|
789
|
+
filters;
|
|
790
|
+
addAction;
|
|
791
|
+
addFilter;
|
|
792
|
+
removeAction;
|
|
793
|
+
removeFilter;
|
|
794
|
+
hasAction;
|
|
795
|
+
hasFilter;
|
|
796
|
+
removeAllActions;
|
|
797
|
+
removeAllFilters;
|
|
798
|
+
doAction;
|
|
799
|
+
doActionAsync;
|
|
800
|
+
applyFilters;
|
|
801
|
+
applyFiltersAsync;
|
|
802
|
+
currentAction;
|
|
803
|
+
currentFilter;
|
|
804
|
+
doingAction;
|
|
805
|
+
doingFilter;
|
|
806
|
+
didAction;
|
|
807
|
+
didFilter;
|
|
808
|
+
constructor() {
|
|
809
|
+
this.actions = Object.create(null);
|
|
810
|
+
this.actions.__current = new Set();
|
|
811
|
+
this.filters = Object.create(null);
|
|
812
|
+
this.filters.__current = new Set();
|
|
813
|
+
this.addAction = createAddHook_default(this, "actions");
|
|
814
|
+
this.addFilter = createAddHook_default(this, "filters");
|
|
815
|
+
this.removeAction = createRemoveHook_default(this, "actions");
|
|
816
|
+
this.removeFilter = createRemoveHook_default(this, "filters");
|
|
817
|
+
this.hasAction = createHasHook_default(this, "actions");
|
|
818
|
+
this.hasFilter = createHasHook_default(this, "filters");
|
|
819
|
+
this.removeAllActions = createRemoveHook_default(this, "actions", true);
|
|
820
|
+
this.removeAllFilters = createRemoveHook_default(this, "filters", true);
|
|
821
|
+
this.doAction = createRunHook_default(this, "actions", false, false);
|
|
822
|
+
this.doActionAsync = createRunHook_default(this, "actions", false, true);
|
|
823
|
+
this.applyFilters = createRunHook_default(this, "filters", true, false);
|
|
824
|
+
this.applyFiltersAsync = createRunHook_default(this, "filters", true, true);
|
|
825
|
+
this.currentAction = createCurrentHook_default(this, "actions");
|
|
826
|
+
this.currentFilter = createCurrentHook_default(this, "filters");
|
|
827
|
+
this.doingAction = createDoingHook_default(this, "actions");
|
|
828
|
+
this.doingFilter = createDoingHook_default(this, "filters");
|
|
829
|
+
this.didAction = createDidHook_default(this, "actions");
|
|
830
|
+
this.didFilter = createDidHook_default(this, "filters");
|
|
831
|
+
}
|
|
832
|
+
};
|
|
833
|
+
function createHooks() {
|
|
834
|
+
return new _Hooks();
|
|
835
|
+
}
|
|
836
|
+
var createHooks_default = createHooks;
|
|
837
|
+
//#endregion
|
|
838
|
+
//#region node_modules/@wordpress/hooks/build-module/index.mjs
|
|
839
|
+
var defaultHooks = createHooks_default();
|
|
840
|
+
var { addAction, addFilter, removeAction, removeFilter, hasAction, hasFilter, removeAllActions, removeAllFilters, doAction, doActionAsync, applyFilters, applyFiltersAsync, currentAction, currentFilter, doingAction, doingFilter, didAction, didFilter, actions, filters } = defaultHooks;
|
|
841
|
+
//#endregion
|
|
842
|
+
//#region node_modules/@wordpress/i18n/build-module/default-i18n.mjs
|
|
843
|
+
var i18n = createI18n(void 0, void 0, defaultHooks);
|
|
844
|
+
var getLocaleData = i18n.getLocaleData.bind(i18n);
|
|
845
|
+
var setLocaleData = i18n.setLocaleData.bind(i18n);
|
|
846
|
+
var resetLocaleData = i18n.resetLocaleData.bind(i18n);
|
|
847
|
+
var subscribe = i18n.subscribe.bind(i18n);
|
|
848
|
+
var __ = i18n.__.bind(i18n);
|
|
849
|
+
var _x = i18n._x.bind(i18n);
|
|
850
|
+
var _n = i18n._n.bind(i18n);
|
|
851
|
+
var _nx = i18n._nx.bind(i18n);
|
|
852
|
+
var isRTL = i18n.isRTL.bind(i18n);
|
|
853
|
+
var hasTranslation = i18n.hasTranslation.bind(i18n);
|
|
854
|
+
//#endregion
|
|
855
|
+
export { _n as n, sprintf as r, __ as t };
|