survey-vue3-ui 1.12.32 → 1.12.33
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 +327 -321
- package/survey-vue3-ui.umd.js +3 -3
- package/types/MatrixDynamicPlaceholder.vue.d.ts +15 -0
- package/types/PanelDynamicPlaceholder.vue.d.ts +15 -0
- package/types/components/Scroll.vue.d.ts +2 -10
- package/types/components/SingleInputSummary.vue.d.ts +16 -0
- package/types/components/breadcrumbs/Breadcrumbs.vue.d.ts +16 -0
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 F, onBeforeUnmount as U, onMounted as $, ref as b, shallowRef as W, watchEffect as Ve, triggerRef as se, unref as k, isRef as Te, nextTick as Re, createElementBlock as l, normalizeClass as a, createVNode as y, createCommentVNode as c, Fragment as I, mergeProps as D, normalizeStyle as M, createElementVNode as
|
|
5
|
-
import { Base as Ee, RendererFactory as _, Helpers as We, DropdownMultiSelectListModel as Fe, doKey2ClickUp as he, createSvg 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 F, onBeforeUnmount as U, onMounted as $, ref as b, shallowRef as W, watchEffect as Ve, triggerRef as se, unref as k, isRef as Te, nextTick as Re, 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 T, 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 Fe, doKey2ClickUp as he, createSvg as Oe, 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 O, 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", {});
|
|
@@ -23,8 +23,8 @@ const ae = class {
|
|
|
23
23
|
return !!this.creatorHash[o];
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
let
|
|
27
|
-
G(
|
|
26
|
+
let z = ae;
|
|
27
|
+
G(z, "Instance", new ae());
|
|
28
28
|
const v = /* @__PURE__ */ h({
|
|
29
29
|
inheritAttrs: !1,
|
|
30
30
|
__name: "SvComponent",
|
|
@@ -33,7 +33,7 @@ const v = /* @__PURE__ */ h({
|
|
|
33
33
|
},
|
|
34
34
|
setup(u) {
|
|
35
35
|
const o = u, e = L(
|
|
36
|
-
() =>
|
|
36
|
+
() => z.Instance.getComponent(o.is)
|
|
37
37
|
);
|
|
38
38
|
return (s, n) => (r(), C(ge(e.value), ue(de(s.$attrs)), Se({ _: 2 }, [
|
|
39
39
|
S(s.$slots, (t, i) => ({
|
|
@@ -247,7 +247,7 @@ const os = /* @__PURE__ */ h({
|
|
|
247
247
|
is: s.survey.getElementWrapperComponentName(s.survey, "logo-image"),
|
|
248
248
|
data: s.survey.getElementWrapperComponentData(s.survey, "logo-image")
|
|
249
249
|
}, null, 8, ["is", "data"])) : c("", !0),
|
|
250
|
-
|
|
250
|
+
g("div", {
|
|
251
251
|
class: a(s.survey.css.headerClose)
|
|
252
252
|
}, null, 2)
|
|
253
253
|
], 2)) : c("", !0);
|
|
@@ -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
|
-
},
|
|
308
|
+
}, m = F(
|
|
309
309
|
() => e.value,
|
|
310
310
|
() => {
|
|
311
311
|
d();
|
|
@@ -317,7 +317,7 @@ const os = /* @__PURE__ */ h({
|
|
|
317
317
|
}
|
|
318
318
|
}));
|
|
319
319
|
return N(() => {
|
|
320
|
-
|
|
320
|
+
m();
|
|
321
321
|
}), (f, Z) => (r(), l("div", {
|
|
322
322
|
class: a(f.element.getRootCss()),
|
|
323
323
|
style: M(i()),
|
|
@@ -347,7 +347,7 @@ const os = /* @__PURE__ */ h({
|
|
|
347
347
|
}, null, 8, ["element", "css"])) : c("", !0),
|
|
348
348
|
y(v, D({ is: q.value }, V.value), {
|
|
349
349
|
default: E(() => [
|
|
350
|
-
|
|
350
|
+
g("div", {
|
|
351
351
|
class: a(t(f.element) || void 0),
|
|
352
352
|
style: M({ display: f.element.renderedIsExpanded ? void 0 : "none" }),
|
|
353
353
|
role: "presentation"
|
|
@@ -366,7 +366,7 @@ const os = /* @__PURE__ */ h({
|
|
|
366
366
|
key: 1,
|
|
367
367
|
class: a(f.element.getCommentAreaCss())
|
|
368
368
|
}, [
|
|
369
|
-
|
|
369
|
+
g("div", null, [
|
|
370
370
|
y(v, {
|
|
371
371
|
is: "survey-string",
|
|
372
372
|
locString: f.element.locCommentText
|
|
@@ -609,7 +609,7 @@ const os = /* @__PURE__ */ h({
|
|
|
609
609
|
is: "survey-text-input",
|
|
610
610
|
question: s.question
|
|
611
611
|
}, null, 8, ["question"]),
|
|
612
|
-
|
|
612
|
+
g("datalist", {
|
|
613
613
|
id: s.question.dataListId
|
|
614
614
|
}, [
|
|
615
615
|
(r(!0), l(I, null, S(s.question.dataList, (t, i) => (r(), l("option", {
|
|
@@ -640,9 +640,9 @@ const os = /* @__PURE__ */ h({
|
|
|
640
640
|
const t = L(() => e.question.inputStyle);
|
|
641
641
|
return (i, d) => i.question.getMaxLength() ? (r(), l("div", {
|
|
642
642
|
key: 1,
|
|
643
|
-
ref: (
|
|
643
|
+
ref: (m) => s(m)
|
|
644
644
|
}, [
|
|
645
|
-
|
|
645
|
+
g("input", {
|
|
646
646
|
disabled: i.question.isDisabledAttr,
|
|
647
647
|
readonly: i.question.isReadOnlyAttr,
|
|
648
648
|
class: a(i.question.getControlClass()),
|
|
@@ -658,12 +658,14 @@ const os = /* @__PURE__ */ h({
|
|
|
658
658
|
placeholder: i.question.renderedPlaceholder,
|
|
659
659
|
autocomplete: i.question.autocomplete,
|
|
660
660
|
value: i.question.inputValue,
|
|
661
|
-
onChange: d[
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
661
|
+
onChange: d[8] || (d[8] = (...m) => i.question.onChange && i.question.onChange(...m)),
|
|
662
|
+
onClick: d[9] || (d[9] = (...m) => i.question.readOnlyBlocker && i.question.readOnlyBlocker(...m)),
|
|
663
|
+
onPointerdown: d[10] || (d[10] = (...m) => i.question.readOnlyBlocker && i.question.readOnlyBlocker(...m)),
|
|
664
|
+
onKeyup: d[11] || (d[11] = (...m) => i.question.onKeyUp && i.question.onKeyUp(...m)),
|
|
665
|
+
onKeydown: d[12] || (d[12] = (...m) => i.question.onKeyDown && i.question.onKeyDown(...m)),
|
|
666
|
+
onCompositionUpdate: d[13] || (d[13] = (...m) => i.question.onCompositionUpdate && i.question.onCompositionUpdate(...m)),
|
|
667
|
+
onBlur: d[14] || (d[14] = (...m) => i.question.onBlur && i.question.onBlur(...m)),
|
|
668
|
+
onFocus: d[15] || (d[15] = (...m) => i.question.onFocus && i.question.onFocus(...m)),
|
|
667
669
|
"aria-required": i.question.a11y_input_ariaRequired,
|
|
668
670
|
"aria-label": i.question.a11y_input_ariaLabel,
|
|
669
671
|
"aria-labelledby": i.question.a11y_input_ariaLabelledBy,
|
|
@@ -678,7 +680,7 @@ const os = /* @__PURE__ */ h({
|
|
|
678
680
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
679
681
|
], 512)) : (r(), l("input", {
|
|
680
682
|
key: 0,
|
|
681
|
-
ref: (
|
|
683
|
+
ref: (m) => s(m),
|
|
682
684
|
disabled: i.question.isDisabledAttr,
|
|
683
685
|
readonly: i.question.isReadOnlyAttr,
|
|
684
686
|
class: a(i.question.getControlClass()),
|
|
@@ -694,12 +696,14 @@ const os = /* @__PURE__ */ h({
|
|
|
694
696
|
placeholder: i.question.renderedPlaceholder,
|
|
695
697
|
autocomplete: i.question.autocomplete,
|
|
696
698
|
value: i.question.inputValue,
|
|
697
|
-
onChange: d[0] || (d[0] = (...
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
699
|
+
onChange: d[0] || (d[0] = (...m) => i.question.onChange && i.question.onChange(...m)),
|
|
700
|
+
onClick: d[1] || (d[1] = (...m) => i.question.readOnlyBlocker && i.question.readOnlyBlocker(...m)),
|
|
701
|
+
onPointerdown: d[2] || (d[2] = (...m) => i.question.readOnlyBlocker && i.question.readOnlyBlocker(...m)),
|
|
702
|
+
onKeyup: d[3] || (d[3] = (...m) => i.question.onKeyUp && i.question.onKeyUp(...m)),
|
|
703
|
+
onKeydown: d[4] || (d[4] = (...m) => i.question.onKeyDown && i.question.onKeyDown(...m)),
|
|
704
|
+
onCompositionUpdate: d[5] || (d[5] = (...m) => i.question.onCompositionUpdate && i.question.onCompositionUpdate(...m)),
|
|
705
|
+
onBlur: d[6] || (d[6] = (...m) => i.question.onBlur && i.question.onBlur(...m)),
|
|
706
|
+
onFocus: d[7] || (d[7] = (...m) => i.question.onFocus && i.question.onFocus(...m)),
|
|
703
707
|
"aria-required": i.question.a11y_input_ariaRequired,
|
|
704
708
|
"aria-label": i.question.a11y_input_ariaLabel,
|
|
705
709
|
"aria-labelledby": i.question.a11y_input_ariaLabelledBy,
|
|
@@ -763,8 +767,8 @@ const os = /* @__PURE__ */ h({
|
|
|
763
767
|
key: 4,
|
|
764
768
|
class: a(t.question.cssClasses.rootMultiColumn)
|
|
765
769
|
}, [
|
|
766
|
-
t.question.hasColumns ? (r(!0), l(I, { key: 0 }, S(t.question.columns, (d,
|
|
767
|
-
key:
|
|
770
|
+
t.question.hasColumns ? (r(!0), l(I, { key: 0 }, S(t.question.columns, (d, m) => (r(), l("div", {
|
|
771
|
+
key: m,
|
|
768
772
|
class: a(t.question.getColumnClass()),
|
|
769
773
|
role: "presentation"
|
|
770
774
|
}, [
|
|
@@ -784,7 +788,7 @@ const os = /* @__PURE__ */ h({
|
|
|
784
788
|
question: t.question
|
|
785
789
|
}, null, 8, ["question"])) : c("", !0),
|
|
786
790
|
t.question.showClearButtonInContent ? (r(), l("div", Vs, [
|
|
787
|
-
|
|
791
|
+
g("input", {
|
|
788
792
|
type: "button",
|
|
789
793
|
class: a(t.question.cssClasses.clearButton),
|
|
790
794
|
onClick: i[0] || (i[0] = () => {
|
|
@@ -841,10 +845,10 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
841
845
|
ref_key: "root",
|
|
842
846
|
ref: o
|
|
843
847
|
}, [
|
|
844
|
-
|
|
848
|
+
g("label", {
|
|
845
849
|
class: a(n.question.getLabelClass(n.item))
|
|
846
850
|
}, [
|
|
847
|
-
|
|
851
|
+
g("input", {
|
|
848
852
|
type: "checkbox",
|
|
849
853
|
name: n.question.name + n.item.id,
|
|
850
854
|
checked: n.question.isItemSelected(n.item),
|
|
@@ -866,7 +870,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
866
870
|
key: 0,
|
|
867
871
|
class: a(n.question.cssClasses.itemDecorator)
|
|
868
872
|
}, [
|
|
869
|
-
|
|
873
|
+
g("use", {
|
|
870
874
|
"xlink:href": n.question.itemSvgIcon
|
|
871
875
|
}, null, 8, $s)
|
|
872
876
|
], 2)) : c("", !0)
|
|
@@ -918,17 +922,17 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
918
922
|
ref_key: "root",
|
|
919
923
|
ref: o
|
|
920
924
|
}, [
|
|
921
|
-
|
|
922
|
-
onMousedown: d[1] || (d[1] = (
|
|
925
|
+
g("label", {
|
|
926
|
+
onMousedown: d[1] || (d[1] = (m) => i.question.onMouseDown()),
|
|
923
927
|
class: a(s(i.item))
|
|
924
928
|
}, [
|
|
925
|
-
T(
|
|
929
|
+
T(g("input", {
|
|
926
930
|
type: "radio",
|
|
927
931
|
name: i.question.questionName,
|
|
928
932
|
value: i.item.value,
|
|
929
933
|
id: i.question.getItemId(i.item),
|
|
930
934
|
"aria-errormessage": i.question.ariaErrormessage,
|
|
931
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
935
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => t.value = m),
|
|
932
936
|
disabled: !i.question.getItemEnabled(i.item),
|
|
933
937
|
readonly: i.question.isReadOnlyAttr,
|
|
934
938
|
class: a(i.question.cssClasses.itemControl)
|
|
@@ -943,7 +947,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
943
947
|
key: 0,
|
|
944
948
|
class: a(i.question.cssClasses.itemDecorator)
|
|
945
949
|
}, [
|
|
946
|
-
|
|
950
|
+
g("use", {
|
|
947
951
|
"xlink:href": i.question.itemSvgIcon
|
|
948
952
|
}, null, 8, Ns)
|
|
949
953
|
], 2)) : c("", !0)
|
|
@@ -960,7 +964,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
960
964
|
], 34)
|
|
961
965
|
], 2));
|
|
962
966
|
}
|
|
963
|
-
}), Ws = ["src"], Fs = ["title"],
|
|
967
|
+
}), Ws = ["src"], Fs = ["title"], Os = { key: 0 }, zs = /* @__PURE__ */ h({
|
|
964
968
|
inheritAttrs: !1,
|
|
965
969
|
__name: "Signaturepad",
|
|
966
970
|
props: {
|
|
@@ -976,7 +980,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
976
980
|
width: s.question.renderedCanvasWidth
|
|
977
981
|
})
|
|
978
982
|
}, [
|
|
979
|
-
T(
|
|
983
|
+
T(g("div", {
|
|
980
984
|
class: a(s.question.cssClasses.placeholder)
|
|
981
985
|
}, [
|
|
982
986
|
y(v, {
|
|
@@ -986,7 +990,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
986
990
|
], 2), [
|
|
987
991
|
[P, s.question.needShowPlaceholder()]
|
|
988
992
|
]),
|
|
989
|
-
|
|
993
|
+
g("div", null, [
|
|
990
994
|
s.question.backgroundImage ? (r(), l("img", {
|
|
991
995
|
key: 0,
|
|
992
996
|
class: a(s.question.cssClasses.backgroundImage),
|
|
@@ -995,7 +999,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
995
999
|
width: s.question.renderedCanvasWidth
|
|
996
1000
|
})
|
|
997
1001
|
}, null, 14, Ws)) : c("", !0),
|
|
998
|
-
|
|
1002
|
+
g("canvas", {
|
|
999
1003
|
tabindex: "-1",
|
|
1000
1004
|
class: a(s.question.cssClasses.canvas),
|
|
1001
1005
|
onBlur: n[0] || (n[0] = (...t) => s.question.onBlur && s.question.onBlur(...t))
|
|
@@ -1005,7 +1009,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1005
1009
|
key: 0,
|
|
1006
1010
|
class: a(s.question.cssClasses.controls)
|
|
1007
1011
|
}, [
|
|
1008
|
-
|
|
1012
|
+
g("button", {
|
|
1009
1013
|
type: "button",
|
|
1010
1014
|
class: a(s.question.cssClasses.clearButton),
|
|
1011
1015
|
title: s.question.clearButtonCaption,
|
|
@@ -1013,7 +1017,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1013
1017
|
s.question.clearValue(!0);
|
|
1014
1018
|
})
|
|
1015
1019
|
}, [
|
|
1016
|
-
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span",
|
|
1020
|
+
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span", Os, "\u2716")),
|
|
1017
1021
|
s.question.cssClasses.clearButtonIconId ? (r(), C(v, {
|
|
1018
1022
|
key: 1,
|
|
1019
1023
|
is: "sv-svg-icon",
|
|
@@ -1190,7 +1194,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1190
1194
|
placeholder: s.question.title,
|
|
1191
1195
|
style: { color: "transparent" }
|
|
1192
1196
|
}, null, 10, _s)) : c("", !0),
|
|
1193
|
-
|
|
1197
|
+
g("div", {
|
|
1194
1198
|
class: a(s.question.cssClasses.dragArea),
|
|
1195
1199
|
onDrop: n[0] || (n[0] = (...t) => s.question.onDrop && s.question.onDrop(...t)),
|
|
1196
1200
|
onDragover: n[1] || (n[1] = (...t) => s.question.onDragOver && s.question.onDragOver(...t)),
|
|
@@ -1201,15 +1205,16 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1201
1205
|
key: 0,
|
|
1202
1206
|
class: a(s.question.getFileDecoratorCss())
|
|
1203
1207
|
}, [
|
|
1204
|
-
|
|
1208
|
+
s.question.showDragAreaPlaceholder ? (r(), l("span", {
|
|
1209
|
+
key: 0,
|
|
1205
1210
|
class: a(s.question.cssClasses.dragAreaPlaceholder)
|
|
1206
1211
|
}, [
|
|
1207
1212
|
y(v, {
|
|
1208
1213
|
is: "survey-string",
|
|
1209
1214
|
locString: s.question.locRenderedPlaceholder
|
|
1210
1215
|
}, null, 8, ["locString"])
|
|
1211
|
-
], 2),
|
|
1212
|
-
|
|
1216
|
+
], 2)) : c("", !0),
|
|
1217
|
+
g("div", {
|
|
1213
1218
|
class: a(s.question.cssClasses.wrapper)
|
|
1214
1219
|
}, [
|
|
1215
1220
|
s.question.showChooseButton ? (r(), C(v, {
|
|
@@ -1287,14 +1292,14 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1287
1292
|
ref_key: "root",
|
|
1288
1293
|
ref: e
|
|
1289
1294
|
}, [
|
|
1290
|
-
|
|
1295
|
+
g("legend", s1, H(t.question.locTitle.renderedHtml), 1),
|
|
1291
1296
|
t.question.hasColumns ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.visibleChoices, (d) => (r(), C(v, D({
|
|
1292
1297
|
key: d.value,
|
|
1293
1298
|
is: s(d)
|
|
1294
1299
|
}, n(d)), null, 16, ["is"]))), 128)),
|
|
1295
|
-
t.question.hasColumns ? (r(!0), l(I, { key: 1 }, S(t.question.columns, (d,
|
|
1300
|
+
t.question.hasColumns ? (r(!0), l(I, { key: 1 }, S(t.question.columns, (d, m) => (r(), l("div", {
|
|
1296
1301
|
class: a(t.question.getColumnClass()),
|
|
1297
|
-
key:
|
|
1302
|
+
key: m,
|
|
1298
1303
|
role: "presentation"
|
|
1299
1304
|
}, [
|
|
1300
1305
|
(r(!0), l(I, null, S(d, (p) => (r(), C(v, D({
|
|
@@ -1326,7 +1331,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1326
1331
|
return (t, i) => (r(), l("div", {
|
|
1327
1332
|
class: a(e(t.item))
|
|
1328
1333
|
}, [
|
|
1329
|
-
|
|
1334
|
+
g("label", {
|
|
1330
1335
|
class: a(t.question.cssClasses.label)
|
|
1331
1336
|
}, [
|
|
1332
1337
|
t.question.multiSelect ? T((r(), l("input", {
|
|
@@ -1362,10 +1367,10 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1362
1367
|
}, null, 10, n1)), [
|
|
1363
1368
|
[Y, s.value]
|
|
1364
1369
|
]),
|
|
1365
|
-
|
|
1370
|
+
g("div", {
|
|
1366
1371
|
class: a(t.question.cssClasses.itemDecorator)
|
|
1367
1372
|
}, [
|
|
1368
|
-
|
|
1373
|
+
g("div", {
|
|
1369
1374
|
class: a(t.question.cssClasses.imageContainer)
|
|
1370
1375
|
}, [
|
|
1371
1376
|
t.question.cssClasses.checkedItemDecorator ? (r(), l("span", {
|
|
@@ -1536,7 +1541,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1536
1541
|
ref_key: "root",
|
|
1537
1542
|
ref: e
|
|
1538
1543
|
}, [
|
|
1539
|
-
|
|
1544
|
+
g("div", {
|
|
1540
1545
|
class: a(i.question.cssClasses.selectWrapper)
|
|
1541
1546
|
}, [
|
|
1542
1547
|
i.question.isReadOnly ? (r(), l("div", {
|
|
@@ -1547,7 +1552,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1547
1552
|
}, H(i.question.readOnlyText), 11, c1)) : T((r(), l("select", {
|
|
1548
1553
|
key: 0,
|
|
1549
1554
|
id: i.question.inputId,
|
|
1550
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1555
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => t.value = m),
|
|
1551
1556
|
onClick: s,
|
|
1552
1557
|
onKeyup: n,
|
|
1553
1558
|
autocomplete: i.question.autocomplete,
|
|
@@ -1559,10 +1564,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1559
1564
|
required: i.question.isRequired
|
|
1560
1565
|
}, [
|
|
1561
1566
|
i.question.allowClear ? (r(), l("option", v1, H(i.question.placeholder), 1)) : c("", !0),
|
|
1562
|
-
(r(!0), l(I, null, S(i.question.visibleChoices, (
|
|
1567
|
+
(r(!0), l(I, null, S(i.question.visibleChoices, (m) => (r(), C(v, {
|
|
1563
1568
|
is: "sv-dropdown-option-item",
|
|
1564
|
-
item:
|
|
1565
|
-
key:
|
|
1569
|
+
item: m,
|
|
1570
|
+
key: m.id
|
|
1566
1571
|
}, null, 8, ["item"]))), 128))
|
|
1567
1572
|
], 42, d1)), [
|
|
1568
1573
|
[Ze, t.value]
|
|
@@ -1616,13 +1621,13 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1616
1621
|
}, d = (w) => {
|
|
1617
1622
|
var A;
|
|
1618
1623
|
(A = s.value) == null || A.keyHandler(w);
|
|
1619
|
-
},
|
|
1624
|
+
}, m = () => {
|
|
1620
1625
|
if (e.value) {
|
|
1621
1626
|
const w = e.value, A = s.value.inputStringRendered;
|
|
1622
1627
|
We.isTwoValueEquals(A, w.value, !1, !0, !1) || (w.value = s.value.inputStringRendered);
|
|
1623
1628
|
}
|
|
1624
1629
|
}, p = (w) => {
|
|
1625
|
-
o.question.onBlur(w),
|
|
1630
|
+
o.question.onBlur(w), m();
|
|
1626
1631
|
}, q = (w) => {
|
|
1627
1632
|
o.question.onFocus(w);
|
|
1628
1633
|
}, V = (w) => {
|
|
@@ -1630,7 +1635,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1630
1635
|
}, f = L(
|
|
1631
1636
|
() => o.question.showSelectedItemLocText
|
|
1632
1637
|
), Z = L(() => o.question.selectedItemLocText);
|
|
1633
|
-
return B(() => s.value), x(
|
|
1638
|
+
return B(() => s.value), x(m), $(m), (w, A) => (r(), l("div", {
|
|
1634
1639
|
class: a(w.question.cssClasses.selectWrapper),
|
|
1635
1640
|
onClick: n
|
|
1636
1641
|
}, [
|
|
@@ -1656,9 +1661,9 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1656
1661
|
key: 0,
|
|
1657
1662
|
class: a(w.question.cssClasses.hintPrefix)
|
|
1658
1663
|
}, [
|
|
1659
|
-
|
|
1664
|
+
g("span", null, H(s.value.hintStringPrefix), 1)
|
|
1660
1665
|
], 2)) : c("", !0),
|
|
1661
|
-
|
|
1666
|
+
g("div", {
|
|
1662
1667
|
class: a(w.question.cssClasses.controlValue)
|
|
1663
1668
|
}, [
|
|
1664
1669
|
f.value ? (r(), C(v, {
|
|
@@ -1670,8 +1675,8 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1670
1675
|
key: 1,
|
|
1671
1676
|
class: a(w.question.cssClasses.hintSuffix)
|
|
1672
1677
|
}, [
|
|
1673
|
-
|
|
1674
|
-
|
|
1678
|
+
g("span", y1, H(s.value.inputStringRendered), 1),
|
|
1679
|
+
g("span", null, H(s.value.hintStringSuffix), 1)
|
|
1675
1680
|
], 2)) : c("", !0),
|
|
1676
1681
|
w.question.showInputFieldComponent ? (r(), C(v, {
|
|
1677
1682
|
key: 2,
|
|
@@ -1679,7 +1684,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1679
1684
|
item: s.value.getSelectedAction(),
|
|
1680
1685
|
question: w.question
|
|
1681
1686
|
}, null, 8, ["is", "item", "question"])) : c("", !0),
|
|
1682
|
-
|
|
1687
|
+
g("input", {
|
|
1683
1688
|
type: "text",
|
|
1684
1689
|
ref_key: "inputElement",
|
|
1685
1690
|
ref: e,
|
|
@@ -1734,7 +1739,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1734
1739
|
is: "survey-string",
|
|
1735
1740
|
locString: w.question.selectedItemLocText
|
|
1736
1741
|
}, null, 8, ["locString"])) : c("", !0),
|
|
1737
|
-
|
|
1742
|
+
g("div", null, H(w.question.readOnlyText), 1)
|
|
1738
1743
|
], 10, q1)) : (r(), C(v, {
|
|
1739
1744
|
key: 1,
|
|
1740
1745
|
is: "sv-popup",
|
|
@@ -1803,7 +1808,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1803
1808
|
}, d = (p) => {
|
|
1804
1809
|
var q;
|
|
1805
1810
|
(q = e.value) == null || q.onBlur(p);
|
|
1806
|
-
},
|
|
1811
|
+
}, m = ee(() => o.question.selectedChoices);
|
|
1807
1812
|
return B(() => e.value), (p, q) => (r(), l("div", {
|
|
1808
1813
|
class: a(p.question.cssClasses.selectWrapper),
|
|
1809
1814
|
onClick: s
|
|
@@ -1826,10 +1831,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1826
1831
|
"aria-activedescendant": e.value.ariaActivedescendant,
|
|
1827
1832
|
required: p.question.isRequired ? !0 : null
|
|
1828
1833
|
}, [
|
|
1829
|
-
|
|
1834
|
+
g("div", {
|
|
1830
1835
|
class: a(p.question.cssClasses.controlValue)
|
|
1831
1836
|
}, [
|
|
1832
|
-
(r(!0), l(I, null, S(k(
|
|
1837
|
+
(r(!0), l(I, null, S(k(m), (V, f) => (r(), C(v, {
|
|
1833
1838
|
is: "sv-tagbox-item",
|
|
1834
1839
|
item: V,
|
|
1835
1840
|
question: p.question,
|
|
@@ -1916,9 +1921,9 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1916
1921
|
key: 0,
|
|
1917
1922
|
class: a(i.question.cssClasses.hintPrefix)
|
|
1918
1923
|
}, [
|
|
1919
|
-
|
|
1924
|
+
g("span", null, H(i.model.hintStringPrefix), 1)
|
|
1920
1925
|
], 2)) : c("", !0),
|
|
1921
|
-
|
|
1926
|
+
g("div", {
|
|
1922
1927
|
class: a(i.question.cssClasses.hintSuffixWrapper)
|
|
1923
1928
|
}, [
|
|
1924
1929
|
i.question.showSelectedItemLocText ? (r(), C(v, {
|
|
@@ -1930,13 +1935,13 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1930
1935
|
key: 1,
|
|
1931
1936
|
class: a(i.question.cssClasses.hintSuffix)
|
|
1932
1937
|
}, [
|
|
1933
|
-
|
|
1934
|
-
|
|
1938
|
+
g("span", M1, H(i.model.inputStringRendered), 1),
|
|
1939
|
+
g("span", null, H(i.model.hintStringSuffix), 1)
|
|
1935
1940
|
], 2)) : c("", !0),
|
|
1936
|
-
T(
|
|
1941
|
+
T(g("input", {
|
|
1937
1942
|
type: "text",
|
|
1938
1943
|
autocomplete: "off",
|
|
1939
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1944
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.model.inputStringRendered = m),
|
|
1940
1945
|
class: a(i.question.cssClasses.filterStringInput),
|
|
1941
1946
|
placeholder: i.model.filterStringPlaceholder,
|
|
1942
1947
|
disabled: i.question.isDisabledAttr,
|
|
@@ -1975,13 +1980,13 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1975
1980
|
class: "sv-tagbox__item",
|
|
1976
1981
|
key: s.item.key
|
|
1977
1982
|
}, [
|
|
1978
|
-
|
|
1983
|
+
g("div", S1, [
|
|
1979
1984
|
y(v, {
|
|
1980
1985
|
is: "survey-string",
|
|
1981
1986
|
locString: s.item.locText
|
|
1982
1987
|
}, null, 8, ["locString"])
|
|
1983
1988
|
]),
|
|
1984
|
-
|
|
1989
|
+
g("div", {
|
|
1985
1990
|
class: a(s.question.cssClasses.cleanItemButton),
|
|
1986
1991
|
onClick: e
|
|
1987
1992
|
}, [
|
|
@@ -2018,19 +2023,19 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2018
2023
|
ref_key: "root",
|
|
2019
2024
|
ref: e
|
|
2020
2025
|
}, [
|
|
2021
|
-
t.question.selectToRankEnabled ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.renderedRankingChoices, (d,
|
|
2022
|
-
key: d.value + "-" +
|
|
2026
|
+
t.question.selectToRankEnabled ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.renderedRankingChoices, (d, m) => (r(), C(v, D({
|
|
2027
|
+
key: d.value + "-" + m + "-item",
|
|
2023
2028
|
is: s(d)
|
|
2024
|
-
}, n(d,
|
|
2029
|
+
}, n(d, m)), null, 16, ["is"]))), 128)),
|
|
2025
2030
|
t.question.selectToRankEnabled ? (r(), l("div", {
|
|
2026
2031
|
key: 1,
|
|
2027
2032
|
class: a(t.question.getContainerClasses("from")),
|
|
2028
2033
|
"data-ranking": "from-container"
|
|
2029
2034
|
}, [
|
|
2030
|
-
(r(!0), l(I, null, S(t.question.renderedUnRankingChoices, (d,
|
|
2031
|
-
key: d.value + "-" +
|
|
2035
|
+
(r(!0), l(I, null, S(t.question.renderedUnRankingChoices, (d, m) => (r(), C(v, D({
|
|
2036
|
+
key: d.value + "-" + m + "-item",
|
|
2032
2037
|
is: s(d)
|
|
2033
|
-
}, n(d,
|
|
2038
|
+
}, n(d, m, !0)), null, 16, ["is"]))), 128)),
|
|
2034
2039
|
t.question.renderedUnRankingChoices.length === 0 ? (r(), l("div", {
|
|
2035
2040
|
key: 0,
|
|
2036
2041
|
class: a(t.question.cssClasses.containerPlaceholder)
|
|
@@ -2050,10 +2055,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2050
2055
|
class: a(t.question.getContainerClasses("to")),
|
|
2051
2056
|
"data-ranking": "to-container"
|
|
2052
2057
|
}, [
|
|
2053
|
-
(r(!0), l(I, null, S(t.question.renderedRankingChoices, (d,
|
|
2054
|
-
key: d.value + "-" +
|
|
2058
|
+
(r(!0), l(I, null, S(t.question.renderedRankingChoices, (d, m) => (r(), C(v, D({
|
|
2059
|
+
key: d.value + "-" + m + "-item",
|
|
2055
2060
|
is: s(d)
|
|
2056
|
-
}, n(d,
|
|
2061
|
+
}, n(d, m)), null, 16, ["is"]))), 128)),
|
|
2057
2062
|
t.question.renderedRankingChoices.length === 0 ? (r(), l("div", {
|
|
2058
2063
|
key: 0,
|
|
2059
2064
|
class: a(t.question.cssClasses.containerPlaceholder)
|
|
@@ -2066,7 +2071,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2066
2071
|
], 2)) : c("", !0)
|
|
2067
2072
|
], 2));
|
|
2068
2073
|
}
|
|
2069
|
-
}), T1 = ["tabindex", "data-sv-drop-target-ranking-item"], R1 = {
|
|
2074
|
+
}), T1 = ["id", "tabindex", "data-sv-drop-target-ranking-item"], R1 = {
|
|
2070
2075
|
tabindex: "-1",
|
|
2071
2076
|
style: { outline: "none" }
|
|
2072
2077
|
}, Z1 = ["xlink:href"], $1 = ["xlink:href"], D1 = ["xlink:href"], A1 = /* @__PURE__ */ h({
|
|
@@ -2081,6 +2086,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2081
2086
|
setup(u) {
|
|
2082
2087
|
const o = u, e = L(() => o.question.getNumberByIndex(o.index));
|
|
2083
2088
|
return B(() => o.item), (s, n) => (r(), l("div", {
|
|
2089
|
+
id: s.question.getItemId(s.item),
|
|
2084
2090
|
tabindex: s.question.getItemTabIndex(s.item),
|
|
2085
2091
|
"data-sv-drop-target-ranking-item": s.index,
|
|
2086
2092
|
class: a(s.question.getItemClass(s.item)),
|
|
@@ -2104,27 +2110,27 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2104
2110
|
);
|
|
2105
2111
|
})
|
|
2106
2112
|
}, [
|
|
2107
|
-
|
|
2108
|
-
|
|
2113
|
+
g("div", R1, [
|
|
2114
|
+
g("div", {
|
|
2109
2115
|
class: a(s.question.cssClasses.itemGhostNode)
|
|
2110
2116
|
}, null, 2),
|
|
2111
|
-
|
|
2117
|
+
g("div", {
|
|
2112
2118
|
class: a(s.question.cssClasses.itemContent)
|
|
2113
2119
|
}, [
|
|
2114
|
-
|
|
2120
|
+
g("div", {
|
|
2115
2121
|
class: a(s.question.cssClasses.itemIconContainer)
|
|
2116
2122
|
}, [
|
|
2117
2123
|
(r(), l("svg", {
|
|
2118
2124
|
class: a(s.question.getIconHoverCss())
|
|
2119
2125
|
}, [
|
|
2120
|
-
|
|
2126
|
+
g("use", {
|
|
2121
2127
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2122
2128
|
}, null, 8, Z1)
|
|
2123
2129
|
], 2)),
|
|
2124
2130
|
(r(), l("svg", {
|
|
2125
2131
|
class: a(s.question.getIconFocusCss())
|
|
2126
2132
|
}, [
|
|
2127
|
-
|
|
2133
|
+
g("use", {
|
|
2128
2134
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2129
2135
|
}, null, 8, $1)
|
|
2130
2136
|
], 2))
|
|
@@ -2137,7 +2143,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2137
2143
|
class: a(s.question.getItemIndexClasses(s.item))
|
|
2138
2144
|
}, [
|
|
2139
2145
|
(r(), l("svg", null, [
|
|
2140
|
-
|
|
2146
|
+
g("use", {
|
|
2141
2147
|
"xlink:href": s.question.dashSvgIcon
|
|
2142
2148
|
}, null, 8, D1)
|
|
2143
2149
|
]))
|
|
@@ -2168,7 +2174,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2168
2174
|
}, null, 8, ["locString"])
|
|
2169
2175
|
], 2));
|
|
2170
2176
|
}
|
|
2171
|
-
}), N1 = { role: "radiogroup" }, E1 = /* @__PURE__ */
|
|
2177
|
+
}), N1 = { role: "radiogroup" }, E1 = /* @__PURE__ */ g("legend", {
|
|
2172
2178
|
role: "presentation",
|
|
2173
2179
|
class: "sv-hidden"
|
|
2174
2180
|
}, null, -1), W1 = /* @__PURE__ */ h({
|
|
@@ -2186,7 +2192,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2186
2192
|
ref_key: "root",
|
|
2187
2193
|
ref: e
|
|
2188
2194
|
}, [
|
|
2189
|
-
|
|
2195
|
+
g("fieldset", N1, [
|
|
2190
2196
|
E1,
|
|
2191
2197
|
n.question.hasMinLabel ? (r(), l("span", {
|
|
2192
2198
|
key: 0,
|
|
@@ -2216,7 +2222,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2216
2222
|
])
|
|
2217
2223
|
], 2));
|
|
2218
2224
|
}
|
|
2219
|
-
}), F1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"],
|
|
2225
|
+
}), F1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], O1 = ["data-text"], z1 = /* @__PURE__ */ h({
|
|
2220
2226
|
__name: "RatingItem",
|
|
2221
2227
|
props: {
|
|
2222
2228
|
question: {},
|
|
@@ -2230,7 +2236,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2230
2236
|
onMousedown: s[1] || (s[1] = (n) => e.question.onMouseDown()),
|
|
2231
2237
|
class: a(e.question.getItemClassByText(e.item.itemValue, e.item.text))
|
|
2232
2238
|
}, [
|
|
2233
|
-
|
|
2239
|
+
g("input", {
|
|
2234
2240
|
type: "radio",
|
|
2235
2241
|
class: "sv-visuallyhidden",
|
|
2236
2242
|
name: e.question.questionName,
|
|
@@ -2244,7 +2250,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2244
2250
|
"aria-invalid": e.question.ariaInvalid,
|
|
2245
2251
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2246
2252
|
}, null, 8, F1),
|
|
2247
|
-
|
|
2253
|
+
g("span", {
|
|
2248
2254
|
class: a(e.question.cssClasses.itemText),
|
|
2249
2255
|
"data-text": e.item.text
|
|
2250
2256
|
}, [
|
|
@@ -2252,7 +2258,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2252
2258
|
is: "survey-string",
|
|
2253
2259
|
locString: e.item.locText
|
|
2254
2260
|
}, null, 8, ["locString"])
|
|
2255
|
-
], 10,
|
|
2261
|
+
], 10, O1)
|
|
2256
2262
|
], 34));
|
|
2257
2263
|
}
|
|
2258
2264
|
}), U1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], K1 = /* @__PURE__ */ h({
|
|
@@ -2272,7 +2278,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2272
2278
|
onMouseover: s[2] || (s[2] = (n) => e.question.onItemMouseIn(e.item)),
|
|
2273
2279
|
onMouseleave: s[3] || (s[3] = (n) => e.question.onItemMouseOut(e.item))
|
|
2274
2280
|
}, [
|
|
2275
|
-
|
|
2281
|
+
g("input", {
|
|
2276
2282
|
type: "radio",
|
|
2277
2283
|
class: "sv-visuallyhidden",
|
|
2278
2284
|
name: e.question.questionName,
|
|
@@ -2310,7 +2316,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2310
2316
|
onMouseover: s[2] || (s[2] = (n) => e.question.onItemMouseIn(e.item)),
|
|
2311
2317
|
onMouseleave: s[3] || (s[3] = (n) => e.question.onItemMouseOut(e.item))
|
|
2312
2318
|
}, [
|
|
2313
|
-
|
|
2319
|
+
g("input", {
|
|
2314
2320
|
type: "radio",
|
|
2315
2321
|
class: "sv-visuallyhidden",
|
|
2316
2322
|
name: e.question.questionName,
|
|
@@ -2352,7 +2358,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2352
2358
|
setup(u) {
|
|
2353
2359
|
const o = u;
|
|
2354
2360
|
return B(() => o.item), (e, s) => (r(), l("div", G1, [
|
|
2355
|
-
|
|
2361
|
+
g("span", J1, H(e.item.title), 1),
|
|
2356
2362
|
e.item.description ? (r(), l("div", X1, [
|
|
2357
2363
|
y(v, {
|
|
2358
2364
|
is: "survey-string",
|
|
@@ -2406,16 +2412,16 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2406
2412
|
class: a(t.question.cssClasses.root),
|
|
2407
2413
|
ref_key: "root",
|
|
2408
2414
|
ref: e,
|
|
2409
|
-
onKeydown: i[4] || (i[4] = (
|
|
2415
|
+
onKeydown: i[4] || (i[4] = (m) => t.question.onKeyDownCore(m))
|
|
2410
2416
|
}, [
|
|
2411
|
-
|
|
2417
|
+
g("label", {
|
|
2412
2418
|
class: a(t.question.getItemCss())
|
|
2413
2419
|
}, [
|
|
2414
|
-
T(
|
|
2420
|
+
T(g("input", {
|
|
2415
2421
|
type: "checkbox",
|
|
2416
2422
|
name: t.question.name,
|
|
2417
2423
|
value: (d = t.question.booleanValue) != null ? d : "",
|
|
2418
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
2424
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => t.question.booleanValue = m),
|
|
2419
2425
|
class: a(t.question.cssClasses.control),
|
|
2420
2426
|
id: t.question.inputId,
|
|
2421
2427
|
".indeterminate": t.question.isIndeterminate,
|
|
@@ -2431,11 +2437,11 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2431
2437
|
}, null, 42, _1), [
|
|
2432
2438
|
[oe, t.question.booleanValue]
|
|
2433
2439
|
]),
|
|
2434
|
-
|
|
2440
|
+
g("div", {
|
|
2435
2441
|
class: a(t.question.cssClasses.sliderGhost),
|
|
2436
|
-
onClick: i[1] || (i[1] = (
|
|
2442
|
+
onClick: i[1] || (i[1] = (m) => s(m, t.question.swapOrder))
|
|
2437
2443
|
}, [
|
|
2438
|
-
|
|
2444
|
+
g("span", {
|
|
2439
2445
|
class: a(t.question.getLabelCss(t.question.swapOrder))
|
|
2440
2446
|
}, [
|
|
2441
2447
|
y(v, {
|
|
@@ -2444,11 +2450,11 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2444
2450
|
}, null, 8, ["locString"])
|
|
2445
2451
|
], 2)
|
|
2446
2452
|
], 2),
|
|
2447
|
-
|
|
2453
|
+
g("div", {
|
|
2448
2454
|
class: a(t.question.cssClasses.switch),
|
|
2449
|
-
onClick: i[2] || (i[2] = (
|
|
2455
|
+
onClick: i[2] || (i[2] = (m) => n(m))
|
|
2450
2456
|
}, [
|
|
2451
|
-
|
|
2457
|
+
g("span", {
|
|
2452
2458
|
class: a(t.question.cssClasses.slider)
|
|
2453
2459
|
}, [
|
|
2454
2460
|
t.question.cssClasses.sliderText && t.question.isDeterminated ? (r(), l("span", {
|
|
@@ -2462,11 +2468,11 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2462
2468
|
], 2)) : c("", !0)
|
|
2463
2469
|
], 2)
|
|
2464
2470
|
], 2),
|
|
2465
|
-
|
|
2471
|
+
g("div", {
|
|
2466
2472
|
class: a(t.question.cssClasses.sliderGhost),
|
|
2467
|
-
onClick: i[3] || (i[3] = (
|
|
2473
|
+
onClick: i[3] || (i[3] = (m) => s(m, !t.question.swapOrder))
|
|
2468
2474
|
}, [
|
|
2469
|
-
|
|
2475
|
+
g("span", {
|
|
2470
2476
|
class: a(t.question.getLabelCss(!t.question.swapOrder))
|
|
2471
2477
|
}, [
|
|
2472
2478
|
y(v, {
|
|
@@ -2498,7 +2504,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2498
2504
|
ref_key: "root",
|
|
2499
2505
|
ref: o
|
|
2500
2506
|
}, [
|
|
2501
|
-
|
|
2507
|
+
g("fieldset", {
|
|
2502
2508
|
role: "presentation",
|
|
2503
2509
|
class: a(s.question.cssClasses.radioFieldset)
|
|
2504
2510
|
}, [
|
|
@@ -2542,10 +2548,10 @@ const so = /* @__PURE__ */ h({
|
|
|
2542
2548
|
role: "presentation",
|
|
2543
2549
|
class: a(s.question.getRadioItemClass(s.question.cssClasses, s.value))
|
|
2544
2550
|
}, [
|
|
2545
|
-
|
|
2551
|
+
g("label", {
|
|
2546
2552
|
class: a(s.question.cssClasses.radioLabel)
|
|
2547
2553
|
}, [
|
|
2548
|
-
|
|
2554
|
+
g("input", {
|
|
2549
2555
|
type: "radio",
|
|
2550
2556
|
name: s.question.name,
|
|
2551
2557
|
value: s.value,
|
|
@@ -2564,12 +2570,12 @@ const so = /* @__PURE__ */ h({
|
|
|
2564
2570
|
key: 0,
|
|
2565
2571
|
class: a(s.question.cssClasses.itemRadioDecorator)
|
|
2566
2572
|
}, [
|
|
2567
|
-
|
|
2573
|
+
g("use", {
|
|
2568
2574
|
"xlink:href": s.question.itemSvgIcon
|
|
2569
2575
|
}, null, 8, to)
|
|
2570
2576
|
], 2)) : c("", !0)
|
|
2571
2577
|
], 2)) : c("", !0),
|
|
2572
|
-
|
|
2578
|
+
g("span", {
|
|
2573
2579
|
class: a(s.question.cssClasses.radioControlLabel)
|
|
2574
2580
|
}, [
|
|
2575
2581
|
y(v, {
|
|
@@ -2580,7 +2586,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2580
2586
|
], 2)
|
|
2581
2587
|
], 2));
|
|
2582
2588
|
}
|
|
2583
|
-
}), ro = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], io = ["xlink:href"], ao = /* @__PURE__ */
|
|
2589
|
+
}), ro = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], io = ["xlink:href"], ao = /* @__PURE__ */ g("span", { class: "check" }, null, -1), lo = ["id"], uo = ["id"];
|
|
2584
2590
|
_.Instance.registerRenderer(
|
|
2585
2591
|
"boolean",
|
|
2586
2592
|
"checkbox",
|
|
@@ -2602,13 +2608,13 @@ const vo = /* @__PURE__ */ h({
|
|
|
2602
2608
|
ref_key: "root",
|
|
2603
2609
|
ref: e
|
|
2604
2610
|
}, [
|
|
2605
|
-
|
|
2611
|
+
g("div", {
|
|
2606
2612
|
class: a(s.question.getCheckboxItemCss())
|
|
2607
2613
|
}, [
|
|
2608
|
-
|
|
2614
|
+
g("label", {
|
|
2609
2615
|
class: a(s.question.cssClasses.checkboxLabel)
|
|
2610
2616
|
}, [
|
|
2611
|
-
T(
|
|
2617
|
+
T(g("input", {
|
|
2612
2618
|
type: "checkbox",
|
|
2613
2619
|
name: s.question.name,
|
|
2614
2620
|
value: (t = s.question.booleanValue) != null ? t : "",
|
|
@@ -2625,14 +2631,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2625
2631
|
}, null, 42, ro), [
|
|
2626
2632
|
[oe, s.question.booleanValue]
|
|
2627
2633
|
]),
|
|
2628
|
-
|
|
2634
|
+
g("span", {
|
|
2629
2635
|
class: a(s.question.cssClasses.checkboxMaterialDecorator)
|
|
2630
2636
|
}, [
|
|
2631
2637
|
s.question.svgIcon ? (r(), l("svg", {
|
|
2632
2638
|
key: 0,
|
|
2633
2639
|
class: a(s.question.cssClasses.checkboxItemDecorator)
|
|
2634
2640
|
}, [
|
|
2635
|
-
|
|
2641
|
+
g("use", {
|
|
2636
2642
|
"xlink:href": s.question.svgIcon
|
|
2637
2643
|
}, null, 8, io)
|
|
2638
2644
|
], 2)) : c("", !0),
|
|
@@ -2684,7 +2690,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2684
2690
|
ref_key: "root",
|
|
2685
2691
|
ref: e
|
|
2686
2692
|
}, [
|
|
2687
|
-
|
|
2693
|
+
g("tbody", null, [
|
|
2688
2694
|
(r(!0), l(I, null, S(k(s), (i, d) => (r(), l(I, {
|
|
2689
2695
|
key: n.question.inputId + "rowkey" + d
|
|
2690
2696
|
}, [
|
|
@@ -2692,14 +2698,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2692
2698
|
key: 0,
|
|
2693
2699
|
class: a(n.question.cssClasses.row)
|
|
2694
2700
|
}, [
|
|
2695
|
-
(r(!0), l(I, null, S(i.cells, (
|
|
2696
|
-
key: "item" +
|
|
2697
|
-
class: a(
|
|
2701
|
+
(r(!0), l(I, null, S(i.cells, (m) => (r(), l("td", {
|
|
2702
|
+
key: "item" + m.item.editor.id,
|
|
2703
|
+
class: a(m.className)
|
|
2698
2704
|
}, [
|
|
2699
2705
|
y(v, {
|
|
2700
2706
|
is: "survey-multipletext-item",
|
|
2701
2707
|
question: n.question,
|
|
2702
|
-
cell:
|
|
2708
|
+
cell: m
|
|
2703
2709
|
}, null, 8, ["question", "cell"])
|
|
2704
2710
|
], 2))), 128))
|
|
2705
2711
|
], 2)) : c("", !0)
|
|
@@ -2725,7 +2731,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2725
2731
|
key: 0,
|
|
2726
2732
|
class: a(n.question.getItemLabelCss(s.value))
|
|
2727
2733
|
}, [
|
|
2728
|
-
|
|
2734
|
+
g("span", {
|
|
2729
2735
|
class: a(n.question.getItemTitleCss()),
|
|
2730
2736
|
style: M({
|
|
2731
2737
|
minWidth: n.question.itemTitleWidth,
|
|
@@ -2788,16 +2794,16 @@ const vo = /* @__PURE__ */ h({
|
|
|
2788
2794
|
ref_key: "root",
|
|
2789
2795
|
ref: e
|
|
2790
2796
|
}, [
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2797
|
+
g("fieldset", null, [
|
|
2798
|
+
g("legend", go, H(t.question.locTitle.renderedHtml), 1),
|
|
2799
|
+
g("table", {
|
|
2794
2800
|
class: a(t.question.getTableCss())
|
|
2795
2801
|
}, [
|
|
2796
2802
|
t.question.showHeader ? (r(), l("thead", Co, [
|
|
2797
|
-
|
|
2803
|
+
g("tr", null, [
|
|
2798
2804
|
t.question.hasRows ? (r(), l("td", yo)) : c("", !0),
|
|
2799
|
-
(r(!0), l(I, null, S(t.question.visibleColumns, (d,
|
|
2800
|
-
key:
|
|
2805
|
+
(r(!0), l(I, null, S(t.question.visibleColumns, (d, m) => (r(), l("th", {
|
|
2806
|
+
key: m,
|
|
2801
2807
|
class: a(t.question.cssClasses.headerCell),
|
|
2802
2808
|
style: M({
|
|
2803
2809
|
minWidth: t.question.columnMinWidth,
|
|
@@ -2819,12 +2825,12 @@ const vo = /* @__PURE__ */ h({
|
|
|
2819
2825
|
], 6))), 128))
|
|
2820
2826
|
])
|
|
2821
2827
|
])) : c("", !0),
|
|
2822
|
-
|
|
2823
|
-
(r(!0), l(I, null, S(s.value, (d,
|
|
2824
|
-
key: "row_" + d.name + "_" +
|
|
2828
|
+
g("tbody", null, [
|
|
2829
|
+
(r(!0), l(I, null, S(s.value, (d, m) => (r(), l("tr", {
|
|
2830
|
+
key: "row_" + d.name + "_" + m,
|
|
2825
2831
|
class: a(d.rowClasses || void 0)
|
|
2826
2832
|
}, [
|
|
2827
|
-
T(
|
|
2833
|
+
T(g("td", {
|
|
2828
2834
|
class: a(d.rowTextClasses),
|
|
2829
2835
|
style: M({
|
|
2830
2836
|
minWidth: t.question.rowTitleWidth,
|
|
@@ -2925,7 +2931,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2925
2931
|
onMousedown: e[1] || (e[1] = (s) => o.question.onMouseDown()),
|
|
2926
2932
|
class: a(o.question.getItemClass(o.row, o.column))
|
|
2927
2933
|
}, [
|
|
2928
|
-
T(
|
|
2934
|
+
T(g("input", {
|
|
2929
2935
|
type: "radio",
|
|
2930
2936
|
class: a(o.question.cssClasses.itemValue),
|
|
2931
2937
|
name: o.row.fullName,
|
|
@@ -2944,14 +2950,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2944
2950
|
}, null, 10, Lo), [
|
|
2945
2951
|
[Y, o.row.value]
|
|
2946
2952
|
]),
|
|
2947
|
-
|
|
2953
|
+
g("span", {
|
|
2948
2954
|
class: a(o.question.cssClasses.materialDecorator)
|
|
2949
2955
|
}, [
|
|
2950
2956
|
o.question.itemSvgIcon ? (r(), l("svg", {
|
|
2951
2957
|
key: 0,
|
|
2952
2958
|
class: a(o.question.cssClasses.itemDecorator)
|
|
2953
2959
|
}, [
|
|
2954
|
-
|
|
2960
|
+
g("use", {
|
|
2955
2961
|
"xlink:href": o.question.itemSvgIcon
|
|
2956
2962
|
}, null, 8, bo)
|
|
2957
2963
|
], 2)) : c("", !0)
|
|
@@ -2993,11 +2999,11 @@ const vo = /* @__PURE__ */ h({
|
|
|
2993
2999
|
style: M({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2994
3000
|
class: a(s.question.cssClasses.tableWrapper)
|
|
2995
3001
|
}, [
|
|
2996
|
-
|
|
3002
|
+
g("table", {
|
|
2997
3003
|
class: a(s.question.getTableCss())
|
|
2998
3004
|
}, [
|
|
2999
3005
|
e.value.showHeader ? (r(), l("thead", Io, [
|
|
3000
|
-
|
|
3006
|
+
g("tr", null, [
|
|
3001
3007
|
(r(!0), l(I, null, S(e.value.headerRow.cells, (t) => (r(), l(I, null, [
|
|
3002
3008
|
t.hasTitle ? (r(), l("th", {
|
|
3003
3009
|
key: "header_" + t.id,
|
|
@@ -3031,7 +3037,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3031
3037
|
], 64))), 256))
|
|
3032
3038
|
])
|
|
3033
3039
|
])) : c("", !0),
|
|
3034
|
-
|
|
3040
|
+
g("tbody", null, [
|
|
3035
3041
|
(r(!0), l(I, null, S(e.value.renderedRows, (t) => (r(), C(v, {
|
|
3036
3042
|
key: s.question.inputId + "_" + t.id,
|
|
3037
3043
|
is: "survey-matrix-row",
|
|
@@ -3040,7 +3046,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3040
3046
|
}, null, 8, ["row", "question"]))), 128))
|
|
3041
3047
|
]),
|
|
3042
3048
|
e.value.showFooter ? (r(), l("tfoot", So, [
|
|
3043
|
-
|
|
3049
|
+
g("tr", null, [
|
|
3044
3050
|
(r(!0), l(I, null, S(e.value.footerRow.cells, (t, i) => (r(), C(v, {
|
|
3045
3051
|
is: "survey-matrixdropdown-cell",
|
|
3046
3052
|
cell: t,
|
|
@@ -3052,7 +3058,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3052
3058
|
], 2)
|
|
3053
3059
|
], 6));
|
|
3054
3060
|
}
|
|
3055
|
-
}), Vo = /* @__PURE__ */
|
|
3061
|
+
}), Vo = /* @__PURE__ */ g("span", null, "\xA0", -1), To = /* @__PURE__ */ h({
|
|
3056
3062
|
__name: "MatrixHeaderRequired",
|
|
3057
3063
|
props: {
|
|
3058
3064
|
question: {},
|
|
@@ -3104,7 +3110,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3104
3110
|
}
|
|
3105
3111
|
return "survey-panel";
|
|
3106
3112
|
}
|
|
3107
|
-
}),
|
|
3113
|
+
}), m = L(() => {
|
|
3108
3114
|
if (o.cell.hasPanel) {
|
|
3109
3115
|
const q = o.cell.panel, V = q.survey;
|
|
3110
3116
|
let f;
|
|
@@ -3147,7 +3153,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3147
3153
|
p.cell.hasPanel ? (r(), C(v, D({
|
|
3148
3154
|
key: 3,
|
|
3149
3155
|
is: d.value
|
|
3150
|
-
},
|
|
3156
|
+
}, m.value), null, 16, ["is"])) : c("", !0),
|
|
3151
3157
|
p.cell.showResponsiveTitle ? (r(), l("span", {
|
|
3152
3158
|
key: 4,
|
|
3153
3159
|
class: a(p.cell.responsiveTitleCss)
|
|
@@ -3255,7 +3261,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3255
3261
|
key: 0,
|
|
3256
3262
|
class: a(n.question.cssClasses.footer)
|
|
3257
3263
|
}, [
|
|
3258
|
-
|
|
3264
|
+
g("button", {
|
|
3259
3265
|
type: "button",
|
|
3260
3266
|
class: a(n.question.getAddRowButtonCss()),
|
|
3261
3267
|
onClick: s
|
|
@@ -3264,7 +3270,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3264
3270
|
is: "survey-string",
|
|
3265
3271
|
locString: n.question.locAddRowText
|
|
3266
3272
|
}, null, 8, ["locString"]),
|
|
3267
|
-
|
|
3273
|
+
g("span", {
|
|
3268
3274
|
class: a(n.question.cssClasses.iconAdd)
|
|
3269
3275
|
}, null, 2)
|
|
3270
3276
|
], 2)
|
|
@@ -3278,7 +3284,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3278
3284
|
key: 2,
|
|
3279
3285
|
class: a(n.question.cssClasses.emptyRowsSection)
|
|
3280
3286
|
}, [
|
|
3281
|
-
|
|
3287
|
+
g("div", {
|
|
3282
3288
|
class: a(n.question.cssClasses.emptyRowsText)
|
|
3283
3289
|
}, [
|
|
3284
3290
|
y(v, {
|
|
@@ -3296,7 +3302,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3296
3302
|
is: "survey-string",
|
|
3297
3303
|
locString: n.question.locAddRowText
|
|
3298
3304
|
}, null, 8, ["locString"]),
|
|
3299
|
-
|
|
3305
|
+
g("span", {
|
|
3300
3306
|
class: a(n.question.cssClasses.iconAdd)
|
|
3301
3307
|
}, null, 2)
|
|
3302
3308
|
], 2)) : c("", !0)
|
|
@@ -3305,7 +3311,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3305
3311
|
key: 3,
|
|
3306
3312
|
class: a(n.question.cssClasses.footer)
|
|
3307
3313
|
}, [
|
|
3308
|
-
|
|
3314
|
+
g("button", {
|
|
3309
3315
|
type: "button",
|
|
3310
3316
|
class: a(n.question.getAddRowButtonCss()),
|
|
3311
3317
|
onClick: s
|
|
@@ -3314,7 +3320,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3314
3320
|
is: "survey-string",
|
|
3315
3321
|
locString: n.question.locAddRowText
|
|
3316
3322
|
}, null, 8, ["locString"]),
|
|
3317
|
-
|
|
3323
|
+
g("span", {
|
|
3318
3324
|
class: a(n.question.cssClasses.iconAdd)
|
|
3319
3325
|
}, null, 2)
|
|
3320
3326
|
], 2)
|
|
@@ -3345,7 +3351,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3345
3351
|
is: "survey-string",
|
|
3346
3352
|
locString: k(e).locRemoveRowText
|
|
3347
3353
|
}, null, 8, ["locString"]),
|
|
3348
|
-
|
|
3354
|
+
g("span", {
|
|
3349
3355
|
class: a(k(e).cssClasses.iconRemove)
|
|
3350
3356
|
}, null, 2)
|
|
3351
3357
|
], 10, Do));
|
|
@@ -3362,7 +3368,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3362
3368
|
key: 0,
|
|
3363
3369
|
class: a(k(e).cssClasses.dragElementDecorator)
|
|
3364
3370
|
}, [
|
|
3365
|
-
|
|
3371
|
+
g("use", {
|
|
3366
3372
|
"xlink:href": k(e).iconDragElement
|
|
3367
3373
|
}, null, 8, Po)
|
|
3368
3374
|
], 2)) : (r(), l("span", {
|
|
@@ -3407,14 +3413,14 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3407
3413
|
e,
|
|
3408
3414
|
(d) => {
|
|
3409
3415
|
d.panelCountChangedCallback = () => {
|
|
3410
|
-
var
|
|
3411
|
-
(
|
|
3416
|
+
var m;
|
|
3417
|
+
(m = s == null ? void 0 : s.proxy) == null || m.$forceUpdate();
|
|
3412
3418
|
}, d.currentIndexChangedCallback = () => {
|
|
3413
|
-
var
|
|
3414
|
-
(
|
|
3419
|
+
var m;
|
|
3420
|
+
(m = s == null ? void 0 : s.proxy) == null || m.$forceUpdate();
|
|
3415
3421
|
}, d.renderModeChangedCallback = () => {
|
|
3416
|
-
var
|
|
3417
|
-
(
|
|
3422
|
+
var m;
|
|
3423
|
+
(m = s == null ? void 0 : s.proxy) == null || m.$forceUpdate();
|
|
3418
3424
|
};
|
|
3419
3425
|
},
|
|
3420
3426
|
(d) => {
|
|
@@ -3422,17 +3428,17 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3422
3428
|
}
|
|
3423
3429
|
);
|
|
3424
3430
|
const n = () => o.question.showLegacyNavigation, t = (d) => {
|
|
3425
|
-
const
|
|
3426
|
-
if (
|
|
3427
|
-
const p =
|
|
3431
|
+
const m = o.question.getSurvey();
|
|
3432
|
+
if (m) {
|
|
3433
|
+
const p = m.getElementWrapperComponentName(d);
|
|
3428
3434
|
if (p)
|
|
3429
3435
|
return p;
|
|
3430
3436
|
}
|
|
3431
3437
|
return "panel";
|
|
3432
3438
|
}, i = (d) => {
|
|
3433
|
-
const
|
|
3439
|
+
const m = o.question.getSurvey();
|
|
3434
3440
|
let p;
|
|
3435
|
-
return
|
|
3441
|
+
return m && (p = m.getElementWrapperComponentData(d)), {
|
|
3436
3442
|
componentName: "survey-panel",
|
|
3437
3443
|
componentData: {
|
|
3438
3444
|
element: d,
|
|
@@ -3440,7 +3446,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3440
3446
|
}
|
|
3441
3447
|
};
|
|
3442
3448
|
};
|
|
3443
|
-
return (d,
|
|
3449
|
+
return (d, m) => (r(), l("div", {
|
|
3444
3450
|
class: a(d.question.cssClasses.root),
|
|
3445
3451
|
ref_key: "root",
|
|
3446
3452
|
ref: e
|
|
@@ -3458,7 +3464,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3458
3464
|
key: 1,
|
|
3459
3465
|
class: a(d.question.cssClasses.noEntriesPlaceholder)
|
|
3460
3466
|
}, [
|
|
3461
|
-
|
|
3467
|
+
g("span", null, [
|
|
3462
3468
|
y(v, {
|
|
3463
3469
|
is: "survey-string",
|
|
3464
3470
|
locString: d.question.locNoEntriesText
|
|
@@ -3473,7 +3479,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3473
3479
|
key: 2,
|
|
3474
3480
|
class: a(d.question.cssClasses.progress)
|
|
3475
3481
|
}, [
|
|
3476
|
-
|
|
3482
|
+
g("div", {
|
|
3477
3483
|
class: a(d.question.cssClasses.progressBar),
|
|
3478
3484
|
style: M({ width: d.question.progress }),
|
|
3479
3485
|
role: "progressbar"
|
|
@@ -3484,13 +3490,13 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3484
3490
|
is: "survey-paneldynamicprogress",
|
|
3485
3491
|
question: d.question
|
|
3486
3492
|
}, null, 8, ["question"])) : c("", !0),
|
|
3487
|
-
|
|
3493
|
+
g("div", {
|
|
3488
3494
|
class: a(d.question.cssClasses.panelsContainer)
|
|
3489
3495
|
}, [
|
|
3490
3496
|
(r(!0), l(I, null, S(d.question.renderedPanels, (p, q) => (r(), l(I, {
|
|
3491
3497
|
key: p.id
|
|
3492
3498
|
}, [
|
|
3493
|
-
|
|
3499
|
+
g("div", {
|
|
3494
3500
|
class: a(d.question.getPanelWrapperCss(p))
|
|
3495
3501
|
}, [
|
|
3496
3502
|
y(v, D({
|
|
@@ -3525,7 +3531,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3525
3531
|
}, null, 8, ["question"])) : c("", !0)
|
|
3526
3532
|
], 2));
|
|
3527
3533
|
}
|
|
3528
|
-
}),
|
|
3534
|
+
}), Oo = /* @__PURE__ */ h({
|
|
3529
3535
|
__name: "PanelDynamicProgress",
|
|
3530
3536
|
props: {
|
|
3531
3537
|
question: {}
|
|
@@ -3535,11 +3541,11 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3535
3541
|
return (s, n) => (r(), l("div", {
|
|
3536
3542
|
class: a(e())
|
|
3537
3543
|
}, [
|
|
3538
|
-
|
|
3544
|
+
g("div", {
|
|
3539
3545
|
style: { clear: "both" },
|
|
3540
3546
|
class: a(e())
|
|
3541
3547
|
}, [
|
|
3542
|
-
|
|
3548
|
+
g("div", {
|
|
3543
3549
|
class: a(s.question.cssClasses.progressContainer)
|
|
3544
3550
|
}, [
|
|
3545
3551
|
y(v, {
|
|
@@ -3550,7 +3556,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3550
3556
|
key: 0,
|
|
3551
3557
|
class: a(s.question.cssClasses.progress)
|
|
3552
3558
|
}, [
|
|
3553
|
-
|
|
3559
|
+
g("div", {
|
|
3554
3560
|
class: a(s.question.cssClasses.progressBar),
|
|
3555
3561
|
style: M({ width: s.question.progress }),
|
|
3556
3562
|
role: "progressbar"
|
|
@@ -3572,7 +3578,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3572
3578
|
], 2)
|
|
3573
3579
|
], 2));
|
|
3574
3580
|
}
|
|
3575
|
-
}),
|
|
3581
|
+
}), zo = /* @__PURE__ */ h({
|
|
3576
3582
|
__name: "PanelDynamicProgressV2",
|
|
3577
3583
|
props: {
|
|
3578
3584
|
question: {}
|
|
@@ -3582,14 +3588,14 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3582
3588
|
key: 0,
|
|
3583
3589
|
class: a(o.question.cssClasses.footer)
|
|
3584
3590
|
}, [
|
|
3585
|
-
|
|
3591
|
+
g("hr", {
|
|
3586
3592
|
class: a(o.question.cssClasses.separator)
|
|
3587
3593
|
}, null, 2),
|
|
3588
3594
|
o.question.isRangeShowing && o.question.isProgressBottomShowing ? (r(), l("div", {
|
|
3589
3595
|
key: 0,
|
|
3590
3596
|
class: a(o.question.cssClasses.progress)
|
|
3591
3597
|
}, [
|
|
3592
|
-
|
|
3598
|
+
g("div", {
|
|
3593
3599
|
class: a(o.question.cssClasses.progressBar),
|
|
3594
3600
|
style: M({ width: o.question.progress }),
|
|
3595
3601
|
role: "progressbar"
|
|
@@ -3629,7 +3635,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3629
3635
|
class: a(k(e).getAddButtonCss()),
|
|
3630
3636
|
onClick: s
|
|
3631
3637
|
}, [
|
|
3632
|
-
|
|
3638
|
+
g("span", {
|
|
3633
3639
|
class: a(k(e).cssClasses.buttonAddText)
|
|
3634
3640
|
}, [
|
|
3635
3641
|
y(v, {
|
|
@@ -3699,9 +3705,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3699
3705
|
type: "button",
|
|
3700
3706
|
id: n(s.value),
|
|
3701
3707
|
class: a(k(e).getPanelRemoveButtonCss()),
|
|
3702
|
-
onClick: d[0] || (d[0] = (
|
|
3708
|
+
onClick: d[0] || (d[0] = (m) => t(s.value))
|
|
3703
3709
|
}, [
|
|
3704
|
-
|
|
3710
|
+
g("span", {
|
|
3705
3711
|
class: a(k(e).cssClasses.buttonRemoveText)
|
|
3706
3712
|
}, [
|
|
3707
3713
|
y(v, {
|
|
@@ -3709,7 +3715,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3709
3715
|
locString: k(e).locPanelRemoveText
|
|
3710
3716
|
}, null, 8, ["locString"])
|
|
3711
3717
|
], 2),
|
|
3712
|
-
|
|
3718
|
+
g("span", {
|
|
3713
3719
|
class: a(k(e).cssClasses.iconRemove)
|
|
3714
3720
|
}, null, 2)
|
|
3715
3721
|
], 10, Xo));
|
|
@@ -3875,7 +3881,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3875
3881
|
setup(u) {
|
|
3876
3882
|
const o = u, e = L(() => o.element.getTitleToolbar());
|
|
3877
3883
|
return (s, n) => (r(), l("div", lt, [
|
|
3878
|
-
|
|
3884
|
+
g("span", ut, [
|
|
3879
3885
|
s.element.isPage ? (r(), C(v, {
|
|
3880
3886
|
key: 0,
|
|
3881
3887
|
is: "survey-string",
|
|
@@ -3905,7 +3911,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3905
3911
|
function Ct(u, o) {
|
|
3906
3912
|
return r(), l("div", pt, gt);
|
|
3907
3913
|
}
|
|
3908
|
-
const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */
|
|
3914
|
+
const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use", null, null, -1), qt = [
|
|
3909
3915
|
ht
|
|
3910
3916
|
], wt = /* @__PURE__ */ h({
|
|
3911
3917
|
__name: "SvgIcon",
|
|
@@ -3918,7 +3924,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3918
3924
|
},
|
|
3919
3925
|
setup(u) {
|
|
3920
3926
|
const o = u, e = b(), s = () => {
|
|
3921
|
-
|
|
3927
|
+
Oe(
|
|
3922
3928
|
o.size,
|
|
3923
3929
|
o.width,
|
|
3924
3930
|
o.height,
|
|
@@ -3948,13 +3954,13 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3948
3954
|
},
|
|
3949
3955
|
setup(u) {
|
|
3950
3956
|
return (o, e) => (r(), l("div", { key: o.errorKey }, [
|
|
3951
|
-
|
|
3957
|
+
g("span", {
|
|
3952
3958
|
class: a(
|
|
3953
3959
|
o.cssClasses ? o.cssClasses.error.icon || void 0 : "panel-error-icon"
|
|
3954
3960
|
),
|
|
3955
3961
|
"aria-hidden": "true"
|
|
3956
3962
|
}, null, 2),
|
|
3957
|
-
|
|
3963
|
+
g("span", {
|
|
3958
3964
|
class: a(
|
|
3959
3965
|
o.cssClasses ? o.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3960
3966
|
)
|
|
@@ -4010,7 +4016,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4010
4016
|
class: a(s.item.getActionRootCss()),
|
|
4011
4017
|
id: s.item.id
|
|
4012
4018
|
}, [
|
|
4013
|
-
|
|
4019
|
+
g("div", bt, [
|
|
4014
4020
|
s.item.needSeparator ? (r(), C(v, {
|
|
4015
4021
|
key: 0,
|
|
4016
4022
|
is: "sv-action-bar-separator"
|
|
@@ -4030,7 +4036,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4030
4036
|
return;
|
|
4031
4037
|
}
|
|
4032
4038
|
e.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), he(s, e), !1)), u.addEventListener("keydown", (s) => {
|
|
4033
|
-
|
|
4039
|
+
ze(s, e);
|
|
4034
4040
|
}), u.addEventListener("blur", (s) => {
|
|
4035
4041
|
Ue(s);
|
|
4036
4042
|
});
|
|
@@ -4154,11 +4160,11 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4154
4160
|
},
|
|
4155
4161
|
setup(u) {
|
|
4156
4162
|
const o = u, e = b(null), s = (d) => {
|
|
4157
|
-
const
|
|
4158
|
-
|
|
4163
|
+
const m = o.model;
|
|
4164
|
+
m.filterString = d.target.value;
|
|
4159
4165
|
}, n = (d) => {
|
|
4160
|
-
const
|
|
4161
|
-
|
|
4166
|
+
const m = o.model;
|
|
4167
|
+
m.filterString = d.target.value, o.model.goToItems(d);
|
|
4162
4168
|
}, t = (d) => {
|
|
4163
4169
|
o.model.onMouseMove(d);
|
|
4164
4170
|
}, i = ee(() => o.model.renderedActions);
|
|
@@ -4166,7 +4172,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4166
4172
|
o.model.initListContainerHtmlElement(e.value);
|
|
4167
4173
|
}), N(() => {
|
|
4168
4174
|
o.model && (o.model.removeScrollEventListener(), o.model.initListContainerHtmlElement(void 0));
|
|
4169
|
-
}), (d,
|
|
4175
|
+
}), (d, m) => (r(), l("div", {
|
|
4170
4176
|
class: a(d.model.cssClasses.root),
|
|
4171
4177
|
ref_key: "listContainerElement",
|
|
4172
4178
|
ref: e
|
|
@@ -4175,7 +4181,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4175
4181
|
key: 0,
|
|
4176
4182
|
class: a(d.model.cssClasses.filter)
|
|
4177
4183
|
}, [
|
|
4178
|
-
|
|
4184
|
+
g("div", {
|
|
4179
4185
|
class: a(d.model.cssClasses.filterIcon)
|
|
4180
4186
|
}, [
|
|
4181
4187
|
y(v, {
|
|
@@ -4184,7 +4190,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4184
4190
|
size: "auto"
|
|
4185
4191
|
})
|
|
4186
4192
|
], 2),
|
|
4187
|
-
|
|
4193
|
+
g("input", {
|
|
4188
4194
|
type: "text",
|
|
4189
4195
|
class: a(d.model.cssClasses.filterInput),
|
|
4190
4196
|
"aria-label": d.model.filterStringPlaceholder,
|
|
@@ -4195,7 +4201,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4195
4201
|
}, null, 42, Zt),
|
|
4196
4202
|
d.model.showSearchClearButton && !!d.model.filterString ? (r(), l("button", {
|
|
4197
4203
|
key: 0,
|
|
4198
|
-
onClick:
|
|
4204
|
+
onClick: m[0] || (m[0] = (p) => {
|
|
4199
4205
|
d.model.onClickSearchClearButton(p);
|
|
4200
4206
|
}),
|
|
4201
4207
|
class: a(d.model.cssClasses.searchClearButtonIcon)
|
|
@@ -4207,10 +4213,10 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4207
4213
|
})
|
|
4208
4214
|
], 2)) : c("", !0)
|
|
4209
4215
|
], 2)) : c("", !0),
|
|
4210
|
-
T(
|
|
4216
|
+
T(g("div", {
|
|
4211
4217
|
class: a(d.model.cssClasses.emptyContainer)
|
|
4212
4218
|
}, [
|
|
4213
|
-
|
|
4219
|
+
g("div", {
|
|
4214
4220
|
class: a(d.model.cssClasses.emptyText),
|
|
4215
4221
|
"aria-label": d.model.emptyMessage
|
|
4216
4222
|
}, H(d.model.emptyMessage), 11, $t)
|
|
@@ -4222,11 +4228,11 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4222
4228
|
class: a(d.model.getListClass()),
|
|
4223
4229
|
role: "listbox",
|
|
4224
4230
|
id: d.model.elementId,
|
|
4225
|
-
onMousedown:
|
|
4231
|
+
onMousedown: m[1] || (m[1] = (p) => {
|
|
4226
4232
|
p.preventDefault();
|
|
4227
4233
|
}),
|
|
4228
4234
|
onMousemove: t,
|
|
4229
|
-
onKeydown:
|
|
4235
|
+
onKeydown: m[2] || (m[2] = (p) => {
|
|
4230
4236
|
d.model.onKeyDown(p);
|
|
4231
4237
|
})
|
|
4232
4238
|
}, [
|
|
@@ -4273,7 +4279,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4273
4279
|
key: 0,
|
|
4274
4280
|
class: a(t.model.cssClasses.itemSeparator)
|
|
4275
4281
|
}, null, 2)) : c("", !0),
|
|
4276
|
-
|
|
4282
|
+
g("div", {
|
|
4277
4283
|
style: M(t.model.getItemStyle(t.item)),
|
|
4278
4284
|
class: a(t.model.cssClasses.itemBody),
|
|
4279
4285
|
title: t.item.getTooltip(),
|
|
@@ -4340,7 +4346,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4340
4346
|
}, null, 8, ["model"])
|
|
4341
4347
|
], 64));
|
|
4342
4348
|
}
|
|
4343
|
-
}),
|
|
4349
|
+
}), Ot = /* @__PURE__ */ h({
|
|
4344
4350
|
__name: "Popup",
|
|
4345
4351
|
props: {
|
|
4346
4352
|
model: {}
|
|
@@ -4370,7 +4376,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4370
4376
|
}, null, 8, ["model"])
|
|
4371
4377
|
], 512));
|
|
4372
4378
|
}
|
|
4373
|
-
}),
|
|
4379
|
+
}), zt = { class: "sv-popup__body-content" }, Ut = {
|
|
4374
4380
|
key: 0,
|
|
4375
4381
|
class: "sv-popup__body-header"
|
|
4376
4382
|
}, Kt = { class: "sv-popup__scrolling-content" }, jt = { class: "sv-popup__content" }, Qt = {
|
|
@@ -4400,7 +4406,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4400
4406
|
s.model.clickOutside(t);
|
|
4401
4407
|
})
|
|
4402
4408
|
}, [
|
|
4403
|
-
|
|
4409
|
+
g("div", {
|
|
4404
4410
|
class: "sv-popup__container",
|
|
4405
4411
|
style: M({
|
|
4406
4412
|
left: s.model.left,
|
|
@@ -4416,10 +4422,10 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4416
4422
|
is: s.model.popupHeaderTemplate,
|
|
4417
4423
|
model: s.model
|
|
4418
4424
|
}, null, 8, ["is", "model"])) : c("", !0),
|
|
4419
|
-
|
|
4425
|
+
g("div", zt, [
|
|
4420
4426
|
s.model.title ? (r(), l("div", Ut, H(s.model.title), 1)) : c("", !0),
|
|
4421
|
-
|
|
4422
|
-
|
|
4427
|
+
g("div", Kt, [
|
|
4428
|
+
g("div", jt, [
|
|
4423
4429
|
y(v, D({
|
|
4424
4430
|
is: s.model.contentComponentName
|
|
4425
4431
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
@@ -4495,7 +4501,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4495
4501
|
return (t, i) => (r(), l("div", {
|
|
4496
4502
|
class: a(t.survey.getProgressCssClasses(t.container))
|
|
4497
4503
|
}, [
|
|
4498
|
-
|
|
4504
|
+
g("div", {
|
|
4499
4505
|
class: a(t.survey.css.progressBar),
|
|
4500
4506
|
style: M({ width: e.value }),
|
|
4501
4507
|
role: "progressbar",
|
|
@@ -4503,11 +4509,11 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4503
4509
|
"aria-valuemax": "100",
|
|
4504
4510
|
"aria-label": "progress"
|
|
4505
4511
|
}, [
|
|
4506
|
-
|
|
4512
|
+
g("span", {
|
|
4507
4513
|
class: a(s(t.survey.css))
|
|
4508
4514
|
}, H(t.survey.progressText), 3)
|
|
4509
4515
|
], 6),
|
|
4510
|
-
|
|
4516
|
+
g("span", {
|
|
4511
4517
|
class: a(n(t.survey.css))
|
|
4512
4518
|
}, H(t.survey.progressText), 3)
|
|
4513
4519
|
], 2));
|
|
@@ -4521,14 +4527,14 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4521
4527
|
},
|
|
4522
4528
|
setup(u) {
|
|
4523
4529
|
const o = u, e = b(!1), s = b(!1), n = b(!1), t = b(!0), i = b(), d = L(() => o.survey.css);
|
|
4524
|
-
let
|
|
4530
|
+
let m = null;
|
|
4525
4531
|
const p = (q) => {
|
|
4526
4532
|
let V = i.value;
|
|
4527
4533
|
V.scrollLeft += (q ? -1 : 1) * 70;
|
|
4528
4534
|
};
|
|
4529
4535
|
return $(() => {
|
|
4530
4536
|
const q = i.value;
|
|
4531
|
-
|
|
4537
|
+
m = new Qe(o.model, q, {
|
|
4532
4538
|
onResize: (V) => {
|
|
4533
4539
|
t.value = V, s.value = !V;
|
|
4534
4540
|
},
|
|
@@ -4541,7 +4547,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4541
4547
|
container: L(() => o.container)
|
|
4542
4548
|
});
|
|
4543
4549
|
}), U(() => {
|
|
4544
|
-
|
|
4550
|
+
m.dispose();
|
|
4545
4551
|
}), (q, V) => (r(), l("div", {
|
|
4546
4552
|
class: a(q.model.getRootCss(q.container)),
|
|
4547
4553
|
style: M({ maxWidth: q.model.progressWidth }),
|
|
@@ -4554,25 +4560,25 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4554
4560
|
key: 0,
|
|
4555
4561
|
class: a(q.survey.css.progressButtonsHeader)
|
|
4556
4562
|
}, [
|
|
4557
|
-
|
|
4563
|
+
g("div", {
|
|
4558
4564
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4559
4565
|
title: q.model.headerText
|
|
4560
4566
|
}, H(q.model.headerText), 11, Yt)
|
|
4561
4567
|
], 2)) : c("", !0),
|
|
4562
|
-
|
|
4568
|
+
g("div", {
|
|
4563
4569
|
class: a(d.value.progressButtonsContainer)
|
|
4564
4570
|
}, [
|
|
4565
|
-
|
|
4571
|
+
g("div", {
|
|
4566
4572
|
class: a(q.model.getScrollButtonCss(e.value, !0)),
|
|
4567
4573
|
onClick: V[0] || (V[0] = (f) => p(!0)),
|
|
4568
4574
|
role: "button"
|
|
4569
4575
|
}, null, 2),
|
|
4570
|
-
|
|
4576
|
+
g("div", {
|
|
4571
4577
|
class: a(d.value.progressButtonsListContainer),
|
|
4572
4578
|
ref_key: "progressButtonsListContainer",
|
|
4573
4579
|
ref: i
|
|
4574
4580
|
}, [
|
|
4575
|
-
|
|
4581
|
+
g("ul", {
|
|
4576
4582
|
class: a(d.value.progressButtonsList)
|
|
4577
4583
|
}, [
|
|
4578
4584
|
(r(!0), l(I, null, S(q.survey.visiblePages, (f, Z) => (r(), l("li", {
|
|
@@ -4581,7 +4587,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4581
4587
|
onClick: (w) => q.model.isListElementClickable(Z) ? q.model.clickListElement(f) : null,
|
|
4582
4588
|
"data-page-number": q.model.getItemNumber(f)
|
|
4583
4589
|
}, [
|
|
4584
|
-
|
|
4590
|
+
g("div", {
|
|
4585
4591
|
class: a(d.value.progressButtonsConnector)
|
|
4586
4592
|
}, null, 2),
|
|
4587
4593
|
t.value ? (r(), l("div", {
|
|
@@ -4599,21 +4605,21 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4599
4605
|
class: a(d.value.progressButtonsPageDescription),
|
|
4600
4606
|
title: f.locNavigationDescription.renderedHtml
|
|
4601
4607
|
}, H(f.locNavigationDescription.renderedHtml), 11, en)) : c("", !0),
|
|
4602
|
-
|
|
4608
|
+
g("div", {
|
|
4603
4609
|
class: a(d.value.progressButtonsButton)
|
|
4604
4610
|
}, [
|
|
4605
|
-
|
|
4611
|
+
g("div", {
|
|
4606
4612
|
class: a(d.value.progressButtonsButtonBackground)
|
|
4607
4613
|
}, null, 2),
|
|
4608
|
-
|
|
4614
|
+
g("div", {
|
|
4609
4615
|
class: a(d.value.progressButtonsButtonContent)
|
|
4610
4616
|
}, null, 2),
|
|
4611
|
-
|
|
4617
|
+
g("span", null, H(q.model.getItemNumber(f)), 1)
|
|
4612
4618
|
], 2)
|
|
4613
4619
|
], 10, xt))), 128))
|
|
4614
4620
|
], 2)
|
|
4615
4621
|
], 2),
|
|
4616
|
-
|
|
4622
|
+
g("div", {
|
|
4617
4623
|
class: a(q.model.getScrollButtonCss(e.value, !1)),
|
|
4618
4624
|
onClick: V[1] || (V[1] = (f) => p(!1)),
|
|
4619
4625
|
role: "button"
|
|
@@ -4623,7 +4629,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4623
4629
|
key: 1,
|
|
4624
4630
|
class: a(q.survey.css.progressButtonsFooter)
|
|
4625
4631
|
}, [
|
|
4626
|
-
|
|
4632
|
+
g("div", {
|
|
4627
4633
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4628
4634
|
title: q.model.footerText
|
|
4629
4635
|
}, H(q.model.footerText), 11, sn)
|
|
@@ -4665,7 +4671,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4665
4671
|
});
|
|
4666
4672
|
var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
|
4667
4673
|
/*!
|
|
4668
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4674
|
+
* surveyjs - Survey JavaScript library v1.12.32
|
|
4669
4675
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4670
4676
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4671
4677
|
*/
|
|
@@ -4694,10 +4700,10 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4694
4700
|
return t;
|
|
4695
4701
|
var d = /* @__PURE__ */ Object.create(null);
|
|
4696
4702
|
if (n.r(d), Object.defineProperty(d, "default", { enumerable: !0, value: t }), i & 2 && typeof t != "string")
|
|
4697
|
-
for (var
|
|
4698
|
-
n.d(d,
|
|
4703
|
+
for (var m in t)
|
|
4704
|
+
n.d(d, m, function(p) {
|
|
4699
4705
|
return t[p];
|
|
4700
|
-
}.bind(null,
|
|
4706
|
+
}.bind(null, m));
|
|
4701
4707
|
return d;
|
|
4702
4708
|
}, n.n = function(t) {
|
|
4703
4709
|
var i = t && t.__esModule ? function() {
|
|
@@ -4781,16 +4787,16 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4781
4787
|
"./smiley-rate8-24x24.svg": "./packages/survey-core/src/images-v1/smiley-rate8-24x24.svg",
|
|
4782
4788
|
"./smiley-rate9-24x24.svg": "./packages/survey-core/src/images-v1/smiley-rate9-24x24.svg"
|
|
4783
4789
|
};
|
|
4784
|
-
function i(
|
|
4785
|
-
var p = d(
|
|
4790
|
+
function i(m) {
|
|
4791
|
+
var p = d(m);
|
|
4786
4792
|
return n(p);
|
|
4787
4793
|
}
|
|
4788
|
-
function d(
|
|
4789
|
-
if (!n.o(t,
|
|
4790
|
-
var p = new Error("Cannot find module '" +
|
|
4794
|
+
function d(m) {
|
|
4795
|
+
if (!n.o(t, m)) {
|
|
4796
|
+
var p = new Error("Cannot find module '" + m + "'");
|
|
4791
4797
|
throw p.code = "MODULE_NOT_FOUND", p;
|
|
4792
4798
|
}
|
|
4793
|
-
return t[
|
|
4799
|
+
return t[m];
|
|
4794
4800
|
}
|
|
4795
4801
|
i.keys = function() {
|
|
4796
4802
|
return Object.keys(t);
|
|
@@ -4978,7 +4984,7 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4978
4984
|
})(re);
|
|
4979
4985
|
var Le = { exports: {} };
|
|
4980
4986
|
/*!
|
|
4981
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4987
|
+
* surveyjs - Survey JavaScript library v1.12.32
|
|
4982
4988
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4983
4989
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4984
4990
|
*/
|
|
@@ -5007,10 +5013,10 @@ var Le = { exports: {} };
|
|
|
5007
5013
|
return t;
|
|
5008
5014
|
var d = /* @__PURE__ */ Object.create(null);
|
|
5009
5015
|
if (n.r(d), Object.defineProperty(d, "default", { enumerable: !0, value: t }), i & 2 && typeof t != "string")
|
|
5010
|
-
for (var
|
|
5011
|
-
n.d(d,
|
|
5016
|
+
for (var m in t)
|
|
5017
|
+
n.d(d, m, function(p) {
|
|
5012
5018
|
return t[p];
|
|
5013
|
-
}.bind(null,
|
|
5019
|
+
}.bind(null, m));
|
|
5014
5020
|
return d;
|
|
5015
5021
|
}, n.n = function(t) {
|
|
5016
5022
|
var i = t && t.__esModule ? function() {
|
|
@@ -5094,16 +5100,16 @@ var Le = { exports: {} };
|
|
|
5094
5100
|
"./smiley-rate8-24x24.svg": "./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg",
|
|
5095
5101
|
"./smiley-rate9-24x24.svg": "./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg"
|
|
5096
5102
|
};
|
|
5097
|
-
function i(
|
|
5098
|
-
var p = d(
|
|
5103
|
+
function i(m) {
|
|
5104
|
+
var p = d(m);
|
|
5099
5105
|
return n(p);
|
|
5100
5106
|
}
|
|
5101
|
-
function d(
|
|
5102
|
-
if (!n.o(t,
|
|
5103
|
-
var p = new Error("Cannot find module '" +
|
|
5107
|
+
function d(m) {
|
|
5108
|
+
if (!n.o(t, m)) {
|
|
5109
|
+
var p = new Error("Cannot find module '" + m + "'");
|
|
5104
5110
|
throw p.code = "MODULE_NOT_FOUND", p;
|
|
5105
5111
|
}
|
|
5106
|
-
return t[
|
|
5112
|
+
return t[m];
|
|
5107
5113
|
}
|
|
5108
5114
|
i.keys = function() {
|
|
5109
5115
|
return Object.keys(t);
|
|
@@ -5309,9 +5315,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5309
5315
|
}), i = L(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
5310
5316
|
const Z = i.value;
|
|
5311
5317
|
return !!t.value && Z + n.value.toString();
|
|
5312
|
-
},
|
|
5318
|
+
}, m = L(
|
|
5313
5319
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5314
|
-
), p = L(() => t.value.css), q = L(() => "page" + d()), V = () =>
|
|
5320
|
+
), p = L(() => t.value.css), q = L(() => "page" + d()), V = () => m.value ? (s.value || (s.value = t.value.processedCompletedHtml), s.value) : "", f = (Z) => {
|
|
5315
5321
|
if (!!Z) {
|
|
5316
5322
|
var w = e.value;
|
|
5317
5323
|
w && Z.afterRenderSurvey(w), Z.renderCallback = () => {
|
|
@@ -5344,7 +5350,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5344
5350
|
key: 0,
|
|
5345
5351
|
is: "sv-svg-bundle"
|
|
5346
5352
|
})) : c("", !0),
|
|
5347
|
-
|
|
5353
|
+
g("div", {
|
|
5348
5354
|
class: a(t.value.wrapperFormCss)
|
|
5349
5355
|
}, [
|
|
5350
5356
|
y(v, { is: "survey-popup-modal" }),
|
|
@@ -5353,9 +5359,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5353
5359
|
class: a(p.value.rootBackgroundImage),
|
|
5354
5360
|
style: M(t.value.backgroundImageStyle)
|
|
5355
5361
|
}, null, 6)) : c("", !0),
|
|
5356
|
-
|
|
5362
|
+
g("form", rn, [
|
|
5357
5363
|
t.value.hasLogo ? c("", !0) : (r(), l("div", an)),
|
|
5358
|
-
|
|
5364
|
+
g("div", {
|
|
5359
5365
|
class: a(p.value.container)
|
|
5360
5366
|
}, [
|
|
5361
5367
|
t.value.headerView === "basic" ? (r(), C(v, {
|
|
@@ -5379,14 +5385,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
5379
5385
|
container: "left",
|
|
5380
5386
|
needRenderWrapper: !0
|
|
5381
5387
|
}, null, 8, ["survey"]),
|
|
5382
|
-
|
|
5388
|
+
g("div", ln, [
|
|
5383
5389
|
y(v, {
|
|
5384
5390
|
is: "sv-components-container",
|
|
5385
5391
|
survey: t.value,
|
|
5386
5392
|
container: "center",
|
|
5387
5393
|
needRenderWrapper: !0
|
|
5388
5394
|
}, null, 8, ["survey"]),
|
|
5389
|
-
|
|
5395
|
+
g("div", {
|
|
5390
5396
|
class: a(t.value.bodyCss),
|
|
5391
5397
|
style: M({ maxWidth: t.value.renderedWidth }),
|
|
5392
5398
|
id: i.value
|
|
@@ -5429,8 +5435,8 @@ const ie = /* @__PURE__ */ h({
|
|
|
5429
5435
|
container: "footer",
|
|
5430
5436
|
needRenderWrapper: !1
|
|
5431
5437
|
}, null, 8, ["survey"]),
|
|
5432
|
-
|
|
5433
|
-
|
|
5438
|
+
m.value ? (r(), l("div", dn, [
|
|
5439
|
+
g("div", {
|
|
5434
5440
|
innerHTML: V(),
|
|
5435
5441
|
class: a(t.value.completedCss)
|
|
5436
5442
|
}, null, 10, vn),
|
|
@@ -5478,7 +5484,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5478
5484
|
role: "alert",
|
|
5479
5485
|
"aria-live": "polite"
|
|
5480
5486
|
}, [
|
|
5481
|
-
|
|
5487
|
+
g("span", null, H(e.model.message), 1),
|
|
5482
5488
|
y(v, {
|
|
5483
5489
|
is: "sv-action-bar",
|
|
5484
5490
|
model: e.model.actionBar
|
|
@@ -5543,7 +5549,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5543
5549
|
return e.value.isCollapsed && (p += " " + e.value.cssRootCollapsedMod), p;
|
|
5544
5550
|
};
|
|
5545
5551
|
B(() => e.value);
|
|
5546
|
-
const
|
|
5552
|
+
const m = F(
|
|
5547
5553
|
() => o.survey,
|
|
5548
5554
|
(p) => {
|
|
5549
5555
|
const q = new Ge(null, p);
|
|
@@ -5554,7 +5560,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5554
5560
|
}
|
|
5555
5561
|
);
|
|
5556
5562
|
return N(() => {
|
|
5557
|
-
|
|
5563
|
+
m();
|
|
5558
5564
|
}), (p, q) => e.value.isShowing ? (r(), l("div", {
|
|
5559
5565
|
key: 0,
|
|
5560
5566
|
style: M({
|
|
@@ -5564,17 +5570,17 @@ const ie = /* @__PURE__ */ h({
|
|
|
5564
5570
|
class: a(e.value.cssRoot),
|
|
5565
5571
|
onScroll: i
|
|
5566
5572
|
}, [
|
|
5567
|
-
|
|
5573
|
+
g("div", {
|
|
5568
5574
|
class: a(e.value.cssRootContent)
|
|
5569
5575
|
}, [
|
|
5570
|
-
|
|
5576
|
+
g("div", {
|
|
5571
5577
|
class: a(d())
|
|
5572
5578
|
}, [
|
|
5573
5579
|
e.value.isCollapsed && !!e.value.locTitle ? (r(), l("div", {
|
|
5574
5580
|
key: 0,
|
|
5575
5581
|
class: a(e.value.cssHeaderTitleCollapsed)
|
|
5576
5582
|
}, H(e.value.locTitle.renderedHtml), 3)) : c("", !0),
|
|
5577
|
-
|
|
5583
|
+
g("div", {
|
|
5578
5584
|
class: a(e.value.cssHeaderButtonsContainer)
|
|
5579
5585
|
}, [
|
|
5580
5586
|
e.value.allowFullScreen ? (r(), l("div", {
|
|
@@ -5595,7 +5601,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5595
5601
|
size: 16
|
|
5596
5602
|
}))
|
|
5597
5603
|
], 2)) : c("", !0),
|
|
5598
|
-
|
|
5604
|
+
g("div", {
|
|
5599
5605
|
class: a(e.value.cssHeaderCollapseButton),
|
|
5600
5606
|
onClick: s
|
|
5601
5607
|
}, [
|
|
@@ -5625,7 +5631,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5625
5631
|
], 2)) : c("", !0)
|
|
5626
5632
|
], 2)
|
|
5627
5633
|
], 2),
|
|
5628
|
-
|
|
5634
|
+
g("div", {
|
|
5629
5635
|
class: a(e.value.cssBody)
|
|
5630
5636
|
}, [
|
|
5631
5637
|
y(ie, { survey: p.survey }, null, 8, ["survey"])
|
|
@@ -5649,7 +5655,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5649
5655
|
o.question.customWidget.afterRender(o.question, e.value);
|
|
5650
5656
|
}), U(() => {
|
|
5651
5657
|
o.question.customWidget.willUnmount(o.question, e.value);
|
|
5652
|
-
}), (d,
|
|
5658
|
+
}), (d, m) => (r(), l("div", {
|
|
5653
5659
|
ref_key: "root",
|
|
5654
5660
|
ref: e
|
|
5655
5661
|
}, [
|
|
@@ -5669,7 +5675,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5669
5675
|
__name: "PopupModal",
|
|
5670
5676
|
setup(u) {
|
|
5671
5677
|
const o = W();
|
|
5672
|
-
function e(n, t, i, d,
|
|
5678
|
+
function e(n, t, i, d, m, p, q = "popup") {
|
|
5673
5679
|
const V = Je(
|
|
5674
5680
|
n,
|
|
5675
5681
|
t,
|
|
@@ -5677,7 +5683,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5677
5683
|
d,
|
|
5678
5684
|
void 0,
|
|
5679
5685
|
void 0,
|
|
5680
|
-
|
|
5686
|
+
m,
|
|
5681
5687
|
p,
|
|
5682
5688
|
q
|
|
5683
5689
|
);
|
|
@@ -5687,15 +5693,15 @@ const ie = /* @__PURE__ */ h({
|
|
|
5687
5693
|
const i = Xe(
|
|
5688
5694
|
n,
|
|
5689
5695
|
t
|
|
5690
|
-
), d = (
|
|
5696
|
+
), d = (m, p) => {
|
|
5691
5697
|
p.isVisible || (o.value = void 0, i.dispose(), i.onVisibilityChanged.remove(d));
|
|
5692
5698
|
};
|
|
5693
5699
|
return i.onVisibilityChanged.add(d), i.model.isVisible = !0, o.value = i, i;
|
|
5694
5700
|
}
|
|
5695
|
-
return
|
|
5696
|
-
|
|
5697
|
-
})),
|
|
5698
|
-
|
|
5701
|
+
return O.showModal || (O.showModal = e, N(() => {
|
|
5702
|
+
O.showModal = void 0;
|
|
5703
|
+
})), O.showDialog || (O.showDialog = s, N(() => {
|
|
5704
|
+
O.showDialog = void 0;
|
|
5699
5705
|
})), (n, t) => o.value ? (r(), C(Pe, {
|
|
5700
5706
|
key: 0,
|
|
5701
5707
|
to: o.value.container
|
|
@@ -5806,7 +5812,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5806
5812
|
css: t.css
|
|
5807
5813
|
}, null, 8, ["is", "question", "css"]));
|
|
5808
5814
|
}
|
|
5809
|
-
}), In = /* @__PURE__ */
|
|
5815
|
+
}), In = /* @__PURE__ */ g("use", { "xlink:href": "#icon-timercircle" }, null, -1), Sn = [
|
|
5810
5816
|
In
|
|
5811
5817
|
], me = 440, Bn = /* @__PURE__ */ h({
|
|
5812
5818
|
__name: "TimerPanel",
|
|
@@ -5825,10 +5831,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5825
5831
|
class: a(n.model.getProgressCss()),
|
|
5826
5832
|
style: M({ strokeDasharray: me, strokeDashoffset: e.value })
|
|
5827
5833
|
}, Sn, 6)) : c("", !0),
|
|
5828
|
-
|
|
5834
|
+
g("div", {
|
|
5829
5835
|
class: a(n.model.textContainerCss)
|
|
5830
5836
|
}, [
|
|
5831
|
-
|
|
5837
|
+
g("span", {
|
|
5832
5838
|
class: a(n.model.majorTextCss)
|
|
5833
5839
|
}, H(n.model.clockMajorText), 3),
|
|
5834
5840
|
n.model.clockMinorText ? (r(), l("span", {
|
|
@@ -5907,15 +5913,15 @@ const ie = /* @__PURE__ */ h({
|
|
|
5907
5913
|
class: a(o.model.css),
|
|
5908
5914
|
style: M(o.model.style)
|
|
5909
5915
|
}, [
|
|
5910
|
-
|
|
5916
|
+
g("div", {
|
|
5911
5917
|
class: "sv-header__cell-content",
|
|
5912
5918
|
style: M(o.model.contentStyle)
|
|
5913
5919
|
}, [
|
|
5914
5920
|
o.model.showLogo ? (r(), l("div", $n, [
|
|
5915
|
-
|
|
5921
|
+
g("div", {
|
|
5916
5922
|
class: a(o.model.survey.logoClassNames)
|
|
5917
5923
|
}, [
|
|
5918
|
-
|
|
5924
|
+
g("img", {
|
|
5919
5925
|
class: a(o.model.survey.css.logoImage),
|
|
5920
5926
|
src: o.model.survey.locLogo.renderedHtml,
|
|
5921
5927
|
width: o.model.survey.renderedLogoWidth,
|
|
@@ -5965,10 +5971,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5965
5971
|
setup(u) {
|
|
5966
5972
|
return (o, e) => (r(), l("div", Pn, [
|
|
5967
5973
|
o.model.survey.hasLogo ? (r(), l("div", Nn, [
|
|
5968
|
-
|
|
5974
|
+
g("div", {
|
|
5969
5975
|
class: a(o.model.survey.logoClassNames)
|
|
5970
5976
|
}, [
|
|
5971
|
-
|
|
5977
|
+
g("img", {
|
|
5972
5978
|
class: a(o.model.survey.css.logoImage),
|
|
5973
5979
|
src: o.model.survey.locLogo.renderedHtml,
|
|
5974
5980
|
width: o.model.survey.renderedLogoWidth,
|
|
@@ -6014,21 +6020,21 @@ const ie = /* @__PURE__ */ h({
|
|
|
6014
6020
|
css: {}
|
|
6015
6021
|
},
|
|
6016
6022
|
setup(u) {
|
|
6017
|
-
const o = u, e = b(), s = (
|
|
6018
|
-
const
|
|
6019
|
-
if (
|
|
6020
|
-
const p =
|
|
6023
|
+
const o = u, e = b(), s = (m) => m.isPanel ? "survey-panel" : "survey-question", n = L(() => {
|
|
6024
|
+
const m = o.element.survey;
|
|
6025
|
+
if (m) {
|
|
6026
|
+
const p = m.getElementWrapperComponentName(o.element);
|
|
6021
6027
|
if (p)
|
|
6022
6028
|
return p;
|
|
6023
6029
|
}
|
|
6024
6030
|
return s(o.element);
|
|
6025
|
-
}), t = (
|
|
6026
|
-
const
|
|
6031
|
+
}), t = (m) => m.cssClasses ? m.rootStyle : {}, i = L(() => {
|
|
6032
|
+
const m = o.element, p = m.survey;
|
|
6027
6033
|
let q;
|
|
6028
|
-
return p && (q = p.getElementWrapperComponentData(
|
|
6029
|
-
componentName: s(
|
|
6034
|
+
return p && (q = p.getElementWrapperComponentData(m)), {
|
|
6035
|
+
componentName: s(m),
|
|
6030
6036
|
componentData: {
|
|
6031
|
-
element:
|
|
6037
|
+
element: m,
|
|
6032
6038
|
survey: p,
|
|
6033
6039
|
row: o.row,
|
|
6034
6040
|
css: o.css,
|
|
@@ -6037,32 +6043,32 @@ const ie = /* @__PURE__ */ h({
|
|
|
6037
6043
|
};
|
|
6038
6044
|
}), d = F(
|
|
6039
6045
|
() => o.element,
|
|
6040
|
-
(
|
|
6041
|
-
p && p.setWrapperElement(void 0),
|
|
6046
|
+
(m, p) => {
|
|
6047
|
+
p && p.setWrapperElement(void 0), m.setWrapperElement(e.value);
|
|
6042
6048
|
}
|
|
6043
6049
|
);
|
|
6044
6050
|
return $(() => {
|
|
6045
6051
|
o.element.setWrapperElement(e.value);
|
|
6046
6052
|
}), N(() => {
|
|
6047
6053
|
o.element.setWrapperElement(void 0), d();
|
|
6048
|
-
}), (
|
|
6054
|
+
}), (m, p) => (r(), l("div", {
|
|
6049
6055
|
ref_key: "root",
|
|
6050
6056
|
ref: e,
|
|
6051
|
-
style: M(t(
|
|
6052
|
-
class: a(
|
|
6057
|
+
style: M(t(m.element)),
|
|
6058
|
+
class: a(m.element.cssClasses.questionWrapper)
|
|
6053
6059
|
}, [
|
|
6054
|
-
|
|
6060
|
+
m.row.isNeedRender ? (r(), C(v, D({
|
|
6055
6061
|
key: 0,
|
|
6056
6062
|
is: n.value
|
|
6057
|
-
}, i.value), null, 16, ["is"])) :
|
|
6063
|
+
}, i.value), null, 16, ["is"])) : m.element.skeletonComponentName ? (r(), C(v, {
|
|
6058
6064
|
key: 1,
|
|
6059
|
-
is:
|
|
6060
|
-
element:
|
|
6061
|
-
css:
|
|
6065
|
+
is: m.element.skeletonComponentName,
|
|
6066
|
+
element: m.element,
|
|
6067
|
+
css: m.css
|
|
6062
6068
|
}, null, 8, ["is", "element", "css"])) : c("", !0)
|
|
6063
6069
|
], 6));
|
|
6064
6070
|
}
|
|
6065
|
-
}),
|
|
6071
|
+
}), On = /* @__PURE__ */ h({
|
|
6066
6072
|
__name: "TemplateRenderer",
|
|
6067
6073
|
props: {
|
|
6068
6074
|
componentName: {},
|
|
@@ -6075,7 +6081,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6075
6081
|
is: s.componentName
|
|
6076
6082
|
}, s.componentData), null, 16, ["is"]));
|
|
6077
6083
|
}
|
|
6078
|
-
}),
|
|
6084
|
+
}), zn = /* @__PURE__ */ h({
|
|
6079
6085
|
__name: "FileCleanButton",
|
|
6080
6086
|
props: {
|
|
6081
6087
|
question: {},
|
|
@@ -6087,7 +6093,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6087
6093
|
class: a(o.css),
|
|
6088
6094
|
onClick: e[0] || (e[0] = (...s) => o.question.doClean && o.question.doClean(...s))
|
|
6089
6095
|
}, [
|
|
6090
|
-
|
|
6096
|
+
g("span", null, H(o.question.clearButtonCaption), 1),
|
|
6091
6097
|
o.question.cssClasses.removeButtonIconId ? (r(), C(v, {
|
|
6092
6098
|
key: 0,
|
|
6093
6099
|
is: "sv-svg-icon",
|
|
@@ -6114,7 +6120,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6114
6120
|
is: "sv-action",
|
|
6115
6121
|
item: o.question.closeCameraAction
|
|
6116
6122
|
}, null, 8, ["item"]),
|
|
6117
|
-
|
|
6123
|
+
g("video", {
|
|
6118
6124
|
autoplay: "",
|
|
6119
6125
|
playsinline: "",
|
|
6120
6126
|
id: o.question.videoId,
|
|
@@ -6153,7 +6159,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6153
6159
|
iconName: e.value.cssClasses.chooseFileIconId,
|
|
6154
6160
|
size: "auto"
|
|
6155
6161
|
}, null, 8, ["title", "iconName"])) : c("", !0),
|
|
6156
|
-
|
|
6162
|
+
g("span", null, H(e.value.chooseButtonText), 1)
|
|
6157
6163
|
], 10, jn)), [
|
|
6158
6164
|
[k(j)]
|
|
6159
6165
|
]);
|
|
@@ -6226,7 +6232,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6226
6232
|
class: a(e.value.css.label),
|
|
6227
6233
|
title: e.value.caption.renderedHtml
|
|
6228
6234
|
}, [
|
|
6229
|
-
T(
|
|
6235
|
+
T(g("input", {
|
|
6230
6236
|
type: "radio",
|
|
6231
6237
|
name: e.value.name,
|
|
6232
6238
|
id: e.value.id,
|
|
@@ -6242,7 +6248,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6242
6248
|
}, null, 10, Yn), [
|
|
6243
6249
|
[Y, s.value]
|
|
6244
6250
|
]),
|
|
6245
|
-
|
|
6251
|
+
g("div", {
|
|
6246
6252
|
class: a(e.value.css.decorator)
|
|
6247
6253
|
}, [
|
|
6248
6254
|
e.value.iconName ? (r(), C(v, {
|
|
@@ -6276,7 +6282,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6276
6282
|
return (n, t) => (r(), l("div", {
|
|
6277
6283
|
class: a(e.value.logoClassNames)
|
|
6278
6284
|
}, [
|
|
6279
|
-
|
|
6285
|
+
g("img", {
|
|
6280
6286
|
class: a(e.value.css.logoImage),
|
|
6281
6287
|
src: k(s),
|
|
6282
6288
|
width: e.value.renderedLogoWidth,
|
|
@@ -6343,7 +6349,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6343
6349
|
key: 0,
|
|
6344
6350
|
class: a(o.question.cssClasses.fileSign)
|
|
6345
6351
|
}, [
|
|
6346
|
-
|
|
6352
|
+
g("a", {
|
|
6347
6353
|
onClick: e[0] || (e[0] = (s) => o.question.doDownloadFile(s, o.item)),
|
|
6348
6354
|
href: o.item.content,
|
|
6349
6355
|
title: o.item.name,
|
|
@@ -6351,7 +6357,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6351
6357
|
style: M({ width: o.question.imageWidth })
|
|
6352
6358
|
}, H(o.item.name), 13, rr)
|
|
6353
6359
|
], 2)) : c("", !0),
|
|
6354
|
-
|
|
6360
|
+
g("div", {
|
|
6355
6361
|
class: a(o.question.getImageWrapperCss(o.item))
|
|
6356
6362
|
}, [
|
|
6357
6363
|
o.question.canPreviewImage(o.item) ? (r(), l("img", {
|
|
@@ -6375,7 +6381,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6375
6381
|
class: a(o.question.getRemoveButtonCss()),
|
|
6376
6382
|
onClick: e[1] || (e[1] = (s) => o.question.doRemoveFile(o.item, s))
|
|
6377
6383
|
}, [
|
|
6378
|
-
|
|
6384
|
+
g("span", {
|
|
6379
6385
|
class: a(o.question.cssClasses.removeFile)
|
|
6380
6386
|
}, H(o.question.removeFileCaption), 3),
|
|
6381
6387
|
o.question.cssClasses.removeFileSvgIconId ? (r(), C(v, {
|
|
@@ -6392,7 +6398,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6392
6398
|
key: 1,
|
|
6393
6399
|
class: a(o.question.cssClasses.fileSignBottom)
|
|
6394
6400
|
}, [
|
|
6395
|
-
|
|
6401
|
+
g("a", {
|
|
6396
6402
|
onClick: e[2] || (e[2] = (s) => o.question.doDownloadFile(s, o.item)),
|
|
6397
6403
|
href: o.item.content,
|
|
6398
6404
|
title: o.item.name,
|
|
@@ -6414,20 +6420,20 @@ function Me(u) {
|
|
|
6414
6420
|
void 0,
|
|
6415
6421
|
u
|
|
6416
6422
|
);
|
|
6417
|
-
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", Rs), o("survey-checkbox-item", Ds), o("survey-radiogroup", As), o("survey-radiogroup-item", Es), o("survey-signaturepad",
|
|
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", Rs), 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", To), 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", Fo), o("survey-paneldynamicprogress", Oo), 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", Tt), o("sv-action-bar-separator", Rt), o("sv-list", At), o("sv-list-item-content", Wt), o("sv-list-item-group", Ft), o("sv-list-item", Et), o("sv-popup", Ot), 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", Tn), o("sv-header", Zn), o("sv-header-cell", An), o("sv-header-mobile", Wn), o("sv-template-renderer", On), o("sv-character-counter", bn), o("sv-text-area", Ln), o("survey-element", Fn), o("survey-buttongroup", Jn), o("sv-button-group-item", _n), o("survey", ie);
|
|
6418
6424
|
}
|
|
6419
6425
|
Me(
|
|
6420
|
-
(u, o) =>
|
|
6426
|
+
(u, o) => z.Instance.registerComponent(u, o)
|
|
6421
6427
|
);
|
|
6422
6428
|
const pr = {
|
|
6423
6429
|
install(u) {
|
|
6424
6430
|
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent", be), u.directive("key2click", j), Me((o, e) => {
|
|
6425
|
-
u.component(o, e),
|
|
6431
|
+
u.component(o, e), z.Instance.registerComponent(o, o);
|
|
6426
6432
|
});
|
|
6427
6433
|
}
|
|
6428
6434
|
};
|
|
6429
6435
|
export {
|
|
6430
|
-
|
|
6436
|
+
z as ComponentFactory,
|
|
6431
6437
|
be as PopupSurveyComponent,
|
|
6432
6438
|
ie as SurveyComponent,
|
|
6433
6439
|
v as SvComponent,
|