dify/web/app/components/base/file-uploader
yyh f05d43d26f
feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244)
Migrate 172 files from es-toolkit/compat to native es-toolkit.

Migrated:
- noop → es-toolkit/function
- cloneDeep, omit, clone, pick → es-toolkit/object
- uniq, intersection → es-toolkit/array
- capitalize, camelCase, kebabCase, escape → es-toolkit/string
- isEqual → es-toolkit/predicate

Kept in compat (API differences):
- uniqueId, isEmpty
- get, merge, flow, curry, debounce - different APIs
- uniqBy, groupBy, intersectionBy - property string support
- flatten - undefined handling

Benefits: 2-3x faster, smaller bundle

Part of #30243
Fixes #30244
2025-12-27 20:31:22 +08:00
..
file-from-link-or-local chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
file-uploader-in-attachment chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
file-uploader-in-chat-input chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
audio-preview.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
constants.ts feat(workflow): add configurable workflow file upload limit (#10176) 2024-11-04 15:55:34 +08:00
dynamic-pdf-preview.tsx Fix/pdf preview in build (#11621) 2024-12-13 11:01:53 +08:00
file-image-render.stories.tsx chore: add more stories (#27403) 2025-10-29 14:33:43 +08:00
file-image-render.tsx refactor: unified cn utils (#29916) 2025-12-19 12:08:34 +08:00
file-input.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
file-list-in-log.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
file-list.stories.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
file-type-icon.stories.tsx chore: add more stories (#27403) 2025-10-29 14:33:43 +08:00
file-type-icon.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
hooks.ts feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
index.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
pdf-preview.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
store.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
types.ts fix: upload remote image preview (#9952) 2024-11-01 15:45:27 +08:00
utils.spec.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
utils.ts chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
video-preview.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00