@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.
Files changed (363) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/_Map-BsuE0Kgq.js +57 -0
  3. package/dist/cjs/_arrayPush-0Rd-eNkQ.js +420 -0
  4. package/dist/cjs/_baseFlatten-BonTAUIo.js +199 -0
  5. package/dist/cjs/{_baseForOwn-8jMPwf3X.js → _baseForOwn-Bflq946d.js} +1 -1
  6. package/dist/cjs/{_baseIsEqual-zzV9DKMv.js → _baseIsEqual-DNSR68qD.js} +16 -428
  7. package/dist/cjs/_baseIteratee-Cistiy8H.js +263 -0
  8. package/dist/cjs/{_baseSet-DykMx7uF.js → _basePickBy-DeOMws-h.js} +29 -43
  9. package/dist/cjs/{_getPrototype-CCLHkBHj.js → _getPrototype-D74M8h-k.js} +1 -1
  10. package/dist/cjs/{_getTag-BC28Za7d.js → _getTag-CxGZ3DRt.js} +7 -57
  11. package/dist/cjs/{cloneDeep-D2immmwT.js → cloneDeep-CiuKX6HE.js} +3 -3
  12. package/dist/cjs/{drag-to-reorder-BP5YkPuu.js → drag-to-reorder-BmVz_kUy.js} +3 -193
  13. package/dist/cjs/{_baseIteratee-BIMRm4nq.js → hasIn-BQ92Jk0F.js} +10 -264
  14. package/dist/cjs/help-props-Ds30nnt1.js +90 -0
  15. package/dist/cjs/isArrayLike-0-cyPB5I.js +35 -0
  16. package/dist/cjs/{isEmpty-CCxl3bYc.js → isEmpty-BsdhcVKT.js} +4 -3
  17. package/dist/cjs/{isEqual-D3eFkhqd.js → isEqual-QhCilNoo.js} +1 -1
  18. package/dist/cjs/isLength-DvlFY_9S.js +37 -0
  19. package/dist/cjs/lime-elements.cjs.js +1 -1
  20. package/dist/cjs/limel-3d-hover-effect-glow.cjs.entry.js +1 -1
  21. package/dist/cjs/limel-action-bar_3.cjs.entry.js +3 -3
  22. package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/limel-badge.cjs.entry.js +2 -2
  24. package/dist/cjs/limel-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/limel-breadcrumbs_6.cjs.entry.js +6 -6
  26. package/dist/cjs/limel-button-group.cjs.entry.js +1 -1
  27. package/dist/cjs/limel-button.cjs.entry.js +2 -2
  28. package/dist/cjs/limel-callout.cjs.entry.js +1 -1
  29. package/dist/cjs/limel-card.cjs.entry.js +1 -1
  30. package/dist/cjs/limel-checkbox.cjs.entry.js +1 -1
  31. package/dist/cjs/limel-chip-set.cjs.entry.js +11 -8
  32. package/dist/cjs/limel-chip_2.cjs.entry.js +7 -5
  33. package/dist/cjs/limel-circular-progress.cjs.entry.js +1 -1
  34. package/dist/cjs/limel-code-diff.cjs.entry.js +1 -1
  35. package/dist/cjs/limel-code-editor.cjs.entry.js +1 -1
  36. package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
  37. package/dist/cjs/limel-color-picker-palette.cjs.entry.js +2 -2
  38. package/dist/cjs/limel-color-picker.cjs.entry.js +1 -1
  39. package/dist/cjs/limel-dialog.cjs.entry.js +12 -9
  40. package/dist/cjs/limel-dock.cjs.entry.js +2 -2
  41. package/dist/cjs/limel-drag-handle_2.cjs.entry.js +3 -3
  42. package/dist/cjs/limel-email-viewer.cjs.entry.js +1 -1
  43. package/dist/cjs/limel-file-dropzone_2.cjs.entry.js +14 -10
  44. package/dist/cjs/limel-file.cjs.entry.js +1 -1
  45. package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +3 -2
  46. package/dist/cjs/limel-flex-container.cjs.entry.js +1 -1
  47. package/dist/cjs/limel-form-header.cjs.entry.js +59 -0
  48. package/dist/cjs/limel-form.cjs.entry.js +140 -45
  49. package/dist/cjs/limel-grid.cjs.entry.js +1 -1
  50. package/dist/cjs/limel-header.cjs.entry.js +1 -1
  51. package/dist/cjs/{limel-help.cjs.entry.js → limel-help_2.cjs.entry.js} +22 -2
  52. package/dist/cjs/limel-helper-line_3.cjs.entry.js +4 -4
  53. package/dist/cjs/limel-hotkey_4.cjs.entry.js +5 -5
  54. package/dist/cjs/limel-icon-button.cjs.entry.js +1 -1
  55. package/dist/cjs/limel-icon.cjs.entry.js +1 -1
  56. package/dist/cjs/limel-info-tile.cjs.entry.js +2 -2
  57. package/dist/cjs/limel-list-item.cjs.entry.js +2 -2
  58. package/dist/cjs/limel-markdown.cjs.entry.js +1 -1
  59. package/dist/cjs/limel-masonry-layout.cjs.entry.js +1 -1
  60. package/dist/cjs/limel-menu-item-meta.cjs.entry.js +1 -1
  61. package/dist/cjs/limel-pagination.cjs.entry.js +1 -1
  62. package/dist/cjs/limel-picker.cjs.entry.js +1 -1
  63. package/dist/cjs/limel-popover_2.cjs.entry.js +2 -2
  64. package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +13 -10
  65. package/dist/cjs/limel-radio-button-group.cjs.entry.js +1 -1
  66. package/dist/cjs/limel-radio-button.cjs.entry.js +2 -2
  67. package/dist/cjs/limel-resize-handle.cjs.entry.js +1 -1
  68. package/dist/cjs/limel-select.cjs.entry.js +1 -1
  69. package/dist/cjs/limel-shortcut.cjs.entry.js +1 -1
  70. package/dist/cjs/limel-side-panel.cjs.entry.js +1 -1
  71. package/dist/cjs/limel-slider.cjs.entry.js +3 -3
  72. package/dist/cjs/limel-snackbar.cjs.entry.js +2 -2
  73. package/dist/cjs/limel-split-button.cjs.entry.js +2 -2
  74. package/dist/cjs/limel-switch.cjs.entry.js +1 -1
  75. package/dist/cjs/limel-tab-bar.cjs.entry.js +14 -10
  76. package/dist/cjs/limel-tab-panel.cjs.entry.js +1 -1
  77. package/dist/cjs/limel-table.cjs.entry.js +21 -41
  78. package/dist/cjs/limel-text-editor-link-menu.cjs.entry.js +3 -3
  79. package/dist/cjs/limel-text-editor.cjs.entry.js +1 -1
  80. package/dist/cjs/loader.cjs.js +1 -1
  81. package/dist/cjs/negate-Bg3SqQh6.js +42 -0
  82. package/dist/collection/collection-manifest.json +1 -0
  83. package/dist/collection/components/3d-hover-effect-glow/3d-hover-effect-glow.js +1 -1
  84. package/dist/collection/components/action-bar/action-bar-item/action-bar-overflow-menu.js +1 -1
  85. package/dist/collection/components/action-bar/action-bar.js +2 -2
  86. package/dist/collection/components/ai-avatar/ai-avatar.js +1 -1
  87. package/dist/collection/components/badge/badge.js +2 -2
  88. package/dist/collection/components/banner/banner.js +1 -1
  89. package/dist/collection/components/breadcrumbs/breadcrumbs.js +1 -1
  90. package/dist/collection/components/button/button.js +2 -2
  91. package/dist/collection/components/button-group/button-group.js +1 -1
  92. package/dist/collection/components/callout/callout.js +1 -1
  93. package/dist/collection/components/card/card.js +1 -1
  94. package/dist/collection/components/checkbox/checkbox.js +1 -1
  95. package/dist/collection/components/chip/chip.js +1 -1
  96. package/dist/collection/components/chip-set/chip-set.js +1 -1
  97. package/dist/collection/components/circular-progress/circular-progress.js +1 -1
  98. package/dist/collection/components/code-diff/code-diff.js +1 -1
  99. package/dist/collection/components/code-editor/code-editor.js +1 -1
  100. package/dist/collection/components/collapsible-section/collapsible-section.js +1 -1
  101. package/dist/collection/components/color-picker/color-picker-palette.js +2 -2
  102. package/dist/collection/components/color-picker/color-picker.js +1 -1
  103. package/dist/collection/components/date-picker/flatpickr-adapter/flatpickr-adapter.js +1 -1
  104. package/dist/collection/components/dialog/dialog.js +2 -2
  105. package/dist/collection/components/dock/dock.js +2 -2
  106. package/dist/collection/components/drag-handle/drag-handle.js +1 -1
  107. package/dist/collection/components/email-viewer/email-viewer.js +1 -1
  108. package/dist/collection/components/file/file.js +1 -1
  109. package/dist/collection/components/file-dropzone/file-dropzone.js +1 -1
  110. package/dist/collection/components/file-input/file-input.js +1 -1
  111. package/dist/collection/components/flex-container/flex-container.js +1 -1
  112. package/dist/collection/components/form/fields/object-field.js +2 -2
  113. package/dist/collection/components/form/form.css +21 -21
  114. package/dist/collection/components/form/form.js +60 -3
  115. package/dist/collection/components/form/form.test-schemas.js +62 -0
  116. package/dist/collection/components/form/help/help.js +2 -5
  117. package/dist/collection/components/form/row/row.js +4 -1
  118. package/dist/collection/components/form/templates/array-field.js +4 -4
  119. package/dist/collection/components/form/templates/common.js +21 -4
  120. package/dist/collection/components/form/templates/heading-level.js +51 -0
  121. package/dist/collection/components/form/templates/object-field.js +3 -9
  122. package/dist/collection/components/form-header/form-header.css +3 -0
  123. package/dist/collection/components/form-header/form-header.js +163 -0
  124. package/dist/collection/components/form-header/help-props.js +17 -0
  125. package/dist/collection/components/grid/grid.js +1 -1
  126. package/dist/collection/components/header/header.js +1 -1
  127. package/dist/collection/components/help/help-content.js +1 -1
  128. package/dist/collection/components/help/help.js +2 -2
  129. package/dist/collection/components/helper-line/helper-line.js +2 -2
  130. package/dist/collection/components/hotkey/hotkey.js +1 -1
  131. package/dist/collection/components/icon/icon.js +1 -1
  132. package/dist/collection/components/icon-button/icon-button.js +1 -1
  133. package/dist/collection/components/info-tile/info-tile.js +2 -2
  134. package/dist/collection/components/input-field/input-field.js +1 -1
  135. package/dist/collection/components/list/list.js +1 -1
  136. package/dist/collection/components/list-item/list-item.js +2 -2
  137. package/dist/collection/components/list-item/menu-item-meta/menu-item-meta.js +1 -1
  138. package/dist/collection/components/markdown/markdown.js +1 -1
  139. package/dist/collection/components/masonry-layout/masonry-layout.js +1 -1
  140. package/dist/collection/components/menu/menu.js +1 -1
  141. package/dist/collection/components/menu-list/menu-list.js +1 -1
  142. package/dist/collection/components/menu-surface/menu-surface.js +1 -1
  143. package/dist/collection/components/notched-outline/notched-outline.js +1 -1
  144. package/dist/collection/components/pagination/pagination.js +1 -1
  145. package/dist/collection/components/picker/picker.js +1 -1
  146. package/dist/collection/components/popover/popover.js +1 -1
  147. package/dist/collection/components/popover-surface/popover-surface.js +1 -1
  148. package/dist/collection/components/portal/portal.js +1 -1
  149. package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
  150. package/dist/collection/components/radio-button-group/radio-button.js +2 -2
  151. package/dist/collection/components/resize-handle/resize-handle.js +1 -1
  152. package/dist/collection/components/scroller/scroller.js +2 -2
  153. package/dist/collection/components/select/select.js +1 -1
  154. package/dist/collection/components/shortcut/shortcut.js +1 -1
  155. package/dist/collection/components/side-panel/side-panel.js +1 -1
  156. package/dist/collection/components/slider/slider.js +3 -3
  157. package/dist/collection/components/snackbar/snackbar.js +2 -2
  158. package/dist/collection/components/spinner/spinner.js +1 -1
  159. package/dist/collection/components/split-button/split-button.js +2 -2
  160. package/dist/collection/components/switch/switch.js +1 -1
  161. package/dist/collection/components/tab-bar/tab-bar.js +1 -1
  162. package/dist/collection/components/tab-panel/tab-panel.js +1 -1
  163. package/dist/collection/components/table/table.js +2 -2
  164. package/dist/collection/components/text-editor/link-menu/editor-link-menu.js +3 -3
  165. package/dist/collection/components/text-editor/prosemirror-adapter/prosemirror-adapter.js +1 -1
  166. package/dist/collection/components/text-editor/text-editor.js +1 -1
  167. package/dist/collection/components/tooltip/tooltip-content.js +1 -1
  168. package/dist/collection/components/tooltip/tooltip.js +2 -2
  169. package/dist/esm/_Map-LWJCQc-c.js +54 -0
  170. package/dist/esm/_arrayPush-NEl7BpFy.js +416 -0
  171. package/dist/esm/_baseFlatten-mvFj07qD.js +195 -0
  172. package/dist/esm/{_baseForOwn-vKFWmmaS.js → _baseForOwn-C3COyhQS.js} +1 -1
  173. package/dist/esm/{_baseIsEqual-B_JRErB0.js → _baseIsEqual-CJf575VC.js} +9 -419
  174. package/dist/esm/_baseIteratee-DM5xljbg.js +260 -0
  175. package/dist/esm/{_baseSet-BUAq8NGm.js → _basePickBy-D_9Hus6l.js} +27 -41
  176. package/dist/esm/{_getPrototype-B0kMNv1F.js → _getPrototype-CQlOogH0.js} +1 -1
  177. package/dist/esm/{_getTag-BiAaLWvH.js → _getTag-BTNY_Z_q.js} +5 -53
  178. package/dist/esm/{cloneDeep-Bcll-3f8.js → cloneDeep-BYrS7zqD.js} +3 -3
  179. package/dist/esm/{drag-to-reorder-BXmXIwCa.js → drag-to-reorder-9gxiYkIo.js} +3 -192
  180. package/dist/esm/{_baseIteratee-CVz7aes3.js → hasIn-CKUl04DZ.js} +5 -259
  181. package/dist/esm/help-props-DULV6dHr.js +88 -0
  182. package/dist/esm/isArrayLike-wfLI14yj.js +33 -0
  183. package/dist/esm/{isEmpty-BGVZ12Ea.js → isEmpty-CvLNUkER.js} +3 -2
  184. package/dist/esm/{isEqual-C-pK6AAU.js → isEqual-BIfg0KPc.js} +1 -1
  185. package/dist/esm/isLength-BZrtP4vv.js +35 -0
  186. package/dist/esm/lime-elements.js +1 -1
  187. package/dist/esm/limel-3d-hover-effect-glow.entry.js +1 -1
  188. package/dist/esm/limel-action-bar_3.entry.js +3 -3
  189. package/dist/esm/limel-ai-avatar.entry.js +1 -1
  190. package/dist/esm/limel-badge.entry.js +2 -2
  191. package/dist/esm/limel-banner.entry.js +1 -1
  192. package/dist/esm/limel-breadcrumbs_6.entry.js +6 -6
  193. package/dist/esm/limel-button-group.entry.js +1 -1
  194. package/dist/esm/limel-button.entry.js +2 -2
  195. package/dist/esm/limel-callout.entry.js +1 -1
  196. package/dist/esm/limel-card.entry.js +1 -1
  197. package/dist/esm/limel-checkbox.entry.js +1 -1
  198. package/dist/esm/limel-chip-set.entry.js +11 -8
  199. package/dist/esm/limel-chip_2.entry.js +7 -5
  200. package/dist/esm/limel-circular-progress.entry.js +1 -1
  201. package/dist/esm/limel-code-diff.entry.js +1 -1
  202. package/dist/esm/limel-code-editor.entry.js +1 -1
  203. package/dist/esm/limel-collapsible-section.entry.js +1 -1
  204. package/dist/esm/limel-color-picker-palette.entry.js +2 -2
  205. package/dist/esm/limel-color-picker.entry.js +1 -1
  206. package/dist/esm/limel-dialog.entry.js +12 -9
  207. package/dist/esm/limel-dock.entry.js +2 -2
  208. package/dist/esm/limel-drag-handle_2.entry.js +3 -3
  209. package/dist/esm/limel-email-viewer.entry.js +1 -1
  210. package/dist/esm/limel-file-dropzone_2.entry.js +14 -10
  211. package/dist/esm/limel-file.entry.js +1 -1
  212. package/dist/esm/limel-flatpickr-adapter.entry.js +3 -2
  213. package/dist/esm/limel-flex-container.entry.js +1 -1
  214. package/dist/esm/limel-form-header.entry.js +57 -0
  215. package/dist/esm/limel-form.entry.js +136 -41
  216. package/dist/esm/limel-grid.entry.js +1 -1
  217. package/dist/esm/limel-header.entry.js +1 -1
  218. package/dist/esm/{limel-help.entry.js → limel-help_2.entry.js} +22 -3
  219. package/dist/esm/limel-helper-line_3.entry.js +4 -4
  220. package/dist/esm/limel-hotkey_4.entry.js +5 -5
  221. package/dist/esm/limel-icon-button.entry.js +1 -1
  222. package/dist/esm/limel-icon.entry.js +1 -1
  223. package/dist/esm/limel-info-tile.entry.js +2 -2
  224. package/dist/esm/limel-list-item.entry.js +2 -2
  225. package/dist/esm/limel-markdown.entry.js +1 -1
  226. package/dist/esm/limel-masonry-layout.entry.js +1 -1
  227. package/dist/esm/limel-menu-item-meta.entry.js +1 -1
  228. package/dist/esm/limel-pagination.entry.js +1 -1
  229. package/dist/esm/limel-picker.entry.js +1 -1
  230. package/dist/esm/limel-popover_2.entry.js +2 -2
  231. package/dist/esm/limel-prosemirror-adapter.entry.js +13 -10
  232. package/dist/esm/limel-radio-button-group.entry.js +1 -1
  233. package/dist/esm/limel-radio-button.entry.js +2 -2
  234. package/dist/esm/limel-resize-handle.entry.js +1 -1
  235. package/dist/esm/limel-select.entry.js +1 -1
  236. package/dist/esm/limel-shortcut.entry.js +1 -1
  237. package/dist/esm/limel-side-panel.entry.js +1 -1
  238. package/dist/esm/limel-slider.entry.js +3 -3
  239. package/dist/esm/limel-snackbar.entry.js +2 -2
  240. package/dist/esm/limel-split-button.entry.js +2 -2
  241. package/dist/esm/limel-switch.entry.js +1 -1
  242. package/dist/esm/limel-tab-bar.entry.js +14 -10
  243. package/dist/esm/limel-tab-panel.entry.js +1 -1
  244. package/dist/esm/limel-table.entry.js +16 -36
  245. package/dist/esm/limel-text-editor-link-menu.entry.js +3 -3
  246. package/dist/esm/limel-text-editor.entry.js +1 -1
  247. package/dist/esm/loader.js +1 -1
  248. package/dist/esm/negate-ooVD-6_a.js +40 -0
  249. package/dist/lime-elements/lime-elements.esm.js +1 -1
  250. package/dist/lime-elements/{p-1d6014ed.entry.js → p-05c1f5a0.entry.js} +1 -1
  251. package/dist/lime-elements/p-0c314c3c.entry.js +1 -0
  252. package/dist/lime-elements/{p-aac603af.entry.js → p-153e91e1.entry.js} +1 -1
  253. package/dist/lime-elements/{p-f455150b.entry.js → p-164e1ad0.entry.js} +1 -1
  254. package/dist/lime-elements/{p-67536ac3.entry.js → p-19681a98.entry.js} +1 -1
  255. package/dist/lime-elements/{p-6e9c34f9.entry.js → p-1d13245d.entry.js} +1 -1
  256. package/dist/lime-elements/{p-87c9f4de.entry.js → p-22c44279.entry.js} +1 -1
  257. package/dist/lime-elements/{p-7375fac2.entry.js → p-26347009.entry.js} +1 -1
  258. package/dist/lime-elements/{p-f0e3a147.entry.js → p-27d7c255.entry.js} +2 -2
  259. package/dist/lime-elements/{p-3fa66fb1.entry.js → p-29815107.entry.js} +1 -1
  260. package/dist/lime-elements/{p-27d375f3.entry.js → p-2a375a65.entry.js} +1 -1
  261. package/dist/lime-elements/{p-aee75ad1.entry.js → p-2c29c27f.entry.js} +1 -1
  262. package/dist/lime-elements/{p-19426c76.entry.js → p-2f5face5.entry.js} +1 -1
  263. package/dist/lime-elements/{p-8f133cd6.entry.js → p-3ae5fb67.entry.js} +1 -1
  264. package/dist/lime-elements/{p-bb40b96c.entry.js → p-3c861ca8.entry.js} +1 -1
  265. package/dist/lime-elements/{p-f96a8e2c.entry.js → p-40a48f70.entry.js} +1 -1
  266. package/dist/lime-elements/p-513d2a5e.entry.js +1 -0
  267. package/dist/lime-elements/{p-9e9187ce.entry.js → p-519603f5.entry.js} +1 -1
  268. package/dist/lime-elements/{p-4a381bc6.entry.js → p-545c087b.entry.js} +1 -1
  269. package/dist/lime-elements/{p-89316964.entry.js → p-55abec82.entry.js} +1 -1
  270. package/dist/lime-elements/{p-8e78fd4f.entry.js → p-55f7c9f5.entry.js} +1 -1
  271. package/dist/lime-elements/{p-2370ff51.entry.js → p-565e5ea7.entry.js} +1 -1
  272. package/dist/lime-elements/{p-3b4f6329.entry.js → p-586ee40c.entry.js} +1 -1
  273. package/dist/lime-elements/{p-ddabfac0.entry.js → p-5f2a34ed.entry.js} +1 -1
  274. package/dist/lime-elements/{p-dd065596.entry.js → p-5f82ea0b.entry.js} +1 -1
  275. package/dist/lime-elements/{p-82672504.entry.js → p-65eafc85.entry.js} +1 -1
  276. package/dist/lime-elements/p-67acf39d.entry.js +1 -0
  277. package/dist/lime-elements/{p-d1eaba10.entry.js → p-6aae3f58.entry.js} +1 -1
  278. package/dist/lime-elements/p-7035d93d.entry.js +1 -0
  279. package/dist/lime-elements/{p-674680f9.entry.js → p-707d4b28.entry.js} +1 -1
  280. package/dist/lime-elements/{p-068b141b.entry.js → p-713a1158.entry.js} +1 -1
  281. package/dist/lime-elements/{p-d94f1c0f.entry.js → p-7235d147.entry.js} +1 -1
  282. package/dist/lime-elements/p-72907ffd.entry.js +1 -0
  283. package/dist/lime-elements/{p-242f1032.entry.js → p-7aae3d13.entry.js} +1 -1
  284. package/dist/lime-elements/{p-88dcba1e.entry.js → p-7af16e1d.entry.js} +1 -1
  285. package/dist/lime-elements/{p-56fe13ef.entry.js → p-7d27d572.entry.js} +1 -1
  286. package/dist/lime-elements/{p-8339d921.entry.js → p-7f1a1ed5.entry.js} +1 -1
  287. package/dist/lime-elements/{p-3f447d22.entry.js → p-8045eb7f.entry.js} +1 -1
  288. package/dist/lime-elements/p-813cb15c.entry.js +1 -0
  289. package/dist/lime-elements/{p-0de00849.entry.js → p-9436aba6.entry.js} +4 -4
  290. package/dist/lime-elements/{p-b5ebcbfc.entry.js → p-9e30d206.entry.js} +1 -1
  291. package/dist/lime-elements/p-BIYP3lTf.js +1 -0
  292. package/dist/lime-elements/p-BZrtP4vv.js +1 -0
  293. package/dist/lime-elements/p-BqoaAMnl.js +1 -0
  294. package/dist/lime-elements/p-BuX-Eb_J.js +1 -0
  295. package/dist/lime-elements/p-C-Qy5a39.js +1 -0
  296. package/dist/lime-elements/p-Cn3Alk9P.js +1 -0
  297. package/dist/lime-elements/p-CnpoFRmN.js +1 -0
  298. package/dist/lime-elements/p-CzTSYn-I.js +1 -0
  299. package/dist/lime-elements/p-D5dy3YDO.js +1 -0
  300. package/dist/lime-elements/p-DVx8ZwG_.js +7 -0
  301. package/dist/lime-elements/p-DWd0MyPU.js +1 -0
  302. package/dist/lime-elements/p-DpFfRQwV.js +1 -0
  303. package/dist/lime-elements/p-UDFTKggt.js +1 -0
  304. package/dist/lime-elements/{p-9d354eca.entry.js → p-a608ebe3.entry.js} +1 -1
  305. package/dist/lime-elements/p-a81f6962.entry.js +1 -0
  306. package/dist/lime-elements/{p-6770cf06.entry.js → p-af53caab.entry.js} +1 -1
  307. package/dist/lime-elements/{p-150010b5.entry.js → p-b80433be.entry.js} +1 -1
  308. package/dist/lime-elements/{p-e13e0001.entry.js → p-b983531f.entry.js} +3 -3
  309. package/dist/lime-elements/{p-e9b1e0bd.entry.js → p-be0a8125.entry.js} +1 -1
  310. package/dist/lime-elements/{p-f0bf3fd1.entry.js → p-be2b8c1e.entry.js} +1 -1
  311. package/dist/lime-elements/p-c2_jcMp6.js +1 -0
  312. package/dist/lime-elements/{p-de3cf7d8.entry.js → p-c73f4160.entry.js} +1 -1
  313. package/dist/lime-elements/{p-5ea07cbe.entry.js → p-cc8d6198.entry.js} +1 -1
  314. package/dist/lime-elements/{p-026eed2d.entry.js → p-cced022b.entry.js} +1 -1
  315. package/dist/lime-elements/{p-BAqAt5It.js → p-cv8kR73y.js} +1 -1
  316. package/dist/lime-elements/{p-be8950a6.entry.js → p-d0908a85.entry.js} +2 -2
  317. package/dist/lime-elements/{p-17aa9235.entry.js → p-da4b4a81.entry.js} +1 -1
  318. package/dist/lime-elements/{p-5d623004.entry.js → p-dd383c12.entry.js} +1 -1
  319. package/dist/lime-elements/{p-41172b62.entry.js → p-e0ab0046.entry.js} +1 -1
  320. package/dist/lime-elements/{p-8a9361a2.entry.js → p-eb5a18ff.entry.js} +1 -1
  321. package/dist/lime-elements/p-f35880ef.entry.js +1 -0
  322. package/dist/lime-elements/p-f8566c5b.entry.js +1 -0
  323. package/dist/lime-elements/{p-64540beb.entry.js → p-fad7a3fa.entry.js} +1 -1
  324. package/dist/lime-elements/p-fdc7da58.entry.js +1 -0
  325. package/dist/lime-elements/p-ooVD-6_a.js +1 -0
  326. package/dist/lime-elements/p-rJbGuVxd.js +1 -0
  327. package/dist/lime-elements/p-xGeCwSnE.js +1 -0
  328. package/dist/types/components/form/form.d.ts +15 -1
  329. package/dist/types/components/form/form.test-schemas.d.ts +4 -0
  330. package/dist/types/components/form/form.types.d.ts +6 -0
  331. package/dist/types/components/form/help/help.d.ts +0 -2
  332. package/dist/types/components/form/row/row.d.ts +3 -0
  333. package/dist/types/components/form/templates/common.d.ts +17 -4
  334. package/dist/types/components/form/templates/heading-level.d.ts +49 -0
  335. package/dist/types/components/form-header/form-header.d.ts +47 -0
  336. package/dist/types/components/form-header/help-props.d.ts +7 -0
  337. package/dist/types/components.d.ts +140 -2
  338. package/dist/types/interface.d.ts +1 -1
  339. package/package.json +1 -1
  340. package/dist/cjs/isArrayLike-C2RwZMG4.js +0 -69
  341. package/dist/cjs/limel-help-content.cjs.entry.js +0 -24
  342. package/dist/esm/isArrayLike-CyVGB489.js +0 -66
  343. package/dist/esm/limel-help-content.entry.js +0 -22
  344. package/dist/lime-elements/p-047c3234.entry.js +0 -1
  345. package/dist/lime-elements/p-09f8f883.entry.js +0 -1
  346. package/dist/lime-elements/p-5633c069.entry.js +0 -1
  347. package/dist/lime-elements/p-600466a9.entry.js +0 -1
  348. package/dist/lime-elements/p-BYfPV0O4.js +0 -1
  349. package/dist/lime-elements/p-CW2-jhzP.js +0 -1
  350. package/dist/lime-elements/p-Cu9Ji1iJ.js +0 -1
  351. package/dist/lime-elements/p-D2VFSWDU.js +0 -1
  352. package/dist/lime-elements/p-D9Ezd43A.js +0 -1
  353. package/dist/lime-elements/p-DFu1q54T.js +0 -1
  354. package/dist/lime-elements/p-DK0pjX-Y.js +0 -1
  355. package/dist/lime-elements/p-DdnBHYb-.js +0 -7
  356. package/dist/lime-elements/p-DeIIlp6m.js +0 -1
  357. package/dist/lime-elements/p-Dq0uNStc.js +0 -1
  358. package/dist/lime-elements/p-afbe54e6.entry.js +0 -1
  359. package/dist/lime-elements/p-c583ab0d.entry.js +0 -1
  360. package/dist/lime-elements/p-e2971111.entry.js +0 -1
  361. package/dist/lime-elements/p-e332bb9b.entry.js +0 -1
  362. package/dist/lime-elements/p-e50acec1.entry.js +0 -1
  363. package/dist/lime-elements/p-f1ac7608.entry.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [40.16.0](https://github.com/Lundalogik/lime-elements/compare/v40.15.0...v40.16.0) (2026-10-28)
2
+
3
+ ### Features
4
+
5
+
6
+ * **form:** add a prop for the level of the headings ([4b654be](https://github.com/Lundalogik/lime-elements/commit/4b654be14e658c14e81d9d25c187fca17e9a4f88))
7
+ ### Bug Fixes
8
+
9
+
10
+ * **form:** give limel-help only the properties of a help ([36228dd](https://github.com/Lundalogik/lime-elements/commit/36228dda1513bb18e1d46b0d2c8b3b9d2b2ac001))
11
+ * **form:** give the titles heading levels that follow how deep they are ([68160af](https://github.com/Lundalogik/lime-elements/commit/68160af48627ee954f16e843684ebf953f8d652a))
12
+
1
13
  ## [40.15.0](https://github.com/Lundalogik/lime-elements/compare/v40.14.5...v40.15.0) (2026-10-28)
2
14
 
3
15
  ### Features
@@ -0,0 +1,57 @@
1
+ 'use strict';
2
+
3
+ var isObject = require('./isObject-B6Osvvqp.js');
4
+ var isObjectLike = require('./isObjectLike-Dlpn-j-1.js');
5
+ var _getNative = require('./_getNative-Cf52giNE.js');
6
+
7
+ /** `Object#toString` result references. */
8
+ var argsTag = '[object Arguments]';
9
+
10
+ /**
11
+ * The base implementation of `_.isArguments`.
12
+ *
13
+ * @private
14
+ * @param {*} value The value to check.
15
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
16
+ */
17
+ function baseIsArguments(value) {
18
+ return isObjectLike.isObjectLike(value) && isObject.baseGetTag(value) == argsTag;
19
+ }
20
+
21
+ /** Used for built-in method references. */
22
+ var objectProto = Object.prototype;
23
+
24
+ /** Used to check objects for own properties. */
25
+ var hasOwnProperty = objectProto.hasOwnProperty;
26
+
27
+ /** Built-in value references. */
28
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
29
+
30
+ /**
31
+ * Checks if `value` is likely an `arguments` object.
32
+ *
33
+ * @static
34
+ * @memberOf _
35
+ * @since 0.1.0
36
+ * @category Lang
37
+ * @param {*} value The value to check.
38
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
39
+ * else `false`.
40
+ * @example
41
+ *
42
+ * _.isArguments(function() { return arguments; }());
43
+ * // => true
44
+ *
45
+ * _.isArguments([1, 2, 3]);
46
+ * // => false
47
+ */
48
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
49
+ return isObjectLike.isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
50
+ !propertyIsEnumerable.call(value, 'callee');
51
+ };
52
+
53
+ /* Built-in method references that are verified to be native. */
54
+ var Map = _getNative.getNative(isObject.root, 'Map');
55
+
56
+ exports.Map = Map;
57
+ exports.isArguments = isArguments;
@@ -0,0 +1,420 @@
1
+ 'use strict';
2
+
3
+ var _getNative = require('./_getNative-Cf52giNE.js');
4
+ var eq = require('./eq-DFcUoVzv.js');
5
+ var _Map = require('./_Map-BsuE0Kgq.js');
6
+
7
+ /* Built-in method references that are verified to be native. */
8
+ var nativeCreate = _getNative.getNative(Object, 'create');
9
+
10
+ /**
11
+ * Removes all key-value entries from the hash.
12
+ *
13
+ * @private
14
+ * @name clear
15
+ * @memberOf Hash
16
+ */
17
+ function hashClear() {
18
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
19
+ this.size = 0;
20
+ }
21
+
22
+ /**
23
+ * Removes `key` and its value from the hash.
24
+ *
25
+ * @private
26
+ * @name delete
27
+ * @memberOf Hash
28
+ * @param {Object} hash The hash to modify.
29
+ * @param {string} key The key of the value to remove.
30
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
31
+ */
32
+ function hashDelete(key) {
33
+ var result = this.has(key) && delete this.__data__[key];
34
+ this.size -= result ? 1 : 0;
35
+ return result;
36
+ }
37
+
38
+ /** Used to stand-in for `undefined` hash values. */
39
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
40
+
41
+ /** Used for built-in method references. */
42
+ var objectProto$1 = Object.prototype;
43
+
44
+ /** Used to check objects for own properties. */
45
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
46
+
47
+ /**
48
+ * Gets the hash value for `key`.
49
+ *
50
+ * @private
51
+ * @name get
52
+ * @memberOf Hash
53
+ * @param {string} key The key of the value to get.
54
+ * @returns {*} Returns the entry value.
55
+ */
56
+ function hashGet(key) {
57
+ var data = this.__data__;
58
+ if (nativeCreate) {
59
+ var result = data[key];
60
+ return result === HASH_UNDEFINED$1 ? undefined : result;
61
+ }
62
+ return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
63
+ }
64
+
65
+ /** Used for built-in method references. */
66
+ var objectProto = Object.prototype;
67
+
68
+ /** Used to check objects for own properties. */
69
+ var hasOwnProperty = objectProto.hasOwnProperty;
70
+
71
+ /**
72
+ * Checks if a hash value for `key` exists.
73
+ *
74
+ * @private
75
+ * @name has
76
+ * @memberOf Hash
77
+ * @param {string} key The key of the entry to check.
78
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
79
+ */
80
+ function hashHas(key) {
81
+ var data = this.__data__;
82
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
83
+ }
84
+
85
+ /** Used to stand-in for `undefined` hash values. */
86
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
87
+
88
+ /**
89
+ * Sets the hash `key` to `value`.
90
+ *
91
+ * @private
92
+ * @name set
93
+ * @memberOf Hash
94
+ * @param {string} key The key of the value to set.
95
+ * @param {*} value The value to set.
96
+ * @returns {Object} Returns the hash instance.
97
+ */
98
+ function hashSet(key, value) {
99
+ var data = this.__data__;
100
+ this.size += this.has(key) ? 0 : 1;
101
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
102
+ return this;
103
+ }
104
+
105
+ /**
106
+ * Creates a hash object.
107
+ *
108
+ * @private
109
+ * @constructor
110
+ * @param {Array} [entries] The key-value pairs to cache.
111
+ */
112
+ function Hash(entries) {
113
+ var index = -1,
114
+ length = entries == null ? 0 : entries.length;
115
+
116
+ this.clear();
117
+ while (++index < length) {
118
+ var entry = entries[index];
119
+ this.set(entry[0], entry[1]);
120
+ }
121
+ }
122
+
123
+ // Add methods to `Hash`.
124
+ Hash.prototype.clear = hashClear;
125
+ Hash.prototype['delete'] = hashDelete;
126
+ Hash.prototype.get = hashGet;
127
+ Hash.prototype.has = hashHas;
128
+ Hash.prototype.set = hashSet;
129
+
130
+ /**
131
+ * Removes all key-value entries from the list cache.
132
+ *
133
+ * @private
134
+ * @name clear
135
+ * @memberOf ListCache
136
+ */
137
+ function listCacheClear() {
138
+ this.__data__ = [];
139
+ this.size = 0;
140
+ }
141
+
142
+ /**
143
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
144
+ *
145
+ * @private
146
+ * @param {Array} array The array to inspect.
147
+ * @param {*} key The key to search for.
148
+ * @returns {number} Returns the index of the matched value, else `-1`.
149
+ */
150
+ function assocIndexOf(array, key) {
151
+ var length = array.length;
152
+ while (length--) {
153
+ if (eq.eq(array[length][0], key)) {
154
+ return length;
155
+ }
156
+ }
157
+ return -1;
158
+ }
159
+
160
+ /** Used for built-in method references. */
161
+ var arrayProto = Array.prototype;
162
+
163
+ /** Built-in value references. */
164
+ var splice = arrayProto.splice;
165
+
166
+ /**
167
+ * Removes `key` and its value from the list cache.
168
+ *
169
+ * @private
170
+ * @name delete
171
+ * @memberOf ListCache
172
+ * @param {string} key The key of the value to remove.
173
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
174
+ */
175
+ function listCacheDelete(key) {
176
+ var data = this.__data__,
177
+ index = assocIndexOf(data, key);
178
+
179
+ if (index < 0) {
180
+ return false;
181
+ }
182
+ var lastIndex = data.length - 1;
183
+ if (index == lastIndex) {
184
+ data.pop();
185
+ } else {
186
+ splice.call(data, index, 1);
187
+ }
188
+ --this.size;
189
+ return true;
190
+ }
191
+
192
+ /**
193
+ * Gets the list cache value for `key`.
194
+ *
195
+ * @private
196
+ * @name get
197
+ * @memberOf ListCache
198
+ * @param {string} key The key of the value to get.
199
+ * @returns {*} Returns the entry value.
200
+ */
201
+ function listCacheGet(key) {
202
+ var data = this.__data__,
203
+ index = assocIndexOf(data, key);
204
+
205
+ return index < 0 ? undefined : data[index][1];
206
+ }
207
+
208
+ /**
209
+ * Checks if a list cache value for `key` exists.
210
+ *
211
+ * @private
212
+ * @name has
213
+ * @memberOf ListCache
214
+ * @param {string} key The key of the entry to check.
215
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
216
+ */
217
+ function listCacheHas(key) {
218
+ return assocIndexOf(this.__data__, key) > -1;
219
+ }
220
+
221
+ /**
222
+ * Sets the list cache `key` to `value`.
223
+ *
224
+ * @private
225
+ * @name set
226
+ * @memberOf ListCache
227
+ * @param {string} key The key of the value to set.
228
+ * @param {*} value The value to set.
229
+ * @returns {Object} Returns the list cache instance.
230
+ */
231
+ function listCacheSet(key, value) {
232
+ var data = this.__data__,
233
+ index = assocIndexOf(data, key);
234
+
235
+ if (index < 0) {
236
+ ++this.size;
237
+ data.push([key, value]);
238
+ } else {
239
+ data[index][1] = value;
240
+ }
241
+ return this;
242
+ }
243
+
244
+ /**
245
+ * Creates an list cache object.
246
+ *
247
+ * @private
248
+ * @constructor
249
+ * @param {Array} [entries] The key-value pairs to cache.
250
+ */
251
+ function ListCache(entries) {
252
+ var index = -1,
253
+ length = entries == null ? 0 : entries.length;
254
+
255
+ this.clear();
256
+ while (++index < length) {
257
+ var entry = entries[index];
258
+ this.set(entry[0], entry[1]);
259
+ }
260
+ }
261
+
262
+ // Add methods to `ListCache`.
263
+ ListCache.prototype.clear = listCacheClear;
264
+ ListCache.prototype['delete'] = listCacheDelete;
265
+ ListCache.prototype.get = listCacheGet;
266
+ ListCache.prototype.has = listCacheHas;
267
+ ListCache.prototype.set = listCacheSet;
268
+
269
+ /**
270
+ * Removes all key-value entries from the map.
271
+ *
272
+ * @private
273
+ * @name clear
274
+ * @memberOf MapCache
275
+ */
276
+ function mapCacheClear() {
277
+ this.size = 0;
278
+ this.__data__ = {
279
+ 'hash': new Hash,
280
+ 'map': new (_Map.Map || ListCache),
281
+ 'string': new Hash
282
+ };
283
+ }
284
+
285
+ /**
286
+ * Checks if `value` is suitable for use as unique object key.
287
+ *
288
+ * @private
289
+ * @param {*} value The value to check.
290
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
291
+ */
292
+ function isKeyable(value) {
293
+ var type = typeof value;
294
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
295
+ ? (value !== '__proto__')
296
+ : (value === null);
297
+ }
298
+
299
+ /**
300
+ * Gets the data for `map`.
301
+ *
302
+ * @private
303
+ * @param {Object} map The map to query.
304
+ * @param {string} key The reference key.
305
+ * @returns {*} Returns the map data.
306
+ */
307
+ function getMapData(map, key) {
308
+ var data = map.__data__;
309
+ return isKeyable(key)
310
+ ? data[typeof key == 'string' ? 'string' : 'hash']
311
+ : data.map;
312
+ }
313
+
314
+ /**
315
+ * Removes `key` and its value from the map.
316
+ *
317
+ * @private
318
+ * @name delete
319
+ * @memberOf MapCache
320
+ * @param {string} key The key of the value to remove.
321
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
322
+ */
323
+ function mapCacheDelete(key) {
324
+ var result = getMapData(this, key)['delete'](key);
325
+ this.size -= result ? 1 : 0;
326
+ return result;
327
+ }
328
+
329
+ /**
330
+ * Gets the map value for `key`.
331
+ *
332
+ * @private
333
+ * @name get
334
+ * @memberOf MapCache
335
+ * @param {string} key The key of the value to get.
336
+ * @returns {*} Returns the entry value.
337
+ */
338
+ function mapCacheGet(key) {
339
+ return getMapData(this, key).get(key);
340
+ }
341
+
342
+ /**
343
+ * Checks if a map value for `key` exists.
344
+ *
345
+ * @private
346
+ * @name has
347
+ * @memberOf MapCache
348
+ * @param {string} key The key of the entry to check.
349
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
350
+ */
351
+ function mapCacheHas(key) {
352
+ return getMapData(this, key).has(key);
353
+ }
354
+
355
+ /**
356
+ * Sets the map `key` to `value`.
357
+ *
358
+ * @private
359
+ * @name set
360
+ * @memberOf MapCache
361
+ * @param {string} key The key of the value to set.
362
+ * @param {*} value The value to set.
363
+ * @returns {Object} Returns the map cache instance.
364
+ */
365
+ function mapCacheSet(key, value) {
366
+ var data = getMapData(this, key),
367
+ size = data.size;
368
+
369
+ data.set(key, value);
370
+ this.size += data.size == size ? 0 : 1;
371
+ return this;
372
+ }
373
+
374
+ /**
375
+ * Creates a map cache object to store key-value pairs.
376
+ *
377
+ * @private
378
+ * @constructor
379
+ * @param {Array} [entries] The key-value pairs to cache.
380
+ */
381
+ function MapCache(entries) {
382
+ var index = -1,
383
+ length = entries == null ? 0 : entries.length;
384
+
385
+ this.clear();
386
+ while (++index < length) {
387
+ var entry = entries[index];
388
+ this.set(entry[0], entry[1]);
389
+ }
390
+ }
391
+
392
+ // Add methods to `MapCache`.
393
+ MapCache.prototype.clear = mapCacheClear;
394
+ MapCache.prototype['delete'] = mapCacheDelete;
395
+ MapCache.prototype.get = mapCacheGet;
396
+ MapCache.prototype.has = mapCacheHas;
397
+ MapCache.prototype.set = mapCacheSet;
398
+
399
+ /**
400
+ * Appends the elements of `values` to `array`.
401
+ *
402
+ * @private
403
+ * @param {Array} array The array to modify.
404
+ * @param {Array} values The values to append.
405
+ * @returns {Array} Returns `array`.
406
+ */
407
+ function arrayPush(array, values) {
408
+ var index = -1,
409
+ length = values.length,
410
+ offset = array.length;
411
+
412
+ while (++index < length) {
413
+ array[offset + index] = values[index];
414
+ }
415
+ return array;
416
+ }
417
+
418
+ exports.ListCache = ListCache;
419
+ exports.MapCache = MapCache;
420
+ exports.arrayPush = arrayPush;
@@ -0,0 +1,199 @@
1
+ 'use strict';
2
+
3
+ var _defineProperty = require('./_defineProperty-Csu6P9HT.js');
4
+ var identity = require('./identity-Dz5mxHaJ.js');
5
+ var _arrayPush = require('./_arrayPush-0Rd-eNkQ.js');
6
+ var isObject = require('./isObject-B6Osvvqp.js');
7
+ var _Map = require('./_Map-BsuE0Kgq.js');
8
+ var isArray = require('./isArray-BuFVIU_i.js');
9
+
10
+ /**
11
+ * A faster alternative to `Function#apply`, this function invokes `func`
12
+ * with the `this` binding of `thisArg` and the arguments of `args`.
13
+ *
14
+ * @private
15
+ * @param {Function} func The function to invoke.
16
+ * @param {*} thisArg The `this` binding of `func`.
17
+ * @param {Array} args The arguments to invoke `func` with.
18
+ * @returns {*} Returns the result of `func`.
19
+ */
20
+ function apply(func, thisArg, args) {
21
+ switch (args.length) {
22
+ case 0: return func.call(thisArg);
23
+ case 1: return func.call(thisArg, args[0]);
24
+ case 2: return func.call(thisArg, args[0], args[1]);
25
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
26
+ }
27
+ return func.apply(thisArg, args);
28
+ }
29
+
30
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
31
+ var HOT_COUNT = 800,
32
+ HOT_SPAN = 16;
33
+
34
+ /* Built-in method references for those with the same name as other `lodash` methods. */
35
+ var nativeNow = Date.now;
36
+
37
+ /**
38
+ * Creates a function that'll short out and invoke `identity` instead
39
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
40
+ * milliseconds.
41
+ *
42
+ * @private
43
+ * @param {Function} func The function to restrict.
44
+ * @returns {Function} Returns the new shortable function.
45
+ */
46
+ function shortOut(func) {
47
+ var count = 0,
48
+ lastCalled = 0;
49
+
50
+ return function() {
51
+ var stamp = nativeNow(),
52
+ remaining = HOT_SPAN - (stamp - lastCalled);
53
+
54
+ lastCalled = stamp;
55
+ if (remaining > 0) {
56
+ if (++count >= HOT_COUNT) {
57
+ return arguments[0];
58
+ }
59
+ } else {
60
+ count = 0;
61
+ }
62
+ return func.apply(undefined, arguments);
63
+ };
64
+ }
65
+
66
+ /**
67
+ * Creates a function that returns `value`.
68
+ *
69
+ * @static
70
+ * @memberOf _
71
+ * @since 2.4.0
72
+ * @category Util
73
+ * @param {*} value The value to return from the new function.
74
+ * @returns {Function} Returns the new constant function.
75
+ * @example
76
+ *
77
+ * var objects = _.times(2, _.constant({ 'a': 1 }));
78
+ *
79
+ * console.log(objects);
80
+ * // => [{ 'a': 1 }, { 'a': 1 }]
81
+ *
82
+ * console.log(objects[0] === objects[1]);
83
+ * // => true
84
+ */
85
+ function constant(value) {
86
+ return function() {
87
+ return value;
88
+ };
89
+ }
90
+
91
+ /**
92
+ * The base implementation of `setToString` without support for hot loop shorting.
93
+ *
94
+ * @private
95
+ * @param {Function} func The function to modify.
96
+ * @param {Function} string The `toString` result.
97
+ * @returns {Function} Returns `func`.
98
+ */
99
+ var baseSetToString = !_defineProperty.defineProperty ? identity.identity : function(func, string) {
100
+ return _defineProperty.defineProperty(func, 'toString', {
101
+ 'configurable': true,
102
+ 'enumerable': false,
103
+ 'value': constant(string),
104
+ 'writable': true
105
+ });
106
+ };
107
+
108
+ /**
109
+ * Sets the `toString` method of `func` to return `string`.
110
+ *
111
+ * @private
112
+ * @param {Function} func The function to modify.
113
+ * @param {Function} string The `toString` result.
114
+ * @returns {Function} Returns `func`.
115
+ */
116
+ var setToString = shortOut(baseSetToString);
117
+
118
+ /* Built-in method references for those with the same name as other `lodash` methods. */
119
+ var nativeMax = Math.max;
120
+
121
+ /**
122
+ * A specialized version of `baseRest` which transforms the rest array.
123
+ *
124
+ * @private
125
+ * @param {Function} func The function to apply a rest parameter to.
126
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
127
+ * @param {Function} transform The rest array transform.
128
+ * @returns {Function} Returns the new function.
129
+ */
130
+ function overRest(func, start, transform) {
131
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
132
+ return function() {
133
+ var args = arguments,
134
+ index = -1,
135
+ length = nativeMax(args.length - start, 0),
136
+ array = Array(length);
137
+
138
+ while (++index < length) {
139
+ array[index] = args[start + index];
140
+ }
141
+ index = -1;
142
+ var otherArgs = Array(start + 1);
143
+ while (++index < start) {
144
+ otherArgs[index] = args[index];
145
+ }
146
+ otherArgs[start] = transform(array);
147
+ return apply(func, this, otherArgs);
148
+ };
149
+ }
150
+
151
+ /** Built-in value references. */
152
+ var spreadableSymbol = isObject.Symbol ? isObject.Symbol.isConcatSpreadable : undefined;
153
+
154
+ /**
155
+ * Checks if `value` is a flattenable `arguments` object or array.
156
+ *
157
+ * @private
158
+ * @param {*} value The value to check.
159
+ * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
160
+ */
161
+ function isFlattenable(value) {
162
+ return isArray.isArray(value) || _Map.isArguments(value) ||
163
+ !!(spreadableSymbol && value && value[spreadableSymbol]);
164
+ }
165
+
166
+ /**
167
+ * The base implementation of `_.flatten` with support for restricting flattening.
168
+ *
169
+ * @private
170
+ * @param {Array} array The array to flatten.
171
+ * @param {number} depth The maximum recursion depth.
172
+ * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
173
+ * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
174
+ * @param {Array} [result=[]] The initial result value.
175
+ * @returns {Array} Returns the new flattened array.
176
+ */
177
+ function baseFlatten(array, depth, predicate, isStrict, result) {
178
+ var index = -1,
179
+ length = array.length;
180
+
181
+ predicate || (predicate = isFlattenable);
182
+ result || (result = []);
183
+
184
+ while (++index < length) {
185
+ var value = array[index];
186
+ if (predicate(value)) {
187
+ {
188
+ _arrayPush.arrayPush(result, value);
189
+ }
190
+ } else if (!isStrict) {
191
+ result[result.length] = value;
192
+ }
193
+ }
194
+ return result;
195
+ }
196
+
197
+ exports.baseFlatten = baseFlatten;
198
+ exports.overRest = overRest;
199
+ exports.setToString = setToString;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _baseIsEqual = require('./_baseIsEqual-zzV9DKMv.js');
3
+ var _baseIsEqual = require('./_baseIsEqual-DNSR68qD.js');
4
4
 
5
5
  /**
6
6
  * Creates a base function for methods like `_.forIn` and `_.forOwn`.