feat(admin): widget field payload and summer-result data channel (quick-261006-eyj)

- WidgetField posts the summer-action event's detail.payload as payload only
  when the detail carries one; a payload-less post body is unchanged
- after a successful action the response data is set on the element as the
  data attribute (removed when the answer has none) and announced with a
  summer-result event carrying {data, fill, message}; failures dispatch nothing
- WIDGET_RESULT_EVENT exported from formContext; unit tests for both directions
- modules/boardwalk/dist rebuilt
This commit is contained in:
Jakub Zych
2026-10-06 11:16:46 +02:00
parent 6af88f9df6
commit c6f68e4639
5 changed files with 187 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow" />
<meta name="summer-admin-base" content="__SUMMER_ADMIN_BASE__" />
<title>SummerCMS</title>
<script type="module" crossorigin src="./assets/index-z_LzMU8D.js"></script>
<script type="module" crossorigin src="./assets/index-CzWk4rvA.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-CqzF_Nki.css">
</head>
<body>