It would be a nice feature to have direct access to the data on certain callbacks. This gives us new possibilities to setup some elements based on the data (as required for example by some input wrapper libraries). Also, the need to first store the values in data attributes and then parse them again is removed. This makes initialization much more faster.
I modified only these two lines:
settings.beforeInsert($templateHtml, data);
settings.afterInsert($templateHtml, data);
Greetings