survey-vue3-ui 2.4.0 → 2.5.0
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 +217 -213
- 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,
|
|
@@ -3244,18 +3245,17 @@ const qn = /* @__PURE__ */ y({
|
|
|
3244
3245
|
}), (t, o) => t.row.visible ? (i(), a("tr", {
|
|
3245
3246
|
key: 0,
|
|
3246
3247
|
"data-sv-drop-target-matrix-row": t.row.dropTargetId,
|
|
3247
|
-
onPointerdown: o[0] || (o[0] = (r) => t.question.onPointerDown(r, t.row.row)),
|
|
3248
3248
|
class: l(t.row.className),
|
|
3249
3249
|
ref_key: "root",
|
|
3250
3250
|
ref: n
|
|
3251
3251
|
}, [
|
|
3252
|
-
(i(!0), a(M, null,
|
|
3252
|
+
(i(!0), a(M, null, S(t.row.cells, (r) => (i(), C(d, {
|
|
3253
3253
|
is: "survey-matrixdropdown-cell",
|
|
3254
3254
|
cell: r,
|
|
3255
3255
|
question: t.question,
|
|
3256
3256
|
key: t.row.id + "_" + r.id
|
|
3257
3257
|
}, null, 8, ["cell", "question"]))), 128))
|
|
3258
|
-
],
|
|
3258
|
+
], 10, Wn)) : p("", !0);
|
|
3259
3259
|
}
|
|
3260
3260
|
}), On = ["type", "name", "checked", "value", "readonly", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], zn = ["xlink:href"], Un = /* @__PURE__ */ y({
|
|
3261
3261
|
inheritAttrs: !1,
|
|
@@ -3344,7 +3344,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3344
3344
|
}, [
|
|
3345
3345
|
n.value.showHeader ? (i(), a("thead", Kn, [
|
|
3346
3346
|
v("tr", null, [
|
|
3347
|
-
(i(!0), a(M, null,
|
|
3347
|
+
(i(!0), a(M, null, S(n.value.headerRow.cells, (o) => (i(), a(M, null, [
|
|
3348
3348
|
o.hasTitle ? (i(), a("th", {
|
|
3349
3349
|
key: "header_" + o.id,
|
|
3350
3350
|
class: l(o.className),
|
|
@@ -3378,7 +3378,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3378
3378
|
])
|
|
3379
3379
|
])) : p("", !0),
|
|
3380
3380
|
v("tbody", null, [
|
|
3381
|
-
(i(!0), a(M, null,
|
|
3381
|
+
(i(!0), a(M, null, S(n.value.renderedRows, (o) => (i(), C(d, {
|
|
3382
3382
|
key: s.question.inputId + "_" + o.id,
|
|
3383
3383
|
is: "survey-matrix-row",
|
|
3384
3384
|
row: o,
|
|
@@ -3387,7 +3387,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3387
3387
|
]),
|
|
3388
3388
|
n.value.showFooter ? (i(), a("tfoot", jn, [
|
|
3389
3389
|
v("tr", null, [
|
|
3390
|
-
(i(!0), a(M, null,
|
|
3390
|
+
(i(!0), a(M, null, S(n.value.footerRow.cells, (o, r) => (i(), C(d, {
|
|
3391
3391
|
is: "survey-matrixdropdown-cell",
|
|
3392
3392
|
cell: o,
|
|
3393
3393
|
question: s.question,
|
|
@@ -3452,7 +3452,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3452
3452
|
}
|
|
3453
3453
|
return "survey-panel";
|
|
3454
3454
|
}
|
|
3455
|
-
}),
|
|
3455
|
+
}), V = f(() => {
|
|
3456
3456
|
if (e.cell.hasPanel) {
|
|
3457
3457
|
const q = e.cell.panel, b = q.survey;
|
|
3458
3458
|
let Z;
|
|
@@ -3495,7 +3495,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3495
3495
|
h.cell.hasPanel ? (i(), C(d, $({
|
|
3496
3496
|
key: 3,
|
|
3497
3497
|
is: g.value
|
|
3498
|
-
},
|
|
3498
|
+
}, V.value), null, 16, ["is"])) : p("", !0),
|
|
3499
3499
|
h.cell.showResponsiveTitle ? (i(), a("span", {
|
|
3500
3500
|
key: 4,
|
|
3501
3501
|
class: l(h.cell.responsiveTitleCss)
|
|
@@ -3698,7 +3698,7 @@ const qn = /* @__PURE__ */ y({
|
|
|
3698
3698
|
], 2));
|
|
3699
3699
|
}
|
|
3700
3700
|
});
|
|
3701
|
-
function
|
|
3701
|
+
function oe(u, e = !0) {
|
|
3702
3702
|
return {
|
|
3703
3703
|
question: f(() => u.item.data.question),
|
|
3704
3704
|
row: e ? f(() => u.item.data.row) : void 0
|
|
@@ -3710,7 +3710,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3710
3710
|
item: {}
|
|
3711
3711
|
},
|
|
3712
3712
|
setup(u) {
|
|
3713
|
-
const e = u, { question: n, row: s } =
|
|
3713
|
+
const e = u, { question: n, row: s } = oe(e);
|
|
3714
3714
|
return (t, o) => (i(), a("button", {
|
|
3715
3715
|
type: "button",
|
|
3716
3716
|
class: l(w(n).getRemoveRowButtonCss()),
|
|
@@ -3732,8 +3732,10 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3732
3732
|
item: {}
|
|
3733
3733
|
},
|
|
3734
3734
|
setup(u) {
|
|
3735
|
-
const e = u, { question: n } =
|
|
3736
|
-
return (
|
|
3735
|
+
const e = u, { question: n, row: s } = oe(e, !0);
|
|
3736
|
+
return (t, o) => (i(), a("div", {
|
|
3737
|
+
onPointerdown: o[0] || (o[0] = (r) => w(n).onPointerDown(r, w(s)))
|
|
3738
|
+
}, [
|
|
3737
3739
|
w(n).iconDragElement ? (i(), a("svg", {
|
|
3738
3740
|
key: 0,
|
|
3739
3741
|
class: l(w(n).cssClasses.dragElementDecorator)
|
|
@@ -3745,7 +3747,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3745
3747
|
key: 1,
|
|
3746
3748
|
class: l(w(n).cssClasses.iconDrag)
|
|
3747
3749
|
}, null, 2))
|
|
3748
|
-
]));
|
|
3750
|
+
], 32));
|
|
3749
3751
|
}
|
|
3750
3752
|
}), ut = ["title", "aria-expanded", "aria-controls"], dt = /* @__PURE__ */ y({
|
|
3751
3753
|
__name: "DetailButton",
|
|
@@ -3753,7 +3755,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3753
3755
|
item: {}
|
|
3754
3756
|
},
|
|
3755
3757
|
setup(u) {
|
|
3756
|
-
const e = u, { question: n, row: s } =
|
|
3758
|
+
const e = u, { question: n, row: s } = oe(e);
|
|
3757
3759
|
return (t, o) => (i(), a("button", {
|
|
3758
3760
|
type: "button",
|
|
3759
3761
|
class: l(w(n).getDetailPanelButtonCss(w(s))),
|
|
@@ -3835,7 +3837,7 @@ const it = ["disabled"], rt = /* @__PURE__ */ y({
|
|
|
3835
3837
|
v("div", {
|
|
3836
3838
|
class: l(o.question.cssClasses.panelsContainer)
|
|
3837
3839
|
}, [
|
|
3838
|
-
(i(!0), a(M, null,
|
|
3840
|
+
(i(!0), a(M, null, S(o.question.renderedPanels, (m, g) => (i(), a(M, {
|
|
3839
3841
|
key: m.id
|
|
3840
3842
|
}, [
|
|
3841
3843
|
v("div", {
|
|
@@ -4087,7 +4089,7 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4087
4089
|
class: l(w(n).cssClasses.progressText)
|
|
4088
4090
|
}, H(w(n).progressText), 3));
|
|
4089
4091
|
}
|
|
4090
|
-
}), It = ["id"],
|
|
4092
|
+
}), It = ["id"], St = /* @__PURE__ */ y({
|
|
4091
4093
|
__name: "Errors",
|
|
4092
4094
|
props: {
|
|
4093
4095
|
element: {},
|
|
@@ -4102,7 +4104,7 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4102
4104
|
ref_key: "root",
|
|
4103
4105
|
ref: e
|
|
4104
4106
|
}, [
|
|
4105
|
-
(i(!0), a(M, null,
|
|
4107
|
+
(i(!0), a(M, null, S(n.element.renderedErrors, (t, o) => (i(), C(d, {
|
|
4106
4108
|
is: n.element.survey.questionErrorComponent,
|
|
4107
4109
|
element: n.element,
|
|
4108
4110
|
key: o,
|
|
@@ -4111,13 +4113,13 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4111
4113
|
}, null, 8, ["is", "element", "error", "cssClasses"]))), 128))
|
|
4112
4114
|
], 10, It)) : p("", !0);
|
|
4113
4115
|
}
|
|
4114
|
-
}),
|
|
4116
|
+
}), Vt = { key: 0 }, Rt = /* @__PURE__ */ y({
|
|
4115
4117
|
__name: "QuestionComment",
|
|
4116
4118
|
props: {
|
|
4117
4119
|
question: {}
|
|
4118
4120
|
},
|
|
4119
4121
|
setup(u) {
|
|
4120
|
-
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, {
|
|
4121
4123
|
key: 1,
|
|
4122
4124
|
is: "sv-text-area",
|
|
4123
4125
|
model: e.question.commentTextAreaModel
|
|
@@ -4132,9 +4134,9 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4132
4134
|
},
|
|
4133
4135
|
setup(u) {
|
|
4134
4136
|
const e = u, n = f(() => e.element.hasTitleActions && e.renderActions !== !1), s = (t) => {
|
|
4135
|
-
|
|
4137
|
+
be(t);
|
|
4136
4138
|
};
|
|
4137
|
-
return (t, o) => t.element.hasTitle ? (i(), C(
|
|
4139
|
+
return (t, o) => t.element.hasTitle ? (i(), C(ye(t.element.titleTagName), {
|
|
4138
4140
|
key: 0,
|
|
4139
4141
|
class: l(t.element.cssTitle),
|
|
4140
4142
|
"aria-label": t.element.titleAriaLabel,
|
|
@@ -4256,7 +4258,7 @@ const ht = ["id"], qt = /* @__PURE__ */ y({
|
|
|
4256
4258
|
for (const [s, t] of e)
|
|
4257
4259
|
n[s] = t;
|
|
4258
4260
|
return n;
|
|
4259
|
-
}, 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 = [
|
|
4260
4262
|
zt
|
|
4261
4263
|
];
|
|
4262
4264
|
function Qt(u, e) {
|
|
@@ -4275,7 +4277,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4275
4277
|
},
|
|
4276
4278
|
setup(u) {
|
|
4277
4279
|
const e = u, n = k(), s = () => {
|
|
4278
|
-
|
|
4280
|
+
ze(
|
|
4279
4281
|
e.size,
|
|
4280
4282
|
e.width,
|
|
4281
4283
|
e.height,
|
|
@@ -4351,7 +4353,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4351
4353
|
class: l(o.model.getRootCss()),
|
|
4352
4354
|
onClick: s
|
|
4353
4355
|
}, [
|
|
4354
|
-
(i(!0), a(M, null,
|
|
4356
|
+
(i(!0), a(M, null, S(o.model.renderedActions, (m) => (i(), C(d, {
|
|
4355
4357
|
is: "sv-action",
|
|
4356
4358
|
key: m.renderedId,
|
|
4357
4359
|
item: m
|
|
@@ -4370,7 +4372,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4370
4372
|
return I(() => n.item), T(() => {
|
|
4371
4373
|
const t = n.item;
|
|
4372
4374
|
t.updateModeCallback = (o, r) => {
|
|
4373
|
-
t.mode = o,
|
|
4375
|
+
t.mode = o, qe(() => {
|
|
4374
4376
|
r(o, e.value);
|
|
4375
4377
|
});
|
|
4376
4378
|
}, t.afterRender();
|
|
@@ -4407,10 +4409,10 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4407
4409
|
u.tabIndex = -1;
|
|
4408
4410
|
return;
|
|
4409
4411
|
}
|
|
4410
|
-
n.disableTabStop || (u.tabIndex = 0), u.addEventListener("keyup", (s) => (s.preventDefault(), s.stopPropagation(),
|
|
4411
|
-
|
|
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);
|
|
4412
4414
|
}), u.addEventListener("blur", (s) => {
|
|
4413
|
-
|
|
4415
|
+
Qe(s);
|
|
4414
4416
|
});
|
|
4415
4417
|
}
|
|
4416
4418
|
}, so = ["disabled", "title", "aria-checked", "aria-expanded", "role"], no = {
|
|
@@ -4452,10 +4454,11 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4452
4454
|
size: n.item.iconSize,
|
|
4453
4455
|
title: n.item.tooltip || n.item.title
|
|
4454
4456
|
}, null, 8, ["class", "iconName", "size", "title"])) : p("", !0),
|
|
4455
|
-
n.item.hasTitle ? (i(),
|
|
4457
|
+
n.item.hasTitle ? (i(), C(te, {
|
|
4456
4458
|
key: 1,
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
+
locString: n.item.locTitle,
|
|
4460
|
+
textClass: n.item.getActionBarItemTitleCss()
|
|
4461
|
+
}, null, 8, ["locString", "textClass"])) : p("", !0)
|
|
4459
4462
|
], 42, so)), [
|
|
4460
4463
|
[w(O), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4461
4464
|
]);
|
|
@@ -4474,7 +4477,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4474
4477
|
return I(
|
|
4475
4478
|
() => e.item,
|
|
4476
4479
|
(s) => {
|
|
4477
|
-
n = new
|
|
4480
|
+
n = new Ke(s);
|
|
4478
4481
|
},
|
|
4479
4482
|
() => {
|
|
4480
4483
|
n.dispose();
|
|
@@ -4501,10 +4504,11 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4501
4504
|
size: s.item.iconSize,
|
|
4502
4505
|
title: s.item.tooltip || s.item.title
|
|
4503
4506
|
}, null, 8, ["class", "iconName", "size", "title"])) : p("", !0),
|
|
4504
|
-
s.item.hasTitle ? (i(),
|
|
4507
|
+
s.item.hasTitle ? (i(), C(te, {
|
|
4505
4508
|
key: 1,
|
|
4506
|
-
|
|
4507
|
-
|
|
4509
|
+
locString: s.item.locTitle,
|
|
4510
|
+
textClass: s.item.getActionBarItemTitleCss()
|
|
4511
|
+
}, null, 8, ["locString", "textClass"])) : p("", !0)
|
|
4508
4512
|
], 42, oo)), [
|
|
4509
4513
|
[w(O), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4510
4514
|
]),
|
|
@@ -4609,7 +4613,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4609
4613
|
r.model.onKeyDown(g);
|
|
4610
4614
|
})
|
|
4611
4615
|
}, [
|
|
4612
|
-
(i(!0), a(M, null,
|
|
4616
|
+
(i(!0), a(M, null, S(r.model.renderedActions, (g) => (i(), C(d, {
|
|
4613
4617
|
is: "sv-list-item",
|
|
4614
4618
|
item: g,
|
|
4615
4619
|
model: r.model,
|
|
@@ -4735,7 +4739,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4735
4739
|
return N(
|
|
4736
4740
|
() => e.model,
|
|
4737
4741
|
(o) => {
|
|
4738
|
-
n.value && n.value.dispose(), n.value =
|
|
4742
|
+
n.value && n.value.dispose(), n.value = je(o), t();
|
|
4739
4743
|
},
|
|
4740
4744
|
{ immediate: !0 }
|
|
4741
4745
|
), I(() => n.value), T(() => {
|
|
@@ -4852,14 +4856,14 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4852
4856
|
key: 0,
|
|
4853
4857
|
class: l(["sv-components-column", "sv-components-container-" + s.container])
|
|
4854
4858
|
}, [
|
|
4855
|
-
(i(!0), a(M, null,
|
|
4859
|
+
(i(!0), a(M, null, S(n.value, (o) => (i(), C(d, {
|
|
4856
4860
|
key: o.id,
|
|
4857
4861
|
is: o.component,
|
|
4858
4862
|
survey: s.survey,
|
|
4859
4863
|
container: s.container,
|
|
4860
4864
|
model: o.data
|
|
4861
4865
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4862
|
-
], 2)) : (i(!0), a(M, { key: 1 },
|
|
4866
|
+
], 2)) : (i(!0), a(M, { key: 1 }, S(n.value, (o) => (i(), C(d, {
|
|
4863
4867
|
key: o.id,
|
|
4864
4868
|
is: o.component,
|
|
4865
4869
|
survey: s.survey,
|
|
@@ -4876,7 +4880,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4876
4880
|
css: {}
|
|
4877
4881
|
},
|
|
4878
4882
|
setup(u) {
|
|
4879
|
-
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);
|
|
4880
4884
|
return (o, r) => (i(), a("div", {
|
|
4881
4885
|
class: l(o.survey.getProgressCssClasses(o.container))
|
|
4882
4886
|
}, [
|
|
@@ -4897,7 +4901,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4897
4901
|
}, H(o.survey.progressText), 3)
|
|
4898
4902
|
], 2));
|
|
4899
4903
|
}
|
|
4900
|
-
}),
|
|
4904
|
+
}), So = ["aria-label"], Vo = ["title"], Ro = ["onClick", "data-page-number"], To = ["title"], Bo = ["title"], Zo = ["title"], $o = /* @__PURE__ */ y({
|
|
4901
4905
|
__name: "ProgressButtons",
|
|
4902
4906
|
props: {
|
|
4903
4907
|
survey: {},
|
|
@@ -4907,13 +4911,13 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4907
4911
|
setup(u) {
|
|
4908
4912
|
const e = u, n = k(!1), s = k(!1), t = k(!1), o = k(!0), r = k(), m = f(() => e.survey.css);
|
|
4909
4913
|
let g = null;
|
|
4910
|
-
const
|
|
4914
|
+
const V = (h) => {
|
|
4911
4915
|
let q = r.value;
|
|
4912
4916
|
q.scrollLeft += (h ? -1 : 1) * 70;
|
|
4913
4917
|
};
|
|
4914
4918
|
return T(() => {
|
|
4915
4919
|
const h = r.value;
|
|
4916
|
-
g = new
|
|
4920
|
+
g = new Ge(e.model, h, {
|
|
4917
4921
|
onResize: (q) => {
|
|
4918
4922
|
o.value = q, s.value = !q;
|
|
4919
4923
|
},
|
|
@@ -4942,14 +4946,14 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4942
4946
|
v("div", {
|
|
4943
4947
|
class: l(h.survey.css.progressButtonsPageTitle),
|
|
4944
4948
|
title: h.model.headerText
|
|
4945
|
-
}, H(h.model.headerText), 11,
|
|
4949
|
+
}, H(h.model.headerText), 11, Vo)
|
|
4946
4950
|
], 2)) : p("", !0),
|
|
4947
4951
|
v("div", {
|
|
4948
4952
|
class: l(m.value.progressButtonsContainer)
|
|
4949
4953
|
}, [
|
|
4950
4954
|
v("div", {
|
|
4951
4955
|
class: l(h.model.getScrollButtonCss(n.value, !0)),
|
|
4952
|
-
onClick: q[0] || (q[0] = (b) =>
|
|
4956
|
+
onClick: q[0] || (q[0] = (b) => V(!0)),
|
|
4953
4957
|
role: "button"
|
|
4954
4958
|
}, null, 2),
|
|
4955
4959
|
v("div", {
|
|
@@ -4960,7 +4964,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
4960
4964
|
v("ul", {
|
|
4961
4965
|
class: l(m.value.progressButtonsList)
|
|
4962
4966
|
}, [
|
|
4963
|
-
(i(!0), a(M, null,
|
|
4967
|
+
(i(!0), a(M, null, S(h.survey.visiblePages, (b, Z) => (i(), a("li", {
|
|
4964
4968
|
key: "listelement" + Z,
|
|
4965
4969
|
class: l(h.model.getListElementCss(Z)),
|
|
4966
4970
|
onClick: (_) => h.model.isListElementClickable(Z) ? h.model.clickListElement(b) : null,
|
|
@@ -5000,7 +5004,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
5000
5004
|
], 2),
|
|
5001
5005
|
v("div", {
|
|
5002
5006
|
class: l(h.model.getScrollButtonCss(n.value, !1)),
|
|
5003
|
-
onClick: q[1] || (q[1] = (b) =>
|
|
5007
|
+
onClick: q[1] || (q[1] = (b) => V(!1)),
|
|
5004
5008
|
role: "button"
|
|
5005
5009
|
}, null, 2)
|
|
5006
5010
|
], 2),
|
|
@@ -5013,7 +5017,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
5013
5017
|
title: h.model.footerText
|
|
5014
5018
|
}, H(h.model.footerText), 11, Zo)
|
|
5015
5019
|
], 2)) : p("", !0)
|
|
5016
|
-
], 14,
|
|
5020
|
+
], 14, So));
|
|
5017
5021
|
}
|
|
5018
5022
|
}), Do = /* @__PURE__ */ y({
|
|
5019
5023
|
__name: "ProgressToc",
|
|
@@ -5053,7 +5057,7 @@ const Kt = /* @__PURE__ */ Wt(Ft, [["render", Qt]]), jt = /* @__PURE__ */ v("use
|
|
|
5053
5057
|
}
|
|
5054
5058
|
});
|
|
5055
5059
|
/*!
|
|
5056
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5060
|
+
* surveyjs - Survey JavaScript library v2.5.0
|
|
5057
5061
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5058
5062
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5059
5063
|
*/
|
|
@@ -5121,11 +5125,11 @@ var Ao = {
|
|
|
5121
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>'
|
|
5122
5126
|
};
|
|
5123
5127
|
/*!
|
|
5124
|
-
* surveyjs - Survey JavaScript library v2.
|
|
5128
|
+
* surveyjs - Survey JavaScript library v2.5.0
|
|
5125
5129
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5126
5130
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5127
5131
|
*/
|
|
5128
|
-
var
|
|
5132
|
+
var Me = {
|
|
5129
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>',
|
|
5130
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>',
|
|
5131
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>',
|
|
@@ -5192,10 +5196,10 @@ const Po = ["lang", "dir"], No = { onsubmit: "return false;" }, Eo = {
|
|
|
5192
5196
|
key: 0,
|
|
5193
5197
|
class: "sv_custom_header"
|
|
5194
5198
|
}, Wo = { class: "sv-components-column sv-components-column--expandable" }, Fo = ["id"], Oo = { key: 2 }, zo = ["innerHTML"], Uo = ["innerHTML"], Qo = ["innerHTML"];
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
G.registerIcons(
|
|
5198
|
-
const
|
|
5199
|
+
Le("v1", Ao);
|
|
5200
|
+
Le("v2", Me);
|
|
5201
|
+
G.registerIcons(Me);
|
|
5202
|
+
const ie = /* @__PURE__ */ y({
|
|
5199
5203
|
__name: "Survey",
|
|
5200
5204
|
props: {
|
|
5201
5205
|
model: {},
|
|
@@ -5204,17 +5208,17 @@ const oe = /* @__PURE__ */ y({
|
|
|
5204
5208
|
setup(u) {
|
|
5205
5209
|
const e = u, n = k(), s = k(1), t = f(() => {
|
|
5206
5210
|
const q = e.survey ? e.survey : e.model;
|
|
5207
|
-
return
|
|
5211
|
+
return Pe(q);
|
|
5208
5212
|
}), o = f(() => t.value.activePage ? t.value.activePage.id : ""), r = () => {
|
|
5209
5213
|
const q = o.value;
|
|
5210
5214
|
return !!t.value && q + s.value.toString();
|
|
5211
5215
|
}, m = f(
|
|
5212
5216
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5213
|
-
), g = f(() => t.value.css),
|
|
5217
|
+
), g = f(() => t.value.css), V = f(() => "page" + r()), h = (q) => {
|
|
5214
5218
|
if (q) {
|
|
5215
5219
|
var b = n.value;
|
|
5216
5220
|
b && q.afterRenderSurvey(b), q.renderCallback = () => {
|
|
5217
|
-
s.value++,
|
|
5221
|
+
s.value++, he(t);
|
|
5218
5222
|
}, q.startTimerFromUI();
|
|
5219
5223
|
}
|
|
5220
5224
|
};
|
|
@@ -5307,7 +5311,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5307
5311
|
}, null, 8, ["survey"]),
|
|
5308
5312
|
(i(), C(d, {
|
|
5309
5313
|
is: t.value.pageComponent || "sv-page",
|
|
5310
|
-
key:
|
|
5314
|
+
key: V.value,
|
|
5311
5315
|
survey: t.value,
|
|
5312
5316
|
page: t.value.activePage,
|
|
5313
5317
|
css: g.value
|
|
@@ -5435,7 +5439,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5435
5439
|
(...o) => s.item.action && s.item.action(...o))
|
|
5436
5440
|
}, null, 42, Jo)) : p("", !0);
|
|
5437
5441
|
}
|
|
5438
|
-
}),
|
|
5442
|
+
}), He = /* @__PURE__ */ y({
|
|
5439
5443
|
__name: "PopupSurvey",
|
|
5440
5444
|
props: {
|
|
5441
5445
|
survey: {},
|
|
@@ -5455,12 +5459,12 @@ const oe = /* @__PURE__ */ y({
|
|
|
5455
5459
|
}, r = () => {
|
|
5456
5460
|
n.value.onScroll();
|
|
5457
5461
|
}, m = () => {
|
|
5458
|
-
let
|
|
5459
|
-
return n.value.isCollapsed && (
|
|
5462
|
+
let V = n.value.cssHeaderRoot;
|
|
5463
|
+
return n.value.isCollapsed && (V += " " + n.value.cssRootCollapsedMod), V;
|
|
5460
5464
|
}, g = N(
|
|
5461
5465
|
() => e.survey,
|
|
5462
|
-
(
|
|
5463
|
-
const h = new
|
|
5466
|
+
(V) => {
|
|
5467
|
+
const h = new Je(null, V);
|
|
5464
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;
|
|
5465
5469
|
},
|
|
5466
5470
|
{
|
|
@@ -5469,7 +5473,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5469
5473
|
);
|
|
5470
5474
|
return I(() => n.value), P(() => {
|
|
5471
5475
|
g();
|
|
5472
|
-
}), (
|
|
5476
|
+
}), (V, h) => n.value.isShowing ? (i(), a("div", {
|
|
5473
5477
|
key: 0,
|
|
5474
5478
|
style: L({
|
|
5475
5479
|
maxWidth: n.value.renderedWidth,
|
|
@@ -5542,7 +5546,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5542
5546
|
v("div", {
|
|
5543
5547
|
class: l(n.value.cssBody)
|
|
5544
5548
|
}, [
|
|
5545
|
-
c(
|
|
5549
|
+
c(ie, { survey: V.survey }, null, 8, ["survey"])
|
|
5546
5550
|
], 2)
|
|
5547
5551
|
], 2)
|
|
5548
5552
|
], 38)) : p("", !0);
|
|
@@ -5584,7 +5588,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5584
5588
|
setup(u) {
|
|
5585
5589
|
const e = Y();
|
|
5586
5590
|
function n(s, t) {
|
|
5587
|
-
const o =
|
|
5591
|
+
const o = Xe(
|
|
5588
5592
|
s,
|
|
5589
5593
|
t
|
|
5590
5594
|
), r = (m, g) => {
|
|
@@ -5594,7 +5598,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5594
5598
|
}
|
|
5595
5599
|
return ee.showDialog || (ee.showDialog = n, P(() => {
|
|
5596
5600
|
ee.showDialog = void 0;
|
|
5597
|
-
})), (s, t) => e.value ? (i(), C(
|
|
5601
|
+
})), (s, t) => e.value ? (i(), C(Ne, {
|
|
5598
5602
|
key: 0,
|
|
5599
5603
|
to: e.value.container
|
|
5600
5604
|
}, [
|
|
@@ -5710,14 +5714,14 @@ const oe = /* @__PURE__ */ y({
|
|
|
5710
5714
|
}
|
|
5711
5715
|
}), ii = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), ri = [
|
|
5712
5716
|
ii
|
|
5713
|
-
],
|
|
5717
|
+
], ge = 440, li = /* @__PURE__ */ y({
|
|
5714
5718
|
__name: "TimerPanel",
|
|
5715
5719
|
props: {
|
|
5716
5720
|
model: {},
|
|
5717
5721
|
css: {}
|
|
5718
5722
|
},
|
|
5719
5723
|
setup(u) {
|
|
5720
|
-
const e = u, n = f(() =>
|
|
5724
|
+
const e = u, n = f(() => ge * e.model.progress), s = f(() => e.model.text);
|
|
5721
5725
|
return I(() => e.model), (t, o) => t.model.isRunning && t.model.showTimerAsClock ? (i(), a("div", {
|
|
5722
5726
|
key: 0,
|
|
5723
5727
|
class: l(t.model.rootCss)
|
|
@@ -5725,7 +5729,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5725
5729
|
t.model.showProgress ? (i(), a("svg", {
|
|
5726
5730
|
key: 0,
|
|
5727
5731
|
class: l(t.model.getProgressCss()),
|
|
5728
|
-
style: L({ strokeDasharray:
|
|
5732
|
+
style: L({ strokeDasharray: ge, strokeDashoffset: n.value })
|
|
5729
5733
|
}, ri, 6)) : p("", !0),
|
|
5730
5734
|
v("div", {
|
|
5731
5735
|
class: l(t.model.textContainerCss)
|
|
@@ -5786,7 +5790,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5786
5790
|
class: l(n.model.contentClasses),
|
|
5787
5791
|
style: L({ maxWidth: n.model.maxWidth })
|
|
5788
5792
|
}, [
|
|
5789
|
-
(i(!0), a(M, null,
|
|
5793
|
+
(i(!0), a(M, null, S(n.model.cells, (t, o) => (i(), C(d, {
|
|
5790
5794
|
is: "sv-header-cell",
|
|
5791
5795
|
model: t,
|
|
5792
5796
|
key: o
|
|
@@ -5925,19 +5929,19 @@ const oe = /* @__PURE__ */ y({
|
|
|
5925
5929
|
const s = (g) => g.isPanel ? "survey-panel" : "survey-question", t = f(() => {
|
|
5926
5930
|
const g = e.element.survey;
|
|
5927
5931
|
if (g) {
|
|
5928
|
-
const
|
|
5929
|
-
if (
|
|
5930
|
-
return
|
|
5932
|
+
const V = g.getElementWrapperComponentName(e.element);
|
|
5933
|
+
if (V)
|
|
5934
|
+
return V;
|
|
5931
5935
|
}
|
|
5932
5936
|
return s(e.element);
|
|
5933
5937
|
}), o = (g) => g.cssClasses ? g.rootStyle : {}, r = f(() => {
|
|
5934
|
-
const g = e.element,
|
|
5938
|
+
const g = e.element, V = g.survey;
|
|
5935
5939
|
let h;
|
|
5936
|
-
return
|
|
5940
|
+
return V && (h = V.getElementWrapperComponentData(g)), {
|
|
5937
5941
|
componentName: s(g),
|
|
5938
5942
|
componentData: {
|
|
5939
5943
|
element: g,
|
|
5940
|
-
survey:
|
|
5944
|
+
survey: V,
|
|
5941
5945
|
row: e.row,
|
|
5942
5946
|
css: e.css,
|
|
5943
5947
|
data: h
|
|
@@ -5945,15 +5949,15 @@ const oe = /* @__PURE__ */ y({
|
|
|
5945
5949
|
};
|
|
5946
5950
|
}), m = N(
|
|
5947
5951
|
() => e.element,
|
|
5948
|
-
(g,
|
|
5949
|
-
|
|
5952
|
+
(g, V) => {
|
|
5953
|
+
V && V.setWrapperElement(void 0), g.setWrapperElement(n.value);
|
|
5950
5954
|
}
|
|
5951
5955
|
);
|
|
5952
5956
|
return T(() => {
|
|
5953
5957
|
e.element.setWrapperElement(n.value);
|
|
5954
5958
|
}), P(() => {
|
|
5955
5959
|
e.element.setWrapperElement(void 0), m();
|
|
5956
|
-
}), (g,
|
|
5960
|
+
}), (g, V) => (i(), a("div", {
|
|
5957
5961
|
ref_key: "root",
|
|
5958
5962
|
ref: n,
|
|
5959
5963
|
style: L(o(g.element)),
|
|
@@ -5977,7 +5981,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
5977
5981
|
componentData: {}
|
|
5978
5982
|
},
|
|
5979
5983
|
setup(u) {
|
|
5980
|
-
const e =
|
|
5984
|
+
const e = Ee(), n = f(() => !!e.default);
|
|
5981
5985
|
return (s, t) => n.value && !s.componentName ? J(s.$slots, "default", { key: 0 }) : (i(), C(d, $({
|
|
5982
5986
|
key: 1,
|
|
5983
5987
|
is: s.componentName
|
|
@@ -6077,7 +6081,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6077
6081
|
key: 0,
|
|
6078
6082
|
class: l(e.question.cssClasses.fileList || void 0)
|
|
6079
6083
|
}, [
|
|
6080
|
-
(i(!0), a(M, null,
|
|
6084
|
+
(i(!0), a(M, null, S(e.question.renderedPages, (s) => (i(), C(d, {
|
|
6081
6085
|
is: "sv-file-page",
|
|
6082
6086
|
key: s.id,
|
|
6083
6087
|
page: s,
|
|
@@ -6098,7 +6102,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6098
6102
|
ref_key: "root",
|
|
6099
6103
|
ref: n
|
|
6100
6104
|
}, [
|
|
6101
|
-
(i(!0), a(M, null,
|
|
6105
|
+
(i(!0), a(M, null, S(s.question.visibleChoices, (o, r) => (i(), C(d, {
|
|
6102
6106
|
is: "sv-button-group-item",
|
|
6103
6107
|
question: s.question,
|
|
6104
6108
|
key: r,
|
|
@@ -6107,7 +6111,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6107
6111
|
}, null, 8, ["question", "item", "index"]))), 128))
|
|
6108
6112
|
], 2));
|
|
6109
6113
|
}
|
|
6110
|
-
}),
|
|
6114
|
+
}), Si = ["title"], Vi = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "disabled", "value"], Ri = ["title"], Ti = /* @__PURE__ */ y({
|
|
6111
6115
|
__name: "ButtonGroupItem",
|
|
6112
6116
|
props: {
|
|
6113
6117
|
item: {},
|
|
@@ -6116,7 +6120,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6116
6120
|
},
|
|
6117
6121
|
setup(u) {
|
|
6118
6122
|
const e = u, n = f(
|
|
6119
|
-
() => new
|
|
6123
|
+
() => new Ye(e.question, e.item, e.index)
|
|
6120
6124
|
), s = f({
|
|
6121
6125
|
get: () => e.question.renderedValue,
|
|
6122
6126
|
set: (t) => {
|
|
@@ -6140,8 +6144,8 @@ const oe = /* @__PURE__ */ y({
|
|
|
6140
6144
|
class: l(n.value.css.control),
|
|
6141
6145
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => s.value = r),
|
|
6142
6146
|
value: n.value.value
|
|
6143
|
-
}, null, 10,
|
|
6144
|
-
[
|
|
6147
|
+
}, null, 10, Vi), [
|
|
6148
|
+
[we, s.value]
|
|
6145
6149
|
]),
|
|
6146
6150
|
v("div", {
|
|
6147
6151
|
class: l(n.value.css.decorator)
|
|
@@ -6164,7 +6168,7 @@ const oe = /* @__PURE__ */ y({
|
|
|
6164
6168
|
}, null, 8, ["locString"])
|
|
6165
6169
|
], 10, Ri)) : p("", !0)
|
|
6166
6170
|
], 2)
|
|
6167
|
-
], 10,
|
|
6171
|
+
], 10, Si));
|
|
6168
6172
|
}
|
|
6169
6173
|
});
|
|
6170
6174
|
U.Instance.registerRenderer(
|
|
@@ -6246,7 +6250,7 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6246
6250
|
class: l(n.page.css),
|
|
6247
6251
|
id: n.page.id
|
|
6248
6252
|
}, [
|
|
6249
|
-
(i(!0), a(M, null,
|
|
6253
|
+
(i(!0), a(M, null, S(n.page.items, (t) => (i(), C(d, {
|
|
6250
6254
|
is: "sv-file-item",
|
|
6251
6255
|
key: t,
|
|
6252
6256
|
item: t,
|
|
@@ -6371,7 +6375,7 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6371
6375
|
], 6), [
|
|
6372
6376
|
[A, s.question.hasRows]
|
|
6373
6377
|
]),
|
|
6374
|
-
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", {
|
|
6375
6379
|
key: o.uniqueId,
|
|
6376
6380
|
class: l(s.question.getItemClass(s.row, o)),
|
|
6377
6381
|
onClick: (r) => n(s.row, o)
|
|
@@ -6381,7 +6385,7 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6381
6385
|
locString: s.question.getCellDisplayLocText(s.row.name, o)
|
|
6382
6386
|
}, null, 8, ["locString"])
|
|
6383
6387
|
], 10, Oi))), 128)) : p("", !0),
|
|
6384
|
-
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", {
|
|
6385
6389
|
key: o.uniqueId,
|
|
6386
6390
|
"data-responsive-title": o.locText.renderedHtml,
|
|
6387
6391
|
class: l(s.question.cssClasses.cell)
|
|
@@ -6397,31 +6401,31 @@ const Bi = /* @__PURE__ */ y({
|
|
|
6397
6401
|
], 2));
|
|
6398
6402
|
}
|
|
6399
6403
|
});
|
|
6400
|
-
|
|
6404
|
+
_e.platform = "vue3";
|
|
6401
6405
|
function Qi(u, e, n) {
|
|
6402
6406
|
u(e, n);
|
|
6403
6407
|
}
|
|
6404
|
-
function
|
|
6408
|
+
function Ie(u) {
|
|
6405
6409
|
const e = Qi.bind(
|
|
6406
6410
|
void 0,
|
|
6407
6411
|
u
|
|
6408
6412
|
);
|
|
6409
|
-
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);
|
|
6410
6414
|
}
|
|
6411
|
-
|
|
6415
|
+
Ie(
|
|
6412
6416
|
(u, e) => W.Instance.registerComponent(u, e)
|
|
6413
6417
|
);
|
|
6414
6418
|
const Ji = {
|
|
6415
6419
|
install(u) {
|
|
6416
|
-
u.component("SurveyComponent",
|
|
6420
|
+
u.component("SurveyComponent", ie), u.component("PopupSurveyComponent", He), u.directive("key2click", O), Ie((e, n) => {
|
|
6417
6421
|
u.component(e, n), W.Instance.registerComponent(e, e);
|
|
6418
6422
|
});
|
|
6419
6423
|
}
|
|
6420
6424
|
};
|
|
6421
6425
|
export {
|
|
6422
6426
|
W as ComponentFactory,
|
|
6423
|
-
|
|
6424
|
-
|
|
6427
|
+
He as PopupSurveyComponent,
|
|
6428
|
+
ie as SurveyComponent,
|
|
6425
6429
|
d as SvComponent,
|
|
6426
6430
|
O as key2ClickDirective,
|
|
6427
6431
|
Ji as surveyPlugin,
|