@masterteam/system-settings 0.0.26 → 0.0.28
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/README.md +4 -2
- package/assets/i18n/ar.json +0 -2
- package/assets/i18n/en.json +0 -2
- package/assets/system-settings.css +2 -2
- package/fesm2022/{masterteam-system-settings-email-delivery-shell-Dv-S6XUS.mjs → masterteam-system-settings-email-delivery-shell-CYO489J5.mjs} +6 -6
- package/fesm2022/{masterteam-system-settings-email-delivery-shell-Dv-S6XUS.mjs.map → masterteam-system-settings-email-delivery-shell-CYO489J5.mjs.map} +1 -1
- package/fesm2022/{masterteam-system-settings-masterteam-system-settings-XqDwBrIa.mjs → masterteam-system-settings-masterteam-system-settings-D9LyVzzO.mjs} +24 -96
- package/fesm2022/masterteam-system-settings-masterteam-system-settings-D9LyVzzO.mjs.map +1 -0
- package/fesm2022/masterteam-system-settings.mjs +1 -1
- package/package.json +4 -4
- package/types/masterteam-system-settings.d.ts +0 -13
- package/fesm2022/masterteam-system-settings-masterteam-system-settings-XqDwBrIa.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as DEFAULT_DATE_FORMAT_OPTIONS, x as DEFAULT_EMAIL_DELIVERY_OPTIONS, D as DEFAULT_GENERAL_CONFIGURATION, t as DEFAULT_TIME_FORMAT_OPTIONS, u as DOTNET_DAY_DEFINITIONS, b as EMAIL_DELIVERY_ATTEMPT_STATUSES, y as EMAIL_DELIVERY_OPTIONS, f as EMAIL_DELIVERY_PERMISSIONS, J as EMAIL_DELIVERY_ROUTES, K as EMAIL_FONT_FAMILIES, N as EMAIL_FONT_LABELS, M as EMAIL_FONT_WEIGHTS, k as EMAIL_LAYOUT_CONTENT_SLOT, l as EMAIL_LAYOUT_MAX_BYTES, P as EMAIL_STYLE_ADVANCED_SECTIONS, L as EMAIL_STYLE_RANGES, O as EMAIL_STYLE_SECTIONS, I as EMAIL_USER_INITIATED_TEST_OPERATION_KIND, q as EXPLORE_DEFAULT_VIEW_OPTIONS, n as EmailContentStylesEditor, A as EmailDeliveryAccessService, o as EmailHtmlPreview, h as EmailLayoutFacade, H as EmailUserTestDialog, m as EmailVisualEditor, F as FIXED_CURRENCIES, G as GENERAL_CONFIGURATION_SETTING_KEY, R as RATE_SOURCE_OPTIONS, v as SCHEDULE_ITEM_TYPE_OPTIONS, S as SystemSettings, w as SystemSettingsHolidayEditor, T as TIMESHEET_FREQUENCY_OPTIONS, W as WEEKEND_DAY_DEFINITIONS, d as areEmailTestRecipientsValid, Y as buildEmailPreviewDocument, C as buildEmailTemplatePlaceholderFields, B as collectEmailTemplatePlaceholders, c as createEmailTestRequestId, X as emailDesignLeaveGuard, j as emailStylesKey, i as isConnectionTestAttempt, e as isEmailTestRequestPending, V as normalizeEmailColor, p as parseEmailTestRecipients, z as provideEmailDelivery, Q as readEmailStyle, r as readLayoutErrorDiagnostics, U as writeEmailStyle } from './masterteam-system-settings-masterteam-system-settings-
|
|
1
|
+
export { s as DEFAULT_DATE_FORMAT_OPTIONS, x as DEFAULT_EMAIL_DELIVERY_OPTIONS, D as DEFAULT_GENERAL_CONFIGURATION, t as DEFAULT_TIME_FORMAT_OPTIONS, u as DOTNET_DAY_DEFINITIONS, b as EMAIL_DELIVERY_ATTEMPT_STATUSES, y as EMAIL_DELIVERY_OPTIONS, f as EMAIL_DELIVERY_PERMISSIONS, J as EMAIL_DELIVERY_ROUTES, K as EMAIL_FONT_FAMILIES, N as EMAIL_FONT_LABELS, M as EMAIL_FONT_WEIGHTS, k as EMAIL_LAYOUT_CONTENT_SLOT, l as EMAIL_LAYOUT_MAX_BYTES, P as EMAIL_STYLE_ADVANCED_SECTIONS, L as EMAIL_STYLE_RANGES, O as EMAIL_STYLE_SECTIONS, I as EMAIL_USER_INITIATED_TEST_OPERATION_KIND, q as EXPLORE_DEFAULT_VIEW_OPTIONS, n as EmailContentStylesEditor, A as EmailDeliveryAccessService, o as EmailHtmlPreview, h as EmailLayoutFacade, H as EmailUserTestDialog, m as EmailVisualEditor, F as FIXED_CURRENCIES, G as GENERAL_CONFIGURATION_SETTING_KEY, R as RATE_SOURCE_OPTIONS, v as SCHEDULE_ITEM_TYPE_OPTIONS, S as SystemSettings, w as SystemSettingsHolidayEditor, T as TIMESHEET_FREQUENCY_OPTIONS, W as WEEKEND_DAY_DEFINITIONS, d as areEmailTestRecipientsValid, Y as buildEmailPreviewDocument, C as buildEmailTemplatePlaceholderFields, B as collectEmailTemplatePlaceholders, c as createEmailTestRequestId, X as emailDesignLeaveGuard, j as emailStylesKey, i as isConnectionTestAttempt, e as isEmailTestRequestPending, V as normalizeEmailColor, p as parseEmailTestRecipients, z as provideEmailDelivery, Q as readEmailStyle, r as readLayoutErrorDiagnostics, U as writeEmailStyle } from './masterteam-system-settings-masterteam-system-settings-D9LyVzzO.mjs';
|
|
2
2
|
//# sourceMappingURL=masterteam-system-settings.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/system-settings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
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.348",
|
|
23
|
+
"@masterteam/icons": "^0.0.17",
|
|
24
|
+
"@masterteam/forms": "^0.0.173"
|
|
25
25
|
},
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"exports": {
|
|
@@ -84,12 +84,6 @@ type ExploreDefaultView = 'cards' | 'timeline' | 'table';
|
|
|
84
84
|
*/
|
|
85
85
|
interface GeneralConfigurationSettingValue extends SystemSettingObject {
|
|
86
86
|
defaultExploreView: ExploreDefaultView;
|
|
87
|
-
/**
|
|
88
|
-
* Whether the topbar design switcher (Classic / experimental Masterteam DS)
|
|
89
|
-
* is offered to users. Off by default — the DS identity is still a beta, so
|
|
90
|
-
* a tenant stays on the classic look until an admin opts it in.
|
|
91
|
-
*/
|
|
92
|
-
showDesignSwitcher: boolean;
|
|
93
87
|
}
|
|
94
88
|
/** The settings record General Configuration fields live in. */
|
|
95
89
|
declare const GENERAL_CONFIGURATION_SETTING_KEY = "Identity";
|
|
@@ -152,10 +146,8 @@ interface SystemSettingsSnapshot {
|
|
|
152
146
|
type SystemSettingsForm = FormGroup<{
|
|
153
147
|
generalConfiguration: FormGroup<{
|
|
154
148
|
defaultExploreView: FormControl<ExploreDefaultView>;
|
|
155
|
-
showDesignSwitcher: FormControl<boolean>;
|
|
156
149
|
}>;
|
|
157
150
|
timezone: FormGroup<{
|
|
158
|
-
regionId: FormControl<string | null>;
|
|
159
151
|
dateFormat: FormControl<string | null>;
|
|
160
152
|
timeFormat: FormControl<string | null>;
|
|
161
153
|
}>;
|
|
@@ -355,10 +347,8 @@ declare class SystemSettings implements OnInit {
|
|
|
355
347
|
readonly formValue: _angular_core.Signal<Partial<{
|
|
356
348
|
generalConfiguration: Partial<{
|
|
357
349
|
defaultExploreView: ExploreDefaultView;
|
|
358
|
-
showDesignSwitcher: boolean;
|
|
359
350
|
}>;
|
|
360
351
|
timezone: Partial<{
|
|
361
|
-
regionId: string | null;
|
|
362
352
|
dateFormat: string | null;
|
|
363
353
|
timeFormat: string | null;
|
|
364
354
|
}>;
|
|
@@ -387,10 +377,8 @@ declare class SystemSettings implements OnInit {
|
|
|
387
377
|
}> | {
|
|
388
378
|
generalConfiguration: {
|
|
389
379
|
defaultExploreView: ExploreDefaultView;
|
|
390
|
-
showDesignSwitcher: boolean;
|
|
391
380
|
};
|
|
392
381
|
timezone: {
|
|
393
|
-
regionId: string | null;
|
|
394
382
|
dateFormat: string | null;
|
|
395
383
|
timeFormat: string | null;
|
|
396
384
|
};
|
|
@@ -511,7 +499,6 @@ declare class SystemSettings implements OnInit {
|
|
|
511
499
|
private extractTimeSheetPolicyValue;
|
|
512
500
|
private extractGlobalWorkingHoursValue;
|
|
513
501
|
private normalizeHolidayItem;
|
|
514
|
-
private normalizeTimezoneRegion;
|
|
515
502
|
private normalizeCurrencyUnit;
|
|
516
503
|
private normalizeGeneralConfigurationSnapshot;
|
|
517
504
|
/**
|