@limetech/lime-elements 40.15.0 → 40.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/_Map-BsuE0Kgq.js +57 -0
- package/dist/cjs/_arrayPush-0Rd-eNkQ.js +420 -0
- package/dist/cjs/_baseFlatten-BonTAUIo.js +199 -0
- package/dist/cjs/{_baseForOwn-8jMPwf3X.js → _baseForOwn-Bflq946d.js} +1 -1
- package/dist/cjs/{_baseIsEqual-zzV9DKMv.js → _baseIsEqual-DNSR68qD.js} +16 -428
- package/dist/cjs/_baseIteratee-Cistiy8H.js +263 -0
- package/dist/cjs/{_baseSet-DykMx7uF.js → _basePickBy-DeOMws-h.js} +29 -43
- package/dist/cjs/{_getPrototype-CCLHkBHj.js → _getPrototype-D74M8h-k.js} +1 -1
- package/dist/cjs/{_getTag-BC28Za7d.js → _getTag-CxGZ3DRt.js} +7 -57
- package/dist/cjs/{cloneDeep-D2immmwT.js → cloneDeep-CiuKX6HE.js} +3 -3
- package/dist/cjs/{drag-to-reorder-BP5YkPuu.js → drag-to-reorder-BmVz_kUy.js} +3 -193
- package/dist/cjs/{_baseIteratee-BIMRm4nq.js → hasIn-BQ92Jk0F.js} +10 -264
- package/dist/cjs/help-props-Ds30nnt1.js +90 -0
- package/dist/cjs/isArrayLike-0-cyPB5I.js +35 -0
- package/dist/cjs/{isEmpty-CCxl3bYc.js → isEmpty-BsdhcVKT.js} +4 -3
- package/dist/cjs/{isEqual-D3eFkhqd.js → isEqual-QhCilNoo.js} +1 -1
- package/dist/cjs/isLength-DvlFY_9S.js +37 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
- package/dist/cjs/limel-action-bar_3.cjs.entry.js +3 -3
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-badge.cjs.entry.js +2 -2
- package/dist/cjs/limel-banner.cjs.entry.js +1 -1
- package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +6 -6
- package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-card.cjs.entry.js +1 -1
- package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip-set.cjs.entry.js +11 -8
- package/dist/cjs/limel-chip_2.cjs.entry.js +7 -5
- package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-diff.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
- package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +12 -9
- package/dist/cjs/limel-dock.cjs.entry.js +2 -2
- package/dist/cjs/limel-drag-handle_2.cjs.entry.js +3 -3
- package/dist/cjs/limel-email-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +14 -10
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +3 -2
- package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
- package/dist/cjs/limel-form-header.cjs.entry.js +59 -0
- package/dist/cjs/limel-form.cjs.entry.js +140 -45
- package/dist/cjs/limel-grid.cjs.entry.js +1 -1
- package/dist/cjs/limel-header.cjs.entry.js +1 -1
- package/dist/cjs/{limel-help.cjs.entry.js → limel-help_2.cjs.entry.js} +22 -2
- package/dist/cjs/limel-helper-line_3.cjs.entry.js +4 -4
- package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
- package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
- package/dist/cjs/limel-icon.cjs.entry.js +1 -1
- package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
- package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
- package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
- package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
- package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
- package/dist/cjs/limel-pagination.cjs.entry.js +1 -1
- package/dist/cjs/limel-picker.cjs.entry.js +1 -1
- package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +13 -10
- package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-resize-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-select.cjs.entry.js +1 -1
- package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
- package/dist/cjs/limel-side-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-slider.cjs.entry.js +3 -3
- package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
- package/dist/cjs/limel-switch.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +14 -10
- package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +21 -41
- package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +3 -3
- package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/negate-Bg3SqQh6.js +42 -0
- 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-overflow-menu.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +2 -2
- package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
- package/dist/collection/components/badge/badge.js +2 -2
- package/dist/collection/components/banner/banner.js +1 -1
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
- package/dist/collection/components/button/button.js +2 -2
- package/dist/collection/components/button-group/button-group.js +1 -1
- package/dist/collection/components/callout/callout.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip-set/chip-set.js +1 -1
- package/dist/collection/components/circular-progress/circular-progress.js +1 -1
- package/dist/collection/components/code-diff/code-diff.js +1 -1
- package/dist/collection/components/code-editor/code-editor.js +1 -1
- package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
- package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
- package/dist/collection/components/dialog/dialog.js +2 -2
- package/dist/collection/components/dock/dock.js +2 -2
- package/dist/collection/components/drag-handle/drag-handle.js +1 -1
- package/dist/collection/components/email-viewer/email-viewer.js +1 -1
- package/dist/collection/components/file/file.js +1 -1
- package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
- package/dist/collection/components/file-input/file-input.js +1 -1
- package/dist/collection/components/flex-container/flex-container.js +1 -1
- package/dist/collection/components/form/fields/object-field.js +2 -2
- package/dist/collection/components/form/form.css +21 -21
- package/dist/collection/components/form/form.js +60 -3
- package/dist/collection/components/form/form.test-schemas.js +62 -0
- package/dist/collection/components/form/help/help.js +2 -5
- package/dist/collection/components/form/row/row.js +4 -1
- package/dist/collection/components/form/templates/array-field.js +4 -4
- package/dist/collection/components/form/templates/common.js +21 -4
- package/dist/collection/components/form/templates/heading-level.js +51 -0
- package/dist/collection/components/form/templates/object-field.js +3 -9
- package/dist/collection/components/form-header/form-header.css +3 -0
- package/dist/collection/components/form-header/form-header.js +163 -0
- package/dist/collection/components/form-header/help-props.js +17 -0
- package/dist/collection/components/grid/grid.js +1 -1
- package/dist/collection/components/header/header.js +1 -1
- package/dist/collection/components/help/help-content.js +1 -1
- package/dist/collection/components/help/help.js +2 -2
- package/dist/collection/components/helper-line/helper-line.js +2 -2
- package/dist/collection/components/hotkey/hotkey.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/info-tile/info-tile.js +2 -2
- package/dist/collection/components/input-field/input-field.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-item/list-item.js +2 -2
- package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
- package/dist/collection/components/markdown/markdown.js +1 -1
- package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
- package/dist/collection/components/menu/menu.js +1 -1
- package/dist/collection/components/menu-list/menu-list.js +1 -1
- package/dist/collection/components/menu-surface/menu-surface.js +1 -1
- package/dist/collection/components/notched-outline/notched-outline.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/popover/popover.js +1 -1
- package/dist/collection/components/popover-surface/popover-surface.js +1 -1
- package/dist/collection/components/portal/portal.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button.js +2 -2
- package/dist/collection/components/resize-handle/resize-handle.js +1 -1
- package/dist/collection/components/scroller/scroller.js +2 -2
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shortcut/shortcut.js +1 -1
- package/dist/collection/components/side-panel/side-panel.js +1 -1
- package/dist/collection/components/slider/slider.js +3 -3
- package/dist/collection/components/snackbar/snackbar.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-button/split-button.js +2 -2
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab-bar/tab-bar.js +1 -1
- package/dist/collection/components/tab-panel/tab-panel.js +1 -1
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
- package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
- package/dist/collection/components/text-editor/text-editor.js +1 -1
- package/dist/collection/components/tooltip/tooltip-content.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +2 -2
- package/dist/esm/_Map-LWJCQc-c.js +54 -0
- package/dist/esm/_arrayPush-NEl7BpFy.js +416 -0
- package/dist/esm/_baseFlatten-mvFj07qD.js +195 -0
- package/dist/esm/{_baseForOwn-vKFWmmaS.js → _baseForOwn-C3COyhQS.js} +1 -1
- package/dist/esm/{_baseIsEqual-B_JRErB0.js → _baseIsEqual-CJf575VC.js} +9 -419
- package/dist/esm/_baseIteratee-DM5xljbg.js +260 -0
- package/dist/esm/{_baseSet-BUAq8NGm.js → _basePickBy-D_9Hus6l.js} +27 -41
- package/dist/esm/{_getPrototype-B0kMNv1F.js → _getPrototype-CQlOogH0.js} +1 -1
- package/dist/esm/{_getTag-BiAaLWvH.js → _getTag-BTNY_Z_q.js} +5 -53
- package/dist/esm/{cloneDeep-Bcll-3f8.js → cloneDeep-BYrS7zqD.js} +3 -3
- package/dist/esm/{drag-to-reorder-BXmXIwCa.js → drag-to-reorder-9gxiYkIo.js} +3 -192
- package/dist/esm/{_baseIteratee-CVz7aes3.js → hasIn-CKUl04DZ.js} +5 -259
- package/dist/esm/help-props-DULV6dHr.js +88 -0
- package/dist/esm/isArrayLike-wfLI14yj.js +33 -0
- package/dist/esm/{isEmpty-BGVZ12Ea.js → isEmpty-CvLNUkER.js} +3 -2
- package/dist/esm/{isEqual-C-pK6AAU.js → isEqual-BIfg0KPc.js} +1 -1
- package/dist/esm/isLength-BZrtP4vv.js +35 -0
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
- package/dist/esm/limel-action-bar_3.entry.js +3 -3
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-badge.entry.js +2 -2
- package/dist/esm/limel-banner.entry.js +1 -1
- package/dist/esm/limel-breadcrumbs_6.entry.js +6 -6
- package/dist/esm/limel-button-group.entry.js +1 -1
- package/dist/esm/limel-button.entry.js +2 -2
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-card.entry.js +1 -1
- package/dist/esm/limel-checkbox.entry.js +1 -1
- package/dist/esm/limel-chip-set.entry.js +11 -8
- package/dist/esm/limel-chip_2.entry.js +7 -5
- package/dist/esm/limel-circular-progress.entry.js +1 -1
- package/dist/esm/limel-code-diff.entry.js +1 -1
- package/dist/esm/limel-code-editor.entry.js +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- package/dist/esm/limel-color-picker-palette.entry.js +2 -2
- package/dist/esm/limel-color-picker.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +12 -9
- package/dist/esm/limel-dock.entry.js +2 -2
- package/dist/esm/limel-drag-handle_2.entry.js +3 -3
- package/dist/esm/limel-email-viewer.entry.js +1 -1
- package/dist/esm/limel-file-dropzone_2.entry.js +14 -10
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +3 -2
- package/dist/esm/limel-flex-container.entry.js +1 -1
- package/dist/esm/limel-form-header.entry.js +57 -0
- package/dist/esm/limel-form.entry.js +136 -41
- package/dist/esm/limel-grid.entry.js +1 -1
- package/dist/esm/limel-header.entry.js +1 -1
- package/dist/esm/{limel-help.entry.js → limel-help_2.entry.js} +22 -3
- package/dist/esm/limel-helper-line_3.entry.js +4 -4
- package/dist/esm/limel-hotkey_4.entry.js +5 -5
- package/dist/esm/limel-icon-button.entry.js +1 -1
- package/dist/esm/limel-icon.entry.js +1 -1
- package/dist/esm/limel-info-tile.entry.js +2 -2
- package/dist/esm/limel-list-item.entry.js +2 -2
- package/dist/esm/limel-markdown.entry.js +1 -1
- package/dist/esm/limel-masonry-layout.entry.js +1 -1
- package/dist/esm/limel-menu-item-meta.entry.js +1 -1
- package/dist/esm/limel-pagination.entry.js +1 -1
- package/dist/esm/limel-picker.entry.js +1 -1
- package/dist/esm/limel-popover_2.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +13 -10
- package/dist/esm/limel-radio-button-group.entry.js +1 -1
- package/dist/esm/limel-radio-button.entry.js +2 -2
- package/dist/esm/limel-resize-handle.entry.js +1 -1
- package/dist/esm/limel-select.entry.js +1 -1
- package/dist/esm/limel-shortcut.entry.js +1 -1
- package/dist/esm/limel-side-panel.entry.js +1 -1
- package/dist/esm/limel-slider.entry.js +3 -3
- package/dist/esm/limel-snackbar.entry.js +2 -2
- package/dist/esm/limel-split-button.entry.js +2 -2
- package/dist/esm/limel-switch.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +14 -10
- package/dist/esm/limel-tab-panel.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +16 -36
- package/dist/esm/limel-text-editor-link-menu.entry.js +3 -3
- package/dist/esm/limel-text-editor.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/negate-ooVD-6_a.js +40 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-1d6014ed.entry.js → p-05c1f5a0.entry.js} +1 -1
- package/dist/lime-elements/p-0c314c3c.entry.js +1 -0
- package/dist/lime-elements/{p-aac603af.entry.js → p-153e91e1.entry.js} +1 -1
- package/dist/lime-elements/{p-f455150b.entry.js → p-164e1ad0.entry.js} +1 -1
- package/dist/lime-elements/{p-67536ac3.entry.js → p-19681a98.entry.js} +1 -1
- package/dist/lime-elements/{p-6e9c34f9.entry.js → p-1d13245d.entry.js} +1 -1
- package/dist/lime-elements/{p-87c9f4de.entry.js → p-22c44279.entry.js} +1 -1
- package/dist/lime-elements/{p-7375fac2.entry.js → p-26347009.entry.js} +1 -1
- package/dist/lime-elements/{p-f0e3a147.entry.js → p-27d7c255.entry.js} +2 -2
- package/dist/lime-elements/{p-3fa66fb1.entry.js → p-29815107.entry.js} +1 -1
- package/dist/lime-elements/{p-27d375f3.entry.js → p-2a375a65.entry.js} +1 -1
- package/dist/lime-elements/{p-aee75ad1.entry.js → p-2c29c27f.entry.js} +1 -1
- package/dist/lime-elements/{p-19426c76.entry.js → p-2f5face5.entry.js} +1 -1
- package/dist/lime-elements/{p-8f133cd6.entry.js → p-3ae5fb67.entry.js} +1 -1
- package/dist/lime-elements/{p-bb40b96c.entry.js → p-3c861ca8.entry.js} +1 -1
- package/dist/lime-elements/{p-f96a8e2c.entry.js → p-40a48f70.entry.js} +1 -1
- package/dist/lime-elements/p-513d2a5e.entry.js +1 -0
- package/dist/lime-elements/{p-9e9187ce.entry.js → p-519603f5.entry.js} +1 -1
- package/dist/lime-elements/{p-4a381bc6.entry.js → p-545c087b.entry.js} +1 -1
- package/dist/lime-elements/{p-89316964.entry.js → p-55abec82.entry.js} +1 -1
- package/dist/lime-elements/{p-8e78fd4f.entry.js → p-55f7c9f5.entry.js} +1 -1
- package/dist/lime-elements/{p-2370ff51.entry.js → p-565e5ea7.entry.js} +1 -1
- package/dist/lime-elements/{p-3b4f6329.entry.js → p-586ee40c.entry.js} +1 -1
- package/dist/lime-elements/{p-ddabfac0.entry.js → p-5f2a34ed.entry.js} +1 -1
- package/dist/lime-elements/{p-dd065596.entry.js → p-5f82ea0b.entry.js} +1 -1
- package/dist/lime-elements/{p-82672504.entry.js → p-65eafc85.entry.js} +1 -1
- package/dist/lime-elements/p-67acf39d.entry.js +1 -0
- package/dist/lime-elements/{p-d1eaba10.entry.js → p-6aae3f58.entry.js} +1 -1
- package/dist/lime-elements/p-7035d93d.entry.js +1 -0
- package/dist/lime-elements/{p-674680f9.entry.js → p-707d4b28.entry.js} +1 -1
- package/dist/lime-elements/{p-068b141b.entry.js → p-713a1158.entry.js} +1 -1
- package/dist/lime-elements/{p-d94f1c0f.entry.js → p-7235d147.entry.js} +1 -1
- package/dist/lime-elements/p-72907ffd.entry.js +1 -0
- package/dist/lime-elements/{p-242f1032.entry.js → p-7aae3d13.entry.js} +1 -1
- package/dist/lime-elements/{p-88dcba1e.entry.js → p-7af16e1d.entry.js} +1 -1
- package/dist/lime-elements/{p-56fe13ef.entry.js → p-7d27d572.entry.js} +1 -1
- package/dist/lime-elements/{p-8339d921.entry.js → p-7f1a1ed5.entry.js} +1 -1
- package/dist/lime-elements/{p-3f447d22.entry.js → p-8045eb7f.entry.js} +1 -1
- package/dist/lime-elements/p-813cb15c.entry.js +1 -0
- package/dist/lime-elements/{p-0de00849.entry.js → p-9436aba6.entry.js} +4 -4
- package/dist/lime-elements/{p-b5ebcbfc.entry.js → p-9e30d206.entry.js} +1 -1
- package/dist/lime-elements/p-BIYP3lTf.js +1 -0
- package/dist/lime-elements/p-BZrtP4vv.js +1 -0
- package/dist/lime-elements/p-BqoaAMnl.js +1 -0
- package/dist/lime-elements/p-BuX-Eb_J.js +1 -0
- package/dist/lime-elements/p-C-Qy5a39.js +1 -0
- package/dist/lime-elements/p-Cn3Alk9P.js +1 -0
- package/dist/lime-elements/p-CnpoFRmN.js +1 -0
- package/dist/lime-elements/p-CzTSYn-I.js +1 -0
- package/dist/lime-elements/p-D5dy3YDO.js +1 -0
- package/dist/lime-elements/p-DVx8ZwG_.js +7 -0
- package/dist/lime-elements/p-DWd0MyPU.js +1 -0
- package/dist/lime-elements/p-DpFfRQwV.js +1 -0
- package/dist/lime-elements/p-UDFTKggt.js +1 -0
- package/dist/lime-elements/{p-9d354eca.entry.js → p-a608ebe3.entry.js} +1 -1
- package/dist/lime-elements/p-a81f6962.entry.js +1 -0
- package/dist/lime-elements/{p-6770cf06.entry.js → p-af53caab.entry.js} +1 -1
- package/dist/lime-elements/{p-150010b5.entry.js → p-b80433be.entry.js} +1 -1
- package/dist/lime-elements/{p-e13e0001.entry.js → p-b983531f.entry.js} +3 -3
- package/dist/lime-elements/{p-e9b1e0bd.entry.js → p-be0a8125.entry.js} +1 -1
- package/dist/lime-elements/{p-f0bf3fd1.entry.js → p-be2b8c1e.entry.js} +1 -1
- package/dist/lime-elements/p-c2_jcMp6.js +1 -0
- package/dist/lime-elements/{p-de3cf7d8.entry.js → p-c73f4160.entry.js} +1 -1
- package/dist/lime-elements/{p-5ea07cbe.entry.js → p-cc8d6198.entry.js} +1 -1
- package/dist/lime-elements/{p-026eed2d.entry.js → p-cced022b.entry.js} +1 -1
- package/dist/lime-elements/{p-BAqAt5It.js → p-cv8kR73y.js} +1 -1
- package/dist/lime-elements/{p-be8950a6.entry.js → p-d0908a85.entry.js} +2 -2
- package/dist/lime-elements/{p-17aa9235.entry.js → p-da4b4a81.entry.js} +1 -1
- package/dist/lime-elements/{p-5d623004.entry.js → p-dd383c12.entry.js} +1 -1
- package/dist/lime-elements/{p-41172b62.entry.js → p-e0ab0046.entry.js} +1 -1
- package/dist/lime-elements/{p-8a9361a2.entry.js → p-eb5a18ff.entry.js} +1 -1
- package/dist/lime-elements/p-f35880ef.entry.js +1 -0
- package/dist/lime-elements/p-f8566c5b.entry.js +1 -0
- package/dist/lime-elements/{p-64540beb.entry.js → p-fad7a3fa.entry.js} +1 -1
- package/dist/lime-elements/p-fdc7da58.entry.js +1 -0
- package/dist/lime-elements/p-ooVD-6_a.js +1 -0
- package/dist/lime-elements/p-rJbGuVxd.js +1 -0
- package/dist/lime-elements/p-xGeCwSnE.js +1 -0
- package/dist/types/components/form/form.d.ts +15 -1
- package/dist/types/components/form/form.test-schemas.d.ts +4 -0
- package/dist/types/components/form/form.types.d.ts +6 -0
- package/dist/types/components/form/help/help.d.ts +0 -2
- package/dist/types/components/form/row/row.d.ts +3 -0
- package/dist/types/components/form/templates/common.d.ts +17 -4
- package/dist/types/components/form/templates/heading-level.d.ts +49 -0
- package/dist/types/components/form-header/form-header.d.ts +47 -0
- package/dist/types/components/form-header/help-props.d.ts +7 -0
- package/dist/types/components.d.ts +140 -2
- package/dist/types/interface.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/isArrayLike-C2RwZMG4.js +0 -69
- package/dist/cjs/limel-help-content.cjs.entry.js +0 -24
- package/dist/esm/isArrayLike-CyVGB489.js +0 -66
- package/dist/esm/limel-help-content.entry.js +0 -22
- package/dist/lime-elements/p-047c3234.entry.js +0 -1
- package/dist/lime-elements/p-09f8f883.entry.js +0 -1
- package/dist/lime-elements/p-5633c069.entry.js +0 -1
- package/dist/lime-elements/p-600466a9.entry.js +0 -1
- package/dist/lime-elements/p-BYfPV0O4.js +0 -1
- package/dist/lime-elements/p-CW2-jhzP.js +0 -1
- package/dist/lime-elements/p-Cu9Ji1iJ.js +0 -1
- package/dist/lime-elements/p-D2VFSWDU.js +0 -1
- package/dist/lime-elements/p-D9Ezd43A.js +0 -1
- package/dist/lime-elements/p-DFu1q54T.js +0 -1
- package/dist/lime-elements/p-DK0pjX-Y.js +0 -1
- package/dist/lime-elements/p-DdnBHYb-.js +0 -7
- package/dist/lime-elements/p-DeIIlp6m.js +0 -1
- package/dist/lime-elements/p-Dq0uNStc.js +0 -1
- package/dist/lime-elements/p-afbe54e6.entry.js +0 -1
- package/dist/lime-elements/p-c583ab0d.entry.js +0 -1
- package/dist/lime-elements/p-e2971111.entry.js +0 -1
- package/dist/lime-elements/p-e332bb9b.entry.js +0 -1
- package/dist/lime-elements/p-e50acec1.entry.js +0 -1
- package/dist/lime-elements/p-f1ac7608.entry.js +0 -1
|
@@ -1,122 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var identity = require('./identity-Dz5mxHaJ.js');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var isObject = require('./isObject-B6Osvvqp.js');
|
|
7
|
-
var _getTag = require('./_getTag-BC28Za7d.js');
|
|
8
|
-
var isArray = require('./isArray-BuFVIU_i.js');
|
|
9
|
-
var isArrayLike = require('./isArrayLike-C2RwZMG4.js');
|
|
4
|
+
var _baseFlatten = require('./_baseFlatten-BonTAUIo.js');
|
|
5
|
+
var isArrayLike = require('./isArrayLike-0-cyPB5I.js');
|
|
10
6
|
var isObjectLike = require('./isObjectLike-Dlpn-j-1.js');
|
|
11
7
|
|
|
12
|
-
/**
|
|
13
|
-
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
14
|
-
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
15
|
-
*
|
|
16
|
-
* @private
|
|
17
|
-
* @param {Function} func The function to invoke.
|
|
18
|
-
* @param {*} thisArg The `this` binding of `func`.
|
|
19
|
-
* @param {Array} args The arguments to invoke `func` with.
|
|
20
|
-
* @returns {*} Returns the result of `func`.
|
|
21
|
-
*/
|
|
22
|
-
function apply(func, thisArg, args) {
|
|
23
|
-
switch (args.length) {
|
|
24
|
-
case 0: return func.call(thisArg);
|
|
25
|
-
case 1: return func.call(thisArg, args[0]);
|
|
26
|
-
case 2: return func.call(thisArg, args[0], args[1]);
|
|
27
|
-
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
28
|
-
}
|
|
29
|
-
return func.apply(thisArg, args);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
33
|
-
var HOT_COUNT = 800,
|
|
34
|
-
HOT_SPAN = 16;
|
|
35
|
-
|
|
36
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
37
|
-
var nativeNow = Date.now;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Creates a function that'll short out and invoke `identity` instead
|
|
41
|
-
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
42
|
-
* milliseconds.
|
|
43
|
-
*
|
|
44
|
-
* @private
|
|
45
|
-
* @param {Function} func The function to restrict.
|
|
46
|
-
* @returns {Function} Returns the new shortable function.
|
|
47
|
-
*/
|
|
48
|
-
function shortOut(func) {
|
|
49
|
-
var count = 0,
|
|
50
|
-
lastCalled = 0;
|
|
51
|
-
|
|
52
|
-
return function() {
|
|
53
|
-
var stamp = nativeNow(),
|
|
54
|
-
remaining = HOT_SPAN - (stamp - lastCalled);
|
|
55
|
-
|
|
56
|
-
lastCalled = stamp;
|
|
57
|
-
if (remaining > 0) {
|
|
58
|
-
if (++count >= HOT_COUNT) {
|
|
59
|
-
return arguments[0];
|
|
60
|
-
}
|
|
61
|
-
} else {
|
|
62
|
-
count = 0;
|
|
63
|
-
}
|
|
64
|
-
return func.apply(undefined, arguments);
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Creates a function that returns `value`.
|
|
70
|
-
*
|
|
71
|
-
* @static
|
|
72
|
-
* @memberOf _
|
|
73
|
-
* @since 2.4.0
|
|
74
|
-
* @category Util
|
|
75
|
-
* @param {*} value The value to return from the new function.
|
|
76
|
-
* @returns {Function} Returns the new constant function.
|
|
77
|
-
* @example
|
|
78
|
-
*
|
|
79
|
-
* var objects = _.times(2, _.constant({ 'a': 1 }));
|
|
80
|
-
*
|
|
81
|
-
* console.log(objects);
|
|
82
|
-
* // => [{ 'a': 1 }, { 'a': 1 }]
|
|
83
|
-
*
|
|
84
|
-
* console.log(objects[0] === objects[1]);
|
|
85
|
-
* // => true
|
|
86
|
-
*/
|
|
87
|
-
function constant(value) {
|
|
88
|
-
return function() {
|
|
89
|
-
return value;
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* The base implementation of `setToString` without support for hot loop shorting.
|
|
95
|
-
*
|
|
96
|
-
* @private
|
|
97
|
-
* @param {Function} func The function to modify.
|
|
98
|
-
* @param {Function} string The `toString` result.
|
|
99
|
-
* @returns {Function} Returns `func`.
|
|
100
|
-
*/
|
|
101
|
-
var baseSetToString = !_defineProperty$1.defineProperty ? identity.identity : function(func, string) {
|
|
102
|
-
return _defineProperty$1.defineProperty(func, 'toString', {
|
|
103
|
-
'configurable': true,
|
|
104
|
-
'enumerable': false,
|
|
105
|
-
'value': constant(string),
|
|
106
|
-
'writable': true
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Sets the `toString` method of `func` to return `string`.
|
|
112
|
-
*
|
|
113
|
-
* @private
|
|
114
|
-
* @param {Function} func The function to modify.
|
|
115
|
-
* @param {Function} string The `toString` result.
|
|
116
|
-
* @returns {Function} Returns `func`.
|
|
117
|
-
*/
|
|
118
|
-
var setToString = shortOut(baseSetToString);
|
|
119
|
-
|
|
120
8
|
/**
|
|
121
9
|
* The base implementation of `_.findIndex` and `_.findLastIndex` without
|
|
122
10
|
* support for iteratee shorthands.
|
|
@@ -202,39 +90,6 @@ function arrayIncludes(array, value) {
|
|
|
202
90
|
return !!length && baseIndexOf(array, value, 0) > -1;
|
|
203
91
|
}
|
|
204
92
|
|
|
205
|
-
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
206
|
-
var nativeMax = Math.max;
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* A specialized version of `baseRest` which transforms the rest array.
|
|
210
|
-
*
|
|
211
|
-
* @private
|
|
212
|
-
* @param {Function} func The function to apply a rest parameter to.
|
|
213
|
-
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
214
|
-
* @param {Function} transform The rest array transform.
|
|
215
|
-
* @returns {Function} Returns the new function.
|
|
216
|
-
*/
|
|
217
|
-
function overRest(func, start, transform) {
|
|
218
|
-
start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
|
|
219
|
-
return function() {
|
|
220
|
-
var args = arguments,
|
|
221
|
-
index = -1,
|
|
222
|
-
length = nativeMax(args.length - start, 0),
|
|
223
|
-
array = Array(length);
|
|
224
|
-
|
|
225
|
-
while (++index < length) {
|
|
226
|
-
array[index] = args[start + index];
|
|
227
|
-
}
|
|
228
|
-
index = -1;
|
|
229
|
-
var otherArgs = Array(start + 1);
|
|
230
|
-
while (++index < start) {
|
|
231
|
-
otherArgs[index] = args[index];
|
|
232
|
-
}
|
|
233
|
-
otherArgs[start] = transform(array);
|
|
234
|
-
return apply(func, this, otherArgs);
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
|
|
238
93
|
/**
|
|
239
94
|
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
240
95
|
*
|
|
@@ -244,51 +99,7 @@ function overRest(func, start, transform) {
|
|
|
244
99
|
* @returns {Function} Returns the new function.
|
|
245
100
|
*/
|
|
246
101
|
function baseRest(func, start) {
|
|
247
|
-
return setToString(overRest(func, start, identity.identity), func + '');
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
/** Built-in value references. */
|
|
251
|
-
var spreadableSymbol = isObject.Symbol ? isObject.Symbol.isConcatSpreadable : undefined;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Checks if `value` is a flattenable `arguments` object or array.
|
|
255
|
-
*
|
|
256
|
-
* @private
|
|
257
|
-
* @param {*} value The value to check.
|
|
258
|
-
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
|
|
259
|
-
*/
|
|
260
|
-
function isFlattenable(value) {
|
|
261
|
-
return isArray.isArray(value) || _getTag.isArguments(value) ||
|
|
262
|
-
!!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The base implementation of `_.flatten` with support for restricting flattening.
|
|
267
|
-
*
|
|
268
|
-
* @private
|
|
269
|
-
* @param {Array} array The array to flatten.
|
|
270
|
-
* @param {number} depth The maximum recursion depth.
|
|
271
|
-
* @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
|
|
272
|
-
* @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
|
|
273
|
-
* @param {Array} [result=[]] The initial result value.
|
|
274
|
-
* @returns {Array} Returns the new flattened array.
|
|
275
|
-
*/
|
|
276
|
-
function baseFlatten(array, depth, predicate, isStrict, result) {
|
|
277
|
-
var index = -1,
|
|
278
|
-
length = array.length;
|
|
279
|
-
|
|
280
|
-
predicate || (predicate = isFlattenable);
|
|
281
|
-
result || (result = []);
|
|
282
|
-
|
|
283
|
-
while (++index < length) {
|
|
284
|
-
var value = array[index];
|
|
285
|
-
if (predicate(value)) {
|
|
286
|
-
{
|
|
287
|
-
_baseIsEqual.arrayPush(result, value);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
return result;
|
|
102
|
+
return _baseFlatten.setToString(_baseFlatten.overRest(func, start, identity.identity), func + '');
|
|
292
103
|
}
|
|
293
104
|
|
|
294
105
|
/**
|
|
@@ -3087,6 +2898,5 @@ class DragToReorder {
|
|
|
3087
2898
|
|
|
3088
2899
|
exports.DragToReorder = DragToReorder;
|
|
3089
2900
|
exports.arrayIncludes = arrayIncludes;
|
|
3090
|
-
exports.baseFlatten = baseFlatten;
|
|
3091
2901
|
exports.baseRest = baseRest;
|
|
3092
2902
|
exports.isArrayLikeObject = isArrayLikeObject;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _baseIsEqual = require('./_baseIsEqual-zzV9DKMv.js');
|
|
4
|
-
var isObject = require('./isObject-B6Osvvqp.js');
|
|
5
3
|
var isArray = require('./isArray-BuFVIU_i.js');
|
|
6
4
|
var isSymbol = require('./isSymbol-DxAVNJfH.js');
|
|
7
|
-
var
|
|
5
|
+
var _arrayPush = require('./_arrayPush-0Rd-eNkQ.js');
|
|
6
|
+
var isObject = require('./isObject-B6Osvvqp.js');
|
|
7
|
+
var _Map = require('./_Map-BsuE0Kgq.js');
|
|
8
8
|
var _isIndex = require('./_isIndex-Bu45fvR7.js');
|
|
9
|
-
var
|
|
10
|
-
var identity = require('./identity-Dz5mxHaJ.js');
|
|
9
|
+
var isLength = require('./isLength-DvlFY_9S.js');
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* A specialized version of `_.map` for arrays without support for iteratee
|
|
@@ -145,12 +144,12 @@ function memoize(func, resolver) {
|
|
|
145
144
|
memoized.cache = cache.set(key, result) || cache;
|
|
146
145
|
return result;
|
|
147
146
|
};
|
|
148
|
-
memoized.cache = new (memoize.Cache ||
|
|
147
|
+
memoized.cache = new (memoize.Cache || _arrayPush.MapCache);
|
|
149
148
|
return memoized;
|
|
150
149
|
}
|
|
151
150
|
|
|
152
151
|
// Expose `MapCache`.
|
|
153
|
-
memoize.Cache =
|
|
152
|
+
memoize.Cache = _arrayPush.MapCache;
|
|
154
153
|
|
|
155
154
|
/** Used as the maximum memoize cache size. */
|
|
156
155
|
var MAX_MEMOIZE_SIZE = 500;
|
|
@@ -274,159 +273,6 @@ function baseGet(object, path) {
|
|
|
274
273
|
return (index && index == length) ? object : undefined;
|
|
275
274
|
}
|
|
276
275
|
|
|
277
|
-
/**
|
|
278
|
-
* Gets the value at `path` of `object`. If the resolved value is
|
|
279
|
-
* `undefined`, the `defaultValue` is returned in its place.
|
|
280
|
-
*
|
|
281
|
-
* @static
|
|
282
|
-
* @memberOf _
|
|
283
|
-
* @since 3.7.0
|
|
284
|
-
* @category Object
|
|
285
|
-
* @param {Object} object The object to query.
|
|
286
|
-
* @param {Array|string} path The path of the property to get.
|
|
287
|
-
* @param {*} [defaultValue] The value returned for `undefined` resolved values.
|
|
288
|
-
* @returns {*} Returns the resolved value.
|
|
289
|
-
* @example
|
|
290
|
-
*
|
|
291
|
-
* var object = { 'a': [{ 'b': { 'c': 3 } }] };
|
|
292
|
-
*
|
|
293
|
-
* _.get(object, 'a[0].b.c');
|
|
294
|
-
* // => 3
|
|
295
|
-
*
|
|
296
|
-
* _.get(object, ['a', '0', 'b', 'c']);
|
|
297
|
-
* // => 3
|
|
298
|
-
*
|
|
299
|
-
* _.get(object, 'a.b.c', 'default');
|
|
300
|
-
* // => 'default'
|
|
301
|
-
*/
|
|
302
|
-
function get(object, path, defaultValue) {
|
|
303
|
-
var result = object == null ? undefined : baseGet(object, path);
|
|
304
|
-
return result === undefined ? defaultValue : result;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
308
|
-
var COMPARE_PARTIAL_FLAG$1 = 1,
|
|
309
|
-
COMPARE_UNORDERED_FLAG$1 = 2;
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* The base implementation of `_.isMatch` without support for iteratee shorthands.
|
|
313
|
-
*
|
|
314
|
-
* @private
|
|
315
|
-
* @param {Object} object The object to inspect.
|
|
316
|
-
* @param {Object} source The object of property values to match.
|
|
317
|
-
* @param {Array} matchData The property names, values, and compare flags to match.
|
|
318
|
-
* @param {Function} [customizer] The function to customize comparisons.
|
|
319
|
-
* @returns {boolean} Returns `true` if `object` is a match, else `false`.
|
|
320
|
-
*/
|
|
321
|
-
function baseIsMatch(object, source, matchData, customizer) {
|
|
322
|
-
var index = matchData.length,
|
|
323
|
-
length = index;
|
|
324
|
-
|
|
325
|
-
if (object == null) {
|
|
326
|
-
return !length;
|
|
327
|
-
}
|
|
328
|
-
object = Object(object);
|
|
329
|
-
while (index--) {
|
|
330
|
-
var data = matchData[index];
|
|
331
|
-
if ((data[2])
|
|
332
|
-
? data[1] !== object[data[0]]
|
|
333
|
-
: !(data[0] in object)
|
|
334
|
-
) {
|
|
335
|
-
return false;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
while (++index < length) {
|
|
339
|
-
data = matchData[index];
|
|
340
|
-
var key = data[0],
|
|
341
|
-
objValue = object[key],
|
|
342
|
-
srcValue = data[1];
|
|
343
|
-
|
|
344
|
-
if (data[2]) {
|
|
345
|
-
if (objValue === undefined && !(key in object)) {
|
|
346
|
-
return false;
|
|
347
|
-
}
|
|
348
|
-
} else {
|
|
349
|
-
var stack = new _baseIsEqual.Stack;
|
|
350
|
-
var result;
|
|
351
|
-
if (!(result === undefined
|
|
352
|
-
? _baseIsEqual.baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack)
|
|
353
|
-
: result
|
|
354
|
-
)) {
|
|
355
|
-
return false;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
return true;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
|
|
364
|
-
*
|
|
365
|
-
* @private
|
|
366
|
-
* @param {*} value The value to check.
|
|
367
|
-
* @returns {boolean} Returns `true` if `value` if suitable for strict
|
|
368
|
-
* equality comparisons, else `false`.
|
|
369
|
-
*/
|
|
370
|
-
function isStrictComparable(value) {
|
|
371
|
-
return value === value && !isObject.isObject(value);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Gets the property names, values, and compare flags of `object`.
|
|
376
|
-
*
|
|
377
|
-
* @private
|
|
378
|
-
* @param {Object} object The object to query.
|
|
379
|
-
* @returns {Array} Returns the match data of `object`.
|
|
380
|
-
*/
|
|
381
|
-
function getMatchData(object) {
|
|
382
|
-
var result = _baseIsEqual.keys(object),
|
|
383
|
-
length = result.length;
|
|
384
|
-
|
|
385
|
-
while (length--) {
|
|
386
|
-
var key = result[length],
|
|
387
|
-
value = object[key];
|
|
388
|
-
|
|
389
|
-
result[length] = [key, value, isStrictComparable(value)];
|
|
390
|
-
}
|
|
391
|
-
return result;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* A specialized version of `matchesProperty` for source values suitable
|
|
396
|
-
* for strict equality comparisons, i.e. `===`.
|
|
397
|
-
*
|
|
398
|
-
* @private
|
|
399
|
-
* @param {string} key The key of the property to get.
|
|
400
|
-
* @param {*} srcValue The value to match.
|
|
401
|
-
* @returns {Function} Returns the new spec function.
|
|
402
|
-
*/
|
|
403
|
-
function matchesStrictComparable(key, srcValue) {
|
|
404
|
-
return function(object) {
|
|
405
|
-
if (object == null) {
|
|
406
|
-
return false;
|
|
407
|
-
}
|
|
408
|
-
return object[key] === srcValue &&
|
|
409
|
-
(srcValue !== undefined || (key in Object(object)));
|
|
410
|
-
};
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* The base implementation of `_.matches` which doesn't clone `source`.
|
|
415
|
-
*
|
|
416
|
-
* @private
|
|
417
|
-
* @param {Object} source The object of property values to match.
|
|
418
|
-
* @returns {Function} Returns the new spec function.
|
|
419
|
-
*/
|
|
420
|
-
function baseMatches(source) {
|
|
421
|
-
var matchData = getMatchData(source);
|
|
422
|
-
if (matchData.length == 1 && matchData[0][2]) {
|
|
423
|
-
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
|
424
|
-
}
|
|
425
|
-
return function(object) {
|
|
426
|
-
return object === source || baseIsMatch(object, source, matchData);
|
|
427
|
-
};
|
|
428
|
-
}
|
|
429
|
-
|
|
430
276
|
/**
|
|
431
277
|
* The base implementation of `_.hasIn` without support for deep paths.
|
|
432
278
|
*
|
|
@@ -466,8 +312,8 @@ function hasPath(object, path, hasFunc) {
|
|
|
466
312
|
return result;
|
|
467
313
|
}
|
|
468
314
|
length = object == null ? 0 : object.length;
|
|
469
|
-
return !!length &&
|
|
470
|
-
(isArray.isArray(object) ||
|
|
315
|
+
return !!length && isLength.isLength(length) && _isIndex.isIndex(key, length) &&
|
|
316
|
+
(isArray.isArray(object) || _Map.isArguments(object));
|
|
471
317
|
}
|
|
472
318
|
|
|
473
319
|
/**
|
|
@@ -500,111 +346,11 @@ function hasIn(object, path) {
|
|
|
500
346
|
return object != null && hasPath(object, path, baseHasIn);
|
|
501
347
|
}
|
|
502
348
|
|
|
503
|
-
/** Used to compose bitmasks for value comparisons. */
|
|
504
|
-
var COMPARE_PARTIAL_FLAG = 1,
|
|
505
|
-
COMPARE_UNORDERED_FLAG = 2;
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
|
|
509
|
-
*
|
|
510
|
-
* @private
|
|
511
|
-
* @param {string} path The path of the property to get.
|
|
512
|
-
* @param {*} srcValue The value to match.
|
|
513
|
-
* @returns {Function} Returns the new spec function.
|
|
514
|
-
*/
|
|
515
|
-
function baseMatchesProperty(path, srcValue) {
|
|
516
|
-
if (isKey(path) && isStrictComparable(srcValue)) {
|
|
517
|
-
return matchesStrictComparable(toKey(path), srcValue);
|
|
518
|
-
}
|
|
519
|
-
return function(object) {
|
|
520
|
-
var objValue = get(object, path);
|
|
521
|
-
return (objValue === undefined && objValue === srcValue)
|
|
522
|
-
? hasIn(object, path)
|
|
523
|
-
: _baseIsEqual.baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
|
524
|
-
};
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* The base implementation of `_.property` without support for deep paths.
|
|
529
|
-
*
|
|
530
|
-
* @private
|
|
531
|
-
* @param {string} key The key of the property to get.
|
|
532
|
-
* @returns {Function} Returns the new accessor function.
|
|
533
|
-
*/
|
|
534
|
-
function baseProperty(key) {
|
|
535
|
-
return function(object) {
|
|
536
|
-
return object == null ? undefined : object[key];
|
|
537
|
-
};
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* A specialized version of `baseProperty` which supports deep paths.
|
|
542
|
-
*
|
|
543
|
-
* @private
|
|
544
|
-
* @param {Array|string} path The path of the property to get.
|
|
545
|
-
* @returns {Function} Returns the new accessor function.
|
|
546
|
-
*/
|
|
547
|
-
function basePropertyDeep(path) {
|
|
548
|
-
return function(object) {
|
|
549
|
-
return baseGet(object, path);
|
|
550
|
-
};
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
/**
|
|
554
|
-
* Creates a function that returns the value at `path` of a given object.
|
|
555
|
-
*
|
|
556
|
-
* @static
|
|
557
|
-
* @memberOf _
|
|
558
|
-
* @since 2.4.0
|
|
559
|
-
* @category Util
|
|
560
|
-
* @param {Array|string} path The path of the property to get.
|
|
561
|
-
* @returns {Function} Returns the new accessor function.
|
|
562
|
-
* @example
|
|
563
|
-
*
|
|
564
|
-
* var objects = [
|
|
565
|
-
* { 'a': { 'b': 2 } },
|
|
566
|
-
* { 'a': { 'b': 1 } }
|
|
567
|
-
* ];
|
|
568
|
-
*
|
|
569
|
-
* _.map(objects, _.property('a.b'));
|
|
570
|
-
* // => [2, 1]
|
|
571
|
-
*
|
|
572
|
-
* _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
|
|
573
|
-
* // => [1, 2]
|
|
574
|
-
*/
|
|
575
|
-
function property(path) {
|
|
576
|
-
return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* The base implementation of `_.iteratee`.
|
|
581
|
-
*
|
|
582
|
-
* @private
|
|
583
|
-
* @param {*} [value=_.identity] The value to convert to an iteratee.
|
|
584
|
-
* @returns {Function} Returns the iteratee.
|
|
585
|
-
*/
|
|
586
|
-
function baseIteratee(value) {
|
|
587
|
-
// Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.
|
|
588
|
-
// See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.
|
|
589
|
-
if (typeof value == 'function') {
|
|
590
|
-
return value;
|
|
591
|
-
}
|
|
592
|
-
if (value == null) {
|
|
593
|
-
return identity.identity;
|
|
594
|
-
}
|
|
595
|
-
if (typeof value == 'object') {
|
|
596
|
-
return isArray.isArray(value)
|
|
597
|
-
? baseMatchesProperty(value[0], value[1])
|
|
598
|
-
: baseMatches(value);
|
|
599
|
-
}
|
|
600
|
-
return property(value);
|
|
601
|
-
}
|
|
602
|
-
|
|
603
349
|
exports.arrayMap = arrayMap;
|
|
604
350
|
exports.baseGet = baseGet;
|
|
605
|
-
exports.baseIteratee = baseIteratee;
|
|
606
351
|
exports.castPath = castPath;
|
|
607
|
-
exports.
|
|
352
|
+
exports.hasIn = hasIn;
|
|
608
353
|
exports.hasPath = hasPath;
|
|
354
|
+
exports.isKey = isKey;
|
|
609
355
|
exports.toKey = toKey;
|
|
610
356
|
exports.toString = toString;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var _basePickBy = require('./_basePickBy-DeOMws-h.js');
|
|
4
|
+
var hasIn = require('./hasIn-BQ92Jk0F.js');
|
|
5
|
+
var _baseFlatten = require('./_baseFlatten-BonTAUIo.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Flattens `array` a single level deep.
|
|
9
|
+
*
|
|
10
|
+
* @static
|
|
11
|
+
* @memberOf _
|
|
12
|
+
* @since 0.1.0
|
|
13
|
+
* @category Array
|
|
14
|
+
* @param {Array} array The array to flatten.
|
|
15
|
+
* @returns {Array} Returns the new flattened array.
|
|
16
|
+
* @example
|
|
17
|
+
*
|
|
18
|
+
* _.flatten([1, [2, [3, [4]], 5]]);
|
|
19
|
+
* // => [1, 2, [3, [4]], 5]
|
|
20
|
+
*/
|
|
21
|
+
function flatten(array) {
|
|
22
|
+
var length = array == null ? 0 : array.length;
|
|
23
|
+
return length ? _baseFlatten.baseFlatten(array) : [];
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* A specialized version of `baseRest` which flattens the rest array.
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
31
|
+
* @returns {Function} Returns the new function.
|
|
32
|
+
*/
|
|
33
|
+
function flatRest(func) {
|
|
34
|
+
return _baseFlatten.setToString(_baseFlatten.overRest(func, undefined, flatten), func + '');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The base implementation of `_.pick` without support for individual
|
|
39
|
+
* property identifiers.
|
|
40
|
+
*
|
|
41
|
+
* @private
|
|
42
|
+
* @param {Object} object The source object.
|
|
43
|
+
* @param {string[]} paths The property paths to pick.
|
|
44
|
+
* @returns {Object} Returns the new object.
|
|
45
|
+
*/
|
|
46
|
+
function basePick(object, paths) {
|
|
47
|
+
return _basePickBy.basePickBy(object, paths, function(value, path) {
|
|
48
|
+
return hasIn.hasIn(object, path);
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Creates an object composed of the picked `object` properties.
|
|
54
|
+
*
|
|
55
|
+
* @static
|
|
56
|
+
* @since 0.1.0
|
|
57
|
+
* @memberOf _
|
|
58
|
+
* @category Object
|
|
59
|
+
* @param {Object} object The source object.
|
|
60
|
+
* @param {...(string|string[])} [paths] The property paths to pick.
|
|
61
|
+
* @returns {Object} Returns the new object.
|
|
62
|
+
* @example
|
|
63
|
+
*
|
|
64
|
+
* var object = { 'a': 1, 'b': '2', 'c': 3 };
|
|
65
|
+
*
|
|
66
|
+
* _.pick(object, ['a', 'c']);
|
|
67
|
+
* // => { 'a': 1, 'c': 3 }
|
|
68
|
+
*/
|
|
69
|
+
var pick = flatRest(function(object, paths) {
|
|
70
|
+
return object == null ? {} : basePick(object, paths);
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
const HELP_PROPERTIES = [
|
|
74
|
+
'openDirection',
|
|
75
|
+
'readMoreLink',
|
|
76
|
+
'trigger',
|
|
77
|
+
'value',
|
|
78
|
+
];
|
|
79
|
+
/**
|
|
80
|
+
* @param help - the help of a field, from its schema
|
|
81
|
+
* @returns the properties of `limel-help` that the help sets, and no others
|
|
82
|
+
*/
|
|
83
|
+
function getHelpProps(help) {
|
|
84
|
+
if (typeof help === 'string') {
|
|
85
|
+
return { value: help };
|
|
86
|
+
}
|
|
87
|
+
return pick(help, HELP_PROPERTIES);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
exports.getHelpProps = getHelpProps;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var isFunction = require('./isFunction-RSHwsz1x.js');
|
|
4
|
+
var isLength = require('./isLength-DvlFY_9S.js');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
8
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
9
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
10
|
+
*
|
|
11
|
+
* @static
|
|
12
|
+
* @memberOf _
|
|
13
|
+
* @since 4.0.0
|
|
14
|
+
* @category Lang
|
|
15
|
+
* @param {*} value The value to check.
|
|
16
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
17
|
+
* @example
|
|
18
|
+
*
|
|
19
|
+
* _.isArrayLike([1, 2, 3]);
|
|
20
|
+
* // => true
|
|
21
|
+
*
|
|
22
|
+
* _.isArrayLike(document.body.children);
|
|
23
|
+
* // => true
|
|
24
|
+
*
|
|
25
|
+
* _.isArrayLike('abc');
|
|
26
|
+
* // => true
|
|
27
|
+
*
|
|
28
|
+
* _.isArrayLike(_.noop);
|
|
29
|
+
* // => false
|
|
30
|
+
*/
|
|
31
|
+
function isArrayLike(value) {
|
|
32
|
+
return value != null && isLength.isLength(value.length) && !isFunction.isFunction(value);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.isArrayLike = isArrayLike;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _getTag = require('./_getTag-
|
|
3
|
+
var _getTag = require('./_getTag-CxGZ3DRt.js');
|
|
4
|
+
var _Map = require('./_Map-BsuE0Kgq.js');
|
|
4
5
|
var isArray = require('./isArray-BuFVIU_i.js');
|
|
5
|
-
var isArrayLike = require('./isArrayLike-
|
|
6
|
+
var isArrayLike = require('./isArrayLike-0-cyPB5I.js');
|
|
6
7
|
|
|
7
8
|
/** `Object#toString` result references. */
|
|
8
9
|
var mapTag = '[object Map]',
|
|
@@ -53,7 +54,7 @@ function isEmpty(value) {
|
|
|
53
54
|
}
|
|
54
55
|
if (isArrayLike.isArrayLike(value) &&
|
|
55
56
|
(isArray.isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
|
|
56
|
-
_getTag.isBuffer(value) || _getTag.isTypedArray(value) ||
|
|
57
|
+
_getTag.isBuffer(value) || _getTag.isTypedArray(value) || _Map.isArguments(value))) {
|
|
57
58
|
return !value.length;
|
|
58
59
|
}
|
|
59
60
|
var tag = _getTag.getTag(value);
|