<?php
defined("ABSPATH") || exit;
require_once __DIR__ . '/../shared/screener_table.php';
$vunelix_widget = vunelix_build_screener_widget('dr-screener', 'dr', [
    'overview'            => 'Overview',
    'performance'         => 'Performance',
    'valuation'           => 'Valuation',
    'technical_analysis'  => 'Technical',
    'income_statement'    => 'Income Statement',
    'balance_sheet'       => 'Balance Sheet',
    'earnings'            => 'Earnings',
    'cash_flow'           => 'Cash Flow',
    'dividends'           => 'Dividends',
]);
$vunelix_widget['js'] = 'widgets/screener/vunelix-dr-screener.js';
$vunelix_widget['defaults']['default_sort'] = $vunelix_widget['settings']['data']['fields']['default_sort']['default'] = 'earnings.market_cap_desc';

return $vunelix_widget;
