cedar-embeddable-editor 1.0.12 → 1.0.14

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 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
 
@@ -222,6 +228,23 @@ document.addEventListener('WebComponentsReady', function () {
222
228
 
223
229
  To reiterate, the metadata being injected **MUST** match the template currently being edited and open in your browser window.
224
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
+
225
248
  ## Example Applications
226
249
 
227
250
  There is a sample applications you can use to demonstrate how to embed and use CEE.
@@ -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.",
@@ -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ő.",