@reltio/components 1.4.2166 → 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: ui_i18n_1.default.text('Editing'),
13
+ get label() {
14
+ return ui_i18n_1.default.text('Editing');
15
+ },
14
16
  value: mdm_sdk_1.Mode.Editing,
15
- description: ui_i18n_1.default.text('Edit profile directly'),
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: ui_i18n_1.default.text('Suggesting'),
23
+ get label() {
24
+ return ui_i18n_1.default.text('Suggesting');
25
+ },
20
26
  value: mdm_sdk_1.Mode.Suggesting,
21
- description: ui_i18n_1.default.text('Suggest changes and initiate a workflow review'),
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: ui_i18n_1.default.text('Viewing'),
33
+ get label() {
34
+ return ui_i18n_1.default.text('Viewing');
35
+ },
26
36
  value: mdm_sdk_1.Mode.Viewing,
27
- description: ui_i18n_1.default.text('Read or print profile'),
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
  };
@@ -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: i18n.text('Editing'),
7
+ get label() {
8
+ return i18n.text('Editing');
9
+ },
8
10
  value: Mode.Editing,
9
- description: i18n.text('Edit profile directly'),
11
+ get description() {
12
+ return i18n.text('Edit profile directly');
13
+ },
10
14
  icon: CreateIcon
11
15
  };
12
16
  export var suggestingModeOption = {
13
- label: i18n.text('Suggesting'),
17
+ get label() {
18
+ return i18n.text('Suggesting');
19
+ },
14
20
  value: Mode.Suggesting,
15
- description: i18n.text('Suggest changes and initiate a workflow review'),
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: i18n.text('Viewing'),
27
+ get label() {
28
+ return i18n.text('Viewing');
29
+ },
20
30
  value: Mode.Viewing,
21
- description: i18n.text('Read or print profile'),
31
+ get description() {
32
+ return i18n.text('Read or print profile');
33
+ },
22
34
  icon: VisibilityIcon
23
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.2166",
3
+ "version": "1.4.2168",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./index.js",
@@ -11,7 +11,7 @@
11
11
  "@fluentui/react-context-selector": "^9.1.26",
12
12
  "@googlemaps/markerclusterer": "^2.5.3",
13
13
  "@react-sigma/core": "3.4.0",
14
- "@reltio/mdm-sdk": "^1.4.1982",
14
+ "@reltio/mdm-sdk": "^1.4.1983",
15
15
  "@vis.gl/react-google-maps": "^1.3.0",
16
16
  "d3-cloud": "^1.2.5",
17
17
  "d3-geo": "^2.0.1",