@selfhelp/shared 1.3.0 → 1.3.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/CHANGELOG.md +341 -341
- package/LICENSE +381 -381
- package/README.md +57 -57
- package/package.json +102 -102
- package/src/api/__tests__/endpoints.test.ts +45 -45
- package/src/api/index.ts +5 -5
- package/src/assets/__tests__/resolveAssetUrl.test.ts +61 -61
- package/src/assets/index.ts +5 -5
- package/src/assets/resolveAssetUrl.ts +44 -44
- package/src/cms-classes/__tests__/classify.test.ts +63 -63
- package/src/cms-classes/allow-list.ts +158 -158
- package/src/cms-classes/classify.ts +90 -90
- package/src/cms-classes/index.ts +7 -7
- package/src/cms-classes/remap.ts +44 -44
- package/src/condition/__tests__/evaluate.test.ts +54 -54
- package/src/condition/evaluate.ts +121 -121
- package/src/condition/index.ts +5 -5
- package/src/index.ts +25 -25
- package/src/interpolation/__tests__/replaceCalcedValues.test.ts +41 -41
- package/src/interpolation/index.ts +5 -5
- package/src/interpolation/replaceCalcedValues.ts +27 -27
- package/src/plugin-sdk/define.ts +89 -89
- package/src/plugin-sdk/index.ts +103 -103
- package/src/plugin-sdk/lock.ts +124 -124
- package/src/plugin-sdk/manifest.ts +307 -307
- package/src/plugin-sdk/realtime.ts +277 -277
- package/src/plugin-sdk/registry.ts +105 -105
- package/src/plugin-sdk/runtime-shim.ts +140 -140
- package/src/plugin-sdk/types.ts +315 -315
- package/src/plugin-sdk/version.ts +209 -209
- package/src/registry/__tests__/registry.test.ts +135 -135
- package/src/registry/index.ts +94 -94
- package/src/registry/styles.registry.ts +295 -295
- package/src/testing/__tests__/testing-kit.test.ts +228 -228
- package/src/testing/index.ts +483 -483
- package/src/theme/index.ts +6 -6
- package/src/theme/tailwind.ts +73 -73
- package/src/theme/tokens.ts +177 -177
- package/src/types/api/envelope.ts +34 -34
- package/src/types/api/forms.ts +76 -76
- package/src/types/api/index.ts +9 -9
- package/src/types/api/language.ts +12 -12
- package/src/types/api/page.ts +9 -9
- package/src/types/index.ts +17 -17
- package/src/types/mantine/common.ts +142 -142
- package/src/types/pages.ts +107 -107
- package/src/types/styles/auth.ts +184 -184
- package/src/types/styles/base.ts +72 -72
- package/src/types/styles/composite.ts +131 -131
- package/src/types/styles/forms.ts +439 -439
- package/src/types/styles/interactive.ts +165 -165
- package/src/types/styles/layout.ts +184 -184
- package/src/types/styles/media.ts +68 -68
- package/src/types/styles/typography.ts +118 -118
- package/src/types/styles/unknown.ts +220 -220
- package/src/utils/__tests__/transformPageData.test.ts +69 -69
- package/src/utils/spacing.ts +64 -64
- package/src/utils/transformPageData.ts +99 -99
package/src/types/pages.ts
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
/*
|
|
2
|
-
SPDX-FileCopyrightText: 2026 Humdek, University of Bern
|
|
3
|
-
SPDX-License-Identifier: MPL-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type { IContentField } from './styles/base';
|
|
6
|
-
import type { TStyleName } from './styles/unknown';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Comprehensive page type system, single source of truth for both apps.
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
export interface IBasePageSection {
|
|
13
|
-
id: number;
|
|
14
|
-
section_name: string;
|
|
15
|
-
id_styles: number;
|
|
16
|
-
style_name: TStyleName;
|
|
17
|
-
position: number;
|
|
18
|
-
level: number | { content: string; meta: string | null };
|
|
19
|
-
path: string;
|
|
20
|
-
children: IBasePageSection[];
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface IPageSectionWithFields extends IBasePageSection {
|
|
24
|
-
can_have_children: number | null;
|
|
25
|
-
condition: string | null;
|
|
26
|
-
css: string | null;
|
|
27
|
-
css_mobile: string | null;
|
|
28
|
-
debug: number | null;
|
|
29
|
-
data_config: string | number | null;
|
|
30
|
-
section_data: unknown[];
|
|
31
|
-
fields: Record<string, IContentField<unknown>>;
|
|
32
|
-
children: IPageSectionWithFields[];
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface IBasePageInfo {
|
|
36
|
-
id: number;
|
|
37
|
-
keyword: string;
|
|
38
|
-
url: string | null;
|
|
39
|
-
parent_page_id: number | null;
|
|
40
|
-
is_headless: boolean;
|
|
41
|
-
navPosition: number | null;
|
|
42
|
-
footerPosition: number | null;
|
|
43
|
-
is_system?: boolean;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface IPageAccessTypeInfo {
|
|
47
|
-
id: number;
|
|
48
|
-
typeCode: string;
|
|
49
|
-
lookupCode: string;
|
|
50
|
-
lookupValue: string;
|
|
51
|
-
lookupDescription: string | null;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface IPageItem extends IBasePageInfo {
|
|
55
|
-
id_users?: number;
|
|
56
|
-
id_pages?: number;
|
|
57
|
-
acl_select?: 0 | 1;
|
|
58
|
-
acl_insert?: 0 | 1;
|
|
59
|
-
acl_update?: 0 | 1;
|
|
60
|
-
acl_delete?: 0 | 1;
|
|
61
|
-
id_page_types?: number;
|
|
62
|
-
id_page_access_types?: number;
|
|
63
|
-
title?: string | null;
|
|
64
|
-
description?: string | null;
|
|
65
|
-
children?: IPageItem[];
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface IPageContent {
|
|
69
|
-
id: number;
|
|
70
|
-
keyword: string;
|
|
71
|
-
url: string | null;
|
|
72
|
-
parent_page_id: number | null;
|
|
73
|
-
is_headless: boolean;
|
|
74
|
-
nav_position: number | null;
|
|
75
|
-
footer_position: number | null;
|
|
76
|
-
title?: string | null;
|
|
77
|
-
description?: string | null;
|
|
78
|
-
sections: IPageSectionWithFields[];
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export interface IPageFieldTranslation {
|
|
82
|
-
language_id: number;
|
|
83
|
-
language_code: string;
|
|
84
|
-
content: string;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export interface IPageField {
|
|
88
|
-
id: number;
|
|
89
|
-
name: string;
|
|
90
|
-
title: string | null;
|
|
91
|
-
type: string;
|
|
92
|
-
default_value: string | null;
|
|
93
|
-
help: string;
|
|
94
|
-
display: boolean;
|
|
95
|
-
translations: IPageFieldTranslation[];
|
|
96
|
-
config?: unknown;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export interface IPageFieldsData {
|
|
100
|
-
page: unknown;
|
|
101
|
-
fields: IPageField[];
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export interface IPageSectionsData {
|
|
105
|
-
page_keyword: string;
|
|
106
|
-
sections: IPageSectionWithFields[];
|
|
107
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
SPDX-FileCopyrightText: 2026 Humdek, University of Bern
|
|
3
|
+
SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
*/
|
|
5
|
+
import type { IContentField } from './styles/base';
|
|
6
|
+
import type { TStyleName } from './styles/unknown';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Comprehensive page type system, single source of truth for both apps.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export interface IBasePageSection {
|
|
13
|
+
id: number;
|
|
14
|
+
section_name: string;
|
|
15
|
+
id_styles: number;
|
|
16
|
+
style_name: TStyleName;
|
|
17
|
+
position: number;
|
|
18
|
+
level: number | { content: string; meta: string | null };
|
|
19
|
+
path: string;
|
|
20
|
+
children: IBasePageSection[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface IPageSectionWithFields extends IBasePageSection {
|
|
24
|
+
can_have_children: number | null;
|
|
25
|
+
condition: string | null;
|
|
26
|
+
css: string | null;
|
|
27
|
+
css_mobile: string | null;
|
|
28
|
+
debug: number | null;
|
|
29
|
+
data_config: string | number | null;
|
|
30
|
+
section_data: unknown[];
|
|
31
|
+
fields: Record<string, IContentField<unknown>>;
|
|
32
|
+
children: IPageSectionWithFields[];
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IBasePageInfo {
|
|
36
|
+
id: number;
|
|
37
|
+
keyword: string;
|
|
38
|
+
url: string | null;
|
|
39
|
+
parent_page_id: number | null;
|
|
40
|
+
is_headless: boolean;
|
|
41
|
+
navPosition: number | null;
|
|
42
|
+
footerPosition: number | null;
|
|
43
|
+
is_system?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export interface IPageAccessTypeInfo {
|
|
47
|
+
id: number;
|
|
48
|
+
typeCode: string;
|
|
49
|
+
lookupCode: string;
|
|
50
|
+
lookupValue: string;
|
|
51
|
+
lookupDescription: string | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export interface IPageItem extends IBasePageInfo {
|
|
55
|
+
id_users?: number;
|
|
56
|
+
id_pages?: number;
|
|
57
|
+
acl_select?: 0 | 1;
|
|
58
|
+
acl_insert?: 0 | 1;
|
|
59
|
+
acl_update?: 0 | 1;
|
|
60
|
+
acl_delete?: 0 | 1;
|
|
61
|
+
id_page_types?: number;
|
|
62
|
+
id_page_access_types?: number;
|
|
63
|
+
title?: string | null;
|
|
64
|
+
description?: string | null;
|
|
65
|
+
children?: IPageItem[];
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface IPageContent {
|
|
69
|
+
id: number;
|
|
70
|
+
keyword: string;
|
|
71
|
+
url: string | null;
|
|
72
|
+
parent_page_id: number | null;
|
|
73
|
+
is_headless: boolean;
|
|
74
|
+
nav_position: number | null;
|
|
75
|
+
footer_position: number | null;
|
|
76
|
+
title?: string | null;
|
|
77
|
+
description?: string | null;
|
|
78
|
+
sections: IPageSectionWithFields[];
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export interface IPageFieldTranslation {
|
|
82
|
+
language_id: number;
|
|
83
|
+
language_code: string;
|
|
84
|
+
content: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export interface IPageField {
|
|
88
|
+
id: number;
|
|
89
|
+
name: string;
|
|
90
|
+
title: string | null;
|
|
91
|
+
type: string;
|
|
92
|
+
default_value: string | null;
|
|
93
|
+
help: string;
|
|
94
|
+
display: boolean;
|
|
95
|
+
translations: IPageFieldTranslation[];
|
|
96
|
+
config?: unknown;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface IPageFieldsData {
|
|
100
|
+
page: unknown;
|
|
101
|
+
fields: IPageField[];
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface IPageSectionsData {
|
|
105
|
+
page_keyword: string;
|
|
106
|
+
sections: IPageSectionWithFields[];
|
|
107
|
+
}
|
package/src/types/styles/auth.ts
CHANGED
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
/*
|
|
2
|
-
SPDX-FileCopyrightText: 2026 Humdek, University of Bern
|
|
3
|
-
SPDX-License-Identifier: MPL-2.0
|
|
4
|
-
*/
|
|
5
|
-
import type { IContentField, IStyleWithSpacing } from './base';
|
|
6
|
-
import type { TMantineRadius } from '../mantine/common';
|
|
7
|
-
|
|
8
|
-
export interface ILoginStyle extends IStyleWithSpacing {
|
|
9
|
-
style_name: 'login';
|
|
10
|
-
label_user?: IContentField<string>;
|
|
11
|
-
label_pw?: IContentField<string>;
|
|
12
|
-
label_login?: IContentField<string>;
|
|
13
|
-
label_pw_reset?: IContentField<string>;
|
|
14
|
-
alert_fail?: IContentField<string>;
|
|
15
|
-
login_title?: IContentField<string>;
|
|
16
|
-
type?: IContentField<string>;
|
|
17
|
-
/** Label of the link that opens the registration page. */
|
|
18
|
-
label_register?: IContentField<string>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface IRegisterStyle extends IStyleWithSpacing {
|
|
22
|
-
style_name: 'register';
|
|
23
|
-
label_user?: IContentField<string>;
|
|
24
|
-
label_pw?: IContentField<string>;
|
|
25
|
-
label_submit?: IContentField<string>;
|
|
26
|
-
alert_fail?: IContentField<string>;
|
|
27
|
-
alert_success?: IContentField<string>;
|
|
28
|
-
title?: IContentField<string>;
|
|
29
|
-
success?: IContentField<string>;
|
|
30
|
-
open_registration?: IContentField<string>;
|
|
31
|
-
/** Label above the validation-code input (code-required mode only). */
|
|
32
|
-
label_code?: IContentField<string>;
|
|
33
|
-
/** Placeholder inside the validation-code input. */
|
|
34
|
-
code_placeholder?: IContentField<string>;
|
|
35
|
-
/** Label of the post-registration "return home" button. */
|
|
36
|
-
label_go_home?: IContentField<string>;
|
|
37
|
-
/** Label of the post-registration "open login" button. */
|
|
38
|
-
label_go_to_login?: IContentField<string>;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface IValidateStyle extends IStyleWithSpacing {
|
|
42
|
-
style_name: 'validate';
|
|
43
|
-
label_pw?: IContentField<string>;
|
|
44
|
-
label_login?: IContentField<string>;
|
|
45
|
-
alert_fail?: IContentField<string>;
|
|
46
|
-
label_pw_confirm?: IContentField<string>;
|
|
47
|
-
title?: IContentField<string>;
|
|
48
|
-
subtitle?: IContentField<string>;
|
|
49
|
-
alert_success?: IContentField<string>;
|
|
50
|
-
label_name?: IContentField<string>;
|
|
51
|
-
name_placeholder?: IContentField<string>;
|
|
52
|
-
name_description?: IContentField<string>;
|
|
53
|
-
label_activate?: IContentField<string>;
|
|
54
|
-
pw_placeholder?: IContentField<string>;
|
|
55
|
-
success?: IContentField<string>;
|
|
56
|
-
name?: IContentField<string>;
|
|
57
|
-
page_keyword?: IContentField<string>;
|
|
58
|
-
value_name?: IContentField<string>;
|
|
59
|
-
anonymous_user_name_description?: IContentField<string>;
|
|
60
|
-
redirect_at_end?: IContentField<string>;
|
|
61
|
-
cancel_url?: IContentField<string>;
|
|
62
|
-
label_save?: IContentField<string>;
|
|
63
|
-
label_update?: IContentField<string>;
|
|
64
|
-
label_cancel?: IContentField<string>;
|
|
65
|
-
mantine_buttons_size?: IContentField<string>;
|
|
66
|
-
mantine_buttons_radius?: IContentField<string>;
|
|
67
|
-
mantine_buttons_variant?: IContentField<string>;
|
|
68
|
-
mantine_buttons_position?: IContentField<string>;
|
|
69
|
-
mantine_buttons_order?: IContentField<string>;
|
|
70
|
-
mantine_btn_save_color?: IContentField<string>;
|
|
71
|
-
mantine_btn_cancel_color?: IContentField<string>;
|
|
72
|
-
mantine_card_shadow?: IContentField<string>;
|
|
73
|
-
mantine_card_padding?: IContentField<string>;
|
|
74
|
-
mantine_radius?: IContentField<TMantineRadius>;
|
|
75
|
-
mantine_border?: IContentField<string>;
|
|
76
|
-
/** Activation lifecycle status text (shown after the registration email). */
|
|
77
|
-
loading_title?: IContentField<string>;
|
|
78
|
-
loading_text?: IContentField<string>;
|
|
79
|
-
error_title?: IContentField<string>;
|
|
80
|
-
error_heading?: IContentField<string>;
|
|
81
|
-
error_text?: IContentField<string>;
|
|
82
|
-
success_title?: IContentField<string>;
|
|
83
|
-
/** Countdown text; use {seconds} as the placeholder. */
|
|
84
|
-
redirect_text?: IContentField<string>;
|
|
85
|
-
}
|
|
86
|
-
|
|
1
|
+
/*
|
|
2
|
+
SPDX-FileCopyrightText: 2026 Humdek, University of Bern
|
|
3
|
+
SPDX-License-Identifier: MPL-2.0
|
|
4
|
+
*/
|
|
5
|
+
import type { IContentField, IStyleWithSpacing } from './base';
|
|
6
|
+
import type { TMantineRadius } from '../mantine/common';
|
|
7
|
+
|
|
8
|
+
export interface ILoginStyle extends IStyleWithSpacing {
|
|
9
|
+
style_name: 'login';
|
|
10
|
+
label_user?: IContentField<string>;
|
|
11
|
+
label_pw?: IContentField<string>;
|
|
12
|
+
label_login?: IContentField<string>;
|
|
13
|
+
label_pw_reset?: IContentField<string>;
|
|
14
|
+
alert_fail?: IContentField<string>;
|
|
15
|
+
login_title?: IContentField<string>;
|
|
16
|
+
type?: IContentField<string>;
|
|
17
|
+
/** Label of the link that opens the registration page. */
|
|
18
|
+
label_register?: IContentField<string>;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface IRegisterStyle extends IStyleWithSpacing {
|
|
22
|
+
style_name: 'register';
|
|
23
|
+
label_user?: IContentField<string>;
|
|
24
|
+
label_pw?: IContentField<string>;
|
|
25
|
+
label_submit?: IContentField<string>;
|
|
26
|
+
alert_fail?: IContentField<string>;
|
|
27
|
+
alert_success?: IContentField<string>;
|
|
28
|
+
title?: IContentField<string>;
|
|
29
|
+
success?: IContentField<string>;
|
|
30
|
+
open_registration?: IContentField<string>;
|
|
31
|
+
/** Label above the validation-code input (code-required mode only). */
|
|
32
|
+
label_code?: IContentField<string>;
|
|
33
|
+
/** Placeholder inside the validation-code input. */
|
|
34
|
+
code_placeholder?: IContentField<string>;
|
|
35
|
+
/** Label of the post-registration "return home" button. */
|
|
36
|
+
label_go_home?: IContentField<string>;
|
|
37
|
+
/** Label of the post-registration "open login" button. */
|
|
38
|
+
label_go_to_login?: IContentField<string>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export interface IValidateStyle extends IStyleWithSpacing {
|
|
42
|
+
style_name: 'validate';
|
|
43
|
+
label_pw?: IContentField<string>;
|
|
44
|
+
label_login?: IContentField<string>;
|
|
45
|
+
alert_fail?: IContentField<string>;
|
|
46
|
+
label_pw_confirm?: IContentField<string>;
|
|
47
|
+
title?: IContentField<string>;
|
|
48
|
+
subtitle?: IContentField<string>;
|
|
49
|
+
alert_success?: IContentField<string>;
|
|
50
|
+
label_name?: IContentField<string>;
|
|
51
|
+
name_placeholder?: IContentField<string>;
|
|
52
|
+
name_description?: IContentField<string>;
|
|
53
|
+
label_activate?: IContentField<string>;
|
|
54
|
+
pw_placeholder?: IContentField<string>;
|
|
55
|
+
success?: IContentField<string>;
|
|
56
|
+
name?: IContentField<string>;
|
|
57
|
+
page_keyword?: IContentField<string>;
|
|
58
|
+
value_name?: IContentField<string>;
|
|
59
|
+
anonymous_user_name_description?: IContentField<string>;
|
|
60
|
+
redirect_at_end?: IContentField<string>;
|
|
61
|
+
cancel_url?: IContentField<string>;
|
|
62
|
+
label_save?: IContentField<string>;
|
|
63
|
+
label_update?: IContentField<string>;
|
|
64
|
+
label_cancel?: IContentField<string>;
|
|
65
|
+
mantine_buttons_size?: IContentField<string>;
|
|
66
|
+
mantine_buttons_radius?: IContentField<string>;
|
|
67
|
+
mantine_buttons_variant?: IContentField<string>;
|
|
68
|
+
mantine_buttons_position?: IContentField<string>;
|
|
69
|
+
mantine_buttons_order?: IContentField<string>;
|
|
70
|
+
mantine_btn_save_color?: IContentField<string>;
|
|
71
|
+
mantine_btn_cancel_color?: IContentField<string>;
|
|
72
|
+
mantine_card_shadow?: IContentField<string>;
|
|
73
|
+
mantine_card_padding?: IContentField<string>;
|
|
74
|
+
mantine_radius?: IContentField<TMantineRadius>;
|
|
75
|
+
mantine_border?: IContentField<string>;
|
|
76
|
+
/** Activation lifecycle status text (shown after the registration email). */
|
|
77
|
+
loading_title?: IContentField<string>;
|
|
78
|
+
loading_text?: IContentField<string>;
|
|
79
|
+
error_title?: IContentField<string>;
|
|
80
|
+
error_heading?: IContentField<string>;
|
|
81
|
+
error_text?: IContentField<string>;
|
|
82
|
+
success_title?: IContentField<string>;
|
|
83
|
+
/** Countdown text; use {seconds} as the placeholder. */
|
|
84
|
+
redirect_text?: IContentField<string>;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
87
|
export interface IResetPasswordStyle extends IStyleWithSpacing {
|
|
88
88
|
style_name: 'resetPassword';
|
|
89
89
|
label_pw_reset?: IContentField<string>;
|
|
@@ -105,101 +105,101 @@ export interface IResetPasswordStyle extends IStyleWithSpacing {
|
|
|
105
105
|
reset_error_pw_short?: IContentField<string>;
|
|
106
106
|
reset_error_pw_mismatch?: IContentField<string>;
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
export interface ITwoFactorAuthStyle extends IStyleWithSpacing {
|
|
110
|
-
style_name: 'twoFactorAuth';
|
|
111
|
-
label_code?: IContentField<string>;
|
|
112
|
-
label_submit?: IContentField<string>;
|
|
113
|
-
alert_fail?: IContentField<string>;
|
|
114
|
-
title?: IContentField<string>;
|
|
115
|
-
text_md?: IContentField<string>;
|
|
116
|
-
label_expiration_2fa?: IContentField<string>;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export interface IProfileStyle extends IStyleWithSpacing {
|
|
120
|
-
style_name: 'profile';
|
|
121
|
-
|
|
122
|
-
profile_title?: IContentField<string>;
|
|
123
|
-
profile_account_info_title?: IContentField<string>;
|
|
124
|
-
profile_label_email?: IContentField<string>;
|
|
125
|
-
profile_label_username?: IContentField<string>;
|
|
126
|
-
profile_label_name?: IContentField<string>;
|
|
127
|
-
profile_label_created?: IContentField<string>;
|
|
128
|
-
profile_label_last_login?: IContentField<string>;
|
|
129
|
-
profile_label_timezone?: IContentField<string>;
|
|
130
|
-
|
|
131
|
-
profile_name_change_title?: IContentField<string>;
|
|
132
|
-
profile_name_change_description?: IContentField<string>;
|
|
133
|
-
profile_name_change_label?: IContentField<string>;
|
|
134
|
-
profile_name_change_placeholder?: IContentField<string>;
|
|
135
|
-
profile_name_change_button?: IContentField<string>;
|
|
136
|
-
profile_name_change_success?: IContentField<string>;
|
|
137
|
-
profile_name_change_error_required?: IContentField<string>;
|
|
138
|
-
profile_name_change_error_invalid?: IContentField<string>;
|
|
139
|
-
profile_name_change_error_general?: IContentField<string>;
|
|
140
|
-
|
|
141
|
-
profile_timezone_change_title?: IContentField<string>;
|
|
142
|
-
profile_timezone_change_description?: IContentField<string>;
|
|
143
|
-
profile_timezone_change_label?: IContentField<string>;
|
|
144
|
-
profile_timezone_change_placeholder?: IContentField<string>;
|
|
145
|
-
profile_timezone_change_button?: IContentField<string>;
|
|
146
|
-
profile_timezone_change_success?: IContentField<string>;
|
|
147
|
-
profile_timezone_change_error_required?: IContentField<string>;
|
|
148
|
-
profile_timezone_change_error_general?: IContentField<string>;
|
|
149
|
-
|
|
150
|
-
profile_communication_preferences_title?: IContentField<string>;
|
|
151
|
-
profile_communication_preferences_description?: IContentField<string>;
|
|
152
|
-
profile_receive_notifications_label?: IContentField<string>;
|
|
153
|
-
profile_receive_notifications_description?: IContentField<string>;
|
|
154
|
-
profile_receive_emails_label?: IContentField<string>;
|
|
155
|
-
profile_receive_emails_description?: IContentField<string>;
|
|
156
|
-
profile_communication_preferences_button?: IContentField<string>;
|
|
157
|
-
profile_communication_preferences_success?: IContentField<string>;
|
|
158
|
-
profile_communication_preferences_error_general?: IContentField<string>;
|
|
159
|
-
|
|
160
|
-
profile_password_reset_title?: IContentField<string>;
|
|
161
|
-
profile_password_reset_description?: IContentField<string>;
|
|
162
|
-
profile_password_reset_label_current?: IContentField<string>;
|
|
163
|
-
profile_password_reset_label_new?: IContentField<string>;
|
|
164
|
-
profile_password_reset_label_confirm?: IContentField<string>;
|
|
165
|
-
profile_password_reset_placeholder_current?: IContentField<string>;
|
|
166
|
-
profile_password_reset_placeholder_new?: IContentField<string>;
|
|
167
|
-
profile_password_reset_placeholder_confirm?: IContentField<string>;
|
|
168
|
-
profile_password_reset_button?: IContentField<string>;
|
|
169
|
-
profile_password_reset_success?: IContentField<string>;
|
|
170
|
-
profile_password_reset_error_current_required?: IContentField<string>;
|
|
171
|
-
profile_password_reset_error_current_wrong?: IContentField<string>;
|
|
172
|
-
profile_password_reset_error_new_required?: IContentField<string>;
|
|
173
|
-
profile_password_reset_error_confirm_required?: IContentField<string>;
|
|
174
|
-
profile_password_reset_error_mismatch?: IContentField<string>;
|
|
175
|
-
profile_password_reset_error_weak?: IContentField<string>;
|
|
176
|
-
profile_password_reset_error_general?: IContentField<string>;
|
|
177
|
-
|
|
178
|
-
profile_delete_title?: IContentField<string>;
|
|
179
|
-
profile_delete_description?: IContentField<string>;
|
|
180
|
-
profile_delete_alert_text?: IContentField<string>;
|
|
181
|
-
profile_delete_modal_warning?: IContentField<string>;
|
|
182
|
-
profile_delete_label_email?: IContentField<string>;
|
|
183
|
-
profile_delete_placeholder_email?: IContentField<string>;
|
|
184
|
-
profile_delete_button?: IContentField<string>;
|
|
185
|
-
profile_delete_success?: IContentField<string>;
|
|
186
|
-
profile_delete_error_email_required?: IContentField<string>;
|
|
187
|
-
profile_delete_error_email_mismatch?: IContentField<string>;
|
|
188
|
-
profile_delete_error_general?: IContentField<string>;
|
|
189
|
-
|
|
190
|
-
profile_gap?: IContentField<string>;
|
|
191
|
-
profile_use_accordion?: IContentField<string>;
|
|
192
|
-
profile_accordion_multiple?: IContentField<string>;
|
|
193
|
-
profile_accordion_default_opened?: IContentField<string>;
|
|
194
|
-
|
|
195
|
-
profile_variant?: IContentField<string>;
|
|
196
|
-
profile_radius?: IContentField<string>;
|
|
197
|
-
profile_shadow?: IContentField<string>;
|
|
198
|
-
|
|
199
|
-
profile_columns?: IContentField<string>;
|
|
200
|
-
|
|
201
|
-
alert_fail?: IContentField<string>;
|
|
202
|
-
alert_del_fail?: IContentField<string>;
|
|
203
|
-
alert_del_success?: IContentField<string>;
|
|
204
|
-
alert_success?: IContentField<string>;
|
|
205
|
-
}
|
|
108
|
+
|
|
109
|
+
export interface ITwoFactorAuthStyle extends IStyleWithSpacing {
|
|
110
|
+
style_name: 'twoFactorAuth';
|
|
111
|
+
label_code?: IContentField<string>;
|
|
112
|
+
label_submit?: IContentField<string>;
|
|
113
|
+
alert_fail?: IContentField<string>;
|
|
114
|
+
title?: IContentField<string>;
|
|
115
|
+
text_md?: IContentField<string>;
|
|
116
|
+
label_expiration_2fa?: IContentField<string>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export interface IProfileStyle extends IStyleWithSpacing {
|
|
120
|
+
style_name: 'profile';
|
|
121
|
+
|
|
122
|
+
profile_title?: IContentField<string>;
|
|
123
|
+
profile_account_info_title?: IContentField<string>;
|
|
124
|
+
profile_label_email?: IContentField<string>;
|
|
125
|
+
profile_label_username?: IContentField<string>;
|
|
126
|
+
profile_label_name?: IContentField<string>;
|
|
127
|
+
profile_label_created?: IContentField<string>;
|
|
128
|
+
profile_label_last_login?: IContentField<string>;
|
|
129
|
+
profile_label_timezone?: IContentField<string>;
|
|
130
|
+
|
|
131
|
+
profile_name_change_title?: IContentField<string>;
|
|
132
|
+
profile_name_change_description?: IContentField<string>;
|
|
133
|
+
profile_name_change_label?: IContentField<string>;
|
|
134
|
+
profile_name_change_placeholder?: IContentField<string>;
|
|
135
|
+
profile_name_change_button?: IContentField<string>;
|
|
136
|
+
profile_name_change_success?: IContentField<string>;
|
|
137
|
+
profile_name_change_error_required?: IContentField<string>;
|
|
138
|
+
profile_name_change_error_invalid?: IContentField<string>;
|
|
139
|
+
profile_name_change_error_general?: IContentField<string>;
|
|
140
|
+
|
|
141
|
+
profile_timezone_change_title?: IContentField<string>;
|
|
142
|
+
profile_timezone_change_description?: IContentField<string>;
|
|
143
|
+
profile_timezone_change_label?: IContentField<string>;
|
|
144
|
+
profile_timezone_change_placeholder?: IContentField<string>;
|
|
145
|
+
profile_timezone_change_button?: IContentField<string>;
|
|
146
|
+
profile_timezone_change_success?: IContentField<string>;
|
|
147
|
+
profile_timezone_change_error_required?: IContentField<string>;
|
|
148
|
+
profile_timezone_change_error_general?: IContentField<string>;
|
|
149
|
+
|
|
150
|
+
profile_communication_preferences_title?: IContentField<string>;
|
|
151
|
+
profile_communication_preferences_description?: IContentField<string>;
|
|
152
|
+
profile_receive_notifications_label?: IContentField<string>;
|
|
153
|
+
profile_receive_notifications_description?: IContentField<string>;
|
|
154
|
+
profile_receive_emails_label?: IContentField<string>;
|
|
155
|
+
profile_receive_emails_description?: IContentField<string>;
|
|
156
|
+
profile_communication_preferences_button?: IContentField<string>;
|
|
157
|
+
profile_communication_preferences_success?: IContentField<string>;
|
|
158
|
+
profile_communication_preferences_error_general?: IContentField<string>;
|
|
159
|
+
|
|
160
|
+
profile_password_reset_title?: IContentField<string>;
|
|
161
|
+
profile_password_reset_description?: IContentField<string>;
|
|
162
|
+
profile_password_reset_label_current?: IContentField<string>;
|
|
163
|
+
profile_password_reset_label_new?: IContentField<string>;
|
|
164
|
+
profile_password_reset_label_confirm?: IContentField<string>;
|
|
165
|
+
profile_password_reset_placeholder_current?: IContentField<string>;
|
|
166
|
+
profile_password_reset_placeholder_new?: IContentField<string>;
|
|
167
|
+
profile_password_reset_placeholder_confirm?: IContentField<string>;
|
|
168
|
+
profile_password_reset_button?: IContentField<string>;
|
|
169
|
+
profile_password_reset_success?: IContentField<string>;
|
|
170
|
+
profile_password_reset_error_current_required?: IContentField<string>;
|
|
171
|
+
profile_password_reset_error_current_wrong?: IContentField<string>;
|
|
172
|
+
profile_password_reset_error_new_required?: IContentField<string>;
|
|
173
|
+
profile_password_reset_error_confirm_required?: IContentField<string>;
|
|
174
|
+
profile_password_reset_error_mismatch?: IContentField<string>;
|
|
175
|
+
profile_password_reset_error_weak?: IContentField<string>;
|
|
176
|
+
profile_password_reset_error_general?: IContentField<string>;
|
|
177
|
+
|
|
178
|
+
profile_delete_title?: IContentField<string>;
|
|
179
|
+
profile_delete_description?: IContentField<string>;
|
|
180
|
+
profile_delete_alert_text?: IContentField<string>;
|
|
181
|
+
profile_delete_modal_warning?: IContentField<string>;
|
|
182
|
+
profile_delete_label_email?: IContentField<string>;
|
|
183
|
+
profile_delete_placeholder_email?: IContentField<string>;
|
|
184
|
+
profile_delete_button?: IContentField<string>;
|
|
185
|
+
profile_delete_success?: IContentField<string>;
|
|
186
|
+
profile_delete_error_email_required?: IContentField<string>;
|
|
187
|
+
profile_delete_error_email_mismatch?: IContentField<string>;
|
|
188
|
+
profile_delete_error_general?: IContentField<string>;
|
|
189
|
+
|
|
190
|
+
profile_gap?: IContentField<string>;
|
|
191
|
+
profile_use_accordion?: IContentField<string>;
|
|
192
|
+
profile_accordion_multiple?: IContentField<string>;
|
|
193
|
+
profile_accordion_default_opened?: IContentField<string>;
|
|
194
|
+
|
|
195
|
+
profile_variant?: IContentField<string>;
|
|
196
|
+
profile_radius?: IContentField<string>;
|
|
197
|
+
profile_shadow?: IContentField<string>;
|
|
198
|
+
|
|
199
|
+
profile_columns?: IContentField<string>;
|
|
200
|
+
|
|
201
|
+
alert_fail?: IContentField<string>;
|
|
202
|
+
alert_del_fail?: IContentField<string>;
|
|
203
|
+
alert_del_success?: IContentField<string>;
|
|
204
|
+
alert_success?: IContentField<string>;
|
|
205
|
+
}
|