survey-vue3-ui 1.9.126 → 1.9.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { shallowReactive as be, watch as J, onBeforeUnmount as Q, onMounted as H, ref as
|
|
2
|
-
import { Base as De, RendererFactory as ee, DropdownListModel as Be, Helpers as Le, DropdownMultiSelectListModel as Ne, doKey2ClickUp as ge, createSvg as Pe, ActionDropdownViewModel as Ae, getActionDropdownButtonTarget as Me, createPopupViewModel as de, SurveyProgressModel as me,
|
|
1
|
+
import { shallowReactive as be, watch as J, onBeforeUnmount as Q, onMounted as H, ref as $, shallowRef as z, watchEffect as ke, triggerRef as se, unref as I, isRef as fe, defineComponent as h, computed as w, resolveComponent as v, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as C, createCommentVNode as d, Fragment as _, renderList as D, createBlock as g, resolveDynamicComponent as T, normalizeProps as O, mergeProps as W, withCtx as F, normalizeStyle as S, createElementVNode as c, onUnmounted as U, guardReactiveProps as ne, withDirectives as N, vShow as M, toDisplayString as R, vModelRadio as x, vModelCheckbox as oe, vModelSelect as Ie, onUpdated as te, vModelText as we, getCurrentInstance as ie, createStaticVNode as Se, resolveDirective as X, toRaw as Re, Teleport as Te, useSlots as $e, renderSlot as _e } from "vue";
|
|
2
|
+
import { Base as De, RendererFactory as ee, DropdownListModel as Be, Helpers as Le, DropdownMultiSelectListModel as Ne, doKey2ClickUp as ge, createSvg as Pe, ActionDropdownViewModel as Ae, getActionDropdownButtonTarget as Me, createPopupViewModel as de, SurveyProgressModel as me, ProgressButtonsResponsivityManager as He, PopupSurveyModel as We, settings as j, createDialogOptions as Ee, createPopupModalViewModel as Ve, ButtonGroupItemModel as Fe, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
3
|
De.createPropertiesHash = () => be({});
|
|
4
4
|
function je(r) {
|
|
5
5
|
return !r || r.__vueImplemented ? !1 : (r.createArrayCoreHandler = (s, o) => {
|
|
6
6
|
const e = [], n = z(e);
|
|
7
7
|
return e.onArrayChanged = () => {
|
|
8
8
|
se(n);
|
|
9
|
-
}, s[o] = n,
|
|
9
|
+
}, s[o] = n, I(s[o]);
|
|
10
10
|
}, r.iteratePropertiesHash((s, o) => {
|
|
11
11
|
if (Array.isArray(s[o])) {
|
|
12
12
|
const e = z(s[o]);
|
|
@@ -14,16 +14,16 @@ function je(r) {
|
|
|
14
14
|
se(e);
|
|
15
15
|
}, s[o] = e;
|
|
16
16
|
}
|
|
17
|
-
}), r.getPropertyValueCoreHandler = (s, o) =>
|
|
17
|
+
}), r.getPropertyValueCoreHandler = (s, o) => I(s[o]), r.setPropertyValueCoreHandler = (s, o, e) => {
|
|
18
18
|
fe(s[o]) ? s[o].value = e : s[o] = e;
|
|
19
19
|
}, r.__vueImplemented = !0, !0);
|
|
20
20
|
}
|
|
21
21
|
function ce(r, s) {
|
|
22
22
|
!r || !s || (r.iteratePropertiesHash((o, e) => {
|
|
23
|
-
o[e] =
|
|
23
|
+
o[e] = I(o[e]), Array.isArray(o[e]) && (o[e].onArrayChanged = void 0);
|
|
24
24
|
}), delete r.__vueImplemented, r.createArrayCoreHandler = void 0, r.getPropertyValueCoreHandler = void 0, r.setPropertyValueCoreHandler = void 0);
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function B(r, s, o) {
|
|
27
27
|
let e = !1;
|
|
28
28
|
const n = J(
|
|
29
29
|
r,
|
|
@@ -39,15 +39,15 @@ function L(r, s, o) {
|
|
|
39
39
|
t && (ce(t, e), o && o(t), n());
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
42
|
+
function P(r, s, o, e) {
|
|
43
|
+
B(() => r.question, o, e), H(() => {
|
|
44
44
|
r.question && r.question.afterRenderQuestionElement(s.value);
|
|
45
45
|
}), Q(() => {
|
|
46
46
|
r.question.beforeDestroyQuestionElement(s.value);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
49
|
function G(r) {
|
|
50
|
-
const s =
|
|
50
|
+
const s = $(), o = (n) => {
|
|
51
51
|
s.value = n.renderedHtml, n.onChanged = () => {
|
|
52
52
|
s.value = n.renderedHtml;
|
|
53
53
|
};
|
|
@@ -82,10 +82,10 @@ const Qe = /* @__PURE__ */ h({
|
|
|
82
82
|
css: {}
|
|
83
83
|
},
|
|
84
84
|
setup(r) {
|
|
85
|
-
const s = r, o =
|
|
85
|
+
const s = r, o = $(null), e = () => {
|
|
86
86
|
s.survey && o.value && s.survey.afterRenderPage(o.value);
|
|
87
87
|
};
|
|
88
|
-
|
|
88
|
+
B(
|
|
89
89
|
() => s.page,
|
|
90
90
|
() => {
|
|
91
91
|
e();
|
|
@@ -95,7 +95,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
95
95
|
return H(() => {
|
|
96
96
|
e();
|
|
97
97
|
}), (t, a) => {
|
|
98
|
-
const y =
|
|
98
|
+
const y = v("survey-element-title"), m = v("survey-string"), q = v("survey-errors"), p = v("survey-row");
|
|
99
99
|
return i(), u("div", {
|
|
100
100
|
class: l(t.page.cssRoot),
|
|
101
101
|
ref_key: "root",
|
|
@@ -114,15 +114,15 @@ const Qe = /* @__PURE__ */ h({
|
|
|
114
114
|
}, null, 8, ["locString"])
|
|
115
115
|
], 2)) : d("", !0),
|
|
116
116
|
C(q, { element: t.page }, null, 8, ["element"]),
|
|
117
|
-
(i(!0), u(
|
|
117
|
+
(i(!0), u(_, null, D(t.page.rows, (f, b) => (i(), g(T(t.page.getSurvey().getRowWrapperComponentName(f)), O(W({
|
|
118
118
|
key: t.page.id + "_" + b
|
|
119
119
|
}, {
|
|
120
|
-
componentData: t.page.getSurvey().getRowWrapperComponentData(
|
|
120
|
+
componentData: t.page.getSurvey().getRowWrapperComponentData(f)
|
|
121
121
|
})), {
|
|
122
122
|
default: F(() => [
|
|
123
|
-
|
|
123
|
+
f.visible ? (i(), g(p, {
|
|
124
124
|
key: 0,
|
|
125
|
-
row:
|
|
125
|
+
row: f,
|
|
126
126
|
survey: t.survey,
|
|
127
127
|
css: t.css
|
|
128
128
|
}, null, 8, ["row", "survey", "css"])) : d("", !0)
|
|
@@ -138,19 +138,19 @@ const Qe = /* @__PURE__ */ h({
|
|
|
138
138
|
survey: {}
|
|
139
139
|
},
|
|
140
140
|
setup(r) {
|
|
141
|
-
const s = r, o =
|
|
141
|
+
const s = r, o = $();
|
|
142
142
|
return H(() => {
|
|
143
143
|
var e = o.value;
|
|
144
144
|
e && s.survey && s.survey.afterRenderHeader(e);
|
|
145
145
|
}), (e, n) => {
|
|
146
|
-
const t =
|
|
146
|
+
const t = v("survey-element-title"), a = v("survey-string");
|
|
147
147
|
return e.survey.renderedHasHeader ? (i(), u("div", {
|
|
148
148
|
key: 0,
|
|
149
149
|
class: l(e.survey.css.header),
|
|
150
150
|
ref_key: "root",
|
|
151
151
|
ref: o
|
|
152
152
|
}, [
|
|
153
|
-
e.survey.isLogoBefore ? (i(), g(
|
|
153
|
+
e.survey.isLogoBefore ? (i(), g(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
154
154
|
key: 0,
|
|
155
155
|
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
156
156
|
}, null, 8, ["data"])) : d("", !0),
|
|
@@ -172,7 +172,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
172
172
|
}, null, 8, ["locString"])
|
|
173
173
|
], 2)) : d("", !0)
|
|
174
174
|
], 6)) : d("", !0),
|
|
175
|
-
e.survey.isLogoAfter ? (i(), g(
|
|
175
|
+
e.survey.isLogoAfter ? (i(), g(T(e.survey.getElementWrapperComponentName(e.survey, "logo-image")), {
|
|
176
176
|
key: 2,
|
|
177
177
|
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
178
178
|
}, null, 8, ["data"])) : d("", !0),
|
|
@@ -192,8 +192,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
192
192
|
setup(r) {
|
|
193
193
|
const s = r, o = w(
|
|
194
194
|
() => s.row.visibleElements
|
|
195
|
-
), e =
|
|
196
|
-
return
|
|
195
|
+
), e = $();
|
|
196
|
+
return B(
|
|
197
197
|
() => s.row,
|
|
198
198
|
(n, t) => {
|
|
199
199
|
t && (n.isNeedRender = t.isNeedRender);
|
|
@@ -209,13 +209,13 @@ const Qe = /* @__PURE__ */ h({
|
|
|
209
209
|
}, 10);
|
|
210
210
|
}
|
|
211
211
|
}), (n, t) => {
|
|
212
|
-
const a =
|
|
212
|
+
const a = v("survey-element");
|
|
213
213
|
return i(), u("div", {
|
|
214
214
|
class: l(n.row.getRowCss()),
|
|
215
215
|
ref_key: "root",
|
|
216
216
|
ref: e
|
|
217
217
|
}, [
|
|
218
|
-
(i(!0), u(
|
|
218
|
+
(i(!0), u(_, null, D(o.value, (y) => (i(), g(a, {
|
|
219
219
|
row: n.row,
|
|
220
220
|
css: n.css,
|
|
221
221
|
element: y,
|
|
@@ -235,8 +235,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
235
235
|
css: {}
|
|
236
236
|
},
|
|
237
237
|
setup(r) {
|
|
238
|
-
const s = r, o =
|
|
239
|
-
|
|
238
|
+
const s = r, o = $(null), e = w(() => s.element.showErrorOnTop), n = w(() => s.element.showErrorOnBottom), t = (b) => b.cssContent, a = () => s.element.getRootStyle();
|
|
239
|
+
B(() => s.element);
|
|
240
240
|
const y = () => {
|
|
241
241
|
o.value && s.element.afterRender(o.value);
|
|
242
242
|
}, m = J(
|
|
@@ -244,7 +244,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
244
244
|
() => {
|
|
245
245
|
y();
|
|
246
246
|
}
|
|
247
|
-
), q = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()),
|
|
247
|
+
), q = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), p = w(() => s.element.survey.getQuestionContentWrapperComponentName(s.element)), f = w(() => ({
|
|
248
248
|
componentData: {
|
|
249
249
|
question: s.element,
|
|
250
250
|
data: s.element.survey.getElementWrapperComponentData(s.element)
|
|
@@ -252,14 +252,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
252
252
|
}));
|
|
253
253
|
return U(() => {
|
|
254
254
|
m();
|
|
255
|
-
}), (b,
|
|
256
|
-
const k =
|
|
255
|
+
}), (b, A) => {
|
|
256
|
+
const k = v("survey-errors"), L = v("survey-element-header"), E = v("survey-string"), V = v("survey-question-comment");
|
|
257
257
|
return i(), u("div", {
|
|
258
258
|
class: l(b.element.getRootCss()),
|
|
259
259
|
style: S(a()),
|
|
260
260
|
ref_key: "root",
|
|
261
261
|
ref: o,
|
|
262
|
-
onFocusin:
|
|
262
|
+
onFocusin: A[0] || (A[0] = (K) => b.element.focusIn()),
|
|
263
263
|
id: b.element.id,
|
|
264
264
|
role: b.element.ariaRole,
|
|
265
265
|
"aria-required": b.element.ariaRequired,
|
|
@@ -273,14 +273,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
273
273
|
element: b.element,
|
|
274
274
|
location: "top"
|
|
275
275
|
}, null, 8, ["element"])) : d("", !0),
|
|
276
|
-
b.element.hasTitleOnLeftTop ? (i(), g(
|
|
276
|
+
b.element.hasTitleOnLeftTop ? (i(), g(L, {
|
|
277
277
|
key: 1,
|
|
278
278
|
element: b.element,
|
|
279
279
|
css: b.css
|
|
280
280
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
281
|
-
(i(), g(
|
|
281
|
+
(i(), g(T(p.value), O(ne(f.value)), {
|
|
282
282
|
default: F(() => [
|
|
283
|
-
|
|
283
|
+
N(c("div", {
|
|
284
284
|
class: l(t(b.element) || void 0),
|
|
285
285
|
role: "presentation"
|
|
286
286
|
}, [
|
|
@@ -289,7 +289,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
289
289
|
element: b.element,
|
|
290
290
|
location: "top"
|
|
291
291
|
}, null, 8, ["element"])) : d("", !0),
|
|
292
|
-
b.element.isCollapsed ? d("", !0) : (i(), g(
|
|
292
|
+
b.element.isCollapsed ? d("", !0) : (i(), g(T(q.value), {
|
|
293
293
|
key: 1,
|
|
294
294
|
question: b.element
|
|
295
295
|
}, null, 8, ["question"])),
|
|
@@ -323,7 +323,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
323
323
|
]),
|
|
324
324
|
_: 1
|
|
325
325
|
}, 16)),
|
|
326
|
-
b.element.hasTitleOnBottom ? (i(), g(
|
|
326
|
+
b.element.hasTitleOnBottom ? (i(), g(L, {
|
|
327
327
|
key: 2,
|
|
328
328
|
element: b.element,
|
|
329
329
|
css: b.css
|
|
@@ -348,16 +348,16 @@ const Qe = /* @__PURE__ */ h({
|
|
|
348
348
|
css: {}
|
|
349
349
|
},
|
|
350
350
|
setup(r) {
|
|
351
|
-
const s = r, o =
|
|
352
|
-
return
|
|
351
|
+
const s = r, o = $(null), e = w(() => s.element.survey);
|
|
352
|
+
return B(() => s.element), H(() => {
|
|
353
353
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, o.value);
|
|
354
354
|
}), (n, t) => {
|
|
355
|
-
const a =
|
|
355
|
+
const a = v("survey-errors"), y = v("survey-element-header"), m = v("survey-row"), q = v("sv-action-bar");
|
|
356
356
|
return n.element.isVisible ? (i(), u("div", {
|
|
357
357
|
key: 0,
|
|
358
358
|
class: l(n.element.getContainerCss()),
|
|
359
359
|
id: n.element.id,
|
|
360
|
-
onFocusin: t[0] || (t[0] = (
|
|
360
|
+
onFocusin: t[0] || (t[0] = (p) => n.element.focusIn()),
|
|
361
361
|
ref_key: "root",
|
|
362
362
|
ref: o
|
|
363
363
|
}, [
|
|
@@ -380,15 +380,15 @@ const Qe = /* @__PURE__ */ h({
|
|
|
380
380
|
style: S({ paddingLeft: n.element.innerPaddingLeft }),
|
|
381
381
|
class: l(n.element.cssClasses.panel.content)
|
|
382
382
|
}, [
|
|
383
|
-
(i(!0), u(
|
|
384
|
-
key: n.element.id + "_" +
|
|
383
|
+
(i(!0), u(_, null, D(n.element.rows, (p, f) => (i(), g(T(n.element.getSurvey().getRowWrapperComponentName(p)), O(W({
|
|
384
|
+
key: n.element.id + "_" + f
|
|
385
385
|
}, {
|
|
386
|
-
componentData: n.element.getSurvey().getRowWrapperComponentData(
|
|
386
|
+
componentData: n.element.getSurvey().getRowWrapperComponentData(p)
|
|
387
387
|
})), {
|
|
388
388
|
default: F(() => [
|
|
389
|
-
|
|
389
|
+
p.visible ? (i(), g(m, {
|
|
390
390
|
key: 0,
|
|
391
|
-
row:
|
|
391
|
+
row: p,
|
|
392
392
|
survey: e.value,
|
|
393
393
|
css: n.css
|
|
394
394
|
}, null, 8, ["row", "survey", "css"])) : d("", !0)
|
|
@@ -413,7 +413,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
413
413
|
typeof s.element.clickTitleFunction == "function" && s.element.clickTitleFunction(e);
|
|
414
414
|
};
|
|
415
415
|
return (e, n) => {
|
|
416
|
-
const t =
|
|
416
|
+
const t = v("survey-element-title"), a = v("survey-string"), y = v("sv-action-bar");
|
|
417
417
|
return i(), u("div", {
|
|
418
418
|
class: l(e.element.cssHeader),
|
|
419
419
|
onClick: o
|
|
@@ -422,7 +422,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
422
422
|
element: e.element,
|
|
423
423
|
css: e.css
|
|
424
424
|
}, null, 8, ["element", "css"]),
|
|
425
|
-
e.element.hasDescriptionUnderTitle ?
|
|
425
|
+
e.element.hasDescriptionUnderTitle ? N((i(), u("div", {
|
|
426
426
|
key: 0,
|
|
427
427
|
class: l(e.element.cssDescription)
|
|
428
428
|
}, [
|
|
@@ -445,7 +445,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
445
445
|
locString: {}
|
|
446
446
|
},
|
|
447
447
|
setup(r) {
|
|
448
|
-
return (s, o) => (i(), g(
|
|
448
|
+
return (s, o) => (i(), g(T(s.locString.renderAs), {
|
|
449
449
|
locString: s.locString.renderAsData
|
|
450
450
|
}, null, 8, ["locString"]));
|
|
451
451
|
}
|
|
@@ -462,8 +462,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
462
462
|
return (e, n) => e.locString.hasHtml ? (i(), u("span", {
|
|
463
463
|
key: 0,
|
|
464
464
|
class: "sv-string-viewer",
|
|
465
|
-
innerHTML:
|
|
466
|
-
}, null, 8, is)) : (i(), u("span", rs,
|
|
465
|
+
innerHTML: I(o)
|
|
466
|
+
}, null, 8, is)) : (i(), u("span", rs, R(I(o)), 1));
|
|
467
467
|
}
|
|
468
468
|
}), as = ["innerHTML"], us = /* @__PURE__ */ h({
|
|
469
469
|
__name: "StringEditor",
|
|
@@ -490,7 +490,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
490
490
|
contenteditable: "true",
|
|
491
491
|
onBlur: o,
|
|
492
492
|
onClick: e
|
|
493
|
-
},
|
|
493
|
+
}, R(n.locString.renderedHtml), 33));
|
|
494
494
|
}
|
|
495
495
|
}), ds = ["id"], ms = /* @__PURE__ */ h({
|
|
496
496
|
__name: "Skeleton",
|
|
@@ -499,7 +499,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
499
499
|
},
|
|
500
500
|
setup(r) {
|
|
501
501
|
const s = r;
|
|
502
|
-
return
|
|
502
|
+
return B(() => s.element), (o, e) => (i(), u("div", {
|
|
503
503
|
class: "sv-skeleton-element",
|
|
504
504
|
id: o.element.id
|
|
505
505
|
}, null, 8, ds));
|
|
@@ -511,14 +511,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
511
511
|
question: {}
|
|
512
512
|
},
|
|
513
513
|
setup(r) {
|
|
514
|
-
const s = r, o =
|
|
515
|
-
return
|
|
516
|
-
const t =
|
|
514
|
+
const s = r, o = $(null);
|
|
515
|
+
return P(s, o), (e, n) => {
|
|
516
|
+
const t = v("survey-text-input");
|
|
517
517
|
return e.question.isReadOnlyRenderDiv() ? (i(), u("div", {
|
|
518
518
|
key: 0,
|
|
519
519
|
ref_key: "root",
|
|
520
520
|
ref: o
|
|
521
|
-
},
|
|
521
|
+
}, R(e.question.value), 513)) : e.question.dataListId ? (i(), u("div", {
|
|
522
522
|
key: 1,
|
|
523
523
|
ref_key: "root",
|
|
524
524
|
ref: o
|
|
@@ -527,7 +527,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
527
527
|
c("datalist", {
|
|
528
528
|
id: e.question.dataListId
|
|
529
529
|
}, [
|
|
530
|
-
(i(!0), u(
|
|
530
|
+
(i(!0), u(_, null, D(e.question.dataList, (a) => (i(), u("option", { value: a }, null, 8, ps))), 256))
|
|
531
531
|
], 8, cs)
|
|
532
532
|
], 512)) : (i(), g(t, {
|
|
533
533
|
key: 2,
|
|
@@ -544,10 +544,10 @@ const Qe = /* @__PURE__ */ h({
|
|
|
544
544
|
},
|
|
545
545
|
setup(r) {
|
|
546
546
|
const s = r;
|
|
547
|
-
|
|
547
|
+
B(() => s.question);
|
|
548
548
|
const o = w(() => s.question.inputStyle);
|
|
549
549
|
return (e, n) => {
|
|
550
|
-
const t =
|
|
550
|
+
const t = v("sv-character-counter");
|
|
551
551
|
return e.question.getMaxLength() ? (i(), u("div", qs, [
|
|
552
552
|
c("input", {
|
|
553
553
|
disabled: e.question.isInputReadOnly,
|
|
@@ -621,8 +621,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
621
621
|
showLegend: { type: Boolean }
|
|
622
622
|
},
|
|
623
623
|
setup(r) {
|
|
624
|
-
const s = r, o =
|
|
625
|
-
|
|
624
|
+
const s = r, o = $(null);
|
|
625
|
+
P(s, o);
|
|
626
626
|
const e = (t) => s.question.getItemValueWrapperComponentName(t) || s.question.itemComponent, n = (t) => ({
|
|
627
627
|
componentName: s.question.itemComponent,
|
|
628
628
|
componentData: {
|
|
@@ -632,7 +632,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
632
632
|
}
|
|
633
633
|
});
|
|
634
634
|
return (t, a) => {
|
|
635
|
-
const y =
|
|
635
|
+
const y = v("survey-other-choice");
|
|
636
636
|
return i(), u("fieldset", {
|
|
637
637
|
class: l(t.question.getSelectBaseRootCss()),
|
|
638
638
|
ref_key: "root",
|
|
@@ -644,18 +644,18 @@ const Qe = /* @__PURE__ */ h({
|
|
|
644
644
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
645
645
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy
|
|
646
646
|
}, [
|
|
647
|
-
t.showLegend ? (i(), u("legend", bs,
|
|
648
|
-
t.question.hasHeadItems ? (i(!0), u(
|
|
647
|
+
t.showLegend ? (i(), u("legend", bs, R(t.question.locTitle.renderedHtml), 1)) : d("", !0),
|
|
648
|
+
t.question.hasHeadItems ? (i(!0), u(_, { key: 1 }, D(t.question.headItems, (m) => (i(), g(T(e(m)), W({
|
|
649
649
|
key: m.value
|
|
650
650
|
}, n(m)), null, 16))), 128)) : d("", !0),
|
|
651
|
-
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(
|
|
651
|
+
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), u(_, { key: 2 }, D(t.question.bodyItems, (m) => (i(), g(T(e(m)), W({
|
|
652
652
|
key: m.value
|
|
653
653
|
}, n(m)), null, 16))), 128)) : d("", !0),
|
|
654
654
|
t.question.blockedRow ? (i(), u("div", {
|
|
655
655
|
key: 3,
|
|
656
656
|
class: l(t.question.cssClasses.rootRow)
|
|
657
657
|
}, [
|
|
658
|
-
!t.question.hasColumns && t.question.blockedRow ? (i(!0), u(
|
|
658
|
+
!t.question.hasColumns && t.question.blockedRow ? (i(!0), u(_, { key: 0 }, D(t.question.dataChoices, (m) => (i(), g(T(e(m)), W({
|
|
659
659
|
key: m.value
|
|
660
660
|
}, n(m)), null, 16))), 128)) : d("", !0)
|
|
661
661
|
], 2)) : d("", !0),
|
|
@@ -663,17 +663,17 @@ const Qe = /* @__PURE__ */ h({
|
|
|
663
663
|
key: 4,
|
|
664
664
|
class: l(t.question.cssClasses.rootMultiColumn)
|
|
665
665
|
}, [
|
|
666
|
-
t.question.hasColumns ? (i(!0), u(
|
|
666
|
+
t.question.hasColumns ? (i(!0), u(_, { key: 0 }, D(t.question.columns, (m, q) => (i(), u("div", {
|
|
667
667
|
key: q,
|
|
668
668
|
class: l(t.question.getColumnClass()),
|
|
669
669
|
role: "presentation"
|
|
670
670
|
}, [
|
|
671
|
-
(i(!0), u(
|
|
672
|
-
key:
|
|
673
|
-
}, n(
|
|
671
|
+
(i(!0), u(_, null, D(m, (p) => (i(), g(T(e(p)), W({
|
|
672
|
+
key: p.value
|
|
673
|
+
}, n(p)), null, 16))), 128))
|
|
674
674
|
], 2))), 128)) : d("", !0)
|
|
675
675
|
], 2)) : d("", !0),
|
|
676
|
-
t.question.hasFootItems ? (i(!0), u(
|
|
676
|
+
t.question.hasFootItems ? (i(!0), u(_, { key: 5 }, D(t.question.footItems, (m) => (i(), g(T(e(m)), W({
|
|
677
677
|
key: m.value
|
|
678
678
|
}, n(m)), null, 16))), 128)) : d("", !0),
|
|
679
679
|
t.question.renderedValue && t.question.isOtherSelected ? (i(), g(y, {
|
|
@@ -715,12 +715,12 @@ const Qe = /* @__PURE__ */ h({
|
|
|
715
715
|
},
|
|
716
716
|
setup(r) {
|
|
717
717
|
const s = r;
|
|
718
|
-
|
|
718
|
+
B(() => s.item);
|
|
719
719
|
const o = (e) => {
|
|
720
720
|
s.question.clickItemHandler(s.item, e.target.checked);
|
|
721
721
|
};
|
|
722
722
|
return (e, n) => {
|
|
723
|
-
const t =
|
|
723
|
+
const t = v("survey-string");
|
|
724
724
|
return i(), u("div", {
|
|
725
725
|
role: "presentation",
|
|
726
726
|
class: l(e.question.getItemClass(e.item))
|
|
@@ -791,8 +791,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
791
791
|
a.renderedValue = t;
|
|
792
792
|
}
|
|
793
793
|
});
|
|
794
|
-
return
|
|
795
|
-
const y =
|
|
794
|
+
return B(() => s.item), (t, a) => {
|
|
795
|
+
const y = v("survey-string");
|
|
796
796
|
return i(), u("div", {
|
|
797
797
|
role: "presentation",
|
|
798
798
|
class: l(t.question.getItemClass(t.item))
|
|
@@ -801,7 +801,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
801
801
|
onMousedown: a[1] || (a[1] = (m) => t.question.onMouseDown()),
|
|
802
802
|
class: l(o(t.item))
|
|
803
803
|
}, [
|
|
804
|
-
|
|
804
|
+
N(c("input", {
|
|
805
805
|
type: "radio",
|
|
806
806
|
name: t.question.questionName,
|
|
807
807
|
value: t.item.value,
|
|
@@ -845,9 +845,9 @@ const Qe = /* @__PURE__ */ h({
|
|
|
845
845
|
question: {}
|
|
846
846
|
},
|
|
847
847
|
setup(r) {
|
|
848
|
-
const s = r, o =
|
|
849
|
-
return
|
|
850
|
-
const t =
|
|
848
|
+
const s = r, o = $(null);
|
|
849
|
+
return P(s, o), (e, n) => {
|
|
850
|
+
const t = v("survey-string"), a = v("sv-svg-icon"), y = v("sv-loading-indicator");
|
|
851
851
|
return i(), u("div", {
|
|
852
852
|
class: l(e.question.cssClasses.root),
|
|
853
853
|
ref_key: "root",
|
|
@@ -856,7 +856,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
856
856
|
width: e.question.renderedCanvasWidth
|
|
857
857
|
})
|
|
858
858
|
}, [
|
|
859
|
-
|
|
859
|
+
N(c("div", {
|
|
860
860
|
class: l(e.question.cssClasses.placeholder)
|
|
861
861
|
}, [
|
|
862
862
|
C(t, {
|
|
@@ -875,7 +875,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
875
875
|
})
|
|
876
876
|
}, null, 14, Bs)) : d("", !0),
|
|
877
877
|
c("canvas", {
|
|
878
|
-
tabindex: "
|
|
878
|
+
tabindex: "-1",
|
|
879
879
|
class: l(e.question.cssClasses.canvas),
|
|
880
880
|
onBlur: n[0] || (n[0] = (...m) => e.question.onBlur && e.question.onBlur(...m))
|
|
881
881
|
}, null, 34)
|
|
@@ -916,14 +916,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
916
916
|
question: {}
|
|
917
917
|
},
|
|
918
918
|
setup(r) {
|
|
919
|
-
const s = r, o =
|
|
920
|
-
|
|
919
|
+
const s = r, o = $(null);
|
|
920
|
+
P(s, o);
|
|
921
921
|
const e = G(() => s.question.locHtml);
|
|
922
922
|
return (n, t) => (i(), u("div", {
|
|
923
923
|
ref_key: "root",
|
|
924
924
|
ref: o,
|
|
925
925
|
class: l(n.question.renderCssRoot),
|
|
926
|
-
innerHTML:
|
|
926
|
+
innerHTML: I(e)
|
|
927
927
|
}, null, 10, As));
|
|
928
928
|
}
|
|
929
929
|
}), Hs = ["src", "alt", "width", "height"], Ws = ["src", "width", "height"], Es = ["src", "width", "height"], Vs = /* @__PURE__ */ h({
|
|
@@ -933,20 +933,20 @@ const Qe = /* @__PURE__ */ h({
|
|
|
933
933
|
question: {}
|
|
934
934
|
},
|
|
935
935
|
setup(r) {
|
|
936
|
-
const s = r, o =
|
|
937
|
-
|
|
936
|
+
const s = r, o = $(null);
|
|
937
|
+
P(s, o);
|
|
938
938
|
const e = G(() => s.question.locImageLink);
|
|
939
939
|
return (n, t) => {
|
|
940
|
-
const a =
|
|
940
|
+
const a = v("sv-svg-icon");
|
|
941
941
|
return i(), u("div", {
|
|
942
942
|
class: l(n.question.cssClasses.root),
|
|
943
943
|
ref_key: "root",
|
|
944
944
|
ref: o
|
|
945
945
|
}, [
|
|
946
|
-
n.question.renderedMode === "image" ?
|
|
946
|
+
n.question.renderedMode === "image" ? N((i(), u("img", {
|
|
947
947
|
key: 0,
|
|
948
948
|
class: l(n.question.getImageCss()),
|
|
949
|
-
src:
|
|
949
|
+
src: I(e),
|
|
950
950
|
alt: n.question.altText || n.question.title,
|
|
951
951
|
width: n.question.renderedWidth,
|
|
952
952
|
height: n.question.renderedHeight,
|
|
@@ -962,13 +962,13 @@ const Qe = /* @__PURE__ */ h({
|
|
|
962
962
|
n.question.onErrorHandler();
|
|
963
963
|
})
|
|
964
964
|
}, null, 46, Hs)), [
|
|
965
|
-
[M,
|
|
965
|
+
[M, I(e) && !n.question.contentNotLoaded]
|
|
966
966
|
]) : d("", !0),
|
|
967
|
-
n.question.renderedMode === "video" ?
|
|
967
|
+
n.question.renderedMode === "video" ? N((i(), u("video", {
|
|
968
968
|
key: 1,
|
|
969
969
|
controls: "",
|
|
970
970
|
class: l(n.question.getImageCss()),
|
|
971
|
-
src:
|
|
971
|
+
src: I(e),
|
|
972
972
|
width: n.question.renderedWidth,
|
|
973
973
|
height: n.question.renderedHeight,
|
|
974
974
|
style: S({
|
|
@@ -983,12 +983,12 @@ const Qe = /* @__PURE__ */ h({
|
|
|
983
983
|
n.question.onErrorHandler();
|
|
984
984
|
})
|
|
985
985
|
}, null, 46, Ws)), [
|
|
986
|
-
[M,
|
|
986
|
+
[M, I(e) && !n.question.contentNotLoaded]
|
|
987
987
|
]) : d("", !0),
|
|
988
988
|
n.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
989
989
|
key: 2,
|
|
990
990
|
class: l(n.question.getImageCss()),
|
|
991
|
-
src:
|
|
991
|
+
src: I(e),
|
|
992
992
|
width: n.question.renderedWidth,
|
|
993
993
|
height: n.question.renderedHeight,
|
|
994
994
|
style: S({
|
|
@@ -997,7 +997,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
997
997
|
height: n.question.renderedStyleHeight
|
|
998
998
|
})
|
|
999
999
|
}, null, 14, Es)) : d("", !0),
|
|
1000
|
-
!
|
|
1000
|
+
!I(e) || n.question.contentNotLoaded ? (i(), u("div", {
|
|
1001
1001
|
key: 3,
|
|
1002
1002
|
class: l(n.question.cssClasses.noImage)
|
|
1003
1003
|
}, [
|
|
@@ -1016,12 +1016,12 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1016
1016
|
question: {}
|
|
1017
1017
|
},
|
|
1018
1018
|
setup(r) {
|
|
1019
|
-
const s = r, o =
|
|
1020
|
-
return
|
|
1019
|
+
const s = r, o = $(null);
|
|
1020
|
+
return P(s, o), (e, n) => (i(), u("div", {
|
|
1021
1021
|
class: l(e.question.cssClasses.root),
|
|
1022
1022
|
ref_key: "root",
|
|
1023
1023
|
ref: o
|
|
1024
|
-
},
|
|
1024
|
+
}, R(e.question.formatedValue), 3));
|
|
1025
1025
|
}
|
|
1026
1026
|
}), Os = ["id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "multiple", "title", "accept", "capture"], zs = ["id", "multiple", "placeholder"], Us = /* @__PURE__ */ h({
|
|
1027
1027
|
inheritAttrs: !1,
|
|
@@ -1030,9 +1030,9 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1030
1030
|
question: {}
|
|
1031
1031
|
},
|
|
1032
1032
|
setup(r) {
|
|
1033
|
-
const s = r, o =
|
|
1034
|
-
return
|
|
1035
|
-
const t =
|
|
1033
|
+
const s = r, o = $(null);
|
|
1034
|
+
return P(s, o), (e, n) => {
|
|
1035
|
+
const t = v("survey-string"), a = v("sv-file-choose-btn"), y = v("sv-action-bar"), m = v("sv-file-clean-btn"), q = v("sv-loading-indicator"), p = v("sv-file-video"), f = v("sv-file-preview");
|
|
1036
1036
|
return i(), u("div", {
|
|
1037
1037
|
class: l(e.question.fileRootCss),
|
|
1038
1038
|
ref_key: "root",
|
|
@@ -1096,7 +1096,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1096
1096
|
e.question.isEmpty() ? (i(), u("span", {
|
|
1097
1097
|
key: 2,
|
|
1098
1098
|
class: l(e.question.cssClasses.noFileChosen)
|
|
1099
|
-
},
|
|
1099
|
+
}, R(e.question.noFileChosenCaption), 3)) : d("", !0)
|
|
1100
1100
|
], 2)
|
|
1101
1101
|
], 2)) : d("", !0),
|
|
1102
1102
|
e.question.showRemoveButton ? (i(), g(m, {
|
|
@@ -1110,11 +1110,11 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1110
1110
|
}, [
|
|
1111
1111
|
C(q)
|
|
1112
1112
|
], 2)) : d("", !0),
|
|
1113
|
-
e.question.isPlayingVideo ? (i(), g(
|
|
1113
|
+
e.question.isPlayingVideo ? (i(), g(p, {
|
|
1114
1114
|
key: 3,
|
|
1115
1115
|
question: e.question
|
|
1116
1116
|
}, null, 8, ["question"])) : d("", !0),
|
|
1117
|
-
e.question.allowShowPreview ? (i(), g(
|
|
1117
|
+
e.question.allowShowPreview ? (i(), g(f, {
|
|
1118
1118
|
key: 4,
|
|
1119
1119
|
question: e.question
|
|
1120
1120
|
}, null, 8, ["question"])) : d("", !0),
|
|
@@ -1138,8 +1138,8 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1138
1138
|
question: {}
|
|
1139
1139
|
},
|
|
1140
1140
|
setup(r) {
|
|
1141
|
-
const s = r, o =
|
|
1142
|
-
|
|
1141
|
+
const s = r, o = $(null);
|
|
1142
|
+
P(s, o);
|
|
1143
1143
|
const e = (t) => s.question.getItemValueWrapperComponentName(t) || pe, n = (t) => ({
|
|
1144
1144
|
componentName: pe,
|
|
1145
1145
|
componentData: {
|
|
@@ -1153,16 +1153,16 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1153
1153
|
ref_key: "root",
|
|
1154
1154
|
ref: o
|
|
1155
1155
|
}, [
|
|
1156
|
-
c("legend", Ks,
|
|
1157
|
-
t.question.hasColumns ? d("", !0) : (i(!0), u(
|
|
1156
|
+
c("legend", Ks, R(t.question.locTitle.renderedHtml), 1),
|
|
1157
|
+
t.question.hasColumns ? d("", !0) : (i(!0), u(_, { key: 0 }, D(t.question.visibleChoices, (y) => (i(), g(T(e(y)), W({
|
|
1158
1158
|
key: y.value
|
|
1159
1159
|
}, n(y)), null, 16))), 128)),
|
|
1160
|
-
t.question.hasColumns ? (i(!0), u(
|
|
1160
|
+
t.question.hasColumns ? (i(!0), u(_, { key: 1 }, D(t.question.columns, (y, m) => (i(), u("div", {
|
|
1161
1161
|
class: l(t.question.getColumnClass()),
|
|
1162
1162
|
key: m,
|
|
1163
1163
|
role: "presentation"
|
|
1164
1164
|
}, [
|
|
1165
|
-
(i(!0), u(
|
|
1165
|
+
(i(!0), u(_, null, D(y, (q) => (i(), g(T(e(q)), W({
|
|
1166
1166
|
key: q.value
|
|
1167
1167
|
}, n(q)), null, 16))), 128))
|
|
1168
1168
|
], 2))), 128)) : d("", !0)
|
|
@@ -1177,17 +1177,17 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1177
1177
|
},
|
|
1178
1178
|
setup(r) {
|
|
1179
1179
|
const s = r, o = (n) => s.question.getItemClass(n);
|
|
1180
|
-
|
|
1180
|
+
B(() => s.item);
|
|
1181
1181
|
const e = G(() => s.item.locImageLink);
|
|
1182
1182
|
return (n, t) => {
|
|
1183
|
-
const a =
|
|
1183
|
+
const a = v("sv-svg-icon"), y = v("survey-string");
|
|
1184
1184
|
return i(), u("div", {
|
|
1185
1185
|
class: l(o(n.item))
|
|
1186
1186
|
}, [
|
|
1187
1187
|
c("label", {
|
|
1188
1188
|
class: l(n.question.cssClasses.label)
|
|
1189
1189
|
}, [
|
|
1190
|
-
n.question.multiSelect ?
|
|
1190
|
+
n.question.multiSelect ? N((i(), u("input", {
|
|
1191
1191
|
key: 0,
|
|
1192
1192
|
type: "checkbox",
|
|
1193
1193
|
name: n.question.questionName,
|
|
@@ -1202,7 +1202,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1202
1202
|
class: l(n.question.cssClasses.itemControl)
|
|
1203
1203
|
}, null, 10, Qs)), [
|
|
1204
1204
|
[oe, n.question.value]
|
|
1205
|
-
]) :
|
|
1205
|
+
]) : N((i(), u("input", {
|
|
1206
1206
|
key: 1,
|
|
1207
1207
|
type: "radio",
|
|
1208
1208
|
name: n.question.questionName,
|
|
@@ -1235,10 +1235,10 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1235
1235
|
iconName: n.question.cssClasses.checkedItemSvgIconId
|
|
1236
1236
|
}, null, 8, ["class", "iconName"])) : d("", !0)
|
|
1237
1237
|
], 2)) : d("", !0),
|
|
1238
|
-
|
|
1238
|
+
I(e) && !n.item.contentNotLoaded && n.question.contentMode === "image" ? (i(), u("img", {
|
|
1239
1239
|
key: 1,
|
|
1240
1240
|
class: l(n.question.cssClasses.image),
|
|
1241
|
-
src:
|
|
1241
|
+
src: I(e),
|
|
1242
1242
|
width: n.question.renderedImageWidth,
|
|
1243
1243
|
height: n.question.renderedImageHeight,
|
|
1244
1244
|
style: S({ objectFit: n.question.imageFit }),
|
|
@@ -1250,11 +1250,11 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1250
1250
|
n.item.onErrorHandler();
|
|
1251
1251
|
})
|
|
1252
1252
|
}, null, 46, Js)) : d("", !0),
|
|
1253
|
-
|
|
1253
|
+
I(e) && !n.item.contentNotLoaded && n.question.contentMode === "video" ? (i(), u("video", {
|
|
1254
1254
|
key: 2,
|
|
1255
1255
|
controls: "",
|
|
1256
1256
|
class: l(n.question.cssClasses.image),
|
|
1257
|
-
src:
|
|
1257
|
+
src: I(e),
|
|
1258
1258
|
width: n.question.renderedImageWidth,
|
|
1259
1259
|
height: n.question.renderedImageHeight,
|
|
1260
1260
|
style: S({ objectFit: n.question.imageFit }),
|
|
@@ -1265,7 +1265,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1265
1265
|
n.item.onErrorHandler();
|
|
1266
1266
|
})
|
|
1267
1267
|
}, null, 46, Xs)) : d("", !0),
|
|
1268
|
-
!
|
|
1268
|
+
!I(e) || n.item.contentNotLoaded ? (i(), u("div", {
|
|
1269
1269
|
key: 3,
|
|
1270
1270
|
class: l(n.question.cssClasses.itemNoImage),
|
|
1271
1271
|
style: S({
|
|
@@ -1302,14 +1302,14 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1302
1302
|
css: {}
|
|
1303
1303
|
},
|
|
1304
1304
|
setup(r) {
|
|
1305
|
-
const s = r, o =
|
|
1306
|
-
|
|
1305
|
+
const s = r, o = $(null);
|
|
1306
|
+
P(s, o);
|
|
1307
1307
|
const e = (n) => {
|
|
1308
1308
|
const t = s.question;
|
|
1309
1309
|
t.value = n.target.value;
|
|
1310
1310
|
};
|
|
1311
1311
|
return (n, t) => {
|
|
1312
|
-
const a =
|
|
1312
|
+
const a = v("sv-character-counter");
|
|
1313
1313
|
return !n.question.isReadOnlyRenderDiv() && !n.question.getMaxLength() ? (i(), u("textarea", {
|
|
1314
1314
|
key: 0,
|
|
1315
1315
|
ref_key: "root",
|
|
@@ -1373,7 +1373,7 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1373
1373
|
key: 2,
|
|
1374
1374
|
ref_key: "root",
|
|
1375
1375
|
ref: o
|
|
1376
|
-
},
|
|
1376
|
+
}, R(n.question.value), 513));
|
|
1377
1377
|
};
|
|
1378
1378
|
}
|
|
1379
1379
|
}), sn = /* @__PURE__ */ h({
|
|
@@ -1383,9 +1383,9 @@ const Qe = /* @__PURE__ */ h({
|
|
|
1383
1383
|
question: {}
|
|
1384
1384
|
},
|
|
1385
1385
|
setup(r) {
|
|
1386
|
-
const s = r, o =
|
|
1387
|
-
return
|
|
1388
|
-
const t =
|
|
1386
|
+
const s = r, o = $(null);
|
|
1387
|
+
return P(s, o), (e, n) => {
|
|
1388
|
+
const t = v("sv-dropdown"), a = v("survey-other-choice");
|
|
1389
1389
|
return i(), u("div", {
|
|
1390
1390
|
class: l(e.question.renderCssRoot),
|
|
1391
1391
|
ref_key: "root",
|
|
@@ -1415,8 +1415,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1415
1415
|
question: {}
|
|
1416
1416
|
},
|
|
1417
1417
|
setup(r) {
|
|
1418
|
-
const s = r, o =
|
|
1419
|
-
|
|
1418
|
+
const s = r, o = $(null);
|
|
1419
|
+
P(s, o);
|
|
1420
1420
|
const e = (a) => {
|
|
1421
1421
|
s.question.onClick(a);
|
|
1422
1422
|
}, n = (a) => {
|
|
@@ -1432,7 +1432,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1432
1432
|
}
|
|
1433
1433
|
});
|
|
1434
1434
|
return (a, y) => {
|
|
1435
|
-
const m =
|
|
1435
|
+
const m = v("sv-dropdown-option-item"), q = v("sv-svg-icon"), p = v("survey-other-choice");
|
|
1436
1436
|
return i(), u("div", {
|
|
1437
1437
|
class: l(a.question.renderCssRoot),
|
|
1438
1438
|
ref_key: "root",
|
|
@@ -1446,10 +1446,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1446
1446
|
disabled: "",
|
|
1447
1447
|
id: a.question.inputId,
|
|
1448
1448
|
class: l(a.question.getControlClass())
|
|
1449
|
-
},
|
|
1449
|
+
}, R(a.question.readOnlyText), 11, tn)) : N((i(), u("select", {
|
|
1450
1450
|
key: 0,
|
|
1451
1451
|
id: a.question.inputId,
|
|
1452
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
1452
|
+
"onUpdate:modelValue": y[0] || (y[0] = (f) => t.value = f),
|
|
1453
1453
|
onClick: e,
|
|
1454
1454
|
onKeyup: n,
|
|
1455
1455
|
autocomplete: a.question.autocomplete,
|
|
@@ -1460,10 +1460,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1460
1460
|
"aria-describedby": a.question.ariaDescribedBy,
|
|
1461
1461
|
required: a.question.isRequired
|
|
1462
1462
|
}, [
|
|
1463
|
-
a.question.allowClear ? (i(), u("option", on,
|
|
1464
|
-
(i(!0), u(
|
|
1465
|
-
item:
|
|
1466
|
-
key:
|
|
1463
|
+
a.question.allowClear ? (i(), u("option", on, R(a.question.placeholder), 1)) : d("", !0),
|
|
1464
|
+
(i(!0), u(_, null, D(a.question.visibleChoices, (f) => (i(), g(m, {
|
|
1465
|
+
item: f,
|
|
1466
|
+
key: f.id
|
|
1467
1467
|
}, null, 8, ["item"]))), 128))
|
|
1468
1468
|
], 42, nn)), [
|
|
1469
1469
|
[Ie, t.value]
|
|
@@ -1479,7 +1479,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1479
1479
|
}, null, 8, ["class", "iconName"])
|
|
1480
1480
|
], 2)) : d("", !0)
|
|
1481
1481
|
], 2),
|
|
1482
|
-
a.question.isOtherSelected ? (i(), g(
|
|
1482
|
+
a.question.isOtherSelected ? (i(), g(p, {
|
|
1483
1483
|
key: 0,
|
|
1484
1484
|
question: a.question
|
|
1485
1485
|
}, null, 8, ["question"])) : d("", !0)
|
|
@@ -1493,10 +1493,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1493
1493
|
},
|
|
1494
1494
|
setup(r) {
|
|
1495
1495
|
const s = r, o = G(() => s.item.locText);
|
|
1496
|
-
return
|
|
1496
|
+
return B(() => s.item), (e, n) => (i(), u("option", {
|
|
1497
1497
|
value: e.item.value,
|
|
1498
1498
|
disabled: !e.item.isEnabled
|
|
1499
|
-
},
|
|
1499
|
+
}, R(I(o)), 9, ln));
|
|
1500
1500
|
}
|
|
1501
1501
|
}), un = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], dn = { style: { visibility: "hidden" } }, mn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], cn = ["id"], pn = /* @__PURE__ */ h({
|
|
1502
1502
|
__name: "Dropdown",
|
|
@@ -1504,39 +1504,39 @@ const rn = /* @__PURE__ */ h({
|
|
|
1504
1504
|
question: {}
|
|
1505
1505
|
},
|
|
1506
1506
|
setup(r) {
|
|
1507
|
-
const s = r, o =
|
|
1507
|
+
const s = r, o = $(null), e = w(() => {
|
|
1508
1508
|
const k = s.question;
|
|
1509
1509
|
return k.dropdownListModel || (k.dropdownListModel = new Be(k)), s.question.dropdownListModel;
|
|
1510
1510
|
}), n = (k) => {
|
|
1511
|
-
var
|
|
1512
|
-
(
|
|
1511
|
+
var L;
|
|
1512
|
+
(L = e.value) == null || L.onClick(k);
|
|
1513
1513
|
}, t = (k) => {
|
|
1514
|
-
var
|
|
1515
|
-
(
|
|
1514
|
+
var L;
|
|
1515
|
+
(L = e.value) == null || L.chevronPointerDown(k);
|
|
1516
1516
|
}, a = (k) => {
|
|
1517
|
-
var
|
|
1518
|
-
(
|
|
1517
|
+
var L;
|
|
1518
|
+
(L = e.value) == null || L.onClear(k);
|
|
1519
1519
|
}, y = (k) => {
|
|
1520
|
-
var
|
|
1521
|
-
(
|
|
1520
|
+
var L;
|
|
1521
|
+
(L = e.value) == null || L.keyHandler(k);
|
|
1522
1522
|
}, m = () => {
|
|
1523
1523
|
if (o.value) {
|
|
1524
|
-
const k = o.value,
|
|
1525
|
-
Le.isTwoValueEquals(
|
|
1524
|
+
const k = o.value, L = e.value.inputStringRendered;
|
|
1525
|
+
Le.isTwoValueEquals(L, k.value, !1, !0, !1) || (k.value = e.value.inputStringRendered);
|
|
1526
1526
|
}
|
|
1527
1527
|
}, q = (k) => {
|
|
1528
|
-
var
|
|
1529
|
-
(
|
|
1530
|
-
},
|
|
1531
|
-
var
|
|
1532
|
-
(
|
|
1533
|
-
},
|
|
1528
|
+
var L;
|
|
1529
|
+
(L = e.value) == null || L.onBlur(k), m();
|
|
1530
|
+
}, p = (k) => {
|
|
1531
|
+
var L;
|
|
1532
|
+
(L = e.value) == null || L.onFocus(k);
|
|
1533
|
+
}, f = (k) => {
|
|
1534
1534
|
e.value.inputStringRendered = k.target.value;
|
|
1535
1535
|
}, b = w(
|
|
1536
1536
|
() => s.question.showSelectedItemLocText
|
|
1537
|
-
),
|
|
1538
|
-
return
|
|
1539
|
-
const E =
|
|
1537
|
+
), A = w(() => s.question.selectedItemLocText);
|
|
1538
|
+
return B(() => e.value), te(m), H(m), (k, L) => {
|
|
1539
|
+
const E = v("survey-string"), V = v("sv-svg-icon"), K = v("sv-popup");
|
|
1540
1540
|
return i(), u("div", {
|
|
1541
1541
|
class: l(k.question.cssClasses.selectWrapper),
|
|
1542
1542
|
onClick: n
|
|
@@ -1563,23 +1563,23 @@ const rn = /* @__PURE__ */ h({
|
|
|
1563
1563
|
key: 0,
|
|
1564
1564
|
class: l(k.question.cssClasses.hintPrefix)
|
|
1565
1565
|
}, [
|
|
1566
|
-
c("span", null,
|
|
1566
|
+
c("span", null, R(e.value.hintStringPrefix), 1)
|
|
1567
1567
|
], 2)) : d("", !0),
|
|
1568
1568
|
c("div", {
|
|
1569
1569
|
class: l(k.question.cssClasses.controlValue)
|
|
1570
1570
|
}, [
|
|
1571
1571
|
b.value ? (i(), g(E, {
|
|
1572
1572
|
key: 0,
|
|
1573
|
-
locString:
|
|
1573
|
+
locString: A.value
|
|
1574
1574
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1575
1575
|
e.value.showHintString ? (i(), u("div", {
|
|
1576
1576
|
key: 1,
|
|
1577
1577
|
class: l(k.question.cssClasses.hintSuffix)
|
|
1578
1578
|
}, [
|
|
1579
|
-
c("span", dn,
|
|
1580
|
-
c("span", null,
|
|
1579
|
+
c("span", dn, R(e.value.inputStringRendered), 1),
|
|
1580
|
+
c("span", null, R(e.value.hintStringSuffix), 1)
|
|
1581
1581
|
], 2)) : d("", !0),
|
|
1582
|
-
k.question.showInputFieldComponent ? (i(), g(
|
|
1582
|
+
k.question.showInputFieldComponent ? (i(), g(T(k.question.inputFieldComponentName), {
|
|
1583
1583
|
key: 2,
|
|
1584
1584
|
item: e.value.getSelectedAction(),
|
|
1585
1585
|
question: k.question
|
|
@@ -1602,12 +1602,12 @@ const rn = /* @__PURE__ */ h({
|
|
|
1602
1602
|
"aria-labelledby": k.question.a11y_input_ariaLabelledBy,
|
|
1603
1603
|
"aria-activedescendant": e.value.ariaActivedescendant,
|
|
1604
1604
|
placeholder: e.value.placeholderRendered,
|
|
1605
|
-
onInput:
|
|
1605
|
+
onInput: f,
|
|
1606
1606
|
onBlur: q,
|
|
1607
|
-
onFocus:
|
|
1607
|
+
onFocus: p
|
|
1608
1608
|
}, null, 42, mn)
|
|
1609
1609
|
], 2),
|
|
1610
|
-
k.question.allowClear && k.question.cssClasses.cleanButtonIconId ?
|
|
1610
|
+
k.question.allowClear && k.question.cssClasses.cleanButtonIconId ? N((i(), u("div", {
|
|
1611
1611
|
key: 1,
|
|
1612
1612
|
class: l(k.question.cssClasses.cleanButton),
|
|
1613
1613
|
onClick: a,
|
|
@@ -1633,7 +1633,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1633
1633
|
key: 0,
|
|
1634
1634
|
locString: k.question.selectedItemLocText
|
|
1635
1635
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1636
|
-
c("div", null,
|
|
1636
|
+
c("div", null, R(k.question.readOnlyText), 1)
|
|
1637
1637
|
], 10, cn)) : (i(), g(K, {
|
|
1638
1638
|
key: 1,
|
|
1639
1639
|
model: k.question.dropdownListModel.popupModel
|
|
@@ -1660,9 +1660,9 @@ const rn = /* @__PURE__ */ h({
|
|
|
1660
1660
|
question: {}
|
|
1661
1661
|
},
|
|
1662
1662
|
setup(r) {
|
|
1663
|
-
const s = r, o =
|
|
1664
|
-
return
|
|
1665
|
-
const t =
|
|
1663
|
+
const s = r, o = $(null);
|
|
1664
|
+
return P(s, o), (e, n) => {
|
|
1665
|
+
const t = v("sv-tagbox"), a = v("survey-other-choice");
|
|
1666
1666
|
return i(), u("div", {
|
|
1667
1667
|
class: l(e.question.renderCssRoot),
|
|
1668
1668
|
ref_key: "root",
|
|
@@ -1686,23 +1686,23 @@ const rn = /* @__PURE__ */ h({
|
|
|
1686
1686
|
const q = s.question;
|
|
1687
1687
|
return q.dropdownListModel || (q.dropdownListModel = new Ne(q)), s.question.dropdownListModel;
|
|
1688
1688
|
}), e = (q) => {
|
|
1689
|
-
var
|
|
1690
|
-
(
|
|
1689
|
+
var p;
|
|
1690
|
+
(p = o.value) == null || p.onClick(q);
|
|
1691
1691
|
}, n = (q) => {
|
|
1692
|
-
var
|
|
1693
|
-
(
|
|
1692
|
+
var p;
|
|
1693
|
+
(p = o.value) == null || p.chevronPointerDown(q);
|
|
1694
1694
|
}, t = (q) => {
|
|
1695
|
-
var
|
|
1696
|
-
(
|
|
1695
|
+
var p;
|
|
1696
|
+
(p = o.value) == null || p.onClear(q);
|
|
1697
1697
|
}, a = (q) => {
|
|
1698
|
-
var
|
|
1699
|
-
(
|
|
1698
|
+
var p;
|
|
1699
|
+
(p = o.value) == null || p.keyHandler(q);
|
|
1700
1700
|
}, y = (q) => {
|
|
1701
|
-
var
|
|
1702
|
-
(
|
|
1701
|
+
var p;
|
|
1702
|
+
(p = o.value) == null || p.onBlur(q);
|
|
1703
1703
|
}, m = le(() => s.question.selectedChoices);
|
|
1704
|
-
return
|
|
1705
|
-
const
|
|
1704
|
+
return B(() => o.value), (q, p) => {
|
|
1705
|
+
const f = v("sv-tagbox-item"), b = v("sv-tagbox-filter"), A = v("sv-svg-icon"), k = v("sv-popup"), L = v("survey-string");
|
|
1706
1706
|
return i(), u("div", {
|
|
1707
1707
|
class: l(q.question.cssClasses.selectWrapper),
|
|
1708
1708
|
onClick: e
|
|
@@ -1728,7 +1728,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1728
1728
|
c("div", {
|
|
1729
1729
|
class: l(q.question.cssClasses.controlValue)
|
|
1730
1730
|
}, [
|
|
1731
|
-
(i(!0), u(
|
|
1731
|
+
(i(!0), u(_, null, D(I(m), (E, V) => (i(), g(f, {
|
|
1732
1732
|
item: E,
|
|
1733
1733
|
question: q.question,
|
|
1734
1734
|
key: "item" + V
|
|
@@ -1738,13 +1738,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1738
1738
|
question: q.question
|
|
1739
1739
|
}, null, 8, ["model", "question"])
|
|
1740
1740
|
], 2),
|
|
1741
|
-
q.question.allowClear && q.question.cssClasses.cleanButtonIconId ?
|
|
1741
|
+
q.question.allowClear && q.question.cssClasses.cleanButtonIconId ? N((i(), u("div", {
|
|
1742
1742
|
key: 0,
|
|
1743
1743
|
class: l(q.question.cssClasses.cleanButton),
|
|
1744
1744
|
onClick: t,
|
|
1745
1745
|
"aria-hidden": "true"
|
|
1746
1746
|
}, [
|
|
1747
|
-
C(
|
|
1747
|
+
C(A, {
|
|
1748
1748
|
class: l(q.question.cssClasses.cleanButtonSvg),
|
|
1749
1749
|
iconName: q.question.cssClasses.cleanButtonIconId,
|
|
1750
1750
|
title: q.question.clearCaption,
|
|
@@ -1760,7 +1760,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1760
1760
|
id: q.question.inputId,
|
|
1761
1761
|
class: l(q.question.getControlClass())
|
|
1762
1762
|
}, [
|
|
1763
|
-
q.question.locReadOnlyText ? (i(), g(
|
|
1763
|
+
q.question.locReadOnlyText ? (i(), g(L, {
|
|
1764
1764
|
key: 0,
|
|
1765
1765
|
locString: q.question.locReadOnlyText
|
|
1766
1766
|
}, null, 8, ["locString"])) : d("", !0)
|
|
@@ -1774,7 +1774,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1774
1774
|
onPointerdown: n,
|
|
1775
1775
|
"aria-hidden": "true"
|
|
1776
1776
|
}, [
|
|
1777
|
-
C(
|
|
1777
|
+
C(A, {
|
|
1778
1778
|
class: l(q.question.cssClasses.chevronButtonSvg),
|
|
1779
1779
|
iconName: q.question.cssClasses.chevronButtonIconId,
|
|
1780
1780
|
size: "auto"
|
|
@@ -1800,8 +1800,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1800
1800
|
}, t = (a) => {
|
|
1801
1801
|
s.model.onFocus(a);
|
|
1802
1802
|
};
|
|
1803
|
-
return
|
|
1804
|
-
const m =
|
|
1803
|
+
return B(() => s.model), (a, y) => {
|
|
1804
|
+
const m = v("survey-string");
|
|
1805
1805
|
return i(), u("div", {
|
|
1806
1806
|
class: l(a.question.cssClasses.hint)
|
|
1807
1807
|
}, [
|
|
@@ -1809,7 +1809,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1809
1809
|
key: 0,
|
|
1810
1810
|
class: l(a.question.cssClasses.hintPrefix)
|
|
1811
1811
|
}, [
|
|
1812
|
-
c("span", null,
|
|
1812
|
+
c("span", null, R(a.model.hintStringPrefix), 1)
|
|
1813
1813
|
], 2)) : d("", !0),
|
|
1814
1814
|
c("div", {
|
|
1815
1815
|
class: l(a.question.cssClasses.hintSuffixWrapper)
|
|
@@ -1822,10 +1822,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
1822
1822
|
key: 1,
|
|
1823
1823
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1824
1824
|
}, [
|
|
1825
|
-
c("span", hn,
|
|
1826
|
-
c("span", null,
|
|
1825
|
+
c("span", hn, R(a.model.inputStringRendered), 1),
|
|
1826
|
+
c("span", null, R(a.model.hintStringSuffix), 1)
|
|
1827
1827
|
], 2)) : d("", !0),
|
|
1828
|
-
|
|
1828
|
+
N(c("input", {
|
|
1829
1829
|
type: "text",
|
|
1830
1830
|
autocomplete: "off",
|
|
1831
1831
|
"onUpdate:modelValue": y[0] || (y[0] = (q) => a.model.inputStringRendered = q),
|
|
@@ -1863,8 +1863,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1863
1863
|
const s = r, o = (e) => {
|
|
1864
1864
|
s.question.dropdownListModel.deselectItem(s.item.value), e.stopPropagation();
|
|
1865
1865
|
};
|
|
1866
|
-
return
|
|
1867
|
-
const t =
|
|
1866
|
+
return B(() => s.item), (e, n) => {
|
|
1867
|
+
const t = v("survey-string"), a = v("sv-svg-icon");
|
|
1868
1868
|
return i(), u("div", {
|
|
1869
1869
|
class: "sv-tagbox__item",
|
|
1870
1870
|
key: e.item.key
|
|
@@ -1894,8 +1894,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1894
1894
|
question: {}
|
|
1895
1895
|
},
|
|
1896
1896
|
setup(r) {
|
|
1897
|
-
const s = r, o =
|
|
1898
|
-
|
|
1897
|
+
const s = r, o = $(null);
|
|
1898
|
+
P(s, o);
|
|
1899
1899
|
const e = (t) => s.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", n = (t, a, y) => ({
|
|
1900
1900
|
componentName: s.question.getPropertyByName("itemComponent").isDefaultValue(
|
|
1901
1901
|
s.question.itemComponent
|
|
@@ -1909,13 +1909,13 @@ const rn = /* @__PURE__ */ h({
|
|
|
1909
1909
|
}
|
|
1910
1910
|
});
|
|
1911
1911
|
return (t, a) => {
|
|
1912
|
-
const y =
|
|
1912
|
+
const y = v("survey-string");
|
|
1913
1913
|
return i(), u("div", {
|
|
1914
1914
|
class: l(t.question.rootClass),
|
|
1915
1915
|
ref_key: "root",
|
|
1916
1916
|
ref: o
|
|
1917
1917
|
}, [
|
|
1918
|
-
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(
|
|
1918
|
+
t.question.selectToRankEnabled ? d("", !0) : (i(!0), u(_, { key: 0 }, D(t.question.rankingChoices, (m, q) => (i(), g(T(e(m)), W({
|
|
1919
1919
|
key: m.value + "-" + q + "-item"
|
|
1920
1920
|
}, n(m, q)), null, 16))), 128)),
|
|
1921
1921
|
t.question.selectToRankEnabled ? (i(), u("div", {
|
|
@@ -1923,7 +1923,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1923
1923
|
class: l(t.question.getContainerClasses("from")),
|
|
1924
1924
|
"data-ranking": "from-container"
|
|
1925
1925
|
}, [
|
|
1926
|
-
(i(!0), u(
|
|
1926
|
+
(i(!0), u(_, null, D(t.question.unRankingChoices, (m, q) => (i(), g(T(e(m)), W({
|
|
1927
1927
|
key: m.value + "-" + q + "-item"
|
|
1928
1928
|
}, n(m, q, !0)), null, 16))), 128)),
|
|
1929
1929
|
t.question.unRankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1944,7 +1944,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
1944
1944
|
class: l(t.question.getContainerClasses("to")),
|
|
1945
1945
|
"data-ranking": "to-container"
|
|
1946
1946
|
}, [
|
|
1947
|
-
(i(!0), u(
|
|
1947
|
+
(i(!0), u(_, null, D(t.question.rankingChoices, (m, q) => (i(), g(T(e(m)), W({
|
|
1948
1948
|
key: m.value + "-" + q + "-item"
|
|
1949
1949
|
}, n(m, q)), null, 16))), 128)),
|
|
1950
1950
|
t.question.rankingChoices.length === 0 ? (i(), u("div", {
|
|
@@ -1973,8 +1973,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
1973
1973
|
},
|
|
1974
1974
|
setup(r) {
|
|
1975
1975
|
const s = r, o = w(() => s.question.getNumberByIndex(s.index));
|
|
1976
|
-
return
|
|
1977
|
-
const t =
|
|
1976
|
+
return B(() => s.item), (e, n) => {
|
|
1977
|
+
const t = v("survey-string");
|
|
1978
1978
|
return i(), u("div", {
|
|
1979
1979
|
tabindex: e.question.getItemTabIndex(e.item),
|
|
1980
1980
|
"data-sv-drop-target-ranking-item": e.index,
|
|
@@ -2019,7 +2019,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2019
2019
|
!e.unrankedItem && o.value ? (i(), u("div", {
|
|
2020
2020
|
key: 0,
|
|
2021
2021
|
class: l(e.question.getItemIndexClasses(e.item))
|
|
2022
|
-
},
|
|
2022
|
+
}, R(o.value), 3)) : (i(), u("div", {
|
|
2023
2023
|
key: 1,
|
|
2024
2024
|
class: l(e.question.getItemIndexClasses(e.item))
|
|
2025
2025
|
}, [
|
|
@@ -2051,11 +2051,11 @@ const rn = /* @__PURE__ */ h({
|
|
|
2051
2051
|
question: {}
|
|
2052
2052
|
},
|
|
2053
2053
|
setup(r) {
|
|
2054
|
-
const s = r, o =
|
|
2055
|
-
|
|
2054
|
+
const s = r, o = $(null);
|
|
2055
|
+
P(s, o);
|
|
2056
2056
|
const e = (n) => s.question.getInputId(n);
|
|
2057
2057
|
return (n, t) => {
|
|
2058
|
-
const a =
|
|
2058
|
+
const a = v("survey-string");
|
|
2059
2059
|
return i(), u("div", {
|
|
2060
2060
|
class: l(n.question.ratingRootCss),
|
|
2061
2061
|
ref_key: "root",
|
|
@@ -2071,7 +2071,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2071
2071
|
locString: n.question.locMinRateDescription
|
|
2072
2072
|
}, null, 8, ["locString"])
|
|
2073
2073
|
], 2)) : d("", !0),
|
|
2074
|
-
(i(!0), u(
|
|
2074
|
+
(i(!0), u(_, null, D(n.question.renderedRateItems, (y, m) => (i(), g(T(n.question.itemComponent), {
|
|
2075
2075
|
key: e(m),
|
|
2076
2076
|
item: y,
|
|
2077
2077
|
index: m,
|
|
@@ -2098,8 +2098,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
2098
2098
|
},
|
|
2099
2099
|
setup(r) {
|
|
2100
2100
|
const s = r;
|
|
2101
|
-
return
|
|
2102
|
-
const n =
|
|
2101
|
+
return B(() => s.item), (o, e) => {
|
|
2102
|
+
const n = v("survey-string");
|
|
2103
2103
|
return i(), u("label", {
|
|
2104
2104
|
key: o.item.value,
|
|
2105
2105
|
onMousedown: e[1] || (e[1] = (t) => o.question.onMouseDown()),
|
|
@@ -2137,8 +2137,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
2137
2137
|
},
|
|
2138
2138
|
setup(r) {
|
|
2139
2139
|
const s = r;
|
|
2140
|
-
return
|
|
2141
|
-
const n =
|
|
2140
|
+
return B(() => s.item), (o, e) => {
|
|
2141
|
+
const n = v("sv-svg-icon");
|
|
2142
2142
|
return i(), u("label", {
|
|
2143
2143
|
key: o.item.value,
|
|
2144
2144
|
onMousedown: e[1] || (e[1] = (t) => o.question.onMouseDown()),
|
|
@@ -2177,8 +2177,8 @@ const rn = /* @__PURE__ */ h({
|
|
|
2177
2177
|
},
|
|
2178
2178
|
setup(r) {
|
|
2179
2179
|
const s = r;
|
|
2180
|
-
return
|
|
2181
|
-
const n =
|
|
2180
|
+
return B(() => s.item), (o, e) => {
|
|
2181
|
+
const n = v("sv-svg-icon");
|
|
2182
2182
|
return i(), u("label", {
|
|
2183
2183
|
key: o.item.value,
|
|
2184
2184
|
onMousedown: e[1] || (e[1] = (t) => o.question.onMouseDown()),
|
|
@@ -2224,10 +2224,10 @@ const rn = /* @__PURE__ */ h({
|
|
|
2224
2224
|
},
|
|
2225
2225
|
setup(r) {
|
|
2226
2226
|
const s = r;
|
|
2227
|
-
return
|
|
2228
|
-
const n =
|
|
2227
|
+
return B(() => s.item), (o, e) => {
|
|
2228
|
+
const n = v("survey-string");
|
|
2229
2229
|
return i(), u("div", En, [
|
|
2230
|
-
c("span", Vn,
|
|
2230
|
+
c("span", Vn, R(o.item.title), 1),
|
|
2231
2231
|
o.item.description ? (i(), u("div", Fn, [
|
|
2232
2232
|
C(n, {
|
|
2233
2233
|
locString: o.item.description
|
|
@@ -2249,9 +2249,9 @@ const zn = /* @__PURE__ */ h({
|
|
|
2249
2249
|
question: {}
|
|
2250
2250
|
},
|
|
2251
2251
|
setup(r) {
|
|
2252
|
-
const s = r, o =
|
|
2253
|
-
return
|
|
2254
|
-
const t =
|
|
2252
|
+
const s = r, o = $(null);
|
|
2253
|
+
return P(s, o), (e, n) => {
|
|
2254
|
+
const t = v("sv-dropdown");
|
|
2255
2255
|
return i(), u("div", {
|
|
2256
2256
|
class: l(e.question.cssClasses.rootDropdown),
|
|
2257
2257
|
ref_key: "root",
|
|
@@ -2261,15 +2261,15 @@ const zn = /* @__PURE__ */ h({
|
|
|
2261
2261
|
], 2);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
|
-
}), Un = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Kn = /* @__PURE__ */ h({
|
|
2264
|
+
}), Un = ["name", "value", "id", ".indeterminate", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], Kn = /* @__PURE__ */ h({
|
|
2265
2265
|
inheritAttrs: !1,
|
|
2266
2266
|
__name: "BooleanSwitch",
|
|
2267
2267
|
props: {
|
|
2268
2268
|
question: {}
|
|
2269
2269
|
},
|
|
2270
2270
|
setup(r) {
|
|
2271
|
-
const s = r, o =
|
|
2272
|
-
|
|
2271
|
+
const s = r, o = $(null);
|
|
2272
|
+
P(s, o);
|
|
2273
2273
|
const e = (t, a) => {
|
|
2274
2274
|
s.question.onLabelClick(t, a);
|
|
2275
2275
|
}, n = (t) => {
|
|
@@ -2277,7 +2277,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2277
2277
|
};
|
|
2278
2278
|
return (t, a) => {
|
|
2279
2279
|
var m;
|
|
2280
|
-
const y =
|
|
2280
|
+
const y = v("survey-string");
|
|
2281
2281
|
return i(), u("div", {
|
|
2282
2282
|
class: l(t.question.cssClasses.root),
|
|
2283
2283
|
ref_key: "root",
|
|
@@ -2287,7 +2287,7 @@ const zn = /* @__PURE__ */ h({
|
|
|
2287
2287
|
c("label", {
|
|
2288
2288
|
class: l(t.question.getItemCss())
|
|
2289
2289
|
}, [
|
|
2290
|
-
|
|
2290
|
+
N(c("input", {
|
|
2291
2291
|
type: "checkbox",
|
|
2292
2292
|
name: t.question.name,
|
|
2293
2293
|
value: (m = t.question.booleanValue) != null ? m : "",
|
|
@@ -2296,10 +2296,12 @@ const zn = /* @__PURE__ */ h({
|
|
|
2296
2296
|
id: t.question.inputId,
|
|
2297
2297
|
".indeterminate": t.question.isIndeterminate,
|
|
2298
2298
|
disabled: t.question.isInputReadOnly,
|
|
2299
|
-
|
|
2300
|
-
"aria-
|
|
2301
|
-
"aria-
|
|
2302
|
-
"aria-
|
|
2299
|
+
role: t.question.a11y_input_ariaRole,
|
|
2300
|
+
"aria-required": t.question.a11y_input_ariaRequired,
|
|
2301
|
+
"aria-label": t.question.a11y_input_ariaLabel,
|
|
2302
|
+
"aria-labelledby": t.question.a11y_input_ariaLabelledBy,
|
|
2303
|
+
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2304
|
+
"aria-describedby": t.question.a11y_input_ariaDescribedBy
|
|
2303
2305
|
}, null, 42, Un), [
|
|
2304
2306
|
[oe, t.question.booleanValue]
|
|
2305
2307
|
]),
|
|
@@ -2361,9 +2363,9 @@ const jn = /* @__PURE__ */ h({
|
|
|
2361
2363
|
question: {}
|
|
2362
2364
|
},
|
|
2363
2365
|
setup(r) {
|
|
2364
|
-
const s =
|
|
2365
|
-
return
|
|
2366
|
-
const t =
|
|
2366
|
+
const s = $(null);
|
|
2367
|
+
return P(r, s), (e, n) => {
|
|
2368
|
+
const t = v("sv-boolean-radio-item");
|
|
2367
2369
|
return i(), u("div", {
|
|
2368
2370
|
class: l(e.question.cssClasses.rootRadio),
|
|
2369
2371
|
ref_key: "root",
|
|
@@ -2402,7 +2404,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2402
2404
|
n.booleanValue = e.target.value == "true";
|
|
2403
2405
|
};
|
|
2404
2406
|
return (e, n) => {
|
|
2405
|
-
const t =
|
|
2407
|
+
const t = v("survey-string");
|
|
2406
2408
|
return i(), u("div", {
|
|
2407
2409
|
role: "presentation",
|
|
2408
2410
|
class: l(e.question.getRadioItemClass(e.question.cssClasses, e.value))
|
|
@@ -2456,10 +2458,10 @@ const eo = /* @__PURE__ */ h({
|
|
|
2456
2458
|
css: {}
|
|
2457
2459
|
},
|
|
2458
2460
|
setup(r) {
|
|
2459
|
-
const s = r, o =
|
|
2460
|
-
return
|
|
2461
|
+
const s = r, o = $(null);
|
|
2462
|
+
return P(s, o), (e, n) => {
|
|
2461
2463
|
var m;
|
|
2462
|
-
const t =
|
|
2464
|
+
const t = v("survey-element-title-content"), a = v("sv-title-actions"), y = v("survey-string");
|
|
2463
2465
|
return i(), u("div", {
|
|
2464
2466
|
class: l(e.question.cssClasses.rootCheckbox),
|
|
2465
2467
|
ref_key: "root",
|
|
@@ -2471,7 +2473,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2471
2473
|
c("label", {
|
|
2472
2474
|
class: l(e.question.cssClasses.checkboxLabel)
|
|
2473
2475
|
}, [
|
|
2474
|
-
|
|
2476
|
+
N(c("input", {
|
|
2475
2477
|
type: "checkbox",
|
|
2476
2478
|
name: e.question.name,
|
|
2477
2479
|
value: (m = e.question.booleanValue) != null ? m : "",
|
|
@@ -2536,23 +2538,23 @@ const eo = /* @__PURE__ */ h({
|
|
|
2536
2538
|
question: {}
|
|
2537
2539
|
},
|
|
2538
2540
|
setup(r) {
|
|
2539
|
-
const s = r, o =
|
|
2540
|
-
return
|
|
2541
|
-
const a =
|
|
2541
|
+
const s = r, o = $(null), e = le(() => s.question.getRows());
|
|
2542
|
+
return P(s, o), (n, t) => {
|
|
2543
|
+
const a = v("survey-multipletext-item");
|
|
2542
2544
|
return i(), u("table", {
|
|
2543
2545
|
class: l(n.question.getQuestionRootCss()),
|
|
2544
2546
|
ref_key: "root",
|
|
2545
2547
|
ref: o
|
|
2546
2548
|
}, [
|
|
2547
2549
|
c("tbody", null, [
|
|
2548
|
-
(i(!0), u(
|
|
2550
|
+
(i(!0), u(_, null, D(I(e), (y, m) => (i(), u(_, {
|
|
2549
2551
|
key: n.question.inputId + "rowkey" + m
|
|
2550
2552
|
}, [
|
|
2551
2553
|
y.isVisible ? (i(), u("tr", {
|
|
2552
2554
|
key: 0,
|
|
2553
2555
|
class: l(n.question.cssClasses.row)
|
|
2554
2556
|
}, [
|
|
2555
|
-
(i(!0), u(
|
|
2557
|
+
(i(!0), u(_, null, D(y.cells, (q) => (i(), u("td", {
|
|
2556
2558
|
key: "item" + q.item.editor.id,
|
|
2557
2559
|
class: l(q.className)
|
|
2558
2560
|
}, [
|
|
@@ -2575,10 +2577,10 @@ const eo = /* @__PURE__ */ h({
|
|
|
2575
2577
|
},
|
|
2576
2578
|
setup(r) {
|
|
2577
2579
|
const s = r, o = (n) => re(n);
|
|
2578
|
-
|
|
2580
|
+
B(() => s.cell.item.editor);
|
|
2579
2581
|
const e = w(() => s.cell.item);
|
|
2580
2582
|
return (n, t) => {
|
|
2581
|
-
const a =
|
|
2583
|
+
const a = v("survey-string"), y = v("survey-errors");
|
|
2582
2584
|
return n.cell.isErrorsCell ? (i(), g(y, {
|
|
2583
2585
|
key: 1,
|
|
2584
2586
|
element: e.value.editor
|
|
@@ -2593,7 +2595,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2593
2595
|
e.value.editor.isRequireTextBeforeTitle || e.value.editor.isRequireTextOnStart ? (i(), u("span", {
|
|
2594
2596
|
key: 0,
|
|
2595
2597
|
class: l(n.question.cssClasses.requiredText)
|
|
2596
|
-
},
|
|
2598
|
+
}, R(e.value.editor.requiredText), 3)) : d("", !0),
|
|
2597
2599
|
C(a, {
|
|
2598
2600
|
locString: e.value.locTitle
|
|
2599
2601
|
}, null, 8, ["locString"]),
|
|
@@ -2602,14 +2604,14 @@ const eo = /* @__PURE__ */ h({
|
|
|
2602
2604
|
key: 2,
|
|
2603
2605
|
"aria-hidden": "true",
|
|
2604
2606
|
class: l(n.question.cssClasses.requiredText)
|
|
2605
|
-
},
|
|
2607
|
+
}, R(e.value.editor.requiredText), 3)) : d("", !0)
|
|
2606
2608
|
], 6),
|
|
2607
2609
|
(i(), u("div", {
|
|
2608
2610
|
key: e.value.editor.id,
|
|
2609
2611
|
class: l(n.question.getItemCss()),
|
|
2610
2612
|
onFocusin: t[0] || (t[0] = (m) => e.value.focusIn())
|
|
2611
2613
|
}, [
|
|
2612
|
-
(i(), g(
|
|
2614
|
+
(i(), g(T(o(e.value.editor)), {
|
|
2613
2615
|
question: e.value.editor
|
|
2614
2616
|
}, null, 8, ["question"]))
|
|
2615
2617
|
], 34))
|
|
@@ -2623,8 +2625,8 @@ const eo = /* @__PURE__ */ h({
|
|
|
2623
2625
|
question: {}
|
|
2624
2626
|
},
|
|
2625
2627
|
setup(r) {
|
|
2626
|
-
const s = r, o =
|
|
2627
|
-
|
|
2628
|
+
const s = r, o = $(null), e = z();
|
|
2629
|
+
P(
|
|
2628
2630
|
s,
|
|
2629
2631
|
o,
|
|
2630
2632
|
(t) => {
|
|
@@ -2641,21 +2643,21 @@ const eo = /* @__PURE__ */ h({
|
|
|
2641
2643
|
t.value = a.value;
|
|
2642
2644
|
};
|
|
2643
2645
|
return (t, a) => {
|
|
2644
|
-
const y =
|
|
2646
|
+
const y = v("survey-string");
|
|
2645
2647
|
return i(), u("div", {
|
|
2646
2648
|
class: l(t.question.cssClasses.tableWrapper),
|
|
2647
2649
|
ref_key: "root",
|
|
2648
2650
|
ref: o
|
|
2649
2651
|
}, [
|
|
2650
2652
|
c("fieldset", null, [
|
|
2651
|
-
c("legend", to,
|
|
2653
|
+
c("legend", to, R(t.question.locTitle.renderedHtml), 1),
|
|
2652
2654
|
c("table", {
|
|
2653
2655
|
class: l(t.question.getTableCss())
|
|
2654
2656
|
}, [
|
|
2655
2657
|
t.question.showHeader ? (i(), u("thead", io, [
|
|
2656
2658
|
c("tr", null, [
|
|
2657
2659
|
t.question.hasRows ? (i(), u("td", ro)) : d("", !0),
|
|
2658
|
-
(i(!0), u(
|
|
2660
|
+
(i(!0), u(_, null, D(t.question.visibleColumns, (m, q) => (i(), u("th", {
|
|
2659
2661
|
key: q,
|
|
2660
2662
|
class: l(t.question.cssClasses.headerCell),
|
|
2661
2663
|
style: S({
|
|
@@ -2663,7 +2665,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2663
2665
|
width: t.question.columnMinWidth
|
|
2664
2666
|
})
|
|
2665
2667
|
}, [
|
|
2666
|
-
(i(), g(
|
|
2668
|
+
(i(), g(T(t.question.getColumnHeaderWrapperComponentName(m)), {
|
|
2667
2669
|
componentData: t.question.getColumnHeaderWrapperComponentData(m)
|
|
2668
2670
|
}, {
|
|
2669
2671
|
default: F(() => [
|
|
@@ -2677,18 +2679,18 @@ const eo = /* @__PURE__ */ h({
|
|
|
2677
2679
|
])
|
|
2678
2680
|
])) : d("", !0),
|
|
2679
2681
|
c("tbody", null, [
|
|
2680
|
-
(i(!0), u(
|
|
2682
|
+
(i(!0), u(_, null, D(e.value, (m, q) => (i(), u("tr", {
|
|
2681
2683
|
key: "row_" + m.name + "_" + q,
|
|
2682
2684
|
class: l(m.rowClasses || void 0)
|
|
2683
2685
|
}, [
|
|
2684
|
-
|
|
2686
|
+
N(c("td", {
|
|
2685
2687
|
class: l(m.rowTextClasses),
|
|
2686
2688
|
style: S({
|
|
2687
2689
|
minWidth: t.question.rowTitleWidth,
|
|
2688
2690
|
width: t.question.rowTitleWidth
|
|
2689
2691
|
})
|
|
2690
2692
|
}, [
|
|
2691
|
-
(i(), g(
|
|
2693
|
+
(i(), g(T(t.question.getRowHeaderWrapperComponentName(m)), {
|
|
2692
2694
|
componentData: t.question.getRowHeaderWrapperComponentData(m)
|
|
2693
2695
|
}, {
|
|
2694
2696
|
default: F(() => [
|
|
@@ -2701,26 +2703,26 @@ const eo = /* @__PURE__ */ h({
|
|
|
2701
2703
|
], 6), [
|
|
2702
2704
|
[M, t.question.hasRows]
|
|
2703
2705
|
]),
|
|
2704
|
-
t.question.hasCellText ? (i(!0), u(
|
|
2705
|
-
key:
|
|
2706
|
-
class: l(t.question.getItemClass(m,
|
|
2707
|
-
onClick: (b) => n(m,
|
|
2706
|
+
t.question.hasCellText ? (i(!0), u(_, { key: 0 }, D(t.question.visibleColumns, (p, f) => (i(), u("td", {
|
|
2707
|
+
key: f,
|
|
2708
|
+
class: l(t.question.getItemClass(m, p)),
|
|
2709
|
+
onClick: (b) => n(m, p)
|
|
2708
2710
|
}, [
|
|
2709
2711
|
C(y, {
|
|
2710
|
-
locString: t.question.getCellDisplayLocText(m.name,
|
|
2712
|
+
locString: t.question.getCellDisplayLocText(m.name, p)
|
|
2711
2713
|
}, null, 8, ["locString"])
|
|
2712
2714
|
], 10, lo))), 128)) : d("", !0),
|
|
2713
|
-
t.question.hasCellText ? d("", !0) : (i(!0), u(
|
|
2714
|
-
key:
|
|
2715
|
-
"data-responsive-title":
|
|
2715
|
+
t.question.hasCellText ? d("", !0) : (i(!0), u(_, { key: 1 }, D(t.question.visibleColumns, (p, f) => (i(), u("td", {
|
|
2716
|
+
key: f,
|
|
2717
|
+
"data-responsive-title": p.locText.renderedHtml,
|
|
2716
2718
|
class: l(t.question.cssClasses.cell),
|
|
2717
|
-
onClick: (b) => n(m,
|
|
2719
|
+
onClick: (b) => n(m, p)
|
|
2718
2720
|
}, [
|
|
2719
|
-
(i(), g(
|
|
2721
|
+
(i(), g(T(t.question.cellComponent), {
|
|
2720
2722
|
question: t.question,
|
|
2721
2723
|
row: m,
|
|
2722
|
-
column:
|
|
2723
|
-
columnIndex:
|
|
2724
|
+
column: p,
|
|
2725
|
+
columnIndex: f
|
|
2724
2726
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
2725
2727
|
], 10, ao))), 128))
|
|
2726
2728
|
], 2))), 128))
|
|
@@ -2741,12 +2743,12 @@ const eo = /* @__PURE__ */ h({
|
|
|
2741
2743
|
},
|
|
2742
2744
|
setup(r) {
|
|
2743
2745
|
return (s, o) => {
|
|
2744
|
-
const e =
|
|
2746
|
+
const e = v("survey-string");
|
|
2745
2747
|
return i(), u("label", {
|
|
2746
2748
|
onMousedown: o[1] || (o[1] = (n) => s.question.onMouseDown()),
|
|
2747
2749
|
class: l(s.question.getItemClass(s.row, s.column))
|
|
2748
2750
|
}, [
|
|
2749
|
-
|
|
2751
|
+
N(c("input", {
|
|
2750
2752
|
type: "radio",
|
|
2751
2753
|
class: l(s.question.cssClasses.itemValue),
|
|
2752
2754
|
name: s.row.fullName,
|
|
@@ -2794,9 +2796,9 @@ const eo = /* @__PURE__ */ h({
|
|
|
2794
2796
|
question: {}
|
|
2795
2797
|
},
|
|
2796
2798
|
setup(r) {
|
|
2797
|
-
const s = r, o =
|
|
2798
|
-
return
|
|
2799
|
-
const t =
|
|
2799
|
+
const s = r, o = $(null);
|
|
2800
|
+
return P(s, o), (e, n) => {
|
|
2801
|
+
const t = v("survey-matrixtable");
|
|
2800
2802
|
return i(), g(t, {
|
|
2801
2803
|
question: e.question,
|
|
2802
2804
|
ref_key: "root",
|
|
@@ -2811,7 +2813,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2811
2813
|
},
|
|
2812
2814
|
setup(r) {
|
|
2813
2815
|
const s = r, o = w(() => s.question.renderedTable);
|
|
2814
|
-
return
|
|
2816
|
+
return B(
|
|
2815
2817
|
() => o.value,
|
|
2816
2818
|
(e) => {
|
|
2817
2819
|
const n = ie();
|
|
@@ -2825,7 +2827,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2825
2827
|
};
|
|
2826
2828
|
}
|
|
2827
2829
|
), (e, n) => {
|
|
2828
|
-
const t =
|
|
2830
|
+
const t = v("survey-string"), a = v("survey-matrixheaderrequired"), y = v("survey-matrixdropdown-cell");
|
|
2829
2831
|
return i(), u("div", {
|
|
2830
2832
|
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2831
2833
|
class: l(e.question.cssClasses.tableWrapper)
|
|
@@ -2835,13 +2837,13 @@ const eo = /* @__PURE__ */ h({
|
|
|
2835
2837
|
}, [
|
|
2836
2838
|
o.value.showHeader ? (i(), u("thead", yo, [
|
|
2837
2839
|
c("tr", null, [
|
|
2838
|
-
(i(!0), u(
|
|
2840
|
+
(i(!0), u(_, null, D(o.value.headerRow.cells, (m) => (i(), u(_, null, [
|
|
2839
2841
|
m.hasTitle ? (i(), u("th", {
|
|
2840
2842
|
key: "header_" + m.id,
|
|
2841
2843
|
class: l(m.className),
|
|
2842
2844
|
style: S({ minWidth: m.minWidth, width: m.width })
|
|
2843
2845
|
}, [
|
|
2844
|
-
(i(), g(
|
|
2846
|
+
(i(), g(T(e.question.getColumnHeaderWrapperComponentName(m)), {
|
|
2845
2847
|
componentData: e.question.getColumnHeaderWrapperComponentData(m)
|
|
2846
2848
|
}, {
|
|
2847
2849
|
default: F(() => [
|
|
@@ -2866,7 +2868,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2866
2868
|
])
|
|
2867
2869
|
])) : d("", !0),
|
|
2868
2870
|
c("tbody", null, [
|
|
2869
|
-
(i(!0), u(
|
|
2871
|
+
(i(!0), u(_, null, D(o.value.rows, (m) => (i(), u(_, {
|
|
2870
2872
|
key: e.question.inputId + "_" + m.id
|
|
2871
2873
|
}, [
|
|
2872
2874
|
m.visible ? (i(), u("tr", {
|
|
@@ -2875,17 +2877,17 @@ const eo = /* @__PURE__ */ h({
|
|
|
2875
2877
|
onPointerdown: (q) => e.question.onPointerDown(q, m.row),
|
|
2876
2878
|
class: l(m.className)
|
|
2877
2879
|
}, [
|
|
2878
|
-
(i(!0), u(
|
|
2880
|
+
(i(!0), u(_, null, D(m.cells, (q, p) => (i(), g(y, {
|
|
2879
2881
|
cell: q,
|
|
2880
2882
|
question: e.question,
|
|
2881
|
-
key: m.id + "_" +
|
|
2883
|
+
key: m.id + "_" + p
|
|
2882
2884
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2883
2885
|
], 42, qo)) : d("", !0)
|
|
2884
2886
|
], 64))), 128))
|
|
2885
2887
|
]),
|
|
2886
2888
|
o.value.showFooter ? (i(), u("tfoot", go, [
|
|
2887
2889
|
c("tr", null, [
|
|
2888
|
-
(i(!0), u(
|
|
2890
|
+
(i(!0), u(_, null, D(o.value.footerRow.cells, (m, q) => (i(), g(y, {
|
|
2889
2891
|
cell: m,
|
|
2890
2892
|
question: e.question,
|
|
2891
2893
|
key: "footer_" + q
|
|
@@ -2904,12 +2906,12 @@ const eo = /* @__PURE__ */ h({
|
|
|
2904
2906
|
},
|
|
2905
2907
|
setup(r) {
|
|
2906
2908
|
const s = r;
|
|
2907
|
-
return
|
|
2909
|
+
return B(() => s.column), (o, e) => o.column.isRenderedRequired ? (i(), u(_, { key: 0 }, [
|
|
2908
2910
|
Co,
|
|
2909
2911
|
o.column.isRenderedRequired ? (i(), u("span", {
|
|
2910
2912
|
key: 0,
|
|
2911
2913
|
class: l(o.question.cssClasses.cellRequiredText)
|
|
2912
|
-
},
|
|
2914
|
+
}, R(o.column.requiredText), 3)) : d("", !0)
|
|
2913
2915
|
], 64)) : d("", !0);
|
|
2914
2916
|
}
|
|
2915
2917
|
}), ko = ["data-responsive-title", "title", "colspan"], fo = /* @__PURE__ */ h({
|
|
@@ -2919,132 +2921,132 @@ const eo = /* @__PURE__ */ h({
|
|
|
2919
2921
|
cell: {}
|
|
2920
2922
|
},
|
|
2921
2923
|
setup(r) {
|
|
2922
|
-
const s = r, o =
|
|
2924
|
+
const s = r, o = $(!1), e = $(), n = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, a = () => o.value = s.cell.question.isVisible, y = (p) => re(p);
|
|
2923
2925
|
H(() => {
|
|
2924
2926
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2925
2927
|
return;
|
|
2926
2928
|
a(), s.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
2927
2929
|
a();
|
|
2928
2930
|
});
|
|
2929
|
-
const
|
|
2931
|
+
const p = e.value, f = s.cell.question, b = {
|
|
2930
2932
|
cell: s.cell.cell,
|
|
2931
|
-
cellQuestion:
|
|
2932
|
-
htmlElement:
|
|
2933
|
+
cellQuestion: f,
|
|
2934
|
+
htmlElement: p,
|
|
2933
2935
|
row: s.cell.row,
|
|
2934
2936
|
column: s.cell.cell.column
|
|
2935
2937
|
};
|
|
2936
|
-
s.question.survey.matrixAfterCellRender(s.question, b),
|
|
2938
|
+
s.question.survey.matrixAfterCellRender(s.question, b), f && f.afterRenderCore(p);
|
|
2937
2939
|
});
|
|
2938
2940
|
const m = w(() => {
|
|
2939
|
-
const
|
|
2940
|
-
if (
|
|
2941
|
-
const
|
|
2941
|
+
const p = s.cell;
|
|
2942
|
+
if (p.hasPanel) {
|
|
2943
|
+
const f = p.panel, b = f.survey;
|
|
2942
2944
|
if (b) {
|
|
2943
|
-
const
|
|
2944
|
-
if (
|
|
2945
|
-
return
|
|
2945
|
+
const A = b.getElementWrapperComponentName(f);
|
|
2946
|
+
if (A)
|
|
2947
|
+
return A;
|
|
2946
2948
|
}
|
|
2947
2949
|
return "survey-panel";
|
|
2948
2950
|
}
|
|
2949
2951
|
}), q = w(() => {
|
|
2950
2952
|
if (s.cell.hasPanel) {
|
|
2951
|
-
const
|
|
2952
|
-
let
|
|
2953
|
-
return b && (
|
|
2953
|
+
const f = s.cell.panel, b = f.survey;
|
|
2954
|
+
let A;
|
|
2955
|
+
return b && (A = b.getElementWrapperComponentData(f)), {
|
|
2954
2956
|
componentName: "survey-panel",
|
|
2955
2957
|
componentData: {
|
|
2956
|
-
element:
|
|
2957
|
-
data:
|
|
2958
|
+
element: f,
|
|
2959
|
+
data: A,
|
|
2958
2960
|
css: s.question.cssClasses
|
|
2959
2961
|
}
|
|
2960
2962
|
};
|
|
2961
2963
|
}
|
|
2962
2964
|
});
|
|
2963
|
-
return (
|
|
2964
|
-
const b =
|
|
2965
|
+
return (p, f) => {
|
|
2966
|
+
const b = v("survey-errors"), A = v("sv-matrix-drag-drop-icon"), k = v("sv-action-bar"), L = v("survey-radiogroup-item"), E = v("survey-checkbox-item"), V = v("survey-other-choice"), K = v("survey-string");
|
|
2965
2967
|
return i(), u("td", {
|
|
2966
|
-
class: l(
|
|
2968
|
+
class: l(p.cell.className),
|
|
2967
2969
|
"data-responsive-title": n(),
|
|
2968
|
-
title:
|
|
2970
|
+
title: p.cell.getTitle(),
|
|
2969
2971
|
style: S(t()),
|
|
2970
|
-
colspan:
|
|
2971
|
-
onFocusin:
|
|
2972
|
+
colspan: p.cell.colSpans,
|
|
2973
|
+
onFocusin: f[0] || (f[0] = (ue) => p.cell.focusIn()),
|
|
2972
2974
|
ref_key: "root",
|
|
2973
2975
|
ref: e
|
|
2974
2976
|
}, [
|
|
2975
|
-
|
|
2977
|
+
p.cell.isErrorsCell ? (i(), g(b, {
|
|
2976
2978
|
key: 0,
|
|
2977
|
-
element:
|
|
2979
|
+
element: p.cell.question
|
|
2978
2980
|
}, null, 8, ["element"])) : d("", !0),
|
|
2979
|
-
|
|
2981
|
+
p.cell.isDragHandlerCell ? (i(), g(A, {
|
|
2980
2982
|
key: 1,
|
|
2981
|
-
item: { data: { row:
|
|
2983
|
+
item: { data: { row: p.cell.row, question: p.question } }
|
|
2982
2984
|
}, null, 8, ["item"])) : d("", !0),
|
|
2983
|
-
|
|
2985
|
+
p.cell.isActionsCell ? (i(), g(k, {
|
|
2984
2986
|
key: 2,
|
|
2985
|
-
model:
|
|
2987
|
+
model: p.cell.item.getData(),
|
|
2986
2988
|
handleClick: !1
|
|
2987
2989
|
}, null, 8, ["model"])) : d("", !0),
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
+
p.cell.hasPanel ? (i(), g(T(m.value), O(W({ key: 3 }, q.value)), null, 16)) : d("", !0),
|
|
2991
|
+
p.cell.hasQuestion ? N((i(), u("div", {
|
|
2990
2992
|
key: 4,
|
|
2991
|
-
class: l(
|
|
2993
|
+
class: l(p.question.cssClasses.cellQuestionWrapper)
|
|
2992
2994
|
}, [
|
|
2993
|
-
!
|
|
2995
|
+
!p.cell.isChoice && p.cell.question.isDefaultRendering() ? (i(), g(T(p.question.getCellWrapperComponentName(p.cell.cell)), {
|
|
2994
2996
|
key: 0,
|
|
2995
|
-
componentData:
|
|
2997
|
+
componentData: p.question.getCellWrapperComponentData(p.cell.cell)
|
|
2996
2998
|
}, {
|
|
2997
2999
|
default: F(() => [
|
|
2998
|
-
(i(), g(
|
|
2999
|
-
question:
|
|
3000
|
+
(i(), g(T(y(p.cell.question)), {
|
|
3001
|
+
question: p.cell.question
|
|
3000
3002
|
}, null, 8, ["question"]))
|
|
3001
3003
|
]),
|
|
3002
3004
|
_: 1
|
|
3003
3005
|
}, 8, ["componentData"])) : d("", !0),
|
|
3004
|
-
!
|
|
3006
|
+
!p.cell.isChoice && !p.cell.question.isDefaultRendering() ? (i(), g(T(p.cell.question.getComponentName()), {
|
|
3005
3007
|
key: 1,
|
|
3006
|
-
question:
|
|
3008
|
+
question: p.cell.question
|
|
3007
3009
|
}, null, 8, ["question"])) : d("", !0),
|
|
3008
|
-
|
|
3010
|
+
p.cell.isItemChoice ? (i(), g(T(p.question.getCellWrapperComponentName(p.cell.cell)), {
|
|
3009
3011
|
key: 2,
|
|
3010
|
-
componentData:
|
|
3012
|
+
componentData: p.question.getCellWrapperComponentData(p.cell.cell)
|
|
3011
3013
|
}, {
|
|
3012
3014
|
default: F(() => [
|
|
3013
|
-
|
|
3014
|
-
key:
|
|
3015
|
-
question:
|
|
3016
|
-
item:
|
|
3015
|
+
p.cell.isRadio ? (i(), g(L, {
|
|
3016
|
+
key: p.cell.item.value,
|
|
3017
|
+
question: p.cell.question,
|
|
3018
|
+
item: p.cell.item,
|
|
3017
3019
|
hideLabel: !0
|
|
3018
3020
|
}, null, 8, ["question", "item"])) : d("", !0),
|
|
3019
|
-
|
|
3020
|
-
key:
|
|
3021
|
-
question:
|
|
3022
|
-
item:
|
|
3021
|
+
p.cell.isCheckbox ? (i(), g(E, {
|
|
3022
|
+
key: p.cell.item.value,
|
|
3023
|
+
question: p.cell.question,
|
|
3024
|
+
item: p.cell.item,
|
|
3023
3025
|
hideLabel: !0
|
|
3024
3026
|
}, null, 8, ["question", "item"])) : d("", !0)
|
|
3025
3027
|
]),
|
|
3026
3028
|
_: 1
|
|
3027
3029
|
}, 8, ["componentData"])) : d("", !0),
|
|
3028
|
-
|
|
3030
|
+
p.cell.isOtherChoice ? (i(), g(V, {
|
|
3029
3031
|
key: 3,
|
|
3030
|
-
question:
|
|
3032
|
+
question: p.cell.question
|
|
3031
3033
|
}, null, 8, ["question"])) : d("", !0)
|
|
3032
3034
|
], 2)), [
|
|
3033
3035
|
[M, o.value]
|
|
3034
3036
|
]) : d("", !0),
|
|
3035
|
-
|
|
3037
|
+
p.cell.hasTitle ? (i(), g(T(p.question.getCellWrapperComponentName(p.cell)), {
|
|
3036
3038
|
key: 5,
|
|
3037
|
-
componentData:
|
|
3039
|
+
componentData: p.question.getCellWrapperComponentData(p.cell)
|
|
3038
3040
|
}, {
|
|
3039
3041
|
default: F(() => [
|
|
3040
|
-
|
|
3042
|
+
p.cell.hasTitle ? (i(), g(K, {
|
|
3041
3043
|
key: 0,
|
|
3042
|
-
locString:
|
|
3044
|
+
locString: p.cell.locTitle
|
|
3043
3045
|
}, null, 8, ["locString"])) : d("", !0),
|
|
3044
|
-
|
|
3046
|
+
p.cell.requiredText ? (i(), u("span", {
|
|
3045
3047
|
key: 1,
|
|
3046
|
-
class: l(
|
|
3047
|
-
},
|
|
3048
|
+
class: l(p.question.cssClasses.cellRequiredText)
|
|
3049
|
+
}, R(p.cell.requiredText), 3)) : d("", !0)
|
|
3048
3050
|
]),
|
|
3049
3051
|
_: 1
|
|
3050
3052
|
}, 8, ["componentData"])) : d("", !0)
|
|
@@ -3058,13 +3060,13 @@ const eo = /* @__PURE__ */ h({
|
|
|
3058
3060
|
question: {}
|
|
3059
3061
|
},
|
|
3060
3062
|
setup(r) {
|
|
3061
|
-
const s = r, o =
|
|
3062
|
-
|
|
3063
|
+
const s = r, o = $(null);
|
|
3064
|
+
P(s, o);
|
|
3063
3065
|
const e = () => {
|
|
3064
3066
|
s.question.addRowUI();
|
|
3065
3067
|
};
|
|
3066
3068
|
return (n, t) => {
|
|
3067
|
-
const a =
|
|
3069
|
+
const a = v("survey-string"), y = v("survey-matrixtable");
|
|
3068
3070
|
return i(), u("div", {
|
|
3069
3071
|
ref_key: "root",
|
|
3070
3072
|
ref: o
|
|
@@ -3150,18 +3152,18 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3150
3152
|
setup(r) {
|
|
3151
3153
|
const s = r, { question: o, row: e } = ae(s);
|
|
3152
3154
|
return (n, t) => {
|
|
3153
|
-
const a =
|
|
3155
|
+
const a = v("survey-string");
|
|
3154
3156
|
return i(), u("button", {
|
|
3155
3157
|
type: "button",
|
|
3156
|
-
class: l(
|
|
3157
|
-
disabled:
|
|
3158
|
-
onClick: t[0] || (t[0] = () =>
|
|
3158
|
+
class: l(I(o).getRemoveRowButtonCss()),
|
|
3159
|
+
disabled: I(o).isInputReadOnly,
|
|
3160
|
+
onClick: t[0] || (t[0] = () => I(o).removeRowUI(I(e)))
|
|
3159
3161
|
}, [
|
|
3160
3162
|
C(a, {
|
|
3161
|
-
locString:
|
|
3163
|
+
locString: I(o).locRemoveRowText
|
|
3162
3164
|
}, null, 8, ["locString"]),
|
|
3163
3165
|
c("span", {
|
|
3164
|
-
class: l(
|
|
3166
|
+
class: l(I(o).cssClasses.iconRemove)
|
|
3165
3167
|
}, null, 2)
|
|
3166
3168
|
], 10, wo);
|
|
3167
3169
|
};
|
|
@@ -3173,16 +3175,16 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3173
3175
|
},
|
|
3174
3176
|
setup(r) {
|
|
3175
3177
|
const s = r, { question: o } = ae(s, !1);
|
|
3176
|
-
return (e, n) =>
|
|
3178
|
+
return (e, n) => I(o).iconDragElement ? (i(), u("svg", {
|
|
3177
3179
|
key: 0,
|
|
3178
|
-
class: l(
|
|
3180
|
+
class: l(I(o).cssClasses.dragElementDecorator)
|
|
3179
3181
|
}, [
|
|
3180
3182
|
c("use", {
|
|
3181
|
-
"xlink:href":
|
|
3183
|
+
"xlink:href": I(o).iconDragElement
|
|
3182
3184
|
}, null, 8, Ro)
|
|
3183
3185
|
], 2)) : (i(), u("span", {
|
|
3184
3186
|
key: 1,
|
|
3185
|
-
class: l(
|
|
3187
|
+
class: l(I(o).cssClasses.iconDrag)
|
|
3186
3188
|
}, null, 2));
|
|
3187
3189
|
}
|
|
3188
3190
|
}), $o = ["aria-expanded", "aria-controls"], _o = /* @__PURE__ */ h({
|
|
@@ -3193,17 +3195,17 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3193
3195
|
setup(r) {
|
|
3194
3196
|
const s = r, { question: o, row: e } = ae(s);
|
|
3195
3197
|
return (n, t) => {
|
|
3196
|
-
const a =
|
|
3198
|
+
const a = v("sv-svg-icon");
|
|
3197
3199
|
return i(), u("button", {
|
|
3198
3200
|
type: "button",
|
|
3199
|
-
class: l(
|
|
3200
|
-
onClick: t[0] || (t[0] = () =>
|
|
3201
|
-
"aria-expanded":
|
|
3202
|
-
"aria-controls":
|
|
3201
|
+
class: l(I(o).getDetailPanelButtonCss(I(e))),
|
|
3202
|
+
onClick: t[0] || (t[0] = () => I(e).showHideDetailPanelClick()),
|
|
3203
|
+
"aria-expanded": I(o).getIsDetailPanelShowing(I(e)) ? "true" : "false",
|
|
3204
|
+
"aria-controls": I(o).getIsDetailPanelShowing(I(e)) ? I(e).detailPanelId : null
|
|
3203
3205
|
}, [
|
|
3204
3206
|
C(a, {
|
|
3205
|
-
class: l(
|
|
3206
|
-
iconName:
|
|
3207
|
+
class: l(I(o).getDetailPanelIconCss(I(e))),
|
|
3208
|
+
iconName: I(o).getDetailPanelIconId(I(e)),
|
|
3207
3209
|
size: "auto"
|
|
3208
3210
|
}, null, 8, ["class", "iconName"])
|
|
3209
3211
|
], 10, $o);
|
|
@@ -3217,8 +3219,8 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3217
3219
|
css: {}
|
|
3218
3220
|
},
|
|
3219
3221
|
setup(r) {
|
|
3220
|
-
const s = r, o =
|
|
3221
|
-
|
|
3222
|
+
const s = r, o = $(null), e = ie();
|
|
3223
|
+
P(
|
|
3222
3224
|
s,
|
|
3223
3225
|
o,
|
|
3224
3226
|
(m) => {
|
|
@@ -3248,24 +3250,24 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3248
3250
|
}), t = () => s.question.showLegacyNavigation, a = (m) => {
|
|
3249
3251
|
const q = s.question.getSurvey();
|
|
3250
3252
|
if (q) {
|
|
3251
|
-
const
|
|
3252
|
-
if (
|
|
3253
|
-
return
|
|
3253
|
+
const p = q.getElementWrapperComponentName(m);
|
|
3254
|
+
if (p)
|
|
3255
|
+
return p;
|
|
3254
3256
|
}
|
|
3255
3257
|
return "panel";
|
|
3256
3258
|
}, y = (m) => {
|
|
3257
3259
|
const q = s.question.getSurvey();
|
|
3258
|
-
let
|
|
3259
|
-
return q && (
|
|
3260
|
+
let p;
|
|
3261
|
+
return q && (p = q.getElementWrapperComponentData(m)), {
|
|
3260
3262
|
componentName: "survey-panel",
|
|
3261
3263
|
componentData: {
|
|
3262
3264
|
element: m,
|
|
3263
|
-
data:
|
|
3265
|
+
data: p
|
|
3264
3266
|
}
|
|
3265
3267
|
};
|
|
3266
3268
|
};
|
|
3267
3269
|
return (m, q) => {
|
|
3268
|
-
const
|
|
3270
|
+
const p = v("survey-string"), f = v("sv-paneldynamic-add-btn"), b = v("survey-paneldynamicprogress"), A = v("sv-paneldynamic-remove-btn"), k = v("survey-paneldynamicprogress-v2");
|
|
3269
3271
|
return i(), u("div", {
|
|
3270
3272
|
class: l(m.question.cssClasses.root),
|
|
3271
3273
|
ref_key: "root",
|
|
@@ -3276,11 +3278,11 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3276
3278
|
class: l(m.question.cssClasses.noEntriesPlaceholder)
|
|
3277
3279
|
}, [
|
|
3278
3280
|
c("span", null, [
|
|
3279
|
-
C(
|
|
3281
|
+
C(p, {
|
|
3280
3282
|
locString: m.question.locNoEntriesText
|
|
3281
3283
|
}, null, 8, ["locString"])
|
|
3282
3284
|
]),
|
|
3283
|
-
C(
|
|
3285
|
+
C(f, {
|
|
3284
3286
|
data: { question: m.question }
|
|
3285
3287
|
}, null, 8, ["data"])
|
|
3286
3288
|
], 2)) : d("", !0),
|
|
@@ -3298,28 +3300,28 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3298
3300
|
key: 2,
|
|
3299
3301
|
question: m.question
|
|
3300
3302
|
}, null, 8, ["question"])) : d("", !0),
|
|
3301
|
-
(i(!0), u(
|
|
3302
|
-
key:
|
|
3303
|
+
(i(!0), u(_, null, D(n.value, (L, E) => (i(), u(_, {
|
|
3304
|
+
key: L.id
|
|
3303
3305
|
}, [
|
|
3304
3306
|
c("div", {
|
|
3305
3307
|
class: l(m.question.getPanelWrapperCss())
|
|
3306
3308
|
}, [
|
|
3307
|
-
(i(), g(
|
|
3308
|
-
m.question.panelRemoveButtonLocation === "right" && m.question.canRemovePanel &&
|
|
3309
|
+
(i(), g(T(a(L)), O(ne(y(L))), null, 16)),
|
|
3310
|
+
m.question.panelRemoveButtonLocation === "right" && m.question.canRemovePanel && L.state !== "collapsed" ? (i(), g(A, {
|
|
3309
3311
|
key: 0,
|
|
3310
|
-
data: { question: m.question, panel:
|
|
3312
|
+
data: { question: m.question, panel: L }
|
|
3311
3313
|
}, null, 8, ["data"])) : d("", !0)
|
|
3312
3314
|
], 2),
|
|
3313
3315
|
m.question.isRenderModeList && E < m.question.visiblePanelCount - 1 ? (i(), u("hr", {
|
|
3314
3316
|
class: l(m.question.cssClasses.separator),
|
|
3315
|
-
key: "separator" +
|
|
3317
|
+
key: "separator" + L.id
|
|
3316
3318
|
}, null, 2)) : d("", !0)
|
|
3317
3319
|
], 64))), 128)),
|
|
3318
3320
|
t() && m.question.isProgressBottomShowing ? (i(), g(b, {
|
|
3319
3321
|
key: 3,
|
|
3320
3322
|
question: m.question
|
|
3321
3323
|
}, null, 8, ["question"])) : d("", !0),
|
|
3322
|
-
t() && m.question.isRenderModeList ? (i(), g(
|
|
3324
|
+
t() && m.question.isRenderModeList ? (i(), g(f, {
|
|
3323
3325
|
key: 4,
|
|
3324
3326
|
data: { question: m.question }
|
|
3325
3327
|
}, null, 8, ["data"])) : d("", !0),
|
|
@@ -3338,7 +3340,7 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3338
3340
|
setup(r) {
|
|
3339
3341
|
const s = r, o = () => s.question.isProgressTopShowing ? s.question.cssClasses.progressTop : s.question.cssClasses.progressBottom;
|
|
3340
3342
|
return (e, n) => {
|
|
3341
|
-
const t =
|
|
3343
|
+
const t = v("sv-paneldynamic-prev-btn"), a = v("sv-paneldynamic-next-btn"), y = v("sv-paneldynamic-add-btn"), m = v("sv-paneldynamic-progress-text");
|
|
3342
3344
|
return i(), u("div", {
|
|
3343
3345
|
class: l(o())
|
|
3344
3346
|
}, [
|
|
@@ -3383,7 +3385,7 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3383
3385
|
},
|
|
3384
3386
|
setup(r) {
|
|
3385
3387
|
return (s, o) => {
|
|
3386
|
-
const e =
|
|
3388
|
+
const e = v("sv-action-bar");
|
|
3387
3389
|
return s.question.cssClasses.footer ? (i(), u("div", {
|
|
3388
3390
|
key: 0,
|
|
3389
3391
|
class: l(s.question.cssClasses.footer)
|
|
@@ -3429,18 +3431,18 @@ const No = /* @__PURE__ */ h({
|
|
|
3429
3431
|
o.value.addPanelUI();
|
|
3430
3432
|
};
|
|
3431
3433
|
return (n, t) => {
|
|
3432
|
-
const a =
|
|
3433
|
-
return
|
|
3434
|
+
const a = v("survey-string");
|
|
3435
|
+
return I(o).canAddPanel ? (i(), u("button", {
|
|
3434
3436
|
key: 0,
|
|
3435
3437
|
type: "button",
|
|
3436
|
-
class: l(
|
|
3438
|
+
class: l(I(o).getAddButtonCss()),
|
|
3437
3439
|
onClick: e
|
|
3438
3440
|
}, [
|
|
3439
3441
|
c("span", {
|
|
3440
|
-
class: l(
|
|
3442
|
+
class: l(I(o).cssClasses.buttonAddText)
|
|
3441
3443
|
}, [
|
|
3442
3444
|
C(a, {
|
|
3443
|
-
locString:
|
|
3445
|
+
locString: I(o).locPanelAddText
|
|
3444
3446
|
}, null, 8, ["locString"])
|
|
3445
3447
|
], 2)
|
|
3446
3448
|
], 2)) : d("", !0);
|
|
@@ -3457,14 +3459,14 @@ const No = /* @__PURE__ */ h({
|
|
|
3457
3459
|
o.value.goToNextPanel();
|
|
3458
3460
|
};
|
|
3459
3461
|
return (n, t) => {
|
|
3460
|
-
const a =
|
|
3462
|
+
const a = v("sv-svg-icon");
|
|
3461
3463
|
return i(), u("div", {
|
|
3462
|
-
title:
|
|
3464
|
+
title: I(o).panelNextText,
|
|
3463
3465
|
onClick: e,
|
|
3464
|
-
class: l(
|
|
3466
|
+
class: l(I(o).getNextButtonCss())
|
|
3465
3467
|
}, [
|
|
3466
3468
|
C(a, {
|
|
3467
|
-
iconName:
|
|
3469
|
+
iconName: I(o).cssClasses.progressBtnIcon,
|
|
3468
3470
|
size: "auto"
|
|
3469
3471
|
}, null, 8, ["iconName"])
|
|
3470
3472
|
], 10, Po);
|
|
@@ -3481,14 +3483,14 @@ const No = /* @__PURE__ */ h({
|
|
|
3481
3483
|
o.value.goToPrevPanel();
|
|
3482
3484
|
};
|
|
3483
3485
|
return (n, t) => {
|
|
3484
|
-
const a =
|
|
3486
|
+
const a = v("sv-svg-icon");
|
|
3485
3487
|
return i(), u("div", {
|
|
3486
|
-
title:
|
|
3488
|
+
title: I(o).panelPrevText,
|
|
3487
3489
|
onClick: e,
|
|
3488
|
-
class: l(
|
|
3490
|
+
class: l(I(o).getPrevButtonCss())
|
|
3489
3491
|
}, [
|
|
3490
3492
|
C(a, {
|
|
3491
|
-
iconName:
|
|
3493
|
+
iconName: I(o).cssClasses.progressBtnIcon,
|
|
3492
3494
|
size: "auto"
|
|
3493
3495
|
}, null, 8, ["iconName"])
|
|
3494
3496
|
], 10, Mo);
|
|
@@ -3507,21 +3509,21 @@ const No = /* @__PURE__ */ h({
|
|
|
3507
3509
|
o.value.isInputReadOnly || o.value.removePanelUI(t);
|
|
3508
3510
|
};
|
|
3509
3511
|
return (t, a) => {
|
|
3510
|
-
const y =
|
|
3512
|
+
const y = v("survey-string");
|
|
3511
3513
|
return i(), u("button", {
|
|
3512
3514
|
type: "button",
|
|
3513
|
-
class: l(
|
|
3515
|
+
class: l(I(o).getPanelRemoveButtonCss()),
|
|
3514
3516
|
onClick: a[0] || (a[0] = (m) => n(e.value))
|
|
3515
3517
|
}, [
|
|
3516
3518
|
c("span", {
|
|
3517
|
-
class: l(
|
|
3519
|
+
class: l(I(o).cssClasses.buttonRemoveText)
|
|
3518
3520
|
}, [
|
|
3519
3521
|
C(y, {
|
|
3520
|
-
locString:
|
|
3522
|
+
locString: I(o).locPanelRemoveText
|
|
3521
3523
|
}, null, 8, ["locString"])
|
|
3522
3524
|
], 2),
|
|
3523
3525
|
c("span", {
|
|
3524
|
-
class: l(
|
|
3526
|
+
class: l(I(o).cssClasses.iconRemove)
|
|
3525
3527
|
}, null, 2)
|
|
3526
3528
|
], 2);
|
|
3527
3529
|
};
|
|
@@ -3535,8 +3537,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3535
3537
|
setup(r) {
|
|
3536
3538
|
const o = Y(r);
|
|
3537
3539
|
return (e, n) => (i(), u("div", {
|
|
3538
|
-
class: l(
|
|
3539
|
-
},
|
|
3540
|
+
class: l(I(o).cssClasses.progressText)
|
|
3541
|
+
}, R(I(o).progressText), 3));
|
|
3540
3542
|
}
|
|
3541
3543
|
}), Vo = ["id"], Fo = /* @__PURE__ */ h({
|
|
3542
3544
|
__name: "Errors",
|
|
@@ -3545,9 +3547,9 @@ const No = /* @__PURE__ */ h({
|
|
|
3545
3547
|
location: {}
|
|
3546
3548
|
},
|
|
3547
3549
|
setup(r) {
|
|
3548
|
-
const s =
|
|
3550
|
+
const s = $();
|
|
3549
3551
|
return (o, e) => {
|
|
3550
|
-
const n =
|
|
3552
|
+
const n = v("survey-string");
|
|
3551
3553
|
return o.element.hasVisibleErrors ? (i(), u("div", {
|
|
3552
3554
|
key: 0,
|
|
3553
3555
|
role: "alert",
|
|
@@ -3557,7 +3559,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3557
3559
|
ref_key: "root",
|
|
3558
3560
|
ref: s
|
|
3559
3561
|
}, [
|
|
3560
|
-
(i(!0), u(
|
|
3562
|
+
(i(!0), u(_, null, D(o.element.errors, (t, a) => (i(), u("div", {
|
|
3561
3563
|
key: "error_" + a
|
|
3562
3564
|
}, [
|
|
3563
3565
|
c("span", {
|
|
@@ -3585,7 +3587,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3585
3587
|
question: {}
|
|
3586
3588
|
},
|
|
3587
3589
|
setup(r) {
|
|
3588
|
-
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", Oo,
|
|
3590
|
+
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", Oo, R(s.question.comment), 1)) : (i(), u("textarea", {
|
|
3589
3591
|
key: 1,
|
|
3590
3592
|
id: s.question.commentId,
|
|
3591
3593
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3616,8 +3618,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3616
3618
|
ge(o);
|
|
3617
3619
|
};
|
|
3618
3620
|
return (o, e) => {
|
|
3619
|
-
const n =
|
|
3620
|
-
return o.element.hasTitle ? (i(), g(
|
|
3621
|
+
const n = v("survey-element-title-content"), t = v("sv-title-actions");
|
|
3622
|
+
return o.element.hasTitle ? (i(), g(T(o.element.titleTagName), {
|
|
3621
3623
|
key: 0,
|
|
3622
3624
|
class: l(o.element.cssTitle),
|
|
3623
3625
|
"aria-label": o.element.titleAriaLabel,
|
|
@@ -3654,8 +3656,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3654
3656
|
},
|
|
3655
3657
|
setup(r) {
|
|
3656
3658
|
return (s, o) => {
|
|
3657
|
-
const e =
|
|
3658
|
-
return i(), u(
|
|
3659
|
+
const e = v("survey-string");
|
|
3660
|
+
return i(), u(_, null, [
|
|
3659
3661
|
s.element.isTitleRenderedAsString ? (i(), g(e, {
|
|
3660
3662
|
key: 0,
|
|
3661
3663
|
locString: s.element.locTitle
|
|
@@ -3664,19 +3666,19 @@ const No = /* @__PURE__ */ h({
|
|
|
3664
3666
|
key: 1,
|
|
3665
3667
|
class: l(s.element.cssClasses.requiredText),
|
|
3666
3668
|
"aria-hidden": !0
|
|
3667
|
-
},
|
|
3669
|
+
}, R(s.element.requiredText), 3)) : d("", !0),
|
|
3668
3670
|
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", {
|
|
3669
3671
|
key: 2,
|
|
3670
3672
|
style: { position: "static" },
|
|
3671
3673
|
class: l(s.element.cssTitleNumber),
|
|
3672
3674
|
"aria-hidden": !0
|
|
3673
|
-
},
|
|
3675
|
+
}, R(s.element.no), 3)) : d("", !0),
|
|
3674
3676
|
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", jo, "\xA0")) : d("", !0),
|
|
3675
3677
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3676
3678
|
key: 4,
|
|
3677
3679
|
class: l(s.element.cssClasses.requiredText),
|
|
3678
3680
|
"aria-hidden": !0
|
|
3679
|
-
},
|
|
3681
|
+
}, R(s.element.requiredText), 3)) : d("", !0),
|
|
3680
3682
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", Qo, "\xA0")) : d("", !0),
|
|
3681
3683
|
s.element.isTitleRenderedAsString ? d("", !0) : (i(), g(e, {
|
|
3682
3684
|
key: 6,
|
|
@@ -3687,7 +3689,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3687
3689
|
key: 8,
|
|
3688
3690
|
class: l(s.element.cssClasses.requiredText),
|
|
3689
3691
|
"aria-hidden": !0
|
|
3690
|
-
},
|
|
3692
|
+
}, R(s.element.requiredText), 3)) : d("", !0)
|
|
3691
3693
|
], 64);
|
|
3692
3694
|
};
|
|
3693
3695
|
}
|
|
@@ -3700,7 +3702,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3700
3702
|
setup(r) {
|
|
3701
3703
|
const s = r, o = w(() => s.element.getTitleToolbar());
|
|
3702
3704
|
return (e, n) => {
|
|
3703
|
-
const t =
|
|
3705
|
+
const t = v("survey-string"), a = v("survey-element-title-content"), y = v("sv-action-bar");
|
|
3704
3706
|
return i(), u("div", Xo, [
|
|
3705
3707
|
c("span", Yo, [
|
|
3706
3708
|
e.element.isPage ? (i(), g(t, {
|
|
@@ -3740,7 +3742,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3740
3742
|
title: {}
|
|
3741
3743
|
},
|
|
3742
3744
|
setup(r) {
|
|
3743
|
-
const s = r, o =
|
|
3745
|
+
const s = r, o = $(), e = () => {
|
|
3744
3746
|
Pe(
|
|
3745
3747
|
s.size,
|
|
3746
3748
|
s.width,
|
|
@@ -3769,17 +3771,17 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3769
3771
|
handleClick: { type: Boolean, default: !0 }
|
|
3770
3772
|
},
|
|
3771
3773
|
setup(r) {
|
|
3772
|
-
const s = r, o =
|
|
3774
|
+
const s = r, o = $(null), e = (t) => {
|
|
3773
3775
|
s.handleClick && t.stopPropagation();
|
|
3774
3776
|
};
|
|
3775
|
-
|
|
3777
|
+
B(() => s.model);
|
|
3776
3778
|
const n = le(() => s.model.renderedActions);
|
|
3777
3779
|
return H(() => {
|
|
3778
3780
|
!s.model.hasActions || s.model.initResponsivityManager(o.value);
|
|
3779
3781
|
}), U(() => {
|
|
3780
3782
|
s.model.resetResponsivityManager();
|
|
3781
3783
|
}), (t, a) => {
|
|
3782
|
-
const y =
|
|
3784
|
+
const y = v("sv-action");
|
|
3783
3785
|
return t.model.hasActions ? (i(), u("div", {
|
|
3784
3786
|
key: 0,
|
|
3785
3787
|
ref_key: "root",
|
|
@@ -3787,7 +3789,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3787
3789
|
class: l(t.model.getRootCss()),
|
|
3788
3790
|
onClick: e
|
|
3789
3791
|
}, [
|
|
3790
|
-
(i(!0), u(
|
|
3792
|
+
(i(!0), u(_, null, D(I(n), (m) => (i(), g(y, {
|
|
3791
3793
|
key: m.id,
|
|
3792
3794
|
item: m
|
|
3793
3795
|
}, null, 8, ["item"]))), 128))
|
|
@@ -3803,15 +3805,15 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3803
3805
|
const s = r, o = w(
|
|
3804
3806
|
() => s.item.component || "sv-action-bar-item"
|
|
3805
3807
|
);
|
|
3806
|
-
return
|
|
3807
|
-
const t =
|
|
3808
|
+
return B(() => s.item), (e, n) => {
|
|
3809
|
+
const t = v("sv-action-bar-separator");
|
|
3808
3810
|
return i(), u("div", {
|
|
3809
3811
|
class: l(e.item.getActionRootCss()),
|
|
3810
3812
|
id: e.item.id
|
|
3811
3813
|
}, [
|
|
3812
3814
|
c("div", dt, [
|
|
3813
3815
|
e.item.needSeparator ? (i(), g(t, { key: 0 })) : d("", !0),
|
|
3814
|
-
(i(), g(
|
|
3816
|
+
(i(), g(T(o.value), { item: e.item }, null, 8, ["item"]))
|
|
3815
3817
|
])
|
|
3816
3818
|
], 10, ut);
|
|
3817
3819
|
};
|
|
@@ -3826,9 +3828,9 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3826
3828
|
},
|
|
3827
3829
|
setup(r) {
|
|
3828
3830
|
const s = r;
|
|
3829
|
-
return
|
|
3830
|
-
const n =
|
|
3831
|
-
return
|
|
3831
|
+
return B(() => s.item), (o, e) => {
|
|
3832
|
+
const n = v("sv-svg-icon"), t = X("key2click");
|
|
3833
|
+
return N((i(), u("button", {
|
|
3832
3834
|
class: l(o.item.getActionBarItemCss()),
|
|
3833
3835
|
type: "button",
|
|
3834
3836
|
onClick: e[0] || (e[0] = (a) => {
|
|
@@ -3853,7 +3855,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3853
3855
|
o.item.hasTitle ? (i(), u("span", {
|
|
3854
3856
|
key: 1,
|
|
3855
3857
|
class: l(o.item.getActionBarItemTitleCss())
|
|
3856
|
-
},
|
|
3858
|
+
}, R(o.item.title), 3)) : d("", !0)
|
|
3857
3859
|
], 42, ct)), [
|
|
3858
3860
|
[t, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3859
3861
|
]);
|
|
@@ -3870,7 +3872,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3870
3872
|
setup(r) {
|
|
3871
3873
|
const s = r, o = Me;
|
|
3872
3874
|
let e;
|
|
3873
|
-
return
|
|
3875
|
+
return B(
|
|
3874
3876
|
() => s.item,
|
|
3875
3877
|
(n) => {
|
|
3876
3878
|
e = new Ae(n);
|
|
@@ -3879,9 +3881,9 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3879
3881
|
e.dispose();
|
|
3880
3882
|
}
|
|
3881
3883
|
), (n, t) => {
|
|
3882
|
-
const a =
|
|
3883
|
-
return i(), u(
|
|
3884
|
-
|
|
3884
|
+
const a = v("sv-svg-icon"), y = v("sv-popup"), m = X("key2click");
|
|
3885
|
+
return i(), u(_, null, [
|
|
3886
|
+
N((i(), u("button", {
|
|
3885
3887
|
type: "button",
|
|
3886
3888
|
class: l(n.item.getActionBarItemCss()),
|
|
3887
3889
|
onClick: t[0] || (t[0] = (q) => {
|
|
@@ -3904,13 +3906,13 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3904
3906
|
n.item.hasTitle ? (i(), u("span", {
|
|
3905
3907
|
key: 1,
|
|
3906
3908
|
class: l(n.item.getActionBarItemTitleCss())
|
|
3907
|
-
},
|
|
3909
|
+
}, R(n.item.title), 3)) : d("", !0)
|
|
3908
3910
|
], 42, yt)), [
|
|
3909
3911
|
[m, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3910
3912
|
]),
|
|
3911
3913
|
C(y, {
|
|
3912
3914
|
model: n.item.popupModel,
|
|
3913
|
-
getTarget:
|
|
3915
|
+
getTarget: I(o)
|
|
3914
3916
|
}, null, 8, ["model", "getTarget"])
|
|
3915
3917
|
], 64);
|
|
3916
3918
|
};
|
|
@@ -3932,7 +3934,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3932
3934
|
model: {}
|
|
3933
3935
|
},
|
|
3934
3936
|
setup(r) {
|
|
3935
|
-
const s = r, o =
|
|
3937
|
+
const s = r, o = $(null), e = (a) => {
|
|
3936
3938
|
const y = s.model;
|
|
3937
3939
|
y.filterString = a.target.value;
|
|
3938
3940
|
}, n = (a) => {
|
|
@@ -3941,10 +3943,10 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3941
3943
|
}, t = (a) => {
|
|
3942
3944
|
s.model.onMouseMove(a);
|
|
3943
3945
|
};
|
|
3944
|
-
return
|
|
3946
|
+
return B(() => s.model), H(() => {
|
|
3945
3947
|
s.model.initListContainerHtmlElement(o.value);
|
|
3946
3948
|
}), (a, y) => {
|
|
3947
|
-
const m =
|
|
3949
|
+
const m = v("sv-svg-icon"), q = v("sv-list-item");
|
|
3948
3950
|
return i(), u("div", {
|
|
3949
3951
|
class: l(a.model.cssClasses.root),
|
|
3950
3952
|
ref_key: "listContainerElement",
|
|
@@ -3973,8 +3975,8 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3973
3975
|
}, null, 42, Ct),
|
|
3974
3976
|
a.model.showSearchClearButton && !!a.model.filterString ? (i(), u("button", {
|
|
3975
3977
|
key: 0,
|
|
3976
|
-
onClick: y[0] || (y[0] = (
|
|
3977
|
-
a.model.onClickSearchClearButton(
|
|
3978
|
+
onClick: y[0] || (y[0] = (p) => {
|
|
3979
|
+
a.model.onClickSearchClearButton(p);
|
|
3978
3980
|
}),
|
|
3979
3981
|
class: l(a.model.cssClasses.searchClearButtonIcon)
|
|
3980
3982
|
}, [
|
|
@@ -3984,33 +3986,33 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3984
3986
|
})
|
|
3985
3987
|
], 2)) : d("", !0)
|
|
3986
3988
|
], 2)) : d("", !0),
|
|
3987
|
-
|
|
3989
|
+
N(c("div", {
|
|
3988
3990
|
class: l(a.model.cssClasses.emptyContainer)
|
|
3989
3991
|
}, [
|
|
3990
3992
|
c("div", {
|
|
3991
3993
|
class: l(a.model.cssClasses.emptyText),
|
|
3992
3994
|
"aria-label": a.model.emptyMessage
|
|
3993
|
-
},
|
|
3995
|
+
}, R(a.model.emptyMessage), 11, bt)
|
|
3994
3996
|
], 2), [
|
|
3995
3997
|
[M, a.model.isEmpty]
|
|
3996
3998
|
]),
|
|
3997
|
-
a.model.renderElements ?
|
|
3999
|
+
a.model.renderElements ? N((i(), u("ul", {
|
|
3998
4000
|
key: 1,
|
|
3999
4001
|
class: l(a.model.getListClass()),
|
|
4000
4002
|
role: "listbox",
|
|
4001
4003
|
id: a.model.elementId,
|
|
4002
|
-
onMousedown: y[1] || (y[1] = (
|
|
4003
|
-
|
|
4004
|
+
onMousedown: y[1] || (y[1] = (p) => {
|
|
4005
|
+
p.preventDefault();
|
|
4004
4006
|
}),
|
|
4005
4007
|
onMousemove: t,
|
|
4006
|
-
onKeydown: y[2] || (y[2] = (
|
|
4007
|
-
a.model.onKeyDown(
|
|
4008
|
+
onKeydown: y[2] || (y[2] = (p) => {
|
|
4009
|
+
a.model.onKeyDown(p);
|
|
4008
4010
|
})
|
|
4009
4011
|
}, [
|
|
4010
|
-
(i(!0), u(
|
|
4011
|
-
item:
|
|
4012
|
+
(i(!0), u(_, null, D(a.model.renderedActions, (p) => (i(), g(q, {
|
|
4013
|
+
item: p,
|
|
4012
4014
|
model: a.model,
|
|
4013
|
-
key:
|
|
4015
|
+
key: p.id
|
|
4014
4016
|
}, null, 8, ["item", "model"]))), 128))
|
|
4015
4017
|
], 42, kt)), [
|
|
4016
4018
|
[M, !a.model.isEmpty]
|
|
@@ -4028,13 +4030,13 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4028
4030
|
const s = r, o = w(() => s.item.elementId), e = (n) => {
|
|
4029
4031
|
s.model.onItemClick(s.item), n.stopPropagation();
|
|
4030
4032
|
};
|
|
4031
|
-
return
|
|
4033
|
+
return B(() => s.item), H(() => {
|
|
4032
4034
|
setTimeout(() => {
|
|
4033
4035
|
s.model.onLastItemRended(s.item);
|
|
4034
4036
|
});
|
|
4035
4037
|
}), (n, t) => {
|
|
4036
|
-
const a =
|
|
4037
|
-
return
|
|
4038
|
+
const a = v("sv-svg-icon"), y = v("survey-string"), m = X("key2click");
|
|
4039
|
+
return N((i(), u("li", {
|
|
4038
4040
|
tabindex: "0",
|
|
4039
4041
|
role: "option",
|
|
4040
4042
|
"aria-selected": n.model.isItemSelected(n.item),
|
|
@@ -4063,7 +4065,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4063
4065
|
key: 1,
|
|
4064
4066
|
locString: n.item.locTitle
|
|
4065
4067
|
}, null, 8, ["locString"])),
|
|
4066
|
-
n.item.component ? (i(), g(
|
|
4068
|
+
n.item.component ? (i(), g(T(n.item.component), {
|
|
4067
4069
|
key: 2,
|
|
4068
4070
|
item: n.item
|
|
4069
4071
|
}, null, 8, ["item"])) : d("", !0)
|
|
@@ -4083,14 +4085,14 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4083
4085
|
setup(r) {
|
|
4084
4086
|
const s = r, o = z(
|
|
4085
4087
|
de(s.model, void 0)
|
|
4086
|
-
), e =
|
|
4088
|
+
), e = $(null);
|
|
4087
4089
|
return J(
|
|
4088
4090
|
() => s.model,
|
|
4089
4091
|
(n) => {
|
|
4090
4092
|
o.value.dispose(), o.value = de(n, void 0);
|
|
4091
4093
|
},
|
|
4092
4094
|
{ immediate: !0 }
|
|
4093
|
-
),
|
|
4095
|
+
), B(() => o.value), H(() => {
|
|
4094
4096
|
const n = e.value;
|
|
4095
4097
|
o.value.setComponentElement(
|
|
4096
4098
|
n,
|
|
@@ -4099,7 +4101,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4099
4101
|
}), U(() => {
|
|
4100
4102
|
o.value.dispose();
|
|
4101
4103
|
}), (n, t) => {
|
|
4102
|
-
const a =
|
|
4104
|
+
const a = v("sv-popup-container");
|
|
4103
4105
|
return i(), u("div", {
|
|
4104
4106
|
ref_key: "root",
|
|
4105
4107
|
ref: e
|
|
@@ -4125,14 +4127,14 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4125
4127
|
const e = (n) => {
|
|
4126
4128
|
n.stopPropagation();
|
|
4127
4129
|
};
|
|
4128
|
-
return
|
|
4130
|
+
return B(() => s.model), te(() => {
|
|
4129
4131
|
const n = s.model;
|
|
4130
4132
|
!o && n.isVisible && s.model.updateOnShowing(), o = n.isVisible;
|
|
4131
4133
|
}), H(() => {
|
|
4132
4134
|
s.model.isVisible && s.model.updateOnShowing();
|
|
4133
4135
|
}), (n, t) => {
|
|
4134
|
-
const a =
|
|
4135
|
-
return
|
|
4136
|
+
const a = v("sv-action-bar");
|
|
4137
|
+
return N((i(), u("div", {
|
|
4136
4138
|
tabindex: "-1",
|
|
4137
4139
|
class: l(["sv-popup", n.model.styleClass]),
|
|
4138
4140
|
onKeydown: t[0] || (t[0] = (y) => {
|
|
@@ -4154,15 +4156,15 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4154
4156
|
onClick: e
|
|
4155
4157
|
}, [
|
|
4156
4158
|
c("div", Tt, [
|
|
4157
|
-
n.model.showHeader ? (i(), g(
|
|
4159
|
+
n.model.showHeader ? (i(), g(T(n.model.popupHeaderTemplate), {
|
|
4158
4160
|
key: 0,
|
|
4159
4161
|
model: n.model
|
|
4160
4162
|
}, null, 8, ["model"])) : d("", !0),
|
|
4161
4163
|
c("div", $t, [
|
|
4162
|
-
n.model.title ? (i(), u("div", _t,
|
|
4164
|
+
n.model.title ? (i(), u("div", _t, R(n.model.title), 1)) : d("", !0),
|
|
4163
4165
|
c("div", Dt, [
|
|
4164
4166
|
c("div", Bt, [
|
|
4165
|
-
(i(), g(
|
|
4167
|
+
(i(), g(T(n.model.contentComponentName), O(ne(n.model.contentComponentData)), null, 16))
|
|
4166
4168
|
])
|
|
4167
4169
|
]),
|
|
4168
4170
|
n.model.showFooter ? (i(), u("div", Lt, [
|
|
@@ -4206,17 +4208,18 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4206
4208
|
const s = r, o = w(
|
|
4207
4209
|
() => s.survey.getContainerContent(s.container)
|
|
4208
4210
|
);
|
|
4209
|
-
return (e, n) => o.value.length > 0 ? (i(), u(
|
|
4211
|
+
return (e, n) => o.value.length > 0 ? (i(), u(_, { key: 0 }, [
|
|
4210
4212
|
e.needRenderWrapper ? (i(), u("div", At, [
|
|
4211
|
-
(i(!0), u(
|
|
4213
|
+
(i(!0), u(_, null, D(o.value, (t, a) => (i(), g(T(t.component), {
|
|
4212
4214
|
survey: e.survey,
|
|
4213
4215
|
container: e.container,
|
|
4214
4216
|
model: t.data
|
|
4215
4217
|
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4216
|
-
])) : (i(!0), u(
|
|
4218
|
+
])) : (i(!0), u(_, { key: 1 }, D(o.value, (t, a) => (i(), g(T(t.component), {
|
|
4217
4219
|
survey: e.survey,
|
|
4220
|
+
container: e.container,
|
|
4218
4221
|
model: t.data
|
|
4219
|
-
}, null, 8, ["survey", "model"]))), 256))
|
|
4222
|
+
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4220
4223
|
], 64)) : d("", !0);
|
|
4221
4224
|
}
|
|
4222
4225
|
}), Z = /* @__PURE__ */ h({
|
|
@@ -4241,78 +4244,115 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4241
4244
|
}, [
|
|
4242
4245
|
c("span", {
|
|
4243
4246
|
class: l(e(t.survey.css))
|
|
4244
|
-
},
|
|
4247
|
+
}, R(t.survey.progressText), 3)
|
|
4245
4248
|
], 6),
|
|
4246
4249
|
c("span", {
|
|
4247
4250
|
class: l(n(t.survey.css))
|
|
4248
|
-
},
|
|
4251
|
+
}, R(t.survey.progressText), 3)
|
|
4249
4252
|
], 2));
|
|
4250
4253
|
}
|
|
4251
|
-
}), Ht = ["
|
|
4254
|
+
}), Ht = ["title"], Wt = ["onClick", "data-page-number"], Et = ["title"], Vt = ["title"], Ft = ["title"], Ot = /* @__PURE__ */ h({
|
|
4252
4255
|
__name: "ProgressButtons",
|
|
4253
4256
|
props: {
|
|
4254
|
-
survey: {}
|
|
4257
|
+
survey: {},
|
|
4258
|
+
model: {},
|
|
4259
|
+
container: {}
|
|
4255
4260
|
},
|
|
4256
4261
|
setup(r) {
|
|
4257
|
-
const s = r, o =
|
|
4258
|
-
let
|
|
4259
|
-
const
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
let N = n.value;
|
|
4263
|
-
N.scrollLeft += (b ? -1 : 1) * 70;
|
|
4262
|
+
const s = r, o = $(!1), e = $(!1), n = $(!1), t = $(!0), a = $(), y = w(() => s.survey.css);
|
|
4263
|
+
let m = null;
|
|
4264
|
+
const q = (p) => {
|
|
4265
|
+
let f = a.value;
|
|
4266
|
+
f.scrollLeft += (p ? -1 : 1) * 70;
|
|
4264
4267
|
};
|
|
4265
4268
|
return H(() => {
|
|
4266
|
-
const
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4269
|
+
const p = a.value;
|
|
4270
|
+
m = new He(s.model, p, {
|
|
4271
|
+
onResize: (f) => {
|
|
4272
|
+
t.value = f, e.value = !f;
|
|
4273
|
+
},
|
|
4274
|
+
onUpdateScroller: (f) => {
|
|
4275
|
+
o.value = f;
|
|
4276
|
+
},
|
|
4277
|
+
onUpdateSettings: () => {
|
|
4278
|
+
t.value = s.model.showItemTitles, n.value = !s.model.showItemTitles;
|
|
4279
|
+
},
|
|
4280
|
+
container: w(() => s.container)
|
|
4281
|
+
});
|
|
4270
4282
|
}), Q(() => {
|
|
4271
|
-
|
|
4272
|
-
}), (
|
|
4273
|
-
class: l(
|
|
4283
|
+
m.dispose();
|
|
4284
|
+
}), (p, f) => (i(), u("div", {
|
|
4285
|
+
class: l(p.model.getRootCss(p.container)),
|
|
4286
|
+
role: "progressbar",
|
|
4287
|
+
"aria-valuemin": "0",
|
|
4288
|
+
"aria-valuemax": "100",
|
|
4289
|
+
"aria-label": "progress"
|
|
4274
4290
|
}, [
|
|
4291
|
+
e.value ? (i(), u("div", {
|
|
4292
|
+
key: 0,
|
|
4293
|
+
class: l(p.survey.css.progressButtonsHeader)
|
|
4294
|
+
}, [
|
|
4295
|
+
c("div", {
|
|
4296
|
+
class: l(p.survey.css.progressButtonsPageTitle),
|
|
4297
|
+
title: p.model.headerText
|
|
4298
|
+
}, R(p.model.headerText), 11, Ht)
|
|
4299
|
+
], 2)) : d("", !0),
|
|
4275
4300
|
c("div", {
|
|
4276
|
-
class: l(
|
|
4301
|
+
class: l(y.value.progressButtonsContainer)
|
|
4277
4302
|
}, [
|
|
4278
4303
|
c("div", {
|
|
4279
|
-
class: l(
|
|
4280
|
-
onClick:
|
|
4304
|
+
class: l(p.model.getScrollButtonCss(o.value, !0)),
|
|
4305
|
+
onClick: f[0] || (f[0] = (b) => q(!0)),
|
|
4281
4306
|
role: "button"
|
|
4282
4307
|
}, null, 2),
|
|
4283
4308
|
c("div", {
|
|
4284
|
-
class: l(
|
|
4309
|
+
class: l(y.value.progressButtonsListContainer),
|
|
4285
4310
|
ref_key: "progressButtonsListContainer",
|
|
4286
|
-
ref:
|
|
4311
|
+
ref: a
|
|
4287
4312
|
}, [
|
|
4288
4313
|
c("ul", {
|
|
4289
|
-
class: l(
|
|
4314
|
+
class: l(y.value.progressButtonsList)
|
|
4290
4315
|
}, [
|
|
4291
|
-
(i(!0), u(
|
|
4292
|
-
key: "listelement" +
|
|
4293
|
-
class: l(
|
|
4294
|
-
onClick: (
|
|
4316
|
+
(i(!0), u(_, null, D(p.survey.visiblePages, (b, A) => (i(), u("li", {
|
|
4317
|
+
key: "listelement" + A,
|
|
4318
|
+
class: l(p.model.getListElementCss(A)),
|
|
4319
|
+
onClick: (k) => p.model.isListElementClickable(A) ? p.model.clickListElement(b) : null,
|
|
4320
|
+
"data-page-number": p.model.getItemNumber(b)
|
|
4295
4321
|
}, [
|
|
4296
4322
|
c("div", {
|
|
4297
|
-
class: l(
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
class: l(
|
|
4302
|
-
title:
|
|
4303
|
-
},
|
|
4304
|
-
|
|
4323
|
+
class: l(y.value.progressButtonsConnector)
|
|
4324
|
+
}, null, 2),
|
|
4325
|
+
t.value ? (i(), u("div", {
|
|
4326
|
+
key: 0,
|
|
4327
|
+
class: l(y.value.progressButtonsPageTitle),
|
|
4328
|
+
title: b.renderedNavigationTitle
|
|
4329
|
+
}, R(b.renderedNavigationTitle), 11, Et)) : d("", !0),
|
|
4330
|
+
t.value ? (i(), u("div", {
|
|
4331
|
+
key: 1,
|
|
4332
|
+
class: l(y.value.progressButtonsPageDescription),
|
|
4333
|
+
title: b.locNavigationDescription.renderedHtml
|
|
4334
|
+
}, R(b.locNavigationDescription.renderedHtml), 11, Vt)) : d("", !0)
|
|
4335
|
+
], 10, Wt))), 128))
|
|
4305
4336
|
], 2)
|
|
4306
4337
|
], 2),
|
|
4307
4338
|
c("div", {
|
|
4308
|
-
class: l(
|
|
4309
|
-
onClick:
|
|
4339
|
+
class: l(p.model.getScrollButtonCss(o.value, !1)),
|
|
4340
|
+
onClick: f[1] || (f[1] = (b) => q(!1)),
|
|
4310
4341
|
role: "button"
|
|
4311
4342
|
}, null, 2)
|
|
4312
|
-
], 2)
|
|
4343
|
+
], 2),
|
|
4344
|
+
n.value ? (i(), u("div", {
|
|
4345
|
+
key: 1,
|
|
4346
|
+
class: l(p.survey.css.progressButtonsFooter)
|
|
4347
|
+
}, [
|
|
4348
|
+
c("div", {
|
|
4349
|
+
class: l(p.survey.css.progressButtonsPageTitle),
|
|
4350
|
+
title: p.model.footerText
|
|
4351
|
+
}, R(p.model.footerText), 11, Ft)
|
|
4352
|
+
], 2)) : d("", !0)
|
|
4313
4353
|
], 2));
|
|
4314
4354
|
}
|
|
4315
|
-
}),
|
|
4355
|
+
}), zt = /* @__PURE__ */ h({
|
|
4316
4356
|
__name: "ProgressToc",
|
|
4317
4357
|
props: {
|
|
4318
4358
|
survey: {},
|
|
@@ -4320,11 +4360,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4320
4360
|
},
|
|
4321
4361
|
setup(r) {
|
|
4322
4362
|
return (s, o) => {
|
|
4323
|
-
const e =
|
|
4363
|
+
const e = v("sv-svg-icon"), n = v("sv-popup"), t = v("sv-list"), a = X("key2click");
|
|
4324
4364
|
return i(), u("div", {
|
|
4325
4365
|
class: l(s.model.containerCss)
|
|
4326
4366
|
}, [
|
|
4327
|
-
s.model.isMobile ?
|
|
4367
|
+
s.model.isMobile ? N((i(), u("div", {
|
|
4328
4368
|
key: 0,
|
|
4329
4369
|
onClick: o[0] || (o[0] = (...y) => s.model.togglePopup && s.model.togglePopup(...y))
|
|
4330
4370
|
}, [
|
|
@@ -4344,17 +4384,17 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4344
4384
|
], 2);
|
|
4345
4385
|
};
|
|
4346
4386
|
}
|
|
4347
|
-
}),
|
|
4387
|
+
}), Ut = { onsubmit: "return false;" }, Kt = {
|
|
4348
4388
|
key: 0,
|
|
4349
4389
|
class: "sv_custom_header"
|
|
4350
|
-
},
|
|
4390
|
+
}, jt = { class: "sv-components-column sv-components-column--expandable" }, Qt = ["id"], Gt = { key: 2 }, Jt = ["innerHTML"], Xt = ["innerHTML"], Yt = ["innerHTML"], ve = /* @__PURE__ */ h({
|
|
4351
4391
|
__name: "Survey",
|
|
4352
4392
|
props: {
|
|
4353
4393
|
model: {},
|
|
4354
4394
|
survey: {}
|
|
4355
4395
|
},
|
|
4356
4396
|
setup(r) {
|
|
4357
|
-
const s = r, o =
|
|
4397
|
+
const s = r, o = $(), e = $(""), n = $(1), t = w(() => {
|
|
4358
4398
|
const b = s.survey ? s.survey : s.model;
|
|
4359
4399
|
return Re(b);
|
|
4360
4400
|
}), a = w(() => t.value.activePage ? t.value.activePage.id : ""), y = () => {
|
|
@@ -4362,19 +4402,19 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4362
4402
|
return !!t.value && b + n.value.toString();
|
|
4363
4403
|
}, m = w(
|
|
4364
4404
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
4365
|
-
), q = w(() => t.value.css),
|
|
4366
|
-
return
|
|
4405
|
+
), q = w(() => t.value.css), p = w(() => "page" + y()), f = () => m.value ? (e.value || (e.value = t.value.processedCompletedHtml), e.value) : "";
|
|
4406
|
+
return B(() => t.value), H(() => {
|
|
4367
4407
|
if (!!t.value) {
|
|
4368
4408
|
var b = o.value;
|
|
4369
4409
|
b && t.value.afterRenderSurvey(b), t.value.renderCallback = () => {
|
|
4370
|
-
var
|
|
4371
|
-
n.value++, (k = (
|
|
4410
|
+
var A, k;
|
|
4411
|
+
n.value++, (k = (A = ie()) == null ? void 0 : A.proxy) == null || k.$forceUpdate();
|
|
4372
4412
|
}, t.value.startTimerFromUI();
|
|
4373
4413
|
}
|
|
4374
4414
|
}), U(() => {
|
|
4375
4415
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4376
|
-
}), (b,
|
|
4377
|
-
const k =
|
|
4416
|
+
}), (b, A) => {
|
|
4417
|
+
const k = v("sv-svg-bundle"), L = v("survey-popup-modal"), E = v("survey-header"), V = v("survey-page"), K = v("sv-brand-info"), ue = v("sv-notifier");
|
|
4378
4418
|
return i(), u("div", {
|
|
4379
4419
|
class: l(t.value.getRootCss()),
|
|
4380
4420
|
style: S(t.value.themeVariables),
|
|
@@ -4385,14 +4425,14 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4385
4425
|
c("div", {
|
|
4386
4426
|
class: l(t.value.wrapperFormCss)
|
|
4387
4427
|
}, [
|
|
4388
|
-
C(
|
|
4428
|
+
C(L),
|
|
4389
4429
|
t.value.renderBackgroundImage ? (i(), u("div", {
|
|
4390
4430
|
key: 0,
|
|
4391
4431
|
class: l(q.value.rootBackgroundImage),
|
|
4392
4432
|
style: S(t.value.backgroundImageStyle)
|
|
4393
4433
|
}, null, 6)) : d("", !0),
|
|
4394
|
-
c("form",
|
|
4395
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4434
|
+
c("form", Ut, [
|
|
4435
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Kt)),
|
|
4396
4436
|
c("div", {
|
|
4397
4437
|
class: l(q.value.container)
|
|
4398
4438
|
}, [
|
|
@@ -4400,7 +4440,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4400
4440
|
key: 0,
|
|
4401
4441
|
survey: t.value
|
|
4402
4442
|
}, null, 8, ["survey"])) : d("", !0),
|
|
4403
|
-
(i(), g(
|
|
4443
|
+
(i(), g(T("sv-components-container"), {
|
|
4404
4444
|
survey: t.value,
|
|
4405
4445
|
container: "header",
|
|
4406
4446
|
needRenderWrapper: !1
|
|
@@ -4409,13 +4449,13 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4409
4449
|
key: 1,
|
|
4410
4450
|
class: l(t.value.bodyContainerCss)
|
|
4411
4451
|
}, [
|
|
4412
|
-
(i(), g(
|
|
4452
|
+
(i(), g(T("sv-components-container"), {
|
|
4413
4453
|
survey: t.value,
|
|
4414
4454
|
container: "left",
|
|
4415
4455
|
needRenderWrapper: !0
|
|
4416
4456
|
}, null, 8, ["survey"])),
|
|
4417
|
-
c("div",
|
|
4418
|
-
(i(), g(
|
|
4457
|
+
c("div", jt, [
|
|
4458
|
+
(i(), g(T("sv-components-container"), {
|
|
4419
4459
|
survey: t.value,
|
|
4420
4460
|
container: "center",
|
|
4421
4461
|
needRenderWrapper: !0
|
|
@@ -4425,41 +4465,41 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4425
4465
|
style: S({ maxWidth: t.value.renderedWidth }),
|
|
4426
4466
|
id: a.value
|
|
4427
4467
|
}, [
|
|
4428
|
-
(i(), g(
|
|
4468
|
+
(i(), g(T("sv-components-container"), {
|
|
4429
4469
|
survey: t.value,
|
|
4430
4470
|
container: "contentTop",
|
|
4431
4471
|
needRenderWrapper: !0
|
|
4432
4472
|
}, null, 8, ["survey"])),
|
|
4433
4473
|
(i(), g(V, {
|
|
4434
|
-
key:
|
|
4474
|
+
key: p.value,
|
|
4435
4475
|
survey: t.value,
|
|
4436
4476
|
page: t.value.activePage,
|
|
4437
4477
|
css: q.value
|
|
4438
4478
|
}, null, 8, ["survey", "page", "css"])),
|
|
4439
|
-
(i(), g(
|
|
4479
|
+
(i(), g(T("sv-components-container"), {
|
|
4440
4480
|
survey: t.value,
|
|
4441
4481
|
container: "contentBottom",
|
|
4442
4482
|
needRenderWrapper: !0
|
|
4443
4483
|
}, null, 8, ["survey"]))
|
|
4444
|
-
], 14,
|
|
4484
|
+
], 14, Qt)
|
|
4445
4485
|
]),
|
|
4446
|
-
(i(), g(
|
|
4486
|
+
(i(), g(T("sv-components-container"), {
|
|
4447
4487
|
survey: t.value,
|
|
4448
4488
|
container: "right",
|
|
4449
4489
|
needRenderWrapper: !0
|
|
4450
4490
|
}, null, 8, ["survey"]))
|
|
4451
4491
|
], 2)) : d("", !0),
|
|
4452
|
-
(i(), g(
|
|
4492
|
+
(i(), g(T("sv-components-container"), {
|
|
4453
4493
|
survey: t.value,
|
|
4454
4494
|
container: "footer",
|
|
4455
4495
|
needRenderWrapper: !1
|
|
4456
4496
|
}, null, 8, ["survey"])),
|
|
4457
|
-
m.value ? (i(), u("div",
|
|
4497
|
+
m.value ? (i(), u("div", Gt, [
|
|
4458
4498
|
c("div", {
|
|
4459
|
-
innerHTML:
|
|
4499
|
+
innerHTML: f(),
|
|
4460
4500
|
class: l(t.value.completedCss)
|
|
4461
|
-
}, null, 10,
|
|
4462
|
-
(i(), g(
|
|
4501
|
+
}, null, 10, Jt),
|
|
4502
|
+
(i(), g(T("sv-components-container"), {
|
|
4463
4503
|
survey: t.value,
|
|
4464
4504
|
container: "completePage",
|
|
4465
4505
|
needRenderWrapper: !0
|
|
@@ -4469,16 +4509,16 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4469
4509
|
key: 3,
|
|
4470
4510
|
class: l(t.value.completedBeforeCss),
|
|
4471
4511
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4472
|
-
}, null, 10,
|
|
4512
|
+
}, null, 10, Xt)) : d("", !0),
|
|
4473
4513
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4474
4514
|
key: 4,
|
|
4475
4515
|
class: l(t.value.loadingBodyCss),
|
|
4476
4516
|
innerHTML: t.value.processedLoadingHtml
|
|
4477
|
-
}, null, 10,
|
|
4517
|
+
}, null, 10, Yt)) : d("", !0),
|
|
4478
4518
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4479
4519
|
key: 5,
|
|
4480
4520
|
class: l(q.value.bodyEmpty)
|
|
4481
|
-
},
|
|
4521
|
+
}, R(t.value.emptySurveyText), 3)) : d("", !0)
|
|
4482
4522
|
], 2)
|
|
4483
4523
|
]),
|
|
4484
4524
|
t.value.showBrandInfo ? (i(), g(K, { key: 1 })) : d("", !0),
|
|
@@ -4489,22 +4529,22 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4489
4529
|
], 6);
|
|
4490
4530
|
};
|
|
4491
4531
|
}
|
|
4492
|
-
}),
|
|
4532
|
+
}), Zt = /* @__PURE__ */ h({
|
|
4493
4533
|
__name: "Notifier",
|
|
4494
4534
|
props: {
|
|
4495
4535
|
model: {}
|
|
4496
4536
|
},
|
|
4497
4537
|
setup(r) {
|
|
4498
4538
|
const s = r;
|
|
4499
|
-
return
|
|
4500
|
-
const n =
|
|
4501
|
-
return
|
|
4539
|
+
return B(() => s.model), (o, e) => {
|
|
4540
|
+
const n = v("sv-action-bar");
|
|
4541
|
+
return N((i(), u("div", {
|
|
4502
4542
|
class: l(o.model.css),
|
|
4503
4543
|
style: S({ visibility: o.model.active ? "visible" : "hidden" }),
|
|
4504
4544
|
role: "alert",
|
|
4505
4545
|
"aria-live": "polite"
|
|
4506
4546
|
}, [
|
|
4507
|
-
c("span", null,
|
|
4547
|
+
c("span", null, R(o.model.message), 1),
|
|
4508
4548
|
C(n, {
|
|
4509
4549
|
model: o.model.actionBar
|
|
4510
4550
|
}, null, 8, ["model"])
|
|
@@ -4513,7 +4553,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4513
4553
|
]);
|
|
4514
4554
|
};
|
|
4515
4555
|
}
|
|
4516
|
-
}),
|
|
4556
|
+
}), xt = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], ei = { key: 1 }, si = /* @__PURE__ */ h({
|
|
4517
4557
|
__name: "QuestionOther",
|
|
4518
4558
|
props: {
|
|
4519
4559
|
question: {},
|
|
@@ -4541,18 +4581,18 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4541
4581
|
onInput: o[1] || (o[1] = (e) => {
|
|
4542
4582
|
s.question.onOtherValueInput(e);
|
|
4543
4583
|
})
|
|
4544
|
-
}, null, 46,
|
|
4545
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4584
|
+
}, null, 46, xt)),
|
|
4585
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", ei, R(s.question.otherValue), 1)) : d("", !0)
|
|
4546
4586
|
], 2));
|
|
4547
4587
|
}
|
|
4548
|
-
}),
|
|
4588
|
+
}), ni = ["disabled", "value", "title"], oi = /* @__PURE__ */ h({
|
|
4549
4589
|
__name: "SurveyNavigationButton",
|
|
4550
4590
|
props: {
|
|
4551
4591
|
item: {}
|
|
4552
4592
|
},
|
|
4553
4593
|
setup(r) {
|
|
4554
4594
|
const s = r, o = () => s.item.data && s.item.data.mouseDown();
|
|
4555
|
-
return
|
|
4595
|
+
return B(() => s.item), (e, n) => e.item.visible ? (i(), u("input", {
|
|
4556
4596
|
key: 0,
|
|
4557
4597
|
type: "button",
|
|
4558
4598
|
disabled: e.item.disabled,
|
|
@@ -4561,7 +4601,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4561
4601
|
title: e.item.getTooltip(),
|
|
4562
4602
|
onMousedown: o,
|
|
4563
4603
|
onClick: n[0] || (n[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4564
|
-
}, null, 42,
|
|
4604
|
+
}, null, 42, ni)) : d("", !0);
|
|
4565
4605
|
}
|
|
4566
4606
|
}), ye = /* @__PURE__ */ h({
|
|
4567
4607
|
__name: "PopupSurvey",
|
|
@@ -4574,11 +4614,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4574
4614
|
setup(r) {
|
|
4575
4615
|
const s = r, o = z(), e = w(() => s.survey ? s.survey.getCss() : {});
|
|
4576
4616
|
w(() => {
|
|
4577
|
-
var
|
|
4578
|
-
return (
|
|
4617
|
+
var p;
|
|
4618
|
+
return (p = o.value) != null && p.isExpanded ? e.value.window.header.buttonCollapsed : e.value.window.header.buttonExpanded;
|
|
4579
4619
|
}), w(() => {
|
|
4580
|
-
var
|
|
4581
|
-
return (
|
|
4620
|
+
var p;
|
|
4621
|
+
return (p = o.value) == null ? void 0 : p.isExpanded;
|
|
4582
4622
|
});
|
|
4583
4623
|
const n = () => {
|
|
4584
4624
|
o.value.changeExpandCollapse();
|
|
@@ -4587,15 +4627,15 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4587
4627
|
}, a = () => "SurveyComponent", y = () => {
|
|
4588
4628
|
o.value.onScroll();
|
|
4589
4629
|
}, m = () => {
|
|
4590
|
-
let
|
|
4591
|
-
return o.value.isCollapsed && (
|
|
4630
|
+
let p = o.value.cssHeaderRoot;
|
|
4631
|
+
return o.value.isCollapsed && (p += " " + o.value.cssRootCollapsedMod), p;
|
|
4592
4632
|
};
|
|
4593
|
-
|
|
4633
|
+
B(() => o.value);
|
|
4594
4634
|
const q = J(
|
|
4595
4635
|
() => s.survey,
|
|
4596
|
-
(
|
|
4597
|
-
const
|
|
4598
|
-
s.isExpanded !== void 0 && (
|
|
4636
|
+
(p) => {
|
|
4637
|
+
const f = new We(null, p);
|
|
4638
|
+
s.isExpanded !== void 0 && (f.isExpanded = s.isExpanded), s.closeOnCompleteTimeout !== void 0 && (f.closeOnCompleteTimeout = s.closeOnCompleteTimeout), s.allowClose !== void 0 && (f.allowClose = s.allowClose), f.isShowing = !0, o.value = f;
|
|
4599
4639
|
},
|
|
4600
4640
|
{
|
|
4601
4641
|
immediate: !0
|
|
@@ -4603,8 +4643,8 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4603
4643
|
);
|
|
4604
4644
|
return U(() => {
|
|
4605
4645
|
q();
|
|
4606
|
-
}), (
|
|
4607
|
-
const b =
|
|
4646
|
+
}), (p, f) => {
|
|
4647
|
+
const b = v("sv-svg-icon");
|
|
4608
4648
|
return o.value.isShowing ? (i(), u("div", {
|
|
4609
4649
|
key: 0,
|
|
4610
4650
|
style: S({ maxWidth: o.value.renderedWidth, width: o.value.renderedWidth }),
|
|
@@ -4620,7 +4660,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4620
4660
|
o.value.isCollapsed && !!o.value.locTitle ? (i(), u("div", {
|
|
4621
4661
|
key: 0,
|
|
4622
4662
|
class: l(o.value.cssHeaderTitleCollapsed)
|
|
4623
|
-
},
|
|
4663
|
+
}, R(o.value.locTitle.renderedHtml), 3)) : d("", !0),
|
|
4624
4664
|
c("div", {
|
|
4625
4665
|
class: l(o.value.cssHeaderButtonsContainer)
|
|
4626
4666
|
}, [
|
|
@@ -4654,20 +4694,20 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4654
4694
|
c("div", {
|
|
4655
4695
|
class: l(o.value.cssBody)
|
|
4656
4696
|
}, [
|
|
4657
|
-
(i(), g(
|
|
4697
|
+
(i(), g(T(a()), { survey: p.survey }, null, 8, ["survey"]))
|
|
4658
4698
|
], 2)
|
|
4659
4699
|
], 2)
|
|
4660
4700
|
], 38)) : d("", !0);
|
|
4661
4701
|
};
|
|
4662
4702
|
}
|
|
4663
|
-
}),
|
|
4703
|
+
}), ti = ["innerHTML"], ii = /* @__PURE__ */ h({
|
|
4664
4704
|
__name: "CustomWidget",
|
|
4665
4705
|
props: {
|
|
4666
4706
|
question: {},
|
|
4667
4707
|
css: {}
|
|
4668
4708
|
},
|
|
4669
4709
|
setup(r) {
|
|
4670
|
-
const s = r, o =
|
|
4710
|
+
const s = r, o = $(), e = w(
|
|
4671
4711
|
() => s.question.customWidget.isDefaultRender
|
|
4672
4712
|
), n = w(
|
|
4673
4713
|
() => !!s.question.customWidget.htmlTemplate
|
|
@@ -4683,20 +4723,20 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4683
4723
|
n.value ? (i(), u("div", {
|
|
4684
4724
|
key: 0,
|
|
4685
4725
|
innerHTML: t.value
|
|
4686
|
-
}, null, 8,
|
|
4687
|
-
e.value ? (i(), g(
|
|
4726
|
+
}, null, 8, ti)) : d("", !0),
|
|
4727
|
+
e.value ? (i(), g(T(a.value), {
|
|
4688
4728
|
key: 1,
|
|
4689
4729
|
question: y.question,
|
|
4690
4730
|
css: y.css
|
|
4691
4731
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4692
4732
|
], 512));
|
|
4693
4733
|
}
|
|
4694
|
-
}),
|
|
4734
|
+
}), ri = /* @__PURE__ */ h({
|
|
4695
4735
|
__name: "PopupModal",
|
|
4696
4736
|
setup(r) {
|
|
4697
4737
|
const s = z();
|
|
4698
|
-
function o(n, t, a, y, m, q,
|
|
4699
|
-
const
|
|
4738
|
+
function o(n, t, a, y, m, q, p = "popup") {
|
|
4739
|
+
const f = Ee(
|
|
4700
4740
|
n,
|
|
4701
4741
|
t,
|
|
4702
4742
|
a,
|
|
@@ -4705,9 +4745,9 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4705
4745
|
void 0,
|
|
4706
4746
|
m,
|
|
4707
4747
|
q,
|
|
4708
|
-
|
|
4748
|
+
p
|
|
4709
4749
|
);
|
|
4710
|
-
return e(
|
|
4750
|
+
return e(f);
|
|
4711
4751
|
}
|
|
4712
4752
|
function e(n, t) {
|
|
4713
4753
|
n.onHide = () => {
|
|
@@ -4724,7 +4764,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4724
4764
|
})), j.showDialog || (j.showDialog = e, U(() => {
|
|
4725
4765
|
j.showDialog = void 0;
|
|
4726
4766
|
})), (n, t) => {
|
|
4727
|
-
const a =
|
|
4767
|
+
const a = v("sv-popup-container");
|
|
4728
4768
|
return s.value ? (i(), g(Te, {
|
|
4729
4769
|
key: 0,
|
|
4730
4770
|
to: s.value.container
|
|
@@ -4733,7 +4773,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4733
4773
|
], 8, ["to"])) : d("", !0);
|
|
4734
4774
|
};
|
|
4735
4775
|
}
|
|
4736
|
-
}),
|
|
4776
|
+
}), li = /* @__PURE__ */ h({
|
|
4737
4777
|
__name: "CharacterCounter",
|
|
4738
4778
|
props: {
|
|
4739
4779
|
counter: {},
|
|
@@ -4741,11 +4781,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4741
4781
|
},
|
|
4742
4782
|
setup(r) {
|
|
4743
4783
|
const s = r;
|
|
4744
|
-
return
|
|
4784
|
+
return B(() => s.counter), (o, e) => (i(), u("div", {
|
|
4745
4785
|
class: l(o.remainingCharacterCounter)
|
|
4746
|
-
},
|
|
4786
|
+
}, R(o.counter.remainingCharacterCounter), 3));
|
|
4747
4787
|
}
|
|
4748
|
-
}),
|
|
4788
|
+
}), ai = /* @__PURE__ */ h({
|
|
4749
4789
|
inheritAttrs: !1,
|
|
4750
4790
|
__name: "Composite",
|
|
4751
4791
|
props: {
|
|
@@ -4753,11 +4793,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4753
4793
|
css: {}
|
|
4754
4794
|
},
|
|
4755
4795
|
setup(r) {
|
|
4756
|
-
const s = r, o =
|
|
4757
|
-
|
|
4796
|
+
const s = r, o = $(null);
|
|
4797
|
+
P(s, o);
|
|
4758
4798
|
const e = w(() => s.question.contentPanel);
|
|
4759
4799
|
return (n, t) => {
|
|
4760
|
-
const a =
|
|
4800
|
+
const a = v("survey-panel");
|
|
4761
4801
|
return i(), g(a, {
|
|
4762
4802
|
ref_key: "root",
|
|
4763
4803
|
ref: o,
|
|
@@ -4766,7 +4806,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4766
4806
|
}, null, 8, ["element", "css"]);
|
|
4767
4807
|
};
|
|
4768
4808
|
}
|
|
4769
|
-
}),
|
|
4809
|
+
}), ui = /* @__PURE__ */ h({
|
|
4770
4810
|
inheritAttrs: !1,
|
|
4771
4811
|
__name: "Custom",
|
|
4772
4812
|
props: {
|
|
@@ -4774,18 +4814,18 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4774
4814
|
css: {}
|
|
4775
4815
|
},
|
|
4776
4816
|
setup(r) {
|
|
4777
|
-
const s = r, o =
|
|
4778
|
-
|
|
4817
|
+
const s = r, o = $(null);
|
|
4818
|
+
P(s, o);
|
|
4779
4819
|
const e = w(() => s.question.contentQuestion), n = (t) => re(t);
|
|
4780
|
-
return (t, a) => (i(), g(
|
|
4820
|
+
return (t, a) => (i(), g(T(n(e.value)), {
|
|
4781
4821
|
ref: o.value,
|
|
4782
4822
|
question: e.value,
|
|
4783
4823
|
css: t.css
|
|
4784
4824
|
}, null, 8, ["question", "css"]));
|
|
4785
4825
|
}
|
|
4786
|
-
}),
|
|
4787
|
-
|
|
4788
|
-
], qe = 440,
|
|
4826
|
+
}), di = /* @__PURE__ */ c("use", { "xlink:href": "#icon-timercircle" }, null, -1), mi = [
|
|
4827
|
+
di
|
|
4828
|
+
], qe = 440, ci = /* @__PURE__ */ h({
|
|
4789
4829
|
__name: "TimerPanel",
|
|
4790
4830
|
props: {
|
|
4791
4831
|
model: {},
|
|
@@ -4793,7 +4833,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4793
4833
|
},
|
|
4794
4834
|
setup(r) {
|
|
4795
4835
|
const s = r, o = w(() => qe * s.model.progress), e = w(() => s.model.text);
|
|
4796
|
-
return
|
|
4836
|
+
return B(() => s.model), (n, t) => n.model.isRunning && n.model.showTimerAsClock ? (i(), u("div", {
|
|
4797
4837
|
key: 0,
|
|
4798
4838
|
class: l(n.model.rootCss)
|
|
4799
4839
|
}, [
|
|
@@ -4801,36 +4841,36 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4801
4841
|
key: 0,
|
|
4802
4842
|
class: l(n.model.getProgressCss()),
|
|
4803
4843
|
style: S({ strokeDasharray: qe, strokeDashoffset: o.value })
|
|
4804
|
-
},
|
|
4844
|
+
}, mi, 6)) : d("", !0),
|
|
4805
4845
|
c("div", {
|
|
4806
4846
|
class: l(n.model.textContainerCss)
|
|
4807
4847
|
}, [
|
|
4808
4848
|
c("span", {
|
|
4809
4849
|
class: l(n.model.majorTextCss)
|
|
4810
|
-
},
|
|
4850
|
+
}, R(n.model.clockMajorText), 3),
|
|
4811
4851
|
n.model.clockMinorText ? (i(), u("span", {
|
|
4812
4852
|
key: 0,
|
|
4813
4853
|
class: l(n.model.minorTextCss)
|
|
4814
|
-
},
|
|
4854
|
+
}, R(n.model.clockMinorText), 3)) : d("", !0)
|
|
4815
4855
|
], 2)
|
|
4816
|
-
], 2)) :
|
|
4856
|
+
], 2)) : N((i(), u("div", {
|
|
4817
4857
|
key: 1,
|
|
4818
4858
|
class: l(n.model.survey.getCss().timerRoot)
|
|
4819
|
-
},
|
|
4859
|
+
}, R(e.value), 3)), [
|
|
4820
4860
|
[M, n.model.isRunning && !n.model.showTimerAsClock]
|
|
4821
4861
|
]);
|
|
4822
4862
|
}
|
|
4823
|
-
}),
|
|
4824
|
-
function
|
|
4825
|
-
const o =
|
|
4826
|
-
return i(), u("div",
|
|
4863
|
+
}), pi = {}, vi = { class: "sd-loading-indicator" };
|
|
4864
|
+
function yi(r, s) {
|
|
4865
|
+
const o = v("sv-svg-icon");
|
|
4866
|
+
return i(), u("div", vi, [
|
|
4827
4867
|
C(o, {
|
|
4828
4868
|
iconName: "icon-loading",
|
|
4829
4869
|
size: "'auto'"
|
|
4830
4870
|
})
|
|
4831
4871
|
]);
|
|
4832
4872
|
}
|
|
4833
|
-
const
|
|
4873
|
+
const qi = /* @__PURE__ */ Ce(pi, [["render", yi]]), gi = { key: 2 }, hi = /* @__PURE__ */ h({
|
|
4834
4874
|
__name: "Header",
|
|
4835
4875
|
props: {
|
|
4836
4876
|
model: {},
|
|
@@ -4838,11 +4878,11 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4838
4878
|
},
|
|
4839
4879
|
setup(r) {
|
|
4840
4880
|
const s = r;
|
|
4841
|
-
return
|
|
4881
|
+
return B(() => {
|
|
4842
4882
|
const o = s.model;
|
|
4843
4883
|
return o.survey = s.survey, s.model;
|
|
4844
4884
|
}), (o, e) => {
|
|
4845
|
-
const n =
|
|
4885
|
+
const n = v("sv-header-cell"), t = v("sv-header-mobile");
|
|
4846
4886
|
return i(), u("div", {
|
|
4847
4887
|
class: l(o.model.headerClasses),
|
|
4848
4888
|
style: S({ height: o.model.renderedHeight })
|
|
@@ -4857,28 +4897,28 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4857
4897
|
class: l(o.model.contentClasses),
|
|
4858
4898
|
style: S({ maxWidth: o.model.maxWidth })
|
|
4859
4899
|
}, [
|
|
4860
|
-
(i(!0), u(
|
|
4900
|
+
(i(!0), u(_, null, D(o.model.cells, (a, y) => (i(), g(n, {
|
|
4861
4901
|
model: a,
|
|
4862
4902
|
key: y
|
|
4863
4903
|
}, null, 8, ["model"]))), 128))
|
|
4864
4904
|
], 6)),
|
|
4865
|
-
o.survey.isMobile ? (i(), u("div",
|
|
4905
|
+
o.survey.isMobile ? (i(), u("div", gi, [
|
|
4866
4906
|
C(t, { model: o.model }, null, 8, ["model"])
|
|
4867
4907
|
])) : d("", !0)
|
|
4868
4908
|
], 6);
|
|
4869
4909
|
};
|
|
4870
4910
|
}
|
|
4871
|
-
}),
|
|
4911
|
+
}), Ci = {
|
|
4872
4912
|
key: 0,
|
|
4873
4913
|
class: "sv-header__logo"
|
|
4874
|
-
},
|
|
4914
|
+
}, bi = ["src", "width", "height", "alt"], ki = /* @__PURE__ */ h({
|
|
4875
4915
|
__name: "HeaderCell",
|
|
4876
4916
|
props: {
|
|
4877
4917
|
model: {}
|
|
4878
4918
|
},
|
|
4879
4919
|
setup(r) {
|
|
4880
4920
|
return (s, o) => {
|
|
4881
|
-
const e =
|
|
4921
|
+
const e = v("survey-element-title"), n = v("survey-string");
|
|
4882
4922
|
return i(), u("div", {
|
|
4883
4923
|
class: l(s.model.css),
|
|
4884
4924
|
style: S(s.model.style)
|
|
@@ -4887,7 +4927,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4887
4927
|
class: "sv-header__cell-content",
|
|
4888
4928
|
style: S(s.model.contentStyle)
|
|
4889
4929
|
}, [
|
|
4890
|
-
s.model.showLogo ? (i(), u("div",
|
|
4930
|
+
s.model.showLogo ? (i(), u("div", Ci, [
|
|
4891
4931
|
c("div", {
|
|
4892
4932
|
class: l(s.model.survey.logoClassNames)
|
|
4893
4933
|
}, [
|
|
@@ -4898,7 +4938,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4898
4938
|
height: s.model.survey.renderedLogoHeight,
|
|
4899
4939
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4900
4940
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4901
|
-
}, null, 14,
|
|
4941
|
+
}, null, 14, bi)
|
|
4902
4942
|
], 2)
|
|
4903
4943
|
])) : d("", !0),
|
|
4904
4944
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -4929,19 +4969,19 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4929
4969
|
], 6);
|
|
4930
4970
|
};
|
|
4931
4971
|
}
|
|
4932
|
-
}),
|
|
4972
|
+
}), fi = { class: "sv-header--mobile" }, Ii = {
|
|
4933
4973
|
key: 0,
|
|
4934
4974
|
class: "sv-header__logo"
|
|
4935
|
-
},
|
|
4975
|
+
}, wi = ["src", "width", "height", "alt"], Si = /* @__PURE__ */ h({
|
|
4936
4976
|
__name: "HeaderMobile",
|
|
4937
4977
|
props: {
|
|
4938
4978
|
model: {}
|
|
4939
4979
|
},
|
|
4940
4980
|
setup(r) {
|
|
4941
4981
|
return (s, o) => {
|
|
4942
|
-
const e =
|
|
4943
|
-
return i(), u("div",
|
|
4944
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
4982
|
+
const e = v("survey-element-title"), n = v("survey-string");
|
|
4983
|
+
return i(), u("div", fi, [
|
|
4984
|
+
s.model.survey.hasLogo ? (i(), u("div", Ii, [
|
|
4945
4985
|
c("div", {
|
|
4946
4986
|
class: l(s.model.survey.logoClassNames)
|
|
4947
4987
|
}, [
|
|
@@ -4952,7 +4992,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4952
4992
|
height: s.model.survey.renderedLogoHeight,
|
|
4953
4993
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4954
4994
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4955
|
-
}, null, 14,
|
|
4995
|
+
}, null, 14, wi)
|
|
4956
4996
|
], 2)
|
|
4957
4997
|
])) : d("", !0),
|
|
4958
4998
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -4982,7 +5022,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4982
5022
|
]);
|
|
4983
5023
|
};
|
|
4984
5024
|
}
|
|
4985
|
-
}),
|
|
5025
|
+
}), Ri = /* @__PURE__ */ h({
|
|
4986
5026
|
__name: "Element",
|
|
4987
5027
|
props: {
|
|
4988
5028
|
element: {},
|
|
@@ -5016,14 +5056,14 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5016
5056
|
style: S(n(a.element)),
|
|
5017
5057
|
class: l(a.element.cssClasses.questionWrapper)
|
|
5018
5058
|
}, [
|
|
5019
|
-
a.row.isNeedRender ? (i(), g(
|
|
5059
|
+
a.row.isNeedRender ? (i(), g(T(e.value), O(W({ key: 0 }, t.value)), null, 16)) : a.element.skeletonComponentName ? (i(), g(T(a.element.skeletonComponentName), {
|
|
5020
5060
|
key: 1,
|
|
5021
5061
|
element: a.element,
|
|
5022
5062
|
css: a.css
|
|
5023
5063
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
5024
5064
|
], 6));
|
|
5025
5065
|
}
|
|
5026
|
-
}),
|
|
5066
|
+
}), Ti = /* @__PURE__ */ h({
|
|
5027
5067
|
__name: "TemplateRenderer",
|
|
5028
5068
|
props: {
|
|
5029
5069
|
componentName: {},
|
|
@@ -5031,9 +5071,9 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5031
5071
|
},
|
|
5032
5072
|
setup(r) {
|
|
5033
5073
|
const s = $e(), o = w(() => !!s.default);
|
|
5034
|
-
return (e, n) => o.value && !e.componentName ? _e(e.$slots, "default", { key: 0 }) : (i(), g(
|
|
5074
|
+
return (e, n) => o.value && !e.componentName ? _e(e.$slots, "default", { key: 0 }) : (i(), g(T(e.componentName), O(W({ key: 1 }, e.componentData)), null, 16));
|
|
5035
5075
|
}
|
|
5036
|
-
}),
|
|
5076
|
+
}), $i = /* @__PURE__ */ h({
|
|
5037
5077
|
__name: "FileCleanButton",
|
|
5038
5078
|
props: {
|
|
5039
5079
|
question: {},
|
|
@@ -5041,13 +5081,13 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5041
5081
|
},
|
|
5042
5082
|
setup(r) {
|
|
5043
5083
|
return (s, o) => {
|
|
5044
|
-
const e =
|
|
5084
|
+
const e = v("sv-svg-icon");
|
|
5045
5085
|
return i(), u("button", {
|
|
5046
5086
|
type: "button",
|
|
5047
5087
|
class: l(s.css),
|
|
5048
5088
|
onClick: o[0] || (o[0] = (...n) => s.question.doClean && s.question.doClean(...n))
|
|
5049
5089
|
}, [
|
|
5050
|
-
c("span", null,
|
|
5090
|
+
c("span", null, R(s.question.clearButtonCaption), 1),
|
|
5051
5091
|
s.question.cssClasses.removeButtonIconId ? (i(), g(e, {
|
|
5052
5092
|
key: 0,
|
|
5053
5093
|
iconName: s.question.cssClasses.removeButtonIconId,
|
|
@@ -5057,14 +5097,14 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5057
5097
|
], 2);
|
|
5058
5098
|
};
|
|
5059
5099
|
}
|
|
5060
|
-
}),
|
|
5100
|
+
}), _i = ["id"], Di = /* @__PURE__ */ h({
|
|
5061
5101
|
__name: "FileVideo",
|
|
5062
5102
|
props: {
|
|
5063
5103
|
question: {}
|
|
5064
5104
|
},
|
|
5065
5105
|
setup(r) {
|
|
5066
5106
|
return (s, o) => {
|
|
5067
|
-
const e =
|
|
5107
|
+
const e = v("sv-action");
|
|
5068
5108
|
return i(), u("div", {
|
|
5069
5109
|
class: l(s.question.cssClasses.videoContainer)
|
|
5070
5110
|
}, [
|
|
@@ -5079,14 +5119,14 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5079
5119
|
playsinline: "",
|
|
5080
5120
|
id: s.question.videoId,
|
|
5081
5121
|
class: l(s.question.cssClasses.video)
|
|
5082
|
-
}, null, 10,
|
|
5122
|
+
}, null, 10, _i),
|
|
5083
5123
|
C(e, {
|
|
5084
5124
|
item: s.question.takePictureAction
|
|
5085
5125
|
}, null, 8, ["item"])
|
|
5086
5126
|
], 2);
|
|
5087
5127
|
};
|
|
5088
5128
|
}
|
|
5089
|
-
}),
|
|
5129
|
+
}), Bi = ["for", "aria-label"], Li = /* @__PURE__ */ h({
|
|
5090
5130
|
__name: "FileChooseButton",
|
|
5091
5131
|
props: {
|
|
5092
5132
|
data: {},
|
|
@@ -5100,8 +5140,8 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5100
5140
|
}
|
|
5101
5141
|
);
|
|
5102
5142
|
return (e, n) => {
|
|
5103
|
-
const t =
|
|
5104
|
-
return
|
|
5143
|
+
const t = v("sv-svg-icon"), a = X("key2click");
|
|
5144
|
+
return N((i(), u("label", {
|
|
5105
5145
|
tabindex: "0",
|
|
5106
5146
|
class: l(o.value.getChooseFileCss()),
|
|
5107
5147
|
for: o.value.inputId,
|
|
@@ -5113,25 +5153,25 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5113
5153
|
iconName: o.value.cssClasses.chooseFileIconId,
|
|
5114
5154
|
size: "auto"
|
|
5115
5155
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5116
|
-
c("span", null,
|
|
5117
|
-
], 10,
|
|
5156
|
+
c("span", null, R(o.value.chooseButtonText), 1)
|
|
5157
|
+
], 10, Bi)), [
|
|
5118
5158
|
[a]
|
|
5119
5159
|
]);
|
|
5120
5160
|
};
|
|
5121
5161
|
}
|
|
5122
|
-
}),
|
|
5162
|
+
}), Ni = ["onClick", "href", "title", "download"], Pi = ["src"], Ai = ["onClick"], Mi = ["onClick", "href", "title", "download"], Hi = /* @__PURE__ */ h({
|
|
5123
5163
|
__name: "FilePreview",
|
|
5124
5164
|
props: {
|
|
5125
5165
|
question: {}
|
|
5126
5166
|
},
|
|
5127
5167
|
setup(r) {
|
|
5128
5168
|
return (s, o) => {
|
|
5129
|
-
const e =
|
|
5169
|
+
const e = v("sv-svg-icon");
|
|
5130
5170
|
return s.question.showPreviewContainer ? (i(), u("div", {
|
|
5131
5171
|
key: 0,
|
|
5132
5172
|
class: l(s.question.cssClasses.fileList || void 0)
|
|
5133
5173
|
}, [
|
|
5134
|
-
(i(!0), u(
|
|
5174
|
+
(i(!0), u(_, null, D(s.question.previewValue, (n, t) => N((i(), u("span", {
|
|
5135
5175
|
key: s.question.inputId + "_" + t,
|
|
5136
5176
|
class: l(s.question.cssClasses.preview)
|
|
5137
5177
|
}, [
|
|
@@ -5145,7 +5185,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5145
5185
|
title: n.name,
|
|
5146
5186
|
download: n.name,
|
|
5147
5187
|
style: S({ width: s.question.imageWidth })
|
|
5148
|
-
},
|
|
5188
|
+
}, R(n.name), 13, Ni)
|
|
5149
5189
|
], 2)) : d("", !0),
|
|
5150
5190
|
c("div", {
|
|
5151
5191
|
class: l(s.question.getImageWrapperCss(n))
|
|
@@ -5158,7 +5198,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5158
5198
|
width: s.question.imageWidth
|
|
5159
5199
|
}),
|
|
5160
5200
|
alt: "File preview"
|
|
5161
|
-
}, null, 12,
|
|
5201
|
+
}, null, 12, Pi)) : d("", !0),
|
|
5162
5202
|
s.question.defaultImage(n) ? (i(), g(e, {
|
|
5163
5203
|
key: 1,
|
|
5164
5204
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5172,7 +5212,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5172
5212
|
}, [
|
|
5173
5213
|
c("span", {
|
|
5174
5214
|
class: l(s.question.cssClasses.removeFile)
|
|
5175
|
-
},
|
|
5215
|
+
}, R(s.question.removeFileCaption), 3),
|
|
5176
5216
|
s.question.cssClasses.removeFileSvgIconId ? (i(), g(e, {
|
|
5177
5217
|
key: 0,
|
|
5178
5218
|
title: s.question.removeFileCaption,
|
|
@@ -5180,7 +5220,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5180
5220
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5181
5221
|
size: "auto"
|
|
5182
5222
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5183
|
-
], 10,
|
|
5223
|
+
], 10, Ai)) : d("", !0)
|
|
5184
5224
|
], 2),
|
|
5185
5225
|
n.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5186
5226
|
key: 1,
|
|
@@ -5192,7 +5232,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5192
5232
|
title: n.name,
|
|
5193
5233
|
download: n.name,
|
|
5194
5234
|
style: S({ width: s.question.imageWidth })
|
|
5195
|
-
},
|
|
5235
|
+
}, R(n.name), 13, Mi)
|
|
5196
5236
|
], 2)) : d("", !0)
|
|
5197
5237
|
], 2)), [
|
|
5198
5238
|
[M, n && s.question.isPreviewVisible(t)]
|
|
@@ -5200,22 +5240,22 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5200
5240
|
], 2)) : d("", !0);
|
|
5201
5241
|
};
|
|
5202
5242
|
}
|
|
5203
|
-
}),
|
|
5243
|
+
}), Wi = /* @__PURE__ */ h({
|
|
5204
5244
|
__name: "ButtonGroup",
|
|
5205
5245
|
props: {
|
|
5206
5246
|
question: {}
|
|
5207
5247
|
},
|
|
5208
5248
|
setup(r) {
|
|
5209
|
-
const s = r, o =
|
|
5210
|
-
return
|
|
5211
|
-
const t =
|
|
5249
|
+
const s = r, o = $();
|
|
5250
|
+
return P(s, o), (e, n) => {
|
|
5251
|
+
const t = v("sv-button-group-item");
|
|
5212
5252
|
return i(), u("div", {
|
|
5213
5253
|
role: "group",
|
|
5214
5254
|
class: l(e.question.cssClasses.root),
|
|
5215
5255
|
ref_key: "root",
|
|
5216
5256
|
ref: o
|
|
5217
5257
|
}, [
|
|
5218
|
-
(i(!0), u(
|
|
5258
|
+
(i(!0), u(_, null, D(e.question.visibleChoices, (a, y) => (i(), g(t, {
|
|
5219
5259
|
question: e.question,
|
|
5220
5260
|
key: y,
|
|
5221
5261
|
item: a,
|
|
@@ -5224,7 +5264,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5224
5264
|
], 2);
|
|
5225
5265
|
};
|
|
5226
5266
|
}
|
|
5227
|
-
}),
|
|
5267
|
+
}), Ei = ["title"], Vi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "disabled", "value"], Fi = ["title"], Oi = /* @__PURE__ */ h({
|
|
5228
5268
|
__name: "ButtonGroupItem",
|
|
5229
5269
|
props: {
|
|
5230
5270
|
item: {},
|
|
@@ -5242,13 +5282,13 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5242
5282
|
}
|
|
5243
5283
|
});
|
|
5244
5284
|
return (n, t) => {
|
|
5245
|
-
const a =
|
|
5285
|
+
const a = v("sv-svg-icon"), y = v("survey-string");
|
|
5246
5286
|
return i(), u("label", {
|
|
5247
5287
|
role: "radio",
|
|
5248
5288
|
class: l(o.value.css.label),
|
|
5249
5289
|
title: o.value.caption.renderedHtml
|
|
5250
5290
|
}, [
|
|
5251
|
-
|
|
5291
|
+
N(c("input", {
|
|
5252
5292
|
type: "radio",
|
|
5253
5293
|
name: o.value.name,
|
|
5254
5294
|
id: o.value.id,
|
|
@@ -5261,7 +5301,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5261
5301
|
class: l(o.value.css.control),
|
|
5262
5302
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.value = m),
|
|
5263
5303
|
value: o.value.value
|
|
5264
|
-
}, null, 10,
|
|
5304
|
+
}, null, 10, Vi), [
|
|
5265
5305
|
[x, e.value]
|
|
5266
5306
|
]),
|
|
5267
5307
|
c("div", {
|
|
@@ -5281,12 +5321,12 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5281
5321
|
C(y, {
|
|
5282
5322
|
locString: o.value.caption
|
|
5283
5323
|
}, null, 8, ["locString"])
|
|
5284
|
-
], 10,
|
|
5324
|
+
], 10, Fi)) : d("", !0)
|
|
5285
5325
|
], 2)
|
|
5286
|
-
], 10,
|
|
5326
|
+
], 10, Ei);
|
|
5287
5327
|
};
|
|
5288
5328
|
}
|
|
5289
|
-
}),
|
|
5329
|
+
}), zi = ["src", "width", "height", "alt"], Ui = /* @__PURE__ */ h({
|
|
5290
5330
|
inheritAttrs: !1,
|
|
5291
5331
|
__name: "Logo",
|
|
5292
5332
|
props: {
|
|
@@ -5299,7 +5339,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5299
5339
|
}, [
|
|
5300
5340
|
c("img", {
|
|
5301
5341
|
class: l(o.value.css.logoImage),
|
|
5302
|
-
src:
|
|
5342
|
+
src: I(e),
|
|
5303
5343
|
width: o.value.renderedLogoWidth,
|
|
5304
5344
|
height: o.value.renderedLogoHeight,
|
|
5305
5345
|
alt: o.value.locTitle.renderedHtml,
|
|
@@ -5308,16 +5348,16 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5308
5348
|
width: o.value.renderedStyleLogoWidth,
|
|
5309
5349
|
height: o.value.renderedStyleLogoHeight
|
|
5310
5350
|
})
|
|
5311
|
-
}, null, 14,
|
|
5351
|
+
}, null, 14, zi)
|
|
5312
5352
|
], 2));
|
|
5313
5353
|
}
|
|
5314
|
-
}),
|
|
5354
|
+
}), Ki = /* @__PURE__ */ h({
|
|
5315
5355
|
__name: "SvgBundle",
|
|
5316
5356
|
setup(r) {
|
|
5317
|
-
const s =
|
|
5357
|
+
const s = $();
|
|
5318
5358
|
return H(() => {
|
|
5319
5359
|
s.value.innerHTML = Oe.iconsRenderedHtml();
|
|
5320
|
-
}), (o, e) =>
|
|
5360
|
+
}), (o, e) => N((i(), u("svg", {
|
|
5321
5361
|
id: "sv-icon-holder-global-container",
|
|
5322
5362
|
ref_key: "root",
|
|
5323
5363
|
ref: s
|
|
@@ -5327,8 +5367,8 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5327
5367
|
}
|
|
5328
5368
|
});
|
|
5329
5369
|
ze.platform = "vue3";
|
|
5330
|
-
function
|
|
5331
|
-
r.component("SurveyComponent", ve), r.component("sv-svg-bundle",
|
|
5370
|
+
function ji(r) {
|
|
5371
|
+
r.component("SurveyComponent", ve), r.component("sv-svg-bundle", Ki), r.component("PopupSurveyComponent", ye), r.component("survey", ve), r.component("popup-survey", ye), r.component("survey-header", Ge), r.component("sv-logo-image", Ui), r.component("survey-page", Qe), r.component("survey-row", Je), r.component("survey-question", Ze), r.component("survey-panel", ns), r.component("survey-element-header", os), r.component("survey-string", ts), r.component("sv-string-viewer", ls), r.component("sv-string-editor", us), r.component("sv-skeleton", ms), r.component("survey-text", vs), 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", Li), r.component("sv-file-clean-btn", $i), r.component("sv-file-preview", Hi), r.component("sv-file-video", Di), 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", gn), 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", Wn), 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", eo), r.component("survey-multipletext", so), r.component("survey-multipletext-item", oo), r.component("survey-matrix", uo), r.component("survey-matrix-cell", po), r.component("survey-matrixdropdown", vo), r.component("survey-matrixtable", ho), r.component("survey-matrixheaderrequired", bo), r.component("survey-matrixdropdown-cell", fo), r.component("survey-matrixdynamic", Io), r.component("sv-matrix-remove-button", So), r.component("sv-matrix-drag-drop-icon", To), r.component("sv-matrix-detail-button", _o), r.component("survey-paneldynamic", Do), r.component("survey-paneldynamicprogress", Bo), r.component("survey-paneldynamicprogress-v2", Lo), r.component("sv-paneldynamic-add-btn", No), r.component("sv-paneldynamic-next-btn", Ao), r.component("sv-paneldynamic-prev-btn", Ho), r.component("sv-paneldynamic-remove-btn", Wo), r.component("sv-paneldynamic-progress-text", Eo), r.component("sv-components-container", Mt), r.component("sv-progress-buttons", Ot), r.component("sv-navigation-toc", zt), 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", Fo), r.component("survey-question-comment", Uo), r.component("survey-element-title", Ko), r.component("survey-element-title-content", Jo), r.component("sv-title-actions", Zo), r.component("sv-brand-info", tt), r.component("sv-svg-icon", lt), r.component("sv-action-bar", at), r.component("sv-action", mt), r.component("sv-action-bar-item", vt), r.component("sv-action-bar-item-dropdown", gt), r.component("sv-action-bar-separator", ht), r.component("sv-list", ft), r.component("sv-list-item", St), r.component("sv-popup", Rt), r.component("sv-popup-container", Nt), r.component("popup-pointer", Pt), r.component("sv-notifier", Zt), r.component("survey-other-choice", si), r.component("sv-nav-btn", oi), r.component("survey-customwidget", ii), r.component("survey-popup-modal", ri), r.component("sv-character-counter", li), r.component("survey-composite", ai), r.component("survey-custom", ui), r.component("sv-timerpanel", ci), r.component("sv-loading-indicator", qi), r.component("sv-header", hi), r.component("sv-header-cell", ki), r.component("sv-header-mobile", Si), r.component("sv-template-renderer", Ti), r.component("survey-element", Ri), r.component("survey-buttongroup", Wi), r.component("sv-button-group-item", Oi), r.directive("key2click", {
|
|
5332
5372
|
mounted: function(s, o) {
|
|
5333
5373
|
const e = { ...o.value };
|
|
5334
5374
|
if (e.disableTabStop) {
|
|
@@ -5343,15 +5383,15 @@ function Ui(r) {
|
|
|
5343
5383
|
}
|
|
5344
5384
|
});
|
|
5345
5385
|
}
|
|
5346
|
-
const
|
|
5386
|
+
const Ji = {
|
|
5347
5387
|
install(r) {
|
|
5348
|
-
|
|
5388
|
+
ji(r);
|
|
5349
5389
|
}
|
|
5350
5390
|
};
|
|
5351
5391
|
export {
|
|
5352
|
-
|
|
5353
|
-
|
|
5392
|
+
Ji as surveyPlugin,
|
|
5393
|
+
B as useBase,
|
|
5354
5394
|
le as useComputedArray,
|
|
5355
5395
|
G as useLocString,
|
|
5356
|
-
|
|
5396
|
+
P as useQuestion
|
|
5357
5397
|
};
|