survey-vue3-ui 1.12.4 → 1.12.6
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/survey-vue3-ui.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var ke = Object.defineProperty;
|
|
2
2
|
var fe = (u, e, n) => e in u ? ke(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as h, computed as w, openBlock as i, createBlock as g, resolveDynamicComponent as ce, normalizeProps as le, guardReactiveProps as ae, createSlots as we, renderList as $, withCtx as W, renderSlot as ve, shallowReactive as Ie, watch as O,
|
|
5
|
-
import { Base as
|
|
3
|
+
var J = (u, e, n) => (fe(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
+
import { defineComponent as h, computed as w, openBlock as i, createBlock as g, resolveDynamicComponent as ce, normalizeProps as le, guardReactiveProps as ae, createSlots as we, renderList as $, withCtx as W, renderSlot as ve, shallowReactive as Ie, watch as O, onBeforeUnmount as K, onMounted as P, ref as I, shallowRef as V, watchEffect as Se, triggerRef as ee, unref as k, isRef as Te, nextTick as Re, createElementBlock as l, normalizeClass as r, createVNode as y, createCommentVNode as m, Fragment as R, mergeProps as M, normalizeStyle as S, createElementVNode as v, onUnmounted as F, withDirectives as A, vShow as E, toDisplayString as T, vModelRadio as Y, vModelCheckbox as se, vModelSelect as $e, onUpdated as Z, vModelText as De, getCurrentInstance as qe, createStaticVNode as Be, toRaw as Ae, Teleport as Le, useSlots as Ne } from "vue";
|
|
5
|
+
import { Base as Pe, RendererFactory as _, Helpers as Me, DropdownMultiSelectListModel as He, doKey2ClickUp as ge, createSvg as Ee, doKey2ClickDown as We, doKey2ClickBlur as Fe, ActionDropdownViewModel as Ve, getActionDropdownButtonTarget as Oe, createPopupViewModel as ze, SurveyProgressModel as ue, ProgressButtonsResponsivityManager as Ue, PopupSurveyModel as Ke, settings as z, createDialogOptions as Qe, createPopupModalViewModel as je, ButtonGroupItemModel as Ge, SvgRegistry as Je, SurveyModel as Xe } from "survey-core";
|
|
6
6
|
const ie = class {
|
|
7
7
|
constructor() {
|
|
8
|
-
|
|
8
|
+
J(this, "creatorHash", {});
|
|
9
9
|
}
|
|
10
10
|
registerComponent(e, n) {
|
|
11
11
|
this.creatorHash[e] = n;
|
|
@@ -24,7 +24,7 @@ const ie = class {
|
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
let U = ie;
|
|
27
|
-
|
|
27
|
+
J(U, "Instance", new ie());
|
|
28
28
|
const d = /* @__PURE__ */ h({
|
|
29
29
|
inheritAttrs: !1,
|
|
30
30
|
__name: "SvComponent",
|
|
@@ -45,44 +45,58 @@ const d = /* @__PURE__ */ h({
|
|
|
45
45
|
]), 1040));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
Pe.createPropertiesHash = () => Ie({});
|
|
49
|
+
class Ye {
|
|
50
|
+
constructor(e) {
|
|
51
|
+
J(this, "currentNextTickPromise");
|
|
52
|
+
this.element = e;
|
|
53
|
+
}
|
|
54
|
+
async add() {
|
|
55
|
+
const e = Re();
|
|
56
|
+
this.currentNextTickPromise !== e && (this.currentNextTickPromise = e, await e, e == this.currentNextTickPromise && this.element.afterRerender());
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function Ze(u) {
|
|
50
60
|
var e;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
if (!!u) {
|
|
62
|
+
if (u.__vueImplemented = (e = u.__vueImplemented) != null ? e : 0, u.__vueImplemented <= 0) {
|
|
63
|
+
const n = new Ye(u);
|
|
64
|
+
u.createArrayCoreHandler = (s, t) => {
|
|
65
|
+
const o = [], a = V(o);
|
|
66
|
+
return o.onArrayChanged = () => {
|
|
67
|
+
ee(a), n.add();
|
|
68
|
+
}, s[t] = a, k(s[t]);
|
|
69
|
+
}, u.iteratePropertiesHash((s, t) => {
|
|
70
|
+
if (Array.isArray(s[t])) {
|
|
71
|
+
const o = V(s[t]);
|
|
72
|
+
s[t].onArrayChanged = () => {
|
|
73
|
+
ee(o), n.add();
|
|
74
|
+
}, s[t] = o;
|
|
75
|
+
}
|
|
76
|
+
}), u.getPropertyValueCoreHandler = (s, t) => k(s[t]), u.setPropertyValueCoreHandler = (s, t, o) => {
|
|
77
|
+
Te(s[t]) ? s[t].value = o : s[t] = o, n.add();
|
|
78
|
+
};
|
|
62
79
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}), u.enableOnElementRenderedEvent(), u.__vueImplemented++);
|
|
80
|
+
u.enableOnElementRerenderedEvent(), u.__vueImplemented++;
|
|
81
|
+
}
|
|
66
82
|
}
|
|
67
83
|
function de(u) {
|
|
68
84
|
var e;
|
|
69
85
|
!u || (u.__vueImplemented = (e = u.__vueImplemented) != null ? e : 0, u.__vueImplemented--, u.__vueImplemented <= 0 && (u.iteratePropertiesHash((n, s) => {
|
|
70
86
|
n[s] = k(n[s]), Array.isArray(n[s]) && (n[s].onArrayChanged = void 0);
|
|
71
|
-
}), delete u.__vueImplemented, u.
|
|
87
|
+
}), delete u.__vueImplemented, u.disableOnElementRerenderedEvent(), u.createArrayCoreHandler = void 0, u.getPropertyValueCoreHandler = void 0, u.setPropertyValueCoreHandler = void 0));
|
|
72
88
|
}
|
|
73
89
|
function D(u, e, n) {
|
|
74
90
|
const s = O(
|
|
75
91
|
u,
|
|
76
92
|
(t, o) => {
|
|
77
|
-
t && e && e(t, o), o && (de(o), n && n(o)),
|
|
93
|
+
t && e && e(t, o), o && (de(o), n && n(o)), Ze(t);
|
|
78
94
|
},
|
|
79
95
|
{
|
|
80
96
|
immediate: !0
|
|
81
97
|
}
|
|
82
98
|
);
|
|
83
|
-
|
|
84
|
-
u().afterRerender();
|
|
85
|
-
}), K(() => {
|
|
99
|
+
K(() => {
|
|
86
100
|
const t = u();
|
|
87
101
|
t && (de(t), n && n(t), s());
|
|
88
102
|
});
|
|
@@ -114,7 +128,7 @@ function Q(u) {
|
|
|
114
128
|
function ne(u) {
|
|
115
129
|
return u.customWidget ? "survey-customwidget" : u.isDefaultRendering && u.isDefaultRendering() || u.isPanel ? "survey-" + u.getTemplate() : u.getComponentName();
|
|
116
130
|
}
|
|
117
|
-
function
|
|
131
|
+
function x(u) {
|
|
118
132
|
const e = V(), n = Se(() => {
|
|
119
133
|
e.value = u(), ee(e);
|
|
120
134
|
});
|
|
@@ -122,7 +136,7 @@ function _(u) {
|
|
|
122
136
|
n();
|
|
123
137
|
}), e;
|
|
124
138
|
}
|
|
125
|
-
const
|
|
139
|
+
const _e = /* @__PURE__ */ h({
|
|
126
140
|
__name: "Page",
|
|
127
141
|
props: {
|
|
128
142
|
survey: {},
|
|
@@ -163,7 +177,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
163
177
|
is: "survey-errors",
|
|
164
178
|
element: o.page
|
|
165
179
|
}, null, 8, ["element"]),
|
|
166
|
-
(i(!0), l(
|
|
180
|
+
(i(!0), l(R, null, $(o.page.visibleRows, (p) => (i(), g(d, M({
|
|
167
181
|
key: p.id,
|
|
168
182
|
is: o.page.getSurvey().getRowWrapperComponentName(p)
|
|
169
183
|
}, {
|
|
@@ -181,7 +195,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
181
195
|
}, 1040, ["is"]))), 128))
|
|
182
196
|
], 2));
|
|
183
197
|
}
|
|
184
|
-
}),
|
|
198
|
+
}), xe = /* @__PURE__ */ h({
|
|
185
199
|
__name: "Header",
|
|
186
200
|
props: {
|
|
187
201
|
survey: {}
|
|
@@ -232,7 +246,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
232
246
|
}, null, 2)
|
|
233
247
|
], 2)) : m("", !0);
|
|
234
248
|
}
|
|
235
|
-
}),
|
|
249
|
+
}), es = /* @__PURE__ */ h({
|
|
236
250
|
__name: "Row",
|
|
237
251
|
props: {
|
|
238
252
|
row: {},
|
|
@@ -261,7 +275,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
261
275
|
ref_key: "root",
|
|
262
276
|
ref: n
|
|
263
277
|
}, [
|
|
264
|
-
(i(!0), l(
|
|
278
|
+
(i(!0), l(R, null, $(s.row.visibleElements, (o) => (i(), g(d, {
|
|
265
279
|
is: "survey-element",
|
|
266
280
|
row: s.row,
|
|
267
281
|
css: s.css,
|
|
@@ -270,10 +284,10 @@ const Ye = /* @__PURE__ */ h({
|
|
|
270
284
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
271
285
|
], 2));
|
|
272
286
|
}
|
|
273
|
-
}),
|
|
287
|
+
}), ss = ["id", "role", "aria-required", "aria-invalid", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], ns = ["id"], os = {
|
|
274
288
|
inheritAttrs: !1
|
|
275
|
-
},
|
|
276
|
-
...
|
|
289
|
+
}, ts = /* @__PURE__ */ h({
|
|
290
|
+
...os,
|
|
277
291
|
__name: "Question",
|
|
278
292
|
props: {
|
|
279
293
|
survey: {},
|
|
@@ -372,7 +386,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
372
386
|
is: "survey-string",
|
|
373
387
|
locString: f.element.locDescription
|
|
374
388
|
}, null, 8, ["locString"])
|
|
375
|
-
], 10,
|
|
389
|
+
], 10, ns)) : m("", !0)
|
|
376
390
|
], 6)
|
|
377
391
|
]),
|
|
378
392
|
_: 1
|
|
@@ -389,12 +403,12 @@ const Ye = /* @__PURE__ */ h({
|
|
|
389
403
|
element: f.element,
|
|
390
404
|
location: "bottom"
|
|
391
405
|
}, null, 8, ["element"])) : m("", !0)
|
|
392
|
-
], 46,
|
|
406
|
+
], 46, ss));
|
|
393
407
|
}
|
|
394
|
-
}),
|
|
408
|
+
}), is = ["id"], rs = ["id"], ls = {
|
|
395
409
|
inheritAttrs: !1
|
|
396
|
-
},
|
|
397
|
-
...
|
|
410
|
+
}, as = /* @__PURE__ */ h({
|
|
411
|
+
...ls,
|
|
398
412
|
inheritAttrs: !1,
|
|
399
413
|
__name: "Panel",
|
|
400
414
|
props: {
|
|
@@ -405,7 +419,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
405
419
|
setup(u) {
|
|
406
420
|
const e = u, n = I(null), s = w(() => e.element.survey);
|
|
407
421
|
return D(() => e.element), P(() => {
|
|
408
|
-
e.element.survey && e.element.
|
|
422
|
+
e.element.survey && e.element.afterRender(n.value);
|
|
409
423
|
}), (t, o) => t.element.getIsContentVisible() ? (i(), l("div", {
|
|
410
424
|
key: 0,
|
|
411
425
|
class: r(t.element.getContainerCss()),
|
|
@@ -436,7 +450,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
436
450
|
style: S({ paddingLeft: t.element.innerPaddingLeft }),
|
|
437
451
|
class: r(t.element.cssClasses.panel.content)
|
|
438
452
|
}, [
|
|
439
|
-
(i(!0), l(
|
|
453
|
+
(i(!0), l(R, null, $(t.element.visibleRows, (a) => (i(), g(d, M({
|
|
440
454
|
key: a.id,
|
|
441
455
|
is: t.element.getSurvey().getRowWrapperComponentName(a)
|
|
442
456
|
}, {
|
|
@@ -456,10 +470,10 @@ const Ye = /* @__PURE__ */ h({
|
|
|
456
470
|
is: "sv-action-bar",
|
|
457
471
|
model: t.element.getFooterToolbar()
|
|
458
472
|
}, null, 8, ["model"])
|
|
459
|
-
], 14,
|
|
460
|
-
], 42,
|
|
473
|
+
], 14, rs)) : m("", !0)
|
|
474
|
+
], 42, is)) : m("", !0);
|
|
461
475
|
}
|
|
462
|
-
}),
|
|
476
|
+
}), us = ["id"], ds = /* @__PURE__ */ h({
|
|
463
477
|
__name: "ElementHeader",
|
|
464
478
|
props: {
|
|
465
479
|
element: {},
|
|
@@ -491,7 +505,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
491
505
|
is: "survey-string",
|
|
492
506
|
locString: t.element.locDescription
|
|
493
507
|
}, null, 8, ["locString"])
|
|
494
|
-
], 10,
|
|
508
|
+
], 10, us)), [
|
|
495
509
|
[E, t.element.hasDescription]
|
|
496
510
|
]) : m("", !0),
|
|
497
511
|
t.element.hasAdditionalTitleToolbar ? (i(), g(d, {
|
|
@@ -501,7 +515,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
501
515
|
}, null, 8, ["model"])) : m("", !0)
|
|
502
516
|
], 6));
|
|
503
517
|
}
|
|
504
|
-
}),
|
|
518
|
+
}), ms = /* @__PURE__ */ h({
|
|
505
519
|
__name: "String",
|
|
506
520
|
props: {
|
|
507
521
|
locString: {}
|
|
@@ -512,7 +526,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
512
526
|
locString: e.locString.renderAsData
|
|
513
527
|
}, null, 8, ["is", "locString"]));
|
|
514
528
|
}
|
|
515
|
-
}),
|
|
529
|
+
}), ps = ["innerHTML"], cs = /* @__PURE__ */ h({
|
|
516
530
|
__name: "StringViewer",
|
|
517
531
|
props: {
|
|
518
532
|
locString: {}
|
|
@@ -523,12 +537,12 @@ const Ye = /* @__PURE__ */ h({
|
|
|
523
537
|
key: 0,
|
|
524
538
|
class: r(k(s)),
|
|
525
539
|
innerHTML: k(n)
|
|
526
|
-
}, null, 10,
|
|
540
|
+
}, null, 10, ps)) : (i(), l("span", {
|
|
527
541
|
key: 1,
|
|
528
542
|
class: r(k(s))
|
|
529
|
-
},
|
|
543
|
+
}, T(k(n)), 3));
|
|
530
544
|
}
|
|
531
|
-
}),
|
|
545
|
+
}), vs = ["innerHTML"], qs = /* @__PURE__ */ h({
|
|
532
546
|
__name: "StringEditor",
|
|
533
547
|
props: {
|
|
534
548
|
locString: {}
|
|
@@ -547,15 +561,15 @@ const Ye = /* @__PURE__ */ h({
|
|
|
547
561
|
innerHTML: t.locString.renderedHtml,
|
|
548
562
|
onBlur: n,
|
|
549
563
|
onClick: s
|
|
550
|
-
}, null, 40,
|
|
564
|
+
}, null, 40, vs)) : (i(), l("span", {
|
|
551
565
|
key: 1,
|
|
552
566
|
class: "sv-string-editor",
|
|
553
567
|
contenteditable: "true",
|
|
554
568
|
onBlur: n,
|
|
555
569
|
onClick: s
|
|
556
|
-
},
|
|
570
|
+
}, T(t.locString.renderedHtml), 33));
|
|
557
571
|
}
|
|
558
|
-
}),
|
|
572
|
+
}), gs = ["id"], ys = /* @__PURE__ */ h({
|
|
559
573
|
__name: "Skeleton",
|
|
560
574
|
props: {
|
|
561
575
|
element: {}
|
|
@@ -566,9 +580,9 @@ const Ye = /* @__PURE__ */ h({
|
|
|
566
580
|
class: "sv-skeleton-element",
|
|
567
581
|
id: n.element.id,
|
|
568
582
|
style: S({ height: n.element.skeletonHeight })
|
|
569
|
-
}, null, 12,
|
|
583
|
+
}, null, 12, gs));
|
|
570
584
|
}
|
|
571
|
-
}),
|
|
585
|
+
}), hs = ["id"], Cs = ["value"], bs = /* @__PURE__ */ h({
|
|
572
586
|
inheritAttrs: !1,
|
|
573
587
|
__name: "Text",
|
|
574
588
|
props: {
|
|
@@ -580,7 +594,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
580
594
|
key: 0,
|
|
581
595
|
ref_key: "root",
|
|
582
596
|
ref: n
|
|
583
|
-
},
|
|
597
|
+
}, T(s.question.value), 513)) : s.question.dataListId ? (i(), l("div", {
|
|
584
598
|
key: 1,
|
|
585
599
|
ref_key: "root",
|
|
586
600
|
ref: n
|
|
@@ -592,11 +606,11 @@ const Ye = /* @__PURE__ */ h({
|
|
|
592
606
|
v("datalist", {
|
|
593
607
|
id: s.question.dataListId
|
|
594
608
|
}, [
|
|
595
|
-
(i(!0), l(
|
|
609
|
+
(i(!0), l(R, null, $(s.question.dataList, (o, a) => (i(), l("option", {
|
|
596
610
|
key: a,
|
|
597
611
|
value: o
|
|
598
|
-
}, null, 8,
|
|
599
|
-
], 8,
|
|
612
|
+
}, null, 8, Cs))), 128))
|
|
613
|
+
], 8, hs)
|
|
600
614
|
], 512)) : (i(), g(d, {
|
|
601
615
|
key: 2,
|
|
602
616
|
is: "survey-text-input",
|
|
@@ -606,7 +620,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
606
620
|
}
|
|
607
621
|
}, null, 8, ["question", "get-ref"]));
|
|
608
622
|
}
|
|
609
|
-
}),
|
|
623
|
+
}), ks = ["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"], fs = ["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"], ws = /* @__PURE__ */ h({
|
|
610
624
|
__name: "TextInput",
|
|
611
625
|
props: {
|
|
612
626
|
question: {},
|
|
@@ -650,7 +664,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
650
664
|
"aria-describedby": a.question.a11y_input_ariaDescribedBy,
|
|
651
665
|
"aria-invalid": a.question.a11y_input_ariaInvalid,
|
|
652
666
|
"aria-errormessage": a.question.a11y_input_ariaErrormessage
|
|
653
|
-
}, null, 46,
|
|
667
|
+
}, null, 46, fs),
|
|
654
668
|
y(d, {
|
|
655
669
|
is: "sv-character-counter",
|
|
656
670
|
counter: a.question.characterCounter,
|
|
@@ -686,12 +700,12 @@ const Ye = /* @__PURE__ */ h({
|
|
|
686
700
|
"aria-describedby": a.question.a11y_input_ariaDescribedBy,
|
|
687
701
|
"aria-invalid": a.question.a11y_input_ariaInvalid,
|
|
688
702
|
"aria-errormessage": a.question.a11y_input_ariaErrormessage
|
|
689
|
-
}, null, 46,
|
|
703
|
+
}, null, 46, ks));
|
|
690
704
|
}
|
|
691
|
-
}),
|
|
705
|
+
}), Is = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ss = {
|
|
692
706
|
key: 0,
|
|
693
707
|
class: "sv-hidden"
|
|
694
|
-
},
|
|
708
|
+
}, Ts = { key: 7 }, Rs = ["value"], ye = /* @__PURE__ */ h({
|
|
695
709
|
inheritAttrs: !1,
|
|
696
710
|
__name: "SelectBase",
|
|
697
711
|
props: {
|
|
@@ -721,12 +735,12 @@ const Ye = /* @__PURE__ */ h({
|
|
|
721
735
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
722
736
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
723
737
|
}, [
|
|
724
|
-
o.showLegend ? (i(), l("legend",
|
|
725
|
-
o.question.hasHeadItems ? (i(!0), l(
|
|
738
|
+
o.showLegend ? (i(), l("legend", Ss, T(o.question.locTitle.renderedHtml), 1)) : m("", !0),
|
|
739
|
+
o.question.hasHeadItems ? (i(!0), l(R, { key: 1 }, $(o.question.headItems, (p) => (i(), g(d, M({
|
|
726
740
|
key: p.value,
|
|
727
741
|
is: s(p)
|
|
728
742
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0),
|
|
729
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), l(
|
|
743
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), l(R, { key: 2 }, $(o.question.bodyItems, (p) => (i(), g(d, M({
|
|
730
744
|
key: p.value,
|
|
731
745
|
is: s(p)
|
|
732
746
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0),
|
|
@@ -734,7 +748,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
734
748
|
key: 3,
|
|
735
749
|
class: r(o.question.cssClasses.rootRow)
|
|
736
750
|
}, [
|
|
737
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), l(
|
|
751
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), l(R, { key: 0 }, $(o.question.dataChoices, (p) => (i(), g(d, M({
|
|
738
752
|
key: p.value,
|
|
739
753
|
is: s(p)
|
|
740
754
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0)
|
|
@@ -743,18 +757,18 @@ const Ye = /* @__PURE__ */ h({
|
|
|
743
757
|
key: 4,
|
|
744
758
|
class: r(o.question.cssClasses.rootMultiColumn)
|
|
745
759
|
}, [
|
|
746
|
-
o.question.hasColumns ? (i(!0), l(
|
|
760
|
+
o.question.hasColumns ? (i(!0), l(R, { key: 0 }, $(o.question.columns, (p, q) => (i(), l("div", {
|
|
747
761
|
key: q,
|
|
748
762
|
class: r(o.question.getColumnClass()),
|
|
749
763
|
role: "presentation"
|
|
750
764
|
}, [
|
|
751
|
-
(i(!0), l(
|
|
765
|
+
(i(!0), l(R, null, $(p, (c) => (i(), g(d, M({
|
|
752
766
|
key: c.value,
|
|
753
767
|
is: s(c)
|
|
754
768
|
}, t(c)), null, 16, ["is"]))), 128))
|
|
755
769
|
], 2))), 128)) : m("", !0)
|
|
756
770
|
], 2)) : m("", !0),
|
|
757
|
-
o.question.hasFootItems ? (i(!0), l(
|
|
771
|
+
o.question.hasFootItems ? (i(!0), l(R, { key: 5 }, $(o.question.footItems, (p) => (i(), g(d, M({
|
|
758
772
|
key: p.value,
|
|
759
773
|
is: s(p)
|
|
760
774
|
}, t(p)), null, 16, ["is"]))), 128)) : m("", !0),
|
|
@@ -763,7 +777,7 @@ const Ye = /* @__PURE__ */ h({
|
|
|
763
777
|
is: "survey-other-choice",
|
|
764
778
|
question: o.question
|
|
765
779
|
}, null, 8, ["question"])) : m("", !0),
|
|
766
|
-
o.question.showClearButtonInContent ? (i(), l("div",
|
|
780
|
+
o.question.showClearButtonInContent ? (i(), l("div", Ts, [
|
|
767
781
|
v("input", {
|
|
768
782
|
type: "button",
|
|
769
783
|
class: r(o.question.cssClasses.clearButton),
|
|
@@ -771,18 +785,18 @@ const Ye = /* @__PURE__ */ h({
|
|
|
771
785
|
o.question.clearValue(!0);
|
|
772
786
|
}),
|
|
773
787
|
value: o.question.clearButtonCaption
|
|
774
|
-
}, null, 10,
|
|
788
|
+
}, null, 10, Rs)
|
|
775
789
|
])) : m("", !0)
|
|
776
|
-
], 10,
|
|
790
|
+
], 10, Is));
|
|
777
791
|
}
|
|
778
|
-
}),
|
|
792
|
+
}), $s = /* @__PURE__ */ h({
|
|
779
793
|
inheritAttrs: !1,
|
|
780
794
|
__name: "Checkbox",
|
|
781
795
|
props: {
|
|
782
796
|
question: {}
|
|
783
797
|
},
|
|
784
798
|
setup(u) {
|
|
785
|
-
return (e, n) => (i(), g(
|
|
799
|
+
return (e, n) => (i(), g(ye, {
|
|
786
800
|
question: e.question,
|
|
787
801
|
"show-legend": !0
|
|
788
802
|
}, null, 8, ["question"]));
|
|
@@ -802,7 +816,7 @@ function he(u, e, n) {
|
|
|
802
816
|
}
|
|
803
817
|
);
|
|
804
818
|
}
|
|
805
|
-
const
|
|
819
|
+
const Ds = ["name", "checked", "value", "id", "disabled", "readonly", "required"], Bs = ["xlink:href"], As = /* @__PURE__ */ h({
|
|
806
820
|
inheritAttrs: !1,
|
|
807
821
|
__name: "CheckboxItem",
|
|
808
822
|
props: {
|
|
@@ -842,7 +856,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
842
856
|
readonly: t.question.isReadOnlyAttr,
|
|
843
857
|
class: r(t.question.cssClasses.itemControl),
|
|
844
858
|
required: t.question.hasRequiredError()
|
|
845
|
-
}, null, 42,
|
|
859
|
+
}, null, 42, Ds),
|
|
846
860
|
t.question.cssClasses.materialDecorator ? (i(), l("span", {
|
|
847
861
|
key: 0,
|
|
848
862
|
class: r(t.question.cssClasses.materialDecorator)
|
|
@@ -853,7 +867,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
853
867
|
}, [
|
|
854
868
|
v("use", {
|
|
855
869
|
"xlink:href": t.question.itemSvgIcon
|
|
856
|
-
}, null, 8,
|
|
870
|
+
}, null, 8, Bs)
|
|
857
871
|
], 2)) : m("", !0)
|
|
858
872
|
], 2)) : m("", !0),
|
|
859
873
|
t.hideLabel ? m("", !0) : (i(), l("span", {
|
|
@@ -868,16 +882,16 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
868
882
|
], 2)
|
|
869
883
|
], 2));
|
|
870
884
|
}
|
|
871
|
-
}),
|
|
885
|
+
}), Ls = /* @__PURE__ */ h({
|
|
872
886
|
inheritAttrs: !1,
|
|
873
887
|
__name: "Radiogroup",
|
|
874
888
|
props: {
|
|
875
889
|
question: {}
|
|
876
890
|
},
|
|
877
891
|
setup(u) {
|
|
878
|
-
return (e, n) => (i(), g(
|
|
892
|
+
return (e, n) => (i(), g(ye, { question: e.question }, null, 8, ["question"]));
|
|
879
893
|
}
|
|
880
|
-
}),
|
|
894
|
+
}), Ns = ["name", "value", "id", "aria-errormessage", "disabled", "readonly"], Ps = ["xlink:href"], Ms = /* @__PURE__ */ h({
|
|
881
895
|
inheritAttrs: !1,
|
|
882
896
|
__name: "RadiogroupItem",
|
|
883
897
|
props: {
|
|
@@ -917,7 +931,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
917
931
|
disabled: !a.question.getItemEnabled(a.item),
|
|
918
932
|
readonly: a.question.isReadOnlyAttr,
|
|
919
933
|
class: r(a.question.cssClasses.itemControl)
|
|
920
|
-
}, null, 10,
|
|
934
|
+
}, null, 10, Ns), [
|
|
921
935
|
[Y, o.value]
|
|
922
936
|
]),
|
|
923
937
|
a.question.cssClasses.materialDecorator ? (i(), l("span", {
|
|
@@ -930,7 +944,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
930
944
|
}, [
|
|
931
945
|
v("use", {
|
|
932
946
|
"xlink:href": a.question.itemSvgIcon
|
|
933
|
-
}, null, 8,
|
|
947
|
+
}, null, 8, Ps)
|
|
934
948
|
], 2)) : m("", !0)
|
|
935
949
|
], 2)) : m("", !0),
|
|
936
950
|
a.hideLabel ? m("", !0) : (i(), l("span", {
|
|
@@ -945,7 +959,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
945
959
|
], 34)
|
|
946
960
|
], 2));
|
|
947
961
|
}
|
|
948
|
-
}),
|
|
962
|
+
}), Hs = ["src"], Es = ["title"], Ws = { key: 0 }, Fs = /* @__PURE__ */ h({
|
|
949
963
|
inheritAttrs: !1,
|
|
950
964
|
__name: "Signaturepad",
|
|
951
965
|
props: {
|
|
@@ -979,7 +993,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
979
993
|
style: S({
|
|
980
994
|
width: s.question.renderedCanvasWidth
|
|
981
995
|
})
|
|
982
|
-
}, null, 14,
|
|
996
|
+
}, null, 14, Hs)) : m("", !0),
|
|
983
997
|
v("canvas", {
|
|
984
998
|
tabindex: "-1",
|
|
985
999
|
class: r(s.question.cssClasses.canvas),
|
|
@@ -998,14 +1012,14 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
998
1012
|
s.question.clearValue(!0);
|
|
999
1013
|
})
|
|
1000
1014
|
}, [
|
|
1001
|
-
s.question.cssClasses.clearButtonIconId ? m("", !0) : (i(), l("span",
|
|
1015
|
+
s.question.cssClasses.clearButtonIconId ? m("", !0) : (i(), l("span", Ws, "\u2716")),
|
|
1002
1016
|
s.question.cssClasses.clearButtonIconId ? (i(), g(d, {
|
|
1003
1017
|
key: 1,
|
|
1004
1018
|
is: "sv-svg-icon",
|
|
1005
1019
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1006
1020
|
size: "auto"
|
|
1007
1021
|
}, null, 8, ["iconName"])) : m("", !0)
|
|
1008
|
-
], 10,
|
|
1022
|
+
], 10, Es)
|
|
1009
1023
|
], 2)) : m("", !0),
|
|
1010
1024
|
s.question.showLoadingIndicator ? (i(), l("div", {
|
|
1011
1025
|
key: 1,
|
|
@@ -1015,7 +1029,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1015
1029
|
], 2)) : m("", !0)
|
|
1016
1030
|
], 6));
|
|
1017
1031
|
}
|
|
1018
|
-
}),
|
|
1032
|
+
}), Vs = ["innerHTML"], Os = /* @__PURE__ */ h({
|
|
1019
1033
|
inheritAttrs: !1,
|
|
1020
1034
|
__name: "Html",
|
|
1021
1035
|
props: {
|
|
@@ -1030,9 +1044,9 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1030
1044
|
ref: n,
|
|
1031
1045
|
class: r(t.question.renderCssRoot),
|
|
1032
1046
|
innerHTML: k(s)
|
|
1033
|
-
}, null, 10,
|
|
1047
|
+
}, null, 10, Vs));
|
|
1034
1048
|
}
|
|
1035
|
-
}),
|
|
1049
|
+
}), zs = ["src", "alt", "width", "height"], Us = ["src", "width", "height"], Ks = ["src", "width", "height"], Qs = /* @__PURE__ */ h({
|
|
1036
1050
|
inheritAttrs: !1,
|
|
1037
1051
|
__name: "Image",
|
|
1038
1052
|
props: {
|
|
@@ -1065,7 +1079,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1065
1079
|
onError: o[1] || (o[1] = (a) => {
|
|
1066
1080
|
t.question.onErrorHandler();
|
|
1067
1081
|
})
|
|
1068
|
-
}, null, 46,
|
|
1082
|
+
}, null, 46, zs)), [
|
|
1069
1083
|
[E, k(s) && !t.question.contentNotLoaded]
|
|
1070
1084
|
]) : m("", !0),
|
|
1071
1085
|
t.question.renderedMode === "video" ? A((i(), l("video", {
|
|
@@ -1086,7 +1100,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1086
1100
|
onError: o[3] || (o[3] = (a) => {
|
|
1087
1101
|
t.question.onErrorHandler();
|
|
1088
1102
|
})
|
|
1089
|
-
}, null, 46,
|
|
1103
|
+
}, null, 46, Us)), [
|
|
1090
1104
|
[E, k(s) && !t.question.contentNotLoaded]
|
|
1091
1105
|
]) : m("", !0),
|
|
1092
1106
|
t.question.renderedMode === "youtube" ? (i(), l("iframe", {
|
|
@@ -1100,7 +1114,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1100
1114
|
width: t.question.renderedStyleWidth,
|
|
1101
1115
|
height: t.question.renderedStyleHeight
|
|
1102
1116
|
})
|
|
1103
|
-
}, null, 14,
|
|
1117
|
+
}, null, 14, Ks)) : m("", !0),
|
|
1104
1118
|
!k(s) || t.question.contentNotLoaded ? (i(), l("div", {
|
|
1105
1119
|
key: 3,
|
|
1106
1120
|
class: r(t.question.cssClasses.noImage)
|
|
@@ -1113,7 +1127,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1113
1127
|
], 2)) : m("", !0)
|
|
1114
1128
|
], 2));
|
|
1115
1129
|
}
|
|
1116
|
-
}),
|
|
1130
|
+
}), js = /* @__PURE__ */ h({
|
|
1117
1131
|
inheritAttrs: !1,
|
|
1118
1132
|
__name: "Expression",
|
|
1119
1133
|
props: {
|
|
@@ -1125,9 +1139,9 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1125
1139
|
class: r(s.question.cssClasses.root),
|
|
1126
1140
|
ref_key: "root",
|
|
1127
1141
|
ref: n
|
|
1128
|
-
},
|
|
1142
|
+
}, T(s.question.formatedValue), 3));
|
|
1129
1143
|
}
|
|
1130
|
-
}),
|
|
1144
|
+
}), Gs = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], Js = ["id", "multiple", "placeholder"], Xs = ["id", "multiple", "placeholder"], Ys = /* @__PURE__ */ h({
|
|
1131
1145
|
inheritAttrs: !1,
|
|
1132
1146
|
__name: "File",
|
|
1133
1147
|
props: {
|
|
@@ -1154,7 +1168,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1154
1168
|
title: s.question.inputTitle,
|
|
1155
1169
|
accept: s.question.acceptedTypes,
|
|
1156
1170
|
capture: s.question.renderCapture
|
|
1157
|
-
}, null, 10,
|
|
1171
|
+
}, null, 10, Gs)) : m("", !0),
|
|
1158
1172
|
s.question.isReadOnlyAttr ? (i(), l("input", {
|
|
1159
1173
|
key: 1,
|
|
1160
1174
|
type: "file",
|
|
@@ -1164,7 +1178,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1164
1178
|
multiple: s.question.allowMultiple,
|
|
1165
1179
|
placeholder: s.question.title,
|
|
1166
1180
|
style: { color: "transparent" }
|
|
1167
|
-
}, null, 10,
|
|
1181
|
+
}, null, 10, Js)) : m("", !0),
|
|
1168
1182
|
s.question.isDisabledAttr ? (i(), l("input", {
|
|
1169
1183
|
key: 2,
|
|
1170
1184
|
type: "file",
|
|
@@ -1174,7 +1188,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1174
1188
|
multiple: s.question.allowMultiple,
|
|
1175
1189
|
placeholder: s.question.title,
|
|
1176
1190
|
style: { color: "transparent" }
|
|
1177
|
-
}, null, 10,
|
|
1191
|
+
}, null, 10, Xs)) : m("", !0),
|
|
1178
1192
|
v("div", {
|
|
1179
1193
|
class: r(s.question.cssClasses.dragArea),
|
|
1180
1194
|
onDrop: t[0] || (t[0] = (...o) => s.question.onDrop && s.question.onDrop(...o)),
|
|
@@ -1210,7 +1224,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1210
1224
|
s.question.isEmpty() ? (i(), l("span", {
|
|
1211
1225
|
key: 2,
|
|
1212
1226
|
class: r(s.question.cssClasses.noFileChosen)
|
|
1213
|
-
},
|
|
1227
|
+
}, T(s.question.noFileChosenCaption), 3)) : m("", !0)
|
|
1214
1228
|
], 2)
|
|
1215
1229
|
], 2)) : m("", !0),
|
|
1216
1230
|
s.question.showRemoveButton ? (i(), g(d, {
|
|
@@ -1249,7 +1263,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1249
1263
|
], 34)
|
|
1250
1264
|
], 2));
|
|
1251
1265
|
}
|
|
1252
|
-
}),
|
|
1266
|
+
}), Zs = { class: "sv-hidden" }, me = "survey-imagepicker-item", _s = /* @__PURE__ */ h({
|
|
1253
1267
|
inheritAttrs: !1,
|
|
1254
1268
|
__name: "Imagepicker",
|
|
1255
1269
|
props: {
|
|
@@ -1271,24 +1285,24 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1271
1285
|
ref_key: "root",
|
|
1272
1286
|
ref: n
|
|
1273
1287
|
}, [
|
|
1274
|
-
v("legend",
|
|
1275
|
-
o.question.hasColumns ? m("", !0) : (i(!0), l(
|
|
1288
|
+
v("legend", Zs, T(o.question.locTitle.renderedHtml), 1),
|
|
1289
|
+
o.question.hasColumns ? m("", !0) : (i(!0), l(R, { key: 0 }, $(o.question.visibleChoices, (p) => (i(), g(d, M({
|
|
1276
1290
|
key: p.value,
|
|
1277
1291
|
is: s(p)
|
|
1278
1292
|
}, t(p)), null, 16, ["is"]))), 128)),
|
|
1279
|
-
o.question.hasColumns ? (i(!0), l(
|
|
1293
|
+
o.question.hasColumns ? (i(!0), l(R, { key: 1 }, $(o.question.columns, (p, q) => (i(), l("div", {
|
|
1280
1294
|
class: r(o.question.getColumnClass()),
|
|
1281
1295
|
key: q,
|
|
1282
1296
|
role: "presentation"
|
|
1283
1297
|
}, [
|
|
1284
|
-
(i(!0), l(
|
|
1298
|
+
(i(!0), l(R, null, $(p, (c) => (i(), g(d, M({
|
|
1285
1299
|
key: c.value,
|
|
1286
1300
|
is: s(c)
|
|
1287
1301
|
}, t(c)), null, 16, ["is"]))), 128))
|
|
1288
1302
|
], 2))), 128)) : m("", !0)
|
|
1289
1303
|
], 2));
|
|
1290
1304
|
}
|
|
1291
|
-
}),
|
|
1305
|
+
}), xs = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], en = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], sn = ["src", "width", "height", "alt"], nn = ["src", "width", "height"], on = /* @__PURE__ */ h({
|
|
1292
1306
|
inheritAttrs: !1,
|
|
1293
1307
|
__name: "ImagepickerItem",
|
|
1294
1308
|
props: {
|
|
@@ -1327,7 +1341,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1327
1341
|
"aria-invalid": o.question.ariaInvalid,
|
|
1328
1342
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1329
1343
|
class: r(o.question.cssClasses.itemControl)
|
|
1330
|
-
}, null, 10,
|
|
1344
|
+
}, null, 10, xs)), [
|
|
1331
1345
|
[se, s.value]
|
|
1332
1346
|
]) : A((i(), l("input", {
|
|
1333
1347
|
key: 1,
|
|
@@ -1343,7 +1357,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1343
1357
|
"aria-invalid": o.question.ariaInvalid,
|
|
1344
1358
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1345
1359
|
class: r(o.question.cssClasses.itemControl)
|
|
1346
|
-
}, null, 10,
|
|
1360
|
+
}, null, 10, en)), [
|
|
1347
1361
|
[Y, s.value]
|
|
1348
1362
|
]),
|
|
1349
1363
|
v("div", {
|
|
@@ -1378,7 +1392,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1378
1392
|
onError: a[3] || (a[3] = (p) => {
|
|
1379
1393
|
o.item.onErrorHandler();
|
|
1380
1394
|
})
|
|
1381
|
-
}, null, 46,
|
|
1395
|
+
}, null, 46, sn)) : m("", !0),
|
|
1382
1396
|
k(t) && !o.item.contentNotLoaded && o.question.contentMode === "video" ? (i(), l("video", {
|
|
1383
1397
|
key: 2,
|
|
1384
1398
|
controls: "",
|
|
@@ -1393,7 +1407,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1393
1407
|
onError: a[5] || (a[5] = (p) => {
|
|
1394
1408
|
o.item.onErrorHandler();
|
|
1395
1409
|
})
|
|
1396
|
-
}, null, 46,
|
|
1410
|
+
}, null, 46, nn)) : m("", !0),
|
|
1397
1411
|
!k(t) || o.item.contentNotLoaded ? (i(), l("div", {
|
|
1398
1412
|
key: 3,
|
|
1399
1413
|
class: r(o.question.cssClasses.itemNoImage),
|
|
@@ -1424,7 +1438,7 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1424
1438
|
], 2)
|
|
1425
1439
|
], 2));
|
|
1426
1440
|
}
|
|
1427
|
-
}),
|
|
1441
|
+
}), tn = /* @__PURE__ */ h({
|
|
1428
1442
|
inheritAttrs: !1,
|
|
1429
1443
|
__name: "Comment",
|
|
1430
1444
|
props: {
|
|
@@ -1456,9 +1470,9 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1456
1470
|
key: 2,
|
|
1457
1471
|
ref_key: "root",
|
|
1458
1472
|
ref: n
|
|
1459
|
-
},
|
|
1473
|
+
}, T(s.question.value), 513));
|
|
1460
1474
|
}
|
|
1461
|
-
}),
|
|
1475
|
+
}), rn = /* @__PURE__ */ h({
|
|
1462
1476
|
inheritAttrs: !1,
|
|
1463
1477
|
__name: "Dropdown",
|
|
1464
1478
|
props: {
|
|
@@ -1482,16 +1496,16 @@ const Ts = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1482
1496
|
}, null, 8, ["question"])) : m("", !0)
|
|
1483
1497
|
], 2));
|
|
1484
1498
|
}
|
|
1485
|
-
}),
|
|
1499
|
+
}), ln = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], an = {
|
|
1486
1500
|
key: 0,
|
|
1487
1501
|
value: ""
|
|
1488
|
-
},
|
|
1489
|
-
|
|
1502
|
+
}, un = ["id"];
|
|
1503
|
+
_.Instance.registerRenderer(
|
|
1490
1504
|
"dropdown",
|
|
1491
1505
|
"select",
|
|
1492
1506
|
"sv-dropdown-select"
|
|
1493
1507
|
);
|
|
1494
|
-
const
|
|
1508
|
+
const dn = /* @__PURE__ */ h({
|
|
1495
1509
|
inheritAttrs: !1,
|
|
1496
1510
|
__name: "DropdownSelect",
|
|
1497
1511
|
props: {
|
|
@@ -1527,7 +1541,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1527
1541
|
disabled: "",
|
|
1528
1542
|
id: a.question.inputId,
|
|
1529
1543
|
class: r(a.question.getControlClass())
|
|
1530
|
-
},
|
|
1544
|
+
}, T(a.question.readOnlyText), 11, un)) : A((i(), l("select", {
|
|
1531
1545
|
key: 0,
|
|
1532
1546
|
id: a.question.inputId,
|
|
1533
1547
|
"onUpdate:modelValue": p[0] || (p[0] = (q) => o.value = q),
|
|
@@ -1541,14 +1555,14 @@ const an = /* @__PURE__ */ h({
|
|
|
1541
1555
|
"aria-errormessage": a.question.ariaErrormessage,
|
|
1542
1556
|
required: a.question.isRequired
|
|
1543
1557
|
}, [
|
|
1544
|
-
a.question.allowClear ? (i(), l("option",
|
|
1545
|
-
(i(!0), l(
|
|
1558
|
+
a.question.allowClear ? (i(), l("option", an, T(a.question.placeholder), 1)) : m("", !0),
|
|
1559
|
+
(i(!0), l(R, null, $(a.question.visibleChoices, (q) => (i(), g(d, {
|
|
1546
1560
|
is: "sv-dropdown-option-item",
|
|
1547
1561
|
item: q,
|
|
1548
1562
|
key: q.id
|
|
1549
1563
|
}, null, 8, ["item"]))), 128))
|
|
1550
|
-
], 42,
|
|
1551
|
-
[
|
|
1564
|
+
], 42, ln)), [
|
|
1565
|
+
[$e, o.value]
|
|
1552
1566
|
]),
|
|
1553
1567
|
a.question.cssClasses.chevronButtonIconId ? (i(), l("div", {
|
|
1554
1568
|
key: 2,
|
|
@@ -1569,7 +1583,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1569
1583
|
}, null, 8, ["question"])) : m("", !0)
|
|
1570
1584
|
], 2));
|
|
1571
1585
|
}
|
|
1572
|
-
}),
|
|
1586
|
+
}), mn = ["value", "disabled"], pn = /* @__PURE__ */ h({
|
|
1573
1587
|
__name: "OptionItem",
|
|
1574
1588
|
props: {
|
|
1575
1589
|
item: {}
|
|
@@ -1579,9 +1593,9 @@ const an = /* @__PURE__ */ h({
|
|
|
1579
1593
|
return D(() => e.item), (s, t) => (i(), l("option", {
|
|
1580
1594
|
value: s.item.value,
|
|
1581
1595
|
disabled: !s.item.isEnabled
|
|
1582
|
-
},
|
|
1596
|
+
}, T(k(n)), 9, mn));
|
|
1583
1597
|
}
|
|
1584
|
-
}),
|
|
1598
|
+
}), cn = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], vn = { style: { visibility: "hidden" } }, qn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], gn = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], yn = /* @__PURE__ */ h({
|
|
1585
1599
|
__name: "Dropdown",
|
|
1586
1600
|
props: {
|
|
1587
1601
|
question: {}
|
|
@@ -1602,7 +1616,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1602
1616
|
}, q = () => {
|
|
1603
1617
|
if (n.value) {
|
|
1604
1618
|
const b = n.value, H = s.value.inputStringRendered;
|
|
1605
|
-
|
|
1619
|
+
Me.isTwoValueEquals(H, b.value, !1, !0, !1) || (b.value = s.value.inputStringRendered);
|
|
1606
1620
|
}
|
|
1607
1621
|
}, c = (b) => {
|
|
1608
1622
|
e.question.onBlur(b), q();
|
|
@@ -1613,7 +1627,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1613
1627
|
}, f = w(
|
|
1614
1628
|
() => e.question.showSelectedItemLocText
|
|
1615
1629
|
), N = w(() => e.question.selectedItemLocText);
|
|
1616
|
-
return D(() => s.value),
|
|
1630
|
+
return D(() => s.value), Z(q), P(q), (b, H) => (i(), l("div", {
|
|
1617
1631
|
class: r(b.question.cssClasses.selectWrapper),
|
|
1618
1632
|
onClick: t
|
|
1619
1633
|
}, [
|
|
@@ -1639,7 +1653,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1639
1653
|
key: 0,
|
|
1640
1654
|
class: r(b.question.cssClasses.hintPrefix)
|
|
1641
1655
|
}, [
|
|
1642
|
-
v("span", null,
|
|
1656
|
+
v("span", null, T(s.value.hintStringPrefix), 1)
|
|
1643
1657
|
], 2)) : m("", !0),
|
|
1644
1658
|
v("div", {
|
|
1645
1659
|
class: r(b.question.cssClasses.controlValue)
|
|
@@ -1653,8 +1667,8 @@ const an = /* @__PURE__ */ h({
|
|
|
1653
1667
|
key: 1,
|
|
1654
1668
|
class: r(b.question.cssClasses.hintSuffix)
|
|
1655
1669
|
}, [
|
|
1656
|
-
v("span",
|
|
1657
|
-
v("span", null,
|
|
1670
|
+
v("span", vn, T(s.value.inputStringRendered), 1),
|
|
1671
|
+
v("span", null, T(s.value.hintStringSuffix), 1)
|
|
1658
1672
|
], 2)) : m("", !0),
|
|
1659
1673
|
b.question.showInputFieldComponent ? (i(), g(d, {
|
|
1660
1674
|
key: 2,
|
|
@@ -1684,7 +1698,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1684
1698
|
onInput: B,
|
|
1685
1699
|
onBlur: c,
|
|
1686
1700
|
onFocus: C
|
|
1687
|
-
}, null, 42,
|
|
1701
|
+
}, null, 42, qn)
|
|
1688
1702
|
], 2),
|
|
1689
1703
|
b.question.allowClear && b.question.cssClasses.cleanButtonIconId ? A((i(), l("div", {
|
|
1690
1704
|
key: 1,
|
|
@@ -1702,7 +1716,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1702
1716
|
], 2)), [
|
|
1703
1717
|
[E, b.question.showClearButton]
|
|
1704
1718
|
]) : m("", !0)
|
|
1705
|
-
], 42,
|
|
1719
|
+
], 42, cn)),
|
|
1706
1720
|
b.question.isReadOnly ? (i(), l("div", {
|
|
1707
1721
|
key: 2,
|
|
1708
1722
|
id: b.question.inputId,
|
|
@@ -1717,8 +1731,8 @@ const an = /* @__PURE__ */ h({
|
|
|
1717
1731
|
is: "survey-string",
|
|
1718
1732
|
locString: b.question.selectedItemLocText
|
|
1719
1733
|
}, null, 8, ["locString"])) : m("", !0),
|
|
1720
|
-
v("div", null,
|
|
1721
|
-
], 10,
|
|
1734
|
+
v("div", null, T(b.question.readOnlyText), 1)
|
|
1735
|
+
], 10, gn)) : (i(), g(d, {
|
|
1722
1736
|
key: 1,
|
|
1723
1737
|
is: "sv-popup",
|
|
1724
1738
|
model: b.question.dropdownListModel.popupModel
|
|
@@ -1738,7 +1752,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1738
1752
|
], 34)) : m("", !0)
|
|
1739
1753
|
], 2));
|
|
1740
1754
|
}
|
|
1741
|
-
}),
|
|
1755
|
+
}), hn = /* @__PURE__ */ h({
|
|
1742
1756
|
inheritAttrs: !1,
|
|
1743
1757
|
__name: "Tagbox",
|
|
1744
1758
|
props: {
|
|
@@ -1762,7 +1776,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1762
1776
|
}, null, 8, ["question"])) : m("", !0)
|
|
1763
1777
|
], 2));
|
|
1764
1778
|
}
|
|
1765
|
-
}),
|
|
1779
|
+
}), Cn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], bn = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], kn = /* @__PURE__ */ h({
|
|
1766
1780
|
__name: "Tagbox",
|
|
1767
1781
|
props: {
|
|
1768
1782
|
question: {}
|
|
@@ -1770,7 +1784,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1770
1784
|
setup(u) {
|
|
1771
1785
|
const e = u, n = w(() => {
|
|
1772
1786
|
const c = e.question;
|
|
1773
|
-
return c.dropdownListModel || (c.dropdownListModel = new
|
|
1787
|
+
return c.dropdownListModel || (c.dropdownListModel = new He(c)), e.question.dropdownListModel;
|
|
1774
1788
|
}), s = (c) => {
|
|
1775
1789
|
var C;
|
|
1776
1790
|
(C = n.value) == null || C.onClick(c);
|
|
@@ -1786,7 +1800,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1786
1800
|
}, p = (c) => {
|
|
1787
1801
|
var C;
|
|
1788
1802
|
(C = n.value) == null || C.onBlur(c);
|
|
1789
|
-
}, q =
|
|
1803
|
+
}, q = x(() => e.question.selectedChoices);
|
|
1790
1804
|
return D(() => n.value), (c, C) => (i(), l("div", {
|
|
1791
1805
|
class: r(c.question.cssClasses.selectWrapper),
|
|
1792
1806
|
onClick: s
|
|
@@ -1812,7 +1826,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1812
1826
|
v("div", {
|
|
1813
1827
|
class: r(c.question.cssClasses.controlValue)
|
|
1814
1828
|
}, [
|
|
1815
|
-
(i(!0), l(
|
|
1829
|
+
(i(!0), l(R, null, $(k(q), (B, f) => (i(), g(d, {
|
|
1816
1830
|
is: "sv-tagbox-item",
|
|
1817
1831
|
item: B,
|
|
1818
1832
|
question: c.question,
|
|
@@ -1840,7 +1854,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1840
1854
|
], 2)), [
|
|
1841
1855
|
[E, c.question.showClearButton]
|
|
1842
1856
|
]) : m("", !0)
|
|
1843
|
-
], 42,
|
|
1857
|
+
], 42, Cn)),
|
|
1844
1858
|
c.question.isReadOnly ? (i(), l("div", {
|
|
1845
1859
|
key: 2,
|
|
1846
1860
|
id: c.question.inputId,
|
|
@@ -1855,7 +1869,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1855
1869
|
is: "survey-string",
|
|
1856
1870
|
locString: c.question.locReadOnlyText
|
|
1857
1871
|
}, null, 8, ["locString"])) : m("", !0)
|
|
1858
|
-
], 10,
|
|
1872
|
+
], 10, bn)) : (i(), g(d, {
|
|
1859
1873
|
key: 1,
|
|
1860
1874
|
is: "sv-popup",
|
|
1861
1875
|
model: n.value.popupModel
|
|
@@ -1875,7 +1889,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1875
1889
|
], 34)) : m("", !0)
|
|
1876
1890
|
], 2));
|
|
1877
1891
|
}
|
|
1878
|
-
}),
|
|
1892
|
+
}), fn = { style: { visibility: "hidden" } }, wn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "id", "readonly", "size"], In = /* @__PURE__ */ h({
|
|
1879
1893
|
__name: "TagboxFilter",
|
|
1880
1894
|
props: {
|
|
1881
1895
|
question: {},
|
|
@@ -1899,7 +1913,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1899
1913
|
key: 0,
|
|
1900
1914
|
class: r(a.question.cssClasses.hintPrefix)
|
|
1901
1915
|
}, [
|
|
1902
|
-
v("span", null,
|
|
1916
|
+
v("span", null, T(a.model.hintStringPrefix), 1)
|
|
1903
1917
|
], 2)) : m("", !0),
|
|
1904
1918
|
v("div", {
|
|
1905
1919
|
class: r(a.question.cssClasses.hintSuffixWrapper)
|
|
@@ -1913,8 +1927,8 @@ const an = /* @__PURE__ */ h({
|
|
|
1913
1927
|
key: 1,
|
|
1914
1928
|
class: r(a.question.cssClasses.hintSuffix)
|
|
1915
1929
|
}, [
|
|
1916
|
-
v("span",
|
|
1917
|
-
v("span", null,
|
|
1930
|
+
v("span", fn, T(a.model.inputStringRendered), 1),
|
|
1931
|
+
v("span", null, T(a.model.hintStringSuffix), 1)
|
|
1918
1932
|
], 2)) : m("", !0),
|
|
1919
1933
|
A(v("input", {
|
|
1920
1934
|
type: "text",
|
|
@@ -1938,13 +1952,13 @@ const an = /* @__PURE__ */ h({
|
|
|
1938
1952
|
onKeydown: s,
|
|
1939
1953
|
onBlur: t,
|
|
1940
1954
|
onFocus: o
|
|
1941
|
-
}, null, 42,
|
|
1942
|
-
[
|
|
1955
|
+
}, null, 42, wn), [
|
|
1956
|
+
[De, a.model.inputStringRendered]
|
|
1943
1957
|
])
|
|
1944
1958
|
], 2)
|
|
1945
1959
|
], 2));
|
|
1946
1960
|
}
|
|
1947
|
-
}),
|
|
1961
|
+
}), Sn = { class: "sv-tagbox__item-text" }, Tn = /* @__PURE__ */ h({
|
|
1948
1962
|
__name: "TagboxItem",
|
|
1949
1963
|
props: {
|
|
1950
1964
|
question: {},
|
|
@@ -1958,7 +1972,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1958
1972
|
class: "sv-tagbox__item",
|
|
1959
1973
|
key: s.item.key
|
|
1960
1974
|
}, [
|
|
1961
|
-
v("div",
|
|
1975
|
+
v("div", Sn, [
|
|
1962
1976
|
y(d, {
|
|
1963
1977
|
is: "survey-string",
|
|
1964
1978
|
locString: s.item.locText
|
|
@@ -1977,7 +1991,7 @@ const an = /* @__PURE__ */ h({
|
|
|
1977
1991
|
], 2)
|
|
1978
1992
|
]));
|
|
1979
1993
|
}
|
|
1980
|
-
}),
|
|
1994
|
+
}), Rn = /* @__PURE__ */ h({
|
|
1981
1995
|
inheritAttrs: !1,
|
|
1982
1996
|
__name: "Ranking",
|
|
1983
1997
|
props: {
|
|
@@ -2001,7 +2015,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2001
2015
|
ref_key: "root",
|
|
2002
2016
|
ref: n
|
|
2003
2017
|
}, [
|
|
2004
|
-
o.question.selectToRankEnabled ? m("", !0) : (i(!0), l(
|
|
2018
|
+
o.question.selectToRankEnabled ? m("", !0) : (i(!0), l(R, { key: 0 }, $(o.question.renderedRankingChoices, (p, q) => (i(), g(d, M({
|
|
2005
2019
|
key: p.value + "-" + q + "-item",
|
|
2006
2020
|
is: s(p)
|
|
2007
2021
|
}, t(p, q)), null, 16, ["is"]))), 128)),
|
|
@@ -2010,7 +2024,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2010
2024
|
class: r(o.question.getContainerClasses("from")),
|
|
2011
2025
|
"data-ranking": "from-container"
|
|
2012
2026
|
}, [
|
|
2013
|
-
(i(!0), l(
|
|
2027
|
+
(i(!0), l(R, null, $(o.question.renderedUnRankingChoices, (p, q) => (i(), g(d, M({
|
|
2014
2028
|
key: p.value + "-" + q + "-item",
|
|
2015
2029
|
is: s(p)
|
|
2016
2030
|
}, t(p, q, !0)), null, 16, ["is"]))), 128)),
|
|
@@ -2033,7 +2047,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2033
2047
|
class: r(o.question.getContainerClasses("to")),
|
|
2034
2048
|
"data-ranking": "to-container"
|
|
2035
2049
|
}, [
|
|
2036
|
-
(i(!0), l(
|
|
2050
|
+
(i(!0), l(R, null, $(o.question.renderedRankingChoices, (p, q) => (i(), g(d, M({
|
|
2037
2051
|
key: p.value + "-" + q + "-item",
|
|
2038
2052
|
is: s(p)
|
|
2039
2053
|
}, t(p, q)), null, 16, ["is"]))), 128)),
|
|
@@ -2049,10 +2063,10 @@ const an = /* @__PURE__ */ h({
|
|
|
2049
2063
|
], 2)) : m("", !0)
|
|
2050
2064
|
], 2));
|
|
2051
2065
|
}
|
|
2052
|
-
}),
|
|
2066
|
+
}), $n = ["tabindex", "data-sv-drop-target-ranking-item"], Dn = {
|
|
2053
2067
|
tabindex: "-1",
|
|
2054
2068
|
style: { outline: "none" }
|
|
2055
|
-
},
|
|
2069
|
+
}, Bn = ["xlink:href"], An = ["xlink:href"], Ln = ["xlink:href"], Nn = /* @__PURE__ */ h({
|
|
2056
2070
|
inheritAttrs: !1,
|
|
2057
2071
|
__name: "RankingItem",
|
|
2058
2072
|
props: {
|
|
@@ -2087,7 +2101,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2087
2101
|
);
|
|
2088
2102
|
})
|
|
2089
2103
|
}, [
|
|
2090
|
-
v("div",
|
|
2104
|
+
v("div", Dn, [
|
|
2091
2105
|
v("div", {
|
|
2092
2106
|
class: r(s.question.cssClasses.itemGhostNode)
|
|
2093
2107
|
}, null, 2),
|
|
@@ -2102,27 +2116,27 @@ const an = /* @__PURE__ */ h({
|
|
|
2102
2116
|
}, [
|
|
2103
2117
|
v("use", {
|
|
2104
2118
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2105
|
-
}, null, 8,
|
|
2119
|
+
}, null, 8, Bn)
|
|
2106
2120
|
], 2)),
|
|
2107
2121
|
(i(), l("svg", {
|
|
2108
2122
|
class: r(s.question.getIconFocusCss())
|
|
2109
2123
|
}, [
|
|
2110
2124
|
v("use", {
|
|
2111
2125
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2112
|
-
}, null, 8,
|
|
2126
|
+
}, null, 8, An)
|
|
2113
2127
|
], 2))
|
|
2114
2128
|
], 2),
|
|
2115
2129
|
!s.unrankedItem && n.value ? (i(), l("div", {
|
|
2116
2130
|
key: 0,
|
|
2117
2131
|
class: r(s.question.getItemIndexClasses(s.item))
|
|
2118
|
-
},
|
|
2132
|
+
}, T(n.value), 3)) : (i(), l("div", {
|
|
2119
2133
|
key: 1,
|
|
2120
2134
|
class: r(s.question.getItemIndexClasses(s.item))
|
|
2121
2135
|
}, [
|
|
2122
2136
|
(i(), l("svg", null, [
|
|
2123
2137
|
v("use", {
|
|
2124
2138
|
"xlink:href": s.question.dashSvgIcon
|
|
2125
|
-
}, null, 8,
|
|
2139
|
+
}, null, 8, Ln)
|
|
2126
2140
|
]))
|
|
2127
2141
|
], 2)),
|
|
2128
2142
|
y(d, {
|
|
@@ -2132,9 +2146,9 @@ const an = /* @__PURE__ */ h({
|
|
|
2132
2146
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2133
2147
|
], 2)
|
|
2134
2148
|
])
|
|
2135
|
-
], 42,
|
|
2149
|
+
], 42, $n));
|
|
2136
2150
|
}
|
|
2137
|
-
}),
|
|
2151
|
+
}), Pn = /* @__PURE__ */ h({
|
|
2138
2152
|
inheritAttrs: !1,
|
|
2139
2153
|
__name: "RankingItemContent",
|
|
2140
2154
|
props: {
|
|
@@ -2151,10 +2165,10 @@ const an = /* @__PURE__ */ h({
|
|
|
2151
2165
|
}, null, 8, ["locString"])
|
|
2152
2166
|
], 2));
|
|
2153
2167
|
}
|
|
2154
|
-
}),
|
|
2168
|
+
}), Mn = { role: "radiogroup" }, Hn = /* @__PURE__ */ v("legend", {
|
|
2155
2169
|
role: "presentation",
|
|
2156
2170
|
class: "sv-hidden"
|
|
2157
|
-
}, null, -1),
|
|
2171
|
+
}, null, -1), En = /* @__PURE__ */ h({
|
|
2158
2172
|
inheritAttrs: !1,
|
|
2159
2173
|
__name: "Rating",
|
|
2160
2174
|
props: {
|
|
@@ -2169,8 +2183,8 @@ const an = /* @__PURE__ */ h({
|
|
|
2169
2183
|
ref_key: "root",
|
|
2170
2184
|
ref: n
|
|
2171
2185
|
}, [
|
|
2172
|
-
v("fieldset",
|
|
2173
|
-
|
|
2186
|
+
v("fieldset", Mn, [
|
|
2187
|
+
Hn,
|
|
2174
2188
|
t.question.hasMinLabel ? (i(), l("span", {
|
|
2175
2189
|
key: 0,
|
|
2176
2190
|
class: r(t.question.cssClasses.minText)
|
|
@@ -2180,7 +2194,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2180
2194
|
locString: t.question.locMinRateDescription
|
|
2181
2195
|
}, null, 8, ["locString"])
|
|
2182
2196
|
], 2)) : m("", !0),
|
|
2183
|
-
(i(!0), l(
|
|
2197
|
+
(i(!0), l(R, null, $(t.question.renderedRateItems, (a, p) => (i(), g(d, {
|
|
2184
2198
|
key: s(p),
|
|
2185
2199
|
is: t.question.itemComponent,
|
|
2186
2200
|
item: a,
|
|
@@ -2199,7 +2213,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2199
2213
|
])
|
|
2200
2214
|
], 2));
|
|
2201
2215
|
}
|
|
2202
|
-
}),
|
|
2216
|
+
}), Wn = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Fn = ["data-text"], Vn = /* @__PURE__ */ h({
|
|
2203
2217
|
__name: "RatingItem",
|
|
2204
2218
|
props: {
|
|
2205
2219
|
question: {},
|
|
@@ -2226,7 +2240,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2226
2240
|
"aria-label": n.question.ariaLabel,
|
|
2227
2241
|
"aria-invalid": n.question.ariaInvalid,
|
|
2228
2242
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2229
|
-
}, null, 8,
|
|
2243
|
+
}, null, 8, Wn),
|
|
2230
2244
|
v("span", {
|
|
2231
2245
|
class: r(n.question.cssClasses.itemText),
|
|
2232
2246
|
"data-text": n.item.text
|
|
@@ -2235,10 +2249,10 @@ const an = /* @__PURE__ */ h({
|
|
|
2235
2249
|
is: "survey-string",
|
|
2236
2250
|
locString: n.item.locText
|
|
2237
2251
|
}, null, 8, ["locString"])
|
|
2238
|
-
], 10,
|
|
2252
|
+
], 10, Fn)
|
|
2239
2253
|
], 34));
|
|
2240
2254
|
}
|
|
2241
|
-
}),
|
|
2255
|
+
}), On = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], zn = /* @__PURE__ */ h({
|
|
2242
2256
|
__name: "RatingItemSmiley",
|
|
2243
2257
|
props: {
|
|
2244
2258
|
question: {},
|
|
@@ -2268,7 +2282,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2268
2282
|
"aria-label": n.question.ariaLabel,
|
|
2269
2283
|
"aria-invalid": n.question.ariaInvalid,
|
|
2270
2284
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2271
|
-
}, null, 8,
|
|
2285
|
+
}, null, 8, On),
|
|
2272
2286
|
y(d, {
|
|
2273
2287
|
is: "sv-svg-icon",
|
|
2274
2288
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
@@ -2277,7 +2291,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2277
2291
|
}, null, 8, ["iconName", "title"])
|
|
2278
2292
|
], 38));
|
|
2279
2293
|
}
|
|
2280
|
-
}),
|
|
2294
|
+
}), Un = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Kn = /* @__PURE__ */ h({
|
|
2281
2295
|
__name: "RatingItemStar",
|
|
2282
2296
|
props: {
|
|
2283
2297
|
question: {},
|
|
@@ -2306,7 +2320,7 @@ const an = /* @__PURE__ */ h({
|
|
|
2306
2320
|
"aria-label": n.question.ariaLabel,
|
|
2307
2321
|
"aria-invalid": n.question.ariaInvalid,
|
|
2308
2322
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2309
|
-
}, null, 8,
|
|
2323
|
+
}, null, 8, Un),
|
|
2310
2324
|
y(d, {
|
|
2311
2325
|
is: "sv-svg-icon",
|
|
2312
2326
|
class: r("sv-star"),
|
|
@@ -2323,10 +2337,10 @@ const an = /* @__PURE__ */ h({
|
|
|
2323
2337
|
}, null, 8, ["iconName", "title"])
|
|
2324
2338
|
], 34));
|
|
2325
2339
|
}
|
|
2326
|
-
}),
|
|
2340
|
+
}), Qn = { class: "sd-rating-dropdown-item" }, jn = { class: "sd-rating-dropdown-item_text" }, Gn = {
|
|
2327
2341
|
key: 0,
|
|
2328
2342
|
class: "sd-rating-dropdown-item_description"
|
|
2329
|
-
},
|
|
2343
|
+
}, Jn = /* @__PURE__ */ h({
|
|
2330
2344
|
__name: "RatingDropdownItem",
|
|
2331
2345
|
props: {
|
|
2332
2346
|
item: {},
|
|
@@ -2334,9 +2348,9 @@ const an = /* @__PURE__ */ h({
|
|
|
2334
2348
|
},
|
|
2335
2349
|
setup(u) {
|
|
2336
2350
|
const e = u;
|
|
2337
|
-
return D(() => e.item), (n, s) => (i(), l("div",
|
|
2338
|
-
v("span",
|
|
2339
|
-
n.item.description ? (i(), l("div",
|
|
2351
|
+
return D(() => e.item), (n, s) => (i(), l("div", Qn, [
|
|
2352
|
+
v("span", jn, T(n.item.title), 1),
|
|
2353
|
+
n.item.description ? (i(), l("div", Gn, [
|
|
2340
2354
|
y(d, {
|
|
2341
2355
|
is: "survey-string",
|
|
2342
2356
|
locString: n.item.description
|
|
@@ -2345,12 +2359,12 @@ const an = /* @__PURE__ */ h({
|
|
|
2345
2359
|
]));
|
|
2346
2360
|
}
|
|
2347
2361
|
});
|
|
2348
|
-
|
|
2362
|
+
_.Instance.registerRenderer(
|
|
2349
2363
|
"rating",
|
|
2350
2364
|
"dropdown",
|
|
2351
2365
|
"sv-rating-dropdown"
|
|
2352
2366
|
);
|
|
2353
|
-
const
|
|
2367
|
+
const Xn = /* @__PURE__ */ h({
|
|
2354
2368
|
inheritAttrs: !1,
|
|
2355
2369
|
__name: "RatingDropdown",
|
|
2356
2370
|
props: {
|
|
@@ -2369,7 +2383,7 @@ const Gn = /* @__PURE__ */ h({
|
|
|
2369
2383
|
}, null, 8, ["question"])
|
|
2370
2384
|
], 2));
|
|
2371
2385
|
}
|
|
2372
|
-
}),
|
|
2386
|
+
}), Yn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Zn = /* @__PURE__ */ h({
|
|
2373
2387
|
inheritAttrs: !1,
|
|
2374
2388
|
__name: "BooleanSwitch",
|
|
2375
2389
|
props: {
|
|
@@ -2411,7 +2425,7 @@ const Gn = /* @__PURE__ */ h({
|
|
|
2411
2425
|
"aria-describedby": o.question.a11y_input_ariaDescribedBy,
|
|
2412
2426
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
2413
2427
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
2414
|
-
}, null, 42,
|
|
2428
|
+
}, null, 42, Yn), [
|
|
2415
2429
|
[se, o.question.booleanValue]
|
|
2416
2430
|
]),
|
|
2417
2431
|
v("div", {
|
|
@@ -2463,12 +2477,12 @@ const Gn = /* @__PURE__ */ h({
|
|
|
2463
2477
|
};
|
|
2464
2478
|
}
|
|
2465
2479
|
});
|
|
2466
|
-
|
|
2480
|
+
_.Instance.registerRenderer(
|
|
2467
2481
|
"boolean",
|
|
2468
2482
|
"radio",
|
|
2469
2483
|
"sv-boolean-radio"
|
|
2470
2484
|
);
|
|
2471
|
-
const
|
|
2485
|
+
const _n = /* @__PURE__ */ h({
|
|
2472
2486
|
inheritAttrs: !1,
|
|
2473
2487
|
__name: "BooleanRadio",
|
|
2474
2488
|
props: {
|
|
@@ -2509,7 +2523,7 @@ const Yn = /* @__PURE__ */ h({
|
|
|
2509
2523
|
], 2)
|
|
2510
2524
|
], 2));
|
|
2511
2525
|
}
|
|
2512
|
-
}),
|
|
2526
|
+
}), xn = ["name", "value", "checked", "aria-errormessage", "disabled", "readonly"], eo = ["xlink:href"], so = /* @__PURE__ */ h({
|
|
2513
2527
|
__name: "BooleanRadioItem",
|
|
2514
2528
|
props: {
|
|
2515
2529
|
question: {},
|
|
@@ -2538,7 +2552,7 @@ const Yn = /* @__PURE__ */ h({
|
|
|
2538
2552
|
readonly: s.question.isReadOnlyAttr,
|
|
2539
2553
|
class: r(s.question.cssClasses.itemRadioControl),
|
|
2540
2554
|
onChange: n
|
|
2541
|
-
}, null, 42,
|
|
2555
|
+
}, null, 42, xn),
|
|
2542
2556
|
s.question.cssClasses.materialRadioDecorator ? (i(), l("span", {
|
|
2543
2557
|
key: 0,
|
|
2544
2558
|
class: r(s.question.cssClasses.materialRadioDecorator)
|
|
@@ -2549,7 +2563,7 @@ const Yn = /* @__PURE__ */ h({
|
|
|
2549
2563
|
}, [
|
|
2550
2564
|
v("use", {
|
|
2551
2565
|
"xlink:href": s.question.itemSvgIcon
|
|
2552
|
-
}, null, 8,
|
|
2566
|
+
}, null, 8, eo)
|
|
2553
2567
|
], 2)) : m("", !0)
|
|
2554
2568
|
], 2)) : m("", !0),
|
|
2555
2569
|
v("span", {
|
|
@@ -2563,13 +2577,13 @@ const Yn = /* @__PURE__ */ h({
|
|
|
2563
2577
|
], 2)
|
|
2564
2578
|
], 2));
|
|
2565
2579
|
}
|
|
2566
|
-
}),
|
|
2567
|
-
|
|
2580
|
+
}), no = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], oo = ["xlink:href"], to = /* @__PURE__ */ v("span", { class: "check" }, null, -1), io = ["id"], ro = ["id"];
|
|
2581
|
+
_.Instance.registerRenderer(
|
|
2568
2582
|
"boolean",
|
|
2569
2583
|
"checkbox",
|
|
2570
2584
|
"sv-boolean-checkbox"
|
|
2571
2585
|
);
|
|
2572
|
-
const
|
|
2586
|
+
const lo = /* @__PURE__ */ h({
|
|
2573
2587
|
inheritAttrs: !1,
|
|
2574
2588
|
__name: "BooleanCheckbox",
|
|
2575
2589
|
props: {
|
|
@@ -2605,7 +2619,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2605
2619
|
"aria-label": s.question.ariaLabel,
|
|
2606
2620
|
"aria-invalid": s.question.ariaInvalid,
|
|
2607
2621
|
"aria-errormessage": s.question.ariaErrormessage
|
|
2608
|
-
}, null, 42,
|
|
2622
|
+
}, null, 42, no), [
|
|
2609
2623
|
[se, s.question.booleanValue]
|
|
2610
2624
|
]),
|
|
2611
2625
|
v("span", {
|
|
@@ -2617,9 +2631,9 @@ const io = /* @__PURE__ */ h({
|
|
|
2617
2631
|
}, [
|
|
2618
2632
|
v("use", {
|
|
2619
2633
|
"xlink:href": s.question.svgIcon
|
|
2620
|
-
}, null, 8,
|
|
2634
|
+
}, null, 8, oo)
|
|
2621
2635
|
], 2)) : m("", !0),
|
|
2622
|
-
|
|
2636
|
+
to
|
|
2623
2637
|
], 2),
|
|
2624
2638
|
s.question.isLabelRendered ? (i(), l("span", {
|
|
2625
2639
|
key: 0,
|
|
@@ -2638,7 +2652,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2638
2652
|
element: s.question,
|
|
2639
2653
|
css: s.css
|
|
2640
2654
|
}, null, 8, ["element", "css"])) : m("", !0)
|
|
2641
|
-
], 10,
|
|
2655
|
+
], 10, io)) : m("", !0)
|
|
2642
2656
|
], 2),
|
|
2643
2657
|
s.question.canRenderLabelDescription ? (i(), l("div", {
|
|
2644
2658
|
key: 0,
|
|
@@ -2649,33 +2663,33 @@ const io = /* @__PURE__ */ h({
|
|
|
2649
2663
|
is: "survey-string",
|
|
2650
2664
|
locString: s.question.locDescription
|
|
2651
2665
|
}, null, 8, ["locString"])
|
|
2652
|
-
], 10,
|
|
2666
|
+
], 10, ro)) : m("", !0)
|
|
2653
2667
|
], 2)
|
|
2654
2668
|
], 2);
|
|
2655
2669
|
};
|
|
2656
2670
|
}
|
|
2657
|
-
}),
|
|
2671
|
+
}), ao = /* @__PURE__ */ h({
|
|
2658
2672
|
inheritAttrs: !1,
|
|
2659
2673
|
__name: "Multipletext",
|
|
2660
2674
|
props: {
|
|
2661
2675
|
question: {}
|
|
2662
2676
|
},
|
|
2663
2677
|
setup(u) {
|
|
2664
|
-
const e = u, n = I(null), s =
|
|
2678
|
+
const e = u, n = I(null), s = x(() => e.question.getRows());
|
|
2665
2679
|
return L(e, n), (t, o) => (i(), l("table", {
|
|
2666
2680
|
class: r(t.question.getQuestionRootCss()),
|
|
2667
2681
|
ref_key: "root",
|
|
2668
2682
|
ref: n
|
|
2669
2683
|
}, [
|
|
2670
2684
|
v("tbody", null, [
|
|
2671
|
-
(i(!0), l(
|
|
2685
|
+
(i(!0), l(R, null, $(k(s), (a, p) => (i(), l(R, {
|
|
2672
2686
|
key: t.question.inputId + "rowkey" + p
|
|
2673
2687
|
}, [
|
|
2674
2688
|
a.isVisible ? (i(), l("tr", {
|
|
2675
2689
|
key: 0,
|
|
2676
2690
|
class: r(t.question.cssClasses.row)
|
|
2677
2691
|
}, [
|
|
2678
|
-
(i(!0), l(
|
|
2692
|
+
(i(!0), l(R, null, $(a.cells, (q) => (i(), l("td", {
|
|
2679
2693
|
key: "item" + q.item.editor.id,
|
|
2680
2694
|
class: r(q.className)
|
|
2681
2695
|
}, [
|
|
@@ -2690,7 +2704,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2690
2704
|
])
|
|
2691
2705
|
], 2));
|
|
2692
2706
|
}
|
|
2693
|
-
}),
|
|
2707
|
+
}), uo = { key: 1 }, mo = /* @__PURE__ */ h({
|
|
2694
2708
|
__name: "MultipletextItem",
|
|
2695
2709
|
props: {
|
|
2696
2710
|
question: {},
|
|
@@ -2718,17 +2732,17 @@ const io = /* @__PURE__ */ h({
|
|
|
2718
2732
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), l("span", {
|
|
2719
2733
|
key: 0,
|
|
2720
2734
|
class: r(t.question.cssClasses.requiredText)
|
|
2721
|
-
},
|
|
2735
|
+
}, T(s.value.editor.requiredText), 3)) : m("", !0),
|
|
2722
2736
|
y(d, {
|
|
2723
2737
|
is: "survey-string",
|
|
2724
2738
|
locString: s.value.locTitle
|
|
2725
2739
|
}, null, 8, ["locString"]),
|
|
2726
|
-
s.value.editor.isRequireTextAfterTitle ? (i(), l("span",
|
|
2740
|
+
s.value.editor.isRequireTextAfterTitle ? (i(), l("span", uo, "\xA0")) : m("", !0),
|
|
2727
2741
|
s.value.editor.isRequireTextAfterTitle ? (i(), l("span", {
|
|
2728
2742
|
key: 2,
|
|
2729
2743
|
"aria-hidden": "true",
|
|
2730
2744
|
class: r(t.question.cssClasses.requiredText)
|
|
2731
|
-
},
|
|
2745
|
+
}, T(s.value.editor.requiredText), 3)) : m("", !0)
|
|
2732
2746
|
], 6),
|
|
2733
2747
|
(i(), l("div", {
|
|
2734
2748
|
key: s.value.editor.id,
|
|
@@ -2742,7 +2756,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2742
2756
|
], 34))
|
|
2743
2757
|
], 2));
|
|
2744
2758
|
}
|
|
2745
|
-
}),
|
|
2759
|
+
}), po = { class: "sv-hidden" }, co = { key: 0 }, vo = { key: 0 }, qo = ["onClick"], go = ["data-responsive-title", "onClick"], yo = /* @__PURE__ */ h({
|
|
2746
2760
|
inheritAttrs: !1,
|
|
2747
2761
|
__name: "Matrix",
|
|
2748
2762
|
props: {
|
|
@@ -2772,14 +2786,14 @@ const io = /* @__PURE__ */ h({
|
|
|
2772
2786
|
ref: n
|
|
2773
2787
|
}, [
|
|
2774
2788
|
v("fieldset", null, [
|
|
2775
|
-
v("legend",
|
|
2789
|
+
v("legend", po, T(o.question.locTitle.renderedHtml), 1),
|
|
2776
2790
|
v("table", {
|
|
2777
2791
|
class: r(o.question.getTableCss())
|
|
2778
2792
|
}, [
|
|
2779
|
-
o.question.showHeader ? (i(), l("thead",
|
|
2793
|
+
o.question.showHeader ? (i(), l("thead", co, [
|
|
2780
2794
|
v("tr", null, [
|
|
2781
|
-
o.question.hasRows ? (i(), l("td",
|
|
2782
|
-
(i(!0), l(
|
|
2795
|
+
o.question.hasRows ? (i(), l("td", vo)) : m("", !0),
|
|
2796
|
+
(i(!0), l(R, null, $(o.question.visibleColumns, (p, q) => (i(), l("th", {
|
|
2783
2797
|
key: q,
|
|
2784
2798
|
class: r(o.question.cssClasses.headerCell),
|
|
2785
2799
|
style: S({
|
|
@@ -2803,7 +2817,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2803
2817
|
])
|
|
2804
2818
|
])) : m("", !0),
|
|
2805
2819
|
v("tbody", null, [
|
|
2806
|
-
(i(!0), l(
|
|
2820
|
+
(i(!0), l(R, null, $(s.value, (p, q) => (i(), l("tr", {
|
|
2807
2821
|
key: "row_" + p.name + "_" + q,
|
|
2808
2822
|
class: r(p.rowClasses || void 0)
|
|
2809
2823
|
}, [
|
|
@@ -2829,7 +2843,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2829
2843
|
], 6), [
|
|
2830
2844
|
[E, o.question.hasRows]
|
|
2831
2845
|
]),
|
|
2832
|
-
o.question.hasCellText ? (i(!0), l(
|
|
2846
|
+
o.question.hasCellText ? (i(!0), l(R, { key: 0 }, $(o.question.visibleColumns, (c, C) => (i(), l("td", {
|
|
2833
2847
|
key: C,
|
|
2834
2848
|
class: r(o.question.getItemClass(p, c)),
|
|
2835
2849
|
onClick: (B) => t(p, c)
|
|
@@ -2838,8 +2852,8 @@ const io = /* @__PURE__ */ h({
|
|
|
2838
2852
|
is: "survey-string",
|
|
2839
2853
|
locString: o.question.getCellDisplayLocText(p.name, c)
|
|
2840
2854
|
}, null, 8, ["locString"])
|
|
2841
|
-
], 10,
|
|
2842
|
-
o.question.hasCellText ? m("", !0) : (i(!0), l(
|
|
2855
|
+
], 10, qo))), 128)) : m("", !0),
|
|
2856
|
+
o.question.hasCellText ? m("", !0) : (i(!0), l(R, { key: 1 }, $(o.question.visibleColumns, (c, C) => (i(), l("td", {
|
|
2843
2857
|
key: C,
|
|
2844
2858
|
"data-responsive-title": c.locText.renderedHtml,
|
|
2845
2859
|
class: r(o.question.cssClasses.cell),
|
|
@@ -2852,14 +2866,14 @@ const io = /* @__PURE__ */ h({
|
|
|
2852
2866
|
column: c,
|
|
2853
2867
|
columnIndex: C
|
|
2854
2868
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
2855
|
-
], 10,
|
|
2869
|
+
], 10, go))), 128))
|
|
2856
2870
|
], 2))), 128))
|
|
2857
2871
|
])
|
|
2858
2872
|
], 2)
|
|
2859
2873
|
])
|
|
2860
2874
|
], 2));
|
|
2861
2875
|
}
|
|
2862
|
-
}),
|
|
2876
|
+
}), ho = ["data-sv-drop-target-matrix-row"], Co = /* @__PURE__ */ h({
|
|
2863
2877
|
__name: "MatrixRow",
|
|
2864
2878
|
props: {
|
|
2865
2879
|
question: {},
|
|
@@ -2886,15 +2900,15 @@ const io = /* @__PURE__ */ h({
|
|
|
2886
2900
|
ref_key: "root",
|
|
2887
2901
|
ref: n
|
|
2888
2902
|
}, [
|
|
2889
|
-
(i(!0), l(
|
|
2903
|
+
(i(!0), l(R, null, $(t.row.cells, (a, p) => (i(), g(d, {
|
|
2890
2904
|
is: "survey-matrixdropdown-cell",
|
|
2891
2905
|
cell: a,
|
|
2892
2906
|
question: t.question,
|
|
2893
2907
|
key: t.row.id + "_" + p
|
|
2894
2908
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2895
|
-
], 42,
|
|
2909
|
+
], 42, ho)) : m("", !0);
|
|
2896
2910
|
}
|
|
2897
|
-
}),
|
|
2911
|
+
}), bo = ["name", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], ko = ["xlink:href"], fo = /* @__PURE__ */ h({
|
|
2898
2912
|
inheritAttrs: !1,
|
|
2899
2913
|
__name: "MatrixCell",
|
|
2900
2914
|
props: {
|
|
@@ -2924,7 +2938,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2924
2938
|
),
|
|
2925
2939
|
"aria-invalid": e.question.a11y_input_ariaInvalid,
|
|
2926
2940
|
"aria-errormessage": e.question.a11y_input_ariaErrormessage
|
|
2927
|
-
}, null, 10,
|
|
2941
|
+
}, null, 10, bo), [
|
|
2928
2942
|
[Y, e.row.value]
|
|
2929
2943
|
]),
|
|
2930
2944
|
v("span", {
|
|
@@ -2936,7 +2950,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2936
2950
|
}, [
|
|
2937
2951
|
v("use", {
|
|
2938
2952
|
"xlink:href": e.question.itemSvgIcon
|
|
2939
|
-
}, null, 8,
|
|
2953
|
+
}, null, 8, ko)
|
|
2940
2954
|
], 2)) : m("", !0)
|
|
2941
2955
|
], 2),
|
|
2942
2956
|
e.question.isMobile ? (i(), l("span", {
|
|
@@ -2950,7 +2964,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2950
2964
|
], 2)) : m("", !0)
|
|
2951
2965
|
], 34));
|
|
2952
2966
|
}
|
|
2953
|
-
}),
|
|
2967
|
+
}), wo = /* @__PURE__ */ h({
|
|
2954
2968
|
inheritAttrs: !1,
|
|
2955
2969
|
__name: "MatrixDropdown",
|
|
2956
2970
|
props: {
|
|
@@ -2965,7 +2979,7 @@ const io = /* @__PURE__ */ h({
|
|
|
2965
2979
|
ref: n
|
|
2966
2980
|
}, null, 8, ["question"]));
|
|
2967
2981
|
}
|
|
2968
|
-
}),
|
|
2982
|
+
}), Io = { key: 0 }, So = { key: 1 }, To = /* @__PURE__ */ h({
|
|
2969
2983
|
__name: "MatrixTable",
|
|
2970
2984
|
props: {
|
|
2971
2985
|
question: {}
|
|
@@ -2979,9 +2993,9 @@ const io = /* @__PURE__ */ h({
|
|
|
2979
2993
|
v("table", {
|
|
2980
2994
|
class: r(s.question.getTableCss())
|
|
2981
2995
|
}, [
|
|
2982
|
-
n.value.showHeader ? (i(), l("thead",
|
|
2996
|
+
n.value.showHeader ? (i(), l("thead", Io, [
|
|
2983
2997
|
v("tr", null, [
|
|
2984
|
-
(i(!0), l(
|
|
2998
|
+
(i(!0), l(R, null, $(n.value.headerRow.cells, (o) => (i(), l(R, null, [
|
|
2985
2999
|
o.hasTitle ? (i(), l("th", {
|
|
2986
3000
|
key: "header_" + o.id,
|
|
2987
3001
|
class: r(o.className),
|
|
@@ -3015,16 +3029,16 @@ const io = /* @__PURE__ */ h({
|
|
|
3015
3029
|
])
|
|
3016
3030
|
])) : m("", !0),
|
|
3017
3031
|
v("tbody", null, [
|
|
3018
|
-
(i(!0), l(
|
|
3032
|
+
(i(!0), l(R, null, $(n.value.renderedRows, (o) => (i(), g(d, {
|
|
3019
3033
|
key: s.question.inputId + "_" + o.id,
|
|
3020
3034
|
is: "survey-matrix-row",
|
|
3021
3035
|
row: o,
|
|
3022
3036
|
question: s.question
|
|
3023
3037
|
}, null, 8, ["row", "question"]))), 128))
|
|
3024
3038
|
]),
|
|
3025
|
-
n.value.showFooter ? (i(), l("tfoot",
|
|
3039
|
+
n.value.showFooter ? (i(), l("tfoot", So, [
|
|
3026
3040
|
v("tr", null, [
|
|
3027
|
-
(i(!0), l(
|
|
3041
|
+
(i(!0), l(R, null, $(n.value.footerRow.cells, (o, a) => (i(), g(d, {
|
|
3028
3042
|
is: "survey-matrixdropdown-cell",
|
|
3029
3043
|
cell: o,
|
|
3030
3044
|
question: s.question,
|
|
@@ -3035,7 +3049,7 @@ const io = /* @__PURE__ */ h({
|
|
|
3035
3049
|
], 2)
|
|
3036
3050
|
], 6));
|
|
3037
3051
|
}
|
|
3038
|
-
}),
|
|
3052
|
+
}), Ro = /* @__PURE__ */ v("span", null, "\xA0", -1), $o = /* @__PURE__ */ h({
|
|
3039
3053
|
__name: "MatrixHeaderRequired",
|
|
3040
3054
|
props: {
|
|
3041
3055
|
question: {},
|
|
@@ -3043,15 +3057,15 @@ const io = /* @__PURE__ */ h({
|
|
|
3043
3057
|
},
|
|
3044
3058
|
setup(u) {
|
|
3045
3059
|
const e = u;
|
|
3046
|
-
return D(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), l(
|
|
3047
|
-
|
|
3060
|
+
return D(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), l(R, { key: 0 }, [
|
|
3061
|
+
Ro,
|
|
3048
3062
|
n.column.isRenderedRequired ? (i(), l("span", {
|
|
3049
3063
|
key: 0,
|
|
3050
3064
|
class: r(n.question.cssClasses.cellRequiredText)
|
|
3051
|
-
},
|
|
3065
|
+
}, T(n.column.requiredText), 3)) : m("", !0)
|
|
3052
3066
|
], 64)) : m("", !0);
|
|
3053
3067
|
}
|
|
3054
|
-
}),
|
|
3068
|
+
}), Do = ["title", "colspan"], Bo = /* @__PURE__ */ h({
|
|
3055
3069
|
__name: "MatrixDropdownCellComp",
|
|
3056
3070
|
props: {
|
|
3057
3071
|
question: {},
|
|
@@ -3207,13 +3221,13 @@ const io = /* @__PURE__ */ h({
|
|
|
3207
3221
|
c.cell.requiredText ? (i(), l("span", {
|
|
3208
3222
|
key: 1,
|
|
3209
3223
|
class: r(c.question.cssClasses.cellRequiredText)
|
|
3210
|
-
},
|
|
3224
|
+
}, T(c.cell.requiredText), 3)) : m("", !0)
|
|
3211
3225
|
]),
|
|
3212
3226
|
_: 1
|
|
3213
3227
|
}, 8, ["is", "componentData"])) : m("", !0)
|
|
3214
|
-
], 46,
|
|
3228
|
+
], 46, Do)) : m("", !0);
|
|
3215
3229
|
}
|
|
3216
|
-
}),
|
|
3230
|
+
}), Ao = /* @__PURE__ */ h({
|
|
3217
3231
|
inheritAttrs: !1,
|
|
3218
3232
|
__name: "MatrixDynamic",
|
|
3219
3233
|
props: {
|
|
@@ -3306,7 +3320,7 @@ function oe(u, e = !0) {
|
|
|
3306
3320
|
row: e ? w(() => u.item.data.row) : void 0
|
|
3307
3321
|
};
|
|
3308
3322
|
}
|
|
3309
|
-
const
|
|
3323
|
+
const Lo = ["disabled"], No = /* @__PURE__ */ h({
|
|
3310
3324
|
__name: "RemoveButton",
|
|
3311
3325
|
props: {
|
|
3312
3326
|
item: {}
|
|
@@ -3326,9 +3340,9 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3326
3340
|
v("span", {
|
|
3327
3341
|
class: r(k(n).cssClasses.iconRemove)
|
|
3328
3342
|
}, null, 2)
|
|
3329
|
-
], 10,
|
|
3343
|
+
], 10, Lo));
|
|
3330
3344
|
}
|
|
3331
|
-
}),
|
|
3345
|
+
}), Po = ["xlink:href"], Mo = /* @__PURE__ */ h({
|
|
3332
3346
|
__name: "DragDropIcon",
|
|
3333
3347
|
props: {
|
|
3334
3348
|
item: {}
|
|
@@ -3342,14 +3356,14 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3342
3356
|
}, [
|
|
3343
3357
|
v("use", {
|
|
3344
3358
|
"xlink:href": k(n).iconDragElement
|
|
3345
|
-
}, null, 8,
|
|
3359
|
+
}, null, 8, Po)
|
|
3346
3360
|
], 2)) : (i(), l("span", {
|
|
3347
3361
|
key: 1,
|
|
3348
3362
|
class: r(k(n).cssClasses.iconDrag)
|
|
3349
3363
|
}, null, 2))
|
|
3350
3364
|
]));
|
|
3351
3365
|
}
|
|
3352
|
-
}),
|
|
3366
|
+
}), Ho = ["aria-expanded", "aria-controls"], Eo = /* @__PURE__ */ h({
|
|
3353
3367
|
__name: "DetailButton",
|
|
3354
3368
|
props: {
|
|
3355
3369
|
item: {}
|
|
@@ -3369,9 +3383,9 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3369
3383
|
iconName: k(n).getDetailPanelIconId(k(s)),
|
|
3370
3384
|
size: "auto"
|
|
3371
3385
|
}, null, 8, ["class", "iconName"])
|
|
3372
|
-
], 10,
|
|
3386
|
+
], 10, Ho));
|
|
3373
3387
|
}
|
|
3374
|
-
}),
|
|
3388
|
+
}), Wo = /* @__PURE__ */ h({
|
|
3375
3389
|
inheritAttrs: !1,
|
|
3376
3390
|
__name: "PanelDynamic",
|
|
3377
3391
|
props: {
|
|
@@ -3459,7 +3473,7 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3459
3473
|
v("div", {
|
|
3460
3474
|
class: r(p.question.cssClasses.panelsContainer)
|
|
3461
3475
|
}, [
|
|
3462
|
-
(i(!0), l(
|
|
3476
|
+
(i(!0), l(R, null, $(p.question.renderedPanels, (c, C) => (i(), l(R, {
|
|
3463
3477
|
key: c.id
|
|
3464
3478
|
}, [
|
|
3465
3479
|
v("div", {
|
|
@@ -3497,7 +3511,7 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3497
3511
|
}, null, 8, ["question"])) : m("", !0)
|
|
3498
3512
|
], 2));
|
|
3499
3513
|
}
|
|
3500
|
-
}),
|
|
3514
|
+
}), Fo = /* @__PURE__ */ h({
|
|
3501
3515
|
__name: "PanelDynamicProgress",
|
|
3502
3516
|
props: {
|
|
3503
3517
|
question: {}
|
|
@@ -3544,7 +3558,7 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3544
3558
|
], 2)
|
|
3545
3559
|
], 2));
|
|
3546
3560
|
}
|
|
3547
|
-
}),
|
|
3561
|
+
}), Vo = /* @__PURE__ */ h({
|
|
3548
3562
|
__name: "PanelDynamicProgressV2",
|
|
3549
3563
|
props: {
|
|
3550
3564
|
question: {}
|
|
@@ -3579,19 +3593,19 @@ const Bo = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3579
3593
|
], 2)) : m("", !0);
|
|
3580
3594
|
}
|
|
3581
3595
|
});
|
|
3582
|
-
function
|
|
3596
|
+
function G(u) {
|
|
3583
3597
|
return w(
|
|
3584
3598
|
() => u.item && u.item.data.question || u.data.question
|
|
3585
3599
|
);
|
|
3586
3600
|
}
|
|
3587
|
-
const
|
|
3601
|
+
const Oo = ["id"], zo = /* @__PURE__ */ h({
|
|
3588
3602
|
__name: "PaneldynamicAddBtn",
|
|
3589
3603
|
props: {
|
|
3590
3604
|
item: {},
|
|
3591
3605
|
data: {}
|
|
3592
3606
|
},
|
|
3593
3607
|
setup(u) {
|
|
3594
|
-
const n =
|
|
3608
|
+
const n = G(u), s = () => {
|
|
3595
3609
|
n.value.addPanelUI();
|
|
3596
3610
|
};
|
|
3597
3611
|
return (t, o) => k(n).canAddPanel ? (i(), l("button", {
|
|
@@ -3609,16 +3623,16 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3609
3623
|
locString: k(n).locPanelAddText
|
|
3610
3624
|
}, null, 8, ["locString"])
|
|
3611
3625
|
], 2)
|
|
3612
|
-
], 10,
|
|
3626
|
+
], 10, Oo)) : m("", !0);
|
|
3613
3627
|
}
|
|
3614
|
-
}),
|
|
3628
|
+
}), Uo = ["title"], Ko = /* @__PURE__ */ h({
|
|
3615
3629
|
__name: "PaneldynamicNextBtn",
|
|
3616
3630
|
props: {
|
|
3617
3631
|
item: {},
|
|
3618
3632
|
data: {}
|
|
3619
3633
|
},
|
|
3620
3634
|
setup(u) {
|
|
3621
|
-
const n =
|
|
3635
|
+
const n = G(u), s = () => {
|
|
3622
3636
|
n.value.goToNextPanel();
|
|
3623
3637
|
};
|
|
3624
3638
|
return (t, o) => (i(), l("div", {
|
|
@@ -3631,16 +3645,16 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3631
3645
|
iconName: k(n).cssClasses.progressBtnIcon,
|
|
3632
3646
|
size: "auto"
|
|
3633
3647
|
}, null, 8, ["iconName"])
|
|
3634
|
-
], 10,
|
|
3648
|
+
], 10, Uo));
|
|
3635
3649
|
}
|
|
3636
|
-
}),
|
|
3650
|
+
}), Qo = ["title"], jo = /* @__PURE__ */ h({
|
|
3637
3651
|
__name: "PaneldynamicPrevBtn",
|
|
3638
3652
|
props: {
|
|
3639
3653
|
item: {},
|
|
3640
3654
|
data: {}
|
|
3641
3655
|
},
|
|
3642
3656
|
setup(u) {
|
|
3643
|
-
const n =
|
|
3657
|
+
const n = G(u), s = () => {
|
|
3644
3658
|
n.value.goToPrevPanel();
|
|
3645
3659
|
};
|
|
3646
3660
|
return (t, o) => (i(), l("div", {
|
|
@@ -3653,16 +3667,16 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3653
3667
|
iconName: k(n).cssClasses.progressBtnIcon,
|
|
3654
3668
|
size: "auto"
|
|
3655
3669
|
}, null, 8, ["iconName"])
|
|
3656
|
-
], 10,
|
|
3670
|
+
], 10, Qo));
|
|
3657
3671
|
}
|
|
3658
|
-
}),
|
|
3672
|
+
}), Go = /* @__PURE__ */ h({
|
|
3659
3673
|
__name: "PaneldynamicRemoveBtn",
|
|
3660
3674
|
props: {
|
|
3661
3675
|
item: {},
|
|
3662
3676
|
data: {}
|
|
3663
3677
|
},
|
|
3664
3678
|
setup(u) {
|
|
3665
|
-
const e = u, n =
|
|
3679
|
+
const e = u, n = G(e), s = w(
|
|
3666
3680
|
() => e.item && e.item.data.panel || e.data.panel
|
|
3667
3681
|
), t = (o) => {
|
|
3668
3682
|
n.value.isInputReadOnly || n.value.removePanelUI(o);
|
|
@@ -3685,19 +3699,19 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3685
3699
|
}, null, 2)
|
|
3686
3700
|
], 2));
|
|
3687
3701
|
}
|
|
3688
|
-
}),
|
|
3702
|
+
}), Jo = /* @__PURE__ */ h({
|
|
3689
3703
|
__name: "PaneldynamicProgressText",
|
|
3690
3704
|
props: {
|
|
3691
3705
|
item: {},
|
|
3692
3706
|
data: {}
|
|
3693
3707
|
},
|
|
3694
3708
|
setup(u) {
|
|
3695
|
-
const n =
|
|
3709
|
+
const n = G(u);
|
|
3696
3710
|
return (s, t) => (i(), l("div", {
|
|
3697
3711
|
class: r(k(n).cssClasses.progressText)
|
|
3698
|
-
},
|
|
3712
|
+
}, T(k(n).progressText), 3));
|
|
3699
3713
|
}
|
|
3700
|
-
}),
|
|
3714
|
+
}), Xo = ["id"], Yo = /* @__PURE__ */ h({
|
|
3701
3715
|
__name: "Errors",
|
|
3702
3716
|
props: {
|
|
3703
3717
|
element: {},
|
|
@@ -3714,7 +3728,7 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3714
3728
|
ref_key: "root",
|
|
3715
3729
|
ref: e
|
|
3716
3730
|
}, [
|
|
3717
|
-
(i(!0), l(
|
|
3731
|
+
(i(!0), l(R, null, $(n.element.errors, (t, o) => (i(), g(d, {
|
|
3718
3732
|
is: n.element.survey.questionErrorComponent,
|
|
3719
3733
|
element: n.element,
|
|
3720
3734
|
key: "error_" + o,
|
|
@@ -3722,21 +3736,21 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3722
3736
|
error: t,
|
|
3723
3737
|
cssClasses: n.element.cssClasses
|
|
3724
3738
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3725
|
-
], 10,
|
|
3739
|
+
], 10, Xo)) : m("", !0);
|
|
3726
3740
|
}
|
|
3727
|
-
}),
|
|
3741
|
+
}), Zo = { key: 0 }, _o = /* @__PURE__ */ h({
|
|
3728
3742
|
__name: "QuestionComment",
|
|
3729
3743
|
props: {
|
|
3730
3744
|
question: {}
|
|
3731
3745
|
},
|
|
3732
3746
|
setup(u) {
|
|
3733
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), l("div",
|
|
3747
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), l("div", Zo, T(e.question.comment), 1)) : (i(), g(d, {
|
|
3734
3748
|
key: 1,
|
|
3735
3749
|
is: "sv-text-area",
|
|
3736
3750
|
model: e.question.commentTextAreaModel
|
|
3737
3751
|
}, null, 8, ["model"]));
|
|
3738
3752
|
}
|
|
3739
|
-
}),
|
|
3753
|
+
}), xo = /* @__PURE__ */ h({
|
|
3740
3754
|
__name: "TitleElement",
|
|
3741
3755
|
props: {
|
|
3742
3756
|
element: {},
|
|
@@ -3744,7 +3758,7 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3744
3758
|
},
|
|
3745
3759
|
setup(u) {
|
|
3746
3760
|
const e = (n) => {
|
|
3747
|
-
|
|
3761
|
+
ge(n);
|
|
3748
3762
|
};
|
|
3749
3763
|
return (n, s) => n.element.hasTitle ? (i(), g(ce(n.element.titleTagName), {
|
|
3750
3764
|
key: 0,
|
|
@@ -3775,7 +3789,7 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3775
3789
|
_: 1
|
|
3776
3790
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : m("", !0);
|
|
3777
3791
|
}
|
|
3778
|
-
}),
|
|
3792
|
+
}), et = { key: 3 }, st = { key: 5 }, nt = { key: 7 }, ot = /* @__PURE__ */ h({
|
|
3779
3793
|
inheritAttrs: !1,
|
|
3780
3794
|
__name: "TitleContent",
|
|
3781
3795
|
props: {
|
|
@@ -3786,7 +3800,7 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3786
3800
|
const e = u;
|
|
3787
3801
|
return w(
|
|
3788
3802
|
() => (e.element.isPanel ? e.element.cssClasses.panel : e.element.cssClasses) || {}
|
|
3789
|
-
), (n, s) => (i(), l(
|
|
3803
|
+
), (n, s) => (i(), l(R, null, [
|
|
3790
3804
|
n.element.isTitleRenderedAsString ? (i(), g(d, {
|
|
3791
3805
|
key: 0,
|
|
3792
3806
|
is: "survey-string",
|
|
@@ -3796,34 +3810,34 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3796
3810
|
key: 1,
|
|
3797
3811
|
class: r(n.element.cssRequiredText),
|
|
3798
3812
|
"aria-hidden": !0
|
|
3799
|
-
},
|
|
3813
|
+
}, T(n.element.requiredText), 3)) : m("", !0),
|
|
3800
3814
|
!n.element.isTitleRenderedAsString && n.element.no ? (i(), l("span", {
|
|
3801
3815
|
key: 2,
|
|
3802
3816
|
style: { position: "static" },
|
|
3803
3817
|
class: r(n.element.cssTitleNumber),
|
|
3804
3818
|
"aria-hidden": !0
|
|
3805
|
-
},
|
|
3806
|
-
!n.element.isTitleRenderedAsString && n.element.no ? (i(), l("span",
|
|
3819
|
+
}, T(n.element.no), 3)) : m("", !0),
|
|
3820
|
+
!n.element.isTitleRenderedAsString && n.element.no ? (i(), l("span", et, "\xA0")) : m("", !0),
|
|
3807
3821
|
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (i(), l("span", {
|
|
3808
3822
|
key: 4,
|
|
3809
3823
|
class: r(n.element.cssRequiredText),
|
|
3810
3824
|
"aria-hidden": !0
|
|
3811
|
-
},
|
|
3812
|
-
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (i(), l("span",
|
|
3825
|
+
}, T(n.element.requiredText), 3)) : m("", !0),
|
|
3826
|
+
!n.element.isTitleRenderedAsString && n.element.isRequireTextBeforeTitle ? (i(), l("span", st, "\xA0")) : m("", !0),
|
|
3813
3827
|
n.element.isTitleRenderedAsString ? m("", !0) : (i(), g(d, {
|
|
3814
3828
|
key: 6,
|
|
3815
3829
|
is: "survey-string",
|
|
3816
3830
|
locString: n.element.locTitle
|
|
3817
3831
|
}, null, 8, ["locString"])),
|
|
3818
|
-
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (i(), l("span",
|
|
3832
|
+
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (i(), l("span", nt, "\xA0")) : m("", !0),
|
|
3819
3833
|
!n.element.isTitleRenderedAsString && n.element.isRequireTextAfterTitle ? (i(), l("span", {
|
|
3820
3834
|
key: 8,
|
|
3821
3835
|
class: r(n.element.cssRequiredText),
|
|
3822
3836
|
"aria-hidden": !0
|
|
3823
|
-
},
|
|
3837
|
+
}, T(n.element.requiredText), 3)) : m("", !0)
|
|
3824
3838
|
], 64));
|
|
3825
3839
|
}
|
|
3826
|
-
}),
|
|
3840
|
+
}), tt = { class: "sv-title-actions" }, it = { class: "sv-title-actions__title" }, rt = /* @__PURE__ */ h({
|
|
3827
3841
|
__name: "TitleActions",
|
|
3828
3842
|
props: {
|
|
3829
3843
|
element: {},
|
|
@@ -3831,8 +3845,8 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3831
3845
|
},
|
|
3832
3846
|
setup(u) {
|
|
3833
3847
|
const e = u, n = w(() => e.element.getTitleToolbar());
|
|
3834
|
-
return (s, t) => (i(), l("div",
|
|
3835
|
-
v("span",
|
|
3848
|
+
return (s, t) => (i(), l("div", tt, [
|
|
3849
|
+
v("span", it, [
|
|
3836
3850
|
s.element.isPage ? (i(), g(d, {
|
|
3837
3851
|
key: 0,
|
|
3838
3852
|
is: "survey-string",
|
|
@@ -3851,20 +3865,20 @@ const Fo = ["id"], Vo = /* @__PURE__ */ h({
|
|
|
3851
3865
|
}, null, 8, ["model"])
|
|
3852
3866
|
]));
|
|
3853
3867
|
}
|
|
3854
|
-
}),
|
|
3868
|
+
}), lt = (u, e) => {
|
|
3855
3869
|
const n = u.__vccOpts || u;
|
|
3856
3870
|
for (const [s, t] of e)
|
|
3857
3871
|
n[s] = t;
|
|
3858
3872
|
return n;
|
|
3859
|
-
},
|
|
3860
|
-
|
|
3873
|
+
}, at = {}, ut = { class: "sv-brand-info" }, dt = /* @__PURE__ */ Be('<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 = [
|
|
3874
|
+
dt
|
|
3861
3875
|
];
|
|
3862
|
-
function
|
|
3863
|
-
return i(), l("div",
|
|
3876
|
+
function pt(u, e) {
|
|
3877
|
+
return i(), l("div", ut, mt);
|
|
3864
3878
|
}
|
|
3865
|
-
const
|
|
3866
|
-
|
|
3867
|
-
],
|
|
3879
|
+
const ct = /* @__PURE__ */ lt(at, [["render", pt]]), vt = /* @__PURE__ */ v("use", null, null, -1), qt = [
|
|
3880
|
+
vt
|
|
3881
|
+
], gt = /* @__PURE__ */ h({
|
|
3868
3882
|
__name: "SvgIcon",
|
|
3869
3883
|
props: {
|
|
3870
3884
|
size: {},
|
|
@@ -3875,7 +3889,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3875
3889
|
},
|
|
3876
3890
|
setup(u) {
|
|
3877
3891
|
const e = u, n = I(), s = () => {
|
|
3878
|
-
|
|
3892
|
+
Ee(
|
|
3879
3893
|
e.size,
|
|
3880
3894
|
e.width,
|
|
3881
3895
|
e.height,
|
|
@@ -3884,7 +3898,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3884
3898
|
e.title
|
|
3885
3899
|
);
|
|
3886
3900
|
};
|
|
3887
|
-
return
|
|
3901
|
+
return Z(() => {
|
|
3888
3902
|
s();
|
|
3889
3903
|
}), P(() => {
|
|
3890
3904
|
s();
|
|
@@ -3893,9 +3907,9 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3893
3907
|
ref: n,
|
|
3894
3908
|
class: "sv-svg-icon",
|
|
3895
3909
|
role: "img"
|
|
3896
|
-
},
|
|
3910
|
+
}, qt, 512));
|
|
3897
3911
|
}
|
|
3898
|
-
}),
|
|
3912
|
+
}), yt = /* @__PURE__ */ h({
|
|
3899
3913
|
__name: "QuestionError",
|
|
3900
3914
|
props: {
|
|
3901
3915
|
errorKey: {},
|
|
@@ -3923,7 +3937,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3923
3937
|
], 2)
|
|
3924
3938
|
]));
|
|
3925
3939
|
}
|
|
3926
|
-
}),
|
|
3940
|
+
}), ht = /* @__PURE__ */ h({
|
|
3927
3941
|
__name: "ActionBar",
|
|
3928
3942
|
props: {
|
|
3929
3943
|
model: {},
|
|
@@ -3935,7 +3949,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3935
3949
|
e.handleClick && o.stopPropagation();
|
|
3936
3950
|
};
|
|
3937
3951
|
D(() => e.model);
|
|
3938
|
-
const t =
|
|
3952
|
+
const t = x(() => e.model.renderedActions);
|
|
3939
3953
|
return P(() => {
|
|
3940
3954
|
!e.model.hasActions || e.model.initResponsivityManager(n.value);
|
|
3941
3955
|
}), F(() => {
|
|
@@ -3947,14 +3961,14 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3947
3961
|
class: r(o.model.getRootCss()),
|
|
3948
3962
|
onClick: s
|
|
3949
3963
|
}, [
|
|
3950
|
-
(i(!0), l(
|
|
3964
|
+
(i(!0), l(R, null, $(k(t), (p) => (i(), g(d, {
|
|
3951
3965
|
is: "sv-action",
|
|
3952
3966
|
key: p.id,
|
|
3953
3967
|
item: p
|
|
3954
3968
|
}, null, 8, ["item"]))), 128))
|
|
3955
3969
|
], 2)) : m("", !0);
|
|
3956
3970
|
}
|
|
3957
|
-
}),
|
|
3971
|
+
}), Ct = ["id"], bt = { class: "sv-action__content" }, kt = /* @__PURE__ */ h({
|
|
3958
3972
|
__name: "Action",
|
|
3959
3973
|
props: {
|
|
3960
3974
|
item: {}
|
|
@@ -3967,7 +3981,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3967
3981
|
class: r(s.item.getActionRootCss()),
|
|
3968
3982
|
id: s.item.id
|
|
3969
3983
|
}, [
|
|
3970
|
-
v("div",
|
|
3984
|
+
v("div", bt, [
|
|
3971
3985
|
s.item.needSeparator ? (i(), g(d, {
|
|
3972
3986
|
key: 0,
|
|
3973
3987
|
is: "sv-action-bar-separator"
|
|
@@ -3977,7 +3991,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3977
3991
|
item: s.item
|
|
3978
3992
|
}, null, 8, ["is", "item"])
|
|
3979
3993
|
])
|
|
3980
|
-
], 10,
|
|
3994
|
+
], 10, Ct));
|
|
3981
3995
|
}
|
|
3982
3996
|
}), j = {
|
|
3983
3997
|
mounted: function(u, e) {
|
|
@@ -3986,16 +4000,16 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
3986
4000
|
u.tabIndex = -1;
|
|
3987
4001
|
return;
|
|
3988
4002
|
}
|
|
3989
|
-
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(),
|
|
3990
|
-
|
|
4003
|
+
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), ge(s, n), !1)), u.addEventListener("keydown", (s) => {
|
|
4004
|
+
We(s, n);
|
|
3991
4005
|
}), u.addEventListener("blur", (s) => {
|
|
3992
|
-
|
|
4006
|
+
Fe(s);
|
|
3993
4007
|
});
|
|
3994
4008
|
}
|
|
3995
|
-
},
|
|
4009
|
+
}, ft = ["disabled", "title", "aria-checked", "aria-expanded", "role"], wt = {
|
|
3996
4010
|
inheritAttrs: !1
|
|
3997
|
-
},
|
|
3998
|
-
...
|
|
4011
|
+
}, It = /* @__PURE__ */ h({
|
|
4012
|
+
...wt,
|
|
3999
4013
|
__name: "ActionBarItem",
|
|
4000
4014
|
props: {
|
|
4001
4015
|
item: {}
|
|
@@ -4034,31 +4048,31 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4034
4048
|
n.item.hasTitle ? (i(), l("span", {
|
|
4035
4049
|
key: 1,
|
|
4036
4050
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4037
|
-
},
|
|
4038
|
-
], 42,
|
|
4051
|
+
}, T(n.item.title), 3)) : m("", !0)
|
|
4052
|
+
], 42, ft)), [
|
|
4039
4053
|
[k(j), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4040
4054
|
]);
|
|
4041
4055
|
}
|
|
4042
|
-
}),
|
|
4056
|
+
}), St = ["disabled", "title", "role"], Tt = {
|
|
4043
4057
|
inheritAttrs: !1
|
|
4044
|
-
},
|
|
4045
|
-
...
|
|
4058
|
+
}, Rt = /* @__PURE__ */ h({
|
|
4059
|
+
...Tt,
|
|
4046
4060
|
__name: "ActionBarItemDropdown",
|
|
4047
4061
|
props: {
|
|
4048
4062
|
item: {}
|
|
4049
4063
|
},
|
|
4050
4064
|
setup(u) {
|
|
4051
|
-
const e = u, n =
|
|
4065
|
+
const e = u, n = Oe;
|
|
4052
4066
|
let s;
|
|
4053
4067
|
return D(
|
|
4054
4068
|
() => e.item,
|
|
4055
4069
|
(t) => {
|
|
4056
|
-
s = new
|
|
4070
|
+
s = new Ve(t);
|
|
4057
4071
|
},
|
|
4058
4072
|
() => {
|
|
4059
4073
|
s.dispose();
|
|
4060
4074
|
}
|
|
4061
|
-
), (t, o) => (i(), l(
|
|
4075
|
+
), (t, o) => (i(), l(R, null, [
|
|
4062
4076
|
A((i(), l("button", {
|
|
4063
4077
|
type: "button",
|
|
4064
4078
|
class: r(t.item.getActionBarItemCss()),
|
|
@@ -4083,8 +4097,8 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4083
4097
|
t.item.hasTitle ? (i(), l("span", {
|
|
4084
4098
|
key: 1,
|
|
4085
4099
|
class: r(t.item.getActionBarItemTitleCss())
|
|
4086
|
-
},
|
|
4087
|
-
], 42,
|
|
4100
|
+
}, T(t.item.title), 3)) : m("", !0)
|
|
4101
|
+
], 42, St)), [
|
|
4088
4102
|
[k(j), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4089
4103
|
]),
|
|
4090
4104
|
y(d, {
|
|
@@ -4094,7 +4108,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4094
4108
|
}, null, 8, ["model", "getTarget"])
|
|
4095
4109
|
], 64));
|
|
4096
4110
|
}
|
|
4097
|
-
}),
|
|
4111
|
+
}), $t = /* @__PURE__ */ h({
|
|
4098
4112
|
__name: "ActionBarSeparator",
|
|
4099
4113
|
props: {
|
|
4100
4114
|
item: {}
|
|
@@ -4105,7 +4119,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4105
4119
|
class: r(["sv-action-bar-separator", n.value])
|
|
4106
4120
|
}, null, 2));
|
|
4107
4121
|
}
|
|
4108
|
-
}),
|
|
4122
|
+
}), Dt = ["aria-label", "placeholder", "value"], Bt = ["aria-label"], At = ["id"], Lt = /* @__PURE__ */ h({
|
|
4109
4123
|
__name: "List",
|
|
4110
4124
|
props: {
|
|
4111
4125
|
model: {}
|
|
@@ -4119,7 +4133,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4119
4133
|
q.filterString = p.target.value, e.model.goToItems(p);
|
|
4120
4134
|
}, o = (p) => {
|
|
4121
4135
|
e.model.onMouseMove(p);
|
|
4122
|
-
}, a =
|
|
4136
|
+
}, a = x(() => e.model.renderedActions);
|
|
4123
4137
|
return D(() => e.model), P(() => {
|
|
4124
4138
|
e.model.initListContainerHtmlElement(n.value);
|
|
4125
4139
|
}), (p, q) => (i(), l("div", {
|
|
@@ -4148,7 +4162,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4148
4162
|
value: p.model.filterString,
|
|
4149
4163
|
onChange: s,
|
|
4150
4164
|
onKeyup: t
|
|
4151
|
-
}, null, 42,
|
|
4165
|
+
}, null, 42, Dt),
|
|
4152
4166
|
p.model.showSearchClearButton && !!p.model.filterString ? (i(), l("button", {
|
|
4153
4167
|
key: 0,
|
|
4154
4168
|
onClick: q[0] || (q[0] = (c) => {
|
|
@@ -4169,7 +4183,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4169
4183
|
v("div", {
|
|
4170
4184
|
class: r(p.model.cssClasses.emptyText),
|
|
4171
4185
|
"aria-label": p.model.emptyMessage
|
|
4172
|
-
},
|
|
4186
|
+
}, T(p.model.emptyMessage), 11, Bt)
|
|
4173
4187
|
], 2), [
|
|
4174
4188
|
[E, p.model.isEmpty]
|
|
4175
4189
|
]),
|
|
@@ -4186,18 +4200,18 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4186
4200
|
p.model.onKeyDown(c);
|
|
4187
4201
|
})
|
|
4188
4202
|
}, [
|
|
4189
|
-
(i(!0), l(
|
|
4203
|
+
(i(!0), l(R, null, $(k(a), (c) => (i(), g(d, {
|
|
4190
4204
|
is: "sv-list-item",
|
|
4191
4205
|
item: c,
|
|
4192
4206
|
model: p.model,
|
|
4193
4207
|
key: c.id
|
|
4194
4208
|
}, null, 8, ["item", "model"]))), 128))
|
|
4195
|
-
], 42,
|
|
4209
|
+
], 42, At)), [
|
|
4196
4210
|
[E, !p.model.isEmpty]
|
|
4197
4211
|
]) : m("", !0)
|
|
4198
4212
|
], 2));
|
|
4199
4213
|
}
|
|
4200
|
-
}),
|
|
4214
|
+
}), Nt = ["aria-selected", "id", "tabindex"], Pt = ["title"], Mt = /* @__PURE__ */ h({
|
|
4201
4215
|
__name: "ListItem",
|
|
4202
4216
|
props: {
|
|
4203
4217
|
model: {},
|
|
@@ -4241,13 +4255,13 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4241
4255
|
item: o.item,
|
|
4242
4256
|
model: o.model
|
|
4243
4257
|
}, null, 8, ["is", "item", "model"])
|
|
4244
|
-
], 46,
|
|
4245
|
-
], 42,
|
|
4258
|
+
], 46, Pt)
|
|
4259
|
+
], 42, Nt)), [
|
|
4246
4260
|
[E, o.model.isItemVisible(o.item)],
|
|
4247
4261
|
[k(j), { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4248
4262
|
]);
|
|
4249
4263
|
}
|
|
4250
|
-
}),
|
|
4264
|
+
}), Ht = /* @__PURE__ */ h({
|
|
4251
4265
|
__name: "ListItemContent",
|
|
4252
4266
|
props: {
|
|
4253
4267
|
model: {},
|
|
@@ -4255,7 +4269,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4255
4269
|
},
|
|
4256
4270
|
setup(u) {
|
|
4257
4271
|
const e = u;
|
|
4258
|
-
return D(() => e.item), (n, s) => (i(), l(
|
|
4272
|
+
return D(() => e.item), (n, s) => (i(), l(R, null, [
|
|
4259
4273
|
n.item.iconName ? (i(), g(d, {
|
|
4260
4274
|
key: 0,
|
|
4261
4275
|
is: "sv-svg-icon",
|
|
@@ -4276,7 +4290,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4276
4290
|
}, null, 8, ["class", "iconName", "size"])) : m("", !0)
|
|
4277
4291
|
], 64));
|
|
4278
4292
|
}
|
|
4279
|
-
}),
|
|
4293
|
+
}), Et = /* @__PURE__ */ h({
|
|
4280
4294
|
__name: "ListItemGroup",
|
|
4281
4295
|
props: {
|
|
4282
4296
|
model: {},
|
|
@@ -4284,7 +4298,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4284
4298
|
},
|
|
4285
4299
|
setup(u) {
|
|
4286
4300
|
const e = u;
|
|
4287
|
-
return D(() => e.item), (n, s) => (i(), l(
|
|
4301
|
+
return D(() => e.item), (n, s) => (i(), l(R, null, [
|
|
4288
4302
|
y(d, {
|
|
4289
4303
|
is: "sv-list-item-content",
|
|
4290
4304
|
item: n.item,
|
|
@@ -4296,7 +4310,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4296
4310
|
}, null, 8, ["model"])
|
|
4297
4311
|
], 64));
|
|
4298
4312
|
}
|
|
4299
|
-
}),
|
|
4313
|
+
}), Wt = /* @__PURE__ */ h({
|
|
4300
4314
|
__name: "Popup",
|
|
4301
4315
|
props: {
|
|
4302
4316
|
getTarget: { type: Function },
|
|
@@ -4315,7 +4329,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4315
4329
|
return O(
|
|
4316
4330
|
() => e.model,
|
|
4317
4331
|
(o) => {
|
|
4318
|
-
n.value && n.value.dispose(), n.value =
|
|
4332
|
+
n.value && n.value.dispose(), n.value = ze(o, void 0), t();
|
|
4319
4333
|
},
|
|
4320
4334
|
{ immediate: !0 }
|
|
4321
4335
|
), D(() => n.value), P(() => {
|
|
@@ -4332,13 +4346,13 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4332
4346
|
}, null, 8, ["model"])
|
|
4333
4347
|
], 512));
|
|
4334
4348
|
}
|
|
4335
|
-
}),
|
|
4349
|
+
}), Ft = { class: "sv-popup__body-content" }, Vt = {
|
|
4336
4350
|
key: 0,
|
|
4337
4351
|
class: "sv-popup__body-header"
|
|
4338
|
-
},
|
|
4352
|
+
}, Ot = { class: "sv-popup__scrolling-content" }, zt = { class: "sv-popup__content" }, Ut = {
|
|
4339
4353
|
key: 1,
|
|
4340
4354
|
class: "sv-popup__body-footer"
|
|
4341
|
-
},
|
|
4355
|
+
}, Kt = /* @__PURE__ */ h({
|
|
4342
4356
|
__name: "PopupContainer",
|
|
4343
4357
|
props: {
|
|
4344
4358
|
model: {}
|
|
@@ -4347,7 +4361,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4347
4361
|
const e = u, n = (s) => {
|
|
4348
4362
|
s.stopPropagation();
|
|
4349
4363
|
};
|
|
4350
|
-
return D(() => e.model),
|
|
4364
|
+
return D(() => e.model), Z(() => {
|
|
4351
4365
|
const s = e.model;
|
|
4352
4366
|
s.isVisible && !s.isPositionSet && e.model.updateOnShowing();
|
|
4353
4367
|
}), P(() => {
|
|
@@ -4378,16 +4392,16 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4378
4392
|
is: s.model.popupHeaderTemplate,
|
|
4379
4393
|
model: s.model
|
|
4380
4394
|
}, null, 8, ["is", "model"])) : m("", !0),
|
|
4381
|
-
v("div",
|
|
4382
|
-
s.model.title ? (i(), l("div",
|
|
4383
|
-
v("div",
|
|
4384
|
-
v("div",
|
|
4395
|
+
v("div", Ft, [
|
|
4396
|
+
s.model.title ? (i(), l("div", Vt, T(s.model.title), 1)) : m("", !0),
|
|
4397
|
+
v("div", Ot, [
|
|
4398
|
+
v("div", zt, [
|
|
4385
4399
|
y(d, M({
|
|
4386
4400
|
is: s.model.contentComponentName
|
|
4387
4401
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4388
4402
|
])
|
|
4389
4403
|
]),
|
|
4390
|
-
s.model.showFooter ? (i(), l("div",
|
|
4404
|
+
s.model.showFooter ? (i(), l("div", Ut, [
|
|
4391
4405
|
y(d, {
|
|
4392
4406
|
is: "sv-action-bar",
|
|
4393
4407
|
model: s.model.footerToolbar
|
|
@@ -4399,7 +4413,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4399
4413
|
[E, s.model.isVisible]
|
|
4400
4414
|
]);
|
|
4401
4415
|
}
|
|
4402
|
-
}),
|
|
4416
|
+
}), Qt = /* @__PURE__ */ h({
|
|
4403
4417
|
__name: "PopupPointer",
|
|
4404
4418
|
props: {
|
|
4405
4419
|
model: {}
|
|
@@ -4413,7 +4427,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4413
4427
|
})
|
|
4414
4428
|
}, null, 4));
|
|
4415
4429
|
}
|
|
4416
|
-
}),
|
|
4430
|
+
}), jt = /* @__PURE__ */ h({
|
|
4417
4431
|
__name: "Container",
|
|
4418
4432
|
props: {
|
|
4419
4433
|
survey: {},
|
|
@@ -4424,19 +4438,19 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4424
4438
|
const e = u, n = w(
|
|
4425
4439
|
() => e.survey.getContainerContent(e.container)
|
|
4426
4440
|
);
|
|
4427
|
-
return (s, t) => n.value.length > 0 ? (i(), l(
|
|
4441
|
+
return (s, t) => n.value.length > 0 ? (i(), l(R, { key: 0 }, [
|
|
4428
4442
|
s.needRenderWrapper ? (i(), l("div", {
|
|
4429
4443
|
key: 0,
|
|
4430
4444
|
class: r(["sv-components-column", "sv-components-container-" + s.container])
|
|
4431
4445
|
}, [
|
|
4432
|
-
(i(!0), l(
|
|
4446
|
+
(i(!0), l(R, null, $(n.value, (o) => (i(), g(d, {
|
|
4433
4447
|
key: o.id,
|
|
4434
4448
|
is: o.component,
|
|
4435
4449
|
survey: s.survey,
|
|
4436
4450
|
container: s.container,
|
|
4437
4451
|
model: o.data
|
|
4438
4452
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4439
|
-
], 2)) : (i(!0), l(
|
|
4453
|
+
], 2)) : (i(!0), l(R, { key: 1 }, $(n.value, (o) => (i(), g(d, {
|
|
4440
4454
|
key: o.id,
|
|
4441
4455
|
is: o.component,
|
|
4442
4456
|
survey: s.survey,
|
|
@@ -4467,14 +4481,14 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4467
4481
|
}, [
|
|
4468
4482
|
v("span", {
|
|
4469
4483
|
class: r(s(o.survey.css))
|
|
4470
|
-
},
|
|
4484
|
+
}, T(o.survey.progressText), 3)
|
|
4471
4485
|
], 6),
|
|
4472
4486
|
v("span", {
|
|
4473
4487
|
class: r(t(o.survey.css))
|
|
4474
|
-
},
|
|
4488
|
+
}, T(o.survey.progressText), 3)
|
|
4475
4489
|
], 2));
|
|
4476
4490
|
}
|
|
4477
|
-
}),
|
|
4491
|
+
}), Gt = ["title"], Jt = ["onClick", "data-page-number"], Xt = ["title"], Yt = ["title"], Zt = ["title"], _t = /* @__PURE__ */ h({
|
|
4478
4492
|
__name: "ProgressButtons",
|
|
4479
4493
|
props: {
|
|
4480
4494
|
survey: {},
|
|
@@ -4490,7 +4504,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4490
4504
|
};
|
|
4491
4505
|
return P(() => {
|
|
4492
4506
|
const C = a.value;
|
|
4493
|
-
q = new
|
|
4507
|
+
q = new Ue(e.model, C, {
|
|
4494
4508
|
onResize: (B) => {
|
|
4495
4509
|
o.value = B, s.value = !B;
|
|
4496
4510
|
},
|
|
@@ -4519,7 +4533,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4519
4533
|
v("div", {
|
|
4520
4534
|
class: r(C.survey.css.progressButtonsPageTitle),
|
|
4521
4535
|
title: C.model.headerText
|
|
4522
|
-
},
|
|
4536
|
+
}, T(C.model.headerText), 11, Gt)
|
|
4523
4537
|
], 2)) : m("", !0),
|
|
4524
4538
|
v("div", {
|
|
4525
4539
|
class: r(p.value.progressButtonsContainer)
|
|
@@ -4537,7 +4551,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4537
4551
|
v("ul", {
|
|
4538
4552
|
class: r(p.value.progressButtonsList)
|
|
4539
4553
|
}, [
|
|
4540
|
-
(i(!0), l(
|
|
4554
|
+
(i(!0), l(R, null, $(C.survey.visiblePages, (f, N) => (i(), l("li", {
|
|
4541
4555
|
key: "listelement" + N,
|
|
4542
4556
|
class: r(C.model.getListElementCss(N)),
|
|
4543
4557
|
onClick: (b) => C.model.isListElementClickable(N) ? C.model.clickListElement(f) : null,
|
|
@@ -4555,12 +4569,12 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4555
4569
|
is: "survey-string",
|
|
4556
4570
|
locString: f.locNavigationTitle
|
|
4557
4571
|
}, null, 8, ["locString"])
|
|
4558
|
-
], 10,
|
|
4572
|
+
], 10, Xt)) : m("", !0),
|
|
4559
4573
|
o.value ? (i(), l("div", {
|
|
4560
4574
|
key: 1,
|
|
4561
4575
|
class: r(p.value.progressButtonsPageDescription),
|
|
4562
4576
|
title: f.locNavigationDescription.renderedHtml
|
|
4563
|
-
},
|
|
4577
|
+
}, T(f.locNavigationDescription.renderedHtml), 11, Yt)) : m("", !0),
|
|
4564
4578
|
v("div", {
|
|
4565
4579
|
class: r(p.value.progressButtonsButton)
|
|
4566
4580
|
}, [
|
|
@@ -4570,9 +4584,9 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4570
4584
|
v("div", {
|
|
4571
4585
|
class: r(p.value.progressButtonsButtonContent)
|
|
4572
4586
|
}, null, 2),
|
|
4573
|
-
v("span", null,
|
|
4587
|
+
v("span", null, T(C.model.getItemNumber(f)), 1)
|
|
4574
4588
|
], 2)
|
|
4575
|
-
], 10,
|
|
4589
|
+
], 10, Jt))), 128))
|
|
4576
4590
|
], 2)
|
|
4577
4591
|
], 2),
|
|
4578
4592
|
v("div", {
|
|
@@ -4588,11 +4602,11 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4588
4602
|
v("div", {
|
|
4589
4603
|
class: r(C.survey.css.progressButtonsPageTitle),
|
|
4590
4604
|
title: C.model.footerText
|
|
4591
|
-
},
|
|
4605
|
+
}, T(C.model.footerText), 11, Zt)
|
|
4592
4606
|
], 2)) : m("", !0)
|
|
4593
4607
|
], 6));
|
|
4594
4608
|
}
|
|
4595
|
-
}),
|
|
4609
|
+
}), xt = /* @__PURE__ */ h({
|
|
4596
4610
|
__name: "ProgressToc",
|
|
4597
4611
|
props: {
|
|
4598
4612
|
survey: {},
|
|
@@ -4624,10 +4638,10 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4624
4638
|
}, null, 8, ["model"]))
|
|
4625
4639
|
], 2));
|
|
4626
4640
|
}
|
|
4627
|
-
}),
|
|
4641
|
+
}), ei = ["lang", "dir"], si = { onsubmit: "return false;" }, ni = {
|
|
4628
4642
|
key: 0,
|
|
4629
4643
|
class: "sv_custom_header"
|
|
4630
|
-
},
|
|
4644
|
+
}, oi = { class: "sv-components-column sv-components-column--expandable" }, ti = ["id"], ii = { key: 2 }, ri = ["innerHTML"], li = ["innerHTML"], ai = ["innerHTML"], te = /* @__PURE__ */ h({
|
|
4631
4645
|
__name: "Survey",
|
|
4632
4646
|
props: {
|
|
4633
4647
|
model: {},
|
|
@@ -4636,7 +4650,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4636
4650
|
setup(u) {
|
|
4637
4651
|
const e = u, n = I(), s = I(""), t = I(1), o = w(() => {
|
|
4638
4652
|
const N = e.survey ? e.survey : e.model;
|
|
4639
|
-
return
|
|
4653
|
+
return Ae(N);
|
|
4640
4654
|
}), a = w(() => o.value.activePage ? o.value.activePage.id : ""), p = () => {
|
|
4641
4655
|
const N = a.value;
|
|
4642
4656
|
return !!o.value && N + t.value.toString();
|
|
@@ -4684,8 +4698,8 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4684
4698
|
class: r(c.value.rootBackgroundImage),
|
|
4685
4699
|
style: S(o.value.backgroundImageStyle)
|
|
4686
4700
|
}, null, 6)) : m("", !0),
|
|
4687
|
-
v("form",
|
|
4688
|
-
o.value.hasLogo ? m("", !0) : (i(), l("div",
|
|
4701
|
+
v("form", si, [
|
|
4702
|
+
o.value.hasLogo ? m("", !0) : (i(), l("div", ni)),
|
|
4689
4703
|
v("div", {
|
|
4690
4704
|
class: r(c.value.container)
|
|
4691
4705
|
}, [
|
|
@@ -4710,7 +4724,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4710
4724
|
container: "left",
|
|
4711
4725
|
needRenderWrapper: !0
|
|
4712
4726
|
}, null, 8, ["survey"]),
|
|
4713
|
-
v("div",
|
|
4727
|
+
v("div", oi, [
|
|
4714
4728
|
y(d, {
|
|
4715
4729
|
is: "sv-components-container",
|
|
4716
4730
|
survey: o.value,
|
|
@@ -4745,7 +4759,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4745
4759
|
key: 0,
|
|
4746
4760
|
is: "sv-brand-info"
|
|
4747
4761
|
})) : m("", !0)
|
|
4748
|
-
], 14,
|
|
4762
|
+
], 14, ti)
|
|
4749
4763
|
]),
|
|
4750
4764
|
y(d, {
|
|
4751
4765
|
is: "sv-components-container",
|
|
@@ -4760,11 +4774,11 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4760
4774
|
container: "footer",
|
|
4761
4775
|
needRenderWrapper: !1
|
|
4762
4776
|
}, null, 8, ["survey"]),
|
|
4763
|
-
q.value ? (i(), l("div",
|
|
4777
|
+
q.value ? (i(), l("div", ii, [
|
|
4764
4778
|
v("div", {
|
|
4765
4779
|
innerHTML: B(),
|
|
4766
4780
|
class: r(o.value.completedCss)
|
|
4767
|
-
}, null, 10,
|
|
4781
|
+
}, null, 10, ri),
|
|
4768
4782
|
y(d, {
|
|
4769
4783
|
is: "sv-components-container",
|
|
4770
4784
|
survey: o.value,
|
|
@@ -4776,16 +4790,16 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4776
4790
|
key: 3,
|
|
4777
4791
|
class: r(o.value.completedBeforeCss),
|
|
4778
4792
|
innerHTML: o.value.processedCompletedBeforeHtml
|
|
4779
|
-
}, null, 10,
|
|
4793
|
+
}, null, 10, li)) : m("", !0),
|
|
4780
4794
|
o.value.state === "loading" ? (i(), l("div", {
|
|
4781
4795
|
key: 4,
|
|
4782
4796
|
class: r(o.value.loadingBodyCss),
|
|
4783
4797
|
innerHTML: o.value.processedLoadingHtml
|
|
4784
|
-
}, null, 10,
|
|
4798
|
+
}, null, 10, ai)) : m("", !0),
|
|
4785
4799
|
o.value.state === "empty" ? (i(), l("div", {
|
|
4786
4800
|
key: 5,
|
|
4787
4801
|
class: r(c.value.bodyEmpty)
|
|
4788
|
-
},
|
|
4802
|
+
}, T(o.value.emptySurveyText), 3)) : m("", !0)
|
|
4789
4803
|
], 2)
|
|
4790
4804
|
]),
|
|
4791
4805
|
y(d, {
|
|
@@ -4793,9 +4807,9 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4793
4807
|
model: o.value.notifier
|
|
4794
4808
|
}, null, 8, ["model"])
|
|
4795
4809
|
], 2)
|
|
4796
|
-
], 14,
|
|
4810
|
+
], 14, ei));
|
|
4797
4811
|
}
|
|
4798
|
-
}),
|
|
4812
|
+
}), ui = /* @__PURE__ */ h({
|
|
4799
4813
|
__name: "Notifier",
|
|
4800
4814
|
props: {
|
|
4801
4815
|
model: {}
|
|
@@ -4809,14 +4823,14 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4809
4823
|
role: "alert",
|
|
4810
4824
|
"aria-live": "polite"
|
|
4811
4825
|
}, [
|
|
4812
|
-
v("span", null,
|
|
4826
|
+
v("span", null, T(n.model.message), 1),
|
|
4813
4827
|
y(d, {
|
|
4814
4828
|
is: "sv-action-bar",
|
|
4815
4829
|
model: n.model.actionBar
|
|
4816
4830
|
}, null, 8, ["model"])
|
|
4817
4831
|
], 6)) : m("", !0);
|
|
4818
4832
|
}
|
|
4819
|
-
}),
|
|
4833
|
+
}), di = { key: 0 }, mi = /* @__PURE__ */ h({
|
|
4820
4834
|
__name: "QuestionOther",
|
|
4821
4835
|
props: {
|
|
4822
4836
|
question: {}
|
|
@@ -4825,14 +4839,14 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4825
4839
|
return (e, n) => (i(), l("div", {
|
|
4826
4840
|
class: r(e.question.getCommentAreaCss(!0))
|
|
4827
4841
|
}, [
|
|
4828
|
-
e.question.isReadOnlyRenderDiv() ? (i(), l("div",
|
|
4842
|
+
e.question.isReadOnlyRenderDiv() ? (i(), l("div", di, T(e.question.otherValue), 1)) : (i(), g(d, {
|
|
4829
4843
|
key: 1,
|
|
4830
4844
|
is: "sv-text-area",
|
|
4831
4845
|
model: e.question.otherTextAreaModel
|
|
4832
4846
|
}, null, 8, ["model"]))
|
|
4833
4847
|
], 2));
|
|
4834
4848
|
}
|
|
4835
|
-
}),
|
|
4849
|
+
}), pi = ["disabled", "value", "title"], ci = /* @__PURE__ */ h({
|
|
4836
4850
|
__name: "SurveyNavigationButton",
|
|
4837
4851
|
props: {
|
|
4838
4852
|
item: {}
|
|
@@ -4848,7 +4862,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4848
4862
|
title: s.item.getTooltip(),
|
|
4849
4863
|
onMousedown: n,
|
|
4850
4864
|
onClick: t[0] || (t[0] = (...o) => s.item.action && s.item.action(...o))
|
|
4851
|
-
}, null, 42,
|
|
4865
|
+
}, null, 42, pi)) : m("", !0);
|
|
4852
4866
|
}
|
|
4853
4867
|
}), Ce = /* @__PURE__ */ h({
|
|
4854
4868
|
__name: "PopupSurvey",
|
|
@@ -4877,7 +4891,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4877
4891
|
const q = O(
|
|
4878
4892
|
() => e.survey,
|
|
4879
4893
|
(c) => {
|
|
4880
|
-
const C = new
|
|
4894
|
+
const C = new Ke(null, c);
|
|
4881
4895
|
e.isExpanded !== void 0 && (C.isExpanded = e.isExpanded), e.closeOnCompleteTimeout !== void 0 && (C.closeOnCompleteTimeout = e.closeOnCompleteTimeout), e.allowClose !== void 0 && (C.allowClose = e.allowClose), e.allowFullScreen !== void 0 && (C.allowFullScreen = e.allowFullScreen), C.isShowing = !0, n.value = C;
|
|
4882
4896
|
},
|
|
4883
4897
|
{
|
|
@@ -4904,7 +4918,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4904
4918
|
n.value.isCollapsed && !!n.value.locTitle ? (i(), l("div", {
|
|
4905
4919
|
key: 0,
|
|
4906
4920
|
class: r(n.value.cssHeaderTitleCollapsed)
|
|
4907
|
-
},
|
|
4921
|
+
}, T(n.value.locTitle.renderedHtml), 3)) : m("", !0),
|
|
4908
4922
|
v("div", {
|
|
4909
4923
|
class: r(n.value.cssHeaderButtonsContainer)
|
|
4910
4924
|
}, [
|
|
@@ -4964,7 +4978,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4964
4978
|
], 2)
|
|
4965
4979
|
], 38)) : m("", !0);
|
|
4966
4980
|
}
|
|
4967
|
-
}),
|
|
4981
|
+
}), vi = ["innerHTML"], qi = /* @__PURE__ */ h({
|
|
4968
4982
|
__name: "CustomWidget",
|
|
4969
4983
|
props: {
|
|
4970
4984
|
question: {},
|
|
@@ -4987,7 +5001,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4987
5001
|
t.value ? (i(), l("div", {
|
|
4988
5002
|
key: 0,
|
|
4989
5003
|
innerHTML: o.value
|
|
4990
|
-
}, null, 8,
|
|
5004
|
+
}, null, 8, vi)) : m("", !0),
|
|
4991
5005
|
s.value ? (i(), g(d, {
|
|
4992
5006
|
key: 1,
|
|
4993
5007
|
is: a.value,
|
|
@@ -4996,12 +5010,12 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
4996
5010
|
}, null, 8, ["is", "question", "css"])) : m("", !0)
|
|
4997
5011
|
], 512));
|
|
4998
5012
|
}
|
|
4999
|
-
}),
|
|
5013
|
+
}), gi = /* @__PURE__ */ h({
|
|
5000
5014
|
__name: "PopupModal",
|
|
5001
5015
|
setup(u) {
|
|
5002
5016
|
const e = V();
|
|
5003
5017
|
function n(t, o, a, p, q, c, C = "popup") {
|
|
5004
|
-
const B =
|
|
5018
|
+
const B = Qe(
|
|
5005
5019
|
t,
|
|
5006
5020
|
o,
|
|
5007
5021
|
a,
|
|
@@ -5015,7 +5029,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5015
5029
|
return s(B);
|
|
5016
5030
|
}
|
|
5017
5031
|
function s(t, o) {
|
|
5018
|
-
const a =
|
|
5032
|
+
const a = je(
|
|
5019
5033
|
t,
|
|
5020
5034
|
o
|
|
5021
5035
|
), p = (q, c) => {
|
|
@@ -5027,7 +5041,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5027
5041
|
z.showModal = void 0;
|
|
5028
5042
|
})), z.showDialog || (z.showDialog = s, F(() => {
|
|
5029
5043
|
z.showDialog = void 0;
|
|
5030
|
-
})), (t, o) => e.value ? (i(), g(
|
|
5044
|
+
})), (t, o) => e.value ? (i(), g(Le, {
|
|
5031
5045
|
key: 0,
|
|
5032
5046
|
to: e.value.container
|
|
5033
5047
|
}, [
|
|
@@ -5037,7 +5051,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5037
5051
|
}, null, 8, ["model"])
|
|
5038
5052
|
], 8, ["to"])) : m("", !0);
|
|
5039
5053
|
}
|
|
5040
|
-
}),
|
|
5054
|
+
}), yi = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], hi = /* @__PURE__ */ h({
|
|
5041
5055
|
__name: "TextArea",
|
|
5042
5056
|
props: {
|
|
5043
5057
|
model: {}
|
|
@@ -5048,10 +5062,8 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5048
5062
|
), s = w(() => e.model.getTextValue() || "");
|
|
5049
5063
|
return P(() => {
|
|
5050
5064
|
e.model.setElement(n.value);
|
|
5051
|
-
}),
|
|
5065
|
+
}), Z(() => {
|
|
5052
5066
|
e.model.setElement(n.value);
|
|
5053
|
-
}), F(() => {
|
|
5054
|
-
e.model.dispose();
|
|
5055
5067
|
}), (t, o) => (i(), l("textarea", {
|
|
5056
5068
|
ref_key: "contentElement",
|
|
5057
5069
|
ref: n,
|
|
@@ -5086,9 +5098,9 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5086
5098
|
"aria-invalid": t.model.ariaInvalid,
|
|
5087
5099
|
"aria-errormessage": t.model.ariaErrormessage,
|
|
5088
5100
|
style: S({ resize: t.model.question.resizeStyle })
|
|
5089
|
-
}, null, 46,
|
|
5101
|
+
}, null, 46, yi));
|
|
5090
5102
|
}
|
|
5091
|
-
}),
|
|
5103
|
+
}), Ci = /* @__PURE__ */ h({
|
|
5092
5104
|
__name: "CharacterCounter",
|
|
5093
5105
|
props: {
|
|
5094
5106
|
counter: {},
|
|
@@ -5098,9 +5110,9 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5098
5110
|
const e = u;
|
|
5099
5111
|
return D(() => e.counter), (n, s) => (i(), l("div", {
|
|
5100
5112
|
class: r(n.remainingCharacterCounter)
|
|
5101
|
-
},
|
|
5113
|
+
}, T(n.counter.remainingCharacterCounter), 3));
|
|
5102
5114
|
}
|
|
5103
|
-
}),
|
|
5115
|
+
}), bi = /* @__PURE__ */ h({
|
|
5104
5116
|
inheritAttrs: !1,
|
|
5105
5117
|
__name: "Composite",
|
|
5106
5118
|
props: {
|
|
@@ -5119,7 +5131,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5119
5131
|
css: t.css
|
|
5120
5132
|
}, null, 8, ["element", "css"]));
|
|
5121
5133
|
}
|
|
5122
|
-
}),
|
|
5134
|
+
}), ki = /* @__PURE__ */ h({
|
|
5123
5135
|
inheritAttrs: !1,
|
|
5124
5136
|
__name: "Custom",
|
|
5125
5137
|
props: {
|
|
@@ -5137,9 +5149,9 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5137
5149
|
css: o.css
|
|
5138
5150
|
}, null, 8, ["is", "question", "css"]));
|
|
5139
5151
|
}
|
|
5140
|
-
}),
|
|
5141
|
-
|
|
5142
|
-
], pe = 440,
|
|
5152
|
+
}), fi = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), wi = [
|
|
5153
|
+
fi
|
|
5154
|
+
], pe = 440, Ii = /* @__PURE__ */ h({
|
|
5143
5155
|
__name: "TimerPanel",
|
|
5144
5156
|
props: {
|
|
5145
5157
|
model: {},
|
|
@@ -5155,29 +5167,29 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5155
5167
|
key: 0,
|
|
5156
5168
|
class: r(t.model.getProgressCss()),
|
|
5157
5169
|
style: S({ strokeDasharray: pe, strokeDashoffset: n.value })
|
|
5158
|
-
},
|
|
5170
|
+
}, wi, 6)) : m("", !0),
|
|
5159
5171
|
v("div", {
|
|
5160
5172
|
class: r(t.model.textContainerCss)
|
|
5161
5173
|
}, [
|
|
5162
5174
|
v("span", {
|
|
5163
5175
|
class: r(t.model.majorTextCss)
|
|
5164
|
-
},
|
|
5176
|
+
}, T(t.model.clockMajorText), 3),
|
|
5165
5177
|
t.model.clockMinorText ? (i(), l("span", {
|
|
5166
5178
|
key: 0,
|
|
5167
5179
|
class: r(t.model.minorTextCss)
|
|
5168
|
-
},
|
|
5180
|
+
}, T(t.model.clockMinorText), 3)) : m("", !0)
|
|
5169
5181
|
], 2)
|
|
5170
5182
|
], 2)) : A((i(), l("div", {
|
|
5171
5183
|
key: 1,
|
|
5172
5184
|
class: r(t.model.survey.getCss().timerRoot)
|
|
5173
|
-
},
|
|
5185
|
+
}, T(s.value), 3)), [
|
|
5174
5186
|
[E, t.model.isRunning && !t.model.showTimerAsClock]
|
|
5175
5187
|
]);
|
|
5176
5188
|
}
|
|
5177
|
-
}),
|
|
5189
|
+
}), Si = { class: "sd-loading-indicator" }, Ti = /* @__PURE__ */ h({
|
|
5178
5190
|
__name: "LoadingIndicator",
|
|
5179
5191
|
setup(u) {
|
|
5180
|
-
return (e, n) => (i(), l("div",
|
|
5192
|
+
return (e, n) => (i(), l("div", Si, [
|
|
5181
5193
|
y(d, {
|
|
5182
5194
|
is: "sv-svg-icon",
|
|
5183
5195
|
iconName: "icon-loading",
|
|
@@ -5185,7 +5197,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5185
5197
|
})
|
|
5186
5198
|
]));
|
|
5187
5199
|
}
|
|
5188
|
-
}),
|
|
5200
|
+
}), Ri = { key: 2 }, $i = /* @__PURE__ */ h({
|
|
5189
5201
|
__name: "Header",
|
|
5190
5202
|
props: {
|
|
5191
5203
|
model: {},
|
|
@@ -5211,13 +5223,13 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5211
5223
|
class: r(n.model.contentClasses),
|
|
5212
5224
|
style: S({ maxWidth: n.model.maxWidth })
|
|
5213
5225
|
}, [
|
|
5214
|
-
(i(!0), l(
|
|
5226
|
+
(i(!0), l(R, null, $(n.model.cells, (t, o) => (i(), g(d, {
|
|
5215
5227
|
is: "sv-header-cell",
|
|
5216
5228
|
model: t,
|
|
5217
5229
|
key: o
|
|
5218
5230
|
}, null, 8, ["model"]))), 128))
|
|
5219
5231
|
], 6)),
|
|
5220
|
-
n.survey.isMobile ? (i(), l("div",
|
|
5232
|
+
n.survey.isMobile ? (i(), l("div", Ri, [
|
|
5221
5233
|
y(d, {
|
|
5222
5234
|
is: "sv-header-mobile",
|
|
5223
5235
|
model: n.model
|
|
@@ -5225,10 +5237,10 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5225
5237
|
])) : m("", !0)
|
|
5226
5238
|
], 6)) : m("", !0);
|
|
5227
5239
|
}
|
|
5228
|
-
}),
|
|
5240
|
+
}), Di = {
|
|
5229
5241
|
key: 0,
|
|
5230
5242
|
class: "sv-header__logo"
|
|
5231
|
-
},
|
|
5243
|
+
}, Bi = ["src", "width", "height", "alt"], Ai = /* @__PURE__ */ h({
|
|
5232
5244
|
__name: "HeaderCell",
|
|
5233
5245
|
props: {
|
|
5234
5246
|
model: {}
|
|
@@ -5242,7 +5254,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5242
5254
|
class: "sv-header__cell-content",
|
|
5243
5255
|
style: S(e.model.contentStyle)
|
|
5244
5256
|
}, [
|
|
5245
|
-
e.model.showLogo ? (i(), l("div",
|
|
5257
|
+
e.model.showLogo ? (i(), l("div", Di, [
|
|
5246
5258
|
v("div", {
|
|
5247
5259
|
class: r(e.model.survey.logoClassNames)
|
|
5248
5260
|
}, [
|
|
@@ -5253,7 +5265,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5253
5265
|
height: e.model.survey.renderedLogoHeight,
|
|
5254
5266
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5255
5267
|
style: S({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5256
|
-
}, null, 14,
|
|
5268
|
+
}, null, 14, Bi)
|
|
5257
5269
|
], 2)
|
|
5258
5270
|
])) : m("", !0),
|
|
5259
5271
|
e.model.showTitle ? (i(), l("div", {
|
|
@@ -5285,17 +5297,17 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5285
5297
|
], 4)
|
|
5286
5298
|
], 6));
|
|
5287
5299
|
}
|
|
5288
|
-
}),
|
|
5300
|
+
}), Li = { class: "sv-header--mobile" }, Ni = {
|
|
5289
5301
|
key: 0,
|
|
5290
5302
|
class: "sv-header__logo"
|
|
5291
|
-
},
|
|
5303
|
+
}, Pi = ["src", "width", "height", "alt"], Mi = /* @__PURE__ */ h({
|
|
5292
5304
|
__name: "HeaderMobile",
|
|
5293
5305
|
props: {
|
|
5294
5306
|
model: {}
|
|
5295
5307
|
},
|
|
5296
5308
|
setup(u) {
|
|
5297
|
-
return (e, n) => (i(), l("div",
|
|
5298
|
-
e.model.survey.hasLogo ? (i(), l("div",
|
|
5309
|
+
return (e, n) => (i(), l("div", Li, [
|
|
5310
|
+
e.model.survey.hasLogo ? (i(), l("div", Ni, [
|
|
5299
5311
|
v("div", {
|
|
5300
5312
|
class: r(e.model.survey.logoClassNames)
|
|
5301
5313
|
}, [
|
|
@@ -5306,7 +5318,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5306
5318
|
height: e.model.survey.renderedLogoHeight,
|
|
5307
5319
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5308
5320
|
style: S({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5309
|
-
}, null, 14,
|
|
5321
|
+
}, null, 14, Pi)
|
|
5310
5322
|
], 2)
|
|
5311
5323
|
])) : m("", !0),
|
|
5312
5324
|
e.model.survey.hasTitle ? (i(), l("div", {
|
|
@@ -5337,7 +5349,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5337
5349
|
], 4)) : m("", !0)
|
|
5338
5350
|
]));
|
|
5339
5351
|
}
|
|
5340
|
-
}),
|
|
5352
|
+
}), Hi = /* @__PURE__ */ h({
|
|
5341
5353
|
__name: "Element",
|
|
5342
5354
|
props: {
|
|
5343
5355
|
element: {},
|
|
@@ -5393,20 +5405,20 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5393
5405
|
}, null, 8, ["is", "element", "css"])) : m("", !0)
|
|
5394
5406
|
], 6));
|
|
5395
5407
|
}
|
|
5396
|
-
}),
|
|
5408
|
+
}), Ei = /* @__PURE__ */ h({
|
|
5397
5409
|
__name: "TemplateRenderer",
|
|
5398
5410
|
props: {
|
|
5399
5411
|
componentName: {},
|
|
5400
5412
|
componentData: {}
|
|
5401
5413
|
},
|
|
5402
5414
|
setup(u) {
|
|
5403
|
-
const e =
|
|
5415
|
+
const e = Ne(), n = w(() => !!e.default);
|
|
5404
5416
|
return (s, t) => n.value && !s.componentName ? ve(s.$slots, "default", { key: 0 }) : (i(), g(d, M({
|
|
5405
5417
|
key: 1,
|
|
5406
5418
|
is: s.componentName
|
|
5407
5419
|
}, s.componentData), null, 16, ["is"]));
|
|
5408
5420
|
}
|
|
5409
|
-
}),
|
|
5421
|
+
}), Wi = /* @__PURE__ */ h({
|
|
5410
5422
|
__name: "FileCleanButton",
|
|
5411
5423
|
props: {
|
|
5412
5424
|
question: {},
|
|
@@ -5418,7 +5430,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5418
5430
|
class: r(e.css),
|
|
5419
5431
|
onClick: n[0] || (n[0] = (...s) => e.question.doClean && e.question.doClean(...s))
|
|
5420
5432
|
}, [
|
|
5421
|
-
v("span", null,
|
|
5433
|
+
v("span", null, T(e.question.clearButtonCaption), 1),
|
|
5422
5434
|
e.question.cssClasses.removeButtonIconId ? (i(), g(d, {
|
|
5423
5435
|
key: 0,
|
|
5424
5436
|
is: "sv-svg-icon",
|
|
@@ -5428,7 +5440,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5428
5440
|
}, null, 8, ["iconName", "title"])) : m("", !0)
|
|
5429
5441
|
], 2));
|
|
5430
5442
|
}
|
|
5431
|
-
}),
|
|
5443
|
+
}), Fi = ["id"], Vi = /* @__PURE__ */ h({
|
|
5432
5444
|
__name: "FileVideo",
|
|
5433
5445
|
props: {
|
|
5434
5446
|
question: {}
|
|
@@ -5450,14 +5462,14 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5450
5462
|
playsinline: "",
|
|
5451
5463
|
id: e.question.videoId,
|
|
5452
5464
|
class: r(e.question.cssClasses.video)
|
|
5453
|
-
}, null, 10,
|
|
5465
|
+
}, null, 10, Fi),
|
|
5454
5466
|
y(d, {
|
|
5455
5467
|
is: "sv-action",
|
|
5456
5468
|
item: e.question.takePictureAction
|
|
5457
5469
|
}, null, 8, ["item"])
|
|
5458
5470
|
], 2));
|
|
5459
5471
|
}
|
|
5460
|
-
}),
|
|
5472
|
+
}), Oi = ["for", "aria-label"], zi = /* @__PURE__ */ h({
|
|
5461
5473
|
__name: "FileChooseButton",
|
|
5462
5474
|
props: {
|
|
5463
5475
|
data: {},
|
|
@@ -5484,12 +5496,12 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5484
5496
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
5485
5497
|
size: "auto"
|
|
5486
5498
|
}, null, 8, ["title", "iconName"])) : m("", !0),
|
|
5487
|
-
v("span", null,
|
|
5488
|
-
], 10,
|
|
5499
|
+
v("span", null, T(n.value.chooseButtonText), 1)
|
|
5500
|
+
], 10, Oi)), [
|
|
5489
5501
|
[k(j)]
|
|
5490
5502
|
]);
|
|
5491
5503
|
}
|
|
5492
|
-
}),
|
|
5504
|
+
}), Ui = /* @__PURE__ */ h({
|
|
5493
5505
|
__name: "FilePreview",
|
|
5494
5506
|
props: {
|
|
5495
5507
|
question: {}
|
|
@@ -5499,78 +5511,21 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5499
5511
|
key: 0,
|
|
5500
5512
|
class: r(e.question.cssClasses.fileList || void 0)
|
|
5501
5513
|
}, [
|
|
5502
|
-
(i(!0), l(
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
title: s.name,
|
|
5515
|
-
download: s.name,
|
|
5516
|
-
style: S({ width: e.question.imageWidth })
|
|
5517
|
-
}, R(s.name), 13, Oi)
|
|
5518
|
-
], 2)) : m("", !0),
|
|
5519
|
-
v("div", {
|
|
5520
|
-
class: r(e.question.getImageWrapperCss(s))
|
|
5521
|
-
}, [
|
|
5522
|
-
e.question.canPreviewImage(s) ? (i(), l("img", {
|
|
5523
|
-
key: 0,
|
|
5524
|
-
src: s.content,
|
|
5525
|
-
style: S({
|
|
5526
|
-
height: e.question.imageHeight,
|
|
5527
|
-
width: e.question.imageWidth
|
|
5528
|
-
}),
|
|
5529
|
-
alt: "File preview"
|
|
5530
|
-
}, null, 12, zi)) : m("", !0),
|
|
5531
|
-
e.question.defaultImage(s) ? (i(), g(d, {
|
|
5532
|
-
key: 1,
|
|
5533
|
-
is: "sv-svg-icon",
|
|
5534
|
-
iconName: e.question.cssClasses.defaultImageIconId,
|
|
5535
|
-
class: r(e.question.cssClasses.defaultImage),
|
|
5536
|
-
size: "auto"
|
|
5537
|
-
}, null, 8, ["iconName", "class"])) : m("", !0),
|
|
5538
|
-
s.name && !e.question.isReadOnly ? (i(), l("div", {
|
|
5539
|
-
key: 2,
|
|
5540
|
-
class: r(e.question.getRemoveButtonCss()),
|
|
5541
|
-
onClick: (o) => e.question.doRemoveFile(s, o)
|
|
5542
|
-
}, [
|
|
5543
|
-
v("span", {
|
|
5544
|
-
class: r(e.question.cssClasses.removeFile)
|
|
5545
|
-
}, R(e.question.removeFileCaption), 3),
|
|
5546
|
-
e.question.cssClasses.removeFileSvgIconId ? (i(), g(d, {
|
|
5547
|
-
key: 0,
|
|
5548
|
-
is: "sv-svg-icon",
|
|
5549
|
-
title: e.question.removeFileCaption,
|
|
5550
|
-
class: r(e.question.cssClasses.removeFileSvg),
|
|
5551
|
-
iconName: e.question.cssClasses.removeFileSvgIconId,
|
|
5552
|
-
size: "auto"
|
|
5553
|
-
}, null, 8, ["title", "class", "iconName"])) : m("", !0)
|
|
5554
|
-
], 10, Ui)) : m("", !0)
|
|
5555
|
-
], 2),
|
|
5556
|
-
s.name && e.question.cssClasses.fileSignBottom ? (i(), l("div", {
|
|
5557
|
-
key: 1,
|
|
5558
|
-
class: r(e.question.cssClasses.fileSignBottom)
|
|
5559
|
-
}, [
|
|
5560
|
-
v("a", {
|
|
5561
|
-
onClick: (o) => e.question.doDownloadFile(o, s),
|
|
5562
|
-
href: s.content,
|
|
5563
|
-
title: s.name,
|
|
5564
|
-
download: s.name,
|
|
5565
|
-
style: S({ width: e.question.imageWidth })
|
|
5566
|
-
}, R(s.name), 13, Ki)
|
|
5567
|
-
], 2)) : m("", !0)
|
|
5568
|
-
], 2)), [
|
|
5569
|
-
[E, s && e.question.isPreviewVisible(t)]
|
|
5570
|
-
])), 128))
|
|
5514
|
+
e.question.supportFileNavigator ? (i(!0), l(R, { key: 0 }, $(e.question.renderedPages, (s) => (i(), g(d, {
|
|
5515
|
+
is: "sv-file-page",
|
|
5516
|
+
key: s.id,
|
|
5517
|
+
page: s,
|
|
5518
|
+
question: e.question
|
|
5519
|
+
}, null, 8, ["page", "question"]))), 128)) : m("", !0),
|
|
5520
|
+
e.question.supportFileNavigator ? m("", !0) : (i(!0), l(R, { key: 1 }, $(e.question.previewValue, (s) => (i(), g(d, {
|
|
5521
|
+
is: "sv-file-item",
|
|
5522
|
+
key: s,
|
|
5523
|
+
item: s,
|
|
5524
|
+
question: e.question
|
|
5525
|
+
}, null, 8, ["item", "question"]))), 128))
|
|
5571
5526
|
], 2)) : m("", !0);
|
|
5572
5527
|
}
|
|
5573
|
-
}),
|
|
5528
|
+
}), Ki = /* @__PURE__ */ h({
|
|
5574
5529
|
__name: "ButtonGroup",
|
|
5575
5530
|
props: {
|
|
5576
5531
|
question: {}
|
|
@@ -5583,7 +5538,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5583
5538
|
ref_key: "root",
|
|
5584
5539
|
ref: n
|
|
5585
5540
|
}, [
|
|
5586
|
-
(i(!0), l(
|
|
5541
|
+
(i(!0), l(R, null, $(s.question.visibleChoices, (o, a) => (i(), g(d, {
|
|
5587
5542
|
is: "sv-button-group-item",
|
|
5588
5543
|
question: s.question,
|
|
5589
5544
|
key: a,
|
|
@@ -5592,7 +5547,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5592
5547
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
5593
5548
|
], 2));
|
|
5594
5549
|
}
|
|
5595
|
-
}),
|
|
5550
|
+
}), Qi = ["title"], ji = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Gi = ["title"], Ji = /* @__PURE__ */ h({
|
|
5596
5551
|
__name: "ButtonGroupItem",
|
|
5597
5552
|
props: {
|
|
5598
5553
|
item: {},
|
|
@@ -5601,7 +5556,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5601
5556
|
},
|
|
5602
5557
|
setup(u) {
|
|
5603
5558
|
const e = u, n = w(
|
|
5604
|
-
() => new
|
|
5559
|
+
() => new Ge(e.question, e.item, e.index)
|
|
5605
5560
|
), s = w({
|
|
5606
5561
|
get: () => e.question.renderedValue,
|
|
5607
5562
|
set: (t) => {
|
|
@@ -5627,7 +5582,7 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5627
5582
|
class: r(n.value.css.control),
|
|
5628
5583
|
"onUpdate:modelValue": o[0] || (o[0] = (a) => s.value = a),
|
|
5629
5584
|
value: n.value.value
|
|
5630
|
-
}, null, 10,
|
|
5585
|
+
}, null, 10, ji), [
|
|
5631
5586
|
[Y, s.value]
|
|
5632
5587
|
]),
|
|
5633
5588
|
v("div", {
|
|
@@ -5649,11 +5604,11 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5649
5604
|
is: "survey-string",
|
|
5650
5605
|
locString: n.value.caption
|
|
5651
5606
|
}, null, 8, ["locString"])
|
|
5652
|
-
], 10,
|
|
5607
|
+
], 10, Gi)) : m("", !0)
|
|
5653
5608
|
], 2)
|
|
5654
|
-
], 10,
|
|
5609
|
+
], 10, Qi));
|
|
5655
5610
|
}
|
|
5656
|
-
}),
|
|
5611
|
+
}), Xi = ["src", "width", "height", "alt"], Yi = /* @__PURE__ */ h({
|
|
5657
5612
|
inheritAttrs: !1,
|
|
5658
5613
|
__name: "Logo",
|
|
5659
5614
|
props: {
|
|
@@ -5675,15 +5630,15 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5675
5630
|
width: n.value.renderedStyleLogoWidth,
|
|
5676
5631
|
height: n.value.renderedStyleLogoHeight
|
|
5677
5632
|
})
|
|
5678
|
-
}, null, 14,
|
|
5633
|
+
}, null, 14, Xi)
|
|
5679
5634
|
], 2));
|
|
5680
5635
|
}
|
|
5681
|
-
}),
|
|
5636
|
+
}), Zi = /* @__PURE__ */ h({
|
|
5682
5637
|
__name: "SvgBundle",
|
|
5683
5638
|
setup(u) {
|
|
5684
5639
|
const e = I();
|
|
5685
5640
|
return P(() => {
|
|
5686
|
-
e.value.innerHTML =
|
|
5641
|
+
e.value.innerHTML = Je.iconsRenderedHtml();
|
|
5687
5642
|
}), (n, s) => A((i(), l("svg", {
|
|
5688
5643
|
id: "sv-icon-holder-global-container",
|
|
5689
5644
|
ref_key: "root",
|
|
@@ -5692,22 +5647,118 @@ const mt = /* @__PURE__ */ it(rt, [["render", dt]]), pt = /* @__PURE__ */ v("use
|
|
|
5692
5647
|
[E, !1]
|
|
5693
5648
|
]);
|
|
5694
5649
|
}
|
|
5650
|
+
}), _i = ["id"], xi = /* @__PURE__ */ h({
|
|
5651
|
+
__name: "FilePage",
|
|
5652
|
+
props: {
|
|
5653
|
+
page: {},
|
|
5654
|
+
question: {}
|
|
5655
|
+
},
|
|
5656
|
+
setup(u) {
|
|
5657
|
+
const e = u;
|
|
5658
|
+
return D(() => e.page), (n, s) => (i(), l("div", {
|
|
5659
|
+
class: r(n.page.css),
|
|
5660
|
+
id: n.page.id
|
|
5661
|
+
}, [
|
|
5662
|
+
(i(!0), l(R, null, $(n.page.items, (t) => (i(), g(d, {
|
|
5663
|
+
is: "sv-file-item",
|
|
5664
|
+
key: t,
|
|
5665
|
+
item: t,
|
|
5666
|
+
question: n.question
|
|
5667
|
+
}, null, 8, ["item", "question"]))), 128))
|
|
5668
|
+
], 10, _i));
|
|
5669
|
+
}
|
|
5670
|
+
}), er = ["href", "title", "download"], sr = ["src"], nr = ["href", "title", "download"], or = /* @__PURE__ */ h({
|
|
5671
|
+
__name: "FileItem",
|
|
5672
|
+
props: {
|
|
5673
|
+
item: {},
|
|
5674
|
+
question: {}
|
|
5675
|
+
},
|
|
5676
|
+
setup(u) {
|
|
5677
|
+
return (e, n) => A((i(), l("span", {
|
|
5678
|
+
class: r(e.question.cssClasses.previewItem),
|
|
5679
|
+
onClick: n[3] || (n[3] = (s) => e.question.doDownloadFileFromContainer(s))
|
|
5680
|
+
}, [
|
|
5681
|
+
e.item.name && e.question.cssClasses.fileSign ? (i(), l("div", {
|
|
5682
|
+
key: 0,
|
|
5683
|
+
class: r(e.question.cssClasses.fileSign)
|
|
5684
|
+
}, [
|
|
5685
|
+
v("a", {
|
|
5686
|
+
onClick: n[0] || (n[0] = (s) => e.question.doDownloadFile(s, e.item)),
|
|
5687
|
+
href: e.item.content,
|
|
5688
|
+
title: e.item.name,
|
|
5689
|
+
download: e.item.name,
|
|
5690
|
+
style: S({ width: e.question.imageWidth })
|
|
5691
|
+
}, T(e.item.name), 13, er)
|
|
5692
|
+
], 2)) : m("", !0),
|
|
5693
|
+
v("div", {
|
|
5694
|
+
class: r(e.question.getImageWrapperCss(e.item))
|
|
5695
|
+
}, [
|
|
5696
|
+
e.question.canPreviewImage(e.item) ? (i(), l("img", {
|
|
5697
|
+
key: 0,
|
|
5698
|
+
src: e.item.content,
|
|
5699
|
+
style: S({
|
|
5700
|
+
height: e.question.imageHeight,
|
|
5701
|
+
width: e.question.imageWidth
|
|
5702
|
+
}),
|
|
5703
|
+
alt: "File preview"
|
|
5704
|
+
}, null, 12, sr)) : m("", !0),
|
|
5705
|
+
e.question.defaultImage(e.item) ? (i(), g(d, {
|
|
5706
|
+
key: 1,
|
|
5707
|
+
is: "sv-svg-icon",
|
|
5708
|
+
iconName: e.question.cssClasses.defaultImageIconId,
|
|
5709
|
+
class: r(e.question.cssClasses.defaultImage),
|
|
5710
|
+
size: "auto"
|
|
5711
|
+
}, null, 8, ["iconName", "class"])) : m("", !0),
|
|
5712
|
+
e.item.name && !e.question.isReadOnly ? (i(), l("div", {
|
|
5713
|
+
key: 2,
|
|
5714
|
+
class: r(e.question.getRemoveButtonCss()),
|
|
5715
|
+
onClick: n[1] || (n[1] = (s) => e.question.doRemoveFile(e.item, s))
|
|
5716
|
+
}, [
|
|
5717
|
+
v("span", {
|
|
5718
|
+
class: r(e.question.cssClasses.removeFile)
|
|
5719
|
+
}, T(e.question.removeFileCaption), 3),
|
|
5720
|
+
e.question.cssClasses.removeFileSvgIconId ? (i(), g(d, {
|
|
5721
|
+
key: 0,
|
|
5722
|
+
is: "sv-svg-icon",
|
|
5723
|
+
title: e.question.removeFileCaption,
|
|
5724
|
+
class: r(e.question.cssClasses.removeFileSvg),
|
|
5725
|
+
iconName: e.question.cssClasses.removeFileSvgIconId,
|
|
5726
|
+
size: "auto"
|
|
5727
|
+
}, null, 8, ["title", "class", "iconName"])) : m("", !0)
|
|
5728
|
+
], 2)) : m("", !0)
|
|
5729
|
+
], 2),
|
|
5730
|
+
e.item.name && e.question.cssClasses.fileSignBottom ? (i(), l("div", {
|
|
5731
|
+
key: 1,
|
|
5732
|
+
class: r(e.question.cssClasses.fileSignBottom)
|
|
5733
|
+
}, [
|
|
5734
|
+
v("a", {
|
|
5735
|
+
onClick: n[2] || (n[2] = (s) => e.question.doDownloadFile(s, e.item)),
|
|
5736
|
+
href: e.item.content,
|
|
5737
|
+
title: e.item.name,
|
|
5738
|
+
download: e.item.name,
|
|
5739
|
+
style: S({ width: e.question.imageWidth })
|
|
5740
|
+
}, T(e.item.name), 13, nr)
|
|
5741
|
+
], 2)) : m("", !0)
|
|
5742
|
+
], 2)), [
|
|
5743
|
+
[E, e.item]
|
|
5744
|
+
]);
|
|
5745
|
+
}
|
|
5695
5746
|
});
|
|
5696
|
-
|
|
5697
|
-
function
|
|
5747
|
+
Xe.platform = "vue3";
|
|
5748
|
+
function tr(u, e, n) {
|
|
5698
5749
|
u(e, n);
|
|
5699
5750
|
}
|
|
5700
5751
|
function be(u) {
|
|
5701
|
-
const e =
|
|
5752
|
+
const e = tr.bind(
|
|
5702
5753
|
void 0,
|
|
5703
5754
|
u
|
|
5704
5755
|
);
|
|
5705
|
-
e("sv-svg-bundle",
|
|
5756
|
+
e("sv-svg-bundle", Zi), e("popup-survey", Ce), e("survey-header", xe), e("sv-logo-image", Yi), e("survey-page", _e), e("survey-row", es), e("survey-question", ts), e("survey-panel", as), e("survey-element-header", ds), e("survey-string", ms), e("sv-string-viewer", cs), e("sv-string-editor", qs), e("sv-skeleton", ys), e("survey-text", bs), e("survey-text-input", ws), e("survey-checkbox", $s), e("survey-checkbox-item", As), e("survey-radiogroup", Ls), e("survey-radiogroup-item", Ms), e("survey-signaturepad", Fs), e("survey-html", Os), e("survey-image", Qs), e("survey-expression", js), e("survey-file", Ys), e("sv-file-choose-btn", zi), e("sv-file-clean-btn", Wi), e("sv-file-preview", Ui), e("sv-file-page", xi), e("sv-file-item", or), e("sv-file-video", Vi), e("survey-imagepicker", _s), e("survey-imagepicker-item", on), e("survey-comment", tn), e("survey-dropdown", rn), e("sv-dropdown-select", dn), e("sv-dropdown-option-item", pn), e("sv-dropdown", yn), e("survey-tagbox", hn), e("sv-tagbox", kn), e("sv-tagbox-item", Tn), e("sv-tagbox-filter", In), e("survey-ranking", Rn), e("survey-ranking-item", Nn), e("sv-ranking-item", Pn), e("survey-rating", En), e("sv-rating-item", Vn), e("sv-rating-item-smiley", zn), e("sv-rating-item-star", Kn), e("sv-rating-dropdown", Xn), e("sv-rating-dropdown-item", Jn), e("survey-boolean", Zn), e("sv-boolean-radio", _n), e("sv-boolean-radio-item", so), e("sv-boolean-checkbox", lo), e("survey-multipletext", ao), e("survey-multipletext-item", mo), e("survey-matrix", yo), e("survey-matrix-row", Co), e("survey-matrix-cell", fo), e("survey-matrixdropdown", wo), e("survey-matrixtable", To), e("survey-matrixheaderrequired", $o), e("survey-matrixdropdown-cell", Bo), e("survey-matrixdynamic", Ao), e("sv-matrix-remove-button", No), e("sv-matrix-drag-drop-icon", Mo), e("sv-matrix-detail-button", Eo), e("survey-paneldynamic", Wo), e("survey-paneldynamicprogress", Fo), e("survey-paneldynamicprogress-v2", Vo), e("sv-paneldynamic-add-btn", zo), e("sv-paneldynamic-next-btn", Ko), e("sv-paneldynamic-prev-btn", jo), e("sv-paneldynamic-remove-btn", Go), e("sv-paneldynamic-progress-text", Jo), e("sv-components-container", jt), e("sv-progress-buttons", _t), e("sv-navigation-toc", xt), e("sv-progress-pages", X), e("sv-progress-questions", X), e("sv-progress-correctquestions", X), e("sv-progress-requiredquestions", X), e("survey-errors", Yo), e("survey-question-comment", _o), e("survey-element-title", xo), e("survey-element-title-content", ot), e("sv-title-actions", rt), e("sv-brand-info", ct), e("sv-question-error", yt), e("sv-svg-icon", gt), e("sv-action-bar", ht), e("sv-action", kt), e("sv-action-bar-item", It), e("sv-action-bar-item-dropdown", Rt), e("sv-action-bar-separator", $t), e("sv-list", Lt), e("sv-list-item-content", Ht), e("sv-list-item-group", Et), e("sv-list-item", Mt), e("sv-popup", Wt), e("sv-popup-container", Kt), e("popup-pointer", Qt), e("sv-notifier", ui), e("survey-other-choice", mi), e("sv-nav-btn", ci), e("survey-customwidget", qi), e("survey-popup-modal", gi), e("survey-composite", bi), e("survey-custom", ki), e("sv-timerpanel", Ii), e("sv-loading-indicator", Ti), e("sv-header", $i), e("sv-header-cell", Ai), e("sv-header-mobile", Mi), e("sv-template-renderer", Ei), e("sv-character-counter", Ci), e("sv-text-area", hi), e("survey-element", Hi), e("survey-buttongroup", Ki), e("sv-button-group-item", Ji), e("survey", te);
|
|
5706
5757
|
}
|
|
5707
5758
|
be(
|
|
5708
5759
|
(u, e) => U.Instance.registerComponent(u, e)
|
|
5709
5760
|
);
|
|
5710
|
-
const
|
|
5761
|
+
const ar = {
|
|
5711
5762
|
install(u) {
|
|
5712
5763
|
u.component("SurveyComponent", te), u.component("PopupSurveyComponent", Ce), u.directive("key2click", j), be((e, n) => {
|
|
5713
5764
|
u.component(e, n), U.Instance.registerComponent(e, e);
|
|
@@ -5720,9 +5771,9 @@ export {
|
|
|
5720
5771
|
te as SurveyComponent,
|
|
5721
5772
|
d as SvComponent,
|
|
5722
5773
|
j as key2ClickDirective,
|
|
5723
|
-
|
|
5774
|
+
ar as surveyPlugin,
|
|
5724
5775
|
D as useBase,
|
|
5725
|
-
|
|
5776
|
+
x as useComputedArray,
|
|
5726
5777
|
Q as useLocString,
|
|
5727
5778
|
L as useQuestion
|
|
5728
5779
|
};
|