@helpai/elements 0.23.0 → 0.24.0
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/configurator.mjs +6 -0
- package/elements-web-component.esm.js +2 -2
- package/elements-web-component.esm.js.map +3 -3
- package/elements.cjs.js +2 -2
- package/elements.cjs.js.map +3 -3
- package/elements.esm.js +2 -2
- package/elements.esm.js.map +3 -3
- package/elements.js +2 -2
- package/elements.js.map +3 -3
- package/index.d.ts +19 -1
- package/index.mjs +6 -3
- package/package.json +1 -1
- package/schema.d.ts +53 -49
- package/schema.json +26 -2
- package/schema.mjs +6 -0
- package/web-component.mjs +6 -3
package/configurator.mjs
CHANGED
|
@@ -432,6 +432,12 @@ var formDefSchema = z12.object({
|
|
|
432
432
|
frequency: z12.enum(["once", "conversation", "always"]).default("once").describe("`once` (per device, persisted), `conversation` (re-eligible each new conversation), or `always`."),
|
|
433
433
|
mirrorToContext: z12.boolean().default(true).describe(
|
|
434
434
|
"Mirror the answers into `userContext` so they ride every request. Set `false` for PII (DOB, policy #, symptoms) \u2014 those then go only to the submit endpoint."
|
|
435
|
+
),
|
|
436
|
+
reopenable: z12.boolean().default(true).describe(
|
|
437
|
+
'Skipped marker offers a "Fill out" button that reopens the form. Set `false` when a skip must be final (e.g. a consent ask that should not be re-surfaced).'
|
|
438
|
+
),
|
|
439
|
+
reviewable: z12.boolean().default(true).describe(
|
|
440
|
+
"Submitted marker expands in place to a read-only list of the visitor's answers. Set `false` for sensitive answers that shouldn't linger on screen."
|
|
435
441
|
)
|
|
436
442
|
}).loose();
|
|
437
443
|
var formsSchema = z12.array(formDefSchema).max(20).describe(
|