survey-vue3-ui 1.9.127 → 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, {
|
|
@@ -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",
|
|
@@ -2268,8 +2268,8 @@ const zn = /* @__PURE__ */ h({
|
|
|
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 : "",
|
|
@@ -2363,9 +2363,9 @@ const jn = /* @__PURE__ */ h({
|
|
|
2363
2363
|
question: {}
|
|
2364
2364
|
},
|
|
2365
2365
|
setup(r) {
|
|
2366
|
-
const s =
|
|
2367
|
-
return
|
|
2368
|
-
const t =
|
|
2366
|
+
const s = $(null);
|
|
2367
|
+
return P(r, s), (e, n) => {
|
|
2368
|
+
const t = v("sv-boolean-radio-item");
|
|
2369
2369
|
return i(), u("div", {
|
|
2370
2370
|
class: l(e.question.cssClasses.rootRadio),
|
|
2371
2371
|
ref_key: "root",
|
|
@@ -2404,7 +2404,7 @@ const jn = /* @__PURE__ */ h({
|
|
|
2404
2404
|
n.booleanValue = e.target.value == "true";
|
|
2405
2405
|
};
|
|
2406
2406
|
return (e, n) => {
|
|
2407
|
-
const t =
|
|
2407
|
+
const t = v("survey-string");
|
|
2408
2408
|
return i(), u("div", {
|
|
2409
2409
|
role: "presentation",
|
|
2410
2410
|
class: l(e.question.getRadioItemClass(e.question.cssClasses, e.value))
|
|
@@ -2458,10 +2458,10 @@ const eo = /* @__PURE__ */ h({
|
|
|
2458
2458
|
css: {}
|
|
2459
2459
|
},
|
|
2460
2460
|
setup(r) {
|
|
2461
|
-
const s = r, o =
|
|
2462
|
-
return
|
|
2461
|
+
const s = r, o = $(null);
|
|
2462
|
+
return P(s, o), (e, n) => {
|
|
2463
2463
|
var m;
|
|
2464
|
-
const t =
|
|
2464
|
+
const t = v("survey-element-title-content"), a = v("sv-title-actions"), y = v("survey-string");
|
|
2465
2465
|
return i(), u("div", {
|
|
2466
2466
|
class: l(e.question.cssClasses.rootCheckbox),
|
|
2467
2467
|
ref_key: "root",
|
|
@@ -2473,7 +2473,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2473
2473
|
c("label", {
|
|
2474
2474
|
class: l(e.question.cssClasses.checkboxLabel)
|
|
2475
2475
|
}, [
|
|
2476
|
-
|
|
2476
|
+
N(c("input", {
|
|
2477
2477
|
type: "checkbox",
|
|
2478
2478
|
name: e.question.name,
|
|
2479
2479
|
value: (m = e.question.booleanValue) != null ? m : "",
|
|
@@ -2538,23 +2538,23 @@ const eo = /* @__PURE__ */ h({
|
|
|
2538
2538
|
question: {}
|
|
2539
2539
|
},
|
|
2540
2540
|
setup(r) {
|
|
2541
|
-
const s = r, o =
|
|
2542
|
-
return
|
|
2543
|
-
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");
|
|
2544
2544
|
return i(), u("table", {
|
|
2545
2545
|
class: l(n.question.getQuestionRootCss()),
|
|
2546
2546
|
ref_key: "root",
|
|
2547
2547
|
ref: o
|
|
2548
2548
|
}, [
|
|
2549
2549
|
c("tbody", null, [
|
|
2550
|
-
(i(!0), u(
|
|
2550
|
+
(i(!0), u(_, null, D(I(e), (y, m) => (i(), u(_, {
|
|
2551
2551
|
key: n.question.inputId + "rowkey" + m
|
|
2552
2552
|
}, [
|
|
2553
2553
|
y.isVisible ? (i(), u("tr", {
|
|
2554
2554
|
key: 0,
|
|
2555
2555
|
class: l(n.question.cssClasses.row)
|
|
2556
2556
|
}, [
|
|
2557
|
-
(i(!0), u(
|
|
2557
|
+
(i(!0), u(_, null, D(y.cells, (q) => (i(), u("td", {
|
|
2558
2558
|
key: "item" + q.item.editor.id,
|
|
2559
2559
|
class: l(q.className)
|
|
2560
2560
|
}, [
|
|
@@ -2577,10 +2577,10 @@ const eo = /* @__PURE__ */ h({
|
|
|
2577
2577
|
},
|
|
2578
2578
|
setup(r) {
|
|
2579
2579
|
const s = r, o = (n) => re(n);
|
|
2580
|
-
|
|
2580
|
+
B(() => s.cell.item.editor);
|
|
2581
2581
|
const e = w(() => s.cell.item);
|
|
2582
2582
|
return (n, t) => {
|
|
2583
|
-
const a =
|
|
2583
|
+
const a = v("survey-string"), y = v("survey-errors");
|
|
2584
2584
|
return n.cell.isErrorsCell ? (i(), g(y, {
|
|
2585
2585
|
key: 1,
|
|
2586
2586
|
element: e.value.editor
|
|
@@ -2595,7 +2595,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2595
2595
|
e.value.editor.isRequireTextBeforeTitle || e.value.editor.isRequireTextOnStart ? (i(), u("span", {
|
|
2596
2596
|
key: 0,
|
|
2597
2597
|
class: l(n.question.cssClasses.requiredText)
|
|
2598
|
-
},
|
|
2598
|
+
}, R(e.value.editor.requiredText), 3)) : d("", !0),
|
|
2599
2599
|
C(a, {
|
|
2600
2600
|
locString: e.value.locTitle
|
|
2601
2601
|
}, null, 8, ["locString"]),
|
|
@@ -2604,14 +2604,14 @@ const eo = /* @__PURE__ */ h({
|
|
|
2604
2604
|
key: 2,
|
|
2605
2605
|
"aria-hidden": "true",
|
|
2606
2606
|
class: l(n.question.cssClasses.requiredText)
|
|
2607
|
-
},
|
|
2607
|
+
}, R(e.value.editor.requiredText), 3)) : d("", !0)
|
|
2608
2608
|
], 6),
|
|
2609
2609
|
(i(), u("div", {
|
|
2610
2610
|
key: e.value.editor.id,
|
|
2611
2611
|
class: l(n.question.getItemCss()),
|
|
2612
2612
|
onFocusin: t[0] || (t[0] = (m) => e.value.focusIn())
|
|
2613
2613
|
}, [
|
|
2614
|
-
(i(), g(
|
|
2614
|
+
(i(), g(T(o(e.value.editor)), {
|
|
2615
2615
|
question: e.value.editor
|
|
2616
2616
|
}, null, 8, ["question"]))
|
|
2617
2617
|
], 34))
|
|
@@ -2625,8 +2625,8 @@ const eo = /* @__PURE__ */ h({
|
|
|
2625
2625
|
question: {}
|
|
2626
2626
|
},
|
|
2627
2627
|
setup(r) {
|
|
2628
|
-
const s = r, o =
|
|
2629
|
-
|
|
2628
|
+
const s = r, o = $(null), e = z();
|
|
2629
|
+
P(
|
|
2630
2630
|
s,
|
|
2631
2631
|
o,
|
|
2632
2632
|
(t) => {
|
|
@@ -2643,21 +2643,21 @@ const eo = /* @__PURE__ */ h({
|
|
|
2643
2643
|
t.value = a.value;
|
|
2644
2644
|
};
|
|
2645
2645
|
return (t, a) => {
|
|
2646
|
-
const y =
|
|
2646
|
+
const y = v("survey-string");
|
|
2647
2647
|
return i(), u("div", {
|
|
2648
2648
|
class: l(t.question.cssClasses.tableWrapper),
|
|
2649
2649
|
ref_key: "root",
|
|
2650
2650
|
ref: o
|
|
2651
2651
|
}, [
|
|
2652
2652
|
c("fieldset", null, [
|
|
2653
|
-
c("legend", to,
|
|
2653
|
+
c("legend", to, R(t.question.locTitle.renderedHtml), 1),
|
|
2654
2654
|
c("table", {
|
|
2655
2655
|
class: l(t.question.getTableCss())
|
|
2656
2656
|
}, [
|
|
2657
2657
|
t.question.showHeader ? (i(), u("thead", io, [
|
|
2658
2658
|
c("tr", null, [
|
|
2659
2659
|
t.question.hasRows ? (i(), u("td", ro)) : d("", !0),
|
|
2660
|
-
(i(!0), u(
|
|
2660
|
+
(i(!0), u(_, null, D(t.question.visibleColumns, (m, q) => (i(), u("th", {
|
|
2661
2661
|
key: q,
|
|
2662
2662
|
class: l(t.question.cssClasses.headerCell),
|
|
2663
2663
|
style: S({
|
|
@@ -2665,7 +2665,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2665
2665
|
width: t.question.columnMinWidth
|
|
2666
2666
|
})
|
|
2667
2667
|
}, [
|
|
2668
|
-
(i(), g(
|
|
2668
|
+
(i(), g(T(t.question.getColumnHeaderWrapperComponentName(m)), {
|
|
2669
2669
|
componentData: t.question.getColumnHeaderWrapperComponentData(m)
|
|
2670
2670
|
}, {
|
|
2671
2671
|
default: F(() => [
|
|
@@ -2679,18 +2679,18 @@ const eo = /* @__PURE__ */ h({
|
|
|
2679
2679
|
])
|
|
2680
2680
|
])) : d("", !0),
|
|
2681
2681
|
c("tbody", null, [
|
|
2682
|
-
(i(!0), u(
|
|
2682
|
+
(i(!0), u(_, null, D(e.value, (m, q) => (i(), u("tr", {
|
|
2683
2683
|
key: "row_" + m.name + "_" + q,
|
|
2684
2684
|
class: l(m.rowClasses || void 0)
|
|
2685
2685
|
}, [
|
|
2686
|
-
|
|
2686
|
+
N(c("td", {
|
|
2687
2687
|
class: l(m.rowTextClasses),
|
|
2688
2688
|
style: S({
|
|
2689
2689
|
minWidth: t.question.rowTitleWidth,
|
|
2690
2690
|
width: t.question.rowTitleWidth
|
|
2691
2691
|
})
|
|
2692
2692
|
}, [
|
|
2693
|
-
(i(), g(
|
|
2693
|
+
(i(), g(T(t.question.getRowHeaderWrapperComponentName(m)), {
|
|
2694
2694
|
componentData: t.question.getRowHeaderWrapperComponentData(m)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
default: F(() => [
|
|
@@ -2703,26 +2703,26 @@ const eo = /* @__PURE__ */ h({
|
|
|
2703
2703
|
], 6), [
|
|
2704
2704
|
[M, t.question.hasRows]
|
|
2705
2705
|
]),
|
|
2706
|
-
t.question.hasCellText ? (i(!0), u(
|
|
2707
|
-
key:
|
|
2708
|
-
class: l(t.question.getItemClass(m,
|
|
2709
|
-
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)
|
|
2710
2710
|
}, [
|
|
2711
2711
|
C(y, {
|
|
2712
|
-
locString: t.question.getCellDisplayLocText(m.name,
|
|
2712
|
+
locString: t.question.getCellDisplayLocText(m.name, p)
|
|
2713
2713
|
}, null, 8, ["locString"])
|
|
2714
2714
|
], 10, lo))), 128)) : d("", !0),
|
|
2715
|
-
t.question.hasCellText ? d("", !0) : (i(!0), u(
|
|
2716
|
-
key:
|
|
2717
|
-
"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,
|
|
2718
2718
|
class: l(t.question.cssClasses.cell),
|
|
2719
|
-
onClick: (b) => n(m,
|
|
2719
|
+
onClick: (b) => n(m, p)
|
|
2720
2720
|
}, [
|
|
2721
|
-
(i(), g(
|
|
2721
|
+
(i(), g(T(t.question.cellComponent), {
|
|
2722
2722
|
question: t.question,
|
|
2723
2723
|
row: m,
|
|
2724
|
-
column:
|
|
2725
|
-
columnIndex:
|
|
2724
|
+
column: p,
|
|
2725
|
+
columnIndex: f
|
|
2726
2726
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
2727
2727
|
], 10, ao))), 128))
|
|
2728
2728
|
], 2))), 128))
|
|
@@ -2743,12 +2743,12 @@ const eo = /* @__PURE__ */ h({
|
|
|
2743
2743
|
},
|
|
2744
2744
|
setup(r) {
|
|
2745
2745
|
return (s, o) => {
|
|
2746
|
-
const e =
|
|
2746
|
+
const e = v("survey-string");
|
|
2747
2747
|
return i(), u("label", {
|
|
2748
2748
|
onMousedown: o[1] || (o[1] = (n) => s.question.onMouseDown()),
|
|
2749
2749
|
class: l(s.question.getItemClass(s.row, s.column))
|
|
2750
2750
|
}, [
|
|
2751
|
-
|
|
2751
|
+
N(c("input", {
|
|
2752
2752
|
type: "radio",
|
|
2753
2753
|
class: l(s.question.cssClasses.itemValue),
|
|
2754
2754
|
name: s.row.fullName,
|
|
@@ -2796,9 +2796,9 @@ const eo = /* @__PURE__ */ h({
|
|
|
2796
2796
|
question: {}
|
|
2797
2797
|
},
|
|
2798
2798
|
setup(r) {
|
|
2799
|
-
const s = r, o =
|
|
2800
|
-
return
|
|
2801
|
-
const t =
|
|
2799
|
+
const s = r, o = $(null);
|
|
2800
|
+
return P(s, o), (e, n) => {
|
|
2801
|
+
const t = v("survey-matrixtable");
|
|
2802
2802
|
return i(), g(t, {
|
|
2803
2803
|
question: e.question,
|
|
2804
2804
|
ref_key: "root",
|
|
@@ -2813,7 +2813,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2813
2813
|
},
|
|
2814
2814
|
setup(r) {
|
|
2815
2815
|
const s = r, o = w(() => s.question.renderedTable);
|
|
2816
|
-
return
|
|
2816
|
+
return B(
|
|
2817
2817
|
() => o.value,
|
|
2818
2818
|
(e) => {
|
|
2819
2819
|
const n = ie();
|
|
@@ -2827,7 +2827,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2827
2827
|
};
|
|
2828
2828
|
}
|
|
2829
2829
|
), (e, n) => {
|
|
2830
|
-
const t =
|
|
2830
|
+
const t = v("survey-string"), a = v("survey-matrixheaderrequired"), y = v("survey-matrixdropdown-cell");
|
|
2831
2831
|
return i(), u("div", {
|
|
2832
2832
|
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2833
2833
|
class: l(e.question.cssClasses.tableWrapper)
|
|
@@ -2837,13 +2837,13 @@ const eo = /* @__PURE__ */ h({
|
|
|
2837
2837
|
}, [
|
|
2838
2838
|
o.value.showHeader ? (i(), u("thead", yo, [
|
|
2839
2839
|
c("tr", null, [
|
|
2840
|
-
(i(!0), u(
|
|
2840
|
+
(i(!0), u(_, null, D(o.value.headerRow.cells, (m) => (i(), u(_, null, [
|
|
2841
2841
|
m.hasTitle ? (i(), u("th", {
|
|
2842
2842
|
key: "header_" + m.id,
|
|
2843
2843
|
class: l(m.className),
|
|
2844
2844
|
style: S({ minWidth: m.minWidth, width: m.width })
|
|
2845
2845
|
}, [
|
|
2846
|
-
(i(), g(
|
|
2846
|
+
(i(), g(T(e.question.getColumnHeaderWrapperComponentName(m)), {
|
|
2847
2847
|
componentData: e.question.getColumnHeaderWrapperComponentData(m)
|
|
2848
2848
|
}, {
|
|
2849
2849
|
default: F(() => [
|
|
@@ -2868,7 +2868,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2868
2868
|
])
|
|
2869
2869
|
])) : d("", !0),
|
|
2870
2870
|
c("tbody", null, [
|
|
2871
|
-
(i(!0), u(
|
|
2871
|
+
(i(!0), u(_, null, D(o.value.rows, (m) => (i(), u(_, {
|
|
2872
2872
|
key: e.question.inputId + "_" + m.id
|
|
2873
2873
|
}, [
|
|
2874
2874
|
m.visible ? (i(), u("tr", {
|
|
@@ -2877,17 +2877,17 @@ const eo = /* @__PURE__ */ h({
|
|
|
2877
2877
|
onPointerdown: (q) => e.question.onPointerDown(q, m.row),
|
|
2878
2878
|
class: l(m.className)
|
|
2879
2879
|
}, [
|
|
2880
|
-
(i(!0), u(
|
|
2880
|
+
(i(!0), u(_, null, D(m.cells, (q, p) => (i(), g(y, {
|
|
2881
2881
|
cell: q,
|
|
2882
2882
|
question: e.question,
|
|
2883
|
-
key: m.id + "_" +
|
|
2883
|
+
key: m.id + "_" + p
|
|
2884
2884
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2885
2885
|
], 42, qo)) : d("", !0)
|
|
2886
2886
|
], 64))), 128))
|
|
2887
2887
|
]),
|
|
2888
2888
|
o.value.showFooter ? (i(), u("tfoot", go, [
|
|
2889
2889
|
c("tr", null, [
|
|
2890
|
-
(i(!0), u(
|
|
2890
|
+
(i(!0), u(_, null, D(o.value.footerRow.cells, (m, q) => (i(), g(y, {
|
|
2891
2891
|
cell: m,
|
|
2892
2892
|
question: e.question,
|
|
2893
2893
|
key: "footer_" + q
|
|
@@ -2906,12 +2906,12 @@ const eo = /* @__PURE__ */ h({
|
|
|
2906
2906
|
},
|
|
2907
2907
|
setup(r) {
|
|
2908
2908
|
const s = r;
|
|
2909
|
-
return
|
|
2909
|
+
return B(() => s.column), (o, e) => o.column.isRenderedRequired ? (i(), u(_, { key: 0 }, [
|
|
2910
2910
|
Co,
|
|
2911
2911
|
o.column.isRenderedRequired ? (i(), u("span", {
|
|
2912
2912
|
key: 0,
|
|
2913
2913
|
class: l(o.question.cssClasses.cellRequiredText)
|
|
2914
|
-
},
|
|
2914
|
+
}, R(o.column.requiredText), 3)) : d("", !0)
|
|
2915
2915
|
], 64)) : d("", !0);
|
|
2916
2916
|
}
|
|
2917
2917
|
}), ko = ["data-responsive-title", "title", "colspan"], fo = /* @__PURE__ */ h({
|
|
@@ -2921,132 +2921,132 @@ const eo = /* @__PURE__ */ h({
|
|
|
2921
2921
|
cell: {}
|
|
2922
2922
|
},
|
|
2923
2923
|
setup(r) {
|
|
2924
|
-
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);
|
|
2925
2925
|
H(() => {
|
|
2926
2926
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2927
2927
|
return;
|
|
2928
2928
|
a(), s.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
2929
2929
|
a();
|
|
2930
2930
|
});
|
|
2931
|
-
const
|
|
2931
|
+
const p = e.value, f = s.cell.question, b = {
|
|
2932
2932
|
cell: s.cell.cell,
|
|
2933
|
-
cellQuestion:
|
|
2934
|
-
htmlElement:
|
|
2933
|
+
cellQuestion: f,
|
|
2934
|
+
htmlElement: p,
|
|
2935
2935
|
row: s.cell.row,
|
|
2936
2936
|
column: s.cell.cell.column
|
|
2937
2937
|
};
|
|
2938
|
-
s.question.survey.matrixAfterCellRender(s.question, b),
|
|
2938
|
+
s.question.survey.matrixAfterCellRender(s.question, b), f && f.afterRenderCore(p);
|
|
2939
2939
|
});
|
|
2940
2940
|
const m = w(() => {
|
|
2941
|
-
const
|
|
2942
|
-
if (
|
|
2943
|
-
const
|
|
2941
|
+
const p = s.cell;
|
|
2942
|
+
if (p.hasPanel) {
|
|
2943
|
+
const f = p.panel, b = f.survey;
|
|
2944
2944
|
if (b) {
|
|
2945
|
-
const
|
|
2946
|
-
if (
|
|
2947
|
-
return
|
|
2945
|
+
const A = b.getElementWrapperComponentName(f);
|
|
2946
|
+
if (A)
|
|
2947
|
+
return A;
|
|
2948
2948
|
}
|
|
2949
2949
|
return "survey-panel";
|
|
2950
2950
|
}
|
|
2951
2951
|
}), q = w(() => {
|
|
2952
2952
|
if (s.cell.hasPanel) {
|
|
2953
|
-
const
|
|
2954
|
-
let
|
|
2955
|
-
return b && (
|
|
2953
|
+
const f = s.cell.panel, b = f.survey;
|
|
2954
|
+
let A;
|
|
2955
|
+
return b && (A = b.getElementWrapperComponentData(f)), {
|
|
2956
2956
|
componentName: "survey-panel",
|
|
2957
2957
|
componentData: {
|
|
2958
|
-
element:
|
|
2959
|
-
data:
|
|
2958
|
+
element: f,
|
|
2959
|
+
data: A,
|
|
2960
2960
|
css: s.question.cssClasses
|
|
2961
2961
|
}
|
|
2962
2962
|
};
|
|
2963
2963
|
}
|
|
2964
2964
|
});
|
|
2965
|
-
return (
|
|
2966
|
-
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");
|
|
2967
2967
|
return i(), u("td", {
|
|
2968
|
-
class: l(
|
|
2968
|
+
class: l(p.cell.className),
|
|
2969
2969
|
"data-responsive-title": n(),
|
|
2970
|
-
title:
|
|
2970
|
+
title: p.cell.getTitle(),
|
|
2971
2971
|
style: S(t()),
|
|
2972
|
-
colspan:
|
|
2973
|
-
onFocusin:
|
|
2972
|
+
colspan: p.cell.colSpans,
|
|
2973
|
+
onFocusin: f[0] || (f[0] = (ue) => p.cell.focusIn()),
|
|
2974
2974
|
ref_key: "root",
|
|
2975
2975
|
ref: e
|
|
2976
2976
|
}, [
|
|
2977
|
-
|
|
2977
|
+
p.cell.isErrorsCell ? (i(), g(b, {
|
|
2978
2978
|
key: 0,
|
|
2979
|
-
element:
|
|
2979
|
+
element: p.cell.question
|
|
2980
2980
|
}, null, 8, ["element"])) : d("", !0),
|
|
2981
|
-
|
|
2981
|
+
p.cell.isDragHandlerCell ? (i(), g(A, {
|
|
2982
2982
|
key: 1,
|
|
2983
|
-
item: { data: { row:
|
|
2983
|
+
item: { data: { row: p.cell.row, question: p.question } }
|
|
2984
2984
|
}, null, 8, ["item"])) : d("", !0),
|
|
2985
|
-
|
|
2985
|
+
p.cell.isActionsCell ? (i(), g(k, {
|
|
2986
2986
|
key: 2,
|
|
2987
|
-
model:
|
|
2987
|
+
model: p.cell.item.getData(),
|
|
2988
2988
|
handleClick: !1
|
|
2989
2989
|
}, null, 8, ["model"])) : d("", !0),
|
|
2990
|
-
|
|
2991
|
-
|
|
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", {
|
|
2992
2992
|
key: 4,
|
|
2993
|
-
class: l(
|
|
2993
|
+
class: l(p.question.cssClasses.cellQuestionWrapper)
|
|
2994
2994
|
}, [
|
|
2995
|
-
!
|
|
2995
|
+
!p.cell.isChoice && p.cell.question.isDefaultRendering() ? (i(), g(T(p.question.getCellWrapperComponentName(p.cell.cell)), {
|
|
2996
2996
|
key: 0,
|
|
2997
|
-
componentData:
|
|
2997
|
+
componentData: p.question.getCellWrapperComponentData(p.cell.cell)
|
|
2998
2998
|
}, {
|
|
2999
2999
|
default: F(() => [
|
|
3000
|
-
(i(), g(
|
|
3001
|
-
question:
|
|
3000
|
+
(i(), g(T(y(p.cell.question)), {
|
|
3001
|
+
question: p.cell.question
|
|
3002
3002
|
}, null, 8, ["question"]))
|
|
3003
3003
|
]),
|
|
3004
3004
|
_: 1
|
|
3005
3005
|
}, 8, ["componentData"])) : d("", !0),
|
|
3006
|
-
!
|
|
3006
|
+
!p.cell.isChoice && !p.cell.question.isDefaultRendering() ? (i(), g(T(p.cell.question.getComponentName()), {
|
|
3007
3007
|
key: 1,
|
|
3008
|
-
question:
|
|
3008
|
+
question: p.cell.question
|
|
3009
3009
|
}, null, 8, ["question"])) : d("", !0),
|
|
3010
|
-
|
|
3010
|
+
p.cell.isItemChoice ? (i(), g(T(p.question.getCellWrapperComponentName(p.cell.cell)), {
|
|
3011
3011
|
key: 2,
|
|
3012
|
-
componentData:
|
|
3012
|
+
componentData: p.question.getCellWrapperComponentData(p.cell.cell)
|
|
3013
3013
|
}, {
|
|
3014
3014
|
default: F(() => [
|
|
3015
|
-
|
|
3016
|
-
key:
|
|
3017
|
-
question:
|
|
3018
|
-
item:
|
|
3015
|
+
p.cell.isRadio ? (i(), g(L, {
|
|
3016
|
+
key: p.cell.item.value,
|
|
3017
|
+
question: p.cell.question,
|
|
3018
|
+
item: p.cell.item,
|
|
3019
3019
|
hideLabel: !0
|
|
3020
3020
|
}, null, 8, ["question", "item"])) : d("", !0),
|
|
3021
|
-
|
|
3022
|
-
key:
|
|
3023
|
-
question:
|
|
3024
|
-
item:
|
|
3021
|
+
p.cell.isCheckbox ? (i(), g(E, {
|
|
3022
|
+
key: p.cell.item.value,
|
|
3023
|
+
question: p.cell.question,
|
|
3024
|
+
item: p.cell.item,
|
|
3025
3025
|
hideLabel: !0
|
|
3026
3026
|
}, null, 8, ["question", "item"])) : d("", !0)
|
|
3027
3027
|
]),
|
|
3028
3028
|
_: 1
|
|
3029
3029
|
}, 8, ["componentData"])) : d("", !0),
|
|
3030
|
-
|
|
3030
|
+
p.cell.isOtherChoice ? (i(), g(V, {
|
|
3031
3031
|
key: 3,
|
|
3032
|
-
question:
|
|
3032
|
+
question: p.cell.question
|
|
3033
3033
|
}, null, 8, ["question"])) : d("", !0)
|
|
3034
3034
|
], 2)), [
|
|
3035
3035
|
[M, o.value]
|
|
3036
3036
|
]) : d("", !0),
|
|
3037
|
-
|
|
3037
|
+
p.cell.hasTitle ? (i(), g(T(p.question.getCellWrapperComponentName(p.cell)), {
|
|
3038
3038
|
key: 5,
|
|
3039
|
-
componentData:
|
|
3039
|
+
componentData: p.question.getCellWrapperComponentData(p.cell)
|
|
3040
3040
|
}, {
|
|
3041
3041
|
default: F(() => [
|
|
3042
|
-
|
|
3042
|
+
p.cell.hasTitle ? (i(), g(K, {
|
|
3043
3043
|
key: 0,
|
|
3044
|
-
locString:
|
|
3044
|
+
locString: p.cell.locTitle
|
|
3045
3045
|
}, null, 8, ["locString"])) : d("", !0),
|
|
3046
|
-
|
|
3046
|
+
p.cell.requiredText ? (i(), u("span", {
|
|
3047
3047
|
key: 1,
|
|
3048
|
-
class: l(
|
|
3049
|
-
},
|
|
3048
|
+
class: l(p.question.cssClasses.cellRequiredText)
|
|
3049
|
+
}, R(p.cell.requiredText), 3)) : d("", !0)
|
|
3050
3050
|
]),
|
|
3051
3051
|
_: 1
|
|
3052
3052
|
}, 8, ["componentData"])) : d("", !0)
|
|
@@ -3060,13 +3060,13 @@ const eo = /* @__PURE__ */ h({
|
|
|
3060
3060
|
question: {}
|
|
3061
3061
|
},
|
|
3062
3062
|
setup(r) {
|
|
3063
|
-
const s = r, o =
|
|
3064
|
-
|
|
3063
|
+
const s = r, o = $(null);
|
|
3064
|
+
P(s, o);
|
|
3065
3065
|
const e = () => {
|
|
3066
3066
|
s.question.addRowUI();
|
|
3067
3067
|
};
|
|
3068
3068
|
return (n, t) => {
|
|
3069
|
-
const a =
|
|
3069
|
+
const a = v("survey-string"), y = v("survey-matrixtable");
|
|
3070
3070
|
return i(), u("div", {
|
|
3071
3071
|
ref_key: "root",
|
|
3072
3072
|
ref: o
|
|
@@ -3152,18 +3152,18 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3152
3152
|
setup(r) {
|
|
3153
3153
|
const s = r, { question: o, row: e } = ae(s);
|
|
3154
3154
|
return (n, t) => {
|
|
3155
|
-
const a =
|
|
3155
|
+
const a = v("survey-string");
|
|
3156
3156
|
return i(), u("button", {
|
|
3157
3157
|
type: "button",
|
|
3158
|
-
class: l(
|
|
3159
|
-
disabled:
|
|
3160
|
-
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)))
|
|
3161
3161
|
}, [
|
|
3162
3162
|
C(a, {
|
|
3163
|
-
locString:
|
|
3163
|
+
locString: I(o).locRemoveRowText
|
|
3164
3164
|
}, null, 8, ["locString"]),
|
|
3165
3165
|
c("span", {
|
|
3166
|
-
class: l(
|
|
3166
|
+
class: l(I(o).cssClasses.iconRemove)
|
|
3167
3167
|
}, null, 2)
|
|
3168
3168
|
], 10, wo);
|
|
3169
3169
|
};
|
|
@@ -3175,16 +3175,16 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3175
3175
|
},
|
|
3176
3176
|
setup(r) {
|
|
3177
3177
|
const s = r, { question: o } = ae(s, !1);
|
|
3178
|
-
return (e, n) =>
|
|
3178
|
+
return (e, n) => I(o).iconDragElement ? (i(), u("svg", {
|
|
3179
3179
|
key: 0,
|
|
3180
|
-
class: l(
|
|
3180
|
+
class: l(I(o).cssClasses.dragElementDecorator)
|
|
3181
3181
|
}, [
|
|
3182
3182
|
c("use", {
|
|
3183
|
-
"xlink:href":
|
|
3183
|
+
"xlink:href": I(o).iconDragElement
|
|
3184
3184
|
}, null, 8, Ro)
|
|
3185
3185
|
], 2)) : (i(), u("span", {
|
|
3186
3186
|
key: 1,
|
|
3187
|
-
class: l(
|
|
3187
|
+
class: l(I(o).cssClasses.iconDrag)
|
|
3188
3188
|
}, null, 2));
|
|
3189
3189
|
}
|
|
3190
3190
|
}), $o = ["aria-expanded", "aria-controls"], _o = /* @__PURE__ */ h({
|
|
@@ -3195,17 +3195,17 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3195
3195
|
setup(r) {
|
|
3196
3196
|
const s = r, { question: o, row: e } = ae(s);
|
|
3197
3197
|
return (n, t) => {
|
|
3198
|
-
const a =
|
|
3198
|
+
const a = v("sv-svg-icon");
|
|
3199
3199
|
return i(), u("button", {
|
|
3200
3200
|
type: "button",
|
|
3201
|
-
class: l(
|
|
3202
|
-
onClick: t[0] || (t[0] = () =>
|
|
3203
|
-
"aria-expanded":
|
|
3204
|
-
"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
|
|
3205
3205
|
}, [
|
|
3206
3206
|
C(a, {
|
|
3207
|
-
class: l(
|
|
3208
|
-
iconName:
|
|
3207
|
+
class: l(I(o).getDetailPanelIconCss(I(e))),
|
|
3208
|
+
iconName: I(o).getDetailPanelIconId(I(e)),
|
|
3209
3209
|
size: "auto"
|
|
3210
3210
|
}, null, 8, ["class", "iconName"])
|
|
3211
3211
|
], 10, $o);
|
|
@@ -3219,8 +3219,8 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3219
3219
|
css: {}
|
|
3220
3220
|
},
|
|
3221
3221
|
setup(r) {
|
|
3222
|
-
const s = r, o =
|
|
3223
|
-
|
|
3222
|
+
const s = r, o = $(null), e = ie();
|
|
3223
|
+
P(
|
|
3224
3224
|
s,
|
|
3225
3225
|
o,
|
|
3226
3226
|
(m) => {
|
|
@@ -3250,24 +3250,24 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3250
3250
|
}), t = () => s.question.showLegacyNavigation, a = (m) => {
|
|
3251
3251
|
const q = s.question.getSurvey();
|
|
3252
3252
|
if (q) {
|
|
3253
|
-
const
|
|
3254
|
-
if (
|
|
3255
|
-
return
|
|
3253
|
+
const p = q.getElementWrapperComponentName(m);
|
|
3254
|
+
if (p)
|
|
3255
|
+
return p;
|
|
3256
3256
|
}
|
|
3257
3257
|
return "panel";
|
|
3258
3258
|
}, y = (m) => {
|
|
3259
3259
|
const q = s.question.getSurvey();
|
|
3260
|
-
let
|
|
3261
|
-
return q && (
|
|
3260
|
+
let p;
|
|
3261
|
+
return q && (p = q.getElementWrapperComponentData(m)), {
|
|
3262
3262
|
componentName: "survey-panel",
|
|
3263
3263
|
componentData: {
|
|
3264
3264
|
element: m,
|
|
3265
|
-
data:
|
|
3265
|
+
data: p
|
|
3266
3266
|
}
|
|
3267
3267
|
};
|
|
3268
3268
|
};
|
|
3269
3269
|
return (m, q) => {
|
|
3270
|
-
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");
|
|
3271
3271
|
return i(), u("div", {
|
|
3272
3272
|
class: l(m.question.cssClasses.root),
|
|
3273
3273
|
ref_key: "root",
|
|
@@ -3278,11 +3278,11 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3278
3278
|
class: l(m.question.cssClasses.noEntriesPlaceholder)
|
|
3279
3279
|
}, [
|
|
3280
3280
|
c("span", null, [
|
|
3281
|
-
C(
|
|
3281
|
+
C(p, {
|
|
3282
3282
|
locString: m.question.locNoEntriesText
|
|
3283
3283
|
}, null, 8, ["locString"])
|
|
3284
3284
|
]),
|
|
3285
|
-
C(
|
|
3285
|
+
C(f, {
|
|
3286
3286
|
data: { question: m.question }
|
|
3287
3287
|
}, null, 8, ["data"])
|
|
3288
3288
|
], 2)) : d("", !0),
|
|
@@ -3300,28 +3300,28 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3300
3300
|
key: 2,
|
|
3301
3301
|
question: m.question
|
|
3302
3302
|
}, null, 8, ["question"])) : d("", !0),
|
|
3303
|
-
(i(!0), u(
|
|
3304
|
-
key:
|
|
3303
|
+
(i(!0), u(_, null, D(n.value, (L, E) => (i(), u(_, {
|
|
3304
|
+
key: L.id
|
|
3305
3305
|
}, [
|
|
3306
3306
|
c("div", {
|
|
3307
3307
|
class: l(m.question.getPanelWrapperCss())
|
|
3308
3308
|
}, [
|
|
3309
|
-
(i(), g(
|
|
3310
|
-
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, {
|
|
3311
3311
|
key: 0,
|
|
3312
|
-
data: { question: m.question, panel:
|
|
3312
|
+
data: { question: m.question, panel: L }
|
|
3313
3313
|
}, null, 8, ["data"])) : d("", !0)
|
|
3314
3314
|
], 2),
|
|
3315
3315
|
m.question.isRenderModeList && E < m.question.visiblePanelCount - 1 ? (i(), u("hr", {
|
|
3316
3316
|
class: l(m.question.cssClasses.separator),
|
|
3317
|
-
key: "separator" +
|
|
3317
|
+
key: "separator" + L.id
|
|
3318
3318
|
}, null, 2)) : d("", !0)
|
|
3319
3319
|
], 64))), 128)),
|
|
3320
3320
|
t() && m.question.isProgressBottomShowing ? (i(), g(b, {
|
|
3321
3321
|
key: 3,
|
|
3322
3322
|
question: m.question
|
|
3323
3323
|
}, null, 8, ["question"])) : d("", !0),
|
|
3324
|
-
t() && m.question.isRenderModeList ? (i(), g(
|
|
3324
|
+
t() && m.question.isRenderModeList ? (i(), g(f, {
|
|
3325
3325
|
key: 4,
|
|
3326
3326
|
data: { question: m.question }
|
|
3327
3327
|
}, null, 8, ["data"])) : d("", !0),
|
|
@@ -3340,7 +3340,7 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3340
3340
|
setup(r) {
|
|
3341
3341
|
const s = r, o = () => s.question.isProgressTopShowing ? s.question.cssClasses.progressTop : s.question.cssClasses.progressBottom;
|
|
3342
3342
|
return (e, n) => {
|
|
3343
|
-
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");
|
|
3344
3344
|
return i(), u("div", {
|
|
3345
3345
|
class: l(o())
|
|
3346
3346
|
}, [
|
|
@@ -3385,7 +3385,7 @@ const wo = ["disabled"], So = /* @__PURE__ */ h({
|
|
|
3385
3385
|
},
|
|
3386
3386
|
setup(r) {
|
|
3387
3387
|
return (s, o) => {
|
|
3388
|
-
const e =
|
|
3388
|
+
const e = v("sv-action-bar");
|
|
3389
3389
|
return s.question.cssClasses.footer ? (i(), u("div", {
|
|
3390
3390
|
key: 0,
|
|
3391
3391
|
class: l(s.question.cssClasses.footer)
|
|
@@ -3431,18 +3431,18 @@ const No = /* @__PURE__ */ h({
|
|
|
3431
3431
|
o.value.addPanelUI();
|
|
3432
3432
|
};
|
|
3433
3433
|
return (n, t) => {
|
|
3434
|
-
const a =
|
|
3435
|
-
return
|
|
3434
|
+
const a = v("survey-string");
|
|
3435
|
+
return I(o).canAddPanel ? (i(), u("button", {
|
|
3436
3436
|
key: 0,
|
|
3437
3437
|
type: "button",
|
|
3438
|
-
class: l(
|
|
3438
|
+
class: l(I(o).getAddButtonCss()),
|
|
3439
3439
|
onClick: e
|
|
3440
3440
|
}, [
|
|
3441
3441
|
c("span", {
|
|
3442
|
-
class: l(
|
|
3442
|
+
class: l(I(o).cssClasses.buttonAddText)
|
|
3443
3443
|
}, [
|
|
3444
3444
|
C(a, {
|
|
3445
|
-
locString:
|
|
3445
|
+
locString: I(o).locPanelAddText
|
|
3446
3446
|
}, null, 8, ["locString"])
|
|
3447
3447
|
], 2)
|
|
3448
3448
|
], 2)) : d("", !0);
|
|
@@ -3459,14 +3459,14 @@ const No = /* @__PURE__ */ h({
|
|
|
3459
3459
|
o.value.goToNextPanel();
|
|
3460
3460
|
};
|
|
3461
3461
|
return (n, t) => {
|
|
3462
|
-
const a =
|
|
3462
|
+
const a = v("sv-svg-icon");
|
|
3463
3463
|
return i(), u("div", {
|
|
3464
|
-
title:
|
|
3464
|
+
title: I(o).panelNextText,
|
|
3465
3465
|
onClick: e,
|
|
3466
|
-
class: l(
|
|
3466
|
+
class: l(I(o).getNextButtonCss())
|
|
3467
3467
|
}, [
|
|
3468
3468
|
C(a, {
|
|
3469
|
-
iconName:
|
|
3469
|
+
iconName: I(o).cssClasses.progressBtnIcon,
|
|
3470
3470
|
size: "auto"
|
|
3471
3471
|
}, null, 8, ["iconName"])
|
|
3472
3472
|
], 10, Po);
|
|
@@ -3483,14 +3483,14 @@ const No = /* @__PURE__ */ h({
|
|
|
3483
3483
|
o.value.goToPrevPanel();
|
|
3484
3484
|
};
|
|
3485
3485
|
return (n, t) => {
|
|
3486
|
-
const a =
|
|
3486
|
+
const a = v("sv-svg-icon");
|
|
3487
3487
|
return i(), u("div", {
|
|
3488
|
-
title:
|
|
3488
|
+
title: I(o).panelPrevText,
|
|
3489
3489
|
onClick: e,
|
|
3490
|
-
class: l(
|
|
3490
|
+
class: l(I(o).getPrevButtonCss())
|
|
3491
3491
|
}, [
|
|
3492
3492
|
C(a, {
|
|
3493
|
-
iconName:
|
|
3493
|
+
iconName: I(o).cssClasses.progressBtnIcon,
|
|
3494
3494
|
size: "auto"
|
|
3495
3495
|
}, null, 8, ["iconName"])
|
|
3496
3496
|
], 10, Mo);
|
|
@@ -3509,21 +3509,21 @@ const No = /* @__PURE__ */ h({
|
|
|
3509
3509
|
o.value.isInputReadOnly || o.value.removePanelUI(t);
|
|
3510
3510
|
};
|
|
3511
3511
|
return (t, a) => {
|
|
3512
|
-
const y =
|
|
3512
|
+
const y = v("survey-string");
|
|
3513
3513
|
return i(), u("button", {
|
|
3514
3514
|
type: "button",
|
|
3515
|
-
class: l(
|
|
3515
|
+
class: l(I(o).getPanelRemoveButtonCss()),
|
|
3516
3516
|
onClick: a[0] || (a[0] = (m) => n(e.value))
|
|
3517
3517
|
}, [
|
|
3518
3518
|
c("span", {
|
|
3519
|
-
class: l(
|
|
3519
|
+
class: l(I(o).cssClasses.buttonRemoveText)
|
|
3520
3520
|
}, [
|
|
3521
3521
|
C(y, {
|
|
3522
|
-
locString:
|
|
3522
|
+
locString: I(o).locPanelRemoveText
|
|
3523
3523
|
}, null, 8, ["locString"])
|
|
3524
3524
|
], 2),
|
|
3525
3525
|
c("span", {
|
|
3526
|
-
class: l(
|
|
3526
|
+
class: l(I(o).cssClasses.iconRemove)
|
|
3527
3527
|
}, null, 2)
|
|
3528
3528
|
], 2);
|
|
3529
3529
|
};
|
|
@@ -3537,8 +3537,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3537
3537
|
setup(r) {
|
|
3538
3538
|
const o = Y(r);
|
|
3539
3539
|
return (e, n) => (i(), u("div", {
|
|
3540
|
-
class: l(
|
|
3541
|
-
},
|
|
3540
|
+
class: l(I(o).cssClasses.progressText)
|
|
3541
|
+
}, R(I(o).progressText), 3));
|
|
3542
3542
|
}
|
|
3543
3543
|
}), Vo = ["id"], Fo = /* @__PURE__ */ h({
|
|
3544
3544
|
__name: "Errors",
|
|
@@ -3547,9 +3547,9 @@ const No = /* @__PURE__ */ h({
|
|
|
3547
3547
|
location: {}
|
|
3548
3548
|
},
|
|
3549
3549
|
setup(r) {
|
|
3550
|
-
const s =
|
|
3550
|
+
const s = $();
|
|
3551
3551
|
return (o, e) => {
|
|
3552
|
-
const n =
|
|
3552
|
+
const n = v("survey-string");
|
|
3553
3553
|
return o.element.hasVisibleErrors ? (i(), u("div", {
|
|
3554
3554
|
key: 0,
|
|
3555
3555
|
role: "alert",
|
|
@@ -3559,7 +3559,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3559
3559
|
ref_key: "root",
|
|
3560
3560
|
ref: s
|
|
3561
3561
|
}, [
|
|
3562
|
-
(i(!0), u(
|
|
3562
|
+
(i(!0), u(_, null, D(o.element.errors, (t, a) => (i(), u("div", {
|
|
3563
3563
|
key: "error_" + a
|
|
3564
3564
|
}, [
|
|
3565
3565
|
c("span", {
|
|
@@ -3587,7 +3587,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3587
3587
|
question: {}
|
|
3588
3588
|
},
|
|
3589
3589
|
setup(r) {
|
|
3590
|
-
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", {
|
|
3591
3591
|
key: 1,
|
|
3592
3592
|
id: s.question.commentId,
|
|
3593
3593
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3618,8 +3618,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3618
3618
|
ge(o);
|
|
3619
3619
|
};
|
|
3620
3620
|
return (o, e) => {
|
|
3621
|
-
const n =
|
|
3622
|
-
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), {
|
|
3623
3623
|
key: 0,
|
|
3624
3624
|
class: l(o.element.cssTitle),
|
|
3625
3625
|
"aria-label": o.element.titleAriaLabel,
|
|
@@ -3656,8 +3656,8 @@ const No = /* @__PURE__ */ h({
|
|
|
3656
3656
|
},
|
|
3657
3657
|
setup(r) {
|
|
3658
3658
|
return (s, o) => {
|
|
3659
|
-
const e =
|
|
3660
|
-
return i(), u(
|
|
3659
|
+
const e = v("survey-string");
|
|
3660
|
+
return i(), u(_, null, [
|
|
3661
3661
|
s.element.isTitleRenderedAsString ? (i(), g(e, {
|
|
3662
3662
|
key: 0,
|
|
3663
3663
|
locString: s.element.locTitle
|
|
@@ -3666,19 +3666,19 @@ const No = /* @__PURE__ */ h({
|
|
|
3666
3666
|
key: 1,
|
|
3667
3667
|
class: l(s.element.cssClasses.requiredText),
|
|
3668
3668
|
"aria-hidden": !0
|
|
3669
|
-
},
|
|
3669
|
+
}, R(s.element.requiredText), 3)) : d("", !0),
|
|
3670
3670
|
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", {
|
|
3671
3671
|
key: 2,
|
|
3672
3672
|
style: { position: "static" },
|
|
3673
3673
|
class: l(s.element.cssTitleNumber),
|
|
3674
3674
|
"aria-hidden": !0
|
|
3675
|
-
},
|
|
3675
|
+
}, R(s.element.no), 3)) : d("", !0),
|
|
3676
3676
|
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", jo, "\xA0")) : d("", !0),
|
|
3677
3677
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3678
3678
|
key: 4,
|
|
3679
3679
|
class: l(s.element.cssClasses.requiredText),
|
|
3680
3680
|
"aria-hidden": !0
|
|
3681
|
-
},
|
|
3681
|
+
}, R(s.element.requiredText), 3)) : d("", !0),
|
|
3682
3682
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", Qo, "\xA0")) : d("", !0),
|
|
3683
3683
|
s.element.isTitleRenderedAsString ? d("", !0) : (i(), g(e, {
|
|
3684
3684
|
key: 6,
|
|
@@ -3689,7 +3689,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3689
3689
|
key: 8,
|
|
3690
3690
|
class: l(s.element.cssClasses.requiredText),
|
|
3691
3691
|
"aria-hidden": !0
|
|
3692
|
-
},
|
|
3692
|
+
}, R(s.element.requiredText), 3)) : d("", !0)
|
|
3693
3693
|
], 64);
|
|
3694
3694
|
};
|
|
3695
3695
|
}
|
|
@@ -3702,7 +3702,7 @@ const No = /* @__PURE__ */ h({
|
|
|
3702
3702
|
setup(r) {
|
|
3703
3703
|
const s = r, o = w(() => s.element.getTitleToolbar());
|
|
3704
3704
|
return (e, n) => {
|
|
3705
|
-
const t =
|
|
3705
|
+
const t = v("survey-string"), a = v("survey-element-title-content"), y = v("sv-action-bar");
|
|
3706
3706
|
return i(), u("div", Xo, [
|
|
3707
3707
|
c("span", Yo, [
|
|
3708
3708
|
e.element.isPage ? (i(), g(t, {
|
|
@@ -3742,7 +3742,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3742
3742
|
title: {}
|
|
3743
3743
|
},
|
|
3744
3744
|
setup(r) {
|
|
3745
|
-
const s = r, o =
|
|
3745
|
+
const s = r, o = $(), e = () => {
|
|
3746
3746
|
Pe(
|
|
3747
3747
|
s.size,
|
|
3748
3748
|
s.width,
|
|
@@ -3771,17 +3771,17 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3771
3771
|
handleClick: { type: Boolean, default: !0 }
|
|
3772
3772
|
},
|
|
3773
3773
|
setup(r) {
|
|
3774
|
-
const s = r, o =
|
|
3774
|
+
const s = r, o = $(null), e = (t) => {
|
|
3775
3775
|
s.handleClick && t.stopPropagation();
|
|
3776
3776
|
};
|
|
3777
|
-
|
|
3777
|
+
B(() => s.model);
|
|
3778
3778
|
const n = le(() => s.model.renderedActions);
|
|
3779
3779
|
return H(() => {
|
|
3780
3780
|
!s.model.hasActions || s.model.initResponsivityManager(o.value);
|
|
3781
3781
|
}), U(() => {
|
|
3782
3782
|
s.model.resetResponsivityManager();
|
|
3783
3783
|
}), (t, a) => {
|
|
3784
|
-
const y =
|
|
3784
|
+
const y = v("sv-action");
|
|
3785
3785
|
return t.model.hasActions ? (i(), u("div", {
|
|
3786
3786
|
key: 0,
|
|
3787
3787
|
ref_key: "root",
|
|
@@ -3789,7 +3789,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3789
3789
|
class: l(t.model.getRootCss()),
|
|
3790
3790
|
onClick: e
|
|
3791
3791
|
}, [
|
|
3792
|
-
(i(!0), u(
|
|
3792
|
+
(i(!0), u(_, null, D(I(n), (m) => (i(), g(y, {
|
|
3793
3793
|
key: m.id,
|
|
3794
3794
|
item: m
|
|
3795
3795
|
}, null, 8, ["item"]))), 128))
|
|
@@ -3805,15 +3805,15 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3805
3805
|
const s = r, o = w(
|
|
3806
3806
|
() => s.item.component || "sv-action-bar-item"
|
|
3807
3807
|
);
|
|
3808
|
-
return
|
|
3809
|
-
const t =
|
|
3808
|
+
return B(() => s.item), (e, n) => {
|
|
3809
|
+
const t = v("sv-action-bar-separator");
|
|
3810
3810
|
return i(), u("div", {
|
|
3811
3811
|
class: l(e.item.getActionRootCss()),
|
|
3812
3812
|
id: e.item.id
|
|
3813
3813
|
}, [
|
|
3814
3814
|
c("div", dt, [
|
|
3815
3815
|
e.item.needSeparator ? (i(), g(t, { key: 0 })) : d("", !0),
|
|
3816
|
-
(i(), g(
|
|
3816
|
+
(i(), g(T(o.value), { item: e.item }, null, 8, ["item"]))
|
|
3817
3817
|
])
|
|
3818
3818
|
], 10, ut);
|
|
3819
3819
|
};
|
|
@@ -3828,9 +3828,9 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3828
3828
|
},
|
|
3829
3829
|
setup(r) {
|
|
3830
3830
|
const s = r;
|
|
3831
|
-
return
|
|
3832
|
-
const n =
|
|
3833
|
-
return
|
|
3831
|
+
return B(() => s.item), (o, e) => {
|
|
3832
|
+
const n = v("sv-svg-icon"), t = X("key2click");
|
|
3833
|
+
return N((i(), u("button", {
|
|
3834
3834
|
class: l(o.item.getActionBarItemCss()),
|
|
3835
3835
|
type: "button",
|
|
3836
3836
|
onClick: e[0] || (e[0] = (a) => {
|
|
@@ -3855,7 +3855,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3855
3855
|
o.item.hasTitle ? (i(), u("span", {
|
|
3856
3856
|
key: 1,
|
|
3857
3857
|
class: l(o.item.getActionBarItemTitleCss())
|
|
3858
|
-
},
|
|
3858
|
+
}, R(o.item.title), 3)) : d("", !0)
|
|
3859
3859
|
], 42, ct)), [
|
|
3860
3860
|
[t, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3861
3861
|
]);
|
|
@@ -3872,7 +3872,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3872
3872
|
setup(r) {
|
|
3873
3873
|
const s = r, o = Me;
|
|
3874
3874
|
let e;
|
|
3875
|
-
return
|
|
3875
|
+
return B(
|
|
3876
3876
|
() => s.item,
|
|
3877
3877
|
(n) => {
|
|
3878
3878
|
e = new Ae(n);
|
|
@@ -3881,9 +3881,9 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3881
3881
|
e.dispose();
|
|
3882
3882
|
}
|
|
3883
3883
|
), (n, t) => {
|
|
3884
|
-
const a =
|
|
3885
|
-
return i(), u(
|
|
3886
|
-
|
|
3884
|
+
const a = v("sv-svg-icon"), y = v("sv-popup"), m = X("key2click");
|
|
3885
|
+
return i(), u(_, null, [
|
|
3886
|
+
N((i(), u("button", {
|
|
3887
3887
|
type: "button",
|
|
3888
3888
|
class: l(n.item.getActionBarItemCss()),
|
|
3889
3889
|
onClick: t[0] || (t[0] = (q) => {
|
|
@@ -3906,13 +3906,13 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3906
3906
|
n.item.hasTitle ? (i(), u("span", {
|
|
3907
3907
|
key: 1,
|
|
3908
3908
|
class: l(n.item.getActionBarItemTitleCss())
|
|
3909
|
-
},
|
|
3909
|
+
}, R(n.item.title), 3)) : d("", !0)
|
|
3910
3910
|
], 42, yt)), [
|
|
3911
3911
|
[m, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3912
3912
|
]),
|
|
3913
3913
|
C(y, {
|
|
3914
3914
|
model: n.item.popupModel,
|
|
3915
|
-
getTarget:
|
|
3915
|
+
getTarget: I(o)
|
|
3916
3916
|
}, null, 8, ["model", "getTarget"])
|
|
3917
3917
|
], 64);
|
|
3918
3918
|
};
|
|
@@ -3934,7 +3934,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3934
3934
|
model: {}
|
|
3935
3935
|
},
|
|
3936
3936
|
setup(r) {
|
|
3937
|
-
const s = r, o =
|
|
3937
|
+
const s = r, o = $(null), e = (a) => {
|
|
3938
3938
|
const y = s.model;
|
|
3939
3939
|
y.filterString = a.target.value;
|
|
3940
3940
|
}, n = (a) => {
|
|
@@ -3943,10 +3943,10 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3943
3943
|
}, t = (a) => {
|
|
3944
3944
|
s.model.onMouseMove(a);
|
|
3945
3945
|
};
|
|
3946
|
-
return
|
|
3946
|
+
return B(() => s.model), H(() => {
|
|
3947
3947
|
s.model.initListContainerHtmlElement(o.value);
|
|
3948
3948
|
}), (a, y) => {
|
|
3949
|
-
const m =
|
|
3949
|
+
const m = v("sv-svg-icon"), q = v("sv-list-item");
|
|
3950
3950
|
return i(), u("div", {
|
|
3951
3951
|
class: l(a.model.cssClasses.root),
|
|
3952
3952
|
ref_key: "listContainerElement",
|
|
@@ -3975,8 +3975,8 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3975
3975
|
}, null, 42, Ct),
|
|
3976
3976
|
a.model.showSearchClearButton && !!a.model.filterString ? (i(), u("button", {
|
|
3977
3977
|
key: 0,
|
|
3978
|
-
onClick: y[0] || (y[0] = (
|
|
3979
|
-
a.model.onClickSearchClearButton(
|
|
3978
|
+
onClick: y[0] || (y[0] = (p) => {
|
|
3979
|
+
a.model.onClickSearchClearButton(p);
|
|
3980
3980
|
}),
|
|
3981
3981
|
class: l(a.model.cssClasses.searchClearButtonIcon)
|
|
3982
3982
|
}, [
|
|
@@ -3986,33 +3986,33 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
3986
3986
|
})
|
|
3987
3987
|
], 2)) : d("", !0)
|
|
3988
3988
|
], 2)) : d("", !0),
|
|
3989
|
-
|
|
3989
|
+
N(c("div", {
|
|
3990
3990
|
class: l(a.model.cssClasses.emptyContainer)
|
|
3991
3991
|
}, [
|
|
3992
3992
|
c("div", {
|
|
3993
3993
|
class: l(a.model.cssClasses.emptyText),
|
|
3994
3994
|
"aria-label": a.model.emptyMessage
|
|
3995
|
-
},
|
|
3995
|
+
}, R(a.model.emptyMessage), 11, bt)
|
|
3996
3996
|
], 2), [
|
|
3997
3997
|
[M, a.model.isEmpty]
|
|
3998
3998
|
]),
|
|
3999
|
-
a.model.renderElements ?
|
|
3999
|
+
a.model.renderElements ? N((i(), u("ul", {
|
|
4000
4000
|
key: 1,
|
|
4001
4001
|
class: l(a.model.getListClass()),
|
|
4002
4002
|
role: "listbox",
|
|
4003
4003
|
id: a.model.elementId,
|
|
4004
|
-
onMousedown: y[1] || (y[1] = (
|
|
4005
|
-
|
|
4004
|
+
onMousedown: y[1] || (y[1] = (p) => {
|
|
4005
|
+
p.preventDefault();
|
|
4006
4006
|
}),
|
|
4007
4007
|
onMousemove: t,
|
|
4008
|
-
onKeydown: y[2] || (y[2] = (
|
|
4009
|
-
a.model.onKeyDown(
|
|
4008
|
+
onKeydown: y[2] || (y[2] = (p) => {
|
|
4009
|
+
a.model.onKeyDown(p);
|
|
4010
4010
|
})
|
|
4011
4011
|
}, [
|
|
4012
|
-
(i(!0), u(
|
|
4013
|
-
item:
|
|
4012
|
+
(i(!0), u(_, null, D(a.model.renderedActions, (p) => (i(), g(q, {
|
|
4013
|
+
item: p,
|
|
4014
4014
|
model: a.model,
|
|
4015
|
-
key:
|
|
4015
|
+
key: p.id
|
|
4016
4016
|
}, null, 8, ["item", "model"]))), 128))
|
|
4017
4017
|
], 42, kt)), [
|
|
4018
4018
|
[M, !a.model.isEmpty]
|
|
@@ -4030,13 +4030,13 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4030
4030
|
const s = r, o = w(() => s.item.elementId), e = (n) => {
|
|
4031
4031
|
s.model.onItemClick(s.item), n.stopPropagation();
|
|
4032
4032
|
};
|
|
4033
|
-
return
|
|
4033
|
+
return B(() => s.item), H(() => {
|
|
4034
4034
|
setTimeout(() => {
|
|
4035
4035
|
s.model.onLastItemRended(s.item);
|
|
4036
4036
|
});
|
|
4037
4037
|
}), (n, t) => {
|
|
4038
|
-
const a =
|
|
4039
|
-
return
|
|
4038
|
+
const a = v("sv-svg-icon"), y = v("survey-string"), m = X("key2click");
|
|
4039
|
+
return N((i(), u("li", {
|
|
4040
4040
|
tabindex: "0",
|
|
4041
4041
|
role: "option",
|
|
4042
4042
|
"aria-selected": n.model.isItemSelected(n.item),
|
|
@@ -4065,7 +4065,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4065
4065
|
key: 1,
|
|
4066
4066
|
locString: n.item.locTitle
|
|
4067
4067
|
}, null, 8, ["locString"])),
|
|
4068
|
-
n.item.component ? (i(), g(
|
|
4068
|
+
n.item.component ? (i(), g(T(n.item.component), {
|
|
4069
4069
|
key: 2,
|
|
4070
4070
|
item: n.item
|
|
4071
4071
|
}, null, 8, ["item"])) : d("", !0)
|
|
@@ -4085,14 +4085,14 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4085
4085
|
setup(r) {
|
|
4086
4086
|
const s = r, o = z(
|
|
4087
4087
|
de(s.model, void 0)
|
|
4088
|
-
), e =
|
|
4088
|
+
), e = $(null);
|
|
4089
4089
|
return J(
|
|
4090
4090
|
() => s.model,
|
|
4091
4091
|
(n) => {
|
|
4092
4092
|
o.value.dispose(), o.value = de(n, void 0);
|
|
4093
4093
|
},
|
|
4094
4094
|
{ immediate: !0 }
|
|
4095
|
-
),
|
|
4095
|
+
), B(() => o.value), H(() => {
|
|
4096
4096
|
const n = e.value;
|
|
4097
4097
|
o.value.setComponentElement(
|
|
4098
4098
|
n,
|
|
@@ -4101,7 +4101,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4101
4101
|
}), U(() => {
|
|
4102
4102
|
o.value.dispose();
|
|
4103
4103
|
}), (n, t) => {
|
|
4104
|
-
const a =
|
|
4104
|
+
const a = v("sv-popup-container");
|
|
4105
4105
|
return i(), u("div", {
|
|
4106
4106
|
ref_key: "root",
|
|
4107
4107
|
ref: e
|
|
@@ -4127,14 +4127,14 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4127
4127
|
const e = (n) => {
|
|
4128
4128
|
n.stopPropagation();
|
|
4129
4129
|
};
|
|
4130
|
-
return
|
|
4130
|
+
return B(() => s.model), te(() => {
|
|
4131
4131
|
const n = s.model;
|
|
4132
4132
|
!o && n.isVisible && s.model.updateOnShowing(), o = n.isVisible;
|
|
4133
4133
|
}), H(() => {
|
|
4134
4134
|
s.model.isVisible && s.model.updateOnShowing();
|
|
4135
4135
|
}), (n, t) => {
|
|
4136
|
-
const a =
|
|
4137
|
-
return
|
|
4136
|
+
const a = v("sv-action-bar");
|
|
4137
|
+
return N((i(), u("div", {
|
|
4138
4138
|
tabindex: "-1",
|
|
4139
4139
|
class: l(["sv-popup", n.model.styleClass]),
|
|
4140
4140
|
onKeydown: t[0] || (t[0] = (y) => {
|
|
@@ -4156,15 +4156,15 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4156
4156
|
onClick: e
|
|
4157
4157
|
}, [
|
|
4158
4158
|
c("div", Tt, [
|
|
4159
|
-
n.model.showHeader ? (i(), g(
|
|
4159
|
+
n.model.showHeader ? (i(), g(T(n.model.popupHeaderTemplate), {
|
|
4160
4160
|
key: 0,
|
|
4161
4161
|
model: n.model
|
|
4162
4162
|
}, null, 8, ["model"])) : d("", !0),
|
|
4163
4163
|
c("div", $t, [
|
|
4164
|
-
n.model.title ? (i(), u("div", _t,
|
|
4164
|
+
n.model.title ? (i(), u("div", _t, R(n.model.title), 1)) : d("", !0),
|
|
4165
4165
|
c("div", Dt, [
|
|
4166
4166
|
c("div", Bt, [
|
|
4167
|
-
(i(), g(
|
|
4167
|
+
(i(), g(T(n.model.contentComponentName), O(ne(n.model.contentComponentData)), null, 16))
|
|
4168
4168
|
])
|
|
4169
4169
|
]),
|
|
4170
4170
|
n.model.showFooter ? (i(), u("div", Lt, [
|
|
@@ -4208,17 +4208,18 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4208
4208
|
const s = r, o = w(
|
|
4209
4209
|
() => s.survey.getContainerContent(s.container)
|
|
4210
4210
|
);
|
|
4211
|
-
return (e, n) => o.value.length > 0 ? (i(), u(
|
|
4211
|
+
return (e, n) => o.value.length > 0 ? (i(), u(_, { key: 0 }, [
|
|
4212
4212
|
e.needRenderWrapper ? (i(), u("div", At, [
|
|
4213
|
-
(i(!0), u(
|
|
4213
|
+
(i(!0), u(_, null, D(o.value, (t, a) => (i(), g(T(t.component), {
|
|
4214
4214
|
survey: e.survey,
|
|
4215
4215
|
container: e.container,
|
|
4216
4216
|
model: t.data
|
|
4217
4217
|
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4218
|
-
])) : (i(!0), u(
|
|
4218
|
+
])) : (i(!0), u(_, { key: 1 }, D(o.value, (t, a) => (i(), g(T(t.component), {
|
|
4219
4219
|
survey: e.survey,
|
|
4220
|
+
container: e.container,
|
|
4220
4221
|
model: t.data
|
|
4221
|
-
}, null, 8, ["survey", "model"]))), 256))
|
|
4222
|
+
}, null, 8, ["survey", "container", "model"]))), 256))
|
|
4222
4223
|
], 64)) : d("", !0);
|
|
4223
4224
|
}
|
|
4224
4225
|
}), Z = /* @__PURE__ */ h({
|
|
@@ -4243,78 +4244,115 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4243
4244
|
}, [
|
|
4244
4245
|
c("span", {
|
|
4245
4246
|
class: l(e(t.survey.css))
|
|
4246
|
-
},
|
|
4247
|
+
}, R(t.survey.progressText), 3)
|
|
4247
4248
|
], 6),
|
|
4248
4249
|
c("span", {
|
|
4249
4250
|
class: l(n(t.survey.css))
|
|
4250
|
-
},
|
|
4251
|
+
}, R(t.survey.progressText), 3)
|
|
4251
4252
|
], 2));
|
|
4252
4253
|
}
|
|
4253
|
-
}), Ht = ["
|
|
4254
|
+
}), Ht = ["title"], Wt = ["onClick", "data-page-number"], Et = ["title"], Vt = ["title"], Ft = ["title"], Ot = /* @__PURE__ */ h({
|
|
4254
4255
|
__name: "ProgressButtons",
|
|
4255
4256
|
props: {
|
|
4256
|
-
survey: {}
|
|
4257
|
+
survey: {},
|
|
4258
|
+
model: {},
|
|
4259
|
+
container: {}
|
|
4257
4260
|
},
|
|
4258
4261
|
setup(r) {
|
|
4259
|
-
const s = r, o =
|
|
4260
|
-
let
|
|
4261
|
-
const
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
let N = n.value;
|
|
4265
|
-
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;
|
|
4266
4267
|
};
|
|
4267
4268
|
return H(() => {
|
|
4268
|
-
const
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
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
|
+
});
|
|
4272
4282
|
}), Q(() => {
|
|
4273
|
-
|
|
4274
|
-
}), (
|
|
4275
|
-
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"
|
|
4276
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),
|
|
4277
4300
|
c("div", {
|
|
4278
|
-
class: l(
|
|
4301
|
+
class: l(y.value.progressButtonsContainer)
|
|
4279
4302
|
}, [
|
|
4280
4303
|
c("div", {
|
|
4281
|
-
class: l(
|
|
4282
|
-
onClick:
|
|
4304
|
+
class: l(p.model.getScrollButtonCss(o.value, !0)),
|
|
4305
|
+
onClick: f[0] || (f[0] = (b) => q(!0)),
|
|
4283
4306
|
role: "button"
|
|
4284
4307
|
}, null, 2),
|
|
4285
4308
|
c("div", {
|
|
4286
|
-
class: l(
|
|
4309
|
+
class: l(y.value.progressButtonsListContainer),
|
|
4287
4310
|
ref_key: "progressButtonsListContainer",
|
|
4288
|
-
ref:
|
|
4311
|
+
ref: a
|
|
4289
4312
|
}, [
|
|
4290
4313
|
c("ul", {
|
|
4291
|
-
class: l(
|
|
4314
|
+
class: l(y.value.progressButtonsList)
|
|
4292
4315
|
}, [
|
|
4293
|
-
(i(!0), u(
|
|
4294
|
-
key: "listelement" +
|
|
4295
|
-
class: l(
|
|
4296
|
-
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)
|
|
4297
4321
|
}, [
|
|
4298
4322
|
c("div", {
|
|
4299
|
-
class: l(
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
class: l(
|
|
4304
|
-
title:
|
|
4305
|
-
},
|
|
4306
|
-
|
|
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))
|
|
4307
4336
|
], 2)
|
|
4308
4337
|
], 2),
|
|
4309
4338
|
c("div", {
|
|
4310
|
-
class: l(
|
|
4311
|
-
onClick:
|
|
4339
|
+
class: l(p.model.getScrollButtonCss(o.value, !1)),
|
|
4340
|
+
onClick: f[1] || (f[1] = (b) => q(!1)),
|
|
4312
4341
|
role: "button"
|
|
4313
4342
|
}, null, 2)
|
|
4314
|
-
], 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)
|
|
4315
4353
|
], 2));
|
|
4316
4354
|
}
|
|
4317
|
-
}),
|
|
4355
|
+
}), zt = /* @__PURE__ */ h({
|
|
4318
4356
|
__name: "ProgressToc",
|
|
4319
4357
|
props: {
|
|
4320
4358
|
survey: {},
|
|
@@ -4322,11 +4360,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4322
4360
|
},
|
|
4323
4361
|
setup(r) {
|
|
4324
4362
|
return (s, o) => {
|
|
4325
|
-
const e =
|
|
4363
|
+
const e = v("sv-svg-icon"), n = v("sv-popup"), t = v("sv-list"), a = X("key2click");
|
|
4326
4364
|
return i(), u("div", {
|
|
4327
4365
|
class: l(s.model.containerCss)
|
|
4328
4366
|
}, [
|
|
4329
|
-
s.model.isMobile ?
|
|
4367
|
+
s.model.isMobile ? N((i(), u("div", {
|
|
4330
4368
|
key: 0,
|
|
4331
4369
|
onClick: o[0] || (o[0] = (...y) => s.model.togglePopup && s.model.togglePopup(...y))
|
|
4332
4370
|
}, [
|
|
@@ -4346,17 +4384,17 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4346
4384
|
], 2);
|
|
4347
4385
|
};
|
|
4348
4386
|
}
|
|
4349
|
-
}),
|
|
4387
|
+
}), Ut = { onsubmit: "return false;" }, Kt = {
|
|
4350
4388
|
key: 0,
|
|
4351
4389
|
class: "sv_custom_header"
|
|
4352
|
-
},
|
|
4390
|
+
}, jt = { class: "sv-components-column sv-components-column--expandable" }, Qt = ["id"], Gt = { key: 2 }, Jt = ["innerHTML"], Xt = ["innerHTML"], Yt = ["innerHTML"], ve = /* @__PURE__ */ h({
|
|
4353
4391
|
__name: "Survey",
|
|
4354
4392
|
props: {
|
|
4355
4393
|
model: {},
|
|
4356
4394
|
survey: {}
|
|
4357
4395
|
},
|
|
4358
4396
|
setup(r) {
|
|
4359
|
-
const s = r, o =
|
|
4397
|
+
const s = r, o = $(), e = $(""), n = $(1), t = w(() => {
|
|
4360
4398
|
const b = s.survey ? s.survey : s.model;
|
|
4361
4399
|
return Re(b);
|
|
4362
4400
|
}), a = w(() => t.value.activePage ? t.value.activePage.id : ""), y = () => {
|
|
@@ -4364,19 +4402,19 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4364
4402
|
return !!t.value && b + n.value.toString();
|
|
4365
4403
|
}, m = w(
|
|
4366
4404
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
4367
|
-
), q = w(() => t.value.css),
|
|
4368
|
-
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(() => {
|
|
4369
4407
|
if (!!t.value) {
|
|
4370
4408
|
var b = o.value;
|
|
4371
4409
|
b && t.value.afterRenderSurvey(b), t.value.renderCallback = () => {
|
|
4372
|
-
var
|
|
4373
|
-
n.value++, (k = (
|
|
4410
|
+
var A, k;
|
|
4411
|
+
n.value++, (k = (A = ie()) == null ? void 0 : A.proxy) == null || k.$forceUpdate();
|
|
4374
4412
|
}, t.value.startTimerFromUI();
|
|
4375
4413
|
}
|
|
4376
4414
|
}), U(() => {
|
|
4377
4415
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4378
|
-
}), (b,
|
|
4379
|
-
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");
|
|
4380
4418
|
return i(), u("div", {
|
|
4381
4419
|
class: l(t.value.getRootCss()),
|
|
4382
4420
|
style: S(t.value.themeVariables),
|
|
@@ -4387,14 +4425,14 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4387
4425
|
c("div", {
|
|
4388
4426
|
class: l(t.value.wrapperFormCss)
|
|
4389
4427
|
}, [
|
|
4390
|
-
C(
|
|
4428
|
+
C(L),
|
|
4391
4429
|
t.value.renderBackgroundImage ? (i(), u("div", {
|
|
4392
4430
|
key: 0,
|
|
4393
4431
|
class: l(q.value.rootBackgroundImage),
|
|
4394
4432
|
style: S(t.value.backgroundImageStyle)
|
|
4395
4433
|
}, null, 6)) : d("", !0),
|
|
4396
|
-
c("form",
|
|
4397
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4434
|
+
c("form", Ut, [
|
|
4435
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Kt)),
|
|
4398
4436
|
c("div", {
|
|
4399
4437
|
class: l(q.value.container)
|
|
4400
4438
|
}, [
|
|
@@ -4402,7 +4440,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4402
4440
|
key: 0,
|
|
4403
4441
|
survey: t.value
|
|
4404
4442
|
}, null, 8, ["survey"])) : d("", !0),
|
|
4405
|
-
(i(), g(
|
|
4443
|
+
(i(), g(T("sv-components-container"), {
|
|
4406
4444
|
survey: t.value,
|
|
4407
4445
|
container: "header",
|
|
4408
4446
|
needRenderWrapper: !1
|
|
@@ -4411,13 +4449,13 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4411
4449
|
key: 1,
|
|
4412
4450
|
class: l(t.value.bodyContainerCss)
|
|
4413
4451
|
}, [
|
|
4414
|
-
(i(), g(
|
|
4452
|
+
(i(), g(T("sv-components-container"), {
|
|
4415
4453
|
survey: t.value,
|
|
4416
4454
|
container: "left",
|
|
4417
4455
|
needRenderWrapper: !0
|
|
4418
4456
|
}, null, 8, ["survey"])),
|
|
4419
|
-
c("div",
|
|
4420
|
-
(i(), g(
|
|
4457
|
+
c("div", jt, [
|
|
4458
|
+
(i(), g(T("sv-components-container"), {
|
|
4421
4459
|
survey: t.value,
|
|
4422
4460
|
container: "center",
|
|
4423
4461
|
needRenderWrapper: !0
|
|
@@ -4427,41 +4465,41 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4427
4465
|
style: S({ maxWidth: t.value.renderedWidth }),
|
|
4428
4466
|
id: a.value
|
|
4429
4467
|
}, [
|
|
4430
|
-
(i(), g(
|
|
4468
|
+
(i(), g(T("sv-components-container"), {
|
|
4431
4469
|
survey: t.value,
|
|
4432
4470
|
container: "contentTop",
|
|
4433
4471
|
needRenderWrapper: !0
|
|
4434
4472
|
}, null, 8, ["survey"])),
|
|
4435
4473
|
(i(), g(V, {
|
|
4436
|
-
key:
|
|
4474
|
+
key: p.value,
|
|
4437
4475
|
survey: t.value,
|
|
4438
4476
|
page: t.value.activePage,
|
|
4439
4477
|
css: q.value
|
|
4440
4478
|
}, null, 8, ["survey", "page", "css"])),
|
|
4441
|
-
(i(), g(
|
|
4479
|
+
(i(), g(T("sv-components-container"), {
|
|
4442
4480
|
survey: t.value,
|
|
4443
4481
|
container: "contentBottom",
|
|
4444
4482
|
needRenderWrapper: !0
|
|
4445
4483
|
}, null, 8, ["survey"]))
|
|
4446
|
-
], 14,
|
|
4484
|
+
], 14, Qt)
|
|
4447
4485
|
]),
|
|
4448
|
-
(i(), g(
|
|
4486
|
+
(i(), g(T("sv-components-container"), {
|
|
4449
4487
|
survey: t.value,
|
|
4450
4488
|
container: "right",
|
|
4451
4489
|
needRenderWrapper: !0
|
|
4452
4490
|
}, null, 8, ["survey"]))
|
|
4453
4491
|
], 2)) : d("", !0),
|
|
4454
|
-
(i(), g(
|
|
4492
|
+
(i(), g(T("sv-components-container"), {
|
|
4455
4493
|
survey: t.value,
|
|
4456
4494
|
container: "footer",
|
|
4457
4495
|
needRenderWrapper: !1
|
|
4458
4496
|
}, null, 8, ["survey"])),
|
|
4459
|
-
m.value ? (i(), u("div",
|
|
4497
|
+
m.value ? (i(), u("div", Gt, [
|
|
4460
4498
|
c("div", {
|
|
4461
|
-
innerHTML:
|
|
4499
|
+
innerHTML: f(),
|
|
4462
4500
|
class: l(t.value.completedCss)
|
|
4463
|
-
}, null, 10,
|
|
4464
|
-
(i(), g(
|
|
4501
|
+
}, null, 10, Jt),
|
|
4502
|
+
(i(), g(T("sv-components-container"), {
|
|
4465
4503
|
survey: t.value,
|
|
4466
4504
|
container: "completePage",
|
|
4467
4505
|
needRenderWrapper: !0
|
|
@@ -4471,16 +4509,16 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4471
4509
|
key: 3,
|
|
4472
4510
|
class: l(t.value.completedBeforeCss),
|
|
4473
4511
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4474
|
-
}, null, 10,
|
|
4512
|
+
}, null, 10, Xt)) : d("", !0),
|
|
4475
4513
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4476
4514
|
key: 4,
|
|
4477
4515
|
class: l(t.value.loadingBodyCss),
|
|
4478
4516
|
innerHTML: t.value.processedLoadingHtml
|
|
4479
|
-
}, null, 10,
|
|
4517
|
+
}, null, 10, Yt)) : d("", !0),
|
|
4480
4518
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4481
4519
|
key: 5,
|
|
4482
4520
|
class: l(q.value.bodyEmpty)
|
|
4483
|
-
},
|
|
4521
|
+
}, R(t.value.emptySurveyText), 3)) : d("", !0)
|
|
4484
4522
|
], 2)
|
|
4485
4523
|
]),
|
|
4486
4524
|
t.value.showBrandInfo ? (i(), g(K, { key: 1 })) : d("", !0),
|
|
@@ -4491,22 +4529,22 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4491
4529
|
], 6);
|
|
4492
4530
|
};
|
|
4493
4531
|
}
|
|
4494
|
-
}),
|
|
4532
|
+
}), Zt = /* @__PURE__ */ h({
|
|
4495
4533
|
__name: "Notifier",
|
|
4496
4534
|
props: {
|
|
4497
4535
|
model: {}
|
|
4498
4536
|
},
|
|
4499
4537
|
setup(r) {
|
|
4500
4538
|
const s = r;
|
|
4501
|
-
return
|
|
4502
|
-
const n =
|
|
4503
|
-
return
|
|
4539
|
+
return B(() => s.model), (o, e) => {
|
|
4540
|
+
const n = v("sv-action-bar");
|
|
4541
|
+
return N((i(), u("div", {
|
|
4504
4542
|
class: l(o.model.css),
|
|
4505
4543
|
style: S({ visibility: o.model.active ? "visible" : "hidden" }),
|
|
4506
4544
|
role: "alert",
|
|
4507
4545
|
"aria-live": "polite"
|
|
4508
4546
|
}, [
|
|
4509
|
-
c("span", null,
|
|
4547
|
+
c("span", null, R(o.model.message), 1),
|
|
4510
4548
|
C(n, {
|
|
4511
4549
|
model: o.model.actionBar
|
|
4512
4550
|
}, null, 8, ["model"])
|
|
@@ -4515,7 +4553,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4515
4553
|
]);
|
|
4516
4554
|
};
|
|
4517
4555
|
}
|
|
4518
|
-
}),
|
|
4556
|
+
}), xt = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], ei = { key: 1 }, si = /* @__PURE__ */ h({
|
|
4519
4557
|
__name: "QuestionOther",
|
|
4520
4558
|
props: {
|
|
4521
4559
|
question: {},
|
|
@@ -4543,18 +4581,18 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4543
4581
|
onInput: o[1] || (o[1] = (e) => {
|
|
4544
4582
|
s.question.onOtherValueInput(e);
|
|
4545
4583
|
})
|
|
4546
|
-
}, null, 46,
|
|
4547
|
-
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)
|
|
4548
4586
|
], 2));
|
|
4549
4587
|
}
|
|
4550
|
-
}),
|
|
4588
|
+
}), ni = ["disabled", "value", "title"], oi = /* @__PURE__ */ h({
|
|
4551
4589
|
__name: "SurveyNavigationButton",
|
|
4552
4590
|
props: {
|
|
4553
4591
|
item: {}
|
|
4554
4592
|
},
|
|
4555
4593
|
setup(r) {
|
|
4556
4594
|
const s = r, o = () => s.item.data && s.item.data.mouseDown();
|
|
4557
|
-
return
|
|
4595
|
+
return B(() => s.item), (e, n) => e.item.visible ? (i(), u("input", {
|
|
4558
4596
|
key: 0,
|
|
4559
4597
|
type: "button",
|
|
4560
4598
|
disabled: e.item.disabled,
|
|
@@ -4563,7 +4601,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4563
4601
|
title: e.item.getTooltip(),
|
|
4564
4602
|
onMousedown: o,
|
|
4565
4603
|
onClick: n[0] || (n[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4566
|
-
}, null, 42,
|
|
4604
|
+
}, null, 42, ni)) : d("", !0);
|
|
4567
4605
|
}
|
|
4568
4606
|
}), ye = /* @__PURE__ */ h({
|
|
4569
4607
|
__name: "PopupSurvey",
|
|
@@ -4576,11 +4614,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4576
4614
|
setup(r) {
|
|
4577
4615
|
const s = r, o = z(), e = w(() => s.survey ? s.survey.getCss() : {});
|
|
4578
4616
|
w(() => {
|
|
4579
|
-
var
|
|
4580
|
-
return (
|
|
4617
|
+
var p;
|
|
4618
|
+
return (p = o.value) != null && p.isExpanded ? e.value.window.header.buttonCollapsed : e.value.window.header.buttonExpanded;
|
|
4581
4619
|
}), w(() => {
|
|
4582
|
-
var
|
|
4583
|
-
return (
|
|
4620
|
+
var p;
|
|
4621
|
+
return (p = o.value) == null ? void 0 : p.isExpanded;
|
|
4584
4622
|
});
|
|
4585
4623
|
const n = () => {
|
|
4586
4624
|
o.value.changeExpandCollapse();
|
|
@@ -4589,15 +4627,15 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4589
4627
|
}, a = () => "SurveyComponent", y = () => {
|
|
4590
4628
|
o.value.onScroll();
|
|
4591
4629
|
}, m = () => {
|
|
4592
|
-
let
|
|
4593
|
-
return o.value.isCollapsed && (
|
|
4630
|
+
let p = o.value.cssHeaderRoot;
|
|
4631
|
+
return o.value.isCollapsed && (p += " " + o.value.cssRootCollapsedMod), p;
|
|
4594
4632
|
};
|
|
4595
|
-
|
|
4633
|
+
B(() => o.value);
|
|
4596
4634
|
const q = J(
|
|
4597
4635
|
() => s.survey,
|
|
4598
|
-
(
|
|
4599
|
-
const
|
|
4600
|
-
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;
|
|
4601
4639
|
},
|
|
4602
4640
|
{
|
|
4603
4641
|
immediate: !0
|
|
@@ -4605,8 +4643,8 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4605
4643
|
);
|
|
4606
4644
|
return U(() => {
|
|
4607
4645
|
q();
|
|
4608
|
-
}), (
|
|
4609
|
-
const b =
|
|
4646
|
+
}), (p, f) => {
|
|
4647
|
+
const b = v("sv-svg-icon");
|
|
4610
4648
|
return o.value.isShowing ? (i(), u("div", {
|
|
4611
4649
|
key: 0,
|
|
4612
4650
|
style: S({ maxWidth: o.value.renderedWidth, width: o.value.renderedWidth }),
|
|
@@ -4622,7 +4660,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4622
4660
|
o.value.isCollapsed && !!o.value.locTitle ? (i(), u("div", {
|
|
4623
4661
|
key: 0,
|
|
4624
4662
|
class: l(o.value.cssHeaderTitleCollapsed)
|
|
4625
|
-
},
|
|
4663
|
+
}, R(o.value.locTitle.renderedHtml), 3)) : d("", !0),
|
|
4626
4664
|
c("div", {
|
|
4627
4665
|
class: l(o.value.cssHeaderButtonsContainer)
|
|
4628
4666
|
}, [
|
|
@@ -4656,20 +4694,20 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4656
4694
|
c("div", {
|
|
4657
4695
|
class: l(o.value.cssBody)
|
|
4658
4696
|
}, [
|
|
4659
|
-
(i(), g(
|
|
4697
|
+
(i(), g(T(a()), { survey: p.survey }, null, 8, ["survey"]))
|
|
4660
4698
|
], 2)
|
|
4661
4699
|
], 2)
|
|
4662
4700
|
], 38)) : d("", !0);
|
|
4663
4701
|
};
|
|
4664
4702
|
}
|
|
4665
|
-
}),
|
|
4703
|
+
}), ti = ["innerHTML"], ii = /* @__PURE__ */ h({
|
|
4666
4704
|
__name: "CustomWidget",
|
|
4667
4705
|
props: {
|
|
4668
4706
|
question: {},
|
|
4669
4707
|
css: {}
|
|
4670
4708
|
},
|
|
4671
4709
|
setup(r) {
|
|
4672
|
-
const s = r, o =
|
|
4710
|
+
const s = r, o = $(), e = w(
|
|
4673
4711
|
() => s.question.customWidget.isDefaultRender
|
|
4674
4712
|
), n = w(
|
|
4675
4713
|
() => !!s.question.customWidget.htmlTemplate
|
|
@@ -4685,20 +4723,20 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4685
4723
|
n.value ? (i(), u("div", {
|
|
4686
4724
|
key: 0,
|
|
4687
4725
|
innerHTML: t.value
|
|
4688
|
-
}, null, 8,
|
|
4689
|
-
e.value ? (i(), g(
|
|
4726
|
+
}, null, 8, ti)) : d("", !0),
|
|
4727
|
+
e.value ? (i(), g(T(a.value), {
|
|
4690
4728
|
key: 1,
|
|
4691
4729
|
question: y.question,
|
|
4692
4730
|
css: y.css
|
|
4693
4731
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4694
4732
|
], 512));
|
|
4695
4733
|
}
|
|
4696
|
-
}),
|
|
4734
|
+
}), ri = /* @__PURE__ */ h({
|
|
4697
4735
|
__name: "PopupModal",
|
|
4698
4736
|
setup(r) {
|
|
4699
4737
|
const s = z();
|
|
4700
|
-
function o(n, t, a, y, m, q,
|
|
4701
|
-
const
|
|
4738
|
+
function o(n, t, a, y, m, q, p = "popup") {
|
|
4739
|
+
const f = Ee(
|
|
4702
4740
|
n,
|
|
4703
4741
|
t,
|
|
4704
4742
|
a,
|
|
@@ -4707,9 +4745,9 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4707
4745
|
void 0,
|
|
4708
4746
|
m,
|
|
4709
4747
|
q,
|
|
4710
|
-
|
|
4748
|
+
p
|
|
4711
4749
|
);
|
|
4712
|
-
return e(
|
|
4750
|
+
return e(f);
|
|
4713
4751
|
}
|
|
4714
4752
|
function e(n, t) {
|
|
4715
4753
|
n.onHide = () => {
|
|
@@ -4726,7 +4764,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4726
4764
|
})), j.showDialog || (j.showDialog = e, U(() => {
|
|
4727
4765
|
j.showDialog = void 0;
|
|
4728
4766
|
})), (n, t) => {
|
|
4729
|
-
const a =
|
|
4767
|
+
const a = v("sv-popup-container");
|
|
4730
4768
|
return s.value ? (i(), g(Te, {
|
|
4731
4769
|
key: 0,
|
|
4732
4770
|
to: s.value.container
|
|
@@ -4735,7 +4773,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4735
4773
|
], 8, ["to"])) : d("", !0);
|
|
4736
4774
|
};
|
|
4737
4775
|
}
|
|
4738
|
-
}),
|
|
4776
|
+
}), li = /* @__PURE__ */ h({
|
|
4739
4777
|
__name: "CharacterCounter",
|
|
4740
4778
|
props: {
|
|
4741
4779
|
counter: {},
|
|
@@ -4743,11 +4781,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4743
4781
|
},
|
|
4744
4782
|
setup(r) {
|
|
4745
4783
|
const s = r;
|
|
4746
|
-
return
|
|
4784
|
+
return B(() => s.counter), (o, e) => (i(), u("div", {
|
|
4747
4785
|
class: l(o.remainingCharacterCounter)
|
|
4748
|
-
},
|
|
4786
|
+
}, R(o.counter.remainingCharacterCounter), 3));
|
|
4749
4787
|
}
|
|
4750
|
-
}),
|
|
4788
|
+
}), ai = /* @__PURE__ */ h({
|
|
4751
4789
|
inheritAttrs: !1,
|
|
4752
4790
|
__name: "Composite",
|
|
4753
4791
|
props: {
|
|
@@ -4755,11 +4793,11 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4755
4793
|
css: {}
|
|
4756
4794
|
},
|
|
4757
4795
|
setup(r) {
|
|
4758
|
-
const s = r, o =
|
|
4759
|
-
|
|
4796
|
+
const s = r, o = $(null);
|
|
4797
|
+
P(s, o);
|
|
4760
4798
|
const e = w(() => s.question.contentPanel);
|
|
4761
4799
|
return (n, t) => {
|
|
4762
|
-
const a =
|
|
4800
|
+
const a = v("survey-panel");
|
|
4763
4801
|
return i(), g(a, {
|
|
4764
4802
|
ref_key: "root",
|
|
4765
4803
|
ref: o,
|
|
@@ -4768,7 +4806,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4768
4806
|
}, null, 8, ["element", "css"]);
|
|
4769
4807
|
};
|
|
4770
4808
|
}
|
|
4771
|
-
}),
|
|
4809
|
+
}), ui = /* @__PURE__ */ h({
|
|
4772
4810
|
inheritAttrs: !1,
|
|
4773
4811
|
__name: "Custom",
|
|
4774
4812
|
props: {
|
|
@@ -4776,18 +4814,18 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4776
4814
|
css: {}
|
|
4777
4815
|
},
|
|
4778
4816
|
setup(r) {
|
|
4779
|
-
const s = r, o =
|
|
4780
|
-
|
|
4817
|
+
const s = r, o = $(null);
|
|
4818
|
+
P(s, o);
|
|
4781
4819
|
const e = w(() => s.question.contentQuestion), n = (t) => re(t);
|
|
4782
|
-
return (t, a) => (i(), g(
|
|
4820
|
+
return (t, a) => (i(), g(T(n(e.value)), {
|
|
4783
4821
|
ref: o.value,
|
|
4784
4822
|
question: e.value,
|
|
4785
4823
|
css: t.css
|
|
4786
4824
|
}, null, 8, ["question", "css"]));
|
|
4787
4825
|
}
|
|
4788
|
-
}),
|
|
4789
|
-
|
|
4790
|
-
], qe = 440,
|
|
4826
|
+
}), di = /* @__PURE__ */ c("use", { "xlink:href": "#icon-timercircle" }, null, -1), mi = [
|
|
4827
|
+
di
|
|
4828
|
+
], qe = 440, ci = /* @__PURE__ */ h({
|
|
4791
4829
|
__name: "TimerPanel",
|
|
4792
4830
|
props: {
|
|
4793
4831
|
model: {},
|
|
@@ -4795,7 +4833,7 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4795
4833
|
},
|
|
4796
4834
|
setup(r) {
|
|
4797
4835
|
const s = r, o = w(() => qe * s.model.progress), e = w(() => s.model.text);
|
|
4798
|
-
return
|
|
4836
|
+
return B(() => s.model), (n, t) => n.model.isRunning && n.model.showTimerAsClock ? (i(), u("div", {
|
|
4799
4837
|
key: 0,
|
|
4800
4838
|
class: l(n.model.rootCss)
|
|
4801
4839
|
}, [
|
|
@@ -4803,36 +4841,36 @@ const tt = /* @__PURE__ */ Ce(xo, [["render", ot]]), it = /* @__PURE__ */ c("use
|
|
|
4803
4841
|
key: 0,
|
|
4804
4842
|
class: l(n.model.getProgressCss()),
|
|
4805
4843
|
style: S({ strokeDasharray: qe, strokeDashoffset: o.value })
|
|
4806
|
-
},
|
|
4844
|
+
}, mi, 6)) : d("", !0),
|
|
4807
4845
|
c("div", {
|
|
4808
4846
|
class: l(n.model.textContainerCss)
|
|
4809
4847
|
}, [
|
|
4810
4848
|
c("span", {
|
|
4811
4849
|
class: l(n.model.majorTextCss)
|
|
4812
|
-
},
|
|
4850
|
+
}, R(n.model.clockMajorText), 3),
|
|
4813
4851
|
n.model.clockMinorText ? (i(), u("span", {
|
|
4814
4852
|
key: 0,
|
|
4815
4853
|
class: l(n.model.minorTextCss)
|
|
4816
|
-
},
|
|
4854
|
+
}, R(n.model.clockMinorText), 3)) : d("", !0)
|
|
4817
4855
|
], 2)
|
|
4818
|
-
], 2)) :
|
|
4856
|
+
], 2)) : N((i(), u("div", {
|
|
4819
4857
|
key: 1,
|
|
4820
4858
|
class: l(n.model.survey.getCss().timerRoot)
|
|
4821
|
-
},
|
|
4859
|
+
}, R(e.value), 3)), [
|
|
4822
4860
|
[M, n.model.isRunning && !n.model.showTimerAsClock]
|
|
4823
4861
|
]);
|
|
4824
4862
|
}
|
|
4825
|
-
}),
|
|
4826
|
-
function
|
|
4827
|
-
const o =
|
|
4828
|
-
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, [
|
|
4829
4867
|
C(o, {
|
|
4830
4868
|
iconName: "icon-loading",
|
|
4831
4869
|
size: "'auto'"
|
|
4832
4870
|
})
|
|
4833
4871
|
]);
|
|
4834
4872
|
}
|
|
4835
|
-
const
|
|
4873
|
+
const qi = /* @__PURE__ */ Ce(pi, [["render", yi]]), gi = { key: 2 }, hi = /* @__PURE__ */ h({
|
|
4836
4874
|
__name: "Header",
|
|
4837
4875
|
props: {
|
|
4838
4876
|
model: {},
|
|
@@ -4840,11 +4878,11 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4840
4878
|
},
|
|
4841
4879
|
setup(r) {
|
|
4842
4880
|
const s = r;
|
|
4843
|
-
return
|
|
4881
|
+
return B(() => {
|
|
4844
4882
|
const o = s.model;
|
|
4845
4883
|
return o.survey = s.survey, s.model;
|
|
4846
4884
|
}), (o, e) => {
|
|
4847
|
-
const n =
|
|
4885
|
+
const n = v("sv-header-cell"), t = v("sv-header-mobile");
|
|
4848
4886
|
return i(), u("div", {
|
|
4849
4887
|
class: l(o.model.headerClasses),
|
|
4850
4888
|
style: S({ height: o.model.renderedHeight })
|
|
@@ -4859,28 +4897,28 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4859
4897
|
class: l(o.model.contentClasses),
|
|
4860
4898
|
style: S({ maxWidth: o.model.maxWidth })
|
|
4861
4899
|
}, [
|
|
4862
|
-
(i(!0), u(
|
|
4900
|
+
(i(!0), u(_, null, D(o.model.cells, (a, y) => (i(), g(n, {
|
|
4863
4901
|
model: a,
|
|
4864
4902
|
key: y
|
|
4865
4903
|
}, null, 8, ["model"]))), 128))
|
|
4866
4904
|
], 6)),
|
|
4867
|
-
o.survey.isMobile ? (i(), u("div",
|
|
4905
|
+
o.survey.isMobile ? (i(), u("div", gi, [
|
|
4868
4906
|
C(t, { model: o.model }, null, 8, ["model"])
|
|
4869
4907
|
])) : d("", !0)
|
|
4870
4908
|
], 6);
|
|
4871
4909
|
};
|
|
4872
4910
|
}
|
|
4873
|
-
}),
|
|
4911
|
+
}), Ci = {
|
|
4874
4912
|
key: 0,
|
|
4875
4913
|
class: "sv-header__logo"
|
|
4876
|
-
},
|
|
4914
|
+
}, bi = ["src", "width", "height", "alt"], ki = /* @__PURE__ */ h({
|
|
4877
4915
|
__name: "HeaderCell",
|
|
4878
4916
|
props: {
|
|
4879
4917
|
model: {}
|
|
4880
4918
|
},
|
|
4881
4919
|
setup(r) {
|
|
4882
4920
|
return (s, o) => {
|
|
4883
|
-
const e =
|
|
4921
|
+
const e = v("survey-element-title"), n = v("survey-string");
|
|
4884
4922
|
return i(), u("div", {
|
|
4885
4923
|
class: l(s.model.css),
|
|
4886
4924
|
style: S(s.model.style)
|
|
@@ -4889,7 +4927,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4889
4927
|
class: "sv-header__cell-content",
|
|
4890
4928
|
style: S(s.model.contentStyle)
|
|
4891
4929
|
}, [
|
|
4892
|
-
s.model.showLogo ? (i(), u("div",
|
|
4930
|
+
s.model.showLogo ? (i(), u("div", Ci, [
|
|
4893
4931
|
c("div", {
|
|
4894
4932
|
class: l(s.model.survey.logoClassNames)
|
|
4895
4933
|
}, [
|
|
@@ -4900,7 +4938,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4900
4938
|
height: s.model.survey.renderedLogoHeight,
|
|
4901
4939
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4902
4940
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4903
|
-
}, null, 14,
|
|
4941
|
+
}, null, 14, bi)
|
|
4904
4942
|
], 2)
|
|
4905
4943
|
])) : d("", !0),
|
|
4906
4944
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -4931,19 +4969,19 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4931
4969
|
], 6);
|
|
4932
4970
|
};
|
|
4933
4971
|
}
|
|
4934
|
-
}),
|
|
4972
|
+
}), fi = { class: "sv-header--mobile" }, Ii = {
|
|
4935
4973
|
key: 0,
|
|
4936
4974
|
class: "sv-header__logo"
|
|
4937
|
-
},
|
|
4975
|
+
}, wi = ["src", "width", "height", "alt"], Si = /* @__PURE__ */ h({
|
|
4938
4976
|
__name: "HeaderMobile",
|
|
4939
4977
|
props: {
|
|
4940
4978
|
model: {}
|
|
4941
4979
|
},
|
|
4942
4980
|
setup(r) {
|
|
4943
4981
|
return (s, o) => {
|
|
4944
|
-
const e =
|
|
4945
|
-
return i(), u("div",
|
|
4946
|
-
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, [
|
|
4947
4985
|
c("div", {
|
|
4948
4986
|
class: l(s.model.survey.logoClassNames)
|
|
4949
4987
|
}, [
|
|
@@ -4954,7 +4992,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4954
4992
|
height: s.model.survey.renderedLogoHeight,
|
|
4955
4993
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4956
4994
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4957
|
-
}, null, 14,
|
|
4995
|
+
}, null, 14, wi)
|
|
4958
4996
|
], 2)
|
|
4959
4997
|
])) : d("", !0),
|
|
4960
4998
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -4984,7 +5022,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
4984
5022
|
]);
|
|
4985
5023
|
};
|
|
4986
5024
|
}
|
|
4987
|
-
}),
|
|
5025
|
+
}), Ri = /* @__PURE__ */ h({
|
|
4988
5026
|
__name: "Element",
|
|
4989
5027
|
props: {
|
|
4990
5028
|
element: {},
|
|
@@ -5018,14 +5056,14 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5018
5056
|
style: S(n(a.element)),
|
|
5019
5057
|
class: l(a.element.cssClasses.questionWrapper)
|
|
5020
5058
|
}, [
|
|
5021
|
-
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), {
|
|
5022
5060
|
key: 1,
|
|
5023
5061
|
element: a.element,
|
|
5024
5062
|
css: a.css
|
|
5025
5063
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
5026
5064
|
], 6));
|
|
5027
5065
|
}
|
|
5028
|
-
}),
|
|
5066
|
+
}), Ti = /* @__PURE__ */ h({
|
|
5029
5067
|
__name: "TemplateRenderer",
|
|
5030
5068
|
props: {
|
|
5031
5069
|
componentName: {},
|
|
@@ -5033,9 +5071,9 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5033
5071
|
},
|
|
5034
5072
|
setup(r) {
|
|
5035
5073
|
const s = $e(), o = w(() => !!s.default);
|
|
5036
|
-
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));
|
|
5037
5075
|
}
|
|
5038
|
-
}),
|
|
5076
|
+
}), $i = /* @__PURE__ */ h({
|
|
5039
5077
|
__name: "FileCleanButton",
|
|
5040
5078
|
props: {
|
|
5041
5079
|
question: {},
|
|
@@ -5043,13 +5081,13 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5043
5081
|
},
|
|
5044
5082
|
setup(r) {
|
|
5045
5083
|
return (s, o) => {
|
|
5046
|
-
const e =
|
|
5084
|
+
const e = v("sv-svg-icon");
|
|
5047
5085
|
return i(), u("button", {
|
|
5048
5086
|
type: "button",
|
|
5049
5087
|
class: l(s.css),
|
|
5050
5088
|
onClick: o[0] || (o[0] = (...n) => s.question.doClean && s.question.doClean(...n))
|
|
5051
5089
|
}, [
|
|
5052
|
-
c("span", null,
|
|
5090
|
+
c("span", null, R(s.question.clearButtonCaption), 1),
|
|
5053
5091
|
s.question.cssClasses.removeButtonIconId ? (i(), g(e, {
|
|
5054
5092
|
key: 0,
|
|
5055
5093
|
iconName: s.question.cssClasses.removeButtonIconId,
|
|
@@ -5059,14 +5097,14 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5059
5097
|
], 2);
|
|
5060
5098
|
};
|
|
5061
5099
|
}
|
|
5062
|
-
}),
|
|
5100
|
+
}), _i = ["id"], Di = /* @__PURE__ */ h({
|
|
5063
5101
|
__name: "FileVideo",
|
|
5064
5102
|
props: {
|
|
5065
5103
|
question: {}
|
|
5066
5104
|
},
|
|
5067
5105
|
setup(r) {
|
|
5068
5106
|
return (s, o) => {
|
|
5069
|
-
const e =
|
|
5107
|
+
const e = v("sv-action");
|
|
5070
5108
|
return i(), u("div", {
|
|
5071
5109
|
class: l(s.question.cssClasses.videoContainer)
|
|
5072
5110
|
}, [
|
|
@@ -5081,14 +5119,14 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5081
5119
|
playsinline: "",
|
|
5082
5120
|
id: s.question.videoId,
|
|
5083
5121
|
class: l(s.question.cssClasses.video)
|
|
5084
|
-
}, null, 10,
|
|
5122
|
+
}, null, 10, _i),
|
|
5085
5123
|
C(e, {
|
|
5086
5124
|
item: s.question.takePictureAction
|
|
5087
5125
|
}, null, 8, ["item"])
|
|
5088
5126
|
], 2);
|
|
5089
5127
|
};
|
|
5090
5128
|
}
|
|
5091
|
-
}),
|
|
5129
|
+
}), Bi = ["for", "aria-label"], Li = /* @__PURE__ */ h({
|
|
5092
5130
|
__name: "FileChooseButton",
|
|
5093
5131
|
props: {
|
|
5094
5132
|
data: {},
|
|
@@ -5102,8 +5140,8 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5102
5140
|
}
|
|
5103
5141
|
);
|
|
5104
5142
|
return (e, n) => {
|
|
5105
|
-
const t =
|
|
5106
|
-
return
|
|
5143
|
+
const t = v("sv-svg-icon"), a = X("key2click");
|
|
5144
|
+
return N((i(), u("label", {
|
|
5107
5145
|
tabindex: "0",
|
|
5108
5146
|
class: l(o.value.getChooseFileCss()),
|
|
5109
5147
|
for: o.value.inputId,
|
|
@@ -5115,25 +5153,25 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5115
5153
|
iconName: o.value.cssClasses.chooseFileIconId,
|
|
5116
5154
|
size: "auto"
|
|
5117
5155
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5118
|
-
c("span", null,
|
|
5119
|
-
], 10,
|
|
5156
|
+
c("span", null, R(o.value.chooseButtonText), 1)
|
|
5157
|
+
], 10, Bi)), [
|
|
5120
5158
|
[a]
|
|
5121
5159
|
]);
|
|
5122
5160
|
};
|
|
5123
5161
|
}
|
|
5124
|
-
}),
|
|
5162
|
+
}), Ni = ["onClick", "href", "title", "download"], Pi = ["src"], Ai = ["onClick"], Mi = ["onClick", "href", "title", "download"], Hi = /* @__PURE__ */ h({
|
|
5125
5163
|
__name: "FilePreview",
|
|
5126
5164
|
props: {
|
|
5127
5165
|
question: {}
|
|
5128
5166
|
},
|
|
5129
5167
|
setup(r) {
|
|
5130
5168
|
return (s, o) => {
|
|
5131
|
-
const e =
|
|
5169
|
+
const e = v("sv-svg-icon");
|
|
5132
5170
|
return s.question.showPreviewContainer ? (i(), u("div", {
|
|
5133
5171
|
key: 0,
|
|
5134
5172
|
class: l(s.question.cssClasses.fileList || void 0)
|
|
5135
5173
|
}, [
|
|
5136
|
-
(i(!0), u(
|
|
5174
|
+
(i(!0), u(_, null, D(s.question.previewValue, (n, t) => N((i(), u("span", {
|
|
5137
5175
|
key: s.question.inputId + "_" + t,
|
|
5138
5176
|
class: l(s.question.cssClasses.preview)
|
|
5139
5177
|
}, [
|
|
@@ -5147,7 +5185,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5147
5185
|
title: n.name,
|
|
5148
5186
|
download: n.name,
|
|
5149
5187
|
style: S({ width: s.question.imageWidth })
|
|
5150
|
-
},
|
|
5188
|
+
}, R(n.name), 13, Ni)
|
|
5151
5189
|
], 2)) : d("", !0),
|
|
5152
5190
|
c("div", {
|
|
5153
5191
|
class: l(s.question.getImageWrapperCss(n))
|
|
@@ -5160,7 +5198,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5160
5198
|
width: s.question.imageWidth
|
|
5161
5199
|
}),
|
|
5162
5200
|
alt: "File preview"
|
|
5163
|
-
}, null, 12,
|
|
5201
|
+
}, null, 12, Pi)) : d("", !0),
|
|
5164
5202
|
s.question.defaultImage(n) ? (i(), g(e, {
|
|
5165
5203
|
key: 1,
|
|
5166
5204
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5174,7 +5212,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5174
5212
|
}, [
|
|
5175
5213
|
c("span", {
|
|
5176
5214
|
class: l(s.question.cssClasses.removeFile)
|
|
5177
|
-
},
|
|
5215
|
+
}, R(s.question.removeFileCaption), 3),
|
|
5178
5216
|
s.question.cssClasses.removeFileSvgIconId ? (i(), g(e, {
|
|
5179
5217
|
key: 0,
|
|
5180
5218
|
title: s.question.removeFileCaption,
|
|
@@ -5182,7 +5220,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5182
5220
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5183
5221
|
size: "auto"
|
|
5184
5222
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5185
|
-
], 10,
|
|
5223
|
+
], 10, Ai)) : d("", !0)
|
|
5186
5224
|
], 2),
|
|
5187
5225
|
n.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5188
5226
|
key: 1,
|
|
@@ -5194,7 +5232,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5194
5232
|
title: n.name,
|
|
5195
5233
|
download: n.name,
|
|
5196
5234
|
style: S({ width: s.question.imageWidth })
|
|
5197
|
-
},
|
|
5235
|
+
}, R(n.name), 13, Mi)
|
|
5198
5236
|
], 2)) : d("", !0)
|
|
5199
5237
|
], 2)), [
|
|
5200
5238
|
[M, n && s.question.isPreviewVisible(t)]
|
|
@@ -5202,22 +5240,22 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5202
5240
|
], 2)) : d("", !0);
|
|
5203
5241
|
};
|
|
5204
5242
|
}
|
|
5205
|
-
}),
|
|
5243
|
+
}), Wi = /* @__PURE__ */ h({
|
|
5206
5244
|
__name: "ButtonGroup",
|
|
5207
5245
|
props: {
|
|
5208
5246
|
question: {}
|
|
5209
5247
|
},
|
|
5210
5248
|
setup(r) {
|
|
5211
|
-
const s = r, o =
|
|
5212
|
-
return
|
|
5213
|
-
const t =
|
|
5249
|
+
const s = r, o = $();
|
|
5250
|
+
return P(s, o), (e, n) => {
|
|
5251
|
+
const t = v("sv-button-group-item");
|
|
5214
5252
|
return i(), u("div", {
|
|
5215
5253
|
role: "group",
|
|
5216
5254
|
class: l(e.question.cssClasses.root),
|
|
5217
5255
|
ref_key: "root",
|
|
5218
5256
|
ref: o
|
|
5219
5257
|
}, [
|
|
5220
|
-
(i(!0), u(
|
|
5258
|
+
(i(!0), u(_, null, D(e.question.visibleChoices, (a, y) => (i(), g(t, {
|
|
5221
5259
|
question: e.question,
|
|
5222
5260
|
key: y,
|
|
5223
5261
|
item: a,
|
|
@@ -5226,7 +5264,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5226
5264
|
], 2);
|
|
5227
5265
|
};
|
|
5228
5266
|
}
|
|
5229
|
-
}),
|
|
5267
|
+
}), Ei = ["title"], Vi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "disabled", "value"], Fi = ["title"], Oi = /* @__PURE__ */ h({
|
|
5230
5268
|
__name: "ButtonGroupItem",
|
|
5231
5269
|
props: {
|
|
5232
5270
|
item: {},
|
|
@@ -5244,13 +5282,13 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5244
5282
|
}
|
|
5245
5283
|
});
|
|
5246
5284
|
return (n, t) => {
|
|
5247
|
-
const a =
|
|
5285
|
+
const a = v("sv-svg-icon"), y = v("survey-string");
|
|
5248
5286
|
return i(), u("label", {
|
|
5249
5287
|
role: "radio",
|
|
5250
5288
|
class: l(o.value.css.label),
|
|
5251
5289
|
title: o.value.caption.renderedHtml
|
|
5252
5290
|
}, [
|
|
5253
|
-
|
|
5291
|
+
N(c("input", {
|
|
5254
5292
|
type: "radio",
|
|
5255
5293
|
name: o.value.name,
|
|
5256
5294
|
id: o.value.id,
|
|
@@ -5263,7 +5301,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5263
5301
|
class: l(o.value.css.control),
|
|
5264
5302
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.value = m),
|
|
5265
5303
|
value: o.value.value
|
|
5266
|
-
}, null, 10,
|
|
5304
|
+
}, null, 10, Vi), [
|
|
5267
5305
|
[x, e.value]
|
|
5268
5306
|
]),
|
|
5269
5307
|
c("div", {
|
|
@@ -5283,12 +5321,12 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5283
5321
|
C(y, {
|
|
5284
5322
|
locString: o.value.caption
|
|
5285
5323
|
}, null, 8, ["locString"])
|
|
5286
|
-
], 10,
|
|
5324
|
+
], 10, Fi)) : d("", !0)
|
|
5287
5325
|
], 2)
|
|
5288
|
-
], 10,
|
|
5326
|
+
], 10, Ei);
|
|
5289
5327
|
};
|
|
5290
5328
|
}
|
|
5291
|
-
}),
|
|
5329
|
+
}), zi = ["src", "width", "height", "alt"], Ui = /* @__PURE__ */ h({
|
|
5292
5330
|
inheritAttrs: !1,
|
|
5293
5331
|
__name: "Logo",
|
|
5294
5332
|
props: {
|
|
@@ -5301,7 +5339,7 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5301
5339
|
}, [
|
|
5302
5340
|
c("img", {
|
|
5303
5341
|
class: l(o.value.css.logoImage),
|
|
5304
|
-
src:
|
|
5342
|
+
src: I(e),
|
|
5305
5343
|
width: o.value.renderedLogoWidth,
|
|
5306
5344
|
height: o.value.renderedLogoHeight,
|
|
5307
5345
|
alt: o.value.locTitle.renderedHtml,
|
|
@@ -5310,16 +5348,16 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5310
5348
|
width: o.value.renderedStyleLogoWidth,
|
|
5311
5349
|
height: o.value.renderedStyleLogoHeight
|
|
5312
5350
|
})
|
|
5313
|
-
}, null, 14,
|
|
5351
|
+
}, null, 14, zi)
|
|
5314
5352
|
], 2));
|
|
5315
5353
|
}
|
|
5316
|
-
}),
|
|
5354
|
+
}), Ki = /* @__PURE__ */ h({
|
|
5317
5355
|
__name: "SvgBundle",
|
|
5318
5356
|
setup(r) {
|
|
5319
|
-
const s =
|
|
5357
|
+
const s = $();
|
|
5320
5358
|
return H(() => {
|
|
5321
5359
|
s.value.innerHTML = Oe.iconsRenderedHtml();
|
|
5322
|
-
}), (o, e) =>
|
|
5360
|
+
}), (o, e) => N((i(), u("svg", {
|
|
5323
5361
|
id: "sv-icon-holder-global-container",
|
|
5324
5362
|
ref_key: "root",
|
|
5325
5363
|
ref: s
|
|
@@ -5329,8 +5367,8 @@ const vi = /* @__PURE__ */ Ce(mi, [["render", pi]]), yi = { key: 2 }, qi = /* @_
|
|
|
5329
5367
|
}
|
|
5330
5368
|
});
|
|
5331
5369
|
ze.platform = "vue3";
|
|
5332
|
-
function
|
|
5333
|
-
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", {
|
|
5334
5372
|
mounted: function(s, o) {
|
|
5335
5373
|
const e = { ...o.value };
|
|
5336
5374
|
if (e.disableTabStop) {
|
|
@@ -5345,15 +5383,15 @@ function Ui(r) {
|
|
|
5345
5383
|
}
|
|
5346
5384
|
});
|
|
5347
5385
|
}
|
|
5348
|
-
const
|
|
5386
|
+
const Ji = {
|
|
5349
5387
|
install(r) {
|
|
5350
|
-
|
|
5388
|
+
ji(r);
|
|
5351
5389
|
}
|
|
5352
5390
|
};
|
|
5353
5391
|
export {
|
|
5354
|
-
|
|
5355
|
-
|
|
5392
|
+
Ji as surveyPlugin,
|
|
5393
|
+
B as useBase,
|
|
5356
5394
|
le as useComputedArray,
|
|
5357
5395
|
G as useLocString,
|
|
5358
|
-
|
|
5396
|
+
P as useQuestion
|
|
5359
5397
|
};
|