@acorex/modules 19.3.0 → 19.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/lib/common.module.d.ts +2 -1
- package/dashboard-management/index.d.ts +1 -0
- package/dashboard-management/lib/dashboard-management.module.d.ts +2 -2
- package/dashboard-management/lib/entities/dashboard/dashboard.types.d.ts +2 -2
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.d.ts +7 -7
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts +6 -6
- package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/configuration-popup.d.ts +3 -3
- package/dashboard-management/lib/features/home-dashboard/dashboard-popups/dashboard-popup.service.d.ts +5 -5
- package/dashboard-management/lib/features/home-dashboard/widget-wrapper/dashboard-widget-wrapper.d.ts +4 -3
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts +17 -0
- package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/bar-chart/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/chart.type.d.ts +3 -0
- package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar-widget.component.d.ts +39 -0
- package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar.types.d.ts +50 -0
- package/dashboard-management/lib/features/shared/widgets/clock-calendar/index.d.ts +3 -0
- package/dashboard-management/lib/features/shared/widgets/dashboard-shortcut/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart-widget.component.d.ts +17 -0
- package/dashboard-management/lib/features/shared/widgets/donut-chart/donut-chart-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/donut-chart/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart-widget.component.d.ts +16 -0
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/gauge-chart-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/gauge-chart/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/index.d.ts +9 -0
- package/dashboard-management/lib/features/shared/widgets/line-chart/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts +17 -0
- package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/sticky-note/index.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/sticky-note/sticky-note-widget.component.d.ts +21 -0
- package/dashboard-management/lib/features/shared/widgets/sticky-note/sticky-note-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/tasklist/index.d.ts +3 -0
- package/dashboard-management/lib/features/shared/widgets/tasklist/tasklist-widget.component.d.ts +34 -0
- package/dashboard-management/lib/features/shared/widgets/tasklist/tasklist-widget.config.d.ts +7 -0
- package/dashboard-management/lib/features/shared/widgets/tasklist/tasklist.type.d.ts +36 -0
- package/dashboard-management/lib/features/shared/widgets/weather/index.d.ts +3 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-services/index.d.ts +3 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-services/weather-api.abstract.d.ts +174 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-services/weather-api.key.d.ts +2 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-services/weather-api.mock.service.d.ts +47 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-services/weather-api.service.d.ts +48 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-widget.component.d.ts +109 -0
- package/dashboard-management/lib/features/shared/widgets/weather/weather-widget.config.d.ts +14 -0
- package/fesm2022/acorex-modules-application-management.mjs +2 -2
- package/fesm2022/acorex-modules-application-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs → acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs} +23 -83
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-DJZcD1j3.mjs.map +1 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs +65 -0
- package/fesm2022/acorex-modules-auth-app-chooser.component-DlYxDGQr.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs → acorex-modules-auth-login.module-D-XgzifC.mjs} +4 -4
- package/fesm2022/{acorex-modules-auth-login.module-TtdNj0aL.mjs.map → acorex-modules-auth-login.module-D-XgzifC.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs → acorex-modules-auth-master.layout-ZaCb3CED.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-master.layout-CtVrY1hn.mjs.map → acorex-modules-auth-master.layout-ZaCb3CED.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs → acorex-modules-auth-password.component-C-xRIhrM.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-Dmj9zZSI.mjs.map → acorex-modules-auth-password.component-C-xRIhrM.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs → acorex-modules-auth-password.component-CLTZoufP.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-password.component-BXm2NAaN.mjs.map → acorex-modules-auth-password.component-CLTZoufP.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs → acorex-modules-auth-routes-4T5jq7su.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-routes-DkgsKi3a.mjs.map → acorex-modules-auth-routes-4T5jq7su.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs +98 -0
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-Ow7QtAWc.mjs.map +1 -0
- package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs → acorex-modules-auth-two-factor.module-D72KIpvA.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-two-factor.module-DDOSqjYs.mjs.map → acorex-modules-auth-two-factor.module-D72KIpvA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs} +2 -2
- package/fesm2022/{acorex-modules-auth-user-sessions.component-B3i44VC5.mjs.map → acorex-modules-auth-user-sessions.component-Btnu_Oeq.mjs.map} +1 -1
- package/fesm2022/acorex-modules-auth.mjs +1 -1
- package/fesm2022/acorex-modules-common.mjs +3 -5
- package/fesm2022/acorex-modules-common.mjs.map +1 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs +3755 -0
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-VORBD1g-.mjs.map +1 -0
- package/fesm2022/{acorex-modules-dashboard-management-index-Br6L5KMu.mjs → acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs} +48 -47
- package/fesm2022/acorex-modules-dashboard-management-home-dashboard-DiPn_RhH.mjs.map +1 -0
- package/fesm2022/acorex-modules-dashboard-management.mjs +1 -1
- package/fesm2022/{acorex-modules-form-template-management-acorex-modules-form-template-management-DO18V9JK.mjs → acorex-modules-form-template-management-acorex-modules-form-template-management-Cv92x_9Z.mjs} +11 -11
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-Cv92x_9Z.mjs.map +1 -0
- package/fesm2022/{acorex-modules-form-template-management-category.entity-nErIyYxr.mjs → acorex-modules-form-template-management-category.entity-DPVwQW4X.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-category.entity-nErIyYxr.mjs.map → acorex-modules-form-template-management-category.entity-DPVwQW4X.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CROST06h.mjs → acorex-modules-form-template-management-settings.provider-iwOUp0iw.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-settings.provider-CROST06h.mjs.map → acorex-modules-form-template-management-settings.provider-iwOUp0iw.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-0GHf41xy.mjs → acorex-modules-form-template-management-template-widget-edit.component-BkR3x74p.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template-widget-edit.component-0GHf41xy.mjs.map → acorex-modules-form-template-management-template-widget-edit.component-BkR3x74p.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-template.entity-HSE5R67l.mjs → acorex-modules-form-template-management-template.entity-NgmH7r8R.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-template.entity-HSE5R67l.mjs.map → acorex-modules-form-template-management-template.entity-NgmH7r8R.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-pi15hXWY.mjs → acorex-modules-form-template-management-viewer-popup.component-Cq33xA62.mjs} +2 -2
- package/fesm2022/{acorex-modules-form-template-management-viewer-popup.component-pi15hXWY.mjs.map → acorex-modules-form-template-management-viewer-popup.component-Cq33xA62.mjs.map} +1 -1
- package/fesm2022/acorex-modules-form-template-management.mjs +1 -1
- package/fesm2022/{acorex-modules-issue-management-acorex-modules-issue-management-DhuDuKkz.mjs → acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs} +44 -43
- package/fesm2022/acorex-modules-issue-management-acorex-modules-issue-management-U5EJyG5e.mjs.map +1 -0
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-XFV3kuzQ.mjs → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs} +2 -2
- package/fesm2022/{acorex-modules-issue-management-capture-screen.component-XFV3kuzQ.mjs.map → acorex-modules-issue-management-capture-screen.component-3ZAOJBfn.mjs.map} +1 -1
- package/fesm2022/acorex-modules-issue-management.mjs +1 -1
- package/fesm2022/acorex-modules-notification-management.mjs +623 -53
- package/fesm2022/acorex-modules-notification-management.mjs.map +1 -1
- package/fesm2022/{acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs → acorex-modules-organization-management-org-chart.page-DnRbGIWN.mjs} +3 -3
- package/fesm2022/acorex-modules-organization-management-org-chart.page-DnRbGIWN.mjs.map +1 -0
- package/fesm2022/acorex-modules-organization-management.mjs +2 -2
- package/fesm2022/{acorex-modules-platform-management-acorex-modules-platform-management-DHA8LTwL.mjs → acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs} +59 -6
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-5lToZD6T.mjs.map +1 -0
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DgDjbODD.mjs → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-list-version.component-DgDjbODD.mjs.map → acorex-modules-platform-management-list-version.component-BElZjmXr.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-platform-management-settings.provider-W71pfOmi.mjs → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs} +2 -2
- package/fesm2022/{acorex-modules-platform-management-settings.provider-W71pfOmi.mjs.map → acorex-modules-platform-management-settings.provider-CemrvnbH.mjs.map} +1 -1
- package/fesm2022/acorex-modules-platform-management.mjs +1 -1
- package/fesm2022/acorex-modules-project-management.mjs +218 -155
- package/fesm2022/acorex-modules-project-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-security-management.mjs +472 -787
- package/fesm2022/acorex-modules-security-management.mjs.map +1 -1
- package/fesm2022/acorex-modules-training-management.mjs +5574 -0
- package/fesm2022/acorex-modules-training-management.mjs.map +1 -0
- package/notification-management/index.d.ts +1 -0
- package/notification-management/lib/entities/notification/notification.service.d.ts +6 -6
- package/notification-management/lib/features/components/admin-notification-panel/admin-notification-panel.component.d.ts +13 -7
- package/notification-management/lib/features/dashboard/widgets/my-notification/index.d.ts +2 -0
- package/notification-management/lib/features/dashboard/widgets/my-notification/notification-widget.component.d.ts +82 -0
- package/notification-management/lib/features/dashboard/widgets/my-notification/notification-widget.config.d.ts +5 -0
- package/notification-management/lib/features/shared/notification-connector.service.d.ts +57 -0
- package/notification-management/lib/notification-management.module.d.ts +2 -1
- package/notification-management/lib/notification-management.type.d.ts +3 -0
- package/package.json +5 -1
- package/security-management/lib/entities/index.d.ts +1 -2
- package/security-management/lib/entities/profile/index.d.ts +0 -1
- package/security-management/lib/entities/users/users.service.d.ts +2 -2
- package/security-management/lib/entities/users/users.types.d.ts +2 -2
- package/security-management/lib/user-avatar.provider.d.ts +5 -0
- package/training-management/README.md +3 -0
- package/training-management/index.d.ts +7 -0
- package/training-management/lib/const.d.ts +85 -0
- package/training-management/lib/entities/certificate/certificate.entity.d.ts +3 -0
- package/training-management/lib/entities/certificate/certificate.service.d.ts +10 -0
- package/training-management/lib/entities/certificate/certificate.types.d.ts +12 -0
- package/training-management/lib/entities/certificate/index.d.ts +3 -0
- package/training-management/lib/entities/course/course.entity.d.ts +3 -0
- package/training-management/lib/entities/course/course.service.d.ts +10 -0
- package/training-management/lib/entities/course/course.types.d.ts +8 -0
- package/training-management/lib/entities/course/index.d.ts +3 -0
- package/training-management/lib/entities/course-location/course-location.entity.d.ts +3 -0
- package/training-management/lib/entities/course-location/course-location.service.d.ts +10 -0
- package/training-management/lib/entities/course-location/course-location.types.d.ts +6 -0
- package/training-management/lib/entities/course-location/index.d.ts +3 -0
- package/training-management/lib/entities/course-period/course-period.entity.d.ts +3 -0
- package/training-management/lib/entities/course-period/course-period.service.d.ts +10 -0
- package/training-management/lib/entities/course-period/course-period.types.d.ts +6 -0
- package/training-management/lib/entities/course-period/index.d.ts +3 -0
- package/training-management/lib/entities/course-type/course-type.entity.d.ts +3 -0
- package/training-management/lib/entities/course-type/course-type.service.d.ts +10 -0
- package/training-management/lib/entities/course-type/course-type.types.d.ts +5 -0
- package/training-management/lib/entities/course-type/index.d.ts +3 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.entity.d.ts +3 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.service.d.ts +10 -0
- package/training-management/lib/entities/facilitator-type/facilitator-type.types.d.ts +6 -0
- package/training-management/lib/entities/facilitator-type/index.d.ts +3 -0
- package/training-management/lib/entities/index.d.ts +12 -0
- package/training-management/lib/entities/location/index.d.ts +3 -0
- package/training-management/lib/entities/location/location.entity.d.ts +3 -0
- package/training-management/lib/entities/location/location.service.d.ts +10 -0
- package/training-management/lib/entities/location/location.types.d.ts +7 -0
- package/training-management/lib/entities/period/index.d.ts +3 -0
- package/training-management/lib/entities/period/period.entity.d.ts +3 -0
- package/training-management/lib/entities/period/period.service.d.ts +10 -0
- package/training-management/lib/entities/period/period.types.d.ts +6 -0
- package/training-management/lib/entities/training/index.d.ts +3 -0
- package/training-management/lib/entities/training/training.entity.d.ts +3 -0
- package/training-management/lib/entities/training/training.service.d.ts +10 -0
- package/training-management/lib/entities/training/training.types.d.ts +13 -0
- package/training-management/lib/entities/training-facilitator/index.d.ts +3 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.entity.d.ts +3 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.service.d.ts +10 -0
- package/training-management/lib/entities/training-facilitator/training-facilitator.types.d.ts +7 -0
- package/training-management/lib/entities/training-participant/index.d.ts +3 -0
- package/training-management/lib/entities/training-participant/training-participant.entity.d.ts +3 -0
- package/training-management/lib/entities/training-participant/training-participant.service.d.ts +10 -0
- package/training-management/lib/entities/training-participant/training-participant.types.d.ts +7 -0
- package/training-management/lib/entities/training-type/index.d.ts +3 -0
- package/training-management/lib/entities/training-type/training-type.entity.d.ts +3 -0
- package/training-management/lib/entities/training-type/training-type.service.d.ts +10 -0
- package/training-management/lib/entities/training-type/training-type.types.d.ts +7 -0
- package/training-management/lib/entity.provider.d.ts +10 -0
- package/training-management/lib/menu.provider.d.ts +5 -0
- package/training-management/lib/permission-definition.provider.d.ts +4 -0
- package/training-management/lib/search-command.provider.d.ts +4 -0
- package/training-management/lib/setting.provider.d.ts +4 -0
- package/training-management/lib/training-management.module.d.ts +6 -0
- package/auth/lib/pages/account/avatar/avatar.component.d.ts +0 -20
- package/dashboard-management/lib/features/home-dashboard/home-dashboard.module.d.ts +0 -7
- package/fesm2022/acorex-modules-auth-acorex-modules-auth-B1HTJdsE.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs +0 -64
- package/fesm2022/acorex-modules-auth-app-chooser.component-Ct-vco0y.mjs.map +0 -1
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs +0 -97
- package/fesm2022/acorex-modules-auth-tenant-chooser.component-D9C6LCjn.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DuvWGfl1.mjs +0 -568
- package/fesm2022/acorex-modules-dashboard-management-acorex-modules-dashboard-management-DuvWGfl1.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs +0 -139
- package/fesm2022/acorex-modules-dashboard-management-dashboard-shortcut-widget-view.component-C9RGRmuR.mjs.map +0 -1
- package/fesm2022/acorex-modules-dashboard-management-index-Br6L5KMu.mjs.map +0 -1
- package/fesm2022/acorex-modules-form-template-management-acorex-modules-form-template-management-DO18V9JK.mjs.map +0 -1
- package/fesm2022/acorex-modules-issue-management-acorex-modules-issue-management-DhuDuKkz.mjs.map +0 -1
- package/fesm2022/acorex-modules-organization-management-org-chart.page-eDTvyQpA.mjs.map +0 -1
- package/fesm2022/acorex-modules-platform-management-acorex-modules-platform-management-DHA8LTwL.mjs.map +0 -1
- package/security-management/lib/entities/profile/profile.service.d.ts +0 -13
- /package/dashboard-management/lib/features/{home-dashboard → shared}/widgets/dashboard-shortcut/dashboard-shortcut-widget-view.component.d.ts +0 -0
- /package/dashboard-management/lib/features/{home-dashboard → shared}/widgets/dashboard-shortcut/dashboard-shortcut-widget.config.d.ts +0 -0
- /package/dashboard-management/lib/{features/home-dashboard/setrting.keys.d.ts → settings.keys.d.ts} +0 -0
@@ -1,6 +1,7 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@acorex/platform/widgets";
|
2
3
|
export declare class AXMCommonModule {
|
3
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMCommonModule, never>;
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMCommonModule, never,
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMCommonModule, never, [typeof i1.AXPWidgetsModule], never>;
|
5
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMCommonModule>;
|
6
7
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "
|
2
|
+
import * as i1 from "@acorex/platform/layout/builder";
|
3
3
|
export declare class AXMDashboardManagementModule {
|
4
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardManagementModule, never>;
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMDashboardManagementModule, never, [typeof i1.
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AXMDashboardManagementModule, never, [typeof i1.AXPLayoutBuilderModule], never>;
|
6
6
|
static ɵinj: i0.ɵɵInjectorDeclaration<AXMDashboardManagementModule>;
|
7
7
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { AXPEntityModel } from '@acorex/platform/layout/entity';
|
2
|
-
import {
|
2
|
+
import { AXMDashboardWidgetData } from '../../features/home-dashboard/dashboard-home/home-dashboard.type';
|
3
3
|
export interface AXMCommonDashboardEntityModel extends AXPEntityModel<string> {
|
4
4
|
name: string;
|
5
5
|
title: string;
|
6
6
|
description: string;
|
7
|
-
widgets:
|
7
|
+
widgets: AXMDashboardWidgetData[];
|
8
8
|
}
|
@@ -6,7 +6,7 @@ import { AXPBasePageComponent } from '@acorex/platform/themes/default';
|
|
6
6
|
import { AXPopupService } from '@acorex/components/popup';
|
7
7
|
import { AXPActionMenuItem, AXPExecuteCommand } from '@acorex/platform/core';
|
8
8
|
import * as i0 from "@angular/core";
|
9
|
-
export declare class
|
9
|
+
export declare class AXMDashboardHomeComponent extends AXPBasePageComponent implements OnInit {
|
10
10
|
#private;
|
11
11
|
protected readonly rootConfig: {
|
12
12
|
config: {
|
@@ -30,24 +30,24 @@ export declare class AXPDashboardHomeComponent extends AXPBasePageComponent impl
|
|
30
30
|
protected readonly popupService: AXPopupService;
|
31
31
|
protected readonly dialogService: AXDialogService;
|
32
32
|
protected readonly store: {
|
33
|
-
dashboards: import("@angular/core").Signal<import("./home-dashboard.type").
|
33
|
+
dashboards: import("@angular/core").Signal<import("./home-dashboard.type").AXMDashboardLayout[]>;
|
34
34
|
currentDashboardId: import("@angular/core").Signal<string | null>;
|
35
35
|
dashboardsOption: import("@ngrx/signals").DeepSignal<import("@acorex/components/grid-layout-builder").AXGridLayoutOptions>;
|
36
36
|
isLoading: import("@angular/core").Signal<boolean>;
|
37
|
-
currentDashboard: import("@angular/core").Signal<import("./home-dashboard.type").
|
37
|
+
currentDashboard: import("@angular/core").Signal<import("./home-dashboard.type").AXMDashboardLayout | null>;
|
38
38
|
setCurrentDashboard: (dashboardId: string) => void;
|
39
39
|
addDashboard: () => Promise<void>;
|
40
40
|
addWidget: () => Promise<void>;
|
41
41
|
removeDashboard: (id: string) => Promise<void>;
|
42
42
|
removeWidget: (dashboardId: string, widgetId: string) => Promise<void>;
|
43
|
-
handleConfigChange: (dashboard: import("./home-dashboard.type").
|
43
|
+
handleConfigChange: (dashboard: import("./home-dashboard.type").AXMDashboardLayout) => Promise<void>;
|
44
44
|
onGridChange: (event: import("@acorex/components/grid-layout-builder").AXGridLayoutEvent) => Promise<void>;
|
45
45
|
handlePopupConfiguration: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode) => Promise<void>;
|
46
46
|
handleValueChanged: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode, data: unknown) => Promise<void>;
|
47
47
|
handleOptionsChanged: (widgetNode: import("@acorex/platform/layout/builder").AXPWidgetNode, data: unknown) => Promise<void>;
|
48
48
|
refreshDashboards: () => Promise<void>;
|
49
49
|
} & import("@ngrx/signals").StateSource<{
|
50
|
-
dashboards: import("./home-dashboard.type").
|
50
|
+
dashboards: import("./home-dashboard.type").AXMDashboardLayout[];
|
51
51
|
currentDashboardId: string | null;
|
52
52
|
dashboardsOption: import("@acorex/components/grid-layout-builder").AXGridLayoutOptions;
|
53
53
|
isLoading: boolean;
|
@@ -125,6 +125,6 @@ export declare class AXPDashboardHomeComponent extends AXPBasePageComponent impl
|
|
125
125
|
getSecondaryMenuItems(): Promise<AXPActionMenuItem[]>;
|
126
126
|
execute(command: AXPExecuteCommand): Promise<void>;
|
127
127
|
log(event: AXPLayoutContextChangeEvent): void;
|
128
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
129
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardHomeComponent, never>;
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMDashboardHomeComponent, "axm-dashboard-home", never, {}, {}, never, never, true, never>;
|
130
130
|
}
|
package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.store.d.ts
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
import { AXGridLayoutEvent, AXGridLayoutOptions } from '@acorex/components/grid-layout-builder';
|
2
2
|
import { AXPWidgetNode } from '@acorex/platform/layout/builder';
|
3
|
-
import {
|
4
|
-
export declare const
|
5
|
-
dashboards: import("@angular/core").Signal<
|
3
|
+
import { AXMDashboardLayout } from './home-dashboard.type';
|
4
|
+
export declare const AXMDashboardStore: import("@angular/core").Type<{
|
5
|
+
dashboards: import("@angular/core").Signal<AXMDashboardLayout[]>;
|
6
6
|
currentDashboardId: import("@angular/core").Signal<string | null>;
|
7
7
|
dashboardsOption: import("@ngrx/signals").DeepSignal<AXGridLayoutOptions>;
|
8
8
|
isLoading: import("@angular/core").Signal<boolean>;
|
9
|
-
currentDashboard: import("@angular/core").Signal<
|
9
|
+
currentDashboard: import("@angular/core").Signal<AXMDashboardLayout | null>;
|
10
10
|
setCurrentDashboard: (dashboardId: string) => void;
|
11
11
|
addDashboard: () => Promise<void>;
|
12
12
|
addWidget: () => Promise<void>;
|
13
13
|
removeDashboard: (id: string) => Promise<void>;
|
14
14
|
removeWidget: (dashboardId: string, widgetId: string) => Promise<void>;
|
15
|
-
handleConfigChange: (dashboard:
|
15
|
+
handleConfigChange: (dashboard: AXMDashboardLayout) => Promise<void>;
|
16
16
|
onGridChange: (event: AXGridLayoutEvent) => Promise<void>;
|
17
17
|
handlePopupConfiguration: (widgetNode: AXPWidgetNode) => Promise<void>;
|
18
18
|
handleValueChanged: (widgetNode: AXPWidgetNode, data: unknown) => Promise<void>;
|
19
19
|
handleOptionsChanged: (widgetNode: AXPWidgetNode, data: unknown) => Promise<void>;
|
20
20
|
refreshDashboards: () => Promise<void>;
|
21
21
|
} & import("@ngrx/signals").StateSource<{
|
22
|
-
dashboards:
|
22
|
+
dashboards: AXMDashboardLayout[];
|
23
23
|
currentDashboardId: string | null;
|
24
24
|
dashboardsOption: AXGridLayoutOptions;
|
25
25
|
isLoading: boolean;
|
package/dashboard-management/lib/features/home-dashboard/dashboard-home/home-dashboard.type.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
import { AXGridLayoutNode } from '@acorex/components/grid-layout-builder';
|
2
2
|
import { AXPWidgetNode } from '@acorex/platform/layout/builder';
|
3
|
-
export interface
|
3
|
+
export interface AXMDashboardLayout {
|
4
4
|
id: string;
|
5
5
|
title: string;
|
6
6
|
description?: string;
|
7
|
-
widgets:
|
7
|
+
widgets: AXMDashboardWidgetData[];
|
8
8
|
}
|
9
|
-
export type
|
9
|
+
export type AXMDashboardWidgetData = {
|
10
10
|
config: AXGridLayoutNode;
|
11
11
|
node?: AXPWidgetNode;
|
12
12
|
};
|
package/dashboard-management/lib/features/home-dashboard/dashboard-popups/add-dashboard-popup.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
import { AXBasePageComponent } from '@acorex/components/page';
|
2
2
|
import { OnInit } from '@angular/core';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class
|
4
|
+
export declare class AXMAddDashboardPopup extends AXBasePageComponent implements OnInit {
|
5
5
|
private readonly data;
|
6
6
|
protected readonly title: import("@angular/core").ModelSignal<string>;
|
7
7
|
protected readonly description: import("@angular/core").ModelSignal<string>;
|
8
8
|
protected get isValid(): boolean;
|
9
9
|
ngOnInit(): void;
|
10
10
|
protected handleClose(isCanceled?: boolean): Promise<void>;
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMAddDashboardPopup, never>;
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMAddDashboardPopup, "ng-component", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; }, { "title": "titleChange"; "description": "descriptionChange"; }, never, never, true, never>;
|
13
13
|
}
|
package/dashboard-management/lib/features/home-dashboard/dashboard-popups/configuration-popup.d.ts
CHANGED
@@ -3,12 +3,12 @@ import { AXPWidgetNode } from '@acorex/platform/layout/builder';
|
|
3
3
|
import { AXPWidgetPropertiesChangedEvent } from '@acorex/platform/layout/designer';
|
4
4
|
import { OnInit } from '@angular/core';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
export declare class
|
6
|
+
export declare class AXMConfigurationPopup extends AXBasePageComponent implements OnInit {
|
7
7
|
widget: AXPWidgetNode;
|
8
8
|
protected readonly widgetData: import("@angular/core").WritableSignal<AXPWidgetNode | null>;
|
9
9
|
ngOnInit(): void;
|
10
10
|
protected handleClose(isCanceled?: boolean): Promise<void>;
|
11
11
|
protected handlePropertyChange(event: AXPWidgetPropertiesChangedEvent): void;
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMConfigurationPopup, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMConfigurationPopup, "ng-component", never, {}, {}, never, never, true, never>;
|
14
14
|
}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { AXPWidgetNode } from '@acorex/platform/layout/builder';
|
2
|
-
import {
|
2
|
+
import { AXMDashboardLayout } from '../dashboard-home';
|
3
3
|
import * as i0 from "@angular/core";
|
4
|
-
export declare class
|
4
|
+
export declare class AXMDashboardPopupService {
|
5
5
|
private readonly popupService;
|
6
|
-
generateDashboardLayout(data: Partial<
|
6
|
+
generateDashboardLayout(data: Partial<AXMDashboardLayout>): Promise<AXMDashboardLayout | void>;
|
7
7
|
handlePopupConfiguration(widget: AXPWidgetNode): Promise<AXPWidgetNode | void>;
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardPopupService, never>;
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AXMDashboardPopupService>;
|
10
10
|
}
|
@@ -2,8 +2,9 @@ import { AXButtonItemComponent } from '@acorex/components/button';
|
|
2
2
|
import { AXEvent, AXItemClickEvent } from '@acorex/components/common';
|
3
3
|
import { AXPWidgetRendererDirective } from '@acorex/platform/layout/builder';
|
4
4
|
import * as i0 from "@angular/core";
|
5
|
-
export declare class
|
5
|
+
export declare class AXMDashboardWidgetWrapperComponent {
|
6
6
|
#private;
|
7
|
+
title: import("@angular/core").InputSignal<string | null>;
|
7
8
|
onDelete: import("@angular/core").OutputEmitterRef<void>;
|
8
9
|
onConfiguration: import("@angular/core").OutputEmitterRef<void>;
|
9
10
|
onValueChanged: import("@angular/core").OutputEmitterRef<unknown>;
|
@@ -13,6 +14,6 @@ export declare class AXCDashboardWidgetWrapperComponent {
|
|
13
14
|
isDropdownOpen: import("@angular/core").WritableSignal<boolean>;
|
14
15
|
handleOnItemClick(event: AXItemClickEvent<AXButtonItemComponent>): void;
|
15
16
|
log(event: AXEvent): void;
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXMDashboardWidgetWrapperComponent, never>;
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXMDashboardWidgetWrapperComponent, "axm-dashboard-widget-wrapper", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "hasConfiguration": { "alias": "hasConfiguration"; "required": false; "isSignal": true; }; }, { "onDelete": "onDelete"; "onConfiguration": "onConfiguration"; "onValueChanged": "onValueChanged"; "onOptionsChanged": "onOptionsChanged"; }, ["widget"], ["*"], true, never>;
|
18
19
|
}
|
package/dashboard-management/lib/features/shared/widgets/bar-chart/bar-chart-widget.component.d.ts
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
import { AXPBarChartData, AXPBarChartOption } from '@acorex/charts/bar-chart';
|
2
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
|
+
import { Signal } from '@angular/core';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Bar Chart Widget Component
|
7
|
+
* Renders data as vertical bars with interactive hover effects and animations
|
8
|
+
*/
|
9
|
+
export declare class AXPBarChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
|
+
barChartData: Signal<AXPBarChartData[]>;
|
11
|
+
barChartOptions: Signal<AXPBarChartOption & {
|
12
|
+
title: string;
|
13
|
+
}>;
|
14
|
+
handleBarClick(event: any): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPBarChartWidgetViewComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPBarChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
17
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import { OnDestroy, OnInit, Signal } from '@angular/core';
|
3
|
+
import { AXPHourNumber } from './clock-calendar.types';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXPClockCalendarWidgetViewComponent extends AXPValueWidgetComponent implements OnInit, OnDestroy {
|
6
|
+
private readonly cdr;
|
7
|
+
protected currentTime: Date;
|
8
|
+
protected currentDate: Date;
|
9
|
+
private clockSubscription;
|
10
|
+
protected readonly clockHours: number[];
|
11
|
+
protected readonly clockHourNumbers: AXPHourNumber[];
|
12
|
+
protected hourRotation: number;
|
13
|
+
protected minuteRotation: number;
|
14
|
+
protected secondRotation: number;
|
15
|
+
protected readonly displayLayout: Signal<string>;
|
16
|
+
protected readonly showDigitalClock: Signal<boolean>;
|
17
|
+
protected readonly showAnalogClock: Signal<boolean>;
|
18
|
+
protected readonly showDate: Signal<boolean>;
|
19
|
+
protected readonly showDayOfWeek: Signal<boolean>;
|
20
|
+
protected readonly use24Hour: Signal<boolean>;
|
21
|
+
protected readonly showSeconds: Signal<boolean>;
|
22
|
+
protected readonly dateFormat: Signal<string>;
|
23
|
+
protected readonly timezone: Signal<string>;
|
24
|
+
protected readonly displayTimezone: Signal<string>;
|
25
|
+
protected readonly timeFormat: Signal<string>;
|
26
|
+
ngOnInit(): void;
|
27
|
+
ngOnDestroy(): void;
|
28
|
+
private startClockTimer;
|
29
|
+
private stopClockTimer;
|
30
|
+
private updateTime;
|
31
|
+
private getAdjustedTime;
|
32
|
+
private updateClockHandsRotation;
|
33
|
+
protected initializeWidget(): void;
|
34
|
+
protected updateWidget(): void;
|
35
|
+
protected destroyWidget(): void;
|
36
|
+
protected getDayOfWeek(): string;
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPClockCalendarWidgetViewComponent, never>;
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPClockCalendarWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
39
|
+
}
|
package/dashboard-management/lib/features/shared/widgets/clock-calendar/clock-calendar.types.d.ts
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
/**
|
2
|
+
* ACoreX Clock Calendar Widget Types
|
3
|
+
* Contains all types and interfaces for the Clock Calendar widget
|
4
|
+
*/
|
5
|
+
/**
|
6
|
+
* Clock layout display options
|
7
|
+
*/
|
8
|
+
export type AXPClockLayout = 'both' | 'digital' | 'analog';
|
9
|
+
/**
|
10
|
+
* Clock timezone options
|
11
|
+
*/
|
12
|
+
export interface AXPTimezoneOption {
|
13
|
+
id: string;
|
14
|
+
title: string;
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* Date format options
|
18
|
+
*/
|
19
|
+
export interface AXPDateFormatOption {
|
20
|
+
id: string;
|
21
|
+
title: string;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Hour number definition for the analog clock
|
25
|
+
*/
|
26
|
+
export interface AXPHourNumber {
|
27
|
+
number: number;
|
28
|
+
angle: number;
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Widget options for configuring the clock-calendar
|
32
|
+
*/
|
33
|
+
export interface AXPClockCalendarOptions {
|
34
|
+
displayLayout?: AXPClockLayout;
|
35
|
+
showDate?: boolean;
|
36
|
+
showDayOfWeek?: boolean;
|
37
|
+
use24Hour?: boolean;
|
38
|
+
showSeconds?: boolean;
|
39
|
+
showHourMarkers?: boolean;
|
40
|
+
dateFormat?: string;
|
41
|
+
timezone?: string;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Common timezone options for the widget configuration
|
45
|
+
*/
|
46
|
+
export declare const AXP_TIMEZONE_OPTIONS: AXPTimezoneOption[];
|
47
|
+
/**
|
48
|
+
* Common date format options for the widget configuration
|
49
|
+
*/
|
50
|
+
export declare const AXP_DATE_FORMAT_OPTIONS: AXPDateFormatOption[];
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { AXPDonutChartData, AXPDonutChartOption } from '@acorex/charts/donut-chart';
|
2
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
|
+
import { Signal } from '@angular/core';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Donut Chart Widget Component
|
7
|
+
* Displays data in a circular donut chart with interactive segments
|
8
|
+
*/
|
9
|
+
export declare class AXPDonutChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
|
+
donutChartData: Signal<AXPDonutChartData[]>;
|
11
|
+
donutChartOptions: Signal<AXPDonutChartOption & {
|
12
|
+
title: string;
|
13
|
+
}>;
|
14
|
+
handleDonutChartSegmentClick(event: any): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPDonutChartWidgetViewComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPDonutChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
17
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { AXPGaugeChartOption } from '@acorex/charts/gauge-chart';
|
2
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
|
+
import { Signal } from '@angular/core';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Gauge Chart Widget Component
|
7
|
+
* Renders a semi-circular gauge chart with animated needle and thresholds
|
8
|
+
*/
|
9
|
+
export declare class AXPGaugeChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
|
+
gaugeChartValue: Signal<number>;
|
11
|
+
gaugeChartOptions: Signal<AXPGaugeChartOption & {
|
12
|
+
title: string;
|
13
|
+
}>;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPGaugeChartWidgetViewComponent, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPGaugeChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
16
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export * from './bar-chart';
|
2
|
+
export * from './chart.type';
|
3
|
+
export * from './clock-calendar';
|
4
|
+
export * from './donut-chart';
|
5
|
+
export * from './gauge-chart';
|
6
|
+
export * from './line-chart';
|
7
|
+
export * from './sticky-note';
|
8
|
+
export * from './tasklist';
|
9
|
+
export * from './weather';
|
package/dashboard-management/lib/features/shared/widgets/line-chart/line-chart-widget.component.d.ts
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
import { AXLineChartData, AXLineChartOption, AXLineChartPointClickEvent } from '@acorex/charts/line-chart';
|
2
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
|
+
import { Signal } from '@angular/core';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/**
|
6
|
+
* Line Chart Widget Component
|
7
|
+
* Renders data as lines with interactive hover effects and animations
|
8
|
+
*/
|
9
|
+
export declare class AXPLineChartWidgetViewComponent extends AXPValueWidgetComponent {
|
10
|
+
lineChartData: Signal<AXLineChartData[]>;
|
11
|
+
lineChartOptions: Signal<AXLineChartOption & {
|
12
|
+
title: string;
|
13
|
+
}>;
|
14
|
+
handleLineChartPointClick(event: AXLineChartPointClickEvent): void;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPLineChartWidgetViewComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPLineChartWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
17
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { AXValueChangedEvent } from '@acorex/components/common';
|
2
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
3
|
+
import { OnInit } from '@angular/core';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class AXPStickyNoteWidgetViewComponent extends AXPValueWidgetComponent<string> implements OnInit {
|
6
|
+
protected isEditing: import("@angular/core").WritableSignal<boolean>;
|
7
|
+
private wysiwyg;
|
8
|
+
protected value: import("@angular/core").Signal<string>;
|
9
|
+
protected date: import("@angular/core").Signal<any>;
|
10
|
+
protected bgColor: import("@angular/core").Signal<any>;
|
11
|
+
protected color: import("@angular/core").WritableSignal<string>;
|
12
|
+
private el;
|
13
|
+
protected colorPresets: string[];
|
14
|
+
handleClickOutside(event: MouseEvent): void;
|
15
|
+
protected activateEdit(): void;
|
16
|
+
protected saveChanges(): void;
|
17
|
+
protected setColor(color: string): void;
|
18
|
+
protected valueChange(event: AXValueChangedEvent<any>): void;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPStickyNoteWidgetViewComponent, never>;
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPStickyNoteWidgetViewComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
21
|
+
}
|
package/dashboard-management/lib/features/shared/widgets/tasklist/tasklist-widget.component.d.ts
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
import { AXPValueWidgetComponent } from '@acorex/platform/layout/builder';
|
2
|
+
import { AXPTaskData, AXPTaskListValue } from './tasklist.type';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
/**
|
5
|
+
* Task List Widget Component
|
6
|
+
* Displays a list of tasks with checkboxes and filtering options
|
7
|
+
*/
|
8
|
+
export declare class AXPTaskListWidgetViewComponent extends AXPValueWidgetComponent<AXPTaskListValue> {
|
9
|
+
taskClick: import("@angular/core").OutputEmitterRef<AXPTaskData>;
|
10
|
+
taskCompleted: import("@angular/core").OutputEmitterRef<AXPTaskData>;
|
11
|
+
private readonly cdr;
|
12
|
+
private readonly datePipe;
|
13
|
+
protected readonly maxItems: import("@angular/core").Signal<any>;
|
14
|
+
protected readonly showDate: import("@angular/core").Signal<any>;
|
15
|
+
protected readonly showAssignee: import("@angular/core").Signal<any>;
|
16
|
+
protected readonly showPriority: import("@angular/core").Signal<any>;
|
17
|
+
protected readonly allowMarkComplete: import("@angular/core").Signal<any>;
|
18
|
+
protected readonly showCategories: import("@angular/core").Signal<any>;
|
19
|
+
protected readonly taskItems: import("@angular/core").Signal<AXPTaskData[]>;
|
20
|
+
protected getPendingTaskCount(): number;
|
21
|
+
protected getCompletedTaskCount(): number;
|
22
|
+
protected hasCategories(): boolean;
|
23
|
+
protected getCategories(): string[];
|
24
|
+
protected getTasksByCategory(category: string): AXPTaskData[];
|
25
|
+
protected getCategoryTaskCount(category: string): number;
|
26
|
+
protected onTaskClick(task: AXPTaskData): void;
|
27
|
+
protected onTaskCompletionChange(task: AXPTaskData, isCompleted: boolean): void;
|
28
|
+
protected formatDueDate(date: Date | string | undefined): string;
|
29
|
+
protected getPriorityColor(priority: string | undefined): string;
|
30
|
+
private getFilteredTasks;
|
31
|
+
protected getDaysDifference(date: Date): number;
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AXPTaskListWidgetViewComponent, never>;
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AXPTaskListWidgetViewComponent, "ng-component", never, {}, { "taskClick": "taskClick"; "taskCompleted": "taskCompleted"; }, never, never, true, never>;
|
34
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/**
|
2
|
+
* Task List Data structure
|
3
|
+
*/
|
4
|
+
export interface AXPTaskData {
|
5
|
+
id: string;
|
6
|
+
title: string;
|
7
|
+
completed: boolean;
|
8
|
+
priority?: 'low' | 'medium' | 'high';
|
9
|
+
dueDate?: Date | string;
|
10
|
+
category?: string;
|
11
|
+
assignedTo?: {
|
12
|
+
id: string;
|
13
|
+
name: string;
|
14
|
+
image?: string;
|
15
|
+
};
|
16
|
+
createdAt: Date | string;
|
17
|
+
}
|
18
|
+
/**
|
19
|
+
* Task List Widget Value
|
20
|
+
*/
|
21
|
+
export interface AXPTaskListValue {
|
22
|
+
data: AXPTaskData[];
|
23
|
+
}
|
24
|
+
/**
|
25
|
+
* Task List Widget Options
|
26
|
+
*/
|
27
|
+
export interface AXPTaskListOptions {
|
28
|
+
maxItems?: number;
|
29
|
+
showDate?: boolean;
|
30
|
+
showAssignee?: boolean;
|
31
|
+
showCategory?: boolean;
|
32
|
+
showPriority?: boolean;
|
33
|
+
groupByCategory?: boolean;
|
34
|
+
groupByPriority?: boolean;
|
35
|
+
allowMarkComplete?: boolean;
|
36
|
+
}
|