tanshanshan
b7f9bf5a5c
fix(diffs): replace iconMarkup string with ToolbarIconName enum to el… ( #83955 )
...
* fix(diffs): replace iconMarkup string with ToolbarIconName enum to eliminate XSS sink
Replace createToolbarButton's iconMarkup: string parameter with icon: ToolbarIconName,
a union of known icon names. SVG generation moves into a sealed toolbarIconSvg map so
innerHTML only receives compile-time-known strings. The old splitIcon/unifiedIcon/
wrapIcon/backgroundIcon/themeIcon functions are removed; callers now pass icon name
literals instead of raw markup strings.
Closes #83918
* fix(diffs): remove jsdom dependency from viewer-client test
Use source file string analysis instead of jsdom to avoid missing
@types/jsdom declaration error in check-test-types CI job.
* fix(diffs): restore wrap icon arrow segment in ToolbarIconName map
The wrap-on and wrap-off SVG paths were missing the original wrap arrow
segment (M14 6h-4V5h4.5...). Restore the exact original path data and
rebuild the viewer runtime bundle.
* build(diffs): refresh viewer runtime after rebase
---------
Co-authored-by: tanshanshan <tanshanshan@users.noreply.github.com >
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-05-21 17:39:01 +08:00
..
2026-05-21 08:28:44 +01:00
2026-05-19 09:19:09 +00:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-21 08:28:44 +01:00
2026-05-21 08:28:44 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-18 14:56:06 +01:00
2026-05-21 09:01:32 +00:00
2026-05-20 21:58:56 +01:00
2026-05-21 17:39:01 +08:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-21 08:28:44 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 15:35:52 -07:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 15:21:13 -07:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 17:13:49 +08:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 02:26:17 +00:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 15:21:13 -07:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-15 07:28:28 +01:00
2026-05-20 20:47:32 -07:00
2026-05-20 21:58:56 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 00:43:05 -07:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-15 07:28:28 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 00:19:10 -07:00
2026-05-20 21:58:56 +01:00
2026-05-13 13:33:38 +01:00
2026-05-12 00:23:11 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-21 07:38:51 +01:00
2026-05-21 08:28:44 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 21:58:56 +01:00
2026-05-20 15:21:13 -07:00
2026-05-20 21:58:56 +01:00
2026-05-16 12:38:51 +01:00
2026-05-17 02:05:22 +01:00
2026-05-17 02:36:48 +08:00