import { addWidget } from "./widget.js";
export const addFileWidget = (deps, uploadFiles) => ({
    isEnable: (state) => state.selection.empty,
    run(state, dispatch) {
        dispatch(addWidget(state.tr, deps, uploadFiles));
    },
});
//# sourceMappingURL=actions.js.map
