import _ from 'lodash' import $ from 'jquery' import {baseConfig} from "../base"; import {tbfill} from "../../Defaults"; export default function () { /** * */ const ct = Ext.toolbar.Fill.prototype.constructor Ext.toolbar.Fill.override({ constructor: function (config) { const newConfig = _.defaultsDeep({}, config, baseConfig(config, "col-item"), tbfill) ct.call(this, newConfig) } }); }