Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
portal-apps-manage
Commits
2739dc53
Commit
2739dc53
authored
Sep 16, 2025
by
Ooh-Ao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
21fe2147
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
widget-config-registry.service.ts
.../widget-config/services/widget-config-registry.service.ts
+15
-2
card-config.component.ts
...ment/widgets/configs/card-config/card-config.component.ts
+0
-0
chart-config.component.ts
...nt/widgets/configs/chart-config/chart-config.component.ts
+0
-0
table-config.component.ts
...nt/widgets/configs/table-config/table-config.component.ts
+0
-0
No files found.
src/app/portal-manage/dashboard-management/widget-config/services/widget-config-registry.service.ts
View file @
2739dc53
...
...
@@ -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
{
...
...
src/app/portal-manage/dashboard-management/widgets/configs/card-config/card-config.component.ts
0 → 100644
View file @
2739dc53
This diff is collapsed.
Click to expand it.
src/app/portal-manage/dashboard-management/widgets/configs/chart-config/chart-config.component.ts
View file @
2739dc53
This diff is collapsed.
Click to expand it.
src/app/portal-manage/dashboard-management/widgets/configs/table-config/table-config.component.ts
0 → 100644
View file @
2739dc53
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment