@truedat/dd 4.47.9 → 4.48.3

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.48.2] 2022-07-08
4
+
5
+ ### Changed
6
+
7
+ - [TD-4995] Support localization of template fields and fixed values
8
+
3
9
  ## [4.47.9] 2022-07-05
4
10
 
5
11
  ### Added
@@ -8,17 +14,17 @@
8
14
 
9
15
  ## [4.47.8] 2022-07-02
10
16
 
11
- ## Changed
17
+ ### Changed
12
18
 
13
19
  - [TD-4176] Add className to LinkStructureTagForm
14
20
 
15
21
  ## [4.47.7] 2022-07-02
16
22
 
17
- ## Added
23
+ ### Added
18
24
 
19
25
  - [TD-4176] Added description in structure tag
20
26
 
21
- ## Changed
27
+ ### Changed
22
28
 
23
29
  - [TD-4176]
24
30
  - Changed description by comment in structure tag link
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "4.47.9",
3
+ "version": "4.48.3",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -88,9 +88,9 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@apollo/client": "^3.6.4",
91
- "@truedat/auth": "4.47.9",
92
- "@truedat/core": "4.47.9",
93
- "@truedat/df": "4.47.9",
91
+ "@truedat/auth": "4.48.3",
92
+ "@truedat/core": "4.48.3",
93
+ "@truedat/df": "4.48.3",
94
94
  "lodash": "^4.17.21",
95
95
  "path-to-regexp": "^1.7.0",
96
96
  "prop-types": "^15.8.1",
@@ -112,5 +112,5 @@
112
112
  "react-dom": ">= 16.8.6 < 17",
113
113
  "semantic-ui-react": ">= 0.88.2 < 2.1"
114
114
  },
115
- "gitHead": "21954b7a0ea8240d2a9e8dc5014372eceed3b047"
115
+ "gitHead": "5b30312f30c532988985ab9271d1e39ad0ad5c43"
116
116
  }
@@ -61,7 +61,10 @@ export const MyGrantRequests = ({
61
61
  key={idx}
62
62
  label={
63
63
  <label>
64
- {formatMessage({ id: `grantRequest.content.${type}` })}
64
+ {formatMessage({
65
+ id: `grantRequest.content.${type}`,
66
+ defaultMessage: type,
67
+ })}
65
68
  </label>
66
69
  }
67
70
  onChange={() => {
@@ -77,7 +77,7 @@ export const PendingStructureNotes = ({ systems }) => {
77
77
  render={({ field: { onBlur, onChange, value } }) => (
78
78
  <Form.Field className="subscriptions-checkbox-filters">
79
79
  <label>
80
- {formatMessage({ id: "pendingStructureNotes.props.status" })}
80
+ <FormattedMessage id="pendingStructureNotes.props.status" />
81
81
  </label>
82
82
  {STATUS.map((type, idx) => (
83
83
  <Checkbox
@@ -85,7 +85,10 @@ export const PendingStructureNotes = ({ systems }) => {
85
85
  key={idx}
86
86
  label={
87
87
  <label>
88
- {formatMessage({ id: `structure.notes.status.${type}` })}
88
+ <FormattedMessage
89
+ id={`structure.notes.status.${type}`}
90
+ defaultMessage={type}
91
+ />
89
92
  </label>
90
93
  }
91
94
  onChange={() => {
@@ -44,7 +44,7 @@ export const StructureSelectorInputField = ({
44
44
  <>
45
45
  <Form.Field>
46
46
  <label>
47
- {formatMessage({ id: `ruleImplementation.props.structure` })}
47
+ {formatMessage({ id: "ruleImplementation.props.structure" })}
48
48
  {joined && (
49
49
  <Icon name="close" className="selectable" onClick={onDelete} />
50
50
  )}
@@ -59,7 +59,7 @@ export const StructureSelectorInputField = ({
59
59
  icon
60
60
  value={_.path("structure.name")(selectedStructure) || ""}
61
61
  placeholder={formatMessage({
62
- id: `ruleImplementation.props.structure.placeholder`,
62
+ id: "ruleImplementation.props.structure.placeholder",
63
63
  })}
64
64
  required
65
65
  fluid
@@ -84,7 +84,7 @@ export const StructureSelectorInputField = ({
84
84
  <Form.Field>
85
85
  <label>
86
86
  {formatMessage({
87
- id: `ruleImplementation.props.structure.alias`,
87
+ id: "ruleImplementation.props.structure.alias",
88
88
  })}
89
89
  </label>
90
90
  <Form.Input
@@ -107,9 +107,7 @@ export const StructureSelectorInputField = ({
107
107
  <Container style={{ paddingLeft: "8em" }}>
108
108
  <Form.Field>
109
109
  <label>
110
- {formatMessage({
111
- id: "structureSelector.union.criteria",
112
- })}
110
+ {formatMessage({ id: "structureSelector.union.criteria" })}
113
111
  </label>
114
112
  <StructureSelectorInputFieldJoin
115
113
  structures={structures}
@@ -23,9 +23,7 @@ const Date = ({ className, icon, label, date }) => {
23
23
  className={className}
24
24
  >
25
25
  {icon}
26
- {formatMessage({
27
- id: `structure.${label}`,
28
- })}
26
+ {formatMessage({ id: `structure.${label}` })}
29
27
  : <Moment locale="es" date={date} format="YYYY-MM-DD HH:mm" />
30
28
  </Label>
31
29
  );