@reltio/components 1.4.2167 → 1.4.2168
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.
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { Mode } from '@reltio/mdm-sdk';
|
|
2
2
|
export declare const editingModeOption: {
|
|
3
|
-
label: string;
|
|
3
|
+
readonly label: string;
|
|
4
4
|
value: Mode;
|
|
5
|
-
description: string;
|
|
5
|
+
readonly description: string;
|
|
6
6
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
7
7
|
muiName: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export declare const suggestingModeOption: {
|
|
11
|
-
label: string;
|
|
11
|
+
readonly label: string;
|
|
12
12
|
value: Mode;
|
|
13
|
-
description: string;
|
|
13
|
+
readonly description: string;
|
|
14
14
|
icon: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
|
|
15
15
|
};
|
|
16
16
|
export declare const viewingModeOption: {
|
|
17
|
-
label: string;
|
|
17
|
+
readonly label: string;
|
|
18
18
|
value: Mode;
|
|
19
|
-
description: string;
|
|
19
|
+
readonly description: string;
|
|
20
20
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
21
21
|
muiName: string;
|
|
22
22
|
};
|
|
@@ -10,20 +10,32 @@ var Create_1 = __importDefault(require("@mui/icons-material/Create"));
|
|
|
10
10
|
var Visibility_1 = __importDefault(require("@mui/icons-material/Visibility"));
|
|
11
11
|
var Suggest_1 = __importDefault(require("../icons/Suggest"));
|
|
12
12
|
exports.editingModeOption = {
|
|
13
|
-
label
|
|
13
|
+
get label() {
|
|
14
|
+
return ui_i18n_1.default.text('Editing');
|
|
15
|
+
},
|
|
14
16
|
value: mdm_sdk_1.Mode.Editing,
|
|
15
|
-
description
|
|
17
|
+
get description() {
|
|
18
|
+
return ui_i18n_1.default.text('Edit profile directly');
|
|
19
|
+
},
|
|
16
20
|
icon: Create_1.default
|
|
17
21
|
};
|
|
18
22
|
exports.suggestingModeOption = {
|
|
19
|
-
label
|
|
23
|
+
get label() {
|
|
24
|
+
return ui_i18n_1.default.text('Suggesting');
|
|
25
|
+
},
|
|
20
26
|
value: mdm_sdk_1.Mode.Suggesting,
|
|
21
|
-
description
|
|
27
|
+
get description() {
|
|
28
|
+
return ui_i18n_1.default.text('Suggest changes and initiate a workflow review');
|
|
29
|
+
},
|
|
22
30
|
icon: Suggest_1.default
|
|
23
31
|
};
|
|
24
32
|
exports.viewingModeOption = {
|
|
25
|
-
label
|
|
33
|
+
get label() {
|
|
34
|
+
return ui_i18n_1.default.text('Viewing');
|
|
35
|
+
},
|
|
26
36
|
value: mdm_sdk_1.Mode.Viewing,
|
|
27
|
-
description
|
|
37
|
+
get description() {
|
|
38
|
+
return ui_i18n_1.default.text('Read or print profile');
|
|
39
|
+
},
|
|
28
40
|
icon: Visibility_1.default
|
|
29
41
|
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { Mode } from '@reltio/mdm-sdk';
|
|
2
2
|
export declare const editingModeOption: {
|
|
3
|
-
label: string;
|
|
3
|
+
readonly label: string;
|
|
4
4
|
value: Mode;
|
|
5
|
-
description: string;
|
|
5
|
+
readonly description: string;
|
|
6
6
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
7
7
|
muiName: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export declare const suggestingModeOption: {
|
|
11
|
-
label: string;
|
|
11
|
+
readonly label: string;
|
|
12
12
|
value: Mode;
|
|
13
|
-
description: string;
|
|
13
|
+
readonly description: string;
|
|
14
14
|
icon: import("react").FC<import("react").SVGProps<SVGSVGElement>>;
|
|
15
15
|
};
|
|
16
16
|
export declare const viewingModeOption: {
|
|
17
|
-
label: string;
|
|
17
|
+
readonly label: string;
|
|
18
18
|
value: Mode;
|
|
19
|
-
description: string;
|
|
19
|
+
readonly description: string;
|
|
20
20
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
21
21
|
muiName: string;
|
|
22
22
|
};
|
package/constants/modeOptions.js
CHANGED
|
@@ -4,20 +4,32 @@ import CreateIcon from '@mui/icons-material/Create';
|
|
|
4
4
|
import VisibilityIcon from '@mui/icons-material/Visibility';
|
|
5
5
|
import Suggest from '../icons/Suggest';
|
|
6
6
|
export var editingModeOption = {
|
|
7
|
-
label
|
|
7
|
+
get label() {
|
|
8
|
+
return i18n.text('Editing');
|
|
9
|
+
},
|
|
8
10
|
value: Mode.Editing,
|
|
9
|
-
description
|
|
11
|
+
get description() {
|
|
12
|
+
return i18n.text('Edit profile directly');
|
|
13
|
+
},
|
|
10
14
|
icon: CreateIcon
|
|
11
15
|
};
|
|
12
16
|
export var suggestingModeOption = {
|
|
13
|
-
label
|
|
17
|
+
get label() {
|
|
18
|
+
return i18n.text('Suggesting');
|
|
19
|
+
},
|
|
14
20
|
value: Mode.Suggesting,
|
|
15
|
-
description
|
|
21
|
+
get description() {
|
|
22
|
+
return i18n.text('Suggest changes and initiate a workflow review');
|
|
23
|
+
},
|
|
16
24
|
icon: Suggest
|
|
17
25
|
};
|
|
18
26
|
export var viewingModeOption = {
|
|
19
|
-
label
|
|
27
|
+
get label() {
|
|
28
|
+
return i18n.text('Viewing');
|
|
29
|
+
},
|
|
20
30
|
value: Mode.Viewing,
|
|
21
|
-
description
|
|
31
|
+
get description() {
|
|
32
|
+
return i18n.text('Read or print profile');
|
|
33
|
+
},
|
|
22
34
|
icon: VisibilityIcon
|
|
23
35
|
};
|