@masterteam/system-settings 0.0.13 → 0.0.15
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/assets/i18n/ar.json +4 -2
- package/assets/i18n/en.json +4 -2
- package/fesm2022/masterteam-system-settings-email-delivery-shell-DowMjl4L.mjs.map +1 -1
- package/fesm2022/masterteam-system-settings.mjs +31 -8
- package/fesm2022/masterteam-system-settings.mjs.map +1 -1
- package/package.json +4 -4
- package/types/masterteam-system-settings.d.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/system-settings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/system-settings",
|
|
6
6
|
"linkDirectory": false,
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"rxjs": "^7.8.2",
|
|
20
20
|
"tailwindcss": "^4.2.2",
|
|
21
21
|
"tailwindcss-primeui": "^0.6.1",
|
|
22
|
-
"@masterteam/components": "^0.0.
|
|
23
|
-
"@masterteam/
|
|
24
|
-
"@masterteam/
|
|
22
|
+
"@masterteam/components": "^0.0.276",
|
|
23
|
+
"@masterteam/forms": "^0.0.142",
|
|
24
|
+
"@masterteam/icons": "^0.0.17"
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"exports": {
|
|
@@ -81,6 +81,12 @@ type ExploreDefaultView = 'cards' | 'timeline';
|
|
|
81
81
|
*/
|
|
82
82
|
interface GeneralConfigurationSettingValue extends SystemSettingObject {
|
|
83
83
|
defaultExploreView: ExploreDefaultView;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the topbar design switcher (Classic / experimental Masterteam DS)
|
|
86
|
+
* is offered to users. Off by default — the DS identity is still a beta, so
|
|
87
|
+
* a tenant stays on the classic look until an admin opts it in.
|
|
88
|
+
*/
|
|
89
|
+
showDesignSwitcher: boolean;
|
|
84
90
|
}
|
|
85
91
|
/** The settings record General Configuration fields live in. */
|
|
86
92
|
declare const GENERAL_CONFIGURATION_SETTING_KEY = "Identity";
|
|
@@ -140,6 +146,7 @@ interface SystemSettingsSnapshot {
|
|
|
140
146
|
type SystemSettingsForm = FormGroup<{
|
|
141
147
|
generalConfiguration: FormGroup<{
|
|
142
148
|
defaultExploreView: FormControl<ExploreDefaultView>;
|
|
149
|
+
showDesignSwitcher: FormControl<boolean>;
|
|
143
150
|
}>;
|
|
144
151
|
timezone: FormGroup<{
|
|
145
152
|
regionId: FormControl<string | null>;
|
|
@@ -296,6 +303,7 @@ declare class SystemSettings implements OnInit {
|
|
|
296
303
|
readonly formValue: _angular_core.Signal<Partial<{
|
|
297
304
|
generalConfiguration: Partial<{
|
|
298
305
|
defaultExploreView: ExploreDefaultView;
|
|
306
|
+
showDesignSwitcher: boolean;
|
|
299
307
|
}>;
|
|
300
308
|
timezone: Partial<{
|
|
301
309
|
regionId: string | null;
|
|
@@ -327,6 +335,7 @@ declare class SystemSettings implements OnInit {
|
|
|
327
335
|
}> | {
|
|
328
336
|
generalConfiguration: {
|
|
329
337
|
defaultExploreView: ExploreDefaultView;
|
|
338
|
+
showDesignSwitcher: boolean;
|
|
330
339
|
};
|
|
331
340
|
timezone: {
|
|
332
341
|
regionId: string | null;
|