@aparte/core 0.27.3 → 0.27.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.
- package/dist/custom-elements.json +16177 -16177
- package/dist/{defer-hydration-BG8ANn8q.js → defer-hydration-BlmPqEgs.js} +3 -3
- package/dist/defer-hydration-BlmPqEgs.js.map +1 -0
- package/dist/elicitation/approval-panel.d.ts +1 -1
- package/dist/elicitation/approval-panel.d.ts.map +1 -1
- package/dist/elicitation/types.d.ts +3 -2
- package/dist/elicitation/types.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.node.js +1 -1
- package/package.json +2 -2
- package/dist/defer-hydration-BG8ANn8q.js.map +0 -1
|
@@ -7218,7 +7218,7 @@ function el(tag, className, text) {
|
|
|
7218
7218
|
return node;
|
|
7219
7219
|
}
|
|
7220
7220
|
let askSeq = 0;
|
|
7221
|
-
function buildApprovalPanel(message, options, onChange, details,
|
|
7221
|
+
function buildApprovalPanel(message, options, onChange, details, allowOther = true) {
|
|
7222
7222
|
const cfg = contextConfig();
|
|
7223
7223
|
const panel = el("div", "aparte-elic-panel aparte-approval-panel");
|
|
7224
7224
|
const body = el("div", "aparte-elic-body");
|
|
@@ -7267,7 +7267,7 @@ function buildApprovalPanel(message, options, onChange, details, freeText = true
|
|
|
7267
7267
|
labelled.push({ button, option });
|
|
7268
7268
|
}
|
|
7269
7269
|
body.appendChild(row);
|
|
7270
|
-
const instruction =
|
|
7270
|
+
const instruction = allowOther ? el("textarea", "aparte-approval-instruction") : null;
|
|
7271
7271
|
if (instruction) {
|
|
7272
7272
|
instruction.rows = 1;
|
|
7273
7273
|
instruction.placeholder = cfg.t("approvalInstructionPlaceholder");
|
|
@@ -9346,4 +9346,4 @@ export {
|
|
|
9346
9346
|
collectRendererStyles as y,
|
|
9347
9347
|
contentToText as z
|
|
9348
9348
|
};
|
|
9349
|
-
//# sourceMappingURL=defer-hydration-
|
|
9349
|
+
//# sourceMappingURL=defer-hydration-BlmPqEgs.js.map
|