lodash.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 toString from 'lodash/toString'
  29. import toUpper from 'lodash/toUpper'
  30. import trim from 'lodash/trim'
  31. // ====================================
  32. // Build lodash object
  33. // ====================================
  34. export default {
  35. deburr,
  36. concat,
  37. cloneDeep,
  38. debounce,
  39. delay,
  40. filter,
  41. find,
  42. findKey,
  43. forEach,
  44. includes,
  45. isBoolean,
  46. isEmpty,
  47. isNil,
  48. join,
  49. kebabCase,
  50. last,
  51. map,
  52. nth,
  53. pullAt,
  54. reject,
  55. slice,
  56. split,
  57. startCase,
  58. toString,
  59. toUpper,
  60. trim
  61. }