@limetech/lime-elements 39.33.2 → 39.34.1
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/CHANGELOG.md +14 -0
- package/dist/cjs/{checkbox.template-CHtKKyY1.js → checkbox.template-BLkvZRs6.js} +1 -1
- package/dist/cjs/{index-BjHIBY-I.js → index-8x93m5oI.js} +57 -21
- package/dist/cjs/lime-elements.cjs.js +3 -3
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +2 -2
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +4 -4
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +2 -2
- package/dist/cjs/limel-badge.cjs.entry.js +3 -3
- package/dist/cjs/limel-banner.cjs.entry.js +2 -2
- package/dist/cjs/limel-breadcrumbs_8.cjs.entry.js +9 -9
- package/dist/cjs/limel-button-group.cjs.entry.js +2 -2
- package/dist/cjs/limel-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-callout.cjs.entry.js +2 -2
- package/dist/cjs/limel-card.cjs.entry.js +2 -2
- package/dist/cjs/limel-chart.cjs.entry.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/limel-chip-set.cjs.entry.js +2 -2
- package/dist/cjs/limel-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-diff.cjs.entry.js +75 -34
- package/dist/cjs/limel-code-editor.cjs.entry.js +2 -2
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -3
- package/dist/cjs/limel-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/limel-config.cjs.entry.js +1 -1
- package/dist/cjs/limel-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +3 -3
- package/dist/cjs/limel-dock-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-dock.cjs.entry.js +3 -3
- package/dist/cjs/limel-drag-handle.cjs.entry.js +2 -2
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +2 -2
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-file-viewer.cjs.entry.js +61 -49
- package/dist/cjs/limel-file.cjs.entry.js +2 -2
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +2 -2
- package/dist/cjs/limel-flex-container.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +7831 -6820
- package/dist/cjs/limel-grid.cjs.entry.js +2 -2
- package/dist/cjs/limel-header.cjs.entry.js +2 -2
- package/dist/cjs/limel-help-content.cjs.entry.js +2 -2
- package/dist/cjs/limel-help.cjs.entry.js +3 -3
- package/dist/cjs/limel-helper-line.cjs.entry.js +3 -3
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +6 -6
- package/dist/cjs/limel-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-icon.cjs.entry.js +2 -2
- package/dist/cjs/limel-info-tile.cjs.entry.js +3 -3
- package/dist/cjs/limel-list-item.cjs.entry.js +5 -5
- package/dist/cjs/limel-markdown.cjs.entry.js +3 -3
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +2 -2
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +2 -2
- package/dist/cjs/limel-picker.cjs.entry.js +2 -2
- package/dist/cjs/limel-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1633 -1516
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/limel-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-select.cjs.entry.js +3 -3
- package/dist/cjs/limel-shortcut.cjs.entry.js +2 -2
- package/dist/cjs/limel-slider.cjs.entry.js +3 -3
- package/dist/cjs/limel-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/limel-split-button.cjs.entry.js +3 -3
- package/dist/cjs/limel-switch.cjs.entry.js +2 -2
- package/dist/cjs/limel-tab-bar.cjs.entry.js +3 -3
- package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/limel-table.cjs.entry.js +255 -154
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +4 -4
- package/dist/cjs/limel-text-editor.cjs.entry.js +16 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{markdown-parser-BIa99LAc.js → markdown-parser-ZtNkFlPt.js} +336 -370
- package/dist/cjs/{render-list-component-DgRQ8H3v.js → render-list-component-DAV1Dyg1.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
- package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/callout/callout.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +11 -7
- package/dist/collection/components/chip-set/chip-set.js +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +2 -2
- package/dist/collection/components/code-diff/code-diff.js +1 -1
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
- package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dock/dock.js +3 -3
- package/dist/collection/components/drag-handle/drag-handle.js +1 -1
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +1 -1
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/form.js +1 -1
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/portal.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button.js +2 -2
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/slider/slider.js +5 -5
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.css +1 -0
- package/dist/collection/components/table/table.js +3 -3
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +42 -3
- package/dist/collection/components/text-editor/text-editor.js +37 -3
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +3 -3
- package/dist/esm/{checkbox.template-CfWJ3CAC.js → checkbox.template-CtIjSGPt.js} +1 -1
- package/dist/esm/{index-DBTJNfo7.js → index-VCOjLfyP.js} +57 -21
- package/dist/esm/lime-elements.js +4 -4
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +2 -2
- package/dist/esm/limel-action-bar_3.entry.js +4 -4
- package/dist/esm/limel-ai-avatar.entry.js +2 -2
- package/dist/esm/limel-badge.entry.js +3 -3
- package/dist/esm/limel-banner.entry.js +2 -2
- package/dist/esm/limel-breadcrumbs_8.entry.js +9 -9
- package/dist/esm/limel-button-group.entry.js +2 -2
- package/dist/esm/limel-button.entry.js +3 -3
- package/dist/esm/limel-callout.entry.js +2 -2
- package/dist/esm/limel-card.entry.js +2 -2
- package/dist/esm/limel-chart.entry.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +3 -3
- package/dist/esm/limel-chip-set.entry.js +2 -2
- package/dist/esm/limel-chip_2.entry.js +2 -2
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-diff.entry.js +75 -34
- package/dist/esm/limel-code-editor.entry.js +2 -2
- package/dist/esm/limel-collapsible-section.entry.js +2 -2
- package/dist/esm/limel-color-picker-palette.entry.js +3 -3
- package/dist/esm/limel-color-picker.entry.js +2 -2
- package/dist/esm/limel-config.entry.js +1 -1
- package/dist/esm/limel-date-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +3 -3
- package/dist/esm/limel-dock-button.entry.js +1 -1
- package/dist/esm/limel-dock.entry.js +3 -3
- package/dist/esm/limel-drag-handle.entry.js +2 -2
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +2 -2
- package/dist/esm/limel-file-dropzone_2.entry.js +3 -3
- package/dist/esm/limel-file-viewer.entry.js +61 -49
- package/dist/esm/limel-file.entry.js +2 -2
- package/dist/esm/limel-flatpickr-adapter.entry.js +2 -2
- package/dist/esm/limel-flex-container.entry.js +2 -2
- package/dist/esm/limel-form.entry.js +7831 -6820
- package/dist/esm/limel-grid.entry.js +2 -2
- package/dist/esm/limel-header.entry.js +2 -2
- package/dist/esm/limel-help-content.entry.js +2 -2
- package/dist/esm/limel-help.entry.js +3 -3
- package/dist/esm/limel-helper-line.entry.js +3 -3
- package/dist/esm/limel-hotkey_4.entry.js +6 -6
- package/dist/esm/limel-icon-button.entry.js +2 -2
- package/dist/esm/limel-icon.entry.js +2 -2
- package/dist/esm/limel-info-tile.entry.js +3 -3
- package/dist/esm/limel-list-item.entry.js +5 -5
- package/dist/esm/limel-markdown.entry.js +3 -3
- package/dist/esm/limel-masonry-layout.entry.js +2 -2
- package/dist/esm/limel-menu-item-meta.entry.js +2 -2
- package/dist/esm/limel-picker.entry.js +2 -2
- package/dist/esm/limel-popover_2.entry.js +3 -3
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-progress-flow-item.entry.js +1 -1
- package/dist/esm/limel-progress-flow.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +1633 -1516
- package/dist/esm/limel-radio-button-group.entry.js +2 -2
- package/dist/esm/limel-radio-button.entry.js +3 -3
- package/dist/esm/limel-select.entry.js +3 -3
- package/dist/esm/limel-shortcut.entry.js +2 -2
- package/dist/esm/limel-slider.entry.js +3 -3
- package/dist/esm/limel-snackbar.entry.js +3 -3
- package/dist/esm/limel-split-button.entry.js +3 -3
- package/dist/esm/limel-switch.entry.js +2 -2
- package/dist/esm/limel-tab-bar.entry.js +3 -3
- package/dist/esm/limel-tab-panel.entry.js +2 -2
- package/dist/esm/limel-table.entry.js +255 -154
- package/dist/esm/limel-text-editor-link-menu.entry.js +4 -4
- package/dist/esm/limel-text-editor.entry.js +16 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{markdown-parser-D7vLKElE.js → markdown-parser-nW7FzScN.js} +294 -328
- package/dist/esm/{render-list-component-D7LjGxDF.js → render-list-component-BdncB2vG.js} +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-1efd78ee.entry.js → p-0605c490.entry.js} +1 -1
- package/dist/lime-elements/p-063b8d0a.entry.js +1 -0
- package/dist/lime-elements/{p-5d9adcbb.entry.js → p-08e7006f.entry.js} +1 -1
- package/dist/lime-elements/p-10955e5d.entry.js +1 -0
- package/dist/lime-elements/p-1153e2ba.entry.js +1 -0
- package/dist/lime-elements/{p-49901dd7.entry.js → p-17ff8353.entry.js} +1 -1
- package/dist/lime-elements/{p-19a259ff.entry.js → p-2a27bf12.entry.js} +1 -1
- package/dist/lime-elements/{p-d8b640e8.entry.js → p-2cb55d62.entry.js} +1 -1
- package/dist/lime-elements/{p-0f8672fe.entry.js → p-2ef433e0.entry.js} +1 -1
- package/dist/lime-elements/{p-12aa0d06.entry.js → p-317d56a7.entry.js} +1 -1
- package/dist/lime-elements/{p-d5f189b9.entry.js → p-31965f6c.entry.js} +2 -2
- package/dist/lime-elements/{p-61ec46d5.entry.js → p-33ab319b.entry.js} +1 -1
- package/dist/lime-elements/p-444e3088.entry.js +1 -0
- package/dist/lime-elements/p-44bd59ac.entry.js +1 -0
- package/dist/lime-elements/{p-08a261ce.entry.js → p-44f4d02e.entry.js} +1 -1
- package/dist/lime-elements/{p-5f121609.entry.js → p-45801616.entry.js} +1 -1
- package/dist/lime-elements/{p-1ae8b33a.entry.js → p-53b7bee8.entry.js} +1 -1
- package/dist/lime-elements/{p-122cd39d.entry.js → p-66600fc3.entry.js} +1 -1
- package/dist/lime-elements/{p-46900c5b.entry.js → p-6c60d915.entry.js} +1 -1
- package/dist/lime-elements/{p-a85b2734.entry.js → p-6fa4b1b3.entry.js} +1 -1
- package/dist/lime-elements/{p-59716b48.entry.js → p-719dc4c0.entry.js} +1 -1
- package/dist/lime-elements/{p-7b074737.entry.js → p-7776313e.entry.js} +1 -1
- package/dist/lime-elements/{p-6ca1da96.entry.js → p-7b687fc6.entry.js} +1 -1
- package/dist/lime-elements/{p-2a92790c.entry.js → p-7f891de4.entry.js} +1 -1
- package/dist/lime-elements/{p-a7764b6d.entry.js → p-80b0bcb3.entry.js} +1 -1
- package/dist/lime-elements/{p-871eb795.entry.js → p-8376ac0d.entry.js} +2 -2
- package/dist/lime-elements/{p-dee5717c.entry.js → p-8aaf4f50.entry.js} +1 -1
- package/dist/lime-elements/{p-8fde4714.entry.js → p-90a506aa.entry.js} +1 -1
- package/dist/lime-elements/{p-d0288858.entry.js → p-9b7966f1.entry.js} +1 -1
- package/dist/lime-elements/{p-bffbd011.entry.js → p-9bb07225.entry.js} +1 -1
- package/dist/lime-elements/{p-a6805c64.entry.js → p-9e8eaa86.entry.js} +1 -1
- package/dist/lime-elements/{p-989f4a52.entry.js → p-9eb06bf7.entry.js} +1 -1
- package/dist/lime-elements/{p-faceccc0.entry.js → p-9eb6879d.entry.js} +1 -1
- package/dist/lime-elements/{p--9pvUs5M.js → p-D9twpDvz.js} +1 -1
- package/dist/lime-elements/p-NN0EYecx.js +1 -0
- package/dist/lime-elements/p-VCOjLfyP.js +2 -0
- package/dist/lime-elements/{p-e5e8a734.entry.js → p-a0720aca.entry.js} +8 -8
- package/dist/lime-elements/{p-f5d60f9c.entry.js → p-a11abcb0.entry.js} +4 -4
- package/dist/lime-elements/p-a73f70d7.entry.js +1 -0
- package/dist/lime-elements/{p-129a19c7.entry.js → p-a7e9e96c.entry.js} +1 -1
- package/dist/lime-elements/{p-140afd9f.entry.js → p-a827a280.entry.js} +1 -1
- package/dist/lime-elements/{p-d0607ba8.entry.js → p-aa6190e8.entry.js} +1 -1
- package/dist/lime-elements/{p-b8a31121.entry.js → p-aa8d7faa.entry.js} +1 -1
- package/dist/lime-elements/{p-5da0315f.entry.js → p-aba01020.entry.js} +1 -1
- package/dist/lime-elements/{p-b61a1d27.entry.js → p-ac5d5099.entry.js} +2 -2
- package/dist/lime-elements/{p-9b3e8f43.entry.js → p-b3b53dbc.entry.js} +1 -1
- package/dist/lime-elements/{p-9359e870.entry.js → p-b7649589.entry.js} +1 -1
- package/dist/lime-elements/{p-1a5541f1.entry.js → p-bcc2cb1a.entry.js} +1 -1
- package/dist/lime-elements/{p-4d948ed5.entry.js → p-c447d311.entry.js} +1 -1
- package/dist/lime-elements/{p-33bd5212.entry.js → p-c6cbd842.entry.js} +1 -1
- package/dist/lime-elements/{p-df0b927e.entry.js → p-caf1bca2.entry.js} +1 -1
- package/dist/lime-elements/{p-f85dbaec.entry.js → p-cdbab1d5.entry.js} +1 -1
- package/dist/lime-elements/{p-DdYOzHlg.js → p-csTwzWL7.js} +2 -2
- package/dist/lime-elements/p-d8d6e12a.entry.js +13 -0
- package/dist/lime-elements/{p-60518e6b.entry.js → p-db0bd965.entry.js} +1 -1
- package/dist/lime-elements/{p-22f34040.entry.js → p-dc415221.entry.js} +1 -1
- package/dist/lime-elements/{p-91990c64.entry.js → p-e31d0b36.entry.js} +1 -1
- package/dist/lime-elements/p-e38a13fb.entry.js +1 -0
- package/dist/lime-elements/{p-fa0d7b8c.entry.js → p-e4549e8b.entry.js} +1 -1
- package/dist/lime-elements/{p-d09e74b1.entry.js → p-e59d7177.entry.js} +1 -1
- package/dist/lime-elements/{p-50f51eb9.entry.js → p-e7b9716f.entry.js} +1 -1
- package/dist/lime-elements/{p-9e1a4d63.entry.js → p-ed70059b.entry.js} +1 -1
- package/dist/lime-elements/{p-afd4be62.entry.js → p-eef0cd8b.entry.js} +1 -1
- package/dist/lime-elements/{p-de203f64.entry.js → p-f7695614.entry.js} +1 -1
- package/dist/lime-elements/{p-198f3179.entry.js → p-f91de6bd.entry.js} +1 -1
- package/dist/lime-elements/{p-2a9e7bf5.entry.js → p-f9b74b03.entry.js} +1 -1
- package/dist/lime-elements/p-f9c8e4d2.entry.js +1 -0
- package/dist/lime-elements/{p-6b7e58c3.entry.js → p-fac02bae.entry.js} +1 -1
- package/dist/lime-elements/{p-82fb5c74.entry.js → p-fc435802.entry.js} +1 -1
- package/dist/lime-elements/p-fe64b285.entry.js +1 -0
- package/dist/types/components/form/widgets/code-editor.d.ts +2 -2
- package/dist/types/components/text-editor/prosemirror-adapter/prosemirror-adapter.d.ts +14 -0
- package/dist/types/components/text-editor/text-editor.d.ts +11 -0
- package/dist/types/components.d.ts +30 -20
- package/dist/types/stencil-public-runtime.d.ts +1 -0
- package/package.json +34 -36
- package/dist/lime-elements/p-00e54ccf.entry.js +0 -1
- package/dist/lime-elements/p-1614ad86.entry.js +0 -1
- package/dist/lime-elements/p-16254e4a.entry.js +0 -1
- package/dist/lime-elements/p-3f78362b.entry.js +0 -13
- package/dist/lime-elements/p-444e571b.entry.js +0 -1
- package/dist/lime-elements/p-6015621e.entry.js +0 -1
- package/dist/lime-elements/p-730ba357.entry.js +0 -1
- package/dist/lime-elements/p-8203eea8.entry.js +0 -1
- package/dist/lime-elements/p-84f5727c.entry.js +0 -1
- package/dist/lime-elements/p-BaPK7VfG.js +0 -1
- package/dist/lime-elements/p-DBTJNfo7.js +0 -2
- package/dist/lime-elements/p-c9fa7a09.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as i,a as n}from"./p-DBTJNfo7.js";import{t as r,n as o}from"./p-BxrRWYts.js";import{c as a}from"./p-B-tmXAXV.js";import{c as s}from"./p-JbKhhoXs.js";const l=class{constructor(e){t(this,e),this.disabled=!1}componentWillLoad(){this.isApple=a()}render(){const t=r(this.value),n=t.map((t=>function(t,e){const i=(null!=t?t:"").trim();if(!i)return{display:"",isGlyph:!1,ariaName:""};if("+"===i)return{display:"+",isGlyph:!1,ariaName:"plus"};const n=i.toLowerCase();switch(n){case"meta":case"win":case"windows":return e?{display:"⌘",isGlyph:!0,ariaName:"Command"}:{display:"⊞ Win",isGlyph:!1,ariaName:"Windows"};case"cmd":case"command":return{display:"⌘",isGlyph:!0,ariaName:"Command"};case"alt":case"option":return e?{display:"⌥",isGlyph:!0,ariaName:"Option"}:{display:"Alt",isGlyph:!1,ariaName:"Alt"};case"shift":return{display:"⇧",isGlyph:!0,ariaName:"Shift"};case"enter":case"return":return{display:"↩",isGlyph:!0,ariaName:"Enter"};case"tab":return{display:"⇥",isGlyph:!0,ariaName:"Tab"};case"delete":case"del":case"backspace":return e?{display:"⌫",isGlyph:!0,ariaName:"Delete"}:"backspace"===n?{display:"Backspace",isGlyph:!1,ariaName:"Backspace"}:{display:"Del",isGlyph:!1,ariaName:"Delete"};case"ctrl":case"control":return e?{display:"⌃",isGlyph:!0,ariaName:"Control"}:{display:"Ctrl",isGlyph:!1,ariaName:"Control"};case"escape":case"esc":return{display:"Esc",isGlyph:!1,ariaName:"Escape"};case"space":case"spacebar":return{display:"␣",isGlyph:!0,ariaName:"Space"};case"arrowup":case"up":return{display:"↑",isGlyph:!0,ariaName:"Up"};case"arrowdown":case"down":return{display:"↓",isGlyph:!0,ariaName:"Down"};case"arrowleft":case"left":return{display:"←",isGlyph:!0,ariaName:"Left"};case"arrowright":case"right":return{display:"→",isGlyph:!0,ariaName:"Right"}}return{display:i,isGlyph:!1,ariaName:i}}(t,this.isApple))),o=n.map((t=>t.ariaName)).filter(Boolean).join(" ");return e(i,{key:"64fe94022e5b3d6fad796b04223408ce4ce8abfd","aria-label":o||void 0},n.map((({display:i,isGlyph:n},r)=>e("kbd",{key:`${t[r]}-${r}`,class:n?"is-glyph":void 0},e("span",null,i)))))}};l.style='@charset "UTF-8";kbd{display:inline-block;font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-weight:600;color:rgb(var(--contrast-1100));white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:normal;border-radius:0.125rem;border-style:solid;border-color:rgb(var(--contrast-500));border-width:0 1px 0.1875rem 1px;padding:0.0625rem 0.375rem;margin:0 0.25rem;background-color:rgb(var(--contrast-200));box-shadow:var(--button-shadow-normal), 0 0.625rem 0.375rem -0.5rem rgb(var(--color-black), 0.02), 0 0.025rem 0.5rem 0 rgb(var(--contrast-100)) inset}:host(limel-hotkey){display:flex;align-items:center;justify-content:center;gap:0.25rem}:host(limel-hotkey[disabled]:not([disabled=false])){opacity:0.5}kbd{text-transform:var(--hotkey-text-transform, uppercase);margin:0;font-size:0.75rem;box-shadow:var(--button-shadow-pressed), 0 0.625rem 0.375px -0.5rem rgb(var(--color-black), 0.02), 0 0.025rem 0.5rem 0 rgb(var(--contrast-100)) inset}span{display:inline-block}kbd.is-glyph span{transform:scale(1.2)}';var c="top",u="bottom",h="right",f="left",d="auto",p=[c,u,h,f],m="start",b="end",v="viewport",y="popper",g=p.reduce((function(t,e){return t.concat([e+"-"+m,e+"-"+b])}),[]),w=[].concat(p,[d]).reduce((function(t,e){return t.concat([e,e+"-"+m,e+"-"+b])}),[]),x=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function O(t){return t?(t.nodeName||"").toLowerCase():null}function k(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function j(t){return t instanceof k(t).Element||t instanceof Element}function C(t){return t instanceof k(t).HTMLElement||t instanceof HTMLElement}function N(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function G(t){return t.split("-")[0]}var M=Math.max,A=Math.min,P=Math.round;function S(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function B(){return!/^((?!chrome|android).)*safari/i.test(S())}function W(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),r=1,o=1;e&&C(t)&&(r=t.offsetWidth>0&&P(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&P(n.height)/t.offsetHeight||1);var a=(j(t)?k(t):window).visualViewport,s=!B()&&i,l=(n.left+(s&&a?a.offsetLeft:0))/r,c=(n.top+(s&&a?a.offsetTop:0))/o,u=n.width/r,h=n.height/o;return{width:u,height:h,top:c,right:l+u,bottom:c+h,left:l,x:l,y:c}}function L(t){var e=W(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function D(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&N(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function E(t){return k(t).getComputedStyle(t)}function T(t){return["table","td","th"].indexOf(O(t))>=0}function z(t){return((j(t)?t.ownerDocument:t.document)||window.document).documentElement}function R(t){return"html"===O(t)?t:t.assignedSlot||t.parentNode||(N(t)?t.host:null)||z(t)}function H(t){return C(t)&&"fixed"!==E(t).position?t.offsetParent:null}function q(t){for(var e=k(t),i=H(t);i&&T(i)&&"static"===E(i).position;)i=H(i);return i&&("html"===O(i)||"body"===O(i)&&"static"===E(i).position)?e:i||function(t){var e=/firefox/i.test(S());if(/Trident/i.test(S())&&C(t)&&"fixed"===E(t).position)return null;var i=R(t);for(N(i)&&(i=i.host);C(i)&&["html","body"].indexOf(O(i))<0;){var n=E(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function _(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function I(t,e,i){return M(t,A(e,i))}function V(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function $(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}function F(t){return t.split("-")[1]}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(t){var e,i=t.popper,n=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,d=t.adaptive,p=t.roundOffsets,m=t.isFixed,v=a.x,y=void 0===v?0:v,g=a.y,w=void 0===g?0:g,x="function"==typeof p?p({x:y,y:w}):{x:y,y:w};y=x.x,w=x.y;var O=a.hasOwnProperty("x"),j=a.hasOwnProperty("y"),C=f,N=c,G=window;if(d){var M=q(i),A="clientHeight",S="clientWidth";M===k(i)&&"static"!==E(M=z(i)).position&&"absolute"===s&&(A="scrollHeight",S="scrollWidth"),(r===c||(r===f||r===h)&&o===b)&&(N=u,w-=(m&&M===G&&G.visualViewport?G.visualViewport.height:M[A])-n.height,w*=l?1:-1),r!==f&&(r!==c&&r!==u||o!==b)||(C=h,y-=(m&&M===G&&G.visualViewport?G.visualViewport.width:M[S])-n.width,y*=l?1:-1)}var B,W=Object.assign({position:s},d&&U),L=!0===p?function(t,e){var i=t.y,n=e.devicePixelRatio||1;return{x:P(t.x*n)/n||0,y:P(i*n)/n||0}}({x:y,y:w},k(i)):{x:y,y:w};return y=L.x,w=L.y,Object.assign({},W,l?((B={})[N]=j?"0":"",B[C]=O?"0":"",B.transform=(G.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",B):((e={})[N]=j?w+"px":"",e[C]=O?y+"px":"",e.transform="",e))}var J={passive:!0},K={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(t){return t.replace(/left|right|bottom|top/g,(function(t){return K[t]}))}var Q={start:"end",end:"start"};function Z(t){return t.replace(/start|end/g,(function(t){return Q[t]}))}function tt(t){var e=k(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function et(t){return W(z(t)).left+tt(t).scrollLeft}function it(t){var e=E(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function nt(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:C(t)&&it(t)?t:nt(R(t))}function rt(t,e){var i;void 0===e&&(e=[]);var n=nt(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),o=k(n),a=r?[o].concat(o.visualViewport||[],it(n)?n:[]):n,s=e.concat(a);return r?s:s.concat(rt(R(a)))}function ot(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function at(t,e,i){return e===v?ot(function(t,e){var i=k(t),n=z(t),r=i.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;var c=B();(c||!c&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:o,height:a,x:s+et(t),y:l}}(t,i)):j(e)?function(t,e){var i=W(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ot(function(t){var e,i=z(t),n=tt(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=M(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=M(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-n.scrollLeft+et(t),l=-n.scrollTop;return"rtl"===E(r||i).direction&&(s+=M(i.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(z(t)))}function st(t){var e,i=t.reference,n=t.element,r=t.placement,o=r?G(r):null,a=r?F(r):null,s=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case c:e={x:s,y:i.y-n.height};break;case u:e={x:s,y:i.y+i.height};break;case h:e={x:i.x+i.width,y:l};break;case f:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var d=o?_(o):null;if(null!=d){var p="y"===d?"height":"width";switch(a){case m:e[d]=e[d]-(i[p]/2-n[p]/2);break;case b:e[d]=e[d]+(i[p]/2-n[p]/2)}}return e}function lt(t,e){void 0===e&&(e={});var i=e.placement,n=void 0===i?t.placement:i,r=e.strategy,o=void 0===r?t.strategy:r,a=e.boundary,s=void 0===a?"clippingParents":a,l=e.rootBoundary,f=void 0===l?v:l,d=e.elementContext,m=void 0===d?y:d,b=e.altBoundary,g=void 0!==b&&b,w=e.padding,x=void 0===w?0:w,k=V("number"!=typeof x?x:$(x,p)),N=t.rects.popper,G=t.elements[g?m===y?"reference":y:m],P=function(t,e,i,n){var r="clippingParents"===e?function(t){var e=rt(R(t)),i=["absolute","fixed"].indexOf(E(t).position)>=0&&C(t)?q(t):t;return j(i)?e.filter((function(t){return j(t)&&D(t,i)&&"body"!==O(t)})):[]}(t):[].concat(e),o=[].concat(r,[i]),a=o.reduce((function(e,i){var r=at(t,i,n);return e.top=M(r.top,e.top),e.right=A(r.right,e.right),e.bottom=A(r.bottom,e.bottom),e.left=M(r.left,e.left),e}),at(t,o[0],n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(j(G)?G:G.contextElement||z(t.elements.popper),s,f,o),S=W(t.elements.reference),B=st({reference:S,element:N,placement:n}),L=ot(Object.assign({},N,B)),T=m===y?L:S,H={top:P.top-T.top+k.top,bottom:T.bottom-P.bottom+k.bottom,left:P.left-T.left+k.left,right:T.right-P.right+k.right},_=t.modifiersData.offset;if(m===y&&_){var I=_[n];Object.keys(H).forEach((function(t){var e=[h,u].indexOf(t)>=0?1:-1,i=[c,u].indexOf(t)>=0?"y":"x";H[t]+=I[i]*e}))}return H}function ct(t,e){void 0===e&&(e={});var i=e.boundary,n=e.rootBoundary,r=e.padding,o=e.flipVariations,a=e.allowedAutoPlacements,s=void 0===a?w:a,l=F(e.placement),c=l?o?g:g.filter((function(t){return F(t)===l})):p,u=c.filter((function(t){return s.indexOf(t)>=0}));0===u.length&&(u=c);var h=u.reduce((function(e,o){return e[o]=lt(t,{placement:o,boundary:i,rootBoundary:n,padding:r})[G(o)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}var ut={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var r=i.mainAxis,o=void 0===r||r,a=i.altAxis,s=void 0===a||a,l=i.fallbackPlacements,p=i.padding,b=i.boundary,v=i.rootBoundary,y=i.altBoundary,g=i.flipVariations,w=void 0===g||g,x=i.allowedAutoPlacements,O=e.options.placement,k=G(O),j=l||(k!==O&&w?function(t){if(G(t)===d)return[];var e=Y(t);return[Z(t),e,Z(e)]}(O):[Y(O)]),C=[O].concat(j).reduce((function(t,i){return t.concat(G(i)===d?ct(e,{placement:i,boundary:b,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:x}):i)}),[]),N=e.rects.reference,M=e.rects.popper,A=new Map,P=!0,S=C[0],B=0;B<C.length;B++){var W=C[B],L=G(W),D=F(W)===m,E=[c,u].indexOf(L)>=0,T=E?"width":"height",z=lt(e,{placement:W,boundary:b,rootBoundary:v,altBoundary:y,padding:p}),R=E?D?h:f:D?u:c;N[T]>M[T]&&(R=Y(R));var H=Y(R),q=[];if(o&&q.push(z[L]<=0),s&&q.push(z[R]<=0,z[H]<=0),q.every((function(t){return t}))){S=W,P=!1;break}A.set(W,q)}if(P)for(var _=function(t){var e=C.find((function(e){var i=A.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},I=w?3:1;I>0&&"break"!==_(I);I--);e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ht(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ft(t){return[c,h,u,f].some((function(e){return t[e]>=0}))}function dt(t,e,i){void 0===i&&(i=!1);var n,r,o=C(e),a=C(e)&&function(t){var e=t.getBoundingClientRect(),i=P(e.width)/t.offsetWidth||1,n=P(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),s=z(e),l=W(t,a,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!i)&&(("body"!==O(e)||it(s))&&(c=(n=e)!==k(n)&&C(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:tt(n)),C(e)?((u=W(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=et(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pt(t){var e=new Map,i=new Set,n=[];function r(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&r(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||r(t)})),n}var mt={placement:"bottom",modifiers:[],strategy:"absolute"};function bt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t.defaultModifiers,i=void 0===e?[]:e,n=t.defaultOptions,r=void 0===n?mt:n;return function(t,e,n){void 0===n&&(n=r);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},mt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;h(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:j(t)?rt(t):t.contextElement?rt(t.contextElement):[],popper:rt(e)};var a,c,f=function(t){var e=pt(t);return x.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((a=[].concat(i,s.options.modifiers),c=a.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return s.orderedModifiers=f.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,i=t.effect;if("function"==typeof i){var n=i({state:s,name:t.name,instance:u,options:void 0===e?{}:e});l.push(n||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=s.elements,e=t.reference,i=t.popper;if(bt(e,i)){s.rects={reference:dt(e,q(i),"fixed"===s.options.strategy),popper:L(i)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var r=s.orderedModifiers[n],o=r.fn,a=r.options;"function"==typeof o&&(s=o({state:s,options:void 0===a?{}:a,name:r.name,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){u.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){h(),c=!0}};if(!bt(t,e))return u;function h(){l.forEach((function(t){return t()})),l=[]}return u.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var yt=vt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,r=n.scroll,o=void 0===r||r,a=n.resize,s=void 0===a||a,l=k(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,J)})),s&&l.addEventListener("resize",i.update,J),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,J)})),s&&l.removeEventListener("resize",i.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=st({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,r=void 0===n||n,o=i.adaptive,a=void 0===o||o,s=i.roundOffsets,l=void 0===s||s,c={placement:G(e.placement),variation:F(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,X(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,X(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},r=e.elements[t];C(r)&&O(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});C(n)&&O(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,n=t.options.offset,r=void 0===n?[0,0]:n,o=w.reduce((function(t,i){return t[i]=function(t,e,i){var n=G(t),r=[f,c].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[f,h].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(i,e.rects,r),t}),{}),a=o[e.placement],s=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=s),e.modifiersData[i]=o}},ut,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,r=i.mainAxis,o=void 0===r||r,a=i.altAxis,s=void 0!==a&&a,l=i.tether,d=void 0===l||l,p=i.tetherOffset,b=void 0===p?0:p,v=lt(e,{boundary:i.boundary,rootBoundary:i.rootBoundary,padding:i.padding,altBoundary:i.altBoundary}),y=G(e.placement),g=F(e.placement),w=!g,x=_(y),O="x"===x?"y":"x",k=e.modifiersData.popperOffsets,j=e.rects.reference,C=e.rects.popper,N="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,P="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,B={x:0,y:0};if(k){if(o){var W,D="y"===x?c:f,E="y"===x?u:h,T="y"===x?"height":"width",z=k[x],R=z+v[D],H=z-v[E],V=d?-C[T]/2:0,$=g===m?j[T]:C[T],U=g===m?-C[T]:-j[T],X=e.elements.arrow,J=d&&X?L(X):{width:0,height:0},K=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=K[D],Q=K[E],Z=I(0,j[T],J[T]),tt=w?j[T]/2-V-Z-Y-P.mainAxis:$-Z-Y-P.mainAxis,et=w?-j[T]/2+V+Z+Q+P.mainAxis:U+Z+Q+P.mainAxis,it=e.elements.arrow&&q(e.elements.arrow),nt=null!=(W=null==S?void 0:S[x])?W:0,rt=z+et-nt,ot=I(d?A(R,z+tt-nt-(it?"y"===x?it.clientTop||0:it.clientLeft||0:0)):R,z,d?M(H,rt):H);k[x]=ot,B[x]=ot-z}if(s){var at,st=k[O],ct="y"===O?"height":"width",ut=st+v["x"===x?c:f],ht=st-v["x"===x?u:h],ft=-1!==[c,f].indexOf(y),dt=null!=(at=null==S?void 0:S[O])?at:0,pt=ft?ut:st-j[ct]-C[ct]-dt+P.altAxis,mt=ft?st+j[ct]+C[ct]-dt-P.altAxis:ht,bt=d&&ft?function(t,e,i){var n=I(t,e,i);return n>i?i:n}(pt,st,mt):I(d?pt:ut,st,d?mt:ht);k[O]=bt,B[O]=bt-st}e.modifiersData[n]=B}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,r=t.options,o=i.elements.arrow,a=i.modifiersData.popperOffsets,s=G(i.placement),l=_(s),d=[f,h].indexOf(s)>=0?"height":"width";if(o&&a){var m=function(t,e){return V("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:$(t,p))}(r.padding,i),b=L(o),v="y"===l?c:f,y="y"===l?u:h,g=i.rects.reference[d]+i.rects.reference[l]-a[l]-i.rects.popper[d],w=a[l]-i.rects.reference[l],x=q(o),O=x?"y"===l?x.clientHeight||0:x.clientWidth||0:0,k=O/2-b[d]/2+(g/2-w/2),j=I(m[v],k,O-b[d]-m[y]);i.modifiersData[n]=((e={})[l]=j,e.centerOffset=j-k,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&D(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=lt(e,{elementContext:"reference"}),s=lt(e,{altBoundary:!0}),l=ht(a,n),c=ht(s,r,o),u=ft(l),h=ft(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}}]});const gt="is-visible",wt="is-hiding",xt=class{constructor(e){t(this,e),this.openDirection="bottom",this.position="absolute",this.containerStyle={},this.inheritParentWidth=!1,this.visible=!1,this.anchor=null,this.loaded=!1,this.parents=new WeakMap}disconnectedCallback(){this.removeContainer(),this.destroyPopper(),this.observer&&this.container&&this.observer.unobserve(this.container),this.container=null}connectedCallback(){this.loaded&&this.visible&&this.init()}componentDidLoad(){this.loaded=!0,this.connectedCallback()}init(){this.host.isConnected&&(this.createContainer(),this.hideContainer(),this.attachContainer(),this.styleContainer(),this.visible&&(this.createPopper(),this.showContainer()),"ResizeObserver"in window&&(this.observer=new ResizeObserver((()=>{this.popperInstance&&(this.styleContainer(),this.popperInstance.update())})),this.observer.observe(this.container)))}render(){return e("slot",{key:"d6ed0d276afec19ba5ffd4d6a6fcf96937127d6a"})}onVisible(){this.container||!this.visible?this.visible?(this.styleContainer(),this.createPopper(),requestAnimationFrame((()=>{this.showContainer()}))):this.animateHideAndCleanup():this.init()}createContainer(){const t=this.host.shadowRoot.querySelector("slot"),e=t.assignedElements&&t.assignedElements()||[];this.container=document.createElement("div"),this.container.setAttribute("id",this.containerId),this.container.setAttribute("class","limel-portal--container"),Object.assign(this.container,{portalSource:this.host}),e.forEach((t=>{this.parents.set(t,t.parentElement),this.container.append(t)}))}attachContainer(){this.getParent().append(this.container)}removeContainer(){this.container&&([...this.container.children].forEach((t=>{const e=this.parents.get(t);e&&e.append(t)})),this.container.remove())}hideContainer(){this.container&&this.container.classList.remove(gt)}showContainer(){this.container.classList.add(gt)}animateHideAndCleanup(){this.container&&(this.container.classList.add(wt),this.styleContainer(),setTimeout((()=>{this.container&&(this.container.classList.remove(wt),this.visible||(this.container.classList.remove(gt),this.destroyPopper()))}),300))}styleContainer(){this.setContainerWidth(),this.setContainerHeight(),this.setContainerStyles()}setContainerWidth(){const t=this.host.getBoundingClientRect().width;if(this.inheritParentWidth){let e=this.getContentWidth(this.container);t>0&&(e=t),this.container.style.width=`${e}px`}}getContentWidth(t){if(!t)return null;const e=t.getBoundingClientRect().width;if(0!==e)return e;const i=t.querySelector("*");return this.getContentWidth(i)}setContainerStyles(){for(const t of Object.keys(this.containerStyle))this.container.style[t]=this.containerStyle[t]}createPopper(){const t=this.createPopperConfig();this.popperInstance=yt(this.anchor||this.host,this.container,t)}destroyPopper(){var t;null===(t=this.popperInstance)||void 0===t||t.destroy(),this.popperInstance=null}createPopperConfig(){const t=this.getPlacement(this.openDirection),e=this.getFlipPlacement(this.openDirection);return{strategy:this.position,placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:[e]}}]}}getPlacement(t){return{"left-start":"left-start",left:"left","left-end":"left-end","right-start":"right-start",right:"right","right-end":"right-end","top-start":"top-start",top:"top","top-end":"top-end","bottom-start":"bottom-start",bottom:"bottom","bottom-end":"bottom-end"}[t]}getFlipPlacement(t){return{"left-start":"right-start",left:"right","left-end":"right-end","right-start":"left-start",right:"left","right-end":"left-end","top-start":"bottom-start",top:"bottom","top-end":"bottom-end","bottom-start":"top-start",bottom:"top","bottom-end":"top-end"}[t]}setContainerHeight(){const t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),{top:e,bottom:i}=this.host.getBoundingClientRect(),n=Math.max(e,0),r=Math.max(t-i,0),o=Math.max(n,r)-16;this.container.style.maxHeight=`${o}px`}getParent(){let t=this.anchor||this.host;for(;t;){const e=t.closest(".limel-portal--parent");if(e)return e;t=t.getRootNode().host}return document.body}get host(){return n(this)}static get watchers(){return{visible:[{onVisible:0}]}}};xt.style=":host(limel-portal){display:block;position:absolute;top:0;bottom:0;width:100%;pointer-events:none}:host([hidden]){display:none}slot{display:none}";class Ot{constructor(t,e,i=500){this.timerHandle=null,this.showCallback=t,this.hideCallback=e,this.delayForShowing=i}showAfterDelay(){this.timerHandle||(this.timerHandle=setTimeout(this.showCallback,this.delayForShowing))}hide(){clearTimeout(this.timerHandle),this.timerHandle=null,this.hideCallback()}}const kt=class{constructor(e){t(this,e),this.maxlength=50,this.openDirection="top",this.showTooltip=()=>{this.tooltipTimer.showAfterDelay()},this.hideTooltip=()=>{this.tooltipTimer.hide()},this.portalId=s(),this.tooltipId=s(),this.tooltipTimer=new Ot((()=>this.open=!0),(()=>this.open=!1))}connectedCallback(){this.ownerElement=function(t,e){let i=e;do{i=i.parentNode}while(i&&i.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&i.nodeType!==Node.DOCUMENT_NODE);return null==i?void 0:i.getElementById(t)}(this.elementId,this.host),this.setOwnerAriaDescribedby(),this.addListeners()}disconnectedCallback(){this.removeListeners()}render(){const t=getComputedStyle(this.host).getPropertyValue("--tooltip-z-index");return e("div",{key:"bb784749dd20ef6cda629303058dbb0df848f655",class:"trigger-anchor"},e("limel-portal",{key:"baca835ff99112bebd09cce6a22181b7a00fc0a5",openDirection:this.openDirection,visible:this.open,containerId:this.portalId,containerStyle:{"z-index":t,"pointer-events":"none"},anchor:this.ownerElement},e("limel-tooltip-content",{key:"b830c5052040a8f10345844584b296a1b0c1b00f",label:this.label,helperLabel:this.helperLabel,hotkey:this.hotkey,maxlength:this.maxlength,role:"tooltip","aria-hidden":!this.open,id:this.tooltipId})))}setOwnerAriaDescribedby(){var t;null===(t=this.ownerElement)||void 0===t||t.setAttribute("aria-describedby",this.tooltipId)}addListeners(){var t,e,i,n;null===(t=this.ownerElement)||void 0===t||t.addEventListener("mouseover",this.showTooltip),null===(e=this.ownerElement)||void 0===e||e.addEventListener("mouseout",this.hideTooltip),null===(i=this.ownerElement)||void 0===i||i.addEventListener("focus",this.showTooltip),null===(n=this.ownerElement)||void 0===n||n.addEventListener("blur",this.hideTooltip)}removeListeners(){var t,e,i,n;null===(t=this.ownerElement)||void 0===t||t.removeEventListener("mouseover",this.showTooltip),null===(e=this.ownerElement)||void 0===e||e.removeEventListener("mouseout",this.hideTooltip),null===(i=this.ownerElement)||void 0===i||i.removeEventListener("focus",this.showTooltip),null===(n=this.ownerElement)||void 0===n||n.removeEventListener("blur",this.hideTooltip)}get host(){return n(this)}};kt.style=":host(limel-tooltip){position:absolute;pointer-events:none}";const jt=class{constructor(e){t(this,e)}render(){let t=!1;return this.helperLabel&&this.maxlength&&(t=this.label.length+this.helperLabel.length>this.maxlength),e(i,{key:"7dae3fae1f48d6aed186d4a40ec2d3ae4c675c34",class:{"has-column-layout":t},style:this.maxlength?{"--tooltip-max-width-of-text":`${this.maxlength}ch`}:void 0},e("div",{key:"892d2b80b4e3d333f363579e8be63726366ec772",class:"label"},this.label),this.renderHelperLabel(),this.renderHotkey())}renderHelperLabel(){if(this.helperLabel)return e("div",{class:"helper-label"},this.helperLabel)}renderHotkey(){if(!this.hotkey)return;const t=o(this.hotkey);return t?e("limel-hotkey",{value:t}):void 0}};jt.style=":host(limel-tooltip-content){box-sizing:border-box;display:flex;align-items:center;gap:0.5rem 1rem;border-radius:0.25rem;padding:0.25rem 0.5rem;font-size:var(--limel-theme-default-font-size);line-height:normal;background-color:rgb(var(--contrast-1300));box-shadow:var(--shadow-depth-16), var(--shadow-brighten-edges-inside)}:host(.has-column-layout){flex-direction:column;align-items:flex-start;padding:0.5rem;max-width:min(var(--tooltip-max-width-of-text), 80vw)}:host(.has-column-layout) .label,:host(.has-column-layout) .helper-label{flex-grow:1}.label,.helper-label{min-width:0;min-height:0}.label{color:rgb(var(--contrast-200))}.helper-label{color:rgb(var(--contrast-800))}limel-hotkey{margin-right:-0.25rem}";export{l as limel_hotkey,xt as limel_portal,kt as limel_tooltip,jt as limel_tooltip_content}
|
|
1
|
+
import{r as t,h as e,H as i,a as n}from"./p-VCOjLfyP.js";import{t as r,n as o}from"./p-BxrRWYts.js";import{c as a}from"./p-B-tmXAXV.js";import{c as s}from"./p-JbKhhoXs.js";const l=class{constructor(e){t(this,e),this.disabled=!1}componentWillLoad(){this.isApple=a()}render(){const t=r(this.value),n=t.map((t=>function(t,e){const i=(null!=t?t:"").trim();if(!i)return{display:"",isGlyph:!1,ariaName:""};if("+"===i)return{display:"+",isGlyph:!1,ariaName:"plus"};const n=i.toLowerCase();switch(n){case"meta":case"win":case"windows":return e?{display:"⌘",isGlyph:!0,ariaName:"Command"}:{display:"⊞ Win",isGlyph:!1,ariaName:"Windows"};case"cmd":case"command":return{display:"⌘",isGlyph:!0,ariaName:"Command"};case"alt":case"option":return e?{display:"⌥",isGlyph:!0,ariaName:"Option"}:{display:"Alt",isGlyph:!1,ariaName:"Alt"};case"shift":return{display:"⇧",isGlyph:!0,ariaName:"Shift"};case"enter":case"return":return{display:"↩",isGlyph:!0,ariaName:"Enter"};case"tab":return{display:"⇥",isGlyph:!0,ariaName:"Tab"};case"delete":case"del":case"backspace":return e?{display:"⌫",isGlyph:!0,ariaName:"Delete"}:"backspace"===n?{display:"Backspace",isGlyph:!1,ariaName:"Backspace"}:{display:"Del",isGlyph:!1,ariaName:"Delete"};case"ctrl":case"control":return e?{display:"⌃",isGlyph:!0,ariaName:"Control"}:{display:"Ctrl",isGlyph:!1,ariaName:"Control"};case"escape":case"esc":return{display:"Esc",isGlyph:!1,ariaName:"Escape"};case"space":case"spacebar":return{display:"␣",isGlyph:!0,ariaName:"Space"};case"arrowup":case"up":return{display:"↑",isGlyph:!0,ariaName:"Up"};case"arrowdown":case"down":return{display:"↓",isGlyph:!0,ariaName:"Down"};case"arrowleft":case"left":return{display:"←",isGlyph:!0,ariaName:"Left"};case"arrowright":case"right":return{display:"→",isGlyph:!0,ariaName:"Right"}}return{display:i,isGlyph:!1,ariaName:i}}(t,this.isApple))),o=n.map((t=>t.ariaName)).filter(Boolean).join(" ");return e(i,{key:"42a7d50e38cc3c8c3c7921cf32e0a2501dcaca62","aria-label":o||void 0},n.map((({display:i,isGlyph:n},r)=>e("kbd",{key:`${t[r]}-${r}`,class:n?"is-glyph":void 0},e("span",null,i)))))}};l.style='@charset "UTF-8";kbd{display:inline-block;font-family:ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, "DejaVu Sans Mono", monospace;font-weight:600;color:rgb(var(--contrast-1100));white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:normal;border-radius:0.125rem;border-style:solid;border-color:rgb(var(--contrast-500));border-width:0 1px 0.1875rem 1px;padding:0.0625rem 0.375rem;margin:0 0.25rem;background-color:rgb(var(--contrast-200));box-shadow:var(--button-shadow-normal), 0 0.625rem 0.375rem -0.5rem rgb(var(--color-black), 0.02), 0 0.025rem 0.5rem 0 rgb(var(--contrast-100)) inset}:host(limel-hotkey){display:flex;align-items:center;justify-content:center;gap:0.25rem}:host(limel-hotkey[disabled]:not([disabled=false])){opacity:0.5}kbd{text-transform:var(--hotkey-text-transform, uppercase);margin:0;font-size:0.75rem;box-shadow:var(--button-shadow-pressed), 0 0.625rem 0.375px -0.5rem rgb(var(--color-black), 0.02), 0 0.025rem 0.5rem 0 rgb(var(--contrast-100)) inset}span{display:inline-block}kbd.is-glyph span{transform:scale(1.2)}';var c="top",u="bottom",h="right",f="left",d="auto",p=[c,u,h,f],m="start",b="end",v="viewport",y="popper",g=p.reduce((function(t,e){return t.concat([e+"-"+m,e+"-"+b])}),[]),w=[].concat(p,[d]).reduce((function(t,e){return t.concat([e,e+"-"+m,e+"-"+b])}),[]),x=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function O(t){return t?(t.nodeName||"").toLowerCase():null}function k(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function j(t){return t instanceof k(t).Element||t instanceof Element}function C(t){return t instanceof k(t).HTMLElement||t instanceof HTMLElement}function N(t){return"undefined"!=typeof ShadowRoot&&(t instanceof k(t).ShadowRoot||t instanceof ShadowRoot)}function G(t){return t.split("-")[0]}var M=Math.max,P=Math.min,A=Math.round;function S(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function L(){return!/^((?!chrome|android).)*safari/i.test(S())}function W(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),r=1,o=1;e&&C(t)&&(r=t.offsetWidth>0&&A(n.width)/t.offsetWidth||1,o=t.offsetHeight>0&&A(n.height)/t.offsetHeight||1);var a=(j(t)?k(t):window).visualViewport,s=!L()&&i,l=(n.left+(s&&a?a.offsetLeft:0))/r,c=(n.top+(s&&a?a.offsetTop:0))/o,u=n.width/r,h=n.height/o;return{width:u,height:h,top:c,right:l+u,bottom:c+h,left:l,x:l,y:c}}function B(t){var e=W(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function E(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&N(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(t){return k(t).getComputedStyle(t)}function D(t){return["table","td","th"].indexOf(O(t))>=0}function R(t){return((j(t)?t.ownerDocument:t.document)||window.document).documentElement}function T(t){return"html"===O(t)?t:t.assignedSlot||t.parentNode||(N(t)?t.host:null)||R(t)}function H(t){return C(t)&&"fixed"!==z(t).position?t.offsetParent:null}function q(t){for(var e=k(t),i=H(t);i&&D(i)&&"static"===z(i).position;)i=H(i);return i&&("html"===O(i)||"body"===O(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(S());if(/Trident/i.test(S())&&C(t)&&"fixed"===z(t).position)return null;var i=T(t);for(N(i)&&(i=i.host);C(i)&&["html","body"].indexOf(O(i))<0;){var n=z(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function V(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _(t,e,i){return M(t,P(e,i))}function I(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function $(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}function F(t){return t.split("-")[1]}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(t){var e,i=t.popper,n=t.popperRect,r=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,d=t.adaptive,p=t.roundOffsets,m=t.isFixed,v=a.x,y=void 0===v?0:v,g=a.y,w=void 0===g?0:g,x="function"==typeof p?p({x:y,y:w}):{x:y,y:w};y=x.x,w=x.y;var O=a.hasOwnProperty("x"),j=a.hasOwnProperty("y"),C=f,N=c,G=window;if(d){var M=q(i),P="clientHeight",S="clientWidth";M===k(i)&&"static"!==z(M=R(i)).position&&"absolute"===s&&(P="scrollHeight",S="scrollWidth"),(r===c||(r===f||r===h)&&o===b)&&(N=u,w-=(m&&M===G&&G.visualViewport?G.visualViewport.height:M[P])-n.height,w*=l?1:-1),r!==f&&(r!==c&&r!==u||o!==b)||(C=h,y-=(m&&M===G&&G.visualViewport?G.visualViewport.width:M[S])-n.width,y*=l?1:-1)}var L,W=Object.assign({position:s},d&&U),B=!0===p?function(t,e){var i=t.y,n=e.devicePixelRatio||1;return{x:A(t.x*n)/n||0,y:A(i*n)/n||0}}({x:y,y:w},k(i)):{x:y,y:w};return y=B.x,w=B.y,Object.assign({},W,l?((L={})[N]=j?"0":"",L[C]=O?"0":"",L.transform=(G.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",L):((e={})[N]=j?w+"px":"",e[C]=O?y+"px":"",e.transform="",e))}var J={passive:!0},K={left:"right",right:"left",bottom:"top",top:"bottom"};function Y(t){return t.replace(/left|right|bottom|top/g,(function(t){return K[t]}))}var Q={start:"end",end:"start"};function Z(t){return t.replace(/start|end/g,(function(t){return Q[t]}))}function tt(t){var e=k(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function et(t){return W(R(t)).left+tt(t).scrollLeft}function it(t){var e=z(t);return/auto|scroll|overlay|hidden/.test(e.overflow+e.overflowY+e.overflowX)}function nt(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:C(t)&&it(t)?t:nt(T(t))}function rt(t,e){var i;void 0===e&&(e=[]);var n=nt(t),r=n===(null==(i=t.ownerDocument)?void 0:i.body),o=k(n),a=r?[o].concat(o.visualViewport||[],it(n)?n:[]):n,s=e.concat(a);return r?s:s.concat(rt(T(a)))}function ot(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function at(t,e,i){return e===v?ot(function(t,e){var i=k(t),n=R(t),r=i.visualViewport,o=n.clientWidth,a=n.clientHeight,s=0,l=0;if(r){o=r.width,a=r.height;var c=L();(c||!c&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:o,height:a,x:s+et(t),y:l}}(t,i)):j(e)?function(t,e){var i=W(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ot(function(t){var e,i=R(t),n=tt(t),r=null==(e=t.ownerDocument)?void 0:e.body,o=M(i.scrollWidth,i.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=M(i.scrollHeight,i.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-n.scrollLeft+et(t),l=-n.scrollTop;return"rtl"===z(r||i).direction&&(s+=M(i.clientWidth,r?r.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(R(t)))}function st(t){var e,i=t.reference,n=t.element,r=t.placement,o=r?G(r):null,a=r?F(r):null,s=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case c:e={x:s,y:i.y-n.height};break;case u:e={x:s,y:i.y+i.height};break;case h:e={x:i.x+i.width,y:l};break;case f:e={x:i.x-n.width,y:l};break;default:e={x:i.x,y:i.y}}var d=o?V(o):null;if(null!=d){var p="y"===d?"height":"width";switch(a){case m:e[d]=e[d]-(i[p]/2-n[p]/2);break;case b:e[d]=e[d]+(i[p]/2-n[p]/2)}}return e}function lt(t,e){void 0===e&&(e={});var i=e.placement,n=void 0===i?t.placement:i,r=e.strategy,o=void 0===r?t.strategy:r,a=e.boundary,s=void 0===a?"clippingParents":a,l=e.rootBoundary,f=void 0===l?v:l,d=e.elementContext,m=void 0===d?y:d,b=e.altBoundary,g=void 0!==b&&b,w=e.padding,x=void 0===w?0:w,k=I("number"!=typeof x?x:$(x,p)),N=t.rects.popper,G=t.elements[g?m===y?"reference":y:m],A=function(t,e,i,n){var r="clippingParents"===e?function(t){var e=rt(T(t)),i=["absolute","fixed"].indexOf(z(t).position)>=0&&C(t)?q(t):t;return j(i)?e.filter((function(t){return j(t)&&E(t,i)&&"body"!==O(t)})):[]}(t):[].concat(e),o=[].concat(r,[i]),a=o.reduce((function(e,i){var r=at(t,i,n);return e.top=M(r.top,e.top),e.right=P(r.right,e.right),e.bottom=P(r.bottom,e.bottom),e.left=M(r.left,e.left),e}),at(t,o[0],n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(j(G)?G:G.contextElement||R(t.elements.popper),s,f,o),S=W(t.elements.reference),L=st({reference:S,element:N,placement:n}),B=ot(Object.assign({},N,L)),D=m===y?B:S,H={top:A.top-D.top+k.top,bottom:D.bottom-A.bottom+k.bottom,left:A.left-D.left+k.left,right:D.right-A.right+k.right},V=t.modifiersData.offset;if(m===y&&V){var _=V[n];Object.keys(H).forEach((function(t){var e=[h,u].indexOf(t)>=0?1:-1,i=[c,u].indexOf(t)>=0?"y":"x";H[t]+=_[i]*e}))}return H}function ct(t,e){void 0===e&&(e={});var i=e.boundary,n=e.rootBoundary,r=e.padding,o=e.flipVariations,a=e.allowedAutoPlacements,s=void 0===a?w:a,l=F(e.placement),c=l?o?g:g.filter((function(t){return F(t)===l})):p,u=c.filter((function(t){return s.indexOf(t)>=0}));0===u.length&&(u=c);var h=u.reduce((function(e,o){return e[o]=lt(t,{placement:o,boundary:i,rootBoundary:n,padding:r})[G(o)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}var ut={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var r=i.mainAxis,o=void 0===r||r,a=i.altAxis,s=void 0===a||a,l=i.fallbackPlacements,p=i.padding,b=i.boundary,v=i.rootBoundary,y=i.altBoundary,g=i.flipVariations,w=void 0===g||g,x=i.allowedAutoPlacements,O=e.options.placement,k=G(O),j=l||(k!==O&&w?function(t){if(G(t)===d)return[];var e=Y(t);return[Z(t),e,Z(e)]}(O):[Y(O)]),C=[O].concat(j).reduce((function(t,i){return t.concat(G(i)===d?ct(e,{placement:i,boundary:b,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:x}):i)}),[]),N=e.rects.reference,M=e.rects.popper,P=new Map,A=!0,S=C[0],L=0;L<C.length;L++){var W=C[L],B=G(W),E=F(W)===m,z=[c,u].indexOf(B)>=0,D=z?"width":"height",R=lt(e,{placement:W,boundary:b,rootBoundary:v,altBoundary:y,padding:p}),T=z?E?h:f:E?u:c;N[D]>M[D]&&(T=Y(T));var H=Y(T),q=[];if(o&&q.push(R[B]<=0),s&&q.push(R[T]<=0,R[H]<=0),q.every((function(t){return t}))){S=W,A=!1;break}P.set(W,q)}if(A)for(var V=function(t){var e=C.find((function(e){var i=P.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return S=e,"break"},_=w?3:1;_>0&&"break"!==V(_);_--);e.placement!==S&&(e.modifiersData[n]._skip=!0,e.placement=S,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ht(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function ft(t){return[c,h,u,f].some((function(e){return t[e]>=0}))}function dt(t,e,i){void 0===i&&(i=!1);var n,r,o=C(e),a=C(e)&&function(t){var e=t.getBoundingClientRect(),i=A(e.width)/t.offsetWidth||1,n=A(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),s=R(e),l=W(t,a,i),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!i)&&(("body"!==O(e)||it(s))&&(c=(n=e)!==k(n)&&C(n)?{scrollLeft:(r=n).scrollLeft,scrollTop:r.scrollTop}:tt(n)),C(e)?((u=W(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):s&&(u.x=et(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function pt(t){var e=new Map,i=new Set,n=[];function r(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&r(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||r(t)})),n}var mt={placement:"bottom",modifiers:[],strategy:"absolute"};function bt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function vt(t){void 0===t&&(t={});var e=t.defaultModifiers,i=void 0===e?[]:e,n=t.defaultOptions,r=void 0===n?mt:n;return function(t,e,n){void 0===n&&(n=r);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},mt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;h(),s.options=Object.assign({},r,s.options,o),s.scrollParents={reference:j(t)?rt(t):t.contextElement?rt(t.contextElement):[],popper:rt(e)};var a,c,f=function(t){var e=pt(t);return x.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((a=[].concat(i,s.options.modifiers),c=a.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return s.orderedModifiers=f.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.options,i=t.effect;if("function"==typeof i){var n=i({state:s,name:t.name,instance:u,options:void 0===e?{}:e});l.push(n||function(){})}})),u.update()},forceUpdate:function(){if(!c){var t=s.elements,e=t.reference,i=t.popper;if(bt(e,i)){s.rects={reference:dt(e,q(i),"fixed"===s.options.strategy),popper:B(i)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var r=s.orderedModifiers[n],o=r.fn,a=r.options;"function"==typeof o&&(s=o({state:s,options:void 0===a?{}:a,name:r.name,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){u.forceUpdate(),t(s)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){h(),c=!0}};if(!bt(t,e))return u;function h(){l.forEach((function(t){return t()})),l=[]}return u.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),u}}var yt=vt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,r=n.scroll,o=void 0===r||r,a=n.resize,s=void 0===a||a,l=k(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",i.update,J)})),s&&l.addEventListener("resize",i.update,J),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",i.update,J)})),s&&l.removeEventListener("resize",i.update,J)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state;e.modifiersData[t.name]=st({reference:e.rects.reference,element:e.rects.popper,placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,r=void 0===n||n,o=i.adaptive,a=void 0===o||o,s=i.roundOffsets,l=void 0===s||s,c={placement:G(e.placement),variation:F(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,X(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,X(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},r=e.elements[t];C(r)&&O(r)&&(Object.assign(r.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],r=e.attributes[t]||{},o=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});C(n)&&O(n)&&(Object.assign(n.style,o),Object.keys(r).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.name,n=t.options.offset,r=void 0===n?[0,0]:n,o=w.reduce((function(t,i){return t[i]=function(t,e,i){var n=G(t),r=[f,c].indexOf(n)>=0?-1:1,o="function"==typeof i?i(Object.assign({},e,{placement:t})):i,a=o[0],s=o[1];return a=a||0,s=(s||0)*r,[f,h].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(i,e.rects,r),t}),{}),a=o[e.placement],s=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=a.x,e.modifiersData.popperOffsets.y+=s),e.modifiersData[i]=o}},ut,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,r=i.mainAxis,o=void 0===r||r,a=i.altAxis,s=void 0!==a&&a,l=i.tether,d=void 0===l||l,p=i.tetherOffset,b=void 0===p?0:p,v=lt(e,{boundary:i.boundary,rootBoundary:i.rootBoundary,padding:i.padding,altBoundary:i.altBoundary}),y=G(e.placement),g=F(e.placement),w=!g,x=V(y),O="x"===x?"y":"x",k=e.modifiersData.popperOffsets,j=e.rects.reference,C=e.rects.popper,N="function"==typeof b?b(Object.assign({},e.rects,{placement:e.placement})):b,A="number"==typeof N?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,L={x:0,y:0};if(k){if(o){var W,E="y"===x?c:f,z="y"===x?u:h,D="y"===x?"height":"width",R=k[x],T=R+v[E],H=R-v[z],I=d?-C[D]/2:0,$=g===m?j[D]:C[D],U=g===m?-C[D]:-j[D],X=e.elements.arrow,J=d&&X?B(X):{width:0,height:0},K=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=K[E],Q=K[z],Z=_(0,j[D],J[D]),tt=w?j[D]/2-I-Z-Y-A.mainAxis:$-Z-Y-A.mainAxis,et=w?-j[D]/2+I+Z+Q+A.mainAxis:U+Z+Q+A.mainAxis,it=e.elements.arrow&&q(e.elements.arrow),nt=null!=(W=null==S?void 0:S[x])?W:0,rt=R+et-nt,ot=_(d?P(T,R+tt-nt-(it?"y"===x?it.clientTop||0:it.clientLeft||0:0)):T,R,d?M(H,rt):H);k[x]=ot,L[x]=ot-R}if(s){var at,st=k[O],ct="y"===O?"height":"width",ut=st+v["x"===x?c:f],ht=st-v["x"===x?u:h],ft=-1!==[c,f].indexOf(y),dt=null!=(at=null==S?void 0:S[O])?at:0,pt=ft?ut:st-j[ct]-C[ct]-dt+A.altAxis,mt=ft?st+j[ct]+C[ct]-dt-A.altAxis:ht,bt=d&&ft?function(t,e,i){var n=_(t,e,i);return n>i?i:n}(pt,st,mt):_(d?pt:ut,st,d?mt:ht);k[O]=bt,L[O]=bt-st}e.modifiersData[n]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,r=t.options,o=i.elements.arrow,a=i.modifiersData.popperOffsets,s=G(i.placement),l=V(s),d=[f,h].indexOf(s)>=0?"height":"width";if(o&&a){var m=function(t,e){return I("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:$(t,p))}(r.padding,i),b=B(o),v="y"===l?c:f,y="y"===l?u:h,g=i.rects.reference[d]+i.rects.reference[l]-a[l]-i.rects.popper[d],w=a[l]-i.rects.reference[l],x=q(o),O=x?"y"===l?x.clientHeight||0:x.clientWidth||0:0,k=O/2-b[d]/2+(g/2-w/2),j=_(m[v],k,O-b[d]-m[y]);i.modifiersData[n]=((e={})[l]=j,e.centerOffset=j-k,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&E(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,r=e.rects.popper,o=e.modifiersData.preventOverflow,a=lt(e,{elementContext:"reference"}),s=lt(e,{altBoundary:!0}),l=ht(a,n),c=ht(s,r,o),u=ft(l),h=ft(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}}]});const gt="is-visible",wt="is-hiding",xt=class{constructor(e){t(this,e),this.openDirection="bottom",this.position="absolute",this.containerStyle={},this.inheritParentWidth=!1,this.visible=!1,this.anchor=null,this.loaded=!1,this.parents=new WeakMap}disconnectedCallback(){this.removeContainer(),this.destroyPopper(),this.observer&&this.container&&this.observer.unobserve(this.container),this.container=null}connectedCallback(){this.loaded&&this.visible&&this.init()}componentDidLoad(){this.loaded=!0,this.connectedCallback()}init(){this.host.isConnected&&(this.createContainer(),this.hideContainer(),this.attachContainer(),this.styleContainer(),this.visible&&(this.createPopper(),this.showContainer()),"ResizeObserver"in window&&(this.observer=new ResizeObserver((()=>{this.popperInstance&&(this.styleContainer(),this.popperInstance.update())})),this.observer.observe(this.container)))}render(){return e("slot",{key:"7a76d96c24d8404f46205dc00cc2351be9fe1c19"})}onVisible(){this.container||!this.visible?this.visible?(this.styleContainer(),this.createPopper(),requestAnimationFrame((()=>{this.showContainer()}))):this.animateHideAndCleanup():this.init()}createContainer(){const t=this.host.shadowRoot.querySelector("slot"),e=t.assignedElements&&t.assignedElements()||[];this.container=document.createElement("div"),this.container.setAttribute("id",this.containerId),this.container.setAttribute("class","limel-portal--container"),Object.assign(this.container,{portalSource:this.host}),e.forEach((t=>{this.parents.set(t,t.parentElement),this.container.append(t)}))}attachContainer(){this.getParent().append(this.container)}removeContainer(){this.container&&([...this.container.children].forEach((t=>{const e=this.parents.get(t);e&&e.append(t)})),this.container.remove())}hideContainer(){this.container&&this.container.classList.remove(gt)}showContainer(){this.container.classList.add(gt)}animateHideAndCleanup(){this.container&&(this.container.classList.add(wt),this.styleContainer(),setTimeout((()=>{this.container&&(this.container.classList.remove(wt),this.visible||(this.container.classList.remove(gt),this.destroyPopper()))}),300))}styleContainer(){this.setContainerWidth(),this.setContainerHeight(),this.setContainerStyles()}setContainerWidth(){const t=this.host.getBoundingClientRect().width;if(this.inheritParentWidth){let e=this.getContentWidth(this.container);t>0&&(e=t),this.container.style.width=`${e}px`}}getContentWidth(t){if(!t)return null;const e=t.getBoundingClientRect().width;if(0!==e)return e;const i=t.querySelector("*");return this.getContentWidth(i)}setContainerStyles(){for(const t of Object.keys(this.containerStyle))this.container.style[t]=this.containerStyle[t]}createPopper(){const t=this.createPopperConfig();this.popperInstance=yt(this.anchor||this.host,this.container,t)}destroyPopper(){var t;null===(t=this.popperInstance)||void 0===t||t.destroy(),this.popperInstance=null}createPopperConfig(){const t=this.getPlacement(this.openDirection),e=this.getFlipPlacement(this.openDirection);return{strategy:this.position,placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:[e]}}]}}getPlacement(t){return{"left-start":"left-start",left:"left","left-end":"left-end","right-start":"right-start",right:"right","right-end":"right-end","top-start":"top-start",top:"top","top-end":"top-end","bottom-start":"bottom-start",bottom:"bottom","bottom-end":"bottom-end"}[t]}getFlipPlacement(t){return{"left-start":"right-start",left:"right","left-end":"right-end","right-start":"left-start",right:"left","right-end":"left-end","top-start":"bottom-start",top:"bottom","top-end":"bottom-end","bottom-start":"top-start",bottom:"top","bottom-end":"top-end"}[t]}setContainerHeight(){const t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),{top:e,bottom:i}=this.host.getBoundingClientRect(),n=Math.max(e,0),r=Math.max(t-i,0),o=Math.max(n,r)-16;this.container.style.maxHeight=`${o}px`}getParent(){let t=this.anchor||this.host;for(;t;){const e=t.closest(".limel-portal--parent");if(e)return e;t=t.getRootNode().host}return document.body}get host(){return n(this)}static get watchers(){return{visible:[{onVisible:0}]}}};xt.style=":host(limel-portal){display:block;position:absolute;top:0;bottom:0;width:100%;pointer-events:none}:host([hidden]){display:none}slot{display:none}";class Ot{constructor(t,e,i=500){this.timerHandle=null,this.showCallback=t,this.hideCallback=e,this.delayForShowing=i}showAfterDelay(){this.timerHandle||(this.timerHandle=setTimeout(this.showCallback,this.delayForShowing))}hide(){clearTimeout(this.timerHandle),this.timerHandle=null,this.hideCallback()}}const kt=class{constructor(e){t(this,e),this.maxlength=50,this.openDirection="top",this.showTooltip=()=>{this.tooltipTimer.showAfterDelay()},this.hideTooltip=()=>{this.tooltipTimer.hide()},this.portalId=s(),this.tooltipId=s(),this.tooltipTimer=new Ot((()=>this.open=!0),(()=>this.open=!1))}connectedCallback(){this.ownerElement=function(t,e){let i=e;do{i=i.parentNode}while(i&&i.nodeType!==Node.DOCUMENT_FRAGMENT_NODE&&i.nodeType!==Node.DOCUMENT_NODE);return null==i?void 0:i.getElementById(t)}(this.elementId,this.host),this.setOwnerAriaDescribedby(),this.addListeners()}disconnectedCallback(){this.removeListeners()}render(){const t=getComputedStyle(this.host).getPropertyValue("--tooltip-z-index");return e("div",{key:"3c18e4c3286f2294fe5cbcfcca1900a67caab96c",class:"trigger-anchor"},e("limel-portal",{key:"8a594f3725fbd8f4bdc49dc9da3517b7b0f2e74c",openDirection:this.openDirection,visible:this.open,containerId:this.portalId,containerStyle:{"z-index":t,"pointer-events":"none"},anchor:this.ownerElement},e("limel-tooltip-content",{key:"eb383024b0f31fc9527320c900006b71ca510fc9",label:this.label,helperLabel:this.helperLabel,hotkey:this.hotkey,maxlength:this.maxlength,role:"tooltip","aria-hidden":!this.open,id:this.tooltipId})))}setOwnerAriaDescribedby(){var t;null===(t=this.ownerElement)||void 0===t||t.setAttribute("aria-describedby",this.tooltipId)}addListeners(){var t,e,i,n;null===(t=this.ownerElement)||void 0===t||t.addEventListener("mouseover",this.showTooltip),null===(e=this.ownerElement)||void 0===e||e.addEventListener("mouseout",this.hideTooltip),null===(i=this.ownerElement)||void 0===i||i.addEventListener("focus",this.showTooltip),null===(n=this.ownerElement)||void 0===n||n.addEventListener("blur",this.hideTooltip)}removeListeners(){var t,e,i,n;null===(t=this.ownerElement)||void 0===t||t.removeEventListener("mouseover",this.showTooltip),null===(e=this.ownerElement)||void 0===e||e.removeEventListener("mouseout",this.hideTooltip),null===(i=this.ownerElement)||void 0===i||i.removeEventListener("focus",this.showTooltip),null===(n=this.ownerElement)||void 0===n||n.removeEventListener("blur",this.hideTooltip)}get host(){return n(this)}};kt.style=":host(limel-tooltip){position:absolute;pointer-events:none}";const jt=class{constructor(e){t(this,e)}render(){let t=!1;return this.helperLabel&&this.maxlength&&(t=this.label.length+this.helperLabel.length>this.maxlength),e(i,{key:"9ac57eb00bc9049d153665957e0c4a0470ccc968",class:{"has-column-layout":t},style:this.maxlength?{"--tooltip-max-width-of-text":`${this.maxlength}ch`}:void 0},e("div",{key:"f214a19a12b89d1ebb7d9e1129a1b6df81d3b7d2",class:"label"},this.label),this.renderHelperLabel(),this.renderHotkey())}renderHelperLabel(){if(this.helperLabel)return e("div",{class:"helper-label"},this.helperLabel)}renderHotkey(){if(!this.hotkey)return;const t=o(this.hotkey);return t?e("limel-hotkey",{value:t}):void 0}};jt.style=":host(limel-tooltip-content){box-sizing:border-box;display:flex;align-items:center;gap:0.5rem 1rem;border-radius:0.25rem;padding:0.25rem 0.5rem;font-size:var(--limel-theme-default-font-size);line-height:normal;background-color:rgb(var(--contrast-1300));box-shadow:var(--shadow-depth-16), var(--shadow-brighten-edges-inside)}:host(.has-column-layout){flex-direction:column;align-items:flex-start;padding:0.5rem;max-width:min(var(--tooltip-max-width-of-text), 80vw)}:host(.has-column-layout) .label,:host(.has-column-layout) .helper-label{flex-grow:1}.label,.helper-label{min-width:0;min-height:0}.label{color:rgb(var(--contrast-200))}.helper-label{color:rgb(var(--contrast-800))}limel-hotkey{margin-right:-0.25rem}";export{l as limel_hotkey,xt as limel_portal,kt as limel_tooltip,jt as limel_tooltip_content}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r,H as i}from"./p-
|
|
1
|
+
import{r as e,h as r,H as i}from"./p-VCOjLfyP.js";import{g as a}from"./p-CgNJbSP4.js";const o=class{constructor(r){e(this,r),this.subheadingDivider="·"}render(){return r(i,{key:"1d3cea65304d0df1ed842858834a15d8adccb009"},r("div",{key:"5a0fd2711645722e2bf15d0bdf1f9c0f08518351",class:"information"},this.renderIcon(),r("div",{key:"9baaa9f6262db0880dae4607f7f6904683556442",class:"headings"},r("h1",{key:"1b12de5508a14a0fb74f2cdca2d6ee13772ef1d4",class:"heading",title:this.heading},this.heading),r("h2",{key:"670349e5d1c7032c76a6721218264fc808ea71d1",class:"subheading",title:this.subheading},this.subheading,this.renderSupportingText()))),r("slot",{key:"83586427cfc08622ad3a7b3ac544e07ca64573e5",name:"actions"},r("slot",{key:"92fb49c8c35511e2c02033941afe60adc8f234dd"})))}renderIcon(){var e,i,o,t,s;const n=a(this.icon);if(n)return r("limel-icon",{class:"icon",badge:!0,name:n,style:{"--limel-header-icon-color":`${null!==(i=null===(e=this.icon)||void 0===e?void 0:e.color)&&void 0!==i?i:""}`,"--limel-header-icon-background-color":`${null!==(t=null===(o=this.icon)||void 0===o?void 0:o.backgroundColor)&&void 0!==t?t:""}`,title:`${null===(s=this.icon)||void 0===s?void 0:s.title}`}})}renderSupportingText(){if(this.supportingText)return r("span",{class:"subheading__supporting-text"},this.renderSubheadingDivider(),this.supportingText)}renderSubheadingDivider(){if(this.subheadingDivider)return r("span",null,this.subheadingDivider)}};o.style='@charset "UTF-8";:host(limel-header){display:flex;align-items:center;box-sizing:border-box;width:100%;background-color:var(--header-background-color, rgb(var(--contrast-300)));border-top-left-radius:var(--header-top-right-left-border-radius, 0.75rem);border-top-right-radius:var(--header-top-right-left-border-radius, 0.75rem);padding:0.25rem}.information{display:flex;flex-grow:1;align-items:center;min-width:0}.icon{--limel-icon-svg-margin:0.25rem;flex-shrink:0;color:var(--limel-header-icon-color, var(--header-icon-color, rgb(var(--contrast-1100))));background-color:var(--limel-header-icon-background-color, var(--header-icon-background-color, transparent));width:2.25rem;border-radius:0.56rem}.headings{min-width:0;margin-left:0.25rem}.heading,.subheading{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0;padding:0}.heading{color:var(--header-heading-color, rgb(var(--contrast-1100)));font-size:1rem;font-weight:500}.subheading{color:var(--header-subheading-color, rgb(var(--contrast-900)));font-size:var(--limel-theme-default-small-font-size);font-weight:400}.subheading__supporting-text{color:var(--header-supporting-text-color, var(--header-subheading-color))}.subheading__supporting-text span{margin:0 0.125rem}slot[name=actions]{flex-shrink:0}:host(limel-header.is-narrow){padding:0.125rem 0.25rem}:host(limel-header.is-narrow) .icon{--limel-icon-svg-margin:0;width:1.25rem}:host(limel-header.is-narrow) .heading{font-size:0.9375rem}:host(limel-header.has-responsive-layout){display:grid;grid-template-columns:repeat(auto-fit, minmax(clamp(50%, var(--header-responsive-breakpoint, 22rem), 100%), 1fr))}:host(limel-header.has-responsive-layout) .headings{padding-right:0.5rem}:host(limel-header.has-responsive-layout) slot[name=actions]{display:flex;justify-content:flex-end}';export{o as limel_header}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e,a as r}from"./p-VCOjLfyP.js";import{c as o,i as a}from"./p-C4caLnTg.js";import{a as n}from"./p-DtrvybFR.js";import{c}from"./p-BE1Efiuj.js";import{i as h}from"./p-B8VKuhvH.js";import{c as l}from"./p-JbKhhoXs.js";import"./p-BCq5M9TE.js";import"./p-Bu_YRgCL.js";import"./p-CgNJbSP4.js";import"./p-mmkVLOjW.js";import"./p-CZ30nDJE.js";import"./p-D4RdItCq.js";import"./p-BJQylLSL.js";import"./p-oiMYqRQ0.js";import"./p-BYfPV0O4.js";import"./p-BcJ-TDVt.js";import"./p-DbBZn7JO.js";import"./p-B--C3qwe.js";import"./p-BOEi1C7r.js";import"./p-CK4jS9_E.js";function p(t,i,s,e){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];i(e,a,s(a),t)}return e}function f(t,i,s,e){return n(t,(function(t,r,o){i(e,t,s(t),o)})),e}var d,m,b=(d=function(t,i,s){t[s?0:1].push(i)},m=function(){return[[],[]]},function(t,i){var s=h(t)?p:f,e=m?[[],[]]:{};return s(t,d,c(i),e)});const u=class{constructor(e){t(this,e),this.filesSelected=i(this,"filesSelected"),this.filesRejected=i(this,"filesRejected"),this.accept="*",this.disabled=!1,this.helperText="",this.hasFileToDrop=!1,this.renderOnDragLayout=()=>{if(!this.disabled&&this.hasFileToDrop)return s("div",{class:"has-file-to-drop"},s("limel-icon",{class:"icon",name:"upload_2"}),s("div",{class:"text-helpertext"},this.renderText(),this.renderHelperText()))},this.renderText=()=>{if(this.text)return s("span",{class:"text"},this.text)},this.renderHelperText=()=>{if(this.helperText)return s("span",{class:"helper-text"},this.helperText)},this.handleDrop=t=>{if(t.stopPropagation(),t.preventDefault(),this.hasFileToDrop=!1,this.disabled)return;const i=[...t.dataTransfer.files].map(o),[s,e]=b(i,(t=>a(t,this.accept)));s.length>0&&this.filesSelected.emit(s),e.length>0&&this.filesRejected.emit(e)},this.handleDragOver=t=>{this.hasFileToDrop=!0,t.preventDefault()},this.handleDragLeave=t=>{this.hasFileToDrop=!1,t.preventDefault()}}render(){return s(e,{key:"5143c9cda4ccbcd0c34bb55fb7f8eb6b9d028863",onDrop:this.handleDrop,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave},s("slot",{key:"c283ffdb9838d4cee80842127360303f77a6de39"}),this.renderOnDragLayout())}};u.style=":host(limel-file-dropzone){display:block;position:relative}.has-file-to-drop{animation:display-drop-zone 0.6s ease forwards;box-sizing:border-box;isolation:isolate;z-index:1;position:absolute;inset:0.25rem;overflow:hidden;display:flex;justify-content:center;align-items:center;gap:0.5rem;color:rgb(var(--contrast-700));border:0.125rem dashed rgb(var(--color-cyan-light));border-radius:0.75rem}.text-helpertext{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.icon{width:clamp(2rem, 5vh, 7rem)}.text{font-size:clamp(1rem, 2vh, 1.75rem)}.helper-text{font-size:clamp(0.75rem, 1.5vh, 1rem)}@keyframes display-drop-zone{0%{background-color:rgb(var(--contrast-1100), 0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);scale:0.9;opacity:0}50%{scale:1;opacity:1}100%{background-color:rgb(var(--contrast-1100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}}";const j=class{constructor(s){t(this,s),this.filesSelected=i(this,"filesSelected"),this.accept="*",this.disabled=!1,this.multiple=!1,this.fileInputId=l(),this.handleClick=t=>{if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.triggerFileDialog(),t.stopPropagation()},this.handleKeyUp=t=>{t.stopPropagation(),t.preventDefault(),"Enter"===t.code&&this.triggerFileDialog()},this.handleFileChange=t=>{const i=[...this.fileInput.files];i.length>0&&(t.stopPropagation(),this.filesSelected.emit(i.map(o)),this.fileInput.value="")}}componentDidLoad(){this.fileInput=this.element.shadowRoot.getElementById(this.fileInputId)}render(){return s(e,{key:"4746b407c045a406385f4b26b7a82298a37c7fca",onClick:this.handleClick,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown},s("input",{key:"b599d3a8d60802f0977c2ffc12f14975a7a8d4f0",hidden:!0,id:this.fileInputId,onChange:this.handleFileChange,type:"file",accept:this.accept,disabled:this.disabled,multiple:this.multiple}),s("slot",{key:"4e526023fd5287a112708d2012cc9b897facb93b"}))}handleKeyDown(t){"Tab"!==t.code&&"Backspace"!==t.code&&"Enter"!==t.code&&(t.preventDefault(),t.stopPropagation())}triggerFileDialog(){this.fileInput.click()}get element(){return r(this)}};export{u as limel_file_dropzone,j as limel_file_input}
|
|
@@ -7,7 +7,7 @@ interface CodeEditorState {
|
|
|
7
7
|
export declare class CodeEditor extends React.Component<FieldProps, CodeEditorState> {
|
|
8
8
|
state: CodeEditorState;
|
|
9
9
|
constructor(props: FieldProps);
|
|
10
|
-
render(): React.
|
|
10
|
+
render(): React.ReactElement<{
|
|
11
11
|
value: string;
|
|
12
12
|
language: string;
|
|
13
13
|
lineNumbers: boolean;
|
|
@@ -16,7 +16,7 @@ export declare class CodeEditor extends React.Component<FieldProps, CodeEditorSt
|
|
|
16
16
|
onChange: (event: React.SyntheticEvent<HTMLLimelCodeEditorElement, CustomEvent<string>>) => void;
|
|
17
17
|
invalid: boolean;
|
|
18
18
|
helperText: string;
|
|
19
|
-
},
|
|
19
|
+
}, string | React.JSXElementConstructor<any>>;
|
|
20
20
|
componentDidUpdate(prevProps: Readonly<FieldProps>): void;
|
|
21
21
|
private handleChange;
|
|
22
22
|
}
|
|
@@ -65,6 +65,15 @@ export declare class ProsemirrorAdapter {
|
|
|
65
65
|
private contentConverter;
|
|
66
66
|
private actionBarElement;
|
|
67
67
|
private lastEmittedValue;
|
|
68
|
+
/**
|
|
69
|
+
* The value most recently delivered to the consumer via the `change`
|
|
70
|
+
* event. Unlike `lastEmittedValue`, which is updated already when a
|
|
71
|
+
* change is queued for the debounced emit, this is only updated when
|
|
72
|
+
* the event is actually dispatched. It is used to tell a consumer's
|
|
73
|
+
* echo of an emitted value apart from an intentional external update.
|
|
74
|
+
* `undefined` until the first `change` event is dispatched.
|
|
75
|
+
*/
|
|
76
|
+
private lastDispatchedValue;
|
|
68
77
|
private changeWaiting;
|
|
69
78
|
private transactionFired;
|
|
70
79
|
private lastClickedPos;
|
|
@@ -99,6 +108,11 @@ export declare class ProsemirrorAdapter {
|
|
|
99
108
|
*/
|
|
100
109
|
private metadataChange;
|
|
101
110
|
constructor();
|
|
111
|
+
/**
|
|
112
|
+
* Emits any pending debounced `change` event immediately.
|
|
113
|
+
* Does nothing if no change is pending.
|
|
114
|
+
*/
|
|
115
|
+
flushPendingChanges(): Promise<void>;
|
|
102
116
|
protected watchValue(newValue: string): void;
|
|
103
117
|
componentWillLoad(): void;
|
|
104
118
|
componentDidLoad(): void;
|
|
@@ -179,7 +179,18 @@ export declare class TextEditor implements FormComponent<string> {
|
|
|
179
179
|
triggerChange: EventEmitter<TriggerEventDetail>;
|
|
180
180
|
private readonly helperTextId;
|
|
181
181
|
private readonly editorId;
|
|
182
|
+
private adapterElement?;
|
|
182
183
|
constructor();
|
|
184
|
+
/**
|
|
185
|
+
* Emits any pending `change` event immediately, instead of waiting
|
|
186
|
+
* for the debounce delay to elapse. Does nothing if no change is
|
|
187
|
+
* pending.
|
|
188
|
+
*
|
|
189
|
+
* Useful when the current content is needed right away, for example
|
|
190
|
+
* when the user activates a "send" or "save" action right after
|
|
191
|
+
* typing.
|
|
192
|
+
*/
|
|
193
|
+
flushPendingChanges(): Promise<void>;
|
|
183
194
|
render(): any;
|
|
184
195
|
private renderEditor;
|
|
185
196
|
private renderPlaceholder;
|
|
@@ -20,6 +20,7 @@ import { ChartItem } from "./components/chart/chart.types";
|
|
|
20
20
|
import { Label, LabelValue } from "./components/dynamic-label/label.types";
|
|
21
21
|
import { Link } from "./global/shared-types/link.types";
|
|
22
22
|
import { Chip, ChipType } from "./components/chip-set/chip.types";
|
|
23
|
+
import { MenuItem as MenuItem1 } from "./components";
|
|
23
24
|
import { CircularProgressSize } from "./components/circular-progress/circular-progress.types";
|
|
24
25
|
import { ColorScheme, Language } from "./components/code-editor/code-editor.types";
|
|
25
26
|
import { Action } from "./components/collapsible-section/action";
|
|
@@ -65,6 +66,7 @@ export { ChartItem } from "./components/chart/chart.types";
|
|
|
65
66
|
export { Label, LabelValue } from "./components/dynamic-label/label.types";
|
|
66
67
|
export { Link } from "./global/shared-types/link.types";
|
|
67
68
|
export { Chip, ChipType } from "./components/chip-set/chip.types";
|
|
69
|
+
export { MenuItem as MenuItem1 } from "./components";
|
|
68
70
|
export { CircularProgressSize } from "./components/circular-progress/circular-progress.types";
|
|
69
71
|
export { ColorScheme, Language } from "./components/code-editor/code-editor.types";
|
|
70
72
|
export { Action } from "./components/collapsible-section/action";
|
|
@@ -752,7 +754,7 @@ export namespace Components {
|
|
|
752
754
|
* When provided, the chip will render an ellipsis menu with the supplied items. Also, this will hide the "remove button" when `removable={true}`, as the remove button will automatically become the last item in the menu.
|
|
753
755
|
* @default []
|
|
754
756
|
*/
|
|
755
|
-
"menuItems"?: Array<
|
|
757
|
+
"menuItems"?: Array<MenuItem1 | ListSeparator>;
|
|
756
758
|
/**
|
|
757
759
|
* Reflects the current value of a progress bar on the chip, visualizing the percentage of an ongoing process. Must be a number between `0` and `100`.
|
|
758
760
|
*/
|
|
@@ -958,7 +960,7 @@ export namespace Components {
|
|
|
958
960
|
"displayPercentageColors": boolean;
|
|
959
961
|
/**
|
|
960
962
|
* The maximum value within the scale that the progress bar should visualize. Defaults to `100`.
|
|
961
|
-
* @default
|
|
963
|
+
* @default 100
|
|
962
964
|
*/
|
|
963
965
|
"maxValue": number;
|
|
964
966
|
/**
|
|
@@ -1448,7 +1450,7 @@ export namespace Components {
|
|
|
1448
1450
|
"expanded"?: boolean;
|
|
1449
1451
|
/**
|
|
1450
1452
|
* Defines the breakpoint in pixles, at which the component will be rendered in a hoizontal layout. Default breakpoint is `700` pixels, which means when the screen size is smaller than `700px`, the component will automatically switch to a horizontal layout.
|
|
1451
|
-
* @default
|
|
1453
|
+
* @default 700
|
|
1452
1454
|
*/
|
|
1453
1455
|
"mobileBreakPoint"?: number;
|
|
1454
1456
|
}
|
|
@@ -2641,7 +2643,7 @@ export namespace Components {
|
|
|
2641
2643
|
"openDirection": OpenDirection;
|
|
2642
2644
|
/**
|
|
2643
2645
|
* A root breadcrumb item to show above the menu items. Clicking it navigates back from a sub-menu to the root menu.
|
|
2644
|
-
* @default
|
|
2646
|
+
* @default { text: '', icon: { name: 'home', }, type: 'icon-only', }
|
|
2645
2647
|
*/
|
|
2646
2648
|
"rootItem": BreadcrumbsItem;
|
|
2647
2649
|
/**
|
|
@@ -3169,6 +3171,10 @@ export namespace Components {
|
|
|
3169
3171
|
* @default false
|
|
3170
3172
|
*/
|
|
3171
3173
|
"disabled"?: boolean;
|
|
3174
|
+
/**
|
|
3175
|
+
* Emits any pending debounced `change` event immediately. Does nothing if no change is pending.
|
|
3176
|
+
*/
|
|
3177
|
+
"flushPendingChanges": () => Promise<void>;
|
|
3172
3178
|
/**
|
|
3173
3179
|
* Defines the language for translations.
|
|
3174
3180
|
*/
|
|
@@ -3384,7 +3390,7 @@ export namespace Components {
|
|
|
3384
3390
|
"displaysPercentageColors": boolean;
|
|
3385
3391
|
/**
|
|
3386
3392
|
* Default value: 1. The factor that the properties `value`, `valuemax`, `valuemin`, and `step` are multiplied by. On `change` divides the value by the factor, so the original format stays the same.
|
|
3387
|
-
* @default
|
|
3393
|
+
* @default 1
|
|
3388
3394
|
*/
|
|
3389
3395
|
"factor": number;
|
|
3390
3396
|
/**
|
|
@@ -3425,12 +3431,12 @@ export namespace Components {
|
|
|
3425
3431
|
"value": number;
|
|
3426
3432
|
/**
|
|
3427
3433
|
* The maximum value allowed
|
|
3428
|
-
* @default
|
|
3434
|
+
* @default 100
|
|
3429
3435
|
*/
|
|
3430
3436
|
"valuemax": number;
|
|
3431
3437
|
/**
|
|
3432
3438
|
* The minimum value allowed
|
|
3433
|
-
* @default
|
|
3439
|
+
* @default 0
|
|
3434
3440
|
*/
|
|
3435
3441
|
"valuemin": number;
|
|
3436
3442
|
}
|
|
@@ -3733,7 +3739,7 @@ export namespace Components {
|
|
|
3733
3739
|
"movableRows": boolean;
|
|
3734
3740
|
/**
|
|
3735
3741
|
* The page to show
|
|
3736
|
-
* @default
|
|
3742
|
+
* @default 1
|
|
3737
3743
|
*/
|
|
3738
3744
|
"page": number;
|
|
3739
3745
|
/**
|
|
@@ -3813,6 +3819,10 @@ export namespace Components {
|
|
|
3813
3819
|
* @default false
|
|
3814
3820
|
*/
|
|
3815
3821
|
"disabled"?: boolean;
|
|
3822
|
+
/**
|
|
3823
|
+
* Emits any pending `change` event immediately, instead of waiting for the debounce delay to elapse. Does nothing if no change is pending. Useful when the current content is needed right away, for example when the user activates a "send" or "save" action right after typing.
|
|
3824
|
+
*/
|
|
3825
|
+
"flushPendingChanges": () => Promise<void>;
|
|
3816
3826
|
/**
|
|
3817
3827
|
* Optional helper text to display below the input field when it has focus
|
|
3818
3828
|
*/
|
|
@@ -3934,7 +3944,7 @@ export namespace Components {
|
|
|
3934
3944
|
"label": string;
|
|
3935
3945
|
/**
|
|
3936
3946
|
* The maximum amount of characters before rendering 'label' and 'helperLabel' in two rows.
|
|
3937
|
-
* @default
|
|
3947
|
+
* @default 50
|
|
3938
3948
|
*/
|
|
3939
3949
|
"maxlength"?: number;
|
|
3940
3950
|
/**
|
|
@@ -4556,7 +4566,7 @@ declare global {
|
|
|
4556
4566
|
};
|
|
4557
4567
|
interface HTMLLimelChipElementEventMap {
|
|
4558
4568
|
"remove": number | string;
|
|
4559
|
-
"menuItemSelected":
|
|
4569
|
+
"menuItemSelected": MenuItem1;
|
|
4560
4570
|
}
|
|
4561
4571
|
/**
|
|
4562
4572
|
* Chips and buttons are both interactive elements in UI design,
|
|
@@ -7239,11 +7249,11 @@ declare namespace LocalJSX {
|
|
|
7239
7249
|
* When provided, the chip will render an ellipsis menu with the supplied items. Also, this will hide the "remove button" when `removable={true}`, as the remove button will automatically become the last item in the menu.
|
|
7240
7250
|
* @default []
|
|
7241
7251
|
*/
|
|
7242
|
-
"menuItems"?: Array<
|
|
7252
|
+
"menuItems"?: Array<MenuItem1 | ListSeparator>;
|
|
7243
7253
|
/**
|
|
7244
7254
|
* Emitted when a menu item is selected from the actions menu.
|
|
7245
7255
|
*/
|
|
7246
|
-
"onMenuItemSelected"?: (event: LimelChipCustomEvent<
|
|
7256
|
+
"onMenuItemSelected"?: (event: LimelChipCustomEvent<MenuItem1>) => void;
|
|
7247
7257
|
/**
|
|
7248
7258
|
* Fired when clicking on the remove button of a `removable` chip. The value of `identifier` is emitted as the event detail.
|
|
7249
7259
|
*/
|
|
@@ -7457,7 +7467,7 @@ declare namespace LocalJSX {
|
|
|
7457
7467
|
"displayPercentageColors"?: boolean;
|
|
7458
7468
|
/**
|
|
7459
7469
|
* The maximum value within the scale that the progress bar should visualize. Defaults to `100`.
|
|
7460
|
-
* @default
|
|
7470
|
+
* @default 100
|
|
7461
7471
|
*/
|
|
7462
7472
|
"maxValue"?: number;
|
|
7463
7473
|
/**
|
|
@@ -7983,7 +7993,7 @@ declare namespace LocalJSX {
|
|
|
7983
7993
|
"expanded"?: boolean;
|
|
7984
7994
|
/**
|
|
7985
7995
|
* Defines the breakpoint in pixles, at which the component will be rendered in a hoizontal layout. Default breakpoint is `700` pixels, which means when the screen size is smaller than `700px`, the component will automatically switch to a horizontal layout.
|
|
7986
|
-
* @default
|
|
7996
|
+
* @default 700
|
|
7987
7997
|
*/
|
|
7988
7998
|
"mobileBreakPoint"?: number;
|
|
7989
7999
|
/**
|
|
@@ -9252,7 +9262,7 @@ declare namespace LocalJSX {
|
|
|
9252
9262
|
"openDirection"?: OpenDirection;
|
|
9253
9263
|
/**
|
|
9254
9264
|
* A root breadcrumb item to show above the menu items. Clicking it navigates back from a sub-menu to the root menu.
|
|
9255
|
-
* @default
|
|
9265
|
+
* @default { text: '', icon: { name: 'home', }, type: 'icon-only', }
|
|
9256
9266
|
*/
|
|
9257
9267
|
"rootItem"?: BreadcrumbsItem;
|
|
9258
9268
|
/**
|
|
@@ -10069,7 +10079,7 @@ declare namespace LocalJSX {
|
|
|
10069
10079
|
"displaysPercentageColors"?: boolean;
|
|
10070
10080
|
/**
|
|
10071
10081
|
* Default value: 1. The factor that the properties `value`, `valuemax`, `valuemin`, and `step` are multiplied by. On `change` divides the value by the factor, so the original format stays the same.
|
|
10072
|
-
* @default
|
|
10082
|
+
* @default 1
|
|
10073
10083
|
*/
|
|
10074
10084
|
"factor"?: number;
|
|
10075
10085
|
/**
|
|
@@ -10114,12 +10124,12 @@ declare namespace LocalJSX {
|
|
|
10114
10124
|
"value"?: number;
|
|
10115
10125
|
/**
|
|
10116
10126
|
* The maximum value allowed
|
|
10117
|
-
* @default
|
|
10127
|
+
* @default 100
|
|
10118
10128
|
*/
|
|
10119
10129
|
"valuemax"?: number;
|
|
10120
10130
|
/**
|
|
10121
10131
|
* The minimum value allowed
|
|
10122
|
-
* @default
|
|
10132
|
+
* @default 0
|
|
10123
10133
|
*/
|
|
10124
10134
|
"valuemin"?: number;
|
|
10125
10135
|
}
|
|
@@ -10473,7 +10483,7 @@ declare namespace LocalJSX {
|
|
|
10473
10483
|
"onSort"?: (event: LimelTableCustomEvent<ColumnSorter[]>) => void;
|
|
10474
10484
|
/**
|
|
10475
10485
|
* The page to show
|
|
10476
|
-
* @default
|
|
10486
|
+
* @default 1
|
|
10477
10487
|
*/
|
|
10478
10488
|
"page"?: number;
|
|
10479
10489
|
/**
|
|
@@ -10727,7 +10737,7 @@ declare namespace LocalJSX {
|
|
|
10727
10737
|
"label": string;
|
|
10728
10738
|
/**
|
|
10729
10739
|
* The maximum amount of characters before rendering 'label' and 'helperLabel' in two rows.
|
|
10730
|
-
* @default
|
|
10740
|
+
* @default 50
|
|
10731
10741
|
*/
|
|
10732
10742
|
"maxlength"?: number;
|
|
10733
10743
|
/**
|
|
@@ -1070,6 +1070,7 @@ export declare namespace JSXBase {
|
|
|
1070
1070
|
importance?: 'low' | 'auto' | 'high';
|
|
1071
1071
|
height?: number | string;
|
|
1072
1072
|
loading?: 'lazy' | 'auto' | 'eager';
|
|
1073
|
+
referrerPolicy?: ReferrerPolicy;
|
|
1073
1074
|
sizes?: string;
|
|
1074
1075
|
src?: string;
|
|
1075
1076
|
srcSet?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "39.
|
|
3
|
+
"version": "39.34.1",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -49,50 +49,51 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@commitlint/config-conventional": "^19.8.1",
|
|
51
51
|
"@limetech/eslint-config": "^4.0.0",
|
|
52
|
-
"@microsoft/api-extractor": "^7.
|
|
53
|
-
"@playwright/test": "1.
|
|
52
|
+
"@microsoft/api-extractor": "^7.58.7",
|
|
53
|
+
"@playwright/test": "1.60.0",
|
|
54
54
|
"@popperjs/core": "^2.11.8",
|
|
55
|
-
"@rjsf/core": "^6.
|
|
56
|
-
"@rjsf/utils": "^6.
|
|
57
|
-
"@rjsf/validator-ajv8": "^6.
|
|
55
|
+
"@rjsf/core": "^6.6.1",
|
|
56
|
+
"@rjsf/utils": "^6.6.1",
|
|
57
|
+
"@rjsf/validator-ajv8": "^6.6.1",
|
|
58
58
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
59
|
-
"@stencil/core": "^4.43.
|
|
60
|
-
"@stencil/sass": "^3.2.
|
|
61
|
-
"@stencil/vitest": "^1.1
|
|
62
|
-
"@types/codemirror": "^5.60.
|
|
59
|
+
"@stencil/core": "^4.43.5",
|
|
60
|
+
"@stencil/sass": "^3.2.3",
|
|
61
|
+
"@stencil/vitest": "^1.12.1",
|
|
62
|
+
"@types/codemirror": "^5.60.17",
|
|
63
63
|
"@types/html-escaper": "^3.0.4",
|
|
64
64
|
"@types/lodash-es": "^4.17.12",
|
|
65
|
-
"@types/react": "^19.
|
|
66
|
-
"@types/react-dom": "^19.
|
|
67
|
-
"@types/tabulator-tables": "^6.
|
|
68
|
-
"@vitest/browser-playwright": "^4.
|
|
65
|
+
"@types/react": "^19.2.16",
|
|
66
|
+
"@types/react-dom": "^19.2.3",
|
|
67
|
+
"@types/tabulator-tables": "^6.3.3",
|
|
68
|
+
"@vitest/browser-playwright": "^4.1.8",
|
|
69
69
|
"axe-core": "4.12.0",
|
|
70
70
|
"codemirror": "^5.65.9",
|
|
71
|
-
"cross-env": "^
|
|
72
|
-
"dayjs": "^1.11.
|
|
73
|
-
"
|
|
71
|
+
"cross-env": "^10.1.0",
|
|
72
|
+
"dayjs": "^1.11.21",
|
|
73
|
+
"diff": "^9.0.0",
|
|
74
|
+
"eslint": "^9.39.4",
|
|
74
75
|
"flatpickr": "^4.6.13",
|
|
75
|
-
"glob": "^13.0.
|
|
76
|
-
"globals": "^16.
|
|
76
|
+
"glob": "^13.0.6",
|
|
77
|
+
"globals": "^16.5.0",
|
|
77
78
|
"html-escaper": "^3.0.3",
|
|
78
79
|
"jsonlint-mod": "^1.7.6",
|
|
79
80
|
"jsx-dom": "^8.1.6",
|
|
80
|
-
"kompendium": "
|
|
81
|
+
"kompendium": "npm:@limetech/kompendium@^1.1.2",
|
|
81
82
|
"lodash-es": "^4.17.23",
|
|
82
83
|
"material-components-web": "^13.0.0",
|
|
83
84
|
"moment": "^2.30.1",
|
|
84
85
|
"morphdom": "^2.7.8",
|
|
85
86
|
"number-abbreviate": "^2.0.0",
|
|
86
87
|
"parse-css-color": "^0.2.1",
|
|
87
|
-
"postal-mime": "^2.7.
|
|
88
|
-
"prettier": "^3.
|
|
88
|
+
"postal-mime": "^2.7.4",
|
|
89
|
+
"prettier": "^3.8.3",
|
|
89
90
|
"prosemirror-example-setup": "^1.2.3",
|
|
90
|
-
"prosemirror-markdown": "^1.13.
|
|
91
|
+
"prosemirror-markdown": "^1.13.4",
|
|
91
92
|
"prosemirror-model": ">=1.22.1",
|
|
92
93
|
"prosemirror-schema-basic": "^1.2.4",
|
|
93
|
-
"prosemirror-tables": "^1.
|
|
94
|
-
"react": "^19.
|
|
95
|
-
"react-dom": "^19.
|
|
94
|
+
"prosemirror-tables": "^1.8.5",
|
|
95
|
+
"react": "^19.2.7",
|
|
96
|
+
"react-dom": "^19.2.7",
|
|
96
97
|
"rehype-parse": "^9.0.1",
|
|
97
98
|
"rehype-raw": "^7.0.0",
|
|
98
99
|
"rehype-sanitize": "^6.0.0",
|
|
@@ -100,16 +101,17 @@
|
|
|
100
101
|
"remark-gfm": "^4.0.1",
|
|
101
102
|
"remark-parse": "^11.0.0",
|
|
102
103
|
"remark-rehype": "^11.1.1",
|
|
103
|
-
"replace-in-file": "^
|
|
104
|
+
"replace-in-file": "^8.4.0",
|
|
104
105
|
"shelljs": "0.10.0",
|
|
105
106
|
"shx": "^0.4.0",
|
|
106
107
|
"sirv": "^3.0.2",
|
|
107
|
-
"sortablejs": "^1.15.
|
|
108
|
-
"style-to-object": "^1.0.
|
|
109
|
-
"tabulator-tables": "^6.
|
|
108
|
+
"sortablejs": "^1.15.7",
|
|
109
|
+
"style-to-object": "^1.0.14",
|
|
110
|
+
"tabulator-tables": "^6.4.0",
|
|
110
111
|
"typescript": "^4.9.5",
|
|
111
112
|
"unified": "^11.0.5",
|
|
112
|
-
"unist-util-visit": "^5.0.0"
|
|
113
|
+
"unist-util-visit": "^5.0.0",
|
|
114
|
+
"yargs": "^17.7.2"
|
|
113
115
|
},
|
|
114
116
|
"overrides": {
|
|
115
117
|
"prosemirror-model": ">=1.22.1"
|
|
@@ -132,9 +134,5 @@
|
|
|
132
134
|
"url": "https://github.com/Lundalogik/lime-elements/issues"
|
|
133
135
|
},
|
|
134
136
|
"homepage": "https://github.com/Lundalogik/lime-elements#readme",
|
|
135
|
-
"packageManager": "npm@>=10.9"
|
|
136
|
-
"dependencies": {
|
|
137
|
-
"diff": "^8.0.3",
|
|
138
|
-
"sortablejs": "^1.15.6"
|
|
139
|
-
}
|
|
137
|
+
"packageManager": "npm@>=10.9"
|
|
140
138
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o}from"./p-DBTJNfo7.js";import{g as t}from"./p-Dnt5w_Bp.js";const s=class{constructor(t){o(this,t)}componentDidLoad(){this.setGlobalConfig()}componentDidUpdate(){this.setGlobalConfig()}setGlobalConfig(){if(this.config)for(const o of Object.keys(this.config))t[o]=this.config[o]}render(){return null}};export{s as limel_config}
|