survey-vue3-ui 2.3.8 → 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 +607 -562
- 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) => [
|
|
@@ -190,7 +190,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
190
190
|
ref_key: "root",
|
|
191
191
|
ref: n
|
|
192
192
|
}, [
|
|
193
|
-
|
|
193
|
+
c(d, {
|
|
194
194
|
is: "survey-element-title",
|
|
195
195
|
element: o.page,
|
|
196
196
|
css: o.css
|
|
@@ -199,23 +199,23 @@ const ns = /* @__PURE__ */ y({
|
|
|
199
199
|
key: 0,
|
|
200
200
|
class: l(o.page.cssClasses.page.description)
|
|
201
201
|
}, [
|
|
202
|
-
|
|
202
|
+
c(d, {
|
|
203
203
|
is: "survey-string",
|
|
204
204
|
locString: o.page.locDescription
|
|
205
205
|
}, null, 8, ["locString"])
|
|
206
206
|
], 2)) : p("", !0),
|
|
207
|
-
|
|
207
|
+
c(d, {
|
|
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
|
}, {
|
|
215
215
|
componentData: o.page.getSurvey().getRowWrapperComponentData(m)
|
|
216
216
|
}), {
|
|
217
217
|
default: D(() => [
|
|
218
|
-
|
|
218
|
+
c(d, {
|
|
219
219
|
is: "survey-row",
|
|
220
220
|
row: m,
|
|
221
221
|
survey: o.survey,
|
|
@@ -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")
|
|
@@ -252,7 +252,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
252
252
|
class: l(s.survey.css.headerText),
|
|
253
253
|
style: L({ maxWidth: s.survey.titleMaxWidth })
|
|
254
254
|
}, [
|
|
255
|
-
|
|
255
|
+
c(d, {
|
|
256
256
|
is: "survey-element-title",
|
|
257
257
|
element: s.survey,
|
|
258
258
|
css: s.survey.css
|
|
@@ -261,13 +261,13 @@ const ns = /* @__PURE__ */ y({
|
|
|
261
261
|
key: 0,
|
|
262
262
|
class: l(s.survey.css.description)
|
|
263
263
|
}, [
|
|
264
|
-
|
|
264
|
+
c(d, {
|
|
265
265
|
is: "survey-string",
|
|
266
266
|
locString: s.survey.locDescription
|
|
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,
|
|
@@ -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,9 +398,11 @@ 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
406
|
is: g.value,
|
|
405
407
|
question: q.element
|
|
406
408
|
}, null, 8, ["is", "question"]),
|
|
@@ -409,12 +411,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
409
411
|
class: l(q.element.getCommentAreaCss())
|
|
410
412
|
}, [
|
|
411
413
|
v("div", null, [
|
|
412
|
-
|
|
414
|
+
c(d, {
|
|
413
415
|
is: "survey-string",
|
|
414
416
|
locString: q.element.locCommentText
|
|
415
417
|
}, null, 8, ["locString"])
|
|
416
418
|
]),
|
|
417
|
-
|
|
419
|
+
c(d, {
|
|
418
420
|
is: "survey-question-comment",
|
|
419
421
|
question: q.element
|
|
420
422
|
}, null, 8, ["question"])
|
|
@@ -424,7 +426,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
424
426
|
class: l(q.element.cssDescription),
|
|
425
427
|
id: q.element.ariaDescriptionId
|
|
426
428
|
}, [
|
|
427
|
-
|
|
429
|
+
c(d, {
|
|
428
430
|
is: "survey-string",
|
|
429
431
|
locString: q.element.locDescription
|
|
430
432
|
}, null, 8, ["locString"])
|
|
@@ -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,14 +497,14 @@ 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
|
}, {
|
|
502
504
|
componentData: t.element.getSurvey().getRowWrapperComponentData(r)
|
|
503
505
|
}), {
|
|
504
506
|
default: D(() => [
|
|
505
|
-
|
|
507
|
+
c(d, {
|
|
506
508
|
is: "survey-row",
|
|
507
509
|
row: r,
|
|
508
510
|
survey: s.value,
|
|
@@ -511,7 +513,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
511
513
|
]),
|
|
512
514
|
_: 2
|
|
513
515
|
}, 1040, ["is"]))), 128)),
|
|
514
|
-
|
|
516
|
+
c(d, {
|
|
515
517
|
is: "sv-action-bar",
|
|
516
518
|
model: t.element.getFooterToolbar()
|
|
517
519
|
}, null, 8, ["model"])
|
|
@@ -536,7 +538,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
536
538
|
onClick: n,
|
|
537
539
|
style: L(s())
|
|
538
540
|
}, [
|
|
539
|
-
|
|
541
|
+
c(d, {
|
|
540
542
|
is: "survey-element-title",
|
|
541
543
|
element: t.element,
|
|
542
544
|
css: t.css
|
|
@@ -546,14 +548,14 @@ const ns = /* @__PURE__ */ y({
|
|
|
546
548
|
class: l(t.element.cssDescription),
|
|
547
549
|
id: t.element.ariaDescriptionId
|
|
548
550
|
}, [
|
|
549
|
-
|
|
551
|
+
c(d, {
|
|
550
552
|
is: "survey-string",
|
|
551
553
|
locString: t.element.locDescription
|
|
552
554
|
}, null, 8, ["locString"])
|
|
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,24 +679,24 @@ 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
|
|
684
686
|
}, [
|
|
685
|
-
|
|
687
|
+
c(d, {
|
|
686
688
|
is: "survey-text-input",
|
|
687
689
|
question: s.question
|
|
688
690
|
}, null, 8, ["question"]),
|
|
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,
|
|
@@ -758,7 +760,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
758
760
|
"aria-invalid": r.question.a11y_input_ariaInvalid,
|
|
759
761
|
"aria-errormessage": r.question.a11y_input_ariaErrormessage
|
|
760
762
|
}, null, 46, Ts),
|
|
761
|
-
|
|
763
|
+
c(d, {
|
|
762
764
|
is: "sv-character-counter",
|
|
763
765
|
counter: r.question.characterCounter,
|
|
764
766
|
remainingCharacterCounter: r.question.cssClasses.remainingCharacterCounter
|
|
@@ -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(
|
|
865
|
+
o.question.hasColumns ? (i(!0), a(M, { key: 0 }, V(o.question.columns, (m, g) => (i(), a("div", {
|
|
864
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)),
|
|
@@ -970,15 +972,21 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
970
972
|
key: 1,
|
|
971
973
|
class: l(t.question.cssClasses.controlLabel)
|
|
972
974
|
}, [
|
|
973
|
-
|
|
975
|
+
c(d, {
|
|
974
976
|
is: "survey-string",
|
|
975
977
|
locString: t.item.locText
|
|
976
978
|
}, null, 8, ["locString"])
|
|
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)),
|
|
@@ -1054,15 +1062,21 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1054
1062
|
key: 1,
|
|
1055
1063
|
class: l(t(r.item))
|
|
1056
1064
|
}, [
|
|
1057
|
-
|
|
1065
|
+
c(d, {
|
|
1058
1066
|
is: "survey-string",
|
|
1059
1067
|
locString: r.item.locText
|
|
1060
1068
|
}, null, 8, ["locString"])
|
|
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
|
|
@@ -1088,7 +1102,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1088
1102
|
B(v("div", {
|
|
1089
1103
|
class: l(s.question.cssClasses.placeholder)
|
|
1090
1104
|
}, [
|
|
1091
|
-
|
|
1105
|
+
c(d, {
|
|
1092
1106
|
is: "survey-string",
|
|
1093
1107
|
locString: s.question.locRenderedPlaceholder
|
|
1094
1108
|
}, null, 8, ["locString"])
|
|
@@ -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,
|
|
@@ -1137,7 +1151,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1137
1151
|
key: 1,
|
|
1138
1152
|
class: l(s.question.cssClasses.loadingIndicator)
|
|
1139
1153
|
}, [
|
|
1140
|
-
|
|
1154
|
+
c(d, { is: "sv-loading-indicator" })
|
|
1141
1155
|
], 2)) : p("", !0)
|
|
1142
1156
|
], 6));
|
|
1143
1157
|
}
|
|
@@ -1232,7 +1246,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1232
1246
|
key: 3,
|
|
1233
1247
|
class: l(t.question.cssClasses.noImage)
|
|
1234
1248
|
}, [
|
|
1235
|
-
|
|
1249
|
+
c(d, {
|
|
1236
1250
|
is: "sv-svg-icon",
|
|
1237
1251
|
iconName: t.question.cssClasses.noImageSvgIconId,
|
|
1238
1252
|
size: 48
|
|
@@ -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,
|
|
@@ -1323,7 +1337,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1323
1337
|
key: 0,
|
|
1324
1338
|
class: l(s.question.cssClasses.dragAreaPlaceholder)
|
|
1325
1339
|
}, [
|
|
1326
|
-
|
|
1340
|
+
c(d, {
|
|
1327
1341
|
is: "survey-string",
|
|
1328
1342
|
locString: s.question.locRenderedPlaceholder
|
|
1329
1343
|
}, null, 8, ["locString"])
|
|
@@ -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
|
|
@@ -1342,19 +1356,19 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1342
1356
|
key: 1,
|
|
1343
1357
|
class: l(s.question.cssClasses.loadingIndicator)
|
|
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
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),
|
|
@@ -1518,7 +1532,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1518
1532
|
objectFit: o.question.imageFit
|
|
1519
1533
|
})
|
|
1520
1534
|
}, [
|
|
1521
|
-
|
|
1535
|
+
c(d, {
|
|
1522
1536
|
is: "sv-svg-icon",
|
|
1523
1537
|
class: l(o.question.cssClasses.itemNoImageSvgIcon),
|
|
1524
1538
|
iconName: o.question.cssClasses.itemNoImageSvgIconId,
|
|
@@ -1530,7 +1544,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1530
1544
|
key: 0,
|
|
1531
1545
|
class: l(o.question.cssClasses.itemText)
|
|
1532
1546
|
}, [
|
|
1533
|
-
|
|
1547
|
+
c(d, {
|
|
1534
1548
|
is: "survey-string",
|
|
1535
1549
|
locString: o.item.locText
|
|
1536
1550
|
}, null, 8, ["locString"])
|
|
@@ -1555,16 +1569,16 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1555
1569
|
ref_key: "root",
|
|
1556
1570
|
ref: n
|
|
1557
1571
|
}, [
|
|
1558
|
-
|
|
1572
|
+
c(d, {
|
|
1559
1573
|
is: "sv-text-area",
|
|
1560
1574
|
model: t.question.textAreaModel
|
|
1561
1575
|
}, null, 8, ["model"]),
|
|
1562
|
-
|
|
1576
|
+
c(d, {
|
|
1563
1577
|
is: "sv-character-counter",
|
|
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,
|
|
@@ -1590,11 +1604,11 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1590
1604
|
ref_key: "root",
|
|
1591
1605
|
ref: n
|
|
1592
1606
|
}, [
|
|
1593
|
-
|
|
1607
|
+
c(d, {
|
|
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,7 +1660,7 @@ 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
1666
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => o.value = g),
|
|
@@ -1660,8 +1674,8 @@ 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
1680
|
item: g,
|
|
1667
1681
|
key: g.id
|
|
@@ -1674,7 +1688,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1674
1688
|
class: l(r.question.cssClasses.chevronButton),
|
|
1675
1689
|
"aria-hidden": "true"
|
|
1676
1690
|
}, [
|
|
1677
|
-
|
|
1691
|
+
c(d, {
|
|
1678
1692
|
is: "sv-svg-icon",
|
|
1679
1693
|
class: l(r.question.cssClasses.chevronButtonSvg),
|
|
1680
1694
|
iconName: r.question.cssClasses.chevronButtonIconId,
|
|
@@ -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: {}
|
|
@@ -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(),
|
|
@@ -1809,12 +1823,12 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1809
1823
|
onFocus: g
|
|
1810
1824
|
}, null, 42, f1)) : p("", !0)
|
|
1811
1825
|
], 2),
|
|
1812
|
-
|
|
1826
|
+
c(d, {
|
|
1813
1827
|
is: "sv-action-bar",
|
|
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,17 +1849,17 @@ 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
|
|
1842
1856
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1843
1857
|
], 2),
|
|
1844
|
-
|
|
1858
|
+
c(d, {
|
|
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
|
}
|
|
@@ -1862,11 +1876,11 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1862
1876
|
ref_key: "root",
|
|
1863
1877
|
ref: n
|
|
1864
1878
|
}, [
|
|
1865
|
-
|
|
1879
|
+
c(d, {
|
|
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,
|
|
@@ -1922,25 +1936,25 @@ 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,
|
|
1935
1949
|
question: r.question
|
|
1936
1950
|
}, null, 8, ["model", "question"])) : p("", !0)
|
|
1937
1951
|
], 2),
|
|
1938
|
-
|
|
1952
|
+
c(d, {
|
|
1939
1953
|
is: "sv-action-bar",
|
|
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
|
|
@@ -1961,13 +1975,13 @@ 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
|
|
1968
1982
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1969
1983
|
], 2),
|
|
1970
|
-
|
|
1984
|
+
c(d, {
|
|
1971
1985
|
is: "sv-action-bar",
|
|
1972
1986
|
model: n.value.editorButtons
|
|
1973
1987
|
}, null, 8, ["model"])
|
|
@@ -2007,12 +2021,12 @@ const q1 = /* @__PURE__ */ y({
|
|
|
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,8 +2035,8 @@ 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",
|
|
@@ -2070,7 +2084,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2070
2084
|
key: s.item.key
|
|
2071
2085
|
}, [
|
|
2072
2086
|
v("div", $1, [
|
|
2073
|
-
|
|
2087
|
+
c(d, {
|
|
2074
2088
|
is: "survey-string",
|
|
2075
2089
|
locString: s.item.locText
|
|
2076
2090
|
}, null, 8, ["locString"])
|
|
@@ -2079,7 +2093,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2079
2093
|
class: l(s.question.cssClasses.cleanItemButton),
|
|
2080
2094
|
onClick: n
|
|
2081
2095
|
}, [
|
|
2082
|
-
|
|
2096
|
+
c(d, {
|
|
2083
2097
|
is: "sv-svg-icon",
|
|
2084
2098
|
class: l(s.question.cssClasses.cleanItemButtonSvg),
|
|
2085
2099
|
iconName: s.question.cssClasses.cleanItemButtonIconId,
|
|
@@ -2112,7 +2126,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2112
2126
|
ref_key: "root",
|
|
2113
2127
|
ref: n
|
|
2114
2128
|
}, [
|
|
2115
|
-
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(
|
|
2129
|
+
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(M, { key: 0 }, V(o.question.renderedRankingChoices, (m, g) => (i(), C(d, $({
|
|
2116
2130
|
key: m.value + "-" + g + "-item",
|
|
2117
2131
|
is: s(m)
|
|
2118
2132
|
}, t(m, g)), null, 16, ["is"]))), 128)),
|
|
@@ -2121,7 +2135,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2121
2135
|
class: l(o.question.getContainerClasses("from")),
|
|
2122
2136
|
"data-ranking": "from-container"
|
|
2123
2137
|
}, [
|
|
2124
|
-
(i(!0), a(
|
|
2138
|
+
(i(!0), a(M, null, V(o.question.renderedUnRankingChoices, (m, g) => (i(), C(d, $({
|
|
2125
2139
|
key: m.value + "-" + g + "-item",
|
|
2126
2140
|
is: s(m)
|
|
2127
2141
|
}, t(m, g, !0)), null, 16, ["is"]))), 128)),
|
|
@@ -2129,7 +2143,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2129
2143
|
key: 0,
|
|
2130
2144
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
2131
2145
|
}, [
|
|
2132
|
-
|
|
2146
|
+
c(d, {
|
|
2133
2147
|
is: "survey-string",
|
|
2134
2148
|
locString: o.question.locSelectToRankEmptyRankedAreaText
|
|
2135
2149
|
}, null, 8, ["locString"])
|
|
@@ -2144,7 +2158,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2144
2158
|
class: l(o.question.getContainerClasses("to")),
|
|
2145
2159
|
"data-ranking": "to-container"
|
|
2146
2160
|
}, [
|
|
2147
|
-
(i(!0), a(
|
|
2161
|
+
(i(!0), a(M, null, V(o.question.renderedRankingChoices, (m, g) => (i(), C(d, $({
|
|
2148
2162
|
key: m.value + "-" + g + "-item",
|
|
2149
2163
|
is: s(m)
|
|
2150
2164
|
}, t(m, g)), null, 16, ["is"]))), 128)),
|
|
@@ -2152,7 +2166,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2152
2166
|
key: 0,
|
|
2153
2167
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
2154
2168
|
}, [
|
|
2155
|
-
|
|
2169
|
+
c(d, {
|
|
2156
2170
|
is: "survey-string",
|
|
2157
2171
|
locString: o.question.locSelectToRankEmptyUnrankedAreaText
|
|
2158
2172
|
}, null, 8, ["locString"])
|
|
@@ -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
|
}, [
|
|
@@ -2237,7 +2251,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2237
2251
|
}, null, 8, F1)
|
|
2238
2252
|
]))
|
|
2239
2253
|
], 2)),
|
|
2240
|
-
|
|
2254
|
+
c(d, {
|
|
2241
2255
|
is: s.question.itemComponent,
|
|
2242
2256
|
item: s.item,
|
|
2243
2257
|
cssClasses: s.question.cssClasses
|
|
@@ -2257,7 +2271,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2257
2271
|
return (e, n) => (i(), a("div", {
|
|
2258
2272
|
class: l(e.cssClasses.controlLabel)
|
|
2259
2273
|
}, [
|
|
2260
|
-
|
|
2274
|
+
c(d, {
|
|
2261
2275
|
is: "survey-string",
|
|
2262
2276
|
locString: e.item.locText
|
|
2263
2277
|
}, null, 8, ["locString"])
|
|
@@ -2295,12 +2309,12 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2295
2309
|
key: 0,
|
|
2296
2310
|
class: l(t.question.cssClasses.minText)
|
|
2297
2311
|
}, [
|
|
2298
|
-
|
|
2312
|
+
c(d, {
|
|
2299
2313
|
is: "survey-string",
|
|
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,
|
|
@@ -2311,7 +2325,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2311
2325
|
key: 1,
|
|
2312
2326
|
class: l(t.question.cssClasses.maxText)
|
|
2313
2327
|
}, [
|
|
2314
|
-
|
|
2328
|
+
c(d, {
|
|
2315
2329
|
is: "survey-string",
|
|
2316
2330
|
locString: t.question.locMaxRateDescription
|
|
2317
2331
|
}, null, 8, ["locString"])
|
|
@@ -2348,7 +2362,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2348
2362
|
class: l(n.question.cssClasses.itemText),
|
|
2349
2363
|
"data-text": n.item.text
|
|
2350
2364
|
}, [
|
|
2351
|
-
|
|
2365
|
+
c(d, {
|
|
2352
2366
|
is: "survey-string",
|
|
2353
2367
|
locString: n.item.locText
|
|
2354
2368
|
}, null, 8, ["locString"])
|
|
@@ -2384,7 +2398,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2384
2398
|
onClick: s[0] || (s[0] = (t) => n.question.setValueFromClick(t.target.value)),
|
|
2385
2399
|
"aria-label": n.question.ariaLabel
|
|
2386
2400
|
}, null, 8, Y1),
|
|
2387
|
-
|
|
2401
|
+
c(d, {
|
|
2388
2402
|
is: "sv-svg-icon",
|
|
2389
2403
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2390
2404
|
size: "auto"
|
|
@@ -2419,13 +2433,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2419
2433
|
onClick: s[0] || (s[0] = (t) => n.question.setValueFromClick((t == null ? void 0 : t.target).value)),
|
|
2420
2434
|
"aria-label": n.question.ariaLabel
|
|
2421
2435
|
}, null, 8, en),
|
|
2422
|
-
|
|
2436
|
+
c(d, {
|
|
2423
2437
|
is: "sv-svg-icon",
|
|
2424
2438
|
class: l("sv-star"),
|
|
2425
2439
|
iconName: n.question.itemStarIcon,
|
|
2426
2440
|
size: "auto"
|
|
2427
2441
|
}, null, 8, ["iconName"]),
|
|
2428
|
-
|
|
2442
|
+
c(d, {
|
|
2429
2443
|
is: "sv-svg-icon",
|
|
2430
2444
|
class: l("sv-star-2"),
|
|
2431
2445
|
iconName: n.question.itemStarIconAlt,
|
|
@@ -2445,9 +2459,9 @@ 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",
|
|
2452
2466
|
locString: n.item.description
|
|
2453
2467
|
}, null, 8, ["locString"])
|
|
@@ -2473,7 +2487,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2473
2487
|
ref_key: "root",
|
|
2474
2488
|
ref: n
|
|
2475
2489
|
}, [
|
|
2476
|
-
|
|
2490
|
+
c(d, {
|
|
2477
2491
|
is: "sv-dropdown",
|
|
2478
2492
|
question: s.question
|
|
2479
2493
|
}, null, 8, ["question"])
|
|
@@ -2529,7 +2543,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2529
2543
|
v("span", {
|
|
2530
2544
|
class: l(o.question.getLabelCss(o.question.swapOrder))
|
|
2531
2545
|
}, [
|
|
2532
|
-
|
|
2546
|
+
c(d, {
|
|
2533
2547
|
is: "survey-string",
|
|
2534
2548
|
locString: o.question.locLabelLeft
|
|
2535
2549
|
}, null, 8, ["locString"])
|
|
@@ -2546,7 +2560,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2546
2560
|
key: 0,
|
|
2547
2561
|
class: l(o.question.cssClasses.sliderText)
|
|
2548
2562
|
}, [
|
|
2549
|
-
|
|
2563
|
+
c(d, {
|
|
2550
2564
|
is: "survey-string",
|
|
2551
2565
|
locString: o.question.getCheckedLabel()
|
|
2552
2566
|
}, null, 8, ["locString"])
|
|
@@ -2560,7 +2574,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2560
2574
|
v("span", {
|
|
2561
2575
|
class: l(o.question.getLabelCss(!o.question.swapOrder))
|
|
2562
2576
|
}, [
|
|
2563
|
-
|
|
2577
|
+
c(d, {
|
|
2564
2578
|
is: "survey-string",
|
|
2565
2579
|
locString: o.question.locLabelRight
|
|
2566
2580
|
}, null, 8, ["locString"])
|
|
@@ -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,
|
|
@@ -2662,7 +2676,7 @@ const dn = /* @__PURE__ */ y({
|
|
|
2662
2676
|
v("span", {
|
|
2663
2677
|
class: l(s.question.cssClasses.radioControlLabel)
|
|
2664
2678
|
}, [
|
|
2665
|
-
|
|
2679
|
+
c(d, {
|
|
2666
2680
|
is: "survey-string",
|
|
2667
2681
|
locString: s.locText
|
|
2668
2682
|
}, null, 8, ["locString"])
|
|
@@ -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,
|
|
@@ -2752,7 +2766,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2752
2766
|
class: l(s.question.cssDescription),
|
|
2753
2767
|
id: s.question.ariaDescriptionId
|
|
2754
2768
|
}, [
|
|
2755
|
-
|
|
2769
|
+
c(d, {
|
|
2756
2770
|
is: "survey-string",
|
|
2757
2771
|
locString: s.question.locDescription
|
|
2758
2772
|
}, null, 8, ["locString"])
|
|
@@ -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,11 +2809,11 @@ 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
|
}, [
|
|
2802
|
-
|
|
2816
|
+
c(d, {
|
|
2803
2817
|
is: "survey-multipletext-item",
|
|
2804
2818
|
question: n.question,
|
|
2805
2819
|
cell: t
|
|
@@ -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,9 +2849,9 @@ 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",
|
|
2842
2856
|
locString: s.value.locTitle
|
|
2843
2857
|
}, null, 8, ["locString"]),
|
|
@@ -2846,21 +2860,21 @@ 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,
|
|
2853
2867
|
class: l(t.question.getItemCss()),
|
|
2854
2868
|
onFocusin: o[0] || (o[0] = (r) => s.value.focusIn())
|
|
2855
2869
|
}, [
|
|
2856
|
-
|
|
2870
|
+
c(d, {
|
|
2857
2871
|
is: n(s.value.editor),
|
|
2858
2872
|
question: s.value.editor
|
|
2859
2873
|
}, null, 8, ["is", "question"])
|
|
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,24 +2887,24 @@ 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),
|
|
2883
2897
|
iconName: "arrowright-16x16",
|
|
2884
2898
|
size: "auto"
|
|
2885
2899
|
}, null, 8, ["class"])) : p("", !0),
|
|
2886
|
-
|
|
2900
|
+
c(d, {
|
|
2887
2901
|
is: "sv-action",
|
|
2888
2902
|
item: t
|
|
2889
2903
|
}, null, 8, ["item"])
|
|
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,13 +2913,13 @@ 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,
|
|
2906
2920
|
question: t.summary.question
|
|
2907
2921
|
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div", Sn, [
|
|
2908
|
-
|
|
2922
|
+
c(d, {
|
|
2909
2923
|
is: "survey-string",
|
|
2910
2924
|
locString: t.summary.noEntry
|
|
2911
2925
|
}, null, 8, ["locString"])
|
|
@@ -2914,14 +2928,14 @@ 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
|
}, [
|
|
2921
2935
|
v("div", {
|
|
2922
2936
|
class: l(t.css.summaryRowContent)
|
|
2923
2937
|
}, [
|
|
2924
|
-
|
|
2938
|
+
c(d, {
|
|
2925
2939
|
is: "survey-string",
|
|
2926
2940
|
locString: r.locText
|
|
2927
2941
|
}, null, 8, ["locString"])
|
|
@@ -2935,19 +2949,19 @@ const qn = /* @__PURE__ */ y({
|
|
|
2935
2949
|
onClick: (g) => r.btnEdit.action(),
|
|
2936
2950
|
title: r.btnEdit.title
|
|
2937
2951
|
}, [
|
|
2938
|
-
|
|
2952
|
+
c(d, {
|
|
2939
2953
|
is: "sv-svg-icon",
|
|
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
2961
|
onClick: (g) => r.btnRemove.action(),
|
|
2948
2962
|
title: r.btnRemove.title
|
|
2949
2963
|
}, [
|
|
2950
|
-
|
|
2964
|
+
c(d, {
|
|
2951
2965
|
is: "sv-svg-icon",
|
|
2952
2966
|
iconName: "icon-delete-16x16",
|
|
2953
2967
|
size: "auto"
|
|
@@ -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,
|
|
@@ -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({
|
|
@@ -3169,12 +3201,12 @@ const qn = /* @__PURE__ */ y({
|
|
|
3169
3201
|
width: t.question.columnMinWidth
|
|
3170
3202
|
})
|
|
3171
3203
|
}, [
|
|
3172
|
-
|
|
3204
|
+
c(d, {
|
|
3173
3205
|
is: t.question.getColumnHeaderWrapperComponentName(r),
|
|
3174
3206
|
componentData: t.question.getColumnHeaderWrapperComponentData(r)
|
|
3175
3207
|
}, {
|
|
3176
3208
|
default: D(() => [
|
|
3177
|
-
|
|
3209
|
+
c(d, {
|
|
3178
3210
|
is: "survey-string",
|
|
3179
3211
|
locString: r.locText
|
|
3180
3212
|
}, null, 8, ["locString"])
|
|
@@ -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,
|
|
@@ -3280,7 +3312,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3280
3312
|
key: 0,
|
|
3281
3313
|
class: l(t.question.cssClasses.cellResponsiveTitle)
|
|
3282
3314
|
}, [
|
|
3283
|
-
|
|
3315
|
+
c(d, {
|
|
3284
3316
|
is: "survey-string",
|
|
3285
3317
|
locString: t.column.locText
|
|
3286
3318
|
}, null, 8, ["locString"])
|
|
@@ -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,30 +3343,29 @@ 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),
|
|
3326
3357
|
style: L({ minWidth: o.minWidth, width: o.width })
|
|
3327
3358
|
}, [
|
|
3328
|
-
|
|
3359
|
+
c(d, {
|
|
3329
3360
|
is: s.question.getColumnHeaderWrapperComponentName(o),
|
|
3330
3361
|
componentData: s.question.getColumnHeaderWrapperComponentData(o)
|
|
3331
3362
|
}, {
|
|
3332
3363
|
default: D(() => [
|
|
3333
|
-
|
|
3364
|
+
c(d, {
|
|
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: {},
|
|
@@ -3451,23 +3482,23 @@ 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
3503
|
is: g.value
|
|
3473
3504
|
}, S.value), null, 16, ["is"])) : p("", !0),
|
|
@@ -3475,11 +3506,11 @@ const qn = /* @__PURE__ */ y({
|
|
|
3475
3506
|
key: 4,
|
|
3476
3507
|
class: l(h.cell.responsiveTitleCss)
|
|
3477
3508
|
}, [
|
|
3478
|
-
|
|
3509
|
+
c(d, {
|
|
3479
3510
|
is: "survey-string",
|
|
3480
3511
|
locString: h.cell.responsiveLocTitle
|
|
3481
3512
|
}, null, 8, ["locString"]),
|
|
3482
|
-
|
|
3513
|
+
c(d, {
|
|
3483
3514
|
is: "survey-matrixheaderrequired",
|
|
3484
3515
|
column: h.cell.column,
|
|
3485
3516
|
question: h.cell.matrix
|
|
@@ -3489,31 +3520,31 @@ 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)
|
|
3496
3527
|
}, {
|
|
3497
3528
|
default: D(() => [
|
|
3498
|
-
|
|
3529
|
+
c(d, {
|
|
3499
3530
|
is: m(h.cell.question),
|
|
3500
3531
|
question: h.cell.question
|
|
3501
3532
|
}, null, 8, ["is", "question"])
|
|
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
|
-
}), et = /* @__PURE__ */ y({
|
|
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: {
|
|
@@ -3586,20 +3617,26 @@ const qn = /* @__PURE__ */ y({
|
|
|
3586
3617
|
class: l(t.question.getAddRowButtonCss()),
|
|
3587
3618
|
onClick: s
|
|
3588
3619
|
}, [
|
|
3589
|
-
|
|
3620
|
+
c(d, {
|
|
3590
3621
|
is: "survey-string",
|
|
3591
3622
|
locString: t.question.locAddRowText
|
|
3592
3623
|
}, null, 8, ["locString"]),
|
|
3593
3624
|
v("span", {
|
|
3594
3625
|
class: l(t.question.cssClasses.iconAdd)
|
|
3595
|
-
},
|
|
3626
|
+
}, [
|
|
3627
|
+
t.question.cssClasses.iconAddId ? (i(), a("svg", xn, [
|
|
3628
|
+
v("use", {
|
|
3629
|
+
"xlink:href": t.question.cssClasses.iconAddId
|
|
3630
|
+
}, null, 8, et)
|
|
3631
|
+
])) : p("", !0)
|
|
3632
|
+
], 2)
|
|
3596
3633
|
], 2)
|
|
3597
3634
|
], 2)) : p("", !0),
|
|
3598
|
-
t.question.renderedTable.showTable ? (i(),
|
|
3635
|
+
t.question.renderedTable.showTable ? (i(), C(d, {
|
|
3599
3636
|
key: 1,
|
|
3600
3637
|
is: "survey-matrixtable",
|
|
3601
3638
|
question: t.question
|
|
3602
|
-
}, null, 8, ["question"])) : (i(),
|
|
3639
|
+
}, null, 8, ["question"])) : (i(), C(d, {
|
|
3603
3640
|
key: 2,
|
|
3604
3641
|
is: "survey-placeholder-matrixdynamic",
|
|
3605
3642
|
question: t.question
|
|
@@ -3613,18 +3650,24 @@ const qn = /* @__PURE__ */ y({
|
|
|
3613
3650
|
class: l(t.question.getAddRowButtonCss()),
|
|
3614
3651
|
onClick: s
|
|
3615
3652
|
}, [
|
|
3616
|
-
|
|
3653
|
+
c(d, {
|
|
3617
3654
|
is: "survey-string",
|
|
3618
3655
|
locString: t.question.locAddRowText
|
|
3619
3656
|
}, null, 8, ["locString"]),
|
|
3620
3657
|
v("span", {
|
|
3621
3658
|
class: l(t.question.cssClasses.iconAdd)
|
|
3622
|
-
},
|
|
3659
|
+
}, [
|
|
3660
|
+
t.question.cssClasses.iconAddId ? (i(), a("svg", st, [
|
|
3661
|
+
v("use", {
|
|
3662
|
+
"xlink:href": t.question.cssClasses.iconAddId
|
|
3663
|
+
}, null, 8, nt)
|
|
3664
|
+
])) : p("", !0)
|
|
3665
|
+
], 2)
|
|
3623
3666
|
], 2)
|
|
3624
3667
|
], 2)) : p("", !0)
|
|
3625
3668
|
], 512));
|
|
3626
3669
|
}
|
|
3627
|
-
}),
|
|
3670
|
+
}), ot = /* @__PURE__ */ y({
|
|
3628
3671
|
__name: "MatrixDynamicPlaceholder",
|
|
3629
3672
|
props: {
|
|
3630
3673
|
question: {}
|
|
@@ -3639,7 +3682,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3639
3682
|
v("div", {
|
|
3640
3683
|
class: l(s.question.cssClasses.noRowsText)
|
|
3641
3684
|
}, [
|
|
3642
|
-
|
|
3685
|
+
c(d, {
|
|
3643
3686
|
is: "survey-string",
|
|
3644
3687
|
locString: s.question.locNoRowsText
|
|
3645
3688
|
}, null, 8, ["locString"])
|
|
@@ -3650,7 +3693,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3650
3693
|
class: l(s.question.getAddRowButtonCss(!0)),
|
|
3651
3694
|
onClick: n
|
|
3652
3695
|
}, [
|
|
3653
|
-
|
|
3696
|
+
c(d, {
|
|
3654
3697
|
is: "survey-string",
|
|
3655
3698
|
locString: s.question.locAddRowText
|
|
3656
3699
|
}, null, 8, ["locString"]),
|
|
@@ -3667,7 +3710,7 @@ function te(u, e = !0) {
|
|
|
3667
3710
|
row: e ? f(() => u.item.data.row) : void 0
|
|
3668
3711
|
};
|
|
3669
3712
|
}
|
|
3670
|
-
const
|
|
3713
|
+
const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
3671
3714
|
__name: "RemoveButton",
|
|
3672
3715
|
props: {
|
|
3673
3716
|
item: {}
|
|
@@ -3680,16 +3723,16 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3680
3723
|
disabled: w(n).isInputReadOnly,
|
|
3681
3724
|
onClick: o[0] || (o[0] = () => w(n).removeRowUI(w(s)))
|
|
3682
3725
|
}, [
|
|
3683
|
-
|
|
3726
|
+
c(d, {
|
|
3684
3727
|
is: "survey-string",
|
|
3685
3728
|
locString: w(n).locRemoveRowText
|
|
3686
3729
|
}, null, 8, ["locString"]),
|
|
3687
3730
|
v("span", {
|
|
3688
3731
|
class: l(w(n).cssClasses.iconRemove)
|
|
3689
3732
|
}, null, 2)
|
|
3690
|
-
], 10,
|
|
3733
|
+
], 10, it));
|
|
3691
3734
|
}
|
|
3692
|
-
}),
|
|
3735
|
+
}), lt = ["xlink:href"], at = /* @__PURE__ */ y({
|
|
3693
3736
|
__name: "DragDropIcon",
|
|
3694
3737
|
props: {
|
|
3695
3738
|
item: {}
|
|
@@ -3703,14 +3746,14 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3703
3746
|
}, [
|
|
3704
3747
|
v("use", {
|
|
3705
3748
|
"xlink:href": w(n).iconDragElement
|
|
3706
|
-
}, null, 8,
|
|
3749
|
+
}, null, 8, lt)
|
|
3707
3750
|
], 2)) : (i(), a("span", {
|
|
3708
3751
|
key: 1,
|
|
3709
3752
|
class: l(w(n).cssClasses.iconDrag)
|
|
3710
3753
|
}, null, 2))
|
|
3711
3754
|
]));
|
|
3712
3755
|
}
|
|
3713
|
-
}),
|
|
3756
|
+
}), ut = ["title", "aria-expanded", "aria-controls"], dt = /* @__PURE__ */ y({
|
|
3714
3757
|
__name: "DetailButton",
|
|
3715
3758
|
props: {
|
|
3716
3759
|
item: {}
|
|
@@ -3725,15 +3768,15 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3725
3768
|
"aria-expanded": w(n).getIsDetailPanelShowing(w(s)) ? "true" : "false",
|
|
3726
3769
|
"aria-controls": w(n).getIsDetailPanelShowing(w(s)) ? w(s).detailPanelId : null
|
|
3727
3770
|
}, [
|
|
3728
|
-
|
|
3771
|
+
c(d, {
|
|
3729
3772
|
is: "sv-svg-icon",
|
|
3730
3773
|
class: l(w(n).getDetailPanelIconCss(w(s))),
|
|
3731
3774
|
iconName: w(n).getDetailPanelIconId(w(s)),
|
|
3732
3775
|
size: "auto"
|
|
3733
3776
|
}, null, 8, ["class", "iconName"])
|
|
3734
|
-
], 10,
|
|
3777
|
+
], 10, ut));
|
|
3735
3778
|
}
|
|
3736
|
-
}),
|
|
3779
|
+
}), mt = ["aria-label"], pt = /* @__PURE__ */ y({
|
|
3737
3780
|
inheritAttrs: !1,
|
|
3738
3781
|
__name: "PanelDynamic",
|
|
3739
3782
|
props: {
|
|
@@ -3774,12 +3817,12 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3774
3817
|
key: 0,
|
|
3775
3818
|
class: l(o.question.getTabsContainerCss())
|
|
3776
3819
|
}, [
|
|
3777
|
-
|
|
3820
|
+
c(d, {
|
|
3778
3821
|
is: "sv-action-bar",
|
|
3779
3822
|
model: o.question.tabbedMenu
|
|
3780
3823
|
}, null, 8, ["model"])
|
|
3781
3824
|
], 2)) : p("", !0),
|
|
3782
|
-
o.question.getShowNoEntriesPlaceholder() ? (i(),
|
|
3825
|
+
o.question.getShowNoEntriesPlaceholder() ? (i(), C(d, {
|
|
3783
3826
|
key: 1,
|
|
3784
3827
|
is: "survey-placeholder-paneldynamic",
|
|
3785
3828
|
question: o.question
|
|
@@ -3793,21 +3836,21 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3793
3836
|
style: L({ width: o.question.progress }),
|
|
3794
3837
|
role: "progressbar",
|
|
3795
3838
|
"aria-label": o.question.progressBarAriaLabel
|
|
3796
|
-
}, null, 14,
|
|
3839
|
+
}, null, 14, mt)
|
|
3797
3840
|
], 2)) : p("", !0),
|
|
3798
3841
|
v("div", {
|
|
3799
3842
|
class: l(o.question.cssClasses.panelsContainer)
|
|
3800
3843
|
}, [
|
|
3801
|
-
(i(!0), a(
|
|
3844
|
+
(i(!0), a(M, null, V(o.question.renderedPanels, (m, g) => (i(), a(M, {
|
|
3802
3845
|
key: m.id
|
|
3803
3846
|
}, [
|
|
3804
3847
|
v("div", {
|
|
3805
3848
|
class: l(o.question.getPanelWrapperCss(m))
|
|
3806
3849
|
}, [
|
|
3807
|
-
|
|
3850
|
+
c(d, $({
|
|
3808
3851
|
is: s(m)
|
|
3809
3852
|
}, t(m)), null, 16, ["is"]),
|
|
3810
|
-
o.question.canRenderRemovePanelOnRight(m) ? (i(),
|
|
3853
|
+
o.question.canRenderRemovePanelOnRight(m) ? (i(), C(d, {
|
|
3811
3854
|
key: 0,
|
|
3812
3855
|
is: "sv-paneldynamic-remove-btn",
|
|
3813
3856
|
data: { question: o.question, panel: m }
|
|
@@ -3819,14 +3862,14 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3819
3862
|
}, null, 2)) : p("", !0)
|
|
3820
3863
|
], 64))), 128))
|
|
3821
3864
|
], 2),
|
|
3822
|
-
o.question.showNavigation ? (i(),
|
|
3865
|
+
o.question.showNavigation ? (i(), C(d, {
|
|
3823
3866
|
key: 3,
|
|
3824
3867
|
is: "survey-paneldynamicprogress-v2",
|
|
3825
3868
|
question: o.question
|
|
3826
3869
|
}, null, 8, ["question"])) : p("", !0)
|
|
3827
3870
|
], 2));
|
|
3828
3871
|
}
|
|
3829
|
-
}),
|
|
3872
|
+
}), vt = ["aria-label"], Ct = /* @__PURE__ */ y({
|
|
3830
3873
|
__name: "PanelDynamicProgress",
|
|
3831
3874
|
props: {
|
|
3832
3875
|
question: {}
|
|
@@ -3843,7 +3886,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3843
3886
|
v("div", {
|
|
3844
3887
|
class: l(s.question.cssClasses.progressContainer)
|
|
3845
3888
|
}, [
|
|
3846
|
-
|
|
3889
|
+
c(d, {
|
|
3847
3890
|
is: "sv-paneldynamic-prev-btn",
|
|
3848
3891
|
data: { question: s.question }
|
|
3849
3892
|
}, null, 8, ["data"]),
|
|
@@ -3856,25 +3899,25 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3856
3899
|
style: L({ width: s.question.progress }),
|
|
3857
3900
|
role: "progressbar",
|
|
3858
3901
|
"aria-label": s.question.progressBarAriaLabel
|
|
3859
|
-
}, null, 14,
|
|
3902
|
+
}, null, 14, vt)
|
|
3860
3903
|
], 2)) : p("", !0),
|
|
3861
|
-
|
|
3904
|
+
c(d, {
|
|
3862
3905
|
is: "sv-paneldynamic-next-btn",
|
|
3863
3906
|
data: { question: s.question }
|
|
3864
3907
|
}, null, 8, ["data"])
|
|
3865
3908
|
], 2),
|
|
3866
|
-
|
|
3909
|
+
c(d, {
|
|
3867
3910
|
is: "sv-paneldynamic-add-btn",
|
|
3868
3911
|
data: { question: s.question }
|
|
3869
3912
|
}, null, 8, ["data"]),
|
|
3870
|
-
|
|
3913
|
+
c(d, {
|
|
3871
3914
|
is: "sv-paneldynamic-progress-text",
|
|
3872
3915
|
data: { question: s.question }
|
|
3873
3916
|
}, null, 8, ["data"])
|
|
3874
3917
|
], 2)
|
|
3875
3918
|
], 2));
|
|
3876
3919
|
}
|
|
3877
|
-
}),
|
|
3920
|
+
}), ct = ["aria-label"], gt = /* @__PURE__ */ y({
|
|
3878
3921
|
__name: "PanelDynamicProgressV2",
|
|
3879
3922
|
props: {
|
|
3880
3923
|
question: {}
|
|
@@ -3896,20 +3939,20 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3896
3939
|
style: L({ width: e.question.progress }),
|
|
3897
3940
|
role: "progressbar",
|
|
3898
3941
|
"aria-label": e.question.progressBarAriaLabel
|
|
3899
|
-
}, null, 14,
|
|
3942
|
+
}, null, 14, ct)
|
|
3900
3943
|
], 2)) : p("", !0),
|
|
3901
3944
|
e.question.showFooterToolbar ? (i(), a("div", {
|
|
3902
3945
|
key: 1,
|
|
3903
3946
|
class: l(e.question.cssClasses.footerButtonsContainer)
|
|
3904
3947
|
}, [
|
|
3905
|
-
|
|
3948
|
+
c(d, {
|
|
3906
3949
|
is: "sv-action-bar",
|
|
3907
3950
|
model: e.question.footerToolbar
|
|
3908
3951
|
}, null, 8, ["model"])
|
|
3909
3952
|
], 2)) : p("", !0)
|
|
3910
3953
|
], 2)) : p("", !0);
|
|
3911
3954
|
}
|
|
3912
|
-
}),
|
|
3955
|
+
}), yt = /* @__PURE__ */ y({
|
|
3913
3956
|
__name: "PanelDynamicPlaceholder",
|
|
3914
3957
|
props: {
|
|
3915
3958
|
question: {}
|
|
@@ -3919,12 +3962,12 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3919
3962
|
class: l(e.question.cssClasses.noEntriesPlaceholder)
|
|
3920
3963
|
}, [
|
|
3921
3964
|
v("span", null, [
|
|
3922
|
-
|
|
3965
|
+
c(d, {
|
|
3923
3966
|
is: "survey-string",
|
|
3924
3967
|
locString: e.question.locNoEntriesText
|
|
3925
3968
|
}, null, 8, ["locString"])
|
|
3926
3969
|
]),
|
|
3927
|
-
|
|
3970
|
+
c(d, {
|
|
3928
3971
|
is: "sv-paneldynamic-add-btn",
|
|
3929
3972
|
data: { question: e.question }
|
|
3930
3973
|
}, null, 8, ["data"])
|
|
@@ -3936,7 +3979,7 @@ function Q(u) {
|
|
|
3936
3979
|
() => u.item && u.item.data.question || u.data.question
|
|
3937
3980
|
);
|
|
3938
3981
|
}
|
|
3939
|
-
const
|
|
3982
|
+
const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
3940
3983
|
__name: "PaneldynamicAddBtn",
|
|
3941
3984
|
props: {
|
|
3942
3985
|
item: {},
|
|
@@ -3956,14 +3999,14 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
3956
3999
|
v("span", {
|
|
3957
4000
|
class: l(w(n).cssClasses.buttonAddText)
|
|
3958
4001
|
}, [
|
|
3959
|
-
|
|
4002
|
+
c(d, {
|
|
3960
4003
|
is: "survey-string",
|
|
3961
4004
|
locString: w(n).locAddPanelText
|
|
3962
4005
|
}, null, 8, ["locString"])
|
|
3963
4006
|
], 2)
|
|
3964
|
-
], 10,
|
|
4007
|
+
], 10, ht)) : p("", !0);
|
|
3965
4008
|
}
|
|
3966
|
-
}),
|
|
4009
|
+
}), wt = ["title"], bt = /* @__PURE__ */ y({
|
|
3967
4010
|
__name: "PaneldynamicNextBtn",
|
|
3968
4011
|
props: {
|
|
3969
4012
|
item: {},
|
|
@@ -3978,14 +4021,14 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
3978
4021
|
onClick: s,
|
|
3979
4022
|
class: l(w(n).getNextButtonCss())
|
|
3980
4023
|
}, [
|
|
3981
|
-
|
|
4024
|
+
c(d, {
|
|
3982
4025
|
is: "sv-svg-icon",
|
|
3983
4026
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3984
4027
|
size: "auto"
|
|
3985
4028
|
}, null, 8, ["iconName"])
|
|
3986
|
-
], 10,
|
|
4029
|
+
], 10, wt));
|
|
3987
4030
|
}
|
|
3988
|
-
}),
|
|
4031
|
+
}), Lt = ["title"], kt = /* @__PURE__ */ y({
|
|
3989
4032
|
__name: "PaneldynamicPrevBtn",
|
|
3990
4033
|
props: {
|
|
3991
4034
|
item: {},
|
|
@@ -4000,14 +4043,14 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4000
4043
|
onClick: s,
|
|
4001
4044
|
class: l(w(n).getPrevButtonCss())
|
|
4002
4045
|
}, [
|
|
4003
|
-
|
|
4046
|
+
c(d, {
|
|
4004
4047
|
is: "sv-svg-icon",
|
|
4005
4048
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4006
4049
|
size: "auto"
|
|
4007
4050
|
}, null, 8, ["iconName"])
|
|
4008
|
-
], 10,
|
|
4051
|
+
], 10, Lt));
|
|
4009
4052
|
}
|
|
4010
|
-
}),
|
|
4053
|
+
}), ft = ["id"], Mt = /* @__PURE__ */ y({
|
|
4011
4054
|
__name: "PaneldynamicRemoveBtn",
|
|
4012
4055
|
props: {
|
|
4013
4056
|
item: {},
|
|
@@ -4028,7 +4071,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4028
4071
|
v("span", {
|
|
4029
4072
|
class: l(w(n).cssClasses.buttonRemoveText)
|
|
4030
4073
|
}, [
|
|
4031
|
-
|
|
4074
|
+
c(d, {
|
|
4032
4075
|
is: "survey-string",
|
|
4033
4076
|
locString: w(n).locRemovePanelText
|
|
4034
4077
|
}, null, 8, ["locString"])
|
|
@@ -4036,9 +4079,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4036
4079
|
v("span", {
|
|
4037
4080
|
class: l(w(n).cssClasses.iconRemove)
|
|
4038
4081
|
}, null, 2)
|
|
4039
|
-
], 10,
|
|
4082
|
+
], 10, ft));
|
|
4040
4083
|
}
|
|
4041
|
-
}),
|
|
4084
|
+
}), Ht = /* @__PURE__ */ y({
|
|
4042
4085
|
__name: "PaneldynamicProgressText",
|
|
4043
4086
|
props: {
|
|
4044
4087
|
item: {},
|
|
@@ -4048,9 +4091,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4048
4091
|
const n = Q(u);
|
|
4049
4092
|
return (s, t) => (i(), a("div", {
|
|
4050
4093
|
class: l(w(n).cssClasses.progressText)
|
|
4051
|
-
},
|
|
4094
|
+
}, H(w(n).progressText), 3));
|
|
4052
4095
|
}
|
|
4053
|
-
}),
|
|
4096
|
+
}), It = ["id"], Vt = /* @__PURE__ */ y({
|
|
4054
4097
|
__name: "Errors",
|
|
4055
4098
|
props: {
|
|
4056
4099
|
element: {},
|
|
@@ -4065,28 +4108,28 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4065
4108
|
ref_key: "root",
|
|
4066
4109
|
ref: e
|
|
4067
4110
|
}, [
|
|
4068
|
-
(i(!0), a(
|
|
4111
|
+
(i(!0), a(M, null, V(n.element.renderedErrors, (t, o) => (i(), C(d, {
|
|
4069
4112
|
is: n.element.survey.questionErrorComponent,
|
|
4070
4113
|
element: n.element,
|
|
4071
4114
|
key: o,
|
|
4072
4115
|
error: t,
|
|
4073
4116
|
cssClasses: n.element.cssClasses
|
|
4074
4117
|
}, null, 8, ["is", "element", "error", "cssClasses"]))), 128))
|
|
4075
|
-
], 10,
|
|
4118
|
+
], 10, It)) : p("", !0);
|
|
4076
4119
|
}
|
|
4077
|
-
}),
|
|
4120
|
+
}), St = { key: 0 }, Rt = /* @__PURE__ */ y({
|
|
4078
4121
|
__name: "QuestionComment",
|
|
4079
4122
|
props: {
|
|
4080
4123
|
question: {}
|
|
4081
4124
|
},
|
|
4082
4125
|
setup(u) {
|
|
4083
|
-
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, {
|
|
4084
4127
|
key: 1,
|
|
4085
4128
|
is: "sv-text-area",
|
|
4086
4129
|
model: e.question.commentTextAreaModel
|
|
4087
4130
|
}, null, 8, ["model"]));
|
|
4088
4131
|
}
|
|
4089
|
-
}),
|
|
4132
|
+
}), Tt = /* @__PURE__ */ y({
|
|
4090
4133
|
__name: "TitleElement",
|
|
4091
4134
|
props: {
|
|
4092
4135
|
element: {},
|
|
@@ -4096,7 +4139,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4096
4139
|
const e = (n) => {
|
|
4097
4140
|
we(n);
|
|
4098
4141
|
};
|
|
4099
|
-
return (n, s) => n.element.hasTitle ? (i(),
|
|
4142
|
+
return (n, s) => n.element.hasTitle ? (i(), C(ye(n.element.titleTagName), {
|
|
4100
4143
|
key: 0,
|
|
4101
4144
|
class: l(n.element.cssTitle),
|
|
4102
4145
|
"aria-label": n.element.titleAriaLabel,
|
|
@@ -4109,27 +4152,27 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4109
4152
|
})
|
|
4110
4153
|
}, {
|
|
4111
4154
|
default: D(() => [
|
|
4112
|
-
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(),
|
|
4155
|
+
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), C(d, {
|
|
4113
4156
|
key: 0,
|
|
4114
4157
|
is: "sv-svg-icon",
|
|
4115
4158
|
class: l(n.element.getCssTitleExpandableSvg()),
|
|
4116
4159
|
iconName: "icon-expand-16x16",
|
|
4117
4160
|
size: "'auto'"
|
|
4118
4161
|
}, null, 8, ["class"])) : p("", !0),
|
|
4119
|
-
n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(),
|
|
4162
|
+
n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), C(d, {
|
|
4120
4163
|
key: 1,
|
|
4121
4164
|
is: "sv-svg-icon",
|
|
4122
4165
|
class: l(n.element.getCssTitleExpandableSvg()),
|
|
4123
4166
|
iconName: "icon-collapse-16x16",
|
|
4124
4167
|
size: "'auto'"
|
|
4125
4168
|
}, null, 8, ["class"])) : p("", !0),
|
|
4126
|
-
n.element.hasTitleActions ? p("", !0) : (i(),
|
|
4169
|
+
n.element.hasTitleActions ? p("", !0) : (i(), C(d, {
|
|
4127
4170
|
key: 2,
|
|
4128
4171
|
is: "survey-element-title-content",
|
|
4129
4172
|
element: n.element,
|
|
4130
4173
|
css: n.css
|
|
4131
4174
|
}, null, 8, ["element", "css"])),
|
|
4132
|
-
n.element.hasTitleActions ? (i(),
|
|
4175
|
+
n.element.hasTitleActions ? (i(), C(d, {
|
|
4133
4176
|
key: 3,
|
|
4134
4177
|
is: "sv-title-actions",
|
|
4135
4178
|
element: n.element,
|
|
@@ -4139,7 +4182,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4139
4182
|
_: 1
|
|
4140
4183
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : p("", !0);
|
|
4141
4184
|
}
|
|
4142
|
-
}),
|
|
4185
|
+
}), Bt = { key: 2 }, Zt = { key: 4 }, $t = { key: 6 }, Dt = { key: 8 }, At = /* @__PURE__ */ y({
|
|
4143
4186
|
inheritAttrs: !1,
|
|
4144
4187
|
__name: "TitleContent",
|
|
4145
4188
|
props: {
|
|
@@ -4147,8 +4190,8 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4147
4190
|
css: {}
|
|
4148
4191
|
},
|
|
4149
4192
|
setup(u) {
|
|
4150
|
-
return (e, n) => (i(), a(
|
|
4151
|
-
e.element.isTitleRenderedAsString ? (i(),
|
|
4193
|
+
return (e, n) => (i(), a(M, null, [
|
|
4194
|
+
e.element.isTitleRenderedAsString ? (i(), C(d, {
|
|
4152
4195
|
key: 0,
|
|
4153
4196
|
is: "survey-string",
|
|
4154
4197
|
locString: e.element.locRenderedTitle
|
|
@@ -4157,35 +4200,35 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4157
4200
|
key: 1,
|
|
4158
4201
|
class: l(e.element.cssRequiredMark),
|
|
4159
4202
|
"aria-hidden": !0
|
|
4160
|
-
},
|
|
4161
|
-
!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),
|
|
4162
4205
|
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", {
|
|
4163
4206
|
key: 3,
|
|
4164
4207
|
style: { position: "static" },
|
|
4165
4208
|
class: l(e.element.cssTitleNumber),
|
|
4166
4209
|
"aria-hidden": !0
|
|
4167
|
-
},
|
|
4168
|
-
!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),
|
|
4169
4212
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", {
|
|
4170
4213
|
key: 5,
|
|
4171
4214
|
class: l(e.element.cssRequiredMark),
|
|
4172
4215
|
"aria-hidden": !0
|
|
4173
|
-
},
|
|
4174
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span",
|
|
4175
|
-
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, {
|
|
4176
4219
|
key: 7,
|
|
4177
4220
|
is: "survey-string",
|
|
4178
4221
|
locString: e.element.locRenderedTitle
|
|
4179
4222
|
}, null, 8, ["locString"])),
|
|
4180
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span",
|
|
4223
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", Dt, " ")) : p("", !0),
|
|
4181
4224
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", {
|
|
4182
4225
|
key: 9,
|
|
4183
4226
|
class: l(e.element.cssRequiredMark),
|
|
4184
4227
|
"aria-hidden": !0
|
|
4185
|
-
},
|
|
4228
|
+
}, H(e.element.requiredMark), 3)) : p("", !0)
|
|
4186
4229
|
], 64));
|
|
4187
4230
|
}
|
|
4188
|
-
}),
|
|
4231
|
+
}), Pt = { class: "sv-title-actions" }, Nt = { class: "sv-title-actions__title" }, Et = /* @__PURE__ */ y({
|
|
4189
4232
|
__name: "TitleActions",
|
|
4190
4233
|
props: {
|
|
4191
4234
|
element: {},
|
|
@@ -4193,40 +4236,40 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4193
4236
|
},
|
|
4194
4237
|
setup(u) {
|
|
4195
4238
|
const e = u, n = f(() => e.element.getTitleToolbar());
|
|
4196
|
-
return (s, t) => (i(), a("div",
|
|
4197
|
-
v("span",
|
|
4198
|
-
s.element.isPage ? (i(),
|
|
4239
|
+
return (s, t) => (i(), a("div", Pt, [
|
|
4240
|
+
v("span", Nt, [
|
|
4241
|
+
s.element.isPage ? (i(), C(d, {
|
|
4199
4242
|
key: 0,
|
|
4200
4243
|
is: "survey-string",
|
|
4201
4244
|
locString: s.element.locTitle
|
|
4202
4245
|
}, null, 8, ["locString"])) : p("", !0),
|
|
4203
|
-
s.element.isPage ? p("", !0) : (i(),
|
|
4246
|
+
s.element.isPage ? p("", !0) : (i(), C(d, {
|
|
4204
4247
|
key: 1,
|
|
4205
4248
|
is: "survey-element-title-content",
|
|
4206
4249
|
element: s.element,
|
|
4207
4250
|
css: s.css
|
|
4208
4251
|
}, null, 8, ["element", "css"]))
|
|
4209
4252
|
]),
|
|
4210
|
-
|
|
4253
|
+
c(d, {
|
|
4211
4254
|
is: "sv-action-bar",
|
|
4212
4255
|
model: n.value
|
|
4213
4256
|
}, null, 8, ["model"])
|
|
4214
4257
|
]));
|
|
4215
4258
|
}
|
|
4216
|
-
}),
|
|
4259
|
+
}), Wt = (u, e) => {
|
|
4217
4260
|
const n = u.__vccOpts || u;
|
|
4218
4261
|
for (const [s, t] of e)
|
|
4219
4262
|
n[s] = t;
|
|
4220
4263
|
return n;
|
|
4221
|
-
},
|
|
4222
|
-
|
|
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
|
|
4223
4266
|
];
|
|
4224
|
-
function
|
|
4225
|
-
return i(), a("div",
|
|
4267
|
+
function Qt(u, e) {
|
|
4268
|
+
return i(), a("div", Ot, Ut);
|
|
4226
4269
|
}
|
|
4227
|
-
const
|
|
4228
|
-
|
|
4229
|
-
],
|
|
4270
|
+
const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use", null, null, -1), Gt = [
|
|
4271
|
+
jt
|
|
4272
|
+
], Jt = /* @__PURE__ */ y({
|
|
4230
4273
|
__name: "SvgIcon",
|
|
4231
4274
|
props: {
|
|
4232
4275
|
size: {},
|
|
@@ -4255,9 +4298,9 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4255
4298
|
ref: n,
|
|
4256
4299
|
class: "sv-svg-icon",
|
|
4257
4300
|
role: "presentation"
|
|
4258
|
-
},
|
|
4301
|
+
}, Gt, 512));
|
|
4259
4302
|
}
|
|
4260
|
-
}),
|
|
4303
|
+
}), Xt = /* @__PURE__ */ y({
|
|
4261
4304
|
__name: "QuestionError",
|
|
4262
4305
|
props: {
|
|
4263
4306
|
error: {},
|
|
@@ -4277,14 +4320,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4277
4320
|
e.cssClasses ? e.cssClasses.error.item || void 0 : "panel-error-item"
|
|
4278
4321
|
)
|
|
4279
4322
|
}, [
|
|
4280
|
-
|
|
4323
|
+
c(d, {
|
|
4281
4324
|
is: "survey-string",
|
|
4282
4325
|
locString: e.error.locText
|
|
4283
4326
|
}, null, 8, ["locString"])
|
|
4284
4327
|
], 2)
|
|
4285
4328
|
]));
|
|
4286
4329
|
}
|
|
4287
|
-
}),
|
|
4330
|
+
}), Yt = /* @__PURE__ */ y({
|
|
4288
4331
|
__name: "ActionBar",
|
|
4289
4332
|
props: {
|
|
4290
4333
|
model: {},
|
|
@@ -4313,14 +4356,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4313
4356
|
class: l(o.model.getRootCss()),
|
|
4314
4357
|
onClick: s
|
|
4315
4358
|
}, [
|
|
4316
|
-
(i(!0), a(
|
|
4359
|
+
(i(!0), a(M, null, V(o.model.renderedActions, (m) => (i(), C(d, {
|
|
4317
4360
|
is: "sv-action",
|
|
4318
4361
|
key: m.renderedId,
|
|
4319
4362
|
item: m
|
|
4320
4363
|
}, null, 8, ["item"]))), 128))
|
|
4321
4364
|
], 6)) : p("", !0);
|
|
4322
4365
|
}
|
|
4323
|
-
}),
|
|
4366
|
+
}), _t = ["id"], xt = { class: "sv-action__content" }, eo = /* @__PURE__ */ y({
|
|
4324
4367
|
__name: "Action",
|
|
4325
4368
|
props: {
|
|
4326
4369
|
item: {}
|
|
@@ -4345,17 +4388,17 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4345
4388
|
ref_key: "root",
|
|
4346
4389
|
ref: e
|
|
4347
4390
|
}, [
|
|
4348
|
-
v("div",
|
|
4349
|
-
t.item.needSeparator ? (i(),
|
|
4391
|
+
v("div", xt, [
|
|
4392
|
+
t.item.needSeparator ? (i(), C(d, {
|
|
4350
4393
|
key: 0,
|
|
4351
4394
|
is: "sv-action-bar-separator"
|
|
4352
4395
|
})) : p("", !0),
|
|
4353
|
-
|
|
4396
|
+
c(d, {
|
|
4354
4397
|
is: s.value,
|
|
4355
4398
|
item: t.item
|
|
4356
4399
|
}, null, 8, ["is", "item"])
|
|
4357
4400
|
])
|
|
4358
|
-
], 10,
|
|
4401
|
+
], 10, _t));
|
|
4359
4402
|
}
|
|
4360
4403
|
}), O = {
|
|
4361
4404
|
mounted: function(u, e) {
|
|
@@ -4375,10 +4418,10 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4375
4418
|
Qe(s);
|
|
4376
4419
|
});
|
|
4377
4420
|
}
|
|
4378
|
-
},
|
|
4421
|
+
}, so = ["disabled", "title", "aria-checked", "aria-expanded", "role"], no = {
|
|
4379
4422
|
inheritAttrs: !1
|
|
4380
|
-
},
|
|
4381
|
-
...
|
|
4423
|
+
}, to = /* @__PURE__ */ y({
|
|
4424
|
+
...no,
|
|
4382
4425
|
__name: "ActionBarItem",
|
|
4383
4426
|
props: {
|
|
4384
4427
|
item: {}
|
|
@@ -4406,7 +4449,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4406
4449
|
"aria-expanded": n.item.ariaExpanded,
|
|
4407
4450
|
role: n.item.ariaRole
|
|
4408
4451
|
}, [
|
|
4409
|
-
n.item.iconName ? (i(),
|
|
4452
|
+
n.item.iconName ? (i(), C(d, {
|
|
4410
4453
|
key: 0,
|
|
4411
4454
|
is: "sv-svg-icon",
|
|
4412
4455
|
class: l(n.item.cssClasses.itemIcon),
|
|
@@ -4417,15 +4460,15 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4417
4460
|
n.item.hasTitle ? (i(), a("span", {
|
|
4418
4461
|
key: 1,
|
|
4419
4462
|
class: l(n.item.getActionBarItemTitleCss())
|
|
4420
|
-
},
|
|
4421
|
-
], 42,
|
|
4463
|
+
}, H(n.item.title), 3)) : p("", !0)
|
|
4464
|
+
], 42, so)), [
|
|
4422
4465
|
[w(O), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4423
4466
|
]);
|
|
4424
4467
|
}
|
|
4425
|
-
}),
|
|
4468
|
+
}), oo = ["disabled", "title", "role"], io = {
|
|
4426
4469
|
inheritAttrs: !1
|
|
4427
|
-
},
|
|
4428
|
-
...
|
|
4470
|
+
}, ro = /* @__PURE__ */ y({
|
|
4471
|
+
...io,
|
|
4429
4472
|
__name: "ActionBarItemDropdown",
|
|
4430
4473
|
props: {
|
|
4431
4474
|
item: {}
|
|
@@ -4441,7 +4484,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4441
4484
|
() => {
|
|
4442
4485
|
n.dispose();
|
|
4443
4486
|
}
|
|
4444
|
-
), (s, t) => (i(), a(
|
|
4487
|
+
), (s, t) => (i(), a(M, null, [
|
|
4445
4488
|
B((i(), a("button", {
|
|
4446
4489
|
type: "button",
|
|
4447
4490
|
class: l(s.item.getActionBarItemCss()),
|
|
@@ -4455,7 +4498,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4455
4498
|
title: s.item.tooltip || s.item.title,
|
|
4456
4499
|
role: s.item.ariaRole
|
|
4457
4500
|
}, [
|
|
4458
|
-
s.item.iconName ? (i(),
|
|
4501
|
+
s.item.iconName ? (i(), C(d, {
|
|
4459
4502
|
key: 0,
|
|
4460
4503
|
is: "sv-svg-icon",
|
|
4461
4504
|
class: l(s.item.cssClasses.itemIcon),
|
|
@@ -4466,17 +4509,17 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4466
4509
|
s.item.hasTitle ? (i(), a("span", {
|
|
4467
4510
|
key: 1,
|
|
4468
4511
|
class: l(s.item.getActionBarItemTitleCss())
|
|
4469
|
-
},
|
|
4470
|
-
], 42,
|
|
4512
|
+
}, H(s.item.title), 3)) : p("", !0)
|
|
4513
|
+
], 42, oo)), [
|
|
4471
4514
|
[w(O), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4472
4515
|
]),
|
|
4473
|
-
|
|
4516
|
+
c(d, {
|
|
4474
4517
|
is: "sv-popup",
|
|
4475
4518
|
model: s.item.popupModel
|
|
4476
4519
|
}, null, 8, ["model"])
|
|
4477
4520
|
], 64));
|
|
4478
4521
|
}
|
|
4479
|
-
}),
|
|
4522
|
+
}), lo = /* @__PURE__ */ y({
|
|
4480
4523
|
__name: "ActionBarSeparator",
|
|
4481
4524
|
props: {
|
|
4482
4525
|
item: {}
|
|
@@ -4487,7 +4530,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4487
4530
|
class: l(["sv-action-bar-separator", n.value])
|
|
4488
4531
|
}, null, 2));
|
|
4489
4532
|
}
|
|
4490
|
-
}),
|
|
4533
|
+
}), ao = ["aria-label", "placeholder", "value"], uo = ["aria-label"], mo = ["role", "aria-label", "id"], po = /* @__PURE__ */ y({
|
|
4491
4534
|
__name: "List",
|
|
4492
4535
|
props: {
|
|
4493
4536
|
model: {}
|
|
@@ -4518,7 +4561,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4518
4561
|
v("div", {
|
|
4519
4562
|
class: l(r.model.cssClasses.filterIcon)
|
|
4520
4563
|
}, [
|
|
4521
|
-
|
|
4564
|
+
c(d, {
|
|
4522
4565
|
is: "sv-svg-icon",
|
|
4523
4566
|
iconName: "icon-search",
|
|
4524
4567
|
size: "auto"
|
|
@@ -4532,7 +4575,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4532
4575
|
value: r.model.filterString,
|
|
4533
4576
|
onChange: s,
|
|
4534
4577
|
onKeyup: t
|
|
4535
|
-
}, null, 42,
|
|
4578
|
+
}, null, 42, ao),
|
|
4536
4579
|
r.model.showSearchClearButton && r.model.filterString ? (i(), a("button", {
|
|
4537
4580
|
key: 0,
|
|
4538
4581
|
onClick: m[0] || (m[0] = (g) => {
|
|
@@ -4540,7 +4583,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4540
4583
|
}),
|
|
4541
4584
|
class: l(r.model.cssClasses.searchClearButtonIcon)
|
|
4542
4585
|
}, [
|
|
4543
|
-
|
|
4586
|
+
c(d, {
|
|
4544
4587
|
is: "sv-svg-icon",
|
|
4545
4588
|
iconName: "icon-searchclear",
|
|
4546
4589
|
size: "auto"
|
|
@@ -4553,7 +4596,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4553
4596
|
v("div", {
|
|
4554
4597
|
class: l(r.model.cssClasses.emptyText),
|
|
4555
4598
|
"aria-label": r.model.emptyMessage
|
|
4556
|
-
},
|
|
4599
|
+
}, H(r.model.emptyMessage), 11, uo)
|
|
4557
4600
|
], 2), [
|
|
4558
4601
|
[A, r.model.isEmpty]
|
|
4559
4602
|
]),
|
|
@@ -4571,69 +4614,71 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4571
4614
|
r.model.onKeyDown(g);
|
|
4572
4615
|
})
|
|
4573
4616
|
}, [
|
|
4574
|
-
(i(!0), a(
|
|
4617
|
+
(i(!0), a(M, null, V(r.model.renderedActions, (g) => (i(), C(d, {
|
|
4575
4618
|
is: "sv-list-item",
|
|
4576
4619
|
item: g,
|
|
4577
4620
|
model: r.model,
|
|
4578
4621
|
key: g.id
|
|
4579
4622
|
}, null, 8, ["item", "model"]))), 128))
|
|
4580
|
-
], 42,
|
|
4623
|
+
], 42, mo)), [
|
|
4581
4624
|
[A, !r.model.isEmpty]
|
|
4582
4625
|
]) : p("", !0)
|
|
4583
4626
|
], 2));
|
|
4584
4627
|
}
|
|
4585
|
-
}),
|
|
4628
|
+
}), vo = ["role", "aria-selected", "aria-checked", "id", "tabindex"], Co = ["title"], co = /* @__PURE__ */ y({
|
|
4586
4629
|
__name: "ListItem",
|
|
4587
4630
|
props: {
|
|
4588
4631
|
model: {},
|
|
4589
4632
|
item: {}
|
|
4590
4633
|
},
|
|
4591
4634
|
setup(u) {
|
|
4592
|
-
const e = u, n = f(() => e.item.elementId),
|
|
4593
|
-
e.model.onItemClick(e.item),
|
|
4635
|
+
const e = u, n = k(null), s = f(() => e.item.elementId), t = (r) => {
|
|
4636
|
+
e.model.onItemClick(e.item), r.stopPropagation();
|
|
4594
4637
|
};
|
|
4595
4638
|
I(() => e.item);
|
|
4596
|
-
const
|
|
4639
|
+
const o = f(
|
|
4597
4640
|
() => e.item.component || e.model.itemComponent
|
|
4598
4641
|
);
|
|
4599
4642
|
return T(() => {
|
|
4600
4643
|
setTimeout(() => {
|
|
4601
|
-
e.model.
|
|
4644
|
+
e.model.onItemRended(e.item, n.value);
|
|
4602
4645
|
});
|
|
4603
|
-
}), (
|
|
4604
|
-
role:
|
|
4605
|
-
"aria-selected":
|
|
4606
|
-
"aria-checked":
|
|
4607
|
-
key:
|
|
4608
|
-
id:
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4646
|
+
}), (r, m) => B((i(), a("li", {
|
|
4647
|
+
role: r.model.listItemRole,
|
|
4648
|
+
"aria-selected": r.model.getA11yItemAriaSelected(r.item),
|
|
4649
|
+
"aria-checked": r.model.getA11yItemAriaChecked(r.item),
|
|
4650
|
+
key: r.item.id,
|
|
4651
|
+
id: s.value,
|
|
4652
|
+
ref_key: "elementRef",
|
|
4653
|
+
ref: n,
|
|
4654
|
+
onPointerdown: m[2] || (m[2] = (g) => r.model.onPointerDown(g, r.item)),
|
|
4655
|
+
class: l(r.model.getItemClass(r.item)),
|
|
4656
|
+
onClick: t,
|
|
4657
|
+
tabindex: r.item.disableTabStop ? -1 : 0
|
|
4613
4658
|
}, [
|
|
4614
|
-
|
|
4659
|
+
r.item.needSeparator ? (i(), a("div", {
|
|
4615
4660
|
key: 0,
|
|
4616
|
-
class: l(
|
|
4661
|
+
class: l(r.model.cssClasses.itemSeparator)
|
|
4617
4662
|
}, null, 2)) : p("", !0),
|
|
4618
4663
|
v("div", {
|
|
4619
|
-
style: L(
|
|
4620
|
-
class: l(
|
|
4621
|
-
title:
|
|
4622
|
-
onMouseover:
|
|
4623
|
-
onMouseleave:
|
|
4664
|
+
style: L(r.model.getItemStyle(r.item)),
|
|
4665
|
+
class: l(r.model.cssClasses.itemBody),
|
|
4666
|
+
title: r.item.getTooltip(),
|
|
4667
|
+
onMouseover: m[0] || (m[0] = (g) => r.model.onItemHover(r.item)),
|
|
4668
|
+
onMouseleave: m[1] || (m[1] = (g) => r.model.onItemLeave(r.item))
|
|
4624
4669
|
}, [
|
|
4625
|
-
|
|
4626
|
-
is:
|
|
4627
|
-
item:
|
|
4628
|
-
model:
|
|
4670
|
+
c(d, {
|
|
4671
|
+
is: o.value,
|
|
4672
|
+
item: r.item,
|
|
4673
|
+
model: r.model
|
|
4629
4674
|
}, null, 8, ["is", "item", "model"])
|
|
4630
|
-
], 46,
|
|
4631
|
-
], 42,
|
|
4632
|
-
[A,
|
|
4633
|
-
[w(O), { processEsc: !1, disableTabStop:
|
|
4675
|
+
], 46, Co)
|
|
4676
|
+
], 42, vo)), [
|
|
4677
|
+
[A, r.model.isItemVisible(r.item)],
|
|
4678
|
+
[w(O), { processEsc: !1, disableTabStop: r.item.disableTabStop }]
|
|
4634
4679
|
]);
|
|
4635
4680
|
}
|
|
4636
|
-
}),
|
|
4681
|
+
}), go = /* @__PURE__ */ y({
|
|
4637
4682
|
__name: "ListItemContent",
|
|
4638
4683
|
props: {
|
|
4639
4684
|
model: {},
|
|
@@ -4641,19 +4686,19 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4641
4686
|
},
|
|
4642
4687
|
setup(u) {
|
|
4643
4688
|
const e = u;
|
|
4644
|
-
return I(() => e.item), (n, s) => (i(), a(
|
|
4645
|
-
n.item.iconName ? (i(),
|
|
4689
|
+
return I(() => e.item), (n, s) => (i(), a(M, null, [
|
|
4690
|
+
n.item.iconName ? (i(), C(d, {
|
|
4646
4691
|
key: 0,
|
|
4647
4692
|
is: "sv-svg-icon",
|
|
4648
4693
|
class: l(n.model.cssClasses.itemIcon),
|
|
4649
4694
|
iconName: n.item.iconName,
|
|
4650
4695
|
size: n.item.iconSize
|
|
4651
4696
|
}, null, 8, ["class", "iconName", "size"])) : p("", !0),
|
|
4652
|
-
|
|
4697
|
+
c(d, {
|
|
4653
4698
|
is: "survey-string",
|
|
4654
4699
|
locString: n.item.locTitle
|
|
4655
4700
|
}, null, 8, ["locString"]),
|
|
4656
|
-
n.item.markerIconName ? (i(),
|
|
4701
|
+
n.item.markerIconName ? (i(), C(d, {
|
|
4657
4702
|
key: 1,
|
|
4658
4703
|
is: "sv-svg-icon",
|
|
4659
4704
|
class: l(n.item.cssClasses.itemMarkerIcon),
|
|
@@ -4662,7 +4707,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4662
4707
|
}, null, 8, ["class", "iconName"])) : p("", !0)
|
|
4663
4708
|
], 64));
|
|
4664
4709
|
}
|
|
4665
|
-
}),
|
|
4710
|
+
}), yo = /* @__PURE__ */ y({
|
|
4666
4711
|
__name: "ListItemGroup",
|
|
4667
4712
|
props: {
|
|
4668
4713
|
model: {},
|
|
@@ -4670,19 +4715,19 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4670
4715
|
},
|
|
4671
4716
|
setup(u) {
|
|
4672
4717
|
const e = u;
|
|
4673
|
-
return I(() => e.item), (n, s) => (i(), a(
|
|
4674
|
-
|
|
4718
|
+
return I(() => e.item), (n, s) => (i(), a(M, null, [
|
|
4719
|
+
c(d, {
|
|
4675
4720
|
is: "sv-list-item-content",
|
|
4676
4721
|
item: n.item,
|
|
4677
4722
|
model: n.model
|
|
4678
4723
|
}, null, 8, ["item", "model"]),
|
|
4679
|
-
|
|
4724
|
+
c(d, {
|
|
4680
4725
|
is: "sv-popup",
|
|
4681
4726
|
model: n.item.popupModel
|
|
4682
4727
|
}, null, 8, ["model"])
|
|
4683
4728
|
], 64));
|
|
4684
4729
|
}
|
|
4685
|
-
}),
|
|
4730
|
+
}), ho = /* @__PURE__ */ y({
|
|
4686
4731
|
__name: "Popup",
|
|
4687
4732
|
props: {
|
|
4688
4733
|
model: {}
|
|
@@ -4706,19 +4751,19 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4706
4751
|
ref_key: "root",
|
|
4707
4752
|
ref: s
|
|
4708
4753
|
}, [
|
|
4709
|
-
|
|
4754
|
+
c(d, {
|
|
4710
4755
|
is: "sv-popup-container",
|
|
4711
4756
|
model: n.value
|
|
4712
4757
|
}, null, 8, ["model"])
|
|
4713
4758
|
], 512));
|
|
4714
4759
|
}
|
|
4715
|
-
}),
|
|
4760
|
+
}), qo = { class: "sv-popup__body-content" }, wo = {
|
|
4716
4761
|
key: 0,
|
|
4717
4762
|
class: "sv-popup__body-header"
|
|
4718
|
-
},
|
|
4763
|
+
}, bo = { class: "sv-popup__scrolling-content" }, Lo = { class: "sv-popup__content" }, ko = {
|
|
4719
4764
|
key: 1,
|
|
4720
4765
|
class: "sv-popup__body-footer"
|
|
4721
|
-
},
|
|
4766
|
+
}, fo = /* @__PURE__ */ y({
|
|
4722
4767
|
__name: "PopupContainer",
|
|
4723
4768
|
props: {
|
|
4724
4769
|
model: {}
|
|
@@ -4756,22 +4801,22 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4756
4801
|
}),
|
|
4757
4802
|
onClick: n
|
|
4758
4803
|
}, [
|
|
4759
|
-
s.model.showHeader ? (i(),
|
|
4804
|
+
s.model.showHeader ? (i(), C(d, {
|
|
4760
4805
|
key: 0,
|
|
4761
4806
|
is: s.model.popupHeaderTemplate,
|
|
4762
4807
|
model: s.model
|
|
4763
4808
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4764
|
-
v("div",
|
|
4765
|
-
s.model.title ? (i(), a("div",
|
|
4766
|
-
v("div",
|
|
4767
|
-
v("div",
|
|
4768
|
-
|
|
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, [
|
|
4813
|
+
c(d, $({
|
|
4769
4814
|
is: s.model.contentComponentName
|
|
4770
4815
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4771
4816
|
])
|
|
4772
4817
|
]),
|
|
4773
|
-
s.model.showFooter ? (i(), a("div",
|
|
4774
|
-
|
|
4818
|
+
s.model.showFooter ? (i(), a("div", ko, [
|
|
4819
|
+
c(d, {
|
|
4775
4820
|
is: "sv-action-bar",
|
|
4776
4821
|
model: s.model.footerToolbar
|
|
4777
4822
|
}, null, 8, ["model"])
|
|
@@ -4782,7 +4827,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4782
4827
|
[A, s.model.isVisible]
|
|
4783
4828
|
]);
|
|
4784
4829
|
}
|
|
4785
|
-
}),
|
|
4830
|
+
}), Mo = /* @__PURE__ */ y({
|
|
4786
4831
|
__name: "PopupPointer",
|
|
4787
4832
|
props: {
|
|
4788
4833
|
model: {}
|
|
@@ -4796,7 +4841,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4796
4841
|
})
|
|
4797
4842
|
}, null, 4));
|
|
4798
4843
|
}
|
|
4799
|
-
}),
|
|
4844
|
+
}), Ho = /* @__PURE__ */ y({
|
|
4800
4845
|
__name: "Container",
|
|
4801
4846
|
props: {
|
|
4802
4847
|
survey: {},
|
|
@@ -4807,19 +4852,19 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4807
4852
|
const e = u, n = f(
|
|
4808
4853
|
() => e.survey.getContainerContent(e.container)
|
|
4809
4854
|
);
|
|
4810
|
-
return (s, t) => n.value.length > 0 ? (i(), a(
|
|
4855
|
+
return (s, t) => n.value.length > 0 ? (i(), a(M, { key: 0 }, [
|
|
4811
4856
|
s.needRenderWrapper ? (i(), a("div", {
|
|
4812
4857
|
key: 0,
|
|
4813
4858
|
class: l(["sv-components-column", "sv-components-container-" + s.container])
|
|
4814
4859
|
}, [
|
|
4815
|
-
(i(!0), a(
|
|
4860
|
+
(i(!0), a(M, null, V(n.value, (o) => (i(), C(d, {
|
|
4816
4861
|
key: o.id,
|
|
4817
4862
|
is: o.component,
|
|
4818
4863
|
survey: s.survey,
|
|
4819
4864
|
container: s.container,
|
|
4820
4865
|
model: o.data
|
|
4821
4866
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4822
|
-
], 2)) : (i(!0), a(
|
|
4867
|
+
], 2)) : (i(!0), a(M, { key: 1 }, V(n.value, (o) => (i(), C(d, {
|
|
4823
4868
|
key: o.id,
|
|
4824
4869
|
is: o.component,
|
|
4825
4870
|
survey: s.survey,
|
|
@@ -4828,7 +4873,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4828
4873
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4829
4874
|
], 64)) : p("", !0);
|
|
4830
4875
|
}
|
|
4831
|
-
}),
|
|
4876
|
+
}), Io = ["aria-label"], G = /* @__PURE__ */ y({
|
|
4832
4877
|
__name: "Progress",
|
|
4833
4878
|
props: {
|
|
4834
4879
|
survey: {},
|
|
@@ -4850,14 +4895,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4850
4895
|
}, [
|
|
4851
4896
|
v("span", {
|
|
4852
4897
|
class: l(s(o.survey.css))
|
|
4853
|
-
},
|
|
4854
|
-
], 14,
|
|
4898
|
+
}, H(o.survey.progressText), 3)
|
|
4899
|
+
], 14, Io),
|
|
4855
4900
|
v("span", {
|
|
4856
4901
|
class: l(t(o.survey.css))
|
|
4857
|
-
},
|
|
4902
|
+
}, H(o.survey.progressText), 3)
|
|
4858
4903
|
], 2));
|
|
4859
4904
|
}
|
|
4860
|
-
}),
|
|
4905
|
+
}), Vo = ["aria-label"], So = ["title"], Ro = ["onClick", "data-page-number"], To = ["title"], Bo = ["title"], Zo = ["title"], $o = /* @__PURE__ */ y({
|
|
4861
4906
|
__name: "ProgressButtons",
|
|
4862
4907
|
props: {
|
|
4863
4908
|
survey: {},
|
|
@@ -4902,7 +4947,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4902
4947
|
v("div", {
|
|
4903
4948
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4904
4949
|
title: h.model.headerText
|
|
4905
|
-
},
|
|
4950
|
+
}, H(h.model.headerText), 11, So)
|
|
4906
4951
|
], 2)) : p("", !0),
|
|
4907
4952
|
v("div", {
|
|
4908
4953
|
class: l(m.value.progressButtonsContainer)
|
|
@@ -4920,7 +4965,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4920
4965
|
v("ul", {
|
|
4921
4966
|
class: l(m.value.progressButtonsList)
|
|
4922
4967
|
}, [
|
|
4923
|
-
(i(!0), a(
|
|
4968
|
+
(i(!0), a(M, null, V(h.survey.visiblePages, (b, Z) => (i(), a("li", {
|
|
4924
4969
|
key: "listelement" + Z,
|
|
4925
4970
|
class: l(h.model.getListElementCss(Z)),
|
|
4926
4971
|
onClick: (x) => h.model.isListElementClickable(Z) ? h.model.clickListElement(b) : null,
|
|
@@ -4934,16 +4979,16 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4934
4979
|
class: l(m.value.progressButtonsPageTitle),
|
|
4935
4980
|
title: b.renderedNavigationTitle
|
|
4936
4981
|
}, [
|
|
4937
|
-
|
|
4982
|
+
c(d, {
|
|
4938
4983
|
is: "survey-string",
|
|
4939
4984
|
locString: b.locNavigationTitle
|
|
4940
4985
|
}, null, 8, ["locString"])
|
|
4941
|
-
], 10,
|
|
4986
|
+
], 10, To)) : p("", !0),
|
|
4942
4987
|
o.value ? (i(), a("div", {
|
|
4943
4988
|
key: 1,
|
|
4944
4989
|
class: l(m.value.progressButtonsPageDescription),
|
|
4945
4990
|
title: b.locNavigationDescription.renderedHtml
|
|
4946
|
-
},
|
|
4991
|
+
}, H(b.locNavigationDescription.renderedHtml), 11, Bo)) : p("", !0),
|
|
4947
4992
|
v("div", {
|
|
4948
4993
|
class: l(m.value.progressButtonsButton)
|
|
4949
4994
|
}, [
|
|
@@ -4953,9 +4998,9 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4953
4998
|
v("div", {
|
|
4954
4999
|
class: l(m.value.progressButtonsButtonContent)
|
|
4955
5000
|
}, null, 2),
|
|
4956
|
-
v("span", null,
|
|
5001
|
+
v("span", null, H(h.model.getItemNumber(b)), 1)
|
|
4957
5002
|
], 2)
|
|
4958
|
-
], 10,
|
|
5003
|
+
], 10, Ro))), 128))
|
|
4959
5004
|
], 2)
|
|
4960
5005
|
], 2),
|
|
4961
5006
|
v("div", {
|
|
@@ -4971,11 +5016,11 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4971
5016
|
v("div", {
|
|
4972
5017
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4973
5018
|
title: h.model.footerText
|
|
4974
|
-
},
|
|
5019
|
+
}, H(h.model.footerText), 11, Zo)
|
|
4975
5020
|
], 2)) : p("", !0)
|
|
4976
|
-
], 14,
|
|
5021
|
+
], 14, Vo));
|
|
4977
5022
|
}
|
|
4978
|
-
}),
|
|
5023
|
+
}), Do = /* @__PURE__ */ y({
|
|
4979
5024
|
__name: "ProgressToc",
|
|
4980
5025
|
props: {
|
|
4981
5026
|
survey: {},
|
|
@@ -4993,18 +5038,18 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4993
5038
|
onClick: s[0] || (s[0] = //@ts-ignore
|
|
4994
5039
|
(...t) => n.model.togglePopup && n.model.togglePopup(...t))
|
|
4995
5040
|
}, [
|
|
4996
|
-
|
|
5041
|
+
c(d, {
|
|
4997
5042
|
is: "sv-svg-icon",
|
|
4998
5043
|
iconName: n.model.icon,
|
|
4999
5044
|
size: 24
|
|
5000
5045
|
}, null, 8, ["iconName"]),
|
|
5001
|
-
|
|
5046
|
+
c(d, {
|
|
5002
5047
|
is: "sv-popup",
|
|
5003
5048
|
model: n.model.popupModel
|
|
5004
5049
|
}, null, 8, ["model"])
|
|
5005
5050
|
])), [
|
|
5006
5051
|
[w(O)]
|
|
5007
|
-
]) : (i(),
|
|
5052
|
+
]) : (i(), C(d, {
|
|
5008
5053
|
key: 1,
|
|
5009
5054
|
is: "sv-list",
|
|
5010
5055
|
model: n.model.listModel
|
|
@@ -5013,11 +5058,11 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
5013
5058
|
}
|
|
5014
5059
|
});
|
|
5015
5060
|
/*!
|
|
5016
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5061
|
+
* surveyjs - Survey JavaScript library v2.3.10
|
|
5017
5062
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5018
5063
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5019
5064
|
*/
|
|
5020
|
-
var
|
|
5065
|
+
var Ao = {
|
|
5021
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>',
|
|
5022
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>',
|
|
5023
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>',
|
|
@@ -5081,7 +5126,7 @@ var Zo = {
|
|
|
5081
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>'
|
|
5082
5127
|
};
|
|
5083
5128
|
/*!
|
|
5084
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5129
|
+
* surveyjs - Survey JavaScript library v2.3.10
|
|
5085
5130
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5086
5131
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5087
5132
|
*/
|
|
@@ -5148,11 +5193,11 @@ var fe = {
|
|
|
5148
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>',
|
|
5149
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>'
|
|
5150
5195
|
};
|
|
5151
|
-
const
|
|
5196
|
+
const Po = ["lang", "dir"], No = { onsubmit: "return false;" }, Eo = {
|
|
5152
5197
|
key: 0,
|
|
5153
5198
|
class: "sv_custom_header"
|
|
5154
|
-
},
|
|
5155
|
-
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);
|
|
5156
5201
|
be("v2", fe);
|
|
5157
5202
|
J.registerIcons(fe);
|
|
5158
5203
|
const oe = /* @__PURE__ */ y({
|
|
@@ -5198,40 +5243,40 @@ const oe = /* @__PURE__ */ y({
|
|
|
5198
5243
|
ref_key: "root",
|
|
5199
5244
|
ref: n
|
|
5200
5245
|
}, [
|
|
5201
|
-
|
|
5246
|
+
c(d, {
|
|
5202
5247
|
is: "sv-scroll",
|
|
5203
5248
|
disabled: t.value.rootScrollDisabled
|
|
5204
5249
|
}, {
|
|
5205
5250
|
default: D(() => [
|
|
5206
|
-
t.value.needRenderIcons ? (i(),
|
|
5251
|
+
t.value.needRenderIcons ? (i(), C(d, {
|
|
5207
5252
|
key: 0,
|
|
5208
5253
|
is: "sv-svg-bundle"
|
|
5209
5254
|
})) : p("", !0),
|
|
5210
5255
|
v("div", {
|
|
5211
5256
|
class: l(t.value.wrapperFormCss)
|
|
5212
5257
|
}, [
|
|
5213
|
-
|
|
5258
|
+
c(d, { is: "survey-popup-modal" }),
|
|
5214
5259
|
t.value.renderBackgroundImage ? (i(), a("div", {
|
|
5215
5260
|
key: 0,
|
|
5216
5261
|
class: l(g.value.rootBackgroundImage),
|
|
5217
5262
|
style: L(t.value.backgroundImageStyle)
|
|
5218
5263
|
}, null, 6)) : p("", !0),
|
|
5219
|
-
v("form",
|
|
5220
|
-
|
|
5264
|
+
v("form", No, [
|
|
5265
|
+
c(d, {
|
|
5221
5266
|
is: "sv-scroll",
|
|
5222
5267
|
disabled: t.value.formScrollDisabled
|
|
5223
5268
|
}, {
|
|
5224
5269
|
default: D(() => [
|
|
5225
|
-
t.value.hasLogo ? p("", !0) : (i(), a("div",
|
|
5270
|
+
t.value.hasLogo ? p("", !0) : (i(), a("div", Eo)),
|
|
5226
5271
|
v("div", {
|
|
5227
5272
|
class: l(g.value.container)
|
|
5228
5273
|
}, [
|
|
5229
|
-
t.value.headerView === "basic" ? (i(),
|
|
5274
|
+
t.value.headerView === "basic" ? (i(), C(d, {
|
|
5230
5275
|
key: 0,
|
|
5231
5276
|
is: "survey-header",
|
|
5232
5277
|
survey: t.value
|
|
5233
5278
|
}, null, 8, ["survey"])) : p("", !0),
|
|
5234
|
-
|
|
5279
|
+
c(d, {
|
|
5235
5280
|
is: "sv-components-container",
|
|
5236
5281
|
survey: t.value,
|
|
5237
5282
|
container: "header",
|
|
@@ -5241,14 +5286,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5241
5286
|
key: 1,
|
|
5242
5287
|
class: l(t.value.bodyContainerCss)
|
|
5243
5288
|
}, [
|
|
5244
|
-
|
|
5289
|
+
c(d, {
|
|
5245
5290
|
is: "sv-components-container",
|
|
5246
5291
|
survey: t.value,
|
|
5247
5292
|
container: "left",
|
|
5248
5293
|
needRenderWrapper: !0
|
|
5249
5294
|
}, null, 8, ["survey"]),
|
|
5250
|
-
v("div",
|
|
5251
|
-
|
|
5295
|
+
v("div", Wo, [
|
|
5296
|
+
c(d, {
|
|
5252
5297
|
is: "sv-components-container",
|
|
5253
5298
|
survey: t.value,
|
|
5254
5299
|
container: "center",
|
|
@@ -5259,50 +5304,50 @@ const oe = /* @__PURE__ */ y({
|
|
|
5259
5304
|
style: L({ maxWidth: t.value.renderedWidth }),
|
|
5260
5305
|
id: o.value
|
|
5261
5306
|
}, [
|
|
5262
|
-
|
|
5307
|
+
c(d, {
|
|
5263
5308
|
is: "sv-components-container",
|
|
5264
5309
|
survey: t.value,
|
|
5265
5310
|
container: "contentTop",
|
|
5266
5311
|
needRenderWrapper: !0
|
|
5267
5312
|
}, null, 8, ["survey"]),
|
|
5268
|
-
(i(),
|
|
5269
|
-
is: "
|
|
5313
|
+
(i(), C(d, {
|
|
5314
|
+
is: t.value.pageComponent || "sv-page",
|
|
5270
5315
|
key: S.value,
|
|
5271
5316
|
survey: t.value,
|
|
5272
5317
|
page: t.value.activePage,
|
|
5273
5318
|
css: g.value
|
|
5274
|
-
}, null, 8, ["survey", "page", "css"])),
|
|
5275
|
-
|
|
5319
|
+
}, null, 8, ["is", "survey", "page", "css"])),
|
|
5320
|
+
c(d, {
|
|
5276
5321
|
is: "sv-components-container",
|
|
5277
5322
|
survey: t.value,
|
|
5278
5323
|
container: "contentBottom",
|
|
5279
5324
|
needRenderWrapper: !0
|
|
5280
5325
|
}, null, 8, ["survey"]),
|
|
5281
|
-
t.value.showBrandInfo ? (i(),
|
|
5326
|
+
t.value.showBrandInfo ? (i(), C(d, {
|
|
5282
5327
|
key: 0,
|
|
5283
5328
|
is: "sv-brand-info"
|
|
5284
5329
|
})) : p("", !0)
|
|
5285
|
-
], 14,
|
|
5330
|
+
], 14, Fo)
|
|
5286
5331
|
]),
|
|
5287
|
-
|
|
5332
|
+
c(d, {
|
|
5288
5333
|
is: "sv-components-container",
|
|
5289
5334
|
survey: t.value,
|
|
5290
5335
|
container: "right",
|
|
5291
5336
|
needRenderWrapper: !0
|
|
5292
5337
|
}, null, 8, ["survey"])
|
|
5293
5338
|
], 2)) : p("", !0),
|
|
5294
|
-
|
|
5339
|
+
c(d, {
|
|
5295
5340
|
is: "sv-components-container",
|
|
5296
5341
|
survey: t.value,
|
|
5297
5342
|
container: "footer",
|
|
5298
5343
|
needRenderWrapper: !1
|
|
5299
5344
|
}, null, 8, ["survey"]),
|
|
5300
|
-
m.value ? (i(), a("div",
|
|
5345
|
+
m.value ? (i(), a("div", Oo, [
|
|
5301
5346
|
v("div", {
|
|
5302
5347
|
innerHTML: t.value.processedCompletedHtml,
|
|
5303
5348
|
class: l(t.value.completedCss)
|
|
5304
|
-
}, null, 10,
|
|
5305
|
-
|
|
5349
|
+
}, null, 10, zo),
|
|
5350
|
+
c(d, {
|
|
5306
5351
|
is: "sv-components-container",
|
|
5307
5352
|
survey: t.value,
|
|
5308
5353
|
container: "completePage",
|
|
@@ -5313,22 +5358,22 @@ const oe = /* @__PURE__ */ y({
|
|
|
5313
5358
|
key: 3,
|
|
5314
5359
|
class: l(t.value.completedBeforeCss),
|
|
5315
5360
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5316
|
-
}, null, 10,
|
|
5361
|
+
}, null, 10, Uo)) : p("", !0),
|
|
5317
5362
|
t.value.state === "loading" ? (i(), a("div", {
|
|
5318
5363
|
key: 4,
|
|
5319
5364
|
class: l(t.value.loadingBodyCss),
|
|
5320
5365
|
innerHTML: t.value.processedLoadingHtml
|
|
5321
|
-
}, null, 10,
|
|
5366
|
+
}, null, 10, Qo)) : p("", !0),
|
|
5322
5367
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5323
5368
|
key: 5,
|
|
5324
5369
|
class: l(g.value.bodyEmpty)
|
|
5325
|
-
},
|
|
5370
|
+
}, H(t.value.emptySurveyText), 3)) : p("", !0)
|
|
5326
5371
|
], 2)
|
|
5327
5372
|
]),
|
|
5328
5373
|
_: 1
|
|
5329
5374
|
}, 8, ["disabled"])
|
|
5330
5375
|
]),
|
|
5331
|
-
|
|
5376
|
+
c(d, {
|
|
5332
5377
|
is: "sv-notifier",
|
|
5333
5378
|
model: t.value.notifier
|
|
5334
5379
|
}, null, 8, ["model"])
|
|
@@ -5336,9 +5381,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5336
5381
|
]),
|
|
5337
5382
|
_: 1
|
|
5338
5383
|
}, 8, ["disabled"])
|
|
5339
|
-
], 14,
|
|
5384
|
+
], 14, Po));
|
|
5340
5385
|
}
|
|
5341
|
-
}),
|
|
5386
|
+
}), Ko = /* @__PURE__ */ y({
|
|
5342
5387
|
__name: "Notifier",
|
|
5343
5388
|
props: {
|
|
5344
5389
|
model: {}
|
|
@@ -5352,14 +5397,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5352
5397
|
role: "alert",
|
|
5353
5398
|
"aria-live": "polite"
|
|
5354
5399
|
}, [
|
|
5355
|
-
v("span", null,
|
|
5356
|
-
|
|
5400
|
+
v("span", null, H(n.model.message), 1),
|
|
5401
|
+
c(d, {
|
|
5357
5402
|
is: "sv-action-bar",
|
|
5358
5403
|
model: n.model.actionBar
|
|
5359
5404
|
}, null, 8, ["model"])
|
|
5360
5405
|
], 6)) : p("", !0);
|
|
5361
5406
|
}
|
|
5362
|
-
}),
|
|
5407
|
+
}), jo = { key: 0 }, Go = /* @__PURE__ */ y({
|
|
5363
5408
|
__name: "QuestionOther",
|
|
5364
5409
|
props: {
|
|
5365
5410
|
question: {},
|
|
@@ -5369,14 +5414,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5369
5414
|
return (e, n) => (i(), a("div", {
|
|
5370
5415
|
class: l(e.question.getCommentAreaCss(!0))
|
|
5371
5416
|
}, [
|
|
5372
|
-
e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
5417
|
+
e.question.isReadOnlyRenderDiv() ? (i(), a("div", jo, H(e.question.getCommentValue(e.item)), 1)) : (i(), C(d, {
|
|
5373
5418
|
key: 1,
|
|
5374
5419
|
is: "sv-text-area",
|
|
5375
5420
|
model: e.question.getCommentTextAreaModel(e.item)
|
|
5376
5421
|
}, null, 8, ["model"]))
|
|
5377
5422
|
], 2));
|
|
5378
5423
|
}
|
|
5379
|
-
}),
|
|
5424
|
+
}), Jo = ["disabled", "value", "title"], Xo = /* @__PURE__ */ y({
|
|
5380
5425
|
__name: "SurveyNavigationButton",
|
|
5381
5426
|
props: {
|
|
5382
5427
|
item: {}
|
|
@@ -5393,9 +5438,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5393
5438
|
onMousedown: n,
|
|
5394
5439
|
onClick: t[0] || (t[0] = //@ts-ignore
|
|
5395
5440
|
(...o) => s.item.action && s.item.action(...o))
|
|
5396
|
-
}, null, 42,
|
|
5441
|
+
}, null, 42, Jo)) : p("", !0);
|
|
5397
5442
|
}
|
|
5398
|
-
}),
|
|
5443
|
+
}), Me = /* @__PURE__ */ y({
|
|
5399
5444
|
__name: "PopupSurvey",
|
|
5400
5445
|
props: {
|
|
5401
5446
|
survey: {},
|
|
@@ -5447,7 +5492,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5447
5492
|
n.value.isCollapsed && n.value.locTitle ? (i(), a("div", {
|
|
5448
5493
|
key: 0,
|
|
5449
5494
|
class: l(n.value.cssHeaderTitleCollapsed)
|
|
5450
|
-
},
|
|
5495
|
+
}, H(n.value.locTitle.renderedHtml), 3)) : p("", !0),
|
|
5451
5496
|
v("div", {
|
|
5452
5497
|
class: l(n.value.cssHeaderButtonsContainer)
|
|
5453
5498
|
}, [
|
|
@@ -5456,13 +5501,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5456
5501
|
class: l(n.value.cssHeaderFullScreenButton),
|
|
5457
5502
|
onClick: o
|
|
5458
5503
|
}, [
|
|
5459
|
-
n.value.isFullScreen ? (i(),
|
|
5504
|
+
n.value.isFullScreen ? (i(), C(d, {
|
|
5460
5505
|
key: 0,
|
|
5461
5506
|
is: "sv-svg-icon",
|
|
5462
5507
|
iconName: "icon-back-to-panel_16x16",
|
|
5463
5508
|
size: 16
|
|
5464
5509
|
})) : p("", !0),
|
|
5465
|
-
n.value.isFullScreen ? p("", !0) : (i(),
|
|
5510
|
+
n.value.isFullScreen ? p("", !0) : (i(), C(d, {
|
|
5466
5511
|
key: 1,
|
|
5467
5512
|
is: "sv-svg-icon",
|
|
5468
5513
|
iconName: "icon-full-screen_16x16",
|
|
@@ -5473,13 +5518,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5473
5518
|
class: l(n.value.cssHeaderCollapseButton),
|
|
5474
5519
|
onClick: s
|
|
5475
5520
|
}, [
|
|
5476
|
-
n.value.isExpanded ? (i(),
|
|
5521
|
+
n.value.isExpanded ? (i(), C(d, {
|
|
5477
5522
|
key: 0,
|
|
5478
5523
|
is: "sv-svg-icon",
|
|
5479
5524
|
iconName: "icon-minimize_16x16",
|
|
5480
5525
|
size: 16
|
|
5481
5526
|
})) : p("", !0),
|
|
5482
|
-
n.value.isCollapsed ? (i(),
|
|
5527
|
+
n.value.isCollapsed ? (i(), C(d, {
|
|
5483
5528
|
key: 1,
|
|
5484
5529
|
is: "sv-svg-icon",
|
|
5485
5530
|
iconName: "icon-restore_16x16",
|
|
@@ -5491,7 +5536,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5491
5536
|
class: l(n.value.cssHeaderCloseButton),
|
|
5492
5537
|
onClick: t
|
|
5493
5538
|
}, [
|
|
5494
|
-
|
|
5539
|
+
c(d, {
|
|
5495
5540
|
is: "sv-svg-icon",
|
|
5496
5541
|
iconName: "icon-close_16x16",
|
|
5497
5542
|
size: 16
|
|
@@ -5502,12 +5547,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5502
5547
|
v("div", {
|
|
5503
5548
|
class: l(n.value.cssBody)
|
|
5504
5549
|
}, [
|
|
5505
|
-
|
|
5550
|
+
c(oe, { survey: S.survey }, null, 8, ["survey"])
|
|
5506
5551
|
], 2)
|
|
5507
5552
|
], 2)
|
|
5508
5553
|
], 38)) : p("", !0);
|
|
5509
5554
|
}
|
|
5510
|
-
}),
|
|
5555
|
+
}), Yo = ["innerHTML"], _o = /* @__PURE__ */ y({
|
|
5511
5556
|
__name: "CustomWidget",
|
|
5512
5557
|
props: {
|
|
5513
5558
|
question: {},
|
|
@@ -5530,8 +5575,8 @@ const oe = /* @__PURE__ */ y({
|
|
|
5530
5575
|
t.value ? (i(), a("div", {
|
|
5531
5576
|
key: 0,
|
|
5532
5577
|
innerHTML: o.value
|
|
5533
|
-
}, null, 8,
|
|
5534
|
-
s.value ? (i(),
|
|
5578
|
+
}, null, 8, Yo)) : p("", !0),
|
|
5579
|
+
s.value ? (i(), C(d, {
|
|
5535
5580
|
key: 1,
|
|
5536
5581
|
is: r.value,
|
|
5537
5582
|
question: m.question,
|
|
@@ -5539,7 +5584,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5539
5584
|
}, null, 8, ["is", "question", "css"])) : p("", !0)
|
|
5540
5585
|
], 512));
|
|
5541
5586
|
}
|
|
5542
|
-
}),
|
|
5587
|
+
}), xo = /* @__PURE__ */ y({
|
|
5543
5588
|
__name: "PopupModal",
|
|
5544
5589
|
setup(u) {
|
|
5545
5590
|
const e = _();
|
|
@@ -5554,17 +5599,17 @@ const oe = /* @__PURE__ */ y({
|
|
|
5554
5599
|
}
|
|
5555
5600
|
return ee.showDialog || (ee.showDialog = n, P(() => {
|
|
5556
5601
|
ee.showDialog = void 0;
|
|
5557
|
-
})), (s, t) => e.value ? (i(),
|
|
5602
|
+
})), (s, t) => e.value ? (i(), C(Ne, {
|
|
5558
5603
|
key: 0,
|
|
5559
5604
|
to: e.value.container
|
|
5560
5605
|
}, [
|
|
5561
|
-
|
|
5606
|
+
c(d, {
|
|
5562
5607
|
is: "sv-popup-container",
|
|
5563
5608
|
model: e.value
|
|
5564
5609
|
}, null, 8, ["model"])
|
|
5565
5610
|
], 8, ["to"])) : p("", !0);
|
|
5566
5611
|
}
|
|
5567
|
-
}),
|
|
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({
|
|
5568
5613
|
__name: "TextArea",
|
|
5569
5614
|
props: {
|
|
5570
5615
|
model: {},
|
|
@@ -5615,9 +5660,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5615
5660
|
"aria-invalid": o.model.ariaInvalid,
|
|
5616
5661
|
"aria-errormessage": o.model.ariaErrormessage,
|
|
5617
5662
|
style: L({ resize: o.model.question.resizeStyle })
|
|
5618
|
-
}, null, 46,
|
|
5663
|
+
}, null, 46, ei));
|
|
5619
5664
|
}
|
|
5620
|
-
}),
|
|
5665
|
+
}), ni = /* @__PURE__ */ y({
|
|
5621
5666
|
__name: "CharacterCounter",
|
|
5622
5667
|
props: {
|
|
5623
5668
|
counter: {},
|
|
@@ -5627,9 +5672,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5627
5672
|
const e = u;
|
|
5628
5673
|
return I(() => e.counter), (n, s) => (i(), a("div", {
|
|
5629
5674
|
class: l(n.remainingCharacterCounter)
|
|
5630
|
-
},
|
|
5675
|
+
}, H(n.counter.remainingCharacterCounter), 3));
|
|
5631
5676
|
}
|
|
5632
|
-
}),
|
|
5677
|
+
}), ti = /* @__PURE__ */ y({
|
|
5633
5678
|
inheritAttrs: !1,
|
|
5634
5679
|
__name: "Composite",
|
|
5635
5680
|
props: {
|
|
@@ -5640,7 +5685,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5640
5685
|
const e = u, n = k(null);
|
|
5641
5686
|
R(e, n);
|
|
5642
5687
|
const s = f(() => e.question.contentPanel);
|
|
5643
|
-
return (t, o) => (i(),
|
|
5688
|
+
return (t, o) => (i(), C(d, {
|
|
5644
5689
|
is: "survey-panel",
|
|
5645
5690
|
ref_key: "root",
|
|
5646
5691
|
ref: n,
|
|
@@ -5648,7 +5693,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5648
5693
|
css: t.css
|
|
5649
5694
|
}, null, 8, ["element", "css"]));
|
|
5650
5695
|
}
|
|
5651
|
-
}),
|
|
5696
|
+
}), oi = /* @__PURE__ */ y({
|
|
5652
5697
|
inheritAttrs: !1,
|
|
5653
5698
|
__name: "Custom",
|
|
5654
5699
|
props: {
|
|
@@ -5661,16 +5706,16 @@ const oe = /* @__PURE__ */ y({
|
|
|
5661
5706
|
const s = f(() => e.question.contentQuestion);
|
|
5662
5707
|
I(() => s.value);
|
|
5663
5708
|
const t = (o) => ne(o);
|
|
5664
|
-
return (o, r) => (i(),
|
|
5709
|
+
return (o, r) => (i(), C(d, {
|
|
5665
5710
|
ref: n.value,
|
|
5666
5711
|
is: t(s.value),
|
|
5667
5712
|
question: s.value,
|
|
5668
5713
|
css: o.css
|
|
5669
5714
|
}, null, 8, ["is", "question", "css"]));
|
|
5670
5715
|
}
|
|
5671
|
-
}),
|
|
5672
|
-
|
|
5673
|
-
], ge = 440,
|
|
5716
|
+
}), ii = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ri = [
|
|
5717
|
+
ii
|
|
5718
|
+
], ge = 440, li = /* @__PURE__ */ y({
|
|
5674
5719
|
__name: "TimerPanel",
|
|
5675
5720
|
props: {
|
|
5676
5721
|
model: {},
|
|
@@ -5686,37 +5731,37 @@ const oe = /* @__PURE__ */ y({
|
|
|
5686
5731
|
key: 0,
|
|
5687
5732
|
class: l(t.model.getProgressCss()),
|
|
5688
5733
|
style: L({ strokeDasharray: ge, strokeDashoffset: n.value })
|
|
5689
|
-
},
|
|
5734
|
+
}, ri, 6)) : p("", !0),
|
|
5690
5735
|
v("div", {
|
|
5691
5736
|
class: l(t.model.textContainerCss)
|
|
5692
5737
|
}, [
|
|
5693
5738
|
v("span", {
|
|
5694
5739
|
class: l(t.model.majorTextCss)
|
|
5695
|
-
},
|
|
5740
|
+
}, H(t.model.clockMajorText), 3),
|
|
5696
5741
|
t.model.clockMinorText ? (i(), a("span", {
|
|
5697
5742
|
key: 0,
|
|
5698
5743
|
class: l(t.model.minorTextCss)
|
|
5699
|
-
},
|
|
5744
|
+
}, H(t.model.clockMinorText), 3)) : p("", !0)
|
|
5700
5745
|
], 2)
|
|
5701
5746
|
], 2)) : B((i(), a("div", {
|
|
5702
5747
|
key: 1,
|
|
5703
5748
|
class: l(t.model.survey.getCss().timerRoot)
|
|
5704
|
-
},
|
|
5749
|
+
}, H(s.value), 3)), [
|
|
5705
5750
|
[A, t.model.isRunning && !t.model.showTimerAsClock]
|
|
5706
5751
|
]);
|
|
5707
5752
|
}
|
|
5708
|
-
}),
|
|
5753
|
+
}), ai = { class: "sd-loading-indicator" }, ui = /* @__PURE__ */ y({
|
|
5709
5754
|
__name: "LoadingIndicator",
|
|
5710
5755
|
setup(u) {
|
|
5711
|
-
return (e, n) => (i(), a("div",
|
|
5712
|
-
|
|
5756
|
+
return (e, n) => (i(), a("div", ai, [
|
|
5757
|
+
c(d, {
|
|
5713
5758
|
is: "sv-svg-icon",
|
|
5714
5759
|
iconName: "icon-loading",
|
|
5715
5760
|
size: "'auto'"
|
|
5716
5761
|
})
|
|
5717
5762
|
]));
|
|
5718
5763
|
}
|
|
5719
|
-
}),
|
|
5764
|
+
}), di = { key: 2 }, mi = /* @__PURE__ */ y({
|
|
5720
5765
|
__name: "Header",
|
|
5721
5766
|
props: {
|
|
5722
5767
|
model: {},
|
|
@@ -5746,24 +5791,24 @@ const oe = /* @__PURE__ */ y({
|
|
|
5746
5791
|
class: l(n.model.contentClasses),
|
|
5747
5792
|
style: L({ maxWidth: n.model.maxWidth })
|
|
5748
5793
|
}, [
|
|
5749
|
-
(i(!0), a(
|
|
5794
|
+
(i(!0), a(M, null, V(n.model.cells, (t, o) => (i(), C(d, {
|
|
5750
5795
|
is: "sv-header-cell",
|
|
5751
5796
|
model: t,
|
|
5752
5797
|
key: o
|
|
5753
5798
|
}, null, 8, ["model"]))), 128))
|
|
5754
5799
|
], 6)),
|
|
5755
|
-
n.survey.isMobile ? (i(), a("div",
|
|
5756
|
-
|
|
5800
|
+
n.survey.isMobile ? (i(), a("div", di, [
|
|
5801
|
+
c(d, {
|
|
5757
5802
|
is: "sv-header-mobile",
|
|
5758
5803
|
model: n.model
|
|
5759
5804
|
}, null, 8, ["model"])
|
|
5760
5805
|
])) : p("", !0)
|
|
5761
5806
|
], 6)) : p("", !0);
|
|
5762
5807
|
}
|
|
5763
|
-
}),
|
|
5808
|
+
}), pi = {
|
|
5764
5809
|
key: 0,
|
|
5765
5810
|
class: "sv-header__logo"
|
|
5766
|
-
},
|
|
5811
|
+
}, vi = ["src", "width", "height", "alt"], Ci = /* @__PURE__ */ y({
|
|
5767
5812
|
__name: "HeaderCell",
|
|
5768
5813
|
props: {
|
|
5769
5814
|
model: {}
|
|
@@ -5777,7 +5822,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5777
5822
|
class: "sv-header__cell-content",
|
|
5778
5823
|
style: L(e.model.contentStyle)
|
|
5779
5824
|
}, [
|
|
5780
|
-
e.model.showLogo ? (i(), a("div",
|
|
5825
|
+
e.model.showLogo ? (i(), a("div", pi, [
|
|
5781
5826
|
v("div", {
|
|
5782
5827
|
class: l(e.model.survey.logoClassNames)
|
|
5783
5828
|
}, [
|
|
@@ -5788,7 +5833,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5788
5833
|
height: e.model.survey.renderedLogoHeight,
|
|
5789
5834
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5790
5835
|
style: L({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5791
|
-
}, null, 14,
|
|
5836
|
+
}, null, 14, vi)
|
|
5792
5837
|
], 2)
|
|
5793
5838
|
])) : p("", !0),
|
|
5794
5839
|
e.model.showTitle ? (i(), a("div", {
|
|
@@ -5796,7 +5841,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5796
5841
|
class: "sv-header__title",
|
|
5797
5842
|
style: L({ maxWidth: e.model.textAreaWidth })
|
|
5798
5843
|
}, [
|
|
5799
|
-
|
|
5844
|
+
c(d, {
|
|
5800
5845
|
is: "survey-element-title",
|
|
5801
5846
|
element: e.model.survey,
|
|
5802
5847
|
css: e.model.survey.css
|
|
@@ -5811,7 +5856,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5811
5856
|
key: 0,
|
|
5812
5857
|
class: l(e.model.survey.css.description)
|
|
5813
5858
|
}, [
|
|
5814
|
-
|
|
5859
|
+
c(d, {
|
|
5815
5860
|
is: "survey-string",
|
|
5816
5861
|
locString: e.model.survey.locDescription
|
|
5817
5862
|
}, null, 8, ["locString"])
|
|
@@ -5820,17 +5865,17 @@ const oe = /* @__PURE__ */ y({
|
|
|
5820
5865
|
], 4)
|
|
5821
5866
|
], 6));
|
|
5822
5867
|
}
|
|
5823
|
-
}),
|
|
5868
|
+
}), ci = { class: "sv-header--mobile" }, gi = {
|
|
5824
5869
|
key: 0,
|
|
5825
5870
|
class: "sv-header__logo"
|
|
5826
|
-
},
|
|
5871
|
+
}, yi = ["src", "width", "height", "alt"], hi = /* @__PURE__ */ y({
|
|
5827
5872
|
__name: "HeaderMobile",
|
|
5828
5873
|
props: {
|
|
5829
5874
|
model: {}
|
|
5830
5875
|
},
|
|
5831
5876
|
setup(u) {
|
|
5832
|
-
return (e, n) => (i(), a("div",
|
|
5833
|
-
e.model.survey.hasLogo ? (i(), a("div",
|
|
5877
|
+
return (e, n) => (i(), a("div", ci, [
|
|
5878
|
+
e.model.survey.hasLogo ? (i(), a("div", gi, [
|
|
5834
5879
|
v("div", {
|
|
5835
5880
|
class: l(e.model.survey.logoClassNames)
|
|
5836
5881
|
}, [
|
|
@@ -5841,7 +5886,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5841
5886
|
height: e.model.survey.renderedLogoHeight,
|
|
5842
5887
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5843
5888
|
style: L({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5844
|
-
}, null, 14,
|
|
5889
|
+
}, null, 14, yi)
|
|
5845
5890
|
], 2)
|
|
5846
5891
|
])) : p("", !0),
|
|
5847
5892
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
@@ -5849,7 +5894,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5849
5894
|
class: "sv-header__title",
|
|
5850
5895
|
style: L({ maxWidth: e.model.renderedTextAreaWidth })
|
|
5851
5896
|
}, [
|
|
5852
|
-
|
|
5897
|
+
c(d, {
|
|
5853
5898
|
is: "survey-element-title",
|
|
5854
5899
|
element: e.model.survey,
|
|
5855
5900
|
css: e.model.survey.css
|
|
@@ -5864,7 +5909,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5864
5909
|
key: 0,
|
|
5865
5910
|
class: l(e.model.survey.css.description)
|
|
5866
5911
|
}, [
|
|
5867
|
-
|
|
5912
|
+
c(d, {
|
|
5868
5913
|
is: "survey-string",
|
|
5869
5914
|
locString: e.model.survey.locDescription
|
|
5870
5915
|
}, null, 8, ["locString"])
|
|
@@ -5872,7 +5917,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5872
5917
|
], 4)) : p("", !0)
|
|
5873
5918
|
]));
|
|
5874
5919
|
}
|
|
5875
|
-
}),
|
|
5920
|
+
}), qi = /* @__PURE__ */ y({
|
|
5876
5921
|
__name: "Element",
|
|
5877
5922
|
props: {
|
|
5878
5923
|
element: {},
|
|
@@ -5919,10 +5964,10 @@ const oe = /* @__PURE__ */ y({
|
|
|
5919
5964
|
style: L(o(g.element)),
|
|
5920
5965
|
class: l(g.element.cssClasses.questionWrapper)
|
|
5921
5966
|
}, [
|
|
5922
|
-
g.row.isNeedRender ? (i(),
|
|
5967
|
+
g.row.isNeedRender ? (i(), C(d, $({
|
|
5923
5968
|
key: 0,
|
|
5924
5969
|
is: t.value
|
|
5925
|
-
}, r.value), null, 16, ["is"])) : g.element.skeletonComponentName ? (i(),
|
|
5970
|
+
}, r.value), null, 16, ["is"])) : g.element.skeletonComponentName ? (i(), C(d, {
|
|
5926
5971
|
key: 1,
|
|
5927
5972
|
is: g.element.skeletonComponentName,
|
|
5928
5973
|
element: g.element,
|
|
@@ -5930,7 +5975,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5930
5975
|
}, null, 8, ["is", "element", "css"])) : p("", !0)
|
|
5931
5976
|
], 6));
|
|
5932
5977
|
}
|
|
5933
|
-
}),
|
|
5978
|
+
}), wi = /* @__PURE__ */ y({
|
|
5934
5979
|
__name: "TemplateRenderer",
|
|
5935
5980
|
props: {
|
|
5936
5981
|
componentName: {},
|
|
@@ -5938,12 +5983,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5938
5983
|
},
|
|
5939
5984
|
setup(u) {
|
|
5940
5985
|
const e = Ee(), n = f(() => !!e.default);
|
|
5941
|
-
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, $({
|
|
5942
5987
|
key: 1,
|
|
5943
5988
|
is: s.componentName
|
|
5944
5989
|
}, s.componentData), null, 16, ["is"]));
|
|
5945
5990
|
}
|
|
5946
|
-
}),
|
|
5991
|
+
}), bi = /* @__PURE__ */ y({
|
|
5947
5992
|
__name: "FileCleanButton",
|
|
5948
5993
|
props: {
|
|
5949
5994
|
question: {},
|
|
@@ -5956,8 +6001,8 @@ const oe = /* @__PURE__ */ y({
|
|
|
5956
6001
|
onClick: n[0] || (n[0] = //@ts-ignore
|
|
5957
6002
|
(...s) => e.question.doClean && e.question.doClean(...s))
|
|
5958
6003
|
}, [
|
|
5959
|
-
v("span", null,
|
|
5960
|
-
e.question.cssClasses.removeButtonIconId ? (i(),
|
|
6004
|
+
v("span", null, H(e.question.clearButtonCaption), 1),
|
|
6005
|
+
e.question.cssClasses.removeButtonIconId ? (i(), C(d, {
|
|
5961
6006
|
key: 0,
|
|
5962
6007
|
is: "sv-svg-icon",
|
|
5963
6008
|
iconName: e.question.cssClasses.removeButtonIconId,
|
|
@@ -5966,7 +6011,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5966
6011
|
}, null, 8, ["iconName", "title"])) : p("", !0)
|
|
5967
6012
|
], 2));
|
|
5968
6013
|
}
|
|
5969
|
-
}),
|
|
6014
|
+
}), Li = ["id"], ki = /* @__PURE__ */ y({
|
|
5970
6015
|
__name: "FileVideo",
|
|
5971
6016
|
props: {
|
|
5972
6017
|
question: {}
|
|
@@ -5975,11 +6020,11 @@ const oe = /* @__PURE__ */ y({
|
|
|
5975
6020
|
return (e, n) => (i(), a("div", {
|
|
5976
6021
|
class: l(e.question.cssClasses.videoContainer)
|
|
5977
6022
|
}, [
|
|
5978
|
-
|
|
6023
|
+
c(d, {
|
|
5979
6024
|
is: "sv-action",
|
|
5980
6025
|
item: e.question.changeCameraAction
|
|
5981
6026
|
}, null, 8, ["item"]),
|
|
5982
|
-
|
|
6027
|
+
c(d, {
|
|
5983
6028
|
is: "sv-action",
|
|
5984
6029
|
item: e.question.closeCameraAction
|
|
5985
6030
|
}, null, 8, ["item"]),
|
|
@@ -5988,14 +6033,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5988
6033
|
playsinline: "",
|
|
5989
6034
|
id: e.question.videoId,
|
|
5990
6035
|
class: l(e.question.cssClasses.video)
|
|
5991
|
-
}, null, 10,
|
|
5992
|
-
|
|
6036
|
+
}, null, 10, Li),
|
|
6037
|
+
c(d, {
|
|
5993
6038
|
is: "sv-action",
|
|
5994
6039
|
item: e.question.takePictureAction
|
|
5995
6040
|
}, null, 8, ["item"])
|
|
5996
6041
|
], 2));
|
|
5997
6042
|
}
|
|
5998
|
-
}),
|
|
6043
|
+
}), fi = ["for", "aria-label"], Mi = /* @__PURE__ */ y({
|
|
5999
6044
|
__name: "FileChooseButton",
|
|
6000
6045
|
props: {
|
|
6001
6046
|
data: {},
|
|
@@ -6015,19 +6060,19 @@ const oe = /* @__PURE__ */ y({
|
|
|
6015
6060
|
"aria-label": n.value.chooseButtonText,
|
|
6016
6061
|
onClick: t[0] || (t[0] = (o) => n.value.chooseFile(o))
|
|
6017
6062
|
}, [
|
|
6018
|
-
n.value.cssClasses.chooseFileIconId ? (i(),
|
|
6063
|
+
n.value.cssClasses.chooseFileIconId ? (i(), C(d, {
|
|
6019
6064
|
key: 0,
|
|
6020
6065
|
is: "sv-svg-icon",
|
|
6021
6066
|
title: n.value.chooseButtonText,
|
|
6022
6067
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
6023
6068
|
size: "auto"
|
|
6024
6069
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6025
|
-
v("span", null,
|
|
6026
|
-
], 10,
|
|
6070
|
+
v("span", null, H(n.value.chooseButtonText), 1)
|
|
6071
|
+
], 10, fi)), [
|
|
6027
6072
|
[w(O)]
|
|
6028
6073
|
]);
|
|
6029
6074
|
}
|
|
6030
|
-
}),
|
|
6075
|
+
}), Hi = /* @__PURE__ */ y({
|
|
6031
6076
|
__name: "FilePreview",
|
|
6032
6077
|
props: {
|
|
6033
6078
|
question: {}
|
|
@@ -6037,7 +6082,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6037
6082
|
key: 0,
|
|
6038
6083
|
class: l(e.question.cssClasses.fileList || void 0)
|
|
6039
6084
|
}, [
|
|
6040
|
-
(i(!0), a(
|
|
6085
|
+
(i(!0), a(M, null, V(e.question.renderedPages, (s) => (i(), C(d, {
|
|
6041
6086
|
is: "sv-file-page",
|
|
6042
6087
|
key: s.id,
|
|
6043
6088
|
page: s,
|
|
@@ -6045,7 +6090,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6045
6090
|
}, null, 8, ["page", "question"]))), 128))
|
|
6046
6091
|
], 2)) : p("", !0);
|
|
6047
6092
|
}
|
|
6048
|
-
}),
|
|
6093
|
+
}), Ii = /* @__PURE__ */ y({
|
|
6049
6094
|
__name: "ButtonGroup",
|
|
6050
6095
|
props: {
|
|
6051
6096
|
question: {}
|
|
@@ -6058,7 +6103,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6058
6103
|
ref_key: "root",
|
|
6059
6104
|
ref: n
|
|
6060
6105
|
}, [
|
|
6061
|
-
(i(!0), a(
|
|
6106
|
+
(i(!0), a(M, null, V(s.question.visibleChoices, (o, r) => (i(), C(d, {
|
|
6062
6107
|
is: "sv-button-group-item",
|
|
6063
6108
|
question: s.question,
|
|
6064
6109
|
key: r,
|
|
@@ -6067,7 +6112,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6067
6112
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6068
6113
|
], 2));
|
|
6069
6114
|
}
|
|
6070
|
-
}),
|
|
6115
|
+
}), Vi = ["title"], Si = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ri = ["title"], Ti = /* @__PURE__ */ y({
|
|
6071
6116
|
__name: "ButtonGroupItem",
|
|
6072
6117
|
props: {
|
|
6073
6118
|
item: {},
|
|
@@ -6100,13 +6145,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
6100
6145
|
class: l(n.value.css.control),
|
|
6101
6146
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => s.value = r),
|
|
6102
6147
|
value: n.value.value
|
|
6103
|
-
}, null, 10,
|
|
6148
|
+
}, null, 10, Si), [
|
|
6104
6149
|
[qe, s.value]
|
|
6105
6150
|
]),
|
|
6106
6151
|
v("div", {
|
|
6107
6152
|
class: l(n.value.css.decorator)
|
|
6108
6153
|
}, [
|
|
6109
|
-
n.value.iconName ? (i(),
|
|
6154
|
+
n.value.iconName ? (i(), C(d, {
|
|
6110
6155
|
key: 0,
|
|
6111
6156
|
is: "sv-svg-icon",
|
|
6112
6157
|
iconName: n.value.iconName,
|
|
@@ -6118,13 +6163,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
6118
6163
|
class: l(n.value.css.caption),
|
|
6119
6164
|
title: n.value.caption.renderedHtml
|
|
6120
6165
|
}, [
|
|
6121
|
-
|
|
6166
|
+
c(d, {
|
|
6122
6167
|
is: "survey-string",
|
|
6123
6168
|
locString: n.value.caption
|
|
6124
6169
|
}, null, 8, ["locString"])
|
|
6125
|
-
], 10,
|
|
6170
|
+
], 10, Ri)) : p("", !0)
|
|
6126
6171
|
], 2)
|
|
6127
|
-
], 10,
|
|
6172
|
+
], 10, Vi));
|
|
6128
6173
|
}
|
|
6129
6174
|
});
|
|
6130
6175
|
U.Instance.registerRenderer(
|
|
@@ -6132,7 +6177,7 @@ U.Instance.registerRenderer(
|
|
|
6132
6177
|
"dropdown",
|
|
6133
6178
|
"sv-buttongroup-dropdown"
|
|
6134
6179
|
);
|
|
6135
|
-
const
|
|
6180
|
+
const Bi = /* @__PURE__ */ y({
|
|
6136
6181
|
inheritAttrs: !1,
|
|
6137
6182
|
__name: "ButtonGroupDropdown",
|
|
6138
6183
|
props: {
|
|
@@ -6145,13 +6190,13 @@ const Si = /* @__PURE__ */ y({
|
|
|
6145
6190
|
ref_key: "root",
|
|
6146
6191
|
ref: n
|
|
6147
6192
|
}, [
|
|
6148
|
-
|
|
6193
|
+
c(d, {
|
|
6149
6194
|
is: "sv-dropdown",
|
|
6150
6195
|
question: s.question
|
|
6151
6196
|
}, null, 8, ["question"])
|
|
6152
6197
|
], 2));
|
|
6153
6198
|
}
|
|
6154
|
-
}),
|
|
6199
|
+
}), Zi = ["src", "width", "height", "alt"], $i = /* @__PURE__ */ y({
|
|
6155
6200
|
inheritAttrs: !1,
|
|
6156
6201
|
__name: "Logo",
|
|
6157
6202
|
props: {
|
|
@@ -6173,10 +6218,10 @@ const Si = /* @__PURE__ */ y({
|
|
|
6173
6218
|
width: n.value.renderedStyleLogoWidth,
|
|
6174
6219
|
height: n.value.renderedStyleLogoHeight
|
|
6175
6220
|
})
|
|
6176
|
-
}, null, 14,
|
|
6221
|
+
}, null, 14, Zi)
|
|
6177
6222
|
], 2));
|
|
6178
6223
|
}
|
|
6179
|
-
}),
|
|
6224
|
+
}), Di = /* @__PURE__ */ y({
|
|
6180
6225
|
__name: "SvgBundle",
|
|
6181
6226
|
setup(u) {
|
|
6182
6227
|
const e = k(), n = () => {
|
|
@@ -6194,7 +6239,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6194
6239
|
[A, !1]
|
|
6195
6240
|
]);
|
|
6196
6241
|
}
|
|
6197
|
-
}),
|
|
6242
|
+
}), Ai = ["id"], Pi = /* @__PURE__ */ y({
|
|
6198
6243
|
__name: "FilePage",
|
|
6199
6244
|
props: {
|
|
6200
6245
|
page: {},
|
|
@@ -6206,15 +6251,15 @@ const Si = /* @__PURE__ */ y({
|
|
|
6206
6251
|
class: l(n.page.css),
|
|
6207
6252
|
id: n.page.id
|
|
6208
6253
|
}, [
|
|
6209
|
-
(i(!0), a(
|
|
6254
|
+
(i(!0), a(M, null, V(n.page.items, (t) => (i(), C(d, {
|
|
6210
6255
|
is: "sv-file-item",
|
|
6211
6256
|
key: t,
|
|
6212
6257
|
item: t,
|
|
6213
6258
|
question: n.question
|
|
6214
6259
|
}, null, 8, ["item", "question"]))), 128))
|
|
6215
|
-
], 10,
|
|
6260
|
+
], 10, Ai));
|
|
6216
6261
|
}
|
|
6217
|
-
}),
|
|
6262
|
+
}), Ni = ["href", "title", "download"], Ei = ["src"], Wi = ["href", "title", "download"], Fi = /* @__PURE__ */ y({
|
|
6218
6263
|
__name: "FileItem",
|
|
6219
6264
|
props: {
|
|
6220
6265
|
item: {},
|
|
@@ -6235,7 +6280,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6235
6280
|
title: e.item.name,
|
|
6236
6281
|
download: e.item.name,
|
|
6237
6282
|
style: L({ width: e.question.imageWidth })
|
|
6238
|
-
},
|
|
6283
|
+
}, H(e.item.name), 13, Ni)
|
|
6239
6284
|
], 2)) : p("", !0),
|
|
6240
6285
|
v("div", {
|
|
6241
6286
|
class: l(e.question.getImageWrapperCss(e.item))
|
|
@@ -6248,8 +6293,8 @@ const Si = /* @__PURE__ */ y({
|
|
|
6248
6293
|
width: e.question.imageWidth
|
|
6249
6294
|
}),
|
|
6250
6295
|
alt: "File preview"
|
|
6251
|
-
}, null, 12,
|
|
6252
|
-
e.question.defaultImage(e.item) ? (i(),
|
|
6296
|
+
}, null, 12, Ei)) : p("", !0),
|
|
6297
|
+
e.question.defaultImage(e.item) ? (i(), C(d, {
|
|
6253
6298
|
key: 1,
|
|
6254
6299
|
is: "sv-svg-icon",
|
|
6255
6300
|
iconName: e.question.cssClasses.defaultImageIconId,
|
|
@@ -6263,8 +6308,8 @@ const Si = /* @__PURE__ */ y({
|
|
|
6263
6308
|
}, [
|
|
6264
6309
|
v("span", {
|
|
6265
6310
|
class: l(e.question.cssClasses.removeFile)
|
|
6266
|
-
},
|
|
6267
|
-
e.question.cssClasses.removeFileSvgIconId ? (i(),
|
|
6311
|
+
}, H(e.question.removeFileCaption), 3),
|
|
6312
|
+
e.question.cssClasses.removeFileSvgIconId ? (i(), C(d, {
|
|
6268
6313
|
key: 0,
|
|
6269
6314
|
is: "sv-svg-icon",
|
|
6270
6315
|
title: e.question.removeFileCaption,
|
|
@@ -6284,13 +6329,13 @@ const Si = /* @__PURE__ */ y({
|
|
|
6284
6329
|
title: e.item.name,
|
|
6285
6330
|
download: e.item.name,
|
|
6286
6331
|
style: L({ width: e.question.imageWidth })
|
|
6287
|
-
},
|
|
6332
|
+
}, H(e.item.name), 13, Wi)
|
|
6288
6333
|
], 2)) : p("", !0)
|
|
6289
6334
|
], 2)), [
|
|
6290
6335
|
[A, e.item]
|
|
6291
6336
|
]);
|
|
6292
6337
|
}
|
|
6293
|
-
}),
|
|
6338
|
+
}), Oi = ["onClick"], zi = ["data-responsive-title"], Ui = /* @__PURE__ */ y({
|
|
6294
6339
|
__name: "MatrixRow",
|
|
6295
6340
|
props: {
|
|
6296
6341
|
question: {},
|
|
@@ -6312,12 +6357,12 @@ const Si = /* @__PURE__ */ y({
|
|
|
6312
6357
|
width: s.question.rowTitleWidth
|
|
6313
6358
|
})
|
|
6314
6359
|
}, [
|
|
6315
|
-
|
|
6360
|
+
c(d, {
|
|
6316
6361
|
is: s.question.getRowHeaderWrapperComponentName(s.row),
|
|
6317
6362
|
componentData: s.question.getRowHeaderWrapperComponentData(s.row)
|
|
6318
6363
|
}, {
|
|
6319
6364
|
default: D(() => [
|
|
6320
|
-
|
|
6365
|
+
c(d, {
|
|
6321
6366
|
is: "survey-string",
|
|
6322
6367
|
locString: s.row.locText
|
|
6323
6368
|
}, null, 8, ["locString"])
|
|
@@ -6327,60 +6372,60 @@ const Si = /* @__PURE__ */ y({
|
|
|
6327
6372
|
], 6), [
|
|
6328
6373
|
[A, s.question.hasRows]
|
|
6329
6374
|
]),
|
|
6330
|
-
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", {
|
|
6331
6376
|
key: r,
|
|
6332
6377
|
class: l(s.question.getItemClass(s.row, o)),
|
|
6333
6378
|
onClick: (m) => n(s.row, o)
|
|
6334
6379
|
}, [
|
|
6335
|
-
|
|
6380
|
+
c(d, {
|
|
6336
6381
|
is: "survey-string",
|
|
6337
6382
|
locString: s.question.getCellDisplayLocText(s.row.name, o)
|
|
6338
6383
|
}, null, 8, ["locString"])
|
|
6339
|
-
], 10,
|
|
6340
|
-
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", {
|
|
6341
6386
|
key: r,
|
|
6342
6387
|
"data-responsive-title": o.locText.renderedHtml,
|
|
6343
6388
|
class: l(s.question.cssClasses.cell)
|
|
6344
6389
|
}, [
|
|
6345
|
-
|
|
6390
|
+
c(d, {
|
|
6346
6391
|
is: s.question.cellComponent,
|
|
6347
6392
|
question: s.question,
|
|
6348
6393
|
row: s.row,
|
|
6349
6394
|
column: o,
|
|
6350
6395
|
columnIndex: r
|
|
6351
6396
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
6352
|
-
], 10,
|
|
6397
|
+
], 10, zi))), 128))
|
|
6353
6398
|
], 2));
|
|
6354
6399
|
}
|
|
6355
6400
|
});
|
|
6356
6401
|
_e.platform = "vue3";
|
|
6357
|
-
function
|
|
6402
|
+
function Qi(u, e, n) {
|
|
6358
6403
|
u(e, n);
|
|
6359
6404
|
}
|
|
6360
|
-
function
|
|
6361
|
-
const e =
|
|
6405
|
+
function He(u) {
|
|
6406
|
+
const e = Qi.bind(
|
|
6362
6407
|
void 0,
|
|
6363
6408
|
u
|
|
6364
6409
|
);
|
|
6365
|
-
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);
|
|
6366
6411
|
}
|
|
6367
|
-
|
|
6412
|
+
He(
|
|
6368
6413
|
(u, e) => W.Instance.registerComponent(u, e)
|
|
6369
6414
|
);
|
|
6370
|
-
const
|
|
6415
|
+
const Ji = {
|
|
6371
6416
|
install(u) {
|
|
6372
|
-
u.component("SurveyComponent", oe), u.component("PopupSurveyComponent",
|
|
6417
|
+
u.component("SurveyComponent", oe), u.component("PopupSurveyComponent", Me), u.directive("key2click", O), He((e, n) => {
|
|
6373
6418
|
u.component(e, n), W.Instance.registerComponent(e, e);
|
|
6374
6419
|
});
|
|
6375
6420
|
}
|
|
6376
6421
|
};
|
|
6377
6422
|
export {
|
|
6378
6423
|
W as ComponentFactory,
|
|
6379
|
-
|
|
6424
|
+
Me as PopupSurveyComponent,
|
|
6380
6425
|
oe as SurveyComponent,
|
|
6381
6426
|
d as SvComponent,
|
|
6382
6427
|
O as key2ClickDirective,
|
|
6383
|
-
|
|
6428
|
+
Ji as surveyPlugin,
|
|
6384
6429
|
I as useBase,
|
|
6385
6430
|
F as useLocString,
|
|
6386
6431
|
R as useQuestion
|