survey-vue3-ui 1.12.32 → 1.12.34
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 +401 -396
- 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/buttongroup/ButtonGroupDropdown.vue.d.ts +16 -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
|
|
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", {});
|
|
@@ -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) => ({
|
|
@@ -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);
|
|
@@ -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 = O(
|
|
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
|
|
@@ -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
|
|
@@ -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,
|
|
@@ -711,7 +715,7 @@ const os = /* @__PURE__ */ h({
|
|
|
711
715
|
}), Ss = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Bs = {
|
|
712
716
|
key: 0,
|
|
713
717
|
class: "sv-hidden"
|
|
714
|
-
}, Vs = { key: 7 },
|
|
718
|
+
}, Vs = { key: 7 }, Rs = ["value"], we = /* @__PURE__ */ h({
|
|
715
719
|
inheritAttrs: !1,
|
|
716
720
|
__name: "SelectBase",
|
|
717
721
|
props: {
|
|
@@ -720,7 +724,7 @@ const os = /* @__PURE__ */ h({
|
|
|
720
724
|
},
|
|
721
725
|
setup(u) {
|
|
722
726
|
const o = u, e = b(null);
|
|
723
|
-
|
|
727
|
+
T(o, e);
|
|
724
728
|
const s = (t) => o.question.getItemValueWrapperComponentName(t) || o.question.itemComponent, n = (t) => ({
|
|
725
729
|
componentName: o.question.itemComponent,
|
|
726
730
|
componentData: {
|
|
@@ -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,18 +788,18 @@ 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] = () => {
|
|
791
795
|
t.question.clearValue(!0);
|
|
792
796
|
}),
|
|
793
797
|
value: t.question.clearButtonCaption
|
|
794
|
-
}, null, 10,
|
|
798
|
+
}, null, 10, Rs)
|
|
795
799
|
])) : c("", !0)
|
|
796
800
|
], 10, Ss));
|
|
797
801
|
}
|
|
798
|
-
}),
|
|
802
|
+
}), Ts = /* @__PURE__ */ h({
|
|
799
803
|
inheritAttrs: !1,
|
|
800
804
|
__name: "Checkbox",
|
|
801
805
|
props: {
|
|
@@ -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
|
-
|
|
929
|
+
R(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"],
|
|
967
|
+
}), Ws = ["src"], Os = ["title"], Fs = { key: 0 }, zs = /* @__PURE__ */ h({
|
|
964
968
|
inheritAttrs: !1,
|
|
965
969
|
__name: "Signaturepad",
|
|
966
970
|
props: {
|
|
@@ -968,7 +972,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
968
972
|
},
|
|
969
973
|
setup(u) {
|
|
970
974
|
const o = u, e = b(null);
|
|
971
|
-
return
|
|
975
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
972
976
|
class: a(s.question.cssClasses.root),
|
|
973
977
|
ref_key: "root",
|
|
974
978
|
ref: e,
|
|
@@ -976,7 +980,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
976
980
|
width: s.question.renderedCanvasWidth
|
|
977
981
|
})
|
|
978
982
|
}, [
|
|
979
|
-
|
|
983
|
+
R(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,14 +1017,14 @@ 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", Fs, "\u2716")),
|
|
1017
1021
|
s.question.cssClasses.clearButtonIconId ? (r(), C(v, {
|
|
1018
1022
|
key: 1,
|
|
1019
1023
|
is: "sv-svg-icon",
|
|
1020
1024
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1021
1025
|
size: "auto"
|
|
1022
1026
|
}, null, 8, ["iconName"])) : c("", !0)
|
|
1023
|
-
], 10,
|
|
1027
|
+
], 10, Os)
|
|
1024
1028
|
], 2)) : c("", !0),
|
|
1025
1029
|
s.question.showLoadingIndicator ? (r(), l("div", {
|
|
1026
1030
|
key: 1,
|
|
@@ -1038,7 +1042,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1038
1042
|
},
|
|
1039
1043
|
setup(u) {
|
|
1040
1044
|
const o = u, e = b(null);
|
|
1041
|
-
|
|
1045
|
+
T(o, e);
|
|
1042
1046
|
const s = K(() => o.question.locHtml);
|
|
1043
1047
|
return (n, t) => (r(), l("div", {
|
|
1044
1048
|
ref_key: "root",
|
|
@@ -1055,14 +1059,14 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1055
1059
|
},
|
|
1056
1060
|
setup(u) {
|
|
1057
1061
|
const o = u, e = b(null);
|
|
1058
|
-
|
|
1062
|
+
T(o, e);
|
|
1059
1063
|
const s = K(() => o.question.locImageLink);
|
|
1060
1064
|
return (n, t) => (r(), l("div", {
|
|
1061
1065
|
class: a(n.question.cssClasses.root),
|
|
1062
1066
|
ref_key: "root",
|
|
1063
1067
|
ref: e
|
|
1064
1068
|
}, [
|
|
1065
|
-
n.question.renderedMode === "image" ?
|
|
1069
|
+
n.question.renderedMode === "image" ? R((r(), l("img", {
|
|
1066
1070
|
key: 0,
|
|
1067
1071
|
class: a(n.question.getImageCss()),
|
|
1068
1072
|
src: k(s),
|
|
@@ -1083,7 +1087,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1083
1087
|
}, null, 46, js)), [
|
|
1084
1088
|
[P, k(s) && !n.question.contentNotLoaded]
|
|
1085
1089
|
]) : c("", !0),
|
|
1086
|
-
n.question.renderedMode === "video" ?
|
|
1090
|
+
n.question.renderedMode === "video" ? R((r(), l("video", {
|
|
1087
1091
|
key: 1,
|
|
1088
1092
|
controls: "",
|
|
1089
1093
|
class: a(n.question.getImageCss()),
|
|
@@ -1136,7 +1140,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1136
1140
|
},
|
|
1137
1141
|
setup(u) {
|
|
1138
1142
|
const o = u, e = b(null);
|
|
1139
|
-
return
|
|
1143
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1140
1144
|
class: a(s.question.cssClasses.root),
|
|
1141
1145
|
ref_key: "root",
|
|
1142
1146
|
ref: e
|
|
@@ -1150,7 +1154,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1150
1154
|
},
|
|
1151
1155
|
setup(u) {
|
|
1152
1156
|
const o = u, e = b(null);
|
|
1153
|
-
return
|
|
1157
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1154
1158
|
class: a(s.question.fileRootCss),
|
|
1155
1159
|
ref_key: "root",
|
|
1156
1160
|
ref: e
|
|
@@ -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, {
|
|
@@ -1272,7 +1277,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1272
1277
|
},
|
|
1273
1278
|
setup(u) {
|
|
1274
1279
|
const o = u, e = b(null);
|
|
1275
|
-
|
|
1280
|
+
T(o, e);
|
|
1276
1281
|
const s = (t) => o.question.getItemValueWrapperComponentName(t) || pe, n = (t) => ({
|
|
1277
1282
|
componentName: pe,
|
|
1278
1283
|
componentData: {
|
|
@@ -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,10 +1331,10 @@ 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
|
-
t.question.multiSelect ?
|
|
1337
|
+
t.question.multiSelect ? R((r(), l("input", {
|
|
1333
1338
|
key: 0,
|
|
1334
1339
|
type: "checkbox",
|
|
1335
1340
|
name: t.question.questionName,
|
|
@@ -1345,7 +1350,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1345
1350
|
class: a(t.question.cssClasses.itemControl)
|
|
1346
1351
|
}, null, 10, t1)), [
|
|
1347
1352
|
[oe, s.value]
|
|
1348
|
-
]) :
|
|
1353
|
+
]) : R((r(), l("input", {
|
|
1349
1354
|
key: 1,
|
|
1350
1355
|
type: "radio",
|
|
1351
1356
|
name: t.question.questionName,
|
|
@@ -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", {
|
|
@@ -1449,7 +1454,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1449
1454
|
},
|
|
1450
1455
|
setup(u) {
|
|
1451
1456
|
const o = u, e = b(null);
|
|
1452
|
-
return
|
|
1457
|
+
return T(o, e), (s, n) => !s.question.isReadOnlyRenderDiv() && s.question.getMaxLength() ? (r(), l("div", {
|
|
1453
1458
|
key: 0,
|
|
1454
1459
|
ref_key: "root",
|
|
1455
1460
|
ref: e
|
|
@@ -1483,7 +1488,7 @@ const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1483
1488
|
},
|
|
1484
1489
|
setup(u) {
|
|
1485
1490
|
const o = u, e = b(null);
|
|
1486
|
-
return
|
|
1491
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1487
1492
|
class: a(s.question.renderCssRoot),
|
|
1488
1493
|
ref_key: "root",
|
|
1489
1494
|
ref: e
|
|
@@ -1516,7 +1521,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1516
1521
|
},
|
|
1517
1522
|
setup(u) {
|
|
1518
1523
|
const o = u, e = b(null);
|
|
1519
|
-
|
|
1524
|
+
T(o, e);
|
|
1520
1525
|
const s = (i) => {
|
|
1521
1526
|
o.question.onClick(i);
|
|
1522
1527
|
}, n = (i) => {
|
|
@@ -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", {
|
|
@@ -1544,10 +1549,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1544
1549
|
disabled: "",
|
|
1545
1550
|
id: i.question.inputId,
|
|
1546
1551
|
class: a(i.question.getControlClass())
|
|
1547
|
-
}, H(i.question.readOnlyText), 11, c1)) :
|
|
1552
|
+
}, H(i.question.readOnlyText), 11, c1)) : R((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,
|
|
@@ -1703,7 +1708,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1703
1708
|
onFocus: q
|
|
1704
1709
|
}, null, 42, h1)
|
|
1705
1710
|
], 2),
|
|
1706
|
-
w.question.allowClear && w.question.cssClasses.cleanButtonIconId ?
|
|
1711
|
+
w.question.allowClear && w.question.cssClasses.cleanButtonIconId ? R((r(), l("div", {
|
|
1707
1712
|
key: 1,
|
|
1708
1713
|
class: a(w.question.cssClasses.cleanButton),
|
|
1709
1714
|
onClick: i,
|
|
@@ -1729,16 +1734,15 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1729
1734
|
tabindex: w.question.isDisabledAttr ? void 0 : 0,
|
|
1730
1735
|
class: a(w.question.getControlClass())
|
|
1731
1736
|
}, [
|
|
1732
|
-
w.question.
|
|
1737
|
+
w.question.locReadOnlyText ? (r(), C(v, {
|
|
1733
1738
|
key: 0,
|
|
1734
1739
|
is: "survey-string",
|
|
1735
|
-
locString: w.question.
|
|
1736
|
-
}, null, 8, ["locString"])) : c("", !0)
|
|
1737
|
-
m("div", null, H(w.question.readOnlyText), 1)
|
|
1740
|
+
locString: w.question.locReadOnlyText
|
|
1741
|
+
}, null, 8, ["locString"])) : c("", !0)
|
|
1738
1742
|
], 10, q1)) : (r(), C(v, {
|
|
1739
1743
|
key: 1,
|
|
1740
1744
|
is: "sv-popup",
|
|
1741
|
-
model:
|
|
1745
|
+
model: s.value.popupModel
|
|
1742
1746
|
}, null, 8, ["model"])),
|
|
1743
1747
|
w.question.cssClasses.chevronButtonIconId ? (r(), l("div", {
|
|
1744
1748
|
key: 3,
|
|
@@ -1763,7 +1767,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1763
1767
|
},
|
|
1764
1768
|
setup(u) {
|
|
1765
1769
|
const o = u, e = b(null);
|
|
1766
|
-
return
|
|
1770
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
1767
1771
|
class: a(s.question.renderCssRoot),
|
|
1768
1772
|
ref_key: "root",
|
|
1769
1773
|
ref: e
|
|
@@ -1787,7 +1791,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1787
1791
|
setup(u) {
|
|
1788
1792
|
const o = u, e = L(() => {
|
|
1789
1793
|
const p = o.question;
|
|
1790
|
-
return p.dropdownListModel || (p.dropdownListModel = new
|
|
1794
|
+
return p.dropdownListModel || (p.dropdownListModel = new Oe(p)), o.question.dropdownListModel;
|
|
1791
1795
|
}), s = (p) => {
|
|
1792
1796
|
var q;
|
|
1793
1797
|
(q = e.value) == null || q.onClick(p);
|
|
@@ -1803,7 +1807,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1803
1807
|
}, d = (p) => {
|
|
1804
1808
|
var q;
|
|
1805
1809
|
(q = e.value) == null || q.onBlur(p);
|
|
1806
|
-
},
|
|
1810
|
+
}, m = ee(() => o.question.selectedChoices);
|
|
1807
1811
|
return B(() => e.value), (p, q) => (r(), l("div", {
|
|
1808
1812
|
class: a(p.question.cssClasses.selectWrapper),
|
|
1809
1813
|
onClick: s
|
|
@@ -1826,10 +1830,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1826
1830
|
"aria-activedescendant": e.value.ariaActivedescendant,
|
|
1827
1831
|
required: p.question.isRequired ? !0 : null
|
|
1828
1832
|
}, [
|
|
1829
|
-
|
|
1833
|
+
g("div", {
|
|
1830
1834
|
class: a(p.question.cssClasses.controlValue)
|
|
1831
1835
|
}, [
|
|
1832
|
-
(r(!0), l(I, null, S(k(
|
|
1836
|
+
(r(!0), l(I, null, S(k(m), (V, f) => (r(), C(v, {
|
|
1833
1837
|
is: "sv-tagbox-item",
|
|
1834
1838
|
item: V,
|
|
1835
1839
|
question: p.question,
|
|
@@ -1841,7 +1845,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1841
1845
|
question: p.question
|
|
1842
1846
|
}, null, 8, ["model", "question"])
|
|
1843
1847
|
], 2),
|
|
1844
|
-
p.question.allowClear && p.question.cssClasses.cleanButtonIconId ?
|
|
1848
|
+
p.question.allowClear && p.question.cssClasses.cleanButtonIconId ? R((r(), l("div", {
|
|
1845
1849
|
key: 0,
|
|
1846
1850
|
class: a(p.question.cssClasses.cleanButton),
|
|
1847
1851
|
onClick: t,
|
|
@@ -1916,9 +1920,9 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1916
1920
|
key: 0,
|
|
1917
1921
|
class: a(i.question.cssClasses.hintPrefix)
|
|
1918
1922
|
}, [
|
|
1919
|
-
|
|
1923
|
+
g("span", null, H(i.model.hintStringPrefix), 1)
|
|
1920
1924
|
], 2)) : c("", !0),
|
|
1921
|
-
|
|
1925
|
+
g("div", {
|
|
1922
1926
|
class: a(i.question.cssClasses.hintSuffixWrapper)
|
|
1923
1927
|
}, [
|
|
1924
1928
|
i.question.showSelectedItemLocText ? (r(), C(v, {
|
|
@@ -1930,13 +1934,13 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1930
1934
|
key: 1,
|
|
1931
1935
|
class: a(i.question.cssClasses.hintSuffix)
|
|
1932
1936
|
}, [
|
|
1933
|
-
|
|
1934
|
-
|
|
1937
|
+
g("span", M1, H(i.model.inputStringRendered), 1),
|
|
1938
|
+
g("span", null, H(i.model.hintStringSuffix), 1)
|
|
1935
1939
|
], 2)) : c("", !0),
|
|
1936
|
-
|
|
1940
|
+
R(g("input", {
|
|
1937
1941
|
type: "text",
|
|
1938
1942
|
autocomplete: "off",
|
|
1939
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1943
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.model.inputStringRendered = m),
|
|
1940
1944
|
class: a(i.question.cssClasses.filterStringInput),
|
|
1941
1945
|
placeholder: i.model.filterStringPlaceholder,
|
|
1942
1946
|
disabled: i.question.isDisabledAttr,
|
|
@@ -1975,13 +1979,13 @@ const p1 = /* @__PURE__ */ h({
|
|
|
1975
1979
|
class: "sv-tagbox__item",
|
|
1976
1980
|
key: s.item.key
|
|
1977
1981
|
}, [
|
|
1978
|
-
|
|
1982
|
+
g("div", S1, [
|
|
1979
1983
|
y(v, {
|
|
1980
1984
|
is: "survey-string",
|
|
1981
1985
|
locString: s.item.locText
|
|
1982
1986
|
}, null, 8, ["locString"])
|
|
1983
1987
|
]),
|
|
1984
|
-
|
|
1988
|
+
g("div", {
|
|
1985
1989
|
class: a(s.question.cssClasses.cleanItemButton),
|
|
1986
1990
|
onClick: e
|
|
1987
1991
|
}, [
|
|
@@ -2002,7 +2006,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2002
2006
|
},
|
|
2003
2007
|
setup(u) {
|
|
2004
2008
|
const o = u, e = b(null);
|
|
2005
|
-
|
|
2009
|
+
T(o, e);
|
|
2006
2010
|
const s = (t) => o.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", n = (t, i, d) => ({
|
|
2007
2011
|
componentName: "survey-ranking-item",
|
|
2008
2012
|
componentData: {
|
|
@@ -2018,19 +2022,19 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2018
2022
|
ref_key: "root",
|
|
2019
2023
|
ref: e
|
|
2020
2024
|
}, [
|
|
2021
|
-
t.question.selectToRankEnabled ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.renderedRankingChoices, (d,
|
|
2022
|
-
key: d.value + "-" +
|
|
2025
|
+
t.question.selectToRankEnabled ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.renderedRankingChoices, (d, m) => (r(), C(v, D({
|
|
2026
|
+
key: d.value + "-" + m + "-item",
|
|
2023
2027
|
is: s(d)
|
|
2024
|
-
}, n(d,
|
|
2028
|
+
}, n(d, m)), null, 16, ["is"]))), 128)),
|
|
2025
2029
|
t.question.selectToRankEnabled ? (r(), l("div", {
|
|
2026
2030
|
key: 1,
|
|
2027
2031
|
class: a(t.question.getContainerClasses("from")),
|
|
2028
2032
|
"data-ranking": "from-container"
|
|
2029
2033
|
}, [
|
|
2030
|
-
(r(!0), l(I, null, S(t.question.renderedUnRankingChoices, (d,
|
|
2031
|
-
key: d.value + "-" +
|
|
2034
|
+
(r(!0), l(I, null, S(t.question.renderedUnRankingChoices, (d, m) => (r(), C(v, D({
|
|
2035
|
+
key: d.value + "-" + m + "-item",
|
|
2032
2036
|
is: s(d)
|
|
2033
|
-
}, n(d,
|
|
2037
|
+
}, n(d, m, !0)), null, 16, ["is"]))), 128)),
|
|
2034
2038
|
t.question.renderedUnRankingChoices.length === 0 ? (r(), l("div", {
|
|
2035
2039
|
key: 0,
|
|
2036
2040
|
class: a(t.question.cssClasses.containerPlaceholder)
|
|
@@ -2050,10 +2054,10 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2050
2054
|
class: a(t.question.getContainerClasses("to")),
|
|
2051
2055
|
"data-ranking": "to-container"
|
|
2052
2056
|
}, [
|
|
2053
|
-
(r(!0), l(I, null, S(t.question.renderedRankingChoices, (d,
|
|
2054
|
-
key: d.value + "-" +
|
|
2057
|
+
(r(!0), l(I, null, S(t.question.renderedRankingChoices, (d, m) => (r(), C(v, D({
|
|
2058
|
+
key: d.value + "-" + m + "-item",
|
|
2055
2059
|
is: s(d)
|
|
2056
|
-
}, n(d,
|
|
2060
|
+
}, n(d, m)), null, 16, ["is"]))), 128)),
|
|
2057
2061
|
t.question.renderedRankingChoices.length === 0 ? (r(), l("div", {
|
|
2058
2062
|
key: 0,
|
|
2059
2063
|
class: a(t.question.cssClasses.containerPlaceholder)
|
|
@@ -2066,7 +2070,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2066
2070
|
], 2)) : c("", !0)
|
|
2067
2071
|
], 2));
|
|
2068
2072
|
}
|
|
2069
|
-
}),
|
|
2073
|
+
}), R1 = ["id", "tabindex", "data-sv-drop-target-ranking-item"], T1 = {
|
|
2070
2074
|
tabindex: "-1",
|
|
2071
2075
|
style: { outline: "none" }
|
|
2072
2076
|
}, Z1 = ["xlink:href"], $1 = ["xlink:href"], D1 = ["xlink:href"], A1 = /* @__PURE__ */ h({
|
|
@@ -2081,6 +2085,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2081
2085
|
setup(u) {
|
|
2082
2086
|
const o = u, e = L(() => o.question.getNumberByIndex(o.index));
|
|
2083
2087
|
return B(() => o.item), (s, n) => (r(), l("div", {
|
|
2088
|
+
id: s.question.getItemId(s.item),
|
|
2084
2089
|
tabindex: s.question.getItemTabIndex(s.item),
|
|
2085
2090
|
"data-sv-drop-target-ranking-item": s.index,
|
|
2086
2091
|
class: a(s.question.getItemClass(s.item)),
|
|
@@ -2104,27 +2109,27 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2104
2109
|
);
|
|
2105
2110
|
})
|
|
2106
2111
|
}, [
|
|
2107
|
-
|
|
2108
|
-
|
|
2112
|
+
g("div", T1, [
|
|
2113
|
+
g("div", {
|
|
2109
2114
|
class: a(s.question.cssClasses.itemGhostNode)
|
|
2110
2115
|
}, null, 2),
|
|
2111
|
-
|
|
2116
|
+
g("div", {
|
|
2112
2117
|
class: a(s.question.cssClasses.itemContent)
|
|
2113
2118
|
}, [
|
|
2114
|
-
|
|
2119
|
+
g("div", {
|
|
2115
2120
|
class: a(s.question.cssClasses.itemIconContainer)
|
|
2116
2121
|
}, [
|
|
2117
2122
|
(r(), l("svg", {
|
|
2118
2123
|
class: a(s.question.getIconHoverCss())
|
|
2119
2124
|
}, [
|
|
2120
|
-
|
|
2125
|
+
g("use", {
|
|
2121
2126
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2122
2127
|
}, null, 8, Z1)
|
|
2123
2128
|
], 2)),
|
|
2124
2129
|
(r(), l("svg", {
|
|
2125
2130
|
class: a(s.question.getIconFocusCss())
|
|
2126
2131
|
}, [
|
|
2127
|
-
|
|
2132
|
+
g("use", {
|
|
2128
2133
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2129
2134
|
}, null, 8, $1)
|
|
2130
2135
|
], 2))
|
|
@@ -2137,7 +2142,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2137
2142
|
class: a(s.question.getItemIndexClasses(s.item))
|
|
2138
2143
|
}, [
|
|
2139
2144
|
(r(), l("svg", null, [
|
|
2140
|
-
|
|
2145
|
+
g("use", {
|
|
2141
2146
|
"xlink:href": s.question.dashSvgIcon
|
|
2142
2147
|
}, null, 8, D1)
|
|
2143
2148
|
]))
|
|
@@ -2149,7 +2154,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2149
2154
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2150
2155
|
], 2)
|
|
2151
2156
|
])
|
|
2152
|
-
], 42,
|
|
2157
|
+
], 42, R1));
|
|
2153
2158
|
}
|
|
2154
2159
|
}), P1 = /* @__PURE__ */ h({
|
|
2155
2160
|
inheritAttrs: !1,
|
|
@@ -2168,7 +2173,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2168
2173
|
}, null, 8, ["locString"])
|
|
2169
2174
|
], 2));
|
|
2170
2175
|
}
|
|
2171
|
-
}), N1 = { role: "radiogroup" }, E1 = /* @__PURE__ */
|
|
2176
|
+
}), N1 = { role: "radiogroup" }, E1 = /* @__PURE__ */ g("legend", {
|
|
2172
2177
|
role: "presentation",
|
|
2173
2178
|
class: "sv-hidden"
|
|
2174
2179
|
}, null, -1), W1 = /* @__PURE__ */ h({
|
|
@@ -2179,14 +2184,14 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2179
2184
|
},
|
|
2180
2185
|
setup(u) {
|
|
2181
2186
|
const o = u, e = b(null);
|
|
2182
|
-
|
|
2187
|
+
T(o, e);
|
|
2183
2188
|
const s = (n) => o.question.getInputId(n);
|
|
2184
2189
|
return (n, t) => (r(), l("div", {
|
|
2185
2190
|
class: a(n.question.ratingRootCss),
|
|
2186
2191
|
ref_key: "root",
|
|
2187
2192
|
ref: e
|
|
2188
2193
|
}, [
|
|
2189
|
-
|
|
2194
|
+
g("fieldset", N1, [
|
|
2190
2195
|
E1,
|
|
2191
2196
|
n.question.hasMinLabel ? (r(), l("span", {
|
|
2192
2197
|
key: 0,
|
|
@@ -2216,7 +2221,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2216
2221
|
])
|
|
2217
2222
|
], 2));
|
|
2218
2223
|
}
|
|
2219
|
-
}),
|
|
2224
|
+
}), O1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], F1 = ["data-text"], z1 = /* @__PURE__ */ h({
|
|
2220
2225
|
__name: "RatingItem",
|
|
2221
2226
|
props: {
|
|
2222
2227
|
question: {},
|
|
@@ -2230,7 +2235,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2230
2235
|
onMousedown: s[1] || (s[1] = (n) => e.question.onMouseDown()),
|
|
2231
2236
|
class: a(e.question.getItemClassByText(e.item.itemValue, e.item.text))
|
|
2232
2237
|
}, [
|
|
2233
|
-
|
|
2238
|
+
g("input", {
|
|
2234
2239
|
type: "radio",
|
|
2235
2240
|
class: "sv-visuallyhidden",
|
|
2236
2241
|
name: e.question.questionName,
|
|
@@ -2243,8 +2248,8 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2243
2248
|
"aria-label": e.question.ariaLabel,
|
|
2244
2249
|
"aria-invalid": e.question.ariaInvalid,
|
|
2245
2250
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2246
|
-
}, null, 8,
|
|
2247
|
-
|
|
2251
|
+
}, null, 8, O1),
|
|
2252
|
+
g("span", {
|
|
2248
2253
|
class: a(e.question.cssClasses.itemText),
|
|
2249
2254
|
"data-text": e.item.text
|
|
2250
2255
|
}, [
|
|
@@ -2252,7 +2257,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2252
2257
|
is: "survey-string",
|
|
2253
2258
|
locString: e.item.locText
|
|
2254
2259
|
}, null, 8, ["locString"])
|
|
2255
|
-
], 10,
|
|
2260
|
+
], 10, F1)
|
|
2256
2261
|
], 34));
|
|
2257
2262
|
}
|
|
2258
2263
|
}), U1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], K1 = /* @__PURE__ */ h({
|
|
@@ -2272,7 +2277,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2272
2277
|
onMouseover: s[2] || (s[2] = (n) => e.question.onItemMouseIn(e.item)),
|
|
2273
2278
|
onMouseleave: s[3] || (s[3] = (n) => e.question.onItemMouseOut(e.item))
|
|
2274
2279
|
}, [
|
|
2275
|
-
|
|
2280
|
+
g("input", {
|
|
2276
2281
|
type: "radio",
|
|
2277
2282
|
class: "sv-visuallyhidden",
|
|
2278
2283
|
name: e.question.questionName,
|
|
@@ -2310,7 +2315,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2310
2315
|
onMouseover: s[2] || (s[2] = (n) => e.question.onItemMouseIn(e.item)),
|
|
2311
2316
|
onMouseleave: s[3] || (s[3] = (n) => e.question.onItemMouseOut(e.item))
|
|
2312
2317
|
}, [
|
|
2313
|
-
|
|
2318
|
+
g("input", {
|
|
2314
2319
|
type: "radio",
|
|
2315
2320
|
class: "sv-visuallyhidden",
|
|
2316
2321
|
name: e.question.questionName,
|
|
@@ -2352,7 +2357,7 @@ const p1 = /* @__PURE__ */ h({
|
|
|
2352
2357
|
setup(u) {
|
|
2353
2358
|
const o = u;
|
|
2354
2359
|
return B(() => o.item), (e, s) => (r(), l("div", G1, [
|
|
2355
|
-
|
|
2360
|
+
g("span", J1, H(e.item.title), 1),
|
|
2356
2361
|
e.item.description ? (r(), l("div", X1, [
|
|
2357
2362
|
y(v, {
|
|
2358
2363
|
is: "survey-string",
|
|
@@ -2375,7 +2380,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2375
2380
|
},
|
|
2376
2381
|
setup(u) {
|
|
2377
2382
|
const o = u, e = b(null);
|
|
2378
|
-
return
|
|
2383
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
2379
2384
|
class: a(s.question.cssClasses.rootDropdown),
|
|
2380
2385
|
ref_key: "root",
|
|
2381
2386
|
ref: e
|
|
@@ -2394,7 +2399,7 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2394
2399
|
},
|
|
2395
2400
|
setup(u) {
|
|
2396
2401
|
const o = u, e = b(null);
|
|
2397
|
-
|
|
2402
|
+
T(o, e);
|
|
2398
2403
|
const s = (t, i) => {
|
|
2399
2404
|
o.question.onLabelClick(t, i);
|
|
2400
2405
|
}, n = (t) => {
|
|
@@ -2406,16 +2411,16 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2406
2411
|
class: a(t.question.cssClasses.root),
|
|
2407
2412
|
ref_key: "root",
|
|
2408
2413
|
ref: e,
|
|
2409
|
-
onKeydown: i[4] || (i[4] = (
|
|
2414
|
+
onKeydown: i[4] || (i[4] = (m) => t.question.onKeyDownCore(m))
|
|
2410
2415
|
}, [
|
|
2411
|
-
|
|
2416
|
+
g("label", {
|
|
2412
2417
|
class: a(t.question.getItemCss())
|
|
2413
2418
|
}, [
|
|
2414
|
-
|
|
2419
|
+
R(g("input", {
|
|
2415
2420
|
type: "checkbox",
|
|
2416
2421
|
name: t.question.name,
|
|
2417
2422
|
value: (d = t.question.booleanValue) != null ? d : "",
|
|
2418
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
2423
|
+
"onUpdate:modelValue": i[0] || (i[0] = (m) => t.question.booleanValue = m),
|
|
2419
2424
|
class: a(t.question.cssClasses.control),
|
|
2420
2425
|
id: t.question.inputId,
|
|
2421
2426
|
".indeterminate": t.question.isIndeterminate,
|
|
@@ -2431,11 +2436,11 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2431
2436
|
}, null, 42, _1), [
|
|
2432
2437
|
[oe, t.question.booleanValue]
|
|
2433
2438
|
]),
|
|
2434
|
-
|
|
2439
|
+
g("div", {
|
|
2435
2440
|
class: a(t.question.cssClasses.sliderGhost),
|
|
2436
|
-
onClick: i[1] || (i[1] = (
|
|
2441
|
+
onClick: i[1] || (i[1] = (m) => s(m, t.question.swapOrder))
|
|
2437
2442
|
}, [
|
|
2438
|
-
|
|
2443
|
+
g("span", {
|
|
2439
2444
|
class: a(t.question.getLabelCss(t.question.swapOrder))
|
|
2440
2445
|
}, [
|
|
2441
2446
|
y(v, {
|
|
@@ -2444,11 +2449,11 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2444
2449
|
}, null, 8, ["locString"])
|
|
2445
2450
|
], 2)
|
|
2446
2451
|
], 2),
|
|
2447
|
-
|
|
2452
|
+
g("div", {
|
|
2448
2453
|
class: a(t.question.cssClasses.switch),
|
|
2449
|
-
onClick: i[2] || (i[2] = (
|
|
2454
|
+
onClick: i[2] || (i[2] = (m) => n(m))
|
|
2450
2455
|
}, [
|
|
2451
|
-
|
|
2456
|
+
g("span", {
|
|
2452
2457
|
class: a(t.question.cssClasses.slider)
|
|
2453
2458
|
}, [
|
|
2454
2459
|
t.question.cssClasses.sliderText && t.question.isDeterminated ? (r(), l("span", {
|
|
@@ -2462,11 +2467,11 @@ const x1 = /* @__PURE__ */ h({
|
|
|
2462
2467
|
], 2)) : c("", !0)
|
|
2463
2468
|
], 2)
|
|
2464
2469
|
], 2),
|
|
2465
|
-
|
|
2470
|
+
g("div", {
|
|
2466
2471
|
class: a(t.question.cssClasses.sliderGhost),
|
|
2467
|
-
onClick: i[3] || (i[3] = (
|
|
2472
|
+
onClick: i[3] || (i[3] = (m) => s(m, !t.question.swapOrder))
|
|
2468
2473
|
}, [
|
|
2469
|
-
|
|
2474
|
+
g("span", {
|
|
2470
2475
|
class: a(t.question.getLabelCss(!t.question.swapOrder))
|
|
2471
2476
|
}, [
|
|
2472
2477
|
y(v, {
|
|
@@ -2493,12 +2498,12 @@ const so = /* @__PURE__ */ h({
|
|
|
2493
2498
|
},
|
|
2494
2499
|
setup(u) {
|
|
2495
2500
|
const o = b(null);
|
|
2496
|
-
return
|
|
2501
|
+
return T(u, o), (s, n) => (r(), l("div", {
|
|
2497
2502
|
class: a(s.question.cssClasses.rootRadio),
|
|
2498
2503
|
ref_key: "root",
|
|
2499
2504
|
ref: o
|
|
2500
2505
|
}, [
|
|
2501
|
-
|
|
2506
|
+
g("fieldset", {
|
|
2502
2507
|
role: "presentation",
|
|
2503
2508
|
class: a(s.question.cssClasses.radioFieldset)
|
|
2504
2509
|
}, [
|
|
@@ -2542,10 +2547,10 @@ const so = /* @__PURE__ */ h({
|
|
|
2542
2547
|
role: "presentation",
|
|
2543
2548
|
class: a(s.question.getRadioItemClass(s.question.cssClasses, s.value))
|
|
2544
2549
|
}, [
|
|
2545
|
-
|
|
2550
|
+
g("label", {
|
|
2546
2551
|
class: a(s.question.cssClasses.radioLabel)
|
|
2547
2552
|
}, [
|
|
2548
|
-
|
|
2553
|
+
g("input", {
|
|
2549
2554
|
type: "radio",
|
|
2550
2555
|
name: s.question.name,
|
|
2551
2556
|
value: s.value,
|
|
@@ -2564,12 +2569,12 @@ const so = /* @__PURE__ */ h({
|
|
|
2564
2569
|
key: 0,
|
|
2565
2570
|
class: a(s.question.cssClasses.itemRadioDecorator)
|
|
2566
2571
|
}, [
|
|
2567
|
-
|
|
2572
|
+
g("use", {
|
|
2568
2573
|
"xlink:href": s.question.itemSvgIcon
|
|
2569
2574
|
}, null, 8, to)
|
|
2570
2575
|
], 2)) : c("", !0)
|
|
2571
2576
|
], 2)) : c("", !0),
|
|
2572
|
-
|
|
2577
|
+
g("span", {
|
|
2573
2578
|
class: a(s.question.cssClasses.radioControlLabel)
|
|
2574
2579
|
}, [
|
|
2575
2580
|
y(v, {
|
|
@@ -2580,7 +2585,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2580
2585
|
], 2)
|
|
2581
2586
|
], 2));
|
|
2582
2587
|
}
|
|
2583
|
-
}), ro = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], io = ["xlink:href"], ao = /* @__PURE__ */
|
|
2588
|
+
}), 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
2589
|
_.Instance.registerRenderer(
|
|
2585
2590
|
"boolean",
|
|
2586
2591
|
"checkbox",
|
|
@@ -2595,20 +2600,20 @@ const vo = /* @__PURE__ */ h({
|
|
|
2595
2600
|
},
|
|
2596
2601
|
setup(u) {
|
|
2597
2602
|
const o = u, e = b(null);
|
|
2598
|
-
return
|
|
2603
|
+
return T(o, e), (s, n) => {
|
|
2599
2604
|
var t;
|
|
2600
2605
|
return r(), l("div", {
|
|
2601
2606
|
class: a(s.question.cssClasses.rootCheckbox),
|
|
2602
2607
|
ref_key: "root",
|
|
2603
2608
|
ref: e
|
|
2604
2609
|
}, [
|
|
2605
|
-
|
|
2610
|
+
g("div", {
|
|
2606
2611
|
class: a(s.question.getCheckboxItemCss())
|
|
2607
2612
|
}, [
|
|
2608
|
-
|
|
2613
|
+
g("label", {
|
|
2609
2614
|
class: a(s.question.cssClasses.checkboxLabel)
|
|
2610
2615
|
}, [
|
|
2611
|
-
|
|
2616
|
+
R(g("input", {
|
|
2612
2617
|
type: "checkbox",
|
|
2613
2618
|
name: s.question.name,
|
|
2614
2619
|
value: (t = s.question.booleanValue) != null ? t : "",
|
|
@@ -2625,14 +2630,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2625
2630
|
}, null, 42, ro), [
|
|
2626
2631
|
[oe, s.question.booleanValue]
|
|
2627
2632
|
]),
|
|
2628
|
-
|
|
2633
|
+
g("span", {
|
|
2629
2634
|
class: a(s.question.cssClasses.checkboxMaterialDecorator)
|
|
2630
2635
|
}, [
|
|
2631
2636
|
s.question.svgIcon ? (r(), l("svg", {
|
|
2632
2637
|
key: 0,
|
|
2633
2638
|
class: a(s.question.cssClasses.checkboxItemDecorator)
|
|
2634
2639
|
}, [
|
|
2635
|
-
|
|
2640
|
+
g("use", {
|
|
2636
2641
|
"xlink:href": s.question.svgIcon
|
|
2637
2642
|
}, null, 8, io)
|
|
2638
2643
|
], 2)) : c("", !0),
|
|
@@ -2679,12 +2684,12 @@ const vo = /* @__PURE__ */ h({
|
|
|
2679
2684
|
},
|
|
2680
2685
|
setup(u) {
|
|
2681
2686
|
const o = u, e = b(null), s = ee(() => o.question.getRows());
|
|
2682
|
-
return
|
|
2687
|
+
return T(o, e), (n, t) => (r(), l("table", {
|
|
2683
2688
|
class: a(n.question.getQuestionRootCss()),
|
|
2684
2689
|
ref_key: "root",
|
|
2685
2690
|
ref: e
|
|
2686
2691
|
}, [
|
|
2687
|
-
|
|
2692
|
+
g("tbody", null, [
|
|
2688
2693
|
(r(!0), l(I, null, S(k(s), (i, d) => (r(), l(I, {
|
|
2689
2694
|
key: n.question.inputId + "rowkey" + d
|
|
2690
2695
|
}, [
|
|
@@ -2692,14 +2697,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2692
2697
|
key: 0,
|
|
2693
2698
|
class: a(n.question.cssClasses.row)
|
|
2694
2699
|
}, [
|
|
2695
|
-
(r(!0), l(I, null, S(i.cells, (
|
|
2696
|
-
key: "item" +
|
|
2697
|
-
class: a(
|
|
2700
|
+
(r(!0), l(I, null, S(i.cells, (m) => (r(), l("td", {
|
|
2701
|
+
key: "item" + m.item.editor.id,
|
|
2702
|
+
class: a(m.className)
|
|
2698
2703
|
}, [
|
|
2699
2704
|
y(v, {
|
|
2700
2705
|
is: "survey-multipletext-item",
|
|
2701
2706
|
question: n.question,
|
|
2702
|
-
cell:
|
|
2707
|
+
cell: m
|
|
2703
2708
|
}, null, 8, ["question", "cell"])
|
|
2704
2709
|
], 2))), 128))
|
|
2705
2710
|
], 2)) : c("", !0)
|
|
@@ -2725,7 +2730,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2725
2730
|
key: 0,
|
|
2726
2731
|
class: a(n.question.getItemLabelCss(s.value))
|
|
2727
2732
|
}, [
|
|
2728
|
-
|
|
2733
|
+
g("span", {
|
|
2729
2734
|
class: a(n.question.getItemTitleCss()),
|
|
2730
2735
|
style: M({
|
|
2731
2736
|
minWidth: n.question.itemTitleWidth,
|
|
@@ -2767,7 +2772,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2767
2772
|
},
|
|
2768
2773
|
setup(u) {
|
|
2769
2774
|
const o = u, e = b(null), s = W();
|
|
2770
|
-
|
|
2775
|
+
T(
|
|
2771
2776
|
o,
|
|
2772
2777
|
e,
|
|
2773
2778
|
(t) => {
|
|
@@ -2788,16 +2793,16 @@ const vo = /* @__PURE__ */ h({
|
|
|
2788
2793
|
ref_key: "root",
|
|
2789
2794
|
ref: e
|
|
2790
2795
|
}, [
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2796
|
+
g("fieldset", null, [
|
|
2797
|
+
g("legend", go, H(t.question.locTitle.renderedHtml), 1),
|
|
2798
|
+
g("table", {
|
|
2794
2799
|
class: a(t.question.getTableCss())
|
|
2795
2800
|
}, [
|
|
2796
2801
|
t.question.showHeader ? (r(), l("thead", Co, [
|
|
2797
|
-
|
|
2802
|
+
g("tr", null, [
|
|
2798
2803
|
t.question.hasRows ? (r(), l("td", yo)) : c("", !0),
|
|
2799
|
-
(r(!0), l(I, null, S(t.question.visibleColumns, (d,
|
|
2800
|
-
key:
|
|
2804
|
+
(r(!0), l(I, null, S(t.question.visibleColumns, (d, m) => (r(), l("th", {
|
|
2805
|
+
key: m,
|
|
2801
2806
|
class: a(t.question.cssClasses.headerCell),
|
|
2802
2807
|
style: M({
|
|
2803
2808
|
minWidth: t.question.columnMinWidth,
|
|
@@ -2819,12 +2824,12 @@ const vo = /* @__PURE__ */ h({
|
|
|
2819
2824
|
], 6))), 128))
|
|
2820
2825
|
])
|
|
2821
2826
|
])) : c("", !0),
|
|
2822
|
-
|
|
2823
|
-
(r(!0), l(I, null, S(s.value, (d,
|
|
2824
|
-
key: "row_" + d.name + "_" +
|
|
2827
|
+
g("tbody", null, [
|
|
2828
|
+
(r(!0), l(I, null, S(s.value, (d, m) => (r(), l("tr", {
|
|
2829
|
+
key: "row_" + d.name + "_" + m,
|
|
2825
2830
|
class: a(d.rowClasses || void 0)
|
|
2826
2831
|
}, [
|
|
2827
|
-
|
|
2832
|
+
R(g("td", {
|
|
2828
2833
|
class: a(d.rowTextClasses),
|
|
2829
2834
|
style: M({
|
|
2830
2835
|
minWidth: t.question.rowTitleWidth,
|
|
@@ -2885,7 +2890,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2885
2890
|
setup(u) {
|
|
2886
2891
|
const o = u, e = b();
|
|
2887
2892
|
B(() => o.row);
|
|
2888
|
-
const s =
|
|
2893
|
+
const s = O(
|
|
2889
2894
|
() => o.row,
|
|
2890
2895
|
(n, t) => {
|
|
2891
2896
|
t && t.setRootElement(void 0), n.setRootElement(e.value);
|
|
@@ -2925,7 +2930,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2925
2930
|
onMousedown: e[1] || (e[1] = (s) => o.question.onMouseDown()),
|
|
2926
2931
|
class: a(o.question.getItemClass(o.row, o.column))
|
|
2927
2932
|
}, [
|
|
2928
|
-
|
|
2933
|
+
R(g("input", {
|
|
2929
2934
|
type: "radio",
|
|
2930
2935
|
class: a(o.question.cssClasses.itemValue),
|
|
2931
2936
|
name: o.row.fullName,
|
|
@@ -2944,14 +2949,14 @@ const vo = /* @__PURE__ */ h({
|
|
|
2944
2949
|
}, null, 10, Lo), [
|
|
2945
2950
|
[Y, o.row.value]
|
|
2946
2951
|
]),
|
|
2947
|
-
|
|
2952
|
+
g("span", {
|
|
2948
2953
|
class: a(o.question.cssClasses.materialDecorator)
|
|
2949
2954
|
}, [
|
|
2950
2955
|
o.question.itemSvgIcon ? (r(), l("svg", {
|
|
2951
2956
|
key: 0,
|
|
2952
2957
|
class: a(o.question.cssClasses.itemDecorator)
|
|
2953
2958
|
}, [
|
|
2954
|
-
|
|
2959
|
+
g("use", {
|
|
2955
2960
|
"xlink:href": o.question.itemSvgIcon
|
|
2956
2961
|
}, null, 8, bo)
|
|
2957
2962
|
], 2)) : c("", !0)
|
|
@@ -2975,7 +2980,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
2975
2980
|
},
|
|
2976
2981
|
setup(u) {
|
|
2977
2982
|
const o = u, e = b(null);
|
|
2978
|
-
return
|
|
2983
|
+
return T(o, e), (s, n) => (r(), C(v, {
|
|
2979
2984
|
is: "survey-matrixtable",
|
|
2980
2985
|
question: s.question,
|
|
2981
2986
|
ref_key: "root",
|
|
@@ -2993,11 +2998,11 @@ const vo = /* @__PURE__ */ h({
|
|
|
2993
2998
|
style: M({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2994
2999
|
class: a(s.question.cssClasses.tableWrapper)
|
|
2995
3000
|
}, [
|
|
2996
|
-
|
|
3001
|
+
g("table", {
|
|
2997
3002
|
class: a(s.question.getTableCss())
|
|
2998
3003
|
}, [
|
|
2999
3004
|
e.value.showHeader ? (r(), l("thead", Io, [
|
|
3000
|
-
|
|
3005
|
+
g("tr", null, [
|
|
3001
3006
|
(r(!0), l(I, null, S(e.value.headerRow.cells, (t) => (r(), l(I, null, [
|
|
3002
3007
|
t.hasTitle ? (r(), l("th", {
|
|
3003
3008
|
key: "header_" + t.id,
|
|
@@ -3031,7 +3036,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3031
3036
|
], 64))), 256))
|
|
3032
3037
|
])
|
|
3033
3038
|
])) : c("", !0),
|
|
3034
|
-
|
|
3039
|
+
g("tbody", null, [
|
|
3035
3040
|
(r(!0), l(I, null, S(e.value.renderedRows, (t) => (r(), C(v, {
|
|
3036
3041
|
key: s.question.inputId + "_" + t.id,
|
|
3037
3042
|
is: "survey-matrix-row",
|
|
@@ -3040,7 +3045,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3040
3045
|
}, null, 8, ["row", "question"]))), 128))
|
|
3041
3046
|
]),
|
|
3042
3047
|
e.value.showFooter ? (r(), l("tfoot", So, [
|
|
3043
|
-
|
|
3048
|
+
g("tr", null, [
|
|
3044
3049
|
(r(!0), l(I, null, S(e.value.footerRow.cells, (t, i) => (r(), C(v, {
|
|
3045
3050
|
is: "survey-matrixdropdown-cell",
|
|
3046
3051
|
cell: t,
|
|
@@ -3052,7 +3057,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3052
3057
|
], 2)
|
|
3053
3058
|
], 6));
|
|
3054
3059
|
}
|
|
3055
|
-
}), Vo = /* @__PURE__ */
|
|
3060
|
+
}), Vo = /* @__PURE__ */ g("span", null, "\xA0", -1), Ro = /* @__PURE__ */ h({
|
|
3056
3061
|
__name: "MatrixHeaderRequired",
|
|
3057
3062
|
props: {
|
|
3058
3063
|
question: {},
|
|
@@ -3068,7 +3073,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3068
3073
|
}, H(e.column.requiredText), 3)) : c("", !0)
|
|
3069
3074
|
], 64)) : c("", !0);
|
|
3070
3075
|
}
|
|
3071
|
-
}),
|
|
3076
|
+
}), To = ["title", "colspan"], Zo = /* @__PURE__ */ h({
|
|
3072
3077
|
__name: "MatrixDropdownCellComp",
|
|
3073
3078
|
props: {
|
|
3074
3079
|
question: {},
|
|
@@ -3104,7 +3109,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3104
3109
|
}
|
|
3105
3110
|
return "survey-panel";
|
|
3106
3111
|
}
|
|
3107
|
-
}),
|
|
3112
|
+
}), m = L(() => {
|
|
3108
3113
|
if (o.cell.hasPanel) {
|
|
3109
3114
|
const q = o.cell.panel, V = q.survey;
|
|
3110
3115
|
let f;
|
|
@@ -3147,7 +3152,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3147
3152
|
p.cell.hasPanel ? (r(), C(v, D({
|
|
3148
3153
|
key: 3,
|
|
3149
3154
|
is: d.value
|
|
3150
|
-
},
|
|
3155
|
+
}, m.value), null, 16, ["is"])) : c("", !0),
|
|
3151
3156
|
p.cell.showResponsiveTitle ? (r(), l("span", {
|
|
3152
3157
|
key: 4,
|
|
3153
3158
|
class: a(p.cell.responsiveTitleCss)
|
|
@@ -3162,7 +3167,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3162
3167
|
question: p.cell.matrix
|
|
3163
3168
|
}, null, 8, ["column", "question"])
|
|
3164
3169
|
], 2)) : c("", !0),
|
|
3165
|
-
p.cell.hasQuestion ?
|
|
3170
|
+
p.cell.hasQuestion ? R((r(), l("div", {
|
|
3166
3171
|
key: 5,
|
|
3167
3172
|
class: a(p.cell.cellQuestionWrapperClassName)
|
|
3168
3173
|
}, [
|
|
@@ -3233,7 +3238,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3233
3238
|
]),
|
|
3234
3239
|
_: 1
|
|
3235
3240
|
}, 8, ["is", "componentData"])) : c("", !0)
|
|
3236
|
-
], 46,
|
|
3241
|
+
], 46, To)) : c("", !0);
|
|
3237
3242
|
}
|
|
3238
3243
|
}), $o = /* @__PURE__ */ h({
|
|
3239
3244
|
inheritAttrs: !1,
|
|
@@ -3243,7 +3248,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3243
3248
|
},
|
|
3244
3249
|
setup(u) {
|
|
3245
3250
|
const o = u, e = b(null);
|
|
3246
|
-
|
|
3251
|
+
T(o, e);
|
|
3247
3252
|
const s = () => {
|
|
3248
3253
|
o.question.addRowUI();
|
|
3249
3254
|
};
|
|
@@ -3255,7 +3260,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3255
3260
|
key: 0,
|
|
3256
3261
|
class: a(n.question.cssClasses.footer)
|
|
3257
3262
|
}, [
|
|
3258
|
-
|
|
3263
|
+
g("button", {
|
|
3259
3264
|
type: "button",
|
|
3260
3265
|
class: a(n.question.getAddRowButtonCss()),
|
|
3261
3266
|
onClick: s
|
|
@@ -3264,7 +3269,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3264
3269
|
is: "survey-string",
|
|
3265
3270
|
locString: n.question.locAddRowText
|
|
3266
3271
|
}, null, 8, ["locString"]),
|
|
3267
|
-
|
|
3272
|
+
g("span", {
|
|
3268
3273
|
class: a(n.question.cssClasses.iconAdd)
|
|
3269
3274
|
}, null, 2)
|
|
3270
3275
|
], 2)
|
|
@@ -3278,7 +3283,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3278
3283
|
key: 2,
|
|
3279
3284
|
class: a(n.question.cssClasses.emptyRowsSection)
|
|
3280
3285
|
}, [
|
|
3281
|
-
|
|
3286
|
+
g("div", {
|
|
3282
3287
|
class: a(n.question.cssClasses.emptyRowsText)
|
|
3283
3288
|
}, [
|
|
3284
3289
|
y(v, {
|
|
@@ -3296,7 +3301,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3296
3301
|
is: "survey-string",
|
|
3297
3302
|
locString: n.question.locAddRowText
|
|
3298
3303
|
}, null, 8, ["locString"]),
|
|
3299
|
-
|
|
3304
|
+
g("span", {
|
|
3300
3305
|
class: a(n.question.cssClasses.iconAdd)
|
|
3301
3306
|
}, null, 2)
|
|
3302
3307
|
], 2)) : c("", !0)
|
|
@@ -3305,7 +3310,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3305
3310
|
key: 3,
|
|
3306
3311
|
class: a(n.question.cssClasses.footer)
|
|
3307
3312
|
}, [
|
|
3308
|
-
|
|
3313
|
+
g("button", {
|
|
3309
3314
|
type: "button",
|
|
3310
3315
|
class: a(n.question.getAddRowButtonCss()),
|
|
3311
3316
|
onClick: s
|
|
@@ -3314,7 +3319,7 @@ const vo = /* @__PURE__ */ h({
|
|
|
3314
3319
|
is: "survey-string",
|
|
3315
3320
|
locString: n.question.locAddRowText
|
|
3316
3321
|
}, null, 8, ["locString"]),
|
|
3317
|
-
|
|
3322
|
+
g("span", {
|
|
3318
3323
|
class: a(n.question.cssClasses.iconAdd)
|
|
3319
3324
|
}, null, 2)
|
|
3320
3325
|
], 2)
|
|
@@ -3345,7 +3350,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3345
3350
|
is: "survey-string",
|
|
3346
3351
|
locString: k(e).locRemoveRowText
|
|
3347
3352
|
}, null, 8, ["locString"]),
|
|
3348
|
-
|
|
3353
|
+
g("span", {
|
|
3349
3354
|
class: a(k(e).cssClasses.iconRemove)
|
|
3350
3355
|
}, null, 2)
|
|
3351
3356
|
], 10, Do));
|
|
@@ -3362,7 +3367,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3362
3367
|
key: 0,
|
|
3363
3368
|
class: a(k(e).cssClasses.dragElementDecorator)
|
|
3364
3369
|
}, [
|
|
3365
|
-
|
|
3370
|
+
g("use", {
|
|
3366
3371
|
"xlink:href": k(e).iconDragElement
|
|
3367
3372
|
}, null, 8, Po)
|
|
3368
3373
|
], 2)) : (r(), l("span", {
|
|
@@ -3393,7 +3398,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3393
3398
|
}, null, 8, ["class", "iconName"])
|
|
3394
3399
|
], 10, Eo));
|
|
3395
3400
|
}
|
|
3396
|
-
}),
|
|
3401
|
+
}), Oo = /* @__PURE__ */ h({
|
|
3397
3402
|
inheritAttrs: !1,
|
|
3398
3403
|
__name: "PanelDynamic",
|
|
3399
3404
|
props: {
|
|
@@ -3402,19 +3407,19 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3402
3407
|
},
|
|
3403
3408
|
setup(u) {
|
|
3404
3409
|
const o = u, e = b(null), s = ye();
|
|
3405
|
-
|
|
3410
|
+
T(
|
|
3406
3411
|
o,
|
|
3407
3412
|
e,
|
|
3408
3413
|
(d) => {
|
|
3409
3414
|
d.panelCountChangedCallback = () => {
|
|
3410
|
-
var
|
|
3411
|
-
(
|
|
3415
|
+
var m;
|
|
3416
|
+
(m = s == null ? void 0 : s.proxy) == null || m.$forceUpdate();
|
|
3412
3417
|
}, d.currentIndexChangedCallback = () => {
|
|
3413
|
-
var
|
|
3414
|
-
(
|
|
3418
|
+
var m;
|
|
3419
|
+
(m = s == null ? void 0 : s.proxy) == null || m.$forceUpdate();
|
|
3415
3420
|
}, d.renderModeChangedCallback = () => {
|
|
3416
|
-
var
|
|
3417
|
-
(
|
|
3421
|
+
var m;
|
|
3422
|
+
(m = s == null ? void 0 : s.proxy) == null || m.$forceUpdate();
|
|
3418
3423
|
};
|
|
3419
3424
|
},
|
|
3420
3425
|
(d) => {
|
|
@@ -3422,17 +3427,17 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3422
3427
|
}
|
|
3423
3428
|
);
|
|
3424
3429
|
const n = () => o.question.showLegacyNavigation, t = (d) => {
|
|
3425
|
-
const
|
|
3426
|
-
if (
|
|
3427
|
-
const p =
|
|
3430
|
+
const m = o.question.getSurvey();
|
|
3431
|
+
if (m) {
|
|
3432
|
+
const p = m.getElementWrapperComponentName(d);
|
|
3428
3433
|
if (p)
|
|
3429
3434
|
return p;
|
|
3430
3435
|
}
|
|
3431
3436
|
return "panel";
|
|
3432
3437
|
}, i = (d) => {
|
|
3433
|
-
const
|
|
3438
|
+
const m = o.question.getSurvey();
|
|
3434
3439
|
let p;
|
|
3435
|
-
return
|
|
3440
|
+
return m && (p = m.getElementWrapperComponentData(d)), {
|
|
3436
3441
|
componentName: "survey-panel",
|
|
3437
3442
|
componentData: {
|
|
3438
3443
|
element: d,
|
|
@@ -3440,7 +3445,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3440
3445
|
}
|
|
3441
3446
|
};
|
|
3442
3447
|
};
|
|
3443
|
-
return (d,
|
|
3448
|
+
return (d, m) => (r(), l("div", {
|
|
3444
3449
|
class: a(d.question.cssClasses.root),
|
|
3445
3450
|
ref_key: "root",
|
|
3446
3451
|
ref: e
|
|
@@ -3458,7 +3463,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3458
3463
|
key: 1,
|
|
3459
3464
|
class: a(d.question.cssClasses.noEntriesPlaceholder)
|
|
3460
3465
|
}, [
|
|
3461
|
-
|
|
3466
|
+
g("span", null, [
|
|
3462
3467
|
y(v, {
|
|
3463
3468
|
is: "survey-string",
|
|
3464
3469
|
locString: d.question.locNoEntriesText
|
|
@@ -3473,7 +3478,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3473
3478
|
key: 2,
|
|
3474
3479
|
class: a(d.question.cssClasses.progress)
|
|
3475
3480
|
}, [
|
|
3476
|
-
|
|
3481
|
+
g("div", {
|
|
3477
3482
|
class: a(d.question.cssClasses.progressBar),
|
|
3478
3483
|
style: M({ width: d.question.progress }),
|
|
3479
3484
|
role: "progressbar"
|
|
@@ -3484,13 +3489,13 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3484
3489
|
is: "survey-paneldynamicprogress",
|
|
3485
3490
|
question: d.question
|
|
3486
3491
|
}, null, 8, ["question"])) : c("", !0),
|
|
3487
|
-
|
|
3492
|
+
g("div", {
|
|
3488
3493
|
class: a(d.question.cssClasses.panelsContainer)
|
|
3489
3494
|
}, [
|
|
3490
3495
|
(r(!0), l(I, null, S(d.question.renderedPanels, (p, q) => (r(), l(I, {
|
|
3491
3496
|
key: p.id
|
|
3492
3497
|
}, [
|
|
3493
|
-
|
|
3498
|
+
g("div", {
|
|
3494
3499
|
class: a(d.question.getPanelWrapperCss(p))
|
|
3495
3500
|
}, [
|
|
3496
3501
|
y(v, D({
|
|
@@ -3525,7 +3530,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3525
3530
|
}, null, 8, ["question"])) : c("", !0)
|
|
3526
3531
|
], 2));
|
|
3527
3532
|
}
|
|
3528
|
-
}),
|
|
3533
|
+
}), Fo = /* @__PURE__ */ h({
|
|
3529
3534
|
__name: "PanelDynamicProgress",
|
|
3530
3535
|
props: {
|
|
3531
3536
|
question: {}
|
|
@@ -3535,11 +3540,11 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3535
3540
|
return (s, n) => (r(), l("div", {
|
|
3536
3541
|
class: a(e())
|
|
3537
3542
|
}, [
|
|
3538
|
-
|
|
3543
|
+
g("div", {
|
|
3539
3544
|
style: { clear: "both" },
|
|
3540
3545
|
class: a(e())
|
|
3541
3546
|
}, [
|
|
3542
|
-
|
|
3547
|
+
g("div", {
|
|
3543
3548
|
class: a(s.question.cssClasses.progressContainer)
|
|
3544
3549
|
}, [
|
|
3545
3550
|
y(v, {
|
|
@@ -3550,7 +3555,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3550
3555
|
key: 0,
|
|
3551
3556
|
class: a(s.question.cssClasses.progress)
|
|
3552
3557
|
}, [
|
|
3553
|
-
|
|
3558
|
+
g("div", {
|
|
3554
3559
|
class: a(s.question.cssClasses.progressBar),
|
|
3555
3560
|
style: M({ width: s.question.progress }),
|
|
3556
3561
|
role: "progressbar"
|
|
@@ -3572,7 +3577,7 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3572
3577
|
], 2)
|
|
3573
3578
|
], 2));
|
|
3574
3579
|
}
|
|
3575
|
-
}),
|
|
3580
|
+
}), zo = /* @__PURE__ */ h({
|
|
3576
3581
|
__name: "PanelDynamicProgressV2",
|
|
3577
3582
|
props: {
|
|
3578
3583
|
question: {}
|
|
@@ -3582,14 +3587,14 @@ const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
|
3582
3587
|
key: 0,
|
|
3583
3588
|
class: a(o.question.cssClasses.footer)
|
|
3584
3589
|
}, [
|
|
3585
|
-
|
|
3590
|
+
g("hr", {
|
|
3586
3591
|
class: a(o.question.cssClasses.separator)
|
|
3587
3592
|
}, null, 2),
|
|
3588
3593
|
o.question.isRangeShowing && o.question.isProgressBottomShowing ? (r(), l("div", {
|
|
3589
3594
|
key: 0,
|
|
3590
3595
|
class: a(o.question.cssClasses.progress)
|
|
3591
3596
|
}, [
|
|
3592
|
-
|
|
3597
|
+
g("div", {
|
|
3593
3598
|
class: a(o.question.cssClasses.progressBar),
|
|
3594
3599
|
style: M({ width: o.question.progress }),
|
|
3595
3600
|
role: "progressbar"
|
|
@@ -3629,7 +3634,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3629
3634
|
class: a(k(e).getAddButtonCss()),
|
|
3630
3635
|
onClick: s
|
|
3631
3636
|
}, [
|
|
3632
|
-
|
|
3637
|
+
g("span", {
|
|
3633
3638
|
class: a(k(e).cssClasses.buttonAddText)
|
|
3634
3639
|
}, [
|
|
3635
3640
|
y(v, {
|
|
@@ -3699,9 +3704,9 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3699
3704
|
type: "button",
|
|
3700
3705
|
id: n(s.value),
|
|
3701
3706
|
class: a(k(e).getPanelRemoveButtonCss()),
|
|
3702
|
-
onClick: d[0] || (d[0] = (
|
|
3707
|
+
onClick: d[0] || (d[0] = (m) => t(s.value))
|
|
3703
3708
|
}, [
|
|
3704
|
-
|
|
3709
|
+
g("span", {
|
|
3705
3710
|
class: a(k(e).cssClasses.buttonRemoveText)
|
|
3706
3711
|
}, [
|
|
3707
3712
|
y(v, {
|
|
@@ -3709,7 +3714,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3709
3714
|
locString: k(e).locPanelRemoveText
|
|
3710
3715
|
}, null, 8, ["locString"])
|
|
3711
3716
|
], 2),
|
|
3712
|
-
|
|
3717
|
+
g("span", {
|
|
3713
3718
|
class: a(k(e).cssClasses.iconRemove)
|
|
3714
3719
|
}, null, 2)
|
|
3715
3720
|
], 10, Xo));
|
|
@@ -3875,7 +3880,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3875
3880
|
setup(u) {
|
|
3876
3881
|
const o = u, e = L(() => o.element.getTitleToolbar());
|
|
3877
3882
|
return (s, n) => (r(), l("div", lt, [
|
|
3878
|
-
|
|
3883
|
+
g("span", ut, [
|
|
3879
3884
|
s.element.isPage ? (r(), C(v, {
|
|
3880
3885
|
key: 0,
|
|
3881
3886
|
is: "survey-string",
|
|
@@ -3905,7 +3910,7 @@ const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
|
3905
3910
|
function Ct(u, o) {
|
|
3906
3911
|
return r(), l("div", pt, gt);
|
|
3907
3912
|
}
|
|
3908
|
-
const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */
|
|
3913
|
+
const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ g("use", null, null, -1), qt = [
|
|
3909
3914
|
ht
|
|
3910
3915
|
], wt = /* @__PURE__ */ h({
|
|
3911
3916
|
__name: "SvgIcon",
|
|
@@ -3918,7 +3923,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3918
3923
|
},
|
|
3919
3924
|
setup(u) {
|
|
3920
3925
|
const o = u, e = b(), s = () => {
|
|
3921
|
-
|
|
3926
|
+
Fe(
|
|
3922
3927
|
o.size,
|
|
3923
3928
|
o.width,
|
|
3924
3929
|
o.height,
|
|
@@ -3948,13 +3953,13 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
3948
3953
|
},
|
|
3949
3954
|
setup(u) {
|
|
3950
3955
|
return (o, e) => (r(), l("div", { key: o.errorKey }, [
|
|
3951
|
-
|
|
3956
|
+
g("span", {
|
|
3952
3957
|
class: a(
|
|
3953
3958
|
o.cssClasses ? o.cssClasses.error.icon || void 0 : "panel-error-icon"
|
|
3954
3959
|
),
|
|
3955
3960
|
"aria-hidden": "true"
|
|
3956
3961
|
}, null, 2),
|
|
3957
|
-
|
|
3962
|
+
g("span", {
|
|
3958
3963
|
class: a(
|
|
3959
3964
|
o.cssClasses ? o.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3960
3965
|
)
|
|
@@ -4010,7 +4015,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4010
4015
|
class: a(s.item.getActionRootCss()),
|
|
4011
4016
|
id: s.item.id
|
|
4012
4017
|
}, [
|
|
4013
|
-
|
|
4018
|
+
g("div", bt, [
|
|
4014
4019
|
s.item.needSeparator ? (r(), C(v, {
|
|
4015
4020
|
key: 0,
|
|
4016
4021
|
is: "sv-action-bar-separator"
|
|
@@ -4030,7 +4035,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4030
4035
|
return;
|
|
4031
4036
|
}
|
|
4032
4037
|
e.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), he(s, e), !1)), u.addEventListener("keydown", (s) => {
|
|
4033
|
-
|
|
4038
|
+
ze(s, e);
|
|
4034
4039
|
}), u.addEventListener("blur", (s) => {
|
|
4035
4040
|
Ue(s);
|
|
4036
4041
|
});
|
|
@@ -4045,7 +4050,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4045
4050
|
},
|
|
4046
4051
|
setup(u) {
|
|
4047
4052
|
const o = u;
|
|
4048
|
-
return B(() => o.item), (e, s) =>
|
|
4053
|
+
return B(() => o.item), (e, s) => R((r(), l("button", {
|
|
4049
4054
|
class: a(e.item.getActionBarItemCss()),
|
|
4050
4055
|
type: "button",
|
|
4051
4056
|
onClick: s[0] || (s[0] = (n) => {
|
|
@@ -4084,7 +4089,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4084
4089
|
}
|
|
4085
4090
|
}), Bt = ["disabled", "title", "role"], Vt = {
|
|
4086
4091
|
inheritAttrs: !1
|
|
4087
|
-
},
|
|
4092
|
+
}, Rt = /* @__PURE__ */ h({
|
|
4088
4093
|
...Vt,
|
|
4089
4094
|
__name: "ActionBarItemDropdown",
|
|
4090
4095
|
props: {
|
|
@@ -4102,7 +4107,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4102
4107
|
e.dispose();
|
|
4103
4108
|
}
|
|
4104
4109
|
), (s, n) => (r(), l(I, null, [
|
|
4105
|
-
|
|
4110
|
+
R((r(), l("button", {
|
|
4106
4111
|
type: "button",
|
|
4107
4112
|
class: a(s.item.getActionBarItemCss()),
|
|
4108
4113
|
onClick: n[0] || (n[0] = (t) => {
|
|
@@ -4136,7 +4141,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4136
4141
|
}, null, 8, ["model"])
|
|
4137
4142
|
], 64));
|
|
4138
4143
|
}
|
|
4139
|
-
}),
|
|
4144
|
+
}), Tt = /* @__PURE__ */ h({
|
|
4140
4145
|
__name: "ActionBarSeparator",
|
|
4141
4146
|
props: {
|
|
4142
4147
|
item: {}
|
|
@@ -4154,11 +4159,11 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4154
4159
|
},
|
|
4155
4160
|
setup(u) {
|
|
4156
4161
|
const o = u, e = b(null), s = (d) => {
|
|
4157
|
-
const
|
|
4158
|
-
|
|
4162
|
+
const m = o.model;
|
|
4163
|
+
m.filterString = d.target.value;
|
|
4159
4164
|
}, n = (d) => {
|
|
4160
|
-
const
|
|
4161
|
-
|
|
4165
|
+
const m = o.model;
|
|
4166
|
+
m.filterString = d.target.value, o.model.goToItems(d);
|
|
4162
4167
|
}, t = (d) => {
|
|
4163
4168
|
o.model.onMouseMove(d);
|
|
4164
4169
|
}, i = ee(() => o.model.renderedActions);
|
|
@@ -4166,7 +4171,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4166
4171
|
o.model.initListContainerHtmlElement(e.value);
|
|
4167
4172
|
}), N(() => {
|
|
4168
4173
|
o.model && (o.model.removeScrollEventListener(), o.model.initListContainerHtmlElement(void 0));
|
|
4169
|
-
}), (d,
|
|
4174
|
+
}), (d, m) => (r(), l("div", {
|
|
4170
4175
|
class: a(d.model.cssClasses.root),
|
|
4171
4176
|
ref_key: "listContainerElement",
|
|
4172
4177
|
ref: e
|
|
@@ -4175,7 +4180,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4175
4180
|
key: 0,
|
|
4176
4181
|
class: a(d.model.cssClasses.filter)
|
|
4177
4182
|
}, [
|
|
4178
|
-
|
|
4183
|
+
g("div", {
|
|
4179
4184
|
class: a(d.model.cssClasses.filterIcon)
|
|
4180
4185
|
}, [
|
|
4181
4186
|
y(v, {
|
|
@@ -4184,7 +4189,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4184
4189
|
size: "auto"
|
|
4185
4190
|
})
|
|
4186
4191
|
], 2),
|
|
4187
|
-
|
|
4192
|
+
g("input", {
|
|
4188
4193
|
type: "text",
|
|
4189
4194
|
class: a(d.model.cssClasses.filterInput),
|
|
4190
4195
|
"aria-label": d.model.filterStringPlaceholder,
|
|
@@ -4195,7 +4200,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4195
4200
|
}, null, 42, Zt),
|
|
4196
4201
|
d.model.showSearchClearButton && !!d.model.filterString ? (r(), l("button", {
|
|
4197
4202
|
key: 0,
|
|
4198
|
-
onClick:
|
|
4203
|
+
onClick: m[0] || (m[0] = (p) => {
|
|
4199
4204
|
d.model.onClickSearchClearButton(p);
|
|
4200
4205
|
}),
|
|
4201
4206
|
class: a(d.model.cssClasses.searchClearButtonIcon)
|
|
@@ -4207,26 +4212,26 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4207
4212
|
})
|
|
4208
4213
|
], 2)) : c("", !0)
|
|
4209
4214
|
], 2)) : c("", !0),
|
|
4210
|
-
|
|
4215
|
+
R(g("div", {
|
|
4211
4216
|
class: a(d.model.cssClasses.emptyContainer)
|
|
4212
4217
|
}, [
|
|
4213
|
-
|
|
4218
|
+
g("div", {
|
|
4214
4219
|
class: a(d.model.cssClasses.emptyText),
|
|
4215
4220
|
"aria-label": d.model.emptyMessage
|
|
4216
4221
|
}, H(d.model.emptyMessage), 11, $t)
|
|
4217
4222
|
], 2), [
|
|
4218
4223
|
[P, d.model.isEmpty]
|
|
4219
4224
|
]),
|
|
4220
|
-
d.model.renderElements ?
|
|
4225
|
+
d.model.renderElements ? R((r(), l("ul", {
|
|
4221
4226
|
key: 1,
|
|
4222
4227
|
class: a(d.model.getListClass()),
|
|
4223
4228
|
role: "listbox",
|
|
4224
4229
|
id: d.model.elementId,
|
|
4225
|
-
onMousedown:
|
|
4230
|
+
onMousedown: m[1] || (m[1] = (p) => {
|
|
4226
4231
|
p.preventDefault();
|
|
4227
4232
|
}),
|
|
4228
4233
|
onMousemove: t,
|
|
4229
|
-
onKeydown:
|
|
4234
|
+
onKeydown: m[2] || (m[2] = (p) => {
|
|
4230
4235
|
d.model.onKeyDown(p);
|
|
4231
4236
|
})
|
|
4232
4237
|
}, [
|
|
@@ -4259,7 +4264,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4259
4264
|
setTimeout(() => {
|
|
4260
4265
|
o.model.onLastItemRended(o.item);
|
|
4261
4266
|
});
|
|
4262
|
-
}), (t, i) =>
|
|
4267
|
+
}), (t, i) => R((r(), l("li", {
|
|
4263
4268
|
role: "option",
|
|
4264
4269
|
"aria-selected": t.model.isItemSelected(t.item),
|
|
4265
4270
|
key: t.item.id,
|
|
@@ -4273,7 +4278,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4273
4278
|
key: 0,
|
|
4274
4279
|
class: a(t.model.cssClasses.itemSeparator)
|
|
4275
4280
|
}, null, 2)) : c("", !0),
|
|
4276
|
-
|
|
4281
|
+
g("div", {
|
|
4277
4282
|
style: M(t.model.getItemStyle(t.item)),
|
|
4278
4283
|
class: a(t.model.cssClasses.itemBody),
|
|
4279
4284
|
title: t.item.getTooltip(),
|
|
@@ -4320,7 +4325,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4320
4325
|
}, null, 8, ["class", "iconName"])) : c("", !0)
|
|
4321
4326
|
], 64));
|
|
4322
4327
|
}
|
|
4323
|
-
}),
|
|
4328
|
+
}), Ot = /* @__PURE__ */ h({
|
|
4324
4329
|
__name: "ListItemGroup",
|
|
4325
4330
|
props: {
|
|
4326
4331
|
model: {},
|
|
@@ -4340,7 +4345,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4340
4345
|
}, null, 8, ["model"])
|
|
4341
4346
|
], 64));
|
|
4342
4347
|
}
|
|
4343
|
-
}),
|
|
4348
|
+
}), Ft = /* @__PURE__ */ h({
|
|
4344
4349
|
__name: "Popup",
|
|
4345
4350
|
props: {
|
|
4346
4351
|
model: {}
|
|
@@ -4350,7 +4355,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4350
4355
|
const t = s.value;
|
|
4351
4356
|
t && e.value.setComponentElement(t);
|
|
4352
4357
|
};
|
|
4353
|
-
return
|
|
4358
|
+
return O(
|
|
4354
4359
|
() => o.model,
|
|
4355
4360
|
(t) => {
|
|
4356
4361
|
e.value && e.value.dispose(), e.value = je(t), n();
|
|
@@ -4370,7 +4375,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4370
4375
|
}, null, 8, ["model"])
|
|
4371
4376
|
], 512));
|
|
4372
4377
|
}
|
|
4373
|
-
}),
|
|
4378
|
+
}), zt = { class: "sv-popup__body-content" }, Ut = {
|
|
4374
4379
|
key: 0,
|
|
4375
4380
|
class: "sv-popup__body-header"
|
|
4376
4381
|
}, Kt = { class: "sv-popup__scrolling-content" }, jt = { class: "sv-popup__content" }, Qt = {
|
|
@@ -4390,7 +4395,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4390
4395
|
s.isVisible && !s.isPositionSet && o.model.updateOnShowing();
|
|
4391
4396
|
}), $(() => {
|
|
4392
4397
|
o.model.isVisible && o.model.updateOnShowing();
|
|
4393
|
-
}), (s, n) =>
|
|
4398
|
+
}), (s, n) => R((r(), l("div", {
|
|
4394
4399
|
tabindex: "-1",
|
|
4395
4400
|
class: a(["sv-popup", s.model.styleClass]),
|
|
4396
4401
|
onKeydown: n[0] || (n[0] = (t) => {
|
|
@@ -4400,7 +4405,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4400
4405
|
s.model.clickOutside(t);
|
|
4401
4406
|
})
|
|
4402
4407
|
}, [
|
|
4403
|
-
|
|
4408
|
+
g("div", {
|
|
4404
4409
|
class: "sv-popup__container",
|
|
4405
4410
|
style: M({
|
|
4406
4411
|
left: s.model.left,
|
|
@@ -4416,10 +4421,10 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4416
4421
|
is: s.model.popupHeaderTemplate,
|
|
4417
4422
|
model: s.model
|
|
4418
4423
|
}, null, 8, ["is", "model"])) : c("", !0),
|
|
4419
|
-
|
|
4424
|
+
g("div", zt, [
|
|
4420
4425
|
s.model.title ? (r(), l("div", Ut, H(s.model.title), 1)) : c("", !0),
|
|
4421
|
-
|
|
4422
|
-
|
|
4426
|
+
g("div", Kt, [
|
|
4427
|
+
g("div", jt, [
|
|
4423
4428
|
y(v, D({
|
|
4424
4429
|
is: s.model.contentComponentName
|
|
4425
4430
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
@@ -4495,7 +4500,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4495
4500
|
return (t, i) => (r(), l("div", {
|
|
4496
4501
|
class: a(t.survey.getProgressCssClasses(t.container))
|
|
4497
4502
|
}, [
|
|
4498
|
-
|
|
4503
|
+
g("div", {
|
|
4499
4504
|
class: a(t.survey.css.progressBar),
|
|
4500
4505
|
style: M({ width: e.value }),
|
|
4501
4506
|
role: "progressbar",
|
|
@@ -4503,11 +4508,11 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4503
4508
|
"aria-valuemax": "100",
|
|
4504
4509
|
"aria-label": "progress"
|
|
4505
4510
|
}, [
|
|
4506
|
-
|
|
4511
|
+
g("span", {
|
|
4507
4512
|
class: a(s(t.survey.css))
|
|
4508
4513
|
}, H(t.survey.progressText), 3)
|
|
4509
4514
|
], 6),
|
|
4510
|
-
|
|
4515
|
+
g("span", {
|
|
4511
4516
|
class: a(n(t.survey.css))
|
|
4512
4517
|
}, H(t.survey.progressText), 3)
|
|
4513
4518
|
], 2));
|
|
@@ -4521,14 +4526,14 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4521
4526
|
},
|
|
4522
4527
|
setup(u) {
|
|
4523
4528
|
const o = u, e = b(!1), s = b(!1), n = b(!1), t = b(!0), i = b(), d = L(() => o.survey.css);
|
|
4524
|
-
let
|
|
4529
|
+
let m = null;
|
|
4525
4530
|
const p = (q) => {
|
|
4526
4531
|
let V = i.value;
|
|
4527
4532
|
V.scrollLeft += (q ? -1 : 1) * 70;
|
|
4528
4533
|
};
|
|
4529
4534
|
return $(() => {
|
|
4530
4535
|
const q = i.value;
|
|
4531
|
-
|
|
4536
|
+
m = new Qe(o.model, q, {
|
|
4532
4537
|
onResize: (V) => {
|
|
4533
4538
|
t.value = V, s.value = !V;
|
|
4534
4539
|
},
|
|
@@ -4541,7 +4546,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4541
4546
|
container: L(() => o.container)
|
|
4542
4547
|
});
|
|
4543
4548
|
}), U(() => {
|
|
4544
|
-
|
|
4549
|
+
m.dispose();
|
|
4545
4550
|
}), (q, V) => (r(), l("div", {
|
|
4546
4551
|
class: a(q.model.getRootCss(q.container)),
|
|
4547
4552
|
style: M({ maxWidth: q.model.progressWidth }),
|
|
@@ -4554,25 +4559,25 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4554
4559
|
key: 0,
|
|
4555
4560
|
class: a(q.survey.css.progressButtonsHeader)
|
|
4556
4561
|
}, [
|
|
4557
|
-
|
|
4562
|
+
g("div", {
|
|
4558
4563
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4559
4564
|
title: q.model.headerText
|
|
4560
4565
|
}, H(q.model.headerText), 11, Yt)
|
|
4561
4566
|
], 2)) : c("", !0),
|
|
4562
|
-
|
|
4567
|
+
g("div", {
|
|
4563
4568
|
class: a(d.value.progressButtonsContainer)
|
|
4564
4569
|
}, [
|
|
4565
|
-
|
|
4570
|
+
g("div", {
|
|
4566
4571
|
class: a(q.model.getScrollButtonCss(e.value, !0)),
|
|
4567
4572
|
onClick: V[0] || (V[0] = (f) => p(!0)),
|
|
4568
4573
|
role: "button"
|
|
4569
4574
|
}, null, 2),
|
|
4570
|
-
|
|
4575
|
+
g("div", {
|
|
4571
4576
|
class: a(d.value.progressButtonsListContainer),
|
|
4572
4577
|
ref_key: "progressButtonsListContainer",
|
|
4573
4578
|
ref: i
|
|
4574
4579
|
}, [
|
|
4575
|
-
|
|
4580
|
+
g("ul", {
|
|
4576
4581
|
class: a(d.value.progressButtonsList)
|
|
4577
4582
|
}, [
|
|
4578
4583
|
(r(!0), l(I, null, S(q.survey.visiblePages, (f, Z) => (r(), l("li", {
|
|
@@ -4581,7 +4586,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4581
4586
|
onClick: (w) => q.model.isListElementClickable(Z) ? q.model.clickListElement(f) : null,
|
|
4582
4587
|
"data-page-number": q.model.getItemNumber(f)
|
|
4583
4588
|
}, [
|
|
4584
|
-
|
|
4589
|
+
g("div", {
|
|
4585
4590
|
class: a(d.value.progressButtonsConnector)
|
|
4586
4591
|
}, null, 2),
|
|
4587
4592
|
t.value ? (r(), l("div", {
|
|
@@ -4599,21 +4604,21 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4599
4604
|
class: a(d.value.progressButtonsPageDescription),
|
|
4600
4605
|
title: f.locNavigationDescription.renderedHtml
|
|
4601
4606
|
}, H(f.locNavigationDescription.renderedHtml), 11, en)) : c("", !0),
|
|
4602
|
-
|
|
4607
|
+
g("div", {
|
|
4603
4608
|
class: a(d.value.progressButtonsButton)
|
|
4604
4609
|
}, [
|
|
4605
|
-
|
|
4610
|
+
g("div", {
|
|
4606
4611
|
class: a(d.value.progressButtonsButtonBackground)
|
|
4607
4612
|
}, null, 2),
|
|
4608
|
-
|
|
4613
|
+
g("div", {
|
|
4609
4614
|
class: a(d.value.progressButtonsButtonContent)
|
|
4610
4615
|
}, null, 2),
|
|
4611
|
-
|
|
4616
|
+
g("span", null, H(q.model.getItemNumber(f)), 1)
|
|
4612
4617
|
], 2)
|
|
4613
4618
|
], 10, xt))), 128))
|
|
4614
4619
|
], 2)
|
|
4615
4620
|
], 2),
|
|
4616
|
-
|
|
4621
|
+
g("div", {
|
|
4617
4622
|
class: a(q.model.getScrollButtonCss(e.value, !1)),
|
|
4618
4623
|
onClick: V[1] || (V[1] = (f) => p(!1)),
|
|
4619
4624
|
role: "button"
|
|
@@ -4623,7 +4628,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4623
4628
|
key: 1,
|
|
4624
4629
|
class: a(q.survey.css.progressButtonsFooter)
|
|
4625
4630
|
}, [
|
|
4626
|
-
|
|
4631
|
+
g("div", {
|
|
4627
4632
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4628
4633
|
title: q.model.footerText
|
|
4629
4634
|
}, H(q.model.footerText), 11, sn)
|
|
@@ -4640,7 +4645,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4640
4645
|
return (o, e) => (r(), l("div", {
|
|
4641
4646
|
class: a(o.model.containerCss)
|
|
4642
4647
|
}, [
|
|
4643
|
-
o.model.isMobile ?
|
|
4648
|
+
o.model.isMobile ? R((r(), l("div", {
|
|
4644
4649
|
key: 0,
|
|
4645
4650
|
onClick: e[0] || (e[0] = (...s) => o.model.togglePopup && o.model.togglePopup(...s))
|
|
4646
4651
|
}, [
|
|
@@ -4665,7 +4670,7 @@ const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use
|
|
|
4665
4670
|
});
|
|
4666
4671
|
var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
|
4667
4672
|
/*!
|
|
4668
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4673
|
+
* surveyjs - Survey JavaScript library v1.12.33
|
|
4669
4674
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4670
4675
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4671
4676
|
*/
|
|
@@ -4694,10 +4699,10 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4694
4699
|
return t;
|
|
4695
4700
|
var d = /* @__PURE__ */ Object.create(null);
|
|
4696
4701
|
if (n.r(d), Object.defineProperty(d, "default", { enumerable: !0, value: t }), i & 2 && typeof t != "string")
|
|
4697
|
-
for (var
|
|
4698
|
-
n.d(d,
|
|
4702
|
+
for (var m in t)
|
|
4703
|
+
n.d(d, m, function(p) {
|
|
4699
4704
|
return t[p];
|
|
4700
|
-
}.bind(null,
|
|
4705
|
+
}.bind(null, m));
|
|
4701
4706
|
return d;
|
|
4702
4707
|
}, n.n = function(t) {
|
|
4703
4708
|
var i = t && t.__esModule ? function() {
|
|
@@ -4781,16 +4786,16 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4781
4786
|
"./smiley-rate8-24x24.svg": "./packages/survey-core/src/images-v1/smiley-rate8-24x24.svg",
|
|
4782
4787
|
"./smiley-rate9-24x24.svg": "./packages/survey-core/src/images-v1/smiley-rate9-24x24.svg"
|
|
4783
4788
|
};
|
|
4784
|
-
function i(
|
|
4785
|
-
var p = d(
|
|
4789
|
+
function i(m) {
|
|
4790
|
+
var p = d(m);
|
|
4786
4791
|
return n(p);
|
|
4787
4792
|
}
|
|
4788
|
-
function d(
|
|
4789
|
-
if (!n.o(t,
|
|
4790
|
-
var p = new Error("Cannot find module '" +
|
|
4793
|
+
function d(m) {
|
|
4794
|
+
if (!n.o(t, m)) {
|
|
4795
|
+
var p = new Error("Cannot find module '" + m + "'");
|
|
4791
4796
|
throw p.code = "MODULE_NOT_FOUND", p;
|
|
4792
4797
|
}
|
|
4793
|
-
return t[
|
|
4798
|
+
return t[m];
|
|
4794
4799
|
}
|
|
4795
4800
|
i.keys = function() {
|
|
4796
4801
|
return Object.keys(t);
|
|
@@ -4978,7 +4983,7 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4978
4983
|
})(re);
|
|
4979
4984
|
var Le = { exports: {} };
|
|
4980
4985
|
/*!
|
|
4981
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4986
|
+
* surveyjs - Survey JavaScript library v1.12.33
|
|
4982
4987
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4983
4988
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4984
4989
|
*/
|
|
@@ -5007,10 +5012,10 @@ var Le = { exports: {} };
|
|
|
5007
5012
|
return t;
|
|
5008
5013
|
var d = /* @__PURE__ */ Object.create(null);
|
|
5009
5014
|
if (n.r(d), Object.defineProperty(d, "default", { enumerable: !0, value: t }), i & 2 && typeof t != "string")
|
|
5010
|
-
for (var
|
|
5011
|
-
n.d(d,
|
|
5015
|
+
for (var m in t)
|
|
5016
|
+
n.d(d, m, function(p) {
|
|
5012
5017
|
return t[p];
|
|
5013
|
-
}.bind(null,
|
|
5018
|
+
}.bind(null, m));
|
|
5014
5019
|
return d;
|
|
5015
5020
|
}, n.n = function(t) {
|
|
5016
5021
|
var i = t && t.__esModule ? function() {
|
|
@@ -5094,16 +5099,16 @@ var Le = { exports: {} };
|
|
|
5094
5099
|
"./smiley-rate8-24x24.svg": "./packages/survey-core/src/images-v2/smiley-rate8-24x24.svg",
|
|
5095
5100
|
"./smiley-rate9-24x24.svg": "./packages/survey-core/src/images-v2/smiley-rate9-24x24.svg"
|
|
5096
5101
|
};
|
|
5097
|
-
function i(
|
|
5098
|
-
var p = d(
|
|
5102
|
+
function i(m) {
|
|
5103
|
+
var p = d(m);
|
|
5099
5104
|
return n(p);
|
|
5100
5105
|
}
|
|
5101
|
-
function d(
|
|
5102
|
-
if (!n.o(t,
|
|
5103
|
-
var p = new Error("Cannot find module '" +
|
|
5106
|
+
function d(m) {
|
|
5107
|
+
if (!n.o(t, m)) {
|
|
5108
|
+
var p = new Error("Cannot find module '" + m + "'");
|
|
5104
5109
|
throw p.code = "MODULE_NOT_FOUND", p;
|
|
5105
5110
|
}
|
|
5106
|
-
return t[
|
|
5111
|
+
return t[m];
|
|
5107
5112
|
}
|
|
5108
5113
|
i.keys = function() {
|
|
5109
5114
|
return Object.keys(t);
|
|
@@ -5309,9 +5314,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5309
5314
|
}), i = L(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
5310
5315
|
const Z = i.value;
|
|
5311
5316
|
return !!t.value && Z + n.value.toString();
|
|
5312
|
-
},
|
|
5317
|
+
}, m = L(
|
|
5313
5318
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5314
|
-
), p = L(() => t.value.css), q = L(() => "page" + d()), V = () =>
|
|
5319
|
+
), p = L(() => t.value.css), q = L(() => "page" + d()), V = () => m.value ? (s.value || (s.value = t.value.processedCompletedHtml), s.value) : "", f = (Z) => {
|
|
5315
5320
|
if (!!Z) {
|
|
5316
5321
|
var w = e.value;
|
|
5317
5322
|
w && Z.afterRenderSurvey(w), Z.renderCallback = () => {
|
|
@@ -5344,7 +5349,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5344
5349
|
key: 0,
|
|
5345
5350
|
is: "sv-svg-bundle"
|
|
5346
5351
|
})) : c("", !0),
|
|
5347
|
-
|
|
5352
|
+
g("div", {
|
|
5348
5353
|
class: a(t.value.wrapperFormCss)
|
|
5349
5354
|
}, [
|
|
5350
5355
|
y(v, { is: "survey-popup-modal" }),
|
|
@@ -5353,9 +5358,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5353
5358
|
class: a(p.value.rootBackgroundImage),
|
|
5354
5359
|
style: M(t.value.backgroundImageStyle)
|
|
5355
5360
|
}, null, 6)) : c("", !0),
|
|
5356
|
-
|
|
5361
|
+
g("form", rn, [
|
|
5357
5362
|
t.value.hasLogo ? c("", !0) : (r(), l("div", an)),
|
|
5358
|
-
|
|
5363
|
+
g("div", {
|
|
5359
5364
|
class: a(p.value.container)
|
|
5360
5365
|
}, [
|
|
5361
5366
|
t.value.headerView === "basic" ? (r(), C(v, {
|
|
@@ -5379,14 +5384,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
5379
5384
|
container: "left",
|
|
5380
5385
|
needRenderWrapper: !0
|
|
5381
5386
|
}, null, 8, ["survey"]),
|
|
5382
|
-
|
|
5387
|
+
g("div", ln, [
|
|
5383
5388
|
y(v, {
|
|
5384
5389
|
is: "sv-components-container",
|
|
5385
5390
|
survey: t.value,
|
|
5386
5391
|
container: "center",
|
|
5387
5392
|
needRenderWrapper: !0
|
|
5388
5393
|
}, null, 8, ["survey"]),
|
|
5389
|
-
|
|
5394
|
+
g("div", {
|
|
5390
5395
|
class: a(t.value.bodyCss),
|
|
5391
5396
|
style: M({ maxWidth: t.value.renderedWidth }),
|
|
5392
5397
|
id: i.value
|
|
@@ -5429,8 +5434,8 @@ const ie = /* @__PURE__ */ h({
|
|
|
5429
5434
|
container: "footer",
|
|
5430
5435
|
needRenderWrapper: !1
|
|
5431
5436
|
}, null, 8, ["survey"]),
|
|
5432
|
-
|
|
5433
|
-
|
|
5437
|
+
m.value ? (r(), l("div", dn, [
|
|
5438
|
+
g("div", {
|
|
5434
5439
|
innerHTML: V(),
|
|
5435
5440
|
class: a(t.value.completedCss)
|
|
5436
5441
|
}, null, 10, vn),
|
|
@@ -5478,7 +5483,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5478
5483
|
role: "alert",
|
|
5479
5484
|
"aria-live": "polite"
|
|
5480
5485
|
}, [
|
|
5481
|
-
|
|
5486
|
+
g("span", null, H(e.model.message), 1),
|
|
5482
5487
|
y(v, {
|
|
5483
5488
|
is: "sv-action-bar",
|
|
5484
5489
|
model: e.model.actionBar
|
|
@@ -5543,7 +5548,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5543
5548
|
return e.value.isCollapsed && (p += " " + e.value.cssRootCollapsedMod), p;
|
|
5544
5549
|
};
|
|
5545
5550
|
B(() => e.value);
|
|
5546
|
-
const
|
|
5551
|
+
const m = O(
|
|
5547
5552
|
() => o.survey,
|
|
5548
5553
|
(p) => {
|
|
5549
5554
|
const q = new Ge(null, p);
|
|
@@ -5554,7 +5559,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5554
5559
|
}
|
|
5555
5560
|
);
|
|
5556
5561
|
return N(() => {
|
|
5557
|
-
|
|
5562
|
+
m();
|
|
5558
5563
|
}), (p, q) => e.value.isShowing ? (r(), l("div", {
|
|
5559
5564
|
key: 0,
|
|
5560
5565
|
style: M({
|
|
@@ -5564,17 +5569,17 @@ const ie = /* @__PURE__ */ h({
|
|
|
5564
5569
|
class: a(e.value.cssRoot),
|
|
5565
5570
|
onScroll: i
|
|
5566
5571
|
}, [
|
|
5567
|
-
|
|
5572
|
+
g("div", {
|
|
5568
5573
|
class: a(e.value.cssRootContent)
|
|
5569
5574
|
}, [
|
|
5570
|
-
|
|
5575
|
+
g("div", {
|
|
5571
5576
|
class: a(d())
|
|
5572
5577
|
}, [
|
|
5573
5578
|
e.value.isCollapsed && !!e.value.locTitle ? (r(), l("div", {
|
|
5574
5579
|
key: 0,
|
|
5575
5580
|
class: a(e.value.cssHeaderTitleCollapsed)
|
|
5576
5581
|
}, H(e.value.locTitle.renderedHtml), 3)) : c("", !0),
|
|
5577
|
-
|
|
5582
|
+
g("div", {
|
|
5578
5583
|
class: a(e.value.cssHeaderButtonsContainer)
|
|
5579
5584
|
}, [
|
|
5580
5585
|
e.value.allowFullScreen ? (r(), l("div", {
|
|
@@ -5595,7 +5600,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5595
5600
|
size: 16
|
|
5596
5601
|
}))
|
|
5597
5602
|
], 2)) : c("", !0),
|
|
5598
|
-
|
|
5603
|
+
g("div", {
|
|
5599
5604
|
class: a(e.value.cssHeaderCollapseButton),
|
|
5600
5605
|
onClick: s
|
|
5601
5606
|
}, [
|
|
@@ -5625,7 +5630,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5625
5630
|
], 2)) : c("", !0)
|
|
5626
5631
|
], 2)
|
|
5627
5632
|
], 2),
|
|
5628
|
-
|
|
5633
|
+
g("div", {
|
|
5629
5634
|
class: a(e.value.cssBody)
|
|
5630
5635
|
}, [
|
|
5631
5636
|
y(ie, { survey: p.survey }, null, 8, ["survey"])
|
|
@@ -5649,7 +5654,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5649
5654
|
o.question.customWidget.afterRender(o.question, e.value);
|
|
5650
5655
|
}), U(() => {
|
|
5651
5656
|
o.question.customWidget.willUnmount(o.question, e.value);
|
|
5652
|
-
}), (d,
|
|
5657
|
+
}), (d, m) => (r(), l("div", {
|
|
5653
5658
|
ref_key: "root",
|
|
5654
5659
|
ref: e
|
|
5655
5660
|
}, [
|
|
@@ -5669,7 +5674,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5669
5674
|
__name: "PopupModal",
|
|
5670
5675
|
setup(u) {
|
|
5671
5676
|
const o = W();
|
|
5672
|
-
function e(n, t, i, d,
|
|
5677
|
+
function e(n, t, i, d, m, p, q = "popup") {
|
|
5673
5678
|
const V = Je(
|
|
5674
5679
|
n,
|
|
5675
5680
|
t,
|
|
@@ -5677,7 +5682,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5677
5682
|
d,
|
|
5678
5683
|
void 0,
|
|
5679
5684
|
void 0,
|
|
5680
|
-
|
|
5685
|
+
m,
|
|
5681
5686
|
p,
|
|
5682
5687
|
q
|
|
5683
5688
|
);
|
|
@@ -5687,15 +5692,15 @@ const ie = /* @__PURE__ */ h({
|
|
|
5687
5692
|
const i = Xe(
|
|
5688
5693
|
n,
|
|
5689
5694
|
t
|
|
5690
|
-
), d = (
|
|
5695
|
+
), d = (m, p) => {
|
|
5691
5696
|
p.isVisible || (o.value = void 0, i.dispose(), i.onVisibilityChanged.remove(d));
|
|
5692
5697
|
};
|
|
5693
5698
|
return i.onVisibilityChanged.add(d), i.model.isVisible = !0, o.value = i, i;
|
|
5694
5699
|
}
|
|
5695
|
-
return
|
|
5696
|
-
|
|
5697
|
-
})),
|
|
5698
|
-
|
|
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;
|
|
5699
5704
|
})), (n, t) => o.value ? (r(), C(Pe, {
|
|
5700
5705
|
key: 0,
|
|
5701
5706
|
to: o.value.container
|
|
@@ -5778,7 +5783,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5778
5783
|
},
|
|
5779
5784
|
setup(u) {
|
|
5780
5785
|
const o = u, e = b(null);
|
|
5781
|
-
|
|
5786
|
+
T(o, e);
|
|
5782
5787
|
const s = L(() => o.question.contentPanel);
|
|
5783
5788
|
return (n, t) => (r(), C(v, {
|
|
5784
5789
|
is: "survey-panel",
|
|
@@ -5797,7 +5802,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5797
5802
|
},
|
|
5798
5803
|
setup(u) {
|
|
5799
5804
|
const o = u, e = b(null);
|
|
5800
|
-
|
|
5805
|
+
T(o, e);
|
|
5801
5806
|
const s = L(() => o.question.contentQuestion), n = (t) => te(t);
|
|
5802
5807
|
return (t, i) => (r(), C(v, {
|
|
5803
5808
|
ref: e.value,
|
|
@@ -5806,7 +5811,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5806
5811
|
css: t.css
|
|
5807
5812
|
}, null, 8, ["is", "question", "css"]));
|
|
5808
5813
|
}
|
|
5809
|
-
}), In = /* @__PURE__ */
|
|
5814
|
+
}), In = /* @__PURE__ */ g("use", { "xlink:href": "#icon-timercircle" }, null, -1), Sn = [
|
|
5810
5815
|
In
|
|
5811
5816
|
], me = 440, Bn = /* @__PURE__ */ h({
|
|
5812
5817
|
__name: "TimerPanel",
|
|
@@ -5825,10 +5830,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5825
5830
|
class: a(n.model.getProgressCss()),
|
|
5826
5831
|
style: M({ strokeDasharray: me, strokeDashoffset: e.value })
|
|
5827
5832
|
}, Sn, 6)) : c("", !0),
|
|
5828
|
-
|
|
5833
|
+
g("div", {
|
|
5829
5834
|
class: a(n.model.textContainerCss)
|
|
5830
5835
|
}, [
|
|
5831
|
-
|
|
5836
|
+
g("span", {
|
|
5832
5837
|
class: a(n.model.majorTextCss)
|
|
5833
5838
|
}, H(n.model.clockMajorText), 3),
|
|
5834
5839
|
n.model.clockMinorText ? (r(), l("span", {
|
|
@@ -5836,14 +5841,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
5836
5841
|
class: a(n.model.minorTextCss)
|
|
5837
5842
|
}, H(n.model.clockMinorText), 3)) : c("", !0)
|
|
5838
5843
|
], 2)
|
|
5839
|
-
], 2)) :
|
|
5844
|
+
], 2)) : R((r(), l("div", {
|
|
5840
5845
|
key: 1,
|
|
5841
5846
|
class: a(n.model.survey.getCss().timerRoot)
|
|
5842
5847
|
}, H(s.value), 3)), [
|
|
5843
5848
|
[P, n.model.isRunning && !n.model.showTimerAsClock]
|
|
5844
5849
|
]);
|
|
5845
5850
|
}
|
|
5846
|
-
}), Vn = { class: "sd-loading-indicator" },
|
|
5851
|
+
}), Vn = { class: "sd-loading-indicator" }, Rn = /* @__PURE__ */ h({
|
|
5847
5852
|
__name: "LoadingIndicator",
|
|
5848
5853
|
setup(u) {
|
|
5849
5854
|
return (o, e) => (r(), l("div", Vn, [
|
|
@@ -5854,7 +5859,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5854
5859
|
})
|
|
5855
5860
|
]));
|
|
5856
5861
|
}
|
|
5857
|
-
}),
|
|
5862
|
+
}), Tn = { key: 2 }, Zn = /* @__PURE__ */ h({
|
|
5858
5863
|
__name: "Header",
|
|
5859
5864
|
props: {
|
|
5860
5865
|
model: {},
|
|
@@ -5886,7 +5891,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5886
5891
|
key: t
|
|
5887
5892
|
}, null, 8, ["model"]))), 128))
|
|
5888
5893
|
], 6)),
|
|
5889
|
-
e.survey.isMobile ? (r(), l("div",
|
|
5894
|
+
e.survey.isMobile ? (r(), l("div", Tn, [
|
|
5890
5895
|
y(v, {
|
|
5891
5896
|
is: "sv-header-mobile",
|
|
5892
5897
|
model: e.model
|
|
@@ -5907,15 +5912,15 @@ const ie = /* @__PURE__ */ h({
|
|
|
5907
5912
|
class: a(o.model.css),
|
|
5908
5913
|
style: M(o.model.style)
|
|
5909
5914
|
}, [
|
|
5910
|
-
|
|
5915
|
+
g("div", {
|
|
5911
5916
|
class: "sv-header__cell-content",
|
|
5912
5917
|
style: M(o.model.contentStyle)
|
|
5913
5918
|
}, [
|
|
5914
5919
|
o.model.showLogo ? (r(), l("div", $n, [
|
|
5915
|
-
|
|
5920
|
+
g("div", {
|
|
5916
5921
|
class: a(o.model.survey.logoClassNames)
|
|
5917
5922
|
}, [
|
|
5918
|
-
|
|
5923
|
+
g("img", {
|
|
5919
5924
|
class: a(o.model.survey.css.logoImage),
|
|
5920
5925
|
src: o.model.survey.locLogo.renderedHtml,
|
|
5921
5926
|
width: o.model.survey.renderedLogoWidth,
|
|
@@ -5965,10 +5970,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5965
5970
|
setup(u) {
|
|
5966
5971
|
return (o, e) => (r(), l("div", Pn, [
|
|
5967
5972
|
o.model.survey.hasLogo ? (r(), l("div", Nn, [
|
|
5968
|
-
|
|
5973
|
+
g("div", {
|
|
5969
5974
|
class: a(o.model.survey.logoClassNames)
|
|
5970
5975
|
}, [
|
|
5971
|
-
|
|
5976
|
+
g("img", {
|
|
5972
5977
|
class: a(o.model.survey.css.logoImage),
|
|
5973
5978
|
src: o.model.survey.locLogo.renderedHtml,
|
|
5974
5979
|
width: o.model.survey.renderedLogoWidth,
|
|
@@ -6006,7 +6011,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6006
6011
|
], 4)) : c("", !0)
|
|
6007
6012
|
]));
|
|
6008
6013
|
}
|
|
6009
|
-
}),
|
|
6014
|
+
}), On = /* @__PURE__ */ h({
|
|
6010
6015
|
__name: "Element",
|
|
6011
6016
|
props: {
|
|
6012
6017
|
element: {},
|
|
@@ -6014,55 +6019,55 @@ const ie = /* @__PURE__ */ h({
|
|
|
6014
6019
|
css: {}
|
|
6015
6020
|
},
|
|
6016
6021
|
setup(u) {
|
|
6017
|
-
const o = u, e = b(), s = (
|
|
6018
|
-
const
|
|
6019
|
-
if (
|
|
6020
|
-
const p =
|
|
6022
|
+
const o = u, e = b(), s = (m) => m.isPanel ? "survey-panel" : "survey-question", n = L(() => {
|
|
6023
|
+
const m = o.element.survey;
|
|
6024
|
+
if (m) {
|
|
6025
|
+
const p = m.getElementWrapperComponentName(o.element);
|
|
6021
6026
|
if (p)
|
|
6022
6027
|
return p;
|
|
6023
6028
|
}
|
|
6024
6029
|
return s(o.element);
|
|
6025
|
-
}), t = (
|
|
6026
|
-
const
|
|
6030
|
+
}), t = (m) => m.cssClasses ? m.rootStyle : {}, i = L(() => {
|
|
6031
|
+
const m = o.element, p = m.survey;
|
|
6027
6032
|
let q;
|
|
6028
|
-
return p && (q = p.getElementWrapperComponentData(
|
|
6029
|
-
componentName: s(
|
|
6033
|
+
return p && (q = p.getElementWrapperComponentData(m)), {
|
|
6034
|
+
componentName: s(m),
|
|
6030
6035
|
componentData: {
|
|
6031
|
-
element:
|
|
6036
|
+
element: m,
|
|
6032
6037
|
survey: p,
|
|
6033
6038
|
row: o.row,
|
|
6034
6039
|
css: o.css,
|
|
6035
6040
|
data: q
|
|
6036
6041
|
}
|
|
6037
6042
|
};
|
|
6038
|
-
}), d =
|
|
6043
|
+
}), d = O(
|
|
6039
6044
|
() => o.element,
|
|
6040
|
-
(
|
|
6041
|
-
p && p.setWrapperElement(void 0),
|
|
6045
|
+
(m, p) => {
|
|
6046
|
+
p && p.setWrapperElement(void 0), m.setWrapperElement(e.value);
|
|
6042
6047
|
}
|
|
6043
6048
|
);
|
|
6044
6049
|
return $(() => {
|
|
6045
6050
|
o.element.setWrapperElement(e.value);
|
|
6046
6051
|
}), N(() => {
|
|
6047
6052
|
o.element.setWrapperElement(void 0), d();
|
|
6048
|
-
}), (
|
|
6053
|
+
}), (m, p) => (r(), l("div", {
|
|
6049
6054
|
ref_key: "root",
|
|
6050
6055
|
ref: e,
|
|
6051
|
-
style: M(t(
|
|
6052
|
-
class: a(
|
|
6056
|
+
style: M(t(m.element)),
|
|
6057
|
+
class: a(m.element.cssClasses.questionWrapper)
|
|
6053
6058
|
}, [
|
|
6054
|
-
|
|
6059
|
+
m.row.isNeedRender ? (r(), C(v, D({
|
|
6055
6060
|
key: 0,
|
|
6056
6061
|
is: n.value
|
|
6057
|
-
}, i.value), null, 16, ["is"])) :
|
|
6062
|
+
}, i.value), null, 16, ["is"])) : m.element.skeletonComponentName ? (r(), C(v, {
|
|
6058
6063
|
key: 1,
|
|
6059
|
-
is:
|
|
6060
|
-
element:
|
|
6061
|
-
css:
|
|
6064
|
+
is: m.element.skeletonComponentName,
|
|
6065
|
+
element: m.element,
|
|
6066
|
+
css: m.css
|
|
6062
6067
|
}, null, 8, ["is", "element", "css"])) : c("", !0)
|
|
6063
6068
|
], 6));
|
|
6064
6069
|
}
|
|
6065
|
-
}),
|
|
6070
|
+
}), Fn = /* @__PURE__ */ h({
|
|
6066
6071
|
__name: "TemplateRenderer",
|
|
6067
6072
|
props: {
|
|
6068
6073
|
componentName: {},
|
|
@@ -6075,7 +6080,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6075
6080
|
is: s.componentName
|
|
6076
6081
|
}, s.componentData), null, 16, ["is"]));
|
|
6077
6082
|
}
|
|
6078
|
-
}),
|
|
6083
|
+
}), zn = /* @__PURE__ */ h({
|
|
6079
6084
|
__name: "FileCleanButton",
|
|
6080
6085
|
props: {
|
|
6081
6086
|
question: {},
|
|
@@ -6087,7 +6092,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6087
6092
|
class: a(o.css),
|
|
6088
6093
|
onClick: e[0] || (e[0] = (...s) => o.question.doClean && o.question.doClean(...s))
|
|
6089
6094
|
}, [
|
|
6090
|
-
|
|
6095
|
+
g("span", null, H(o.question.clearButtonCaption), 1),
|
|
6091
6096
|
o.question.cssClasses.removeButtonIconId ? (r(), C(v, {
|
|
6092
6097
|
key: 0,
|
|
6093
6098
|
is: "sv-svg-icon",
|
|
@@ -6114,7 +6119,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6114
6119
|
is: "sv-action",
|
|
6115
6120
|
item: o.question.closeCameraAction
|
|
6116
6121
|
}, null, 8, ["item"]),
|
|
6117
|
-
|
|
6122
|
+
g("video", {
|
|
6118
6123
|
autoplay: "",
|
|
6119
6124
|
playsinline: "",
|
|
6120
6125
|
id: o.question.videoId,
|
|
@@ -6139,7 +6144,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6139
6144
|
return ((s = o.data) == null ? void 0 : s.question) || ((n = o.item) == null ? void 0 : n.data.question);
|
|
6140
6145
|
}
|
|
6141
6146
|
);
|
|
6142
|
-
return (s, n) =>
|
|
6147
|
+
return (s, n) => R((r(), l("label", {
|
|
6143
6148
|
tabindex: "0",
|
|
6144
6149
|
class: a(e.value.getChooseFileCss()),
|
|
6145
6150
|
for: e.value.inputId,
|
|
@@ -6153,7 +6158,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6153
6158
|
iconName: e.value.cssClasses.chooseFileIconId,
|
|
6154
6159
|
size: "auto"
|
|
6155
6160
|
}, null, 8, ["title", "iconName"])) : c("", !0),
|
|
6156
|
-
|
|
6161
|
+
g("span", null, H(e.value.chooseButtonText), 1)
|
|
6157
6162
|
], 10, jn)), [
|
|
6158
6163
|
[k(j)]
|
|
6159
6164
|
]);
|
|
@@ -6189,7 +6194,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6189
6194
|
},
|
|
6190
6195
|
setup(u) {
|
|
6191
6196
|
const o = u, e = b();
|
|
6192
|
-
return
|
|
6197
|
+
return T(o, e), (s, n) => (r(), l("div", {
|
|
6193
6198
|
role: "group",
|
|
6194
6199
|
class: a(s.question.cssClasses.root),
|
|
6195
6200
|
ref_key: "root",
|
|
@@ -6226,7 +6231,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6226
6231
|
class: a(e.value.css.label),
|
|
6227
6232
|
title: e.value.caption.renderedHtml
|
|
6228
6233
|
}, [
|
|
6229
|
-
|
|
6234
|
+
R(g("input", {
|
|
6230
6235
|
type: "radio",
|
|
6231
6236
|
name: e.value.name,
|
|
6232
6237
|
id: e.value.id,
|
|
@@ -6242,7 +6247,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6242
6247
|
}, null, 10, Yn), [
|
|
6243
6248
|
[Y, s.value]
|
|
6244
6249
|
]),
|
|
6245
|
-
|
|
6250
|
+
g("div", {
|
|
6246
6251
|
class: a(e.value.css.decorator)
|
|
6247
6252
|
}, [
|
|
6248
6253
|
e.value.iconName ? (r(), C(v, {
|
|
@@ -6276,7 +6281,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6276
6281
|
return (n, t) => (r(), l("div", {
|
|
6277
6282
|
class: a(e.value.logoClassNames)
|
|
6278
6283
|
}, [
|
|
6279
|
-
|
|
6284
|
+
g("img", {
|
|
6280
6285
|
class: a(e.value.css.logoImage),
|
|
6281
6286
|
src: k(s),
|
|
6282
6287
|
width: e.value.renderedLogoWidth,
|
|
@@ -6300,7 +6305,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6300
6305
|
e(), X.onIconsChanged.add(e);
|
|
6301
6306
|
}), N(() => {
|
|
6302
6307
|
X.onIconsChanged.remove(e);
|
|
6303
|
-
}), (s, n) =>
|
|
6308
|
+
}), (s, n) => R((r(), l("svg", {
|
|
6304
6309
|
id: "sv-icon-holder-global-container",
|
|
6305
6310
|
ref_key: "root",
|
|
6306
6311
|
ref: o
|
|
@@ -6335,7 +6340,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6335
6340
|
question: {}
|
|
6336
6341
|
},
|
|
6337
6342
|
setup(u) {
|
|
6338
|
-
return (o, e) =>
|
|
6343
|
+
return (o, e) => R((r(), l("span", {
|
|
6339
6344
|
class: a(o.question.cssClasses.previewItem),
|
|
6340
6345
|
onClick: e[3] || (e[3] = (s) => o.question.doDownloadFileFromContainer(s))
|
|
6341
6346
|
}, [
|
|
@@ -6343,7 +6348,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6343
6348
|
key: 0,
|
|
6344
6349
|
class: a(o.question.cssClasses.fileSign)
|
|
6345
6350
|
}, [
|
|
6346
|
-
|
|
6351
|
+
g("a", {
|
|
6347
6352
|
onClick: e[0] || (e[0] = (s) => o.question.doDownloadFile(s, o.item)),
|
|
6348
6353
|
href: o.item.content,
|
|
6349
6354
|
title: o.item.name,
|
|
@@ -6351,7 +6356,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6351
6356
|
style: M({ width: o.question.imageWidth })
|
|
6352
6357
|
}, H(o.item.name), 13, rr)
|
|
6353
6358
|
], 2)) : c("", !0),
|
|
6354
|
-
|
|
6359
|
+
g("div", {
|
|
6355
6360
|
class: a(o.question.getImageWrapperCss(o.item))
|
|
6356
6361
|
}, [
|
|
6357
6362
|
o.question.canPreviewImage(o.item) ? (r(), l("img", {
|
|
@@ -6375,7 +6380,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6375
6380
|
class: a(o.question.getRemoveButtonCss()),
|
|
6376
6381
|
onClick: e[1] || (e[1] = (s) => o.question.doRemoveFile(o.item, s))
|
|
6377
6382
|
}, [
|
|
6378
|
-
|
|
6383
|
+
g("span", {
|
|
6379
6384
|
class: a(o.question.cssClasses.removeFile)
|
|
6380
6385
|
}, H(o.question.removeFileCaption), 3),
|
|
6381
6386
|
o.question.cssClasses.removeFileSvgIconId ? (r(), C(v, {
|
|
@@ -6392,7 +6397,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6392
6397
|
key: 1,
|
|
6393
6398
|
class: a(o.question.cssClasses.fileSignBottom)
|
|
6394
6399
|
}, [
|
|
6395
|
-
|
|
6400
|
+
g("a", {
|
|
6396
6401
|
onClick: e[2] || (e[2] = (s) => o.question.doDownloadFile(s, o.item)),
|
|
6397
6402
|
href: o.item.content,
|
|
6398
6403
|
title: o.item.name,
|
|
@@ -6414,20 +6419,20 @@ function Me(u) {
|
|
|
6414
6419
|
void 0,
|
|
6415
6420
|
u
|
|
6416
6421
|
);
|
|
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",
|
|
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);
|
|
6418
6423
|
}
|
|
6419
6424
|
Me(
|
|
6420
|
-
(u, o) =>
|
|
6425
|
+
(u, o) => z.Instance.registerComponent(u, o)
|
|
6421
6426
|
);
|
|
6422
6427
|
const pr = {
|
|
6423
6428
|
install(u) {
|
|
6424
6429
|
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent", be), u.directive("key2click", j), Me((o, e) => {
|
|
6425
|
-
u.component(o, e),
|
|
6430
|
+
u.component(o, e), z.Instance.registerComponent(o, o);
|
|
6426
6431
|
});
|
|
6427
6432
|
}
|
|
6428
6433
|
};
|
|
6429
6434
|
export {
|
|
6430
|
-
|
|
6435
|
+
z as ComponentFactory,
|
|
6431
6436
|
be as PopupSurveyComponent,
|
|
6432
6437
|
ie as SurveyComponent,
|
|
6433
6438
|
v as SvComponent,
|
|
@@ -6436,5 +6441,5 @@ export {
|
|
|
6436
6441
|
B as useBase,
|
|
6437
6442
|
ee as useComputedArray,
|
|
6438
6443
|
K as useLocString,
|
|
6439
|
-
|
|
6444
|
+
T as useQuestion
|
|
6440
6445
|
};
|