You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.4 KiB

  1. 'use strict'
  2. // ====================================
  3. // Load minimal lodash
  4. // ====================================
  5. import cloneDeep from 'lodash/cloneDeep'
  6. import concat from 'lodash/concat'
  7. import debounce from 'lodash/debounce'
  8. import deburr from 'lodash/deburr'
  9. import delay from 'lodash/delay'
  10. import filter from 'lodash/filter'
  11. import find from 'lodash/find'
  12. import findKey from 'lodash/findKey'
  13. import forEach from 'lodash/forEach'
  14. import includes from 'lodash/includes'
  15. import isBoolean from 'lodash/isBoolean'
  16. import isEmpty from 'lodash/isEmpty'
  17. import isNil from 'lodash/isNil'
  18. import join from 'lodash/join'
  19. import kebabCase from 'lodash/kebabCase'
  20. import last from 'lodash/last'
  21. import map from 'lodash/map'
  22. import nth from 'lodash/nth'
  23. import pullAt from 'lodash/pullAt'
  24. import reject from 'lodash/reject'
  25. import slice from 'lodash/slice'
  26. import split from 'lodash/split'
  27. import startCase from 'lodash/startCase'
  28. import startsWith from 'lodash/startsWith'
  29. import toString from 'lodash/toString'
  30. import toUpper from 'lodash/toUpper'
  31. import trim from 'lodash/trim'
  32. // ====================================
  33. // Build lodash object
  34. // ====================================
  35. module.exports = {
  36. deburr,
  37. concat,
  38. cloneDeep,
  39. debounce,
  40. delay,
  41. filter,
  42. find,
  43. findKey,
  44. forEach,
  45. includes,
  46. isBoolean,
  47. isEmpty,
  48. isNil,
  49. join,
  50. kebabCase,
  51. last,
  52. map,
  53. nth,
  54. pullAt,
  55. reject,
  56. slice,
  57. split,
  58. startCase,
  59. startsWith,
  60. toString,
  61. toUpper,
  62. trim
  63. }