@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,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
4
|
-
var translations = require('./translations-
|
|
3
|
+
var index = require('./index-BlsqxTB1.js');
|
|
4
|
+
var translations = require('./translations-CNTWud2a.js');
|
|
5
5
|
var fileMetadata = require('./file-metadata-BrhOssGG.js');
|
|
6
|
-
var formatBytes = require('./format-bytes-
|
|
7
|
-
var imageResize = require('./image-resize-
|
|
8
|
-
require('./language-
|
|
6
|
+
var formatBytes = require('./format-bytes-WTHVI718.js');
|
|
7
|
+
var imageResize = require('./image-resize-JlRLB97I.js');
|
|
8
|
+
require('./language-v-MMS6ym.js');
|
|
9
9
|
require('./icons-isR5V1X0.js');
|
|
10
10
|
require('./get-icon-props-CwpDdQDI.js');
|
|
11
11
|
|
|
@@ -93,16 +93,17 @@ const File = class {
|
|
|
93
93
|
this.handleChipSetChange = (event) => {
|
|
94
94
|
event.stopPropagation();
|
|
95
95
|
const file = event.detail.length === 0 ? event.detail[0] : null;
|
|
96
|
-
if (
|
|
97
|
-
|
|
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);
|
|
96
|
+
if (file) {
|
|
97
|
+
return;
|
|
105
98
|
}
|
|
99
|
+
// Removing the chip cancels any in-flight resize: drop the
|
|
100
|
+
// transient so the chip disappears immediately, and the token
|
|
101
|
+
// guard in `handleNewFiles` discards the resize result instead of
|
|
102
|
+
// re-emitting the removed file once it finishes. Without this, a
|
|
103
|
+
// removal during resize is swallowed, because `value` is already
|
|
104
|
+
// `undefined` so the `@Watch('value')` clear never fires.
|
|
105
|
+
this.resizingFile = undefined;
|
|
106
|
+
this.change.emit(file);
|
|
106
107
|
};
|
|
107
108
|
this.handleChipInteract = (event) => {
|
|
108
109
|
this.preventAndStop(event);
|
|
@@ -121,7 +122,7 @@ const File = class {
|
|
|
121
122
|
this.resizingFile = undefined;
|
|
122
123
|
}
|
|
123
124
|
render() {
|
|
124
|
-
return (index.h(index.Host, { key: '
|
|
125
|
+
return (index.h(index.Host, { key: 'dfaf1d7c9ddb1a8e960547db042402fa690dc829', "aria-busy": this.isBusy ? 'true' : 'false' }, index.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()));
|
|
125
126
|
}
|
|
126
127
|
get statusText() {
|
|
127
128
|
var _a, _b, _c;
|
|
@@ -197,7 +198,7 @@ const File = class {
|
|
|
197
198
|
event.preventDefault();
|
|
198
199
|
}
|
|
199
200
|
getTranslation(key) {
|
|
200
|
-
return translations.
|
|
201
|
+
return translations.translations.get(key, this.language);
|
|
201
202
|
}
|
|
202
203
|
static get watchers() { return {
|
|
203
204
|
"value": [{
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
4
|
-
var translations = require('./translations-
|
|
3
|
+
var index = require('./index-BlsqxTB1.js');
|
|
4
|
+
var translations = require('./translations-CNTWud2a.js');
|
|
5
5
|
var _commonjsHelpers = require('./_commonjsHelpers-CFO10eej.js');
|
|
6
|
-
require('./sv-
|
|
7
|
-
var moment = require('./moment-
|
|
6
|
+
require('./sv-Co78RX70.js');
|
|
7
|
+
var moment = require('./moment-Cfsz2WF1.js');
|
|
8
8
|
var device = require('./device-C9O7lYI9.js');
|
|
9
|
-
var language = require('./language-
|
|
9
|
+
var language = require('./language-v-MMS6ym.js');
|
|
10
10
|
var eq = require('./eq-DFcUoVzv.js');
|
|
11
11
|
var isArrayLike$1 = require('./isArrayLike-C2RwZMG4.js');
|
|
12
12
|
var _isIndex = require('./_isIndex-Bu45fvR7.js');
|
|
@@ -7113,10 +7113,11 @@ class MonthPicker extends Picker {
|
|
|
7113
7113
|
}
|
|
7114
7114
|
init(element, container, value) {
|
|
7115
7115
|
super.init(element, container, value);
|
|
7116
|
-
if (
|
|
7117
|
-
|
|
7118
|
-
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7116
|
+
if (this.nativePicker) {
|
|
7117
|
+
return;
|
|
7119
7118
|
}
|
|
7119
|
+
this.flatpickr.prevMonthNav.addEventListener('mousedown', this.prevYear);
|
|
7120
|
+
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7120
7121
|
}
|
|
7121
7122
|
destroy() {
|
|
7122
7123
|
var _a, _b, _c, _d;
|
|
@@ -7139,23 +7140,23 @@ class MonthPicker extends Picker {
|
|
|
7139
7140
|
handleChange(selectedDates, dateString, fp) {
|
|
7140
7141
|
this.selectMonth(selectedDates, dateString, fp);
|
|
7141
7142
|
}
|
|
7142
|
-
handleClose(selectedDates) {
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
});
|
|
7143
|
+
async handleClose(selectedDates) {
|
|
7144
|
+
await super.handleClose(selectedDates);
|
|
7145
|
+
this.selectMonth(this.flatpickr.selectedDates, this.flatpickr.input.value, this.flatpickr);
|
|
7146
7146
|
}
|
|
7147
7147
|
handleReady(_, __, fp) {
|
|
7148
7148
|
this.bootstrapMonthPicker(fp);
|
|
7149
7149
|
this.selectMonth(fp.selectedDates, fp.input.value, fp);
|
|
7150
7150
|
}
|
|
7151
7151
|
bootstrapMonthPicker(fp) {
|
|
7152
|
-
if (
|
|
7153
|
-
|
|
7154
|
-
fp.calendarContainer
|
|
7155
|
-
.querySelectorAll('.flatpickr-monthDropdown-months')[0]
|
|
7156
|
-
.replaceWith(this.renderHeading());
|
|
7157
|
-
fp.calendarContainer.append(this.renderMonthsPicker(fp));
|
|
7152
|
+
if (this.nativePicker) {
|
|
7153
|
+
return;
|
|
7158
7154
|
}
|
|
7155
|
+
fp.innerContainer.remove();
|
|
7156
|
+
fp.calendarContainer
|
|
7157
|
+
.querySelector('.flatpickr-monthDropdown-months')
|
|
7158
|
+
.replaceWith(this.renderHeading());
|
|
7159
|
+
fp.calendarContainer.append(this.renderMonthsPicker(fp));
|
|
7159
7160
|
}
|
|
7160
7161
|
renderHeading() {
|
|
7161
7162
|
return (createElement("span", { className: "datepicker-month-heading" }, this.getLocalizedHeading()));
|
|
@@ -7181,31 +7182,34 @@ class MonthPicker extends Picker {
|
|
|
7181
7182
|
.format('MMM')));
|
|
7182
7183
|
}
|
|
7183
7184
|
selectMonth(selectedDates, dateString, fp) {
|
|
7184
|
-
if (
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7185
|
+
if (this.nativePicker) {
|
|
7186
|
+
return;
|
|
7187
|
+
}
|
|
7188
|
+
for (const month of this.months) {
|
|
7189
|
+
month.classList.remove('selected');
|
|
7190
|
+
}
|
|
7191
|
+
if (dateString !== '' &&
|
|
7192
|
+
selectedDates[0] &&
|
|
7193
|
+
selectedDates[0].getFullYear() === fp.currentYear) {
|
|
7194
|
+
this.months[selectedDates[0].getMonth()].classList.add('selected');
|
|
7193
7195
|
}
|
|
7194
7196
|
}
|
|
7195
7197
|
prevYear() {
|
|
7196
|
-
if (
|
|
7197
|
-
|
|
7198
|
+
if (this.nativePicker) {
|
|
7199
|
+
return;
|
|
7198
7200
|
}
|
|
7201
|
+
this.flatpickr.changeMonth(-11);
|
|
7199
7202
|
}
|
|
7200
7203
|
nextYear() {
|
|
7201
|
-
if (
|
|
7202
|
-
|
|
7203
|
-
// stop flatpickr from moving one month on its own, so we let it do
|
|
7204
|
-
// that, and then move the other 11 months to make it a full year.
|
|
7205
|
-
// /Ads
|
|
7206
|
-
const monthsToMove = 11;
|
|
7207
|
-
this.flatpickr.changeMonth(monthsToMove);
|
|
7204
|
+
if (this.nativePicker) {
|
|
7205
|
+
return;
|
|
7208
7206
|
}
|
|
7207
|
+
// Preventing default or stopping the event from propagating doesn't
|
|
7208
|
+
// stop flatpickr from moving one month on its own, so we let it do
|
|
7209
|
+
// that, and then move the other 11 months to make it a full year.
|
|
7210
|
+
// /Ads
|
|
7211
|
+
const monthsToMove = 11;
|
|
7212
|
+
this.flatpickr.changeMonth(monthsToMove);
|
|
7209
7213
|
}
|
|
7210
7214
|
}
|
|
7211
7215
|
|
|
@@ -7225,10 +7229,11 @@ class QuarterPicker extends Picker {
|
|
|
7225
7229
|
}
|
|
7226
7230
|
init(element, container, value) {
|
|
7227
7231
|
super.init(element, container, value);
|
|
7228
|
-
if (
|
|
7229
|
-
|
|
7230
|
-
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7232
|
+
if (this.nativePicker) {
|
|
7233
|
+
return;
|
|
7231
7234
|
}
|
|
7235
|
+
this.flatpickr.prevMonthNav.addEventListener('mousedown', this.prevYear);
|
|
7236
|
+
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYear);
|
|
7232
7237
|
}
|
|
7233
7238
|
destroy() {
|
|
7234
7239
|
var _a, _b, _c, _d;
|
|
@@ -7251,23 +7256,23 @@ class QuarterPicker extends Picker {
|
|
|
7251
7256
|
handleChange(selectedDates, dateString, fp) {
|
|
7252
7257
|
this.selectQuarter(selectedDates, dateString, fp);
|
|
7253
7258
|
}
|
|
7254
|
-
handleClose(selectedDates) {
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
});
|
|
7259
|
+
async handleClose(selectedDates) {
|
|
7260
|
+
await super.handleClose(selectedDates);
|
|
7261
|
+
this.selectQuarter(this.flatpickr.selectedDates, this.flatpickr.input.value, this.flatpickr);
|
|
7258
7262
|
}
|
|
7259
7263
|
handleReady(_, __, fp) {
|
|
7260
7264
|
this.bootstrapQuarterPicker(fp);
|
|
7261
7265
|
this.selectQuarter(fp.selectedDates, fp.input.value, fp);
|
|
7262
7266
|
}
|
|
7263
7267
|
bootstrapQuarterPicker(fp) {
|
|
7264
|
-
if (
|
|
7265
|
-
|
|
7266
|
-
fp.calendarContainer
|
|
7267
|
-
.querySelectorAll('.flatpickr-monthDropdown-months')[0]
|
|
7268
|
-
.replaceWith(this.renderHeading());
|
|
7269
|
-
fp.calendarContainer.append(this.renderQuarterPicker(fp));
|
|
7268
|
+
if (this.nativePicker) {
|
|
7269
|
+
return;
|
|
7270
7270
|
}
|
|
7271
|
+
fp.innerContainer.remove();
|
|
7272
|
+
fp.calendarContainer
|
|
7273
|
+
.querySelector('.flatpickr-monthDropdown-months')
|
|
7274
|
+
.replaceWith(this.renderHeading());
|
|
7275
|
+
fp.calendarContainer.append(this.renderQuarterPicker(fp));
|
|
7271
7276
|
}
|
|
7272
7277
|
renderHeading() {
|
|
7273
7278
|
return (createElement("span", { className: "datepicker-quarter-heading" }, this.getLocalizedHeading()));
|
|
@@ -7305,30 +7310,34 @@ class QuarterPicker extends Picker {
|
|
|
7305
7310
|
});
|
|
7306
7311
|
}
|
|
7307
7312
|
selectQuarter(selectedDates, dateString, fp) {
|
|
7308
|
-
if (
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
selectedDates[0] &&
|
|
7314
|
-
selectedDates[0].getFullYear() === fp.currentYear) {
|
|
7315
|
-
const i = Math.floor(selectedDates[0].getMonth() / MONTHSPERQUARTER);
|
|
7316
|
-
const selectedQuarter = this.quarters[i];
|
|
7317
|
-
selectedQuarter.classList.add('selected');
|
|
7318
|
-
}
|
|
7313
|
+
if (this.nativePicker) {
|
|
7314
|
+
return;
|
|
7315
|
+
}
|
|
7316
|
+
for (const quarter of this.quarters) {
|
|
7317
|
+
quarter.classList.remove('selected');
|
|
7319
7318
|
}
|
|
7319
|
+
if (dateString === '' ||
|
|
7320
|
+
!selectedDates[0] ||
|
|
7321
|
+
selectedDates[0].getFullYear() !== fp.currentYear) {
|
|
7322
|
+
return;
|
|
7323
|
+
}
|
|
7324
|
+
const i = Math.floor(selectedDates[0].getMonth() / MONTHSPERQUARTER);
|
|
7325
|
+
const selectedQuarter = this.quarters[i];
|
|
7326
|
+
selectedQuarter.classList.add('selected');
|
|
7320
7327
|
}
|
|
7321
7328
|
prevYear(event) {
|
|
7322
|
-
if (
|
|
7323
|
-
|
|
7324
|
-
this.flatpickr.changeMonth(-NBROFMONTHS);
|
|
7329
|
+
if (this.nativePicker) {
|
|
7330
|
+
return;
|
|
7325
7331
|
}
|
|
7332
|
+
event.stopImmediatePropagation();
|
|
7333
|
+
this.flatpickr.changeMonth(-NBROFMONTHS);
|
|
7326
7334
|
}
|
|
7327
7335
|
nextYear(event) {
|
|
7328
|
-
if (
|
|
7329
|
-
|
|
7330
|
-
this.flatpickr.changeMonth(NBROFMONTHS);
|
|
7336
|
+
if (this.nativePicker) {
|
|
7337
|
+
return;
|
|
7331
7338
|
}
|
|
7339
|
+
event.stopImmediatePropagation();
|
|
7340
|
+
this.flatpickr.changeMonth(NBROFMONTHS);
|
|
7332
7341
|
}
|
|
7333
7342
|
}
|
|
7334
7343
|
|
|
@@ -7496,10 +7505,11 @@ class YearPicker extends Picker {
|
|
|
7496
7505
|
}
|
|
7497
7506
|
init(element, container, value) {
|
|
7498
7507
|
super.init(element, container, value);
|
|
7499
|
-
if (
|
|
7500
|
-
|
|
7501
|
-
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYears);
|
|
7508
|
+
if (this.nativePicker) {
|
|
7509
|
+
return;
|
|
7502
7510
|
}
|
|
7511
|
+
this.flatpickr.prevMonthNav.addEventListener('mousedown', this.prevYears);
|
|
7512
|
+
this.flatpickr.nextMonthNav.addEventListener('mousedown', this.nextYears);
|
|
7503
7513
|
}
|
|
7504
7514
|
destroy() {
|
|
7505
7515
|
var _a, _b, _c, _d;
|
|
@@ -7522,12 +7532,7 @@ class YearPicker extends Picker {
|
|
|
7522
7532
|
}
|
|
7523
7533
|
setSelectedYear() {
|
|
7524
7534
|
for (const year of this.yearElements) {
|
|
7525
|
-
|
|
7526
|
-
year.classList.add('selected');
|
|
7527
|
-
}
|
|
7528
|
-
else {
|
|
7529
|
-
year.classList.remove('selected');
|
|
7530
|
-
}
|
|
7535
|
+
year.classList.toggle('selected', year.textContent === this.selectedYear);
|
|
7531
7536
|
}
|
|
7532
7537
|
}
|
|
7533
7538
|
getConfig(nativePicker) {
|
|
@@ -7542,24 +7547,24 @@ class YearPicker extends Picker {
|
|
|
7542
7547
|
handleChange(selectedDates, dateString) {
|
|
7543
7548
|
this.selectYear(selectedDates, dateString);
|
|
7544
7549
|
}
|
|
7545
|
-
handleClose(selectedDates) {
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
});
|
|
7550
|
+
async handleClose(selectedDates) {
|
|
7551
|
+
await super.handleClose(selectedDates);
|
|
7552
|
+
this.selectYear(this.flatpickr.selectedDates, this.flatpickr.input.value);
|
|
7549
7553
|
}
|
|
7550
7554
|
handleReady(_, __, fp) {
|
|
7551
7555
|
this.bootstrapYearPicker(fp);
|
|
7552
7556
|
this.selectYear(fp.selectedDates, fp.input.value);
|
|
7553
7557
|
}
|
|
7554
7558
|
bootstrapYearPicker(fp) {
|
|
7555
|
-
if (
|
|
7556
|
-
|
|
7557
|
-
fp.currentYearElement.parentNode.remove();
|
|
7558
|
-
fp.calendarContainer
|
|
7559
|
-
.querySelectorAll('.flatpickr-month')[0]
|
|
7560
|
-
.replaceWith(this.renderHeading());
|
|
7561
|
-
fp.calendarContainer.append(this.renderYearPicker(fp));
|
|
7559
|
+
if (this.nativePicker) {
|
|
7560
|
+
return;
|
|
7562
7561
|
}
|
|
7562
|
+
fp.innerContainer.remove();
|
|
7563
|
+
fp.currentYearElement.parentNode.remove();
|
|
7564
|
+
fp.calendarContainer
|
|
7565
|
+
.querySelector('.flatpickr-month')
|
|
7566
|
+
.replaceWith(this.renderHeading());
|
|
7567
|
+
fp.calendarContainer.append(this.renderYearPicker(fp));
|
|
7563
7568
|
}
|
|
7564
7569
|
renderHeading() {
|
|
7565
7570
|
return (createElement("span", { className: "datepicker-year-heading flatpickr-current-month" }, this.getLocalizedHeading()));
|
|
@@ -7626,10 +7631,11 @@ class DeferredDestroy {
|
|
|
7626
7631
|
* Cancel the pending destroy callback, if any.
|
|
7627
7632
|
*/
|
|
7628
7633
|
cancel() {
|
|
7629
|
-
if (this.pendingDestroyTimer
|
|
7630
|
-
|
|
7631
|
-
this.pendingDestroyTimer = null;
|
|
7634
|
+
if (this.pendingDestroyTimer === null) {
|
|
7635
|
+
return;
|
|
7632
7636
|
}
|
|
7637
|
+
clearTimeout(this.pendingDestroyTimer);
|
|
7638
|
+
this.pendingDestroyTimer = null;
|
|
7633
7639
|
}
|
|
7634
7640
|
}
|
|
7635
7641
|
|
|
@@ -7666,15 +7672,15 @@ const DatePickerCalendar = class {
|
|
|
7666
7672
|
break;
|
|
7667
7673
|
}
|
|
7668
7674
|
case 'month': {
|
|
7669
|
-
this.picker = new MonthPicker(this.language, this.change, translations.
|
|
7675
|
+
this.picker = new MonthPicker(this.language, this.change, translations.translations, this.format);
|
|
7670
7676
|
break;
|
|
7671
7677
|
}
|
|
7672
7678
|
case 'quarter': {
|
|
7673
|
-
this.picker = new QuarterPicker(this.language, this.change, translations.
|
|
7679
|
+
this.picker = new QuarterPicker(this.language, this.change, translations.translations, this.format);
|
|
7674
7680
|
break;
|
|
7675
7681
|
}
|
|
7676
7682
|
case 'year': {
|
|
7677
|
-
this.picker = new YearPicker(this.language, this.change, translations.
|
|
7683
|
+
this.picker = new YearPicker(this.language, this.change, translations.translations, this.format);
|
|
7678
7684
|
break;
|
|
7679
7685
|
}
|
|
7680
7686
|
default: {
|
|
@@ -7718,8 +7724,8 @@ const DatePickerCalendar = class {
|
|
|
7718
7724
|
});
|
|
7719
7725
|
}
|
|
7720
7726
|
render() {
|
|
7721
|
-
return (index.h("div", { key: '
|
|
7722
|
-
'--today-label': `"${translations.
|
|
7727
|
+
return (index.h("div", { key: '7e048e91687bf7ede4147a08304b22ff6f6e10c0', class: "container", ref: (el) => (this.container = el), style: {
|
|
7728
|
+
'--today-label': `"${translations.translations.get('date-picker.today', this.language)}"`,
|
|
7723
7729
|
} }));
|
|
7724
7730
|
}
|
|
7725
7731
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-BlsqxTB1.js');
|
|
4
4
|
|
|
5
5
|
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}`;
|
|
6
6
|
|
|
@@ -28,7 +28,7 @@ const FlexContainer = class {
|
|
|
28
28
|
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');
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return index.h("slot", { key: '
|
|
31
|
+
return index.h("slot", { key: 'b198feb938d5eb26cf1f96aa6cbfd412c843a3b1' });
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
FlexContainer.style = flexContainerCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('./index
|
|
3
|
+
var index$1 = require('./index-BlsqxTB1.js');
|
|
4
4
|
var _commonjsHelpers = require('./_commonjsHelpers-CFO10eej.js');
|
|
5
5
|
var _baseIteratee = require('./_baseIteratee-BIMRm4nq.js');
|
|
6
6
|
var isEmpty = require('./isEmpty-CCxl3bYc.js');
|
|
@@ -12,7 +12,7 @@ var _baseSet = require('./_baseSet-DykMx7uF.js');
|
|
|
12
12
|
var isArrayLikeObject = require('./isArrayLikeObject-U2Ddbw4n.js');
|
|
13
13
|
var _baseIsEqual = require('./_baseIsEqual-zzV9DKMv.js');
|
|
14
14
|
var _getTag = require('./_getTag-BC28Za7d.js');
|
|
15
|
-
var moment = require('./moment-
|
|
15
|
+
var moment = require('./moment-Cfsz2WF1.js');
|
|
16
16
|
var cloneDeep = require('./cloneDeep-D2immmwT.js');
|
|
17
17
|
var multiple = require('./multiple-DYfiga7l.js');
|
|
18
18
|
var _assignValue = require('./_assignValue-DQh76m39.js');
|
|
@@ -298,6 +298,30 @@ function capitalize(string) {
|
|
|
298
298
|
return upperFirst(_baseIteratee.toString(string).toLowerCase());
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Checks if `value` is `null` or `undefined`.
|
|
303
|
+
*
|
|
304
|
+
* @static
|
|
305
|
+
* @memberOf _
|
|
306
|
+
* @since 4.0.0
|
|
307
|
+
* @category Lang
|
|
308
|
+
* @param {*} value The value to check.
|
|
309
|
+
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
|
310
|
+
* @example
|
|
311
|
+
*
|
|
312
|
+
* _.isNil(null);
|
|
313
|
+
* // => true
|
|
314
|
+
*
|
|
315
|
+
* _.isNil(void 0);
|
|
316
|
+
* // => true
|
|
317
|
+
*
|
|
318
|
+
* _.isNil(NaN);
|
|
319
|
+
* // => false
|
|
320
|
+
*/
|
|
321
|
+
function isNil(value) {
|
|
322
|
+
return value == null;
|
|
323
|
+
}
|
|
324
|
+
|
|
301
325
|
/**
|
|
302
326
|
* Creates an object with the same keys as `object` and values generated
|
|
303
327
|
* by running each own enumerable string keyed property of `object` thru
|
|
@@ -43743,26 +43767,26 @@ function renderDescription(description) {
|
|
|
43743
43767
|
* @returns describing title of the data
|
|
43744
43768
|
*/
|
|
43745
43769
|
function findTitle(data, fieldSchema, formSchema) {
|
|
43746
|
-
|
|
43747
|
-
|
|
43748
|
-
|
|
43749
|
-
|
|
43750
|
-
|
|
43751
|
-
|
|
43752
|
-
|
|
43753
|
-
|
|
43754
|
-
|
|
43755
|
-
|
|
43756
|
-
|
|
43757
|
-
|
|
43758
|
-
|
|
43759
|
-
|
|
43760
|
-
|
|
43761
|
-
|
|
43762
|
-
|
|
43770
|
+
while (data) {
|
|
43771
|
+
if (Array.isArray(data) &&
|
|
43772
|
+
isObjectType(fieldSchema.items)) {
|
|
43773
|
+
data = data[0];
|
|
43774
|
+
continue;
|
|
43775
|
+
}
|
|
43776
|
+
if (Array.isArray(data) || typeof data !== 'object') {
|
|
43777
|
+
return findSchemaTitle(data, fieldSchema);
|
|
43778
|
+
}
|
|
43779
|
+
const subSchema = findSubSchema(fieldSchema, formSchema);
|
|
43780
|
+
data = sortDataByProperties(data, subSchema.properties);
|
|
43781
|
+
const firstEntry = findFirstEntry(data, subSchema);
|
|
43782
|
+
if (!firstEntry || !subSchema.properties) {
|
|
43783
|
+
return null;
|
|
43784
|
+
}
|
|
43785
|
+
const [key, value] = firstEntry;
|
|
43786
|
+
data = value;
|
|
43787
|
+
fieldSchema = subSchema.properties[key];
|
|
43763
43788
|
}
|
|
43764
|
-
|
|
43765
|
-
return findTitle(value, subSchema.properties[key], formSchema);
|
|
43789
|
+
return null;
|
|
43766
43790
|
}
|
|
43767
43791
|
function sortDataByProperties(data, properties) {
|
|
43768
43792
|
if (!properties || isEmpty.isEmpty(properties)) {
|
|
@@ -46634,10 +46658,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46634
46658
|
if (items.length === 0) {
|
|
46635
46659
|
return [];
|
|
46636
46660
|
}
|
|
46637
|
-
const byKey = new Map();
|
|
46638
|
-
for (const [index, item] of items.entries()) {
|
|
46639
|
-
byKey.set(index, item);
|
|
46640
|
-
}
|
|
46661
|
+
const byKey = new Map(items.entries());
|
|
46641
46662
|
const ordered = [];
|
|
46642
46663
|
const used = new Set();
|
|
46643
46664
|
for (const index of this.state.order) {
|
|
@@ -46648,7 +46669,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46648
46669
|
ordered.push(entry);
|
|
46649
46670
|
used.add(index);
|
|
46650
46671
|
}
|
|
46651
|
-
for (const [index, entry] of byKey
|
|
46672
|
+
for (const [index, entry] of byKey) {
|
|
46652
46673
|
if (!used.has(index)) {
|
|
46653
46674
|
ordered.push(entry);
|
|
46654
46675
|
}
|
|
@@ -46753,7 +46774,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46753
46774
|
}
|
|
46754
46775
|
const target = this.dropElevationTarget;
|
|
46755
46776
|
this.clearDropElevationTimer();
|
|
46756
|
-
this.dropElevationTimeout =
|
|
46777
|
+
this.dropElevationTimeout = setTimeout(() => {
|
|
46757
46778
|
target.classList.remove(DEFAULT_DROP_ELEVATION_CLASS);
|
|
46758
46779
|
if (this.dropElevationTarget === target) {
|
|
46759
46780
|
this.dropElevationTarget = undefined;
|
|
@@ -46762,10 +46783,11 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46762
46783
|
}, DROP_ELEVATION_DURATION);
|
|
46763
46784
|
}
|
|
46764
46785
|
clearDropElevationTimer() {
|
|
46765
|
-
if (this.dropElevationTimeout
|
|
46766
|
-
|
|
46767
|
-
this.dropElevationTimeout = undefined;
|
|
46786
|
+
if (this.dropElevationTimeout === undefined) {
|
|
46787
|
+
return;
|
|
46768
46788
|
}
|
|
46789
|
+
clearTimeout(this.dropElevationTimeout);
|
|
46790
|
+
this.dropElevationTimeout = undefined;
|
|
46769
46791
|
}
|
|
46770
46792
|
arraysEqual(a, b) {
|
|
46771
46793
|
if (a.length !== b.length) {
|
|
@@ -46804,6 +46826,7 @@ class ArrayFieldTemplate extends React.Component {
|
|
|
46804
46826
|
* @param data
|
|
46805
46827
|
*/
|
|
46806
46828
|
function isInteger(data) {
|
|
46829
|
+
// eslint-disable-next-line unicorn/prefer-number-is-safe-integer -- integers beyond the safe range must still validate
|
|
46807
46830
|
return Number.isInteger(Number(data));
|
|
46808
46831
|
}
|
|
46809
46832
|
|
|
@@ -47224,7 +47247,7 @@ function getSchemaObjectPropertyPath(schema, fieldPathId) {
|
|
|
47224
47247
|
var _a, _b;
|
|
47225
47248
|
const refPrefixLength = 2;
|
|
47226
47249
|
const matchAllForwardSlashes = /\//g;
|
|
47227
|
-
const rootPath = (_b = (_a = schema.$ref) === null || _a === void 0 ? void 0 : _a.
|
|
47250
|
+
const rootPath = (_b = (_a = schema.$ref) === null || _a === void 0 ? void 0 : _a.replaceAll(matchAllForwardSlashes, '.').slice(refPrefixLength)) !== null && _b !== void 0 ? _b : '';
|
|
47228
47251
|
const subSchemaPath = fieldPathId.path
|
|
47229
47252
|
.map((segment) => `.properties.${segment}`)
|
|
47230
47253
|
.join('');
|
|
@@ -47287,7 +47310,7 @@ function isCollapsed(schema) {
|
|
|
47287
47310
|
* @returns `true` when the field holds meaningful data
|
|
47288
47311
|
*/
|
|
47289
47312
|
function hasValue(value) {
|
|
47290
|
-
if (value
|
|
47313
|
+
if (isNil(value) || value === '') {
|
|
47291
47314
|
return false;
|
|
47292
47315
|
}
|
|
47293
47316
|
if (Array.isArray(value)) {
|
|
@@ -47561,9 +47584,7 @@ class DatePicker extends React.Component {
|
|
|
47561
47584
|
if (typeof this.props.value === 'string') {
|
|
47562
47585
|
return new Date(this.props.value);
|
|
47563
47586
|
}
|
|
47564
|
-
|
|
47565
|
-
return this.props.value;
|
|
47566
|
-
}
|
|
47587
|
+
return this.props.value;
|
|
47567
47588
|
}
|
|
47568
47589
|
handleChange(event) {
|
|
47569
47590
|
const props = this.props;
|
|
@@ -47771,13 +47792,13 @@ class SchemaField extends React.Component {
|
|
|
47771
47792
|
}
|
|
47772
47793
|
render() {
|
|
47773
47794
|
var _a;
|
|
47774
|
-
const schema = this.props.schema;
|
|
47775
47795
|
if ((_a = this.props.schema.lime) === null || _a === void 0 ? void 0 : _a.hidden) {
|
|
47776
47796
|
return null;
|
|
47777
47797
|
}
|
|
47778
47798
|
if (hasCustomComponent(this.props.schema)) {
|
|
47779
47799
|
return this.renderCustomComponent(this.props);
|
|
47780
47800
|
}
|
|
47801
|
+
const schema = this.props.schema;
|
|
47781
47802
|
const fieldProps = Object.assign(Object.assign({}, this.props), { onChange: this.handleChange });
|
|
47782
47803
|
if (this.props.schema.format === 'time') {
|
|
47783
47804
|
fieldProps.uiSchema = Object.assign({ 'ui:widget': TimePicker }, fieldProps.uiSchema);
|
|
@@ -48005,7 +48026,7 @@ class CodeEditor extends React.Component {
|
|
|
48005
48026
|
const props = this.props;
|
|
48006
48027
|
let value = '{}';
|
|
48007
48028
|
try {
|
|
48008
|
-
value = JSON.stringify(props.formData, null, '
|
|
48029
|
+
value = JSON.stringify(props.formData, null, ' '.repeat(4));
|
|
48009
48030
|
}
|
|
48010
48031
|
catch (_a) {
|
|
48011
48032
|
// N/A
|
|
@@ -48080,16 +48101,13 @@ function findFirstError(schema) {
|
|
|
48080
48101
|
return errors[0];
|
|
48081
48102
|
}
|
|
48082
48103
|
}
|
|
48083
|
-
for (const key of Object.
|
|
48084
|
-
if (key === '__errors') {
|
|
48104
|
+
for (const [key, nested] of Object.entries(schema)) {
|
|
48105
|
+
if (key === '__errors' || !nested || typeof nested !== 'object') {
|
|
48085
48106
|
continue;
|
|
48086
48107
|
}
|
|
48087
|
-
const
|
|
48088
|
-
if (
|
|
48089
|
-
|
|
48090
|
-
if (found) {
|
|
48091
|
-
return `${key}: ${found}`;
|
|
48092
|
-
}
|
|
48108
|
+
const found = findFirstError(nested);
|
|
48109
|
+
if (found) {
|
|
48110
|
+
return `${key}: ${found}`;
|
|
48093
48111
|
}
|
|
48094
48112
|
}
|
|
48095
48113
|
return undefined;
|
|
@@ -48423,10 +48441,7 @@ const Form = class {
|
|
|
48423
48441
|
this.initialize();
|
|
48424
48442
|
}
|
|
48425
48443
|
initialize() {
|
|
48426
|
-
if (this.initialized) {
|
|
48427
|
-
return;
|
|
48428
|
-
}
|
|
48429
|
-
if (!this.host.shadowRoot.querySelector('.root')) {
|
|
48444
|
+
if (this.initialized || !this.host.shadowRoot.querySelector('.root')) {
|
|
48430
48445
|
return;
|
|
48431
48446
|
}
|
|
48432
48447
|
this.initialized = true;
|
|
@@ -48445,7 +48460,7 @@ const Form = class {
|
|
|
48445
48460
|
this.initialized = false;
|
|
48446
48461
|
}
|
|
48447
48462
|
render() {
|
|
48448
|
-
return index$1.h("div", { key: '
|
|
48463
|
+
return index$1.h("div", { key: '843ccbe06e291ffa1958da88634f4aee41007f2b', class: "root" });
|
|
48449
48464
|
}
|
|
48450
48465
|
reactRender() {
|
|
48451
48466
|
if (!this.root) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index
|
|
3
|
+
var index = require('./index-BlsqxTB1.js');
|
|
4
4
|
|
|
5
5
|
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%}`;
|
|
6
6
|
|
|
@@ -12,7 +12,7 @@ const Grid = class {
|
|
|
12
12
|
console.warn('limel-grid is deprecated, please use CSS instead: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout');
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return index.h("slot", { key: '
|
|
15
|
+
return index.h("slot", { key: '4928fa4c63f2db778bde762470299c8bf05952b3' });
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
Grid.style = gridCss();
|