survey-vue3-ui 2.3.9 → 2.3.10
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 +531 -500
- package/survey-vue3-ui.umd.js +5 -5
- package/types/components/slider/slider.d.ts +2 -2
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ie = Object.defineProperty;
|
|
2
2
|
var Ve = (u, e, n) => e in u ? Ie(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
3
|
var K = (u, e, n) => (Ve(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as y, computed as f, openBlock as i, createBlock as
|
|
4
|
+
import { defineComponent as y, computed as f, openBlock as i, createBlock as C, resolveDynamicComponent as ye, normalizeProps as ae, guardReactiveProps as ue, createSlots as Se, renderList as V, withCtx as D, renderSlot as X, watch as N, onBeforeUpdate as Re, onUpdated as E, onBeforeMount as Te, onMounted as T, onBeforeUnmount as z, ref as k, unref as w, isRef as de, customRef as Be, nextTick as he, createElementBlock as a, normalizeClass as l, createVNode as c, createCommentVNode as p, Fragment as M, mergeProps as $, normalizeStyle as L, createElementVNode as v, onUnmounted as P, withDirectives as B, vShow as A, toDisplayString as H, vModelCheckbox as se, vModelRadio as qe, vModelSelect as Ze, vModelText as $e, shallowRef as _, createStaticVNode as De, toRaw as Ae, triggerRef as Pe, Teleport as Ne, useSlots as Ee } from "vue";
|
|
5
5
|
import { ScrollViewModel as We, RendererFactory as U, Helpers as Fe, DropdownMultiSelectListModel as Oe, doKey2ClickUp as we, createSvg as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Qe, ActionDropdownViewModel as Ke, createPopupViewModel as je, SurveyProgressModel as me, ProgressButtonsResponsivityManager as Ge, addIconsToThemeSet as be, SvgRegistry as J, PopupSurveyModel as Je, settings as ee, createPopupModalViewModel as Xe, ButtonGroupItemModel as Ye, SurveyModel as _e } from "survey-core";
|
|
6
6
|
const Y = class Y {
|
|
7
7
|
constructor() {
|
|
@@ -35,7 +35,7 @@ const d = /* @__PURE__ */ y({
|
|
|
35
35
|
const e = u, n = f(
|
|
36
36
|
() => W.Instance.getComponent(e.is)
|
|
37
37
|
);
|
|
38
|
-
return (s, t) => (i(),
|
|
38
|
+
return (s, t) => (i(), C(ye(n.value), ae(ue(s.$attrs)), Se({ _: 2 }, [
|
|
39
39
|
V(s.$slots, (o, r) => ({
|
|
40
40
|
name: r,
|
|
41
41
|
fn: D((m) => [
|
|
@@ -208,7 +208,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
208
208
|
is: "survey-errors",
|
|
209
209
|
element: o.page
|
|
210
210
|
}, null, 8, ["element"]),
|
|
211
|
-
(i(!0), a(
|
|
211
|
+
(i(!0), a(M, null, V(o.page.visibleRows, (m) => (i(), C(d, $({
|
|
212
212
|
key: m.id,
|
|
213
213
|
is: o.page.getSurvey().getRowWrapperComponentName(m)
|
|
214
214
|
}, {
|
|
@@ -242,7 +242,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
242
242
|
ref_key: "root",
|
|
243
243
|
ref: n
|
|
244
244
|
}, [
|
|
245
|
-
s.survey.isLogoBefore ? (i(),
|
|
245
|
+
s.survey.isLogoBefore ? (i(), C(d, {
|
|
246
246
|
key: 0,
|
|
247
247
|
is: s.survey.getElementWrapperComponentName(s.survey, "logo-image"),
|
|
248
248
|
data: s.survey.getElementWrapperComponentData(s.survey, "logo-image")
|
|
@@ -267,7 +267,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
267
267
|
}, null, 8, ["locString"])
|
|
268
268
|
], 2)) : p("", !0)
|
|
269
269
|
], 6)) : p("", !0),
|
|
270
|
-
s.survey.isLogoAfter ? (i(),
|
|
270
|
+
s.survey.isLogoAfter ? (i(), C(d, {
|
|
271
271
|
key: 2,
|
|
272
272
|
is: s.survey.getElementWrapperComponentName(s.survey, "logo-image"),
|
|
273
273
|
data: s.survey.getElementWrapperComponentData(s.survey, "logo-image")
|
|
@@ -307,7 +307,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
307
307
|
ref_key: "root",
|
|
308
308
|
ref: n
|
|
309
309
|
}, [
|
|
310
|
-
(i(!0), a(
|
|
310
|
+
(i(!0), a(M, null, V(t.row.visibleElements, (r) => (i(), C(d, {
|
|
311
311
|
is: "survey-element",
|
|
312
312
|
row: t.row,
|
|
313
313
|
css: t.css,
|
|
@@ -316,7 +316,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
316
316
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
317
317
|
], 2));
|
|
318
318
|
}
|
|
319
|
-
}), is = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], rs = ["aria-hidden"], ls = ["id"], as = {
|
|
319
|
+
}), is = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], rs = ["aria-hidden", "data-sv-drop-target-matrix", "data-sv-drop-target-matrix-row"], ls = ["id"], as = {
|
|
320
320
|
inheritAttrs: !1
|
|
321
321
|
}, us = /* @__PURE__ */ y({
|
|
322
322
|
...as,
|
|
@@ -336,7 +336,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
336
336
|
() => {
|
|
337
337
|
r();
|
|
338
338
|
}
|
|
339
|
-
),
|
|
339
|
+
), g = f(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()), S = f(() => e.element.survey.getQuestionContentWrapperComponentName(e.element)), h = f(() => ({
|
|
340
340
|
componentData: {
|
|
341
341
|
question: e.element,
|
|
342
342
|
data: e.element.survey.getElementWrapperComponentData(e.element)
|
|
@@ -360,36 +360,36 @@ const ns = /* @__PURE__ */ y({
|
|
|
360
360
|
"aria-expanded": q.element.ariaExpanded,
|
|
361
361
|
"data-name": q.element.name
|
|
362
362
|
}, [
|
|
363
|
-
q.element.singleInputHasActions ? (i(),
|
|
363
|
+
q.element.singleInputHasActions ? (i(), C(d, {
|
|
364
364
|
key: 0,
|
|
365
365
|
is: "sv-breadcrumbs",
|
|
366
366
|
model: q.element.singleInputActions,
|
|
367
367
|
css: q.element.cssClasses
|
|
368
368
|
}, null, 8, ["model", "css"])) : p("", !0),
|
|
369
|
-
q.element.showErrorsAboveQuestion ? (i(),
|
|
369
|
+
q.element.showErrorsAboveQuestion ? (i(), C(d, {
|
|
370
370
|
key: 1,
|
|
371
371
|
is: "survey-errors",
|
|
372
372
|
element: q.element,
|
|
373
373
|
location: "top"
|
|
374
374
|
}, null, 8, ["element"])) : p("", !0),
|
|
375
|
-
!q.element.singleInputHideHeader && q.element.hasTitleOnLeftTop ? (i(),
|
|
375
|
+
!q.element.singleInputHideHeader && q.element.hasTitleOnLeftTop ? (i(), C(d, {
|
|
376
376
|
key: 2,
|
|
377
377
|
is: "survey-element-header",
|
|
378
378
|
element: q.element,
|
|
379
379
|
css: q.element.cssClasses
|
|
380
380
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
381
|
-
q.element.singleInputSummary ? (i(),
|
|
381
|
+
q.element.singleInputSummary ? (i(), C(d, {
|
|
382
382
|
key: 3,
|
|
383
383
|
is: "sv-single-input-summary",
|
|
384
384
|
css: q.element.cssClasses,
|
|
385
385
|
summary: q.element.singleInputSummary
|
|
386
|
-
}, null, 8, ["css", "summary"])) : o.value ? (i(),
|
|
386
|
+
}, null, 8, ["css", "summary"])) : o.value ? (i(), C(d, {
|
|
387
387
|
is: "survey-question",
|
|
388
388
|
css: q.css,
|
|
389
389
|
element: o.value,
|
|
390
390
|
survey: q.survey,
|
|
391
391
|
key: o.value.id
|
|
392
|
-
}, null, 8, ["css", "element", "survey"])) : (i(),
|
|
392
|
+
}, null, 8, ["css", "element", "survey"])) : (i(), C(d, $({
|
|
393
393
|
key: 5,
|
|
394
394
|
is: S.value
|
|
395
395
|
}, h.value), {
|
|
@@ -398,10 +398,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
398
398
|
class: l(s(q.element) || void 0),
|
|
399
399
|
"aria-hidden": q.element.contentAriaHidden,
|
|
400
400
|
style: L({ display: q.element.renderedIsExpanded ? void 0 : "none" }),
|
|
401
|
-
role: "presentation"
|
|
401
|
+
role: "presentation",
|
|
402
|
+
"data-sv-drop-target-matrix": q.element.dragDropMatrixAttribute,
|
|
403
|
+
"data-sv-drop-target-matrix-row": q.element.dragDropMatrixAttribute
|
|
402
404
|
}, [
|
|
403
405
|
c(d, {
|
|
404
|
-
is:
|
|
406
|
+
is: g.value,
|
|
405
407
|
question: q.element
|
|
406
408
|
}, null, 8, ["is", "question"]),
|
|
407
409
|
q.element.hasComment ? (i(), a("div", {
|
|
@@ -433,13 +435,13 @@ const ns = /* @__PURE__ */ y({
|
|
|
433
435
|
]),
|
|
434
436
|
_: 1
|
|
435
437
|
}, 16, ["is"])),
|
|
436
|
-
q.element.hasTitleOnBottom ? (i(),
|
|
438
|
+
q.element.hasTitleOnBottom ? (i(), C(d, {
|
|
437
439
|
key: 6,
|
|
438
440
|
is: "survey-element-header",
|
|
439
441
|
element: q.element,
|
|
440
442
|
css: q.css
|
|
441
443
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
442
|
-
q.element.showErrorsBelowQuestion ? (i(),
|
|
444
|
+
q.element.showErrorsBelowQuestion ? (i(), C(d, {
|
|
443
445
|
key: 7,
|
|
444
446
|
is: "survey-errors",
|
|
445
447
|
element: q.element,
|
|
@@ -470,18 +472,18 @@ const ns = /* @__PURE__ */ y({
|
|
|
470
472
|
ref_key: "root",
|
|
471
473
|
ref: n
|
|
472
474
|
}, [
|
|
473
|
-
t.element.showErrorsAbovePanel ? (i(),
|
|
475
|
+
t.element.showErrorsAbovePanel ? (i(), C(d, {
|
|
474
476
|
key: 0,
|
|
475
477
|
is: "survey-errors",
|
|
476
478
|
element: t.element
|
|
477
479
|
}, null, 8, ["element"])) : p("", !0),
|
|
478
|
-
t.element.hasTitle || t.element.hasDescription ? (i(),
|
|
480
|
+
t.element.hasTitle || t.element.hasDescription ? (i(), C(d, {
|
|
479
481
|
key: 1,
|
|
480
482
|
is: "survey-element-header",
|
|
481
483
|
element: t.element,
|
|
482
484
|
css: t.css
|
|
483
485
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
484
|
-
t.element.showErrorsAbovePanel ? p("", !0) : (i(),
|
|
486
|
+
t.element.showErrorsAbovePanel ? p("", !0) : (i(), C(d, {
|
|
485
487
|
key: 2,
|
|
486
488
|
is: "survey-errors",
|
|
487
489
|
element: t.element
|
|
@@ -495,7 +497,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
495
497
|
"aria-labelledby": t.element.ariaLabelledBy,
|
|
496
498
|
"aria-label": t.element.ariaLabel
|
|
497
499
|
}, [
|
|
498
|
-
(i(!0), a(
|
|
500
|
+
(i(!0), a(M, null, V(t.element.visibleRows, (r) => (i(), C(d, $({
|
|
499
501
|
key: r.id,
|
|
500
502
|
is: t.element.getSurvey().getRowWrapperComponentName(r)
|
|
501
503
|
}, {
|
|
@@ -553,7 +555,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
553
555
|
], 10, Cs)), [
|
|
554
556
|
[A, t.element.hasDescription]
|
|
555
557
|
]) : p("", !0),
|
|
556
|
-
t.element.hasAdditionalTitleToolbar ? (i(),
|
|
558
|
+
t.element.hasAdditionalTitleToolbar ? (i(), C(d, {
|
|
557
559
|
key: 1,
|
|
558
560
|
is: "sv-action-bar",
|
|
559
561
|
model: t.element.additionalTitleToolbar
|
|
@@ -566,7 +568,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
566
568
|
locString: {}
|
|
567
569
|
},
|
|
568
570
|
setup(u) {
|
|
569
|
-
return (e, n) => (i(),
|
|
571
|
+
return (e, n) => (i(), C(d, {
|
|
570
572
|
is: e.locString.renderAs,
|
|
571
573
|
locString: e.locString.renderAsData
|
|
572
574
|
}, null, 8, ["is", "locString"]));
|
|
@@ -585,7 +587,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
585
587
|
}, null, 10, ys)) : (i(), a("span", {
|
|
586
588
|
key: 1,
|
|
587
589
|
class: l(w(s))
|
|
588
|
-
},
|
|
590
|
+
}, H(w(n)), 3));
|
|
589
591
|
}
|
|
590
592
|
}), qs = ["innerHTML"], ws = /* @__PURE__ */ y({
|
|
591
593
|
__name: "StringEditor",
|
|
@@ -612,7 +614,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
612
614
|
contenteditable: "true",
|
|
613
615
|
onBlur: n,
|
|
614
616
|
onClick: s
|
|
615
|
-
},
|
|
617
|
+
}, H(t.locString.renderedHtml), 33));
|
|
616
618
|
}
|
|
617
619
|
}), bs = ["id"], Ls = /* @__PURE__ */ y({
|
|
618
620
|
__name: "Skeleton",
|
|
@@ -627,9 +629,9 @@ const ns = /* @__PURE__ */ y({
|
|
|
627
629
|
style: L({ height: n.element.skeletonHeight })
|
|
628
630
|
}, null, 12, bs));
|
|
629
631
|
}
|
|
630
|
-
}), ks = { class: "sv-scroll__container" }, fs = /* @__PURE__ */ v("div", { class: "sv-scroll__scrollbar-sizer" }, null, -1),
|
|
632
|
+
}), ks = { class: "sv-scroll__container" }, fs = /* @__PURE__ */ v("div", { class: "sv-scroll__scrollbar-sizer" }, null, -1), Ms = [
|
|
631
633
|
fs
|
|
632
|
-
],
|
|
634
|
+
], Hs = /* @__PURE__ */ y({
|
|
633
635
|
__name: "Scroll",
|
|
634
636
|
props: {
|
|
635
637
|
disabled: {},
|
|
@@ -662,7 +664,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
662
664
|
v("div", {
|
|
663
665
|
class: "sv-scroll__scrollbar",
|
|
664
666
|
onScroll: o[1] || (o[1] = () => w(n).onScrollScrollbar())
|
|
665
|
-
},
|
|
667
|
+
}, Ms, 32)
|
|
666
668
|
], 512));
|
|
667
669
|
}
|
|
668
670
|
}), Is = ["id"], Vs = ["value"], Ss = /* @__PURE__ */ y({
|
|
@@ -677,7 +679,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
677
679
|
key: 0,
|
|
678
680
|
ref_key: "root",
|
|
679
681
|
ref: n
|
|
680
|
-
},
|
|
682
|
+
}, H(s.question.value), 513)) : s.question.dataListId ? (i(), a("div", {
|
|
681
683
|
key: 1,
|
|
682
684
|
ref_key: "root",
|
|
683
685
|
ref: n
|
|
@@ -689,12 +691,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
689
691
|
v("datalist", {
|
|
690
692
|
id: s.question.dataListId
|
|
691
693
|
}, [
|
|
692
|
-
(i(!0), a(
|
|
694
|
+
(i(!0), a(M, null, V(s.question.dataList, (o, r) => (i(), a("option", {
|
|
693
695
|
key: r,
|
|
694
696
|
value: o
|
|
695
697
|
}, null, 8, Vs))), 128))
|
|
696
698
|
], 8, Is)
|
|
697
|
-
], 512)) : (i(),
|
|
699
|
+
], 512)) : (i(), C(d, {
|
|
698
700
|
key: 2,
|
|
699
701
|
is: "survey-text-input",
|
|
700
702
|
question: s.question,
|
|
@@ -717,7 +719,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
717
719
|
const o = f(() => n.question.inputStyle);
|
|
718
720
|
return (r, m) => r.question.getMaxLength() ? (i(), a("div", {
|
|
719
721
|
key: 1,
|
|
720
|
-
ref: (
|
|
722
|
+
ref: (g) => s(g)
|
|
721
723
|
}, [
|
|
722
724
|
v("input", {
|
|
723
725
|
disabled: r.question.isDisabledAttr,
|
|
@@ -736,21 +738,21 @@ const ns = /* @__PURE__ */ y({
|
|
|
736
738
|
autocomplete: r.question.autocomplete,
|
|
737
739
|
value: r.question.inputValue,
|
|
738
740
|
onChange: m[8] || (m[8] = //@ts-ignore
|
|
739
|
-
(...
|
|
741
|
+
(...g) => r.question.onChange && r.question.onChange(...g)),
|
|
740
742
|
onClick: m[9] || (m[9] = //@ts-ignore
|
|
741
|
-
(...
|
|
743
|
+
(...g) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...g)),
|
|
742
744
|
onPointerdown: m[10] || (m[10] = //@ts-ignore
|
|
743
|
-
(...
|
|
745
|
+
(...g) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...g)),
|
|
744
746
|
onKeyup: m[11] || (m[11] = //@ts-ignore
|
|
745
|
-
(...
|
|
747
|
+
(...g) => r.question.onKeyUp && r.question.onKeyUp(...g)),
|
|
746
748
|
onKeydown: m[12] || (m[12] = //@ts-ignore
|
|
747
|
-
(...
|
|
749
|
+
(...g) => r.question.onKeyDown && r.question.onKeyDown(...g)),
|
|
748
750
|
onCompositionUpdate: m[13] || (m[13] = //@ts-ignore
|
|
749
|
-
(...
|
|
751
|
+
(...g) => r.question.onCompositionUpdate && r.question.onCompositionUpdate(...g)),
|
|
750
752
|
onBlur: m[14] || (m[14] = //@ts-ignore
|
|
751
|
-
(...
|
|
753
|
+
(...g) => r.question.onBlur && r.question.onBlur(...g)),
|
|
752
754
|
onFocus: m[15] || (m[15] = //@ts-ignore
|
|
753
|
-
(...
|
|
755
|
+
(...g) => r.question.onFocus && r.question.onFocus(...g)),
|
|
754
756
|
"aria-required": r.question.a11y_input_ariaRequired,
|
|
755
757
|
"aria-label": r.question.a11y_input_ariaLabel,
|
|
756
758
|
"aria-labelledby": r.question.a11y_input_ariaLabelledBy,
|
|
@@ -765,7 +767,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
765
767
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
766
768
|
], 512)) : (i(), a("input", {
|
|
767
769
|
key: 0,
|
|
768
|
-
ref: (
|
|
770
|
+
ref: (g) => s(g),
|
|
769
771
|
disabled: r.question.isDisabledAttr,
|
|
770
772
|
readonly: r.question.isReadOnlyAttr,
|
|
771
773
|
class: l(r.question.getControlClass()),
|
|
@@ -782,21 +784,21 @@ const ns = /* @__PURE__ */ y({
|
|
|
782
784
|
autocomplete: r.question.autocomplete,
|
|
783
785
|
value: r.question.inputValue,
|
|
784
786
|
onChange: m[0] || (m[0] = //@ts-ignore
|
|
785
|
-
(...
|
|
787
|
+
(...g) => r.question.onChange && r.question.onChange(...g)),
|
|
786
788
|
onClick: m[1] || (m[1] = //@ts-ignore
|
|
787
|
-
(...
|
|
789
|
+
(...g) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...g)),
|
|
788
790
|
onPointerdown: m[2] || (m[2] = //@ts-ignore
|
|
789
|
-
(...
|
|
791
|
+
(...g) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...g)),
|
|
790
792
|
onKeyup: m[3] || (m[3] = //@ts-ignore
|
|
791
|
-
(...
|
|
793
|
+
(...g) => r.question.onKeyUp && r.question.onKeyUp(...g)),
|
|
792
794
|
onKeydown: m[4] || (m[4] = //@ts-ignore
|
|
793
|
-
(...
|
|
795
|
+
(...g) => r.question.onKeyDown && r.question.onKeyDown(...g)),
|
|
794
796
|
onCompositionUpdate: m[5] || (m[5] = //@ts-ignore
|
|
795
|
-
(...
|
|
797
|
+
(...g) => r.question.onCompositionUpdate && r.question.onCompositionUpdate(...g)),
|
|
796
798
|
onBlur: m[6] || (m[6] = //@ts-ignore
|
|
797
|
-
(...
|
|
799
|
+
(...g) => r.question.onBlur && r.question.onBlur(...g)),
|
|
798
800
|
onFocus: m[7] || (m[7] = //@ts-ignore
|
|
799
|
-
(...
|
|
801
|
+
(...g) => r.question.onFocus && r.question.onFocus(...g)),
|
|
800
802
|
"aria-required": r.question.a11y_input_ariaRequired,
|
|
801
803
|
"aria-label": r.question.a11y_input_ariaLabel,
|
|
802
804
|
"aria-labelledby": r.question.a11y_input_ariaLabelledBy,
|
|
@@ -838,12 +840,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
838
840
|
"aria-invalid": o.question.a11y_input_ariaInvalid,
|
|
839
841
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
840
842
|
}, [
|
|
841
|
-
o.showLegend ? (i(), a("legend", $s,
|
|
842
|
-
o.question.hasHeadItems ? (i(!0), a(
|
|
843
|
+
o.showLegend ? (i(), a("legend", $s, H(o.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
844
|
+
o.question.hasHeadItems ? (i(!0), a(M, { key: 1 }, V(o.question.headItems, (m) => (i(), C(d, $({
|
|
843
845
|
key: m.value,
|
|
844
846
|
is: s(m)
|
|
845
847
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
846
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), a(
|
|
848
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), a(M, { key: 2 }, V(o.question.bodyItems, (m) => (i(), C(d, $({
|
|
847
849
|
key: m.value,
|
|
848
850
|
is: s(m)
|
|
849
851
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -851,7 +853,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
851
853
|
key: 3,
|
|
852
854
|
class: l(o.question.cssClasses.rootRow)
|
|
853
855
|
}, [
|
|
854
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), a(
|
|
856
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), a(M, { key: 0 }, V(o.question.dataChoices, (m) => (i(), C(d, $({
|
|
855
857
|
key: m.value,
|
|
856
858
|
is: s(m)
|
|
857
859
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0)
|
|
@@ -860,18 +862,18 @@ const ns = /* @__PURE__ */ y({
|
|
|
860
862
|
key: 4,
|
|
861
863
|
class: l(o.question.cssClasses.rootMultiColumn)
|
|
862
864
|
}, [
|
|
863
|
-
o.question.hasColumns ? (i(!0), a(
|
|
864
|
-
key:
|
|
865
|
+
o.question.hasColumns ? (i(!0), a(M, { key: 0 }, V(o.question.columns, (m, g) => (i(), a("div", {
|
|
866
|
+
key: g,
|
|
865
867
|
class: l(o.question.getColumnClass()),
|
|
866
868
|
role: "presentation"
|
|
867
869
|
}, [
|
|
868
|
-
(i(!0), a(
|
|
870
|
+
(i(!0), a(M, null, V(m, (S) => (i(), C(d, $({
|
|
869
871
|
key: S.value,
|
|
870
872
|
is: s(S)
|
|
871
873
|
}, t(S)), null, 16, ["is"]))), 128))
|
|
872
874
|
], 2))), 128)) : p("", !0)
|
|
873
875
|
], 2)) : p("", !0),
|
|
874
|
-
o.question.hasFootItems ? (i(!0), a(
|
|
876
|
+
o.question.hasFootItems ? (i(!0), a(M, { key: 5 }, V(o.question.footItems, (m) => (i(), C(d, $({
|
|
875
877
|
key: m.value,
|
|
876
878
|
is: s(m)
|
|
877
879
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -880,7 +882,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
880
882
|
type: "button",
|
|
881
883
|
class: l(o.question.cssClasses.clearButton),
|
|
882
884
|
onClick: r[0] || (r[0] = () => {
|
|
883
|
-
o.question.
|
|
885
|
+
o.question.clearValueFromUI();
|
|
884
886
|
}),
|
|
885
887
|
value: o.question.clearButtonCaption
|
|
886
888
|
}, null, 10, As)
|
|
@@ -894,7 +896,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
894
896
|
question: {}
|
|
895
897
|
},
|
|
896
898
|
setup(u) {
|
|
897
|
-
return (e, n) => (i(),
|
|
899
|
+
return (e, n) => (i(), C(Le, {
|
|
898
900
|
question: e.question,
|
|
899
901
|
"show-legend": !0
|
|
900
902
|
}, null, 8, ["question"]));
|
|
@@ -928,7 +930,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
928
930
|
const s = (t) => {
|
|
929
931
|
n.question.clickItemHandler(n.item, t.target.checked);
|
|
930
932
|
};
|
|
931
|
-
return (t, o) => (i(), a(
|
|
933
|
+
return (t, o) => (i(), a(M, null, [
|
|
932
934
|
v("div", {
|
|
933
935
|
role: "presentation",
|
|
934
936
|
class: l(t.question.getItemClass(t.item)),
|
|
@@ -977,8 +979,14 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
977
979
|
], 2))
|
|
978
980
|
], 2)
|
|
979
981
|
], 2),
|
|
980
|
-
t.item.
|
|
982
|
+
t.item.isPanelShowing ? (i(), C(d, {
|
|
981
983
|
key: 0,
|
|
984
|
+
is: "survey-panel",
|
|
985
|
+
element: t.item.panel,
|
|
986
|
+
cssClasses: t.question.cssClasses
|
|
987
|
+
}, null, 8, ["element", "cssClasses"])) : p("", !0),
|
|
988
|
+
t.item.isCommentShowing ? (i(), C(d, {
|
|
989
|
+
key: 1,
|
|
982
990
|
is: "survey-other-choice",
|
|
983
991
|
question: t.question,
|
|
984
992
|
item: t.item
|
|
@@ -992,7 +1000,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
992
1000
|
question: {}
|
|
993
1001
|
},
|
|
994
1002
|
setup(u) {
|
|
995
|
-
return (e, n) => (i(),
|
|
1003
|
+
return (e, n) => (i(), C(Le, { question: e.question }, null, 8, ["question"]));
|
|
996
1004
|
}
|
|
997
1005
|
}), Os = ["name", "value", "id", "aria-errormessage", "checked", "disabled", "readonly", "aria-label"], zs = ["xlink:href"], Us = /* @__PURE__ */ y({
|
|
998
1006
|
inheritAttrs: !1,
|
|
@@ -1011,7 +1019,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1011
1019
|
() => n.item,
|
|
1012
1020
|
() => n.question,
|
|
1013
1021
|
e
|
|
1014
|
-
), (r, m) => (i(), a(
|
|
1022
|
+
), (r, m) => (i(), a(M, null, [
|
|
1015
1023
|
v("div", {
|
|
1016
1024
|
role: "presentation",
|
|
1017
1025
|
class: l(r.question.getItemClass(r.item)),
|
|
@@ -1019,7 +1027,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1019
1027
|
ref: e
|
|
1020
1028
|
}, [
|
|
1021
1029
|
v("label", {
|
|
1022
|
-
onMousedown: m[1] || (m[1] = (
|
|
1030
|
+
onMousedown: m[1] || (m[1] = (g) => r.question.onMouseDown()),
|
|
1023
1031
|
class: l(s(r.item))
|
|
1024
1032
|
}, [
|
|
1025
1033
|
v("input", {
|
|
@@ -1029,7 +1037,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1029
1037
|
id: r.question.getItemId(r.item),
|
|
1030
1038
|
"aria-errormessage": r.question.ariaErrormessage,
|
|
1031
1039
|
checked: r.question.isItemSelected(r.item),
|
|
1032
|
-
onInput: m[0] || (m[0] = (
|
|
1040
|
+
onInput: m[0] || (m[0] = (g) => {
|
|
1033
1041
|
o();
|
|
1034
1042
|
}),
|
|
1035
1043
|
disabled: !r.question.getItemEnabled(r.item),
|
|
@@ -1061,8 +1069,14 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1061
1069
|
], 2))
|
|
1062
1070
|
], 34)
|
|
1063
1071
|
], 2),
|
|
1064
|
-
r.item.
|
|
1072
|
+
r.item.isPanelShowing ? (i(), C(d, {
|
|
1065
1073
|
key: 0,
|
|
1074
|
+
is: "survey-panel",
|
|
1075
|
+
element: r.item.panel,
|
|
1076
|
+
cssClasses: r.question.cssClasses
|
|
1077
|
+
}, null, 8, ["element", "cssClasses"])) : p("", !0),
|
|
1078
|
+
r.item.isCommentShowing ? (i(), C(d, {
|
|
1079
|
+
key: 1,
|
|
1066
1080
|
is: "survey-other-choice",
|
|
1067
1081
|
question: r.question,
|
|
1068
1082
|
item: r.item
|
|
@@ -1121,11 +1135,11 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1121
1135
|
class: l(s.question.cssClasses.clearButton),
|
|
1122
1136
|
title: s.question.clearButtonCaption,
|
|
1123
1137
|
onClick: t[1] || (t[1] = () => {
|
|
1124
|
-
s.question.
|
|
1138
|
+
s.question.clearValueFromUI();
|
|
1125
1139
|
})
|
|
1126
1140
|
}, [
|
|
1127
1141
|
s.question.cssClasses.clearButtonIconId ? p("", !0) : (i(), a("span", js, "✖")),
|
|
1128
|
-
s.question.cssClasses.clearButtonIconId ? (i(),
|
|
1142
|
+
s.question.cssClasses.clearButtonIconId ? (i(), C(d, {
|
|
1129
1143
|
key: 1,
|
|
1130
1144
|
is: "sv-svg-icon",
|
|
1131
1145
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
@@ -1254,7 +1268,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1254
1268
|
ref: n,
|
|
1255
1269
|
"aria-live": "polite",
|
|
1256
1270
|
"aria-label": s.question.formatedValue
|
|
1257
|
-
},
|
|
1271
|
+
}, H(s.question.formatedValue), 11, s1));
|
|
1258
1272
|
}
|
|
1259
1273
|
}), t1 = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], o1 = ["id", "multiple", "placeholder"], i1 = ["id", "multiple", "placeholder"], r1 = /* @__PURE__ */ y({
|
|
1260
1274
|
inheritAttrs: !1,
|
|
@@ -1331,7 +1345,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1331
1345
|
v("div", {
|
|
1332
1346
|
class: l(s.question.cssClasses.wrapper)
|
|
1333
1347
|
}, [
|
|
1334
|
-
s.question.actionsContainerVisible ? (i(),
|
|
1348
|
+
s.question.actionsContainerVisible ? (i(), C(d, {
|
|
1335
1349
|
key: 0,
|
|
1336
1350
|
is: "sv-action-bar",
|
|
1337
1351
|
model: s.question.actionsContainer
|
|
@@ -1344,17 +1358,17 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1344
1358
|
}, [
|
|
1345
1359
|
c(d, { is: "sv-loading-indicator" })
|
|
1346
1360
|
], 2)) : p("", !0),
|
|
1347
|
-
s.question.isPlayingVideo ? (i(),
|
|
1361
|
+
s.question.isPlayingVideo ? (i(), C(d, {
|
|
1348
1362
|
key: 2,
|
|
1349
1363
|
is: "sv-file-video",
|
|
1350
1364
|
question: s.question
|
|
1351
1365
|
}, null, 8, ["question"])) : p("", !0),
|
|
1352
|
-
s.question.allowShowPreview ? (i(),
|
|
1366
|
+
s.question.allowShowPreview ? (i(), C(d, {
|
|
1353
1367
|
key: 3,
|
|
1354
1368
|
is: "sv-file-preview",
|
|
1355
1369
|
question: s.question
|
|
1356
1370
|
}, null, 8, ["question"])) : p("", !0),
|
|
1357
|
-
s.question.fileNavigatorVisible ? (i(),
|
|
1371
|
+
s.question.fileNavigatorVisible ? (i(), C(d, {
|
|
1358
1372
|
key: 4,
|
|
1359
1373
|
is: "sv-action-bar",
|
|
1360
1374
|
model: s.question.fileNavigator
|
|
@@ -1385,17 +1399,17 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1385
1399
|
ref_key: "root",
|
|
1386
1400
|
ref: n
|
|
1387
1401
|
}, [
|
|
1388
|
-
v("legend", l1,
|
|
1389
|
-
o.question.hasColumns ? p("", !0) : (i(!0), a(
|
|
1402
|
+
v("legend", l1, H(o.question.locTitle.renderedHtml), 1),
|
|
1403
|
+
o.question.hasColumns ? p("", !0) : (i(!0), a(M, { key: 0 }, V(o.question.visibleChoices, (m) => (i(), C(d, $({
|
|
1390
1404
|
key: m.value,
|
|
1391
1405
|
is: s(m)
|
|
1392
1406
|
}, t(m)), null, 16, ["is"]))), 128)),
|
|
1393
|
-
o.question.hasColumns ? (i(!0), a(
|
|
1407
|
+
o.question.hasColumns ? (i(!0), a(M, { key: 1 }, V(o.question.columns, (m, g) => (i(), a("div", {
|
|
1394
1408
|
class: l(o.question.getColumnClass()),
|
|
1395
|
-
key:
|
|
1409
|
+
key: g,
|
|
1396
1410
|
role: "presentation"
|
|
1397
1411
|
}, [
|
|
1398
|
-
(i(!0), a(
|
|
1412
|
+
(i(!0), a(M, null, V(m, (S) => (i(), C(d, $({
|
|
1399
1413
|
key: S.value,
|
|
1400
1414
|
is: s(S)
|
|
1401
1415
|
}, t(S)), null, 16, ["is"]))), 128))
|
|
@@ -1471,7 +1485,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1471
1485
|
class: l(o.question.cssClasses.checkedItemDecorator),
|
|
1472
1486
|
"aria-hidden": "true"
|
|
1473
1487
|
}, [
|
|
1474
|
-
o.question.cssClasses.checkedItemSvgIconId ? (i(),
|
|
1488
|
+
o.question.cssClasses.checkedItemSvgIconId ? (i(), C(d, {
|
|
1475
1489
|
key: 0,
|
|
1476
1490
|
is: "sv-svg-icon",
|
|
1477
1491
|
class: l(o.question.cssClasses.checkedItemSvgIcon),
|
|
@@ -1564,7 +1578,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1564
1578
|
counter: t.question.characterCounter,
|
|
1565
1579
|
remainingCharacterCounter: t.question.cssClasses.remainingCharacterCounter
|
|
1566
1580
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
1567
|
-
], 512)) : !t.question.isReadOnlyRenderDiv() && !t.question.getMaxLength() ? (i(),
|
|
1581
|
+
], 512)) : !t.question.isReadOnlyRenderDiv() && !t.question.getMaxLength() ? (i(), C(d, {
|
|
1568
1582
|
key: 1,
|
|
1569
1583
|
is: "sv-text-area",
|
|
1570
1584
|
"get-ref": s,
|
|
@@ -1573,7 +1587,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1573
1587
|
key: 2,
|
|
1574
1588
|
ref_key: "root",
|
|
1575
1589
|
ref: n
|
|
1576
|
-
},
|
|
1590
|
+
}, H(t.question.value), 513));
|
|
1577
1591
|
}
|
|
1578
1592
|
}), c1 = /* @__PURE__ */ y({
|
|
1579
1593
|
inheritAttrs: !1,
|
|
@@ -1594,7 +1608,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1594
1608
|
is: "sv-dropdown",
|
|
1595
1609
|
question: o.question
|
|
1596
1610
|
}, null, 8, ["question"]),
|
|
1597
|
-
t.value ? (i(),
|
|
1611
|
+
t.value ? (i(), C(d, {
|
|
1598
1612
|
key: 0,
|
|
1599
1613
|
is: "survey-other-choice",
|
|
1600
1614
|
question: o.question,
|
|
@@ -1646,10 +1660,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1646
1660
|
disabled: "",
|
|
1647
1661
|
id: r.question.inputId,
|
|
1648
1662
|
class: l(r.question.getControlClass())
|
|
1649
|
-
},
|
|
1663
|
+
}, H(r.question.readOnlyText), 11, h1)) : B((i(), a("select", {
|
|
1650
1664
|
key: 0,
|
|
1651
1665
|
id: r.question.inputId,
|
|
1652
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
1666
|
+
"onUpdate:modelValue": m[0] || (m[0] = (g) => o.value = g),
|
|
1653
1667
|
onClick: s,
|
|
1654
1668
|
onKeyup: t,
|
|
1655
1669
|
autocomplete: r.question.autocomplete,
|
|
@@ -1660,11 +1674,11 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1660
1674
|
"aria-errormessage": r.question.a11y_input_ariaErrormessage,
|
|
1661
1675
|
required: r.question.isRequired
|
|
1662
1676
|
}, [
|
|
1663
|
-
r.question.allowClear ? (i(), a("option", y1,
|
|
1664
|
-
(i(!0), a(
|
|
1677
|
+
r.question.allowClear ? (i(), a("option", y1, H(r.question.placeholder), 1)) : p("", !0),
|
|
1678
|
+
(i(!0), a(M, null, V(r.question.visibleChoices, (g) => (i(), C(d, {
|
|
1665
1679
|
is: "sv-dropdown-option-item",
|
|
1666
|
-
item:
|
|
1667
|
-
key:
|
|
1680
|
+
item: g,
|
|
1681
|
+
key: g.id
|
|
1668
1682
|
}, null, 8, ["item"]))), 128))
|
|
1669
1683
|
], 42, g1)), [
|
|
1670
1684
|
[Ze, o.value]
|
|
@@ -1682,7 +1696,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1682
1696
|
}, null, 8, ["class", "iconName"])
|
|
1683
1697
|
], 2)) : p("", !0)
|
|
1684
1698
|
], 2),
|
|
1685
|
-
r.question.isShowingChoiceComment ? (i(),
|
|
1699
|
+
r.question.isShowingChoiceComment ? (i(), C(d, {
|
|
1686
1700
|
key: 0,
|
|
1687
1701
|
is: "survey-other-choice",
|
|
1688
1702
|
question: r.question,
|
|
@@ -1700,9 +1714,9 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1700
1714
|
return I(() => e.item), (s, t) => (i(), a("option", {
|
|
1701
1715
|
value: s.item.value,
|
|
1702
1716
|
disabled: !s.item.isEnabled
|
|
1703
|
-
},
|
|
1717
|
+
}, H(w(n)), 9, w1));
|
|
1704
1718
|
}
|
|
1705
|
-
}), L1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "required"], k1 = { style: { visibility: "hidden" } }, f1 = ["disabled", "inputmode", "id", "tabindex", "readonly", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"],
|
|
1719
|
+
}), L1 = ["id", "disabled", "tabindex", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-describedby", "aria-controls", "aria-activedescendant", "required"], k1 = { style: { visibility: "hidden" } }, f1 = ["disabled", "inputmode", "id", "tabindex", "readonly", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], M1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], H1 = /* @__PURE__ */ y({
|
|
1706
1720
|
__name: "Dropdown",
|
|
1707
1721
|
props: {
|
|
1708
1722
|
question: {}
|
|
@@ -1721,7 +1735,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1721
1735
|
}
|
|
1722
1736
|
}, m = (b) => {
|
|
1723
1737
|
e.question.onBlur(b), r();
|
|
1724
|
-
},
|
|
1738
|
+
}, g = (b) => {
|
|
1725
1739
|
e.question.onFocus(b);
|
|
1726
1740
|
}, S = (b) => {
|
|
1727
1741
|
s.value.inputStringRendered = b.target.value;
|
|
@@ -1758,12 +1772,12 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1758
1772
|
key: 0,
|
|
1759
1773
|
class: l(b.question.cssClasses.hintPrefix)
|
|
1760
1774
|
}, [
|
|
1761
|
-
v("span", null,
|
|
1775
|
+
v("span", null, H(s.value.hintStringPrefix), 1)
|
|
1762
1776
|
], 2)) : p("", !0),
|
|
1763
1777
|
v("div", {
|
|
1764
1778
|
class: l(b.question.cssClasses.controlValue)
|
|
1765
1779
|
}, [
|
|
1766
|
-
h.value ? (i(),
|
|
1780
|
+
h.value ? (i(), C(d, {
|
|
1767
1781
|
key: 0,
|
|
1768
1782
|
is: "survey-string",
|
|
1769
1783
|
locString: q.value
|
|
@@ -1772,10 +1786,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1772
1786
|
key: 1,
|
|
1773
1787
|
class: l(b.question.cssClasses.hintSuffix)
|
|
1774
1788
|
}, [
|
|
1775
|
-
v("span", k1,
|
|
1776
|
-
v("span", null,
|
|
1789
|
+
v("span", k1, H(s.value.inputStringRendered), 1),
|
|
1790
|
+
v("span", null, H(s.value.hintStringSuffix), 1)
|
|
1777
1791
|
], 2)) : p("", !0),
|
|
1778
|
-
b.question.showInputFieldComponent ? (i(),
|
|
1792
|
+
b.question.showInputFieldComponent ? (i(), C(d, {
|
|
1779
1793
|
key: 2,
|
|
1780
1794
|
is: b.question.inputFieldComponentName,
|
|
1781
1795
|
item: s.value.getSelectedAction(),
|
|
@@ -1806,7 +1820,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1806
1820
|
placeholder: s.value.placeholderRendered,
|
|
1807
1821
|
onInput: S,
|
|
1808
1822
|
onBlur: m,
|
|
1809
|
-
onFocus:
|
|
1823
|
+
onFocus: g
|
|
1810
1824
|
}, null, 42, f1)) : p("", !0)
|
|
1811
1825
|
], 2),
|
|
1812
1826
|
c(d, {
|
|
@@ -1814,7 +1828,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1814
1828
|
model: s.value.editorButtons
|
|
1815
1829
|
}, null, 8, ["model"])
|
|
1816
1830
|
], 42, L1)),
|
|
1817
|
-
b.question.isInputReadOnly ? p("", !0) : (i(),
|
|
1831
|
+
b.question.isInputReadOnly ? p("", !0) : (i(), C(d, {
|
|
1818
1832
|
key: 1,
|
|
1819
1833
|
is: "sv-popup",
|
|
1820
1834
|
model: s.value.popupModel
|
|
@@ -1835,7 +1849,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1835
1849
|
v("div", {
|
|
1836
1850
|
class: l(b.question.cssClasses.controlValue)
|
|
1837
1851
|
}, [
|
|
1838
|
-
b.question.locReadOnlyText ? (i(),
|
|
1852
|
+
b.question.locReadOnlyText ? (i(), C(d, {
|
|
1839
1853
|
key: 0,
|
|
1840
1854
|
is: "survey-string",
|
|
1841
1855
|
locString: b.question.locReadOnlyText
|
|
@@ -1845,7 +1859,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1845
1859
|
is: "sv-action-bar",
|
|
1846
1860
|
model: s.value.editorButtons
|
|
1847
1861
|
}, null, 8, ["model"])
|
|
1848
|
-
], 10,
|
|
1862
|
+
], 10, M1)) : p("", !0)
|
|
1849
1863
|
], 2);
|
|
1850
1864
|
};
|
|
1851
1865
|
}
|
|
@@ -1866,7 +1880,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1866
1880
|
is: "sv-tagbox",
|
|
1867
1881
|
question: s.question
|
|
1868
1882
|
}, null, 8, ["question"]),
|
|
1869
|
-
s.question.isOtherSelected ? (i(),
|
|
1883
|
+
s.question.isOtherSelected ? (i(), C(d, {
|
|
1870
1884
|
key: 0,
|
|
1871
1885
|
is: "survey-other-choice",
|
|
1872
1886
|
question: s.question,
|
|
@@ -1894,7 +1908,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1894
1908
|
(m = n.value) == null || m.onBlur(r);
|
|
1895
1909
|
};
|
|
1896
1910
|
return I(() => n.value), (r, m) => {
|
|
1897
|
-
var
|
|
1911
|
+
var g, S, h, q;
|
|
1898
1912
|
return i(), a("div", {
|
|
1899
1913
|
class: l(r.question.cssClasses.selectWrapper),
|
|
1900
1914
|
onClick: s
|
|
@@ -1922,13 +1936,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1922
1936
|
v("div", {
|
|
1923
1937
|
class: l(r.question.cssClasses.controlValue)
|
|
1924
1938
|
}, [
|
|
1925
|
-
(i(!0), a(
|
|
1939
|
+
(i(!0), a(M, null, V(r.question.selectedChoices, (b, Z) => (i(), C(d, {
|
|
1926
1940
|
is: "sv-tagbox-item",
|
|
1927
1941
|
item: b,
|
|
1928
1942
|
question: r.question,
|
|
1929
1943
|
key: "item" + Z
|
|
1930
1944
|
}, null, 8, ["item", "question"]))), 128)),
|
|
1931
|
-
n.value.needRenderInput ? (i(),
|
|
1945
|
+
n.value.needRenderInput ? (i(), C(d, {
|
|
1932
1946
|
key: 0,
|
|
1933
1947
|
is: "sv-tagbox-filter",
|
|
1934
1948
|
model: n.value,
|
|
@@ -1940,7 +1954,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1940
1954
|
model: n.value.editorButtons
|
|
1941
1955
|
}, null, 8, ["model"])
|
|
1942
1956
|
], 42, V1)),
|
|
1943
|
-
r.question.isInputReadOnly ? p("", !0) : (i(),
|
|
1957
|
+
r.question.isInputReadOnly ? p("", !0) : (i(), C(d, {
|
|
1944
1958
|
key: 1,
|
|
1945
1959
|
is: "sv-popup",
|
|
1946
1960
|
model: n.value.popupModel
|
|
@@ -1948,7 +1962,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1948
1962
|
r.question.isReadOnly ? (i(), a("div", {
|
|
1949
1963
|
key: 2,
|
|
1950
1964
|
id: r.question.inputId,
|
|
1951
|
-
role: (
|
|
1965
|
+
role: (g = n.value) == null ? void 0 : g.ariaQuestionRole,
|
|
1952
1966
|
"aria-label": (S = n.value) == null ? void 0 : S.ariaQuestionLabel,
|
|
1953
1967
|
"aria-labelledby": (h = n.value) == null ? void 0 : h.ariaQuestionLabelledby,
|
|
1954
1968
|
"aria-describedby": (q = n.value) == null ? void 0 : q.ariaQuestionDescribedby,
|
|
@@ -1961,7 +1975,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1961
1975
|
v("div", {
|
|
1962
1976
|
class: l(r.question.cssClasses.controlValue)
|
|
1963
1977
|
}, [
|
|
1964
|
-
r.question.locReadOnlyText ? (i(),
|
|
1978
|
+
r.question.locReadOnlyText ? (i(), C(d, {
|
|
1965
1979
|
key: 0,
|
|
1966
1980
|
is: "survey-string",
|
|
1967
1981
|
locString: r.question.locReadOnlyText
|
|
@@ -1983,8 +1997,8 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1983
1997
|
},
|
|
1984
1998
|
setup(u) {
|
|
1985
1999
|
const e = u, n = (m) => {
|
|
1986
|
-
const
|
|
1987
|
-
|
|
2000
|
+
const g = e.model;
|
|
2001
|
+
g.inputStringRendered = m.target.value;
|
|
1988
2002
|
}, s = (m) => {
|
|
1989
2003
|
e.model.inputKeyHandler(m);
|
|
1990
2004
|
}, t = (m) => {
|
|
@@ -1996,23 +2010,23 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1996
2010
|
return e.model.inputStringRendered ?? "";
|
|
1997
2011
|
},
|
|
1998
2012
|
set(m) {
|
|
1999
|
-
const
|
|
2000
|
-
|
|
2013
|
+
const g = e.model;
|
|
2014
|
+
g.inputStringRendered = m;
|
|
2001
2015
|
}
|
|
2002
2016
|
});
|
|
2003
|
-
return I(() => e.model), (m,
|
|
2017
|
+
return I(() => e.model), (m, g) => (i(), a("div", {
|
|
2004
2018
|
class: l(m.question.cssClasses.hint)
|
|
2005
2019
|
}, [
|
|
2006
2020
|
m.model.showHintPrefix ? (i(), a("div", {
|
|
2007
2021
|
key: 0,
|
|
2008
2022
|
class: l(m.question.cssClasses.hintPrefix)
|
|
2009
2023
|
}, [
|
|
2010
|
-
v("span", null,
|
|
2024
|
+
v("span", null, H(m.model.hintStringPrefix), 1)
|
|
2011
2025
|
], 2)) : p("", !0),
|
|
2012
2026
|
v("div", {
|
|
2013
2027
|
class: l(m.question.cssClasses.hintSuffixWrapper)
|
|
2014
2028
|
}, [
|
|
2015
|
-
m.question.showSelectedItemLocText ? (i(),
|
|
2029
|
+
m.question.showSelectedItemLocText ? (i(), C(d, {
|
|
2016
2030
|
key: 0,
|
|
2017
2031
|
is: "survey-string",
|
|
2018
2032
|
locString: m.question.selectedItemLocText
|
|
@@ -2021,13 +2035,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2021
2035
|
key: 1,
|
|
2022
2036
|
class: l(m.question.cssClasses.hintSuffix)
|
|
2023
2037
|
}, [
|
|
2024
|
-
v("span", T1,
|
|
2025
|
-
v("span", null,
|
|
2038
|
+
v("span", T1, H(m.model.inputStringRendered), 1),
|
|
2039
|
+
v("span", null, H(m.model.hintStringSuffix), 1)
|
|
2026
2040
|
], 2)) : p("", !0),
|
|
2027
2041
|
B(v("input", {
|
|
2028
2042
|
type: "text",
|
|
2029
2043
|
autocomplete: "off",
|
|
2030
|
-
"onUpdate:modelValue":
|
|
2044
|
+
"onUpdate:modelValue": g[0] || (g[0] = (S) => r.value = S),
|
|
2031
2045
|
class: l(m.question.cssClasses.filterStringInput),
|
|
2032
2046
|
placeholder: m.model.filterStringPlaceholder,
|
|
2033
2047
|
disabled: m.question.isDisabledAttr,
|
|
@@ -2112,19 +2126,19 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2112
2126
|
ref_key: "root",
|
|
2113
2127
|
ref: n
|
|
2114
2128
|
}, [
|
|
2115
|
-
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(
|
|
2116
|
-
key: m.value + "-" +
|
|
2129
|
+
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(M, { key: 0 }, V(o.question.renderedRankingChoices, (m, g) => (i(), C(d, $({
|
|
2130
|
+
key: m.value + "-" + g + "-item",
|
|
2117
2131
|
is: s(m)
|
|
2118
|
-
}, t(m,
|
|
2132
|
+
}, t(m, g)), null, 16, ["is"]))), 128)),
|
|
2119
2133
|
o.question.selectToRankEnabled ? (i(), a("div", {
|
|
2120
2134
|
key: 1,
|
|
2121
2135
|
class: l(o.question.getContainerClasses("from")),
|
|
2122
2136
|
"data-ranking": "from-container"
|
|
2123
2137
|
}, [
|
|
2124
|
-
(i(!0), a(
|
|
2125
|
-
key: m.value + "-" +
|
|
2138
|
+
(i(!0), a(M, null, V(o.question.renderedUnRankingChoices, (m, g) => (i(), C(d, $({
|
|
2139
|
+
key: m.value + "-" + g + "-item",
|
|
2126
2140
|
is: s(m)
|
|
2127
|
-
}, t(m,
|
|
2141
|
+
}, t(m, g, !0)), null, 16, ["is"]))), 128)),
|
|
2128
2142
|
o.question.renderedUnRankingChoices.length === 0 ? (i(), a("div", {
|
|
2129
2143
|
key: 0,
|
|
2130
2144
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
@@ -2144,10 +2158,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2144
2158
|
class: l(o.question.getContainerClasses("to")),
|
|
2145
2159
|
"data-ranking": "to-container"
|
|
2146
2160
|
}, [
|
|
2147
|
-
(i(!0), a(
|
|
2148
|
-
key: m.value + "-" +
|
|
2161
|
+
(i(!0), a(M, null, V(o.question.renderedRankingChoices, (m, g) => (i(), C(d, $({
|
|
2162
|
+
key: m.value + "-" + g + "-item",
|
|
2149
2163
|
is: s(m)
|
|
2150
|
-
}, t(m,
|
|
2164
|
+
}, t(m, g)), null, 16, ["is"]))), 128)),
|
|
2151
2165
|
o.question.renderedRankingChoices.length === 0 ? (i(), a("div", {
|
|
2152
2166
|
key: 0,
|
|
2153
2167
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
@@ -2227,7 +2241,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2227
2241
|
!s.unrankedItem && n.value ? (i(), a("div", {
|
|
2228
2242
|
key: 0,
|
|
2229
2243
|
class: l(s.question.getItemIndexClasses(s.item))
|
|
2230
|
-
},
|
|
2244
|
+
}, H(n.value), 3)) : (i(), a("div", {
|
|
2231
2245
|
key: 1,
|
|
2232
2246
|
class: l(s.question.getItemIndexClasses(s.item))
|
|
2233
2247
|
}, [
|
|
@@ -2300,7 +2314,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2300
2314
|
locString: t.question.locMinRateDescription
|
|
2301
2315
|
}, null, 8, ["locString"])
|
|
2302
2316
|
], 2)) : p("", !0),
|
|
2303
|
-
(i(!0), a(
|
|
2317
|
+
(i(!0), a(M, null, V(t.question.renderedRateItems, (r, m) => (i(), C(d, {
|
|
2304
2318
|
key: s(m),
|
|
2305
2319
|
is: t.question.itemComponent,
|
|
2306
2320
|
item: r,
|
|
@@ -2445,7 +2459,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2445
2459
|
setup(u) {
|
|
2446
2460
|
const e = u;
|
|
2447
2461
|
return I(() => e.item), (n, s) => (i(), a("div", nn, [
|
|
2448
|
-
v("span", tn,
|
|
2462
|
+
v("span", tn, H(n.item.title), 1),
|
|
2449
2463
|
n.item.description ? (i(), a("div", on, [
|
|
2450
2464
|
c(d, {
|
|
2451
2465
|
is: "survey-string",
|
|
@@ -2592,21 +2606,21 @@ const dn = /* @__PURE__ */ y({
|
|
|
2592
2606
|
role: "presentation",
|
|
2593
2607
|
class: l(s.question.cssClasses.radioFieldset)
|
|
2594
2608
|
}, [
|
|
2595
|
-
s.question.swapOrder ? (i(),
|
|
2609
|
+
s.question.swapOrder ? (i(), C(d, {
|
|
2596
2610
|
is: "sv-boolean-radio-item",
|
|
2597
2611
|
key: "true",
|
|
2598
2612
|
question: s.question,
|
|
2599
2613
|
locText: s.question.locLabelTrue,
|
|
2600
2614
|
value: s.question.getValueTrue()
|
|
2601
2615
|
}, null, 8, ["question", "locText", "value"])) : p("", !0),
|
|
2602
|
-
(i(),
|
|
2616
|
+
(i(), C(d, {
|
|
2603
2617
|
is: "sv-boolean-radio-item",
|
|
2604
2618
|
key: "false",
|
|
2605
2619
|
question: s.question,
|
|
2606
2620
|
locText: s.question.locLabelFalse,
|
|
2607
2621
|
value: s.question.getValueFalse()
|
|
2608
2622
|
}, null, 8, ["question", "locText", "value"])),
|
|
2609
|
-
s.question.swapOrder ? p("", !0) : (i(),
|
|
2623
|
+
s.question.swapOrder ? p("", !0) : (i(), C(d, {
|
|
2610
2624
|
is: "sv-boolean-radio-item",
|
|
2611
2625
|
key: "true",
|
|
2612
2626
|
question: s.question,
|
|
@@ -2733,13 +2747,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
2733
2747
|
id: s.question.labelRenderedAriaID,
|
|
2734
2748
|
class: l(s.question.cssClasses.checkboxControlLabel)
|
|
2735
2749
|
}, [
|
|
2736
|
-
s.question.hasTitleActions ? p("", !0) : (i(),
|
|
2750
|
+
s.question.hasTitleActions ? p("", !0) : (i(), C(d, {
|
|
2737
2751
|
key: 0,
|
|
2738
2752
|
is: "survey-element-title-content",
|
|
2739
2753
|
element: s.question,
|
|
2740
2754
|
css: s.css
|
|
2741
2755
|
}, null, 8, ["element", "css"])),
|
|
2742
|
-
s.question.hasTitleActions ? (i(),
|
|
2756
|
+
s.question.hasTitleActions ? (i(), C(d, {
|
|
2743
2757
|
key: 1,
|
|
2744
2758
|
is: "sv-title-actions",
|
|
2745
2759
|
element: s.question,
|
|
@@ -2774,7 +2788,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2774
2788
|
ref: n
|
|
2775
2789
|
}, [
|
|
2776
2790
|
v("tbody", null, [
|
|
2777
|
-
(i(!0), a(
|
|
2791
|
+
(i(!0), a(M, null, V(s.question.getRows(), (o, r) => (i(), C(d, {
|
|
2778
2792
|
key: s.question.inputId + "rowkey" + r,
|
|
2779
2793
|
is: "sv-multipletext-row",
|
|
2780
2794
|
question: s.question,
|
|
@@ -2795,7 +2809,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2795
2809
|
key: 0,
|
|
2796
2810
|
class: l(n.question.cssClasses.row)
|
|
2797
2811
|
}, [
|
|
2798
|
-
(i(!0), a(
|
|
2812
|
+
(i(!0), a(M, null, V(n.row.cells, (t) => (i(), a("td", {
|
|
2799
2813
|
key: "item" + t.item.editor.id,
|
|
2800
2814
|
class: l(t.className)
|
|
2801
2815
|
}, [
|
|
@@ -2817,7 +2831,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2817
2831
|
const e = u, n = (t) => ne(t);
|
|
2818
2832
|
I(() => e.cell.item.editor);
|
|
2819
2833
|
const s = f(() => e.cell.item);
|
|
2820
|
-
return (t, o) => t.cell.isErrorsCell ? (i(),
|
|
2834
|
+
return (t, o) => t.cell.isErrorsCell ? (i(), C(d, {
|
|
2821
2835
|
key: 1,
|
|
2822
2836
|
is: "survey-errors",
|
|
2823
2837
|
element: s.value.editor
|
|
@@ -2835,7 +2849,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2835
2849
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span", {
|
|
2836
2850
|
key: 0,
|
|
2837
2851
|
class: l(t.question.cssClasses.requiredMark)
|
|
2838
|
-
},
|
|
2852
|
+
}, H(s.value.editor.requiredMark), 3)) : p("", !0),
|
|
2839
2853
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span", Ln, " ")) : p("", !0),
|
|
2840
2854
|
c(d, {
|
|
2841
2855
|
is: "survey-string",
|
|
@@ -2846,7 +2860,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2846
2860
|
key: 3,
|
|
2847
2861
|
"aria-hidden": "true",
|
|
2848
2862
|
class: l(t.question.cssClasses.requiredMark)
|
|
2849
|
-
},
|
|
2863
|
+
}, H(s.value.editor.requiredMark), 3)) : p("", !0)
|
|
2850
2864
|
], 6),
|
|
2851
2865
|
(i(), a("div", {
|
|
2852
2866
|
key: s.value.editor.id,
|
|
@@ -2860,7 +2874,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2860
2874
|
], 34))
|
|
2861
2875
|
], 2));
|
|
2862
2876
|
}
|
|
2863
|
-
}),
|
|
2877
|
+
}), Mn = /* @__PURE__ */ y({
|
|
2864
2878
|
inheritAttrs: !1,
|
|
2865
2879
|
__name: "Breadcrumbs",
|
|
2866
2880
|
props: {
|
|
@@ -2873,10 +2887,10 @@ const qn = /* @__PURE__ */ y({
|
|
|
2873
2887
|
key: 0,
|
|
2874
2888
|
class: l(n.css.breadcrumbsRoot)
|
|
2875
2889
|
}, [
|
|
2876
|
-
(i(!0), a(
|
|
2890
|
+
(i(!0), a(M, null, V(n.model.actions, (t, o) => (i(), a(M, {
|
|
2877
2891
|
key: t.renderedId
|
|
2878
2892
|
}, [
|
|
2879
|
-
o ? (i(),
|
|
2893
|
+
o ? (i(), C(d, {
|
|
2880
2894
|
key: 0,
|
|
2881
2895
|
is: "sv-svg-icon",
|
|
2882
2896
|
class: l(n.css.breadcrumbsSeparator),
|
|
@@ -2890,7 +2904,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2890
2904
|
], 64))), 128))
|
|
2891
2905
|
], 2)) : p("", !0);
|
|
2892
2906
|
}
|
|
2893
|
-
}),
|
|
2907
|
+
}), Hn = ["onClick", "title"], In = ["onClick", "title"], Vn = { key: 1 }, Sn = { key: 1 }, Rn = /* @__PURE__ */ y({
|
|
2894
2908
|
__name: "SingleInputSummary",
|
|
2895
2909
|
props: {
|
|
2896
2910
|
summary: {},
|
|
@@ -2899,7 +2913,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2899
2913
|
setup(u) {
|
|
2900
2914
|
const e = u, n = f(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = f(() => W.Instance.isComponentRegistered(n.value));
|
|
2901
2915
|
return (t, o) => t.summary.isEmpty() ? (i(), a("div", Vn, [
|
|
2902
|
-
s.value ? (i(),
|
|
2916
|
+
s.value ? (i(), C(d, {
|
|
2903
2917
|
key: 0,
|
|
2904
2918
|
is: "survey-placeholder-" + t.summary.question.getTemplate(),
|
|
2905
2919
|
cssClasses: t.css,
|
|
@@ -2914,7 +2928,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2914
2928
|
key: 0,
|
|
2915
2929
|
class: l(t.css.summary)
|
|
2916
2930
|
}, [
|
|
2917
|
-
(i(!0), a(
|
|
2931
|
+
(i(!0), a(M, null, V(t.summary.items, (r, m) => (i(), a("div", {
|
|
2918
2932
|
key: m,
|
|
2919
2933
|
class: l(t.css.summaryRow)
|
|
2920
2934
|
}, [
|
|
@@ -2932,7 +2946,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2932
2946
|
r.btnEdit ? (i(), a("button", {
|
|
2933
2947
|
key: 0,
|
|
2934
2948
|
class: l(t.css.summaryRowActionEdit),
|
|
2935
|
-
onClick: (
|
|
2949
|
+
onClick: (g) => r.btnEdit.action(),
|
|
2936
2950
|
title: r.btnEdit.title
|
|
2937
2951
|
}, [
|
|
2938
2952
|
c(d, {
|
|
@@ -2940,11 +2954,11 @@ const qn = /* @__PURE__ */ y({
|
|
|
2940
2954
|
iconName: "icon-editsmall-16x16",
|
|
2941
2955
|
size: "auto"
|
|
2942
2956
|
})
|
|
2943
|
-
], 10,
|
|
2957
|
+
], 10, Hn)) : p("", !0),
|
|
2944
2958
|
r.showRemove && r.btnRemove ? (i(), a("button", {
|
|
2945
2959
|
key: 1,
|
|
2946
2960
|
class: l(t.css.summaryRowActionDelete),
|
|
2947
|
-
onClick: (
|
|
2961
|
+
onClick: (g) => r.btnRemove.action(),
|
|
2948
2962
|
title: r.btnRemove.title
|
|
2949
2963
|
}, [
|
|
2950
2964
|
c(d, {
|
|
@@ -3016,7 +3030,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3016
3030
|
class: l(t.question.cssClasses.rangeTrack),
|
|
3017
3031
|
style: L({ left: t.question.getTrackPercentLeft() + "%", right: t.question.getTrackPercentRight() + "%" })
|
|
3018
3032
|
}, null, 6),
|
|
3019
|
-
(i(!0), a(
|
|
3033
|
+
(i(!0), a(M, null, V(t.question.renderedValue, (r, m) => (i(), a(M, { key: m }, [
|
|
3020
3034
|
v("input", {
|
|
3021
3035
|
class: l(t.question.cssClasses.input),
|
|
3022
3036
|
id: "sjs-slider-input-" + m,
|
|
@@ -3026,20 +3040,20 @@ const qn = /* @__PURE__ */ y({
|
|
|
3026
3040
|
max: t.question.max,
|
|
3027
3041
|
step: t.question.step,
|
|
3028
3042
|
disabled: t.question.isDisabledAttr,
|
|
3029
|
-
onInput: (
|
|
3030
|
-
t.question.handleOnChange(
|
|
3043
|
+
onInput: (g) => {
|
|
3044
|
+
t.question.handleOnChange(g, m);
|
|
3031
3045
|
},
|
|
3032
|
-
onPointerdown: o[3] || (o[3] = (
|
|
3033
|
-
t.question.handlePointerDown(
|
|
3046
|
+
onPointerdown: o[3] || (o[3] = (g) => {
|
|
3047
|
+
t.question.handlePointerDown(g);
|
|
3034
3048
|
}),
|
|
3035
|
-
onPointerup: o[4] || (o[4] = (
|
|
3036
|
-
|
|
3049
|
+
onPointerup: o[4] || (o[4] = (g) => {
|
|
3050
|
+
g.stopPropagation(), t.question.handlePointerUp(g);
|
|
3037
3051
|
}),
|
|
3038
|
-
onKeydown: o[5] || (o[5] = (
|
|
3039
|
-
t.question.handleKeyDown(
|
|
3052
|
+
onKeydown: o[5] || (o[5] = (g) => {
|
|
3053
|
+
t.question.handleKeyDown(g);
|
|
3040
3054
|
}),
|
|
3041
|
-
onKeyup: o[6] || (o[6] = (
|
|
3042
|
-
t.question.handleKeyUp(
|
|
3055
|
+
onKeyup: o[6] || (o[6] = (g) => {
|
|
3056
|
+
t.question.handleKeyUp(g);
|
|
3043
3057
|
}),
|
|
3044
3058
|
onFocus: () => {
|
|
3045
3059
|
t.question.handleOnFocus(m);
|
|
@@ -3067,7 +3081,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3067
3081
|
}, [
|
|
3068
3082
|
v("div", {
|
|
3069
3083
|
class: l(t.question.cssClasses.tooltipValue)
|
|
3070
|
-
},
|
|
3084
|
+
}, H(t.question.getTooltipValue(m)), 3)
|
|
3071
3085
|
], 2)
|
|
3072
3086
|
], 2)) : p("", !0),
|
|
3073
3087
|
v("div", {
|
|
@@ -3086,7 +3100,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3086
3100
|
class: l(t.question.cssClasses.labelsContainer)
|
|
3087
3101
|
}, [
|
|
3088
3102
|
v("div", null, [
|
|
3089
|
-
(i(!0), a(
|
|
3103
|
+
(i(!0), a(M, null, V(t.question.renderedLabels, (r) => (i(), C(d, {
|
|
3090
3104
|
key: r.id,
|
|
3091
3105
|
is: "sv-slider-label-item",
|
|
3092
3106
|
item: r,
|
|
@@ -3115,12 +3129,30 @@ const qn = /* @__PURE__ */ y({
|
|
|
3115
3129
|
class: l(n.question.cssClasses.labelTick)
|
|
3116
3130
|
}, null, 2),
|
|
3117
3131
|
v("div", {
|
|
3118
|
-
class: l(n.question.cssClasses.
|
|
3132
|
+
class: l(n.question.cssClasses.labelTextContainer)
|
|
3119
3133
|
}, [
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
},
|
|
3134
|
+
n.item.showValue ? p("", !0) : (i(), a("div", {
|
|
3135
|
+
key: 0,
|
|
3136
|
+
class: l(n.question.cssClasses.labelText)
|
|
3137
|
+
}, [
|
|
3138
|
+
c(d, {
|
|
3139
|
+
is: "survey-string",
|
|
3140
|
+
locString: n.item.locText
|
|
3141
|
+
}, null, 8, ["locString"])
|
|
3142
|
+
], 2)),
|
|
3143
|
+
n.item.showValue ? (i(), a("div", {
|
|
3144
|
+
key: 1,
|
|
3145
|
+
class: l(n.question.cssClasses.labelText)
|
|
3146
|
+
}, H(n.item.value), 3)) : p("", !0),
|
|
3147
|
+
n.item.showValue ? (i(), a("div", {
|
|
3148
|
+
key: 2,
|
|
3149
|
+
class: l(n.question.cssClasses.labelTextSecondaryMode)
|
|
3150
|
+
}, [
|
|
3151
|
+
c(d, {
|
|
3152
|
+
is: "survey-string",
|
|
3153
|
+
locString: n.item.locText
|
|
3154
|
+
}, null, 8, ["locString"])
|
|
3155
|
+
], 2)) : p("", !0)
|
|
3124
3156
|
], 2)
|
|
3125
3157
|
], 38));
|
|
3126
3158
|
}
|
|
@@ -3153,7 +3185,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3153
3185
|
ref: n
|
|
3154
3186
|
}, [
|
|
3155
3187
|
v("fieldset", Dn, [
|
|
3156
|
-
v("legend", An,
|
|
3188
|
+
v("legend", An, H(t.question.locTitle.renderedHtml), 1),
|
|
3157
3189
|
v("table", {
|
|
3158
3190
|
class: l(t.question.getTableCss()),
|
|
3159
3191
|
role: "presentation"
|
|
@@ -3161,7 +3193,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3161
3193
|
t.question.showHeader ? (i(), a("thead", Pn, [
|
|
3162
3194
|
v("tr", null, [
|
|
3163
3195
|
t.question.hasRows ? (i(), a("td", Nn)) : p("", !0),
|
|
3164
|
-
(i(!0), a(
|
|
3196
|
+
(i(!0), a(M, null, V(t.question.visibleColumns, (r, m) => (i(), a("th", {
|
|
3165
3197
|
key: m,
|
|
3166
3198
|
class: l(t.question.cssClasses.headerCell),
|
|
3167
3199
|
style: L({
|
|
@@ -3185,7 +3217,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3185
3217
|
])
|
|
3186
3218
|
])) : p("", !0),
|
|
3187
3219
|
v("tbody", null, [
|
|
3188
|
-
(i(!0), a(
|
|
3220
|
+
(i(!0), a(M, null, V(s.value, (r, m) => (i(), C(d, {
|
|
3189
3221
|
key: "row_" + r.name + "_" + m,
|
|
3190
3222
|
is: "sv-matrix-row",
|
|
3191
3223
|
question: t.question,
|
|
@@ -3223,7 +3255,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3223
3255
|
ref_key: "root",
|
|
3224
3256
|
ref: n
|
|
3225
3257
|
}, [
|
|
3226
|
-
(i(!0), a(
|
|
3258
|
+
(i(!0), a(M, null, V(t.row.cells, (r) => (i(), C(d, {
|
|
3227
3259
|
is: "survey-matrixdropdown-cell",
|
|
3228
3260
|
cell: r,
|
|
3229
3261
|
question: t.question,
|
|
@@ -3295,14 +3327,14 @@ const qn = /* @__PURE__ */ y({
|
|
|
3295
3327
|
},
|
|
3296
3328
|
setup(u) {
|
|
3297
3329
|
const e = u, n = k(null);
|
|
3298
|
-
return R(e, n), (s, t) => (i(),
|
|
3330
|
+
return R(e, n), (s, t) => (i(), C(d, {
|
|
3299
3331
|
is: "survey-matrixtable",
|
|
3300
3332
|
question: s.question,
|
|
3301
3333
|
ref_key: "root",
|
|
3302
3334
|
ref: n
|
|
3303
3335
|
}, null, 8, ["question"]));
|
|
3304
3336
|
}
|
|
3305
|
-
}), Kn =
|
|
3337
|
+
}), Kn = { key: 0 }, jn = { key: 1 }, Gn = /* @__PURE__ */ y({
|
|
3306
3338
|
__name: "MatrixTable",
|
|
3307
3339
|
props: {
|
|
3308
3340
|
question: {}
|
|
@@ -3311,15 +3343,14 @@ const qn = /* @__PURE__ */ y({
|
|
|
3311
3343
|
const e = u, n = f(() => e.question.renderedTable);
|
|
3312
3344
|
return I(() => n.value), (s, t) => (i(), a("div", {
|
|
3313
3345
|
style: L({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
3314
|
-
class: l(s.question.cssClasses.tableWrapper)
|
|
3315
|
-
"data-sv-drop-target-matrix-row": s.question.renderedTable.wrapperDropTargetId
|
|
3346
|
+
class: l(s.question.cssClasses.tableWrapper)
|
|
3316
3347
|
}, [
|
|
3317
3348
|
v("table", {
|
|
3318
3349
|
class: l(s.question.getTableCss())
|
|
3319
3350
|
}, [
|
|
3320
|
-
n.value.showHeader ? (i(), a("thead",
|
|
3351
|
+
n.value.showHeader ? (i(), a("thead", Kn, [
|
|
3321
3352
|
v("tr", null, [
|
|
3322
|
-
(i(!0), a(
|
|
3353
|
+
(i(!0), a(M, null, V(n.value.headerRow.cells, (o) => (i(), a(M, null, [
|
|
3323
3354
|
o.hasTitle ? (i(), a("th", {
|
|
3324
3355
|
key: "header_" + o.id,
|
|
3325
3356
|
class: l(o.className),
|
|
@@ -3334,7 +3365,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3334
3365
|
is: "survey-string",
|
|
3335
3366
|
locString: o.locTitle
|
|
3336
3367
|
}, null, 8, ["locString"]),
|
|
3337
|
-
o.column ? (i(),
|
|
3368
|
+
o.column ? (i(), C(d, {
|
|
3338
3369
|
key: 0,
|
|
3339
3370
|
is: "survey-matrixheaderrequired",
|
|
3340
3371
|
column: o.column,
|
|
@@ -3353,16 +3384,16 @@ const qn = /* @__PURE__ */ y({
|
|
|
3353
3384
|
])
|
|
3354
3385
|
])) : p("", !0),
|
|
3355
3386
|
v("tbody", null, [
|
|
3356
|
-
(i(!0), a(
|
|
3387
|
+
(i(!0), a(M, null, V(n.value.renderedRows, (o) => (i(), C(d, {
|
|
3357
3388
|
key: s.question.inputId + "_" + o.id,
|
|
3358
3389
|
is: "survey-matrix-row",
|
|
3359
3390
|
row: o,
|
|
3360
3391
|
question: s.question
|
|
3361
3392
|
}, null, 8, ["row", "question"]))), 128))
|
|
3362
3393
|
]),
|
|
3363
|
-
n.value.showFooter ? (i(), a("tfoot",
|
|
3394
|
+
n.value.showFooter ? (i(), a("tfoot", jn, [
|
|
3364
3395
|
v("tr", null, [
|
|
3365
|
-
(i(!0), a(
|
|
3396
|
+
(i(!0), a(M, null, V(n.value.footerRow.cells, (o, r) => (i(), C(d, {
|
|
3366
3397
|
is: "survey-matrixdropdown-cell",
|
|
3367
3398
|
cell: o,
|
|
3368
3399
|
question: s.question,
|
|
@@ -3371,9 +3402,9 @@ const qn = /* @__PURE__ */ y({
|
|
|
3371
3402
|
])
|
|
3372
3403
|
])) : p("", !0)
|
|
3373
3404
|
], 2)
|
|
3374
|
-
],
|
|
3405
|
+
], 6));
|
|
3375
3406
|
}
|
|
3376
|
-
}),
|
|
3407
|
+
}), Jn = /* @__PURE__ */ v("span", null, " ", -1), Xn = /* @__PURE__ */ y({
|
|
3377
3408
|
__name: "MatrixHeaderRequired",
|
|
3378
3409
|
props: {
|
|
3379
3410
|
question: {},
|
|
@@ -3381,15 +3412,15 @@ const qn = /* @__PURE__ */ y({
|
|
|
3381
3412
|
},
|
|
3382
3413
|
setup(u) {
|
|
3383
3414
|
const e = u;
|
|
3384
|
-
return I(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(
|
|
3385
|
-
|
|
3415
|
+
return I(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(M, { key: 0 }, [
|
|
3416
|
+
Jn,
|
|
3386
3417
|
n.column.isRenderedRequired ? (i(), a("span", {
|
|
3387
3418
|
key: 0,
|
|
3388
3419
|
class: l(n.question.cssClasses.cellRequiredMark)
|
|
3389
|
-
},
|
|
3420
|
+
}, H(n.column.requiredMark), 3)) : p("", !0)
|
|
3390
3421
|
], 64)) : p("", !0);
|
|
3391
3422
|
}
|
|
3392
|
-
}),
|
|
3423
|
+
}), Yn = ["title", "colspan"], _n = /* @__PURE__ */ y({
|
|
3393
3424
|
__name: "MatrixDropdownCellComp",
|
|
3394
3425
|
props: {
|
|
3395
3426
|
question: {},
|
|
@@ -3416,7 +3447,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3416
3447
|
};
|
|
3417
3448
|
e.question.survey.matrixAfterCellRender(b), q && q.afterRenderCore(h);
|
|
3418
3449
|
});
|
|
3419
|
-
const
|
|
3450
|
+
const g = f(() => {
|
|
3420
3451
|
const h = e.cell;
|
|
3421
3452
|
if (h.hasPanel) {
|
|
3422
3453
|
const q = h.panel, b = q.survey;
|
|
@@ -3451,25 +3482,25 @@ const qn = /* @__PURE__ */ y({
|
|
|
3451
3482
|
ref_key: "root",
|
|
3452
3483
|
ref: s
|
|
3453
3484
|
}, [
|
|
3454
|
-
h.cell.isErrorsCell ? (i(),
|
|
3485
|
+
h.cell.isErrorsCell ? (i(), C(d, {
|
|
3455
3486
|
key: 0,
|
|
3456
3487
|
is: "survey-errors",
|
|
3457
3488
|
element: h.cell.question
|
|
3458
3489
|
}, null, 8, ["element"])) : p("", !0),
|
|
3459
|
-
h.cell.isDragHandlerCell ? (i(),
|
|
3490
|
+
h.cell.isDragHandlerCell ? (i(), C(d, {
|
|
3460
3491
|
key: 1,
|
|
3461
3492
|
is: "sv-matrix-drag-drop-icon",
|
|
3462
3493
|
item: { data: { row: h.cell.row, question: h.question } }
|
|
3463
3494
|
}, null, 8, ["item"])) : p("", !0),
|
|
3464
|
-
h.cell.isActionsCell ? (i(),
|
|
3495
|
+
h.cell.isActionsCell ? (i(), C(d, {
|
|
3465
3496
|
key: 2,
|
|
3466
3497
|
is: "sv-action-bar",
|
|
3467
3498
|
model: h.cell.item.getData(),
|
|
3468
3499
|
handleClick: !1
|
|
3469
3500
|
}, null, 8, ["model"])) : p("", !0),
|
|
3470
|
-
h.cell.hasPanel ? (i(),
|
|
3501
|
+
h.cell.hasPanel ? (i(), C(d, $({
|
|
3471
3502
|
key: 3,
|
|
3472
|
-
is:
|
|
3503
|
+
is: g.value
|
|
3473
3504
|
}, S.value), null, 16, ["is"])) : p("", !0),
|
|
3474
3505
|
h.cell.showResponsiveTitle ? (i(), a("span", {
|
|
3475
3506
|
key: 4,
|
|
@@ -3489,7 +3520,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3489
3520
|
key: 5,
|
|
3490
3521
|
class: l(h.cell.cellQuestionWrapperClassName)
|
|
3491
3522
|
}, [
|
|
3492
|
-
!h.cell.isChoice && h.cell.question.isDefaultRendering() ? (i(),
|
|
3523
|
+
!h.cell.isChoice && h.cell.question.isDefaultRendering() ? (i(), C(d, {
|
|
3493
3524
|
key: 0,
|
|
3494
3525
|
is: h.question.getCellWrapperComponentName(h.cell.cell),
|
|
3495
3526
|
componentData: h.question.getCellWrapperComponentData(h.cell.cell)
|
|
@@ -3502,18 +3533,18 @@ const qn = /* @__PURE__ */ y({
|
|
|
3502
3533
|
]),
|
|
3503
3534
|
_: 1
|
|
3504
3535
|
}, 8, ["is", "componentData"])) : p("", !0),
|
|
3505
|
-
!h.cell.isChoice && !h.cell.question.isDefaultRendering() ? (i(),
|
|
3536
|
+
!h.cell.isChoice && !h.cell.question.isDefaultRendering() ? (i(), C(d, {
|
|
3506
3537
|
key: 1,
|
|
3507
3538
|
is: h.cell.question.getComponentName(),
|
|
3508
3539
|
question: h.cell.question
|
|
3509
3540
|
}, null, 8, ["is", "question"])) : p("", !0),
|
|
3510
|
-
h.cell.isItemChoice ? (i(),
|
|
3541
|
+
h.cell.isItemChoice ? (i(), C(d, {
|
|
3511
3542
|
key: 2,
|
|
3512
3543
|
is: h.question.getCellWrapperComponentName(h.cell.cell),
|
|
3513
3544
|
componentData: h.question.getCellWrapperComponentData(h.cell.cell)
|
|
3514
3545
|
}, {
|
|
3515
3546
|
default: D(() => [
|
|
3516
|
-
h.cell.isRadio ? (i(),
|
|
3547
|
+
h.cell.isRadio ? (i(), C(d, {
|
|
3517
3548
|
is: "survey-radiogroup-item",
|
|
3518
3549
|
key: h.cell.item.value,
|
|
3519
3550
|
question: h.cell.question,
|
|
@@ -3521,7 +3552,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3521
3552
|
hideLabel: !0,
|
|
3522
3553
|
ariaLabel: o()
|
|
3523
3554
|
}, null, 8, ["question", "item", "ariaLabel"])) : p("", !0),
|
|
3524
|
-
h.cell.isCheckbox ? (i(),
|
|
3555
|
+
h.cell.isCheckbox ? (i(), C(d, {
|
|
3525
3556
|
is: "survey-checkbox-item",
|
|
3526
3557
|
key: h.cell.item.value,
|
|
3527
3558
|
question: h.cell.question,
|
|
@@ -3532,7 +3563,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3532
3563
|
]),
|
|
3533
3564
|
_: 1
|
|
3534
3565
|
}, 8, ["is", "componentData"])) : p("", !0),
|
|
3535
|
-
h.cell.isOtherChoice ? (i(),
|
|
3566
|
+
h.cell.isOtherChoice ? (i(), C(d, {
|
|
3536
3567
|
key: 3,
|
|
3537
3568
|
is: "survey-other-choice",
|
|
3538
3569
|
question: h.cell.question,
|
|
@@ -3541,13 +3572,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
3541
3572
|
], 2)), [
|
|
3542
3573
|
[A, n.value]
|
|
3543
3574
|
]) : p("", !0),
|
|
3544
|
-
h.cell.hasTitle ? (i(),
|
|
3575
|
+
h.cell.hasTitle ? (i(), C(d, {
|
|
3545
3576
|
key: 6,
|
|
3546
3577
|
is: h.question.getCellWrapperComponentName(h.cell),
|
|
3547
3578
|
componentData: h.question.getCellWrapperComponentData(h.cell)
|
|
3548
3579
|
}, {
|
|
3549
3580
|
default: D(() => [
|
|
3550
|
-
h.cell.hasTitle ? (i(),
|
|
3581
|
+
h.cell.hasTitle ? (i(), C(d, {
|
|
3551
3582
|
key: 0,
|
|
3552
3583
|
is: "survey-string",
|
|
3553
3584
|
locString: h.cell.locTitle
|
|
@@ -3555,13 +3586,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
3555
3586
|
h.cell.requiredMark ? (i(), a("span", {
|
|
3556
3587
|
key: 1,
|
|
3557
3588
|
class: l(h.question.cssClasses.cellRequiredMark)
|
|
3558
|
-
},
|
|
3589
|
+
}, H(h.cell.requiredMark), 3)) : p("", !0)
|
|
3559
3590
|
]),
|
|
3560
3591
|
_: 1
|
|
3561
3592
|
}, 8, ["is", "componentData"])) : p("", !0)
|
|
3562
|
-
], 46,
|
|
3593
|
+
], 46, Yn)) : p("", !0);
|
|
3563
3594
|
}
|
|
3564
|
-
}),
|
|
3595
|
+
}), xn = { key: 0 }, et = ["xlink:href"], st = { key: 0 }, nt = ["xlink:href"], tt = /* @__PURE__ */ y({
|
|
3565
3596
|
inheritAttrs: !1,
|
|
3566
3597
|
__name: "MatrixDynamic",
|
|
3567
3598
|
props: {
|
|
@@ -3593,19 +3624,19 @@ const qn = /* @__PURE__ */ y({
|
|
|
3593
3624
|
v("span", {
|
|
3594
3625
|
class: l(t.question.cssClasses.iconAdd)
|
|
3595
3626
|
}, [
|
|
3596
|
-
t.question.cssClasses.iconAddId ? (i(), a("svg",
|
|
3627
|
+
t.question.cssClasses.iconAddId ? (i(), a("svg", xn, [
|
|
3597
3628
|
v("use", {
|
|
3598
3629
|
"xlink:href": t.question.cssClasses.iconAddId
|
|
3599
|
-
}, null, 8,
|
|
3630
|
+
}, null, 8, et)
|
|
3600
3631
|
])) : p("", !0)
|
|
3601
3632
|
], 2)
|
|
3602
3633
|
], 2)
|
|
3603
3634
|
], 2)) : p("", !0),
|
|
3604
|
-
t.question.renderedTable.showTable ? (i(),
|
|
3635
|
+
t.question.renderedTable.showTable ? (i(), C(d, {
|
|
3605
3636
|
key: 1,
|
|
3606
3637
|
is: "survey-matrixtable",
|
|
3607
3638
|
question: t.question
|
|
3608
|
-
}, null, 8, ["question"])) : (i(),
|
|
3639
|
+
}, null, 8, ["question"])) : (i(), C(d, {
|
|
3609
3640
|
key: 2,
|
|
3610
3641
|
is: "survey-placeholder-matrixdynamic",
|
|
3611
3642
|
question: t.question
|
|
@@ -3626,17 +3657,17 @@ const qn = /* @__PURE__ */ y({
|
|
|
3626
3657
|
v("span", {
|
|
3627
3658
|
class: l(t.question.cssClasses.iconAdd)
|
|
3628
3659
|
}, [
|
|
3629
|
-
t.question.cssClasses.iconAddId ? (i(), a("svg",
|
|
3660
|
+
t.question.cssClasses.iconAddId ? (i(), a("svg", st, [
|
|
3630
3661
|
v("use", {
|
|
3631
3662
|
"xlink:href": t.question.cssClasses.iconAddId
|
|
3632
|
-
}, null, 8,
|
|
3663
|
+
}, null, 8, nt)
|
|
3633
3664
|
])) : p("", !0)
|
|
3634
3665
|
], 2)
|
|
3635
3666
|
], 2)
|
|
3636
3667
|
], 2)) : p("", !0)
|
|
3637
3668
|
], 512));
|
|
3638
3669
|
}
|
|
3639
|
-
}),
|
|
3670
|
+
}), ot = /* @__PURE__ */ y({
|
|
3640
3671
|
__name: "MatrixDynamicPlaceholder",
|
|
3641
3672
|
props: {
|
|
3642
3673
|
question: {}
|
|
@@ -3679,7 +3710,7 @@ function te(u, e = !0) {
|
|
|
3679
3710
|
row: e ? f(() => u.item.data.row) : void 0
|
|
3680
3711
|
};
|
|
3681
3712
|
}
|
|
3682
|
-
const
|
|
3713
|
+
const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
3683
3714
|
__name: "RemoveButton",
|
|
3684
3715
|
props: {
|
|
3685
3716
|
item: {}
|
|
@@ -3699,9 +3730,9 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3699
3730
|
v("span", {
|
|
3700
3731
|
class: l(w(n).cssClasses.iconRemove)
|
|
3701
3732
|
}, null, 2)
|
|
3702
|
-
], 10,
|
|
3733
|
+
], 10, it));
|
|
3703
3734
|
}
|
|
3704
|
-
}),
|
|
3735
|
+
}), lt = ["xlink:href"], at = /* @__PURE__ */ y({
|
|
3705
3736
|
__name: "DragDropIcon",
|
|
3706
3737
|
props: {
|
|
3707
3738
|
item: {}
|
|
@@ -3715,14 +3746,14 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3715
3746
|
}, [
|
|
3716
3747
|
v("use", {
|
|
3717
3748
|
"xlink:href": w(n).iconDragElement
|
|
3718
|
-
}, null, 8,
|
|
3749
|
+
}, null, 8, lt)
|
|
3719
3750
|
], 2)) : (i(), a("span", {
|
|
3720
3751
|
key: 1,
|
|
3721
3752
|
class: l(w(n).cssClasses.iconDrag)
|
|
3722
3753
|
}, null, 2))
|
|
3723
3754
|
]));
|
|
3724
3755
|
}
|
|
3725
|
-
}),
|
|
3756
|
+
}), ut = ["title", "aria-expanded", "aria-controls"], dt = /* @__PURE__ */ y({
|
|
3726
3757
|
__name: "DetailButton",
|
|
3727
3758
|
props: {
|
|
3728
3759
|
item: {}
|
|
@@ -3743,9 +3774,9 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3743
3774
|
iconName: w(n).getDetailPanelIconId(w(s)),
|
|
3744
3775
|
size: "auto"
|
|
3745
3776
|
}, null, 8, ["class", "iconName"])
|
|
3746
|
-
], 10,
|
|
3777
|
+
], 10, ut));
|
|
3747
3778
|
}
|
|
3748
|
-
}),
|
|
3779
|
+
}), mt = ["aria-label"], pt = /* @__PURE__ */ y({
|
|
3749
3780
|
inheritAttrs: !1,
|
|
3750
3781
|
__name: "PanelDynamic",
|
|
3751
3782
|
props: {
|
|
@@ -3791,7 +3822,7 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3791
3822
|
model: o.question.tabbedMenu
|
|
3792
3823
|
}, null, 8, ["model"])
|
|
3793
3824
|
], 2)) : p("", !0),
|
|
3794
|
-
o.question.getShowNoEntriesPlaceholder() ? (i(),
|
|
3825
|
+
o.question.getShowNoEntriesPlaceholder() ? (i(), C(d, {
|
|
3795
3826
|
key: 1,
|
|
3796
3827
|
is: "survey-placeholder-paneldynamic",
|
|
3797
3828
|
question: o.question
|
|
@@ -3805,12 +3836,12 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3805
3836
|
style: L({ width: o.question.progress }),
|
|
3806
3837
|
role: "progressbar",
|
|
3807
3838
|
"aria-label": o.question.progressBarAriaLabel
|
|
3808
|
-
}, null, 14,
|
|
3839
|
+
}, null, 14, mt)
|
|
3809
3840
|
], 2)) : p("", !0),
|
|
3810
3841
|
v("div", {
|
|
3811
3842
|
class: l(o.question.cssClasses.panelsContainer)
|
|
3812
3843
|
}, [
|
|
3813
|
-
(i(!0), a(
|
|
3844
|
+
(i(!0), a(M, null, V(o.question.renderedPanels, (m, g) => (i(), a(M, {
|
|
3814
3845
|
key: m.id
|
|
3815
3846
|
}, [
|
|
3816
3847
|
v("div", {
|
|
@@ -3819,26 +3850,26 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3819
3850
|
c(d, $({
|
|
3820
3851
|
is: s(m)
|
|
3821
3852
|
}, t(m)), null, 16, ["is"]),
|
|
3822
|
-
o.question.canRenderRemovePanelOnRight(m) ? (i(),
|
|
3853
|
+
o.question.canRenderRemovePanelOnRight(m) ? (i(), C(d, {
|
|
3823
3854
|
key: 0,
|
|
3824
3855
|
is: "sv-paneldynamic-remove-btn",
|
|
3825
3856
|
data: { question: o.question, panel: m }
|
|
3826
3857
|
}, null, 8, ["data"])) : p("", !0)
|
|
3827
3858
|
], 2),
|
|
3828
|
-
o.question.isRenderModeList &&
|
|
3859
|
+
o.question.isRenderModeList && g < o.question.visiblePanelCount - 1 ? (i(), a("hr", {
|
|
3829
3860
|
class: l(o.question.cssClasses.separator),
|
|
3830
3861
|
key: "separator" + m.id
|
|
3831
3862
|
}, null, 2)) : p("", !0)
|
|
3832
3863
|
], 64))), 128))
|
|
3833
3864
|
], 2),
|
|
3834
|
-
o.question.showNavigation ? (i(),
|
|
3865
|
+
o.question.showNavigation ? (i(), C(d, {
|
|
3835
3866
|
key: 3,
|
|
3836
3867
|
is: "survey-paneldynamicprogress-v2",
|
|
3837
3868
|
question: o.question
|
|
3838
3869
|
}, null, 8, ["question"])) : p("", !0)
|
|
3839
3870
|
], 2));
|
|
3840
3871
|
}
|
|
3841
|
-
}),
|
|
3872
|
+
}), vt = ["aria-label"], Ct = /* @__PURE__ */ y({
|
|
3842
3873
|
__name: "PanelDynamicProgress",
|
|
3843
3874
|
props: {
|
|
3844
3875
|
question: {}
|
|
@@ -3868,7 +3899,7 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3868
3899
|
style: L({ width: s.question.progress }),
|
|
3869
3900
|
role: "progressbar",
|
|
3870
3901
|
"aria-label": s.question.progressBarAriaLabel
|
|
3871
|
-
}, null, 14,
|
|
3902
|
+
}, null, 14, vt)
|
|
3872
3903
|
], 2)) : p("", !0),
|
|
3873
3904
|
c(d, {
|
|
3874
3905
|
is: "sv-paneldynamic-next-btn",
|
|
@@ -3886,7 +3917,7 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3886
3917
|
], 2)
|
|
3887
3918
|
], 2));
|
|
3888
3919
|
}
|
|
3889
|
-
}),
|
|
3920
|
+
}), ct = ["aria-label"], gt = /* @__PURE__ */ y({
|
|
3890
3921
|
__name: "PanelDynamicProgressV2",
|
|
3891
3922
|
props: {
|
|
3892
3923
|
question: {}
|
|
@@ -3908,7 +3939,7 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3908
3939
|
style: L({ width: e.question.progress }),
|
|
3909
3940
|
role: "progressbar",
|
|
3910
3941
|
"aria-label": e.question.progressBarAriaLabel
|
|
3911
|
-
}, null, 14,
|
|
3942
|
+
}, null, 14, ct)
|
|
3912
3943
|
], 2)) : p("", !0),
|
|
3913
3944
|
e.question.showFooterToolbar ? (i(), a("div", {
|
|
3914
3945
|
key: 1,
|
|
@@ -3921,7 +3952,7 @@ const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
|
3921
3952
|
], 2)) : p("", !0)
|
|
3922
3953
|
], 2)) : p("", !0);
|
|
3923
3954
|
}
|
|
3924
|
-
}),
|
|
3955
|
+
}), yt = /* @__PURE__ */ y({
|
|
3925
3956
|
__name: "PanelDynamicPlaceholder",
|
|
3926
3957
|
props: {
|
|
3927
3958
|
question: {}
|
|
@@ -3948,7 +3979,7 @@ function Q(u) {
|
|
|
3948
3979
|
() => u.item && u.item.data.question || u.data.question
|
|
3949
3980
|
);
|
|
3950
3981
|
}
|
|
3951
|
-
const
|
|
3982
|
+
const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
3952
3983
|
__name: "PaneldynamicAddBtn",
|
|
3953
3984
|
props: {
|
|
3954
3985
|
item: {},
|
|
@@ -3973,9 +4004,9 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
3973
4004
|
locString: w(n).locAddPanelText
|
|
3974
4005
|
}, null, 8, ["locString"])
|
|
3975
4006
|
], 2)
|
|
3976
|
-
], 10,
|
|
4007
|
+
], 10, ht)) : p("", !0);
|
|
3977
4008
|
}
|
|
3978
|
-
}),
|
|
4009
|
+
}), wt = ["title"], bt = /* @__PURE__ */ y({
|
|
3979
4010
|
__name: "PaneldynamicNextBtn",
|
|
3980
4011
|
props: {
|
|
3981
4012
|
item: {},
|
|
@@ -3995,9 +4026,9 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
3995
4026
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3996
4027
|
size: "auto"
|
|
3997
4028
|
}, null, 8, ["iconName"])
|
|
3998
|
-
], 10,
|
|
4029
|
+
], 10, wt));
|
|
3999
4030
|
}
|
|
4000
|
-
}),
|
|
4031
|
+
}), Lt = ["title"], kt = /* @__PURE__ */ y({
|
|
4001
4032
|
__name: "PaneldynamicPrevBtn",
|
|
4002
4033
|
props: {
|
|
4003
4034
|
item: {},
|
|
@@ -4017,9 +4048,9 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4017
4048
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4018
4049
|
size: "auto"
|
|
4019
4050
|
}, null, 8, ["iconName"])
|
|
4020
|
-
], 10,
|
|
4051
|
+
], 10, Lt));
|
|
4021
4052
|
}
|
|
4022
|
-
}),
|
|
4053
|
+
}), ft = ["id"], Mt = /* @__PURE__ */ y({
|
|
4023
4054
|
__name: "PaneldynamicRemoveBtn",
|
|
4024
4055
|
props: {
|
|
4025
4056
|
item: {},
|
|
@@ -4035,7 +4066,7 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4035
4066
|
type: "button",
|
|
4036
4067
|
id: t(s.value),
|
|
4037
4068
|
class: l(w(n).getPanelRemoveButtonCss()),
|
|
4038
|
-
onClick: m[0] || (m[0] = (
|
|
4069
|
+
onClick: m[0] || (m[0] = (g) => o(s.value))
|
|
4039
4070
|
}, [
|
|
4040
4071
|
v("span", {
|
|
4041
4072
|
class: l(w(n).cssClasses.buttonRemoveText)
|
|
@@ -4048,9 +4079,9 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4048
4079
|
v("span", {
|
|
4049
4080
|
class: l(w(n).cssClasses.iconRemove)
|
|
4050
4081
|
}, null, 2)
|
|
4051
|
-
], 10,
|
|
4082
|
+
], 10, ft));
|
|
4052
4083
|
}
|
|
4053
|
-
}),
|
|
4084
|
+
}), Ht = /* @__PURE__ */ y({
|
|
4054
4085
|
__name: "PaneldynamicProgressText",
|
|
4055
4086
|
props: {
|
|
4056
4087
|
item: {},
|
|
@@ -4060,9 +4091,9 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4060
4091
|
const n = Q(u);
|
|
4061
4092
|
return (s, t) => (i(), a("div", {
|
|
4062
4093
|
class: l(w(n).cssClasses.progressText)
|
|
4063
|
-
},
|
|
4094
|
+
}, H(w(n).progressText), 3));
|
|
4064
4095
|
}
|
|
4065
|
-
}),
|
|
4096
|
+
}), It = ["id"], Vt = /* @__PURE__ */ y({
|
|
4066
4097
|
__name: "Errors",
|
|
4067
4098
|
props: {
|
|
4068
4099
|
element: {},
|
|
@@ -4077,28 +4108,28 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4077
4108
|
ref_key: "root",
|
|
4078
4109
|
ref: e
|
|
4079
4110
|
}, [
|
|
4080
|
-
(i(!0), a(
|
|
4111
|
+
(i(!0), a(M, null, V(n.element.renderedErrors, (t, o) => (i(), C(d, {
|
|
4081
4112
|
is: n.element.survey.questionErrorComponent,
|
|
4082
4113
|
element: n.element,
|
|
4083
4114
|
key: o,
|
|
4084
4115
|
error: t,
|
|
4085
4116
|
cssClasses: n.element.cssClasses
|
|
4086
4117
|
}, null, 8, ["is", "element", "error", "cssClasses"]))), 128))
|
|
4087
|
-
], 10,
|
|
4118
|
+
], 10, It)) : p("", !0);
|
|
4088
4119
|
}
|
|
4089
|
-
}),
|
|
4120
|
+
}), St = { key: 0 }, Rt = /* @__PURE__ */ y({
|
|
4090
4121
|
__name: "QuestionComment",
|
|
4091
4122
|
props: {
|
|
4092
4123
|
question: {}
|
|
4093
4124
|
},
|
|
4094
4125
|
setup(u) {
|
|
4095
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
4126
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div", St, H(e.question.comment), 1)) : (i(), C(d, {
|
|
4096
4127
|
key: 1,
|
|
4097
4128
|
is: "sv-text-area",
|
|
4098
4129
|
model: e.question.commentTextAreaModel
|
|
4099
4130
|
}, null, 8, ["model"]));
|
|
4100
4131
|
}
|
|
4101
|
-
}),
|
|
4132
|
+
}), Tt = /* @__PURE__ */ y({
|
|
4102
4133
|
__name: "TitleElement",
|
|
4103
4134
|
props: {
|
|
4104
4135
|
element: {},
|
|
@@ -4108,7 +4139,7 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4108
4139
|
const e = (n) => {
|
|
4109
4140
|
we(n);
|
|
4110
4141
|
};
|
|
4111
|
-
return (n, s) => n.element.hasTitle ? (i(),
|
|
4142
|
+
return (n, s) => n.element.hasTitle ? (i(), C(ye(n.element.titleTagName), {
|
|
4112
4143
|
key: 0,
|
|
4113
4144
|
class: l(n.element.cssTitle),
|
|
4114
4145
|
"aria-label": n.element.titleAriaLabel,
|
|
@@ -4121,27 +4152,27 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4121
4152
|
})
|
|
4122
4153
|
}, {
|
|
4123
4154
|
default: D(() => [
|
|
4124
|
-
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(),
|
|
4155
|
+
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), C(d, {
|
|
4125
4156
|
key: 0,
|
|
4126
4157
|
is: "sv-svg-icon",
|
|
4127
4158
|
class: l(n.element.getCssTitleExpandableSvg()),
|
|
4128
4159
|
iconName: "icon-expand-16x16",
|
|
4129
4160
|
size: "'auto'"
|
|
4130
4161
|
}, null, 8, ["class"])) : p("", !0),
|
|
4131
|
-
n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(),
|
|
4162
|
+
n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), C(d, {
|
|
4132
4163
|
key: 1,
|
|
4133
4164
|
is: "sv-svg-icon",
|
|
4134
4165
|
class: l(n.element.getCssTitleExpandableSvg()),
|
|
4135
4166
|
iconName: "icon-collapse-16x16",
|
|
4136
4167
|
size: "'auto'"
|
|
4137
4168
|
}, null, 8, ["class"])) : p("", !0),
|
|
4138
|
-
n.element.hasTitleActions ? p("", !0) : (i(),
|
|
4169
|
+
n.element.hasTitleActions ? p("", !0) : (i(), C(d, {
|
|
4139
4170
|
key: 2,
|
|
4140
4171
|
is: "survey-element-title-content",
|
|
4141
4172
|
element: n.element,
|
|
4142
4173
|
css: n.css
|
|
4143
4174
|
}, null, 8, ["element", "css"])),
|
|
4144
|
-
n.element.hasTitleActions ? (i(),
|
|
4175
|
+
n.element.hasTitleActions ? (i(), C(d, {
|
|
4145
4176
|
key: 3,
|
|
4146
4177
|
is: "sv-title-actions",
|
|
4147
4178
|
element: n.element,
|
|
@@ -4151,7 +4182,7 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4151
4182
|
_: 1
|
|
4152
4183
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : p("", !0);
|
|
4153
4184
|
}
|
|
4154
|
-
}),
|
|
4185
|
+
}), Bt = { key: 2 }, Zt = { key: 4 }, $t = { key: 6 }, Dt = { key: 8 }, At = /* @__PURE__ */ y({
|
|
4155
4186
|
inheritAttrs: !1,
|
|
4156
4187
|
__name: "TitleContent",
|
|
4157
4188
|
props: {
|
|
@@ -4159,8 +4190,8 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4159
4190
|
css: {}
|
|
4160
4191
|
},
|
|
4161
4192
|
setup(u) {
|
|
4162
|
-
return (e, n) => (i(), a(
|
|
4163
|
-
e.element.isTitleRenderedAsString ? (i(),
|
|
4193
|
+
return (e, n) => (i(), a(M, null, [
|
|
4194
|
+
e.element.isTitleRenderedAsString ? (i(), C(d, {
|
|
4164
4195
|
key: 0,
|
|
4165
4196
|
is: "survey-string",
|
|
4166
4197
|
locString: e.element.locRenderedTitle
|
|
@@ -4169,35 +4200,35 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4169
4200
|
key: 1,
|
|
4170
4201
|
class: l(e.element.cssRequiredMark),
|
|
4171
4202
|
"aria-hidden": !0
|
|
4172
|
-
},
|
|
4173
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span",
|
|
4203
|
+
}, H(e.element.requiredMark), 3)) : p("", !0),
|
|
4204
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span", Bt, " ")) : p("", !0),
|
|
4174
4205
|
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", {
|
|
4175
4206
|
key: 3,
|
|
4176
4207
|
style: { position: "static" },
|
|
4177
4208
|
class: l(e.element.cssTitleNumber),
|
|
4178
4209
|
"aria-hidden": !0
|
|
4179
|
-
},
|
|
4180
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span",
|
|
4210
|
+
}, H(e.element.no), 3)) : p("", !0),
|
|
4211
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", Zt, " ")) : p("", !0),
|
|
4181
4212
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", {
|
|
4182
4213
|
key: 5,
|
|
4183
4214
|
class: l(e.element.cssRequiredMark),
|
|
4184
4215
|
"aria-hidden": !0
|
|
4185
|
-
},
|
|
4186
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span",
|
|
4187
|
-
e.element.isTitleRenderedAsString ? p("", !0) : (i(),
|
|
4216
|
+
}, H(e.element.requiredMark), 3)) : p("", !0),
|
|
4217
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", $t, " ")) : p("", !0),
|
|
4218
|
+
e.element.isTitleRenderedAsString ? p("", !0) : (i(), C(d, {
|
|
4188
4219
|
key: 7,
|
|
4189
4220
|
is: "survey-string",
|
|
4190
4221
|
locString: e.element.locRenderedTitle
|
|
4191
4222
|
}, null, 8, ["locString"])),
|
|
4192
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span",
|
|
4223
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", Dt, " ")) : p("", !0),
|
|
4193
4224
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", {
|
|
4194
4225
|
key: 9,
|
|
4195
4226
|
class: l(e.element.cssRequiredMark),
|
|
4196
4227
|
"aria-hidden": !0
|
|
4197
|
-
},
|
|
4228
|
+
}, H(e.element.requiredMark), 3)) : p("", !0)
|
|
4198
4229
|
], 64));
|
|
4199
4230
|
}
|
|
4200
|
-
}),
|
|
4231
|
+
}), Pt = { class: "sv-title-actions" }, Nt = { class: "sv-title-actions__title" }, Et = /* @__PURE__ */ y({
|
|
4201
4232
|
__name: "TitleActions",
|
|
4202
4233
|
props: {
|
|
4203
4234
|
element: {},
|
|
@@ -4205,14 +4236,14 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4205
4236
|
},
|
|
4206
4237
|
setup(u) {
|
|
4207
4238
|
const e = u, n = f(() => e.element.getTitleToolbar());
|
|
4208
|
-
return (s, t) => (i(), a("div",
|
|
4209
|
-
v("span",
|
|
4210
|
-
s.element.isPage ? (i(),
|
|
4239
|
+
return (s, t) => (i(), a("div", Pt, [
|
|
4240
|
+
v("span", Nt, [
|
|
4241
|
+
s.element.isPage ? (i(), C(d, {
|
|
4211
4242
|
key: 0,
|
|
4212
4243
|
is: "survey-string",
|
|
4213
4244
|
locString: s.element.locTitle
|
|
4214
4245
|
}, null, 8, ["locString"])) : p("", !0),
|
|
4215
|
-
s.element.isPage ? p("", !0) : (i(),
|
|
4246
|
+
s.element.isPage ? p("", !0) : (i(), C(d, {
|
|
4216
4247
|
key: 1,
|
|
4217
4248
|
is: "survey-element-title-content",
|
|
4218
4249
|
element: s.element,
|
|
@@ -4225,20 +4256,20 @@ const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
|
4225
4256
|
}, null, 8, ["model"])
|
|
4226
4257
|
]));
|
|
4227
4258
|
}
|
|
4228
|
-
}),
|
|
4259
|
+
}), Wt = (u, e) => {
|
|
4229
4260
|
const n = u.__vccOpts || u;
|
|
4230
4261
|
for (const [s, t] of e)
|
|
4231
4262
|
n[s] = t;
|
|
4232
4263
|
return n;
|
|
4233
|
-
},
|
|
4234
|
-
|
|
4264
|
+
}, Ft = {}, Ot = { class: "sv-brand-info" }, zt = /* @__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), Ut = [
|
|
4265
|
+
zt
|
|
4235
4266
|
];
|
|
4236
|
-
function
|
|
4237
|
-
return i(), a("div",
|
|
4267
|
+
function Qt(u, e) {
|
|
4268
|
+
return i(), a("div", Ot, Ut);
|
|
4238
4269
|
}
|
|
4239
|
-
const
|
|
4240
|
-
|
|
4241
|
-
],
|
|
4270
|
+
const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use", null, null, -1), Gt = [
|
|
4271
|
+
jt
|
|
4272
|
+
], Jt = /* @__PURE__ */ y({
|
|
4242
4273
|
__name: "SvgIcon",
|
|
4243
4274
|
props: {
|
|
4244
4275
|
size: {},
|
|
@@ -4267,9 +4298,9 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4267
4298
|
ref: n,
|
|
4268
4299
|
class: "sv-svg-icon",
|
|
4269
4300
|
role: "presentation"
|
|
4270
|
-
},
|
|
4301
|
+
}, Gt, 512));
|
|
4271
4302
|
}
|
|
4272
|
-
}),
|
|
4303
|
+
}), Xt = /* @__PURE__ */ y({
|
|
4273
4304
|
__name: "QuestionError",
|
|
4274
4305
|
props: {
|
|
4275
4306
|
error: {},
|
|
@@ -4296,7 +4327,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4296
4327
|
], 2)
|
|
4297
4328
|
]));
|
|
4298
4329
|
}
|
|
4299
|
-
}),
|
|
4330
|
+
}), Yt = /* @__PURE__ */ y({
|
|
4300
4331
|
__name: "ActionBar",
|
|
4301
4332
|
props: {
|
|
4302
4333
|
model: {},
|
|
@@ -4325,14 +4356,14 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4325
4356
|
class: l(o.model.getRootCss()),
|
|
4326
4357
|
onClick: s
|
|
4327
4358
|
}, [
|
|
4328
|
-
(i(!0), a(
|
|
4359
|
+
(i(!0), a(M, null, V(o.model.renderedActions, (m) => (i(), C(d, {
|
|
4329
4360
|
is: "sv-action",
|
|
4330
4361
|
key: m.renderedId,
|
|
4331
4362
|
item: m
|
|
4332
4363
|
}, null, 8, ["item"]))), 128))
|
|
4333
4364
|
], 6)) : p("", !0);
|
|
4334
4365
|
}
|
|
4335
|
-
}),
|
|
4366
|
+
}), _t = ["id"], xt = { class: "sv-action__content" }, eo = /* @__PURE__ */ y({
|
|
4336
4367
|
__name: "Action",
|
|
4337
4368
|
props: {
|
|
4338
4369
|
item: {}
|
|
@@ -4357,8 +4388,8 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4357
4388
|
ref_key: "root",
|
|
4358
4389
|
ref: e
|
|
4359
4390
|
}, [
|
|
4360
|
-
v("div",
|
|
4361
|
-
t.item.needSeparator ? (i(),
|
|
4391
|
+
v("div", xt, [
|
|
4392
|
+
t.item.needSeparator ? (i(), C(d, {
|
|
4362
4393
|
key: 0,
|
|
4363
4394
|
is: "sv-action-bar-separator"
|
|
4364
4395
|
})) : p("", !0),
|
|
@@ -4367,7 +4398,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4367
4398
|
item: t.item
|
|
4368
4399
|
}, null, 8, ["is", "item"])
|
|
4369
4400
|
])
|
|
4370
|
-
], 10,
|
|
4401
|
+
], 10, _t));
|
|
4371
4402
|
}
|
|
4372
4403
|
}), O = {
|
|
4373
4404
|
mounted: function(u, e) {
|
|
@@ -4387,10 +4418,10 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4387
4418
|
Qe(s);
|
|
4388
4419
|
});
|
|
4389
4420
|
}
|
|
4390
|
-
},
|
|
4421
|
+
}, so = ["disabled", "title", "aria-checked", "aria-expanded", "role"], no = {
|
|
4391
4422
|
inheritAttrs: !1
|
|
4392
|
-
},
|
|
4393
|
-
...
|
|
4423
|
+
}, to = /* @__PURE__ */ y({
|
|
4424
|
+
...no,
|
|
4394
4425
|
__name: "ActionBarItem",
|
|
4395
4426
|
props: {
|
|
4396
4427
|
item: {}
|
|
@@ -4418,7 +4449,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4418
4449
|
"aria-expanded": n.item.ariaExpanded,
|
|
4419
4450
|
role: n.item.ariaRole
|
|
4420
4451
|
}, [
|
|
4421
|
-
n.item.iconName ? (i(),
|
|
4452
|
+
n.item.iconName ? (i(), C(d, {
|
|
4422
4453
|
key: 0,
|
|
4423
4454
|
is: "sv-svg-icon",
|
|
4424
4455
|
class: l(n.item.cssClasses.itemIcon),
|
|
@@ -4429,15 +4460,15 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4429
4460
|
n.item.hasTitle ? (i(), a("span", {
|
|
4430
4461
|
key: 1,
|
|
4431
4462
|
class: l(n.item.getActionBarItemTitleCss())
|
|
4432
|
-
},
|
|
4433
|
-
], 42,
|
|
4463
|
+
}, H(n.item.title), 3)) : p("", !0)
|
|
4464
|
+
], 42, so)), [
|
|
4434
4465
|
[w(O), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4435
4466
|
]);
|
|
4436
4467
|
}
|
|
4437
|
-
}),
|
|
4468
|
+
}), oo = ["disabled", "title", "role"], io = {
|
|
4438
4469
|
inheritAttrs: !1
|
|
4439
|
-
},
|
|
4440
|
-
...
|
|
4470
|
+
}, ro = /* @__PURE__ */ y({
|
|
4471
|
+
...io,
|
|
4441
4472
|
__name: "ActionBarItemDropdown",
|
|
4442
4473
|
props: {
|
|
4443
4474
|
item: {}
|
|
@@ -4453,7 +4484,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4453
4484
|
() => {
|
|
4454
4485
|
n.dispose();
|
|
4455
4486
|
}
|
|
4456
|
-
), (s, t) => (i(), a(
|
|
4487
|
+
), (s, t) => (i(), a(M, null, [
|
|
4457
4488
|
B((i(), a("button", {
|
|
4458
4489
|
type: "button",
|
|
4459
4490
|
class: l(s.item.getActionBarItemCss()),
|
|
@@ -4467,7 +4498,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4467
4498
|
title: s.item.tooltip || s.item.title,
|
|
4468
4499
|
role: s.item.ariaRole
|
|
4469
4500
|
}, [
|
|
4470
|
-
s.item.iconName ? (i(),
|
|
4501
|
+
s.item.iconName ? (i(), C(d, {
|
|
4471
4502
|
key: 0,
|
|
4472
4503
|
is: "sv-svg-icon",
|
|
4473
4504
|
class: l(s.item.cssClasses.itemIcon),
|
|
@@ -4478,8 +4509,8 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4478
4509
|
s.item.hasTitle ? (i(), a("span", {
|
|
4479
4510
|
key: 1,
|
|
4480
4511
|
class: l(s.item.getActionBarItemTitleCss())
|
|
4481
|
-
},
|
|
4482
|
-
], 42,
|
|
4512
|
+
}, H(s.item.title), 3)) : p("", !0)
|
|
4513
|
+
], 42, oo)), [
|
|
4483
4514
|
[w(O), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4484
4515
|
]),
|
|
4485
4516
|
c(d, {
|
|
@@ -4488,7 +4519,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4488
4519
|
}, null, 8, ["model"])
|
|
4489
4520
|
], 64));
|
|
4490
4521
|
}
|
|
4491
|
-
}),
|
|
4522
|
+
}), lo = /* @__PURE__ */ y({
|
|
4492
4523
|
__name: "ActionBarSeparator",
|
|
4493
4524
|
props: {
|
|
4494
4525
|
item: {}
|
|
@@ -4499,7 +4530,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4499
4530
|
class: l(["sv-action-bar-separator", n.value])
|
|
4500
4531
|
}, null, 2));
|
|
4501
4532
|
}
|
|
4502
|
-
}),
|
|
4533
|
+
}), ao = ["aria-label", "placeholder", "value"], uo = ["aria-label"], mo = ["role", "aria-label", "id"], po = /* @__PURE__ */ y({
|
|
4503
4534
|
__name: "List",
|
|
4504
4535
|
props: {
|
|
4505
4536
|
model: {}
|
|
@@ -4544,11 +4575,11 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4544
4575
|
value: r.model.filterString,
|
|
4545
4576
|
onChange: s,
|
|
4546
4577
|
onKeyup: t
|
|
4547
|
-
}, null, 42,
|
|
4578
|
+
}, null, 42, ao),
|
|
4548
4579
|
r.model.showSearchClearButton && r.model.filterString ? (i(), a("button", {
|
|
4549
4580
|
key: 0,
|
|
4550
|
-
onClick: m[0] || (m[0] = (
|
|
4551
|
-
r.model.onClickSearchClearButton(
|
|
4581
|
+
onClick: m[0] || (m[0] = (g) => {
|
|
4582
|
+
r.model.onClickSearchClearButton(g);
|
|
4552
4583
|
}),
|
|
4553
4584
|
class: l(r.model.cssClasses.searchClearButtonIcon)
|
|
4554
4585
|
}, [
|
|
@@ -4565,7 +4596,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4565
4596
|
v("div", {
|
|
4566
4597
|
class: l(r.model.cssClasses.emptyText),
|
|
4567
4598
|
"aria-label": r.model.emptyMessage
|
|
4568
|
-
},
|
|
4599
|
+
}, H(r.model.emptyMessage), 11, uo)
|
|
4569
4600
|
], 2), [
|
|
4570
4601
|
[A, r.model.isEmpty]
|
|
4571
4602
|
]),
|
|
@@ -4575,26 +4606,26 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4575
4606
|
role: r.model.listRole,
|
|
4576
4607
|
"aria-label": r.model.a11ya11y_input_ariaLabel,
|
|
4577
4608
|
id: r.model.elementId,
|
|
4578
|
-
onMousedown: m[1] || (m[1] = (
|
|
4579
|
-
|
|
4609
|
+
onMousedown: m[1] || (m[1] = (g) => {
|
|
4610
|
+
g.preventDefault();
|
|
4580
4611
|
}),
|
|
4581
4612
|
onMousemove: o,
|
|
4582
|
-
onKeydown: m[2] || (m[2] = (
|
|
4583
|
-
r.model.onKeyDown(
|
|
4613
|
+
onKeydown: m[2] || (m[2] = (g) => {
|
|
4614
|
+
r.model.onKeyDown(g);
|
|
4584
4615
|
})
|
|
4585
4616
|
}, [
|
|
4586
|
-
(i(!0), a(
|
|
4617
|
+
(i(!0), a(M, null, V(r.model.renderedActions, (g) => (i(), C(d, {
|
|
4587
4618
|
is: "sv-list-item",
|
|
4588
|
-
item:
|
|
4619
|
+
item: g,
|
|
4589
4620
|
model: r.model,
|
|
4590
|
-
key:
|
|
4621
|
+
key: g.id
|
|
4591
4622
|
}, null, 8, ["item", "model"]))), 128))
|
|
4592
|
-
], 42,
|
|
4623
|
+
], 42, mo)), [
|
|
4593
4624
|
[A, !r.model.isEmpty]
|
|
4594
4625
|
]) : p("", !0)
|
|
4595
4626
|
], 2));
|
|
4596
4627
|
}
|
|
4597
|
-
}),
|
|
4628
|
+
}), vo = ["role", "aria-selected", "aria-checked", "id", "tabindex"], Co = ["title"], co = /* @__PURE__ */ y({
|
|
4598
4629
|
__name: "ListItem",
|
|
4599
4630
|
props: {
|
|
4600
4631
|
model: {},
|
|
@@ -4620,7 +4651,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4620
4651
|
id: s.value,
|
|
4621
4652
|
ref_key: "elementRef",
|
|
4622
4653
|
ref: n,
|
|
4623
|
-
onPointerdown: m[2] || (m[2] = (
|
|
4654
|
+
onPointerdown: m[2] || (m[2] = (g) => r.model.onPointerDown(g, r.item)),
|
|
4624
4655
|
class: l(r.model.getItemClass(r.item)),
|
|
4625
4656
|
onClick: t,
|
|
4626
4657
|
tabindex: r.item.disableTabStop ? -1 : 0
|
|
@@ -4633,21 +4664,21 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4633
4664
|
style: L(r.model.getItemStyle(r.item)),
|
|
4634
4665
|
class: l(r.model.cssClasses.itemBody),
|
|
4635
4666
|
title: r.item.getTooltip(),
|
|
4636
|
-
onMouseover: m[0] || (m[0] = (
|
|
4637
|
-
onMouseleave: m[1] || (m[1] = (
|
|
4667
|
+
onMouseover: m[0] || (m[0] = (g) => r.model.onItemHover(r.item)),
|
|
4668
|
+
onMouseleave: m[1] || (m[1] = (g) => r.model.onItemLeave(r.item))
|
|
4638
4669
|
}, [
|
|
4639
4670
|
c(d, {
|
|
4640
4671
|
is: o.value,
|
|
4641
4672
|
item: r.item,
|
|
4642
4673
|
model: r.model
|
|
4643
4674
|
}, null, 8, ["is", "item", "model"])
|
|
4644
|
-
], 46,
|
|
4645
|
-
], 42,
|
|
4675
|
+
], 46, Co)
|
|
4676
|
+
], 42, vo)), [
|
|
4646
4677
|
[A, r.model.isItemVisible(r.item)],
|
|
4647
4678
|
[w(O), { processEsc: !1, disableTabStop: r.item.disableTabStop }]
|
|
4648
4679
|
]);
|
|
4649
4680
|
}
|
|
4650
|
-
}),
|
|
4681
|
+
}), go = /* @__PURE__ */ y({
|
|
4651
4682
|
__name: "ListItemContent",
|
|
4652
4683
|
props: {
|
|
4653
4684
|
model: {},
|
|
@@ -4655,8 +4686,8 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4655
4686
|
},
|
|
4656
4687
|
setup(u) {
|
|
4657
4688
|
const e = u;
|
|
4658
|
-
return I(() => e.item), (n, s) => (i(), a(
|
|
4659
|
-
n.item.iconName ? (i(),
|
|
4689
|
+
return I(() => e.item), (n, s) => (i(), a(M, null, [
|
|
4690
|
+
n.item.iconName ? (i(), C(d, {
|
|
4660
4691
|
key: 0,
|
|
4661
4692
|
is: "sv-svg-icon",
|
|
4662
4693
|
class: l(n.model.cssClasses.itemIcon),
|
|
@@ -4667,7 +4698,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4667
4698
|
is: "survey-string",
|
|
4668
4699
|
locString: n.item.locTitle
|
|
4669
4700
|
}, null, 8, ["locString"]),
|
|
4670
|
-
n.item.markerIconName ? (i(),
|
|
4701
|
+
n.item.markerIconName ? (i(), C(d, {
|
|
4671
4702
|
key: 1,
|
|
4672
4703
|
is: "sv-svg-icon",
|
|
4673
4704
|
class: l(n.item.cssClasses.itemMarkerIcon),
|
|
@@ -4676,7 +4707,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4676
4707
|
}, null, 8, ["class", "iconName"])) : p("", !0)
|
|
4677
4708
|
], 64));
|
|
4678
4709
|
}
|
|
4679
|
-
}),
|
|
4710
|
+
}), yo = /* @__PURE__ */ y({
|
|
4680
4711
|
__name: "ListItemGroup",
|
|
4681
4712
|
props: {
|
|
4682
4713
|
model: {},
|
|
@@ -4684,7 +4715,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4684
4715
|
},
|
|
4685
4716
|
setup(u) {
|
|
4686
4717
|
const e = u;
|
|
4687
|
-
return I(() => e.item), (n, s) => (i(), a(
|
|
4718
|
+
return I(() => e.item), (n, s) => (i(), a(M, null, [
|
|
4688
4719
|
c(d, {
|
|
4689
4720
|
is: "sv-list-item-content",
|
|
4690
4721
|
item: n.item,
|
|
@@ -4696,7 +4727,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4696
4727
|
}, null, 8, ["model"])
|
|
4697
4728
|
], 64));
|
|
4698
4729
|
}
|
|
4699
|
-
}),
|
|
4730
|
+
}), ho = /* @__PURE__ */ y({
|
|
4700
4731
|
__name: "Popup",
|
|
4701
4732
|
props: {
|
|
4702
4733
|
model: {}
|
|
@@ -4726,13 +4757,13 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4726
4757
|
}, null, 8, ["model"])
|
|
4727
4758
|
], 512));
|
|
4728
4759
|
}
|
|
4729
|
-
}),
|
|
4760
|
+
}), qo = { class: "sv-popup__body-content" }, wo = {
|
|
4730
4761
|
key: 0,
|
|
4731
4762
|
class: "sv-popup__body-header"
|
|
4732
|
-
},
|
|
4763
|
+
}, bo = { class: "sv-popup__scrolling-content" }, Lo = { class: "sv-popup__content" }, ko = {
|
|
4733
4764
|
key: 1,
|
|
4734
4765
|
class: "sv-popup__body-footer"
|
|
4735
|
-
},
|
|
4766
|
+
}, fo = /* @__PURE__ */ y({
|
|
4736
4767
|
__name: "PopupContainer",
|
|
4737
4768
|
props: {
|
|
4738
4769
|
model: {}
|
|
@@ -4770,21 +4801,21 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4770
4801
|
}),
|
|
4771
4802
|
onClick: n
|
|
4772
4803
|
}, [
|
|
4773
|
-
s.model.showHeader ? (i(),
|
|
4804
|
+
s.model.showHeader ? (i(), C(d, {
|
|
4774
4805
|
key: 0,
|
|
4775
4806
|
is: s.model.popupHeaderTemplate,
|
|
4776
4807
|
model: s.model
|
|
4777
4808
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4778
|
-
v("div",
|
|
4779
|
-
s.model.title ? (i(), a("div",
|
|
4780
|
-
v("div",
|
|
4781
|
-
v("div",
|
|
4809
|
+
v("div", qo, [
|
|
4810
|
+
s.model.title ? (i(), a("div", wo, H(s.model.title), 1)) : p("", !0),
|
|
4811
|
+
v("div", bo, [
|
|
4812
|
+
v("div", Lo, [
|
|
4782
4813
|
c(d, $({
|
|
4783
4814
|
is: s.model.contentComponentName
|
|
4784
4815
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4785
4816
|
])
|
|
4786
4817
|
]),
|
|
4787
|
-
s.model.showFooter ? (i(), a("div",
|
|
4818
|
+
s.model.showFooter ? (i(), a("div", ko, [
|
|
4788
4819
|
c(d, {
|
|
4789
4820
|
is: "sv-action-bar",
|
|
4790
4821
|
model: s.model.footerToolbar
|
|
@@ -4810,7 +4841,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4810
4841
|
})
|
|
4811
4842
|
}, null, 4));
|
|
4812
4843
|
}
|
|
4813
|
-
}),
|
|
4844
|
+
}), Ho = /* @__PURE__ */ y({
|
|
4814
4845
|
__name: "Container",
|
|
4815
4846
|
props: {
|
|
4816
4847
|
survey: {},
|
|
@@ -4821,19 +4852,19 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4821
4852
|
const e = u, n = f(
|
|
4822
4853
|
() => e.survey.getContainerContent(e.container)
|
|
4823
4854
|
);
|
|
4824
|
-
return (s, t) => n.value.length > 0 ? (i(), a(
|
|
4855
|
+
return (s, t) => n.value.length > 0 ? (i(), a(M, { key: 0 }, [
|
|
4825
4856
|
s.needRenderWrapper ? (i(), a("div", {
|
|
4826
4857
|
key: 0,
|
|
4827
4858
|
class: l(["sv-components-column", "sv-components-container-" + s.container])
|
|
4828
4859
|
}, [
|
|
4829
|
-
(i(!0), a(
|
|
4860
|
+
(i(!0), a(M, null, V(n.value, (o) => (i(), C(d, {
|
|
4830
4861
|
key: o.id,
|
|
4831
4862
|
is: o.component,
|
|
4832
4863
|
survey: s.survey,
|
|
4833
4864
|
container: s.container,
|
|
4834
4865
|
model: o.data
|
|
4835
4866
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4836
|
-
], 2)) : (i(!0), a(
|
|
4867
|
+
], 2)) : (i(!0), a(M, { key: 1 }, V(n.value, (o) => (i(), C(d, {
|
|
4837
4868
|
key: o.id,
|
|
4838
4869
|
is: o.component,
|
|
4839
4870
|
survey: s.survey,
|
|
@@ -4842,7 +4873,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4842
4873
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4843
4874
|
], 64)) : p("", !0);
|
|
4844
4875
|
}
|
|
4845
|
-
}),
|
|
4876
|
+
}), Io = ["aria-label"], G = /* @__PURE__ */ y({
|
|
4846
4877
|
__name: "Progress",
|
|
4847
4878
|
props: {
|
|
4848
4879
|
survey: {},
|
|
@@ -4864,14 +4895,14 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4864
4895
|
}, [
|
|
4865
4896
|
v("span", {
|
|
4866
4897
|
class: l(s(o.survey.css))
|
|
4867
|
-
},
|
|
4868
|
-
], 14,
|
|
4898
|
+
}, H(o.survey.progressText), 3)
|
|
4899
|
+
], 14, Io),
|
|
4869
4900
|
v("span", {
|
|
4870
4901
|
class: l(t(o.survey.css))
|
|
4871
|
-
},
|
|
4902
|
+
}, H(o.survey.progressText), 3)
|
|
4872
4903
|
], 2));
|
|
4873
4904
|
}
|
|
4874
|
-
}),
|
|
4905
|
+
}), Vo = ["aria-label"], So = ["title"], Ro = ["onClick", "data-page-number"], To = ["title"], Bo = ["title"], Zo = ["title"], $o = /* @__PURE__ */ y({
|
|
4875
4906
|
__name: "ProgressButtons",
|
|
4876
4907
|
props: {
|
|
4877
4908
|
survey: {},
|
|
@@ -4880,14 +4911,14 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4880
4911
|
},
|
|
4881
4912
|
setup(u) {
|
|
4882
4913
|
const e = u, n = k(!1), s = k(!1), t = k(!1), o = k(!0), r = k(), m = f(() => e.survey.css);
|
|
4883
|
-
let
|
|
4914
|
+
let g = null;
|
|
4884
4915
|
const S = (h) => {
|
|
4885
4916
|
let q = r.value;
|
|
4886
4917
|
q.scrollLeft += (h ? -1 : 1) * 70;
|
|
4887
4918
|
};
|
|
4888
4919
|
return T(() => {
|
|
4889
4920
|
const h = r.value;
|
|
4890
|
-
|
|
4921
|
+
g = new Ge(e.model, h, {
|
|
4891
4922
|
onResize: (q) => {
|
|
4892
4923
|
o.value = q, s.value = !q;
|
|
4893
4924
|
},
|
|
@@ -4900,7 +4931,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4900
4931
|
container: f(() => e.container)
|
|
4901
4932
|
});
|
|
4902
4933
|
}), z(() => {
|
|
4903
|
-
|
|
4934
|
+
g.dispose();
|
|
4904
4935
|
}), (h, q) => (i(), a("div", {
|
|
4905
4936
|
class: l(h.model.getRootCss(h.container)),
|
|
4906
4937
|
style: L({ maxWidth: h.model.progressWidth }),
|
|
@@ -4916,7 +4947,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4916
4947
|
v("div", {
|
|
4917
4948
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4918
4949
|
title: h.model.headerText
|
|
4919
|
-
},
|
|
4950
|
+
}, H(h.model.headerText), 11, So)
|
|
4920
4951
|
], 2)) : p("", !0),
|
|
4921
4952
|
v("div", {
|
|
4922
4953
|
class: l(m.value.progressButtonsContainer)
|
|
@@ -4934,7 +4965,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4934
4965
|
v("ul", {
|
|
4935
4966
|
class: l(m.value.progressButtonsList)
|
|
4936
4967
|
}, [
|
|
4937
|
-
(i(!0), a(
|
|
4968
|
+
(i(!0), a(M, null, V(h.survey.visiblePages, (b, Z) => (i(), a("li", {
|
|
4938
4969
|
key: "listelement" + Z,
|
|
4939
4970
|
class: l(h.model.getListElementCss(Z)),
|
|
4940
4971
|
onClick: (x) => h.model.isListElementClickable(Z) ? h.model.clickListElement(b) : null,
|
|
@@ -4952,12 +4983,12 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4952
4983
|
is: "survey-string",
|
|
4953
4984
|
locString: b.locNavigationTitle
|
|
4954
4985
|
}, null, 8, ["locString"])
|
|
4955
|
-
], 10,
|
|
4986
|
+
], 10, To)) : p("", !0),
|
|
4956
4987
|
o.value ? (i(), a("div", {
|
|
4957
4988
|
key: 1,
|
|
4958
4989
|
class: l(m.value.progressButtonsPageDescription),
|
|
4959
4990
|
title: b.locNavigationDescription.renderedHtml
|
|
4960
|
-
},
|
|
4991
|
+
}, H(b.locNavigationDescription.renderedHtml), 11, Bo)) : p("", !0),
|
|
4961
4992
|
v("div", {
|
|
4962
4993
|
class: l(m.value.progressButtonsButton)
|
|
4963
4994
|
}, [
|
|
@@ -4967,9 +4998,9 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4967
4998
|
v("div", {
|
|
4968
4999
|
class: l(m.value.progressButtonsButtonContent)
|
|
4969
5000
|
}, null, 2),
|
|
4970
|
-
v("span", null,
|
|
5001
|
+
v("span", null, H(h.model.getItemNumber(b)), 1)
|
|
4971
5002
|
], 2)
|
|
4972
|
-
], 10,
|
|
5003
|
+
], 10, Ro))), 128))
|
|
4973
5004
|
], 2)
|
|
4974
5005
|
], 2),
|
|
4975
5006
|
v("div", {
|
|
@@ -4985,11 +5016,11 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
4985
5016
|
v("div", {
|
|
4986
5017
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4987
5018
|
title: h.model.footerText
|
|
4988
|
-
},
|
|
5019
|
+
}, H(h.model.footerText), 11, Zo)
|
|
4989
5020
|
], 2)) : p("", !0)
|
|
4990
|
-
], 14,
|
|
5021
|
+
], 14, Vo));
|
|
4991
5022
|
}
|
|
4992
|
-
}),
|
|
5023
|
+
}), Do = /* @__PURE__ */ y({
|
|
4993
5024
|
__name: "ProgressToc",
|
|
4994
5025
|
props: {
|
|
4995
5026
|
survey: {},
|
|
@@ -5018,7 +5049,7 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
5018
5049
|
}, null, 8, ["model"])
|
|
5019
5050
|
])), [
|
|
5020
5051
|
[w(O)]
|
|
5021
|
-
]) : (i(),
|
|
5052
|
+
]) : (i(), C(d, {
|
|
5022
5053
|
key: 1,
|
|
5023
5054
|
is: "sv-list",
|
|
5024
5055
|
model: n.model.listModel
|
|
@@ -5027,11 +5058,11 @@ const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use
|
|
|
5027
5058
|
}
|
|
5028
5059
|
});
|
|
5029
5060
|
/*!
|
|
5030
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5061
|
+
* surveyjs - Survey JavaScript library v2.3.10
|
|
5031
5062
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5032
5063
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5033
5064
|
*/
|
|
5034
|
-
var
|
|
5065
|
+
var Ao = {
|
|
5035
5066
|
modernbooleancheckchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>',
|
|
5036
5067
|
modernbooleancheckind: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>',
|
|
5037
5068
|
modernbooleancheckunchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>',
|
|
@@ -5095,7 +5126,7 @@ var Po = {
|
|
|
5095
5126
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5096
5127
|
};
|
|
5097
5128
|
/*!
|
|
5098
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5129
|
+
* surveyjs - Survey JavaScript library v2.3.10
|
|
5099
5130
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5100
5131
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5101
5132
|
*/
|
|
@@ -5162,11 +5193,11 @@ var fe = {
|
|
|
5162
5193
|
"smiley-rate8-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85721 24 1.15412 20.96 0.0134987 14.16C-0.0765501 13.62 0.293651 13.1 0.833944 13.01C1.38424 12.92 1.89452 13.29 1.98457 13.83C2.92508 19.47 7.69767 21.99 12 21.99C16.3023 21.99 21.0749 19.47 22.0154 13.83C22.1055 13.29 22.6158 12.92 23.1661 13.01C23.7063 13.1 24.0765 13.62 23.9865 14.16C22.8559 20.95 17.1428 24 11.99 24H12.01ZM8.00783 6V2C8.00783 1.45 7.55759 1 7.00729 1C6.45699 1 6.00675 1.45 6.00675 2V6C6.00675 6.55 6.45699 7 7.00729 7C7.55759 7 8.00783 6.55 8.00783 6ZM18.0133 6V2C18.0133 1.45 17.563 1 17.0127 1C16.4624 1 16.0122 1.45 16.0122 2V6C16.0122 6.55 16.4624 7 17.0127 7C17.563 7 18.0133 6.55 18.0133 6Z"></path></svg>',
|
|
5163
5194
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5164
5195
|
};
|
|
5165
|
-
const
|
|
5196
|
+
const Po = ["lang", "dir"], No = { onsubmit: "return false;" }, Eo = {
|
|
5166
5197
|
key: 0,
|
|
5167
5198
|
class: "sv_custom_header"
|
|
5168
|
-
},
|
|
5169
|
-
be("v1",
|
|
5199
|
+
}, Wo = { class: "sv-components-column sv-components-column--expandable" }, Fo = ["id"], Oo = { key: 2 }, zo = ["innerHTML"], Uo = ["innerHTML"], Qo = ["innerHTML"];
|
|
5200
|
+
be("v1", Ao);
|
|
5170
5201
|
be("v2", fe);
|
|
5171
5202
|
J.registerIcons(fe);
|
|
5172
5203
|
const oe = /* @__PURE__ */ y({
|
|
@@ -5184,7 +5215,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5184
5215
|
return !!t.value && q + s.value.toString();
|
|
5185
5216
|
}, m = f(
|
|
5186
5217
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5187
|
-
),
|
|
5218
|
+
), g = f(() => t.value.css), S = f(() => "page" + r()), h = (q) => {
|
|
5188
5219
|
if (q) {
|
|
5189
5220
|
var b = n.value;
|
|
5190
5221
|
b && q.afterRenderSurvey(b), q.renderCallback = () => {
|
|
@@ -5217,7 +5248,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5217
5248
|
disabled: t.value.rootScrollDisabled
|
|
5218
5249
|
}, {
|
|
5219
5250
|
default: D(() => [
|
|
5220
|
-
t.value.needRenderIcons ? (i(),
|
|
5251
|
+
t.value.needRenderIcons ? (i(), C(d, {
|
|
5221
5252
|
key: 0,
|
|
5222
5253
|
is: "sv-svg-bundle"
|
|
5223
5254
|
})) : p("", !0),
|
|
@@ -5227,20 +5258,20 @@ const oe = /* @__PURE__ */ y({
|
|
|
5227
5258
|
c(d, { is: "survey-popup-modal" }),
|
|
5228
5259
|
t.value.renderBackgroundImage ? (i(), a("div", {
|
|
5229
5260
|
key: 0,
|
|
5230
|
-
class: l(
|
|
5261
|
+
class: l(g.value.rootBackgroundImage),
|
|
5231
5262
|
style: L(t.value.backgroundImageStyle)
|
|
5232
5263
|
}, null, 6)) : p("", !0),
|
|
5233
|
-
v("form",
|
|
5264
|
+
v("form", No, [
|
|
5234
5265
|
c(d, {
|
|
5235
5266
|
is: "sv-scroll",
|
|
5236
5267
|
disabled: t.value.formScrollDisabled
|
|
5237
5268
|
}, {
|
|
5238
5269
|
default: D(() => [
|
|
5239
|
-
t.value.hasLogo ? p("", !0) : (i(), a("div",
|
|
5270
|
+
t.value.hasLogo ? p("", !0) : (i(), a("div", Eo)),
|
|
5240
5271
|
v("div", {
|
|
5241
|
-
class: l(
|
|
5272
|
+
class: l(g.value.container)
|
|
5242
5273
|
}, [
|
|
5243
|
-
t.value.headerView === "basic" ? (i(),
|
|
5274
|
+
t.value.headerView === "basic" ? (i(), C(d, {
|
|
5244
5275
|
key: 0,
|
|
5245
5276
|
is: "survey-header",
|
|
5246
5277
|
survey: t.value
|
|
@@ -5261,7 +5292,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5261
5292
|
container: "left",
|
|
5262
5293
|
needRenderWrapper: !0
|
|
5263
5294
|
}, null, 8, ["survey"]),
|
|
5264
|
-
v("div",
|
|
5295
|
+
v("div", Wo, [
|
|
5265
5296
|
c(d, {
|
|
5266
5297
|
is: "sv-components-container",
|
|
5267
5298
|
survey: t.value,
|
|
@@ -5279,12 +5310,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5279
5310
|
container: "contentTop",
|
|
5280
5311
|
needRenderWrapper: !0
|
|
5281
5312
|
}, null, 8, ["survey"]),
|
|
5282
|
-
(i(),
|
|
5313
|
+
(i(), C(d, {
|
|
5283
5314
|
is: t.value.pageComponent || "sv-page",
|
|
5284
5315
|
key: S.value,
|
|
5285
5316
|
survey: t.value,
|
|
5286
5317
|
page: t.value.activePage,
|
|
5287
|
-
css:
|
|
5318
|
+
css: g.value
|
|
5288
5319
|
}, null, 8, ["is", "survey", "page", "css"])),
|
|
5289
5320
|
c(d, {
|
|
5290
5321
|
is: "sv-components-container",
|
|
@@ -5292,11 +5323,11 @@ const oe = /* @__PURE__ */ y({
|
|
|
5292
5323
|
container: "contentBottom",
|
|
5293
5324
|
needRenderWrapper: !0
|
|
5294
5325
|
}, null, 8, ["survey"]),
|
|
5295
|
-
t.value.showBrandInfo ? (i(),
|
|
5326
|
+
t.value.showBrandInfo ? (i(), C(d, {
|
|
5296
5327
|
key: 0,
|
|
5297
5328
|
is: "sv-brand-info"
|
|
5298
5329
|
})) : p("", !0)
|
|
5299
|
-
], 14,
|
|
5330
|
+
], 14, Fo)
|
|
5300
5331
|
]),
|
|
5301
5332
|
c(d, {
|
|
5302
5333
|
is: "sv-components-container",
|
|
@@ -5311,11 +5342,11 @@ const oe = /* @__PURE__ */ y({
|
|
|
5311
5342
|
container: "footer",
|
|
5312
5343
|
needRenderWrapper: !1
|
|
5313
5344
|
}, null, 8, ["survey"]),
|
|
5314
|
-
m.value ? (i(), a("div",
|
|
5345
|
+
m.value ? (i(), a("div", Oo, [
|
|
5315
5346
|
v("div", {
|
|
5316
5347
|
innerHTML: t.value.processedCompletedHtml,
|
|
5317
5348
|
class: l(t.value.completedCss)
|
|
5318
|
-
}, null, 10,
|
|
5349
|
+
}, null, 10, zo),
|
|
5319
5350
|
c(d, {
|
|
5320
5351
|
is: "sv-components-container",
|
|
5321
5352
|
survey: t.value,
|
|
@@ -5327,16 +5358,16 @@ const oe = /* @__PURE__ */ y({
|
|
|
5327
5358
|
key: 3,
|
|
5328
5359
|
class: l(t.value.completedBeforeCss),
|
|
5329
5360
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5330
|
-
}, null, 10,
|
|
5361
|
+
}, null, 10, Uo)) : p("", !0),
|
|
5331
5362
|
t.value.state === "loading" ? (i(), a("div", {
|
|
5332
5363
|
key: 4,
|
|
5333
5364
|
class: l(t.value.loadingBodyCss),
|
|
5334
5365
|
innerHTML: t.value.processedLoadingHtml
|
|
5335
|
-
}, null, 10,
|
|
5366
|
+
}, null, 10, Qo)) : p("", !0),
|
|
5336
5367
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5337
5368
|
key: 5,
|
|
5338
|
-
class: l(
|
|
5339
|
-
},
|
|
5369
|
+
class: l(g.value.bodyEmpty)
|
|
5370
|
+
}, H(t.value.emptySurveyText), 3)) : p("", !0)
|
|
5340
5371
|
], 2)
|
|
5341
5372
|
]),
|
|
5342
5373
|
_: 1
|
|
@@ -5350,9 +5381,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5350
5381
|
]),
|
|
5351
5382
|
_: 1
|
|
5352
5383
|
}, 8, ["disabled"])
|
|
5353
|
-
], 14,
|
|
5384
|
+
], 14, Po));
|
|
5354
5385
|
}
|
|
5355
|
-
}),
|
|
5386
|
+
}), Ko = /* @__PURE__ */ y({
|
|
5356
5387
|
__name: "Notifier",
|
|
5357
5388
|
props: {
|
|
5358
5389
|
model: {}
|
|
@@ -5366,14 +5397,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5366
5397
|
role: "alert",
|
|
5367
5398
|
"aria-live": "polite"
|
|
5368
5399
|
}, [
|
|
5369
|
-
v("span", null,
|
|
5400
|
+
v("span", null, H(n.model.message), 1),
|
|
5370
5401
|
c(d, {
|
|
5371
5402
|
is: "sv-action-bar",
|
|
5372
5403
|
model: n.model.actionBar
|
|
5373
5404
|
}, null, 8, ["model"])
|
|
5374
5405
|
], 6)) : p("", !0);
|
|
5375
5406
|
}
|
|
5376
|
-
}),
|
|
5407
|
+
}), jo = { key: 0 }, Go = /* @__PURE__ */ y({
|
|
5377
5408
|
__name: "QuestionOther",
|
|
5378
5409
|
props: {
|
|
5379
5410
|
question: {},
|
|
@@ -5383,14 +5414,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5383
5414
|
return (e, n) => (i(), a("div", {
|
|
5384
5415
|
class: l(e.question.getCommentAreaCss(!0))
|
|
5385
5416
|
}, [
|
|
5386
|
-
e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
5417
|
+
e.question.isReadOnlyRenderDiv() ? (i(), a("div", jo, H(e.question.getCommentValue(e.item)), 1)) : (i(), C(d, {
|
|
5387
5418
|
key: 1,
|
|
5388
5419
|
is: "sv-text-area",
|
|
5389
5420
|
model: e.question.getCommentTextAreaModel(e.item)
|
|
5390
5421
|
}, null, 8, ["model"]))
|
|
5391
5422
|
], 2));
|
|
5392
5423
|
}
|
|
5393
|
-
}),
|
|
5424
|
+
}), Jo = ["disabled", "value", "title"], Xo = /* @__PURE__ */ y({
|
|
5394
5425
|
__name: "SurveyNavigationButton",
|
|
5395
5426
|
props: {
|
|
5396
5427
|
item: {}
|
|
@@ -5407,9 +5438,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5407
5438
|
onMousedown: n,
|
|
5408
5439
|
onClick: t[0] || (t[0] = //@ts-ignore
|
|
5409
5440
|
(...o) => s.item.action && s.item.action(...o))
|
|
5410
|
-
}, null, 42,
|
|
5441
|
+
}, null, 42, Jo)) : p("", !0);
|
|
5411
5442
|
}
|
|
5412
|
-
}),
|
|
5443
|
+
}), Me = /* @__PURE__ */ y({
|
|
5413
5444
|
__name: "PopupSurvey",
|
|
5414
5445
|
props: {
|
|
5415
5446
|
survey: {},
|
|
@@ -5431,7 +5462,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5431
5462
|
}, m = () => {
|
|
5432
5463
|
let S = n.value.cssHeaderRoot;
|
|
5433
5464
|
return n.value.isCollapsed && (S += " " + n.value.cssRootCollapsedMod), S;
|
|
5434
|
-
},
|
|
5465
|
+
}, g = N(
|
|
5435
5466
|
() => e.survey,
|
|
5436
5467
|
(S) => {
|
|
5437
5468
|
const h = new Je(null, S);
|
|
@@ -5442,7 +5473,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5442
5473
|
}
|
|
5443
5474
|
);
|
|
5444
5475
|
return I(() => n.value), P(() => {
|
|
5445
|
-
|
|
5476
|
+
g();
|
|
5446
5477
|
}), (S, h) => n.value.isShowing ? (i(), a("div", {
|
|
5447
5478
|
key: 0,
|
|
5448
5479
|
style: L({
|
|
@@ -5461,7 +5492,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5461
5492
|
n.value.isCollapsed && n.value.locTitle ? (i(), a("div", {
|
|
5462
5493
|
key: 0,
|
|
5463
5494
|
class: l(n.value.cssHeaderTitleCollapsed)
|
|
5464
|
-
},
|
|
5495
|
+
}, H(n.value.locTitle.renderedHtml), 3)) : p("", !0),
|
|
5465
5496
|
v("div", {
|
|
5466
5497
|
class: l(n.value.cssHeaderButtonsContainer)
|
|
5467
5498
|
}, [
|
|
@@ -5470,13 +5501,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5470
5501
|
class: l(n.value.cssHeaderFullScreenButton),
|
|
5471
5502
|
onClick: o
|
|
5472
5503
|
}, [
|
|
5473
|
-
n.value.isFullScreen ? (i(),
|
|
5504
|
+
n.value.isFullScreen ? (i(), C(d, {
|
|
5474
5505
|
key: 0,
|
|
5475
5506
|
is: "sv-svg-icon",
|
|
5476
5507
|
iconName: "icon-back-to-panel_16x16",
|
|
5477
5508
|
size: 16
|
|
5478
5509
|
})) : p("", !0),
|
|
5479
|
-
n.value.isFullScreen ? p("", !0) : (i(),
|
|
5510
|
+
n.value.isFullScreen ? p("", !0) : (i(), C(d, {
|
|
5480
5511
|
key: 1,
|
|
5481
5512
|
is: "sv-svg-icon",
|
|
5482
5513
|
iconName: "icon-full-screen_16x16",
|
|
@@ -5487,13 +5518,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5487
5518
|
class: l(n.value.cssHeaderCollapseButton),
|
|
5488
5519
|
onClick: s
|
|
5489
5520
|
}, [
|
|
5490
|
-
n.value.isExpanded ? (i(),
|
|
5521
|
+
n.value.isExpanded ? (i(), C(d, {
|
|
5491
5522
|
key: 0,
|
|
5492
5523
|
is: "sv-svg-icon",
|
|
5493
5524
|
iconName: "icon-minimize_16x16",
|
|
5494
5525
|
size: 16
|
|
5495
5526
|
})) : p("", !0),
|
|
5496
|
-
n.value.isCollapsed ? (i(),
|
|
5527
|
+
n.value.isCollapsed ? (i(), C(d, {
|
|
5497
5528
|
key: 1,
|
|
5498
5529
|
is: "sv-svg-icon",
|
|
5499
5530
|
iconName: "icon-restore_16x16",
|
|
@@ -5521,7 +5552,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5521
5552
|
], 2)
|
|
5522
5553
|
], 38)) : p("", !0);
|
|
5523
5554
|
}
|
|
5524
|
-
}),
|
|
5555
|
+
}), Yo = ["innerHTML"], _o = /* @__PURE__ */ y({
|
|
5525
5556
|
__name: "CustomWidget",
|
|
5526
5557
|
props: {
|
|
5527
5558
|
question: {},
|
|
@@ -5537,15 +5568,15 @@ const oe = /* @__PURE__ */ y({
|
|
|
5537
5568
|
e.question.customWidget.afterRender(e.question, n.value);
|
|
5538
5569
|
}), z(() => {
|
|
5539
5570
|
e.question.customWidget.willUnmount(e.question, n.value);
|
|
5540
|
-
}), (m,
|
|
5571
|
+
}), (m, g) => (i(), a("div", {
|
|
5541
5572
|
ref_key: "root",
|
|
5542
5573
|
ref: n
|
|
5543
5574
|
}, [
|
|
5544
5575
|
t.value ? (i(), a("div", {
|
|
5545
5576
|
key: 0,
|
|
5546
5577
|
innerHTML: o.value
|
|
5547
|
-
}, null, 8,
|
|
5548
|
-
s.value ? (i(),
|
|
5578
|
+
}, null, 8, Yo)) : p("", !0),
|
|
5579
|
+
s.value ? (i(), C(d, {
|
|
5549
5580
|
key: 1,
|
|
5550
5581
|
is: r.value,
|
|
5551
5582
|
question: m.question,
|
|
@@ -5553,7 +5584,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5553
5584
|
}, null, 8, ["is", "question", "css"])) : p("", !0)
|
|
5554
5585
|
], 512));
|
|
5555
5586
|
}
|
|
5556
|
-
}),
|
|
5587
|
+
}), xo = /* @__PURE__ */ y({
|
|
5557
5588
|
__name: "PopupModal",
|
|
5558
5589
|
setup(u) {
|
|
5559
5590
|
const e = _();
|
|
@@ -5561,14 +5592,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5561
5592
|
const o = Xe(
|
|
5562
5593
|
s,
|
|
5563
5594
|
t
|
|
5564
|
-
), r = (m,
|
|
5565
|
-
|
|
5595
|
+
), r = (m, g) => {
|
|
5596
|
+
g.isVisible || (e.value = void 0, o.dispose(), o.onVisibilityChanged.remove(r));
|
|
5566
5597
|
};
|
|
5567
5598
|
return o.onVisibilityChanged.add(r), o.model.isVisible = !0, e.value = o, o;
|
|
5568
5599
|
}
|
|
5569
5600
|
return ee.showDialog || (ee.showDialog = n, P(() => {
|
|
5570
5601
|
ee.showDialog = void 0;
|
|
5571
|
-
})), (s, t) => e.value ? (i(),
|
|
5602
|
+
})), (s, t) => e.value ? (i(), C(Ne, {
|
|
5572
5603
|
key: 0,
|
|
5573
5604
|
to: e.value.container
|
|
5574
5605
|
}, [
|
|
@@ -5578,7 +5609,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5578
5609
|
}, null, 8, ["model"])
|
|
5579
5610
|
], 8, ["to"])) : p("", !0);
|
|
5580
5611
|
}
|
|
5581
|
-
}),
|
|
5612
|
+
}), ei = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], si = /* @__PURE__ */ y({
|
|
5582
5613
|
__name: "TextArea",
|
|
5583
5614
|
props: {
|
|
5584
5615
|
model: {},
|
|
@@ -5629,9 +5660,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5629
5660
|
"aria-invalid": o.model.ariaInvalid,
|
|
5630
5661
|
"aria-errormessage": o.model.ariaErrormessage,
|
|
5631
5662
|
style: L({ resize: o.model.question.resizeStyle })
|
|
5632
|
-
}, null, 46,
|
|
5663
|
+
}, null, 46, ei));
|
|
5633
5664
|
}
|
|
5634
|
-
}),
|
|
5665
|
+
}), ni = /* @__PURE__ */ y({
|
|
5635
5666
|
__name: "CharacterCounter",
|
|
5636
5667
|
props: {
|
|
5637
5668
|
counter: {},
|
|
@@ -5641,9 +5672,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5641
5672
|
const e = u;
|
|
5642
5673
|
return I(() => e.counter), (n, s) => (i(), a("div", {
|
|
5643
5674
|
class: l(n.remainingCharacterCounter)
|
|
5644
|
-
},
|
|
5675
|
+
}, H(n.counter.remainingCharacterCounter), 3));
|
|
5645
5676
|
}
|
|
5646
|
-
}),
|
|
5677
|
+
}), ti = /* @__PURE__ */ y({
|
|
5647
5678
|
inheritAttrs: !1,
|
|
5648
5679
|
__name: "Composite",
|
|
5649
5680
|
props: {
|
|
@@ -5654,7 +5685,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5654
5685
|
const e = u, n = k(null);
|
|
5655
5686
|
R(e, n);
|
|
5656
5687
|
const s = f(() => e.question.contentPanel);
|
|
5657
|
-
return (t, o) => (i(),
|
|
5688
|
+
return (t, o) => (i(), C(d, {
|
|
5658
5689
|
is: "survey-panel",
|
|
5659
5690
|
ref_key: "root",
|
|
5660
5691
|
ref: n,
|
|
@@ -5662,7 +5693,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5662
5693
|
css: t.css
|
|
5663
5694
|
}, null, 8, ["element", "css"]));
|
|
5664
5695
|
}
|
|
5665
|
-
}),
|
|
5696
|
+
}), oi = /* @__PURE__ */ y({
|
|
5666
5697
|
inheritAttrs: !1,
|
|
5667
5698
|
__name: "Custom",
|
|
5668
5699
|
props: {
|
|
@@ -5675,16 +5706,16 @@ const oe = /* @__PURE__ */ y({
|
|
|
5675
5706
|
const s = f(() => e.question.contentQuestion);
|
|
5676
5707
|
I(() => s.value);
|
|
5677
5708
|
const t = (o) => ne(o);
|
|
5678
|
-
return (o, r) => (i(),
|
|
5709
|
+
return (o, r) => (i(), C(d, {
|
|
5679
5710
|
ref: n.value,
|
|
5680
5711
|
is: t(s.value),
|
|
5681
5712
|
question: s.value,
|
|
5682
5713
|
css: o.css
|
|
5683
5714
|
}, null, 8, ["is", "question", "css"]));
|
|
5684
5715
|
}
|
|
5685
|
-
}),
|
|
5686
|
-
|
|
5687
|
-
], ge = 440,
|
|
5716
|
+
}), ii = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ri = [
|
|
5717
|
+
ii
|
|
5718
|
+
], ge = 440, li = /* @__PURE__ */ y({
|
|
5688
5719
|
__name: "TimerPanel",
|
|
5689
5720
|
props: {
|
|
5690
5721
|
model: {},
|
|
@@ -5700,29 +5731,29 @@ const oe = /* @__PURE__ */ y({
|
|
|
5700
5731
|
key: 0,
|
|
5701
5732
|
class: l(t.model.getProgressCss()),
|
|
5702
5733
|
style: L({ strokeDasharray: ge, strokeDashoffset: n.value })
|
|
5703
|
-
},
|
|
5734
|
+
}, ri, 6)) : p("", !0),
|
|
5704
5735
|
v("div", {
|
|
5705
5736
|
class: l(t.model.textContainerCss)
|
|
5706
5737
|
}, [
|
|
5707
5738
|
v("span", {
|
|
5708
5739
|
class: l(t.model.majorTextCss)
|
|
5709
|
-
},
|
|
5740
|
+
}, H(t.model.clockMajorText), 3),
|
|
5710
5741
|
t.model.clockMinorText ? (i(), a("span", {
|
|
5711
5742
|
key: 0,
|
|
5712
5743
|
class: l(t.model.minorTextCss)
|
|
5713
|
-
},
|
|
5744
|
+
}, H(t.model.clockMinorText), 3)) : p("", !0)
|
|
5714
5745
|
], 2)
|
|
5715
5746
|
], 2)) : B((i(), a("div", {
|
|
5716
5747
|
key: 1,
|
|
5717
5748
|
class: l(t.model.survey.getCss().timerRoot)
|
|
5718
|
-
},
|
|
5749
|
+
}, H(s.value), 3)), [
|
|
5719
5750
|
[A, t.model.isRunning && !t.model.showTimerAsClock]
|
|
5720
5751
|
]);
|
|
5721
5752
|
}
|
|
5722
|
-
}),
|
|
5753
|
+
}), ai = { class: "sd-loading-indicator" }, ui = /* @__PURE__ */ y({
|
|
5723
5754
|
__name: "LoadingIndicator",
|
|
5724
5755
|
setup(u) {
|
|
5725
|
-
return (e, n) => (i(), a("div",
|
|
5756
|
+
return (e, n) => (i(), a("div", ai, [
|
|
5726
5757
|
c(d, {
|
|
5727
5758
|
is: "sv-svg-icon",
|
|
5728
5759
|
iconName: "icon-loading",
|
|
@@ -5730,7 +5761,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5730
5761
|
})
|
|
5731
5762
|
]));
|
|
5732
5763
|
}
|
|
5733
|
-
}),
|
|
5764
|
+
}), di = { key: 2 }, mi = /* @__PURE__ */ y({
|
|
5734
5765
|
__name: "Header",
|
|
5735
5766
|
props: {
|
|
5736
5767
|
model: {},
|
|
@@ -5760,13 +5791,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5760
5791
|
class: l(n.model.contentClasses),
|
|
5761
5792
|
style: L({ maxWidth: n.model.maxWidth })
|
|
5762
5793
|
}, [
|
|
5763
|
-
(i(!0), a(
|
|
5794
|
+
(i(!0), a(M, null, V(n.model.cells, (t, o) => (i(), C(d, {
|
|
5764
5795
|
is: "sv-header-cell",
|
|
5765
5796
|
model: t,
|
|
5766
5797
|
key: o
|
|
5767
5798
|
}, null, 8, ["model"]))), 128))
|
|
5768
5799
|
], 6)),
|
|
5769
|
-
n.survey.isMobile ? (i(), a("div",
|
|
5800
|
+
n.survey.isMobile ? (i(), a("div", di, [
|
|
5770
5801
|
c(d, {
|
|
5771
5802
|
is: "sv-header-mobile",
|
|
5772
5803
|
model: n.model
|
|
@@ -5774,10 +5805,10 @@ const oe = /* @__PURE__ */ y({
|
|
|
5774
5805
|
])) : p("", !0)
|
|
5775
5806
|
], 6)) : p("", !0);
|
|
5776
5807
|
}
|
|
5777
|
-
}),
|
|
5808
|
+
}), pi = {
|
|
5778
5809
|
key: 0,
|
|
5779
5810
|
class: "sv-header__logo"
|
|
5780
|
-
},
|
|
5811
|
+
}, vi = ["src", "width", "height", "alt"], Ci = /* @__PURE__ */ y({
|
|
5781
5812
|
__name: "HeaderCell",
|
|
5782
5813
|
props: {
|
|
5783
5814
|
model: {}
|
|
@@ -5791,7 +5822,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5791
5822
|
class: "sv-header__cell-content",
|
|
5792
5823
|
style: L(e.model.contentStyle)
|
|
5793
5824
|
}, [
|
|
5794
|
-
e.model.showLogo ? (i(), a("div",
|
|
5825
|
+
e.model.showLogo ? (i(), a("div", pi, [
|
|
5795
5826
|
v("div", {
|
|
5796
5827
|
class: l(e.model.survey.logoClassNames)
|
|
5797
5828
|
}, [
|
|
@@ -5802,7 +5833,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5802
5833
|
height: e.model.survey.renderedLogoHeight,
|
|
5803
5834
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5804
5835
|
style: L({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5805
|
-
}, null, 14,
|
|
5836
|
+
}, null, 14, vi)
|
|
5806
5837
|
], 2)
|
|
5807
5838
|
])) : p("", !0),
|
|
5808
5839
|
e.model.showTitle ? (i(), a("div", {
|
|
@@ -5834,17 +5865,17 @@ const oe = /* @__PURE__ */ y({
|
|
|
5834
5865
|
], 4)
|
|
5835
5866
|
], 6));
|
|
5836
5867
|
}
|
|
5837
|
-
}),
|
|
5868
|
+
}), ci = { class: "sv-header--mobile" }, gi = {
|
|
5838
5869
|
key: 0,
|
|
5839
5870
|
class: "sv-header__logo"
|
|
5840
|
-
},
|
|
5871
|
+
}, yi = ["src", "width", "height", "alt"], hi = /* @__PURE__ */ y({
|
|
5841
5872
|
__name: "HeaderMobile",
|
|
5842
5873
|
props: {
|
|
5843
5874
|
model: {}
|
|
5844
5875
|
},
|
|
5845
5876
|
setup(u) {
|
|
5846
|
-
return (e, n) => (i(), a("div",
|
|
5847
|
-
e.model.survey.hasLogo ? (i(), a("div",
|
|
5877
|
+
return (e, n) => (i(), a("div", ci, [
|
|
5878
|
+
e.model.survey.hasLogo ? (i(), a("div", gi, [
|
|
5848
5879
|
v("div", {
|
|
5849
5880
|
class: l(e.model.survey.logoClassNames)
|
|
5850
5881
|
}, [
|
|
@@ -5855,7 +5886,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5855
5886
|
height: e.model.survey.renderedLogoHeight,
|
|
5856
5887
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5857
5888
|
style: L({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5858
|
-
}, null, 14,
|
|
5889
|
+
}, null, 14, yi)
|
|
5859
5890
|
], 2)
|
|
5860
5891
|
])) : p("", !0),
|
|
5861
5892
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
@@ -5886,7 +5917,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5886
5917
|
], 4)) : p("", !0)
|
|
5887
5918
|
]));
|
|
5888
5919
|
}
|
|
5889
|
-
}),
|
|
5920
|
+
}), qi = /* @__PURE__ */ y({
|
|
5890
5921
|
__name: "Element",
|
|
5891
5922
|
props: {
|
|
5892
5923
|
element: {},
|
|
@@ -5896,21 +5927,21 @@ const oe = /* @__PURE__ */ y({
|
|
|
5896
5927
|
setup(u) {
|
|
5897
5928
|
const e = u, n = k();
|
|
5898
5929
|
I(() => e.element);
|
|
5899
|
-
const s = (
|
|
5900
|
-
const
|
|
5901
|
-
if (
|
|
5902
|
-
const S =
|
|
5930
|
+
const s = (g) => g.isPanel ? "survey-panel" : "survey-question", t = f(() => {
|
|
5931
|
+
const g = e.element.survey;
|
|
5932
|
+
if (g) {
|
|
5933
|
+
const S = g.getElementWrapperComponentName(e.element);
|
|
5903
5934
|
if (S)
|
|
5904
5935
|
return S;
|
|
5905
5936
|
}
|
|
5906
5937
|
return s(e.element);
|
|
5907
|
-
}), o = (
|
|
5908
|
-
const
|
|
5938
|
+
}), o = (g) => g.cssClasses ? g.rootStyle : {}, r = f(() => {
|
|
5939
|
+
const g = e.element, S = g.survey;
|
|
5909
5940
|
let h;
|
|
5910
|
-
return S && (h = S.getElementWrapperComponentData(
|
|
5911
|
-
componentName: s(
|
|
5941
|
+
return S && (h = S.getElementWrapperComponentData(g)), {
|
|
5942
|
+
componentName: s(g),
|
|
5912
5943
|
componentData: {
|
|
5913
|
-
element:
|
|
5944
|
+
element: g,
|
|
5914
5945
|
survey: S,
|
|
5915
5946
|
row: e.row,
|
|
5916
5947
|
css: e.css,
|
|
@@ -5919,32 +5950,32 @@ const oe = /* @__PURE__ */ y({
|
|
|
5919
5950
|
};
|
|
5920
5951
|
}), m = N(
|
|
5921
5952
|
() => e.element,
|
|
5922
|
-
(
|
|
5923
|
-
S && S.setWrapperElement(void 0),
|
|
5953
|
+
(g, S) => {
|
|
5954
|
+
S && S.setWrapperElement(void 0), g.setWrapperElement(n.value);
|
|
5924
5955
|
}
|
|
5925
5956
|
);
|
|
5926
5957
|
return T(() => {
|
|
5927
5958
|
e.element.setWrapperElement(n.value);
|
|
5928
5959
|
}), P(() => {
|
|
5929
5960
|
e.element.setWrapperElement(void 0), m();
|
|
5930
|
-
}), (
|
|
5961
|
+
}), (g, S) => (i(), a("div", {
|
|
5931
5962
|
ref_key: "root",
|
|
5932
5963
|
ref: n,
|
|
5933
|
-
style: L(o(
|
|
5934
|
-
class: l(
|
|
5964
|
+
style: L(o(g.element)),
|
|
5965
|
+
class: l(g.element.cssClasses.questionWrapper)
|
|
5935
5966
|
}, [
|
|
5936
|
-
|
|
5967
|
+
g.row.isNeedRender ? (i(), C(d, $({
|
|
5937
5968
|
key: 0,
|
|
5938
5969
|
is: t.value
|
|
5939
|
-
}, r.value), null, 16, ["is"])) :
|
|
5970
|
+
}, r.value), null, 16, ["is"])) : g.element.skeletonComponentName ? (i(), C(d, {
|
|
5940
5971
|
key: 1,
|
|
5941
|
-
is:
|
|
5942
|
-
element:
|
|
5943
|
-
css:
|
|
5972
|
+
is: g.element.skeletonComponentName,
|
|
5973
|
+
element: g.element,
|
|
5974
|
+
css: g.css
|
|
5944
5975
|
}, null, 8, ["is", "element", "css"])) : p("", !0)
|
|
5945
5976
|
], 6));
|
|
5946
5977
|
}
|
|
5947
|
-
}),
|
|
5978
|
+
}), wi = /* @__PURE__ */ y({
|
|
5948
5979
|
__name: "TemplateRenderer",
|
|
5949
5980
|
props: {
|
|
5950
5981
|
componentName: {},
|
|
@@ -5952,12 +5983,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5952
5983
|
},
|
|
5953
5984
|
setup(u) {
|
|
5954
5985
|
const e = Ee(), n = f(() => !!e.default);
|
|
5955
|
-
return (s, t) => n.value && !s.componentName ? X(s.$slots, "default", { key: 0 }) : (i(),
|
|
5986
|
+
return (s, t) => n.value && !s.componentName ? X(s.$slots, "default", { key: 0 }) : (i(), C(d, $({
|
|
5956
5987
|
key: 1,
|
|
5957
5988
|
is: s.componentName
|
|
5958
5989
|
}, s.componentData), null, 16, ["is"]));
|
|
5959
5990
|
}
|
|
5960
|
-
}),
|
|
5991
|
+
}), bi = /* @__PURE__ */ y({
|
|
5961
5992
|
__name: "FileCleanButton",
|
|
5962
5993
|
props: {
|
|
5963
5994
|
question: {},
|
|
@@ -5970,8 +6001,8 @@ const oe = /* @__PURE__ */ y({
|
|
|
5970
6001
|
onClick: n[0] || (n[0] = //@ts-ignore
|
|
5971
6002
|
(...s) => e.question.doClean && e.question.doClean(...s))
|
|
5972
6003
|
}, [
|
|
5973
|
-
v("span", null,
|
|
5974
|
-
e.question.cssClasses.removeButtonIconId ? (i(),
|
|
6004
|
+
v("span", null, H(e.question.clearButtonCaption), 1),
|
|
6005
|
+
e.question.cssClasses.removeButtonIconId ? (i(), C(d, {
|
|
5975
6006
|
key: 0,
|
|
5976
6007
|
is: "sv-svg-icon",
|
|
5977
6008
|
iconName: e.question.cssClasses.removeButtonIconId,
|
|
@@ -5980,7 +6011,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5980
6011
|
}, null, 8, ["iconName", "title"])) : p("", !0)
|
|
5981
6012
|
], 2));
|
|
5982
6013
|
}
|
|
5983
|
-
}),
|
|
6014
|
+
}), Li = ["id"], ki = /* @__PURE__ */ y({
|
|
5984
6015
|
__name: "FileVideo",
|
|
5985
6016
|
props: {
|
|
5986
6017
|
question: {}
|
|
@@ -6002,14 +6033,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
6002
6033
|
playsinline: "",
|
|
6003
6034
|
id: e.question.videoId,
|
|
6004
6035
|
class: l(e.question.cssClasses.video)
|
|
6005
|
-
}, null, 10,
|
|
6036
|
+
}, null, 10, Li),
|
|
6006
6037
|
c(d, {
|
|
6007
6038
|
is: "sv-action",
|
|
6008
6039
|
item: e.question.takePictureAction
|
|
6009
6040
|
}, null, 8, ["item"])
|
|
6010
6041
|
], 2));
|
|
6011
6042
|
}
|
|
6012
|
-
}),
|
|
6043
|
+
}), fi = ["for", "aria-label"], Mi = /* @__PURE__ */ y({
|
|
6013
6044
|
__name: "FileChooseButton",
|
|
6014
6045
|
props: {
|
|
6015
6046
|
data: {},
|
|
@@ -6029,19 +6060,19 @@ const oe = /* @__PURE__ */ y({
|
|
|
6029
6060
|
"aria-label": n.value.chooseButtonText,
|
|
6030
6061
|
onClick: t[0] || (t[0] = (o) => n.value.chooseFile(o))
|
|
6031
6062
|
}, [
|
|
6032
|
-
n.value.cssClasses.chooseFileIconId ? (i(),
|
|
6063
|
+
n.value.cssClasses.chooseFileIconId ? (i(), C(d, {
|
|
6033
6064
|
key: 0,
|
|
6034
6065
|
is: "sv-svg-icon",
|
|
6035
6066
|
title: n.value.chooseButtonText,
|
|
6036
6067
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
6037
6068
|
size: "auto"
|
|
6038
6069
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6039
|
-
v("span", null,
|
|
6040
|
-
], 10,
|
|
6070
|
+
v("span", null, H(n.value.chooseButtonText), 1)
|
|
6071
|
+
], 10, fi)), [
|
|
6041
6072
|
[w(O)]
|
|
6042
6073
|
]);
|
|
6043
6074
|
}
|
|
6044
|
-
}),
|
|
6075
|
+
}), Hi = /* @__PURE__ */ y({
|
|
6045
6076
|
__name: "FilePreview",
|
|
6046
6077
|
props: {
|
|
6047
6078
|
question: {}
|
|
@@ -6051,7 +6082,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6051
6082
|
key: 0,
|
|
6052
6083
|
class: l(e.question.cssClasses.fileList || void 0)
|
|
6053
6084
|
}, [
|
|
6054
|
-
(i(!0), a(
|
|
6085
|
+
(i(!0), a(M, null, V(e.question.renderedPages, (s) => (i(), C(d, {
|
|
6055
6086
|
is: "sv-file-page",
|
|
6056
6087
|
key: s.id,
|
|
6057
6088
|
page: s,
|
|
@@ -6059,7 +6090,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6059
6090
|
}, null, 8, ["page", "question"]))), 128))
|
|
6060
6091
|
], 2)) : p("", !0);
|
|
6061
6092
|
}
|
|
6062
|
-
}),
|
|
6093
|
+
}), Ii = /* @__PURE__ */ y({
|
|
6063
6094
|
__name: "ButtonGroup",
|
|
6064
6095
|
props: {
|
|
6065
6096
|
question: {}
|
|
@@ -6072,7 +6103,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6072
6103
|
ref_key: "root",
|
|
6073
6104
|
ref: n
|
|
6074
6105
|
}, [
|
|
6075
|
-
(i(!0), a(
|
|
6106
|
+
(i(!0), a(M, null, V(s.question.visibleChoices, (o, r) => (i(), C(d, {
|
|
6076
6107
|
is: "sv-button-group-item",
|
|
6077
6108
|
question: s.question,
|
|
6078
6109
|
key: r,
|
|
@@ -6081,7 +6112,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6081
6112
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6082
6113
|
], 2));
|
|
6083
6114
|
}
|
|
6084
|
-
}),
|
|
6115
|
+
}), Vi = ["title"], Si = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ri = ["title"], Ti = /* @__PURE__ */ y({
|
|
6085
6116
|
__name: "ButtonGroupItem",
|
|
6086
6117
|
props: {
|
|
6087
6118
|
item: {},
|
|
@@ -6114,13 +6145,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
6114
6145
|
class: l(n.value.css.control),
|
|
6115
6146
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => s.value = r),
|
|
6116
6147
|
value: n.value.value
|
|
6117
|
-
}, null, 10,
|
|
6148
|
+
}, null, 10, Si), [
|
|
6118
6149
|
[qe, s.value]
|
|
6119
6150
|
]),
|
|
6120
6151
|
v("div", {
|
|
6121
6152
|
class: l(n.value.css.decorator)
|
|
6122
6153
|
}, [
|
|
6123
|
-
n.value.iconName ? (i(),
|
|
6154
|
+
n.value.iconName ? (i(), C(d, {
|
|
6124
6155
|
key: 0,
|
|
6125
6156
|
is: "sv-svg-icon",
|
|
6126
6157
|
iconName: n.value.iconName,
|
|
@@ -6136,9 +6167,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
6136
6167
|
is: "survey-string",
|
|
6137
6168
|
locString: n.value.caption
|
|
6138
6169
|
}, null, 8, ["locString"])
|
|
6139
|
-
], 10,
|
|
6170
|
+
], 10, Ri)) : p("", !0)
|
|
6140
6171
|
], 2)
|
|
6141
|
-
], 10,
|
|
6172
|
+
], 10, Vi));
|
|
6142
6173
|
}
|
|
6143
6174
|
});
|
|
6144
6175
|
U.Instance.registerRenderer(
|
|
@@ -6146,7 +6177,7 @@ U.Instance.registerRenderer(
|
|
|
6146
6177
|
"dropdown",
|
|
6147
6178
|
"sv-buttongroup-dropdown"
|
|
6148
6179
|
);
|
|
6149
|
-
const
|
|
6180
|
+
const Bi = /* @__PURE__ */ y({
|
|
6150
6181
|
inheritAttrs: !1,
|
|
6151
6182
|
__name: "ButtonGroupDropdown",
|
|
6152
6183
|
props: {
|
|
@@ -6165,7 +6196,7 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6165
6196
|
}, null, 8, ["question"])
|
|
6166
6197
|
], 2));
|
|
6167
6198
|
}
|
|
6168
|
-
}),
|
|
6199
|
+
}), Zi = ["src", "width", "height", "alt"], $i = /* @__PURE__ */ y({
|
|
6169
6200
|
inheritAttrs: !1,
|
|
6170
6201
|
__name: "Logo",
|
|
6171
6202
|
props: {
|
|
@@ -6187,10 +6218,10 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6187
6218
|
width: n.value.renderedStyleLogoWidth,
|
|
6188
6219
|
height: n.value.renderedStyleLogoHeight
|
|
6189
6220
|
})
|
|
6190
|
-
}, null, 14,
|
|
6221
|
+
}, null, 14, Zi)
|
|
6191
6222
|
], 2));
|
|
6192
6223
|
}
|
|
6193
|
-
}),
|
|
6224
|
+
}), Di = /* @__PURE__ */ y({
|
|
6194
6225
|
__name: "SvgBundle",
|
|
6195
6226
|
setup(u) {
|
|
6196
6227
|
const e = k(), n = () => {
|
|
@@ -6208,7 +6239,7 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6208
6239
|
[A, !1]
|
|
6209
6240
|
]);
|
|
6210
6241
|
}
|
|
6211
|
-
}),
|
|
6242
|
+
}), Ai = ["id"], Pi = /* @__PURE__ */ y({
|
|
6212
6243
|
__name: "FilePage",
|
|
6213
6244
|
props: {
|
|
6214
6245
|
page: {},
|
|
@@ -6220,15 +6251,15 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6220
6251
|
class: l(n.page.css),
|
|
6221
6252
|
id: n.page.id
|
|
6222
6253
|
}, [
|
|
6223
|
-
(i(!0), a(
|
|
6254
|
+
(i(!0), a(M, null, V(n.page.items, (t) => (i(), C(d, {
|
|
6224
6255
|
is: "sv-file-item",
|
|
6225
6256
|
key: t,
|
|
6226
6257
|
item: t,
|
|
6227
6258
|
question: n.question
|
|
6228
6259
|
}, null, 8, ["item", "question"]))), 128))
|
|
6229
|
-
], 10,
|
|
6260
|
+
], 10, Ai));
|
|
6230
6261
|
}
|
|
6231
|
-
}),
|
|
6262
|
+
}), Ni = ["href", "title", "download"], Ei = ["src"], Wi = ["href", "title", "download"], Fi = /* @__PURE__ */ y({
|
|
6232
6263
|
__name: "FileItem",
|
|
6233
6264
|
props: {
|
|
6234
6265
|
item: {},
|
|
@@ -6249,7 +6280,7 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6249
6280
|
title: e.item.name,
|
|
6250
6281
|
download: e.item.name,
|
|
6251
6282
|
style: L({ width: e.question.imageWidth })
|
|
6252
|
-
},
|
|
6283
|
+
}, H(e.item.name), 13, Ni)
|
|
6253
6284
|
], 2)) : p("", !0),
|
|
6254
6285
|
v("div", {
|
|
6255
6286
|
class: l(e.question.getImageWrapperCss(e.item))
|
|
@@ -6262,8 +6293,8 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6262
6293
|
width: e.question.imageWidth
|
|
6263
6294
|
}),
|
|
6264
6295
|
alt: "File preview"
|
|
6265
|
-
}, null, 12,
|
|
6266
|
-
e.question.defaultImage(e.item) ? (i(),
|
|
6296
|
+
}, null, 12, Ei)) : p("", !0),
|
|
6297
|
+
e.question.defaultImage(e.item) ? (i(), C(d, {
|
|
6267
6298
|
key: 1,
|
|
6268
6299
|
is: "sv-svg-icon",
|
|
6269
6300
|
iconName: e.question.cssClasses.defaultImageIconId,
|
|
@@ -6277,8 +6308,8 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6277
6308
|
}, [
|
|
6278
6309
|
v("span", {
|
|
6279
6310
|
class: l(e.question.cssClasses.removeFile)
|
|
6280
|
-
},
|
|
6281
|
-
e.question.cssClasses.removeFileSvgIconId ? (i(),
|
|
6311
|
+
}, H(e.question.removeFileCaption), 3),
|
|
6312
|
+
e.question.cssClasses.removeFileSvgIconId ? (i(), C(d, {
|
|
6282
6313
|
key: 0,
|
|
6283
6314
|
is: "sv-svg-icon",
|
|
6284
6315
|
title: e.question.removeFileCaption,
|
|
@@ -6298,13 +6329,13 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6298
6329
|
title: e.item.name,
|
|
6299
6330
|
download: e.item.name,
|
|
6300
6331
|
style: L({ width: e.question.imageWidth })
|
|
6301
|
-
},
|
|
6332
|
+
}, H(e.item.name), 13, Wi)
|
|
6302
6333
|
], 2)) : p("", !0)
|
|
6303
6334
|
], 2)), [
|
|
6304
6335
|
[A, e.item]
|
|
6305
6336
|
]);
|
|
6306
6337
|
}
|
|
6307
|
-
}),
|
|
6338
|
+
}), Oi = ["onClick"], zi = ["data-responsive-title"], Ui = /* @__PURE__ */ y({
|
|
6308
6339
|
__name: "MatrixRow",
|
|
6309
6340
|
props: {
|
|
6310
6341
|
question: {},
|
|
@@ -6341,7 +6372,7 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6341
6372
|
], 6), [
|
|
6342
6373
|
[A, s.question.hasRows]
|
|
6343
6374
|
]),
|
|
6344
|
-
s.question.hasCellText ? (i(!0), a(
|
|
6375
|
+
s.question.hasCellText ? (i(!0), a(M, { key: 0 }, V(s.question.visibleColumns, (o, r) => (i(), a("td", {
|
|
6345
6376
|
key: r,
|
|
6346
6377
|
class: l(s.question.getItemClass(s.row, o)),
|
|
6347
6378
|
onClick: (m) => n(s.row, o)
|
|
@@ -6350,8 +6381,8 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6350
6381
|
is: "survey-string",
|
|
6351
6382
|
locString: s.question.getCellDisplayLocText(s.row.name, o)
|
|
6352
6383
|
}, null, 8, ["locString"])
|
|
6353
|
-
], 10,
|
|
6354
|
-
s.question.hasCellText ? p("", !0) : (i(!0), a(
|
|
6384
|
+
], 10, Oi))), 128)) : p("", !0),
|
|
6385
|
+
s.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 }, V(s.question.visibleColumns, (o, r) => (i(), a("td", {
|
|
6355
6386
|
key: r,
|
|
6356
6387
|
"data-responsive-title": o.locText.renderedHtml,
|
|
6357
6388
|
class: l(s.question.cssClasses.cell)
|
|
@@ -6363,38 +6394,38 @@ const Zi = /* @__PURE__ */ y({
|
|
|
6363
6394
|
column: o,
|
|
6364
6395
|
columnIndex: r
|
|
6365
6396
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
6366
|
-
], 10,
|
|
6397
|
+
], 10, zi))), 128))
|
|
6367
6398
|
], 2));
|
|
6368
6399
|
}
|
|
6369
6400
|
});
|
|
6370
6401
|
_e.platform = "vue3";
|
|
6371
|
-
function
|
|
6402
|
+
function Qi(u, e, n) {
|
|
6372
6403
|
u(e, n);
|
|
6373
6404
|
}
|
|
6374
|
-
function
|
|
6375
|
-
const e =
|
|
6405
|
+
function He(u) {
|
|
6406
|
+
const e = Qi.bind(
|
|
6376
6407
|
void 0,
|
|
6377
6408
|
u
|
|
6378
6409
|
);
|
|
6379
|
-
e("sv-svg-bundle",
|
|
6410
|
+
e("sv-svg-bundle", Di), e("popup-survey", Me), e("survey-header", ts), e("sv-logo-image", $i), e("sv-page", ns), e("survey-row", os), e("survey-question", us), e("survey-panel", vs), e("survey-element-header", cs), e("survey-string", gs), e("sv-string-viewer", hs), e("sv-string-editor", ws), e("sv-skeleton", Ls), e("sv-scroll", Hs), e("survey-text", Ss), e("survey-text-input", Bs), e("survey-checkbox", Ps), e("survey-checkbox-item", Ws), e("survey-radiogroup", Fs), e("survey-radiogroup-item", Us), e("survey-signaturepad", Gs), e("survey-html", Xs), e("survey-image", e1), e("survey-expression", n1), e("survey-file", r1), e("sv-file-choose-btn", Mi), e("sv-file-clean-btn", bi), e("sv-file-preview", Hi), e("sv-file-page", Pi), e("sv-file-item", Fi), e("sv-file-video", ki), e("survey-imagepicker", a1), e("survey-imagepicker-item", v1), e("survey-comment", C1), e("survey-dropdown", c1), e("sv-dropdown-select", q1), e("sv-dropdown-option-item", b1), e("sv-dropdown", H1), e("survey-tagbox", I1), e("sv-tagbox", R1), e("sv-tagbox-item", D1), e("sv-tagbox-filter", Z1), e("survey-ranking", A1), e("survey-ranking-item", O1), e("sv-ranking-item", z1), e("survey-rating", K1), e("sv-rating-item", J1), e("sv-rating-item-smiley", _1), e("sv-rating-item-star", sn), e("sv-rating-dropdown", ln), e("sv-rating-dropdown-item", rn), e("survey-boolean", un), e("sv-boolean-radio", dn), e("sv-boolean-radio-item", vn), e("sv-boolean-checkbox", qn), e("survey-multipletext", wn), e("sv-multipletext-row", bn), e("survey-multipletext-item", fn), e("sv-breadcrumbs", Mn), e("sv-single-input-summary", Rn), e("survey-slider", Zn), e("sv-slider-label-item", $n), e("survey-matrix", En), e("sv-matrix-row", Ui), e("survey-matrix-row", Fn), e("survey-matrix-cell", Un), e("survey-matrixdropdown", Qn), e("survey-matrixtable", Gn), e("survey-matrixheaderrequired", Xn), e("survey-matrixdropdown-cell", _n), e("survey-matrixdynamic", tt), e("survey-placeholder-matrixdynamic", ot), e("sv-matrix-remove-button", rt), e("sv-matrix-drag-drop-icon", at), e("sv-matrix-detail-button", dt), e("survey-paneldynamic", pt), e("survey-paneldynamicprogress", Ct), e("survey-paneldynamicprogress-v2", gt), e("survey-placeholder-paneldynamic", yt), e("sv-paneldynamic-add-btn", qt), e("sv-paneldynamic-next-btn", bt), e("sv-paneldynamic-prev-btn", kt), e("sv-paneldynamic-remove-btn", Mt), e("sv-paneldynamic-progress-text", Ht), e("sv-components-container", Ho), e("sv-progress-buttons", $o), e("sv-navigation-toc", Do), e("sv-progress-pages", G), e("sv-progress-questions", G), e("sv-progress-correctquestions", G), e("sv-progress-requiredquestions", G), e("survey-errors", Vt), e("survey-question-comment", Rt), e("survey-element-title", Tt), e("survey-element-title-content", At), e("sv-title-actions", Et), e("sv-brand-info", Kt), e("sv-question-error", Xt), e("sv-svg-icon", Jt), e("sv-action-bar", Yt), e("sv-action", eo), e("sv-action-bar-item", to), e("sv-action-bar-item-dropdown", ro), e("sv-action-bar-separator", lo), e("sv-list", po), e("sv-list-item-content", go), e("sv-list-item-group", yo), e("sv-list-item", co), e("sv-popup", ho), e("sv-popup-container", fo), e("popup-pointer", Mo), e("sv-notifier", Ko), e("survey-other-choice", Go), e("sv-nav-btn", Xo), e("survey-customwidget", _o), e("survey-popup-modal", xo), e("survey-composite", ti), e("survey-custom", oi), e("sv-timerpanel", li), e("sv-loading-indicator", ui), e("sv-header", mi), e("sv-header-cell", Ci), e("sv-header-mobile", hi), e("sv-template-renderer", wi), e("sv-character-counter", ni), e("sv-text-area", si), e("survey-element", qi), e("survey-buttongroup", Ii), e("sv-button-group-item", Ti), e("sv-buttongroup-dropdown", Bi), e("survey", oe);
|
|
6380
6411
|
}
|
|
6381
|
-
|
|
6412
|
+
He(
|
|
6382
6413
|
(u, e) => W.Instance.registerComponent(u, e)
|
|
6383
6414
|
);
|
|
6384
|
-
const
|
|
6415
|
+
const Ji = {
|
|
6385
6416
|
install(u) {
|
|
6386
|
-
u.component("SurveyComponent", oe), u.component("PopupSurveyComponent",
|
|
6417
|
+
u.component("SurveyComponent", oe), u.component("PopupSurveyComponent", Me), u.directive("key2click", O), He((e, n) => {
|
|
6387
6418
|
u.component(e, n), W.Instance.registerComponent(e, e);
|
|
6388
6419
|
});
|
|
6389
6420
|
}
|
|
6390
6421
|
};
|
|
6391
6422
|
export {
|
|
6392
6423
|
W as ComponentFactory,
|
|
6393
|
-
|
|
6424
|
+
Me as PopupSurveyComponent,
|
|
6394
6425
|
oe as SurveyComponent,
|
|
6395
6426
|
d as SvComponent,
|
|
6396
6427
|
O as key2ClickDirective,
|
|
6397
|
-
|
|
6428
|
+
Ji as surveyPlugin,
|
|
6398
6429
|
I as useBase,
|
|
6399
6430
|
F as useLocString,
|
|
6400
6431
|
R as useQuestion
|