survey-vue3-ui 1.9.137 → 1.9.139
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 +1 -1
- package/survey-vue3-ui.es.js +244 -238
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { shallowReactive as Ce, watch as Q, onBeforeUnmount as G, onMounted as M, ref as $, shallowRef as U, watchEffect as be, triggerRef as se, unref as I, isRef as ke, defineComponent as h, computed as w, resolveComponent as
|
|
2
|
-
import { Base as _e, RendererFactory as ee, DropdownListModel as De, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as
|
|
1
|
+
import { shallowReactive as Ce, watch as Q, onBeforeUnmount as G, onMounted as M, ref as $, shallowRef as U, watchEffect as be, triggerRef as se, unref as I, isRef as ke, defineComponent as h, computed as w, resolveComponent as g, openBlock as i, createElementBlock as u, normalizeClass as a, createVNode as C, createCommentVNode as d, Fragment as _, renderList as D, createBlock as y, resolveDynamicComponent as T, normalizeProps as z, mergeProps as E, withCtx as F, normalizeStyle as S, createElementVNode as v, onUnmounted as O, guardReactiveProps as ne, withDirectives as P, vShow as H, toDisplayString as R, vModelRadio as x, vModelCheckbox as oe, vModelSelect as fe, onUpdated as te, vModelText as Ie, getCurrentInstance as ie, createStaticVNode as we, resolveDirective as X, toRaw as Se, Teleport as Re, useSlots as Te, renderSlot as $e } from "vue";
|
|
2
|
+
import { Base as _e, RendererFactory as ee, DropdownListModel as De, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ge, createSvg as Ne, ActionDropdownViewModel as Pe, getActionDropdownButtonTarget as Ae, createPopupViewModel as Me, SurveyProgressModel as de, ProgressButtonsResponsivityManager as He, PopupSurveyModel as Ee, settings as j, createDialogOptions as We, createPopupModalViewModel as Ve, ButtonGroupItemModel as Fe, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
3
|
_e.createPropertiesHash = () => Ce({});
|
|
4
4
|
function je(r) {
|
|
5
5
|
var s;
|
|
@@ -94,7 +94,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
94
94
|
), M(() => {
|
|
95
95
|
e();
|
|
96
96
|
}), (t, l) => {
|
|
97
|
-
const c =
|
|
97
|
+
const c = g("survey-element-title"), m = g("survey-string"), p = g("survey-errors"), q = g("survey-row");
|
|
98
98
|
return i(), u("div", {
|
|
99
99
|
class: a(t.page.cssRoot),
|
|
100
100
|
ref_key: "root",
|
|
@@ -119,7 +119,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
119
119
|
componentData: t.page.getSurvey().getRowWrapperComponentData(f)
|
|
120
120
|
})), {
|
|
121
121
|
default: F(() => [
|
|
122
|
-
C(
|
|
122
|
+
C(q, {
|
|
123
123
|
row: f,
|
|
124
124
|
survey: t.survey,
|
|
125
125
|
css: t.css
|
|
@@ -141,7 +141,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
141
141
|
var e = n.value;
|
|
142
142
|
e && s.survey && s.survey.afterRenderHeader(e);
|
|
143
143
|
}), (e, o) => {
|
|
144
|
-
const t =
|
|
144
|
+
const t = g("survey-element-title"), l = g("survey-string");
|
|
145
145
|
return e.survey.renderedHasHeader ? (i(), u("div", {
|
|
146
146
|
key: 0,
|
|
147
147
|
class: a(e.survey.css.header),
|
|
@@ -205,7 +205,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
205
205
|
}, 10);
|
|
206
206
|
}
|
|
207
207
|
}), (e, o) => {
|
|
208
|
-
const t =
|
|
208
|
+
const t = g("survey-element");
|
|
209
209
|
return i(), u("div", {
|
|
210
210
|
class: a(e.row.getRowCss()),
|
|
211
211
|
ref_key: "root",
|
|
@@ -240,7 +240,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
240
240
|
() => {
|
|
241
241
|
c();
|
|
242
242
|
}
|
|
243
|
-
), p = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()),
|
|
243
|
+
), p = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), q = w(() => s.element.survey.getQuestionContentWrapperComponentName(s.element)), f = w(() => ({
|
|
244
244
|
componentData: {
|
|
245
245
|
question: s.element,
|
|
246
246
|
data: s.element.survey.getElementWrapperComponentData(s.element)
|
|
@@ -249,7 +249,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
249
249
|
return O(() => {
|
|
250
250
|
m();
|
|
251
251
|
}), (b, N) => {
|
|
252
|
-
const k =
|
|
252
|
+
const k = g("survey-errors"), L = g("survey-element-header"), W = g("survey-string"), V = g("survey-question-comment");
|
|
253
253
|
return i(), u("div", {
|
|
254
254
|
class: a(b.element.getRootCss()),
|
|
255
255
|
style: S(l()),
|
|
@@ -275,7 +275,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
275
275
|
element: b.element,
|
|
276
276
|
css: b.css
|
|
277
277
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
278
|
-
(i(), y(T(
|
|
278
|
+
(i(), y(T(q.value), z(ne(f.value)), {
|
|
279
279
|
default: F(() => [
|
|
280
280
|
P(v("div", {
|
|
281
281
|
class: a(t(b.element) || void 0),
|
|
@@ -347,12 +347,12 @@ const Qe = /* @__PURE__ */ h({
|
|
|
347
347
|
return B(() => s.element), M(() => {
|
|
348
348
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, n.value);
|
|
349
349
|
}), (o, t) => {
|
|
350
|
-
const l =
|
|
350
|
+
const l = g("survey-errors"), c = g("survey-element-header"), m = g("survey-row"), p = g("sv-action-bar");
|
|
351
351
|
return o.element.getIsContentVisible() ? (i(), u("div", {
|
|
352
352
|
key: 0,
|
|
353
353
|
class: a(o.element.getContainerCss()),
|
|
354
354
|
id: o.element.id,
|
|
355
|
-
onFocusin: t[0] || (t[0] = (
|
|
355
|
+
onFocusin: t[0] || (t[0] = (q) => o.element.focusIn()),
|
|
356
356
|
ref_key: "root",
|
|
357
357
|
ref: n
|
|
358
358
|
}, [
|
|
@@ -375,14 +375,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
375
375
|
style: S({ paddingLeft: o.element.innerPaddingLeft }),
|
|
376
376
|
class: a(o.element.cssClasses.panel.content)
|
|
377
377
|
}, [
|
|
378
|
-
(i(!0), u(_, null, D(o.element.visibleRows, (
|
|
379
|
-
key:
|
|
378
|
+
(i(!0), u(_, null, D(o.element.visibleRows, (q) => (i(), y(T(o.element.getSurvey().getRowWrapperComponentName(q)), z(E({
|
|
379
|
+
key: q.id
|
|
380
380
|
}, {
|
|
381
|
-
componentData: o.element.getSurvey().getRowWrapperComponentData(
|
|
381
|
+
componentData: o.element.getSurvey().getRowWrapperComponentData(q)
|
|
382
382
|
})), {
|
|
383
383
|
default: F(() => [
|
|
384
384
|
C(m, {
|
|
385
|
-
row:
|
|
385
|
+
row: q,
|
|
386
386
|
survey: e.value,
|
|
387
387
|
css: o.css
|
|
388
388
|
}, null, 8, ["row", "survey", "css"])
|
|
@@ -407,7 +407,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
407
407
|
typeof s.element.clickTitleFunction == "function" && s.element.clickTitleFunction(e);
|
|
408
408
|
};
|
|
409
409
|
return (e, o) => {
|
|
410
|
-
const t =
|
|
410
|
+
const t = g("survey-element-title"), l = g("survey-string"), c = g("sv-action-bar");
|
|
411
411
|
return i(), u("div", {
|
|
412
412
|
class: a(e.element.cssHeader),
|
|
413
413
|
onClick: n
|
|
@@ -499,7 +499,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
499
499
|
id: n.element.id
|
|
500
500
|
}, null, 8, ms));
|
|
501
501
|
}
|
|
502
|
-
}), ps = ["id"], vs = ["value"],
|
|
502
|
+
}), ps = ["id"], vs = ["value"], qs = /* @__PURE__ */ h({
|
|
503
503
|
inheritAttrs: !1,
|
|
504
504
|
__name: "Text",
|
|
505
505
|
props: {
|
|
@@ -508,7 +508,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
508
508
|
setup(r) {
|
|
509
509
|
const s = r, n = $(null);
|
|
510
510
|
return A(s, n), (e, o) => {
|
|
511
|
-
const t =
|
|
511
|
+
const t = g("survey-text-input");
|
|
512
512
|
return e.question.isReadOnlyRenderDiv() ? (i(), u("div", {
|
|
513
513
|
key: 0,
|
|
514
514
|
ref_key: "root",
|
|
@@ -533,7 +533,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
533
533
|
}, null, 8, ["question", "get-ref"]));
|
|
534
534
|
};
|
|
535
535
|
}
|
|
536
|
-
}),
|
|
536
|
+
}), gs = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], ys = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], hs = /* @__PURE__ */ h({
|
|
537
537
|
__name: "TextInput",
|
|
538
538
|
props: {
|
|
539
539
|
question: {},
|
|
@@ -546,7 +546,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
546
546
|
s({ root: o }), B(() => n.question);
|
|
547
547
|
const t = w(() => n.question.inputStyle);
|
|
548
548
|
return (l, c) => {
|
|
549
|
-
const m =
|
|
549
|
+
const m = g("sv-character-counter");
|
|
550
550
|
return l.question.getMaxLength() ? (i(), u("div", {
|
|
551
551
|
key: 1,
|
|
552
552
|
ref: (p) => e(p)
|
|
@@ -612,7 +612,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
612
612
|
"aria-describedby": l.question.a11y_input_ariaDescribedBy,
|
|
613
613
|
"aria-invalid": l.question.a11y_input_ariaInvalid,
|
|
614
614
|
"aria-errormessage": l.question.a11y_input_ariaErrormessage
|
|
615
|
-
}, null, 46,
|
|
615
|
+
}, null, 46, gs));
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
}), Cs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], bs = {
|
|
@@ -637,7 +637,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
637
637
|
}
|
|
638
638
|
});
|
|
639
639
|
return (t, l) => {
|
|
640
|
-
const c =
|
|
640
|
+
const c = g("survey-other-choice");
|
|
641
641
|
return i(), u("fieldset", {
|
|
642
642
|
class: a(t.question.getSelectBaseRootCss()),
|
|
643
643
|
ref_key: "root",
|
|
@@ -674,9 +674,9 @@ const Qe = /* @__PURE__ */ h({
|
|
|
674
674
|
class: a(t.question.getColumnClass()),
|
|
675
675
|
role: "presentation"
|
|
676
676
|
}, [
|
|
677
|
-
(i(!0), u(_, null, D(m, (
|
|
678
|
-
key:
|
|
679
|
-
}, o(
|
|
677
|
+
(i(!0), u(_, null, D(m, (q) => (i(), y(T(e(q)), E({
|
|
678
|
+
key: q.value
|
|
679
|
+
}, o(q)), null, 16))), 128))
|
|
680
680
|
], 2))), 128)) : d("", !0)
|
|
681
681
|
], 2)) : d("", !0),
|
|
682
682
|
t.question.hasFootItems ? (i(!0), u(_, { key: 5 }, D(t.question.footItems, (m) => (i(), y(T(e(m)), E({
|
|
@@ -726,7 +726,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
726
726
|
s.question.clickItemHandler(s.item, e.target.checked);
|
|
727
727
|
};
|
|
728
728
|
return (e, o) => {
|
|
729
|
-
const t =
|
|
729
|
+
const t = g("survey-string");
|
|
730
730
|
return i(), u("div", {
|
|
731
731
|
role: "presentation",
|
|
732
732
|
class: a(e.question.getItemClass(e.item))
|
|
@@ -798,7 +798,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
798
798
|
}
|
|
799
799
|
});
|
|
800
800
|
return B(() => s.item), (t, l) => {
|
|
801
|
-
const c =
|
|
801
|
+
const c = g("survey-string");
|
|
802
802
|
return i(), u("div", {
|
|
803
803
|
role: "presentation",
|
|
804
804
|
class: a(t.question.getItemClass(t.item))
|
|
@@ -853,7 +853,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
853
853
|
setup(r) {
|
|
854
854
|
const s = r, n = $(null);
|
|
855
855
|
return A(s, n), (e, o) => {
|
|
856
|
-
const t =
|
|
856
|
+
const t = g("survey-string"), l = g("sv-svg-icon"), c = g("sv-loading-indicator");
|
|
857
857
|
return i(), u("div", {
|
|
858
858
|
class: a(e.question.cssClasses.root),
|
|
859
859
|
ref_key: "root",
|
|
@@ -866,7 +866,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
866
866
|
class: a(e.question.cssClasses.placeholder)
|
|
867
867
|
}, [
|
|
868
868
|
C(t, {
|
|
869
|
-
locString: e.question.
|
|
869
|
+
locString: e.question.locRenderedPlaceholder
|
|
870
870
|
}, null, 8, ["locString"])
|
|
871
871
|
], 2), [
|
|
872
872
|
[H, e.question.needShowPlaceholder()]
|
|
@@ -943,7 +943,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
943
943
|
A(s, n);
|
|
944
944
|
const e = J(() => s.question.locImageLink);
|
|
945
945
|
return (o, t) => {
|
|
946
|
-
const l =
|
|
946
|
+
const l = g("sv-svg-icon");
|
|
947
947
|
return i(), u("div", {
|
|
948
948
|
class: a(o.question.cssClasses.root),
|
|
949
949
|
ref_key: "root",
|
|
@@ -1038,7 +1038,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1038
1038
|
setup(r) {
|
|
1039
1039
|
const s = r, n = $(null);
|
|
1040
1040
|
return A(s, n), (e, o) => {
|
|
1041
|
-
const t =
|
|
1041
|
+
const t = g("survey-string"), l = g("sv-file-choose-btn"), c = g("sv-action-bar"), m = g("sv-file-clean-btn"), p = g("sv-loading-indicator"), q = g("sv-file-video"), f = g("sv-file-preview");
|
|
1042
1042
|
return i(), u("div", {
|
|
1043
1043
|
class: a(e.question.fileRootCss),
|
|
1044
1044
|
ref_key: "root",
|
|
@@ -1115,7 +1115,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1115
1115
|
}, [
|
|
1116
1116
|
C(p)
|
|
1117
1117
|
], 2)) : d("", !0),
|
|
1118
|
-
e.question.isPlayingVideo ? (i(), y(
|
|
1118
|
+
e.question.isPlayingVideo ? (i(), y(q, {
|
|
1119
1119
|
key: 3,
|
|
1120
1120
|
question: e.question
|
|
1121
1121
|
}, null, 8, ["question"])) : d("", !0),
|
|
@@ -1185,7 +1185,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1185
1185
|
B(() => s.item);
|
|
1186
1186
|
const e = J(() => s.item.locImageLink);
|
|
1187
1187
|
return (o, t) => {
|
|
1188
|
-
const l =
|
|
1188
|
+
const l = g("sv-svg-icon"), c = g("survey-string");
|
|
1189
1189
|
return i(), u("div", {
|
|
1190
1190
|
class: a(n(o.item))
|
|
1191
1191
|
}, [
|
|
@@ -1314,7 +1314,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1314
1314
|
t.value = o.target.value;
|
|
1315
1315
|
};
|
|
1316
1316
|
return (o, t) => {
|
|
1317
|
-
const l =
|
|
1317
|
+
const l = g("sv-character-counter");
|
|
1318
1318
|
return !o.question.isReadOnlyRenderDiv() && !o.question.getMaxLength() ? (i(), u("textarea", {
|
|
1319
1319
|
key: 0,
|
|
1320
1320
|
ref_key: "root",
|
|
@@ -1392,7 +1392,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1392
1392
|
setup(r) {
|
|
1393
1393
|
const s = r, n = $(null);
|
|
1394
1394
|
return A(s, n), (e, o) => {
|
|
1395
|
-
const t =
|
|
1395
|
+
const t = g("sv-dropdown"), l = g("survey-other-choice");
|
|
1396
1396
|
return i(), u("div", {
|
|
1397
1397
|
class: a(e.question.renderCssRoot),
|
|
1398
1398
|
ref_key: "root",
|
|
@@ -1439,7 +1439,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1439
1439
|
}
|
|
1440
1440
|
});
|
|
1441
1441
|
return (l, c) => {
|
|
1442
|
-
const m =
|
|
1442
|
+
const m = g("sv-dropdown-option-item"), p = g("sv-svg-icon"), q = g("survey-other-choice");
|
|
1443
1443
|
return i(), u("div", {
|
|
1444
1444
|
class: a(l.question.renderCssRoot),
|
|
1445
1445
|
ref_key: "root",
|
|
@@ -1486,7 +1486,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1486
1486
|
}, null, 8, ["class", "iconName"])
|
|
1487
1487
|
], 2)) : d("", !0)
|
|
1488
1488
|
], 2),
|
|
1489
|
-
l.question.isOtherSelected ? (i(), y(
|
|
1489
|
+
l.question.isOtherSelected ? (i(), y(q, {
|
|
1490
1490
|
key: 0,
|
|
1491
1491
|
question: l.question
|
|
1492
1492
|
}, null, 8, ["question"])) : d("", !0)
|
|
@@ -1534,7 +1534,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1534
1534
|
}, p = (k) => {
|
|
1535
1535
|
var L;
|
|
1536
1536
|
(L = e.value) == null || L.onBlur(k), m();
|
|
1537
|
-
},
|
|
1537
|
+
}, q = (k) => {
|
|
1538
1538
|
var L;
|
|
1539
1539
|
(L = e.value) == null || L.onFocus(k);
|
|
1540
1540
|
}, f = (k) => {
|
|
@@ -1543,7 +1543,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1543
1543
|
() => s.question.showSelectedItemLocText
|
|
1544
1544
|
), N = w(() => s.question.selectedItemLocText);
|
|
1545
1545
|
return B(() => e.value), te(m), M(m), (k, L) => {
|
|
1546
|
-
const W =
|
|
1546
|
+
const W = g("survey-string"), V = g("sv-svg-icon"), K = g("sv-popup");
|
|
1547
1547
|
return i(), u("div", {
|
|
1548
1548
|
class: a(k.question.cssClasses.selectWrapper),
|
|
1549
1549
|
onClick: o
|
|
@@ -1612,7 +1612,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1612
1612
|
placeholder: e.value.placeholderRendered,
|
|
1613
1613
|
onInput: f,
|
|
1614
1614
|
onBlur: p,
|
|
1615
|
-
onFocus:
|
|
1615
|
+
onFocus: q
|
|
1616
1616
|
}, null, 42, mn)
|
|
1617
1617
|
], 2),
|
|
1618
1618
|
k.question.allowClear && k.question.cssClasses.cleanButtonIconId ? P((i(), u("div", {
|
|
@@ -1670,7 +1670,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1670
1670
|
setup(r) {
|
|
1671
1671
|
const s = r, n = $(null);
|
|
1672
1672
|
return A(s, n), (e, o) => {
|
|
1673
|
-
const t =
|
|
1673
|
+
const t = g("sv-tagbox"), l = g("survey-other-choice");
|
|
1674
1674
|
return i(), u("div", {
|
|
1675
1675
|
class: a(e.question.renderCssRoot),
|
|
1676
1676
|
ref_key: "root",
|
|
@@ -1684,7 +1684,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1684
1684
|
], 2);
|
|
1685
1685
|
};
|
|
1686
1686
|
}
|
|
1687
|
-
}),
|
|
1687
|
+
}), qn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], gn = ["id"], yn = /* @__PURE__ */ h({
|
|
1688
1688
|
__name: "Tagbox",
|
|
1689
1689
|
props: {
|
|
1690
1690
|
question: {}
|
|
@@ -1694,23 +1694,23 @@ const rn = /* @__PURE__ */ h({
|
|
|
1694
1694
|
const p = s.question;
|
|
1695
1695
|
return p.dropdownListModel || (p.dropdownListModel = new Le(p)), s.question.dropdownListModel;
|
|
1696
1696
|
}), e = (p) => {
|
|
1697
|
-
var
|
|
1698
|
-
(
|
|
1697
|
+
var q;
|
|
1698
|
+
(q = n.value) == null || q.onClick(p);
|
|
1699
1699
|
}, o = (p) => {
|
|
1700
|
-
var
|
|
1701
|
-
(
|
|
1700
|
+
var q;
|
|
1701
|
+
(q = n.value) == null || q.chevronPointerDown(p);
|
|
1702
1702
|
}, t = (p) => {
|
|
1703
|
-
var
|
|
1704
|
-
(
|
|
1703
|
+
var q;
|
|
1704
|
+
(q = n.value) == null || q.onClear(p);
|
|
1705
1705
|
}, l = (p) => {
|
|
1706
|
-
var
|
|
1707
|
-
(
|
|
1706
|
+
var q;
|
|
1707
|
+
(q = n.value) == null || q.keyHandler(p);
|
|
1708
1708
|
}, c = (p) => {
|
|
1709
|
-
var
|
|
1710
|
-
(
|
|
1709
|
+
var q;
|
|
1710
|
+
(q = n.value) == null || q.onBlur(p);
|
|
1711
1711
|
}, m = le(() => s.question.selectedChoices);
|
|
1712
|
-
return B(() => n.value), (p,
|
|
1713
|
-
const f =
|
|
1712
|
+
return B(() => n.value), (p, q) => {
|
|
1713
|
+
const f = g("sv-tagbox-item"), b = g("sv-tagbox-filter"), N = g("sv-svg-icon"), k = g("sv-popup"), L = g("survey-string");
|
|
1714
1714
|
return i(), u("div", {
|
|
1715
1715
|
class: a(p.question.cssClasses.selectWrapper),
|
|
1716
1716
|
onClick: e
|
|
@@ -1761,7 +1761,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1761
1761
|
], 2)), [
|
|
1762
1762
|
[H, p.question.showClearButton]
|
|
1763
1763
|
]) : d("", !0)
|
|
1764
|
-
], 42,
|
|
1764
|
+
], 42, qn)),
|
|
1765
1765
|
p.question.isReadOnly ? (i(), u("div", {
|
|
1766
1766
|
key: 2,
|
|
1767
1767
|
disabled: "",
|
|
@@ -1772,7 +1772,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1772
1772
|
key: 0,
|
|
1773
1773
|
locString: p.question.locReadOnlyText
|
|
1774
1774
|
}, null, 8, ["locString"])) : d("", !0)
|
|
1775
|
-
], 10,
|
|
1775
|
+
], 10, gn)) : (i(), y(k, {
|
|
1776
1776
|
key: 1,
|
|
1777
1777
|
model: n.value.popupModel
|
|
1778
1778
|
}, null, 8, ["model"])),
|
|
@@ -1809,7 +1809,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1809
1809
|
s.model.onFocus(l);
|
|
1810
1810
|
};
|
|
1811
1811
|
return B(() => s.model), (l, c) => {
|
|
1812
|
-
const m =
|
|
1812
|
+
const m = g("survey-string");
|
|
1813
1813
|
return i(), u("div", {
|
|
1814
1814
|
class: a(l.question.cssClasses.hint)
|
|
1815
1815
|
}, [
|
|
@@ -1873,7 +1873,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1873
1873
|
s.question.dropdownListModel.deselectItem(s.item.value), e.stopPropagation();
|
|
1874
1874
|
};
|
|
1875
1875
|
return B(() => s.item), (e, o) => {
|
|
1876
|
-
const t =
|
|
1876
|
+
const t = g("survey-string"), l = g("sv-svg-icon");
|
|
1877
1877
|
return i(), u("div", {
|
|
1878
1878
|
class: "sv-tagbox__item",
|
|
1879
1879
|
key: e.item.key
|
|
@@ -1918,7 +1918,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1918
1918
|
}
|
|
1919
1919
|
});
|
|
1920
1920
|
return (t, l) => {
|
|
1921
|
-
const c =
|
|
1921
|
+
const c = g("survey-string");
|
|
1922
1922
|
return i(), u("div", {
|
|
1923
1923
|
class: a(t.question.rootClass),
|
|
1924
1924
|
ref_key: "root",
|
|
@@ -1983,7 +1983,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1983
1983
|
setup(r) {
|
|
1984
1984
|
const s = r, n = w(() => s.question.getNumberByIndex(s.index));
|
|
1985
1985
|
return B(() => s.item), (e, o) => {
|
|
1986
|
-
const t =
|
|
1986
|
+
const t = g("survey-string");
|
|
1987
1987
|
return i(), u("div", {
|
|
1988
1988
|
tabindex: e.question.getItemTabIndex(e.item),
|
|
1989
1989
|
"data-sv-drop-target-ranking-item": e.index,
|
|
@@ -2064,7 +2064,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2064
2064
|
A(s, n);
|
|
2065
2065
|
const e = (o) => s.question.getInputId(o);
|
|
2066
2066
|
return (o, t) => {
|
|
2067
|
-
const l =
|
|
2067
|
+
const l = g("survey-string");
|
|
2068
2068
|
return i(), u("div", {
|
|
2069
2069
|
class: a(o.question.ratingRootCss),
|
|
2070
2070
|
ref_key: "root",
|
|
@@ -2108,7 +2108,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2108
2108
|
setup(r) {
|
|
2109
2109
|
const s = r;
|
|
2110
2110
|
return B(() => s.item), (n, e) => {
|
|
2111
|
-
const o =
|
|
2111
|
+
const o = g("survey-string");
|
|
2112
2112
|
return i(), u("label", {
|
|
2113
2113
|
key: n.item.value,
|
|
2114
2114
|
onMousedown: e[1] || (e[1] = (t) => n.question.onMouseDown()),
|
|
@@ -2147,7 +2147,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2147
2147
|
setup(r) {
|
|
2148
2148
|
const s = r;
|
|
2149
2149
|
return B(() => s.item), (n, e) => {
|
|
2150
|
-
const o =
|
|
2150
|
+
const o = g("sv-svg-icon");
|
|
2151
2151
|
return i(), u("label", {
|
|
2152
2152
|
key: n.item.value,
|
|
2153
2153
|
onMousedown: e[1] || (e[1] = (t) => n.question.onMouseDown()),
|
|
@@ -2187,7 +2187,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2187
2187
|
setup(r) {
|
|
2188
2188
|
const s = r;
|
|
2189
2189
|
return B(() => s.item), (n, e) => {
|
|
2190
|
-
const o =
|
|
2190
|
+
const o = g("sv-svg-icon");
|
|
2191
2191
|
return i(), u("label", {
|
|
2192
2192
|
key: n.item.value,
|
|
2193
2193
|
onMousedown: e[1] || (e[1] = (t) => n.question.onMouseDown()),
|
|
@@ -2234,7 +2234,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2234
2234
|
setup(r) {
|
|
2235
2235
|
const s = r;
|
|
2236
2236
|
return B(() => s.item), (n, e) => {
|
|
2237
|
-
const o =
|
|
2237
|
+
const o = g("survey-string");
|
|
2238
2238
|
return i(), u("div", Wn, [
|
|
2239
2239
|
v("span", Vn, R(n.item.title), 1),
|
|
2240
2240
|
n.item.description ? (i(), u("div", Fn, [
|
|
@@ -2260,7 +2260,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2260
2260
|
setup(r) {
|
|
2261
2261
|
const s = r, n = $(null);
|
|
2262
2262
|
return A(s, n), (e, o) => {
|
|
2263
|
-
const t =
|
|
2263
|
+
const t = g("sv-dropdown");
|
|
2264
2264
|
return i(), u("div", {
|
|
2265
2265
|
class: a(e.question.cssClasses.rootDropdown),
|
|
2266
2266
|
ref_key: "root",
|
|
@@ -2286,7 +2286,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2286
2286
|
};
|
|
2287
2287
|
return (t, l) => {
|
|
2288
2288
|
var m;
|
|
2289
|
-
const c =
|
|
2289
|
+
const c = g("survey-string");
|
|
2290
2290
|
return i(), u("div", {
|
|
2291
2291
|
class: a(t.question.cssClasses.root),
|
|
2292
2292
|
ref_key: "root",
|
|
@@ -2375,7 +2375,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2375
2375
|
setup(r) {
|
|
2376
2376
|
const s = $(null);
|
|
2377
2377
|
return A(r, s), (e, o) => {
|
|
2378
|
-
const t =
|
|
2378
|
+
const t = g("sv-boolean-radio-item");
|
|
2379
2379
|
return i(), u("div", {
|
|
2380
2380
|
class: a(e.question.cssClasses.rootRadio),
|
|
2381
2381
|
ref_key: "root",
|
|
@@ -2385,13 +2385,19 @@ const jn = /* @__PURE__ */ h({
|
|
|
2385
2385
|
role: "presentation",
|
|
2386
2386
|
class: a(e.question.cssClasses.radioFieldset)
|
|
2387
2387
|
}, [
|
|
2388
|
+
e.question.swapOrder ? (i(), y(t, {
|
|
2389
|
+
key: !0,
|
|
2390
|
+
question: e.question,
|
|
2391
|
+
locText: e.question.locLabelTrue,
|
|
2392
|
+
value: !0
|
|
2393
|
+
}, null, 8, ["question", "locText"])) : d("", !0),
|
|
2388
2394
|
(i(), y(t, {
|
|
2389
2395
|
key: !1,
|
|
2390
2396
|
question: e.question,
|
|
2391
2397
|
locText: e.question.locLabelFalse,
|
|
2392
2398
|
value: !1
|
|
2393
2399
|
}, null, 8, ["question", "locText"])),
|
|
2394
|
-
(i(), y(t, {
|
|
2400
|
+
e.question.swapOrder ? d("", !0) : (i(), y(t, {
|
|
2395
2401
|
key: !0,
|
|
2396
2402
|
question: e.question,
|
|
2397
2403
|
locText: e.question.locLabelTrue,
|
|
@@ -2414,7 +2420,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2414
2420
|
o.booleanValue = e.target.value == "true";
|
|
2415
2421
|
};
|
|
2416
2422
|
return (e, o) => {
|
|
2417
|
-
const t =
|
|
2423
|
+
const t = g("survey-string");
|
|
2418
2424
|
return i(), u("div", {
|
|
2419
2425
|
role: "presentation",
|
|
2420
2426
|
class: a(e.question.getRadioItemClass(e.question.cssClasses, e.value))
|
|
@@ -2471,7 +2477,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2471
2477
|
const s = r, n = $(null);
|
|
2472
2478
|
return A(s, n), (e, o) => {
|
|
2473
2479
|
var m;
|
|
2474
|
-
const t =
|
|
2480
|
+
const t = g("survey-element-title-content"), l = g("sv-title-actions"), c = g("survey-string");
|
|
2475
2481
|
return i(), u("div", {
|
|
2476
2482
|
class: a(e.question.cssClasses.rootCheckbox),
|
|
2477
2483
|
ref_key: "root",
|
|
@@ -2551,7 +2557,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2551
2557
|
setup(r) {
|
|
2552
2558
|
const s = r, n = $(null), e = le(() => s.question.getRows());
|
|
2553
2559
|
return A(s, n), (o, t) => {
|
|
2554
|
-
const l =
|
|
2560
|
+
const l = g("survey-multipletext-item");
|
|
2555
2561
|
return i(), u("table", {
|
|
2556
2562
|
class: a(o.question.getQuestionRootCss()),
|
|
2557
2563
|
ref_key: "root",
|
|
@@ -2591,7 +2597,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2591
2597
|
B(() => s.cell.item.editor);
|
|
2592
2598
|
const e = w(() => s.cell.item);
|
|
2593
2599
|
return (o, t) => {
|
|
2594
|
-
const l =
|
|
2600
|
+
const l = g("survey-string"), c = g("survey-errors");
|
|
2595
2601
|
return o.cell.isErrorsCell ? (i(), y(c, {
|
|
2596
2602
|
key: 1,
|
|
2597
2603
|
element: e.value.editor
|
|
@@ -2654,7 +2660,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2654
2660
|
t.value = l.value;
|
|
2655
2661
|
};
|
|
2656
2662
|
return (t, l) => {
|
|
2657
|
-
const c =
|
|
2663
|
+
const c = g("survey-string");
|
|
2658
2664
|
return i(), u("div", {
|
|
2659
2665
|
class: a(t.question.cssClasses.tableWrapper),
|
|
2660
2666
|
ref_key: "root",
|
|
@@ -2714,25 +2720,25 @@ const so = /* @__PURE__ */ h({
|
|
|
2714
2720
|
], 6), [
|
|
2715
2721
|
[H, t.question.hasRows]
|
|
2716
2722
|
]),
|
|
2717
|
-
t.question.hasCellText ? (i(!0), u(_, { key: 0 }, D(t.question.visibleColumns, (
|
|
2723
|
+
t.question.hasCellText ? (i(!0), u(_, { key: 0 }, D(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2718
2724
|
key: f,
|
|
2719
|
-
class: a(t.question.getItemClass(m,
|
|
2720
|
-
onClick: (b) => o(m,
|
|
2725
|
+
class: a(t.question.getItemClass(m, q)),
|
|
2726
|
+
onClick: (b) => o(m, q)
|
|
2721
2727
|
}, [
|
|
2722
2728
|
C(c, {
|
|
2723
|
-
locString: t.question.getCellDisplayLocText(m.name,
|
|
2729
|
+
locString: t.question.getCellDisplayLocText(m.name, q)
|
|
2724
2730
|
}, null, 8, ["locString"])
|
|
2725
2731
|
], 10, ao))), 128)) : d("", !0),
|
|
2726
|
-
t.question.hasCellText ? d("", !0) : (i(!0), u(_, { key: 1 }, D(t.question.visibleColumns, (
|
|
2732
|
+
t.question.hasCellText ? d("", !0) : (i(!0), u(_, { key: 1 }, D(t.question.visibleColumns, (q, f) => (i(), u("td", {
|
|
2727
2733
|
key: f,
|
|
2728
|
-
"data-responsive-title":
|
|
2734
|
+
"data-responsive-title": q.locText.renderedHtml,
|
|
2729
2735
|
class: a(t.question.cssClasses.cell),
|
|
2730
|
-
onClick: (b) => o(m,
|
|
2736
|
+
onClick: (b) => o(m, q)
|
|
2731
2737
|
}, [
|
|
2732
2738
|
(i(), y(T(t.question.cellComponent), {
|
|
2733
2739
|
question: t.question,
|
|
2734
2740
|
row: m,
|
|
2735
|
-
column:
|
|
2741
|
+
column: q,
|
|
2736
2742
|
columnIndex: f
|
|
2737
2743
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
2738
2744
|
], 10, uo))), 128))
|
|
@@ -2754,7 +2760,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2754
2760
|
},
|
|
2755
2761
|
setup(r) {
|
|
2756
2762
|
return (s, n) => {
|
|
2757
|
-
const e =
|
|
2763
|
+
const e = g("survey-string");
|
|
2758
2764
|
return i(), u("label", {
|
|
2759
2765
|
onMousedown: n[1] || (n[1] = (o) => s.question.onMouseDown()),
|
|
2760
2766
|
class: a(s.question.getItemClass(s.row, s.column))
|
|
@@ -2800,7 +2806,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2800
2806
|
], 34);
|
|
2801
2807
|
};
|
|
2802
2808
|
}
|
|
2803
|
-
}),
|
|
2809
|
+
}), qo = /* @__PURE__ */ h({
|
|
2804
2810
|
inheritAttrs: !1,
|
|
2805
2811
|
__name: "MatrixDropdown",
|
|
2806
2812
|
props: {
|
|
@@ -2809,7 +2815,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2809
2815
|
setup(r) {
|
|
2810
2816
|
const s = r, n = $(null);
|
|
2811
2817
|
return A(s, n), (e, o) => {
|
|
2812
|
-
const t =
|
|
2818
|
+
const t = g("survey-matrixtable");
|
|
2813
2819
|
return i(), y(t, {
|
|
2814
2820
|
question: e.question,
|
|
2815
2821
|
ref_key: "root",
|
|
@@ -2817,7 +2823,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2817
2823
|
}, null, 8, ["question"]);
|
|
2818
2824
|
};
|
|
2819
2825
|
}
|
|
2820
|
-
}),
|
|
2826
|
+
}), go = { key: 0 }, yo = ["data-sv-drop-target-matrix-row", "onPointerdown"], ho = { key: 1 }, Co = /* @__PURE__ */ h({
|
|
2821
2827
|
__name: "MatrixTable",
|
|
2822
2828
|
props: {
|
|
2823
2829
|
question: {}
|
|
@@ -2838,7 +2844,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2838
2844
|
};
|
|
2839
2845
|
}
|
|
2840
2846
|
), (e, o) => {
|
|
2841
|
-
const t =
|
|
2847
|
+
const t = g("survey-string"), l = g("survey-matrixheaderrequired"), c = g("survey-matrixdropdown-cell");
|
|
2842
2848
|
return i(), u("div", {
|
|
2843
2849
|
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2844
2850
|
class: a(e.question.cssClasses.tableWrapper)
|
|
@@ -2846,7 +2852,7 @@ const so = /* @__PURE__ */ h({
|
|
|
2846
2852
|
v("table", {
|
|
2847
2853
|
class: a(e.question.getTableCss())
|
|
2848
2854
|
}, [
|
|
2849
|
-
n.value.showHeader ? (i(), u("thead",
|
|
2855
|
+
n.value.showHeader ? (i(), u("thead", go, [
|
|
2850
2856
|
v("tr", null, [
|
|
2851
2857
|
(i(!0), u(_, null, D(n.value.headerRow.cells, (m) => (i(), u(_, null, [
|
|
2852
2858
|
m.hasTitle ? (i(), u("th", {
|
|
@@ -2888,10 +2894,10 @@ const so = /* @__PURE__ */ h({
|
|
|
2888
2894
|
onPointerdown: (p) => e.question.onPointerDown(p, m.row),
|
|
2889
2895
|
class: a(m.className)
|
|
2890
2896
|
}, [
|
|
2891
|
-
(i(!0), u(_, null, D(m.cells, (p,
|
|
2897
|
+
(i(!0), u(_, null, D(m.cells, (p, q) => (i(), y(c, {
|
|
2892
2898
|
cell: p,
|
|
2893
2899
|
question: e.question,
|
|
2894
|
-
key: m.id + "_" +
|
|
2900
|
+
key: m.id + "_" + q
|
|
2895
2901
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2896
2902
|
], 42, yo)) : d("", !0)
|
|
2897
2903
|
], 64))), 128))
|
|
@@ -2932,26 +2938,26 @@ const so = /* @__PURE__ */ h({
|
|
|
2932
2938
|
cell: {}
|
|
2933
2939
|
},
|
|
2934
2940
|
setup(r) {
|
|
2935
|
-
const s = r, n = $(!1), e = $(), o = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, l = () => n.value = s.cell.question.isVisible, c = (
|
|
2941
|
+
const s = r, n = $(!1), e = $(), o = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, l = () => n.value = s.cell.question.isVisible, c = (q) => re(q);
|
|
2936
2942
|
M(() => {
|
|
2937
2943
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2938
2944
|
return;
|
|
2939
2945
|
l(), s.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
2940
2946
|
l();
|
|
2941
2947
|
});
|
|
2942
|
-
const
|
|
2948
|
+
const q = e.value, f = s.cell.question, b = {
|
|
2943
2949
|
cell: s.cell.cell,
|
|
2944
2950
|
cellQuestion: f,
|
|
2945
|
-
htmlElement:
|
|
2951
|
+
htmlElement: q,
|
|
2946
2952
|
row: s.cell.row,
|
|
2947
2953
|
column: s.cell.cell.column
|
|
2948
2954
|
};
|
|
2949
|
-
s.question.survey.matrixAfterCellRender(s.question, b), f && f.afterRenderCore(
|
|
2955
|
+
s.question.survey.matrixAfterCellRender(s.question, b), f && f.afterRenderCore(q);
|
|
2950
2956
|
});
|
|
2951
2957
|
const m = w(() => {
|
|
2952
|
-
const
|
|
2953
|
-
if (
|
|
2954
|
-
const f =
|
|
2958
|
+
const q = s.cell;
|
|
2959
|
+
if (q.hasPanel) {
|
|
2960
|
+
const f = q.panel, b = f.survey;
|
|
2955
2961
|
if (b) {
|
|
2956
2962
|
const N = b.getElementWrapperComponentName(f);
|
|
2957
2963
|
if (N)
|
|
@@ -2973,91 +2979,91 @@ const so = /* @__PURE__ */ h({
|
|
|
2973
2979
|
};
|
|
2974
2980
|
}
|
|
2975
2981
|
});
|
|
2976
|
-
return (
|
|
2977
|
-
const b =
|
|
2982
|
+
return (q, f) => {
|
|
2983
|
+
const b = g("survey-errors"), N = g("sv-matrix-drag-drop-icon"), k = g("sv-action-bar"), L = g("survey-radiogroup-item"), W = g("survey-checkbox-item"), V = g("survey-other-choice"), K = g("survey-string");
|
|
2978
2984
|
return i(), u("td", {
|
|
2979
|
-
class: a(
|
|
2985
|
+
class: a(q.cell.className),
|
|
2980
2986
|
"data-responsive-title": o(),
|
|
2981
|
-
title:
|
|
2987
|
+
title: q.cell.getTitle(),
|
|
2982
2988
|
style: S(t()),
|
|
2983
|
-
colspan:
|
|
2984
|
-
onFocusin: f[0] || (f[0] = (ue) =>
|
|
2989
|
+
colspan: q.cell.colSpans,
|
|
2990
|
+
onFocusin: f[0] || (f[0] = (ue) => q.cell.focusIn()),
|
|
2985
2991
|
ref_key: "root",
|
|
2986
2992
|
ref: e
|
|
2987
2993
|
}, [
|
|
2988
|
-
|
|
2994
|
+
q.cell.isErrorsCell ? (i(), y(b, {
|
|
2989
2995
|
key: 0,
|
|
2990
|
-
element:
|
|
2996
|
+
element: q.cell.question
|
|
2991
2997
|
}, null, 8, ["element"])) : d("", !0),
|
|
2992
|
-
|
|
2998
|
+
q.cell.isDragHandlerCell ? (i(), y(N, {
|
|
2993
2999
|
key: 1,
|
|
2994
|
-
item: { data: { row:
|
|
3000
|
+
item: { data: { row: q.cell.row, question: q.question } }
|
|
2995
3001
|
}, null, 8, ["item"])) : d("", !0),
|
|
2996
|
-
|
|
3002
|
+
q.cell.isActionsCell ? (i(), y(k, {
|
|
2997
3003
|
key: 2,
|
|
2998
|
-
model:
|
|
3004
|
+
model: q.cell.item.getData(),
|
|
2999
3005
|
handleClick: !1
|
|
3000
3006
|
}, null, 8, ["model"])) : d("", !0),
|
|
3001
|
-
|
|
3002
|
-
|
|
3007
|
+
q.cell.hasPanel ? (i(), y(T(m.value), z(E({ key: 3 }, p.value)), null, 16)) : d("", !0),
|
|
3008
|
+
q.cell.hasQuestion ? P((i(), u("div", {
|
|
3003
3009
|
key: 4,
|
|
3004
|
-
class: a(
|
|
3010
|
+
class: a(q.cell.cellQuestionWrapperClassName)
|
|
3005
3011
|
}, [
|
|
3006
|
-
!
|
|
3012
|
+
!q.cell.isChoice && q.cell.question.isDefaultRendering() ? (i(), y(T(q.question.getCellWrapperComponentName(q.cell.cell)), {
|
|
3007
3013
|
key: 0,
|
|
3008
|
-
componentData:
|
|
3014
|
+
componentData: q.question.getCellWrapperComponentData(q.cell.cell)
|
|
3009
3015
|
}, {
|
|
3010
3016
|
default: F(() => [
|
|
3011
|
-
(i(), y(T(c(
|
|
3012
|
-
question:
|
|
3017
|
+
(i(), y(T(c(q.cell.question)), {
|
|
3018
|
+
question: q.cell.question
|
|
3013
3019
|
}, null, 8, ["question"]))
|
|
3014
3020
|
]),
|
|
3015
3021
|
_: 1
|
|
3016
3022
|
}, 8, ["componentData"])) : d("", !0),
|
|
3017
|
-
!
|
|
3023
|
+
!q.cell.isChoice && !q.cell.question.isDefaultRendering() ? (i(), y(T(q.cell.question.getComponentName()), {
|
|
3018
3024
|
key: 1,
|
|
3019
|
-
question:
|
|
3025
|
+
question: q.cell.question
|
|
3020
3026
|
}, null, 8, ["question"])) : d("", !0),
|
|
3021
|
-
|
|
3027
|
+
q.cell.isItemChoice ? (i(), y(T(q.question.getCellWrapperComponentName(q.cell.cell)), {
|
|
3022
3028
|
key: 2,
|
|
3023
|
-
componentData:
|
|
3029
|
+
componentData: q.question.getCellWrapperComponentData(q.cell.cell)
|
|
3024
3030
|
}, {
|
|
3025
3031
|
default: F(() => [
|
|
3026
|
-
|
|
3027
|
-
key:
|
|
3028
|
-
question:
|
|
3029
|
-
item:
|
|
3032
|
+
q.cell.isRadio ? (i(), y(L, {
|
|
3033
|
+
key: q.cell.item.value,
|
|
3034
|
+
question: q.cell.question,
|
|
3035
|
+
item: q.cell.item,
|
|
3030
3036
|
hideLabel: !0
|
|
3031
3037
|
}, null, 8, ["question", "item"])) : d("", !0),
|
|
3032
|
-
|
|
3033
|
-
key:
|
|
3034
|
-
question:
|
|
3035
|
-
item:
|
|
3038
|
+
q.cell.isCheckbox ? (i(), y(W, {
|
|
3039
|
+
key: q.cell.item.value,
|
|
3040
|
+
question: q.cell.question,
|
|
3041
|
+
item: q.cell.item,
|
|
3036
3042
|
hideLabel: !0
|
|
3037
3043
|
}, null, 8, ["question", "item"])) : d("", !0)
|
|
3038
3044
|
]),
|
|
3039
3045
|
_: 1
|
|
3040
3046
|
}, 8, ["componentData"])) : d("", !0),
|
|
3041
|
-
|
|
3047
|
+
q.cell.isOtherChoice ? (i(), y(V, {
|
|
3042
3048
|
key: 3,
|
|
3043
|
-
question:
|
|
3049
|
+
question: q.cell.question
|
|
3044
3050
|
}, null, 8, ["question"])) : d("", !0)
|
|
3045
3051
|
], 2)), [
|
|
3046
3052
|
[H, n.value]
|
|
3047
3053
|
]) : d("", !0),
|
|
3048
|
-
|
|
3054
|
+
q.cell.hasTitle ? (i(), y(T(q.question.getCellWrapperComponentName(q.cell)), {
|
|
3049
3055
|
key: 5,
|
|
3050
|
-
componentData:
|
|
3056
|
+
componentData: q.question.getCellWrapperComponentData(q.cell)
|
|
3051
3057
|
}, {
|
|
3052
3058
|
default: F(() => [
|
|
3053
|
-
|
|
3059
|
+
q.cell.hasTitle ? (i(), y(K, {
|
|
3054
3060
|
key: 0,
|
|
3055
|
-
locString:
|
|
3061
|
+
locString: q.cell.locTitle
|
|
3056
3062
|
}, null, 8, ["locString"])) : d("", !0),
|
|
3057
|
-
|
|
3063
|
+
q.cell.requiredText ? (i(), u("span", {
|
|
3058
3064
|
key: 1,
|
|
3059
|
-
class: a(
|
|
3060
|
-
}, R(
|
|
3065
|
+
class: a(q.question.cssClasses.cellRequiredText)
|
|
3066
|
+
}, R(q.cell.requiredText), 3)) : d("", !0)
|
|
3061
3067
|
]),
|
|
3062
3068
|
_: 1
|
|
3063
3069
|
}, 8, ["componentData"])) : d("", !0)
|
|
@@ -3077,7 +3083,7 @@ const so = /* @__PURE__ */ h({
|
|
|
3077
3083
|
s.question.addRowUI();
|
|
3078
3084
|
};
|
|
3079
3085
|
return (o, t) => {
|
|
3080
|
-
const l =
|
|
3086
|
+
const l = g("survey-string"), c = g("survey-matrixtable");
|
|
3081
3087
|
return i(), u("div", {
|
|
3082
3088
|
ref_key: "root",
|
|
3083
3089
|
ref: n
|
|
@@ -3163,7 +3169,7 @@ const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
|
3163
3169
|
setup(r) {
|
|
3164
3170
|
const s = r, { question: n, row: e } = ae(s);
|
|
3165
3171
|
return (o, t) => {
|
|
3166
|
-
const l =
|
|
3172
|
+
const l = g("survey-string");
|
|
3167
3173
|
return i(), u("button", {
|
|
3168
3174
|
type: "button",
|
|
3169
3175
|
class: a(I(n).getRemoveRowButtonCss()),
|
|
@@ -3206,7 +3212,7 @@ const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
|
3206
3212
|
setup(r) {
|
|
3207
3213
|
const s = r, { question: n, row: e } = ae(s);
|
|
3208
3214
|
return (o, t) => {
|
|
3209
|
-
const l =
|
|
3215
|
+
const l = g("sv-svg-icon");
|
|
3210
3216
|
return i(), u("button", {
|
|
3211
3217
|
type: "button",
|
|
3212
3218
|
class: a(I(n).getDetailPanelButtonCss(I(e))),
|
|
@@ -3255,30 +3261,30 @@ const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
|
3255
3261
|
);
|
|
3256
3262
|
const o = w(() => {
|
|
3257
3263
|
if (s.question.isRenderModeList)
|
|
3258
|
-
return s.question.
|
|
3264
|
+
return s.question.visiblePanels;
|
|
3259
3265
|
const m = [];
|
|
3260
3266
|
return s.question.currentPanel && m.push(s.question.currentPanel), m;
|
|
3261
3267
|
}), t = () => s.question.showLegacyNavigation, l = (m) => {
|
|
3262
3268
|
const p = s.question.getSurvey();
|
|
3263
3269
|
if (p) {
|
|
3264
|
-
const
|
|
3265
|
-
if (
|
|
3266
|
-
return
|
|
3270
|
+
const q = p.getElementWrapperComponentName(m);
|
|
3271
|
+
if (q)
|
|
3272
|
+
return q;
|
|
3267
3273
|
}
|
|
3268
3274
|
return "panel";
|
|
3269
3275
|
}, c = (m) => {
|
|
3270
3276
|
const p = s.question.getSurvey();
|
|
3271
|
-
let
|
|
3272
|
-
return p && (
|
|
3277
|
+
let q;
|
|
3278
|
+
return p && (q = p.getElementWrapperComponentData(m)), {
|
|
3273
3279
|
componentName: "survey-panel",
|
|
3274
3280
|
componentData: {
|
|
3275
3281
|
element: m,
|
|
3276
|
-
data:
|
|
3282
|
+
data: q
|
|
3277
3283
|
}
|
|
3278
3284
|
};
|
|
3279
3285
|
};
|
|
3280
3286
|
return (m, p) => {
|
|
3281
|
-
const
|
|
3287
|
+
const q = g("survey-string"), f = g("sv-paneldynamic-add-btn"), b = g("survey-paneldynamicprogress"), N = g("sv-paneldynamic-remove-btn"), k = g("survey-paneldynamicprogress-v2");
|
|
3282
3288
|
return i(), u("div", {
|
|
3283
3289
|
class: a(m.question.cssClasses.root),
|
|
3284
3290
|
ref_key: "root",
|
|
@@ -3289,7 +3295,7 @@ const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
|
3289
3295
|
class: a(m.question.cssClasses.noEntriesPlaceholder)
|
|
3290
3296
|
}, [
|
|
3291
3297
|
v("span", null, [
|
|
3292
|
-
C(
|
|
3298
|
+
C(q, {
|
|
3293
3299
|
locString: m.question.locNoEntriesText
|
|
3294
3300
|
}, null, 8, ["locString"])
|
|
3295
3301
|
]),
|
|
@@ -3351,7 +3357,7 @@ const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
|
3351
3357
|
setup(r) {
|
|
3352
3358
|
const s = r, n = () => s.question.isProgressTopShowing ? s.question.cssClasses.progressTop : s.question.cssClasses.progressBottom;
|
|
3353
3359
|
return (e, o) => {
|
|
3354
|
-
const t =
|
|
3360
|
+
const t = g("sv-paneldynamic-prev-btn"), l = g("sv-paneldynamic-next-btn"), c = g("sv-paneldynamic-add-btn"), m = g("sv-paneldynamic-progress-text");
|
|
3355
3361
|
return i(), u("div", {
|
|
3356
3362
|
class: a(n())
|
|
3357
3363
|
}, [
|
|
@@ -3396,7 +3402,7 @@ const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
|
3396
3402
|
},
|
|
3397
3403
|
setup(r) {
|
|
3398
3404
|
return (s, n) => {
|
|
3399
|
-
const e =
|
|
3405
|
+
const e = g("sv-action-bar");
|
|
3400
3406
|
return s.question.cssClasses.footer ? (i(), u("div", {
|
|
3401
3407
|
key: 0,
|
|
3402
3408
|
class: a(s.question.cssClasses.footer)
|
|
@@ -3442,7 +3448,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3442
3448
|
n.value.addPanelUI();
|
|
3443
3449
|
};
|
|
3444
3450
|
return (o, t) => {
|
|
3445
|
-
const l =
|
|
3451
|
+
const l = g("survey-string");
|
|
3446
3452
|
return I(n).canAddPanel ? (i(), u("button", {
|
|
3447
3453
|
key: 0,
|
|
3448
3454
|
type: "button",
|
|
@@ -3470,7 +3476,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3470
3476
|
n.value.goToNextPanel();
|
|
3471
3477
|
};
|
|
3472
3478
|
return (o, t) => {
|
|
3473
|
-
const l =
|
|
3479
|
+
const l = g("sv-svg-icon");
|
|
3474
3480
|
return i(), u("div", {
|
|
3475
3481
|
title: I(n).panelNextText,
|
|
3476
3482
|
onClick: e,
|
|
@@ -3494,7 +3500,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3494
3500
|
n.value.goToPrevPanel();
|
|
3495
3501
|
};
|
|
3496
3502
|
return (o, t) => {
|
|
3497
|
-
const l =
|
|
3503
|
+
const l = g("sv-svg-icon");
|
|
3498
3504
|
return i(), u("div", {
|
|
3499
3505
|
title: I(n).panelPrevText,
|
|
3500
3506
|
onClick: e,
|
|
@@ -3520,7 +3526,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3520
3526
|
n.value.isInputReadOnly || n.value.removePanelUI(t);
|
|
3521
3527
|
};
|
|
3522
3528
|
return (t, l) => {
|
|
3523
|
-
const c =
|
|
3529
|
+
const c = g("survey-string");
|
|
3524
3530
|
return i(), u("button", {
|
|
3525
3531
|
type: "button",
|
|
3526
3532
|
class: a(I(n).getPanelRemoveButtonCss()),
|
|
@@ -3560,7 +3566,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3560
3566
|
setup(r) {
|
|
3561
3567
|
const s = $();
|
|
3562
3568
|
return (n, e) => {
|
|
3563
|
-
const o =
|
|
3569
|
+
const o = g("survey-string");
|
|
3564
3570
|
return n.element.hasVisibleErrors ? (i(), u("div", {
|
|
3565
3571
|
key: 0,
|
|
3566
3572
|
role: "alert",
|
|
@@ -3626,10 +3632,10 @@ const Po = /* @__PURE__ */ h({
|
|
|
3626
3632
|
},
|
|
3627
3633
|
setup(r) {
|
|
3628
3634
|
const s = (n) => {
|
|
3629
|
-
|
|
3635
|
+
ge(n);
|
|
3630
3636
|
};
|
|
3631
3637
|
return (n, e) => {
|
|
3632
|
-
const o =
|
|
3638
|
+
const o = g("survey-element-title-content"), t = g("sv-title-actions");
|
|
3633
3639
|
return n.element.hasTitle ? (i(), y(T(n.element.titleTagName), {
|
|
3634
3640
|
key: 0,
|
|
3635
3641
|
class: a(n.element.cssTitle),
|
|
@@ -3670,7 +3676,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3670
3676
|
() => (s.element.isPanel ? s.element.cssClasses.panel : s.element.cssClasses) || {}
|
|
3671
3677
|
);
|
|
3672
3678
|
return (e, o) => {
|
|
3673
|
-
const t =
|
|
3679
|
+
const t = g("survey-string");
|
|
3674
3680
|
return i(), u(_, null, [
|
|
3675
3681
|
e.element.isTitleRenderedAsString ? (i(), y(t, {
|
|
3676
3682
|
key: 0,
|
|
@@ -3716,7 +3722,7 @@ const Po = /* @__PURE__ */ h({
|
|
|
3716
3722
|
setup(r) {
|
|
3717
3723
|
const s = r, n = w(() => s.element.getTitleToolbar());
|
|
3718
3724
|
return (e, o) => {
|
|
3719
|
-
const t =
|
|
3725
|
+
const t = g("survey-string"), l = g("survey-element-title-content"), c = g("sv-action-bar");
|
|
3720
3726
|
return i(), u("div", Yo, [
|
|
3721
3727
|
v("span", Zo, [
|
|
3722
3728
|
e.element.isPage ? (i(), y(t, {
|
|
@@ -3795,7 +3801,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3795
3801
|
}), O(() => {
|
|
3796
3802
|
s.model.resetResponsivityManager();
|
|
3797
3803
|
}), (t, l) => {
|
|
3798
|
-
const c =
|
|
3804
|
+
const c = g("sv-action");
|
|
3799
3805
|
return t.model.hasActions ? (i(), u("div", {
|
|
3800
3806
|
key: 0,
|
|
3801
3807
|
ref_key: "root",
|
|
@@ -3820,7 +3826,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3820
3826
|
() => s.item.component || "sv-action-bar-item"
|
|
3821
3827
|
);
|
|
3822
3828
|
return B(() => s.item), (e, o) => {
|
|
3823
|
-
const t =
|
|
3829
|
+
const t = g("sv-action-bar-separator");
|
|
3824
3830
|
return i(), u("div", {
|
|
3825
3831
|
class: a(e.item.getActionRootCss()),
|
|
3826
3832
|
id: e.item.id
|
|
@@ -3834,7 +3840,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3834
3840
|
}
|
|
3835
3841
|
}), pt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], vt = {
|
|
3836
3842
|
inheritAttrs: !1
|
|
3837
|
-
},
|
|
3843
|
+
}, qt = /* @__PURE__ */ h({
|
|
3838
3844
|
...vt,
|
|
3839
3845
|
__name: "ActionBarItem",
|
|
3840
3846
|
props: {
|
|
@@ -3843,7 +3849,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3843
3849
|
setup(r) {
|
|
3844
3850
|
const s = r;
|
|
3845
3851
|
return B(() => s.item), (n, e) => {
|
|
3846
|
-
const o =
|
|
3852
|
+
const o = g("sv-svg-icon"), t = X("key2click");
|
|
3847
3853
|
return P((i(), u("button", {
|
|
3848
3854
|
class: a(n.item.getActionBarItemCss()),
|
|
3849
3855
|
type: "button",
|
|
@@ -3875,7 +3881,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3875
3881
|
]);
|
|
3876
3882
|
};
|
|
3877
3883
|
}
|
|
3878
|
-
}),
|
|
3884
|
+
}), gt = ["disabled", "title", "role"], yt = {
|
|
3879
3885
|
inheritAttrs: !1
|
|
3880
3886
|
}, ht = /* @__PURE__ */ h({
|
|
3881
3887
|
...yt,
|
|
@@ -3895,7 +3901,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3895
3901
|
e.dispose();
|
|
3896
3902
|
}
|
|
3897
3903
|
), (o, t) => {
|
|
3898
|
-
const l =
|
|
3904
|
+
const l = g("sv-svg-icon"), c = g("sv-popup"), m = X("key2click");
|
|
3899
3905
|
return i(), u(_, null, [
|
|
3900
3906
|
P((i(), u("button", {
|
|
3901
3907
|
type: "button",
|
|
@@ -3921,7 +3927,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3921
3927
|
key: 1,
|
|
3922
3928
|
class: a(o.item.getActionBarItemTitleCss())
|
|
3923
3929
|
}, R(o.item.title), 3)) : d("", !0)
|
|
3924
|
-
], 42,
|
|
3930
|
+
], 42, gt)), [
|
|
3925
3931
|
[m, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3926
3932
|
]),
|
|
3927
3933
|
C(c, {
|
|
@@ -3960,7 +3966,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3960
3966
|
return B(() => s.model), M(() => {
|
|
3961
3967
|
s.model.initListContainerHtmlElement(n.value);
|
|
3962
3968
|
}), (l, c) => {
|
|
3963
|
-
const m =
|
|
3969
|
+
const m = g("sv-svg-icon"), p = g("sv-list-item");
|
|
3964
3970
|
return i(), u("div", {
|
|
3965
3971
|
class: a(l.model.cssClasses.root),
|
|
3966
3972
|
ref_key: "listContainerElement",
|
|
@@ -3989,8 +3995,8 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
3989
3995
|
}, null, 42, bt),
|
|
3990
3996
|
l.model.showSearchClearButton && !!l.model.filterString ? (i(), u("button", {
|
|
3991
3997
|
key: 0,
|
|
3992
|
-
onClick: c[0] || (c[0] = (
|
|
3993
|
-
l.model.onClickSearchClearButton(
|
|
3998
|
+
onClick: c[0] || (c[0] = (q) => {
|
|
3999
|
+
l.model.onClickSearchClearButton(q);
|
|
3994
4000
|
}),
|
|
3995
4001
|
class: a(l.model.cssClasses.searchClearButtonIcon)
|
|
3996
4002
|
}, [
|
|
@@ -4015,18 +4021,18 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4015
4021
|
class: a(l.model.getListClass()),
|
|
4016
4022
|
role: "listbox",
|
|
4017
4023
|
id: l.model.elementId,
|
|
4018
|
-
onMousedown: c[1] || (c[1] = (
|
|
4019
|
-
|
|
4024
|
+
onMousedown: c[1] || (c[1] = (q) => {
|
|
4025
|
+
q.preventDefault();
|
|
4020
4026
|
}),
|
|
4021
4027
|
onMousemove: t,
|
|
4022
|
-
onKeydown: c[2] || (c[2] = (
|
|
4023
|
-
l.model.onKeyDown(
|
|
4028
|
+
onKeydown: c[2] || (c[2] = (q) => {
|
|
4029
|
+
l.model.onKeyDown(q);
|
|
4024
4030
|
})
|
|
4025
4031
|
}, [
|
|
4026
|
-
(i(!0), u(_, null, D(l.model.renderedActions, (
|
|
4027
|
-
item:
|
|
4032
|
+
(i(!0), u(_, null, D(l.model.renderedActions, (q) => (i(), y(p, {
|
|
4033
|
+
item: q,
|
|
4028
4034
|
model: l.model,
|
|
4029
|
-
key:
|
|
4035
|
+
key: q.id
|
|
4030
4036
|
}, null, 8, ["item", "model"]))), 128))
|
|
4031
4037
|
], 42, ft)), [
|
|
4032
4038
|
[H, !l.model.isEmpty]
|
|
@@ -4034,7 +4040,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4034
4040
|
], 2);
|
|
4035
4041
|
};
|
|
4036
4042
|
}
|
|
4037
|
-
}), wt = ["aria-selected", "id"], St = ["title"], Rt = /* @__PURE__ */ h({
|
|
4043
|
+
}), wt = ["aria-selected", "id", "tabindex"], St = ["title"], Rt = /* @__PURE__ */ h({
|
|
4038
4044
|
__name: "ListItem",
|
|
4039
4045
|
props: {
|
|
4040
4046
|
model: {},
|
|
@@ -4049,16 +4055,16 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4049
4055
|
s.model.onLastItemRended(s.item);
|
|
4050
4056
|
});
|
|
4051
4057
|
}), (o, t) => {
|
|
4052
|
-
const l =
|
|
4058
|
+
const l = g("sv-svg-icon"), c = g("survey-string"), m = X("key2click");
|
|
4053
4059
|
return P((i(), u("li", {
|
|
4054
|
-
tabindex: "0",
|
|
4055
4060
|
role: "option",
|
|
4056
4061
|
"aria-selected": o.model.isItemSelected(o.item),
|
|
4057
4062
|
key: o.item.id,
|
|
4058
4063
|
id: n.value,
|
|
4059
4064
|
onPointerdown: t[0] || (t[0] = (p) => o.model.onPointerDown(p, o.item)),
|
|
4060
4065
|
class: a(o.model.getItemClass(o.item)),
|
|
4061
|
-
onClick: e
|
|
4066
|
+
onClick: e,
|
|
4067
|
+
tabindex: o.item.disableTabStop ? -1 : 0
|
|
4062
4068
|
}, [
|
|
4063
4069
|
o.item.needSeparator ? (i(), u("div", {
|
|
4064
4070
|
key: 0,
|
|
@@ -4086,7 +4092,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4086
4092
|
], 14, St)
|
|
4087
4093
|
], 42, wt)), [
|
|
4088
4094
|
[H, o.model.isItemVisible(o.item)],
|
|
4089
|
-
[m]
|
|
4095
|
+
[m, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4090
4096
|
]);
|
|
4091
4097
|
};
|
|
4092
4098
|
}
|
|
@@ -4113,7 +4119,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4113
4119
|
}), O(() => {
|
|
4114
4120
|
n.value.dispose();
|
|
4115
4121
|
}), (o, t) => {
|
|
4116
|
-
const l =
|
|
4122
|
+
const l = g("sv-popup-container");
|
|
4117
4123
|
return i(), u("div", {
|
|
4118
4124
|
ref_key: "root",
|
|
4119
4125
|
ref: e
|
|
@@ -4145,7 +4151,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4145
4151
|
}), M(() => {
|
|
4146
4152
|
s.model.isVisible && s.model.updateOnShowing();
|
|
4147
4153
|
}), (o, t) => {
|
|
4148
|
-
const l =
|
|
4154
|
+
const l = g("sv-action-bar");
|
|
4149
4155
|
return P((i(), u("div", {
|
|
4150
4156
|
tabindex: "-1",
|
|
4151
4157
|
class: a(["sv-popup", o.model.styleClass]),
|
|
@@ -4273,13 +4279,13 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4273
4279
|
setup(r) {
|
|
4274
4280
|
const s = r, n = $(!1), e = $(!1), o = $(!1), t = $(!0), l = $(), c = w(() => s.survey.css);
|
|
4275
4281
|
let m = null;
|
|
4276
|
-
const p = (
|
|
4282
|
+
const p = (q) => {
|
|
4277
4283
|
let f = l.value;
|
|
4278
|
-
f.scrollLeft += (
|
|
4284
|
+
f.scrollLeft += (q ? -1 : 1) * 70;
|
|
4279
4285
|
};
|
|
4280
4286
|
return M(() => {
|
|
4281
|
-
const
|
|
4282
|
-
m = new He(s.model,
|
|
4287
|
+
const q = l.value;
|
|
4288
|
+
m = new He(s.model, q, {
|
|
4283
4289
|
onResize: (f) => {
|
|
4284
4290
|
t.value = f, e.value = !f;
|
|
4285
4291
|
},
|
|
@@ -4293,9 +4299,9 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4293
4299
|
});
|
|
4294
4300
|
}), G(() => {
|
|
4295
4301
|
m.dispose();
|
|
4296
|
-
}), (
|
|
4297
|
-
class: a(
|
|
4298
|
-
style: S({ maxWidth:
|
|
4302
|
+
}), (q, f) => (i(), u("div", {
|
|
4303
|
+
class: a(q.model.getRootCss(q.container)),
|
|
4304
|
+
style: S({ maxWidth: q.model.progressWidth }),
|
|
4299
4305
|
role: "progressbar",
|
|
4300
4306
|
"aria-valuemin": "0",
|
|
4301
4307
|
"aria-valuemax": "100",
|
|
@@ -4303,18 +4309,18 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4303
4309
|
}, [
|
|
4304
4310
|
e.value ? (i(), u("div", {
|
|
4305
4311
|
key: 0,
|
|
4306
|
-
class: a(
|
|
4312
|
+
class: a(q.survey.css.progressButtonsHeader)
|
|
4307
4313
|
}, [
|
|
4308
4314
|
v("div", {
|
|
4309
|
-
class: a(
|
|
4310
|
-
title:
|
|
4311
|
-
}, R(
|
|
4315
|
+
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4316
|
+
title: q.model.headerText
|
|
4317
|
+
}, R(q.model.headerText), 11, Et)
|
|
4312
4318
|
], 2)) : d("", !0),
|
|
4313
4319
|
v("div", {
|
|
4314
4320
|
class: a(c.value.progressButtonsContainer)
|
|
4315
4321
|
}, [
|
|
4316
4322
|
v("div", {
|
|
4317
|
-
class: a(
|
|
4323
|
+
class: a(q.model.getScrollButtonCss(n.value, !0)),
|
|
4318
4324
|
onClick: f[0] || (f[0] = (b) => p(!0)),
|
|
4319
4325
|
role: "button"
|
|
4320
4326
|
}, null, 2),
|
|
@@ -4326,11 +4332,11 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4326
4332
|
v("ul", {
|
|
4327
4333
|
class: a(c.value.progressButtonsList)
|
|
4328
4334
|
}, [
|
|
4329
|
-
(i(!0), u(_, null, D(
|
|
4335
|
+
(i(!0), u(_, null, D(q.survey.visiblePages, (b, N) => (i(), u("li", {
|
|
4330
4336
|
key: "listelement" + N,
|
|
4331
|
-
class: a(
|
|
4332
|
-
onClick: (k) =>
|
|
4333
|
-
"data-page-number":
|
|
4337
|
+
class: a(q.model.getListElementCss(N)),
|
|
4338
|
+
onClick: (k) => q.model.isListElementClickable(N) ? q.model.clickListElement(b) : null,
|
|
4339
|
+
"data-page-number": q.model.getItemNumber(b)
|
|
4334
4340
|
}, [
|
|
4335
4341
|
v("div", {
|
|
4336
4342
|
class: a(c.value.progressButtonsConnector)
|
|
@@ -4354,25 +4360,25 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4354
4360
|
v("div", {
|
|
4355
4361
|
class: a(c.value.progressButtonsButtonContent)
|
|
4356
4362
|
}, null, 2),
|
|
4357
|
-
v("span", null, R(
|
|
4363
|
+
v("span", null, R(q.model.getItemNumber(b)), 1)
|
|
4358
4364
|
], 2)
|
|
4359
4365
|
], 10, Wt))), 128))
|
|
4360
4366
|
], 2)
|
|
4361
4367
|
], 2),
|
|
4362
4368
|
v("div", {
|
|
4363
|
-
class: a(
|
|
4369
|
+
class: a(q.model.getScrollButtonCss(n.value, !1)),
|
|
4364
4370
|
onClick: f[1] || (f[1] = (b) => p(!1)),
|
|
4365
4371
|
role: "button"
|
|
4366
4372
|
}, null, 2)
|
|
4367
4373
|
], 2),
|
|
4368
4374
|
o.value ? (i(), u("div", {
|
|
4369
4375
|
key: 1,
|
|
4370
|
-
class: a(
|
|
4376
|
+
class: a(q.survey.css.progressButtonsFooter)
|
|
4371
4377
|
}, [
|
|
4372
4378
|
v("div", {
|
|
4373
|
-
class: a(
|
|
4374
|
-
title:
|
|
4375
|
-
}, R(
|
|
4379
|
+
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4380
|
+
title: q.model.footerText
|
|
4381
|
+
}, R(q.model.footerText), 11, Ot)
|
|
4376
4382
|
], 2)) : d("", !0)
|
|
4377
4383
|
], 6));
|
|
4378
4384
|
}
|
|
@@ -4384,7 +4390,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4384
4390
|
},
|
|
4385
4391
|
setup(r) {
|
|
4386
4392
|
return (s, n) => {
|
|
4387
|
-
const e =
|
|
4393
|
+
const e = g("sv-svg-icon"), o = g("sv-popup"), t = g("sv-list"), l = X("key2click");
|
|
4388
4394
|
return i(), u("div", {
|
|
4389
4395
|
class: a(s.model.containerCss)
|
|
4390
4396
|
}, [
|
|
@@ -4426,7 +4432,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4426
4432
|
return !!t.value && b + o.value.toString();
|
|
4427
4433
|
}, m = w(
|
|
4428
4434
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
4429
|
-
), p = w(() => t.value.css),
|
|
4435
|
+
), p = w(() => t.value.css), q = w(() => "page" + c()), f = () => m.value ? (e.value || (e.value = t.value.processedCompletedHtml), e.value) : "";
|
|
4430
4436
|
return B(() => t.value), M(() => {
|
|
4431
4437
|
if (!!t.value) {
|
|
4432
4438
|
var b = n.value;
|
|
@@ -4438,7 +4444,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4438
4444
|
}), O(() => {
|
|
4439
4445
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4440
4446
|
}), (b, N) => {
|
|
4441
|
-
const k =
|
|
4447
|
+
const k = g("sv-svg-bundle"), L = g("survey-popup-modal"), W = g("survey-header"), V = g("survey-page"), K = g("sv-brand-info"), ue = g("sv-notifier");
|
|
4442
4448
|
return i(), u("div", {
|
|
4443
4449
|
class: a(t.value.getRootCss()),
|
|
4444
4450
|
style: S(t.value.themeVariables),
|
|
@@ -4495,7 +4501,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4495
4501
|
needRenderWrapper: !0
|
|
4496
4502
|
}, null, 8, ["survey"])),
|
|
4497
4503
|
(i(), y(V, {
|
|
4498
|
-
key:
|
|
4504
|
+
key: q.value,
|
|
4499
4505
|
survey: t.value,
|
|
4500
4506
|
page: t.value.activePage,
|
|
4501
4507
|
css: p.value
|
|
@@ -4561,7 +4567,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4561
4567
|
setup(r) {
|
|
4562
4568
|
const s = r;
|
|
4563
4569
|
return B(() => s.model), (n, e) => {
|
|
4564
|
-
const o =
|
|
4570
|
+
const o = g("sv-action-bar");
|
|
4565
4571
|
return n.model.isDisplayed ? (i(), u("div", {
|
|
4566
4572
|
key: 0,
|
|
4567
4573
|
class: a(n.model.css),
|
|
@@ -4657,7 +4663,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4657
4663
|
return n.value.isCollapsed && (f += " " + n.value.cssRootCollapsedMod), f;
|
|
4658
4664
|
};
|
|
4659
4665
|
B(() => n.value);
|
|
4660
|
-
const
|
|
4666
|
+
const q = Q(
|
|
4661
4667
|
() => s.survey,
|
|
4662
4668
|
(f) => {
|
|
4663
4669
|
const b = new Ee(null, f);
|
|
@@ -4668,9 +4674,9 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4668
4674
|
}
|
|
4669
4675
|
);
|
|
4670
4676
|
return O(() => {
|
|
4671
|
-
|
|
4677
|
+
q();
|
|
4672
4678
|
}), (f, b) => {
|
|
4673
|
-
const N =
|
|
4679
|
+
const N = g("sv-svg-icon");
|
|
4674
4680
|
return n.value.isShowing ? (i(), u("div", {
|
|
4675
4681
|
key: 0,
|
|
4676
4682
|
style: S({ maxWidth: n.value.renderedWidth, width: n.value.renderedWidth }),
|
|
@@ -4777,7 +4783,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4777
4783
|
__name: "PopupModal",
|
|
4778
4784
|
setup(r) {
|
|
4779
4785
|
const s = U();
|
|
4780
|
-
function n(o, t, l, c, m, p,
|
|
4786
|
+
function n(o, t, l, c, m, p, q = "popup") {
|
|
4781
4787
|
const f = We(
|
|
4782
4788
|
o,
|
|
4783
4789
|
t,
|
|
@@ -4787,7 +4793,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4787
4793
|
void 0,
|
|
4788
4794
|
m,
|
|
4789
4795
|
p,
|
|
4790
|
-
|
|
4796
|
+
q
|
|
4791
4797
|
);
|
|
4792
4798
|
return e(f);
|
|
4793
4799
|
}
|
|
@@ -4805,7 +4811,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4805
4811
|
})), j.showDialog || (j.showDialog = e, O(() => {
|
|
4806
4812
|
j.showDialog = void 0;
|
|
4807
4813
|
})), (o, t) => {
|
|
4808
|
-
const l =
|
|
4814
|
+
const l = g("sv-popup-container");
|
|
4809
4815
|
return s.value ? (i(), y(Re, {
|
|
4810
4816
|
key: 0,
|
|
4811
4817
|
to: s.value.container
|
|
@@ -4838,7 +4844,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4838
4844
|
A(s, n);
|
|
4839
4845
|
const e = w(() => s.question.contentPanel);
|
|
4840
4846
|
return (o, t) => {
|
|
4841
|
-
const l =
|
|
4847
|
+
const l = g("survey-panel");
|
|
4842
4848
|
return i(), y(l, {
|
|
4843
4849
|
ref_key: "root",
|
|
4844
4850
|
ref: n,
|
|
@@ -4866,14 +4872,14 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4866
4872
|
}
|
|
4867
4873
|
}), mi = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ci = [
|
|
4868
4874
|
mi
|
|
4869
|
-
],
|
|
4875
|
+
], qe = 440, pi = /* @__PURE__ */ h({
|
|
4870
4876
|
__name: "TimerPanel",
|
|
4871
4877
|
props: {
|
|
4872
4878
|
model: {},
|
|
4873
4879
|
css: {}
|
|
4874
4880
|
},
|
|
4875
4881
|
setup(r) {
|
|
4876
|
-
const s = r, n = w(() =>
|
|
4882
|
+
const s = r, n = w(() => qe * s.model.progress), e = w(() => s.model.text);
|
|
4877
4883
|
return B(() => s.model), (o, t) => o.model.isRunning && o.model.showTimerAsClock ? (i(), u("div", {
|
|
4878
4884
|
key: 0,
|
|
4879
4885
|
class: a(o.model.rootCss)
|
|
@@ -4881,7 +4887,7 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4881
4887
|
o.model.showProgress ? (i(), u("svg", {
|
|
4882
4888
|
key: 0,
|
|
4883
4889
|
class: a(o.model.getProgressCss()),
|
|
4884
|
-
style: S({ strokeDasharray:
|
|
4890
|
+
style: S({ strokeDasharray: qe, strokeDashoffset: n.value })
|
|
4885
4891
|
}, ci, 6)) : d("", !0),
|
|
4886
4892
|
v("div", {
|
|
4887
4893
|
class: a(o.model.textContainerCss)
|
|
@@ -4901,17 +4907,17 @@ const it = /* @__PURE__ */ he(et, [["render", tt]]), rt = /* @__PURE__ */ v("use
|
|
|
4901
4907
|
[H, o.model.isRunning && !o.model.showTimerAsClock]
|
|
4902
4908
|
]);
|
|
4903
4909
|
}
|
|
4904
|
-
}), vi = {},
|
|
4905
|
-
function
|
|
4906
|
-
const n =
|
|
4907
|
-
return i(), u("div",
|
|
4910
|
+
}), vi = {}, qi = { class: "sd-loading-indicator" };
|
|
4911
|
+
function gi(r, s) {
|
|
4912
|
+
const n = g("sv-svg-icon");
|
|
4913
|
+
return i(), u("div", qi, [
|
|
4908
4914
|
C(n, {
|
|
4909
4915
|
iconName: "icon-loading",
|
|
4910
4916
|
size: "'auto'"
|
|
4911
4917
|
})
|
|
4912
4918
|
]);
|
|
4913
4919
|
}
|
|
4914
|
-
const yi = /* @__PURE__ */ he(vi, [["render",
|
|
4920
|
+
const yi = /* @__PURE__ */ he(vi, [["render", gi]]), hi = { key: 2 }, Ci = /* @__PURE__ */ h({
|
|
4915
4921
|
__name: "Header",
|
|
4916
4922
|
props: {
|
|
4917
4923
|
model: {},
|
|
@@ -4923,7 +4929,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
4923
4929
|
const n = s.model;
|
|
4924
4930
|
return n.survey = s.survey, s.model;
|
|
4925
4931
|
}), (n, e) => {
|
|
4926
|
-
const o =
|
|
4932
|
+
const o = g("sv-header-cell"), t = g("sv-header-mobile");
|
|
4927
4933
|
return i(), u("div", {
|
|
4928
4934
|
class: a(n.model.headerClasses),
|
|
4929
4935
|
style: S({ height: n.model.renderedHeight })
|
|
@@ -4959,7 +4965,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
4959
4965
|
},
|
|
4960
4966
|
setup(r) {
|
|
4961
4967
|
return (s, n) => {
|
|
4962
|
-
const e =
|
|
4968
|
+
const e = g("survey-element-title"), o = g("survey-string");
|
|
4963
4969
|
return i(), u("div", {
|
|
4964
4970
|
class: a(s.model.css),
|
|
4965
4971
|
style: S(s.model.style)
|
|
@@ -5020,7 +5026,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5020
5026
|
},
|
|
5021
5027
|
setup(r) {
|
|
5022
5028
|
return (s, n) => {
|
|
5023
|
-
const e =
|
|
5029
|
+
const e = g("survey-element-title"), o = g("survey-string");
|
|
5024
5030
|
return i(), u("div", Ii, [
|
|
5025
5031
|
s.model.survey.hasLogo ? (i(), u("div", wi, [
|
|
5026
5032
|
v("div", {
|
|
@@ -5133,7 +5139,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5133
5139
|
},
|
|
5134
5140
|
setup(r) {
|
|
5135
5141
|
return (s, n) => {
|
|
5136
|
-
const e =
|
|
5142
|
+
const e = g("sv-svg-icon");
|
|
5137
5143
|
return i(), u("button", {
|
|
5138
5144
|
type: "button",
|
|
5139
5145
|
class: a(s.css),
|
|
@@ -5156,7 +5162,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5156
5162
|
},
|
|
5157
5163
|
setup(r) {
|
|
5158
5164
|
return (s, n) => {
|
|
5159
|
-
const e =
|
|
5165
|
+
const e = g("sv-action");
|
|
5160
5166
|
return i(), u("div", {
|
|
5161
5167
|
class: a(s.question.cssClasses.videoContainer)
|
|
5162
5168
|
}, [
|
|
@@ -5192,7 +5198,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5192
5198
|
}
|
|
5193
5199
|
);
|
|
5194
5200
|
return (e, o) => {
|
|
5195
|
-
const t =
|
|
5201
|
+
const t = g("sv-svg-icon"), l = X("key2click");
|
|
5196
5202
|
return P((i(), u("label", {
|
|
5197
5203
|
tabindex: "0",
|
|
5198
5204
|
class: a(n.value.getChooseFileCss()),
|
|
@@ -5219,14 +5225,14 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5219
5225
|
},
|
|
5220
5226
|
setup(r) {
|
|
5221
5227
|
return (s, n) => {
|
|
5222
|
-
const e =
|
|
5228
|
+
const e = g("sv-svg-icon");
|
|
5223
5229
|
return s.question.showPreviewContainer ? (i(), u("div", {
|
|
5224
5230
|
key: 0,
|
|
5225
5231
|
class: a(s.question.cssClasses.fileList || void 0)
|
|
5226
5232
|
}, [
|
|
5227
5233
|
(i(!0), u(_, null, D(s.question.previewValue, (o, t) => P((i(), u("span", {
|
|
5228
5234
|
key: s.question.inputId + "_" + t,
|
|
5229
|
-
class: a(s.question.cssClasses.
|
|
5235
|
+
class: a(s.question.cssClasses.previewItem)
|
|
5230
5236
|
}, [
|
|
5231
5237
|
o.name && s.question.cssClasses.fileSign ? (i(), u("div", {
|
|
5232
5238
|
key: 0,
|
|
@@ -5301,7 +5307,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5301
5307
|
setup(r) {
|
|
5302
5308
|
const s = r, n = $();
|
|
5303
5309
|
return A(s, n), (e, o) => {
|
|
5304
|
-
const t =
|
|
5310
|
+
const t = g("sv-button-group-item");
|
|
5305
5311
|
return i(), u("div", {
|
|
5306
5312
|
role: "group",
|
|
5307
5313
|
class: a(e.question.cssClasses.root),
|
|
@@ -5335,7 +5341,7 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5335
5341
|
}
|
|
5336
5342
|
});
|
|
5337
5343
|
return (o, t) => {
|
|
5338
|
-
const l =
|
|
5344
|
+
const l = g("sv-svg-icon"), c = g("survey-string");
|
|
5339
5345
|
return i(), u("label", {
|
|
5340
5346
|
role: "radio",
|
|
5341
5347
|
class: a(n.value.css.label),
|
|
@@ -5421,14 +5427,14 @@ const yi = /* @__PURE__ */ he(vi, [["render", qi]]), hi = { key: 2 }, Ci = /* @_
|
|
|
5421
5427
|
});
|
|
5422
5428
|
ze.platform = "vue3";
|
|
5423
5429
|
function Qi(r) {
|
|
5424
|
-
r.component("SurveyComponent", pe), r.component("sv-svg-bundle", ji), r.component("PopupSurveyComponent", ve), r.component("survey", pe), r.component("popup-survey", ve), r.component("survey-header", Ge), r.component("sv-logo-image", Ki), r.component("survey-page", Qe), r.component("survey-row", Je), r.component("survey-question", xe), r.component("survey-panel", os), r.component("survey-element-header", is), r.component("survey-string", rs), r.component("sv-string-viewer", as), r.component("sv-string-editor", ds), r.component("sv-skeleton", cs), r.component("survey-text",
|
|
5430
|
+
r.component("SurveyComponent", pe), r.component("sv-svg-bundle", ji), r.component("PopupSurveyComponent", ve), r.component("survey", pe), r.component("popup-survey", ve), r.component("survey-header", Ge), r.component("sv-logo-image", Ki), r.component("survey-page", Qe), r.component("survey-row", Je), r.component("survey-question", xe), r.component("survey-panel", os), r.component("survey-element-header", is), r.component("survey-string", rs), r.component("sv-string-viewer", as), r.component("sv-string-editor", ds), r.component("sv-skeleton", cs), r.component("survey-text", qs), r.component("survey-text-input", hs), r.component("survey-checkbox", Is), r.component("survey-checkbox-item", Rs), r.component("survey-radiogroup", Ts), r.component("survey-radiogroup-item", Ds), r.component("survey-signaturepad", Ps), r.component("survey-html", Ms), r.component("survey-image", Vs), r.component("survey-expression", Fs), r.component("survey-file", Us), r.component("sv-file-choose-btn", Ni), r.component("sv-file-clean-btn", _i), r.component("sv-file-preview", Ei), r.component("sv-file-video", Bi), r.component("survey-imagepicker", js), r.component("survey-imagepicker-item", Ys), r.component("survey-comment", en), r.component("survey-dropdown", sn), r.component("sv-dropdown-select", rn), r.component("sv-dropdown-option-item", an), r.component("sv-dropdown", pn), r.component("survey-tagbox", vn), r.component("sv-tagbox", yn), r.component("sv-tagbox-item", fn), r.component("sv-tagbox-filter", bn), r.component("survey-ranking", In), r.component("survey-ranking-item", _n), r.component("survey-rating", Ln), r.component("sv-rating-item", Pn), r.component("sv-rating-item-smiley", Mn), r.component("sv-rating-item-star", En), r.component("sv-rating-dropdown", zn), r.component("sv-rating-dropdown-item", On), r.component("survey-boolean", Kn), r.component("sv-boolean-radio", jn), r.component("sv-boolean-radio-item", Jn), r.component("sv-boolean-checkbox", so), r.component("survey-multipletext", no), r.component("survey-multipletext-item", to), r.component("survey-matrix", mo), r.component("survey-matrix-cell", vo), r.component("survey-matrixdropdown", qo), r.component("survey-matrixtable", Co), r.component("survey-matrixheaderrequired", ko), r.component("survey-matrixdropdown-cell", Io), r.component("survey-matrixdynamic", wo), r.component("sv-matrix-remove-button", Ro), r.component("sv-matrix-drag-drop-icon", $o), r.component("sv-matrix-detail-button", Do), r.component("survey-paneldynamic", Bo), r.component("survey-paneldynamicprogress", Lo), r.component("survey-paneldynamicprogress-v2", No), r.component("sv-paneldynamic-add-btn", Po), r.component("sv-paneldynamic-next-btn", Mo), r.component("sv-paneldynamic-prev-btn", Eo), r.component("sv-paneldynamic-remove-btn", Wo), r.component("sv-paneldynamic-progress-text", Vo), r.component("sv-components-container", Ht), r.component("sv-progress-buttons", zt), r.component("sv-navigation-toc", Ut), r.component("sv-progress-pages", Z), r.component("sv-progress-questions", Z), r.component("sv-progress-correctquestions", Z), r.component("sv-progress-requiredquestions", Z), r.component("survey-errors", Oo), r.component("survey-question-comment", Ko), r.component("survey-element-title", jo), r.component("survey-element-title-content", Xo), r.component("sv-title-actions", xo), r.component("sv-brand-info", it), r.component("sv-svg-icon", at), r.component("sv-action-bar", ut), r.component("sv-action", ct), r.component("sv-action-bar-item", qt), r.component("sv-action-bar-item-dropdown", ht), r.component("sv-action-bar-separator", Ct), r.component("sv-list", It), r.component("sv-list-item", Rt), r.component("sv-popup", Tt), r.component("sv-popup-container", Pt), r.component("popup-pointer", At), r.component("sv-notifier", xt), r.component("survey-other-choice", ni), r.component("sv-nav-btn", ti), r.component("survey-customwidget", ri), r.component("survey-popup-modal", li), r.component("sv-character-counter", ai), r.component("survey-composite", ui), r.component("survey-custom", di), r.component("sv-timerpanel", pi), r.component("sv-loading-indicator", yi), r.component("sv-header", Ci), r.component("sv-header-cell", fi), r.component("sv-header-mobile", Ri), r.component("sv-template-renderer", $i), r.component("survey-element", Ti), r.component("survey-buttongroup", Wi), r.component("sv-button-group-item", zi), r.directive("key2click", {
|
|
5425
5431
|
mounted: function(s, n) {
|
|
5426
5432
|
const e = { ...n.value };
|
|
5427
5433
|
if (e.disableTabStop) {
|
|
5428
5434
|
s.tabIndex = -1;
|
|
5429
5435
|
return;
|
|
5430
5436
|
}
|
|
5431
|
-
e.disableTabStop || (s.tabIndex = 0), s.addEventListener("keyup", (o) => (o.preventDefault(), o.stopPropagation(),
|
|
5437
|
+
e.disableTabStop || (s.tabIndex = 0), s.addEventListener("keyup", (o) => (o.preventDefault(), o.stopPropagation(), ge(o, e), !1)), s.addEventListener("keydown", (o) => {
|
|
5432
5438
|
Ue(o, e);
|
|
5433
5439
|
}), s.addEventListener("blur", (o) => {
|
|
5434
5440
|
Ke(o);
|