@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
@@ -16,7 +16,7 @@ export class Spinner {
16
16
  this.limeBranded = false;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '9883b127040b5ff110bdd1d8b6d38007fb02df6f' }, h("svg", { key: '019b40d28fc363dd0a6e6b740408df2de717bf65', viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, this.renderSpinner())));
19
+ return (h(Host, { key: 'e6dd8f47c04e8839ac03e8889d99c82ee916eb00' }, h("svg", { key: 'd2281d0ecb477e7c8d6919f473e44fd15d1252c2', viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, this.renderSpinner())));
20
20
  }
21
21
  renderSpinner() {
22
22
  if (!this.limeBranded) {
@@ -55,9 +55,9 @@ export class SplitButton {
55
55
  };
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '7d99f6e787578f89d011b03d7f74555514e26644', class: {
58
+ return (h(Host, { key: '18de8e93a8ff6756ad149bde1ea84ce90ce0036b', class: {
59
59
  'has-menu': this.items.length > 0,
60
- }, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: 'b846b51c307b36831bebe2bb6c3c4efc1c9019a9', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
60
+ }, onClick: this.filterClickWhenDisabled }, h("limel-button", { key: 'a2c1bc26acc989c8e0fa62ce31d644dab9ab9ee2', label: this.label, primary: this.primary, icon: this.icon, disabled: this.disabled, loading: this.loading, loadingFailed: this.loadingFailed }), this.renderMenu()));
61
61
  }
62
62
  static get is() { return "limel-split-button"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -79,7 +79,7 @@ export class Switch {
79
79
  removeEnterClickable(this.host);
80
80
  }
81
81
  render() {
82
- return (h(Host, { key: 'c85cef5b79b367de3c8ce07e486873f2311b47be' }, this.readonly
82
+ return (h(Host, { key: 'f587a415d29965c927cca8900bc06e4168eb2113' }, this.readonly
83
83
  ? this.renderReadonly()
84
84
  : this.renderInteractive(), this.renderHelperLine()));
85
85
  }
@@ -101,7 +101,7 @@ export class TabBar {
101
101
  }
102
102
  render() {
103
103
  const tabStop = findTabStop(this.tabs, this.tabs.findIndex((tab) => tab.active), this.getNavigationOptions());
104
- return (h("div", { key: 'dc7667c302c9f0e6646fde68910a7db307df4981', role: "tablist", "aria-orientation": this.getOrientation(), onKeyDown: this.handleKeyDown }, h("limel-scroller", { key: 'bedbb5b569822a394582a7f1c3e108206d230912', orientation: this.getOrientation() }, this.tabs.map((tab, index) => this.renderTabOrMovableTab(tab, index, index === tabStop)))));
104
+ return (h("div", { key: 'd5f54de83640eb4898a58cd71696085e28f3701a', role: "tablist", "aria-orientation": this.getOrientation(), onKeyDown: this.handleKeyDown }, h("limel-scroller", { key: '565bbbcdf070a6b2521064a84347028baaae273e', orientation: this.getOrientation() }, this.tabs.map((tab, index) => this.renderTabOrMovableTab(tab, index, index === tabStop)))));
105
105
  }
106
106
  tabsChanged(newTabs = [], oldTabs = []) {
107
107
  const newIds = newTabs.map((tab) => tab.id);
@@ -75,7 +75,7 @@ export class TabPanel {
75
75
  }
76
76
  }
77
77
  render() {
78
- return (h(Host, { key: '530a6e0b8ae7387edaf8e0c1b6360a5a8099f155', onChangeTab: this.handleChangeTabs }, h("div", { key: '5d2ba03a54a5315b9c400d28b8dc0967a41a34fe', class: "tab-panel" }, h("limel-tab-bar", { key: '69183dd7c31a1d5c6d7027a81bf152586bf6fd0a', tabs: this.tabs, orientation: this.orientation, allowTabReorder: this.allowTabReorder }), h("div", { key: 'f7ac219b8f1941a1b2b5656f36646077165b2ec9', class: "tab-content" }, h("slot", { key: '177a1e39cdc731a2e77b6d06a691851a193b2a40' })))));
78
+ return (h(Host, { key: 'eb146868d93cc4bd4f42cc360005e25e44dd7ad3', onChangeTab: this.handleChangeTabs }, h("div", { key: 'b6453044e1cd4ecf20351bf3b6ebe72debc6c0d5', class: "tab-panel" }, h("limel-tab-bar", { key: '0a12ede1dc3f43c029a959af75afcb67ff853612', tabs: this.tabs, orientation: this.orientation, allowTabReorder: this.allowTabReorder }), h("div", { key: '19b1b3f077a6e9a01a4327f595e4bf8c82a06261', class: "tab-content" }, h("slot", { key: 'b1e30dd491a4a5629a55ec11220f968cf9f1f2c8' })))));
79
79
  }
80
80
  setSlotElements() {
81
81
  const slot = this.getSlot();
@@ -757,13 +757,13 @@ export class Table {
757
757
  render() {
758
758
  var _a, _b;
759
759
  const totalRows = (_a = this.totalRows) !== null && _a !== void 0 ? _a : this.data.length;
760
- return (h(Host, { key: 'b83772fd4b3fda9ec2e422d7ae96108ac8c3e30a', class: {
760
+ return (h(Host, { key: '0191a4fb265a4eda818fe9478f253cc0210e3e3a', class: {
761
761
  'has-low-density': this.layout === 'lowDensity',
762
762
  'has-pagination-on-top': this.paginationLocation === 'top',
763
763
  'has-aggregation': this.hasAggregation(this.columns),
764
764
  'has-pagination': totalRows > this.pageSize,
765
765
  'has-selection': (_b = this.tableSelection) === null || _b === void 0 ? void 0 : _b.hasSelection,
766
- } }, h("div", { key: 'cae198d9b1cad3fc776bc09517013a93243c2228', id: "tabulator-container" }, h("div", { key: 'fe968494d9b7977eac1643aadeee1bf0d2347f0e', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: 'd73ed9fbcca8b75039fa7119e7c9bf0b00b58f0c', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: '67ffdb6b7627a0660008f17e3e5ae3ac62554a64', id: "tabulator-table" }))));
766
+ } }, h("div", { key: 'c0d266d3f273b437b0aa7d6fa83cb7ebe93b1963', id: "tabulator-container" }, h("div", { key: '836bbd66c7a99bacc2a961e51b6b05af5963cb8d', id: "tabulator-loader", style: { display: this.loading ? 'flex' : 'none' } }, h("limel-spinner", { key: 'b62f403ffb83b30e568b7da64b5ad45cb369b6de', size: "large" })), this.renderEmptyMessage(), this.renderSelectAll(), h("div", { key: '3c9f054e2c7b1a4f18115abf771b07ff729258cf', id: "tabulator-table" }))));
767
767
  }
768
768
  renderSelectAll() {
769
769
  var _a, _b, _c;
@@ -107,9 +107,9 @@ export class TextEditorLinkMenu {
107
107
  var _a, _b;
108
108
  const isValid = this.isValid(this.link.href);
109
109
  return [
110
- h("limel-input-field", { key: 'b5312daf705ab14fa4c468724558056b66608f22', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown }),
111
- h("limel-input-field", { key: '7a2f6855cc96f358e443e1601fbc165964c7ed24', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown, ref: (el) => (this.linkInput = el) }),
112
- h("div", { key: 'e177a765afc2a87c59ffee3df4c3448981cc4473', class: "actions" }, h("limel-button", { key: '899f0cac96a8dfeeef843bb8ca6a6777c838377b', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: '3708c7baac58d6f4865188c6008944d47e1a01ee', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
110
+ h("limel-input-field", { key: 'f9676b8287c3d6d366b668f56f701b0f4a61edb9', label: this.getTranslation('editor-link-menu.text'), value: ((_a = this.link) === null || _a === void 0 ? void 0 : _a.text) || '', leadingIcon: "text_cursor", onChange: this.handleLinkTitleChange, onKeyDown: this.handleKeyDown }),
111
+ h("limel-input-field", { key: '4471ed4849ecf1536e1d230c3a9821f8254ecf7e', label: this.getTranslation('editor-link-menu.link'), value: ((_b = this.link) === null || _b === void 0 ? void 0 : _b.href) || '', type: "text", leadingIcon: "-lime-text-link", trailingIcon: "external_link", invalid: !isValid, onChange: this.handleLinkValueChange, onAction: this.handleLinkInputAction, onKeyDown: this.handleKeyDown, ref: (el) => (this.linkInput = el) }),
112
+ h("div", { key: 'fd05d27fce1f463979847fbc16fd9aac8a9fb17a', class: "actions" }, h("limel-button", { key: '9bd0d2e1b0d9a37094872652efad8b5f9e0ace15', label: this.getTranslation('cancel'), onClick: this.handleCancel }), h("limel-button", { key: 'a9aab48e7fe4cf0811e5b9044c9804a0cac73765', primary: true, label: this.getTranslation('save'), disabled: !isValid, onClick: this.handleSave, ref: (el) => (this.saveButton = el), slot: "button" })),
113
113
  ];
114
114
  }
115
115
  static get is() { return "limel-text-editor-link-menu"; }
@@ -332,7 +332,7 @@ export class ProsemirrorAdapter {
332
332
  (_e = this.view) === null || _e === void 0 ? void 0 : _e.destroy();
333
333
  }
334
334
  render() {
335
- return (h(Host, { key: 'bfdaaa62c1d97672795987a0320fcaaf7df6aee0', onFocus: this.handleFocus }, h("div", { key: '6ea1e3685c40f85d9ca1f62e924f117c34571db9', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
335
+ return (h(Host, { key: 'f5d3b059f54cdb32f9499b9063e4b3c732490f0e', onFocus: this.handleFocus }, h("div", { key: '81aa602b9cf3575da987261e60629e008c03269c', id: "editor" }), this.renderToolbar(), this.renderLinkMenu()));
336
336
  }
337
337
  renderToolbar() {
338
338
  if (this.actionBarItems.length === 0 || this.ui === 'no-toolbar') {
@@ -174,7 +174,7 @@ export class TextEditor {
174
174
  await ((_a = this.adapterElement) === null || _a === void 0 ? void 0 : _a.clear());
175
175
  }
176
176
  render() {
177
- return (h(Host, { key: '83900052e98727b5b27f4135f5ba6931aa7e3c70' }, h("limel-notched-outline", { key: 'f1c35caa660aca7e7d636815b1e3e2ec3d5f1622', label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
177
+ return (h(Host, { key: 'c67e770630e0b704d0f00e76c59f4c6cf12c4cd9' }, h("limel-notched-outline", { key: 'c4c58e24b9dd09cccf433d2f3227994dbdadf5e4', label: this.label, required: this.required, invalid: this.invalid, disabled: this.disabled, readonly: this.readonly, hasValue: !!this.value, hasFloatingLabel: true }, this.renderEditor(), this.renderPlaceholder()), this.renderHelperLine()));
178
178
  }
179
179
  renderEditor() {
180
180
  if (this.readonly) {
@@ -15,7 +15,7 @@ export class TooltipContent {
15
15
  const style = this.maxlength
16
16
  ? { '--tooltip-max-width-of-text': `${this.maxlength}ch` }
17
17
  : undefined;
18
- return (h(Host, { key: 'f5812cfa3d4abb1bddd71f4a1356666e655c9665', class: { 'has-column-layout': isLabelsTextLong }, style: style }, h("div", { key: '3bd66c2b52150d4f2b740c914fc13465b2833e7a', class: "label" }, this.label), this.renderHelperLabel(), this.renderHotkey()));
18
+ return (h(Host, { key: 'f9735b1c49a51e6945014d8a5a23a3e284b53ace', class: { 'has-column-layout': isLabelsTextLong }, style: style }, h("div", { key: '12ed325f94deb0788c72e8ce643adce1127af675', class: "label" }, this.label), this.renderHelperLabel(), this.renderHotkey()));
19
19
  }
20
20
  renderHelperLabel() {
21
21
  if (!this.helperLabel) {
@@ -76,10 +76,10 @@ export class Tooltip {
76
76
  }
77
77
  render() {
78
78
  const tooltipZIndex = getComputedStyle(this.host).getPropertyValue('--tooltip-z-index');
79
- return (h("div", { key: '731a0a14fd82106f3f64239f602b348c2053762d', class: "trigger-anchor" }, h("limel-portal", { key: 'c862ecd6be6f48fa6a4cc8a7c5d5470b317bdf16', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
79
+ return (h("div", { key: 'd3fb680f623403a5951303e4d104c07fc7a21d4e', class: "trigger-anchor" }, h("limel-portal", { key: '4050fdb323fce7e7f9953ce76c70e98e92a73eac', openDirection: this.openDirection, visible: this.open, containerId: this.portalId, containerStyle: {
80
80
  'z-index': tooltipZIndex,
81
81
  'pointer-events': 'none',
82
- }, anchor: this.ownerElement }, h("limel-tooltip-content", { key: '941de1ecb63c329f12c1e38833be15dc8d3283b5', label: this.label, helperLabel: this.helperLabel, hotkey: this.hotkey, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open }))));
82
+ }, anchor: this.ownerElement }, h("limel-tooltip-content", { key: '53ca0371e38f9dcb7ea1382fd20e892d4e0e4b72', label: this.label, helperLabel: this.helperLabel, hotkey: this.hotkey, maxlength: this.maxlength, role: "tooltip", "aria-hidden": !this.open }))));
83
83
  }
84
84
  async updateDescription() {
85
85
  if (!this.ownerElement) {
@@ -0,0 +1,54 @@
1
+ import { b as baseGetTag, r as root } from './isObject-BJQylLSL.js';
2
+ import { i as isObjectLike } from './isObjectLike-oiMYqRQ0.js';
3
+ import { g as getNative } from './_getNative-COawFdVX.js';
4
+
5
+ /** `Object#toString` result references. */
6
+ var argsTag = '[object Arguments]';
7
+
8
+ /**
9
+ * The base implementation of `_.isArguments`.
10
+ *
11
+ * @private
12
+ * @param {*} value The value to check.
13
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
14
+ */
15
+ function baseIsArguments(value) {
16
+ return isObjectLike(value) && baseGetTag(value) == argsTag;
17
+ }
18
+
19
+ /** Used for built-in method references. */
20
+ var objectProto = Object.prototype;
21
+
22
+ /** Used to check objects for own properties. */
23
+ var hasOwnProperty = objectProto.hasOwnProperty;
24
+
25
+ /** Built-in value references. */
26
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
27
+
28
+ /**
29
+ * Checks if `value` is likely an `arguments` object.
30
+ *
31
+ * @static
32
+ * @memberOf _
33
+ * @since 0.1.0
34
+ * @category Lang
35
+ * @param {*} value The value to check.
36
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
37
+ * else `false`.
38
+ * @example
39
+ *
40
+ * _.isArguments(function() { return arguments; }());
41
+ * // => true
42
+ *
43
+ * _.isArguments([1, 2, 3]);
44
+ * // => false
45
+ */
46
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
47
+ return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
48
+ !propertyIsEnumerable.call(value, 'callee');
49
+ };
50
+
51
+ /* Built-in method references that are verified to be native. */
52
+ var Map = getNative(root, 'Map');
53
+
54
+ export { Map as M, isArguments as i };
@@ -0,0 +1,416 @@
1
+ import { g as getNative } from './_getNative-COawFdVX.js';
2
+ import { e as eq } from './eq-CZ30nDJE.js';
3
+ import { M as Map } from './_Map-LWJCQc-c.js';
4
+
5
+ /* Built-in method references that are verified to be native. */
6
+ var nativeCreate = getNative(Object, 'create');
7
+
8
+ /**
9
+ * Removes all key-value entries from the hash.
10
+ *
11
+ * @private
12
+ * @name clear
13
+ * @memberOf Hash
14
+ */
15
+ function hashClear() {
16
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
17
+ this.size = 0;
18
+ }
19
+
20
+ /**
21
+ * Removes `key` and its value from the hash.
22
+ *
23
+ * @private
24
+ * @name delete
25
+ * @memberOf Hash
26
+ * @param {Object} hash The hash to modify.
27
+ * @param {string} key The key of the value to remove.
28
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
29
+ */
30
+ function hashDelete(key) {
31
+ var result = this.has(key) && delete this.__data__[key];
32
+ this.size -= result ? 1 : 0;
33
+ return result;
34
+ }
35
+
36
+ /** Used to stand-in for `undefined` hash values. */
37
+ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
38
+
39
+ /** Used for built-in method references. */
40
+ var objectProto$1 = Object.prototype;
41
+
42
+ /** Used to check objects for own properties. */
43
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
44
+
45
+ /**
46
+ * Gets the hash value for `key`.
47
+ *
48
+ * @private
49
+ * @name get
50
+ * @memberOf Hash
51
+ * @param {string} key The key of the value to get.
52
+ * @returns {*} Returns the entry value.
53
+ */
54
+ function hashGet(key) {
55
+ var data = this.__data__;
56
+ if (nativeCreate) {
57
+ var result = data[key];
58
+ return result === HASH_UNDEFINED$1 ? undefined : result;
59
+ }
60
+ return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
61
+ }
62
+
63
+ /** Used for built-in method references. */
64
+ var objectProto = Object.prototype;
65
+
66
+ /** Used to check objects for own properties. */
67
+ var hasOwnProperty = objectProto.hasOwnProperty;
68
+
69
+ /**
70
+ * Checks if a hash value for `key` exists.
71
+ *
72
+ * @private
73
+ * @name has
74
+ * @memberOf Hash
75
+ * @param {string} key The key of the entry to check.
76
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
77
+ */
78
+ function hashHas(key) {
79
+ var data = this.__data__;
80
+ return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
81
+ }
82
+
83
+ /** Used to stand-in for `undefined` hash values. */
84
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
85
+
86
+ /**
87
+ * Sets the hash `key` to `value`.
88
+ *
89
+ * @private
90
+ * @name set
91
+ * @memberOf Hash
92
+ * @param {string} key The key of the value to set.
93
+ * @param {*} value The value to set.
94
+ * @returns {Object} Returns the hash instance.
95
+ */
96
+ function hashSet(key, value) {
97
+ var data = this.__data__;
98
+ this.size += this.has(key) ? 0 : 1;
99
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
100
+ return this;
101
+ }
102
+
103
+ /**
104
+ * Creates a hash object.
105
+ *
106
+ * @private
107
+ * @constructor
108
+ * @param {Array} [entries] The key-value pairs to cache.
109
+ */
110
+ function Hash(entries) {
111
+ var index = -1,
112
+ length = entries == null ? 0 : entries.length;
113
+
114
+ this.clear();
115
+ while (++index < length) {
116
+ var entry = entries[index];
117
+ this.set(entry[0], entry[1]);
118
+ }
119
+ }
120
+
121
+ // Add methods to `Hash`.
122
+ Hash.prototype.clear = hashClear;
123
+ Hash.prototype['delete'] = hashDelete;
124
+ Hash.prototype.get = hashGet;
125
+ Hash.prototype.has = hashHas;
126
+ Hash.prototype.set = hashSet;
127
+
128
+ /**
129
+ * Removes all key-value entries from the list cache.
130
+ *
131
+ * @private
132
+ * @name clear
133
+ * @memberOf ListCache
134
+ */
135
+ function listCacheClear() {
136
+ this.__data__ = [];
137
+ this.size = 0;
138
+ }
139
+
140
+ /**
141
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
142
+ *
143
+ * @private
144
+ * @param {Array} array The array to inspect.
145
+ * @param {*} key The key to search for.
146
+ * @returns {number} Returns the index of the matched value, else `-1`.
147
+ */
148
+ function assocIndexOf(array, key) {
149
+ var length = array.length;
150
+ while (length--) {
151
+ if (eq(array[length][0], key)) {
152
+ return length;
153
+ }
154
+ }
155
+ return -1;
156
+ }
157
+
158
+ /** Used for built-in method references. */
159
+ var arrayProto = Array.prototype;
160
+
161
+ /** Built-in value references. */
162
+ var splice = arrayProto.splice;
163
+
164
+ /**
165
+ * Removes `key` and its value from the list cache.
166
+ *
167
+ * @private
168
+ * @name delete
169
+ * @memberOf ListCache
170
+ * @param {string} key The key of the value to remove.
171
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
172
+ */
173
+ function listCacheDelete(key) {
174
+ var data = this.__data__,
175
+ index = assocIndexOf(data, key);
176
+
177
+ if (index < 0) {
178
+ return false;
179
+ }
180
+ var lastIndex = data.length - 1;
181
+ if (index == lastIndex) {
182
+ data.pop();
183
+ } else {
184
+ splice.call(data, index, 1);
185
+ }
186
+ --this.size;
187
+ return true;
188
+ }
189
+
190
+ /**
191
+ * Gets the list cache value for `key`.
192
+ *
193
+ * @private
194
+ * @name get
195
+ * @memberOf ListCache
196
+ * @param {string} key The key of the value to get.
197
+ * @returns {*} Returns the entry value.
198
+ */
199
+ function listCacheGet(key) {
200
+ var data = this.__data__,
201
+ index = assocIndexOf(data, key);
202
+
203
+ return index < 0 ? undefined : data[index][1];
204
+ }
205
+
206
+ /**
207
+ * Checks if a list cache value for `key` exists.
208
+ *
209
+ * @private
210
+ * @name has
211
+ * @memberOf ListCache
212
+ * @param {string} key The key of the entry to check.
213
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
214
+ */
215
+ function listCacheHas(key) {
216
+ return assocIndexOf(this.__data__, key) > -1;
217
+ }
218
+
219
+ /**
220
+ * Sets the list cache `key` to `value`.
221
+ *
222
+ * @private
223
+ * @name set
224
+ * @memberOf ListCache
225
+ * @param {string} key The key of the value to set.
226
+ * @param {*} value The value to set.
227
+ * @returns {Object} Returns the list cache instance.
228
+ */
229
+ function listCacheSet(key, value) {
230
+ var data = this.__data__,
231
+ index = assocIndexOf(data, key);
232
+
233
+ if (index < 0) {
234
+ ++this.size;
235
+ data.push([key, value]);
236
+ } else {
237
+ data[index][1] = value;
238
+ }
239
+ return this;
240
+ }
241
+
242
+ /**
243
+ * Creates an list cache object.
244
+ *
245
+ * @private
246
+ * @constructor
247
+ * @param {Array} [entries] The key-value pairs to cache.
248
+ */
249
+ function ListCache(entries) {
250
+ var index = -1,
251
+ length = entries == null ? 0 : entries.length;
252
+
253
+ this.clear();
254
+ while (++index < length) {
255
+ var entry = entries[index];
256
+ this.set(entry[0], entry[1]);
257
+ }
258
+ }
259
+
260
+ // Add methods to `ListCache`.
261
+ ListCache.prototype.clear = listCacheClear;
262
+ ListCache.prototype['delete'] = listCacheDelete;
263
+ ListCache.prototype.get = listCacheGet;
264
+ ListCache.prototype.has = listCacheHas;
265
+ ListCache.prototype.set = listCacheSet;
266
+
267
+ /**
268
+ * Removes all key-value entries from the map.
269
+ *
270
+ * @private
271
+ * @name clear
272
+ * @memberOf MapCache
273
+ */
274
+ function mapCacheClear() {
275
+ this.size = 0;
276
+ this.__data__ = {
277
+ 'hash': new Hash,
278
+ 'map': new (Map || ListCache),
279
+ 'string': new Hash
280
+ };
281
+ }
282
+
283
+ /**
284
+ * Checks if `value` is suitable for use as unique object key.
285
+ *
286
+ * @private
287
+ * @param {*} value The value to check.
288
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
289
+ */
290
+ function isKeyable(value) {
291
+ var type = typeof value;
292
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
293
+ ? (value !== '__proto__')
294
+ : (value === null);
295
+ }
296
+
297
+ /**
298
+ * Gets the data for `map`.
299
+ *
300
+ * @private
301
+ * @param {Object} map The map to query.
302
+ * @param {string} key The reference key.
303
+ * @returns {*} Returns the map data.
304
+ */
305
+ function getMapData(map, key) {
306
+ var data = map.__data__;
307
+ return isKeyable(key)
308
+ ? data[typeof key == 'string' ? 'string' : 'hash']
309
+ : data.map;
310
+ }
311
+
312
+ /**
313
+ * Removes `key` and its value from the map.
314
+ *
315
+ * @private
316
+ * @name delete
317
+ * @memberOf MapCache
318
+ * @param {string} key The key of the value to remove.
319
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
320
+ */
321
+ function mapCacheDelete(key) {
322
+ var result = getMapData(this, key)['delete'](key);
323
+ this.size -= result ? 1 : 0;
324
+ return result;
325
+ }
326
+
327
+ /**
328
+ * Gets the map value for `key`.
329
+ *
330
+ * @private
331
+ * @name get
332
+ * @memberOf MapCache
333
+ * @param {string} key The key of the value to get.
334
+ * @returns {*} Returns the entry value.
335
+ */
336
+ function mapCacheGet(key) {
337
+ return getMapData(this, key).get(key);
338
+ }
339
+
340
+ /**
341
+ * Checks if a map value for `key` exists.
342
+ *
343
+ * @private
344
+ * @name has
345
+ * @memberOf MapCache
346
+ * @param {string} key The key of the entry to check.
347
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
348
+ */
349
+ function mapCacheHas(key) {
350
+ return getMapData(this, key).has(key);
351
+ }
352
+
353
+ /**
354
+ * Sets the map `key` to `value`.
355
+ *
356
+ * @private
357
+ * @name set
358
+ * @memberOf MapCache
359
+ * @param {string} key The key of the value to set.
360
+ * @param {*} value The value to set.
361
+ * @returns {Object} Returns the map cache instance.
362
+ */
363
+ function mapCacheSet(key, value) {
364
+ var data = getMapData(this, key),
365
+ size = data.size;
366
+
367
+ data.set(key, value);
368
+ this.size += data.size == size ? 0 : 1;
369
+ return this;
370
+ }
371
+
372
+ /**
373
+ * Creates a map cache object to store key-value pairs.
374
+ *
375
+ * @private
376
+ * @constructor
377
+ * @param {Array} [entries] The key-value pairs to cache.
378
+ */
379
+ function MapCache(entries) {
380
+ var index = -1,
381
+ length = entries == null ? 0 : entries.length;
382
+
383
+ this.clear();
384
+ while (++index < length) {
385
+ var entry = entries[index];
386
+ this.set(entry[0], entry[1]);
387
+ }
388
+ }
389
+
390
+ // Add methods to `MapCache`.
391
+ MapCache.prototype.clear = mapCacheClear;
392
+ MapCache.prototype['delete'] = mapCacheDelete;
393
+ MapCache.prototype.get = mapCacheGet;
394
+ MapCache.prototype.has = mapCacheHas;
395
+ MapCache.prototype.set = mapCacheSet;
396
+
397
+ /**
398
+ * Appends the elements of `values` to `array`.
399
+ *
400
+ * @private
401
+ * @param {Array} array The array to modify.
402
+ * @param {Array} values The values to append.
403
+ * @returns {Array} Returns `array`.
404
+ */
405
+ function arrayPush(array, values) {
406
+ var index = -1,
407
+ length = values.length,
408
+ offset = array.length;
409
+
410
+ while (++index < length) {
411
+ array[offset + index] = values[index];
412
+ }
413
+ return array;
414
+ }
415
+
416
+ export { ListCache as L, MapCache as M, arrayPush as a };