@acorex/platform-generator 21.0.0-next.0 → 21.0.0-next.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/package.json +2 -2
- package/src/generators/app-module/files/src/app/app.config.ts.template +2 -2
- package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template +25 -1
- package/src/generators/app-module/files/src/assets/i18n/en-US/application-management.json +1 -1
- package/src/generators/app-module/files/src/assets/i18n/en-US/auth.json +12 -0
- package/src/generators/app-module/files/src/assets/i18n/en-US/organization-management.json +1 -1
- package/src/generators/app-module/files/src/assets/i18n/en-US/platform-management.json +4 -2
- package/src/generators/app-module/files/src/assets/i18n/fa-IR/application-management.json +1 -1
- package/src/generators/app-module/files/src/assets/i18n/fa-IR/auth.json +12 -0
- package/src/generators/app-module/files/src/assets/i18n/fa-IR/organization-management.json +1 -1
- package/src/generators/app-module/files/src/assets/i18n/fa-IR/platform-management.json +2 -2
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@ import { AXMDataManagementModule } from '@acorex/modules/data-management';
|
|
|
33
33
|
import { AXMReportManagementModule } from '@acorex/modules/report-management';
|
|
34
34
|
import { AXMCalendarManagementModule } from '@acorex/modules/calendar-management';
|
|
35
35
|
import { AXMLocationManagementModule } from '@acorex/modules/location-management';
|
|
36
|
-
import {
|
|
36
|
+
import { AXMPartyManagementModule } from '@acorex/modules/party-management';
|
|
37
37
|
import { AXMContactManagementModule } from '@acorex/modules/contact-management';
|
|
38
38
|
import { AXMLocaleManagementModule } from '@acorex/modules/locale-management';
|
|
39
39
|
import { AXMMeetingManagementModule } from '@acorex/modules/meeting-management';
|
|
@@ -138,7 +138,7 @@ export const appConfig: ApplicationConfig = {
|
|
|
138
138
|
AXMReportManagementModule,
|
|
139
139
|
AXMCalendarManagementModule,
|
|
140
140
|
AXMLocationManagementModule,
|
|
141
|
-
|
|
141
|
+
AXMPartyManagementModule,
|
|
142
142
|
AXMContactManagementModule,
|
|
143
143
|
AXMLocaleManagementModule,
|
|
144
144
|
AXMMeetingManagementModule,
|
package/src/generators/app-module/files/src/app/modules/layout/layout-root.module.ts.template
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
AXPCommonModule,
|
|
4
4
|
AXPFooterTextSlotComponent,
|
|
5
5
|
AXPNavBarSlotComponent,
|
|
6
|
-
|
|
6
|
+
AXPSettingService,
|
|
7
7
|
AXP_MENU_PROVIDER,
|
|
8
8
|
AXP_PLATFORM_CONFIG_TOKEN,
|
|
9
9
|
} from '@acorex/platform/common';
|
|
@@ -25,6 +25,30 @@ import { AXPPlatformScope } from '@acorex/platform/core';
|
|
|
25
25
|
widgets: [],
|
|
26
26
|
extendedWidgets: [],
|
|
27
27
|
}),
|
|
28
|
+
AXPComponentSlotModule.forRoot({
|
|
29
|
+
'root-footer-start': [
|
|
30
|
+
{
|
|
31
|
+
name: 'version',
|
|
32
|
+
component: AXMAppVersionSlotComponent,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'copyright',
|
|
36
|
+
component: AXPFooterTextSlotComponent,
|
|
37
|
+
options: async () => {
|
|
38
|
+
const platformConfig = inject(AXP_PLATFORM_CONFIG_TOKEN);
|
|
39
|
+
const settingService = inject(AXPSettingService);
|
|
40
|
+
const copyrightText = await settingService.scope(AXPPlatformScope.Tenant).get("organization:copyright-text");
|
|
41
|
+
return { text: copyrightText ?? platformConfig.copyright };
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
'auth-footer-links': [
|
|
46
|
+
{
|
|
47
|
+
name: 'links',
|
|
48
|
+
component: AXPNavBarSlotComponent,
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
}),
|
|
28
52
|
],
|
|
29
53
|
exports: [AXPDefaultThemeModule],
|
|
30
54
|
providers: [
|
|
@@ -185,5 +185,17 @@
|
|
|
185
185
|
"title": "Authentication Successful!",
|
|
186
186
|
"description": "Redirecting you to your dashboard..."
|
|
187
187
|
}
|
|
188
|
+
},
|
|
189
|
+
"challenge": {
|
|
190
|
+
"title": "Security Verification",
|
|
191
|
+
"enter-code": "Enter the code shown above",
|
|
192
|
+
"placeholder": "Enter code...",
|
|
193
|
+
"refresh": "Get new image",
|
|
194
|
+
"required": "Please complete the security verification",
|
|
195
|
+
"invalid": "Invalid code. Please try again.",
|
|
196
|
+
"expired": "Challenge expired. Please request a new one.",
|
|
197
|
+
"loading": "Loading challenge...",
|
|
198
|
+
"error": "Failed to load challenge. Please try again.",
|
|
199
|
+
"hint": "Type the characters you see in the image"
|
|
188
200
|
}
|
|
189
201
|
}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"template": "Template",
|
|
17
17
|
"category": "Category",
|
|
18
18
|
"platformManagement": "Platform Management",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"globalVariables": "Global Variables",
|
|
20
|
+
"variables": "Global Variable",
|
|
21
21
|
"dataType": "Data Type",
|
|
22
22
|
"value": "Value",
|
|
23
23
|
"appVersion": "Application Version",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"textField": "Text Field",
|
|
43
43
|
"static": "Static",
|
|
44
44
|
"entity": "Entity",
|
|
45
|
+
|
|
45
46
|
|
|
46
47
|
"app-term": {
|
|
47
48
|
"individual-title": "Terms & Conditions",
|
|
@@ -63,4 +64,5 @@
|
|
|
63
64
|
"title": "Title",
|
|
64
65
|
"parentId": "Parent ID"
|
|
65
66
|
}
|
|
67
|
+
|
|
66
68
|
}
|
|
@@ -185,5 +185,17 @@
|
|
|
185
185
|
"title": "احراز هویت موفق!",
|
|
186
186
|
"description": "در حال هدایت شما به داشبورد..."
|
|
187
187
|
}
|
|
188
|
+
},
|
|
189
|
+
"challenge": {
|
|
190
|
+
"title": "تأیید امنیتی",
|
|
191
|
+
"enter-code": "کد نمایش داده شده را وارد کنید",
|
|
192
|
+
"placeholder": "کد را وارد کنید...",
|
|
193
|
+
"refresh": "دریافت تصویر جدید",
|
|
194
|
+
"required": "لطفاً تأیید امنیتی را تکمیل کنید",
|
|
195
|
+
"invalid": "کد نامعتبر است. لطفاً دوباره تلاش کنید.",
|
|
196
|
+
"expired": "کد منقضی شده است. لطفاً کد جدید درخواست کنید.",
|
|
197
|
+
"loading": "در حال بارگذاری...",
|
|
198
|
+
"error": "خطا در بارگذاری. لطفاً دوباره تلاش کنید.",
|
|
199
|
+
"hint": "کاراکترهایی که در تصویر میبینید را وارد کنید"
|
|
188
200
|
}
|
|
189
201
|
}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"template": "قالب",
|
|
17
17
|
"category": "دسته",
|
|
18
18
|
"platformManagement": "مدیریت پلتفرم",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"globalVariables": "متغیرهای سراسری",
|
|
20
|
+
"variables": "متغیر سراسری",
|
|
21
21
|
"dataType": "نوع داده",
|
|
22
22
|
"value": "مقدار",
|
|
23
23
|
"appVersion": "نسخه برنامه",
|