survey-vue3-ui 1.12.33 → 1.12.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var He = Object.defineProperty;
|
|
2
2
|
var Ie = (u, o, e) => o in u ? He(u, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[o] = e;
|
|
3
3
|
var G = (u, o, e) => (Ie(u, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
|
-
import { defineComponent as h, computed as L, openBlock as r, createBlock as C, resolveDynamicComponent as ge, normalizeProps as ue, guardReactiveProps as de, createSlots as Se, renderList as S, withCtx as E, renderSlot as Ce, shallowReactive as Be, watch as
|
|
5
|
-
import { Base as Ee, RendererFactory as _, Helpers as We, DropdownMultiSelectListModel as
|
|
4
|
+
import { defineComponent as h, computed as L, openBlock as r, createBlock as C, resolveDynamicComponent as ge, normalizeProps as ue, guardReactiveProps as de, createSlots as Se, renderList as S, withCtx as E, renderSlot as Ce, shallowReactive as Be, watch as O, onBeforeUnmount as U, onMounted as $, ref as b, shallowRef as W, watchEffect as Ve, triggerRef as se, unref as k, isRef as Re, nextTick as Te, createElementBlock as l, normalizeClass as a, createVNode as y, createCommentVNode as c, Fragment as I, mergeProps as D, normalizeStyle as M, createElementVNode as g, onUnmounted as N, withDirectives as R, vShow as P, toDisplayString as H, vModelRadio as Y, vModelCheckbox as oe, vModelSelect as Ze, onUpdated as x, vModelText as $e, getCurrentInstance as ye, createStaticVNode as De, toRaw as Ae, Teleport as Pe, useSlots as Ne } from "vue";
|
|
5
|
+
import { Base as Ee, RendererFactory as _, Helpers as We, DropdownMultiSelectListModel as Oe, doKey2ClickUp as he, createSvg as Fe, doKey2ClickDown as ze, doKey2ClickBlur as Ue, ActionDropdownViewModel as Ke, createPopupViewModel as je, SurveyProgressModel as ve, ProgressButtonsResponsivityManager as Qe, addIconsToThemeSet as qe, SvgRegistry as X, PopupSurveyModel as Ge, settings as F, createDialogOptions as Je, createPopupModalViewModel as Xe, ButtonGroupItemModel as Ye, SurveyModel as xe } from "survey-core";
|
|
6
6
|
const ae = class {
|
|
7
7
|
constructor() {
|
|
8
8
|
G(this, "creatorHash", {});
|
|
@@ -52,7 +52,7 @@ class _e {
|
|
|
52
52
|
this.element = o;
|
|
53
53
|
}
|
|
54
54
|
async add() {
|
|
55
|
-
const o =
|
|
55
|
+
const o = Te();
|
|
56
56
|
this.currentNextTickPromise !== o && (this.currentNextTickPromise = o, await o, o == this.currentNextTickPromise && this.element.afterRerender());
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -74,7 +74,7 @@ function es(u) {
|
|
|
74
74
|
}, s[n] = t;
|
|
75
75
|
}
|
|
76
76
|
}), u.getPropertyValueCoreHandler = (s, n) => k(s[n]), u.setPropertyValueCoreHandler = (s, n, t) => {
|
|
77
|
-
|
|
77
|
+
Re(s[n]) ? s[n].value = t : s[n] = t, e.add();
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
u.enableOnElementRerenderedEvent(), u.__vueImplemented++;
|
|
@@ -90,7 +90,7 @@ function ce(u) {
|
|
|
90
90
|
}), delete u.__vueImplemented, u.disableOnElementRerenderedEvent(), u.createArrayCoreHandler = void 0, u.getPropertyValueCoreHandler = void 0, u.setPropertyValueCoreHandler = void 0));
|
|
91
91
|
}
|
|
92
92
|
function B(u, o, e) {
|
|
93
|
-
const s =
|
|
93
|
+
const s = O(
|
|
94
94
|
u,
|
|
95
95
|
(t, i) => {
|
|
96
96
|
t && o && o(t, i), i && (ce(i), e && e(i)), es(t);
|
|
@@ -107,7 +107,7 @@ function B(u, o, e) {
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function T(u, o, e, s) {
|
|
111
111
|
B(() => u.question, e, s), $(() => {
|
|
112
112
|
u.question && u.question.afterRenderQuestionElement(o.value);
|
|
113
113
|
}), U(() => {
|
|
@@ -119,7 +119,7 @@ function K(u) {
|
|
|
119
119
|
o.value = t.renderedHtml;
|
|
120
120
|
}, s = (t) => {
|
|
121
121
|
o.value = t.renderedHtml, t.onStringChanged.add(e);
|
|
122
|
-
}, n =
|
|
122
|
+
}, n = O(
|
|
123
123
|
u,
|
|
124
124
|
(t, i) => {
|
|
125
125
|
i && i.onStringChanged.remove(e), s(t);
|
|
@@ -305,7 +305,7 @@ const os = /* @__PURE__ */ h({
|
|
|
305
305
|
B(() => o.element);
|
|
306
306
|
const d = () => {
|
|
307
307
|
e.value && o.element.afterRender(e.value);
|
|
308
|
-
}, m =
|
|
308
|
+
}, m = O(
|
|
309
309
|
() => e.value,
|
|
310
310
|
() => {
|
|
311
311
|
d();
|
|
@@ -502,7 +502,7 @@ const os = /* @__PURE__ */ h({
|
|
|
502
502
|
element: n.element,
|
|
503
503
|
css: n.css
|
|
504
504
|
}, null, 8, ["element", "css"]),
|
|
505
|
-
n.element.hasDescriptionUnderTitle ?
|
|
505
|
+
n.element.hasDescriptionUnderTitle ? R((r(), l("div", {
|
|
506
506
|
key: 0,
|
|
507
507
|
class: a(n.element.cssDescription),
|
|
508
508
|
id: n.element.ariaDescriptionId
|
|
@@ -596,7 +596,7 @@ const os = /* @__PURE__ */ h({
|
|
|
596
596
|
},
|
|
597
597
|
setup(u) {
|
|
598
598
|
const o = u, e = b(null);
|
|
599
|
-
return
|
|
599
|
+
return T(o, e), (s, n) => s.question.isReadOnlyRenderDiv() ? (r(), l("div", {
|
|
600
600
|
key: 0,
|
|
601
601
|
ref_key: "root",
|
|
602
602
|
ref: e
|
|
@@ -715,7 +715,7 @@ const os = /* @__PURE__ */ h({
|
|
|
715
715
|
}), Ss = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Bs = {
|
|
716
716
|
key: 0,
|
|
717
717
|
class: "sv-hidden"
|
|
718
|
-
}, Vs = { key: 7 },
|
|
718
|
+
}, Vs = { key: 7 }, Rs = ["value"], we = /* @__PURE__ */ h({
|
|
719
719
|
inheritAttrs: !1,
|
|
720
720
|
__name: "SelectBase",
|
|
721
721
|
props: {
|
|
@@ -724,7 +724,7 @@ const os = /* @__PURE__ */ h({
|
|
|
724
724
|
},
|
|
725
725
|
setup(u) {
|
|
726
726
|
const o = u, e = b(null);
|
|
727
|
-
|
|
727
|
+
T(o, e);
|
|
728
728
|
const s = (t) => o.question.getItemValueWrapperComponentName(t) || o.question.itemComponent, n = (t) => ({
|
|
729
729
|
componentName: o.question.itemComponent,
|
|
730
730
|
componentData: {
|
|
@@ -795,11 +795,11 @@ const os = /* @__PURE__ */ h({
|
|
|
795
795
|
t.question.clearValue(!0);
|
|
796
796
|
}),
|
|
797
797
|
value: t.question.clearButtonCaption
|
|
798
|
-
}, null, 10,
|
|
798
|
+
}, null, 10, Rs)
|
|
799
799
|
])) : c("", !0)
|
|
800
800
|
], 10, Ss));
|
|
801
801
|
}
|
|
802
|
-
}),
|
|
802
|
+
}), Ts = /* @__PURE__ */ h({
|
|
803
803
|
inheritAttrs: !1,
|
|
804
804
|
__name: "Checkbox",
|
|
805
805
|
props: {
|
|
@@ -926,7 +926,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
926
926
|
onMousedown: d[1] || (d[1] = (m) => i.question.onMouseDown()),
|
|
927
927
|
class: a(s(i.item))
|
|
928
928
|
}, [
|
|
929
|
-
|
|
929
|
+
R(g("input", {
|
|
930
930
|
type: "radio",
|
|
931
931
|
name: i.question.questionName,
|
|
932
932
|
value: i.item.value,
|
|
@@ -964,7 +964,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
964
964
|
], 34)
|
|
965
965
|
], 2));
|
|
966
966
|
}
|
|
967
|
-
}), Ws = ["src"],
|
|
967
|
+
}), Ws = ["src"], Os = ["title"], Fs = { key: 0 }, zs = /* @__PURE__ */ h({
|
|
968
968
|
inheritAttrs: !1,
|
|
969
969
|
__name: "Signaturepad",
|
|
970
970
|
props: {
|
|
@@ -972,7 +972,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
972
972
|
},
|
|
973
973
|
setup(u) {
|
|
974
974
|
const o = u, e = b(null);
|
|
975
|
-
return
|
|
975
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
976
976
|
class: a(s.question.cssClasses.root),
|
|
977
977
|
ref_key: "root",
|
|
978
978
|
ref: e,
|
|
@@ -980,7 +980,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
980
980
|
width: s.question.renderedCanvasWidth
|
|
981
981
|
})
|
|
982
982
|
}, [
|
|
983
|
-
|
|
983
|
+
R(g("div", {
|
|
984
984
|
class: a(s.question.cssClasses.placeholder)
|
|
985
985
|
}, [
|
|
986
986
|
y(v, {
|
|
@@ -1017,14 +1017,14 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1017
1017
|
s.question.clearValue(!0);
|
|
1018
1018
|
})
|
|
1019
1019
|
}, [
|
|
1020
|
-
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span",
|
|
1020
|
+
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span", Fs, "\u2716")),
|
|
1021
1021
|
s.question.cssClasses.clearButtonIconId ? (r(), C(v, {
|
|
1022
1022
|
key: 1,
|
|
1023
1023
|
is: "sv-svg-icon",
|
|
1024
1024
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1025
1025
|
size: "auto"
|
|
1026
1026
|
}, null, 8, ["iconName"])) : c("", !0)
|
|
1027
|
-
], 10,
|
|
1027
|
+
], 10, Os)
|
|
1028
1028
|
], 2)) : c("", !0),
|
|
1029
1029
|
s.question.showLoadingIndicator ? (r(), l("div", {
|
|
1030
1030
|
key: 1,
|
|
@@ -1042,7 +1042,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1042
1042
|
},
|
|
1043
1043
|
setup(u) {
|
|
1044
1044
|
const o = u, e = b(null);
|
|
1045
|
-
|
|
1045
|
+
T(o, e);
|
|
1046
1046
|
const s = K(() => o.question.locHtml);
|
|
1047
1047
|
return (n, t) => (r(), l("div", {
|
|
1048
1048
|
ref_key: "root",
|
|
@@ -1059,14 +1059,14 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1059
1059
|
},
|
|
1060
1060
|
setup(u) {
|
|
1061
1061
|
const o = u, e = b(null);
|
|
1062
|
-
|
|
1062
|
+
T(o, e);
|
|
1063
1063
|
const s = K(() => o.question.locImageLink);
|
|
1064
1064
|
return (n, t) => (r(), l("div", {
|
|
1065
1065
|
class: a(n.question.cssClasses.root),
|
|
1066
1066
|
ref_key: "root",
|
|
1067
1067
|
ref: e
|
|
1068
1068
|
}, [
|
|
1069
|
-
n.question.renderedMode === "image" ?
|
|
1069
|
+
n.question.renderedMode === "image" ? R((r(), l("img", {
|
|
1070
1070
|
key: 0,
|
|
1071
1071
|
class: a(n.question.getImageCss()),
|
|
1072
1072
|
src: k(s),
|
|
@@ -1087,7 +1087,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1087
1087
|
}, null, 46, js)), [
|
|
1088
1088
|
[P, k(s) && !n.question.contentNotLoaded]
|
|
1089
1089
|
]) : c("", !0),
|
|
1090
|
-
n.question.renderedMode === "video" ?
|
|
1090
|
+
n.question.renderedMode === "video" ? R((r(), l("video", {
|
|
1091
1091
|
key: 1,
|
|
1092
1092
|
controls: "",
|
|
1093
1093
|
class: a(n.question.getImageCss()),
|
|
@@ -1140,7 +1140,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1140
1140
|
},
|
|
1141
1141
|
setup(u) {
|
|
1142
1142
|
const o = u, e = b(null);
|
|
1143
|
-
return
|
|
1143
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1144
1144
|
class: a(s.question.cssClasses.root),
|
|
1145
1145
|
ref_key: "root",
|
|
1146
1146
|
ref: e
|
|
@@ -1154,7 +1154,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1154
1154
|
},
|
|
1155
1155
|
setup(u) {
|
|
1156
1156
|
const o = u, e = b(null);
|
|
1157
|
-
return
|
|
1157
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1158
1158
|
class: a(s.question.fileRootCss),
|
|
1159
1159
|
ref_key: "root",
|
|
1160
1160
|
ref: e
|
|
@@ -1277,7 +1277,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1277
1277
|
},
|
|
1278
1278
|
setup(u) {
|
|
1279
1279
|
const o = u, e = b(null);
|
|
1280
|
-
|
|
1280
|
+
T(o, e);
|
|
1281
1281
|
const s = (t) => o.question.getItemValueWrapperComponentName(t) || pe, n = (t) => ({
|
|
1282
1282
|
componentName: pe,
|
|
1283
1283
|
componentData: {
|
|
@@ -1334,7 +1334,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1334
1334
|
g("label", {
|
|
1335
1335
|
class: a(t.question.cssClasses.label)
|
|
1336
1336
|
}, [
|
|
1337
|
-
t.question.multiSelect ?
|
|
1337
|
+
t.question.multiSelect ? R((r(), l("input", {
|
|
1338
1338
|
key: 0,
|
|
1339
1339
|
type: "checkbox",
|
|
1340
1340
|
name: t.question.questionName,
|
|
@@ -1350,7 +1350,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1350
1350
|
class: a(t.question.cssClasses.itemControl)
|
|
1351
1351
|
}, null, 10, t1)), [
|
|
1352
1352
|
[oe, s.value]
|
|
1353
|
-
]) :
|
|
1353
|
+
]) : R((r(), l("input", {
|
|
1354
1354
|
key: 1,
|
|
1355
1355
|
type: "radio",
|
|
1356
1356
|
name: t.question.questionName,
|
|
@@ -1454,7 +1454,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1454
1454
|
},
|
|
1455
1455
|
setup(u) {
|
|
1456
1456
|
const o = u, e = b(null);
|
|
1457
|
-
return
|
|
1457
|
+
return T(o, e), (s, n) => !s.question.isReadOnlyRenderDiv() && s.question.getMaxLength() ? (r(), l("div", {
|
|
1458
1458
|
key: 0,
|
|
1459
1459
|
ref_key: "root",
|
|
1460
1460
|
ref: e
|
|
@@ -1488,7 +1488,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1488
1488
|
},
|
|
1489
1489
|
setup(u) {
|
|
1490
1490
|
const o = u, e = b(null);
|
|
1491
|
-
return
|
|
1491
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1492
1492
|
class: a(s.question.renderCssRoot),
|
|
1493
1493
|
ref_key: "root",
|
|
1494
1494
|
ref: e
|
|
@@ -1521,7 +1521,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1521
1521
|
},
|
|
1522
1522
|
setup(u) {
|
|
1523
1523
|
const o = u, e = b(null);
|
|
1524
|
-
|
|
1524
|
+
T(o, e);
|
|
1525
1525
|
const s = (i) => {
|
|
1526
1526
|
o.question.onClick(i);
|
|
1527
1527
|
}, n = (i) => {
|
|
@@ -1549,7 +1549,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1549
1549
|
disabled: "",
|
|
1550
1550
|
id: i.question.inputId,
|
|
1551
1551
|
class: a(i.question.getControlClass())
|
|
1552
|
-
}, H(i.question.readOnlyText), 11, c1)) :
|
|
1552
|
+
}, H(i.question.readOnlyText), 11, c1)) : R((r(), l("select", {
|
|
1553
1553
|
key: 0,
|
|
1554
1554
|
id: i.question.inputId,
|
|
1555
1555
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => t.value = m),
|
|
@@ -1708,7 +1708,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1708
1708
|
onFocus: q
|
|
1709
1709
|
}, null, 42, h1)
|
|
1710
1710
|
], 2),
|
|
1711
|
-
w.question.allowClear && w.question.cssClasses.cleanButtonIconId ?
|
|
1711
|
+
w.question.allowClear && w.question.cssClasses.cleanButtonIconId ? R((r(), l("div", {
|
|
1712
1712
|
key: 1,
|
|
1713
1713
|
class: a(w.question.cssClasses.cleanButton),
|
|
1714
1714
|
onClick: i,
|
|
@@ -1734,16 +1734,15 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1734
1734
|
tabindex: w.question.isDisabledAttr ? void 0 : 0,
|
|
1735
1735
|
class: a(w.question.getControlClass())
|
|
1736
1736
|
}, [
|
|
1737
|
-
w.question.
|
|
1737
|
+
w.question.locReadOnlyText ? (r(), C(v, {
|
|
1738
1738
|
key: 0,
|
|
1739
1739
|
is: "survey-string",
|
|
1740
|
-
locString: w.question.
|
|
1741
|
-
}, null, 8, ["locString"])) : c("", !0)
|
|
1742
|
-
g("div", null, H(w.question.readOnlyText), 1)
|
|
1740
|
+
locString: w.question.locReadOnlyText
|
|
1741
|
+
}, null, 8, ["locString"])) : c("", !0)
|
|
1743
1742
|
], 10, q1)) : (r(), C(v, {
|
|
1744
1743
|
key: 1,
|
|
1745
1744
|
is: "sv-popup",
|
|
1746
|
-
model:
|
|
1745
|
+
model: s.value.popupModel
|
|
1747
1746
|
}, null, 8, ["model"])),
|
|
1748
1747
|
w.question.cssClasses.chevronButtonIconId ? (r(), l("div", {
|
|
1749
1748
|
key: 3,
|
|
@@ -1768,7 +1767,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1768
1767
|
},
|
|
1769
1768
|
setup(u) {
|
|
1770
1769
|
const o = u, e = b(null);
|
|
1771
|
-
return
|
|
1770
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1772
1771
|
class: a(s.question.renderCssRoot),
|
|
1773
1772
|
ref_key: "root",
|
|
1774
1773
|
ref: e
|
|
@@ -1792,7 +1791,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1792
1791
|
setup(u) {
|
|
1793
1792
|
const o = u, e = L(() => {
|
|
1794
1793
|
const p = o.question;
|
|
1795
|
-
return p.dropdownListModel || (p.dropdownListModel = new
|
|
1794
|
+
return p.dropdownListModel || (p.dropdownListModel = new Oe(p)), o.question.dropdownListModel;
|
|
1796
1795
|
}), s = (p) => {
|
|
1797
1796
|
var q;
|
|
1798
1797
|
(q = e.value) == null || q.onClick(p);
|
|
@@ -1846,7 +1845,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1846
1845
|
question: p.question
|
|
1847
1846
|
}, null, 8, ["model", "question"])
|
|
1848
1847
|
], 2),
|
|
1849
|
-
p.question.allowClear && p.question.cssClasses.cleanButtonIconId ?
|
|
1848
|
+
p.question.allowClear && p.question.cssClasses.cleanButtonIconId ? R((r(), l("div", {
|
|
1850
1849
|
key: 0,
|
|
1851
1850
|
class: a(p.question.cssClasses.cleanButton),
|
|
1852
1851
|
onClick: t,
|
|
@@ -1938,7 +1937,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1938
1937
|
g("span", M1, H(i.model.inputStringRendered), 1),
|
|
1939
1938
|
g("span", null, H(i.model.hintStringSuffix), 1)
|
|
1940
1939
|
], 2)) : c("", !0),
|
|
1941
|
-
|
|
1940
|
+
R(g("input", {
|
|
1942
1941
|
type: "text",
|
|
1943
1942
|
autocomplete: "off",
|
|
1944
1943
|
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.model.inputStringRendered = m),
|
|
@@ -2007,7 +2006,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2007
2006
|
},
|
|
2008
2007
|
setup(u) {
|
|
2009
2008
|
const o = u, e = b(null);
|
|
2010
|
-
|
|
2009
|
+
T(o, e);
|
|
2011
2010
|
const s = (t) => o.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", n = (t, i, d) => ({
|
|
2012
2011
|
componentName: "survey-ranking-item",
|
|
2013
2012
|
componentData: {
|
|
@@ -2071,7 +2070,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2071
2070
|
], 2)) : c("", !0)
|
|
2072
2071
|
], 2));
|
|
2073
2072
|
}
|
|
2074
|
-
}),
|
|
2073
|
+
}), R1 = ["id", "tabindex", "data-sv-drop-target-ranking-item"], T1 = {
|
|
2075
2074
|
tabindex: "-1",
|
|
2076
2075
|
style: { outline: "none" }
|
|
2077
2076
|
}, Z1 = ["xlink:href"], $1 = ["xlink:href"], D1 = ["xlink:href"], A1 = /* @__PURE__ */ h({
|
|
@@ -2110,7 +2109,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2110
2109
|
);
|
|
2111
2110
|
})
|
|
2112
2111
|
}, [
|
|
2113
|
-
g("div",
|
|
2112
|
+
g("div", T1, [
|
|
2114
2113
|
g("div", {
|
|
2115
2114
|
class: a(s.question.cssClasses.itemGhostNode)
|
|
2116
2115
|
}, null, 2),
|
|
@@ -2155,7 +2154,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2155
2154
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2156
2155
|
], 2)
|
|
2157
2156
|
])
|
|
2158
|
-
], 42,
|
|
2157
|
+
], 42, R1));
|
|
2159
2158
|
}
|
|
2160
2159
|
}), P1 = /* @__PURE__ */ h({
|
|
2161
2160
|
inheritAttrs: !1,
|
|
@@ -2185,7 +2184,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2185
2184
|
},
|
|
2186
2185
|
setup(u) {
|
|
2187
2186
|
const o = u, e = b(null);
|
|
2188
|
-
|
|
2187
|
+
T(o, e);
|
|
2189
2188
|
const s = (n) => o.question.getInputId(n);
|
|
2190
2189
|
return (n, t) => (r(), l("div", {
|
|
2191
2190
|
class: a(n.question.ratingRootCss),
|
|
@@ -2222,7 +2221,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2222
2221
|
])
|
|
2223
2222
|
], 2));
|
|
2224
2223
|
}
|
|
2225
|
-
}),
|
|
2224
|
+
}), O1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], F1 = ["data-text"], z1 = /* @__PURE__ */ h({
|
|
2226
2225
|
__name: "RatingItem",
|
|
2227
2226
|
props: {
|
|
2228
2227
|
question: {},
|
|
@@ -2249,7 +2248,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2249
2248
|
"aria-label": e.question.ariaLabel,
|
|
2250
2249
|
"aria-invalid": e.question.ariaInvalid,
|
|
2251
2250
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2252
|
-
}, null, 8,
|
|
2251
|
+
}, null, 8, O1),
|
|
2253
2252
|
g("span", {
|
|
2254
2253
|
class: a(e.question.cssClasses.itemText),
|
|
2255
2254
|
"data-text": e.item.text
|
|
@@ -2258,7 +2257,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2258
2257
|
is: "survey-string",
|
|
2259
2258
|
locString: e.item.locText
|
|
2260
2259
|
}, null, 8, ["locString"])
|
|
2261
|
-
], 10,
|
|
2260
|
+
], 10, F1)
|
|
2262
2261
|
], 34));
|
|
2263
2262
|
}
|
|
2264
2263
|
}), U1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], K1 = /* @__PURE__ */ h({
|
|
@@ -2381,7 +2380,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2381
2380
|
},
|
|
2382
2381
|
setup(u) {
|
|
2383
2382
|
const o = u, e = b(null);
|
|
2384
|
-
return
|
|
2383
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
2385
2384
|
class: a(s.question.cssClasses.rootDropdown),
|
|
2386
2385
|
ref_key: "root",
|
|
2387
2386
|
ref: e
|
|
@@ -2400,7 +2399,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2400
2399
|
},
|
|
2401
2400
|
setup(u) {
|
|
2402
2401
|
const o = u, e = b(null);
|
|
2403
|
-
|
|
2402
|
+
T(o, e);
|
|
2404
2403
|
const s = (t, i) => {
|
|
2405
2404
|
o.question.onLabelClick(t, i);
|
|
2406
2405
|
}, n = (t) => {
|
|
@@ -2417,7 +2416,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2417
2416
|
g("label", {
|
|
2418
2417
|
class: a(t.question.getItemCss())
|
|
2419
2418
|
}, [
|
|
2420
|
-
|
|
2419
|
+
R(g("input", {
|
|
2421
2420
|
type: "checkbox",
|
|
2422
2421
|
name: t.question.name,
|
|
2423
2422
|
value: (d = t.question.booleanValue) != null ? d : "",
|
|
@@ -2499,7 +2498,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2499
2498
|
},
|
|
2500
2499
|
setup(u) {
|
|
2501
2500
|
const o = b(null);
|
|
2502
|
-
return
|
|
2501
|
+
return T(u, o), (s, n) => (r(), l("div", {
|
|
2503
2502
|
class: a(s.question.cssClasses.rootRadio),
|
|
2504
2503
|
ref_key: "root",
|
|
2505
2504
|
ref: o
|
|
@@ -2601,7 +2600,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2601
2600
|
},
|
|
2602
2601
|
setup(u) {
|
|
2603
2602
|
const o = u, e = b(null);
|
|
2604
|
-
return
|
|
2603
|
+
return T(o, e), (s, n) => {
|
|
2605
2604
|
var t;
|
|
2606
2605
|
return r(), l("div", {
|
|
2607
2606
|
class: a(s.question.cssClasses.rootCheckbox),
|
|
@@ -2614,7 +2613,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2614
2613
|
g("label", {
|
|
2615
2614
|
class: a(s.question.cssClasses.checkboxLabel)
|
|
2616
2615
|
}, [
|
|
2617
|
-
|
|
2616
|
+
R(g("input", {
|
|
2618
2617
|
type: "checkbox",
|
|
2619
2618
|
name: s.question.name,
|
|
2620
2619
|
value: (t = s.question.booleanValue) != null ? t : "",
|
|
@@ -2685,7 +2684,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2685
2684
|
},
|
|
2686
2685
|
setup(u) {
|
|
2687
2686
|
const o = u, e = b(null), s = ee(() => o.question.getRows());
|
|
2688
|
-
return
|
|
2687
|
+
return T(o, e), (n, t) => (r(), l("table", {
|
|
2689
2688
|
class: a(n.question.getQuestionRootCss()),
|
|
2690
2689
|
ref_key: "root",
|
|
2691
2690
|
ref: e
|
|
@@ -2773,7 +2772,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2773
2772
|
},
|
|
2774
2773
|
setup(u) {
|
|
2775
2774
|
const o = u, e = b(null), s = W();
|
|
2776
|
-
|
|
2775
|
+
T(
|
|
2777
2776
|
o,
|
|
2778
2777
|
e,
|
|
2779
2778
|
(t) => {
|
|
@@ -2830,7 +2829,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2830
2829
|
key: "row_" + d.name + "_" + m,
|
|
2831
2830
|
class: a(d.rowClasses || void 0)
|
|
2832
2831
|
}, [
|
|
2833
|
-
|
|
2832
|
+
R(g("td", {
|
|
2834
2833
|
class: a(d.rowTextClasses),
|
|
2835
2834
|
style: M({
|
|
2836
2835
|
minWidth: t.question.rowTitleWidth,
|
|
@@ -2891,7 +2890,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2891
2890
|
setup(u) {
|
|
2892
2891
|
const o = u, e = b();
|
|
2893
2892
|
B(() => o.row);
|
|
2894
|
-
const s =
|
|
2893
|
+
const s = O(
|
|
2895
2894
|
() => o.row,
|
|
2896
2895
|
(n, t) => {
|
|
2897
2896
|
t && t.setRootElement(void 0), n.setRootElement(e.value);
|
|
@@ -2931,7 +2930,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2931
2930
|
onMousedown: e[1] || (e[1] = (s) => o.question.onMouseDown()),
|
|
2932
2931
|
class: a(o.question.getItemClass(o.row, o.column))
|
|
2933
2932
|
}, [
|
|
2934
|
-
|
|
2933
|
+
R(g("input", {
|
|
2935
2934
|
type: "radio",
|
|
2936
2935
|
class: a(o.question.cssClasses.itemValue),
|
|
2937
2936
|
name: o.row.fullName,
|
|
@@ -2981,7 +2980,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2981
2980
|
},
|
|
2982
2981
|
setup(u) {
|
|
2983
2982
|
const o = u, e = b(null);
|
|
2984
|
-
return
|
|
2983
|
+
return T(o, e), (s, n) => (r(), C(v, {
|
|
2985
2984
|
is: "survey-matrixtable",
|
|
2986
2985
|
question: s.question,
|
|
2987
2986
|
ref_key: "root",
|
|
@@ -3058,7 +3057,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3058
3057
|
], 2)
|
|
3059
3058
|
], 6));
|
|
3060
3059
|
}
|
|
3061
|
-
}), Vo = /* @__PURE__ */ g("span", null, "\xA0", -1),
|
|
3060
|
+
}), Vo = /* @__PURE__ */ g("span", null, "\xA0", -1), Ro = /* @__PURE__ */ h({
|
|
3062
3061
|
__name: "MatrixHeaderRequired",
|
|
3063
3062
|
props: {
|
|
3064
3063
|
question: {},
|
|
@@ -3074,7 +3073,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3074
3073
|
}, H(e.column.requiredText), 3)) : c("", !0)
|
|
3075
3074
|
], 64)) : c("", !0);
|
|
3076
3075
|
}
|
|
3077
|
-
}),
|
|
3076
|
+
}), To = ["title", "colspan"], Zo = /* @__PURE__ */ h({
|
|
3078
3077
|
__name: "MatrixDropdownCellComp",
|
|
3079
3078
|
props: {
|
|
3080
3079
|
question: {},
|
|
@@ -3168,7 +3167,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3168
3167
|
question: p.cell.matrix
|
|
3169
3168
|
}, null, 8, ["column", "question"])
|
|
3170
3169
|
], 2)) : c("", !0),
|
|
3171
|
-
p.cell.hasQuestion ?
|
|
3170
|
+
p.cell.hasQuestion ? R((r(), l("div", {
|
|
3172
3171
|
key: 5,
|
|
3173
3172
|
class: a(p.cell.cellQuestionWrapperClassName)
|
|
3174
3173
|
}, [
|
|
@@ -3239,7 +3238,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3239
3238
|
]),
|
|
3240
3239
|
_: 1
|
|
3241
3240
|
}, 8, ["is", "componentData"])) : c("", !0)
|
|
3242
|
-
], 46,
|
|
3241
|
+
], 46, To)) : c("", !0);
|
|
3243
3242
|
}
|
|
3244
3243
|
}), $o = /* @__PURE__ */ h({
|
|
3245
3244
|
inheritAttrs: !1,
|
|
@@ -3249,7 +3248,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3249
3248
|
},
|
|
3250
3249
|
setup(u) {
|
|
3251
3250
|
const o = u, e = b(null);
|
|
3252
|
-
|
|
3251
|
+
T(o, e);
|
|
3253
3252
|
const s = () => {
|
|
3254
3253
|
o.question.addRowUI();
|
|
3255
3254
|
};
|
|
@@ -3399,7 +3398,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3399
3398
|
}, null, 8, ["class", "iconName"])
|
|
3400
3399
|
], 10, Eo));
|
|
3401
3400
|
}
|
|
3402
|
-
}),
|
|
3401
|
+
}), Oo = /* @__PURE__ */ h({
|
|
3403
3402
|
inheritAttrs: !1,
|
|
3404
3403
|
__name: "PanelDynamic",
|
|
3405
3404
|
props: {
|
|
@@ -3408,7 +3407,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3408
3407
|
},
|
|
3409
3408
|
setup(u) {
|
|
3410
3409
|
const o = u, e = b(null), s = ye();
|
|
3411
|
-
|
|
3410
|
+
T(
|
|
3412
3411
|
o,
|
|
3413
3412
|
e,
|
|
3414
3413
|
(d) => {
|
|
@@ -3531,7 +3530,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3531
3530
|
}, null, 8, ["question"])) : c("", !0)
|
|
3532
3531
|
], 2));
|
|
3533
3532
|
}
|
|
3534
|
-
}),
|
|
3533
|
+
}), Fo = /* @__PURE__ */ h({
|
|
3535
3534
|
__name: "PanelDynamicProgress",
|
|
3536
3535
|
props: {
|
|
3537
3536
|
question: {}
|
|
@@ -3924,7 +3923,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
3924
3923
|
},
|
|
3925
3924
|
setup(u) {
|
|
3926
3925
|
const o = u, e = b(), s = () => {
|
|
3927
|
-
|
|
3926
|
+
Fe(
|
|
3928
3927
|
o.size,
|
|
3929
3928
|
o.width,
|
|
3930
3929
|
o.height,
|
|
@@ -4051,7 +4050,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4051
4050
|
},
|
|
4052
4051
|
setup(u) {
|
|
4053
4052
|
const o = u;
|
|
4054
|
-
return B(() => o.item), (e, s) =>
|
|
4053
|
+
return B(() => o.item), (e, s) => R((r(), l("button", {
|
|
4055
4054
|
class: a(e.item.getActionBarItemCss()),
|
|
4056
4055
|
type: "button",
|
|
4057
4056
|
onClick: s[0] || (s[0] = (n) => {
|
|
@@ -4090,7 +4089,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4090
4089
|
}
|
|
4091
4090
|
}), Bt = ["disabled", "title", "role"], Vt = {
|
|
4092
4091
|
inheritAttrs: !1
|
|
4093
|
-
},
|
|
4092
|
+
}, Rt = /* @__PURE__ */ h({
|
|
4094
4093
|
...Vt,
|
|
4095
4094
|
__name: "ActionBarItemDropdown",
|
|
4096
4095
|
props: {
|
|
@@ -4108,7 +4107,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4108
4107
|
e.dispose();
|
|
4109
4108
|
}
|
|
4110
4109
|
), (s, n) => (r(), l(I, null, [
|
|
4111
|
-
|
|
4110
|
+
R((r(), l("button", {
|
|
4112
4111
|
type: "button",
|
|
4113
4112
|
class: a(s.item.getActionBarItemCss()),
|
|
4114
4113
|
onClick: n[0] || (n[0] = (t) => {
|
|
@@ -4142,7 +4141,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4142
4141
|
}, null, 8, ["model"])
|
|
4143
4142
|
], 64));
|
|
4144
4143
|
}
|
|
4145
|
-
}),
|
|
4144
|
+
}), Tt = /* @__PURE__ */ h({
|
|
4146
4145
|
__name: "ActionBarSeparator",
|
|
4147
4146
|
props: {
|
|
4148
4147
|
item: {}
|
|
@@ -4213,7 +4212,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4213
4212
|
})
|
|
4214
4213
|
], 2)) : c("", !0)
|
|
4215
4214
|
], 2)) : c("", !0),
|
|
4216
|
-
|
|
4215
|
+
R(g("div", {
|
|
4217
4216
|
class: a(d.model.cssClasses.emptyContainer)
|
|
4218
4217
|
}, [
|
|
4219
4218
|
g("div", {
|
|
@@ -4223,7 +4222,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4223
4222
|
], 2), [
|
|
4224
4223
|
[P, d.model.isEmpty]
|
|
4225
4224
|
]),
|
|
4226
|
-
d.model.renderElements ?
|
|
4225
|
+
d.model.renderElements ? R((r(), l("ul", {
|
|
4227
4226
|
key: 1,
|
|
4228
4227
|
class: a(d.model.getListClass()),
|
|
4229
4228
|
role: "listbox",
|
|
@@ -4265,7 +4264,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4265
4264
|
setTimeout(() => {
|
|
4266
4265
|
o.model.onLastItemRended(o.item);
|
|
4267
4266
|
});
|
|
4268
|
-
}), (t, i) =>
|
|
4267
|
+
}), (t, i) => R((r(), l("li", {
|
|
4269
4268
|
role: "option",
|
|
4270
4269
|
"aria-selected": t.model.isItemSelected(t.item),
|
|
4271
4270
|
key: t.item.id,
|
|
@@ -4326,7 +4325,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4326
4325
|
}, null, 8, ["class", "iconName"])) : c("", !0)
|
|
4327
4326
|
], 64));
|
|
4328
4327
|
}
|
|
4329
|
-
}),
|
|
4328
|
+
}), Ot = /* @__PURE__ */ h({
|
|
4330
4329
|
__name: "ListItemGroup",
|
|
4331
4330
|
props: {
|
|
4332
4331
|
model: {},
|
|
@@ -4346,7 +4345,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4346
4345
|
}, null, 8, ["model"])
|
|
4347
4346
|
], 64));
|
|
4348
4347
|
}
|
|
4349
|
-
}),
|
|
4348
|
+
}), Ft = /* @__PURE__ */ h({
|
|
4350
4349
|
__name: "Popup",
|
|
4351
4350
|
props: {
|
|
4352
4351
|
model: {}
|
|
@@ -4356,7 +4355,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4356
4355
|
const t = s.value;
|
|
4357
4356
|
t && e.value.setComponentElement(t);
|
|
4358
4357
|
};
|
|
4359
|
-
return
|
|
4358
|
+
return O(
|
|
4360
4359
|
() => o.model,
|
|
4361
4360
|
(t) => {
|
|
4362
4361
|
e.value && e.value.dispose(), e.value = je(t), n();
|
|
@@ -4396,7 +4395,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4396
4395
|
s.isVisible && !s.isPositionSet && o.model.updateOnShowing();
|
|
4397
4396
|
}), $(() => {
|
|
4398
4397
|
o.model.isVisible && o.model.updateOnShowing();
|
|
4399
|
-
}), (s, n) =>
|
|
4398
|
+
}), (s, n) => R((r(), l("div", {
|
|
4400
4399
|
tabindex: "-1",
|
|
4401
4400
|
class: a(["sv-popup", s.model.styleClass]),
|
|
4402
4401
|
onKeydown: n[0] || (n[0] = (t) => {
|
|
@@ -4646,7 +4645,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4646
4645
|
return (o, e) => (r(), l("div", {
|
|
4647
4646
|
class: a(o.model.containerCss)
|
|
4648
4647
|
}, [
|
|
4649
|
-
o.model.isMobile ?
|
|
4648
|
+
o.model.isMobile ? R((r(), l("div", {
|
|
4650
4649
|
key: 0,
|
|
4651
4650
|
onClick: e[0] || (e[0] = (...s) => o.model.togglePopup && o.model.togglePopup(...s))
|
|
4652
4651
|
}, [
|
|
@@ -4671,7 +4670,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use
|
|
|
4671
4670
|
});
|
|
4672
4671
|
var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
|
4673
4672
|
/*!
|
|
4674
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4673
|
+
* surveyjs - Survey JavaScript library v1.12.34
|
|
4675
4674
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4676
4675
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4677
4676
|
*/
|
|
@@ -4984,7 +4983,7 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4984
4983
|
})(re);
|
|
4985
4984
|
var Le = { exports: {} };
|
|
4986
4985
|
/*!
|
|
4987
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4986
|
+
* surveyjs - Survey JavaScript library v1.12.34
|
|
4988
4987
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4989
4988
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4990
4989
|
*/
|
|
@@ -5549,7 +5548,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5549
5548
|
return e.value.isCollapsed && (p += " " + e.value.cssRootCollapsedMod), p;
|
|
5550
5549
|
};
|
|
5551
5550
|
B(() => e.value);
|
|
5552
|
-
const m =
|
|
5551
|
+
const m = O(
|
|
5553
5552
|
() => o.survey,
|
|
5554
5553
|
(p) => {
|
|
5555
5554
|
const q = new Ge(null, p);
|
|
@@ -5698,10 +5697,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5698
5697
|
};
|
|
5699
5698
|
return i.onVisibilityChanged.add(d), i.model.isVisible = !0, o.value = i, i;
|
|
5700
5699
|
}
|
|
5701
|
-
return
|
|
5702
|
-
|
|
5703
|
-
})),
|
|
5704
|
-
|
|
5700
|
+
return F.showModal || (F.showModal = e, N(() => {
|
|
5701
|
+
F.showModal = void 0;
|
|
5702
|
+
})), F.showDialog || (F.showDialog = s, N(() => {
|
|
5703
|
+
F.showDialog = void 0;
|
|
5705
5704
|
})), (n, t) => o.value ? (r(), C(Pe, {
|
|
5706
5705
|
key: 0,
|
|
5707
5706
|
to: o.value.container
|
|
@@ -5784,7 +5783,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5784
5783
|
},
|
|
5785
5784
|
setup(u) {
|
|
5786
5785
|
const o = u, e = b(null);
|
|
5787
|
-
|
|
5786
|
+
T(o, e);
|
|
5788
5787
|
const s = L(() => o.question.contentPanel);
|
|
5789
5788
|
return (n, t) => (r(), C(v, {
|
|
5790
5789
|
is: "survey-panel",
|
|
@@ -5803,7 +5802,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5803
5802
|
},
|
|
5804
5803
|
setup(u) {
|
|
5805
5804
|
const o = u, e = b(null);
|
|
5806
|
-
|
|
5805
|
+
T(o, e);
|
|
5807
5806
|
const s = L(() => o.question.contentQuestion), n = (t) => te(t);
|
|
5808
5807
|
return (t, i) => (r(), C(v, {
|
|
5809
5808
|
ref: e.value,
|
|
@@ -5842,14 +5841,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
5842
5841
|
class: a(n.model.minorTextCss)
|
|
5843
5842
|
}, H(n.model.clockMinorText), 3)) : c("", !0)
|
|
5844
5843
|
], 2)
|
|
5845
|
-
], 2)) :
|
|
5844
|
+
], 2)) : R((r(), l("div", {
|
|
5846
5845
|
key: 1,
|
|
5847
5846
|
class: a(n.model.survey.getCss().timerRoot)
|
|
5848
5847
|
}, H(s.value), 3)), [
|
|
5849
5848
|
[P, n.model.isRunning && !n.model.showTimerAsClock]
|
|
5850
5849
|
]);
|
|
5851
5850
|
}
|
|
5852
|
-
}), Vn = { class: "sd-loading-indicator" },
|
|
5851
|
+
}), Vn = { class: "sd-loading-indicator" }, Rn = /* @__PURE__ */ h({
|
|
5853
5852
|
__name: "LoadingIndicator",
|
|
5854
5853
|
setup(u) {
|
|
5855
5854
|
return (o, e) => (r(), l("div", Vn, [
|
|
@@ -5860,7 +5859,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5860
5859
|
})
|
|
5861
5860
|
]));
|
|
5862
5861
|
}
|
|
5863
|
-
}),
|
|
5862
|
+
}), Tn = { key: 2 }, Zn = /* @__PURE__ */ h({
|
|
5864
5863
|
__name: "Header",
|
|
5865
5864
|
props: {
|
|
5866
5865
|
model: {},
|
|
@@ -5892,7 +5891,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5892
5891
|
key: t
|
|
5893
5892
|
}, null, 8, ["model"]))), 128))
|
|
5894
5893
|
], 6)),
|
|
5895
|
-
e.survey.isMobile ? (r(), l("div",
|
|
5894
|
+
e.survey.isMobile ? (r(), l("div", Tn, [
|
|
5896
5895
|
y(v, {
|
|
5897
5896
|
is: "sv-header-mobile",
|
|
5898
5897
|
model: e.model
|
|
@@ -6012,7 +6011,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6012
6011
|
], 4)) : c("", !0)
|
|
6013
6012
|
]));
|
|
6014
6013
|
}
|
|
6015
|
-
}),
|
|
6014
|
+
}), On = /* @__PURE__ */ h({
|
|
6016
6015
|
__name: "Element",
|
|
6017
6016
|
props: {
|
|
6018
6017
|
element: {},
|
|
@@ -6041,7 +6040,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6041
6040
|
data: q
|
|
6042
6041
|
}
|
|
6043
6042
|
};
|
|
6044
|
-
}), d =
|
|
6043
|
+
}), d = O(
|
|
6045
6044
|
() => o.element,
|
|
6046
6045
|
(m, p) => {
|
|
6047
6046
|
p && p.setWrapperElement(void 0), m.setWrapperElement(e.value);
|
|
@@ -6068,7 +6067,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6068
6067
|
}, null, 8, ["is", "element", "css"])) : c("", !0)
|
|
6069
6068
|
], 6));
|
|
6070
6069
|
}
|
|
6071
|
-
}),
|
|
6070
|
+
}), Fn = /* @__PURE__ */ h({
|
|
6072
6071
|
__name: "TemplateRenderer",
|
|
6073
6072
|
props: {
|
|
6074
6073
|
componentName: {},
|
|
@@ -6145,7 +6144,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6145
6144
|
return ((s = o.data) == null ? void 0 : s.question) || ((n = o.item) == null ? void 0 : n.data.question);
|
|
6146
6145
|
}
|
|
6147
6146
|
);
|
|
6148
|
-
return (s, n) =>
|
|
6147
|
+
return (s, n) => R((r(), l("label", {
|
|
6149
6148
|
tabindex: "0",
|
|
6150
6149
|
class: a(e.value.getChooseFileCss()),
|
|
6151
6150
|
for: e.value.inputId,
|
|
@@ -6195,7 +6194,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6195
6194
|
},
|
|
6196
6195
|
setup(u) {
|
|
6197
6196
|
const o = u, e = b();
|
|
6198
|
-
return
|
|
6197
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
6199
6198
|
role: "group",
|
|
6200
6199
|
class: a(s.question.cssClasses.root),
|
|
6201
6200
|
ref_key: "root",
|
|
@@ -6232,7 +6231,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6232
6231
|
class: a(e.value.css.label),
|
|
6233
6232
|
title: e.value.caption.renderedHtml
|
|
6234
6233
|
}, [
|
|
6235
|
-
|
|
6234
|
+
R(g("input", {
|
|
6236
6235
|
type: "radio",
|
|
6237
6236
|
name: e.value.name,
|
|
6238
6237
|
id: e.value.id,
|
|
@@ -6306,7 +6305,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6306
6305
|
e(), X.onIconsChanged.add(e);
|
|
6307
6306
|
}), N(() => {
|
|
6308
6307
|
X.onIconsChanged.remove(e);
|
|
6309
|
-
}), (s, n) =>
|
|
6308
|
+
}), (s, n) => R((r(), l("svg", {
|
|
6310
6309
|
id: "sv-icon-holder-global-container",
|
|
6311
6310
|
ref_key: "root",
|
|
6312
6311
|
ref: o
|
|
@@ -6341,7 +6340,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6341
6340
|
question: {}
|
|
6342
6341
|
},
|
|
6343
6342
|
setup(u) {
|
|
6344
|
-
return (o, e) =>
|
|
6343
|
+
return (o, e) => R((r(), l("span", {
|
|
6345
6344
|
class: a(o.question.cssClasses.previewItem),
|
|
6346
6345
|
onClick: e[3] || (e[3] = (s) => o.question.doDownloadFileFromContainer(s))
|
|
6347
6346
|
}, [
|
|
@@ -6420,7 +6419,7 @@ function Me(u) {
|
|
|
6420
6419
|
void 0,
|
|
6421
6420
|
u
|
|
6422
6421
|
);
|
|
6423
|
-
o("sv-svg-bundle", or), o("popup-survey", be), o("survey-header", ts), o("sv-logo-image", sr), o("survey-page", os), o("survey-row", ns), o("survey-question", ls), o("survey-panel", cs), o("survey-element-header", ms), o("survey-string", gs), o("sv-string-viewer", ys), o("sv-string-editor", qs), o("sv-skeleton", ks), o("survey-text", bs), o("survey-text-input", Is), o("survey-checkbox",
|
|
6422
|
+
o("sv-svg-bundle", or), o("popup-survey", be), o("survey-header", ts), o("sv-logo-image", sr), o("survey-page", os), o("survey-row", ns), o("survey-question", ls), o("survey-panel", cs), o("survey-element-header", ms), o("survey-string", gs), o("sv-string-viewer", ys), o("sv-string-editor", qs), o("sv-skeleton", ks), o("survey-text", bs), o("survey-text-input", Is), o("survey-checkbox", Ts), o("survey-checkbox-item", Ds), o("survey-radiogroup", As), o("survey-radiogroup-item", Es), o("survey-signaturepad", zs), o("survey-html", Ks), o("survey-image", Js), o("survey-expression", Xs), o("survey-file", e1), o("sv-file-choose-btn", Qn), o("sv-file-clean-btn", zn), o("sv-file-preview", Gn), o("sv-file-page", nr), o("sv-file-item", lr), o("sv-file-video", Kn), o("survey-imagepicker", o1), o("survey-imagepicker-item", a1), o("survey-comment", l1), o("survey-dropdown", u1), o("sv-dropdown-select", p1), o("sv-dropdown-option-item", g1), o("sv-dropdown", w1), o("survey-tagbox", k1), o("sv-tagbox", b1), o("sv-tagbox-item", B1), o("sv-tagbox-filter", I1), o("survey-ranking", V1), o("survey-ranking-item", A1), o("sv-ranking-item", P1), o("survey-rating", W1), o("sv-rating-item", z1), o("sv-rating-item-smiley", K1), o("sv-rating-item-star", Q1), o("sv-rating-dropdown", x1), o("sv-rating-dropdown-item", Y1), o("survey-boolean", eo), o("sv-boolean-radio", so), o("sv-boolean-radio-item", no), o("sv-boolean-checkbox", vo), o("survey-multipletext", co), o("survey-multipletext-item", mo), o("survey-matrix", wo), o("survey-matrix-row", fo), o("survey-matrix-cell", Mo), o("survey-matrixdropdown", Ho), o("survey-matrixtable", Bo), o("survey-matrixheaderrequired", Ro), o("survey-matrixdropdown-cell", Zo), o("survey-matrixdynamic", $o), o("sv-matrix-remove-button", Ao), o("sv-matrix-drag-drop-icon", No), o("sv-matrix-detail-button", Wo), o("survey-paneldynamic", Oo), o("survey-paneldynamicprogress", Fo), o("survey-paneldynamicprogress-v2", zo), o("sv-paneldynamic-add-btn", Ko), o("sv-paneldynamic-next-btn", Qo), o("sv-paneldynamic-prev-btn", Jo), o("sv-paneldynamic-remove-btn", Yo), o("sv-paneldynamic-progress-text", xo), o("sv-components-container", Xt), o("sv-progress-buttons", on), o("sv-navigation-toc", tn), o("sv-progress-pages", J), o("sv-progress-questions", J), o("sv-progress-correctquestions", J), o("sv-progress-requiredquestions", J), o("survey-errors", et), o("survey-question-comment", ot), o("survey-element-title", tt), o("survey-element-title-content", at), o("sv-title-actions", dt), o("sv-brand-info", yt), o("sv-question-error", kt), o("sv-svg-icon", wt), o("sv-action-bar", ft), o("sv-action", Mt), o("sv-action-bar-item", St), o("sv-action-bar-item-dropdown", Rt), o("sv-action-bar-separator", Tt), o("sv-list", At), o("sv-list-item-content", Wt), o("sv-list-item-group", Ot), o("sv-list-item", Et), o("sv-popup", Ft), o("sv-popup-container", Gt), o("popup-pointer", Jt), o("sv-notifier", mn), o("survey-other-choice", Cn), o("sv-nav-btn", hn), o("survey-customwidget", wn), o("survey-popup-modal", kn), o("survey-composite", Mn), o("survey-custom", Hn), o("sv-timerpanel", Bn), o("sv-loading-indicator", Rn), o("sv-header", Zn), o("sv-header-cell", An), o("sv-header-mobile", Wn), o("sv-template-renderer", Fn), o("sv-character-counter", bn), o("sv-text-area", Ln), o("survey-element", On), o("survey-buttongroup", Jn), o("sv-button-group-item", _n), o("survey", ie);
|
|
6424
6423
|
}
|
|
6425
6424
|
Me(
|
|
6426
6425
|
(u, o) => z.Instance.registerComponent(u, o)
|
|
@@ -6442,5 +6441,5 @@ export {
|
|
|
6442
6441
|
B as useBase,
|
|
6443
6442
|
ee as useComputedArray,
|
|
6444
6443
|
K as useLocString,
|
|
6445
|
-
|
|
6444
|
+
T as useQuestion
|
|
6446
6445
|
};
|