survey-vue3-ui 2.3.8 → 2.3.9
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 +580 -566
- package/survey-vue3-ui.umd.js +5 -5
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 g, 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 H, mergeProps as $, normalizeStyle as L, createElementVNode as v, onUnmounted as P, withDirectives as B, vShow as A, toDisplayString as M, 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(), g(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(H, null, V(o.page.visibleRows, (m) => (i(),
|
|
211
|
+
(i(!0), a(H, null, V(o.page.visibleRows, (m) => (i(), g(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(), g(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(), g(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(H, null, V(t.row.visibleElements, (r) => (i(),
|
|
310
|
+
(i(!0), a(H, null, V(t.row.visibleElements, (r) => (i(), g(d, {
|
|
311
311
|
is: "survey-element",
|
|
312
312
|
row: t.row,
|
|
313
313
|
css: t.css,
|
|
@@ -336,7 +336,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
336
336
|
() => {
|
|
337
337
|
r();
|
|
338
338
|
}
|
|
339
|
-
),
|
|
339
|
+
), C = f(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()), S = f(() => e.element.survey.getQuestionContentWrapperComponentName(e.element)), h = f(() => ({
|
|
340
340
|
componentData: {
|
|
341
341
|
question: e.element,
|
|
342
342
|
data: e.element.survey.getElementWrapperComponentData(e.element)
|
|
@@ -360,36 +360,36 @@ const ns = /* @__PURE__ */ y({
|
|
|
360
360
|
"aria-expanded": q.element.ariaExpanded,
|
|
361
361
|
"data-name": q.element.name
|
|
362
362
|
}, [
|
|
363
|
-
q.element.singleInputHasActions ? (i(),
|
|
363
|
+
q.element.singleInputHasActions ? (i(), g(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(), g(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(), g(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(), g(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(), g(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(), g(d, $({
|
|
393
393
|
key: 5,
|
|
394
394
|
is: S.value
|
|
395
395
|
}, h.value), {
|
|
@@ -400,8 +400,8 @@ const ns = /* @__PURE__ */ y({
|
|
|
400
400
|
style: L({ display: q.element.renderedIsExpanded ? void 0 : "none" }),
|
|
401
401
|
role: "presentation"
|
|
402
402
|
}, [
|
|
403
|
-
|
|
404
|
-
is:
|
|
403
|
+
c(d, {
|
|
404
|
+
is: C.value,
|
|
405
405
|
question: q.element
|
|
406
406
|
}, null, 8, ["is", "question"]),
|
|
407
407
|
q.element.hasComment ? (i(), a("div", {
|
|
@@ -409,12 +409,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
409
409
|
class: l(q.element.getCommentAreaCss())
|
|
410
410
|
}, [
|
|
411
411
|
v("div", null, [
|
|
412
|
-
|
|
412
|
+
c(d, {
|
|
413
413
|
is: "survey-string",
|
|
414
414
|
locString: q.element.locCommentText
|
|
415
415
|
}, null, 8, ["locString"])
|
|
416
416
|
]),
|
|
417
|
-
|
|
417
|
+
c(d, {
|
|
418
418
|
is: "survey-question-comment",
|
|
419
419
|
question: q.element
|
|
420
420
|
}, null, 8, ["question"])
|
|
@@ -424,7 +424,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
424
424
|
class: l(q.element.cssDescription),
|
|
425
425
|
id: q.element.ariaDescriptionId
|
|
426
426
|
}, [
|
|
427
|
-
|
|
427
|
+
c(d, {
|
|
428
428
|
is: "survey-string",
|
|
429
429
|
locString: q.element.locDescription
|
|
430
430
|
}, null, 8, ["locString"])
|
|
@@ -433,13 +433,13 @@ const ns = /* @__PURE__ */ y({
|
|
|
433
433
|
]),
|
|
434
434
|
_: 1
|
|
435
435
|
}, 16, ["is"])),
|
|
436
|
-
q.element.hasTitleOnBottom ? (i(),
|
|
436
|
+
q.element.hasTitleOnBottom ? (i(), g(d, {
|
|
437
437
|
key: 6,
|
|
438
438
|
is: "survey-element-header",
|
|
439
439
|
element: q.element,
|
|
440
440
|
css: q.css
|
|
441
441
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
442
|
-
q.element.showErrorsBelowQuestion ? (i(),
|
|
442
|
+
q.element.showErrorsBelowQuestion ? (i(), g(d, {
|
|
443
443
|
key: 7,
|
|
444
444
|
is: "survey-errors",
|
|
445
445
|
element: q.element,
|
|
@@ -470,18 +470,18 @@ const ns = /* @__PURE__ */ y({
|
|
|
470
470
|
ref_key: "root",
|
|
471
471
|
ref: n
|
|
472
472
|
}, [
|
|
473
|
-
t.element.showErrorsAbovePanel ? (i(),
|
|
473
|
+
t.element.showErrorsAbovePanel ? (i(), g(d, {
|
|
474
474
|
key: 0,
|
|
475
475
|
is: "survey-errors",
|
|
476
476
|
element: t.element
|
|
477
477
|
}, null, 8, ["element"])) : p("", !0),
|
|
478
|
-
t.element.hasTitle || t.element.hasDescription ? (i(),
|
|
478
|
+
t.element.hasTitle || t.element.hasDescription ? (i(), g(d, {
|
|
479
479
|
key: 1,
|
|
480
480
|
is: "survey-element-header",
|
|
481
481
|
element: t.element,
|
|
482
482
|
css: t.css
|
|
483
483
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
484
|
-
t.element.showErrorsAbovePanel ? p("", !0) : (i(),
|
|
484
|
+
t.element.showErrorsAbovePanel ? p("", !0) : (i(), g(d, {
|
|
485
485
|
key: 2,
|
|
486
486
|
is: "survey-errors",
|
|
487
487
|
element: t.element
|
|
@@ -495,14 +495,14 @@ const ns = /* @__PURE__ */ y({
|
|
|
495
495
|
"aria-labelledby": t.element.ariaLabelledBy,
|
|
496
496
|
"aria-label": t.element.ariaLabel
|
|
497
497
|
}, [
|
|
498
|
-
(i(!0), a(H, null, V(t.element.visibleRows, (r) => (i(),
|
|
498
|
+
(i(!0), a(H, null, V(t.element.visibleRows, (r) => (i(), g(d, $({
|
|
499
499
|
key: r.id,
|
|
500
500
|
is: t.element.getSurvey().getRowWrapperComponentName(r)
|
|
501
501
|
}, {
|
|
502
502
|
componentData: t.element.getSurvey().getRowWrapperComponentData(r)
|
|
503
503
|
}), {
|
|
504
504
|
default: D(() => [
|
|
505
|
-
|
|
505
|
+
c(d, {
|
|
506
506
|
is: "survey-row",
|
|
507
507
|
row: r,
|
|
508
508
|
survey: s.value,
|
|
@@ -511,7 +511,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
511
511
|
]),
|
|
512
512
|
_: 2
|
|
513
513
|
}, 1040, ["is"]))), 128)),
|
|
514
|
-
|
|
514
|
+
c(d, {
|
|
515
515
|
is: "sv-action-bar",
|
|
516
516
|
model: t.element.getFooterToolbar()
|
|
517
517
|
}, null, 8, ["model"])
|
|
@@ -536,7 +536,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
536
536
|
onClick: n,
|
|
537
537
|
style: L(s())
|
|
538
538
|
}, [
|
|
539
|
-
|
|
539
|
+
c(d, {
|
|
540
540
|
is: "survey-element-title",
|
|
541
541
|
element: t.element,
|
|
542
542
|
css: t.css
|
|
@@ -546,14 +546,14 @@ const ns = /* @__PURE__ */ y({
|
|
|
546
546
|
class: l(t.element.cssDescription),
|
|
547
547
|
id: t.element.ariaDescriptionId
|
|
548
548
|
}, [
|
|
549
|
-
|
|
549
|
+
c(d, {
|
|
550
550
|
is: "survey-string",
|
|
551
551
|
locString: t.element.locDescription
|
|
552
552
|
}, null, 8, ["locString"])
|
|
553
553
|
], 10, Cs)), [
|
|
554
554
|
[A, t.element.hasDescription]
|
|
555
555
|
]) : p("", !0),
|
|
556
|
-
t.element.hasAdditionalTitleToolbar ? (i(),
|
|
556
|
+
t.element.hasAdditionalTitleToolbar ? (i(), g(d, {
|
|
557
557
|
key: 1,
|
|
558
558
|
is: "sv-action-bar",
|
|
559
559
|
model: t.element.additionalTitleToolbar
|
|
@@ -566,7 +566,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
566
566
|
locString: {}
|
|
567
567
|
},
|
|
568
568
|
setup(u) {
|
|
569
|
-
return (e, n) => (i(),
|
|
569
|
+
return (e, n) => (i(), g(d, {
|
|
570
570
|
is: e.locString.renderAs,
|
|
571
571
|
locString: e.locString.renderAsData
|
|
572
572
|
}, null, 8, ["is", "locString"]));
|
|
@@ -682,7 +682,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
682
682
|
ref_key: "root",
|
|
683
683
|
ref: n
|
|
684
684
|
}, [
|
|
685
|
-
|
|
685
|
+
c(d, {
|
|
686
686
|
is: "survey-text-input",
|
|
687
687
|
question: s.question
|
|
688
688
|
}, null, 8, ["question"]),
|
|
@@ -694,7 +694,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
694
694
|
value: o
|
|
695
695
|
}, null, 8, Vs))), 128))
|
|
696
696
|
], 8, Is)
|
|
697
|
-
], 512)) : (i(),
|
|
697
|
+
], 512)) : (i(), g(d, {
|
|
698
698
|
key: 2,
|
|
699
699
|
is: "survey-text-input",
|
|
700
700
|
question: s.question,
|
|
@@ -717,7 +717,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
717
717
|
const o = f(() => n.question.inputStyle);
|
|
718
718
|
return (r, m) => r.question.getMaxLength() ? (i(), a("div", {
|
|
719
719
|
key: 1,
|
|
720
|
-
ref: (
|
|
720
|
+
ref: (C) => s(C)
|
|
721
721
|
}, [
|
|
722
722
|
v("input", {
|
|
723
723
|
disabled: r.question.isDisabledAttr,
|
|
@@ -736,21 +736,21 @@ const ns = /* @__PURE__ */ y({
|
|
|
736
736
|
autocomplete: r.question.autocomplete,
|
|
737
737
|
value: r.question.inputValue,
|
|
738
738
|
onChange: m[8] || (m[8] = //@ts-ignore
|
|
739
|
-
(...
|
|
739
|
+
(...C) => r.question.onChange && r.question.onChange(...C)),
|
|
740
740
|
onClick: m[9] || (m[9] = //@ts-ignore
|
|
741
|
-
(...
|
|
741
|
+
(...C) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...C)),
|
|
742
742
|
onPointerdown: m[10] || (m[10] = //@ts-ignore
|
|
743
|
-
(...
|
|
743
|
+
(...C) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...C)),
|
|
744
744
|
onKeyup: m[11] || (m[11] = //@ts-ignore
|
|
745
|
-
(...
|
|
745
|
+
(...C) => r.question.onKeyUp && r.question.onKeyUp(...C)),
|
|
746
746
|
onKeydown: m[12] || (m[12] = //@ts-ignore
|
|
747
|
-
(...
|
|
747
|
+
(...C) => r.question.onKeyDown && r.question.onKeyDown(...C)),
|
|
748
748
|
onCompositionUpdate: m[13] || (m[13] = //@ts-ignore
|
|
749
|
-
(...
|
|
749
|
+
(...C) => r.question.onCompositionUpdate && r.question.onCompositionUpdate(...C)),
|
|
750
750
|
onBlur: m[14] || (m[14] = //@ts-ignore
|
|
751
|
-
(...
|
|
751
|
+
(...C) => r.question.onBlur && r.question.onBlur(...C)),
|
|
752
752
|
onFocus: m[15] || (m[15] = //@ts-ignore
|
|
753
|
-
(...
|
|
753
|
+
(...C) => r.question.onFocus && r.question.onFocus(...C)),
|
|
754
754
|
"aria-required": r.question.a11y_input_ariaRequired,
|
|
755
755
|
"aria-label": r.question.a11y_input_ariaLabel,
|
|
756
756
|
"aria-labelledby": r.question.a11y_input_ariaLabelledBy,
|
|
@@ -758,14 +758,14 @@ const ns = /* @__PURE__ */ y({
|
|
|
758
758
|
"aria-invalid": r.question.a11y_input_ariaInvalid,
|
|
759
759
|
"aria-errormessage": r.question.a11y_input_ariaErrormessage
|
|
760
760
|
}, null, 46, Ts),
|
|
761
|
-
|
|
761
|
+
c(d, {
|
|
762
762
|
is: "sv-character-counter",
|
|
763
763
|
counter: r.question.characterCounter,
|
|
764
764
|
remainingCharacterCounter: r.question.cssClasses.remainingCharacterCounter
|
|
765
765
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
766
766
|
], 512)) : (i(), a("input", {
|
|
767
767
|
key: 0,
|
|
768
|
-
ref: (
|
|
768
|
+
ref: (C) => s(C),
|
|
769
769
|
disabled: r.question.isDisabledAttr,
|
|
770
770
|
readonly: r.question.isReadOnlyAttr,
|
|
771
771
|
class: l(r.question.getControlClass()),
|
|
@@ -782,21 +782,21 @@ const ns = /* @__PURE__ */ y({
|
|
|
782
782
|
autocomplete: r.question.autocomplete,
|
|
783
783
|
value: r.question.inputValue,
|
|
784
784
|
onChange: m[0] || (m[0] = //@ts-ignore
|
|
785
|
-
(...
|
|
785
|
+
(...C) => r.question.onChange && r.question.onChange(...C)),
|
|
786
786
|
onClick: m[1] || (m[1] = //@ts-ignore
|
|
787
|
-
(...
|
|
787
|
+
(...C) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...C)),
|
|
788
788
|
onPointerdown: m[2] || (m[2] = //@ts-ignore
|
|
789
|
-
(...
|
|
789
|
+
(...C) => r.question.readOnlyBlocker && r.question.readOnlyBlocker(...C)),
|
|
790
790
|
onKeyup: m[3] || (m[3] = //@ts-ignore
|
|
791
|
-
(...
|
|
791
|
+
(...C) => r.question.onKeyUp && r.question.onKeyUp(...C)),
|
|
792
792
|
onKeydown: m[4] || (m[4] = //@ts-ignore
|
|
793
|
-
(...
|
|
793
|
+
(...C) => r.question.onKeyDown && r.question.onKeyDown(...C)),
|
|
794
794
|
onCompositionUpdate: m[5] || (m[5] = //@ts-ignore
|
|
795
|
-
(...
|
|
795
|
+
(...C) => r.question.onCompositionUpdate && r.question.onCompositionUpdate(...C)),
|
|
796
796
|
onBlur: m[6] || (m[6] = //@ts-ignore
|
|
797
|
-
(...
|
|
797
|
+
(...C) => r.question.onBlur && r.question.onBlur(...C)),
|
|
798
798
|
onFocus: m[7] || (m[7] = //@ts-ignore
|
|
799
|
-
(...
|
|
799
|
+
(...C) => r.question.onFocus && r.question.onFocus(...C)),
|
|
800
800
|
"aria-required": r.question.a11y_input_ariaRequired,
|
|
801
801
|
"aria-label": r.question.a11y_input_ariaLabel,
|
|
802
802
|
"aria-labelledby": r.question.a11y_input_ariaLabelledBy,
|
|
@@ -839,11 +839,11 @@ const ns = /* @__PURE__ */ y({
|
|
|
839
839
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
840
840
|
}, [
|
|
841
841
|
o.showLegend ? (i(), a("legend", $s, M(o.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
842
|
-
o.question.hasHeadItems ? (i(!0), a(H, { key: 1 }, V(o.question.headItems, (m) => (i(),
|
|
842
|
+
o.question.hasHeadItems ? (i(!0), a(H, { key: 1 }, V(o.question.headItems, (m) => (i(), g(d, $({
|
|
843
843
|
key: m.value,
|
|
844
844
|
is: s(m)
|
|
845
845
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
846
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), a(H, { key: 2 }, V(o.question.bodyItems, (m) => (i(),
|
|
846
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), a(H, { key: 2 }, V(o.question.bodyItems, (m) => (i(), g(d, $({
|
|
847
847
|
key: m.value,
|
|
848
848
|
is: s(m)
|
|
849
849
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -851,7 +851,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
851
851
|
key: 3,
|
|
852
852
|
class: l(o.question.cssClasses.rootRow)
|
|
853
853
|
}, [
|
|
854
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), a(H, { key: 0 }, V(o.question.dataChoices, (m) => (i(),
|
|
854
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), a(H, { key: 0 }, V(o.question.dataChoices, (m) => (i(), g(d, $({
|
|
855
855
|
key: m.value,
|
|
856
856
|
is: s(m)
|
|
857
857
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0)
|
|
@@ -860,18 +860,18 @@ const ns = /* @__PURE__ */ y({
|
|
|
860
860
|
key: 4,
|
|
861
861
|
class: l(o.question.cssClasses.rootMultiColumn)
|
|
862
862
|
}, [
|
|
863
|
-
o.question.hasColumns ? (i(!0), a(H, { key: 0 }, V(o.question.columns, (m,
|
|
864
|
-
key:
|
|
863
|
+
o.question.hasColumns ? (i(!0), a(H, { key: 0 }, V(o.question.columns, (m, C) => (i(), a("div", {
|
|
864
|
+
key: C,
|
|
865
865
|
class: l(o.question.getColumnClass()),
|
|
866
866
|
role: "presentation"
|
|
867
867
|
}, [
|
|
868
|
-
(i(!0), a(H, null, V(m, (S) => (i(),
|
|
868
|
+
(i(!0), a(H, null, V(m, (S) => (i(), g(d, $({
|
|
869
869
|
key: S.value,
|
|
870
870
|
is: s(S)
|
|
871
871
|
}, t(S)), null, 16, ["is"]))), 128))
|
|
872
872
|
], 2))), 128)) : p("", !0)
|
|
873
873
|
], 2)) : p("", !0),
|
|
874
|
-
o.question.hasFootItems ? (i(!0), a(H, { key: 5 }, V(o.question.footItems, (m) => (i(),
|
|
874
|
+
o.question.hasFootItems ? (i(!0), a(H, { key: 5 }, V(o.question.footItems, (m) => (i(), g(d, $({
|
|
875
875
|
key: m.value,
|
|
876
876
|
is: s(m)
|
|
877
877
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -894,7 +894,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
894
894
|
question: {}
|
|
895
895
|
},
|
|
896
896
|
setup(u) {
|
|
897
|
-
return (e, n) => (i(),
|
|
897
|
+
return (e, n) => (i(), g(Le, {
|
|
898
898
|
question: e.question,
|
|
899
899
|
"show-legend": !0
|
|
900
900
|
}, null, 8, ["question"]));
|
|
@@ -970,14 +970,14 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
970
970
|
key: 1,
|
|
971
971
|
class: l(t.question.cssClasses.controlLabel)
|
|
972
972
|
}, [
|
|
973
|
-
|
|
973
|
+
c(d, {
|
|
974
974
|
is: "survey-string",
|
|
975
975
|
locString: t.item.locText
|
|
976
976
|
}, null, 8, ["locString"])
|
|
977
977
|
], 2))
|
|
978
978
|
], 2)
|
|
979
979
|
], 2),
|
|
980
|
-
t.item.isCommentShowing ? (i(),
|
|
980
|
+
t.item.isCommentShowing ? (i(), g(d, {
|
|
981
981
|
key: 0,
|
|
982
982
|
is: "survey-other-choice",
|
|
983
983
|
question: t.question,
|
|
@@ -992,7 +992,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
992
992
|
question: {}
|
|
993
993
|
},
|
|
994
994
|
setup(u) {
|
|
995
|
-
return (e, n) => (i(),
|
|
995
|
+
return (e, n) => (i(), g(Le, { question: e.question }, null, 8, ["question"]));
|
|
996
996
|
}
|
|
997
997
|
}), Os = ["name", "value", "id", "aria-errormessage", "checked", "disabled", "readonly", "aria-label"], zs = ["xlink:href"], Us = /* @__PURE__ */ y({
|
|
998
998
|
inheritAttrs: !1,
|
|
@@ -1019,7 +1019,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1019
1019
|
ref: e
|
|
1020
1020
|
}, [
|
|
1021
1021
|
v("label", {
|
|
1022
|
-
onMousedown: m[1] || (m[1] = (
|
|
1022
|
+
onMousedown: m[1] || (m[1] = (C) => r.question.onMouseDown()),
|
|
1023
1023
|
class: l(s(r.item))
|
|
1024
1024
|
}, [
|
|
1025
1025
|
v("input", {
|
|
@@ -1029,7 +1029,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1029
1029
|
id: r.question.getItemId(r.item),
|
|
1030
1030
|
"aria-errormessage": r.question.ariaErrormessage,
|
|
1031
1031
|
checked: r.question.isItemSelected(r.item),
|
|
1032
|
-
onInput: m[0] || (m[0] = (
|
|
1032
|
+
onInput: m[0] || (m[0] = (C) => {
|
|
1033
1033
|
o();
|
|
1034
1034
|
}),
|
|
1035
1035
|
disabled: !r.question.getItemEnabled(r.item),
|
|
@@ -1054,14 +1054,14 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1054
1054
|
key: 1,
|
|
1055
1055
|
class: l(t(r.item))
|
|
1056
1056
|
}, [
|
|
1057
|
-
|
|
1057
|
+
c(d, {
|
|
1058
1058
|
is: "survey-string",
|
|
1059
1059
|
locString: r.item.locText
|
|
1060
1060
|
}, null, 8, ["locString"])
|
|
1061
1061
|
], 2))
|
|
1062
1062
|
], 34)
|
|
1063
1063
|
], 2),
|
|
1064
|
-
r.item.isCommentShowing ? (i(),
|
|
1064
|
+
r.item.isCommentShowing ? (i(), g(d, {
|
|
1065
1065
|
key: 0,
|
|
1066
1066
|
is: "survey-other-choice",
|
|
1067
1067
|
question: r.question,
|
|
@@ -1088,7 +1088,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1088
1088
|
B(v("div", {
|
|
1089
1089
|
class: l(s.question.cssClasses.placeholder)
|
|
1090
1090
|
}, [
|
|
1091
|
-
|
|
1091
|
+
c(d, {
|
|
1092
1092
|
is: "survey-string",
|
|
1093
1093
|
locString: s.question.locRenderedPlaceholder
|
|
1094
1094
|
}, null, 8, ["locString"])
|
|
@@ -1125,7 +1125,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1125
1125
|
})
|
|
1126
1126
|
}, [
|
|
1127
1127
|
s.question.cssClasses.clearButtonIconId ? p("", !0) : (i(), a("span", js, "✖")),
|
|
1128
|
-
s.question.cssClasses.clearButtonIconId ? (i(),
|
|
1128
|
+
s.question.cssClasses.clearButtonIconId ? (i(), g(d, {
|
|
1129
1129
|
key: 1,
|
|
1130
1130
|
is: "sv-svg-icon",
|
|
1131
1131
|
iconName: s.question.cssClasses.clearButtonIconId,
|
|
@@ -1137,7 +1137,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1137
1137
|
key: 1,
|
|
1138
1138
|
class: l(s.question.cssClasses.loadingIndicator)
|
|
1139
1139
|
}, [
|
|
1140
|
-
|
|
1140
|
+
c(d, { is: "sv-loading-indicator" })
|
|
1141
1141
|
], 2)) : p("", !0)
|
|
1142
1142
|
], 6));
|
|
1143
1143
|
}
|
|
@@ -1232,7 +1232,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1232
1232
|
key: 3,
|
|
1233
1233
|
class: l(t.question.cssClasses.noImage)
|
|
1234
1234
|
}, [
|
|
1235
|
-
|
|
1235
|
+
c(d, {
|
|
1236
1236
|
is: "sv-svg-icon",
|
|
1237
1237
|
iconName: t.question.cssClasses.noImageSvgIconId,
|
|
1238
1238
|
size: 48
|
|
@@ -1323,7 +1323,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
class: l(s.question.cssClasses.dragAreaPlaceholder)
|
|
1325
1325
|
}, [
|
|
1326
|
-
|
|
1326
|
+
c(d, {
|
|
1327
1327
|
is: "survey-string",
|
|
1328
1328
|
locString: s.question.locRenderedPlaceholder
|
|
1329
1329
|
}, null, 8, ["locString"])
|
|
@@ -1331,7 +1331,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1331
1331
|
v("div", {
|
|
1332
1332
|
class: l(s.question.cssClasses.wrapper)
|
|
1333
1333
|
}, [
|
|
1334
|
-
s.question.actionsContainerVisible ? (i(),
|
|
1334
|
+
s.question.actionsContainerVisible ? (i(), g(d, {
|
|
1335
1335
|
key: 0,
|
|
1336
1336
|
is: "sv-action-bar",
|
|
1337
1337
|
model: s.question.actionsContainer
|
|
@@ -1342,19 +1342,19 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1342
1342
|
key: 1,
|
|
1343
1343
|
class: l(s.question.cssClasses.loadingIndicator)
|
|
1344
1344
|
}, [
|
|
1345
|
-
|
|
1345
|
+
c(d, { is: "sv-loading-indicator" })
|
|
1346
1346
|
], 2)) : p("", !0),
|
|
1347
|
-
s.question.isPlayingVideo ? (i(),
|
|
1347
|
+
s.question.isPlayingVideo ? (i(), g(d, {
|
|
1348
1348
|
key: 2,
|
|
1349
1349
|
is: "sv-file-video",
|
|
1350
1350
|
question: s.question
|
|
1351
1351
|
}, null, 8, ["question"])) : p("", !0),
|
|
1352
|
-
s.question.allowShowPreview ? (i(),
|
|
1352
|
+
s.question.allowShowPreview ? (i(), g(d, {
|
|
1353
1353
|
key: 3,
|
|
1354
1354
|
is: "sv-file-preview",
|
|
1355
1355
|
question: s.question
|
|
1356
1356
|
}, null, 8, ["question"])) : p("", !0),
|
|
1357
|
-
s.question.fileNavigatorVisible ? (i(),
|
|
1357
|
+
s.question.fileNavigatorVisible ? (i(), g(d, {
|
|
1358
1358
|
key: 4,
|
|
1359
1359
|
is: "sv-action-bar",
|
|
1360
1360
|
model: s.question.fileNavigator
|
|
@@ -1386,16 +1386,16 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1386
1386
|
ref: n
|
|
1387
1387
|
}, [
|
|
1388
1388
|
v("legend", l1, M(o.question.locTitle.renderedHtml), 1),
|
|
1389
|
-
o.question.hasColumns ? p("", !0) : (i(!0), a(H, { key: 0 }, V(o.question.visibleChoices, (m) => (i(),
|
|
1389
|
+
o.question.hasColumns ? p("", !0) : (i(!0), a(H, { key: 0 }, V(o.question.visibleChoices, (m) => (i(), g(d, $({
|
|
1390
1390
|
key: m.value,
|
|
1391
1391
|
is: s(m)
|
|
1392
1392
|
}, t(m)), null, 16, ["is"]))), 128)),
|
|
1393
|
-
o.question.hasColumns ? (i(!0), a(H, { key: 1 }, V(o.question.columns, (m,
|
|
1393
|
+
o.question.hasColumns ? (i(!0), a(H, { key: 1 }, V(o.question.columns, (m, C) => (i(), a("div", {
|
|
1394
1394
|
class: l(o.question.getColumnClass()),
|
|
1395
|
-
key:
|
|
1395
|
+
key: C,
|
|
1396
1396
|
role: "presentation"
|
|
1397
1397
|
}, [
|
|
1398
|
-
(i(!0), a(H, null, V(m, (S) => (i(),
|
|
1398
|
+
(i(!0), a(H, null, V(m, (S) => (i(), g(d, $({
|
|
1399
1399
|
key: S.value,
|
|
1400
1400
|
is: s(S)
|
|
1401
1401
|
}, t(S)), null, 16, ["is"]))), 128))
|
|
@@ -1471,7 +1471,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1471
1471
|
class: l(o.question.cssClasses.checkedItemDecorator),
|
|
1472
1472
|
"aria-hidden": "true"
|
|
1473
1473
|
}, [
|
|
1474
|
-
o.question.cssClasses.checkedItemSvgIconId ? (i(),
|
|
1474
|
+
o.question.cssClasses.checkedItemSvgIconId ? (i(), g(d, {
|
|
1475
1475
|
key: 0,
|
|
1476
1476
|
is: "sv-svg-icon",
|
|
1477
1477
|
class: l(o.question.cssClasses.checkedItemSvgIcon),
|
|
@@ -1518,7 +1518,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1518
1518
|
objectFit: o.question.imageFit
|
|
1519
1519
|
})
|
|
1520
1520
|
}, [
|
|
1521
|
-
|
|
1521
|
+
c(d, {
|
|
1522
1522
|
is: "sv-svg-icon",
|
|
1523
1523
|
class: l(o.question.cssClasses.itemNoImageSvgIcon),
|
|
1524
1524
|
iconName: o.question.cssClasses.itemNoImageSvgIconId,
|
|
@@ -1530,7 +1530,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1530
1530
|
key: 0,
|
|
1531
1531
|
class: l(o.question.cssClasses.itemText)
|
|
1532
1532
|
}, [
|
|
1533
|
-
|
|
1533
|
+
c(d, {
|
|
1534
1534
|
is: "survey-string",
|
|
1535
1535
|
locString: o.item.locText
|
|
1536
1536
|
}, null, 8, ["locString"])
|
|
@@ -1555,16 +1555,16 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1555
1555
|
ref_key: "root",
|
|
1556
1556
|
ref: n
|
|
1557
1557
|
}, [
|
|
1558
|
-
|
|
1558
|
+
c(d, {
|
|
1559
1559
|
is: "sv-text-area",
|
|
1560
1560
|
model: t.question.textAreaModel
|
|
1561
1561
|
}, null, 8, ["model"]),
|
|
1562
|
-
|
|
1562
|
+
c(d, {
|
|
1563
1563
|
is: "sv-character-counter",
|
|
1564
1564
|
counter: t.question.characterCounter,
|
|
1565
1565
|
remainingCharacterCounter: t.question.cssClasses.remainingCharacterCounter
|
|
1566
1566
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
1567
|
-
], 512)) : !t.question.isReadOnlyRenderDiv() && !t.question.getMaxLength() ? (i(),
|
|
1567
|
+
], 512)) : !t.question.isReadOnlyRenderDiv() && !t.question.getMaxLength() ? (i(), g(d, {
|
|
1568
1568
|
key: 1,
|
|
1569
1569
|
is: "sv-text-area",
|
|
1570
1570
|
"get-ref": s,
|
|
@@ -1590,11 +1590,11 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1590
1590
|
ref_key: "root",
|
|
1591
1591
|
ref: n
|
|
1592
1592
|
}, [
|
|
1593
|
-
|
|
1593
|
+
c(d, {
|
|
1594
1594
|
is: "sv-dropdown",
|
|
1595
1595
|
question: o.question
|
|
1596
1596
|
}, null, 8, ["question"]),
|
|
1597
|
-
t.value ? (i(),
|
|
1597
|
+
t.value ? (i(), g(d, {
|
|
1598
1598
|
key: 0,
|
|
1599
1599
|
is: "survey-other-choice",
|
|
1600
1600
|
question: o.question,
|
|
@@ -1649,7 +1649,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1649
1649
|
}, M(r.question.readOnlyText), 11, h1)) : B((i(), a("select", {
|
|
1650
1650
|
key: 0,
|
|
1651
1651
|
id: r.question.inputId,
|
|
1652
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
1652
|
+
"onUpdate:modelValue": m[0] || (m[0] = (C) => o.value = C),
|
|
1653
1653
|
onClick: s,
|
|
1654
1654
|
onKeyup: t,
|
|
1655
1655
|
autocomplete: r.question.autocomplete,
|
|
@@ -1661,10 +1661,10 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1661
1661
|
required: r.question.isRequired
|
|
1662
1662
|
}, [
|
|
1663
1663
|
r.question.allowClear ? (i(), a("option", y1, M(r.question.placeholder), 1)) : p("", !0),
|
|
1664
|
-
(i(!0), a(H, null, V(r.question.visibleChoices, (
|
|
1664
|
+
(i(!0), a(H, null, V(r.question.visibleChoices, (C) => (i(), g(d, {
|
|
1665
1665
|
is: "sv-dropdown-option-item",
|
|
1666
|
-
item:
|
|
1667
|
-
key:
|
|
1666
|
+
item: C,
|
|
1667
|
+
key: C.id
|
|
1668
1668
|
}, null, 8, ["item"]))), 128))
|
|
1669
1669
|
], 42, g1)), [
|
|
1670
1670
|
[Ze, o.value]
|
|
@@ -1674,7 +1674,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1674
1674
|
class: l(r.question.cssClasses.chevronButton),
|
|
1675
1675
|
"aria-hidden": "true"
|
|
1676
1676
|
}, [
|
|
1677
|
-
|
|
1677
|
+
c(d, {
|
|
1678
1678
|
is: "sv-svg-icon",
|
|
1679
1679
|
class: l(r.question.cssClasses.chevronButtonSvg),
|
|
1680
1680
|
iconName: r.question.cssClasses.chevronButtonIconId,
|
|
@@ -1682,7 +1682,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1682
1682
|
}, null, 8, ["class", "iconName"])
|
|
1683
1683
|
], 2)) : p("", !0)
|
|
1684
1684
|
], 2),
|
|
1685
|
-
r.question.isShowingChoiceComment ? (i(),
|
|
1685
|
+
r.question.isShowingChoiceComment ? (i(), g(d, {
|
|
1686
1686
|
key: 0,
|
|
1687
1687
|
is: "survey-other-choice",
|
|
1688
1688
|
question: r.question,
|
|
@@ -1721,7 +1721,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1721
1721
|
}
|
|
1722
1722
|
}, m = (b) => {
|
|
1723
1723
|
e.question.onBlur(b), r();
|
|
1724
|
-
},
|
|
1724
|
+
}, C = (b) => {
|
|
1725
1725
|
e.question.onFocus(b);
|
|
1726
1726
|
}, S = (b) => {
|
|
1727
1727
|
s.value.inputStringRendered = b.target.value;
|
|
@@ -1763,7 +1763,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1763
1763
|
v("div", {
|
|
1764
1764
|
class: l(b.question.cssClasses.controlValue)
|
|
1765
1765
|
}, [
|
|
1766
|
-
h.value ? (i(),
|
|
1766
|
+
h.value ? (i(), g(d, {
|
|
1767
1767
|
key: 0,
|
|
1768
1768
|
is: "survey-string",
|
|
1769
1769
|
locString: q.value
|
|
@@ -1775,7 +1775,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1775
1775
|
v("span", k1, M(s.value.inputStringRendered), 1),
|
|
1776
1776
|
v("span", null, M(s.value.hintStringSuffix), 1)
|
|
1777
1777
|
], 2)) : p("", !0),
|
|
1778
|
-
b.question.showInputFieldComponent ? (i(),
|
|
1778
|
+
b.question.showInputFieldComponent ? (i(), g(d, {
|
|
1779
1779
|
key: 2,
|
|
1780
1780
|
is: b.question.inputFieldComponentName,
|
|
1781
1781
|
item: s.value.getSelectedAction(),
|
|
@@ -1806,15 +1806,15 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1806
1806
|
placeholder: s.value.placeholderRendered,
|
|
1807
1807
|
onInput: S,
|
|
1808
1808
|
onBlur: m,
|
|
1809
|
-
onFocus:
|
|
1809
|
+
onFocus: C
|
|
1810
1810
|
}, null, 42, f1)) : p("", !0)
|
|
1811
1811
|
], 2),
|
|
1812
|
-
|
|
1812
|
+
c(d, {
|
|
1813
1813
|
is: "sv-action-bar",
|
|
1814
1814
|
model: s.value.editorButtons
|
|
1815
1815
|
}, null, 8, ["model"])
|
|
1816
1816
|
], 42, L1)),
|
|
1817
|
-
b.question.isInputReadOnly ? p("", !0) : (i(),
|
|
1817
|
+
b.question.isInputReadOnly ? p("", !0) : (i(), g(d, {
|
|
1818
1818
|
key: 1,
|
|
1819
1819
|
is: "sv-popup",
|
|
1820
1820
|
model: s.value.popupModel
|
|
@@ -1835,13 +1835,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1835
1835
|
v("div", {
|
|
1836
1836
|
class: l(b.question.cssClasses.controlValue)
|
|
1837
1837
|
}, [
|
|
1838
|
-
b.question.locReadOnlyText ? (i(),
|
|
1838
|
+
b.question.locReadOnlyText ? (i(), g(d, {
|
|
1839
1839
|
key: 0,
|
|
1840
1840
|
is: "survey-string",
|
|
1841
1841
|
locString: b.question.locReadOnlyText
|
|
1842
1842
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1843
1843
|
], 2),
|
|
1844
|
-
|
|
1844
|
+
c(d, {
|
|
1845
1845
|
is: "sv-action-bar",
|
|
1846
1846
|
model: s.value.editorButtons
|
|
1847
1847
|
}, null, 8, ["model"])
|
|
@@ -1862,11 +1862,11 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1862
1862
|
ref_key: "root",
|
|
1863
1863
|
ref: n
|
|
1864
1864
|
}, [
|
|
1865
|
-
|
|
1865
|
+
c(d, {
|
|
1866
1866
|
is: "sv-tagbox",
|
|
1867
1867
|
question: s.question
|
|
1868
1868
|
}, null, 8, ["question"]),
|
|
1869
|
-
s.question.isOtherSelected ? (i(),
|
|
1869
|
+
s.question.isOtherSelected ? (i(), g(d, {
|
|
1870
1870
|
key: 0,
|
|
1871
1871
|
is: "survey-other-choice",
|
|
1872
1872
|
question: s.question,
|
|
@@ -1894,7 +1894,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1894
1894
|
(m = n.value) == null || m.onBlur(r);
|
|
1895
1895
|
};
|
|
1896
1896
|
return I(() => n.value), (r, m) => {
|
|
1897
|
-
var
|
|
1897
|
+
var C, S, h, q;
|
|
1898
1898
|
return i(), a("div", {
|
|
1899
1899
|
class: l(r.question.cssClasses.selectWrapper),
|
|
1900
1900
|
onClick: s
|
|
@@ -1922,25 +1922,25 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1922
1922
|
v("div", {
|
|
1923
1923
|
class: l(r.question.cssClasses.controlValue)
|
|
1924
1924
|
}, [
|
|
1925
|
-
(i(!0), a(H, null, V(r.question.selectedChoices, (b, Z) => (i(),
|
|
1925
|
+
(i(!0), a(H, null, V(r.question.selectedChoices, (b, Z) => (i(), g(d, {
|
|
1926
1926
|
is: "sv-tagbox-item",
|
|
1927
1927
|
item: b,
|
|
1928
1928
|
question: r.question,
|
|
1929
1929
|
key: "item" + Z
|
|
1930
1930
|
}, null, 8, ["item", "question"]))), 128)),
|
|
1931
|
-
n.value.needRenderInput ? (i(),
|
|
1931
|
+
n.value.needRenderInput ? (i(), g(d, {
|
|
1932
1932
|
key: 0,
|
|
1933
1933
|
is: "sv-tagbox-filter",
|
|
1934
1934
|
model: n.value,
|
|
1935
1935
|
question: r.question
|
|
1936
1936
|
}, null, 8, ["model", "question"])) : p("", !0)
|
|
1937
1937
|
], 2),
|
|
1938
|
-
|
|
1938
|
+
c(d, {
|
|
1939
1939
|
is: "sv-action-bar",
|
|
1940
1940
|
model: n.value.editorButtons
|
|
1941
1941
|
}, null, 8, ["model"])
|
|
1942
1942
|
], 42, V1)),
|
|
1943
|
-
r.question.isInputReadOnly ? p("", !0) : (i(),
|
|
1943
|
+
r.question.isInputReadOnly ? p("", !0) : (i(), g(d, {
|
|
1944
1944
|
key: 1,
|
|
1945
1945
|
is: "sv-popup",
|
|
1946
1946
|
model: n.value.popupModel
|
|
@@ -1948,7 +1948,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1948
1948
|
r.question.isReadOnly ? (i(), a("div", {
|
|
1949
1949
|
key: 2,
|
|
1950
1950
|
id: r.question.inputId,
|
|
1951
|
-
role: (
|
|
1951
|
+
role: (C = n.value) == null ? void 0 : C.ariaQuestionRole,
|
|
1952
1952
|
"aria-label": (S = n.value) == null ? void 0 : S.ariaQuestionLabel,
|
|
1953
1953
|
"aria-labelledby": (h = n.value) == null ? void 0 : h.ariaQuestionLabelledby,
|
|
1954
1954
|
"aria-describedby": (q = n.value) == null ? void 0 : q.ariaQuestionDescribedby,
|
|
@@ -1961,13 +1961,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1961
1961
|
v("div", {
|
|
1962
1962
|
class: l(r.question.cssClasses.controlValue)
|
|
1963
1963
|
}, [
|
|
1964
|
-
r.question.locReadOnlyText ? (i(),
|
|
1964
|
+
r.question.locReadOnlyText ? (i(), g(d, {
|
|
1965
1965
|
key: 0,
|
|
1966
1966
|
is: "survey-string",
|
|
1967
1967
|
locString: r.question.locReadOnlyText
|
|
1968
1968
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1969
1969
|
], 2),
|
|
1970
|
-
|
|
1970
|
+
c(d, {
|
|
1971
1971
|
is: "sv-action-bar",
|
|
1972
1972
|
model: n.value.editorButtons
|
|
1973
1973
|
}, null, 8, ["model"])
|
|
@@ -1983,8 +1983,8 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1983
1983
|
},
|
|
1984
1984
|
setup(u) {
|
|
1985
1985
|
const e = u, n = (m) => {
|
|
1986
|
-
const
|
|
1987
|
-
|
|
1986
|
+
const C = e.model;
|
|
1987
|
+
C.inputStringRendered = m.target.value;
|
|
1988
1988
|
}, s = (m) => {
|
|
1989
1989
|
e.model.inputKeyHandler(m);
|
|
1990
1990
|
}, t = (m) => {
|
|
@@ -1996,11 +1996,11 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1996
1996
|
return e.model.inputStringRendered ?? "";
|
|
1997
1997
|
},
|
|
1998
1998
|
set(m) {
|
|
1999
|
-
const
|
|
2000
|
-
|
|
1999
|
+
const C = e.model;
|
|
2000
|
+
C.inputStringRendered = m;
|
|
2001
2001
|
}
|
|
2002
2002
|
});
|
|
2003
|
-
return I(() => e.model), (m,
|
|
2003
|
+
return I(() => e.model), (m, C) => (i(), a("div", {
|
|
2004
2004
|
class: l(m.question.cssClasses.hint)
|
|
2005
2005
|
}, [
|
|
2006
2006
|
m.model.showHintPrefix ? (i(), a("div", {
|
|
@@ -2012,7 +2012,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2012
2012
|
v("div", {
|
|
2013
2013
|
class: l(m.question.cssClasses.hintSuffixWrapper)
|
|
2014
2014
|
}, [
|
|
2015
|
-
m.question.showSelectedItemLocText ? (i(),
|
|
2015
|
+
m.question.showSelectedItemLocText ? (i(), g(d, {
|
|
2016
2016
|
key: 0,
|
|
2017
2017
|
is: "survey-string",
|
|
2018
2018
|
locString: m.question.selectedItemLocText
|
|
@@ -2027,7 +2027,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2027
2027
|
B(v("input", {
|
|
2028
2028
|
type: "text",
|
|
2029
2029
|
autocomplete: "off",
|
|
2030
|
-
"onUpdate:modelValue":
|
|
2030
|
+
"onUpdate:modelValue": C[0] || (C[0] = (S) => r.value = S),
|
|
2031
2031
|
class: l(m.question.cssClasses.filterStringInput),
|
|
2032
2032
|
placeholder: m.model.filterStringPlaceholder,
|
|
2033
2033
|
disabled: m.question.isDisabledAttr,
|
|
@@ -2070,7 +2070,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2070
2070
|
key: s.item.key
|
|
2071
2071
|
}, [
|
|
2072
2072
|
v("div", $1, [
|
|
2073
|
-
|
|
2073
|
+
c(d, {
|
|
2074
2074
|
is: "survey-string",
|
|
2075
2075
|
locString: s.item.locText
|
|
2076
2076
|
}, null, 8, ["locString"])
|
|
@@ -2079,7 +2079,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2079
2079
|
class: l(s.question.cssClasses.cleanItemButton),
|
|
2080
2080
|
onClick: n
|
|
2081
2081
|
}, [
|
|
2082
|
-
|
|
2082
|
+
c(d, {
|
|
2083
2083
|
is: "sv-svg-icon",
|
|
2084
2084
|
class: l(s.question.cssClasses.cleanItemButtonSvg),
|
|
2085
2085
|
iconName: s.question.cssClasses.cleanItemButtonIconId,
|
|
@@ -2112,24 +2112,24 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2112
2112
|
ref_key: "root",
|
|
2113
2113
|
ref: n
|
|
2114
2114
|
}, [
|
|
2115
|
-
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(H, { key: 0 }, V(o.question.renderedRankingChoices, (m,
|
|
2116
|
-
key: m.value + "-" +
|
|
2115
|
+
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(H, { key: 0 }, V(o.question.renderedRankingChoices, (m, C) => (i(), g(d, $({
|
|
2116
|
+
key: m.value + "-" + C + "-item",
|
|
2117
2117
|
is: s(m)
|
|
2118
|
-
}, t(m,
|
|
2118
|
+
}, t(m, C)), null, 16, ["is"]))), 128)),
|
|
2119
2119
|
o.question.selectToRankEnabled ? (i(), a("div", {
|
|
2120
2120
|
key: 1,
|
|
2121
2121
|
class: l(o.question.getContainerClasses("from")),
|
|
2122
2122
|
"data-ranking": "from-container"
|
|
2123
2123
|
}, [
|
|
2124
|
-
(i(!0), a(H, null, V(o.question.renderedUnRankingChoices, (m,
|
|
2125
|
-
key: m.value + "-" +
|
|
2124
|
+
(i(!0), a(H, null, V(o.question.renderedUnRankingChoices, (m, C) => (i(), g(d, $({
|
|
2125
|
+
key: m.value + "-" + C + "-item",
|
|
2126
2126
|
is: s(m)
|
|
2127
|
-
}, t(m,
|
|
2127
|
+
}, t(m, C, !0)), null, 16, ["is"]))), 128)),
|
|
2128
2128
|
o.question.renderedUnRankingChoices.length === 0 ? (i(), a("div", {
|
|
2129
2129
|
key: 0,
|
|
2130
2130
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
2131
2131
|
}, [
|
|
2132
|
-
|
|
2132
|
+
c(d, {
|
|
2133
2133
|
is: "survey-string",
|
|
2134
2134
|
locString: o.question.locSelectToRankEmptyRankedAreaText
|
|
2135
2135
|
}, null, 8, ["locString"])
|
|
@@ -2144,15 +2144,15 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2144
2144
|
class: l(o.question.getContainerClasses("to")),
|
|
2145
2145
|
"data-ranking": "to-container"
|
|
2146
2146
|
}, [
|
|
2147
|
-
(i(!0), a(H, null, V(o.question.renderedRankingChoices, (m,
|
|
2148
|
-
key: m.value + "-" +
|
|
2147
|
+
(i(!0), a(H, null, V(o.question.renderedRankingChoices, (m, C) => (i(), g(d, $({
|
|
2148
|
+
key: m.value + "-" + C + "-item",
|
|
2149
2149
|
is: s(m)
|
|
2150
|
-
}, t(m,
|
|
2150
|
+
}, t(m, C)), null, 16, ["is"]))), 128)),
|
|
2151
2151
|
o.question.renderedRankingChoices.length === 0 ? (i(), a("div", {
|
|
2152
2152
|
key: 0,
|
|
2153
2153
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
2154
2154
|
}, [
|
|
2155
|
-
|
|
2155
|
+
c(d, {
|
|
2156
2156
|
is: "survey-string",
|
|
2157
2157
|
locString: o.question.locSelectToRankEmptyUnrankedAreaText
|
|
2158
2158
|
}, null, 8, ["locString"])
|
|
@@ -2237,7 +2237,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2237
2237
|
}, null, 8, F1)
|
|
2238
2238
|
]))
|
|
2239
2239
|
], 2)),
|
|
2240
|
-
|
|
2240
|
+
c(d, {
|
|
2241
2241
|
is: s.question.itemComponent,
|
|
2242
2242
|
item: s.item,
|
|
2243
2243
|
cssClasses: s.question.cssClasses
|
|
@@ -2257,7 +2257,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2257
2257
|
return (e, n) => (i(), a("div", {
|
|
2258
2258
|
class: l(e.cssClasses.controlLabel)
|
|
2259
2259
|
}, [
|
|
2260
|
-
|
|
2260
|
+
c(d, {
|
|
2261
2261
|
is: "survey-string",
|
|
2262
2262
|
locString: e.item.locText
|
|
2263
2263
|
}, null, 8, ["locString"])
|
|
@@ -2295,12 +2295,12 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2295
2295
|
key: 0,
|
|
2296
2296
|
class: l(t.question.cssClasses.minText)
|
|
2297
2297
|
}, [
|
|
2298
|
-
|
|
2298
|
+
c(d, {
|
|
2299
2299
|
is: "survey-string",
|
|
2300
2300
|
locString: t.question.locMinRateDescription
|
|
2301
2301
|
}, null, 8, ["locString"])
|
|
2302
2302
|
], 2)) : p("", !0),
|
|
2303
|
-
(i(!0), a(H, null, V(t.question.renderedRateItems, (r, m) => (i(),
|
|
2303
|
+
(i(!0), a(H, null, V(t.question.renderedRateItems, (r, m) => (i(), g(d, {
|
|
2304
2304
|
key: s(m),
|
|
2305
2305
|
is: t.question.itemComponent,
|
|
2306
2306
|
item: r,
|
|
@@ -2311,7 +2311,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2311
2311
|
key: 1,
|
|
2312
2312
|
class: l(t.question.cssClasses.maxText)
|
|
2313
2313
|
}, [
|
|
2314
|
-
|
|
2314
|
+
c(d, {
|
|
2315
2315
|
is: "survey-string",
|
|
2316
2316
|
locString: t.question.locMaxRateDescription
|
|
2317
2317
|
}, null, 8, ["locString"])
|
|
@@ -2348,7 +2348,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2348
2348
|
class: l(n.question.cssClasses.itemText),
|
|
2349
2349
|
"data-text": n.item.text
|
|
2350
2350
|
}, [
|
|
2351
|
-
|
|
2351
|
+
c(d, {
|
|
2352
2352
|
is: "survey-string",
|
|
2353
2353
|
locString: n.item.locText
|
|
2354
2354
|
}, null, 8, ["locString"])
|
|
@@ -2384,7 +2384,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2384
2384
|
onClick: s[0] || (s[0] = (t) => n.question.setValueFromClick(t.target.value)),
|
|
2385
2385
|
"aria-label": n.question.ariaLabel
|
|
2386
2386
|
}, null, 8, Y1),
|
|
2387
|
-
|
|
2387
|
+
c(d, {
|
|
2388
2388
|
is: "sv-svg-icon",
|
|
2389
2389
|
iconName: n.question.getItemSmileyIconName(n.item.itemValue),
|
|
2390
2390
|
size: "auto"
|
|
@@ -2419,13 +2419,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2419
2419
|
onClick: s[0] || (s[0] = (t) => n.question.setValueFromClick((t == null ? void 0 : t.target).value)),
|
|
2420
2420
|
"aria-label": n.question.ariaLabel
|
|
2421
2421
|
}, null, 8, en),
|
|
2422
|
-
|
|
2422
|
+
c(d, {
|
|
2423
2423
|
is: "sv-svg-icon",
|
|
2424
2424
|
class: l("sv-star"),
|
|
2425
2425
|
iconName: n.question.itemStarIcon,
|
|
2426
2426
|
size: "auto"
|
|
2427
2427
|
}, null, 8, ["iconName"]),
|
|
2428
|
-
|
|
2428
|
+
c(d, {
|
|
2429
2429
|
is: "sv-svg-icon",
|
|
2430
2430
|
class: l("sv-star-2"),
|
|
2431
2431
|
iconName: n.question.itemStarIconAlt,
|
|
@@ -2447,7 +2447,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2447
2447
|
return I(() => e.item), (n, s) => (i(), a("div", nn, [
|
|
2448
2448
|
v("span", tn, M(n.item.title), 1),
|
|
2449
2449
|
n.item.description ? (i(), a("div", on, [
|
|
2450
|
-
|
|
2450
|
+
c(d, {
|
|
2451
2451
|
is: "survey-string",
|
|
2452
2452
|
locString: n.item.description
|
|
2453
2453
|
}, null, 8, ["locString"])
|
|
@@ -2473,7 +2473,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2473
2473
|
ref_key: "root",
|
|
2474
2474
|
ref: n
|
|
2475
2475
|
}, [
|
|
2476
|
-
|
|
2476
|
+
c(d, {
|
|
2477
2477
|
is: "sv-dropdown",
|
|
2478
2478
|
question: s.question
|
|
2479
2479
|
}, null, 8, ["question"])
|
|
@@ -2529,7 +2529,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2529
2529
|
v("span", {
|
|
2530
2530
|
class: l(o.question.getLabelCss(o.question.swapOrder))
|
|
2531
2531
|
}, [
|
|
2532
|
-
|
|
2532
|
+
c(d, {
|
|
2533
2533
|
is: "survey-string",
|
|
2534
2534
|
locString: o.question.locLabelLeft
|
|
2535
2535
|
}, null, 8, ["locString"])
|
|
@@ -2546,7 +2546,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2546
2546
|
key: 0,
|
|
2547
2547
|
class: l(o.question.cssClasses.sliderText)
|
|
2548
2548
|
}, [
|
|
2549
|
-
|
|
2549
|
+
c(d, {
|
|
2550
2550
|
is: "survey-string",
|
|
2551
2551
|
locString: o.question.getCheckedLabel()
|
|
2552
2552
|
}, null, 8, ["locString"])
|
|
@@ -2560,7 +2560,7 @@ const ln = /* @__PURE__ */ y({
|
|
|
2560
2560
|
v("span", {
|
|
2561
2561
|
class: l(o.question.getLabelCss(!o.question.swapOrder))
|
|
2562
2562
|
}, [
|
|
2563
|
-
|
|
2563
|
+
c(d, {
|
|
2564
2564
|
is: "survey-string",
|
|
2565
2565
|
locString: o.question.locLabelRight
|
|
2566
2566
|
}, null, 8, ["locString"])
|
|
@@ -2592,21 +2592,21 @@ const dn = /* @__PURE__ */ y({
|
|
|
2592
2592
|
role: "presentation",
|
|
2593
2593
|
class: l(s.question.cssClasses.radioFieldset)
|
|
2594
2594
|
}, [
|
|
2595
|
-
s.question.swapOrder ? (i(),
|
|
2595
|
+
s.question.swapOrder ? (i(), g(d, {
|
|
2596
2596
|
is: "sv-boolean-radio-item",
|
|
2597
2597
|
key: "true",
|
|
2598
2598
|
question: s.question,
|
|
2599
2599
|
locText: s.question.locLabelTrue,
|
|
2600
2600
|
value: s.question.getValueTrue()
|
|
2601
2601
|
}, null, 8, ["question", "locText", "value"])) : p("", !0),
|
|
2602
|
-
(i(),
|
|
2602
|
+
(i(), g(d, {
|
|
2603
2603
|
is: "sv-boolean-radio-item",
|
|
2604
2604
|
key: "false",
|
|
2605
2605
|
question: s.question,
|
|
2606
2606
|
locText: s.question.locLabelFalse,
|
|
2607
2607
|
value: s.question.getValueFalse()
|
|
2608
2608
|
}, null, 8, ["question", "locText", "value"])),
|
|
2609
|
-
s.question.swapOrder ? p("", !0) : (i(),
|
|
2609
|
+
s.question.swapOrder ? p("", !0) : (i(), g(d, {
|
|
2610
2610
|
is: "sv-boolean-radio-item",
|
|
2611
2611
|
key: "true",
|
|
2612
2612
|
question: s.question,
|
|
@@ -2662,7 +2662,7 @@ const dn = /* @__PURE__ */ y({
|
|
|
2662
2662
|
v("span", {
|
|
2663
2663
|
class: l(s.question.cssClasses.radioControlLabel)
|
|
2664
2664
|
}, [
|
|
2665
|
-
|
|
2665
|
+
c(d, {
|
|
2666
2666
|
is: "survey-string",
|
|
2667
2667
|
locString: s.locText
|
|
2668
2668
|
}, null, 8, ["locString"])
|
|
@@ -2733,13 +2733,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
2733
2733
|
id: s.question.labelRenderedAriaID,
|
|
2734
2734
|
class: l(s.question.cssClasses.checkboxControlLabel)
|
|
2735
2735
|
}, [
|
|
2736
|
-
s.question.hasTitleActions ? p("", !0) : (i(),
|
|
2736
|
+
s.question.hasTitleActions ? p("", !0) : (i(), g(d, {
|
|
2737
2737
|
key: 0,
|
|
2738
2738
|
is: "survey-element-title-content",
|
|
2739
2739
|
element: s.question,
|
|
2740
2740
|
css: s.css
|
|
2741
2741
|
}, null, 8, ["element", "css"])),
|
|
2742
|
-
s.question.hasTitleActions ? (i(),
|
|
2742
|
+
s.question.hasTitleActions ? (i(), g(d, {
|
|
2743
2743
|
key: 1,
|
|
2744
2744
|
is: "sv-title-actions",
|
|
2745
2745
|
element: s.question,
|
|
@@ -2752,7 +2752,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2752
2752
|
class: l(s.question.cssDescription),
|
|
2753
2753
|
id: s.question.ariaDescriptionId
|
|
2754
2754
|
}, [
|
|
2755
|
-
|
|
2755
|
+
c(d, {
|
|
2756
2756
|
is: "survey-string",
|
|
2757
2757
|
locString: s.question.locDescription
|
|
2758
2758
|
}, null, 8, ["locString"])
|
|
@@ -2774,7 +2774,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2774
2774
|
ref: n
|
|
2775
2775
|
}, [
|
|
2776
2776
|
v("tbody", null, [
|
|
2777
|
-
(i(!0), a(H, null, V(s.question.getRows(), (o, r) => (i(),
|
|
2777
|
+
(i(!0), a(H, null, V(s.question.getRows(), (o, r) => (i(), g(d, {
|
|
2778
2778
|
key: s.question.inputId + "rowkey" + r,
|
|
2779
2779
|
is: "sv-multipletext-row",
|
|
2780
2780
|
question: s.question,
|
|
@@ -2799,7 +2799,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2799
2799
|
key: "item" + t.item.editor.id,
|
|
2800
2800
|
class: l(t.className)
|
|
2801
2801
|
}, [
|
|
2802
|
-
|
|
2802
|
+
c(d, {
|
|
2803
2803
|
is: "survey-multipletext-item",
|
|
2804
2804
|
question: n.question,
|
|
2805
2805
|
cell: t
|
|
@@ -2817,7 +2817,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2817
2817
|
const e = u, n = (t) => ne(t);
|
|
2818
2818
|
I(() => e.cell.item.editor);
|
|
2819
2819
|
const s = f(() => e.cell.item);
|
|
2820
|
-
return (t, o) => t.cell.isErrorsCell ? (i(),
|
|
2820
|
+
return (t, o) => t.cell.isErrorsCell ? (i(), g(d, {
|
|
2821
2821
|
key: 1,
|
|
2822
2822
|
is: "survey-errors",
|
|
2823
2823
|
element: s.value.editor
|
|
@@ -2837,7 +2837,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2837
2837
|
class: l(t.question.cssClasses.requiredMark)
|
|
2838
2838
|
}, M(s.value.editor.requiredMark), 3)) : p("", !0),
|
|
2839
2839
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (i(), a("span", Ln, " ")) : p("", !0),
|
|
2840
|
-
|
|
2840
|
+
c(d, {
|
|
2841
2841
|
is: "survey-string",
|
|
2842
2842
|
locString: s.value.locTitle
|
|
2843
2843
|
}, null, 8, ["locString"]),
|
|
@@ -2853,7 +2853,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2853
2853
|
class: l(t.question.getItemCss()),
|
|
2854
2854
|
onFocusin: o[0] || (o[0] = (r) => s.value.focusIn())
|
|
2855
2855
|
}, [
|
|
2856
|
-
|
|
2856
|
+
c(d, {
|
|
2857
2857
|
is: n(s.value.editor),
|
|
2858
2858
|
question: s.value.editor
|
|
2859
2859
|
}, null, 8, ["is", "question"])
|
|
@@ -2876,14 +2876,14 @@ const qn = /* @__PURE__ */ y({
|
|
|
2876
2876
|
(i(!0), a(H, null, V(n.model.actions, (t, o) => (i(), a(H, {
|
|
2877
2877
|
key: t.renderedId
|
|
2878
2878
|
}, [
|
|
2879
|
-
o ? (i(),
|
|
2879
|
+
o ? (i(), g(d, {
|
|
2880
2880
|
key: 0,
|
|
2881
2881
|
is: "sv-svg-icon",
|
|
2882
2882
|
class: l(n.css.breadcrumbsSeparator),
|
|
2883
2883
|
iconName: "arrowright-16x16",
|
|
2884
2884
|
size: "auto"
|
|
2885
2885
|
}, null, 8, ["class"])) : p("", !0),
|
|
2886
|
-
|
|
2886
|
+
c(d, {
|
|
2887
2887
|
is: "sv-action",
|
|
2888
2888
|
item: t
|
|
2889
2889
|
}, null, 8, ["item"])
|
|
@@ -2899,13 +2899,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
2899
2899
|
setup(u) {
|
|
2900
2900
|
const e = u, n = f(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = f(() => W.Instance.isComponentRegistered(n.value));
|
|
2901
2901
|
return (t, o) => t.summary.isEmpty() ? (i(), a("div", Vn, [
|
|
2902
|
-
s.value ? (i(),
|
|
2902
|
+
s.value ? (i(), g(d, {
|
|
2903
2903
|
key: 0,
|
|
2904
2904
|
is: "survey-placeholder-" + t.summary.question.getTemplate(),
|
|
2905
2905
|
cssClasses: t.css,
|
|
2906
2906
|
question: t.summary.question
|
|
2907
2907
|
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div", Sn, [
|
|
2908
|
-
|
|
2908
|
+
c(d, {
|
|
2909
2909
|
is: "survey-string",
|
|
2910
2910
|
locString: t.summary.noEntry
|
|
2911
2911
|
}, null, 8, ["locString"])
|
|
@@ -2921,7 +2921,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2921
2921
|
v("div", {
|
|
2922
2922
|
class: l(t.css.summaryRowContent)
|
|
2923
2923
|
}, [
|
|
2924
|
-
|
|
2924
|
+
c(d, {
|
|
2925
2925
|
is: "survey-string",
|
|
2926
2926
|
locString: r.locText
|
|
2927
2927
|
}, null, 8, ["locString"])
|
|
@@ -2932,10 +2932,10 @@ const qn = /* @__PURE__ */ y({
|
|
|
2932
2932
|
r.btnEdit ? (i(), a("button", {
|
|
2933
2933
|
key: 0,
|
|
2934
2934
|
class: l(t.css.summaryRowActionEdit),
|
|
2935
|
-
onClick: (
|
|
2935
|
+
onClick: (C) => r.btnEdit.action(),
|
|
2936
2936
|
title: r.btnEdit.title
|
|
2937
2937
|
}, [
|
|
2938
|
-
|
|
2938
|
+
c(d, {
|
|
2939
2939
|
is: "sv-svg-icon",
|
|
2940
2940
|
iconName: "icon-editsmall-16x16",
|
|
2941
2941
|
size: "auto"
|
|
@@ -2944,10 +2944,10 @@ const qn = /* @__PURE__ */ y({
|
|
|
2944
2944
|
r.showRemove && r.btnRemove ? (i(), a("button", {
|
|
2945
2945
|
key: 1,
|
|
2946
2946
|
class: l(t.css.summaryRowActionDelete),
|
|
2947
|
-
onClick: (
|
|
2947
|
+
onClick: (C) => r.btnRemove.action(),
|
|
2948
2948
|
title: r.btnRemove.title
|
|
2949
2949
|
}, [
|
|
2950
|
-
|
|
2950
|
+
c(d, {
|
|
2951
2951
|
is: "sv-svg-icon",
|
|
2952
2952
|
iconName: "icon-delete-16x16",
|
|
2953
2953
|
size: "auto"
|
|
@@ -3026,20 +3026,20 @@ const qn = /* @__PURE__ */ y({
|
|
|
3026
3026
|
max: t.question.max,
|
|
3027
3027
|
step: t.question.step,
|
|
3028
3028
|
disabled: t.question.isDisabledAttr,
|
|
3029
|
-
onInput: (
|
|
3030
|
-
t.question.handleOnChange(
|
|
3029
|
+
onInput: (C) => {
|
|
3030
|
+
t.question.handleOnChange(C, m);
|
|
3031
3031
|
},
|
|
3032
|
-
onPointerdown: o[3] || (o[3] = (
|
|
3033
|
-
t.question.handlePointerDown(
|
|
3032
|
+
onPointerdown: o[3] || (o[3] = (C) => {
|
|
3033
|
+
t.question.handlePointerDown(C);
|
|
3034
3034
|
}),
|
|
3035
|
-
onPointerup: o[4] || (o[4] = (
|
|
3036
|
-
|
|
3035
|
+
onPointerup: o[4] || (o[4] = (C) => {
|
|
3036
|
+
C.stopPropagation(), t.question.handlePointerUp(C);
|
|
3037
3037
|
}),
|
|
3038
|
-
onKeydown: o[5] || (o[5] = (
|
|
3039
|
-
t.question.handleKeyDown(
|
|
3038
|
+
onKeydown: o[5] || (o[5] = (C) => {
|
|
3039
|
+
t.question.handleKeyDown(C);
|
|
3040
3040
|
}),
|
|
3041
|
-
onKeyup: o[6] || (o[6] = (
|
|
3042
|
-
t.question.handleKeyUp(
|
|
3041
|
+
onKeyup: o[6] || (o[6] = (C) => {
|
|
3042
|
+
t.question.handleKeyUp(C);
|
|
3043
3043
|
}),
|
|
3044
3044
|
onFocus: () => {
|
|
3045
3045
|
t.question.handleOnFocus(m);
|
|
@@ -3086,7 +3086,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3086
3086
|
class: l(t.question.cssClasses.labelsContainer)
|
|
3087
3087
|
}, [
|
|
3088
3088
|
v("div", null, [
|
|
3089
|
-
(i(!0), a(H, null, V(t.question.renderedLabels, (r) => (i(),
|
|
3089
|
+
(i(!0), a(H, null, V(t.question.renderedLabels, (r) => (i(), g(d, {
|
|
3090
3090
|
key: r.id,
|
|
3091
3091
|
is: "sv-slider-label-item",
|
|
3092
3092
|
item: r,
|
|
@@ -3117,7 +3117,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3117
3117
|
v("div", {
|
|
3118
3118
|
class: l(n.question.cssClasses.labelText)
|
|
3119
3119
|
}, [
|
|
3120
|
-
|
|
3120
|
+
c(d, {
|
|
3121
3121
|
is: "survey-string",
|
|
3122
3122
|
locString: n.item.locText
|
|
3123
3123
|
}, null, 8, ["locString"])
|
|
@@ -3169,12 +3169,12 @@ const qn = /* @__PURE__ */ y({
|
|
|
3169
3169
|
width: t.question.columnMinWidth
|
|
3170
3170
|
})
|
|
3171
3171
|
}, [
|
|
3172
|
-
|
|
3172
|
+
c(d, {
|
|
3173
3173
|
is: t.question.getColumnHeaderWrapperComponentName(r),
|
|
3174
3174
|
componentData: t.question.getColumnHeaderWrapperComponentData(r)
|
|
3175
3175
|
}, {
|
|
3176
3176
|
default: D(() => [
|
|
3177
|
-
|
|
3177
|
+
c(d, {
|
|
3178
3178
|
is: "survey-string",
|
|
3179
3179
|
locString: r.locText
|
|
3180
3180
|
}, null, 8, ["locString"])
|
|
@@ -3185,7 +3185,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3185
3185
|
])
|
|
3186
3186
|
])) : p("", !0),
|
|
3187
3187
|
v("tbody", null, [
|
|
3188
|
-
(i(!0), a(H, null, V(s.value, (r, m) => (i(),
|
|
3188
|
+
(i(!0), a(H, null, V(s.value, (r, m) => (i(), g(d, {
|
|
3189
3189
|
key: "row_" + r.name + "_" + m,
|
|
3190
3190
|
is: "sv-matrix-row",
|
|
3191
3191
|
question: t.question,
|
|
@@ -3223,7 +3223,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3223
3223
|
ref_key: "root",
|
|
3224
3224
|
ref: n
|
|
3225
3225
|
}, [
|
|
3226
|
-
(i(!0), a(H, null, V(t.row.cells, (r) => (i(),
|
|
3226
|
+
(i(!0), a(H, null, V(t.row.cells, (r) => (i(), g(d, {
|
|
3227
3227
|
is: "survey-matrixdropdown-cell",
|
|
3228
3228
|
cell: r,
|
|
3229
3229
|
question: t.question,
|
|
@@ -3280,7 +3280,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3280
3280
|
key: 0,
|
|
3281
3281
|
class: l(t.question.cssClasses.cellResponsiveTitle)
|
|
3282
3282
|
}, [
|
|
3283
|
-
|
|
3283
|
+
c(d, {
|
|
3284
3284
|
is: "survey-string",
|
|
3285
3285
|
locString: t.column.locText
|
|
3286
3286
|
}, null, 8, ["locString"])
|
|
@@ -3295,7 +3295,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3295
3295
|
},
|
|
3296
3296
|
setup(u) {
|
|
3297
3297
|
const e = u, n = k(null);
|
|
3298
|
-
return R(e, n), (s, t) => (i(),
|
|
3298
|
+
return R(e, n), (s, t) => (i(), g(d, {
|
|
3299
3299
|
is: "survey-matrixtable",
|
|
3300
3300
|
question: s.question,
|
|
3301
3301
|
ref_key: "root",
|
|
@@ -3325,16 +3325,16 @@ const qn = /* @__PURE__ */ y({
|
|
|
3325
3325
|
class: l(o.className),
|
|
3326
3326
|
style: L({ minWidth: o.minWidth, width: o.width })
|
|
3327
3327
|
}, [
|
|
3328
|
-
|
|
3328
|
+
c(d, {
|
|
3329
3329
|
is: s.question.getColumnHeaderWrapperComponentName(o),
|
|
3330
3330
|
componentData: s.question.getColumnHeaderWrapperComponentData(o)
|
|
3331
3331
|
}, {
|
|
3332
3332
|
default: D(() => [
|
|
3333
|
-
|
|
3333
|
+
c(d, {
|
|
3334
3334
|
is: "survey-string",
|
|
3335
3335
|
locString: o.locTitle
|
|
3336
3336
|
}, null, 8, ["locString"]),
|
|
3337
|
-
o.column ? (i(),
|
|
3337
|
+
o.column ? (i(), g(d, {
|
|
3338
3338
|
key: 0,
|
|
3339
3339
|
is: "survey-matrixheaderrequired",
|
|
3340
3340
|
column: o.column,
|
|
@@ -3353,7 +3353,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3353
3353
|
])
|
|
3354
3354
|
])) : p("", !0),
|
|
3355
3355
|
v("tbody", null, [
|
|
3356
|
-
(i(!0), a(H, null, V(n.value.renderedRows, (o) => (i(),
|
|
3356
|
+
(i(!0), a(H, null, V(n.value.renderedRows, (o) => (i(), g(d, {
|
|
3357
3357
|
key: s.question.inputId + "_" + o.id,
|
|
3358
3358
|
is: "survey-matrix-row",
|
|
3359
3359
|
row: o,
|
|
@@ -3362,7 +3362,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3362
3362
|
]),
|
|
3363
3363
|
n.value.showFooter ? (i(), a("tfoot", Gn, [
|
|
3364
3364
|
v("tr", null, [
|
|
3365
|
-
(i(!0), a(H, null, V(n.value.footerRow.cells, (o, r) => (i(),
|
|
3365
|
+
(i(!0), a(H, null, V(n.value.footerRow.cells, (o, r) => (i(), g(d, {
|
|
3366
3366
|
is: "survey-matrixdropdown-cell",
|
|
3367
3367
|
cell: o,
|
|
3368
3368
|
question: s.question,
|
|
@@ -3416,7 +3416,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3416
3416
|
};
|
|
3417
3417
|
e.question.survey.matrixAfterCellRender(b), q && q.afterRenderCore(h);
|
|
3418
3418
|
});
|
|
3419
|
-
const
|
|
3419
|
+
const C = f(() => {
|
|
3420
3420
|
const h = e.cell;
|
|
3421
3421
|
if (h.hasPanel) {
|
|
3422
3422
|
const q = h.panel, b = q.survey;
|
|
@@ -3451,35 +3451,35 @@ const qn = /* @__PURE__ */ y({
|
|
|
3451
3451
|
ref_key: "root",
|
|
3452
3452
|
ref: s
|
|
3453
3453
|
}, [
|
|
3454
|
-
h.cell.isErrorsCell ? (i(),
|
|
3454
|
+
h.cell.isErrorsCell ? (i(), g(d, {
|
|
3455
3455
|
key: 0,
|
|
3456
3456
|
is: "survey-errors",
|
|
3457
3457
|
element: h.cell.question
|
|
3458
3458
|
}, null, 8, ["element"])) : p("", !0),
|
|
3459
|
-
h.cell.isDragHandlerCell ? (i(),
|
|
3459
|
+
h.cell.isDragHandlerCell ? (i(), g(d, {
|
|
3460
3460
|
key: 1,
|
|
3461
3461
|
is: "sv-matrix-drag-drop-icon",
|
|
3462
3462
|
item: { data: { row: h.cell.row, question: h.question } }
|
|
3463
3463
|
}, null, 8, ["item"])) : p("", !0),
|
|
3464
|
-
h.cell.isActionsCell ? (i(),
|
|
3464
|
+
h.cell.isActionsCell ? (i(), g(d, {
|
|
3465
3465
|
key: 2,
|
|
3466
3466
|
is: "sv-action-bar",
|
|
3467
3467
|
model: h.cell.item.getData(),
|
|
3468
3468
|
handleClick: !1
|
|
3469
3469
|
}, null, 8, ["model"])) : p("", !0),
|
|
3470
|
-
h.cell.hasPanel ? (i(),
|
|
3470
|
+
h.cell.hasPanel ? (i(), g(d, $({
|
|
3471
3471
|
key: 3,
|
|
3472
|
-
is:
|
|
3472
|
+
is: C.value
|
|
3473
3473
|
}, S.value), null, 16, ["is"])) : p("", !0),
|
|
3474
3474
|
h.cell.showResponsiveTitle ? (i(), a("span", {
|
|
3475
3475
|
key: 4,
|
|
3476
3476
|
class: l(h.cell.responsiveTitleCss)
|
|
3477
3477
|
}, [
|
|
3478
|
-
|
|
3478
|
+
c(d, {
|
|
3479
3479
|
is: "survey-string",
|
|
3480
3480
|
locString: h.cell.responsiveLocTitle
|
|
3481
3481
|
}, null, 8, ["locString"]),
|
|
3482
|
-
|
|
3482
|
+
c(d, {
|
|
3483
3483
|
is: "survey-matrixheaderrequired",
|
|
3484
3484
|
column: h.cell.column,
|
|
3485
3485
|
question: h.cell.matrix
|
|
@@ -3489,31 +3489,31 @@ const qn = /* @__PURE__ */ y({
|
|
|
3489
3489
|
key: 5,
|
|
3490
3490
|
class: l(h.cell.cellQuestionWrapperClassName)
|
|
3491
3491
|
}, [
|
|
3492
|
-
!h.cell.isChoice && h.cell.question.isDefaultRendering() ? (i(),
|
|
3492
|
+
!h.cell.isChoice && h.cell.question.isDefaultRendering() ? (i(), g(d, {
|
|
3493
3493
|
key: 0,
|
|
3494
3494
|
is: h.question.getCellWrapperComponentName(h.cell.cell),
|
|
3495
3495
|
componentData: h.question.getCellWrapperComponentData(h.cell.cell)
|
|
3496
3496
|
}, {
|
|
3497
3497
|
default: D(() => [
|
|
3498
|
-
|
|
3498
|
+
c(d, {
|
|
3499
3499
|
is: m(h.cell.question),
|
|
3500
3500
|
question: h.cell.question
|
|
3501
3501
|
}, null, 8, ["is", "question"])
|
|
3502
3502
|
]),
|
|
3503
3503
|
_: 1
|
|
3504
3504
|
}, 8, ["is", "componentData"])) : p("", !0),
|
|
3505
|
-
!h.cell.isChoice && !h.cell.question.isDefaultRendering() ? (i(),
|
|
3505
|
+
!h.cell.isChoice && !h.cell.question.isDefaultRendering() ? (i(), g(d, {
|
|
3506
3506
|
key: 1,
|
|
3507
3507
|
is: h.cell.question.getComponentName(),
|
|
3508
3508
|
question: h.cell.question
|
|
3509
3509
|
}, null, 8, ["is", "question"])) : p("", !0),
|
|
3510
|
-
h.cell.isItemChoice ? (i(),
|
|
3510
|
+
h.cell.isItemChoice ? (i(), g(d, {
|
|
3511
3511
|
key: 2,
|
|
3512
3512
|
is: h.question.getCellWrapperComponentName(h.cell.cell),
|
|
3513
3513
|
componentData: h.question.getCellWrapperComponentData(h.cell.cell)
|
|
3514
3514
|
}, {
|
|
3515
3515
|
default: D(() => [
|
|
3516
|
-
h.cell.isRadio ? (i(),
|
|
3516
|
+
h.cell.isRadio ? (i(), g(d, {
|
|
3517
3517
|
is: "survey-radiogroup-item",
|
|
3518
3518
|
key: h.cell.item.value,
|
|
3519
3519
|
question: h.cell.question,
|
|
@@ -3521,7 +3521,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3521
3521
|
hideLabel: !0,
|
|
3522
3522
|
ariaLabel: o()
|
|
3523
3523
|
}, null, 8, ["question", "item", "ariaLabel"])) : p("", !0),
|
|
3524
|
-
h.cell.isCheckbox ? (i(),
|
|
3524
|
+
h.cell.isCheckbox ? (i(), g(d, {
|
|
3525
3525
|
is: "survey-checkbox-item",
|
|
3526
3526
|
key: h.cell.item.value,
|
|
3527
3527
|
question: h.cell.question,
|
|
@@ -3532,7 +3532,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3532
3532
|
]),
|
|
3533
3533
|
_: 1
|
|
3534
3534
|
}, 8, ["is", "componentData"])) : p("", !0),
|
|
3535
|
-
h.cell.isOtherChoice ? (i(),
|
|
3535
|
+
h.cell.isOtherChoice ? (i(), g(d, {
|
|
3536
3536
|
key: 3,
|
|
3537
3537
|
is: "survey-other-choice",
|
|
3538
3538
|
question: h.cell.question,
|
|
@@ -3541,13 +3541,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
3541
3541
|
], 2)), [
|
|
3542
3542
|
[A, n.value]
|
|
3543
3543
|
]) : p("", !0),
|
|
3544
|
-
h.cell.hasTitle ? (i(),
|
|
3544
|
+
h.cell.hasTitle ? (i(), g(d, {
|
|
3545
3545
|
key: 6,
|
|
3546
3546
|
is: h.question.getCellWrapperComponentName(h.cell),
|
|
3547
3547
|
componentData: h.question.getCellWrapperComponentData(h.cell)
|
|
3548
3548
|
}, {
|
|
3549
3549
|
default: D(() => [
|
|
3550
|
-
h.cell.hasTitle ? (i(),
|
|
3550
|
+
h.cell.hasTitle ? (i(), g(d, {
|
|
3551
3551
|
key: 0,
|
|
3552
3552
|
is: "survey-string",
|
|
3553
3553
|
locString: h.cell.locTitle
|
|
@@ -3561,7 +3561,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3561
3561
|
}, 8, ["is", "componentData"])) : p("", !0)
|
|
3562
3562
|
], 46, _n)) : p("", !0);
|
|
3563
3563
|
}
|
|
3564
|
-
}), et = /* @__PURE__ */ y({
|
|
3564
|
+
}), et = { key: 0 }, st = ["xlink:href"], nt = { key: 0 }, tt = ["xlink:href"], ot = /* @__PURE__ */ y({
|
|
3565
3565
|
inheritAttrs: !1,
|
|
3566
3566
|
__name: "MatrixDynamic",
|
|
3567
3567
|
props: {
|
|
@@ -3586,20 +3586,26 @@ const qn = /* @__PURE__ */ y({
|
|
|
3586
3586
|
class: l(t.question.getAddRowButtonCss()),
|
|
3587
3587
|
onClick: s
|
|
3588
3588
|
}, [
|
|
3589
|
-
|
|
3589
|
+
c(d, {
|
|
3590
3590
|
is: "survey-string",
|
|
3591
3591
|
locString: t.question.locAddRowText
|
|
3592
3592
|
}, null, 8, ["locString"]),
|
|
3593
3593
|
v("span", {
|
|
3594
3594
|
class: l(t.question.cssClasses.iconAdd)
|
|
3595
|
-
},
|
|
3595
|
+
}, [
|
|
3596
|
+
t.question.cssClasses.iconAddId ? (i(), a("svg", et, [
|
|
3597
|
+
v("use", {
|
|
3598
|
+
"xlink:href": t.question.cssClasses.iconAddId
|
|
3599
|
+
}, null, 8, st)
|
|
3600
|
+
])) : p("", !0)
|
|
3601
|
+
], 2)
|
|
3596
3602
|
], 2)
|
|
3597
3603
|
], 2)) : p("", !0),
|
|
3598
|
-
t.question.renderedTable.showTable ? (i(),
|
|
3604
|
+
t.question.renderedTable.showTable ? (i(), g(d, {
|
|
3599
3605
|
key: 1,
|
|
3600
3606
|
is: "survey-matrixtable",
|
|
3601
3607
|
question: t.question
|
|
3602
|
-
}, null, 8, ["question"])) : (i(),
|
|
3608
|
+
}, null, 8, ["question"])) : (i(), g(d, {
|
|
3603
3609
|
key: 2,
|
|
3604
3610
|
is: "survey-placeholder-matrixdynamic",
|
|
3605
3611
|
question: t.question
|
|
@@ -3613,18 +3619,24 @@ const qn = /* @__PURE__ */ y({
|
|
|
3613
3619
|
class: l(t.question.getAddRowButtonCss()),
|
|
3614
3620
|
onClick: s
|
|
3615
3621
|
}, [
|
|
3616
|
-
|
|
3622
|
+
c(d, {
|
|
3617
3623
|
is: "survey-string",
|
|
3618
3624
|
locString: t.question.locAddRowText
|
|
3619
3625
|
}, null, 8, ["locString"]),
|
|
3620
3626
|
v("span", {
|
|
3621
3627
|
class: l(t.question.cssClasses.iconAdd)
|
|
3622
|
-
},
|
|
3628
|
+
}, [
|
|
3629
|
+
t.question.cssClasses.iconAddId ? (i(), a("svg", nt, [
|
|
3630
|
+
v("use", {
|
|
3631
|
+
"xlink:href": t.question.cssClasses.iconAddId
|
|
3632
|
+
}, null, 8, tt)
|
|
3633
|
+
])) : p("", !0)
|
|
3634
|
+
], 2)
|
|
3623
3635
|
], 2)
|
|
3624
3636
|
], 2)) : p("", !0)
|
|
3625
3637
|
], 512));
|
|
3626
3638
|
}
|
|
3627
|
-
}),
|
|
3639
|
+
}), it = /* @__PURE__ */ y({
|
|
3628
3640
|
__name: "MatrixDynamicPlaceholder",
|
|
3629
3641
|
props: {
|
|
3630
3642
|
question: {}
|
|
@@ -3639,7 +3651,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3639
3651
|
v("div", {
|
|
3640
3652
|
class: l(s.question.cssClasses.noRowsText)
|
|
3641
3653
|
}, [
|
|
3642
|
-
|
|
3654
|
+
c(d, {
|
|
3643
3655
|
is: "survey-string",
|
|
3644
3656
|
locString: s.question.locNoRowsText
|
|
3645
3657
|
}, null, 8, ["locString"])
|
|
@@ -3650,7 +3662,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3650
3662
|
class: l(s.question.getAddRowButtonCss(!0)),
|
|
3651
3663
|
onClick: n
|
|
3652
3664
|
}, [
|
|
3653
|
-
|
|
3665
|
+
c(d, {
|
|
3654
3666
|
is: "survey-string",
|
|
3655
3667
|
locString: s.question.locAddRowText
|
|
3656
3668
|
}, null, 8, ["locString"]),
|
|
@@ -3667,7 +3679,7 @@ function te(u, e = !0) {
|
|
|
3667
3679
|
row: e ? f(() => u.item.data.row) : void 0
|
|
3668
3680
|
};
|
|
3669
3681
|
}
|
|
3670
|
-
const
|
|
3682
|
+
const rt = ["disabled"], lt = /* @__PURE__ */ y({
|
|
3671
3683
|
__name: "RemoveButton",
|
|
3672
3684
|
props: {
|
|
3673
3685
|
item: {}
|
|
@@ -3680,16 +3692,16 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3680
3692
|
disabled: w(n).isInputReadOnly,
|
|
3681
3693
|
onClick: o[0] || (o[0] = () => w(n).removeRowUI(w(s)))
|
|
3682
3694
|
}, [
|
|
3683
|
-
|
|
3695
|
+
c(d, {
|
|
3684
3696
|
is: "survey-string",
|
|
3685
3697
|
locString: w(n).locRemoveRowText
|
|
3686
3698
|
}, null, 8, ["locString"]),
|
|
3687
3699
|
v("span", {
|
|
3688
3700
|
class: l(w(n).cssClasses.iconRemove)
|
|
3689
3701
|
}, null, 2)
|
|
3690
|
-
], 10,
|
|
3702
|
+
], 10, rt));
|
|
3691
3703
|
}
|
|
3692
|
-
}),
|
|
3704
|
+
}), at = ["xlink:href"], ut = /* @__PURE__ */ y({
|
|
3693
3705
|
__name: "DragDropIcon",
|
|
3694
3706
|
props: {
|
|
3695
3707
|
item: {}
|
|
@@ -3703,14 +3715,14 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3703
3715
|
}, [
|
|
3704
3716
|
v("use", {
|
|
3705
3717
|
"xlink:href": w(n).iconDragElement
|
|
3706
|
-
}, null, 8,
|
|
3718
|
+
}, null, 8, at)
|
|
3707
3719
|
], 2)) : (i(), a("span", {
|
|
3708
3720
|
key: 1,
|
|
3709
3721
|
class: l(w(n).cssClasses.iconDrag)
|
|
3710
3722
|
}, null, 2))
|
|
3711
3723
|
]));
|
|
3712
3724
|
}
|
|
3713
|
-
}),
|
|
3725
|
+
}), dt = ["title", "aria-expanded", "aria-controls"], mt = /* @__PURE__ */ y({
|
|
3714
3726
|
__name: "DetailButton",
|
|
3715
3727
|
props: {
|
|
3716
3728
|
item: {}
|
|
@@ -3725,15 +3737,15 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3725
3737
|
"aria-expanded": w(n).getIsDetailPanelShowing(w(s)) ? "true" : "false",
|
|
3726
3738
|
"aria-controls": w(n).getIsDetailPanelShowing(w(s)) ? w(s).detailPanelId : null
|
|
3727
3739
|
}, [
|
|
3728
|
-
|
|
3740
|
+
c(d, {
|
|
3729
3741
|
is: "sv-svg-icon",
|
|
3730
3742
|
class: l(w(n).getDetailPanelIconCss(w(s))),
|
|
3731
3743
|
iconName: w(n).getDetailPanelIconId(w(s)),
|
|
3732
3744
|
size: "auto"
|
|
3733
3745
|
}, null, 8, ["class", "iconName"])
|
|
3734
|
-
], 10,
|
|
3746
|
+
], 10, dt));
|
|
3735
3747
|
}
|
|
3736
|
-
}),
|
|
3748
|
+
}), pt = ["aria-label"], vt = /* @__PURE__ */ y({
|
|
3737
3749
|
inheritAttrs: !1,
|
|
3738
3750
|
__name: "PanelDynamic",
|
|
3739
3751
|
props: {
|
|
@@ -3774,12 +3786,12 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3774
3786
|
key: 0,
|
|
3775
3787
|
class: l(o.question.getTabsContainerCss())
|
|
3776
3788
|
}, [
|
|
3777
|
-
|
|
3789
|
+
c(d, {
|
|
3778
3790
|
is: "sv-action-bar",
|
|
3779
3791
|
model: o.question.tabbedMenu
|
|
3780
3792
|
}, null, 8, ["model"])
|
|
3781
3793
|
], 2)) : p("", !0),
|
|
3782
|
-
o.question.getShowNoEntriesPlaceholder() ? (i(),
|
|
3794
|
+
o.question.getShowNoEntriesPlaceholder() ? (i(), g(d, {
|
|
3783
3795
|
key: 1,
|
|
3784
3796
|
is: "survey-placeholder-paneldynamic",
|
|
3785
3797
|
question: o.question
|
|
@@ -3793,40 +3805,40 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3793
3805
|
style: L({ width: o.question.progress }),
|
|
3794
3806
|
role: "progressbar",
|
|
3795
3807
|
"aria-label": o.question.progressBarAriaLabel
|
|
3796
|
-
}, null, 14,
|
|
3808
|
+
}, null, 14, pt)
|
|
3797
3809
|
], 2)) : p("", !0),
|
|
3798
3810
|
v("div", {
|
|
3799
3811
|
class: l(o.question.cssClasses.panelsContainer)
|
|
3800
3812
|
}, [
|
|
3801
|
-
(i(!0), a(H, null, V(o.question.renderedPanels, (m,
|
|
3813
|
+
(i(!0), a(H, null, V(o.question.renderedPanels, (m, C) => (i(), a(H, {
|
|
3802
3814
|
key: m.id
|
|
3803
3815
|
}, [
|
|
3804
3816
|
v("div", {
|
|
3805
3817
|
class: l(o.question.getPanelWrapperCss(m))
|
|
3806
3818
|
}, [
|
|
3807
|
-
|
|
3819
|
+
c(d, $({
|
|
3808
3820
|
is: s(m)
|
|
3809
3821
|
}, t(m)), null, 16, ["is"]),
|
|
3810
|
-
o.question.canRenderRemovePanelOnRight(m) ? (i(),
|
|
3822
|
+
o.question.canRenderRemovePanelOnRight(m) ? (i(), g(d, {
|
|
3811
3823
|
key: 0,
|
|
3812
3824
|
is: "sv-paneldynamic-remove-btn",
|
|
3813
3825
|
data: { question: o.question, panel: m }
|
|
3814
3826
|
}, null, 8, ["data"])) : p("", !0)
|
|
3815
3827
|
], 2),
|
|
3816
|
-
o.question.isRenderModeList &&
|
|
3828
|
+
o.question.isRenderModeList && C < o.question.visiblePanelCount - 1 ? (i(), a("hr", {
|
|
3817
3829
|
class: l(o.question.cssClasses.separator),
|
|
3818
3830
|
key: "separator" + m.id
|
|
3819
3831
|
}, null, 2)) : p("", !0)
|
|
3820
3832
|
], 64))), 128))
|
|
3821
3833
|
], 2),
|
|
3822
|
-
o.question.showNavigation ? (i(),
|
|
3834
|
+
o.question.showNavigation ? (i(), g(d, {
|
|
3823
3835
|
key: 3,
|
|
3824
3836
|
is: "survey-paneldynamicprogress-v2",
|
|
3825
3837
|
question: o.question
|
|
3826
3838
|
}, null, 8, ["question"])) : p("", !0)
|
|
3827
3839
|
], 2));
|
|
3828
3840
|
}
|
|
3829
|
-
}),
|
|
3841
|
+
}), Ct = ["aria-label"], ct = /* @__PURE__ */ y({
|
|
3830
3842
|
__name: "PanelDynamicProgress",
|
|
3831
3843
|
props: {
|
|
3832
3844
|
question: {}
|
|
@@ -3843,7 +3855,7 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3843
3855
|
v("div", {
|
|
3844
3856
|
class: l(s.question.cssClasses.progressContainer)
|
|
3845
3857
|
}, [
|
|
3846
|
-
|
|
3858
|
+
c(d, {
|
|
3847
3859
|
is: "sv-paneldynamic-prev-btn",
|
|
3848
3860
|
data: { question: s.question }
|
|
3849
3861
|
}, null, 8, ["data"]),
|
|
@@ -3856,25 +3868,25 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3856
3868
|
style: L({ width: s.question.progress }),
|
|
3857
3869
|
role: "progressbar",
|
|
3858
3870
|
"aria-label": s.question.progressBarAriaLabel
|
|
3859
|
-
}, null, 14,
|
|
3871
|
+
}, null, 14, Ct)
|
|
3860
3872
|
], 2)) : p("", !0),
|
|
3861
|
-
|
|
3873
|
+
c(d, {
|
|
3862
3874
|
is: "sv-paneldynamic-next-btn",
|
|
3863
3875
|
data: { question: s.question }
|
|
3864
3876
|
}, null, 8, ["data"])
|
|
3865
3877
|
], 2),
|
|
3866
|
-
|
|
3878
|
+
c(d, {
|
|
3867
3879
|
is: "sv-paneldynamic-add-btn",
|
|
3868
3880
|
data: { question: s.question }
|
|
3869
3881
|
}, null, 8, ["data"]),
|
|
3870
|
-
|
|
3882
|
+
c(d, {
|
|
3871
3883
|
is: "sv-paneldynamic-progress-text",
|
|
3872
3884
|
data: { question: s.question }
|
|
3873
3885
|
}, null, 8, ["data"])
|
|
3874
3886
|
], 2)
|
|
3875
3887
|
], 2));
|
|
3876
3888
|
}
|
|
3877
|
-
}),
|
|
3889
|
+
}), gt = ["aria-label"], yt = /* @__PURE__ */ y({
|
|
3878
3890
|
__name: "PanelDynamicProgressV2",
|
|
3879
3891
|
props: {
|
|
3880
3892
|
question: {}
|
|
@@ -3896,20 +3908,20 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3896
3908
|
style: L({ width: e.question.progress }),
|
|
3897
3909
|
role: "progressbar",
|
|
3898
3910
|
"aria-label": e.question.progressBarAriaLabel
|
|
3899
|
-
}, null, 14,
|
|
3911
|
+
}, null, 14, gt)
|
|
3900
3912
|
], 2)) : p("", !0),
|
|
3901
3913
|
e.question.showFooterToolbar ? (i(), a("div", {
|
|
3902
3914
|
key: 1,
|
|
3903
3915
|
class: l(e.question.cssClasses.footerButtonsContainer)
|
|
3904
3916
|
}, [
|
|
3905
|
-
|
|
3917
|
+
c(d, {
|
|
3906
3918
|
is: "sv-action-bar",
|
|
3907
3919
|
model: e.question.footerToolbar
|
|
3908
3920
|
}, null, 8, ["model"])
|
|
3909
3921
|
], 2)) : p("", !0)
|
|
3910
3922
|
], 2)) : p("", !0);
|
|
3911
3923
|
}
|
|
3912
|
-
}),
|
|
3924
|
+
}), ht = /* @__PURE__ */ y({
|
|
3913
3925
|
__name: "PanelDynamicPlaceholder",
|
|
3914
3926
|
props: {
|
|
3915
3927
|
question: {}
|
|
@@ -3919,12 +3931,12 @@ const nt = ["disabled"], tt = /* @__PURE__ */ y({
|
|
|
3919
3931
|
class: l(e.question.cssClasses.noEntriesPlaceholder)
|
|
3920
3932
|
}, [
|
|
3921
3933
|
v("span", null, [
|
|
3922
|
-
|
|
3934
|
+
c(d, {
|
|
3923
3935
|
is: "survey-string",
|
|
3924
3936
|
locString: e.question.locNoEntriesText
|
|
3925
3937
|
}, null, 8, ["locString"])
|
|
3926
3938
|
]),
|
|
3927
|
-
|
|
3939
|
+
c(d, {
|
|
3928
3940
|
is: "sv-paneldynamic-add-btn",
|
|
3929
3941
|
data: { question: e.question }
|
|
3930
3942
|
}, null, 8, ["data"])
|
|
@@ -3936,7 +3948,7 @@ function Q(u) {
|
|
|
3936
3948
|
() => u.item && u.item.data.question || u.data.question
|
|
3937
3949
|
);
|
|
3938
3950
|
}
|
|
3939
|
-
const
|
|
3951
|
+
const qt = ["id"], wt = /* @__PURE__ */ y({
|
|
3940
3952
|
__name: "PaneldynamicAddBtn",
|
|
3941
3953
|
props: {
|
|
3942
3954
|
item: {},
|
|
@@ -3956,14 +3968,14 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
3956
3968
|
v("span", {
|
|
3957
3969
|
class: l(w(n).cssClasses.buttonAddText)
|
|
3958
3970
|
}, [
|
|
3959
|
-
|
|
3971
|
+
c(d, {
|
|
3960
3972
|
is: "survey-string",
|
|
3961
3973
|
locString: w(n).locAddPanelText
|
|
3962
3974
|
}, null, 8, ["locString"])
|
|
3963
3975
|
], 2)
|
|
3964
|
-
], 10,
|
|
3976
|
+
], 10, qt)) : p("", !0);
|
|
3965
3977
|
}
|
|
3966
|
-
}),
|
|
3978
|
+
}), bt = ["title"], Lt = /* @__PURE__ */ y({
|
|
3967
3979
|
__name: "PaneldynamicNextBtn",
|
|
3968
3980
|
props: {
|
|
3969
3981
|
item: {},
|
|
@@ -3978,14 +3990,14 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
3978
3990
|
onClick: s,
|
|
3979
3991
|
class: l(w(n).getNextButtonCss())
|
|
3980
3992
|
}, [
|
|
3981
|
-
|
|
3993
|
+
c(d, {
|
|
3982
3994
|
is: "sv-svg-icon",
|
|
3983
3995
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
3984
3996
|
size: "auto"
|
|
3985
3997
|
}, null, 8, ["iconName"])
|
|
3986
|
-
], 10,
|
|
3998
|
+
], 10, bt));
|
|
3987
3999
|
}
|
|
3988
|
-
}),
|
|
4000
|
+
}), kt = ["title"], ft = /* @__PURE__ */ y({
|
|
3989
4001
|
__name: "PaneldynamicPrevBtn",
|
|
3990
4002
|
props: {
|
|
3991
4003
|
item: {},
|
|
@@ -4000,14 +4012,14 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4000
4012
|
onClick: s,
|
|
4001
4013
|
class: l(w(n).getPrevButtonCss())
|
|
4002
4014
|
}, [
|
|
4003
|
-
|
|
4015
|
+
c(d, {
|
|
4004
4016
|
is: "sv-svg-icon",
|
|
4005
4017
|
iconName: w(n).cssClasses.progressBtnIcon,
|
|
4006
4018
|
size: "auto"
|
|
4007
4019
|
}, null, 8, ["iconName"])
|
|
4008
|
-
], 10,
|
|
4020
|
+
], 10, kt));
|
|
4009
4021
|
}
|
|
4010
|
-
}),
|
|
4022
|
+
}), Ht = ["id"], Mt = /* @__PURE__ */ y({
|
|
4011
4023
|
__name: "PaneldynamicRemoveBtn",
|
|
4012
4024
|
props: {
|
|
4013
4025
|
item: {},
|
|
@@ -4023,12 +4035,12 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4023
4035
|
type: "button",
|
|
4024
4036
|
id: t(s.value),
|
|
4025
4037
|
class: l(w(n).getPanelRemoveButtonCss()),
|
|
4026
|
-
onClick: m[0] || (m[0] = (
|
|
4038
|
+
onClick: m[0] || (m[0] = (C) => o(s.value))
|
|
4027
4039
|
}, [
|
|
4028
4040
|
v("span", {
|
|
4029
4041
|
class: l(w(n).cssClasses.buttonRemoveText)
|
|
4030
4042
|
}, [
|
|
4031
|
-
|
|
4043
|
+
c(d, {
|
|
4032
4044
|
is: "survey-string",
|
|
4033
4045
|
locString: w(n).locRemovePanelText
|
|
4034
4046
|
}, null, 8, ["locString"])
|
|
@@ -4036,9 +4048,9 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4036
4048
|
v("span", {
|
|
4037
4049
|
class: l(w(n).cssClasses.iconRemove)
|
|
4038
4050
|
}, null, 2)
|
|
4039
|
-
], 10,
|
|
4051
|
+
], 10, Ht));
|
|
4040
4052
|
}
|
|
4041
|
-
}),
|
|
4053
|
+
}), It = /* @__PURE__ */ y({
|
|
4042
4054
|
__name: "PaneldynamicProgressText",
|
|
4043
4055
|
props: {
|
|
4044
4056
|
item: {},
|
|
@@ -4050,7 +4062,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4050
4062
|
class: l(w(n).cssClasses.progressText)
|
|
4051
4063
|
}, M(w(n).progressText), 3));
|
|
4052
4064
|
}
|
|
4053
|
-
}),
|
|
4065
|
+
}), Vt = ["id"], St = /* @__PURE__ */ y({
|
|
4054
4066
|
__name: "Errors",
|
|
4055
4067
|
props: {
|
|
4056
4068
|
element: {},
|
|
@@ -4065,28 +4077,28 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4065
4077
|
ref_key: "root",
|
|
4066
4078
|
ref: e
|
|
4067
4079
|
}, [
|
|
4068
|
-
(i(!0), a(H, null, V(n.element.renderedErrors, (t, o) => (i(),
|
|
4080
|
+
(i(!0), a(H, null, V(n.element.renderedErrors, (t, o) => (i(), g(d, {
|
|
4069
4081
|
is: n.element.survey.questionErrorComponent,
|
|
4070
4082
|
element: n.element,
|
|
4071
4083
|
key: o,
|
|
4072
4084
|
error: t,
|
|
4073
4085
|
cssClasses: n.element.cssClasses
|
|
4074
4086
|
}, null, 8, ["is", "element", "error", "cssClasses"]))), 128))
|
|
4075
|
-
], 10,
|
|
4087
|
+
], 10, Vt)) : p("", !0);
|
|
4076
4088
|
}
|
|
4077
|
-
}),
|
|
4089
|
+
}), Rt = { key: 0 }, Tt = /* @__PURE__ */ y({
|
|
4078
4090
|
__name: "QuestionComment",
|
|
4079
4091
|
props: {
|
|
4080
4092
|
question: {}
|
|
4081
4093
|
},
|
|
4082
4094
|
setup(u) {
|
|
4083
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
4095
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div", Rt, M(e.question.comment), 1)) : (i(), g(d, {
|
|
4084
4096
|
key: 1,
|
|
4085
4097
|
is: "sv-text-area",
|
|
4086
4098
|
model: e.question.commentTextAreaModel
|
|
4087
4099
|
}, null, 8, ["model"]));
|
|
4088
4100
|
}
|
|
4089
|
-
}),
|
|
4101
|
+
}), Bt = /* @__PURE__ */ y({
|
|
4090
4102
|
__name: "TitleElement",
|
|
4091
4103
|
props: {
|
|
4092
4104
|
element: {},
|
|
@@ -4096,7 +4108,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4096
4108
|
const e = (n) => {
|
|
4097
4109
|
we(n);
|
|
4098
4110
|
};
|
|
4099
|
-
return (n, s) => n.element.hasTitle ? (i(),
|
|
4111
|
+
return (n, s) => n.element.hasTitle ? (i(), g(ye(n.element.titleTagName), {
|
|
4100
4112
|
key: 0,
|
|
4101
4113
|
class: l(n.element.cssTitle),
|
|
4102
4114
|
"aria-label": n.element.titleAriaLabel,
|
|
@@ -4109,27 +4121,27 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4109
4121
|
})
|
|
4110
4122
|
}, {
|
|
4111
4123
|
default: D(() => [
|
|
4112
|
-
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(),
|
|
4124
|
+
!n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), g(d, {
|
|
4113
4125
|
key: 0,
|
|
4114
4126
|
is: "sv-svg-icon",
|
|
4115
4127
|
class: l(n.element.getCssTitleExpandableSvg()),
|
|
4116
4128
|
iconName: "icon-expand-16x16",
|
|
4117
4129
|
size: "'auto'"
|
|
4118
4130
|
}, null, 8, ["class"])) : p("", !0),
|
|
4119
|
-
n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(),
|
|
4131
|
+
n.element.isExpanded && n.element.getCssTitleExpandableSvg() ? (i(), g(d, {
|
|
4120
4132
|
key: 1,
|
|
4121
4133
|
is: "sv-svg-icon",
|
|
4122
4134
|
class: l(n.element.getCssTitleExpandableSvg()),
|
|
4123
4135
|
iconName: "icon-collapse-16x16",
|
|
4124
4136
|
size: "'auto'"
|
|
4125
4137
|
}, null, 8, ["class"])) : p("", !0),
|
|
4126
|
-
n.element.hasTitleActions ? p("", !0) : (i(),
|
|
4138
|
+
n.element.hasTitleActions ? p("", !0) : (i(), g(d, {
|
|
4127
4139
|
key: 2,
|
|
4128
4140
|
is: "survey-element-title-content",
|
|
4129
4141
|
element: n.element,
|
|
4130
4142
|
css: n.css
|
|
4131
4143
|
}, null, 8, ["element", "css"])),
|
|
4132
|
-
n.element.hasTitleActions ? (i(),
|
|
4144
|
+
n.element.hasTitleActions ? (i(), g(d, {
|
|
4133
4145
|
key: 3,
|
|
4134
4146
|
is: "sv-title-actions",
|
|
4135
4147
|
element: n.element,
|
|
@@ -4139,7 +4151,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4139
4151
|
_: 1
|
|
4140
4152
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : p("", !0);
|
|
4141
4153
|
}
|
|
4142
|
-
}),
|
|
4154
|
+
}), Zt = { key: 2 }, $t = { key: 4 }, Dt = { key: 6 }, At = { key: 8 }, Pt = /* @__PURE__ */ y({
|
|
4143
4155
|
inheritAttrs: !1,
|
|
4144
4156
|
__name: "TitleContent",
|
|
4145
4157
|
props: {
|
|
@@ -4148,7 +4160,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4148
4160
|
},
|
|
4149
4161
|
setup(u) {
|
|
4150
4162
|
return (e, n) => (i(), a(H, null, [
|
|
4151
|
-
e.element.isTitleRenderedAsString ? (i(),
|
|
4163
|
+
e.element.isTitleRenderedAsString ? (i(), g(d, {
|
|
4152
4164
|
key: 0,
|
|
4153
4165
|
is: "survey-string",
|
|
4154
4166
|
locString: e.element.locRenderedTitle
|
|
@@ -4158,26 +4170,26 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4158
4170
|
class: l(e.element.cssRequiredMark),
|
|
4159
4171
|
"aria-hidden": !0
|
|
4160
4172
|
}, M(e.element.requiredMark), 3)) : p("", !0),
|
|
4161
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span",
|
|
4173
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (i(), a("span", Zt, " ")) : p("", !0),
|
|
4162
4174
|
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", {
|
|
4163
4175
|
key: 3,
|
|
4164
4176
|
style: { position: "static" },
|
|
4165
4177
|
class: l(e.element.cssTitleNumber),
|
|
4166
4178
|
"aria-hidden": !0
|
|
4167
4179
|
}, M(e.element.no), 3)) : p("", !0),
|
|
4168
|
-
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span",
|
|
4180
|
+
!e.element.isTitleRenderedAsString && e.element.no ? (i(), a("span", $t, " ")) : p("", !0),
|
|
4169
4181
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", {
|
|
4170
4182
|
key: 5,
|
|
4171
4183
|
class: l(e.element.cssRequiredMark),
|
|
4172
4184
|
"aria-hidden": !0
|
|
4173
4185
|
}, M(e.element.requiredMark), 3)) : p("", !0),
|
|
4174
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span",
|
|
4175
|
-
e.element.isTitleRenderedAsString ? p("", !0) : (i(),
|
|
4186
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (i(), a("span", Dt, " ")) : p("", !0),
|
|
4187
|
+
e.element.isTitleRenderedAsString ? p("", !0) : (i(), g(d, {
|
|
4176
4188
|
key: 7,
|
|
4177
4189
|
is: "survey-string",
|
|
4178
4190
|
locString: e.element.locRenderedTitle
|
|
4179
4191
|
}, null, 8, ["locString"])),
|
|
4180
|
-
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span",
|
|
4192
|
+
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", At, " ")) : p("", !0),
|
|
4181
4193
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextAfterTitle ? (i(), a("span", {
|
|
4182
4194
|
key: 9,
|
|
4183
4195
|
class: l(e.element.cssRequiredMark),
|
|
@@ -4185,7 +4197,7 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4185
4197
|
}, M(e.element.requiredMark), 3)) : p("", !0)
|
|
4186
4198
|
], 64));
|
|
4187
4199
|
}
|
|
4188
|
-
}),
|
|
4200
|
+
}), Nt = { class: "sv-title-actions" }, Et = { class: "sv-title-actions__title" }, Wt = /* @__PURE__ */ y({
|
|
4189
4201
|
__name: "TitleActions",
|
|
4190
4202
|
props: {
|
|
4191
4203
|
element: {},
|
|
@@ -4193,40 +4205,40 @@ const ct = ["id"], gt = /* @__PURE__ */ y({
|
|
|
4193
4205
|
},
|
|
4194
4206
|
setup(u) {
|
|
4195
4207
|
const e = u, n = f(() => e.element.getTitleToolbar());
|
|
4196
|
-
return (s, t) => (i(), a("div",
|
|
4197
|
-
v("span",
|
|
4198
|
-
s.element.isPage ? (i(),
|
|
4208
|
+
return (s, t) => (i(), a("div", Nt, [
|
|
4209
|
+
v("span", Et, [
|
|
4210
|
+
s.element.isPage ? (i(), g(d, {
|
|
4199
4211
|
key: 0,
|
|
4200
4212
|
is: "survey-string",
|
|
4201
4213
|
locString: s.element.locTitle
|
|
4202
4214
|
}, null, 8, ["locString"])) : p("", !0),
|
|
4203
|
-
s.element.isPage ? p("", !0) : (i(),
|
|
4215
|
+
s.element.isPage ? p("", !0) : (i(), g(d, {
|
|
4204
4216
|
key: 1,
|
|
4205
4217
|
is: "survey-element-title-content",
|
|
4206
4218
|
element: s.element,
|
|
4207
4219
|
css: s.css
|
|
4208
4220
|
}, null, 8, ["element", "css"]))
|
|
4209
4221
|
]),
|
|
4210
|
-
|
|
4222
|
+
c(d, {
|
|
4211
4223
|
is: "sv-action-bar",
|
|
4212
4224
|
model: n.value
|
|
4213
4225
|
}, null, 8, ["model"])
|
|
4214
4226
|
]));
|
|
4215
4227
|
}
|
|
4216
|
-
}),
|
|
4228
|
+
}), Ft = (u, e) => {
|
|
4217
4229
|
const n = u.__vccOpts || u;
|
|
4218
4230
|
for (const [s, t] of e)
|
|
4219
4231
|
n[s] = t;
|
|
4220
4232
|
return n;
|
|
4221
|
-
},
|
|
4222
|
-
|
|
4233
|
+
}, Ot = {}, zt = { class: "sv-brand-info" }, Ut = /* @__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), Qt = [
|
|
4234
|
+
Ut
|
|
4223
4235
|
];
|
|
4224
|
-
function
|
|
4225
|
-
return i(), a("div",
|
|
4236
|
+
function Kt(u, e) {
|
|
4237
|
+
return i(), a("div", zt, Qt);
|
|
4226
4238
|
}
|
|
4227
|
-
const
|
|
4228
|
-
|
|
4229
|
-
],
|
|
4239
|
+
const jt = /* @__PURE__ */ Ft(Ot, [["render", Kt]]), Gt = /* @__PURE__ */ v("use", null, null, -1), Jt = [
|
|
4240
|
+
Gt
|
|
4241
|
+
], Xt = /* @__PURE__ */ y({
|
|
4230
4242
|
__name: "SvgIcon",
|
|
4231
4243
|
props: {
|
|
4232
4244
|
size: {},
|
|
@@ -4255,9 +4267,9 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4255
4267
|
ref: n,
|
|
4256
4268
|
class: "sv-svg-icon",
|
|
4257
4269
|
role: "presentation"
|
|
4258
|
-
},
|
|
4270
|
+
}, Jt, 512));
|
|
4259
4271
|
}
|
|
4260
|
-
}),
|
|
4272
|
+
}), Yt = /* @__PURE__ */ y({
|
|
4261
4273
|
__name: "QuestionError",
|
|
4262
4274
|
props: {
|
|
4263
4275
|
error: {},
|
|
@@ -4277,14 +4289,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4277
4289
|
e.cssClasses ? e.cssClasses.error.item || void 0 : "panel-error-item"
|
|
4278
4290
|
)
|
|
4279
4291
|
}, [
|
|
4280
|
-
|
|
4292
|
+
c(d, {
|
|
4281
4293
|
is: "survey-string",
|
|
4282
4294
|
locString: e.error.locText
|
|
4283
4295
|
}, null, 8, ["locString"])
|
|
4284
4296
|
], 2)
|
|
4285
4297
|
]));
|
|
4286
4298
|
}
|
|
4287
|
-
}),
|
|
4299
|
+
}), _t = /* @__PURE__ */ y({
|
|
4288
4300
|
__name: "ActionBar",
|
|
4289
4301
|
props: {
|
|
4290
4302
|
model: {},
|
|
@@ -4313,14 +4325,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4313
4325
|
class: l(o.model.getRootCss()),
|
|
4314
4326
|
onClick: s
|
|
4315
4327
|
}, [
|
|
4316
|
-
(i(!0), a(H, null, V(o.model.renderedActions, (m) => (i(),
|
|
4328
|
+
(i(!0), a(H, null, V(o.model.renderedActions, (m) => (i(), g(d, {
|
|
4317
4329
|
is: "sv-action",
|
|
4318
4330
|
key: m.renderedId,
|
|
4319
4331
|
item: m
|
|
4320
4332
|
}, null, 8, ["item"]))), 128))
|
|
4321
4333
|
], 6)) : p("", !0);
|
|
4322
4334
|
}
|
|
4323
|
-
}),
|
|
4335
|
+
}), xt = ["id"], eo = { class: "sv-action__content" }, so = /* @__PURE__ */ y({
|
|
4324
4336
|
__name: "Action",
|
|
4325
4337
|
props: {
|
|
4326
4338
|
item: {}
|
|
@@ -4345,17 +4357,17 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4345
4357
|
ref_key: "root",
|
|
4346
4358
|
ref: e
|
|
4347
4359
|
}, [
|
|
4348
|
-
v("div",
|
|
4349
|
-
t.item.needSeparator ? (i(),
|
|
4360
|
+
v("div", eo, [
|
|
4361
|
+
t.item.needSeparator ? (i(), g(d, {
|
|
4350
4362
|
key: 0,
|
|
4351
4363
|
is: "sv-action-bar-separator"
|
|
4352
4364
|
})) : p("", !0),
|
|
4353
|
-
|
|
4365
|
+
c(d, {
|
|
4354
4366
|
is: s.value,
|
|
4355
4367
|
item: t.item
|
|
4356
4368
|
}, null, 8, ["is", "item"])
|
|
4357
4369
|
])
|
|
4358
|
-
], 10,
|
|
4370
|
+
], 10, xt));
|
|
4359
4371
|
}
|
|
4360
4372
|
}), O = {
|
|
4361
4373
|
mounted: function(u, e) {
|
|
@@ -4375,10 +4387,10 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4375
4387
|
Qe(s);
|
|
4376
4388
|
});
|
|
4377
4389
|
}
|
|
4378
|
-
},
|
|
4390
|
+
}, no = ["disabled", "title", "aria-checked", "aria-expanded", "role"], to = {
|
|
4379
4391
|
inheritAttrs: !1
|
|
4380
|
-
},
|
|
4381
|
-
...
|
|
4392
|
+
}, oo = /* @__PURE__ */ y({
|
|
4393
|
+
...to,
|
|
4382
4394
|
__name: "ActionBarItem",
|
|
4383
4395
|
props: {
|
|
4384
4396
|
item: {}
|
|
@@ -4406,7 +4418,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4406
4418
|
"aria-expanded": n.item.ariaExpanded,
|
|
4407
4419
|
role: n.item.ariaRole
|
|
4408
4420
|
}, [
|
|
4409
|
-
n.item.iconName ? (i(),
|
|
4421
|
+
n.item.iconName ? (i(), g(d, {
|
|
4410
4422
|
key: 0,
|
|
4411
4423
|
is: "sv-svg-icon",
|
|
4412
4424
|
class: l(n.item.cssClasses.itemIcon),
|
|
@@ -4418,14 +4430,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4418
4430
|
key: 1,
|
|
4419
4431
|
class: l(n.item.getActionBarItemTitleCss())
|
|
4420
4432
|
}, M(n.item.title), 3)) : p("", !0)
|
|
4421
|
-
], 42,
|
|
4433
|
+
], 42, no)), [
|
|
4422
4434
|
[w(O), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4423
4435
|
]);
|
|
4424
4436
|
}
|
|
4425
|
-
}),
|
|
4437
|
+
}), io = ["disabled", "title", "role"], ro = {
|
|
4426
4438
|
inheritAttrs: !1
|
|
4427
|
-
},
|
|
4428
|
-
...
|
|
4439
|
+
}, lo = /* @__PURE__ */ y({
|
|
4440
|
+
...ro,
|
|
4429
4441
|
__name: "ActionBarItemDropdown",
|
|
4430
4442
|
props: {
|
|
4431
4443
|
item: {}
|
|
@@ -4455,7 +4467,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4455
4467
|
title: s.item.tooltip || s.item.title,
|
|
4456
4468
|
role: s.item.ariaRole
|
|
4457
4469
|
}, [
|
|
4458
|
-
s.item.iconName ? (i(),
|
|
4470
|
+
s.item.iconName ? (i(), g(d, {
|
|
4459
4471
|
key: 0,
|
|
4460
4472
|
is: "sv-svg-icon",
|
|
4461
4473
|
class: l(s.item.cssClasses.itemIcon),
|
|
@@ -4467,16 +4479,16 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4467
4479
|
key: 1,
|
|
4468
4480
|
class: l(s.item.getActionBarItemTitleCss())
|
|
4469
4481
|
}, M(s.item.title), 3)) : p("", !0)
|
|
4470
|
-
], 42,
|
|
4482
|
+
], 42, io)), [
|
|
4471
4483
|
[w(O), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4472
4484
|
]),
|
|
4473
|
-
|
|
4485
|
+
c(d, {
|
|
4474
4486
|
is: "sv-popup",
|
|
4475
4487
|
model: s.item.popupModel
|
|
4476
4488
|
}, null, 8, ["model"])
|
|
4477
4489
|
], 64));
|
|
4478
4490
|
}
|
|
4479
|
-
}),
|
|
4491
|
+
}), ao = /* @__PURE__ */ y({
|
|
4480
4492
|
__name: "ActionBarSeparator",
|
|
4481
4493
|
props: {
|
|
4482
4494
|
item: {}
|
|
@@ -4487,7 +4499,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4487
4499
|
class: l(["sv-action-bar-separator", n.value])
|
|
4488
4500
|
}, null, 2));
|
|
4489
4501
|
}
|
|
4490
|
-
}),
|
|
4502
|
+
}), uo = ["aria-label", "placeholder", "value"], mo = ["aria-label"], po = ["role", "aria-label", "id"], vo = /* @__PURE__ */ y({
|
|
4491
4503
|
__name: "List",
|
|
4492
4504
|
props: {
|
|
4493
4505
|
model: {}
|
|
@@ -4518,7 +4530,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4518
4530
|
v("div", {
|
|
4519
4531
|
class: l(r.model.cssClasses.filterIcon)
|
|
4520
4532
|
}, [
|
|
4521
|
-
|
|
4533
|
+
c(d, {
|
|
4522
4534
|
is: "sv-svg-icon",
|
|
4523
4535
|
iconName: "icon-search",
|
|
4524
4536
|
size: "auto"
|
|
@@ -4532,15 +4544,15 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4532
4544
|
value: r.model.filterString,
|
|
4533
4545
|
onChange: s,
|
|
4534
4546
|
onKeyup: t
|
|
4535
|
-
}, null, 42,
|
|
4547
|
+
}, null, 42, uo),
|
|
4536
4548
|
r.model.showSearchClearButton && r.model.filterString ? (i(), a("button", {
|
|
4537
4549
|
key: 0,
|
|
4538
|
-
onClick: m[0] || (m[0] = (
|
|
4539
|
-
r.model.onClickSearchClearButton(
|
|
4550
|
+
onClick: m[0] || (m[0] = (C) => {
|
|
4551
|
+
r.model.onClickSearchClearButton(C);
|
|
4540
4552
|
}),
|
|
4541
4553
|
class: l(r.model.cssClasses.searchClearButtonIcon)
|
|
4542
4554
|
}, [
|
|
4543
|
-
|
|
4555
|
+
c(d, {
|
|
4544
4556
|
is: "sv-svg-icon",
|
|
4545
4557
|
iconName: "icon-searchclear",
|
|
4546
4558
|
size: "auto"
|
|
@@ -4553,7 +4565,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4553
4565
|
v("div", {
|
|
4554
4566
|
class: l(r.model.cssClasses.emptyText),
|
|
4555
4567
|
"aria-label": r.model.emptyMessage
|
|
4556
|
-
}, M(r.model.emptyMessage), 11,
|
|
4568
|
+
}, M(r.model.emptyMessage), 11, mo)
|
|
4557
4569
|
], 2), [
|
|
4558
4570
|
[A, r.model.isEmpty]
|
|
4559
4571
|
]),
|
|
@@ -4563,77 +4575,79 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4563
4575
|
role: r.model.listRole,
|
|
4564
4576
|
"aria-label": r.model.a11ya11y_input_ariaLabel,
|
|
4565
4577
|
id: r.model.elementId,
|
|
4566
|
-
onMousedown: m[1] || (m[1] = (
|
|
4567
|
-
|
|
4578
|
+
onMousedown: m[1] || (m[1] = (C) => {
|
|
4579
|
+
C.preventDefault();
|
|
4568
4580
|
}),
|
|
4569
4581
|
onMousemove: o,
|
|
4570
|
-
onKeydown: m[2] || (m[2] = (
|
|
4571
|
-
r.model.onKeyDown(
|
|
4582
|
+
onKeydown: m[2] || (m[2] = (C) => {
|
|
4583
|
+
r.model.onKeyDown(C);
|
|
4572
4584
|
})
|
|
4573
4585
|
}, [
|
|
4574
|
-
(i(!0), a(H, null, V(r.model.renderedActions, (
|
|
4586
|
+
(i(!0), a(H, null, V(r.model.renderedActions, (C) => (i(), g(d, {
|
|
4575
4587
|
is: "sv-list-item",
|
|
4576
|
-
item:
|
|
4588
|
+
item: C,
|
|
4577
4589
|
model: r.model,
|
|
4578
|
-
key:
|
|
4590
|
+
key: C.id
|
|
4579
4591
|
}, null, 8, ["item", "model"]))), 128))
|
|
4580
|
-
], 42,
|
|
4592
|
+
], 42, po)), [
|
|
4581
4593
|
[A, !r.model.isEmpty]
|
|
4582
4594
|
]) : p("", !0)
|
|
4583
4595
|
], 2));
|
|
4584
4596
|
}
|
|
4585
|
-
}),
|
|
4597
|
+
}), Co = ["role", "aria-selected", "aria-checked", "id", "tabindex"], co = ["title"], go = /* @__PURE__ */ y({
|
|
4586
4598
|
__name: "ListItem",
|
|
4587
4599
|
props: {
|
|
4588
4600
|
model: {},
|
|
4589
4601
|
item: {}
|
|
4590
4602
|
},
|
|
4591
4603
|
setup(u) {
|
|
4592
|
-
const e = u, n = f(() => e.item.elementId),
|
|
4593
|
-
e.model.onItemClick(e.item),
|
|
4604
|
+
const e = u, n = k(null), s = f(() => e.item.elementId), t = (r) => {
|
|
4605
|
+
e.model.onItemClick(e.item), r.stopPropagation();
|
|
4594
4606
|
};
|
|
4595
4607
|
I(() => e.item);
|
|
4596
|
-
const
|
|
4608
|
+
const o = f(
|
|
4597
4609
|
() => e.item.component || e.model.itemComponent
|
|
4598
4610
|
);
|
|
4599
4611
|
return T(() => {
|
|
4600
4612
|
setTimeout(() => {
|
|
4601
|
-
e.model.
|
|
4613
|
+
e.model.onItemRended(e.item, n.value);
|
|
4602
4614
|
});
|
|
4603
|
-
}), (
|
|
4604
|
-
role:
|
|
4605
|
-
"aria-selected":
|
|
4606
|
-
"aria-checked":
|
|
4607
|
-
key:
|
|
4608
|
-
id:
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4615
|
+
}), (r, m) => B((i(), a("li", {
|
|
4616
|
+
role: r.model.listItemRole,
|
|
4617
|
+
"aria-selected": r.model.getA11yItemAriaSelected(r.item),
|
|
4618
|
+
"aria-checked": r.model.getA11yItemAriaChecked(r.item),
|
|
4619
|
+
key: r.item.id,
|
|
4620
|
+
id: s.value,
|
|
4621
|
+
ref_key: "elementRef",
|
|
4622
|
+
ref: n,
|
|
4623
|
+
onPointerdown: m[2] || (m[2] = (C) => r.model.onPointerDown(C, r.item)),
|
|
4624
|
+
class: l(r.model.getItemClass(r.item)),
|
|
4625
|
+
onClick: t,
|
|
4626
|
+
tabindex: r.item.disableTabStop ? -1 : 0
|
|
4613
4627
|
}, [
|
|
4614
|
-
|
|
4628
|
+
r.item.needSeparator ? (i(), a("div", {
|
|
4615
4629
|
key: 0,
|
|
4616
|
-
class: l(
|
|
4630
|
+
class: l(r.model.cssClasses.itemSeparator)
|
|
4617
4631
|
}, null, 2)) : p("", !0),
|
|
4618
4632
|
v("div", {
|
|
4619
|
-
style: L(
|
|
4620
|
-
class: l(
|
|
4621
|
-
title:
|
|
4622
|
-
onMouseover:
|
|
4623
|
-
onMouseleave:
|
|
4633
|
+
style: L(r.model.getItemStyle(r.item)),
|
|
4634
|
+
class: l(r.model.cssClasses.itemBody),
|
|
4635
|
+
title: r.item.getTooltip(),
|
|
4636
|
+
onMouseover: m[0] || (m[0] = (C) => r.model.onItemHover(r.item)),
|
|
4637
|
+
onMouseleave: m[1] || (m[1] = (C) => r.model.onItemLeave(r.item))
|
|
4624
4638
|
}, [
|
|
4625
|
-
|
|
4626
|
-
is:
|
|
4627
|
-
item:
|
|
4628
|
-
model:
|
|
4639
|
+
c(d, {
|
|
4640
|
+
is: o.value,
|
|
4641
|
+
item: r.item,
|
|
4642
|
+
model: r.model
|
|
4629
4643
|
}, null, 8, ["is", "item", "model"])
|
|
4630
|
-
], 46,
|
|
4631
|
-
], 42,
|
|
4632
|
-
[A,
|
|
4633
|
-
[w(O), { processEsc: !1, disableTabStop:
|
|
4644
|
+
], 46, co)
|
|
4645
|
+
], 42, Co)), [
|
|
4646
|
+
[A, r.model.isItemVisible(r.item)],
|
|
4647
|
+
[w(O), { processEsc: !1, disableTabStop: r.item.disableTabStop }]
|
|
4634
4648
|
]);
|
|
4635
4649
|
}
|
|
4636
|
-
}),
|
|
4650
|
+
}), yo = /* @__PURE__ */ y({
|
|
4637
4651
|
__name: "ListItemContent",
|
|
4638
4652
|
props: {
|
|
4639
4653
|
model: {},
|
|
@@ -4642,18 +4656,18 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4642
4656
|
setup(u) {
|
|
4643
4657
|
const e = u;
|
|
4644
4658
|
return I(() => e.item), (n, s) => (i(), a(H, null, [
|
|
4645
|
-
n.item.iconName ? (i(),
|
|
4659
|
+
n.item.iconName ? (i(), g(d, {
|
|
4646
4660
|
key: 0,
|
|
4647
4661
|
is: "sv-svg-icon",
|
|
4648
4662
|
class: l(n.model.cssClasses.itemIcon),
|
|
4649
4663
|
iconName: n.item.iconName,
|
|
4650
4664
|
size: n.item.iconSize
|
|
4651
4665
|
}, null, 8, ["class", "iconName", "size"])) : p("", !0),
|
|
4652
|
-
|
|
4666
|
+
c(d, {
|
|
4653
4667
|
is: "survey-string",
|
|
4654
4668
|
locString: n.item.locTitle
|
|
4655
4669
|
}, null, 8, ["locString"]),
|
|
4656
|
-
n.item.markerIconName ? (i(),
|
|
4670
|
+
n.item.markerIconName ? (i(), g(d, {
|
|
4657
4671
|
key: 1,
|
|
4658
4672
|
is: "sv-svg-icon",
|
|
4659
4673
|
class: l(n.item.cssClasses.itemMarkerIcon),
|
|
@@ -4662,7 +4676,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4662
4676
|
}, null, 8, ["class", "iconName"])) : p("", !0)
|
|
4663
4677
|
], 64));
|
|
4664
4678
|
}
|
|
4665
|
-
}),
|
|
4679
|
+
}), ho = /* @__PURE__ */ y({
|
|
4666
4680
|
__name: "ListItemGroup",
|
|
4667
4681
|
props: {
|
|
4668
4682
|
model: {},
|
|
@@ -4671,18 +4685,18 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4671
4685
|
setup(u) {
|
|
4672
4686
|
const e = u;
|
|
4673
4687
|
return I(() => e.item), (n, s) => (i(), a(H, null, [
|
|
4674
|
-
|
|
4688
|
+
c(d, {
|
|
4675
4689
|
is: "sv-list-item-content",
|
|
4676
4690
|
item: n.item,
|
|
4677
4691
|
model: n.model
|
|
4678
4692
|
}, null, 8, ["item", "model"]),
|
|
4679
|
-
|
|
4693
|
+
c(d, {
|
|
4680
4694
|
is: "sv-popup",
|
|
4681
4695
|
model: n.item.popupModel
|
|
4682
4696
|
}, null, 8, ["model"])
|
|
4683
4697
|
], 64));
|
|
4684
4698
|
}
|
|
4685
|
-
}),
|
|
4699
|
+
}), qo = /* @__PURE__ */ y({
|
|
4686
4700
|
__name: "Popup",
|
|
4687
4701
|
props: {
|
|
4688
4702
|
model: {}
|
|
@@ -4706,19 +4720,19 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4706
4720
|
ref_key: "root",
|
|
4707
4721
|
ref: s
|
|
4708
4722
|
}, [
|
|
4709
|
-
|
|
4723
|
+
c(d, {
|
|
4710
4724
|
is: "sv-popup-container",
|
|
4711
4725
|
model: n.value
|
|
4712
4726
|
}, null, 8, ["model"])
|
|
4713
4727
|
], 512));
|
|
4714
4728
|
}
|
|
4715
|
-
}),
|
|
4729
|
+
}), wo = { class: "sv-popup__body-content" }, bo = {
|
|
4716
4730
|
key: 0,
|
|
4717
4731
|
class: "sv-popup__body-header"
|
|
4718
|
-
},
|
|
4732
|
+
}, Lo = { class: "sv-popup__scrolling-content" }, ko = { class: "sv-popup__content" }, fo = {
|
|
4719
4733
|
key: 1,
|
|
4720
4734
|
class: "sv-popup__body-footer"
|
|
4721
|
-
},
|
|
4735
|
+
}, Ho = /* @__PURE__ */ y({
|
|
4722
4736
|
__name: "PopupContainer",
|
|
4723
4737
|
props: {
|
|
4724
4738
|
model: {}
|
|
@@ -4756,22 +4770,22 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4756
4770
|
}),
|
|
4757
4771
|
onClick: n
|
|
4758
4772
|
}, [
|
|
4759
|
-
s.model.showHeader ? (i(),
|
|
4773
|
+
s.model.showHeader ? (i(), g(d, {
|
|
4760
4774
|
key: 0,
|
|
4761
4775
|
is: s.model.popupHeaderTemplate,
|
|
4762
4776
|
model: s.model
|
|
4763
4777
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4764
|
-
v("div",
|
|
4765
|
-
s.model.title ? (i(), a("div",
|
|
4766
|
-
v("div",
|
|
4767
|
-
v("div",
|
|
4768
|
-
|
|
4778
|
+
v("div", wo, [
|
|
4779
|
+
s.model.title ? (i(), a("div", bo, M(s.model.title), 1)) : p("", !0),
|
|
4780
|
+
v("div", Lo, [
|
|
4781
|
+
v("div", ko, [
|
|
4782
|
+
c(d, $({
|
|
4769
4783
|
is: s.model.contentComponentName
|
|
4770
4784
|
}, s.model.contentComponentData), null, 16, ["is"])
|
|
4771
4785
|
])
|
|
4772
4786
|
]),
|
|
4773
|
-
s.model.showFooter ? (i(), a("div",
|
|
4774
|
-
|
|
4787
|
+
s.model.showFooter ? (i(), a("div", fo, [
|
|
4788
|
+
c(d, {
|
|
4775
4789
|
is: "sv-action-bar",
|
|
4776
4790
|
model: s.model.footerToolbar
|
|
4777
4791
|
}, null, 8, ["model"])
|
|
@@ -4782,7 +4796,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4782
4796
|
[A, s.model.isVisible]
|
|
4783
4797
|
]);
|
|
4784
4798
|
}
|
|
4785
|
-
}),
|
|
4799
|
+
}), Mo = /* @__PURE__ */ y({
|
|
4786
4800
|
__name: "PopupPointer",
|
|
4787
4801
|
props: {
|
|
4788
4802
|
model: {}
|
|
@@ -4796,7 +4810,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4796
4810
|
})
|
|
4797
4811
|
}, null, 4));
|
|
4798
4812
|
}
|
|
4799
|
-
}),
|
|
4813
|
+
}), Io = /* @__PURE__ */ y({
|
|
4800
4814
|
__name: "Container",
|
|
4801
4815
|
props: {
|
|
4802
4816
|
survey: {},
|
|
@@ -4812,14 +4826,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4812
4826
|
key: 0,
|
|
4813
4827
|
class: l(["sv-components-column", "sv-components-container-" + s.container])
|
|
4814
4828
|
}, [
|
|
4815
|
-
(i(!0), a(H, null, V(n.value, (o) => (i(),
|
|
4829
|
+
(i(!0), a(H, null, V(n.value, (o) => (i(), g(d, {
|
|
4816
4830
|
key: o.id,
|
|
4817
4831
|
is: o.component,
|
|
4818
4832
|
survey: s.survey,
|
|
4819
4833
|
container: s.container,
|
|
4820
4834
|
model: o.data
|
|
4821
4835
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4822
|
-
], 2)) : (i(!0), a(H, { key: 1 }, V(n.value, (o) => (i(),
|
|
4836
|
+
], 2)) : (i(!0), a(H, { key: 1 }, V(n.value, (o) => (i(), g(d, {
|
|
4823
4837
|
key: o.id,
|
|
4824
4838
|
is: o.component,
|
|
4825
4839
|
survey: s.survey,
|
|
@@ -4828,7 +4842,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4828
4842
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4829
4843
|
], 64)) : p("", !0);
|
|
4830
4844
|
}
|
|
4831
|
-
}),
|
|
4845
|
+
}), Vo = ["aria-label"], G = /* @__PURE__ */ y({
|
|
4832
4846
|
__name: "Progress",
|
|
4833
4847
|
props: {
|
|
4834
4848
|
survey: {},
|
|
@@ -4851,13 +4865,13 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4851
4865
|
v("span", {
|
|
4852
4866
|
class: l(s(o.survey.css))
|
|
4853
4867
|
}, M(o.survey.progressText), 3)
|
|
4854
|
-
], 14,
|
|
4868
|
+
], 14, Vo),
|
|
4855
4869
|
v("span", {
|
|
4856
4870
|
class: l(t(o.survey.css))
|
|
4857
4871
|
}, M(o.survey.progressText), 3)
|
|
4858
4872
|
], 2));
|
|
4859
4873
|
}
|
|
4860
|
-
}),
|
|
4874
|
+
}), So = ["aria-label"], Ro = ["title"], To = ["onClick", "data-page-number"], Bo = ["title"], Zo = ["title"], $o = ["title"], Do = /* @__PURE__ */ y({
|
|
4861
4875
|
__name: "ProgressButtons",
|
|
4862
4876
|
props: {
|
|
4863
4877
|
survey: {},
|
|
@@ -4866,14 +4880,14 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4866
4880
|
},
|
|
4867
4881
|
setup(u) {
|
|
4868
4882
|
const e = u, n = k(!1), s = k(!1), t = k(!1), o = k(!0), r = k(), m = f(() => e.survey.css);
|
|
4869
|
-
let
|
|
4883
|
+
let C = null;
|
|
4870
4884
|
const S = (h) => {
|
|
4871
4885
|
let q = r.value;
|
|
4872
4886
|
q.scrollLeft += (h ? -1 : 1) * 70;
|
|
4873
4887
|
};
|
|
4874
4888
|
return T(() => {
|
|
4875
4889
|
const h = r.value;
|
|
4876
|
-
|
|
4890
|
+
C = new Ge(e.model, h, {
|
|
4877
4891
|
onResize: (q) => {
|
|
4878
4892
|
o.value = q, s.value = !q;
|
|
4879
4893
|
},
|
|
@@ -4886,7 +4900,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4886
4900
|
container: f(() => e.container)
|
|
4887
4901
|
});
|
|
4888
4902
|
}), z(() => {
|
|
4889
|
-
|
|
4903
|
+
C.dispose();
|
|
4890
4904
|
}), (h, q) => (i(), a("div", {
|
|
4891
4905
|
class: l(h.model.getRootCss(h.container)),
|
|
4892
4906
|
style: L({ maxWidth: h.model.progressWidth }),
|
|
@@ -4902,7 +4916,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4902
4916
|
v("div", {
|
|
4903
4917
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4904
4918
|
title: h.model.headerText
|
|
4905
|
-
}, M(h.model.headerText), 11,
|
|
4919
|
+
}, M(h.model.headerText), 11, Ro)
|
|
4906
4920
|
], 2)) : p("", !0),
|
|
4907
4921
|
v("div", {
|
|
4908
4922
|
class: l(m.value.progressButtonsContainer)
|
|
@@ -4934,16 +4948,16 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4934
4948
|
class: l(m.value.progressButtonsPageTitle),
|
|
4935
4949
|
title: b.renderedNavigationTitle
|
|
4936
4950
|
}, [
|
|
4937
|
-
|
|
4951
|
+
c(d, {
|
|
4938
4952
|
is: "survey-string",
|
|
4939
4953
|
locString: b.locNavigationTitle
|
|
4940
4954
|
}, null, 8, ["locString"])
|
|
4941
|
-
], 10,
|
|
4955
|
+
], 10, Bo)) : p("", !0),
|
|
4942
4956
|
o.value ? (i(), a("div", {
|
|
4943
4957
|
key: 1,
|
|
4944
4958
|
class: l(m.value.progressButtonsPageDescription),
|
|
4945
4959
|
title: b.locNavigationDescription.renderedHtml
|
|
4946
|
-
}, M(b.locNavigationDescription.renderedHtml), 11,
|
|
4960
|
+
}, M(b.locNavigationDescription.renderedHtml), 11, Zo)) : p("", !0),
|
|
4947
4961
|
v("div", {
|
|
4948
4962
|
class: l(m.value.progressButtonsButton)
|
|
4949
4963
|
}, [
|
|
@@ -4955,7 +4969,7 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4955
4969
|
}, null, 2),
|
|
4956
4970
|
v("span", null, M(h.model.getItemNumber(b)), 1)
|
|
4957
4971
|
], 2)
|
|
4958
|
-
], 10,
|
|
4972
|
+
], 10, To))), 128))
|
|
4959
4973
|
], 2)
|
|
4960
4974
|
], 2),
|
|
4961
4975
|
v("div", {
|
|
@@ -4971,11 +4985,11 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4971
4985
|
v("div", {
|
|
4972
4986
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4973
4987
|
title: h.model.footerText
|
|
4974
|
-
}, M(h.model.footerText), 11,
|
|
4988
|
+
}, M(h.model.footerText), 11, $o)
|
|
4975
4989
|
], 2)) : p("", !0)
|
|
4976
|
-
], 14,
|
|
4990
|
+
], 14, So));
|
|
4977
4991
|
}
|
|
4978
|
-
}),
|
|
4992
|
+
}), Ao = /* @__PURE__ */ y({
|
|
4979
4993
|
__name: "ProgressToc",
|
|
4980
4994
|
props: {
|
|
4981
4995
|
survey: {},
|
|
@@ -4993,18 +5007,18 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
4993
5007
|
onClick: s[0] || (s[0] = //@ts-ignore
|
|
4994
5008
|
(...t) => n.model.togglePopup && n.model.togglePopup(...t))
|
|
4995
5009
|
}, [
|
|
4996
|
-
|
|
5010
|
+
c(d, {
|
|
4997
5011
|
is: "sv-svg-icon",
|
|
4998
5012
|
iconName: n.model.icon,
|
|
4999
5013
|
size: 24
|
|
5000
5014
|
}, null, 8, ["iconName"]),
|
|
5001
|
-
|
|
5015
|
+
c(d, {
|
|
5002
5016
|
is: "sv-popup",
|
|
5003
5017
|
model: n.model.popupModel
|
|
5004
5018
|
}, null, 8, ["model"])
|
|
5005
5019
|
])), [
|
|
5006
5020
|
[w(O)]
|
|
5007
|
-
]) : (i(),
|
|
5021
|
+
]) : (i(), g(d, {
|
|
5008
5022
|
key: 1,
|
|
5009
5023
|
is: "sv-list",
|
|
5010
5024
|
model: n.model.listModel
|
|
@@ -5013,11 +5027,11 @@ const zt = /* @__PURE__ */ Pt(Nt, [["render", Ot]]), Ut = /* @__PURE__ */ v("use
|
|
|
5013
5027
|
}
|
|
5014
5028
|
});
|
|
5015
5029
|
/*!
|
|
5016
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5030
|
+
* surveyjs - Survey JavaScript library v2.3.9
|
|
5017
5031
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5018
5032
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5019
5033
|
*/
|
|
5020
|
-
var
|
|
5034
|
+
var Po = {
|
|
5021
5035
|
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
5036
|
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
5037
|
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 +5095,7 @@ var Zo = {
|
|
|
5081
5095
|
"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
5096
|
};
|
|
5083
5097
|
/*!
|
|
5084
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5098
|
+
* surveyjs - Survey JavaScript library v2.3.9
|
|
5085
5099
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5086
5100
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5087
5101
|
*/
|
|
@@ -5148,11 +5162,11 @@ var fe = {
|
|
|
5148
5162
|
"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
5163
|
"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
5164
|
};
|
|
5151
|
-
const
|
|
5165
|
+
const No = ["lang", "dir"], Eo = { onsubmit: "return false;" }, Wo = {
|
|
5152
5166
|
key: 0,
|
|
5153
5167
|
class: "sv_custom_header"
|
|
5154
|
-
},
|
|
5155
|
-
be("v1",
|
|
5168
|
+
}, Fo = { class: "sv-components-column sv-components-column--expandable" }, Oo = ["id"], zo = { key: 2 }, Uo = ["innerHTML"], Qo = ["innerHTML"], Ko = ["innerHTML"];
|
|
5169
|
+
be("v1", Po);
|
|
5156
5170
|
be("v2", fe);
|
|
5157
5171
|
J.registerIcons(fe);
|
|
5158
5172
|
const oe = /* @__PURE__ */ y({
|
|
@@ -5170,7 +5184,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5170
5184
|
return !!t.value && q + s.value.toString();
|
|
5171
5185
|
}, m = f(
|
|
5172
5186
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5173
|
-
),
|
|
5187
|
+
), C = f(() => t.value.css), S = f(() => "page" + r()), h = (q) => {
|
|
5174
5188
|
if (q) {
|
|
5175
5189
|
var b = n.value;
|
|
5176
5190
|
b && q.afterRenderSurvey(b), q.renderCallback = () => {
|
|
@@ -5198,40 +5212,40 @@ const oe = /* @__PURE__ */ y({
|
|
|
5198
5212
|
ref_key: "root",
|
|
5199
5213
|
ref: n
|
|
5200
5214
|
}, [
|
|
5201
|
-
|
|
5215
|
+
c(d, {
|
|
5202
5216
|
is: "sv-scroll",
|
|
5203
5217
|
disabled: t.value.rootScrollDisabled
|
|
5204
5218
|
}, {
|
|
5205
5219
|
default: D(() => [
|
|
5206
|
-
t.value.needRenderIcons ? (i(),
|
|
5220
|
+
t.value.needRenderIcons ? (i(), g(d, {
|
|
5207
5221
|
key: 0,
|
|
5208
5222
|
is: "sv-svg-bundle"
|
|
5209
5223
|
})) : p("", !0),
|
|
5210
5224
|
v("div", {
|
|
5211
5225
|
class: l(t.value.wrapperFormCss)
|
|
5212
5226
|
}, [
|
|
5213
|
-
|
|
5227
|
+
c(d, { is: "survey-popup-modal" }),
|
|
5214
5228
|
t.value.renderBackgroundImage ? (i(), a("div", {
|
|
5215
5229
|
key: 0,
|
|
5216
|
-
class: l(
|
|
5230
|
+
class: l(C.value.rootBackgroundImage),
|
|
5217
5231
|
style: L(t.value.backgroundImageStyle)
|
|
5218
5232
|
}, null, 6)) : p("", !0),
|
|
5219
|
-
v("form",
|
|
5220
|
-
|
|
5233
|
+
v("form", Eo, [
|
|
5234
|
+
c(d, {
|
|
5221
5235
|
is: "sv-scroll",
|
|
5222
5236
|
disabled: t.value.formScrollDisabled
|
|
5223
5237
|
}, {
|
|
5224
5238
|
default: D(() => [
|
|
5225
|
-
t.value.hasLogo ? p("", !0) : (i(), a("div",
|
|
5239
|
+
t.value.hasLogo ? p("", !0) : (i(), a("div", Wo)),
|
|
5226
5240
|
v("div", {
|
|
5227
|
-
class: l(
|
|
5241
|
+
class: l(C.value.container)
|
|
5228
5242
|
}, [
|
|
5229
|
-
t.value.headerView === "basic" ? (i(),
|
|
5243
|
+
t.value.headerView === "basic" ? (i(), g(d, {
|
|
5230
5244
|
key: 0,
|
|
5231
5245
|
is: "survey-header",
|
|
5232
5246
|
survey: t.value
|
|
5233
5247
|
}, null, 8, ["survey"])) : p("", !0),
|
|
5234
|
-
|
|
5248
|
+
c(d, {
|
|
5235
5249
|
is: "sv-components-container",
|
|
5236
5250
|
survey: t.value,
|
|
5237
5251
|
container: "header",
|
|
@@ -5241,14 +5255,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5241
5255
|
key: 1,
|
|
5242
5256
|
class: l(t.value.bodyContainerCss)
|
|
5243
5257
|
}, [
|
|
5244
|
-
|
|
5258
|
+
c(d, {
|
|
5245
5259
|
is: "sv-components-container",
|
|
5246
5260
|
survey: t.value,
|
|
5247
5261
|
container: "left",
|
|
5248
5262
|
needRenderWrapper: !0
|
|
5249
5263
|
}, null, 8, ["survey"]),
|
|
5250
|
-
v("div",
|
|
5251
|
-
|
|
5264
|
+
v("div", Fo, [
|
|
5265
|
+
c(d, {
|
|
5252
5266
|
is: "sv-components-container",
|
|
5253
5267
|
survey: t.value,
|
|
5254
5268
|
container: "center",
|
|
@@ -5259,50 +5273,50 @@ const oe = /* @__PURE__ */ y({
|
|
|
5259
5273
|
style: L({ maxWidth: t.value.renderedWidth }),
|
|
5260
5274
|
id: o.value
|
|
5261
5275
|
}, [
|
|
5262
|
-
|
|
5276
|
+
c(d, {
|
|
5263
5277
|
is: "sv-components-container",
|
|
5264
5278
|
survey: t.value,
|
|
5265
5279
|
container: "contentTop",
|
|
5266
5280
|
needRenderWrapper: !0
|
|
5267
5281
|
}, null, 8, ["survey"]),
|
|
5268
|
-
(i(),
|
|
5269
|
-
is: "
|
|
5282
|
+
(i(), g(d, {
|
|
5283
|
+
is: t.value.pageComponent || "sv-page",
|
|
5270
5284
|
key: S.value,
|
|
5271
5285
|
survey: t.value,
|
|
5272
5286
|
page: t.value.activePage,
|
|
5273
|
-
css:
|
|
5274
|
-
}, null, 8, ["survey", "page", "css"])),
|
|
5275
|
-
|
|
5287
|
+
css: C.value
|
|
5288
|
+
}, null, 8, ["is", "survey", "page", "css"])),
|
|
5289
|
+
c(d, {
|
|
5276
5290
|
is: "sv-components-container",
|
|
5277
5291
|
survey: t.value,
|
|
5278
5292
|
container: "contentBottom",
|
|
5279
5293
|
needRenderWrapper: !0
|
|
5280
5294
|
}, null, 8, ["survey"]),
|
|
5281
|
-
t.value.showBrandInfo ? (i(),
|
|
5295
|
+
t.value.showBrandInfo ? (i(), g(d, {
|
|
5282
5296
|
key: 0,
|
|
5283
5297
|
is: "sv-brand-info"
|
|
5284
5298
|
})) : p("", !0)
|
|
5285
|
-
], 14,
|
|
5299
|
+
], 14, Oo)
|
|
5286
5300
|
]),
|
|
5287
|
-
|
|
5301
|
+
c(d, {
|
|
5288
5302
|
is: "sv-components-container",
|
|
5289
5303
|
survey: t.value,
|
|
5290
5304
|
container: "right",
|
|
5291
5305
|
needRenderWrapper: !0
|
|
5292
5306
|
}, null, 8, ["survey"])
|
|
5293
5307
|
], 2)) : p("", !0),
|
|
5294
|
-
|
|
5308
|
+
c(d, {
|
|
5295
5309
|
is: "sv-components-container",
|
|
5296
5310
|
survey: t.value,
|
|
5297
5311
|
container: "footer",
|
|
5298
5312
|
needRenderWrapper: !1
|
|
5299
5313
|
}, null, 8, ["survey"]),
|
|
5300
|
-
m.value ? (i(), a("div",
|
|
5314
|
+
m.value ? (i(), a("div", zo, [
|
|
5301
5315
|
v("div", {
|
|
5302
5316
|
innerHTML: t.value.processedCompletedHtml,
|
|
5303
5317
|
class: l(t.value.completedCss)
|
|
5304
|
-
}, null, 10,
|
|
5305
|
-
|
|
5318
|
+
}, null, 10, Uo),
|
|
5319
|
+
c(d, {
|
|
5306
5320
|
is: "sv-components-container",
|
|
5307
5321
|
survey: t.value,
|
|
5308
5322
|
container: "completePage",
|
|
@@ -5313,22 +5327,22 @@ const oe = /* @__PURE__ */ y({
|
|
|
5313
5327
|
key: 3,
|
|
5314
5328
|
class: l(t.value.completedBeforeCss),
|
|
5315
5329
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
5316
|
-
}, null, 10,
|
|
5330
|
+
}, null, 10, Qo)) : p("", !0),
|
|
5317
5331
|
t.value.state === "loading" ? (i(), a("div", {
|
|
5318
5332
|
key: 4,
|
|
5319
5333
|
class: l(t.value.loadingBodyCss),
|
|
5320
5334
|
innerHTML: t.value.processedLoadingHtml
|
|
5321
|
-
}, null, 10,
|
|
5335
|
+
}, null, 10, Ko)) : p("", !0),
|
|
5322
5336
|
t.value.state === "empty" ? (i(), a("div", {
|
|
5323
5337
|
key: 5,
|
|
5324
|
-
class: l(
|
|
5338
|
+
class: l(C.value.bodyEmpty)
|
|
5325
5339
|
}, M(t.value.emptySurveyText), 3)) : p("", !0)
|
|
5326
5340
|
], 2)
|
|
5327
5341
|
]),
|
|
5328
5342
|
_: 1
|
|
5329
5343
|
}, 8, ["disabled"])
|
|
5330
5344
|
]),
|
|
5331
|
-
|
|
5345
|
+
c(d, {
|
|
5332
5346
|
is: "sv-notifier",
|
|
5333
5347
|
model: t.value.notifier
|
|
5334
5348
|
}, null, 8, ["model"])
|
|
@@ -5336,9 +5350,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5336
5350
|
]),
|
|
5337
5351
|
_: 1
|
|
5338
5352
|
}, 8, ["disabled"])
|
|
5339
|
-
], 14,
|
|
5353
|
+
], 14, No));
|
|
5340
5354
|
}
|
|
5341
|
-
}),
|
|
5355
|
+
}), jo = /* @__PURE__ */ y({
|
|
5342
5356
|
__name: "Notifier",
|
|
5343
5357
|
props: {
|
|
5344
5358
|
model: {}
|
|
@@ -5353,13 +5367,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5353
5367
|
"aria-live": "polite"
|
|
5354
5368
|
}, [
|
|
5355
5369
|
v("span", null, M(n.model.message), 1),
|
|
5356
|
-
|
|
5370
|
+
c(d, {
|
|
5357
5371
|
is: "sv-action-bar",
|
|
5358
5372
|
model: n.model.actionBar
|
|
5359
5373
|
}, null, 8, ["model"])
|
|
5360
5374
|
], 6)) : p("", !0);
|
|
5361
5375
|
}
|
|
5362
|
-
}),
|
|
5376
|
+
}), Go = { key: 0 }, Jo = /* @__PURE__ */ y({
|
|
5363
5377
|
__name: "QuestionOther",
|
|
5364
5378
|
props: {
|
|
5365
5379
|
question: {},
|
|
@@ -5369,14 +5383,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5369
5383
|
return (e, n) => (i(), a("div", {
|
|
5370
5384
|
class: l(e.question.getCommentAreaCss(!0))
|
|
5371
5385
|
}, [
|
|
5372
|
-
e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
5386
|
+
e.question.isReadOnlyRenderDiv() ? (i(), a("div", Go, M(e.question.getCommentValue(e.item)), 1)) : (i(), g(d, {
|
|
5373
5387
|
key: 1,
|
|
5374
5388
|
is: "sv-text-area",
|
|
5375
5389
|
model: e.question.getCommentTextAreaModel(e.item)
|
|
5376
5390
|
}, null, 8, ["model"]))
|
|
5377
5391
|
], 2));
|
|
5378
5392
|
}
|
|
5379
|
-
}),
|
|
5393
|
+
}), Xo = ["disabled", "value", "title"], Yo = /* @__PURE__ */ y({
|
|
5380
5394
|
__name: "SurveyNavigationButton",
|
|
5381
5395
|
props: {
|
|
5382
5396
|
item: {}
|
|
@@ -5393,7 +5407,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5393
5407
|
onMousedown: n,
|
|
5394
5408
|
onClick: t[0] || (t[0] = //@ts-ignore
|
|
5395
5409
|
(...o) => s.item.action && s.item.action(...o))
|
|
5396
|
-
}, null, 42,
|
|
5410
|
+
}, null, 42, Xo)) : p("", !0);
|
|
5397
5411
|
}
|
|
5398
5412
|
}), He = /* @__PURE__ */ y({
|
|
5399
5413
|
__name: "PopupSurvey",
|
|
@@ -5417,7 +5431,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5417
5431
|
}, m = () => {
|
|
5418
5432
|
let S = n.value.cssHeaderRoot;
|
|
5419
5433
|
return n.value.isCollapsed && (S += " " + n.value.cssRootCollapsedMod), S;
|
|
5420
|
-
},
|
|
5434
|
+
}, C = N(
|
|
5421
5435
|
() => e.survey,
|
|
5422
5436
|
(S) => {
|
|
5423
5437
|
const h = new Je(null, S);
|
|
@@ -5428,7 +5442,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5428
5442
|
}
|
|
5429
5443
|
);
|
|
5430
5444
|
return I(() => n.value), P(() => {
|
|
5431
|
-
|
|
5445
|
+
C();
|
|
5432
5446
|
}), (S, h) => n.value.isShowing ? (i(), a("div", {
|
|
5433
5447
|
key: 0,
|
|
5434
5448
|
style: L({
|
|
@@ -5456,13 +5470,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5456
5470
|
class: l(n.value.cssHeaderFullScreenButton),
|
|
5457
5471
|
onClick: o
|
|
5458
5472
|
}, [
|
|
5459
|
-
n.value.isFullScreen ? (i(),
|
|
5473
|
+
n.value.isFullScreen ? (i(), g(d, {
|
|
5460
5474
|
key: 0,
|
|
5461
5475
|
is: "sv-svg-icon",
|
|
5462
5476
|
iconName: "icon-back-to-panel_16x16",
|
|
5463
5477
|
size: 16
|
|
5464
5478
|
})) : p("", !0),
|
|
5465
|
-
n.value.isFullScreen ? p("", !0) : (i(),
|
|
5479
|
+
n.value.isFullScreen ? p("", !0) : (i(), g(d, {
|
|
5466
5480
|
key: 1,
|
|
5467
5481
|
is: "sv-svg-icon",
|
|
5468
5482
|
iconName: "icon-full-screen_16x16",
|
|
@@ -5473,13 +5487,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
5473
5487
|
class: l(n.value.cssHeaderCollapseButton),
|
|
5474
5488
|
onClick: s
|
|
5475
5489
|
}, [
|
|
5476
|
-
n.value.isExpanded ? (i(),
|
|
5490
|
+
n.value.isExpanded ? (i(), g(d, {
|
|
5477
5491
|
key: 0,
|
|
5478
5492
|
is: "sv-svg-icon",
|
|
5479
5493
|
iconName: "icon-minimize_16x16",
|
|
5480
5494
|
size: 16
|
|
5481
5495
|
})) : p("", !0),
|
|
5482
|
-
n.value.isCollapsed ? (i(),
|
|
5496
|
+
n.value.isCollapsed ? (i(), g(d, {
|
|
5483
5497
|
key: 1,
|
|
5484
5498
|
is: "sv-svg-icon",
|
|
5485
5499
|
iconName: "icon-restore_16x16",
|
|
@@ -5491,7 +5505,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5491
5505
|
class: l(n.value.cssHeaderCloseButton),
|
|
5492
5506
|
onClick: t
|
|
5493
5507
|
}, [
|
|
5494
|
-
|
|
5508
|
+
c(d, {
|
|
5495
5509
|
is: "sv-svg-icon",
|
|
5496
5510
|
iconName: "icon-close_16x16",
|
|
5497
5511
|
size: 16
|
|
@@ -5502,12 +5516,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5502
5516
|
v("div", {
|
|
5503
5517
|
class: l(n.value.cssBody)
|
|
5504
5518
|
}, [
|
|
5505
|
-
|
|
5519
|
+
c(oe, { survey: S.survey }, null, 8, ["survey"])
|
|
5506
5520
|
], 2)
|
|
5507
5521
|
], 2)
|
|
5508
5522
|
], 38)) : p("", !0);
|
|
5509
5523
|
}
|
|
5510
|
-
}),
|
|
5524
|
+
}), _o = ["innerHTML"], xo = /* @__PURE__ */ y({
|
|
5511
5525
|
__name: "CustomWidget",
|
|
5512
5526
|
props: {
|
|
5513
5527
|
question: {},
|
|
@@ -5523,15 +5537,15 @@ const oe = /* @__PURE__ */ y({
|
|
|
5523
5537
|
e.question.customWidget.afterRender(e.question, n.value);
|
|
5524
5538
|
}), z(() => {
|
|
5525
5539
|
e.question.customWidget.willUnmount(e.question, n.value);
|
|
5526
|
-
}), (m,
|
|
5540
|
+
}), (m, C) => (i(), a("div", {
|
|
5527
5541
|
ref_key: "root",
|
|
5528
5542
|
ref: n
|
|
5529
5543
|
}, [
|
|
5530
5544
|
t.value ? (i(), a("div", {
|
|
5531
5545
|
key: 0,
|
|
5532
5546
|
innerHTML: o.value
|
|
5533
|
-
}, null, 8,
|
|
5534
|
-
s.value ? (i(),
|
|
5547
|
+
}, null, 8, _o)) : p("", !0),
|
|
5548
|
+
s.value ? (i(), g(d, {
|
|
5535
5549
|
key: 1,
|
|
5536
5550
|
is: r.value,
|
|
5537
5551
|
question: m.question,
|
|
@@ -5539,7 +5553,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5539
5553
|
}, null, 8, ["is", "question", "css"])) : p("", !0)
|
|
5540
5554
|
], 512));
|
|
5541
5555
|
}
|
|
5542
|
-
}),
|
|
5556
|
+
}), ei = /* @__PURE__ */ y({
|
|
5543
5557
|
__name: "PopupModal",
|
|
5544
5558
|
setup(u) {
|
|
5545
5559
|
const e = _();
|
|
@@ -5547,24 +5561,24 @@ const oe = /* @__PURE__ */ y({
|
|
|
5547
5561
|
const o = Xe(
|
|
5548
5562
|
s,
|
|
5549
5563
|
t
|
|
5550
|
-
), r = (m,
|
|
5551
|
-
|
|
5564
|
+
), r = (m, C) => {
|
|
5565
|
+
C.isVisible || (e.value = void 0, o.dispose(), o.onVisibilityChanged.remove(r));
|
|
5552
5566
|
};
|
|
5553
5567
|
return o.onVisibilityChanged.add(r), o.model.isVisible = !0, e.value = o, o;
|
|
5554
5568
|
}
|
|
5555
5569
|
return ee.showDialog || (ee.showDialog = n, P(() => {
|
|
5556
5570
|
ee.showDialog = void 0;
|
|
5557
|
-
})), (s, t) => e.value ? (i(),
|
|
5571
|
+
})), (s, t) => e.value ? (i(), g(Ne, {
|
|
5558
5572
|
key: 0,
|
|
5559
5573
|
to: e.value.container
|
|
5560
5574
|
}, [
|
|
5561
|
-
|
|
5575
|
+
c(d, {
|
|
5562
5576
|
is: "sv-popup-container",
|
|
5563
5577
|
model: e.value
|
|
5564
5578
|
}, null, 8, ["model"])
|
|
5565
5579
|
], 8, ["to"])) : p("", !0);
|
|
5566
5580
|
}
|
|
5567
|
-
}),
|
|
5581
|
+
}), si = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], ni = /* @__PURE__ */ y({
|
|
5568
5582
|
__name: "TextArea",
|
|
5569
5583
|
props: {
|
|
5570
5584
|
model: {},
|
|
@@ -5615,9 +5629,9 @@ const oe = /* @__PURE__ */ y({
|
|
|
5615
5629
|
"aria-invalid": o.model.ariaInvalid,
|
|
5616
5630
|
"aria-errormessage": o.model.ariaErrormessage,
|
|
5617
5631
|
style: L({ resize: o.model.question.resizeStyle })
|
|
5618
|
-
}, null, 46,
|
|
5632
|
+
}, null, 46, si));
|
|
5619
5633
|
}
|
|
5620
|
-
}),
|
|
5634
|
+
}), ti = /* @__PURE__ */ y({
|
|
5621
5635
|
__name: "CharacterCounter",
|
|
5622
5636
|
props: {
|
|
5623
5637
|
counter: {},
|
|
@@ -5629,7 +5643,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5629
5643
|
class: l(n.remainingCharacterCounter)
|
|
5630
5644
|
}, M(n.counter.remainingCharacterCounter), 3));
|
|
5631
5645
|
}
|
|
5632
|
-
}),
|
|
5646
|
+
}), oi = /* @__PURE__ */ y({
|
|
5633
5647
|
inheritAttrs: !1,
|
|
5634
5648
|
__name: "Composite",
|
|
5635
5649
|
props: {
|
|
@@ -5640,7 +5654,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5640
5654
|
const e = u, n = k(null);
|
|
5641
5655
|
R(e, n);
|
|
5642
5656
|
const s = f(() => e.question.contentPanel);
|
|
5643
|
-
return (t, o) => (i(),
|
|
5657
|
+
return (t, o) => (i(), g(d, {
|
|
5644
5658
|
is: "survey-panel",
|
|
5645
5659
|
ref_key: "root",
|
|
5646
5660
|
ref: n,
|
|
@@ -5648,7 +5662,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5648
5662
|
css: t.css
|
|
5649
5663
|
}, null, 8, ["element", "css"]));
|
|
5650
5664
|
}
|
|
5651
|
-
}),
|
|
5665
|
+
}), ii = /* @__PURE__ */ y({
|
|
5652
5666
|
inheritAttrs: !1,
|
|
5653
5667
|
__name: "Custom",
|
|
5654
5668
|
props: {
|
|
@@ -5661,16 +5675,16 @@ const oe = /* @__PURE__ */ y({
|
|
|
5661
5675
|
const s = f(() => e.question.contentQuestion);
|
|
5662
5676
|
I(() => s.value);
|
|
5663
5677
|
const t = (o) => ne(o);
|
|
5664
|
-
return (o, r) => (i(),
|
|
5678
|
+
return (o, r) => (i(), g(d, {
|
|
5665
5679
|
ref: n.value,
|
|
5666
5680
|
is: t(s.value),
|
|
5667
5681
|
question: s.value,
|
|
5668
5682
|
css: o.css
|
|
5669
5683
|
}, null, 8, ["is", "question", "css"]));
|
|
5670
5684
|
}
|
|
5671
|
-
}),
|
|
5672
|
-
|
|
5673
|
-
], ge = 440,
|
|
5685
|
+
}), ri = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), li = [
|
|
5686
|
+
ri
|
|
5687
|
+
], ge = 440, ai = /* @__PURE__ */ y({
|
|
5674
5688
|
__name: "TimerPanel",
|
|
5675
5689
|
props: {
|
|
5676
5690
|
model: {},
|
|
@@ -5686,7 +5700,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5686
5700
|
key: 0,
|
|
5687
5701
|
class: l(t.model.getProgressCss()),
|
|
5688
5702
|
style: L({ strokeDasharray: ge, strokeDashoffset: n.value })
|
|
5689
|
-
},
|
|
5703
|
+
}, li, 6)) : p("", !0),
|
|
5690
5704
|
v("div", {
|
|
5691
5705
|
class: l(t.model.textContainerCss)
|
|
5692
5706
|
}, [
|
|
@@ -5705,18 +5719,18 @@ const oe = /* @__PURE__ */ y({
|
|
|
5705
5719
|
[A, t.model.isRunning && !t.model.showTimerAsClock]
|
|
5706
5720
|
]);
|
|
5707
5721
|
}
|
|
5708
|
-
}),
|
|
5722
|
+
}), ui = { class: "sd-loading-indicator" }, di = /* @__PURE__ */ y({
|
|
5709
5723
|
__name: "LoadingIndicator",
|
|
5710
5724
|
setup(u) {
|
|
5711
|
-
return (e, n) => (i(), a("div",
|
|
5712
|
-
|
|
5725
|
+
return (e, n) => (i(), a("div", ui, [
|
|
5726
|
+
c(d, {
|
|
5713
5727
|
is: "sv-svg-icon",
|
|
5714
5728
|
iconName: "icon-loading",
|
|
5715
5729
|
size: "'auto'"
|
|
5716
5730
|
})
|
|
5717
5731
|
]));
|
|
5718
5732
|
}
|
|
5719
|
-
}),
|
|
5733
|
+
}), mi = { key: 2 }, pi = /* @__PURE__ */ y({
|
|
5720
5734
|
__name: "Header",
|
|
5721
5735
|
props: {
|
|
5722
5736
|
model: {},
|
|
@@ -5746,24 +5760,24 @@ const oe = /* @__PURE__ */ y({
|
|
|
5746
5760
|
class: l(n.model.contentClasses),
|
|
5747
5761
|
style: L({ maxWidth: n.model.maxWidth })
|
|
5748
5762
|
}, [
|
|
5749
|
-
(i(!0), a(H, null, V(n.model.cells, (t, o) => (i(),
|
|
5763
|
+
(i(!0), a(H, null, V(n.model.cells, (t, o) => (i(), g(d, {
|
|
5750
5764
|
is: "sv-header-cell",
|
|
5751
5765
|
model: t,
|
|
5752
5766
|
key: o
|
|
5753
5767
|
}, null, 8, ["model"]))), 128))
|
|
5754
5768
|
], 6)),
|
|
5755
|
-
n.survey.isMobile ? (i(), a("div",
|
|
5756
|
-
|
|
5769
|
+
n.survey.isMobile ? (i(), a("div", mi, [
|
|
5770
|
+
c(d, {
|
|
5757
5771
|
is: "sv-header-mobile",
|
|
5758
5772
|
model: n.model
|
|
5759
5773
|
}, null, 8, ["model"])
|
|
5760
5774
|
])) : p("", !0)
|
|
5761
5775
|
], 6)) : p("", !0);
|
|
5762
5776
|
}
|
|
5763
|
-
}),
|
|
5777
|
+
}), vi = {
|
|
5764
5778
|
key: 0,
|
|
5765
5779
|
class: "sv-header__logo"
|
|
5766
|
-
},
|
|
5780
|
+
}, Ci = ["src", "width", "height", "alt"], ci = /* @__PURE__ */ y({
|
|
5767
5781
|
__name: "HeaderCell",
|
|
5768
5782
|
props: {
|
|
5769
5783
|
model: {}
|
|
@@ -5777,7 +5791,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5777
5791
|
class: "sv-header__cell-content",
|
|
5778
5792
|
style: L(e.model.contentStyle)
|
|
5779
5793
|
}, [
|
|
5780
|
-
e.model.showLogo ? (i(), a("div",
|
|
5794
|
+
e.model.showLogo ? (i(), a("div", vi, [
|
|
5781
5795
|
v("div", {
|
|
5782
5796
|
class: l(e.model.survey.logoClassNames)
|
|
5783
5797
|
}, [
|
|
@@ -5788,7 +5802,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5788
5802
|
height: e.model.survey.renderedLogoHeight,
|
|
5789
5803
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5790
5804
|
style: L({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5791
|
-
}, null, 14,
|
|
5805
|
+
}, null, 14, Ci)
|
|
5792
5806
|
], 2)
|
|
5793
5807
|
])) : p("", !0),
|
|
5794
5808
|
e.model.showTitle ? (i(), a("div", {
|
|
@@ -5796,7 +5810,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5796
5810
|
class: "sv-header__title",
|
|
5797
5811
|
style: L({ maxWidth: e.model.textAreaWidth })
|
|
5798
5812
|
}, [
|
|
5799
|
-
|
|
5813
|
+
c(d, {
|
|
5800
5814
|
is: "survey-element-title",
|
|
5801
5815
|
element: e.model.survey,
|
|
5802
5816
|
css: e.model.survey.css
|
|
@@ -5811,7 +5825,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5811
5825
|
key: 0,
|
|
5812
5826
|
class: l(e.model.survey.css.description)
|
|
5813
5827
|
}, [
|
|
5814
|
-
|
|
5828
|
+
c(d, {
|
|
5815
5829
|
is: "survey-string",
|
|
5816
5830
|
locString: e.model.survey.locDescription
|
|
5817
5831
|
}, null, 8, ["locString"])
|
|
@@ -5820,17 +5834,17 @@ const oe = /* @__PURE__ */ y({
|
|
|
5820
5834
|
], 4)
|
|
5821
5835
|
], 6));
|
|
5822
5836
|
}
|
|
5823
|
-
}),
|
|
5837
|
+
}), gi = { class: "sv-header--mobile" }, yi = {
|
|
5824
5838
|
key: 0,
|
|
5825
5839
|
class: "sv-header__logo"
|
|
5826
|
-
},
|
|
5840
|
+
}, hi = ["src", "width", "height", "alt"], qi = /* @__PURE__ */ y({
|
|
5827
5841
|
__name: "HeaderMobile",
|
|
5828
5842
|
props: {
|
|
5829
5843
|
model: {}
|
|
5830
5844
|
},
|
|
5831
5845
|
setup(u) {
|
|
5832
|
-
return (e, n) => (i(), a("div",
|
|
5833
|
-
e.model.survey.hasLogo ? (i(), a("div",
|
|
5846
|
+
return (e, n) => (i(), a("div", gi, [
|
|
5847
|
+
e.model.survey.hasLogo ? (i(), a("div", yi, [
|
|
5834
5848
|
v("div", {
|
|
5835
5849
|
class: l(e.model.survey.logoClassNames)
|
|
5836
5850
|
}, [
|
|
@@ -5841,7 +5855,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5841
5855
|
height: e.model.survey.renderedLogoHeight,
|
|
5842
5856
|
alt: e.model.survey.locTitle.renderedHtml,
|
|
5843
5857
|
style: L({ objectFit: e.model.survey.logoFit, width: e.model.survey.renderedStyleLogoWidth, height: e.model.survey.renderedStyleLogoHeight })
|
|
5844
|
-
}, null, 14,
|
|
5858
|
+
}, null, 14, hi)
|
|
5845
5859
|
], 2)
|
|
5846
5860
|
])) : p("", !0),
|
|
5847
5861
|
e.model.survey.hasTitle ? (i(), a("div", {
|
|
@@ -5849,7 +5863,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5849
5863
|
class: "sv-header__title",
|
|
5850
5864
|
style: L({ maxWidth: e.model.renderedTextAreaWidth })
|
|
5851
5865
|
}, [
|
|
5852
|
-
|
|
5866
|
+
c(d, {
|
|
5853
5867
|
is: "survey-element-title",
|
|
5854
5868
|
element: e.model.survey,
|
|
5855
5869
|
css: e.model.survey.css
|
|
@@ -5864,7 +5878,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5864
5878
|
key: 0,
|
|
5865
5879
|
class: l(e.model.survey.css.description)
|
|
5866
5880
|
}, [
|
|
5867
|
-
|
|
5881
|
+
c(d, {
|
|
5868
5882
|
is: "survey-string",
|
|
5869
5883
|
locString: e.model.survey.locDescription
|
|
5870
5884
|
}, null, 8, ["locString"])
|
|
@@ -5872,7 +5886,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5872
5886
|
], 4)) : p("", !0)
|
|
5873
5887
|
]));
|
|
5874
5888
|
}
|
|
5875
|
-
}),
|
|
5889
|
+
}), wi = /* @__PURE__ */ y({
|
|
5876
5890
|
__name: "Element",
|
|
5877
5891
|
props: {
|
|
5878
5892
|
element: {},
|
|
@@ -5882,21 +5896,21 @@ const oe = /* @__PURE__ */ y({
|
|
|
5882
5896
|
setup(u) {
|
|
5883
5897
|
const e = u, n = k();
|
|
5884
5898
|
I(() => e.element);
|
|
5885
|
-
const s = (
|
|
5886
|
-
const
|
|
5887
|
-
if (
|
|
5888
|
-
const S =
|
|
5899
|
+
const s = (C) => C.isPanel ? "survey-panel" : "survey-question", t = f(() => {
|
|
5900
|
+
const C = e.element.survey;
|
|
5901
|
+
if (C) {
|
|
5902
|
+
const S = C.getElementWrapperComponentName(e.element);
|
|
5889
5903
|
if (S)
|
|
5890
5904
|
return S;
|
|
5891
5905
|
}
|
|
5892
5906
|
return s(e.element);
|
|
5893
|
-
}), o = (
|
|
5894
|
-
const
|
|
5907
|
+
}), o = (C) => C.cssClasses ? C.rootStyle : {}, r = f(() => {
|
|
5908
|
+
const C = e.element, S = C.survey;
|
|
5895
5909
|
let h;
|
|
5896
|
-
return S && (h = S.getElementWrapperComponentData(
|
|
5897
|
-
componentName: s(
|
|
5910
|
+
return S && (h = S.getElementWrapperComponentData(C)), {
|
|
5911
|
+
componentName: s(C),
|
|
5898
5912
|
componentData: {
|
|
5899
|
-
element:
|
|
5913
|
+
element: C,
|
|
5900
5914
|
survey: S,
|
|
5901
5915
|
row: e.row,
|
|
5902
5916
|
css: e.css,
|
|
@@ -5905,32 +5919,32 @@ const oe = /* @__PURE__ */ y({
|
|
|
5905
5919
|
};
|
|
5906
5920
|
}), m = N(
|
|
5907
5921
|
() => e.element,
|
|
5908
|
-
(
|
|
5909
|
-
S && S.setWrapperElement(void 0),
|
|
5922
|
+
(C, S) => {
|
|
5923
|
+
S && S.setWrapperElement(void 0), C.setWrapperElement(n.value);
|
|
5910
5924
|
}
|
|
5911
5925
|
);
|
|
5912
5926
|
return T(() => {
|
|
5913
5927
|
e.element.setWrapperElement(n.value);
|
|
5914
5928
|
}), P(() => {
|
|
5915
5929
|
e.element.setWrapperElement(void 0), m();
|
|
5916
|
-
}), (
|
|
5930
|
+
}), (C, S) => (i(), a("div", {
|
|
5917
5931
|
ref_key: "root",
|
|
5918
5932
|
ref: n,
|
|
5919
|
-
style: L(o(
|
|
5920
|
-
class: l(
|
|
5933
|
+
style: L(o(C.element)),
|
|
5934
|
+
class: l(C.element.cssClasses.questionWrapper)
|
|
5921
5935
|
}, [
|
|
5922
|
-
|
|
5936
|
+
C.row.isNeedRender ? (i(), g(d, $({
|
|
5923
5937
|
key: 0,
|
|
5924
5938
|
is: t.value
|
|
5925
|
-
}, r.value), null, 16, ["is"])) :
|
|
5939
|
+
}, r.value), null, 16, ["is"])) : C.element.skeletonComponentName ? (i(), g(d, {
|
|
5926
5940
|
key: 1,
|
|
5927
|
-
is:
|
|
5928
|
-
element:
|
|
5929
|
-
css:
|
|
5941
|
+
is: C.element.skeletonComponentName,
|
|
5942
|
+
element: C.element,
|
|
5943
|
+
css: C.css
|
|
5930
5944
|
}, null, 8, ["is", "element", "css"])) : p("", !0)
|
|
5931
5945
|
], 6));
|
|
5932
5946
|
}
|
|
5933
|
-
}),
|
|
5947
|
+
}), bi = /* @__PURE__ */ y({
|
|
5934
5948
|
__name: "TemplateRenderer",
|
|
5935
5949
|
props: {
|
|
5936
5950
|
componentName: {},
|
|
@@ -5938,12 +5952,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5938
5952
|
},
|
|
5939
5953
|
setup(u) {
|
|
5940
5954
|
const e = Ee(), n = f(() => !!e.default);
|
|
5941
|
-
return (s, t) => n.value && !s.componentName ? X(s.$slots, "default", { key: 0 }) : (i(),
|
|
5955
|
+
return (s, t) => n.value && !s.componentName ? X(s.$slots, "default", { key: 0 }) : (i(), g(d, $({
|
|
5942
5956
|
key: 1,
|
|
5943
5957
|
is: s.componentName
|
|
5944
5958
|
}, s.componentData), null, 16, ["is"]));
|
|
5945
5959
|
}
|
|
5946
|
-
}),
|
|
5960
|
+
}), Li = /* @__PURE__ */ y({
|
|
5947
5961
|
__name: "FileCleanButton",
|
|
5948
5962
|
props: {
|
|
5949
5963
|
question: {},
|
|
@@ -5957,7 +5971,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5957
5971
|
(...s) => e.question.doClean && e.question.doClean(...s))
|
|
5958
5972
|
}, [
|
|
5959
5973
|
v("span", null, M(e.question.clearButtonCaption), 1),
|
|
5960
|
-
e.question.cssClasses.removeButtonIconId ? (i(),
|
|
5974
|
+
e.question.cssClasses.removeButtonIconId ? (i(), g(d, {
|
|
5961
5975
|
key: 0,
|
|
5962
5976
|
is: "sv-svg-icon",
|
|
5963
5977
|
iconName: e.question.cssClasses.removeButtonIconId,
|
|
@@ -5966,7 +5980,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5966
5980
|
}, null, 8, ["iconName", "title"])) : p("", !0)
|
|
5967
5981
|
], 2));
|
|
5968
5982
|
}
|
|
5969
|
-
}),
|
|
5983
|
+
}), ki = ["id"], fi = /* @__PURE__ */ y({
|
|
5970
5984
|
__name: "FileVideo",
|
|
5971
5985
|
props: {
|
|
5972
5986
|
question: {}
|
|
@@ -5975,11 +5989,11 @@ const oe = /* @__PURE__ */ y({
|
|
|
5975
5989
|
return (e, n) => (i(), a("div", {
|
|
5976
5990
|
class: l(e.question.cssClasses.videoContainer)
|
|
5977
5991
|
}, [
|
|
5978
|
-
|
|
5992
|
+
c(d, {
|
|
5979
5993
|
is: "sv-action",
|
|
5980
5994
|
item: e.question.changeCameraAction
|
|
5981
5995
|
}, null, 8, ["item"]),
|
|
5982
|
-
|
|
5996
|
+
c(d, {
|
|
5983
5997
|
is: "sv-action",
|
|
5984
5998
|
item: e.question.closeCameraAction
|
|
5985
5999
|
}, null, 8, ["item"]),
|
|
@@ -5988,14 +6002,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5988
6002
|
playsinline: "",
|
|
5989
6003
|
id: e.question.videoId,
|
|
5990
6004
|
class: l(e.question.cssClasses.video)
|
|
5991
|
-
}, null, 10,
|
|
5992
|
-
|
|
6005
|
+
}, null, 10, ki),
|
|
6006
|
+
c(d, {
|
|
5993
6007
|
is: "sv-action",
|
|
5994
6008
|
item: e.question.takePictureAction
|
|
5995
6009
|
}, null, 8, ["item"])
|
|
5996
6010
|
], 2));
|
|
5997
6011
|
}
|
|
5998
|
-
}),
|
|
6012
|
+
}), Hi = ["for", "aria-label"], Mi = /* @__PURE__ */ y({
|
|
5999
6013
|
__name: "FileChooseButton",
|
|
6000
6014
|
props: {
|
|
6001
6015
|
data: {},
|
|
@@ -6015,7 +6029,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6015
6029
|
"aria-label": n.value.chooseButtonText,
|
|
6016
6030
|
onClick: t[0] || (t[0] = (o) => n.value.chooseFile(o))
|
|
6017
6031
|
}, [
|
|
6018
|
-
n.value.cssClasses.chooseFileIconId ? (i(),
|
|
6032
|
+
n.value.cssClasses.chooseFileIconId ? (i(), g(d, {
|
|
6019
6033
|
key: 0,
|
|
6020
6034
|
is: "sv-svg-icon",
|
|
6021
6035
|
title: n.value.chooseButtonText,
|
|
@@ -6023,11 +6037,11 @@ const oe = /* @__PURE__ */ y({
|
|
|
6023
6037
|
size: "auto"
|
|
6024
6038
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
6025
6039
|
v("span", null, M(n.value.chooseButtonText), 1)
|
|
6026
|
-
], 10,
|
|
6040
|
+
], 10, Hi)), [
|
|
6027
6041
|
[w(O)]
|
|
6028
6042
|
]);
|
|
6029
6043
|
}
|
|
6030
|
-
}),
|
|
6044
|
+
}), Ii = /* @__PURE__ */ y({
|
|
6031
6045
|
__name: "FilePreview",
|
|
6032
6046
|
props: {
|
|
6033
6047
|
question: {}
|
|
@@ -6037,7 +6051,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6037
6051
|
key: 0,
|
|
6038
6052
|
class: l(e.question.cssClasses.fileList || void 0)
|
|
6039
6053
|
}, [
|
|
6040
|
-
(i(!0), a(H, null, V(e.question.renderedPages, (s) => (i(),
|
|
6054
|
+
(i(!0), a(H, null, V(e.question.renderedPages, (s) => (i(), g(d, {
|
|
6041
6055
|
is: "sv-file-page",
|
|
6042
6056
|
key: s.id,
|
|
6043
6057
|
page: s,
|
|
@@ -6045,7 +6059,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6045
6059
|
}, null, 8, ["page", "question"]))), 128))
|
|
6046
6060
|
], 2)) : p("", !0);
|
|
6047
6061
|
}
|
|
6048
|
-
}),
|
|
6062
|
+
}), Vi = /* @__PURE__ */ y({
|
|
6049
6063
|
__name: "ButtonGroup",
|
|
6050
6064
|
props: {
|
|
6051
6065
|
question: {}
|
|
@@ -6058,7 +6072,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6058
6072
|
ref_key: "root",
|
|
6059
6073
|
ref: n
|
|
6060
6074
|
}, [
|
|
6061
|
-
(i(!0), a(H, null, V(s.question.visibleChoices, (o, r) => (i(),
|
|
6075
|
+
(i(!0), a(H, null, V(s.question.visibleChoices, (o, r) => (i(), g(d, {
|
|
6062
6076
|
is: "sv-button-group-item",
|
|
6063
6077
|
question: s.question,
|
|
6064
6078
|
key: r,
|
|
@@ -6067,7 +6081,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6067
6081
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6068
6082
|
], 2));
|
|
6069
6083
|
}
|
|
6070
|
-
}),
|
|
6084
|
+
}), Si = ["title"], Ri = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ti = ["title"], Bi = /* @__PURE__ */ y({
|
|
6071
6085
|
__name: "ButtonGroupItem",
|
|
6072
6086
|
props: {
|
|
6073
6087
|
item: {},
|
|
@@ -6100,13 +6114,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
6100
6114
|
class: l(n.value.css.control),
|
|
6101
6115
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => s.value = r),
|
|
6102
6116
|
value: n.value.value
|
|
6103
|
-
}, null, 10,
|
|
6117
|
+
}, null, 10, Ri), [
|
|
6104
6118
|
[qe, s.value]
|
|
6105
6119
|
]),
|
|
6106
6120
|
v("div", {
|
|
6107
6121
|
class: l(n.value.css.decorator)
|
|
6108
6122
|
}, [
|
|
6109
|
-
n.value.iconName ? (i(),
|
|
6123
|
+
n.value.iconName ? (i(), g(d, {
|
|
6110
6124
|
key: 0,
|
|
6111
6125
|
is: "sv-svg-icon",
|
|
6112
6126
|
iconName: n.value.iconName,
|
|
@@ -6118,13 +6132,13 @@ const oe = /* @__PURE__ */ y({
|
|
|
6118
6132
|
class: l(n.value.css.caption),
|
|
6119
6133
|
title: n.value.caption.renderedHtml
|
|
6120
6134
|
}, [
|
|
6121
|
-
|
|
6135
|
+
c(d, {
|
|
6122
6136
|
is: "survey-string",
|
|
6123
6137
|
locString: n.value.caption
|
|
6124
6138
|
}, null, 8, ["locString"])
|
|
6125
|
-
], 10,
|
|
6139
|
+
], 10, Ti)) : p("", !0)
|
|
6126
6140
|
], 2)
|
|
6127
|
-
], 10,
|
|
6141
|
+
], 10, Si));
|
|
6128
6142
|
}
|
|
6129
6143
|
});
|
|
6130
6144
|
U.Instance.registerRenderer(
|
|
@@ -6132,7 +6146,7 @@ U.Instance.registerRenderer(
|
|
|
6132
6146
|
"dropdown",
|
|
6133
6147
|
"sv-buttongroup-dropdown"
|
|
6134
6148
|
);
|
|
6135
|
-
const
|
|
6149
|
+
const Zi = /* @__PURE__ */ y({
|
|
6136
6150
|
inheritAttrs: !1,
|
|
6137
6151
|
__name: "ButtonGroupDropdown",
|
|
6138
6152
|
props: {
|
|
@@ -6145,13 +6159,13 @@ const Si = /* @__PURE__ */ y({
|
|
|
6145
6159
|
ref_key: "root",
|
|
6146
6160
|
ref: n
|
|
6147
6161
|
}, [
|
|
6148
|
-
|
|
6162
|
+
c(d, {
|
|
6149
6163
|
is: "sv-dropdown",
|
|
6150
6164
|
question: s.question
|
|
6151
6165
|
}, null, 8, ["question"])
|
|
6152
6166
|
], 2));
|
|
6153
6167
|
}
|
|
6154
|
-
}),
|
|
6168
|
+
}), $i = ["src", "width", "height", "alt"], Di = /* @__PURE__ */ y({
|
|
6155
6169
|
inheritAttrs: !1,
|
|
6156
6170
|
__name: "Logo",
|
|
6157
6171
|
props: {
|
|
@@ -6173,10 +6187,10 @@ const Si = /* @__PURE__ */ y({
|
|
|
6173
6187
|
width: n.value.renderedStyleLogoWidth,
|
|
6174
6188
|
height: n.value.renderedStyleLogoHeight
|
|
6175
6189
|
})
|
|
6176
|
-
}, null, 14,
|
|
6190
|
+
}, null, 14, $i)
|
|
6177
6191
|
], 2));
|
|
6178
6192
|
}
|
|
6179
|
-
}),
|
|
6193
|
+
}), Ai = /* @__PURE__ */ y({
|
|
6180
6194
|
__name: "SvgBundle",
|
|
6181
6195
|
setup(u) {
|
|
6182
6196
|
const e = k(), n = () => {
|
|
@@ -6194,7 +6208,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6194
6208
|
[A, !1]
|
|
6195
6209
|
]);
|
|
6196
6210
|
}
|
|
6197
|
-
}),
|
|
6211
|
+
}), Pi = ["id"], Ni = /* @__PURE__ */ y({
|
|
6198
6212
|
__name: "FilePage",
|
|
6199
6213
|
props: {
|
|
6200
6214
|
page: {},
|
|
@@ -6206,15 +6220,15 @@ const Si = /* @__PURE__ */ y({
|
|
|
6206
6220
|
class: l(n.page.css),
|
|
6207
6221
|
id: n.page.id
|
|
6208
6222
|
}, [
|
|
6209
|
-
(i(!0), a(H, null, V(n.page.items, (t) => (i(),
|
|
6223
|
+
(i(!0), a(H, null, V(n.page.items, (t) => (i(), g(d, {
|
|
6210
6224
|
is: "sv-file-item",
|
|
6211
6225
|
key: t,
|
|
6212
6226
|
item: t,
|
|
6213
6227
|
question: n.question
|
|
6214
6228
|
}, null, 8, ["item", "question"]))), 128))
|
|
6215
|
-
], 10,
|
|
6229
|
+
], 10, Pi));
|
|
6216
6230
|
}
|
|
6217
|
-
}),
|
|
6231
|
+
}), Ei = ["href", "title", "download"], Wi = ["src"], Fi = ["href", "title", "download"], Oi = /* @__PURE__ */ y({
|
|
6218
6232
|
__name: "FileItem",
|
|
6219
6233
|
props: {
|
|
6220
6234
|
item: {},
|
|
@@ -6235,7 +6249,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6235
6249
|
title: e.item.name,
|
|
6236
6250
|
download: e.item.name,
|
|
6237
6251
|
style: L({ width: e.question.imageWidth })
|
|
6238
|
-
}, M(e.item.name), 13,
|
|
6252
|
+
}, M(e.item.name), 13, Ei)
|
|
6239
6253
|
], 2)) : p("", !0),
|
|
6240
6254
|
v("div", {
|
|
6241
6255
|
class: l(e.question.getImageWrapperCss(e.item))
|
|
@@ -6248,8 +6262,8 @@ const Si = /* @__PURE__ */ y({
|
|
|
6248
6262
|
width: e.question.imageWidth
|
|
6249
6263
|
}),
|
|
6250
6264
|
alt: "File preview"
|
|
6251
|
-
}, null, 12,
|
|
6252
|
-
e.question.defaultImage(e.item) ? (i(),
|
|
6265
|
+
}, null, 12, Wi)) : p("", !0),
|
|
6266
|
+
e.question.defaultImage(e.item) ? (i(), g(d, {
|
|
6253
6267
|
key: 1,
|
|
6254
6268
|
is: "sv-svg-icon",
|
|
6255
6269
|
iconName: e.question.cssClasses.defaultImageIconId,
|
|
@@ -6264,7 +6278,7 @@ const Si = /* @__PURE__ */ y({
|
|
|
6264
6278
|
v("span", {
|
|
6265
6279
|
class: l(e.question.cssClasses.removeFile)
|
|
6266
6280
|
}, M(e.question.removeFileCaption), 3),
|
|
6267
|
-
e.question.cssClasses.removeFileSvgIconId ? (i(),
|
|
6281
|
+
e.question.cssClasses.removeFileSvgIconId ? (i(), g(d, {
|
|
6268
6282
|
key: 0,
|
|
6269
6283
|
is: "sv-svg-icon",
|
|
6270
6284
|
title: e.question.removeFileCaption,
|
|
@@ -6284,13 +6298,13 @@ const Si = /* @__PURE__ */ y({
|
|
|
6284
6298
|
title: e.item.name,
|
|
6285
6299
|
download: e.item.name,
|
|
6286
6300
|
style: L({ width: e.question.imageWidth })
|
|
6287
|
-
}, M(e.item.name), 13,
|
|
6301
|
+
}, M(e.item.name), 13, Fi)
|
|
6288
6302
|
], 2)) : p("", !0)
|
|
6289
6303
|
], 2)), [
|
|
6290
6304
|
[A, e.item]
|
|
6291
6305
|
]);
|
|
6292
6306
|
}
|
|
6293
|
-
}),
|
|
6307
|
+
}), zi = ["onClick"], Ui = ["data-responsive-title"], Qi = /* @__PURE__ */ y({
|
|
6294
6308
|
__name: "MatrixRow",
|
|
6295
6309
|
props: {
|
|
6296
6310
|
question: {},
|
|
@@ -6312,12 +6326,12 @@ const Si = /* @__PURE__ */ y({
|
|
|
6312
6326
|
width: s.question.rowTitleWidth
|
|
6313
6327
|
})
|
|
6314
6328
|
}, [
|
|
6315
|
-
|
|
6329
|
+
c(d, {
|
|
6316
6330
|
is: s.question.getRowHeaderWrapperComponentName(s.row),
|
|
6317
6331
|
componentData: s.question.getRowHeaderWrapperComponentData(s.row)
|
|
6318
6332
|
}, {
|
|
6319
6333
|
default: D(() => [
|
|
6320
|
-
|
|
6334
|
+
c(d, {
|
|
6321
6335
|
is: "survey-string",
|
|
6322
6336
|
locString: s.row.locText
|
|
6323
6337
|
}, null, 8, ["locString"])
|
|
@@ -6332,42 +6346,42 @@ const Si = /* @__PURE__ */ y({
|
|
|
6332
6346
|
class: l(s.question.getItemClass(s.row, o)),
|
|
6333
6347
|
onClick: (m) => n(s.row, o)
|
|
6334
6348
|
}, [
|
|
6335
|
-
|
|
6349
|
+
c(d, {
|
|
6336
6350
|
is: "survey-string",
|
|
6337
6351
|
locString: s.question.getCellDisplayLocText(s.row.name, o)
|
|
6338
6352
|
}, null, 8, ["locString"])
|
|
6339
|
-
], 10,
|
|
6353
|
+
], 10, zi))), 128)) : p("", !0),
|
|
6340
6354
|
s.question.hasCellText ? p("", !0) : (i(!0), a(H, { key: 1 }, V(s.question.visibleColumns, (o, r) => (i(), a("td", {
|
|
6341
6355
|
key: r,
|
|
6342
6356
|
"data-responsive-title": o.locText.renderedHtml,
|
|
6343
6357
|
class: l(s.question.cssClasses.cell)
|
|
6344
6358
|
}, [
|
|
6345
|
-
|
|
6359
|
+
c(d, {
|
|
6346
6360
|
is: s.question.cellComponent,
|
|
6347
6361
|
question: s.question,
|
|
6348
6362
|
row: s.row,
|
|
6349
6363
|
column: o,
|
|
6350
6364
|
columnIndex: r
|
|
6351
6365
|
}, null, 8, ["is", "question", "row", "column", "columnIndex"])
|
|
6352
|
-
], 10,
|
|
6366
|
+
], 10, Ui))), 128))
|
|
6353
6367
|
], 2));
|
|
6354
6368
|
}
|
|
6355
6369
|
});
|
|
6356
6370
|
_e.platform = "vue3";
|
|
6357
|
-
function
|
|
6371
|
+
function Ki(u, e, n) {
|
|
6358
6372
|
u(e, n);
|
|
6359
6373
|
}
|
|
6360
6374
|
function Me(u) {
|
|
6361
|
-
const e =
|
|
6375
|
+
const e = Ki.bind(
|
|
6362
6376
|
void 0,
|
|
6363
6377
|
u
|
|
6364
6378
|
);
|
|
6365
|
-
e("sv-svg-bundle",
|
|
6379
|
+
e("sv-svg-bundle", Ai), e("popup-survey", He), e("survey-header", ts), e("sv-logo-image", Di), 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", Ms), 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", Li), e("sv-file-preview", Ii), e("sv-file-page", Ni), e("sv-file-item", Oi), e("sv-file-video", fi), 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", M1), 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", Hn), e("sv-single-input-summary", Rn), e("survey-slider", Zn), e("sv-slider-label-item", $n), e("survey-matrix", En), e("sv-matrix-row", Qi), e("survey-matrix-row", Fn), e("survey-matrix-cell", Un), e("survey-matrixdropdown", Qn), e("survey-matrixtable", Jn), e("survey-matrixheaderrequired", Yn), e("survey-matrixdropdown-cell", xn), e("survey-matrixdynamic", ot), e("survey-placeholder-matrixdynamic", it), e("sv-matrix-remove-button", lt), e("sv-matrix-drag-drop-icon", ut), e("sv-matrix-detail-button", mt), e("survey-paneldynamic", vt), e("survey-paneldynamicprogress", ct), e("survey-paneldynamicprogress-v2", yt), e("survey-placeholder-paneldynamic", ht), e("sv-paneldynamic-add-btn", wt), e("sv-paneldynamic-next-btn", Lt), e("sv-paneldynamic-prev-btn", ft), e("sv-paneldynamic-remove-btn", Mt), e("sv-paneldynamic-progress-text", It), e("sv-components-container", Io), e("sv-progress-buttons", Do), e("sv-navigation-toc", Ao), e("sv-progress-pages", G), e("sv-progress-questions", G), e("sv-progress-correctquestions", G), e("sv-progress-requiredquestions", G), e("survey-errors", St), e("survey-question-comment", Tt), e("survey-element-title", Bt), e("survey-element-title-content", Pt), e("sv-title-actions", Wt), e("sv-brand-info", jt), e("sv-question-error", Yt), e("sv-svg-icon", Xt), e("sv-action-bar", _t), e("sv-action", so), e("sv-action-bar-item", oo), e("sv-action-bar-item-dropdown", lo), e("sv-action-bar-separator", ao), e("sv-list", vo), e("sv-list-item-content", yo), e("sv-list-item-group", ho), e("sv-list-item", go), e("sv-popup", qo), e("sv-popup-container", Ho), e("popup-pointer", Mo), e("sv-notifier", jo), e("survey-other-choice", Jo), e("sv-nav-btn", Yo), e("survey-customwidget", xo), e("survey-popup-modal", ei), e("survey-composite", oi), e("survey-custom", ii), e("sv-timerpanel", ai), e("sv-loading-indicator", di), e("sv-header", pi), e("sv-header-cell", ci), e("sv-header-mobile", qi), e("sv-template-renderer", bi), e("sv-character-counter", ti), e("sv-text-area", ni), e("survey-element", wi), e("survey-buttongroup", Vi), e("sv-button-group-item", Bi), e("sv-buttongroup-dropdown", Zi), e("survey", oe);
|
|
6366
6380
|
}
|
|
6367
6381
|
Me(
|
|
6368
6382
|
(u, e) => W.Instance.registerComponent(u, e)
|
|
6369
6383
|
);
|
|
6370
|
-
const
|
|
6384
|
+
const Xi = {
|
|
6371
6385
|
install(u) {
|
|
6372
6386
|
u.component("SurveyComponent", oe), u.component("PopupSurveyComponent", He), u.directive("key2click", O), Me((e, n) => {
|
|
6373
6387
|
u.component(e, n), W.Instance.registerComponent(e, e);
|
|
@@ -6380,7 +6394,7 @@ export {
|
|
|
6380
6394
|
oe as SurveyComponent,
|
|
6381
6395
|
d as SvComponent,
|
|
6382
6396
|
O as key2ClickDirective,
|
|
6383
|
-
|
|
6397
|
+
Xi as surveyPlugin,
|
|
6384
6398
|
I as useBase,
|
|
6385
6399
|
F as useLocString,
|
|
6386
6400
|
R as useQuestion
|