@hed-hog/core 0.0.299 → 0.0.301
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/dist/ai/ai.service.d.ts +13 -2
- package/dist/ai/ai.service.d.ts.map +1 -1
- package/dist/ai/ai.service.js +104 -2
- package/dist/ai/ai.service.js.map +1 -1
- package/dist/dashboard/dashboard/dashboard.controller.d.ts +6 -0
- package/dist/dashboard/dashboard/dashboard.controller.d.ts.map +1 -1
- package/dist/dashboard/dashboard/dashboard.service.d.ts +6 -0
- package/dist/dashboard/dashboard/dashboard.service.d.ts.map +1 -1
- package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts +2 -1
- package/dist/dashboard/dashboard-component/dashboard-component.controller.d.ts.map +1 -1
- package/dist/dashboard/dashboard-component/dashboard-component.controller.js +6 -3
- package/dist/dashboard/dashboard-component/dashboard-component.controller.js.map +1 -1
- package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts +7 -1
- package/dist/dashboard/dashboard-component/dashboard-component.service.d.ts.map +1 -1
- package/dist/dashboard/dashboard-component/dashboard-component.service.js +76 -33
- package/dist/dashboard/dashboard-component/dashboard-component.service.js.map +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +82 -0
- package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts.map +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.controller.js +117 -0
- package/dist/dashboard/dashboard-core/dashboard-core.controller.js.map +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +93 -0
- package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts.map +1 -1
- package/dist/dashboard/dashboard-core/dashboard-core.service.js +654 -20
- package/dist/dashboard/dashboard-core/dashboard-core.service.js.map +1 -1
- package/dist/dashboard/dashboard-item/dashboard-item.controller.d.ts +2 -0
- package/dist/dashboard/dashboard-item/dashboard-item.controller.d.ts.map +1 -1
- package/dist/dashboard/dashboard-item/dashboard-item.service.d.ts +2 -0
- package/dist/dashboard/dashboard-item/dashboard-item.service.d.ts.map +1 -1
- package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts +2 -0
- package/dist/dashboard/dashboard-role/dashboard-role.controller.d.ts.map +1 -1
- package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts +2 -0
- package/dist/dashboard/dashboard-role/dashboard-role.service.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/mail/mail.service.d.ts +9 -2
- package/dist/mail/mail.service.d.ts.map +1 -1
- package/dist/mail/mail.service.js +56 -4
- package/dist/mail/mail.service.js.map +1 -1
- package/dist/setting/setting.service.d.ts +6 -1
- package/dist/setting/setting.service.d.ts.map +1 -1
- package/dist/setting/setting.service.js +188 -15
- package/dist/setting/setting.service.js.map +1 -1
- package/hedhog/data/dashboard.yaml +12 -6
- package/hedhog/data/dashboard_component_role.yaml +66 -0
- package/hedhog/data/dashboard_role.yaml +2 -8
- package/hedhog/data/route.yaml +72 -0
- package/hedhog/data/setting_group.yaml +28 -0
- package/hedhog/frontend/app/dashboard/[slug]/dashboard-content.tsx.ejs +333 -128
- package/hedhog/frontend/app/dashboard/[slug]/widget-renderer.tsx.ejs +277 -53
- package/hedhog/frontend/app/dashboard/components/add-widget-selector-dialog.tsx.ejs +179 -231
- package/hedhog/frontend/app/dashboard/components/draggable-grid.tsx.ejs +64 -18
- package/hedhog/frontend/app/dashboard/dashboard-home-tabs.tsx.ejs +1619 -0
- package/hedhog/frontend/app/dashboard/dashboard.css.ejs +37 -0
- package/hedhog/frontend/app/dashboard/management/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/dashboard/management/tabs/components-tab.tsx.ejs +6 -6
- package/hedhog/frontend/app/dashboard/management/tabs/dashboards-tab.tsx.ejs +8 -8
- package/hedhog/frontend/app/dashboard/management/tabs/items-tab.tsx.ejs +3 -3
- package/hedhog/frontend/app/dashboard/page.tsx.ejs +3 -25
- package/hedhog/frontend/messages/en.json +124 -2
- package/hedhog/frontend/messages/pt.json +123 -1
- package/hedhog/frontend/widgets/account-security.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/active-users-card.tsx.ejs +2 -2
- package/hedhog/frontend/widgets/activity-timeline.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/email-notifications.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/locale-config.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/login-history-chart.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/mail-config.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/mail-sent-card.tsx.ejs +2 -2
- package/hedhog/frontend/widgets/mail-sent-chart.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/menus-card.tsx.ejs +2 -2
- package/hedhog/frontend/widgets/oauth-config.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/permissions-card.tsx.ejs +2 -2
- package/hedhog/frontend/widgets/permissions-chart.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/profile-card.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/routes-card.tsx.ejs +2 -2
- package/hedhog/frontend/widgets/session-activity-chart.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/sessions-today-card.tsx.ejs +2 -2
- package/hedhog/frontend/widgets/stat-access-level.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/stat-actions-today.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/stat-consecutive-days.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/stat-online-time.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/storage-config.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/theme-config.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/user-growth-chart.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/user-roles.tsx.ejs +1 -1
- package/hedhog/frontend/widgets/user-sessions.tsx.ejs +1 -1
- package/hedhog/table/dashboard.yaml +6 -0
- package/package.json +3 -3
- package/src/ai/ai.service.ts +129 -1
- package/src/dashboard/dashboard-component/dashboard-component.controller.ts +15 -2
- package/src/dashboard/dashboard-component/dashboard-component.service.ts +107 -43
- package/src/dashboard/dashboard-core/dashboard-core.controller.ts +119 -1
- package/src/dashboard/dashboard-core/dashboard-core.service.ts +876 -20
- package/src/index.ts +7 -6
- package/src/mail/mail.service.ts +67 -3
- package/src/setting/setting.service.ts +222 -15
- package/hedhog/frontend/app/dashboard/components/widgets/core..gitkeep.ejs +0 -11
- package/hedhog/frontend/app/dashboard/components/widgets/core.account-security.tsx.ejs +0 -192
- package/hedhog/frontend/app/dashboard/components/widgets/core.active-users-card.tsx.ejs +0 -58
- package/hedhog/frontend/app/dashboard/components/widgets/core.activity-timeline.tsx.ejs +0 -223
- package/hedhog/frontend/app/dashboard/components/widgets/core.email-notifications.tsx.ejs +0 -226
- package/hedhog/frontend/app/dashboard/components/widgets/core.locale-config.tsx.ejs +0 -168
- package/hedhog/frontend/app/dashboard/components/widgets/core.login-history-chart.tsx.ejs +0 -115
- package/hedhog/frontend/app/dashboard/components/widgets/core.mail-config.tsx.ejs +0 -199
- package/hedhog/frontend/app/dashboard/components/widgets/core.mail-sent-card.tsx.ejs +0 -58
- package/hedhog/frontend/app/dashboard/components/widgets/core.mail-sent-chart.tsx.ejs +0 -149
- package/hedhog/frontend/app/dashboard/components/widgets/core.menus-card.tsx.ejs +0 -58
- package/hedhog/frontend/app/dashboard/components/widgets/core.oauth-config.tsx.ejs +0 -175
- package/hedhog/frontend/app/dashboard/components/widgets/core.permissions-card.tsx.ejs +0 -61
- package/hedhog/frontend/app/dashboard/components/widgets/core.permissions-chart.tsx.ejs +0 -156
- package/hedhog/frontend/app/dashboard/components/widgets/core.profile-card.tsx.ejs +0 -186
- package/hedhog/frontend/app/dashboard/components/widgets/core.routes-card.tsx.ejs +0 -58
- package/hedhog/frontend/app/dashboard/components/widgets/core.session-activity-chart.tsx.ejs +0 -183
- package/hedhog/frontend/app/dashboard/components/widgets/core.sessions-today-card.tsx.ejs +0 -62
- package/hedhog/frontend/app/dashboard/components/widgets/core.stat-access-level.tsx.ejs +0 -57
- package/hedhog/frontend/app/dashboard/components/widgets/core.stat-actions-today.tsx.ejs +0 -57
- package/hedhog/frontend/app/dashboard/components/widgets/core.stat-consecutive-days.tsx.ejs +0 -57
- package/hedhog/frontend/app/dashboard/components/widgets/core.stat-online-time.tsx.ejs +0 -57
- package/hedhog/frontend/app/dashboard/components/widgets/core.storage-config.tsx.ejs +0 -196
- package/hedhog/frontend/app/dashboard/components/widgets/core.theme-config.tsx.ejs +0 -213
- package/hedhog/frontend/app/dashboard/components/widgets/core.user-growth-chart.tsx.ejs +0 -210
- package/hedhog/frontend/app/dashboard/components/widgets/core.user-roles.tsx.ejs +0 -132
- package/hedhog/frontend/app/dashboard/components/widgets/core.user-sessions.tsx.ejs +0 -236
- package/hedhog/frontend/app/dashboard/components/widgets/finance.alerts.tsx.ejs +0 -108
- package/hedhog/frontend/app/dashboard/components/widgets/finance.cash-balance-kpi.tsx.ejs +0 -66
- package/hedhog/frontend/app/dashboard/components/widgets/finance.cash-flow-chart.tsx.ejs +0 -122
- package/hedhog/frontend/app/dashboard/components/widgets/finance.default-kpi.tsx.ejs +0 -63
- package/hedhog/frontend/app/dashboard/components/widgets/finance.payable-30d-kpi.tsx.ejs +0 -73
- package/hedhog/frontend/app/dashboard/components/widgets/finance.receivable-30d-kpi.tsx.ejs +0 -73
- package/hedhog/frontend/app/dashboard/components/widgets/finance.upcoming-payable.tsx.ejs +0 -123
- package/hedhog/frontend/app/dashboard/components/widgets/finance.upcoming-receivable.tsx.ejs +0 -118
package/hedhog/data/route.yaml
CHANGED
|
@@ -706,6 +706,78 @@
|
|
|
706
706
|
slug: admin
|
|
707
707
|
- where:
|
|
708
708
|
slug: admin-access
|
|
709
|
+
- url: /dashboard-core/templates
|
|
710
|
+
method: GET
|
|
711
|
+
relations:
|
|
712
|
+
role:
|
|
713
|
+
- where:
|
|
714
|
+
slug: admin
|
|
715
|
+
- where:
|
|
716
|
+
slug: admin-access
|
|
717
|
+
- url: /dashboard-core/dashboard
|
|
718
|
+
method: POST
|
|
719
|
+
relations:
|
|
720
|
+
role:
|
|
721
|
+
- where:
|
|
722
|
+
slug: admin
|
|
723
|
+
- where:
|
|
724
|
+
slug: admin-access
|
|
725
|
+
- url: /dashboard-core/dashboard/:slug
|
|
726
|
+
method: PATCH
|
|
727
|
+
relations:
|
|
728
|
+
role:
|
|
729
|
+
- where:
|
|
730
|
+
slug: admin
|
|
731
|
+
- where:
|
|
732
|
+
slug: admin-access
|
|
733
|
+
- url: /dashboard-core/dashboard/:slug/home
|
|
734
|
+
method: POST
|
|
735
|
+
relations:
|
|
736
|
+
role:
|
|
737
|
+
- where:
|
|
738
|
+
slug: admin
|
|
739
|
+
- where:
|
|
740
|
+
slug: admin-access
|
|
741
|
+
- url: /dashboard-core/dashboard/:slug
|
|
742
|
+
method: DELETE
|
|
743
|
+
relations:
|
|
744
|
+
role:
|
|
745
|
+
- where:
|
|
746
|
+
slug: admin
|
|
747
|
+
- where:
|
|
748
|
+
slug: admin-access
|
|
749
|
+
- url: /dashboard-core/dashboard/:slug/shares
|
|
750
|
+
method: GET
|
|
751
|
+
relations:
|
|
752
|
+
role:
|
|
753
|
+
- where:
|
|
754
|
+
slug: admin
|
|
755
|
+
- where:
|
|
756
|
+
slug: admin-access
|
|
757
|
+
- url: /dashboard-core/dashboard/:slug/share
|
|
758
|
+
method: POST
|
|
759
|
+
relations:
|
|
760
|
+
role:
|
|
761
|
+
- where:
|
|
762
|
+
slug: admin
|
|
763
|
+
- where:
|
|
764
|
+
slug: admin-access
|
|
765
|
+
- url: /dashboard-core/dashboard/:slug/share/:sharedUserId
|
|
766
|
+
method: DELETE
|
|
767
|
+
relations:
|
|
768
|
+
role:
|
|
769
|
+
- where:
|
|
770
|
+
slug: admin
|
|
771
|
+
- where:
|
|
772
|
+
slug: admin-access
|
|
773
|
+
- url: /dashboard-core/shareable-users/:slug
|
|
774
|
+
method: GET
|
|
775
|
+
relations:
|
|
776
|
+
role:
|
|
777
|
+
- where:
|
|
778
|
+
slug: admin
|
|
779
|
+
- where:
|
|
780
|
+
slug: admin-access
|
|
709
781
|
- url: /dashboard-core/stats/overview/users
|
|
710
782
|
method: GET
|
|
711
783
|
relations:
|
|
@@ -1776,6 +1776,20 @@
|
|
|
1776
1776
|
subgroup_id:
|
|
1777
1777
|
where:
|
|
1778
1778
|
slug: openai
|
|
1779
|
+
- slug: ai-openai-api-key-enabled
|
|
1780
|
+
type: boolean
|
|
1781
|
+
name:
|
|
1782
|
+
en: Enable OpenAI
|
|
1783
|
+
pt: Habilitar OpenAI
|
|
1784
|
+
description:
|
|
1785
|
+
en: Toggle to enable or disable OpenAI integration features in the system
|
|
1786
|
+
pt: Alternar para habilitar ou desabilitar os recursos de integração do OpenAI no sistema
|
|
1787
|
+
value: false
|
|
1788
|
+
user_override: false
|
|
1789
|
+
component: switch
|
|
1790
|
+
subgroup_id:
|
|
1791
|
+
where:
|
|
1792
|
+
slug: openai
|
|
1779
1793
|
- slug: ai-gemini-api-key
|
|
1780
1794
|
type: secret
|
|
1781
1795
|
component: input-secret
|
|
@@ -1790,6 +1804,20 @@
|
|
|
1790
1804
|
subgroup_id:
|
|
1791
1805
|
where:
|
|
1792
1806
|
slug: gemini
|
|
1807
|
+
- slug: ai-gemini-api-key-enabled
|
|
1808
|
+
type: boolean
|
|
1809
|
+
name:
|
|
1810
|
+
en: Enable Google AI
|
|
1811
|
+
pt: Habilitar Google AI
|
|
1812
|
+
description:
|
|
1813
|
+
en: Toggle to enable or disable Google AI integration features in the system
|
|
1814
|
+
pt: Alternar para habilitar ou desabilitar os recursos de integração do Google AI no sistema
|
|
1815
|
+
value: false
|
|
1816
|
+
user_override: false
|
|
1817
|
+
component: switch
|
|
1818
|
+
subgroup_id:
|
|
1819
|
+
where:
|
|
1820
|
+
slug: gemini
|
|
1793
1821
|
- slug: integration
|
|
1794
1822
|
icon: webhook
|
|
1795
1823
|
name:
|