@uipath/du-validation-station-wc 1.0.0-beta.1 → 1.0.0-beta.3
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 +142 -60
- package/LICENSE +9 -9
- package/README.md +296 -269
- package/chunk-2EG2XMZA.js +1 -0
- package/{chunk-6G7NPUR4.js → chunk-46UR4BR4.js} +1 -1
- package/{chunk-35GSIIPT.js → chunk-72L4UBH7.js} +1 -1
- package/chunk-A7SW22GE.js +2 -0
- package/chunk-AEFGZOXA.js +1 -0
- package/{chunk-72UVTU3K.js → chunk-IGNVST57.js} +1 -1
- package/{chunk-TYL6NO3L.js → chunk-XOLTEKM3.js} +80 -80
- package/chunk-YYFDQWK6.js +5 -0
- package/{chunk-VHTAX7UN.js → chunk-Z4Q2KRL4.js} +1 -1
- package/du-assets/du-business-rules-executor/dotnet.d.ts +0 -0
- package/du-assets/du-business-rules-executor/dotnet.js +0 -0
- package/du-assets/du-business-rules-executor/dotnet.js.map +0 -0
- package/du-assets/du-business-rules-executor/dotnet.native.wasm +0 -0
- package/du-assets/du-business-rules-executor/dotnet.runtime.js +0 -0
- package/du-assets/du-business-rules-executor/dotnet.runtime.js.map +0 -0
- package/du-assets/du-validation-station-feature/i18n/en.json +14 -1
- package/index.html +16 -16
- package/main.js +25 -19
- package/package.json +4 -3
- package/types.d.ts +401 -401
- package/chunk-BVNZFRSJ.js +0 -1
- package/chunk-FLLVJZW7.js +0 -2
- package/chunk-YWO5KYCW.js +0 -1
- package/chunk-ZCYTIBW4.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,60 +1,142 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable consumer-facing changes to `@uipath/du-validation-station-wc`
|
|
4
|
-
are documented in this file. The format follows
|
|
5
|
-
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the package
|
|
6
|
-
follows [Semantic Versioning](https://semver.org/).
|
|
7
|
-
|
|
8
|
-
## [1.0.0-beta.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
>
|
|
14
|
-
>
|
|
15
|
-
|
|
16
|
-
### Added
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
`
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable consumer-facing changes to `@uipath/du-validation-station-wc`
|
|
4
|
+
are documented in this file. The format follows
|
|
5
|
+
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the package
|
|
6
|
+
follows [Semantic Versioning](https://semver.org/).
|
|
7
|
+
|
|
8
|
+
## [1.0.0-beta.3] - 2026-06-11
|
|
9
|
+
|
|
10
|
+
Third public beta. No breaking changes to element tags, JS properties,
|
|
11
|
+
events, or command methods since `1.0.0-beta.2`.
|
|
12
|
+
|
|
13
|
+
> ⚠️ Still a **beta** release. Public APIs are not yet stable and data
|
|
14
|
+
> contracts may change before `1.0.0`.
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Translations refreshed from the localization pipeline across all
|
|
19
|
+
supported locales.
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **Styles are now restructured for Shadow DOM isolation.** Component
|
|
24
|
+
styles are scoped to the web component's shadow root, reducing the
|
|
25
|
+
chance of style bleed between the WC and the host page.
|
|
26
|
+
- The WC no longer emits telemetry for non-command inputs/outputs, and
|
|
27
|
+
no longer tracks network requests made by the parent host page —
|
|
28
|
+
telemetry is now limited to the component's own activity.
|
|
29
|
+
- Removed obsolete command inputs from the standalone WC element. Use
|
|
30
|
+
the documented command methods (`setFieldValue`, `setFieldValueByPath`,
|
|
31
|
+
and friends) instead.
|
|
32
|
+
- Expanded the public README with eager- and lazy-load playground
|
|
33
|
+
examples covering the recommended integration patterns.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- Date parsing now handles day ranges in derived date parts.
|
|
38
|
+
- Number and address parsing is aligned with the backend for
|
|
39
|
+
undetermined-language input and cross-locale addresses.
|
|
40
|
+
- Inserting a row in the compact table editor no longer triggers
|
|
41
|
+
unwanted horizontal scrolling.
|
|
42
|
+
- `Reference.TextLength` is now coerced from `NaN` to `0` on area
|
|
43
|
+
selections, preventing invalid reference data.
|
|
44
|
+
|
|
45
|
+
### Security
|
|
46
|
+
|
|
47
|
+
- Addressed critical CVEs in `axios` and `@nevware21/ts-utils`, and
|
|
48
|
+
removed the unused `@angular-architects/module-federation` dependency.
|
|
49
|
+
- Remediated additional transitive-dependency CVEs (`postcss`, `hono`,
|
|
50
|
+
`ip-address`, `brace-expansion`, `webpack-dev-server`).
|
|
51
|
+
|
|
52
|
+
## [1.0.0-beta.2] - 2026-05-19
|
|
53
|
+
|
|
54
|
+
Second public beta. No breaking changes since `1.0.0-beta.1` — element
|
|
55
|
+
tags, JS properties, events, and command methods are unchanged.
|
|
56
|
+
|
|
57
|
+
> ⚠️ Still a **beta** release. Public APIs are not yet stable and data
|
|
58
|
+
> contracts may change before `1.0.0`.
|
|
59
|
+
|
|
60
|
+
### Added
|
|
61
|
+
|
|
62
|
+
- Translations refreshed from the localization pipeline across all
|
|
63
|
+
supported locales.
|
|
64
|
+
|
|
65
|
+
### Changed
|
|
66
|
+
|
|
67
|
+
- **Runtime asset location is now self-resolved.** The WC locates its
|
|
68
|
+
`du-assets/` directory (PDF.js worker, cmaps, wasm, i18n) at runtime
|
|
69
|
+
via `import.meta.url`, relative to wherever the main bundle is
|
|
70
|
+
served — no more reliance on a build-time CDN path baked into the
|
|
71
|
+
bundle. Consumers must deploy `du-assets/` at the same path level as
|
|
72
|
+
the WC bundle they serve; see the **Static assets** section of the
|
|
73
|
+
README for the full deployment guidance. Without co-location, PDF
|
|
74
|
+
rendering and translations will silently 404.
|
|
75
|
+
|
|
76
|
+
### Fixed
|
|
77
|
+
|
|
78
|
+
- `<ui-du-validation-station-standalone-wc-persistent-element>` no
|
|
79
|
+
longer emits command-result events multiple times for a single
|
|
80
|
+
invocation.
|
|
81
|
+
- Resolved drift between `DataVersion` and `DocumentTypeDataVersion`
|
|
82
|
+
that could cause stale taxonomy / extraction-result combinations to
|
|
83
|
+
render incorrectly after a document-type change.
|
|
84
|
+
|
|
85
|
+
### Security
|
|
86
|
+
|
|
87
|
+
- Updated transitive dependencies to address 6 critical CVEs
|
|
88
|
+
(`axios`, `koa`, `lodash`, `picomatch`).
|
|
89
|
+
|
|
90
|
+
## [1.0.0-beta.1] - 2026-05-08
|
|
91
|
+
|
|
92
|
+
Initial public beta release of the Validation Station web component.
|
|
93
|
+
|
|
94
|
+
> ⚠️ This is a **beta** release. Public APIs (element tags, JS
|
|
95
|
+
> properties, events) are not yet stable
|
|
96
|
+
> and data contracts may change before `1.0.0`.
|
|
97
|
+
|
|
98
|
+
### Added
|
|
99
|
+
|
|
100
|
+
- Standalone validation-station web components:
|
|
101
|
+
- `<ui-du-validation-station-standalone-wc-element>` — render a
|
|
102
|
+
document for validation; data is provided via JS properties; save /
|
|
103
|
+
save-as-draft / report-as-exception requests are emitted as events
|
|
104
|
+
so the consumer's backend stays in control of all I/O.
|
|
105
|
+
- `<ui-du-validation-station-standalone-wc-persistent-element>` — same
|
|
106
|
+
as above, but suppresses `disconnectedCallback()` so internal state
|
|
107
|
+
survives portal detachments. Includes an explicit `forceDestroy()`
|
|
108
|
+
method that must be called when permanently removing the element.
|
|
109
|
+
- TypeScript declarations covering both element interfaces, all
|
|
110
|
+
command-input shapes, the full event map, and JSX prop types for
|
|
111
|
+
React 18 (refs) and React 19 (direct prop pass-through).
|
|
112
|
+
- Global `HTMLElementTagNameMap` and `React.JSX.IntrinsicElements`
|
|
113
|
+
augmentations — `document.querySelector` returns the typed element,
|
|
114
|
+
and the custom tags are recognised in JSX without per-file imports.
|
|
115
|
+
- Programmatic command API: `setFieldValue`, `setTableCellValue`,
|
|
116
|
+
`deleteFieldValue`, `deleteTableCellValue`, `selectAndFocusFieldValue`,
|
|
117
|
+
`save`, `discardChanges`, plus by-path equivalents
|
|
118
|
+
(`setFieldValueByPath`, `selectAndFocusFieldValueByPath`,
|
|
119
|
+
`deleteFieldValueByPath`).
|
|
120
|
+
- Configuration inputs: `theme` (`light` / `dark` / `light-hc` /
|
|
121
|
+
`dark-hc`), `language` (BCP-47), `isReadonly`, `enableSaveAsDraft`,
|
|
122
|
+
and a fine-grained `options` object (`hideSubmitButton`,
|
|
123
|
+
`hideReportAsExceptionButton`, `hideDocumentTypeField`, `hideFields`,
|
|
124
|
+
`fieldsSectionPosition`, `enableUserPreferences`,
|
|
125
|
+
`userPreferencesKeySuffix`, `emitDtoStateChanges`).
|
|
126
|
+
- Events: `loaded`, `dirty`, `documentTypeChanged`,
|
|
127
|
+
`extractionResultChanged`, `fieldValueSelected`, `fieldValueChanged`,
|
|
128
|
+
`businessRulesEvaluated`, `fieldsPanelWidthChanged`,
|
|
129
|
+
`fieldsPanelSideChanged`, plus result events for every command
|
|
130
|
+
(`setFieldValueResult`, `setTableCellValueResult`,
|
|
131
|
+
`deleteFieldValueResult`, `deleteTableCellValueResult`,
|
|
132
|
+
`selectAndFocusFieldValueResult`, `setFieldValueByPathResult`,
|
|
133
|
+
`selectAndFocusFieldValueByPathResult`,
|
|
134
|
+
`deleteFieldValueByPathResult`).
|
|
135
|
+
- Bundle ships as MIT-licensed under the `@uipath` scope.
|
|
136
|
+
|
|
137
|
+
### Notes
|
|
138
|
+
|
|
139
|
+
- The bundle is non-trivial (≈6 MB uncompressed). Lazy-load it behind a
|
|
140
|
+
route boundary if the WC is conditional in your app.
|
|
141
|
+
- Complex object props in React 18 require a `ref` — see the README for
|
|
142
|
+
the full pattern.
|
package/LICENSE
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright 2026-present UiPath
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
-
|
|
7
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
-
|
|
9
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright 2026-present UiPath
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|