Commit 2739dc53 by Ooh-Ao

s

parent 21fe2147
......@@ -3,6 +3,8 @@ import { SimpleKpiConfigComponent } from '../../widgets/configs/simple-kpi-confi
import { SyncfusionDatagridConfigComponent } from '../../widgets/configs/syncfusion-datagrid-config/syncfusion-datagrid-config.component';
import { SyncfusionPivotConfigComponent } from '../../widgets/configs/syncfusion-pivot-config/syncfusion-pivot-config.component';
import { ChartConfigComponent } from '../../widgets/configs/chart-config/chart-config.component';
import { TableConfigComponent } from '../../widgets/configs/table-config/table-config.component';
import { CardConfigComponent } from '../../widgets/configs/card-config/card-config.component';
import { CompanyInfoConfigComponent } from '../../widgets/configs/company-info-config/company-info-config.component';
import { AttendanceConfigComponent } from '../../widgets/configs/attendance-config/attendance-config.component';
import { PayrollConfigComponent } from '../../widgets/configs/payroll-config/payroll-config.component';
......@@ -48,10 +50,21 @@ export class WidgetConfigRegistryService {
this.registerConfig('DoughnutChartWidgetComponent', ChartConfigComponent);
this.registerConfig('FunnelChartWidgetComponent', ChartConfigComponent);
this.registerConfig('ScatterBubbleChartWidgetComponent', ChartConfigComponent);
this.registerConfig('WaterfallChartWidgetComponent', ChartConfigComponent);
this.registerConfig('ComboChartWidgetComponent', ChartConfigComponent);
this.registerConfig('GaugeChartWidgetComponent', ChartConfigComponent);
this.registerConfig('TreemapWidgetComponent', ChartConfigComponent);
this.registerConfig('WaterfallChartWidgetComponent', ChartConfigComponent);
this.registerConfig('ComboChartWidgetComponent', ChartConfigComponent);
// Register table widgets with TableConfigComponent
this.registerConfig('DataTableWidgetComponent', TableConfigComponent);
this.registerConfig('SimpleTableWidgetComponent', TableConfigComponent);
this.registerConfig('SyncfusionDatagridWidgetComponent', TableConfigComponent);
// Register card widgets with CardConfigComponent
this.registerConfig('MultiRowCardWidgetComponent', CardConfigComponent);
this.registerConfig('NotificationWidgetComponent', CardConfigComponent);
this.registerConfig('WelcomeWidgetComponent', CardConfigComponent);
this.registerConfig('QuickLinksWidgetComponent', CardConfigComponent);
}
registerConfig(widgetType: string, configComponent: Type<WidgetConfigComponent>): void {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment