cozy-ui 109.0.0 → 109.0.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
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [109.0.1](https://github.com/cozy/cozy-ui/compare/v109.0.0...v109.0.1) (2024-06-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ExpandedAttributes:** Use Client to get excluded metadata ([1b49153](https://github.com/cozy/cozy-ui/commit/1b49153))
|
|
7
|
+
|
|
1
8
|
# [109.0.0](https://github.com/cozy/cozy-ui/compare/v108.1.0...v109.0.0) (2024-06-06)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -19,11 +19,9 @@ export const normalizeExpandedAttribute = attr =>
|
|
|
19
19
|
export const notExpandedAttributes = {
|
|
20
20
|
'io.cozy.contacts': ['fullname', 'civility', 'note'],
|
|
21
21
|
'io.cozy.files': [
|
|
22
|
-
|
|
23
|
-
'metadata.datetime',
|
|
24
|
-
'metadata.referencedDate',
|
|
25
|
-
'metadata.expirationDate',
|
|
22
|
+
...KNOWN_DATE_METADATA_NAMES.map(x => `metadata.${x}`),
|
|
26
23
|
'metadata.noticePeriod',
|
|
24
|
+
'name',
|
|
27
25
|
'flexsearchProps:translated:qualificationLabel',
|
|
28
26
|
'flexsearchProps:translated:driverLicense',
|
|
29
27
|
'flexsearchProps:translated:paymentProofFamilyAllowance',
|
package/react/ListItem/Readme.md
CHANGED
|
@@ -157,6 +157,7 @@ const files = [
|
|
|
157
157
|
datetimeLabel: 'expirationDate',
|
|
158
158
|
referencedDate: '2024-01-01T12:00:00.000Z',
|
|
159
159
|
expirationDate: '2024-01-11T12:00:00.000Z',
|
|
160
|
+
issueDate: '2024-01-11T12:00:00.000Z',
|
|
160
161
|
noticePeriod: '30',
|
|
161
162
|
qualification: {
|
|
162
163
|
label: 'driver_license'
|
|
@@ -10,7 +10,9 @@ export var normalizeExpandedAttribute = function normalizeExpandedAttribute(attr
|
|
|
10
10
|
|
|
11
11
|
export var notExpandedAttributes = {
|
|
12
12
|
'io.cozy.contacts': ['fullname', 'civility', 'note'],
|
|
13
|
-
'io.cozy.files': [
|
|
13
|
+
'io.cozy.files': [].concat(_toConsumableArray(KNOWN_DATE_METADATA_NAMES.map(function (x) {
|
|
14
|
+
return "metadata.".concat(x);
|
|
15
|
+
})), ['metadata.noticePeriod', 'name', 'flexsearchProps:translated:qualificationLabel', 'flexsearchProps:translated:driverLicense', 'flexsearchProps:translated:paymentProofFamilyAllowance', 'flexsearchProps:translated:caf', 'flexsearchProps:translated:vehicleRegistration', 'flexsearchProps:translated:nationalIdCard', 'flexsearchProps:translated:bankDetails', 'flexsearchProps:translated:paySheet', 'flexsearchProps:translated:passport', 'flexsearchProps:translated:residencePermit'])
|
|
14
16
|
}; // attributes that we want to display if no attribute of the document is related to the search
|
|
15
17
|
|
|
16
18
|
export var defaultExpandedAttributes = {
|