survey-vue3-ui 1.9.121 → 1.9.122
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/package.json +1 -1
- package/survey-vue3-ui.es.js +663 -688
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { shallowReactive as Ce, watch as
|
|
2
|
-
import { Base as $e, RendererFactory as
|
|
1
|
+
import { shallowReactive as Ce, watch as G, onBeforeUnmount as J, onMounted as H, ref as _, shallowRef as j, triggerRef as le, unref as f, isRef as be, defineComponent as h, computed as w, onUpdated as x, resolveComponent as p, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as b, createCommentVNode as d, Fragment as $, renderList as B, createBlock as q, resolveDynamicComponent as T, normalizeProps as F, mergeProps as W, withCtx as V, normalizeStyle as S, createElementVNode as c, onUnmounted as z, withDirectives as P, vShow as M, toDisplayString as R, vModelRadio as ee, vModelCheckbox as ne, vModelSelect as ke, vModelText as fe, getCurrentInstance as oe, guardReactiveProps as ye, createStaticVNode as Ie, resolveDirective as X, toRaw as we, Teleport as Se, useSlots as Re, renderSlot as Te } from "vue";
|
|
2
|
+
import { Base as $e, RendererFactory as se, DropdownListModel as _e, Helpers as De, DropdownMultiSelectListModel as Be, doKey2ClickUp as qe, createSvg as Le, ActionDropdownViewModel as Ne, getActionDropdownButtonTarget as Pe, createPopupViewModel as ae, SurveyProgressModel as ue, SurveyProgressButtonsModel as Ae, TOCModel as Me, PopupSurveyModel as He, settings as K, createDialogOptions as We, createPopupModalViewModel as Ee, ButtonGroupItemModel as Ve, SvgRegistry as Oe, SurveyModel as Fe, doKey2ClickDown as ze, doKey2ClickBlur as Ue } from "survey-core";
|
|
3
3
|
$e.createPropertiesHash = () => Ce({});
|
|
4
4
|
function Ke(r) {
|
|
5
5
|
return !r || r.__vueImplemented ? !1 : (r.createArrayCoreHandler = (s, o) => {
|
|
@@ -25,7 +25,7 @@ function de(r, s) {
|
|
|
25
25
|
}
|
|
26
26
|
function L(r, s, o) {
|
|
27
27
|
let e = !1;
|
|
28
|
-
const n =
|
|
28
|
+
const n = G(
|
|
29
29
|
r,
|
|
30
30
|
(t, a) => {
|
|
31
31
|
t && s && s(t, a), a && (de(a, e), o && o(a)), e = Ke(t);
|
|
@@ -34,7 +34,7 @@ function L(r, s, o) {
|
|
|
34
34
|
immediate: !0
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
|
-
|
|
37
|
+
J(() => {
|
|
38
38
|
const t = r();
|
|
39
39
|
t && (de(t, e), o && o(t), n());
|
|
40
40
|
});
|
|
@@ -42,7 +42,7 @@ function L(r, s, o) {
|
|
|
42
42
|
function A(r, s, o, e) {
|
|
43
43
|
L(() => r.question, o, e), H(() => {
|
|
44
44
|
r.question && r.question.afterRenderQuestionElement(s.value);
|
|
45
|
-
}),
|
|
45
|
+
}), J(() => {
|
|
46
46
|
r.question.beforeDestroyQuestionElement(s.value);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
@@ -51,7 +51,7 @@ function Q(r) {
|
|
|
51
51
|
s.value = n.renderedHtml, n.onChanged = () => {
|
|
52
52
|
s.value = n.renderedHtml;
|
|
53
53
|
};
|
|
54
|
-
}, e =
|
|
54
|
+
}, e = G(
|
|
55
55
|
r,
|
|
56
56
|
(n, t) => {
|
|
57
57
|
t && (t.onChanged = () => {
|
|
@@ -59,7 +59,7 @@ function Q(r) {
|
|
|
59
59
|
},
|
|
60
60
|
{ immediate: !0 }
|
|
61
61
|
);
|
|
62
|
-
return
|
|
62
|
+
return J(() => {
|
|
63
63
|
e();
|
|
64
64
|
}), s;
|
|
65
65
|
}
|
|
@@ -79,16 +79,16 @@ const je = /* @__PURE__ */ h({
|
|
|
79
79
|
const e = w(() => s.page._showDescription), n = w(() => s.page.rows);
|
|
80
80
|
return H(() => {
|
|
81
81
|
s.survey && s.survey.afterRenderPage(o.value);
|
|
82
|
-
}),
|
|
82
|
+
}), x(() => {
|
|
83
83
|
s.survey.afterRenderPage(o.value);
|
|
84
84
|
}), (t, a) => {
|
|
85
|
-
const
|
|
85
|
+
const y = p("survey-element-title"), m = p("survey-string"), v = p("survey-errors"), g = p("survey-row");
|
|
86
86
|
return i(), u("div", {
|
|
87
87
|
class: l(t.page.cssRoot),
|
|
88
88
|
ref_key: "root",
|
|
89
89
|
ref: o
|
|
90
90
|
}, [
|
|
91
|
-
b(
|
|
91
|
+
b(y, {
|
|
92
92
|
element: t.page,
|
|
93
93
|
css: t.css
|
|
94
94
|
}, null, 8, ["element", "css"]),
|
|
@@ -100,7 +100,7 @@ const je = /* @__PURE__ */ h({
|
|
|
100
100
|
locString: t.page.locDescription
|
|
101
101
|
}, null, 8, ["locString"])
|
|
102
102
|
], 2)) : d("", !0),
|
|
103
|
-
b(
|
|
103
|
+
b(v, { element: t.page }, null, 8, ["element"]),
|
|
104
104
|
(i(!0), u($, null, B(n.value, (I, C) => (i(), q(T(t.page.getSurvey().getRowWrapperComponentName(I)), F(W({
|
|
105
105
|
key: t.page.id + "_" + C
|
|
106
106
|
}, {
|
|
@@ -130,7 +130,7 @@ const je = /* @__PURE__ */ h({
|
|
|
130
130
|
var e = o.value;
|
|
131
131
|
e && s.survey && s.survey.afterRenderHeader(e);
|
|
132
132
|
}), (e, n) => {
|
|
133
|
-
const t =
|
|
133
|
+
const t = p("survey-element-title"), a = p("survey-string");
|
|
134
134
|
return e.survey.renderedHasHeader ? (i(), u("div", {
|
|
135
135
|
key: 0,
|
|
136
136
|
class: l(e.survey.css.header),
|
|
@@ -196,17 +196,17 @@ const je = /* @__PURE__ */ h({
|
|
|
196
196
|
}, 10);
|
|
197
197
|
}
|
|
198
198
|
}), (n, t) => {
|
|
199
|
-
const a =
|
|
199
|
+
const a = p("survey-element");
|
|
200
200
|
return i(), u("div", {
|
|
201
201
|
class: l(n.row.getRowCss()),
|
|
202
202
|
ref_key: "root",
|
|
203
203
|
ref: e
|
|
204
204
|
}, [
|
|
205
|
-
(i(!0), u($, null, B(o.value, (
|
|
205
|
+
(i(!0), u($, null, B(o.value, (y) => (i(), q(a, {
|
|
206
206
|
row: n.row,
|
|
207
207
|
css: n.css,
|
|
208
|
-
element:
|
|
209
|
-
key:
|
|
208
|
+
element: y,
|
|
209
|
+
key: y.id
|
|
210
210
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
211
211
|
], 2);
|
|
212
212
|
};
|
|
@@ -224,15 +224,15 @@ const je = /* @__PURE__ */ h({
|
|
|
224
224
|
setup(r) {
|
|
225
225
|
const s = r, o = _(null), e = w(() => s.element.showErrorOnTop), n = w(() => s.element.showErrorOnBottom), t = (C) => C.cssContent, a = () => s.element.getRootStyle();
|
|
226
226
|
L(() => s.element);
|
|
227
|
-
const
|
|
227
|
+
const y = () => {
|
|
228
228
|
o.value && s.element.afterRender(o.value);
|
|
229
|
-
}, m =
|
|
229
|
+
}, m = G(
|
|
230
230
|
() => o.value,
|
|
231
231
|
() => {
|
|
232
|
-
|
|
232
|
+
y();
|
|
233
233
|
}
|
|
234
|
-
),
|
|
235
|
-
componentName:
|
|
234
|
+
), v = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), g = w(() => s.element.survey.getQuestionContentWrapperComponentName(s.element) || v.value), I = w(() => ({
|
|
235
|
+
componentName: v.value,
|
|
236
236
|
componentData: {
|
|
237
237
|
question: s.element,
|
|
238
238
|
data: s.element.survey.getElementWrapperComponentData(s.element)
|
|
@@ -240,14 +240,14 @@ const je = /* @__PURE__ */ h({
|
|
|
240
240
|
}));
|
|
241
241
|
return z(() => {
|
|
242
242
|
m();
|
|
243
|
-
}), (C,
|
|
244
|
-
const k =
|
|
243
|
+
}), (C, N) => {
|
|
244
|
+
const k = p("survey-errors"), D = p("survey-element-header"), E = p("survey-string"), O = p("survey-question-comment");
|
|
245
245
|
return i(), u("div", {
|
|
246
246
|
class: l(C.element.getRootCss()),
|
|
247
247
|
style: S(a()),
|
|
248
248
|
ref_key: "root",
|
|
249
249
|
ref: o,
|
|
250
|
-
onFocusin:
|
|
250
|
+
onFocusin: N[0] || (N[0] = (U) => C.element.focusIn()),
|
|
251
251
|
id: C.element.id,
|
|
252
252
|
role: C.element.ariaRole,
|
|
253
253
|
"aria-required": C.element.ariaRequired,
|
|
@@ -266,7 +266,7 @@ const je = /* @__PURE__ */ h({
|
|
|
266
266
|
element: C.element,
|
|
267
267
|
css: C.css
|
|
268
268
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
269
|
-
|
|
269
|
+
P(c("div", {
|
|
270
270
|
class: l(t(C.element) || void 0),
|
|
271
271
|
role: "presentation"
|
|
272
272
|
}, [
|
|
@@ -332,7 +332,7 @@ const je = /* @__PURE__ */ h({
|
|
|
332
332
|
return L(() => s.element), H(() => {
|
|
333
333
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, o.value);
|
|
334
334
|
}), (t, a) => {
|
|
335
|
-
const
|
|
335
|
+
const y = p("survey-errors"), m = p("survey-element-header"), v = p("survey-row"), g = p("sv-action-bar");
|
|
336
336
|
return t.element.isVisible ? (i(), u("div", {
|
|
337
337
|
key: 0,
|
|
338
338
|
class: l(t.element.getContainerCss()),
|
|
@@ -341,7 +341,7 @@ const je = /* @__PURE__ */ h({
|
|
|
341
341
|
ref_key: "root",
|
|
342
342
|
ref: o
|
|
343
343
|
}, [
|
|
344
|
-
t.element.showErrorsAbovePanel ? (i(), q(
|
|
344
|
+
t.element.showErrorsAbovePanel ? (i(), q(y, {
|
|
345
345
|
key: 0,
|
|
346
346
|
element: t.element
|
|
347
347
|
}, null, 8, ["element"])) : d("", !0),
|
|
@@ -350,7 +350,7 @@ const je = /* @__PURE__ */ h({
|
|
|
350
350
|
element: t.element,
|
|
351
351
|
css: t.css
|
|
352
352
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
353
|
-
t.element.showErrorsAbovePanel ? d("", !0) : (i(), q(
|
|
353
|
+
t.element.showErrorsAbovePanel ? d("", !0) : (i(), q(y, {
|
|
354
354
|
key: 2,
|
|
355
355
|
element: t.element
|
|
356
356
|
}, null, 8, ["element"])),
|
|
@@ -366,7 +366,7 @@ const je = /* @__PURE__ */ h({
|
|
|
366
366
|
componentData: t.element.getSurvey().getRowWrapperComponentData(I)
|
|
367
367
|
})), {
|
|
368
368
|
default: V(() => [
|
|
369
|
-
I.visible ? (i(), q(
|
|
369
|
+
I.visible ? (i(), q(v, {
|
|
370
370
|
key: 0,
|
|
371
371
|
row: I,
|
|
372
372
|
survey: n.value,
|
|
@@ -393,7 +393,7 @@ const je = /* @__PURE__ */ h({
|
|
|
393
393
|
typeof s.element.clickTitleFunction == "function" && s.element.clickTitleFunction(e);
|
|
394
394
|
};
|
|
395
395
|
return (e, n) => {
|
|
396
|
-
const t =
|
|
396
|
+
const t = p("survey-element-title"), a = p("survey-string"), y = p("sv-action-bar");
|
|
397
397
|
return i(), u("div", {
|
|
398
398
|
class: l(e.element.cssHeader),
|
|
399
399
|
onClick: o
|
|
@@ -402,7 +402,7 @@ const je = /* @__PURE__ */ h({
|
|
|
402
402
|
element: e.element,
|
|
403
403
|
css: e.css
|
|
404
404
|
}, null, 8, ["element", "css"]),
|
|
405
|
-
e.element.hasDescriptionUnderTitle ?
|
|
405
|
+
e.element.hasDescriptionUnderTitle ? P((i(), u("div", {
|
|
406
406
|
key: 0,
|
|
407
407
|
class: l(e.element.cssDescription)
|
|
408
408
|
}, [
|
|
@@ -412,7 +412,7 @@ const je = /* @__PURE__ */ h({
|
|
|
412
412
|
], 2)), [
|
|
413
413
|
[M, e.element.hasDescription]
|
|
414
414
|
]) : d("", !0),
|
|
415
|
-
e.element.additionalTitleToolbar ? (i(), q(
|
|
415
|
+
e.element.additionalTitleToolbar ? (i(), q(y, {
|
|
416
416
|
key: 1,
|
|
417
417
|
model: e.element.additionalTitleToolbar
|
|
418
418
|
}, null, 8, ["model"])) : d("", !0)
|
|
@@ -493,7 +493,7 @@ const je = /* @__PURE__ */ h({
|
|
|
493
493
|
setup(r) {
|
|
494
494
|
const s = r, o = _(null);
|
|
495
495
|
return A(s, o), (e, n) => {
|
|
496
|
-
const t =
|
|
496
|
+
const t = p("survey-text-input");
|
|
497
497
|
return e.question.isReadOnlyRenderDiv() ? (i(), u("div", {
|
|
498
498
|
key: 0,
|
|
499
499
|
ref_key: "root",
|
|
@@ -527,7 +527,7 @@ const je = /* @__PURE__ */ h({
|
|
|
527
527
|
L(() => s.question);
|
|
528
528
|
const o = w(() => s.question.inputStyle);
|
|
529
529
|
return (e, n) => {
|
|
530
|
-
const t =
|
|
530
|
+
const t = p("sv-character-counter");
|
|
531
531
|
return e.question.getMaxLength() ? (i(), u("div", ys, [
|
|
532
532
|
c("input", {
|
|
533
533
|
disabled: e.question.isInputReadOnly,
|
|
@@ -612,7 +612,7 @@ const je = /* @__PURE__ */ h({
|
|
|
612
612
|
}
|
|
613
613
|
});
|
|
614
614
|
return (t, a) => {
|
|
615
|
-
const
|
|
615
|
+
const y = p("survey-other-choice");
|
|
616
616
|
return i(), u("fieldset", {
|
|
617
617
|
class: l(t.question.getSelectBaseRootCss()),
|
|
618
618
|
ref_key: "root",
|
|
@@ -643,8 +643,8 @@ const je = /* @__PURE__ */ h({
|
|
|
643
643
|
key: 4,
|
|
644
644
|
class: l(t.question.cssClasses.rootMultiColumn)
|
|
645
645
|
}, [
|
|
646
|
-
t.question.hasColumns ? (i(!0), u($, { key: 0 }, B(t.question.columns, (m,
|
|
647
|
-
key:
|
|
646
|
+
t.question.hasColumns ? (i(!0), u($, { key: 0 }, B(t.question.columns, (m, v) => (i(), u("div", {
|
|
647
|
+
key: v,
|
|
648
648
|
class: l(t.question.getColumnClass()),
|
|
649
649
|
role: "presentation"
|
|
650
650
|
}, [
|
|
@@ -656,7 +656,7 @@ const je = /* @__PURE__ */ h({
|
|
|
656
656
|
t.question.hasFootItems ? (i(!0), u($, { key: 5 }, B(t.question.footItems, (m) => (i(), q(T(e(m)), W({
|
|
657
657
|
key: m.value
|
|
658
658
|
}, n(m)), null, 16))), 128)) : d("", !0),
|
|
659
|
-
t.question.renderedValue && t.question.isOtherSelected ? (i(), q(
|
|
659
|
+
t.question.renderedValue && t.question.isOtherSelected ? (i(), q(y, {
|
|
660
660
|
key: 6,
|
|
661
661
|
question: t.question
|
|
662
662
|
}, null, 8, ["question"])) : d("", !0),
|
|
@@ -685,7 +685,7 @@ const je = /* @__PURE__ */ h({
|
|
|
685
685
|
"show-legend": !0
|
|
686
686
|
}, null, 8, ["question"]));
|
|
687
687
|
}
|
|
688
|
-
}), Is = ["name", "
|
|
688
|
+
}), Is = ["name", "checked", "value", "id", "disabled"], ws = ["xlink:href"], Ss = /* @__PURE__ */ h({
|
|
689
689
|
inheritAttrs: !1,
|
|
690
690
|
__name: "CheckboxItem",
|
|
691
691
|
props: {
|
|
@@ -694,84 +694,59 @@ const je = /* @__PURE__ */ h({
|
|
|
694
694
|
hideLabel: { type: Boolean }
|
|
695
695
|
},
|
|
696
696
|
setup(r) {
|
|
697
|
-
const s = r
|
|
698
|
-
get() {
|
|
699
|
-
return s.question.isAllSelected || "";
|
|
700
|
-
},
|
|
701
|
-
set(n) {
|
|
702
|
-
const t = s.question;
|
|
703
|
-
t.isAllSelected = !!n;
|
|
704
|
-
}
|
|
705
|
-
});
|
|
697
|
+
const s = r;
|
|
706
698
|
L(() => s.item);
|
|
707
|
-
const
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
}
|
|
713
|
-
});
|
|
714
|
-
return L(() => s.item), (n, t) => {
|
|
715
|
-
const a = v("survey-string");
|
|
699
|
+
const o = (e) => {
|
|
700
|
+
s.question.clickItemHandler(s.item, e.target.checked);
|
|
701
|
+
};
|
|
702
|
+
return (e, n) => {
|
|
703
|
+
const t = p("survey-string");
|
|
716
704
|
return i(), u("div", {
|
|
717
705
|
role: "presentation",
|
|
718
|
-
class: l(
|
|
706
|
+
class: l(e.question.getItemClass(e.item))
|
|
719
707
|
}, [
|
|
720
708
|
c("label", {
|
|
721
|
-
class: l(
|
|
709
|
+
class: l(e.question.getLabelClass(e.item))
|
|
722
710
|
}, [
|
|
723
|
-
|
|
724
|
-
key: 0,
|
|
725
|
-
type: "checkbox",
|
|
726
|
-
role: "option",
|
|
727
|
-
name: n.question.name + n.item.value,
|
|
728
|
-
value: o.value,
|
|
729
|
-
"onUpdate:modelValue": t[0] || (t[0] = (p) => o.value = p),
|
|
730
|
-
id: n.question.getItemId(n.item),
|
|
731
|
-
disabled: !n.question.getItemEnabled(n.item),
|
|
732
|
-
class: l(n.question.cssClasses.itemControl)
|
|
733
|
-
}, null, 10, Is)), [
|
|
734
|
-
[G, o.value]
|
|
735
|
-
]) : d("", !0),
|
|
736
|
-
n.item != n.question.selectAllItem ? N((i(), u("input", {
|
|
737
|
-
key: 1,
|
|
711
|
+
c("input", {
|
|
738
712
|
type: "checkbox",
|
|
739
713
|
role: "option",
|
|
740
|
-
name:
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
714
|
+
name: e.question.name + e.item.id,
|
|
715
|
+
checked: e.question.isItemSelected(e.item),
|
|
716
|
+
onInput: n[0] || (n[0] = (a) => {
|
|
717
|
+
o(a);
|
|
718
|
+
}),
|
|
719
|
+
value: e.item.value,
|
|
720
|
+
id: e.question.getItemId(e.item),
|
|
721
|
+
disabled: !e.question.getItemEnabled(e.item),
|
|
722
|
+
class: l(e.question.cssClasses.itemControl)
|
|
723
|
+
}, null, 42, Is),
|
|
724
|
+
e.question.cssClasses.materialDecorator ? (i(), u("span", {
|
|
725
|
+
key: 0,
|
|
726
|
+
class: l(e.question.cssClasses.materialDecorator)
|
|
752
727
|
}, [
|
|
753
|
-
|
|
728
|
+
e.question.itemSvgIcon ? (i(), u("svg", {
|
|
754
729
|
key: 0,
|
|
755
|
-
class: l(
|
|
730
|
+
class: l(e.question.cssClasses.itemDecorator)
|
|
756
731
|
}, [
|
|
757
732
|
c("use", {
|
|
758
|
-
"xlink:href":
|
|
759
|
-
}, null, 8,
|
|
733
|
+
"xlink:href": e.question.itemSvgIcon
|
|
734
|
+
}, null, 8, ws)
|
|
760
735
|
], 2)) : d("", !0)
|
|
761
736
|
], 2)) : d("", !0),
|
|
762
|
-
|
|
763
|
-
key:
|
|
764
|
-
class: l(
|
|
737
|
+
e.hideLabel ? d("", !0) : (i(), u("span", {
|
|
738
|
+
key: 1,
|
|
739
|
+
class: l(e.question.cssClasses.controlLabel)
|
|
765
740
|
}, [
|
|
766
|
-
b(
|
|
767
|
-
locString:
|
|
741
|
+
b(t, {
|
|
742
|
+
locString: e.item.locText
|
|
768
743
|
}, null, 8, ["locString"])
|
|
769
744
|
], 2))
|
|
770
745
|
], 2)
|
|
771
746
|
], 2);
|
|
772
747
|
};
|
|
773
748
|
}
|
|
774
|
-
}),
|
|
749
|
+
}), Rs = /* @__PURE__ */ h({
|
|
775
750
|
inheritAttrs: !1,
|
|
776
751
|
__name: "Radiogroup",
|
|
777
752
|
props: {
|
|
@@ -780,7 +755,7 @@ const je = /* @__PURE__ */ h({
|
|
|
780
755
|
setup(r) {
|
|
781
756
|
return (s, o) => (i(), q(ge, { question: s.question }, null, 8, ["question"]));
|
|
782
757
|
}
|
|
783
|
-
}),
|
|
758
|
+
}), Ts = ["name", "value", "id", "aria-describedby", "disabled"], $s = ["xlink:href"], _s = /* @__PURE__ */ h({
|
|
784
759
|
inheritAttrs: !1,
|
|
785
760
|
__name: "RadiogroupItem",
|
|
786
761
|
props: {
|
|
@@ -797,7 +772,7 @@ const je = /* @__PURE__ */ h({
|
|
|
797
772
|
}
|
|
798
773
|
});
|
|
799
774
|
return L(() => s.item), (t, a) => {
|
|
800
|
-
const
|
|
775
|
+
const y = p("survey-string");
|
|
801
776
|
return i(), u("div", {
|
|
802
777
|
role: "presentation",
|
|
803
778
|
class: l(t.question.getItemClass(t.item))
|
|
@@ -806,7 +781,7 @@ const je = /* @__PURE__ */ h({
|
|
|
806
781
|
onMousedown: a[1] || (a[1] = (m) => t.question.onMouseDown()),
|
|
807
782
|
class: l(o(t.item))
|
|
808
783
|
}, [
|
|
809
|
-
|
|
784
|
+
P(c("input", {
|
|
810
785
|
type: "radio",
|
|
811
786
|
name: t.question.questionName,
|
|
812
787
|
value: t.item.value,
|
|
@@ -815,8 +790,8 @@ const je = /* @__PURE__ */ h({
|
|
|
815
790
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => n.value = m),
|
|
816
791
|
disabled: !t.question.getItemEnabled(t.item),
|
|
817
792
|
class: l(t.question.cssClasses.itemControl)
|
|
818
|
-
}, null, 10,
|
|
819
|
-
[
|
|
793
|
+
}, null, 10, Ts), [
|
|
794
|
+
[ee, n.value]
|
|
820
795
|
]),
|
|
821
796
|
t.question.cssClasses.materialDecorator ? (i(), u("span", {
|
|
822
797
|
key: 0,
|
|
@@ -828,14 +803,14 @@ const je = /* @__PURE__ */ h({
|
|
|
828
803
|
}, [
|
|
829
804
|
c("use", {
|
|
830
805
|
"xlink:href": t.question.itemSvgIcon
|
|
831
|
-
}, null, 8,
|
|
806
|
+
}, null, 8, $s)
|
|
832
807
|
], 2)) : d("", !0)
|
|
833
808
|
], 2)) : d("", !0),
|
|
834
809
|
t.hideLabel ? d("", !0) : (i(), u("span", {
|
|
835
810
|
key: 1,
|
|
836
811
|
class: l(e(t.item))
|
|
837
812
|
}, [
|
|
838
|
-
b(
|
|
813
|
+
b(y, {
|
|
839
814
|
locString: t.item.locText
|
|
840
815
|
}, null, 8, ["locString"])
|
|
841
816
|
], 2))
|
|
@@ -843,7 +818,7 @@ const je = /* @__PURE__ */ h({
|
|
|
843
818
|
], 2);
|
|
844
819
|
};
|
|
845
820
|
}
|
|
846
|
-
}),
|
|
821
|
+
}), Ds = ["src"], Bs = ["title"], Ls = { key: 0 }, Ns = /* @__PURE__ */ h({
|
|
847
822
|
inheritAttrs: !1,
|
|
848
823
|
__name: "Signaturepad",
|
|
849
824
|
props: {
|
|
@@ -852,7 +827,7 @@ const je = /* @__PURE__ */ h({
|
|
|
852
827
|
setup(r) {
|
|
853
828
|
const s = r, o = _(null);
|
|
854
829
|
return A(s, o), (e, n) => {
|
|
855
|
-
const t =
|
|
830
|
+
const t = p("survey-string"), a = p("sv-svg-icon"), y = p("sv-loading-indicator");
|
|
856
831
|
return i(), u("div", {
|
|
857
832
|
class: l(e.question.cssClasses.root),
|
|
858
833
|
ref_key: "root",
|
|
@@ -861,7 +836,7 @@ const je = /* @__PURE__ */ h({
|
|
|
861
836
|
width: e.question.renderedCanvasWidth
|
|
862
837
|
})
|
|
863
838
|
}, [
|
|
864
|
-
|
|
839
|
+
P(c("div", {
|
|
865
840
|
class: l(e.question.cssClasses.placeholder)
|
|
866
841
|
}, [
|
|
867
842
|
b(t, {
|
|
@@ -878,7 +853,7 @@ const je = /* @__PURE__ */ h({
|
|
|
878
853
|
style: S({
|
|
879
854
|
width: e.question.renderedCanvasWidth
|
|
880
855
|
})
|
|
881
|
-
}, null, 14,
|
|
856
|
+
}, null, 14, Ds)) : d("", !0),
|
|
882
857
|
c("canvas", {
|
|
883
858
|
tabindex: "0",
|
|
884
859
|
class: l(e.question.cssClasses.canvas),
|
|
@@ -897,24 +872,24 @@ const je = /* @__PURE__ */ h({
|
|
|
897
872
|
e.question.clearValue();
|
|
898
873
|
})
|
|
899
874
|
}, [
|
|
900
|
-
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span",
|
|
875
|
+
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span", Ls, "\u2716")),
|
|
901
876
|
e.question.cssClasses.clearButtonIconId ? (i(), q(a, {
|
|
902
877
|
key: 1,
|
|
903
878
|
iconName: e.question.cssClasses.clearButtonIconId,
|
|
904
879
|
size: "auto"
|
|
905
880
|
}, null, 8, ["iconName"])) : d("", !0)
|
|
906
|
-
], 10,
|
|
881
|
+
], 10, Bs)
|
|
907
882
|
], 2)) : d("", !0),
|
|
908
883
|
e.question.showLoadingIndicator ? (i(), u("div", {
|
|
909
884
|
key: 1,
|
|
910
885
|
class: l(e.question.cssClasses.loadingIndicator)
|
|
911
886
|
}, [
|
|
912
|
-
b(
|
|
887
|
+
b(y)
|
|
913
888
|
], 2)) : d("", !0)
|
|
914
889
|
], 6);
|
|
915
890
|
};
|
|
916
891
|
}
|
|
917
|
-
}),
|
|
892
|
+
}), Ps = ["innerHTML"], As = /* @__PURE__ */ h({
|
|
918
893
|
inheritAttrs: !1,
|
|
919
894
|
__name: "Html",
|
|
920
895
|
props: {
|
|
@@ -929,9 +904,9 @@ const je = /* @__PURE__ */ h({
|
|
|
929
904
|
ref: o,
|
|
930
905
|
class: l(n.question.renderCssRoot),
|
|
931
906
|
innerHTML: f(e)
|
|
932
|
-
}, null, 10,
|
|
907
|
+
}, null, 10, Ps));
|
|
933
908
|
}
|
|
934
|
-
}),
|
|
909
|
+
}), Ms = ["src", "alt", "width", "height"], Hs = ["src", "width", "height"], Ws = ["src", "width", "height"], Es = /* @__PURE__ */ h({
|
|
935
910
|
inheritAttrs: !1,
|
|
936
911
|
__name: "Image",
|
|
937
912
|
props: {
|
|
@@ -942,13 +917,13 @@ const je = /* @__PURE__ */ h({
|
|
|
942
917
|
A(s, o);
|
|
943
918
|
const e = Q(() => s.question.locImageLink);
|
|
944
919
|
return (n, t) => {
|
|
945
|
-
const a =
|
|
920
|
+
const a = p("sv-svg-icon");
|
|
946
921
|
return i(), u("div", {
|
|
947
922
|
class: l(n.question.cssClasses.root),
|
|
948
923
|
ref_key: "root",
|
|
949
924
|
ref: o
|
|
950
925
|
}, [
|
|
951
|
-
n.question.renderedMode === "image" ?
|
|
926
|
+
n.question.renderedMode === "image" ? P((i(), u("img", {
|
|
952
927
|
key: 0,
|
|
953
928
|
class: l(n.question.getImageCss()),
|
|
954
929
|
src: f(e),
|
|
@@ -960,16 +935,16 @@ const je = /* @__PURE__ */ h({
|
|
|
960
935
|
width: n.question.renderedStyleWidth,
|
|
961
936
|
height: n.question.renderedStyleHeight
|
|
962
937
|
}),
|
|
963
|
-
onLoad: t[0] || (t[0] = (
|
|
938
|
+
onLoad: t[0] || (t[0] = (y) => {
|
|
964
939
|
n.question.onLoadHandler();
|
|
965
940
|
}),
|
|
966
|
-
onError: t[1] || (t[1] = (
|
|
941
|
+
onError: t[1] || (t[1] = (y) => {
|
|
967
942
|
n.question.onErrorHandler();
|
|
968
943
|
})
|
|
969
|
-
}, null, 46,
|
|
944
|
+
}, null, 46, Ms)), [
|
|
970
945
|
[M, f(e) && !n.question.contentNotLoaded]
|
|
971
946
|
]) : d("", !0),
|
|
972
|
-
n.question.renderedMode === "video" ?
|
|
947
|
+
n.question.renderedMode === "video" ? P((i(), u("video", {
|
|
973
948
|
key: 1,
|
|
974
949
|
controls: "",
|
|
975
950
|
class: l(n.question.getImageCss()),
|
|
@@ -981,13 +956,13 @@ const je = /* @__PURE__ */ h({
|
|
|
981
956
|
width: n.question.renderedStyleWidth,
|
|
982
957
|
height: n.question.renderedStyleHeight
|
|
983
958
|
}),
|
|
984
|
-
onLoadedmetadata: t[2] || (t[2] = (
|
|
959
|
+
onLoadedmetadata: t[2] || (t[2] = (y) => {
|
|
985
960
|
n.question.onLoadHandler();
|
|
986
961
|
}),
|
|
987
|
-
onError: t[3] || (t[3] = (
|
|
962
|
+
onError: t[3] || (t[3] = (y) => {
|
|
988
963
|
n.question.onErrorHandler();
|
|
989
964
|
})
|
|
990
|
-
}, null, 46,
|
|
965
|
+
}, null, 46, Hs)), [
|
|
991
966
|
[M, f(e) && !n.question.contentNotLoaded]
|
|
992
967
|
]) : d("", !0),
|
|
993
968
|
n.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
@@ -1001,7 +976,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1001
976
|
width: n.question.renderedStyleWidth,
|
|
1002
977
|
height: n.question.renderedStyleHeight
|
|
1003
978
|
})
|
|
1004
|
-
}, null, 14,
|
|
979
|
+
}, null, 14, Ws)) : d("", !0),
|
|
1005
980
|
!f(e) || n.question.contentNotLoaded ? (i(), u("div", {
|
|
1006
981
|
key: 3,
|
|
1007
982
|
class: l(n.question.cssClasses.noImage)
|
|
@@ -1014,7 +989,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1014
989
|
], 2);
|
|
1015
990
|
};
|
|
1016
991
|
}
|
|
1017
|
-
}),
|
|
992
|
+
}), Vs = /* @__PURE__ */ h({
|
|
1018
993
|
inheritAttrs: !1,
|
|
1019
994
|
__name: "Expression",
|
|
1020
995
|
props: {
|
|
@@ -1028,7 +1003,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1028
1003
|
ref: o
|
|
1029
1004
|
}, R(e.question.formatedValue), 3));
|
|
1030
1005
|
}
|
|
1031
|
-
}),
|
|
1006
|
+
}), Os = ["id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "multiple", "title", "accept", "capture"], Fs = ["id", "multiple", "placeholder"], zs = /* @__PURE__ */ h({
|
|
1032
1007
|
inheritAttrs: !1,
|
|
1033
1008
|
__name: "File",
|
|
1034
1009
|
props: {
|
|
@@ -1037,7 +1012,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1037
1012
|
setup(r) {
|
|
1038
1013
|
const s = r, o = _(null);
|
|
1039
1014
|
return A(s, o), (e, n) => {
|
|
1040
|
-
const t =
|
|
1015
|
+
const t = p("survey-string"), a = p("sv-file-choose-btn"), y = p("sv-action-bar"), m = p("sv-file-clean-btn"), v = p("sv-loading-indicator"), g = p("sv-file-video"), I = p("sv-file-preview");
|
|
1041
1016
|
return i(), u("div", {
|
|
1042
1017
|
class: l(e.question.fileRootCss),
|
|
1043
1018
|
ref_key: "root",
|
|
@@ -1058,7 +1033,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1058
1033
|
title: e.question.inputTitle,
|
|
1059
1034
|
accept: e.question.acceptedTypes,
|
|
1060
1035
|
capture: e.question.renderCapture
|
|
1061
|
-
}, null, 42,
|
|
1036
|
+
}, null, 42, Os)) : d("", !0),
|
|
1062
1037
|
e.question.isReadOnly ? (i(), u("input", {
|
|
1063
1038
|
key: 1,
|
|
1064
1039
|
type: "file",
|
|
@@ -1068,7 +1043,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1068
1043
|
multiple: e.question.allowMultiple,
|
|
1069
1044
|
placeholder: e.question.title,
|
|
1070
1045
|
style: { color: "transparent" }
|
|
1071
|
-
}, null, 10,
|
|
1046
|
+
}, null, 10, Fs)) : d("", !0),
|
|
1072
1047
|
c("div", {
|
|
1073
1048
|
class: l(e.question.cssClasses.dragArea),
|
|
1074
1049
|
onDrop: n[1] || (n[1] = (...C) => e.question.onDrop && e.question.onDrop(...C)),
|
|
@@ -1094,7 +1069,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1094
1069
|
key: 0,
|
|
1095
1070
|
data: { question: e.question }
|
|
1096
1071
|
}, null, 8, ["data"])) : d("", !0),
|
|
1097
|
-
e.question.actionsContainerVisible ? (i(), q(
|
|
1072
|
+
e.question.actionsContainerVisible ? (i(), q(y, {
|
|
1098
1073
|
key: 1,
|
|
1099
1074
|
model: e.question.actionsContainer
|
|
1100
1075
|
}, null, 8, ["model"])) : d("", !0),
|
|
@@ -1113,7 +1088,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1113
1088
|
key: 2,
|
|
1114
1089
|
class: l(e.question.cssClasses.loadingIndicator)
|
|
1115
1090
|
}, [
|
|
1116
|
-
b(
|
|
1091
|
+
b(v)
|
|
1117
1092
|
], 2)) : d("", !0),
|
|
1118
1093
|
e.question.isPlayingVideo ? (i(), q(g, {
|
|
1119
1094
|
key: 3,
|
|
@@ -1128,7 +1103,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1128
1103
|
question: e.question,
|
|
1129
1104
|
css: e.question.showRemoveButtonBottom
|
|
1130
1105
|
}, null, 8, ["question", "css"])) : d("", !0),
|
|
1131
|
-
e.question.fileNavigatorVisible ? (i(), q(
|
|
1106
|
+
e.question.fileNavigatorVisible ? (i(), q(y, {
|
|
1132
1107
|
key: 6,
|
|
1133
1108
|
model: e.question.fileNavigator
|
|
1134
1109
|
}, null, 8, ["model"])) : d("", !0)
|
|
@@ -1136,7 +1111,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1136
1111
|
], 2);
|
|
1137
1112
|
};
|
|
1138
1113
|
}
|
|
1139
|
-
}),
|
|
1114
|
+
}), Us = { class: "sv-hidden" }, me = "survey-imagepicker-item", Ks = /* @__PURE__ */ h({
|
|
1140
1115
|
inheritAttrs: !1,
|
|
1141
1116
|
__name: "Imagepicker",
|
|
1142
1117
|
props: {
|
|
@@ -1158,22 +1133,22 @@ const je = /* @__PURE__ */ h({
|
|
|
1158
1133
|
ref_key: "root",
|
|
1159
1134
|
ref: o
|
|
1160
1135
|
}, [
|
|
1161
|
-
c("legend",
|
|
1162
|
-
t.question.hasColumns ? d("", !0) : (i(!0), u($, { key: 0 }, B(t.question.visibleChoices, (
|
|
1163
|
-
key:
|
|
1164
|
-
}, n(
|
|
1165
|
-
t.question.hasColumns ? (i(!0), u($, { key: 1 }, B(t.question.columns, (
|
|
1136
|
+
c("legend", Us, R(t.question.locTitle.renderedHtml), 1),
|
|
1137
|
+
t.question.hasColumns ? d("", !0) : (i(!0), u($, { key: 0 }, B(t.question.visibleChoices, (y) => (i(), q(T(e(y)), W({
|
|
1138
|
+
key: y.value
|
|
1139
|
+
}, n(y)), null, 16))), 128)),
|
|
1140
|
+
t.question.hasColumns ? (i(!0), u($, { key: 1 }, B(t.question.columns, (y, m) => (i(), u("div", {
|
|
1166
1141
|
class: l(t.question.getColumnClass()),
|
|
1167
1142
|
key: m,
|
|
1168
1143
|
role: "presentation"
|
|
1169
1144
|
}, [
|
|
1170
|
-
(i(!0), u($, null, B(
|
|
1171
|
-
key:
|
|
1172
|
-
}, n(
|
|
1145
|
+
(i(!0), u($, null, B(y, (v) => (i(), q(T(e(v)), W({
|
|
1146
|
+
key: v.value
|
|
1147
|
+
}, n(v)), null, 16))), 128))
|
|
1173
1148
|
], 2))), 128)) : d("", !0)
|
|
1174
1149
|
], 2));
|
|
1175
1150
|
}
|
|
1176
|
-
}),
|
|
1151
|
+
}), js = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Qs = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Gs = ["src", "width", "height", "alt"], Js = ["src", "width", "height"], Xs = /* @__PURE__ */ h({
|
|
1177
1152
|
inheritAttrs: !1,
|
|
1178
1153
|
__name: "ImagepickerItem",
|
|
1179
1154
|
props: {
|
|
@@ -1185,14 +1160,14 @@ const je = /* @__PURE__ */ h({
|
|
|
1185
1160
|
L(() => s.item);
|
|
1186
1161
|
const e = Q(() => s.item.locImageLink);
|
|
1187
1162
|
return (n, t) => {
|
|
1188
|
-
const a =
|
|
1163
|
+
const a = p("sv-svg-icon"), y = p("survey-string");
|
|
1189
1164
|
return i(), u("div", {
|
|
1190
1165
|
class: l(o(n.item))
|
|
1191
1166
|
}, [
|
|
1192
1167
|
c("label", {
|
|
1193
1168
|
class: l(n.question.cssClasses.label)
|
|
1194
1169
|
}, [
|
|
1195
|
-
n.question.multiSelect ?
|
|
1170
|
+
n.question.multiSelect ? P((i(), u("input", {
|
|
1196
1171
|
key: 0,
|
|
1197
1172
|
type: "checkbox",
|
|
1198
1173
|
name: n.question.questionName,
|
|
@@ -1205,9 +1180,9 @@ const je = /* @__PURE__ */ h({
|
|
|
1205
1180
|
"aria-invalid": n.question.ariaInvalid,
|
|
1206
1181
|
"aria-describedby": n.question.ariaDescribedBy,
|
|
1207
1182
|
class: l(n.question.cssClasses.itemControl)
|
|
1208
|
-
}, null, 10,
|
|
1209
|
-
[
|
|
1210
|
-
]) :
|
|
1183
|
+
}, null, 10, js)), [
|
|
1184
|
+
[ne, n.question.value]
|
|
1185
|
+
]) : P((i(), u("input", {
|
|
1211
1186
|
key: 1,
|
|
1212
1187
|
type: "radio",
|
|
1213
1188
|
name: n.question.questionName,
|
|
@@ -1220,8 +1195,8 @@ const je = /* @__PURE__ */ h({
|
|
|
1220
1195
|
"aria-invalid": n.question.ariaInvalid,
|
|
1221
1196
|
"aria-describedby": n.question.ariaDescribedBy,
|
|
1222
1197
|
class: l(n.question.cssClasses.itemControl)
|
|
1223
|
-
}, null, 10,
|
|
1224
|
-
[
|
|
1198
|
+
}, null, 10, Qs)), [
|
|
1199
|
+
[ee, n.question.value]
|
|
1225
1200
|
]),
|
|
1226
1201
|
c("div", {
|
|
1227
1202
|
class: l(n.question.cssClasses.itemDecorator)
|
|
@@ -1254,7 +1229,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1254
1229
|
onError: t[3] || (t[3] = (m) => {
|
|
1255
1230
|
n.item.onErrorHandler();
|
|
1256
1231
|
})
|
|
1257
|
-
}, null, 46,
|
|
1232
|
+
}, null, 46, Gs)) : d("", !0),
|
|
1258
1233
|
f(e) && !n.item.contentNotLoaded && n.question.contentMode === "video" ? (i(), u("video", {
|
|
1259
1234
|
key: 2,
|
|
1260
1235
|
controls: "",
|
|
@@ -1269,7 +1244,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1269
1244
|
onError: t[5] || (t[5] = (m) => {
|
|
1270
1245
|
n.item.onErrorHandler();
|
|
1271
1246
|
})
|
|
1272
|
-
}, null, 46,
|
|
1247
|
+
}, null, 46, Js)) : d("", !0),
|
|
1273
1248
|
!f(e) || n.item.contentNotLoaded ? (i(), u("div", {
|
|
1274
1249
|
key: 3,
|
|
1275
1250
|
class: l(n.question.cssClasses.itemNoImage),
|
|
@@ -1290,7 +1265,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1290
1265
|
key: 0,
|
|
1291
1266
|
class: l(n.question.cssClasses.itemText)
|
|
1292
1267
|
}, [
|
|
1293
|
-
b(
|
|
1268
|
+
b(y, {
|
|
1294
1269
|
locString: n.item.locText
|
|
1295
1270
|
}, null, 8, ["locString"])
|
|
1296
1271
|
], 2)) : d("", !0)
|
|
@@ -1299,7 +1274,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1299
1274
|
], 2);
|
|
1300
1275
|
};
|
|
1301
1276
|
}
|
|
1302
|
-
}),
|
|
1277
|
+
}), Ys = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], Zs = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], xs = /* @__PURE__ */ h({
|
|
1303
1278
|
inheritAttrs: !1,
|
|
1304
1279
|
__name: "Comment",
|
|
1305
1280
|
props: {
|
|
@@ -1314,7 +1289,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1314
1289
|
t.value = n.target.value;
|
|
1315
1290
|
};
|
|
1316
1291
|
return (n, t) => {
|
|
1317
|
-
const a =
|
|
1292
|
+
const a = p("sv-character-counter");
|
|
1318
1293
|
return !n.question.isReadOnlyRenderDiv() && !n.question.getMaxLength() ? (i(), u("textarea", {
|
|
1319
1294
|
key: 0,
|
|
1320
1295
|
ref_key: "root",
|
|
@@ -1329,11 +1304,11 @@ const je = /* @__PURE__ */ h({
|
|
|
1329
1304
|
placeholder: n.question.renderedPlaceholder,
|
|
1330
1305
|
class: l(n.question.className),
|
|
1331
1306
|
onChange: e,
|
|
1332
|
-
onInput: t[0] || (t[0] = (
|
|
1333
|
-
n.question.onInput(
|
|
1307
|
+
onInput: t[0] || (t[0] = (y) => {
|
|
1308
|
+
n.question.onInput(y);
|
|
1334
1309
|
}),
|
|
1335
|
-
onKeydown: t[1] || (t[1] = (
|
|
1336
|
-
n.question.onKeyDown(
|
|
1310
|
+
onKeydown: t[1] || (t[1] = (y) => {
|
|
1311
|
+
n.question.onKeyDown(y);
|
|
1337
1312
|
}),
|
|
1338
1313
|
"aria-required": n.question.a11y_input_ariaRequired,
|
|
1339
1314
|
"aria-label": n.question.a11y_input_ariaLabel,
|
|
@@ -1341,7 +1316,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1341
1316
|
"aria-invalid": n.question.a11y_input_ariaInvalid,
|
|
1342
1317
|
"aria-describedby": n.question.a11y_input_ariaDescribedBy,
|
|
1343
1318
|
style: S({ resize: n.question.resizeStyle })
|
|
1344
|
-
}, null, 46,
|
|
1319
|
+
}, null, 46, Ys)) : !n.question.isReadOnlyRenderDiv() && n.question.getMaxLength() ? (i(), u("div", {
|
|
1345
1320
|
key: 1,
|
|
1346
1321
|
ref_key: "root",
|
|
1347
1322
|
ref: o
|
|
@@ -1357,11 +1332,11 @@ const je = /* @__PURE__ */ h({
|
|
|
1357
1332
|
placeholder: n.question.renderedPlaceholder,
|
|
1358
1333
|
class: l(n.question.className),
|
|
1359
1334
|
onChange: e,
|
|
1360
|
-
onInput: t[2] || (t[2] = (
|
|
1361
|
-
n.question.onInput(
|
|
1335
|
+
onInput: t[2] || (t[2] = (y) => {
|
|
1336
|
+
n.question.onInput(y);
|
|
1362
1337
|
}),
|
|
1363
|
-
onKeydown: t[3] || (t[3] = (
|
|
1364
|
-
n.question.onKeyDown(
|
|
1338
|
+
onKeydown: t[3] || (t[3] = (y) => {
|
|
1339
|
+
n.question.onKeyDown(y);
|
|
1365
1340
|
}),
|
|
1366
1341
|
"aria-required": n.question.a11y_input_ariaRequired,
|
|
1367
1342
|
"aria-label": n.question.a11y_input_ariaLabel,
|
|
@@ -1369,7 +1344,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1369
1344
|
"aria-invalid": n.question.a11y_input_ariaInvalid,
|
|
1370
1345
|
"aria-describedby": n.question.a11y_input_ariaDescribedBy,
|
|
1371
1346
|
style: S({ resize: n.question.resizeStyle })
|
|
1372
|
-
}, null, 46,
|
|
1347
|
+
}, null, 46, Zs),
|
|
1373
1348
|
b(a, {
|
|
1374
1349
|
counter: n.question.characterCounter,
|
|
1375
1350
|
remainingCharacterCounter: n.question.cssClasses.remainingCharacterCounter
|
|
@@ -1381,7 +1356,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1381
1356
|
}, R(n.question.value), 513));
|
|
1382
1357
|
};
|
|
1383
1358
|
}
|
|
1384
|
-
}),
|
|
1359
|
+
}), en = /* @__PURE__ */ h({
|
|
1385
1360
|
inheritAttrs: !1,
|
|
1386
1361
|
__name: "Dropdown",
|
|
1387
1362
|
props: {
|
|
@@ -1390,7 +1365,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1390
1365
|
setup(r) {
|
|
1391
1366
|
const s = r, o = _(null);
|
|
1392
1367
|
return A(s, o), (e, n) => {
|
|
1393
|
-
const t =
|
|
1368
|
+
const t = p("sv-dropdown"), a = p("survey-other-choice");
|
|
1394
1369
|
return i(), u("div", {
|
|
1395
1370
|
class: l(e.question.renderCssRoot),
|
|
1396
1371
|
ref_key: "root",
|
|
@@ -1404,16 +1379,16 @@ const je = /* @__PURE__ */ h({
|
|
|
1404
1379
|
], 2);
|
|
1405
1380
|
};
|
|
1406
1381
|
}
|
|
1407
|
-
}),
|
|
1382
|
+
}), sn = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "required"], nn = {
|
|
1408
1383
|
key: 0,
|
|
1409
1384
|
value: ""
|
|
1410
|
-
},
|
|
1411
|
-
|
|
1385
|
+
}, on = ["id"];
|
|
1386
|
+
se.Instance.registerRenderer(
|
|
1412
1387
|
"dropdown",
|
|
1413
1388
|
"select",
|
|
1414
1389
|
"sv-dropdown-select"
|
|
1415
1390
|
);
|
|
1416
|
-
const
|
|
1391
|
+
const tn = /* @__PURE__ */ h({
|
|
1417
1392
|
inheritAttrs: !1,
|
|
1418
1393
|
__name: "DropdownSelect",
|
|
1419
1394
|
props: {
|
|
@@ -1432,12 +1407,12 @@ const rn = /* @__PURE__ */ h({
|
|
|
1432
1407
|
return (a = s.question.value) != null ? a : "";
|
|
1433
1408
|
},
|
|
1434
1409
|
set(a) {
|
|
1435
|
-
const
|
|
1436
|
-
a === "" ?
|
|
1410
|
+
const y = s.question;
|
|
1411
|
+
a === "" ? y.renderedValue = void 0 : y.renderedValue = a;
|
|
1437
1412
|
}
|
|
1438
1413
|
});
|
|
1439
|
-
return (a,
|
|
1440
|
-
const m =
|
|
1414
|
+
return (a, y) => {
|
|
1415
|
+
const m = p("sv-dropdown-option-item"), v = p("sv-svg-icon"), g = p("survey-other-choice");
|
|
1441
1416
|
return i(), u("div", {
|
|
1442
1417
|
class: l(a.question.renderCssRoot),
|
|
1443
1418
|
ref_key: "root",
|
|
@@ -1451,10 +1426,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1451
1426
|
disabled: "",
|
|
1452
1427
|
id: a.question.inputId,
|
|
1453
1428
|
class: l(a.question.getControlClass())
|
|
1454
|
-
}, R(a.question.readOnlyText), 11,
|
|
1429
|
+
}, R(a.question.readOnlyText), 11, on)) : P((i(), u("select", {
|
|
1455
1430
|
key: 0,
|
|
1456
1431
|
id: a.question.inputId,
|
|
1457
|
-
"onUpdate:modelValue":
|
|
1432
|
+
"onUpdate:modelValue": y[0] || (y[0] = (I) => t.value = I),
|
|
1458
1433
|
onClick: e,
|
|
1459
1434
|
onKeyup: n,
|
|
1460
1435
|
autocomplete: a.question.autocomplete,
|
|
@@ -1465,19 +1440,19 @@ const rn = /* @__PURE__ */ h({
|
|
|
1465
1440
|
"aria-describedby": a.question.ariaDescribedBy,
|
|
1466
1441
|
required: a.question.isRequired
|
|
1467
1442
|
}, [
|
|
1468
|
-
a.question.allowClear ? (i(), u("option",
|
|
1443
|
+
a.question.allowClear ? (i(), u("option", nn, R(a.question.placeholder), 1)) : d("", !0),
|
|
1469
1444
|
(i(!0), u($, null, B(a.question.visibleChoices, (I) => (i(), q(m, {
|
|
1470
1445
|
item: I,
|
|
1471
1446
|
key: I.id
|
|
1472
1447
|
}, null, 8, ["item"]))), 128))
|
|
1473
|
-
], 42,
|
|
1448
|
+
], 42, sn)), [
|
|
1474
1449
|
[ke, t.value]
|
|
1475
1450
|
]),
|
|
1476
1451
|
a.question.cssClasses.chevronButtonIconId ? (i(), u("div", {
|
|
1477
1452
|
key: 2,
|
|
1478
1453
|
class: l(a.question.cssClasses.chevronButton)
|
|
1479
1454
|
}, [
|
|
1480
|
-
b(
|
|
1455
|
+
b(v, {
|
|
1481
1456
|
class: l(a.question.cssClasses.chevronButtonSvg),
|
|
1482
1457
|
iconName: a.question.cssClasses.chevronButtonIconId,
|
|
1483
1458
|
size: "auto"
|
|
@@ -1491,7 +1466,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1491
1466
|
], 2);
|
|
1492
1467
|
};
|
|
1493
1468
|
}
|
|
1494
|
-
}),
|
|
1469
|
+
}), rn = ["value", "disabled"], ln = /* @__PURE__ */ h({
|
|
1495
1470
|
__name: "OptionItem",
|
|
1496
1471
|
props: {
|
|
1497
1472
|
item: {}
|
|
@@ -1501,9 +1476,9 @@ const rn = /* @__PURE__ */ h({
|
|
|
1501
1476
|
return L(() => s.item), (e, n) => (i(), u("option", {
|
|
1502
1477
|
value: e.item.value,
|
|
1503
1478
|
disabled: !e.item.isEnabled
|
|
1504
|
-
}, R(f(o)), 9,
|
|
1479
|
+
}, R(f(o)), 9, rn));
|
|
1505
1480
|
}
|
|
1506
|
-
}),
|
|
1481
|
+
}), an = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], un = { style: { visibility: "hidden" } }, dn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], mn = ["id"], cn = /* @__PURE__ */ h({
|
|
1507
1482
|
__name: "Dropdown",
|
|
1508
1483
|
props: {
|
|
1509
1484
|
question: {}
|
|
@@ -1521,7 +1496,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1521
1496
|
}, a = (k) => {
|
|
1522
1497
|
var D;
|
|
1523
1498
|
(D = e.value) == null || D.onClear(k);
|
|
1524
|
-
},
|
|
1499
|
+
}, y = (k) => {
|
|
1525
1500
|
var D;
|
|
1526
1501
|
(D = e.value) == null || D.keyHandler(k);
|
|
1527
1502
|
}, m = () => {
|
|
@@ -1529,7 +1504,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1529
1504
|
const k = o.value, D = e.value.inputStringRendered;
|
|
1530
1505
|
De.isTwoValueEquals(D, k.value, !1, !0, !1) || (k.value = e.value.inputStringRendered);
|
|
1531
1506
|
}
|
|
1532
|
-
},
|
|
1507
|
+
}, v = (k) => {
|
|
1533
1508
|
var D;
|
|
1534
1509
|
(D = e.value) == null || D.onBlur(k), m();
|
|
1535
1510
|
}, g = (k) => {
|
|
@@ -1539,9 +1514,9 @@ const rn = /* @__PURE__ */ h({
|
|
|
1539
1514
|
e.value.inputStringRendered = k.target.value;
|
|
1540
1515
|
}, C = w(
|
|
1541
1516
|
() => s.question.showSelectedItemLocText
|
|
1542
|
-
),
|
|
1543
|
-
return L(() => e.value),
|
|
1544
|
-
const E =
|
|
1517
|
+
), N = w(() => s.question.selectedItemLocText);
|
|
1518
|
+
return L(() => e.value), x(m), H(m), (k, D) => {
|
|
1519
|
+
const E = p("survey-string"), O = p("sv-svg-icon"), U = p("sv-popup");
|
|
1545
1520
|
return i(), u("div", {
|
|
1546
1521
|
class: l(k.question.cssClasses.selectWrapper),
|
|
1547
1522
|
onClick: n
|
|
@@ -1551,8 +1526,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1551
1526
|
id: k.question.inputId,
|
|
1552
1527
|
disabled: k.question.isInputReadOnly ? !0 : null,
|
|
1553
1528
|
tabindex: e.value.noTabIndex ? void 0 : 0,
|
|
1554
|
-
onKeydown:
|
|
1555
|
-
onBlur:
|
|
1529
|
+
onKeydown: y,
|
|
1530
|
+
onBlur: v,
|
|
1556
1531
|
class: l(k.question.getControlClass()),
|
|
1557
1532
|
role: k.question.ariaRole,
|
|
1558
1533
|
"aria-required": k.question.ariaRequired,
|
|
@@ -1575,13 +1550,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1575
1550
|
}, [
|
|
1576
1551
|
C.value ? (i(), q(E, {
|
|
1577
1552
|
key: 0,
|
|
1578
|
-
locString:
|
|
1553
|
+
locString: N.value
|
|
1579
1554
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1580
1555
|
e.value.showHintString ? (i(), u("div", {
|
|
1581
1556
|
key: 1,
|
|
1582
1557
|
class: l(k.question.cssClasses.hintSuffix)
|
|
1583
1558
|
}, [
|
|
1584
|
-
c("span",
|
|
1559
|
+
c("span", un, R(e.value.inputStringRendered), 1),
|
|
1585
1560
|
c("span", null, R(e.value.hintStringSuffix), 1)
|
|
1586
1561
|
], 2)) : d("", !0),
|
|
1587
1562
|
k.question.showInputFieldComponent ? (i(), q(T(k.question.inputFieldComponentName), {
|
|
@@ -1608,11 +1583,11 @@ const rn = /* @__PURE__ */ h({
|
|
|
1608
1583
|
"aria-activedescendant": e.value.ariaActivedescendant,
|
|
1609
1584
|
placeholder: e.value.placeholderRendered,
|
|
1610
1585
|
onInput: I,
|
|
1611
|
-
onBlur:
|
|
1586
|
+
onBlur: v,
|
|
1612
1587
|
onFocus: g
|
|
1613
|
-
}, null, 42,
|
|
1588
|
+
}, null, 42, dn)
|
|
1614
1589
|
], 2),
|
|
1615
|
-
k.question.allowClear && k.question.cssClasses.cleanButtonIconId ?
|
|
1590
|
+
k.question.allowClear && k.question.cssClasses.cleanButtonIconId ? P((i(), u("div", {
|
|
1616
1591
|
key: 1,
|
|
1617
1592
|
class: l(k.question.cssClasses.cleanButton),
|
|
1618
1593
|
onClick: a,
|
|
@@ -1627,7 +1602,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1627
1602
|
], 2)), [
|
|
1628
1603
|
[M, k.question.showClearButton]
|
|
1629
1604
|
]) : d("", !0)
|
|
1630
|
-
], 42,
|
|
1605
|
+
], 42, an)),
|
|
1631
1606
|
k.question.isReadOnly ? (i(), u("div", {
|
|
1632
1607
|
key: 2,
|
|
1633
1608
|
disabled: "",
|
|
@@ -1639,7 +1614,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1639
1614
|
locString: k.question.selectedItemLocText
|
|
1640
1615
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1641
1616
|
c("div", null, R(k.question.readOnlyText), 1)
|
|
1642
|
-
], 10,
|
|
1617
|
+
], 10, mn)) : (i(), q(U, {
|
|
1643
1618
|
key: 1,
|
|
1644
1619
|
model: k.question.dropdownListModel.popupModel
|
|
1645
1620
|
}, null, 8, ["model"])),
|
|
@@ -1658,7 +1633,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1658
1633
|
], 2);
|
|
1659
1634
|
};
|
|
1660
1635
|
}
|
|
1661
|
-
}),
|
|
1636
|
+
}), pn = /* @__PURE__ */ h({
|
|
1662
1637
|
inheritAttrs: !1,
|
|
1663
1638
|
__name: "Tagbox",
|
|
1664
1639
|
props: {
|
|
@@ -1667,7 +1642,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1667
1642
|
setup(r) {
|
|
1668
1643
|
const s = r, o = _(null);
|
|
1669
1644
|
return A(s, o), (e, n) => {
|
|
1670
|
-
const t =
|
|
1645
|
+
const t = p("sv-tagbox"), a = p("survey-other-choice");
|
|
1671
1646
|
return i(), u("div", {
|
|
1672
1647
|
class: l(e.question.renderCssRoot),
|
|
1673
1648
|
ref_key: "root",
|
|
@@ -1681,111 +1656,111 @@ const rn = /* @__PURE__ */ h({
|
|
|
1681
1656
|
], 2);
|
|
1682
1657
|
};
|
|
1683
1658
|
}
|
|
1684
|
-
}),
|
|
1659
|
+
}), vn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], yn = ["id"], qn = /* @__PURE__ */ h({
|
|
1685
1660
|
__name: "Tagbox",
|
|
1686
1661
|
props: {
|
|
1687
1662
|
question: {}
|
|
1688
1663
|
},
|
|
1689
1664
|
setup(r) {
|
|
1690
1665
|
const s = r, o = w(() => {
|
|
1691
|
-
const
|
|
1692
|
-
return
|
|
1693
|
-
}), e = (
|
|
1666
|
+
const v = s.question;
|
|
1667
|
+
return v.dropdownListModel || (v.dropdownListModel = new Be(v)), s.question.dropdownListModel;
|
|
1668
|
+
}), e = (v) => {
|
|
1694
1669
|
var g;
|
|
1695
|
-
(g = o.value) == null || g.onClick(
|
|
1696
|
-
}, n = (
|
|
1670
|
+
(g = o.value) == null || g.onClick(v);
|
|
1671
|
+
}, n = (v) => {
|
|
1697
1672
|
var g;
|
|
1698
|
-
(g = o.value) == null || g.chevronPointerDown(
|
|
1699
|
-
}, t = (
|
|
1673
|
+
(g = o.value) == null || g.chevronPointerDown(v);
|
|
1674
|
+
}, t = (v) => {
|
|
1700
1675
|
var g;
|
|
1701
|
-
(g = o.value) == null || g.onClear(
|
|
1702
|
-
}, a = (
|
|
1676
|
+
(g = o.value) == null || g.onClear(v);
|
|
1677
|
+
}, a = (v) => {
|
|
1703
1678
|
var g;
|
|
1704
|
-
(g = o.value) == null || g.keyHandler(
|
|
1705
|
-
},
|
|
1679
|
+
(g = o.value) == null || g.keyHandler(v);
|
|
1680
|
+
}, y = (v) => {
|
|
1706
1681
|
var g;
|
|
1707
|
-
(g = o.value) == null || g.onBlur(
|
|
1682
|
+
(g = o.value) == null || g.onBlur(v);
|
|
1708
1683
|
}, m = w(() => s.question.selectedChoices);
|
|
1709
|
-
return L(() => o.value), (
|
|
1710
|
-
const I =
|
|
1684
|
+
return L(() => o.value), (v, g) => {
|
|
1685
|
+
const I = p("sv-tagbox-item"), C = p("sv-tagbox-filter"), N = p("sv-svg-icon"), k = p("sv-popup");
|
|
1711
1686
|
return i(), u("div", {
|
|
1712
|
-
class: l(
|
|
1687
|
+
class: l(v.question.cssClasses.selectWrapper),
|
|
1713
1688
|
onClick: e
|
|
1714
1689
|
}, [
|
|
1715
|
-
|
|
1690
|
+
v.question.isReadOnly ? d("", !0) : (i(), u("div", {
|
|
1716
1691
|
key: 0,
|
|
1717
|
-
id:
|
|
1692
|
+
id: v.question.inputId,
|
|
1718
1693
|
tabindex: o.value.noTabIndex ? void 0 : 0,
|
|
1719
|
-
disabled:
|
|
1694
|
+
disabled: v.question.isInputReadOnly ? !0 : null,
|
|
1720
1695
|
onKeydown: a,
|
|
1721
|
-
onBlur:
|
|
1722
|
-
class: l(
|
|
1723
|
-
role:
|
|
1724
|
-
"aria-required":
|
|
1725
|
-
"aria-label":
|
|
1726
|
-
"aria-invalid":
|
|
1727
|
-
"aria-describedby":
|
|
1728
|
-
"aria-expanded":
|
|
1696
|
+
onBlur: y,
|
|
1697
|
+
class: l(v.question.getControlClass()),
|
|
1698
|
+
role: v.question.ariaRole,
|
|
1699
|
+
"aria-required": v.question.ariaRequired,
|
|
1700
|
+
"aria-label": v.question.ariaLabel,
|
|
1701
|
+
"aria-invalid": v.question.ariaInvalid,
|
|
1702
|
+
"aria-describedby": v.question.ariaDescribedBy,
|
|
1703
|
+
"aria-expanded": v.question.ariaExpanded === null ? void 0 : v.question.ariaExpanded === "true",
|
|
1729
1704
|
"aria-controls": o.value.listElementId,
|
|
1730
1705
|
"aria-activedescendant": o.value.ariaActivedescendant,
|
|
1731
|
-
required:
|
|
1706
|
+
required: v.question.isRequired ? !0 : null
|
|
1732
1707
|
}, [
|
|
1733
1708
|
c("div", {
|
|
1734
|
-
class: l(
|
|
1709
|
+
class: l(v.question.cssClasses.controlValue)
|
|
1735
1710
|
}, [
|
|
1736
1711
|
(i(!0), u($, null, B(m.value, (D, E) => (i(), q(I, {
|
|
1737
1712
|
item: D,
|
|
1738
|
-
question:
|
|
1713
|
+
question: v.question,
|
|
1739
1714
|
key: "item" + E
|
|
1740
1715
|
}, null, 8, ["item", "question"]))), 128)),
|
|
1741
1716
|
b(C, {
|
|
1742
1717
|
model: o.value,
|
|
1743
|
-
question:
|
|
1718
|
+
question: v.question
|
|
1744
1719
|
}, null, 8, ["model", "question"])
|
|
1745
1720
|
], 2),
|
|
1746
|
-
|
|
1721
|
+
v.question.allowClear && v.question.cssClasses.cleanButtonIconId ? P((i(), u("div", {
|
|
1747
1722
|
key: 0,
|
|
1748
|
-
class: l(
|
|
1723
|
+
class: l(v.question.cssClasses.cleanButton),
|
|
1749
1724
|
onClick: t,
|
|
1750
1725
|
"aria-hidden": "true"
|
|
1751
1726
|
}, [
|
|
1752
|
-
b(
|
|
1753
|
-
class: l(
|
|
1754
|
-
iconName:
|
|
1755
|
-
title:
|
|
1727
|
+
b(N, {
|
|
1728
|
+
class: l(v.question.cssClasses.cleanButtonSvg),
|
|
1729
|
+
iconName: v.question.cssClasses.cleanButtonIconId,
|
|
1730
|
+
title: v.question.clearCaption,
|
|
1756
1731
|
size: "auto"
|
|
1757
1732
|
}, null, 8, ["class", "iconName", "title"])
|
|
1758
1733
|
], 2)), [
|
|
1759
|
-
[M,
|
|
1734
|
+
[M, v.question.showClearButton]
|
|
1760
1735
|
]) : d("", !0)
|
|
1761
|
-
], 42,
|
|
1762
|
-
|
|
1736
|
+
], 42, vn)),
|
|
1737
|
+
v.question.isReadOnly ? (i(), u("div", {
|
|
1763
1738
|
key: 2,
|
|
1764
1739
|
disabled: "",
|
|
1765
|
-
id:
|
|
1766
|
-
class: l(
|
|
1740
|
+
id: v.question.inputId,
|
|
1741
|
+
class: l(v.question.getControlClass())
|
|
1767
1742
|
}, [
|
|
1768
|
-
c("div", null, R(
|
|
1769
|
-
], 10,
|
|
1743
|
+
c("div", null, R(v.question.readOnlyText), 1)
|
|
1744
|
+
], 10, yn)) : (i(), q(k, {
|
|
1770
1745
|
key: 1,
|
|
1771
1746
|
model: o.value.popupModel
|
|
1772
1747
|
}, null, 8, ["model"])),
|
|
1773
|
-
|
|
1748
|
+
v.question.cssClasses.chevronButtonIconId ? (i(), u("div", {
|
|
1774
1749
|
key: 3,
|
|
1775
|
-
class: l(
|
|
1750
|
+
class: l(v.question.cssClasses.chevronButton),
|
|
1776
1751
|
onPointerdown: n,
|
|
1777
1752
|
"aria-hidden": "true"
|
|
1778
1753
|
}, [
|
|
1779
|
-
b(
|
|
1780
|
-
class: l(
|
|
1781
|
-
iconName:
|
|
1754
|
+
b(N, {
|
|
1755
|
+
class: l(v.question.cssClasses.chevronButtonSvg),
|
|
1756
|
+
iconName: v.question.cssClasses.chevronButtonIconId,
|
|
1782
1757
|
size: "auto"
|
|
1783
1758
|
}, null, 8, ["class", "iconName"])
|
|
1784
1759
|
], 34)) : d("", !0)
|
|
1785
1760
|
], 2);
|
|
1786
1761
|
};
|
|
1787
1762
|
}
|
|
1788
|
-
}),
|
|
1763
|
+
}), gn = { style: { visibility: "hidden" } }, hn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "id", "readonly", "size"], Cn = /* @__PURE__ */ h({
|
|
1789
1764
|
__name: "TagboxFilter",
|
|
1790
1765
|
props: {
|
|
1791
1766
|
question: {},
|
|
@@ -1793,8 +1768,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1793
1768
|
},
|
|
1794
1769
|
setup(r) {
|
|
1795
1770
|
const s = r, o = (a) => {
|
|
1796
|
-
const
|
|
1797
|
-
|
|
1771
|
+
const y = s.model;
|
|
1772
|
+
y.inputStringRendered = a.target.value;
|
|
1798
1773
|
}, e = (a) => {
|
|
1799
1774
|
s.model.inputKeyHandler(a);
|
|
1800
1775
|
}, n = (a) => {
|
|
@@ -1802,8 +1777,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1802
1777
|
}, t = (a) => {
|
|
1803
1778
|
s.model.onFocus(a);
|
|
1804
1779
|
};
|
|
1805
|
-
return L(() => s.model), (a,
|
|
1806
|
-
const m =
|
|
1780
|
+
return L(() => s.model), (a, y) => {
|
|
1781
|
+
const m = p("survey-string");
|
|
1807
1782
|
return i(), u("div", {
|
|
1808
1783
|
class: l(a.question.cssClasses.hint)
|
|
1809
1784
|
}, [
|
|
@@ -1824,13 +1799,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1824
1799
|
key: 1,
|
|
1825
1800
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1826
1801
|
}, [
|
|
1827
|
-
c("span",
|
|
1802
|
+
c("span", gn, R(a.model.inputStringRendered), 1),
|
|
1828
1803
|
c("span", null, R(a.model.hintStringSuffix), 1)
|
|
1829
1804
|
], 2)) : d("", !0),
|
|
1830
|
-
|
|
1805
|
+
P(c("input", {
|
|
1831
1806
|
type: "text",
|
|
1832
1807
|
autocomplete: "off",
|
|
1833
|
-
"onUpdate:modelValue":
|
|
1808
|
+
"onUpdate:modelValue": y[0] || (y[0] = (v) => a.model.inputStringRendered = v),
|
|
1834
1809
|
class: l(a.question.cssClasses.filterStringInput),
|
|
1835
1810
|
placeholder: a.model.filterStringPlaceholder,
|
|
1836
1811
|
disabled: a.question.isInputReadOnly,
|
|
@@ -1848,14 +1823,14 @@ const rn = /* @__PURE__ */ h({
|
|
|
1848
1823
|
onKeydown: e,
|
|
1849
1824
|
onBlur: n,
|
|
1850
1825
|
onFocus: t
|
|
1851
|
-
}, null, 42,
|
|
1826
|
+
}, null, 42, hn), [
|
|
1852
1827
|
[fe, a.model.inputStringRendered]
|
|
1853
1828
|
])
|
|
1854
1829
|
], 2)
|
|
1855
1830
|
], 2);
|
|
1856
1831
|
};
|
|
1857
1832
|
}
|
|
1858
|
-
}),
|
|
1833
|
+
}), bn = { class: "sv-tagbox__item-text" }, kn = /* @__PURE__ */ h({
|
|
1859
1834
|
__name: "TagboxItem",
|
|
1860
1835
|
props: {
|
|
1861
1836
|
question: {},
|
|
@@ -1866,12 +1841,12 @@ const rn = /* @__PURE__ */ h({
|
|
|
1866
1841
|
s.question.dropdownListModel.deselectItem(s.item.value), e.stopPropagation();
|
|
1867
1842
|
};
|
|
1868
1843
|
return L(() => s.item), (e, n) => {
|
|
1869
|
-
const t =
|
|
1844
|
+
const t = p("survey-string"), a = p("sv-svg-icon");
|
|
1870
1845
|
return i(), u("div", {
|
|
1871
1846
|
class: "sv-tagbox__item",
|
|
1872
1847
|
key: e.item.key
|
|
1873
1848
|
}, [
|
|
1874
|
-
c("div",
|
|
1849
|
+
c("div", bn, [
|
|
1875
1850
|
b(t, {
|
|
1876
1851
|
locString: e.item.locText
|
|
1877
1852
|
}, null, 8, ["locString"])
|
|
@@ -1889,7 +1864,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1889
1864
|
]);
|
|
1890
1865
|
};
|
|
1891
1866
|
}
|
|
1892
|
-
}),
|
|
1867
|
+
}), fn = /* @__PURE__ */ h({
|
|
1893
1868
|
inheritAttrs: !1,
|
|
1894
1869
|
__name: "Ranking",
|
|
1895
1870
|
props: {
|
|
@@ -1898,7 +1873,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1898
1873
|
setup(r) {
|
|
1899
1874
|
const s = r, o = _(null);
|
|
1900
1875
|
A(s, o);
|
|
1901
|
-
const e = (t) => s.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", n = (t, a,
|
|
1876
|
+
const e = (t) => s.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", n = (t, a, y) => ({
|
|
1902
1877
|
componentName: s.question.getPropertyByName("itemComponent").isDefaultValue(
|
|
1903
1878
|
s.question.itemComponent
|
|
1904
1879
|
) ? "survey-ranking-item" : s.question.itemComponent,
|
|
@@ -1906,33 +1881,33 @@ const rn = /* @__PURE__ */ h({
|
|
|
1906
1881
|
question: s.question,
|
|
1907
1882
|
item: t,
|
|
1908
1883
|
index: a,
|
|
1909
|
-
unrankedItem:
|
|
1884
|
+
unrankedItem: y,
|
|
1910
1885
|
data: s.question.getItemValueWrapperComponentData(t)
|
|
1911
1886
|
}
|
|
1912
1887
|
});
|
|
1913
1888
|
return (t, a) => {
|
|
1914
|
-
const
|
|
1889
|
+
const y = p("survey-string");
|
|
1915
1890
|
return i(), u("div", {
|
|
1916
1891
|
class: l(t.question.rootClass),
|
|
1917
1892
|
ref_key: "root",
|
|
1918
1893
|
ref: o
|
|
1919
1894
|
}, [
|
|
1920
|
-
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u($, { key: 0 }, B(t.question.rankingChoices, (m,
|
|
1921
|
-
key: m.value + "-" +
|
|
1922
|
-
}, n(m,
|
|
1895
|
+
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u($, { key: 0 }, B(t.question.rankingChoices, (m, v) => (i(), q(T(e(m)), W({
|
|
1896
|
+
key: m.value + "-" + v + "-item"
|
|
1897
|
+
}, n(m, v)), null, 16))), 128)),
|
|
1923
1898
|
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
1924
1899
|
key: 1,
|
|
1925
1900
|
class: l(t.question.getContainerClasses("from")),
|
|
1926
1901
|
"data-ranking": "from-container"
|
|
1927
1902
|
}, [
|
|
1928
|
-
(i(!0), u($, null, B(t.question.unRankingChoices, (m,
|
|
1929
|
-
key: m.value + "-" +
|
|
1930
|
-
}, n(m,
|
|
1903
|
+
(i(!0), u($, null, B(t.question.unRankingChoices, (m, v) => (i(), q(T(e(m)), W({
|
|
1904
|
+
key: m.value + "-" + v + "-item"
|
|
1905
|
+
}, n(m, v, !0)), null, 16))), 128)),
|
|
1931
1906
|
t.question.unRankingChoices.length === 0 ? (i(), u("div", {
|
|
1932
1907
|
key: 0,
|
|
1933
1908
|
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1934
1909
|
}, [
|
|
1935
|
-
b(
|
|
1910
|
+
b(y, {
|
|
1936
1911
|
locString: t.question.locSelectToRankEmptyRankedAreaText
|
|
1937
1912
|
}, null, 8, ["locString"])
|
|
1938
1913
|
], 2)) : d("", !0)
|
|
@@ -1946,14 +1921,14 @@ const rn = /* @__PURE__ */ h({
|
|
|
1946
1921
|
class: l(t.question.getContainerClasses("to")),
|
|
1947
1922
|
"data-ranking": "to-container"
|
|
1948
1923
|
}, [
|
|
1949
|
-
(i(!0), u($, null, B(t.question.rankingChoices, (m,
|
|
1950
|
-
key: m.value + "-" +
|
|
1951
|
-
}, n(m,
|
|
1924
|
+
(i(!0), u($, null, B(t.question.rankingChoices, (m, v) => (i(), q(T(e(m)), W({
|
|
1925
|
+
key: m.value + "-" + v + "-item"
|
|
1926
|
+
}, n(m, v)), null, 16))), 128)),
|
|
1952
1927
|
t.question.rankingChoices.length === 0 ? (i(), u("div", {
|
|
1953
1928
|
key: 0,
|
|
1954
1929
|
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1955
1930
|
}, [
|
|
1956
|
-
b(
|
|
1931
|
+
b(y, {
|
|
1957
1932
|
locString: t.question.locSelectToRankEmptyUnrankedAreaText
|
|
1958
1933
|
}, null, 8, ["locString"])
|
|
1959
1934
|
], 2)) : d("", !0)
|
|
@@ -1961,10 +1936,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1961
1936
|
], 2);
|
|
1962
1937
|
};
|
|
1963
1938
|
}
|
|
1964
|
-
}),
|
|
1939
|
+
}), In = ["tabindex", "data-sv-drop-target-ranking-item"], wn = {
|
|
1965
1940
|
tabindex: "-1",
|
|
1966
1941
|
style: { outline: "none" }
|
|
1967
|
-
},
|
|
1942
|
+
}, Sn = ["xlink:href"], Rn = ["xlink:href"], Tn = ["xlink:href"], $n = /* @__PURE__ */ h({
|
|
1968
1943
|
inheritAttrs: !1,
|
|
1969
1944
|
__name: "RankingItem",
|
|
1970
1945
|
props: {
|
|
@@ -1976,7 +1951,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1976
1951
|
setup(r) {
|
|
1977
1952
|
const s = r, o = w(() => s.question.getNumberByIndex(s.index));
|
|
1978
1953
|
return L(() => s.item), (e, n) => {
|
|
1979
|
-
const t =
|
|
1954
|
+
const t = p("survey-string");
|
|
1980
1955
|
return i(), u("div", {
|
|
1981
1956
|
tabindex: e.question.getItemTabIndex(e.item),
|
|
1982
1957
|
"data-sv-drop-target-ranking-item": e.index,
|
|
@@ -1993,7 +1968,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1993
1968
|
);
|
|
1994
1969
|
})
|
|
1995
1970
|
}, [
|
|
1996
|
-
c("div",
|
|
1971
|
+
c("div", wn, [
|
|
1997
1972
|
c("div", {
|
|
1998
1973
|
class: l(e.question.cssClasses.itemGhostNode)
|
|
1999
1974
|
}, null, 2),
|
|
@@ -2008,14 +1983,14 @@ const rn = /* @__PURE__ */ h({
|
|
|
2008
1983
|
}, [
|
|
2009
1984
|
c("use", {
|
|
2010
1985
|
"xlink:href": e.question.dragDropSvgIcon
|
|
2011
|
-
}, null, 8,
|
|
1986
|
+
}, null, 8, Sn)
|
|
2012
1987
|
], 2)),
|
|
2013
1988
|
(i(), u("svg", {
|
|
2014
1989
|
class: l(e.question.getIconFocusCss())
|
|
2015
1990
|
}, [
|
|
2016
1991
|
c("use", {
|
|
2017
1992
|
"xlink:href": e.question.arrowsSvgIcon
|
|
2018
|
-
}, null, 8,
|
|
1993
|
+
}, null, 8, Rn)
|
|
2019
1994
|
], 2))
|
|
2020
1995
|
], 2),
|
|
2021
1996
|
!e.unrankedItem && o.value ? (i(), u("div", {
|
|
@@ -2028,7 +2003,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2028
2003
|
(i(), u("svg", null, [
|
|
2029
2004
|
c("use", {
|
|
2030
2005
|
"xlink:href": e.question.dashSvgIcon
|
|
2031
|
-
}, null, 8,
|
|
2006
|
+
}, null, 8, Tn)
|
|
2032
2007
|
]))
|
|
2033
2008
|
], 2)),
|
|
2034
2009
|
c("div", {
|
|
@@ -2040,13 +2015,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
2040
2015
|
], 2)
|
|
2041
2016
|
], 2)
|
|
2042
2017
|
])
|
|
2043
|
-
], 42,
|
|
2018
|
+
], 42, In);
|
|
2044
2019
|
};
|
|
2045
2020
|
}
|
|
2046
|
-
}),
|
|
2021
|
+
}), _n = { role: "radiogroup" }, Dn = /* @__PURE__ */ c("legend", {
|
|
2047
2022
|
role: "presentation",
|
|
2048
2023
|
class: "sv-hidden"
|
|
2049
|
-
}, null, -1),
|
|
2024
|
+
}, null, -1), Bn = /* @__PURE__ */ h({
|
|
2050
2025
|
inheritAttrs: !1,
|
|
2051
2026
|
__name: "Rating",
|
|
2052
2027
|
props: {
|
|
@@ -2057,14 +2032,14 @@ const rn = /* @__PURE__ */ h({
|
|
|
2057
2032
|
A(s, o);
|
|
2058
2033
|
const e = (n) => s.question.getInputId(n);
|
|
2059
2034
|
return (n, t) => {
|
|
2060
|
-
const a =
|
|
2035
|
+
const a = p("survey-string");
|
|
2061
2036
|
return i(), u("div", {
|
|
2062
2037
|
class: l(n.question.ratingRootCss),
|
|
2063
2038
|
ref_key: "root",
|
|
2064
2039
|
ref: o
|
|
2065
2040
|
}, [
|
|
2066
|
-
c("fieldset",
|
|
2067
|
-
|
|
2041
|
+
c("fieldset", _n, [
|
|
2042
|
+
Dn,
|
|
2068
2043
|
n.question.hasMinLabel ? (i(), u("span", {
|
|
2069
2044
|
key: 0,
|
|
2070
2045
|
class: l(n.question.cssClasses.minText)
|
|
@@ -2073,9 +2048,9 @@ const rn = /* @__PURE__ */ h({
|
|
|
2073
2048
|
locString: n.question.locMinRateDescription
|
|
2074
2049
|
}, null, 8, ["locString"])
|
|
2075
2050
|
], 2)) : d("", !0),
|
|
2076
|
-
(i(!0), u($, null, B(n.question.renderedRateItems, (
|
|
2051
|
+
(i(!0), u($, null, B(n.question.renderedRateItems, (y, m) => (i(), q(T(n.question.itemComponent), {
|
|
2077
2052
|
key: e(m),
|
|
2078
|
-
item:
|
|
2053
|
+
item: y,
|
|
2079
2054
|
index: m,
|
|
2080
2055
|
question: n.question
|
|
2081
2056
|
}, null, 8, ["item", "index", "question"]))), 128)),
|
|
@@ -2091,7 +2066,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2091
2066
|
], 2);
|
|
2092
2067
|
};
|
|
2093
2068
|
}
|
|
2094
|
-
}),
|
|
2069
|
+
}), Ln = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Nn = /* @__PURE__ */ h({
|
|
2095
2070
|
__name: "RatingItem",
|
|
2096
2071
|
props: {
|
|
2097
2072
|
question: {},
|
|
@@ -2101,7 +2076,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2101
2076
|
setup(r) {
|
|
2102
2077
|
const s = r;
|
|
2103
2078
|
return L(() => s.item), (o, e) => {
|
|
2104
|
-
const n =
|
|
2079
|
+
const n = p("survey-string");
|
|
2105
2080
|
return i(), u("label", {
|
|
2106
2081
|
key: o.item.value,
|
|
2107
2082
|
onMousedown: e[1] || (e[1] = (t) => o.question.onMouseDown()),
|
|
@@ -2119,7 +2094,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2119
2094
|
"aria-label": o.question.ariaLabel,
|
|
2120
2095
|
"aria-invalid": o.question.ariaInvalid,
|
|
2121
2096
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2122
|
-
}, null, 8,
|
|
2097
|
+
}, null, 8, Ln),
|
|
2123
2098
|
c("span", {
|
|
2124
2099
|
class: l(o.question.cssClasses.itemText)
|
|
2125
2100
|
}, [
|
|
@@ -2130,7 +2105,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2130
2105
|
], 34);
|
|
2131
2106
|
};
|
|
2132
2107
|
}
|
|
2133
|
-
}),
|
|
2108
|
+
}), Pn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], An = /* @__PURE__ */ h({
|
|
2134
2109
|
__name: "RatingItemSmiley",
|
|
2135
2110
|
props: {
|
|
2136
2111
|
question: {},
|
|
@@ -2140,7 +2115,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2140
2115
|
setup(r) {
|
|
2141
2116
|
const s = r;
|
|
2142
2117
|
return L(() => s.item), (o, e) => {
|
|
2143
|
-
const n =
|
|
2118
|
+
const n = p("sv-svg-icon");
|
|
2144
2119
|
return i(), u("label", {
|
|
2145
2120
|
key: o.item.value,
|
|
2146
2121
|
onMousedown: e[1] || (e[1] = (t) => o.question.onMouseDown()),
|
|
@@ -2161,7 +2136,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2161
2136
|
"aria-label": o.question.ariaLabel,
|
|
2162
2137
|
"aria-invalid": o.question.ariaInvalid,
|
|
2163
2138
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2164
|
-
}, null, 8,
|
|
2139
|
+
}, null, 8, Pn),
|
|
2165
2140
|
b(n, {
|
|
2166
2141
|
iconName: o.question.getItemSmileyIconName(o.item.itemValue),
|
|
2167
2142
|
size: "auto",
|
|
@@ -2170,7 +2145,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2170
2145
|
], 38);
|
|
2171
2146
|
};
|
|
2172
2147
|
}
|
|
2173
|
-
}),
|
|
2148
|
+
}), Mn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Hn = /* @__PURE__ */ h({
|
|
2174
2149
|
__name: "RatingItemStar",
|
|
2175
2150
|
props: {
|
|
2176
2151
|
question: {},
|
|
@@ -2180,7 +2155,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2180
2155
|
setup(r) {
|
|
2181
2156
|
const s = r;
|
|
2182
2157
|
return L(() => s.item), (o, e) => {
|
|
2183
|
-
const n =
|
|
2158
|
+
const n = p("sv-svg-icon");
|
|
2184
2159
|
return i(), u("label", {
|
|
2185
2160
|
key: o.item.value,
|
|
2186
2161
|
onMousedown: e[1] || (e[1] = (t) => o.question.onMouseDown()),
|
|
@@ -2200,7 +2175,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2200
2175
|
"aria-label": o.question.ariaLabel,
|
|
2201
2176
|
"aria-invalid": o.question.ariaInvalid,
|
|
2202
2177
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2203
|
-
}, null, 8,
|
|
2178
|
+
}, null, 8, Mn),
|
|
2204
2179
|
b(n, {
|
|
2205
2180
|
class: l("sv-star"),
|
|
2206
2181
|
iconName: o.question.itemStarIcon,
|
|
@@ -2216,10 +2191,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
2216
2191
|
], 34);
|
|
2217
2192
|
};
|
|
2218
2193
|
}
|
|
2219
|
-
}),
|
|
2194
|
+
}), Wn = { class: "sd-rating-dropdown-item" }, En = { class: "sd-rating-dropdown-item_text" }, Vn = {
|
|
2220
2195
|
key: 0,
|
|
2221
2196
|
class: "sd-rating-dropdown-item_description"
|
|
2222
|
-
},
|
|
2197
|
+
}, On = /* @__PURE__ */ h({
|
|
2223
2198
|
__name: "RatingDropdownItem",
|
|
2224
2199
|
props: {
|
|
2225
2200
|
item: {}
|
|
@@ -2227,10 +2202,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
2227
2202
|
setup(r) {
|
|
2228
2203
|
const s = r;
|
|
2229
2204
|
return L(() => s.item), (o, e) => {
|
|
2230
|
-
const n =
|
|
2231
|
-
return i(), u("div",
|
|
2232
|
-
c("span",
|
|
2233
|
-
o.item.description ? (i(), u("div",
|
|
2205
|
+
const n = p("survey-string");
|
|
2206
|
+
return i(), u("div", Wn, [
|
|
2207
|
+
c("span", En, R(o.item.title), 1),
|
|
2208
|
+
o.item.description ? (i(), u("div", Vn, [
|
|
2234
2209
|
b(n, {
|
|
2235
2210
|
locString: o.item.description
|
|
2236
2211
|
}, null, 8, ["locString"])
|
|
@@ -2239,12 +2214,12 @@ const rn = /* @__PURE__ */ h({
|
|
|
2239
2214
|
};
|
|
2240
2215
|
}
|
|
2241
2216
|
});
|
|
2242
|
-
|
|
2217
|
+
se.Instance.registerRenderer(
|
|
2243
2218
|
"rating",
|
|
2244
2219
|
"dropdown",
|
|
2245
2220
|
"sv-rating-dropdown"
|
|
2246
2221
|
);
|
|
2247
|
-
const
|
|
2222
|
+
const Fn = /* @__PURE__ */ h({
|
|
2248
2223
|
inheritAttrs: !1,
|
|
2249
2224
|
__name: "RatingDropdown",
|
|
2250
2225
|
props: {
|
|
@@ -2253,7 +2228,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2253
2228
|
setup(r) {
|
|
2254
2229
|
const s = r, o = _(null);
|
|
2255
2230
|
return A(s, o), (e, n) => {
|
|
2256
|
-
const t =
|
|
2231
|
+
const t = p("sv-dropdown");
|
|
2257
2232
|
return i(), u("div", {
|
|
2258
2233
|
class: l(e.question.cssClasses.rootDropdown),
|
|
2259
2234
|
ref_key: "root",
|
|
@@ -2263,7 +2238,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2263
2238
|
], 2);
|
|
2264
2239
|
};
|
|
2265
2240
|
}
|
|
2266
|
-
}),
|
|
2241
|
+
}), zn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Un = /* @__PURE__ */ h({
|
|
2267
2242
|
inheritAttrs: !1,
|
|
2268
2243
|
__name: "BooleanSwitch",
|
|
2269
2244
|
props: {
|
|
@@ -2279,21 +2254,21 @@ const zn = /* @__PURE__ */ h({
|
|
|
2279
2254
|
};
|
|
2280
2255
|
return (t, a) => {
|
|
2281
2256
|
var m;
|
|
2282
|
-
const
|
|
2257
|
+
const y = p("survey-string");
|
|
2283
2258
|
return i(), u("div", {
|
|
2284
2259
|
class: l(t.question.cssClasses.root),
|
|
2285
2260
|
ref_key: "root",
|
|
2286
2261
|
ref: o,
|
|
2287
|
-
onKeydown: a[4] || (a[4] = (
|
|
2262
|
+
onKeydown: a[4] || (a[4] = (v) => t.question.onKeyDownCore(v))
|
|
2288
2263
|
}, [
|
|
2289
2264
|
c("label", {
|
|
2290
2265
|
class: l(t.question.getItemCss())
|
|
2291
2266
|
}, [
|
|
2292
|
-
|
|
2267
|
+
P(c("input", {
|
|
2293
2268
|
type: "checkbox",
|
|
2294
2269
|
name: t.question.name,
|
|
2295
2270
|
value: (m = t.question.booleanValue) != null ? m : "",
|
|
2296
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
2271
|
+
"onUpdate:modelValue": a[0] || (a[0] = (v) => t.question.booleanValue = v),
|
|
2297
2272
|
class: l(t.question.cssClasses.control),
|
|
2298
2273
|
id: t.question.inputId,
|
|
2299
2274
|
".indeterminate": t.question.isIndeterminate,
|
|
@@ -2302,24 +2277,24 @@ const zn = /* @__PURE__ */ h({
|
|
|
2302
2277
|
"aria-label": t.question.ariaLabel,
|
|
2303
2278
|
"aria-invalid": t.question.ariaInvalid,
|
|
2304
2279
|
"aria-describedby": t.question.ariaDescribedBy
|
|
2305
|
-
}, null, 42,
|
|
2306
|
-
[
|
|
2280
|
+
}, null, 42, zn), [
|
|
2281
|
+
[ne, t.question.booleanValue]
|
|
2307
2282
|
]),
|
|
2308
2283
|
c("div", {
|
|
2309
2284
|
class: l(t.question.cssClasses.sliderGhost),
|
|
2310
|
-
onClick: a[1] || (a[1] = (
|
|
2285
|
+
onClick: a[1] || (a[1] = (v) => e(v, !1))
|
|
2311
2286
|
}, [
|
|
2312
2287
|
c("span", {
|
|
2313
2288
|
class: l(t.question.getLabelCss(!1))
|
|
2314
2289
|
}, [
|
|
2315
|
-
b(
|
|
2290
|
+
b(y, {
|
|
2316
2291
|
locString: t.question.locLabelFalse
|
|
2317
2292
|
}, null, 8, ["locString"])
|
|
2318
2293
|
], 2)
|
|
2319
2294
|
], 2),
|
|
2320
2295
|
c("div", {
|
|
2321
2296
|
class: l(t.question.cssClasses.switch),
|
|
2322
|
-
onClick: a[2] || (a[2] = (
|
|
2297
|
+
onClick: a[2] || (a[2] = (v) => n(v))
|
|
2323
2298
|
}, [
|
|
2324
2299
|
c("span", {
|
|
2325
2300
|
class: l(t.question.cssClasses.slider)
|
|
@@ -2328,7 +2303,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2328
2303
|
key: 0,
|
|
2329
2304
|
class: l(t.question.cssClasses.sliderText)
|
|
2330
2305
|
}, [
|
|
2331
|
-
b(
|
|
2306
|
+
b(y, {
|
|
2332
2307
|
locString: t.question.getCheckedLabel()
|
|
2333
2308
|
}, null, 8, ["locString"])
|
|
2334
2309
|
], 2)) : d("", !0)
|
|
@@ -2336,12 +2311,12 @@ const zn = /* @__PURE__ */ h({
|
|
|
2336
2311
|
], 2),
|
|
2337
2312
|
c("div", {
|
|
2338
2313
|
class: l(t.question.cssClasses.sliderGhost),
|
|
2339
|
-
onClick: a[3] || (a[3] = (
|
|
2314
|
+
onClick: a[3] || (a[3] = (v) => e(v, !0))
|
|
2340
2315
|
}, [
|
|
2341
2316
|
c("span", {
|
|
2342
2317
|
class: l(t.question.getLabelCss(!0))
|
|
2343
2318
|
}, [
|
|
2344
|
-
b(
|
|
2319
|
+
b(y, {
|
|
2345
2320
|
locString: t.question.locLabelTrue
|
|
2346
2321
|
}, null, 8, ["locString"])
|
|
2347
2322
|
], 2)
|
|
@@ -2351,12 +2326,12 @@ const zn = /* @__PURE__ */ h({
|
|
|
2351
2326
|
};
|
|
2352
2327
|
}
|
|
2353
2328
|
});
|
|
2354
|
-
|
|
2329
|
+
se.Instance.registerRenderer(
|
|
2355
2330
|
"boolean",
|
|
2356
2331
|
"radio",
|
|
2357
2332
|
"sv-boolean-radio"
|
|
2358
2333
|
);
|
|
2359
|
-
const
|
|
2334
|
+
const Kn = /* @__PURE__ */ h({
|
|
2360
2335
|
inheritAttrs: !1,
|
|
2361
2336
|
__name: "BooleanRadio",
|
|
2362
2337
|
props: {
|
|
@@ -2365,7 +2340,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2365
2340
|
setup(r) {
|
|
2366
2341
|
const s = _(null);
|
|
2367
2342
|
return A(r, s), (e, n) => {
|
|
2368
|
-
const t =
|
|
2343
|
+
const t = p("sv-boolean-radio-item");
|
|
2369
2344
|
return i(), u("div", {
|
|
2370
2345
|
class: l(e.question.cssClasses.rootRadio),
|
|
2371
2346
|
ref_key: "root",
|
|
@@ -2391,7 +2366,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2391
2366
|
], 2);
|
|
2392
2367
|
};
|
|
2393
2368
|
}
|
|
2394
|
-
}),
|
|
2369
|
+
}), jn = ["name", "value", "checked", "aria-describedby", "disabled"], Qn = ["xlink:href"], Gn = /* @__PURE__ */ h({
|
|
2395
2370
|
__name: "BooleanRadioItem",
|
|
2396
2371
|
props: {
|
|
2397
2372
|
question: {},
|
|
@@ -2404,7 +2379,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2404
2379
|
n.booleanValue = e.target.value == "true";
|
|
2405
2380
|
};
|
|
2406
2381
|
return (e, n) => {
|
|
2407
|
-
const t =
|
|
2382
|
+
const t = p("survey-string");
|
|
2408
2383
|
return i(), u("div", {
|
|
2409
2384
|
role: "presentation",
|
|
2410
2385
|
class: l(e.question.getRadioItemClass(e.question.cssClasses, e.value))
|
|
@@ -2421,7 +2396,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2421
2396
|
disabled: e.question.isInputReadOnly,
|
|
2422
2397
|
class: l(e.question.cssClasses.itemRadioControl),
|
|
2423
2398
|
onChange: o
|
|
2424
|
-
}, null, 42,
|
|
2399
|
+
}, null, 42, jn),
|
|
2425
2400
|
e.question.cssClasses.materialRadioDecorator ? (i(), u("span", {
|
|
2426
2401
|
key: 0,
|
|
2427
2402
|
class: l(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2432,7 +2407,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2432
2407
|
}, [
|
|
2433
2408
|
c("use", {
|
|
2434
2409
|
"xlink:href": e.question.itemSvgIcon
|
|
2435
|
-
}, null, 8,
|
|
2410
|
+
}, null, 8, Qn)
|
|
2436
2411
|
], 2)) : d("", !0)
|
|
2437
2412
|
], 2)) : d("", !0),
|
|
2438
2413
|
c("span", {
|
|
@@ -2444,13 +2419,13 @@ const jn = /* @__PURE__ */ h({
|
|
|
2444
2419
|
], 2);
|
|
2445
2420
|
};
|
|
2446
2421
|
}
|
|
2447
|
-
}),
|
|
2448
|
-
|
|
2422
|
+
}), Jn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Xn = ["xlink:href"], Yn = /* @__PURE__ */ c("span", { class: "check" }, null, -1), Zn = ["id"];
|
|
2423
|
+
se.Instance.registerRenderer(
|
|
2449
2424
|
"boolean",
|
|
2450
2425
|
"checkbox",
|
|
2451
2426
|
"sv-boolean-checkbox"
|
|
2452
2427
|
);
|
|
2453
|
-
const
|
|
2428
|
+
const xn = /* @__PURE__ */ h({
|
|
2454
2429
|
inheritAttrs: !1,
|
|
2455
2430
|
__name: "BooleanCheckbox",
|
|
2456
2431
|
props: {
|
|
@@ -2461,7 +2436,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2461
2436
|
const s = r, o = _(null);
|
|
2462
2437
|
return A(s, o), (e, n) => {
|
|
2463
2438
|
var m;
|
|
2464
|
-
const t =
|
|
2439
|
+
const t = p("survey-element-title-content"), a = p("sv-title-actions"), y = p("survey-string");
|
|
2465
2440
|
return i(), u("div", {
|
|
2466
2441
|
class: l(e.question.cssClasses.rootCheckbox),
|
|
2467
2442
|
ref_key: "root",
|
|
@@ -2473,11 +2448,11 @@ const eo = /* @__PURE__ */ h({
|
|
|
2473
2448
|
c("label", {
|
|
2474
2449
|
class: l(e.question.cssClasses.checkboxLabel)
|
|
2475
2450
|
}, [
|
|
2476
|
-
|
|
2451
|
+
P(c("input", {
|
|
2477
2452
|
type: "checkbox",
|
|
2478
2453
|
name: e.question.name,
|
|
2479
2454
|
value: (m = e.question.booleanValue) != null ? m : "",
|
|
2480
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
2455
|
+
"onUpdate:modelValue": n[0] || (n[0] = (v) => e.question.booleanValue = v),
|
|
2481
2456
|
class: l(e.question.cssClasses.controlCheckbox),
|
|
2482
2457
|
id: e.question.inputId,
|
|
2483
2458
|
".indeterminate": e.question.isIndeterminate,
|
|
@@ -2486,8 +2461,8 @@ const eo = /* @__PURE__ */ h({
|
|
|
2486
2461
|
"aria-label": e.question.ariaLabel,
|
|
2487
2462
|
"aria-invalid": e.question.ariaInvalid,
|
|
2488
2463
|
"aria-describedby": e.question.ariaDescribedBy
|
|
2489
|
-
}, null, 42,
|
|
2490
|
-
[
|
|
2464
|
+
}, null, 42, Jn), [
|
|
2465
|
+
[ne, e.question.booleanValue]
|
|
2491
2466
|
]),
|
|
2492
2467
|
c("span", {
|
|
2493
2468
|
class: l(e.question.cssClasses.checkboxMaterialDecorator)
|
|
@@ -2498,9 +2473,9 @@ const eo = /* @__PURE__ */ h({
|
|
|
2498
2473
|
}, [
|
|
2499
2474
|
c("use", {
|
|
2500
2475
|
"xlink:href": e.question.svgIcon
|
|
2501
|
-
}, null, 8,
|
|
2476
|
+
}, null, 8, Xn)
|
|
2502
2477
|
], 2)) : d("", !0),
|
|
2503
|
-
|
|
2478
|
+
Yn
|
|
2504
2479
|
], 2),
|
|
2505
2480
|
e.question.isLabelRendered ? (i(), u("span", {
|
|
2506
2481
|
key: 0,
|
|
@@ -2517,13 +2492,13 @@ const eo = /* @__PURE__ */ h({
|
|
|
2517
2492
|
element: e.question,
|
|
2518
2493
|
css: e.css
|
|
2519
2494
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
2520
|
-
], 10,
|
|
2495
|
+
], 10, Zn)) : d("", !0)
|
|
2521
2496
|
], 2),
|
|
2522
2497
|
e.question.canRenderLabelDescription ? (i(), u("div", {
|
|
2523
2498
|
key: 0,
|
|
2524
2499
|
class: l(e.question.cssDescription)
|
|
2525
2500
|
}, [
|
|
2526
|
-
b(
|
|
2501
|
+
b(y, {
|
|
2527
2502
|
locString: e.question.locDescription
|
|
2528
2503
|
}, null, 8, ["locString"])
|
|
2529
2504
|
], 2)) : d("", !0)
|
|
@@ -2531,7 +2506,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2531
2506
|
], 2);
|
|
2532
2507
|
};
|
|
2533
2508
|
}
|
|
2534
|
-
}),
|
|
2509
|
+
}), eo = /* @__PURE__ */ h({
|
|
2535
2510
|
inheritAttrs: !1,
|
|
2536
2511
|
__name: "Multipletext",
|
|
2537
2512
|
props: {
|
|
@@ -2540,27 +2515,27 @@ const eo = /* @__PURE__ */ h({
|
|
|
2540
2515
|
setup(r) {
|
|
2541
2516
|
const s = r, o = _(null), e = w(() => s.question.getRows());
|
|
2542
2517
|
return A(s, o), (n, t) => {
|
|
2543
|
-
const a =
|
|
2518
|
+
const a = p("survey-multipletext-item");
|
|
2544
2519
|
return i(), u("table", {
|
|
2545
2520
|
class: l(n.question.getQuestionRootCss()),
|
|
2546
2521
|
ref_key: "root",
|
|
2547
2522
|
ref: o
|
|
2548
2523
|
}, [
|
|
2549
2524
|
c("tbody", null, [
|
|
2550
|
-
(i(!0), u($, null, B(e.value, (
|
|
2525
|
+
(i(!0), u($, null, B(e.value, (y, m) => (i(), u($, {
|
|
2551
2526
|
key: n.question.inputId + "rowkey" + m
|
|
2552
2527
|
}, [
|
|
2553
|
-
|
|
2528
|
+
y.isVisible ? (i(), u("tr", {
|
|
2554
2529
|
key: 0,
|
|
2555
2530
|
class: l(n.question.cssClasses.row)
|
|
2556
2531
|
}, [
|
|
2557
|
-
(i(!0), u($, null, B(
|
|
2558
|
-
key: "item" +
|
|
2559
|
-
class: l(
|
|
2532
|
+
(i(!0), u($, null, B(y.cells, (v) => (i(), u("td", {
|
|
2533
|
+
key: "item" + v.item.editor.id,
|
|
2534
|
+
class: l(v.className)
|
|
2560
2535
|
}, [
|
|
2561
2536
|
b(a, {
|
|
2562
2537
|
question: n.question,
|
|
2563
|
-
cell:
|
|
2538
|
+
cell: v
|
|
2564
2539
|
}, null, 8, ["question", "cell"])
|
|
2565
2540
|
], 2))), 128))
|
|
2566
2541
|
], 2)) : d("", !0)
|
|
@@ -2569,7 +2544,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2569
2544
|
], 2);
|
|
2570
2545
|
};
|
|
2571
2546
|
}
|
|
2572
|
-
}),
|
|
2547
|
+
}), so = { key: 1 }, no = /* @__PURE__ */ h({
|
|
2573
2548
|
__name: "MultipletextItem",
|
|
2574
2549
|
props: {
|
|
2575
2550
|
question: {},
|
|
@@ -2580,8 +2555,8 @@ const eo = /* @__PURE__ */ h({
|
|
|
2580
2555
|
L(() => s.cell.item.editor);
|
|
2581
2556
|
const e = w(() => s.cell.item);
|
|
2582
2557
|
return (n, t) => {
|
|
2583
|
-
const a =
|
|
2584
|
-
return n.cell.isErrorsCell ? (i(), q(
|
|
2558
|
+
const a = p("survey-string"), y = p("survey-errors");
|
|
2559
|
+
return n.cell.isErrorsCell ? (i(), q(y, {
|
|
2585
2560
|
key: 1,
|
|
2586
2561
|
element: e.value.editor
|
|
2587
2562
|
}, null, 8, ["element"])) : (i(), u("label", {
|
|
@@ -2599,7 +2574,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2599
2574
|
b(a, {
|
|
2600
2575
|
locString: e.value.locTitle
|
|
2601
2576
|
}, null, 8, ["locString"]),
|
|
2602
|
-
e.value.editor.isRequireTextAfterTitle ? (i(), u("span",
|
|
2577
|
+
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", so, "\xA0")) : d("", !0),
|
|
2603
2578
|
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", {
|
|
2604
2579
|
key: 2,
|
|
2605
2580
|
"aria-hidden": "true",
|
|
@@ -2618,7 +2593,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2618
2593
|
], 2));
|
|
2619
2594
|
};
|
|
2620
2595
|
}
|
|
2621
|
-
}),
|
|
2596
|
+
}), oo = { class: "sv-hidden" }, to = { key: 0 }, io = { key: 0 }, ro = ["onClick"], lo = ["data-responsive-title", "onClick"], ao = ["name", "onUpdate:modelValue", "value", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], uo = ["xlink:href"], mo = /* @__PURE__ */ h({
|
|
2622
2597
|
inheritAttrs: !1,
|
|
2623
2598
|
__name: "Matrix",
|
|
2624
2599
|
props: {
|
|
@@ -2643,22 +2618,22 @@ const eo = /* @__PURE__ */ h({
|
|
|
2643
2618
|
s.question.isInputReadOnly || (t.value = a.value);
|
|
2644
2619
|
};
|
|
2645
2620
|
return (t, a) => {
|
|
2646
|
-
const
|
|
2621
|
+
const y = p("survey-string");
|
|
2647
2622
|
return i(), u("div", {
|
|
2648
2623
|
class: l(t.question.cssClasses.tableWrapper),
|
|
2649
2624
|
ref_key: "root",
|
|
2650
2625
|
ref: o
|
|
2651
2626
|
}, [
|
|
2652
2627
|
c("fieldset", null, [
|
|
2653
|
-
c("legend",
|
|
2628
|
+
c("legend", oo, R(t.question.locTitle.renderedHtml), 1),
|
|
2654
2629
|
c("table", {
|
|
2655
2630
|
class: l(t.question.getTableCss())
|
|
2656
2631
|
}, [
|
|
2657
|
-
t.question.showHeader ? (i(), u("thead",
|
|
2632
|
+
t.question.showHeader ? (i(), u("thead", to, [
|
|
2658
2633
|
c("tr", null, [
|
|
2659
|
-
t.question.hasRows ? (i(), u("td",
|
|
2660
|
-
(i(!0), u($, null, B(t.question.visibleColumns, (m,
|
|
2661
|
-
key:
|
|
2634
|
+
t.question.hasRows ? (i(), u("td", io)) : d("", !0),
|
|
2635
|
+
(i(!0), u($, null, B(t.question.visibleColumns, (m, v) => (i(), u("th", {
|
|
2636
|
+
key: v,
|
|
2662
2637
|
class: l(t.question.cssClasses.headerCell),
|
|
2663
2638
|
style: S({
|
|
2664
2639
|
minWidth: t.question.columnMinWidth,
|
|
@@ -2669,7 +2644,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2669
2644
|
componentData: t.question.getColumnHeaderWrapperComponentData(m)
|
|
2670
2645
|
}, {
|
|
2671
2646
|
default: V(() => [
|
|
2672
|
-
b(
|
|
2647
|
+
b(y, {
|
|
2673
2648
|
locString: m.locText
|
|
2674
2649
|
}, null, 8, ["locString"])
|
|
2675
2650
|
]),
|
|
@@ -2679,11 +2654,11 @@ const eo = /* @__PURE__ */ h({
|
|
|
2679
2654
|
])
|
|
2680
2655
|
])) : d("", !0),
|
|
2681
2656
|
c("tbody", null, [
|
|
2682
|
-
(i(!0), u($, null, B(e.value, (m,
|
|
2683
|
-
key: "row_" + m.name + "_" +
|
|
2657
|
+
(i(!0), u($, null, B(e.value, (m, v) => (i(), u("tr", {
|
|
2658
|
+
key: "row_" + m.name + "_" + v,
|
|
2684
2659
|
class: l(m.rowClasses || void 0)
|
|
2685
2660
|
}, [
|
|
2686
|
-
|
|
2661
|
+
P(c("td", {
|
|
2687
2662
|
class: l(t.question.cssClasses.rowTextCell),
|
|
2688
2663
|
style: S({
|
|
2689
2664
|
minWidth: t.question.rowTitleWidth,
|
|
@@ -2694,7 +2669,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2694
2669
|
componentData: t.question.getRowHeaderWrapperComponentData(m)
|
|
2695
2670
|
}, {
|
|
2696
2671
|
default: V(() => [
|
|
2697
|
-
b(
|
|
2672
|
+
b(y, {
|
|
2698
2673
|
locString: m.locText
|
|
2699
2674
|
}, null, 8, ["locString"])
|
|
2700
2675
|
]),
|
|
@@ -2708,10 +2683,10 @@ const eo = /* @__PURE__ */ h({
|
|
|
2708
2683
|
class: l(t.question.getItemClass(m, g)),
|
|
2709
2684
|
onClick: (C) => n(m, g)
|
|
2710
2685
|
}, [
|
|
2711
|
-
b(
|
|
2686
|
+
b(y, {
|
|
2712
2687
|
locString: t.question.getCellDisplayLocText(m.name, g)
|
|
2713
2688
|
}, null, 8, ["locString"])
|
|
2714
|
-
], 10,
|
|
2689
|
+
], 10, ro))), 128)) : d("", !0),
|
|
2715
2690
|
t.question.hasCellText ? d("", !0) : (i(!0), u($, { key: 1 }, B(t.question.visibleColumns, (g, I) => (i(), u("td", {
|
|
2716
2691
|
key: I,
|
|
2717
2692
|
"data-responsive-title": g.locText.renderedHtml,
|
|
@@ -2722,7 +2697,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2722
2697
|
onMousedown: a[0] || (a[0] = (C) => t.question.onMouseDown()),
|
|
2723
2698
|
class: l(t.question.getItemClass(m, g))
|
|
2724
2699
|
}, [
|
|
2725
|
-
|
|
2700
|
+
P(c("input", {
|
|
2726
2701
|
type: "radio",
|
|
2727
2702
|
class: l(t.question.cssClasses.itemValue),
|
|
2728
2703
|
name: m.fullName,
|
|
@@ -2734,8 +2709,8 @@ const eo = /* @__PURE__ */ h({
|
|
|
2734
2709
|
"aria-label": t.question.getCellAriaLabel(m.locText.renderedHtml, g.locText.renderedHtml),
|
|
2735
2710
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2736
2711
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy
|
|
2737
|
-
}, null, 10,
|
|
2738
|
-
[
|
|
2712
|
+
}, null, 10, ao), [
|
|
2713
|
+
[ee, m.value]
|
|
2739
2714
|
]),
|
|
2740
2715
|
c("span", {
|
|
2741
2716
|
class: l(t.question.cssClasses.materialDecorator)
|
|
@@ -2746,20 +2721,20 @@ const eo = /* @__PURE__ */ h({
|
|
|
2746
2721
|
}, [
|
|
2747
2722
|
c("use", {
|
|
2748
2723
|
"xlink:href": t.question.itemSvgIcon
|
|
2749
|
-
}, null, 8,
|
|
2724
|
+
}, null, 8, uo)
|
|
2750
2725
|
], 2)) : d("", !0)
|
|
2751
2726
|
], 2),
|
|
2752
|
-
|
|
2727
|
+
P(c("span", {
|
|
2753
2728
|
class: l(t.question.cssClasses.cellResponsiveTitle)
|
|
2754
2729
|
}, [
|
|
2755
|
-
b(
|
|
2730
|
+
b(y, {
|
|
2756
2731
|
locString: g.locText
|
|
2757
2732
|
}, null, 8, ["locString"])
|
|
2758
2733
|
], 2), [
|
|
2759
2734
|
[M, t.question.isMobile]
|
|
2760
2735
|
])
|
|
2761
2736
|
], 34)
|
|
2762
|
-
], 10,
|
|
2737
|
+
], 10, lo))), 128))
|
|
2763
2738
|
], 2))), 128))
|
|
2764
2739
|
])
|
|
2765
2740
|
], 2)
|
|
@@ -2767,7 +2742,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2767
2742
|
], 2);
|
|
2768
2743
|
};
|
|
2769
2744
|
}
|
|
2770
|
-
}),
|
|
2745
|
+
}), co = /* @__PURE__ */ h({
|
|
2771
2746
|
inheritAttrs: !1,
|
|
2772
2747
|
__name: "MatrixDropdown",
|
|
2773
2748
|
props: {
|
|
@@ -2776,7 +2751,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2776
2751
|
setup(r) {
|
|
2777
2752
|
const s = r, o = _(null);
|
|
2778
2753
|
return A(s, o), (e, n) => {
|
|
2779
|
-
const t =
|
|
2754
|
+
const t = p("survey-matrixtable");
|
|
2780
2755
|
return i(), q(t, {
|
|
2781
2756
|
question: e.question,
|
|
2782
2757
|
ref_key: "root",
|
|
@@ -2784,7 +2759,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2784
2759
|
}, null, 8, ["question"]);
|
|
2785
2760
|
};
|
|
2786
2761
|
}
|
|
2787
|
-
}),
|
|
2762
|
+
}), po = { key: 0 }, vo = ["data-sv-drop-target-matrix-row", "onPointerdown"], yo = { key: 1 }, qo = /* @__PURE__ */ h({
|
|
2788
2763
|
__name: "MatrixTable",
|
|
2789
2764
|
props: {
|
|
2790
2765
|
question: {}
|
|
@@ -2805,7 +2780,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2805
2780
|
};
|
|
2806
2781
|
}
|
|
2807
2782
|
), (e, n) => {
|
|
2808
|
-
const t =
|
|
2783
|
+
const t = p("survey-string"), a = p("survey-matrixheaderrequired"), y = p("survey-matrixcell");
|
|
2809
2784
|
return i(), u("div", {
|
|
2810
2785
|
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2811
2786
|
class: l(e.question.cssClasses.tableWrapper)
|
|
@@ -2813,7 +2788,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2813
2788
|
c("table", {
|
|
2814
2789
|
class: l(e.question.getTableCss())
|
|
2815
2790
|
}, [
|
|
2816
|
-
o.value.showHeader ? (i(), u("thead",
|
|
2791
|
+
o.value.showHeader ? (i(), u("thead", po, [
|
|
2817
2792
|
c("tr", null, [
|
|
2818
2793
|
(i(!0), u($, null, B(o.value.headerRow.cells, (m) => (i(), u($, null, [
|
|
2819
2794
|
m.hasTitle ? (i(), u("th", {
|
|
@@ -2852,23 +2827,23 @@ const eo = /* @__PURE__ */ h({
|
|
|
2852
2827
|
m.visible ? (i(), u("tr", {
|
|
2853
2828
|
key: 0,
|
|
2854
2829
|
"data-sv-drop-target-matrix-row": m.row && m.row.id,
|
|
2855
|
-
onPointerdown: (
|
|
2830
|
+
onPointerdown: (v) => e.question.onPointerDown(v, m.row),
|
|
2856
2831
|
class: l(m.className)
|
|
2857
2832
|
}, [
|
|
2858
|
-
(i(!0), u($, null, B(m.cells, (
|
|
2859
|
-
cell:
|
|
2833
|
+
(i(!0), u($, null, B(m.cells, (v, g) => (i(), q(y, {
|
|
2834
|
+
cell: v,
|
|
2860
2835
|
question: e.question,
|
|
2861
2836
|
key: m.id + "_" + g
|
|
2862
2837
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2863
|
-
], 42,
|
|
2838
|
+
], 42, vo)) : d("", !0)
|
|
2864
2839
|
], 64))), 128))
|
|
2865
2840
|
]),
|
|
2866
|
-
o.value.showFooter ? (i(), u("tfoot",
|
|
2841
|
+
o.value.showFooter ? (i(), u("tfoot", yo, [
|
|
2867
2842
|
c("tr", null, [
|
|
2868
|
-
(i(!0), u($, null, B(o.value.footerRow.cells, (m,
|
|
2843
|
+
(i(!0), u($, null, B(o.value.footerRow.cells, (m, v) => (i(), q(y, {
|
|
2869
2844
|
cell: m,
|
|
2870
2845
|
question: e.question,
|
|
2871
|
-
key: "footer_" +
|
|
2846
|
+
key: "footer_" + v
|
|
2872
2847
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2873
2848
|
])
|
|
2874
2849
|
])) : d("", !0)
|
|
@@ -2876,7 +2851,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2876
2851
|
], 6);
|
|
2877
2852
|
};
|
|
2878
2853
|
}
|
|
2879
|
-
}),
|
|
2854
|
+
}), go = /* @__PURE__ */ c("span", null, "\xA0", -1), ho = /* @__PURE__ */ h({
|
|
2880
2855
|
__name: "MatrixHeaderRequired",
|
|
2881
2856
|
props: {
|
|
2882
2857
|
question: {},
|
|
@@ -2885,21 +2860,21 @@ const eo = /* @__PURE__ */ h({
|
|
|
2885
2860
|
setup(r) {
|
|
2886
2861
|
const s = r;
|
|
2887
2862
|
return L(() => s.column), (o, e) => o.column.isRenderedRequired ? (i(), u($, { key: 0 }, [
|
|
2888
|
-
|
|
2863
|
+
go,
|
|
2889
2864
|
o.column.isRenderedRequired ? (i(), u("span", {
|
|
2890
2865
|
key: 0,
|
|
2891
2866
|
class: l(o.question.cssClasses.cellRequiredText)
|
|
2892
2867
|
}, R(o.column.requiredText), 3)) : d("", !0)
|
|
2893
2868
|
], 64)) : d("", !0);
|
|
2894
2869
|
}
|
|
2895
|
-
}),
|
|
2870
|
+
}), Co = ["data-responsive-title", "title", "colspan"], bo = /* @__PURE__ */ h({
|
|
2896
2871
|
__name: "MatrixCell",
|
|
2897
2872
|
props: {
|
|
2898
2873
|
question: {},
|
|
2899
2874
|
cell: {}
|
|
2900
2875
|
},
|
|
2901
2876
|
setup(r) {
|
|
2902
|
-
const s = r, o = _(!1), e = _(), n = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, a = () => o.value = s.cell.question.isVisible,
|
|
2877
|
+
const s = r, o = _(!1), e = _(), n = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, a = () => o.value = s.cell.question.isVisible, y = (g) => te(g);
|
|
2903
2878
|
H(() => {
|
|
2904
2879
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2905
2880
|
return;
|
|
@@ -2920,28 +2895,28 @@ const eo = /* @__PURE__ */ h({
|
|
|
2920
2895
|
if (g.hasPanel) {
|
|
2921
2896
|
const I = g.panel, C = I.survey;
|
|
2922
2897
|
if (C) {
|
|
2923
|
-
const
|
|
2924
|
-
if (
|
|
2925
|
-
return
|
|
2898
|
+
const N = C.getElementWrapperComponentName(I);
|
|
2899
|
+
if (N)
|
|
2900
|
+
return N;
|
|
2926
2901
|
}
|
|
2927
2902
|
return "survey-panel";
|
|
2928
2903
|
}
|
|
2929
|
-
}),
|
|
2904
|
+
}), v = w(() => {
|
|
2930
2905
|
if (s.cell.hasPanel) {
|
|
2931
2906
|
const I = s.cell.panel, C = I.survey;
|
|
2932
|
-
let
|
|
2933
|
-
return C && (
|
|
2907
|
+
let N;
|
|
2908
|
+
return C && (N = C.getElementWrapperComponentData(I)), {
|
|
2934
2909
|
componentName: "survey-panel",
|
|
2935
2910
|
componentData: {
|
|
2936
2911
|
element: I,
|
|
2937
|
-
data:
|
|
2912
|
+
data: N,
|
|
2938
2913
|
css: s.question.cssClasses
|
|
2939
2914
|
}
|
|
2940
2915
|
};
|
|
2941
2916
|
}
|
|
2942
2917
|
});
|
|
2943
2918
|
return (g, I) => {
|
|
2944
|
-
const C =
|
|
2919
|
+
const C = p("survey-errors"), N = p("sv-matrix-drag-drop-icon"), k = p("sv-action-bar"), D = p("survey-radiogroup-item"), E = p("survey-checkbox-item"), O = p("survey-other-choice"), U = p("survey-string");
|
|
2945
2920
|
return i(), u("td", {
|
|
2946
2921
|
class: l(g.cell.className),
|
|
2947
2922
|
"data-responsive-title": n(),
|
|
@@ -2956,7 +2931,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2956
2931
|
key: 0,
|
|
2957
2932
|
element: g.cell.question
|
|
2958
2933
|
}, null, 8, ["element"])) : d("", !0),
|
|
2959
|
-
g.cell.isDragHandlerCell ? (i(), q(
|
|
2934
|
+
g.cell.isDragHandlerCell ? (i(), q(N, {
|
|
2960
2935
|
key: 1,
|
|
2961
2936
|
item: { data: { row: g.cell.row, question: g.question } }
|
|
2962
2937
|
}, null, 8, ["item"])) : d("", !0),
|
|
@@ -2965,8 +2940,8 @@ const eo = /* @__PURE__ */ h({
|
|
|
2965
2940
|
model: g.cell.item.getData(),
|
|
2966
2941
|
handleClick: !1
|
|
2967
2942
|
}, null, 8, ["model"])) : d("", !0),
|
|
2968
|
-
g.cell.hasPanel ? (i(), q(T(m.value), F(W({ key: 3 },
|
|
2969
|
-
g.cell.hasQuestion ?
|
|
2943
|
+
g.cell.hasPanel ? (i(), q(T(m.value), F(W({ key: 3 }, v.value)), null, 16)) : d("", !0),
|
|
2944
|
+
g.cell.hasQuestion ? P((i(), u("div", {
|
|
2970
2945
|
key: 4,
|
|
2971
2946
|
class: l(g.question.cssClasses.cellQuestionWrapper)
|
|
2972
2947
|
}, [
|
|
@@ -2975,7 +2950,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2975
2950
|
componentData: g.question.getCellWrapperComponentData(g.cell.cell)
|
|
2976
2951
|
}, {
|
|
2977
2952
|
default: V(() => [
|
|
2978
|
-
(i(), q(T(
|
|
2953
|
+
(i(), q(T(y(g.cell.question)), {
|
|
2979
2954
|
question: g.cell.question
|
|
2980
2955
|
}, null, 8, ["question"]))
|
|
2981
2956
|
]),
|
|
@@ -3028,10 +3003,10 @@ const eo = /* @__PURE__ */ h({
|
|
|
3028
3003
|
]),
|
|
3029
3004
|
_: 1
|
|
3030
3005
|
}, 8, ["componentData"])) : d("", !0)
|
|
3031
|
-
], 46,
|
|
3006
|
+
], 46, Co);
|
|
3032
3007
|
};
|
|
3033
3008
|
}
|
|
3034
|
-
}),
|
|
3009
|
+
}), ko = /* @__PURE__ */ h({
|
|
3035
3010
|
inheritAttrs: !1,
|
|
3036
3011
|
__name: "MatrixDynamic",
|
|
3037
3012
|
props: {
|
|
@@ -3044,7 +3019,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
3044
3019
|
s.question.addRowUI();
|
|
3045
3020
|
};
|
|
3046
3021
|
return (n, t) => {
|
|
3047
|
-
const a =
|
|
3022
|
+
const a = p("survey-string"), y = p("survey-matrixtable");
|
|
3048
3023
|
return i(), u("div", {
|
|
3049
3024
|
ref_key: "root",
|
|
3050
3025
|
ref: o
|
|
@@ -3066,7 +3041,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
3066
3041
|
}, null, 2)
|
|
3067
3042
|
], 2)
|
|
3068
3043
|
], 2)) : d("", !0),
|
|
3069
|
-
n.question.renderedTable.showTable ? (i(), q(
|
|
3044
|
+
n.question.renderedTable.showTable ? (i(), q(y, {
|
|
3070
3045
|
key: 1,
|
|
3071
3046
|
question: n.question
|
|
3072
3047
|
}, null, 8, ["question"])) : d("", !0),
|
|
@@ -3122,7 +3097,7 @@ function ie(r, s = !0) {
|
|
|
3122
3097
|
row: s ? w(() => r.item.data.row) : void 0
|
|
3123
3098
|
};
|
|
3124
3099
|
}
|
|
3125
|
-
const
|
|
3100
|
+
const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
3126
3101
|
__name: "RemoveButton",
|
|
3127
3102
|
props: {
|
|
3128
3103
|
item: {}
|
|
@@ -3130,7 +3105,7 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3130
3105
|
setup(r) {
|
|
3131
3106
|
const s = r, { question: o, row: e } = ie(s);
|
|
3132
3107
|
return (n, t) => {
|
|
3133
|
-
const a =
|
|
3108
|
+
const a = p("survey-string");
|
|
3134
3109
|
return i(), u("button", {
|
|
3135
3110
|
type: "button",
|
|
3136
3111
|
class: l(f(o).getRemoveRowButtonCss()),
|
|
@@ -3143,10 +3118,10 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3143
3118
|
c("span", {
|
|
3144
3119
|
class: l(f(o).cssClasses.iconRemove)
|
|
3145
3120
|
}, null, 2)
|
|
3146
|
-
], 10,
|
|
3121
|
+
], 10, fo);
|
|
3147
3122
|
};
|
|
3148
3123
|
}
|
|
3149
|
-
}),
|
|
3124
|
+
}), wo = ["xlink:href"], So = /* @__PURE__ */ h({
|
|
3150
3125
|
__name: "DragDropIcon",
|
|
3151
3126
|
props: {
|
|
3152
3127
|
item: {}
|
|
@@ -3159,13 +3134,13 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3159
3134
|
}, [
|
|
3160
3135
|
c("use", {
|
|
3161
3136
|
"xlink:href": f(o).iconDragElement
|
|
3162
|
-
}, null, 8,
|
|
3137
|
+
}, null, 8, wo)
|
|
3163
3138
|
], 2)) : (i(), u("span", {
|
|
3164
3139
|
key: 1,
|
|
3165
3140
|
class: l(f(o).cssClasses.iconDrag)
|
|
3166
3141
|
}, null, 2));
|
|
3167
3142
|
}
|
|
3168
|
-
}),
|
|
3143
|
+
}), Ro = ["aria-expanded", "aria-controls"], To = /* @__PURE__ */ h({
|
|
3169
3144
|
__name: "DetailButton",
|
|
3170
3145
|
props: {
|
|
3171
3146
|
item: {}
|
|
@@ -3173,7 +3148,7 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3173
3148
|
setup(r) {
|
|
3174
3149
|
const s = r, { question: o, row: e } = ie(s);
|
|
3175
3150
|
return (n, t) => {
|
|
3176
|
-
const a =
|
|
3151
|
+
const a = p("sv-svg-icon");
|
|
3177
3152
|
return i(), u("button", {
|
|
3178
3153
|
type: "button",
|
|
3179
3154
|
class: l(f(o).getDetailPanelButtonCss(f(e))),
|
|
@@ -3186,10 +3161,10 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3186
3161
|
iconName: f(o).getDetailPanelIconId(f(e)),
|
|
3187
3162
|
size: "auto"
|
|
3188
3163
|
}, null, 8, ["class", "iconName"])
|
|
3189
|
-
], 10,
|
|
3164
|
+
], 10, Ro);
|
|
3190
3165
|
};
|
|
3191
3166
|
}
|
|
3192
|
-
}),
|
|
3167
|
+
}), $o = /* @__PURE__ */ h({
|
|
3193
3168
|
inheritAttrs: !1,
|
|
3194
3169
|
__name: "PanelDynamic",
|
|
3195
3170
|
props: {
|
|
@@ -3203,14 +3178,14 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3203
3178
|
o,
|
|
3204
3179
|
(m) => {
|
|
3205
3180
|
m.panelCountChangedCallback = () => {
|
|
3206
|
-
var
|
|
3207
|
-
(
|
|
3181
|
+
var v;
|
|
3182
|
+
(v = e == null ? void 0 : e.proxy) == null || v.$forceUpdate();
|
|
3208
3183
|
}, m.currentIndexChangedCallback = () => {
|
|
3209
|
-
var
|
|
3210
|
-
(
|
|
3184
|
+
var v;
|
|
3185
|
+
(v = e == null ? void 0 : e.proxy) == null || v.$forceUpdate();
|
|
3211
3186
|
}, m.renderModeChangedCallback = () => {
|
|
3212
|
-
var
|
|
3213
|
-
(
|
|
3187
|
+
var v;
|
|
3188
|
+
(v = e == null ? void 0 : e.proxy) == null || v.$forceUpdate();
|
|
3214
3189
|
};
|
|
3215
3190
|
},
|
|
3216
3191
|
(m) => {
|
|
@@ -3226,17 +3201,17 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3226
3201
|
const m = [];
|
|
3227
3202
|
return s.question.currentPanel && m.push(s.question.currentPanel), m;
|
|
3228
3203
|
}), t = () => s.question.showLegacyNavigation, a = (m) => {
|
|
3229
|
-
const
|
|
3230
|
-
if (
|
|
3231
|
-
const g =
|
|
3204
|
+
const v = s.question.getSurvey();
|
|
3205
|
+
if (v) {
|
|
3206
|
+
const g = v.getElementWrapperComponentName(m);
|
|
3232
3207
|
if (g)
|
|
3233
3208
|
return g;
|
|
3234
3209
|
}
|
|
3235
3210
|
return "panel";
|
|
3236
|
-
},
|
|
3237
|
-
const
|
|
3211
|
+
}, y = (m) => {
|
|
3212
|
+
const v = s.question.getSurvey();
|
|
3238
3213
|
let g;
|
|
3239
|
-
return
|
|
3214
|
+
return v && (g = v.getElementWrapperComponentData(m)), {
|
|
3240
3215
|
componentName: "survey-panel",
|
|
3241
3216
|
componentData: {
|
|
3242
3217
|
element: m,
|
|
@@ -3244,8 +3219,8 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3244
3219
|
}
|
|
3245
3220
|
};
|
|
3246
3221
|
};
|
|
3247
|
-
return (m,
|
|
3248
|
-
const g =
|
|
3222
|
+
return (m, v) => {
|
|
3223
|
+
const g = p("survey-string"), I = p("sv-paneldynamic-add-btn"), C = p("survey-paneldynamicprogress"), N = p("sv-paneldynamic-remove-btn"), k = p("survey-paneldynamicprogress-v2");
|
|
3249
3224
|
return i(), u("div", {
|
|
3250
3225
|
class: l(m.question.cssClasses.root),
|
|
3251
3226
|
ref_key: "root",
|
|
@@ -3284,8 +3259,8 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3284
3259
|
c("div", {
|
|
3285
3260
|
class: l(m.question.getPanelWrapperCss())
|
|
3286
3261
|
}, [
|
|
3287
|
-
(i(), q(T(a(D)), F(ye(
|
|
3288
|
-
m.question.panelRemoveButtonLocation === "right" && m.question.canRemovePanel && D.state !== "collapsed" ? (i(), q(
|
|
3262
|
+
(i(), q(T(a(D)), F(ye(y(D))), null, 16)),
|
|
3263
|
+
m.question.panelRemoveButtonLocation === "right" && m.question.canRemovePanel && D.state !== "collapsed" ? (i(), q(N, {
|
|
3289
3264
|
key: 0,
|
|
3290
3265
|
data: { question: m.question, panel: D }
|
|
3291
3266
|
}, null, 8, ["data"])) : d("", !0)
|
|
@@ -3310,7 +3285,7 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3310
3285
|
], 2);
|
|
3311
3286
|
};
|
|
3312
3287
|
}
|
|
3313
|
-
}),
|
|
3288
|
+
}), _o = /* @__PURE__ */ h({
|
|
3314
3289
|
__name: "PanelDynamicProgress",
|
|
3315
3290
|
props: {
|
|
3316
3291
|
question: {}
|
|
@@ -3318,7 +3293,7 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3318
3293
|
setup(r) {
|
|
3319
3294
|
const s = r, o = () => s.question.isProgressTopShowing ? s.question.cssClasses.progressTop : s.question.cssClasses.progressBottom;
|
|
3320
3295
|
return (e, n) => {
|
|
3321
|
-
const t =
|
|
3296
|
+
const t = p("sv-paneldynamic-prev-btn"), a = p("sv-paneldynamic-next-btn"), y = p("sv-paneldynamic-add-btn"), m = p("sv-paneldynamic-progress-text");
|
|
3322
3297
|
return i(), u("div", {
|
|
3323
3298
|
class: l(o())
|
|
3324
3299
|
}, [
|
|
@@ -3346,7 +3321,7 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3346
3321
|
data: { question: e.question }
|
|
3347
3322
|
}, null, 8, ["data"])
|
|
3348
3323
|
], 2),
|
|
3349
|
-
b(
|
|
3324
|
+
b(y, {
|
|
3350
3325
|
data: { question: e.question }
|
|
3351
3326
|
}, null, 8, ["data"]),
|
|
3352
3327
|
b(m, {
|
|
@@ -3356,14 +3331,14 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3356
3331
|
], 2);
|
|
3357
3332
|
};
|
|
3358
3333
|
}
|
|
3359
|
-
}),
|
|
3334
|
+
}), Do = /* @__PURE__ */ h({
|
|
3360
3335
|
__name: "PanelDynamicProgressV2",
|
|
3361
3336
|
props: {
|
|
3362
3337
|
question: {}
|
|
3363
3338
|
},
|
|
3364
3339
|
setup(r) {
|
|
3365
3340
|
return (s, o) => {
|
|
3366
|
-
const e =
|
|
3341
|
+
const e = p("sv-action-bar");
|
|
3367
3342
|
return s.question.cssClasses.footer ? (i(), u("div", {
|
|
3368
3343
|
key: 0,
|
|
3369
3344
|
class: l(s.question.cssClasses.footer)
|
|
@@ -3393,19 +3368,19 @@ const Io = ["disabled"], wo = /* @__PURE__ */ h({
|
|
|
3393
3368
|
};
|
|
3394
3369
|
}
|
|
3395
3370
|
});
|
|
3396
|
-
function
|
|
3371
|
+
function Y(r) {
|
|
3397
3372
|
return w(
|
|
3398
3373
|
() => r.item && r.item.data.question || r.data.question
|
|
3399
3374
|
);
|
|
3400
3375
|
}
|
|
3401
|
-
const
|
|
3376
|
+
const Bo = /* @__PURE__ */ h({
|
|
3402
3377
|
__name: "PaneldynamicAddBtn",
|
|
3403
3378
|
props: {
|
|
3404
3379
|
item: {},
|
|
3405
3380
|
data: {}
|
|
3406
3381
|
},
|
|
3407
3382
|
setup(r) {
|
|
3408
|
-
const o =
|
|
3383
|
+
const o = Y(r), e = () => {
|
|
3409
3384
|
o.value.addPanelUI();
|
|
3410
3385
|
};
|
|
3411
3386
|
return (n, t) => f(o).canAddPanel ? (i(), u("button", {
|
|
@@ -3419,18 +3394,18 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3419
3394
|
}, R(f(o).panelAddText), 3)
|
|
3420
3395
|
], 2)) : d("", !0);
|
|
3421
3396
|
}
|
|
3422
|
-
}),
|
|
3397
|
+
}), Lo = ["title"], No = /* @__PURE__ */ h({
|
|
3423
3398
|
__name: "PaneldynamicNextBtn",
|
|
3424
3399
|
props: {
|
|
3425
3400
|
item: {},
|
|
3426
3401
|
data: {}
|
|
3427
3402
|
},
|
|
3428
3403
|
setup(r) {
|
|
3429
|
-
const o =
|
|
3404
|
+
const o = Y(r), e = () => {
|
|
3430
3405
|
o.value.goToNextPanel();
|
|
3431
3406
|
};
|
|
3432
3407
|
return (n, t) => {
|
|
3433
|
-
const a =
|
|
3408
|
+
const a = p("sv-svg-icon");
|
|
3434
3409
|
return i(), u("div", {
|
|
3435
3410
|
title: f(o).panelNextText,
|
|
3436
3411
|
onClick: e,
|
|
@@ -3440,21 +3415,21 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3440
3415
|
iconName: f(o).cssClasses.progressBtnIcon,
|
|
3441
3416
|
size: "auto"
|
|
3442
3417
|
}, null, 8, ["iconName"])
|
|
3443
|
-
], 10,
|
|
3418
|
+
], 10, Lo);
|
|
3444
3419
|
};
|
|
3445
3420
|
}
|
|
3446
|
-
}),
|
|
3421
|
+
}), Po = ["title"], Ao = /* @__PURE__ */ h({
|
|
3447
3422
|
__name: "PaneldynamicPrevBtn",
|
|
3448
3423
|
props: {
|
|
3449
3424
|
item: {},
|
|
3450
3425
|
data: {}
|
|
3451
3426
|
},
|
|
3452
3427
|
setup(r) {
|
|
3453
|
-
const o =
|
|
3428
|
+
const o = Y(r), e = () => {
|
|
3454
3429
|
o.value.goToPrevPanel();
|
|
3455
3430
|
};
|
|
3456
3431
|
return (n, t) => {
|
|
3457
|
-
const a =
|
|
3432
|
+
const a = p("sv-svg-icon");
|
|
3458
3433
|
return i(), u("div", {
|
|
3459
3434
|
title: f(o).panelPrevText,
|
|
3460
3435
|
onClick: e,
|
|
@@ -3464,17 +3439,17 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3464
3439
|
iconName: f(o).cssClasses.progressBtnIcon,
|
|
3465
3440
|
size: "auto"
|
|
3466
3441
|
}, null, 8, ["iconName"])
|
|
3467
|
-
], 10,
|
|
3442
|
+
], 10, Po);
|
|
3468
3443
|
};
|
|
3469
3444
|
}
|
|
3470
|
-
}),
|
|
3445
|
+
}), Mo = /* @__PURE__ */ h({
|
|
3471
3446
|
__name: "PaneldynamicRemoveBtn",
|
|
3472
3447
|
props: {
|
|
3473
3448
|
item: {},
|
|
3474
3449
|
data: {}
|
|
3475
3450
|
},
|
|
3476
3451
|
setup(r) {
|
|
3477
|
-
const s = r, o =
|
|
3452
|
+
const s = r, o = Y(s), e = w(
|
|
3478
3453
|
() => s.item && s.item.data.panel || s.data.panel
|
|
3479
3454
|
), n = (t) => {
|
|
3480
3455
|
o.value.isInputReadOnly || o.value.removePanelUI(t);
|
|
@@ -3482,7 +3457,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3482
3457
|
return (t, a) => (i(), u("button", {
|
|
3483
3458
|
type: "button",
|
|
3484
3459
|
class: l(f(o).getPanelRemoveButtonCss()),
|
|
3485
|
-
onClick: a[0] || (a[0] = (
|
|
3460
|
+
onClick: a[0] || (a[0] = (y) => n(e.value))
|
|
3486
3461
|
}, [
|
|
3487
3462
|
c("span", {
|
|
3488
3463
|
class: l(f(o).cssClasses.buttonRemoveText)
|
|
@@ -3492,19 +3467,19 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3492
3467
|
}, null, 2)
|
|
3493
3468
|
], 2));
|
|
3494
3469
|
}
|
|
3495
|
-
}),
|
|
3470
|
+
}), Ho = /* @__PURE__ */ h({
|
|
3496
3471
|
__name: "PaneldynamicProgressText",
|
|
3497
3472
|
props: {
|
|
3498
3473
|
item: {},
|
|
3499
3474
|
data: {}
|
|
3500
3475
|
},
|
|
3501
3476
|
setup(r) {
|
|
3502
|
-
const o =
|
|
3477
|
+
const o = Y(r);
|
|
3503
3478
|
return (e, n) => (i(), u("div", {
|
|
3504
3479
|
class: l(f(o).cssClasses.progressText)
|
|
3505
3480
|
}, R(f(o).progressText), 3));
|
|
3506
3481
|
}
|
|
3507
|
-
}),
|
|
3482
|
+
}), Wo = ["id"], Eo = /* @__PURE__ */ h({
|
|
3508
3483
|
__name: "Errors",
|
|
3509
3484
|
props: {
|
|
3510
3485
|
element: {},
|
|
@@ -3513,7 +3488,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3513
3488
|
setup(r) {
|
|
3514
3489
|
const s = _();
|
|
3515
3490
|
return (o, e) => {
|
|
3516
|
-
const n =
|
|
3491
|
+
const n = p("survey-string");
|
|
3517
3492
|
return o.element.hasVisibleErrors ? (i(), u("div", {
|
|
3518
3493
|
key: 0,
|
|
3519
3494
|
role: "alert",
|
|
@@ -3542,16 +3517,16 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3542
3517
|
}, null, 8, ["locString"])
|
|
3543
3518
|
], 2)
|
|
3544
3519
|
]))), 128))
|
|
3545
|
-
], 10,
|
|
3520
|
+
], 10, Wo)) : d("", !0);
|
|
3546
3521
|
};
|
|
3547
3522
|
}
|
|
3548
|
-
}),
|
|
3523
|
+
}), Vo = { key: 0 }, Oo = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Fo = /* @__PURE__ */ h({
|
|
3549
3524
|
__name: "QuestionComment",
|
|
3550
3525
|
props: {
|
|
3551
3526
|
question: {}
|
|
3552
3527
|
},
|
|
3553
3528
|
setup(r) {
|
|
3554
|
-
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
3529
|
+
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", Vo, R(s.question.comment), 1)) : (i(), u("textarea", {
|
|
3555
3530
|
key: 1,
|
|
3556
3531
|
id: s.question.commentId,
|
|
3557
3532
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3569,9 +3544,9 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3569
3544
|
onInput: o[1] || (o[1] = (e) => {
|
|
3570
3545
|
s.question.onCommentInput(e);
|
|
3571
3546
|
})
|
|
3572
|
-
}, null, 46,
|
|
3547
|
+
}, null, 46, Oo));
|
|
3573
3548
|
}
|
|
3574
|
-
}),
|
|
3549
|
+
}), zo = /* @__PURE__ */ h({
|
|
3575
3550
|
__name: "TitleElement",
|
|
3576
3551
|
props: {
|
|
3577
3552
|
element: {},
|
|
@@ -3582,7 +3557,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3582
3557
|
qe(o);
|
|
3583
3558
|
};
|
|
3584
3559
|
return (o, e) => {
|
|
3585
|
-
const n =
|
|
3560
|
+
const n = p("survey-element-title-content"), t = p("sv-title-actions");
|
|
3586
3561
|
return o.element.hasTitle ? (i(), q(T(o.element.titleTagName), {
|
|
3587
3562
|
key: 0,
|
|
3588
3563
|
class: l(o.element.cssTitle),
|
|
@@ -3611,7 +3586,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3611
3586
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : d("", !0);
|
|
3612
3587
|
};
|
|
3613
3588
|
}
|
|
3614
|
-
}),
|
|
3589
|
+
}), Uo = { key: 3 }, Ko = { key: 5 }, jo = { key: 7 }, Qo = /* @__PURE__ */ h({
|
|
3615
3590
|
inheritAttrs: !1,
|
|
3616
3591
|
__name: "TitleContent",
|
|
3617
3592
|
props: {
|
|
@@ -3620,7 +3595,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3620
3595
|
},
|
|
3621
3596
|
setup(r) {
|
|
3622
3597
|
return (s, o) => {
|
|
3623
|
-
const e =
|
|
3598
|
+
const e = p("survey-string");
|
|
3624
3599
|
return i(), u($, null, [
|
|
3625
3600
|
s.element.isTitleRenderedAsString ? (i(), q(e, {
|
|
3626
3601
|
key: 0,
|
|
@@ -3637,18 +3612,18 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3637
3612
|
class: l(s.element.cssTitleNumber),
|
|
3638
3613
|
"aria-hidden": !0
|
|
3639
3614
|
}, R(s.element.no), 3)) : d("", !0),
|
|
3640
|
-
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span",
|
|
3615
|
+
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", Uo, "\xA0")) : d("", !0),
|
|
3641
3616
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3642
3617
|
key: 4,
|
|
3643
3618
|
class: l(s.element.cssClasses.requiredText),
|
|
3644
3619
|
"aria-hidden": !0
|
|
3645
3620
|
}, R(s.element.requiredText), 3)) : d("", !0),
|
|
3646
|
-
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span",
|
|
3621
|
+
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", Ko, "\xA0")) : d("", !0),
|
|
3647
3622
|
s.element.isTitleRenderedAsString ? d("", !0) : (i(), q(e, {
|
|
3648
3623
|
key: 6,
|
|
3649
3624
|
locString: s.element.locTitle
|
|
3650
3625
|
}, null, 8, ["locString"])),
|
|
3651
|
-
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span",
|
|
3626
|
+
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span", jo, "\xA0")) : d("", !0),
|
|
3652
3627
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span", {
|
|
3653
3628
|
key: 8,
|
|
3654
3629
|
class: l(s.element.cssClasses.requiredText),
|
|
@@ -3657,7 +3632,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3657
3632
|
], 64);
|
|
3658
3633
|
};
|
|
3659
3634
|
}
|
|
3660
|
-
}),
|
|
3635
|
+
}), Go = { class: "sv-title-actions" }, Jo = { class: "sv-title-actions__title" }, Xo = /* @__PURE__ */ h({
|
|
3661
3636
|
__name: "TitleActions",
|
|
3662
3637
|
props: {
|
|
3663
3638
|
element: {},
|
|
@@ -3666,9 +3641,9 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3666
3641
|
setup(r) {
|
|
3667
3642
|
const s = r, o = w(() => s.element.getTitleToolbar());
|
|
3668
3643
|
return (e, n) => {
|
|
3669
|
-
const t =
|
|
3670
|
-
return i(), u("div",
|
|
3671
|
-
c("span",
|
|
3644
|
+
const t = p("survey-string"), a = p("survey-element-title-content"), y = p("sv-action-bar");
|
|
3645
|
+
return i(), u("div", Go, [
|
|
3646
|
+
c("span", Jo, [
|
|
3672
3647
|
e.element.isPage ? (i(), q(t, {
|
|
3673
3648
|
key: 0,
|
|
3674
3649
|
locString: e.element.locTitle
|
|
@@ -3679,7 +3654,7 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3679
3654
|
css: e.css
|
|
3680
3655
|
}, null, 8, ["element", "css"]))
|
|
3681
3656
|
]),
|
|
3682
|
-
b(
|
|
3657
|
+
b(y, { model: o.value }, null, 8, ["model"])
|
|
3683
3658
|
]);
|
|
3684
3659
|
};
|
|
3685
3660
|
}
|
|
@@ -3688,15 +3663,15 @@ const Lo = /* @__PURE__ */ h({
|
|
|
3688
3663
|
for (const [e, n] of s)
|
|
3689
3664
|
o[e] = n;
|
|
3690
3665
|
return o;
|
|
3691
|
-
},
|
|
3692
|
-
|
|
3666
|
+
}, Yo = {}, Zo = { class: "sv-brand-info" }, xo = /* @__PURE__ */ Ie('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), et = [
|
|
3667
|
+
xo
|
|
3693
3668
|
];
|
|
3694
|
-
function
|
|
3695
|
-
return i(), u("div",
|
|
3669
|
+
function st(r, s) {
|
|
3670
|
+
return i(), u("div", Zo, et);
|
|
3696
3671
|
}
|
|
3697
|
-
const
|
|
3698
|
-
|
|
3699
|
-
],
|
|
3672
|
+
const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use", null, null, -1), tt = [
|
|
3673
|
+
ot
|
|
3674
|
+
], it = /* @__PURE__ */ h({
|
|
3700
3675
|
__name: "SvgIcon",
|
|
3701
3676
|
props: {
|
|
3702
3677
|
size: {},
|
|
@@ -3716,7 +3691,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3716
3691
|
s.title
|
|
3717
3692
|
);
|
|
3718
3693
|
};
|
|
3719
|
-
return
|
|
3694
|
+
return x(() => {
|
|
3720
3695
|
e();
|
|
3721
3696
|
}), H(() => {
|
|
3722
3697
|
e();
|
|
@@ -3725,9 +3700,9 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3725
3700
|
ref: o,
|
|
3726
3701
|
class: "sv-svg-icon",
|
|
3727
3702
|
role: "img"
|
|
3728
|
-
},
|
|
3703
|
+
}, tt, 512));
|
|
3729
3704
|
}
|
|
3730
|
-
}),
|
|
3705
|
+
}), rt = /* @__PURE__ */ h({
|
|
3731
3706
|
__name: "ActionBar",
|
|
3732
3707
|
props: {
|
|
3733
3708
|
model: {},
|
|
@@ -3745,7 +3720,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3745
3720
|
}), z(() => {
|
|
3746
3721
|
s.model.resetResponsivityManager();
|
|
3747
3722
|
}), (t, a) => {
|
|
3748
|
-
const
|
|
3723
|
+
const y = p("sv-action");
|
|
3749
3724
|
return t.model.hasActions ? (i(), u("div", {
|
|
3750
3725
|
key: 0,
|
|
3751
3726
|
ref_key: "root",
|
|
@@ -3753,14 +3728,14 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3753
3728
|
class: l(t.model.getRootCss()),
|
|
3754
3729
|
onClick: e
|
|
3755
3730
|
}, [
|
|
3756
|
-
(i(!0), u($, null, B(n.value, (m) => (i(), q(
|
|
3731
|
+
(i(!0), u($, null, B(n.value, (m) => (i(), q(y, {
|
|
3757
3732
|
key: m.id,
|
|
3758
3733
|
item: m
|
|
3759
3734
|
}, null, 8, ["item"]))), 128))
|
|
3760
3735
|
], 2)) : d("", !0);
|
|
3761
3736
|
};
|
|
3762
3737
|
}
|
|
3763
|
-
}),
|
|
3738
|
+
}), lt = ["id"], at = { class: "sv-action__content" }, ut = /* @__PURE__ */ h({
|
|
3764
3739
|
__name: "Action",
|
|
3765
3740
|
props: {
|
|
3766
3741
|
item: {}
|
|
@@ -3770,22 +3745,22 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3770
3745
|
() => s.item.component || "sv-action-bar-item"
|
|
3771
3746
|
);
|
|
3772
3747
|
return L(() => s.item), (e, n) => {
|
|
3773
|
-
const t =
|
|
3748
|
+
const t = p("sv-action-bar-separator");
|
|
3774
3749
|
return i(), u("div", {
|
|
3775
3750
|
class: l(e.item.getActionRootCss()),
|
|
3776
3751
|
id: e.item.id
|
|
3777
3752
|
}, [
|
|
3778
|
-
c("div",
|
|
3753
|
+
c("div", at, [
|
|
3779
3754
|
e.item.needSeparator ? (i(), q(t, { key: 0 })) : d("", !0),
|
|
3780
3755
|
(i(), q(T(o.value), { item: e.item }, null, 8, ["item"]))
|
|
3781
3756
|
])
|
|
3782
|
-
], 10,
|
|
3757
|
+
], 10, lt);
|
|
3783
3758
|
};
|
|
3784
3759
|
}
|
|
3785
|
-
}),
|
|
3760
|
+
}), dt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], mt = {
|
|
3786
3761
|
inheritAttrs: !1
|
|
3787
|
-
},
|
|
3788
|
-
...
|
|
3762
|
+
}, ct = /* @__PURE__ */ h({
|
|
3763
|
+
...mt,
|
|
3789
3764
|
__name: "ActionBarItem",
|
|
3790
3765
|
props: {
|
|
3791
3766
|
item: {}
|
|
@@ -3793,8 +3768,8 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3793
3768
|
setup(r) {
|
|
3794
3769
|
const s = r;
|
|
3795
3770
|
return L(() => s.item), (o, e) => {
|
|
3796
|
-
const n =
|
|
3797
|
-
return
|
|
3771
|
+
const n = p("sv-svg-icon"), t = X("key2click");
|
|
3772
|
+
return P((i(), u("button", {
|
|
3798
3773
|
class: l(o.item.getActionBarItemCss()),
|
|
3799
3774
|
type: "button",
|
|
3800
3775
|
onClick: e[0] || (e[0] = (a) => {
|
|
@@ -3820,15 +3795,15 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3820
3795
|
key: 1,
|
|
3821
3796
|
class: l(o.item.getActionBarItemTitleCss())
|
|
3822
3797
|
}, R(o.item.title), 3)) : d("", !0)
|
|
3823
|
-
], 42,
|
|
3798
|
+
], 42, dt)), [
|
|
3824
3799
|
[t, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3825
3800
|
]);
|
|
3826
3801
|
};
|
|
3827
3802
|
}
|
|
3828
|
-
}),
|
|
3803
|
+
}), pt = ["disabled", "title", "role"], vt = {
|
|
3829
3804
|
inheritAttrs: !1
|
|
3830
|
-
},
|
|
3831
|
-
...
|
|
3805
|
+
}, yt = /* @__PURE__ */ h({
|
|
3806
|
+
...vt,
|
|
3832
3807
|
__name: "ActionBarItemDropdown",
|
|
3833
3808
|
props: {
|
|
3834
3809
|
item: {}
|
|
@@ -3845,16 +3820,16 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3845
3820
|
e.dispose();
|
|
3846
3821
|
}
|
|
3847
3822
|
), (n, t) => {
|
|
3848
|
-
const a =
|
|
3823
|
+
const a = p("sv-svg-icon"), y = p("sv-popup"), m = X("key2click");
|
|
3849
3824
|
return i(), u($, null, [
|
|
3850
|
-
|
|
3825
|
+
P((i(), u("button", {
|
|
3851
3826
|
type: "button",
|
|
3852
3827
|
class: l(n.item.getActionBarItemCss()),
|
|
3853
|
-
onClick: t[0] || (t[0] = (
|
|
3854
|
-
n.item.action(n.item, !!
|
|
3828
|
+
onClick: t[0] || (t[0] = (v) => {
|
|
3829
|
+
n.item.action(n.item, !!v.pointerType);
|
|
3855
3830
|
}),
|
|
3856
|
-
onKeyup: t[1] || (t[1] = (
|
|
3857
|
-
|
|
3831
|
+
onKeyup: t[1] || (t[1] = (v) => {
|
|
3832
|
+
v.stopPropagation();
|
|
3858
3833
|
}),
|
|
3859
3834
|
disabled: n.item.disabled,
|
|
3860
3835
|
title: n.item.tooltip || n.item.title,
|
|
@@ -3871,17 +3846,17 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3871
3846
|
key: 1,
|
|
3872
3847
|
class: l(n.item.getActionBarItemTitleCss())
|
|
3873
3848
|
}, R(n.item.title), 3)) : d("", !0)
|
|
3874
|
-
], 42,
|
|
3849
|
+
], 42, pt)), [
|
|
3875
3850
|
[m, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3876
3851
|
]),
|
|
3877
|
-
b(
|
|
3852
|
+
b(y, {
|
|
3878
3853
|
model: n.item.popupModel,
|
|
3879
3854
|
getTarget: f(o)
|
|
3880
3855
|
}, null, 8, ["model", "getTarget"])
|
|
3881
3856
|
], 64);
|
|
3882
3857
|
};
|
|
3883
3858
|
}
|
|
3884
|
-
}),
|
|
3859
|
+
}), qt = /* @__PURE__ */ h({
|
|
3885
3860
|
__name: "ActionBarSeparator",
|
|
3886
3861
|
props: {
|
|
3887
3862
|
item: {}
|
|
@@ -3892,25 +3867,25 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3892
3867
|
class: l(["sv-action-bar-separator", o.value])
|
|
3893
3868
|
}, null, 2));
|
|
3894
3869
|
}
|
|
3895
|
-
}),
|
|
3870
|
+
}), gt = ["aria-label", "placeholder", "value"], ht = ["aria-label"], Ct = ["id"], bt = /* @__PURE__ */ h({
|
|
3896
3871
|
__name: "List",
|
|
3897
3872
|
props: {
|
|
3898
3873
|
model: {}
|
|
3899
3874
|
},
|
|
3900
3875
|
setup(r) {
|
|
3901
3876
|
const s = r, o = _(null), e = (a) => {
|
|
3902
|
-
const
|
|
3903
|
-
|
|
3877
|
+
const y = s.model;
|
|
3878
|
+
y.filterString = a.target.value;
|
|
3904
3879
|
}, n = (a) => {
|
|
3905
|
-
const
|
|
3906
|
-
|
|
3880
|
+
const y = s.model;
|
|
3881
|
+
y.filterString = a.target.value, s.model.goToItems(a);
|
|
3907
3882
|
}, t = (a) => {
|
|
3908
3883
|
s.model.onMouseMove(a);
|
|
3909
3884
|
};
|
|
3910
3885
|
return L(() => s.model), H(() => {
|
|
3911
3886
|
s.model.initListContainerHtmlElement(o.value);
|
|
3912
|
-
}), (a,
|
|
3913
|
-
const m =
|
|
3887
|
+
}), (a, y) => {
|
|
3888
|
+
const m = p("sv-svg-icon"), v = p("sv-list-item");
|
|
3914
3889
|
return i(), u("div", {
|
|
3915
3890
|
class: l(a.model.cssClasses.root),
|
|
3916
3891
|
ref_key: "listContainerElement",
|
|
@@ -3936,10 +3911,10 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3936
3911
|
value: a.model.filterString,
|
|
3937
3912
|
onChange: e,
|
|
3938
3913
|
onKeyup: n
|
|
3939
|
-
}, null, 42,
|
|
3914
|
+
}, null, 42, gt),
|
|
3940
3915
|
a.model.showSearchClearButton && !!a.model.filterString ? (i(), u("button", {
|
|
3941
3916
|
key: 0,
|
|
3942
|
-
onClick:
|
|
3917
|
+
onClick: y[0] || (y[0] = (g) => {
|
|
3943
3918
|
a.model.onClickSearchClearButton(g);
|
|
3944
3919
|
}),
|
|
3945
3920
|
class: l(a.model.cssClasses.searchClearButtonIcon)
|
|
@@ -3950,41 +3925,41 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3950
3925
|
})
|
|
3951
3926
|
], 2)) : d("", !0)
|
|
3952
3927
|
], 2)) : d("", !0),
|
|
3953
|
-
|
|
3928
|
+
P(c("div", {
|
|
3954
3929
|
class: l(a.model.cssClasses.emptyContainer)
|
|
3955
3930
|
}, [
|
|
3956
3931
|
c("div", {
|
|
3957
3932
|
class: l(a.model.cssClasses.emptyText),
|
|
3958
3933
|
"aria-label": a.model.emptyMessage
|
|
3959
|
-
}, R(a.model.emptyMessage), 11,
|
|
3934
|
+
}, R(a.model.emptyMessage), 11, ht)
|
|
3960
3935
|
], 2), [
|
|
3961
3936
|
[M, a.model.isEmpty]
|
|
3962
3937
|
]),
|
|
3963
|
-
a.model.renderElements ?
|
|
3938
|
+
a.model.renderElements ? P((i(), u("ul", {
|
|
3964
3939
|
key: 1,
|
|
3965
3940
|
class: l(a.model.getListClass()),
|
|
3966
3941
|
role: "listbox",
|
|
3967
3942
|
id: a.model.elementId,
|
|
3968
|
-
onMousedown:
|
|
3943
|
+
onMousedown: y[1] || (y[1] = (g) => {
|
|
3969
3944
|
g.preventDefault();
|
|
3970
3945
|
}),
|
|
3971
3946
|
onMousemove: t,
|
|
3972
|
-
onKeydown:
|
|
3947
|
+
onKeydown: y[2] || (y[2] = (g) => {
|
|
3973
3948
|
a.model.onKeyDown(g);
|
|
3974
3949
|
})
|
|
3975
3950
|
}, [
|
|
3976
|
-
(i(!0), u($, null, B(a.model.renderedActions, (g) => (i(), q(
|
|
3951
|
+
(i(!0), u($, null, B(a.model.renderedActions, (g) => (i(), q(v, {
|
|
3977
3952
|
item: g,
|
|
3978
3953
|
model: a.model,
|
|
3979
3954
|
key: g.id
|
|
3980
3955
|
}, null, 8, ["item", "model"]))), 128))
|
|
3981
|
-
], 42,
|
|
3956
|
+
], 42, Ct)), [
|
|
3982
3957
|
[M, !a.model.isEmpty]
|
|
3983
3958
|
]) : d("", !0)
|
|
3984
3959
|
], 2);
|
|
3985
3960
|
};
|
|
3986
3961
|
}
|
|
3987
|
-
}),
|
|
3962
|
+
}), kt = ["aria-selected", "id"], ft = ["title"], It = /* @__PURE__ */ h({
|
|
3988
3963
|
__name: "ListItem",
|
|
3989
3964
|
props: {
|
|
3990
3965
|
model: {},
|
|
@@ -3999,14 +3974,14 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
3999
3974
|
s.model.onLastItemRended(s.item);
|
|
4000
3975
|
});
|
|
4001
3976
|
}), (n, t) => {
|
|
4002
|
-
const a =
|
|
4003
|
-
return
|
|
3977
|
+
const a = p("sv-svg-icon"), y = p("survey-string"), m = X("key2click");
|
|
3978
|
+
return P((i(), u("li", {
|
|
4004
3979
|
tabindex: "0",
|
|
4005
3980
|
role: "option",
|
|
4006
3981
|
"aria-selected": n.model.isItemSelected(n.item),
|
|
4007
3982
|
key: n.item.id,
|
|
4008
3983
|
id: o.value,
|
|
4009
|
-
onPointerdown: t[0] || (t[0] = (
|
|
3984
|
+
onPointerdown: t[0] || (t[0] = (v) => n.model.onPointerDown(v, n.item)),
|
|
4010
3985
|
class: l(n.model.getItemClass(n.item)),
|
|
4011
3986
|
onClick: e
|
|
4012
3987
|
}, [
|
|
@@ -4025,7 +4000,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4025
4000
|
iconName: n.item.iconName,
|
|
4026
4001
|
size: n.item.iconSize
|
|
4027
4002
|
}, null, 8, ["class", "iconName", "size"])) : d("", !0),
|
|
4028
|
-
n.item.component ? d("", !0) : (i(), q(
|
|
4003
|
+
n.item.component ? d("", !0) : (i(), q(y, {
|
|
4029
4004
|
key: 1,
|
|
4030
4005
|
locString: n.item.locTitle
|
|
4031
4006
|
}, null, 8, ["locString"])),
|
|
@@ -4033,14 +4008,14 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4033
4008
|
key: 2,
|
|
4034
4009
|
item: n.item
|
|
4035
4010
|
}, null, 8, ["item"])) : d("", !0)
|
|
4036
|
-
], 14,
|
|
4037
|
-
], 42,
|
|
4011
|
+
], 14, ft)
|
|
4012
|
+
], 42, kt)), [
|
|
4038
4013
|
[M, n.model.isItemVisible(n.item)],
|
|
4039
4014
|
[m]
|
|
4040
4015
|
]);
|
|
4041
4016
|
};
|
|
4042
4017
|
}
|
|
4043
|
-
}),
|
|
4018
|
+
}), wt = /* @__PURE__ */ h({
|
|
4044
4019
|
__name: "Popup",
|
|
4045
4020
|
props: {
|
|
4046
4021
|
getTarget: { type: Function },
|
|
@@ -4050,7 +4025,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4050
4025
|
const s = r, o = j(
|
|
4051
4026
|
ae(s.model, void 0)
|
|
4052
4027
|
), e = _(null);
|
|
4053
|
-
return
|
|
4028
|
+
return G(
|
|
4054
4029
|
() => s.model,
|
|
4055
4030
|
(n) => {
|
|
4056
4031
|
o.value.dispose(), o.value = ae(n, void 0);
|
|
@@ -4065,7 +4040,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4065
4040
|
}), z(() => {
|
|
4066
4041
|
o.value.dispose();
|
|
4067
4042
|
}), (n, t) => {
|
|
4068
|
-
const a =
|
|
4043
|
+
const a = p("sv-popup-container");
|
|
4069
4044
|
return i(), u("div", {
|
|
4070
4045
|
ref_key: "root",
|
|
4071
4046
|
ref: e
|
|
@@ -4074,13 +4049,13 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4074
4049
|
], 512);
|
|
4075
4050
|
};
|
|
4076
4051
|
}
|
|
4077
|
-
}),
|
|
4052
|
+
}), St = { class: "sv-popup__shadow" }, Rt = { class: "sv-popup__body-content" }, Tt = {
|
|
4078
4053
|
key: 0,
|
|
4079
4054
|
class: "sv-popup__body-header"
|
|
4080
|
-
},
|
|
4055
|
+
}, $t = { class: "sv-popup__scrolling-content" }, _t = { class: "sv-popup__content" }, Dt = {
|
|
4081
4056
|
key: 1,
|
|
4082
4057
|
class: "sv-popup__body-footer"
|
|
4083
|
-
},
|
|
4058
|
+
}, Bt = /* @__PURE__ */ h({
|
|
4084
4059
|
__name: "PopupContainer",
|
|
4085
4060
|
props: {
|
|
4086
4061
|
model: {}
|
|
@@ -4091,21 +4066,21 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4091
4066
|
const e = (n) => {
|
|
4092
4067
|
n.stopPropagation();
|
|
4093
4068
|
};
|
|
4094
|
-
return L(() => s.model),
|
|
4069
|
+
return L(() => s.model), x(() => {
|
|
4095
4070
|
const n = s.model;
|
|
4096
4071
|
!o && n.isVisible && s.model.updateOnShowing(), o = n.isVisible;
|
|
4097
4072
|
}), H(() => {
|
|
4098
4073
|
s.model.isVisible && s.model.updateOnShowing();
|
|
4099
4074
|
}), (n, t) => {
|
|
4100
|
-
const a =
|
|
4101
|
-
return
|
|
4075
|
+
const a = p("sv-action-bar");
|
|
4076
|
+
return P((i(), u("div", {
|
|
4102
4077
|
tabindex: "-1",
|
|
4103
4078
|
class: l(["sv-popup", n.model.styleClass]),
|
|
4104
|
-
onKeydown: t[0] || (t[0] = (
|
|
4105
|
-
n.model.onKeyDown(
|
|
4079
|
+
onKeydown: t[0] || (t[0] = (y) => {
|
|
4080
|
+
n.model.onKeyDown(y);
|
|
4106
4081
|
}),
|
|
4107
|
-
onClick: t[1] || (t[1] = (
|
|
4108
|
-
n.model.clickOutside(
|
|
4082
|
+
onClick: t[1] || (t[1] = (y) => {
|
|
4083
|
+
n.model.clickOutside(y);
|
|
4109
4084
|
})
|
|
4110
4085
|
}, [
|
|
4111
4086
|
c("div", {
|
|
@@ -4119,19 +4094,19 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4119
4094
|
}),
|
|
4120
4095
|
onClick: e
|
|
4121
4096
|
}, [
|
|
4122
|
-
c("div",
|
|
4097
|
+
c("div", St, [
|
|
4123
4098
|
n.model.showHeader ? (i(), q(T(n.model.popupHeaderTemplate), {
|
|
4124
4099
|
key: 0,
|
|
4125
4100
|
model: n.model
|
|
4126
4101
|
}, null, 8, ["model"])) : d("", !0),
|
|
4127
|
-
c("div",
|
|
4128
|
-
n.model.title ? (i(), u("div",
|
|
4129
|
-
c("div",
|
|
4130
|
-
c("div",
|
|
4102
|
+
c("div", Rt, [
|
|
4103
|
+
n.model.title ? (i(), u("div", Tt, R(n.model.title), 1)) : d("", !0),
|
|
4104
|
+
c("div", $t, [
|
|
4105
|
+
c("div", _t, [
|
|
4131
4106
|
(i(), q(T(n.model.contentComponentName), F(ye(n.model.contentComponentData)), null, 16))
|
|
4132
4107
|
])
|
|
4133
4108
|
]),
|
|
4134
|
-
n.model.showFooter ? (i(), u("div",
|
|
4109
|
+
n.model.showFooter ? (i(), u("div", Dt, [
|
|
4135
4110
|
b(a, {
|
|
4136
4111
|
model: n.model.footerToolbar
|
|
4137
4112
|
}, null, 8, ["model"])
|
|
@@ -4144,7 +4119,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4144
4119
|
]);
|
|
4145
4120
|
};
|
|
4146
4121
|
}
|
|
4147
|
-
}),
|
|
4122
|
+
}), Lt = /* @__PURE__ */ h({
|
|
4148
4123
|
__name: "PopupPointer",
|
|
4149
4124
|
props: {
|
|
4150
4125
|
model: {}
|
|
@@ -4158,10 +4133,10 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4158
4133
|
})
|
|
4159
4134
|
}, null, 4));
|
|
4160
4135
|
}
|
|
4161
|
-
}),
|
|
4136
|
+
}), Nt = {
|
|
4162
4137
|
key: 0,
|
|
4163
4138
|
class: "sv-components-column"
|
|
4164
|
-
},
|
|
4139
|
+
}, Pt = /* @__PURE__ */ h({
|
|
4165
4140
|
__name: "Container",
|
|
4166
4141
|
props: {
|
|
4167
4142
|
survey: {},
|
|
@@ -4173,7 +4148,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4173
4148
|
() => s.survey.getContainerContent(s.container)
|
|
4174
4149
|
);
|
|
4175
4150
|
return (e, n) => o.value.length > 0 ? (i(), u($, { key: 0 }, [
|
|
4176
|
-
e.needRenderWrapper ? (i(), u("div",
|
|
4151
|
+
e.needRenderWrapper ? (i(), u("div", Nt, [
|
|
4177
4152
|
(i(!0), u($, null, B(o.value, (t, a) => (i(), q(T(t.component), {
|
|
4178
4153
|
survey: e.survey,
|
|
4179
4154
|
container: e.container,
|
|
@@ -4185,7 +4160,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4185
4160
|
}, null, 8, ["survey", "model"]))), 256))
|
|
4186
4161
|
], 64)) : d("", !0);
|
|
4187
4162
|
}
|
|
4188
|
-
}),
|
|
4163
|
+
}), Z = /* @__PURE__ */ h({
|
|
4189
4164
|
__name: "Progress",
|
|
4190
4165
|
props: {
|
|
4191
4166
|
survey: {},
|
|
@@ -4214,7 +4189,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4214
4189
|
}, R(t.survey.progressText), 3)
|
|
4215
4190
|
], 2));
|
|
4216
4191
|
}
|
|
4217
|
-
}),
|
|
4192
|
+
}), At = ["onClick"], Mt = ["title"], Ht = ["title"], Wt = /* @__PURE__ */ h({
|
|
4218
4193
|
__name: "ProgressButtons",
|
|
4219
4194
|
props: {
|
|
4220
4195
|
survey: {}
|
|
@@ -4222,20 +4197,20 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4222
4197
|
setup(r) {
|
|
4223
4198
|
const s = r, o = new Ae(s.survey), e = _(!1), n = _(), t = w(() => s.survey.css);
|
|
4224
4199
|
let a;
|
|
4225
|
-
const
|
|
4200
|
+
const y = (C) => o.isListElementClickable(C), m = (C) => o.getListElementCss(C), v = (C) => {
|
|
4226
4201
|
o.clickListElement(C);
|
|
4227
|
-
}, g = (C,
|
|
4228
|
-
let
|
|
4229
|
-
|
|
4202
|
+
}, g = (C, N) => o.getScrollButtonCss(C, N), I = (C) => {
|
|
4203
|
+
let N = n.value;
|
|
4204
|
+
N.scrollLeft += (C ? -1 : 1) * 70;
|
|
4230
4205
|
};
|
|
4231
4206
|
return H(() => {
|
|
4232
4207
|
const C = n.value;
|
|
4233
4208
|
a = setInterval(() => {
|
|
4234
4209
|
e.value = C.scrollWidth > C.offsetWidth;
|
|
4235
4210
|
}, 100);
|
|
4236
|
-
}),
|
|
4211
|
+
}), J(() => {
|
|
4237
4212
|
typeof a < "u" && (clearInterval(a), a = void 0);
|
|
4238
|
-
}), (C,
|
|
4213
|
+
}), (C, N) => (i(), u("div", {
|
|
4239
4214
|
class: l(t.value.progressButtonsContainerCenter)
|
|
4240
4215
|
}, [
|
|
4241
4216
|
c("div", {
|
|
@@ -4243,7 +4218,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4243
4218
|
}, [
|
|
4244
4219
|
c("div", {
|
|
4245
4220
|
class: l(g(e.value, !0)),
|
|
4246
|
-
onClick:
|
|
4221
|
+
onClick: N[0] || (N[0] = (k) => I(!0)),
|
|
4247
4222
|
role: "button"
|
|
4248
4223
|
}, null, 2),
|
|
4249
4224
|
c("div", {
|
|
@@ -4257,28 +4232,28 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4257
4232
|
(i(!0), u($, null, B(C.survey.visiblePages, (k, D) => (i(), u("li", {
|
|
4258
4233
|
key: "listelement" + D,
|
|
4259
4234
|
class: l(m(D)),
|
|
4260
|
-
onClick: (E) =>
|
|
4235
|
+
onClick: (E) => y(D) ? v(D) : null
|
|
4261
4236
|
}, [
|
|
4262
4237
|
c("div", {
|
|
4263
4238
|
class: l(t.value.progressButtonsPageTitle),
|
|
4264
4239
|
title: k.renderedNavigationTitle
|
|
4265
|
-
}, R(k.renderedNavigationTitle), 11,
|
|
4240
|
+
}, R(k.renderedNavigationTitle), 11, Mt),
|
|
4266
4241
|
c("div", {
|
|
4267
4242
|
class: l(t.value.progressButtonsPageDescription),
|
|
4268
4243
|
title: k.locNavigationDescription.renderedHtml
|
|
4269
|
-
}, R(k.locNavigationDescription.renderedHtml), 11,
|
|
4270
|
-
], 10,
|
|
4244
|
+
}, R(k.locNavigationDescription.renderedHtml), 11, Ht)
|
|
4245
|
+
], 10, At))), 128))
|
|
4271
4246
|
], 2)
|
|
4272
4247
|
], 2),
|
|
4273
4248
|
c("div", {
|
|
4274
4249
|
class: l(g(e.value, !1)),
|
|
4275
|
-
onClick:
|
|
4250
|
+
onClick: N[1] || (N[1] = (k) => I(!1)),
|
|
4276
4251
|
role: "button"
|
|
4277
4252
|
}, null, 2)
|
|
4278
4253
|
], 2)
|
|
4279
4254
|
], 2));
|
|
4280
4255
|
}
|
|
4281
|
-
}),
|
|
4256
|
+
}), Et = /* @__PURE__ */ h({
|
|
4282
4257
|
__name: "ProgressToc",
|
|
4283
4258
|
props: {
|
|
4284
4259
|
survey: {}
|
|
@@ -4286,13 +4261,13 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4286
4261
|
setup(r) {
|
|
4287
4262
|
const s = r, o = new Me(s.survey);
|
|
4288
4263
|
return (e, n) => {
|
|
4289
|
-
const t =
|
|
4264
|
+
const t = p("sv-svg-icon"), a = p("sv-popup"), y = p("sv-list"), m = X("key2click");
|
|
4290
4265
|
return i(), u("div", {
|
|
4291
4266
|
class: l(f(o).containerCss)
|
|
4292
4267
|
}, [
|
|
4293
|
-
f(o).isMobile ?
|
|
4268
|
+
f(o).isMobile ? P((i(), u("div", {
|
|
4294
4269
|
key: 0,
|
|
4295
|
-
onClick: n[0] || (n[0] = (...
|
|
4270
|
+
onClick: n[0] || (n[0] = (...v) => f(o).togglePopup && f(o).togglePopup(...v))
|
|
4296
4271
|
}, [
|
|
4297
4272
|
b(t, {
|
|
4298
4273
|
iconName: f(o).icon,
|
|
@@ -4303,17 +4278,17 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4303
4278
|
}, null, 8, ["model"])
|
|
4304
4279
|
])), [
|
|
4305
4280
|
[m]
|
|
4306
|
-
]) : (i(), q(
|
|
4281
|
+
]) : (i(), q(y, {
|
|
4307
4282
|
key: 1,
|
|
4308
4283
|
model: f(o).listModel
|
|
4309
4284
|
}, null, 8, ["model"]))
|
|
4310
4285
|
], 2);
|
|
4311
4286
|
};
|
|
4312
4287
|
}
|
|
4313
|
-
}),
|
|
4288
|
+
}), Vt = { onsubmit: "return false;" }, Ot = {
|
|
4314
4289
|
key: 0,
|
|
4315
4290
|
class: "sv_custom_header"
|
|
4316
|
-
},
|
|
4291
|
+
}, Ft = { class: "sv-components-column sv-components-column--expandable" }, zt = ["id"], Ut = { key: 2 }, Kt = ["innerHTML"], jt = ["innerHTML"], Qt = ["innerHTML"], ce = /* @__PURE__ */ h({
|
|
4317
4292
|
__name: "Survey",
|
|
4318
4293
|
props: {
|
|
4319
4294
|
model: {},
|
|
@@ -4323,24 +4298,24 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4323
4298
|
const s = r, o = _(), e = _(""), n = _(1), t = w(() => {
|
|
4324
4299
|
const C = s.survey ? s.survey : s.model;
|
|
4325
4300
|
return we(C);
|
|
4326
|
-
}), a = w(() => t.value.activePage ? t.value.activePage.id : ""),
|
|
4301
|
+
}), a = w(() => t.value.activePage ? t.value.activePage.id : ""), y = () => {
|
|
4327
4302
|
const C = a.value;
|
|
4328
4303
|
return !!t.value && C + n.value.toString();
|
|
4329
4304
|
}, m = w(
|
|
4330
4305
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
4331
|
-
),
|
|
4306
|
+
), v = w(() => t.value.css), g = w(() => "page" + y()), I = () => m.value ? (e.value || (e.value = t.value.processedCompletedHtml), e.value) : "";
|
|
4332
4307
|
return L(() => t.value), H(() => {
|
|
4333
4308
|
if (!!t.value) {
|
|
4334
4309
|
var C = o.value;
|
|
4335
4310
|
C && t.value.afterRenderSurvey(C), t.value.renderCallback = () => {
|
|
4336
|
-
var
|
|
4337
|
-
n.value++, (k = (
|
|
4311
|
+
var N, k;
|
|
4312
|
+
n.value++, (k = (N = oe()) == null ? void 0 : N.proxy) == null || k.$forceUpdate();
|
|
4338
4313
|
}, t.value.startTimerFromUI();
|
|
4339
4314
|
}
|
|
4340
4315
|
}), z(() => {
|
|
4341
4316
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4342
|
-
}), (C,
|
|
4343
|
-
const k =
|
|
4317
|
+
}), (C, N) => {
|
|
4318
|
+
const k = p("sv-svg-bundle"), D = p("survey-popup-modal"), E = p("survey-header"), O = p("survey-page"), U = p("sv-brand-info"), re = p("sv-notifier");
|
|
4344
4319
|
return i(), u("div", {
|
|
4345
4320
|
class: l(t.value.getRootCss()),
|
|
4346
4321
|
style: S(t.value.themeVariables),
|
|
@@ -4354,13 +4329,13 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4354
4329
|
b(D),
|
|
4355
4330
|
t.value.renderBackgroundImage ? (i(), u("div", {
|
|
4356
4331
|
key: 0,
|
|
4357
|
-
class: l(
|
|
4332
|
+
class: l(v.value.rootBackgroundImage),
|
|
4358
4333
|
style: S(t.value.backgroundImageStyle)
|
|
4359
4334
|
}, null, 6)) : d("", !0),
|
|
4360
|
-
c("form",
|
|
4361
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4335
|
+
c("form", Vt, [
|
|
4336
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Ot)),
|
|
4362
4337
|
c("div", {
|
|
4363
|
-
class: l(
|
|
4338
|
+
class: l(v.value.container)
|
|
4364
4339
|
}, [
|
|
4365
4340
|
t.value.headerView === "basic" ? (i(), q(E, {
|
|
4366
4341
|
key: 0,
|
|
@@ -4380,7 +4355,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4380
4355
|
container: "left",
|
|
4381
4356
|
needRenderWrapper: !0
|
|
4382
4357
|
}, null, 8, ["survey"])),
|
|
4383
|
-
c("div",
|
|
4358
|
+
c("div", Ft, [
|
|
4384
4359
|
(i(), q(T("sv-components-container"), {
|
|
4385
4360
|
survey: t.value,
|
|
4386
4361
|
container: "center",
|
|
@@ -4400,14 +4375,14 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4400
4375
|
key: g.value,
|
|
4401
4376
|
survey: t.value,
|
|
4402
4377
|
page: t.value.activePage,
|
|
4403
|
-
css:
|
|
4378
|
+
css: v.value
|
|
4404
4379
|
}, null, 8, ["survey", "page", "css"])),
|
|
4405
4380
|
(i(), q(T("sv-components-container"), {
|
|
4406
4381
|
survey: t.value,
|
|
4407
4382
|
container: "contentBottom",
|
|
4408
4383
|
needRenderWrapper: !0
|
|
4409
4384
|
}, null, 8, ["survey"]))
|
|
4410
|
-
], 14,
|
|
4385
|
+
], 14, zt)
|
|
4411
4386
|
]),
|
|
4412
4387
|
(i(), q(T("sv-components-container"), {
|
|
4413
4388
|
survey: t.value,
|
|
@@ -4420,11 +4395,11 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4420
4395
|
container: "footer",
|
|
4421
4396
|
needRenderWrapper: !1
|
|
4422
4397
|
}, null, 8, ["survey"])),
|
|
4423
|
-
m.value ? (i(), u("div",
|
|
4398
|
+
m.value ? (i(), u("div", Ut, [
|
|
4424
4399
|
c("div", {
|
|
4425
4400
|
innerHTML: I(),
|
|
4426
4401
|
class: l(t.value.completedCss)
|
|
4427
|
-
}, null, 10,
|
|
4402
|
+
}, null, 10, Kt),
|
|
4428
4403
|
(i(), q(T("sv-components-container"), {
|
|
4429
4404
|
survey: t.value,
|
|
4430
4405
|
container: "completePage",
|
|
@@ -4435,15 +4410,15 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4435
4410
|
key: 3,
|
|
4436
4411
|
class: l(t.value.completedBeforeCss),
|
|
4437
4412
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4438
|
-
}, null, 10,
|
|
4413
|
+
}, null, 10, jt)) : d("", !0),
|
|
4439
4414
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4440
4415
|
key: 4,
|
|
4441
4416
|
class: l(t.value.loadingBodyCss),
|
|
4442
4417
|
innerHTML: t.value.processedLoadingHtml
|
|
4443
|
-
}, null, 10,
|
|
4418
|
+
}, null, 10, Qt)) : d("", !0),
|
|
4444
4419
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4445
4420
|
key: 5,
|
|
4446
|
-
class: l(
|
|
4421
|
+
class: l(v.value.bodyEmpty)
|
|
4447
4422
|
}, R(t.value.emptySurveyText), 3)) : d("", !0)
|
|
4448
4423
|
], 2)
|
|
4449
4424
|
]),
|
|
@@ -4455,7 +4430,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4455
4430
|
], 6);
|
|
4456
4431
|
};
|
|
4457
4432
|
}
|
|
4458
|
-
}),
|
|
4433
|
+
}), Gt = /* @__PURE__ */ h({
|
|
4459
4434
|
__name: "Notifier",
|
|
4460
4435
|
props: {
|
|
4461
4436
|
model: {}
|
|
@@ -4463,8 +4438,8 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4463
4438
|
setup(r) {
|
|
4464
4439
|
const s = r;
|
|
4465
4440
|
return L(() => s.model), (o, e) => {
|
|
4466
|
-
const n =
|
|
4467
|
-
return
|
|
4441
|
+
const n = p("sv-action-bar");
|
|
4442
|
+
return P((i(), u("div", {
|
|
4468
4443
|
class: l(o.model.css),
|
|
4469
4444
|
style: S({ visibility: o.model.active ? "visible" : "hidden" }),
|
|
4470
4445
|
role: "alert",
|
|
@@ -4479,7 +4454,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4479
4454
|
]);
|
|
4480
4455
|
};
|
|
4481
4456
|
}
|
|
4482
|
-
}),
|
|
4457
|
+
}), Jt = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Xt = { key: 1 }, Yt = /* @__PURE__ */ h({
|
|
4483
4458
|
__name: "QuestionOther",
|
|
4484
4459
|
props: {
|
|
4485
4460
|
question: {},
|
|
@@ -4507,11 +4482,11 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4507
4482
|
onInput: o[1] || (o[1] = (e) => {
|
|
4508
4483
|
s.question.onOtherValueInput(e);
|
|
4509
4484
|
})
|
|
4510
|
-
}, null, 46,
|
|
4511
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4485
|
+
}, null, 46, Jt)),
|
|
4486
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", Xt, R(s.question.otherValue), 1)) : d("", !0)
|
|
4512
4487
|
], 2));
|
|
4513
4488
|
}
|
|
4514
|
-
}),
|
|
4489
|
+
}), Zt = ["disabled", "value", "title"], xt = /* @__PURE__ */ h({
|
|
4515
4490
|
__name: "SurveyNavigationButton",
|
|
4516
4491
|
props: {
|
|
4517
4492
|
item: {}
|
|
@@ -4527,7 +4502,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4527
4502
|
title: e.item.getTooltip(),
|
|
4528
4503
|
onMousedown: o,
|
|
4529
4504
|
onClick: n[0] || (n[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4530
|
-
}, null, 42,
|
|
4505
|
+
}, null, 42, Zt)) : d("", !0);
|
|
4531
4506
|
}
|
|
4532
4507
|
}), pe = /* @__PURE__ */ h({
|
|
4533
4508
|
__name: "PopupSurvey",
|
|
@@ -4545,13 +4520,13 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4545
4520
|
return (I = o.value) == null ? void 0 : I.isExpanded;
|
|
4546
4521
|
}), a = () => {
|
|
4547
4522
|
o.value.changeExpandCollapse();
|
|
4548
|
-
},
|
|
4523
|
+
}, y = () => {
|
|
4549
4524
|
o.value.hide();
|
|
4550
|
-
}, m = () => "SurveyComponent",
|
|
4525
|
+
}, m = () => "SurveyComponent", v = () => {
|
|
4551
4526
|
o.value.onScroll();
|
|
4552
4527
|
};
|
|
4553
4528
|
L(() => o.value);
|
|
4554
|
-
const g =
|
|
4529
|
+
const g = G(
|
|
4555
4530
|
() => s.survey,
|
|
4556
4531
|
(I) => {
|
|
4557
4532
|
const C = new He(null, I);
|
|
@@ -4564,7 +4539,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4564
4539
|
return z(() => {
|
|
4565
4540
|
g();
|
|
4566
4541
|
}), (I, C) => {
|
|
4567
|
-
const
|
|
4542
|
+
const N = p("survey-string"), k = p("sv-svg-icon");
|
|
4568
4543
|
return o.value.isShowing ? (i(), u("div", {
|
|
4569
4544
|
key: 0,
|
|
4570
4545
|
style: S([{ position: "fixed", bottom: "3px", right: "10px" }, {
|
|
@@ -4584,7 +4559,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4584
4559
|
style: { "padding-right": "10px" },
|
|
4585
4560
|
class: l(o.value.cssHeaderTitle)
|
|
4586
4561
|
}, [
|
|
4587
|
-
b(
|
|
4562
|
+
b(N, {
|
|
4588
4563
|
locString: I.survey.locTitle
|
|
4589
4564
|
}, null, 8, ["locString"])
|
|
4590
4565
|
], 2),
|
|
@@ -4596,7 +4571,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4596
4571
|
o.value.allowClose ? (i(), u("span", {
|
|
4597
4572
|
key: 0,
|
|
4598
4573
|
class: l(o.value.cssHeaderButton),
|
|
4599
|
-
onClick:
|
|
4574
|
+
onClick: y,
|
|
4600
4575
|
style: { transform: "rotate(45deg)", float: "right", cursor: "pointer", "user-select": "none", width: "24px", height: "24px" }
|
|
4601
4576
|
}, [
|
|
4602
4577
|
b(k, {
|
|
@@ -4619,14 +4594,14 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4619
4594
|
t.value ? (i(), u("div", {
|
|
4620
4595
|
key: 0,
|
|
4621
4596
|
class: l(o.value.cssBody),
|
|
4622
|
-
onScroll:
|
|
4597
|
+
onScroll: v
|
|
4623
4598
|
}, [
|
|
4624
4599
|
(i(), q(T(m()), { survey: I.survey }, null, 8, ["survey"]))
|
|
4625
4600
|
], 34)) : d("", !0)
|
|
4626
4601
|
], 6)) : d("", !0);
|
|
4627
4602
|
};
|
|
4628
4603
|
}
|
|
4629
|
-
}),
|
|
4604
|
+
}), ei = ["innerHTML"], si = /* @__PURE__ */ h({
|
|
4630
4605
|
__name: "CustomWidget",
|
|
4631
4606
|
props: {
|
|
4632
4607
|
question: {},
|
|
@@ -4640,37 +4615,37 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4640
4615
|
), t = w(() => s.question.customWidget.htmlTemplate), a = w(() => "survey-" + s.question.getTemplate());
|
|
4641
4616
|
return H(() => {
|
|
4642
4617
|
s.question.customWidget.afterRender(s.question, o.value);
|
|
4643
|
-
}),
|
|
4618
|
+
}), J(() => {
|
|
4644
4619
|
s.question.customWidget.willUnmount(s.question, o.value);
|
|
4645
|
-
}), (
|
|
4620
|
+
}), (y, m) => (i(), u("div", {
|
|
4646
4621
|
ref_key: "root",
|
|
4647
4622
|
ref: o
|
|
4648
4623
|
}, [
|
|
4649
4624
|
n.value ? (i(), u("div", {
|
|
4650
4625
|
key: 0,
|
|
4651
4626
|
innerHTML: t.value
|
|
4652
|
-
}, null, 8,
|
|
4627
|
+
}, null, 8, ei)) : d("", !0),
|
|
4653
4628
|
e.value ? (i(), q(T(a.value), {
|
|
4654
4629
|
key: 1,
|
|
4655
|
-
question:
|
|
4656
|
-
css:
|
|
4630
|
+
question: y.question,
|
|
4631
|
+
css: y.css
|
|
4657
4632
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4658
4633
|
], 512));
|
|
4659
4634
|
}
|
|
4660
|
-
}),
|
|
4635
|
+
}), ni = /* @__PURE__ */ h({
|
|
4661
4636
|
__name: "PopupModal",
|
|
4662
4637
|
setup(r) {
|
|
4663
4638
|
const s = j();
|
|
4664
|
-
function o(n, t, a,
|
|
4639
|
+
function o(n, t, a, y, m, v, g = "popup") {
|
|
4665
4640
|
const I = We(
|
|
4666
4641
|
n,
|
|
4667
4642
|
t,
|
|
4668
4643
|
a,
|
|
4669
|
-
|
|
4644
|
+
y,
|
|
4670
4645
|
void 0,
|
|
4671
4646
|
void 0,
|
|
4672
4647
|
m,
|
|
4673
|
-
|
|
4648
|
+
v,
|
|
4674
4649
|
g
|
|
4675
4650
|
);
|
|
4676
4651
|
return e(I);
|
|
@@ -4690,7 +4665,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4690
4665
|
})), K.showDialog || (K.showDialog = e, z(() => {
|
|
4691
4666
|
K.showDialog = void 0;
|
|
4692
4667
|
})), (n, t) => {
|
|
4693
|
-
const a =
|
|
4668
|
+
const a = p("sv-popup-container");
|
|
4694
4669
|
return s.value ? (i(), q(Se, {
|
|
4695
4670
|
key: 0,
|
|
4696
4671
|
to: s.value.container
|
|
@@ -4699,7 +4674,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4699
4674
|
], 8, ["to"])) : d("", !0);
|
|
4700
4675
|
};
|
|
4701
4676
|
}
|
|
4702
|
-
}),
|
|
4677
|
+
}), oi = /* @__PURE__ */ h({
|
|
4703
4678
|
__name: "CharacterCounter",
|
|
4704
4679
|
props: {
|
|
4705
4680
|
counter: {},
|
|
@@ -4711,7 +4686,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4711
4686
|
class: l(o.remainingCharacterCounter)
|
|
4712
4687
|
}, R(o.counter.remainingCharacterCounter), 3));
|
|
4713
4688
|
}
|
|
4714
|
-
}),
|
|
4689
|
+
}), ti = /* @__PURE__ */ h({
|
|
4715
4690
|
inheritAttrs: !1,
|
|
4716
4691
|
__name: "Composite",
|
|
4717
4692
|
props: {
|
|
@@ -4723,7 +4698,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4723
4698
|
A(s, o);
|
|
4724
4699
|
const e = w(() => s.question.contentPanel);
|
|
4725
4700
|
return (n, t) => {
|
|
4726
|
-
const a =
|
|
4701
|
+
const a = p("survey-panel");
|
|
4727
4702
|
return i(), q(a, {
|
|
4728
4703
|
ref_key: "root",
|
|
4729
4704
|
ref: o,
|
|
@@ -4732,7 +4707,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4732
4707
|
}, null, 8, ["element", "css"]);
|
|
4733
4708
|
};
|
|
4734
4709
|
}
|
|
4735
|
-
}),
|
|
4710
|
+
}), ii = /* @__PURE__ */ h({
|
|
4736
4711
|
inheritAttrs: !1,
|
|
4737
4712
|
__name: "Custom",
|
|
4738
4713
|
props: {
|
|
@@ -4749,9 +4724,9 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4749
4724
|
css: t.css
|
|
4750
4725
|
}, null, 8, ["question", "css"]));
|
|
4751
4726
|
}
|
|
4752
|
-
}),
|
|
4753
|
-
|
|
4754
|
-
], ve = 440,
|
|
4727
|
+
}), ri = /* @__PURE__ */ c("use", { "xlink:href": "#icon-timercircle" }, null, -1), li = [
|
|
4728
|
+
ri
|
|
4729
|
+
], ve = 440, ai = /* @__PURE__ */ h({
|
|
4755
4730
|
__name: "TimerPanel",
|
|
4756
4731
|
props: {
|
|
4757
4732
|
model: {},
|
|
@@ -4767,7 +4742,7 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4767
4742
|
key: 0,
|
|
4768
4743
|
class: l(n.model.getProgressCss()),
|
|
4769
4744
|
style: S({ strokeDasharray: ve, strokeDashoffset: o.value })
|
|
4770
|
-
},
|
|
4745
|
+
}, li, 6)) : d("", !0),
|
|
4771
4746
|
c("div", {
|
|
4772
4747
|
class: l(n.model.textContainerCss)
|
|
4773
4748
|
}, [
|
|
@@ -4779,24 +4754,24 @@ const ot = /* @__PURE__ */ he(Zo, [["render", nt]]), tt = /* @__PURE__ */ c("use
|
|
|
4779
4754
|
class: l(n.model.minorTextCss)
|
|
4780
4755
|
}, R(n.model.clockMinorText), 3)) : d("", !0)
|
|
4781
4756
|
], 2)
|
|
4782
|
-
], 2)) :
|
|
4757
|
+
], 2)) : P((i(), u("div", {
|
|
4783
4758
|
key: 1,
|
|
4784
4759
|
class: l(n.model.survey.getCss().timerRoot)
|
|
4785
4760
|
}, R(e.value), 3)), [
|
|
4786
4761
|
[M, n.model.isRunning && !n.model.showTimerAsClock]
|
|
4787
4762
|
]);
|
|
4788
4763
|
}
|
|
4789
|
-
}),
|
|
4790
|
-
function
|
|
4791
|
-
const o =
|
|
4792
|
-
return i(), u("div",
|
|
4764
|
+
}), ui = {}, di = { class: "sd-loading-indicator" };
|
|
4765
|
+
function mi(r, s) {
|
|
4766
|
+
const o = p("sv-svg-icon");
|
|
4767
|
+
return i(), u("div", di, [
|
|
4793
4768
|
b(o, {
|
|
4794
4769
|
iconName: "icon-loading",
|
|
4795
4770
|
size: "'auto'"
|
|
4796
4771
|
})
|
|
4797
4772
|
]);
|
|
4798
4773
|
}
|
|
4799
|
-
const
|
|
4774
|
+
const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @__PURE__ */ h({
|
|
4800
4775
|
__name: "Header",
|
|
4801
4776
|
props: {
|
|
4802
4777
|
model: {},
|
|
@@ -4808,7 +4783,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4808
4783
|
const o = s.model;
|
|
4809
4784
|
return o.survey = s.survey, s.model;
|
|
4810
4785
|
}), (o, e) => {
|
|
4811
|
-
const n =
|
|
4786
|
+
const n = p("sv-header-cell"), t = p("sv-header-mobile");
|
|
4812
4787
|
return i(), u("div", {
|
|
4813
4788
|
class: l(o.model.headerClasses),
|
|
4814
4789
|
style: S({ height: o.model.renderedHeight })
|
|
@@ -4823,28 +4798,28 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4823
4798
|
class: l(o.model.contentClasses),
|
|
4824
4799
|
style: S({ maxWidth: o.model.maxWidth })
|
|
4825
4800
|
}, [
|
|
4826
|
-
(i(!0), u($, null, B(o.model.cells, (a,
|
|
4801
|
+
(i(!0), u($, null, B(o.model.cells, (a, y) => (i(), q(n, {
|
|
4827
4802
|
model: a,
|
|
4828
|
-
key:
|
|
4803
|
+
key: y
|
|
4829
4804
|
}, null, 8, ["model"]))), 128))
|
|
4830
4805
|
], 6)),
|
|
4831
|
-
o.survey.isMobile ? (i(), u("div",
|
|
4806
|
+
o.survey.isMobile ? (i(), u("div", pi, [
|
|
4832
4807
|
b(t, { model: o.model }, null, 8, ["model"])
|
|
4833
4808
|
])) : d("", !0)
|
|
4834
4809
|
], 6);
|
|
4835
4810
|
};
|
|
4836
4811
|
}
|
|
4837
|
-
}),
|
|
4812
|
+
}), yi = {
|
|
4838
4813
|
key: 0,
|
|
4839
4814
|
class: "sv-header__logo"
|
|
4840
|
-
},
|
|
4815
|
+
}, qi = ["src", "width", "height", "alt"], gi = /* @__PURE__ */ h({
|
|
4841
4816
|
__name: "HeaderCell",
|
|
4842
4817
|
props: {
|
|
4843
4818
|
model: {}
|
|
4844
4819
|
},
|
|
4845
4820
|
setup(r) {
|
|
4846
4821
|
return (s, o) => {
|
|
4847
|
-
const e =
|
|
4822
|
+
const e = p("survey-element-title"), n = p("survey-string");
|
|
4848
4823
|
return i(), u("div", {
|
|
4849
4824
|
class: l(s.model.css),
|
|
4850
4825
|
style: S(s.model.style)
|
|
@@ -4853,7 +4828,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4853
4828
|
class: "sv-header__cell-content",
|
|
4854
4829
|
style: S(s.model.contentStyle)
|
|
4855
4830
|
}, [
|
|
4856
|
-
s.model.showLogo ? (i(), u("div",
|
|
4831
|
+
s.model.showLogo ? (i(), u("div", yi, [
|
|
4857
4832
|
c("div", {
|
|
4858
4833
|
class: l(s.model.survey.logoClassNames)
|
|
4859
4834
|
}, [
|
|
@@ -4864,7 +4839,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4864
4839
|
height: s.model.survey.renderedLogoHeight,
|
|
4865
4840
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4866
4841
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4867
|
-
}, null, 14,
|
|
4842
|
+
}, null, 14, qi)
|
|
4868
4843
|
], 2)
|
|
4869
4844
|
])) : d("", !0),
|
|
4870
4845
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -4895,19 +4870,19 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4895
4870
|
], 6);
|
|
4896
4871
|
};
|
|
4897
4872
|
}
|
|
4898
|
-
}),
|
|
4873
|
+
}), hi = { class: "sv-header--mobile" }, Ci = {
|
|
4899
4874
|
key: 0,
|
|
4900
4875
|
class: "sv-header__logo"
|
|
4901
|
-
},
|
|
4876
|
+
}, bi = ["src", "width", "height", "alt"], ki = /* @__PURE__ */ h({
|
|
4902
4877
|
__name: "HeaderMobile",
|
|
4903
4878
|
props: {
|
|
4904
4879
|
model: {}
|
|
4905
4880
|
},
|
|
4906
4881
|
setup(r) {
|
|
4907
4882
|
return (s, o) => {
|
|
4908
|
-
const e =
|
|
4909
|
-
return i(), u("div",
|
|
4910
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
4883
|
+
const e = p("survey-element-title"), n = p("survey-string");
|
|
4884
|
+
return i(), u("div", hi, [
|
|
4885
|
+
s.model.survey.hasLogo ? (i(), u("div", Ci, [
|
|
4911
4886
|
c("div", {
|
|
4912
4887
|
class: l(s.model.survey.logoClassNames)
|
|
4913
4888
|
}, [
|
|
@@ -4918,7 +4893,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4918
4893
|
height: s.model.survey.renderedLogoHeight,
|
|
4919
4894
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4920
4895
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4921
|
-
}, null, 14,
|
|
4896
|
+
}, null, 14, bi)
|
|
4922
4897
|
], 2)
|
|
4923
4898
|
])) : d("", !0),
|
|
4924
4899
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -4948,7 +4923,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4948
4923
|
]);
|
|
4949
4924
|
};
|
|
4950
4925
|
}
|
|
4951
|
-
}),
|
|
4926
|
+
}), fi = /* @__PURE__ */ h({
|
|
4952
4927
|
__name: "Element",
|
|
4953
4928
|
props: {
|
|
4954
4929
|
element: {},
|
|
@@ -4959,26 +4934,26 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4959
4934
|
const s = r, o = (a) => a.isPanel ? "survey-panel" : "survey-question", e = w(() => {
|
|
4960
4935
|
const a = s.element.survey;
|
|
4961
4936
|
if (a) {
|
|
4962
|
-
const
|
|
4963
|
-
if (
|
|
4964
|
-
return
|
|
4937
|
+
const y = a.getElementWrapperComponentName(s.element);
|
|
4938
|
+
if (y)
|
|
4939
|
+
return y;
|
|
4965
4940
|
}
|
|
4966
4941
|
return o(s.element);
|
|
4967
4942
|
}), n = (a) => a.cssClasses ? a.rootStyle : {}, t = w(() => {
|
|
4968
|
-
const a = s.element,
|
|
4943
|
+
const a = s.element, y = a.survey;
|
|
4969
4944
|
let m;
|
|
4970
|
-
return
|
|
4945
|
+
return y && (m = y.getElementWrapperComponentData(a)), {
|
|
4971
4946
|
componentName: o(a),
|
|
4972
4947
|
componentData: {
|
|
4973
4948
|
element: a,
|
|
4974
|
-
survey:
|
|
4949
|
+
survey: y,
|
|
4975
4950
|
row: s.row,
|
|
4976
4951
|
css: s.css,
|
|
4977
4952
|
data: m
|
|
4978
4953
|
}
|
|
4979
4954
|
};
|
|
4980
4955
|
});
|
|
4981
|
-
return (a,
|
|
4956
|
+
return (a, y) => (i(), u("div", {
|
|
4982
4957
|
style: S(n(a.element)),
|
|
4983
4958
|
class: l(a.element.cssClasses.questionWrapper)
|
|
4984
4959
|
}, [
|
|
@@ -4989,7 +4964,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4989
4964
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
4990
4965
|
], 6));
|
|
4991
4966
|
}
|
|
4992
|
-
}),
|
|
4967
|
+
}), Ii = /* @__PURE__ */ h({
|
|
4993
4968
|
__name: "TemplateRenderer",
|
|
4994
4969
|
props: {
|
|
4995
4970
|
componentName: {},
|
|
@@ -4999,7 +4974,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
4999
4974
|
const s = Re(), o = w(() => !!s.default);
|
|
5000
4975
|
return (e, n) => o.value && !e.componentName ? Te(e.$slots, "default", { key: 0 }) : (i(), q(T(e.componentName), F(W({ key: 1 }, e.componentData)), null, 16));
|
|
5001
4976
|
}
|
|
5002
|
-
}),
|
|
4977
|
+
}), wi = /* @__PURE__ */ h({
|
|
5003
4978
|
__name: "FileCleanButton",
|
|
5004
4979
|
props: {
|
|
5005
4980
|
question: {},
|
|
@@ -5007,7 +4982,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5007
4982
|
},
|
|
5008
4983
|
setup(r) {
|
|
5009
4984
|
return (s, o) => {
|
|
5010
|
-
const e =
|
|
4985
|
+
const e = p("sv-svg-icon");
|
|
5011
4986
|
return i(), u("button", {
|
|
5012
4987
|
type: "button",
|
|
5013
4988
|
class: l(s.css),
|
|
@@ -5023,14 +4998,14 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5023
4998
|
], 2);
|
|
5024
4999
|
};
|
|
5025
5000
|
}
|
|
5026
|
-
}),
|
|
5001
|
+
}), Si = ["id"], Ri = /* @__PURE__ */ h({
|
|
5027
5002
|
__name: "FileVideo",
|
|
5028
5003
|
props: {
|
|
5029
5004
|
question: {}
|
|
5030
5005
|
},
|
|
5031
5006
|
setup(r) {
|
|
5032
5007
|
return (s, o) => {
|
|
5033
|
-
const e =
|
|
5008
|
+
const e = p("sv-action");
|
|
5034
5009
|
return i(), u("div", {
|
|
5035
5010
|
class: l(s.question.cssClasses.videoContainer)
|
|
5036
5011
|
}, [
|
|
@@ -5045,14 +5020,14 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5045
5020
|
playsinline: "",
|
|
5046
5021
|
id: s.question.videoId,
|
|
5047
5022
|
class: l(s.question.cssClasses.video)
|
|
5048
|
-
}, null, 10,
|
|
5023
|
+
}, null, 10, Si),
|
|
5049
5024
|
b(e, {
|
|
5050
5025
|
item: s.question.takePictureAction
|
|
5051
5026
|
}, null, 8, ["item"])
|
|
5052
5027
|
], 2);
|
|
5053
5028
|
};
|
|
5054
5029
|
}
|
|
5055
|
-
}),
|
|
5030
|
+
}), Ti = ["for", "aria-label"], $i = /* @__PURE__ */ h({
|
|
5056
5031
|
__name: "FileChooseButton",
|
|
5057
5032
|
props: {
|
|
5058
5033
|
data: {},
|
|
@@ -5066,8 +5041,8 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5066
5041
|
}
|
|
5067
5042
|
);
|
|
5068
5043
|
return (e, n) => {
|
|
5069
|
-
const t =
|
|
5070
|
-
return
|
|
5044
|
+
const t = p("sv-svg-icon"), a = X("key2click");
|
|
5045
|
+
return P((i(), u("label", {
|
|
5071
5046
|
tabindex: "0",
|
|
5072
5047
|
class: l(o.value.getChooseFileCss()),
|
|
5073
5048
|
for: o.value.inputId,
|
|
@@ -5080,24 +5055,24 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5080
5055
|
size: "auto"
|
|
5081
5056
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5082
5057
|
c("span", null, R(o.value.chooseButtonText), 1)
|
|
5083
|
-
], 10,
|
|
5058
|
+
], 10, Ti)), [
|
|
5084
5059
|
[a]
|
|
5085
5060
|
]);
|
|
5086
5061
|
};
|
|
5087
5062
|
}
|
|
5088
|
-
}),
|
|
5063
|
+
}), _i = ["onClick", "href", "title", "download"], Di = ["src"], Bi = ["onClick"], Li = ["onClick", "href", "title", "download"], Ni = /* @__PURE__ */ h({
|
|
5089
5064
|
__name: "FilePreview",
|
|
5090
5065
|
props: {
|
|
5091
5066
|
question: {}
|
|
5092
5067
|
},
|
|
5093
5068
|
setup(r) {
|
|
5094
5069
|
return (s, o) => {
|
|
5095
|
-
const e =
|
|
5070
|
+
const e = p("sv-svg-icon");
|
|
5096
5071
|
return s.question.showPreviewContainer ? (i(), u("div", {
|
|
5097
5072
|
key: 0,
|
|
5098
5073
|
class: l(s.question.cssClasses.fileList || void 0)
|
|
5099
5074
|
}, [
|
|
5100
|
-
(i(!0), u($, null, B(s.question.previewValue, (n, t) =>
|
|
5075
|
+
(i(!0), u($, null, B(s.question.previewValue, (n, t) => P((i(), u("span", {
|
|
5101
5076
|
key: s.question.inputId + "_" + t,
|
|
5102
5077
|
class: l(s.question.cssClasses.preview)
|
|
5103
5078
|
}, [
|
|
@@ -5111,7 +5086,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5111
5086
|
title: n.name,
|
|
5112
5087
|
download: n.name,
|
|
5113
5088
|
style: S({ width: s.question.imageWidth })
|
|
5114
|
-
}, R(n.name), 13,
|
|
5089
|
+
}, R(n.name), 13, _i)
|
|
5115
5090
|
], 2)) : d("", !0),
|
|
5116
5091
|
c("div", {
|
|
5117
5092
|
class: l(s.question.getImageWrapperCss(n))
|
|
@@ -5124,7 +5099,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5124
5099
|
width: s.question.imageWidth
|
|
5125
5100
|
}),
|
|
5126
5101
|
alt: "File preview"
|
|
5127
|
-
}, null, 12,
|
|
5102
|
+
}, null, 12, Di)) : d("", !0),
|
|
5128
5103
|
s.question.defaultImage(n) ? (i(), q(e, {
|
|
5129
5104
|
key: 1,
|
|
5130
5105
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5146,7 +5121,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5146
5121
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5147
5122
|
size: "auto"
|
|
5148
5123
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5149
|
-
], 10,
|
|
5124
|
+
], 10, Bi)) : d("", !0)
|
|
5150
5125
|
], 2),
|
|
5151
5126
|
n.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5152
5127
|
key: 1,
|
|
@@ -5158,7 +5133,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5158
5133
|
title: n.name,
|
|
5159
5134
|
download: n.name,
|
|
5160
5135
|
style: S({ width: s.question.imageWidth })
|
|
5161
|
-
}, R(n.name), 13,
|
|
5136
|
+
}, R(n.name), 13, Li)
|
|
5162
5137
|
], 2)) : d("", !0)
|
|
5163
5138
|
], 2)), [
|
|
5164
5139
|
[M, n && s.question.isPreviewVisible(t)]
|
|
@@ -5166,7 +5141,7 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5166
5141
|
], 2)) : d("", !0);
|
|
5167
5142
|
};
|
|
5168
5143
|
}
|
|
5169
|
-
}),
|
|
5144
|
+
}), Pi = /* @__PURE__ */ h({
|
|
5170
5145
|
__name: "ButtonGroup",
|
|
5171
5146
|
props: {
|
|
5172
5147
|
question: {}
|
|
@@ -5174,23 +5149,23 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5174
5149
|
setup(r) {
|
|
5175
5150
|
const s = r, o = _();
|
|
5176
5151
|
return A(s, o), (e, n) => {
|
|
5177
|
-
const t =
|
|
5152
|
+
const t = p("sv-button-group-item");
|
|
5178
5153
|
return i(), u("div", {
|
|
5179
5154
|
role: "group",
|
|
5180
5155
|
class: l(e.question.cssClasses.root),
|
|
5181
5156
|
ref_key: "root",
|
|
5182
5157
|
ref: o
|
|
5183
5158
|
}, [
|
|
5184
|
-
(i(!0), u($, null, B(e.question.visibleChoices, (a,
|
|
5159
|
+
(i(!0), u($, null, B(e.question.visibleChoices, (a, y) => (i(), q(t, {
|
|
5185
5160
|
question: e.question,
|
|
5186
|
-
key:
|
|
5161
|
+
key: y,
|
|
5187
5162
|
item: a,
|
|
5188
|
-
index:
|
|
5163
|
+
index: y
|
|
5189
5164
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
5190
5165
|
], 2);
|
|
5191
5166
|
};
|
|
5192
5167
|
}
|
|
5193
|
-
}),
|
|
5168
|
+
}), Ai = ["title"], Mi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "disabled", "value"], Hi = ["title"], Wi = /* @__PURE__ */ h({
|
|
5194
5169
|
__name: "ButtonGroupItem",
|
|
5195
5170
|
props: {
|
|
5196
5171
|
item: {},
|
|
@@ -5208,13 +5183,13 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5208
5183
|
}
|
|
5209
5184
|
});
|
|
5210
5185
|
return (n, t) => {
|
|
5211
|
-
const a =
|
|
5186
|
+
const a = p("sv-svg-icon"), y = p("survey-string");
|
|
5212
5187
|
return i(), u("label", {
|
|
5213
5188
|
role: "radio",
|
|
5214
5189
|
class: l(o.value.css.label),
|
|
5215
5190
|
title: o.value.caption.renderedHtml
|
|
5216
5191
|
}, [
|
|
5217
|
-
|
|
5192
|
+
P(c("input", {
|
|
5218
5193
|
type: "radio",
|
|
5219
5194
|
name: o.value.name,
|
|
5220
5195
|
id: o.value.id,
|
|
@@ -5227,8 +5202,8 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5227
5202
|
class: l(o.value.css.control),
|
|
5228
5203
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.value = m),
|
|
5229
5204
|
value: o.value.value
|
|
5230
|
-
}, null, 10,
|
|
5231
|
-
[
|
|
5205
|
+
}, null, 10, Mi), [
|
|
5206
|
+
[ee, e.value]
|
|
5232
5207
|
]),
|
|
5233
5208
|
c("div", {
|
|
5234
5209
|
class: l(o.value.css.decorator)
|
|
@@ -5244,15 +5219,15 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5244
5219
|
class: l(o.value.css.caption),
|
|
5245
5220
|
title: o.value.caption.renderedHtml
|
|
5246
5221
|
}, [
|
|
5247
|
-
b(
|
|
5222
|
+
b(y, {
|
|
5248
5223
|
locString: o.value.caption
|
|
5249
5224
|
}, null, 8, ["locString"])
|
|
5250
|
-
], 10,
|
|
5225
|
+
], 10, Hi)) : d("", !0)
|
|
5251
5226
|
], 2)
|
|
5252
|
-
], 10,
|
|
5227
|
+
], 10, Ai);
|
|
5253
5228
|
};
|
|
5254
5229
|
}
|
|
5255
|
-
}),
|
|
5230
|
+
}), Ei = ["src", "width", "height", "alt"], Vi = /* @__PURE__ */ h({
|
|
5256
5231
|
inheritAttrs: !1,
|
|
5257
5232
|
__name: "Logo",
|
|
5258
5233
|
props: {
|
|
@@ -5274,16 +5249,16 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5274
5249
|
width: o.value.renderedStyleLogoWidth,
|
|
5275
5250
|
height: o.value.renderedStyleLogoHeight
|
|
5276
5251
|
})
|
|
5277
|
-
}, null, 14,
|
|
5252
|
+
}, null, 14, Ei)
|
|
5278
5253
|
], 2));
|
|
5279
5254
|
}
|
|
5280
|
-
}),
|
|
5255
|
+
}), Oi = /* @__PURE__ */ h({
|
|
5281
5256
|
__name: "SvgBundle",
|
|
5282
5257
|
setup(r) {
|
|
5283
5258
|
const s = _();
|
|
5284
5259
|
return H(() => {
|
|
5285
5260
|
s.value.innerHTML = Oe.iconsRenderedHtml();
|
|
5286
|
-
}), (o, e) =>
|
|
5261
|
+
}), (o, e) => P((i(), u("svg", {
|
|
5287
5262
|
id: "sv-icon-holder-global-container",
|
|
5288
5263
|
ref_key: "root",
|
|
5289
5264
|
ref: s
|
|
@@ -5293,8 +5268,8 @@ const pi = /* @__PURE__ */ he(di, [["render", ci]]), vi = { key: 2 }, yi = /* @_
|
|
|
5293
5268
|
}
|
|
5294
5269
|
});
|
|
5295
5270
|
Fe.platform = "vue3";
|
|
5296
|
-
function
|
|
5297
|
-
r.component("SurveyComponent", ce), r.component("sv-svg-bundle",
|
|
5271
|
+
function Fi(r) {
|
|
5272
|
+
r.component("SurveyComponent", ce), r.component("sv-svg-bundle", Oi), r.component("PopupSurveyComponent", pe), r.component("survey", ce), r.component("popup-survey", pe), r.component("survey-header", Qe), r.component("sv-logo-image", Vi), r.component("survey-page", je), r.component("survey-row", Ge), r.component("survey-question", Ye), r.component("survey-panel", ss), r.component("survey-element-header", ns), r.component("survey-string", os), r.component("sv-string-viewer", rs), r.component("sv-string-editor", as), r.component("sv-skeleton", ds), r.component("survey-text", ps), r.component("survey-text-input", gs), r.component("survey-checkbox", fs), r.component("survey-checkbox-item", Ss), r.component("survey-radiogroup", Rs), r.component("survey-radiogroup-item", _s), r.component("survey-signaturepad", Ns), r.component("survey-html", As), r.component("survey-image", Es), r.component("survey-expression", Vs), r.component("survey-file", zs), r.component("sv-file-choose-btn", $i), r.component("sv-file-clean-btn", wi), r.component("sv-file-preview", Ni), r.component("sv-file-video", Ri), r.component("survey-imagepicker", Ks), r.component("survey-imagepicker-item", Xs), r.component("survey-comment", xs), r.component("survey-dropdown", en), r.component("sv-dropdown-select", tn), r.component("sv-dropdown-option-item", ln), r.component("sv-dropdown", cn), r.component("survey-tagbox", pn), r.component("sv-tagbox", qn), r.component("sv-tagbox-item", kn), r.component("sv-tagbox-filter", Cn), r.component("survey-ranking", fn), r.component("survey-ranking-item", $n), r.component("survey-rating", Bn), r.component("sv-rating-item", Nn), r.component("sv-rating-item-smiley", An), r.component("sv-rating-item-star", Hn), r.component("sv-rating-dropdown", Fn), r.component("sv-rating-dropdown-item", On), r.component("survey-boolean", Un), r.component("sv-boolean-radio", Kn), r.component("sv-boolean-radio-item", Gn), r.component("sv-boolean-checkbox", xn), r.component("survey-multipletext", eo), r.component("survey-multipletext-item", no), r.component("survey-matrix", mo), r.component("survey-matrixdropdown", co), r.component("survey-matrixtable", qo), r.component("survey-matrixheaderrequired", ho), r.component("survey-matrixcell", bo), r.component("survey-matrixdynamic", ko), r.component("sv-matrix-remove-button", Io), r.component("sv-matrix-drag-drop-icon", So), r.component("sv-matrix-detail-button", To), r.component("survey-paneldynamic", $o), r.component("survey-paneldynamicprogress", _o), r.component("survey-paneldynamicprogress-v2", Do), r.component("sv-paneldynamic-add-btn", Bo), r.component("sv-paneldynamic-next-btn", No), r.component("sv-paneldynamic-prev-btn", Ao), r.component("sv-paneldynamic-remove-btn", Mo), r.component("sv-paneldynamic-progress-text", Ho), r.component("sv-components-container", Pt), r.component("sv-progress-buttons", Wt), r.component("sv-progress-toc", Et), r.component("sv-progress-pages", Z), r.component("sv-progress-questions", Z), r.component("sv-progress-correctquestions", Z), r.component("sv-progress-requiredquestions", Z), r.component("survey-errors", Eo), r.component("survey-question-comment", Fo), r.component("survey-element-title", zo), r.component("survey-element-title-content", Qo), r.component("sv-title-actions", Xo), r.component("sv-brand-info", nt), r.component("sv-svg-icon", it), r.component("sv-action-bar", rt), r.component("sv-action", ut), r.component("sv-action-bar-item", ct), r.component("sv-action-bar-item-dropdown", yt), r.component("sv-action-bar-separator", qt), r.component("sv-list", bt), r.component("sv-list-item", It), r.component("sv-popup", wt), r.component("sv-popup-container", Bt), r.component("popup-pointer", Lt), r.component("sv-notifier", Gt), r.component("survey-other-choice", Yt), r.component("sv-nav-btn", xt), r.component("survey-customwidget", si), r.component("survey-popup-modal", ni), r.component("sv-character-counter", oi), r.component("survey-composite", ti), r.component("survey-custom", ii), r.component("sv-timerpanel", ai), r.component("sv-loading-indicator", ci), r.component("sv-header", vi), r.component("sv-header-cell", gi), r.component("sv-header-mobile", ki), r.component("sv-template-renderer", Ii), r.component("survey-element", fi), r.component("survey-buttongroup", Pi), r.component("sv-button-group-item", Wi), r.directive("key2click", {
|
|
5298
5273
|
mounted: function(s, o) {
|
|
5299
5274
|
const e = { ...o.value };
|
|
5300
5275
|
if (e.disableTabStop) {
|
|
@@ -5309,13 +5284,13 @@ function zi(r) {
|
|
|
5309
5284
|
}
|
|
5310
5285
|
});
|
|
5311
5286
|
}
|
|
5312
|
-
const
|
|
5287
|
+
const Ki = {
|
|
5313
5288
|
install(r) {
|
|
5314
|
-
|
|
5289
|
+
Fi(r);
|
|
5315
5290
|
}
|
|
5316
5291
|
};
|
|
5317
5292
|
export {
|
|
5318
|
-
|
|
5293
|
+
Ki as surveyPlugin,
|
|
5319
5294
|
L as useBase,
|
|
5320
5295
|
Q as useLocString,
|
|
5321
5296
|
A as useQuestion
|