cedar-embeddable-editor 1.0.13 → 1.0.15
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/README.md +25 -3
- package/assets/i18n-cee/en.json +2 -1
- package/assets/i18n-cee/hu.json +2 -1
- package/cedar-embeddable-editor.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -117,17 +117,23 @@ There are other optional configuration parameters available for controlling vari
|
|
|
117
117
|
"expandedSampleTemplateLinks": true,
|
|
118
118
|
|
|
119
119
|
"showTemplateRenderingRepresentation": true,
|
|
120
|
+
"expandedTemplateRenderingRepresentation": false,
|
|
121
|
+
|
|
120
122
|
"showInstanceDataCore": true,
|
|
121
123
|
"expandedInstanceDataCore": false,
|
|
124
|
+
|
|
122
125
|
"showMultiInstanceInfo": true,
|
|
123
126
|
"expandedMultiInstanceInfo": false,
|
|
124
127
|
|
|
125
|
-
"expandedTemplateRenderingRepresentation": false,
|
|
126
128
|
"showInstanceDataFull": false,
|
|
127
129
|
"expandedInstanceDataFull": false,
|
|
130
|
+
|
|
128
131
|
"showTemplateSourceData": true,
|
|
129
132
|
"expandedTemplateSourceData": false,
|
|
130
133
|
|
|
134
|
+
"showDataQualityReport": false,
|
|
135
|
+
"expandedDataQualityReport": false,
|
|
136
|
+
|
|
131
137
|
"showHeader": true,
|
|
132
138
|
"showFooter": true,
|
|
133
139
|
|
|
@@ -135,8 +141,7 @@ There are other optional configuration parameters available for controlling vari
|
|
|
135
141
|
"fallbackLanguage": "en",
|
|
136
142
|
|
|
137
143
|
"collapseStaticComponents": false,
|
|
138
|
-
"showStaticText": true
|
|
139
|
-
"showAllMultiInstanceValues": true
|
|
144
|
+
"showStaticText": true
|
|
140
145
|
}
|
|
141
146
|
```
|
|
142
147
|
|
|
@@ -223,6 +228,23 @@ document.addEventListener('WebComponentsReady', function () {
|
|
|
223
228
|
|
|
224
229
|
To reiterate, the metadata being injected **MUST** match the template currently being edited and open in your browser window.
|
|
225
230
|
|
|
231
|
+
### Data Quality Report
|
|
232
|
+
|
|
233
|
+
The dataQualityReport summarizes basic metrics on the instance data.
|
|
234
|
+
|
|
235
|
+
```javascript
|
|
236
|
+
const report = cee.dataQualityReport;
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
At the moment these three fields are available, with more to come:
|
|
240
|
+
|
|
241
|
+
```
|
|
242
|
+
requiredFieldValueCount: int
|
|
243
|
+
nonNullRequiredFieldValueCount: int
|
|
244
|
+
isValid: boolean
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
|
|
226
248
|
## Example Applications
|
|
227
249
|
|
|
228
250
|
There is a sample applications you can use to demonstrate how to embed and use CEE.
|
package/assets/i18n-cee/en.json
CHANGED
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"JsonSchemaTemplate": "JSON Schema - Template",
|
|
56
56
|
"TemplateRendering": "Template Rendering Data",
|
|
57
|
-
"MultiInstance": "Multi-Instance Information"
|
|
57
|
+
"MultiInstance": "Multi-Instance Information",
|
|
58
|
+
"DataQualityReport": "Data Quality Report"
|
|
58
59
|
},
|
|
59
60
|
"Validation": {
|
|
60
61
|
"Required": "The value is required.",
|
package/assets/i18n-cee/hu.json
CHANGED
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
},
|
|
55
55
|
"JsonSchemaTemplate": "JSON Séma - Sablon",
|
|
56
56
|
"TemplateRendering": "Sablon megjelenítési adatok",
|
|
57
|
-
"MultiInstance": "Multi-példány információ"
|
|
57
|
+
"MultiInstance": "Multi-példány információ",
|
|
58
|
+
"DataQualityReport": "Adatminőségi riport"
|
|
58
59
|
},
|
|
59
60
|
"Validation": {
|
|
60
61
|
"Required": "Az érték megadása kötelező.",
|