cedar-embeddable-editor 1.5.0 → 1.5.2
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 +71 -2
- package/README.md +6 -6
- package/cedar-embeddable-editor.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,85 +4,132 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.5.2] - 2026-07-28
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- PubMed ID (PMID) and RRID external authority fields, registered as external-authority input types.
|
|
13
|
+
- Expose the loaded CEE version as `window.cedarEmbeddableEditorVersion`, so host applications (e.g. the CEDAR template editor) can display which CEE bundle is actually running.
|
|
14
|
+
|
|
15
|
+
## [1.5.1] - 2026-07-16
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- PFAS external authority field (config, icons, and embedding build).
|
|
20
|
+
- DOI and NIH-grant external authority fields.
|
|
21
|
+
- External-field logos inlined as base64, removing external image dependencies (build budget raised to accommodate).
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- Improved Angular packaging and build; CSS updates and code cleanup.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- Multi-instance handling for external-authority fields (PFAS, ROR, and others).
|
|
30
|
+
- Multiple-choice component: restored missing imports, and corrected initialization, multi-page rendering, and data-value handling.
|
|
31
|
+
- Controlled-term result filtering.
|
|
32
|
+
- Data-availability rendering.
|
|
33
|
+
- Checkbox selection race condition.
|
|
34
|
+
|
|
7
35
|
## [1.5.0] - - 2025-05-30
|
|
8
36
|
|
|
9
37
|
### Added
|
|
38
|
+
|
|
10
39
|
- Configuration option to control visibility of the preferences-menu.
|
|
11
40
|
|
|
12
41
|
### Fixed
|
|
42
|
+
|
|
13
43
|
- Issue where the preferences menu could override the initial read-only mode configuration.
|
|
14
44
|
- Hide the section-break help icon when no help text is available.
|
|
15
45
|
|
|
16
46
|
### Changed
|
|
47
|
+
|
|
17
48
|
- Text input values now detect HTML context using a DOM parser.
|
|
49
|
+
|
|
18
50
|
## [1.4.0]
|
|
19
51
|
|
|
20
52
|
### Added
|
|
53
|
+
|
|
21
54
|
- ORCID and ROR fields.
|
|
22
55
|
- Preferences menu and read-only mode toggle under it.
|
|
23
56
|
- Version number under the logo.
|
|
24
57
|
|
|
25
58
|
### Fixed
|
|
59
|
+
|
|
26
60
|
- Non-empty attribute key/value fields being incorrectly hidden in read-only mode.
|
|
27
61
|
|
|
28
62
|
### Changed
|
|
63
|
+
|
|
29
64
|
- Rendering style of section breaks.
|
|
30
65
|
|
|
31
66
|
## [1.3.5]
|
|
32
67
|
|
|
33
68
|
### Fixed
|
|
69
|
+
|
|
34
70
|
- Instance load issue that appears when instance and template passed in different times
|
|
35
71
|
|
|
36
72
|
## [1.3.4]
|
|
37
73
|
|
|
38
74
|
### Changed
|
|
75
|
+
|
|
39
76
|
- Pagination on multi instances are not shown if the instance count is less than the page size
|
|
40
77
|
|
|
41
78
|
## [1.3.3]
|
|
42
79
|
|
|
43
80
|
### Changed
|
|
81
|
+
|
|
44
82
|
- Removed outer border of fields for a cleaner look
|
|
45
83
|
- Representation of BioPortal, ORCID and ROR iris
|
|
46
84
|
- Added icons for expand and collapse all. These buttons are also repositioned to top right corner.
|
|
47
85
|
|
|
48
86
|
### Fixed
|
|
87
|
+
|
|
49
88
|
- Some internal errors that appear in the stand-alone mode
|
|
50
89
|
- Some border color to comply with accessibility requirements
|
|
51
90
|
|
|
52
91
|
## [1.3.2]
|
|
53
92
|
|
|
54
93
|
### Added
|
|
94
|
+
|
|
55
95
|
- Link to BioPortal controlled terms
|
|
56
96
|
- Link to ORCID and ROR ids
|
|
57
97
|
|
|
58
98
|
### Fixed
|
|
99
|
+
|
|
59
100
|
- Hiding state of nested empty elements
|
|
60
101
|
|
|
61
102
|
## [1.3.1]
|
|
62
103
|
|
|
63
104
|
### Added
|
|
105
|
+
|
|
64
106
|
- New property to set template and instance together
|
|
65
107
|
- Option to hide empty fields in viewer mode
|
|
66
108
|
- Configuration option to display template description
|
|
67
109
|
|
|
68
110
|
### Changed
|
|
111
|
+
|
|
69
112
|
- Fields that have HTML as their value will be rendered in readOnlyMode
|
|
70
113
|
|
|
71
114
|
### Fixed
|
|
115
|
+
|
|
72
116
|
- Not making terminology calls in viewer mode
|
|
73
117
|
|
|
74
118
|
## [1.2.1] - 2024-02-20
|
|
75
119
|
|
|
76
120
|
### Fixed
|
|
77
|
-
|
|
121
|
+
|
|
122
|
+
- <https://github.com/metadatacenter/cedar-embeddable-editor/issues/102> Updating required fields with value constraints does not update validation status.
|
|
78
123
|
|
|
79
124
|
## [1.2.0] - 2024-02-14
|
|
80
125
|
|
|
81
126
|
### Added
|
|
127
|
+
|
|
82
128
|
- Viewer mode
|
|
83
129
|
- Configuration option to display template description
|
|
84
130
|
|
|
85
131
|
### Changed
|
|
132
|
+
|
|
86
133
|
- Name of linked static fields are rendered
|
|
87
134
|
- Better accessibility support
|
|
88
135
|
|
|
@@ -93,12 +140,15 @@ This version contains only fixes and non-breaking changes related to the languag
|
|
|
93
140
|
However, there was a new feature introduced in 1.0.14 - the data quality report. Because of this, we are changing the minor version number.
|
|
94
141
|
|
|
95
142
|
### Added
|
|
143
|
+
|
|
96
144
|
- `CustomEvent` with `type`:`'change'` is emitted when a multi instance operation is performed (add, copy, delete)
|
|
97
145
|
|
|
98
146
|
### Fixed
|
|
147
|
+
|
|
99
148
|
- Load built-in `en` language map if nothing is specified in the config
|
|
100
149
|
|
|
101
150
|
### Changed
|
|
151
|
+
|
|
102
152
|
- Better language map related logging
|
|
103
153
|
- If no external or internal language map can be found based on the config, still use the built-in `en` map
|
|
104
154
|
- Allow uppercase in domain names of Link components
|
|
@@ -106,19 +156,23 @@ However, there was a new feature introduced in 1.0.14 - the data quality report.
|
|
|
106
156
|
## [1.0.16] - 2024-02-07
|
|
107
157
|
|
|
108
158
|
### Added
|
|
159
|
+
|
|
109
160
|
- Language map loading configuration option `languageMapPathPrefix` + docs
|
|
110
161
|
|
|
111
162
|
### Fixed
|
|
163
|
+
|
|
112
164
|
- Data Quality Report in case of mandatory fields with 0..n cardinality
|
|
113
165
|
- Fixed bug regarding required value of multi-instance fields
|
|
114
166
|
|
|
115
167
|
## [1.0.15] - 2024-02-05
|
|
116
168
|
|
|
117
169
|
### Added
|
|
170
|
+
|
|
118
171
|
- Added naive throttling prevention to the `/integrated-search` calls (random delay < 2000 ms)
|
|
119
172
|
- Added validation error message for links
|
|
120
173
|
|
|
121
174
|
### Fixed
|
|
175
|
+
|
|
122
176
|
- Fixed null reference in Data Quality Report builder
|
|
123
177
|
- Fixed required symbol for multi instance fields
|
|
124
178
|
|
|
@@ -135,7 +189,6 @@ However, there was a new feature introduced in 1.0.14 - the data quality report.
|
|
|
135
189
|
- showAllMultiInstanceValues flag is added.
|
|
136
190
|
Now it's possible to hide "All Values" section of multi instance fields by adding showAllMultiInstanceValues : false to config.
|
|
137
191
|
|
|
138
|
-
|
|
139
192
|
## [1.0.12] - 2024-01-19
|
|
140
193
|
|
|
141
194
|
### Changed
|
|
@@ -151,6 +204,7 @@ However, there was a new feature introduced in 1.0.14 - the data quality report.
|
|
|
151
204
|
## [1.0.10] - 2024-01-11
|
|
152
205
|
|
|
153
206
|
### Added
|
|
207
|
+
|
|
154
208
|
- A randomly generated UUID together with the trailing path is assigned as to @id is to nested element instances for model validation
|
|
155
209
|
|
|
156
210
|
## [1.0.9] - UNPUBLISHED
|
|
@@ -158,71 +212,86 @@ However, there was a new feature introduced in 1.0.14 - the data quality report.
|
|
|
158
212
|
## [1.0.8] - 2023-11-20
|
|
159
213
|
|
|
160
214
|
### Changed
|
|
215
|
+
|
|
161
216
|
- Added some error-tolerance to instances that don't align with the template
|
|
162
217
|
|
|
163
218
|
## [1.0.7] - 2023-11-20
|
|
164
219
|
|
|
165
220
|
### Fixed
|
|
221
|
+
|
|
166
222
|
- Fixed null reference
|
|
167
223
|
|
|
168
224
|
### Changed
|
|
225
|
+
|
|
169
226
|
- Language map loading logging
|
|
170
227
|
|
|
171
228
|
## [1.0.6] - 2023-11-17
|
|
172
229
|
|
|
173
230
|
### Fixed
|
|
231
|
+
|
|
174
232
|
- Fixed empty link value handling in the model
|
|
175
233
|
|
|
176
234
|
## [1.0.5] - 2023-11-16
|
|
177
235
|
|
|
178
236
|
### Fixed
|
|
237
|
+
|
|
179
238
|
- Fixed null/undefined references
|
|
180
239
|
- Added prettier as dev dependency
|
|
181
240
|
|
|
182
241
|
## [1.0.4] - 2023-11-08
|
|
183
242
|
|
|
184
243
|
### Fixed
|
|
244
|
+
|
|
185
245
|
- Fixed same density style multiple generation
|
|
186
246
|
- Removed `console.log` debug messages
|
|
187
247
|
|
|
188
248
|
## [1.0.3] - 2023-11-07
|
|
189
249
|
|
|
190
250
|
### Fixed
|
|
251
|
+
|
|
191
252
|
- Default `en` and `hu` language maps embedded in production build
|
|
192
253
|
- Removed `console.log` debug messages
|
|
193
254
|
|
|
194
255
|
### Added
|
|
256
|
+
|
|
195
257
|
- `Load metadata` checkbox added to the sample template loader
|
|
196
258
|
|
|
197
259
|
### Changed
|
|
260
|
+
|
|
198
261
|
- Dev mode config changed to compact initial view (hidden sample template links, hidden core metadata)
|
|
199
262
|
- Dependency version updates
|
|
200
263
|
|
|
201
264
|
## [1.0.2] - 2023-11-03
|
|
202
265
|
|
|
203
266
|
### Fixed
|
|
267
|
+
|
|
204
268
|
- Stylesheet not properly rendering
|
|
205
269
|
- Multi-instance field add bug
|
|
206
270
|
|
|
207
271
|
### Changed
|
|
272
|
+
|
|
208
273
|
- Refactoring: eslint + prettier added
|
|
209
274
|
|
|
210
275
|
## [1.0.1] - 2023-11-03
|
|
211
276
|
|
|
212
277
|
### Added
|
|
278
|
+
|
|
213
279
|
- Changelog
|
|
214
280
|
- Code of conduct
|
|
215
281
|
|
|
216
282
|
### Fixed
|
|
283
|
+
|
|
217
284
|
- Controlled term field UI update on invalid data
|
|
218
285
|
- Model update when date is entered from input (see 'Changed' below)
|
|
219
286
|
- Default value selection for dropdowns
|
|
220
287
|
|
|
221
288
|
### Changed
|
|
289
|
+
|
|
222
290
|
- Date can only be selected with date picker (no keyboard input)
|
|
223
291
|
- Refactored component initialization
|
|
224
292
|
|
|
225
293
|
### Removed
|
|
294
|
+
|
|
226
295
|
- Removed extra style inclusion causing duplicate style generation
|
|
227
296
|
|
|
228
297
|
## [1.0.0] - 2023-09-08
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ git clone https://github.com/metadatacenter/cedar-component-distribution.git
|
|
|
21
21
|
|
|
22
22
|
### Edit configuration
|
|
23
23
|
|
|
24
|
-
1. Open the file ```
|
|
24
|
+
1. Open the file ```app/app.component.dev.ts``` in your favorite editor.
|
|
25
25
|
2. Edit configuration parameters based on your local environment (see section [Configuration](https://github.com/metadatacenter/cedar-embeddable-editor/tree/develop#configuration) for details).
|
|
26
26
|
|
|
27
27
|
### Build the project and start the server
|
|
@@ -144,7 +144,7 @@ There are other optional configuration parameters available for controlling vari
|
|
|
144
144
|
|
|
145
145
|
"collapseStaticComponents": false,
|
|
146
146
|
"showStaticText": true,
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
"readOnlyMode": false,
|
|
149
149
|
"hideEmptyFields": false,
|
|
150
150
|
"showPreferencesMenu": true
|
|
@@ -289,7 +289,7 @@ In order to use an external language file, specify the config as follows:
|
|
|
289
289
|
}
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
In the example above we want to use a `German` language file, which is located in the specified directory. Starting the path with `/` makes the path absolute.
|
|
292
|
+
In the example above we want to use a `German` language file, which is located in the specified directory. Starting the path with `/` makes the path absolute.
|
|
293
293
|
|
|
294
294
|
In our case the `/assets/i18n-cee/de.json` will be loaded if present.
|
|
295
295
|
|
|
@@ -297,7 +297,7 @@ If the file is missing, the `/assets/i18n-cee/en.json` will be used.
|
|
|
297
297
|
|
|
298
298
|
If that file is also missing, the built-in `de` map would be the next. As this does not exist at this moment, the last option, the built-in `en` map will be used.
|
|
299
299
|
|
|
300
|
-
Information about the loading process is logged onto the console with the `CEE TRACE` prefix.
|
|
300
|
+
Information about the loading process is logged onto the console with the `CEE TRACE` prefix.
|
|
301
301
|
|
|
302
302
|
### Listening for changes
|
|
303
303
|
|
|
@@ -318,8 +318,8 @@ An example in Angular is:
|
|
|
318
318
|
- `component.ts`:
|
|
319
319
|
```typescript
|
|
320
320
|
logChange(event) {
|
|
321
|
-
|
|
322
|
-
}
|
|
321
|
+
console.log('CHANGE', event);
|
|
322
|
+
}
|
|
323
323
|
```
|
|
324
324
|
|
|
325
325
|
### Viewer Mode
|