@limetech/lime-elements 40.23.0 → 40.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/{checkbox.template-CNJ29zDR.js → checkbox.template-DgiUCPna.js} +1 -1
- package/dist/cjs/dom-BWMDM6En.js +32 -0
- package/dist/cjs/{image.template-DlF-f23b.js → image.template-B_HZH9t-.js} +1 -1
- package/dist/cjs/{index-BlsqxTB1.js → index-CQn9p_mp.js} +12 -0
- package/dist/cjs/lime-elements.cjs.js +2 -2
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +2 -2
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +5 -6
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +3 -4
- package/dist/cjs/limel-badge_7.cjs.entry.js +13 -13
- package/dist/cjs/limel-banner.cjs.entry.js +2 -2
- 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 +3 -4
- package/dist/cjs/limel-card.cjs.entry.js +3 -3
- package/dist/cjs/limel-chart.cjs.entry.js +782 -180
- package/dist/cjs/limel-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/limel-chip-set.cjs.entry.js +3 -4
- package/dist/cjs/limel-chip_2.cjs.entry.js +4 -5
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-diff.cjs.entry.js +3 -4
- package/dist/cjs/limel-code-editor.cjs.entry.js +3 -4
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +3 -4
- 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 +439 -28
- 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 +4 -5
- package/dist/cjs/limel-drag-handle_2.cjs.entry.js +5 -6
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +3 -4
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-file-viewer.cjs.entry.js +3 -4
- package/dist/cjs/limel-file.cjs.entry.js +3 -4
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +124 -16
- package/dist/cjs/limel-flex-container.cjs.entry.js +2 -2
- package/dist/cjs/limel-form-header.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +66 -6
- 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_2.cjs.entry.js +4 -4
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +5 -5
- 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 +7 -8
- package/dist/cjs/limel-markdown.cjs.entry.js +2 -2
- 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-pagination-jump.cjs.entry.js +2 -3
- package/dist/cjs/limel-pagination.cjs.entry.js +7 -8
- package/dist/cjs/limel-picker.cjs.entry.js +7 -7
- package/dist/cjs/limel-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-profile-picture.cjs.entry.js +3 -4
- 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 +3 -4
- 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-resize-handle.cjs.entry.js +3 -4
- package/dist/cjs/limel-select.cjs.entry.js +3 -3
- package/dist/cjs/limel-shortcut.cjs.entry.js +2 -2
- package/dist/cjs/limel-side-panel.cjs.entry.js +3 -4
- package/dist/cjs/limel-slider.cjs.entry.js +5 -6
- package/dist/cjs/limel-snackbar.cjs.entry.js +4 -5
- 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 +2 -2
- package/dist/cjs/limel-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/limel-table.cjs.entry.js +4 -5
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +5 -6
- package/dist/cjs/limel-text-editor.cjs.entry.js +2 -2
- package/dist/cjs/{live-message-BNl3Ihcz.js → live-message-CwxlKd60.js} +0 -30
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{render-list-component-BtAliHQp.js → render-list-component-BOYFHMFE.js} +1 -1
- package/dist/cjs/{translations-JLP5icQ9.js → translations-BPsptVkN.js} +73 -3
- 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/chart/chart.css +29 -0
- package/dist/collection/components/chart/chart.js +352 -67
- package/dist/collection/components/chart/options.js +342 -109
- package/dist/collection/components/chart/scale.js +25 -2
- package/dist/collection/components/chart/series.js +110 -0
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip-set/chip-set.js +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +1 -1
- 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/date-formatter.js +147 -1
- package/dist/collection/components/date-picker/date-picker.css +112 -0
- package/dist/collection/components/date-picker/date-picker.js +307 -26
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +77 -30
- package/dist/collection/components/date-picker/pickers/month-picker.js +3 -0
- package/dist/collection/components/date-picker/pickers/picker.js +37 -1
- package/dist/collection/components/date-picker/pickers/quarter-picker.js +3 -0
- package/dist/collection/components/date-picker/pickers/week-picker.js +21 -0
- package/dist/collection/components/date-picker/pickers/year-picker.js +24 -0
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dock/dock.js +2 -2
- 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/fields/schema-field.js +19 -1
- package/dist/collection/components/form/form.js +30 -3
- package/dist/collection/components/form/form.test-schemas.js +11 -0
- package/dist/collection/components/form/invalid-input.js +14 -0
- package/dist/collection/components/form/widgets/date-picker.js +3 -1
- package/dist/collection/components/form-header/form-header.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 +1 -1
- 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/pagination/pagination.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/resize-handle/resize-handle.js +1 -1
- package/dist/collection/components/scroller/scroller.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/side-panel/side-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +3 -3
- 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 +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +2 -2
- 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 +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/translations/da.js +2 -0
- package/dist/collection/translations/de.js +2 -0
- package/dist/collection/translations/en.js +2 -0
- package/dist/collection/translations/fi.js +2 -0
- package/dist/collection/translations/fr.js +2 -0
- package/dist/collection/translations/nl.js +2 -0
- package/dist/collection/translations/no.js +2 -0
- package/dist/collection/translations/sv.js +2 -0
- package/dist/esm/{checkbox.template-CAja2LKZ.js → checkbox.template-BJJmiDJP.js} +1 -1
- package/dist/esm/dom-B9Ofc5RB.js +30 -0
- package/dist/esm/{image.template-BGjw97m_.js → image.template-Cw2q5IS7.js} +1 -1
- package/dist/esm/{index-BU9IJqli.js → index-D3SUrFhp.js} +12 -1
- package/dist/esm/{keyboard-navigation-BF7IKmnG.js → keyboard-navigation-DeMxdkNf.js} +1 -1
- package/dist/esm/lime-elements.js +3 -3
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +2 -2
- package/dist/esm/limel-action-bar_3.entry.js +5 -6
- package/dist/esm/limel-ai-avatar.entry.js +3 -4
- package/dist/esm/limel-badge_7.entry.js +12 -12
- package/dist/esm/limel-banner.entry.js +2 -2
- 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 +3 -4
- package/dist/esm/limel-card.entry.js +3 -3
- package/dist/esm/limel-chart.entry.js +779 -177
- package/dist/esm/limel-checkbox.entry.js +3 -3
- package/dist/esm/limel-chip-set.entry.js +3 -4
- package/dist/esm/limel-chip_2.entry.js +4 -5
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-diff.entry.js +3 -4
- package/dist/esm/limel-code-editor.entry.js +3 -4
- package/dist/esm/limel-collapsible-section.entry.js +3 -4
- 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 +436 -25
- 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 +4 -5
- package/dist/esm/limel-drag-handle_2.entry.js +5 -6
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +3 -4
- package/dist/esm/limel-file-dropzone_2.entry.js +3 -3
- package/dist/esm/limel-file-viewer.entry.js +3 -4
- package/dist/esm/limel-file.entry.js +3 -4
- package/dist/esm/limel-flatpickr-adapter.entry.js +118 -10
- package/dist/esm/limel-flex-container.entry.js +2 -2
- package/dist/esm/limel-form-header.entry.js +2 -2
- package/dist/esm/limel-form.entry.js +66 -6
- package/dist/esm/limel-grid.entry.js +2 -2
- package/dist/esm/limel-header.entry.js +2 -2
- package/dist/esm/limel-help_2.entry.js +4 -4
- package/dist/esm/limel-helper-line_3.entry.js +5 -5
- 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 +7 -8
- package/dist/esm/limel-markdown.entry.js +2 -2
- 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-pagination-jump.entry.js +2 -3
- package/dist/esm/limel-pagination.entry.js +3 -4
- package/dist/esm/limel-picker.entry.js +5 -5
- package/dist/esm/limel-popover_2.entry.js +3 -3
- package/dist/esm/limel-profile-picture.entry.js +3 -4
- 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 +3 -4
- 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-resize-handle.entry.js +3 -4
- package/dist/esm/limel-select.entry.js +3 -3
- package/dist/esm/limel-shortcut.entry.js +2 -2
- package/dist/esm/limel-side-panel.entry.js +3 -4
- package/dist/esm/limel-slider.entry.js +5 -6
- package/dist/esm/limel-snackbar.entry.js +4 -5
- 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 +4 -5
- package/dist/esm/limel-text-editor-link-menu.entry.js +5 -6
- package/dist/esm/limel-text-editor.entry.js +2 -2
- package/dist/esm/{live-message-BQAYeNiX.js → live-message-BKB4vu28.js} +1 -30
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{render-list-component-J1IzNpbv.js → render-list-component-CnMNjOaj.js} +1 -1
- package/dist/esm/{translations-D9ZGrMhe.js → translations--i932i_D.js} +70 -2
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p--i932i_D.js +1 -0
- package/dist/lime-elements/p-07961d4f.entry.js +1 -0
- package/dist/lime-elements/p-099e9e1a.entry.js +1 -0
- package/dist/lime-elements/p-0dd5cb25.entry.js +1 -0
- package/dist/lime-elements/{p-40940a6c.entry.js → p-1d57370e.entry.js} +1 -1
- package/dist/lime-elements/p-1ef92aa3.entry.js +1 -0
- package/dist/lime-elements/p-1eff9347.entry.js +56 -0
- package/dist/lime-elements/{p-6053608a.entry.js → p-22458db2.entry.js} +2 -2
- package/dist/lime-elements/{p-db9cb7ef.entry.js → p-2520a91b.entry.js} +1 -1
- package/dist/lime-elements/{p-85318636.entry.js → p-25473848.entry.js} +1 -1
- package/dist/lime-elements/p-27000dfb.entry.js +1 -0
- package/dist/lime-elements/p-29800b71.entry.js +1 -0
- package/dist/lime-elements/{p-438fe49b.entry.js → p-2e1fd8c4.entry.js} +1 -1
- package/dist/lime-elements/p-2f6ee1b0.entry.js +1 -0
- package/dist/lime-elements/{p-c61e9b83.entry.js → p-427a3da3.entry.js} +1 -1
- package/dist/lime-elements/p-447a2633.entry.js +1 -0
- package/dist/lime-elements/{p-909466b8.entry.js → p-4c54780d.entry.js} +1 -1
- package/dist/lime-elements/p-4f81f0b4.entry.js +1 -0
- package/dist/lime-elements/{p-7d0ffc60.entry.js → p-5062b51a.entry.js} +1 -1
- package/dist/lime-elements/p-5295b4c7.entry.js +1 -0
- package/dist/lime-elements/p-5a1b7f4d.entry.js +1 -0
- package/dist/lime-elements/{p-a6387dc7.entry.js → p-5b9c1f8f.entry.js} +1 -1
- package/dist/lime-elements/p-5be1e9e8.entry.js +159 -0
- package/dist/lime-elements/p-5c6589aa.entry.js +1 -0
- package/dist/lime-elements/{p-3f7fa772.entry.js → p-5e7ca1fd.entry.js} +1 -1
- package/dist/lime-elements/{p-95a486c8.entry.js → p-5f66e497.entry.js} +1 -1
- package/dist/lime-elements/p-667759da.entry.js +1 -0
- package/dist/lime-elements/{p-48a412ed.entry.js → p-6a340609.entry.js} +1 -1
- package/dist/lime-elements/{p-a891f3e8.entry.js → p-6d3cde2e.entry.js} +1 -1
- package/dist/lime-elements/{p-f59447bf.entry.js → p-6e529563.entry.js} +1 -1
- package/dist/lime-elements/{p-c2056ebc.entry.js → p-743f014f.entry.js} +1 -1
- package/dist/lime-elements/{p-c6b3448c.entry.js → p-7aa034e2.entry.js} +1 -1
- package/dist/lime-elements/p-7b2ec934.entry.js +1 -0
- package/dist/lime-elements/p-7b99624f.entry.js +1 -0
- package/dist/lime-elements/p-7ea96b80.entry.js +1 -0
- package/dist/lime-elements/{p-e5abe390.entry.js → p-7fe1d9ad.entry.js} +1 -1
- package/dist/lime-elements/p-842694af.entry.js +1 -0
- package/dist/lime-elements/{p-d3f13124.entry.js → p-848aeaa6.entry.js} +1 -1
- package/dist/lime-elements/{p-1e0ced6a.entry.js → p-868a8b12.entry.js} +1 -1
- package/dist/lime-elements/p-891f6a07.entry.js +1 -0
- package/dist/lime-elements/{p-28957b5c.entry.js → p-8dcb9ef1.entry.js} +1 -1
- package/dist/lime-elements/p-92f79a62.entry.js +1 -0
- package/dist/lime-elements/p-93907698.entry.js +16 -0
- package/dist/lime-elements/{p-c0ebf7cc.entry.js → p-9b3c7341.entry.js} +1 -1
- package/dist/lime-elements/p-B9Ofc5RB.js +1 -0
- package/dist/lime-elements/{p-_1yBt1pG.js → p-BJrZuSu3.js} +1 -1
- package/dist/lime-elements/{p-Cadm4-WZ.js → p-BzHrLZdr.js} +1 -1
- package/dist/lime-elements/p-CMedqTpE.js +1 -0
- package/dist/lime-elements/{p-BU9IJqli.js → p-D3SUrFhp.js} +2 -2
- package/dist/lime-elements/p-DpXrxCh5.js +1 -0
- package/dist/lime-elements/p-DwxRLqY6.js +1 -0
- package/dist/lime-elements/{p-c8a34cef.entry.js → p-a0501e84.entry.js} +1 -1
- package/dist/lime-elements/p-a5419b44.entry.js +1 -0
- package/dist/lime-elements/{p-ce71c5b9.entry.js → p-abd612b3.entry.js} +1 -1
- package/dist/lime-elements/{p-f3b93ce8.entry.js → p-aeac9588.entry.js} +2 -2
- package/dist/lime-elements/p-b01e8af9.entry.js +1 -0
- package/dist/lime-elements/{p-f97ec7a5.entry.js → p-b08c9b52.entry.js} +1 -1
- package/dist/lime-elements/{p-54537c85.entry.js → p-b1f6412e.entry.js} +1 -1
- package/dist/lime-elements/{p-6ae093c8.entry.js → p-b3967ab3.entry.js} +1 -1
- package/dist/lime-elements/{p-5dce791c.entry.js → p-b8bfec0e.entry.js} +1 -1
- package/dist/lime-elements/p-ba4b44ad.entry.js +1 -0
- package/dist/lime-elements/{p-783fd221.entry.js → p-bf726f16.entry.js} +1 -1
- package/dist/lime-elements/p-c2f27d2a.entry.js +1 -0
- package/dist/lime-elements/{p-271662d4.entry.js → p-c3bd19ea.entry.js} +1 -1
- package/dist/lime-elements/p-cc560bbd.entry.js +1 -0
- package/dist/lime-elements/{p-0319f07f.entry.js → p-d2953c11.entry.js} +1 -1
- package/dist/lime-elements/{p-764d2f86.entry.js → p-d3d01dd4.entry.js} +1 -1
- package/dist/lime-elements/{p-4b75e653.entry.js → p-d9e6175b.entry.js} +1 -1
- package/dist/lime-elements/p-dab5421d.entry.js +1 -0
- package/dist/lime-elements/p-dcaeefc9.entry.js +1 -0
- package/dist/lime-elements/{p-f71fbc9e.entry.js → p-df8aa135.entry.js} +4 -4
- package/dist/lime-elements/p-e2fb2af4.entry.js +1 -0
- package/dist/lime-elements/p-e929fc64.entry.js +1 -0
- package/dist/lime-elements/p-ea02dade.entry.js +1 -0
- package/dist/lime-elements/p-ecd633cb.entry.js +1 -0
- package/dist/lime-elements/{p-39d1e157.entry.js → p-f5cd53e8.entry.js} +1 -1
- package/dist/lime-elements/{p-8fe28845.entry.js → p-f7cae25a.entry.js} +1 -1
- package/dist/types/components/chart/chart.d.ts +59 -8
- package/dist/types/components/chart/chart.types.d.ts +23 -0
- package/dist/types/components/chart/options.d.ts +83 -8
- package/dist/types/components/chart/scale.d.ts +10 -0
- package/dist/types/components/chart/series.d.ts +71 -0
- package/dist/types/components/date-picker/date-formatter.d.ts +12 -0
- package/dist/types/components/date-picker/date-picker.d.ts +59 -3
- package/dist/types/components/date-picker/flatpickr-adapter/flatpickr-adapter.d.ts +13 -2
- package/dist/types/components/date-picker/pickers/month-picker.d.ts +1 -0
- package/dist/types/components/date-picker/pickers/picker.d.ts +8 -1
- package/dist/types/components/date-picker/pickers/quarter-picker.d.ts +1 -0
- package/dist/types/components/date-picker/pickers/week-picker.d.ts +4 -0
- package/dist/types/components/date-picker/pickers/year-picker.d.ts +7 -0
- package/dist/types/components/form/fields/schema-field.d.ts +2 -0
- package/dist/types/components/form/form.d.ts +2 -0
- package/dist/types/components/form/form.test-schemas.d.ts +1 -0
- package/dist/types/components/form/invalid-input.d.ts +14 -0
- package/dist/types/components/form/widgets/date-picker.d.ts +1 -0
- package/dist/types/components.d.ts +73 -26
- package/dist/types/translations/da.d.ts +2 -0
- package/dist/types/translations/de.d.ts +2 -0
- package/dist/types/translations/en.d.ts +2 -0
- package/dist/types/translations/fi.d.ts +2 -0
- package/dist/types/translations/fr.d.ts +2 -0
- package/dist/types/translations/nl.d.ts +2 -0
- package/dist/types/translations/no.d.ts +2 -0
- package/dist/types/translations/sv.d.ts +2 -0
- package/package.json +3 -3
- package/dist/cjs/language-s0bKUCvO.js +0 -58
- package/dist/esm/language-VamkUr90.js +0 -55
- package/dist/lime-elements/p-0a7cbdc3.entry.js +0 -1
- package/dist/lime-elements/p-0f96e94d.entry.js +0 -1
- package/dist/lime-elements/p-1a0c5e45.entry.js +0 -1
- package/dist/lime-elements/p-401d5c92.entry.js +0 -1
- package/dist/lime-elements/p-430db3b9.entry.js +0 -1
- package/dist/lime-elements/p-43b62587.entry.js +0 -1
- package/dist/lime-elements/p-48dccb83.entry.js +0 -1
- package/dist/lime-elements/p-5c918155.entry.js +0 -1
- package/dist/lime-elements/p-66101ed6.entry.js +0 -1
- package/dist/lime-elements/p-7ab72b52.entry.js +0 -1
- package/dist/lime-elements/p-8d602078.entry.js +0 -1
- package/dist/lime-elements/p-8d9a2a22.entry.js +0 -1
- package/dist/lime-elements/p-8de4f0f3.entry.js +0 -1
- package/dist/lime-elements/p-8e80a884.entry.js +0 -56
- package/dist/lime-elements/p-99984c66.entry.js +0 -1
- package/dist/lime-elements/p-9d46f720.entry.js +0 -1
- package/dist/lime-elements/p-9e2b426c.entry.js +0 -1
- package/dist/lime-elements/p-C9dBa_Im.js +0 -1
- package/dist/lime-elements/p-Cw7VQSGU.js +0 -1
- package/dist/lime-elements/p-N9vxZMhe.js +0 -1
- package/dist/lime-elements/p-VamkUr90.js +0 -1
- package/dist/lime-elements/p-b1c7033b.entry.js +0 -16
- package/dist/lime-elements/p-b5451350.entry.js +0 -1
- package/dist/lime-elements/p-c75f3b0d.entry.js +0 -1
- package/dist/lime-elements/p-ca4247c4.entry.js +0 -1
- package/dist/lime-elements/p-cf2d43c7.entry.js +0 -1
- package/dist/lime-elements/p-d53421af.entry.js +0 -1
- package/dist/lime-elements/p-d8901e39.entry.js +0 -1
- package/dist/lime-elements/p-d89553b3.entry.js +0 -1
- package/dist/lime-elements/p-d93b8ce0.entry.js +0 -1
- package/dist/lime-elements/p-e97340c4.entry.js +0 -1
- package/dist/lime-elements/p-eF09GxA_.js +0 -1
- package/dist/lime-elements/p-ec0c113d.entry.js +0 -1
- package/dist/lime-elements/p-f036ad27.entry.js +0 -1
- package/dist/lime-elements/p-f197000b.entry.js +0 -159
- package/dist/lime-elements/p-f5bb17eb.entry.js +0 -1
- package/dist/lime-elements/p-f6bc6658.entry.js +0 -1
- package/dist/lime-elements/p-fa1aa440.entry.js +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { t as translations } from './translations
|
|
3
|
-
import './language-VamkUr90.js';
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
|
+
import { t as translations } from './translations--i932i_D.js';
|
|
4
3
|
|
|
5
4
|
const dragHandleCss = () => `@charset "UTF-8";limel-drag-handle{display:inline-flex;align-items:center;justify-content:center}button.limel-drag-handle{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit}button.limel-drag-handle:focus{outline:none}button.limel-drag-handle:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button.limel-drag-handle{transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:transparent}button.limel-drag-handle:hover,button.limel-drag-handle:focus,button.limel-drag-handle:focus-visible{will-change:color, background-color, box-shadow, transform}button.limel-drag-handle:hover,button.limel-drag-handle:focus-visible{transform:translate3d(0, 0.01rem, 0);color:var(--mdc-theme-primary);background-color:transparent}button.limel-drag-handle:hover{box-shadow:var(--button-shadow-hovered)}button.limel-drag-handle:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button.limel-drag-handle:hover,button.limel-drag-handle:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button.limel-drag-handle{touch-action:none;cursor:grab}button.limel-drag-handle:active{cursor:grabbing}button.limel-drag-handle:active,button.limel-drag-handle:hover{box-shadow:none !important}button.limel-drag-handle{display:inline-flex;align-items:center;justify-content:center;border-radius:0.4rem;padding:0.5rem;max-height:2.25rem;max-width:2.25rem;color:rgb(var(--contrast-900))}button.limel-drag-handle .drag-icon{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0.2rem}limel-drag-handle[drag-direction=horizontal] button.limel-drag-handle .drag-icon{grid-template-columns:1fr 1fr}button.limel-drag-handle .drag-icon div{transition:transform 0.2s ease, background-color 0.2s ease;height:0.125rem;width:0.125rem;border-radius:1rem;background-color:currentColor;transform:scale(1)}.is-being-dragged button.limel-drag-handle .drag-icon div,button.limel-drag-handle:active .drag-icon div,button.limel-drag-handle:focus .drag-icon div,button.limel-drag-handle:hover .drag-icon div,button.limel-drag-handle:focus-visible .drag-icon div{background-color:var(--mdc-theme-primary);transform:scale(1.5)}`;
|
|
6
5
|
|
|
@@ -32,7 +31,7 @@ const DragHandleComponent = class {
|
|
|
32
31
|
render() {
|
|
33
32
|
const tooltipLabel = translations.get('drag-handle.drag-to-reorder', this.language);
|
|
34
33
|
const ariaLabel = translations.get('drag-handle.drag-handle', this.language);
|
|
35
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '2f2da901278a10d69a28e8a8054b5dd95a449fc4' }, h("button", { key: 'a0515c4b75a5442b9dab1f93d1b00b24506e2996', "data-drag-handle": true, type: "button", class: "limel-drag-handle", tabindex: -1, "aria-label": ariaLabel, id: this.dragHandleId, onClick: this.handleClick }, h("div", { key: '493353f7fdd9f7fd9e0ae3f805e041072e58dee0', class: "drag-icon", role: "presentation", "aria-hidden": "true" }, h("div", { key: "1" }), h("div", { key: "2" }), h("div", { key: "3" }), h("div", { key: "4" }), h("div", { key: "5" }), h("div", { key: "6" })), h("limel-tooltip", { key: '93ce003748dba6771876e8b83e4ba5cb021c8a5f', openDirection: this.tooltipOpenDirection, elementId: this.dragHandleId, label: tooltipLabel }))));
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
37
|
DragHandleComponent.style = dragHandleCss();
|
|
@@ -100,12 +99,12 @@ const Scroller = class {
|
|
|
100
99
|
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
101
100
|
}
|
|
102
101
|
render() {
|
|
103
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '1545394989338cff0a3d338364cd8379af2f7ce7' }, h("div", { key: '1ed02c23e9d17850828306f203a6cabbd8b0796d', class: {
|
|
104
103
|
scroller: true,
|
|
105
104
|
[this.orientation]: true,
|
|
106
105
|
'can-scroll-to-start': this.canScrollToStart,
|
|
107
106
|
'can-scroll-to-end': this.canScrollToEnd,
|
|
108
|
-
} }, h("div", { key: '
|
|
107
|
+
} }, h("div", { key: '4297b483a05b4636f4e1a8e571145c6489117ce0', class: "scroll-area", ref: (element) => (this.scrollArea = element), onScroll: this.updateScrollability, onFocusin: this.revealFocusedItem }, h("div", { key: '61e55181e43394d7a9aef2ddee0269295d845244', class: "scroll-content", ref: (element) => (this.scrollContent = element) }, h("slot", { key: 'da3b7bc2ece87c0d6b6c1007b90bf6a55b123ad2', ref: (element) => (this.slotElement = element) }))), this.renderEdge('start'), this.renderEdge('end'))));
|
|
109
108
|
}
|
|
110
109
|
renderEdge(edge) {
|
|
111
110
|
return [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-D3SUrFhp.js';
|
|
2
2
|
import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
3
3
|
|
|
4
4
|
const dynamicLabelCss = () => `*{box-sizing:border-box;min-width:0}:host(limel-dynamic-label){--limel-dynamic-label-min-height:1.75rem;display:flex;gap:0.25rem;align-items:flex-start;border-radius:0.5rem;min-width:0}limel-icon{--limel-icon-svg-margin:0.125rem;border-radius:0.25rem;flex-shrink:0;width:var(--limel-dynamic-label-min-height);color:rgb(var(--contrast-900))}label{flex-grow:1;font-size:var(--limel-theme-default-small-font-size);line-height:normal;color:var(--limel-theme-on-surface-color);padding-top:0.375rem}`;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { t as translations } from './translations
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
|
+
import { t as translations } from './translations--i932i_D.js';
|
|
3
3
|
import { f as formatBytes } from './format-bytes-24yUSW40.js';
|
|
4
4
|
import { a as adaptColorContrast } from './adapt-color-contrast-BQoih_t0.js';
|
|
5
5
|
import { g as getIconBackgroundColorForFile, a as getIconFillColorForFile, b as getIconForFile } from './icons-Bu_YRgCL.js';
|
|
6
|
-
import './language-VamkUr90.js';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Checks whether the given HTML contains any images with a `data-remote-src`
|
|
@@ -214,7 +213,7 @@ const EmailViewer = class {
|
|
|
214
213
|
}
|
|
215
214
|
}
|
|
216
215
|
render() {
|
|
217
|
-
return (h(Host, { key: '
|
|
216
|
+
return (h(Host, { key: 'f3190e64d1a5334ff9e172e4f47eaafb8c854851' }, h("div", { key: 'ad8cb6e436784d255f357fe2393a682998371cd1', class: "email", part: "email" }, this.renderHeaders(), this.renderRemoteImageBanner(), h("section", { key: '42adf034350835f0e91888bb99123fbcd79e698a' }, this.renderAttachments(), this.renderBody()))));
|
|
218
217
|
}
|
|
219
218
|
renderHeaders() {
|
|
220
219
|
const headerFields = [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-D3SUrFhp.js';
|
|
2
2
|
import { c as createFileInfo, i as isTypeAccepted } from './files-CKnLqPDj.js';
|
|
3
3
|
import { b as baseForOwn } from './_baseForOwn-C3COyhQS.js';
|
|
4
4
|
import { i as isArrayLike } from './isArrayLike-wfLI14yj.js';
|
|
@@ -235,7 +235,7 @@ const FileDropzone = class {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
render() {
|
|
238
|
-
return (h(Host, { key: '
|
|
238
|
+
return (h(Host, { key: '15f9995e7746e8019c3f0d9cd6590bb38bd61e84', onDrop: this.handleDrop, onDragOver: this.handleDragOver, onDragLeave: this.handleDragLeave }, h("slot", { key: 'f55bf7a4630b1c72fb7839db63cdb9df1c4d5b60' }), this.renderOnDragLayout()));
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
FileDropzone.style = fileDropzoneCss();
|
|
@@ -296,7 +296,7 @@ const FileInput = class {
|
|
|
296
296
|
this.fileInput = this.element.shadowRoot.getElementById(this.fileInputId);
|
|
297
297
|
}
|
|
298
298
|
render() {
|
|
299
|
-
return (h(Host, { key: '
|
|
299
|
+
return (h(Host, { key: 'fb2eee15dce908e1206d6021b59779b75568a1cd', onClick: this.handleClick, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown }, h("input", { key: '12071d39f562b4d8fa058aee903393297501ece5', hidden: true, id: this.fileInputId, onChange: this.handleFileChange, type: "file", accept: this.accept, disabled: this.disabled, multiple: this.multiple }), h("slot", { key: '0569c37440177e0b191a9885cf035be5a0a50881' })));
|
|
300
300
|
}
|
|
301
301
|
handleKeyDown(event) {
|
|
302
302
|
if (['Tab', 'Backspace', 'Enter'].includes(event.code)) {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement } from './index-
|
|
2
|
-
import { t as translations } from './translations
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement } from './index-D3SUrFhp.js';
|
|
2
|
+
import { t as translations } from './translations--i932i_D.js';
|
|
3
3
|
import { d as defaultSchema, u as unified, r as rehypeParse, a as rehypeSanitize, v as visit, b as rehypeStringify } from './index-CofmbCdQ.js';
|
|
4
|
-
import { I as ImageTemplate } from './image.template-
|
|
5
|
-
import './language-VamkUr90.js';
|
|
4
|
+
import { I as ImageTemplate } from './image.template-Cw2q5IS7.js';
|
|
6
5
|
import './_commonjsHelpers-B85MJLTf.js';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { t as translations } from './translations
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
|
+
import { t as translations } from './translations--i932i_D.js';
|
|
3
3
|
import { g as getFileBackgroundColor, a as getFileColor, b as getFileExtensionTitle, c as getFileIcon } from './file-metadata-BHzkIH4g.js';
|
|
4
4
|
import { f as formatBytes } from './format-bytes-24yUSW40.js';
|
|
5
5
|
import { r as resizeImage } from './image-resize-Dv2HOgWN.js';
|
|
6
|
-
import './language-VamkUr90.js';
|
|
7
6
|
import './icons-Bu_YRgCL.js';
|
|
8
7
|
import './get-icon-props-CgNJbSP4.js';
|
|
9
8
|
|
|
@@ -120,7 +119,7 @@ const File = class {
|
|
|
120
119
|
this.resizingFile = undefined;
|
|
121
120
|
}
|
|
122
121
|
render() {
|
|
123
|
-
return (h(Host, { key: '
|
|
122
|
+
return (h(Host, { key: '00d4776052cbffc0066deba3a1c162d49d9c4e02', "aria-busy": this.isBusy ? 'true' : 'false' }, h("limel-file-dropzone", { key: 'a3e031aba6715b825fde01d91a9d2667f300a606', disabled: this.disabled || this.readonly || !!this.displayedFile, accept: this.accept, onFilesSelected: this.handleNewFiles }, this.renderChipset()), this.renderDragAndDropTip(), this.renderSpinner()));
|
|
124
123
|
}
|
|
125
124
|
get statusText() {
|
|
126
125
|
var _a, _b, _c;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { t as translations } from './translations
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
|
+
import { a as getPrimarySubtag, t as translations } from './translations--i932i_D.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
4
4
|
import './sv-DpsDSi7k.js';
|
|
5
5
|
import { m as moment } from './moment-_DadZLWp.js';
|
|
6
6
|
import { i as isIOSDevice, a as isAndroidDevice } from './device-B-tmXAXV.js';
|
|
7
|
-
import { a as getPrimarySubtag } from './language-VamkUr90.js';
|
|
8
7
|
import { e as eq } from './eq-CZ30nDJE.js';
|
|
9
8
|
import { i as isArrayLike$1 } from './isArrayLike-wfLI14yj.js';
|
|
10
9
|
import { i as isIndex } from './_isIndex-B--C3qwe.js';
|
|
@@ -6505,7 +6504,43 @@ class Picker {
|
|
|
6505
6504
|
}
|
|
6506
6505
|
setValue(value) {
|
|
6507
6506
|
var _a;
|
|
6508
|
-
(_a = this.flatpickr) === null || _a === void 0 ? void 0 : _a.
|
|
6507
|
+
const currentlySelected = (_a = this.flatpickr) === null || _a === void 0 ? void 0 : _a.selectedDates[0];
|
|
6508
|
+
const isUnchanged = currentlySelected
|
|
6509
|
+
? (value === null || value === void 0 ? void 0 : value.getTime()) === currentlySelected.getTime()
|
|
6510
|
+
: !value;
|
|
6511
|
+
if (!this.flatpickr || isUnchanged) {
|
|
6512
|
+
// Runs on every re-render, so skip an unchanged date.
|
|
6513
|
+
return;
|
|
6514
|
+
}
|
|
6515
|
+
this.flatpickr.setDate(value, false);
|
|
6516
|
+
this.redrawSelection();
|
|
6517
|
+
}
|
|
6518
|
+
/**
|
|
6519
|
+
* A silent `setDate` fires no Flatpickr hooks, so a picker that marks
|
|
6520
|
+
* its selection from hooks does it here instead.
|
|
6521
|
+
*/
|
|
6522
|
+
redrawSelection() {
|
|
6523
|
+
// The default day grid is redrawn by Flatpickr itself.
|
|
6524
|
+
}
|
|
6525
|
+
// Flatpickr only does this on key presses in the input it is bound to.
|
|
6526
|
+
focusDay() {
|
|
6527
|
+
const day = this.getDayToFocus();
|
|
6528
|
+
day === null || day === void 0 ? void 0 : day.focus();
|
|
6529
|
+
return !!day;
|
|
6530
|
+
}
|
|
6531
|
+
// The same order Flatpickr uses.
|
|
6532
|
+
getDayToFocus() {
|
|
6533
|
+
var _a;
|
|
6534
|
+
const days = (_a = this.flatpickr) === null || _a === void 0 ? void 0 : _a.daysContainer;
|
|
6535
|
+
if (!days) {
|
|
6536
|
+
return;
|
|
6537
|
+
}
|
|
6538
|
+
const isVisible = (day) => (day === null || day === void 0 ? void 0 : day.isConnected) && days.contains(day);
|
|
6539
|
+
return [
|
|
6540
|
+
this.flatpickr.selectedDateElem,
|
|
6541
|
+
this.flatpickr.todayDateElem,
|
|
6542
|
+
days.querySelector('.flatpickr-day:not(.prevMonthDay):not(.nextMonthDay)'),
|
|
6543
|
+
].find(isVisible);
|
|
6509
6544
|
}
|
|
6510
6545
|
redraw() {
|
|
6511
6546
|
var _a;
|
|
@@ -7141,6 +7176,9 @@ class MonthPicker extends Picker {
|
|
|
7141
7176
|
}
|
|
7142
7177
|
async handleClose(selectedDates) {
|
|
7143
7178
|
await super.handleClose(selectedDates);
|
|
7179
|
+
this.redrawSelection();
|
|
7180
|
+
}
|
|
7181
|
+
redrawSelection() {
|
|
7144
7182
|
this.selectMonth(this.flatpickr.selectedDates, this.flatpickr.input.value, this.flatpickr);
|
|
7145
7183
|
}
|
|
7146
7184
|
handleReady(_, __, fp) {
|
|
@@ -7257,6 +7295,9 @@ class QuarterPicker extends Picker {
|
|
|
7257
7295
|
}
|
|
7258
7296
|
async handleClose(selectedDates) {
|
|
7259
7297
|
await super.handleClose(selectedDates);
|
|
7298
|
+
this.redrawSelection();
|
|
7299
|
+
}
|
|
7300
|
+
redrawSelection() {
|
|
7260
7301
|
this.selectQuarter(this.flatpickr.selectedDates, this.flatpickr.input.value, this.flatpickr);
|
|
7261
7302
|
}
|
|
7262
7303
|
handleReady(_, __, fp) {
|
|
@@ -7469,6 +7510,7 @@ function requireWeekSelect () {
|
|
|
7469
7510
|
var weekSelectExports = requireWeekSelect();
|
|
7470
7511
|
var weekSelectPlugin = /*@__PURE__*/getDefaultExportFromCjs(weekSelectExports);
|
|
7471
7512
|
|
|
7513
|
+
const DAYS_PER_WEEK = 7;
|
|
7472
7514
|
class WeekPicker extends Picker {
|
|
7473
7515
|
constructor(language, change, dateFormat = '[w] W GGGG') {
|
|
7474
7516
|
super(language, change, dateFormat);
|
|
@@ -7481,6 +7523,26 @@ class WeekPicker extends Picker {
|
|
|
7481
7523
|
}
|
|
7482
7524
|
return config;
|
|
7483
7525
|
}
|
|
7526
|
+
/**
|
|
7527
|
+
* Marks the selected week the way the `weekSelect` plugin does.
|
|
7528
|
+
*/
|
|
7529
|
+
redrawSelection() {
|
|
7530
|
+
var _a, _b;
|
|
7531
|
+
const days = (_a = this.flatpickr.days) === null || _a === void 0 ? void 0 : _a.childNodes;
|
|
7532
|
+
const selectedIndex = (_b = this.flatpickr.selectedDateElem) === null || _b === void 0 ? void 0 : _b.$i;
|
|
7533
|
+
// `clear()` leaves `selectedDateElem` on the old cell.
|
|
7534
|
+
const hasSelection = this.flatpickr.selectedDates.length > 0;
|
|
7535
|
+
if (this.nativePicker ||
|
|
7536
|
+
!days ||
|
|
7537
|
+
!hasSelection ||
|
|
7538
|
+
selectedIndex === undefined) {
|
|
7539
|
+
return;
|
|
7540
|
+
}
|
|
7541
|
+
const weekStart = DAYS_PER_WEEK * Math.floor(selectedIndex / DAYS_PER_WEEK);
|
|
7542
|
+
for (let i = weekStart; i < weekStart + DAYS_PER_WEEK; i++) {
|
|
7543
|
+
days[i].classList.add('week', 'selected');
|
|
7544
|
+
}
|
|
7545
|
+
}
|
|
7484
7546
|
}
|
|
7485
7547
|
|
|
7486
7548
|
const YEAR_INTERVAL = 10;
|
|
@@ -7548,8 +7610,32 @@ class YearPicker extends Picker {
|
|
|
7548
7610
|
}
|
|
7549
7611
|
async handleClose(selectedDates) {
|
|
7550
7612
|
await super.handleClose(selectedDates);
|
|
7613
|
+
this.redrawSelection();
|
|
7614
|
+
}
|
|
7615
|
+
redrawSelection() {
|
|
7616
|
+
const selected = this.flatpickr.selectedDates[0];
|
|
7617
|
+
if (selected) {
|
|
7618
|
+
this.showYear(selected.getFullYear());
|
|
7619
|
+
}
|
|
7551
7620
|
this.selectYear(this.flatpickr.selectedDates, this.flatpickr.input.value);
|
|
7552
7621
|
}
|
|
7622
|
+
/**
|
|
7623
|
+
* Moves the year window, which only the arrows move otherwise, so that
|
|
7624
|
+
* `year` has a cell to highlight.
|
|
7625
|
+
* @param year
|
|
7626
|
+
*/
|
|
7627
|
+
showYear(year) {
|
|
7628
|
+
var _a, _b;
|
|
7629
|
+
const first = (_a = this.years[0]) === null || _a === void 0 ? void 0 : _a.year();
|
|
7630
|
+
const last = (_b = this.years.at(-1)) === null || _b === void 0 ? void 0 : _b.year();
|
|
7631
|
+
if (first === undefined || last === undefined) {
|
|
7632
|
+
return;
|
|
7633
|
+
}
|
|
7634
|
+
if (year >= first && year <= last) {
|
|
7635
|
+
return;
|
|
7636
|
+
}
|
|
7637
|
+
this.addYears(year - this.years[YEAR_INTERVAL / 2].year());
|
|
7638
|
+
}
|
|
7553
7639
|
handleReady(_, __, fp) {
|
|
7554
7640
|
this.bootstrapYearPicker(fp);
|
|
7555
7641
|
this.selectYear(fp.selectedDates, fp.input.value);
|
|
@@ -7687,9 +7773,14 @@ const DatePickerCalendar = class {
|
|
|
7687
7773
|
break;
|
|
7688
7774
|
}
|
|
7689
7775
|
}
|
|
7690
|
-
|
|
7691
|
-
|
|
7776
|
+
}
|
|
7777
|
+
// `componentDidUpdate` ignores `value` while the calendar is open.
|
|
7778
|
+
watchPreviewValue() {
|
|
7779
|
+
var _a;
|
|
7780
|
+
if (!this.isOpen) {
|
|
7781
|
+
return;
|
|
7692
7782
|
}
|
|
7783
|
+
this.picker.setValue((_a = this.previewValue) !== null && _a !== void 0 ? _a : this.value);
|
|
7693
7784
|
}
|
|
7694
7785
|
componentDidUpdate() {
|
|
7695
7786
|
if (!this.flatPickrCreated) {
|
|
@@ -7700,7 +7791,7 @@ const DatePickerCalendar = class {
|
|
|
7700
7791
|
}
|
|
7701
7792
|
}
|
|
7702
7793
|
createFlatpickr() {
|
|
7703
|
-
var _a, _b;
|
|
7794
|
+
var _a, _b, _c;
|
|
7704
7795
|
if (!this.inputElement) {
|
|
7705
7796
|
// The input element is programatically set on this element
|
|
7706
7797
|
// after its been rendered.
|
|
@@ -7710,9 +7801,21 @@ const DatePickerCalendar = class {
|
|
|
7710
7801
|
((_b = (_a = this.container).checkVisibility) === null || _b === void 0 ? void 0 : _b.call(_a)) === false) {
|
|
7711
7802
|
return;
|
|
7712
7803
|
}
|
|
7713
|
-
|
|
7804
|
+
// Flatpickr focuses the input it is bound to on Escape, Shift+Tab
|
|
7805
|
+
// and closing, but the proxy is hidden and can't take focus.
|
|
7806
|
+
this.proxyInput.focus = () => this.inputElement.focus();
|
|
7807
|
+
this.picker.init(this.proxyInput, this.container, (_c = this.previewValue) !== null && _c !== void 0 ? _c : this.value);
|
|
7714
7808
|
this.flatPickrCreated = true;
|
|
7715
7809
|
}
|
|
7810
|
+
/**
|
|
7811
|
+
* Moves focus to the selected day, else today, else the first day of
|
|
7812
|
+
* the month.
|
|
7813
|
+
* @returns `false` when the calendar has no day grid
|
|
7814
|
+
*/
|
|
7815
|
+
async focusDay() {
|
|
7816
|
+
var _a, _b;
|
|
7817
|
+
return (_b = (_a = this.picker) === null || _a === void 0 ? void 0 : _a.focusDay()) !== null && _b !== void 0 ? _b : false;
|
|
7818
|
+
}
|
|
7716
7819
|
connectedCallback() {
|
|
7717
7820
|
this.deferredDestroy.cancel();
|
|
7718
7821
|
}
|
|
@@ -7723,10 +7826,15 @@ const DatePickerCalendar = class {
|
|
|
7723
7826
|
});
|
|
7724
7827
|
}
|
|
7725
7828
|
render() {
|
|
7726
|
-
return (h("div", { key: '
|
|
7829
|
+
return (h(Host, { key: 'ceea5193e673dbf06b5b39f74ebeaa4f9dfac3be' }, h("input", { key: 'bb62c924bdf96790303f5930e8e0e30b00139e35', type: "text", tabindex: -1, "aria-hidden": "true", hidden: true, ref: (el) => (this.proxyInput = el) }), h("div", { key: '6e6fd47d001c10ef107a8049f27eccd0f4721463', class: "container", ref: (el) => (this.container = el), style: {
|
|
7727
7830
|
'--today-label': `"${translations.get('date-picker.today', this.language)}"`,
|
|
7728
|
-
} }));
|
|
7831
|
+
} })));
|
|
7729
7832
|
}
|
|
7833
|
+
static get watchers() { return {
|
|
7834
|
+
"previewValue": [{
|
|
7835
|
+
"watchPreviewValue": 0
|
|
7836
|
+
}]
|
|
7837
|
+
}; }
|
|
7730
7838
|
};
|
|
7731
7839
|
DatePickerCalendar.style = flatpickrAdapterCss();
|
|
7732
7840
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-D3SUrFhp.js';
|
|
2
2
|
|
|
3
3
|
const flexContainerCss = () => `:host(limel-flex-container){display:flex}:host(limel-flex-container[hidden]){display:none}:host(limel-flex-container[direction=horizontal]){flex-direction:row}:host(limel-flex-container[direction=horizontal][reverse]){flex-direction:row-reverse}:host(limel-flex-container[direction=vertical]){flex-direction:column}:host(limel-flex-container[direction=vertical][reverse]){flex-direction:column-reverse}:host(limel-flex-container[align=start]){align-items:flex-start}:host(limel-flex-container[align=end]){align-items:flex-end}:host(limel-flex-container[align=center]){align-items:center}:host(limel-flex-container[align=stretch]){align-items:stretch}:host(limel-flex-container[justify=start]){justify-content:flex-start}:host(limel-flex-container[justify=end]){justify-content:flex-end}:host(limel-flex-container[justify=center]){justify-content:center}:host(limel-flex-container[justify=space-between]){justify-content:space-between}:host(limel-flex-container[justify=space-around]){justify-content:space-around}:host(limel-flex-container[justify=space-evenly]){justify-content:space-evenly}:host(limel-flex-container[slot=button]){gap:0.5rem;width:100%;justify-content:flex-end}:host(limel-flex-container[slot=button][direction=horizontal][reverse]){justify-content:flex-start}`;
|
|
4
4
|
|
|
@@ -26,7 +26,7 @@ const FlexContainer = class {
|
|
|
26
26
|
console.warn('limel-flex-container is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox');
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return h("slot", { key: '
|
|
29
|
+
return h("slot", { key: 'd73b0afc5cbdb3b9754360c1c638d24578cd8331' });
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
FlexContainer.style = flexContainerCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
2
|
import { g as getHelpProps } from './help-props-DULV6dHr.js';
|
|
3
3
|
import './_basePickBy-D_9Hus6l.js';
|
|
4
4
|
import './hasIn-CKUl04DZ.js';
|
|
@@ -30,7 +30,7 @@ const FormHeader = class {
|
|
|
30
30
|
this.headingLevel = 1;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '64e0934e418bf6fff83f140b02faf7f6cb8f4f0f' }, this.renderHeading(), this.renderHelp(), this.renderDescription()));
|
|
34
34
|
}
|
|
35
35
|
renderHeading() {
|
|
36
36
|
if (!this.heading) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$1, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$1, a as getElement } from './index-D3SUrFhp.js';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
3
3
|
import { i as isHeadingLevel } from './heading-level-B3C0kDpZ.js';
|
|
4
4
|
import { b as baseIteratee, g as get } from './_baseIteratee-DM5xljbg.js';
|
|
@@ -45163,6 +45163,21 @@ class LimeElementsWidgetAdapter extends React.Component {
|
|
|
45163
45163
|
}
|
|
45164
45164
|
LimeElementsWidgetAdapter.contextType = RowLayoutContext;
|
|
45165
45165
|
|
|
45166
|
+
/**
|
|
45167
|
+
* Listens for `invalidInput` from the element or from inside it, such as
|
|
45168
|
+
* a `limel-date-picker` in a custom component's shadow root.
|
|
45169
|
+
* @param element - the field's element
|
|
45170
|
+
* @param report - called with each message
|
|
45171
|
+
* @returns a function that stops listening
|
|
45172
|
+
*/
|
|
45173
|
+
function listenForInvalidInput(element, report) {
|
|
45174
|
+
const listener = (event) => {
|
|
45175
|
+
report(event.detail);
|
|
45176
|
+
};
|
|
45177
|
+
element.addEventListener('invalidInput', listener);
|
|
45178
|
+
return () => element.removeEventListener('invalidInput', listener);
|
|
45179
|
+
}
|
|
45180
|
+
|
|
45166
45181
|
var __rest$3 = (undefined && undefined.__rest) || function (s, e) {
|
|
45167
45182
|
var t = {};
|
|
45168
45183
|
for (var p in s)
|
|
@@ -45182,6 +45197,7 @@ class DatePicker extends React.Component {
|
|
|
45182
45197
|
this.state = {
|
|
45183
45198
|
modified: false,
|
|
45184
45199
|
};
|
|
45200
|
+
this.watchInvalidInput = (element) => listenForInvalidInput(element, (message) => { var _a, _b; return (_b = (_a = this.props.options) === null || _a === void 0 ? void 0 : _a.onInvalidInput) === null || _b === void 0 ? void 0 : _b.call(_a, message); });
|
|
45185
45201
|
this.handleChange = this.handleChange.bind(this);
|
|
45186
45202
|
}
|
|
45187
45203
|
render() {
|
|
@@ -45194,7 +45210,7 @@ class DatePicker extends React.Component {
|
|
|
45194
45210
|
change: this.handleChange,
|
|
45195
45211
|
},
|
|
45196
45212
|
widgetProps: props,
|
|
45197
|
-
extraProps: Object.assign({ type: type }, (_b = (_a = props.schema.lime) === null || _a === void 0 ? void 0 : _a.component) === null || _b === void 0 ? void 0 : _b.props),
|
|
45213
|
+
extraProps: Object.assign(Object.assign({ type: type }, (_b = (_a = props.schema.lime) === null || _a === void 0 ? void 0 : _a.component) === null || _b === void 0 ? void 0 : _b.props), { ref: this.watchInvalidInput }),
|
|
45198
45214
|
});
|
|
45199
45215
|
}
|
|
45200
45216
|
getValue() {
|
|
@@ -45245,6 +45261,7 @@ const TimePicker = (_a) => {
|
|
|
45245
45261
|
const timeStringPattern = /^\d\d:\d\d/;
|
|
45246
45262
|
|
|
45247
45263
|
const { fields: defaultFields$2 } = getDefaultRegistry();
|
|
45264
|
+
const DATE_FORMATS = new Set(['date', 'date-time', 'time']);
|
|
45248
45265
|
const BaseSchemaField = defaultFields$2.SchemaField;
|
|
45249
45266
|
/**
|
|
45250
45267
|
* If given a value and schema, check if the value should be translated
|
|
@@ -45323,10 +45340,23 @@ class SchemaField extends React.Component {
|
|
|
45323
45340
|
this.state = {
|
|
45324
45341
|
modified: false,
|
|
45325
45342
|
};
|
|
45343
|
+
// The date picker never emits text it rejects, so the value stays valid
|
|
45344
|
+
// while the field shows an error.
|
|
45345
|
+
this.reportInvalidInput = (message) => {
|
|
45346
|
+
var _a, _b;
|
|
45347
|
+
const { registry, fieldPathId } = this.props;
|
|
45348
|
+
if (!fieldPathId) {
|
|
45349
|
+
return;
|
|
45350
|
+
}
|
|
45351
|
+
(_b = (_a = registry.formContext) === null || _a === void 0 ? void 0 : _a.setInvalidInput) === null || _b === void 0 ? void 0 : _b.call(_a, fieldPathId.path, message);
|
|
45352
|
+
};
|
|
45326
45353
|
this.handleChange = this.handleChange.bind(this);
|
|
45327
45354
|
this.handleCustomComponentChange =
|
|
45328
45355
|
this.handleCustomComponentChange.bind(this);
|
|
45329
45356
|
}
|
|
45357
|
+
componentWillUnmount() {
|
|
45358
|
+
this.reportInvalidInput(null);
|
|
45359
|
+
}
|
|
45330
45360
|
isInvalid() {
|
|
45331
45361
|
var _a;
|
|
45332
45362
|
const { modified } = this.state;
|
|
@@ -45401,7 +45431,7 @@ class SchemaField extends React.Component {
|
|
|
45401
45431
|
name: name,
|
|
45402
45432
|
schemaPath: (_a = fieldPathId === null || fieldPathId === void 0 ? void 0 : fieldPathId.path) === null || _a === void 0 ? void 0 : _a.map(String),
|
|
45403
45433
|
};
|
|
45404
|
-
return ()
|
|
45434
|
+
return listenForInvalidInput(element, this.reportInvalidInput);
|
|
45405
45435
|
} });
|
|
45406
45436
|
}
|
|
45407
45437
|
renderCustomComponent(props) {
|
|
@@ -45426,6 +45456,9 @@ class SchemaField extends React.Component {
|
|
|
45426
45456
|
if (this.props.schema.format === 'time') {
|
|
45427
45457
|
fieldProps.uiSchema = Object.assign({ 'ui:widget': TimePicker }, fieldProps.uiSchema);
|
|
45428
45458
|
}
|
|
45459
|
+
if (DATE_FORMATS.has(this.props.schema.format)) {
|
|
45460
|
+
fieldProps.uiSchema = Object.assign(Object.assign({}, fieldProps.uiSchema), { 'ui:onInvalidInput': this.reportInvalidInput });
|
|
45461
|
+
}
|
|
45429
45462
|
// Our text widget renders a native `<input type="number">` for numeric
|
|
45430
45463
|
// schemas. `@rjsf/core` otherwise rewrites the value to the locale's
|
|
45431
45464
|
// decimal separator, which such an input cannot display.
|
|
@@ -46370,9 +46403,12 @@ const Form = class {
|
|
|
46370
46403
|
*/
|
|
46371
46404
|
this.includeDefaults = true;
|
|
46372
46405
|
this.isValid = true;
|
|
46406
|
+
// Their value is still the last valid one, so the schema can't tell.
|
|
46407
|
+
this.invalidInputErrors = new Map();
|
|
46373
46408
|
this.initialized = false;
|
|
46374
46409
|
this.handleChange = this.handleChange.bind(this);
|
|
46375
46410
|
this.getCustomErrorMessages = this.getCustomErrorMessages.bind(this);
|
|
46411
|
+
this.setInvalidInput = this.setInvalidInput.bind(this);
|
|
46376
46412
|
}
|
|
46377
46413
|
connectedCallback() {
|
|
46378
46414
|
this.initialize();
|
|
@@ -46430,7 +46466,7 @@ const Form = class {
|
|
|
46430
46466
|
this.initialized = false;
|
|
46431
46467
|
}
|
|
46432
46468
|
render() {
|
|
46433
|
-
return h$1("div", { key: '
|
|
46469
|
+
return h$1("div", { key: 'c6f8c1df8165c5ac23b133a369ebb0f58563d74f', class: "root" });
|
|
46434
46470
|
}
|
|
46435
46471
|
reactRender() {
|
|
46436
46472
|
if (!this.root) {
|
|
@@ -46464,6 +46500,7 @@ const Form = class {
|
|
|
46464
46500
|
rootValue: this.value,
|
|
46465
46501
|
propsFactory: this.propsFactory,
|
|
46466
46502
|
revealErrors: this.revealErrors,
|
|
46503
|
+
setInvalidInput: this.setInvalidInput,
|
|
46467
46504
|
},
|
|
46468
46505
|
fields: {
|
|
46469
46506
|
SchemaField: SchemaField,
|
|
@@ -46545,12 +46582,35 @@ const Form = class {
|
|
|
46545
46582
|
const contentId = (fingerprint >>> 0).toString(36);
|
|
46546
46583
|
return Object.assign(Object.assign({}, schema), { $id: $id ? `${$id}-${contentId}` : contentId });
|
|
46547
46584
|
}
|
|
46585
|
+
setInvalidInput(path, message) {
|
|
46586
|
+
var _a;
|
|
46587
|
+
const property = `.${path.join('.')}`;
|
|
46588
|
+
const current = this.invalidInputErrors.get(property);
|
|
46589
|
+
if (((_a = current === null || current === void 0 ? void 0 : current.message) !== null && _a !== void 0 ? _a : null) === message) {
|
|
46590
|
+
return;
|
|
46591
|
+
}
|
|
46592
|
+
if (message === null) {
|
|
46593
|
+
this.invalidInputErrors.delete(property);
|
|
46594
|
+
}
|
|
46595
|
+
else {
|
|
46596
|
+
this.invalidInputErrors.set(property, {
|
|
46597
|
+
name: 'invalidInput',
|
|
46598
|
+
property: property,
|
|
46599
|
+
message: message,
|
|
46600
|
+
schemaPath: '',
|
|
46601
|
+
});
|
|
46602
|
+
}
|
|
46603
|
+
this.validateFormData();
|
|
46604
|
+
}
|
|
46548
46605
|
hasExtraErrors() {
|
|
46549
46606
|
return !!this.errors && Object.keys(this.errors).length > 0;
|
|
46550
46607
|
}
|
|
46551
46608
|
emitValidationStatus(errors) {
|
|
46552
|
-
const
|
|
46553
|
-
|
|
46609
|
+
const formErrors = [
|
|
46610
|
+
...this.mapErrors(errors !== null && errors !== void 0 ? errors : []),
|
|
46611
|
+
...this.invalidInputErrors.values(),
|
|
46612
|
+
];
|
|
46613
|
+
const valid = formErrors.length === 0 && !this.hasExtraErrors();
|
|
46554
46614
|
const status = { valid: valid, errors: formErrors };
|
|
46555
46615
|
if (this.isValid !== valid || !valid) {
|
|
46556
46616
|
this.validate.emit(status);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-D3SUrFhp.js';
|
|
2
2
|
|
|
3
3
|
const gridCss = () => `:host{display:block;position:relative}:host([hidden]){display:none}slot{display:grid;grid-template-areas:var(--lime-grid-area, "");grid-template-columns:repeat(var(--lime-grid-columns, 4), minmax(0, 1fr));gap:var(--lime-grid-gutter, 1rem);grid-auto-flow:row dense;grid-auto-rows:var(--lime-grid-cell-height, 2.5rem);margin:0;height:100%;width:100%}`;
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ const Grid = class {
|
|
|
10
10
|
console.warn('limel-grid is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout');
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return h("slot", { key: '
|
|
13
|
+
return h("slot", { key: 'c4db2bee4485745f79636e4a3a2f04fa603af9b8' });
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
Grid.style = gridCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
2
|
import { g as getIconName } from './get-icon-props-CgNJbSP4.js';
|
|
3
3
|
|
|
4
4
|
const headerCss = () => `@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}`;
|
|
@@ -13,7 +13,7 @@ const Header = class {
|
|
|
13
13
|
this.subheadingDivider = '·';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '35935910757d74259ce3a286922ee0d35aad1ec9' }, h("div", { key: 'bd95cc50ec22e4881d3254aebec9143e6bb2a634', class: "information" }, this.renderIcon(), h("div", { key: '54a84e428595f989548855559cf71172264301ba', class: "headings" }, h("h1", { key: '99ccc155b7fa5a00a63f9c2a9caa0918ef33dc13', class: "heading", title: this.heading }, this.heading), h("h2", { key: 'cc06e5bac3f36daad46d8335bb8ee80ef7bb27e0', class: "subheading", title: this.subheading }, this.subheading, this.renderSupportingText()))), h("slot", { key: '2e94d276dcbe7404d4f618125763b5b1e5ff47ef', name: "actions" }, h("slot", { key: '6a5f81a642323a7c6bc8839f5ee8e3c6f11f905b' }))));
|
|
17
17
|
}
|
|
18
18
|
renderIcon() {
|
|
19
19
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-D3SUrFhp.js';
|
|
2
2
|
|
|
3
3
|
const helpCss = () => `@charset "UTF-8";limel-popover{display:flex;--popover-surface-width:min(calc(100vw - 4rem), 22rem)}button[slot=trigger]{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color)}button[slot=trigger]:hover,button[slot=trigger]:focus,button[slot=trigger]:focus-visible{will-change:color, background-color, box-shadow, transform}button[slot=trigger]:hover,button[slot=trigger]:focus-visible{transform:translate3d(0, 0.01rem, 0);color:rgb(var(--color-sky-dark));background-color:var(--lime-elevated-surface-background-color)}button[slot=trigger]:hover{box-shadow:var(--button-shadow-hovered)}button[slot=trigger]:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}button[slot=trigger]:hover,button[slot=trigger]:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}button[slot=trigger]:focus{outline:none}button[slot=trigger]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}button[slot=trigger]{box-sizing:border-box;display:flex;align-items:center;justify-content:center;color:rgb(var(--color-sky-default));border-radius:50%;box-shadow:0 0 0 1px rgb(var(--color-sky-lighter), 0.7);width:0.875rem;height:0.875rem;font-size:0.75rem}button[slot=trigger].is-open{color:rgb(var(--color-white));background-color:rgb(var(--color-sky-default));box-shadow:var(--button-shadow-inset)}`;
|
|
4
4
|
|
|
@@ -24,9 +24,9 @@ const HelpComponent = class {
|
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '0456a88ddfbe21f501bb58fd0792eaeb39ad3962' }, h("limel-popover", { key: 'db4fd15af11578c40ae6ed4e39f9931bea14d457', open: this.isOpen, onClose: this.onPopoverClose, openDirection: this.openDirection }, h("button", { key: '0e530613dcf6c02e879a4a1ae52e1e24403ef30d', slot: "trigger", type: "button", onClick: this.openPopover, class: {
|
|
28
28
|
'is-open': this.isOpen,
|
|
29
|
-
} }, this.trigger), h("limel-help-content", { key: '
|
|
29
|
+
} }, this.trigger), h("limel-help-content", { key: '64d119e480cb64cbdeab156787dddc6f36e1368e', value: this.value, readMoreLink: this.readMoreLink }))));
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
HelpComponent.style = helpCss();
|
|
@@ -45,7 +45,7 @@ const HelpContent = class {
|
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '213707af11bc0757a2b50652aeaf4f8869a8dd7c' }, h("limel-markdown", { key: 'f0f0ee7a087a8705ebb7fa463bf7f0d5f1abb207', value: this.value }), this.renderReadMoreLink()));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
HelpContent.style = limelHelpContentCss();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-D3SUrFhp.js';
|
|
2
2
|
import { a as MDCList, s as strings } from './component-kP1jCDLp.js';
|
|
3
3
|
import './ponyfill-6YuZiAPi.js';
|
|
4
4
|
|
|
@@ -32,9 +32,9 @@ const HelperLine = class {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '5bc750e2c8c7bce88fd9fc6f2ec4f27133ad5ed7', tabIndex: -1, class: {
|
|
36
36
|
invalid: this.invalid,
|
|
37
|
-
}, style: this.hasContent() ? {} : { display: 'none' }, "aria-hidden": !this.hasContent() }, h("div", { key: '
|
|
37
|
+
}, style: this.hasContent() ? {} : { display: 'none' }, "aria-hidden": !this.hasContent() }, h("div", { key: '7bc84f9c6ae3ac8de904c56a97497f8f427583f4' }, this.renderHelperText(), this.renderCharacterCounter())));
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
HelperLine.style = helperLineCss();
|
|
@@ -323,7 +323,7 @@ const List = class {
|
|
|
323
323
|
maxLinesSecondaryText = 1;
|
|
324
324
|
}
|
|
325
325
|
const html = this.listRenderer.render(this.items, this.config);
|
|
326
|
-
return (h(Host, { key: '
|
|
326
|
+
return (h(Host, { key: '2ff544c93286e06ac298eb1cc8fa2567c360fc7a', style: {
|
|
327
327
|
'--maxLinesSecondaryText': `${maxLinesSecondaryText}`,
|
|
328
328
|
} }, html));
|
|
329
329
|
}
|
|
@@ -419,7 +419,7 @@ const NotchedOutline = class {
|
|
|
419
419
|
this.hasFloatingLabel = false;
|
|
420
420
|
}
|
|
421
421
|
render() {
|
|
422
|
-
return (h("div", { key: '
|
|
422
|
+
return (h("div", { key: '8ca3a2622aa918101d5d78f94c9d279276dbba10', class: "limel-notched-outline" }, h("slot", { key: '508f8fb8cc48ba667ad250acae46ff2f4c25ef42', name: "content" }), h("span", { key: 'a071aa9212705b001e52e055d61f1be42a10ae69', class: "limel-notched-outline--outlines", "aria-hidden": "true" }, h("span", { key: 'ee1602e3637cbbba489b8b5be5bf65f6352738c5', class: "limel-notched-outline--leading-outline" }), this.renderLabel(), h("span", { key: '1517c575f1c4299a5a2d636e0e456b24f939d418', class: "limel-notched-outline--trailing-outline" }), this.renderEmptyReadonlyValue())));
|
|
423
423
|
}
|
|
424
424
|
renderLabel() {
|
|
425
425
|
if (!this.label) {
|