survey-vue3-ui 2.3.1 → 2.3.2
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 +425 -428
- package/survey-vue3-ui.umd.js +4 -4
- package/types/BooleanRadioItem.vue.d.ts +1 -1
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 ce, normalizeProps as ue, guardReactiveProps as de, createSlots as
|
|
5
|
-
import { Base as
|
|
1
|
+
var Me = Object.defineProperty;
|
|
2
|
+
var Ie = (u, e, n) => e in u ? Me(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
|
+
var J = (u, e, n) => (Ie(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 Ve, renderList as V, withCtx as D, renderSlot as x, shallowReactive as Se, watch as W, onBeforeUnmount as O, onMounted as B, ref as f, shallowRef as E, watchEffect as Re, triggerRef as te, unref as w, isRef as Te, nextTick as ge, 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 ye, vModelSelect as Be, onUpdated as z, vModelText as Ze, getCurrentInstance as he, createStaticVNode as $e, toRaw as De, Teleport as Ae, useSlots as Pe } from "vue";
|
|
5
|
+
import { Base as Ne, ScrollViewModel as Ee, RendererFactory as G, Helpers as We, DropdownMultiSelectListModel as Fe, doKey2ClickUp as qe, createSvg as Oe, doKey2ClickDown as ze, doKey2ClickBlur as Ue, ActionDropdownViewModel as Qe, createPopupViewModel as Ke, SurveyProgressModel as me, ProgressButtonsResponsivityManager as je, addIconsToThemeSet as we, SvgRegistry as _, PopupSurveyModel as Ge, settings as ne, createPopupModalViewModel as Xe, ButtonGroupItemModel as Je, SurveyModel as Ye } from "survey-core";
|
|
6
6
|
const ee = class ee {
|
|
7
7
|
constructor() {
|
|
8
8
|
J(this, "creatorHash", {});
|
|
@@ -35,7 +35,7 @@ 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(ce(n.value), ue(de(s.$attrs)),
|
|
38
|
+
return (s, o) => (i(), g(ce(n.value), ue(de(s.$attrs)), Ve({ _: 2 }, [
|
|
39
39
|
V(s.$slots, (t, l) => ({
|
|
40
40
|
name: l,
|
|
41
41
|
fn: D((d) => [
|
|
@@ -45,21 +45,21 @@ const m = /* @__PURE__ */ y({
|
|
|
45
45
|
]), 1040));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
|
|
49
|
-
class
|
|
48
|
+
Ne.createPropertiesHash = () => Se({});
|
|
49
|
+
class _e {
|
|
50
50
|
constructor(e) {
|
|
51
51
|
J(this, "currentNextTickPromise");
|
|
52
52
|
this.element = e;
|
|
53
53
|
}
|
|
54
54
|
async add() {
|
|
55
|
-
const e =
|
|
55
|
+
const e = ge();
|
|
56
56
|
this.currentNextTickPromise !== e && (this.currentNextTickPromise = e, await e, e == this.currentNextTickPromise && this.element.afterRerender());
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function xe(u) {
|
|
60
60
|
if (u) {
|
|
61
61
|
if (u.__vueImplemented = u.__vueImplemented ?? 0, u.__vueImplemented <= 0) {
|
|
62
|
-
const e = new
|
|
62
|
+
const e = new _e(u);
|
|
63
63
|
u.createArrayCoreHandler = (n, s) => {
|
|
64
64
|
const o = [], t = E(o);
|
|
65
65
|
return o.onArrayChanged = () => {
|
|
@@ -73,13 +73,13 @@ function es(u) {
|
|
|
73
73
|
}, n[s] = o;
|
|
74
74
|
}
|
|
75
75
|
}), u.getPropertyValueCoreHandler = (n, s) => w(n[s]), u.setPropertyValueCoreHandler = (n, s, o) => {
|
|
76
|
-
|
|
76
|
+
Te(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 es(u) {
|
|
83
83
|
return !!u.__vueImplemented;
|
|
84
84
|
}
|
|
85
85
|
function pe(u) {
|
|
@@ -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 && (pe(l), n && n(l)),
|
|
94
|
+
t && e && e(t, l), l && (pe(l), n && n(l)), xe(t);
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
immediate: !0
|
|
@@ -133,14 +133,14 @@ 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 = Re(() => {
|
|
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 ss = /* @__PURE__ */ y({
|
|
144
144
|
__name: "Page",
|
|
145
145
|
props: {
|
|
146
146
|
survey: {},
|
|
@@ -199,7 +199,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
199
199
|
}, 1040, ["is"]))), 128))
|
|
200
200
|
], 2));
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
202
|
+
}), ns = /* @__PURE__ */ y({
|
|
203
203
|
__name: "Header",
|
|
204
204
|
props: {
|
|
205
205
|
survey: {}
|
|
@@ -250,7 +250,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
250
250
|
}, null, 2)
|
|
251
251
|
], 2)) : p("", !0);
|
|
252
252
|
}
|
|
253
|
-
}),
|
|
253
|
+
}), ts = /* @__PURE__ */ y({
|
|
254
254
|
__name: "Row",
|
|
255
255
|
props: {
|
|
256
256
|
row: {},
|
|
@@ -266,7 +266,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
266
266
|
o.setRootElement(n.value), t && (o.isNeedRender = t.isNeedRender);
|
|
267
267
|
},
|
|
268
268
|
(o) => {
|
|
269
|
-
|
|
269
|
+
es(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 ns = /* @__PURE__ */ y({
|
|
|
289
289
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
290
290
|
], 2));
|
|
291
291
|
}
|
|
292
|
-
}),
|
|
292
|
+
}), os = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], is = ["aria-hidden"], rs = ["id"], ls = {
|
|
293
293
|
inheritAttrs: !1
|
|
294
|
-
},
|
|
295
|
-
...
|
|
294
|
+
}, as = /* @__PURE__ */ y({
|
|
295
|
+
...ls,
|
|
296
296
|
__name: "Question",
|
|
297
297
|
props: {
|
|
298
298
|
survey: {},
|
|
@@ -401,8 +401,8 @@ const ns = /* @__PURE__ */ y({
|
|
|
401
401
|
is: "survey-string",
|
|
402
402
|
locString: q.element.locDescription
|
|
403
403
|
}, null, 8, ["locString"])
|
|
404
|
-
], 10,
|
|
405
|
-
], 14,
|
|
404
|
+
], 10, rs)) : p("", !0)
|
|
405
|
+
], 14, is)
|
|
406
406
|
]),
|
|
407
407
|
_: 1
|
|
408
408
|
}, 16, ["is"])),
|
|
@@ -418,12 +418,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
418
418
|
element: q.element,
|
|
419
419
|
location: "bottom"
|
|
420
420
|
}, null, 8, ["element"])) : p("", !0)
|
|
421
|
-
], 46,
|
|
421
|
+
], 46, os));
|
|
422
422
|
}
|
|
423
|
-
}),
|
|
423
|
+
}), us = ["id"], ds = ["id", "role", "aria-labelledby", "aria-label"], ms = {
|
|
424
424
|
inheritAttrs: !1
|
|
425
|
-
},
|
|
426
|
-
...
|
|
425
|
+
}, ps = /* @__PURE__ */ y({
|
|
426
|
+
...ms,
|
|
427
427
|
inheritAttrs: !1,
|
|
428
428
|
__name: "Panel",
|
|
429
429
|
props: {
|
|
@@ -488,10 +488,10 @@ const ns = /* @__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, ds)) : p("", !0)
|
|
492
|
+
], 42, us)) : p("", !0);
|
|
493
493
|
}
|
|
494
|
-
}),
|
|
494
|
+
}), vs = ["id"], Cs = /* @__PURE__ */ y({
|
|
495
495
|
__name: "ElementHeader",
|
|
496
496
|
props: {
|
|
497
497
|
element: {},
|
|
@@ -523,7 +523,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
523
523
|
is: "survey-string",
|
|
524
524
|
locString: o.element.locDescription
|
|
525
525
|
}, null, 8, ["locString"])
|
|
526
|
-
], 10,
|
|
526
|
+
], 10, vs)), [
|
|
527
527
|
[A, o.element.hasDescription]
|
|
528
528
|
]) : p("", !0),
|
|
529
529
|
o.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
@@ -533,7 +533,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
533
533
|
}, null, 8, ["model"])) : p("", !0)
|
|
534
534
|
], 6));
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), cs = /* @__PURE__ */ y({
|
|
537
537
|
__name: "String",
|
|
538
538
|
props: {
|
|
539
539
|
locString: {}
|
|
@@ -544,7 +544,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
544
544
|
locString: e.locString.renderAsData
|
|
545
545
|
}, null, 8, ["is", "locString"]));
|
|
546
546
|
}
|
|
547
|
-
}),
|
|
547
|
+
}), gs = ["innerHTML"], ys = /* @__PURE__ */ y({
|
|
548
548
|
__name: "StringViewer",
|
|
549
549
|
props: {
|
|
550
550
|
locString: {}
|
|
@@ -555,12 +555,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
555
555
|
key: 0,
|
|
556
556
|
class: r(w(s)),
|
|
557
557
|
innerHTML: w(n)
|
|
558
|
-
}, null, 10,
|
|
558
|
+
}, null, 10, gs)) : (i(), a("span", {
|
|
559
559
|
key: 1,
|
|
560
560
|
class: r(w(s))
|
|
561
561
|
}, I(w(n)), 3));
|
|
562
562
|
}
|
|
563
|
-
}),
|
|
563
|
+
}), hs = ["innerHTML"], qs = /* @__PURE__ */ y({
|
|
564
564
|
__name: "StringEditor",
|
|
565
565
|
props: {
|
|
566
566
|
locString: {}
|
|
@@ -579,7 +579,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
579
579
|
innerHTML: o.locString.renderedHtml,
|
|
580
580
|
onBlur: n,
|
|
581
581
|
onClick: s
|
|
582
|
-
}, null, 40,
|
|
582
|
+
}, null, 40, hs)) : (i(), a("span", {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "sv-string-editor",
|
|
585
585
|
contenteditable: "true",
|
|
@@ -587,7 +587,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
587
587
|
onClick: s
|
|
588
588
|
}, I(o.locString.renderedHtml), 33));
|
|
589
589
|
}
|
|
590
|
-
}),
|
|
590
|
+
}), ws = ["id"], bs = /* @__PURE__ */ y({
|
|
591
591
|
__name: "Skeleton",
|
|
592
592
|
props: {
|
|
593
593
|
element: {}
|
|
@@ -598,18 +598,18 @@ const ns = /* @__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, ws));
|
|
602
602
|
}
|
|
603
|
-
}),
|
|
604
|
-
|
|
605
|
-
],
|
|
603
|
+
}), Ls = { class: "sv-scroll__container" }, ks = /* @__PURE__ */ v("div", { class: "sv-scroll__scrollbar-sizer" }, null, -1), fs = [
|
|
604
|
+
ks
|
|
605
|
+
], Hs = /* @__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 Ee();
|
|
613
613
|
n.onInnerHeightChanged = (o) => {
|
|
614
614
|
e.onInnerHeightChanged && e.onInnerHeightChanged(o);
|
|
615
615
|
};
|
|
@@ -628,17 +628,17 @@ const ns = /* @__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", Ls, [
|
|
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
|
+
}, fs, 32)
|
|
639
639
|
], 512));
|
|
640
640
|
}
|
|
641
|
-
}),
|
|
641
|
+
}), Ms = ["id"], Is = ["value"], Vs = /* @__PURE__ */ y({
|
|
642
642
|
inheritAttrs: !1,
|
|
643
643
|
__name: "Text",
|
|
644
644
|
props: {
|
|
@@ -665,8 +665,8 @@ const ns = /* @__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, Is))), 128))
|
|
669
|
+
], 8, Ms)
|
|
670
670
|
], 512)) : (i(), g(m, {
|
|
671
671
|
key: 2,
|
|
672
672
|
is: "survey-text-input",
|
|
@@ -676,7 +676,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
676
676
|
}
|
|
677
677
|
}, null, 8, ["question", "get-ref"]));
|
|
678
678
|
}
|
|
679
|
-
}),
|
|
679
|
+
}), Ss = ["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"], 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 = /* @__PURE__ */ y({
|
|
680
680
|
__name: "TextInput",
|
|
681
681
|
props: {
|
|
682
682
|
question: {},
|
|
@@ -730,7 +730,7 @@ const ns = /* @__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, Rs),
|
|
734
734
|
c(m, {
|
|
735
735
|
is: "sv-character-counter",
|
|
736
736
|
counter: l.question.characterCounter,
|
|
@@ -776,12 +776,12 @@ const ns = /* @__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, Ss));
|
|
780
780
|
}
|
|
781
|
-
}),
|
|
781
|
+
}), Bs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Zs = {
|
|
782
782
|
key: 0,
|
|
783
783
|
class: "sv-hidden"
|
|
784
|
-
},
|
|
784
|
+
}, $s = { key: 6 }, Ds = ["value"], be = /* @__PURE__ */ y({
|
|
785
785
|
inheritAttrs: !1,
|
|
786
786
|
__name: "SelectBase",
|
|
787
787
|
props: {
|
|
@@ -811,7 +811,7 @@ const ns = /* @__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", Zs, 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 ns = /* @__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", $s, [
|
|
852
852
|
v("input", {
|
|
853
853
|
type: "button",
|
|
854
854
|
class: r(t.question.cssClasses.clearButton),
|
|
@@ -856,24 +856,24 @@ const ns = /* @__PURE__ */ y({
|
|
|
856
856
|
t.question.clearValue(!0);
|
|
857
857
|
}),
|
|
858
858
|
value: t.question.clearButtonCaption
|
|
859
|
-
}, null, 10,
|
|
859
|
+
}, null, 10, Ds)
|
|
860
860
|
])) : p("", !0)
|
|
861
|
-
], 10,
|
|
861
|
+
], 10, Bs));
|
|
862
862
|
}
|
|
863
|
-
}),
|
|
863
|
+
}), As = /* @__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(be, {
|
|
871
871
|
question: e.question,
|
|
872
872
|
"show-legend": !0
|
|
873
873
|
}, null, 8, ["question"]));
|
|
874
874
|
}
|
|
875
875
|
});
|
|
876
|
-
function
|
|
876
|
+
function Le(u, e, n) {
|
|
877
877
|
B(() => {
|
|
878
878
|
n.value && (e().isDesignMode || u().setRootElement(n.value));
|
|
879
879
|
}), P(() => {
|
|
@@ -882,7 +882,7 @@ function ke(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 Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required", "aria-label"], Ns = ["xlink:href"], Es = /* @__PURE__ */ y({
|
|
886
886
|
inheritAttrs: !1,
|
|
887
887
|
__name: "CheckboxItem",
|
|
888
888
|
props: {
|
|
@@ -893,7 +893,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
893
893
|
},
|
|
894
894
|
setup(u) {
|
|
895
895
|
const e = f(), n = u;
|
|
896
|
-
|
|
896
|
+
Le(
|
|
897
897
|
() => n.item,
|
|
898
898
|
() => n.question,
|
|
899
899
|
e
|
|
@@ -925,7 +925,7 @@ const Ns = ["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, Ps),
|
|
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 Ns = ["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, Ns)
|
|
940
940
|
], 2)) : p("", !0)
|
|
941
941
|
], 2)) : p("", !0),
|
|
942
942
|
o.hideLabel ? p("", !0) : (i(), a("span", {
|
|
@@ -958,16 +958,16 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
958
958
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
959
959
|
], 64));
|
|
960
960
|
}
|
|
961
|
-
}),
|
|
961
|
+
}), Ws = /* @__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(be, { question: e.question }, null, 8, ["question"]));
|
|
969
969
|
}
|
|
970
|
-
}),
|
|
970
|
+
}), Fs = ["name", "value", "id", "aria-errormessage", "checked", "disabled", "readonly", "aria-label"], Os = ["xlink:href"], zs = /* @__PURE__ */ y({
|
|
971
971
|
inheritAttrs: !1,
|
|
972
972
|
__name: "RadiogroupItem",
|
|
973
973
|
props: {
|
|
@@ -980,7 +980,7 @@ const Ns = ["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 Le(
|
|
984
984
|
() => n.item,
|
|
985
985
|
() => n.question,
|
|
986
986
|
e
|
|
@@ -1009,7 +1009,7 @@ const Ns = ["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, Fs),
|
|
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 Ns = ["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, Os)
|
|
1024
1024
|
], 2)) : p("", !0)
|
|
1025
1025
|
], 2)) : p("", !0),
|
|
1026
1026
|
l.hideLabel ? p("", !0) : (i(), a("span", {
|
|
@@ -1042,7 +1042,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1042
1042
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1043
1043
|
], 64));
|
|
1044
1044
|
}
|
|
1045
|
-
}),
|
|
1045
|
+
}), Us = ["src"], Qs = ["title"], Ks = { key: 0 }, js = /* @__PURE__ */ y({
|
|
1046
1046
|
inheritAttrs: !1,
|
|
1047
1047
|
__name: "Signaturepad",
|
|
1048
1048
|
props: {
|
|
@@ -1077,7 +1077,7 @@ const Ns = ["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, Us)) : p("", !0),
|
|
1081
1081
|
v("canvas", {
|
|
1082
1082
|
tabindex: "-1",
|
|
1083
1083
|
class: r(s.question.cssClasses.canvas),
|
|
@@ -1097,14 +1097,14 @@ const Ns = ["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", Ks, "✖")),
|
|
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, Qs)
|
|
1108
1108
|
], 2)) : p("", !0),
|
|
1109
1109
|
s.question.showLoadingIndicator ? (i(), a("div", {
|
|
1110
1110
|
key: 1,
|
|
@@ -1114,7 +1114,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1114
1114
|
], 2)) : p("", !0)
|
|
1115
1115
|
], 6));
|
|
1116
1116
|
}
|
|
1117
|
-
}),
|
|
1117
|
+
}), Gs = ["innerHTML"], Xs = /* @__PURE__ */ y({
|
|
1118
1118
|
inheritAttrs: !1,
|
|
1119
1119
|
__name: "Html",
|
|
1120
1120
|
props: {
|
|
@@ -1129,9 +1129,9 @@ const Ns = ["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, Gs));
|
|
1133
1133
|
}
|
|
1134
|
-
}),
|
|
1134
|
+
}), Js = ["src", "alt", "width", "height"], Ys = ["src", "width", "height"], _s = ["src", "title", "width", "height"], xs = /* @__PURE__ */ y({
|
|
1135
1135
|
inheritAttrs: !1,
|
|
1136
1136
|
__name: "Image",
|
|
1137
1137
|
props: {
|
|
@@ -1164,7 +1164,7 @@ const Ns = ["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, Js)), [
|
|
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 Ns = ["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, Ys)), [
|
|
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 Ns = ["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, _s)) : 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 Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1213
1213
|
], 2)) : p("", !0)
|
|
1214
1214
|
], 2));
|
|
1215
1215
|
}
|
|
1216
|
-
}),
|
|
1216
|
+
}), e1 = ["aria-label"], s1 = /* @__PURE__ */ y({
|
|
1217
1217
|
inheritAttrs: !1,
|
|
1218
1218
|
__name: "Expression",
|
|
1219
1219
|
props: {
|
|
@@ -1227,9 +1227,9 @@ const Ns = ["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, e1));
|
|
1231
1231
|
}
|
|
1232
|
-
}),
|
|
1232
|
+
}), n1 = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], t1 = ["id", "multiple", "placeholder"], o1 = ["id", "multiple", "placeholder"], i1 = /* @__PURE__ */ y({
|
|
1233
1233
|
inheritAttrs: !1,
|
|
1234
1234
|
__name: "File",
|
|
1235
1235
|
props: {
|
|
@@ -1256,7 +1256,7 @@ const Ns = ["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, n1)) : p("", !0),
|
|
1260
1260
|
s.question.isReadOnlyAttr ? (i(), a("input", {
|
|
1261
1261
|
key: 1,
|
|
1262
1262
|
type: "file",
|
|
@@ -1266,7 +1266,7 @@ const Ns = ["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, t1)) : p("", !0),
|
|
1270
1270
|
s.question.isDisabledAttr ? (i(), a("input", {
|
|
1271
1271
|
key: 2,
|
|
1272
1272
|
type: "file",
|
|
@@ -1276,7 +1276,7 @@ const Ns = ["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, o1)) : 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 Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1335
1335
|
], 34)
|
|
1336
1336
|
], 2));
|
|
1337
1337
|
}
|
|
1338
|
-
}),
|
|
1338
|
+
}), r1 = { class: "sv-hidden" }, ve = "survey-imagepicker-item", l1 = /* @__PURE__ */ y({
|
|
1339
1339
|
inheritAttrs: !1,
|
|
1340
1340
|
__name: "Imagepicker",
|
|
1341
1341
|
props: {
|
|
@@ -1358,7 +1358,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1358
1358
|
ref_key: "root",
|
|
1359
1359
|
ref: n
|
|
1360
1360
|
}, [
|
|
1361
|
-
v("legend",
|
|
1361
|
+
v("legend", r1, 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 Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1375
1375
|
], 2))), 128)) : p("", !0)
|
|
1376
1376
|
], 6));
|
|
1377
1377
|
}
|
|
1378
|
-
}),
|
|
1378
|
+
}), a1 = ["name", "value", "id", "disabled", "readonly", "required", "aria-label", "aria-invalid", "aria-errormessage"], u1 = ["name", "value", "id", "disabled", "readonly", "required", "aria-label", "aria-invalid", "aria-errormessage"], d1 = ["src", "width", "height", "alt"], m1 = ["src", "width", "height"], p1 = /* @__PURE__ */ y({
|
|
1379
1379
|
inheritAttrs: !1,
|
|
1380
1380
|
__name: "ImagepickerItem",
|
|
1381
1381
|
props: {
|
|
@@ -1414,7 +1414,7 @@ const Ns = ["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, a1)), [
|
|
1418
1418
|
[oe, s.value]
|
|
1419
1419
|
]) : Z((i(), a("input", {
|
|
1420
1420
|
key: 1,
|
|
@@ -1430,8 +1430,8 @@ const Ns = ["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, u1)), [
|
|
1434
|
+
[ye, s.value]
|
|
1435
1435
|
]),
|
|
1436
1436
|
v("div", {
|
|
1437
1437
|
class: r(t.question.cssClasses.itemDecorator)
|
|
@@ -1466,7 +1466,7 @@ const Ns = ["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, d1)) : 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 Ns = ["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, m1)) : 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 Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1512
1512
|
], 2)
|
|
1513
1513
|
], 2));
|
|
1514
1514
|
}
|
|
1515
|
-
}),
|
|
1515
|
+
}), v1 = /* @__PURE__ */ y({
|
|
1516
1516
|
inheritAttrs: !1,
|
|
1517
1517
|
__name: "Comment",
|
|
1518
1518
|
props: {
|
|
@@ -1548,7 +1548,7 @@ const Ns = ["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 Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1573
1573
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1574
1574
|
], 2));
|
|
1575
1575
|
}
|
|
1576
|
-
}),
|
|
1576
|
+
}), c1 = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], g1 = {
|
|
1577
1577
|
key: 0,
|
|
1578
1578
|
value: ""
|
|
1579
|
-
},
|
|
1579
|
+
}, y1 = ["id"];
|
|
1580
1580
|
G.Instance.registerRenderer(
|
|
1581
1581
|
"dropdown",
|
|
1582
1582
|
"select",
|
|
1583
1583
|
"sv-dropdown-select"
|
|
1584
1584
|
);
|
|
1585
|
-
const
|
|
1585
|
+
const h1 = /* @__PURE__ */ y({
|
|
1586
1586
|
inheritAttrs: !1,
|
|
1587
1587
|
__name: "DropdownSelect",
|
|
1588
1588
|
props: {
|
|
@@ -1617,7 +1617,7 @@ const q1 = /* @__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, y1)) : 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 q1 = /* @__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", g1, 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, c1)), [
|
|
1641
1641
|
[Be, t.value]
|
|
1642
1642
|
]),
|
|
1643
1643
|
l.question.cssClasses.chevronButtonIconId ? (i(), a("div", {
|
|
@@ -1661,7 +1661,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1661
1661
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1662
1662
|
], 2));
|
|
1663
1663
|
}
|
|
1664
|
-
}),
|
|
1664
|
+
}), q1 = ["value", "disabled"], w1 = /* @__PURE__ */ y({
|
|
1665
1665
|
__name: "OptionItem",
|
|
1666
1666
|
props: {
|
|
1667
1667
|
item: {}
|
|
@@ -1671,9 +1671,9 @@ const q1 = /* @__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, q1));
|
|
1675
1675
|
}
|
|
1676
|
-
}),
|
|
1676
|
+
}), b1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "required"], L1 = { style: { visibility: "hidden" } }, k1 = ["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"], f1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], H1 = /* @__PURE__ */ y({
|
|
1677
1677
|
__name: "Dropdown",
|
|
1678
1678
|
props: {
|
|
1679
1679
|
question: {}
|
|
@@ -1688,7 +1688,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1688
1688
|
}, l = () => {
|
|
1689
1689
|
if (n.value) {
|
|
1690
1690
|
const b = n.value, R = s.value.inputStringRendered;
|
|
1691
|
-
|
|
1691
|
+
We.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();
|
|
@@ -1743,7 +1743,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1743
1743
|
key: 1,
|
|
1744
1744
|
class: r(b.question.cssClasses.hintSuffix)
|
|
1745
1745
|
}, [
|
|
1746
|
-
v("span",
|
|
1746
|
+
v("span", L1, 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 q1 = /* @__PURE__ */ y({
|
|
|
1778
1778
|
onInput: L,
|
|
1779
1779
|
onBlur: d,
|
|
1780
1780
|
onFocus: C
|
|
1781
|
-
}, null, 42,
|
|
1781
|
+
}, null, 42, k1)) : 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, b1)),
|
|
1788
1788
|
b.question.isInputReadOnly ? p("", !0) : (i(), g(m, {
|
|
1789
1789
|
key: 1,
|
|
1790
1790
|
is: "sv-popup",
|
|
@@ -1816,11 +1816,11 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1816
1816
|
is: "sv-action-bar",
|
|
1817
1817
|
model: s.value.editorButtons
|
|
1818
1818
|
}, null, 8, ["model"])
|
|
1819
|
-
], 10,
|
|
1819
|
+
], 10, f1)) : p("", !0)
|
|
1820
1820
|
], 2);
|
|
1821
1821
|
};
|
|
1822
1822
|
}
|
|
1823
|
-
}),
|
|
1823
|
+
}), M1 = /* @__PURE__ */ y({
|
|
1824
1824
|
inheritAttrs: !1,
|
|
1825
1825
|
__name: "Tagbox",
|
|
1826
1826
|
props: {
|
|
@@ -1845,7 +1845,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1845
1845
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1846
1846
|
], 2));
|
|
1847
1847
|
}
|
|
1848
|
-
}),
|
|
1848
|
+
}), I1 = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage", "aria-controls", "aria-expanded", "aria-activedescendant", "required"], V1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], S1 = /* @__PURE__ */ y({
|
|
1849
1849
|
__name: "Tagbox",
|
|
1850
1850
|
props: {
|
|
1851
1851
|
question: {}
|
|
@@ -1853,7 +1853,7 @@ const q1 = /* @__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 Fe(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 q1 = /* @__PURE__ */ y({
|
|
|
1910
1910
|
is: "sv-action-bar",
|
|
1911
1911
|
model: n.value.editorButtons
|
|
1912
1912
|
}, null, 8, ["model"])
|
|
1913
|
-
], 42,
|
|
1913
|
+
], 42, I1)),
|
|
1914
1914
|
d.question.isInputReadOnly ? p("", !0) : (i(), g(m, {
|
|
1915
1915
|
key: 1,
|
|
1916
1916
|
is: "sv-popup",
|
|
@@ -1942,11 +1942,11 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1942
1942
|
is: "sv-action-bar",
|
|
1943
1943
|
model: n.value.editorButtons
|
|
1944
1944
|
}, null, 8, ["model"])
|
|
1945
|
-
], 10,
|
|
1945
|
+
], 10, V1)) : p("", !0)
|
|
1946
1946
|
], 2);
|
|
1947
1947
|
};
|
|
1948
1948
|
}
|
|
1949
|
-
}),
|
|
1949
|
+
}), R1 = { style: { visibility: "hidden" } }, T1 = ["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"], B1 = /* @__PURE__ */ y({
|
|
1950
1950
|
__name: "TagboxFilter",
|
|
1951
1951
|
props: {
|
|
1952
1952
|
question: {},
|
|
@@ -1992,7 +1992,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1992
1992
|
key: 1,
|
|
1993
1993
|
class: r(d.question.cssClasses.hintSuffix)
|
|
1994
1994
|
}, [
|
|
1995
|
-
v("span",
|
|
1995
|
+
v("span", R1, 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 q1 = /* @__PURE__ */ y({
|
|
|
2020
2020
|
onKeydown: s,
|
|
2021
2021
|
onBlur: o,
|
|
2022
2022
|
onFocus: t
|
|
2023
|
-
}, null, 42,
|
|
2023
|
+
}, null, 42, T1), [
|
|
2024
2024
|
[Ze, l.value]
|
|
2025
2025
|
])
|
|
2026
2026
|
], 2)
|
|
2027
2027
|
], 2));
|
|
2028
2028
|
}
|
|
2029
|
-
}),
|
|
2029
|
+
}), Z1 = { class: "sv-tagbox__item-text" }, $1 = /* @__PURE__ */ y({
|
|
2030
2030
|
__name: "TagboxItem",
|
|
2031
2031
|
props: {
|
|
2032
2032
|
question: {},
|
|
@@ -2040,7 +2040,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2040
2040
|
class: "sv-tagbox__item",
|
|
2041
2041
|
key: s.item.key
|
|
2042
2042
|
}, [
|
|
2043
|
-
v("div",
|
|
2043
|
+
v("div", Z1, [
|
|
2044
2044
|
c(m, {
|
|
2045
2045
|
is: "survey-string",
|
|
2046
2046
|
locString: s.item.locText
|
|
@@ -2059,7 +2059,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2059
2059
|
], 2)
|
|
2060
2060
|
]));
|
|
2061
2061
|
}
|
|
2062
|
-
}),
|
|
2062
|
+
}), D1 = /* @__PURE__ */ y({
|
|
2063
2063
|
inheritAttrs: !1,
|
|
2064
2064
|
__name: "Ranking",
|
|
2065
2065
|
props: {
|
|
@@ -2131,10 +2131,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2131
2131
|
], 2)) : p("", !0)
|
|
2132
2132
|
], 2));
|
|
2133
2133
|
}
|
|
2134
|
-
}),
|
|
2134
|
+
}), A1 = ["id", "tabindex", "data-sv-drop-target-ranking-item"], P1 = {
|
|
2135
2135
|
tabindex: "-1",
|
|
2136
2136
|
style: { outline: "none" }
|
|
2137
|
-
},
|
|
2137
|
+
}, N1 = ["xlink:href"], E1 = ["xlink:href"], W1 = ["xlink:href"], F1 = /* @__PURE__ */ y({
|
|
2138
2138
|
inheritAttrs: !1,
|
|
2139
2139
|
__name: "RankingItem",
|
|
2140
2140
|
props: {
|
|
@@ -2170,7 +2170,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2170
2170
|
);
|
|
2171
2171
|
})
|
|
2172
2172
|
}, [
|
|
2173
|
-
v("div",
|
|
2173
|
+
v("div", P1, [
|
|
2174
2174
|
v("div", {
|
|
2175
2175
|
class: r(s.question.cssClasses.itemGhostNode)
|
|
2176
2176
|
}, null, 2),
|
|
@@ -2185,14 +2185,14 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2185
2185
|
}, [
|
|
2186
2186
|
v("use", {
|
|
2187
2187
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2188
|
-
}, null, 8,
|
|
2188
|
+
}, null, 8, N1)
|
|
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, E1)
|
|
2196
2196
|
], 2))
|
|
2197
2197
|
], 2),
|
|
2198
2198
|
!s.unrankedItem && n.value ? (i(), a("div", {
|
|
@@ -2205,7 +2205,7 @@ const q1 = /* @__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, W1)
|
|
2209
2209
|
]))
|
|
2210
2210
|
], 2)),
|
|
2211
2211
|
c(m, {
|
|
@@ -2215,9 +2215,9 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2215
2215
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2216
2216
|
], 2)
|
|
2217
2217
|
])
|
|
2218
|
-
], 42,
|
|
2218
|
+
], 42, A1));
|
|
2219
2219
|
}
|
|
2220
|
-
}),
|
|
2220
|
+
}), O1 = /* @__PURE__ */ y({
|
|
2221
2221
|
inheritAttrs: !1,
|
|
2222
2222
|
__name: "RankingItemContent",
|
|
2223
2223
|
props: {
|
|
@@ -2234,10 +2234,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2234
2234
|
}, null, 8, ["locString"])
|
|
2235
2235
|
], 2));
|
|
2236
2236
|
}
|
|
2237
|
-
}),
|
|
2237
|
+
}), z1 = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], U1 = /* @__PURE__ */ v("legend", {
|
|
2238
2238
|
role: "presentation",
|
|
2239
2239
|
class: "sv-hidden"
|
|
2240
|
-
}, null, -1),
|
|
2240
|
+
}, null, -1), Q1 = /* @__PURE__ */ y({
|
|
2241
2241
|
inheritAttrs: !1,
|
|
2242
2242
|
__name: "Rating",
|
|
2243
2243
|
props: {
|
|
@@ -2261,7 +2261,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2261
2261
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
2262
2262
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
2263
2263
|
}, [
|
|
2264
|
-
|
|
2264
|
+
U1,
|
|
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 q1 = /* @__PURE__ */ y({
|
|
|
2287
2287
|
locString: o.question.locMaxRateDescription
|
|
2288
2288
|
}, null, 8, ["locString"])
|
|
2289
2289
|
], 2)) : p("", !0)
|
|
2290
|
-
], 8,
|
|
2290
|
+
], 8, z1)
|
|
2291
2291
|
], 2));
|
|
2292
2292
|
}
|
|
2293
|
-
}),
|
|
2293
|
+
}), K1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], j1 = ["data-text"], G1 = /* @__PURE__ */ y({
|
|
2294
2294
|
__name: "RatingItem",
|
|
2295
2295
|
props: {
|
|
2296
2296
|
question: {},
|
|
@@ -2314,7 +2314,7 @@ const q1 = /* @__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, K1),
|
|
2318
2318
|
v("span", {
|
|
2319
2319
|
class: r(n.question.cssClasses.itemText),
|
|
2320
2320
|
"data-text": n.item.text
|
|
@@ -2323,10 +2323,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2323
2323
|
is: "survey-string",
|
|
2324
2324
|
locString: n.item.locText
|
|
2325
2325
|
}, null, 8, ["locString"])
|
|
2326
|
-
], 10,
|
|
2326
|
+
], 10, j1)
|
|
2327
2327
|
], 34));
|
|
2328
2328
|
}
|
|
2329
|
-
}),
|
|
2329
|
+
}), X1 = ["title"], J1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], Y1 = /* @__PURE__ */ y({
|
|
2330
2330
|
__name: "RatingItemSmiley",
|
|
2331
2331
|
props: {
|
|
2332
2332
|
question: {},
|
|
@@ -2354,15 +2354,15 @@ const q1 = /* @__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, J1),
|
|
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, X1));
|
|
2364
2364
|
}
|
|
2365
|
-
}),
|
|
2365
|
+
}), _1 = ["title"], x1 = ["name", "id", "value", "disabled", "readonly", "aria-label"], en = /* @__PURE__ */ y({
|
|
2366
2366
|
__name: "RatingItemStar",
|
|
2367
2367
|
props: {
|
|
2368
2368
|
question: {},
|
|
@@ -2389,7 +2389,7 @@ const q1 = /* @__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, x1),
|
|
2393
2393
|
c(m, {
|
|
2394
2394
|
is: "sv-svg-icon",
|
|
2395
2395
|
class: r("sv-star"),
|
|
@@ -2402,12 +2402,12 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2402
2402
|
iconName: n.question.itemStarIconAlt,
|
|
2403
2403
|
size: "auto"
|
|
2404
2404
|
}, null, 8, ["iconName"])
|
|
2405
|
-
], 42,
|
|
2405
|
+
], 42, _1));
|
|
2406
2406
|
}
|
|
2407
|
-
}),
|
|
2407
|
+
}), sn = { class: "sd-rating-dropdown-item" }, nn = { class: "sd-rating-dropdown-item_text" }, tn = {
|
|
2408
2408
|
key: 0,
|
|
2409
2409
|
class: "sd-rating-dropdown-item_description"
|
|
2410
|
-
},
|
|
2410
|
+
}, on = /* @__PURE__ */ y({
|
|
2411
2411
|
__name: "RatingDropdownItem",
|
|
2412
2412
|
props: {
|
|
2413
2413
|
item: {},
|
|
@@ -2415,9 +2415,9 @@ const q1 = /* @__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", sn, [
|
|
2419
|
+
v("span", nn, I(n.item.title), 1),
|
|
2420
|
+
n.item.description ? (i(), a("div", tn, [
|
|
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 rn = /* @__PURE__ */ y({
|
|
2435
2435
|
inheritAttrs: !1,
|
|
2436
2436
|
__name: "RatingDropdown",
|
|
2437
2437
|
props: {
|
|
@@ -2450,7 +2450,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2450
2450
|
}, null, 8, ["question"])
|
|
2451
2451
|
], 2));
|
|
2452
2452
|
}
|
|
2453
|
-
}),
|
|
2453
|
+
}), ln = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], an = /* @__PURE__ */ y({
|
|
2454
2454
|
inheritAttrs: !1,
|
|
2455
2455
|
__name: "BooleanSwitch",
|
|
2456
2456
|
props: {
|
|
@@ -2490,7 +2490,7 @@ const ln = /* @__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, ln), [
|
|
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 un = /* @__PURE__ */ y({
|
|
2550
2550
|
inheritAttrs: !1,
|
|
2551
2551
|
__name: "BooleanRadio",
|
|
2552
2552
|
props: {
|
|
@@ -2568,36 +2568,36 @@ const dn = /* @__PURE__ */ y({
|
|
|
2568
2568
|
key: "true",
|
|
2569
2569
|
question: s.question,
|
|
2570
2570
|
locText: s.question.locLabelTrue,
|
|
2571
|
-
value:
|
|
2572
|
-
}, null, 8, ["question", "locText"])) : p("", !0),
|
|
2571
|
+
value: s.question.getValueTrue()
|
|
2572
|
+
}, null, 8, ["question", "locText", "value"])) : p("", !0),
|
|
2573
2573
|
(i(), g(m, {
|
|
2574
2574
|
is: "sv-boolean-radio-item",
|
|
2575
2575
|
key: "false",
|
|
2576
2576
|
question: s.question,
|
|
2577
2577
|
locText: s.question.locLabelFalse,
|
|
2578
|
-
value:
|
|
2579
|
-
}, null, 8, ["question", "locText"])),
|
|
2578
|
+
value: s.question.getValueFalse()
|
|
2579
|
+
}, null, 8, ["question", "locText", "value"])),
|
|
2580
2580
|
s.question.swapOrder ? p("", !0) : (i(), g(m, {
|
|
2581
2581
|
is: "sv-boolean-radio-item",
|
|
2582
2582
|
key: "true",
|
|
2583
2583
|
question: s.question,
|
|
2584
2584
|
locText: s.question.locLabelTrue,
|
|
2585
|
-
value:
|
|
2586
|
-
}, null, 8, ["question", "locText"]))
|
|
2585
|
+
value: s.question.getValueTrue()
|
|
2586
|
+
}, null, 8, ["question", "locText", "value"]))
|
|
2587
2587
|
], 2)
|
|
2588
2588
|
], 2));
|
|
2589
2589
|
}
|
|
2590
|
-
}),
|
|
2590
|
+
}), dn = ["name", "value", "checked", "aria-errormessage", "disabled", "readonly"], mn = ["xlink:href"], pn = /* @__PURE__ */ y({
|
|
2591
2591
|
__name: "BooleanRadioItem",
|
|
2592
2592
|
props: {
|
|
2593
2593
|
question: {},
|
|
2594
2594
|
locText: {},
|
|
2595
|
-
value: { type: Boolean }
|
|
2595
|
+
value: { type: [String, Boolean] }
|
|
2596
2596
|
},
|
|
2597
2597
|
setup(u) {
|
|
2598
|
-
const e = u, n = (
|
|
2599
|
-
const
|
|
2600
|
-
|
|
2598
|
+
const e = u, n = () => {
|
|
2599
|
+
const s = e.question;
|
|
2600
|
+
s.value = e.value;
|
|
2601
2601
|
};
|
|
2602
2602
|
return (s, o) => (i(), a("div", {
|
|
2603
2603
|
role: "presentation",
|
|
@@ -2610,13 +2610,13 @@ const dn = /* @__PURE__ */ y({
|
|
|
2610
2610
|
type: "radio",
|
|
2611
2611
|
name: s.question.name,
|
|
2612
2612
|
value: s.value,
|
|
2613
|
-
checked: s.value === s.question.
|
|
2613
|
+
checked: s.value === s.question.value,
|
|
2614
2614
|
"aria-errormessage": s.question.ariaErrormessage,
|
|
2615
2615
|
disabled: s.question.isDisabledAttr,
|
|
2616
2616
|
readonly: s.question.isReadOnlyAttr,
|
|
2617
2617
|
class: r(s.question.cssClasses.itemRadioControl),
|
|
2618
2618
|
onChange: n
|
|
2619
|
-
}, null, 42,
|
|
2619
|
+
}, null, 42, dn),
|
|
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 dn = /* @__PURE__ */ y({
|
|
|
2627
2627
|
}, [
|
|
2628
2628
|
v("use", {
|
|
2629
2629
|
"xlink:href": s.question.itemSvgIcon
|
|
2630
|
-
}, null, 8,
|
|
2630
|
+
}, null, 8, mn)
|
|
2631
2631
|
], 2)) : p("", !0)
|
|
2632
2632
|
], 2)) : p("", !0),
|
|
2633
2633
|
v("span", {
|
|
@@ -2641,13 +2641,13 @@ const dn = /* @__PURE__ */ y({
|
|
|
2641
2641
|
], 2)
|
|
2642
2642
|
], 2));
|
|
2643
2643
|
}
|
|
2644
|
-
}),
|
|
2644
|
+
}), vn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Cn = ["xlink:href"], cn = /* @__PURE__ */ v("span", { class: "check" }, null, -1), gn = ["id"], yn = ["id"];
|
|
2645
2645
|
G.Instance.registerRenderer(
|
|
2646
2646
|
"boolean",
|
|
2647
2647
|
"checkbox",
|
|
2648
2648
|
"sv-boolean-checkbox"
|
|
2649
2649
|
);
|
|
2650
|
-
const
|
|
2650
|
+
const hn = /* @__PURE__ */ y({
|
|
2651
2651
|
inheritAttrs: !1,
|
|
2652
2652
|
__name: "BooleanCheckbox",
|
|
2653
2653
|
props: {
|
|
@@ -2683,7 +2683,7 @@ const qn = /* @__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, vn), [
|
|
2687
2687
|
[oe, s.question.booleanValue]
|
|
2688
2688
|
]),
|
|
2689
2689
|
v("span", {
|
|
@@ -2695,9 +2695,9 @@ const qn = /* @__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
|
+
cn
|
|
2701
2701
|
], 2),
|
|
2702
2702
|
s.question.isLabelRendered ? (i(), a("span", {
|
|
2703
2703
|
key: 0,
|
|
@@ -2716,7 +2716,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2716
2716
|
element: s.question,
|
|
2717
2717
|
css: s.css
|
|
2718
2718
|
}, null, 8, ["element", "css"])) : p("", !0)
|
|
2719
|
-
], 10,
|
|
2719
|
+
], 10, gn)) : p("", !0)
|
|
2720
2720
|
], 2),
|
|
2721
2721
|
s.question.canRenderLabelDescription ? (i(), a("div", {
|
|
2722
2722
|
key: 0,
|
|
@@ -2727,11 +2727,11 @@ const qn = /* @__PURE__ */ y({
|
|
|
2727
2727
|
is: "survey-string",
|
|
2728
2728
|
locString: s.question.locDescription
|
|
2729
2729
|
}, null, 8, ["locString"])
|
|
2730
|
-
], 10,
|
|
2730
|
+
], 10, yn)) : p("", !0)
|
|
2731
2731
|
], 2)
|
|
2732
2732
|
], 2));
|
|
2733
2733
|
}
|
|
2734
|
-
}),
|
|
2734
|
+
}), qn = /* @__PURE__ */ y({
|
|
2735
2735
|
inheritAttrs: !1,
|
|
2736
2736
|
__name: "Multipletext",
|
|
2737
2737
|
props: {
|
|
@@ -2767,7 +2767,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2767
2767
|
])
|
|
2768
2768
|
], 2));
|
|
2769
2769
|
}
|
|
2770
|
-
}),
|
|
2770
|
+
}), wn = { key: 1 }, bn = { key: 2 }, Ln = /* @__PURE__ */ y({
|
|
2771
2771
|
__name: "MultipletextItem",
|
|
2772
2772
|
props: {
|
|
2773
2773
|
question: {},
|
|
@@ -2796,12 +2796,12 @@ const qn = /* @__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", wn, " ")) : 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", bn, " ")) : 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 qn = /* @__PURE__ */ y({
|
|
|
2820
2820
|
], 34))
|
|
2821
2821
|
], 2));
|
|
2822
2822
|
}
|
|
2823
|
-
}),
|
|
2823
|
+
}), kn = /* @__PURE__ */ y({
|
|
2824
2824
|
inheritAttrs: !1,
|
|
2825
2825
|
__name: "Breadcrumbs",
|
|
2826
2826
|
props: {
|
|
@@ -2850,7 +2850,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2850
2850
|
], 64))), 128))
|
|
2851
2851
|
], 2)) : p("", !0);
|
|
2852
2852
|
}
|
|
2853
|
-
}),
|
|
2853
|
+
}), fn = ["onClick", "title"], Hn = ["onClick", "title"], Mn = { key: 1 }, In = { key: 1 }, Vn = /* @__PURE__ */ y({
|
|
2854
2854
|
__name: "SingleInputSummary",
|
|
2855
2855
|
props: {
|
|
2856
2856
|
summary: {},
|
|
@@ -2858,13 +2858,13 @@ const qn = /* @__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", Mn, [
|
|
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", In, [
|
|
2868
2868
|
c(m, {
|
|
2869
2869
|
is: "survey-string",
|
|
2870
2870
|
locString: o.summary.noEntry
|
|
@@ -2900,7 +2900,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2900
2900
|
iconName: "icon-editsmall-16x16",
|
|
2901
2901
|
size: "auto"
|
|
2902
2902
|
})
|
|
2903
|
-
], 10,
|
|
2903
|
+
], 10, fn)) : 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 qn = /* @__PURE__ */ y({
|
|
|
2912
2912
|
iconName: "icon-delete-16x16",
|
|
2913
2913
|
size: "auto"
|
|
2914
2914
|
})
|
|
2915
|
-
], 10,
|
|
2915
|
+
], 10, Hn)) : p("", !0)
|
|
2916
2916
|
], 2)
|
|
2917
2917
|
], 2))), 128))
|
|
2918
2918
|
], 2));
|
|
2919
2919
|
}
|
|
2920
|
-
}),
|
|
2920
|
+
}), Sn = ["min", "max", "step"], Rn = ["id", "value", "min", "max", "step", "disabled", "onInput", "onFocus", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Tn = /* @__PURE__ */ y({
|
|
2921
2921
|
inheritAttrs: !1,
|
|
2922
2922
|
__name: "Slider",
|
|
2923
2923
|
props: {
|
|
@@ -2954,7 +2954,7 @@ const qn = /* @__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, Sn)) : 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 qn = /* @__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, Rn),
|
|
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 qn = /* @__PURE__ */ y({
|
|
|
3056
3056
|
], 2)) : p("", !0)
|
|
3057
3057
|
], 2));
|
|
3058
3058
|
}
|
|
3059
|
-
}),
|
|
3059
|
+
}), Bn = /* @__PURE__ */ y({
|
|
3060
3060
|
__name: "SliderLabelItem",
|
|
3061
3061
|
props: {
|
|
3062
3062
|
question: {},
|
|
@@ -3084,10 +3084,10 @@ const qn = /* @__PURE__ */ y({
|
|
|
3084
3084
|
], 2)
|
|
3085
3085
|
], 38));
|
|
3086
3086
|
}
|
|
3087
|
-
}),
|
|
3087
|
+
}), Zn = { role: "radiogroup" }, $n = { class: "sv-visuallyhidden" }, Dn = {
|
|
3088
3088
|
key: 0,
|
|
3089
3089
|
role: "presentation"
|
|
3090
|
-
},
|
|
3090
|
+
}, An = { key: 0 }, Pn = ["onClick"], Nn = ["data-responsive-title"], En = /* @__PURE__ */ y({
|
|
3091
3091
|
inheritAttrs: !1,
|
|
3092
3092
|
__name: "Matrix",
|
|
3093
3093
|
props: {
|
|
@@ -3116,15 +3116,15 @@ const qn = /* @__PURE__ */ y({
|
|
|
3116
3116
|
ref_key: "root",
|
|
3117
3117
|
ref: n
|
|
3118
3118
|
}, [
|
|
3119
|
-
v("fieldset",
|
|
3120
|
-
v("legend",
|
|
3119
|
+
v("fieldset", Zn, [
|
|
3120
|
+
v("legend", $n, 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", Dn, [
|
|
3126
3126
|
v("tr", null, [
|
|
3127
|
-
t.question.hasRows ? (i(), a("td",
|
|
3127
|
+
t.question.hasRows ? (i(), a("td", An)) : 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,12 +3184,11 @@ const qn = /* @__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, Pn))), 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,
|
|
3191
|
-
class: r(t.question.cssClasses.cell)
|
|
3192
|
-
onClick: (q) => o(d, L)
|
|
3191
|
+
class: r(t.question.cssClasses.cell)
|
|
3193
3192
|
}, [
|
|
3194
3193
|
c(m, {
|
|
3195
3194
|
is: t.question.cellComponent,
|
|
@@ -3198,14 +3197,14 @@ const qn = /* @__PURE__ */ y({
|
|
|
3198
3197
|
column: L,
|
|
3199
3198
|
columnIndex: h
|
|
3200
3199
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
3201
|
-
], 10,
|
|
3200
|
+
], 10, Nn))), 128))
|
|
3202
3201
|
], 2))), 128))
|
|
3203
3202
|
])
|
|
3204
3203
|
], 2)
|
|
3205
3204
|
])
|
|
3206
3205
|
], 2));
|
|
3207
3206
|
}
|
|
3208
|
-
}),
|
|
3207
|
+
}), Wn = ["data-sv-drop-target-matrix-row"], Fn = /* @__PURE__ */ y({
|
|
3209
3208
|
__name: "MatrixRow",
|
|
3210
3209
|
props: {
|
|
3211
3210
|
question: {},
|
|
@@ -3238,9 +3237,9 @@ const qn = /* @__PURE__ */ y({
|
|
|
3238
3237
|
question: o.question,
|
|
3239
3238
|
key: o.row.id + "_" + l.id
|
|
3240
3239
|
}, null, 8, ["cell", "question"]))), 128))
|
|
3241
|
-
], 42,
|
|
3240
|
+
], 42, Wn)) : p("", !0);
|
|
3242
3241
|
}
|
|
3243
|
-
}),
|
|
3242
|
+
}), On = ["type", "name", "checked", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], zn = ["xlink:href"], Un = /* @__PURE__ */ y({
|
|
3244
3243
|
inheritAttrs: !1,
|
|
3245
3244
|
__name: "MatrixCell",
|
|
3246
3245
|
props: {
|
|
@@ -3250,53 +3249,51 @@ const qn = /* @__PURE__ */ y({
|
|
|
3250
3249
|
columnIndex: {}
|
|
3251
3250
|
},
|
|
3252
3251
|
setup(u) {
|
|
3253
|
-
const e = u, n =
|
|
3254
|
-
const
|
|
3255
|
-
|
|
3256
|
-
},
|
|
3257
|
-
return (
|
|
3258
|
-
onMousedown:
|
|
3259
|
-
class: r(
|
|
3252
|
+
const e = u, n = () => {
|
|
3253
|
+
const o = e.row, t = e.column;
|
|
3254
|
+
o.cellClick(t);
|
|
3255
|
+
}, s = M(() => e.question.getItemSvgIcon(e.row, e.column));
|
|
3256
|
+
return (o, t) => (i(), a("label", {
|
|
3257
|
+
onMousedown: t[0] || (t[0] = (l) => o.question.onMouseDown()),
|
|
3258
|
+
class: r(o.question.getItemClass(o.row, o.column))
|
|
3260
3259
|
}, [
|
|
3261
|
-
|
|
3262
|
-
type:
|
|
3263
|
-
class: r(
|
|
3264
|
-
name:
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
value:
|
|
3268
|
-
readonly:
|
|
3269
|
-
disabled:
|
|
3270
|
-
id:
|
|
3271
|
-
"aria-required":
|
|
3272
|
-
"aria-label":
|
|
3273
|
-
"aria-invalid":
|
|
3274
|
-
"aria-errormessage":
|
|
3275
|
-
}, null, 42,
|
|
3276
|
-
[$e, w(n)]
|
|
3277
|
-
]),
|
|
3260
|
+
v("input", {
|
|
3261
|
+
type: o.question.checkType,
|
|
3262
|
+
class: r(o.question.cssItemValue),
|
|
3263
|
+
name: o.row.fullName,
|
|
3264
|
+
checked: o.row.isChecked(o.column),
|
|
3265
|
+
onInput: n,
|
|
3266
|
+
value: o.column.value,
|
|
3267
|
+
readonly: o.row.isReadOnlyAttr,
|
|
3268
|
+
disabled: o.row.isDisabledAttr,
|
|
3269
|
+
id: o.question.inputId + "_" + o.row.name + "_" + o.columnIndex,
|
|
3270
|
+
"aria-required": o.question.a11y_input_ariaRequired,
|
|
3271
|
+
"aria-label": o.question.getCellAriaLabel(o.row, o.column),
|
|
3272
|
+
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
3273
|
+
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
3274
|
+
}, null, 42, On),
|
|
3278
3275
|
v("span", {
|
|
3279
|
-
class: r(
|
|
3276
|
+
class: r(o.question.cssMaterialDecorator)
|
|
3280
3277
|
}, [
|
|
3281
|
-
|
|
3278
|
+
s.value ? (i(), a("svg", {
|
|
3282
3279
|
key: 0,
|
|
3283
|
-
class: r(
|
|
3280
|
+
class: r(o.question.cssItemDecorator)
|
|
3284
3281
|
}, [
|
|
3285
|
-
v("use", { "xlink:href":
|
|
3282
|
+
v("use", { "xlink:href": s.value }, null, 8, zn)
|
|
3286
3283
|
], 2)) : p("", !0)
|
|
3287
3284
|
], 2),
|
|
3288
|
-
|
|
3285
|
+
o.question.isMobile ? (i(), a("span", {
|
|
3289
3286
|
key: 0,
|
|
3290
|
-
class: r(
|
|
3287
|
+
class: r(o.question.cssClasses.cellResponsiveTitle)
|
|
3291
3288
|
}, [
|
|
3292
3289
|
c(m, {
|
|
3293
3290
|
is: "survey-string",
|
|
3294
|
-
locString:
|
|
3291
|
+
locString: o.column.locText
|
|
3295
3292
|
}, null, 8, ["locString"])
|
|
3296
3293
|
], 2)) : p("", !0)
|
|
3297
3294
|
], 34));
|
|
3298
3295
|
}
|
|
3299
|
-
}),
|
|
3296
|
+
}), Qn = /* @__PURE__ */ y({
|
|
3300
3297
|
inheritAttrs: !1,
|
|
3301
3298
|
__name: "MatrixDropdown",
|
|
3302
3299
|
props: {
|
|
@@ -3311,7 +3308,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3311
3308
|
ref: n
|
|
3312
3309
|
}, null, 8, ["question"]));
|
|
3313
3310
|
}
|
|
3314
|
-
}),
|
|
3311
|
+
}), Kn = { key: 0 }, jn = { key: 1 }, Gn = /* @__PURE__ */ y({
|
|
3315
3312
|
__name: "MatrixTable",
|
|
3316
3313
|
props: {
|
|
3317
3314
|
question: {}
|
|
@@ -3325,7 +3322,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3325
3322
|
v("table", {
|
|
3326
3323
|
class: r(s.question.getTableCss())
|
|
3327
3324
|
}, [
|
|
3328
|
-
n.value.showHeader ? (i(), a("thead",
|
|
3325
|
+
n.value.showHeader ? (i(), a("thead", Kn, [
|
|
3329
3326
|
v("tr", null, [
|
|
3330
3327
|
(i(!0), a(H, null, V(n.value.headerRow.cells, (t) => (i(), a(H, null, [
|
|
3331
3328
|
t.hasTitle ? (i(), a("th", {
|
|
@@ -3368,7 +3365,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3368
3365
|
question: s.question
|
|
3369
3366
|
}, null, 8, ["row", "question"]))), 128))
|
|
3370
3367
|
]),
|
|
3371
|
-
n.value.showFooter ? (i(), a("tfoot",
|
|
3368
|
+
n.value.showFooter ? (i(), a("tfoot", jn, [
|
|
3372
3369
|
v("tr", null, [
|
|
3373
3370
|
(i(!0), a(H, null, V(n.value.footerRow.cells, (t, l) => (i(), g(m, {
|
|
3374
3371
|
is: "survey-matrixdropdown-cell",
|
|
@@ -3381,7 +3378,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3381
3378
|
], 2)
|
|
3382
3379
|
], 6));
|
|
3383
3380
|
}
|
|
3384
|
-
}),
|
|
3381
|
+
}), Xn = /* @__PURE__ */ v("span", null, " ", -1), Jn = /* @__PURE__ */ y({
|
|
3385
3382
|
__name: "MatrixHeaderRequired",
|
|
3386
3383
|
props: {
|
|
3387
3384
|
question: {},
|
|
@@ -3390,14 +3387,14 @@ const qn = /* @__PURE__ */ y({
|
|
|
3390
3387
|
setup(u) {
|
|
3391
3388
|
const e = u;
|
|
3392
3389
|
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(H, { key: 0 }, [
|
|
3393
|
-
|
|
3390
|
+
Xn,
|
|
3394
3391
|
n.column.isRenderedRequired ? (i(), a("span", {
|
|
3395
3392
|
key: 0,
|
|
3396
3393
|
class: r(n.question.cssClasses.cellRequiredMark)
|
|
3397
3394
|
}, I(n.column.requiredMark), 3)) : p("", !0)
|
|
3398
3395
|
], 64)) : p("", !0);
|
|
3399
3396
|
}
|
|
3400
|
-
}),
|
|
3397
|
+
}), Yn = ["title", "colspan"], _n = /* @__PURE__ */ y({
|
|
3401
3398
|
__name: "MatrixDropdownCellComp",
|
|
3402
3399
|
props: {
|
|
3403
3400
|
question: {},
|
|
@@ -3565,9 +3562,9 @@ const qn = /* @__PURE__ */ y({
|
|
|
3565
3562
|
]),
|
|
3566
3563
|
_: 1
|
|
3567
3564
|
}, 8, ["is", "componentData"])) : p("", !0)
|
|
3568
|
-
], 46,
|
|
3565
|
+
], 46, Yn)) : p("", !0);
|
|
3569
3566
|
}
|
|
3570
|
-
}),
|
|
3567
|
+
}), xn = /* @__PURE__ */ y({
|
|
3571
3568
|
inheritAttrs: !1,
|
|
3572
3569
|
__name: "MatrixDynamic",
|
|
3573
3570
|
props: {
|
|
@@ -3630,7 +3627,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3630
3627
|
], 2)) : p("", !0)
|
|
3631
3628
|
], 512));
|
|
3632
3629
|
}
|
|
3633
|
-
}),
|
|
3630
|
+
}), et = /* @__PURE__ */ y({
|
|
3634
3631
|
__name: "MatrixDynamicPlaceholder",
|
|
3635
3632
|
props: {
|
|
3636
3633
|
question: {}
|
|
@@ -3673,7 +3670,7 @@ function re(u, e = !0) {
|
|
|
3673
3670
|
row: e ? M(() => u.item.data.row) : void 0
|
|
3674
3671
|
};
|
|
3675
3672
|
}
|
|
3676
|
-
const
|
|
3673
|
+
const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
3677
3674
|
__name: "RemoveButton",
|
|
3678
3675
|
props: {
|
|
3679
3676
|
item: {}
|
|
@@ -3693,9 +3690,9 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3693
3690
|
v("span", {
|
|
3694
3691
|
class: r(w(n).cssClasses.iconRemove)
|
|
3695
3692
|
}, null, 2)
|
|
3696
|
-
], 10,
|
|
3693
|
+
], 10, st));
|
|
3697
3694
|
}
|
|
3698
|
-
}),
|
|
3695
|
+
}), tt = ["xlink:href"], ot = /* @__PURE__ */ y({
|
|
3699
3696
|
__name: "DragDropIcon",
|
|
3700
3697
|
props: {
|
|
3701
3698
|
item: {}
|
|
@@ -3709,14 +3706,14 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3709
3706
|
}, [
|
|
3710
3707
|
v("use", {
|
|
3711
3708
|
"xlink:href": w(n).iconDragElement
|
|
3712
|
-
}, null, 8,
|
|
3709
|
+
}, null, 8, tt)
|
|
3713
3710
|
], 2)) : (i(), a("span", {
|
|
3714
3711
|
key: 1,
|
|
3715
3712
|
class: r(w(n).cssClasses.iconDrag)
|
|
3716
3713
|
}, null, 2))
|
|
3717
3714
|
]));
|
|
3718
3715
|
}
|
|
3719
|
-
}),
|
|
3716
|
+
}), it = ["title", "aria-expanded", "aria-controls"], rt = /* @__PURE__ */ y({
|
|
3720
3717
|
__name: "DetailButton",
|
|
3721
3718
|
props: {
|
|
3722
3719
|
item: {}
|
|
@@ -3737,9 +3734,9 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3737
3734
|
iconName: w(n).getDetailPanelIconId(w(s)),
|
|
3738
3735
|
size: "auto"
|
|
3739
3736
|
}, null, 8, ["class", "iconName"])
|
|
3740
|
-
], 10,
|
|
3737
|
+
], 10, it));
|
|
3741
3738
|
}
|
|
3742
|
-
}),
|
|
3739
|
+
}), lt = ["aria-label"], at = /* @__PURE__ */ y({
|
|
3743
3740
|
inheritAttrs: !1,
|
|
3744
3741
|
__name: "PanelDynamic",
|
|
3745
3742
|
props: {
|
|
@@ -3747,7 +3744,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3747
3744
|
css: {}
|
|
3748
3745
|
},
|
|
3749
3746
|
setup(u) {
|
|
3750
|
-
const e = u, n = f(null), s =
|
|
3747
|
+
const e = u, n = f(null), s = he();
|
|
3751
3748
|
T(
|
|
3752
3749
|
e,
|
|
3753
3750
|
n,
|
|
@@ -3814,7 +3811,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3814
3811
|
style: k({ width: l.question.progress }),
|
|
3815
3812
|
role: "progressbar",
|
|
3816
3813
|
"aria-label": l.question.progressBarAriaLabel
|
|
3817
|
-
}, null, 14,
|
|
3814
|
+
}, null, 14, lt)
|
|
3818
3815
|
], 2)) : p("", !0),
|
|
3819
3816
|
v("div", {
|
|
3820
3817
|
class: r(l.question.cssClasses.panelsContainer)
|
|
@@ -3847,7 +3844,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3847
3844
|
}, null, 8, ["question"])) : p("", !0)
|
|
3848
3845
|
], 2));
|
|
3849
3846
|
}
|
|
3850
|
-
}),
|
|
3847
|
+
}), ut = ["aria-label"], dt = /* @__PURE__ */ y({
|
|
3851
3848
|
__name: "PanelDynamicProgress",
|
|
3852
3849
|
props: {
|
|
3853
3850
|
question: {}
|
|
@@ -3877,7 +3874,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3877
3874
|
style: k({ width: s.question.progress }),
|
|
3878
3875
|
role: "progressbar",
|
|
3879
3876
|
"aria-label": s.question.progressBarAriaLabel
|
|
3880
|
-
}, null, 14,
|
|
3877
|
+
}, null, 14, ut)
|
|
3881
3878
|
], 2)) : p("", !0),
|
|
3882
3879
|
c(m, {
|
|
3883
3880
|
is: "sv-paneldynamic-next-btn",
|
|
@@ -3895,7 +3892,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3895
3892
|
], 2)
|
|
3896
3893
|
], 2));
|
|
3897
3894
|
}
|
|
3898
|
-
}),
|
|
3895
|
+
}), mt = ["aria-label"], pt = /* @__PURE__ */ y({
|
|
3899
3896
|
__name: "PanelDynamicProgressV2",
|
|
3900
3897
|
props: {
|
|
3901
3898
|
question: {}
|
|
@@ -3917,7 +3914,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3917
3914
|
style: k({ width: e.question.progress }),
|
|
3918
3915
|
role: "progressbar",
|
|
3919
3916
|
"aria-label": e.question.progressBarAriaLabel
|
|
3920
|
-
}, null, 14,
|
|
3917
|
+
}, null, 14, mt)
|
|
3921
3918
|
], 2)) : p("", !0),
|
|
3922
3919
|
e.question.showFooterToolbar ? (i(), a("div", {
|
|
3923
3920
|
key: 1,
|
|
@@ -3930,7 +3927,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3930
3927
|
], 2)) : p("", !0)
|
|
3931
3928
|
], 2)) : p("", !0);
|
|
3932
3929
|
}
|
|
3933
|
-
}),
|
|
3930
|
+
}), vt = /* @__PURE__ */ y({
|
|
3934
3931
|
__name: "PanelDynamicPlaceholder",
|
|
3935
3932
|
props: {
|
|
3936
3933
|
question: {}
|
|
@@ -3957,7 +3954,7 @@ function X(u) {
|
|
|
3957
3954
|
() => u.item && u.item.data.question || u.data.question
|
|
3958
3955
|
);
|
|
3959
3956
|
}
|
|
3960
|
-
const
|
|
3957
|
+
const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
3961
3958
|
__name: "PaneldynamicAddBtn",
|
|
3962
3959
|
props: {
|
|
3963
3960
|
item: {},
|
|
@@ -3982,9 +3979,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
3982
3979
|
locString: w(n).locAddPanelText
|
|
3983
3980
|
}, null, 8, ["locString"])
|
|
3984
3981
|
], 2)
|
|
3985
|
-
], 10,
|
|
3982
|
+
], 10, Ct)) : p("", !0);
|
|
3986
3983
|
}
|
|
3987
|
-
}),
|
|
3984
|
+
}), gt = ["title"], yt = /* @__PURE__ */ y({
|
|
3988
3985
|
__name: "PaneldynamicNextBtn",
|
|
3989
3986
|
props: {
|
|
3990
3987
|
item: {},
|
|
@@ -4004,9 +4001,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4004
4001
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4005
4002
|
size: "auto"
|
|
4006
4003
|
}, null, 8, ["iconName"])
|
|
4007
|
-
], 10,
|
|
4004
|
+
], 10, gt));
|
|
4008
4005
|
}
|
|
4009
|
-
}),
|
|
4006
|
+
}), ht = ["title"], qt = /* @__PURE__ */ y({
|
|
4010
4007
|
__name: "PaneldynamicPrevBtn",
|
|
4011
4008
|
props: {
|
|
4012
4009
|
item: {},
|
|
@@ -4026,9 +4023,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4026
4023
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4027
4024
|
size: "auto"
|
|
4028
4025
|
}, null, 8, ["iconName"])
|
|
4029
|
-
], 10,
|
|
4026
|
+
], 10, ht));
|
|
4030
4027
|
}
|
|
4031
|
-
}),
|
|
4028
|
+
}), wt = ["id"], bt = /* @__PURE__ */ y({
|
|
4032
4029
|
__name: "PaneldynamicRemoveBtn",
|
|
4033
4030
|
props: {
|
|
4034
4031
|
item: {},
|
|
@@ -4057,9 +4054,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4057
4054
|
v("span", {
|
|
4058
4055
|
class: r(w(n).cssClasses.iconRemove)
|
|
4059
4056
|
}, null, 2)
|
|
4060
|
-
], 10,
|
|
4057
|
+
], 10, wt));
|
|
4061
4058
|
}
|
|
4062
|
-
}),
|
|
4059
|
+
}), Lt = /* @__PURE__ */ y({
|
|
4063
4060
|
__name: "PaneldynamicProgressText",
|
|
4064
4061
|
props: {
|
|
4065
4062
|
item: {},
|
|
@@ -4071,7 +4068,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4071
4068
|
class: r(w(n).cssClasses.progressText)
|
|
4072
4069
|
}, I(w(n).progressText), 3));
|
|
4073
4070
|
}
|
|
4074
|
-
}),
|
|
4071
|
+
}), kt = ["id"], ft = /* @__PURE__ */ y({
|
|
4075
4072
|
__name: "Errors",
|
|
4076
4073
|
props: {
|
|
4077
4074
|
element: {},
|
|
@@ -4094,21 +4091,21 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4094
4091
|
error: o,
|
|
4095
4092
|
cssClasses: n.element.cssClasses
|
|
4096
4093
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
4097
|
-
], 10,
|
|
4094
|
+
], 10, kt)) : p("", !0);
|
|
4098
4095
|
}
|
|
4099
|
-
}),
|
|
4096
|
+
}), Ht = { key: 0 }, Mt = /* @__PURE__ */ y({
|
|
4100
4097
|
__name: "QuestionComment",
|
|
4101
4098
|
props: {
|
|
4102
4099
|
question: {}
|
|
4103
4100
|
},
|
|
4104
4101
|
setup(u) {
|
|
4105
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
4102
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div", Ht, I(e.question.comment), 1)) : (i(), g(m, {
|
|
4106
4103
|
key: 1,
|
|
4107
4104
|
is: "sv-text-area",
|
|
4108
4105
|
model: e.question.commentTextAreaModel
|
|
4109
4106
|
}, null, 8, ["model"]));
|
|
4110
4107
|
}
|
|
4111
|
-
}),
|
|
4108
|
+
}), It = /* @__PURE__ */ y({
|
|
4112
4109
|
__name: "TitleElement",
|
|
4113
4110
|
props: {
|
|
4114
4111
|
element: {},
|
|
@@ -4116,7 +4113,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4116
4113
|
},
|
|
4117
4114
|
setup(u) {
|
|
4118
4115
|
const e = (n) => {
|
|
4119
|
-
|
|
4116
|
+
qe(n);
|
|
4120
4117
|
};
|
|
4121
4118
|
return (n, s) => n.element.hasTitle ? (i(), g(ce(n.element.titleTagName), {
|
|
4122
4119
|
key: 0,
|
|
@@ -4161,7 +4158,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4161
4158
|
_: 1
|
|
4162
4159
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : p("", !0);
|
|
4163
4160
|
}
|
|
4164
|
-
}),
|
|
4161
|
+
}), Vt = { key: 2 }, St = { key: 4 }, Rt = { key: 6 }, Tt = { key: 8 }, Bt = /* @__PURE__ */ y({
|
|
4165
4162
|
inheritAttrs: !1,
|
|
4166
4163
|
__name: "TitleContent",
|
|
4167
4164
|
props: {
|
|
@@ -4180,26 +4177,26 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4180
4177
|
class: r(e.element.cssRequiredMark),
|
|
4181
4178
|
"aria-hidden": !0
|
|
4182
4179
|
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4183
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span",
|
|
4180
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span", Vt, " ")) : p("", !0),
|
|
4184
4181
|
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", {
|
|
4185
4182
|
key: 3,
|
|
4186
4183
|
style: { position: "static" },
|
|
4187
4184
|
class: r(e.element.cssTitleNumber),
|
|
4188
4185
|
"aria-hidden": !0
|
|
4189
4186
|
}, I(e.element.no), 3)) : p("", !0),
|
|
4190
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span",
|
|
4187
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", St, " ")) : p("", !0),
|
|
4191
4188
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", {
|
|
4192
4189
|
key: 5,
|
|
4193
4190
|
class: r(e.element.cssRequiredMark),
|
|
4194
4191
|
"aria-hidden": !0
|
|
4195
4192
|
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4196
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span",
|
|
4193
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", Rt, " ")) : p("", !0),
|
|
4197
4194
|
e.element.isTitleRenderedAsString ? p("", !0) : (i(), g(m, {
|
|
4198
4195
|
key: 7,
|
|
4199
4196
|
is: "survey-string",
|
|
4200
4197
|
locString: e.element.locRenderedTitle
|
|
4201
4198
|
}, null, 8, ["locString"])),
|
|
4202
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span",
|
|
4199
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", Tt, " ")) : p("", !0),
|
|
4203
4200
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", {
|
|
4204
4201
|
key: 9,
|
|
4205
4202
|
class: r(e.element.cssRequiredMark),
|
|
@@ -4207,7 +4204,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4207
4204
|
}, I(e.element.requiredMark), 3)) : p("", !0)
|
|
4208
4205
|
], 64));
|
|
4209
4206
|
}
|
|
4210
|
-
}),
|
|
4207
|
+
}), Zt = { class: "sv-title-actions" }, $t = { class: "sv-title-actions__title" }, Dt = /* @__PURE__ */ y({
|
|
4211
4208
|
__name: "TitleActions",
|
|
4212
4209
|
props: {
|
|
4213
4210
|
element: {},
|
|
@@ -4215,8 +4212,8 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4215
4212
|
},
|
|
4216
4213
|
setup(u) {
|
|
4217
4214
|
const e = u, n = M(() => e.element.getTitleToolbar());
|
|
4218
|
-
return (s, o) => (i(), a("div",
|
|
4219
|
-
v("span",
|
|
4215
|
+
return (s, o) => (i(), a("div", Zt, [
|
|
4216
|
+
v("span", $t, [
|
|
4220
4217
|
s.element.isPage ? (i(), g(m, {
|
|
4221
4218
|
key: 0,
|
|
4222
4219
|
is: "survey-string",
|
|
@@ -4235,20 +4232,20 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4235
4232
|
}, null, 8, ["model"])
|
|
4236
4233
|
]));
|
|
4237
4234
|
}
|
|
4238
|
-
}),
|
|
4235
|
+
}), At = (u, e) => {
|
|
4239
4236
|
const n = u.__vccOpts || u;
|
|
4240
4237
|
for (const [s, o] of e)
|
|
4241
4238
|
n[s] = o;
|
|
4242
4239
|
return n;
|
|
4243
|
-
},
|
|
4244
|
-
|
|
4240
|
+
}, Pt = {}, Nt = { class: "sv-brand-info" }, Et = /* @__PURE__ */ $e('<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), Wt = [
|
|
4241
|
+
Et
|
|
4245
4242
|
];
|
|
4246
|
-
function
|
|
4247
|
-
return i(), a("div",
|
|
4243
|
+
function Ft(u, e) {
|
|
4244
|
+
return i(), a("div", Nt, Wt);
|
|
4248
4245
|
}
|
|
4249
|
-
const
|
|
4250
|
-
|
|
4251
|
-
],
|
|
4246
|
+
const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use", null, null, -1), Ut = [
|
|
4247
|
+
zt
|
|
4248
|
+
], Qt = /* @__PURE__ */ y({
|
|
4252
4249
|
__name: "SvgIcon",
|
|
4253
4250
|
props: {
|
|
4254
4251
|
size: {},
|
|
@@ -4259,7 +4256,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4259
4256
|
},
|
|
4260
4257
|
setup(u) {
|
|
4261
4258
|
const e = u, n = f(), s = () => {
|
|
4262
|
-
|
|
4259
|
+
Oe(
|
|
4263
4260
|
e.size,
|
|
4264
4261
|
e.width,
|
|
4265
4262
|
e.height,
|
|
@@ -4277,9 +4274,9 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4277
4274
|
ref: n,
|
|
4278
4275
|
class: "sv-svg-icon",
|
|
4279
4276
|
role: "presentation"
|
|
4280
|
-
},
|
|
4277
|
+
}, Ut, 512));
|
|
4281
4278
|
}
|
|
4282
|
-
}),
|
|
4279
|
+
}), Kt = /* @__PURE__ */ y({
|
|
4283
4280
|
__name: "QuestionError",
|
|
4284
4281
|
props: {
|
|
4285
4282
|
errorKey: {},
|
|
@@ -4307,7 +4304,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4307
4304
|
], 2)
|
|
4308
4305
|
]));
|
|
4309
4306
|
}
|
|
4310
|
-
}),
|
|
4307
|
+
}), jt = /* @__PURE__ */ y({
|
|
4311
4308
|
__name: "ActionBar",
|
|
4312
4309
|
props: {
|
|
4313
4310
|
model: {},
|
|
@@ -4344,7 +4341,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4344
4341
|
}, null, 8, ["item"]))), 128))
|
|
4345
4342
|
], 6)) : p("", !0);
|
|
4346
4343
|
}
|
|
4347
|
-
}),
|
|
4344
|
+
}), Gt = ["id"], Xt = { class: "sv-action__content" }, Jt = /* @__PURE__ */ y({
|
|
4348
4345
|
__name: "Action",
|
|
4349
4346
|
props: {
|
|
4350
4347
|
item: {}
|
|
@@ -4356,7 +4353,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4356
4353
|
return S(() => n.item), B(() => {
|
|
4357
4354
|
const o = n.item;
|
|
4358
4355
|
o.updateModeCallback = (t, l) => {
|
|
4359
|
-
o.mode = t,
|
|
4356
|
+
o.mode = t, ge(() => {
|
|
4360
4357
|
l(t, e.value);
|
|
4361
4358
|
});
|
|
4362
4359
|
}, o.afterRender();
|
|
@@ -4369,7 +4366,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4369
4366
|
ref_key: "root",
|
|
4370
4367
|
ref: e
|
|
4371
4368
|
}, [
|
|
4372
|
-
v("div",
|
|
4369
|
+
v("div", Xt, [
|
|
4373
4370
|
o.item.needSeparator ? (i(), g(m, {
|
|
4374
4371
|
key: 0,
|
|
4375
4372
|
is: "sv-action-bar-separator"
|
|
@@ -4379,7 +4376,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4379
4376
|
item: o.item
|
|
4380
4377
|
}, null, 8, ["is", "item"])
|
|
4381
4378
|
])
|
|
4382
|
-
], 10,
|
|
4379
|
+
], 10, Gt));
|
|
4383
4380
|
}
|
|
4384
4381
|
}), Q = {
|
|
4385
4382
|
mounted: function(u, e) {
|
|
@@ -4393,16 +4390,16 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4393
4390
|
u.tabIndex = -1;
|
|
4394
4391
|
return;
|
|
4395
4392
|
}
|
|
4396
|
-
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(),
|
|
4397
|
-
|
|
4393
|
+
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), qe(s, n), !1)), u.addEventListener("keydown", (s) => {
|
|
4394
|
+
ze(s, n);
|
|
4398
4395
|
}), u.addEventListener("blur", (s) => {
|
|
4399
|
-
|
|
4396
|
+
Ue(s);
|
|
4400
4397
|
});
|
|
4401
4398
|
}
|
|
4402
|
-
},
|
|
4399
|
+
}, Yt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], _t = {
|
|
4403
4400
|
inheritAttrs: !1
|
|
4404
|
-
},
|
|
4405
|
-
...
|
|
4401
|
+
}, xt = /* @__PURE__ */ y({
|
|
4402
|
+
..._t,
|
|
4406
4403
|
__name: "ActionBarItem",
|
|
4407
4404
|
props: {
|
|
4408
4405
|
item: {}
|
|
@@ -4442,14 +4439,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4442
4439
|
key: 1,
|
|
4443
4440
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4444
4441
|
}, I(n.item.title), 3)) : p("", !0)
|
|
4445
|
-
], 42,
|
|
4442
|
+
], 42, Yt)), [
|
|
4446
4443
|
[w(Q), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4447
4444
|
]);
|
|
4448
4445
|
}
|
|
4449
|
-
}),
|
|
4446
|
+
}), eo = ["disabled", "title", "role"], so = {
|
|
4450
4447
|
inheritAttrs: !1
|
|
4451
|
-
},
|
|
4452
|
-
...
|
|
4448
|
+
}, no = /* @__PURE__ */ y({
|
|
4449
|
+
...so,
|
|
4453
4450
|
__name: "ActionBarItemDropdown",
|
|
4454
4451
|
props: {
|
|
4455
4452
|
item: {}
|
|
@@ -4460,7 +4457,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4460
4457
|
return S(
|
|
4461
4458
|
() => e.item,
|
|
4462
4459
|
(s) => {
|
|
4463
|
-
n = new
|
|
4460
|
+
n = new Qe(s);
|
|
4464
4461
|
},
|
|
4465
4462
|
() => {
|
|
4466
4463
|
n.dispose();
|
|
@@ -4491,7 +4488,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4491
4488
|
key: 1,
|
|
4492
4489
|
class: r(s.item.getActionBarItemTitleCss())
|
|
4493
4490
|
}, I(s.item.title), 3)) : p("", !0)
|
|
4494
|
-
], 42,
|
|
4491
|
+
], 42, eo)), [
|
|
4495
4492
|
[w(Q), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4496
4493
|
]),
|
|
4497
4494
|
c(m, {
|
|
@@ -4500,7 +4497,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4500
4497
|
}, null, 8, ["model"])
|
|
4501
4498
|
], 64));
|
|
4502
4499
|
}
|
|
4503
|
-
}),
|
|
4500
|
+
}), to = /* @__PURE__ */ y({
|
|
4504
4501
|
__name: "ActionBarSeparator",
|
|
4505
4502
|
props: {
|
|
4506
4503
|
item: {}
|
|
@@ -4511,7 +4508,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4511
4508
|
class: r(["sv-action-bar-separator", n.value])
|
|
4512
4509
|
}, null, 2));
|
|
4513
4510
|
}
|
|
4514
|
-
}),
|
|
4511
|
+
}), oo = ["aria-label", "placeholder", "value"], io = ["aria-label"], ro = ["role", "aria-label", "id"], lo = /* @__PURE__ */ y({
|
|
4515
4512
|
__name: "List",
|
|
4516
4513
|
props: {
|
|
4517
4514
|
model: {}
|
|
@@ -4556,7 +4553,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4556
4553
|
value: d.model.filterString,
|
|
4557
4554
|
onChange: s,
|
|
4558
4555
|
onKeyup: o
|
|
4559
|
-
}, null, 42,
|
|
4556
|
+
}, null, 42, oo),
|
|
4560
4557
|
d.model.showSearchClearButton && d.model.filterString ? (i(), a("button", {
|
|
4561
4558
|
key: 0,
|
|
4562
4559
|
onClick: C[0] || (C[0] = (L) => {
|
|
@@ -4577,7 +4574,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4577
4574
|
v("div", {
|
|
4578
4575
|
class: r(d.model.cssClasses.emptyText),
|
|
4579
4576
|
"aria-label": d.model.emptyMessage
|
|
4580
|
-
}, I(d.model.emptyMessage), 11,
|
|
4577
|
+
}, I(d.model.emptyMessage), 11, io)
|
|
4581
4578
|
], 2), [
|
|
4582
4579
|
[A, d.model.isEmpty]
|
|
4583
4580
|
]),
|
|
@@ -4601,12 +4598,12 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4601
4598
|
model: d.model,
|
|
4602
4599
|
key: L.id
|
|
4603
4600
|
}, null, 8, ["item", "model"]))), 128))
|
|
4604
|
-
], 42,
|
|
4601
|
+
], 42, ro)), [
|
|
4605
4602
|
[A, !d.model.isEmpty]
|
|
4606
4603
|
]) : p("", !0)
|
|
4607
4604
|
], 2));
|
|
4608
4605
|
}
|
|
4609
|
-
}),
|
|
4606
|
+
}), ao = ["role", "aria-selected", "aria-checked", "id", "tabindex"], uo = ["title"], mo = /* @__PURE__ */ y({
|
|
4610
4607
|
__name: "ListItem",
|
|
4611
4608
|
props: {
|
|
4612
4609
|
model: {},
|
|
@@ -4651,13 +4648,13 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4651
4648
|
item: t.item,
|
|
4652
4649
|
model: t.model
|
|
4653
4650
|
}, null, 8, ["is", "item", "model"])
|
|
4654
|
-
], 46,
|
|
4655
|
-
], 42,
|
|
4651
|
+
], 46, uo)
|
|
4652
|
+
], 42, ao)), [
|
|
4656
4653
|
[A, t.model.isItemVisible(t.item)],
|
|
4657
4654
|
[w(Q), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4658
4655
|
]);
|
|
4659
4656
|
}
|
|
4660
|
-
}),
|
|
4657
|
+
}), po = /* @__PURE__ */ y({
|
|
4661
4658
|
__name: "ListItemContent",
|
|
4662
4659
|
props: {
|
|
4663
4660
|
model: {},
|
|
@@ -4686,7 +4683,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4686
4683
|
}, null, 8, ["class", "iconName"])) : p("", !0)
|
|
4687
4684
|
], 64));
|
|
4688
4685
|
}
|
|
4689
|
-
}),
|
|
4686
|
+
}), vo = /* @__PURE__ */ y({
|
|
4690
4687
|
__name: "ListItemGroup",
|
|
4691
4688
|
props: {
|
|
4692
4689
|
model: {},
|
|
@@ -4706,7 +4703,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4706
4703
|
}, null, 8, ["model"])
|
|
4707
4704
|
], 64));
|
|
4708
4705
|
}
|
|
4709
|
-
}),
|
|
4706
|
+
}), Co = /* @__PURE__ */ y({
|
|
4710
4707
|
__name: "Popup",
|
|
4711
4708
|
props: {
|
|
4712
4709
|
model: {}
|
|
@@ -4719,7 +4716,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4719
4716
|
return W(
|
|
4720
4717
|
() => e.model,
|
|
4721
4718
|
(t) => {
|
|
4722
|
-
n.value && n.value.dispose(), n.value =
|
|
4719
|
+
n.value && n.value.dispose(), n.value = Ke(t), o();
|
|
4723
4720
|
},
|
|
4724
4721
|
{ immediate: !0 }
|
|
4725
4722
|
), S(() => n.value), B(() => {
|
|
@@ -4736,13 +4733,13 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4736
4733
|
}, null, 8, ["model"])
|
|
4737
4734
|
], 512));
|
|
4738
4735
|
}
|
|
4739
|
-
}),
|
|
4736
|
+
}), co = { class: "sv-popup__body-content" }, go = {
|
|
4740
4737
|
key: 0,
|
|
4741
4738
|
class: "sv-popup__body-header"
|
|
4742
|
-
},
|
|
4739
|
+
}, yo = { class: "sv-popup__scrolling-content" }, ho = { class: "sv-popup__content" }, qo = {
|
|
4743
4740
|
key: 1,
|
|
4744
4741
|
class: "sv-popup__body-footer"
|
|
4745
|
-
},
|
|
4742
|
+
}, wo = /* @__PURE__ */ y({
|
|
4746
4743
|
__name: "PopupContainer",
|
|
4747
4744
|
props: {
|
|
4748
4745
|
model: {}
|
|
@@ -4782,16 +4779,16 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4782
4779
|
is: s.model.popupHeaderTemplate,
|
|
4783
4780
|
model: s.model
|
|
4784
4781
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4785
|
-
v("div",
|
|
4786
|
-
s.model.title ? (i(), a("div",
|
|
4787
|
-
v("div",
|
|
4788
|
-
v("div",
|
|
4782
|
+
v("div", co, [
|
|
4783
|
+
s.model.title ? (i(), a("div", go, I(s.model.title), 1)) : p("", !0),
|
|
4784
|
+
v("div", yo, [
|
|
4785
|
+
v("div", ho, [
|
|
4789
4786
|
c(m, $({
|
|
4790
4787
|
is: s.model.contentComponentName
|
|
4791
4788
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4792
4789
|
])
|
|
4793
4790
|
]),
|
|
4794
|
-
s.model.showFooter ? (i(), a("div",
|
|
4791
|
+
s.model.showFooter ? (i(), a("div", qo, [
|
|
4795
4792
|
c(m, {
|
|
4796
4793
|
is: "sv-action-bar",
|
|
4797
4794
|
model: s.model.footerToolbar
|
|
@@ -4803,7 +4800,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4803
4800
|
[A, s.model.isVisible]
|
|
4804
4801
|
]);
|
|
4805
4802
|
}
|
|
4806
|
-
}),
|
|
4803
|
+
}), bo = /* @__PURE__ */ y({
|
|
4807
4804
|
__name: "PopupPointer",
|
|
4808
4805
|
props: {
|
|
4809
4806
|
model: {}
|
|
@@ -4817,7 +4814,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4817
4814
|
})
|
|
4818
4815
|
}, null, 4));
|
|
4819
4816
|
}
|
|
4820
|
-
}),
|
|
4817
|
+
}), Lo = /* @__PURE__ */ y({
|
|
4821
4818
|
__name: "Container",
|
|
4822
4819
|
props: {
|
|
4823
4820
|
survey: {},
|
|
@@ -4849,7 +4846,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4849
4846
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4850
4847
|
], 64)) : p("", !0);
|
|
4851
4848
|
}
|
|
4852
|
-
}),
|
|
4849
|
+
}), ko = ["aria-label"], Y = /* @__PURE__ */ y({
|
|
4853
4850
|
__name: "Progress",
|
|
4854
4851
|
props: {
|
|
4855
4852
|
survey: {},
|
|
@@ -4872,13 +4869,13 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4872
4869
|
v("span", {
|
|
4873
4870
|
class: r(s(t.survey.css))
|
|
4874
4871
|
}, I(t.survey.progressText), 3)
|
|
4875
|
-
], 14,
|
|
4872
|
+
], 14, ko),
|
|
4876
4873
|
v("span", {
|
|
4877
4874
|
class: r(o(t.survey.css))
|
|
4878
4875
|
}, I(t.survey.progressText), 3)
|
|
4879
4876
|
], 2));
|
|
4880
4877
|
}
|
|
4881
|
-
}),
|
|
4878
|
+
}), fo = ["aria-label"], Ho = ["title"], Mo = ["onClick", "data-page-number"], Io = ["title"], Vo = ["title"], So = ["title"], Ro = /* @__PURE__ */ y({
|
|
4882
4879
|
__name: "ProgressButtons",
|
|
4883
4880
|
props: {
|
|
4884
4881
|
survey: {},
|
|
@@ -4894,7 +4891,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4894
4891
|
};
|
|
4895
4892
|
return B(() => {
|
|
4896
4893
|
const h = l.value;
|
|
4897
|
-
C = new
|
|
4894
|
+
C = new je(e.model, h, {
|
|
4898
4895
|
onResize: (q) => {
|
|
4899
4896
|
t.value = q, s.value = !q;
|
|
4900
4897
|
},
|
|
@@ -4923,7 +4920,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4923
4920
|
v("div", {
|
|
4924
4921
|
class: r(h.survey.css.progressButtonsPageTitle),
|
|
4925
4922
|
title: h.model.headerText
|
|
4926
|
-
}, I(h.model.headerText), 11,
|
|
4923
|
+
}, I(h.model.headerText), 11, Ho)
|
|
4927
4924
|
], 2)) : p("", !0),
|
|
4928
4925
|
v("div", {
|
|
4929
4926
|
class: r(d.value.progressButtonsContainer)
|
|
@@ -4959,12 +4956,12 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4959
4956
|
is: "survey-string",
|
|
4960
4957
|
locString: b.locNavigationTitle
|
|
4961
4958
|
}, null, 8, ["locString"])
|
|
4962
|
-
], 10,
|
|
4959
|
+
], 10, Io)) : p("", !0),
|
|
4963
4960
|
t.value ? (i(), a("div", {
|
|
4964
4961
|
key: 1,
|
|
4965
4962
|
class: r(d.value.progressButtonsPageDescription),
|
|
4966
4963
|
title: b.locNavigationDescription.renderedHtml
|
|
4967
|
-
}, I(b.locNavigationDescription.renderedHtml), 11,
|
|
4964
|
+
}, I(b.locNavigationDescription.renderedHtml), 11, Vo)) : p("", !0),
|
|
4968
4965
|
v("div", {
|
|
4969
4966
|
class: r(d.value.progressButtonsButton)
|
|
4970
4967
|
}, [
|
|
@@ -4976,7 +4973,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4976
4973
|
}, null, 2),
|
|
4977
4974
|
v("span", null, I(h.model.getItemNumber(b)), 1)
|
|
4978
4975
|
], 2)
|
|
4979
|
-
], 10,
|
|
4976
|
+
], 10, Mo))), 128))
|
|
4980
4977
|
], 2)
|
|
4981
4978
|
], 2),
|
|
4982
4979
|
v("div", {
|
|
@@ -4992,11 +4989,11 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4992
4989
|
v("div", {
|
|
4993
4990
|
class: r(h.survey.css.progressButtonsPageTitle),
|
|
4994
4991
|
title: h.model.footerText
|
|
4995
|
-
}, I(h.model.footerText), 11,
|
|
4992
|
+
}, I(h.model.footerText), 11, So)
|
|
4996
4993
|
], 2)) : p("", !0)
|
|
4997
|
-
], 14,
|
|
4994
|
+
], 14, fo));
|
|
4998
4995
|
}
|
|
4999
|
-
}),
|
|
4996
|
+
}), To = /* @__PURE__ */ y({
|
|
5000
4997
|
__name: "ProgressToc",
|
|
5001
4998
|
props: {
|
|
5002
4999
|
survey: {},
|
|
@@ -5034,11 +5031,11 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
5034
5031
|
}
|
|
5035
5032
|
});
|
|
5036
5033
|
/*!
|
|
5037
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5034
|
+
* surveyjs - Survey JavaScript library v2.3.2
|
|
5038
5035
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5039
5036
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5040
5037
|
*/
|
|
5041
|
-
var
|
|
5038
|
+
var Bo = {
|
|
5042
5039
|
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>',
|
|
5043
5040
|
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>',
|
|
5044
5041
|
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>',
|
|
@@ -5102,11 +5099,11 @@ var Zo = {
|
|
|
5102
5099
|
"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>'
|
|
5103
5100
|
};
|
|
5104
5101
|
/*!
|
|
5105
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5102
|
+
* surveyjs - Survey JavaScript library v2.3.2
|
|
5106
5103
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5107
5104
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5108
5105
|
*/
|
|
5109
|
-
var
|
|
5106
|
+
var ke = {
|
|
5110
5107
|
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>',
|
|
5111
5108
|
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>',
|
|
5112
5109
|
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>',
|
|
@@ -5169,13 +5166,13 @@ var fe = {
|
|
|
5169
5166
|
"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>',
|
|
5170
5167
|
"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>'
|
|
5171
5168
|
};
|
|
5172
|
-
const
|
|
5169
|
+
const Zo = ["lang", "dir"], $o = { onsubmit: "return false;" }, Do = {
|
|
5173
5170
|
key: 0,
|
|
5174
5171
|
class: "sv_custom_header"
|
|
5175
|
-
},
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
_.registerIcons(
|
|
5172
|
+
}, Ao = { class: "sv-components-column sv-components-column--expandable" }, Po = ["id"], No = { key: 2 }, Eo = ["innerHTML"], Wo = ["innerHTML"], Fo = ["innerHTML"];
|
|
5173
|
+
we("v1", Bo);
|
|
5174
|
+
we("v2", ke);
|
|
5175
|
+
_.registerIcons(ke);
|
|
5179
5176
|
const le = /* @__PURE__ */ y({
|
|
5180
5177
|
__name: "Survey",
|
|
5181
5178
|
props: {
|
|
@@ -5185,7 +5182,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5185
5182
|
setup(u) {
|
|
5186
5183
|
const e = u, n = f(), s = f(""), o = f(1), t = M(() => {
|
|
5187
5184
|
const R = e.survey ? e.survey : e.model;
|
|
5188
|
-
return
|
|
5185
|
+
return De(R);
|
|
5189
5186
|
}), l = M(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
5190
5187
|
const R = l.value;
|
|
5191
5188
|
return !!t.value && R + o.value.toString();
|
|
@@ -5196,7 +5193,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5196
5193
|
var N = n.value;
|
|
5197
5194
|
N && R.afterRenderSurvey(N), R.renderCallback = () => {
|
|
5198
5195
|
var K, j;
|
|
5199
|
-
o.value++, (j = (K =
|
|
5196
|
+
o.value++, (j = (K = he()) == null ? void 0 : K.proxy) == null || j.$forceUpdate();
|
|
5200
5197
|
}, R.startTimerFromUI();
|
|
5201
5198
|
}
|
|
5202
5199
|
};
|
|
@@ -5238,13 +5235,13 @@ const le = /* @__PURE__ */ y({
|
|
|
5238
5235
|
class: r(L.value.rootBackgroundImage),
|
|
5239
5236
|
style: k(t.value.backgroundImageStyle)
|
|
5240
5237
|
}, null, 6)) : p("", !0),
|
|
5241
|
-
v("form",
|
|
5238
|
+
v("form", $o, [
|
|
5242
5239
|
c(m, {
|
|
5243
5240
|
is: "sv-scroll",
|
|
5244
5241
|
disabled: t.value.formScrollDisabled
|
|
5245
5242
|
}, {
|
|
5246
5243
|
default: D(() => [
|
|
5247
|
-
t.value.hasLogo ? p("", !0) : (i(), a("div",
|
|
5244
|
+
t.value.hasLogo ? p("", !0) : (i(), a("div", Do)),
|
|
5248
5245
|
v("div", {
|
|
5249
5246
|
class: r(L.value.container)
|
|
5250
5247
|
}, [
|
|
@@ -5269,7 +5266,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5269
5266
|
container: "left",
|
|
5270
5267
|
needRenderWrapper: !0
|
|
5271
5268
|
}, null, 8, ["survey"]),
|
|
5272
|
-
v("div",
|
|
5269
|
+
v("div", Ao, [
|
|
5273
5270
|
c(m, {
|
|
5274
5271
|
is: "sv-components-container",
|
|
5275
5272
|
survey: t.value,
|
|
@@ -5304,7 +5301,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5304
5301
|
key: 0,
|
|
5305
5302
|
is: "sv-brand-info"
|
|
5306
5303
|
})) : p("", !0)
|
|
5307
|
-
], 14,
|
|
5304
|
+
], 14, Po)
|
|
5308
5305
|
]),
|
|
5309
5306
|
c(m, {
|
|
5310
5307
|
is: "sv-components-container",
|
|
@@ -5319,11 +5316,11 @@ const le = /* @__PURE__ */ y({
|
|
|
5319
5316
|
container: "footer",
|
|
5320
5317
|
needRenderWrapper: !1
|
|
5321
5318
|
}, null, 8, ["survey"]),
|
|
5322
|
-
C.value ? (i(), a("div",
|
|
5319
|
+
C.value ? (i(), a("div", No, [
|
|
5323
5320
|
v("div", {
|
|
5324
5321
|
innerHTML: q(),
|
|
5325
5322
|
class: r(t.value.completedCss)
|
|
5326
|
-
}, null, 10,
|
|
5323
|
+
}, null, 10, Eo),
|
|
5327
5324
|
c(m, {
|
|
5328
5325
|
is: "sv-components-container",
|
|
5329
5326
|
survey: t.value,
|
|
@@ -5335,12 +5332,12 @@ const le = /* @__PURE__ */ y({
|
|
|
5335
5332
|
key: 3,
|
|
5336
5333
|
class: r(t.value.completedBeforeCss),
|
|
5337
5334
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5338
|
-
}, null, 10,
|
|
5335
|
+
}, null, 10, Wo)) : p("", !0),
|
|
5339
5336
|
t.value.state === "loading" ? (i(), a("div", {
|
|
5340
5337
|
key: 4,
|
|
5341
5338
|
class: r(t.value.loadingBodyCss),
|
|
5342
5339
|
innerHTML: t.value.processedLoadingHtml
|
|
5343
|
-
}, null, 10,
|
|
5340
|
+
}, null, 10, Fo)) : p("", !0),
|
|
5344
5341
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5345
5342
|
key: 5,
|
|
5346
5343
|
class: r(L.value.bodyEmpty)
|
|
@@ -5358,9 +5355,9 @@ const le = /* @__PURE__ */ y({
|
|
|
5358
5355
|
]),
|
|
5359
5356
|
_: 1
|
|
5360
5357
|
}, 8, ["disabled"])
|
|
5361
|
-
], 14,
|
|
5358
|
+
], 14, Zo));
|
|
5362
5359
|
}
|
|
5363
|
-
}),
|
|
5360
|
+
}), Oo = /* @__PURE__ */ y({
|
|
5364
5361
|
__name: "Notifier",
|
|
5365
5362
|
props: {
|
|
5366
5363
|
model: {}
|
|
@@ -5381,7 +5378,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5381
5378
|
}, null, 8, ["model"])
|
|
5382
5379
|
], 6)) : p("", !0);
|
|
5383
5380
|
}
|
|
5384
|
-
}),
|
|
5381
|
+
}), zo = { key: 0 }, Uo = /* @__PURE__ */ y({
|
|
5385
5382
|
__name: "QuestionOther",
|
|
5386
5383
|
props: {
|
|
5387
5384
|
question: {},
|
|
@@ -5391,14 +5388,14 @@ const le = /* @__PURE__ */ y({
|
|
|
5391
5388
|
return (e, n) => (i(), a("div", {
|
|
5392
5389
|
class: r(e.question.getCommentAreaCss(!0))
|
|
5393
5390
|
}, [
|
|
5394
|
-
e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
5391
|
+
e.question.isReadOnlyRenderDiv() ? (i(), a("div", zo, I(e.question.getCommentValue(e.item)), 1)) : (i(), g(m, {
|
|
5395
5392
|
key: 1,
|
|
5396
5393
|
is: "sv-text-area",
|
|
5397
5394
|
model: e.question.getCommentTextAreaModel(e.item)
|
|
5398
5395
|
}, null, 8, ["model"]))
|
|
5399
5396
|
], 2));
|
|
5400
5397
|
}
|
|
5401
|
-
}),
|
|
5398
|
+
}), Qo = ["disabled", "value", "title"], Ko = /* @__PURE__ */ y({
|
|
5402
5399
|
__name: "SurveyNavigationButton",
|
|
5403
5400
|
props: {
|
|
5404
5401
|
item: {}
|
|
@@ -5415,9 +5412,9 @@ const le = /* @__PURE__ */ y({
|
|
|
5415
5412
|
onMousedown: n,
|
|
5416
5413
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
5417
5414
|
(...t) => s.item.action && s.item.action(...t))
|
|
5418
|
-
}, null, 42,
|
|
5415
|
+
}, null, 42, Qo)) : p("", !0);
|
|
5419
5416
|
}
|
|
5420
|
-
}),
|
|
5417
|
+
}), fe = /* @__PURE__ */ y({
|
|
5421
5418
|
__name: "PopupSurvey",
|
|
5422
5419
|
props: {
|
|
5423
5420
|
survey: {},
|
|
@@ -5444,7 +5441,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5444
5441
|
const C = W(
|
|
5445
5442
|
() => e.survey,
|
|
5446
5443
|
(L) => {
|
|
5447
|
-
const h = new
|
|
5444
|
+
const h = new Ge(null, L);
|
|
5448
5445
|
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;
|
|
5449
5446
|
},
|
|
5450
5447
|
{
|
|
@@ -5531,7 +5528,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5531
5528
|
], 2)
|
|
5532
5529
|
], 38)) : p("", !0);
|
|
5533
5530
|
}
|
|
5534
|
-
}),
|
|
5531
|
+
}), jo = ["innerHTML"], Go = /* @__PURE__ */ y({
|
|
5535
5532
|
__name: "CustomWidget",
|
|
5536
5533
|
props: {
|
|
5537
5534
|
question: {},
|
|
@@ -5554,7 +5551,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5554
5551
|
o.value ? (i(), a("div", {
|
|
5555
5552
|
key: 0,
|
|
5556
5553
|
innerHTML: t.value
|
|
5557
|
-
}, null, 8,
|
|
5554
|
+
}, null, 8, jo)) : p("", !0),
|
|
5558
5555
|
s.value ? (i(), g(m, {
|
|
5559
5556
|
key: 1,
|
|
5560
5557
|
is: l.value,
|
|
@@ -5563,12 +5560,12 @@ const le = /* @__PURE__ */ y({
|
|
|
5563
5560
|
}, null, 8, ["is", "question", "css"])) : p("", !0)
|
|
5564
5561
|
], 512));
|
|
5565
5562
|
}
|
|
5566
|
-
}),
|
|
5563
|
+
}), Xo = /* @__PURE__ */ y({
|
|
5567
5564
|
__name: "PopupModal",
|
|
5568
5565
|
setup(u) {
|
|
5569
5566
|
const e = E();
|
|
5570
5567
|
function n(s, o) {
|
|
5571
|
-
const t =
|
|
5568
|
+
const t = Xe(
|
|
5572
5569
|
s,
|
|
5573
5570
|
o
|
|
5574
5571
|
), l = (d, C) => {
|
|
@@ -5578,7 +5575,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5578
5575
|
}
|
|
5579
5576
|
return ne.showDialog || (ne.showDialog = n, P(() => {
|
|
5580
5577
|
ne.showDialog = void 0;
|
|
5581
|
-
})), (s, o) => e.value ? (i(), g(
|
|
5578
|
+
})), (s, o) => e.value ? (i(), g(Ae, {
|
|
5582
5579
|
key: 0,
|
|
5583
5580
|
to: e.value.container
|
|
5584
5581
|
}, [
|
|
@@ -5588,7 +5585,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5588
5585
|
}, null, 8, ["model"])
|
|
5589
5586
|
], 8, ["to"])) : p("", !0);
|
|
5590
5587
|
}
|
|
5591
|
-
}),
|
|
5588
|
+
}), Jo = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Yo = /* @__PURE__ */ y({
|
|
5592
5589
|
__name: "TextArea",
|
|
5593
5590
|
props: {
|
|
5594
5591
|
model: {},
|
|
@@ -5639,9 +5636,9 @@ const le = /* @__PURE__ */ y({
|
|
|
5639
5636
|
"aria-invalid": t.model.ariaInvalid,
|
|
5640
5637
|
"aria-errormessage": t.model.ariaErrormessage,
|
|
5641
5638
|
style: k({ resize: t.model.question.resizeStyle })
|
|
5642
|
-
}, null, 46,
|
|
5639
|
+
}, null, 46, Jo));
|
|
5643
5640
|
}
|
|
5644
|
-
}),
|
|
5641
|
+
}), _o = /* @__PURE__ */ y({
|
|
5645
5642
|
__name: "CharacterCounter",
|
|
5646
5643
|
props: {
|
|
5647
5644
|
counter: {},
|
|
@@ -5653,7 +5650,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5653
5650
|
class: r(n.remainingCharacterCounter)
|
|
5654
5651
|
}, I(n.counter.remainingCharacterCounter), 3));
|
|
5655
5652
|
}
|
|
5656
|
-
}),
|
|
5653
|
+
}), xo = /* @__PURE__ */ y({
|
|
5657
5654
|
inheritAttrs: !1,
|
|
5658
5655
|
__name: "Composite",
|
|
5659
5656
|
props: {
|
|
@@ -5672,7 +5669,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5672
5669
|
css: o.css
|
|
5673
5670
|
}, null, 8, ["element", "css"]));
|
|
5674
5671
|
}
|
|
5675
|
-
}),
|
|
5672
|
+
}), ei = /* @__PURE__ */ y({
|
|
5676
5673
|
inheritAttrs: !1,
|
|
5677
5674
|
__name: "Custom",
|
|
5678
5675
|
props: {
|
|
@@ -5690,9 +5687,9 @@ const le = /* @__PURE__ */ y({
|
|
|
5690
5687
|
css: t.css
|
|
5691
5688
|
}, null, 8, ["is", "question", "css"]));
|
|
5692
5689
|
}
|
|
5693
|
-
}),
|
|
5694
|
-
|
|
5695
|
-
], Ce = 440,
|
|
5690
|
+
}), si = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ni = [
|
|
5691
|
+
si
|
|
5692
|
+
], Ce = 440, ti = /* @__PURE__ */ y({
|
|
5696
5693
|
__name: "TimerPanel",
|
|
5697
5694
|
props: {
|
|
5698
5695
|
model: {},
|
|
@@ -5708,7 +5705,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5708
5705
|
key: 0,
|
|
5709
5706
|
class: r(o.model.getProgressCss()),
|
|
5710
5707
|
style: k({ strokeDasharray: Ce, strokeDashoffset: n.value })
|
|
5711
|
-
},
|
|
5708
|
+
}, ni, 6)) : p("", !0),
|
|
5712
5709
|
v("div", {
|
|
5713
5710
|
class: r(o.model.textContainerCss)
|
|
5714
5711
|
}, [
|
|
@@ -5727,10 +5724,10 @@ const le = /* @__PURE__ */ y({
|
|
|
5727
5724
|
[A, o.model.isRunning && !o.model.showTimerAsClock]
|
|
5728
5725
|
]);
|
|
5729
5726
|
}
|
|
5730
|
-
}),
|
|
5727
|
+
}), oi = { class: "sd-loading-indicator" }, ii = /* @__PURE__ */ y({
|
|
5731
5728
|
__name: "LoadingIndicator",
|
|
5732
5729
|
setup(u) {
|
|
5733
|
-
return (e, n) => (i(), a("div",
|
|
5730
|
+
return (e, n) => (i(), a("div", oi, [
|
|
5734
5731
|
c(m, {
|
|
5735
5732
|
is: "sv-svg-icon",
|
|
5736
5733
|
iconName: "icon-loading",
|
|
@@ -5738,7 +5735,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5738
5735
|
})
|
|
5739
5736
|
]));
|
|
5740
5737
|
}
|
|
5741
|
-
}),
|
|
5738
|
+
}), ri = { key: 2 }, li = /* @__PURE__ */ y({
|
|
5742
5739
|
__name: "Header",
|
|
5743
5740
|
props: {
|
|
5744
5741
|
model: {},
|
|
@@ -5774,7 +5771,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5774
5771
|
key: t
|
|
5775
5772
|
}, null, 8, ["model"]))), 128))
|
|
5776
5773
|
], 6)),
|
|
5777
|
-
n.survey.isMobile ? (i(), a("div",
|
|
5774
|
+
n.survey.isMobile ? (i(), a("div", ri, [
|
|
5778
5775
|
c(m, {
|
|
5779
5776
|
is: "sv-header-mobile",
|
|
5780
5777
|
model: n.model
|
|
@@ -5782,10 +5779,10 @@ const le = /* @__PURE__ */ y({
|
|
|
5782
5779
|
])) : p("", !0)
|
|
5783
5780
|
], 6)) : p("", !0);
|
|
5784
5781
|
}
|
|
5785
|
-
}),
|
|
5782
|
+
}), ai = {
|
|
5786
5783
|
key: 0,
|
|
5787
5784
|
class: "sv-header__logo"
|
|
5788
|
-
},
|
|
5785
|
+
}, ui = ["src", "width", "height", "alt"], di = /* @__PURE__ */ y({
|
|
5789
5786
|
__name: "HeaderCell",
|
|
5790
5787
|
props: {
|
|
5791
5788
|
model: {}
|
|
@@ -5799,7 +5796,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5799
5796
|
class: "sv-header__cell-content",
|
|
5800
5797
|
style: k(e.model.contentStyle)
|
|
5801
5798
|
}, [
|
|
5802
|
-
e.model.showLogo ? (i(), a("div",
|
|
5799
|
+
e.model.showLogo ? (i(), a("div", ai, [
|
|
5803
5800
|
v("div", {
|
|
5804
5801
|
class: r(e.model.survey.logoClassNames)
|
|
5805
5802
|
}, [
|
|
@@ -5810,7 +5807,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5810
5807
|
height: e.model.survey.renderedLogoHeight,
|
|
5811
5808
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5812
5809
|
style: k({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5813
|
-
}, null, 14,
|
|
5810
|
+
}, null, 14, ui)
|
|
5814
5811
|
], 2)
|
|
5815
5812
|
])) : p("", !0),
|
|
5816
5813
|
e.model.showTitle ? (i(), a("div", {
|
|
@@ -5842,17 +5839,17 @@ const le = /* @__PURE__ */ y({
|
|
|
5842
5839
|
], 4)
|
|
5843
5840
|
], 6));
|
|
5844
5841
|
}
|
|
5845
|
-
}),
|
|
5842
|
+
}), mi = { class: "sv-header--mobile" }, pi = {
|
|
5846
5843
|
key: 0,
|
|
5847
5844
|
class: "sv-header__logo"
|
|
5848
|
-
},
|
|
5845
|
+
}, vi = ["src", "width", "height", "alt"], Ci = /* @__PURE__ */ y({
|
|
5849
5846
|
__name: "HeaderMobile",
|
|
5850
5847
|
props: {
|
|
5851
5848
|
model: {}
|
|
5852
5849
|
},
|
|
5853
5850
|
setup(u) {
|
|
5854
|
-
return (e, n) => (i(), a("div",
|
|
5855
|
-
e.model.survey.hasLogo ? (i(), a("div",
|
|
5851
|
+
return (e, n) => (i(), a("div", mi, [
|
|
5852
|
+
e.model.survey.hasLogo ? (i(), a("div", pi, [
|
|
5856
5853
|
v("div", {
|
|
5857
5854
|
class: r(e.model.survey.logoClassNames)
|
|
5858
5855
|
}, [
|
|
@@ -5863,7 +5860,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5863
5860
|
height: e.model.survey.renderedLogoHeight,
|
|
5864
5861
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5865
5862
|
style: k({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5866
|
-
}, null, 14,
|
|
5863
|
+
}, null, 14, vi)
|
|
5867
5864
|
], 2)
|
|
5868
5865
|
])) : p("", !0),
|
|
5869
5866
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
@@ -5894,7 +5891,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5894
5891
|
], 4)) : p("", !0)
|
|
5895
5892
|
]));
|
|
5896
5893
|
}
|
|
5897
|
-
}),
|
|
5894
|
+
}), ci = /* @__PURE__ */ y({
|
|
5898
5895
|
__name: "Element",
|
|
5899
5896
|
props: {
|
|
5900
5897
|
element: {},
|
|
@@ -5950,20 +5947,20 @@ const le = /* @__PURE__ */ y({
|
|
|
5950
5947
|
}, null, 8, ["is", "element", "css"])) : p("", !0)
|
|
5951
5948
|
], 6));
|
|
5952
5949
|
}
|
|
5953
|
-
}),
|
|
5950
|
+
}), gi = /* @__PURE__ */ y({
|
|
5954
5951
|
__name: "TemplateRenderer",
|
|
5955
5952
|
props: {
|
|
5956
5953
|
componentName: {},
|
|
5957
5954
|
componentData: {}
|
|
5958
5955
|
},
|
|
5959
5956
|
setup(u) {
|
|
5960
|
-
const e =
|
|
5957
|
+
const e = Pe(), n = M(() => !!e.default);
|
|
5961
5958
|
return (s, o) => n.value && !s.componentName ? x(s.$slots, "default", { key: 0 }) : (i(), g(m, $({
|
|
5962
5959
|
key: 1,
|
|
5963
5960
|
is: s.componentName
|
|
5964
5961
|
}, s.componentData), null, 16, ["is"]));
|
|
5965
5962
|
}
|
|
5966
|
-
}),
|
|
5963
|
+
}), yi = /* @__PURE__ */ y({
|
|
5967
5964
|
__name: "FileCleanButton",
|
|
5968
5965
|
props: {
|
|
5969
5966
|
question: {},
|
|
@@ -5986,7 +5983,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5986
5983
|
}, null, 8, ["iconName", "title"])) : p("", !0)
|
|
5987
5984
|
], 2));
|
|
5988
5985
|
}
|
|
5989
|
-
}),
|
|
5986
|
+
}), hi = ["id"], qi = /* @__PURE__ */ y({
|
|
5990
5987
|
__name: "FileVideo",
|
|
5991
5988
|
props: {
|
|
5992
5989
|
question: {}
|
|
@@ -6008,14 +6005,14 @@ const le = /* @__PURE__ */ y({
|
|
|
6008
6005
|
playsinline: "",
|
|
6009
6006
|
id: e.question.videoId,
|
|
6010
6007
|
class: r(e.question.cssClasses.video)
|
|
6011
|
-
}, null, 10,
|
|
6008
|
+
}, null, 10, hi),
|
|
6012
6009
|
c(m, {
|
|
6013
6010
|
is: "sv-action",
|
|
6014
6011
|
item: e.question.takePictureAction
|
|
6015
6012
|
}, null, 8, ["item"])
|
|
6016
6013
|
], 2));
|
|
6017
6014
|
}
|
|
6018
|
-
}),
|
|
6015
|
+
}), wi = ["for", "aria-label"], bi = /* @__PURE__ */ y({
|
|
6019
6016
|
__name: "FileChooseButton",
|
|
6020
6017
|
props: {
|
|
6021
6018
|
data: {},
|
|
@@ -6043,11 +6040,11 @@ const le = /* @__PURE__ */ y({
|
|
|
6043
6040
|
size: "auto"
|
|
6044
6041
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6045
6042
|
v("span", null, I(n.value.chooseButtonText), 1)
|
|
6046
|
-
], 10,
|
|
6043
|
+
], 10, wi)), [
|
|
6047
6044
|
[w(Q)]
|
|
6048
6045
|
]);
|
|
6049
6046
|
}
|
|
6050
|
-
}),
|
|
6047
|
+
}), Li = /* @__PURE__ */ y({
|
|
6051
6048
|
__name: "FilePreview",
|
|
6052
6049
|
props: {
|
|
6053
6050
|
question: {}
|
|
@@ -6065,7 +6062,7 @@ const le = /* @__PURE__ */ y({
|
|
|
6065
6062
|
}, null, 8, ["page", "question"]))), 128))
|
|
6066
6063
|
], 2)) : p("", !0);
|
|
6067
6064
|
}
|
|
6068
|
-
}),
|
|
6065
|
+
}), ki = /* @__PURE__ */ y({
|
|
6069
6066
|
__name: "ButtonGroup",
|
|
6070
6067
|
props: {
|
|
6071
6068
|
question: {}
|
|
@@ -6087,7 +6084,7 @@ const le = /* @__PURE__ */ y({
|
|
|
6087
6084
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6088
6085
|
], 2));
|
|
6089
6086
|
}
|
|
6090
|
-
}),
|
|
6087
|
+
}), fi = ["title"], Hi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Mi = ["title"], Ii = /* @__PURE__ */ y({
|
|
6091
6088
|
__name: "ButtonGroupItem",
|
|
6092
6089
|
props: {
|
|
6093
6090
|
item: {},
|
|
@@ -6096,7 +6093,7 @@ const le = /* @__PURE__ */ y({
|
|
|
6096
6093
|
},
|
|
6097
6094
|
setup(u) {
|
|
6098
6095
|
const e = u, n = M(
|
|
6099
|
-
() => new
|
|
6096
|
+
() => new Je(e.question, e.item, e.index)
|
|
6100
6097
|
), s = M({
|
|
6101
6098
|
get: () => e.question.renderedValue,
|
|
6102
6099
|
set: (o) => {
|
|
@@ -6120,8 +6117,8 @@ const le = /* @__PURE__ */ y({
|
|
|
6120
6117
|
class: r(n.value.css.control),
|
|
6121
6118
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => s.value = l),
|
|
6122
6119
|
value: n.value.value
|
|
6123
|
-
}, null, 10,
|
|
6124
|
-
[
|
|
6120
|
+
}, null, 10, Hi), [
|
|
6121
|
+
[ye, s.value]
|
|
6125
6122
|
]),
|
|
6126
6123
|
v("div", {
|
|
6127
6124
|
class: r(n.value.css.decorator)
|
|
@@ -6142,9 +6139,9 @@ const le = /* @__PURE__ */ y({
|
|
|
6142
6139
|
is: "survey-string",
|
|
6143
6140
|
locString: n.value.caption
|
|
6144
6141
|
}, null, 8, ["locString"])
|
|
6145
|
-
], 10,
|
|
6142
|
+
], 10, Mi)) : p("", !0)
|
|
6146
6143
|
], 2)
|
|
6147
|
-
], 10,
|
|
6144
|
+
], 10, fi));
|
|
6148
6145
|
}
|
|
6149
6146
|
});
|
|
6150
6147
|
G.Instance.registerRenderer(
|
|
@@ -6152,7 +6149,7 @@ G.Instance.registerRenderer(
|
|
|
6152
6149
|
"dropdown",
|
|
6153
6150
|
"sv-buttongroup-dropdown"
|
|
6154
6151
|
);
|
|
6155
|
-
const
|
|
6152
|
+
const Vi = /* @__PURE__ */ y({
|
|
6156
6153
|
inheritAttrs: !1,
|
|
6157
6154
|
__name: "ButtonGroupDropdown",
|
|
6158
6155
|
props: {
|
|
@@ -6171,7 +6168,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6171
6168
|
}, null, 8, ["question"])
|
|
6172
6169
|
], 2));
|
|
6173
6170
|
}
|
|
6174
|
-
}),
|
|
6171
|
+
}), Si = ["src", "width", "height", "alt"], Ri = /* @__PURE__ */ y({
|
|
6175
6172
|
inheritAttrs: !1,
|
|
6176
6173
|
__name: "Logo",
|
|
6177
6174
|
props: {
|
|
@@ -6193,10 +6190,10 @@ const Si = /* @__PURE__ */ y({
|
|
|
6193
6190
|
width: n.value.renderedStyleLogoWidth,
|
|
6194
6191
|
height: n.value.renderedStyleLogoHeight
|
|
6195
6192
|
})
|
|
6196
|
-
}, null, 14,
|
|
6193
|
+
}, null, 14, Si)
|
|
6197
6194
|
], 2));
|
|
6198
6195
|
}
|
|
6199
|
-
}),
|
|
6196
|
+
}), Ti = /* @__PURE__ */ y({
|
|
6200
6197
|
__name: "SvgBundle",
|
|
6201
6198
|
setup(u) {
|
|
6202
6199
|
const e = f(), n = () => {
|
|
@@ -6214,7 +6211,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6214
6211
|
[A, !1]
|
|
6215
6212
|
]);
|
|
6216
6213
|
}
|
|
6217
|
-
}),
|
|
6214
|
+
}), Bi = ["id"], Zi = /* @__PURE__ */ y({
|
|
6218
6215
|
__name: "FilePage",
|
|
6219
6216
|
props: {
|
|
6220
6217
|
page: {},
|
|
@@ -6232,9 +6229,9 @@ const Si = /* @__PURE__ */ y({
|
|
|
6232
6229
|
item: o,
|
|
6233
6230
|
question: n.question
|
|
6234
6231
|
}, null, 8, ["item", "question"]))), 128))
|
|
6235
|
-
], 10,
|
|
6232
|
+
], 10, Bi));
|
|
6236
6233
|
}
|
|
6237
|
-
}),
|
|
6234
|
+
}), $i = ["href", "title", "download"], Di = ["src"], Ai = ["href", "title", "download"], Pi = /* @__PURE__ */ y({
|
|
6238
6235
|
__name: "FileItem",
|
|
6239
6236
|
props: {
|
|
6240
6237
|
item: {},
|
|
@@ -6255,7 +6252,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6255
6252
|
title: e.item.name,
|
|
6256
6253
|
download: e.item.name,
|
|
6257
6254
|
style: k({ width: e.question.imageWidth })
|
|
6258
|
-
}, I(e.item.name), 13,
|
|
6255
|
+
}, I(e.item.name), 13, $i)
|
|
6259
6256
|
], 2)) : p("", !0),
|
|
6260
6257
|
v("div", {
|
|
6261
6258
|
class: r(e.question.getImageWrapperCss(e.item))
|
|
@@ -6268,7 +6265,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6268
6265
|
width: e.question.imageWidth
|
|
6269
6266
|
}),
|
|
6270
6267
|
alt: "File preview"
|
|
6271
|
-
}, null, 12,
|
|
6268
|
+
}, null, 12, Di)) : p("", !0),
|
|
6272
6269
|
e.question.defaultImage(e.item) ? (i(), g(m, {
|
|
6273
6270
|
key: 1,
|
|
6274
6271
|
is: "sv-svg-icon",
|
|
@@ -6304,41 +6301,41 @@ const Si = /* @__PURE__ */ y({
|
|
|
6304
6301
|
title: e.item.name,
|
|
6305
6302
|
download: e.item.name,
|
|
6306
6303
|
style: k({ width: e.question.imageWidth })
|
|
6307
|
-
}, I(e.item.name), 13,
|
|
6304
|
+
}, I(e.item.name), 13, Ai)
|
|
6308
6305
|
], 2)) : p("", !0)
|
|
6309
6306
|
], 2)), [
|
|
6310
6307
|
[A, e.item]
|
|
6311
6308
|
]);
|
|
6312
6309
|
}
|
|
6313
6310
|
});
|
|
6314
|
-
|
|
6315
|
-
function
|
|
6311
|
+
Ye.platform = "vue3";
|
|
6312
|
+
function Ni(u, e, n) {
|
|
6316
6313
|
u(e, n);
|
|
6317
6314
|
}
|
|
6318
|
-
function
|
|
6319
|
-
const e =
|
|
6315
|
+
function He(u) {
|
|
6316
|
+
const e = Ni.bind(
|
|
6320
6317
|
void 0,
|
|
6321
6318
|
u
|
|
6322
6319
|
);
|
|
6323
|
-
e("sv-svg-bundle",
|
|
6320
|
+
e("sv-svg-bundle", Ti), e("popup-survey", fe), e("survey-header", ns), e("sv-logo-image", Ri), e("survey-page", ss), e("survey-row", ts), e("survey-question", as), e("survey-panel", ps), e("survey-element-header", Cs), e("survey-string", cs), e("sv-string-viewer", ys), e("sv-string-editor", qs), e("sv-skeleton", bs), e("sv-scroll", Hs), e("survey-text", Vs), e("survey-text-input", Ts), e("survey-checkbox", As), e("survey-checkbox-item", Es), e("survey-radiogroup", Ws), e("survey-radiogroup-item", zs), e("survey-signaturepad", js), e("survey-html", Xs), e("survey-image", xs), e("survey-expression", s1), e("survey-file", i1), e("sv-file-choose-btn", bi), e("sv-file-clean-btn", yi), e("sv-file-preview", Li), e("sv-file-page", Zi), e("sv-file-item", Pi), e("sv-file-video", qi), e("survey-imagepicker", l1), e("survey-imagepicker-item", p1), e("survey-comment", v1), e("survey-dropdown", C1), e("sv-dropdown-select", h1), e("sv-dropdown-option-item", w1), e("sv-dropdown", H1), e("survey-tagbox", M1), e("sv-tagbox", S1), e("sv-tagbox-item", $1), e("sv-tagbox-filter", B1), e("survey-ranking", D1), e("survey-ranking-item", F1), e("sv-ranking-item", O1), e("survey-rating", Q1), e("sv-rating-item", G1), e("sv-rating-item-smiley", Y1), e("sv-rating-item-star", en), e("sv-rating-dropdown", rn), e("sv-rating-dropdown-item", on), e("survey-boolean", an), e("sv-boolean-radio", un), e("sv-boolean-radio-item", pn), e("sv-boolean-checkbox", hn), e("survey-multipletext", qn), e("survey-multipletext-item", Ln), e("sv-breadcrumbs", kn), e("sv-single-input-summary", Vn), e("survey-slider", Tn), e("sv-slider-label-item", Bn), e("survey-matrix", En), e("survey-matrix-row", Fn), e("survey-matrix-cell", Un), e("survey-matrixdropdown", Qn), e("survey-matrixtable", Gn), e("survey-matrixheaderrequired", Jn), e("survey-matrixdropdown-cell", _n), e("survey-matrixdynamic", xn), e("survey-placeholder-matrixdynamic", et), e("sv-matrix-remove-button", nt), e("sv-matrix-drag-drop-icon", ot), e("sv-matrix-detail-button", rt), e("survey-paneldynamic", at), e("survey-paneldynamicprogress", dt), e("survey-paneldynamicprogress-v2", pt), e("survey-placeholder-paneldynamic", vt), e("sv-paneldynamic-add-btn", ct), e("sv-paneldynamic-next-btn", yt), e("sv-paneldynamic-prev-btn", qt), e("sv-paneldynamic-remove-btn", bt), e("sv-paneldynamic-progress-text", Lt), e("sv-components-container", Lo), e("sv-progress-buttons", Ro), e("sv-navigation-toc", To), e("sv-progress-pages", Y), e("sv-progress-questions", Y), e("sv-progress-correctquestions", Y), e("sv-progress-requiredquestions", Y), e("survey-errors", ft), e("survey-question-comment", Mt), e("survey-element-title", It), e("survey-element-title-content", Bt), e("sv-title-actions", Dt), e("sv-brand-info", Ot), e("sv-question-error", Kt), e("sv-svg-icon", Qt), e("sv-action-bar", jt), e("sv-action", Jt), e("sv-action-bar-item", xt), e("sv-action-bar-item-dropdown", no), e("sv-action-bar-separator", to), e("sv-list", lo), e("sv-list-item-content", po), e("sv-list-item-group", vo), e("sv-list-item", mo), e("sv-popup", Co), e("sv-popup-container", wo), e("popup-pointer", bo), e("sv-notifier", Oo), e("survey-other-choice", Uo), e("sv-nav-btn", Ko), e("survey-customwidget", Go), e("survey-popup-modal", Xo), e("survey-composite", xo), e("survey-custom", ei), e("sv-timerpanel", ti), e("sv-loading-indicator", ii), e("sv-header", li), e("sv-header-cell", di), e("sv-header-mobile", Ci), e("sv-template-renderer", gi), e("sv-character-counter", _o), e("sv-text-area", Yo), e("survey-element", ci), e("survey-buttongroup", ki), e("sv-button-group-item", Ii), e("sv-buttongroup-dropdown", Vi), e("survey", le);
|
|
6324
6321
|
}
|
|
6325
|
-
|
|
6322
|
+
He(
|
|
6326
6323
|
(u, e) => F.Instance.registerComponent(u, e)
|
|
6327
6324
|
);
|
|
6328
|
-
const
|
|
6325
|
+
const Oi = {
|
|
6329
6326
|
install(u) {
|
|
6330
|
-
u.component("SurveyComponent", le), u.component("PopupSurveyComponent",
|
|
6327
|
+
u.component("SurveyComponent", le), u.component("PopupSurveyComponent", fe), u.directive("key2click", Q), He((e, n) => {
|
|
6331
6328
|
u.component(e, n), F.Instance.registerComponent(e, e);
|
|
6332
6329
|
});
|
|
6333
6330
|
}
|
|
6334
6331
|
};
|
|
6335
6332
|
export {
|
|
6336
6333
|
F as ComponentFactory,
|
|
6337
|
-
|
|
6334
|
+
fe as PopupSurveyComponent,
|
|
6338
6335
|
le as SurveyComponent,
|
|
6339
6336
|
m as SvComponent,
|
|
6340
6337
|
Q as key2ClickDirective,
|
|
6341
|
-
|
|
6338
|
+
Oi as surveyPlugin,
|
|
6342
6339
|
S as useBase,
|
|
6343
6340
|
se as useComputedArray,
|
|
6344
6341
|
U as useLocString,
|