This commit is contained in:
morgan
2026-03-13 19:23:37 +03:00
parent 8917f1631f
commit cc7403191a
5113 changed files with 168404 additions and 0 deletions

15
node_modules/dnd-core/dist/reducers/refCount.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
import { ADD_SOURCE, ADD_TARGET, REMOVE_SOURCE, REMOVE_TARGET } from '../actions/registry.js';
export function reduce(state = 0, action) {
switch(action.type){
case ADD_SOURCE:
case ADD_TARGET:
return state + 1;
case REMOVE_SOURCE:
case REMOVE_TARGET:
return state - 1;
default:
return state;
}
}
//# sourceMappingURL=refCount.js.map