survey-vue3-ui 2.4.1 → 2.5.1
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 +212 -209
- package/survey-vue3-ui.umd.js +4 -4
- package/types/StringViewer.vue.d.ts +1 -0
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var Ve = (u, e, n) => e in u ?
|
|
1
|
+
var Se = Object.defineProperty;
|
|
2
|
+
var Ve = (u, e, n) => e in u ? Se(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
3
|
var K = (u, e, n) => (Ve(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as y, computed as f, openBlock as i, createBlock as C, resolveDynamicComponent as
|
|
5
|
-
import { ScrollViewModel as
|
|
4
|
+
import { defineComponent as y, computed as f, openBlock as i, createBlock as C, resolveDynamicComponent as ye, normalizeProps as ue, guardReactiveProps as de, createSlots as Re, renderList as S, withCtx as D, renderSlot as J, watch as N, onBeforeUpdate as Te, onUpdated as E, onBeforeMount as Be, onMounted as T, onBeforeUnmount as z, ref as k, unref as w, isRef as x, triggerRef as he, nextTick as qe, customRef as Ze, createElementBlock as a, normalizeClass as l, createVNode as c, createCommentVNode as p, Fragment as M, mergeProps as $, normalizeStyle as L, createElementVNode as v, onUnmounted as P, withDirectives as B, vShow as A, toDisplayString as H, vModelCheckbox as se, vModelRadio as we, vModelSelect as $e, vModelText as De, shallowRef as Y, createStaticVNode as Ae, toRaw as Pe, Teleport as Ne, useSlots as Ee } from "vue";
|
|
5
|
+
import { ScrollViewModel as We, RendererFactory as U, Helpers as Fe, DropdownMultiSelectListModel as Oe, doKey2ClickUp as be, createSvg as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Qe, ActionDropdownViewModel as Ke, createPopupViewModel as je, SurveyProgressModel as me, ProgressButtonsResponsivityManager as Ge, addIconsToThemeSet as Le, SvgRegistry as G, PopupSurveyModel as Je, settings as ee, createPopupModalViewModel as Xe, ButtonGroupItemModel as Ye, SurveyModel as _e } from "survey-core";
|
|
6
6
|
const X = class X {
|
|
7
7
|
constructor() {
|
|
8
8
|
K(this, "creatorHash", {});
|
|
@@ -35,29 +35,29 @@ const d = /* @__PURE__ */ y({
|
|
|
35
35
|
const e = u, n = f(
|
|
36
36
|
() => W.Instance.getComponent(e.is)
|
|
37
37
|
);
|
|
38
|
-
return (s, t) => (i(), C(
|
|
39
|
-
|
|
38
|
+
return (s, t) => (i(), C(ye(n.value), ue(de(s.$attrs)), Re({ _: 2 }, [
|
|
39
|
+
S(s.$slots, (o, r) => ({
|
|
40
40
|
name: r,
|
|
41
41
|
fn: D((m) => [
|
|
42
|
-
J(s.$slots, r,
|
|
42
|
+
J(s.$slots, r, ue(de(m)))
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
45
45
|
]), 1040));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
|
-
class
|
|
48
|
+
class xe {
|
|
49
49
|
constructor(e) {
|
|
50
50
|
K(this, "currentNextTickPromise");
|
|
51
51
|
this.element = e;
|
|
52
52
|
}
|
|
53
53
|
async add() {
|
|
54
|
-
const e =
|
|
54
|
+
const e = qe();
|
|
55
55
|
this.currentNextTickPromise !== e && (this.currentNextTickPromise = e, await e, e == this.currentNextTickPromise && this.element.afterRerender());
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function es(u) {
|
|
59
59
|
let e = u.initialValue;
|
|
60
|
-
return
|
|
60
|
+
return Ze((n, s) => {
|
|
61
61
|
const t = () => {
|
|
62
62
|
u.isUpdateAllowed() && (s(), u.nextRenderManager.add());
|
|
63
63
|
};
|
|
@@ -72,14 +72,14 @@ function xe(u) {
|
|
|
72
72
|
};
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function ss(u) {
|
|
76
76
|
if (u) {
|
|
77
77
|
if (u.__vueUpdatesLock = u.__vueUpdatesLock ?? 0, u.__vueImplemented = u.__vueImplemented ?? 0, u.__vueImplemented <= 0) {
|
|
78
|
-
const e = () => u.__vueUpdatesLock <= 0, n = new
|
|
78
|
+
const e = () => u.__vueUpdatesLock <= 0, n = new xe(u), s = (o, r) => {
|
|
79
79
|
const m = r.valueFromHash;
|
|
80
|
-
e() && x(m) && (
|
|
80
|
+
e() && x(m) && (he(m), n.add());
|
|
81
81
|
}, t = (o, r, m) => {
|
|
82
|
-
o[r] =
|
|
82
|
+
o[r] = es({
|
|
83
83
|
initialValue: m === void 0 ? o[r] : m,
|
|
84
84
|
surveyElement: u,
|
|
85
85
|
isUpdateAllowed: e,
|
|
@@ -99,16 +99,16 @@ function es(u) {
|
|
|
99
99
|
u.__vueImplemented++;
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ns(u) {
|
|
103
103
|
return !!u.__vueImplemented;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function pe(u) {
|
|
106
106
|
u && (u.__vueImplemented = u.__vueImplemented ?? 0, u.__vueImplemented--, u.__vueImplemented <= 0 && typeof u.__vueClear == "function" && u.__vueClear());
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function ve(u) {
|
|
109
109
|
u && u.__vueUpdatesLock !== void 0 && u.__vueUpdatesLock++;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function Ce(u) {
|
|
112
112
|
u && u.__vueUpdatesLock !== void 0 && u.__vueUpdatesLock--;
|
|
113
113
|
}
|
|
114
114
|
function I(u, e, n) {
|
|
@@ -116,21 +116,21 @@ function I(u, e, n) {
|
|
|
116
116
|
const t = N(
|
|
117
117
|
u,
|
|
118
118
|
(r, m) => {
|
|
119
|
-
r && e && e(r, m), m && (
|
|
119
|
+
r && e && e(r, m), m && (pe(m), n && n(m)), s = r, ss(r);
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
immediate: !0
|
|
123
123
|
}
|
|
124
124
|
);
|
|
125
125
|
let o = !1;
|
|
126
|
-
|
|
127
|
-
pe(s);
|
|
128
|
-
}), E(() => {
|
|
126
|
+
Te(() => {
|
|
129
127
|
ve(s);
|
|
130
|
-
}),
|
|
128
|
+
}), E(() => {
|
|
129
|
+
Ce(s);
|
|
130
|
+
}), Be(() => ve(s)), T(() => Ce(s)), z(() => {
|
|
131
131
|
if (!o) {
|
|
132
132
|
const r = u();
|
|
133
|
-
r && (
|
|
133
|
+
r && (pe(r), t(), n && n(r)), o = !0;
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
}
|
|
@@ -161,7 +161,7 @@ function F(u) {
|
|
|
161
161
|
function ne(u) {
|
|
162
162
|
return u.customWidget ? "survey-customwidget" : u.isDefaultRendering && u.isDefaultRendering() || u.isPanel ? "survey-" + u.getTemplate() : u.getComponentName();
|
|
163
163
|
}
|
|
164
|
-
const
|
|
164
|
+
const ts = /* @__PURE__ */ y({
|
|
165
165
|
__name: "Page",
|
|
166
166
|
props: {
|
|
167
167
|
survey: {},
|
|
@@ -202,7 +202,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
202
202
|
is: "survey-errors",
|
|
203
203
|
element: o.page
|
|
204
204
|
}, null, 8, ["element"]),
|
|
205
|
-
(i(!0), a(M, null,
|
|
205
|
+
(i(!0), a(M, null, S(o.page.visibleRows, (m) => (i(), C(d, $({
|
|
206
206
|
key: m.id,
|
|
207
207
|
is: o.page.getSurvey().getRowWrapperComponentName(m)
|
|
208
208
|
}, {
|
|
@@ -220,7 +220,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
220
220
|
}, 1040, ["is"]))), 128))
|
|
221
221
|
], 2));
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), os = /* @__PURE__ */ y({
|
|
224
224
|
__name: "Header",
|
|
225
225
|
props: {
|
|
226
226
|
survey: {}
|
|
@@ -271,7 +271,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
271
271
|
}, null, 2)
|
|
272
272
|
], 2)) : p("", !0);
|
|
273
273
|
}
|
|
274
|
-
}),
|
|
274
|
+
}), is = /* @__PURE__ */ y({
|
|
275
275
|
__name: "Row",
|
|
276
276
|
props: {
|
|
277
277
|
row: {},
|
|
@@ -287,7 +287,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
287
287
|
t.setRootElement(n.value), o && (t.isNeedRender = o.isNeedRender);
|
|
288
288
|
},
|
|
289
289
|
(t) => {
|
|
290
|
-
|
|
290
|
+
ns(t) || (clearTimeout(s), t.setRootElement(void 0), t.stopLazyRendering(), t.isNeedRender = !t.isLazyRendering());
|
|
291
291
|
}
|
|
292
292
|
), T(() => {
|
|
293
293
|
if (e.row && (e.row.setRootElement(n.value), !e.row.isNeedRender)) {
|
|
@@ -301,7 +301,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
301
301
|
ref_key: "root",
|
|
302
302
|
ref: n
|
|
303
303
|
}, [
|
|
304
|
-
(i(!0), a(M, null,
|
|
304
|
+
(i(!0), a(M, null, S(t.row.visibleElements, (r) => (i(), C(d, {
|
|
305
305
|
is: "survey-element",
|
|
306
306
|
row: t.row,
|
|
307
307
|
css: t.css,
|
|
@@ -310,10 +310,10 @@ const ns = /* @__PURE__ */ y({
|
|
|
310
310
|
}, null, 8, ["row", "css", "element"]))), 128))
|
|
311
311
|
], 2));
|
|
312
312
|
}
|
|
313
|
-
}),
|
|
313
|
+
}), rs = ["id", "role", "aria-required", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "data-name"], ls = ["aria-hidden", "data-sv-drop-target-matrix", "data-sv-drop-target-matrix-row"], as = ["id"], us = {
|
|
314
314
|
inheritAttrs: !1
|
|
315
|
-
},
|
|
316
|
-
...
|
|
315
|
+
}, ds = /* @__PURE__ */ y({
|
|
316
|
+
...us,
|
|
317
317
|
__name: "Question",
|
|
318
318
|
props: {
|
|
319
319
|
survey: {},
|
|
@@ -330,7 +330,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
330
330
|
() => {
|
|
331
331
|
r();
|
|
332
332
|
}
|
|
333
|
-
), g = f(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()),
|
|
333
|
+
), g = f(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()), V = f(() => e.element.survey.getQuestionContentWrapperComponentName(e.element)), h = f(() => ({
|
|
334
334
|
componentData: {
|
|
335
335
|
question: e.element,
|
|
336
336
|
data: e.element.survey.getElementWrapperComponentData(e.element)
|
|
@@ -385,7 +385,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
385
385
|
key: o.value.id
|
|
386
386
|
}, null, 8, ["css", "element", "survey"])) : (i(), C(d, $({
|
|
387
387
|
key: 5,
|
|
388
|
-
is:
|
|
388
|
+
is: V.value
|
|
389
389
|
}, h.value), {
|
|
390
390
|
default: D(() => [
|
|
391
391
|
v("div", {
|
|
@@ -424,8 +424,8 @@ const ns = /* @__PURE__ */ y({
|
|
|
424
424
|
is: "survey-string",
|
|
425
425
|
locString: q.element.locDescription
|
|
426
426
|
}, null, 8, ["locString"])
|
|
427
|
-
], 10,
|
|
428
|
-
], 14,
|
|
427
|
+
], 10, as)) : p("", !0)
|
|
428
|
+
], 14, ls)
|
|
429
429
|
]),
|
|
430
430
|
_: 1
|
|
431
431
|
}, 16, ["is"])),
|
|
@@ -441,12 +441,12 @@ const ns = /* @__PURE__ */ y({
|
|
|
441
441
|
element: q.element,
|
|
442
442
|
location: "bottom"
|
|
443
443
|
}, null, 8, ["element"])) : p("", !0)
|
|
444
|
-
], 46,
|
|
444
|
+
], 46, rs));
|
|
445
445
|
}
|
|
446
|
-
}),
|
|
446
|
+
}), ms = ["id"], ps = ["id", "role", "aria-labelledby", "aria-label"], vs = {
|
|
447
447
|
inheritAttrs: !1
|
|
448
|
-
},
|
|
449
|
-
...
|
|
448
|
+
}, Cs = /* @__PURE__ */ y({
|
|
449
|
+
...vs,
|
|
450
450
|
inheritAttrs: !1,
|
|
451
451
|
__name: "Panel",
|
|
452
452
|
props: {
|
|
@@ -491,7 +491,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
491
491
|
"aria-labelledby": t.element.ariaLabelledBy,
|
|
492
492
|
"aria-label": t.element.ariaLabel
|
|
493
493
|
}, [
|
|
494
|
-
(i(!0), a(M, null,
|
|
494
|
+
(i(!0), a(M, null, S(t.element.visibleRows, (r) => (i(), C(d, $({
|
|
495
495
|
key: r.id,
|
|
496
496
|
is: t.element.getSurvey().getRowWrapperComponentName(r)
|
|
497
497
|
}, {
|
|
@@ -511,10 +511,10 @@ const ns = /* @__PURE__ */ y({
|
|
|
511
511
|
is: "sv-action-bar",
|
|
512
512
|
model: t.element.getFooterToolbar()
|
|
513
513
|
}, null, 8, ["model"])
|
|
514
|
-
], 14,
|
|
515
|
-
], 42,
|
|
514
|
+
], 14, ps)) : p("", !0)
|
|
515
|
+
], 42, ms)) : p("", !0);
|
|
516
516
|
}
|
|
517
|
-
}),
|
|
517
|
+
}), cs = ["id"], gs = /* @__PURE__ */ y({
|
|
518
518
|
__name: "ElementHeader",
|
|
519
519
|
props: {
|
|
520
520
|
element: {},
|
|
@@ -546,7 +546,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
546
546
|
is: "survey-string",
|
|
547
547
|
locString: t.element.locDescription
|
|
548
548
|
}, null, 8, ["locString"])
|
|
549
|
-
], 10,
|
|
549
|
+
], 10, cs)), [
|
|
550
550
|
[A, t.element.hasDescription]
|
|
551
551
|
]) : p("", !0),
|
|
552
552
|
t.element.hasAdditionalTitleToolbar ? (i(), C(d, {
|
|
@@ -556,7 +556,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
556
556
|
}, null, 8, ["model"])) : p("", !0)
|
|
557
557
|
], 6));
|
|
558
558
|
}
|
|
559
|
-
}),
|
|
559
|
+
}), ys = /* @__PURE__ */ y({
|
|
560
560
|
__name: "String",
|
|
561
561
|
props: {
|
|
562
562
|
locString: {}
|
|
@@ -567,18 +567,19 @@ const ns = /* @__PURE__ */ y({
|
|
|
567
567
|
locString: e.locString.renderAsData
|
|
568
568
|
}, null, 8, ["is", "locString"]));
|
|
569
569
|
}
|
|
570
|
-
}),
|
|
570
|
+
}), hs = ["innerHTML"], te = /* @__PURE__ */ y({
|
|
571
571
|
__name: "StringViewer",
|
|
572
572
|
props: {
|
|
573
|
-
locString: {}
|
|
573
|
+
locString: {},
|
|
574
|
+
textClass: {}
|
|
574
575
|
},
|
|
575
576
|
setup(u) {
|
|
576
|
-
const e = u, n = F(() => e.locString), s = e.locString.
|
|
577
|
+
const e = u, n = F(() => e.locString), s = e.locString.getStringViewerClassName(e.textClass);
|
|
577
578
|
return (t, o) => t.locString.hasHtml ? (i(), a("span", {
|
|
578
579
|
key: 0,
|
|
579
580
|
class: l(w(s)),
|
|
580
581
|
innerHTML: w(n)
|
|
581
|
-
}, null, 10,
|
|
582
|
+
}, null, 10, hs)) : (i(), a("span", {
|
|
582
583
|
key: 1,
|
|
583
584
|
class: l(w(s))
|
|
584
585
|
}, H(w(n)), 3));
|
|
@@ -632,7 +633,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
632
633
|
onInnerHeightChanged: { type: Function }
|
|
633
634
|
},
|
|
634
635
|
setup(u) {
|
|
635
|
-
const e = u, n = new
|
|
636
|
+
const e = u, n = new We();
|
|
636
637
|
n.onInnerHeightChanged = (t) => {
|
|
637
638
|
e.onInnerHeightChanged && e.onInnerHeightChanged(t);
|
|
638
639
|
};
|
|
@@ -661,7 +662,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
661
662
|
}, Ms, 32)
|
|
662
663
|
], 512));
|
|
663
664
|
}
|
|
664
|
-
}), Is = ["id"],
|
|
665
|
+
}), Is = ["id"], Ss = ["value"], Vs = /* @__PURE__ */ y({
|
|
665
666
|
inheritAttrs: !1,
|
|
666
667
|
__name: "Text",
|
|
667
668
|
props: {
|
|
@@ -685,10 +686,10 @@ const ns = /* @__PURE__ */ y({
|
|
|
685
686
|
v("datalist", {
|
|
686
687
|
id: s.question.dataListId
|
|
687
688
|
}, [
|
|
688
|
-
(i(!0), a(M, null,
|
|
689
|
+
(i(!0), a(M, null, S(s.question.dataList, (o, r) => (i(), a("option", {
|
|
689
690
|
key: r,
|
|
690
691
|
value: o
|
|
691
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, Ss))), 128))
|
|
692
693
|
], 8, Is)
|
|
693
694
|
], 512)) : (i(), C(d, {
|
|
694
695
|
key: 2,
|
|
@@ -804,7 +805,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
804
805
|
}), Zs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], $s = {
|
|
805
806
|
key: 0,
|
|
806
807
|
class: "sv-hidden"
|
|
807
|
-
}, Ds = { key: 6 }, As = ["value"],
|
|
808
|
+
}, Ds = { key: 6 }, As = ["value"], ke = /* @__PURE__ */ y({
|
|
808
809
|
inheritAttrs: !1,
|
|
809
810
|
__name: "SelectBase",
|
|
810
811
|
props: {
|
|
@@ -835,11 +836,11 @@ const ns = /* @__PURE__ */ y({
|
|
|
835
836
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
836
837
|
}, [
|
|
837
838
|
o.showLegend ? (i(), a("legend", $s, H(o.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
838
|
-
o.question.hasHeadItems ? (i(!0), a(M, { key: 1 },
|
|
839
|
+
o.question.hasHeadItems ? (i(!0), a(M, { key: 1 }, S(o.question.headItems, (m) => (i(), C(d, $({
|
|
839
840
|
key: m.uniqueId,
|
|
840
841
|
is: s(m)
|
|
841
842
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
842
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), a(M, { key: 2 },
|
|
843
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), a(M, { key: 2 }, S(o.question.bodyItems, (m) => (i(), C(d, $({
|
|
843
844
|
key: m.uniqueId,
|
|
844
845
|
is: s(m)
|
|
845
846
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -847,7 +848,7 @@ const ns = /* @__PURE__ */ y({
|
|
|
847
848
|
key: 3,
|
|
848
849
|
class: l(o.question.cssClasses.rootRow)
|
|
849
850
|
}, [
|
|
850
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), a(M, { key: 0 },
|
|
851
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), a(M, { key: 0 }, S(o.question.dataChoices, (m) => (i(), C(d, $({
|
|
851
852
|
key: m.uniqueId,
|
|
852
853
|
is: s(m)
|
|
853
854
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0)
|
|
@@ -856,18 +857,18 @@ const ns = /* @__PURE__ */ y({
|
|
|
856
857
|
key: 4,
|
|
857
858
|
class: l(o.question.cssClasses.rootMultiColumn)
|
|
858
859
|
}, [
|
|
859
|
-
o.question.hasColumns ? (i(!0), a(M, { key: 0 },
|
|
860
|
+
o.question.hasColumns ? (i(!0), a(M, { key: 0 }, S(o.question.columns, (m, g) => (i(), a("div", {
|
|
860
861
|
key: g,
|
|
861
862
|
class: l(o.question.getColumnClass()),
|
|
862
863
|
role: "presentation"
|
|
863
864
|
}, [
|
|
864
|
-
(i(!0), a(M, null,
|
|
865
|
-
key:
|
|
866
|
-
is: s(
|
|
867
|
-
}, t(
|
|
865
|
+
(i(!0), a(M, null, S(m, (V) => (i(), C(d, $({
|
|
866
|
+
key: V.uniqueId,
|
|
867
|
+
is: s(V)
|
|
868
|
+
}, t(V)), null, 16, ["is"]))), 128))
|
|
868
869
|
], 2))), 128)) : p("", !0)
|
|
869
870
|
], 2)) : p("", !0),
|
|
870
|
-
o.question.hasFootItems ? (i(!0), a(M, { key: 5 },
|
|
871
|
+
o.question.hasFootItems ? (i(!0), a(M, { key: 5 }, S(o.question.footItems, (m) => (i(), C(d, $({
|
|
871
872
|
key: m.uniqueId,
|
|
872
873
|
is: s(m)
|
|
873
874
|
}, t(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -890,13 +891,13 @@ const ns = /* @__PURE__ */ y({
|
|
|
890
891
|
question: {}
|
|
891
892
|
},
|
|
892
893
|
setup(u) {
|
|
893
|
-
return (e, n) => (i(), C(
|
|
894
|
+
return (e, n) => (i(), C(ke, {
|
|
894
895
|
question: e.question,
|
|
895
896
|
"show-legend": !0
|
|
896
897
|
}, null, 8, ["question"]));
|
|
897
898
|
}
|
|
898
899
|
});
|
|
899
|
-
function
|
|
900
|
+
function fe(u, e, n) {
|
|
900
901
|
T(() => {
|
|
901
902
|
n.value && (e().isDesignMode || u().setRootElement(n.value));
|
|
902
903
|
}), P(() => {
|
|
@@ -916,7 +917,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
916
917
|
},
|
|
917
918
|
setup(u) {
|
|
918
919
|
const e = k(), n = u;
|
|
919
|
-
|
|
920
|
+
fe(
|
|
920
921
|
() => n.item,
|
|
921
922
|
() => n.question,
|
|
922
923
|
e
|
|
@@ -994,7 +995,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
994
995
|
question: {}
|
|
995
996
|
},
|
|
996
997
|
setup(u) {
|
|
997
|
-
return (e, n) => (i(), C(
|
|
998
|
+
return (e, n) => (i(), C(ke, { question: e.question }, null, 8, ["question"]));
|
|
998
999
|
}
|
|
999
1000
|
}), Os = ["name", "value", "id", "aria-errormessage", "checked", "disabled", "readonly", "aria-label"], zs = ["xlink:href"], Us = /* @__PURE__ */ y({
|
|
1000
1001
|
inheritAttrs: !1,
|
|
@@ -1009,7 +1010,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1009
1010
|
const e = k(), n = u, s = (r) => n.question.getLabelClass(r), t = (r) => n.question.getControlLabelClass(r), o = () => {
|
|
1010
1011
|
n.question.clickItemHandler(n.item);
|
|
1011
1012
|
};
|
|
1012
|
-
return
|
|
1013
|
+
return fe(
|
|
1013
1014
|
() => n.item,
|
|
1014
1015
|
() => n.question,
|
|
1015
1016
|
e
|
|
@@ -1370,7 +1371,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1370
1371
|
], 34)
|
|
1371
1372
|
], 2));
|
|
1372
1373
|
}
|
|
1373
|
-
}), l1 = { class: "sv-hidden" },
|
|
1374
|
+
}), l1 = { class: "sv-hidden" }, ce = "survey-imagepicker-item", a1 = /* @__PURE__ */ y({
|
|
1374
1375
|
inheritAttrs: !1,
|
|
1375
1376
|
__name: "Imagepicker",
|
|
1376
1377
|
props: {
|
|
@@ -1379,8 +1380,8 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1379
1380
|
setup(u) {
|
|
1380
1381
|
const e = u, n = k(null);
|
|
1381
1382
|
R(e, n);
|
|
1382
|
-
const s = (o) => e.question.getItemValueWrapperComponentName(o) ||
|
|
1383
|
-
componentName:
|
|
1383
|
+
const s = (o) => e.question.getItemValueWrapperComponentName(o) || ce, t = (o) => ({
|
|
1384
|
+
componentName: ce,
|
|
1384
1385
|
componentData: {
|
|
1385
1386
|
question: e.question,
|
|
1386
1387
|
item: o,
|
|
@@ -1394,19 +1395,19 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1394
1395
|
ref: n
|
|
1395
1396
|
}, [
|
|
1396
1397
|
v("legend", l1, H(o.question.locTitle.renderedHtml), 1),
|
|
1397
|
-
o.question.hasColumns ? p("", !0) : (i(!0), a(M, { key: 0 },
|
|
1398
|
+
o.question.hasColumns ? p("", !0) : (i(!0), a(M, { key: 0 }, S(o.question.visibleChoices, (m) => (i(), C(d, $({
|
|
1398
1399
|
key: m.uniqueId,
|
|
1399
1400
|
is: s(m)
|
|
1400
1401
|
}, t(m)), null, 16, ["is"]))), 128)),
|
|
1401
|
-
o.question.hasColumns ? (i(!0), a(M, { key: 1 },
|
|
1402
|
+
o.question.hasColumns ? (i(!0), a(M, { key: 1 }, S(o.question.columns, (m, g) => (i(), a("div", {
|
|
1402
1403
|
class: l(o.question.getColumnClass()),
|
|
1403
1404
|
key: g,
|
|
1404
1405
|
role: "presentation"
|
|
1405
1406
|
}, [
|
|
1406
|
-
(i(!0), a(M, null,
|
|
1407
|
-
key:
|
|
1408
|
-
is: s(
|
|
1409
|
-
}, t(
|
|
1407
|
+
(i(!0), a(M, null, S(m, (V) => (i(), C(d, $({
|
|
1408
|
+
key: V.value,
|
|
1409
|
+
is: s(V)
|
|
1410
|
+
}, t(V)), null, 16, ["is"]))), 128))
|
|
1410
1411
|
], 2))), 128)) : p("", !0)
|
|
1411
1412
|
], 6));
|
|
1412
1413
|
}
|
|
@@ -1466,7 +1467,7 @@ const Ns = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1466
1467
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1467
1468
|
class: l(o.question.cssClasses.itemControl)
|
|
1468
1469
|
}, null, 10, d1)), [
|
|
1469
|
-
[
|
|
1470
|
+
[we, s.value]
|
|
1470
1471
|
]),
|
|
1471
1472
|
v("div", {
|
|
1472
1473
|
class: l(o.question.cssClasses.itemDecorator)
|
|
@@ -1669,13 +1670,13 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1669
1670
|
required: r.question.isRequired
|
|
1670
1671
|
}, [
|
|
1671
1672
|
r.question.allowClear ? (i(), a("option", y1, H(r.question.placeholder), 1)) : p("", !0),
|
|
1672
|
-
(i(!0), a(M, null,
|
|
1673
|
+
(i(!0), a(M, null, S(r.question.visibleChoices, (g) => (i(), C(d, {
|
|
1673
1674
|
is: "sv-dropdown-option-item",
|
|
1674
1675
|
item: g,
|
|
1675
1676
|
key: g.uniqueId
|
|
1676
1677
|
}, null, 8, ["item"]))), 128))
|
|
1677
1678
|
], 42, g1)), [
|
|
1678
|
-
[
|
|
1679
|
+
[$e, o.value]
|
|
1679
1680
|
]),
|
|
1680
1681
|
r.question.cssClasses.chevronButtonIconId ? (i(), a("div", {
|
|
1681
1682
|
key: 2,
|
|
@@ -1725,19 +1726,19 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1725
1726
|
}, r = () => {
|
|
1726
1727
|
if (n.value) {
|
|
1727
1728
|
const b = n.value, Z = s.value.inputStringRendered;
|
|
1728
|
-
|
|
1729
|
+
Fe.isTwoValueEquals(Z, b.value, !1, !0, !1) || (b.value = s.value.inputStringRendered);
|
|
1729
1730
|
}
|
|
1730
1731
|
}, m = (b) => {
|
|
1731
1732
|
e.question.onBlur(b), r();
|
|
1732
1733
|
}, g = (b) => {
|
|
1733
1734
|
e.question.onFocus(b);
|
|
1734
|
-
},
|
|
1735
|
+
}, V = (b) => {
|
|
1735
1736
|
s.value.inputStringRendered = b.target.value;
|
|
1736
1737
|
}, h = f(
|
|
1737
1738
|
() => e.question.showSelectedItemLocText
|
|
1738
1739
|
), q = f(() => e.question.selectedItemLocText);
|
|
1739
1740
|
return I(() => s.value), E(r), T(r), (b, Z) => {
|
|
1740
|
-
var _,
|
|
1741
|
+
var _, re, le, ae;
|
|
1741
1742
|
return i(), a("div", {
|
|
1742
1743
|
class: l(b.question.cssClasses.selectWrapper),
|
|
1743
1744
|
onClick: t
|
|
@@ -1812,7 +1813,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1812
1813
|
"aria-describedby": s.value.ariaInputDescribedby,
|
|
1813
1814
|
"aria-activedescendant": s.value.ariaInputActivedescendant,
|
|
1814
1815
|
placeholder: s.value.placeholderRendered,
|
|
1815
|
-
onInput:
|
|
1816
|
+
onInput: V,
|
|
1816
1817
|
onBlur: m,
|
|
1817
1818
|
onFocus: g
|
|
1818
1819
|
}, null, 42, f1)) : p("", !0)
|
|
@@ -1831,9 +1832,9 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1831
1832
|
key: 2,
|
|
1832
1833
|
id: b.question.inputId,
|
|
1833
1834
|
role: (_ = s.value) == null ? void 0 : _.ariaQuestionRole,
|
|
1834
|
-
"aria-label": (
|
|
1835
|
-
"aria-labelledby": (
|
|
1836
|
-
"aria-describedby": (
|
|
1835
|
+
"aria-label": (re = s.value) == null ? void 0 : re.ariaQuestionLabel,
|
|
1836
|
+
"aria-labelledby": (le = s.value) == null ? void 0 : le.ariaQuestionLabelledby,
|
|
1837
|
+
"aria-describedby": (ae = s.value) == null ? void 0 : ae.ariaQuestionDescribedby,
|
|
1837
1838
|
"aria-expanded": !1,
|
|
1838
1839
|
"aria-readonly": !0,
|
|
1839
1840
|
"aria-disabled": !0,
|
|
@@ -1882,7 +1883,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1882
1883
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1883
1884
|
], 2));
|
|
1884
1885
|
}
|
|
1885
|
-
}),
|
|
1886
|
+
}), S1 = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage", "aria-controls", "aria-expanded", "aria-activedescendant", "required"], V1 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], R1 = /* @__PURE__ */ y({
|
|
1886
1887
|
__name: "Tagbox",
|
|
1887
1888
|
props: {
|
|
1888
1889
|
question: {}
|
|
@@ -1890,7 +1891,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1890
1891
|
setup(u) {
|
|
1891
1892
|
const e = u, n = f(() => {
|
|
1892
1893
|
const r = e.question;
|
|
1893
|
-
return r.dropdownListModel || (r.dropdownListModel = new
|
|
1894
|
+
return r.dropdownListModel || (r.dropdownListModel = new Oe(r)), e.question.dropdownListModel;
|
|
1894
1895
|
}), s = (r) => {
|
|
1895
1896
|
var m;
|
|
1896
1897
|
(m = n.value) == null || m.onClick(r);
|
|
@@ -1902,7 +1903,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1902
1903
|
(m = n.value) == null || m.onBlur(r);
|
|
1903
1904
|
};
|
|
1904
1905
|
return I(() => n.value), (r, m) => {
|
|
1905
|
-
var g,
|
|
1906
|
+
var g, V, h, q;
|
|
1906
1907
|
return i(), a("div", {
|
|
1907
1908
|
class: l(r.question.cssClasses.selectWrapper),
|
|
1908
1909
|
onClick: s
|
|
@@ -1930,7 +1931,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1930
1931
|
v("div", {
|
|
1931
1932
|
class: l(r.question.cssClasses.controlValue)
|
|
1932
1933
|
}, [
|
|
1933
|
-
(i(!0), a(M, null,
|
|
1934
|
+
(i(!0), a(M, null, S(r.question.selectedChoices, (b, Z) => (i(), C(d, {
|
|
1934
1935
|
is: "sv-tagbox-item",
|
|
1935
1936
|
item: b,
|
|
1936
1937
|
question: r.question,
|
|
@@ -1947,7 +1948,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1947
1948
|
is: "sv-action-bar",
|
|
1948
1949
|
model: n.value.editorButtons
|
|
1949
1950
|
}, null, 8, ["model"])
|
|
1950
|
-
], 42,
|
|
1951
|
+
], 42, S1)),
|
|
1951
1952
|
r.question.isInputReadOnly ? p("", !0) : (i(), C(d, {
|
|
1952
1953
|
key: 1,
|
|
1953
1954
|
is: "sv-popup",
|
|
@@ -1957,7 +1958,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1957
1958
|
key: 2,
|
|
1958
1959
|
id: r.question.inputId,
|
|
1959
1960
|
role: (g = n.value) == null ? void 0 : g.ariaQuestionRole,
|
|
1960
|
-
"aria-label": (
|
|
1961
|
+
"aria-label": (V = n.value) == null ? void 0 : V.ariaQuestionLabel,
|
|
1961
1962
|
"aria-labelledby": (h = n.value) == null ? void 0 : h.ariaQuestionLabelledby,
|
|
1962
1963
|
"aria-describedby": (q = n.value) == null ? void 0 : q.ariaQuestionDescribedby,
|
|
1963
1964
|
"aria-expanded": !1,
|
|
@@ -1979,7 +1980,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
1979
1980
|
is: "sv-action-bar",
|
|
1980
1981
|
model: n.value.editorButtons
|
|
1981
1982
|
}, null, 8, ["model"])
|
|
1982
|
-
], 10,
|
|
1983
|
+
], 10, V1)) : p("", !0)
|
|
1983
1984
|
], 2);
|
|
1984
1985
|
};
|
|
1985
1986
|
}
|
|
@@ -2035,7 +2036,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2035
2036
|
B(v("input", {
|
|
2036
2037
|
type: "text",
|
|
2037
2038
|
autocomplete: "off",
|
|
2038
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
2039
|
+
"onUpdate:modelValue": g[0] || (g[0] = (V) => r.value = V),
|
|
2039
2040
|
class: l(m.question.cssClasses.filterStringInput),
|
|
2040
2041
|
placeholder: m.model.filterStringPlaceholder,
|
|
2041
2042
|
disabled: m.question.isDisabledAttr,
|
|
@@ -2058,7 +2059,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2058
2059
|
onBlur: t,
|
|
2059
2060
|
onFocus: o
|
|
2060
2061
|
}, null, 42, B1), [
|
|
2061
|
-
[
|
|
2062
|
+
[De, r.value]
|
|
2062
2063
|
])
|
|
2063
2064
|
], 2)
|
|
2064
2065
|
], 2));
|
|
@@ -2120,7 +2121,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2120
2121
|
ref_key: "root",
|
|
2121
2122
|
ref: n
|
|
2122
2123
|
}, [
|
|
2123
|
-
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(M, { key: 0 },
|
|
2124
|
+
o.question.selectToRankEnabled ? p("", !0) : (i(!0), a(M, { key: 0 }, S(o.question.renderedRankingChoices, (m, g) => (i(), C(d, $({
|
|
2124
2125
|
key: m.uniqueId,
|
|
2125
2126
|
is: s(m)
|
|
2126
2127
|
}, t(m, g)), null, 16, ["is"]))), 128)),
|
|
@@ -2129,7 +2130,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2129
2130
|
class: l(o.question.getContainerClasses("from")),
|
|
2130
2131
|
"data-ranking": "from-container"
|
|
2131
2132
|
}, [
|
|
2132
|
-
(i(!0), a(M, null,
|
|
2133
|
+
(i(!0), a(M, null, S(o.question.renderedUnRankingChoices, (m, g) => (i(), C(d, $({
|
|
2133
2134
|
key: m.uniqueId,
|
|
2134
2135
|
is: s(m)
|
|
2135
2136
|
}, t(m, g, !0)), null, 16, ["is"]))), 128)),
|
|
@@ -2152,7 +2153,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2152
2153
|
class: l(o.question.getContainerClasses("to")),
|
|
2153
2154
|
"data-ranking": "to-container"
|
|
2154
2155
|
}, [
|
|
2155
|
-
(i(!0), a(M, null,
|
|
2156
|
+
(i(!0), a(M, null, S(o.question.renderedRankingChoices, (m, g) => (i(), C(d, $({
|
|
2156
2157
|
key: m.uniqueId,
|
|
2157
2158
|
is: s(m)
|
|
2158
2159
|
}, t(m, g)), null, 16, ["is"]))), 128)),
|
|
@@ -2308,7 +2309,7 @@ const q1 = /* @__PURE__ */ y({
|
|
|
2308
2309
|
locString: t.question.locMinRateDescription
|
|
2309
2310
|
}, null, 8, ["locString"])
|
|
2310
2311
|
], 2)) : p("", !0),
|
|
2311
|
-
(i(!0), a(M, null,
|
|
2312
|
+
(i(!0), a(M, null, S(t.question.renderedRateItems, (r, m) => (i(), C(d, {
|
|
2312
2313
|
key: s(m),
|
|
2313
2314
|
is: t.question.itemComponent,
|
|
2314
2315
|
item: r,
|
|
@@ -2782,7 +2783,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2782
2783
|
ref: n
|
|
2783
2784
|
}, [
|
|
2784
2785
|
v("tbody", null, [
|
|
2785
|
-
(i(!0), a(M, null,
|
|
2786
|
+
(i(!0), a(M, null, S(s.question.getRows(), (o, r) => (i(), C(d, {
|
|
2786
2787
|
key: s.question.inputId + "rowkey" + r,
|
|
2787
2788
|
is: "sv-multipletext-row",
|
|
2788
2789
|
question: s.question,
|
|
@@ -2803,7 +2804,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2803
2804
|
key: 0,
|
|
2804
2805
|
class: l(n.question.cssClasses.row)
|
|
2805
2806
|
}, [
|
|
2806
|
-
(i(!0), a(M, null,
|
|
2807
|
+
(i(!0), a(M, null, S(n.row.cells, (t) => (i(), a("td", {
|
|
2807
2808
|
key: t.item.editor.id,
|
|
2808
2809
|
class: l(t.className)
|
|
2809
2810
|
}, [
|
|
@@ -2881,7 +2882,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2881
2882
|
key: 0,
|
|
2882
2883
|
class: l(n.css.breadcrumbsRoot)
|
|
2883
2884
|
}, [
|
|
2884
|
-
(i(!0), a(M, null,
|
|
2885
|
+
(i(!0), a(M, null, S(n.model.actions, (t, o) => (i(), a(M, {
|
|
2885
2886
|
key: t.renderedId
|
|
2886
2887
|
}, [
|
|
2887
2888
|
o ? (i(), C(d, {
|
|
@@ -2898,7 +2899,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2898
2899
|
], 64))), 128))
|
|
2899
2900
|
], 2)) : p("", !0);
|
|
2900
2901
|
}
|
|
2901
|
-
}), Hn = ["onClick", "title"], In = ["onClick", "title"],
|
|
2902
|
+
}), Hn = ["onClick", "title"], In = ["onClick", "title"], Sn = { key: 1 }, Vn = { key: 1 }, Rn = /* @__PURE__ */ y({
|
|
2902
2903
|
__name: "SingleInputSummary",
|
|
2903
2904
|
props: {
|
|
2904
2905
|
summary: {},
|
|
@@ -2906,13 +2907,13 @@ const qn = /* @__PURE__ */ y({
|
|
|
2906
2907
|
},
|
|
2907
2908
|
setup(u) {
|
|
2908
2909
|
const e = u, n = f(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = f(() => W.Instance.isComponentRegistered(n.value));
|
|
2909
|
-
return (t, o) => t.summary.isEmpty() ? (i(), a("div",
|
|
2910
|
+
return (t, o) => t.summary.isEmpty() ? (i(), a("div", Sn, [
|
|
2910
2911
|
s.value ? (i(), C(d, {
|
|
2911
2912
|
key: 0,
|
|
2912
2913
|
is: "survey-placeholder-" + t.summary.question.getTemplate(),
|
|
2913
2914
|
cssClasses: t.css,
|
|
2914
2915
|
question: t.summary.question
|
|
2915
|
-
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div",
|
|
2916
|
+
}, null, 8, ["is", "cssClasses", "question"])) : (i(), a("div", Vn, [
|
|
2916
2917
|
c(d, {
|
|
2917
2918
|
is: "survey-string",
|
|
2918
2919
|
locString: t.summary.noEntry
|
|
@@ -2922,7 +2923,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
2922
2923
|
key: 0,
|
|
2923
2924
|
class: l(t.css.summary)
|
|
2924
2925
|
}, [
|
|
2925
|
-
(i(!0), a(M, null,
|
|
2926
|
+
(i(!0), a(M, null, S(t.summary.items, (r, m) => (i(), a("div", {
|
|
2926
2927
|
key: m,
|
|
2927
2928
|
class: l(t.css.summaryRow)
|
|
2928
2929
|
}, [
|
|
@@ -3024,7 +3025,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3024
3025
|
class: l(t.question.cssClasses.rangeTrack),
|
|
3025
3026
|
style: L({ left: t.question.getTrackPercentLeft() + "%", right: t.question.getTrackPercentRight() + "%" })
|
|
3026
3027
|
}, null, 6),
|
|
3027
|
-
(i(!0), a(M, null,
|
|
3028
|
+
(i(!0), a(M, null, S(t.question.renderedValue, (r, m) => (i(), a(M, { key: m }, [
|
|
3028
3029
|
v("input", {
|
|
3029
3030
|
class: l(t.question.cssClasses.input),
|
|
3030
3031
|
id: t.question.id + "-sjs-slider-input-" + m,
|
|
@@ -3094,7 +3095,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3094
3095
|
class: l(t.question.cssClasses.labelsContainer)
|
|
3095
3096
|
}, [
|
|
3096
3097
|
v("div", null, [
|
|
3097
|
-
(i(!0), a(M, null,
|
|
3098
|
+
(i(!0), a(M, null, S(t.question.renderedLabels, (r) => (i(), C(d, {
|
|
3098
3099
|
key: r.id,
|
|
3099
3100
|
is: "sv-slider-label-item",
|
|
3100
3101
|
item: r,
|
|
@@ -3187,7 +3188,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3187
3188
|
t.question.showHeader ? (i(), a("thead", Pn, [
|
|
3188
3189
|
v("tr", null, [
|
|
3189
3190
|
t.question.hasRows ? (i(), a("td", Nn)) : p("", !0),
|
|
3190
|
-
(i(!0), a(M, null,
|
|
3191
|
+
(i(!0), a(M, null, S(t.question.visibleColumns, (r, m) => (i(), a("th", {
|
|
3191
3192
|
key: m,
|
|
3192
3193
|
class: l(t.question.cssClasses.headerCell),
|
|
3193
3194
|
style: L({
|
|
@@ -3211,7 +3212,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3211
3212
|
])
|
|
3212
3213
|
])) : p("", !0),
|
|
3213
3214
|
v("tbody", null, [
|
|
3214
|
-
(i(!0), a(M, null,
|
|
3215
|
+
(i(!0), a(M, null, S(s.value, (r) => (i(), C(d, {
|
|
3215
3216
|
key: r.uniqueId,
|
|
3216
3217
|
is: "sv-matrix-row",
|
|
3217
3218
|
question: t.question,
|
|
@@ -3248,7 +3249,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3248
3249
|
ref_key: "root",
|
|
3249
3250
|
ref: n
|
|
3250
3251
|
}, [
|
|
3251
|
-
(i(!0), a(M, null,
|
|
3252
|
+
(i(!0), a(M, null, S(t.row.cells, (r) => (i(), C(d, {
|
|
3252
3253
|
is: "survey-matrixdropdown-cell",
|
|
3253
3254
|
cell: r,
|
|
3254
3255
|
question: t.question,
|
|
@@ -3343,7 +3344,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3343
3344
|
}, [
|
|
3344
3345
|
n.value.showHeader ? (i(), a("thead", Kn, [
|
|
3345
3346
|
v("tr", null, [
|
|
3346
|
-
(i(!0), a(M, null,
|
|
3347
|
+
(i(!0), a(M, null, S(n.value.headerRow.cells, (o) => (i(), a(M, null, [
|
|
3347
3348
|
o.hasTitle ? (i(), a("th", {
|
|
3348
3349
|
key: "header_" + o.id,
|
|
3349
3350
|
class: l(o.className),
|
|
@@ -3377,7 +3378,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3377
3378
|
])
|
|
3378
3379
|
])) : p("", !0),
|
|
3379
3380
|
v("tbody", null, [
|
|
3380
|
-
(i(!0), a(M, null,
|
|
3381
|
+
(i(!0), a(M, null, S(n.value.renderedRows, (o) => (i(), C(d, {
|
|
3381
3382
|
key: s.question.inputId + "_" + o.id,
|
|
3382
3383
|
is: "survey-matrix-row",
|
|
3383
3384
|
row: o,
|
|
@@ -3386,7 +3387,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3386
3387
|
]),
|
|
3387
3388
|
n.value.showFooter ? (i(), a("tfoot", jn, [
|
|
3388
3389
|
v("tr", null, [
|
|
3389
|
-
(i(!0), a(M, null,
|
|
3390
|
+
(i(!0), a(M, null, S(n.value.footerRow.cells, (o, r) => (i(), C(d, {
|
|
3390
3391
|
is: "survey-matrixdropdown-cell",
|
|
3391
3392
|
cell: o,
|
|
3392
3393
|
question: s.question,
|
|
@@ -3451,7 +3452,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3451
3452
|
}
|
|
3452
3453
|
return "survey-panel";
|
|
3453
3454
|
}
|
|
3454
|
-
}),
|
|
3455
|
+
}), V = f(() => {
|
|
3455
3456
|
if (e.cell.hasPanel) {
|
|
3456
3457
|
const q = e.cell.panel, b = q.survey;
|
|
3457
3458
|
let Z;
|
|
@@ -3494,7 +3495,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3494
3495
|
h.cell.hasPanel ? (i(), C(d, $({
|
|
3495
3496
|
key: 3,
|
|
3496
3497
|
is: g.value
|
|
3497
|
-
},
|
|
3498
|
+
}, V.value), null, 16, ["is"])) : p("", !0),
|
|
3498
3499
|
h.cell.showResponsiveTitle ? (i(), a("span", {
|
|
3499
3500
|
key: 4,
|
|
3500
3501
|
class: l(h.cell.responsiveTitleCss)
|
|
@@ -3697,7 +3698,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3697
3698
|
], 2));
|
|
3698
3699
|
}
|
|
3699
3700
|
});
|
|
3700
|
-
function
|
|
3701
|
+
function oe(u, e = !0) {
|
|
3701
3702
|
return {
|
|
3702
3703
|
question: f(() => u.item.data.question),
|
|
3703
3704
|
row: e ? f(() => u.item.data.row) : void 0
|
|
@@ -3709,7 +3710,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3709
3710
|
item: {}
|
|
3710
3711
|
},
|
|
3711
3712
|
setup(u) {
|
|
3712
|
-
const e = u, { question: n, row: s } =
|
|
3713
|
+
const e = u, { question: n, row: s } = oe(e);
|
|
3713
3714
|
return (t, o) => (i(), a("button", {
|
|
3714
3715
|
type: "button",
|
|
3715
3716
|
class: l(w(n).getRemoveRowButtonCss()),
|
|
@@ -3731,7 +3732,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3731
3732
|
item: {}
|
|
3732
3733
|
},
|
|
3733
3734
|
setup(u) {
|
|
3734
|
-
const e = u, { question: n, row: s } =
|
|
3735
|
+
const e = u, { question: n, row: s } = oe(e, !0);
|
|
3735
3736
|
return (t, o) => (i(), a("div", {
|
|
3736
3737
|
onPointerdown: o[0] || (o[0] = (r) => w(n).onPointerDown(r, w(s)))
|
|
3737
3738
|
}, [
|
|
@@ -3754,7 +3755,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3754
3755
|
item: {}
|
|
3755
3756
|
},
|
|
3756
3757
|
setup(u) {
|
|
3757
|
-
const e = u, { question: n, row: s } =
|
|
3758
|
+
const e = u, { question: n, row: s } = oe(e);
|
|
3758
3759
|
return (t, o) => (i(), a("button", {
|
|
3759
3760
|
type: "button",
|
|
3760
3761
|
class: l(w(n).getDetailPanelButtonCss(w(s))),
|
|
@@ -3836,7 +3837,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3836
3837
|
v("div", {
|
|
3837
3838
|
class: l(o.question.cssClasses.panelsContainer)
|
|
3838
3839
|
}, [
|
|
3839
|
-
(i(!0), a(M, null,
|
|
3840
|
+
(i(!0), a(M, null, S(o.question.renderedPanels, (m, g) => (i(), a(M, {
|
|
3840
3841
|
key: m.id
|
|
3841
3842
|
}, [
|
|
3842
3843
|
v("div", {
|
|
@@ -4088,7 +4089,7 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4088
4089
|
class: l(w(n).cssClasses.progressText)
|
|
4089
4090
|
}, H(w(n).progressText), 3));
|
|
4090
4091
|
}
|
|
4091
|
-
}), It = ["id"],
|
|
4092
|
+
}), It = ["id"], St = /* @__PURE__ */ y({
|
|
4092
4093
|
__name: "Errors",
|
|
4093
4094
|
props: {
|
|
4094
4095
|
element: {},
|
|
@@ -4103,7 +4104,7 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4103
4104
|
ref_key: "root",
|
|
4104
4105
|
ref: e
|
|
4105
4106
|
}, [
|
|
4106
|
-
(i(!0), a(M, null,
|
|
4107
|
+
(i(!0), a(M, null, S(n.element.renderedErrors, (t, o) => (i(), C(d, {
|
|
4107
4108
|
is: n.element.survey.questionErrorComponent,
|
|
4108
4109
|
element: n.element,
|
|
4109
4110
|
key: o,
|
|
@@ -4112,13 +4113,13 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4112
4113
|
}, null, 8, ["is", "element", "error", "cssClasses"]))), 128))
|
|
4113
4114
|
], 10, It)) : p("", !0);
|
|
4114
4115
|
}
|
|
4115
|
-
}),
|
|
4116
|
+
}), Vt = { key: 0 }, Rt = /* @__PURE__ */ y({
|
|
4116
4117
|
__name: "QuestionComment",
|
|
4117
4118
|
props: {
|
|
4118
4119
|
question: {}
|
|
4119
4120
|
},
|
|
4120
4121
|
setup(u) {
|
|
4121
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div",
|
|
4122
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (i(), a("div", Vt, H(e.question.comment), 1)) : (i(), C(d, {
|
|
4122
4123
|
key: 1,
|
|
4123
4124
|
is: "sv-text-area",
|
|
4124
4125
|
model: e.question.commentTextAreaModel
|
|
@@ -4133,9 +4134,9 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4133
4134
|
},
|
|
4134
4135
|
setup(u) {
|
|
4135
4136
|
const e = u, n = f(() => e.element.hasTitleActions && e.renderActions !== !1), s = (t) => {
|
|
4136
|
-
|
|
4137
|
+
be(t);
|
|
4137
4138
|
};
|
|
4138
|
-
return (t, o) => t.element.hasTitle ? (i(), C(
|
|
4139
|
+
return (t, o) => t.element.hasTitle ? (i(), C(ye(t.element.titleTagName), {
|
|
4139
4140
|
key: 0,
|
|
4140
4141
|
class: l(t.element.cssTitle),
|
|
4141
4142
|
"aria-label": t.element.titleAriaLabel,
|
|
@@ -4257,7 +4258,7 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4257
4258
|
for (const [s, t] of e)
|
|
4258
4259
|
n[s] = t;
|
|
4259
4260
|
return n;
|
|
4260
|
-
}, Ft = {}, Ot = { class: "sv-brand-info" }, zt = /* @__PURE__ */
|
|
4261
|
+
}, Ft = {}, Ot = { class: "sv-brand-info" }, zt = /* @__PURE__ */ Ae('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), Ut = [
|
|
4261
4262
|
zt
|
|
4262
4263
|
];
|
|
4263
4264
|
function Qt(u, e) {
|
|
@@ -4276,7 +4277,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4276
4277
|
},
|
|
4277
4278
|
setup(u) {
|
|
4278
4279
|
const e = u, n = k(), s = () => {
|
|
4279
|
-
|
|
4280
|
+
ze(
|
|
4280
4281
|
e.size,
|
|
4281
4282
|
e.width,
|
|
4282
4283
|
e.height,
|
|
@@ -4352,7 +4353,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4352
4353
|
class: l(o.model.getRootCss()),
|
|
4353
4354
|
onClick: s
|
|
4354
4355
|
}, [
|
|
4355
|
-
(i(!0), a(M, null,
|
|
4356
|
+
(i(!0), a(M, null, S(o.model.renderedActions, (m) => (i(), C(d, {
|
|
4356
4357
|
is: "sv-action",
|
|
4357
4358
|
key: m.renderedId,
|
|
4358
4359
|
item: m
|
|
@@ -4371,7 +4372,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4371
4372
|
return I(() => n.item), T(() => {
|
|
4372
4373
|
const t = n.item;
|
|
4373
4374
|
t.updateModeCallback = (o, r) => {
|
|
4374
|
-
t.mode = o,
|
|
4375
|
+
t.mode = o, qe(() => {
|
|
4375
4376
|
r(o, e.value);
|
|
4376
4377
|
});
|
|
4377
4378
|
}, t.afterRender();
|
|
@@ -4408,10 +4409,10 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4408
4409
|
u.tabIndex = -1;
|
|
4409
4410
|
return;
|
|
4410
4411
|
}
|
|
4411
|
-
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(),
|
|
4412
|
-
|
|
4412
|
+
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(), be(s, n), !1)), u.addEventListener("keydown", (s) => {
|
|
4413
|
+
Ue(s, n);
|
|
4413
4414
|
}), u.addEventListener("blur", (s) => {
|
|
4414
|
-
|
|
4415
|
+
Qe(s);
|
|
4415
4416
|
});
|
|
4416
4417
|
}
|
|
4417
4418
|
}, so = ["disabled", "title", "aria-checked", "aria-expanded", "role"], no = {
|
|
@@ -4453,10 +4454,11 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4453
4454
|
size: n.item.iconSize,
|
|
4454
4455
|
title: n.item.tooltip || n.item.title
|
|
4455
4456
|
}, null, 8, ["class", "iconName", "size", "title"])) : p("", !0),
|
|
4456
|
-
n.item.hasTitle ? (i(),
|
|
4457
|
+
n.item.hasTitle ? (i(), C(te, {
|
|
4457
4458
|
key: 1,
|
|
4458
|
-
|
|
4459
|
-
|
|
4459
|
+
locString: n.item.locTitle,
|
|
4460
|
+
textClass: n.item.getActionBarItemTitleCss()
|
|
4461
|
+
}, null, 8, ["locString", "textClass"])) : p("", !0)
|
|
4460
4462
|
], 42, so)), [
|
|
4461
4463
|
[w(O), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4462
4464
|
]);
|
|
@@ -4475,7 +4477,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4475
4477
|
return I(
|
|
4476
4478
|
() => e.item,
|
|
4477
4479
|
(s) => {
|
|
4478
|
-
n = new
|
|
4480
|
+
n = new Ke(s);
|
|
4479
4481
|
},
|
|
4480
4482
|
() => {
|
|
4481
4483
|
n.dispose();
|
|
@@ -4502,10 +4504,11 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4502
4504
|
size: s.item.iconSize,
|
|
4503
4505
|
title: s.item.tooltip || s.item.title
|
|
4504
4506
|
}, null, 8, ["class", "iconName", "size", "title"])) : p("", !0),
|
|
4505
|
-
s.item.hasTitle ? (i(),
|
|
4507
|
+
s.item.hasTitle ? (i(), C(te, {
|
|
4506
4508
|
key: 1,
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
+
locString: s.item.locTitle,
|
|
4510
|
+
textClass: s.item.getActionBarItemTitleCss()
|
|
4511
|
+
}, null, 8, ["locString", "textClass"])) : p("", !0)
|
|
4509
4512
|
], 42, oo)), [
|
|
4510
4513
|
[w(O), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4511
4514
|
]),
|
|
@@ -4610,7 +4613,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4610
4613
|
r.model.onKeyDown(g);
|
|
4611
4614
|
})
|
|
4612
4615
|
}, [
|
|
4613
|
-
(i(!0), a(M, null,
|
|
4616
|
+
(i(!0), a(M, null, S(r.model.renderedActions, (g) => (i(), C(d, {
|
|
4614
4617
|
is: "sv-list-item",
|
|
4615
4618
|
item: g,
|
|
4616
4619
|
model: r.model,
|
|
@@ -4736,7 +4739,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4736
4739
|
return N(
|
|
4737
4740
|
() => e.model,
|
|
4738
4741
|
(o) => {
|
|
4739
|
-
n.value && n.value.dispose(), n.value =
|
|
4742
|
+
n.value && n.value.dispose(), n.value = je(o), t();
|
|
4740
4743
|
},
|
|
4741
4744
|
{ immediate: !0 }
|
|
4742
4745
|
), I(() => n.value), T(() => {
|
|
@@ -4853,14 +4856,14 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4853
4856
|
key: 0,
|
|
4854
4857
|
class: l(["sv-components-column", "sv-components-container-" + s.container])
|
|
4855
4858
|
}, [
|
|
4856
|
-
(i(!0), a(M, null,
|
|
4859
|
+
(i(!0), a(M, null, S(n.value, (o) => (i(), C(d, {
|
|
4857
4860
|
key: o.id,
|
|
4858
4861
|
is: o.component,
|
|
4859
4862
|
survey: s.survey,
|
|
4860
4863
|
container: s.container,
|
|
4861
4864
|
model: o.data
|
|
4862
4865
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4863
|
-
], 2)) : (i(!0), a(M, { key: 1 },
|
|
4866
|
+
], 2)) : (i(!0), a(M, { key: 1 }, S(n.value, (o) => (i(), C(d, {
|
|
4864
4867
|
key: o.id,
|
|
4865
4868
|
is: o.component,
|
|
4866
4869
|
survey: s.survey,
|
|
@@ -4877,7 +4880,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4877
4880
|
css: {}
|
|
4878
4881
|
},
|
|
4879
4882
|
setup(u) {
|
|
4880
|
-
const e = u, n = f(() => e.survey.progressValue + "%"), s = (o) =>
|
|
4883
|
+
const e = u, n = f(() => e.survey.progressValue + "%"), s = (o) => me.getProgressTextInBarCss(o), t = (o) => me.getProgressTextUnderBarCss(o);
|
|
4881
4884
|
return (o, r) => (i(), a("div", {
|
|
4882
4885
|
class: l(o.survey.getProgressCssClasses(o.container))
|
|
4883
4886
|
}, [
|
|
@@ -4898,7 +4901,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4898
4901
|
}, H(o.survey.progressText), 3)
|
|
4899
4902
|
], 2));
|
|
4900
4903
|
}
|
|
4901
|
-
}),
|
|
4904
|
+
}), So = ["aria-label"], Vo = ["title"], Ro = ["onClick", "data-page-number"], To = ["title"], Bo = ["title"], Zo = ["title"], $o = /* @__PURE__ */ y({
|
|
4902
4905
|
__name: "ProgressButtons",
|
|
4903
4906
|
props: {
|
|
4904
4907
|
survey: {},
|
|
@@ -4908,13 +4911,13 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4908
4911
|
setup(u) {
|
|
4909
4912
|
const e = u, n = k(!1), s = k(!1), t = k(!1), o = k(!0), r = k(), m = f(() => e.survey.css);
|
|
4910
4913
|
let g = null;
|
|
4911
|
-
const
|
|
4914
|
+
const V = (h) => {
|
|
4912
4915
|
let q = r.value;
|
|
4913
4916
|
q.scrollLeft += (h ? -1 : 1) * 70;
|
|
4914
4917
|
};
|
|
4915
4918
|
return T(() => {
|
|
4916
4919
|
const h = r.value;
|
|
4917
|
-
g = new
|
|
4920
|
+
g = new Ge(e.model, h, {
|
|
4918
4921
|
onResize: (q) => {
|
|
4919
4922
|
o.value = q, s.value = !q;
|
|
4920
4923
|
},
|
|
@@ -4943,14 +4946,14 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4943
4946
|
v("div", {
|
|
4944
4947
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4945
4948
|
title: h.model.headerText
|
|
4946
|
-
}, H(h.model.headerText), 11,
|
|
4949
|
+
}, H(h.model.headerText), 11, Vo)
|
|
4947
4950
|
], 2)) : p("", !0),
|
|
4948
4951
|
v("div", {
|
|
4949
4952
|
class: l(m.value.progressButtonsContainer)
|
|
4950
4953
|
}, [
|
|
4951
4954
|
v("div", {
|
|
4952
4955
|
class: l(h.model.getScrollButtonCss(n.value, !0)),
|
|
4953
|
-
onClick: q[0] || (q[0] = (b) =>
|
|
4956
|
+
onClick: q[0] || (q[0] = (b) => V(!0)),
|
|
4954
4957
|
role: "button"
|
|
4955
4958
|
}, null, 2),
|
|
4956
4959
|
v("div", {
|
|
@@ -4961,7 +4964,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4961
4964
|
v("ul", {
|
|
4962
4965
|
class: l(m.value.progressButtonsList)
|
|
4963
4966
|
}, [
|
|
4964
|
-
(i(!0), a(M, null,
|
|
4967
|
+
(i(!0), a(M, null, S(h.survey.visiblePages, (b, Z) => (i(), a("li", {
|
|
4965
4968
|
key: "listelement" + Z,
|
|
4966
4969
|
class: l(h.model.getListElementCss(Z)),
|
|
4967
4970
|
onClick: (_) => h.model.isListElementClickable(Z) ? h.model.clickListElement(b) : null,
|
|
@@ -5001,7 +5004,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
5001
5004
|
], 2),
|
|
5002
5005
|
v("div", {
|
|
5003
5006
|
class: l(h.model.getScrollButtonCss(n.value, !1)),
|
|
5004
|
-
onClick: q[1] || (q[1] = (b) =>
|
|
5007
|
+
onClick: q[1] || (q[1] = (b) => V(!1)),
|
|
5005
5008
|
role: "button"
|
|
5006
5009
|
}, null, 2)
|
|
5007
5010
|
], 2),
|
|
@@ -5014,7 +5017,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
5014
5017
|
title: h.model.footerText
|
|
5015
5018
|
}, H(h.model.footerText), 11, Zo)
|
|
5016
5019
|
], 2)) : p("", !0)
|
|
5017
|
-
], 14,
|
|
5020
|
+
], 14, So));
|
|
5018
5021
|
}
|
|
5019
5022
|
}), Do = /* @__PURE__ */ y({
|
|
5020
5023
|
__name: "ProgressToc",
|
|
@@ -5054,7 +5057,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
5054
5057
|
}
|
|
5055
5058
|
});
|
|
5056
5059
|
/*!
|
|
5057
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5060
|
+
* surveyjs - Survey JavaScript library v2.5.1
|
|
5058
5061
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5059
5062
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5060
5063
|
*/
|
|
@@ -5122,11 +5125,11 @@ var Ao = {
|
|
|
5122
5125
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5123
5126
|
};
|
|
5124
5127
|
/*!
|
|
5125
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5128
|
+
* surveyjs - Survey JavaScript library v2.5.1
|
|
5126
5129
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5127
5130
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5128
5131
|
*/
|
|
5129
|
-
var
|
|
5132
|
+
var Me = {
|
|
5130
5133
|
modernbooleancheckchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><polygon points="19,10 14,10 14,5 10,5 10,10 5,10 5,14 10,14 10,19 14,19 14,14 19,14 "></polygon></svg>',
|
|
5131
5134
|
modernbooleancheckind: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><path d="M22,0H2C0.9,0,0,0.9,0,2v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V2C24,0.9,23.1,0,22,0z M21,18L6,3h15V18z M3,6l15,15H3V6z"></path></svg>',
|
|
5132
5135
|
modernbooleancheckunchecked: '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><rect x="5" y="10" width="14" height="4"></rect></svg>',
|
|
@@ -5193,10 +5196,10 @@ const Po = ["lang", "dir"], No = { onsubmit: "return false;" }, Eo = {
|
|
|
5193
5196
|
key: 0,
|
|
5194
5197
|
class: "sv_custom_header"
|
|
5195
5198
|
}, Wo = { class: "sv-components-column sv-components-column--expandable" }, Fo = ["id"], Oo = { key: 2 }, zo = ["innerHTML"], Uo = ["innerHTML"], Qo = ["innerHTML"];
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
G.registerIcons(
|
|
5199
|
-
const
|
|
5199
|
+
Le("v1", Ao);
|
|
5200
|
+
Le("v2", Me);
|
|
5201
|
+
G.registerIcons(Me);
|
|
5202
|
+
const ie = /* @__PURE__ */ y({
|
|
5200
5203
|
__name: "Survey",
|
|
5201
5204
|
props: {
|
|
5202
5205
|
model: {},
|
|
@@ -5205,17 +5208,17 @@ const oe = /* @__PURE__ */ y({
|
|
|
5205
5208
|
setup(u) {
|
|
5206
5209
|
const e = u, n = k(), s = k(1), t = f(() => {
|
|
5207
5210
|
const q = e.survey ? e.survey : e.model;
|
|
5208
|
-
return
|
|
5211
|
+
return Pe(q);
|
|
5209
5212
|
}), o = f(() => t.value.activePage ? t.value.activePage.id : ""), r = () => {
|
|
5210
5213
|
const q = o.value;
|
|
5211
5214
|
return !!t.value && q + s.value.toString();
|
|
5212
5215
|
}, m = f(
|
|
5213
5216
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5214
|
-
), g = f(() => t.value.css),
|
|
5217
|
+
), g = f(() => t.value.css), V = f(() => "page" + r()), h = (q) => {
|
|
5215
5218
|
if (q) {
|
|
5216
5219
|
var b = n.value;
|
|
5217
5220
|
b && q.afterRenderSurvey(b), q.renderCallback = () => {
|
|
5218
|
-
s.value++,
|
|
5221
|
+
s.value++, he(t);
|
|
5219
5222
|
}, q.startTimerFromUI();
|
|
5220
5223
|
}
|
|
5221
5224
|
};
|
|
@@ -5308,7 +5311,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5308
5311
|
}, null, 8, ["survey"]),
|
|
5309
5312
|
(i(), C(d, {
|
|
5310
5313
|
is: t.value.pageComponent || "sv-page",
|
|
5311
|
-
key:
|
|
5314
|
+
key: V.value,
|
|
5312
5315
|
survey: t.value,
|
|
5313
5316
|
page: t.value.activePage,
|
|
5314
5317
|
css: g.value
|
|
@@ -5436,7 +5439,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5436
5439
|
(...o) => s.item.action && s.item.action(...o))
|
|
5437
5440
|
}, null, 42, Jo)) : p("", !0);
|
|
5438
5441
|
}
|
|
5439
|
-
}),
|
|
5442
|
+
}), He = /* @__PURE__ */ y({
|
|
5440
5443
|
__name: "PopupSurvey",
|
|
5441
5444
|
props: {
|
|
5442
5445
|
survey: {},
|
|
@@ -5456,12 +5459,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5456
5459
|
}, r = () => {
|
|
5457
5460
|
n.value.onScroll();
|
|
5458
5461
|
}, m = () => {
|
|
5459
|
-
let
|
|
5460
|
-
return n.value.isCollapsed && (
|
|
5462
|
+
let V = n.value.cssHeaderRoot;
|
|
5463
|
+
return n.value.isCollapsed && (V += " " + n.value.cssRootCollapsedMod), V;
|
|
5461
5464
|
}, g = N(
|
|
5462
5465
|
() => e.survey,
|
|
5463
|
-
(
|
|
5464
|
-
const h = new
|
|
5466
|
+
(V) => {
|
|
5467
|
+
const h = new Je(null, V);
|
|
5465
5468
|
e.isExpanded !== void 0 && (h.isExpanded = e.isExpanded), e.closeOnCompleteTimeout !== void 0 && (h.closeOnCompleteTimeout = e.closeOnCompleteTimeout), e.allowClose !== void 0 && (h.allowClose = e.allowClose), e.allowFullScreen !== void 0 && (h.allowFullScreen = e.allowFullScreen), h.isShowing = !0, n.value = h;
|
|
5466
5469
|
},
|
|
5467
5470
|
{
|
|
@@ -5470,7 +5473,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5470
5473
|
);
|
|
5471
5474
|
return I(() => n.value), P(() => {
|
|
5472
5475
|
g();
|
|
5473
|
-
}), (
|
|
5476
|
+
}), (V, h) => n.value.isShowing ? (i(), a("div", {
|
|
5474
5477
|
key: 0,
|
|
5475
5478
|
style: L({
|
|
5476
5479
|
maxWidth: n.value.renderedWidth,
|
|
@@ -5543,7 +5546,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5543
5546
|
v("div", {
|
|
5544
5547
|
class: l(n.value.cssBody)
|
|
5545
5548
|
}, [
|
|
5546
|
-
c(
|
|
5549
|
+
c(ie, { survey: V.survey }, null, 8, ["survey"])
|
|
5547
5550
|
], 2)
|
|
5548
5551
|
], 2)
|
|
5549
5552
|
], 38)) : p("", !0);
|
|
@@ -5585,7 +5588,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5585
5588
|
setup(u) {
|
|
5586
5589
|
const e = Y();
|
|
5587
5590
|
function n(s, t) {
|
|
5588
|
-
const o =
|
|
5591
|
+
const o = Xe(
|
|
5589
5592
|
s,
|
|
5590
5593
|
t
|
|
5591
5594
|
), r = (m, g) => {
|
|
@@ -5595,7 +5598,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5595
5598
|
}
|
|
5596
5599
|
return ee.showDialog || (ee.showDialog = n, P(() => {
|
|
5597
5600
|
ee.showDialog = void 0;
|
|
5598
|
-
})), (s, t) => e.value ? (i(), C(
|
|
5601
|
+
})), (s, t) => e.value ? (i(), C(Ne, {
|
|
5599
5602
|
key: 0,
|
|
5600
5603
|
to: e.value.container
|
|
5601
5604
|
}, [
|
|
@@ -5711,14 +5714,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5711
5714
|
}
|
|
5712
5715
|
}), ii = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ri = [
|
|
5713
5716
|
ii
|
|
5714
|
-
],
|
|
5717
|
+
], ge = 440, li = /* @__PURE__ */ y({
|
|
5715
5718
|
__name: "TimerPanel",
|
|
5716
5719
|
props: {
|
|
5717
5720
|
model: {},
|
|
5718
5721
|
css: {}
|
|
5719
5722
|
},
|
|
5720
5723
|
setup(u) {
|
|
5721
|
-
const e = u, n = f(() =>
|
|
5724
|
+
const e = u, n = f(() => ge * e.model.progress), s = f(() => e.model.text);
|
|
5722
5725
|
return I(() => e.model), (t, o) => t.model.isRunning && t.model.showTimerAsClock ? (i(), a("div", {
|
|
5723
5726
|
key: 0,
|
|
5724
5727
|
class: l(t.model.rootCss)
|
|
@@ -5726,7 +5729,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5726
5729
|
t.model.showProgress ? (i(), a("svg", {
|
|
5727
5730
|
key: 0,
|
|
5728
5731
|
class: l(t.model.getProgressCss()),
|
|
5729
|
-
style: L({ strokeDasharray:
|
|
5732
|
+
style: L({ strokeDasharray: ge, strokeDashoffset: n.value })
|
|
5730
5733
|
}, ri, 6)) : p("", !0),
|
|
5731
5734
|
v("div", {
|
|
5732
5735
|
class: l(t.model.textContainerCss)
|
|
@@ -5787,7 +5790,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5787
5790
|
class: l(n.model.contentClasses),
|
|
5788
5791
|
style: L({ maxWidth: n.model.maxWidth })
|
|
5789
5792
|
}, [
|
|
5790
|
-
(i(!0), a(M, null,
|
|
5793
|
+
(i(!0), a(M, null, S(n.model.cells, (t, o) => (i(), C(d, {
|
|
5791
5794
|
is: "sv-header-cell",
|
|
5792
5795
|
model: t,
|
|
5793
5796
|
key: o
|
|
@@ -5926,19 +5929,19 @@ const oe = /* @__PURE__ */ y({
|
|
|
5926
5929
|
const s = (g) => g.isPanel ? "survey-panel" : "survey-question", t = f(() => {
|
|
5927
5930
|
const g = e.element.survey;
|
|
5928
5931
|
if (g) {
|
|
5929
|
-
const
|
|
5930
|
-
if (
|
|
5931
|
-
return
|
|
5932
|
+
const V = g.getElementWrapperComponentName(e.element);
|
|
5933
|
+
if (V)
|
|
5934
|
+
return V;
|
|
5932
5935
|
}
|
|
5933
5936
|
return s(e.element);
|
|
5934
5937
|
}), o = (g) => g.cssClasses ? g.rootStyle : {}, r = f(() => {
|
|
5935
|
-
const g = e.element,
|
|
5938
|
+
const g = e.element, V = g.survey;
|
|
5936
5939
|
let h;
|
|
5937
|
-
return
|
|
5940
|
+
return V && (h = V.getElementWrapperComponentData(g)), {
|
|
5938
5941
|
componentName: s(g),
|
|
5939
5942
|
componentData: {
|
|
5940
5943
|
element: g,
|
|
5941
|
-
survey:
|
|
5944
|
+
survey: V,
|
|
5942
5945
|
row: e.row,
|
|
5943
5946
|
css: e.css,
|
|
5944
5947
|
data: h
|
|
@@ -5946,15 +5949,15 @@ const oe = /* @__PURE__ */ y({
|
|
|
5946
5949
|
};
|
|
5947
5950
|
}), m = N(
|
|
5948
5951
|
() => e.element,
|
|
5949
|
-
(g,
|
|
5950
|
-
|
|
5952
|
+
(g, V) => {
|
|
5953
|
+
V && V.setWrapperElement(void 0), g.setWrapperElement(n.value);
|
|
5951
5954
|
}
|
|
5952
5955
|
);
|
|
5953
5956
|
return T(() => {
|
|
5954
5957
|
e.element.setWrapperElement(n.value);
|
|
5955
5958
|
}), P(() => {
|
|
5956
5959
|
e.element.setWrapperElement(void 0), m();
|
|
5957
|
-
}), (g,
|
|
5960
|
+
}), (g, V) => (i(), a("div", {
|
|
5958
5961
|
ref_key: "root",
|
|
5959
5962
|
ref: n,
|
|
5960
5963
|
style: L(o(g.element)),
|
|
@@ -5978,7 +5981,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5978
5981
|
componentData: {}
|
|
5979
5982
|
},
|
|
5980
5983
|
setup(u) {
|
|
5981
|
-
const e =
|
|
5984
|
+
const e = Ee(), n = f(() => !!e.default);
|
|
5982
5985
|
return (s, t) => n.value && !s.componentName ? J(s.$slots, "default", { key: 0 }) : (i(), C(d, $({
|
|
5983
5986
|
key: 1,
|
|
5984
5987
|
is: s.componentName
|
|
@@ -6078,7 +6081,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6078
6081
|
key: 0,
|
|
6079
6082
|
class: l(e.question.cssClasses.fileList || void 0)
|
|
6080
6083
|
}, [
|
|
6081
|
-
(i(!0), a(M, null,
|
|
6084
|
+
(i(!0), a(M, null, S(e.question.renderedPages, (s) => (i(), C(d, {
|
|
6082
6085
|
is: "sv-file-page",
|
|
6083
6086
|
key: s.id,
|
|
6084
6087
|
page: s,
|
|
@@ -6099,7 +6102,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6099
6102
|
ref_key: "root",
|
|
6100
6103
|
ref: n
|
|
6101
6104
|
}, [
|
|
6102
|
-
(i(!0), a(M, null,
|
|
6105
|
+
(i(!0), a(M, null, S(s.question.visibleChoices, (o, r) => (i(), C(d, {
|
|
6103
6106
|
is: "sv-button-group-item",
|
|
6104
6107
|
question: s.question,
|
|
6105
6108
|
key: r,
|
|
@@ -6108,7 +6111,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6108
6111
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6109
6112
|
], 2));
|
|
6110
6113
|
}
|
|
6111
|
-
}),
|
|
6114
|
+
}), Si = ["title"], Vi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ri = ["title"], Ti = /* @__PURE__ */ y({
|
|
6112
6115
|
__name: "ButtonGroupItem",
|
|
6113
6116
|
props: {
|
|
6114
6117
|
item: {},
|
|
@@ -6117,7 +6120,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6117
6120
|
},
|
|
6118
6121
|
setup(u) {
|
|
6119
6122
|
const e = u, n = f(
|
|
6120
|
-
() => new
|
|
6123
|
+
() => new Ye(e.question, e.item, e.index)
|
|
6121
6124
|
), s = f({
|
|
6122
6125
|
get: () => e.question.renderedValue,
|
|
6123
6126
|
set: (t) => {
|
|
@@ -6141,8 +6144,8 @@ const oe = /* @__PURE__ */ y({
|
|
|
6141
6144
|
class: l(n.value.css.control),
|
|
6142
6145
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => s.value = r),
|
|
6143
6146
|
value: n.value.value
|
|
6144
|
-
}, null, 10,
|
|
6145
|
-
[
|
|
6147
|
+
}, null, 10, Vi), [
|
|
6148
|
+
[we, s.value]
|
|
6146
6149
|
]),
|
|
6147
6150
|
v("div", {
|
|
6148
6151
|
class: l(n.value.css.decorator)
|
|
@@ -6165,7 +6168,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6165
6168
|
}, null, 8, ["locString"])
|
|
6166
6169
|
], 10, Ri)) : p("", !0)
|
|
6167
6170
|
], 2)
|
|
6168
|
-
], 10,
|
|
6171
|
+
], 10, Si));
|
|
6169
6172
|
}
|
|
6170
6173
|
});
|
|
6171
6174
|
U.Instance.registerRenderer(
|
|
@@ -6247,7 +6250,7 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6247
6250
|
class: l(n.page.css),
|
|
6248
6251
|
id: n.page.id
|
|
6249
6252
|
}, [
|
|
6250
|
-
(i(!0), a(M, null,
|
|
6253
|
+
(i(!0), a(M, null, S(n.page.items, (t) => (i(), C(d, {
|
|
6251
6254
|
is: "sv-file-item",
|
|
6252
6255
|
key: t,
|
|
6253
6256
|
item: t,
|
|
@@ -6372,7 +6375,7 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6372
6375
|
], 6), [
|
|
6373
6376
|
[A, s.question.hasRows]
|
|
6374
6377
|
]),
|
|
6375
|
-
s.question.hasCellText ? (i(!0), a(M, { key: 0 },
|
|
6378
|
+
s.question.hasCellText ? (i(!0), a(M, { key: 0 }, S(s.question.visibleColumns, (o) => (i(), a("td", {
|
|
6376
6379
|
key: o.uniqueId,
|
|
6377
6380
|
class: l(s.question.getItemClass(s.row, o)),
|
|
6378
6381
|
onClick: (r) => n(s.row, o)
|
|
@@ -6382,7 +6385,7 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6382
6385
|
locString: s.question.getCellDisplayLocText(s.row.name, o)
|
|
6383
6386
|
}, null, 8, ["locString"])
|
|
6384
6387
|
], 10, Oi))), 128)) : p("", !0),
|
|
6385
|
-
s.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 },
|
|
6388
|
+
s.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 }, S(s.question.visibleColumns, (o, r) => (i(), a("td", {
|
|
6386
6389
|
key: o.uniqueId,
|
|
6387
6390
|
"data-responsive-title": o.locText.renderedHtml,
|
|
6388
6391
|
class: l(s.question.cssClasses.cell)
|
|
@@ -6398,31 +6401,31 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6398
6401
|
], 2));
|
|
6399
6402
|
}
|
|
6400
6403
|
});
|
|
6401
|
-
|
|
6404
|
+
_e.platform = "vue3";
|
|
6402
6405
|
function Qi(u, e, n) {
|
|
6403
6406
|
u(e, n);
|
|
6404
6407
|
}
|
|
6405
|
-
function
|
|
6408
|
+
function Ie(u) {
|
|
6406
6409
|
const e = Qi.bind(
|
|
6407
6410
|
void 0,
|
|
6408
6411
|
u
|
|
6409
6412
|
);
|
|
6410
|
-
e("sv-svg-bundle", Di), e("popup-survey",
|
|
6413
|
+
e("sv-svg-bundle", Di), e("popup-survey", He), e("survey-header", os), e("sv-logo-image", $i), e("sv-page", ts), e("survey-row", is), e("survey-question", ds), e("survey-panel", Cs), e("survey-element-header", gs), e("survey-string", ys), e("sv-string-viewer", te), e("sv-string-editor", ws), e("sv-skeleton", Ls), e("sv-scroll", Hs), e("survey-text", Vs), e("survey-text-input", Bs), e("survey-checkbox", Ps), e("survey-checkbox-item", Ws), e("survey-radiogroup", Fs), e("survey-radiogroup-item", Us), e("survey-signaturepad", Gs), e("survey-html", Xs), e("survey-image", e1), e("survey-expression", n1), e("survey-file", r1), e("sv-file-choose-btn", Mi), e("sv-file-clean-btn", bi), e("sv-file-preview", Hi), e("sv-file-page", Pi), e("sv-file-item", Fi), e("sv-file-video", ki), e("survey-imagepicker", a1), e("survey-imagepicker-item", v1), e("survey-comment", C1), e("survey-dropdown", c1), e("sv-dropdown-select", q1), e("sv-dropdown-option-item", b1), e("sv-dropdown", H1), e("survey-tagbox", I1), e("sv-tagbox", R1), e("sv-tagbox-item", D1), e("sv-tagbox-filter", Z1), e("survey-ranking", A1), e("survey-ranking-item", O1), e("sv-ranking-item", z1), e("survey-rating", K1), e("sv-rating-item", J1), e("sv-rating-item-smiley", _1), e("sv-rating-item-star", sn), e("sv-rating-dropdown", ln), e("sv-rating-dropdown-item", rn), e("survey-boolean", un), e("sv-boolean-radio", dn), e("sv-boolean-radio-item", vn), e("sv-boolean-checkbox", qn), e("survey-multipletext", wn), e("sv-multipletext-row", bn), e("survey-multipletext-item", fn), e("sv-breadcrumbs", Mn), e("sv-single-input-summary", Rn), e("survey-slider", Zn), e("sv-slider-label-item", $n), e("survey-matrix", En), e("sv-matrix-row", Ui), e("survey-matrix-row", Fn), e("survey-matrix-cell", Un), e("survey-matrixdropdown", Qn), e("survey-matrixtable", Gn), e("survey-matrixheaderrequired", Xn), e("survey-matrixdropdown-cell", _n), e("survey-matrixdynamic", tt), e("survey-placeholder-matrixdynamic", ot), e("sv-matrix-remove-button", rt), e("sv-matrix-drag-drop-icon", at), e("sv-matrix-detail-button", dt), e("survey-paneldynamic", pt), e("survey-paneldynamicprogress", Ct), e("survey-paneldynamicprogress-v2", gt), e("survey-placeholder-paneldynamic", yt), e("sv-paneldynamic-add-btn", qt), e("sv-paneldynamic-next-btn", bt), e("sv-paneldynamic-prev-btn", kt), e("sv-paneldynamic-remove-btn", Mt), e("sv-paneldynamic-progress-text", Ht), e("sv-components-container", Ho), e("sv-progress-buttons", $o), e("sv-navigation-toc", Do), e("sv-progress-pages", j), e("sv-progress-questions", j), e("sv-progress-correctquestions", j), e("sv-progress-requiredquestions", j), e("survey-errors", St), e("survey-question-comment", Rt), e("survey-element-title", Tt), e("survey-element-title-content", At), e("sv-title-actions", Et), e("sv-brand-info", Kt), e("sv-question-error", Xt), e("sv-svg-icon", Jt), e("sv-action-bar", Yt), e("sv-action", eo), e("sv-action-bar-item", to), e("sv-action-bar-item-dropdown", ro), e("sv-action-bar-separator", lo), e("sv-list", po), e("sv-list-item-content", go), e("sv-list-item-group", yo), e("sv-list-item", co), e("sv-popup", ho), e("sv-popup-container", fo), e("popup-pointer", Mo), e("sv-notifier", Ko), e("survey-other-choice", Go), e("sv-nav-btn", Xo), e("survey-customwidget", _o), e("survey-popup-modal", xo), e("survey-composite", ti), e("survey-custom", oi), e("sv-timerpanel", li), e("sv-loading-indicator", ui), e("sv-header", mi), e("sv-header-cell", Ci), e("sv-header-mobile", hi), e("sv-template-renderer", wi), e("sv-character-counter", ni), e("sv-text-area", si), e("survey-element", qi), e("survey-buttongroup", Ii), e("sv-button-group-item", Ti), e("sv-buttongroup-dropdown", Bi), e("survey", ie);
|
|
6411
6414
|
}
|
|
6412
|
-
|
|
6415
|
+
Ie(
|
|
6413
6416
|
(u, e) => W.Instance.registerComponent(u, e)
|
|
6414
6417
|
);
|
|
6415
6418
|
const Ji = {
|
|
6416
6419
|
install(u) {
|
|
6417
|
-
u.component("SurveyComponent",
|
|
6420
|
+
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent", He), u.directive("key2click", O), Ie((e, n) => {
|
|
6418
6421
|
u.component(e, n), W.Instance.registerComponent(e, e);
|
|
6419
6422
|
});
|
|
6420
6423
|
}
|
|
6421
6424
|
};
|
|
6422
6425
|
export {
|
|
6423
6426
|
W as ComponentFactory,
|
|
6424
|
-
|
|
6425
|
-
|
|
6427
|
+
He as PopupSurveyComponent,
|
|
6428
|
+
ie as SurveyComponent,
|
|
6426
6429
|
d as SvComponent,
|
|
6427
6430
|
O as key2ClickDirective,
|
|
6428
6431
|
Ji as surveyPlugin,
|