survey-vue3-ui 2.0.6 → 2.0.7
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/survey-vue3-ui.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var He = Object.defineProperty;
|
|
2
2
|
var Me = (u, e, n) => e in u ? He(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as h, computed as
|
|
5
|
-
import { Base as Ne, ScrollViewModel as Pe, RendererFactory as
|
|
6
|
-
const
|
|
3
|
+
var X = (u, e, n) => (Me(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
+
import { defineComponent as h, computed as f, openBlock as o, createBlock as y, resolveDynamicComponent as ce, normalizeProps as ue, guardReactiveProps as de, createSlots as Ie, renderList as V, withCtx as E, renderSlot as _, shallowReactive as Ve, watch as F, onBeforeUnmount as O, onMounted as T, ref as b, shallowRef as W, watchEffect as Se, triggerRef as te, unref as k, isRef as Re, nextTick as ge, createElementBlock as l, normalizeClass as r, createVNode as g, createCommentVNode as p, Fragment as M, mergeProps as D, normalizeStyle as H, createElementVNode as v, onUnmounted as P, withDirectives as R, vShow as N, toDisplayString as I, vModelRadio as ee, vModelCheckbox as oe, vModelSelect as Be, onUpdated as Q, vModelText as Ze, getCurrentInstance as ye, createStaticVNode as Te, toRaw as $e, Teleport as De, useSlots as Ae } from "vue";
|
|
5
|
+
import { Base as Ne, ScrollViewModel as Pe, RendererFactory as j, Helpers as Ee, DropdownMultiSelectListModel as We, doKey2ClickUp as he, createSvg as Fe, doKey2ClickDown as ze, doKey2ClickBlur as Oe, ActionDropdownViewModel as Ue, createPopupViewModel as Ke, SurveyProgressModel as me, ProgressButtonsResponsivityManager as Qe, addIconsToThemeSet as qe, SvgRegistry as Y, PopupSurveyModel as je, settings as ne, createPopupModalViewModel as Ge, ButtonGroupItemModel as Xe, SurveyModel as Je } from "survey-core";
|
|
6
|
+
const x = class x {
|
|
7
7
|
constructor() {
|
|
8
|
-
|
|
8
|
+
X(this, "creatorHash", {});
|
|
9
9
|
}
|
|
10
10
|
registerComponent(e, n) {
|
|
11
11
|
this.creatorHash[e] = n;
|
|
@@ -23,8 +23,8 @@ const _ = class _ {
|
|
|
23
23
|
return !!this.creatorHash[e];
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
|
|
27
|
-
let z =
|
|
26
|
+
X(x, "Instance", new x());
|
|
27
|
+
let z = x;
|
|
28
28
|
const d = /* @__PURE__ */ h({
|
|
29
29
|
inheritAttrs: !1,
|
|
30
30
|
__name: "SvComponent",
|
|
@@ -32,14 +32,14 @@ const d = /* @__PURE__ */ h({
|
|
|
32
32
|
is: {}
|
|
33
33
|
},
|
|
34
34
|
setup(u) {
|
|
35
|
-
const e = u, n =
|
|
35
|
+
const e = u, n = f(
|
|
36
36
|
() => z.Instance.getComponent(e.is)
|
|
37
37
|
);
|
|
38
38
|
return (s, i) => (o(), y(ce(n.value), ue(de(s.$attrs)), Ie({ _: 2 }, [
|
|
39
39
|
V(s.$slots, (t, a) => ({
|
|
40
40
|
name: a,
|
|
41
41
|
fn: E((m) => [
|
|
42
|
-
|
|
42
|
+
_(s.$slots, a, ue(de(m)))
|
|
43
43
|
])
|
|
44
44
|
}))
|
|
45
45
|
]), 1040));
|
|
@@ -48,7 +48,7 @@ const d = /* @__PURE__ */ h({
|
|
|
48
48
|
Ne.createPropertiesHash = () => Ve({});
|
|
49
49
|
class Ye {
|
|
50
50
|
constructor(e) {
|
|
51
|
-
|
|
51
|
+
X(this, "currentNextTickPromise");
|
|
52
52
|
this.element = e;
|
|
53
53
|
}
|
|
54
54
|
async add() {
|
|
@@ -113,7 +113,7 @@ function B(u, e, n, s) {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
function U(u) {
|
|
116
|
-
const e =
|
|
116
|
+
const e = b(), n = (t) => {
|
|
117
117
|
e.value = t.renderedHtml;
|
|
118
118
|
}, s = (t) => {
|
|
119
119
|
e.value = t.renderedHtml, t.onStringChanged.add(n);
|
|
@@ -148,9 +148,9 @@ const e1 = /* @__PURE__ */ h({
|
|
|
148
148
|
css: {}
|
|
149
149
|
},
|
|
150
150
|
setup(u) {
|
|
151
|
-
const e = u, n =
|
|
151
|
+
const e = u, n = b(null), s = () => {
|
|
152
152
|
e.survey && n.value && e.survey.afterRenderPage(n.value);
|
|
153
|
-
}, i =
|
|
153
|
+
}, i = f(() => e.page._showDescription);
|
|
154
154
|
return S(
|
|
155
155
|
() => e.page,
|
|
156
156
|
() => {
|
|
@@ -181,7 +181,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
181
181
|
is: "survey-errors",
|
|
182
182
|
element: t.page
|
|
183
183
|
}, null, 8, ["element"]),
|
|
184
|
-
(o(!0), l(
|
|
184
|
+
(o(!0), l(M, null, V(t.page.visibleRows, (m) => (o(), y(d, D({
|
|
185
185
|
key: m.id,
|
|
186
186
|
is: t.page.getSurvey().getRowWrapperComponentName(m)
|
|
187
187
|
}, {
|
|
@@ -205,7 +205,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
205
205
|
survey: {}
|
|
206
206
|
},
|
|
207
207
|
setup(u) {
|
|
208
|
-
const e = u, n =
|
|
208
|
+
const e = u, n = b();
|
|
209
209
|
return T(() => {
|
|
210
210
|
var s = n.value;
|
|
211
211
|
s && e.survey && e.survey.afterRenderHeader(s);
|
|
@@ -258,7 +258,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
258
258
|
survey: {}
|
|
259
259
|
},
|
|
260
260
|
setup(u) {
|
|
261
|
-
const e = u, n =
|
|
261
|
+
const e = u, n = b();
|
|
262
262
|
return S(
|
|
263
263
|
() => e.row,
|
|
264
264
|
(s, i) => {
|
|
@@ -279,7 +279,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
279
279
|
ref_key: "root",
|
|
280
280
|
ref: n
|
|
281
281
|
}, [
|
|
282
|
-
(o(!0), l(
|
|
282
|
+
(o(!0), l(M, null, V(s.row.visibleElements, (t) => (o(), y(d, {
|
|
283
283
|
is: "survey-element",
|
|
284
284
|
row: s.row,
|
|
285
285
|
css: s.css,
|
|
@@ -299,7 +299,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
299
299
|
css: {}
|
|
300
300
|
},
|
|
301
301
|
setup(u) {
|
|
302
|
-
const e = u, n =
|
|
302
|
+
const e = u, n = b(null), s = (w) => w.cssContent, i = () => e.element.getRootStyle(), t = f(() => e.element.singleInputQuestion);
|
|
303
303
|
S(() => e.element);
|
|
304
304
|
const a = () => {
|
|
305
305
|
n.value && e.element.afterRender(n.value);
|
|
@@ -308,7 +308,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
308
308
|
() => {
|
|
309
309
|
a();
|
|
310
310
|
}
|
|
311
|
-
), c =
|
|
311
|
+
), c = f(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()), C = f(() => e.element.survey.getQuestionContentWrapperComponentName(e.element)), q = f(() => ({
|
|
312
312
|
componentData: {
|
|
313
313
|
question: e.element,
|
|
314
314
|
data: e.element.survey.getElementWrapperComponentData(e.element)
|
|
@@ -316,50 +316,50 @@ const e1 = /* @__PURE__ */ h({
|
|
|
316
316
|
}));
|
|
317
317
|
return P(() => {
|
|
318
318
|
m();
|
|
319
|
-
}), (
|
|
320
|
-
class: r(
|
|
319
|
+
}), (w, Z) => (o(), l("div", {
|
|
320
|
+
class: r(w.element.getRootCss()),
|
|
321
321
|
style: H(i()),
|
|
322
322
|
ref_key: "root",
|
|
323
323
|
ref: n,
|
|
324
|
-
onFocusin: Z[0] || (Z[0] = ($) =>
|
|
325
|
-
id:
|
|
326
|
-
role:
|
|
327
|
-
"aria-required":
|
|
328
|
-
"aria-invalid":
|
|
329
|
-
"aria-label":
|
|
330
|
-
"aria-labelledby":
|
|
331
|
-
"aria-describedby":
|
|
332
|
-
"aria-expanded":
|
|
333
|
-
"data-name":
|
|
324
|
+
onFocusin: Z[0] || (Z[0] = ($) => w.element.focusIn()),
|
|
325
|
+
id: w.element.id,
|
|
326
|
+
role: w.element.ariaRole,
|
|
327
|
+
"aria-required": w.element.ariaRequired,
|
|
328
|
+
"aria-invalid": w.element.ariaInvalid,
|
|
329
|
+
"aria-label": w.element.ariaLabel,
|
|
330
|
+
"aria-labelledby": w.element.ariaLabelledBy,
|
|
331
|
+
"aria-describedby": w.element.ariaDescribedBy,
|
|
332
|
+
"aria-expanded": w.element.ariaExpanded,
|
|
333
|
+
"data-name": w.element.name
|
|
334
334
|
}, [
|
|
335
|
-
|
|
335
|
+
w.element.singleInputHasActions ? (o(), y(d, {
|
|
336
336
|
key: 0,
|
|
337
337
|
is: "sv-breadcrumbs",
|
|
338
|
-
model:
|
|
339
|
-
css:
|
|
338
|
+
model: w.element.singleInputActions,
|
|
339
|
+
css: w.element.cssClasses
|
|
340
340
|
}, null, 8, ["model", "css"])) : p("", !0),
|
|
341
|
-
|
|
341
|
+
w.element.showErrorsAboveQuestion ? (o(), y(d, {
|
|
342
342
|
key: 1,
|
|
343
343
|
is: "survey-errors",
|
|
344
|
-
element:
|
|
344
|
+
element: w.element,
|
|
345
345
|
location: "top"
|
|
346
346
|
}, null, 8, ["element"])) : p("", !0),
|
|
347
|
-
!
|
|
347
|
+
!w.element.singleInputHideHeader && w.element.hasTitleOnLeftTop ? (o(), y(d, {
|
|
348
348
|
key: 2,
|
|
349
349
|
is: "survey-element-header",
|
|
350
|
-
element:
|
|
351
|
-
css:
|
|
350
|
+
element: w.element,
|
|
351
|
+
css: w.element.cssClasses
|
|
352
352
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
353
|
-
|
|
353
|
+
w.element.singleInputSummary ? (o(), y(d, {
|
|
354
354
|
key: 3,
|
|
355
355
|
is: "sv-single-input-summary",
|
|
356
|
-
css:
|
|
357
|
-
summary:
|
|
356
|
+
css: w.element.cssClasses,
|
|
357
|
+
summary: w.element.singleInputSummary
|
|
358
358
|
}, null, 8, ["css", "summary"])) : t.value ? (o(), y(d, {
|
|
359
359
|
is: "survey-question",
|
|
360
|
-
css:
|
|
360
|
+
css: w.css,
|
|
361
361
|
element: t.value,
|
|
362
|
-
survey:
|
|
362
|
+
survey: w.survey,
|
|
363
363
|
key: t.value.id
|
|
364
364
|
}, null, 8, ["css", "element", "survey"])) : (o(), y(d, D({
|
|
365
365
|
key: 5,
|
|
@@ -367,53 +367,53 @@ const e1 = /* @__PURE__ */ h({
|
|
|
367
367
|
}, q.value), {
|
|
368
368
|
default: E(() => [
|
|
369
369
|
v("div", {
|
|
370
|
-
class: r(s(
|
|
371
|
-
style: H({ display:
|
|
370
|
+
class: r(s(w.element) || void 0),
|
|
371
|
+
style: H({ display: w.element.renderedIsExpanded ? void 0 : "none" }),
|
|
372
372
|
role: "presentation"
|
|
373
373
|
}, [
|
|
374
374
|
g(d, {
|
|
375
375
|
is: c.value,
|
|
376
|
-
question:
|
|
376
|
+
question: w.element
|
|
377
377
|
}, null, 8, ["is", "question"]),
|
|
378
|
-
|
|
378
|
+
w.element.hasComment ? (o(), l("div", {
|
|
379
379
|
key: 0,
|
|
380
|
-
class: r(
|
|
380
|
+
class: r(w.element.getCommentAreaCss())
|
|
381
381
|
}, [
|
|
382
382
|
v("div", null, [
|
|
383
383
|
g(d, {
|
|
384
384
|
is: "survey-string",
|
|
385
|
-
locString:
|
|
385
|
+
locString: w.element.locCommentText
|
|
386
386
|
}, null, 8, ["locString"])
|
|
387
387
|
]),
|
|
388
388
|
g(d, {
|
|
389
389
|
is: "survey-question-comment",
|
|
390
|
-
question:
|
|
390
|
+
question: w.element
|
|
391
391
|
}, null, 8, ["question"])
|
|
392
392
|
], 2)) : p("", !0),
|
|
393
|
-
|
|
393
|
+
w.element.hasDescriptionUnderInput ? (o(), l("div", {
|
|
394
394
|
key: 1,
|
|
395
|
-
class: r(
|
|
396
|
-
id:
|
|
395
|
+
class: r(w.element.cssDescription),
|
|
396
|
+
id: w.element.ariaDescriptionId
|
|
397
397
|
}, [
|
|
398
398
|
g(d, {
|
|
399
399
|
is: "survey-string",
|
|
400
|
-
locString:
|
|
400
|
+
locString: w.element.locDescription
|
|
401
401
|
}, null, 8, ["locString"])
|
|
402
402
|
], 10, o1)) : p("", !0)
|
|
403
403
|
], 6)
|
|
404
404
|
]),
|
|
405
405
|
_: 1
|
|
406
406
|
}, 16, ["is"])),
|
|
407
|
-
|
|
407
|
+
w.element.hasTitleOnBottom ? (o(), y(d, {
|
|
408
408
|
key: 6,
|
|
409
409
|
is: "survey-element-header",
|
|
410
|
-
element:
|
|
411
|
-
css:
|
|
410
|
+
element: w.element,
|
|
411
|
+
css: w.css
|
|
412
412
|
}, null, 8, ["element", "css"])) : p("", !0),
|
|
413
|
-
|
|
413
|
+
w.element.showErrorsBelowQuestion ? (o(), y(d, {
|
|
414
414
|
key: 7,
|
|
415
415
|
is: "survey-errors",
|
|
416
|
-
element:
|
|
416
|
+
element: w.element,
|
|
417
417
|
location: "bottom"
|
|
418
418
|
}, null, 8, ["element"])) : p("", !0)
|
|
419
419
|
], 46, t1));
|
|
@@ -430,7 +430,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
430
430
|
css: {}
|
|
431
431
|
},
|
|
432
432
|
setup(u) {
|
|
433
|
-
const e = u, n =
|
|
433
|
+
const e = u, n = b(null), s = f(() => e.element.survey);
|
|
434
434
|
return S(() => e.element), T(() => {
|
|
435
435
|
e.element.survey && e.element.afterRender(n.value);
|
|
436
436
|
}), (i, t) => i.element.getIsContentVisible() ? (o(), l("div", {
|
|
@@ -463,7 +463,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
463
463
|
style: H({ paddingLeft: i.element.innerPaddingLeft }),
|
|
464
464
|
class: r(i.element.cssClasses.panel.content)
|
|
465
465
|
}, [
|
|
466
|
-
(o(!0), l(
|
|
466
|
+
(o(!0), l(M, null, V(i.element.visibleRows, (a) => (o(), y(d, D({
|
|
467
467
|
key: a.id,
|
|
468
468
|
is: i.element.getSurvey().getRowWrapperComponentName(a)
|
|
469
469
|
}, {
|
|
@@ -553,7 +553,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
553
553
|
}, null, 10, v1)) : (o(), l("span", {
|
|
554
554
|
key: 1,
|
|
555
555
|
class: r(k(s))
|
|
556
|
-
},
|
|
556
|
+
}, I(k(n)), 3));
|
|
557
557
|
}
|
|
558
558
|
}), g1 = ["innerHTML"], y1 = /* @__PURE__ */ h({
|
|
559
559
|
__name: "StringEditor",
|
|
@@ -580,7 +580,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
580
580
|
contenteditable: "true",
|
|
581
581
|
onBlur: n,
|
|
582
582
|
onClick: s
|
|
583
|
-
},
|
|
583
|
+
}, I(i.locString.renderedHtml), 33));
|
|
584
584
|
}
|
|
585
585
|
}), h1 = ["id"], q1 = /* @__PURE__ */ h({
|
|
586
586
|
__name: "Skeleton",
|
|
@@ -603,12 +603,12 @@ const e1 = /* @__PURE__ */ h({
|
|
|
603
603
|
disabled: {}
|
|
604
604
|
},
|
|
605
605
|
setup(u) {
|
|
606
|
-
const e = u, n = new Pe(), s =
|
|
606
|
+
const e = u, n = new Pe(), s = b();
|
|
607
607
|
return T(() => {
|
|
608
608
|
n.setRootElement(s.value);
|
|
609
609
|
}), P(() => {
|
|
610
610
|
n.setRootElement(void 0), n.unsubscribeRootElement();
|
|
611
|
-
}), (i, t) => e.disabled ?
|
|
611
|
+
}), (i, t) => e.disabled ? _(i.$slots, "default", { key: 0 }) : (o(), l("div", {
|
|
612
612
|
key: 1,
|
|
613
613
|
ref_key: "root",
|
|
614
614
|
ref: s,
|
|
@@ -619,7 +619,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
619
619
|
onScroll: t[0] || (t[0] = () => k(n).onScrollContainer())
|
|
620
620
|
}, [
|
|
621
621
|
v("div", w1, [
|
|
622
|
-
|
|
622
|
+
_(i.$slots, "default")
|
|
623
623
|
])
|
|
624
624
|
], 32),
|
|
625
625
|
v("div", {
|
|
@@ -635,12 +635,12 @@ const e1 = /* @__PURE__ */ h({
|
|
|
635
635
|
question: {}
|
|
636
636
|
},
|
|
637
637
|
setup(u) {
|
|
638
|
-
const e = u, n =
|
|
638
|
+
const e = u, n = b(null);
|
|
639
639
|
return B(e, n), (s, i) => s.question.isReadOnlyRenderDiv() ? (o(), l("div", {
|
|
640
640
|
key: 0,
|
|
641
641
|
ref_key: "root",
|
|
642
642
|
ref: n
|
|
643
|
-
},
|
|
643
|
+
}, I(s.question.value), 513)) : s.question.dataListId ? (o(), l("div", {
|
|
644
644
|
key: 1,
|
|
645
645
|
ref_key: "root",
|
|
646
646
|
ref: n
|
|
@@ -652,7 +652,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
652
652
|
v("datalist", {
|
|
653
653
|
id: s.question.dataListId
|
|
654
654
|
}, [
|
|
655
|
-
(o(!0), l(
|
|
655
|
+
(o(!0), l(M, null, V(s.question.dataList, (t, a) => (o(), l("option", {
|
|
656
656
|
key: a,
|
|
657
657
|
value: t
|
|
658
658
|
}, null, 8, H1))), 128))
|
|
@@ -675,9 +675,9 @@ const e1 = /* @__PURE__ */ h({
|
|
|
675
675
|
setup(u, { expose: e }) {
|
|
676
676
|
const n = u, s = function(a) {
|
|
677
677
|
n.getRef && n.getRef(a);
|
|
678
|
-
}, i =
|
|
678
|
+
}, i = b(null);
|
|
679
679
|
e({ root: i }), S(() => n.question);
|
|
680
|
-
const t =
|
|
680
|
+
const t = f(() => n.question.inputStyle);
|
|
681
681
|
return (a, m) => a.question.getMaxLength() ? (o(), l("div", {
|
|
682
682
|
key: 1,
|
|
683
683
|
ref: (c) => s(c)
|
|
@@ -779,7 +779,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
779
779
|
showLegend: { type: Boolean }
|
|
780
780
|
},
|
|
781
781
|
setup(u) {
|
|
782
|
-
const e = u, n =
|
|
782
|
+
const e = u, n = b(null);
|
|
783
783
|
B(e, n);
|
|
784
784
|
const s = (t) => e.question.getItemValueWrapperComponentName(t) || e.question.itemComponent, i = (t) => ({
|
|
785
785
|
componentName: e.question.itemComponent,
|
|
@@ -801,12 +801,12 @@ const e1 = /* @__PURE__ */ h({
|
|
|
801
801
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
802
802
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
803
803
|
}, [
|
|
804
|
-
t.showLegend ? (o(), l("legend", B1,
|
|
805
|
-
t.question.hasHeadItems ? (o(!0), l(
|
|
804
|
+
t.showLegend ? (o(), l("legend", B1, I(t.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
805
|
+
t.question.hasHeadItems ? (o(!0), l(M, { key: 1 }, V(t.question.headItems, (m) => (o(), y(d, D({
|
|
806
806
|
key: m.value,
|
|
807
807
|
is: s(m)
|
|
808
808
|
}, i(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
809
|
-
!t.question.hasColumns && !t.question.blockedRow ? (o(!0), l(
|
|
809
|
+
!t.question.hasColumns && !t.question.blockedRow ? (o(!0), l(M, { key: 2 }, V(t.question.bodyItems, (m) => (o(), y(d, D({
|
|
810
810
|
key: m.value,
|
|
811
811
|
is: s(m)
|
|
812
812
|
}, i(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -814,7 +814,7 @@ const e1 = /* @__PURE__ */ h({
|
|
|
814
814
|
key: 3,
|
|
815
815
|
class: r(t.question.cssClasses.rootRow)
|
|
816
816
|
}, [
|
|
817
|
-
!t.question.hasColumns && t.question.blockedRow ? (o(!0), l(
|
|
817
|
+
!t.question.hasColumns && t.question.blockedRow ? (o(!0), l(M, { key: 0 }, V(t.question.dataChoices, (m) => (o(), y(d, D({
|
|
818
818
|
key: m.value,
|
|
819
819
|
is: s(m)
|
|
820
820
|
}, i(m)), null, 16, ["is"]))), 128)) : p("", !0)
|
|
@@ -823,18 +823,18 @@ const e1 = /* @__PURE__ */ h({
|
|
|
823
823
|
key: 4,
|
|
824
824
|
class: r(t.question.cssClasses.rootMultiColumn)
|
|
825
825
|
}, [
|
|
826
|
-
t.question.hasColumns ? (o(!0), l(
|
|
826
|
+
t.question.hasColumns ? (o(!0), l(M, { key: 0 }, V(t.question.columns, (m, c) => (o(), l("div", {
|
|
827
827
|
key: c,
|
|
828
828
|
class: r(t.question.getColumnClass()),
|
|
829
829
|
role: "presentation"
|
|
830
830
|
}, [
|
|
831
|
-
(o(!0), l(
|
|
831
|
+
(o(!0), l(M, null, V(m, (C) => (o(), y(d, D({
|
|
832
832
|
key: C.value,
|
|
833
833
|
is: s(C)
|
|
834
834
|
}, i(C)), null, 16, ["is"]))), 128))
|
|
835
835
|
], 2))), 128)) : p("", !0)
|
|
836
836
|
], 2)) : p("", !0),
|
|
837
|
-
t.question.hasFootItems ? (o(!0), l(
|
|
837
|
+
t.question.hasFootItems ? (o(!0), l(M, { key: 5 }, V(t.question.footItems, (m) => (o(), y(d, D({
|
|
838
838
|
key: m.value,
|
|
839
839
|
is: s(m)
|
|
840
840
|
}, i(m)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -886,7 +886,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
886
886
|
hideLabel: { type: Boolean }
|
|
887
887
|
},
|
|
888
888
|
setup(u) {
|
|
889
|
-
const e =
|
|
889
|
+
const e = b(), n = u;
|
|
890
890
|
Le(
|
|
891
891
|
() => n.item,
|
|
892
892
|
() => n.question,
|
|
@@ -961,7 +961,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
961
961
|
hideLabel: { type: Boolean }
|
|
962
962
|
},
|
|
963
963
|
setup(u) {
|
|
964
|
-
const e =
|
|
964
|
+
const e = b(), n = u, s = (a) => n.question.getLabelClass(a), i = (a) => n.question.getControlLabelClass(a), t = f({
|
|
965
965
|
get: () => n.question.renderedValue,
|
|
966
966
|
set: (a) => {
|
|
967
967
|
const m = n.question;
|
|
@@ -993,7 +993,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
993
993
|
readonly: a.question.isReadOnlyAttr,
|
|
994
994
|
class: r(a.question.cssClasses.itemControl)
|
|
995
995
|
}, null, 10, E1), [
|
|
996
|
-
[
|
|
996
|
+
[ee, t.value]
|
|
997
997
|
]),
|
|
998
998
|
a.question.cssClasses.materialDecorator ? (o(), l("span", {
|
|
999
999
|
key: 0,
|
|
@@ -1027,7 +1027,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1027
1027
|
question: {}
|
|
1028
1028
|
},
|
|
1029
1029
|
setup(u) {
|
|
1030
|
-
const e = u, n =
|
|
1030
|
+
const e = u, n = b(null);
|
|
1031
1031
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
1032
1032
|
class: r(s.question.cssClasses.root),
|
|
1033
1033
|
ref_key: "root",
|
|
@@ -1099,7 +1099,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1099
1099
|
question: {}
|
|
1100
1100
|
},
|
|
1101
1101
|
setup(u) {
|
|
1102
|
-
const e = u, n =
|
|
1102
|
+
const e = u, n = b(null);
|
|
1103
1103
|
B(e, n);
|
|
1104
1104
|
const s = U(() => e.question.locHtml);
|
|
1105
1105
|
return (i, t) => (o(), l("div", {
|
|
@@ -1116,7 +1116,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1116
1116
|
question: {}
|
|
1117
1117
|
},
|
|
1118
1118
|
setup(u) {
|
|
1119
|
-
const e = u, n =
|
|
1119
|
+
const e = u, n = b(null);
|
|
1120
1120
|
B(e, n);
|
|
1121
1121
|
const s = U(() => e.question.locImageLink);
|
|
1122
1122
|
return (i, t) => (o(), l("div", {
|
|
@@ -1197,12 +1197,12 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1197
1197
|
question: {}
|
|
1198
1198
|
},
|
|
1199
1199
|
setup(u) {
|
|
1200
|
-
const e = u, n =
|
|
1200
|
+
const e = u, n = b(null);
|
|
1201
1201
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
1202
1202
|
class: r(s.question.cssClasses.root),
|
|
1203
1203
|
ref_key: "root",
|
|
1204
1204
|
ref: n
|
|
1205
|
-
},
|
|
1205
|
+
}, I(s.question.formatedValue), 3));
|
|
1206
1206
|
}
|
|
1207
1207
|
}), x1 = ["id", "aria-required", "aria-label", "aria-invalid", "aria-errormessage", "multiple", "title", "accept", "capture"], es = ["id", "multiple", "placeholder"], ss = ["id", "multiple", "placeholder"], ns = /* @__PURE__ */ h({
|
|
1208
1208
|
inheritAttrs: !1,
|
|
@@ -1211,7 +1211,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1211
1211
|
question: {}
|
|
1212
1212
|
},
|
|
1213
1213
|
setup(u) {
|
|
1214
|
-
const e = u, n =
|
|
1214
|
+
const e = u, n = b(null);
|
|
1215
1215
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
1216
1216
|
class: r(s.question.fileRootCss),
|
|
1217
1217
|
ref_key: "root",
|
|
@@ -1317,7 +1317,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1317
1317
|
question: {}
|
|
1318
1318
|
},
|
|
1319
1319
|
setup(u) {
|
|
1320
|
-
const e = u, n =
|
|
1320
|
+
const e = u, n = b(null);
|
|
1321
1321
|
B(e, n);
|
|
1322
1322
|
const s = (t) => e.question.getItemValueWrapperComponentName(t) || Ce, i = (t) => ({
|
|
1323
1323
|
componentName: Ce,
|
|
@@ -1333,17 +1333,17 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1333
1333
|
ref_key: "root",
|
|
1334
1334
|
ref: n
|
|
1335
1335
|
}, [
|
|
1336
|
-
v("legend", ts,
|
|
1337
|
-
t.question.hasColumns ? p("", !0) : (o(!0), l(
|
|
1336
|
+
v("legend", ts, I(t.question.locTitle.renderedHtml), 1),
|
|
1337
|
+
t.question.hasColumns ? p("", !0) : (o(!0), l(M, { key: 0 }, V(t.question.visibleChoices, (m) => (o(), y(d, D({
|
|
1338
1338
|
key: m.value,
|
|
1339
1339
|
is: s(m)
|
|
1340
1340
|
}, i(m)), null, 16, ["is"]))), 128)),
|
|
1341
|
-
t.question.hasColumns ? (o(!0), l(
|
|
1341
|
+
t.question.hasColumns ? (o(!0), l(M, { key: 1 }, V(t.question.columns, (m, c) => (o(), l("div", {
|
|
1342
1342
|
class: r(t.question.getColumnClass()),
|
|
1343
1343
|
key: c,
|
|
1344
1344
|
role: "presentation"
|
|
1345
1345
|
}, [
|
|
1346
|
-
(o(!0), l(
|
|
1346
|
+
(o(!0), l(M, null, V(m, (C) => (o(), y(d, D({
|
|
1347
1347
|
key: C.value,
|
|
1348
1348
|
is: s(C)
|
|
1349
1349
|
}, i(C)), null, 16, ["is"]))), 128))
|
|
@@ -1358,7 +1358,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1358
1358
|
item: {}
|
|
1359
1359
|
},
|
|
1360
1360
|
setup(u) {
|
|
1361
|
-
const e = u, n = (t) => e.question.getItemClass(t), s =
|
|
1361
|
+
const e = u, n = (t) => e.question.getItemClass(t), s = f({
|
|
1362
1362
|
get() {
|
|
1363
1363
|
return e.question.value;
|
|
1364
1364
|
},
|
|
@@ -1406,7 +1406,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1406
1406
|
"aria-errormessage": t.question.ariaErrormessage,
|
|
1407
1407
|
class: r(t.question.cssClasses.itemControl)
|
|
1408
1408
|
}, null, 10, rs)), [
|
|
1409
|
-
[
|
|
1409
|
+
[ee, s.value]
|
|
1410
1410
|
]),
|
|
1411
1411
|
v("div", {
|
|
1412
1412
|
class: r(t.question.cssClasses.itemDecorator)
|
|
@@ -1494,7 +1494,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1494
1494
|
question: {}
|
|
1495
1495
|
},
|
|
1496
1496
|
setup(u) {
|
|
1497
|
-
const e = u, n =
|
|
1497
|
+
const e = u, n = b(null);
|
|
1498
1498
|
return B(e, n), (s, i) => !s.question.isReadOnlyRenderDiv() && s.question.getMaxLength() ? (o(), l("div", {
|
|
1499
1499
|
key: 0,
|
|
1500
1500
|
ref_key: "root",
|
|
@@ -1519,7 +1519,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1519
1519
|
key: 2,
|
|
1520
1520
|
ref_key: "root",
|
|
1521
1521
|
ref: n
|
|
1522
|
-
},
|
|
1522
|
+
}, I(s.question.value), 513));
|
|
1523
1523
|
}
|
|
1524
1524
|
}), ms = /* @__PURE__ */ h({
|
|
1525
1525
|
inheritAttrs: !1,
|
|
@@ -1528,7 +1528,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1528
1528
|
question: {}
|
|
1529
1529
|
},
|
|
1530
1530
|
setup(u) {
|
|
1531
|
-
const e = u, n =
|
|
1531
|
+
const e = u, n = b(null);
|
|
1532
1532
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
1533
1533
|
class: r(s.question.renderCssRoot),
|
|
1534
1534
|
ref_key: "root",
|
|
@@ -1549,7 +1549,7 @@ const D1 = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1549
1549
|
key: 0,
|
|
1550
1550
|
value: ""
|
|
1551
1551
|
}, vs = ["id"];
|
|
1552
|
-
|
|
1552
|
+
j.Instance.registerRenderer(
|
|
1553
1553
|
"dropdown",
|
|
1554
1554
|
"select",
|
|
1555
1555
|
"sv-dropdown-select"
|
|
@@ -1561,13 +1561,13 @@ const cs = /* @__PURE__ */ h({
|
|
|
1561
1561
|
question: {}
|
|
1562
1562
|
},
|
|
1563
1563
|
setup(u) {
|
|
1564
|
-
const e = u, n =
|
|
1564
|
+
const e = u, n = b(null);
|
|
1565
1565
|
B(e, n);
|
|
1566
1566
|
const s = (a) => {
|
|
1567
1567
|
e.question.onClick(a);
|
|
1568
1568
|
}, i = (a) => {
|
|
1569
1569
|
e.question.onKeyUp(a);
|
|
1570
|
-
}, t =
|
|
1570
|
+
}, t = f({
|
|
1571
1571
|
get() {
|
|
1572
1572
|
return e.question.value ?? "";
|
|
1573
1573
|
},
|
|
@@ -1589,7 +1589,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
1589
1589
|
disabled: "",
|
|
1590
1590
|
id: a.question.inputId,
|
|
1591
1591
|
class: r(a.question.getControlClass())
|
|
1592
|
-
},
|
|
1592
|
+
}, I(a.question.readOnlyText), 11, vs)) : R((o(), l("select", {
|
|
1593
1593
|
key: 0,
|
|
1594
1594
|
id: a.question.inputId,
|
|
1595
1595
|
"onUpdate:modelValue": m[0] || (m[0] = (c) => t.value = c),
|
|
@@ -1603,8 +1603,8 @@ const cs = /* @__PURE__ */ h({
|
|
|
1603
1603
|
"aria-errormessage": a.question.ariaErrormessage,
|
|
1604
1604
|
required: a.question.isRequired
|
|
1605
1605
|
}, [
|
|
1606
|
-
a.question.allowClear ? (o(), l("option", Cs,
|
|
1607
|
-
(o(!0), l(
|
|
1606
|
+
a.question.allowClear ? (o(), l("option", Cs, I(a.question.placeholder), 1)) : p("", !0),
|
|
1607
|
+
(o(!0), l(M, null, V(a.question.visibleChoices, (c) => (o(), y(d, {
|
|
1608
1608
|
is: "sv-dropdown-option-item",
|
|
1609
1609
|
item: c,
|
|
1610
1610
|
key: c.id
|
|
@@ -1642,7 +1642,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
1642
1642
|
return S(() => e.item), (s, i) => (o(), l("option", {
|
|
1643
1643
|
value: s.item.value,
|
|
1644
1644
|
disabled: !s.item.isEnabled
|
|
1645
|
-
},
|
|
1645
|
+
}, I(k(n)), 9, gs));
|
|
1646
1646
|
}
|
|
1647
1647
|
}), hs = ["id", "disabled", "tabindex", "role", "aria-required", "aria-labelledby", "aria-label", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], qs = { style: { visibility: "hidden" } }, ws = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-describedby", "aria-activedescendant", "placeholder"], Ls = ["id", "aria-label", "aria-labelledby", "aria-describedby", "tabindex"], ks = /* @__PURE__ */ h({
|
|
1648
1648
|
__name: "Dropdown",
|
|
@@ -1650,63 +1650,63 @@ const cs = /* @__PURE__ */ h({
|
|
|
1650
1650
|
question: {}
|
|
1651
1651
|
},
|
|
1652
1652
|
setup(u) {
|
|
1653
|
-
const e = u, n =
|
|
1653
|
+
const e = u, n = b(null), s = f(() => e.question.dropdownListModel), i = (L) => {
|
|
1654
1654
|
var A;
|
|
1655
|
-
(A = s.value) == null || A.onClick(
|
|
1656
|
-
}, t = (
|
|
1655
|
+
(A = s.value) == null || A.onClick(L);
|
|
1656
|
+
}, t = (L) => {
|
|
1657
1657
|
var A;
|
|
1658
|
-
(A = s.value) == null || A.chevronPointerDown(
|
|
1659
|
-
}, a = (
|
|
1658
|
+
(A = s.value) == null || A.chevronPointerDown(L);
|
|
1659
|
+
}, a = (L) => {
|
|
1660
1660
|
var A;
|
|
1661
|
-
(A = s.value) == null || A.onClear(
|
|
1662
|
-
}, m = (
|
|
1661
|
+
(A = s.value) == null || A.onClear(L);
|
|
1662
|
+
}, m = (L) => {
|
|
1663
1663
|
var A;
|
|
1664
|
-
(A = s.value) == null || A.keyHandler(
|
|
1664
|
+
(A = s.value) == null || A.keyHandler(L);
|
|
1665
1665
|
}, c = () => {
|
|
1666
1666
|
if (n.value) {
|
|
1667
|
-
const
|
|
1668
|
-
Ee.isTwoValueEquals(A,
|
|
1667
|
+
const L = n.value, A = s.value.inputStringRendered;
|
|
1668
|
+
Ee.isTwoValueEquals(A, L.value, !1, !0, !1) || (L.value = s.value.inputStringRendered);
|
|
1669
1669
|
}
|
|
1670
|
-
}, C = (
|
|
1671
|
-
e.question.onBlur(
|
|
1672
|
-
}, q = (
|
|
1673
|
-
e.question.onFocus(
|
|
1674
|
-
},
|
|
1675
|
-
s.value.inputStringRendered =
|
|
1676
|
-
}, Z =
|
|
1670
|
+
}, C = (L) => {
|
|
1671
|
+
e.question.onBlur(L), c();
|
|
1672
|
+
}, q = (L) => {
|
|
1673
|
+
e.question.onFocus(L);
|
|
1674
|
+
}, w = (L) => {
|
|
1675
|
+
s.value.inputStringRendered = L.target.value;
|
|
1676
|
+
}, Z = f(
|
|
1677
1677
|
() => e.question.showSelectedItemLocText
|
|
1678
|
-
), $ =
|
|
1679
|
-
return S(() => s.value), Q(c), T(c), (
|
|
1680
|
-
class: r(
|
|
1678
|
+
), $ = f(() => e.question.selectedItemLocText);
|
|
1679
|
+
return S(() => s.value), Q(c), T(c), (L, A) => (o(), l("div", {
|
|
1680
|
+
class: r(L.question.cssClasses.selectWrapper),
|
|
1681
1681
|
onClick: i
|
|
1682
1682
|
}, [
|
|
1683
|
-
|
|
1683
|
+
L.question.isReadOnly ? p("", !0) : (o(), l("div", {
|
|
1684
1684
|
key: 0,
|
|
1685
|
-
id:
|
|
1686
|
-
disabled:
|
|
1685
|
+
id: L.question.inputId,
|
|
1686
|
+
disabled: L.question.isDisabledAttr ? !0 : null,
|
|
1687
1687
|
tabindex: s.value.noTabIndex ? void 0 : 0,
|
|
1688
1688
|
onKeydown: m,
|
|
1689
1689
|
onBlur: C,
|
|
1690
|
-
class: r(
|
|
1691
|
-
role:
|
|
1692
|
-
"aria-required":
|
|
1693
|
-
"aria-labelledby":
|
|
1694
|
-
"aria-label":
|
|
1695
|
-
"aria-invalid":
|
|
1696
|
-
"aria-errormessage":
|
|
1697
|
-
"aria-expanded":
|
|
1690
|
+
class: r(L.question.getControlClass()),
|
|
1691
|
+
role: L.question.ariaRole,
|
|
1692
|
+
"aria-required": L.question.ariaRequired,
|
|
1693
|
+
"aria-labelledby": L.question.ariaLabelledBy,
|
|
1694
|
+
"aria-label": L.question.ariaLabel,
|
|
1695
|
+
"aria-invalid": L.question.ariaInvalid,
|
|
1696
|
+
"aria-errormessage": L.question.ariaErrormessage,
|
|
1697
|
+
"aria-expanded": L.question.ariaExpanded,
|
|
1698
1698
|
"aria-controls": s.value.listElementId,
|
|
1699
1699
|
"aria-activedescendant": s.value.ariaActivedescendant,
|
|
1700
|
-
required:
|
|
1700
|
+
required: L.question.isRequired ? !0 : null
|
|
1701
1701
|
}, [
|
|
1702
1702
|
s.value.showHintPrefix ? (o(), l("div", {
|
|
1703
1703
|
key: 0,
|
|
1704
|
-
class: r(
|
|
1704
|
+
class: r(L.question.cssClasses.hintPrefix)
|
|
1705
1705
|
}, [
|
|
1706
|
-
v("span", null,
|
|
1706
|
+
v("span", null, I(s.value.hintStringPrefix), 1)
|
|
1707
1707
|
], 2)) : p("", !0),
|
|
1708
1708
|
v("div", {
|
|
1709
|
-
class: r(
|
|
1709
|
+
class: r(L.question.cssClasses.controlValue)
|
|
1710
1710
|
}, [
|
|
1711
1711
|
Z.value ? (o(), y(d, {
|
|
1712
1712
|
key: 0,
|
|
@@ -1715,88 +1715,87 @@ const cs = /* @__PURE__ */ h({
|
|
|
1715
1715
|
}, null, 8, ["locString"])) : p("", !0),
|
|
1716
1716
|
s.value.showHintString ? (o(), l("div", {
|
|
1717
1717
|
key: 1,
|
|
1718
|
-
class: r(
|
|
1718
|
+
class: r(L.question.cssClasses.hintSuffix)
|
|
1719
1719
|
}, [
|
|
1720
|
-
v("span", qs,
|
|
1721
|
-
v("span", null,
|
|
1720
|
+
v("span", qs, I(s.value.inputStringRendered), 1),
|
|
1721
|
+
v("span", null, I(s.value.hintStringSuffix), 1)
|
|
1722
1722
|
], 2)) : p("", !0),
|
|
1723
|
-
|
|
1723
|
+
L.question.showInputFieldComponent ? (o(), y(d, {
|
|
1724
1724
|
key: 2,
|
|
1725
|
-
is:
|
|
1725
|
+
is: L.question.inputFieldComponentName,
|
|
1726
1726
|
item: s.value.getSelectedAction(),
|
|
1727
|
-
question:
|
|
1727
|
+
question: L.question
|
|
1728
1728
|
}, null, 8, ["is", "item", "question"])) : p("", !0),
|
|
1729
1729
|
v("input", {
|
|
1730
1730
|
type: "text",
|
|
1731
1731
|
ref_key: "inputElement",
|
|
1732
1732
|
ref: n,
|
|
1733
|
-
class: r(
|
|
1734
|
-
disabled:
|
|
1733
|
+
class: r(L.question.cssClasses.filterStringInput),
|
|
1734
|
+
disabled: L.question.isDisabledAttr,
|
|
1735
1735
|
autocomplete: "off",
|
|
1736
1736
|
inputmode: s.value.inputMode,
|
|
1737
|
-
role: s.value.filterStringEnabled ?
|
|
1738
|
-
id:
|
|
1737
|
+
role: s.value.filterStringEnabled ? L.question.ariaRole : void 0,
|
|
1738
|
+
id: L.question.getInputId(),
|
|
1739
1739
|
tabindex: s.value.noTabIndex ? void 0 : -1,
|
|
1740
1740
|
readonly: s.value.filterReadOnly ? !0 : void 0,
|
|
1741
|
-
"aria-expanded":
|
|
1741
|
+
"aria-expanded": L.question.ariaExpanded,
|
|
1742
1742
|
"aria-controls": s.value.listElementId,
|
|
1743
|
-
"aria-label":
|
|
1744
|
-
"aria-labelledby":
|
|
1745
|
-
"aria-describedby":
|
|
1743
|
+
"aria-label": L.question.a11y_input_ariaLabel,
|
|
1744
|
+
"aria-labelledby": L.question.a11y_input_ariaLabelledBy,
|
|
1745
|
+
"aria-describedby": L.question.a11y_input_ariaDescribedBy,
|
|
1746
1746
|
"aria-activedescendant": s.value.ariaActivedescendant,
|
|
1747
1747
|
placeholder: s.value.placeholderRendered,
|
|
1748
|
-
onInput:
|
|
1748
|
+
onInput: w,
|
|
1749
1749
|
onBlur: C,
|
|
1750
1750
|
onFocus: q
|
|
1751
1751
|
}, null, 42, ws)
|
|
1752
1752
|
], 2),
|
|
1753
|
-
|
|
1753
|
+
L.question.allowClear && L.question.cssClasses.cleanButtonIconId ? R((o(), l("div", {
|
|
1754
1754
|
key: 1,
|
|
1755
|
-
class: r(
|
|
1755
|
+
class: r(L.question.cssClasses.cleanButton),
|
|
1756
1756
|
onClick: a,
|
|
1757
1757
|
"aria-hidden": "true"
|
|
1758
1758
|
}, [
|
|
1759
1759
|
g(d, {
|
|
1760
1760
|
is: "sv-svg-icon",
|
|
1761
|
-
class: r(
|
|
1762
|
-
iconName:
|
|
1763
|
-
title:
|
|
1761
|
+
class: r(L.question.cssClasses.cleanButtonSvg),
|
|
1762
|
+
iconName: L.question.cssClasses.cleanButtonIconId,
|
|
1763
|
+
title: L.question.clearCaption,
|
|
1764
1764
|
size: "auto"
|
|
1765
1765
|
}, null, 8, ["class", "iconName", "title"])
|
|
1766
1766
|
], 2)), [
|
|
1767
|
-
[N,
|
|
1767
|
+
[N, L.question.showClearButton]
|
|
1768
1768
|
]) : p("", !0)
|
|
1769
1769
|
], 42, hs)),
|
|
1770
|
-
|
|
1770
|
+
L.question.isReadOnly ? (o(), l("div", {
|
|
1771
1771
|
key: 2,
|
|
1772
|
-
id:
|
|
1773
|
-
"aria-label":
|
|
1774
|
-
"aria-labelledby":
|
|
1775
|
-
"aria-describedby":
|
|
1776
|
-
tabindex:
|
|
1777
|
-
class: r(
|
|
1772
|
+
id: L.question.inputId,
|
|
1773
|
+
"aria-label": L.question.a11y_input_ariaLabel,
|
|
1774
|
+
"aria-labelledby": L.question.a11y_input_ariaLabelledBy,
|
|
1775
|
+
"aria-describedby": L.question.a11y_input_ariaDescribedBy,
|
|
1776
|
+
tabindex: L.question.isDisabledAttr ? void 0 : 0,
|
|
1777
|
+
class: r(L.question.getControlClass())
|
|
1778
1778
|
}, [
|
|
1779
|
-
|
|
1779
|
+
L.question.locReadOnlyText ? (o(), y(d, {
|
|
1780
1780
|
key: 0,
|
|
1781
1781
|
is: "survey-string",
|
|
1782
|
-
locString:
|
|
1783
|
-
}, null, 8, ["locString"])) : p("", !0)
|
|
1784
|
-
v("div", null, M(w.question.readOnlyText), 1)
|
|
1782
|
+
locString: L.question.locReadOnlyText
|
|
1783
|
+
}, null, 8, ["locString"])) : p("", !0)
|
|
1785
1784
|
], 10, Ls)) : (o(), y(d, {
|
|
1786
1785
|
key: 1,
|
|
1787
1786
|
is: "sv-popup",
|
|
1788
|
-
model:
|
|
1787
|
+
model: s.value.popupModel
|
|
1789
1788
|
}, null, 8, ["model"])),
|
|
1790
|
-
|
|
1789
|
+
L.question.cssClasses.chevronButtonIconId ? (o(), l("div", {
|
|
1791
1790
|
key: 3,
|
|
1792
|
-
class: r(
|
|
1791
|
+
class: r(L.question.cssClasses.chevronButton),
|
|
1793
1792
|
onPointerdown: t,
|
|
1794
1793
|
"aria-hidden": "true"
|
|
1795
1794
|
}, [
|
|
1796
1795
|
g(d, {
|
|
1797
1796
|
is: "sv-svg-icon",
|
|
1798
|
-
class: r(
|
|
1799
|
-
iconName:
|
|
1797
|
+
class: r(L.question.cssClasses.chevronButtonSvg),
|
|
1798
|
+
iconName: L.question.cssClasses.chevronButtonIconId,
|
|
1800
1799
|
size: "auto"
|
|
1801
1800
|
}, null, 8, ["class", "iconName"])
|
|
1802
1801
|
], 34)) : p("", !0)
|
|
@@ -1809,7 +1808,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
1809
1808
|
question: {}
|
|
1810
1809
|
},
|
|
1811
1810
|
setup(u) {
|
|
1812
|
-
const e = u, n =
|
|
1811
|
+
const e = u, n = b(null);
|
|
1813
1812
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
1814
1813
|
class: r(s.question.renderCssRoot),
|
|
1815
1814
|
ref_key: "root",
|
|
@@ -1832,7 +1831,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
1832
1831
|
question: {}
|
|
1833
1832
|
},
|
|
1834
1833
|
setup(u) {
|
|
1835
|
-
const e = u, n =
|
|
1834
|
+
const e = u, n = f(() => {
|
|
1836
1835
|
const C = e.question;
|
|
1837
1836
|
return C.dropdownListModel || (C.dropdownListModel = new We(C)), e.question.dropdownListModel;
|
|
1838
1837
|
}), s = (C) => {
|
|
@@ -1876,9 +1875,9 @@ const cs = /* @__PURE__ */ h({
|
|
|
1876
1875
|
v("div", {
|
|
1877
1876
|
class: r(C.question.cssClasses.controlValue)
|
|
1878
1877
|
}, [
|
|
1879
|
-
(o(!0), l(
|
|
1878
|
+
(o(!0), l(M, null, V(k(c), (w, Z) => (o(), y(d, {
|
|
1880
1879
|
is: "sv-tagbox-item",
|
|
1881
|
-
item:
|
|
1880
|
+
item: w,
|
|
1882
1881
|
question: C.question,
|
|
1883
1882
|
key: "item" + Z
|
|
1884
1883
|
}, null, 8, ["item", "question"]))), 128)),
|
|
@@ -1955,7 +1954,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
1955
1954
|
e.question.onBlur(m);
|
|
1956
1955
|
}, t = (m) => {
|
|
1957
1956
|
e.question.onFocus(m);
|
|
1958
|
-
}, a =
|
|
1957
|
+
}, a = f({
|
|
1959
1958
|
get() {
|
|
1960
1959
|
return e.model.inputStringRendered ?? "";
|
|
1961
1960
|
},
|
|
@@ -1971,7 +1970,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
1971
1970
|
key: 0,
|
|
1972
1971
|
class: r(m.question.cssClasses.hintPrefix)
|
|
1973
1972
|
}, [
|
|
1974
|
-
v("span", null,
|
|
1973
|
+
v("span", null, I(m.model.hintStringPrefix), 1)
|
|
1975
1974
|
], 2)) : p("", !0),
|
|
1976
1975
|
v("div", {
|
|
1977
1976
|
class: r(m.question.cssClasses.hintSuffixWrapper)
|
|
@@ -1985,8 +1984,8 @@ const cs = /* @__PURE__ */ h({
|
|
|
1985
1984
|
key: 1,
|
|
1986
1985
|
class: r(m.question.cssClasses.hintSuffix)
|
|
1987
1986
|
}, [
|
|
1988
|
-
v("span", Is,
|
|
1989
|
-
v("span", null,
|
|
1987
|
+
v("span", Is, I(m.model.inputStringRendered), 1),
|
|
1988
|
+
v("span", null, I(m.model.hintStringSuffix), 1)
|
|
1990
1989
|
], 2)) : p("", !0),
|
|
1991
1990
|
R(v("input", {
|
|
1992
1991
|
type: "text",
|
|
@@ -2056,7 +2055,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2056
2055
|
question: {}
|
|
2057
2056
|
},
|
|
2058
2057
|
setup(u) {
|
|
2059
|
-
const e = u, n =
|
|
2058
|
+
const e = u, n = b(null);
|
|
2060
2059
|
B(e, n);
|
|
2061
2060
|
const s = (t) => e.question.getItemValueWrapperComponentName(t) || "survey-ranking-item", i = (t, a, m) => ({
|
|
2062
2061
|
componentName: "survey-ranking-item",
|
|
@@ -2073,7 +2072,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2073
2072
|
ref_key: "root",
|
|
2074
2073
|
ref: n
|
|
2075
2074
|
}, [
|
|
2076
|
-
t.question.selectToRankEnabled ? p("", !0) : (o(!0), l(
|
|
2075
|
+
t.question.selectToRankEnabled ? p("", !0) : (o(!0), l(M, { key: 0 }, V(t.question.renderedRankingChoices, (m, c) => (o(), y(d, D({
|
|
2077
2076
|
key: m.value + "-" + c + "-item",
|
|
2078
2077
|
is: s(m)
|
|
2079
2078
|
}, i(m, c)), null, 16, ["is"]))), 128)),
|
|
@@ -2082,7 +2081,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2082
2081
|
class: r(t.question.getContainerClasses("from")),
|
|
2083
2082
|
"data-ranking": "from-container"
|
|
2084
2083
|
}, [
|
|
2085
|
-
(o(!0), l(
|
|
2084
|
+
(o(!0), l(M, null, V(t.question.renderedUnRankingChoices, (m, c) => (o(), y(d, D({
|
|
2086
2085
|
key: m.value + "-" + c + "-item",
|
|
2087
2086
|
is: s(m)
|
|
2088
2087
|
}, i(m, c, !0)), null, 16, ["is"]))), 128)),
|
|
@@ -2105,7 +2104,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2105
2104
|
class: r(t.question.getContainerClasses("to")),
|
|
2106
2105
|
"data-ranking": "to-container"
|
|
2107
2106
|
}, [
|
|
2108
|
-
(o(!0), l(
|
|
2107
|
+
(o(!0), l(M, null, V(t.question.renderedRankingChoices, (m, c) => (o(), y(d, D({
|
|
2109
2108
|
key: m.value + "-" + c + "-item",
|
|
2110
2109
|
is: s(m)
|
|
2111
2110
|
}, i(m, c)), null, 16, ["is"]))), 128)),
|
|
@@ -2134,7 +2133,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2134
2133
|
unrankedItem: { type: Boolean }
|
|
2135
2134
|
},
|
|
2136
2135
|
setup(u) {
|
|
2137
|
-
const e = u, n =
|
|
2136
|
+
const e = u, n = f(() => e.question.getNumberByIndex(e.index));
|
|
2138
2137
|
return S(() => e.item), (s, i) => (o(), l("div", {
|
|
2139
2138
|
id: s.question.getItemId(s.item),
|
|
2140
2139
|
tabindex: s.question.getItemTabIndex(s.item),
|
|
@@ -2188,7 +2187,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2188
2187
|
!s.unrankedItem && n.value ? (o(), l("div", {
|
|
2189
2188
|
key: 0,
|
|
2190
2189
|
class: r(s.question.getItemIndexClasses(s.item))
|
|
2191
|
-
},
|
|
2190
|
+
}, I(n.value), 3)) : (o(), l("div", {
|
|
2192
2191
|
key: 1,
|
|
2193
2192
|
class: r(s.question.getItemIndexClasses(s.item))
|
|
2194
2193
|
}, [
|
|
@@ -2234,7 +2233,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2234
2233
|
question: {}
|
|
2235
2234
|
},
|
|
2236
2235
|
setup(u) {
|
|
2237
|
-
const e = u, n =
|
|
2236
|
+
const e = u, n = b(null);
|
|
2238
2237
|
B(e, n);
|
|
2239
2238
|
const s = (i) => e.question.getInputId(i);
|
|
2240
2239
|
return (i, t) => (o(), l("div", {
|
|
@@ -2253,7 +2252,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2253
2252
|
locString: i.question.locMinRateDescription
|
|
2254
2253
|
}, null, 8, ["locString"])
|
|
2255
2254
|
], 2)) : p("", !0),
|
|
2256
|
-
(o(!0), l(
|
|
2255
|
+
(o(!0), l(M, null, V(i.question.renderedRateItems, (a, m) => (o(), y(d, {
|
|
2257
2256
|
key: s(m),
|
|
2258
2257
|
is: i.question.itemComponent,
|
|
2259
2258
|
item: a,
|
|
@@ -2407,7 +2406,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2407
2406
|
setup(u) {
|
|
2408
2407
|
const e = u;
|
|
2409
2408
|
return S(() => e.item), (n, s) => (o(), l("div", _s, [
|
|
2410
|
-
v("span", xs,
|
|
2409
|
+
v("span", xs, I(n.item.title), 1),
|
|
2411
2410
|
n.item.description ? (o(), l("div", en, [
|
|
2412
2411
|
g(d, {
|
|
2413
2412
|
is: "survey-string",
|
|
@@ -2417,7 +2416,7 @@ const cs = /* @__PURE__ */ h({
|
|
|
2417
2416
|
]));
|
|
2418
2417
|
}
|
|
2419
2418
|
});
|
|
2420
|
-
|
|
2419
|
+
j.Instance.registerRenderer(
|
|
2421
2420
|
"rating",
|
|
2422
2421
|
"dropdown",
|
|
2423
2422
|
"sv-rating-dropdown"
|
|
@@ -2429,7 +2428,7 @@ const nn = /* @__PURE__ */ h({
|
|
|
2429
2428
|
question: {}
|
|
2430
2429
|
},
|
|
2431
2430
|
setup(u) {
|
|
2432
|
-
const e = u, n =
|
|
2431
|
+
const e = u, n = b(null);
|
|
2433
2432
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
2434
2433
|
class: r(s.question.cssClasses.rootDropdown),
|
|
2435
2434
|
ref_key: "root",
|
|
@@ -2448,7 +2447,7 @@ const nn = /* @__PURE__ */ h({
|
|
|
2448
2447
|
question: {}
|
|
2449
2448
|
},
|
|
2450
2449
|
setup(u) {
|
|
2451
|
-
const e = u, n =
|
|
2450
|
+
const e = u, n = b(null);
|
|
2452
2451
|
B(e, n);
|
|
2453
2452
|
const s = (t, a) => {
|
|
2454
2453
|
e.question.onLabelClick(t, a);
|
|
@@ -2532,7 +2531,7 @@ const nn = /* @__PURE__ */ h({
|
|
|
2532
2531
|
], 34));
|
|
2533
2532
|
}
|
|
2534
2533
|
});
|
|
2535
|
-
|
|
2534
|
+
j.Instance.registerRenderer(
|
|
2536
2535
|
"boolean",
|
|
2537
2536
|
"radio",
|
|
2538
2537
|
"sv-boolean-radio"
|
|
@@ -2544,7 +2543,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2544
2543
|
question: {}
|
|
2545
2544
|
},
|
|
2546
2545
|
setup(u) {
|
|
2547
|
-
const e =
|
|
2546
|
+
const e = b(null);
|
|
2548
2547
|
return B(u, e), (s, i) => (o(), l("div", {
|
|
2549
2548
|
class: r(s.question.cssClasses.rootRadio),
|
|
2550
2549
|
ref_key: "root",
|
|
@@ -2633,7 +2632,7 @@ const rn = /* @__PURE__ */ h({
|
|
|
2633
2632
|
], 2));
|
|
2634
2633
|
}
|
|
2635
2634
|
}), dn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage"], mn = ["xlink:href"], pn = /* @__PURE__ */ v("span", { class: "check" }, null, -1), Cn = ["id"], vn = ["id"];
|
|
2636
|
-
|
|
2635
|
+
j.Instance.registerRenderer(
|
|
2637
2636
|
"boolean",
|
|
2638
2637
|
"checkbox",
|
|
2639
2638
|
"sv-boolean-checkbox"
|
|
@@ -2646,7 +2645,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2646
2645
|
css: {}
|
|
2647
2646
|
},
|
|
2648
2647
|
setup(u) {
|
|
2649
|
-
const e = u, n =
|
|
2648
|
+
const e = u, n = b(null);
|
|
2650
2649
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
2651
2650
|
class: r(s.question.cssClasses.rootCheckbox),
|
|
2652
2651
|
ref_key: "root",
|
|
@@ -2729,21 +2728,21 @@ const cn = /* @__PURE__ */ h({
|
|
|
2729
2728
|
question: {}
|
|
2730
2729
|
},
|
|
2731
2730
|
setup(u) {
|
|
2732
|
-
const e = u, n =
|
|
2731
|
+
const e = u, n = b(null), s = se(() => e.question.getRows());
|
|
2733
2732
|
return B(e, n), (i, t) => (o(), l("table", {
|
|
2734
2733
|
class: r(i.question.getQuestionRootCss()),
|
|
2735
2734
|
ref_key: "root",
|
|
2736
2735
|
ref: n
|
|
2737
2736
|
}, [
|
|
2738
2737
|
v("tbody", null, [
|
|
2739
|
-
(o(!0), l(
|
|
2738
|
+
(o(!0), l(M, null, V(k(s), (a, m) => (o(), l(M, {
|
|
2740
2739
|
key: i.question.inputId + "rowkey" + m
|
|
2741
2740
|
}, [
|
|
2742
2741
|
a.isVisible ? (o(), l("tr", {
|
|
2743
2742
|
key: 0,
|
|
2744
2743
|
class: r(i.question.cssClasses.row)
|
|
2745
2744
|
}, [
|
|
2746
|
-
(o(!0), l(
|
|
2745
|
+
(o(!0), l(M, null, V(a.cells, (c) => (o(), l("td", {
|
|
2747
2746
|
key: "item" + c.item.editor.id,
|
|
2748
2747
|
class: r(c.className)
|
|
2749
2748
|
}, [
|
|
@@ -2767,7 +2766,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2767
2766
|
setup(u) {
|
|
2768
2767
|
const e = u, n = (i) => ie(i);
|
|
2769
2768
|
S(() => e.cell.item.editor);
|
|
2770
|
-
const s =
|
|
2769
|
+
const s = f(() => e.cell.item);
|
|
2771
2770
|
return (i, t) => i.cell.isErrorsCell ? (o(), y(d, {
|
|
2772
2771
|
key: 1,
|
|
2773
2772
|
is: "survey-errors",
|
|
@@ -2786,7 +2785,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2786
2785
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (o(), l("span", {
|
|
2787
2786
|
key: 0,
|
|
2788
2787
|
class: r(i.question.cssClasses.requiredMark)
|
|
2789
|
-
},
|
|
2788
|
+
}, I(s.value.editor.requiredMark), 3)) : p("", !0),
|
|
2790
2789
|
s.value.editor.isRequireTextBeforeTitle || s.value.editor.isRequireTextOnStart ? (o(), l("span", yn, " ")) : p("", !0),
|
|
2791
2790
|
g(d, {
|
|
2792
2791
|
is: "survey-string",
|
|
@@ -2797,7 +2796,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2797
2796
|
key: 3,
|
|
2798
2797
|
"aria-hidden": "true",
|
|
2799
2798
|
class: r(i.question.cssClasses.requiredMark)
|
|
2800
|
-
},
|
|
2799
|
+
}, I(s.value.editor.requiredMark), 3)) : p("", !0)
|
|
2801
2800
|
], 6),
|
|
2802
2801
|
(o(), l("div", {
|
|
2803
2802
|
key: s.value.editor.id,
|
|
@@ -2824,7 +2823,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2824
2823
|
key: 0,
|
|
2825
2824
|
class: r(n.css.breadcrumbsRoot)
|
|
2826
2825
|
}, [
|
|
2827
|
-
(o(!0), l(
|
|
2826
|
+
(o(!0), l(M, null, V(n.model.actions, (i, t) => (o(), l(M, {
|
|
2828
2827
|
key: i.renderedId
|
|
2829
2828
|
}, [
|
|
2830
2829
|
t ? (o(), y(d, {
|
|
@@ -2848,7 +2847,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2848
2847
|
css: {}
|
|
2849
2848
|
},
|
|
2850
2849
|
setup(u) {
|
|
2851
|
-
const e = u, n =
|
|
2850
|
+
const e = u, n = f(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = f(() => z.Instance.isComponentRegistered(n.value));
|
|
2852
2851
|
return (i, t) => i.summary.isEmpty() ? (o(), l("div", bn, [
|
|
2853
2852
|
s.value ? (o(), y(d, {
|
|
2854
2853
|
key: 0,
|
|
@@ -2865,7 +2864,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2865
2864
|
key: 0,
|
|
2866
2865
|
class: r(i.css.summary)
|
|
2867
2866
|
}, [
|
|
2868
|
-
(o(!0), l(
|
|
2867
|
+
(o(!0), l(M, null, V(i.summary.items, (a, m) => (o(), l("div", {
|
|
2869
2868
|
key: m,
|
|
2870
2869
|
class: r(i.css.summaryRow)
|
|
2871
2870
|
}, [
|
|
@@ -2918,7 +2917,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2918
2917
|
question: {}
|
|
2919
2918
|
},
|
|
2920
2919
|
setup(u) {
|
|
2921
|
-
const e = u, n =
|
|
2920
|
+
const e = u, n = b(null), s = W();
|
|
2922
2921
|
B(
|
|
2923
2922
|
e,
|
|
2924
2923
|
n,
|
|
@@ -2941,7 +2940,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2941
2940
|
ref: n
|
|
2942
2941
|
}, [
|
|
2943
2942
|
v("fieldset", Mn, [
|
|
2944
|
-
v("legend", In,
|
|
2943
|
+
v("legend", In, I(t.question.locTitle.renderedHtml), 1),
|
|
2945
2944
|
v("table", {
|
|
2946
2945
|
class: r(t.question.getTableCss()),
|
|
2947
2946
|
role: "presentation"
|
|
@@ -2949,7 +2948,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2949
2948
|
t.question.showHeader ? (o(), l("thead", Vn, [
|
|
2950
2949
|
v("tr", null, [
|
|
2951
2950
|
t.question.hasRows ? (o(), l("td", Sn)) : p("", !0),
|
|
2952
|
-
(o(!0), l(
|
|
2951
|
+
(o(!0), l(M, null, V(t.question.visibleColumns, (m, c) => (o(), l("th", {
|
|
2953
2952
|
key: c,
|
|
2954
2953
|
class: r(t.question.cssClasses.headerCell),
|
|
2955
2954
|
style: H({
|
|
@@ -2973,7 +2972,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
2973
2972
|
])
|
|
2974
2973
|
])) : p("", !0),
|
|
2975
2974
|
v("tbody", null, [
|
|
2976
|
-
(o(!0), l(
|
|
2975
|
+
(o(!0), l(M, null, V(s.value, (m, c) => (o(), l("tr", {
|
|
2977
2976
|
key: "row_" + m.name + "_" + c,
|
|
2978
2977
|
class: r(m.rowClasses || void 0)
|
|
2979
2978
|
}, [
|
|
@@ -2999,21 +2998,21 @@ const cn = /* @__PURE__ */ h({
|
|
|
2999
2998
|
], 6), [
|
|
3000
2999
|
[N, t.question.hasRows]
|
|
3001
3000
|
]),
|
|
3002
|
-
t.question.hasCellText ? (o(!0), l(
|
|
3001
|
+
t.question.hasCellText ? (o(!0), l(M, { key: 0 }, V(t.question.visibleColumns, (C, q) => (o(), l("td", {
|
|
3003
3002
|
key: q,
|
|
3004
3003
|
class: r(t.question.getItemClass(m, C)),
|
|
3005
|
-
onClick: (
|
|
3004
|
+
onClick: (w) => i(m, C)
|
|
3006
3005
|
}, [
|
|
3007
3006
|
g(d, {
|
|
3008
3007
|
is: "survey-string",
|
|
3009
3008
|
locString: t.question.getCellDisplayLocText(m.name, C)
|
|
3010
3009
|
}, null, 8, ["locString"])
|
|
3011
3010
|
], 10, Rn))), 128)) : p("", !0),
|
|
3012
|
-
t.question.hasCellText ? p("", !0) : (o(!0), l(
|
|
3011
|
+
t.question.hasCellText ? p("", !0) : (o(!0), l(M, { key: 1 }, V(t.question.visibleColumns, (C, q) => (o(), l("td", {
|
|
3013
3012
|
key: q,
|
|
3014
3013
|
"data-responsive-title": C.locText.renderedHtml,
|
|
3015
3014
|
class: r(t.question.cssClasses.cell),
|
|
3016
|
-
onClick: (
|
|
3015
|
+
onClick: (w) => i(m, C)
|
|
3017
3016
|
}, [
|
|
3018
3017
|
g(d, {
|
|
3019
3018
|
is: t.question.cellComponent,
|
|
@@ -3036,7 +3035,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3036
3035
|
row: {}
|
|
3037
3036
|
},
|
|
3038
3037
|
setup(u) {
|
|
3039
|
-
const e = u, n =
|
|
3038
|
+
const e = u, n = b();
|
|
3040
3039
|
S(() => e.row);
|
|
3041
3040
|
const s = F(
|
|
3042
3041
|
() => e.row,
|
|
@@ -3056,7 +3055,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3056
3055
|
ref_key: "root",
|
|
3057
3056
|
ref: n
|
|
3058
3057
|
}, [
|
|
3059
|
-
(o(!0), l(
|
|
3058
|
+
(o(!0), l(M, null, V(i.row.cells, (a) => (o(), y(d, {
|
|
3060
3059
|
is: "survey-matrixdropdown-cell",
|
|
3061
3060
|
cell: a,
|
|
3062
3061
|
question: i.question,
|
|
@@ -3074,7 +3073,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3074
3073
|
columnIndex: {}
|
|
3075
3074
|
},
|
|
3076
3075
|
setup(u) {
|
|
3077
|
-
const e = u, n =
|
|
3076
|
+
const e = u, n = f({
|
|
3078
3077
|
get() {
|
|
3079
3078
|
return e.row.value ?? "";
|
|
3080
3079
|
},
|
|
@@ -3104,7 +3103,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3104
3103
|
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
3105
3104
|
"aria-errormessage": s.question.a11y_input_ariaErrormessage
|
|
3106
3105
|
}, null, 10, Dn), [
|
|
3107
|
-
[
|
|
3106
|
+
[ee, n.value]
|
|
3108
3107
|
]),
|
|
3109
3108
|
v("span", {
|
|
3110
3109
|
class: r(s.question.cssClasses.materialDecorator)
|
|
@@ -3136,7 +3135,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3136
3135
|
question: {}
|
|
3137
3136
|
},
|
|
3138
3137
|
setup(u) {
|
|
3139
|
-
const e = u, n =
|
|
3138
|
+
const e = u, n = b(null);
|
|
3140
3139
|
return B(e, n), (s, i) => (o(), y(d, {
|
|
3141
3140
|
is: "survey-matrixtable",
|
|
3142
3141
|
question: s.question,
|
|
@@ -3150,7 +3149,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3150
3149
|
question: {}
|
|
3151
3150
|
},
|
|
3152
3151
|
setup(u) {
|
|
3153
|
-
const e = u, n =
|
|
3152
|
+
const e = u, n = f(() => e.question.renderedTable);
|
|
3154
3153
|
return S(() => n.value), (s, i) => (o(), l("div", {
|
|
3155
3154
|
style: H({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
3156
3155
|
class: r(s.question.cssClasses.tableWrapper)
|
|
@@ -3160,7 +3159,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3160
3159
|
}, [
|
|
3161
3160
|
n.value.showHeader ? (o(), l("thead", En, [
|
|
3162
3161
|
v("tr", null, [
|
|
3163
|
-
(o(!0), l(
|
|
3162
|
+
(o(!0), l(M, null, V(n.value.headerRow.cells, (t) => (o(), l(M, null, [
|
|
3164
3163
|
t.hasTitle ? (o(), l("th", {
|
|
3165
3164
|
key: "header_" + t.id,
|
|
3166
3165
|
class: r(t.className),
|
|
@@ -3194,7 +3193,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3194
3193
|
])
|
|
3195
3194
|
])) : p("", !0),
|
|
3196
3195
|
v("tbody", null, [
|
|
3197
|
-
(o(!0), l(
|
|
3196
|
+
(o(!0), l(M, null, V(n.value.renderedRows, (t) => (o(), y(d, {
|
|
3198
3197
|
key: s.question.inputId + "_" + t.id,
|
|
3199
3198
|
is: "survey-matrix-row",
|
|
3200
3199
|
row: t,
|
|
@@ -3203,7 +3202,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3203
3202
|
]),
|
|
3204
3203
|
n.value.showFooter ? (o(), l("tfoot", Wn, [
|
|
3205
3204
|
v("tr", null, [
|
|
3206
|
-
(o(!0), l(
|
|
3205
|
+
(o(!0), l(M, null, V(n.value.footerRow.cells, (t, a) => (o(), y(d, {
|
|
3207
3206
|
is: "survey-matrixdropdown-cell",
|
|
3208
3207
|
cell: t,
|
|
3209
3208
|
question: s.question,
|
|
@@ -3222,12 +3221,12 @@ const cn = /* @__PURE__ */ h({
|
|
|
3222
3221
|
},
|
|
3223
3222
|
setup(u) {
|
|
3224
3223
|
const e = u;
|
|
3225
|
-
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (o(), l(
|
|
3224
|
+
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (o(), l(M, { key: 0 }, [
|
|
3226
3225
|
zn,
|
|
3227
3226
|
n.column.isRenderedRequired ? (o(), l("span", {
|
|
3228
3227
|
key: 0,
|
|
3229
3228
|
class: r(n.question.cssClasses.cellRequiredMark)
|
|
3230
|
-
},
|
|
3229
|
+
}, I(n.column.requiredMark), 3)) : p("", !0)
|
|
3231
3230
|
], 64)) : p("", !0);
|
|
3232
3231
|
}
|
|
3233
3232
|
}), Un = ["title", "colspan"], Kn = /* @__PURE__ */ h({
|
|
@@ -3237,7 +3236,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3237
3236
|
cell: {}
|
|
3238
3237
|
},
|
|
3239
3238
|
setup(u) {
|
|
3240
|
-
const e = u, n =
|
|
3239
|
+
const e = u, n = b(!1), s = b(), i = () => e.cell.width || e.cell.minWidth ? { width: e.cell.width, minWidth: e.cell.minWidth } : null, t = () => {
|
|
3241
3240
|
!e.cell.hasQuestion || !e.question || !e.question.survey || (n.value = e.cell.question.isVisible);
|
|
3242
3241
|
}, a = (C) => ie(C);
|
|
3243
3242
|
t(), T(() => {
|
|
@@ -3246,31 +3245,31 @@ const cn = /* @__PURE__ */ h({
|
|
|
3246
3245
|
e.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
3247
3246
|
t();
|
|
3248
3247
|
});
|
|
3249
|
-
const C = s.value, q = e.cell.question,
|
|
3248
|
+
const C = s.value, q = e.cell.question, w = {
|
|
3250
3249
|
cell: e.cell.cell,
|
|
3251
3250
|
cellQuestion: q,
|
|
3252
3251
|
htmlElement: C,
|
|
3253
3252
|
row: e.cell.row,
|
|
3254
3253
|
column: e.cell.cell.column
|
|
3255
3254
|
};
|
|
3256
|
-
e.question.survey.matrixAfterCellRender(
|
|
3255
|
+
e.question.survey.matrixAfterCellRender(w), q && q.afterRenderCore(C);
|
|
3257
3256
|
});
|
|
3258
|
-
const m =
|
|
3257
|
+
const m = f(() => {
|
|
3259
3258
|
const C = e.cell;
|
|
3260
3259
|
if (C.hasPanel) {
|
|
3261
|
-
const q = C.panel,
|
|
3262
|
-
if (
|
|
3263
|
-
const Z =
|
|
3260
|
+
const q = C.panel, w = q.survey;
|
|
3261
|
+
if (w) {
|
|
3262
|
+
const Z = w.getElementWrapperComponentName(q);
|
|
3264
3263
|
if (Z)
|
|
3265
3264
|
return Z;
|
|
3266
3265
|
}
|
|
3267
3266
|
return "survey-panel";
|
|
3268
3267
|
}
|
|
3269
|
-
}), c =
|
|
3268
|
+
}), c = f(() => {
|
|
3270
3269
|
if (e.cell.hasPanel) {
|
|
3271
|
-
const q = e.cell.panel,
|
|
3270
|
+
const q = e.cell.panel, w = q.survey;
|
|
3272
3271
|
let Z;
|
|
3273
|
-
return
|
|
3272
|
+
return w && (Z = w.getElementWrapperComponentData(q)), {
|
|
3274
3273
|
componentName: "survey-panel",
|
|
3275
3274
|
componentData: {
|
|
3276
3275
|
element: q,
|
|
@@ -3286,7 +3285,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3286
3285
|
title: C.cell.getTitle(),
|
|
3287
3286
|
style: H(i()),
|
|
3288
3287
|
colspan: C.cell.colSpans,
|
|
3289
|
-
onFocusin: q[0] || (q[0] = (
|
|
3288
|
+
onFocusin: q[0] || (q[0] = (w) => C.cell.focusIn()),
|
|
3290
3289
|
ref_key: "root",
|
|
3291
3290
|
ref: s
|
|
3292
3291
|
}, [
|
|
@@ -3391,7 +3390,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3391
3390
|
C.cell.requiredMark ? (o(), l("span", {
|
|
3392
3391
|
key: 1,
|
|
3393
3392
|
class: r(C.question.cssClasses.cellRequiredMark)
|
|
3394
|
-
},
|
|
3393
|
+
}, I(C.cell.requiredMark), 3)) : p("", !0)
|
|
3395
3394
|
]),
|
|
3396
3395
|
_: 1
|
|
3397
3396
|
}, 8, ["is", "componentData"])) : p("", !0)
|
|
@@ -3404,7 +3403,7 @@ const cn = /* @__PURE__ */ h({
|
|
|
3404
3403
|
question: {}
|
|
3405
3404
|
},
|
|
3406
3405
|
setup(u) {
|
|
3407
|
-
const e = u, n =
|
|
3406
|
+
const e = u, n = b(null);
|
|
3408
3407
|
B(e, n);
|
|
3409
3408
|
const s = () => {
|
|
3410
3409
|
e.question.addRowUI();
|
|
@@ -3499,8 +3498,8 @@ const cn = /* @__PURE__ */ h({
|
|
|
3499
3498
|
});
|
|
3500
3499
|
function re(u, e = !0) {
|
|
3501
3500
|
return {
|
|
3502
|
-
question:
|
|
3503
|
-
row: e ?
|
|
3501
|
+
question: f(() => u.item.data.question),
|
|
3502
|
+
row: e ? f(() => u.item.data.row) : void 0
|
|
3504
3503
|
};
|
|
3505
3504
|
}
|
|
3506
3505
|
const Gn = ["disabled"], Xn = /* @__PURE__ */ h({
|
|
@@ -3576,7 +3575,7 @@ const Gn = ["disabled"], Xn = /* @__PURE__ */ h({
|
|
|
3576
3575
|
css: {}
|
|
3577
3576
|
},
|
|
3578
3577
|
setup(u) {
|
|
3579
|
-
const e = u, n =
|
|
3578
|
+
const e = u, n = b(null), s = ye();
|
|
3580
3579
|
B(
|
|
3581
3580
|
e,
|
|
3582
3581
|
n,
|
|
@@ -3647,7 +3646,7 @@ const Gn = ["disabled"], Xn = /* @__PURE__ */ h({
|
|
|
3647
3646
|
v("div", {
|
|
3648
3647
|
class: r(a.question.cssClasses.panelsContainer)
|
|
3649
3648
|
}, [
|
|
3650
|
-
(o(!0), l(
|
|
3649
|
+
(o(!0), l(M, null, V(a.question.renderedPanels, (c, C) => (o(), l(M, {
|
|
3651
3650
|
key: c.id
|
|
3652
3651
|
}, [
|
|
3653
3652
|
v("div", {
|
|
@@ -3778,8 +3777,8 @@ const Gn = ["disabled"], Xn = /* @__PURE__ */ h({
|
|
|
3778
3777
|
], 2));
|
|
3779
3778
|
}
|
|
3780
3779
|
});
|
|
3781
|
-
function
|
|
3782
|
-
return
|
|
3780
|
+
function G(u) {
|
|
3781
|
+
return f(
|
|
3783
3782
|
() => u.item && u.item.data.question || u.data.question
|
|
3784
3783
|
);
|
|
3785
3784
|
}
|
|
@@ -3790,7 +3789,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3790
3789
|
data: {}
|
|
3791
3790
|
},
|
|
3792
3791
|
setup(u) {
|
|
3793
|
-
const n =
|
|
3792
|
+
const n = G(u), s = () => {
|
|
3794
3793
|
n.value.addPanelUI();
|
|
3795
3794
|
};
|
|
3796
3795
|
return (i, t) => k(n).canAddPanel ? (o(), l("button", {
|
|
@@ -3817,7 +3816,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3817
3816
|
data: {}
|
|
3818
3817
|
},
|
|
3819
3818
|
setup(u) {
|
|
3820
|
-
const n =
|
|
3819
|
+
const n = G(u), s = () => {
|
|
3821
3820
|
n.value.goToNextPanel();
|
|
3822
3821
|
};
|
|
3823
3822
|
return (i, t) => (o(), l("div", {
|
|
@@ -3839,7 +3838,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3839
3838
|
data: {}
|
|
3840
3839
|
},
|
|
3841
3840
|
setup(u) {
|
|
3842
|
-
const n =
|
|
3841
|
+
const n = G(u), s = () => {
|
|
3843
3842
|
n.value.goToPrevPanel();
|
|
3844
3843
|
};
|
|
3845
3844
|
return (i, t) => (o(), l("div", {
|
|
@@ -3861,7 +3860,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3861
3860
|
data: {}
|
|
3862
3861
|
},
|
|
3863
3862
|
setup(u) {
|
|
3864
|
-
const e = u, n =
|
|
3863
|
+
const e = u, n = G(e), s = f(
|
|
3865
3864
|
() => e.item && e.item.data.panel || e.data.panel
|
|
3866
3865
|
), i = (a) => n.value.getPanelRemoveButtonId(a), t = (a) => {
|
|
3867
3866
|
n.value.isInputReadOnly || n.value.removePanelUI(a);
|
|
@@ -3892,10 +3891,10 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3892
3891
|
data: {}
|
|
3893
3892
|
},
|
|
3894
3893
|
setup(u) {
|
|
3895
|
-
const n =
|
|
3894
|
+
const n = G(u);
|
|
3896
3895
|
return (s, i) => (o(), l("div", {
|
|
3897
3896
|
class: r(k(n).cssClasses.progressText)
|
|
3898
|
-
},
|
|
3897
|
+
}, I(k(n).progressText), 3));
|
|
3899
3898
|
}
|
|
3900
3899
|
}), Ct = ["id"], vt = /* @__PURE__ */ h({
|
|
3901
3900
|
__name: "Errors",
|
|
@@ -3904,7 +3903,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3904
3903
|
location: {}
|
|
3905
3904
|
},
|
|
3906
3905
|
setup(u) {
|
|
3907
|
-
const e =
|
|
3906
|
+
const e = b();
|
|
3908
3907
|
return (n, s) => n.element.hasVisibleErrors ? (o(), l("div", {
|
|
3909
3908
|
key: 0,
|
|
3910
3909
|
role: "alert",
|
|
@@ -3914,7 +3913,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3914
3913
|
ref_key: "root",
|
|
3915
3914
|
ref: e
|
|
3916
3915
|
}, [
|
|
3917
|
-
(o(!0), l(
|
|
3916
|
+
(o(!0), l(M, null, V(n.element.errors, (i, t) => (o(), y(d, {
|
|
3918
3917
|
is: n.element.survey.questionErrorComponent,
|
|
3919
3918
|
element: n.element,
|
|
3920
3919
|
key: "error_" + t,
|
|
@@ -3930,7 +3929,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3930
3929
|
question: {}
|
|
3931
3930
|
},
|
|
3932
3931
|
setup(u) {
|
|
3933
|
-
return (e, n) => e.question.isReadOnlyRenderDiv() ? (o(), l("div", ct,
|
|
3932
|
+
return (e, n) => e.question.isReadOnlyRenderDiv() ? (o(), l("div", ct, I(e.question.comment), 1)) : (o(), y(d, {
|
|
3934
3933
|
key: 1,
|
|
3935
3934
|
is: "sv-text-area",
|
|
3936
3935
|
model: e.question.commentTextAreaModel
|
|
@@ -3997,7 +3996,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
3997
3996
|
css: {}
|
|
3998
3997
|
},
|
|
3999
3998
|
setup(u) {
|
|
4000
|
-
return (e, n) => (o(), l(
|
|
3999
|
+
return (e, n) => (o(), l(M, null, [
|
|
4001
4000
|
e.element.isTitleRenderedAsString ? (o(), y(d, {
|
|
4002
4001
|
key: 0,
|
|
4003
4002
|
is: "survey-string",
|
|
@@ -4007,20 +4006,20 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
4007
4006
|
key: 1,
|
|
4008
4007
|
class: r(e.element.cssRequiredMark),
|
|
4009
4008
|
"aria-hidden": !0
|
|
4010
|
-
},
|
|
4009
|
+
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4011
4010
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextOnStart ? (o(), l("span", ht, " ")) : p("", !0),
|
|
4012
4011
|
!e.element.isTitleRenderedAsString && e.element.no ? (o(), l("span", {
|
|
4013
4012
|
key: 3,
|
|
4014
4013
|
style: { position: "static" },
|
|
4015
4014
|
class: r(e.element.cssTitleNumber),
|
|
4016
4015
|
"aria-hidden": !0
|
|
4017
|
-
},
|
|
4016
|
+
}, I(e.element.no), 3)) : p("", !0),
|
|
4018
4017
|
!e.element.isTitleRenderedAsString && e.element.no ? (o(), l("span", qt, " ")) : p("", !0),
|
|
4019
4018
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (o(), l("span", {
|
|
4020
4019
|
key: 5,
|
|
4021
4020
|
class: r(e.element.cssRequiredMark),
|
|
4022
4021
|
"aria-hidden": !0
|
|
4023
|
-
},
|
|
4022
|
+
}, I(e.element.requiredMark), 3)) : p("", !0),
|
|
4024
4023
|
!e.element.isTitleRenderedAsString && e.element.isRequireTextBeforeTitle ? (o(), l("span", wt, " ")) : p("", !0),
|
|
4025
4024
|
e.element.isTitleRenderedAsString ? p("", !0) : (o(), y(d, {
|
|
4026
4025
|
key: 7,
|
|
@@ -4032,7 +4031,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
4032
4031
|
key: 9,
|
|
4033
4032
|
class: r(e.element.cssRequiredMark),
|
|
4034
4033
|
"aria-hidden": !0
|
|
4035
|
-
},
|
|
4034
|
+
}, I(e.element.requiredMark), 3)) : p("", !0)
|
|
4036
4035
|
], 64));
|
|
4037
4036
|
}
|
|
4038
4037
|
}), bt = { class: "sv-title-actions" }, ft = { class: "sv-title-actions__title" }, Ht = /* @__PURE__ */ h({
|
|
@@ -4042,7 +4041,7 @@ const ot = ["id"], it = /* @__PURE__ */ h({
|
|
|
4042
4041
|
css: {}
|
|
4043
4042
|
},
|
|
4044
4043
|
setup(u) {
|
|
4045
|
-
const e = u, n =
|
|
4044
|
+
const e = u, n = f(() => e.element.getTitleToolbar());
|
|
4046
4045
|
return (s, i) => (o(), l("div", bt, [
|
|
4047
4046
|
v("span", ft, [
|
|
4048
4047
|
s.element.isPage ? (o(), y(d, {
|
|
@@ -4086,7 +4085,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4086
4085
|
title: {}
|
|
4087
4086
|
},
|
|
4088
4087
|
setup(u) {
|
|
4089
|
-
const e = u, n =
|
|
4088
|
+
const e = u, n = b(), s = () => {
|
|
4090
4089
|
Fe(
|
|
4091
4090
|
e.size,
|
|
4092
4091
|
e.width,
|
|
@@ -4143,7 +4142,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4143
4142
|
handleClick: { type: Boolean, default: !0 }
|
|
4144
4143
|
},
|
|
4145
4144
|
setup(u) {
|
|
4146
|
-
const e = u, n =
|
|
4145
|
+
const e = u, n = b(null), s = (t) => {
|
|
4147
4146
|
e.handleClick && t.stopPropagation();
|
|
4148
4147
|
};
|
|
4149
4148
|
S(() => e.model);
|
|
@@ -4159,7 +4158,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4159
4158
|
class: r(t.model.getRootCss()),
|
|
4160
4159
|
onClick: s
|
|
4161
4160
|
}, [
|
|
4162
|
-
(o(!0), l(
|
|
4161
|
+
(o(!0), l(M, null, V(k(i), (m) => (o(), y(d, {
|
|
4163
4162
|
is: "sv-action",
|
|
4164
4163
|
key: m.renderedId,
|
|
4165
4164
|
item: m
|
|
@@ -4172,7 +4171,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4172
4171
|
item: {}
|
|
4173
4172
|
},
|
|
4174
4173
|
setup(u) {
|
|
4175
|
-
const e =
|
|
4174
|
+
const e = b(), n = u, s = f(
|
|
4176
4175
|
() => n.item.component || "sv-action-bar-item"
|
|
4177
4176
|
);
|
|
4178
4177
|
return S(() => n.item), T(() => {
|
|
@@ -4263,7 +4262,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4263
4262
|
n.item.hasTitle ? (o(), l("span", {
|
|
4264
4263
|
key: 1,
|
|
4265
4264
|
class: r(n.item.getActionBarItemTitleCss())
|
|
4266
|
-
},
|
|
4265
|
+
}, I(n.item.title), 3)) : p("", !0)
|
|
4267
4266
|
], 42, Ft)), [
|
|
4268
4267
|
[k(K), { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
4269
4268
|
]);
|
|
@@ -4287,7 +4286,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4287
4286
|
() => {
|
|
4288
4287
|
n.dispose();
|
|
4289
4288
|
}
|
|
4290
|
-
), (s, i) => (o(), l(
|
|
4289
|
+
), (s, i) => (o(), l(M, null, [
|
|
4291
4290
|
R((o(), l("button", {
|
|
4292
4291
|
type: "button",
|
|
4293
4292
|
class: r(s.item.getActionBarItemCss()),
|
|
@@ -4312,7 +4311,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4312
4311
|
s.item.hasTitle ? (o(), l("span", {
|
|
4313
4312
|
key: 1,
|
|
4314
4313
|
class: r(s.item.getActionBarItemTitleCss())
|
|
4315
|
-
},
|
|
4314
|
+
}, I(s.item.title), 3)) : p("", !0)
|
|
4316
4315
|
], 42, Ut)), [
|
|
4317
4316
|
[k(K), { processEsc: !1, disableTabStop: s.item.disableTabStop }]
|
|
4318
4317
|
]),
|
|
@@ -4328,7 +4327,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4328
4327
|
item: {}
|
|
4329
4328
|
},
|
|
4330
4329
|
setup(u) {
|
|
4331
|
-
const e = u, n =
|
|
4330
|
+
const e = u, n = f(() => e.item && e.item.innerCss);
|
|
4332
4331
|
return (s, i) => (o(), l("div", {
|
|
4333
4332
|
class: r(["sv-action-bar-separator", n.value])
|
|
4334
4333
|
}, null, 2));
|
|
@@ -4339,7 +4338,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4339
4338
|
model: {}
|
|
4340
4339
|
},
|
|
4341
4340
|
setup(u) {
|
|
4342
|
-
const e = u, n =
|
|
4341
|
+
const e = u, n = b(null), s = (m) => {
|
|
4343
4342
|
const c = e.model;
|
|
4344
4343
|
c.filterString = m.target.value;
|
|
4345
4344
|
}, i = (m) => {
|
|
@@ -4399,7 +4398,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4399
4398
|
v("div", {
|
|
4400
4399
|
class: r(m.model.cssClasses.emptyText),
|
|
4401
4400
|
"aria-label": m.model.emptyMessage
|
|
4402
|
-
},
|
|
4401
|
+
}, I(m.model.emptyMessage), 11, Xt)
|
|
4403
4402
|
], 2), [
|
|
4404
4403
|
[N, m.model.isEmpty]
|
|
4405
4404
|
]),
|
|
@@ -4416,7 +4415,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4416
4415
|
m.model.onKeyDown(C);
|
|
4417
4416
|
})
|
|
4418
4417
|
}, [
|
|
4419
|
-
(o(!0), l(
|
|
4418
|
+
(o(!0), l(M, null, V(k(a), (C) => (o(), y(d, {
|
|
4420
4419
|
is: "sv-list-item",
|
|
4421
4420
|
item: C,
|
|
4422
4421
|
model: m.model,
|
|
@@ -4434,11 +4433,11 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4434
4433
|
item: {}
|
|
4435
4434
|
},
|
|
4436
4435
|
setup(u) {
|
|
4437
|
-
const e = u, n =
|
|
4436
|
+
const e = u, n = f(() => e.item.elementId), s = (t) => {
|
|
4438
4437
|
e.model.onItemClick(e.item), t.stopPropagation();
|
|
4439
4438
|
};
|
|
4440
4439
|
S(() => e.item);
|
|
4441
|
-
const i =
|
|
4440
|
+
const i = f(
|
|
4442
4441
|
() => e.item.component || e.model.itemComponent
|
|
4443
4442
|
);
|
|
4444
4443
|
return T(() => {
|
|
@@ -4485,7 +4484,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4485
4484
|
},
|
|
4486
4485
|
setup(u) {
|
|
4487
4486
|
const e = u;
|
|
4488
|
-
return S(() => e.item), (n, s) => (o(), l(
|
|
4487
|
+
return S(() => e.item), (n, s) => (o(), l(M, null, [
|
|
4489
4488
|
n.item.iconName ? (o(), y(d, {
|
|
4490
4489
|
key: 0,
|
|
4491
4490
|
is: "sv-svg-icon",
|
|
@@ -4514,7 +4513,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4514
4513
|
},
|
|
4515
4514
|
setup(u) {
|
|
4516
4515
|
const e = u;
|
|
4517
|
-
return S(() => e.item), (n, s) => (o(), l(
|
|
4516
|
+
return S(() => e.item), (n, s) => (o(), l(M, null, [
|
|
4518
4517
|
g(d, {
|
|
4519
4518
|
is: "sv-list-item-content",
|
|
4520
4519
|
item: n.item,
|
|
@@ -4532,7 +4531,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4532
4531
|
model: {}
|
|
4533
4532
|
},
|
|
4534
4533
|
setup(u) {
|
|
4535
|
-
const e = u, n = W(), s =
|
|
4534
|
+
const e = u, n = W(), s = b(null), i = () => {
|
|
4536
4535
|
const t = s.value;
|
|
4537
4536
|
t && n.value.setComponentElement(t);
|
|
4538
4537
|
};
|
|
@@ -4603,7 +4602,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4603
4602
|
model: s.model
|
|
4604
4603
|
}, null, 8, ["is", "model"])) : p("", !0),
|
|
4605
4604
|
v("div", oo, [
|
|
4606
|
-
s.model.title ? (o(), l("div", io,
|
|
4605
|
+
s.model.title ? (o(), l("div", io, I(s.model.title), 1)) : p("", !0),
|
|
4607
4606
|
v("div", ro, [
|
|
4608
4607
|
v("div", lo, [
|
|
4609
4608
|
g(d, D({
|
|
@@ -4645,22 +4644,22 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4645
4644
|
needRenderWrapper: {}
|
|
4646
4645
|
},
|
|
4647
4646
|
setup(u) {
|
|
4648
|
-
const e = u, n =
|
|
4647
|
+
const e = u, n = f(
|
|
4649
4648
|
() => e.survey.getContainerContent(e.container)
|
|
4650
4649
|
);
|
|
4651
|
-
return (s, i) => n.value.length > 0 ? (o(), l(
|
|
4650
|
+
return (s, i) => n.value.length > 0 ? (o(), l(M, { key: 0 }, [
|
|
4652
4651
|
s.needRenderWrapper ? (o(), l("div", {
|
|
4653
4652
|
key: 0,
|
|
4654
4653
|
class: r(["sv-components-column", "sv-components-container-" + s.container])
|
|
4655
4654
|
}, [
|
|
4656
|
-
(o(!0), l(
|
|
4655
|
+
(o(!0), l(M, null, V(n.value, (t) => (o(), y(d, {
|
|
4657
4656
|
key: t.id,
|
|
4658
4657
|
is: t.component,
|
|
4659
4658
|
survey: s.survey,
|
|
4660
4659
|
container: s.container,
|
|
4661
4660
|
model: t.data
|
|
4662
4661
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4663
|
-
], 2)) : (o(!0), l(
|
|
4662
|
+
], 2)) : (o(!0), l(M, { key: 1 }, V(n.value, (t) => (o(), y(d, {
|
|
4664
4663
|
key: t.id,
|
|
4665
4664
|
is: t.component,
|
|
4666
4665
|
survey: s.survey,
|
|
@@ -4669,7 +4668,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4669
4668
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4670
4669
|
], 64)) : p("", !0);
|
|
4671
4670
|
}
|
|
4672
|
-
}),
|
|
4671
|
+
}), J = /* @__PURE__ */ h({
|
|
4673
4672
|
__name: "Progress",
|
|
4674
4673
|
props: {
|
|
4675
4674
|
survey: {},
|
|
@@ -4677,7 +4676,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4677
4676
|
css: {}
|
|
4678
4677
|
},
|
|
4679
4678
|
setup(u) {
|
|
4680
|
-
const e = u, n =
|
|
4679
|
+
const e = u, n = f(() => e.survey.progressValue + "%"), s = (t) => me.getProgressTextInBarCss(t), i = (t) => me.getProgressTextUnderBarCss(t);
|
|
4681
4680
|
return (t, a) => (o(), l("div", {
|
|
4682
4681
|
class: r(t.survey.getProgressCssClasses(t.container))
|
|
4683
4682
|
}, [
|
|
@@ -4691,11 +4690,11 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4691
4690
|
}, [
|
|
4692
4691
|
v("span", {
|
|
4693
4692
|
class: r(s(t.survey.css))
|
|
4694
|
-
},
|
|
4693
|
+
}, I(t.survey.progressText), 3)
|
|
4695
4694
|
], 6),
|
|
4696
4695
|
v("span", {
|
|
4697
4696
|
class: r(i(t.survey.css))
|
|
4698
|
-
},
|
|
4697
|
+
}, I(t.survey.progressText), 3)
|
|
4699
4698
|
], 2));
|
|
4700
4699
|
}
|
|
4701
4700
|
}), Co = ["title"], vo = ["onClick", "data-page-number"], co = ["title"], go = ["title"], yo = ["title"], ho = /* @__PURE__ */ h({
|
|
@@ -4706,29 +4705,29 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4706
4705
|
container: {}
|
|
4707
4706
|
},
|
|
4708
4707
|
setup(u) {
|
|
4709
|
-
const e = u, n =
|
|
4708
|
+
const e = u, n = b(!1), s = b(!1), i = b(!1), t = b(!0), a = b(), m = f(() => e.survey.css);
|
|
4710
4709
|
let c = null;
|
|
4711
4710
|
const C = (q) => {
|
|
4712
|
-
let
|
|
4713
|
-
|
|
4711
|
+
let w = a.value;
|
|
4712
|
+
w.scrollLeft += (q ? -1 : 1) * 70;
|
|
4714
4713
|
};
|
|
4715
4714
|
return T(() => {
|
|
4716
4715
|
const q = a.value;
|
|
4717
4716
|
c = new Qe(e.model, q, {
|
|
4718
|
-
onResize: (
|
|
4719
|
-
t.value =
|
|
4717
|
+
onResize: (w) => {
|
|
4718
|
+
t.value = w, s.value = !w;
|
|
4720
4719
|
},
|
|
4721
|
-
onUpdateScroller: (
|
|
4722
|
-
n.value =
|
|
4720
|
+
onUpdateScroller: (w) => {
|
|
4721
|
+
n.value = w;
|
|
4723
4722
|
},
|
|
4724
4723
|
onUpdateSettings: () => {
|
|
4725
4724
|
t.value = e.model.showItemTitles, i.value = !e.model.showItemTitles;
|
|
4726
4725
|
},
|
|
4727
|
-
container:
|
|
4726
|
+
container: f(() => e.container)
|
|
4728
4727
|
});
|
|
4729
4728
|
}), O(() => {
|
|
4730
4729
|
c.dispose();
|
|
4731
|
-
}), (q,
|
|
4730
|
+
}), (q, w) => (o(), l("div", {
|
|
4732
4731
|
class: r(q.model.getRootCss(q.container)),
|
|
4733
4732
|
style: H({ maxWidth: q.model.progressWidth }),
|
|
4734
4733
|
role: "progressbar",
|
|
@@ -4743,14 +4742,14 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4743
4742
|
v("div", {
|
|
4744
4743
|
class: r(q.survey.css.progressButtonsPageTitle),
|
|
4745
4744
|
title: q.model.headerText
|
|
4746
|
-
},
|
|
4745
|
+
}, I(q.model.headerText), 11, Co)
|
|
4747
4746
|
], 2)) : p("", !0),
|
|
4748
4747
|
v("div", {
|
|
4749
4748
|
class: r(m.value.progressButtonsContainer)
|
|
4750
4749
|
}, [
|
|
4751
4750
|
v("div", {
|
|
4752
4751
|
class: r(q.model.getScrollButtonCss(n.value, !0)),
|
|
4753
|
-
onClick:
|
|
4752
|
+
onClick: w[0] || (w[0] = (Z) => C(!0)),
|
|
4754
4753
|
role: "button"
|
|
4755
4754
|
}, null, 2),
|
|
4756
4755
|
v("div", {
|
|
@@ -4761,10 +4760,10 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4761
4760
|
v("ul", {
|
|
4762
4761
|
class: r(m.value.progressButtonsList)
|
|
4763
4762
|
}, [
|
|
4764
|
-
(o(!0), l(
|
|
4763
|
+
(o(!0), l(M, null, V(q.survey.visiblePages, (Z, $) => (o(), l("li", {
|
|
4765
4764
|
key: "listelement" + $,
|
|
4766
4765
|
class: r(q.model.getListElementCss($)),
|
|
4767
|
-
onClick: (
|
|
4766
|
+
onClick: (L) => q.model.isListElementClickable($) ? q.model.clickListElement(Z) : null,
|
|
4768
4767
|
"data-page-number": q.model.getItemNumber(Z)
|
|
4769
4768
|
}, [
|
|
4770
4769
|
v("div", {
|
|
@@ -4784,7 +4783,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4784
4783
|
key: 1,
|
|
4785
4784
|
class: r(m.value.progressButtonsPageDescription),
|
|
4786
4785
|
title: Z.locNavigationDescription.renderedHtml
|
|
4787
|
-
},
|
|
4786
|
+
}, I(Z.locNavigationDescription.renderedHtml), 11, go)) : p("", !0),
|
|
4788
4787
|
v("div", {
|
|
4789
4788
|
class: r(m.value.progressButtonsButton)
|
|
4790
4789
|
}, [
|
|
@@ -4794,14 +4793,14 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4794
4793
|
v("div", {
|
|
4795
4794
|
class: r(m.value.progressButtonsButtonContent)
|
|
4796
4795
|
}, null, 2),
|
|
4797
|
-
v("span", null,
|
|
4796
|
+
v("span", null, I(q.model.getItemNumber(Z)), 1)
|
|
4798
4797
|
], 2)
|
|
4799
4798
|
], 10, vo))), 128))
|
|
4800
4799
|
], 2)
|
|
4801
4800
|
], 2),
|
|
4802
4801
|
v("div", {
|
|
4803
4802
|
class: r(q.model.getScrollButtonCss(n.value, !1)),
|
|
4804
|
-
onClick:
|
|
4803
|
+
onClick: w[1] || (w[1] = (Z) => C(!1)),
|
|
4805
4804
|
role: "button"
|
|
4806
4805
|
}, null, 2)
|
|
4807
4806
|
], 2),
|
|
@@ -4812,7 +4811,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4812
4811
|
v("div", {
|
|
4813
4812
|
class: r(q.survey.css.progressButtonsPageTitle),
|
|
4814
4813
|
title: q.model.footerText
|
|
4815
|
-
},
|
|
4814
|
+
}, I(q.model.footerText), 11, yo)
|
|
4816
4815
|
], 2)) : p("", !0)
|
|
4817
4816
|
], 6));
|
|
4818
4817
|
}
|
|
@@ -4854,7 +4853,7 @@ const Zt = /* @__PURE__ */ Mt(It, [["render", Bt]]), Tt = /* @__PURE__ */ v("use
|
|
|
4854
4853
|
}
|
|
4855
4854
|
});
|
|
4856
4855
|
/*!
|
|
4857
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
4856
|
+
* surveyjs - Survey JavaScript library v2.0.7
|
|
4858
4857
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4859
4858
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4860
4859
|
*/
|
|
@@ -4922,7 +4921,7 @@ var wo = {
|
|
|
4922
4921
|
"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>'
|
|
4923
4922
|
};
|
|
4924
4923
|
/*!
|
|
4925
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
4924
|
+
* surveyjs - Survey JavaScript library v2.0.7
|
|
4926
4925
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4927
4926
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
4928
4927
|
*/
|
|
@@ -4995,7 +4994,7 @@ const Lo = ["lang", "dir"], ko = { onsubmit: "return false;" }, bo = {
|
|
|
4995
4994
|
}, fo = { class: "sv-components-column sv-components-column--expandable" }, Ho = ["id"], Mo = { key: 2 }, Io = ["innerHTML"], Vo = ["innerHTML"], So = ["innerHTML"];
|
|
4996
4995
|
qe("v1", wo);
|
|
4997
4996
|
qe("v2", ke);
|
|
4998
|
-
|
|
4997
|
+
Y.registerIcons(ke);
|
|
4999
4998
|
const le = /* @__PURE__ */ h({
|
|
5000
4999
|
__name: "Survey",
|
|
5001
5000
|
props: {
|
|
@@ -5003,18 +5002,18 @@ const le = /* @__PURE__ */ h({
|
|
|
5003
5002
|
survey: {}
|
|
5004
5003
|
},
|
|
5005
5004
|
setup(u) {
|
|
5006
|
-
const e = u, n =
|
|
5005
|
+
const e = u, n = b(), s = b(""), i = b(1), t = f(() => {
|
|
5007
5006
|
const $ = e.survey ? e.survey : e.model;
|
|
5008
5007
|
return $e($);
|
|
5009
|
-
}), a =
|
|
5008
|
+
}), a = f(() => t.value.activePage ? t.value.activePage.id : ""), m = () => {
|
|
5010
5009
|
const $ = a.value;
|
|
5011
5010
|
return !!t.value && $ + i.value.toString();
|
|
5012
|
-
}, c =
|
|
5011
|
+
}, c = f(
|
|
5013
5012
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5014
|
-
), C =
|
|
5013
|
+
), C = f(() => t.value.css), q = f(() => "page" + m()), w = () => c.value ? (s.value || (s.value = t.value.processedCompletedHtml), s.value) : "", Z = ($) => {
|
|
5015
5014
|
if ($) {
|
|
5016
|
-
var
|
|
5017
|
-
|
|
5015
|
+
var L = n.value;
|
|
5016
|
+
L && $.afterRenderSurvey(L), $.renderCallback = () => {
|
|
5018
5017
|
var A, ae;
|
|
5019
5018
|
i.value++, (ae = (A = ye()) == null ? void 0 : A.proxy) == null || ae.$forceUpdate();
|
|
5020
5019
|
}, $.startTimerFromUI();
|
|
@@ -5022,8 +5021,8 @@ const le = /* @__PURE__ */ h({
|
|
|
5022
5021
|
};
|
|
5023
5022
|
return S(
|
|
5024
5023
|
() => t.value,
|
|
5025
|
-
($,
|
|
5026
|
-
$ &&
|
|
5024
|
+
($, L) => {
|
|
5025
|
+
$ && L && Z($);
|
|
5027
5026
|
},
|
|
5028
5027
|
($) => {
|
|
5029
5028
|
$.stopTimer(), $.renderCallback = void 0;
|
|
@@ -5032,7 +5031,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5032
5031
|
Z(t.value);
|
|
5033
5032
|
}), P(() => {
|
|
5034
5033
|
t.value.stopTimer(), t.value.beforeDestroySurveyElement(), t.value.renderCallback = void 0;
|
|
5035
|
-
}), ($,
|
|
5034
|
+
}), ($, L) => (o(), l("div", {
|
|
5036
5035
|
class: r(t.value.getRootCss()),
|
|
5037
5036
|
style: H(t.value.themeVariables),
|
|
5038
5037
|
lang: t.value.locale || "en",
|
|
@@ -5141,7 +5140,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5141
5140
|
}, null, 8, ["survey"]),
|
|
5142
5141
|
c.value ? (o(), l("div", Mo, [
|
|
5143
5142
|
v("div", {
|
|
5144
|
-
innerHTML:
|
|
5143
|
+
innerHTML: w(),
|
|
5145
5144
|
class: r(t.value.completedCss)
|
|
5146
5145
|
}, null, 10, Io),
|
|
5147
5146
|
g(d, {
|
|
@@ -5164,7 +5163,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5164
5163
|
t.value.state === "empty" ? (o(), l("div", {
|
|
5165
5164
|
key: 5,
|
|
5166
5165
|
class: r(C.value.bodyEmpty)
|
|
5167
|
-
},
|
|
5166
|
+
}, I(t.value.emptySurveyText), 3)) : p("", !0)
|
|
5168
5167
|
], 2)
|
|
5169
5168
|
]),
|
|
5170
5169
|
_: 1
|
|
@@ -5194,7 +5193,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5194
5193
|
role: "alert",
|
|
5195
5194
|
"aria-live": "polite"
|
|
5196
5195
|
}, [
|
|
5197
|
-
v("span", null,
|
|
5196
|
+
v("span", null, I(n.model.message), 1),
|
|
5198
5197
|
g(d, {
|
|
5199
5198
|
is: "sv-action-bar",
|
|
5200
5199
|
model: n.model.actionBar
|
|
@@ -5210,7 +5209,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5210
5209
|
return (e, n) => (o(), l("div", {
|
|
5211
5210
|
class: r(e.question.getCommentAreaCss(!0))
|
|
5212
5211
|
}, [
|
|
5213
|
-
e.question.isReadOnlyRenderDiv() ? (o(), l("div", Bo,
|
|
5212
|
+
e.question.isReadOnlyRenderDiv() ? (o(), l("div", Bo, I(e.question.otherValue), 1)) : (o(), y(d, {
|
|
5214
5213
|
key: 1,
|
|
5215
5214
|
is: "sv-text-area",
|
|
5216
5215
|
model: e.question.otherTextAreaModel
|
|
@@ -5290,7 +5289,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5290
5289
|
n.value.isCollapsed && n.value.locTitle ? (o(), l("div", {
|
|
5291
5290
|
key: 0,
|
|
5292
5291
|
class: r(n.value.cssHeaderTitleCollapsed)
|
|
5293
|
-
},
|
|
5292
|
+
}, I(n.value.locTitle.renderedHtml), 3)) : p("", !0),
|
|
5294
5293
|
v("div", {
|
|
5295
5294
|
class: r(n.value.cssHeaderButtonsContainer)
|
|
5296
5295
|
}, [
|
|
@@ -5357,11 +5356,11 @@ const le = /* @__PURE__ */ h({
|
|
|
5357
5356
|
css: {}
|
|
5358
5357
|
},
|
|
5359
5358
|
setup(u) {
|
|
5360
|
-
const e = u, n =
|
|
5359
|
+
const e = u, n = b(), s = f(
|
|
5361
5360
|
() => e.question.customWidget.isDefaultRender
|
|
5362
|
-
), i =
|
|
5361
|
+
), i = f(
|
|
5363
5362
|
() => !!e.question.customWidget.htmlTemplate
|
|
5364
|
-
), t =
|
|
5363
|
+
), t = f(() => e.question.customWidget.htmlTemplate), a = f(() => "survey-" + e.question.getTemplate());
|
|
5365
5364
|
return T(() => {
|
|
5366
5365
|
e.question.customWidget.afterRender(e.question, n.value);
|
|
5367
5366
|
}), O(() => {
|
|
@@ -5413,9 +5412,9 @@ const le = /* @__PURE__ */ h({
|
|
|
5413
5412
|
model: {}
|
|
5414
5413
|
},
|
|
5415
5414
|
setup(u) {
|
|
5416
|
-
const e = u, n =
|
|
5415
|
+
const e = u, n = b(
|
|
5417
5416
|
null
|
|
5418
|
-
), s =
|
|
5417
|
+
), s = f(() => e.model.getTextValue() || "");
|
|
5419
5418
|
return T(() => {
|
|
5420
5419
|
e.model.setElement(n.value);
|
|
5421
5420
|
}), Q(() => {
|
|
@@ -5468,7 +5467,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5468
5467
|
const e = u;
|
|
5469
5468
|
return S(() => e.counter), (n, s) => (o(), l("div", {
|
|
5470
5469
|
class: r(n.remainingCharacterCounter)
|
|
5471
|
-
},
|
|
5470
|
+
}, I(n.counter.remainingCharacterCounter), 3));
|
|
5472
5471
|
}
|
|
5473
5472
|
}), Fo = /* @__PURE__ */ h({
|
|
5474
5473
|
inheritAttrs: !1,
|
|
@@ -5478,9 +5477,9 @@ const le = /* @__PURE__ */ h({
|
|
|
5478
5477
|
css: {}
|
|
5479
5478
|
},
|
|
5480
5479
|
setup(u) {
|
|
5481
|
-
const e = u, n =
|
|
5480
|
+
const e = u, n = b(null);
|
|
5482
5481
|
B(e, n);
|
|
5483
|
-
const s =
|
|
5482
|
+
const s = f(() => e.question.contentPanel);
|
|
5484
5483
|
return (i, t) => (o(), y(d, {
|
|
5485
5484
|
is: "survey-panel",
|
|
5486
5485
|
ref_key: "root",
|
|
@@ -5497,9 +5496,9 @@ const le = /* @__PURE__ */ h({
|
|
|
5497
5496
|
css: {}
|
|
5498
5497
|
},
|
|
5499
5498
|
setup(u) {
|
|
5500
|
-
const e = u, n =
|
|
5499
|
+
const e = u, n = b(null);
|
|
5501
5500
|
B(e, n);
|
|
5502
|
-
const s =
|
|
5501
|
+
const s = f(() => e.question.contentQuestion), i = (t) => ie(t);
|
|
5503
5502
|
return (t, a) => (o(), y(d, {
|
|
5504
5503
|
ref: n.value,
|
|
5505
5504
|
is: i(s.value),
|
|
@@ -5516,7 +5515,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5516
5515
|
css: {}
|
|
5517
5516
|
},
|
|
5518
5517
|
setup(u) {
|
|
5519
|
-
const e = u, n =
|
|
5518
|
+
const e = u, n = f(() => ve * e.model.progress), s = f(() => e.model.text);
|
|
5520
5519
|
return S(() => e.model), (i, t) => i.model.isRunning && i.model.showTimerAsClock ? (o(), l("div", {
|
|
5521
5520
|
key: 0,
|
|
5522
5521
|
class: r(i.model.rootCss)
|
|
@@ -5531,16 +5530,16 @@ const le = /* @__PURE__ */ h({
|
|
|
5531
5530
|
}, [
|
|
5532
5531
|
v("span", {
|
|
5533
5532
|
class: r(i.model.majorTextCss)
|
|
5534
|
-
},
|
|
5533
|
+
}, I(i.model.clockMajorText), 3),
|
|
5535
5534
|
i.model.clockMinorText ? (o(), l("span", {
|
|
5536
5535
|
key: 0,
|
|
5537
5536
|
class: r(i.model.minorTextCss)
|
|
5538
|
-
},
|
|
5537
|
+
}, I(i.model.clockMinorText), 3)) : p("", !0)
|
|
5539
5538
|
], 2)
|
|
5540
5539
|
], 2)) : R((o(), l("div", {
|
|
5541
5540
|
key: 1,
|
|
5542
5541
|
class: r(i.model.survey.getCss().timerRoot)
|
|
5543
|
-
},
|
|
5542
|
+
}, I(s.value), 3)), [
|
|
5544
5543
|
[N, i.model.isRunning && !i.model.showTimerAsClock]
|
|
5545
5544
|
]);
|
|
5546
5545
|
}
|
|
@@ -5585,7 +5584,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5585
5584
|
class: r(n.model.contentClasses),
|
|
5586
5585
|
style: H({ maxWidth: n.model.maxWidth })
|
|
5587
5586
|
}, [
|
|
5588
|
-
(o(!0), l(
|
|
5587
|
+
(o(!0), l(M, null, V(n.model.cells, (i, t) => (o(), y(d, {
|
|
5589
5588
|
is: "sv-header-cell",
|
|
5590
5589
|
model: i,
|
|
5591
5590
|
key: t
|
|
@@ -5719,7 +5718,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5719
5718
|
css: {}
|
|
5720
5719
|
},
|
|
5721
5720
|
setup(u) {
|
|
5722
|
-
const e = u, n =
|
|
5721
|
+
const e = u, n = b(), s = (c) => c.isPanel ? "survey-panel" : "survey-question", i = f(() => {
|
|
5723
5722
|
const c = e.element.survey;
|
|
5724
5723
|
if (c) {
|
|
5725
5724
|
const C = c.getElementWrapperComponentName(e.element);
|
|
@@ -5727,7 +5726,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5727
5726
|
return C;
|
|
5728
5727
|
}
|
|
5729
5728
|
return s(e.element);
|
|
5730
|
-
}), t = (c) => c.cssClasses ? c.rootStyle : {}, a =
|
|
5729
|
+
}), t = (c) => c.cssClasses ? c.rootStyle : {}, a = f(() => {
|
|
5731
5730
|
const c = e.element, C = c.survey;
|
|
5732
5731
|
let q;
|
|
5733
5732
|
return C && (q = C.getElementWrapperComponentData(c)), {
|
|
@@ -5774,8 +5773,8 @@ const le = /* @__PURE__ */ h({
|
|
|
5774
5773
|
componentData: {}
|
|
5775
5774
|
},
|
|
5776
5775
|
setup(u) {
|
|
5777
|
-
const e = Ae(), n =
|
|
5778
|
-
return (s, i) => n.value && !s.componentName ?
|
|
5776
|
+
const e = Ae(), n = f(() => !!e.default);
|
|
5777
|
+
return (s, i) => n.value && !s.componentName ? _(s.$slots, "default", { key: 0 }) : (o(), y(d, D({
|
|
5779
5778
|
key: 1,
|
|
5780
5779
|
is: s.componentName
|
|
5781
5780
|
}, s.componentData), null, 16, ["is"]));
|
|
@@ -5793,7 +5792,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5793
5792
|
onClick: n[0] || (n[0] = //@ts-ignore
|
|
5794
5793
|
(...s) => e.question.doClean && e.question.doClean(...s))
|
|
5795
5794
|
}, [
|
|
5796
|
-
v("span", null,
|
|
5795
|
+
v("span", null, I(e.question.clearButtonCaption), 1),
|
|
5797
5796
|
e.question.cssClasses.removeButtonIconId ? (o(), y(d, {
|
|
5798
5797
|
key: 0,
|
|
5799
5798
|
is: "sv-svg-icon",
|
|
@@ -5839,7 +5838,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5839
5838
|
item: {}
|
|
5840
5839
|
},
|
|
5841
5840
|
setup(u) {
|
|
5842
|
-
const e = u, n =
|
|
5841
|
+
const e = u, n = f(
|
|
5843
5842
|
() => {
|
|
5844
5843
|
var s, i;
|
|
5845
5844
|
return ((s = e.data) == null ? void 0 : s.question) || ((i = e.item) == null ? void 0 : i.data.question);
|
|
@@ -5859,7 +5858,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5859
5858
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
5860
5859
|
size: "auto"
|
|
5861
5860
|
}, null, 8, ["title", "iconName"])) : p("", !0),
|
|
5862
|
-
v("span", null,
|
|
5861
|
+
v("span", null, I(n.value.chooseButtonText), 1)
|
|
5863
5862
|
], 10, a2)), [
|
|
5864
5863
|
[k(K)]
|
|
5865
5864
|
]);
|
|
@@ -5874,7 +5873,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5874
5873
|
key: 0,
|
|
5875
5874
|
class: r(e.question.cssClasses.fileList || void 0)
|
|
5876
5875
|
}, [
|
|
5877
|
-
(o(!0), l(
|
|
5876
|
+
(o(!0), l(M, null, V(e.question.renderedPages, (s) => (o(), y(d, {
|
|
5878
5877
|
is: "sv-file-page",
|
|
5879
5878
|
key: s.id,
|
|
5880
5879
|
page: s,
|
|
@@ -5888,14 +5887,14 @@ const le = /* @__PURE__ */ h({
|
|
|
5888
5887
|
question: {}
|
|
5889
5888
|
},
|
|
5890
5889
|
setup(u) {
|
|
5891
|
-
const e = u, n =
|
|
5890
|
+
const e = u, n = b();
|
|
5892
5891
|
return B(e, n), (s, i) => (o(), l("div", {
|
|
5893
5892
|
role: "group",
|
|
5894
5893
|
class: r(s.question.cssClasses.root),
|
|
5895
5894
|
ref_key: "root",
|
|
5896
5895
|
ref: n
|
|
5897
5896
|
}, [
|
|
5898
|
-
(o(!0), l(
|
|
5897
|
+
(o(!0), l(M, null, V(s.question.visibleChoices, (t, a) => (o(), y(d, {
|
|
5899
5898
|
is: "sv-button-group-item",
|
|
5900
5899
|
question: s.question,
|
|
5901
5900
|
key: a,
|
|
@@ -5912,9 +5911,9 @@ const le = /* @__PURE__ */ h({
|
|
|
5912
5911
|
index: {}
|
|
5913
5912
|
},
|
|
5914
5913
|
setup(u) {
|
|
5915
|
-
const e = u, n =
|
|
5914
|
+
const e = u, n = f(
|
|
5916
5915
|
() => new Xe(e.question, e.item, e.index)
|
|
5917
|
-
), s =
|
|
5916
|
+
), s = f({
|
|
5918
5917
|
get: () => e.question.renderedValue,
|
|
5919
5918
|
set: (i) => {
|
|
5920
5919
|
const t = e.question;
|
|
@@ -5938,7 +5937,7 @@ const le = /* @__PURE__ */ h({
|
|
|
5938
5937
|
"onUpdate:modelValue": t[0] || (t[0] = (a) => s.value = a),
|
|
5939
5938
|
value: n.value.value
|
|
5940
5939
|
}, null, 10, C2), [
|
|
5941
|
-
[
|
|
5940
|
+
[ee, s.value]
|
|
5942
5941
|
]),
|
|
5943
5942
|
v("div", {
|
|
5944
5943
|
class: r(n.value.css.decorator)
|
|
@@ -5963,14 +5962,39 @@ const le = /* @__PURE__ */ h({
|
|
|
5963
5962
|
], 2)
|
|
5964
5963
|
], 10, p2));
|
|
5965
5964
|
}
|
|
5966
|
-
})
|
|
5965
|
+
});
|
|
5966
|
+
j.Instance.registerRenderer(
|
|
5967
|
+
"buttongroup",
|
|
5968
|
+
"dropdown",
|
|
5969
|
+
"sv-buttongroup-dropdown"
|
|
5970
|
+
);
|
|
5971
|
+
const g2 = /* @__PURE__ */ h({
|
|
5972
|
+
inheritAttrs: !1,
|
|
5973
|
+
__name: "ButtonGroupDropdown",
|
|
5974
|
+
props: {
|
|
5975
|
+
question: {}
|
|
5976
|
+
},
|
|
5977
|
+
setup(u) {
|
|
5978
|
+
const e = u, n = b(null);
|
|
5979
|
+
return B(e, n), (s, i) => (o(), l("div", {
|
|
5980
|
+
class: r(s.question.cssClasses.rootDropdown),
|
|
5981
|
+
ref_key: "root",
|
|
5982
|
+
ref: n
|
|
5983
|
+
}, [
|
|
5984
|
+
g(d, {
|
|
5985
|
+
is: "sv-dropdown",
|
|
5986
|
+
question: s.question
|
|
5987
|
+
}, null, 8, ["question"])
|
|
5988
|
+
], 2));
|
|
5989
|
+
}
|
|
5990
|
+
}), y2 = ["src", "width", "height", "alt"], h2 = /* @__PURE__ */ h({
|
|
5967
5991
|
inheritAttrs: !1,
|
|
5968
5992
|
__name: "Logo",
|
|
5969
5993
|
props: {
|
|
5970
5994
|
data: {}
|
|
5971
5995
|
},
|
|
5972
5996
|
setup(u) {
|
|
5973
|
-
const e = u, n =
|
|
5997
|
+
const e = u, n = f(() => e.data), s = U(() => n.value.locLogo);
|
|
5974
5998
|
return (i, t) => (o(), l("div", {
|
|
5975
5999
|
class: r(n.value.logoClassNames)
|
|
5976
6000
|
}, [
|
|
@@ -5985,19 +6009,19 @@ const le = /* @__PURE__ */ h({
|
|
|
5985
6009
|
width: n.value.renderedStyleLogoWidth,
|
|
5986
6010
|
height: n.value.renderedStyleLogoHeight
|
|
5987
6011
|
})
|
|
5988
|
-
}, null, 14,
|
|
6012
|
+
}, null, 14, y2)
|
|
5989
6013
|
], 2));
|
|
5990
6014
|
}
|
|
5991
|
-
}),
|
|
6015
|
+
}), q2 = /* @__PURE__ */ h({
|
|
5992
6016
|
__name: "SvgBundle",
|
|
5993
6017
|
setup(u) {
|
|
5994
|
-
const e =
|
|
5995
|
-
e.value && (e.value.innerHTML =
|
|
6018
|
+
const e = b(), n = () => {
|
|
6019
|
+
e.value && (e.value.innerHTML = Y.iconsRenderedHtml());
|
|
5996
6020
|
};
|
|
5997
6021
|
return T(() => {
|
|
5998
|
-
n(),
|
|
6022
|
+
n(), Y.onIconsChanged.add(n);
|
|
5999
6023
|
}), P(() => {
|
|
6000
|
-
|
|
6024
|
+
Y.onIconsChanged.remove(n);
|
|
6001
6025
|
}), (s, i) => R((o(), l("svg", {
|
|
6002
6026
|
id: "sv-icon-holder-global-container",
|
|
6003
6027
|
ref_key: "root",
|
|
@@ -6006,7 +6030,7 @@ const le = /* @__PURE__ */ h({
|
|
|
6006
6030
|
[N, !1]
|
|
6007
6031
|
]);
|
|
6008
6032
|
}
|
|
6009
|
-
}),
|
|
6033
|
+
}), w2 = ["id"], L2 = /* @__PURE__ */ h({
|
|
6010
6034
|
__name: "FilePage",
|
|
6011
6035
|
props: {
|
|
6012
6036
|
page: {},
|
|
@@ -6018,15 +6042,15 @@ const le = /* @__PURE__ */ h({
|
|
|
6018
6042
|
class: r(n.page.css),
|
|
6019
6043
|
id: n.page.id
|
|
6020
6044
|
}, [
|
|
6021
|
-
(o(!0), l(
|
|
6045
|
+
(o(!0), l(M, null, V(n.page.items, (i) => (o(), y(d, {
|
|
6022
6046
|
is: "sv-file-item",
|
|
6023
6047
|
key: i,
|
|
6024
6048
|
item: i,
|
|
6025
6049
|
question: n.question
|
|
6026
6050
|
}, null, 8, ["item", "question"]))), 128))
|
|
6027
|
-
], 10,
|
|
6051
|
+
], 10, w2));
|
|
6028
6052
|
}
|
|
6029
|
-
}),
|
|
6053
|
+
}), k2 = ["href", "title", "download"], b2 = ["src"], f2 = ["href", "title", "download"], H2 = /* @__PURE__ */ h({
|
|
6030
6054
|
__name: "FileItem",
|
|
6031
6055
|
props: {
|
|
6032
6056
|
item: {},
|
|
@@ -6047,7 +6071,7 @@ const le = /* @__PURE__ */ h({
|
|
|
6047
6071
|
title: e.item.name,
|
|
6048
6072
|
download: e.item.name,
|
|
6049
6073
|
style: H({ width: e.question.imageWidth })
|
|
6050
|
-
},
|
|
6074
|
+
}, I(e.item.name), 13, k2)
|
|
6051
6075
|
], 2)) : p("", !0),
|
|
6052
6076
|
v("div", {
|
|
6053
6077
|
class: r(e.question.getImageWrapperCss(e.item))
|
|
@@ -6060,7 +6084,7 @@ const le = /* @__PURE__ */ h({
|
|
|
6060
6084
|
width: e.question.imageWidth
|
|
6061
6085
|
}),
|
|
6062
6086
|
alt: "File preview"
|
|
6063
|
-
}, null, 12,
|
|
6087
|
+
}, null, 12, b2)) : p("", !0),
|
|
6064
6088
|
e.question.defaultImage(e.item) ? (o(), y(d, {
|
|
6065
6089
|
key: 1,
|
|
6066
6090
|
is: "sv-svg-icon",
|
|
@@ -6075,7 +6099,7 @@ const le = /* @__PURE__ */ h({
|
|
|
6075
6099
|
}, [
|
|
6076
6100
|
v("span", {
|
|
6077
6101
|
class: r(e.question.cssClasses.removeFile)
|
|
6078
|
-
},
|
|
6102
|
+
}, I(e.question.removeFileCaption), 3),
|
|
6079
6103
|
e.question.cssClasses.removeFileSvgIconId ? (o(), y(d, {
|
|
6080
6104
|
key: 0,
|
|
6081
6105
|
is: "sv-svg-icon",
|
|
@@ -6096,7 +6120,7 @@ const le = /* @__PURE__ */ h({
|
|
|
6096
6120
|
title: e.item.name,
|
|
6097
6121
|
download: e.item.name,
|
|
6098
6122
|
style: H({ width: e.question.imageWidth })
|
|
6099
|
-
},
|
|
6123
|
+
}, I(e.item.name), 13, f2)
|
|
6100
6124
|
], 2)) : p("", !0)
|
|
6101
6125
|
], 2)), [
|
|
6102
6126
|
[N, e.item]
|
|
@@ -6104,20 +6128,20 @@ const le = /* @__PURE__ */ h({
|
|
|
6104
6128
|
}
|
|
6105
6129
|
});
|
|
6106
6130
|
Je.platform = "vue3";
|
|
6107
|
-
function
|
|
6131
|
+
function M2(u, e, n) {
|
|
6108
6132
|
u(e, n);
|
|
6109
6133
|
}
|
|
6110
6134
|
function fe(u) {
|
|
6111
|
-
const e =
|
|
6135
|
+
const e = M2.bind(
|
|
6112
6136
|
void 0,
|
|
6113
6137
|
u
|
|
6114
6138
|
);
|
|
6115
|
-
e("sv-svg-bundle",
|
|
6139
|
+
e("sv-svg-bundle", q2), e("popup-survey", be), e("survey-header", s1), e("sv-logo-image", h2), e("survey-page", e1), e("survey-row", n1), e("survey-question", r1), e("survey-panel", d1), e("survey-element-header", p1), e("survey-string", C1), e("sv-string-viewer", c1), e("sv-string-editor", y1), e("sv-skeleton", q1), e("sv-scroll", b1), e("survey-text", M1), e("survey-text-input", S1), e("survey-checkbox", $1), e("survey-checkbox-item", N1), e("survey-radiogroup", P1), e("survey-radiogroup-item", F1), e("survey-signaturepad", K1), e("survey-html", j1), e("survey-image", Y1), e("survey-expression", _1), e("survey-file", ns), e("sv-file-choose-btn", u2), e("sv-file-clean-btn", i2), e("sv-file-preview", d2), e("sv-file-page", L2), e("sv-file-item", H2), e("sv-file-video", l2), e("survey-imagepicker", os), e("survey-imagepicker-item", us), e("survey-comment", ds), e("survey-dropdown", ms), e("sv-dropdown-select", cs), e("sv-dropdown-option-item", ys), e("sv-dropdown", ks), e("survey-tagbox", bs), e("sv-tagbox", Ms), e("sv-tagbox-item", Bs), e("sv-tagbox-filter", Ss), e("survey-ranking", Zs), e("survey-ranking-item", Ps), e("sv-ranking-item", Es), e("survey-rating", zs), e("sv-rating-item", Ks), e("sv-rating-item-smiley", Gs), e("sv-rating-item-star", Ys), e("sv-rating-dropdown", nn), e("sv-rating-dropdown-item", sn), e("survey-boolean", on), e("sv-boolean-radio", rn), e("sv-boolean-radio-item", un), e("sv-boolean-checkbox", cn), e("survey-multipletext", gn), e("survey-multipletext-item", qn), e("sv-breadcrumbs", wn), e("sv-single-input-summary", Hn), e("survey-matrix", Zn), e("survey-matrix-row", $n), e("survey-matrix-cell", Nn), e("survey-matrixdropdown", Pn), e("survey-matrixtable", Fn), e("survey-matrixheaderrequired", On), e("survey-matrixdropdown-cell", Kn), e("survey-matrixdynamic", Qn), e("survey-placeholder-matrixdynamic", jn), e("sv-matrix-remove-button", Xn), e("sv-matrix-drag-drop-icon", Yn), e("sv-matrix-detail-button", xn), e("survey-paneldynamic", et), e("survey-paneldynamicprogress", st), e("survey-paneldynamicprogress-v2", nt), e("survey-placeholder-paneldynamic", tt), e("sv-paneldynamic-add-btn", it), e("sv-paneldynamic-next-btn", lt), e("sv-paneldynamic-prev-btn", ut), e("sv-paneldynamic-remove-btn", mt), e("sv-paneldynamic-progress-text", pt), e("sv-components-container", po), e("sv-progress-buttons", ho), e("sv-navigation-toc", qo), e("sv-progress-pages", J), e("sv-progress-questions", J), e("sv-progress-correctquestions", J), e("sv-progress-requiredquestions", J), e("survey-errors", vt), e("survey-question-comment", gt), e("survey-element-title", yt), e("survey-element-title-content", kt), e("sv-title-actions", Ht), e("sv-brand-info", Zt), e("sv-question-error", At), e("sv-svg-icon", Dt), e("sv-action-bar", Nt), e("sv-action", Wt), e("sv-action-bar-item", Ot), e("sv-action-bar-item-dropdown", Qt), e("sv-action-bar-separator", jt), e("sv-list", Yt), e("sv-list-item-content", so), e("sv-list-item-group", no), e("sv-list-item", eo), e("sv-popup", to), e("sv-popup-container", uo), e("popup-pointer", mo), e("sv-notifier", Ro), e("survey-other-choice", Zo), e("sv-nav-btn", $o), e("survey-customwidget", Ao), e("survey-popup-modal", No), e("survey-composite", Fo), e("survey-custom", zo), e("sv-timerpanel", Ko), e("sv-loading-indicator", jo), e("sv-header", Xo), e("sv-header-cell", _o), e("sv-header-mobile", n2), e("sv-template-renderer", o2), e("sv-character-counter", Wo), e("sv-text-area", Eo), e("survey-element", t2), e("survey-buttongroup", m2), e("sv-button-group-item", c2), e("sv-buttongroup-dropdown", g2), e("survey", le);
|
|
6116
6140
|
}
|
|
6117
6141
|
fe(
|
|
6118
6142
|
(u, e) => z.Instance.registerComponent(u, e)
|
|
6119
6143
|
);
|
|
6120
|
-
const
|
|
6144
|
+
const R2 = {
|
|
6121
6145
|
install(u) {
|
|
6122
6146
|
u.component("SurveyComponent", le), u.component("PopupSurveyComponent", be), u.directive("key2click", K), fe((e, n) => {
|
|
6123
6147
|
u.component(e, n), z.Instance.registerComponent(e, e);
|
|
@@ -6130,7 +6154,7 @@ export {
|
|
|
6130
6154
|
le as SurveyComponent,
|
|
6131
6155
|
d as SvComponent,
|
|
6132
6156
|
K as key2ClickDirective,
|
|
6133
|
-
|
|
6157
|
+
R2 as surveyPlugin,
|
|
6134
6158
|
S as useBase,
|
|
6135
6159
|
se as useComputedArray,
|
|
6136
6160
|
U as useLocString,
|