dify/web/app/components/workflow/nodes/_base/components
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
..
before-run-form chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
collapse chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
editor feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
error-handle chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
input-field chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
layout chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
mixed-variable-text-input chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
next-step feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
panel-operator feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
prompt chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
retry chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
support-var-input chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
variable feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
workflow-panel chore(web): migrate lodash-es to es-toolkit compat (#30126) 2025-12-25 09:44:57 +08:00
add-button.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
add-variable-popup-with-position.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
add-variable-popup.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
agent-strategy-selector.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
agent-strategy.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
code-generator-button.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
config-vision.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
entry-node-container.tsx fix: adjust padding in entry node container for better alignment (#29999) 2025-12-22 21:16:57 +08:00
field.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
file-type-item.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
file-upload-setting.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
form-input-boolean.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
form-input-item.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
form-input-type-switch.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
group.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
help-link.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
info-panel.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
input-number-with-slider.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
input-support-select-var.tsx feat(web): migrate from es-toolkit/compat to native es-toolkit (#30244) 2025-12-27 20:31:22 +08:00
input-var-type-icon.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
install-plugin-button.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
list-no-data-placeholder.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
mcp-tool-not-support-tooltip.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
memory-config.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
node-control.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node-handle.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node-resizer.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
node-status-icon.tsx refactor: unified cn utils (#29916) 2025-12-19 12:08:34 +08:00
option-card.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
output-vars.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
readonly-input-with-select-var.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
remove-button.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
remove-effect-var-confirm.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
selector.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
setting-item.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
split.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
switch-plugin-version.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
title-description-input.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00
toggle-expand-btn.tsx chore: lint require and how to import react (#30041) 2025-12-23 18:02:10 +08:00
variable-tag.tsx chore(web): new lint setup (#30020) 2025-12-23 16:58:55 +08:00