survey-vue3-ui 2.2.1 → 2.2.3
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 +333 -323
- package/survey-vue3-ui.umd.js +4 -4
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Me = Object.defineProperty;
|
|
2
2
|
var Ie = (u, e, n) => e in u ? Me(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
3
|
var J = (u, e, n) => (Ie(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as y, computed as H, openBlock as i, createBlock as g, resolveDynamicComponent as ge, normalizeProps as de, guardReactiveProps as me, createSlots as Ve, renderList as V, withCtx as
|
|
4
|
+
import { defineComponent as y, computed as H, openBlock as i, createBlock as g, resolveDynamicComponent as ge, normalizeProps as de, guardReactiveProps as me, createSlots as Ve, renderList as V, withCtx as D, renderSlot as x, shallowReactive as Se, watch as W, onBeforeUnmount as O, onMounted as Z, ref as f, shallowRef as E, watchEffect as Re, triggerRef as oe, unref as w, isRef as Te, nextTick as ye, createElementBlock as a, normalizeClass as r, createVNode as c, createCommentVNode as p, Fragment as M, mergeProps as $, normalizeStyle as k, createElementVNode as v, onUnmounted as P, withDirectives as B, vShow as A, toDisplayString as I, vModelRadio as se, vModelCheckbox as ie, 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
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 pe, ProgressButtonsResponsivityManager as je, addIconsToThemeSet as we, SvgRegistry as _, PopupSurveyModel as Ge, settings as te, createPopupModalViewModel as Xe, ButtonGroupItemModel as Je, SurveyModel as Ye } from "survey-core";
|
|
6
6
|
const ee = class ee {
|
|
7
7
|
constructor() {
|
|
@@ -38,7 +38,7 @@ const m = /* @__PURE__ */ y({
|
|
|
38
38
|
return (s, o) => (i(), g(ge(n.value), de(me(s.$attrs)), Ve({ _: 2 }, [
|
|
39
39
|
V(s.$slots, (t, l) => ({
|
|
40
40
|
name: l,
|
|
41
|
-
fn:
|
|
41
|
+
fn: D((d) => [
|
|
42
42
|
x(s.$slots, l, de(me(d)))
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
@@ -112,8 +112,8 @@ function T(u, e, n, s) {
|
|
|
112
112
|
u.question.beforeDestroyQuestionElement(e.value);
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
const e =
|
|
115
|
+
function U(u) {
|
|
116
|
+
const e = f(), n = (t) => {
|
|
117
117
|
e.value = t.renderedHtml;
|
|
118
118
|
}, s = (t) => {
|
|
119
119
|
e.value = t.renderedHtml, t.onStringChanged.add(n);
|
|
@@ -148,7 +148,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
148
148
|
css: {}
|
|
149
149
|
},
|
|
150
150
|
setup(u) {
|
|
151
|
-
const e = u, n =
|
|
151
|
+
const e = u, n = f(null), s = () => {
|
|
152
152
|
e.survey && n.value && e.survey.afterRenderPage(n.value);
|
|
153
153
|
}, o = H(() => e.page._showDescription);
|
|
154
154
|
return S(
|
|
@@ -187,7 +187,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
187
187
|
}, {
|
|
188
188
|
componentData: t.page.getSurvey().getRowWrapperComponentData(d)
|
|
189
189
|
}), {
|
|
190
|
-
default:
|
|
190
|
+
default: D(() => [
|
|
191
191
|
c(m, {
|
|
192
192
|
is: "survey-row",
|
|
193
193
|
row: d,
|
|
@@ -205,7 +205,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
205
205
|
survey: {}
|
|
206
206
|
},
|
|
207
207
|
setup(u) {
|
|
208
|
-
const e = u, n =
|
|
208
|
+
const e = u, n = f();
|
|
209
209
|
return Z(() => {
|
|
210
210
|
var s = n.value;
|
|
211
211
|
s && e.survey && e.survey.afterRenderHeader(s);
|
|
@@ -223,7 +223,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
223
223
|
s.survey.renderedHasTitle ? (i(), a("div", {
|
|
224
224
|
key: 1,
|
|
225
225
|
class: r(s.survey.css.headerText),
|
|
226
|
-
style:
|
|
226
|
+
style: k({ maxWidth: s.survey.titleMaxWidth })
|
|
227
227
|
}, [
|
|
228
228
|
c(m, {
|
|
229
229
|
is: "survey-element-title",
|
|
@@ -258,7 +258,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
258
258
|
survey: {}
|
|
259
259
|
},
|
|
260
260
|
setup(u) {
|
|
261
|
-
const e = u, n =
|
|
261
|
+
const e = u, n = f();
|
|
262
262
|
let s;
|
|
263
263
|
return S(
|
|
264
264
|
() => e.row,
|
|
@@ -300,7 +300,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
300
300
|
css: {}
|
|
301
301
|
},
|
|
302
302
|
setup(u) {
|
|
303
|
-
const e = u, n =
|
|
303
|
+
const e = u, n = f(null), s = (q) => q.cssContent, o = () => e.element.getRootStyle(), t = H(() => e.element.singleInputQuestion);
|
|
304
304
|
S(() => e.element);
|
|
305
305
|
const l = () => {
|
|
306
306
|
n.value && e.element.afterRender(n.value);
|
|
@@ -309,20 +309,20 @@ const ss = /* @__PURE__ */ y({
|
|
|
309
309
|
() => {
|
|
310
310
|
l();
|
|
311
311
|
}
|
|
312
|
-
), C = H(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()),
|
|
312
|
+
), C = H(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()), L = H(() => e.element.survey.getQuestionContentWrapperComponentName(e.element)), h = H(() => ({
|
|
313
313
|
componentData: {
|
|
314
314
|
question: e.element,
|
|
315
315
|
data: e.element.survey.getElementWrapperComponentData(e.element)
|
|
316
316
|
}
|
|
317
317
|
}));
|
|
318
|
-
return
|
|
318
|
+
return P(() => {
|
|
319
319
|
d();
|
|
320
|
-
}), (q,
|
|
320
|
+
}), (q, b) => (i(), a("div", {
|
|
321
321
|
class: r(q.element.getRootCss()),
|
|
322
|
-
style:
|
|
322
|
+
style: k(o()),
|
|
323
323
|
ref_key: "root",
|
|
324
324
|
ref: n,
|
|
325
|
-
onFocusin:
|
|
325
|
+
onFocusin: b[0] || (b[0] = (R) => q.element.focusIn()),
|
|
326
326
|
id: q.element.id,
|
|
327
327
|
role: q.element.ariaRole,
|
|
328
328
|
"aria-required": q.element.ariaRequired,
|
|
@@ -364,13 +364,13 @@ const ss = /* @__PURE__ */ y({
|
|
|
364
364
|
key: t.value.id
|
|
365
365
|
}, null, 8, ["css", "element", "survey"])) : (i(), g(m, $({
|
|
366
366
|
key: 5,
|
|
367
|
-
is:
|
|
367
|
+
is: L.value
|
|
368
368
|
}, h.value), {
|
|
369
|
-
default:
|
|
369
|
+
default: D(() => [
|
|
370
370
|
v("div", {
|
|
371
371
|
class: r(s(q.element) || void 0),
|
|
372
372
|
"aria-hidden": q.element.contentAriaHidden,
|
|
373
|
-
style:
|
|
373
|
+
style: k({ display: q.element.renderedIsExpanded ? void 0 : "none" }),
|
|
374
374
|
role: "presentation"
|
|
375
375
|
}, [
|
|
376
376
|
c(m, {
|
|
@@ -432,7 +432,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
432
432
|
css: {}
|
|
433
433
|
},
|
|
434
434
|
setup(u) {
|
|
435
|
-
const e = u, n =
|
|
435
|
+
const e = u, n = f(null), s = H(() => e.element.survey);
|
|
436
436
|
return S(() => e.element), Z(() => {
|
|
437
437
|
e.element.survey && e.element.afterRender(n.value);
|
|
438
438
|
}), (o, t) => o.element.getIsContentVisible() ? (i(), a("div", {
|
|
@@ -462,7 +462,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
462
462
|
o.element.renderedIsExpanded ? (i(), a("div", {
|
|
463
463
|
key: 3,
|
|
464
464
|
id: o.element.contentId,
|
|
465
|
-
style:
|
|
465
|
+
style: k({ paddingLeft: o.element.innerPaddingLeft }),
|
|
466
466
|
class: r(o.element.cssClasses.panel.content),
|
|
467
467
|
role: o.element.ariaRole,
|
|
468
468
|
"aria-labelledby": o.element.ariaLabelledBy,
|
|
@@ -474,7 +474,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
474
474
|
}, {
|
|
475
475
|
componentData: o.element.getSurvey().getRowWrapperComponentData(l)
|
|
476
476
|
}), {
|
|
477
|
-
default:
|
|
477
|
+
default: D(() => [
|
|
478
478
|
c(m, {
|
|
479
479
|
is: "survey-row",
|
|
480
480
|
row: l,
|
|
@@ -507,7 +507,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
507
507
|
return (o, t) => (i(), a("div", {
|
|
508
508
|
class: r(o.element.cssHeader),
|
|
509
509
|
onClick: n,
|
|
510
|
-
style:
|
|
510
|
+
style: k(s())
|
|
511
511
|
}, [
|
|
512
512
|
c(m, {
|
|
513
513
|
is: "survey-element-title",
|
|
@@ -524,7 +524,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
524
524
|
locString: o.element.locDescription
|
|
525
525
|
}, null, 8, ["locString"])
|
|
526
526
|
], 10, vs)), [
|
|
527
|
-
[
|
|
527
|
+
[A, o.element.hasDescription]
|
|
528
528
|
]) : p("", !0),
|
|
529
529
|
o.element.hasAdditionalTitleToolbar ? (i(), g(m, {
|
|
530
530
|
key: 1,
|
|
@@ -550,7 +550,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
550
550
|
locString: {}
|
|
551
551
|
},
|
|
552
552
|
setup(u) {
|
|
553
|
-
const e = u, n =
|
|
553
|
+
const e = u, n = U(() => e.locString), s = e.locString.allowLineBreaks ? "sv-string-viewer sv-string-viewer--multiline" : "sv-string-viewer";
|
|
554
554
|
return (o, t) => o.locString.hasHtml ? (i(), a("span", {
|
|
555
555
|
key: 0,
|
|
556
556
|
class: r(w(s)),
|
|
@@ -597,7 +597,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
597
597
|
return S(() => e.element), (n, s) => (i(), a("div", {
|
|
598
598
|
class: "sv-skeleton-element",
|
|
599
599
|
id: n.element.id,
|
|
600
|
-
style:
|
|
600
|
+
style: k({ height: n.element.skeletonHeight })
|
|
601
601
|
}, null, 12, ws));
|
|
602
602
|
}
|
|
603
603
|
}), Ls = { class: "sv-scroll__container" }, ks = /* @__PURE__ */ v("div", { class: "sv-scroll__scrollbar-sizer" }, null, -1), fs = [
|
|
@@ -613,10 +613,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
613
613
|
n.onInnerHeightChanged = (o) => {
|
|
614
614
|
e.onInnerHeightChanged && e.onInnerHeightChanged(o);
|
|
615
615
|
};
|
|
616
|
-
const s =
|
|
616
|
+
const s = f();
|
|
617
617
|
return Z(() => {
|
|
618
618
|
n.setRootElement(s.value);
|
|
619
|
-
}),
|
|
619
|
+
}), P(() => {
|
|
620
620
|
n.setRootElement(void 0), n.unsubscribeRootElement();
|
|
621
621
|
}), (o, t) => e.disabled ? x(o.$slots, "default", { key: 0 }) : (i(), a("div", {
|
|
622
622
|
key: 1,
|
|
@@ -645,7 +645,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
645
645
|
question: {}
|
|
646
646
|
},
|
|
647
647
|
setup(u) {
|
|
648
|
-
const e = u, n =
|
|
648
|
+
const e = u, n = f(null);
|
|
649
649
|
return T(e, n), (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), a("div", {
|
|
650
650
|
key: 0,
|
|
651
651
|
ref_key: "root",
|
|
@@ -685,7 +685,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
685
685
|
setup(u, { expose: e }) {
|
|
686
686
|
const n = u, s = function(l) {
|
|
687
687
|
n.getRef && n.getRef(l);
|
|
688
|
-
}, o =
|
|
688
|
+
}, o = f(null);
|
|
689
689
|
e({ root: o }), S(() => n.question);
|
|
690
690
|
const t = H(() => n.question.inputStyle);
|
|
691
691
|
return (l, d) => l.question.getMaxLength() ? (i(), a("div", {
|
|
@@ -702,7 +702,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
702
702
|
max: l.question.renderedMax,
|
|
703
703
|
step: l.question.renderedStep,
|
|
704
704
|
size: l.question.renderedInputSize,
|
|
705
|
-
style:
|
|
705
|
+
style: k(t.value),
|
|
706
706
|
id: l.question.inputId,
|
|
707
707
|
list: l.question.dataListId,
|
|
708
708
|
placeholder: l.question.renderedPlaceholder,
|
|
@@ -748,7 +748,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
748
748
|
max: l.question.renderedMax,
|
|
749
749
|
step: l.question.renderedStep,
|
|
750
750
|
size: l.question.renderedInputSize,
|
|
751
|
-
style:
|
|
751
|
+
style: k(t.value),
|
|
752
752
|
id: l.question.inputId,
|
|
753
753
|
list: l.question.dataListId,
|
|
754
754
|
placeholder: l.question.renderedPlaceholder,
|
|
@@ -789,7 +789,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
789
789
|
showLegend: { type: Boolean }
|
|
790
790
|
},
|
|
791
791
|
setup(u) {
|
|
792
|
-
const e = u, n =
|
|
792
|
+
const e = u, n = f(null);
|
|
793
793
|
T(e, n);
|
|
794
794
|
const s = (t) => e.question.getItemValueWrapperComponentName(t) || e.question.itemComponent, o = (t) => ({
|
|
795
795
|
componentName: e.question.itemComponent,
|
|
@@ -838,10 +838,10 @@ const ss = /* @__PURE__ */ y({
|
|
|
838
838
|
class: r(t.question.getColumnClass()),
|
|
839
839
|
role: "presentation"
|
|
840
840
|
}, [
|
|
841
|
-
(i(!0), a(M, null, V(d, (
|
|
842
|
-
key:
|
|
843
|
-
is: s(
|
|
844
|
-
}, o(
|
|
841
|
+
(i(!0), a(M, null, V(d, (L) => (i(), g(m, $({
|
|
842
|
+
key: L.value,
|
|
843
|
+
is: s(L)
|
|
844
|
+
}, o(L)), null, 16, ["is"]))), 128))
|
|
845
845
|
], 2))), 128)) : p("", !0)
|
|
846
846
|
], 2)) : p("", !0),
|
|
847
847
|
t.question.hasFootItems ? (i(!0), a(M, { key: 5 }, V(t.question.footItems, (d) => (i(), g(m, $({
|
|
@@ -881,7 +881,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
881
881
|
function Le(u, e, n) {
|
|
882
882
|
Z(() => {
|
|
883
883
|
n.value && (e().isDesignMode || u().setRootElement(n.value));
|
|
884
|
-
}),
|
|
884
|
+
}), P(() => {
|
|
885
885
|
e().isDesignMode || u().setRootElement(void 0);
|
|
886
886
|
}), S(u, (s, o) => {
|
|
887
887
|
e().isDesignMode || (s && n.value && s.setRootElement(n.value), o && o.setRootElement(void 0));
|
|
@@ -897,7 +897,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
897
897
|
ariaLabel: {}
|
|
898
898
|
},
|
|
899
899
|
setup(u) {
|
|
900
|
-
const e =
|
|
900
|
+
const e = f(), n = u;
|
|
901
901
|
Le(
|
|
902
902
|
() => n.item,
|
|
903
903
|
() => n.question,
|
|
@@ -974,7 +974,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
974
974
|
ariaLabel: {}
|
|
975
975
|
},
|
|
976
976
|
setup(u) {
|
|
977
|
-
const e =
|
|
977
|
+
const e = f(), n = u, s = (l) => n.question.getLabelClass(l), o = (l) => n.question.getControlLabelClass(l), t = H({
|
|
978
978
|
get: () => n.question.renderedValue,
|
|
979
979
|
set: (l) => {
|
|
980
980
|
const d = n.question;
|
|
@@ -1041,12 +1041,12 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1041
1041
|
question: {}
|
|
1042
1042
|
},
|
|
1043
1043
|
setup(u) {
|
|
1044
|
-
const e = u, n =
|
|
1044
|
+
const e = u, n = f(null);
|
|
1045
1045
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
1046
1046
|
class: r(s.question.cssClasses.root),
|
|
1047
1047
|
ref_key: "root",
|
|
1048
1048
|
ref: n,
|
|
1049
|
-
style:
|
|
1049
|
+
style: k({
|
|
1050
1050
|
width: s.question.renderedCanvasWidth
|
|
1051
1051
|
})
|
|
1052
1052
|
}, [
|
|
@@ -1058,7 +1058,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1058
1058
|
locString: s.question.locRenderedPlaceholder
|
|
1059
1059
|
}, null, 8, ["locString"])
|
|
1060
1060
|
], 2), [
|
|
1061
|
-
[
|
|
1061
|
+
[A, s.question.needShowPlaceholder()]
|
|
1062
1062
|
]),
|
|
1063
1063
|
v("div", null, [
|
|
1064
1064
|
s.question.backgroundImage ? (i(), a("img", {
|
|
@@ -1066,7 +1066,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1066
1066
|
role: "presentation",
|
|
1067
1067
|
class: r(s.question.cssClasses.backgroundImage),
|
|
1068
1068
|
src: s.question.backgroundImage,
|
|
1069
|
-
style:
|
|
1069
|
+
style: k({
|
|
1070
1070
|
width: s.question.renderedCanvasWidth
|
|
1071
1071
|
})
|
|
1072
1072
|
}, null, 14, Us)) : p("", !0),
|
|
@@ -1113,9 +1113,9 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1113
1113
|
question: {}
|
|
1114
1114
|
},
|
|
1115
1115
|
setup(u) {
|
|
1116
|
-
const e = u, n =
|
|
1116
|
+
const e = u, n = f(null);
|
|
1117
1117
|
T(e, n);
|
|
1118
|
-
const s =
|
|
1118
|
+
const s = U(() => e.question.locHtml);
|
|
1119
1119
|
return (o, t) => (i(), a("div", {
|
|
1120
1120
|
ref_key: "root",
|
|
1121
1121
|
ref: n,
|
|
@@ -1130,9 +1130,9 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1130
1130
|
question: {}
|
|
1131
1131
|
},
|
|
1132
1132
|
setup(u) {
|
|
1133
|
-
const e = u, n =
|
|
1133
|
+
const e = u, n = f(null);
|
|
1134
1134
|
T(e, n);
|
|
1135
|
-
const s =
|
|
1135
|
+
const s = U(() => e.question.locImageLink);
|
|
1136
1136
|
return (o, t) => (i(), a("div", {
|
|
1137
1137
|
class: r(o.question.cssClasses.root),
|
|
1138
1138
|
ref_key: "root",
|
|
@@ -1145,7 +1145,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1145
1145
|
alt: o.question.altText || o.question.title,
|
|
1146
1146
|
width: o.question.renderedWidth,
|
|
1147
1147
|
height: o.question.renderedHeight,
|
|
1148
|
-
style:
|
|
1148
|
+
style: k({
|
|
1149
1149
|
objectFit: o.question.imageFit,
|
|
1150
1150
|
width: o.question.renderedStyleWidth,
|
|
1151
1151
|
height: o.question.renderedStyleHeight
|
|
@@ -1157,7 +1157,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1157
1157
|
o.question.onErrorHandler();
|
|
1158
1158
|
})
|
|
1159
1159
|
}, null, 46, Js)), [
|
|
1160
|
-
[
|
|
1160
|
+
[A, w(s) && !o.question.contentNotLoaded]
|
|
1161
1161
|
]) : p("", !0),
|
|
1162
1162
|
o.question.renderedMode === "video" ? B((i(), a("video", {
|
|
1163
1163
|
key: 1,
|
|
@@ -1166,7 +1166,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1166
1166
|
src: w(s),
|
|
1167
1167
|
width: o.question.renderedWidth,
|
|
1168
1168
|
height: o.question.renderedHeight,
|
|
1169
|
-
style:
|
|
1169
|
+
style: k({
|
|
1170
1170
|
objectFit: o.question.imageFit,
|
|
1171
1171
|
width: o.question.renderedStyleWidth,
|
|
1172
1172
|
height: o.question.renderedStyleHeight
|
|
@@ -1178,7 +1178,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1178
1178
|
o.question.onErrorHandler();
|
|
1179
1179
|
})
|
|
1180
1180
|
}, null, 46, Ys)), [
|
|
1181
|
-
[
|
|
1181
|
+
[A, w(s) && !o.question.contentNotLoaded]
|
|
1182
1182
|
]) : p("", !0),
|
|
1183
1183
|
o.question.renderedMode === "youtube" ? (i(), a("iframe", {
|
|
1184
1184
|
key: 2,
|
|
@@ -1187,7 +1187,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1187
1187
|
title: o.question.renderedAltText,
|
|
1188
1188
|
width: o.question.renderedWidth,
|
|
1189
1189
|
height: o.question.renderedHeight,
|
|
1190
|
-
style:
|
|
1190
|
+
style: k({
|
|
1191
1191
|
objectFit: o.question.imageFit,
|
|
1192
1192
|
width: o.question.renderedStyleWidth,
|
|
1193
1193
|
height: o.question.renderedStyleHeight
|
|
@@ -1212,7 +1212,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1212
1212
|
question: {}
|
|
1213
1213
|
},
|
|
1214
1214
|
setup(u) {
|
|
1215
|
-
const e = u, n =
|
|
1215
|
+
const e = u, n = f(null);
|
|
1216
1216
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
1217
1217
|
class: r(s.question.cssClasses.root),
|
|
1218
1218
|
ref_key: "root",
|
|
@@ -1226,7 +1226,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1226
1226
|
question: {}
|
|
1227
1227
|
},
|
|
1228
1228
|
setup(u) {
|
|
1229
|
-
const e = u, n =
|
|
1229
|
+
const e = u, n = f(null);
|
|
1230
1230
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
1231
1231
|
class: r(s.question.fileRootCss),
|
|
1232
1232
|
ref_key: "root",
|
|
@@ -1332,7 +1332,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1332
1332
|
question: {}
|
|
1333
1333
|
},
|
|
1334
1334
|
setup(u) {
|
|
1335
|
-
const e = u, n =
|
|
1335
|
+
const e = u, n = f(null);
|
|
1336
1336
|
T(e, n);
|
|
1337
1337
|
const s = (t) => e.question.getItemValueWrapperComponentName(t) || Ce, o = (t) => ({
|
|
1338
1338
|
componentName: Ce,
|
|
@@ -1344,7 +1344,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1344
1344
|
});
|
|
1345
1345
|
return (t, l) => (i(), a("fieldset", {
|
|
1346
1346
|
class: r(t.question.getSelectBaseRootCss()),
|
|
1347
|
-
style:
|
|
1347
|
+
style: k(t.question.getContainerStyle()),
|
|
1348
1348
|
ref_key: "root",
|
|
1349
1349
|
ref: n
|
|
1350
1350
|
}, [
|
|
@@ -1358,10 +1358,10 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1358
1358
|
key: C,
|
|
1359
1359
|
role: "presentation"
|
|
1360
1360
|
}, [
|
|
1361
|
-
(i(!0), a(M, null, V(d, (
|
|
1362
|
-
key:
|
|
1363
|
-
is: s(
|
|
1364
|
-
}, o(
|
|
1361
|
+
(i(!0), a(M, null, V(d, (L) => (i(), g(m, $({
|
|
1362
|
+
key: L.value,
|
|
1363
|
+
is: s(L)
|
|
1364
|
+
}, o(L)), null, 16, ["is"]))), 128))
|
|
1365
1365
|
], 2))), 128)) : p("", !0)
|
|
1366
1366
|
], 6));
|
|
1367
1367
|
}
|
|
@@ -1383,7 +1383,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1383
1383
|
}
|
|
1384
1384
|
});
|
|
1385
1385
|
S(() => e.item);
|
|
1386
|
-
const o =
|
|
1386
|
+
const o = U(() => e.item.locImageLink);
|
|
1387
1387
|
return (t, l) => (i(), a("div", {
|
|
1388
1388
|
class: r(n(t.item))
|
|
1389
1389
|
}, [
|
|
@@ -1448,7 +1448,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1448
1448
|
src: w(o),
|
|
1449
1449
|
width: t.question.renderedImageWidth,
|
|
1450
1450
|
height: t.question.renderedImageHeight,
|
|
1451
|
-
style:
|
|
1451
|
+
style: k({ objectFit: t.question.imageFit }),
|
|
1452
1452
|
alt: t.item.locText.renderedHtml,
|
|
1453
1453
|
onLoad: l[2] || (l[2] = (d) => {
|
|
1454
1454
|
t.question.onContentLoaded(t.item, d);
|
|
@@ -1464,7 +1464,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1464
1464
|
src: w(o),
|
|
1465
1465
|
width: t.question.renderedImageWidth,
|
|
1466
1466
|
height: t.question.renderedImageHeight,
|
|
1467
|
-
style:
|
|
1467
|
+
style: k({ objectFit: t.question.imageFit }),
|
|
1468
1468
|
onLoadedmetadata: l[4] || (l[4] = (d) => {
|
|
1469
1469
|
t.question.onContentLoaded(t.item, d);
|
|
1470
1470
|
}),
|
|
@@ -1475,7 +1475,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1475
1475
|
!w(o) || t.item.contentNotLoaded ? (i(), a("div", {
|
|
1476
1476
|
key: 3,
|
|
1477
1477
|
class: r(t.question.cssClasses.itemNoImage),
|
|
1478
|
-
style:
|
|
1478
|
+
style: k({
|
|
1479
1479
|
width: t.question.renderedImageWidth + "px",
|
|
1480
1480
|
height: t.question.renderedImageHeight + "px",
|
|
1481
1481
|
objectFit: t.question.imageFit
|
|
@@ -1509,7 +1509,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1509
1509
|
question: {}
|
|
1510
1510
|
},
|
|
1511
1511
|
setup(u) {
|
|
1512
|
-
const e = u, n =
|
|
1512
|
+
const e = u, n = f();
|
|
1513
1513
|
function s(o) {
|
|
1514
1514
|
n.value = o;
|
|
1515
1515
|
}
|
|
@@ -1545,7 +1545,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1545
1545
|
question: {}
|
|
1546
1546
|
},
|
|
1547
1547
|
setup(u) {
|
|
1548
|
-
const e = u, n =
|
|
1548
|
+
const e = u, n = f(null);
|
|
1549
1549
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
1550
1550
|
class: r(s.question.renderCssRoot),
|
|
1551
1551
|
ref_key: "root",
|
|
@@ -1578,7 +1578,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1578
1578
|
question: {}
|
|
1579
1579
|
},
|
|
1580
1580
|
setup(u) {
|
|
1581
|
-
const e = u, n =
|
|
1581
|
+
const e = u, n = f(null);
|
|
1582
1582
|
T(e, n);
|
|
1583
1583
|
const s = (l) => {
|
|
1584
1584
|
e.question.onClick(l);
|
|
@@ -1655,7 +1655,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1655
1655
|
item: {}
|
|
1656
1656
|
},
|
|
1657
1657
|
setup(u) {
|
|
1658
|
-
const e = u, n =
|
|
1658
|
+
const e = u, n = U(() => e.item.locText);
|
|
1659
1659
|
return S(() => e.item), (s, o) => (i(), a("option", {
|
|
1660
1660
|
value: s.item.value,
|
|
1661
1661
|
disabled: !s.item.isEnabled
|
|
@@ -1667,40 +1667,40 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1667
1667
|
question: {}
|
|
1668
1668
|
},
|
|
1669
1669
|
setup(u) {
|
|
1670
|
-
const e = u, n =
|
|
1670
|
+
const e = u, n = f(null), s = H(() => e.question.dropdownListModel), o = (b) => {
|
|
1671
1671
|
var R;
|
|
1672
|
-
(R = s.value) == null || R.onClick(
|
|
1673
|
-
}, t = (
|
|
1672
|
+
(R = s.value) == null || R.onClick(b);
|
|
1673
|
+
}, t = (b) => {
|
|
1674
1674
|
var R;
|
|
1675
|
-
(R = s.value) == null || R.keyHandler(
|
|
1675
|
+
(R = s.value) == null || R.keyHandler(b);
|
|
1676
1676
|
}, l = () => {
|
|
1677
1677
|
if (n.value) {
|
|
1678
|
-
const
|
|
1679
|
-
We.isTwoValueEquals(R,
|
|
1678
|
+
const b = n.value, R = s.value.inputStringRendered;
|
|
1679
|
+
We.isTwoValueEquals(R, b.value, !1, !0, !1) || (b.value = s.value.inputStringRendered);
|
|
1680
1680
|
}
|
|
1681
|
-
}, d = (
|
|
1682
|
-
e.question.onBlur(
|
|
1683
|
-
}, C = (
|
|
1684
|
-
e.question.onFocus(
|
|
1685
|
-
},
|
|
1686
|
-
s.value.inputStringRendered =
|
|
1681
|
+
}, d = (b) => {
|
|
1682
|
+
e.question.onBlur(b), l();
|
|
1683
|
+
}, C = (b) => {
|
|
1684
|
+
e.question.onFocus(b);
|
|
1685
|
+
}, L = (b) => {
|
|
1686
|
+
s.value.inputStringRendered = b.target.value;
|
|
1687
1687
|
}, h = H(
|
|
1688
1688
|
() => e.question.showSelectedItemLocText
|
|
1689
1689
|
), q = H(() => e.question.selectedItemLocText);
|
|
1690
|
-
return S(() => s.value),
|
|
1691
|
-
var N,
|
|
1690
|
+
return S(() => s.value), z(l), Z(l), (b, R) => {
|
|
1691
|
+
var N, K, j, ue;
|
|
1692
1692
|
return i(), a("div", {
|
|
1693
|
-
class: r(
|
|
1693
|
+
class: r(b.question.cssClasses.selectWrapper),
|
|
1694
1694
|
onClick: o
|
|
1695
1695
|
}, [
|
|
1696
|
-
|
|
1696
|
+
b.question.isReadOnly ? p("", !0) : (i(), a("div", {
|
|
1697
1697
|
key: 0,
|
|
1698
|
-
id:
|
|
1699
|
-
disabled:
|
|
1698
|
+
id: b.question.inputId,
|
|
1699
|
+
disabled: b.question.isDisabledAttr ? !0 : null,
|
|
1700
1700
|
tabindex: s.value.noTabIndex ? void 0 : 0,
|
|
1701
1701
|
onKeydown: t,
|
|
1702
1702
|
onBlur: d,
|
|
1703
|
-
class: r(
|
|
1703
|
+
class: r(b.question.getControlClass()),
|
|
1704
1704
|
role: s.value.ariaQuestionRole,
|
|
1705
1705
|
"aria-required": s.value.ariaQuestionRequired,
|
|
1706
1706
|
"aria-invalid": s.value.ariaQuestionInvalid,
|
|
@@ -1711,16 +1711,16 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1711
1711
|
"aria-describedby": s.value.ariaQuestionDescribedby,
|
|
1712
1712
|
"aria-controls": s.value.ariaQuestionControls,
|
|
1713
1713
|
"aria-activedescendant": s.value.ariaQuestionActivedescendant,
|
|
1714
|
-
required:
|
|
1714
|
+
required: b.question.isRequired ? !0 : null
|
|
1715
1715
|
}, [
|
|
1716
1716
|
s.value.showHintPrefix ? (i(), a("div", {
|
|
1717
1717
|
key: 0,
|
|
1718
|
-
class: r(
|
|
1718
|
+
class: r(b.question.cssClasses.hintPrefix)
|
|
1719
1719
|
}, [
|
|
1720
1720
|
v("span", null, I(s.value.hintStringPrefix), 1)
|
|
1721
1721
|
], 2)) : p("", !0),
|
|
1722
1722
|
v("div", {
|
|
1723
|
-
class: r(
|
|
1723
|
+
class: r(b.question.cssClasses.controlValue)
|
|
1724
1724
|
}, [
|
|
1725
1725
|
h.value ? (i(), g(m, {
|
|
1726
1726
|
key: 0,
|
|
@@ -1729,26 +1729,27 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1729
1729
|
}, null, 8, ["locString"])) : p("", !0),
|
|
1730
1730
|
s.value.showHintString ? (i(), a("div", {
|
|
1731
1731
|
key: 1,
|
|
1732
|
-
class: r(
|
|
1732
|
+
class: r(b.question.cssClasses.hintSuffix)
|
|
1733
1733
|
}, [
|
|
1734
1734
|
v("span", b1, I(s.value.inputStringRendered), 1),
|
|
1735
1735
|
v("span", null, I(s.value.hintStringSuffix), 1)
|
|
1736
1736
|
], 2)) : p("", !0),
|
|
1737
|
-
|
|
1737
|
+
b.question.showInputFieldComponent ? (i(), g(m, {
|
|
1738
1738
|
key: 2,
|
|
1739
|
-
is:
|
|
1739
|
+
is: b.question.inputFieldComponentName,
|
|
1740
1740
|
item: s.value.getSelectedAction(),
|
|
1741
|
-
question:
|
|
1741
|
+
question: b.question
|
|
1742
1742
|
}, null, 8, ["is", "item", "question"])) : p("", !0),
|
|
1743
|
-
|
|
1743
|
+
s.value.needRenderInput ? (i(), a("input", {
|
|
1744
|
+
key: 3,
|
|
1744
1745
|
type: "text",
|
|
1745
1746
|
ref_key: "inputElement",
|
|
1746
1747
|
ref: n,
|
|
1747
|
-
class: r(
|
|
1748
|
-
disabled:
|
|
1748
|
+
class: r(b.question.cssClasses.filterStringInput),
|
|
1749
|
+
disabled: b.question.isDisabledAttr,
|
|
1749
1750
|
autocomplete: "off",
|
|
1750
1751
|
inputmode: s.value.inputMode,
|
|
1751
|
-
id:
|
|
1752
|
+
id: b.question.getInputId(),
|
|
1752
1753
|
tabindex: s.value.noTabIndex ? void 0 : -1,
|
|
1753
1754
|
readonly: s.value.filterReadOnly ? !0 : void 0,
|
|
1754
1755
|
role: s.value.ariaInputRole,
|
|
@@ -1762,47 +1763,48 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1762
1763
|
"aria-describedby": s.value.ariaInputDescribedby,
|
|
1763
1764
|
"aria-activedescendant": s.value.ariaInputActivedescendant,
|
|
1764
1765
|
placeholder: s.value.placeholderRendered,
|
|
1765
|
-
onInput:
|
|
1766
|
+
onInput: L,
|
|
1766
1767
|
onBlur: d,
|
|
1767
1768
|
onFocus: C
|
|
1768
|
-
}, null, 42, L1)
|
|
1769
|
+
}, null, 42, L1)) : p("", !0)
|
|
1769
1770
|
], 2),
|
|
1770
1771
|
c(m, {
|
|
1771
1772
|
is: "sv-action-bar",
|
|
1772
1773
|
model: s.value.editorButtons
|
|
1773
1774
|
}, null, 8, ["model"])
|
|
1774
1775
|
], 42, w1)),
|
|
1775
|
-
|
|
1776
|
+
b.question.isInputReadOnly ? p("", !0) : (i(), g(m, {
|
|
1777
|
+
key: 1,
|
|
1778
|
+
is: "sv-popup",
|
|
1779
|
+
model: s.value.popupModel
|
|
1780
|
+
}, null, 8, ["model"])),
|
|
1781
|
+
b.question.isReadOnly ? (i(), a("div", {
|
|
1776
1782
|
key: 2,
|
|
1777
|
-
id:
|
|
1783
|
+
id: b.question.inputId,
|
|
1778
1784
|
role: (N = s.value) == null ? void 0 : N.ariaQuestionRole,
|
|
1779
|
-
"aria-label": (
|
|
1780
|
-
"aria-labelledby": (
|
|
1785
|
+
"aria-label": (K = s.value) == null ? void 0 : K.ariaQuestionLabel,
|
|
1786
|
+
"aria-labelledby": (j = s.value) == null ? void 0 : j.ariaQuestionLabelledby,
|
|
1781
1787
|
"aria-describedby": (ue = s.value) == null ? void 0 : ue.ariaQuestionDescribedby,
|
|
1782
1788
|
"aria-expanded": !1,
|
|
1783
1789
|
"aria-readonly": !0,
|
|
1784
1790
|
"aria-disabled": !0,
|
|
1785
|
-
tabindex:
|
|
1786
|
-
class: r(
|
|
1791
|
+
tabindex: b.question.isDisabledAttr ? void 0 : 0,
|
|
1792
|
+
class: r(b.question.getControlClass())
|
|
1787
1793
|
}, [
|
|
1788
1794
|
v("div", {
|
|
1789
|
-
class: r(
|
|
1795
|
+
class: r(b.question.cssClasses.controlValue)
|
|
1790
1796
|
}, [
|
|
1791
|
-
|
|
1797
|
+
b.question.locReadOnlyText ? (i(), g(m, {
|
|
1792
1798
|
key: 0,
|
|
1793
1799
|
is: "survey-string",
|
|
1794
|
-
locString:
|
|
1800
|
+
locString: b.question.locReadOnlyText
|
|
1795
1801
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1796
1802
|
], 2),
|
|
1797
1803
|
c(m, {
|
|
1798
1804
|
is: "sv-action-bar",
|
|
1799
1805
|
model: s.value.editorButtons
|
|
1800
1806
|
}, null, 8, ["model"])
|
|
1801
|
-
], 10, k1)) : (
|
|
1802
|
-
key: 1,
|
|
1803
|
-
is: "sv-popup",
|
|
1804
|
-
model: s.value.popupModel
|
|
1805
|
-
}, null, 8, ["model"]))
|
|
1807
|
+
], 10, k1)) : p("", !0)
|
|
1806
1808
|
], 2);
|
|
1807
1809
|
};
|
|
1808
1810
|
}
|
|
@@ -1813,7 +1815,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1813
1815
|
question: {}
|
|
1814
1816
|
},
|
|
1815
1817
|
setup(u) {
|
|
1816
|
-
const e = u, n =
|
|
1818
|
+
const e = u, n = f(null);
|
|
1817
1819
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
1818
1820
|
class: r(s.question.renderCssRoot),
|
|
1819
1821
|
ref_key: "root",
|
|
@@ -1850,7 +1852,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1850
1852
|
(C = n.value) == null || C.onBlur(d);
|
|
1851
1853
|
}, l = ne(() => e.question.selectedChoices);
|
|
1852
1854
|
return S(() => n.value), (d, C) => {
|
|
1853
|
-
var
|
|
1855
|
+
var L, h, q, b;
|
|
1854
1856
|
return i(), a("div", {
|
|
1855
1857
|
class: r(d.question.cssClasses.selectWrapper),
|
|
1856
1858
|
onClick: s
|
|
@@ -1884,24 +1886,30 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1884
1886
|
question: d.question,
|
|
1885
1887
|
key: "item" + N
|
|
1886
1888
|
}, null, 8, ["item", "question"]))), 128)),
|
|
1887
|
-
|
|
1889
|
+
n.value.needRenderInput ? (i(), g(m, {
|
|
1890
|
+
key: 0,
|
|
1888
1891
|
is: "sv-tagbox-filter",
|
|
1889
1892
|
model: n.value,
|
|
1890
1893
|
question: d.question
|
|
1891
|
-
}, null, 8, ["model", "question"])
|
|
1894
|
+
}, null, 8, ["model", "question"])) : p("", !0)
|
|
1892
1895
|
], 2),
|
|
1893
1896
|
c(m, {
|
|
1894
1897
|
is: "sv-action-bar",
|
|
1895
1898
|
model: n.value.editorButtons
|
|
1896
1899
|
}, null, 8, ["model"])
|
|
1897
1900
|
], 42, M1)),
|
|
1901
|
+
d.question.isInputReadOnly ? p("", !0) : (i(), g(m, {
|
|
1902
|
+
key: 1,
|
|
1903
|
+
is: "sv-popup",
|
|
1904
|
+
model: n.value.popupModel
|
|
1905
|
+
}, null, 8, ["model"])),
|
|
1898
1906
|
d.question.isReadOnly ? (i(), a("div", {
|
|
1899
1907
|
key: 2,
|
|
1900
1908
|
id: d.question.inputId,
|
|
1901
|
-
role: (
|
|
1909
|
+
role: (L = n.value) == null ? void 0 : L.ariaQuestionRole,
|
|
1902
1910
|
"aria-label": (h = n.value) == null ? void 0 : h.ariaQuestionLabel,
|
|
1903
1911
|
"aria-labelledby": (q = n.value) == null ? void 0 : q.ariaQuestionLabelledby,
|
|
1904
|
-
"aria-describedby": (
|
|
1912
|
+
"aria-describedby": (b = n.value) == null ? void 0 : b.ariaQuestionDescribedby,
|
|
1905
1913
|
"aria-expanded": !1,
|
|
1906
1914
|
"aria-readonly": !0,
|
|
1907
1915
|
"aria-disabled": !0,
|
|
@@ -1921,11 +1929,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1921
1929
|
is: "sv-action-bar",
|
|
1922
1930
|
model: n.value.editorButtons
|
|
1923
1931
|
}, null, 8, ["model"])
|
|
1924
|
-
], 10, I1)) : (
|
|
1925
|
-
key: 1,
|
|
1926
|
-
is: "sv-popup",
|
|
1927
|
-
model: n.value.popupModel
|
|
1928
|
-
}, null, 8, ["model"]))
|
|
1932
|
+
], 10, I1)) : p("", !0)
|
|
1929
1933
|
], 2);
|
|
1930
1934
|
};
|
|
1931
1935
|
}
|
|
@@ -1981,7 +1985,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
1981
1985
|
B(v("input", {
|
|
1982
1986
|
type: "text",
|
|
1983
1987
|
autocomplete: "off",
|
|
1984
|
-
"onUpdate:modelValue": C[0] || (C[0] = (
|
|
1988
|
+
"onUpdate:modelValue": C[0] || (C[0] = (L) => l.value = L),
|
|
1985
1989
|
class: r(d.question.cssClasses.filterStringInput),
|
|
1986
1990
|
placeholder: d.model.filterStringPlaceholder,
|
|
1987
1991
|
disabled: d.question.isDisabledAttr,
|
|
@@ -2049,7 +2053,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
2049
2053
|
question: {}
|
|
2050
2054
|
},
|
|
2051
2055
|
setup(u) {
|
|
2052
|
-
const e = u, n =
|
|
2056
|
+
const e = u, n = f(null);
|
|
2053
2057
|
T(e, n);
|
|
2054
2058
|
const s = (t) => e.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", o = (t, l, d) => ({
|
|
2055
2059
|
componentName: "survey-ranking-item",
|
|
@@ -2227,7 +2231,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
2227
2231
|
question: {}
|
|
2228
2232
|
},
|
|
2229
2233
|
setup(u) {
|
|
2230
|
-
const e = u, n =
|
|
2234
|
+
const e = u, n = f(null);
|
|
2231
2235
|
T(e, n);
|
|
2232
2236
|
const s = (o) => e.question.getInputId(o);
|
|
2233
2237
|
return (o, t) => (i(), a("div", {
|
|
@@ -2316,7 +2320,7 @@ const y1 = /* @__PURE__ */ y({
|
|
|
2316
2320
|
return S(() => e.item), (n, s) => (i(), a("label", {
|
|
2317
2321
|
key: n.item.value,
|
|
2318
2322
|
onMousedown: s[1] || (s[1] = (o) => n.question.onMouseDown()),
|
|
2319
|
-
style:
|
|
2323
|
+
style: k(n.question.getItemStyle(n.item.itemValue, n.item.highlight)),
|
|
2320
2324
|
class: r(n.question.getItemClass(n.item.itemValue, n.item.highlight)),
|
|
2321
2325
|
onMouseover: s[2] || (s[2] = (o) => n.question.onItemMouseIn(n.item)),
|
|
2322
2326
|
onMouseleave: s[3] || (s[3] = (o) => n.question.onItemMouseOut(n.item)),
|
|
@@ -2422,7 +2426,7 @@ const on = /* @__PURE__ */ y({
|
|
|
2422
2426
|
question: {}
|
|
2423
2427
|
},
|
|
2424
2428
|
setup(u) {
|
|
2425
|
-
const e = u, n =
|
|
2429
|
+
const e = u, n = f(null);
|
|
2426
2430
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
2427
2431
|
class: r(s.question.cssClasses.rootDropdown),
|
|
2428
2432
|
ref_key: "root",
|
|
@@ -2441,7 +2445,7 @@ const on = /* @__PURE__ */ y({
|
|
|
2441
2445
|
question: {}
|
|
2442
2446
|
},
|
|
2443
2447
|
setup(u) {
|
|
2444
|
-
const e = u, n =
|
|
2448
|
+
const e = u, n = f(null);
|
|
2445
2449
|
T(e, n);
|
|
2446
2450
|
const s = (t, l) => {
|
|
2447
2451
|
e.question.onLabelClick(t, l);
|
|
@@ -2537,7 +2541,7 @@ const an = /* @__PURE__ */ y({
|
|
|
2537
2541
|
question: {}
|
|
2538
2542
|
},
|
|
2539
2543
|
setup(u) {
|
|
2540
|
-
const e =
|
|
2544
|
+
const e = f(null);
|
|
2541
2545
|
return T(u, e), (s, o) => (i(), a("div", {
|
|
2542
2546
|
class: r(s.question.cssClasses.rootRadio),
|
|
2543
2547
|
ref_key: "root",
|
|
@@ -2639,7 +2643,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
2639
2643
|
css: {}
|
|
2640
2644
|
},
|
|
2641
2645
|
setup(u) {
|
|
2642
|
-
const e = u, n =
|
|
2646
|
+
const e = u, n = f(null);
|
|
2643
2647
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
2644
2648
|
class: r(s.question.cssClasses.rootCheckbox),
|
|
2645
2649
|
ref_key: "root",
|
|
@@ -2722,7 +2726,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
2722
2726
|
question: {}
|
|
2723
2727
|
},
|
|
2724
2728
|
setup(u) {
|
|
2725
|
-
const e = u, n =
|
|
2729
|
+
const e = u, n = f(null), s = ne(() => e.question.getRows());
|
|
2726
2730
|
return T(e, n), (o, t) => (i(), a("table", {
|
|
2727
2731
|
class: r(o.question.getQuestionRootCss()),
|
|
2728
2732
|
ref_key: "root",
|
|
@@ -2771,7 +2775,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
2771
2775
|
}, [
|
|
2772
2776
|
v("span", {
|
|
2773
2777
|
class: r(o.question.getItemTitleCss()),
|
|
2774
|
-
style:
|
|
2778
|
+
style: k({
|
|
2775
2779
|
minWidth: o.question.itemTitleWidth,
|
|
2776
2780
|
width: o.question.itemTitleWidth
|
|
2777
2781
|
})
|
|
@@ -2908,7 +2912,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
2908
2912
|
question: {}
|
|
2909
2913
|
},
|
|
2910
2914
|
setup(u) {
|
|
2911
|
-
const e = u, n =
|
|
2915
|
+
const e = u, n = f(null), s = f(null);
|
|
2912
2916
|
return T(e, n), Z(() => {
|
|
2913
2917
|
e.question.refreshInputRange(s.value);
|
|
2914
2918
|
}), (o, t) => (i(), a("div", {
|
|
@@ -2950,15 +2954,15 @@ const yn = /* @__PURE__ */ y({
|
|
|
2950
2954
|
}, [
|
|
2951
2955
|
v("div", {
|
|
2952
2956
|
class: r(o.question.cssClasses.inverseTrackLeft),
|
|
2953
|
-
style:
|
|
2957
|
+
style: k({ width: o.question.getTrackPercentLeft() + "%" })
|
|
2954
2958
|
}, null, 6),
|
|
2955
2959
|
v("div", {
|
|
2956
2960
|
class: r(o.question.cssClasses.inverseTrackRight),
|
|
2957
|
-
style:
|
|
2961
|
+
style: k({ width: o.question.getTrackPercentRight() + "%" })
|
|
2958
2962
|
}, null, 6),
|
|
2959
2963
|
v("div", {
|
|
2960
2964
|
class: r(o.question.cssClasses.rangeTrack),
|
|
2961
|
-
style:
|
|
2965
|
+
style: k({ left: o.question.getTrackPercentLeft() + "%", right: o.question.getTrackPercentRight() + "%" })
|
|
2962
2966
|
}, null, 6),
|
|
2963
2967
|
(i(!0), a(M, null, V(o.question.renderedValue, (l, d) => (i(), a(M, { key: d }, [
|
|
2964
2968
|
v("input", {
|
|
@@ -3000,7 +3004,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3000
3004
|
}, null, 42, Sn),
|
|
3001
3005
|
v("div", {
|
|
3002
3006
|
class: r(o.question.getThumbContainerCss(d)),
|
|
3003
|
-
style:
|
|
3007
|
+
style: k({ left: o.question.getPercent(l) + "%" })
|
|
3004
3008
|
}, [
|
|
3005
3009
|
o.question.tooltipVisibility !== "never" ? (i(), a("div", {
|
|
3006
3010
|
key: 0,
|
|
@@ -3050,7 +3054,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3050
3054
|
const e = u;
|
|
3051
3055
|
return S(() => e.item), (n, s) => (i(), a("div", {
|
|
3052
3056
|
class: r(n.question.getLabelCss(n.item.locText)),
|
|
3053
|
-
style:
|
|
3057
|
+
style: k({ left: n.question.getPercent(n.item.value) + "%" }),
|
|
3054
3058
|
onPointerup: s[0] || (s[0] = (o) => {
|
|
3055
3059
|
n.question.handleLabelPointerUp(o, n.item.value);
|
|
3056
3060
|
})
|
|
@@ -3078,7 +3082,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3078
3082
|
question: {}
|
|
3079
3083
|
},
|
|
3080
3084
|
setup(u) {
|
|
3081
|
-
const e = u, n =
|
|
3085
|
+
const e = u, n = f(null), s = E();
|
|
3082
3086
|
T(
|
|
3083
3087
|
e,
|
|
3084
3088
|
n,
|
|
@@ -3112,7 +3116,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3112
3116
|
(i(!0), a(M, null, V(t.question.visibleColumns, (d, C) => (i(), a("th", {
|
|
3113
3117
|
key: C,
|
|
3114
3118
|
class: r(t.question.cssClasses.headerCell),
|
|
3115
|
-
style:
|
|
3119
|
+
style: k({
|
|
3116
3120
|
minWidth: t.question.columnMinWidth,
|
|
3117
3121
|
width: t.question.columnMinWidth
|
|
3118
3122
|
})
|
|
@@ -3121,7 +3125,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3121
3125
|
is: t.question.getColumnHeaderWrapperComponentName(d),
|
|
3122
3126
|
componentData: t.question.getColumnHeaderWrapperComponentData(d)
|
|
3123
3127
|
}, {
|
|
3124
|
-
default:
|
|
3128
|
+
default: D(() => [
|
|
3125
3129
|
c(m, {
|
|
3126
3130
|
is: "survey-string",
|
|
3127
3131
|
locString: d.locText
|
|
@@ -3139,7 +3143,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3139
3143
|
}, [
|
|
3140
3144
|
B(v("td", {
|
|
3141
3145
|
class: r(d.rowTextClasses),
|
|
3142
|
-
style:
|
|
3146
|
+
style: k({
|
|
3143
3147
|
minWidth: t.question.rowTitleWidth,
|
|
3144
3148
|
width: t.question.rowTitleWidth
|
|
3145
3149
|
})
|
|
@@ -3148,7 +3152,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3148
3152
|
is: t.question.getRowHeaderWrapperComponentName(d),
|
|
3149
3153
|
componentData: t.question.getRowHeaderWrapperComponentData(d)
|
|
3150
3154
|
}, {
|
|
3151
|
-
default:
|
|
3155
|
+
default: D(() => [
|
|
3152
3156
|
c(m, {
|
|
3153
3157
|
is: "survey-string",
|
|
3154
3158
|
locString: d.locText
|
|
@@ -3157,29 +3161,29 @@ const yn = /* @__PURE__ */ y({
|
|
|
3157
3161
|
_: 2
|
|
3158
3162
|
}, 1032, ["is", "componentData"])
|
|
3159
3163
|
], 6), [
|
|
3160
|
-
[
|
|
3164
|
+
[A, t.question.hasRows]
|
|
3161
3165
|
]),
|
|
3162
|
-
t.question.hasCellText ? (i(!0), a(M, { key: 0 }, V(t.question.visibleColumns, (
|
|
3166
|
+
t.question.hasCellText ? (i(!0), a(M, { key: 0 }, V(t.question.visibleColumns, (L, h) => (i(), a("td", {
|
|
3163
3167
|
key: h,
|
|
3164
|
-
class: r(t.question.getItemClass(d,
|
|
3165
|
-
onClick: (q) => o(d,
|
|
3168
|
+
class: r(t.question.getItemClass(d, L)),
|
|
3169
|
+
onClick: (q) => o(d, L)
|
|
3166
3170
|
}, [
|
|
3167
3171
|
c(m, {
|
|
3168
3172
|
is: "survey-string",
|
|
3169
|
-
locString: t.question.getCellDisplayLocText(d.name,
|
|
3173
|
+
locString: t.question.getCellDisplayLocText(d.name, L)
|
|
3170
3174
|
}, null, 8, ["locString"])
|
|
3171
3175
|
], 10, An))), 128)) : p("", !0),
|
|
3172
|
-
t.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 }, V(t.question.visibleColumns, (
|
|
3176
|
+
t.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 }, V(t.question.visibleColumns, (L, h) => (i(), a("td", {
|
|
3173
3177
|
key: h,
|
|
3174
|
-
"data-responsive-title":
|
|
3178
|
+
"data-responsive-title": L.locText.renderedHtml,
|
|
3175
3179
|
class: r(t.question.cssClasses.cell),
|
|
3176
|
-
onClick: (q) => o(d,
|
|
3180
|
+
onClick: (q) => o(d, L)
|
|
3177
3181
|
}, [
|
|
3178
3182
|
c(m, {
|
|
3179
3183
|
is: t.question.cellComponent,
|
|
3180
3184
|
question: t.question,
|
|
3181
3185
|
row: d,
|
|
3182
|
-
column:
|
|
3186
|
+
column: L,
|
|
3183
3187
|
columnIndex: h
|
|
3184
3188
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
3185
3189
|
], 10, Pn))), 128))
|
|
@@ -3196,7 +3200,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3196
3200
|
row: {}
|
|
3197
3201
|
},
|
|
3198
3202
|
setup(u) {
|
|
3199
|
-
const e = u, n =
|
|
3203
|
+
const e = u, n = f();
|
|
3200
3204
|
S(() => e.row);
|
|
3201
3205
|
const s = W(
|
|
3202
3206
|
() => e.row,
|
|
@@ -3206,11 +3210,11 @@ const yn = /* @__PURE__ */ y({
|
|
|
3206
3210
|
);
|
|
3207
3211
|
return Z(() => {
|
|
3208
3212
|
e.row.setRootElement(n.value);
|
|
3209
|
-
}),
|
|
3213
|
+
}), P(() => {
|
|
3210
3214
|
e.row.setRootElement(void 0), s();
|
|
3211
3215
|
}), (o, t) => o.row.visible ? (i(), a("tr", {
|
|
3212
3216
|
key: 0,
|
|
3213
|
-
"data-sv-drop-target-matrix-row": o.row.
|
|
3217
|
+
"data-sv-drop-target-matrix-row": o.row.dropTargetId,
|
|
3214
3218
|
onPointerdown: t[0] || (t[0] = (l) => o.question.onPointerDown(l, o.row.row)),
|
|
3215
3219
|
class: r(o.row.className),
|
|
3216
3220
|
ref_key: "root",
|
|
@@ -3293,7 +3297,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3293
3297
|
question: {}
|
|
3294
3298
|
},
|
|
3295
3299
|
setup(u) {
|
|
3296
|
-
const e = u, n =
|
|
3300
|
+
const e = u, n = f(null);
|
|
3297
3301
|
return T(e, n), (s, o) => (i(), g(m, {
|
|
3298
3302
|
is: "survey-matrixtable",
|
|
3299
3303
|
question: s.question,
|
|
@@ -3309,7 +3313,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3309
3313
|
setup(u) {
|
|
3310
3314
|
const e = u, n = H(() => e.question.renderedTable);
|
|
3311
3315
|
return S(() => n.value), (s, o) => (i(), a("div", {
|
|
3312
|
-
style:
|
|
3316
|
+
style: k({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
3313
3317
|
class: r(s.question.cssClasses.tableWrapper)
|
|
3314
3318
|
}, [
|
|
3315
3319
|
v("table", {
|
|
@@ -3321,13 +3325,13 @@ const yn = /* @__PURE__ */ y({
|
|
|
3321
3325
|
t.hasTitle ? (i(), a("th", {
|
|
3322
3326
|
key: "header_" + t.id,
|
|
3323
3327
|
class: r(t.className),
|
|
3324
|
-
style:
|
|
3328
|
+
style: k({ minWidth: t.minWidth, width: t.width })
|
|
3325
3329
|
}, [
|
|
3326
3330
|
c(m, {
|
|
3327
3331
|
is: s.question.getColumnHeaderWrapperComponentName(t),
|
|
3328
3332
|
componentData: s.question.getColumnHeaderWrapperComponentData(t)
|
|
3329
3333
|
}, {
|
|
3330
|
-
default:
|
|
3334
|
+
default: D(() => [
|
|
3331
3335
|
c(m, {
|
|
3332
3336
|
is: "survey-string",
|
|
3333
3337
|
locString: t.locTitle
|
|
@@ -3345,7 +3349,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3345
3349
|
t.hasTitle ? p("", !0) : (i(), a("td", {
|
|
3346
3350
|
class: r(t.className),
|
|
3347
3351
|
key: "header_" + t.id,
|
|
3348
|
-
style:
|
|
3352
|
+
style: k({ minWidth: t.minWidth, width: t.width })
|
|
3349
3353
|
}, null, 6))
|
|
3350
3354
|
], 64))), 256))
|
|
3351
3355
|
])
|
|
@@ -3394,7 +3398,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3394
3398
|
cell: {}
|
|
3395
3399
|
},
|
|
3396
3400
|
setup(u) {
|
|
3397
|
-
const e = u, n =
|
|
3401
|
+
const e = u, n = f(!1), s = f(), o = () => e.cell.width || e.cell.minWidth ? { width: e.cell.width, minWidth: e.cell.minWidth } : null, t = () => e.cell.question.parentQuestion.getCellAriaLabel(e.cell.row, e.cell.column), l = () => {
|
|
3398
3402
|
!e.cell.hasQuestion || !e.question || !e.question.survey || (n.value = e.cell.question.isVisible);
|
|
3399
3403
|
}, d = (h) => re(h);
|
|
3400
3404
|
l(), Z(() => {
|
|
@@ -3403,31 +3407,31 @@ const yn = /* @__PURE__ */ y({
|
|
|
3403
3407
|
e.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
3404
3408
|
l();
|
|
3405
3409
|
});
|
|
3406
|
-
const h = s.value, q = e.cell.question,
|
|
3410
|
+
const h = s.value, q = e.cell.question, b = {
|
|
3407
3411
|
cell: e.cell.cell,
|
|
3408
3412
|
cellQuestion: q,
|
|
3409
3413
|
htmlElement: h,
|
|
3410
3414
|
row: e.cell.row,
|
|
3411
3415
|
column: e.cell.cell.column
|
|
3412
3416
|
};
|
|
3413
|
-
e.question.survey.matrixAfterCellRender(
|
|
3417
|
+
e.question.survey.matrixAfterCellRender(b), q && q.afterRenderCore(h);
|
|
3414
3418
|
});
|
|
3415
3419
|
const C = H(() => {
|
|
3416
3420
|
const h = e.cell;
|
|
3417
3421
|
if (h.hasPanel) {
|
|
3418
|
-
const q = h.panel,
|
|
3419
|
-
if (
|
|
3420
|
-
const R =
|
|
3422
|
+
const q = h.panel, b = q.survey;
|
|
3423
|
+
if (b) {
|
|
3424
|
+
const R = b.getElementWrapperComponentName(q);
|
|
3421
3425
|
if (R)
|
|
3422
3426
|
return R;
|
|
3423
3427
|
}
|
|
3424
3428
|
return "survey-panel";
|
|
3425
3429
|
}
|
|
3426
|
-
}),
|
|
3430
|
+
}), L = H(() => {
|
|
3427
3431
|
if (e.cell.hasPanel) {
|
|
3428
|
-
const q = e.cell.panel,
|
|
3432
|
+
const q = e.cell.panel, b = q.survey;
|
|
3429
3433
|
let R;
|
|
3430
|
-
return
|
|
3434
|
+
return b && (R = b.getElementWrapperComponentData(q)), {
|
|
3431
3435
|
componentName: "survey-panel",
|
|
3432
3436
|
componentData: {
|
|
3433
3437
|
element: q,
|
|
@@ -3441,9 +3445,9 @@ const yn = /* @__PURE__ */ y({
|
|
|
3441
3445
|
key: 0,
|
|
3442
3446
|
class: r(h.cell.className),
|
|
3443
3447
|
title: h.cell.getTitle(),
|
|
3444
|
-
style:
|
|
3448
|
+
style: k(o()),
|
|
3445
3449
|
colspan: h.cell.colSpans,
|
|
3446
|
-
onFocusin: q[0] || (q[0] = (
|
|
3450
|
+
onFocusin: q[0] || (q[0] = (b) => h.cell.focusIn()),
|
|
3447
3451
|
ref_key: "root",
|
|
3448
3452
|
ref: s
|
|
3449
3453
|
}, [
|
|
@@ -3466,7 +3470,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3466
3470
|
h.cell.hasPanel ? (i(), g(m, $({
|
|
3467
3471
|
key: 3,
|
|
3468
3472
|
is: C.value
|
|
3469
|
-
},
|
|
3473
|
+
}, L.value), null, 16, ["is"])) : p("", !0),
|
|
3470
3474
|
h.cell.showResponsiveTitle ? (i(), a("span", {
|
|
3471
3475
|
key: 4,
|
|
3472
3476
|
class: r(h.cell.responsiveTitleCss)
|
|
@@ -3490,7 +3494,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3490
3494
|
is: h.question.getCellWrapperComponentName(h.cell.cell),
|
|
3491
3495
|
componentData: h.question.getCellWrapperComponentData(h.cell.cell)
|
|
3492
3496
|
}, {
|
|
3493
|
-
default:
|
|
3497
|
+
default: D(() => [
|
|
3494
3498
|
c(m, {
|
|
3495
3499
|
is: d(h.cell.question),
|
|
3496
3500
|
question: h.cell.question
|
|
@@ -3508,7 +3512,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3508
3512
|
is: h.question.getCellWrapperComponentName(h.cell.cell),
|
|
3509
3513
|
componentData: h.question.getCellWrapperComponentData(h.cell.cell)
|
|
3510
3514
|
}, {
|
|
3511
|
-
default:
|
|
3515
|
+
default: D(() => [
|
|
3512
3516
|
h.cell.isRadio ? (i(), g(m, {
|
|
3513
3517
|
is: "survey-radiogroup-item",
|
|
3514
3518
|
key: h.cell.item.value,
|
|
@@ -3534,14 +3538,14 @@ const yn = /* @__PURE__ */ y({
|
|
|
3534
3538
|
question: h.cell.question
|
|
3535
3539
|
}, null, 8, ["question"])) : p("", !0)
|
|
3536
3540
|
], 2)), [
|
|
3537
|
-
[
|
|
3541
|
+
[A, n.value]
|
|
3538
3542
|
]) : p("", !0),
|
|
3539
3543
|
h.cell.hasTitle ? (i(), g(m, {
|
|
3540
3544
|
key: 6,
|
|
3541
3545
|
is: h.question.getCellWrapperComponentName(h.cell),
|
|
3542
3546
|
componentData: h.question.getCellWrapperComponentData(h.cell)
|
|
3543
3547
|
}, {
|
|
3544
|
-
default:
|
|
3548
|
+
default: D(() => [
|
|
3545
3549
|
h.cell.hasTitle ? (i(), g(m, {
|
|
3546
3550
|
key: 0,
|
|
3547
3551
|
is: "survey-string",
|
|
@@ -3563,7 +3567,7 @@ const yn = /* @__PURE__ */ y({
|
|
|
3563
3567
|
question: {}
|
|
3564
3568
|
},
|
|
3565
3569
|
setup(u) {
|
|
3566
|
-
const e = u, n =
|
|
3570
|
+
const e = u, n = f(null);
|
|
3567
3571
|
T(e, n);
|
|
3568
3572
|
const s = () => {
|
|
3569
3573
|
e.question.addRowUI();
|
|
@@ -3736,7 +3740,7 @@ const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
|
3736
3740
|
css: {}
|
|
3737
3741
|
},
|
|
3738
3742
|
setup(u) {
|
|
3739
|
-
const e = u, n =
|
|
3743
|
+
const e = u, n = f(null), s = he();
|
|
3740
3744
|
T(
|
|
3741
3745
|
e,
|
|
3742
3746
|
n,
|
|
@@ -3800,7 +3804,7 @@ const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
|
3800
3804
|
}, [
|
|
3801
3805
|
v("div", {
|
|
3802
3806
|
class: r(l.question.cssClasses.progressBar),
|
|
3803
|
-
style:
|
|
3807
|
+
style: k({ width: l.question.progress }),
|
|
3804
3808
|
role: "progressbar",
|
|
3805
3809
|
"aria-label": l.question.progressBarAriaLabel
|
|
3806
3810
|
}, null, 14, rt)
|
|
@@ -3808,7 +3812,7 @@ const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
|
3808
3812
|
v("div", {
|
|
3809
3813
|
class: r(l.question.cssClasses.panelsContainer)
|
|
3810
3814
|
}, [
|
|
3811
|
-
(i(!0), a(M, null, V(l.question.renderedPanels, (C,
|
|
3815
|
+
(i(!0), a(M, null, V(l.question.renderedPanels, (C, L) => (i(), a(M, {
|
|
3812
3816
|
key: C.id
|
|
3813
3817
|
}, [
|
|
3814
3818
|
v("div", {
|
|
@@ -3823,7 +3827,7 @@ const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
|
3823
3827
|
data: { question: l.question, panel: C }
|
|
3824
3828
|
}, null, 8, ["data"])) : p("", !0)
|
|
3825
3829
|
], 2),
|
|
3826
|
-
l.question.isRenderModeList &&
|
|
3830
|
+
l.question.isRenderModeList && L < l.question.visiblePanelCount - 1 ? (i(), a("hr", {
|
|
3827
3831
|
class: r(l.question.cssClasses.separator),
|
|
3828
3832
|
key: "separator" + C.id
|
|
3829
3833
|
}, null, 2)) : p("", !0)
|
|
@@ -3863,7 +3867,7 @@ const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
|
3863
3867
|
}, [
|
|
3864
3868
|
v("div", {
|
|
3865
3869
|
class: r(s.question.cssClasses.progressBar),
|
|
3866
|
-
style:
|
|
3870
|
+
style: k({ width: s.question.progress }),
|
|
3867
3871
|
role: "progressbar",
|
|
3868
3872
|
"aria-label": s.question.progressBarAriaLabel
|
|
3869
3873
|
}, null, 14, at)
|
|
@@ -3903,12 +3907,12 @@ const et = ["disabled"], st = /* @__PURE__ */ y({
|
|
|
3903
3907
|
}, [
|
|
3904
3908
|
v("div", {
|
|
3905
3909
|
class: r(e.question.cssClasses.progressBar),
|
|
3906
|
-
style:
|
|
3910
|
+
style: k({ width: e.question.progress }),
|
|
3907
3911
|
role: "progressbar",
|
|
3908
3912
|
"aria-label": e.question.progressBarAriaLabel
|
|
3909
3913
|
}, null, 14, dt)
|
|
3910
3914
|
], 2)) : p("", !0),
|
|
3911
|
-
e.question.
|
|
3915
|
+
e.question.showFooterToolbar ? (i(), a("div", {
|
|
3912
3916
|
key: 1,
|
|
3913
3917
|
class: r(e.question.cssClasses.footerButtonsContainer)
|
|
3914
3918
|
}, [
|
|
@@ -4067,7 +4071,7 @@ const vt = ["id"], Ct = /* @__PURE__ */ y({
|
|
|
4067
4071
|
location: {}
|
|
4068
4072
|
},
|
|
4069
4073
|
setup(u) {
|
|
4070
|
-
const e =
|
|
4074
|
+
const e = f();
|
|
4071
4075
|
return (n, s) => n.element.hasVisibleErrors ? (i(), a("div", {
|
|
4072
4076
|
key: 0,
|
|
4073
4077
|
role: "alert",
|
|
@@ -4121,7 +4125,7 @@ const vt = ["id"], Ct = /* @__PURE__ */ y({
|
|
|
4121
4125
|
e(o);
|
|
4122
4126
|
})
|
|
4123
4127
|
}, {
|
|
4124
|
-
default:
|
|
4128
|
+
default: D(() => [
|
|
4125
4129
|
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), g(m, {
|
|
4126
4130
|
key: 0,
|
|
4127
4131
|
is: "sv-svg-icon",
|
|
@@ -4249,7 +4253,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4249
4253
|
title: {}
|
|
4250
4254
|
},
|
|
4251
4255
|
setup(u) {
|
|
4252
|
-
const e = u, n =
|
|
4256
|
+
const e = u, n = f(), s = () => {
|
|
4253
4257
|
Oe(
|
|
4254
4258
|
e.size,
|
|
4255
4259
|
e.width,
|
|
@@ -4259,7 +4263,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4259
4263
|
e.title
|
|
4260
4264
|
);
|
|
4261
4265
|
};
|
|
4262
|
-
return
|
|
4266
|
+
return z(() => {
|
|
4263
4267
|
s();
|
|
4264
4268
|
}), Z(() => {
|
|
4265
4269
|
s();
|
|
@@ -4306,28 +4310,34 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4306
4310
|
handleClick: { type: Boolean, default: !0 }
|
|
4307
4311
|
},
|
|
4308
4312
|
setup(u) {
|
|
4309
|
-
const e = u, n =
|
|
4310
|
-
e.handleClick &&
|
|
4313
|
+
const e = u, n = f(null), s = (l) => {
|
|
4314
|
+
e.handleClick && l.stopPropagation();
|
|
4311
4315
|
};
|
|
4312
|
-
S(() => e.model)
|
|
4316
|
+
S(() => e.model, void 0, (l) => {
|
|
4317
|
+
l.resetResponsivityManager();
|
|
4318
|
+
});
|
|
4313
4319
|
const o = ne(() => e.model.renderedActions);
|
|
4314
|
-
|
|
4315
|
-
e.model.
|
|
4316
|
-
}
|
|
4317
|
-
|
|
4318
|
-
|
|
4320
|
+
function t() {
|
|
4321
|
+
e.model.hasVisibleActions && e.model.initResponsivityManager(n.value);
|
|
4322
|
+
}
|
|
4323
|
+
return z(() => {
|
|
4324
|
+
t();
|
|
4325
|
+
}), Z(() => {
|
|
4326
|
+
t();
|
|
4327
|
+
}), (l, d) => l.model.hasActions ? (i(), a("div", {
|
|
4319
4328
|
key: 0,
|
|
4320
4329
|
ref_key: "root",
|
|
4321
4330
|
ref: n,
|
|
4322
|
-
|
|
4331
|
+
style: k(l.model.getRootStyle()),
|
|
4332
|
+
class: r(l.model.getRootCss()),
|
|
4323
4333
|
onClick: s
|
|
4324
4334
|
}, [
|
|
4325
|
-
(i(!0), a(M, null, V(w(o), (
|
|
4335
|
+
(i(!0), a(M, null, V(w(o), (C) => (i(), g(m, {
|
|
4326
4336
|
is: "sv-action",
|
|
4327
|
-
key:
|
|
4328
|
-
item:
|
|
4337
|
+
key: C.renderedId,
|
|
4338
|
+
item: C
|
|
4329
4339
|
}, null, 8, ["item"]))), 128))
|
|
4330
|
-
],
|
|
4340
|
+
], 6)) : p("", !0);
|
|
4331
4341
|
}
|
|
4332
4342
|
}), jt = ["id"], Gt = { class: "sv-action__content" }, Xt = /* @__PURE__ */ y({
|
|
4333
4343
|
__name: "Action",
|
|
@@ -4335,7 +4345,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4335
4345
|
item: {}
|
|
4336
4346
|
},
|
|
4337
4347
|
setup(u) {
|
|
4338
|
-
const e =
|
|
4348
|
+
const e = f(), n = u, s = H(
|
|
4339
4349
|
() => n.item.component || "sv-action-bar-item"
|
|
4340
4350
|
);
|
|
4341
4351
|
return S(() => n.item), Z(() => {
|
|
@@ -4344,8 +4354,8 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4344
4354
|
o.mode = t, ye(() => {
|
|
4345
4355
|
l(t, e.value);
|
|
4346
4356
|
});
|
|
4347
|
-
};
|
|
4348
|
-
}),
|
|
4357
|
+
}, o.afterRender();
|
|
4358
|
+
}), P(() => {
|
|
4349
4359
|
const o = n.item;
|
|
4350
4360
|
o.updateModeCallback = void 0;
|
|
4351
4361
|
}), (o, t) => (i(), a("div", {
|
|
@@ -4366,7 +4376,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4366
4376
|
])
|
|
4367
4377
|
], 10, jt));
|
|
4368
4378
|
}
|
|
4369
|
-
}),
|
|
4379
|
+
}), Q = {
|
|
4370
4380
|
mounted: function(u, e) {
|
|
4371
4381
|
const n = Object.assign(
|
|
4372
4382
|
{
|
|
@@ -4428,7 +4438,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4428
4438
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4429
4439
|
}, I(n.item.title), 3)) : p("", !0)
|
|
4430
4440
|
], 42, Jt)), [
|
|
4431
|
-
[w(
|
|
4441
|
+
[w(Q), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4432
4442
|
]);
|
|
4433
4443
|
}
|
|
4434
4444
|
}), xt = ["disabled", "title", "role"], eo = {
|
|
@@ -4477,7 +4487,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4477
4487
|
class: r(s.item.getActionBarItemTitleCss())
|
|
4478
4488
|
}, I(s.item.title), 3)) : p("", !0)
|
|
4479
4489
|
], 42, xt)), [
|
|
4480
|
-
[w(
|
|
4490
|
+
[w(Q), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4481
4491
|
]),
|
|
4482
4492
|
c(m, {
|
|
4483
4493
|
is: "sv-popup",
|
|
@@ -4502,7 +4512,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4502
4512
|
model: {}
|
|
4503
4513
|
},
|
|
4504
4514
|
setup(u) {
|
|
4505
|
-
const e = u, n =
|
|
4515
|
+
const e = u, n = f(null), s = (d) => {
|
|
4506
4516
|
const C = e.model;
|
|
4507
4517
|
C.filterString = d.target.value;
|
|
4508
4518
|
}, o = (d) => {
|
|
@@ -4513,7 +4523,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4513
4523
|
}, l = ne(() => e.model.renderedActions);
|
|
4514
4524
|
return S(() => e.model), Z(() => {
|
|
4515
4525
|
e.model.initListContainerHtmlElement(n.value);
|
|
4516
|
-
}),
|
|
4526
|
+
}), P(() => {
|
|
4517
4527
|
e.model && (e.model.removeScrollEventListener(), e.model.initListContainerHtmlElement(void 0));
|
|
4518
4528
|
}), (d, C) => (i(), a("div", {
|
|
4519
4529
|
class: r(d.model.cssClasses.root),
|
|
@@ -4544,8 +4554,8 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4544
4554
|
}, null, 42, to),
|
|
4545
4555
|
d.model.showSearchClearButton && d.model.filterString ? (i(), a("button", {
|
|
4546
4556
|
key: 0,
|
|
4547
|
-
onClick: C[0] || (C[0] = (
|
|
4548
|
-
d.model.onClickSearchClearButton(
|
|
4557
|
+
onClick: C[0] || (C[0] = (L) => {
|
|
4558
|
+
d.model.onClickSearchClearButton(L);
|
|
4549
4559
|
}),
|
|
4550
4560
|
class: r(d.model.cssClasses.searchClearButtonIcon)
|
|
4551
4561
|
}, [
|
|
@@ -4564,7 +4574,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4564
4574
|
"aria-label": d.model.emptyMessage
|
|
4565
4575
|
}, I(d.model.emptyMessage), 11, oo)
|
|
4566
4576
|
], 2), [
|
|
4567
|
-
[
|
|
4577
|
+
[A, d.model.isEmpty]
|
|
4568
4578
|
]),
|
|
4569
4579
|
d.model.renderElements ? B((i(), a("ul", {
|
|
4570
4580
|
key: 1,
|
|
@@ -4572,22 +4582,22 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4572
4582
|
role: d.model.listRole,
|
|
4573
4583
|
"aria-label": d.model.a11ya11y_input_ariaLabel,
|
|
4574
4584
|
id: d.model.elementId,
|
|
4575
|
-
onMousedown: C[1] || (C[1] = (
|
|
4576
|
-
|
|
4585
|
+
onMousedown: C[1] || (C[1] = (L) => {
|
|
4586
|
+
L.preventDefault();
|
|
4577
4587
|
}),
|
|
4578
4588
|
onMousemove: t,
|
|
4579
|
-
onKeydown: C[2] || (C[2] = (
|
|
4580
|
-
d.model.onKeyDown(
|
|
4589
|
+
onKeydown: C[2] || (C[2] = (L) => {
|
|
4590
|
+
d.model.onKeyDown(L);
|
|
4581
4591
|
})
|
|
4582
4592
|
}, [
|
|
4583
|
-
(i(!0), a(M, null, V(w(l), (
|
|
4593
|
+
(i(!0), a(M, null, V(w(l), (L) => (i(), g(m, {
|
|
4584
4594
|
is: "sv-list-item",
|
|
4585
|
-
item:
|
|
4595
|
+
item: L,
|
|
4586
4596
|
model: d.model,
|
|
4587
|
-
key:
|
|
4597
|
+
key: L.id
|
|
4588
4598
|
}, null, 8, ["item", "model"]))), 128))
|
|
4589
4599
|
], 42, io)), [
|
|
4590
|
-
[
|
|
4600
|
+
[A, !d.model.isEmpty]
|
|
4591
4601
|
]) : p("", !0)
|
|
4592
4602
|
], 2));
|
|
4593
4603
|
}
|
|
@@ -4625,7 +4635,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4625
4635
|
class: r(t.model.cssClasses.itemSeparator)
|
|
4626
4636
|
}, null, 2)) : p("", !0),
|
|
4627
4637
|
v("div", {
|
|
4628
|
-
style:
|
|
4638
|
+
style: k(t.model.getItemStyle(t.item)),
|
|
4629
4639
|
class: r(t.model.cssClasses.itemBody),
|
|
4630
4640
|
title: t.item.getTooltip(),
|
|
4631
4641
|
onMouseover: l[0] || (l[0] = (d) => t.model.onItemHover(t.item)),
|
|
@@ -4638,8 +4648,8 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4638
4648
|
}, null, 8, ["is", "item", "model"])
|
|
4639
4649
|
], 46, ao)
|
|
4640
4650
|
], 42, lo)), [
|
|
4641
|
-
[
|
|
4642
|
-
[w(
|
|
4651
|
+
[A, t.model.isItemVisible(t.item)],
|
|
4652
|
+
[w(Q), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4643
4653
|
]);
|
|
4644
4654
|
}
|
|
4645
4655
|
}), mo = /* @__PURE__ */ y({
|
|
@@ -4697,7 +4707,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4697
4707
|
model: {}
|
|
4698
4708
|
},
|
|
4699
4709
|
setup(u) {
|
|
4700
|
-
const e = u, n = E(), s =
|
|
4710
|
+
const e = u, n = E(), s = f(null), o = () => {
|
|
4701
4711
|
const t = s.value;
|
|
4702
4712
|
t && n.value.setComponentElement(t);
|
|
4703
4713
|
};
|
|
@@ -4709,7 +4719,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4709
4719
|
{ immediate: !0 }
|
|
4710
4720
|
), S(() => n.value), Z(() => {
|
|
4711
4721
|
o();
|
|
4712
|
-
}),
|
|
4722
|
+
}), P(() => {
|
|
4713
4723
|
n.value.dispose();
|
|
4714
4724
|
}), (t, l) => (i(), a("div", {
|
|
4715
4725
|
ref_key: "root",
|
|
@@ -4736,7 +4746,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4736
4746
|
const e = u, n = (s) => {
|
|
4737
4747
|
s.stopPropagation();
|
|
4738
4748
|
};
|
|
4739
|
-
return S(() => e.model),
|
|
4749
|
+
return S(() => e.model), z(() => {
|
|
4740
4750
|
const s = e.model;
|
|
4741
4751
|
s.isVisible && !s.isPositionSet && e.model.updateOnShowing();
|
|
4742
4752
|
}), Z(() => {
|
|
@@ -4753,7 +4763,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4753
4763
|
}, [
|
|
4754
4764
|
v("div", {
|
|
4755
4765
|
class: "sv-popup__container",
|
|
4756
|
-
style:
|
|
4766
|
+
style: k({
|
|
4757
4767
|
left: s.model.left,
|
|
4758
4768
|
top: s.model.top,
|
|
4759
4769
|
height: s.model.height,
|
|
@@ -4785,7 +4795,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4785
4795
|
])
|
|
4786
4796
|
], 4)
|
|
4787
4797
|
], 34)), [
|
|
4788
|
-
[
|
|
4798
|
+
[A, s.model.isVisible]
|
|
4789
4799
|
]);
|
|
4790
4800
|
}
|
|
4791
4801
|
}), wo = /* @__PURE__ */ y({
|
|
@@ -4796,7 +4806,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4796
4806
|
setup(u) {
|
|
4797
4807
|
return (e, n) => (i(), a("span", {
|
|
4798
4808
|
class: "sv-popup__pointer",
|
|
4799
|
-
style:
|
|
4809
|
+
style: k({
|
|
4800
4810
|
left: e.model.pointerTarget.left,
|
|
4801
4811
|
top: e.model.pointerTarget.top
|
|
4802
4812
|
})
|
|
@@ -4848,7 +4858,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4848
4858
|
}, [
|
|
4849
4859
|
v("div", {
|
|
4850
4860
|
class: r(t.survey.css.progressBar),
|
|
4851
|
-
style:
|
|
4861
|
+
style: k({ width: n.value }),
|
|
4852
4862
|
role: "progressbar",
|
|
4853
4863
|
"aria-valuemin": "0",
|
|
4854
4864
|
"aria-valuemax": "100",
|
|
@@ -4871,9 +4881,9 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4871
4881
|
container: {}
|
|
4872
4882
|
},
|
|
4873
4883
|
setup(u) {
|
|
4874
|
-
const e = u, n =
|
|
4884
|
+
const e = u, n = f(!1), s = f(!1), o = f(!1), t = f(!0), l = f(), d = H(() => e.survey.css);
|
|
4875
4885
|
let C = null;
|
|
4876
|
-
const
|
|
4886
|
+
const L = (h) => {
|
|
4877
4887
|
let q = l.value;
|
|
4878
4888
|
q.scrollLeft += (h ? -1 : 1) * 70;
|
|
4879
4889
|
};
|
|
@@ -4895,7 +4905,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4895
4905
|
C.dispose();
|
|
4896
4906
|
}), (h, q) => (i(), a("div", {
|
|
4897
4907
|
class: r(h.model.getRootCss(h.container)),
|
|
4898
|
-
style:
|
|
4908
|
+
style: k({ maxWidth: h.model.progressWidth }),
|
|
4899
4909
|
role: "progressbar",
|
|
4900
4910
|
"aria-valuemin": "0",
|
|
4901
4911
|
"aria-valuemax": "100",
|
|
@@ -4915,7 +4925,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4915
4925
|
}, [
|
|
4916
4926
|
v("div", {
|
|
4917
4927
|
class: r(h.model.getScrollButtonCss(n.value, !0)),
|
|
4918
|
-
onClick: q[0] || (q[0] = (
|
|
4928
|
+
onClick: q[0] || (q[0] = (b) => L(!0)),
|
|
4919
4929
|
role: "button"
|
|
4920
4930
|
}, null, 2),
|
|
4921
4931
|
v("div", {
|
|
@@ -4926,11 +4936,11 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4926
4936
|
v("ul", {
|
|
4927
4937
|
class: r(d.value.progressButtonsList)
|
|
4928
4938
|
}, [
|
|
4929
|
-
(i(!0), a(M, null, V(h.survey.visiblePages, (
|
|
4939
|
+
(i(!0), a(M, null, V(h.survey.visiblePages, (b, R) => (i(), a("li", {
|
|
4930
4940
|
key: "listelement" + R,
|
|
4931
4941
|
class: r(h.model.getListElementCss(R)),
|
|
4932
|
-
onClick: (N) => h.model.isListElementClickable(R) ? h.model.clickListElement(
|
|
4933
|
-
"data-page-number": h.model.getItemNumber(
|
|
4942
|
+
onClick: (N) => h.model.isListElementClickable(R) ? h.model.clickListElement(b) : null,
|
|
4943
|
+
"data-page-number": h.model.getItemNumber(b)
|
|
4934
4944
|
}, [
|
|
4935
4945
|
v("div", {
|
|
4936
4946
|
class: r(d.value.progressButtonsConnector)
|
|
@@ -4938,18 +4948,18 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4938
4948
|
t.value ? (i(), a("div", {
|
|
4939
4949
|
key: 0,
|
|
4940
4950
|
class: r(d.value.progressButtonsPageTitle),
|
|
4941
|
-
title:
|
|
4951
|
+
title: b.renderedNavigationTitle
|
|
4942
4952
|
}, [
|
|
4943
4953
|
c(m, {
|
|
4944
4954
|
is: "survey-string",
|
|
4945
|
-
locString:
|
|
4955
|
+
locString: b.locNavigationTitle
|
|
4946
4956
|
}, null, 8, ["locString"])
|
|
4947
4957
|
], 10, Mo)) : p("", !0),
|
|
4948
4958
|
t.value ? (i(), a("div", {
|
|
4949
4959
|
key: 1,
|
|
4950
4960
|
class: r(d.value.progressButtonsPageDescription),
|
|
4951
|
-
title:
|
|
4952
|
-
}, I(
|
|
4961
|
+
title: b.locNavigationDescription.renderedHtml
|
|
4962
|
+
}, I(b.locNavigationDescription.renderedHtml), 11, Io)) : p("", !0),
|
|
4953
4963
|
v("div", {
|
|
4954
4964
|
class: r(d.value.progressButtonsButton)
|
|
4955
4965
|
}, [
|
|
@@ -4959,14 +4969,14 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
4959
4969
|
v("div", {
|
|
4960
4970
|
class: r(d.value.progressButtonsButtonContent)
|
|
4961
4971
|
}, null, 2),
|
|
4962
|
-
v("span", null, I(h.model.getItemNumber(
|
|
4972
|
+
v("span", null, I(h.model.getItemNumber(b)), 1)
|
|
4963
4973
|
], 2)
|
|
4964
4974
|
], 10, Ho))), 128))
|
|
4965
4975
|
], 2)
|
|
4966
4976
|
], 2),
|
|
4967
4977
|
v("div", {
|
|
4968
4978
|
class: r(h.model.getScrollButtonCss(n.value, !1)),
|
|
4969
|
-
onClick: q[1] || (q[1] = (
|
|
4979
|
+
onClick: q[1] || (q[1] = (b) => L(!1)),
|
|
4970
4980
|
role: "button"
|
|
4971
4981
|
}, null, 2)
|
|
4972
4982
|
], 2),
|
|
@@ -5009,7 +5019,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
5009
5019
|
model: n.model.popupModel
|
|
5010
5020
|
}, null, 8, ["model"])
|
|
5011
5021
|
])), [
|
|
5012
|
-
[w(
|
|
5022
|
+
[w(Q)]
|
|
5013
5023
|
]) : (i(), g(m, {
|
|
5014
5024
|
key: 1,
|
|
5015
5025
|
is: "sv-list",
|
|
@@ -5019,7 +5029,7 @@ const Ft = /* @__PURE__ */ Dt(At, [["render", Wt]]), Ot = /* @__PURE__ */ v("use
|
|
|
5019
5029
|
}
|
|
5020
5030
|
});
|
|
5021
5031
|
/*!
|
|
5022
|
-
* surveyjs - Survey JavaScript library v2.2.
|
|
5032
|
+
* surveyjs - Survey JavaScript library v2.2.3
|
|
5023
5033
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5024
5034
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5025
5035
|
*/
|
|
@@ -5087,7 +5097,7 @@ var To = {
|
|
|
5087
5097
|
"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>'
|
|
5088
5098
|
};
|
|
5089
5099
|
/*!
|
|
5090
|
-
* surveyjs - Survey JavaScript library v2.2.
|
|
5100
|
+
* surveyjs - Survey JavaScript library v2.2.3
|
|
5091
5101
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5092
5102
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5093
5103
|
*/
|
|
@@ -5168,7 +5178,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5168
5178
|
survey: {}
|
|
5169
5179
|
},
|
|
5170
5180
|
setup(u) {
|
|
5171
|
-
const e = u, n =
|
|
5181
|
+
const e = u, n = f(), s = f(""), o = f(1), t = H(() => {
|
|
5172
5182
|
const R = e.survey ? e.survey : e.model;
|
|
5173
5183
|
return De(R);
|
|
5174
5184
|
}), l = H(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
@@ -5176,30 +5186,30 @@ const ae = /* @__PURE__ */ y({
|
|
|
5176
5186
|
return !!t.value && R + o.value.toString();
|
|
5177
5187
|
}, C = H(
|
|
5178
5188
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5179
|
-
),
|
|
5189
|
+
), L = H(() => t.value.css), h = H(() => "page" + d()), q = () => C.value ? (s.value || (s.value = t.value.processedCompletedHtml), s.value) : "", b = (R) => {
|
|
5180
5190
|
if (R) {
|
|
5181
5191
|
var N = n.value;
|
|
5182
5192
|
N && R.afterRenderSurvey(N), R.renderCallback = () => {
|
|
5183
|
-
var
|
|
5184
|
-
o.value++, (
|
|
5193
|
+
var K, j;
|
|
5194
|
+
o.value++, (j = (K = he()) == null ? void 0 : K.proxy) == null || j.$forceUpdate();
|
|
5185
5195
|
}, R.startTimerFromUI();
|
|
5186
5196
|
}
|
|
5187
5197
|
};
|
|
5188
5198
|
return S(
|
|
5189
5199
|
() => t.value,
|
|
5190
5200
|
(R, N) => {
|
|
5191
|
-
R && N &&
|
|
5201
|
+
R && N && b(R);
|
|
5192
5202
|
},
|
|
5193
5203
|
(R) => {
|
|
5194
5204
|
R.stopTimer(), R.renderCallback = void 0;
|
|
5195
5205
|
}
|
|
5196
5206
|
), Z(() => {
|
|
5197
|
-
|
|
5198
|
-
}),
|
|
5207
|
+
b(t.value);
|
|
5208
|
+
}), P(() => {
|
|
5199
5209
|
t.value.stopTimer(), t.value.beforeDestroySurveyElement(), t.value.renderCallback = void 0;
|
|
5200
5210
|
}), (R, N) => (i(), a("div", {
|
|
5201
5211
|
class: r(t.value.getRootCss()),
|
|
5202
|
-
style:
|
|
5212
|
+
style: k(t.value.themeVariables),
|
|
5203
5213
|
lang: t.value.locale || "en",
|
|
5204
5214
|
dir: t.value.localeDir,
|
|
5205
5215
|
ref_key: "root",
|
|
@@ -5209,7 +5219,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5209
5219
|
is: "sv-scroll",
|
|
5210
5220
|
disabled: t.value.rootScrollDisabled
|
|
5211
5221
|
}, {
|
|
5212
|
-
default:
|
|
5222
|
+
default: D(() => [
|
|
5213
5223
|
t.value.needRenderIcons ? (i(), g(m, {
|
|
5214
5224
|
key: 0,
|
|
5215
5225
|
is: "sv-svg-bundle"
|
|
@@ -5220,18 +5230,18 @@ const ae = /* @__PURE__ */ y({
|
|
|
5220
5230
|
c(m, { is: "survey-popup-modal" }),
|
|
5221
5231
|
t.value.renderBackgroundImage ? (i(), a("div", {
|
|
5222
5232
|
key: 0,
|
|
5223
|
-
class: r(
|
|
5224
|
-
style:
|
|
5233
|
+
class: r(L.value.rootBackgroundImage),
|
|
5234
|
+
style: k(t.value.backgroundImageStyle)
|
|
5225
5235
|
}, null, 6)) : p("", !0),
|
|
5226
5236
|
v("form", Zo, [
|
|
5227
5237
|
c(m, {
|
|
5228
5238
|
is: "sv-scroll",
|
|
5229
5239
|
disabled: t.value.formScrollDisabled
|
|
5230
5240
|
}, {
|
|
5231
|
-
default:
|
|
5241
|
+
default: D(() => [
|
|
5232
5242
|
t.value.hasLogo ? p("", !0) : (i(), a("div", $o)),
|
|
5233
5243
|
v("div", {
|
|
5234
|
-
class: r(
|
|
5244
|
+
class: r(L.value.container)
|
|
5235
5245
|
}, [
|
|
5236
5246
|
t.value.headerView === "basic" ? (i(), g(m, {
|
|
5237
5247
|
key: 0,
|
|
@@ -5263,7 +5273,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5263
5273
|
}, null, 8, ["survey"]),
|
|
5264
5274
|
v("div", {
|
|
5265
5275
|
class: r(t.value.bodyCss),
|
|
5266
|
-
style:
|
|
5276
|
+
style: k({ maxWidth: t.value.renderedWidth }),
|
|
5267
5277
|
id: l.value
|
|
5268
5278
|
}, [
|
|
5269
5279
|
c(m, {
|
|
@@ -5277,7 +5287,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5277
5287
|
key: h.value,
|
|
5278
5288
|
survey: t.value,
|
|
5279
5289
|
page: t.value.activePage,
|
|
5280
|
-
css:
|
|
5290
|
+
css: L.value
|
|
5281
5291
|
}, null, 8, ["survey", "page", "css"])),
|
|
5282
5292
|
c(m, {
|
|
5283
5293
|
is: "sv-components-container",
|
|
@@ -5328,7 +5338,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5328
5338
|
}, null, 10, Wo)) : p("", !0),
|
|
5329
5339
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5330
5340
|
key: 5,
|
|
5331
|
-
class: r(
|
|
5341
|
+
class: r(L.value.bodyEmpty)
|
|
5332
5342
|
}, I(t.value.emptySurveyText), 3)) : p("", !0)
|
|
5333
5343
|
], 2)
|
|
5334
5344
|
]),
|
|
@@ -5355,7 +5365,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5355
5365
|
return S(() => e.model), (n, s) => n.model.isDisplayed ? (i(), a("div", {
|
|
5356
5366
|
key: 0,
|
|
5357
5367
|
class: r(n.model.css),
|
|
5358
|
-
style:
|
|
5368
|
+
style: k({ visibility: n.model.active ? "visible" : "hidden" }),
|
|
5359
5369
|
role: "alert",
|
|
5360
5370
|
"aria-live": "polite"
|
|
5361
5371
|
}, [
|
|
@@ -5421,25 +5431,25 @@ const ae = /* @__PURE__ */ y({
|
|
|
5421
5431
|
}, l = () => {
|
|
5422
5432
|
n.value.onScroll();
|
|
5423
5433
|
}, d = () => {
|
|
5424
|
-
let
|
|
5425
|
-
return n.value.isCollapsed && (
|
|
5434
|
+
let L = n.value.cssHeaderRoot;
|
|
5435
|
+
return n.value.isCollapsed && (L += " " + n.value.cssRootCollapsedMod), L;
|
|
5426
5436
|
};
|
|
5427
5437
|
S(() => n.value);
|
|
5428
5438
|
const C = W(
|
|
5429
5439
|
() => e.survey,
|
|
5430
|
-
(
|
|
5431
|
-
const h = new Ge(null,
|
|
5440
|
+
(L) => {
|
|
5441
|
+
const h = new Ge(null, L);
|
|
5432
5442
|
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;
|
|
5433
5443
|
},
|
|
5434
5444
|
{
|
|
5435
5445
|
immediate: !0
|
|
5436
5446
|
}
|
|
5437
5447
|
);
|
|
5438
|
-
return
|
|
5448
|
+
return P(() => {
|
|
5439
5449
|
C();
|
|
5440
|
-
}), (
|
|
5450
|
+
}), (L, h) => n.value.isShowing ? (i(), a("div", {
|
|
5441
5451
|
key: 0,
|
|
5442
|
-
style:
|
|
5452
|
+
style: k({
|
|
5443
5453
|
maxWidth: n.value.renderedWidth,
|
|
5444
5454
|
width: n.value.renderedWidth
|
|
5445
5455
|
}),
|
|
@@ -5510,7 +5520,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5510
5520
|
v("div", {
|
|
5511
5521
|
class: r(n.value.cssBody)
|
|
5512
5522
|
}, [
|
|
5513
|
-
c(ae, { survey:
|
|
5523
|
+
c(ae, { survey: L.survey }, null, 8, ["survey"])
|
|
5514
5524
|
], 2)
|
|
5515
5525
|
], 2)
|
|
5516
5526
|
], 38)) : p("", !0);
|
|
@@ -5522,7 +5532,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5522
5532
|
css: {}
|
|
5523
5533
|
},
|
|
5524
5534
|
setup(u) {
|
|
5525
|
-
const e = u, n =
|
|
5535
|
+
const e = u, n = f(), s = H(
|
|
5526
5536
|
() => e.question.customWidget.isDefaultRender
|
|
5527
5537
|
), o = H(
|
|
5528
5538
|
() => !!e.question.customWidget.htmlTemplate
|
|
@@ -5560,7 +5570,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5560
5570
|
};
|
|
5561
5571
|
return t.onVisibilityChanged.add(l), t.model.isVisible = !0, e.value = t, t;
|
|
5562
5572
|
}
|
|
5563
|
-
return te.showDialog || (te.showDialog = n,
|
|
5573
|
+
return te.showDialog || (te.showDialog = n, P(() => {
|
|
5564
5574
|
te.showDialog = void 0;
|
|
5565
5575
|
})), (s, o) => e.value ? (i(), g(Ae, {
|
|
5566
5576
|
key: 0,
|
|
@@ -5579,16 +5589,16 @@ const ae = /* @__PURE__ */ y({
|
|
|
5579
5589
|
getRef: { type: Function }
|
|
5580
5590
|
},
|
|
5581
5591
|
setup(u) {
|
|
5582
|
-
const e = u, n =
|
|
5592
|
+
const e = u, n = f(
|
|
5583
5593
|
null
|
|
5584
5594
|
), s = function(t) {
|
|
5585
5595
|
n.value = t, e.getRef && e.getRef(t);
|
|
5586
5596
|
}, o = H(() => e.model.getTextValue() || "");
|
|
5587
5597
|
return Z(() => {
|
|
5588
5598
|
e.model.setElement(n.value);
|
|
5589
|
-
}),
|
|
5599
|
+
}), z(() => {
|
|
5590
5600
|
e.model.setElement(n.value);
|
|
5591
|
-
}),
|
|
5601
|
+
}), P(() => {
|
|
5592
5602
|
e.model.resetElement();
|
|
5593
5603
|
}), (t, l) => (i(), a("textarea", {
|
|
5594
5604
|
ref: (d) => s(d),
|
|
@@ -5622,7 +5632,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5622
5632
|
"aria-describedby": t.model.ariaDescribedBy,
|
|
5623
5633
|
"aria-invalid": t.model.ariaInvalid,
|
|
5624
5634
|
"aria-errormessage": t.model.ariaErrormessage,
|
|
5625
|
-
style:
|
|
5635
|
+
style: k({ resize: t.model.question.resizeStyle })
|
|
5626
5636
|
}, null, 46, Xo));
|
|
5627
5637
|
}
|
|
5628
5638
|
}), Yo = /* @__PURE__ */ y({
|
|
@@ -5645,7 +5655,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5645
5655
|
css: {}
|
|
5646
5656
|
},
|
|
5647
5657
|
setup(u) {
|
|
5648
|
-
const e = u, n =
|
|
5658
|
+
const e = u, n = f(null);
|
|
5649
5659
|
T(e, n);
|
|
5650
5660
|
const s = H(() => e.question.contentPanel);
|
|
5651
5661
|
return (o, t) => (i(), g(m, {
|
|
@@ -5664,7 +5674,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5664
5674
|
css: {}
|
|
5665
5675
|
},
|
|
5666
5676
|
setup(u) {
|
|
5667
|
-
const e = u, n =
|
|
5677
|
+
const e = u, n = f(null);
|
|
5668
5678
|
T(e, n);
|
|
5669
5679
|
const s = H(() => e.question.contentQuestion), o = (t) => re(t);
|
|
5670
5680
|
return (t, l) => (i(), g(m, {
|
|
@@ -5691,7 +5701,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5691
5701
|
o.model.showProgress ? (i(), a("svg", {
|
|
5692
5702
|
key: 0,
|
|
5693
5703
|
class: r(o.model.getProgressCss()),
|
|
5694
|
-
style:
|
|
5704
|
+
style: k({ strokeDasharray: ce, strokeDashoffset: n.value })
|
|
5695
5705
|
}, si, 6)) : p("", !0),
|
|
5696
5706
|
v("div", {
|
|
5697
5707
|
class: r(o.model.textContainerCss)
|
|
@@ -5708,7 +5718,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5708
5718
|
key: 1,
|
|
5709
5719
|
class: r(o.model.survey.getCss().timerRoot)
|
|
5710
5720
|
}, I(s.value), 3)), [
|
|
5711
|
-
[
|
|
5721
|
+
[A, o.model.isRunning && !o.model.showTimerAsClock]
|
|
5712
5722
|
]);
|
|
5713
5723
|
}
|
|
5714
5724
|
}), ti = { class: "sd-loading-indicator" }, oi = /* @__PURE__ */ y({
|
|
@@ -5735,22 +5745,22 @@ const ae = /* @__PURE__ */ y({
|
|
|
5735
5745
|
return n.survey = e.survey, e.model;
|
|
5736
5746
|
}), Z(() => {
|
|
5737
5747
|
e.model.processResponsiveness();
|
|
5738
|
-
}),
|
|
5748
|
+
}), z(() => {
|
|
5739
5749
|
e.model.processResponsiveness();
|
|
5740
5750
|
}), (n, s) => n.survey.headerView === "advanced" && !n.model.isEmpty ? (i(), a("div", {
|
|
5741
5751
|
key: 0,
|
|
5742
5752
|
class: r(n.model.headerClasses),
|
|
5743
|
-
style:
|
|
5753
|
+
style: k({ height: n.model.renderedHeight })
|
|
5744
5754
|
}, [
|
|
5745
5755
|
n.model.backgroundImage ? (i(), a("div", {
|
|
5746
5756
|
key: 0,
|
|
5747
5757
|
class: r(n.model.backgroundImageClasses),
|
|
5748
|
-
style:
|
|
5758
|
+
style: k(n.model.backgroundImageStyle)
|
|
5749
5759
|
}, null, 6)) : p("", !0),
|
|
5750
5760
|
n.survey.isMobile ? p("", !0) : (i(), a("div", {
|
|
5751
5761
|
key: 1,
|
|
5752
5762
|
class: r(n.model.contentClasses),
|
|
5753
|
-
style:
|
|
5763
|
+
style: k({ maxWidth: n.model.maxWidth })
|
|
5754
5764
|
}, [
|
|
5755
5765
|
(i(!0), a(M, null, V(n.model.cells, (o, t) => (i(), g(m, {
|
|
5756
5766
|
is: "sv-header-cell",
|
|
@@ -5777,11 +5787,11 @@ const ae = /* @__PURE__ */ y({
|
|
|
5777
5787
|
setup(u) {
|
|
5778
5788
|
return (e, n) => (i(), a("div", {
|
|
5779
5789
|
class: r(e.model.css),
|
|
5780
|
-
style:
|
|
5790
|
+
style: k(e.model.style)
|
|
5781
5791
|
}, [
|
|
5782
5792
|
v("div", {
|
|
5783
5793
|
class: "sv-header__cell-content",
|
|
5784
|
-
style:
|
|
5794
|
+
style: k(e.model.contentStyle)
|
|
5785
5795
|
}, [
|
|
5786
5796
|
e.model.showLogo ? (i(), a("div", li, [
|
|
5787
5797
|
v("div", {
|
|
@@ -5793,14 +5803,14 @@ const ae = /* @__PURE__ */ y({
|
|
|
5793
5803
|
width: e.model.survey.renderedLogoWidth,
|
|
5794
5804
|
height: e.model.survey.renderedLogoHeight,
|
|
5795
5805
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5796
|
-
style:
|
|
5806
|
+
style: k({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5797
5807
|
}, null, 14, ai)
|
|
5798
5808
|
], 2)
|
|
5799
5809
|
])) : p("", !0),
|
|
5800
5810
|
e.model.showTitle ? (i(), a("div", {
|
|
5801
5811
|
key: 1,
|
|
5802
5812
|
class: "sv-header__title",
|
|
5803
|
-
style:
|
|
5813
|
+
style: k({ maxWidth: e.model.textAreaWidth })
|
|
5804
5814
|
}, [
|
|
5805
5815
|
c(m, {
|
|
5806
5816
|
is: "survey-element-title",
|
|
@@ -5811,7 +5821,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5811
5821
|
e.model.showDescription ? (i(), a("div", {
|
|
5812
5822
|
key: 2,
|
|
5813
5823
|
class: "sv-header__description",
|
|
5814
|
-
style:
|
|
5824
|
+
style: k({ maxWidth: e.model.textAreaWidth })
|
|
5815
5825
|
}, [
|
|
5816
5826
|
e.model.survey.renderedHasDescription ? (i(), a("div", {
|
|
5817
5827
|
key: 0,
|
|
@@ -5846,14 +5856,14 @@ const ae = /* @__PURE__ */ y({
|
|
|
5846
5856
|
width: e.model.survey.renderedLogoWidth,
|
|
5847
5857
|
height: e.model.survey.renderedLogoHeight,
|
|
5848
5858
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5849
|
-
style:
|
|
5859
|
+
style: k({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5850
5860
|
}, null, 14, pi)
|
|
5851
5861
|
], 2)
|
|
5852
5862
|
])) : p("", !0),
|
|
5853
5863
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
5854
5864
|
key: 1,
|
|
5855
5865
|
class: "sv-header__title",
|
|
5856
|
-
style:
|
|
5866
|
+
style: k({ maxWidth: e.model.renderedTextAreaWidth })
|
|
5857
5867
|
}, [
|
|
5858
5868
|
c(m, {
|
|
5859
5869
|
is: "survey-element-title",
|
|
@@ -5864,7 +5874,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
5864
5874
|
e.model.survey.renderedHasDescription ? (i(), a("div", {
|
|
5865
5875
|
key: 2,
|
|
5866
5876
|
class: "sv-header__description",
|
|
5867
|
-
style:
|
|
5877
|
+
style: k({ maxWidth: e.model.renderedTextAreaWidth })
|
|
5868
5878
|
}, [
|
|
5869
5879
|
e.model.survey.renderedHasDescription ? (i(), a("div", {
|
|
5870
5880
|
key: 0,
|
|
@@ -5886,22 +5896,22 @@ const ae = /* @__PURE__ */ y({
|
|
|
5886
5896
|
css: {}
|
|
5887
5897
|
},
|
|
5888
5898
|
setup(u) {
|
|
5889
|
-
const e = u, n =
|
|
5899
|
+
const e = u, n = f(), s = (C) => C.isPanel ? "survey-panel" : "survey-question", o = H(() => {
|
|
5890
5900
|
const C = e.element.survey;
|
|
5891
5901
|
if (C) {
|
|
5892
|
-
const
|
|
5893
|
-
if (
|
|
5894
|
-
return
|
|
5902
|
+
const L = C.getElementWrapperComponentName(e.element);
|
|
5903
|
+
if (L)
|
|
5904
|
+
return L;
|
|
5895
5905
|
}
|
|
5896
5906
|
return s(e.element);
|
|
5897
5907
|
}), t = (C) => C.cssClasses ? C.rootStyle : {}, l = H(() => {
|
|
5898
|
-
const C = e.element,
|
|
5908
|
+
const C = e.element, L = C.survey;
|
|
5899
5909
|
let h;
|
|
5900
|
-
return
|
|
5910
|
+
return L && (h = L.getElementWrapperComponentData(C)), {
|
|
5901
5911
|
componentName: s(C),
|
|
5902
5912
|
componentData: {
|
|
5903
5913
|
element: C,
|
|
5904
|
-
survey:
|
|
5914
|
+
survey: L,
|
|
5905
5915
|
row: e.row,
|
|
5906
5916
|
css: e.css,
|
|
5907
5917
|
data: h
|
|
@@ -5909,18 +5919,18 @@ const ae = /* @__PURE__ */ y({
|
|
|
5909
5919
|
};
|
|
5910
5920
|
}), d = W(
|
|
5911
5921
|
() => e.element,
|
|
5912
|
-
(C,
|
|
5913
|
-
|
|
5922
|
+
(C, L) => {
|
|
5923
|
+
L && L.setWrapperElement(void 0), C.setWrapperElement(n.value);
|
|
5914
5924
|
}
|
|
5915
5925
|
);
|
|
5916
5926
|
return Z(() => {
|
|
5917
5927
|
e.element.setWrapperElement(n.value);
|
|
5918
|
-
}),
|
|
5928
|
+
}), P(() => {
|
|
5919
5929
|
e.element.setWrapperElement(void 0), d();
|
|
5920
|
-
}), (C,
|
|
5930
|
+
}), (C, L) => (i(), a("div", {
|
|
5921
5931
|
ref_key: "root",
|
|
5922
5932
|
ref: n,
|
|
5923
|
-
style:
|
|
5933
|
+
style: k(t(C.element)),
|
|
5924
5934
|
class: r(C.element.cssClasses.questionWrapper)
|
|
5925
5935
|
}, [
|
|
5926
5936
|
C.row.isNeedRender ? (i(), g(m, $({
|
|
@@ -6028,7 +6038,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6028
6038
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6029
6039
|
v("span", null, I(n.value.chooseButtonText), 1)
|
|
6030
6040
|
], 10, qi)), [
|
|
6031
|
-
[w(
|
|
6041
|
+
[w(Q)]
|
|
6032
6042
|
]);
|
|
6033
6043
|
}
|
|
6034
6044
|
}), bi = /* @__PURE__ */ y({
|
|
@@ -6055,7 +6065,7 @@ const ae = /* @__PURE__ */ y({
|
|
|
6055
6065
|
question: {}
|
|
6056
6066
|
},
|
|
6057
6067
|
setup(u) {
|
|
6058
|
-
const e = u, n =
|
|
6068
|
+
const e = u, n = f();
|
|
6059
6069
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
6060
6070
|
role: "group",
|
|
6061
6071
|
class: r(s.question.cssClasses.root),
|
|
@@ -6143,7 +6153,7 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6143
6153
|
question: {}
|
|
6144
6154
|
},
|
|
6145
6155
|
setup(u) {
|
|
6146
|
-
const e = u, n =
|
|
6156
|
+
const e = u, n = f(null);
|
|
6147
6157
|
return T(e, n), (s, o) => (i(), a("div", {
|
|
6148
6158
|
class: r(s.question.cssClasses.rootDropdown),
|
|
6149
6159
|
ref_key: "root",
|
|
@@ -6162,7 +6172,7 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6162
6172
|
data: {}
|
|
6163
6173
|
},
|
|
6164
6174
|
setup(u) {
|
|
6165
|
-
const e = u, n = H(() => e.data), s =
|
|
6175
|
+
const e = u, n = H(() => e.data), s = U(() => n.value.locLogo);
|
|
6166
6176
|
return (o, t) => (i(), a("div", {
|
|
6167
6177
|
class: r(n.value.logoClassNames)
|
|
6168
6178
|
}, [
|
|
@@ -6172,7 +6182,7 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6172
6182
|
width: n.value.renderedLogoWidth,
|
|
6173
6183
|
height: n.value.renderedLogoHeight,
|
|
6174
6184
|
alt: n.value.locTitle.renderedHtml,
|
|
6175
|
-
style:
|
|
6185
|
+
style: k({
|
|
6176
6186
|
objectFit: n.value.logoFit,
|
|
6177
6187
|
width: n.value.renderedStyleLogoWidth,
|
|
6178
6188
|
height: n.value.renderedStyleLogoHeight
|
|
@@ -6183,19 +6193,19 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6183
6193
|
}), Ri = /* @__PURE__ */ y({
|
|
6184
6194
|
__name: "SvgBundle",
|
|
6185
6195
|
setup(u) {
|
|
6186
|
-
const e =
|
|
6196
|
+
const e = f(), n = () => {
|
|
6187
6197
|
e.value && (e.value.innerHTML = _.iconsRenderedHtml());
|
|
6188
6198
|
};
|
|
6189
6199
|
return Z(() => {
|
|
6190
6200
|
n(), _.onIconsChanged.add(n);
|
|
6191
|
-
}),
|
|
6201
|
+
}), P(() => {
|
|
6192
6202
|
_.onIconsChanged.remove(n);
|
|
6193
6203
|
}), (s, o) => B((i(), a("svg", {
|
|
6194
6204
|
id: "sv-icon-holder-global-container",
|
|
6195
6205
|
ref_key: "root",
|
|
6196
6206
|
ref: e
|
|
6197
6207
|
}, null, 512)), [
|
|
6198
|
-
[
|
|
6208
|
+
[A, !1]
|
|
6199
6209
|
]);
|
|
6200
6210
|
}
|
|
6201
6211
|
}), Ti = ["id"], Bi = /* @__PURE__ */ y({
|
|
@@ -6238,7 +6248,7 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6238
6248
|
href: e.item.content,
|
|
6239
6249
|
title: e.item.name,
|
|
6240
6250
|
download: e.item.name,
|
|
6241
|
-
style:
|
|
6251
|
+
style: k({ width: e.question.imageWidth })
|
|
6242
6252
|
}, I(e.item.name), 13, Zi)
|
|
6243
6253
|
], 2)) : p("", !0),
|
|
6244
6254
|
v("div", {
|
|
@@ -6247,7 +6257,7 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6247
6257
|
e.question.canPreviewImage(e.item) ? (i(), a("img", {
|
|
6248
6258
|
key: 0,
|
|
6249
6259
|
src: e.item.content,
|
|
6250
|
-
style:
|
|
6260
|
+
style: k({
|
|
6251
6261
|
height: e.question.imageHeight,
|
|
6252
6262
|
width: e.question.imageWidth
|
|
6253
6263
|
}),
|
|
@@ -6287,11 +6297,11 @@ const Ii = /* @__PURE__ */ y({
|
|
|
6287
6297
|
href: e.item.content,
|
|
6288
6298
|
title: e.item.name,
|
|
6289
6299
|
download: e.item.name,
|
|
6290
|
-
style:
|
|
6300
|
+
style: k({ width: e.question.imageWidth })
|
|
6291
6301
|
}, I(e.item.name), 13, Di)
|
|
6292
6302
|
], 2)) : p("", !0)
|
|
6293
6303
|
], 2)), [
|
|
6294
|
-
[
|
|
6304
|
+
[A, e.item]
|
|
6295
6305
|
]);
|
|
6296
6306
|
}
|
|
6297
6307
|
});
|
|
@@ -6311,7 +6321,7 @@ He(
|
|
|
6311
6321
|
);
|
|
6312
6322
|
const Fi = {
|
|
6313
6323
|
install(u) {
|
|
6314
|
-
u.component("SurveyComponent", ae), u.component("PopupSurveyComponent", fe), u.directive("key2click",
|
|
6324
|
+
u.component("SurveyComponent", ae), u.component("PopupSurveyComponent", fe), u.directive("key2click", Q), He((e, n) => {
|
|
6315
6325
|
u.component(e, n), F.Instance.registerComponent(e, e);
|
|
6316
6326
|
});
|
|
6317
6327
|
}
|
|
@@ -6321,10 +6331,10 @@ export {
|
|
|
6321
6331
|
fe as PopupSurveyComponent,
|
|
6322
6332
|
ae as SurveyComponent,
|
|
6323
6333
|
m as SvComponent,
|
|
6324
|
-
|
|
6334
|
+
Q as key2ClickDirective,
|
|
6325
6335
|
Fi as surveyPlugin,
|
|
6326
6336
|
S as useBase,
|
|
6327
6337
|
ne as useComputedArray,
|
|
6328
|
-
|
|
6338
|
+
U as useLocString,
|
|
6329
6339
|
T as useQuestion
|
|
6330
6340
|
};
|