(function (paw, utils, _super, FinderComponent) {

    paw.lang.extend(FinderPopup, _super);
    function FinderPopup(FinderDef, finderSettings, localization) {
        _super.call(this, 'finder-popup', {
            title: localization.finderTitle,
            Component: FinderComponent,
            styleClass: 'paw-finder-popup',
            bind: {
                FinderDef: FinderDef,
                finderSettings: finderSettings,
                localization: paw.lang.append({
                    filters: '@Loc.Filters',
                    clear: '@Loc.Clear',
                    searchFind: '@Loc.SearchFind'
                }, localization || {})
            }
        });
    }
    
    paw.com.finder.FinderPopup = FinderPopup;
})(paw, paw.utils, paw.com.Popup, paw.com.finder.FinderComponent);