@uipath/du-validation-station-wc 1.0.0-rc.2 → 1.0.0-rc.4

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +94 -0
  2. package/README.md +14 -13
  3. package/chunk-Bkrvly1E2.js +1 -0
  4. package/chunk-CUS9yi88.js +7512 -0
  5. package/chunk-D6AhHMFl.js +1 -0
  6. package/chunk-ExxU0KCy2.js +872 -0
  7. package/du-assets/du-validation-station-feature/i18n/de.json +9 -0
  8. package/du-assets/du-validation-station-feature/i18n/en.json +13 -2
  9. package/du-assets/du-validation-station-feature/i18n/es-MX.json +9 -0
  10. package/du-assets/du-validation-station-feature/i18n/es.json +9 -0
  11. package/du-assets/du-validation-station-feature/i18n/fr.json +9 -0
  12. package/du-assets/du-validation-station-feature/i18n/ja.json +9 -0
  13. package/du-assets/du-validation-station-feature/i18n/ko.json +9 -0
  14. package/du-assets/du-validation-station-feature/i18n/pt-BR.json +9 -0
  15. package/du-assets/du-validation-station-feature/i18n/pt.json +9 -0
  16. package/du-assets/du-validation-station-feature/i18n/ro.json +9 -0
  17. package/du-assets/du-validation-station-feature/i18n/tr.json +9 -0
  18. package/du-assets/du-validation-station-feature/i18n/zh-CN.json +9 -0
  19. package/du-assets/du-validation-station-feature/i18n/zh-TW.json +9 -0
  20. package/index.html +1 -1
  21. package/main.js +25 -25
  22. package/package.json +1 -1
  23. package/styles.css +1 -1
  24. package/styles.js +1 -1
  25. package/types.d.ts +79 -44
  26. package/chunk--8oGpmSu2.js +0 -872
  27. package/chunk-B3xuZQ28.js +0 -7512
  28. package/chunk-DDO4J8oq.js +0 -1
  29. package/chunk-sVoOygoM.js +0 -1
  30. /package/{chunk-8y2BSM2t2.js → chunk-8y2BSM2t.js} +0 -0
  31. /package/{chunk-CUt9PgPU2.js → chunk-CUt9PgPU.js} +0 -0
  32. /package/{chunk-DTR8_wOP.js → chunk-DTR8_wOP2.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,100 @@ follows [Semantic Versioning](https://semver.org/).
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.0-rc.4] - 2026-10-09
11
+
12
+ Fourth release candidate for `1.0.0`. No element tag, input, event or
13
+ command method from `1.0.0-rc.3` is renamed or removed. The new options are
14
+ opt-in, but some compact-mode UI appears by default: the *No taxonomy
15
+ defined* state, the table editor's *Duplicate row* action and column
16
+ freezing.
17
+
18
+ > 🚀 This is a **release candidate**. Please report any issues before the
19
+ > stable release.
20
+
21
+ ### Added
22
+
23
+ - `predictedExtractionResult` on the validation-station and compact
24
+ fields-form elements accepts an `IXPExtraction`, like `extractionResult`,
25
+ so an IXP document can show the prediction diff. Supply it in the same
26
+ representation as `extractionResult`. The table editor still takes an
27
+ `ExtractionResult` only.
28
+ - IXP taxonomies can declare a **single-instance field group**: a nullable
29
+ `object` whose fields sit directly under `properties`. It renders as one
30
+ row; `null` or a missing value renders as not found, and the reviewer can
31
+ add the instance but not a second one. It saves back as an object, or
32
+ `null` when there is no row. Previously such a taxonomy failed to load.
33
+ - `emptyTaxonomyMessage` option — when the selected document type has no
34
+ fields, the compact fields form shows a *No taxonomy defined* state with
35
+ this text, or a default message when it is unset. Pass it already
36
+ localized. Submitting is still allowed; use `hideSubmitButton` to prevent
37
+ it.
38
+ - Table columns can be frozen up to a chosen column, so they stay visible
39
+ while the table scrolls horizontally.
40
+ - A *Duplicate row* action in the compact table editor's row menu. It
41
+ inserts a copy of the row directly below it; the copied values are
42
+ unconfirmed and have no document reference. It is not offered in
43
+ read-only mode or in the classic table editor.
44
+ - **Shift+N** keyboard shortcut — moves to the next value or table cell with
45
+ a flagged issue (a failed validation, a broken business rule, or an
46
+ unconfirmed value below its confidence threshold), in the same order as
47
+ `N` / `P`, wrapping at the end. Unlike `N`, it never confirms the value it
48
+ leaves.
49
+
50
+ ### Fixed
51
+
52
+ - IXP field groups no longer require a document reference, so a row can be
53
+ added without first selecting something in the document. Each field still
54
+ follows its own reference rule.
55
+ - The *Continue & save* prompt for unconfirmed values closes as soon as the
56
+ user edits a field, confirms a value or changes the document type, so it
57
+ can no longer submit values changed after it opened.
58
+ - The prediction diff compares numbers and date parts by value, so `1.50`
59
+ and `1.5` no longer show as a difference.
60
+ - Classic mode shows the document type's real extraction confidence instead
61
+ of always 100%.
62
+ - Frozen table columns: no gap after the line-number column, and a dedicated
63
+ tooltip when no columns fit.
64
+ - Component theme overrides are resolved by inheritance instead of
65
+ `:host-context`.
66
+ - Accessibility: the date-range picker's controls are grouped under their
67
+ form field label, and the page navigator's input has a visible label.
68
+
69
+ ## [1.0.0-rc.3] - 2026-10-01
70
+
71
+ Third release candidate for `1.0.0`. It carries a breaking change for hosts
72
+ that supply a Flow extraction: `flowTaxonomy` + `flowExtraction` are removed,
73
+ and `taxonomy` + `extractionResult` take the IXP representation instead. Read
74
+ **Changed** before upgrading. Hosts that supply UiPath extraction results are
75
+ unaffected.
76
+
77
+ > 🚀 This is a **release candidate**. Please report any issues before the
78
+ > stable release.
79
+
80
+ ### Added
81
+
82
+ - `HideHighlightRow` on `FeatureCustomization` (validation-station and
83
+ fields-form elements, compact mode only) — hides the "Highlight row"
84
+ action from the menu of each field group row in the fields list, for
85
+ hosts with nothing to highlight, e.g. no document viewer. In read-only
86
+ mode, where that leaves the menu empty, the menu button is hidden too.
87
+ The table editors are unaffected.
88
+
89
+ ### Changed
90
+
91
+ - **Breaking:** the validation-station element's `flowTaxonomy` +
92
+ `flowExtraction` inputs are removed. `taxonomy` and `extractionResult` now
93
+ accept the IXP representation directly, as an `IXPTaxonomy` and an
94
+ `IXPExtraction`, on the validation-station and compact fields-form elements.
95
+ The fields form hides its document type field by default for an
96
+ `IXPTaxonomy`, like the validation-station element.
97
+ - **Breaking:** `IVsFlowValidatedResult` is replaced by `IXPExtraction`, the
98
+ same type the `extractionResult` input takes, as the IXP `validatedData` of
99
+ `saveValidatedDataRequest`.
100
+ - The compact fields form's expand / collapse-all control is redesigned and
101
+ aligned with the field rows, and its labels now read *Expand all field
102
+ groups* / *Collapse all field groups*.
103
+
10
104
  ## [1.0.0-rc.2] - 2026-09-28
11
105
 
12
106
  Second release candidate for `1.0.0`. No element tag, event or command
package/README.md CHANGED
@@ -29,7 +29,7 @@ Learn more in the [UiPath Document Understanding docs](https://docs.uipath.com/a
29
29
  - [2. Mount the element](#2-mount-the-element)
30
30
  - [3. Wire up data and event handlers](#3-wire-up-data-and-event-handlers)
31
31
  - [Updating the data inputs after mount](#updating-the-data-inputs-after-mount)
32
- - [Supplying a Flow extraction instead](#supplying-a-flow-extraction-instead)
32
+ - [Supplying an IXP extraction](#supplying-an-ixp-extraction)
33
33
  - [Customization options](#customization-options)
34
34
  - [Element options](#element-options)
35
35
  - [Custom value-indicator overlay](#custom-value-indicator-overlay)
@@ -160,24 +160,23 @@ them to resolve to anything other than `any`.
160
160
  `ICustomizationInfoDTO` for opt-in typing (see
161
161
  [Customization options](#customization-options)).
162
162
 
163
- ### Supplying a Flow extraction instead
163
+ ### Supplying an IXP extraction
164
164
 
165
- A document produced by a UiPath Flow extraction can be supplied as
166
- `flowTaxonomy` (the output JSON Schema) + `flowExtraction` (the extracted
167
- values and their confidences) **instead of** `taxonomy` + `extractionResult`.
168
- Supply one pair or the other, and both halves of it — a half-supplied pair
169
- leaves the element waiting for the other half.
165
+ The validation-station and compact fields-form elements also accept a document
166
+ in the IXP representation: `taxonomy` as an `IXPTaxonomy` (the output JSON
167
+ Schema) and `extractionResult` as an `IXPExtraction` (the extracted `output`
168
+ plus an `attribution` map keyed by JSON Pointer). Supply both in the same
169
+ representation.
170
170
 
171
171
  ```ts
172
- el.flowTaxonomy = await fetchFlowOutputSchema();
173
- el.flowExtraction = await fetchFlowExtraction();
172
+ el.taxonomy = await fetchIxpOutputSchema();
173
+ el.extractionResult = await fetchIxpExtraction();
174
174
  ```
175
175
 
176
176
  Such a document saves back in the representation it arrived in:
177
- `saveValidatedDataRequest`'s `validatedData` is then an
178
- `IVsFlowValidatedResult` — the reviewer's `output` plus an `attribution` map
179
- keyed by JSON Pointer — rather than an `ExtractionResult`. Tell the two apart
180
- by the `output` property, which an `ExtractionResult` never has.
177
+ `saveValidatedDataRequest`'s `validatedData` is then an `IXPExtraction`
178
+ rather than an `ExtractionResult`. Tell the two apart by the `output`
179
+ property, which an `ExtractionResult` never has.
181
180
 
182
181
  ### Updating the data inputs after mount
183
182
 
@@ -231,6 +230,7 @@ its `FeatureCustomization` member, typed `IFeatureCustomization`. A supplied
231
230
  | `DisplayMode` | Chooses which shell the validation-station element renders. Only that element reads it — every other element always renders compact. Omitted, it keeps the compact default; `'classic'` selects the classic shell. | selects the mode | validation-station |
232
231
  | `TextOnlyMode` | When `true`, the document viewer skips the page image and runs text-only, with no token creation on the canvas; the document-viewer element ignores the flag and derives text-only mode from the content inputs it was given. | both | validation-station |
233
232
  | `HideConfirmationCheckboxes` | When `true`, hides the per-value, per-row and per-cell confirmation checkboxes. Purely visual — the confirmation state and the submit flow are unchanged. | compact | validation-station, fields-form, table-editor |
233
+ | `HideHighlightRow` | When `true`, hides the "Highlight row" action from the menu of each field group row in the fields list; in read-only mode, where that leaves the menu empty, the menu button is hidden too. The table editors keep their own "Highlight row" action. | compact | validation-station, fields-form |
234
234
  | `HideReadonlyModeIndicator` | When `true`, hides the READ-ONLY indicator shown at the bottom of the fields list while the element is read-only. | both | validation-station, fields-form |
235
235
  | `EnablePredictionDiff` | When `true`, shows the predicted value where it differs from the current values, with a button that takes it over. Needs `predictedExtractionResult`. | compact | validation-station, fields-form, table-editor |
236
236
 
@@ -248,6 +248,7 @@ chrome of the validation-station element. Every member is optional.
248
248
  | Option | Effect |
249
249
  |---|---|
250
250
  | `hideSubmitButton`, `hideReportAsExceptionButton`, `hideDocumentTypeField`, `hideFields`, `hideBusinessRules` | Hide the matching part of the fields panel. |
251
+ | `emptyTaxonomyMessage` | Text shown under the "No taxonomy defined" title when the selected document type has no fields (compact mode). Rendered verbatim, so pass it already localized; when unset, a default about there being no fields to validate is shown. |
251
252
  | `fieldsSectionPosition` | `'left'` (default) or `'right'` — which side the fields panel sits on. |
252
253
  | `fieldFilterOptions` | Trims the compact field-filter toolbar: `hideBar` removes it entirely; `hideConfirmed`, `hideNotExtracted` and `hideNoFlaggedIssues` each drop one entry of the *Hide fields* menu, and the menu button disappears once all three are hidden. A hidden filter also stops filtering. |
253
254
  | `defaultFieldsAreaPercentage` | Width the fields panel starts at, as a percentage (0–100) of the element. Wins over `defaultFieldsAreaWidth`. |
@@ -0,0 +1 @@
1
+ import"./chunk-D4-ktzGU.js";import"./chunk-BSFMe_YW.js";import"./chunk-CUS9yi88.js";import{C as ds,S as br}from"./main.js";export{ds as UiCompactTableEditorComponent};