survey-vue3-ui 1.12.25 → 1.12.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +375 -371
- package/survey-vue3-ui.umd.js +4 -4
- package/types/base.d.ts +1 -0
- package/types/FilePreview.vue.d.ts +0 -13
- package/types/components/cover/Cover.vue.d.ts +0 -21
- package/types/components/cover/CoverCell.vue.d.ts +0 -13
- package/types/components/file-actions/FileChooseButton.vue.d.ts +0 -21
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var He = Object.defineProperty;
|
|
2
2
|
var Ie = (u, o, e) => o in u ? He(u, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[o] = e;
|
|
3
3
|
var G = (u, o, e) => (Ie(u, typeof o != "symbol" ? o + "" : o, e), e);
|
|
4
|
-
import { defineComponent as h, computed as L, openBlock as r, createBlock as C, resolveDynamicComponent as ge, normalizeProps as ue, guardReactiveProps as de, createSlots as Se, renderList as S, withCtx as E, renderSlot as Ce, shallowReactive as
|
|
4
|
+
import { defineComponent as h, computed as L, openBlock as r, createBlock as C, resolveDynamicComponent as ge, normalizeProps as ue, guardReactiveProps as de, createSlots as Se, renderList as S, withCtx as E, renderSlot as Ce, shallowReactive as Be, watch as F, onBeforeUnmount as U, onMounted as $, ref as b, shallowRef as W, watchEffect as Ve, triggerRef as se, unref as k, isRef as Te, nextTick as Re, createElementBlock as l, normalizeClass as a, createVNode as y, createCommentVNode as c, Fragment as I, mergeProps as D, normalizeStyle as M, createElementVNode as m, onUnmounted as N, withDirectives as T, vShow as P, toDisplayString as H, vModelRadio as Y, vModelCheckbox as oe, vModelSelect as Ze, onUpdated as x, vModelText as $e, getCurrentInstance as ye, createStaticVNode as De, toRaw as Ae, Teleport as Pe, useSlots as Ne } from "vue";
|
|
5
5
|
import { Base as Ee, RendererFactory as _, Helpers as We, DropdownMultiSelectListModel as Fe, doKey2ClickUp as he, createSvg as ze, doKey2ClickDown as Oe, doKey2ClickBlur as Ue, ActionDropdownViewModel as Ke, createPopupViewModel as je, SurveyProgressModel as ve, ProgressButtonsResponsivityManager as Qe, addIconsToThemeSet as qe, SvgRegistry as X, PopupSurveyModel as Ge, settings as z, createDialogOptions as Je, createPopupModalViewModel as Xe, ButtonGroupItemModel as Ye, SurveyModel as xe } from "survey-core";
|
|
6
6
|
const ae = class {
|
|
7
7
|
constructor() {
|
|
@@ -45,7 +45,7 @@ const v = /* @__PURE__ */ h({
|
|
|
45
45
|
]), 1040));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
Ee.createPropertiesHash = () =>
|
|
48
|
+
Ee.createPropertiesHash = () => Be({});
|
|
49
49
|
class _e {
|
|
50
50
|
constructor(o) {
|
|
51
51
|
G(this, "currentNextTickPromise");
|
|
@@ -80,13 +80,16 @@ function es(u) {
|
|
|
80
80
|
u.enableOnElementRerenderedEvent(), u.__vueImplemented++;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
+
function ss(u) {
|
|
84
|
+
return !!u.__vueImplemented;
|
|
85
|
+
}
|
|
83
86
|
function ce(u) {
|
|
84
87
|
var o;
|
|
85
88
|
!u || (u.__vueImplemented = (o = u.__vueImplemented) != null ? o : 0, u.__vueImplemented--, u.__vueImplemented <= 0 && (u.iteratePropertiesHash((e, s) => {
|
|
86
89
|
e[s] = k(e[s]), Array.isArray(e[s]) && (e[s].onArrayChanged = void 0);
|
|
87
90
|
}), delete u.__vueImplemented, u.disableOnElementRerenderedEvent(), u.createArrayCoreHandler = void 0, u.getPropertyValueCoreHandler = void 0, u.setPropertyValueCoreHandler = void 0));
|
|
88
91
|
}
|
|
89
|
-
function
|
|
92
|
+
function B(u, o, e) {
|
|
90
93
|
const s = F(
|
|
91
94
|
u,
|
|
92
95
|
(t, i) => {
|
|
@@ -105,7 +108,7 @@ function V(u, o, e) {
|
|
|
105
108
|
});
|
|
106
109
|
}
|
|
107
110
|
function R(u, o, e, s) {
|
|
108
|
-
|
|
111
|
+
B(() => u.question, e, s), $(() => {
|
|
109
112
|
u.question && u.question.afterRenderQuestionElement(o.value);
|
|
110
113
|
}), U(() => {
|
|
111
114
|
u.question.beforeDestroyQuestionElement(o.value);
|
|
@@ -132,14 +135,14 @@ function te(u) {
|
|
|
132
135
|
return u.customWidget ? "survey-customwidget" : u.isDefaultRendering && u.isDefaultRendering() || u.isPanel ? "survey-" + u.getTemplate() : u.getComponentName();
|
|
133
136
|
}
|
|
134
137
|
function ee(u) {
|
|
135
|
-
const o = W(), e =
|
|
138
|
+
const o = W(), e = Ve(() => {
|
|
136
139
|
o.value = u(), se(o);
|
|
137
140
|
});
|
|
138
141
|
return U(() => {
|
|
139
142
|
e();
|
|
140
143
|
}), o;
|
|
141
144
|
}
|
|
142
|
-
const
|
|
145
|
+
const os = /* @__PURE__ */ h({
|
|
143
146
|
__name: "Page",
|
|
144
147
|
props: {
|
|
145
148
|
survey: {},
|
|
@@ -150,7 +153,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
150
153
|
const o = u, e = b(null), s = () => {
|
|
151
154
|
o.survey && e.value && o.survey.afterRenderPage(e.value);
|
|
152
155
|
}, n = L(() => o.page._showDescription);
|
|
153
|
-
return
|
|
156
|
+
return B(
|
|
154
157
|
() => o.page,
|
|
155
158
|
() => {
|
|
156
159
|
s();
|
|
@@ -198,7 +201,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
198
201
|
}, 1040, ["is"]))), 128))
|
|
199
202
|
], 2));
|
|
200
203
|
}
|
|
201
|
-
}),
|
|
204
|
+
}), ts = /* @__PURE__ */ h({
|
|
202
205
|
__name: "Header",
|
|
203
206
|
props: {
|
|
204
207
|
survey: {}
|
|
@@ -249,7 +252,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
249
252
|
}, null, 2)
|
|
250
253
|
], 2)) : c("", !0);
|
|
251
254
|
}
|
|
252
|
-
}),
|
|
255
|
+
}), ns = /* @__PURE__ */ h({
|
|
253
256
|
__name: "Row",
|
|
254
257
|
props: {
|
|
255
258
|
row: {},
|
|
@@ -258,13 +261,13 @@ const ss = /* @__PURE__ */ h({
|
|
|
258
261
|
},
|
|
259
262
|
setup(u) {
|
|
260
263
|
const o = u, e = b();
|
|
261
|
-
return
|
|
264
|
+
return B(
|
|
262
265
|
() => o.row,
|
|
263
266
|
(s, n) => {
|
|
264
267
|
s.setRootElement(e.value), n && (s.isNeedRender = n.isNeedRender);
|
|
265
268
|
},
|
|
266
269
|
(s) => {
|
|
267
|
-
s.setRootElement(void 0), s.stopLazyRendering(), s.isNeedRender = !s.isLazyRendering();
|
|
270
|
+
ss(s) || (s.setRootElement(void 0), s.stopLazyRendering(), s.isNeedRender = !s.isLazyRendering());
|
|
268
271
|
}
|
|
269
272
|
), $(() => {
|
|
270
273
|
if (o.row && (o.row.setRootElement(e.value), !o.row.isNeedRender)) {
|
|
@@ -287,10 +290,10 @@ const ss = /* @__PURE__ */ h({
|
|
|
287
290
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
288
291
|
], 2));
|
|
289
292
|
}
|
|
290
|
-
}),
|
|
293
|
+
}), rs = ["id", "role", "aria-required", "aria-invalid", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], is = ["id"], as = {
|
|
291
294
|
inheritAttrs: !1
|
|
292
|
-
},
|
|
293
|
-
...
|
|
295
|
+
}, ls = /* @__PURE__ */ h({
|
|
296
|
+
...as,
|
|
294
297
|
__name: "Question",
|
|
295
298
|
props: {
|
|
296
299
|
survey: {},
|
|
@@ -299,7 +302,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
299
302
|
},
|
|
300
303
|
setup(u) {
|
|
301
304
|
const o = u, e = b(null), s = L(() => o.element.showErrorOnTop), n = L(() => o.element.showErrorOnBottom), t = (f) => f.cssContent, i = () => o.element.getRootStyle();
|
|
302
|
-
|
|
305
|
+
B(() => o.element);
|
|
303
306
|
const d = () => {
|
|
304
307
|
e.value && o.element.afterRender(e.value);
|
|
305
308
|
}, g = F(
|
|
@@ -307,7 +310,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
307
310
|
() => {
|
|
308
311
|
d();
|
|
309
312
|
}
|
|
310
|
-
), p = L(() => o.element.customWidget ? "survey-customwidget" : o.element.isDefaultRendering() ? "survey-" + o.element.getTemplate() : o.element.getComponentName()), q = L(() => o.element.survey.getQuestionContentWrapperComponentName(o.element)),
|
|
313
|
+
), p = L(() => o.element.customWidget ? "survey-customwidget" : o.element.isDefaultRendering() ? "survey-" + o.element.getTemplate() : o.element.getComponentName()), q = L(() => o.element.survey.getQuestionContentWrapperComponentName(o.element)), V = L(() => ({
|
|
311
314
|
componentData: {
|
|
312
315
|
question: o.element,
|
|
313
316
|
data: o.element.survey.getElementWrapperComponentData(o.element)
|
|
@@ -342,7 +345,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
342
345
|
element: f.element,
|
|
343
346
|
css: f.css
|
|
344
347
|
}, null, 8, ["element", "css"])) : c("", !0),
|
|
345
|
-
y(v, D({ is: q.value },
|
|
348
|
+
y(v, D({ is: q.value }, V.value), {
|
|
346
349
|
default: E(() => [
|
|
347
350
|
m("div", {
|
|
348
351
|
class: a(t(f.element) || void 0),
|
|
@@ -389,7 +392,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
389
392
|
is: "survey-string",
|
|
390
393
|
locString: f.element.locDescription
|
|
391
394
|
}, null, 8, ["locString"])
|
|
392
|
-
], 10,
|
|
395
|
+
], 10, is)) : c("", !0)
|
|
393
396
|
], 6)
|
|
394
397
|
]),
|
|
395
398
|
_: 1
|
|
@@ -406,12 +409,12 @@ const ss = /* @__PURE__ */ h({
|
|
|
406
409
|
element: f.element,
|
|
407
410
|
location: "bottom"
|
|
408
411
|
}, null, 8, ["element"])) : c("", !0)
|
|
409
|
-
], 46,
|
|
412
|
+
], 46, rs));
|
|
410
413
|
}
|
|
411
|
-
}),
|
|
414
|
+
}), us = ["id"], ds = ["id"], vs = {
|
|
412
415
|
inheritAttrs: !1
|
|
413
|
-
},
|
|
414
|
-
...
|
|
416
|
+
}, cs = /* @__PURE__ */ h({
|
|
417
|
+
...vs,
|
|
415
418
|
inheritAttrs: !1,
|
|
416
419
|
__name: "Panel",
|
|
417
420
|
props: {
|
|
@@ -421,7 +424,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
421
424
|
},
|
|
422
425
|
setup(u) {
|
|
423
426
|
const o = u, e = b(null), s = L(() => o.element.survey);
|
|
424
|
-
return
|
|
427
|
+
return B(() => o.element), $(() => {
|
|
425
428
|
o.element.survey && o.element.afterRender(e.value);
|
|
426
429
|
}), (n, t) => n.element.getIsContentVisible() ? (r(), l("div", {
|
|
427
430
|
key: 0,
|
|
@@ -473,10 +476,10 @@ const ss = /* @__PURE__ */ h({
|
|
|
473
476
|
is: "sv-action-bar",
|
|
474
477
|
model: n.element.getFooterToolbar()
|
|
475
478
|
}, null, 8, ["model"])
|
|
476
|
-
], 14,
|
|
477
|
-
], 42,
|
|
479
|
+
], 14, ds)) : c("", !0)
|
|
480
|
+
], 42, us)) : c("", !0);
|
|
478
481
|
}
|
|
479
|
-
}),
|
|
482
|
+
}), ps = ["id"], ms = /* @__PURE__ */ h({
|
|
480
483
|
__name: "ElementHeader",
|
|
481
484
|
props: {
|
|
482
485
|
element: {},
|
|
@@ -508,7 +511,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
508
511
|
is: "survey-string",
|
|
509
512
|
locString: n.element.locDescription
|
|
510
513
|
}, null, 8, ["locString"])
|
|
511
|
-
], 10,
|
|
514
|
+
], 10, ps)), [
|
|
512
515
|
[P, n.element.hasDescription]
|
|
513
516
|
]) : c("", !0),
|
|
514
517
|
n.element.hasAdditionalTitleToolbar ? (r(), C(v, {
|
|
@@ -518,7 +521,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
518
521
|
}, null, 8, ["model"])) : c("", !0)
|
|
519
522
|
], 6));
|
|
520
523
|
}
|
|
521
|
-
}),
|
|
524
|
+
}), gs = /* @__PURE__ */ h({
|
|
522
525
|
__name: "String",
|
|
523
526
|
props: {
|
|
524
527
|
locString: {}
|
|
@@ -529,7 +532,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
529
532
|
locString: o.locString.renderAsData
|
|
530
533
|
}, null, 8, ["is", "locString"]));
|
|
531
534
|
}
|
|
532
|
-
}),
|
|
535
|
+
}), Cs = ["innerHTML"], ys = /* @__PURE__ */ h({
|
|
533
536
|
__name: "StringViewer",
|
|
534
537
|
props: {
|
|
535
538
|
locString: {}
|
|
@@ -540,12 +543,12 @@ const ss = /* @__PURE__ */ h({
|
|
|
540
543
|
key: 0,
|
|
541
544
|
class: a(k(s)),
|
|
542
545
|
innerHTML: k(e)
|
|
543
|
-
}, null, 10,
|
|
546
|
+
}, null, 10, Cs)) : (r(), l("span", {
|
|
544
547
|
key: 1,
|
|
545
548
|
class: a(k(s))
|
|
546
549
|
}, H(k(e)), 3));
|
|
547
550
|
}
|
|
548
|
-
}),
|
|
551
|
+
}), hs = ["innerHTML"], qs = /* @__PURE__ */ h({
|
|
549
552
|
__name: "StringEditor",
|
|
550
553
|
props: {
|
|
551
554
|
locString: {}
|
|
@@ -564,7 +567,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
564
567
|
innerHTML: n.locString.renderedHtml,
|
|
565
568
|
onBlur: e,
|
|
566
569
|
onClick: s
|
|
567
|
-
}, null, 40,
|
|
570
|
+
}, null, 40, hs)) : (r(), l("span", {
|
|
568
571
|
key: 1,
|
|
569
572
|
class: "sv-string-editor",
|
|
570
573
|
contenteditable: "true",
|
|
@@ -572,20 +575,20 @@ const ss = /* @__PURE__ */ h({
|
|
|
572
575
|
onClick: s
|
|
573
576
|
}, H(n.locString.renderedHtml), 33));
|
|
574
577
|
}
|
|
575
|
-
}),
|
|
578
|
+
}), ws = ["id"], ks = /* @__PURE__ */ h({
|
|
576
579
|
__name: "Skeleton",
|
|
577
580
|
props: {
|
|
578
581
|
element: {}
|
|
579
582
|
},
|
|
580
583
|
setup(u) {
|
|
581
584
|
const o = u;
|
|
582
|
-
return
|
|
585
|
+
return B(() => o.element), (e, s) => (r(), l("div", {
|
|
583
586
|
class: "sv-skeleton-element",
|
|
584
587
|
id: e.element.id,
|
|
585
588
|
style: M({ height: e.element.skeletonHeight })
|
|
586
|
-
}, null, 12,
|
|
589
|
+
}, null, 12, ws));
|
|
587
590
|
}
|
|
588
|
-
}),
|
|
591
|
+
}), fs = ["id"], Ls = ["value"], bs = /* @__PURE__ */ h({
|
|
589
592
|
inheritAttrs: !1,
|
|
590
593
|
__name: "Text",
|
|
591
594
|
props: {
|
|
@@ -612,8 +615,8 @@ const ss = /* @__PURE__ */ h({
|
|
|
612
615
|
(r(!0), l(I, null, S(s.question.dataList, (t, i) => (r(), l("option", {
|
|
613
616
|
key: i,
|
|
614
617
|
value: t
|
|
615
|
-
}, null, 8,
|
|
616
|
-
], 8,
|
|
618
|
+
}, null, 8, Ls))), 128))
|
|
619
|
+
], 8, fs)
|
|
617
620
|
], 512)) : (r(), C(v, {
|
|
618
621
|
key: 2,
|
|
619
622
|
is: "survey-text-input",
|
|
@@ -623,7 +626,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
623
626
|
}
|
|
624
627
|
}, null, 8, ["question", "get-ref"]));
|
|
625
628
|
}
|
|
626
|
-
}),
|
|
629
|
+
}), Ms = ["disabled", "readonly", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Hs = ["disabled", "readonly", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Is = /* @__PURE__ */ h({
|
|
627
630
|
__name: "TextInput",
|
|
628
631
|
props: {
|
|
629
632
|
question: {},
|
|
@@ -633,7 +636,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
633
636
|
const e = u, s = function(i) {
|
|
634
637
|
e.getRef && e.getRef(i);
|
|
635
638
|
}, n = b(null);
|
|
636
|
-
o({ root: n }),
|
|
639
|
+
o({ root: n }), B(() => e.question);
|
|
637
640
|
const t = L(() => e.question.inputStyle);
|
|
638
641
|
return (i, d) => i.question.getMaxLength() ? (r(), l("div", {
|
|
639
642
|
key: 1,
|
|
@@ -667,7 +670,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
667
670
|
"aria-describedby": i.question.a11y_input_ariaDescribedBy,
|
|
668
671
|
"aria-invalid": i.question.a11y_input_ariaInvalid,
|
|
669
672
|
"aria-errormessage": i.question.a11y_input_ariaErrormessage
|
|
670
|
-
}, null, 46,
|
|
673
|
+
}, null, 46, Hs),
|
|
671
674
|
y(v, {
|
|
672
675
|
is: "sv-character-counter",
|
|
673
676
|
counter: i.question.characterCounter,
|
|
@@ -703,12 +706,12 @@ const ss = /* @__PURE__ */ h({
|
|
|
703
706
|
"aria-describedby": i.question.a11y_input_ariaDescribedBy,
|
|
704
707
|
"aria-invalid": i.question.a11y_input_ariaInvalid,
|
|
705
708
|
"aria-errormessage": i.question.a11y_input_ariaErrormessage
|
|
706
|
-
}, null, 46,
|
|
709
|
+
}, null, 46, Ms));
|
|
707
710
|
}
|
|
708
|
-
}),
|
|
711
|
+
}), Ss = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Bs = {
|
|
709
712
|
key: 0,
|
|
710
713
|
class: "sv-hidden"
|
|
711
|
-
}, Vs = { key: 7 },
|
|
714
|
+
}, Vs = { key: 7 }, Ts = ["value"], we = /* @__PURE__ */ h({
|
|
712
715
|
inheritAttrs: !1,
|
|
713
716
|
__name: "SelectBase",
|
|
714
717
|
props: {
|
|
@@ -738,7 +741,7 @@ const ss = /* @__PURE__ */ h({
|
|
|
738
741
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
739
742
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
740
743
|
}, [
|
|
741
|
-
t.showLegend ? (r(), l("legend",
|
|
744
|
+
t.showLegend ? (r(), l("legend", Bs, H(t.question.locTitle.renderedHtml), 1)) : c("", !0),
|
|
742
745
|
t.question.hasHeadItems ? (r(!0), l(I, { key: 1 }, S(t.question.headItems, (d) => (r(), C(v, D({
|
|
743
746
|
key: d.value,
|
|
744
747
|
is: s(d)
|
|
@@ -788,11 +791,11 @@ const ss = /* @__PURE__ */ h({
|
|
|
788
791
|
t.question.clearValue(!0);
|
|
789
792
|
}),
|
|
790
793
|
value: t.question.clearButtonCaption
|
|
791
|
-
}, null, 10,
|
|
794
|
+
}, null, 10, Ts)
|
|
792
795
|
])) : c("", !0)
|
|
793
|
-
], 10,
|
|
796
|
+
], 10, Ss));
|
|
794
797
|
}
|
|
795
|
-
}),
|
|
798
|
+
}), Rs = /* @__PURE__ */ h({
|
|
796
799
|
inheritAttrs: !1,
|
|
797
800
|
__name: "Checkbox",
|
|
798
801
|
props: {
|
|
@@ -810,11 +813,11 @@ function ke(u, o, e) {
|
|
|
810
813
|
e.value && (o().isDesignMode || u().setRootElement(e.value));
|
|
811
814
|
}), N(() => {
|
|
812
815
|
o().isDesignMode || u().setRootElement(void 0);
|
|
813
|
-
}),
|
|
816
|
+
}), B(u, (s, n) => {
|
|
814
817
|
o().isDesignMode || (s && e.value && s.setRootElement(e.value), n && n.setRootElement(void 0));
|
|
815
818
|
});
|
|
816
819
|
}
|
|
817
|
-
const
|
|
820
|
+
const Zs = ["name", "checked", "value", "id", "disabled", "readonly", "required"], $s = ["xlink:href"], Ds = /* @__PURE__ */ h({
|
|
818
821
|
inheritAttrs: !1,
|
|
819
822
|
__name: "CheckboxItem",
|
|
820
823
|
props: {
|
|
@@ -854,7 +857,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
854
857
|
readonly: n.question.isReadOnlyAttr,
|
|
855
858
|
class: a(n.question.cssClasses.itemControl),
|
|
856
859
|
required: n.question.hasRequiredError()
|
|
857
|
-
}, null, 42,
|
|
860
|
+
}, null, 42, Zs),
|
|
858
861
|
n.question.cssClasses.materialDecorator ? (r(), l("span", {
|
|
859
862
|
key: 0,
|
|
860
863
|
class: a(n.question.cssClasses.materialDecorator)
|
|
@@ -865,7 +868,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
865
868
|
}, [
|
|
866
869
|
m("use", {
|
|
867
870
|
"xlink:href": n.question.itemSvgIcon
|
|
868
|
-
}, null, 8,
|
|
871
|
+
}, null, 8, $s)
|
|
869
872
|
], 2)) : c("", !0)
|
|
870
873
|
], 2)) : c("", !0),
|
|
871
874
|
n.hideLabel ? c("", !0) : (r(), l("span", {
|
|
@@ -880,7 +883,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
880
883
|
], 2)
|
|
881
884
|
], 2));
|
|
882
885
|
}
|
|
883
|
-
}),
|
|
886
|
+
}), As = /* @__PURE__ */ h({
|
|
884
887
|
inheritAttrs: !1,
|
|
885
888
|
__name: "Radiogroup",
|
|
886
889
|
props: {
|
|
@@ -889,7 +892,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
889
892
|
setup(u) {
|
|
890
893
|
return (o, e) => (r(), C(we, { question: o.question }, null, 8, ["question"]));
|
|
891
894
|
}
|
|
892
|
-
}),
|
|
895
|
+
}), Ps = ["name", "value", "id", "aria-errormessage", "disabled", "readonly"], Ns = ["xlink:href"], Es = /* @__PURE__ */ h({
|
|
893
896
|
inheritAttrs: !1,
|
|
894
897
|
__name: "RadiogroupItem",
|
|
895
898
|
props: {
|
|
@@ -929,7 +932,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
929
932
|
disabled: !i.question.getItemEnabled(i.item),
|
|
930
933
|
readonly: i.question.isReadOnlyAttr,
|
|
931
934
|
class: a(i.question.cssClasses.itemControl)
|
|
932
|
-
}, null, 10,
|
|
935
|
+
}, null, 10, Ps), [
|
|
933
936
|
[Y, t.value]
|
|
934
937
|
]),
|
|
935
938
|
i.question.cssClasses.materialDecorator ? (r(), l("span", {
|
|
@@ -942,7 +945,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
942
945
|
}, [
|
|
943
946
|
m("use", {
|
|
944
947
|
"xlink:href": i.question.itemSvgIcon
|
|
945
|
-
}, null, 8,
|
|
948
|
+
}, null, 8, Ns)
|
|
946
949
|
], 2)) : c("", !0)
|
|
947
950
|
], 2)) : c("", !0),
|
|
948
951
|
i.hideLabel ? c("", !0) : (r(), l("span", {
|
|
@@ -957,7 +960,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
957
960
|
], 34)
|
|
958
961
|
], 2));
|
|
959
962
|
}
|
|
960
|
-
}),
|
|
963
|
+
}), Ws = ["src"], Fs = ["title"], zs = { key: 0 }, Os = /* @__PURE__ */ h({
|
|
961
964
|
inheritAttrs: !1,
|
|
962
965
|
__name: "Signaturepad",
|
|
963
966
|
props: {
|
|
@@ -991,7 +994,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
991
994
|
style: M({
|
|
992
995
|
width: s.question.renderedCanvasWidth
|
|
993
996
|
})
|
|
994
|
-
}, null, 14,
|
|
997
|
+
}, null, 14, Ws)) : c("", !0),
|
|
995
998
|
m("canvas", {
|
|
996
999
|
tabindex: "-1",
|
|
997
1000
|
class: a(s.question.cssClasses.canvas),
|
|
@@ -1010,14 +1013,14 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1010
1013
|
s.question.clearValue(!0);
|
|
1011
1014
|
})
|
|
1012
1015
|
}, [
|
|
1013
|
-
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span",
|
|
1016
|
+
s.question.cssClasses.clearButtonIconId ? c("", !0) : (r(), l("span", zs, "\u2716")),
|
|
1014
1017
|
s.question.cssClasses.clearButtonIconId ? (r(), C(v, {
|
|
1015
1018
|
key: 1,
|
|
1016
1019
|
is: "sv-svg-icon",
|
|
1017
1020
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
1018
1021
|
size: "auto"
|
|
1019
1022
|
}, null, 8, ["iconName"])) : c("", !0)
|
|
1020
|
-
], 10,
|
|
1023
|
+
], 10, Fs)
|
|
1021
1024
|
], 2)) : c("", !0),
|
|
1022
1025
|
s.question.showLoadingIndicator ? (r(), l("div", {
|
|
1023
1026
|
key: 1,
|
|
@@ -1027,7 +1030,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1027
1030
|
], 2)) : c("", !0)
|
|
1028
1031
|
], 6));
|
|
1029
1032
|
}
|
|
1030
|
-
}),
|
|
1033
|
+
}), Us = ["innerHTML"], Ks = /* @__PURE__ */ h({
|
|
1031
1034
|
inheritAttrs: !1,
|
|
1032
1035
|
__name: "Html",
|
|
1033
1036
|
props: {
|
|
@@ -1042,9 +1045,9 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1042
1045
|
ref: e,
|
|
1043
1046
|
class: a(n.question.renderCssRoot),
|
|
1044
1047
|
innerHTML: k(s)
|
|
1045
|
-
}, null, 10,
|
|
1048
|
+
}, null, 10, Us));
|
|
1046
1049
|
}
|
|
1047
|
-
}),
|
|
1050
|
+
}), js = ["src", "alt", "width", "height"], Qs = ["src", "width", "height"], Gs = ["src", "width", "height"], Js = /* @__PURE__ */ h({
|
|
1048
1051
|
inheritAttrs: !1,
|
|
1049
1052
|
__name: "Image",
|
|
1050
1053
|
props: {
|
|
@@ -1077,7 +1080,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1077
1080
|
onError: t[1] || (t[1] = (i) => {
|
|
1078
1081
|
n.question.onErrorHandler();
|
|
1079
1082
|
})
|
|
1080
|
-
}, null, 46,
|
|
1083
|
+
}, null, 46, js)), [
|
|
1081
1084
|
[P, k(s) && !n.question.contentNotLoaded]
|
|
1082
1085
|
]) : c("", !0),
|
|
1083
1086
|
n.question.renderedMode === "video" ? T((r(), l("video", {
|
|
@@ -1098,7 +1101,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1098
1101
|
onError: t[3] || (t[3] = (i) => {
|
|
1099
1102
|
n.question.onErrorHandler();
|
|
1100
1103
|
})
|
|
1101
|
-
}, null, 46,
|
|
1104
|
+
}, null, 46, Qs)), [
|
|
1102
1105
|
[P, k(s) && !n.question.contentNotLoaded]
|
|
1103
1106
|
]) : c("", !0),
|
|
1104
1107
|
n.question.renderedMode === "youtube" ? (r(), l("iframe", {
|
|
@@ -1112,7 +1115,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1112
1115
|
width: n.question.renderedStyleWidth,
|
|
1113
1116
|
height: n.question.renderedStyleHeight
|
|
1114
1117
|
})
|
|
1115
|
-
}, null, 14,
|
|
1118
|
+
}, null, 14, Gs)) : c("", !0),
|
|
1116
1119
|
!k(s) || n.question.contentNotLoaded ? (r(), l("div", {
|
|
1117
1120
|
key: 3,
|
|
1118
1121
|
class: a(n.question.cssClasses.noImage)
|
|
@@ -1125,7 +1128,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1125
1128
|
], 2)) : c("", !0)
|
|
1126
1129
|
], 2));
|
|
1127
1130
|
}
|
|
1128
|
-
}),
|
|
1131
|
+
}), Xs = /* @__PURE__ */ h({
|
|
1129
1132
|
inheritAttrs: !1,
|
|
1130
1133
|
__name: "Expression",
|
|
1131
1134
|
props: {
|
|
@@ -1139,7 +1142,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1139
1142
|
ref: e
|
|
1140
1143
|
}, H(s.question.formatedValue), 3));
|
|
1141
1144
|
}
|
|
1142
|
-
}),
|
|
1145
|
+
}), Ys = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], xs = ["id", "multiple", "placeholder"], _s = ["id", "multiple", "placeholder"], e1 = /* @__PURE__ */ h({
|
|
1143
1146
|
inheritAttrs: !1,
|
|
1144
1147
|
__name: "File",
|
|
1145
1148
|
props: {
|
|
@@ -1166,7 +1169,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1166
1169
|
title: s.question.inputTitle,
|
|
1167
1170
|
accept: s.question.acceptedTypes,
|
|
1168
1171
|
capture: s.question.renderCapture
|
|
1169
|
-
}, null, 10,
|
|
1172
|
+
}, null, 10, Ys)) : c("", !0),
|
|
1170
1173
|
s.question.isReadOnlyAttr ? (r(), l("input", {
|
|
1171
1174
|
key: 1,
|
|
1172
1175
|
type: "file",
|
|
@@ -1176,7 +1179,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1176
1179
|
multiple: s.question.allowMultiple,
|
|
1177
1180
|
placeholder: s.question.title,
|
|
1178
1181
|
style: { color: "transparent" }
|
|
1179
|
-
}, null, 10,
|
|
1182
|
+
}, null, 10, xs)) : c("", !0),
|
|
1180
1183
|
s.question.isDisabledAttr ? (r(), l("input", {
|
|
1181
1184
|
key: 2,
|
|
1182
1185
|
type: "file",
|
|
@@ -1186,7 +1189,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1186
1189
|
multiple: s.question.allowMultiple,
|
|
1187
1190
|
placeholder: s.question.title,
|
|
1188
1191
|
style: { color: "transparent" }
|
|
1189
|
-
}, null, 10,
|
|
1192
|
+
}, null, 10, _s)) : c("", !0),
|
|
1190
1193
|
m("div", {
|
|
1191
1194
|
class: a(s.question.cssClasses.dragArea),
|
|
1192
1195
|
onDrop: n[0] || (n[0] = (...t) => s.question.onDrop && s.question.onDrop(...t)),
|
|
@@ -1261,7 +1264,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1261
1264
|
], 34)
|
|
1262
1265
|
], 2));
|
|
1263
1266
|
}
|
|
1264
|
-
}),
|
|
1267
|
+
}), s1 = { class: "sv-hidden" }, pe = "survey-imagepicker-item", o1 = /* @__PURE__ */ h({
|
|
1265
1268
|
inheritAttrs: !1,
|
|
1266
1269
|
__name: "Imagepicker",
|
|
1267
1270
|
props: {
|
|
@@ -1280,10 +1283,11 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1280
1283
|
});
|
|
1281
1284
|
return (t, i) => (r(), l("fieldset", {
|
|
1282
1285
|
class: a(t.question.getSelectBaseRootCss()),
|
|
1286
|
+
style: M(t.question.getContainerStyle()),
|
|
1283
1287
|
ref_key: "root",
|
|
1284
1288
|
ref: e
|
|
1285
1289
|
}, [
|
|
1286
|
-
m("legend",
|
|
1290
|
+
m("legend", s1, H(t.question.locTitle.renderedHtml), 1),
|
|
1287
1291
|
t.question.hasColumns ? c("", !0) : (r(!0), l(I, { key: 0 }, S(t.question.visibleChoices, (d) => (r(), C(v, D({
|
|
1288
1292
|
key: d.value,
|
|
1289
1293
|
is: s(d)
|
|
@@ -1298,9 +1302,9 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1298
1302
|
is: s(p)
|
|
1299
1303
|
}, n(p)), null, 16, ["is"]))), 128))
|
|
1300
1304
|
], 2))), 128)) : c("", !0)
|
|
1301
|
-
],
|
|
1305
|
+
], 6));
|
|
1302
1306
|
}
|
|
1303
|
-
}),
|
|
1307
|
+
}), t1 = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], n1 = ["name", "value", "id", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], r1 = ["src", "width", "height", "alt"], i1 = ["src", "width", "height"], a1 = /* @__PURE__ */ h({
|
|
1304
1308
|
inheritAttrs: !1,
|
|
1305
1309
|
__name: "ImagepickerItem",
|
|
1306
1310
|
props: {
|
|
@@ -1317,7 +1321,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1317
1321
|
i.isReadOnlyAttr || (i.value = t);
|
|
1318
1322
|
}
|
|
1319
1323
|
});
|
|
1320
|
-
|
|
1324
|
+
B(() => o.item);
|
|
1321
1325
|
const n = K(() => o.item.locImageLink);
|
|
1322
1326
|
return (t, i) => (r(), l("div", {
|
|
1323
1327
|
class: a(e(t.item))
|
|
@@ -1339,7 +1343,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1339
1343
|
"aria-invalid": t.question.ariaInvalid,
|
|
1340
1344
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1341
1345
|
class: a(t.question.cssClasses.itemControl)
|
|
1342
|
-
}, null, 10,
|
|
1346
|
+
}, null, 10, t1)), [
|
|
1343
1347
|
[oe, s.value]
|
|
1344
1348
|
]) : T((r(), l("input", {
|
|
1345
1349
|
key: 1,
|
|
@@ -1355,7 +1359,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1355
1359
|
"aria-invalid": t.question.ariaInvalid,
|
|
1356
1360
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1357
1361
|
class: a(t.question.cssClasses.itemControl)
|
|
1358
|
-
}, null, 10,
|
|
1362
|
+
}, null, 10, n1)), [
|
|
1359
1363
|
[Y, s.value]
|
|
1360
1364
|
]),
|
|
1361
1365
|
m("div", {
|
|
@@ -1391,7 +1395,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1391
1395
|
onError: i[3] || (i[3] = (d) => {
|
|
1392
1396
|
t.item.onErrorHandler();
|
|
1393
1397
|
})
|
|
1394
|
-
}, null, 46,
|
|
1398
|
+
}, null, 46, r1)) : c("", !0),
|
|
1395
1399
|
k(n) && !t.item.contentNotLoaded && t.question.contentMode === "video" ? (r(), l("video", {
|
|
1396
1400
|
key: 2,
|
|
1397
1401
|
controls: "",
|
|
@@ -1406,7 +1410,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1406
1410
|
onError: i[5] || (i[5] = (d) => {
|
|
1407
1411
|
t.item.onErrorHandler();
|
|
1408
1412
|
})
|
|
1409
|
-
}, null, 46,
|
|
1413
|
+
}, null, 46, i1)) : c("", !0),
|
|
1410
1414
|
!k(n) || t.item.contentNotLoaded ? (r(), l("div", {
|
|
1411
1415
|
key: 3,
|
|
1412
1416
|
class: a(t.question.cssClasses.itemNoImage),
|
|
@@ -1437,7 +1441,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1437
1441
|
], 2)
|
|
1438
1442
|
], 2));
|
|
1439
1443
|
}
|
|
1440
|
-
}),
|
|
1444
|
+
}), l1 = /* @__PURE__ */ h({
|
|
1441
1445
|
inheritAttrs: !1,
|
|
1442
1446
|
__name: "Comment",
|
|
1443
1447
|
props: {
|
|
@@ -1471,7 +1475,7 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1471
1475
|
ref: e
|
|
1472
1476
|
}, H(s.question.value), 513));
|
|
1473
1477
|
}
|
|
1474
|
-
}),
|
|
1478
|
+
}), u1 = /* @__PURE__ */ h({
|
|
1475
1479
|
inheritAttrs: !1,
|
|
1476
1480
|
__name: "Dropdown",
|
|
1477
1481
|
props: {
|
|
@@ -1495,16 +1499,16 @@ const Rs = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1495
1499
|
}, null, 8, ["question"])) : c("", !0)
|
|
1496
1500
|
], 2));
|
|
1497
1501
|
}
|
|
1498
|
-
}),
|
|
1502
|
+
}), d1 = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "required"], v1 = {
|
|
1499
1503
|
key: 0,
|
|
1500
1504
|
value: ""
|
|
1501
|
-
},
|
|
1505
|
+
}, c1 = ["id"];
|
|
1502
1506
|
_.Instance.registerRenderer(
|
|
1503
1507
|
"dropdown",
|
|
1504
1508
|
"select",
|
|
1505
1509
|
"sv-dropdown-select"
|
|
1506
1510
|
);
|
|
1507
|
-
const
|
|
1511
|
+
const p1 = /* @__PURE__ */ h({
|
|
1508
1512
|
inheritAttrs: !1,
|
|
1509
1513
|
__name: "DropdownSelect",
|
|
1510
1514
|
props: {
|
|
@@ -1540,7 +1544,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1540
1544
|
disabled: "",
|
|
1541
1545
|
id: i.question.inputId,
|
|
1542
1546
|
class: a(i.question.getControlClass())
|
|
1543
|
-
}, H(i.question.readOnlyText), 11,
|
|
1547
|
+
}, H(i.question.readOnlyText), 11, c1)) : T((r(), l("select", {
|
|
1544
1548
|
key: 0,
|
|
1545
1549
|
id: i.question.inputId,
|
|
1546
1550
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => t.value = g),
|
|
@@ -1554,13 +1558,13 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1554
1558
|
"aria-errormessage": i.question.ariaErrormessage,
|
|
1555
1559
|
required: i.question.isRequired
|
|
1556
1560
|
}, [
|
|
1557
|
-
i.question.allowClear ? (r(), l("option",
|
|
1561
|
+
i.question.allowClear ? (r(), l("option", v1, H(i.question.placeholder), 1)) : c("", !0),
|
|
1558
1562
|
(r(!0), l(I, null, S(i.question.visibleChoices, (g) => (r(), C(v, {
|
|
1559
1563
|
is: "sv-dropdown-option-item",
|
|
1560
1564
|
item: g,
|
|
1561
1565
|
key: g.id
|
|
1562
1566
|
}, null, 8, ["item"]))), 128))
|
|
1563
|
-
], 42,
|
|
1567
|
+
], 42, d1)), [
|
|
1564
1568
|
[Ze, t.value]
|
|
1565
1569
|
]),
|
|
1566
1570
|
i.question.cssClasses.chevronButtonIconId ? (r(), l("div", {
|
|
@@ -1582,19 +1586,19 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1582
1586
|
}, null, 8, ["question"])) : c("", !0)
|
|
1583
1587
|
], 2));
|
|
1584
1588
|
}
|
|
1585
|
-
}),
|
|
1589
|
+
}), m1 = ["value", "disabled"], g1 = /* @__PURE__ */ h({
|
|
1586
1590
|
__name: "OptionItem",
|
|
1587
1591
|
props: {
|
|
1588
1592
|
item: {}
|
|
1589
1593
|
},
|
|
1590
1594
|
setup(u) {
|
|
1591
1595
|
const o = u, e = K(() => o.item.locText);
|
|
1592
|
-
return
|
|
1596
|
+
return B(() => o.item), (s, n) => (r(), l("option", {
|
|
1593
1597
|
value: s.item.value,
|
|
1594
1598
|
disabled: !s.item.isEnabled
|
|
1595
|
-
}, H(k(e)), 9,
|
|
1599
|
+
}, H(k(e)), 9, m1));
|
|
1596
1600
|
}
|
|
1597
|
-
}),
|
|
1601
|
+
}), C1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], y1 = { style: { visibility: "hidden" } }, h1 = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], q1 = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], w1 = /* @__PURE__ */ h({
|
|
1598
1602
|
__name: "Dropdown",
|
|
1599
1603
|
props: {
|
|
1600
1604
|
question: {}
|
|
@@ -1621,12 +1625,12 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1621
1625
|
o.question.onBlur(w), g();
|
|
1622
1626
|
}, q = (w) => {
|
|
1623
1627
|
o.question.onFocus(w);
|
|
1624
|
-
},
|
|
1628
|
+
}, V = (w) => {
|
|
1625
1629
|
s.value.inputStringRendered = w.target.value;
|
|
1626
1630
|
}, f = L(
|
|
1627
1631
|
() => o.question.showSelectedItemLocText
|
|
1628
1632
|
), Z = L(() => o.question.selectedItemLocText);
|
|
1629
|
-
return
|
|
1633
|
+
return B(() => s.value), x(g), $(g), (w, A) => (r(), l("div", {
|
|
1630
1634
|
class: a(w.question.cssClasses.selectWrapper),
|
|
1631
1635
|
onClick: n
|
|
1632
1636
|
}, [
|
|
@@ -1666,7 +1670,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1666
1670
|
key: 1,
|
|
1667
1671
|
class: a(w.question.cssClasses.hintSuffix)
|
|
1668
1672
|
}, [
|
|
1669
|
-
m("span",
|
|
1673
|
+
m("span", y1, H(s.value.inputStringRendered), 1),
|
|
1670
1674
|
m("span", null, H(s.value.hintStringSuffix), 1)
|
|
1671
1675
|
], 2)) : c("", !0),
|
|
1672
1676
|
w.question.showInputFieldComponent ? (r(), C(v, {
|
|
@@ -1694,10 +1698,10 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1694
1698
|
"aria-describedby": w.question.a11y_input_ariaDescribedBy,
|
|
1695
1699
|
"aria-activedescendant": s.value.ariaActivedescendant,
|
|
1696
1700
|
placeholder: s.value.placeholderRendered,
|
|
1697
|
-
onInput:
|
|
1701
|
+
onInput: V,
|
|
1698
1702
|
onBlur: p,
|
|
1699
1703
|
onFocus: q
|
|
1700
|
-
}, null, 42,
|
|
1704
|
+
}, null, 42, h1)
|
|
1701
1705
|
], 2),
|
|
1702
1706
|
w.question.allowClear && w.question.cssClasses.cleanButtonIconId ? T((r(), l("div", {
|
|
1703
1707
|
key: 1,
|
|
@@ -1715,7 +1719,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1715
1719
|
], 2)), [
|
|
1716
1720
|
[P, w.question.showClearButton]
|
|
1717
1721
|
]) : c("", !0)
|
|
1718
|
-
], 42,
|
|
1722
|
+
], 42, C1)),
|
|
1719
1723
|
w.question.isReadOnly ? (r(), l("div", {
|
|
1720
1724
|
key: 2,
|
|
1721
1725
|
id: w.question.inputId,
|
|
@@ -1731,7 +1735,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1731
1735
|
locString: w.question.selectedItemLocText
|
|
1732
1736
|
}, null, 8, ["locString"])) : c("", !0),
|
|
1733
1737
|
m("div", null, H(w.question.readOnlyText), 1)
|
|
1734
|
-
], 10,
|
|
1738
|
+
], 10, q1)) : (r(), C(v, {
|
|
1735
1739
|
key: 1,
|
|
1736
1740
|
is: "sv-popup",
|
|
1737
1741
|
model: w.question.dropdownListModel.popupModel
|
|
@@ -1751,7 +1755,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1751
1755
|
], 34)) : c("", !0)
|
|
1752
1756
|
], 2));
|
|
1753
1757
|
}
|
|
1754
|
-
}),
|
|
1758
|
+
}), k1 = /* @__PURE__ */ h({
|
|
1755
1759
|
inheritAttrs: !1,
|
|
1756
1760
|
__name: "Tagbox",
|
|
1757
1761
|
props: {
|
|
@@ -1775,7 +1779,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1775
1779
|
}, null, 8, ["question"])) : c("", !0)
|
|
1776
1780
|
], 2));
|
|
1777
1781
|
}
|
|
1778
|
-
}),
|
|
1782
|
+
}), f1 = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], L1 = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], b1 = /* @__PURE__ */ h({
|
|
1779
1783
|
__name: "Tagbox",
|
|
1780
1784
|
props: {
|
|
1781
1785
|
question: {}
|
|
@@ -1800,7 +1804,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1800
1804
|
var q;
|
|
1801
1805
|
(q = e.value) == null || q.onBlur(p);
|
|
1802
1806
|
}, g = ee(() => o.question.selectedChoices);
|
|
1803
|
-
return
|
|
1807
|
+
return B(() => e.value), (p, q) => (r(), l("div", {
|
|
1804
1808
|
class: a(p.question.cssClasses.selectWrapper),
|
|
1805
1809
|
onClick: s
|
|
1806
1810
|
}, [
|
|
@@ -1825,9 +1829,9 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1825
1829
|
m("div", {
|
|
1826
1830
|
class: a(p.question.cssClasses.controlValue)
|
|
1827
1831
|
}, [
|
|
1828
|
-
(r(!0), l(I, null, S(k(g), (
|
|
1832
|
+
(r(!0), l(I, null, S(k(g), (V, f) => (r(), C(v, {
|
|
1829
1833
|
is: "sv-tagbox-item",
|
|
1830
|
-
item:
|
|
1834
|
+
item: V,
|
|
1831
1835
|
question: p.question,
|
|
1832
1836
|
key: "item" + f
|
|
1833
1837
|
}, null, 8, ["item", "question"]))), 128)),
|
|
@@ -1853,7 +1857,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1853
1857
|
], 2)), [
|
|
1854
1858
|
[P, p.question.showClearButton]
|
|
1855
1859
|
]) : c("", !0)
|
|
1856
|
-
], 42,
|
|
1860
|
+
], 42, f1)),
|
|
1857
1861
|
p.question.isReadOnly ? (r(), l("div", {
|
|
1858
1862
|
key: 2,
|
|
1859
1863
|
id: p.question.inputId,
|
|
@@ -1868,7 +1872,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1868
1872
|
is: "survey-string",
|
|
1869
1873
|
locString: p.question.locReadOnlyText
|
|
1870
1874
|
}, null, 8, ["locString"])) : c("", !0)
|
|
1871
|
-
], 10,
|
|
1875
|
+
], 10, L1)) : (r(), C(v, {
|
|
1872
1876
|
key: 1,
|
|
1873
1877
|
is: "sv-popup",
|
|
1874
1878
|
model: e.value.popupModel
|
|
@@ -1888,7 +1892,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1888
1892
|
], 34)) : c("", !0)
|
|
1889
1893
|
], 2));
|
|
1890
1894
|
}
|
|
1891
|
-
}),
|
|
1895
|
+
}), M1 = { style: { visibility: "hidden" } }, H1 = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "id", "readonly", "size"], I1 = /* @__PURE__ */ h({
|
|
1892
1896
|
__name: "TagboxFilter",
|
|
1893
1897
|
props: {
|
|
1894
1898
|
question: {},
|
|
@@ -1905,7 +1909,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1905
1909
|
}, t = (i) => {
|
|
1906
1910
|
o.question.onFocus(i);
|
|
1907
1911
|
};
|
|
1908
|
-
return
|
|
1912
|
+
return B(() => o.model), (i, d) => (r(), l("div", {
|
|
1909
1913
|
class: a(i.question.cssClasses.hint)
|
|
1910
1914
|
}, [
|
|
1911
1915
|
i.model.showHintPrefix ? (r(), l("div", {
|
|
@@ -1926,7 +1930,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1926
1930
|
key: 1,
|
|
1927
1931
|
class: a(i.question.cssClasses.hintSuffix)
|
|
1928
1932
|
}, [
|
|
1929
|
-
m("span",
|
|
1933
|
+
m("span", M1, H(i.model.inputStringRendered), 1),
|
|
1930
1934
|
m("span", null, H(i.model.hintStringSuffix), 1)
|
|
1931
1935
|
], 2)) : c("", !0),
|
|
1932
1936
|
T(m("input", {
|
|
@@ -1951,13 +1955,13 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1951
1955
|
onKeydown: s,
|
|
1952
1956
|
onBlur: n,
|
|
1953
1957
|
onFocus: t
|
|
1954
|
-
}, null, 42,
|
|
1958
|
+
}, null, 42, H1), [
|
|
1955
1959
|
[$e, i.model.inputStringRendered]
|
|
1956
1960
|
])
|
|
1957
1961
|
], 2)
|
|
1958
1962
|
], 2));
|
|
1959
1963
|
}
|
|
1960
|
-
}),
|
|
1964
|
+
}), S1 = { class: "sv-tagbox__item-text" }, B1 = /* @__PURE__ */ h({
|
|
1961
1965
|
__name: "TagboxItem",
|
|
1962
1966
|
props: {
|
|
1963
1967
|
question: {},
|
|
@@ -1967,11 +1971,11 @@ const c1 = /* @__PURE__ */ h({
|
|
|
1967
1971
|
const o = u, e = (s) => {
|
|
1968
1972
|
o.question.dropdownListModel.deselectItem(o.item.value), s.stopPropagation();
|
|
1969
1973
|
};
|
|
1970
|
-
return
|
|
1974
|
+
return B(() => o.item), (s, n) => (r(), l("div", {
|
|
1971
1975
|
class: "sv-tagbox__item",
|
|
1972
1976
|
key: s.item.key
|
|
1973
1977
|
}, [
|
|
1974
|
-
m("div",
|
|
1978
|
+
m("div", S1, [
|
|
1975
1979
|
y(v, {
|
|
1976
1980
|
is: "survey-string",
|
|
1977
1981
|
locString: s.item.locText
|
|
@@ -2062,10 +2066,10 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2062
2066
|
], 2)) : c("", !0)
|
|
2063
2067
|
], 2));
|
|
2064
2068
|
}
|
|
2065
|
-
}),
|
|
2069
|
+
}), T1 = ["tabindex", "data-sv-drop-target-ranking-item"], R1 = {
|
|
2066
2070
|
tabindex: "-1",
|
|
2067
2071
|
style: { outline: "none" }
|
|
2068
|
-
},
|
|
2072
|
+
}, Z1 = ["xlink:href"], $1 = ["xlink:href"], D1 = ["xlink:href"], A1 = /* @__PURE__ */ h({
|
|
2069
2073
|
inheritAttrs: !1,
|
|
2070
2074
|
__name: "RankingItem",
|
|
2071
2075
|
props: {
|
|
@@ -2076,7 +2080,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2076
2080
|
},
|
|
2077
2081
|
setup(u) {
|
|
2078
2082
|
const o = u, e = L(() => o.question.getNumberByIndex(o.index));
|
|
2079
|
-
return
|
|
2083
|
+
return B(() => o.item), (s, n) => (r(), l("div", {
|
|
2080
2084
|
tabindex: s.question.getItemTabIndex(s.item),
|
|
2081
2085
|
"data-sv-drop-target-ranking-item": s.index,
|
|
2082
2086
|
class: a(s.question.getItemClass(s.item)),
|
|
@@ -2100,7 +2104,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2100
2104
|
);
|
|
2101
2105
|
})
|
|
2102
2106
|
}, [
|
|
2103
|
-
m("div",
|
|
2107
|
+
m("div", R1, [
|
|
2104
2108
|
m("div", {
|
|
2105
2109
|
class: a(s.question.cssClasses.itemGhostNode)
|
|
2106
2110
|
}, null, 2),
|
|
@@ -2115,14 +2119,14 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2115
2119
|
}, [
|
|
2116
2120
|
m("use", {
|
|
2117
2121
|
"xlink:href": s.question.dragDropSvgIcon
|
|
2118
|
-
}, null, 8,
|
|
2122
|
+
}, null, 8, Z1)
|
|
2119
2123
|
], 2)),
|
|
2120
2124
|
(r(), l("svg", {
|
|
2121
2125
|
class: a(s.question.getIconFocusCss())
|
|
2122
2126
|
}, [
|
|
2123
2127
|
m("use", {
|
|
2124
2128
|
"xlink:href": s.question.arrowsSvgIcon
|
|
2125
|
-
}, null, 8,
|
|
2129
|
+
}, null, 8, $1)
|
|
2126
2130
|
], 2))
|
|
2127
2131
|
], 2),
|
|
2128
2132
|
!s.unrankedItem && e.value ? (r(), l("div", {
|
|
@@ -2135,7 +2139,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2135
2139
|
(r(), l("svg", null, [
|
|
2136
2140
|
m("use", {
|
|
2137
2141
|
"xlink:href": s.question.dashSvgIcon
|
|
2138
|
-
}, null, 8,
|
|
2142
|
+
}, null, 8, D1)
|
|
2139
2143
|
]))
|
|
2140
2144
|
], 2)),
|
|
2141
2145
|
y(v, {
|
|
@@ -2145,9 +2149,9 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2145
2149
|
}, null, 8, ["is", "item", "cssClasses"])
|
|
2146
2150
|
], 2)
|
|
2147
2151
|
])
|
|
2148
|
-
], 42,
|
|
2152
|
+
], 42, T1));
|
|
2149
2153
|
}
|
|
2150
|
-
}),
|
|
2154
|
+
}), P1 = /* @__PURE__ */ h({
|
|
2151
2155
|
inheritAttrs: !1,
|
|
2152
2156
|
__name: "RankingItemContent",
|
|
2153
2157
|
props: {
|
|
@@ -2164,10 +2168,10 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2164
2168
|
}, null, 8, ["locString"])
|
|
2165
2169
|
], 2));
|
|
2166
2170
|
}
|
|
2167
|
-
}),
|
|
2171
|
+
}), N1 = { role: "radiogroup" }, E1 = /* @__PURE__ */ m("legend", {
|
|
2168
2172
|
role: "presentation",
|
|
2169
2173
|
class: "sv-hidden"
|
|
2170
|
-
}, null, -1),
|
|
2174
|
+
}, null, -1), W1 = /* @__PURE__ */ h({
|
|
2171
2175
|
inheritAttrs: !1,
|
|
2172
2176
|
__name: "Rating",
|
|
2173
2177
|
props: {
|
|
@@ -2182,8 +2186,8 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2182
2186
|
ref_key: "root",
|
|
2183
2187
|
ref: e
|
|
2184
2188
|
}, [
|
|
2185
|
-
m("fieldset",
|
|
2186
|
-
|
|
2189
|
+
m("fieldset", N1, [
|
|
2190
|
+
E1,
|
|
2187
2191
|
n.question.hasMinLabel ? (r(), l("span", {
|
|
2188
2192
|
key: 0,
|
|
2189
2193
|
class: a(n.question.cssClasses.minText)
|
|
@@ -2212,7 +2216,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2212
2216
|
])
|
|
2213
2217
|
], 2));
|
|
2214
2218
|
}
|
|
2215
|
-
}),
|
|
2219
|
+
}), F1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], z1 = ["data-text"], O1 = /* @__PURE__ */ h({
|
|
2216
2220
|
__name: "RatingItem",
|
|
2217
2221
|
props: {
|
|
2218
2222
|
question: {},
|
|
@@ -2221,7 +2225,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2221
2225
|
},
|
|
2222
2226
|
setup(u) {
|
|
2223
2227
|
const o = u;
|
|
2224
|
-
return
|
|
2228
|
+
return B(() => o.item), (e, s) => (r(), l("label", {
|
|
2225
2229
|
key: e.item.value,
|
|
2226
2230
|
onMousedown: s[1] || (s[1] = (n) => e.question.onMouseDown()),
|
|
2227
2231
|
class: a(e.question.getItemClassByText(e.item.itemValue, e.item.text))
|
|
@@ -2239,7 +2243,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2239
2243
|
"aria-label": e.question.ariaLabel,
|
|
2240
2244
|
"aria-invalid": e.question.ariaInvalid,
|
|
2241
2245
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2242
|
-
}, null, 8,
|
|
2246
|
+
}, null, 8, F1),
|
|
2243
2247
|
m("span", {
|
|
2244
2248
|
class: a(e.question.cssClasses.itemText),
|
|
2245
2249
|
"data-text": e.item.text
|
|
@@ -2248,10 +2252,10 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2248
2252
|
is: "survey-string",
|
|
2249
2253
|
locString: e.item.locText
|
|
2250
2254
|
}, null, 8, ["locString"])
|
|
2251
|
-
], 10,
|
|
2255
|
+
], 10, z1)
|
|
2252
2256
|
], 34));
|
|
2253
2257
|
}
|
|
2254
|
-
}),
|
|
2258
|
+
}), U1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], K1 = /* @__PURE__ */ h({
|
|
2255
2259
|
__name: "RatingItemSmiley",
|
|
2256
2260
|
props: {
|
|
2257
2261
|
question: {},
|
|
@@ -2260,7 +2264,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2260
2264
|
},
|
|
2261
2265
|
setup(u) {
|
|
2262
2266
|
const o = u;
|
|
2263
|
-
return
|
|
2267
|
+
return B(() => o.item), (e, s) => (r(), l("label", {
|
|
2264
2268
|
key: e.item.value,
|
|
2265
2269
|
onMousedown: s[1] || (s[1] = (n) => e.question.onMouseDown()),
|
|
2266
2270
|
style: M(e.question.getItemStyle(e.item.itemValue, e.item.highlight)),
|
|
@@ -2281,7 +2285,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2281
2285
|
"aria-label": e.question.ariaLabel,
|
|
2282
2286
|
"aria-invalid": e.question.ariaInvalid,
|
|
2283
2287
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2284
|
-
}, null, 8,
|
|
2288
|
+
}, null, 8, U1),
|
|
2285
2289
|
y(v, {
|
|
2286
2290
|
is: "sv-svg-icon",
|
|
2287
2291
|
iconName: e.question.getItemSmileyIconName(e.item.itemValue),
|
|
@@ -2290,7 +2294,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2290
2294
|
}, null, 8, ["iconName", "title"])
|
|
2291
2295
|
], 38));
|
|
2292
2296
|
}
|
|
2293
|
-
}),
|
|
2297
|
+
}), j1 = ["name", "id", "value", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Q1 = /* @__PURE__ */ h({
|
|
2294
2298
|
__name: "RatingItemStar",
|
|
2295
2299
|
props: {
|
|
2296
2300
|
question: {},
|
|
@@ -2299,7 +2303,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2299
2303
|
},
|
|
2300
2304
|
setup(u) {
|
|
2301
2305
|
const o = u;
|
|
2302
|
-
return
|
|
2306
|
+
return B(() => o.item), (e, s) => (r(), l("label", {
|
|
2303
2307
|
key: e.item.value,
|
|
2304
2308
|
onMousedown: s[1] || (s[1] = (n) => e.question.onMouseDown()),
|
|
2305
2309
|
class: a(e.question.getItemClass(e.item.itemValue)),
|
|
@@ -2319,7 +2323,7 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2319
2323
|
"aria-label": e.question.ariaLabel,
|
|
2320
2324
|
"aria-invalid": e.question.ariaInvalid,
|
|
2321
2325
|
"aria-errormessage": e.question.ariaErrormessage
|
|
2322
|
-
}, null, 8,
|
|
2326
|
+
}, null, 8, j1),
|
|
2323
2327
|
y(v, {
|
|
2324
2328
|
is: "sv-svg-icon",
|
|
2325
2329
|
class: a("sv-star"),
|
|
@@ -2336,10 +2340,10 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2336
2340
|
}, null, 8, ["iconName", "title"])
|
|
2337
2341
|
], 34));
|
|
2338
2342
|
}
|
|
2339
|
-
}),
|
|
2343
|
+
}), G1 = { class: "sd-rating-dropdown-item" }, J1 = { class: "sd-rating-dropdown-item_text" }, X1 = {
|
|
2340
2344
|
key: 0,
|
|
2341
2345
|
class: "sd-rating-dropdown-item_description"
|
|
2342
|
-
},
|
|
2346
|
+
}, Y1 = /* @__PURE__ */ h({
|
|
2343
2347
|
__name: "RatingDropdownItem",
|
|
2344
2348
|
props: {
|
|
2345
2349
|
item: {},
|
|
@@ -2347,9 +2351,9 @@ const c1 = /* @__PURE__ */ h({
|
|
|
2347
2351
|
},
|
|
2348
2352
|
setup(u) {
|
|
2349
2353
|
const o = u;
|
|
2350
|
-
return
|
|
2351
|
-
m("span",
|
|
2352
|
-
e.item.description ? (r(), l("div",
|
|
2354
|
+
return B(() => o.item), (e, s) => (r(), l("div", G1, [
|
|
2355
|
+
m("span", J1, H(e.item.title), 1),
|
|
2356
|
+
e.item.description ? (r(), l("div", X1, [
|
|
2353
2357
|
y(v, {
|
|
2354
2358
|
is: "survey-string",
|
|
2355
2359
|
locString: e.item.description
|
|
@@ -2363,7 +2367,7 @@ _.Instance.registerRenderer(
|
|
|
2363
2367
|
"dropdown",
|
|
2364
2368
|
"sv-rating-dropdown"
|
|
2365
2369
|
);
|
|
2366
|
-
const
|
|
2370
|
+
const x1 = /* @__PURE__ */ h({
|
|
2367
2371
|
inheritAttrs: !1,
|
|
2368
2372
|
__name: "RatingDropdown",
|
|
2369
2373
|
props: {
|
|
@@ -2382,7 +2386,7 @@ const Y1 = /* @__PURE__ */ h({
|
|
|
2382
2386
|
}, null, 8, ["question"])
|
|
2383
2387
|
], 2));
|
|
2384
2388
|
}
|
|
2385
|
-
}),
|
|
2389
|
+
}), _1 = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], eo = /* @__PURE__ */ h({
|
|
2386
2390
|
inheritAttrs: !1,
|
|
2387
2391
|
__name: "BooleanSwitch",
|
|
2388
2392
|
props: {
|
|
@@ -2424,7 +2428,7 @@ const Y1 = /* @__PURE__ */ h({
|
|
|
2424
2428
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
2425
2429
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2426
2430
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
2427
|
-
}, null, 42,
|
|
2431
|
+
}, null, 42, _1), [
|
|
2428
2432
|
[oe, t.question.booleanValue]
|
|
2429
2433
|
]),
|
|
2430
2434
|
m("div", {
|
|
@@ -2481,7 +2485,7 @@ _.Instance.registerRenderer(
|
|
|
2481
2485
|
"radio",
|
|
2482
2486
|
"sv-boolean-radio"
|
|
2483
2487
|
);
|
|
2484
|
-
const
|
|
2488
|
+
const so = /* @__PURE__ */ h({
|
|
2485
2489
|
inheritAttrs: !1,
|
|
2486
2490
|
__name: "BooleanRadio",
|
|
2487
2491
|
props: {
|
|
@@ -2522,7 +2526,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2522
2526
|
], 2)
|
|
2523
2527
|
], 2));
|
|
2524
2528
|
}
|
|
2525
|
-
}),
|
|
2529
|
+
}), oo = ["name", "value", "checked", "aria-errormessage", "disabled", "readonly"], to = ["xlink:href"], no = /* @__PURE__ */ h({
|
|
2526
2530
|
__name: "BooleanRadioItem",
|
|
2527
2531
|
props: {
|
|
2528
2532
|
question: {},
|
|
@@ -2551,7 +2555,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2551
2555
|
readonly: s.question.isReadOnlyAttr,
|
|
2552
2556
|
class: a(s.question.cssClasses.itemRadioControl),
|
|
2553
2557
|
onChange: e
|
|
2554
|
-
}, null, 42,
|
|
2558
|
+
}, null, 42, oo),
|
|
2555
2559
|
s.question.cssClasses.materialRadioDecorator ? (r(), l("span", {
|
|
2556
2560
|
key: 0,
|
|
2557
2561
|
class: a(s.question.cssClasses.materialRadioDecorator)
|
|
@@ -2562,7 +2566,7 @@ const eo = /* @__PURE__ */ h({
|
|
|
2562
2566
|
}, [
|
|
2563
2567
|
m("use", {
|
|
2564
2568
|
"xlink:href": s.question.itemSvgIcon
|
|
2565
|
-
}, null, 8,
|
|
2569
|
+
}, null, 8, to)
|
|
2566
2570
|
], 2)) : c("", !0)
|
|
2567
2571
|
], 2)) : c("", !0),
|
|
2568
2572
|
m("span", {
|
|
@@ -2576,13 +2580,13 @@ const eo = /* @__PURE__ */ h({
|
|
|
2576
2580
|
], 2)
|
|
2577
2581
|
], 2));
|
|
2578
2582
|
}
|
|
2579
|
-
}),
|
|
2583
|
+
}), ro = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], io = ["xlink:href"], ao = /* @__PURE__ */ m("span", { class: "check" }, null, -1), lo = ["id"], uo = ["id"];
|
|
2580
2584
|
_.Instance.registerRenderer(
|
|
2581
2585
|
"boolean",
|
|
2582
2586
|
"checkbox",
|
|
2583
2587
|
"sv-boolean-checkbox"
|
|
2584
2588
|
);
|
|
2585
|
-
const
|
|
2589
|
+
const vo = /* @__PURE__ */ h({
|
|
2586
2590
|
inheritAttrs: !1,
|
|
2587
2591
|
__name: "BooleanCheckbox",
|
|
2588
2592
|
props: {
|
|
@@ -2618,7 +2622,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2618
2622
|
"aria-label": s.question.ariaLabel,
|
|
2619
2623
|
"aria-invalid": s.question.ariaInvalid,
|
|
2620
2624
|
"aria-errormessage": s.question.ariaErrormessage
|
|
2621
|
-
}, null, 42,
|
|
2625
|
+
}, null, 42, ro), [
|
|
2622
2626
|
[oe, s.question.booleanValue]
|
|
2623
2627
|
]),
|
|
2624
2628
|
m("span", {
|
|
@@ -2630,9 +2634,9 @@ const uo = /* @__PURE__ */ h({
|
|
|
2630
2634
|
}, [
|
|
2631
2635
|
m("use", {
|
|
2632
2636
|
"xlink:href": s.question.svgIcon
|
|
2633
|
-
}, null, 8,
|
|
2637
|
+
}, null, 8, io)
|
|
2634
2638
|
], 2)) : c("", !0),
|
|
2635
|
-
|
|
2639
|
+
ao
|
|
2636
2640
|
], 2),
|
|
2637
2641
|
s.question.isLabelRendered ? (r(), l("span", {
|
|
2638
2642
|
key: 0,
|
|
@@ -2651,7 +2655,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2651
2655
|
element: s.question,
|
|
2652
2656
|
css: s.css
|
|
2653
2657
|
}, null, 8, ["element", "css"])) : c("", !0)
|
|
2654
|
-
], 10,
|
|
2658
|
+
], 10, lo)) : c("", !0)
|
|
2655
2659
|
], 2),
|
|
2656
2660
|
s.question.canRenderLabelDescription ? (r(), l("div", {
|
|
2657
2661
|
key: 0,
|
|
@@ -2662,12 +2666,12 @@ const uo = /* @__PURE__ */ h({
|
|
|
2662
2666
|
is: "survey-string",
|
|
2663
2667
|
locString: s.question.locDescription
|
|
2664
2668
|
}, null, 8, ["locString"])
|
|
2665
|
-
], 10,
|
|
2669
|
+
], 10, uo)) : c("", !0)
|
|
2666
2670
|
], 2)
|
|
2667
2671
|
], 2);
|
|
2668
2672
|
};
|
|
2669
2673
|
}
|
|
2670
|
-
}),
|
|
2674
|
+
}), co = /* @__PURE__ */ h({
|
|
2671
2675
|
inheritAttrs: !1,
|
|
2672
2676
|
__name: "Multipletext",
|
|
2673
2677
|
props: {
|
|
@@ -2703,7 +2707,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2703
2707
|
])
|
|
2704
2708
|
], 2));
|
|
2705
2709
|
}
|
|
2706
|
-
}),
|
|
2710
|
+
}), po = { key: 1 }, mo = /* @__PURE__ */ h({
|
|
2707
2711
|
__name: "MultipletextItem",
|
|
2708
2712
|
props: {
|
|
2709
2713
|
question: {},
|
|
@@ -2711,7 +2715,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2711
2715
|
},
|
|
2712
2716
|
setup(u) {
|
|
2713
2717
|
const o = u, e = (n) => te(n);
|
|
2714
|
-
|
|
2718
|
+
B(() => o.cell.item.editor);
|
|
2715
2719
|
const s = L(() => o.cell.item);
|
|
2716
2720
|
return (n, t) => n.cell.isErrorsCell ? (r(), C(v, {
|
|
2717
2721
|
key: 1,
|
|
@@ -2736,7 +2740,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2736
2740
|
is: "survey-string",
|
|
2737
2741
|
locString: s.value.locTitle
|
|
2738
2742
|
}, null, 8, ["locString"]),
|
|
2739
|
-
s.value.editor.isRequireTextAfterTitle ? (r(), l("span",
|
|
2743
|
+
s.value.editor.isRequireTextAfterTitle ? (r(), l("span", po, "\xA0")) : c("", !0),
|
|
2740
2744
|
s.value.editor.isRequireTextAfterTitle ? (r(), l("span", {
|
|
2741
2745
|
key: 2,
|
|
2742
2746
|
"aria-hidden": "true",
|
|
@@ -2755,7 +2759,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2755
2759
|
], 34))
|
|
2756
2760
|
], 2));
|
|
2757
2761
|
}
|
|
2758
|
-
}),
|
|
2762
|
+
}), go = { class: "sv-hidden" }, Co = { key: 0 }, yo = { key: 0 }, ho = ["onClick"], qo = ["data-responsive-title", "onClick"], wo = /* @__PURE__ */ h({
|
|
2759
2763
|
inheritAttrs: !1,
|
|
2760
2764
|
__name: "Matrix",
|
|
2761
2765
|
props: {
|
|
@@ -2785,13 +2789,13 @@ const uo = /* @__PURE__ */ h({
|
|
|
2785
2789
|
ref: e
|
|
2786
2790
|
}, [
|
|
2787
2791
|
m("fieldset", null, [
|
|
2788
|
-
m("legend",
|
|
2792
|
+
m("legend", go, H(t.question.locTitle.renderedHtml), 1),
|
|
2789
2793
|
m("table", {
|
|
2790
2794
|
class: a(t.question.getTableCss())
|
|
2791
2795
|
}, [
|
|
2792
|
-
t.question.showHeader ? (r(), l("thead",
|
|
2796
|
+
t.question.showHeader ? (r(), l("thead", Co, [
|
|
2793
2797
|
m("tr", null, [
|
|
2794
|
-
t.question.hasRows ? (r(), l("td",
|
|
2798
|
+
t.question.hasRows ? (r(), l("td", yo)) : c("", !0),
|
|
2795
2799
|
(r(!0), l(I, null, S(t.question.visibleColumns, (d, g) => (r(), l("th", {
|
|
2796
2800
|
key: g,
|
|
2797
2801
|
class: a(t.question.cssClasses.headerCell),
|
|
@@ -2845,18 +2849,18 @@ const uo = /* @__PURE__ */ h({
|
|
|
2845
2849
|
t.question.hasCellText ? (r(!0), l(I, { key: 0 }, S(t.question.visibleColumns, (p, q) => (r(), l("td", {
|
|
2846
2850
|
key: q,
|
|
2847
2851
|
class: a(t.question.getItemClass(d, p)),
|
|
2848
|
-
onClick: (
|
|
2852
|
+
onClick: (V) => n(d, p)
|
|
2849
2853
|
}, [
|
|
2850
2854
|
y(v, {
|
|
2851
2855
|
is: "survey-string",
|
|
2852
2856
|
locString: t.question.getCellDisplayLocText(d.name, p)
|
|
2853
2857
|
}, null, 8, ["locString"])
|
|
2854
|
-
], 10,
|
|
2858
|
+
], 10, ho))), 128)) : c("", !0),
|
|
2855
2859
|
t.question.hasCellText ? c("", !0) : (r(!0), l(I, { key: 1 }, S(t.question.visibleColumns, (p, q) => (r(), l("td", {
|
|
2856
2860
|
key: q,
|
|
2857
2861
|
"data-responsive-title": p.locText.renderedHtml,
|
|
2858
2862
|
class: a(t.question.cssClasses.cell),
|
|
2859
|
-
onClick: (
|
|
2863
|
+
onClick: (V) => n(d, p)
|
|
2860
2864
|
}, [
|
|
2861
2865
|
y(v, {
|
|
2862
2866
|
is: t.question.cellComponent,
|
|
@@ -2865,14 +2869,14 @@ const uo = /* @__PURE__ */ h({
|
|
|
2865
2869
|
column: p,
|
|
2866
2870
|
columnIndex: q
|
|
2867
2871
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
2868
|
-
], 10,
|
|
2872
|
+
], 10, qo))), 128))
|
|
2869
2873
|
], 2))), 128))
|
|
2870
2874
|
])
|
|
2871
2875
|
], 2)
|
|
2872
2876
|
])
|
|
2873
2877
|
], 2));
|
|
2874
2878
|
}
|
|
2875
|
-
}),
|
|
2879
|
+
}), ko = ["data-sv-drop-target-matrix-row"], fo = /* @__PURE__ */ h({
|
|
2876
2880
|
__name: "MatrixRow",
|
|
2877
2881
|
props: {
|
|
2878
2882
|
question: {},
|
|
@@ -2880,7 +2884,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2880
2884
|
},
|
|
2881
2885
|
setup(u) {
|
|
2882
2886
|
const o = u, e = b();
|
|
2883
|
-
|
|
2887
|
+
B(() => o.row);
|
|
2884
2888
|
const s = F(
|
|
2885
2889
|
() => o.row,
|
|
2886
2890
|
(n, t) => {
|
|
@@ -2905,9 +2909,9 @@ const uo = /* @__PURE__ */ h({
|
|
|
2905
2909
|
question: n.question,
|
|
2906
2910
|
key: n.row.id + "_" + i.id
|
|
2907
2911
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2908
|
-
], 42,
|
|
2912
|
+
], 42, ko)) : c("", !0);
|
|
2909
2913
|
}
|
|
2910
|
-
}),
|
|
2914
|
+
}), Lo = ["name", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], bo = ["xlink:href"], Mo = /* @__PURE__ */ h({
|
|
2911
2915
|
inheritAttrs: !1,
|
|
2912
2916
|
__name: "MatrixCell",
|
|
2913
2917
|
props: {
|
|
@@ -2937,7 +2941,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2937
2941
|
),
|
|
2938
2942
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
2939
2943
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
2940
|
-
}, null, 10,
|
|
2944
|
+
}, null, 10, Lo), [
|
|
2941
2945
|
[Y, o.row.value]
|
|
2942
2946
|
]),
|
|
2943
2947
|
m("span", {
|
|
@@ -2949,7 +2953,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2949
2953
|
}, [
|
|
2950
2954
|
m("use", {
|
|
2951
2955
|
"xlink:href": o.question.itemSvgIcon
|
|
2952
|
-
}, null, 8,
|
|
2956
|
+
}, null, 8, bo)
|
|
2953
2957
|
], 2)) : c("", !0)
|
|
2954
2958
|
], 2),
|
|
2955
2959
|
o.question.isMobile ? (r(), l("span", {
|
|
@@ -2963,7 +2967,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
2963
2967
|
], 2)) : c("", !0)
|
|
2964
2968
|
], 34));
|
|
2965
2969
|
}
|
|
2966
|
-
}),
|
|
2970
|
+
}), Ho = /* @__PURE__ */ h({
|
|
2967
2971
|
inheritAttrs: !1,
|
|
2968
2972
|
__name: "MatrixDropdown",
|
|
2969
2973
|
props: {
|
|
@@ -2978,21 +2982,21 @@ const uo = /* @__PURE__ */ h({
|
|
|
2978
2982
|
ref: e
|
|
2979
2983
|
}, null, 8, ["question"]));
|
|
2980
2984
|
}
|
|
2981
|
-
}),
|
|
2985
|
+
}), Io = { key: 0 }, So = { key: 1 }, Bo = /* @__PURE__ */ h({
|
|
2982
2986
|
__name: "MatrixTable",
|
|
2983
2987
|
props: {
|
|
2984
2988
|
question: {}
|
|
2985
2989
|
},
|
|
2986
2990
|
setup(u) {
|
|
2987
2991
|
const o = u, e = L(() => o.question.renderedTable);
|
|
2988
|
-
return
|
|
2992
|
+
return B(() => e.value), (s, n) => (r(), l("div", {
|
|
2989
2993
|
style: M({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2990
2994
|
class: a(s.question.cssClasses.tableWrapper)
|
|
2991
2995
|
}, [
|
|
2992
2996
|
m("table", {
|
|
2993
2997
|
class: a(s.question.getTableCss())
|
|
2994
2998
|
}, [
|
|
2995
|
-
e.value.showHeader ? (r(), l("thead",
|
|
2999
|
+
e.value.showHeader ? (r(), l("thead", Io, [
|
|
2996
3000
|
m("tr", null, [
|
|
2997
3001
|
(r(!0), l(I, null, S(e.value.headerRow.cells, (t) => (r(), l(I, null, [
|
|
2998
3002
|
t.hasTitle ? (r(), l("th", {
|
|
@@ -3035,7 +3039,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
3035
3039
|
question: s.question
|
|
3036
3040
|
}, null, 8, ["row", "question"]))), 128))
|
|
3037
3041
|
]),
|
|
3038
|
-
e.value.showFooter ? (r(), l("tfoot",
|
|
3042
|
+
e.value.showFooter ? (r(), l("tfoot", So, [
|
|
3039
3043
|
m("tr", null, [
|
|
3040
3044
|
(r(!0), l(I, null, S(e.value.footerRow.cells, (t, i) => (r(), C(v, {
|
|
3041
3045
|
is: "survey-matrixdropdown-cell",
|
|
@@ -3048,7 +3052,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
3048
3052
|
], 2)
|
|
3049
3053
|
], 6));
|
|
3050
3054
|
}
|
|
3051
|
-
}), Vo = /* @__PURE__ */ m("span", null, "\xA0", -1),
|
|
3055
|
+
}), Vo = /* @__PURE__ */ m("span", null, "\xA0", -1), To = /* @__PURE__ */ h({
|
|
3052
3056
|
__name: "MatrixHeaderRequired",
|
|
3053
3057
|
props: {
|
|
3054
3058
|
question: {},
|
|
@@ -3056,7 +3060,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
3056
3060
|
},
|
|
3057
3061
|
setup(u) {
|
|
3058
3062
|
const o = u;
|
|
3059
|
-
return
|
|
3063
|
+
return B(() => o.column), (e, s) => e.column.isRenderedRequired ? (r(), l(I, { key: 0 }, [
|
|
3060
3064
|
Vo,
|
|
3061
3065
|
e.column.isRenderedRequired ? (r(), l("span", {
|
|
3062
3066
|
key: 0,
|
|
@@ -3064,7 +3068,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
3064
3068
|
}, H(e.column.requiredText), 3)) : c("", !0)
|
|
3065
3069
|
], 64)) : c("", !0);
|
|
3066
3070
|
}
|
|
3067
|
-
}),
|
|
3071
|
+
}), Ro = ["title", "colspan"], Zo = /* @__PURE__ */ h({
|
|
3068
3072
|
__name: "MatrixDropdownCellComp",
|
|
3069
3073
|
props: {
|
|
3070
3074
|
question: {},
|
|
@@ -3080,21 +3084,21 @@ const uo = /* @__PURE__ */ h({
|
|
|
3080
3084
|
o.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
3081
3085
|
t();
|
|
3082
3086
|
});
|
|
3083
|
-
const p = s.value, q = o.cell.question,
|
|
3087
|
+
const p = s.value, q = o.cell.question, V = {
|
|
3084
3088
|
cell: o.cell.cell,
|
|
3085
3089
|
cellQuestion: q,
|
|
3086
3090
|
htmlElement: p,
|
|
3087
3091
|
row: o.cell.row,
|
|
3088
3092
|
column: o.cell.cell.column
|
|
3089
3093
|
};
|
|
3090
|
-
o.question.survey.matrixAfterCellRender(o.question,
|
|
3094
|
+
o.question.survey.matrixAfterCellRender(o.question, V), q && q.afterRenderCore(p);
|
|
3091
3095
|
});
|
|
3092
3096
|
const d = L(() => {
|
|
3093
3097
|
const p = o.cell;
|
|
3094
3098
|
if (p.hasPanel) {
|
|
3095
|
-
const q = p.panel,
|
|
3096
|
-
if (
|
|
3097
|
-
const f =
|
|
3099
|
+
const q = p.panel, V = q.survey;
|
|
3100
|
+
if (V) {
|
|
3101
|
+
const f = V.getElementWrapperComponentName(q);
|
|
3098
3102
|
if (f)
|
|
3099
3103
|
return f;
|
|
3100
3104
|
}
|
|
@@ -3102,9 +3106,9 @@ const uo = /* @__PURE__ */ h({
|
|
|
3102
3106
|
}
|
|
3103
3107
|
}), g = L(() => {
|
|
3104
3108
|
if (o.cell.hasPanel) {
|
|
3105
|
-
const q = o.cell.panel,
|
|
3109
|
+
const q = o.cell.panel, V = q.survey;
|
|
3106
3110
|
let f;
|
|
3107
|
-
return
|
|
3111
|
+
return V && (f = V.getElementWrapperComponentData(q)), {
|
|
3108
3112
|
componentName: "survey-panel",
|
|
3109
3113
|
componentData: {
|
|
3110
3114
|
element: q,
|
|
@@ -3120,7 +3124,7 @@ const uo = /* @__PURE__ */ h({
|
|
|
3120
3124
|
title: p.cell.getTitle(),
|
|
3121
3125
|
style: M(n()),
|
|
3122
3126
|
colspan: p.cell.colSpans,
|
|
3123
|
-
onFocusin: q[0] || (q[0] = (
|
|
3127
|
+
onFocusin: q[0] || (q[0] = (V) => p.cell.focusIn()),
|
|
3124
3128
|
ref_key: "root",
|
|
3125
3129
|
ref: s
|
|
3126
3130
|
}, [
|
|
@@ -3229,9 +3233,9 @@ const uo = /* @__PURE__ */ h({
|
|
|
3229
3233
|
]),
|
|
3230
3234
|
_: 1
|
|
3231
3235
|
}, 8, ["is", "componentData"])) : c("", !0)
|
|
3232
|
-
], 46,
|
|
3236
|
+
], 46, Ro)) : c("", !0);
|
|
3233
3237
|
}
|
|
3234
|
-
}),
|
|
3238
|
+
}), $o = /* @__PURE__ */ h({
|
|
3235
3239
|
inheritAttrs: !1,
|
|
3236
3240
|
__name: "MatrixDynamic",
|
|
3237
3241
|
props: {
|
|
@@ -3324,7 +3328,7 @@ function ne(u, o = !0) {
|
|
|
3324
3328
|
row: o ? L(() => u.item.data.row) : void 0
|
|
3325
3329
|
};
|
|
3326
3330
|
}
|
|
3327
|
-
const
|
|
3331
|
+
const Do = ["disabled"], Ao = /* @__PURE__ */ h({
|
|
3328
3332
|
__name: "RemoveButton",
|
|
3329
3333
|
props: {
|
|
3330
3334
|
item: {}
|
|
@@ -3344,9 +3348,9 @@ const $o = ["disabled"], Do = /* @__PURE__ */ h({
|
|
|
3344
3348
|
m("span", {
|
|
3345
3349
|
class: a(k(e).cssClasses.iconRemove)
|
|
3346
3350
|
}, null, 2)
|
|
3347
|
-
], 10,
|
|
3351
|
+
], 10, Do));
|
|
3348
3352
|
}
|
|
3349
|
-
}),
|
|
3353
|
+
}), Po = ["xlink:href"], No = /* @__PURE__ */ h({
|
|
3350
3354
|
__name: "DragDropIcon",
|
|
3351
3355
|
props: {
|
|
3352
3356
|
item: {}
|
|
@@ -3360,14 +3364,14 @@ const $o = ["disabled"], Do = /* @__PURE__ */ h({
|
|
|
3360
3364
|
}, [
|
|
3361
3365
|
m("use", {
|
|
3362
3366
|
"xlink:href": k(e).iconDragElement
|
|
3363
|
-
}, null, 8,
|
|
3367
|
+
}, null, 8, Po)
|
|
3364
3368
|
], 2)) : (r(), l("span", {
|
|
3365
3369
|
key: 1,
|
|
3366
3370
|
class: a(k(e).cssClasses.iconDrag)
|
|
3367
3371
|
}, null, 2))
|
|
3368
3372
|
]));
|
|
3369
3373
|
}
|
|
3370
|
-
}),
|
|
3374
|
+
}), Eo = ["aria-expanded", "aria-controls"], Wo = /* @__PURE__ */ h({
|
|
3371
3375
|
__name: "DetailButton",
|
|
3372
3376
|
props: {
|
|
3373
3377
|
item: {}
|
|
@@ -3387,9 +3391,9 @@ const $o = ["disabled"], Do = /* @__PURE__ */ h({
|
|
|
3387
3391
|
iconName: k(e).getDetailPanelIconId(k(s)),
|
|
3388
3392
|
size: "auto"
|
|
3389
3393
|
}, null, 8, ["class", "iconName"])
|
|
3390
|
-
], 10,
|
|
3394
|
+
], 10, Eo));
|
|
3391
3395
|
}
|
|
3392
|
-
}),
|
|
3396
|
+
}), Fo = /* @__PURE__ */ h({
|
|
3393
3397
|
inheritAttrs: !1,
|
|
3394
3398
|
__name: "PanelDynamic",
|
|
3395
3399
|
props: {
|
|
@@ -3521,7 +3525,7 @@ const $o = ["disabled"], Do = /* @__PURE__ */ h({
|
|
|
3521
3525
|
}, null, 8, ["question"])) : c("", !0)
|
|
3522
3526
|
], 2));
|
|
3523
3527
|
}
|
|
3524
|
-
}),
|
|
3528
|
+
}), zo = /* @__PURE__ */ h({
|
|
3525
3529
|
__name: "PanelDynamicProgress",
|
|
3526
3530
|
props: {
|
|
3527
3531
|
question: {}
|
|
@@ -3568,7 +3572,7 @@ const $o = ["disabled"], Do = /* @__PURE__ */ h({
|
|
|
3568
3572
|
], 2)
|
|
3569
3573
|
], 2));
|
|
3570
3574
|
}
|
|
3571
|
-
}),
|
|
3575
|
+
}), Oo = /* @__PURE__ */ h({
|
|
3572
3576
|
__name: "PanelDynamicProgressV2",
|
|
3573
3577
|
props: {
|
|
3574
3578
|
question: {}
|
|
@@ -3608,7 +3612,7 @@ function Q(u) {
|
|
|
3608
3612
|
() => u.item && u.item.data.question || u.data.question
|
|
3609
3613
|
);
|
|
3610
3614
|
}
|
|
3611
|
-
const
|
|
3615
|
+
const Uo = ["id"], Ko = /* @__PURE__ */ h({
|
|
3612
3616
|
__name: "PaneldynamicAddBtn",
|
|
3613
3617
|
props: {
|
|
3614
3618
|
item: {},
|
|
@@ -3633,9 +3637,9 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3633
3637
|
locString: k(e).locPanelAddText
|
|
3634
3638
|
}, null, 8, ["locString"])
|
|
3635
3639
|
], 2)
|
|
3636
|
-
], 10,
|
|
3640
|
+
], 10, Uo)) : c("", !0);
|
|
3637
3641
|
}
|
|
3638
|
-
}),
|
|
3642
|
+
}), jo = ["title"], Qo = /* @__PURE__ */ h({
|
|
3639
3643
|
__name: "PaneldynamicNextBtn",
|
|
3640
3644
|
props: {
|
|
3641
3645
|
item: {},
|
|
@@ -3655,9 +3659,9 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3655
3659
|
iconName: k(e).cssClasses.progressBtnIcon,
|
|
3656
3660
|
size: "auto"
|
|
3657
3661
|
}, null, 8, ["iconName"])
|
|
3658
|
-
], 10,
|
|
3662
|
+
], 10, jo));
|
|
3659
3663
|
}
|
|
3660
|
-
}),
|
|
3664
|
+
}), Go = ["title"], Jo = /* @__PURE__ */ h({
|
|
3661
3665
|
__name: "PaneldynamicPrevBtn",
|
|
3662
3666
|
props: {
|
|
3663
3667
|
item: {},
|
|
@@ -3677,9 +3681,9 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3677
3681
|
iconName: k(e).cssClasses.progressBtnIcon,
|
|
3678
3682
|
size: "auto"
|
|
3679
3683
|
}, null, 8, ["iconName"])
|
|
3680
|
-
], 10,
|
|
3684
|
+
], 10, Go));
|
|
3681
3685
|
}
|
|
3682
|
-
}),
|
|
3686
|
+
}), Xo = ["id"], Yo = /* @__PURE__ */ h({
|
|
3683
3687
|
__name: "PaneldynamicRemoveBtn",
|
|
3684
3688
|
props: {
|
|
3685
3689
|
item: {},
|
|
@@ -3708,9 +3712,9 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3708
3712
|
m("span", {
|
|
3709
3713
|
class: a(k(e).cssClasses.iconRemove)
|
|
3710
3714
|
}, null, 2)
|
|
3711
|
-
], 10,
|
|
3715
|
+
], 10, Xo));
|
|
3712
3716
|
}
|
|
3713
|
-
}),
|
|
3717
|
+
}), xo = /* @__PURE__ */ h({
|
|
3714
3718
|
__name: "PaneldynamicProgressText",
|
|
3715
3719
|
props: {
|
|
3716
3720
|
item: {},
|
|
@@ -3722,7 +3726,7 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3722
3726
|
class: a(k(e).cssClasses.progressText)
|
|
3723
3727
|
}, H(k(e).progressText), 3));
|
|
3724
3728
|
}
|
|
3725
|
-
}),
|
|
3729
|
+
}), _o = ["id"], et = /* @__PURE__ */ h({
|
|
3726
3730
|
__name: "Errors",
|
|
3727
3731
|
props: {
|
|
3728
3732
|
element: {},
|
|
@@ -3747,21 +3751,21 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3747
3751
|
error: n,
|
|
3748
3752
|
cssClasses: e.element.cssClasses
|
|
3749
3753
|
}, null, 8, ["is", "element", "errorKey", "error", "cssClasses"]))), 128))
|
|
3750
|
-
], 10,
|
|
3754
|
+
], 10, _o)) : c("", !0);
|
|
3751
3755
|
}
|
|
3752
|
-
}),
|
|
3756
|
+
}), st = { key: 0 }, ot = /* @__PURE__ */ h({
|
|
3753
3757
|
__name: "QuestionComment",
|
|
3754
3758
|
props: {
|
|
3755
3759
|
question: {}
|
|
3756
3760
|
},
|
|
3757
3761
|
setup(u) {
|
|
3758
|
-
return (o, e) => o.question.isReadOnlyRenderDiv() ? (r(), l("div",
|
|
3762
|
+
return (o, e) => o.question.isReadOnlyRenderDiv() ? (r(), l("div", st, H(o.question.comment), 1)) : (r(), C(v, {
|
|
3759
3763
|
key: 1,
|
|
3760
3764
|
is: "sv-text-area",
|
|
3761
3765
|
model: o.question.commentTextAreaModel
|
|
3762
3766
|
}, null, 8, ["model"]));
|
|
3763
3767
|
}
|
|
3764
|
-
}),
|
|
3768
|
+
}), tt = /* @__PURE__ */ h({
|
|
3765
3769
|
__name: "TitleElement",
|
|
3766
3770
|
props: {
|
|
3767
3771
|
element: {},
|
|
@@ -3814,7 +3818,7 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3814
3818
|
_: 1
|
|
3815
3819
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : c("", !0);
|
|
3816
3820
|
}
|
|
3817
|
-
}),
|
|
3821
|
+
}), nt = { key: 3 }, rt = { key: 5 }, it = { key: 7 }, at = /* @__PURE__ */ h({
|
|
3818
3822
|
inheritAttrs: !1,
|
|
3819
3823
|
__name: "TitleContent",
|
|
3820
3824
|
props: {
|
|
@@ -3842,19 +3846,19 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3842
3846
|
class: a(e.element.cssTitleNumber),
|
|
3843
3847
|
"aria-hidden": !0
|
|
3844
3848
|
}, H(e.element.no), 3)) : c("", !0),
|
|
3845
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (r(), l("span",
|
|
3849
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (r(), l("span", nt, "\xA0")) : c("", !0),
|
|
3846
3850
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (r(), l("span", {
|
|
3847
3851
|
key: 4,
|
|
3848
3852
|
class: a(e.element.cssRequiredText),
|
|
3849
3853
|
"aria-hidden": !0
|
|
3850
3854
|
}, H(e.element.requiredText), 3)) : c("", !0),
|
|
3851
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (r(), l("span",
|
|
3855
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (r(), l("span", rt, "\xA0")) : c("", !0),
|
|
3852
3856
|
e.element.isTitleRenderedAsString ? c("", !0) : (r(), C(v, {
|
|
3853
3857
|
key: 6,
|
|
3854
3858
|
is: "survey-string",
|
|
3855
3859
|
locString: e.element.locTitle
|
|
3856
3860
|
}, null, 8, ["locString"])),
|
|
3857
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (r(), l("span",
|
|
3861
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (r(), l("span", it, "\xA0")) : c("", !0),
|
|
3858
3862
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (r(), l("span", {
|
|
3859
3863
|
key: 8,
|
|
3860
3864
|
class: a(e.element.cssRequiredText),
|
|
@@ -3862,7 +3866,7 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3862
3866
|
}, H(e.element.requiredText), 3)) : c("", !0)
|
|
3863
3867
|
], 64));
|
|
3864
3868
|
}
|
|
3865
|
-
}),
|
|
3869
|
+
}), lt = { class: "sv-title-actions" }, ut = { class: "sv-title-actions__title" }, dt = /* @__PURE__ */ h({
|
|
3866
3870
|
__name: "TitleActions",
|
|
3867
3871
|
props: {
|
|
3868
3872
|
element: {},
|
|
@@ -3870,8 +3874,8 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3870
3874
|
},
|
|
3871
3875
|
setup(u) {
|
|
3872
3876
|
const o = u, e = L(() => o.element.getTitleToolbar());
|
|
3873
|
-
return (s, n) => (r(), l("div",
|
|
3874
|
-
m("span",
|
|
3877
|
+
return (s, n) => (r(), l("div", lt, [
|
|
3878
|
+
m("span", ut, [
|
|
3875
3879
|
s.element.isPage ? (r(), C(v, {
|
|
3876
3880
|
key: 0,
|
|
3877
3881
|
is: "survey-string",
|
|
@@ -3890,20 +3894,20 @@ const Oo = ["id"], Uo = /* @__PURE__ */ h({
|
|
|
3890
3894
|
}, null, 8, ["model"])
|
|
3891
3895
|
]));
|
|
3892
3896
|
}
|
|
3893
|
-
}),
|
|
3897
|
+
}), vt = (u, o) => {
|
|
3894
3898
|
const e = u.__vccOpts || u;
|
|
3895
3899
|
for (const [s, n] of o)
|
|
3896
3900
|
e[s] = n;
|
|
3897
3901
|
return e;
|
|
3898
|
-
},
|
|
3899
|
-
|
|
3902
|
+
}, ct = {}, pt = { class: "sv-brand-info" }, mt = /* @__PURE__ */ De('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), gt = [
|
|
3903
|
+
mt
|
|
3900
3904
|
];
|
|
3901
|
-
function
|
|
3902
|
-
return r(), l("div",
|
|
3905
|
+
function Ct(u, o) {
|
|
3906
|
+
return r(), l("div", pt, gt);
|
|
3903
3907
|
}
|
|
3904
|
-
const
|
|
3905
|
-
|
|
3906
|
-
],
|
|
3908
|
+
const yt = /* @__PURE__ */ vt(ct, [["render", Ct]]), ht = /* @__PURE__ */ m("use", null, null, -1), qt = [
|
|
3909
|
+
ht
|
|
3910
|
+
], wt = /* @__PURE__ */ h({
|
|
3907
3911
|
__name: "SvgIcon",
|
|
3908
3912
|
props: {
|
|
3909
3913
|
size: {},
|
|
@@ -3932,9 +3936,9 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
3932
3936
|
ref: e,
|
|
3933
3937
|
class: "sv-svg-icon",
|
|
3934
3938
|
role: "img"
|
|
3935
|
-
},
|
|
3939
|
+
}, qt, 512));
|
|
3936
3940
|
}
|
|
3937
|
-
}),
|
|
3941
|
+
}), kt = /* @__PURE__ */ h({
|
|
3938
3942
|
__name: "QuestionError",
|
|
3939
3943
|
props: {
|
|
3940
3944
|
errorKey: {},
|
|
@@ -3962,7 +3966,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
3962
3966
|
], 2)
|
|
3963
3967
|
]));
|
|
3964
3968
|
}
|
|
3965
|
-
}),
|
|
3969
|
+
}), ft = /* @__PURE__ */ h({
|
|
3966
3970
|
__name: "ActionBar",
|
|
3967
3971
|
props: {
|
|
3968
3972
|
model: {},
|
|
@@ -3973,7 +3977,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
3973
3977
|
const o = u, e = b(null), s = (t) => {
|
|
3974
3978
|
o.handleClick && t.stopPropagation();
|
|
3975
3979
|
};
|
|
3976
|
-
|
|
3980
|
+
B(() => o.model);
|
|
3977
3981
|
const n = ee(() => o.model.renderedActions);
|
|
3978
3982
|
return $(() => {
|
|
3979
3983
|
!o.model.hasActions || o.model.initResponsivityManager(e.value);
|
|
@@ -3993,7 +3997,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
3993
3997
|
}, null, 8, ["item"]))), 128))
|
|
3994
3998
|
], 2)) : c("", !0);
|
|
3995
3999
|
}
|
|
3996
|
-
}),
|
|
4000
|
+
}), Lt = ["id"], bt = { class: "sv-action__content" }, Mt = /* @__PURE__ */ h({
|
|
3997
4001
|
__name: "Action",
|
|
3998
4002
|
props: {
|
|
3999
4003
|
item: {}
|
|
@@ -4002,11 +4006,11 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4002
4006
|
const o = u, e = L(
|
|
4003
4007
|
() => o.item.component || "sv-action-bar-item"
|
|
4004
4008
|
);
|
|
4005
|
-
return
|
|
4009
|
+
return B(() => o.item), (s, n) => (r(), l("div", {
|
|
4006
4010
|
class: a(s.item.getActionRootCss()),
|
|
4007
4011
|
id: s.item.id
|
|
4008
4012
|
}, [
|
|
4009
|
-
m("div",
|
|
4013
|
+
m("div", bt, [
|
|
4010
4014
|
s.item.needSeparator ? (r(), C(v, {
|
|
4011
4015
|
key: 0,
|
|
4012
4016
|
is: "sv-action-bar-separator"
|
|
@@ -4016,7 +4020,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4016
4020
|
item: s.item
|
|
4017
4021
|
}, null, 8, ["is", "item"])
|
|
4018
4022
|
])
|
|
4019
|
-
], 10,
|
|
4023
|
+
], 10, Lt));
|
|
4020
4024
|
}
|
|
4021
4025
|
}), j = {
|
|
4022
4026
|
mounted: function(u, o) {
|
|
@@ -4031,17 +4035,17 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4031
4035
|
Ue(s);
|
|
4032
4036
|
});
|
|
4033
4037
|
}
|
|
4034
|
-
},
|
|
4038
|
+
}, Ht = ["disabled", "title", "aria-checked", "aria-expanded", "role"], It = {
|
|
4035
4039
|
inheritAttrs: !1
|
|
4036
|
-
},
|
|
4037
|
-
...
|
|
4040
|
+
}, St = /* @__PURE__ */ h({
|
|
4041
|
+
...It,
|
|
4038
4042
|
__name: "ActionBarItem",
|
|
4039
4043
|
props: {
|
|
4040
4044
|
item: {}
|
|
4041
4045
|
},
|
|
4042
4046
|
setup(u) {
|
|
4043
4047
|
const o = u;
|
|
4044
|
-
return
|
|
4048
|
+
return B(() => o.item), (e, s) => T((r(), l("button", {
|
|
4045
4049
|
class: a(e.item.getActionBarItemCss()),
|
|
4046
4050
|
type: "button",
|
|
4047
4051
|
onClick: s[0] || (s[0] = (n) => {
|
|
@@ -4074,13 +4078,13 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4074
4078
|
key: 1,
|
|
4075
4079
|
class: a(e.item.getActionBarItemTitleCss())
|
|
4076
4080
|
}, H(e.item.title), 3)) : c("", !0)
|
|
4077
|
-
], 42,
|
|
4081
|
+
], 42, Ht)), [
|
|
4078
4082
|
[k(j), { processEsc: !1, disableTabStop: e.item.disableTabStop }]
|
|
4079
4083
|
]);
|
|
4080
4084
|
}
|
|
4081
|
-
}),
|
|
4085
|
+
}), Bt = ["disabled", "title", "role"], Vt = {
|
|
4082
4086
|
inheritAttrs: !1
|
|
4083
|
-
},
|
|
4087
|
+
}, Tt = /* @__PURE__ */ h({
|
|
4084
4088
|
...Vt,
|
|
4085
4089
|
__name: "ActionBarItemDropdown",
|
|
4086
4090
|
props: {
|
|
@@ -4089,7 +4093,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4089
4093
|
setup(u) {
|
|
4090
4094
|
const o = u;
|
|
4091
4095
|
let e;
|
|
4092
|
-
return
|
|
4096
|
+
return B(
|
|
4093
4097
|
() => o.item,
|
|
4094
4098
|
(s) => {
|
|
4095
4099
|
e = new Ke(s);
|
|
@@ -4123,7 +4127,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4123
4127
|
key: 1,
|
|
4124
4128
|
class: a(s.item.getActionBarItemTitleCss())
|
|
4125
4129
|
}, H(s.item.title), 3)) : c("", !0)
|
|
4126
|
-
], 42,
|
|
4130
|
+
], 42, Bt)), [
|
|
4127
4131
|
[k(j), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4128
4132
|
]),
|
|
4129
4133
|
y(v, {
|
|
@@ -4132,7 +4136,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4132
4136
|
}, null, 8, ["model"])
|
|
4133
4137
|
], 64));
|
|
4134
4138
|
}
|
|
4135
|
-
}),
|
|
4139
|
+
}), Rt = /* @__PURE__ */ h({
|
|
4136
4140
|
__name: "ActionBarSeparator",
|
|
4137
4141
|
props: {
|
|
4138
4142
|
item: {}
|
|
@@ -4143,7 +4147,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4143
4147
|
class: a(["sv-action-bar-separator", e.value])
|
|
4144
4148
|
}, null, 2));
|
|
4145
4149
|
}
|
|
4146
|
-
}),
|
|
4150
|
+
}), Zt = ["aria-label", "placeholder", "value"], $t = ["aria-label"], Dt = ["id"], At = /* @__PURE__ */ h({
|
|
4147
4151
|
__name: "List",
|
|
4148
4152
|
props: {
|
|
4149
4153
|
model: {}
|
|
@@ -4158,7 +4162,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4158
4162
|
}, t = (d) => {
|
|
4159
4163
|
o.model.onMouseMove(d);
|
|
4160
4164
|
}, i = ee(() => o.model.renderedActions);
|
|
4161
|
-
return
|
|
4165
|
+
return B(() => o.model), $(() => {
|
|
4162
4166
|
o.model.initListContainerHtmlElement(e.value);
|
|
4163
4167
|
}), N(() => {
|
|
4164
4168
|
o.model && (o.model.removeScrollEventListener(), o.model.initListContainerHtmlElement(void 0));
|
|
@@ -4188,7 +4192,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4188
4192
|
value: d.model.filterString,
|
|
4189
4193
|
onChange: s,
|
|
4190
4194
|
onKeyup: n
|
|
4191
|
-
}, null, 42,
|
|
4195
|
+
}, null, 42, Zt),
|
|
4192
4196
|
d.model.showSearchClearButton && !!d.model.filterString ? (r(), l("button", {
|
|
4193
4197
|
key: 0,
|
|
4194
4198
|
onClick: g[0] || (g[0] = (p) => {
|
|
@@ -4209,7 +4213,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4209
4213
|
m("div", {
|
|
4210
4214
|
class: a(d.model.cssClasses.emptyText),
|
|
4211
4215
|
"aria-label": d.model.emptyMessage
|
|
4212
|
-
}, H(d.model.emptyMessage), 11,
|
|
4216
|
+
}, H(d.model.emptyMessage), 11, $t)
|
|
4213
4217
|
], 2), [
|
|
4214
4218
|
[P, d.model.isEmpty]
|
|
4215
4219
|
]),
|
|
@@ -4232,12 +4236,12 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4232
4236
|
model: d.model,
|
|
4233
4237
|
key: p.id
|
|
4234
4238
|
}, null, 8, ["item", "model"]))), 128))
|
|
4235
|
-
], 42,
|
|
4239
|
+
], 42, Dt)), [
|
|
4236
4240
|
[P, !d.model.isEmpty]
|
|
4237
4241
|
]) : c("", !0)
|
|
4238
4242
|
], 2));
|
|
4239
4243
|
}
|
|
4240
|
-
}),
|
|
4244
|
+
}), Pt = ["aria-selected", "id", "tabindex"], Nt = ["title"], Et = /* @__PURE__ */ h({
|
|
4241
4245
|
__name: "ListItem",
|
|
4242
4246
|
props: {
|
|
4243
4247
|
model: {},
|
|
@@ -4247,7 +4251,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4247
4251
|
const o = u, e = L(() => o.item.elementId), s = (t) => {
|
|
4248
4252
|
o.model.onItemClick(o.item), t.stopPropagation();
|
|
4249
4253
|
};
|
|
4250
|
-
|
|
4254
|
+
B(() => o.item);
|
|
4251
4255
|
const n = L(
|
|
4252
4256
|
() => o.item.component || o.model.itemComponent
|
|
4253
4257
|
);
|
|
@@ -4281,13 +4285,13 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4281
4285
|
item: t.item,
|
|
4282
4286
|
model: t.model
|
|
4283
4287
|
}, null, 8, ["is", "item", "model"])
|
|
4284
|
-
], 46,
|
|
4285
|
-
], 42,
|
|
4288
|
+
], 46, Nt)
|
|
4289
|
+
], 42, Pt)), [
|
|
4286
4290
|
[P, t.model.isItemVisible(t.item)],
|
|
4287
4291
|
[k(j), { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4288
4292
|
]);
|
|
4289
4293
|
}
|
|
4290
|
-
}),
|
|
4294
|
+
}), Wt = /* @__PURE__ */ h({
|
|
4291
4295
|
__name: "ListItemContent",
|
|
4292
4296
|
props: {
|
|
4293
4297
|
model: {},
|
|
@@ -4295,7 +4299,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4295
4299
|
},
|
|
4296
4300
|
setup(u) {
|
|
4297
4301
|
const o = u;
|
|
4298
|
-
return
|
|
4302
|
+
return B(() => o.item), (e, s) => (r(), l(I, null, [
|
|
4299
4303
|
e.item.iconName ? (r(), C(v, {
|
|
4300
4304
|
key: 0,
|
|
4301
4305
|
is: "sv-svg-icon",
|
|
@@ -4316,7 +4320,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4316
4320
|
}, null, 8, ["class", "iconName"])) : c("", !0)
|
|
4317
4321
|
], 64));
|
|
4318
4322
|
}
|
|
4319
|
-
}),
|
|
4323
|
+
}), Ft = /* @__PURE__ */ h({
|
|
4320
4324
|
__name: "ListItemGroup",
|
|
4321
4325
|
props: {
|
|
4322
4326
|
model: {},
|
|
@@ -4324,7 +4328,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4324
4328
|
},
|
|
4325
4329
|
setup(u) {
|
|
4326
4330
|
const o = u;
|
|
4327
|
-
return
|
|
4331
|
+
return B(() => o.item), (e, s) => (r(), l(I, null, [
|
|
4328
4332
|
y(v, {
|
|
4329
4333
|
is: "sv-list-item-content",
|
|
4330
4334
|
item: e.item,
|
|
@@ -4336,7 +4340,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4336
4340
|
}, null, 8, ["model"])
|
|
4337
4341
|
], 64));
|
|
4338
4342
|
}
|
|
4339
|
-
}),
|
|
4343
|
+
}), zt = /* @__PURE__ */ h({
|
|
4340
4344
|
__name: "Popup",
|
|
4341
4345
|
props: {
|
|
4342
4346
|
model: {}
|
|
@@ -4352,7 +4356,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4352
4356
|
e.value && e.value.dispose(), e.value = je(t), n();
|
|
4353
4357
|
},
|
|
4354
4358
|
{ immediate: !0 }
|
|
4355
|
-
),
|
|
4359
|
+
), B(() => e.value), $(() => {
|
|
4356
4360
|
n();
|
|
4357
4361
|
}), N(() => {
|
|
4358
4362
|
e.value.dispose();
|
|
@@ -4366,13 +4370,13 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4366
4370
|
}, null, 8, ["model"])
|
|
4367
4371
|
], 512));
|
|
4368
4372
|
}
|
|
4369
|
-
}),
|
|
4373
|
+
}), Ot = { class: "sv-popup__body-content" }, Ut = {
|
|
4370
4374
|
key: 0,
|
|
4371
4375
|
class: "sv-popup__body-header"
|
|
4372
|
-
},
|
|
4376
|
+
}, Kt = { class: "sv-popup__scrolling-content" }, jt = { class: "sv-popup__content" }, Qt = {
|
|
4373
4377
|
key: 1,
|
|
4374
4378
|
class: "sv-popup__body-footer"
|
|
4375
|
-
},
|
|
4379
|
+
}, Gt = /* @__PURE__ */ h({
|
|
4376
4380
|
__name: "PopupContainer",
|
|
4377
4381
|
props: {
|
|
4378
4382
|
model: {}
|
|
@@ -4381,7 +4385,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4381
4385
|
const o = u, e = (s) => {
|
|
4382
4386
|
s.stopPropagation();
|
|
4383
4387
|
};
|
|
4384
|
-
return
|
|
4388
|
+
return B(() => o.model), x(() => {
|
|
4385
4389
|
const s = o.model;
|
|
4386
4390
|
s.isVisible && !s.isPositionSet && o.model.updateOnShowing();
|
|
4387
4391
|
}), $(() => {
|
|
@@ -4412,16 +4416,16 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4412
4416
|
is: s.model.popupHeaderTemplate,
|
|
4413
4417
|
model: s.model
|
|
4414
4418
|
}, null, 8, ["is", "model"])) : c("", !0),
|
|
4415
|
-
m("div",
|
|
4416
|
-
s.model.title ? (r(), l("div",
|
|
4417
|
-
m("div",
|
|
4418
|
-
m("div",
|
|
4419
|
+
m("div", Ot, [
|
|
4420
|
+
s.model.title ? (r(), l("div", Ut, H(s.model.title), 1)) : c("", !0),
|
|
4421
|
+
m("div", Kt, [
|
|
4422
|
+
m("div", jt, [
|
|
4419
4423
|
y(v, D({
|
|
4420
4424
|
is: s.model.contentComponentName
|
|
4421
4425
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4422
4426
|
])
|
|
4423
4427
|
]),
|
|
4424
|
-
s.model.showFooter ? (r(), l("div",
|
|
4428
|
+
s.model.showFooter ? (r(), l("div", Qt, [
|
|
4425
4429
|
y(v, {
|
|
4426
4430
|
is: "sv-action-bar",
|
|
4427
4431
|
model: s.model.footerToolbar
|
|
@@ -4433,7 +4437,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4433
4437
|
[P, s.model.isVisible]
|
|
4434
4438
|
]);
|
|
4435
4439
|
}
|
|
4436
|
-
}),
|
|
4440
|
+
}), Jt = /* @__PURE__ */ h({
|
|
4437
4441
|
__name: "PopupPointer",
|
|
4438
4442
|
props: {
|
|
4439
4443
|
model: {}
|
|
@@ -4447,7 +4451,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4447
4451
|
})
|
|
4448
4452
|
}, null, 4));
|
|
4449
4453
|
}
|
|
4450
|
-
}),
|
|
4454
|
+
}), Xt = /* @__PURE__ */ h({
|
|
4451
4455
|
__name: "Container",
|
|
4452
4456
|
props: {
|
|
4453
4457
|
survey: {},
|
|
@@ -4508,7 +4512,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4508
4512
|
}, H(t.survey.progressText), 3)
|
|
4509
4513
|
], 2));
|
|
4510
4514
|
}
|
|
4511
|
-
}),
|
|
4515
|
+
}), Yt = ["title"], xt = ["onClick", "data-page-number"], _t = ["title"], en = ["title"], sn = ["title"], on = /* @__PURE__ */ h({
|
|
4512
4516
|
__name: "ProgressButtons",
|
|
4513
4517
|
props: {
|
|
4514
4518
|
survey: {},
|
|
@@ -4519,17 +4523,17 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4519
4523
|
const o = u, e = b(!1), s = b(!1), n = b(!1), t = b(!0), i = b(), d = L(() => o.survey.css);
|
|
4520
4524
|
let g = null;
|
|
4521
4525
|
const p = (q) => {
|
|
4522
|
-
let
|
|
4523
|
-
|
|
4526
|
+
let V = i.value;
|
|
4527
|
+
V.scrollLeft += (q ? -1 : 1) * 70;
|
|
4524
4528
|
};
|
|
4525
4529
|
return $(() => {
|
|
4526
4530
|
const q = i.value;
|
|
4527
4531
|
g = new Qe(o.model, q, {
|
|
4528
|
-
onResize: (
|
|
4529
|
-
t.value =
|
|
4532
|
+
onResize: (V) => {
|
|
4533
|
+
t.value = V, s.value = !V;
|
|
4530
4534
|
},
|
|
4531
|
-
onUpdateScroller: (
|
|
4532
|
-
e.value =
|
|
4535
|
+
onUpdateScroller: (V) => {
|
|
4536
|
+
e.value = V;
|
|
4533
4537
|
},
|
|
4534
4538
|
onUpdateSettings: () => {
|
|
4535
4539
|
t.value = o.model.showItemTitles, n.value = !o.model.showItemTitles;
|
|
@@ -4538,7 +4542,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4538
4542
|
});
|
|
4539
4543
|
}), U(() => {
|
|
4540
4544
|
g.dispose();
|
|
4541
|
-
}), (q,
|
|
4545
|
+
}), (q, V) => (r(), l("div", {
|
|
4542
4546
|
class: a(q.model.getRootCss(q.container)),
|
|
4543
4547
|
style: M({ maxWidth: q.model.progressWidth }),
|
|
4544
4548
|
role: "progressbar",
|
|
@@ -4553,14 +4557,14 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4553
4557
|
m("div", {
|
|
4554
4558
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4555
4559
|
title: q.model.headerText
|
|
4556
|
-
}, H(q.model.headerText), 11,
|
|
4560
|
+
}, H(q.model.headerText), 11, Yt)
|
|
4557
4561
|
], 2)) : c("", !0),
|
|
4558
4562
|
m("div", {
|
|
4559
4563
|
class: a(d.value.progressButtonsContainer)
|
|
4560
4564
|
}, [
|
|
4561
4565
|
m("div", {
|
|
4562
4566
|
class: a(q.model.getScrollButtonCss(e.value, !0)),
|
|
4563
|
-
onClick:
|
|
4567
|
+
onClick: V[0] || (V[0] = (f) => p(!0)),
|
|
4564
4568
|
role: "button"
|
|
4565
4569
|
}, null, 2),
|
|
4566
4570
|
m("div", {
|
|
@@ -4589,12 +4593,12 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4589
4593
|
is: "survey-string",
|
|
4590
4594
|
locString: f.locNavigationTitle
|
|
4591
4595
|
}, null, 8, ["locString"])
|
|
4592
|
-
], 10,
|
|
4596
|
+
], 10, _t)) : c("", !0),
|
|
4593
4597
|
t.value ? (r(), l("div", {
|
|
4594
4598
|
key: 1,
|
|
4595
4599
|
class: a(d.value.progressButtonsPageDescription),
|
|
4596
4600
|
title: f.locNavigationDescription.renderedHtml
|
|
4597
|
-
}, H(f.locNavigationDescription.renderedHtml), 11,
|
|
4601
|
+
}, H(f.locNavigationDescription.renderedHtml), 11, en)) : c("", !0),
|
|
4598
4602
|
m("div", {
|
|
4599
4603
|
class: a(d.value.progressButtonsButton)
|
|
4600
4604
|
}, [
|
|
@@ -4606,12 +4610,12 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4606
4610
|
}, null, 2),
|
|
4607
4611
|
m("span", null, H(q.model.getItemNumber(f)), 1)
|
|
4608
4612
|
], 2)
|
|
4609
|
-
], 10,
|
|
4613
|
+
], 10, xt))), 128))
|
|
4610
4614
|
], 2)
|
|
4611
4615
|
], 2),
|
|
4612
4616
|
m("div", {
|
|
4613
4617
|
class: a(q.model.getScrollButtonCss(e.value, !1)),
|
|
4614
|
-
onClick:
|
|
4618
|
+
onClick: V[1] || (V[1] = (f) => p(!1)),
|
|
4615
4619
|
role: "button"
|
|
4616
4620
|
}, null, 2)
|
|
4617
4621
|
], 2),
|
|
@@ -4622,11 +4626,11 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4622
4626
|
m("div", {
|
|
4623
4627
|
class: a(q.survey.css.progressButtonsPageTitle),
|
|
4624
4628
|
title: q.model.footerText
|
|
4625
|
-
}, H(q.model.footerText), 11,
|
|
4629
|
+
}, H(q.model.footerText), 11, sn)
|
|
4626
4630
|
], 2)) : c("", !0)
|
|
4627
4631
|
], 6));
|
|
4628
4632
|
}
|
|
4629
|
-
}),
|
|
4633
|
+
}), tn = /* @__PURE__ */ h({
|
|
4630
4634
|
__name: "ProgressToc",
|
|
4631
4635
|
props: {
|
|
4632
4636
|
survey: {},
|
|
@@ -4661,7 +4665,7 @@ const Ct = /* @__PURE__ */ dt(vt, [["render", gt]]), yt = /* @__PURE__ */ m("use
|
|
|
4661
4665
|
});
|
|
4662
4666
|
var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, re = { exports: {} };
|
|
4663
4667
|
/*!
|
|
4664
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4668
|
+
* surveyjs - Survey JavaScript library v1.12.26
|
|
4665
4669
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4666
4670
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4667
4671
|
*/
|
|
@@ -4974,7 +4978,7 @@ var fe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4974
4978
|
})(re);
|
|
4975
4979
|
var Le = { exports: {} };
|
|
4976
4980
|
/*!
|
|
4977
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
4981
|
+
* surveyjs - Survey JavaScript library v1.12.26
|
|
4978
4982
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4979
4983
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4980
4984
|
*/
|
|
@@ -5285,10 +5289,10 @@ var Le = { exports: {} };
|
|
|
5285
5289
|
});
|
|
5286
5290
|
});
|
|
5287
5291
|
})(Le);
|
|
5288
|
-
const
|
|
5292
|
+
const nn = ["lang", "dir"], rn = { onsubmit: "return false;" }, an = {
|
|
5289
5293
|
key: 0,
|
|
5290
5294
|
class: "sv_custom_header"
|
|
5291
|
-
},
|
|
5295
|
+
}, ln = { class: "sv-components-column sv-components-column--expandable" }, un = ["id"], dn = { key: 2 }, vn = ["innerHTML"], cn = ["innerHTML"], pn = ["innerHTML"];
|
|
5292
5296
|
qe("v1", re.exports.icons);
|
|
5293
5297
|
qe("v2", Le.exports.icons);
|
|
5294
5298
|
X.registerIcons(re.exports.icons);
|
|
@@ -5307,7 +5311,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5307
5311
|
return !!t.value && Z + n.value.toString();
|
|
5308
5312
|
}, g = L(
|
|
5309
5313
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5310
|
-
), p = L(() => t.value.css), q = L(() => "page" + d()),
|
|
5314
|
+
), p = L(() => t.value.css), q = L(() => "page" + d()), V = () => g.value ? (s.value || (s.value = t.value.processedCompletedHtml), s.value) : "", f = (Z) => {
|
|
5311
5315
|
if (!!Z) {
|
|
5312
5316
|
var w = e.value;
|
|
5313
5317
|
w && Z.afterRenderSurvey(w), Z.renderCallback = () => {
|
|
@@ -5316,7 +5320,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5316
5320
|
}, Z.startTimerFromUI();
|
|
5317
5321
|
}
|
|
5318
5322
|
};
|
|
5319
|
-
return
|
|
5323
|
+
return B(
|
|
5320
5324
|
() => t.value,
|
|
5321
5325
|
(Z, w) => {
|
|
5322
5326
|
Z && w && f(Z);
|
|
@@ -5349,8 +5353,8 @@ const ie = /* @__PURE__ */ h({
|
|
|
5349
5353
|
class: a(p.value.rootBackgroundImage),
|
|
5350
5354
|
style: M(t.value.backgroundImageStyle)
|
|
5351
5355
|
}, null, 6)) : c("", !0),
|
|
5352
|
-
m("form",
|
|
5353
|
-
t.value.hasLogo ? c("", !0) : (r(), l("div",
|
|
5356
|
+
m("form", rn, [
|
|
5357
|
+
t.value.hasLogo ? c("", !0) : (r(), l("div", an)),
|
|
5354
5358
|
m("div", {
|
|
5355
5359
|
class: a(p.value.container)
|
|
5356
5360
|
}, [
|
|
@@ -5375,7 +5379,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5375
5379
|
container: "left",
|
|
5376
5380
|
needRenderWrapper: !0
|
|
5377
5381
|
}, null, 8, ["survey"]),
|
|
5378
|
-
m("div",
|
|
5382
|
+
m("div", ln, [
|
|
5379
5383
|
y(v, {
|
|
5380
5384
|
is: "sv-components-container",
|
|
5381
5385
|
survey: t.value,
|
|
@@ -5410,7 +5414,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5410
5414
|
key: 0,
|
|
5411
5415
|
is: "sv-brand-info"
|
|
5412
5416
|
})) : c("", !0)
|
|
5413
|
-
], 14,
|
|
5417
|
+
], 14, un)
|
|
5414
5418
|
]),
|
|
5415
5419
|
y(v, {
|
|
5416
5420
|
is: "sv-components-container",
|
|
@@ -5425,11 +5429,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
5425
5429
|
container: "footer",
|
|
5426
5430
|
needRenderWrapper: !1
|
|
5427
5431
|
}, null, 8, ["survey"]),
|
|
5428
|
-
g.value ? (r(), l("div",
|
|
5432
|
+
g.value ? (r(), l("div", dn, [
|
|
5429
5433
|
m("div", {
|
|
5430
|
-
innerHTML:
|
|
5434
|
+
innerHTML: V(),
|
|
5431
5435
|
class: a(t.value.completedCss)
|
|
5432
|
-
}, null, 10,
|
|
5436
|
+
}, null, 10, vn),
|
|
5433
5437
|
y(v, {
|
|
5434
5438
|
is: "sv-components-container",
|
|
5435
5439
|
survey: t.value,
|
|
@@ -5441,12 +5445,12 @@ const ie = /* @__PURE__ */ h({
|
|
|
5441
5445
|
key: 3,
|
|
5442
5446
|
class: a(t.value.completedBeforeCss),
|
|
5443
5447
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5444
|
-
}, null, 10,
|
|
5448
|
+
}, null, 10, cn)) : c("", !0),
|
|
5445
5449
|
t.value.state === "loading" ? (r(), l("div", {
|
|
5446
5450
|
key: 4,
|
|
5447
5451
|
class: a(t.value.loadingBodyCss),
|
|
5448
5452
|
innerHTML: t.value.processedLoadingHtml
|
|
5449
|
-
}, null, 10,
|
|
5453
|
+
}, null, 10, pn)) : c("", !0),
|
|
5450
5454
|
t.value.state === "empty" ? (r(), l("div", {
|
|
5451
5455
|
key: 5,
|
|
5452
5456
|
class: a(p.value.bodyEmpty)
|
|
@@ -5458,16 +5462,16 @@ const ie = /* @__PURE__ */ h({
|
|
|
5458
5462
|
model: t.value.notifier
|
|
5459
5463
|
}, null, 8, ["model"])
|
|
5460
5464
|
], 2)
|
|
5461
|
-
], 14,
|
|
5465
|
+
], 14, nn));
|
|
5462
5466
|
}
|
|
5463
|
-
}),
|
|
5467
|
+
}), mn = /* @__PURE__ */ h({
|
|
5464
5468
|
__name: "Notifier",
|
|
5465
5469
|
props: {
|
|
5466
5470
|
model: {}
|
|
5467
5471
|
},
|
|
5468
5472
|
setup(u) {
|
|
5469
5473
|
const o = u;
|
|
5470
|
-
return
|
|
5474
|
+
return B(() => o.model), (e, s) => e.model.isDisplayed ? (r(), l("div", {
|
|
5471
5475
|
key: 0,
|
|
5472
5476
|
class: a(e.model.css),
|
|
5473
5477
|
style: M({ visibility: e.model.active ? "visible" : "hidden" }),
|
|
@@ -5481,7 +5485,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5481
5485
|
}, null, 8, ["model"])
|
|
5482
5486
|
], 6)) : c("", !0);
|
|
5483
5487
|
}
|
|
5484
|
-
}),
|
|
5488
|
+
}), gn = { key: 0 }, Cn = /* @__PURE__ */ h({
|
|
5485
5489
|
__name: "QuestionOther",
|
|
5486
5490
|
props: {
|
|
5487
5491
|
question: {}
|
|
@@ -5490,21 +5494,21 @@ const ie = /* @__PURE__ */ h({
|
|
|
5490
5494
|
return (o, e) => (r(), l("div", {
|
|
5491
5495
|
class: a(o.question.getCommentAreaCss(!0))
|
|
5492
5496
|
}, [
|
|
5493
|
-
o.question.isReadOnlyRenderDiv() ? (r(), l("div",
|
|
5497
|
+
o.question.isReadOnlyRenderDiv() ? (r(), l("div", gn, H(o.question.otherValue), 1)) : (r(), C(v, {
|
|
5494
5498
|
key: 1,
|
|
5495
5499
|
is: "sv-text-area",
|
|
5496
5500
|
model: o.question.otherTextAreaModel
|
|
5497
5501
|
}, null, 8, ["model"]))
|
|
5498
5502
|
], 2));
|
|
5499
5503
|
}
|
|
5500
|
-
}),
|
|
5504
|
+
}), yn = ["disabled", "value", "title"], hn = /* @__PURE__ */ h({
|
|
5501
5505
|
__name: "SurveyNavigationButton",
|
|
5502
5506
|
props: {
|
|
5503
5507
|
item: {}
|
|
5504
5508
|
},
|
|
5505
5509
|
setup(u) {
|
|
5506
5510
|
const o = u, e = () => o.item.data && o.item.data.mouseDown();
|
|
5507
|
-
return
|
|
5511
|
+
return B(() => o.item), (s, n) => s.item.visible ? (r(), l("input", {
|
|
5508
5512
|
key: 0,
|
|
5509
5513
|
type: "button",
|
|
5510
5514
|
disabled: s.item.disabled,
|
|
@@ -5513,7 +5517,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5513
5517
|
title: s.item.getTooltip(),
|
|
5514
5518
|
onMousedown: e,
|
|
5515
5519
|
onClick: n[0] || (n[0] = (...t) => s.item.action && s.item.action(...t))
|
|
5516
|
-
}, null, 42,
|
|
5520
|
+
}, null, 42, yn)) : c("", !0);
|
|
5517
5521
|
}
|
|
5518
5522
|
}), be = /* @__PURE__ */ h({
|
|
5519
5523
|
__name: "PopupSurvey",
|
|
@@ -5538,7 +5542,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5538
5542
|
let p = e.value.cssHeaderRoot;
|
|
5539
5543
|
return e.value.isCollapsed && (p += " " + e.value.cssRootCollapsedMod), p;
|
|
5540
5544
|
};
|
|
5541
|
-
|
|
5545
|
+
B(() => e.value);
|
|
5542
5546
|
const g = F(
|
|
5543
5547
|
() => o.survey,
|
|
5544
5548
|
(p) => {
|
|
@@ -5629,7 +5633,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5629
5633
|
], 2)
|
|
5630
5634
|
], 38)) : c("", !0);
|
|
5631
5635
|
}
|
|
5632
|
-
}),
|
|
5636
|
+
}), qn = ["innerHTML"], wn = /* @__PURE__ */ h({
|
|
5633
5637
|
__name: "CustomWidget",
|
|
5634
5638
|
props: {
|
|
5635
5639
|
question: {},
|
|
@@ -5652,7 +5656,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5652
5656
|
n.value ? (r(), l("div", {
|
|
5653
5657
|
key: 0,
|
|
5654
5658
|
innerHTML: t.value
|
|
5655
|
-
}, null, 8,
|
|
5659
|
+
}, null, 8, qn)) : c("", !0),
|
|
5656
5660
|
s.value ? (r(), C(v, {
|
|
5657
5661
|
key: 1,
|
|
5658
5662
|
is: i.value,
|
|
@@ -5661,12 +5665,12 @@ const ie = /* @__PURE__ */ h({
|
|
|
5661
5665
|
}, null, 8, ["is", "question", "css"])) : c("", !0)
|
|
5662
5666
|
], 512));
|
|
5663
5667
|
}
|
|
5664
|
-
}),
|
|
5668
|
+
}), kn = /* @__PURE__ */ h({
|
|
5665
5669
|
__name: "PopupModal",
|
|
5666
5670
|
setup(u) {
|
|
5667
5671
|
const o = W();
|
|
5668
5672
|
function e(n, t, i, d, g, p, q = "popup") {
|
|
5669
|
-
const
|
|
5673
|
+
const V = Je(
|
|
5670
5674
|
n,
|
|
5671
5675
|
t,
|
|
5672
5676
|
i,
|
|
@@ -5677,7 +5681,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5677
5681
|
p,
|
|
5678
5682
|
q
|
|
5679
5683
|
);
|
|
5680
|
-
return s(
|
|
5684
|
+
return s(V);
|
|
5681
5685
|
}
|
|
5682
5686
|
function s(n, t) {
|
|
5683
5687
|
const i = Xe(
|
|
@@ -5702,7 +5706,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5702
5706
|
}, null, 8, ["model"])
|
|
5703
5707
|
], 8, ["to"])) : c("", !0);
|
|
5704
5708
|
}
|
|
5705
|
-
}),
|
|
5709
|
+
}), fn = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], Ln = /* @__PURE__ */ h({
|
|
5706
5710
|
__name: "TextArea",
|
|
5707
5711
|
props: {
|
|
5708
5712
|
model: {}
|
|
@@ -5751,9 +5755,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5751
5755
|
"aria-invalid": n.model.ariaInvalid,
|
|
5752
5756
|
"aria-errormessage": n.model.ariaErrormessage,
|
|
5753
5757
|
style: M({ resize: n.model.question.resizeStyle })
|
|
5754
|
-
}, null, 46,
|
|
5758
|
+
}, null, 46, fn));
|
|
5755
5759
|
}
|
|
5756
|
-
}),
|
|
5760
|
+
}), bn = /* @__PURE__ */ h({
|
|
5757
5761
|
__name: "CharacterCounter",
|
|
5758
5762
|
props: {
|
|
5759
5763
|
counter: {},
|
|
@@ -5761,11 +5765,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
5761
5765
|
},
|
|
5762
5766
|
setup(u) {
|
|
5763
5767
|
const o = u;
|
|
5764
|
-
return
|
|
5768
|
+
return B(() => o.counter), (e, s) => (r(), l("div", {
|
|
5765
5769
|
class: a(e.remainingCharacterCounter)
|
|
5766
5770
|
}, H(e.counter.remainingCharacterCounter), 3));
|
|
5767
5771
|
}
|
|
5768
|
-
}),
|
|
5772
|
+
}), Mn = /* @__PURE__ */ h({
|
|
5769
5773
|
inheritAttrs: !1,
|
|
5770
5774
|
__name: "Composite",
|
|
5771
5775
|
props: {
|
|
@@ -5784,7 +5788,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5784
5788
|
css: n.css
|
|
5785
5789
|
}, null, 8, ["element", "css"]));
|
|
5786
5790
|
}
|
|
5787
|
-
}),
|
|
5791
|
+
}), Hn = /* @__PURE__ */ h({
|
|
5788
5792
|
inheritAttrs: !1,
|
|
5789
5793
|
__name: "Custom",
|
|
5790
5794
|
props: {
|
|
@@ -5802,9 +5806,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
5802
5806
|
css: t.css
|
|
5803
5807
|
}, null, 8, ["is", "question", "css"]));
|
|
5804
5808
|
}
|
|
5805
|
-
}),
|
|
5806
|
-
|
|
5807
|
-
], me = 440,
|
|
5809
|
+
}), In = /* @__PURE__ */ m("use", { "xlink:href": "#icon-timercircle" }, null, -1), Sn = [
|
|
5810
|
+
In
|
|
5811
|
+
], me = 440, Bn = /* @__PURE__ */ h({
|
|
5808
5812
|
__name: "TimerPanel",
|
|
5809
5813
|
props: {
|
|
5810
5814
|
model: {},
|
|
@@ -5812,7 +5816,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5812
5816
|
},
|
|
5813
5817
|
setup(u) {
|
|
5814
5818
|
const o = u, e = L(() => me * o.model.progress), s = L(() => o.model.text);
|
|
5815
|
-
return
|
|
5819
|
+
return B(() => o.model), (n, t) => n.model.isRunning && n.model.showTimerAsClock ? (r(), l("div", {
|
|
5816
5820
|
key: 0,
|
|
5817
5821
|
class: a(n.model.rootCss)
|
|
5818
5822
|
}, [
|
|
@@ -5820,7 +5824,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5820
5824
|
key: 0,
|
|
5821
5825
|
class: a(n.model.getProgressCss()),
|
|
5822
5826
|
style: M({ strokeDasharray: me, strokeDashoffset: e.value })
|
|
5823
|
-
},
|
|
5827
|
+
}, Sn, 6)) : c("", !0),
|
|
5824
5828
|
m("div", {
|
|
5825
5829
|
class: a(n.model.textContainerCss)
|
|
5826
5830
|
}, [
|
|
@@ -5839,7 +5843,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5839
5843
|
[P, n.model.isRunning && !n.model.showTimerAsClock]
|
|
5840
5844
|
]);
|
|
5841
5845
|
}
|
|
5842
|
-
}), Vn = { class: "sd-loading-indicator" },
|
|
5846
|
+
}), Vn = { class: "sd-loading-indicator" }, Tn = /* @__PURE__ */ h({
|
|
5843
5847
|
__name: "LoadingIndicator",
|
|
5844
5848
|
setup(u) {
|
|
5845
5849
|
return (o, e) => (r(), l("div", Vn, [
|
|
@@ -5850,7 +5854,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5850
5854
|
})
|
|
5851
5855
|
]));
|
|
5852
5856
|
}
|
|
5853
|
-
}),
|
|
5857
|
+
}), Rn = { key: 2 }, Zn = /* @__PURE__ */ h({
|
|
5854
5858
|
__name: "Header",
|
|
5855
5859
|
props: {
|
|
5856
5860
|
model: {},
|
|
@@ -5858,7 +5862,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5858
5862
|
},
|
|
5859
5863
|
setup(u) {
|
|
5860
5864
|
const o = u;
|
|
5861
|
-
return
|
|
5865
|
+
return B(() => {
|
|
5862
5866
|
const e = o.model;
|
|
5863
5867
|
return e.survey = o.survey, o.model;
|
|
5864
5868
|
}), (e, s) => e.survey.headerView === "advanced" ? (r(), l("div", {
|
|
@@ -5882,7 +5886,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5882
5886
|
key: t
|
|
5883
5887
|
}, null, 8, ["model"]))), 128))
|
|
5884
5888
|
], 6)),
|
|
5885
|
-
e.survey.isMobile ? (r(), l("div",
|
|
5889
|
+
e.survey.isMobile ? (r(), l("div", Rn, [
|
|
5886
5890
|
y(v, {
|
|
5887
5891
|
is: "sv-header-mobile",
|
|
5888
5892
|
model: e.model
|
|
@@ -5890,10 +5894,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
5890
5894
|
])) : c("", !0)
|
|
5891
5895
|
], 6)) : c("", !0);
|
|
5892
5896
|
}
|
|
5893
|
-
}),
|
|
5897
|
+
}), $n = {
|
|
5894
5898
|
key: 0,
|
|
5895
5899
|
class: "sv-header__logo"
|
|
5896
|
-
},
|
|
5900
|
+
}, Dn = ["src", "width", "height", "alt"], An = /* @__PURE__ */ h({
|
|
5897
5901
|
__name: "HeaderCell",
|
|
5898
5902
|
props: {
|
|
5899
5903
|
model: {}
|
|
@@ -5907,7 +5911,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5907
5911
|
class: "sv-header__cell-content",
|
|
5908
5912
|
style: M(o.model.contentStyle)
|
|
5909
5913
|
}, [
|
|
5910
|
-
o.model.showLogo ? (r(), l("div",
|
|
5914
|
+
o.model.showLogo ? (r(), l("div", $n, [
|
|
5911
5915
|
m("div", {
|
|
5912
5916
|
class: a(o.model.survey.logoClassNames)
|
|
5913
5917
|
}, [
|
|
@@ -5918,7 +5922,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5918
5922
|
height: o.model.survey.renderedLogoHeight,
|
|
5919
5923
|
alt: o.model.survey.locTitle.renderedHtml,
|
|
5920
5924
|
style: M({ objectFit: o.model.survey.logoFit, width: o.model.survey.renderedStyleLogoWidth, height: o.model.survey.renderedStyleLogoHeight })
|
|
5921
|
-
}, null, 14,
|
|
5925
|
+
}, null, 14, Dn)
|
|
5922
5926
|
], 2)
|
|
5923
5927
|
])) : c("", !0),
|
|
5924
5928
|
o.model.showTitle ? (r(), l("div", {
|
|
@@ -5950,17 +5954,17 @@ const ie = /* @__PURE__ */ h({
|
|
|
5950
5954
|
], 4)
|
|
5951
5955
|
], 6));
|
|
5952
5956
|
}
|
|
5953
|
-
}),
|
|
5957
|
+
}), Pn = { class: "sv-header--mobile" }, Nn = {
|
|
5954
5958
|
key: 0,
|
|
5955
5959
|
class: "sv-header__logo"
|
|
5956
|
-
},
|
|
5960
|
+
}, En = ["src", "width", "height", "alt"], Wn = /* @__PURE__ */ h({
|
|
5957
5961
|
__name: "HeaderMobile",
|
|
5958
5962
|
props: {
|
|
5959
5963
|
model: {}
|
|
5960
5964
|
},
|
|
5961
5965
|
setup(u) {
|
|
5962
|
-
return (o, e) => (r(), l("div",
|
|
5963
|
-
o.model.survey.hasLogo ? (r(), l("div",
|
|
5966
|
+
return (o, e) => (r(), l("div", Pn, [
|
|
5967
|
+
o.model.survey.hasLogo ? (r(), l("div", Nn, [
|
|
5964
5968
|
m("div", {
|
|
5965
5969
|
class: a(o.model.survey.logoClassNames)
|
|
5966
5970
|
}, [
|
|
@@ -5971,7 +5975,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
5971
5975
|
height: o.model.survey.renderedLogoHeight,
|
|
5972
5976
|
alt: o.model.survey.locTitle.renderedHtml,
|
|
5973
5977
|
style: M({ objectFit: o.model.survey.logoFit, width: o.model.survey.renderedStyleLogoWidth, height: o.model.survey.renderedStyleLogoHeight })
|
|
5974
|
-
}, null, 14,
|
|
5978
|
+
}, null, 14, En)
|
|
5975
5979
|
], 2)
|
|
5976
5980
|
])) : c("", !0),
|
|
5977
5981
|
o.model.survey.hasTitle ? (r(), l("div", {
|
|
@@ -6002,7 +6006,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6002
6006
|
], 4)) : c("", !0)
|
|
6003
6007
|
]));
|
|
6004
6008
|
}
|
|
6005
|
-
}),
|
|
6009
|
+
}), Fn = /* @__PURE__ */ h({
|
|
6006
6010
|
__name: "Element",
|
|
6007
6011
|
props: {
|
|
6008
6012
|
element: {},
|
|
@@ -6058,7 +6062,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6058
6062
|
}, null, 8, ["is", "element", "css"])) : c("", !0)
|
|
6059
6063
|
], 6));
|
|
6060
6064
|
}
|
|
6061
|
-
}),
|
|
6065
|
+
}), zn = /* @__PURE__ */ h({
|
|
6062
6066
|
__name: "TemplateRenderer",
|
|
6063
6067
|
props: {
|
|
6064
6068
|
componentName: {},
|
|
@@ -6071,7 +6075,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6071
6075
|
is: s.componentName
|
|
6072
6076
|
}, s.componentData), null, 16, ["is"]));
|
|
6073
6077
|
}
|
|
6074
|
-
}),
|
|
6078
|
+
}), On = /* @__PURE__ */ h({
|
|
6075
6079
|
__name: "FileCleanButton",
|
|
6076
6080
|
props: {
|
|
6077
6081
|
question: {},
|
|
@@ -6093,7 +6097,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6093
6097
|
}, null, 8, ["iconName", "title"])) : c("", !0)
|
|
6094
6098
|
], 2));
|
|
6095
6099
|
}
|
|
6096
|
-
}),
|
|
6100
|
+
}), Un = ["id"], Kn = /* @__PURE__ */ h({
|
|
6097
6101
|
__name: "FileVideo",
|
|
6098
6102
|
props: {
|
|
6099
6103
|
question: {}
|
|
@@ -6115,14 +6119,14 @@ const ie = /* @__PURE__ */ h({
|
|
|
6115
6119
|
playsinline: "",
|
|
6116
6120
|
id: o.question.videoId,
|
|
6117
6121
|
class: a(o.question.cssClasses.video)
|
|
6118
|
-
}, null, 10,
|
|
6122
|
+
}, null, 10, Un),
|
|
6119
6123
|
y(v, {
|
|
6120
6124
|
is: "sv-action",
|
|
6121
6125
|
item: o.question.takePictureAction
|
|
6122
6126
|
}, null, 8, ["item"])
|
|
6123
6127
|
], 2));
|
|
6124
6128
|
}
|
|
6125
|
-
}),
|
|
6129
|
+
}), jn = ["for", "aria-label"], Qn = /* @__PURE__ */ h({
|
|
6126
6130
|
__name: "FileChooseButton",
|
|
6127
6131
|
props: {
|
|
6128
6132
|
data: {},
|
|
@@ -6150,11 +6154,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
6150
6154
|
size: "auto"
|
|
6151
6155
|
}, null, 8, ["title", "iconName"])) : c("", !0),
|
|
6152
6156
|
m("span", null, H(e.value.chooseButtonText), 1)
|
|
6153
|
-
], 10,
|
|
6157
|
+
], 10, jn)), [
|
|
6154
6158
|
[k(j)]
|
|
6155
6159
|
]);
|
|
6156
6160
|
}
|
|
6157
|
-
}),
|
|
6161
|
+
}), Gn = /* @__PURE__ */ h({
|
|
6158
6162
|
__name: "FilePreview",
|
|
6159
6163
|
props: {
|
|
6160
6164
|
question: {}
|
|
@@ -6178,7 +6182,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6178
6182
|
}, null, 8, ["item", "question"]))), 128))
|
|
6179
6183
|
], 2)) : c("", !0);
|
|
6180
6184
|
}
|
|
6181
|
-
}),
|
|
6185
|
+
}), Jn = /* @__PURE__ */ h({
|
|
6182
6186
|
__name: "ButtonGroup",
|
|
6183
6187
|
props: {
|
|
6184
6188
|
question: {}
|
|
@@ -6200,7 +6204,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6200
6204
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6201
6205
|
], 2));
|
|
6202
6206
|
}
|
|
6203
|
-
}),
|
|
6207
|
+
}), Xn = ["title"], Yn = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], xn = ["title"], _n = /* @__PURE__ */ h({
|
|
6204
6208
|
__name: "ButtonGroupItem",
|
|
6205
6209
|
props: {
|
|
6206
6210
|
item: {},
|
|
@@ -6235,7 +6239,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6235
6239
|
class: a(e.value.css.control),
|
|
6236
6240
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => s.value = i),
|
|
6237
6241
|
value: e.value.value
|
|
6238
|
-
}, null, 10,
|
|
6242
|
+
}, null, 10, Yn), [
|
|
6239
6243
|
[Y, s.value]
|
|
6240
6244
|
]),
|
|
6241
6245
|
m("div", {
|
|
@@ -6257,11 +6261,11 @@ const ie = /* @__PURE__ */ h({
|
|
|
6257
6261
|
is: "survey-string",
|
|
6258
6262
|
locString: e.value.caption
|
|
6259
6263
|
}, null, 8, ["locString"])
|
|
6260
|
-
], 10,
|
|
6264
|
+
], 10, xn)) : c("", !0)
|
|
6261
6265
|
], 2)
|
|
6262
|
-
], 10,
|
|
6266
|
+
], 10, Xn));
|
|
6263
6267
|
}
|
|
6264
|
-
}),
|
|
6268
|
+
}), er = ["src", "width", "height", "alt"], sr = /* @__PURE__ */ h({
|
|
6265
6269
|
inheritAttrs: !1,
|
|
6266
6270
|
__name: "Logo",
|
|
6267
6271
|
props: {
|
|
@@ -6283,10 +6287,10 @@ const ie = /* @__PURE__ */ h({
|
|
|
6283
6287
|
width: e.value.renderedStyleLogoWidth,
|
|
6284
6288
|
height: e.value.renderedStyleLogoHeight
|
|
6285
6289
|
})
|
|
6286
|
-
}, null, 14,
|
|
6290
|
+
}, null, 14, er)
|
|
6287
6291
|
], 2));
|
|
6288
6292
|
}
|
|
6289
|
-
}),
|
|
6293
|
+
}), or = /* @__PURE__ */ h({
|
|
6290
6294
|
__name: "SvgBundle",
|
|
6291
6295
|
setup(u) {
|
|
6292
6296
|
const o = b(), e = () => {
|
|
@@ -6304,7 +6308,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6304
6308
|
[P, !1]
|
|
6305
6309
|
]);
|
|
6306
6310
|
}
|
|
6307
|
-
}),
|
|
6311
|
+
}), tr = ["id"], nr = /* @__PURE__ */ h({
|
|
6308
6312
|
__name: "FilePage",
|
|
6309
6313
|
props: {
|
|
6310
6314
|
page: {},
|
|
@@ -6312,7 +6316,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6312
6316
|
},
|
|
6313
6317
|
setup(u) {
|
|
6314
6318
|
const o = u;
|
|
6315
|
-
return
|
|
6319
|
+
return B(() => o.page), (e, s) => (r(), l("div", {
|
|
6316
6320
|
class: a(e.page.css),
|
|
6317
6321
|
id: e.page.id
|
|
6318
6322
|
}, [
|
|
@@ -6322,9 +6326,9 @@ const ie = /* @__PURE__ */ h({
|
|
|
6322
6326
|
item: n,
|
|
6323
6327
|
question: e.question
|
|
6324
6328
|
}, null, 8, ["item", "question"]))), 128))
|
|
6325
|
-
], 10,
|
|
6329
|
+
], 10, tr));
|
|
6326
6330
|
}
|
|
6327
|
-
}),
|
|
6331
|
+
}), rr = ["href", "title", "download"], ir = ["src"], ar = ["href", "title", "download"], lr = /* @__PURE__ */ h({
|
|
6328
6332
|
__name: "FileItem",
|
|
6329
6333
|
props: {
|
|
6330
6334
|
item: {},
|
|
@@ -6345,7 +6349,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6345
6349
|
title: o.item.name,
|
|
6346
6350
|
download: o.item.name,
|
|
6347
6351
|
style: M({ width: o.question.imageWidth })
|
|
6348
|
-
}, H(o.item.name), 13,
|
|
6352
|
+
}, H(o.item.name), 13, rr)
|
|
6349
6353
|
], 2)) : c("", !0),
|
|
6350
6354
|
m("div", {
|
|
6351
6355
|
class: a(o.question.getImageWrapperCss(o.item))
|
|
@@ -6358,7 +6362,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6358
6362
|
width: o.question.imageWidth
|
|
6359
6363
|
}),
|
|
6360
6364
|
alt: "File preview"
|
|
6361
|
-
}, null, 12,
|
|
6365
|
+
}, null, 12, ir)) : c("", !0),
|
|
6362
6366
|
o.question.defaultImage(o.item) ? (r(), C(v, {
|
|
6363
6367
|
key: 1,
|
|
6364
6368
|
is: "sv-svg-icon",
|
|
@@ -6394,7 +6398,7 @@ const ie = /* @__PURE__ */ h({
|
|
|
6394
6398
|
title: o.item.name,
|
|
6395
6399
|
download: o.item.name,
|
|
6396
6400
|
style: M({ width: o.question.imageWidth })
|
|
6397
|
-
}, H(o.item.name), 13,
|
|
6401
|
+
}, H(o.item.name), 13, ar)
|
|
6398
6402
|
], 2)) : c("", !0)
|
|
6399
6403
|
], 2)), [
|
|
6400
6404
|
[P, o.item]
|
|
@@ -6402,20 +6406,20 @@ const ie = /* @__PURE__ */ h({
|
|
|
6402
6406
|
}
|
|
6403
6407
|
});
|
|
6404
6408
|
xe.platform = "vue3";
|
|
6405
|
-
function
|
|
6409
|
+
function ur(u, o, e) {
|
|
6406
6410
|
u(o, e);
|
|
6407
6411
|
}
|
|
6408
6412
|
function Me(u) {
|
|
6409
|
-
const o =
|
|
6413
|
+
const o = ur.bind(
|
|
6410
6414
|
void 0,
|
|
6411
6415
|
u
|
|
6412
6416
|
);
|
|
6413
|
-
o("sv-svg-bundle",
|
|
6417
|
+
o("sv-svg-bundle", or), o("popup-survey", be), o("survey-header", ts), o("sv-logo-image", sr), o("survey-page", os), o("survey-row", ns), o("survey-question", ls), o("survey-panel", cs), o("survey-element-header", ms), o("survey-string", gs), o("sv-string-viewer", ys), o("sv-string-editor", qs), o("sv-skeleton", ks), o("survey-text", bs), o("survey-text-input", Is), o("survey-checkbox", Rs), o("survey-checkbox-item", Ds), o("survey-radiogroup", As), o("survey-radiogroup-item", Es), o("survey-signaturepad", Os), o("survey-html", Ks), o("survey-image", Js), o("survey-expression", Xs), o("survey-file", e1), o("sv-file-choose-btn", Qn), o("sv-file-clean-btn", On), o("sv-file-preview", Gn), o("sv-file-page", nr), o("sv-file-item", lr), o("sv-file-video", Kn), o("survey-imagepicker", o1), o("survey-imagepicker-item", a1), o("survey-comment", l1), o("survey-dropdown", u1), o("sv-dropdown-select", p1), o("sv-dropdown-option-item", g1), o("sv-dropdown", w1), o("survey-tagbox", k1), o("sv-tagbox", b1), o("sv-tagbox-item", B1), o("sv-tagbox-filter", I1), o("survey-ranking", V1), o("survey-ranking-item", A1), o("sv-ranking-item", P1), o("survey-rating", W1), o("sv-rating-item", O1), o("sv-rating-item-smiley", K1), o("sv-rating-item-star", Q1), o("sv-rating-dropdown", x1), o("sv-rating-dropdown-item", Y1), o("survey-boolean", eo), o("sv-boolean-radio", so), o("sv-boolean-radio-item", no), o("sv-boolean-checkbox", vo), o("survey-multipletext", co), o("survey-multipletext-item", mo), o("survey-matrix", wo), o("survey-matrix-row", fo), o("survey-matrix-cell", Mo), o("survey-matrixdropdown", Ho), o("survey-matrixtable", Bo), o("survey-matrixheaderrequired", To), o("survey-matrixdropdown-cell", Zo), o("survey-matrixdynamic", $o), o("sv-matrix-remove-button", Ao), o("sv-matrix-drag-drop-icon", No), o("sv-matrix-detail-button", Wo), o("survey-paneldynamic", Fo), o("survey-paneldynamicprogress", zo), o("survey-paneldynamicprogress-v2", Oo), o("sv-paneldynamic-add-btn", Ko), o("sv-paneldynamic-next-btn", Qo), o("sv-paneldynamic-prev-btn", Jo), o("sv-paneldynamic-remove-btn", Yo), o("sv-paneldynamic-progress-text", xo), o("sv-components-container", Xt), o("sv-progress-buttons", on), o("sv-navigation-toc", tn), o("sv-progress-pages", J), o("sv-progress-questions", J), o("sv-progress-correctquestions", J), o("sv-progress-requiredquestions", J), o("survey-errors", et), o("survey-question-comment", ot), o("survey-element-title", tt), o("survey-element-title-content", at), o("sv-title-actions", dt), o("sv-brand-info", yt), o("sv-question-error", kt), o("sv-svg-icon", wt), o("sv-action-bar", ft), o("sv-action", Mt), o("sv-action-bar-item", St), o("sv-action-bar-item-dropdown", Tt), o("sv-action-bar-separator", Rt), o("sv-list", At), o("sv-list-item-content", Wt), o("sv-list-item-group", Ft), o("sv-list-item", Et), o("sv-popup", zt), o("sv-popup-container", Gt), o("popup-pointer", Jt), o("sv-notifier", mn), o("survey-other-choice", Cn), o("sv-nav-btn", hn), o("survey-customwidget", wn), o("survey-popup-modal", kn), o("survey-composite", Mn), o("survey-custom", Hn), o("sv-timerpanel", Bn), o("sv-loading-indicator", Tn), o("sv-header", Zn), o("sv-header-cell", An), o("sv-header-mobile", Wn), o("sv-template-renderer", zn), o("sv-character-counter", bn), o("sv-text-area", Ln), o("survey-element", Fn), o("survey-buttongroup", Jn), o("sv-button-group-item", _n), o("survey", ie);
|
|
6414
6418
|
}
|
|
6415
6419
|
Me(
|
|
6416
6420
|
(u, o) => O.Instance.registerComponent(u, o)
|
|
6417
6421
|
);
|
|
6418
|
-
const
|
|
6422
|
+
const pr = {
|
|
6419
6423
|
install(u) {
|
|
6420
6424
|
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent", be), u.directive("key2click", j), Me((o, e) => {
|
|
6421
6425
|
u.component(o, e), O.Instance.registerComponent(o, o);
|
|
@@ -6428,8 +6432,8 @@ export {
|
|
|
6428
6432
|
ie as SurveyComponent,
|
|
6429
6433
|
v as SvComponent,
|
|
6430
6434
|
j as key2ClickDirective,
|
|
6431
|
-
|
|
6432
|
-
|
|
6435
|
+
pr as surveyPlugin,
|
|
6436
|
+
B as useBase,
|
|
6433
6437
|
ee as useComputedArray,
|
|
6434
6438
|
K as useLocString,
|
|
6435
6439
|
R as useQuestion
|