survey-vue3-ui 2.2.6 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +434 -442
- package/survey-vue3-ui.umd.js +4 -4
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var J = (u, e, n) => (
|
|
4
|
-
import { defineComponent as y, computed as M, openBlock as i, createBlock as g, resolveDynamicComponent as
|
|
5
|
-
import { Base as
|
|
1
|
+
var Ie = Object.defineProperty;
|
|
2
|
+
var Ve = (u, e, n) => e in u ? Ie(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
|
+
var J = (u, e, n) => (Ve(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
+
import { defineComponent as y, computed as M, openBlock as i, createBlock as g, resolveDynamicComponent as ce, normalizeProps as ue, guardReactiveProps as de, createSlots as Se, renderList as V, withCtx as D, renderSlot as x, shallowReactive as Re, watch as W, onBeforeUnmount as O, onMounted as B, ref as f, shallowRef as E, watchEffect as Te, triggerRef as te, unref as w, isRef as ge, nextTick as ye, createElementBlock as a, normalizeClass as r, createVNode as c, createCommentVNode as p, Fragment as H, mergeProps as $, normalizeStyle as k, createElementVNode as v, onUnmounted as P, withDirectives as Z, vShow as A, toDisplayString as I, vModelCheckbox as oe, vModelRadio as he, vModelSelect as Be, onUpdated as z, vModelText as Ze, vModelDynamic as $e, getCurrentInstance as qe, createStaticVNode as De, toRaw as Ae, Teleport as Pe, useSlots as Ne } from "vue";
|
|
5
|
+
import { Base as Ee, ScrollViewModel as We, RendererFactory as G, Helpers as Fe, DropdownMultiSelectListModel as Oe, doKey2ClickUp as we, createSvg as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Qe, ActionDropdownViewModel as Ke, createPopupViewModel as je, SurveyProgressModel as me, ProgressButtonsResponsivityManager as Ge, addIconsToThemeSet as be, SvgRegistry as _, PopupSurveyModel as Xe, settings as ne, createPopupModalViewModel as Je, ButtonGroupItemModel as Ye, SurveyModel as _e } from "survey-core";
|
|
6
6
|
const ee = class ee {
|
|
7
7
|
constructor() {
|
|
8
8
|
J(this, "creatorHash", {});
|
|
@@ -35,18 +35,18 @@ const m = /* @__PURE__ */ y({
|
|
|
35
35
|
const e = u, n = M(
|
|
36
36
|
() => F.Instance.getComponent(e.is)
|
|
37
37
|
);
|
|
38
|
-
return (s, o) => (i(), g(
|
|
38
|
+
return (s, o) => (i(), g(ce(n.value), ue(de(s.$attrs)), Se({ _: 2 }, [
|
|
39
39
|
V(s.$slots, (t, l) => ({
|
|
40
40
|
name: l,
|
|
41
41
|
fn: D((d) => [
|
|
42
|
-
x(s.$slots, l, de(
|
|
42
|
+
x(s.$slots, l, ue(de(d)))
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
45
45
|
]), 1040));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
|
|
49
|
-
class
|
|
48
|
+
Ee.createPropertiesHash = () => Re({});
|
|
49
|
+
class xe {
|
|
50
50
|
constructor(e) {
|
|
51
51
|
J(this, "currentNextTickPromise");
|
|
52
52
|
this.element = e;
|
|
@@ -56,10 +56,10 @@ class _e {
|
|
|
56
56
|
this.currentNextTickPromise !== e && (this.currentNextTickPromise = e, await e, e == this.currentNextTickPromise && this.element.afterRerender());
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function es(u) {
|
|
60
60
|
if (u) {
|
|
61
61
|
if (u.__vueImplemented = u.__vueImplemented ?? 0, u.__vueImplemented <= 0) {
|
|
62
|
-
const e = new
|
|
62
|
+
const e = new xe(u);
|
|
63
63
|
u.createArrayCoreHandler = (n, s) => {
|
|
64
64
|
const o = [], t = E(o);
|
|
65
65
|
return o.onArrayChanged = () => {
|
|
@@ -73,16 +73,16 @@ function xe(u) {
|
|
|
73
73
|
}, n[s] = o;
|
|
74
74
|
}
|
|
75
75
|
}), u.getPropertyValueCoreHandler = (n, s) => w(n[s]), u.setPropertyValueCoreHandler = (n, s, o) => {
|
|
76
|
-
|
|
76
|
+
ge(n[s]) ? n[s].value = o : n[s] = o, e.add();
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
u.enableOnElementRerenderedEvent(), u.__vueImplemented++;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ss(u) {
|
|
83
83
|
return !!u.__vueImplemented;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function pe(u) {
|
|
86
86
|
u && (u.__vueImplemented = u.__vueImplemented ?? 0, u.__vueImplemented--, u.__vueImplemented <= 0 && (u.iteratePropertiesHash((e, n) => {
|
|
87
87
|
e[n] = w(e[n]), Array.isArray(e[n]) && (e[n].onArrayChanged = void 0);
|
|
88
88
|
}), delete u.__vueImplemented, u.disableOnElementRerenderedEvent(), u.createArrayCoreHandler = void 0, u.getPropertyValueCoreHandler = void 0, u.setPropertyValueCoreHandler = void 0));
|
|
@@ -91,7 +91,7 @@ function S(u, e, n) {
|
|
|
91
91
|
const s = W(
|
|
92
92
|
u,
|
|
93
93
|
(t, l) => {
|
|
94
|
-
t && e && e(t, l), l && (
|
|
94
|
+
t && e && e(t, l), l && (pe(l), n && n(l)), es(t);
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
immediate: !0
|
|
@@ -101,7 +101,7 @@ function S(u, e, n) {
|
|
|
101
101
|
O(() => {
|
|
102
102
|
if (!o) {
|
|
103
103
|
const t = u();
|
|
104
|
-
t && (
|
|
104
|
+
t && (pe(t), s(), n && n(t)), o = !0;
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
}
|
|
@@ -129,18 +129,18 @@ function U(u) {
|
|
|
129
129
|
t && t.onStringChanged.remove(n), o();
|
|
130
130
|
}), e;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function ie(u) {
|
|
133
133
|
return u.customWidget ? "survey-customwidget" : u.isDefaultRendering && u.isDefaultRendering() || u.isPanel ? "survey-" + u.getTemplate() : u.getComponentName();
|
|
134
134
|
}
|
|
135
135
|
function se(u) {
|
|
136
|
-
const e = E(), n =
|
|
136
|
+
const e = E(), n = Te(() => {
|
|
137
137
|
e.value = u(), te(e);
|
|
138
138
|
});
|
|
139
139
|
return O(() => {
|
|
140
140
|
n();
|
|
141
141
|
}), e;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
143
|
+
const ns = /* @__PURE__ */ y({
|
|
144
144
|
__name: "Page",
|
|
145
145
|
props: {
|
|
146
146
|
survey: {},
|
|
@@ -199,7 +199,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
199
199
|
}, 1040, ["is"]))), 128))
|
|
200
200
|
], 2));
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
202
|
+
}), ts = /* @__PURE__ */ y({
|
|
203
203
|
__name: "Header",
|
|
204
204
|
props: {
|
|
205
205
|
survey: {}
|
|
@@ -250,7 +250,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
250
250
|
}, null, 2)
|
|
251
251
|
], 2)) : p("", !0);
|
|
252
252
|
}
|
|
253
|
-
}),
|
|
253
|
+
}), os = /* @__PURE__ */ y({
|
|
254
254
|
__name: "Row",
|
|
255
255
|
props: {
|
|
256
256
|
row: {},
|
|
@@ -266,7 +266,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
266
266
|
o.setRootElement(n.value), t && (o.isNeedRender = t.isNeedRender);
|
|
267
267
|
},
|
|
268
268
|
(o) => {
|
|
269
|
-
|
|
269
|
+
ss(o) || (clearTimeout(s), o.setRootElement(void 0), o.stopLazyRendering(), o.isNeedRender = !o.isLazyRendering());
|
|
270
270
|
}
|
|
271
271
|
), B(() => {
|
|
272
272
|
if (e.row && (e.row.setRootElement(n.value), !e.row.isNeedRender)) {
|
|
@@ -289,10 +289,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
289
289
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
290
290
|
], 2));
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), is = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], rs = ["aria-hidden"], ls = ["id"], as = {
|
|
293
293
|
inheritAttrs: !1
|
|
294
|
-
},
|
|
295
|
-
...
|
|
294
|
+
}, us = /* @__PURE__ */ y({
|
|
295
|
+
...as,
|
|
296
296
|
__name: "Question",
|
|
297
297
|
props: {
|
|
298
298
|
survey: {},
|
|
@@ -401,8 +401,8 @@ const ss = /* @__PURE__ */ y({
|
|
|
401
401
|
is: "survey-string",
|
|
402
402
|
locString: q.element.locDescription
|
|
403
403
|
}, null, 8, ["locString"])
|
|
404
|
-
], 10,
|
|
405
|
-
], 14,
|
|
404
|
+
], 10, ls)) : p("", !0)
|
|
405
|
+
], 14, rs)
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
}, 16, ["is"])),
|
|
@@ -418,12 +418,12 @@ const ss = /* @__PURE__ */ y({
|
|
|
418
418
|
element: q.element,
|
|
419
419
|
location: "bottom"
|
|
420
420
|
}, null, 8, ["element"])) : p("", !0)
|
|
421
|
-
], 46,
|
|
421
|
+
], 46, is));
|
|
422
422
|
}
|
|
423
|
-
}),
|
|
423
|
+
}), ds = ["id"], ms = ["id", "role", "aria-labelledby", "aria-label"], ps = {
|
|
424
424
|
inheritAttrs: !1
|
|
425
|
-
},
|
|
426
|
-
...
|
|
425
|
+
}, vs = /* @__PURE__ */ y({
|
|
426
|
+
...ps,
|
|
427
427
|
inheritAttrs: !1,
|
|
428
428
|
__name: "Panel",
|
|
429
429
|
props: {
|
|
@@ -488,10 +488,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
488
488
|
is: "sv-action-bar",
|
|
489
489
|
model: o.element.getFooterToolbar()
|
|
490
490
|
}, null, 8, ["model"])
|
|
491
|
-
], 14,
|
|
492
|
-
], 42,
|
|
491
|
+
], 14, ms)) : p("", !0)
|
|
492
|
+
], 42, ds)) : p("", !0);
|
|
493
493
|
}
|
|
494
|
-
}),
|
|
494
|
+
}), Cs = ["id"], cs = /* @__PURE__ */ y({
|
|
495
495
|
__name: "ElementHeader",
|
|
496
496
|
props: {
|
|
497
497
|
element: {},
|
|
@@ -523,7 +523,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
523
523
|
is: "survey-string",
|
|
524
524
|
locString: o.element.locDescription
|
|
525
525
|
}, null, 8, ["locString"])
|
|
526
|
-
], 10,
|
|
526
|
+
], 10, Cs)), [
|
|
527
527
|
[A, o.element.hasDescription]
|
|
528
528
|
]) : p("", !0),
|
|
529
529
|
o.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
@@ -533,7 +533,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
533
533
|
}, null, 8, ["model"])) : p("", !0)
|
|
534
534
|
], 6));
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), gs = /* @__PURE__ */ y({
|
|
537
537
|
__name: "String",
|
|
538
538
|
props: {
|
|
539
539
|
locString: {}
|
|
@@ -544,7 +544,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
544
544
|
locString: e.locString.renderAsData
|
|
545
545
|
}, null, 8, ["is", "locString"]));
|
|
546
546
|
}
|
|
547
|
-
}),
|
|
547
|
+
}), ys = ["innerHTML"], hs = /* @__PURE__ */ y({
|
|
548
548
|
__name: "StringViewer",
|
|
549
549
|
props: {
|
|
550
550
|
locString: {}
|
|
@@ -555,12 +555,12 @@ const ss = /* @__PURE__ */ y({
|
|
|
555
555
|
key: 0,
|
|
556
556
|
class: r(w(s)),
|
|
557
557
|
innerHTML: w(n)
|
|
558
|
-
}, null, 10,
|
|
558
|
+
}, null, 10, ys)) : (i(), a("span", {
|
|
559
559
|
key: 1,
|
|
560
560
|
class: r(w(s))
|
|
561
561
|
}, I(w(n)), 3));
|
|
562
562
|
}
|
|
563
|
-
}),
|
|
563
|
+
}), qs = ["innerHTML"], ws = /* @__PURE__ */ y({
|
|
564
564
|
__name: "StringEditor",
|
|
565
565
|
props: {
|
|
566
566
|
locString: {}
|
|
@@ -579,7 +579,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
579
579
|
innerHTML: o.locString.renderedHtml,
|
|
580
580
|
onBlur: n,
|
|
581
581
|
onClick: s
|
|
582
|
-
}, null, 40,
|
|
582
|
+
}, null, 40, qs)) : (i(), a("span", {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "sv-string-editor",
|
|
585
585
|
contenteditable: "true",
|
|
@@ -587,7 +587,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
587
587
|
onClick: s
|
|
588
588
|
}, I(o.locString.renderedHtml), 33));
|
|
589
589
|
}
|
|
590
|
-
}),
|
|
590
|
+
}), bs = ["id"], Ls = /* @__PURE__ */ y({
|
|
591
591
|
__name: "Skeleton",
|
|
592
592
|
props: {
|
|
593
593
|
element: {}
|
|
@@ -598,18 +598,18 @@ const ss = /* @__PURE__ */ y({
|
|
|
598
598
|
class: "sv-skeleton-element",
|
|
599
599
|
id: n.element.id,
|
|
600
600
|
style: k({ height: n.element.skeletonHeight })
|
|
601
|
-
}, null, 12,
|
|
601
|
+
}, null, 12, bs));
|
|
602
602
|
}
|
|
603
|
-
}),
|
|
604
|
-
|
|
605
|
-
],
|
|
603
|
+
}), ks = { class: "sv-scroll__container" }, fs = /* @__PURE__ */ v("div", { class: "sv-scroll__scrollbar-sizer" }, null, -1), Hs = [
|
|
604
|
+
fs
|
|
605
|
+
], Ms = /* @__PURE__ */ y({
|
|
606
606
|
__name: "Scroll",
|
|
607
607
|
props: {
|
|
608
608
|
disabled: {},
|
|
609
609
|
onInnerHeightChanged: { type: Function }
|
|
610
610
|
},
|
|
611
611
|
setup(u) {
|
|
612
|
-
const e = u, n = new
|
|
612
|
+
const e = u, n = new We();
|
|
613
613
|
n.onInnerHeightChanged = (o) => {
|
|
614
614
|
e.onInnerHeightChanged && e.onInnerHeightChanged(o);
|
|
615
615
|
};
|
|
@@ -628,17 +628,17 @@ const ss = /* @__PURE__ */ y({
|
|
|
628
628
|
class: "sv-scroll__scroller sv-drag-target-skipped",
|
|
629
629
|
onScroll: t[0] || (t[0] = () => w(n).onScrollContainer())
|
|
630
630
|
}, [
|
|
631
|
-
v("div",
|
|
631
|
+
v("div", ks, [
|
|
632
632
|
x(o.$slots, "default")
|
|
633
633
|
])
|
|
634
634
|
], 32),
|
|
635
635
|
v("div", {
|
|
636
636
|
class: "sv-scroll__scrollbar",
|
|
637
637
|
onScroll: t[1] || (t[1] = () => w(n).onScrollScrollbar())
|
|
638
|
-
},
|
|
638
|
+
}, Hs, 32)
|
|
639
639
|
], 512));
|
|
640
640
|
}
|
|
641
|
-
}),
|
|
641
|
+
}), Is = ["id"], Vs = ["value"], Ss = /* @__PURE__ */ y({
|
|
642
642
|
inheritAttrs: !1,
|
|
643
643
|
__name: "Text",
|
|
644
644
|
props: {
|
|
@@ -665,8 +665,8 @@ const ss = /* @__PURE__ */ y({
|
|
|
665
665
|
(i(!0), a(H, null, V(s.question.dataList, (t, l) => (i(), a("option", {
|
|
666
666
|
key: l,
|
|
667
667
|
value: t
|
|
668
|
-
}, null, 8,
|
|
669
|
-
], 8,
|
|
668
|
+
}, null, 8, Vs))), 128))
|
|
669
|
+
], 8, Is)
|
|
670
670
|
], 512)) : (i(), g(m, {
|
|
671
671
|
key: 2,
|
|
672
672
|
is: "survey-text-input",
|
|
@@ -676,7 +676,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
676
676
|
}
|
|
677
677
|
}, null, 8, ["question", "get-ref"]));
|
|
678
678
|
}
|
|
679
|
-
}),
|
|
679
|
+
}), Rs = ["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"], Ts = ["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"], Bs = /* @__PURE__ */ y({
|
|
680
680
|
__name: "TextInput",
|
|
681
681
|
props: {
|
|
682
682
|
question: {},
|
|
@@ -730,7 +730,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
730
730
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
731
731
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
732
732
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
733
|
-
}, null, 46,
|
|
733
|
+
}, null, 46, Ts),
|
|
734
734
|
c(m, {
|
|
735
735
|
is: "sv-character-counter",
|
|
736
736
|
counter: l.question.characterCounter,
|
|
@@ -776,12 +776,12 @@ const ss = /* @__PURE__ */ y({
|
|
|
776
776
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
777
777
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
778
778
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
779
|
-
}, null, 46,
|
|
779
|
+
}, null, 46, Rs));
|
|
780
780
|
}
|
|
781
|
-
}),
|
|
781
|
+
}), Zs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], $s = {
|
|
782
782
|
key: 0,
|
|
783
783
|
class: "sv-hidden"
|
|
784
|
-
},
|
|
784
|
+
}, Ds = { key: 6 }, As = ["value"], Le = /* @__PURE__ */ y({
|
|
785
785
|
inheritAttrs: !1,
|
|
786
786
|
__name: "SelectBase",
|
|
787
787
|
props: {
|
|
@@ -811,7 +811,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
811
811
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
812
812
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
813
813
|
}, [
|
|
814
|
-
t.showLegend ? (i(), a("legend",
|
|
814
|
+
t.showLegend ? (i(), a("legend", $s, I(t.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
815
815
|
t.question.hasHeadItems ? (i(!0), a(H, { key: 1 }, V(t.question.headItems, (d) => (i(), g(m, $({
|
|
816
816
|
key: d.value,
|
|
817
817
|
is: s(d)
|
|
@@ -848,7 +848,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
848
848
|
key: d.value,
|
|
849
849
|
is: s(d)
|
|
850
850
|
}, o(d)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
851
|
-
t.question.showClearButtonInContent ? (i(), a("div",
|
|
851
|
+
t.question.showClearButtonInContent ? (i(), a("div", Ds, [
|
|
852
852
|
v("input", {
|
|
853
853
|
type: "button",
|
|
854
854
|
class: r(t.question.cssClasses.clearButton),
|
|
@@ -856,24 +856,24 @@ const ss = /* @__PURE__ */ y({
|
|
|
856
856
|
t.question.clearValue(!0);
|
|
857
857
|
}),
|
|
858
858
|
value: t.question.clearButtonCaption
|
|
859
|
-
}, null, 10,
|
|
859
|
+
}, null, 10, As)
|
|
860
860
|
])) : p("", !0)
|
|
861
|
-
], 10,
|
|
861
|
+
], 10, Zs));
|
|
862
862
|
}
|
|
863
|
-
}),
|
|
863
|
+
}), Ps = /* @__PURE__ */ y({
|
|
864
864
|
inheritAttrs: !1,
|
|
865
865
|
__name: "Checkbox",
|
|
866
866
|
props: {
|
|
867
867
|
question: {}
|
|
868
868
|
},
|
|
869
869
|
setup(u) {
|
|
870
|
-
return (e, n) => (i(), g(
|
|
870
|
+
return (e, n) => (i(), g(Le, {
|
|
871
871
|
question: e.question,
|
|
872
872
|
"show-legend": !0
|
|
873
873
|
}, null, 8, ["question"]));
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
|
-
function
|
|
876
|
+
function ke(u, e, n) {
|
|
877
877
|
B(() => {
|
|
878
878
|
n.value && (e().isDesignMode || u().setRootElement(n.value));
|
|
879
879
|
}), P(() => {
|
|
@@ -882,7 +882,7 @@ function Le(u, e, n) {
|
|
|
882
882
|
e().isDesignMode || (s && n.value && s.setRootElement(n.value), o && o.setRootElement(void 0));
|
|
883
883
|
});
|
|
884
884
|
}
|
|
885
|
-
const
|
|
885
|
+
const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required", "aria-label"], Es = ["xlink:href"], Ws = /* @__PURE__ */ y({
|
|
886
886
|
inheritAttrs: !1,
|
|
887
887
|
__name: "CheckboxItem",
|
|
888
888
|
props: {
|
|
@@ -893,7 +893,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
893
893
|
},
|
|
894
894
|
setup(u) {
|
|
895
895
|
const e = f(), n = u;
|
|
896
|
-
|
|
896
|
+
ke(
|
|
897
897
|
() => n.item,
|
|
898
898
|
() => n.question,
|
|
899
899
|
e
|
|
@@ -925,7 +925,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
925
925
|
class: r(o.question.cssClasses.itemControl),
|
|
926
926
|
required: o.question.hasRequiredError(),
|
|
927
927
|
"aria-label": o.ariaLabel
|
|
928
|
-
}, null, 42,
|
|
928
|
+
}, null, 42, Ns),
|
|
929
929
|
o.question.cssClasses.materialDecorator ? (i(), a("span", {
|
|
930
930
|
key: 0,
|
|
931
931
|
class: r(o.question.cssClasses.materialDecorator)
|
|
@@ -936,7 +936,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
936
936
|
}, [
|
|
937
937
|
v("use", {
|
|
938
938
|
"xlink:href": o.question.itemSvgIcon
|
|
939
|
-
}, null, 8,
|
|
939
|
+
}, null, 8, Es)
|
|
940
940
|
], 2)) : p("", !0)
|
|
941
941
|
], 2)) : p("", !0),
|
|
942
942
|
o.hideLabel ? p("", !0) : (i(), a("span", {
|
|
@@ -958,16 +958,16 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
958
958
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
959
959
|
], 64));
|
|
960
960
|
}
|
|
961
|
-
}),
|
|
961
|
+
}), Fs = /* @__PURE__ */ y({
|
|
962
962
|
inheritAttrs: !1,
|
|
963
963
|
__name: "Radiogroup",
|
|
964
964
|
props: {
|
|
965
965
|
question: {}
|
|
966
966
|
},
|
|
967
967
|
setup(u) {
|
|
968
|
-
return (e, n) => (i(), g(
|
|
968
|
+
return (e, n) => (i(), g(Le, { question: e.question }, null, 8, ["question"]));
|
|
969
969
|
}
|
|
970
|
-
}),
|
|
970
|
+
}), Os = ["name", "value", "id", "aria-errormessage", "checked", "disabled", "readonly", "aria-label"], zs = ["xlink:href"], Us = /* @__PURE__ */ y({
|
|
971
971
|
inheritAttrs: !1,
|
|
972
972
|
__name: "RadiogroupItem",
|
|
973
973
|
props: {
|
|
@@ -980,7 +980,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
980
980
|
const e = f(), n = u, s = (l) => n.question.getLabelClass(l), o = (l) => n.question.getControlLabelClass(l), t = () => {
|
|
981
981
|
n.question.clickItemHandler(n.item);
|
|
982
982
|
};
|
|
983
|
-
return
|
|
983
|
+
return ke(
|
|
984
984
|
() => n.item,
|
|
985
985
|
() => n.question,
|
|
986
986
|
e
|
|
@@ -1009,7 +1009,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1009
1009
|
readonly: l.question.isReadOnlyAttr,
|
|
1010
1010
|
class: r(l.question.cssClasses.itemControl),
|
|
1011
1011
|
"aria-label": l.ariaLabel
|
|
1012
|
-
}, null, 42,
|
|
1012
|
+
}, null, 42, Os),
|
|
1013
1013
|
l.question.cssClasses.materialDecorator ? (i(), a("span", {
|
|
1014
1014
|
key: 0,
|
|
1015
1015
|
class: r(l.question.cssClasses.materialDecorator)
|
|
@@ -1020,7 +1020,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1020
1020
|
}, [
|
|
1021
1021
|
v("use", {
|
|
1022
1022
|
"xlink:href": l.question.itemSvgIcon
|
|
1023
|
-
}, null, 8,
|
|
1023
|
+
}, null, 8, zs)
|
|
1024
1024
|
], 2)) : p("", !0)
|
|
1025
1025
|
], 2)) : p("", !0),
|
|
1026
1026
|
l.hideLabel ? p("", !0) : (i(), a("span", {
|
|
@@ -1042,7 +1042,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1042
1042
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1043
1043
|
], 64));
|
|
1044
1044
|
}
|
|
1045
|
-
}),
|
|
1045
|
+
}), Qs = ["src"], Ks = ["title"], js = { key: 0 }, Gs = /* @__PURE__ */ y({
|
|
1046
1046
|
inheritAttrs: !1,
|
|
1047
1047
|
__name: "Signaturepad",
|
|
1048
1048
|
props: {
|
|
@@ -1077,7 +1077,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1077
1077
|
style: k({
|
|
1078
1078
|
width: s.question.renderedCanvasWidth
|
|
1079
1079
|
})
|
|
1080
|
-
}, null, 14,
|
|
1080
|
+
}, null, 14, Qs)) : p("", !0),
|
|
1081
1081
|
v("canvas", {
|
|
1082
1082
|
tabindex: "-1",
|
|
1083
1083
|
class: r(s.question.cssClasses.canvas),
|
|
@@ -1097,14 +1097,14 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1097
1097
|
s.question.clearValue(!0);
|
|
1098
1098
|
})
|
|
1099
1099
|
}, [
|
|
1100
|
-
s.question.cssClasses.clearButtonIconId ? p("", !0) : (i(), a("span",
|
|
1100
|
+
s.question.cssClasses.clearButtonIconId ? p("", !0) : (i(), a("span", js, "✖")),
|
|
1101
1101
|
s.question.cssClasses.clearButtonIconId ? (i(), g(m, {
|
|
1102
1102
|
key: 1,
|
|
1103
1103
|
is: "sv-svg-icon",
|
|
1104
1104
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1105
1105
|
size: "auto"
|
|
1106
1106
|
}, null, 8, ["iconName"])) : p("", !0)
|
|
1107
|
-
], 10,
|
|
1107
|
+
], 10, Ks)
|
|
1108
1108
|
], 2)) : p("", !0),
|
|
1109
1109
|
s.question.showLoadingIndicator ? (i(), a("div", {
|
|
1110
1110
|
key: 1,
|
|
@@ -1114,7 +1114,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1114
1114
|
], 2)) : p("", !0)
|
|
1115
1115
|
], 6));
|
|
1116
1116
|
}
|
|
1117
|
-
}),
|
|
1117
|
+
}), Xs = ["innerHTML"], Js = /* @__PURE__ */ y({
|
|
1118
1118
|
inheritAttrs: !1,
|
|
1119
1119
|
__name: "Html",
|
|
1120
1120
|
props: {
|
|
@@ -1129,9 +1129,9 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1129
1129
|
ref: n,
|
|
1130
1130
|
class: r(o.question.renderCssRoot),
|
|
1131
1131
|
innerHTML: w(s)
|
|
1132
|
-
}, null, 10,
|
|
1132
|
+
}, null, 10, Xs));
|
|
1133
1133
|
}
|
|
1134
|
-
}),
|
|
1134
|
+
}), Ys = ["src", "alt", "width", "height"], _s = ["src", "width", "height"], xs = ["src", "title", "width", "height"], e1 = /* @__PURE__ */ y({
|
|
1135
1135
|
inheritAttrs: !1,
|
|
1136
1136
|
__name: "Image",
|
|
1137
1137
|
props: {
|
|
@@ -1164,7 +1164,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1164
1164
|
onError: t[1] || (t[1] = (l) => {
|
|
1165
1165
|
o.question.onErrorHandler();
|
|
1166
1166
|
})
|
|
1167
|
-
}, null, 46,
|
|
1167
|
+
}, null, 46, Ys)), [
|
|
1168
1168
|
[A, w(s) && !o.question.contentNotLoaded]
|
|
1169
1169
|
]) : p("", !0),
|
|
1170
1170
|
o.question.renderedMode === "video" ? Z((i(), a("video", {
|
|
@@ -1185,7 +1185,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1185
1185
|
onError: t[3] || (t[3] = (l) => {
|
|
1186
1186
|
o.question.onErrorHandler();
|
|
1187
1187
|
})
|
|
1188
|
-
}, null, 46,
|
|
1188
|
+
}, null, 46, _s)), [
|
|
1189
1189
|
[A, w(s) && !o.question.contentNotLoaded]
|
|
1190
1190
|
]) : p("", !0),
|
|
1191
1191
|
o.question.renderedMode === "youtube" ? (i(), a("iframe", {
|
|
@@ -1200,7 +1200,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1200
1200
|
width: o.question.renderedStyleWidth,
|
|
1201
1201
|
height: o.question.renderedStyleHeight
|
|
1202
1202
|
})
|
|
1203
|
-
}, null, 14,
|
|
1203
|
+
}, null, 14, xs)) : p("", !0),
|
|
1204
1204
|
!w(s) || o.question.contentNotLoaded ? (i(), a("div", {
|
|
1205
1205
|
key: 3,
|
|
1206
1206
|
class: r(o.question.cssClasses.noImage)
|
|
@@ -1213,7 +1213,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1213
1213
|
], 2)) : p("", !0)
|
|
1214
1214
|
], 2));
|
|
1215
1215
|
}
|
|
1216
|
-
}),
|
|
1216
|
+
}), s1 = ["aria-label"], n1 = /* @__PURE__ */ y({
|
|
1217
1217
|
inheritAttrs: !1,
|
|
1218
1218
|
__name: "Expression",
|
|
1219
1219
|
props: {
|
|
@@ -1227,9 +1227,9 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1227
1227
|
ref: n,
|
|
1228
1228
|
"aria-live": "polite",
|
|
1229
1229
|
"aria-label": s.question.formatedValue
|
|
1230
|
-
}, I(s.question.formatedValue), 11,
|
|
1230
|
+
}, I(s.question.formatedValue), 11, s1));
|
|
1231
1231
|
}
|
|
1232
|
-
}),
|
|
1232
|
+
}), t1 = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], o1 = ["id", "multiple", "placeholder"], i1 = ["id", "multiple", "placeholder"], r1 = /* @__PURE__ */ y({
|
|
1233
1233
|
inheritAttrs: !1,
|
|
1234
1234
|
__name: "File",
|
|
1235
1235
|
props: {
|
|
@@ -1256,7 +1256,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1256
1256
|
title: s.question.inputTitle,
|
|
1257
1257
|
accept: s.question.acceptedTypes,
|
|
1258
1258
|
capture: s.question.renderCapture
|
|
1259
|
-
}, null, 10,
|
|
1259
|
+
}, null, 10, t1)) : p("", !0),
|
|
1260
1260
|
s.question.isReadOnlyAttr ? (i(), a("input", {
|
|
1261
1261
|
key: 1,
|
|
1262
1262
|
type: "file",
|
|
@@ -1266,7 +1266,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1266
1266
|
multiple: s.question.allowMultiple,
|
|
1267
1267
|
placeholder: s.question.title,
|
|
1268
1268
|
style: { color: "transparent" }
|
|
1269
|
-
}, null, 10,
|
|
1269
|
+
}, null, 10, o1)) : p("", !0),
|
|
1270
1270
|
s.question.isDisabledAttr ? (i(), a("input", {
|
|
1271
1271
|
key: 2,
|
|
1272
1272
|
type: "file",
|
|
@@ -1276,7 +1276,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1276
1276
|
multiple: s.question.allowMultiple,
|
|
1277
1277
|
placeholder: s.question.title,
|
|
1278
1278
|
style: { color: "transparent" }
|
|
1279
|
-
}, null, 10,
|
|
1279
|
+
}, null, 10, i1)) : p("", !0),
|
|
1280
1280
|
v("div", {
|
|
1281
1281
|
class: r(s.question.cssClasses.dragArea),
|
|
1282
1282
|
onDrop: o[0] || (o[0] = //@ts-ignore
|
|
@@ -1335,7 +1335,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1335
1335
|
], 34)
|
|
1336
1336
|
], 2));
|
|
1337
1337
|
}
|
|
1338
|
-
}),
|
|
1338
|
+
}), l1 = { class: "sv-hidden" }, ve = "survey-imagepicker-item", a1 = /* @__PURE__ */ y({
|
|
1339
1339
|
inheritAttrs: !1,
|
|
1340
1340
|
__name: "Imagepicker",
|
|
1341
1341
|
props: {
|
|
@@ -1344,8 +1344,8 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1344
1344
|
setup(u) {
|
|
1345
1345
|
const e = u, n = f(null);
|
|
1346
1346
|
T(e, n);
|
|
1347
|
-
const s = (t) => e.question.getItemValueWrapperComponentName(t) ||
|
|
1348
|
-
componentName:
|
|
1347
|
+
const s = (t) => e.question.getItemValueWrapperComponentName(t) || ve, o = (t) => ({
|
|
1348
|
+
componentName: ve,
|
|
1349
1349
|
componentData: {
|
|
1350
1350
|
question: e.question,
|
|
1351
1351
|
item: t,
|
|
@@ -1358,7 +1358,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1358
1358
|
ref_key: "root",
|
|
1359
1359
|
ref: n
|
|
1360
1360
|
}, [
|
|
1361
|
-
v("legend",
|
|
1361
|
+
v("legend", l1, I(t.question.locTitle.renderedHtml), 1),
|
|
1362
1362
|
t.question.hasColumns ? p("", !0) : (i(!0), a(H, { key: 0 }, V(t.question.visibleChoices, (d) => (i(), g(m, $({
|
|
1363
1363
|
key: d.value,
|
|
1364
1364
|
is: s(d)
|
|
@@ -1375,7 +1375,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1375
1375
|
], 2))), 128)) : p("", !0)
|
|
1376
1376
|
], 6));
|
|
1377
1377
|
}
|
|
1378
|
-
}),
|
|
1378
|
+
}), u1 = ["name", "value", "id", "disabled", "readonly", "required", "aria-label", "aria-invalid", "aria-errormessage"], d1 = ["name", "value", "id", "disabled", "readonly", "required", "aria-label", "aria-invalid", "aria-errormessage"], m1 = ["src", "width", "height", "alt"], p1 = ["src", "width", "height"], v1 = /* @__PURE__ */ y({
|
|
1379
1379
|
inheritAttrs: !1,
|
|
1380
1380
|
__name: "ImagepickerItem",
|
|
1381
1381
|
props: {
|
|
@@ -1414,7 +1414,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1414
1414
|
"aria-invalid": t.question.ariaInvalid,
|
|
1415
1415
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1416
1416
|
class: r(t.question.cssClasses.itemControl)
|
|
1417
|
-
}, null, 10,
|
|
1417
|
+
}, null, 10, u1)), [
|
|
1418
1418
|
[oe, s.value]
|
|
1419
1419
|
]) : Z((i(), a("input", {
|
|
1420
1420
|
key: 1,
|
|
@@ -1430,8 +1430,8 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1430
1430
|
"aria-invalid": t.question.ariaInvalid,
|
|
1431
1431
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1432
1432
|
class: r(t.question.cssClasses.itemControl)
|
|
1433
|
-
}, null, 10,
|
|
1434
|
-
[
|
|
1433
|
+
}, null, 10, d1)), [
|
|
1434
|
+
[he, s.value]
|
|
1435
1435
|
]),
|
|
1436
1436
|
v("div", {
|
|
1437
1437
|
class: r(t.question.cssClasses.itemDecorator)
|
|
@@ -1466,7 +1466,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1466
1466
|
onError: l[3] || (l[3] = (d) => {
|
|
1467
1467
|
t.item.onErrorHandler();
|
|
1468
1468
|
})
|
|
1469
|
-
}, null, 46,
|
|
1469
|
+
}, null, 46, m1)) : p("", !0),
|
|
1470
1470
|
w(o) && !t.item.contentNotLoaded && t.question.contentMode === "video" ? (i(), a("video", {
|
|
1471
1471
|
key: 2,
|
|
1472
1472
|
controls: "",
|
|
@@ -1481,7 +1481,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1481
1481
|
onError: l[5] || (l[5] = (d) => {
|
|
1482
1482
|
t.item.onErrorHandler();
|
|
1483
1483
|
})
|
|
1484
|
-
}, null, 46,
|
|
1484
|
+
}, null, 46, p1)) : p("", !0),
|
|
1485
1485
|
!w(o) || t.item.contentNotLoaded ? (i(), a("div", {
|
|
1486
1486
|
key: 3,
|
|
1487
1487
|
class: r(t.question.cssClasses.itemNoImage),
|
|
@@ -1512,7 +1512,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1512
1512
|
], 2)
|
|
1513
1513
|
], 2));
|
|
1514
1514
|
}
|
|
1515
|
-
}),
|
|
1515
|
+
}), C1 = /* @__PURE__ */ y({
|
|
1516
1516
|
inheritAttrs: !1,
|
|
1517
1517
|
__name: "Comment",
|
|
1518
1518
|
props: {
|
|
@@ -1548,7 +1548,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1548
1548
|
ref: n
|
|
1549
1549
|
}, I(o.question.value), 513));
|
|
1550
1550
|
}
|
|
1551
|
-
}),
|
|
1551
|
+
}), c1 = /* @__PURE__ */ y({
|
|
1552
1552
|
inheritAttrs: !1,
|
|
1553
1553
|
__name: "Dropdown",
|
|
1554
1554
|
props: {
|
|
@@ -1573,16 +1573,16 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1573
1573
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1574
1574
|
], 2));
|
|
1575
1575
|
}
|
|
1576
|
-
}),
|
|
1576
|
+
}), g1 = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], y1 = {
|
|
1577
1577
|
key: 0,
|
|
1578
1578
|
value: ""
|
|
1579
|
-
},
|
|
1579
|
+
}, h1 = ["id"];
|
|
1580
1580
|
G.Instance.registerRenderer(
|
|
1581
1581
|
"dropdown",
|
|
1582
1582
|
"select",
|
|
1583
1583
|
"sv-dropdown-select"
|
|
1584
1584
|
);
|
|
1585
|
-
const
|
|
1585
|
+
const q1 = /* @__PURE__ */ y({
|
|
1586
1586
|
inheritAttrs: !1,
|
|
1587
1587
|
__name: "DropdownSelect",
|
|
1588
1588
|
props: {
|
|
@@ -1617,7 +1617,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1617
1617
|
disabled: "",
|
|
1618
1618
|
id: l.question.inputId,
|
|
1619
1619
|
class: r(l.question.getControlClass())
|
|
1620
|
-
}, I(l.question.readOnlyText), 11,
|
|
1620
|
+
}, I(l.question.readOnlyText), 11, h1)) : Z((i(), a("select", {
|
|
1621
1621
|
key: 0,
|
|
1622
1622
|
id: l.question.inputId,
|
|
1623
1623
|
"onUpdate:modelValue": d[0] || (d[0] = (C) => t.value = C),
|
|
@@ -1631,13 +1631,13 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1631
1631
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage,
|
|
1632
1632
|
required: l.question.isRequired
|
|
1633
1633
|
}, [
|
|
1634
|
-
l.question.allowClear ? (i(), a("option",
|
|
1634
|
+
l.question.allowClear ? (i(), a("option", y1, I(l.question.placeholder), 1)) : p("", !0),
|
|
1635
1635
|
(i(!0), a(H, null, V(l.question.visibleChoices, (C) => (i(), g(m, {
|
|
1636
1636
|
is: "sv-dropdown-option-item",
|
|
1637
1637
|
item: C,
|
|
1638
1638
|
key: C.id
|
|
1639
1639
|
}, null, 8, ["item"]))), 128))
|
|
1640
|
-
], 42,
|
|
1640
|
+
], 42, g1)), [
|
|
1641
1641
|
[Be, t.value]
|
|
1642
1642
|
]),
|
|
1643
1643
|
l.question.cssClasses.chevronButtonIconId ? (i(), a("div", {
|
|
@@ -1661,7 +1661,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1661
1661
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1662
1662
|
], 2));
|
|
1663
1663
|
}
|
|
1664
|
-
}),
|
|
1664
|
+
}), w1 = ["value", "disabled"], b1 = /* @__PURE__ */ y({
|
|
1665
1665
|
__name: "OptionItem",
|
|
1666
1666
|
props: {
|
|
1667
1667
|
item: {}
|
|
@@ -1671,9 +1671,9 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1671
1671
|
return S(() => e.item), (s, o) => (i(), a("option", {
|
|
1672
1672
|
value: s.item.value,
|
|
1673
1673
|
disabled: !s.item.isEnabled
|
|
1674
|
-
}, I(w(n)), 9,
|
|
1674
|
+
}, I(w(n)), 9, w1));
|
|
1675
1675
|
}
|
|
1676
|
-
}),
|
|
1676
|
+
}), L1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "required"], k1 = { style: { visibility: "hidden" } }, f1 = ["disabled", "inputmode", "id", "tabindex", "readonly", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], H1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], M1 = /* @__PURE__ */ y({
|
|
1677
1677
|
__name: "Dropdown",
|
|
1678
1678
|
props: {
|
|
1679
1679
|
question: {}
|
|
@@ -1688,7 +1688,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1688
1688
|
}, l = () => {
|
|
1689
1689
|
if (n.value) {
|
|
1690
1690
|
const b = n.value, R = s.value.inputStringRendered;
|
|
1691
|
-
|
|
1691
|
+
Fe.isTwoValueEquals(R, b.value, !1, !0, !1) || (b.value = s.value.inputStringRendered);
|
|
1692
1692
|
}
|
|
1693
1693
|
}, d = (b) => {
|
|
1694
1694
|
e.question.onBlur(b), l();
|
|
@@ -1700,7 +1700,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1700
1700
|
() => e.question.showSelectedItemLocText
|
|
1701
1701
|
), q = M(() => e.question.selectedItemLocText);
|
|
1702
1702
|
return S(() => s.value), z(l), B(l), (b, R) => {
|
|
1703
|
-
var N, K, j,
|
|
1703
|
+
var N, K, j, ae;
|
|
1704
1704
|
return i(), a("div", {
|
|
1705
1705
|
class: r(b.question.cssClasses.selectWrapper),
|
|
1706
1706
|
onClick: o
|
|
@@ -1743,7 +1743,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1743
1743
|
key: 1,
|
|
1744
1744
|
class: r(b.question.cssClasses.hintSuffix)
|
|
1745
1745
|
}, [
|
|
1746
|
-
v("span",
|
|
1746
|
+
v("span", k1, I(s.value.inputStringRendered), 1),
|
|
1747
1747
|
v("span", null, I(s.value.hintStringSuffix), 1)
|
|
1748
1748
|
], 2)) : p("", !0),
|
|
1749
1749
|
b.question.showInputFieldComponent ? (i(), g(m, {
|
|
@@ -1778,13 +1778,13 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1778
1778
|
onInput: L,
|
|
1779
1779
|
onBlur: d,
|
|
1780
1780
|
onFocus: C
|
|
1781
|
-
}, null, 42,
|
|
1781
|
+
}, null, 42, f1)) : p("", !0)
|
|
1782
1782
|
], 2),
|
|
1783
1783
|
c(m, {
|
|
1784
1784
|
is: "sv-action-bar",
|
|
1785
1785
|
model: s.value.editorButtons
|
|
1786
1786
|
}, null, 8, ["model"])
|
|
1787
|
-
], 42,
|
|
1787
|
+
], 42, L1)),
|
|
1788
1788
|
b.question.isInputReadOnly ? p("", !0) : (i(), g(m, {
|
|
1789
1789
|
key: 1,
|
|
1790
1790
|
is: "sv-popup",
|
|
@@ -1796,7 +1796,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1796
1796
|
role: (N = s.value) == null ? void 0 : N.ariaQuestionRole,
|
|
1797
1797
|
"aria-label": (K = s.value) == null ? void 0 : K.ariaQuestionLabel,
|
|
1798
1798
|
"aria-labelledby": (j = s.value) == null ? void 0 : j.ariaQuestionLabelledby,
|
|
1799
|
-
"aria-describedby": (
|
|
1799
|
+
"aria-describedby": (ae = s.value) == null ? void 0 : ae.ariaQuestionDescribedby,
|
|
1800
1800
|
"aria-expanded": !1,
|
|
1801
1801
|
"aria-readonly": !0,
|
|
1802
1802
|
"aria-disabled": !0,
|
|
@@ -1816,11 +1816,11 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1816
1816
|
is: "sv-action-bar",
|
|
1817
1817
|
model: s.value.editorButtons
|
|
1818
1818
|
}, null, 8, ["model"])
|
|
1819
|
-
], 10,
|
|
1819
|
+
], 10, H1)) : p("", !0)
|
|
1820
1820
|
], 2);
|
|
1821
1821
|
};
|
|
1822
1822
|
}
|
|
1823
|
-
}),
|
|
1823
|
+
}), I1 = /* @__PURE__ */ y({
|
|
1824
1824
|
inheritAttrs: !1,
|
|
1825
1825
|
__name: "Tagbox",
|
|
1826
1826
|
props: {
|
|
@@ -1845,7 +1845,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1845
1845
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1846
1846
|
], 2));
|
|
1847
1847
|
}
|
|
1848
|
-
}),
|
|
1848
|
+
}), V1 = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage", "aria-controls", "aria-expanded", "aria-activedescendant", "required"], S1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], R1 = /* @__PURE__ */ y({
|
|
1849
1849
|
__name: "Tagbox",
|
|
1850
1850
|
props: {
|
|
1851
1851
|
question: {}
|
|
@@ -1853,7 +1853,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1853
1853
|
setup(u) {
|
|
1854
1854
|
const e = u, n = M(() => {
|
|
1855
1855
|
const d = e.question;
|
|
1856
|
-
return d.dropdownListModel || (d.dropdownListModel = new
|
|
1856
|
+
return d.dropdownListModel || (d.dropdownListModel = new Oe(d)), e.question.dropdownListModel;
|
|
1857
1857
|
}), s = (d) => {
|
|
1858
1858
|
var C;
|
|
1859
1859
|
(C = n.value) == null || C.onClick(d);
|
|
@@ -1910,7 +1910,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1910
1910
|
is: "sv-action-bar",
|
|
1911
1911
|
model: n.value.editorButtons
|
|
1912
1912
|
}, null, 8, ["model"])
|
|
1913
|
-
], 42,
|
|
1913
|
+
], 42, V1)),
|
|
1914
1914
|
d.question.isInputReadOnly ? p("", !0) : (i(), g(m, {
|
|
1915
1915
|
key: 1,
|
|
1916
1916
|
is: "sv-popup",
|
|
@@ -1942,11 +1942,11 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1942
1942
|
is: "sv-action-bar",
|
|
1943
1943
|
model: n.value.editorButtons
|
|
1944
1944
|
}, null, 8, ["model"])
|
|
1945
|
-
], 10,
|
|
1945
|
+
], 10, S1)) : p("", !0)
|
|
1946
1946
|
], 2);
|
|
1947
1947
|
};
|
|
1948
1948
|
}
|
|
1949
|
-
}),
|
|
1949
|
+
}), T1 = { style: { visibility: "hidden" } }, B1 = ["placeholder", "disabled", "inputmode", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "id", "readonly", "size"], Z1 = /* @__PURE__ */ y({
|
|
1950
1950
|
__name: "TagboxFilter",
|
|
1951
1951
|
props: {
|
|
1952
1952
|
question: {},
|
|
@@ -1992,7 +1992,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1992
1992
|
key: 1,
|
|
1993
1993
|
class: r(d.question.cssClasses.hintSuffix)
|
|
1994
1994
|
}, [
|
|
1995
|
-
v("span",
|
|
1995
|
+
v("span", T1, I(d.model.inputStringRendered), 1),
|
|
1996
1996
|
v("span", null, I(d.model.hintStringSuffix), 1)
|
|
1997
1997
|
], 2)) : p("", !0),
|
|
1998
1998
|
Z(v("input", {
|
|
@@ -2020,13 +2020,13 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2020
2020
|
onKeydown: s,
|
|
2021
2021
|
onBlur: o,
|
|
2022
2022
|
onFocus: t
|
|
2023
|
-
}, null, 42,
|
|
2023
|
+
}, null, 42, B1), [
|
|
2024
2024
|
[Ze, l.value]
|
|
2025
2025
|
])
|
|
2026
2026
|
], 2)
|
|
2027
2027
|
], 2));
|
|
2028
2028
|
}
|
|
2029
|
-
}),
|
|
2029
|
+
}), $1 = { class: "sv-tagbox__item-text" }, D1 = /* @__PURE__ */ y({
|
|
2030
2030
|
__name: "TagboxItem",
|
|
2031
2031
|
props: {
|
|
2032
2032
|
question: {},
|
|
@@ -2040,7 +2040,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2040
2040
|
class: "sv-tagbox__item",
|
|
2041
2041
|
key: s.item.key
|
|
2042
2042
|
}, [
|
|
2043
|
-
v("div",
|
|
2043
|
+
v("div", $1, [
|
|
2044
2044
|
c(m, {
|
|
2045
2045
|
is: "survey-string",
|
|
2046
2046
|
locString: s.item.locText
|
|
@@ -2059,7 +2059,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2059
2059
|
], 2)
|
|
2060
2060
|
]));
|
|
2061
2061
|
}
|
|
2062
|
-
}),
|
|
2062
|
+
}), A1 = /* @__PURE__ */ y({
|
|
2063
2063
|
inheritAttrs: !1,
|
|
2064
2064
|
__name: "Ranking",
|
|
2065
2065
|
props: {
|
|
@@ -2131,10 +2131,10 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2131
2131
|
], 2)) : p("", !0)
|
|
2132
2132
|
], 2));
|
|
2133
2133
|
}
|
|
2134
|
-
}),
|
|
2134
|
+
}), P1 = ["id", "tabindex", "data-sv-drop-target-ranking-item"], N1 = {
|
|
2135
2135
|
tabindex: "-1",
|
|
2136
2136
|
style: { outline: "none" }
|
|
2137
|
-
},
|
|
2137
|
+
}, E1 = ["xlink:href"], W1 = ["xlink:href"], F1 = ["xlink:href"], O1 = /* @__PURE__ */ y({
|
|
2138
2138
|
inheritAttrs: !1,
|
|
2139
2139
|
__name: "RankingItem",
|
|
2140
2140
|
props: {
|
|
@@ -2170,7 +2170,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2170
2170
|
);
|
|
2171
2171
|
})
|
|
2172
2172
|
}, [
|
|
2173
|
-
v("div",
|
|
2173
|
+
v("div", N1, [
|
|
2174
2174
|
v("div", {
|
|
2175
2175
|
class: r(s.question.cssClasses.itemGhostNode)
|
|
2176
2176
|
}, null, 2),
|
|
@@ -2185,14 +2185,14 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2185
2185
|
}, [
|
|
2186
2186
|
v("use", {
|
|
2187
2187
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2188
|
-
}, null, 8,
|
|
2188
|
+
}, null, 8, E1)
|
|
2189
2189
|
], 2)),
|
|
2190
2190
|
(i(), a("svg", {
|
|
2191
2191
|
class: r(s.question.getIconFocusCss())
|
|
2192
2192
|
}, [
|
|
2193
2193
|
v("use", {
|
|
2194
2194
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2195
|
-
}, null, 8,
|
|
2195
|
+
}, null, 8, W1)
|
|
2196
2196
|
], 2))
|
|
2197
2197
|
], 2),
|
|
2198
2198
|
!s.unrankedItem && n.value ? (i(), a("div", {
|
|
@@ -2205,7 +2205,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2205
2205
|
(i(), a("svg", null, [
|
|
2206
2206
|
v("use", {
|
|
2207
2207
|
"xlink:href": s.question.dashSvgIcon
|
|
2208
|
-
}, null, 8,
|
|
2208
|
+
}, null, 8, F1)
|
|
2209
2209
|
]))
|
|
2210
2210
|
], 2)),
|
|
2211
2211
|
c(m, {
|
|
@@ -2215,9 +2215,9 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2215
2215
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2216
2216
|
], 2)
|
|
2217
2217
|
])
|
|
2218
|
-
], 42,
|
|
2218
|
+
], 42, P1));
|
|
2219
2219
|
}
|
|
2220
|
-
}),
|
|
2220
|
+
}), z1 = /* @__PURE__ */ y({
|
|
2221
2221
|
inheritAttrs: !1,
|
|
2222
2222
|
__name: "RankingItemContent",
|
|
2223
2223
|
props: {
|
|
@@ -2234,10 +2234,10 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2234
2234
|
}, null, 8, ["locString"])
|
|
2235
2235
|
], 2));
|
|
2236
2236
|
}
|
|
2237
|
-
}),
|
|
2237
|
+
}), U1 = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Q1 = /* @__PURE__ */ v("legend", {
|
|
2238
2238
|
role: "presentation",
|
|
2239
2239
|
class: "sv-hidden"
|
|
2240
|
-
}, null, -1),
|
|
2240
|
+
}, null, -1), K1 = /* @__PURE__ */ y({
|
|
2241
2241
|
inheritAttrs: !1,
|
|
2242
2242
|
__name: "Rating",
|
|
2243
2243
|
props: {
|
|
@@ -2261,7 +2261,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2261
2261
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
2262
2262
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
2263
2263
|
}, [
|
|
2264
|
-
|
|
2264
|
+
Q1,
|
|
2265
2265
|
o.question.hasMinLabel ? (i(), a("span", {
|
|
2266
2266
|
key: 0,
|
|
2267
2267
|
class: r(o.question.cssClasses.minText)
|
|
@@ -2287,10 +2287,10 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2287
2287
|
locString: o.question.locMaxRateDescription
|
|
2288
2288
|
}, null, 8, ["locString"])
|
|
2289
2289
|
], 2)) : p("", !0)
|
|
2290
|
-
], 8,
|
|
2290
|
+
], 8, U1)
|
|
2291
2291
|
], 2));
|
|
2292
2292
|
}
|
|
2293
|
-
}),
|
|
2293
|
+
}), j1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], G1 = ["data-text"], X1 = /* @__PURE__ */ y({
|
|
2294
2294
|
__name: "RatingItem",
|
|
2295
2295
|
props: {
|
|
2296
2296
|
question: {},
|
|
@@ -2314,7 +2314,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2314
2314
|
readonly: n.question.isReadOnlyAttr,
|
|
2315
2315
|
onClick: s[0] || (s[0] = (o) => n.question.setValueFromClick(o.target.value)),
|
|
2316
2316
|
"aria-label": n.question.ariaLabel
|
|
2317
|
-
}, null, 8,
|
|
2317
|
+
}, null, 8, j1),
|
|
2318
2318
|
v("span", {
|
|
2319
2319
|
class: r(n.question.cssClasses.itemText),
|
|
2320
2320
|
"data-text": n.item.text
|
|
@@ -2323,10 +2323,10 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2323
2323
|
is: "survey-string",
|
|
2324
2324
|
locString: n.item.locText
|
|
2325
2325
|
}, null, 8, ["locString"])
|
|
2326
|
-
], 10,
|
|
2326
|
+
], 10, G1)
|
|
2327
2327
|
], 34));
|
|
2328
2328
|
}
|
|
2329
|
-
}),
|
|
2329
|
+
}), J1 = ["title"], Y1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], _1 = /* @__PURE__ */ y({
|
|
2330
2330
|
__name: "RatingItemSmiley",
|
|
2331
2331
|
props: {
|
|
2332
2332
|
question: {},
|
|
@@ -2354,15 +2354,15 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2354
2354
|
readonly: n.question.isReadOnlyAttr,
|
|
2355
2355
|
onClick: s[0] || (s[0] = (o) => n.question.setValueFromClick(o.target.value)),
|
|
2356
2356
|
"aria-label": n.question.ariaLabel
|
|
2357
|
-
}, null, 8,
|
|
2357
|
+
}, null, 8, Y1),
|
|
2358
2358
|
c(m, {
|
|
2359
2359
|
is: "sv-svg-icon",
|
|
2360
2360
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2361
2361
|
size: "auto"
|
|
2362
2362
|
}, null, 8, ["iconName"])
|
|
2363
|
-
], 46,
|
|
2363
|
+
], 46, J1));
|
|
2364
2364
|
}
|
|
2365
|
-
}),
|
|
2365
|
+
}), x1 = ["title"], en = ["name", "id", "value", "disabled", "readonly", "aria-label"], sn = /* @__PURE__ */ y({
|
|
2366
2366
|
__name: "RatingItemStar",
|
|
2367
2367
|
props: {
|
|
2368
2368
|
question: {},
|
|
@@ -2389,7 +2389,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2389
2389
|
readonly: n.question.isReadOnlyAttr,
|
|
2390
2390
|
onClick: s[0] || (s[0] = (o) => n.question.setValueFromClick((o == null ? void 0 : o.target).value)),
|
|
2391
2391
|
"aria-label": n.question.ariaLabel
|
|
2392
|
-
}, null, 8,
|
|
2392
|
+
}, null, 8, en),
|
|
2393
2393
|
c(m, {
|
|
2394
2394
|
is: "sv-svg-icon",
|
|
2395
2395
|
class: r("sv-star"),
|
|
@@ -2402,12 +2402,12 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2402
2402
|
iconName: n.question.itemStarIconAlt,
|
|
2403
2403
|
size: "auto"
|
|
2404
2404
|
}, null, 8, ["iconName"])
|
|
2405
|
-
], 42,
|
|
2405
|
+
], 42, x1));
|
|
2406
2406
|
}
|
|
2407
|
-
}),
|
|
2407
|
+
}), nn = { class: "sd-rating-dropdown-item" }, tn = { class: "sd-rating-dropdown-item_text" }, on = {
|
|
2408
2408
|
key: 0,
|
|
2409
2409
|
class: "sd-rating-dropdown-item_description"
|
|
2410
|
-
},
|
|
2410
|
+
}, rn = /* @__PURE__ */ y({
|
|
2411
2411
|
__name: "RatingDropdownItem",
|
|
2412
2412
|
props: {
|
|
2413
2413
|
item: {},
|
|
@@ -2415,9 +2415,9 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2415
2415
|
},
|
|
2416
2416
|
setup(u) {
|
|
2417
2417
|
const e = u;
|
|
2418
|
-
return S(() => e.item), (n, s) => (i(), a("div",
|
|
2419
|
-
v("span",
|
|
2420
|
-
n.item.description ? (i(), a("div",
|
|
2418
|
+
return S(() => e.item), (n, s) => (i(), a("div", nn, [
|
|
2419
|
+
v("span", tn, I(n.item.title), 1),
|
|
2420
|
+
n.item.description ? (i(), a("div", on, [
|
|
2421
2421
|
c(m, {
|
|
2422
2422
|
is: "survey-string",
|
|
2423
2423
|
locString: n.item.description
|
|
@@ -2431,7 +2431,7 @@ G.Instance.registerRenderer(
|
|
|
2431
2431
|
"dropdown",
|
|
2432
2432
|
"sv-rating-dropdown"
|
|
2433
2433
|
);
|
|
2434
|
-
const
|
|
2434
|
+
const ln = /* @__PURE__ */ y({
|
|
2435
2435
|
inheritAttrs: !1,
|
|
2436
2436
|
__name: "RatingDropdown",
|
|
2437
2437
|
props: {
|
|
@@ -2450,7 +2450,7 @@ const rn = /* @__PURE__ */ y({
|
|
|
2450
2450
|
}, null, 8, ["question"])
|
|
2451
2451
|
], 2));
|
|
2452
2452
|
}
|
|
2453
|
-
}),
|
|
2453
|
+
}), an = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], un = /* @__PURE__ */ y({
|
|
2454
2454
|
inheritAttrs: !1,
|
|
2455
2455
|
__name: "BooleanSwitch",
|
|
2456
2456
|
props: {
|
|
@@ -2490,7 +2490,7 @@ const rn = /* @__PURE__ */ y({
|
|
|
2490
2490
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
2491
2491
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2492
2492
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
2493
|
-
}, null, 42,
|
|
2493
|
+
}, null, 42, an), [
|
|
2494
2494
|
[oe, t.question.booleanValue]
|
|
2495
2495
|
]),
|
|
2496
2496
|
v("div", {
|
|
@@ -2546,7 +2546,7 @@ G.Instance.registerRenderer(
|
|
|
2546
2546
|
"radio",
|
|
2547
2547
|
"sv-boolean-radio"
|
|
2548
2548
|
);
|
|
2549
|
-
const
|
|
2549
|
+
const dn = /* @__PURE__ */ y({
|
|
2550
2550
|
inheritAttrs: !1,
|
|
2551
2551
|
__name: "BooleanRadio",
|
|
2552
2552
|
props: {
|
|
@@ -2587,7 +2587,7 @@ const un = /* @__PURE__ */ y({
|
|
|
2587
2587
|
], 2)
|
|
2588
2588
|
], 2));
|
|
2589
2589
|
}
|
|
2590
|
-
}),
|
|
2590
|
+
}), mn = ["name", "value", "checked", "aria-errormessage", "disabled", "readonly"], pn = ["xlink:href"], vn = /* @__PURE__ */ y({
|
|
2591
2591
|
__name: "BooleanRadioItem",
|
|
2592
2592
|
props: {
|
|
2593
2593
|
question: {},
|
|
@@ -2616,7 +2616,7 @@ const un = /* @__PURE__ */ y({
|
|
|
2616
2616
|
readonly: s.question.isReadOnlyAttr,
|
|
2617
2617
|
class: r(s.question.cssClasses.itemRadioControl),
|
|
2618
2618
|
onChange: n
|
|
2619
|
-
}, null, 42,
|
|
2619
|
+
}, null, 42, mn),
|
|
2620
2620
|
s.question.cssClasses.materialRadioDecorator ? (i(), a("span", {
|
|
2621
2621
|
key: 0,
|
|
2622
2622
|
class: r(s.question.cssClasses.materialRadioDecorator)
|
|
@@ -2627,7 +2627,7 @@ const un = /* @__PURE__ */ y({
|
|
|
2627
2627
|
}, [
|
|
2628
2628
|
v("use", {
|
|
2629
2629
|
"xlink:href": s.question.itemSvgIcon
|
|
2630
|
-
}, null, 8,
|
|
2630
|
+
}, null, 8, pn)
|
|
2631
2631
|
], 2)) : p("", !0)
|
|
2632
2632
|
], 2)) : p("", !0),
|
|
2633
2633
|
v("span", {
|
|
@@ -2641,13 +2641,13 @@ const un = /* @__PURE__ */ y({
|
|
|
2641
2641
|
], 2)
|
|
2642
2642
|
], 2));
|
|
2643
2643
|
}
|
|
2644
|
-
}),
|
|
2644
|
+
}), Cn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], cn = ["xlink:href"], gn = /* @__PURE__ */ v("span", { class: "check" }, null, -1), yn = ["id"], hn = ["id"];
|
|
2645
2645
|
G.Instance.registerRenderer(
|
|
2646
2646
|
"boolean",
|
|
2647
2647
|
"checkbox",
|
|
2648
2648
|
"sv-boolean-checkbox"
|
|
2649
2649
|
);
|
|
2650
|
-
const
|
|
2650
|
+
const qn = /* @__PURE__ */ y({
|
|
2651
2651
|
inheritAttrs: !1,
|
|
2652
2652
|
__name: "BooleanCheckbox",
|
|
2653
2653
|
props: {
|
|
@@ -2683,7 +2683,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2683
2683
|
"aria-describedby": s.question.a11y_input_ariaDescribedBy,
|
|
2684
2684
|
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
2685
2685
|
"aria-errormessage": s.question.a11y_input_ariaErrormessage
|
|
2686
|
-
}, null, 42,
|
|
2686
|
+
}, null, 42, Cn), [
|
|
2687
2687
|
[oe, s.question.booleanValue]
|
|
2688
2688
|
]),
|
|
2689
2689
|
v("span", {
|
|
@@ -2695,9 +2695,9 @@ const hn = /* @__PURE__ */ y({
|
|
|
2695
2695
|
}, [
|
|
2696
2696
|
v("use", {
|
|
2697
2697
|
"xlink:href": s.question.svgIcon
|
|
2698
|
-
}, null, 8,
|
|
2698
|
+
}, null, 8, cn)
|
|
2699
2699
|
], 2)) : p("", !0),
|
|
2700
|
-
|
|
2700
|
+
gn
|
|
2701
2701
|
], 2),
|
|
2702
2702
|
s.question.isLabelRendered ? (i(), a("span", {
|
|
2703
2703
|
key: 0,
|
|
@@ -2716,7 +2716,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2716
2716
|
element: s.question,
|
|
2717
2717
|
css: s.css
|
|
2718
2718
|
}, null, 8, ["element", "css"])) : p("", !0)
|
|
2719
|
-
], 10,
|
|
2719
|
+
], 10, yn)) : p("", !0)
|
|
2720
2720
|
], 2),
|
|
2721
2721
|
s.question.canRenderLabelDescription ? (i(), a("div", {
|
|
2722
2722
|
key: 0,
|
|
@@ -2727,11 +2727,11 @@ const hn = /* @__PURE__ */ y({
|
|
|
2727
2727
|
is: "survey-string",
|
|
2728
2728
|
locString: s.question.locDescription
|
|
2729
2729
|
}, null, 8, ["locString"])
|
|
2730
|
-
], 10,
|
|
2730
|
+
], 10, hn)) : p("", !0)
|
|
2731
2731
|
], 2)
|
|
2732
2732
|
], 2));
|
|
2733
2733
|
}
|
|
2734
|
-
}),
|
|
2734
|
+
}), wn = /* @__PURE__ */ y({
|
|
2735
2735
|
inheritAttrs: !1,
|
|
2736
2736
|
__name: "Multipletext",
|
|
2737
2737
|
props: {
|
|
@@ -2767,14 +2767,14 @@ const hn = /* @__PURE__ */ y({
|
|
|
2767
2767
|
])
|
|
2768
2768
|
], 2));
|
|
2769
2769
|
}
|
|
2770
|
-
}),
|
|
2770
|
+
}), bn = { key: 1 }, Ln = { key: 2 }, kn = /* @__PURE__ */ y({
|
|
2771
2771
|
__name: "MultipletextItem",
|
|
2772
2772
|
props: {
|
|
2773
2773
|
question: {},
|
|
2774
2774
|
cell: {}
|
|
2775
2775
|
},
|
|
2776
2776
|
setup(u) {
|
|
2777
|
-
const e = u, n = (o) =>
|
|
2777
|
+
const e = u, n = (o) => ie(o);
|
|
2778
2778
|
S(() => e.cell.item.editor);
|
|
2779
2779
|
const s = M(() => e.cell.item);
|
|
2780
2780
|
return (o, t) => o.cell.isErrorsCell ? (i(), g(m, {
|
|
@@ -2796,12 +2796,12 @@ const hn = /* @__PURE__ */ y({
|
|
|
2796
2796
|
key: 0,
|
|
2797
2797
|
class: r(o.question.cssClasses.requiredMark)
|
|
2798
2798
|
}, I(s.value.editor.requiredMark), 3)) : p("", !0),
|
|
2799
|
-
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span",
|
|
2799
|
+
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span", bn, " ")) : p("", !0),
|
|
2800
2800
|
c(m, {
|
|
2801
2801
|
is: "survey-string",
|
|
2802
2802
|
locString: s.value.locTitle
|
|
2803
2803
|
}, null, 8, ["locString"]),
|
|
2804
|
-
s.value.editor.isRequireTextAfterTitle ? (i(), a("span",
|
|
2804
|
+
s.value.editor.isRequireTextAfterTitle ? (i(), a("span", Ln, " ")) : p("", !0),
|
|
2805
2805
|
s.value.editor.isRequireTextAfterTitle ? (i(), a("span", {
|
|
2806
2806
|
key: 3,
|
|
2807
2807
|
"aria-hidden": "true",
|
|
@@ -2820,7 +2820,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2820
2820
|
], 34))
|
|
2821
2821
|
], 2));
|
|
2822
2822
|
}
|
|
2823
|
-
}),
|
|
2823
|
+
}), fn = /* @__PURE__ */ y({
|
|
2824
2824
|
inheritAttrs: !1,
|
|
2825
2825
|
__name: "Breadcrumbs",
|
|
2826
2826
|
props: {
|
|
@@ -2850,7 +2850,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2850
2850
|
], 64))), 128))
|
|
2851
2851
|
], 2)) : p("", !0);
|
|
2852
2852
|
}
|
|
2853
|
-
}),
|
|
2853
|
+
}), Hn = ["onClick", "title"], Mn = ["onClick", "title"], In = { key: 1 }, Vn = { key: 1 }, Sn = /* @__PURE__ */ y({
|
|
2854
2854
|
__name: "SingleInputSummary",
|
|
2855
2855
|
props: {
|
|
2856
2856
|
summary: {},
|
|
@@ -2858,13 +2858,13 @@ const hn = /* @__PURE__ */ y({
|
|
|
2858
2858
|
},
|
|
2859
2859
|
setup(u) {
|
|
2860
2860
|
const e = u, n = M(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = M(() => F.Instance.isComponentRegistered(n.value));
|
|
2861
|
-
return (o, t) => o.summary.isEmpty() ? (i(), a("div",
|
|
2861
|
+
return (o, t) => o.summary.isEmpty() ? (i(), a("div", In, [
|
|
2862
2862
|
s.value ? (i(), g(m, {
|
|
2863
2863
|
key: 0,
|
|
2864
2864
|
is: "survey-placeholder-" + o.summary.question.getTemplate(),
|
|
2865
2865
|
cssClasses: o.css,
|
|
2866
2866
|
question: o.summary.question
|
|
2867
|
-
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div",
|
|
2867
|
+
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div", Vn, [
|
|
2868
2868
|
c(m, {
|
|
2869
2869
|
is: "survey-string",
|
|
2870
2870
|
locString: o.summary.noEntry
|
|
@@ -2900,7 +2900,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2900
2900
|
iconName: "icon-editsmall-16x16",
|
|
2901
2901
|
size: "auto"
|
|
2902
2902
|
})
|
|
2903
|
-
], 10,
|
|
2903
|
+
], 10, Hn)) : p("", !0),
|
|
2904
2904
|
l.showRemove && l.btnRemove ? (i(), a("button", {
|
|
2905
2905
|
key: 1,
|
|
2906
2906
|
class: r(o.css.summaryRowActionDelete),
|
|
@@ -2912,12 +2912,12 @@ const hn = /* @__PURE__ */ y({
|
|
|
2912
2912
|
iconName: "icon-delete-16x16",
|
|
2913
2913
|
size: "auto"
|
|
2914
2914
|
})
|
|
2915
|
-
], 10,
|
|
2915
|
+
], 10, Mn)) : p("", !0)
|
|
2916
2916
|
], 2)
|
|
2917
2917
|
], 2))), 128))
|
|
2918
2918
|
], 2));
|
|
2919
2919
|
}
|
|
2920
|
-
}),
|
|
2920
|
+
}), Rn = ["min", "max", "step"], Tn = ["id", "value", "min", "max", "step", "disabled", "onInput", "onFocus", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Bn = /* @__PURE__ */ y({
|
|
2921
2921
|
inheritAttrs: !1,
|
|
2922
2922
|
__name: "Slider",
|
|
2923
2923
|
props: {
|
|
@@ -2954,7 +2954,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2954
2954
|
onPointerup: t[2] || (t[2] = (l) => {
|
|
2955
2955
|
o.question.handleRangePointerUp(l, n.value);
|
|
2956
2956
|
})
|
|
2957
|
-
}, null, 42,
|
|
2957
|
+
}, null, 42, Rn)) : p("", !0),
|
|
2958
2958
|
v("div", {
|
|
2959
2959
|
class: r(o.question.cssClasses.visualContainer),
|
|
2960
2960
|
onPointerup: t[8] || (t[8] = (l) => {
|
|
@@ -3013,7 +3013,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3013
3013
|
"aria-describedby": o.question.a11y_input_ariaDescribedBy,
|
|
3014
3014
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
3015
3015
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
3016
|
-
}, null, 42,
|
|
3016
|
+
}, null, 42, Tn),
|
|
3017
3017
|
v("div", {
|
|
3018
3018
|
class: r(o.question.getThumbContainerCss(d)),
|
|
3019
3019
|
style: k({ left: o.question.getPercent(l) + "%" })
|
|
@@ -3056,7 +3056,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3056
3056
|
], 2)) : p("", !0)
|
|
3057
3057
|
], 2));
|
|
3058
3058
|
}
|
|
3059
|
-
}),
|
|
3059
|
+
}), Zn = /* @__PURE__ */ y({
|
|
3060
3060
|
__name: "SliderLabelItem",
|
|
3061
3061
|
props: {
|
|
3062
3062
|
question: {},
|
|
@@ -3084,10 +3084,10 @@ const hn = /* @__PURE__ */ y({
|
|
|
3084
3084
|
], 2)
|
|
3085
3085
|
], 38));
|
|
3086
3086
|
}
|
|
3087
|
-
}),
|
|
3087
|
+
}), $n = { role: "radiogroup" }, Dn = { class: "sv-visuallyhidden" }, An = {
|
|
3088
3088
|
key: 0,
|
|
3089
3089
|
role: "presentation"
|
|
3090
|
-
},
|
|
3090
|
+
}, Pn = { key: 0 }, Nn = ["onClick"], En = ["data-responsive-title", "onClick"], Wn = /* @__PURE__ */ y({
|
|
3091
3091
|
inheritAttrs: !1,
|
|
3092
3092
|
__name: "Matrix",
|
|
3093
3093
|
props: {
|
|
@@ -3109,22 +3109,22 @@ const hn = /* @__PURE__ */ y({
|
|
|
3109
3109
|
}
|
|
3110
3110
|
);
|
|
3111
3111
|
const o = (t, l) => {
|
|
3112
|
-
t.
|
|
3112
|
+
t.cellClick(l);
|
|
3113
3113
|
};
|
|
3114
3114
|
return (t, l) => (i(), a("div", {
|
|
3115
3115
|
class: r(t.question.cssClasses.tableWrapper),
|
|
3116
3116
|
ref_key: "root",
|
|
3117
3117
|
ref: n
|
|
3118
3118
|
}, [
|
|
3119
|
-
v("fieldset",
|
|
3120
|
-
v("legend",
|
|
3119
|
+
v("fieldset", $n, [
|
|
3120
|
+
v("legend", Dn, I(t.question.locTitle.renderedHtml), 1),
|
|
3121
3121
|
v("table", {
|
|
3122
3122
|
class: r(t.question.getTableCss()),
|
|
3123
3123
|
role: "presentation"
|
|
3124
3124
|
}, [
|
|
3125
|
-
t.question.showHeader ? (i(), a("thead",
|
|
3125
|
+
t.question.showHeader ? (i(), a("thead", An, [
|
|
3126
3126
|
v("tr", null, [
|
|
3127
|
-
t.question.hasRows ? (i(), a("td",
|
|
3127
|
+
t.question.hasRows ? (i(), a("td", Pn)) : p("", !0),
|
|
3128
3128
|
(i(!0), a(H, null, V(t.question.visibleColumns, (d, C) => (i(), a("th", {
|
|
3129
3129
|
key: C,
|
|
3130
3130
|
class: r(t.question.cssClasses.headerCell),
|
|
@@ -3184,7 +3184,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3184
3184
|
is: "survey-string",
|
|
3185
3185
|
locString: t.question.getCellDisplayLocText(d.name, L)
|
|
3186
3186
|
}, null, 8, ["locString"])
|
|
3187
|
-
], 10,
|
|
3187
|
+
], 10, Nn))), 128)) : p("", !0),
|
|
3188
3188
|
t.question.hasCellText ? p("", !0) : (i(!0), a(H, { key: 1 }, V(t.question.visibleColumns, (L, h) => (i(), a("td", {
|
|
3189
3189
|
key: h,
|
|
3190
3190
|
"data-responsive-title": L.locText.renderedHtml,
|
|
@@ -3198,14 +3198,14 @@ const hn = /* @__PURE__ */ y({
|
|
|
3198
3198
|
column: L,
|
|
3199
3199
|
columnIndex: h
|
|
3200
3200
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
3201
|
-
], 10,
|
|
3201
|
+
], 10, En))), 128))
|
|
3202
3202
|
], 2))), 128))
|
|
3203
3203
|
])
|
|
3204
3204
|
], 2)
|
|
3205
3205
|
])
|
|
3206
3206
|
], 2));
|
|
3207
3207
|
}
|
|
3208
|
-
}),
|
|
3208
|
+
}), Fn = ["data-sv-drop-target-matrix-row"], On = /* @__PURE__ */ y({
|
|
3209
3209
|
__name: "MatrixRow",
|
|
3210
3210
|
props: {
|
|
3211
3211
|
question: {},
|
|
@@ -3238,9 +3238,9 @@ const hn = /* @__PURE__ */ y({
|
|
|
3238
3238
|
question: o.question,
|
|
3239
3239
|
key: o.row.id + "_" + l.id
|
|
3240
3240
|
}, null, 8, ["cell", "question"]))), 128))
|
|
3241
|
-
], 42,
|
|
3241
|
+
], 42, Fn)) : p("", !0);
|
|
3242
3242
|
}
|
|
3243
|
-
}),
|
|
3243
|
+
}), zn = ["type", "name", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Un = ["xlink:href"], Qn = /* @__PURE__ */ y({
|
|
3244
3244
|
inheritAttrs: !1,
|
|
3245
3245
|
__name: "MatrixCell",
|
|
3246
3246
|
props: {
|
|
@@ -3250,59 +3250,53 @@ const hn = /* @__PURE__ */ y({
|
|
|
3250
3250
|
columnIndex: {}
|
|
3251
3251
|
},
|
|
3252
3252
|
setup(u) {
|
|
3253
|
-
const e = u, n =
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
}
|
|
3261
|
-
});
|
|
3262
|
-
return (s, o) => (i(), a("label", {
|
|
3263
|
-
onMousedown: o[1] || (o[1] = (t) => s.question.onMouseDown()),
|
|
3264
|
-
class: r(s.question.getItemClass(s.row, s.column))
|
|
3253
|
+
const e = u, n = e.row.isChecked(e.column) ? e.column.value : "", s = () => {
|
|
3254
|
+
const t = e.row, l = e.column;
|
|
3255
|
+
t.cellClick(l);
|
|
3256
|
+
}, o = M(() => e.question.getItemSvgIcon(e.row, e.column));
|
|
3257
|
+
return (t, l) => (i(), a("label", {
|
|
3258
|
+
onMousedown: l[1] || (l[1] = (d) => t.question.onMouseDown()),
|
|
3259
|
+
class: r(t.question.getItemClass(t.row, t.column))
|
|
3265
3260
|
}, [
|
|
3266
3261
|
Z(v("input", {
|
|
3267
|
-
type:
|
|
3268
|
-
class: r(
|
|
3269
|
-
name:
|
|
3270
|
-
"onUpdate:modelValue":
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
"aria-
|
|
3277
|
-
"aria-
|
|
3278
|
-
"aria-
|
|
3279
|
-
|
|
3280
|
-
|
|
3262
|
+
type: t.question.checkType,
|
|
3263
|
+
class: r(t.question.cssItemValue),
|
|
3264
|
+
name: t.row.fullName,
|
|
3265
|
+
"onUpdate:modelValue": l[0] || (l[0] = (d) => ge(n) ? n.value = d : null),
|
|
3266
|
+
onChange: s,
|
|
3267
|
+
value: t.column.value,
|
|
3268
|
+
readonly: t.row.isReadOnlyAttr,
|
|
3269
|
+
disabled: t.row.isDisabledAttr,
|
|
3270
|
+
id: t.question.inputId + "_" + t.row.name + "_" + t.columnIndex,
|
|
3271
|
+
"aria-required": t.question.a11y_input_ariaRequired,
|
|
3272
|
+
"aria-label": t.question.getCellAriaLabel(t.row, t.column),
|
|
3273
|
+
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
3274
|
+
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
3275
|
+
}, null, 42, zn), [
|
|
3276
|
+
[$e, w(n)]
|
|
3281
3277
|
]),
|
|
3282
3278
|
v("span", {
|
|
3283
|
-
class: r(
|
|
3279
|
+
class: r(t.question.cssMaterialDecorator)
|
|
3284
3280
|
}, [
|
|
3285
|
-
|
|
3281
|
+
o.value ? (i(), a("svg", {
|
|
3286
3282
|
key: 0,
|
|
3287
|
-
class: r(
|
|
3283
|
+
class: r(t.question.cssItemDecorator)
|
|
3288
3284
|
}, [
|
|
3289
|
-
v("use", {
|
|
3290
|
-
"xlink:href": s.question.itemSvgIcon
|
|
3291
|
-
}, null, 8, zn)
|
|
3285
|
+
v("use", { "xlink:href": o.value }, null, 8, Un)
|
|
3292
3286
|
], 2)) : p("", !0)
|
|
3293
3287
|
], 2),
|
|
3294
|
-
|
|
3288
|
+
t.question.isMobile ? (i(), a("span", {
|
|
3295
3289
|
key: 0,
|
|
3296
|
-
class: r(
|
|
3290
|
+
class: r(t.question.cssClasses.cellResponsiveTitle)
|
|
3297
3291
|
}, [
|
|
3298
3292
|
c(m, {
|
|
3299
3293
|
is: "survey-string",
|
|
3300
|
-
locString:
|
|
3294
|
+
locString: t.column.locText
|
|
3301
3295
|
}, null, 8, ["locString"])
|
|
3302
3296
|
], 2)) : p("", !0)
|
|
3303
3297
|
], 34));
|
|
3304
3298
|
}
|
|
3305
|
-
}),
|
|
3299
|
+
}), Kn = /* @__PURE__ */ y({
|
|
3306
3300
|
inheritAttrs: !1,
|
|
3307
3301
|
__name: "MatrixDropdown",
|
|
3308
3302
|
props: {
|
|
@@ -3317,7 +3311,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3317
3311
|
ref: n
|
|
3318
3312
|
}, null, 8, ["question"]));
|
|
3319
3313
|
}
|
|
3320
|
-
}),
|
|
3314
|
+
}), jn = { key: 0 }, Gn = { key: 1 }, Xn = /* @__PURE__ */ y({
|
|
3321
3315
|
__name: "MatrixTable",
|
|
3322
3316
|
props: {
|
|
3323
3317
|
question: {}
|
|
@@ -3331,7 +3325,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3331
3325
|
v("table", {
|
|
3332
3326
|
class: r(s.question.getTableCss())
|
|
3333
3327
|
}, [
|
|
3334
|
-
n.value.showHeader ? (i(), a("thead",
|
|
3328
|
+
n.value.showHeader ? (i(), a("thead", jn, [
|
|
3335
3329
|
v("tr", null, [
|
|
3336
3330
|
(i(!0), a(H, null, V(n.value.headerRow.cells, (t) => (i(), a(H, null, [
|
|
3337
3331
|
t.hasTitle ? (i(), a("th", {
|
|
@@ -3374,7 +3368,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3374
3368
|
question: s.question
|
|
3375
3369
|
}, null, 8, ["row", "question"]))), 128))
|
|
3376
3370
|
]),
|
|
3377
|
-
n.value.showFooter ? (i(), a("tfoot",
|
|
3371
|
+
n.value.showFooter ? (i(), a("tfoot", Gn, [
|
|
3378
3372
|
v("tr", null, [
|
|
3379
3373
|
(i(!0), a(H, null, V(n.value.footerRow.cells, (t, l) => (i(), g(m, {
|
|
3380
3374
|
is: "survey-matrixdropdown-cell",
|
|
@@ -3387,7 +3381,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3387
3381
|
], 2)
|
|
3388
3382
|
], 6));
|
|
3389
3383
|
}
|
|
3390
|
-
}),
|
|
3384
|
+
}), Jn = /* @__PURE__ */ v("span", null, " ", -1), Yn = /* @__PURE__ */ y({
|
|
3391
3385
|
__name: "MatrixHeaderRequired",
|
|
3392
3386
|
props: {
|
|
3393
3387
|
question: {},
|
|
@@ -3396,14 +3390,14 @@ const hn = /* @__PURE__ */ y({
|
|
|
3396
3390
|
setup(u) {
|
|
3397
3391
|
const e = u;
|
|
3398
3392
|
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(H, { key: 0 }, [
|
|
3399
|
-
|
|
3393
|
+
Jn,
|
|
3400
3394
|
n.column.isRenderedRequired ? (i(), a("span", {
|
|
3401
3395
|
key: 0,
|
|
3402
3396
|
class: r(n.question.cssClasses.cellRequiredMark)
|
|
3403
3397
|
}, I(n.column.requiredMark), 3)) : p("", !0)
|
|
3404
3398
|
], 64)) : p("", !0);
|
|
3405
3399
|
}
|
|
3406
|
-
}),
|
|
3400
|
+
}), _n = ["title", "colspan"], xn = /* @__PURE__ */ y({
|
|
3407
3401
|
__name: "MatrixDropdownCellComp",
|
|
3408
3402
|
props: {
|
|
3409
3403
|
question: {},
|
|
@@ -3412,7 +3406,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3412
3406
|
setup(u) {
|
|
3413
3407
|
const e = u, n = f(!1), s = f(), o = () => e.cell.width || e.cell.minWidth ? { width: e.cell.width, minWidth: e.cell.minWidth } : null, t = () => e.cell.question.parentQuestion.getCellAriaLabel(e.cell.row, e.cell.column), l = () => {
|
|
3414
3408
|
!e.cell.hasQuestion || !e.question || !e.question.survey || (n.value = e.cell.question.isVisible);
|
|
3415
|
-
}, d = (h) =>
|
|
3409
|
+
}, d = (h) => ie(h);
|
|
3416
3410
|
l(), B(() => {
|
|
3417
3411
|
if (!e.cell.hasQuestion || !e.question || !e.question.survey)
|
|
3418
3412
|
return;
|
|
@@ -3571,9 +3565,9 @@ const hn = /* @__PURE__ */ y({
|
|
|
3571
3565
|
]),
|
|
3572
3566
|
_: 1
|
|
3573
3567
|
}, 8, ["is", "componentData"])) : p("", !0)
|
|
3574
|
-
], 46,
|
|
3568
|
+
], 46, _n)) : p("", !0);
|
|
3575
3569
|
}
|
|
3576
|
-
}),
|
|
3570
|
+
}), et = /* @__PURE__ */ y({
|
|
3577
3571
|
inheritAttrs: !1,
|
|
3578
3572
|
__name: "MatrixDynamic",
|
|
3579
3573
|
props: {
|
|
@@ -3636,7 +3630,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3636
3630
|
], 2)) : p("", !0)
|
|
3637
3631
|
], 512));
|
|
3638
3632
|
}
|
|
3639
|
-
}),
|
|
3633
|
+
}), st = /* @__PURE__ */ y({
|
|
3640
3634
|
__name: "MatrixDynamicPlaceholder",
|
|
3641
3635
|
props: {
|
|
3642
3636
|
question: {}
|
|
@@ -3673,19 +3667,19 @@ const hn = /* @__PURE__ */ y({
|
|
|
3673
3667
|
], 2));
|
|
3674
3668
|
}
|
|
3675
3669
|
});
|
|
3676
|
-
function
|
|
3670
|
+
function re(u, e = !0) {
|
|
3677
3671
|
return {
|
|
3678
3672
|
question: M(() => u.item.data.question),
|
|
3679
3673
|
row: e ? M(() => u.item.data.row) : void 0
|
|
3680
3674
|
};
|
|
3681
3675
|
}
|
|
3682
|
-
const
|
|
3676
|
+
const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
3683
3677
|
__name: "RemoveButton",
|
|
3684
3678
|
props: {
|
|
3685
3679
|
item: {}
|
|
3686
3680
|
},
|
|
3687
3681
|
setup(u) {
|
|
3688
|
-
const e = u, { question: n, row: s } =
|
|
3682
|
+
const e = u, { question: n, row: s } = re(e);
|
|
3689
3683
|
return (o, t) => (i(), a("button", {
|
|
3690
3684
|
type: "button",
|
|
3691
3685
|
class: r(w(n).getRemoveRowButtonCss()),
|
|
@@ -3699,15 +3693,15 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3699
3693
|
v("span", {
|
|
3700
3694
|
class: r(w(n).cssClasses.iconRemove)
|
|
3701
3695
|
}, null, 2)
|
|
3702
|
-
], 10,
|
|
3696
|
+
], 10, nt));
|
|
3703
3697
|
}
|
|
3704
|
-
}),
|
|
3698
|
+
}), ot = ["xlink:href"], it = /* @__PURE__ */ y({
|
|
3705
3699
|
__name: "DragDropIcon",
|
|
3706
3700
|
props: {
|
|
3707
3701
|
item: {}
|
|
3708
3702
|
},
|
|
3709
3703
|
setup(u) {
|
|
3710
|
-
const e = u, { question: n } =
|
|
3704
|
+
const e = u, { question: n } = re(e, !1);
|
|
3711
3705
|
return (s, o) => (i(), a("div", null, [
|
|
3712
3706
|
w(n).iconDragElement ? (i(), a("svg", {
|
|
3713
3707
|
key: 0,
|
|
@@ -3715,20 +3709,20 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3715
3709
|
}, [
|
|
3716
3710
|
v("use", {
|
|
3717
3711
|
"xlink:href": w(n).iconDragElement
|
|
3718
|
-
}, null, 8,
|
|
3712
|
+
}, null, 8, ot)
|
|
3719
3713
|
], 2)) : (i(), a("span", {
|
|
3720
3714
|
key: 1,
|
|
3721
3715
|
class: r(w(n).cssClasses.iconDrag)
|
|
3722
3716
|
}, null, 2))
|
|
3723
3717
|
]));
|
|
3724
3718
|
}
|
|
3725
|
-
}),
|
|
3719
|
+
}), rt = ["title", "aria-expanded", "aria-controls"], lt = /* @__PURE__ */ y({
|
|
3726
3720
|
__name: "DetailButton",
|
|
3727
3721
|
props: {
|
|
3728
3722
|
item: {}
|
|
3729
3723
|
},
|
|
3730
3724
|
setup(u) {
|
|
3731
|
-
const e = u, { question: n, row: s } =
|
|
3725
|
+
const e = u, { question: n, row: s } = re(e);
|
|
3732
3726
|
return (o, t) => (i(), a("button", {
|
|
3733
3727
|
type: "button",
|
|
3734
3728
|
class: r(w(n).getDetailPanelButtonCss(w(s))),
|
|
@@ -3743,9 +3737,9 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3743
3737
|
iconName: w(n).getDetailPanelIconId(w(s)),
|
|
3744
3738
|
size: "auto"
|
|
3745
3739
|
}, null, 8, ["class", "iconName"])
|
|
3746
|
-
], 10,
|
|
3740
|
+
], 10, rt));
|
|
3747
3741
|
}
|
|
3748
|
-
}),
|
|
3742
|
+
}), at = ["aria-label"], ut = /* @__PURE__ */ y({
|
|
3749
3743
|
inheritAttrs: !1,
|
|
3750
3744
|
__name: "PanelDynamic",
|
|
3751
3745
|
props: {
|
|
@@ -3753,7 +3747,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3753
3747
|
css: {}
|
|
3754
3748
|
},
|
|
3755
3749
|
setup(u) {
|
|
3756
|
-
const e = u, n = f(null), s =
|
|
3750
|
+
const e = u, n = f(null), s = qe();
|
|
3757
3751
|
T(
|
|
3758
3752
|
e,
|
|
3759
3753
|
n,
|
|
@@ -3820,7 +3814,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3820
3814
|
style: k({ width: l.question.progress }),
|
|
3821
3815
|
role: "progressbar",
|
|
3822
3816
|
"aria-label": l.question.progressBarAriaLabel
|
|
3823
|
-
}, null, 14,
|
|
3817
|
+
}, null, 14, at)
|
|
3824
3818
|
], 2)) : p("", !0),
|
|
3825
3819
|
v("div", {
|
|
3826
3820
|
class: r(l.question.cssClasses.panelsContainer)
|
|
@@ -3853,7 +3847,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3853
3847
|
}, null, 8, ["question"])) : p("", !0)
|
|
3854
3848
|
], 2));
|
|
3855
3849
|
}
|
|
3856
|
-
}),
|
|
3850
|
+
}), dt = ["aria-label"], mt = /* @__PURE__ */ y({
|
|
3857
3851
|
__name: "PanelDynamicProgress",
|
|
3858
3852
|
props: {
|
|
3859
3853
|
question: {}
|
|
@@ -3883,7 +3877,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3883
3877
|
style: k({ width: s.question.progress }),
|
|
3884
3878
|
role: "progressbar",
|
|
3885
3879
|
"aria-label": s.question.progressBarAriaLabel
|
|
3886
|
-
}, null, 14,
|
|
3880
|
+
}, null, 14, dt)
|
|
3887
3881
|
], 2)) : p("", !0),
|
|
3888
3882
|
c(m, {
|
|
3889
3883
|
is: "sv-paneldynamic-next-btn",
|
|
@@ -3901,7 +3895,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3901
3895
|
], 2)
|
|
3902
3896
|
], 2));
|
|
3903
3897
|
}
|
|
3904
|
-
}),
|
|
3898
|
+
}), pt = ["aria-label"], vt = /* @__PURE__ */ y({
|
|
3905
3899
|
__name: "PanelDynamicProgressV2",
|
|
3906
3900
|
props: {
|
|
3907
3901
|
question: {}
|
|
@@ -3923,7 +3917,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3923
3917
|
style: k({ width: e.question.progress }),
|
|
3924
3918
|
role: "progressbar",
|
|
3925
3919
|
"aria-label": e.question.progressBarAriaLabel
|
|
3926
|
-
}, null, 14,
|
|
3920
|
+
}, null, 14, pt)
|
|
3927
3921
|
], 2)) : p("", !0),
|
|
3928
3922
|
e.question.showFooterToolbar ? (i(), a("div", {
|
|
3929
3923
|
key: 1,
|
|
@@ -3936,7 +3930,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3936
3930
|
], 2)) : p("", !0)
|
|
3937
3931
|
], 2)) : p("", !0);
|
|
3938
3932
|
}
|
|
3939
|
-
}),
|
|
3933
|
+
}), Ct = /* @__PURE__ */ y({
|
|
3940
3934
|
__name: "PanelDynamicPlaceholder",
|
|
3941
3935
|
props: {
|
|
3942
3936
|
question: {}
|
|
@@ -3963,7 +3957,7 @@ function X(u) {
|
|
|
3963
3957
|
() => u.item && u.item.data.question || u.data.question
|
|
3964
3958
|
);
|
|
3965
3959
|
}
|
|
3966
|
-
const
|
|
3960
|
+
const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
3967
3961
|
__name: "PaneldynamicAddBtn",
|
|
3968
3962
|
props: {
|
|
3969
3963
|
item: {},
|
|
@@ -3988,9 +3982,9 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
3988
3982
|
locString: w(n).locAddPanelText
|
|
3989
3983
|
}, null, 8, ["locString"])
|
|
3990
3984
|
], 2)
|
|
3991
|
-
], 10,
|
|
3985
|
+
], 10, ct)) : p("", !0);
|
|
3992
3986
|
}
|
|
3993
|
-
}),
|
|
3987
|
+
}), yt = ["title"], ht = /* @__PURE__ */ y({
|
|
3994
3988
|
__name: "PaneldynamicNextBtn",
|
|
3995
3989
|
props: {
|
|
3996
3990
|
item: {},
|
|
@@ -4010,9 +4004,9 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4010
4004
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4011
4005
|
size: "auto"
|
|
4012
4006
|
}, null, 8, ["iconName"])
|
|
4013
|
-
], 10,
|
|
4007
|
+
], 10, yt));
|
|
4014
4008
|
}
|
|
4015
|
-
}),
|
|
4009
|
+
}), qt = ["title"], wt = /* @__PURE__ */ y({
|
|
4016
4010
|
__name: "PaneldynamicPrevBtn",
|
|
4017
4011
|
props: {
|
|
4018
4012
|
item: {},
|
|
@@ -4032,9 +4026,9 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4032
4026
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4033
4027
|
size: "auto"
|
|
4034
4028
|
}, null, 8, ["iconName"])
|
|
4035
|
-
], 10,
|
|
4029
|
+
], 10, qt));
|
|
4036
4030
|
}
|
|
4037
|
-
}),
|
|
4031
|
+
}), bt = ["id"], Lt = /* @__PURE__ */ y({
|
|
4038
4032
|
__name: "PaneldynamicRemoveBtn",
|
|
4039
4033
|
props: {
|
|
4040
4034
|
item: {},
|
|
@@ -4063,9 +4057,9 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4063
4057
|
v("span", {
|
|
4064
4058
|
class: r(w(n).cssClasses.iconRemove)
|
|
4065
4059
|
}, null, 2)
|
|
4066
|
-
], 10,
|
|
4060
|
+
], 10, bt));
|
|
4067
4061
|
}
|
|
4068
|
-
}),
|
|
4062
|
+
}), kt = /* @__PURE__ */ y({
|
|
4069
4063
|
__name: "PaneldynamicProgressText",
|
|
4070
4064
|
props: {
|
|
4071
4065
|
item: {},
|
|
@@ -4077,7 +4071,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4077
4071
|
class: r(w(n).cssClasses.progressText)
|
|
4078
4072
|
}, I(w(n).progressText), 3));
|
|
4079
4073
|
}
|
|
4080
|
-
}),
|
|
4074
|
+
}), ft = ["id"], Ht = /* @__PURE__ */ y({
|
|
4081
4075
|
__name: "Errors",
|
|
4082
4076
|
props: {
|
|
4083
4077
|
element: {},
|
|
@@ -4087,8 +4081,6 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4087
4081
|
const e = f();
|
|
4088
4082
|
return (n, s) => n.element.hasVisibleErrors ? (i(), a("div", {
|
|
4089
4083
|
key: 0,
|
|
4090
|
-
role: "alert",
|
|
4091
|
-
"aria-live": "polite",
|
|
4092
4084
|
class: r(n.element.cssError),
|
|
4093
4085
|
id: n.element.id + "_errors",
|
|
4094
4086
|
ref_key: "root",
|
|
@@ -4102,21 +4094,21 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4102
4094
|
error: o,
|
|
4103
4095
|
cssClasses: n.element.cssClasses
|
|
4104
4096
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
4105
|
-
], 10,
|
|
4097
|
+
], 10, ft)) : p("", !0);
|
|
4106
4098
|
}
|
|
4107
|
-
}),
|
|
4099
|
+
}), Mt = { key: 0 }, It = /* @__PURE__ */ y({
|
|
4108
4100
|
__name: "QuestionComment",
|
|
4109
4101
|
props: {
|
|
4110
4102
|
question: {}
|
|
4111
4103
|
},
|
|
4112
4104
|
setup(u) {
|
|
4113
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
4105
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div", Mt, I(e.question.comment), 1)) : (i(), g(m, {
|
|
4114
4106
|
key: 1,
|
|
4115
4107
|
is: "sv-text-area",
|
|
4116
4108
|
model: e.question.commentTextAreaModel
|
|
4117
4109
|
}, null, 8, ["model"]));
|
|
4118
4110
|
}
|
|
4119
|
-
}),
|
|
4111
|
+
}), Vt = /* @__PURE__ */ y({
|
|
4120
4112
|
__name: "TitleElement",
|
|
4121
4113
|
props: {
|
|
4122
4114
|
element: {},
|
|
@@ -4124,9 +4116,9 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4124
4116
|
},
|
|
4125
4117
|
setup(u) {
|
|
4126
4118
|
const e = (n) => {
|
|
4127
|
-
|
|
4119
|
+
we(n);
|
|
4128
4120
|
};
|
|
4129
|
-
return (n, s) => n.element.hasTitle ? (i(), g(
|
|
4121
|
+
return (n, s) => n.element.hasTitle ? (i(), g(ce(n.element.titleTagName), {
|
|
4130
4122
|
key: 0,
|
|
4131
4123
|
class: r(n.element.cssTitle),
|
|
4132
4124
|
"aria-label": n.element.titleAriaLabel,
|
|
@@ -4169,7 +4161,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4169
4161
|
_: 1
|
|
4170
4162
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : p("", !0);
|
|
4171
4163
|
}
|
|
4172
|
-
}),
|
|
4164
|
+
}), St = { key: 2 }, Rt = { key: 4 }, Tt = { key: 6 }, Bt = { key: 8 }, Zt = /* @__PURE__ */ y({
|
|
4173
4165
|
inheritAttrs: !1,
|
|
4174
4166
|
__name: "TitleContent",
|
|
4175
4167
|
props: {
|
|
@@ -4188,26 +4180,26 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4188
4180
|
class: r(e.element.cssRequiredMark),
|
|
4189
4181
|
"aria-hidden": !0
|
|
4190
4182
|
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4191
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span",
|
|
4183
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span", St, " ")) : p("", !0),
|
|
4192
4184
|
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", {
|
|
4193
4185
|
key: 3,
|
|
4194
4186
|
style: { position: "static" },
|
|
4195
4187
|
class: r(e.element.cssTitleNumber),
|
|
4196
4188
|
"aria-hidden": !0
|
|
4197
4189
|
}, I(e.element.no), 3)) : p("", !0),
|
|
4198
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span",
|
|
4190
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", Rt, " ")) : p("", !0),
|
|
4199
4191
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", {
|
|
4200
4192
|
key: 5,
|
|
4201
4193
|
class: r(e.element.cssRequiredMark),
|
|
4202
4194
|
"aria-hidden": !0
|
|
4203
4195
|
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4204
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span",
|
|
4196
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", Tt, " ")) : p("", !0),
|
|
4205
4197
|
e.element.isTitleRenderedAsString ? p("", !0) : (i(), g(m, {
|
|
4206
4198
|
key: 7,
|
|
4207
4199
|
is: "survey-string",
|
|
4208
4200
|
locString: e.element.locRenderedTitle
|
|
4209
4201
|
}, null, 8, ["locString"])),
|
|
4210
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span",
|
|
4202
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", Bt, " ")) : p("", !0),
|
|
4211
4203
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", {
|
|
4212
4204
|
key: 9,
|
|
4213
4205
|
class: r(e.element.cssRequiredMark),
|
|
@@ -4215,7 +4207,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4215
4207
|
}, I(e.element.requiredMark), 3)) : p("", !0)
|
|
4216
4208
|
], 64));
|
|
4217
4209
|
}
|
|
4218
|
-
}),
|
|
4210
|
+
}), $t = { class: "sv-title-actions" }, Dt = { class: "sv-title-actions__title" }, At = /* @__PURE__ */ y({
|
|
4219
4211
|
__name: "TitleActions",
|
|
4220
4212
|
props: {
|
|
4221
4213
|
element: {},
|
|
@@ -4223,8 +4215,8 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4223
4215
|
},
|
|
4224
4216
|
setup(u) {
|
|
4225
4217
|
const e = u, n = M(() => e.element.getTitleToolbar());
|
|
4226
|
-
return (s, o) => (i(), a("div",
|
|
4227
|
-
v("span",
|
|
4218
|
+
return (s, o) => (i(), a("div", $t, [
|
|
4219
|
+
v("span", Dt, [
|
|
4228
4220
|
s.element.isPage ? (i(), g(m, {
|
|
4229
4221
|
key: 0,
|
|
4230
4222
|
is: "survey-string",
|
|
@@ -4243,20 +4235,20 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4243
4235
|
}, null, 8, ["model"])
|
|
4244
4236
|
]));
|
|
4245
4237
|
}
|
|
4246
|
-
}),
|
|
4238
|
+
}), Pt = (u, e) => {
|
|
4247
4239
|
const n = u.__vccOpts || u;
|
|
4248
4240
|
for (const [s, o] of e)
|
|
4249
4241
|
n[s] = o;
|
|
4250
4242
|
return n;
|
|
4251
|
-
},
|
|
4252
|
-
|
|
4243
|
+
}, Nt = {}, Et = { class: "sv-brand-info" }, Wt = /* @__PURE__ */ De('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), Ft = [
|
|
4244
|
+
Wt
|
|
4253
4245
|
];
|
|
4254
|
-
function
|
|
4255
|
-
return i(), a("div",
|
|
4246
|
+
function Ot(u, e) {
|
|
4247
|
+
return i(), a("div", Et, Ft);
|
|
4256
4248
|
}
|
|
4257
|
-
const
|
|
4258
|
-
|
|
4259
|
-
],
|
|
4249
|
+
const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use", null, null, -1), Qt = [
|
|
4250
|
+
Ut
|
|
4251
|
+
], Kt = /* @__PURE__ */ y({
|
|
4260
4252
|
__name: "SvgIcon",
|
|
4261
4253
|
props: {
|
|
4262
4254
|
size: {},
|
|
@@ -4267,7 +4259,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4267
4259
|
},
|
|
4268
4260
|
setup(u) {
|
|
4269
4261
|
const e = u, n = f(), s = () => {
|
|
4270
|
-
|
|
4262
|
+
ze(
|
|
4271
4263
|
e.size,
|
|
4272
4264
|
e.width,
|
|
4273
4265
|
e.height,
|
|
@@ -4285,9 +4277,9 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4285
4277
|
ref: n,
|
|
4286
4278
|
class: "sv-svg-icon",
|
|
4287
4279
|
role: "presentation"
|
|
4288
|
-
},
|
|
4280
|
+
}, Qt, 512));
|
|
4289
4281
|
}
|
|
4290
|
-
}),
|
|
4282
|
+
}), jt = /* @__PURE__ */ y({
|
|
4291
4283
|
__name: "QuestionError",
|
|
4292
4284
|
props: {
|
|
4293
4285
|
errorKey: {},
|
|
@@ -4315,7 +4307,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4315
4307
|
], 2)
|
|
4316
4308
|
]));
|
|
4317
4309
|
}
|
|
4318
|
-
}),
|
|
4310
|
+
}), Gt = /* @__PURE__ */ y({
|
|
4319
4311
|
__name: "ActionBar",
|
|
4320
4312
|
props: {
|
|
4321
4313
|
model: {},
|
|
@@ -4352,7 +4344,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4352
4344
|
}, null, 8, ["item"]))), 128))
|
|
4353
4345
|
], 6)) : p("", !0);
|
|
4354
4346
|
}
|
|
4355
|
-
}),
|
|
4347
|
+
}), Xt = ["id"], Jt = { class: "sv-action__content" }, Yt = /* @__PURE__ */ y({
|
|
4356
4348
|
__name: "Action",
|
|
4357
4349
|
props: {
|
|
4358
4350
|
item: {}
|
|
@@ -4377,7 +4369,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4377
4369
|
ref_key: "root",
|
|
4378
4370
|
ref: e
|
|
4379
4371
|
}, [
|
|
4380
|
-
v("div",
|
|
4372
|
+
v("div", Jt, [
|
|
4381
4373
|
o.item.needSeparator ? (i(), g(m, {
|
|
4382
4374
|
key: 0,
|
|
4383
4375
|
is: "sv-action-bar-separator"
|
|
@@ -4387,7 +4379,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4387
4379
|
item: o.item
|
|
4388
4380
|
}, null, 8, ["is", "item"])
|
|
4389
4381
|
])
|
|
4390
|
-
], 10,
|
|
4382
|
+
], 10, Xt));
|
|
4391
4383
|
}
|
|
4392
4384
|
}), Q = {
|
|
4393
4385
|
mounted: function(u, e) {
|
|
@@ -4401,16 +4393,16 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4401
4393
|
u.tabIndex = -1;
|
|
4402
4394
|
return;
|
|
4403
4395
|
}
|
|
4404
|
-
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(),
|
|
4405
|
-
|
|
4396
|
+
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), we(s, n), !1)), u.addEventListener("keydown", (s) => {
|
|
4397
|
+
Ue(s, n);
|
|
4406
4398
|
}), u.addEventListener("blur", (s) => {
|
|
4407
|
-
|
|
4399
|
+
Qe(s);
|
|
4408
4400
|
});
|
|
4409
4401
|
}
|
|
4410
|
-
},
|
|
4402
|
+
}, _t = ["disabled", "title", "aria-checked", "aria-expanded", "role"], xt = {
|
|
4411
4403
|
inheritAttrs: !1
|
|
4412
|
-
},
|
|
4413
|
-
...
|
|
4404
|
+
}, eo = /* @__PURE__ */ y({
|
|
4405
|
+
...xt,
|
|
4414
4406
|
__name: "ActionBarItem",
|
|
4415
4407
|
props: {
|
|
4416
4408
|
item: {}
|
|
@@ -4450,14 +4442,14 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4450
4442
|
key: 1,
|
|
4451
4443
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4452
4444
|
}, I(n.item.title), 3)) : p("", !0)
|
|
4453
|
-
], 42,
|
|
4445
|
+
], 42, _t)), [
|
|
4454
4446
|
[w(Q), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4455
4447
|
]);
|
|
4456
4448
|
}
|
|
4457
|
-
}),
|
|
4449
|
+
}), so = ["disabled", "title", "role"], no = {
|
|
4458
4450
|
inheritAttrs: !1
|
|
4459
|
-
},
|
|
4460
|
-
...
|
|
4451
|
+
}, to = /* @__PURE__ */ y({
|
|
4452
|
+
...no,
|
|
4461
4453
|
__name: "ActionBarItemDropdown",
|
|
4462
4454
|
props: {
|
|
4463
4455
|
item: {}
|
|
@@ -4468,7 +4460,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4468
4460
|
return S(
|
|
4469
4461
|
() => e.item,
|
|
4470
4462
|
(s) => {
|
|
4471
|
-
n = new
|
|
4463
|
+
n = new Ke(s);
|
|
4472
4464
|
},
|
|
4473
4465
|
() => {
|
|
4474
4466
|
n.dispose();
|
|
@@ -4499,7 +4491,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4499
4491
|
key: 1,
|
|
4500
4492
|
class: r(s.item.getActionBarItemTitleCss())
|
|
4501
4493
|
}, I(s.item.title), 3)) : p("", !0)
|
|
4502
|
-
], 42,
|
|
4494
|
+
], 42, so)), [
|
|
4503
4495
|
[w(Q), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4504
4496
|
]),
|
|
4505
4497
|
c(m, {
|
|
@@ -4508,7 +4500,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4508
4500
|
}, null, 8, ["model"])
|
|
4509
4501
|
], 64));
|
|
4510
4502
|
}
|
|
4511
|
-
}),
|
|
4503
|
+
}), oo = /* @__PURE__ */ y({
|
|
4512
4504
|
__name: "ActionBarSeparator",
|
|
4513
4505
|
props: {
|
|
4514
4506
|
item: {}
|
|
@@ -4519,7 +4511,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4519
4511
|
class: r(["sv-action-bar-separator", n.value])
|
|
4520
4512
|
}, null, 2));
|
|
4521
4513
|
}
|
|
4522
|
-
}),
|
|
4514
|
+
}), io = ["aria-label", "placeholder", "value"], ro = ["aria-label"], lo = ["role", "aria-label", "id"], ao = /* @__PURE__ */ y({
|
|
4523
4515
|
__name: "List",
|
|
4524
4516
|
props: {
|
|
4525
4517
|
model: {}
|
|
@@ -4564,7 +4556,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4564
4556
|
value: d.model.filterString,
|
|
4565
4557
|
onChange: s,
|
|
4566
4558
|
onKeyup: o
|
|
4567
|
-
}, null, 42,
|
|
4559
|
+
}, null, 42, io),
|
|
4568
4560
|
d.model.showSearchClearButton && d.model.filterString ? (i(), a("button", {
|
|
4569
4561
|
key: 0,
|
|
4570
4562
|
onClick: C[0] || (C[0] = (L) => {
|
|
@@ -4585,7 +4577,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4585
4577
|
v("div", {
|
|
4586
4578
|
class: r(d.model.cssClasses.emptyText),
|
|
4587
4579
|
"aria-label": d.model.emptyMessage
|
|
4588
|
-
}, I(d.model.emptyMessage), 11,
|
|
4580
|
+
}, I(d.model.emptyMessage), 11, ro)
|
|
4589
4581
|
], 2), [
|
|
4590
4582
|
[A, d.model.isEmpty]
|
|
4591
4583
|
]),
|
|
@@ -4609,12 +4601,12 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4609
4601
|
model: d.model,
|
|
4610
4602
|
key: L.id
|
|
4611
4603
|
}, null, 8, ["item", "model"]))), 128))
|
|
4612
|
-
], 42,
|
|
4604
|
+
], 42, lo)), [
|
|
4613
4605
|
[A, !d.model.isEmpty]
|
|
4614
4606
|
]) : p("", !0)
|
|
4615
4607
|
], 2));
|
|
4616
4608
|
}
|
|
4617
|
-
}),
|
|
4609
|
+
}), uo = ["role", "aria-selected", "aria-checked", "id", "tabindex"], mo = ["title"], po = /* @__PURE__ */ y({
|
|
4618
4610
|
__name: "ListItem",
|
|
4619
4611
|
props: {
|
|
4620
4612
|
model: {},
|
|
@@ -4659,13 +4651,13 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4659
4651
|
item: t.item,
|
|
4660
4652
|
model: t.model
|
|
4661
4653
|
}, null, 8, ["is", "item", "model"])
|
|
4662
|
-
], 46,
|
|
4663
|
-
], 42,
|
|
4654
|
+
], 46, mo)
|
|
4655
|
+
], 42, uo)), [
|
|
4664
4656
|
[A, t.model.isItemVisible(t.item)],
|
|
4665
4657
|
[w(Q), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4666
4658
|
]);
|
|
4667
4659
|
}
|
|
4668
|
-
}),
|
|
4660
|
+
}), vo = /* @__PURE__ */ y({
|
|
4669
4661
|
__name: "ListItemContent",
|
|
4670
4662
|
props: {
|
|
4671
4663
|
model: {},
|
|
@@ -4694,7 +4686,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4694
4686
|
}, null, 8, ["class", "iconName"])) : p("", !0)
|
|
4695
4687
|
], 64));
|
|
4696
4688
|
}
|
|
4697
|
-
}),
|
|
4689
|
+
}), Co = /* @__PURE__ */ y({
|
|
4698
4690
|
__name: "ListItemGroup",
|
|
4699
4691
|
props: {
|
|
4700
4692
|
model: {},
|
|
@@ -4714,7 +4706,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4714
4706
|
}, null, 8, ["model"])
|
|
4715
4707
|
], 64));
|
|
4716
4708
|
}
|
|
4717
|
-
}),
|
|
4709
|
+
}), co = /* @__PURE__ */ y({
|
|
4718
4710
|
__name: "Popup",
|
|
4719
4711
|
props: {
|
|
4720
4712
|
model: {}
|
|
@@ -4727,7 +4719,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4727
4719
|
return W(
|
|
4728
4720
|
() => e.model,
|
|
4729
4721
|
(t) => {
|
|
4730
|
-
n.value && n.value.dispose(), n.value =
|
|
4722
|
+
n.value && n.value.dispose(), n.value = je(t), o();
|
|
4731
4723
|
},
|
|
4732
4724
|
{ immediate: !0 }
|
|
4733
4725
|
), S(() => n.value), B(() => {
|
|
@@ -4744,13 +4736,13 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4744
4736
|
}, null, 8, ["model"])
|
|
4745
4737
|
], 512));
|
|
4746
4738
|
}
|
|
4747
|
-
}),
|
|
4739
|
+
}), go = { class: "sv-popup__body-content" }, yo = {
|
|
4748
4740
|
key: 0,
|
|
4749
4741
|
class: "sv-popup__body-header"
|
|
4750
|
-
},
|
|
4742
|
+
}, ho = { class: "sv-popup__scrolling-content" }, qo = { class: "sv-popup__content" }, wo = {
|
|
4751
4743
|
key: 1,
|
|
4752
4744
|
class: "sv-popup__body-footer"
|
|
4753
|
-
},
|
|
4745
|
+
}, bo = /* @__PURE__ */ y({
|
|
4754
4746
|
__name: "PopupContainer",
|
|
4755
4747
|
props: {
|
|
4756
4748
|
model: {}
|
|
@@ -4790,16 +4782,16 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4790
4782
|
is: s.model.popupHeaderTemplate,
|
|
4791
4783
|
model: s.model
|
|
4792
4784
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4793
|
-
v("div",
|
|
4794
|
-
s.model.title ? (i(), a("div",
|
|
4795
|
-
v("div",
|
|
4796
|
-
v("div",
|
|
4785
|
+
v("div", go, [
|
|
4786
|
+
s.model.title ? (i(), a("div", yo, I(s.model.title), 1)) : p("", !0),
|
|
4787
|
+
v("div", ho, [
|
|
4788
|
+
v("div", qo, [
|
|
4797
4789
|
c(m, $({
|
|
4798
4790
|
is: s.model.contentComponentName
|
|
4799
4791
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4800
4792
|
])
|
|
4801
4793
|
]),
|
|
4802
|
-
s.model.showFooter ? (i(), a("div",
|
|
4794
|
+
s.model.showFooter ? (i(), a("div", wo, [
|
|
4803
4795
|
c(m, {
|
|
4804
4796
|
is: "sv-action-bar",
|
|
4805
4797
|
model: s.model.footerToolbar
|
|
@@ -4811,7 +4803,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4811
4803
|
[A, s.model.isVisible]
|
|
4812
4804
|
]);
|
|
4813
4805
|
}
|
|
4814
|
-
}),
|
|
4806
|
+
}), Lo = /* @__PURE__ */ y({
|
|
4815
4807
|
__name: "PopupPointer",
|
|
4816
4808
|
props: {
|
|
4817
4809
|
model: {}
|
|
@@ -4825,7 +4817,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4825
4817
|
})
|
|
4826
4818
|
}, null, 4));
|
|
4827
4819
|
}
|
|
4828
|
-
}),
|
|
4820
|
+
}), ko = /* @__PURE__ */ y({
|
|
4829
4821
|
__name: "Container",
|
|
4830
4822
|
props: {
|
|
4831
4823
|
survey: {},
|
|
@@ -4857,7 +4849,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4857
4849
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4858
4850
|
], 64)) : p("", !0);
|
|
4859
4851
|
}
|
|
4860
|
-
}),
|
|
4852
|
+
}), fo = ["aria-label"], Y = /* @__PURE__ */ y({
|
|
4861
4853
|
__name: "Progress",
|
|
4862
4854
|
props: {
|
|
4863
4855
|
survey: {},
|
|
@@ -4865,7 +4857,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4865
4857
|
css: {}
|
|
4866
4858
|
},
|
|
4867
4859
|
setup(u) {
|
|
4868
|
-
const e = u, n = M(() => e.survey.progressValue + "%"), s = (t) =>
|
|
4860
|
+
const e = u, n = M(() => e.survey.progressValue + "%"), s = (t) => me.getProgressTextInBarCss(t), o = (t) => me.getProgressTextUnderBarCss(t);
|
|
4869
4861
|
return (t, l) => (i(), a("div", {
|
|
4870
4862
|
class: r(t.survey.getProgressCssClasses(t.container))
|
|
4871
4863
|
}, [
|
|
@@ -4880,13 +4872,13 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4880
4872
|
v("span", {
|
|
4881
4873
|
class: r(s(t.survey.css))
|
|
4882
4874
|
}, I(t.survey.progressText), 3)
|
|
4883
|
-
], 14,
|
|
4875
|
+
], 14, fo),
|
|
4884
4876
|
v("span", {
|
|
4885
4877
|
class: r(o(t.survey.css))
|
|
4886
4878
|
}, I(t.survey.progressText), 3)
|
|
4887
4879
|
], 2));
|
|
4888
4880
|
}
|
|
4889
|
-
}),
|
|
4881
|
+
}), Ho = ["aria-label"], Mo = ["title"], Io = ["onClick", "data-page-number"], Vo = ["title"], So = ["title"], Ro = ["title"], To = /* @__PURE__ */ y({
|
|
4890
4882
|
__name: "ProgressButtons",
|
|
4891
4883
|
props: {
|
|
4892
4884
|
survey: {},
|
|
@@ -4902,7 +4894,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4902
4894
|
};
|
|
4903
4895
|
return B(() => {
|
|
4904
4896
|
const h = l.value;
|
|
4905
|
-
C = new
|
|
4897
|
+
C = new Ge(e.model, h, {
|
|
4906
4898
|
onResize: (q) => {
|
|
4907
4899
|
t.value = q, s.value = !q;
|
|
4908
4900
|
},
|
|
@@ -4931,7 +4923,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4931
4923
|
v("div", {
|
|
4932
4924
|
class: r(h.survey.css.progressButtonsPageTitle),
|
|
4933
4925
|
title: h.model.headerText
|
|
4934
|
-
}, I(h.model.headerText), 11,
|
|
4926
|
+
}, I(h.model.headerText), 11, Mo)
|
|
4935
4927
|
], 2)) : p("", !0),
|
|
4936
4928
|
v("div", {
|
|
4937
4929
|
class: r(d.value.progressButtonsContainer)
|
|
@@ -4967,12 +4959,12 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4967
4959
|
is: "survey-string",
|
|
4968
4960
|
locString: b.locNavigationTitle
|
|
4969
4961
|
}, null, 8, ["locString"])
|
|
4970
|
-
], 10,
|
|
4962
|
+
], 10, Vo)) : p("", !0),
|
|
4971
4963
|
t.value ? (i(), a("div", {
|
|
4972
4964
|
key: 1,
|
|
4973
4965
|
class: r(d.value.progressButtonsPageDescription),
|
|
4974
4966
|
title: b.locNavigationDescription.renderedHtml
|
|
4975
|
-
}, I(b.locNavigationDescription.renderedHtml), 11,
|
|
4967
|
+
}, I(b.locNavigationDescription.renderedHtml), 11, So)) : p("", !0),
|
|
4976
4968
|
v("div", {
|
|
4977
4969
|
class: r(d.value.progressButtonsButton)
|
|
4978
4970
|
}, [
|
|
@@ -4984,7 +4976,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4984
4976
|
}, null, 2),
|
|
4985
4977
|
v("span", null, I(h.model.getItemNumber(b)), 1)
|
|
4986
4978
|
], 2)
|
|
4987
|
-
], 10,
|
|
4979
|
+
], 10, Io))), 128))
|
|
4988
4980
|
], 2)
|
|
4989
4981
|
], 2),
|
|
4990
4982
|
v("div", {
|
|
@@ -5000,11 +4992,11 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
5000
4992
|
v("div", {
|
|
5001
4993
|
class: r(h.survey.css.progressButtonsPageTitle),
|
|
5002
4994
|
title: h.model.footerText
|
|
5003
|
-
}, I(h.model.footerText), 11,
|
|
4995
|
+
}, I(h.model.footerText), 11, Ro)
|
|
5004
4996
|
], 2)) : p("", !0)
|
|
5005
|
-
], 14,
|
|
4997
|
+
], 14, Ho));
|
|
5006
4998
|
}
|
|
5007
|
-
}),
|
|
4999
|
+
}), Bo = /* @__PURE__ */ y({
|
|
5008
5000
|
__name: "ProgressToc",
|
|
5009
5001
|
props: {
|
|
5010
5002
|
survey: {},
|
|
@@ -5042,11 +5034,11 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
5042
5034
|
}
|
|
5043
5035
|
});
|
|
5044
5036
|
/*!
|
|
5045
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5037
|
+
* surveyjs - Survey JavaScript library v2.3.1
|
|
5046
5038
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5047
5039
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5048
5040
|
*/
|
|
5049
|
-
var
|
|
5041
|
+
var Zo = {
|
|
5050
5042
|
modernbooleancheckchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>',
|
|
5051
5043
|
modernbooleancheckind: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>',
|
|
5052
5044
|
modernbooleancheckunchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>',
|
|
@@ -5110,11 +5102,11 @@ var Bo = {
|
|
|
5110
5102
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5111
5103
|
};
|
|
5112
5104
|
/*!
|
|
5113
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5105
|
+
* surveyjs - Survey JavaScript library v2.3.1
|
|
5114
5106
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5115
5107
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5116
5108
|
*/
|
|
5117
|
-
var
|
|
5109
|
+
var fe = {
|
|
5118
5110
|
modernbooleancheckchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>',
|
|
5119
5111
|
modernbooleancheckind: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>',
|
|
5120
5112
|
modernbooleancheckunchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>',
|
|
@@ -5177,14 +5169,14 @@ var ke = {
|
|
|
5177
5169
|
"smiley-rate8-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>',
|
|
5178
5170
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5179
5171
|
};
|
|
5180
|
-
const
|
|
5172
|
+
const $o = ["lang", "dir"], Do = { onsubmit: "return false;" }, Ao = {
|
|
5181
5173
|
key: 0,
|
|
5182
5174
|
class: "sv_custom_header"
|
|
5183
|
-
},
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
_.registerIcons(
|
|
5187
|
-
const
|
|
5175
|
+
}, Po = { class: "sv-components-column sv-components-column--expandable" }, No = ["id"], Eo = { key: 2 }, Wo = ["innerHTML"], Fo = ["innerHTML"], Oo = ["innerHTML"];
|
|
5176
|
+
be("v1", Zo);
|
|
5177
|
+
be("v2", fe);
|
|
5178
|
+
_.registerIcons(fe);
|
|
5179
|
+
const le = /* @__PURE__ */ y({
|
|
5188
5180
|
__name: "Survey",
|
|
5189
5181
|
props: {
|
|
5190
5182
|
model: {},
|
|
@@ -5193,7 +5185,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5193
5185
|
setup(u) {
|
|
5194
5186
|
const e = u, n = f(), s = f(""), o = f(1), t = M(() => {
|
|
5195
5187
|
const R = e.survey ? e.survey : e.model;
|
|
5196
|
-
return
|
|
5188
|
+
return Ae(R);
|
|
5197
5189
|
}), l = M(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
5198
5190
|
const R = l.value;
|
|
5199
5191
|
return !!t.value && R + o.value.toString();
|
|
@@ -5204,7 +5196,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5204
5196
|
var N = n.value;
|
|
5205
5197
|
N && R.afterRenderSurvey(N), R.renderCallback = () => {
|
|
5206
5198
|
var K, j;
|
|
5207
|
-
o.value++, (j = (K =
|
|
5199
|
+
o.value++, (j = (K = qe()) == null ? void 0 : K.proxy) == null || j.$forceUpdate();
|
|
5208
5200
|
}, R.startTimerFromUI();
|
|
5209
5201
|
}
|
|
5210
5202
|
};
|
|
@@ -5246,13 +5238,13 @@ const ae = /* @__PURE__ */ y({
|
|
|
5246
5238
|
class: r(L.value.rootBackgroundImage),
|
|
5247
5239
|
style: k(t.value.backgroundImageStyle)
|
|
5248
5240
|
}, null, 6)) : p("", !0),
|
|
5249
|
-
v("form",
|
|
5241
|
+
v("form", Do, [
|
|
5250
5242
|
c(m, {
|
|
5251
5243
|
is: "sv-scroll",
|
|
5252
5244
|
disabled: t.value.formScrollDisabled
|
|
5253
5245
|
}, {
|
|
5254
5246
|
default: D(() => [
|
|
5255
|
-
t.value.hasLogo ? p("", !0) : (i(), a("div",
|
|
5247
|
+
t.value.hasLogo ? p("", !0) : (i(), a("div", Ao)),
|
|
5256
5248
|
v("div", {
|
|
5257
5249
|
class: r(L.value.container)
|
|
5258
5250
|
}, [
|
|
@@ -5277,7 +5269,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5277
5269
|
container: "left",
|
|
5278
5270
|
needRenderWrapper: !0
|
|
5279
5271
|
}, null, 8, ["survey"]),
|
|
5280
|
-
v("div",
|
|
5272
|
+
v("div", Po, [
|
|
5281
5273
|
c(m, {
|
|
5282
5274
|
is: "sv-components-container",
|
|
5283
5275
|
survey: t.value,
|
|
@@ -5312,7 +5304,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5312
5304
|
key: 0,
|
|
5313
5305
|
is: "sv-brand-info"
|
|
5314
5306
|
})) : p("", !0)
|
|
5315
|
-
], 14,
|
|
5307
|
+
], 14, No)
|
|
5316
5308
|
]),
|
|
5317
5309
|
c(m, {
|
|
5318
5310
|
is: "sv-components-container",
|
|
@@ -5327,11 +5319,11 @@ const ae = /* @__PURE__ */ y({
|
|
|
5327
5319
|
container: "footer",
|
|
5328
5320
|
needRenderWrapper: !1
|
|
5329
5321
|
}, null, 8, ["survey"]),
|
|
5330
|
-
C.value ? (i(), a("div",
|
|
5322
|
+
C.value ? (i(), a("div", Eo, [
|
|
5331
5323
|
v("div", {
|
|
5332
5324
|
innerHTML: q(),
|
|
5333
5325
|
class: r(t.value.completedCss)
|
|
5334
|
-
}, null, 10,
|
|
5326
|
+
}, null, 10, Wo),
|
|
5335
5327
|
c(m, {
|
|
5336
5328
|
is: "sv-components-container",
|
|
5337
5329
|
survey: t.value,
|
|
@@ -5343,12 +5335,12 @@ const ae = /* @__PURE__ */ y({
|
|
|
5343
5335
|
key: 3,
|
|
5344
5336
|
class: r(t.value.completedBeforeCss),
|
|
5345
5337
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5346
|
-
}, null, 10,
|
|
5338
|
+
}, null, 10, Fo)) : p("", !0),
|
|
5347
5339
|
t.value.state === "loading" ? (i(), a("div", {
|
|
5348
5340
|
key: 4,
|
|
5349
5341
|
class: r(t.value.loadingBodyCss),
|
|
5350
5342
|
innerHTML: t.value.processedLoadingHtml
|
|
5351
|
-
}, null, 10,
|
|
5343
|
+
}, null, 10, Oo)) : p("", !0),
|
|
5352
5344
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5353
5345
|
key: 5,
|
|
5354
5346
|
class: r(L.value.bodyEmpty)
|
|
@@ -5366,9 +5358,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
5366
5358
|
]),
|
|
5367
5359
|
_: 1
|
|
5368
5360
|
}, 8, ["disabled"])
|
|
5369
|
-
], 14,
|
|
5361
|
+
], 14, $o));
|
|
5370
5362
|
}
|
|
5371
|
-
}),
|
|
5363
|
+
}), zo = /* @__PURE__ */ y({
|
|
5372
5364
|
__name: "Notifier",
|
|
5373
5365
|
props: {
|
|
5374
5366
|
model: {}
|
|
@@ -5389,7 +5381,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5389
5381
|
}, null, 8, ["model"])
|
|
5390
5382
|
], 6)) : p("", !0);
|
|
5391
5383
|
}
|
|
5392
|
-
}),
|
|
5384
|
+
}), Uo = { key: 0 }, Qo = /* @__PURE__ */ y({
|
|
5393
5385
|
__name: "QuestionOther",
|
|
5394
5386
|
props: {
|
|
5395
5387
|
question: {},
|
|
@@ -5399,14 +5391,14 @@ const ae = /* @__PURE__ */ y({
|
|
|
5399
5391
|
return (e, n) => (i(), a("div", {
|
|
5400
5392
|
class: r(e.question.getCommentAreaCss(!0))
|
|
5401
5393
|
}, [
|
|
5402
|
-
e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
5394
|
+
e.question.isReadOnlyRenderDiv() ? (i(), a("div", Uo, I(e.question.getCommentValue(e.item)), 1)) : (i(), g(m, {
|
|
5403
5395
|
key: 1,
|
|
5404
5396
|
is: "sv-text-area",
|
|
5405
5397
|
model: e.question.getCommentTextAreaModel(e.item)
|
|
5406
5398
|
}, null, 8, ["model"]))
|
|
5407
5399
|
], 2));
|
|
5408
5400
|
}
|
|
5409
|
-
}),
|
|
5401
|
+
}), Ko = ["disabled", "value", "title"], jo = /* @__PURE__ */ y({
|
|
5410
5402
|
__name: "SurveyNavigationButton",
|
|
5411
5403
|
props: {
|
|
5412
5404
|
item: {}
|
|
@@ -5423,9 +5415,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
5423
5415
|
onMousedown: n,
|
|
5424
5416
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
5425
5417
|
(...t) => s.item.action && s.item.action(...t))
|
|
5426
|
-
}, null, 42,
|
|
5418
|
+
}, null, 42, Ko)) : p("", !0);
|
|
5427
5419
|
}
|
|
5428
|
-
}),
|
|
5420
|
+
}), He = /* @__PURE__ */ y({
|
|
5429
5421
|
__name: "PopupSurvey",
|
|
5430
5422
|
props: {
|
|
5431
5423
|
survey: {},
|
|
@@ -5452,7 +5444,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5452
5444
|
const C = W(
|
|
5453
5445
|
() => e.survey,
|
|
5454
5446
|
(L) => {
|
|
5455
|
-
const h = new
|
|
5447
|
+
const h = new Xe(null, L);
|
|
5456
5448
|
e.isExpanded !== void 0 && (h.isExpanded = e.isExpanded), e.closeOnCompleteTimeout !== void 0 && (h.closeOnCompleteTimeout = e.closeOnCompleteTimeout), e.allowClose !== void 0 && (h.allowClose = e.allowClose), e.allowFullScreen !== void 0 && (h.allowFullScreen = e.allowFullScreen), h.isShowing = !0, n.value = h;
|
|
5457
5449
|
},
|
|
5458
5450
|
{
|
|
@@ -5534,12 +5526,12 @@ const ae = /* @__PURE__ */ y({
|
|
|
5534
5526
|
v("div", {
|
|
5535
5527
|
class: r(n.value.cssBody)
|
|
5536
5528
|
}, [
|
|
5537
|
-
c(
|
|
5529
|
+
c(le, { survey: L.survey }, null, 8, ["survey"])
|
|
5538
5530
|
], 2)
|
|
5539
5531
|
], 2)
|
|
5540
5532
|
], 38)) : p("", !0);
|
|
5541
5533
|
}
|
|
5542
|
-
}),
|
|
5534
|
+
}), Go = ["innerHTML"], Xo = /* @__PURE__ */ y({
|
|
5543
5535
|
__name: "CustomWidget",
|
|
5544
5536
|
props: {
|
|
5545
5537
|
question: {},
|
|
@@ -5562,7 +5554,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5562
5554
|
o.value ? (i(), a("div", {
|
|
5563
5555
|
key: 0,
|
|
5564
5556
|
innerHTML: t.value
|
|
5565
|
-
}, null, 8,
|
|
5557
|
+
}, null, 8, Go)) : p("", !0),
|
|
5566
5558
|
s.value ? (i(), g(m, {
|
|
5567
5559
|
key: 1,
|
|
5568
5560
|
is: l.value,
|
|
@@ -5571,12 +5563,12 @@ const ae = /* @__PURE__ */ y({
|
|
|
5571
5563
|
}, null, 8, ["is", "question", "css"])) : p("", !0)
|
|
5572
5564
|
], 512));
|
|
5573
5565
|
}
|
|
5574
|
-
}),
|
|
5566
|
+
}), Jo = /* @__PURE__ */ y({
|
|
5575
5567
|
__name: "PopupModal",
|
|
5576
5568
|
setup(u) {
|
|
5577
5569
|
const e = E();
|
|
5578
5570
|
function n(s, o) {
|
|
5579
|
-
const t =
|
|
5571
|
+
const t = Je(
|
|
5580
5572
|
s,
|
|
5581
5573
|
o
|
|
5582
5574
|
), l = (d, C) => {
|
|
@@ -5586,7 +5578,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5586
5578
|
}
|
|
5587
5579
|
return ne.showDialog || (ne.showDialog = n, P(() => {
|
|
5588
5580
|
ne.showDialog = void 0;
|
|
5589
|
-
})), (s, o) => e.value ? (i(), g(
|
|
5581
|
+
})), (s, o) => e.value ? (i(), g(Pe, {
|
|
5590
5582
|
key: 0,
|
|
5591
5583
|
to: e.value.container
|
|
5592
5584
|
}, [
|
|
@@ -5596,7 +5588,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5596
5588
|
}, null, 8, ["model"])
|
|
5597
5589
|
], 8, ["to"])) : p("", !0);
|
|
5598
5590
|
}
|
|
5599
|
-
}),
|
|
5591
|
+
}), Yo = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], _o = /* @__PURE__ */ y({
|
|
5600
5592
|
__name: "TextArea",
|
|
5601
5593
|
props: {
|
|
5602
5594
|
model: {},
|
|
@@ -5647,9 +5639,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
5647
5639
|
"aria-invalid": t.model.ariaInvalid,
|
|
5648
5640
|
"aria-errormessage": t.model.ariaErrormessage,
|
|
5649
5641
|
style: k({ resize: t.model.question.resizeStyle })
|
|
5650
|
-
}, null, 46,
|
|
5642
|
+
}, null, 46, Yo));
|
|
5651
5643
|
}
|
|
5652
|
-
}),
|
|
5644
|
+
}), xo = /* @__PURE__ */ y({
|
|
5653
5645
|
__name: "CharacterCounter",
|
|
5654
5646
|
props: {
|
|
5655
5647
|
counter: {},
|
|
@@ -5661,7 +5653,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5661
5653
|
class: r(n.remainingCharacterCounter)
|
|
5662
5654
|
}, I(n.counter.remainingCharacterCounter), 3));
|
|
5663
5655
|
}
|
|
5664
|
-
}),
|
|
5656
|
+
}), ei = /* @__PURE__ */ y({
|
|
5665
5657
|
inheritAttrs: !1,
|
|
5666
5658
|
__name: "Composite",
|
|
5667
5659
|
props: {
|
|
@@ -5680,7 +5672,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5680
5672
|
css: o.css
|
|
5681
5673
|
}, null, 8, ["element", "css"]));
|
|
5682
5674
|
}
|
|
5683
|
-
}),
|
|
5675
|
+
}), si = /* @__PURE__ */ y({
|
|
5684
5676
|
inheritAttrs: !1,
|
|
5685
5677
|
__name: "Custom",
|
|
5686
5678
|
props: {
|
|
@@ -5690,7 +5682,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5690
5682
|
setup(u) {
|
|
5691
5683
|
const e = u, n = f(null);
|
|
5692
5684
|
T(e, n);
|
|
5693
|
-
const s = M(() => e.question.contentQuestion), o = (t) =>
|
|
5685
|
+
const s = M(() => e.question.contentQuestion), o = (t) => ie(t);
|
|
5694
5686
|
return (t, l) => (i(), g(m, {
|
|
5695
5687
|
ref: n.value,
|
|
5696
5688
|
is: o(s.value),
|
|
@@ -5698,16 +5690,16 @@ const ae = /* @__PURE__ */ y({
|
|
|
5698
5690
|
css: t.css
|
|
5699
5691
|
}, null, 8, ["is", "question", "css"]));
|
|
5700
5692
|
}
|
|
5701
|
-
}),
|
|
5702
|
-
|
|
5703
|
-
],
|
|
5693
|
+
}), ni = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ti = [
|
|
5694
|
+
ni
|
|
5695
|
+
], Ce = 440, oi = /* @__PURE__ */ y({
|
|
5704
5696
|
__name: "TimerPanel",
|
|
5705
5697
|
props: {
|
|
5706
5698
|
model: {},
|
|
5707
5699
|
css: {}
|
|
5708
5700
|
},
|
|
5709
5701
|
setup(u) {
|
|
5710
|
-
const e = u, n = M(() =>
|
|
5702
|
+
const e = u, n = M(() => Ce * e.model.progress), s = M(() => e.model.text);
|
|
5711
5703
|
return S(() => e.model), (o, t) => o.model.isRunning && o.model.showTimerAsClock ? (i(), a("div", {
|
|
5712
5704
|
key: 0,
|
|
5713
5705
|
class: r(o.model.rootCss)
|
|
@@ -5715,8 +5707,8 @@ const ae = /* @__PURE__ */ y({
|
|
|
5715
5707
|
o.model.showProgress ? (i(), a("svg", {
|
|
5716
5708
|
key: 0,
|
|
5717
5709
|
class: r(o.model.getProgressCss()),
|
|
5718
|
-
style: k({ strokeDasharray:
|
|
5719
|
-
},
|
|
5710
|
+
style: k({ strokeDasharray: Ce, strokeDashoffset: n.value })
|
|
5711
|
+
}, ti, 6)) : p("", !0),
|
|
5720
5712
|
v("div", {
|
|
5721
5713
|
class: r(o.model.textContainerCss)
|
|
5722
5714
|
}, [
|
|
@@ -5735,10 +5727,10 @@ const ae = /* @__PURE__ */ y({
|
|
|
5735
5727
|
[A, o.model.isRunning && !o.model.showTimerAsClock]
|
|
5736
5728
|
]);
|
|
5737
5729
|
}
|
|
5738
|
-
}),
|
|
5730
|
+
}), ii = { class: "sd-loading-indicator" }, ri = /* @__PURE__ */ y({
|
|
5739
5731
|
__name: "LoadingIndicator",
|
|
5740
5732
|
setup(u) {
|
|
5741
|
-
return (e, n) => (i(), a("div",
|
|
5733
|
+
return (e, n) => (i(), a("div", ii, [
|
|
5742
5734
|
c(m, {
|
|
5743
5735
|
is: "sv-svg-icon",
|
|
5744
5736
|
iconName: "icon-loading",
|
|
@@ -5746,7 +5738,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5746
5738
|
})
|
|
5747
5739
|
]));
|
|
5748
5740
|
}
|
|
5749
|
-
}),
|
|
5741
|
+
}), li = { key: 2 }, ai = /* @__PURE__ */ y({
|
|
5750
5742
|
__name: "Header",
|
|
5751
5743
|
props: {
|
|
5752
5744
|
model: {},
|
|
@@ -5782,7 +5774,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5782
5774
|
key: t
|
|
5783
5775
|
}, null, 8, ["model"]))), 128))
|
|
5784
5776
|
], 6)),
|
|
5785
|
-
n.survey.isMobile ? (i(), a("div",
|
|
5777
|
+
n.survey.isMobile ? (i(), a("div", li, [
|
|
5786
5778
|
c(m, {
|
|
5787
5779
|
is: "sv-header-mobile",
|
|
5788
5780
|
model: n.model
|
|
@@ -5790,10 +5782,10 @@ const ae = /* @__PURE__ */ y({
|
|
|
5790
5782
|
])) : p("", !0)
|
|
5791
5783
|
], 6)) : p("", !0);
|
|
5792
5784
|
}
|
|
5793
|
-
}),
|
|
5785
|
+
}), ui = {
|
|
5794
5786
|
key: 0,
|
|
5795
5787
|
class: "sv-header__logo"
|
|
5796
|
-
},
|
|
5788
|
+
}, di = ["src", "width", "height", "alt"], mi = /* @__PURE__ */ y({
|
|
5797
5789
|
__name: "HeaderCell",
|
|
5798
5790
|
props: {
|
|
5799
5791
|
model: {}
|
|
@@ -5807,7 +5799,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5807
5799
|
class: "sv-header__cell-content",
|
|
5808
5800
|
style: k(e.model.contentStyle)
|
|
5809
5801
|
}, [
|
|
5810
|
-
e.model.showLogo ? (i(), a("div",
|
|
5802
|
+
e.model.showLogo ? (i(), a("div", ui, [
|
|
5811
5803
|
v("div", {
|
|
5812
5804
|
class: r(e.model.survey.logoClassNames)
|
|
5813
5805
|
}, [
|
|
@@ -5818,7 +5810,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5818
5810
|
height: e.model.survey.renderedLogoHeight,
|
|
5819
5811
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5820
5812
|
style: k({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5821
|
-
}, null, 14,
|
|
5813
|
+
}, null, 14, di)
|
|
5822
5814
|
], 2)
|
|
5823
5815
|
])) : p("", !0),
|
|
5824
5816
|
e.model.showTitle ? (i(), a("div", {
|
|
@@ -5850,17 +5842,17 @@ const ae = /* @__PURE__ */ y({
|
|
|
5850
5842
|
], 4)
|
|
5851
5843
|
], 6));
|
|
5852
5844
|
}
|
|
5853
|
-
}),
|
|
5845
|
+
}), pi = { class: "sv-header--mobile" }, vi = {
|
|
5854
5846
|
key: 0,
|
|
5855
5847
|
class: "sv-header__logo"
|
|
5856
|
-
},
|
|
5848
|
+
}, Ci = ["src", "width", "height", "alt"], ci = /* @__PURE__ */ y({
|
|
5857
5849
|
__name: "HeaderMobile",
|
|
5858
5850
|
props: {
|
|
5859
5851
|
model: {}
|
|
5860
5852
|
},
|
|
5861
5853
|
setup(u) {
|
|
5862
|
-
return (e, n) => (i(), a("div",
|
|
5863
|
-
e.model.survey.hasLogo ? (i(), a("div",
|
|
5854
|
+
return (e, n) => (i(), a("div", pi, [
|
|
5855
|
+
e.model.survey.hasLogo ? (i(), a("div", vi, [
|
|
5864
5856
|
v("div", {
|
|
5865
5857
|
class: r(e.model.survey.logoClassNames)
|
|
5866
5858
|
}, [
|
|
@@ -5871,7 +5863,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5871
5863
|
height: e.model.survey.renderedLogoHeight,
|
|
5872
5864
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5873
5865
|
style: k({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5874
|
-
}, null, 14,
|
|
5866
|
+
}, null, 14, Ci)
|
|
5875
5867
|
], 2)
|
|
5876
5868
|
])) : p("", !0),
|
|
5877
5869
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
@@ -5902,7 +5894,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5902
5894
|
], 4)) : p("", !0)
|
|
5903
5895
|
]));
|
|
5904
5896
|
}
|
|
5905
|
-
}),
|
|
5897
|
+
}), gi = /* @__PURE__ */ y({
|
|
5906
5898
|
__name: "Element",
|
|
5907
5899
|
props: {
|
|
5908
5900
|
element: {},
|
|
@@ -5958,20 +5950,20 @@ const ae = /* @__PURE__ */ y({
|
|
|
5958
5950
|
}, null, 8, ["is", "element", "css"])) : p("", !0)
|
|
5959
5951
|
], 6));
|
|
5960
5952
|
}
|
|
5961
|
-
}),
|
|
5953
|
+
}), yi = /* @__PURE__ */ y({
|
|
5962
5954
|
__name: "TemplateRenderer",
|
|
5963
5955
|
props: {
|
|
5964
5956
|
componentName: {},
|
|
5965
5957
|
componentData: {}
|
|
5966
5958
|
},
|
|
5967
5959
|
setup(u) {
|
|
5968
|
-
const e =
|
|
5960
|
+
const e = Ne(), n = M(() => !!e.default);
|
|
5969
5961
|
return (s, o) => n.value && !s.componentName ? x(s.$slots, "default", { key: 0 }) : (i(), g(m, $({
|
|
5970
5962
|
key: 1,
|
|
5971
5963
|
is: s.componentName
|
|
5972
5964
|
}, s.componentData), null, 16, ["is"]));
|
|
5973
5965
|
}
|
|
5974
|
-
}),
|
|
5966
|
+
}), hi = /* @__PURE__ */ y({
|
|
5975
5967
|
__name: "FileCleanButton",
|
|
5976
5968
|
props: {
|
|
5977
5969
|
question: {},
|
|
@@ -5994,7 +5986,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5994
5986
|
}, null, 8, ["iconName", "title"])) : p("", !0)
|
|
5995
5987
|
], 2));
|
|
5996
5988
|
}
|
|
5997
|
-
}),
|
|
5989
|
+
}), qi = ["id"], wi = /* @__PURE__ */ y({
|
|
5998
5990
|
__name: "FileVideo",
|
|
5999
5991
|
props: {
|
|
6000
5992
|
question: {}
|
|
@@ -6016,14 +6008,14 @@ const ae = /* @__PURE__ */ y({
|
|
|
6016
6008
|
playsinline: "",
|
|
6017
6009
|
id: e.question.videoId,
|
|
6018
6010
|
class: r(e.question.cssClasses.video)
|
|
6019
|
-
}, null, 10,
|
|
6011
|
+
}, null, 10, qi),
|
|
6020
6012
|
c(m, {
|
|
6021
6013
|
is: "sv-action",
|
|
6022
6014
|
item: e.question.takePictureAction
|
|
6023
6015
|
}, null, 8, ["item"])
|
|
6024
6016
|
], 2));
|
|
6025
6017
|
}
|
|
6026
|
-
}),
|
|
6018
|
+
}), bi = ["for", "aria-label"], Li = /* @__PURE__ */ y({
|
|
6027
6019
|
__name: "FileChooseButton",
|
|
6028
6020
|
props: {
|
|
6029
6021
|
data: {},
|
|
@@ -6051,11 +6043,11 @@ const ae = /* @__PURE__ */ y({
|
|
|
6051
6043
|
size: "auto"
|
|
6052
6044
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6053
6045
|
v("span", null, I(n.value.chooseButtonText), 1)
|
|
6054
|
-
], 10,
|
|
6046
|
+
], 10, bi)), [
|
|
6055
6047
|
[w(Q)]
|
|
6056
6048
|
]);
|
|
6057
6049
|
}
|
|
6058
|
-
}),
|
|
6050
|
+
}), ki = /* @__PURE__ */ y({
|
|
6059
6051
|
__name: "FilePreview",
|
|
6060
6052
|
props: {
|
|
6061
6053
|
question: {}
|
|
@@ -6073,7 +6065,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6073
6065
|
}, null, 8, ["page", "question"]))), 128))
|
|
6074
6066
|
], 2)) : p("", !0);
|
|
6075
6067
|
}
|
|
6076
|
-
}),
|
|
6068
|
+
}), fi = /* @__PURE__ */ y({
|
|
6077
6069
|
__name: "ButtonGroup",
|
|
6078
6070
|
props: {
|
|
6079
6071
|
question: {}
|
|
@@ -6095,7 +6087,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6095
6087
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6096
6088
|
], 2));
|
|
6097
6089
|
}
|
|
6098
|
-
}),
|
|
6090
|
+
}), Hi = ["title"], Mi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ii = ["title"], Vi = /* @__PURE__ */ y({
|
|
6099
6091
|
__name: "ButtonGroupItem",
|
|
6100
6092
|
props: {
|
|
6101
6093
|
item: {},
|
|
@@ -6104,7 +6096,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6104
6096
|
},
|
|
6105
6097
|
setup(u) {
|
|
6106
6098
|
const e = u, n = M(
|
|
6107
|
-
() => new
|
|
6099
|
+
() => new Ye(e.question, e.item, e.index)
|
|
6108
6100
|
), s = M({
|
|
6109
6101
|
get: () => e.question.renderedValue,
|
|
6110
6102
|
set: (o) => {
|
|
@@ -6128,8 +6120,8 @@ const ae = /* @__PURE__ */ y({
|
|
|
6128
6120
|
class: r(n.value.css.control),
|
|
6129
6121
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l),
|
|
6130
6122
|
value: n.value.value
|
|
6131
|
-
}, null, 10,
|
|
6132
|
-
[
|
|
6123
|
+
}, null, 10, Mi), [
|
|
6124
|
+
[he, s.value]
|
|
6133
6125
|
]),
|
|
6134
6126
|
v("div", {
|
|
6135
6127
|
class: r(n.value.css.decorator)
|
|
@@ -6150,9 +6142,9 @@ const ae = /* @__PURE__ */ y({
|
|
|
6150
6142
|
is: "survey-string",
|
|
6151
6143
|
locString: n.value.caption
|
|
6152
6144
|
}, null, 8, ["locString"])
|
|
6153
|
-
], 10,
|
|
6145
|
+
], 10, Ii)) : p("", !0)
|
|
6154
6146
|
], 2)
|
|
6155
|
-
], 10,
|
|
6147
|
+
], 10, Hi));
|
|
6156
6148
|
}
|
|
6157
6149
|
});
|
|
6158
6150
|
G.Instance.registerRenderer(
|
|
@@ -6160,7 +6152,7 @@ G.Instance.registerRenderer(
|
|
|
6160
6152
|
"dropdown",
|
|
6161
6153
|
"sv-buttongroup-dropdown"
|
|
6162
6154
|
);
|
|
6163
|
-
const
|
|
6155
|
+
const Si = /* @__PURE__ */ y({
|
|
6164
6156
|
inheritAttrs: !1,
|
|
6165
6157
|
__name: "ButtonGroupDropdown",
|
|
6166
6158
|
props: {
|
|
@@ -6179,7 +6171,7 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6179
6171
|
}, null, 8, ["question"])
|
|
6180
6172
|
], 2));
|
|
6181
6173
|
}
|
|
6182
|
-
}),
|
|
6174
|
+
}), Ri = ["src", "width", "height", "alt"], Ti = /* @__PURE__ */ y({
|
|
6183
6175
|
inheritAttrs: !1,
|
|
6184
6176
|
__name: "Logo",
|
|
6185
6177
|
props: {
|
|
@@ -6201,10 +6193,10 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6201
6193
|
width: n.value.renderedStyleLogoWidth,
|
|
6202
6194
|
height: n.value.renderedStyleLogoHeight
|
|
6203
6195
|
})
|
|
6204
|
-
}, null, 14,
|
|
6196
|
+
}, null, 14, Ri)
|
|
6205
6197
|
], 2));
|
|
6206
6198
|
}
|
|
6207
|
-
}),
|
|
6199
|
+
}), Bi = /* @__PURE__ */ y({
|
|
6208
6200
|
__name: "SvgBundle",
|
|
6209
6201
|
setup(u) {
|
|
6210
6202
|
const e = f(), n = () => {
|
|
@@ -6222,7 +6214,7 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6222
6214
|
[A, !1]
|
|
6223
6215
|
]);
|
|
6224
6216
|
}
|
|
6225
|
-
}),
|
|
6217
|
+
}), Zi = ["id"], $i = /* @__PURE__ */ y({
|
|
6226
6218
|
__name: "FilePage",
|
|
6227
6219
|
props: {
|
|
6228
6220
|
page: {},
|
|
@@ -6240,9 +6232,9 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6240
6232
|
item: o,
|
|
6241
6233
|
question: n.question
|
|
6242
6234
|
}, null, 8, ["item", "question"]))), 128))
|
|
6243
|
-
], 10,
|
|
6235
|
+
], 10, Zi));
|
|
6244
6236
|
}
|
|
6245
|
-
}),
|
|
6237
|
+
}), Di = ["href", "title", "download"], Ai = ["src"], Pi = ["href", "title", "download"], Ni = /* @__PURE__ */ y({
|
|
6246
6238
|
__name: "FileItem",
|
|
6247
6239
|
props: {
|
|
6248
6240
|
item: {},
|
|
@@ -6263,7 +6255,7 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6263
6255
|
title: e.item.name,
|
|
6264
6256
|
download: e.item.name,
|
|
6265
6257
|
style: k({ width: e.question.imageWidth })
|
|
6266
|
-
}, I(e.item.name), 13,
|
|
6258
|
+
}, I(e.item.name), 13, Di)
|
|
6267
6259
|
], 2)) : p("", !0),
|
|
6268
6260
|
v("div", {
|
|
6269
6261
|
class: r(e.question.getImageWrapperCss(e.item))
|
|
@@ -6276,7 +6268,7 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6276
6268
|
width: e.question.imageWidth
|
|
6277
6269
|
}),
|
|
6278
6270
|
alt: "File preview"
|
|
6279
|
-
}, null, 12,
|
|
6271
|
+
}, null, 12, Ai)) : p("", !0),
|
|
6280
6272
|
e.question.defaultImage(e.item) ? (i(), g(m, {
|
|
6281
6273
|
key: 1,
|
|
6282
6274
|
is: "sv-svg-icon",
|
|
@@ -6312,41 +6304,41 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6312
6304
|
title: e.item.name,
|
|
6313
6305
|
download: e.item.name,
|
|
6314
6306
|
style: k({ width: e.question.imageWidth })
|
|
6315
|
-
}, I(e.item.name), 13,
|
|
6307
|
+
}, I(e.item.name), 13, Pi)
|
|
6316
6308
|
], 2)) : p("", !0)
|
|
6317
6309
|
], 2)), [
|
|
6318
6310
|
[A, e.item]
|
|
6319
6311
|
]);
|
|
6320
6312
|
}
|
|
6321
6313
|
});
|
|
6322
|
-
|
|
6323
|
-
function
|
|
6314
|
+
_e.platform = "vue3";
|
|
6315
|
+
function Ei(u, e, n) {
|
|
6324
6316
|
u(e, n);
|
|
6325
6317
|
}
|
|
6326
|
-
function
|
|
6327
|
-
const e =
|
|
6318
|
+
function Me(u) {
|
|
6319
|
+
const e = Ei.bind(
|
|
6328
6320
|
void 0,
|
|
6329
6321
|
u
|
|
6330
6322
|
);
|
|
6331
|
-
e("sv-svg-bundle",
|
|
6323
|
+
e("sv-svg-bundle", Bi), e("popup-survey", He), e("survey-header", ts), e("sv-logo-image", Ti), e("survey-page", ns), e("survey-row", os), e("survey-question", us), e("survey-panel", vs), e("survey-element-header", cs), e("survey-string", gs), e("sv-string-viewer", hs), e("sv-string-editor", ws), e("sv-skeleton", Ls), e("sv-scroll", Ms), e("survey-text", Ss), e("survey-text-input", Bs), e("survey-checkbox", Ps), e("survey-checkbox-item", Ws), e("survey-radiogroup", Fs), e("survey-radiogroup-item", Us), e("survey-signaturepad", Gs), e("survey-html", Js), e("survey-image", e1), e("survey-expression", n1), e("survey-file", r1), e("sv-file-choose-btn", Li), e("sv-file-clean-btn", hi), e("sv-file-preview", ki), e("sv-file-page", $i), e("sv-file-item", Ni), e("sv-file-video", wi), e("survey-imagepicker", a1), e("survey-imagepicker-item", v1), e("survey-comment", C1), e("survey-dropdown", c1), e("sv-dropdown-select", q1), e("sv-dropdown-option-item", b1), e("sv-dropdown", M1), e("survey-tagbox", I1), e("sv-tagbox", R1), e("sv-tagbox-item", D1), e("sv-tagbox-filter", Z1), e("survey-ranking", A1), e("survey-ranking-item", O1), e("sv-ranking-item", z1), e("survey-rating", K1), e("sv-rating-item", X1), e("sv-rating-item-smiley", _1), e("sv-rating-item-star", sn), e("sv-rating-dropdown", ln), e("sv-rating-dropdown-item", rn), e("survey-boolean", un), e("sv-boolean-radio", dn), e("sv-boolean-radio-item", vn), e("sv-boolean-checkbox", qn), e("survey-multipletext", wn), e("survey-multipletext-item", kn), e("sv-breadcrumbs", fn), e("sv-single-input-summary", Sn), e("survey-slider", Bn), e("sv-slider-label-item", Zn), e("survey-matrix", Wn), e("survey-matrix-row", On), e("survey-matrix-cell", Qn), e("survey-matrixdropdown", Kn), e("survey-matrixtable", Xn), e("survey-matrixheaderrequired", Yn), e("survey-matrixdropdown-cell", xn), e("survey-matrixdynamic", et), e("survey-placeholder-matrixdynamic", st), e("sv-matrix-remove-button", tt), e("sv-matrix-drag-drop-icon", it), e("sv-matrix-detail-button", lt), e("survey-paneldynamic", ut), e("survey-paneldynamicprogress", mt), e("survey-paneldynamicprogress-v2", vt), e("survey-placeholder-paneldynamic", Ct), e("sv-paneldynamic-add-btn", gt), e("sv-paneldynamic-next-btn", ht), e("sv-paneldynamic-prev-btn", wt), e("sv-paneldynamic-remove-btn", Lt), e("sv-paneldynamic-progress-text", kt), e("sv-components-container", ko), e("sv-progress-buttons", To), e("sv-navigation-toc", Bo), e("sv-progress-pages", Y), e("sv-progress-questions", Y), e("sv-progress-correctquestions", Y), e("sv-progress-requiredquestions", Y), e("survey-errors", Ht), e("survey-question-comment", It), e("survey-element-title", Vt), e("survey-element-title-content", Zt), e("sv-title-actions", At), e("sv-brand-info", zt), e("sv-question-error", jt), e("sv-svg-icon", Kt), e("sv-action-bar", Gt), e("sv-action", Yt), e("sv-action-bar-item", eo), e("sv-action-bar-item-dropdown", to), e("sv-action-bar-separator", oo), e("sv-list", ao), e("sv-list-item-content", vo), e("sv-list-item-group", Co), e("sv-list-item", po), e("sv-popup", co), e("sv-popup-container", bo), e("popup-pointer", Lo), e("sv-notifier", zo), e("survey-other-choice", Qo), e("sv-nav-btn", jo), e("survey-customwidget", Xo), e("survey-popup-modal", Jo), e("survey-composite", ei), e("survey-custom", si), e("sv-timerpanel", oi), e("sv-loading-indicator", ri), e("sv-header", ai), e("sv-header-cell", mi), e("sv-header-mobile", ci), e("sv-template-renderer", yi), e("sv-character-counter", xo), e("sv-text-area", _o), e("survey-element", gi), e("survey-buttongroup", fi), e("sv-button-group-item", Vi), e("sv-buttongroup-dropdown", Si), e("survey", le);
|
|
6332
6324
|
}
|
|
6333
|
-
|
|
6325
|
+
Me(
|
|
6334
6326
|
(u, e) => F.Instance.registerComponent(u, e)
|
|
6335
6327
|
);
|
|
6336
|
-
const
|
|
6328
|
+
const zi = {
|
|
6337
6329
|
install(u) {
|
|
6338
|
-
u.component("SurveyComponent",
|
|
6330
|
+
u.component("SurveyComponent", le), u.component("PopupSurveyComponent", He), u.directive("key2click", Q), Me((e, n) => {
|
|
6339
6331
|
u.component(e, n), F.Instance.registerComponent(e, e);
|
|
6340
6332
|
});
|
|
6341
6333
|
}
|
|
6342
6334
|
};
|
|
6343
6335
|
export {
|
|
6344
6336
|
F as ComponentFactory,
|
|
6345
|
-
|
|
6346
|
-
|
|
6337
|
+
He as PopupSurveyComponent,
|
|
6338
|
+
le as SurveyComponent,
|
|
6347
6339
|
m as SvComponent,
|
|
6348
6340
|
Q as key2ClickDirective,
|
|
6349
|
-
|
|
6341
|
+
zi as surveyPlugin,
|
|
6350
6342
|
S as useBase,
|
|
6351
6343
|
se as useComputedArray,
|
|
6352
6344
|
U as useLocString,
|