survey-vue3-ui 1.12.12 → 1.12.13
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 +2 -2
- package/survey-vue3-ui.es.js +372 -374
- package/survey-vue3-ui.umd.js +5 -5
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var G = (u, o, e) => (
|
|
4
|
-
import { defineComponent as h, computed as L, openBlock as r, createBlock as C, resolveDynamicComponent as
|
|
5
|
-
import { Base as
|
|
1
|
+
var He = Object.defineProperty;
|
|
2
|
+
var Ie = (u, o, e) => o in u ? He(u, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[o] = e;
|
|
3
|
+
var G = (u, o, e) => (Ie(u, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
|
+
import { defineComponent as h, computed as L, openBlock as r, createBlock as C, resolveDynamicComponent as ge, normalizeProps as ue, guardReactiveProps as de, createSlots as Se, renderList as S, withCtx as E, renderSlot as Ce, shallowReactive as Ve, watch as F, onBeforeUnmount as U, onMounted as $, ref as b, shallowRef as W, watchEffect as Be, triggerRef as se, unref as k, isRef as Re, nextTick as Te, createElementBlock as l, normalizeClass as a, createVNode as y, createCommentVNode as c, Fragment as I, mergeProps as D, normalizeStyle as M, createElementVNode as m, onUnmounted as N, withDirectives as R, vShow as P, toDisplayString as H, vModelRadio as Y, vModelCheckbox as oe, vModelSelect as Ze, onUpdated as x, vModelText as $e, getCurrentInstance as ye, createStaticVNode as De, toRaw as Ae, Teleport as Pe, useSlots as Ne } from "vue";
|
|
5
|
+
import { Base as Ee, RendererFactory as _, Helpers as We, DropdownMultiSelectListModel as Fe, doKey2ClickUp as he, createSvg as ze, doKey2ClickDown as Oe, doKey2ClickBlur as Ue, ActionDropdownViewModel as Ke, createPopupViewModel as je, SurveyProgressModel as ve, ProgressButtonsResponsivityManager as Qe, addIconsToThemeSet as qe, SvgRegistry as X, PopupSurveyModel as Ge, settings as z, createDialogOptions as Je, createPopupModalViewModel as Xe, ButtonGroupItemModel as Ye, SurveyModel as xe } from "survey-core";
|
|
6
6
|
const ae = class {
|
|
7
7
|
constructor() {
|
|
8
8
|
G(this, "creatorHash", {});
|
|
@@ -35,32 +35,32 @@ const v = /* @__PURE__ */ h({
|
|
|
35
35
|
const o = u, e = L(
|
|
36
36
|
() => O.Instance.getComponent(o.is)
|
|
37
37
|
);
|
|
38
|
-
return (s, n) => (r(), C(
|
|
38
|
+
return (s, n) => (r(), C(ge(e.value), ue(de(s.$attrs)), Se({ _: 2 }, [
|
|
39
39
|
S(s.$slots, (t, i) => ({
|
|
40
40
|
name: i,
|
|
41
41
|
fn: E((d) => [
|
|
42
|
-
|
|
42
|
+
Ce(s.$slots, i, ue(de(d)))
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
45
45
|
]), 1040));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
|
|
49
|
-
class
|
|
48
|
+
Ee.createPropertiesHash = () => Ve({});
|
|
49
|
+
class _e {
|
|
50
50
|
constructor(o) {
|
|
51
51
|
G(this, "currentNextTickPromise");
|
|
52
52
|
this.element = o;
|
|
53
53
|
}
|
|
54
54
|
async add() {
|
|
55
|
-
const o =
|
|
55
|
+
const o = Te();
|
|
56
56
|
this.currentNextTickPromise !== o && (this.currentNextTickPromise = o, await o, o == this.currentNextTickPromise && this.element.afterRerender());
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function es(u) {
|
|
60
60
|
var o;
|
|
61
61
|
if (!!u) {
|
|
62
62
|
if (u.__vueImplemented = (o = u.__vueImplemented) != null ? o : 0, u.__vueImplemented <= 0) {
|
|
63
|
-
const e = new
|
|
63
|
+
const e = new _e(u);
|
|
64
64
|
u.createArrayCoreHandler = (s, n) => {
|
|
65
65
|
const t = [], i = W(t);
|
|
66
66
|
return t.onArrayChanged = () => {
|
|
@@ -74,7 +74,7 @@ function ss(u) {
|
|
|
74
74
|
}, s[n] = t;
|
|
75
75
|
}
|
|
76
76
|
}), u.getPropertyValueCoreHandler = (s, n) => k(s[n]), u.setPropertyValueCoreHandler = (s, n, t) => {
|
|
77
|
-
|
|
77
|
+
Re(s[n]) ? s[n].value = t : s[n] = t, e.add();
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
u.enableOnElementRerenderedEvent(), u.__vueImplemented++;
|
|
@@ -90,7 +90,7 @@ function V(u, o, e) {
|
|
|
90
90
|
const s = F(
|
|
91
91
|
u,
|
|
92
92
|
(t, i) => {
|
|
93
|
-
t && o && o(t, i), i && (ce(i), e && e(i)),
|
|
93
|
+
t && o && o(t, i), i && (ce(i), e && e(i)), es(t);
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
immediate: !0
|
|
@@ -111,37 +111,35 @@ function T(u, o, e, s) {
|
|
|
111
111
|
u.question.beforeDestroyQuestionElement(o.value);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
function pe() {
|
|
115
|
-
}
|
|
116
114
|
function K(u) {
|
|
117
|
-
const o = b(), e = (
|
|
118
|
-
o.value =
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
},
|
|
115
|
+
const o = b(), e = (t) => {
|
|
116
|
+
o.value = t.renderedHtml;
|
|
117
|
+
}, s = (t) => {
|
|
118
|
+
o.value = t.renderedHtml, t.onStringChanged.add(e);
|
|
119
|
+
}, n = F(
|
|
122
120
|
u,
|
|
123
|
-
(
|
|
124
|
-
|
|
121
|
+
(t, i) => {
|
|
122
|
+
i && i.onStringChanged.remove(e), s(t);
|
|
125
123
|
},
|
|
126
124
|
{ immediate: !0 }
|
|
127
125
|
);
|
|
128
126
|
return U(() => {
|
|
129
|
-
const
|
|
130
|
-
|
|
127
|
+
const t = u();
|
|
128
|
+
t && t.onStringChanged.remove(e), n();
|
|
131
129
|
}), o;
|
|
132
130
|
}
|
|
133
131
|
function te(u) {
|
|
134
132
|
return u.customWidget ? "survey-customwidget" : u.isDefaultRendering && u.isDefaultRendering() || u.isPanel ? "survey-" + u.getTemplate() : u.getComponentName();
|
|
135
133
|
}
|
|
136
134
|
function ee(u) {
|
|
137
|
-
const o = W(), e =
|
|
135
|
+
const o = W(), e = Be(() => {
|
|
138
136
|
o.value = u(), se(o);
|
|
139
137
|
});
|
|
140
138
|
return U(() => {
|
|
141
139
|
e();
|
|
142
140
|
}), o;
|
|
143
141
|
}
|
|
144
|
-
const
|
|
142
|
+
const ss = /* @__PURE__ */ h({
|
|
145
143
|
__name: "Page",
|
|
146
144
|
props: {
|
|
147
145
|
survey: {},
|
|
@@ -200,7 +198,7 @@ const os = /* @__PURE__ */ h({
|
|
|
200
198
|
}, 1040, ["is"]))), 128))
|
|
201
199
|
], 2));
|
|
202
200
|
}
|
|
203
|
-
}),
|
|
201
|
+
}), os = /* @__PURE__ */ h({
|
|
204
202
|
__name: "Header",
|
|
205
203
|
props: {
|
|
206
204
|
survey: {}
|
|
@@ -251,7 +249,7 @@ const os = /* @__PURE__ */ h({
|
|
|
251
249
|
}, null, 2)
|
|
252
250
|
], 2)) : c("", !0);
|
|
253
251
|
}
|
|
254
|
-
}),
|
|
252
|
+
}), ts = /* @__PURE__ */ h({
|
|
255
253
|
__name: "Row",
|
|
256
254
|
props: {
|
|
257
255
|
row: {},
|
|
@@ -289,10 +287,10 @@ const os = /* @__PURE__ */ h({
|
|
|
289
287
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
290
288
|
], 2));
|
|
291
289
|
}
|
|
292
|
-
}),
|
|
290
|
+
}), ns = ["id", "role", "aria-required", "aria-invalid", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], rs = ["id"], is = {
|
|
293
291
|
inheritAttrs: !1
|
|
294
|
-
},
|
|
295
|
-
...
|
|
292
|
+
}, as = /* @__PURE__ */ h({
|
|
293
|
+
...is,
|
|
296
294
|
__name: "Question",
|
|
297
295
|
props: {
|
|
298
296
|
survey: {},
|
|
@@ -384,14 +382,14 @@ const os = /* @__PURE__ */ h({
|
|
|
384
382
|
}, null, 8, ["element"])) : c("", !0),
|
|
385
383
|
f.element.hasDescriptionUnderInput ? (r(), l("div", {
|
|
386
384
|
key: 3,
|
|
387
|
-
class: a(f.element.
|
|
385
|
+
class: a(f.element.cssDescription),
|
|
388
386
|
id: f.element.ariaDescriptionId
|
|
389
387
|
}, [
|
|
390
388
|
y(v, {
|
|
391
389
|
is: "survey-string",
|
|
392
390
|
locString: f.element.locDescription
|
|
393
391
|
}, null, 8, ["locString"])
|
|
394
|
-
], 10,
|
|
392
|
+
], 10, rs)) : c("", !0)
|
|
395
393
|
], 6)
|
|
396
394
|
]),
|
|
397
395
|
_: 1
|
|
@@ -408,12 +406,12 @@ const os = /* @__PURE__ */ h({
|
|
|
408
406
|
element: f.element,
|
|
409
407
|
location: "bottom"
|
|
410
408
|
}, null, 8, ["element"])) : c("", !0)
|
|
411
|
-
], 46,
|
|
409
|
+
], 46, ns));
|
|
412
410
|
}
|
|
413
|
-
}),
|
|
411
|
+
}), ls = ["id"], us = ["id"], ds = {
|
|
414
412
|
inheritAttrs: !1
|
|
415
|
-
},
|
|
416
|
-
...
|
|
413
|
+
}, vs = /* @__PURE__ */ h({
|
|
414
|
+
...ds,
|
|
417
415
|
inheritAttrs: !1,
|
|
418
416
|
__name: "Panel",
|
|
419
417
|
props: {
|
|
@@ -475,10 +473,10 @@ const os = /* @__PURE__ */ h({
|
|
|
475
473
|
is: "sv-action-bar",
|
|
476
474
|
model: n.element.getFooterToolbar()
|
|
477
475
|
}, null, 8, ["model"])
|
|
478
|
-
], 14,
|
|
479
|
-
], 42,
|
|
476
|
+
], 14, us)) : c("", !0)
|
|
477
|
+
], 42, ls)) : c("", !0);
|
|
480
478
|
}
|
|
481
|
-
}),
|
|
479
|
+
}), cs = ["id"], ps = /* @__PURE__ */ h({
|
|
482
480
|
__name: "ElementHeader",
|
|
483
481
|
props: {
|
|
484
482
|
element: {},
|
|
@@ -510,7 +508,7 @@ const os = /* @__PURE__ */ h({
|
|
|
510
508
|
is: "survey-string",
|
|
511
509
|
locString: n.element.locDescription
|
|
512
510
|
}, null, 8, ["locString"])
|
|
513
|
-
], 10,
|
|
511
|
+
], 10, cs)), [
|
|
514
512
|
[P, n.element.hasDescription]
|
|
515
513
|
]) : c("", !0),
|
|
516
514
|
n.element.hasAdditionalTitleToolbar ? (r(), C(v, {
|
|
@@ -520,7 +518,7 @@ const os = /* @__PURE__ */ h({
|
|
|
520
518
|
}, null, 8, ["model"])) : c("", !0)
|
|
521
519
|
], 6));
|
|
522
520
|
}
|
|
523
|
-
}),
|
|
521
|
+
}), ms = /* @__PURE__ */ h({
|
|
524
522
|
__name: "String",
|
|
525
523
|
props: {
|
|
526
524
|
locString: {}
|
|
@@ -531,7 +529,7 @@ const os = /* @__PURE__ */ h({
|
|
|
531
529
|
locString: o.locString.renderAsData
|
|
532
530
|
}, null, 8, ["is", "locString"]));
|
|
533
531
|
}
|
|
534
|
-
}),
|
|
532
|
+
}), gs = ["innerHTML"], Cs = /* @__PURE__ */ h({
|
|
535
533
|
__name: "StringViewer",
|
|
536
534
|
props: {
|
|
537
535
|
locString: {}
|
|
@@ -542,12 +540,12 @@ const os = /* @__PURE__ */ h({
|
|
|
542
540
|
key: 0,
|
|
543
541
|
class: a(k(s)),
|
|
544
542
|
innerHTML: k(e)
|
|
545
|
-
}, null, 10,
|
|
543
|
+
}, null, 10, gs)) : (r(), l("span", {
|
|
546
544
|
key: 1,
|
|
547
545
|
class: a(k(s))
|
|
548
546
|
}, H(k(e)), 3));
|
|
549
547
|
}
|
|
550
|
-
}),
|
|
548
|
+
}), ys = ["innerHTML"], hs = /* @__PURE__ */ h({
|
|
551
549
|
__name: "StringEditor",
|
|
552
550
|
props: {
|
|
553
551
|
locString: {}
|
|
@@ -566,7 +564,7 @@ const os = /* @__PURE__ */ h({
|
|
|
566
564
|
innerHTML: n.locString.renderedHtml,
|
|
567
565
|
onBlur: e,
|
|
568
566
|
onClick: s
|
|
569
|
-
}, null, 40,
|
|
567
|
+
}, null, 40, ys)) : (r(), l("span", {
|
|
570
568
|
key: 1,
|
|
571
569
|
class: "sv-string-editor",
|
|
572
570
|
contenteditable: "true",
|
|
@@ -574,7 +572,7 @@ const os = /* @__PURE__ */ h({
|
|
|
574
572
|
onClick: s
|
|
575
573
|
}, H(n.locString.renderedHtml), 33));
|
|
576
574
|
}
|
|
577
|
-
}),
|
|
575
|
+
}), qs = ["id"], ws = /* @__PURE__ */ h({
|
|
578
576
|
__name: "Skeleton",
|
|
579
577
|
props: {
|
|
580
578
|
element: {}
|
|
@@ -585,9 +583,9 @@ const os = /* @__PURE__ */ h({
|
|
|
585
583
|
class: "sv-skeleton-element",
|
|
586
584
|
id: e.element.id,
|
|
587
585
|
style: M({ height: e.element.skeletonHeight })
|
|
588
|
-
}, null, 12,
|
|
586
|
+
}, null, 12, qs));
|
|
589
587
|
}
|
|
590
|
-
}),
|
|
588
|
+
}), ks = ["id"], fs = ["value"], Ls = /* @__PURE__ */ h({
|
|
591
589
|
inheritAttrs: !1,
|
|
592
590
|
__name: "Text",
|
|
593
591
|
props: {
|
|
@@ -614,8 +612,8 @@ const os = /* @__PURE__ */ h({
|
|
|
614
612
|
(r(!0), l(I, null, S(s.question.dataList, (t, i) => (r(), l("option", {
|
|
615
613
|
key: i,
|
|
616
614
|
value: t
|
|
617
|
-
}, null, 8,
|
|
618
|
-
], 8,
|
|
615
|
+
}, null, 8, fs))), 128))
|
|
616
|
+
], 8, ks)
|
|
619
617
|
], 512)) : (r(), C(v, {
|
|
620
618
|
key: 2,
|
|
621
619
|
is: "survey-text-input",
|
|
@@ -625,7 +623,7 @@ const os = /* @__PURE__ */ h({
|
|
|
625
623
|
}
|
|
626
624
|
}, null, 8, ["question", "get-ref"]));
|
|
627
625
|
}
|
|
628
|
-
}),
|
|
626
|
+
}), bs = ["disabled", "readonly", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ms = ["disabled", "readonly", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Hs = /* @__PURE__ */ h({
|
|
629
627
|
__name: "TextInput",
|
|
630
628
|
props: {
|
|
631
629
|
question: {},
|
|
@@ -669,7 +667,7 @@ const os = /* @__PURE__ */ h({
|
|
|
669
667
|
"aria-describedby": i.question.a11y_input_ariaDescribedBy,
|
|
670
668
|
"aria-invalid": i.question.a11y_input_ariaInvalid,
|
|
671
669
|
"aria-errormessage": i.question.a11y_input_ariaErrormessage
|
|
672
|
-
}, null, 46,
|
|
670
|
+
}, null, 46, Ms),
|
|
673
671
|
y(v, {
|
|
674
672
|
is: "sv-character-counter",
|
|
675
673
|
counter: i.question.characterCounter,
|
|
@@ -705,12 +703,12 @@ const os = /* @__PURE__ */ h({
|
|
|
705
703
|
"aria-describedby": i.question.a11y_input_ariaDescribedBy,
|
|
706
704
|
"aria-invalid": i.question.a11y_input_ariaInvalid,
|
|
707
705
|
"aria-errormessage": i.question.a11y_input_ariaErrormessage
|
|
708
|
-
}, null, 46,
|
|
706
|
+
}, null, 46, bs));
|
|
709
707
|
}
|
|
710
|
-
}),
|
|
708
|
+
}), Is = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ss = {
|
|
711
709
|
key: 0,
|
|
712
710
|
class: "sv-hidden"
|
|
713
|
-
},
|
|
711
|
+
}, Vs = { key: 7 }, Bs = ["value"], we = /* @__PURE__ */ h({
|
|
714
712
|
inheritAttrs: !1,
|
|
715
713
|
__name: "SelectBase",
|
|
716
714
|
props: {
|
|
@@ -740,7 +738,7 @@ const os = /* @__PURE__ */ h({
|
|
|
740
738
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
741
739
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
742
740
|
}, [
|
|
743
|
-
t.showLegend ? (r(), l("legend",
|
|
741
|
+
t.showLegend ? (r(), l("legend", Ss, H(t.question.locTitle.renderedHtml), 1)) : c("", !0),
|
|
744
742
|
t.question.hasHeadItems ? (r(!0), l(I, { key: 1 }, S(t.question.headItems, (d) => (r(), C(v, D({
|
|
745
743
|
key: d.value,
|
|
746
744
|
is: s(d)
|
|
@@ -782,7 +780,7 @@ const os = /* @__PURE__ */ h({
|
|
|
782
780
|
is: "survey-other-choice",
|
|
783
781
|
question: t.question
|
|
784
782
|
}, null, 8, ["question"])) : c("", !0),
|
|
785
|
-
t.question.showClearButtonInContent ? (r(), l("div",
|
|
783
|
+
t.question.showClearButtonInContent ? (r(), l("div", Vs, [
|
|
786
784
|
m("input", {
|
|
787
785
|
type: "button",
|
|
788
786
|
class: a(t.question.cssClasses.clearButton),
|
|
@@ -790,24 +788,24 @@ const os = /* @__PURE__ */ h({
|
|
|
790
788
|
t.question.clearValue(!0);
|
|
791
789
|
}),
|
|
792
790
|
value: t.question.clearButtonCaption
|
|
793
|
-
}, null, 10,
|
|
791
|
+
}, null, 10, Bs)
|
|
794
792
|
])) : c("", !0)
|
|
795
|
-
], 10,
|
|
793
|
+
], 10, Is));
|
|
796
794
|
}
|
|
797
|
-
}),
|
|
795
|
+
}), Rs = /* @__PURE__ */ h({
|
|
798
796
|
inheritAttrs: !1,
|
|
799
797
|
__name: "Checkbox",
|
|
800
798
|
props: {
|
|
801
799
|
question: {}
|
|
802
800
|
},
|
|
803
801
|
setup(u) {
|
|
804
|
-
return (o, e) => (r(), C(
|
|
802
|
+
return (o, e) => (r(), C(we, {
|
|
805
803
|
question: o.question,
|
|
806
804
|
"show-legend": !0
|
|
807
805
|
}, null, 8, ["question"]));
|
|
808
806
|
}
|
|
809
807
|
});
|
|
810
|
-
function
|
|
808
|
+
function ke(u, o, e) {
|
|
811
809
|
$(() => {
|
|
812
810
|
e.value && (o().isDesignMode || u().setRootElement(e.value));
|
|
813
811
|
}), N(() => {
|
|
@@ -816,7 +814,7 @@ function fe(u, o, e) {
|
|
|
816
814
|
o().isDesignMode || (s && e.value && s.setRootElement(e.value), n && n.setRootElement(void 0));
|
|
817
815
|
});
|
|
818
816
|
}
|
|
819
|
-
const
|
|
817
|
+
const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"], Zs = ["xlink:href"], $s = /* @__PURE__ */ h({
|
|
820
818
|
inheritAttrs: !1,
|
|
821
819
|
__name: "CheckboxItem",
|
|
822
820
|
props: {
|
|
@@ -826,7 +824,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
826
824
|
},
|
|
827
825
|
setup(u) {
|
|
828
826
|
const o = b(), e = u;
|
|
829
|
-
|
|
827
|
+
ke(
|
|
830
828
|
() => e.item,
|
|
831
829
|
() => e.question,
|
|
832
830
|
o
|
|
@@ -856,7 +854,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
856
854
|
readonly: n.question.isReadOnlyAttr,
|
|
857
855
|
class: a(n.question.cssClasses.itemControl),
|
|
858
856
|
required: n.question.hasRequiredError()
|
|
859
|
-
}, null, 42,
|
|
857
|
+
}, null, 42, Ts),
|
|
860
858
|
n.question.cssClasses.materialDecorator ? (r(), l("span", {
|
|
861
859
|
key: 0,
|
|
862
860
|
class: a(n.question.cssClasses.materialDecorator)
|
|
@@ -867,7 +865,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
867
865
|
}, [
|
|
868
866
|
m("use", {
|
|
869
867
|
"xlink:href": n.question.itemSvgIcon
|
|
870
|
-
}, null, 8,
|
|
868
|
+
}, null, 8, Zs)
|
|
871
869
|
], 2)) : c("", !0)
|
|
872
870
|
], 2)) : c("", !0),
|
|
873
871
|
n.hideLabel ? c("", !0) : (r(), l("span", {
|
|
@@ -882,16 +880,16 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
882
880
|
], 2)
|
|
883
881
|
], 2));
|
|
884
882
|
}
|
|
885
|
-
}),
|
|
883
|
+
}), Ds = /* @__PURE__ */ h({
|
|
886
884
|
inheritAttrs: !1,
|
|
887
885
|
__name: "Radiogroup",
|
|
888
886
|
props: {
|
|
889
887
|
question: {}
|
|
890
888
|
},
|
|
891
889
|
setup(u) {
|
|
892
|
-
return (o, e) => (r(), C(
|
|
890
|
+
return (o, e) => (r(), C(we, { question: o.question }, null, 8, ["question"]));
|
|
893
891
|
}
|
|
894
|
-
}),
|
|
892
|
+
}), As = ["name", "value", "id", "aria-errormessage", "disabled", "readonly"], Ps = ["xlink:href"], Ns = /* @__PURE__ */ h({
|
|
895
893
|
inheritAttrs: !1,
|
|
896
894
|
__name: "RadiogroupItem",
|
|
897
895
|
props: {
|
|
@@ -907,7 +905,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
907
905
|
d.renderedValue = i;
|
|
908
906
|
}
|
|
909
907
|
});
|
|
910
|
-
return
|
|
908
|
+
return ke(
|
|
911
909
|
() => e.item,
|
|
912
910
|
() => e.question,
|
|
913
911
|
o
|
|
@@ -931,7 +929,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
931
929
|
disabled: !i.question.getItemEnabled(i.item),
|
|
932
930
|
readonly: i.question.isReadOnlyAttr,
|
|
933
931
|
class: a(i.question.cssClasses.itemControl)
|
|
934
|
-
}, null, 10,
|
|
932
|
+
}, null, 10, As), [
|
|
935
933
|
[Y, t.value]
|
|
936
934
|
]),
|
|
937
935
|
i.question.cssClasses.materialDecorator ? (r(), l("span", {
|
|
@@ -944,7 +942,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
944
942
|
}, [
|
|
945
943
|
m("use", {
|
|
946
944
|
"xlink:href": i.question.itemSvgIcon
|
|
947
|
-
}, null, 8,
|
|
945
|
+
}, null, 8, Ps)
|
|
948
946
|
], 2)) : c("", !0)
|
|
949
947
|
], 2)) : c("", !0),
|
|
950
948
|
i.hideLabel ? c("", !0) : (r(), l("span", {
|
|
@@ -959,7 +957,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
959
957
|
], 34)
|
|
960
958
|
], 2));
|
|
961
959
|
}
|
|
962
|
-
}),
|
|
960
|
+
}), Es = ["src"], Ws = ["title"], Fs = { key: 0 }, zs = /* @__PURE__ */ h({
|
|
963
961
|
inheritAttrs: !1,
|
|
964
962
|
__name: "Signaturepad",
|
|
965
963
|
props: {
|
|
@@ -993,7 +991,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
993
991
|
style: M({
|
|
994
992
|
width: s.question.renderedCanvasWidth
|
|
995
993
|
})
|
|
996
|
-
}, null, 14,
|
|
994
|
+
}, null, 14, Es)) : c("", !0),
|
|
997
995
|
m("canvas", {
|
|
998
996
|
tabindex: "-1",
|
|
999
997
|
class: a(s.question.cssClasses.canvas),
|
|
@@ -1012,14 +1010,14 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1012
1010
|
s.question.clearValue(!0);
|
|
1013
1011
|
})
|
|
1014
1012
|
}, [
|
|
1015
|
-
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span",
|
|
1013
|
+
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span", Fs, "\u2716")),
|
|
1016
1014
|
s.question.cssClasses.clearButtonIconId ? (r(), C(v, {
|
|
1017
1015
|
key: 1,
|
|
1018
1016
|
is: "sv-svg-icon",
|
|
1019
1017
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1020
1018
|
size: "auto"
|
|
1021
1019
|
}, null, 8, ["iconName"])) : c("", !0)
|
|
1022
|
-
], 10,
|
|
1020
|
+
], 10, Ws)
|
|
1023
1021
|
], 2)) : c("", !0),
|
|
1024
1022
|
s.question.showLoadingIndicator ? (r(), l("div", {
|
|
1025
1023
|
key: 1,
|
|
@@ -1029,7 +1027,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1029
1027
|
], 2)) : c("", !0)
|
|
1030
1028
|
], 6));
|
|
1031
1029
|
}
|
|
1032
|
-
}),
|
|
1030
|
+
}), Os = ["innerHTML"], Us = /* @__PURE__ */ h({
|
|
1033
1031
|
inheritAttrs: !1,
|
|
1034
1032
|
__name: "Html",
|
|
1035
1033
|
props: {
|
|
@@ -1044,9 +1042,9 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1044
1042
|
ref: e,
|
|
1045
1043
|
class: a(n.question.renderCssRoot),
|
|
1046
1044
|
innerHTML: k(s)
|
|
1047
|
-
}, null, 10,
|
|
1045
|
+
}, null, 10, Os));
|
|
1048
1046
|
}
|
|
1049
|
-
}),
|
|
1047
|
+
}), Ks = ["src", "alt", "width", "height"], js = ["src", "width", "height"], Qs = ["src", "width", "height"], Gs = /* @__PURE__ */ h({
|
|
1050
1048
|
inheritAttrs: !1,
|
|
1051
1049
|
__name: "Image",
|
|
1052
1050
|
props: {
|
|
@@ -1079,7 +1077,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1079
1077
|
onError: t[1] || (t[1] = (i) => {
|
|
1080
1078
|
n.question.onErrorHandler();
|
|
1081
1079
|
})
|
|
1082
|
-
}, null, 46,
|
|
1080
|
+
}, null, 46, Ks)), [
|
|
1083
1081
|
[P, k(s) && !n.question.contentNotLoaded]
|
|
1084
1082
|
]) : c("", !0),
|
|
1085
1083
|
n.question.renderedMode === "video" ? R((r(), l("video", {
|
|
@@ -1100,7 +1098,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1100
1098
|
onError: t[3] || (t[3] = (i) => {
|
|
1101
1099
|
n.question.onErrorHandler();
|
|
1102
1100
|
})
|
|
1103
|
-
}, null, 46,
|
|
1101
|
+
}, null, 46, js)), [
|
|
1104
1102
|
[P, k(s) && !n.question.contentNotLoaded]
|
|
1105
1103
|
]) : c("", !0),
|
|
1106
1104
|
n.question.renderedMode === "youtube" ? (r(), l("iframe", {
|
|
@@ -1114,7 +1112,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1114
1112
|
width: n.question.renderedStyleWidth,
|
|
1115
1113
|
height: n.question.renderedStyleHeight
|
|
1116
1114
|
})
|
|
1117
|
-
}, null, 14,
|
|
1115
|
+
}, null, 14, Qs)) : c("", !0),
|
|
1118
1116
|
!k(s) || n.question.contentNotLoaded ? (r(), l("div", {
|
|
1119
1117
|
key: 3,
|
|
1120
1118
|
class: a(n.question.cssClasses.noImage)
|
|
@@ -1127,7 +1125,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1127
1125
|
], 2)) : c("", !0)
|
|
1128
1126
|
], 2));
|
|
1129
1127
|
}
|
|
1130
|
-
}),
|
|
1128
|
+
}), Js = /* @__PURE__ */ h({
|
|
1131
1129
|
inheritAttrs: !1,
|
|
1132
1130
|
__name: "Expression",
|
|
1133
1131
|
props: {
|
|
@@ -1141,7 +1139,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1141
1139
|
ref: e
|
|
1142
1140
|
}, H(s.question.formatedValue), 3));
|
|
1143
1141
|
}
|
|
1144
|
-
}),
|
|
1142
|
+
}), Xs = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], Ys = ["id", "multiple", "placeholder"], xs = ["id", "multiple", "placeholder"], _s = /* @__PURE__ */ h({
|
|
1145
1143
|
inheritAttrs: !1,
|
|
1146
1144
|
__name: "File",
|
|
1147
1145
|
props: {
|
|
@@ -1168,7 +1166,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1168
1166
|
title: s.question.inputTitle,
|
|
1169
1167
|
accept: s.question.acceptedTypes,
|
|
1170
1168
|
capture: s.question.renderCapture
|
|
1171
|
-
}, null, 10,
|
|
1169
|
+
}, null, 10, Xs)) : c("", !0),
|
|
1172
1170
|
s.question.isReadOnlyAttr ? (r(), l("input", {
|
|
1173
1171
|
key: 1,
|
|
1174
1172
|
type: "file",
|
|
@@ -1178,7 +1176,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1178
1176
|
multiple: s.question.allowMultiple,
|
|
1179
1177
|
placeholder: s.question.title,
|
|
1180
1178
|
style: { color: "transparent" }
|
|
1181
|
-
}, null, 10,
|
|
1179
|
+
}, null, 10, Ys)) : c("", !0),
|
|
1182
1180
|
s.question.isDisabledAttr ? (r(), l("input", {
|
|
1183
1181
|
key: 2,
|
|
1184
1182
|
type: "file",
|
|
@@ -1188,7 +1186,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1188
1186
|
multiple: s.question.allowMultiple,
|
|
1189
1187
|
placeholder: s.question.title,
|
|
1190
1188
|
style: { color: "transparent" }
|
|
1191
|
-
}, null, 10,
|
|
1189
|
+
}, null, 10, xs)) : c("", !0),
|
|
1192
1190
|
m("div", {
|
|
1193
1191
|
class: a(s.question.cssClasses.dragArea),
|
|
1194
1192
|
onDrop: n[0] || (n[0] = (...t) => s.question.onDrop && s.question.onDrop(...t)),
|
|
@@ -1263,7 +1261,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1263
1261
|
], 34)
|
|
1264
1262
|
], 2));
|
|
1265
1263
|
}
|
|
1266
|
-
}),
|
|
1264
|
+
}), e1 = { class: "sv-hidden" }, pe = "survey-imagepicker-item", s1 = /* @__PURE__ */ h({
|
|
1267
1265
|
inheritAttrs: !1,
|
|
1268
1266
|
__name: "Imagepicker",
|
|
1269
1267
|
props: {
|
|
@@ -1272,8 +1270,8 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1272
1270
|
setup(u) {
|
|
1273
1271
|
const o = u, e = b(null);
|
|
1274
1272
|
T(o, e);
|
|
1275
|
-
const s = (t) => o.question.getItemValueWrapperComponentName(t) ||
|
|
1276
|
-
componentName:
|
|
1273
|
+
const s = (t) => o.question.getItemValueWrapperComponentName(t) || pe, n = (t) => ({
|
|
1274
|
+
componentName: pe,
|
|
1277
1275
|
componentData: {
|
|
1278
1276
|
question: o.question,
|
|
1279
1277
|
item: t,
|
|
@@ -1285,7 +1283,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1285
1283
|
ref_key: "root",
|
|
1286
1284
|
ref: e
|
|
1287
1285
|
}, [
|
|
1288
|
-
m("legend",
|
|
1286
|
+
m("legend", e1, H(t.question.locTitle.renderedHtml), 1),
|
|
1289
1287
|
t.question.hasColumns ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.visibleChoices, (d) => (r(), C(v, D({
|
|
1290
1288
|
key: d.value,
|
|
1291
1289
|
is: s(d)
|
|
@@ -1302,7 +1300,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1302
1300
|
], 2))), 128)) : c("", !0)
|
|
1303
1301
|
], 2));
|
|
1304
1302
|
}
|
|
1305
|
-
}),
|
|
1303
|
+
}), o1 = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], t1 = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], n1 = ["src", "width", "height", "alt"], r1 = ["src", "width", "height"], i1 = /* @__PURE__ */ h({
|
|
1306
1304
|
inheritAttrs: !1,
|
|
1307
1305
|
__name: "ImagepickerItem",
|
|
1308
1306
|
props: {
|
|
@@ -1341,7 +1339,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1341
1339
|
"aria-invalid": t.question.ariaInvalid,
|
|
1342
1340
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1343
1341
|
class: a(t.question.cssClasses.itemControl)
|
|
1344
|
-
}, null, 10,
|
|
1342
|
+
}, null, 10, o1)), [
|
|
1345
1343
|
[oe, s.value]
|
|
1346
1344
|
]) : R((r(), l("input", {
|
|
1347
1345
|
key: 1,
|
|
@@ -1357,7 +1355,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1357
1355
|
"aria-invalid": t.question.ariaInvalid,
|
|
1358
1356
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1359
1357
|
class: a(t.question.cssClasses.itemControl)
|
|
1360
|
-
}, null, 10,
|
|
1358
|
+
}, null, 10, t1)), [
|
|
1361
1359
|
[Y, s.value]
|
|
1362
1360
|
]),
|
|
1363
1361
|
m("div", {
|
|
@@ -1392,7 +1390,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1392
1390
|
onError: i[3] || (i[3] = (d) => {
|
|
1393
1391
|
t.item.onErrorHandler();
|
|
1394
1392
|
})
|
|
1395
|
-
}, null, 46,
|
|
1393
|
+
}, null, 46, n1)) : c("", !0),
|
|
1396
1394
|
k(n) && !t.item.contentNotLoaded && t.question.contentMode === "video" ? (r(), l("video", {
|
|
1397
1395
|
key: 2,
|
|
1398
1396
|
controls: "",
|
|
@@ -1407,7 +1405,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1407
1405
|
onError: i[5] || (i[5] = (d) => {
|
|
1408
1406
|
t.item.onErrorHandler();
|
|
1409
1407
|
})
|
|
1410
|
-
}, null, 46,
|
|
1408
|
+
}, null, 46, r1)) : c("", !0),
|
|
1411
1409
|
!k(n) || t.item.contentNotLoaded ? (r(), l("div", {
|
|
1412
1410
|
key: 3,
|
|
1413
1411
|
class: a(t.question.cssClasses.itemNoImage),
|
|
@@ -1438,7 +1436,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1438
1436
|
], 2)
|
|
1439
1437
|
], 2));
|
|
1440
1438
|
}
|
|
1441
|
-
}),
|
|
1439
|
+
}), a1 = /* @__PURE__ */ h({
|
|
1442
1440
|
inheritAttrs: !1,
|
|
1443
1441
|
__name: "Comment",
|
|
1444
1442
|
props: {
|
|
@@ -1472,7 +1470,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1472
1470
|
ref: e
|
|
1473
1471
|
}, H(s.question.value), 513));
|
|
1474
1472
|
}
|
|
1475
|
-
}),
|
|
1473
|
+
}), l1 = /* @__PURE__ */ h({
|
|
1476
1474
|
inheritAttrs: !1,
|
|
1477
1475
|
__name: "Dropdown",
|
|
1478
1476
|
props: {
|
|
@@ -1496,16 +1494,16 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1496
1494
|
}, null, 8, ["question"])) : c("", !0)
|
|
1497
1495
|
], 2));
|
|
1498
1496
|
}
|
|
1499
|
-
}),
|
|
1497
|
+
}), u1 = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], d1 = {
|
|
1500
1498
|
key: 0,
|
|
1501
1499
|
value: ""
|
|
1502
|
-
},
|
|
1500
|
+
}, v1 = ["id"];
|
|
1503
1501
|
_.Instance.registerRenderer(
|
|
1504
1502
|
"dropdown",
|
|
1505
1503
|
"select",
|
|
1506
1504
|
"sv-dropdown-select"
|
|
1507
1505
|
);
|
|
1508
|
-
const
|
|
1506
|
+
const c1 = /* @__PURE__ */ h({
|
|
1509
1507
|
inheritAttrs: !1,
|
|
1510
1508
|
__name: "DropdownSelect",
|
|
1511
1509
|
props: {
|
|
@@ -1541,7 +1539,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1541
1539
|
disabled: "",
|
|
1542
1540
|
id: i.question.inputId,
|
|
1543
1541
|
class: a(i.question.getControlClass())
|
|
1544
|
-
}, H(i.question.readOnlyText), 11,
|
|
1542
|
+
}, H(i.question.readOnlyText), 11, v1)) : R((r(), l("select", {
|
|
1545
1543
|
key: 0,
|
|
1546
1544
|
id: i.question.inputId,
|
|
1547
1545
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => t.value = g),
|
|
@@ -1555,14 +1553,14 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1555
1553
|
"aria-errormessage": i.question.ariaErrormessage,
|
|
1556
1554
|
required: i.question.isRequired
|
|
1557
1555
|
}, [
|
|
1558
|
-
i.question.allowClear ? (r(), l("option",
|
|
1556
|
+
i.question.allowClear ? (r(), l("option", d1, H(i.question.placeholder), 1)) : c("", !0),
|
|
1559
1557
|
(r(!0), l(I, null, S(i.question.visibleChoices, (g) => (r(), C(v, {
|
|
1560
1558
|
is: "sv-dropdown-option-item",
|
|
1561
1559
|
item: g,
|
|
1562
1560
|
key: g.id
|
|
1563
1561
|
}, null, 8, ["item"]))), 128))
|
|
1564
|
-
], 42,
|
|
1565
|
-
[
|
|
1562
|
+
], 42, u1)), [
|
|
1563
|
+
[Ze, t.value]
|
|
1566
1564
|
]),
|
|
1567
1565
|
i.question.cssClasses.chevronButtonIconId ? (r(), l("div", {
|
|
1568
1566
|
key: 2,
|
|
@@ -1583,7 +1581,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1583
1581
|
}, null, 8, ["question"])) : c("", !0)
|
|
1584
1582
|
], 2));
|
|
1585
1583
|
}
|
|
1586
|
-
}),
|
|
1584
|
+
}), p1 = ["value", "disabled"], m1 = /* @__PURE__ */ h({
|
|
1587
1585
|
__name: "OptionItem",
|
|
1588
1586
|
props: {
|
|
1589
1587
|
item: {}
|
|
@@ -1593,9 +1591,9 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1593
1591
|
return V(() => o.item), (s, n) => (r(), l("option", {
|
|
1594
1592
|
value: s.item.value,
|
|
1595
1593
|
disabled: !s.item.isEnabled
|
|
1596
|
-
}, H(k(e)), 9,
|
|
1594
|
+
}, H(k(e)), 9, p1));
|
|
1597
1595
|
}
|
|
1598
|
-
}),
|
|
1596
|
+
}), g1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], C1 = { style: { visibility: "hidden" } }, y1 = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], h1 = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], q1 = /* @__PURE__ */ h({
|
|
1599
1597
|
__name: "Dropdown",
|
|
1600
1598
|
props: {
|
|
1601
1599
|
question: {}
|
|
@@ -1616,7 +1614,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1616
1614
|
}, g = () => {
|
|
1617
1615
|
if (e.value) {
|
|
1618
1616
|
const w = e.value, A = s.value.inputStringRendered;
|
|
1619
|
-
|
|
1617
|
+
We.isTwoValueEquals(A, w.value, !1, !0, !1) || (w.value = s.value.inputStringRendered);
|
|
1620
1618
|
}
|
|
1621
1619
|
}, p = (w) => {
|
|
1622
1620
|
o.question.onBlur(w), g();
|
|
@@ -1667,7 +1665,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1667
1665
|
key: 1,
|
|
1668
1666
|
class: a(w.question.cssClasses.hintSuffix)
|
|
1669
1667
|
}, [
|
|
1670
|
-
m("span",
|
|
1668
|
+
m("span", C1, H(s.value.inputStringRendered), 1),
|
|
1671
1669
|
m("span", null, H(s.value.hintStringSuffix), 1)
|
|
1672
1670
|
], 2)) : c("", !0),
|
|
1673
1671
|
w.question.showInputFieldComponent ? (r(), C(v, {
|
|
@@ -1698,7 +1696,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1698
1696
|
onInput: B,
|
|
1699
1697
|
onBlur: p,
|
|
1700
1698
|
onFocus: q
|
|
1701
|
-
}, null, 42,
|
|
1699
|
+
}, null, 42, y1)
|
|
1702
1700
|
], 2),
|
|
1703
1701
|
w.question.allowClear && w.question.cssClasses.cleanButtonIconId ? R((r(), l("div", {
|
|
1704
1702
|
key: 1,
|
|
@@ -1716,7 +1714,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1716
1714
|
], 2)), [
|
|
1717
1715
|
[P, w.question.showClearButton]
|
|
1718
1716
|
]) : c("", !0)
|
|
1719
|
-
], 42,
|
|
1717
|
+
], 42, g1)),
|
|
1720
1718
|
w.question.isReadOnly ? (r(), l("div", {
|
|
1721
1719
|
key: 2,
|
|
1722
1720
|
id: w.question.inputId,
|
|
@@ -1732,7 +1730,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1732
1730
|
locString: w.question.selectedItemLocText
|
|
1733
1731
|
}, null, 8, ["locString"])) : c("", !0),
|
|
1734
1732
|
m("div", null, H(w.question.readOnlyText), 1)
|
|
1735
|
-
], 10,
|
|
1733
|
+
], 10, h1)) : (r(), C(v, {
|
|
1736
1734
|
key: 1,
|
|
1737
1735
|
is: "sv-popup",
|
|
1738
1736
|
model: w.question.dropdownListModel.popupModel
|
|
@@ -1752,7 +1750,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1752
1750
|
], 34)) : c("", !0)
|
|
1753
1751
|
], 2));
|
|
1754
1752
|
}
|
|
1755
|
-
}),
|
|
1753
|
+
}), w1 = /* @__PURE__ */ h({
|
|
1756
1754
|
inheritAttrs: !1,
|
|
1757
1755
|
__name: "Tagbox",
|
|
1758
1756
|
props: {
|
|
@@ -1776,7 +1774,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1776
1774
|
}, null, 8, ["question"])) : c("", !0)
|
|
1777
1775
|
], 2));
|
|
1778
1776
|
}
|
|
1779
|
-
}),
|
|
1777
|
+
}), k1 = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], f1 = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], L1 = /* @__PURE__ */ h({
|
|
1780
1778
|
__name: "Tagbox",
|
|
1781
1779
|
props: {
|
|
1782
1780
|
question: {}
|
|
@@ -1784,7 +1782,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1784
1782
|
setup(u) {
|
|
1785
1783
|
const o = u, e = L(() => {
|
|
1786
1784
|
const p = o.question;
|
|
1787
|
-
return p.dropdownListModel || (p.dropdownListModel = new
|
|
1785
|
+
return p.dropdownListModel || (p.dropdownListModel = new Fe(p)), o.question.dropdownListModel;
|
|
1788
1786
|
}), s = (p) => {
|
|
1789
1787
|
var q;
|
|
1790
1788
|
(q = e.value) == null || q.onClick(p);
|
|
@@ -1854,7 +1852,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1854
1852
|
], 2)), [
|
|
1855
1853
|
[P, p.question.showClearButton]
|
|
1856
1854
|
]) : c("", !0)
|
|
1857
|
-
], 42,
|
|
1855
|
+
], 42, k1)),
|
|
1858
1856
|
p.question.isReadOnly ? (r(), l("div", {
|
|
1859
1857
|
key: 2,
|
|
1860
1858
|
id: p.question.inputId,
|
|
@@ -1869,7 +1867,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1869
1867
|
is: "survey-string",
|
|
1870
1868
|
locString: p.question.locReadOnlyText
|
|
1871
1869
|
}, null, 8, ["locString"])) : c("", !0)
|
|
1872
|
-
], 10,
|
|
1870
|
+
], 10, f1)) : (r(), C(v, {
|
|
1873
1871
|
key: 1,
|
|
1874
1872
|
is: "sv-popup",
|
|
1875
1873
|
model: e.value.popupModel
|
|
@@ -1889,7 +1887,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1889
1887
|
], 34)) : c("", !0)
|
|
1890
1888
|
], 2));
|
|
1891
1889
|
}
|
|
1892
|
-
}),
|
|
1890
|
+
}), b1 = { style: { visibility: "hidden" } }, M1 = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "id", "readonly", "size"], H1 = /* @__PURE__ */ h({
|
|
1893
1891
|
__name: "TagboxFilter",
|
|
1894
1892
|
props: {
|
|
1895
1893
|
question: {},
|
|
@@ -1927,7 +1925,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1927
1925
|
key: 1,
|
|
1928
1926
|
class: a(i.question.cssClasses.hintSuffix)
|
|
1929
1927
|
}, [
|
|
1930
|
-
m("span",
|
|
1928
|
+
m("span", b1, H(i.model.inputStringRendered), 1),
|
|
1931
1929
|
m("span", null, H(i.model.hintStringSuffix), 1)
|
|
1932
1930
|
], 2)) : c("", !0),
|
|
1933
1931
|
R(m("input", {
|
|
@@ -1952,13 +1950,13 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1952
1950
|
onKeydown: s,
|
|
1953
1951
|
onBlur: n,
|
|
1954
1952
|
onFocus: t
|
|
1955
|
-
}, null, 42,
|
|
1956
|
-
[
|
|
1953
|
+
}, null, 42, M1), [
|
|
1954
|
+
[$e, i.model.inputStringRendered]
|
|
1957
1955
|
])
|
|
1958
1956
|
], 2)
|
|
1959
1957
|
], 2));
|
|
1960
1958
|
}
|
|
1961
|
-
}),
|
|
1959
|
+
}), I1 = { class: "sv-tagbox__item-text" }, S1 = /* @__PURE__ */ h({
|
|
1962
1960
|
__name: "TagboxItem",
|
|
1963
1961
|
props: {
|
|
1964
1962
|
question: {},
|
|
@@ -1972,7 +1970,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1972
1970
|
class: "sv-tagbox__item",
|
|
1973
1971
|
key: s.item.key
|
|
1974
1972
|
}, [
|
|
1975
|
-
m("div",
|
|
1973
|
+
m("div", I1, [
|
|
1976
1974
|
y(v, {
|
|
1977
1975
|
is: "survey-string",
|
|
1978
1976
|
locString: s.item.locText
|
|
@@ -1991,7 +1989,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1991
1989
|
], 2)
|
|
1992
1990
|
]));
|
|
1993
1991
|
}
|
|
1994
|
-
}),
|
|
1992
|
+
}), V1 = /* @__PURE__ */ h({
|
|
1995
1993
|
inheritAttrs: !1,
|
|
1996
1994
|
__name: "Ranking",
|
|
1997
1995
|
props: {
|
|
@@ -2063,10 +2061,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2063
2061
|
], 2)) : c("", !0)
|
|
2064
2062
|
], 2));
|
|
2065
2063
|
}
|
|
2066
|
-
}),
|
|
2064
|
+
}), B1 = ["tabindex", "data-sv-drop-target-ranking-item"], R1 = {
|
|
2067
2065
|
tabindex: "-1",
|
|
2068
2066
|
style: { outline: "none" }
|
|
2069
|
-
},
|
|
2067
|
+
}, T1 = ["xlink:href"], Z1 = ["xlink:href"], $1 = ["xlink:href"], D1 = /* @__PURE__ */ h({
|
|
2070
2068
|
inheritAttrs: !1,
|
|
2071
2069
|
__name: "RankingItem",
|
|
2072
2070
|
props: {
|
|
@@ -2101,7 +2099,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2101
2099
|
);
|
|
2102
2100
|
})
|
|
2103
2101
|
}, [
|
|
2104
|
-
m("div",
|
|
2102
|
+
m("div", R1, [
|
|
2105
2103
|
m("div", {
|
|
2106
2104
|
class: a(s.question.cssClasses.itemGhostNode)
|
|
2107
2105
|
}, null, 2),
|
|
@@ -2116,14 +2114,14 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2116
2114
|
}, [
|
|
2117
2115
|
m("use", {
|
|
2118
2116
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2119
|
-
}, null, 8,
|
|
2117
|
+
}, null, 8, T1)
|
|
2120
2118
|
], 2)),
|
|
2121
2119
|
(r(), l("svg", {
|
|
2122
2120
|
class: a(s.question.getIconFocusCss())
|
|
2123
2121
|
}, [
|
|
2124
2122
|
m("use", {
|
|
2125
2123
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2126
|
-
}, null, 8,
|
|
2124
|
+
}, null, 8, Z1)
|
|
2127
2125
|
], 2))
|
|
2128
2126
|
], 2),
|
|
2129
2127
|
!s.unrankedItem && e.value ? (r(), l("div", {
|
|
@@ -2136,7 +2134,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2136
2134
|
(r(), l("svg", null, [
|
|
2137
2135
|
m("use", {
|
|
2138
2136
|
"xlink:href": s.question.dashSvgIcon
|
|
2139
|
-
}, null, 8,
|
|
2137
|
+
}, null, 8, $1)
|
|
2140
2138
|
]))
|
|
2141
2139
|
], 2)),
|
|
2142
2140
|
y(v, {
|
|
@@ -2146,9 +2144,9 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2146
2144
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2147
2145
|
], 2)
|
|
2148
2146
|
])
|
|
2149
|
-
], 42,
|
|
2147
|
+
], 42, B1));
|
|
2150
2148
|
}
|
|
2151
|
-
}),
|
|
2149
|
+
}), A1 = /* @__PURE__ */ h({
|
|
2152
2150
|
inheritAttrs: !1,
|
|
2153
2151
|
__name: "RankingItemContent",
|
|
2154
2152
|
props: {
|
|
@@ -2165,10 +2163,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2165
2163
|
}, null, 8, ["locString"])
|
|
2166
2164
|
], 2));
|
|
2167
2165
|
}
|
|
2168
|
-
}),
|
|
2166
|
+
}), P1 = { role: "radiogroup" }, N1 = /* @__PURE__ */ m("legend", {
|
|
2169
2167
|
role: "presentation",
|
|
2170
2168
|
class: "sv-hidden"
|
|
2171
|
-
}, null, -1),
|
|
2169
|
+
}, null, -1), E1 = /* @__PURE__ */ h({
|
|
2172
2170
|
inheritAttrs: !1,
|
|
2173
2171
|
__name: "Rating",
|
|
2174
2172
|
props: {
|
|
@@ -2183,8 +2181,8 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2183
2181
|
ref_key: "root",
|
|
2184
2182
|
ref: e
|
|
2185
2183
|
}, [
|
|
2186
|
-
m("fieldset",
|
|
2187
|
-
|
|
2184
|
+
m("fieldset", P1, [
|
|
2185
|
+
N1,
|
|
2188
2186
|
n.question.hasMinLabel ? (r(), l("span", {
|
|
2189
2187
|
key: 0,
|
|
2190
2188
|
class: a(n.question.cssClasses.minText)
|
|
@@ -2213,7 +2211,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2213
2211
|
])
|
|
2214
2212
|
], 2));
|
|
2215
2213
|
}
|
|
2216
|
-
}),
|
|
2214
|
+
}), W1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], F1 = ["data-text"], z1 = /* @__PURE__ */ h({
|
|
2217
2215
|
__name: "RatingItem",
|
|
2218
2216
|
props: {
|
|
2219
2217
|
question: {},
|
|
@@ -2240,7 +2238,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2240
2238
|
"aria-label": e.question.ariaLabel,
|
|
2241
2239
|
"aria-invalid": e.question.ariaInvalid,
|
|
2242
2240
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2243
|
-
}, null, 8,
|
|
2241
|
+
}, null, 8, W1),
|
|
2244
2242
|
m("span", {
|
|
2245
2243
|
class: a(e.question.cssClasses.itemText),
|
|
2246
2244
|
"data-text": e.item.text
|
|
@@ -2249,10 +2247,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2249
2247
|
is: "survey-string",
|
|
2250
2248
|
locString: e.item.locText
|
|
2251
2249
|
}, null, 8, ["locString"])
|
|
2252
|
-
], 10,
|
|
2250
|
+
], 10, F1)
|
|
2253
2251
|
], 34));
|
|
2254
2252
|
}
|
|
2255
|
-
}),
|
|
2253
|
+
}), O1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], U1 = /* @__PURE__ */ h({
|
|
2256
2254
|
__name: "RatingItemSmiley",
|
|
2257
2255
|
props: {
|
|
2258
2256
|
question: {},
|
|
@@ -2282,7 +2280,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2282
2280
|
"aria-label": e.question.ariaLabel,
|
|
2283
2281
|
"aria-invalid": e.question.ariaInvalid,
|
|
2284
2282
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2285
|
-
}, null, 8,
|
|
2283
|
+
}, null, 8, O1),
|
|
2286
2284
|
y(v, {
|
|
2287
2285
|
is: "sv-svg-icon",
|
|
2288
2286
|
iconName: e.question.getItemSmileyIconName(e.item.itemValue),
|
|
@@ -2291,7 +2289,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2291
2289
|
}, null, 8, ["iconName", "title"])
|
|
2292
2290
|
], 38));
|
|
2293
2291
|
}
|
|
2294
|
-
}),
|
|
2292
|
+
}), K1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], j1 = /* @__PURE__ */ h({
|
|
2295
2293
|
__name: "RatingItemStar",
|
|
2296
2294
|
props: {
|
|
2297
2295
|
question: {},
|
|
@@ -2320,7 +2318,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2320
2318
|
"aria-label": e.question.ariaLabel,
|
|
2321
2319
|
"aria-invalid": e.question.ariaInvalid,
|
|
2322
2320
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2323
|
-
}, null, 8,
|
|
2321
|
+
}, null, 8, K1),
|
|
2324
2322
|
y(v, {
|
|
2325
2323
|
is: "sv-svg-icon",
|
|
2326
2324
|
class: a("sv-star"),
|
|
@@ -2337,10 +2335,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2337
2335
|
}, null, 8, ["iconName", "title"])
|
|
2338
2336
|
], 34));
|
|
2339
2337
|
}
|
|
2340
|
-
}),
|
|
2338
|
+
}), Q1 = { class: "sd-rating-dropdown-item" }, G1 = { class: "sd-rating-dropdown-item_text" }, J1 = {
|
|
2341
2339
|
key: 0,
|
|
2342
2340
|
class: "sd-rating-dropdown-item_description"
|
|
2343
|
-
},
|
|
2341
|
+
}, X1 = /* @__PURE__ */ h({
|
|
2344
2342
|
__name: "RatingDropdownItem",
|
|
2345
2343
|
props: {
|
|
2346
2344
|
item: {},
|
|
@@ -2348,9 +2346,9 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2348
2346
|
},
|
|
2349
2347
|
setup(u) {
|
|
2350
2348
|
const o = u;
|
|
2351
|
-
return V(() => o.item), (e, s) => (r(), l("div",
|
|
2352
|
-
m("span",
|
|
2353
|
-
e.item.description ? (r(), l("div",
|
|
2349
|
+
return V(() => o.item), (e, s) => (r(), l("div", Q1, [
|
|
2350
|
+
m("span", G1, H(e.item.title), 1),
|
|
2351
|
+
e.item.description ? (r(), l("div", J1, [
|
|
2354
2352
|
y(v, {
|
|
2355
2353
|
is: "survey-string",
|
|
2356
2354
|
locString: e.item.description
|
|
@@ -2364,7 +2362,7 @@ _.Instance.registerRenderer(
|
|
|
2364
2362
|
"dropdown",
|
|
2365
2363
|
"sv-rating-dropdown"
|
|
2366
2364
|
);
|
|
2367
|
-
const
|
|
2365
|
+
const Y1 = /* @__PURE__ */ h({
|
|
2368
2366
|
inheritAttrs: !1,
|
|
2369
2367
|
__name: "RatingDropdown",
|
|
2370
2368
|
props: {
|
|
@@ -2383,7 +2381,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2383
2381
|
}, null, 8, ["question"])
|
|
2384
2382
|
], 2));
|
|
2385
2383
|
}
|
|
2386
|
-
}),
|
|
2384
|
+
}), x1 = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], _1 = /* @__PURE__ */ h({
|
|
2387
2385
|
inheritAttrs: !1,
|
|
2388
2386
|
__name: "BooleanSwitch",
|
|
2389
2387
|
props: {
|
|
@@ -2425,7 +2423,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2425
2423
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
2426
2424
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2427
2425
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
2428
|
-
}, null, 42,
|
|
2426
|
+
}, null, 42, x1), [
|
|
2429
2427
|
[oe, t.question.booleanValue]
|
|
2430
2428
|
]),
|
|
2431
2429
|
m("div", {
|
|
@@ -2482,7 +2480,7 @@ _.Instance.registerRenderer(
|
|
|
2482
2480
|
"radio",
|
|
2483
2481
|
"sv-boolean-radio"
|
|
2484
2482
|
);
|
|
2485
|
-
const
|
|
2483
|
+
const eo = /* @__PURE__ */ h({
|
|
2486
2484
|
inheritAttrs: !1,
|
|
2487
2485
|
__name: "BooleanRadio",
|
|
2488
2486
|
props: {
|
|
@@ -2523,7 +2521,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2523
2521
|
], 2)
|
|
2524
2522
|
], 2));
|
|
2525
2523
|
}
|
|
2526
|
-
}),
|
|
2524
|
+
}), so = ["name", "value", "checked", "aria-errormessage", "disabled", "readonly"], oo = ["xlink:href"], to = /* @__PURE__ */ h({
|
|
2527
2525
|
__name: "BooleanRadioItem",
|
|
2528
2526
|
props: {
|
|
2529
2527
|
question: {},
|
|
@@ -2552,7 +2550,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2552
2550
|
readonly: s.question.isReadOnlyAttr,
|
|
2553
2551
|
class: a(s.question.cssClasses.itemRadioControl),
|
|
2554
2552
|
onChange: e
|
|
2555
|
-
}, null, 42,
|
|
2553
|
+
}, null, 42, so),
|
|
2556
2554
|
s.question.cssClasses.materialRadioDecorator ? (r(), l("span", {
|
|
2557
2555
|
key: 0,
|
|
2558
2556
|
class: a(s.question.cssClasses.materialRadioDecorator)
|
|
@@ -2563,7 +2561,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2563
2561
|
}, [
|
|
2564
2562
|
m("use", {
|
|
2565
2563
|
"xlink:href": s.question.itemSvgIcon
|
|
2566
|
-
}, null, 8,
|
|
2564
|
+
}, null, 8, oo)
|
|
2567
2565
|
], 2)) : c("", !0)
|
|
2568
2566
|
], 2)) : c("", !0),
|
|
2569
2567
|
m("span", {
|
|
@@ -2577,13 +2575,13 @@ const so = /* @__PURE__ */ h({
|
|
|
2577
2575
|
], 2)
|
|
2578
2576
|
], 2));
|
|
2579
2577
|
}
|
|
2580
|
-
}),
|
|
2578
|
+
}), no = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], ro = ["xlink:href"], io = /* @__PURE__ */ m("span", { class: "check" }, null, -1), ao = ["id"], lo = ["id"];
|
|
2581
2579
|
_.Instance.registerRenderer(
|
|
2582
2580
|
"boolean",
|
|
2583
2581
|
"checkbox",
|
|
2584
2582
|
"sv-boolean-checkbox"
|
|
2585
2583
|
);
|
|
2586
|
-
const
|
|
2584
|
+
const uo = /* @__PURE__ */ h({
|
|
2587
2585
|
inheritAttrs: !1,
|
|
2588
2586
|
__name: "BooleanCheckbox",
|
|
2589
2587
|
props: {
|
|
@@ -2619,7 +2617,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2619
2617
|
"aria-label": s.question.ariaLabel,
|
|
2620
2618
|
"aria-invalid": s.question.ariaInvalid,
|
|
2621
2619
|
"aria-errormessage": s.question.ariaErrormessage
|
|
2622
|
-
}, null, 42,
|
|
2620
|
+
}, null, 42, no), [
|
|
2623
2621
|
[oe, s.question.booleanValue]
|
|
2624
2622
|
]),
|
|
2625
2623
|
m("span", {
|
|
@@ -2631,9 +2629,9 @@ const vo = /* @__PURE__ */ h({
|
|
|
2631
2629
|
}, [
|
|
2632
2630
|
m("use", {
|
|
2633
2631
|
"xlink:href": s.question.svgIcon
|
|
2634
|
-
}, null, 8,
|
|
2632
|
+
}, null, 8, ro)
|
|
2635
2633
|
], 2)) : c("", !0),
|
|
2636
|
-
|
|
2634
|
+
io
|
|
2637
2635
|
], 2),
|
|
2638
2636
|
s.question.isLabelRendered ? (r(), l("span", {
|
|
2639
2637
|
key: 0,
|
|
@@ -2652,7 +2650,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2652
2650
|
element: s.question,
|
|
2653
2651
|
css: s.css
|
|
2654
2652
|
}, null, 8, ["element", "css"])) : c("", !0)
|
|
2655
|
-
], 10,
|
|
2653
|
+
], 10, ao)) : c("", !0)
|
|
2656
2654
|
], 2),
|
|
2657
2655
|
s.question.canRenderLabelDescription ? (r(), l("div", {
|
|
2658
2656
|
key: 0,
|
|
@@ -2663,12 +2661,12 @@ const vo = /* @__PURE__ */ h({
|
|
|
2663
2661
|
is: "survey-string",
|
|
2664
2662
|
locString: s.question.locDescription
|
|
2665
2663
|
}, null, 8, ["locString"])
|
|
2666
|
-
], 10,
|
|
2664
|
+
], 10, lo)) : c("", !0)
|
|
2667
2665
|
], 2)
|
|
2668
2666
|
], 2);
|
|
2669
2667
|
};
|
|
2670
2668
|
}
|
|
2671
|
-
}),
|
|
2669
|
+
}), vo = /* @__PURE__ */ h({
|
|
2672
2670
|
inheritAttrs: !1,
|
|
2673
2671
|
__name: "Multipletext",
|
|
2674
2672
|
props: {
|
|
@@ -2704,7 +2702,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2704
2702
|
])
|
|
2705
2703
|
], 2));
|
|
2706
2704
|
}
|
|
2707
|
-
}),
|
|
2705
|
+
}), co = { key: 1 }, po = /* @__PURE__ */ h({
|
|
2708
2706
|
__name: "MultipletextItem",
|
|
2709
2707
|
props: {
|
|
2710
2708
|
question: {},
|
|
@@ -2737,7 +2735,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2737
2735
|
is: "survey-string",
|
|
2738
2736
|
locString: s.value.locTitle
|
|
2739
2737
|
}, null, 8, ["locString"]),
|
|
2740
|
-
s.value.editor.isRequireTextAfterTitle ? (r(), l("span",
|
|
2738
|
+
s.value.editor.isRequireTextAfterTitle ? (r(), l("span", co, "\xA0")) : c("", !0),
|
|
2741
2739
|
s.value.editor.isRequireTextAfterTitle ? (r(), l("span", {
|
|
2742
2740
|
key: 2,
|
|
2743
2741
|
"aria-hidden": "true",
|
|
@@ -2756,7 +2754,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2756
2754
|
], 34))
|
|
2757
2755
|
], 2));
|
|
2758
2756
|
}
|
|
2759
|
-
}),
|
|
2757
|
+
}), mo = { class: "sv-hidden" }, go = { key: 0 }, Co = { key: 0 }, yo = ["onClick"], ho = ["data-responsive-title", "onClick"], qo = /* @__PURE__ */ h({
|
|
2760
2758
|
inheritAttrs: !1,
|
|
2761
2759
|
__name: "Matrix",
|
|
2762
2760
|
props: {
|
|
@@ -2786,13 +2784,13 @@ const vo = /* @__PURE__ */ h({
|
|
|
2786
2784
|
ref: e
|
|
2787
2785
|
}, [
|
|
2788
2786
|
m("fieldset", null, [
|
|
2789
|
-
m("legend",
|
|
2787
|
+
m("legend", mo, H(t.question.locTitle.renderedHtml), 1),
|
|
2790
2788
|
m("table", {
|
|
2791
2789
|
class: a(t.question.getTableCss())
|
|
2792
2790
|
}, [
|
|
2793
|
-
t.question.showHeader ? (r(), l("thead",
|
|
2791
|
+
t.question.showHeader ? (r(), l("thead", go, [
|
|
2794
2792
|
m("tr", null, [
|
|
2795
|
-
t.question.hasRows ? (r(), l("td",
|
|
2793
|
+
t.question.hasRows ? (r(), l("td", Co)) : c("", !0),
|
|
2796
2794
|
(r(!0), l(I, null, S(t.question.visibleColumns, (d, g) => (r(), l("th", {
|
|
2797
2795
|
key: g,
|
|
2798
2796
|
class: a(t.question.cssClasses.headerCell),
|
|
@@ -2852,7 +2850,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2852
2850
|
is: "survey-string",
|
|
2853
2851
|
locString: t.question.getCellDisplayLocText(d.name, p)
|
|
2854
2852
|
}, null, 8, ["locString"])
|
|
2855
|
-
], 10,
|
|
2853
|
+
], 10, yo))), 128)) : c("", !0),
|
|
2856
2854
|
t.question.hasCellText ? c("", !0) : (r(!0), l(I, { key: 1 }, S(t.question.visibleColumns, (p, q) => (r(), l("td", {
|
|
2857
2855
|
key: q,
|
|
2858
2856
|
"data-responsive-title": p.locText.renderedHtml,
|
|
@@ -2866,14 +2864,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2866
2864
|
column: p,
|
|
2867
2865
|
columnIndex: q
|
|
2868
2866
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
2869
|
-
], 10,
|
|
2867
|
+
], 10, ho))), 128))
|
|
2870
2868
|
], 2))), 128))
|
|
2871
2869
|
])
|
|
2872
2870
|
], 2)
|
|
2873
2871
|
])
|
|
2874
2872
|
], 2));
|
|
2875
2873
|
}
|
|
2876
|
-
}),
|
|
2874
|
+
}), wo = ["data-sv-drop-target-matrix-row"], ko = /* @__PURE__ */ h({
|
|
2877
2875
|
__name: "MatrixRow",
|
|
2878
2876
|
props: {
|
|
2879
2877
|
question: {},
|
|
@@ -2906,9 +2904,9 @@ const vo = /* @__PURE__ */ h({
|
|
|
2906
2904
|
question: n.question,
|
|
2907
2905
|
key: n.row.id + "_" + d
|
|
2908
2906
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2909
|
-
], 42,
|
|
2907
|
+
], 42, wo)) : c("", !0);
|
|
2910
2908
|
}
|
|
2911
|
-
}),
|
|
2909
|
+
}), fo = ["name", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Lo = ["xlink:href"], bo = /* @__PURE__ */ h({
|
|
2912
2910
|
inheritAttrs: !1,
|
|
2913
2911
|
__name: "MatrixCell",
|
|
2914
2912
|
props: {
|
|
@@ -2938,7 +2936,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2938
2936
|
),
|
|
2939
2937
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
2940
2938
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
2941
|
-
}, null, 10,
|
|
2939
|
+
}, null, 10, fo), [
|
|
2942
2940
|
[Y, o.row.value]
|
|
2943
2941
|
]),
|
|
2944
2942
|
m("span", {
|
|
@@ -2950,7 +2948,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2950
2948
|
}, [
|
|
2951
2949
|
m("use", {
|
|
2952
2950
|
"xlink:href": o.question.itemSvgIcon
|
|
2953
|
-
}, null, 8,
|
|
2951
|
+
}, null, 8, Lo)
|
|
2954
2952
|
], 2)) : c("", !0)
|
|
2955
2953
|
], 2),
|
|
2956
2954
|
o.question.isMobile ? (r(), l("span", {
|
|
@@ -2964,7 +2962,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2964
2962
|
], 2)) : c("", !0)
|
|
2965
2963
|
], 34));
|
|
2966
2964
|
}
|
|
2967
|
-
}),
|
|
2965
|
+
}), Mo = /* @__PURE__ */ h({
|
|
2968
2966
|
inheritAttrs: !1,
|
|
2969
2967
|
__name: "MatrixDropdown",
|
|
2970
2968
|
props: {
|
|
@@ -2979,7 +2977,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2979
2977
|
ref: e
|
|
2980
2978
|
}, null, 8, ["question"]));
|
|
2981
2979
|
}
|
|
2982
|
-
}),
|
|
2980
|
+
}), Ho = { key: 0 }, Io = { key: 1 }, So = /* @__PURE__ */ h({
|
|
2983
2981
|
__name: "MatrixTable",
|
|
2984
2982
|
props: {
|
|
2985
2983
|
question: {}
|
|
@@ -2993,7 +2991,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2993
2991
|
m("table", {
|
|
2994
2992
|
class: a(s.question.getTableCss())
|
|
2995
2993
|
}, [
|
|
2996
|
-
e.value.showHeader ? (r(), l("thead",
|
|
2994
|
+
e.value.showHeader ? (r(), l("thead", Ho, [
|
|
2997
2995
|
m("tr", null, [
|
|
2998
2996
|
(r(!0), l(I, null, S(e.value.headerRow.cells, (t) => (r(), l(I, null, [
|
|
2999
2997
|
t.hasTitle ? (r(), l("th", {
|
|
@@ -3036,7 +3034,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3036
3034
|
question: s.question
|
|
3037
3035
|
}, null, 8, ["row", "question"]))), 128))
|
|
3038
3036
|
]),
|
|
3039
|
-
e.value.showFooter ? (r(), l("tfoot",
|
|
3037
|
+
e.value.showFooter ? (r(), l("tfoot", Io, [
|
|
3040
3038
|
m("tr", null, [
|
|
3041
3039
|
(r(!0), l(I, null, S(e.value.footerRow.cells, (t, i) => (r(), C(v, {
|
|
3042
3040
|
is: "survey-matrixdropdown-cell",
|
|
@@ -3049,7 +3047,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3049
3047
|
], 2)
|
|
3050
3048
|
], 6));
|
|
3051
3049
|
}
|
|
3052
|
-
}),
|
|
3050
|
+
}), Vo = /* @__PURE__ */ m("span", null, "\xA0", -1), Bo = /* @__PURE__ */ h({
|
|
3053
3051
|
__name: "MatrixHeaderRequired",
|
|
3054
3052
|
props: {
|
|
3055
3053
|
question: {},
|
|
@@ -3058,14 +3056,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
3058
3056
|
setup(u) {
|
|
3059
3057
|
const o = u;
|
|
3060
3058
|
return V(() => o.column), (e, s) => e.column.isRenderedRequired ? (r(), l(I, { key: 0 }, [
|
|
3061
|
-
|
|
3059
|
+
Vo,
|
|
3062
3060
|
e.column.isRenderedRequired ? (r(), l("span", {
|
|
3063
3061
|
key: 0,
|
|
3064
3062
|
class: a(e.question.cssClasses.cellRequiredText)
|
|
3065
3063
|
}, H(e.column.requiredText), 3)) : c("", !0)
|
|
3066
3064
|
], 64)) : c("", !0);
|
|
3067
3065
|
}
|
|
3068
|
-
}),
|
|
3066
|
+
}), Ro = ["title", "colspan"], To = /* @__PURE__ */ h({
|
|
3069
3067
|
__name: "MatrixDropdownCellComp",
|
|
3070
3068
|
props: {
|
|
3071
3069
|
question: {},
|
|
@@ -3225,9 +3223,9 @@ const vo = /* @__PURE__ */ h({
|
|
|
3225
3223
|
]),
|
|
3226
3224
|
_: 1
|
|
3227
3225
|
}, 8, ["is", "componentData"])) : c("", !0)
|
|
3228
|
-
], 46,
|
|
3226
|
+
], 46, Ro)) : c("", !0);
|
|
3229
3227
|
}
|
|
3230
|
-
}),
|
|
3228
|
+
}), Zo = /* @__PURE__ */ h({
|
|
3231
3229
|
inheritAttrs: !1,
|
|
3232
3230
|
__name: "MatrixDynamic",
|
|
3233
3231
|
props: {
|
|
@@ -3320,7 +3318,7 @@ function ne(u, o = !0) {
|
|
|
3320
3318
|
row: o ? L(() => u.item.data.row) : void 0
|
|
3321
3319
|
};
|
|
3322
3320
|
}
|
|
3323
|
-
const
|
|
3321
|
+
const $o = ["disabled"], Do = /* @__PURE__ */ h({
|
|
3324
3322
|
__name: "RemoveButton",
|
|
3325
3323
|
props: {
|
|
3326
3324
|
item: {}
|
|
@@ -3340,9 +3338,9 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3340
3338
|
m("span", {
|
|
3341
3339
|
class: a(k(e).cssClasses.iconRemove)
|
|
3342
3340
|
}, null, 2)
|
|
3343
|
-
], 10,
|
|
3341
|
+
], 10, $o));
|
|
3344
3342
|
}
|
|
3345
|
-
}),
|
|
3343
|
+
}), Ao = ["xlink:href"], Po = /* @__PURE__ */ h({
|
|
3346
3344
|
__name: "DragDropIcon",
|
|
3347
3345
|
props: {
|
|
3348
3346
|
item: {}
|
|
@@ -3356,14 +3354,14 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3356
3354
|
}, [
|
|
3357
3355
|
m("use", {
|
|
3358
3356
|
"xlink:href": k(e).iconDragElement
|
|
3359
|
-
}, null, 8,
|
|
3357
|
+
}, null, 8, Ao)
|
|
3360
3358
|
], 2)) : (r(), l("span", {
|
|
3361
3359
|
key: 1,
|
|
3362
3360
|
class: a(k(e).cssClasses.iconDrag)
|
|
3363
3361
|
}, null, 2))
|
|
3364
3362
|
]));
|
|
3365
3363
|
}
|
|
3366
|
-
}),
|
|
3364
|
+
}), No = ["aria-expanded", "aria-controls"], Eo = /* @__PURE__ */ h({
|
|
3367
3365
|
__name: "DetailButton",
|
|
3368
3366
|
props: {
|
|
3369
3367
|
item: {}
|
|
@@ -3383,9 +3381,9 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3383
3381
|
iconName: k(e).getDetailPanelIconId(k(s)),
|
|
3384
3382
|
size: "auto"
|
|
3385
3383
|
}, null, 8, ["class", "iconName"])
|
|
3386
|
-
], 10,
|
|
3384
|
+
], 10, No));
|
|
3387
3385
|
}
|
|
3388
|
-
}),
|
|
3386
|
+
}), Wo = /* @__PURE__ */ h({
|
|
3389
3387
|
inheritAttrs: !1,
|
|
3390
3388
|
__name: "PanelDynamic",
|
|
3391
3389
|
props: {
|
|
@@ -3393,7 +3391,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3393
3391
|
css: {}
|
|
3394
3392
|
},
|
|
3395
3393
|
setup(u) {
|
|
3396
|
-
const o = u, e = b(null), s =
|
|
3394
|
+
const o = u, e = b(null), s = ye();
|
|
3397
3395
|
T(
|
|
3398
3396
|
o,
|
|
3399
3397
|
e,
|
|
@@ -3508,7 +3506,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3508
3506
|
}, null, 8, ["question"])) : c("", !0)
|
|
3509
3507
|
], 2));
|
|
3510
3508
|
}
|
|
3511
|
-
}),
|
|
3509
|
+
}), Fo = /* @__PURE__ */ h({
|
|
3512
3510
|
__name: "PanelDynamicProgress",
|
|
3513
3511
|
props: {
|
|
3514
3512
|
question: {}
|
|
@@ -3555,7 +3553,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3555
3553
|
], 2)
|
|
3556
3554
|
], 2));
|
|
3557
3555
|
}
|
|
3558
|
-
}),
|
|
3556
|
+
}), zo = /* @__PURE__ */ h({
|
|
3559
3557
|
__name: "PanelDynamicProgressV2",
|
|
3560
3558
|
props: {
|
|
3561
3559
|
question: {}
|
|
@@ -3595,7 +3593,7 @@ function Q(u) {
|
|
|
3595
3593
|
() => u.item && u.item.data.question || u.data.question
|
|
3596
3594
|
);
|
|
3597
3595
|
}
|
|
3598
|
-
const
|
|
3596
|
+
const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
3599
3597
|
__name: "PaneldynamicAddBtn",
|
|
3600
3598
|
props: {
|
|
3601
3599
|
item: {},
|
|
@@ -3620,9 +3618,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3620
3618
|
locString: k(e).locPanelAddText
|
|
3621
3619
|
}, null, 8, ["locString"])
|
|
3622
3620
|
], 2)
|
|
3623
|
-
], 10,
|
|
3621
|
+
], 10, Oo)) : c("", !0);
|
|
3624
3622
|
}
|
|
3625
|
-
}),
|
|
3623
|
+
}), Ko = ["title"], jo = /* @__PURE__ */ h({
|
|
3626
3624
|
__name: "PaneldynamicNextBtn",
|
|
3627
3625
|
props: {
|
|
3628
3626
|
item: {},
|
|
@@ -3642,9 +3640,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3642
3640
|
iconName: k(e).cssClasses.progressBtnIcon,
|
|
3643
3641
|
size: "auto"
|
|
3644
3642
|
}, null, 8, ["iconName"])
|
|
3645
|
-
], 10,
|
|
3643
|
+
], 10, Ko));
|
|
3646
3644
|
}
|
|
3647
|
-
}),
|
|
3645
|
+
}), Qo = ["title"], Go = /* @__PURE__ */ h({
|
|
3648
3646
|
__name: "PaneldynamicPrevBtn",
|
|
3649
3647
|
props: {
|
|
3650
3648
|
item: {},
|
|
@@ -3664,9 +3662,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3664
3662
|
iconName: k(e).cssClasses.progressBtnIcon,
|
|
3665
3663
|
size: "auto"
|
|
3666
3664
|
}, null, 8, ["iconName"])
|
|
3667
|
-
], 10,
|
|
3665
|
+
], 10, Qo));
|
|
3668
3666
|
}
|
|
3669
|
-
}),
|
|
3667
|
+
}), Jo = ["id"], Xo = /* @__PURE__ */ h({
|
|
3670
3668
|
__name: "PaneldynamicRemoveBtn",
|
|
3671
3669
|
props: {
|
|
3672
3670
|
item: {},
|
|
@@ -3695,9 +3693,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3695
3693
|
m("span", {
|
|
3696
3694
|
class: a(k(e).cssClasses.iconRemove)
|
|
3697
3695
|
}, null, 2)
|
|
3698
|
-
], 10,
|
|
3696
|
+
], 10, Jo));
|
|
3699
3697
|
}
|
|
3700
|
-
}),
|
|
3698
|
+
}), Yo = /* @__PURE__ */ h({
|
|
3701
3699
|
__name: "PaneldynamicProgressText",
|
|
3702
3700
|
props: {
|
|
3703
3701
|
item: {},
|
|
@@ -3709,7 +3707,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3709
3707
|
class: a(k(e).cssClasses.progressText)
|
|
3710
3708
|
}, H(k(e).progressText), 3));
|
|
3711
3709
|
}
|
|
3712
|
-
}),
|
|
3710
|
+
}), xo = ["id"], _o = /* @__PURE__ */ h({
|
|
3713
3711
|
__name: "Errors",
|
|
3714
3712
|
props: {
|
|
3715
3713
|
element: {},
|
|
@@ -3734,21 +3732,21 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3734
3732
|
error: n,
|
|
3735
3733
|
cssClasses: e.element.cssClasses
|
|
3736
3734
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3737
|
-
], 10,
|
|
3735
|
+
], 10, xo)) : c("", !0);
|
|
3738
3736
|
}
|
|
3739
|
-
}),
|
|
3737
|
+
}), et = { key: 0 }, st = /* @__PURE__ */ h({
|
|
3740
3738
|
__name: "QuestionComment",
|
|
3741
3739
|
props: {
|
|
3742
3740
|
question: {}
|
|
3743
3741
|
},
|
|
3744
3742
|
setup(u) {
|
|
3745
|
-
return (o, e) => o.question.isReadOnlyRenderDiv() ? (r(), l("div",
|
|
3743
|
+
return (o, e) => o.question.isReadOnlyRenderDiv() ? (r(), l("div", et, H(o.question.comment), 1)) : (r(), C(v, {
|
|
3746
3744
|
key: 1,
|
|
3747
3745
|
is: "sv-text-area",
|
|
3748
3746
|
model: o.question.commentTextAreaModel
|
|
3749
3747
|
}, null, 8, ["model"]));
|
|
3750
3748
|
}
|
|
3751
|
-
}),
|
|
3749
|
+
}), ot = /* @__PURE__ */ h({
|
|
3752
3750
|
__name: "TitleElement",
|
|
3753
3751
|
props: {
|
|
3754
3752
|
element: {},
|
|
@@ -3756,9 +3754,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3756
3754
|
},
|
|
3757
3755
|
setup(u) {
|
|
3758
3756
|
const o = (e) => {
|
|
3759
|
-
|
|
3757
|
+
he(e);
|
|
3760
3758
|
};
|
|
3761
|
-
return (e, s) => e.element.hasTitle ? (r(), C(
|
|
3759
|
+
return (e, s) => e.element.hasTitle ? (r(), C(ge(e.element.titleTagName), {
|
|
3762
3760
|
key: 0,
|
|
3763
3761
|
class: a(e.element.cssTitle),
|
|
3764
3762
|
"aria-label": e.element.titleAriaLabel,
|
|
@@ -3776,14 +3774,14 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3776
3774
|
is: "sv-svg-icon",
|
|
3777
3775
|
class: a(e.element.getCssTitleExpandableSvg()),
|
|
3778
3776
|
iconName: "icon-expand-16x16",
|
|
3779
|
-
size: "
|
|
3777
|
+
size: "'auto'"
|
|
3780
3778
|
}, null, 8, ["class"])) : c("", !0),
|
|
3781
3779
|
e.element.isExpanded && e.element.getCssTitleExpandableSvg() ? (r(), C(v, {
|
|
3782
3780
|
key: 1,
|
|
3783
3781
|
is: "sv-svg-icon",
|
|
3784
3782
|
class: a(e.element.getCssTitleExpandableSvg()),
|
|
3785
3783
|
iconName: "icon-collapse-16x16",
|
|
3786
|
-
size: "
|
|
3784
|
+
size: "'auto'"
|
|
3787
3785
|
}, null, 8, ["class"])) : c("", !0),
|
|
3788
3786
|
e.element.hasTitleActions ? c("", !0) : (r(), C(v, {
|
|
3789
3787
|
key: 2,
|
|
@@ -3801,7 +3799,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3801
3799
|
_: 1
|
|
3802
3800
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : c("", !0);
|
|
3803
3801
|
}
|
|
3804
|
-
}),
|
|
3802
|
+
}), tt = { key: 3 }, nt = { key: 5 }, rt = { key: 7 }, it = /* @__PURE__ */ h({
|
|
3805
3803
|
inheritAttrs: !1,
|
|
3806
3804
|
__name: "TitleContent",
|
|
3807
3805
|
props: {
|
|
@@ -3829,19 +3827,19 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3829
3827
|
class: a(e.element.cssTitleNumber),
|
|
3830
3828
|
"aria-hidden": !0
|
|
3831
3829
|
}, H(e.element.no), 3)) : c("", !0),
|
|
3832
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (r(), l("span",
|
|
3830
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (r(), l("span", tt, "\xA0")) : c("", !0),
|
|
3833
3831
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (r(), l("span", {
|
|
3834
3832
|
key: 4,
|
|
3835
3833
|
class: a(e.element.cssRequiredText),
|
|
3836
3834
|
"aria-hidden": !0
|
|
3837
3835
|
}, H(e.element.requiredText), 3)) : c("", !0),
|
|
3838
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (r(), l("span",
|
|
3836
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (r(), l("span", nt, "\xA0")) : c("", !0),
|
|
3839
3837
|
e.element.isTitleRenderedAsString ? c("", !0) : (r(), C(v, {
|
|
3840
3838
|
key: 6,
|
|
3841
3839
|
is: "survey-string",
|
|
3842
3840
|
locString: e.element.locTitle
|
|
3843
3841
|
}, null, 8, ["locString"])),
|
|
3844
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (r(), l("span",
|
|
3842
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (r(), l("span", rt, "\xA0")) : c("", !0),
|
|
3845
3843
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (r(), l("span", {
|
|
3846
3844
|
key: 8,
|
|
3847
3845
|
class: a(e.element.cssRequiredText),
|
|
@@ -3849,7 +3847,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3849
3847
|
}, H(e.element.requiredText), 3)) : c("", !0)
|
|
3850
3848
|
], 64));
|
|
3851
3849
|
}
|
|
3852
|
-
}),
|
|
3850
|
+
}), at = { class: "sv-title-actions" }, lt = { class: "sv-title-actions__title" }, ut = /* @__PURE__ */ h({
|
|
3853
3851
|
__name: "TitleActions",
|
|
3854
3852
|
props: {
|
|
3855
3853
|
element: {},
|
|
@@ -3857,8 +3855,8 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3857
3855
|
},
|
|
3858
3856
|
setup(u) {
|
|
3859
3857
|
const o = u, e = L(() => o.element.getTitleToolbar());
|
|
3860
|
-
return (s, n) => (r(), l("div",
|
|
3861
|
-
m("span",
|
|
3858
|
+
return (s, n) => (r(), l("div", at, [
|
|
3859
|
+
m("span", lt, [
|
|
3862
3860
|
s.element.isPage ? (r(), C(v, {
|
|
3863
3861
|
key: 0,
|
|
3864
3862
|
is: "survey-string",
|
|
@@ -3877,20 +3875,20 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3877
3875
|
}, null, 8, ["model"])
|
|
3878
3876
|
]));
|
|
3879
3877
|
}
|
|
3880
|
-
}),
|
|
3878
|
+
}), dt = (u, o) => {
|
|
3881
3879
|
const e = u.__vccOpts || u;
|
|
3882
3880
|
for (const [s, n] of o)
|
|
3883
3881
|
e[s] = n;
|
|
3884
3882
|
return e;
|
|
3885
|
-
},
|
|
3886
|
-
|
|
3883
|
+
}, vt = {}, ct = { class: "sv-brand-info" }, pt = /* @__PURE__ */ De('<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), mt = [
|
|
3884
|
+
pt
|
|
3887
3885
|
];
|
|
3888
|
-
function
|
|
3889
|
-
return r(), l("div",
|
|
3886
|
+
function gt(u, o) {
|
|
3887
|
+
return r(), l("div", ct, mt);
|
|
3890
3888
|
}
|
|
3891
|
-
const
|
|
3892
|
-
|
|
3893
|
-
],
|
|
3889
|
+
const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use", null, null, -1), ht = [
|
|
3890
|
+
yt
|
|
3891
|
+
], qt = /* @__PURE__ */ h({
|
|
3894
3892
|
__name: "SvgIcon",
|
|
3895
3893
|
props: {
|
|
3896
3894
|
size: {},
|
|
@@ -3901,7 +3899,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3901
3899
|
},
|
|
3902
3900
|
setup(u) {
|
|
3903
3901
|
const o = u, e = b(), s = () => {
|
|
3904
|
-
|
|
3902
|
+
ze(
|
|
3905
3903
|
o.size,
|
|
3906
3904
|
o.width,
|
|
3907
3905
|
o.height,
|
|
@@ -3919,9 +3917,9 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3919
3917
|
ref: e,
|
|
3920
3918
|
class: "sv-svg-icon",
|
|
3921
3919
|
role: "img"
|
|
3922
|
-
},
|
|
3920
|
+
}, ht, 512));
|
|
3923
3921
|
}
|
|
3924
|
-
}),
|
|
3922
|
+
}), wt = /* @__PURE__ */ h({
|
|
3925
3923
|
__name: "QuestionError",
|
|
3926
3924
|
props: {
|
|
3927
3925
|
errorKey: {},
|
|
@@ -3949,7 +3947,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3949
3947
|
], 2)
|
|
3950
3948
|
]));
|
|
3951
3949
|
}
|
|
3952
|
-
}),
|
|
3950
|
+
}), kt = /* @__PURE__ */ h({
|
|
3953
3951
|
__name: "ActionBar",
|
|
3954
3952
|
props: {
|
|
3955
3953
|
model: {},
|
|
@@ -3980,7 +3978,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3980
3978
|
}, null, 8, ["item"]))), 128))
|
|
3981
3979
|
], 2)) : c("", !0);
|
|
3982
3980
|
}
|
|
3983
|
-
}),
|
|
3981
|
+
}), ft = ["id"], Lt = { class: "sv-action__content" }, bt = /* @__PURE__ */ h({
|
|
3984
3982
|
__name: "Action",
|
|
3985
3983
|
props: {
|
|
3986
3984
|
item: {}
|
|
@@ -3993,7 +3991,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3993
3991
|
class: a(s.item.getActionRootCss()),
|
|
3994
3992
|
id: s.item.id
|
|
3995
3993
|
}, [
|
|
3996
|
-
m("div",
|
|
3994
|
+
m("div", Lt, [
|
|
3997
3995
|
s.item.needSeparator ? (r(), C(v, {
|
|
3998
3996
|
key: 0,
|
|
3999
3997
|
is: "sv-action-bar-separator"
|
|
@@ -4003,7 +4001,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4003
4001
|
item: s.item
|
|
4004
4002
|
}, null, 8, ["is", "item"])
|
|
4005
4003
|
])
|
|
4006
|
-
], 10,
|
|
4004
|
+
], 10, ft));
|
|
4007
4005
|
}
|
|
4008
4006
|
}), j = {
|
|
4009
4007
|
mounted: function(u, o) {
|
|
@@ -4012,16 +4010,16 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4012
4010
|
u.tabIndex = -1;
|
|
4013
4011
|
return;
|
|
4014
4012
|
}
|
|
4015
|
-
e.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(),
|
|
4016
|
-
|
|
4013
|
+
e.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), he(s, e), !1)), u.addEventListener("keydown", (s) => {
|
|
4014
|
+
Oe(s, e);
|
|
4017
4015
|
}), u.addEventListener("blur", (s) => {
|
|
4018
|
-
|
|
4016
|
+
Ue(s);
|
|
4019
4017
|
});
|
|
4020
4018
|
}
|
|
4021
|
-
},
|
|
4019
|
+
}, Mt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], Ht = {
|
|
4022
4020
|
inheritAttrs: !1
|
|
4023
|
-
},
|
|
4024
|
-
...
|
|
4021
|
+
}, It = /* @__PURE__ */ h({
|
|
4022
|
+
...Ht,
|
|
4025
4023
|
__name: "ActionBarItem",
|
|
4026
4024
|
props: {
|
|
4027
4025
|
item: {}
|
|
@@ -4061,14 +4059,14 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4061
4059
|
key: 1,
|
|
4062
4060
|
class: a(e.item.getActionBarItemTitleCss())
|
|
4063
4061
|
}, H(e.item.title), 3)) : c("", !0)
|
|
4064
|
-
], 42,
|
|
4062
|
+
], 42, Mt)), [
|
|
4065
4063
|
[k(j), { processEsc: !1, disableTabStop: e.item.disableTabStop }]
|
|
4066
4064
|
]);
|
|
4067
4065
|
}
|
|
4068
|
-
}),
|
|
4066
|
+
}), St = ["disabled", "title", "role"], Vt = {
|
|
4069
4067
|
inheritAttrs: !1
|
|
4070
|
-
},
|
|
4071
|
-
...
|
|
4068
|
+
}, Bt = /* @__PURE__ */ h({
|
|
4069
|
+
...Vt,
|
|
4072
4070
|
__name: "ActionBarItemDropdown",
|
|
4073
4071
|
props: {
|
|
4074
4072
|
item: {}
|
|
@@ -4079,7 +4077,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4079
4077
|
return V(
|
|
4080
4078
|
() => o.item,
|
|
4081
4079
|
(s) => {
|
|
4082
|
-
e = new
|
|
4080
|
+
e = new Ke(s);
|
|
4083
4081
|
},
|
|
4084
4082
|
() => {
|
|
4085
4083
|
e.dispose();
|
|
@@ -4110,7 +4108,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4110
4108
|
key: 1,
|
|
4111
4109
|
class: a(s.item.getActionBarItemTitleCss())
|
|
4112
4110
|
}, H(s.item.title), 3)) : c("", !0)
|
|
4113
|
-
], 42,
|
|
4111
|
+
], 42, St)), [
|
|
4114
4112
|
[k(j), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4115
4113
|
]),
|
|
4116
4114
|
y(v, {
|
|
@@ -4119,7 +4117,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4119
4117
|
}, null, 8, ["model"])
|
|
4120
4118
|
], 64));
|
|
4121
4119
|
}
|
|
4122
|
-
}),
|
|
4120
|
+
}), Rt = /* @__PURE__ */ h({
|
|
4123
4121
|
__name: "ActionBarSeparator",
|
|
4124
4122
|
props: {
|
|
4125
4123
|
item: {}
|
|
@@ -4130,7 +4128,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4130
4128
|
class: a(["sv-action-bar-separator", e.value])
|
|
4131
4129
|
}, null, 2));
|
|
4132
4130
|
}
|
|
4133
|
-
}),
|
|
4131
|
+
}), Tt = ["aria-label", "placeholder", "value"], Zt = ["aria-label"], $t = ["id"], Dt = /* @__PURE__ */ h({
|
|
4134
4132
|
__name: "List",
|
|
4135
4133
|
props: {
|
|
4136
4134
|
model: {}
|
|
@@ -4175,7 +4173,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4175
4173
|
value: d.model.filterString,
|
|
4176
4174
|
onChange: s,
|
|
4177
4175
|
onKeyup: n
|
|
4178
|
-
}, null, 42,
|
|
4176
|
+
}, null, 42, Tt),
|
|
4179
4177
|
d.model.showSearchClearButton && !!d.model.filterString ? (r(), l("button", {
|
|
4180
4178
|
key: 0,
|
|
4181
4179
|
onClick: g[0] || (g[0] = (p) => {
|
|
@@ -4196,7 +4194,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4196
4194
|
m("div", {
|
|
4197
4195
|
class: a(d.model.cssClasses.emptyText),
|
|
4198
4196
|
"aria-label": d.model.emptyMessage
|
|
4199
|
-
}, H(d.model.emptyMessage), 11,
|
|
4197
|
+
}, H(d.model.emptyMessage), 11, Zt)
|
|
4200
4198
|
], 2), [
|
|
4201
4199
|
[P, d.model.isEmpty]
|
|
4202
4200
|
]),
|
|
@@ -4219,12 +4217,12 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4219
4217
|
model: d.model,
|
|
4220
4218
|
key: p.id
|
|
4221
4219
|
}, null, 8, ["item", "model"]))), 128))
|
|
4222
|
-
], 42,
|
|
4220
|
+
], 42, $t)), [
|
|
4223
4221
|
[P, !d.model.isEmpty]
|
|
4224
4222
|
]) : c("", !0)
|
|
4225
4223
|
], 2));
|
|
4226
4224
|
}
|
|
4227
|
-
}),
|
|
4225
|
+
}), At = ["aria-selected", "id", "tabindex"], Pt = ["title"], Nt = /* @__PURE__ */ h({
|
|
4228
4226
|
__name: "ListItem",
|
|
4229
4227
|
props: {
|
|
4230
4228
|
model: {},
|
|
@@ -4268,13 +4266,13 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4268
4266
|
item: t.item,
|
|
4269
4267
|
model: t.model
|
|
4270
4268
|
}, null, 8, ["is", "item", "model"])
|
|
4271
|
-
], 46,
|
|
4272
|
-
], 42,
|
|
4269
|
+
], 46, Pt)
|
|
4270
|
+
], 42, At)), [
|
|
4273
4271
|
[P, t.model.isItemVisible(t.item)],
|
|
4274
4272
|
[k(j), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4275
4273
|
]);
|
|
4276
4274
|
}
|
|
4277
|
-
}),
|
|
4275
|
+
}), Et = /* @__PURE__ */ h({
|
|
4278
4276
|
__name: "ListItemContent",
|
|
4279
4277
|
props: {
|
|
4280
4278
|
model: {},
|
|
@@ -4303,7 +4301,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4303
4301
|
}, null, 8, ["class", "iconName", "size"])) : c("", !0)
|
|
4304
4302
|
], 64));
|
|
4305
4303
|
}
|
|
4306
|
-
}),
|
|
4304
|
+
}), Wt = /* @__PURE__ */ h({
|
|
4307
4305
|
__name: "ListItemGroup",
|
|
4308
4306
|
props: {
|
|
4309
4307
|
model: {},
|
|
@@ -4323,7 +4321,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4323
4321
|
}, null, 8, ["model"])
|
|
4324
4322
|
], 64));
|
|
4325
4323
|
}
|
|
4326
|
-
}),
|
|
4324
|
+
}), Ft = /* @__PURE__ */ h({
|
|
4327
4325
|
__name: "Popup",
|
|
4328
4326
|
props: {
|
|
4329
4327
|
model: {}
|
|
@@ -4336,7 +4334,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4336
4334
|
return F(
|
|
4337
4335
|
() => o.model,
|
|
4338
4336
|
(t) => {
|
|
4339
|
-
e.value && e.value.dispose(), e.value =
|
|
4337
|
+
e.value && e.value.dispose(), e.value = je(t), n();
|
|
4340
4338
|
},
|
|
4341
4339
|
{ immediate: !0 }
|
|
4342
4340
|
), V(() => e.value), $(() => {
|
|
@@ -4353,13 +4351,13 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4353
4351
|
}, null, 8, ["model"])
|
|
4354
4352
|
], 512));
|
|
4355
4353
|
}
|
|
4356
|
-
}),
|
|
4354
|
+
}), zt = { class: "sv-popup__body-content" }, Ot = {
|
|
4357
4355
|
key: 0,
|
|
4358
4356
|
class: "sv-popup__body-header"
|
|
4359
|
-
},
|
|
4357
|
+
}, Ut = { class: "sv-popup__scrolling-content" }, Kt = { class: "sv-popup__content" }, jt = {
|
|
4360
4358
|
key: 1,
|
|
4361
4359
|
class: "sv-popup__body-footer"
|
|
4362
|
-
},
|
|
4360
|
+
}, Qt = /* @__PURE__ */ h({
|
|
4363
4361
|
__name: "PopupContainer",
|
|
4364
4362
|
props: {
|
|
4365
4363
|
model: {}
|
|
@@ -4399,16 +4397,16 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4399
4397
|
is: s.model.popupHeaderTemplate,
|
|
4400
4398
|
model: s.model
|
|
4401
4399
|
}, null, 8, ["is", "model"])) : c("", !0),
|
|
4402
|
-
m("div",
|
|
4403
|
-
s.model.title ? (r(), l("div",
|
|
4404
|
-
m("div",
|
|
4405
|
-
m("div",
|
|
4400
|
+
m("div", zt, [
|
|
4401
|
+
s.model.title ? (r(), l("div", Ot, H(s.model.title), 1)) : c("", !0),
|
|
4402
|
+
m("div", Ut, [
|
|
4403
|
+
m("div", Kt, [
|
|
4406
4404
|
y(v, D({
|
|
4407
4405
|
is: s.model.contentComponentName
|
|
4408
4406
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4409
4407
|
])
|
|
4410
4408
|
]),
|
|
4411
|
-
s.model.showFooter ? (r(), l("div",
|
|
4409
|
+
s.model.showFooter ? (r(), l("div", jt, [
|
|
4412
4410
|
y(v, {
|
|
4413
4411
|
is: "sv-action-bar",
|
|
4414
4412
|
model: s.model.footerToolbar
|
|
@@ -4420,7 +4418,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4420
4418
|
[P, s.model.isVisible]
|
|
4421
4419
|
]);
|
|
4422
4420
|
}
|
|
4423
|
-
}),
|
|
4421
|
+
}), Gt = /* @__PURE__ */ h({
|
|
4424
4422
|
__name: "PopupPointer",
|
|
4425
4423
|
props: {
|
|
4426
4424
|
model: {}
|
|
@@ -4434,7 +4432,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4434
4432
|
})
|
|
4435
4433
|
}, null, 4));
|
|
4436
4434
|
}
|
|
4437
|
-
}),
|
|
4435
|
+
}), Jt = /* @__PURE__ */ h({
|
|
4438
4436
|
__name: "Container",
|
|
4439
4437
|
props: {
|
|
4440
4438
|
survey: {},
|
|
@@ -4495,7 +4493,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4495
4493
|
}, H(t.survey.progressText), 3)
|
|
4496
4494
|
], 2));
|
|
4497
4495
|
}
|
|
4498
|
-
}),
|
|
4496
|
+
}), Xt = ["title"], Yt = ["onClick", "data-page-number"], xt = ["title"], _t = ["title"], en = ["title"], sn = /* @__PURE__ */ h({
|
|
4499
4497
|
__name: "ProgressButtons",
|
|
4500
4498
|
props: {
|
|
4501
4499
|
survey: {},
|
|
@@ -4511,7 +4509,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4511
4509
|
};
|
|
4512
4510
|
return $(() => {
|
|
4513
4511
|
const q = i.value;
|
|
4514
|
-
g = new
|
|
4512
|
+
g = new Qe(o.model, q, {
|
|
4515
4513
|
onResize: (B) => {
|
|
4516
4514
|
t.value = B, s.value = !B;
|
|
4517
4515
|
},
|
|
@@ -4540,7 +4538,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4540
4538
|
m("div", {
|
|
4541
4539
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4542
4540
|
title: q.model.headerText
|
|
4543
|
-
}, H(q.model.headerText), 11,
|
|
4541
|
+
}, H(q.model.headerText), 11, Xt)
|
|
4544
4542
|
], 2)) : c("", !0),
|
|
4545
4543
|
m("div", {
|
|
4546
4544
|
class: a(d.value.progressButtonsContainer)
|
|
@@ -4576,12 +4574,12 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4576
4574
|
is: "survey-string",
|
|
4577
4575
|
locString: f.locNavigationTitle
|
|
4578
4576
|
}, null, 8, ["locString"])
|
|
4579
|
-
], 10,
|
|
4577
|
+
], 10, xt)) : c("", !0),
|
|
4580
4578
|
t.value ? (r(), l("div", {
|
|
4581
4579
|
key: 1,
|
|
4582
4580
|
class: a(d.value.progressButtonsPageDescription),
|
|
4583
4581
|
title: f.locNavigationDescription.renderedHtml
|
|
4584
|
-
}, H(f.locNavigationDescription.renderedHtml), 11,
|
|
4582
|
+
}, H(f.locNavigationDescription.renderedHtml), 11, _t)) : c("", !0),
|
|
4585
4583
|
m("div", {
|
|
4586
4584
|
class: a(d.value.progressButtonsButton)
|
|
4587
4585
|
}, [
|
|
@@ -4593,7 +4591,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4593
4591
|
}, null, 2),
|
|
4594
4592
|
m("span", null, H(q.model.getItemNumber(f)), 1)
|
|
4595
4593
|
], 2)
|
|
4596
|
-
], 10,
|
|
4594
|
+
], 10, Yt))), 128))
|
|
4597
4595
|
], 2)
|
|
4598
4596
|
], 2),
|
|
4599
4597
|
m("div", {
|
|
@@ -4609,11 +4607,11 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4609
4607
|
m("div", {
|
|
4610
4608
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4611
4609
|
title: q.model.footerText
|
|
4612
|
-
}, H(q.model.footerText), 11,
|
|
4610
|
+
}, H(q.model.footerText), 11, en)
|
|
4613
4611
|
], 2)) : c("", !0)
|
|
4614
4612
|
], 6));
|
|
4615
4613
|
}
|
|
4616
|
-
}),
|
|
4614
|
+
}), on = /* @__PURE__ */ h({
|
|
4617
4615
|
__name: "ProgressToc",
|
|
4618
4616
|
props: {
|
|
4619
4617
|
survey: {},
|
|
@@ -4646,16 +4644,16 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4646
4644
|
], 2));
|
|
4647
4645
|
}
|
|
4648
4646
|
});
|
|
4649
|
-
var
|
|
4647
|
+
var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
|
4650
4648
|
/*!
|
|
4651
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4649
|
+
* surveyjs - Survey JavaScript library v1.12.12
|
|
4652
4650
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4653
4651
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4654
4652
|
*/
|
|
4655
4653
|
(function(u, o) {
|
|
4656
4654
|
(function(s, n) {
|
|
4657
4655
|
u.exports = n();
|
|
4658
|
-
})(
|
|
4656
|
+
})(fe, function() {
|
|
4659
4657
|
return function(e) {
|
|
4660
4658
|
var s = {};
|
|
4661
4659
|
function n(t) {
|
|
@@ -4959,16 +4957,16 @@ var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4959
4957
|
});
|
|
4960
4958
|
});
|
|
4961
4959
|
})(re);
|
|
4962
|
-
var
|
|
4960
|
+
var Le = { exports: {} };
|
|
4963
4961
|
/*!
|
|
4964
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4962
|
+
* surveyjs - Survey JavaScript library v1.12.12
|
|
4965
4963
|
* Copyright (c) 2015-2024 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4966
4964
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4967
4965
|
*/
|
|
4968
4966
|
(function(u, o) {
|
|
4969
4967
|
(function(s, n) {
|
|
4970
4968
|
u.exports = n();
|
|
4971
|
-
})(
|
|
4969
|
+
})(fe, function() {
|
|
4972
4970
|
return function(e) {
|
|
4973
4971
|
var s = {};
|
|
4974
4972
|
function n(t) {
|
|
@@ -5271,13 +5269,13 @@ var be = { exports: {} };
|
|
|
5271
5269
|
}
|
|
5272
5270
|
});
|
|
5273
5271
|
});
|
|
5274
|
-
})(
|
|
5275
|
-
const
|
|
5272
|
+
})(Le);
|
|
5273
|
+
const tn = ["lang", "dir"], nn = { onsubmit: "return false;" }, rn = {
|
|
5276
5274
|
key: 0,
|
|
5277
5275
|
class: "sv_custom_header"
|
|
5278
|
-
},
|
|
5279
|
-
|
|
5280
|
-
|
|
5276
|
+
}, an = { class: "sv-components-column sv-components-column--expandable" }, ln = ["id"], un = { key: 2 }, dn = ["innerHTML"], vn = ["innerHTML"], cn = ["innerHTML"];
|
|
5277
|
+
qe("v1", re.exports.icons);
|
|
5278
|
+
qe("v2", Le.exports.icons);
|
|
5281
5279
|
X.registerIcons(re.exports.icons);
|
|
5282
5280
|
const ie = /* @__PURE__ */ h({
|
|
5283
5281
|
__name: "Survey",
|
|
@@ -5288,7 +5286,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5288
5286
|
setup(u) {
|
|
5289
5287
|
const o = u, e = b(), s = b(""), n = b(1), t = L(() => {
|
|
5290
5288
|
const Z = o.survey ? o.survey : o.model;
|
|
5291
|
-
return
|
|
5289
|
+
return Ae(Z);
|
|
5292
5290
|
}), i = L(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
5293
5291
|
const Z = i.value;
|
|
5294
5292
|
return !!t.value && Z + n.value.toString();
|
|
@@ -5299,7 +5297,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5299
5297
|
var w = e.value;
|
|
5300
5298
|
w && Z.afterRenderSurvey(w), Z.renderCallback = () => {
|
|
5301
5299
|
var A, le;
|
|
5302
|
-
n.value++, (le = (A =
|
|
5300
|
+
n.value++, (le = (A = ye()) == null ? void 0 : A.proxy) == null || le.$forceUpdate();
|
|
5303
5301
|
}, Z.startTimerFromUI();
|
|
5304
5302
|
}
|
|
5305
5303
|
};
|
|
@@ -5336,8 +5334,8 @@ const ie = /* @__PURE__ */ h({
|
|
|
5336
5334
|
class: a(p.value.rootBackgroundImage),
|
|
5337
5335
|
style: M(t.value.backgroundImageStyle)
|
|
5338
5336
|
}, null, 6)) : c("", !0),
|
|
5339
|
-
m("form",
|
|
5340
|
-
t.value.hasLogo ? c("", !0) : (r(), l("div",
|
|
5337
|
+
m("form", nn, [
|
|
5338
|
+
t.value.hasLogo ? c("", !0) : (r(), l("div", rn)),
|
|
5341
5339
|
m("div", {
|
|
5342
5340
|
class: a(p.value.container)
|
|
5343
5341
|
}, [
|
|
@@ -5362,7 +5360,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5362
5360
|
container: "left",
|
|
5363
5361
|
needRenderWrapper: !0
|
|
5364
5362
|
}, null, 8, ["survey"]),
|
|
5365
|
-
m("div",
|
|
5363
|
+
m("div", an, [
|
|
5366
5364
|
y(v, {
|
|
5367
5365
|
is: "sv-components-container",
|
|
5368
5366
|
survey: t.value,
|
|
@@ -5397,7 +5395,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5397
5395
|
key: 0,
|
|
5398
5396
|
is: "sv-brand-info"
|
|
5399
5397
|
})) : c("", !0)
|
|
5400
|
-
], 14,
|
|
5398
|
+
], 14, ln)
|
|
5401
5399
|
]),
|
|
5402
5400
|
y(v, {
|
|
5403
5401
|
is: "sv-components-container",
|
|
@@ -5412,11 +5410,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
5412
5410
|
container: "footer",
|
|
5413
5411
|
needRenderWrapper: !1
|
|
5414
5412
|
}, null, 8, ["survey"]),
|
|
5415
|
-
g.value ? (r(), l("div",
|
|
5413
|
+
g.value ? (r(), l("div", un, [
|
|
5416
5414
|
m("div", {
|
|
5417
5415
|
innerHTML: B(),
|
|
5418
5416
|
class: a(t.value.completedCss)
|
|
5419
|
-
}, null, 10,
|
|
5417
|
+
}, null, 10, dn),
|
|
5420
5418
|
y(v, {
|
|
5421
5419
|
is: "sv-components-container",
|
|
5422
5420
|
survey: t.value,
|
|
@@ -5428,12 +5426,12 @@ const ie = /* @__PURE__ */ h({
|
|
|
5428
5426
|
key: 3,
|
|
5429
5427
|
class: a(t.value.completedBeforeCss),
|
|
5430
5428
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5431
|
-
}, null, 10,
|
|
5429
|
+
}, null, 10, vn)) : c("", !0),
|
|
5432
5430
|
t.value.state === "loading" ? (r(), l("div", {
|
|
5433
5431
|
key: 4,
|
|
5434
5432
|
class: a(t.value.loadingBodyCss),
|
|
5435
5433
|
innerHTML: t.value.processedLoadingHtml
|
|
5436
|
-
}, null, 10,
|
|
5434
|
+
}, null, 10, cn)) : c("", !0),
|
|
5437
5435
|
t.value.state === "empty" ? (r(), l("div", {
|
|
5438
5436
|
key: 5,
|
|
5439
5437
|
class: a(p.value.bodyEmpty)
|
|
@@ -5445,9 +5443,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5445
5443
|
model: t.value.notifier
|
|
5446
5444
|
}, null, 8, ["model"])
|
|
5447
5445
|
], 2)
|
|
5448
|
-
], 14,
|
|
5446
|
+
], 14, tn));
|
|
5449
5447
|
}
|
|
5450
|
-
}),
|
|
5448
|
+
}), pn = /* @__PURE__ */ h({
|
|
5451
5449
|
__name: "Notifier",
|
|
5452
5450
|
props: {
|
|
5453
5451
|
model: {}
|
|
@@ -5468,7 +5466,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5468
5466
|
}, null, 8, ["model"])
|
|
5469
5467
|
], 6)) : c("", !0);
|
|
5470
5468
|
}
|
|
5471
|
-
}),
|
|
5469
|
+
}), mn = { key: 0 }, gn = /* @__PURE__ */ h({
|
|
5472
5470
|
__name: "QuestionOther",
|
|
5473
5471
|
props: {
|
|
5474
5472
|
question: {}
|
|
@@ -5477,14 +5475,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
5477
5475
|
return (o, e) => (r(), l("div", {
|
|
5478
5476
|
class: a(o.question.getCommentAreaCss(!0))
|
|
5479
5477
|
}, [
|
|
5480
|
-
o.question.isReadOnlyRenderDiv() ? (r(), l("div",
|
|
5478
|
+
o.question.isReadOnlyRenderDiv() ? (r(), l("div", mn, H(o.question.otherValue), 1)) : (r(), C(v, {
|
|
5481
5479
|
key: 1,
|
|
5482
5480
|
is: "sv-text-area",
|
|
5483
5481
|
model: o.question.otherTextAreaModel
|
|
5484
5482
|
}, null, 8, ["model"]))
|
|
5485
5483
|
], 2));
|
|
5486
5484
|
}
|
|
5487
|
-
}),
|
|
5485
|
+
}), Cn = ["disabled", "value", "title"], yn = /* @__PURE__ */ h({
|
|
5488
5486
|
__name: "SurveyNavigationButton",
|
|
5489
5487
|
props: {
|
|
5490
5488
|
item: {}
|
|
@@ -5500,9 +5498,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5500
5498
|
title: s.item.getTooltip(),
|
|
5501
5499
|
onMousedown: e,
|
|
5502
5500
|
onClick: n[0] || (n[0] = (...t) => s.item.action && s.item.action(...t))
|
|
5503
|
-
}, null, 42,
|
|
5501
|
+
}, null, 42, Cn)) : c("", !0);
|
|
5504
5502
|
}
|
|
5505
|
-
}),
|
|
5503
|
+
}), be = /* @__PURE__ */ h({
|
|
5506
5504
|
__name: "PopupSurvey",
|
|
5507
5505
|
props: {
|
|
5508
5506
|
survey: {},
|
|
@@ -5529,7 +5527,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5529
5527
|
const g = F(
|
|
5530
5528
|
() => o.survey,
|
|
5531
5529
|
(p) => {
|
|
5532
|
-
const q = new
|
|
5530
|
+
const q = new Ge(null, p);
|
|
5533
5531
|
o.isExpanded !== void 0 && (q.isExpanded = o.isExpanded), o.closeOnCompleteTimeout !== void 0 && (q.closeOnCompleteTimeout = o.closeOnCompleteTimeout), o.allowClose !== void 0 && (q.allowClose = o.allowClose), o.allowFullScreen !== void 0 && (q.allowFullScreen = o.allowFullScreen), q.isShowing = !0, e.value = q;
|
|
5534
5532
|
},
|
|
5535
5533
|
{
|
|
@@ -5616,7 +5614,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5616
5614
|
], 2)
|
|
5617
5615
|
], 38)) : c("", !0);
|
|
5618
5616
|
}
|
|
5619
|
-
}),
|
|
5617
|
+
}), hn = ["innerHTML"], qn = /* @__PURE__ */ h({
|
|
5620
5618
|
__name: "CustomWidget",
|
|
5621
5619
|
props: {
|
|
5622
5620
|
question: {},
|
|
@@ -5639,7 +5637,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5639
5637
|
n.value ? (r(), l("div", {
|
|
5640
5638
|
key: 0,
|
|
5641
5639
|
innerHTML: t.value
|
|
5642
|
-
}, null, 8,
|
|
5640
|
+
}, null, 8, hn)) : c("", !0),
|
|
5643
5641
|
s.value ? (r(), C(v, {
|
|
5644
5642
|
key: 1,
|
|
5645
5643
|
is: i.value,
|
|
@@ -5648,12 +5646,12 @@ const ie = /* @__PURE__ */ h({
|
|
|
5648
5646
|
}, null, 8, ["is", "question", "css"])) : c("", !0)
|
|
5649
5647
|
], 512));
|
|
5650
5648
|
}
|
|
5651
|
-
}),
|
|
5649
|
+
}), wn = /* @__PURE__ */ h({
|
|
5652
5650
|
__name: "PopupModal",
|
|
5653
5651
|
setup(u) {
|
|
5654
5652
|
const o = W();
|
|
5655
5653
|
function e(n, t, i, d, g, p, q = "popup") {
|
|
5656
|
-
const B =
|
|
5654
|
+
const B = Je(
|
|
5657
5655
|
n,
|
|
5658
5656
|
t,
|
|
5659
5657
|
i,
|
|
@@ -5667,7 +5665,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5667
5665
|
return s(B);
|
|
5668
5666
|
}
|
|
5669
5667
|
function s(n, t) {
|
|
5670
|
-
const i =
|
|
5668
|
+
const i = Xe(
|
|
5671
5669
|
n,
|
|
5672
5670
|
t
|
|
5673
5671
|
), d = (g, p) => {
|
|
@@ -5679,7 +5677,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5679
5677
|
z.showModal = void 0;
|
|
5680
5678
|
})), z.showDialog || (z.showDialog = s, N(() => {
|
|
5681
5679
|
z.showDialog = void 0;
|
|
5682
|
-
})), (n, t) => o.value ? (r(), C(
|
|
5680
|
+
})), (n, t) => o.value ? (r(), C(Pe, {
|
|
5683
5681
|
key: 0,
|
|
5684
5682
|
to: o.value.container
|
|
5685
5683
|
}, [
|
|
@@ -5689,7 +5687,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5689
5687
|
}, null, 8, ["model"])
|
|
5690
5688
|
], 8, ["to"])) : c("", !0);
|
|
5691
5689
|
}
|
|
5692
|
-
}),
|
|
5690
|
+
}), kn = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], fn = /* @__PURE__ */ h({
|
|
5693
5691
|
__name: "TextArea",
|
|
5694
5692
|
props: {
|
|
5695
5693
|
model: {}
|
|
@@ -5738,9 +5736,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5738
5736
|
"aria-invalid": n.model.ariaInvalid,
|
|
5739
5737
|
"aria-errormessage": n.model.ariaErrormessage,
|
|
5740
5738
|
style: M({ resize: n.model.question.resizeStyle })
|
|
5741
|
-
}, null, 46,
|
|
5739
|
+
}, null, 46, kn));
|
|
5742
5740
|
}
|
|
5743
|
-
}),
|
|
5741
|
+
}), Ln = /* @__PURE__ */ h({
|
|
5744
5742
|
__name: "CharacterCounter",
|
|
5745
5743
|
props: {
|
|
5746
5744
|
counter: {},
|
|
@@ -5752,7 +5750,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5752
5750
|
class: a(e.remainingCharacterCounter)
|
|
5753
5751
|
}, H(e.counter.remainingCharacterCounter), 3));
|
|
5754
5752
|
}
|
|
5755
|
-
}),
|
|
5753
|
+
}), bn = /* @__PURE__ */ h({
|
|
5756
5754
|
inheritAttrs: !1,
|
|
5757
5755
|
__name: "Composite",
|
|
5758
5756
|
props: {
|
|
@@ -5771,7 +5769,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5771
5769
|
css: n.css
|
|
5772
5770
|
}, null, 8, ["element", "css"]));
|
|
5773
5771
|
}
|
|
5774
|
-
}),
|
|
5772
|
+
}), Mn = /* @__PURE__ */ h({
|
|
5775
5773
|
inheritAttrs: !1,
|
|
5776
5774
|
__name: "Custom",
|
|
5777
5775
|
props: {
|
|
@@ -5789,16 +5787,16 @@ const ie = /* @__PURE__ */ h({
|
|
|
5789
5787
|
css: t.css
|
|
5790
5788
|
}, null, 8, ["is", "question", "css"]));
|
|
5791
5789
|
}
|
|
5792
|
-
}),
|
|
5793
|
-
|
|
5794
|
-
],
|
|
5790
|
+
}), Hn = /* @__PURE__ */ m("use", { "xlink:href": "#icon-timercircle" }, null, -1), In = [
|
|
5791
|
+
Hn
|
|
5792
|
+
], me = 440, Sn = /* @__PURE__ */ h({
|
|
5795
5793
|
__name: "TimerPanel",
|
|
5796
5794
|
props: {
|
|
5797
5795
|
model: {},
|
|
5798
5796
|
css: {}
|
|
5799
5797
|
},
|
|
5800
5798
|
setup(u) {
|
|
5801
|
-
const o = u, e = L(() =>
|
|
5799
|
+
const o = u, e = L(() => me * o.model.progress), s = L(() => o.model.text);
|
|
5802
5800
|
return V(() => o.model), (n, t) => n.model.isRunning && n.model.showTimerAsClock ? (r(), l("div", {
|
|
5803
5801
|
key: 0,
|
|
5804
5802
|
class: a(n.model.rootCss)
|
|
@@ -5806,8 +5804,8 @@ const ie = /* @__PURE__ */ h({
|
|
|
5806
5804
|
n.model.showProgress ? (r(), l("svg", {
|
|
5807
5805
|
key: 0,
|
|
5808
5806
|
class: a(n.model.getProgressCss()),
|
|
5809
|
-
style: M({ strokeDasharray:
|
|
5810
|
-
},
|
|
5807
|
+
style: M({ strokeDasharray: me, strokeDashoffset: e.value })
|
|
5808
|
+
}, In, 6)) : c("", !0),
|
|
5811
5809
|
m("div", {
|
|
5812
5810
|
class: a(n.model.textContainerCss)
|
|
5813
5811
|
}, [
|
|
@@ -5826,10 +5824,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5826
5824
|
[P, n.model.isRunning && !n.model.showTimerAsClock]
|
|
5827
5825
|
]);
|
|
5828
5826
|
}
|
|
5829
|
-
}),
|
|
5827
|
+
}), Vn = { class: "sd-loading-indicator" }, Bn = /* @__PURE__ */ h({
|
|
5830
5828
|
__name: "LoadingIndicator",
|
|
5831
5829
|
setup(u) {
|
|
5832
|
-
return (o, e) => (r(), l("div",
|
|
5830
|
+
return (o, e) => (r(), l("div", Vn, [
|
|
5833
5831
|
y(v, {
|
|
5834
5832
|
is: "sv-svg-icon",
|
|
5835
5833
|
iconName: "icon-loading",
|
|
@@ -5837,7 +5835,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5837
5835
|
})
|
|
5838
5836
|
]));
|
|
5839
5837
|
}
|
|
5840
|
-
}),
|
|
5838
|
+
}), Rn = { key: 2 }, Tn = /* @__PURE__ */ h({
|
|
5841
5839
|
__name: "Header",
|
|
5842
5840
|
props: {
|
|
5843
5841
|
model: {},
|
|
@@ -5869,7 +5867,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5869
5867
|
key: t
|
|
5870
5868
|
}, null, 8, ["model"]))), 128))
|
|
5871
5869
|
], 6)),
|
|
5872
|
-
e.survey.isMobile ? (r(), l("div",
|
|
5870
|
+
e.survey.isMobile ? (r(), l("div", Rn, [
|
|
5873
5871
|
y(v, {
|
|
5874
5872
|
is: "sv-header-mobile",
|
|
5875
5873
|
model: e.model
|
|
@@ -5877,10 +5875,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5877
5875
|
])) : c("", !0)
|
|
5878
5876
|
], 6)) : c("", !0);
|
|
5879
5877
|
}
|
|
5880
|
-
}),
|
|
5878
|
+
}), Zn = {
|
|
5881
5879
|
key: 0,
|
|
5882
5880
|
class: "sv-header__logo"
|
|
5883
|
-
},
|
|
5881
|
+
}, $n = ["src", "width", "height", "alt"], Dn = /* @__PURE__ */ h({
|
|
5884
5882
|
__name: "HeaderCell",
|
|
5885
5883
|
props: {
|
|
5886
5884
|
model: {}
|
|
@@ -5894,7 +5892,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5894
5892
|
class: "sv-header__cell-content",
|
|
5895
5893
|
style: M(o.model.contentStyle)
|
|
5896
5894
|
}, [
|
|
5897
|
-
o.model.showLogo ? (r(), l("div",
|
|
5895
|
+
o.model.showLogo ? (r(), l("div", Zn, [
|
|
5898
5896
|
m("div", {
|
|
5899
5897
|
class: a(o.model.survey.logoClassNames)
|
|
5900
5898
|
}, [
|
|
@@ -5905,7 +5903,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5905
5903
|
height: o.model.survey.renderedLogoHeight,
|
|
5906
5904
|
alt: o.model.survey.locTitle.renderedHtml,
|
|
5907
5905
|
style: M({ objectFit: o.model.survey.logoFit, width: o.model.survey.renderedStyleLogoWidth, height: o.model.survey.renderedStyleLogoHeight })
|
|
5908
|
-
}, null, 14,
|
|
5906
|
+
}, null, 14, $n)
|
|
5909
5907
|
], 2)
|
|
5910
5908
|
])) : c("", !0),
|
|
5911
5909
|
o.model.showTitle ? (r(), l("div", {
|
|
@@ -5937,17 +5935,17 @@ const ie = /* @__PURE__ */ h({
|
|
|
5937
5935
|
], 4)
|
|
5938
5936
|
], 6));
|
|
5939
5937
|
}
|
|
5940
|
-
}),
|
|
5938
|
+
}), An = { class: "sv-header--mobile" }, Pn = {
|
|
5941
5939
|
key: 0,
|
|
5942
5940
|
class: "sv-header__logo"
|
|
5943
|
-
},
|
|
5941
|
+
}, Nn = ["src", "width", "height", "alt"], En = /* @__PURE__ */ h({
|
|
5944
5942
|
__name: "HeaderMobile",
|
|
5945
5943
|
props: {
|
|
5946
5944
|
model: {}
|
|
5947
5945
|
},
|
|
5948
5946
|
setup(u) {
|
|
5949
|
-
return (o, e) => (r(), l("div",
|
|
5950
|
-
o.model.survey.hasLogo ? (r(), l("div",
|
|
5947
|
+
return (o, e) => (r(), l("div", An, [
|
|
5948
|
+
o.model.survey.hasLogo ? (r(), l("div", Pn, [
|
|
5951
5949
|
m("div", {
|
|
5952
5950
|
class: a(o.model.survey.logoClassNames)
|
|
5953
5951
|
}, [
|
|
@@ -5958,7 +5956,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5958
5956
|
height: o.model.survey.renderedLogoHeight,
|
|
5959
5957
|
alt: o.model.survey.locTitle.renderedHtml,
|
|
5960
5958
|
style: M({ objectFit: o.model.survey.logoFit, width: o.model.survey.renderedStyleLogoWidth, height: o.model.survey.renderedStyleLogoHeight })
|
|
5961
|
-
}, null, 14,
|
|
5959
|
+
}, null, 14, Nn)
|
|
5962
5960
|
], 2)
|
|
5963
5961
|
])) : c("", !0),
|
|
5964
5962
|
o.model.survey.hasTitle ? (r(), l("div", {
|
|
@@ -5989,7 +5987,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5989
5987
|
], 4)) : c("", !0)
|
|
5990
5988
|
]));
|
|
5991
5989
|
}
|
|
5992
|
-
}),
|
|
5990
|
+
}), Wn = /* @__PURE__ */ h({
|
|
5993
5991
|
__name: "Element",
|
|
5994
5992
|
props: {
|
|
5995
5993
|
element: {},
|
|
@@ -6045,20 +6043,20 @@ const ie = /* @__PURE__ */ h({
|
|
|
6045
6043
|
}, null, 8, ["is", "element", "css"])) : c("", !0)
|
|
6046
6044
|
], 6));
|
|
6047
6045
|
}
|
|
6048
|
-
}),
|
|
6046
|
+
}), Fn = /* @__PURE__ */ h({
|
|
6049
6047
|
__name: "TemplateRenderer",
|
|
6050
6048
|
props: {
|
|
6051
6049
|
componentName: {},
|
|
6052
6050
|
componentData: {}
|
|
6053
6051
|
},
|
|
6054
6052
|
setup(u) {
|
|
6055
|
-
const o =
|
|
6056
|
-
return (s, n) => e.value && !s.componentName ?
|
|
6053
|
+
const o = Ne(), e = L(() => !!o.default);
|
|
6054
|
+
return (s, n) => e.value && !s.componentName ? Ce(s.$slots, "default", { key: 0 }) : (r(), C(v, D({
|
|
6057
6055
|
key: 1,
|
|
6058
6056
|
is: s.componentName
|
|
6059
6057
|
}, s.componentData), null, 16, ["is"]));
|
|
6060
6058
|
}
|
|
6061
|
-
}),
|
|
6059
|
+
}), zn = /* @__PURE__ */ h({
|
|
6062
6060
|
__name: "FileCleanButton",
|
|
6063
6061
|
props: {
|
|
6064
6062
|
question: {},
|
|
@@ -6080,7 +6078,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6080
6078
|
}, null, 8, ["iconName", "title"])) : c("", !0)
|
|
6081
6079
|
], 2));
|
|
6082
6080
|
}
|
|
6083
|
-
}),
|
|
6081
|
+
}), On = ["id"], Un = /* @__PURE__ */ h({
|
|
6084
6082
|
__name: "FileVideo",
|
|
6085
6083
|
props: {
|
|
6086
6084
|
question: {}
|
|
@@ -6102,14 +6100,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
6102
6100
|
playsinline: "",
|
|
6103
6101
|
id: o.question.videoId,
|
|
6104
6102
|
class: a(o.question.cssClasses.video)
|
|
6105
|
-
}, null, 10,
|
|
6103
|
+
}, null, 10, On),
|
|
6106
6104
|
y(v, {
|
|
6107
6105
|
is: "sv-action",
|
|
6108
6106
|
item: o.question.takePictureAction
|
|
6109
6107
|
}, null, 8, ["item"])
|
|
6110
6108
|
], 2));
|
|
6111
6109
|
}
|
|
6112
|
-
}),
|
|
6110
|
+
}), Kn = ["for", "aria-label"], jn = /* @__PURE__ */ h({
|
|
6113
6111
|
__name: "FileChooseButton",
|
|
6114
6112
|
props: {
|
|
6115
6113
|
data: {},
|
|
@@ -6137,11 +6135,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
6137
6135
|
size: "auto"
|
|
6138
6136
|
}, null, 8, ["title", "iconName"])) : c("", !0),
|
|
6139
6137
|
m("span", null, H(e.value.chooseButtonText), 1)
|
|
6140
|
-
], 10,
|
|
6138
|
+
], 10, Kn)), [
|
|
6141
6139
|
[k(j)]
|
|
6142
6140
|
]);
|
|
6143
6141
|
}
|
|
6144
|
-
}),
|
|
6142
|
+
}), Qn = /* @__PURE__ */ h({
|
|
6145
6143
|
__name: "FilePreview",
|
|
6146
6144
|
props: {
|
|
6147
6145
|
question: {}
|
|
@@ -6165,7 +6163,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6165
6163
|
}, null, 8, ["item", "question"]))), 128))
|
|
6166
6164
|
], 2)) : c("", !0);
|
|
6167
6165
|
}
|
|
6168
|
-
}),
|
|
6166
|
+
}), Gn = /* @__PURE__ */ h({
|
|
6169
6167
|
__name: "ButtonGroup",
|
|
6170
6168
|
props: {
|
|
6171
6169
|
question: {}
|
|
@@ -6187,7 +6185,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6187
6185
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6188
6186
|
], 2));
|
|
6189
6187
|
}
|
|
6190
|
-
}),
|
|
6188
|
+
}), Jn = ["title"], Xn = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Yn = ["title"], xn = /* @__PURE__ */ h({
|
|
6191
6189
|
__name: "ButtonGroupItem",
|
|
6192
6190
|
props: {
|
|
6193
6191
|
item: {},
|
|
@@ -6196,7 +6194,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6196
6194
|
},
|
|
6197
6195
|
setup(u) {
|
|
6198
6196
|
const o = u, e = L(
|
|
6199
|
-
() => new
|
|
6197
|
+
() => new Ye(o.question, o.item, o.index)
|
|
6200
6198
|
), s = L({
|
|
6201
6199
|
get: () => o.question.renderedValue,
|
|
6202
6200
|
set: (n) => {
|
|
@@ -6222,7 +6220,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6222
6220
|
class: a(e.value.css.control),
|
|
6223
6221
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => s.value = i),
|
|
6224
6222
|
value: e.value.value
|
|
6225
|
-
}, null, 10,
|
|
6223
|
+
}, null, 10, Xn), [
|
|
6226
6224
|
[Y, s.value]
|
|
6227
6225
|
]),
|
|
6228
6226
|
m("div", {
|
|
@@ -6244,11 +6242,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
6244
6242
|
is: "survey-string",
|
|
6245
6243
|
locString: e.value.caption
|
|
6246
6244
|
}, null, 8, ["locString"])
|
|
6247
|
-
], 10,
|
|
6245
|
+
], 10, Yn)) : c("", !0)
|
|
6248
6246
|
], 2)
|
|
6249
|
-
], 10,
|
|
6247
|
+
], 10, Jn));
|
|
6250
6248
|
}
|
|
6251
|
-
}),
|
|
6249
|
+
}), _n = ["src", "width", "height", "alt"], er = /* @__PURE__ */ h({
|
|
6252
6250
|
inheritAttrs: !1,
|
|
6253
6251
|
__name: "Logo",
|
|
6254
6252
|
props: {
|
|
@@ -6270,10 +6268,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
6270
6268
|
width: e.value.renderedStyleLogoWidth,
|
|
6271
6269
|
height: e.value.renderedStyleLogoHeight
|
|
6272
6270
|
})
|
|
6273
|
-
}, null, 14,
|
|
6271
|
+
}, null, 14, _n)
|
|
6274
6272
|
], 2));
|
|
6275
6273
|
}
|
|
6276
|
-
}),
|
|
6274
|
+
}), sr = /* @__PURE__ */ h({
|
|
6277
6275
|
__name: "SvgBundle",
|
|
6278
6276
|
setup(u) {
|
|
6279
6277
|
const o = b(), e = () => {
|
|
@@ -6291,7 +6289,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6291
6289
|
[P, !1]
|
|
6292
6290
|
]);
|
|
6293
6291
|
}
|
|
6294
|
-
}),
|
|
6292
|
+
}), or = ["id"], tr = /* @__PURE__ */ h({
|
|
6295
6293
|
__name: "FilePage",
|
|
6296
6294
|
props: {
|
|
6297
6295
|
page: {},
|
|
@@ -6309,9 +6307,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
6309
6307
|
item: n,
|
|
6310
6308
|
question: e.question
|
|
6311
6309
|
}, null, 8, ["item", "question"]))), 128))
|
|
6312
|
-
], 10,
|
|
6310
|
+
], 10, or));
|
|
6313
6311
|
}
|
|
6314
|
-
}),
|
|
6312
|
+
}), nr = ["href", "title", "download"], rr = ["src"], ir = ["href", "title", "download"], ar = /* @__PURE__ */ h({
|
|
6315
6313
|
__name: "FileItem",
|
|
6316
6314
|
props: {
|
|
6317
6315
|
item: {},
|
|
@@ -6332,7 +6330,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6332
6330
|
title: o.item.name,
|
|
6333
6331
|
download: o.item.name,
|
|
6334
6332
|
style: M({ width: o.question.imageWidth })
|
|
6335
|
-
}, H(o.item.name), 13,
|
|
6333
|
+
}, H(o.item.name), 13, nr)
|
|
6336
6334
|
], 2)) : c("", !0),
|
|
6337
6335
|
m("div", {
|
|
6338
6336
|
class: a(o.question.getImageWrapperCss(o.item))
|
|
@@ -6345,7 +6343,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6345
6343
|
width: o.question.imageWidth
|
|
6346
6344
|
}),
|
|
6347
6345
|
alt: "File preview"
|
|
6348
|
-
}, null, 12,
|
|
6346
|
+
}, null, 12, rr)) : c("", !0),
|
|
6349
6347
|
o.question.defaultImage(o.item) ? (r(), C(v, {
|
|
6350
6348
|
key: 1,
|
|
6351
6349
|
is: "sv-svg-icon",
|
|
@@ -6381,41 +6379,41 @@ const ie = /* @__PURE__ */ h({
|
|
|
6381
6379
|
title: o.item.name,
|
|
6382
6380
|
download: o.item.name,
|
|
6383
6381
|
style: M({ width: o.question.imageWidth })
|
|
6384
|
-
}, H(o.item.name), 13,
|
|
6382
|
+
}, H(o.item.name), 13, ir)
|
|
6385
6383
|
], 2)) : c("", !0)
|
|
6386
6384
|
], 2)), [
|
|
6387
6385
|
[P, o.item]
|
|
6388
6386
|
]);
|
|
6389
6387
|
}
|
|
6390
6388
|
});
|
|
6391
|
-
|
|
6392
|
-
function
|
|
6389
|
+
xe.platform = "vue3";
|
|
6390
|
+
function lr(u, o, e) {
|
|
6393
6391
|
u(o, e);
|
|
6394
6392
|
}
|
|
6395
|
-
function
|
|
6396
|
-
const o =
|
|
6393
|
+
function Me(u) {
|
|
6394
|
+
const o = lr.bind(
|
|
6397
6395
|
void 0,
|
|
6398
6396
|
u
|
|
6399
6397
|
);
|
|
6400
|
-
o("sv-svg-bundle",
|
|
6398
|
+
o("sv-svg-bundle", sr), o("popup-survey", be), o("survey-header", os), o("sv-logo-image", er), o("survey-page", ss), o("survey-row", ts), o("survey-question", as), o("survey-panel", vs), o("survey-element-header", ps), o("survey-string", ms), o("sv-string-viewer", Cs), o("sv-string-editor", hs), o("sv-skeleton", ws), o("survey-text", Ls), o("survey-text-input", Hs), o("survey-checkbox", Rs), o("survey-checkbox-item", $s), o("survey-radiogroup", Ds), o("survey-radiogroup-item", Ns), o("survey-signaturepad", zs), o("survey-html", Us), o("survey-image", Gs), o("survey-expression", Js), o("survey-file", _s), o("sv-file-choose-btn", jn), o("sv-file-clean-btn", zn), o("sv-file-preview", Qn), o("sv-file-page", tr), o("sv-file-item", ar), o("sv-file-video", Un), o("survey-imagepicker", s1), o("survey-imagepicker-item", i1), o("survey-comment", a1), o("survey-dropdown", l1), o("sv-dropdown-select", c1), o("sv-dropdown-option-item", m1), o("sv-dropdown", q1), o("survey-tagbox", w1), o("sv-tagbox", L1), o("sv-tagbox-item", S1), o("sv-tagbox-filter", H1), o("survey-ranking", V1), o("survey-ranking-item", D1), o("sv-ranking-item", A1), o("survey-rating", E1), o("sv-rating-item", z1), o("sv-rating-item-smiley", U1), o("sv-rating-item-star", j1), o("sv-rating-dropdown", Y1), o("sv-rating-dropdown-item", X1), o("survey-boolean", _1), o("sv-boolean-radio", eo), o("sv-boolean-radio-item", to), o("sv-boolean-checkbox", uo), o("survey-multipletext", vo), o("survey-multipletext-item", po), o("survey-matrix", qo), o("survey-matrix-row", ko), o("survey-matrix-cell", bo), o("survey-matrixdropdown", Mo), o("survey-matrixtable", So), o("survey-matrixheaderrequired", Bo), o("survey-matrixdropdown-cell", To), o("survey-matrixdynamic", Zo), o("sv-matrix-remove-button", Do), o("sv-matrix-drag-drop-icon", Po), o("sv-matrix-detail-button", Eo), o("survey-paneldynamic", Wo), o("survey-paneldynamicprogress", Fo), o("survey-paneldynamicprogress-v2", zo), o("sv-paneldynamic-add-btn", Uo), o("sv-paneldynamic-next-btn", jo), o("sv-paneldynamic-prev-btn", Go), o("sv-paneldynamic-remove-btn", Xo), o("sv-paneldynamic-progress-text", Yo), o("sv-components-container", Jt), o("sv-progress-buttons", sn), o("sv-navigation-toc", on), o("sv-progress-pages", J), o("sv-progress-questions", J), o("sv-progress-correctquestions", J), o("sv-progress-requiredquestions", J), o("survey-errors", _o), o("survey-question-comment", st), o("survey-element-title", ot), o("survey-element-title-content", it), o("sv-title-actions", ut), o("sv-brand-info", Ct), o("sv-question-error", wt), o("sv-svg-icon", qt), o("sv-action-bar", kt), o("sv-action", bt), o("sv-action-bar-item", It), o("sv-action-bar-item-dropdown", Bt), o("sv-action-bar-separator", Rt), o("sv-list", Dt), o("sv-list-item-content", Et), o("sv-list-item-group", Wt), o("sv-list-item", Nt), o("sv-popup", Ft), o("sv-popup-container", Qt), o("popup-pointer", Gt), o("sv-notifier", pn), o("survey-other-choice", gn), o("sv-nav-btn", yn), o("survey-customwidget", qn), o("survey-popup-modal", wn), o("survey-composite", bn), o("survey-custom", Mn), o("sv-timerpanel", Sn), o("sv-loading-indicator", Bn), o("sv-header", Tn), o("sv-header-cell", Dn), o("sv-header-mobile", En), o("sv-template-renderer", Fn), o("sv-character-counter", Ln), o("sv-text-area", fn), o("survey-element", Wn), o("survey-buttongroup", Gn), o("sv-button-group-item", xn), o("survey", ie);
|
|
6401
6399
|
}
|
|
6402
|
-
|
|
6400
|
+
Me(
|
|
6403
6401
|
(u, o) => O.Instance.registerComponent(u, o)
|
|
6404
6402
|
);
|
|
6405
|
-
const
|
|
6403
|
+
const cr = {
|
|
6406
6404
|
install(u) {
|
|
6407
|
-
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent",
|
|
6405
|
+
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent", be), u.directive("key2click", j), Me((o, e) => {
|
|
6408
6406
|
u.component(o, e), O.Instance.registerComponent(o, o);
|
|
6409
6407
|
});
|
|
6410
6408
|
}
|
|
6411
6409
|
};
|
|
6412
6410
|
export {
|
|
6413
6411
|
O as ComponentFactory,
|
|
6414
|
-
|
|
6412
|
+
be as PopupSurveyComponent,
|
|
6415
6413
|
ie as SurveyComponent,
|
|
6416
6414
|
v as SvComponent,
|
|
6417
6415
|
j as key2ClickDirective,
|
|
6418
|
-
|
|
6416
|
+
cr as surveyPlugin,
|
|
6419
6417
|
V as useBase,
|
|
6420
6418
|
ee as useComputedArray,
|
|
6421
6419
|
K as useLocString,
|