@limetech/lime-elements 40.6.0 → 40.6.2
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 +15 -0
- package/dist/cjs/{adapt-color-contrast-Beo1IEl_.js → adapt-color-contrast-h6iwOfZd.js} +1 -1
- package/dist/cjs/{checkbox.template-BPk8WkQF.js → checkbox.template-CoNVC4Nf.js} +2 -2
- package/dist/cjs/{component-CFk7Dfoi.js → component-Cz24PdGy.js} +3 -3
- package/dist/cjs/{component-BrNWuGdj.js → component-DNiVfYHV.js} +1 -1
- package/dist/cjs/{component-y8swlNNR.js → component-GW2n79GH.js} +1 -1
- package/dist/cjs/{component-UyqdiWGc.js → component-xiw46M1b.js} +1 -1
- package/dist/cjs/{files-DI4jItxi.js → files-DpGigQ8k.js} +1 -1
- package/dist/cjs/{format-bytes-CpUKKU86.js → format-bytes-WTHVI718.js} +1 -4
- package/dist/cjs/{hotkeys-BtR8uxvl.js → hotkeys-D761KWnZ.js} +1 -0
- package/dist/cjs/{image-resize-CG2fitJT.js → image-resize-JlRLB97I.js} +1 -0
- package/dist/cjs/{image.template-DY7qwbuy.js → image.template-DlF-f23b.js} +1 -1
- package/dist/cjs/{index--B6-r0uo.js → index-BlsqxTB1.js} +1 -7
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{keycodes-k-EdzcMX.js → keycodes-BQ_AERli.js} +4 -0
- package/dist/cjs/{language-CaqPKPyW.js → language-v-MMS6ym.js} +1 -1
- 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 +20 -18
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +5 -5
- 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_6.cjs.entry.js +86 -86
- package/dist/cjs/limel-button-group.cjs.entry.js +3 -3
- package/dist/cjs/limel-button.cjs.entry.js +4 -4
- package/dist/cjs/limel-callout.cjs.entry.js +6 -6
- package/dist/cjs/limel-card.cjs.entry.js +8 -7
- package/dist/cjs/limel-chart.cjs.entry.js +5 -5
- package/dist/cjs/limel-checkbox.cjs.entry.js +12 -10
- package/dist/cjs/limel-chip-set.cjs.entry.js +35 -44
- package/dist/cjs/limel-chip_2.cjs.entry.js +10 -10
- package/dist/cjs/limel-circular-progress.cjs.entry.js +2 -2
- package/dist/cjs/limel-code-diff.cjs.entry.js +25 -28
- package/dist/cjs/limel-code-editor.cjs.entry.js +17 -12
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +8 -8
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +3 -3
- package/dist/cjs/limel-color-picker.cjs.entry.js +6 -5
- package/dist/cjs/limel-config.cjs.entry.js +3 -3
- package/dist/cjs/limel-date-picker.cjs.entry.js +12 -15
- package/dist/cjs/limel-dialog.cjs.entry.js +8 -11
- package/dist/cjs/limel-dock-button.cjs.entry.js +6 -11
- package/dist/cjs/limel-dock.cjs.entry.js +3 -3
- package/dist/cjs/limel-drag-handle.cjs.entry.js +6 -6
- package/dist/cjs/limel-dynamic-label.cjs.entry.js +1 -1
- package/dist/cjs/limel-email-viewer.cjs.entry.js +11 -17
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +11 -12
- package/dist/cjs/limel-file-viewer.cjs.entry.js +1098 -1146
- package/dist/cjs/limel-file.cjs.entry.js +17 -16
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +100 -94
- package/dist/cjs/limel-flex-container.cjs.entry.js +2 -2
- package/dist/cjs/limel-form.cjs.entry.js +65 -50
- 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_3.cjs.entry.js +14 -16
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +23 -23
- package/dist/cjs/limel-icon-button.cjs.entry.js +4 -4
- package/dist/cjs/limel-icon.cjs.entry.js +15 -13
- package/dist/cjs/limel-info-tile.cjs.entry.js +10 -10
- package/dist/cjs/limel-list-item.cjs.entry.js +10 -10
- package/dist/cjs/limel-markdown.cjs.entry.js +25 -22
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +6 -5
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +3 -3
- package/dist/cjs/limel-pagination-jump.cjs.entry.js +18 -16
- package/dist/cjs/limel-pagination.cjs.entry.js +10 -9
- package/dist/cjs/limel-picker.cjs.entry.js +32 -30
- package/dist/cjs/limel-popover_2.cjs.entry.js +26 -22
- package/dist/cjs/limel-profile-picture.cjs.entry.js +12 -11
- package/dist/cjs/limel-progress-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-progress-flow.cjs.entry.js +11 -10
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +475 -407
- 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-scroller.cjs.entry.js +180 -0
- package/dist/cjs/limel-select.cjs.entry.js +20 -20
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +18 -27
- package/dist/cjs/limel-snackbar.cjs.entry.js +5 -5
- package/dist/cjs/limel-split-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-switch.cjs.entry.js +3 -3
- package/dist/cjs/limel-tab-bar.cjs.entry.js +235 -2036
- package/dist/cjs/limel-tab-panel.cjs.entry.js +12 -9
- package/dist/cjs/limel-table.cjs.entry.js +527 -106
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +16 -15
- package/dist/cjs/limel-text-editor.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{make-enter-clickable-NuTMC9MU.js → make-enter-clickable-BZHEWIJD.js} +19 -12
- package/dist/cjs/{markdown-exporter-9p7d3Q76.js → markdown-exporter-C-UW43FF.js} +1 -1
- package/dist/cjs/{markdown-parser-Cgv5Y9Z4.js → markdown-parser-ssDij8_l.js} +24 -22
- package/dist/cjs/{moment-CqRdiK10.js → moment-Cfsz2WF1.js} +1062 -833
- package/dist/cjs/{ponyfill-BgIFyUG5.js → ponyfill-CHp7Zocr.js} +0 -1
- package/dist/cjs/{random-string-BTzDB2ee.js → random-string-CFCtFh5l.js} +1 -0
- package/dist/cjs/{render-list-component-5ZKWpCnM.js → render-list-component-BtAliHQp.js} +3 -5
- package/dist/cjs/{sv-BSR4W58y.js → sv-Co78RX70.js} +31 -3
- package/dist/cjs/{translations-DFFpR6AZ.js → translations-CNTWud2a.js} +5 -8
- package/dist/collection/collection-manifest.json +1 -0
- 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-item.js +8 -7
- 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 +6 -5
- 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 +2 -2
- 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 +6 -5
- package/dist/collection/components/checkbox/checkbox.js +9 -7
- package/dist/collection/components/checkbox/checkbox.template.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip-set/chip-set-input-helpers.js +18 -21
- package/dist/collection/components/chip-set/chip-set.js +7 -13
- package/dist/collection/components/circular-progress/circular-progress.js +1 -1
- package/dist/collection/components/code-diff/code-diff.js +19 -22
- package/dist/collection/components/code-diff/diff-engine.js +2 -2
- package/dist/collection/components/code-editor/code-editor.js +8 -3
- 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 +5 -4
- package/dist/collection/components/config/config.js +2 -2
- package/dist/collection/components/date-picker/date-picker.js +3 -6
- package/dist/collection/components/date-picker/flatpickr-adapter/deferred-destroy.js +4 -3
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/date-picker/pickers/month-picker.js +40 -36
- package/dist/collection/components/date-picker/pickers/quarter-picker.js +35 -30
- package/dist/collection/components/date-picker/pickers/year-picker.js +16 -20
- package/dist/collection/components/dialog/dialog.js +4 -7
- package/dist/collection/components/dock/dock-button/dock-button.js +4 -9
- 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-loader.js +14 -10
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/email-viewer/sanitize-email-html.js +1 -4
- package/dist/collection/components/email-viewer/split-email-address-list.js +4 -10
- package/dist/collection/components/file/file.js +11 -10
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +7 -8
- package/dist/collection/components/file-viewer/file-viewer.js +12 -9
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/fields/schema-field.js +1 -1
- package/dist/collection/components/form/form.js +2 -5
- package/dist/collection/components/form/form.test-schemas.js +8 -10
- package/dist/collection/components/form/templates/array-field.js +7 -9
- package/dist/collection/components/form/templates/common.js +19 -19
- package/dist/collection/components/form/templates/object-field.js +1 -1
- package/dist/collection/components/form/validation-display.js +2 -2
- package/dist/collection/components/form/validators/format.js +1 -0
- package/dist/collection/components/form/widgets/code-editor.js +6 -9
- package/dist/collection/components/form/widgets/date-picker.js +1 -3
- 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 +3 -3
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +11 -9
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +9 -9
- package/dist/collection/components/input-field/input-field.js +11 -11
- package/dist/collection/components/list/list-renderer.js +5 -7
- package/dist/collection/components/list/list.js +2 -2
- 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/hydrate-custom-elements.js +6 -5
- package/dist/collection/components/markdown/image-intersection-observer.js +9 -8
- package/dist/collection/components/markdown/image-markdown-plugin.js +9 -7
- package/dist/collection/components/markdown/link-markdown-plugin.js +11 -10
- package/dist/collection/components/markdown/markdown.js +6 -5
- package/dist/collection/components/markdown/remove-empty-paragraphs-plugin.js +4 -5
- package/dist/collection/components/masonry-layout/masonry-layout.js +5 -4
- package/dist/collection/components/menu/menu.js +48 -46
- package/dist/collection/components/menu-list/menu-list-renderer.js +8 -8
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +6 -8
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/jump/pagination-jump.js +13 -11
- package/dist/collection/components/pagination/pagination.js +5 -4
- package/dist/collection/components/picker/picker.js +25 -23
- package/dist/collection/components/popover/popover.js +13 -10
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/contains.js +9 -8
- package/dist/collection/components/portal/portal.js +16 -16
- package/dist/collection/components/profile-picture/profile-picture.js +4 -3
- package/dist/collection/components/progress-flow/progress-flow.js +10 -9
- 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/scroller/scroller.css +317 -0
- package/dist/collection/components/scroller/scroller.js +284 -0
- package/dist/collection/components/select/select.js +13 -11
- package/dist/collection/components/select/select.template.js +1 -3
- package/dist/collection/components/slider/get-percentage-class.js +9 -18
- package/dist/collection/components/slider/slider.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.css +7 -289
- package/dist/collection/components/tab-bar/tab-bar.js +98 -128
- package/dist/collection/components/tab-panel/tab-panel.js +11 -8
- package/dist/collection/components/table/columns.js +1 -3
- package/dist/collection/components/table/element-pool.js +1 -1
- package/dist/collection/components/table/table-selection.js +6 -5
- package/dist/collection/components/table/table.css +15 -17
- package/dist/collection/components/table/table.js +44 -39
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +11 -10
- package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-command-utils/list-utils.js +1 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/menu/menu-commands.js +6 -10
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/image/inserter.js +37 -40
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/image/node.js +2 -1
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/link/link-plugin.js +21 -20
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/menu-state-tracking-plugin.js +6 -5
- package/dist/collection/components/text-editor/prosemirror-adapter/plugins/trigger/factory-helpers/detect-trigger-removal.js +15 -14
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +40 -34
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/text-editor/utils/metadata-utils.js +1 -1
- package/dist/collection/components/text-editor/utils/plugin-factory.js +3 -3
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/collection/global/icon-cache/factory.js +2 -3
- package/dist/collection/global/icon-cache/in-memory-icon-cache.js +2 -0
- package/dist/collection/global/translations.js +1 -3
- package/dist/collection/translations/fr.js +3 -3
- package/dist/collection/util/adapt-color-contrast.js +1 -1
- package/dist/collection/util/files.js +1 -1
- package/dist/collection/util/format-bytes.js +1 -4
- package/dist/collection/util/hotkeys.js +1 -0
- package/dist/collection/util/image-resize.js +1 -0
- package/dist/collection/util/keyboard-navigation.js +144 -0
- package/dist/collection/util/keycodes.js +2 -0
- package/dist/collection/util/language.js +1 -1
- package/dist/collection/util/make-enter-clickable.js +19 -12
- package/dist/collection/util/random-string.js +1 -0
- package/dist/collection/util/render-list-component.js +2 -4
- package/dist/esm/{adapt-color-contrast-Dgcw_h7C.js → adapt-color-contrast-BQoih_t0.js} +1 -1
- package/dist/esm/{checkbox.template-Cx_3u92S.js → checkbox.template-IDyv2bgn.js} +2 -2
- package/dist/esm/{component-wGVqvUmL.js → component-CVihTrav.js} +3 -3
- package/dist/esm/{component-7QB0OUSF.js → component-CrjPGt1I.js} +1 -1
- package/dist/esm/{component-D4qgwaTf.js → component-CyFeUQ0l.js} +1 -1
- package/dist/esm/{component-B2Vy44Z3.js → component-kP1jCDLp.js} +1 -1
- package/dist/esm/{files-DnkFEKoB.js → files-CKnLqPDj.js} +1 -1
- package/dist/esm/{format-bytes-u_sd2HMb.js → format-bytes-24yUSW40.js} +1 -4
- package/dist/esm/{hotkeys-BxrRWYts.js → hotkeys-DjmlD0Mw.js} +1 -0
- package/dist/esm/{image-resize-BTSG--2-.js → image-resize-Dv2HOgWN.js} +1 -0
- package/dist/esm/{image.template-wqMwmOF-.js → image.template-BGjw97m_.js} +1 -1
- package/dist/esm/{index-Bnc9lzk2.js → index-BU9IJqli.js} +1 -7
- package/dist/esm/index.js +1 -1
- package/dist/esm/{keycodes-C4_9qUMP.js → keycodes-DQ5DmW_Y.js} +3 -1
- package/dist/esm/{language-C3hECvXE.js → language-ChagAaNf.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 +20 -18
- package/dist/esm/limel-ai-avatar.entry.js +5 -5
- package/dist/esm/limel-badge.entry.js +3 -3
- package/dist/esm/limel-banner.entry.js +2 -2
- package/dist/esm/limel-breadcrumbs_6.entry.js +86 -86
- package/dist/esm/limel-button-group.entry.js +3 -3
- package/dist/esm/limel-button.entry.js +4 -4
- package/dist/esm/limel-callout.entry.js +6 -6
- package/dist/esm/limel-card.entry.js +8 -7
- package/dist/esm/limel-chart.entry.js +5 -5
- package/dist/esm/limel-checkbox.entry.js +12 -10
- package/dist/esm/limel-chip-set.entry.js +35 -44
- package/dist/esm/limel-chip_2.entry.js +10 -10
- package/dist/esm/limel-circular-progress.entry.js +2 -2
- package/dist/esm/limel-code-diff.entry.js +25 -28
- package/dist/esm/limel-code-editor.entry.js +17 -12
- package/dist/esm/limel-collapsible-section.entry.js +8 -8
- package/dist/esm/limel-color-picker-palette.entry.js +3 -3
- package/dist/esm/limel-color-picker.entry.js +6 -5
- package/dist/esm/limel-config.entry.js +3 -3
- package/dist/esm/limel-date-picker.entry.js +12 -15
- package/dist/esm/limel-dialog.entry.js +8 -11
- package/dist/esm/limel-dock-button.entry.js +6 -11
- package/dist/esm/limel-dock.entry.js +3 -3
- package/dist/esm/limel-drag-handle.entry.js +6 -6
- package/dist/esm/limel-dynamic-label.entry.js +1 -1
- package/dist/esm/limel-email-viewer.entry.js +11 -17
- package/dist/esm/limel-file-dropzone_2.entry.js +11 -12
- package/dist/esm/limel-file-viewer.entry.js +1098 -1146
- package/dist/esm/limel-file.entry.js +17 -16
- package/dist/esm/limel-flatpickr-adapter.entry.js +100 -94
- package/dist/esm/limel-flex-container.entry.js +2 -2
- package/dist/esm/limel-form.entry.js +65 -50
- 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_3.entry.js +14 -16
- package/dist/esm/limel-hotkey_4.entry.js +23 -23
- package/dist/esm/limel-icon-button.entry.js +4 -4
- package/dist/esm/limel-icon.entry.js +15 -13
- package/dist/esm/limel-info-tile.entry.js +10 -10
- package/dist/esm/limel-list-item.entry.js +10 -10
- package/dist/esm/limel-markdown.entry.js +25 -22
- package/dist/esm/limel-masonry-layout.entry.js +6 -5
- package/dist/esm/limel-menu-item-meta.entry.js +3 -3
- package/dist/esm/limel-pagination-jump.entry.js +18 -16
- package/dist/esm/limel-pagination.entry.js +10 -9
- package/dist/esm/limel-picker.entry.js +32 -30
- package/dist/esm/limel-popover_2.entry.js +26 -22
- package/dist/esm/limel-profile-picture.entry.js +12 -11
- package/dist/esm/limel-progress-flow-item.entry.js +1 -1
- package/dist/esm/limel-progress-flow.entry.js +11 -10
- package/dist/esm/limel-prosemirror-adapter.entry.js +475 -407
- 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-scroller.entry.js +178 -0
- package/dist/esm/limel-select.entry.js +20 -20
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +18 -27
- package/dist/esm/limel-snackbar.entry.js +5 -5
- package/dist/esm/limel-split-button.entry.js +1 -1
- package/dist/esm/limel-switch.entry.js +3 -3
- package/dist/esm/limel-tab-bar.entry.js +235 -2036
- package/dist/esm/limel-tab-panel.entry.js +12 -9
- package/dist/esm/limel-table.entry.js +527 -106
- package/dist/esm/limel-text-editor-link-menu.entry.js +16 -15
- package/dist/esm/limel-text-editor.entry.js +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{make-enter-clickable-BgTwPGeH.js → make-enter-clickable-CIf8aGSd.js} +19 -12
- package/dist/esm/{markdown-exporter--3_MaqwD.js → markdown-exporter-DblYRMhY.js} +1 -1
- package/dist/esm/{markdown-parser-DCf-3dKZ.js → markdown-parser-CAPDx7i8.js} +24 -22
- package/dist/esm/{moment-DQRNe8qq.js → moment-_DadZLWp.js} +1062 -833
- package/dist/esm/{ponyfill-ChRGk668.js → ponyfill-6YuZiAPi.js} +1 -1
- package/dist/esm/{random-string-JbKhhoXs.js → random-string-BrjD-ITe.js} +1 -0
- package/dist/esm/{render-list-component-cicbMp0l.js → render-list-component-J1IzNpbv.js} +3 -5
- package/dist/esm/{sv-CY-6-yEp.js → sv-DpsDSi7k.js} +31 -3
- package/dist/esm/{translations-DMtX4tTX.js → translations-Y4i8PVc9.js} +5 -8
- package/dist/lime-elements/index.esm.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-02a06cf7.entry.js +1 -0
- package/dist/lime-elements/{p-3916b316.entry.js → p-03cb609e.entry.js} +1 -1
- package/dist/lime-elements/p-05038bbb.entry.js +1 -0
- package/dist/lime-elements/{p-835149c4.entry.js → p-0d6925f4.entry.js} +1 -1
- package/dist/lime-elements/p-0e13ec91.entry.js +1 -0
- package/dist/lime-elements/p-0ece667e.entry.js +1 -0
- package/dist/lime-elements/{p-19344984.entry.js → p-107654bb.entry.js} +4 -4
- package/dist/lime-elements/p-120ca628.entry.js +1 -0
- package/dist/lime-elements/{p-BwJGg-WI.js → p-1CgnIGyd.js} +4 -4
- package/dist/lime-elements/p-22fd1c87.entry.js +1 -0
- package/dist/lime-elements/p-24yUSW40.js +1 -0
- package/dist/lime-elements/{p-f717cd7a.entry.js → p-271662d4.entry.js} +1 -1
- package/dist/lime-elements/{p-c2a60508.entry.js → p-29c73bdf.entry.js} +1 -1
- package/dist/lime-elements/{p-deceda00.entry.js → p-2a902e77.entry.js} +1 -1
- package/dist/lime-elements/{p-d0cec424.entry.js → p-2b033dfa.entry.js} +1 -1
- package/dist/lime-elements/{p-acba5700.entry.js → p-2b2253d4.entry.js} +1 -1
- package/dist/lime-elements/p-2e33d2a4.entry.js +1 -0
- package/dist/lime-elements/p-32a050a3.entry.js +1 -0
- package/dist/lime-elements/{p-3735111e.entry.js → p-3cfe0eaf.entry.js} +1 -1
- package/dist/lime-elements/{p-fbcd99a3.entry.js → p-3d3bdf45.entry.js} +1 -1
- package/dist/lime-elements/p-45461ec5.entry.js +1 -0
- package/dist/lime-elements/p-45c39fb4.entry.js +1 -0
- package/dist/lime-elements/p-45fde7a1.entry.js +1 -0
- package/dist/lime-elements/p-48afa6b7.entry.js +1 -0
- package/dist/lime-elements/{p-f04f7c8e.entry.js → p-4a88d365.entry.js} +1 -1
- package/dist/lime-elements/p-4b75e653.entry.js +1 -0
- package/dist/lime-elements/{p-5698e493.entry.js → p-4ecbc9f4.entry.js} +1 -1
- package/dist/lime-elements/{p-2e568c56.entry.js → p-54a9f48f.entry.js} +1 -1
- package/dist/lime-elements/{p-0fba64eb.entry.js → p-5df21b25.entry.js} +2 -2
- package/dist/lime-elements/p-5e448070.entry.js +1 -0
- package/dist/lime-elements/{p-408c4dcb.entry.js → p-5f5c6e7d.entry.js} +1 -1
- package/dist/lime-elements/{p-052c3bc6.entry.js → p-681cb6de.entry.js} +1 -1
- package/dist/lime-elements/{p-ChRGk668.js → p-6YuZiAPi.js} +3 -3
- package/dist/lime-elements/{p-90df3e1b.entry.js → p-6d9961f7.entry.js} +1 -1
- package/dist/lime-elements/p-74060535.entry.js +159 -0
- package/dist/lime-elements/{p-74bd0c1a.entry.js → p-7b4351f6.entry.js} +1 -1
- package/dist/lime-elements/{p-3fd7e8aa.entry.js → p-7eab1341.entry.js} +1 -1
- package/dist/lime-elements/p-7fa85785.entry.js +23 -0
- package/dist/lime-elements/{p-35fa1063.entry.js → p-85318636.entry.js} +1 -1
- package/dist/lime-elements/{p-4ffbfc79.entry.js → p-8ac79ef5.entry.js} +1 -1
- package/dist/lime-elements/{p-4902fb3f.entry.js → p-9218fa6a.entry.js} +1 -1
- package/dist/lime-elements/{p-38b09f87.entry.js → p-9415411e.entry.js} +1 -1
- package/dist/lime-elements/{p-be8610ff.entry.js → p-958396b5.entry.js} +1 -1
- package/dist/lime-elements/p-95ccd9e7.entry.js +1 -0
- package/dist/lime-elements/p-970e0810.entry.js +1 -0
- package/dist/lime-elements/{p-cb407bef.entry.js → p-9afa4721.entry.js} +1 -1
- package/dist/lime-elements/{p-54dcf46f.entry.js → p-9c8c2fb7.entry.js} +1 -1
- package/dist/lime-elements/p-9e084e7c.entry.js +1 -0
- package/dist/lime-elements/{p-B8hoCfhT.js → p-B3YP9GOq.js} +1 -1
- package/dist/lime-elements/{p-Dgcw_h7C.js → p-BQoih_t0.js} +1 -1
- package/dist/lime-elements/{p-Bnc9lzk2.js → p-BU9IJqli.js} +1 -1
- package/dist/lime-elements/{p-BN1-aIOw.js → p-BZXGwiAr.js} +1 -1
- package/dist/lime-elements/{p-CGVVDGcv.js → p-Bkvc4sus.js} +1 -1
- package/dist/lime-elements/{p-BPzhuHcl.js → p-Bvyt2bmV.js} +1 -1
- package/dist/lime-elements/{p-DZkKQUDM.js → p-C1FFnUvf.js} +3 -3
- package/dist/lime-elements/{p-BgTwPGeH.js → p-CIf8aGSd.js} +1 -1
- package/dist/lime-elements/{p-C3hECvXE.js → p-ChagAaNf.js} +1 -1
- package/dist/lime-elements/{p-C9yTLqR8.js → p-CmtleG1y.js} +1 -1
- package/dist/lime-elements/{p-C4_9qUMP.js → p-DQ5DmW_Y.js} +1 -1
- package/dist/lime-elements/p-DTcfed02.js +3 -0
- package/dist/lime-elements/{p-BY85K-4J.js → p-DqQOawxc.js} +1 -1
- package/dist/lime-elements/{p-CC4Usa-Q.js → p-I0PrvthC.js} +1 -1
- package/dist/lime-elements/p-N9vxZMhe.js +1 -0
- package/dist/lime-elements/{p-DsDkl4Sy.js → p-ZDFVISfu.js} +3 -3
- package/dist/lime-elements/p-a1c69e0c.entry.js +1 -0
- package/dist/lime-elements/{p-2daf0482.entry.js → p-a1d1470c.entry.js} +1 -1
- package/dist/lime-elements/{p-cef66e53.entry.js → p-a2e6f16e.entry.js} +1 -1
- package/dist/lime-elements/{p-36ce4fbc.entry.js → p-a42f8c2d.entry.js} +1 -1
- package/dist/lime-elements/p-a550ba18.entry.js +1 -0
- package/dist/lime-elements/{p-d146feda.entry.js → p-a65eb58e.entry.js} +1 -1
- package/dist/lime-elements/{p-03fb2603.entry.js → p-b22b52a1.entry.js} +1 -1
- package/dist/lime-elements/{p-c2a3ca7c.entry.js → p-b6d39581.entry.js} +1 -1
- package/dist/lime-elements/{p-8475a3b8.entry.js → p-c439b68b.entry.js} +1 -1
- package/dist/lime-elements/p-d19c7a3a.entry.js +1 -0
- package/dist/lime-elements/{p-d3bd4b80.entry.js → p-d1b7cc55.entry.js} +3 -3
- package/dist/lime-elements/{p-7cbf50fc.entry.js → p-d1e5dd12.entry.js} +1 -1
- package/dist/lime-elements/p-de4719a6.entry.js +1 -0
- package/dist/lime-elements/{p-b81a2728.entry.js → p-e02e2c5f.entry.js} +1 -1
- package/dist/lime-elements/{p-d351b9ae.entry.js → p-e6a34047.entry.js} +1 -1
- package/dist/lime-elements/p-eF09GxA_.js +1 -0
- package/dist/lime-elements/{p-8fa9c9ea.entry.js → p-ee719744.entry.js} +1 -1
- package/dist/lime-elements/p-f3cae1e7.entry.js +1 -0
- package/dist/lime-elements/{p-8115da75.entry.js → p-f4a0b1bc.entry.js} +1 -1
- package/dist/lime-elements/{p-4855dc9b.entry.js → p-f82f72e7.entry.js} +1 -1
- package/dist/lime-elements/{p-2d84ea04.entry.js → p-f97ec7a5.entry.js} +1 -1
- package/dist/lime-elements/{p-21109d9b.entry.js → p-fdd674fc.entry.js} +1 -1
- package/dist/lime-elements/{p-459eea13.entry.js → p-fdec09e9.entry.js} +1 -1
- package/dist/lime-elements/{p-2f57c3fa.entry.js → p-fe492ff3.entry.js} +1 -1
- package/dist/lime-elements/{p-65cded0e.entry.js → p-ff1a8b2e.entry.js} +1 -1
- package/dist/types/components/chip-set/chip-set-input-helpers.d.ts +1 -1
- package/dist/types/components/pagination/jump/pagination-jump.d.ts +1 -1
- package/dist/types/components/scroller/scroller.d.ts +67 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +23 -21
- package/dist/types/components.d.ts +132 -0
- package/dist/types/global/icon-cache/factory.d.ts +2 -2
- package/dist/types/global/translations.d.ts +2 -2
- package/dist/types/util/keyboard-navigation.d.ts +105 -0
- package/dist/types/util/keycodes.d.ts +2 -0
- package/package.json +12 -12
- package/dist/lime-elements/p-1e93473a.entry.js +0 -1
- package/dist/lime-elements/p-20658306.entry.js +0 -1
- package/dist/lime-elements/p-26c5c6b9.entry.js +0 -1
- package/dist/lime-elements/p-452b9b01.entry.js +0 -1
- package/dist/lime-elements/p-4aae63bd.entry.js +0 -1
- package/dist/lime-elements/p-507cc8a1.entry.js +0 -159
- package/dist/lime-elements/p-531b6a64.entry.js +0 -1
- package/dist/lime-elements/p-54793c06.entry.js +0 -1
- package/dist/lime-elements/p-5d974afa.entry.js +0 -1
- package/dist/lime-elements/p-66b125f2.entry.js +0 -1
- package/dist/lime-elements/p-7e212fa7.entry.js +0 -1
- package/dist/lime-elements/p-82696d24.entry.js +0 -1
- package/dist/lime-elements/p-9ac39039.entry.js +0 -1
- package/dist/lime-elements/p-9b631363.entry.js +0 -1
- package/dist/lime-elements/p-DQJU9gzh.js +0 -1
- package/dist/lime-elements/p-DpJgXIWf.js +0 -1
- package/dist/lime-elements/p-a1de9bbe.entry.js +0 -1
- package/dist/lime-elements/p-a71f6e87.entry.js +0 -67
- package/dist/lime-elements/p-bd7b3f8e.entry.js +0 -1
- package/dist/lime-elements/p-c72e5007.entry.js +0 -1
- package/dist/lime-elements/p-cafec335.entry.js +0 -1
- package/dist/lime-elements/p-d6dadc61.entry.js +0 -1
- package/dist/lime-elements/p-d93b7b9f.entry.js +0 -23
- package/dist/lime-elements/p-dc9cd793.entry.js +0 -1
- package/dist/lime-elements/p-dd62042a.entry.js +0 -1
- package/dist/lime-elements/p-u_sd2HMb.js +0 -1
- package/dist/lime-elements/p-zo6O9LC9.js +0 -3
- /package/dist/lime-elements/{p-JbKhhoXs.js → p-BrjD-ITe.js} +0 -0
- /package/dist/lime-elements/{p-BxrRWYts.js → p-DjmlD0Mw.js} +0 -0
- /package/dist/lime-elements/{p-BTSG--2-.js → p-Dv2HOgWN.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { t as
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-BU9IJqli.js';
|
|
2
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
3
3
|
import { g as getFileBackgroundColor, a as getFileColor, b as getFileExtensionTitle, c as getFileIcon } from './file-metadata-BHzkIH4g.js';
|
|
4
|
-
import { f as formatBytes } from './format-bytes-
|
|
5
|
-
import { r as resizeImage } from './image-resize-
|
|
6
|
-
import './language-
|
|
4
|
+
import { f as formatBytes } from './format-bytes-24yUSW40.js';
|
|
5
|
+
import { r as resizeImage } from './image-resize-Dv2HOgWN.js';
|
|
6
|
+
import './language-ChagAaNf.js';
|
|
7
7
|
import './icons-Bu_YRgCL.js';
|
|
8
8
|
import './get-icon-props-CgNJbSP4.js';
|
|
9
9
|
|
|
@@ -91,16 +91,17 @@ const File = class {
|
|
|
91
91
|
this.handleChipSetChange = (event) => {
|
|
92
92
|
event.stopPropagation();
|
|
93
93
|
const file = event.detail.length === 0 ? event.detail[0] : null;
|
|
94
|
-
if (
|
|
95
|
-
|
|
96
|
-
// transient so the chip disappears immediately, and the token
|
|
97
|
-
// guard in `handleNewFiles` discards the resize result instead of
|
|
98
|
-
// re-emitting the removed file once it finishes. Without this, a
|
|
99
|
-
// removal during resize is swallowed, because `value` is already
|
|
100
|
-
// `undefined` so the `@Watch('value')` clear never fires.
|
|
101
|
-
this.resizingFile = undefined;
|
|
102
|
-
this.change.emit(file);
|
|
94
|
+
if (file) {
|
|
95
|
+
return;
|
|
103
96
|
}
|
|
97
|
+
// Removing the chip cancels any in-flight resize: drop the
|
|
98
|
+
// transient so the chip disappears immediately, and the token
|
|
99
|
+
// guard in `handleNewFiles` discards the resize result instead of
|
|
100
|
+
// re-emitting the removed file once it finishes. Without this, a
|
|
101
|
+
// removal during resize is swallowed, because `value` is already
|
|
102
|
+
// `undefined` so the `@Watch('value')` clear never fires.
|
|
103
|
+
this.resizingFile = undefined;
|
|
104
|
+
this.change.emit(file);
|
|
104
105
|
};
|
|
105
106
|
this.handleChipInteract = (event) => {
|
|
106
107
|
this.preventAndStop(event);
|
|
@@ -119,7 +120,7 @@ const File = class {
|
|
|
119
120
|
this.resizingFile = undefined;
|
|
120
121
|
}
|
|
121
122
|
render() {
|
|
122
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: 'dfaf1d7c9ddb1a8e960547db042402fa690dc829', "aria-busy": this.isBusy ? 'true' : 'false' }, h("limel-file-dropzone", { key: 'a3ebe9b925c2e13ad1b87aa3f3a948b05e6b7473', disabled: this.disabled || this.readonly || !!this.displayedFile, accept: this.accept, onFilesSelected: this.handleNewFiles }, this.renderChipset()), this.renderDragAndDropTip(), this.renderSpinner()));
|
|
123
124
|
}
|
|
124
125
|
get statusText() {
|
|
125
126
|
var _a, _b, _c;
|
|
@@ -195,7 +196,7 @@ const File = class {
|
|
|
195
196
|
event.preventDefault();
|
|
196
197
|
}
|
|
197
198
|
getTranslation(key) {
|
|
198
|
-
return
|
|
199
|
+
return translations.get(key, this.language);
|
|
199
200
|
}
|
|
200
201
|
static get watchers() { return {
|
|
201
202
|
"value": [{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
2
|
-
import { t as
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-BU9IJqli.js';
|
|
2
|
+
import { t as translations } from './translations-Y4i8PVc9.js';
|
|
3
3
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
4
|
-
import './sv-
|
|
5
|
-
import { m as moment } from './moment-
|
|
4
|
+
import './sv-DpsDSi7k.js';
|
|
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 { g as getPrimarySubtag } from './language-
|
|
7
|
+
import { g as getPrimarySubtag } from './language-ChagAaNf.js';
|
|
8
8
|
import { e as eq } from './eq-CZ30nDJE.js';
|
|
9
9
|
import { i as isArrayLike$1 } from './isArrayLike-CyVGB489.js';
|
|
10
10
|
import { i as isIndex } from './_isIndex-B--C3qwe.js';
|
|
@@ -7111,10 +7111,11 @@ class MonthPicker extends Picker {
|
|
|
7111
7111
|
}
|
|
7112
7112
|
init(element, container, value) {
|
|
7113
7113
|
super.init(element, container, value);
|
|
7114
|
-
if (
|
|
7115
|
-
|
|
7116
|
-
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7114
|
+
if (this.nativePicker) {
|
|
7115
|
+
return;
|
|
7117
7116
|
}
|
|
7117
|
+
this.flatpickr.prevMonthNav.addEventListener('mousedown', this.prevYear);
|
|
7118
|
+
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7118
7119
|
}
|
|
7119
7120
|
destroy() {
|
|
7120
7121
|
var _a, _b, _c, _d;
|
|
@@ -7137,23 +7138,23 @@ class MonthPicker extends Picker {
|
|
|
7137
7138
|
handleChange(selectedDates, dateString, fp) {
|
|
7138
7139
|
this.selectMonth(selectedDates, dateString, fp);
|
|
7139
7140
|
}
|
|
7140
|
-
handleClose(selectedDates) {
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
});
|
|
7141
|
+
async handleClose(selectedDates) {
|
|
7142
|
+
await super.handleClose(selectedDates);
|
|
7143
|
+
this.selectMonth(this.flatpickr.selectedDates, this.flatpickr.input.value, this.flatpickr);
|
|
7144
7144
|
}
|
|
7145
7145
|
handleReady(_, __, fp) {
|
|
7146
7146
|
this.bootstrapMonthPicker(fp);
|
|
7147
7147
|
this.selectMonth(fp.selectedDates, fp.input.value, fp);
|
|
7148
7148
|
}
|
|
7149
7149
|
bootstrapMonthPicker(fp) {
|
|
7150
|
-
if (
|
|
7151
|
-
|
|
7152
|
-
fp.calendarContainer
|
|
7153
|
-
.querySelectorAll('.flatpickr-monthDropdown-months')[0]
|
|
7154
|
-
.replaceWith(this.renderHeading());
|
|
7155
|
-
fp.calendarContainer.append(this.renderMonthsPicker(fp));
|
|
7150
|
+
if (this.nativePicker) {
|
|
7151
|
+
return;
|
|
7156
7152
|
}
|
|
7153
|
+
fp.innerContainer.remove();
|
|
7154
|
+
fp.calendarContainer
|
|
7155
|
+
.querySelector('.flatpickr-monthDropdown-months')
|
|
7156
|
+
.replaceWith(this.renderHeading());
|
|
7157
|
+
fp.calendarContainer.append(this.renderMonthsPicker(fp));
|
|
7157
7158
|
}
|
|
7158
7159
|
renderHeading() {
|
|
7159
7160
|
return (createElement("span", { className: "datepicker-month-heading" }, this.getLocalizedHeading()));
|
|
@@ -7179,31 +7180,34 @@ class MonthPicker extends Picker {
|
|
|
7179
7180
|
.format('MMM')));
|
|
7180
7181
|
}
|
|
7181
7182
|
selectMonth(selectedDates, dateString, fp) {
|
|
7182
|
-
if (
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7183
|
+
if (this.nativePicker) {
|
|
7184
|
+
return;
|
|
7185
|
+
}
|
|
7186
|
+
for (const month of this.months) {
|
|
7187
|
+
month.classList.remove('selected');
|
|
7188
|
+
}
|
|
7189
|
+
if (dateString !== '' &&
|
|
7190
|
+
selectedDates[0] &&
|
|
7191
|
+
selectedDates[0].getFullYear() === fp.currentYear) {
|
|
7192
|
+
this.months[selectedDates[0].getMonth()].classList.add('selected');
|
|
7191
7193
|
}
|
|
7192
7194
|
}
|
|
7193
7195
|
prevYear() {
|
|
7194
|
-
if (
|
|
7195
|
-
|
|
7196
|
+
if (this.nativePicker) {
|
|
7197
|
+
return;
|
|
7196
7198
|
}
|
|
7199
|
+
this.flatpickr.changeMonth(-11);
|
|
7197
7200
|
}
|
|
7198
7201
|
nextYear() {
|
|
7199
|
-
if (
|
|
7200
|
-
|
|
7201
|
-
// stop flatpickr from moving one month on its own, so we let it do
|
|
7202
|
-
// that, and then move the other 11 months to make it a full year.
|
|
7203
|
-
// /Ads
|
|
7204
|
-
const monthsToMove = 11;
|
|
7205
|
-
this.flatpickr.changeMonth(monthsToMove);
|
|
7202
|
+
if (this.nativePicker) {
|
|
7203
|
+
return;
|
|
7206
7204
|
}
|
|
7205
|
+
// Preventing default or stopping the event from propagating doesn't
|
|
7206
|
+
// stop flatpickr from moving one month on its own, so we let it do
|
|
7207
|
+
// that, and then move the other 11 months to make it a full year.
|
|
7208
|
+
// /Ads
|
|
7209
|
+
const monthsToMove = 11;
|
|
7210
|
+
this.flatpickr.changeMonth(monthsToMove);
|
|
7207
7211
|
}
|
|
7208
7212
|
}
|
|
7209
7213
|
|
|
@@ -7223,10 +7227,11 @@ class QuarterPicker extends Picker {
|
|
|
7223
7227
|
}
|
|
7224
7228
|
init(element, container, value) {
|
|
7225
7229
|
super.init(element, container, value);
|
|
7226
|
-
if (
|
|
7227
|
-
|
|
7228
|
-
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7230
|
+
if (this.nativePicker) {
|
|
7231
|
+
return;
|
|
7229
7232
|
}
|
|
7233
|
+
this.flatpickr.prevMonthNav.addEventListener('mousedown', this.prevYear);
|
|
7234
|
+
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7230
7235
|
}
|
|
7231
7236
|
destroy() {
|
|
7232
7237
|
var _a, _b, _c, _d;
|
|
@@ -7249,23 +7254,23 @@ class QuarterPicker extends Picker {
|
|
|
7249
7254
|
handleChange(selectedDates, dateString, fp) {
|
|
7250
7255
|
this.selectQuarter(selectedDates, dateString, fp);
|
|
7251
7256
|
}
|
|
7252
|
-
handleClose(selectedDates) {
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
});
|
|
7257
|
+
async handleClose(selectedDates) {
|
|
7258
|
+
await super.handleClose(selectedDates);
|
|
7259
|
+
this.selectQuarter(this.flatpickr.selectedDates, this.flatpickr.input.value, this.flatpickr);
|
|
7256
7260
|
}
|
|
7257
7261
|
handleReady(_, __, fp) {
|
|
7258
7262
|
this.bootstrapQuarterPicker(fp);
|
|
7259
7263
|
this.selectQuarter(fp.selectedDates, fp.input.value, fp);
|
|
7260
7264
|
}
|
|
7261
7265
|
bootstrapQuarterPicker(fp) {
|
|
7262
|
-
if (
|
|
7263
|
-
|
|
7264
|
-
fp.calendarContainer
|
|
7265
|
-
.querySelectorAll('.flatpickr-monthDropdown-months')[0]
|
|
7266
|
-
.replaceWith(this.renderHeading());
|
|
7267
|
-
fp.calendarContainer.append(this.renderQuarterPicker(fp));
|
|
7266
|
+
if (this.nativePicker) {
|
|
7267
|
+
return;
|
|
7268
7268
|
}
|
|
7269
|
+
fp.innerContainer.remove();
|
|
7270
|
+
fp.calendarContainer
|
|
7271
|
+
.querySelector('.flatpickr-monthDropdown-months')
|
|
7272
|
+
.replaceWith(this.renderHeading());
|
|
7273
|
+
fp.calendarContainer.append(this.renderQuarterPicker(fp));
|
|
7269
7274
|
}
|
|
7270
7275
|
renderHeading() {
|
|
7271
7276
|
return (createElement("span", { className: "datepicker-quarter-heading" }, this.getLocalizedHeading()));
|
|
@@ -7303,30 +7308,34 @@ class QuarterPicker extends Picker {
|
|
|
7303
7308
|
});
|
|
7304
7309
|
}
|
|
7305
7310
|
selectQuarter(selectedDates, dateString, fp) {
|
|
7306
|
-
if (
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
selectedDates[0] &&
|
|
7312
|
-
selectedDates[0].getFullYear() === fp.currentYear) {
|
|
7313
|
-
const i = Math.floor(selectedDates[0].getMonth() / MONTHSPERQUARTER);
|
|
7314
|
-
const selectedQuarter = this.quarters[i];
|
|
7315
|
-
selectedQuarter.classList.add('selected');
|
|
7316
|
-
}
|
|
7311
|
+
if (this.nativePicker) {
|
|
7312
|
+
return;
|
|
7313
|
+
}
|
|
7314
|
+
for (const quarter of this.quarters) {
|
|
7315
|
+
quarter.classList.remove('selected');
|
|
7317
7316
|
}
|
|
7317
|
+
if (dateString === '' ||
|
|
7318
|
+
!selectedDates[0] ||
|
|
7319
|
+
selectedDates[0].getFullYear() !== fp.currentYear) {
|
|
7320
|
+
return;
|
|
7321
|
+
}
|
|
7322
|
+
const i = Math.floor(selectedDates[0].getMonth() / MONTHSPERQUARTER);
|
|
7323
|
+
const selectedQuarter = this.quarters[i];
|
|
7324
|
+
selectedQuarter.classList.add('selected');
|
|
7318
7325
|
}
|
|
7319
7326
|
prevYear(event) {
|
|
7320
|
-
if (
|
|
7321
|
-
|
|
7322
|
-
this.flatpickr.changeMonth(-NBROFMONTHS);
|
|
7327
|
+
if (this.nativePicker) {
|
|
7328
|
+
return;
|
|
7323
7329
|
}
|
|
7330
|
+
event.stopImmediatePropagation();
|
|
7331
|
+
this.flatpickr.changeMonth(-NBROFMONTHS);
|
|
7324
7332
|
}
|
|
7325
7333
|
nextYear(event) {
|
|
7326
|
-
if (
|
|
7327
|
-
|
|
7328
|
-
this.flatpickr.changeMonth(NBROFMONTHS);
|
|
7334
|
+
if (this.nativePicker) {
|
|
7335
|
+
return;
|
|
7329
7336
|
}
|
|
7337
|
+
event.stopImmediatePropagation();
|
|
7338
|
+
this.flatpickr.changeMonth(NBROFMONTHS);
|
|
7330
7339
|
}
|
|
7331
7340
|
}
|
|
7332
7341
|
|
|
@@ -7494,10 +7503,11 @@ class YearPicker extends Picker {
|
|
|
7494
7503
|
}
|
|
7495
7504
|
init(element, container, value) {
|
|
7496
7505
|
super.init(element, container, value);
|
|
7497
|
-
if (
|
|
7498
|
-
|
|
7499
|
-
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYears);
|
|
7506
|
+
if (this.nativePicker) {
|
|
7507
|
+
return;
|
|
7500
7508
|
}
|
|
7509
|
+
this.flatpickr.prevMonthNav.addEventListener('mousedown', this.prevYears);
|
|
7510
|
+
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYears);
|
|
7501
7511
|
}
|
|
7502
7512
|
destroy() {
|
|
7503
7513
|
var _a, _b, _c, _d;
|
|
@@ -7520,12 +7530,7 @@ class YearPicker extends Picker {
|
|
|
7520
7530
|
}
|
|
7521
7531
|
setSelectedYear() {
|
|
7522
7532
|
for (const year of this.yearElements) {
|
|
7523
|
-
|
|
7524
|
-
year.classList.add('selected');
|
|
7525
|
-
}
|
|
7526
|
-
else {
|
|
7527
|
-
year.classList.remove('selected');
|
|
7528
|
-
}
|
|
7533
|
+
year.classList.toggle('selected', year.textContent === this.selectedYear);
|
|
7529
7534
|
}
|
|
7530
7535
|
}
|
|
7531
7536
|
getConfig(nativePicker) {
|
|
@@ -7540,24 +7545,24 @@ class YearPicker extends Picker {
|
|
|
7540
7545
|
handleChange(selectedDates, dateString) {
|
|
7541
7546
|
this.selectYear(selectedDates, dateString);
|
|
7542
7547
|
}
|
|
7543
|
-
handleClose(selectedDates) {
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
});
|
|
7548
|
+
async handleClose(selectedDates) {
|
|
7549
|
+
await super.handleClose(selectedDates);
|
|
7550
|
+
this.selectYear(this.flatpickr.selectedDates, this.flatpickr.input.value);
|
|
7547
7551
|
}
|
|
7548
7552
|
handleReady(_, __, fp) {
|
|
7549
7553
|
this.bootstrapYearPicker(fp);
|
|
7550
7554
|
this.selectYear(fp.selectedDates, fp.input.value);
|
|
7551
7555
|
}
|
|
7552
7556
|
bootstrapYearPicker(fp) {
|
|
7553
|
-
if (
|
|
7554
|
-
|
|
7555
|
-
fp.currentYearElement.parentNode.remove();
|
|
7556
|
-
fp.calendarContainer
|
|
7557
|
-
.querySelectorAll('.flatpickr-month')[0]
|
|
7558
|
-
.replaceWith(this.renderHeading());
|
|
7559
|
-
fp.calendarContainer.append(this.renderYearPicker(fp));
|
|
7557
|
+
if (this.nativePicker) {
|
|
7558
|
+
return;
|
|
7560
7559
|
}
|
|
7560
|
+
fp.innerContainer.remove();
|
|
7561
|
+
fp.currentYearElement.parentNode.remove();
|
|
7562
|
+
fp.calendarContainer
|
|
7563
|
+
.querySelector('.flatpickr-month')
|
|
7564
|
+
.replaceWith(this.renderHeading());
|
|
7565
|
+
fp.calendarContainer.append(this.renderYearPicker(fp));
|
|
7561
7566
|
}
|
|
7562
7567
|
renderHeading() {
|
|
7563
7568
|
return (createElement("span", { className: "datepicker-year-heading flatpickr-current-month" }, this.getLocalizedHeading()));
|
|
@@ -7624,10 +7629,11 @@ class DeferredDestroy {
|
|
|
7624
7629
|
* Cancel the pending destroy callback, if any.
|
|
7625
7630
|
*/
|
|
7626
7631
|
cancel() {
|
|
7627
|
-
if (this.pendingDestroyTimer
|
|
7628
|
-
|
|
7629
|
-
this.pendingDestroyTimer = null;
|
|
7632
|
+
if (this.pendingDestroyTimer === null) {
|
|
7633
|
+
return;
|
|
7630
7634
|
}
|
|
7635
|
+
clearTimeout(this.pendingDestroyTimer);
|
|
7636
|
+
this.pendingDestroyTimer = null;
|
|
7631
7637
|
}
|
|
7632
7638
|
}
|
|
7633
7639
|
|
|
@@ -7664,15 +7670,15 @@ const DatePickerCalendar = class {
|
|
|
7664
7670
|
break;
|
|
7665
7671
|
}
|
|
7666
7672
|
case 'month': {
|
|
7667
|
-
this.picker = new MonthPicker(this.language, this.change,
|
|
7673
|
+
this.picker = new MonthPicker(this.language, this.change, translations, this.format);
|
|
7668
7674
|
break;
|
|
7669
7675
|
}
|
|
7670
7676
|
case 'quarter': {
|
|
7671
|
-
this.picker = new QuarterPicker(this.language, this.change,
|
|
7677
|
+
this.picker = new QuarterPicker(this.language, this.change, translations, this.format);
|
|
7672
7678
|
break;
|
|
7673
7679
|
}
|
|
7674
7680
|
case 'year': {
|
|
7675
|
-
this.picker = new YearPicker(this.language, this.change,
|
|
7681
|
+
this.picker = new YearPicker(this.language, this.change, translations, this.format);
|
|
7676
7682
|
break;
|
|
7677
7683
|
}
|
|
7678
7684
|
default: {
|
|
@@ -7716,8 +7722,8 @@ const DatePickerCalendar = class {
|
|
|
7716
7722
|
});
|
|
7717
7723
|
}
|
|
7718
7724
|
render() {
|
|
7719
|
-
return (h("div", { key: '
|
|
7720
|
-
'--today-label': `"${
|
|
7725
|
+
return (h("div", { key: '7e048e91687bf7ede4147a08304b22ff6f6e10c0', class: "container", ref: (el) => (this.container = el), style: {
|
|
7726
|
+
'--today-label': `"${translations.get('date-picker.today', this.language)}"`,
|
|
7721
7727
|
} }));
|
|
7722
7728
|
}
|
|
7723
7729
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BU9IJqli.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: 'b198feb938d5eb26cf1f96aa6cbfd412c843a3b1' });
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
32
|
FlexContainer.style = flexContainerCss();
|
|
@@ -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-BU9IJqli.js';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-B85MJLTf.js';
|
|
3
3
|
import { t as toString$1, b as baseIteratee, g as get } from './_baseIteratee-CpbczHY1.js';
|
|
4
4
|
import { i as isEmpty } from './isEmpty-BGVZ12Ea.js';
|
|
@@ -10,7 +10,7 @@ import { b as baseSet, n as negate } from './_baseSet-Cw2IE6ZF.js';
|
|
|
10
10
|
import { a as arrayIncludes, b as baseRest, c as baseFlatten, i as isArrayLikeObject } from './isArrayLikeObject-CJB8HbtH.js';
|
|
11
11
|
import { s as setToArray, S as SetCache, c as cacheHas } from './_baseIsEqual-CyF4P8uM.js';
|
|
12
12
|
import { S as Set$1 } from './_getTag-BiAaLWvH.js';
|
|
13
|
-
import { m as moment } from './moment-
|
|
13
|
+
import { m as moment } from './moment-_DadZLWp.js';
|
|
14
14
|
import { c as cloneDeep } from './cloneDeep-DAbOtbs8.js';
|
|
15
15
|
import { i as isMultiple } from './multiple-BylwpiM6.js';
|
|
16
16
|
import { b as baseAssignValue } from './_assignValue-CEFvyZxO.js';
|
|
@@ -296,6 +296,30 @@ function capitalize(string) {
|
|
|
296
296
|
return upperFirst(toString$1(string).toLowerCase());
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
+
/**
|
|
300
|
+
* Checks if `value` is `null` or `undefined`.
|
|
301
|
+
*
|
|
302
|
+
* @static
|
|
303
|
+
* @memberOf _
|
|
304
|
+
* @since 4.0.0
|
|
305
|
+
* @category Lang
|
|
306
|
+
* @param {*} value The value to check.
|
|
307
|
+
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
|
308
|
+
* @example
|
|
309
|
+
*
|
|
310
|
+
* _.isNil(null);
|
|
311
|
+
* // => true
|
|
312
|
+
*
|
|
313
|
+
* _.isNil(void 0);
|
|
314
|
+
* // => true
|
|
315
|
+
*
|
|
316
|
+
* _.isNil(NaN);
|
|
317
|
+
* // => false
|
|
318
|
+
*/
|
|
319
|
+
function isNil(value) {
|
|
320
|
+
return value == null;
|
|
321
|
+
}
|
|
322
|
+
|
|
299
323
|
/**
|
|
300
324
|
* Creates an object with the same keys as `object` and values generated
|
|
301
325
|
* by running each own enumerable string keyed property of `object` thru
|
|
@@ -43741,26 +43765,26 @@ function renderDescription(description) {
|
|
|
43741
43765
|
* @returns describing title of the data
|
|
43742
43766
|
*/
|
|
43743
43767
|
function findTitle(data, fieldSchema, formSchema) {
|
|
43744
|
-
|
|
43745
|
-
|
|
43746
|
-
|
|
43747
|
-
|
|
43748
|
-
|
|
43749
|
-
|
|
43750
|
-
|
|
43751
|
-
|
|
43752
|
-
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
|
|
43768
|
+
while (data) {
|
|
43769
|
+
if (Array.isArray(data) &&
|
|
43770
|
+
isObjectType(fieldSchema.items)) {
|
|
43771
|
+
data = data[0];
|
|
43772
|
+
continue;
|
|
43773
|
+
}
|
|
43774
|
+
if (Array.isArray(data) || typeof data !== 'object') {
|
|
43775
|
+
return findSchemaTitle(data, fieldSchema);
|
|
43776
|
+
}
|
|
43777
|
+
const subSchema = findSubSchema(fieldSchema, formSchema);
|
|
43778
|
+
data = sortDataByProperties(data, subSchema.properties);
|
|
43779
|
+
const firstEntry = findFirstEntry(data, subSchema);
|
|
43780
|
+
if (!firstEntry || !subSchema.properties) {
|
|
43781
|
+
return null;
|
|
43782
|
+
}
|
|
43783
|
+
const [key, value] = firstEntry;
|
|
43784
|
+
data = value;
|
|
43785
|
+
fieldSchema = subSchema.properties[key];
|
|
43761
43786
|
}
|
|
43762
|
-
|
|
43763
|
-
return findTitle(value, subSchema.properties[key], formSchema);
|
|
43787
|
+
return null;
|
|
43764
43788
|
}
|
|
43765
43789
|
function sortDataByProperties(data, properties) {
|
|
43766
43790
|
if (!properties || isEmpty(properties)) {
|
|
@@ -46632,10 +46656,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46632
46656
|
if (items.length === 0) {
|
|
46633
46657
|
return [];
|
|
46634
46658
|
}
|
|
46635
|
-
const byKey = new Map();
|
|
46636
|
-
for (const [index, item] of items.entries()) {
|
|
46637
|
-
byKey.set(index, item);
|
|
46638
|
-
}
|
|
46659
|
+
const byKey = new Map(items.entries());
|
|
46639
46660
|
const ordered = [];
|
|
46640
46661
|
const used = new Set();
|
|
46641
46662
|
for (const index of this.state.order) {
|
|
@@ -46646,7 +46667,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46646
46667
|
ordered.push(entry);
|
|
46647
46668
|
used.add(index);
|
|
46648
46669
|
}
|
|
46649
|
-
for (const [index, entry] of byKey
|
|
46670
|
+
for (const [index, entry] of byKey) {
|
|
46650
46671
|
if (!used.has(index)) {
|
|
46651
46672
|
ordered.push(entry);
|
|
46652
46673
|
}
|
|
@@ -46751,7 +46772,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46751
46772
|
}
|
|
46752
46773
|
const target = this.dropElevationTarget;
|
|
46753
46774
|
this.clearDropElevationTimer();
|
|
46754
|
-
this.dropElevationTimeout =
|
|
46775
|
+
this.dropElevationTimeout = setTimeout(() => {
|
|
46755
46776
|
target.classList.remove(DEFAULT_DROP_ELEVATION_CLASS);
|
|
46756
46777
|
if (this.dropElevationTarget === target) {
|
|
46757
46778
|
this.dropElevationTarget = undefined;
|
|
@@ -46760,10 +46781,11 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46760
46781
|
}, DROP_ELEVATION_DURATION);
|
|
46761
46782
|
}
|
|
46762
46783
|
clearDropElevationTimer() {
|
|
46763
|
-
if (this.dropElevationTimeout
|
|
46764
|
-
|
|
46765
|
-
this.dropElevationTimeout = undefined;
|
|
46784
|
+
if (this.dropElevationTimeout === undefined) {
|
|
46785
|
+
return;
|
|
46766
46786
|
}
|
|
46787
|
+
clearTimeout(this.dropElevationTimeout);
|
|
46788
|
+
this.dropElevationTimeout = undefined;
|
|
46767
46789
|
}
|
|
46768
46790
|
arraysEqual(a, b) {
|
|
46769
46791
|
if (a.length !== b.length) {
|
|
@@ -46802,6 +46824,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46802
46824
|
* @param data
|
|
46803
46825
|
*/
|
|
46804
46826
|
function isInteger(data) {
|
|
46827
|
+
// eslint-disable-next-line unicorn/prefer-number-is-safe-integer -- integers beyond the safe range must still validate
|
|
46805
46828
|
return Number.isInteger(Number(data));
|
|
46806
46829
|
}
|
|
46807
46830
|
|
|
@@ -47222,7 +47245,7 @@ function getSchemaObjectPropertyPath(schema, fieldPathId) {
|
|
|
47222
47245
|
var _a, _b;
|
|
47223
47246
|
const refPrefixLength = 2;
|
|
47224
47247
|
const matchAllForwardSlashes = /\//g;
|
|
47225
|
-
const rootPath = (_b = (_a = schema.$ref) === null || _a === void 0 ? void 0 : _a.
|
|
47248
|
+
const rootPath = (_b = (_a = schema.$ref) === null || _a === void 0 ? void 0 : _a.replaceAll(matchAllForwardSlashes, '.').slice(refPrefixLength)) !== null && _b !== void 0 ? _b : '';
|
|
47226
47249
|
const subSchemaPath = fieldPathId.path
|
|
47227
47250
|
.map((segment) => `.properties.${segment}`)
|
|
47228
47251
|
.join('');
|
|
@@ -47285,7 +47308,7 @@ function isCollapsed(schema) {
|
|
|
47285
47308
|
* @returns `true` when the field holds meaningful data
|
|
47286
47309
|
*/
|
|
47287
47310
|
function hasValue(value) {
|
|
47288
|
-
if (value
|
|
47311
|
+
if (isNil(value) || value === '') {
|
|
47289
47312
|
return false;
|
|
47290
47313
|
}
|
|
47291
47314
|
if (Array.isArray(value)) {
|
|
@@ -47559,9 +47582,7 @@ class DatePicker extends React.Component {
|
|
|
47559
47582
|
if (typeof this.props.value === 'string') {
|
|
47560
47583
|
return new Date(this.props.value);
|
|
47561
47584
|
}
|
|
47562
|
-
|
|
47563
|
-
return this.props.value;
|
|
47564
|
-
}
|
|
47585
|
+
return this.props.value;
|
|
47565
47586
|
}
|
|
47566
47587
|
handleChange(event) {
|
|
47567
47588
|
const props = this.props;
|
|
@@ -47769,13 +47790,13 @@ class SchemaField extends React.Component {
|
|
|
47769
47790
|
}
|
|
47770
47791
|
render() {
|
|
47771
47792
|
var _a;
|
|
47772
|
-
const schema = this.props.schema;
|
|
47773
47793
|
if ((_a = this.props.schema.lime) === null || _a === void 0 ? void 0 : _a.hidden) {
|
|
47774
47794
|
return null;
|
|
47775
47795
|
}
|
|
47776
47796
|
if (hasCustomComponent(this.props.schema)) {
|
|
47777
47797
|
return this.renderCustomComponent(this.props);
|
|
47778
47798
|
}
|
|
47799
|
+
const schema = this.props.schema;
|
|
47779
47800
|
const fieldProps = Object.assign(Object.assign({}, this.props), { onChange: this.handleChange });
|
|
47780
47801
|
if (this.props.schema.format === 'time') {
|
|
47781
47802
|
fieldProps.uiSchema = Object.assign({ 'ui:widget': TimePicker }, fieldProps.uiSchema);
|
|
@@ -48003,7 +48024,7 @@ class CodeEditor extends React.Component {
|
|
|
48003
48024
|
const props = this.props;
|
|
48004
48025
|
let value = '{}';
|
|
48005
48026
|
try {
|
|
48006
|
-
value = JSON.stringify(props.formData, null, '
|
|
48027
|
+
value = JSON.stringify(props.formData, null, ' '.repeat(4));
|
|
48007
48028
|
}
|
|
48008
48029
|
catch (_a) {
|
|
48009
48030
|
// N/A
|
|
@@ -48078,16 +48099,13 @@ function findFirstError(schema) {
|
|
|
48078
48099
|
return errors[0];
|
|
48079
48100
|
}
|
|
48080
48101
|
}
|
|
48081
|
-
for (const key of Object.
|
|
48082
|
-
if (key === '__errors') {
|
|
48102
|
+
for (const [key, nested] of Object.entries(schema)) {
|
|
48103
|
+
if (key === '__errors' || !nested || typeof nested !== 'object') {
|
|
48083
48104
|
continue;
|
|
48084
48105
|
}
|
|
48085
|
-
const
|
|
48086
|
-
if (
|
|
48087
|
-
|
|
48088
|
-
if (found) {
|
|
48089
|
-
return `${key}: ${found}`;
|
|
48090
|
-
}
|
|
48106
|
+
const found = findFirstError(nested);
|
|
48107
|
+
if (found) {
|
|
48108
|
+
return `${key}: ${found}`;
|
|
48091
48109
|
}
|
|
48092
48110
|
}
|
|
48093
48111
|
return undefined;
|
|
@@ -48421,10 +48439,7 @@ const Form = class {
|
|
|
48421
48439
|
this.initialize();
|
|
48422
48440
|
}
|
|
48423
48441
|
initialize() {
|
|
48424
|
-
if (this.initialized) {
|
|
48425
|
-
return;
|
|
48426
|
-
}
|
|
48427
|
-
if (!this.host.shadowRoot.querySelector('.root')) {
|
|
48442
|
+
if (this.initialized || !this.host.shadowRoot.querySelector('.root')) {
|
|
48428
48443
|
return;
|
|
48429
48444
|
}
|
|
48430
48445
|
this.initialized = true;
|
|
@@ -48443,7 +48458,7 @@ const Form = class {
|
|
|
48443
48458
|
this.initialized = false;
|
|
48444
48459
|
}
|
|
48445
48460
|
render() {
|
|
48446
|
-
return h$1("div", { key: '
|
|
48461
|
+
return h$1("div", { key: '843ccbe06e291ffa1958da88634f4aee41007f2b', class: "root" });
|
|
48447
48462
|
}
|
|
48448
48463
|
reactRender() {
|
|
48449
48464
|
if (!this.root) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-BU9IJqli.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: '4928fa4c63f2db778bde762470299c8bf05952b3' });
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
Grid.style = gridCss();
|