@getodk/web-forms 0.20.0 → 0.21.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Wn, ref as Me, computed as yt, watch as Tt, createBlock as it, openBlock as te, Transition as qu, withCtx as We, createElementBlock as _e, createCommentVNode as Ee, createElementVNode as N, normalizeClass as On, withDirectives as Ws, vModelText as Vs, createVNode as he, unref as Q, shallowRef as lt, toDisplayString as St, Fragment as ih, renderList as Ju, inject as Qu, onMounted as ed, onUnmounted as td, nextTick as nd, createTextVNode as id } from "vue";
|
|
2
|
-
import { i as sd, a as Nl, b as rd, I as Be, t as xa, _ as Li, s as sh, c as Gt, S as ve, g as od, M as ad, d as ld, e as cd, f as hd, h as ud, p as dd, Q as fd, j as gd } from "./index-
|
|
2
|
+
import { i as sd, a as Nl, b as rd, I as Be, t as xa, _ as Li, s as sh, c as Gt, S as ve, g as od, M as ad, d as ld, e as cd, f as hd, h as ud, p as dd, Q as fd, j as gd } from "./index-DVK30Gxb.js";
|
|
3
3
|
function rh(...i) {
|
|
4
4
|
console.warn(...i);
|
|
5
5
|
}
|
|
@@ -957,7 +957,7 @@ const ef = {
|
|
|
957
957
|
_: 1
|
|
958
958
|
}));
|
|
959
959
|
}
|
|
960
|
-
}), gf = /* @__PURE__ */ Li(ff, [["__scopeId", "data-v-
|
|
960
|
+
}), gf = /* @__PURE__ */ Li(ff, [["__scopeId", "data-v-61c2293c"]]), _f = { key: 0 }, mf = { key: 1 }, pf = { key: 0 }, yf = { key: 1 }, xf = /* @__PURE__ */ Wn({
|
|
961
961
|
__name: "MapConfirmDialog",
|
|
962
962
|
props: {
|
|
963
963
|
singleFeatureType: {},
|
|
@@ -30050,7 +30050,7 @@ const Yy = {
|
|
|
30050
30050
|
})) : Ee("", !0)
|
|
30051
30051
|
], 2));
|
|
30052
30052
|
}
|
|
30053
|
-
}), sx = /* @__PURE__ */ Li(ix, [["__scopeId", "data-v-
|
|
30053
|
+
}), sx = /* @__PURE__ */ Li(ix, [["__scopeId", "data-v-f68b8530"]]), rx = { class: "dialog-field-container" }, ox = {
|
|
30054
30054
|
key: 0,
|
|
30055
30055
|
class: "coords-error-message"
|
|
30056
30056
|
}, ax = { class: "dialog-field-container" }, lx = {
|
|
@@ -30195,7 +30195,7 @@ const Yy = {
|
|
|
30195
30195
|
_: 1
|
|
30196
30196
|
}, 8, ["visible"]));
|
|
30197
30197
|
}
|
|
30198
|
-
}), dx = /* @__PURE__ */ Li(ux, [["__scopeId", "data-v-
|
|
30198
|
+
}), dx = /* @__PURE__ */ Li(ux, [["__scopeId", "data-v-2b003337"]]), fx = { class: "map-block-component" }, gx = {
|
|
30199
30199
|
key: 1,
|
|
30200
30200
|
class: "map-overlay get-location-overlay"
|
|
30201
30201
|
}, _x = { key: 0 }, mx = { key: 1 }, px = { class: "error-message" }, yx = /* @__PURE__ */ Wn({
|
|
@@ -538,6 +538,10 @@ const odkThemePreset = t$G(Qr$1, {
|
|
|
538
538
|
}
|
|
539
539
|
},
|
|
540
540
|
dialog: {
|
|
541
|
+
root: {
|
|
542
|
+
background: "var(--odk-base-background-color)",
|
|
543
|
+
borderRadius: "var(--odk-radius)"
|
|
544
|
+
},
|
|
541
545
|
colorScheme: {
|
|
542
546
|
light: {
|
|
543
547
|
root: {
|
|
@@ -20197,26 +20201,12 @@ class Geotrace extends Geolocation {
|
|
|
20197
20201
|
return nA.some((rA) => !rA.length) ? "" : nA.join(SEGMENT_SEPARATOR);
|
|
20198
20202
|
}
|
|
20199
20203
|
}
|
|
20200
|
-
class ValueTypeInvariantError extends ErrorProductionDesignPendingError {
|
|
20201
|
-
constructor(tA, AA) {
|
|
20202
|
-
super(`(${tA}) ${AA}`), this.valueType = tA;
|
|
20203
|
-
}
|
|
20204
|
-
}
|
|
20205
20204
|
const INT_BOUNDS = {
|
|
20206
20205
|
MIN: -2147483648n,
|
|
20207
20206
|
MAX: 2147483647n
|
|
20208
|
-
}, assertIntBounds = (eA) => {
|
|
20209
|
-
if (eA == null)
|
|
20210
|
-
return eA;
|
|
20211
|
-
if (eA < INT_BOUNDS.MIN || eA > INT_BOUNDS.MAX)
|
|
20212
|
-
throw new ValueTypeInvariantError(
|
|
20213
|
-
"int",
|
|
20214
|
-
`Unable to decode int value from ${String(eA)}: expected value to be between ${INT_BOUNDS.MIN} and ${INT_BOUNDS.MAX} (inclusive)`
|
|
20215
|
-
);
|
|
20216
|
-
return eA;
|
|
20217
|
-
}, boundedInt = (eA) => {
|
|
20207
|
+
}, assertIntBounds = (eA) => eA == null ? eA : eA < INT_BOUNDS.MIN || eA > INT_BOUNDS.MAX ? null : eA, boundedInt = (eA) => {
|
|
20218
20208
|
const tA = BigInt(eA);
|
|
20219
|
-
return assertIntBounds(tA)
|
|
20209
|
+
return assertIntBounds(tA);
|
|
20220
20210
|
}, numberToInt = (eA) => Number.isFinite(eA) ? boundedInt(Math.trunc(eA)) : null, encodeInt = (eA) => {
|
|
20221
20211
|
let tA;
|
|
20222
20212
|
switch (typeof eA) {
|
|
@@ -20270,8 +20260,8 @@ const validateTimeString = (eA) => {
|
|
|
20270
20260
|
return parseZonedDateTimeToString(tA);
|
|
20271
20261
|
}
|
|
20272
20262
|
return eA instanceof Xn$1.PlainTime ? eA.toString() : eA instanceof Xn$1.PlainDateTime ? eA.toPlainTime().toString() : eA instanceof Xn$1.ZonedDateTime ? parseZonedDateTimeToString(eA) : validateTimeString(eA) ?? "";
|
|
20273
|
-
} catch
|
|
20274
|
-
return
|
|
20263
|
+
} catch {
|
|
20264
|
+
return "";
|
|
20275
20265
|
}
|
|
20276
20266
|
};
|
|
20277
20267
|
class TimeValueCodec extends ValueCodec {
|
|
@@ -20545,7 +20535,7 @@ class XFormDefinition {
|
|
|
20545
20535
|
body;
|
|
20546
20536
|
model;
|
|
20547
20537
|
}
|
|
20548
|
-
const JR_RESOURCE_URL_PROTOCOL = "jr:", ALL_RESOURCE_TYPES = ["image", "audio", "video"], isResourceType = (eA) => ALL_RESOURCE_TYPES.includes(eA);
|
|
20538
|
+
const JR_RESOURCE_URL_PROTOCOL = "jr:", LAST_SAVED_INSTANCE_ID = "jr://instance/last-saved", ALL_RESOURCE_TYPES = ["image", "audio", "video"], isResourceType = (eA) => ALL_RESOURCE_TYPES.includes(eA);
|
|
20549
20539
|
class JRResourceURL extends URL {
|
|
20550
20540
|
static create(tA, AA) {
|
|
20551
20541
|
return new this(`jr://${tA}/${AA}`);
|
|
@@ -20559,6 +20549,9 @@ class JRResourceURL extends URL {
|
|
|
20559
20549
|
constructor(tA) {
|
|
20560
20550
|
super(tA);
|
|
20561
20551
|
}
|
|
20552
|
+
isLastSavedInstance() {
|
|
20553
|
+
return this.href === LAST_SAVED_INSTANCE_ID;
|
|
20554
|
+
}
|
|
20562
20555
|
}
|
|
20563
20556
|
const assertSecondaryInstanceDefinition = ({ root: eA }) => {
|
|
20564
20557
|
if (eA.getAttributeValue("id") == null)
|
|
@@ -21379,7 +21372,10 @@ class SecondaryInstancesDefinition extends Map {
|
|
|
21379
21372
|
throw new ErrorProductionDesignPendingError(
|
|
21380
21373
|
`Unexpected external secondary instance src attribute: ${aA}`
|
|
21381
21374
|
);
|
|
21382
|
-
const lA = JRResourceURL.from(aA)
|
|
21375
|
+
const lA = JRResourceURL.from(aA);
|
|
21376
|
+
if (lA.isLastSavedInstance())
|
|
21377
|
+
return new BlankSecondaryInstanceSource(iA, lA, oA);
|
|
21378
|
+
const sA = await ExternalSecondaryInstanceResource.load(
|
|
21383
21379
|
iA,
|
|
21384
21380
|
lA,
|
|
21385
21381
|
AA
|
|
@@ -23018,6 +23014,12 @@ class DescendantNode extends InstanceNode {
|
|
|
23018
23014
|
};
|
|
23019
23015
|
isSelfRelevant;
|
|
23020
23016
|
isRelevant = () => this.hasNonRelevantAncestor() ? !1 : this.isSelfRelevant();
|
|
23017
|
+
hasRelevantBodyNodes = () => {
|
|
23018
|
+
if (!this.isSelfRelevant())
|
|
23019
|
+
return !1;
|
|
23020
|
+
const tA = this.getChildren();
|
|
23021
|
+
return tA?.length ? tA.filter((AA) => AA.nodeType !== "model-value").some((AA) => AA.getChildren()?.length ? AA.hasRelevantBodyNodes() : AA.isSelfRelevant()) : !1;
|
|
23022
|
+
};
|
|
23021
23023
|
isRequired;
|
|
23022
23024
|
// XFormsXPathPrimaryInstanceDescendantNode
|
|
23023
23025
|
/**
|
|
@@ -26132,7 +26134,7 @@ class Html extends MarkdownNode {
|
|
|
26132
26134
|
super(), this.unsafeHtml = tA;
|
|
26133
26135
|
}
|
|
26134
26136
|
}
|
|
26135
|
-
const STYLE_PROPERTY_REGEX = /style\s*=\s*(?:'|")(.+)(?:'|")/i, HTML_TAG_MAP = {
|
|
26137
|
+
const LEADING_WHITESPACE_REGEX = /^\s+/, STYLE_PROPERTY_REGEX = /style\s*=\s*(?:'|")(.+)(?:'|")/i, HTML_TAG_MAP = {
|
|
26136
26138
|
span: Span,
|
|
26137
26139
|
div: Div,
|
|
26138
26140
|
p: Paragraph,
|
|
@@ -26219,7 +26221,7 @@ function mdastToOdkMarkdown(eA) {
|
|
|
26219
26221
|
}
|
|
26220
26222
|
function escapeEditableChunks(eA) {
|
|
26221
26223
|
return eA.map((tA, AA) => {
|
|
26222
|
-
const nA = tA.asString;
|
|
26224
|
+
const nA = tA.asString.replace(LEADING_WHITESPACE_REGEX, " ");
|
|
26223
26225
|
if (nA && tA.source === "output") {
|
|
26224
26226
|
const rA = `--ODK-OUTPUT-STRING-${AA}--`;
|
|
26225
26227
|
return outputStrings.set(rA, nA), "`" + rA + "`";
|
|
@@ -26227,9 +26229,12 @@ function escapeEditableChunks(eA) {
|
|
|
26227
26229
|
return nA ?? "";
|
|
26228
26230
|
}).join("");
|
|
26229
26231
|
}
|
|
26232
|
+
function isSingleOrderedList(eA) {
|
|
26233
|
+
return eA.length === 1 && eA[0]?.role === "parent" && eA[0]?.elementName === "ol" && eA[0].children.length === 1;
|
|
26234
|
+
}
|
|
26230
26235
|
function toOdkMarkdown(eA) {
|
|
26231
26236
|
const tA = fromMarkdown(eA), AA = mdastToOdkMarkdown(tA.children);
|
|
26232
|
-
return AA.length === 1 && AA[0]?.role === "parent" && AA[0]?.elementName === "p" ? AA[0].children : AA;
|
|
26237
|
+
return isSingleOrderedList(AA) ? [new ChildMarkdownNode(eA)] : AA.length === 1 && AA[0]?.role === "parent" && AA[0]?.elementName === "p" ? AA[0].children : AA;
|
|
26233
26238
|
}
|
|
26234
26239
|
function format(eA) {
|
|
26235
26240
|
const tA = escapeEditableChunks(eA), AA = toOdkMarkdown(tA);
|
|
@@ -26332,6 +26337,7 @@ class Group extends DescendantNode {
|
|
|
26332
26337
|
label: createNodeLabel(this, nA),
|
|
26333
26338
|
hint: null,
|
|
26334
26339
|
children: rA.childIds,
|
|
26340
|
+
hasRelevantBodyNodes: this.hasRelevantBodyNodes,
|
|
26335
26341
|
attributes: this.attributeState.getAttributes,
|
|
26336
26342
|
valueOptions: null,
|
|
26337
26343
|
value: null
|
|
@@ -26657,14 +26663,10 @@ class RangeCodec extends ValueCodec {
|
|
|
26657
26663
|
constructor(tA, AA) {
|
|
26658
26664
|
const { valueType: nA, bounds: rA } = AA, { min: oA, max: iA } = rA, aA = (uA) => uA == null ? uA : typeof uA == "string" ? tA.decodeValue(uA) : uA, lA = (uA) => {
|
|
26659
26665
|
const gA = aA(uA);
|
|
26660
|
-
|
|
26661
|
-
|
|
26662
|
-
nA,
|
|
26663
|
-
`Expected value to be within bounds [${oA}, ${iA}]. Got: ${uA}`
|
|
26664
|
-
);
|
|
26665
|
-
}, sA = (uA) => (lA(uA), tA.encodeValue(uA)), cA = (uA) => {
|
|
26666
|
+
return gA != null && gA >= oA && gA <= iA;
|
|
26667
|
+
}, sA = (uA) => tA.encodeValue(lA(uA) ? uA : null), cA = (uA) => {
|
|
26666
26668
|
const gA = tA.decodeValue(uA);
|
|
26667
|
-
return lA(
|
|
26669
|
+
return lA(gA) ? gA : null;
|
|
26668
26670
|
};
|
|
26669
26671
|
super(nA, sA, cA);
|
|
26670
26672
|
}
|
|
@@ -26946,6 +26948,7 @@ class RepeatInstance extends DescendantNode {
|
|
|
26946
26948
|
hint: null,
|
|
26947
26949
|
attributes: this.attributeState.getAttributes,
|
|
26948
26950
|
children: cA.childIds,
|
|
26951
|
+
hasRelevantBodyNodes: this.hasRelevantBodyNodes,
|
|
26949
26952
|
valueOptions: null,
|
|
26950
26953
|
value: null
|
|
26951
26954
|
},
|
|
@@ -27050,6 +27053,7 @@ class BaseRepeatRange extends DescendantNode {
|
|
|
27050
27053
|
label: createNodeLabel(this, AA),
|
|
27051
27054
|
hint: null,
|
|
27052
27055
|
children: rA.childIds,
|
|
27056
|
+
hasRelevantBodyNodes: this.hasRelevantBodyNodes,
|
|
27053
27057
|
attributes: oA.getAttributes,
|
|
27054
27058
|
valueOptions: null,
|
|
27055
27059
|
value: null
|
|
@@ -27351,15 +27355,7 @@ const TRIGGER_INSTANCE_VALUES = {
|
|
|
27351
27355
|
default:
|
|
27352
27356
|
throw new UnreachableError$1(eA);
|
|
27353
27357
|
}
|
|
27354
|
-
}, decodeTriggerValue = (eA) =>
|
|
27355
|
-
if (eA === "OK")
|
|
27356
|
-
return !0;
|
|
27357
|
-
if (eA === "")
|
|
27358
|
-
return !1;
|
|
27359
|
-
if (eA.toLowerCase() === "ok")
|
|
27360
|
-
return console.warn("Treating trigger value as case-insensitive:", eA), !0;
|
|
27361
|
-
throw new ErrorProductionDesignPendingError(`Unexpected trigger value: ${eA}`);
|
|
27362
|
-
};
|
|
27358
|
+
}, decodeTriggerValue = (eA) => eA.toLowerCase() === "ok";
|
|
27363
27359
|
class TriggerCodec extends ValueCodec {
|
|
27364
27360
|
constructor() {
|
|
27365
27361
|
super("string", encodeTriggerValue, decodeTriggerValue);
|
|
@@ -27797,6 +27793,7 @@ class Root extends DescendantNode {
|
|
|
27797
27793
|
valueOptions: null,
|
|
27798
27794
|
value: null,
|
|
27799
27795
|
children: aA.childIds,
|
|
27796
|
+
hasRelevantBodyNodes: this.hasRelevantBodyNodes,
|
|
27800
27797
|
attributes: this.attributeState.getAttributes
|
|
27801
27798
|
},
|
|
27802
27799
|
this.instanceConfig
|
|
@@ -27836,6 +27833,7 @@ class PrimaryInstance extends InstanceNode {
|
|
|
27836
27833
|
isReadonly = () => !1;
|
|
27837
27834
|
hasNonRelevantAncestor = () => !1;
|
|
27838
27835
|
isRelevant = () => !0;
|
|
27836
|
+
hasRelevantBodyNodes = () => this.root.hasRelevantBodyNodes();
|
|
27839
27837
|
geolocationProvider;
|
|
27840
27838
|
// TranslationContext (support)
|
|
27841
27839
|
setActiveLanguage;
|
|
@@ -31645,6 +31643,7 @@ const DOM_PURIFY_SETTINGS = {
|
|
|
31645
31643
|
ALLOWED_TAGS: [
|
|
31646
31644
|
"b",
|
|
31647
31645
|
"br",
|
|
31646
|
+
"div",
|
|
31648
31647
|
"em",
|
|
31649
31648
|
"i",
|
|
31650
31649
|
"li",
|
|
@@ -32643,7 +32642,8 @@ const _hoisted_1$E = { key: 2 }, _hoisted_2$j = { key: 3 }, _hoisted_3$e = {
|
|
|
32643
32642
|
const tA = eA, AA = computed(() => !!tA.node.currentState.children.find(
|
|
32644
32643
|
(nA) => nA.nodeType === "select" && (nA.appearances.label || nA.appearances["list-nolabel"] || nA.appearances.list)
|
|
32645
32644
|
));
|
|
32646
|
-
return (nA, rA) => (openBlock(), createBlock(FormPanel, {
|
|
32645
|
+
return (nA, rA) => eA.node.currentState.hasRelevantBodyNodes ? (openBlock(), createBlock(FormPanel, {
|
|
32646
|
+
key: 0,
|
|
32647
32647
|
"title-formatted": eA.node.currentState.label?.formatted,
|
|
32648
32648
|
"no-ui": !eA.node.currentState.label
|
|
32649
32649
|
}, {
|
|
@@ -32657,9 +32657,9 @@ const _hoisted_1$E = { key: 2 }, _hoisted_2$j = { key: 3 }, _hoisted_3$e = {
|
|
|
32657
32657
|
], 2)
|
|
32658
32658
|
]),
|
|
32659
32659
|
_: 1
|
|
32660
|
-
}, 8, ["title-formatted", "no-ui"]));
|
|
32660
|
+
}, 8, ["title-formatted", "no-ui"])) : createCommentVNode("", !0);
|
|
32661
32661
|
}
|
|
32662
|
-
}), FormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
32662
|
+
}), FormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-d8e7700b"]]), QUESTION_HAS_ERROR = /* @__PURE__ */ Symbol("formQuestionHasError"), SUBMIT_PRESSED = /* @__PURE__ */ Symbol("formSubmitPressed"), IS_FORM_EDIT_MODE = /* @__PURE__ */ Symbol("isFormEditMode"), FORM_OPTIONS = /* @__PURE__ */ Symbol("formOptions"), FORM_MEDIA_CACHE = /* @__PURE__ */ Symbol("formMediaAttachmentCache"), MODES = {
|
|
32663
32663
|
SELECT: "select",
|
|
32664
32664
|
// Used in Select one from map question type
|
|
32665
32665
|
LOCATION: "location",
|
|
@@ -33577,7 +33577,7 @@ const _hoisted_1$s = { class: "geo-dialog-header" }, _hoisted_2$f = { class: "ge
|
|
|
33577
33577
|
}), sA = async () => {
|
|
33578
33578
|
iA.value = rA.LOADING;
|
|
33579
33579
|
try {
|
|
33580
|
-
oA.value = (await import("./MapBlock-
|
|
33580
|
+
oA.value = (await import("./MapBlock-hHsfEFNE.js")).default, iA.value = rA.READY;
|
|
33581
33581
|
} catch {
|
|
33582
33582
|
iA.value = rA.ERROR;
|
|
33583
33583
|
}
|
|
@@ -39215,7 +39215,7 @@ const MULTILINE_APPEARANCE_ROW_SIZE = 4, _sfc_main$r = /* @__PURE__ */ defineCom
|
|
|
39215
39215
|
}, null, 8, ["message"])
|
|
39216
39216
|
], 64));
|
|
39217
39217
|
}
|
|
39218
|
-
}), InputControl = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
39218
|
+
}), InputControl = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-97842909"]]);
|
|
39219
39219
|
class UnreachableError extends Error {
|
|
39220
39220
|
constructor(tA, AA) {
|
|
39221
39221
|
let nA = `Unreachable value: ${JSON.stringify(tA)}`;
|
|
@@ -41499,7 +41499,7 @@ const ft = [
|
|
|
41499
41499
|
}, null, 8, ["message"])
|
|
41500
41500
|
], 64));
|
|
41501
41501
|
}
|
|
41502
|
-
}), RankControl = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
41502
|
+
}), RankControl = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-d99b4e55"]]), _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
41503
41503
|
__name: "ColumnarAppearance",
|
|
41504
41504
|
props: {
|
|
41505
41505
|
appearances: {}
|
|
@@ -44546,7 +44546,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
44546
44546
|
])
|
|
44547
44547
|
], 64));
|
|
44548
44548
|
}
|
|
44549
|
-
}), TriggerControl = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
44549
|
+
}), TriggerControl = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ee4ae996"]]), _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
44550
44550
|
__name: "UploadFileControl",
|
|
44551
44551
|
props: {
|
|
44552
44552
|
question: {}
|
|
@@ -44756,7 +44756,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
44756
44756
|
}
|
|
44757
44757
|
];
|
|
44758
44758
|
});
|
|
44759
|
-
return (iA, aA) => (openBlock(), createBlock(FormPanel, {
|
|
44759
|
+
return (iA, aA) => eA.instance.currentState.hasRelevantBodyNodes ? (openBlock(), createBlock(FormPanel, {
|
|
44760
|
+
key: 0,
|
|
44760
44761
|
title: nA.value.literal,
|
|
44761
44762
|
"title-formatted": nA.value.formatted,
|
|
44762
44763
|
"menu-items": oA.value,
|
|
@@ -44767,7 +44768,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
44767
44768
|
createVNode(_sfc_main$1, { nodes: rA.value }, null, 8, ["nodes"])
|
|
44768
44769
|
]),
|
|
44769
44770
|
_: 1
|
|
44770
|
-
}, 8, ["title", "title-formatted", "menu-items", "label-number"]));
|
|
44771
|
+
}, 8, ["title", "title-formatted", "menu-items", "label-number"])) : createCommentVNode("", !0);
|
|
44771
44772
|
}
|
|
44772
44773
|
}), _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
44773
44774
|
__name: "RepeatRange",
|
|
@@ -44777,13 +44778,13 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
44777
44778
|
setup(eA) {
|
|
44778
44779
|
const tA = eA, AA = computed(() => tA.node.currentState.label?.formatted);
|
|
44779
44780
|
return (nA, rA) => (openBlock(), createElementBlock(Fragment, null, [
|
|
44780
|
-
(openBlock(!0), createElementBlock(Fragment,
|
|
44781
|
+
eA.node.currentState.hasRelevantBodyNodes ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(eA.node.currentState.children, (oA, iA) => (openBlock(), createBlock(_sfc_main$3, {
|
|
44781
44782
|
key: iA,
|
|
44782
44783
|
instance: oA,
|
|
44783
44784
|
"instance-index": iA
|
|
44784
|
-
}, null, 8, ["instance", "instance-index"]))), 128)),
|
|
44785
|
+
}, null, 8, ["instance", "instance-index"]))), 128)) : createCommentVNode("", !0),
|
|
44785
44786
|
eA.node.nodeType === "repeat-range:uncontrolled" ? (openBlock(), createBlock(unref(script$D), {
|
|
44786
|
-
key:
|
|
44787
|
+
key: 1,
|
|
44787
44788
|
outlined: "",
|
|
44788
44789
|
severity: "contrast",
|
|
44789
44790
|
class: "button-add-instance",
|
|
@@ -44803,7 +44804,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
44803
44804
|
})) : createCommentVNode("", !0)
|
|
44804
44805
|
], 64));
|
|
44805
44806
|
}
|
|
44806
|
-
}), RepeatRange = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
44807
|
+
}), RepeatRange = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-feb1ea4b"]]), _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
44807
44808
|
__name: "QuestionList",
|
|
44808
44809
|
props: {
|
|
44809
44810
|
nodes: {}
|
|
@@ -45013,7 +45014,7 @@ const geolocationService = GeolocationService.getInstance(), _hoisted_1 = { clas
|
|
|
45013
45014
|
},
|
|
45014
45015
|
emits: ["submit", "submitChunked"],
|
|
45015
45016
|
setup(eA, { emit: tA }) {
|
|
45016
|
-
const AA = "v0.
|
|
45017
|
+
const AA = "v0.21.0", nA = eA, rA = (yA) => {
|
|
45017
45018
|
const DA = async (mA) => {
|
|
45018
45019
|
const wA = await mA, QA = {
|
|
45019
45020
|
form: uA,
|