@acorex-platform/module-settings-management-client 0.0.54 → 0.0.57
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.
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": {
|
|
3
|
+
"title": "Settings Management",
|
|
4
|
+
"description": "Manage application, tenant, and user settings",
|
|
5
|
+
"menus": {
|
|
6
|
+
"root": {
|
|
7
|
+
"title": "Settings",
|
|
8
|
+
"description": "Application settings"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"terms": {
|
|
12
|
+
"scopes": {
|
|
13
|
+
"user": {
|
|
14
|
+
"title": "Preferences",
|
|
15
|
+
"description": "Customize your personal preferences and account-specific settings."
|
|
16
|
+
},
|
|
17
|
+
"tenant": {
|
|
18
|
+
"title": "Settings",
|
|
19
|
+
"description": "Set up and manage settings specific to your organization or tenant."
|
|
20
|
+
},
|
|
21
|
+
"platform": {
|
|
22
|
+
"title": "Platform Settings",
|
|
23
|
+
"description": "Configure global settings that apply across the entire platform."
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"permissions": {
|
|
28
|
+
"title": "Settings Management",
|
|
29
|
+
"description": "Manage all settings"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"settings": {
|
|
33
|
+
"components": {
|
|
34
|
+
"search": {
|
|
35
|
+
"title": "Find a Setting",
|
|
36
|
+
"placeholder": "Search...",
|
|
37
|
+
"description": "Search for a setting by name or description.",
|
|
38
|
+
"empty-states": {
|
|
39
|
+
"not-found": {
|
|
40
|
+
"title": "No Search Results Found!",
|
|
41
|
+
"description": "Try different keywords or browse settings by category."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"actions": {
|
|
47
|
+
"restore-defaults": {
|
|
48
|
+
"title": "Restore Defaults",
|
|
49
|
+
"description": "Restore all settings to their default values",
|
|
50
|
+
"confirm": {
|
|
51
|
+
"title": "Restore Defaults",
|
|
52
|
+
"message": "Are you sure you want to restore all settings to their default values? This action cannot be undone."
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"title": "Restore Failed",
|
|
56
|
+
"message": "Failed to restore settings to their default values. Please try again."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"client-reset": {
|
|
60
|
+
"title": "Reset Local Data",
|
|
61
|
+
"description": "Clear all local data and reload the application",
|
|
62
|
+
"confirm": {
|
|
63
|
+
"title": "Reset Local Data",
|
|
64
|
+
"message": "This will clear localStorage, sessionStorage, cookies, and IndexedDB, then reload the app. Continue?"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"client-export": {
|
|
68
|
+
"title": "Export Local Data",
|
|
69
|
+
"description": "Export local data to a file"
|
|
70
|
+
},
|
|
71
|
+
"client-import": {
|
|
72
|
+
"title": "Import Local Data",
|
|
73
|
+
"description": "Import local data from a file",
|
|
74
|
+
"confirm": {
|
|
75
|
+
"title": "Import Local Data",
|
|
76
|
+
"message": "This will overwrite local data (localStorage and IndexedDB) with the imported file. Continue?"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"apply": {
|
|
80
|
+
"title": "Apply",
|
|
81
|
+
"description": "Apply settings changes",
|
|
82
|
+
"success": {
|
|
83
|
+
"title": "Settings Applied",
|
|
84
|
+
"message": "Your settings have been successfully applied."
|
|
85
|
+
},
|
|
86
|
+
"reload": {
|
|
87
|
+
"success": {
|
|
88
|
+
"title": "Settings Applied",
|
|
89
|
+
"message": "Your settings were saved. The page will reload to apply them."
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"error": {
|
|
93
|
+
"title": "Apply Failed",
|
|
94
|
+
"message": "Failed to apply your settings. Please try again."
|
|
95
|
+
},
|
|
96
|
+
"invalid": {
|
|
97
|
+
"title": "Review Needed",
|
|
98
|
+
"message": "Invalid configuration detected. Please review your inputs."
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"user-settings": {
|
|
104
|
+
"permissions": {
|
|
105
|
+
"manage": {
|
|
106
|
+
"title": "User Settings Management",
|
|
107
|
+
"description": "Manage user-level settings"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"tenant-settings": {
|
|
112
|
+
"permissions": {
|
|
113
|
+
"manage": {
|
|
114
|
+
"title": "Tenant Settings Management",
|
|
115
|
+
"description": "Manage tenant-level settings"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"platform-settings": {
|
|
120
|
+
"permissions": {
|
|
121
|
+
"manage": {
|
|
122
|
+
"title": "Platform Settings Management",
|
|
123
|
+
"description": "Manage platform-wide settings"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"app-startup": {
|
|
128
|
+
"loading-settings": "Loading settings..."
|
|
129
|
+
},
|
|
130
|
+
"profile-page": {
|
|
131
|
+
"sections": {
|
|
132
|
+
"export-data": {
|
|
133
|
+
"title": "Export Local Data",
|
|
134
|
+
"description": "Download localStorage and IndexedDB content as a JSON file.",
|
|
135
|
+
"actions": {
|
|
136
|
+
"manage": "Export Data"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"all-preferences": {
|
|
140
|
+
"title": "All Preferences",
|
|
141
|
+
"description": "Browse every personal setting in one place.",
|
|
142
|
+
"actions": {
|
|
143
|
+
"manage": "View All Settings"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": {
|
|
3
|
+
"title": "Settings Management",
|
|
4
|
+
"description": "Manage application, tenant, and user settings",
|
|
5
|
+
"menus": {
|
|
6
|
+
"root": {
|
|
7
|
+
"title": "Settings",
|
|
8
|
+
"description": "Application settings"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"terms": {
|
|
12
|
+
"scopes": {
|
|
13
|
+
"user": {
|
|
14
|
+
"title": "Preferences",
|
|
15
|
+
"description": "Customize your personal preferences and account-specific settings."
|
|
16
|
+
},
|
|
17
|
+
"tenant": {
|
|
18
|
+
"title": "Settings",
|
|
19
|
+
"description": "Set up and manage settings specific to your organization or tenant."
|
|
20
|
+
},
|
|
21
|
+
"platform": {
|
|
22
|
+
"title": "Platform Settings",
|
|
23
|
+
"description": "Configure global settings that apply across the entire platform."
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"permissions": {
|
|
28
|
+
"title": "Settings Management",
|
|
29
|
+
"description": "Manage all settings"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"settings": {
|
|
33
|
+
"components": {
|
|
34
|
+
"search": {
|
|
35
|
+
"title": "Find a Setting",
|
|
36
|
+
"placeholder": "Search...",
|
|
37
|
+
"description": "Search for a setting by name or description.",
|
|
38
|
+
"empty-states": {
|
|
39
|
+
"not-found": {
|
|
40
|
+
"title": "No Search Results Found!",
|
|
41
|
+
"description": "Try different keywords or browse settings by category."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"actions": {
|
|
47
|
+
"restore-defaults": {
|
|
48
|
+
"title": "Restore Defaults",
|
|
49
|
+
"description": "Restore all settings to their default values",
|
|
50
|
+
"confirm": {
|
|
51
|
+
"title": "Restore Defaults",
|
|
52
|
+
"message": "Are you sure you want to restore all settings to their default values? This action cannot be undone."
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"title": "Restore Failed",
|
|
56
|
+
"message": "Failed to restore settings to their default values. Please try again."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"client-reset": {
|
|
60
|
+
"title": "Reset Local Data",
|
|
61
|
+
"description": "Clear all local data and reload the application",
|
|
62
|
+
"confirm": {
|
|
63
|
+
"title": "Reset Local Data",
|
|
64
|
+
"message": "This will clear localStorage, sessionStorage, cookies, and IndexedDB, then reload the app. Continue?"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"client-export": {
|
|
68
|
+
"title": "Export Local Data",
|
|
69
|
+
"description": "Export local data to a file"
|
|
70
|
+
},
|
|
71
|
+
"client-import": {
|
|
72
|
+
"title": "Import Local Data",
|
|
73
|
+
"description": "Import local data from a file",
|
|
74
|
+
"confirm": {
|
|
75
|
+
"title": "Import Local Data",
|
|
76
|
+
"message": "This will overwrite local data (localStorage and IndexedDB) with the imported file. Continue?"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"apply": {
|
|
80
|
+
"title": "Apply",
|
|
81
|
+
"description": "Apply settings changes",
|
|
82
|
+
"success": {
|
|
83
|
+
"title": "Settings Applied",
|
|
84
|
+
"message": "Your settings have been successfully applied."
|
|
85
|
+
},
|
|
86
|
+
"reload": {
|
|
87
|
+
"success": {
|
|
88
|
+
"title": "Settings Applied",
|
|
89
|
+
"message": "Your settings were saved. The page will reload to apply them."
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"error": {
|
|
93
|
+
"title": "Apply Failed",
|
|
94
|
+
"message": "Failed to apply your settings. Please try again."
|
|
95
|
+
},
|
|
96
|
+
"invalid": {
|
|
97
|
+
"title": "Review Needed",
|
|
98
|
+
"message": "Invalid configuration detected. Please review your inputs."
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"user-settings": {
|
|
104
|
+
"permissions": {
|
|
105
|
+
"manage": {
|
|
106
|
+
"title": "User Settings Management",
|
|
107
|
+
"description": "Manage user-level settings"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"tenant-settings": {
|
|
112
|
+
"permissions": {
|
|
113
|
+
"manage": {
|
|
114
|
+
"title": "Tenant Settings Management",
|
|
115
|
+
"description": "Manage tenant-level settings"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"platform-settings": {
|
|
120
|
+
"permissions": {
|
|
121
|
+
"manage": {
|
|
122
|
+
"title": "Platform Settings Management",
|
|
123
|
+
"description": "Manage platform-wide settings"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"app-startup": {
|
|
128
|
+
"loading-settings": "Loading settings..."
|
|
129
|
+
},
|
|
130
|
+
"profile-page": {
|
|
131
|
+
"sections": {
|
|
132
|
+
"export-data": {
|
|
133
|
+
"title": "Export Local Data",
|
|
134
|
+
"description": "Download localStorage and IndexedDB content as a JSON file.",
|
|
135
|
+
"actions": {
|
|
136
|
+
"manage": "Export Data"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"all-preferences": {
|
|
140
|
+
"title": "All Preferences",
|
|
141
|
+
"description": "Browse every personal setting in one place.",
|
|
142
|
+
"actions": {
|
|
143
|
+
"manage": "View All Settings"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"module": {
|
|
3
|
+
"title": "مدیریت تنظیمات",
|
|
4
|
+
"description": "مدیریت تنظیمات برنامه، مستاجر و کاربر",
|
|
5
|
+
"menus": {
|
|
6
|
+
"root": {
|
|
7
|
+
"title": "تنظیمات",
|
|
8
|
+
"description": "تنظیمات برنامه"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"terms": {
|
|
12
|
+
"scopes": {
|
|
13
|
+
"user": {
|
|
14
|
+
"title": "تنظیمات کاربری",
|
|
15
|
+
"description": "ترجیحات شخصی و تنظیمات مخصوص حساب خود را سفارشی کنید."
|
|
16
|
+
},
|
|
17
|
+
"tenant": {
|
|
18
|
+
"title": "تنظیمات",
|
|
19
|
+
"description": "تنظیم و مدیریت تنظیمات مخصوص سازمان یا مستاجر شما."
|
|
20
|
+
},
|
|
21
|
+
"platform": {
|
|
22
|
+
"title": "تنظیمات پلتفرم",
|
|
23
|
+
"description": "پیکربندی تنظیمات سراسری که در کل پلتفرم اعمال میشود."
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"permissions": {
|
|
28
|
+
"title": "مدیریت تنظیمات",
|
|
29
|
+
"description": "مدیریت کلیه تنظیمات"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"settings": {
|
|
33
|
+
"components": {
|
|
34
|
+
"search": {
|
|
35
|
+
"title": "یافتن یک تنظیم",
|
|
36
|
+
"placeholder": "جستجو...",
|
|
37
|
+
"description": "جستجوی یک تنظیم بر اساس نام یا توضیحات.",
|
|
38
|
+
"empty-states": {
|
|
39
|
+
"not-found": {
|
|
40
|
+
"title": "هیچ نتیجهای یافت نشد!",
|
|
41
|
+
"description": "کلمات کلیدی دیگری امتحان کنید یا تنظیمات را بر اساس دستهبندی مرور کنید."
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"actions": {
|
|
47
|
+
"restore-defaults": {
|
|
48
|
+
"title": "بازگردانی پیشفرضها",
|
|
49
|
+
"description": "بازگردانی همه تنظیمات به مقادیر پیشفرض",
|
|
50
|
+
"confirm": {
|
|
51
|
+
"title": "بازگردانی پیشفرضها",
|
|
52
|
+
"message": "آیا مطمئنید میخواهید همه تنظیمات را به مقادیر پیشفرض بازگردانید؟ این عمل غیرقابل بازگشت است."
|
|
53
|
+
},
|
|
54
|
+
"error": {
|
|
55
|
+
"title": "بازگردانی ناموفق",
|
|
56
|
+
"message": "بازگردانی تنظیمات به مقادیر پیشفرض انجام نشد. لطفاً دوباره تلاش کنید."
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"client-reset": {
|
|
60
|
+
"title": "بازنشانی داده محلی",
|
|
61
|
+
"description": "پاک کردن همه دادههای محلی و بارگذاری مجدد برنامه",
|
|
62
|
+
"confirm": {
|
|
63
|
+
"title": "بازنشانی داده محلی",
|
|
64
|
+
"message": "این کار localStorage، sessionStorage، کوکیها و IndexedDB را پاک کرده و برنامه را مجدداً بارگذاری میکند. ادامه میدهید؟"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"client-export": {
|
|
68
|
+
"title": "برونبری داده محلی",
|
|
69
|
+
"description": "برونبری داده محلی به فایل"
|
|
70
|
+
},
|
|
71
|
+
"client-import": {
|
|
72
|
+
"title": "درونریزی داده محلی",
|
|
73
|
+
"description": "درونریزی داده محلی از فایل",
|
|
74
|
+
"confirm": {
|
|
75
|
+
"title": "درونریزی داده محلی",
|
|
76
|
+
"message": "این کار دادههای محلی (localStorage و IndexedDB) را با فایل واردشده بازنویسی میکند. ادامه میدهید؟"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"apply": {
|
|
80
|
+
"title": "اعمال",
|
|
81
|
+
"description": "اعمال تغییرات تنظیمات",
|
|
82
|
+
"success": {
|
|
83
|
+
"title": "تنظیمات اعمال شد",
|
|
84
|
+
"message": "تنظیمات شما با موفقیت اعمال شد."
|
|
85
|
+
},
|
|
86
|
+
"reload": {
|
|
87
|
+
"success": {
|
|
88
|
+
"title": "تنظیمات اعمال شد",
|
|
89
|
+
"message": "تنظیمات ذخیره شد. برای اعمال، صفحه دوباره بارگذاری میشود."
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"error": {
|
|
93
|
+
"title": "اعمال ناموفق",
|
|
94
|
+
"message": "اعمال تنظیمات شما انجام نشد. لطفاً دوباره تلاش کنید."
|
|
95
|
+
},
|
|
96
|
+
"invalid": {
|
|
97
|
+
"title": "نیاز به بررسی",
|
|
98
|
+
"message": "پیکربندی نامعتبر شناسایی شد. لطفاً ورودیهای خود را بررسی کنید."
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"user-settings": {
|
|
104
|
+
"permissions": {
|
|
105
|
+
"manage": {
|
|
106
|
+
"title": "مدیریت تنظیمات کاربری",
|
|
107
|
+
"description": "مدیریت تنظیمات سطح کاربر"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"tenant-settings": {
|
|
112
|
+
"permissions": {
|
|
113
|
+
"manage": {
|
|
114
|
+
"title": "مدیریت تنظیمات سازمانی",
|
|
115
|
+
"description": "مدیریت تنظیمات سطح سازمان"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"platform-settings": {
|
|
120
|
+
"permissions": {
|
|
121
|
+
"manage": {
|
|
122
|
+
"title": "مدیریت تنظیمات پلتفرم",
|
|
123
|
+
"description": "مدیریت تنظیمات سراسری پلتفرم"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"app-startup": {
|
|
128
|
+
"loading-settings": "در حال بارگذاری تنظیمات..."
|
|
129
|
+
},
|
|
130
|
+
"profile-page": {
|
|
131
|
+
"sections": {
|
|
132
|
+
"export-data": {
|
|
133
|
+
"title": "برونبری داده محلی",
|
|
134
|
+
"description": "محتوای localStorage و IndexedDB را بهصورت فایل JSON دانلود کنید.",
|
|
135
|
+
"actions": {
|
|
136
|
+
"manage": "برونبری داده"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"all-preferences": {
|
|
140
|
+
"title": "همه ترجیحات",
|
|
141
|
+
"description": "همه تنظیمات شخصی را در یک جا ببینید.",
|
|
142
|
+
"actions": {
|
|
143
|
+
"manage": "مشاهده همه تنظیمات"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex-platform/module-settings-management-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.57",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0 || ^22.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0 || ^22.0.0"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@acorex-platform/client-connectivity-api": "0.0.
|
|
10
|
+
"@acorex-platform/client-connectivity-api": "0.0.57",
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"module": "fesm2022/acorex-platform-module-settings-management-client.mjs",
|