@asaleh37/ui-base 25.6.1 → 25.6.2-0.1
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/.github/workflows/publish-npm.yml +31 -0
- package/README.md +51 -51
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/eslint.config.js +29 -29
- package/index.html +13 -13
- package/package.json +120 -120
- package/rollup.config-1748377725725.cjs +50 -50
- package/rollup.config.js +45 -45
- package/src/components/App.tsx +123 -123
- package/src/components/BaseApp.tsx +53 -53
- package/src/components/administration/admin/OrgMemberRoleForm.tsx +83 -83
- package/src/components/administration/admin/OrganizationApplicationModuleGrid.tsx +107 -107
- package/src/components/administration/admin/OrganizationGrid.tsx +82 -82
- package/src/components/administration/admin/OrganizationMemberGrid.tsx +176 -176
- package/src/components/administration/admin/OrganizationMemberRoleGrid.tsx +87 -87
- package/src/components/administration/admin/OrganizationRankGrid.tsx +133 -133
- package/src/components/administration/admin/OrganizationUnitGrid.tsx +143 -143
- package/src/components/administration/admin/OrganizationUnitTypeGrid.tsx +108 -108
- package/src/components/administration/admin/PersonGrid.tsx +231 -231
- package/src/components/administration/admin/RoleAuthoritiesForm.tsx +82 -82
- package/src/components/administration/admin/SystemApplicationAuthorityGrid.tsx +126 -126
- package/src/components/administration/admin/SystemApplicationGrid.tsx +83 -83
- package/src/components/administration/admin/SystemApplicationModuleGrid.tsx +96 -96
- package/src/components/administration/admin/SystemApplicationRoleAuthorityGrid.tsx +67 -67
- package/src/components/administration/admin/SystemApplicationRoleGrid.tsx +116 -116
- package/src/components/administration/dev/AttachmentConfigGrid.tsx +223 -223
- package/src/components/administration/dev/AttachmentGrid.tsx +172 -172
- package/src/components/administration/dev/BluePrintGrid.tsx +129 -129
- package/src/components/administration/dev/DashboardGrid.tsx +173 -173
- package/src/components/administration/dev/DashboardWidgetGrid.tsx +164 -164
- package/src/components/administration/dev/DataQueryGrid.tsx +206 -206
- package/src/components/administration/dev/DataQueryParameterGrid.tsx +191 -191
- package/src/components/administration/dev/DataQueryParametersForm.tsx +84 -84
- package/src/components/administration/dev/DatasourceConnectionGrid.tsx +150 -150
- package/src/components/administration/dev/EntityParameterGrid.tsx +279 -279
- package/src/components/administration/dev/LookupGrid.tsx +120 -120
- package/src/components/administration/dev/MailAttachmentGrid.tsx +155 -155
- package/src/components/administration/dev/MailBodyGrid.tsx +216 -216
- package/src/components/administration/dev/MailNotificationQueueGrid.tsx +245 -245
- package/src/components/administration/dev/MailRecipientGrid.tsx +169 -169
- package/src/components/administration/dev/MailSenderConfigGrid.tsx +478 -478
- package/src/components/administration/dev/MailTemplateGrid.tsx +384 -384
- package/src/components/administration/dev/NotificationGrid.tsx +432 -432
- package/src/components/administration/dev/NotificationQueueGrid.tsx +222 -222
- package/src/components/administration/dev/ReportGrid.tsx +506 -506
- package/src/components/administration/dev/ReportParameterGrid.tsx +186 -186
- package/src/components/administration/dev/ReportParametersForm.tsx +84 -84
- package/src/components/administration/dev/WidgetGrid.tsx +431 -431
- package/src/components/administration/dev/WorkflowDocumentActionGrid.tsx +264 -264
- package/src/components/administration/dev/WorkflowDocumentActionHistoryGrid.tsx +172 -172
- package/src/components/administration/dev/WorkflowDocumentActionMailGrid.tsx +161 -161
- package/src/components/administration/dev/WorkflowDocumentGrid.tsx +377 -377
- package/src/components/administration/dev/WorkflowDocumentMailLogGrid.tsx +218 -218
- package/src/components/administration/dev/WorkflowDocumentStatusGrid.tsx +243 -243
- package/src/components/common/ChangeOrgForm.tsx +81 -81
- package/src/components/common/Home.tsx +43 -43
- package/src/components/common/LanguageSwitcher.tsx +25 -25
- package/src/components/common/LayoutHandlers.tsx +11 -11
- package/src/components/common/LoadingMask.tsx +24 -24
- package/src/components/common/Login.tsx +214 -214
- package/src/components/common/MyNotificationsPanel.tsx +103 -103
- package/src/components/common/NotificationItem.tsx +138 -138
- package/src/components/index.ts +9 -9
- package/src/components/templates/DataEntryTemplates/DataEntryTypes.ts +324 -324
- package/src/components/templates/DataEntryTemplates/DataEntryUtil.ts +248 -248
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormAction.tsx +60 -60
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormElementField.tsx +231 -231
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormElementGroup.tsx +106 -106
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/CheckBox.tsx +64 -64
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/ComboBox.tsx +93 -93
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/Datefield.tsx +65 -65
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/DatetimeField.tsx +64 -64
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/FiltersPanel.tsx +237 -237
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/SystemLookupCombobox.tsx +55 -55
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/FormFields/TemplateTextField.tsx +17 -17
- package/src/components/templates/DataEntryTemplates/TemplateDataForm/TemplateForm.tsx +387 -387
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/DataGridColumnsUtil.tsx +189 -189
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGrid.tsx +998 -998
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGridMultiRecordAction.tsx +89 -89
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGridRecordAction.tsx +95 -95
- package/src/components/templates/DataEntryTemplates/TemplateDataGrid/TemplateGridTopBar.tsx +227 -227
- package/src/components/templates/TransferList.tsx +257 -257
- package/src/components/templates/Window/ConfirmationWindow.tsx +55 -55
- package/src/components/templates/attachment/AttachmentCard.tsx +141 -141
- package/src/components/templates/attachment/AttachmentImageViewer.tsx +45 -45
- package/src/components/templates/attachment/AttachmentPanel.tsx +271 -271
- package/src/components/templates/index.ts +33 -33
- package/src/components/templates/report/ExcelReportViewer.tsx +71 -71
- package/src/components/templates/report/ReportViewer.tsx +382 -382
- package/src/components/templates/visuals/DashboardRouteView.tsx +9 -9
- package/src/components/templates/visuals/DashboardViewer.tsx +148 -148
- package/src/components/templates/visuals/WidgetViewer.tsx +198 -198
- package/src/components/templates/visuals/charts/TemplateBarChart.tsx +23 -23
- package/src/components/templates/visuals/charts/TemplateDataCard.tsx +35 -35
- package/src/components/templates/visuals/charts/TemplateGauge.tsx +21 -21
- package/src/components/templates/visuals/charts/TemplateLineChart.tsx +22 -22
- package/src/components/templates/visuals/charts/TemplateLineProgress.tsx +42 -42
- package/src/components/templates/visuals/charts/TemplatePieChart.tsx +24 -24
- package/src/components/templates/workflow/WorkflowDocumentPanel.tsx +606 -606
- package/src/components/templates/workflow/WorkflowDocumentTimeLine.tsx +140 -140
- package/src/components/templates/workflow/WorkflowRouteComponent.tsx +14 -14
- package/src/hooks/UseConfirmationWindow.tsx +54 -54
- package/src/hooks/UseMobile.tsx +13 -13
- package/src/hooks/UseSession.tsx +40 -40
- package/src/hooks/UseWindow.tsx +107 -107
- package/src/hooks/index.ts +7 -7
- package/src/hooks/useApiActions.ts +124 -124
- package/src/hooks/useAxios.tsx +316 -316
- package/src/hooks/useInterval.tsx +23 -23
- package/src/hooks/useLoadingMask.tsx +16 -16
- package/src/hooks/useLookupGridColumn.tsx +35 -35
- package/src/index.ts +4 -4
- package/src/layout/DrawerHeader.tsx +10 -10
- package/src/layout/Layout.tsx +90 -90
- package/src/layout/MainContent.tsx +114 -114
- package/src/layout/MobileDrawer.tsx +103 -103
- package/src/layout/NavigationTree.tsx +295 -295
- package/src/layout/NotificationButton.tsx +207 -207
- package/src/layout/RouteWrapper.tsx +36 -36
- package/src/layout/SideBar.tsx +85 -85
- package/src/layout/TopBar.tsx +215 -215
- package/src/locales/arabic/adminLocalsAr.json +93 -93
- package/src/locales/arabic/common.json +44 -44
- package/src/locales/arabic/devLocalsAr.json +317 -317
- package/src/locales/arabic/index.ts +9 -9
- package/src/locales/english/adminLocalsEn.json +96 -96
- package/src/locales/english/common.json +43 -43
- package/src/locales/english/devLocalsEn.json +318 -318
- package/src/locales/english/index.ts +9 -9
- package/src/locales/i18n.ts +8 -8
- package/src/locales/index.ts +9 -9
- package/src/main.tsx +23 -23
- package/src/navigationItems/Administration/adminNavigationItems.tsx +222 -222
- package/src/navigationItems/Administration/index.tsx +16 -16
- package/src/navigationItems/common/CommonNavigationItems.tsx +12 -12
- package/src/navigationItems/common/index.tsx +7 -7
- package/src/navigationItems/index.tsx +34 -34
- package/src/redux/features/administration/AdministrationStoresMetaData.ts +126 -126
- package/src/redux/features/common/AppInfoSlice.ts +63 -63
- package/src/redux/features/common/AppLayoutSlice.ts +29 -29
- package/src/redux/features/common/CommonStoreSlice.ts +44 -44
- package/src/redux/features/common/LoadingMaskSlice.ts +30 -30
- package/src/redux/features/common/SideBarSlice.ts +27 -27
- package/src/redux/features/common/UserSessionSlice.ts +54 -54
- package/src/redux/store.ts +29 -29
- package/src/routes/administration/adminRoutes.tsx +99 -99
- package/src/routes/administration/devRoutes.tsx +129 -129
- package/src/routes/administration/index.ts +8 -8
- package/src/routes/index.ts +11 -11
- package/src/routes/types/index.ts +5 -5
- package/src/styles/index.css +19 -19
- package/src/types/index.ts +8 -8
- package/src/util/AppUtils.ts +53 -53
- package/src/util/constants.ts +6 -6
- package/src/util/index.ts +2 -2
- package/tsconfig.json +135 -135
- package/vite.config.ts +36 -36
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import common from "./common.json";
|
|
2
|
-
import AdminLocalsEn from "./adminLocalsEn.json";
|
|
3
|
-
import devLocalsEn from "./devLocalsEn.json";
|
|
4
|
-
|
|
5
|
-
export const ENGLISH_TRANS = {
|
|
6
|
-
...common,
|
|
7
|
-
...AdminLocalsEn,
|
|
8
|
-
...devLocalsEn,
|
|
9
|
-
};
|
|
1
|
+
import common from "./common.json";
|
|
2
|
+
import AdminLocalsEn from "./adminLocalsEn.json";
|
|
3
|
+
import devLocalsEn from "./devLocalsEn.json";
|
|
4
|
+
|
|
5
|
+
export const ENGLISH_TRANS = {
|
|
6
|
+
...common,
|
|
7
|
+
...AdminLocalsEn,
|
|
8
|
+
...devLocalsEn,
|
|
9
|
+
};
|
package/src/locales/i18n.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import i18n from "i18next";
|
|
2
|
-
|
|
3
|
-
export const changeLanguage = (lng: string) => {
|
|
4
|
-
i18n.changeLanguage(lng);
|
|
5
|
-
localStorage.setItem("language", lng); // Persist user choice
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export default i18n;
|
|
1
|
+
import i18n from "i18next";
|
|
2
|
+
|
|
3
|
+
export const changeLanguage = (lng: string) => {
|
|
4
|
+
i18n.changeLanguage(lng);
|
|
5
|
+
localStorage.setItem("language", lng); // Persist user choice
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default i18n;
|
package/src/locales/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ARABIC_TRANS } from "./arabic";
|
|
2
|
-
import { ENGLISH_TRANS } from "./english";
|
|
3
|
-
|
|
4
|
-
const resources = {
|
|
5
|
-
en: { translation: ENGLISH_TRANS },
|
|
6
|
-
ar: { translation: ARABIC_TRANS },
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
export default resources;
|
|
1
|
+
import { ARABIC_TRANS } from "./arabic";
|
|
2
|
+
import { ENGLISH_TRANS } from "./english";
|
|
3
|
+
|
|
4
|
+
const resources = {
|
|
5
|
+
en: { translation: ENGLISH_TRANS },
|
|
6
|
+
ar: { translation: ARABIC_TRANS },
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export default resources;
|
package/src/main.tsx
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { createRoot } from "react-dom/client";
|
|
2
|
-
import { BaseApp } from "./components";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
createRoot(document.getElementById("root")!).render(
|
|
6
|
-
<BaseApp
|
|
7
|
-
apiBaseUrl="http://192.168.1.2:8081/api-base"
|
|
8
|
-
appLogo={"/logo.png"}
|
|
9
|
-
appName="UI Base Library"
|
|
10
|
-
appVersion="0.0"
|
|
11
|
-
businessCommonStoresMetaData={{}}
|
|
12
|
-
businessNavigationItems={[]}
|
|
13
|
-
businessReduxReducers={{}}
|
|
14
|
-
businessRoutes={[]}
|
|
15
|
-
documentTitle="UI Base"
|
|
16
|
-
enableAdministrationModule={true}
|
|
17
|
-
appTheme={{
|
|
18
|
-
dark: { primaryColor: "#b3a10c", secondaryColor: "#2b3c46" },
|
|
19
|
-
light: { primaryColor: "#2b3c46", secondaryColor: "#b3a10c" },
|
|
20
|
-
}}
|
|
21
|
-
muiPremiumKey="c2bd611fa642666253500ab9c8e4f78fTz0xMTE4MjEsRT0xNzc2OTg4Nzk5MDAwLFM9cHJlbWl1bSxMTT1zdWJzY3JpcHRpb24sUFY9aW5pdGlhbCxLVj0y"
|
|
22
|
-
/>
|
|
23
|
-
);
|
|
1
|
+
import { createRoot } from "react-dom/client";
|
|
2
|
+
import { BaseApp } from "./components";
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
createRoot(document.getElementById("root")!).render(
|
|
6
|
+
<BaseApp
|
|
7
|
+
apiBaseUrl="http://192.168.1.2:8081/api-base"
|
|
8
|
+
appLogo={"/logo.png"}
|
|
9
|
+
appName="UI Base Library"
|
|
10
|
+
appVersion="0.0"
|
|
11
|
+
businessCommonStoresMetaData={{}}
|
|
12
|
+
businessNavigationItems={[]}
|
|
13
|
+
businessReduxReducers={{}}
|
|
14
|
+
businessRoutes={[]}
|
|
15
|
+
documentTitle="UI Base"
|
|
16
|
+
enableAdministrationModule={true}
|
|
17
|
+
appTheme={{
|
|
18
|
+
dark: { primaryColor: "#b3a10c", secondaryColor: "#2b3c46" },
|
|
19
|
+
light: { primaryColor: "#2b3c46", secondaryColor: "#b3a10c" },
|
|
20
|
+
}}
|
|
21
|
+
muiPremiumKey="c2bd611fa642666253500ab9c8e4f78fTz0xMTE4MjEsRT0xNzc2OTg4Nzk5MDAwLFM9cHJlbWl1bSxMTT1zdWJzY3JpcHRpb24sUFY9aW5pdGlhbCxLVj0y"
|
|
22
|
+
/>
|
|
23
|
+
);
|
|
@@ -1,222 +1,222 @@
|
|
|
1
|
-
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
-
import { ExtendedTreeItemProps } from "..";
|
|
3
|
-
|
|
4
|
-
export const adminNavigationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
5
|
-
{
|
|
6
|
-
id: "system_admin",
|
|
7
|
-
label: "System Administration",
|
|
8
|
-
authority: "SYSTEM_ADMIN",
|
|
9
|
-
icon: "cog",
|
|
10
|
-
children: [
|
|
11
|
-
{
|
|
12
|
-
id: "development_admin.organizations",
|
|
13
|
-
label: "ORGANIZATION_PLURAL",
|
|
14
|
-
authority: "ORGANIZATION_ADMIN",
|
|
15
|
-
icon: "globe",
|
|
16
|
-
action: "NAVIGATION",
|
|
17
|
-
actionPayload: { path: "admin/organizations" },
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
id: "development_admin.SystemApplication",
|
|
21
|
-
label: "SYSTEM_APPLICATION_PLURAL",
|
|
22
|
-
authority: "ORGANIZATION_ADMIN",
|
|
23
|
-
icon: "window-restore",
|
|
24
|
-
action: "NAVIGATION",
|
|
25
|
-
actionPayload: { path: "admin/systemapplications" },
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: "development_admin.organization",
|
|
29
|
-
label: "Organization Info",
|
|
30
|
-
authority: "DEVELOPMENT_ADMIN",
|
|
31
|
-
icon: "globe",
|
|
32
|
-
children: [
|
|
33
|
-
{
|
|
34
|
-
id: "development_admin.organization.modules",
|
|
35
|
-
label: "Subscriped Modules",
|
|
36
|
-
icon: "layer-group",
|
|
37
|
-
authority: "ORGANIZATION_ADMIN",
|
|
38
|
-
action: "NAVIGATION",
|
|
39
|
-
actionPayload: { path: "admin/org/apps" },
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
id: "development_admin.organization.unitTypes",
|
|
43
|
-
label: "Organization Unit Types",
|
|
44
|
-
icon: "tags",
|
|
45
|
-
action: "NAVIGATION",
|
|
46
|
-
actionPayload: { path: "admin/org/unit/types" },
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
id: "development_admin.organization.units",
|
|
50
|
-
label: "Organization Units",
|
|
51
|
-
icon: "folder-tree",
|
|
52
|
-
action: "NAVIGATION",
|
|
53
|
-
actionPayload: { path: "admin/org/units" },
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
id: "development_admin.organization.ranks",
|
|
57
|
-
label: "Organization Ranks",
|
|
58
|
-
icon: "street-view",
|
|
59
|
-
action: "NAVIGATION",
|
|
60
|
-
actionPayload: { path: "admin/org/ranks" },
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
id: "system_admin.Person",
|
|
66
|
-
label: "PERSON_PLURAL",
|
|
67
|
-
icon: "users",
|
|
68
|
-
action: "NAVIGATION",
|
|
69
|
-
actionPayload: { path: "admin/persons" },
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
id: "system_admin.devtools",
|
|
73
|
-
label: "DEVELOPMENT_TOOLS",
|
|
74
|
-
authority: "DEVELOPMENT_ADMIN",
|
|
75
|
-
icon: "code",
|
|
76
|
-
children: [
|
|
77
|
-
{
|
|
78
|
-
id: "system_admin.devtools.modules",
|
|
79
|
-
label: "System Modules",
|
|
80
|
-
icon: "layer-group",
|
|
81
|
-
action: "NAVIGATION",
|
|
82
|
-
actionPayload: { path: "dev/system/modules" },
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
id: "system_admin.devtools.authorities",
|
|
86
|
-
label: "System Authorities",
|
|
87
|
-
icon: "key",
|
|
88
|
-
action: "NAVIGATION",
|
|
89
|
-
actionPayload: { path: "dev/system/authorities" },
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
id: "system_admin.devtools.roles",
|
|
93
|
-
label: "System Roles",
|
|
94
|
-
icon: "tag",
|
|
95
|
-
action: "NAVIGATION",
|
|
96
|
-
actionPayload: { path: "dev/system/roles" },
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
id: "system_admin.devtools.lookups",
|
|
100
|
-
label: "System Lookups",
|
|
101
|
-
icon: "list-check",
|
|
102
|
-
action: "NAVIGATION",
|
|
103
|
-
actionPayload: { path: "dev/system/lookups" },
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
id: "system_admin.devtools.DatasourceConnection",
|
|
107
|
-
label: "DATASOURCE_CONNECTION_PLURAL",
|
|
108
|
-
icon: "plug",
|
|
109
|
-
action: "NAVIGATION",
|
|
110
|
-
actionPayload: { path: "dev/datasourceconnections" },
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
id: "system_admin.devtools.EntityParameter",
|
|
114
|
-
label: "ENTITY_PARAMETER_PLURAL",
|
|
115
|
-
icon: "p",
|
|
116
|
-
action: "NAVIGATION",
|
|
117
|
-
actionPayload: { path: "dev/entityparameters" },
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
id: "system_admin.devtools.DataQuery",
|
|
121
|
-
label: "DATA_QUERY_PLURAL",
|
|
122
|
-
icon: "file-code",
|
|
123
|
-
action: "NAVIGATION",
|
|
124
|
-
actionPayload: { path: "dev/dataqueries" },
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: "system_admin.devtools.Report",
|
|
128
|
-
label: "REPORT_PLURAL",
|
|
129
|
-
icon: "file",
|
|
130
|
-
action: "NAVIGATION",
|
|
131
|
-
actionPayload: { path: "dev/reports" },
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
id: "system_admin.devtools.MailConfig",
|
|
135
|
-
label: "Mail Sender Config",
|
|
136
|
-
icon: { iconName: "paper-plane", prefix: "fas" },
|
|
137
|
-
action: "NAVIGATION",
|
|
138
|
-
actionPayload: { path: "dev/mailsender/config" },
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
id: "system_admin.devtools.MailTemplate",
|
|
142
|
-
label: "MAIL_TEMPLATE_PLURAL",
|
|
143
|
-
icon: "envelope",
|
|
144
|
-
action: "NAVIGATION",
|
|
145
|
-
actionPayload: { path: "dev/mailtemplates" },
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
id: "system_admin.devtools.WorkflowDocument",
|
|
149
|
-
label: "WORKFLOW_DOCUMENT_PLURAL",
|
|
150
|
-
icon: "chart-diagram",
|
|
151
|
-
action: "NAVIGATION",
|
|
152
|
-
actionPayload: { path: "dev/workflowdocuments" },
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
id: "system_admin.devtools.Widget",
|
|
156
|
-
label: "WIDGET_PLURAL",
|
|
157
|
-
icon: "chart-pie",
|
|
158
|
-
action: "NAVIGATION",
|
|
159
|
-
actionPayload: { path: "dev/widgets" },
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
id: "system_admin.devtools.Dashboard",
|
|
163
|
-
label: "DASHBOARD_PLURAL",
|
|
164
|
-
icon: "square-poll-vertical",
|
|
165
|
-
action: "NAVIGATION",
|
|
166
|
-
actionPayload: { path: "dev/dashboards" },
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
id: "system_admin.devtools.AttachmentConfig",
|
|
170
|
-
label: "ATTACHMENT_CONFIG_PLURAL",
|
|
171
|
-
icon: "paperclip",
|
|
172
|
-
action: "NAVIGATION",
|
|
173
|
-
actionPayload: { path: "dev/attachmentconfigs" },
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
id: "system_admin.devtools.BluePrint",
|
|
177
|
-
label: "BLUE_PRINT_PLURAL",
|
|
178
|
-
icon: "fingerprint",
|
|
179
|
-
action: "NAVIGATION",
|
|
180
|
-
actionPayload: { path: "dev/blueprints" },
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
id: "system_admin.devtools.Notification",
|
|
184
|
-
label: "NOTIFICATION_PLURAL",
|
|
185
|
-
icon: "bell",
|
|
186
|
-
action: "NAVIGATION",
|
|
187
|
-
actionPayload: { path: "dev/notifications" },
|
|
188
|
-
},
|
|
189
|
-
],
|
|
190
|
-
},
|
|
191
|
-
{
|
|
192
|
-
id: "system_admin.followup",
|
|
193
|
-
label: "SYSTEM_MONITORING",
|
|
194
|
-
authority: "SYSTEM_ADMIN",
|
|
195
|
-
icon: "tv",
|
|
196
|
-
children: [
|
|
197
|
-
{
|
|
198
|
-
id: "system_admin.WorkflowDocumentMailLog",
|
|
199
|
-
label: "Action Mail Logs",
|
|
200
|
-
icon: "envelopes-bulk",
|
|
201
|
-
action: "NAVIGATION",
|
|
202
|
-
actionPayload: { path: "dev/workflowdocumentmaillogs" },
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
id: "system_admin.MailNotificationQueue",
|
|
206
|
-
label: "Mail Notification Queue",
|
|
207
|
-
icon: "envelope-open-text",
|
|
208
|
-
action: "NAVIGATION",
|
|
209
|
-
actionPayload: { path: "dev/mailnotificationqueues" },
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
id: "system_admin.NotificationQueue",
|
|
213
|
-
label: "NOTIFICATION_QUEUE_PLURAL",
|
|
214
|
-
icon: "bell",
|
|
215
|
-
action: "NAVIGATION",
|
|
216
|
-
actionPayload: { path: "dev/notificationqueues" },
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
},
|
|
220
|
-
],
|
|
221
|
-
},
|
|
222
|
-
];
|
|
1
|
+
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
+
import { ExtendedTreeItemProps } from "..";
|
|
3
|
+
|
|
4
|
+
export const adminNavigationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
5
|
+
{
|
|
6
|
+
id: "system_admin",
|
|
7
|
+
label: "System Administration",
|
|
8
|
+
authority: "SYSTEM_ADMIN",
|
|
9
|
+
icon: "cog",
|
|
10
|
+
children: [
|
|
11
|
+
{
|
|
12
|
+
id: "development_admin.organizations",
|
|
13
|
+
label: "ORGANIZATION_PLURAL",
|
|
14
|
+
authority: "ORGANIZATION_ADMIN",
|
|
15
|
+
icon: "globe",
|
|
16
|
+
action: "NAVIGATION",
|
|
17
|
+
actionPayload: { path: "admin/organizations" },
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: "development_admin.SystemApplication",
|
|
21
|
+
label: "SYSTEM_APPLICATION_PLURAL",
|
|
22
|
+
authority: "ORGANIZATION_ADMIN",
|
|
23
|
+
icon: "window-restore",
|
|
24
|
+
action: "NAVIGATION",
|
|
25
|
+
actionPayload: { path: "admin/systemapplications" },
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
id: "development_admin.organization",
|
|
29
|
+
label: "Organization Info",
|
|
30
|
+
authority: "DEVELOPMENT_ADMIN",
|
|
31
|
+
icon: "globe",
|
|
32
|
+
children: [
|
|
33
|
+
{
|
|
34
|
+
id: "development_admin.organization.modules",
|
|
35
|
+
label: "Subscriped Modules",
|
|
36
|
+
icon: "layer-group",
|
|
37
|
+
authority: "ORGANIZATION_ADMIN",
|
|
38
|
+
action: "NAVIGATION",
|
|
39
|
+
actionPayload: { path: "admin/org/apps" },
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
id: "development_admin.organization.unitTypes",
|
|
43
|
+
label: "Organization Unit Types",
|
|
44
|
+
icon: "tags",
|
|
45
|
+
action: "NAVIGATION",
|
|
46
|
+
actionPayload: { path: "admin/org/unit/types" },
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "development_admin.organization.units",
|
|
50
|
+
label: "Organization Units",
|
|
51
|
+
icon: "folder-tree",
|
|
52
|
+
action: "NAVIGATION",
|
|
53
|
+
actionPayload: { path: "admin/org/units" },
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
id: "development_admin.organization.ranks",
|
|
57
|
+
label: "Organization Ranks",
|
|
58
|
+
icon: "street-view",
|
|
59
|
+
action: "NAVIGATION",
|
|
60
|
+
actionPayload: { path: "admin/org/ranks" },
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
id: "system_admin.Person",
|
|
66
|
+
label: "PERSON_PLURAL",
|
|
67
|
+
icon: "users",
|
|
68
|
+
action: "NAVIGATION",
|
|
69
|
+
actionPayload: { path: "admin/persons" },
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
id: "system_admin.devtools",
|
|
73
|
+
label: "DEVELOPMENT_TOOLS",
|
|
74
|
+
authority: "DEVELOPMENT_ADMIN",
|
|
75
|
+
icon: "code",
|
|
76
|
+
children: [
|
|
77
|
+
{
|
|
78
|
+
id: "system_admin.devtools.modules",
|
|
79
|
+
label: "System Modules",
|
|
80
|
+
icon: "layer-group",
|
|
81
|
+
action: "NAVIGATION",
|
|
82
|
+
actionPayload: { path: "dev/system/modules" },
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
id: "system_admin.devtools.authorities",
|
|
86
|
+
label: "System Authorities",
|
|
87
|
+
icon: "key",
|
|
88
|
+
action: "NAVIGATION",
|
|
89
|
+
actionPayload: { path: "dev/system/authorities" },
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
id: "system_admin.devtools.roles",
|
|
93
|
+
label: "System Roles",
|
|
94
|
+
icon: "tag",
|
|
95
|
+
action: "NAVIGATION",
|
|
96
|
+
actionPayload: { path: "dev/system/roles" },
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: "system_admin.devtools.lookups",
|
|
100
|
+
label: "System Lookups",
|
|
101
|
+
icon: "list-check",
|
|
102
|
+
action: "NAVIGATION",
|
|
103
|
+
actionPayload: { path: "dev/system/lookups" },
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
id: "system_admin.devtools.DatasourceConnection",
|
|
107
|
+
label: "DATASOURCE_CONNECTION_PLURAL",
|
|
108
|
+
icon: "plug",
|
|
109
|
+
action: "NAVIGATION",
|
|
110
|
+
actionPayload: { path: "dev/datasourceconnections" },
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: "system_admin.devtools.EntityParameter",
|
|
114
|
+
label: "ENTITY_PARAMETER_PLURAL",
|
|
115
|
+
icon: "p",
|
|
116
|
+
action: "NAVIGATION",
|
|
117
|
+
actionPayload: { path: "dev/entityparameters" },
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: "system_admin.devtools.DataQuery",
|
|
121
|
+
label: "DATA_QUERY_PLURAL",
|
|
122
|
+
icon: "file-code",
|
|
123
|
+
action: "NAVIGATION",
|
|
124
|
+
actionPayload: { path: "dev/dataqueries" },
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
id: "system_admin.devtools.Report",
|
|
128
|
+
label: "REPORT_PLURAL",
|
|
129
|
+
icon: "file",
|
|
130
|
+
action: "NAVIGATION",
|
|
131
|
+
actionPayload: { path: "dev/reports" },
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
id: "system_admin.devtools.MailConfig",
|
|
135
|
+
label: "Mail Sender Config",
|
|
136
|
+
icon: { iconName: "paper-plane", prefix: "fas" },
|
|
137
|
+
action: "NAVIGATION",
|
|
138
|
+
actionPayload: { path: "dev/mailsender/config" },
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "system_admin.devtools.MailTemplate",
|
|
142
|
+
label: "MAIL_TEMPLATE_PLURAL",
|
|
143
|
+
icon: "envelope",
|
|
144
|
+
action: "NAVIGATION",
|
|
145
|
+
actionPayload: { path: "dev/mailtemplates" },
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
id: "system_admin.devtools.WorkflowDocument",
|
|
149
|
+
label: "WORKFLOW_DOCUMENT_PLURAL",
|
|
150
|
+
icon: "chart-diagram",
|
|
151
|
+
action: "NAVIGATION",
|
|
152
|
+
actionPayload: { path: "dev/workflowdocuments" },
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
id: "system_admin.devtools.Widget",
|
|
156
|
+
label: "WIDGET_PLURAL",
|
|
157
|
+
icon: "chart-pie",
|
|
158
|
+
action: "NAVIGATION",
|
|
159
|
+
actionPayload: { path: "dev/widgets" },
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: "system_admin.devtools.Dashboard",
|
|
163
|
+
label: "DASHBOARD_PLURAL",
|
|
164
|
+
icon: "square-poll-vertical",
|
|
165
|
+
action: "NAVIGATION",
|
|
166
|
+
actionPayload: { path: "dev/dashboards" },
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
id: "system_admin.devtools.AttachmentConfig",
|
|
170
|
+
label: "ATTACHMENT_CONFIG_PLURAL",
|
|
171
|
+
icon: "paperclip",
|
|
172
|
+
action: "NAVIGATION",
|
|
173
|
+
actionPayload: { path: "dev/attachmentconfigs" },
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
id: "system_admin.devtools.BluePrint",
|
|
177
|
+
label: "BLUE_PRINT_PLURAL",
|
|
178
|
+
icon: "fingerprint",
|
|
179
|
+
action: "NAVIGATION",
|
|
180
|
+
actionPayload: { path: "dev/blueprints" },
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "system_admin.devtools.Notification",
|
|
184
|
+
label: "NOTIFICATION_PLURAL",
|
|
185
|
+
icon: "bell",
|
|
186
|
+
action: "NAVIGATION",
|
|
187
|
+
actionPayload: { path: "dev/notifications" },
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
id: "system_admin.followup",
|
|
193
|
+
label: "SYSTEM_MONITORING",
|
|
194
|
+
authority: "SYSTEM_ADMIN",
|
|
195
|
+
icon: "tv",
|
|
196
|
+
children: [
|
|
197
|
+
{
|
|
198
|
+
id: "system_admin.WorkflowDocumentMailLog",
|
|
199
|
+
label: "Action Mail Logs",
|
|
200
|
+
icon: "envelopes-bulk",
|
|
201
|
+
action: "NAVIGATION",
|
|
202
|
+
actionPayload: { path: "dev/workflowdocumentmaillogs" },
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
id: "system_admin.MailNotificationQueue",
|
|
206
|
+
label: "Mail Notification Queue",
|
|
207
|
+
icon: "envelope-open-text",
|
|
208
|
+
action: "NAVIGATION",
|
|
209
|
+
actionPayload: { path: "dev/mailnotificationqueues" },
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
id: "system_admin.NotificationQueue",
|
|
213
|
+
label: "NOTIFICATION_QUEUE_PLURAL",
|
|
214
|
+
icon: "bell",
|
|
215
|
+
action: "NAVIGATION",
|
|
216
|
+
actionPayload: { path: "dev/notificationqueues" },
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
},
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
-
import { ExtendedTreeItemProps } from "..";
|
|
3
|
-
import { adminNavigationItems } from "./adminNavigationItems";
|
|
4
|
-
|
|
5
|
-
export const AdministrationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
6
|
-
{
|
|
7
|
-
id: "home",
|
|
8
|
-
icon: "home",
|
|
9
|
-
label: "Home",
|
|
10
|
-
action: "NAVIGATION",
|
|
11
|
-
actionPayload: {
|
|
12
|
-
path: "/",
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
...adminNavigationItems,
|
|
16
|
-
];
|
|
1
|
+
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
+
import { ExtendedTreeItemProps } from "..";
|
|
3
|
+
import { adminNavigationItems } from "./adminNavigationItems";
|
|
4
|
+
|
|
5
|
+
export const AdministrationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
6
|
+
{
|
|
7
|
+
id: "home",
|
|
8
|
+
icon: "home",
|
|
9
|
+
label: "Home",
|
|
10
|
+
action: "NAVIGATION",
|
|
11
|
+
actionPayload: {
|
|
12
|
+
path: "/",
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
...adminNavigationItems,
|
|
16
|
+
];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
-
import { ExtendedTreeItemProps } from "..";
|
|
3
|
-
|
|
4
|
-
export const adminNavigationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
5
|
-
{
|
|
6
|
-
id: "admin.UserRequest",
|
|
7
|
-
label: "USER_REQUEST_PLURAL",
|
|
8
|
-
icon: "circle",
|
|
9
|
-
action: "NAVIGATION",
|
|
10
|
-
actionPayload: { path: "admin/userrequests" },
|
|
11
|
-
},
|
|
12
|
-
];
|
|
1
|
+
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
+
import { ExtendedTreeItemProps } from "..";
|
|
3
|
+
|
|
4
|
+
export const adminNavigationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
5
|
+
{
|
|
6
|
+
id: "admin.UserRequest",
|
|
7
|
+
label: "USER_REQUEST_PLURAL",
|
|
8
|
+
icon: "circle",
|
|
9
|
+
action: "NAVIGATION",
|
|
10
|
+
actionPayload: { path: "admin/userrequests" },
|
|
11
|
+
},
|
|
12
|
+
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
-
import { ExtendedTreeItemProps } from "..";
|
|
3
|
-
import { adminNavigationItems } from "./CommonNavigationItems";
|
|
4
|
-
|
|
5
|
-
export const AdministrationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
6
|
-
...adminNavigationItems,
|
|
7
|
-
];
|
|
1
|
+
import { TreeViewBaseItem } from "@mui/x-tree-view/models";
|
|
2
|
+
import { ExtendedTreeItemProps } from "..";
|
|
3
|
+
import { adminNavigationItems } from "./CommonNavigationItems";
|
|
4
|
+
|
|
5
|
+
export const AdministrationItems: TreeViewBaseItem<ExtendedTreeItemProps>[] = [
|
|
6
|
+
...adminNavigationItems,
|
|
7
|
+
];
|