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