survey-vue3-ui 1.11.13 → 1.11.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/survey-vue3-ui.es.js +442 -438
- package/survey-vue3-ui.umd.js +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowReactive as be, watch as K, onUpdated as x, onBeforeUnmount as j, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as oe, unref as w, isRef as fe, defineComponent as g, computed as
|
|
1
|
+
import { shallowReactive as be, watch as K, onUpdated as x, onBeforeUnmount as j, onMounted as M, ref as $, shallowRef as U, watchEffect as ke, triggerRef as oe, unref as w, isRef as fe, defineComponent as g, computed as I, resolveComponent as y, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as h, createCommentVNode as m, Fragment as D, renderList as L, createBlock as q, resolveDynamicComponent as R, normalizeProps as z, mergeProps as H, withCtx as V, normalizeStyle as S, createElementVNode as v, onUnmounted as O, guardReactiveProps as te, withDirectives as N, vShow as E, toDisplayString as T, vModelRadio as ee, vModelCheckbox as ie, vModelSelect as we, vModelText as Ie, getCurrentInstance as ve, createStaticVNode as Se, resolveDirective as X, toRaw as Re, Teleport as Te, useSlots as $e, renderSlot as De } from "vue";
|
|
2
2
|
import { Base as _e, RendererFactory as se, Helpers as Be, DropdownMultiSelectListModel as Le, doKey2ClickUp as ye, createSvg as Ae, ActionDropdownViewModel as Ne, getActionDropdownButtonTarget as Pe, createPopupViewModel as Me, SurveyProgressModel as ae, ProgressButtonsResponsivityManager as He, PopupSurveyModel as Ee, settings as Q, createDialogOptions as We, createPopupModalViewModel as Fe, ButtonGroupItemModel as Ve, SvgRegistry as Oe, SurveyModel as ze, doKey2ClickDown as Ue, doKey2ClickBlur as Ke } from "survey-core";
|
|
3
3
|
_e.createPropertiesHash = () => be({});
|
|
4
4
|
function Qe(r) {
|
|
@@ -87,7 +87,7 @@ const je = /* @__PURE__ */ g({
|
|
|
87
87
|
setup(r) {
|
|
88
88
|
const s = r, n = $(null), e = () => {
|
|
89
89
|
s.survey && n.value && s.survey.afterRenderPage(n.value);
|
|
90
|
-
}, t =
|
|
90
|
+
}, t = I(() => s.page._showDescription);
|
|
91
91
|
return B(
|
|
92
92
|
() => s.page,
|
|
93
93
|
() => {
|
|
@@ -96,7 +96,7 @@ const je = /* @__PURE__ */ g({
|
|
|
96
96
|
), M(() => {
|
|
97
97
|
e();
|
|
98
98
|
}), (o, a) => {
|
|
99
|
-
const c = y("survey-element-title"),
|
|
99
|
+
const c = y("survey-element-title"), p = y("survey-string"), d = y("survey-errors"), C = y("survey-row");
|
|
100
100
|
return i(), u("div", {
|
|
101
101
|
class: l(o.page.cssRoot),
|
|
102
102
|
ref_key: "root",
|
|
@@ -110,7 +110,7 @@ const je = /* @__PURE__ */ g({
|
|
|
110
110
|
key: 0,
|
|
111
111
|
class: l(o.page.cssClasses.page.description)
|
|
112
112
|
}, [
|
|
113
|
-
h(
|
|
113
|
+
h(p, {
|
|
114
114
|
locString: o.page.locDescription
|
|
115
115
|
}, null, 8, ["locString"])
|
|
116
116
|
], 2)) : m("", !0),
|
|
@@ -157,7 +157,7 @@ const je = /* @__PURE__ */ g({
|
|
|
157
157
|
e.survey.renderedHasTitle ? (i(), u("div", {
|
|
158
158
|
key: 1,
|
|
159
159
|
class: l(e.survey.css.headerText),
|
|
160
|
-
style:
|
|
160
|
+
style: S({ maxWidth: e.survey.titleMaxWidth })
|
|
161
161
|
}, [
|
|
162
162
|
h(o, {
|
|
163
163
|
element: e.survey,
|
|
@@ -176,7 +176,7 @@ const je = /* @__PURE__ */ g({
|
|
|
176
176
|
key: 2,
|
|
177
177
|
data: e.survey.getElementWrapperComponentData(e.survey, "logo-image")
|
|
178
178
|
}, null, 8, ["data"])) : m("", !0),
|
|
179
|
-
|
|
179
|
+
v("div", {
|
|
180
180
|
class: l(e.survey.css.headerClose)
|
|
181
181
|
}, null, 2)
|
|
182
182
|
], 2)) : m("", !0);
|
|
@@ -233,28 +233,28 @@ const je = /* @__PURE__ */ g({
|
|
|
233
233
|
css: {}
|
|
234
234
|
},
|
|
235
235
|
setup(r) {
|
|
236
|
-
const s = r, n = $(null), e =
|
|
236
|
+
const s = r, n = $(null), e = I(() => s.element.showErrorOnTop), t = I(() => s.element.showErrorOnBottom), o = (f) => f.cssContent, a = () => s.element.getRootStyle();
|
|
237
237
|
B(() => s.element);
|
|
238
238
|
const c = () => {
|
|
239
239
|
n.value && s.element.afterRender(n.value);
|
|
240
|
-
},
|
|
240
|
+
}, p = K(
|
|
241
241
|
() => n.value,
|
|
242
242
|
() => {
|
|
243
243
|
c();
|
|
244
244
|
}
|
|
245
|
-
), d =
|
|
245
|
+
), d = I(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), C = I(() => s.element.survey.getQuestionContentWrapperComponentName(s.element)), k = I(() => ({
|
|
246
246
|
componentData: {
|
|
247
247
|
question: s.element,
|
|
248
248
|
data: s.element.survey.getElementWrapperComponentData(s.element)
|
|
249
249
|
}
|
|
250
250
|
}));
|
|
251
251
|
return O(() => {
|
|
252
|
-
|
|
252
|
+
p();
|
|
253
253
|
}), (f, _) => {
|
|
254
254
|
const b = y("survey-errors"), A = y("survey-element-header"), W = y("survey-string"), F = y("survey-question-comment");
|
|
255
255
|
return i(), u("div", {
|
|
256
256
|
class: l(f.element.getRootCss()),
|
|
257
|
-
style:
|
|
257
|
+
style: S(a()),
|
|
258
258
|
ref_key: "root",
|
|
259
259
|
ref: n,
|
|
260
260
|
onFocusin: _[0] || (_[0] = (J) => f.element.focusIn()),
|
|
@@ -279,9 +279,9 @@ const je = /* @__PURE__ */ g({
|
|
|
279
279
|
}, null, 8, ["element", "css"])) : m("", !0),
|
|
280
280
|
(i(), q(R(C.value), z(te(k.value)), {
|
|
281
281
|
default: V(() => [
|
|
282
|
-
|
|
282
|
+
v("div", {
|
|
283
283
|
class: l(o(f.element) || void 0),
|
|
284
|
-
style:
|
|
284
|
+
style: S({ display: f.element.renderedIsExpanded ? void 0 : "none" }),
|
|
285
285
|
role: "presentation"
|
|
286
286
|
}, [
|
|
287
287
|
e.value ? (i(), q(b, {
|
|
@@ -294,7 +294,7 @@ const je = /* @__PURE__ */ g({
|
|
|
294
294
|
key: 1,
|
|
295
295
|
class: l(f.element.getCommentAreaCss())
|
|
296
296
|
}, [
|
|
297
|
-
|
|
297
|
+
v("div", null, [
|
|
298
298
|
h(W, {
|
|
299
299
|
locString: f.element.locCommentText
|
|
300
300
|
}, null, 8, ["locString"])
|
|
@@ -344,11 +344,11 @@ const je = /* @__PURE__ */ g({
|
|
|
344
344
|
css: {}
|
|
345
345
|
},
|
|
346
346
|
setup(r) {
|
|
347
|
-
const s = r, n = $(null), e =
|
|
347
|
+
const s = r, n = $(null), e = I(() => s.element.survey);
|
|
348
348
|
return B(() => s.element), M(() => {
|
|
349
349
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, n.value);
|
|
350
350
|
}), (t, o) => {
|
|
351
|
-
const a = y("survey-errors"), c = y("survey-element-header"),
|
|
351
|
+
const a = y("survey-errors"), c = y("survey-element-header"), p = y("survey-row"), d = y("sv-action-bar");
|
|
352
352
|
return t.element.getIsContentVisible() ? (i(), u("div", {
|
|
353
353
|
key: 0,
|
|
354
354
|
class: l(t.element.getContainerCss()),
|
|
@@ -373,7 +373,7 @@ const je = /* @__PURE__ */ g({
|
|
|
373
373
|
t.element.renderedIsExpanded ? (i(), u("div", {
|
|
374
374
|
key: 3,
|
|
375
375
|
id: t.element.contentId,
|
|
376
|
-
style:
|
|
376
|
+
style: S({ paddingLeft: t.element.innerPaddingLeft }),
|
|
377
377
|
class: l(t.element.cssClasses.panel.content)
|
|
378
378
|
}, [
|
|
379
379
|
(i(!0), u(D, null, L(t.element.visibleRows, (C) => (i(), q(R(t.element.getSurvey().getRowWrapperComponentName(C)), z(H({
|
|
@@ -382,7 +382,7 @@ const je = /* @__PURE__ */ g({
|
|
|
382
382
|
componentData: t.element.getSurvey().getRowWrapperComponentData(C)
|
|
383
383
|
})), {
|
|
384
384
|
default: V(() => [
|
|
385
|
-
h(
|
|
385
|
+
h(p, {
|
|
386
386
|
row: C,
|
|
387
387
|
survey: e.value,
|
|
388
388
|
css: t.css
|
|
@@ -411,11 +411,11 @@ const je = /* @__PURE__ */ g({
|
|
|
411
411
|
return "titleWidth" in s.element && (t.width = s.element.titleWidth), t;
|
|
412
412
|
};
|
|
413
413
|
return (t, o) => {
|
|
414
|
-
const a = y("survey-element-title"), c = y("survey-string"),
|
|
414
|
+
const a = y("survey-element-title"), c = y("survey-string"), p = y("sv-action-bar");
|
|
415
415
|
return i(), u("div", {
|
|
416
416
|
class: l(t.element.cssHeader),
|
|
417
417
|
onClick: n,
|
|
418
|
-
style:
|
|
418
|
+
style: S(e())
|
|
419
419
|
}, [
|
|
420
420
|
h(a, {
|
|
421
421
|
element: t.element,
|
|
@@ -432,7 +432,7 @@ const je = /* @__PURE__ */ g({
|
|
|
432
432
|
], 10, ts)), [
|
|
433
433
|
[E, t.element.hasDescription]
|
|
434
434
|
]) : m("", !0),
|
|
435
|
-
t.element.hasAdditionalTitleToolbar ? (i(), q(
|
|
435
|
+
t.element.hasAdditionalTitleToolbar ? (i(), q(p, {
|
|
436
436
|
key: 1,
|
|
437
437
|
model: t.element.additionalTitleToolbar
|
|
438
438
|
}, null, 8, ["model"])) : m("", !0)
|
|
@@ -524,7 +524,7 @@ const je = /* @__PURE__ */ g({
|
|
|
524
524
|
ref: n
|
|
525
525
|
}, [
|
|
526
526
|
h(o, { question: e.question }, null, 8, ["question"]),
|
|
527
|
-
|
|
527
|
+
v("datalist", {
|
|
528
528
|
id: e.question.dataListId
|
|
529
529
|
}, [
|
|
530
530
|
(i(!0), u(D, null, L(e.question.dataList, (a) => (i(), u("option", { value: a }, null, 8, vs))), 256))
|
|
@@ -549,14 +549,14 @@ const je = /* @__PURE__ */ g({
|
|
|
549
549
|
n.getRef && n.getRef(a);
|
|
550
550
|
}, t = $(null);
|
|
551
551
|
s({ root: t }), B(() => n.question);
|
|
552
|
-
const o =
|
|
552
|
+
const o = I(() => n.question.inputStyle);
|
|
553
553
|
return (a, c) => {
|
|
554
|
-
const
|
|
554
|
+
const p = y("sv-character-counter");
|
|
555
555
|
return a.question.getMaxLength() ? (i(), u("div", {
|
|
556
556
|
key: 1,
|
|
557
557
|
ref: (d) => e(d)
|
|
558
558
|
}, [
|
|
559
|
-
|
|
559
|
+
v("input", {
|
|
560
560
|
disabled: a.question.isDisabledAttr,
|
|
561
561
|
readonly: a.question.isReadOnlyAttr,
|
|
562
562
|
class: l(a.question.getControlClass()),
|
|
@@ -566,7 +566,7 @@ const je = /* @__PURE__ */ g({
|
|
|
566
566
|
max: a.question.renderedMax,
|
|
567
567
|
step: a.question.renderedStep,
|
|
568
568
|
size: a.question.renderedInputSize,
|
|
569
|
-
style:
|
|
569
|
+
style: S(o.value),
|
|
570
570
|
id: a.question.inputId,
|
|
571
571
|
list: a.question.dataListId,
|
|
572
572
|
placeholder: a.question.renderedPlaceholder,
|
|
@@ -585,7 +585,7 @@ const je = /* @__PURE__ */ g({
|
|
|
585
585
|
"aria-invalid": a.question.a11y_input_ariaInvalid,
|
|
586
586
|
"aria-errormessage": a.question.a11y_input_ariaErrormessage
|
|
587
587
|
}, null, 46, gs),
|
|
588
|
-
h(
|
|
588
|
+
h(p, {
|
|
589
589
|
counter: a.question.characterCounter,
|
|
590
590
|
remainingCharacterCounter: a.question.cssClasses.remainingCharacterCounter
|
|
591
591
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
@@ -601,7 +601,7 @@ const je = /* @__PURE__ */ g({
|
|
|
601
601
|
max: a.question.renderedMax,
|
|
602
602
|
step: a.question.renderedStep,
|
|
603
603
|
size: a.question.renderedInputSize,
|
|
604
|
-
style:
|
|
604
|
+
style: S(o.value),
|
|
605
605
|
id: a.question.inputId,
|
|
606
606
|
list: a.question.dataListId,
|
|
607
607
|
placeholder: a.question.renderedPlaceholder,
|
|
@@ -658,43 +658,43 @@ const je = /* @__PURE__ */ g({
|
|
|
658
658
|
"aria-errormessage": o.question.a11y_input_ariaErrormessage
|
|
659
659
|
}, [
|
|
660
660
|
o.showLegend ? (i(), u("legend", bs, T(o.question.locTitle.renderedHtml), 1)) : m("", !0),
|
|
661
|
-
o.question.hasHeadItems ? (i(!0), u(D, { key: 1 }, L(o.question.headItems, (
|
|
662
|
-
key:
|
|
663
|
-
}, t(
|
|
664
|
-
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(D, { key: 2 }, L(o.question.bodyItems, (
|
|
665
|
-
key:
|
|
666
|
-
}, t(
|
|
661
|
+
o.question.hasHeadItems ? (i(!0), u(D, { key: 1 }, L(o.question.headItems, (p) => (i(), q(R(e(p)), H({
|
|
662
|
+
key: p.value
|
|
663
|
+
}, t(p)), null, 16))), 128)) : m("", !0),
|
|
664
|
+
!o.question.hasColumns && !o.question.blockedRow ? (i(!0), u(D, { key: 2 }, L(o.question.bodyItems, (p) => (i(), q(R(e(p)), H({
|
|
665
|
+
key: p.value
|
|
666
|
+
}, t(p)), null, 16))), 128)) : m("", !0),
|
|
667
667
|
o.question.blockedRow ? (i(), u("div", {
|
|
668
668
|
key: 3,
|
|
669
669
|
class: l(o.question.cssClasses.rootRow)
|
|
670
670
|
}, [
|
|
671
|
-
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(D, { key: 0 }, L(o.question.dataChoices, (
|
|
672
|
-
key:
|
|
673
|
-
}, t(
|
|
671
|
+
!o.question.hasColumns && o.question.blockedRow ? (i(!0), u(D, { key: 0 }, L(o.question.dataChoices, (p) => (i(), q(R(e(p)), H({
|
|
672
|
+
key: p.value
|
|
673
|
+
}, t(p)), null, 16))), 128)) : m("", !0)
|
|
674
674
|
], 2)) : m("", !0),
|
|
675
675
|
o.question.hasColumns ? (i(), u("div", {
|
|
676
676
|
key: 4,
|
|
677
677
|
class: l(o.question.cssClasses.rootMultiColumn)
|
|
678
678
|
}, [
|
|
679
|
-
o.question.hasColumns ? (i(!0), u(D, { key: 0 }, L(o.question.columns, (
|
|
679
|
+
o.question.hasColumns ? (i(!0), u(D, { key: 0 }, L(o.question.columns, (p, d) => (i(), u("div", {
|
|
680
680
|
key: d,
|
|
681
681
|
class: l(o.question.getColumnClass()),
|
|
682
682
|
role: "presentation"
|
|
683
683
|
}, [
|
|
684
|
-
(i(!0), u(D, null, L(
|
|
684
|
+
(i(!0), u(D, null, L(p, (C) => (i(), q(R(e(C)), H({
|
|
685
685
|
key: C.value
|
|
686
686
|
}, t(C)), null, 16))), 128))
|
|
687
687
|
], 2))), 128)) : m("", !0)
|
|
688
688
|
], 2)) : m("", !0),
|
|
689
|
-
o.question.hasFootItems ? (i(!0), u(D, { key: 5 }, L(o.question.footItems, (
|
|
690
|
-
key:
|
|
691
|
-
}, t(
|
|
689
|
+
o.question.hasFootItems ? (i(!0), u(D, { key: 5 }, L(o.question.footItems, (p) => (i(), q(R(e(p)), H({
|
|
690
|
+
key: p.value
|
|
691
|
+
}, t(p)), null, 16))), 128)) : m("", !0),
|
|
692
692
|
o.question.renderedValue && o.question.isOtherSelected ? (i(), q(c, {
|
|
693
693
|
key: 6,
|
|
694
694
|
question: o.question
|
|
695
695
|
}, null, 8, ["question"])) : m("", !0),
|
|
696
696
|
o.question.showClearButtonInContent ? (i(), u("div", ks, [
|
|
697
|
-
|
|
697
|
+
v("input", {
|
|
698
698
|
type: "button",
|
|
699
699
|
class: l(o.question.cssClasses.clearButton),
|
|
700
700
|
onClick: a[0] || (a[0] = () => {
|
|
@@ -738,10 +738,10 @@ const je = /* @__PURE__ */ g({
|
|
|
738
738
|
role: "presentation",
|
|
739
739
|
class: l(e.question.getItemClass(e.item))
|
|
740
740
|
}, [
|
|
741
|
-
|
|
741
|
+
v("label", {
|
|
742
742
|
class: l(e.question.getLabelClass(e.item))
|
|
743
743
|
}, [
|
|
744
|
-
|
|
744
|
+
v("input", {
|
|
745
745
|
type: "checkbox",
|
|
746
746
|
name: e.question.name + e.item.id,
|
|
747
747
|
checked: e.question.isItemSelected(e.item),
|
|
@@ -763,7 +763,7 @@ const je = /* @__PURE__ */ g({
|
|
|
763
763
|
key: 0,
|
|
764
764
|
class: l(e.question.cssClasses.itemDecorator)
|
|
765
765
|
}, [
|
|
766
|
-
|
|
766
|
+
v("use", {
|
|
767
767
|
"xlink:href": e.question.itemSvgIcon
|
|
768
768
|
}, null, 8, Ss)
|
|
769
769
|
], 2)) : m("", !0)
|
|
@@ -798,7 +798,7 @@ const je = /* @__PURE__ */ g({
|
|
|
798
798
|
hideLabel: { type: Boolean }
|
|
799
799
|
},
|
|
800
800
|
setup(r) {
|
|
801
|
-
const s = r, n = (o) => s.question.getLabelClass(o), e = (o) => s.question.getControlLabelClass(o), t =
|
|
801
|
+
const s = r, n = (o) => s.question.getLabelClass(o), e = (o) => s.question.getControlLabelClass(o), t = I({
|
|
802
802
|
get: () => s.question.renderedValue,
|
|
803
803
|
set: (o) => {
|
|
804
804
|
const a = s.question;
|
|
@@ -811,17 +811,17 @@ const je = /* @__PURE__ */ g({
|
|
|
811
811
|
role: "presentation",
|
|
812
812
|
class: l(o.question.getItemClass(o.item))
|
|
813
813
|
}, [
|
|
814
|
-
|
|
815
|
-
onMousedown: a[1] || (a[1] = (
|
|
814
|
+
v("label", {
|
|
815
|
+
onMousedown: a[1] || (a[1] = (p) => o.question.onMouseDown()),
|
|
816
816
|
class: l(n(o.item))
|
|
817
817
|
}, [
|
|
818
|
-
N(
|
|
818
|
+
N(v("input", {
|
|
819
819
|
type: "radio",
|
|
820
820
|
name: o.question.questionName,
|
|
821
821
|
value: o.item.value,
|
|
822
822
|
id: o.question.getItemId(o.item),
|
|
823
823
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
824
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
824
|
+
"onUpdate:modelValue": a[0] || (a[0] = (p) => t.value = p),
|
|
825
825
|
disabled: !o.question.getItemEnabled(o.item),
|
|
826
826
|
readonly: o.question.isReadOnlyAttr,
|
|
827
827
|
class: l(o.question.cssClasses.itemControl)
|
|
@@ -836,7 +836,7 @@ const je = /* @__PURE__ */ g({
|
|
|
836
836
|
key: 0,
|
|
837
837
|
class: l(o.question.cssClasses.itemDecorator)
|
|
838
838
|
}, [
|
|
839
|
-
|
|
839
|
+
v("use", {
|
|
840
840
|
"xlink:href": o.question.itemSvgIcon
|
|
841
841
|
}, null, 8, Ds)
|
|
842
842
|
], 2)) : m("", !0)
|
|
@@ -867,11 +867,11 @@ const je = /* @__PURE__ */ g({
|
|
|
867
867
|
class: l(e.question.cssClasses.root),
|
|
868
868
|
ref_key: "root",
|
|
869
869
|
ref: n,
|
|
870
|
-
style:
|
|
870
|
+
style: S({
|
|
871
871
|
width: e.question.renderedCanvasWidth
|
|
872
872
|
})
|
|
873
873
|
}, [
|
|
874
|
-
N(
|
|
874
|
+
N(v("div", {
|
|
875
875
|
class: l(e.question.cssClasses.placeholder)
|
|
876
876
|
}, [
|
|
877
877
|
h(o, {
|
|
@@ -880,26 +880,26 @@ const je = /* @__PURE__ */ g({
|
|
|
880
880
|
], 2), [
|
|
881
881
|
[E, e.question.needShowPlaceholder()]
|
|
882
882
|
]),
|
|
883
|
-
|
|
883
|
+
v("div", null, [
|
|
884
884
|
e.question.backgroundImage ? (i(), u("img", {
|
|
885
885
|
key: 0,
|
|
886
886
|
class: l(e.question.cssClasses.backgroundImage),
|
|
887
887
|
src: e.question.backgroundImage,
|
|
888
|
-
style:
|
|
888
|
+
style: S({
|
|
889
889
|
width: e.question.renderedCanvasWidth
|
|
890
890
|
})
|
|
891
891
|
}, null, 14, Bs)) : m("", !0),
|
|
892
|
-
|
|
892
|
+
v("canvas", {
|
|
893
893
|
tabindex: "-1",
|
|
894
894
|
class: l(e.question.cssClasses.canvas),
|
|
895
|
-
onBlur: t[0] || (t[0] = (...
|
|
895
|
+
onBlur: t[0] || (t[0] = (...p) => e.question.onBlur && e.question.onBlur(...p))
|
|
896
896
|
}, null, 34)
|
|
897
897
|
]),
|
|
898
898
|
e.question.canShowClearButton ? (i(), u("div", {
|
|
899
899
|
key: 0,
|
|
900
900
|
class: l(e.question.cssClasses.controls)
|
|
901
901
|
}, [
|
|
902
|
-
|
|
902
|
+
v("button", {
|
|
903
903
|
type: "button",
|
|
904
904
|
class: l(e.question.cssClasses.clearButton),
|
|
905
905
|
title: e.question.clearButtonCaption,
|
|
@@ -965,7 +965,7 @@ const je = /* @__PURE__ */ g({
|
|
|
965
965
|
alt: t.question.altText || t.question.title,
|
|
966
966
|
width: t.question.renderedWidth,
|
|
967
967
|
height: t.question.renderedHeight,
|
|
968
|
-
style:
|
|
968
|
+
style: S({
|
|
969
969
|
objectFit: t.question.imageFit,
|
|
970
970
|
width: t.question.renderedStyleWidth,
|
|
971
971
|
height: t.question.renderedStyleHeight
|
|
@@ -986,7 +986,7 @@ const je = /* @__PURE__ */ g({
|
|
|
986
986
|
src: w(e),
|
|
987
987
|
width: t.question.renderedWidth,
|
|
988
988
|
height: t.question.renderedHeight,
|
|
989
|
-
style:
|
|
989
|
+
style: S({
|
|
990
990
|
objectFit: t.question.imageFit,
|
|
991
991
|
width: t.question.renderedStyleWidth,
|
|
992
992
|
height: t.question.renderedStyleHeight
|
|
@@ -1006,7 +1006,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1006
1006
|
src: w(e),
|
|
1007
1007
|
width: t.question.renderedWidth,
|
|
1008
1008
|
height: t.question.renderedHeight,
|
|
1009
|
-
style:
|
|
1009
|
+
style: S({
|
|
1010
1010
|
objectFit: t.question.imageFit,
|
|
1011
1011
|
width: t.question.renderedStyleWidth,
|
|
1012
1012
|
height: t.question.renderedStyleHeight
|
|
@@ -1047,7 +1047,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1047
1047
|
setup(r) {
|
|
1048
1048
|
const s = r, n = $(null);
|
|
1049
1049
|
return P(s, n), (e, t) => {
|
|
1050
|
-
const o = y("survey-string"), a = y("sv-file-choose-btn"), c = y("sv-action-bar"),
|
|
1050
|
+
const o = y("survey-string"), a = y("sv-file-choose-btn"), c = y("sv-action-bar"), p = y("sv-file-clean-btn"), d = y("sv-loading-indicator"), C = y("sv-file-video"), k = y("sv-file-preview");
|
|
1051
1051
|
return i(), u("div", {
|
|
1052
1052
|
class: l(e.question.fileRootCss),
|
|
1053
1053
|
ref_key: "root",
|
|
@@ -1088,7 +1088,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1088
1088
|
placeholder: e.question.title,
|
|
1089
1089
|
style: { color: "transparent" }
|
|
1090
1090
|
}, null, 10, Us)) : m("", !0),
|
|
1091
|
-
|
|
1091
|
+
v("div", {
|
|
1092
1092
|
class: l(e.question.cssClasses.dragArea),
|
|
1093
1093
|
onDrop: t[0] || (t[0] = (...f) => e.question.onDrop && e.question.onDrop(...f)),
|
|
1094
1094
|
onDragover: t[1] || (t[1] = (...f) => e.question.onDragOver && e.question.onDragOver(...f)),
|
|
@@ -1099,14 +1099,14 @@ const je = /* @__PURE__ */ g({
|
|
|
1099
1099
|
key: 0,
|
|
1100
1100
|
class: l(e.question.getFileDecoratorCss())
|
|
1101
1101
|
}, [
|
|
1102
|
-
|
|
1102
|
+
v("span", {
|
|
1103
1103
|
class: l(e.question.cssClasses.dragAreaPlaceholder)
|
|
1104
1104
|
}, [
|
|
1105
1105
|
h(o, {
|
|
1106
1106
|
locString: e.question.locRenderedPlaceholder
|
|
1107
1107
|
}, null, 8, ["locString"])
|
|
1108
1108
|
], 2),
|
|
1109
|
-
|
|
1109
|
+
v("div", {
|
|
1110
1110
|
class: l(e.question.cssClasses.wrapper)
|
|
1111
1111
|
}, [
|
|
1112
1112
|
e.question.showChooseButton ? (i(), q(a, {
|
|
@@ -1123,7 +1123,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1123
1123
|
}, T(e.question.noFileChosenCaption), 3)) : m("", !0)
|
|
1124
1124
|
], 2)
|
|
1125
1125
|
], 2)) : m("", !0),
|
|
1126
|
-
e.question.showRemoveButton ? (i(), q(
|
|
1126
|
+
e.question.showRemoveButton ? (i(), q(p, {
|
|
1127
1127
|
key: 1,
|
|
1128
1128
|
question: e.question,
|
|
1129
1129
|
css: e.question.showRemoveButton
|
|
@@ -1142,7 +1142,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1142
1142
|
key: 4,
|
|
1143
1143
|
question: e.question
|
|
1144
1144
|
}, null, 8, ["question"])) : m("", !0),
|
|
1145
|
-
e.question.showRemoveButtonBottom ? (i(), q(
|
|
1145
|
+
e.question.showRemoveButtonBottom ? (i(), q(p, {
|
|
1146
1146
|
key: 5,
|
|
1147
1147
|
question: e.question,
|
|
1148
1148
|
css: e.question.showRemoveButtonBottom
|
|
@@ -1177,13 +1177,13 @@ const je = /* @__PURE__ */ g({
|
|
|
1177
1177
|
ref_key: "root",
|
|
1178
1178
|
ref: n
|
|
1179
1179
|
}, [
|
|
1180
|
-
|
|
1180
|
+
v("legend", Qs, T(o.question.locTitle.renderedHtml), 1),
|
|
1181
1181
|
o.question.hasColumns ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.visibleChoices, (c) => (i(), q(R(e(c)), H({
|
|
1182
1182
|
key: c.value
|
|
1183
1183
|
}, t(c)), null, 16))), 128)),
|
|
1184
|
-
o.question.hasColumns ? (i(!0), u(D, { key: 1 }, L(o.question.columns, (c,
|
|
1184
|
+
o.question.hasColumns ? (i(!0), u(D, { key: 1 }, L(o.question.columns, (c, p) => (i(), u("div", {
|
|
1185
1185
|
class: l(o.question.getColumnClass()),
|
|
1186
|
-
key:
|
|
1186
|
+
key: p,
|
|
1187
1187
|
role: "presentation"
|
|
1188
1188
|
}, [
|
|
1189
1189
|
(i(!0), u(D, null, L(c, (d) => (i(), q(R(e(d)), H({
|
|
@@ -1200,7 +1200,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1200
1200
|
item: {}
|
|
1201
1201
|
},
|
|
1202
1202
|
setup(r) {
|
|
1203
|
-
const s = r, n = (o) => s.question.getItemClass(o), e =
|
|
1203
|
+
const s = r, n = (o) => s.question.getItemClass(o), e = I({
|
|
1204
1204
|
get() {
|
|
1205
1205
|
return s.question.value;
|
|
1206
1206
|
},
|
|
@@ -1212,11 +1212,11 @@ const je = /* @__PURE__ */ g({
|
|
|
1212
1212
|
B(() => s.item);
|
|
1213
1213
|
const t = G(() => s.item.locImageLink);
|
|
1214
1214
|
return (o, a) => {
|
|
1215
|
-
const c = y("sv-svg-icon"),
|
|
1215
|
+
const c = y("sv-svg-icon"), p = y("survey-string");
|
|
1216
1216
|
return i(), u("div", {
|
|
1217
1217
|
class: l(n(o.item))
|
|
1218
1218
|
}, [
|
|
1219
|
-
|
|
1219
|
+
v("label", {
|
|
1220
1220
|
class: l(o.question.cssClasses.label)
|
|
1221
1221
|
}, [
|
|
1222
1222
|
o.question.multiSelect ? N((i(), u("input", {
|
|
@@ -1252,10 +1252,10 @@ const je = /* @__PURE__ */ g({
|
|
|
1252
1252
|
}, null, 10, Js)), [
|
|
1253
1253
|
[ee, e.value]
|
|
1254
1254
|
]),
|
|
1255
|
-
|
|
1255
|
+
v("div", {
|
|
1256
1256
|
class: l(o.question.cssClasses.itemDecorator)
|
|
1257
1257
|
}, [
|
|
1258
|
-
|
|
1258
|
+
v("div", {
|
|
1259
1259
|
class: l(o.question.cssClasses.imageContainer)
|
|
1260
1260
|
}, [
|
|
1261
1261
|
o.question.cssClasses.checkedItemDecorator ? (i(), u("span", {
|
|
@@ -1275,7 +1275,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1275
1275
|
src: w(t),
|
|
1276
1276
|
width: o.question.renderedImageWidth,
|
|
1277
1277
|
height: o.question.renderedImageHeight,
|
|
1278
|
-
style:
|
|
1278
|
+
style: S({ objectFit: o.question.imageFit }),
|
|
1279
1279
|
alt: o.item.locText.renderedHtml,
|
|
1280
1280
|
onLoad: a[2] || (a[2] = (d) => {
|
|
1281
1281
|
o.question.onContentLoaded(o.item, d);
|
|
@@ -1291,7 +1291,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1291
1291
|
src: w(t),
|
|
1292
1292
|
width: o.question.renderedImageWidth,
|
|
1293
1293
|
height: o.question.renderedImageHeight,
|
|
1294
|
-
style:
|
|
1294
|
+
style: S({ objectFit: o.question.imageFit }),
|
|
1295
1295
|
onLoadedmetadata: a[4] || (a[4] = (d) => {
|
|
1296
1296
|
o.question.onContentLoaded(o.item, d);
|
|
1297
1297
|
}),
|
|
@@ -1302,7 +1302,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1302
1302
|
!w(t) || o.item.contentNotLoaded ? (i(), u("div", {
|
|
1303
1303
|
key: 3,
|
|
1304
1304
|
class: l(o.question.cssClasses.itemNoImage),
|
|
1305
|
-
style:
|
|
1305
|
+
style: S({
|
|
1306
1306
|
width: o.question.renderedImageWidth + "px",
|
|
1307
1307
|
height: o.question.renderedImageHeight + "px",
|
|
1308
1308
|
objectFit: o.question.imageFit
|
|
@@ -1319,7 +1319,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1319
1319
|
key: 0,
|
|
1320
1320
|
class: l(o.question.cssClasses.itemText)
|
|
1321
1321
|
}, [
|
|
1322
|
-
h(
|
|
1322
|
+
h(p, {
|
|
1323
1323
|
locString: o.item.locText
|
|
1324
1324
|
}, null, 8, ["locString"])
|
|
1325
1325
|
], 2)) : m("", !0)
|
|
@@ -1376,13 +1376,13 @@ const je = /* @__PURE__ */ g({
|
|
|
1376
1376
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
1377
1377
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
1378
1378
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage,
|
|
1379
|
-
style:
|
|
1379
|
+
style: S({ resize: t.question.resizeStyle })
|
|
1380
1380
|
}, null, 46, xs)) : !t.question.isReadOnlyRenderDiv() && t.question.getMaxLength() ? (i(), u("div", {
|
|
1381
1381
|
key: 1,
|
|
1382
1382
|
ref_key: "root",
|
|
1383
1383
|
ref: n
|
|
1384
1384
|
}, [
|
|
1385
|
-
|
|
1385
|
+
v("textarea", {
|
|
1386
1386
|
readonly: t.question.isReadOnlyAttr,
|
|
1387
1387
|
disabled: t.question.isDisabledAttr,
|
|
1388
1388
|
value: t.question.value,
|
|
@@ -1411,7 +1411,7 @@ const je = /* @__PURE__ */ g({
|
|
|
1411
1411
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy,
|
|
1412
1412
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
1413
1413
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage,
|
|
1414
|
-
style:
|
|
1414
|
+
style: S({ resize: t.question.resizeStyle })
|
|
1415
1415
|
}, null, 46, en),
|
|
1416
1416
|
h(a, {
|
|
1417
1417
|
counter: t.question.characterCounter,
|
|
@@ -1469,7 +1469,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1469
1469
|
s.question.onClick(a);
|
|
1470
1470
|
}, t = (a) => {
|
|
1471
1471
|
s.question.onKeyUp(a);
|
|
1472
|
-
}, o =
|
|
1472
|
+
}, o = I({
|
|
1473
1473
|
get() {
|
|
1474
1474
|
var a;
|
|
1475
1475
|
return (a = s.question.value) != null ? a : "";
|
|
@@ -1480,13 +1480,13 @@ const ln = /* @__PURE__ */ g({
|
|
|
1480
1480
|
}
|
|
1481
1481
|
});
|
|
1482
1482
|
return (a, c) => {
|
|
1483
|
-
const
|
|
1483
|
+
const p = y("sv-dropdown-option-item"), d = y("sv-svg-icon"), C = y("survey-other-choice");
|
|
1484
1484
|
return i(), u("div", {
|
|
1485
1485
|
class: l(a.question.renderCssRoot),
|
|
1486
1486
|
ref_key: "root",
|
|
1487
1487
|
ref: n
|
|
1488
1488
|
}, [
|
|
1489
|
-
|
|
1489
|
+
v("div", {
|
|
1490
1490
|
class: l(a.question.cssClasses.selectWrapper)
|
|
1491
1491
|
}, [
|
|
1492
1492
|
a.question.isReadOnly ? (i(), u("div", {
|
|
@@ -1509,7 +1509,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1509
1509
|
required: a.question.isRequired
|
|
1510
1510
|
}, [
|
|
1511
1511
|
a.question.allowClear ? (i(), u("option", tn, T(a.question.placeholder), 1)) : m("", !0),
|
|
1512
|
-
(i(!0), u(D, null, L(a.question.visibleChoices, (k) => (i(), q(
|
|
1512
|
+
(i(!0), u(D, null, L(a.question.visibleChoices, (k) => (i(), q(p, {
|
|
1513
1513
|
item: k,
|
|
1514
1514
|
key: k.id
|
|
1515
1515
|
}, null, 8, ["item"]))), 128))
|
|
@@ -1552,7 +1552,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1552
1552
|
question: {}
|
|
1553
1553
|
},
|
|
1554
1554
|
setup(r) {
|
|
1555
|
-
const s = r, n = $(null), e =
|
|
1555
|
+
const s = r, n = $(null), e = I(() => s.question.dropdownListModel), t = (b) => {
|
|
1556
1556
|
var A;
|
|
1557
1557
|
(A = e.value) == null || A.onClick(b);
|
|
1558
1558
|
}, o = (b) => {
|
|
@@ -1564,21 +1564,21 @@ const ln = /* @__PURE__ */ g({
|
|
|
1564
1564
|
}, c = (b) => {
|
|
1565
1565
|
var A;
|
|
1566
1566
|
(A = e.value) == null || A.keyHandler(b);
|
|
1567
|
-
},
|
|
1567
|
+
}, p = () => {
|
|
1568
1568
|
if (n.value) {
|
|
1569
1569
|
const b = n.value, A = e.value.inputStringRendered;
|
|
1570
1570
|
Be.isTwoValueEquals(A, b.value, !1, !0, !1) || (b.value = e.value.inputStringRendered);
|
|
1571
1571
|
}
|
|
1572
1572
|
}, d = (b) => {
|
|
1573
|
-
s.question.onBlur(b),
|
|
1573
|
+
s.question.onBlur(b), p();
|
|
1574
1574
|
}, C = (b) => {
|
|
1575
1575
|
s.question.onFocus(b);
|
|
1576
1576
|
}, k = (b) => {
|
|
1577
1577
|
e.value.inputStringRendered = b.target.value;
|
|
1578
|
-
}, f =
|
|
1578
|
+
}, f = I(
|
|
1579
1579
|
() => s.question.showSelectedItemLocText
|
|
1580
|
-
), _ =
|
|
1581
|
-
return B(() => e.value), x(
|
|
1580
|
+
), _ = I(() => s.question.selectedItemLocText);
|
|
1581
|
+
return B(() => e.value), x(p), M(p), (b, A) => {
|
|
1582
1582
|
const W = y("survey-string"), F = y("sv-svg-icon"), J = y("sv-popup");
|
|
1583
1583
|
return i(), u("div", {
|
|
1584
1584
|
class: l(b.question.cssClasses.selectWrapper),
|
|
@@ -1606,9 +1606,9 @@ const ln = /* @__PURE__ */ g({
|
|
|
1606
1606
|
key: 0,
|
|
1607
1607
|
class: l(b.question.cssClasses.hintPrefix)
|
|
1608
1608
|
}, [
|
|
1609
|
-
|
|
1609
|
+
v("span", null, T(e.value.hintStringPrefix), 1)
|
|
1610
1610
|
], 2)) : m("", !0),
|
|
1611
|
-
|
|
1611
|
+
v("div", {
|
|
1612
1612
|
class: l(b.question.cssClasses.controlValue)
|
|
1613
1613
|
}, [
|
|
1614
1614
|
f.value ? (i(), q(W, {
|
|
@@ -1619,15 +1619,15 @@ const ln = /* @__PURE__ */ g({
|
|
|
1619
1619
|
key: 1,
|
|
1620
1620
|
class: l(b.question.cssClasses.hintSuffix)
|
|
1621
1621
|
}, [
|
|
1622
|
-
|
|
1623
|
-
|
|
1622
|
+
v("span", mn, T(e.value.inputStringRendered), 1),
|
|
1623
|
+
v("span", null, T(e.value.hintStringSuffix), 1)
|
|
1624
1624
|
], 2)) : m("", !0),
|
|
1625
1625
|
b.question.showInputFieldComponent ? (i(), q(R(b.question.inputFieldComponentName), {
|
|
1626
1626
|
key: 2,
|
|
1627
1627
|
item: e.value.getSelectedAction(),
|
|
1628
1628
|
question: b.question
|
|
1629
1629
|
}, null, 8, ["item", "question"])) : m("", !0),
|
|
1630
|
-
|
|
1630
|
+
v("input", {
|
|
1631
1631
|
type: "text",
|
|
1632
1632
|
ref_key: "inputElement",
|
|
1633
1633
|
ref: n,
|
|
@@ -1680,7 +1680,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1680
1680
|
key: 0,
|
|
1681
1681
|
locString: b.question.selectedItemLocText
|
|
1682
1682
|
}, null, 8, ["locString"])) : m("", !0),
|
|
1683
|
-
|
|
1683
|
+
v("div", null, T(b.question.readOnlyText), 1)
|
|
1684
1684
|
], 10, pn)) : (i(), q(J, {
|
|
1685
1685
|
key: 1,
|
|
1686
1686
|
model: b.question.dropdownListModel.popupModel
|
|
@@ -1729,7 +1729,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1729
1729
|
question: {}
|
|
1730
1730
|
},
|
|
1731
1731
|
setup(r) {
|
|
1732
|
-
const s = r, n =
|
|
1732
|
+
const s = r, n = I(() => {
|
|
1733
1733
|
const d = s.question;
|
|
1734
1734
|
return d.dropdownListModel || (d.dropdownListModel = new Le(d)), s.question.dropdownListModel;
|
|
1735
1735
|
}), e = (d) => {
|
|
@@ -1747,7 +1747,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1747
1747
|
}, c = (d) => {
|
|
1748
1748
|
var C;
|
|
1749
1749
|
(C = n.value) == null || C.onBlur(d);
|
|
1750
|
-
},
|
|
1750
|
+
}, p = ne(() => s.question.selectedChoices);
|
|
1751
1751
|
return B(() => n.value), (d, C) => {
|
|
1752
1752
|
const k = y("sv-tagbox-item"), f = y("sv-tagbox-filter"), _ = y("sv-svg-icon"), b = y("sv-popup"), A = y("survey-string");
|
|
1753
1753
|
return i(), u("div", {
|
|
@@ -1772,10 +1772,10 @@ const ln = /* @__PURE__ */ g({
|
|
|
1772
1772
|
"aria-activedescendant": n.value.ariaActivedescendant,
|
|
1773
1773
|
required: d.question.isRequired ? !0 : null
|
|
1774
1774
|
}, [
|
|
1775
|
-
|
|
1775
|
+
v("div", {
|
|
1776
1776
|
class: l(d.question.cssClasses.controlValue)
|
|
1777
1777
|
}, [
|
|
1778
|
-
(i(!0), u(D, null, L(w(
|
|
1778
|
+
(i(!0), u(D, null, L(w(p), (W, F) => (i(), q(k, {
|
|
1779
1779
|
item: W,
|
|
1780
1780
|
question: d.question,
|
|
1781
1781
|
key: "item" + F
|
|
@@ -1851,7 +1851,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
1851
1851
|
s.model.onFocus(a);
|
|
1852
1852
|
};
|
|
1853
1853
|
return B(() => s.model), (a, c) => {
|
|
1854
|
-
const
|
|
1854
|
+
const p = y("survey-string");
|
|
1855
1855
|
return i(), u("div", {
|
|
1856
1856
|
class: l(a.question.cssClasses.hint)
|
|
1857
1857
|
}, [
|
|
@@ -1859,12 +1859,12 @@ const ln = /* @__PURE__ */ g({
|
|
|
1859
1859
|
key: 0,
|
|
1860
1860
|
class: l(a.question.cssClasses.hintPrefix)
|
|
1861
1861
|
}, [
|
|
1862
|
-
|
|
1862
|
+
v("span", null, T(a.model.hintStringPrefix), 1)
|
|
1863
1863
|
], 2)) : m("", !0),
|
|
1864
|
-
|
|
1864
|
+
v("div", {
|
|
1865
1865
|
class: l(a.question.cssClasses.hintSuffixWrapper)
|
|
1866
1866
|
}, [
|
|
1867
|
-
a.question.showSelectedItemLocText ? (i(), q(
|
|
1867
|
+
a.question.showSelectedItemLocText ? (i(), q(p, {
|
|
1868
1868
|
key: 0,
|
|
1869
1869
|
locString: a.question.selectedItemLocText
|
|
1870
1870
|
}, null, 8, ["locString"])) : m("", !0),
|
|
@@ -1872,10 +1872,10 @@ const ln = /* @__PURE__ */ g({
|
|
|
1872
1872
|
key: 1,
|
|
1873
1873
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1874
1874
|
}, [
|
|
1875
|
-
|
|
1876
|
-
|
|
1875
|
+
v("span", Cn, T(a.model.inputStringRendered), 1),
|
|
1876
|
+
v("span", null, T(a.model.hintStringSuffix), 1)
|
|
1877
1877
|
], 2)) : m("", !0),
|
|
1878
|
-
N(
|
|
1878
|
+
N(v("input", {
|
|
1879
1879
|
type: "text",
|
|
1880
1880
|
autocomplete: "off",
|
|
1881
1881
|
"onUpdate:modelValue": c[0] || (c[0] = (d) => a.model.inputStringRendered = d),
|
|
@@ -1920,12 +1920,12 @@ const ln = /* @__PURE__ */ g({
|
|
|
1920
1920
|
class: "sv-tagbox__item",
|
|
1921
1921
|
key: e.item.key
|
|
1922
1922
|
}, [
|
|
1923
|
-
|
|
1923
|
+
v("div", fn, [
|
|
1924
1924
|
h(o, {
|
|
1925
1925
|
locString: e.item.locText
|
|
1926
1926
|
}, null, 8, ["locString"])
|
|
1927
1927
|
]),
|
|
1928
|
-
|
|
1928
|
+
v("div", {
|
|
1929
1929
|
class: l(e.question.cssClasses.cleanItemButton),
|
|
1930
1930
|
onClick: n
|
|
1931
1931
|
}, [
|
|
@@ -1964,17 +1964,17 @@ const ln = /* @__PURE__ */ g({
|
|
|
1964
1964
|
ref_key: "root",
|
|
1965
1965
|
ref: n
|
|
1966
1966
|
}, [
|
|
1967
|
-
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.renderedRankingChoices, (
|
|
1968
|
-
key:
|
|
1969
|
-
}, t(
|
|
1967
|
+
o.question.selectToRankEnabled ? m("", !0) : (i(!0), u(D, { key: 0 }, L(o.question.renderedRankingChoices, (p, d) => (i(), q(R(e(p)), H({
|
|
1968
|
+
key: p.value + "-" + d + "-item"
|
|
1969
|
+
}, t(p, d)), null, 16))), 128)),
|
|
1970
1970
|
o.question.selectToRankEnabled ? (i(), u("div", {
|
|
1971
1971
|
key: 1,
|
|
1972
1972
|
class: l(o.question.getContainerClasses("from")),
|
|
1973
1973
|
"data-ranking": "from-container"
|
|
1974
1974
|
}, [
|
|
1975
|
-
(i(!0), u(D, null, L(o.question.renderedUnRankingChoices, (
|
|
1976
|
-
key:
|
|
1977
|
-
}, t(
|
|
1975
|
+
(i(!0), u(D, null, L(o.question.renderedUnRankingChoices, (p, d) => (i(), q(R(e(p)), H({
|
|
1976
|
+
key: p.value + "-" + d + "-item"
|
|
1977
|
+
}, t(p, d, !0)), null, 16))), 128)),
|
|
1978
1978
|
o.question.renderedUnRankingChoices.length === 0 ? (i(), u("div", {
|
|
1979
1979
|
key: 0,
|
|
1980
1980
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
@@ -1993,9 +1993,9 @@ const ln = /* @__PURE__ */ g({
|
|
|
1993
1993
|
class: l(o.question.getContainerClasses("to")),
|
|
1994
1994
|
"data-ranking": "to-container"
|
|
1995
1995
|
}, [
|
|
1996
|
-
(i(!0), u(D, null, L(o.question.renderedRankingChoices, (
|
|
1997
|
-
key:
|
|
1998
|
-
}, t(
|
|
1996
|
+
(i(!0), u(D, null, L(o.question.renderedRankingChoices, (p, d) => (i(), q(R(e(p)), H({
|
|
1997
|
+
key: p.value + "-" + d + "-item"
|
|
1998
|
+
}, t(p, d)), null, 16))), 128)),
|
|
1999
1999
|
o.question.renderedRankingChoices.length === 0 ? (i(), u("div", {
|
|
2000
2000
|
key: 0,
|
|
2001
2001
|
class: l(o.question.cssClasses.containerPlaceholder)
|
|
@@ -2021,7 +2021,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2021
2021
|
unrankedItem: { type: Boolean }
|
|
2022
2022
|
},
|
|
2023
2023
|
setup(r) {
|
|
2024
|
-
const s = r, n =
|
|
2024
|
+
const s = r, n = I(() => s.question.getNumberByIndex(s.index));
|
|
2025
2025
|
return B(() => s.item), (e, t) => (i(), u("div", {
|
|
2026
2026
|
tabindex: e.question.getItemTabIndex(e.item),
|
|
2027
2027
|
"data-sv-drop-target-ranking-item": e.index,
|
|
@@ -2046,27 +2046,27 @@ const ln = /* @__PURE__ */ g({
|
|
|
2046
2046
|
);
|
|
2047
2047
|
})
|
|
2048
2048
|
}, [
|
|
2049
|
-
|
|
2050
|
-
|
|
2049
|
+
v("div", Rn, [
|
|
2050
|
+
v("div", {
|
|
2051
2051
|
class: l(e.question.cssClasses.itemGhostNode)
|
|
2052
2052
|
}, null, 2),
|
|
2053
|
-
|
|
2053
|
+
v("div", {
|
|
2054
2054
|
class: l(e.question.cssClasses.itemContent)
|
|
2055
2055
|
}, [
|
|
2056
|
-
|
|
2056
|
+
v("div", {
|
|
2057
2057
|
class: l(e.question.cssClasses.itemIconContainer)
|
|
2058
2058
|
}, [
|
|
2059
2059
|
(i(), u("svg", {
|
|
2060
2060
|
class: l(e.question.getIconHoverCss())
|
|
2061
2061
|
}, [
|
|
2062
|
-
|
|
2062
|
+
v("use", {
|
|
2063
2063
|
"xlink:href": e.question.dragDropSvgIcon
|
|
2064
2064
|
}, null, 8, Tn)
|
|
2065
2065
|
], 2)),
|
|
2066
2066
|
(i(), u("svg", {
|
|
2067
2067
|
class: l(e.question.getIconFocusCss())
|
|
2068
2068
|
}, [
|
|
2069
|
-
|
|
2069
|
+
v("use", {
|
|
2070
2070
|
"xlink:href": e.question.arrowsSvgIcon
|
|
2071
2071
|
}, null, 8, $n)
|
|
2072
2072
|
], 2))
|
|
@@ -2079,7 +2079,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2079
2079
|
class: l(e.question.getItemIndexClasses(e.item))
|
|
2080
2080
|
}, [
|
|
2081
2081
|
(i(), u("svg", null, [
|
|
2082
|
-
|
|
2082
|
+
v("use", {
|
|
2083
2083
|
"xlink:href": e.question.dashSvgIcon
|
|
2084
2084
|
}, null, 8, Dn)
|
|
2085
2085
|
]))
|
|
@@ -2111,7 +2111,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2111
2111
|
], 2);
|
|
2112
2112
|
};
|
|
2113
2113
|
}
|
|
2114
|
-
}), Ln = { role: "radiogroup" }, An = /* @__PURE__ */
|
|
2114
|
+
}), Ln = { role: "radiogroup" }, An = /* @__PURE__ */ v("legend", {
|
|
2115
2115
|
role: "presentation",
|
|
2116
2116
|
class: "sv-hidden"
|
|
2117
2117
|
}, null, -1), Nn = /* @__PURE__ */ g({
|
|
@@ -2131,7 +2131,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2131
2131
|
ref_key: "root",
|
|
2132
2132
|
ref: n
|
|
2133
2133
|
}, [
|
|
2134
|
-
|
|
2134
|
+
v("fieldset", Ln, [
|
|
2135
2135
|
An,
|
|
2136
2136
|
t.question.hasMinLabel ? (i(), u("span", {
|
|
2137
2137
|
key: 0,
|
|
@@ -2141,10 +2141,10 @@ const ln = /* @__PURE__ */ g({
|
|
|
2141
2141
|
locString: t.question.locMinRateDescription
|
|
2142
2142
|
}, null, 8, ["locString"])
|
|
2143
2143
|
], 2)) : m("", !0),
|
|
2144
|
-
(i(!0), u(D, null, L(t.question.renderedRateItems, (c,
|
|
2145
|
-
key: e(
|
|
2144
|
+
(i(!0), u(D, null, L(t.question.renderedRateItems, (c, p) => (i(), q(R(t.question.itemComponent), {
|
|
2145
|
+
key: e(p),
|
|
2146
2146
|
item: c,
|
|
2147
|
-
index:
|
|
2147
|
+
index: p,
|
|
2148
2148
|
question: t.question
|
|
2149
2149
|
}, null, 8, ["item", "index", "question"]))), 128)),
|
|
2150
2150
|
t.question.hasMaxLabel ? (i(), u("span", {
|
|
@@ -2175,7 +2175,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2175
2175
|
onMousedown: e[1] || (e[1] = (o) => n.question.onMouseDown()),
|
|
2176
2176
|
class: l(n.question.getItemClassByText(n.item.itemValue, n.item.text))
|
|
2177
2177
|
}, [
|
|
2178
|
-
|
|
2178
|
+
v("input", {
|
|
2179
2179
|
type: "radio",
|
|
2180
2180
|
class: "sv-visuallyhidden",
|
|
2181
2181
|
name: n.question.questionName,
|
|
@@ -2189,7 +2189,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2189
2189
|
"aria-invalid": n.question.ariaInvalid,
|
|
2190
2190
|
"aria-errormessage": n.question.ariaErrormessage
|
|
2191
2191
|
}, null, 8, Pn),
|
|
2192
|
-
|
|
2192
|
+
v("span", {
|
|
2193
2193
|
class: l(n.question.cssClasses.itemText),
|
|
2194
2194
|
"data-text": n.item.text
|
|
2195
2195
|
}, [
|
|
@@ -2214,12 +2214,12 @@ const ln = /* @__PURE__ */ g({
|
|
|
2214
2214
|
return i(), u("label", {
|
|
2215
2215
|
key: n.item.value,
|
|
2216
2216
|
onMousedown: e[1] || (e[1] = (o) => n.question.onMouseDown()),
|
|
2217
|
-
style:
|
|
2217
|
+
style: S(n.question.getItemStyle(n.item.itemValue, n.item.highlight)),
|
|
2218
2218
|
class: l(n.question.getItemClass(n.item.itemValue, n.item.highlight)),
|
|
2219
2219
|
onMouseover: e[2] || (e[2] = (o) => n.question.onItemMouseIn(n.item)),
|
|
2220
2220
|
onMouseleave: e[3] || (e[3] = (o) => n.question.onItemMouseOut(n.item))
|
|
2221
2221
|
}, [
|
|
2222
|
-
|
|
2222
|
+
v("input", {
|
|
2223
2223
|
type: "radio",
|
|
2224
2224
|
class: "sv-visuallyhidden",
|
|
2225
2225
|
name: n.question.questionName,
|
|
@@ -2259,7 +2259,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2259
2259
|
onMouseover: e[2] || (e[2] = (o) => n.question.onItemMouseIn(n.item)),
|
|
2260
2260
|
onMouseleave: e[3] || (e[3] = (o) => n.question.onItemMouseOut(n.item))
|
|
2261
2261
|
}, [
|
|
2262
|
-
|
|
2262
|
+
v("input", {
|
|
2263
2263
|
type: "radio",
|
|
2264
2264
|
class: "sv-visuallyhidden",
|
|
2265
2265
|
name: n.question.questionName,
|
|
@@ -2301,7 +2301,7 @@ const ln = /* @__PURE__ */ g({
|
|
|
2301
2301
|
return B(() => s.item), (n, e) => {
|
|
2302
2302
|
const t = y("survey-string");
|
|
2303
2303
|
return i(), u("div", On, [
|
|
2304
|
-
|
|
2304
|
+
v("span", zn, T(n.item.title), 1),
|
|
2305
2305
|
n.item.description ? (i(), u("div", Un, [
|
|
2306
2306
|
h(t, {
|
|
2307
2307
|
locString: n.item.description
|
|
@@ -2350,7 +2350,7 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2350
2350
|
s.question.onSwitchClickModel(o);
|
|
2351
2351
|
};
|
|
2352
2352
|
return (o, a) => {
|
|
2353
|
-
var
|
|
2353
|
+
var p;
|
|
2354
2354
|
const c = y("survey-string");
|
|
2355
2355
|
return i(), u("div", {
|
|
2356
2356
|
class: l(o.question.cssClasses.root),
|
|
@@ -2358,13 +2358,13 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2358
2358
|
ref: n,
|
|
2359
2359
|
onKeydown: a[4] || (a[4] = (d) => o.question.onKeyDownCore(d))
|
|
2360
2360
|
}, [
|
|
2361
|
-
|
|
2361
|
+
v("label", {
|
|
2362
2362
|
class: l(o.question.getItemCss())
|
|
2363
2363
|
}, [
|
|
2364
|
-
N(
|
|
2364
|
+
N(v("input", {
|
|
2365
2365
|
type: "checkbox",
|
|
2366
2366
|
name: o.question.name,
|
|
2367
|
-
value: (
|
|
2367
|
+
value: (p = o.question.booleanValue) != null ? p : "",
|
|
2368
2368
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => o.question.booleanValue = d),
|
|
2369
2369
|
class: l(o.question.cssClasses.control),
|
|
2370
2370
|
id: o.question.inputId,
|
|
@@ -2381,11 +2381,11 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2381
2381
|
}, null, 42, jn), [
|
|
2382
2382
|
[ie, o.question.booleanValue]
|
|
2383
2383
|
]),
|
|
2384
|
-
|
|
2384
|
+
v("div", {
|
|
2385
2385
|
class: l(o.question.cssClasses.sliderGhost),
|
|
2386
2386
|
onClick: a[1] || (a[1] = (d) => e(d, o.question.swapOrder))
|
|
2387
2387
|
}, [
|
|
2388
|
-
|
|
2388
|
+
v("span", {
|
|
2389
2389
|
class: l(o.question.getLabelCss(o.question.swapOrder))
|
|
2390
2390
|
}, [
|
|
2391
2391
|
h(c, {
|
|
@@ -2393,11 +2393,11 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2393
2393
|
}, null, 8, ["locString"])
|
|
2394
2394
|
], 2)
|
|
2395
2395
|
], 2),
|
|
2396
|
-
|
|
2396
|
+
v("div", {
|
|
2397
2397
|
class: l(o.question.cssClasses.switch),
|
|
2398
2398
|
onClick: a[2] || (a[2] = (d) => t(d))
|
|
2399
2399
|
}, [
|
|
2400
|
-
|
|
2400
|
+
v("span", {
|
|
2401
2401
|
class: l(o.question.cssClasses.slider)
|
|
2402
2402
|
}, [
|
|
2403
2403
|
o.question.cssClasses.sliderText && o.question.isDeterminated ? (i(), u("span", {
|
|
@@ -2410,11 +2410,11 @@ const Qn = /* @__PURE__ */ g({
|
|
|
2410
2410
|
], 2)) : m("", !0)
|
|
2411
2411
|
], 2)
|
|
2412
2412
|
], 2),
|
|
2413
|
-
|
|
2413
|
+
v("div", {
|
|
2414
2414
|
class: l(o.question.cssClasses.sliderGhost),
|
|
2415
2415
|
onClick: a[3] || (a[3] = (d) => e(d, !o.question.swapOrder))
|
|
2416
2416
|
}, [
|
|
2417
|
-
|
|
2417
|
+
v("span", {
|
|
2418
2418
|
class: l(o.question.getLabelCss(!o.question.swapOrder))
|
|
2419
2419
|
}, [
|
|
2420
2420
|
h(c, {
|
|
@@ -2447,7 +2447,7 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2447
2447
|
ref_key: "root",
|
|
2448
2448
|
ref: s
|
|
2449
2449
|
}, [
|
|
2450
|
-
|
|
2450
|
+
v("fieldset", {
|
|
2451
2451
|
role: "presentation",
|
|
2452
2452
|
class: l(e.question.cssClasses.radioFieldset)
|
|
2453
2453
|
}, [
|
|
@@ -2491,10 +2491,10 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2491
2491
|
role: "presentation",
|
|
2492
2492
|
class: l(e.question.getRadioItemClass(e.question.cssClasses, e.value))
|
|
2493
2493
|
}, [
|
|
2494
|
-
|
|
2494
|
+
v("label", {
|
|
2495
2495
|
class: l(e.question.cssClasses.radioLabel)
|
|
2496
2496
|
}, [
|
|
2497
|
-
|
|
2497
|
+
v("input", {
|
|
2498
2498
|
type: "radio",
|
|
2499
2499
|
name: e.question.name,
|
|
2500
2500
|
value: e.value,
|
|
@@ -2513,12 +2513,12 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2513
2513
|
key: 0,
|
|
2514
2514
|
class: l(e.question.cssClasses.itemRadioDecorator)
|
|
2515
2515
|
}, [
|
|
2516
|
-
|
|
2516
|
+
v("use", {
|
|
2517
2517
|
"xlink:href": e.question.itemSvgIcon
|
|
2518
2518
|
}, null, 8, Yn)
|
|
2519
2519
|
], 2)) : m("", !0)
|
|
2520
2520
|
], 2)) : m("", !0),
|
|
2521
|
-
|
|
2521
|
+
v("span", {
|
|
2522
2522
|
class: l(e.question.cssClasses.radioControlLabel)
|
|
2523
2523
|
}, [
|
|
2524
2524
|
h(o, { locString: e.locText }, null, 8, ["locString"])
|
|
@@ -2527,7 +2527,7 @@ const Jn = /* @__PURE__ */ g({
|
|
|
2527
2527
|
], 2);
|
|
2528
2528
|
};
|
|
2529
2529
|
}
|
|
2530
|
-
}), xn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], eo = ["xlink:href"], so = /* @__PURE__ */
|
|
2530
|
+
}), xn = ["name", "value", "id", ".indeterminate", "disabled", "readonly", "aria-required", "aria-label", "aria-invalid", "aria-errormessage"], eo = ["xlink:href"], so = /* @__PURE__ */ v("span", { class: "check" }, null, -1), no = ["id"], oo = ["id"];
|
|
2531
2531
|
se.Instance.registerRenderer(
|
|
2532
2532
|
"boolean",
|
|
2533
2533
|
"checkbox",
|
|
@@ -2543,23 +2543,23 @@ const to = /* @__PURE__ */ g({
|
|
|
2543
2543
|
setup(r) {
|
|
2544
2544
|
const s = r, n = $(null);
|
|
2545
2545
|
return P(s, n), (e, t) => {
|
|
2546
|
-
var
|
|
2546
|
+
var p;
|
|
2547
2547
|
const o = y("survey-element-title-content"), a = y("sv-title-actions"), c = y("survey-string");
|
|
2548
2548
|
return i(), u("div", {
|
|
2549
2549
|
class: l(e.question.cssClasses.rootCheckbox),
|
|
2550
2550
|
ref_key: "root",
|
|
2551
2551
|
ref: n
|
|
2552
2552
|
}, [
|
|
2553
|
-
|
|
2553
|
+
v("div", {
|
|
2554
2554
|
class: l(e.question.getCheckboxItemCss())
|
|
2555
2555
|
}, [
|
|
2556
|
-
|
|
2556
|
+
v("label", {
|
|
2557
2557
|
class: l(e.question.cssClasses.checkboxLabel)
|
|
2558
2558
|
}, [
|
|
2559
|
-
N(
|
|
2559
|
+
N(v("input", {
|
|
2560
2560
|
type: "checkbox",
|
|
2561
2561
|
name: e.question.name,
|
|
2562
|
-
value: (
|
|
2562
|
+
value: (p = e.question.booleanValue) != null ? p : "",
|
|
2563
2563
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => e.question.booleanValue = d),
|
|
2564
2564
|
class: l(e.question.cssClasses.controlCheckbox),
|
|
2565
2565
|
id: e.question.inputId,
|
|
@@ -2573,14 +2573,14 @@ const to = /* @__PURE__ */ g({
|
|
|
2573
2573
|
}, null, 42, xn), [
|
|
2574
2574
|
[ie, e.question.booleanValue]
|
|
2575
2575
|
]),
|
|
2576
|
-
|
|
2576
|
+
v("span", {
|
|
2577
2577
|
class: l(e.question.cssClasses.checkboxMaterialDecorator)
|
|
2578
2578
|
}, [
|
|
2579
2579
|
e.question.svgIcon ? (i(), u("svg", {
|
|
2580
2580
|
key: 0,
|
|
2581
2581
|
class: l(e.question.cssClasses.checkboxItemDecorator)
|
|
2582
2582
|
}, [
|
|
2583
|
-
|
|
2583
|
+
v("use", {
|
|
2584
2584
|
"xlink:href": e.question.svgIcon
|
|
2585
2585
|
}, null, 8, eo)
|
|
2586
2586
|
], 2)) : m("", !0),
|
|
@@ -2631,9 +2631,9 @@ const to = /* @__PURE__ */ g({
|
|
|
2631
2631
|
ref_key: "root",
|
|
2632
2632
|
ref: n
|
|
2633
2633
|
}, [
|
|
2634
|
-
|
|
2635
|
-
(i(!0), u(D, null, L(w(e), (c,
|
|
2636
|
-
key: t.question.inputId + "rowkey" +
|
|
2634
|
+
v("tbody", null, [
|
|
2635
|
+
(i(!0), u(D, null, L(w(e), (c, p) => (i(), u(D, {
|
|
2636
|
+
key: t.question.inputId + "rowkey" + p
|
|
2637
2637
|
}, [
|
|
2638
2638
|
c.isVisible ? (i(), u("tr", {
|
|
2639
2639
|
key: 0,
|
|
@@ -2663,7 +2663,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2663
2663
|
setup(r) {
|
|
2664
2664
|
const s = r, n = (t) => re(t);
|
|
2665
2665
|
B(() => s.cell.item.editor);
|
|
2666
|
-
const e =
|
|
2666
|
+
const e = I(() => s.cell.item);
|
|
2667
2667
|
return (t, o) => {
|
|
2668
2668
|
const a = y("survey-string"), c = y("survey-errors");
|
|
2669
2669
|
return t.cell.isErrorsCell ? (i(), q(c, {
|
|
@@ -2673,9 +2673,9 @@ const to = /* @__PURE__ */ g({
|
|
|
2673
2673
|
key: 0,
|
|
2674
2674
|
class: l(t.question.getItemLabelCss(e.value))
|
|
2675
2675
|
}, [
|
|
2676
|
-
|
|
2676
|
+
v("span", {
|
|
2677
2677
|
class: l(t.question.getItemTitleCss()),
|
|
2678
|
-
style:
|
|
2678
|
+
style: S({ minWidth: t.question.itemTitleWidth, width: t.question.itemTitleWidth })
|
|
2679
2679
|
}, [
|
|
2680
2680
|
e.value.editor.isRequireTextBeforeTitle || e.value.editor.isRequireTextOnStart ? (i(), u("span", {
|
|
2681
2681
|
key: 0,
|
|
@@ -2694,7 +2694,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2694
2694
|
(i(), u("div", {
|
|
2695
2695
|
key: e.value.editor.id,
|
|
2696
2696
|
class: l(t.question.getItemCss()),
|
|
2697
|
-
onFocusin: o[0] || (o[0] = (
|
|
2697
|
+
onFocusin: o[0] || (o[0] = (p) => e.value.focusIn())
|
|
2698
2698
|
}, [
|
|
2699
2699
|
(i(), q(R(n(e.value.editor)), {
|
|
2700
2700
|
question: e.value.editor
|
|
@@ -2734,28 +2734,28 @@ const to = /* @__PURE__ */ g({
|
|
|
2734
2734
|
ref_key: "root",
|
|
2735
2735
|
ref: n
|
|
2736
2736
|
}, [
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2737
|
+
v("fieldset", null, [
|
|
2738
|
+
v("legend", ao, T(o.question.locTitle.renderedHtml), 1),
|
|
2739
|
+
v("table", {
|
|
2740
2740
|
class: l(o.question.getTableCss())
|
|
2741
2741
|
}, [
|
|
2742
2742
|
o.question.showHeader ? (i(), u("thead", uo, [
|
|
2743
|
-
|
|
2743
|
+
v("tr", null, [
|
|
2744
2744
|
o.question.hasRows ? (i(), u("td", mo)) : m("", !0),
|
|
2745
|
-
(i(!0), u(D, null, L(o.question.visibleColumns, (
|
|
2745
|
+
(i(!0), u(D, null, L(o.question.visibleColumns, (p, d) => (i(), u("th", {
|
|
2746
2746
|
key: d,
|
|
2747
2747
|
class: l(o.question.cssClasses.headerCell),
|
|
2748
|
-
style:
|
|
2748
|
+
style: S({
|
|
2749
2749
|
minWidth: o.question.columnMinWidth,
|
|
2750
2750
|
width: o.question.columnMinWidth
|
|
2751
2751
|
})
|
|
2752
2752
|
}, [
|
|
2753
|
-
(i(), q(R(o.question.getColumnHeaderWrapperComponentName(
|
|
2754
|
-
componentData: o.question.getColumnHeaderWrapperComponentData(
|
|
2753
|
+
(i(), q(R(o.question.getColumnHeaderWrapperComponentName(p)), {
|
|
2754
|
+
componentData: o.question.getColumnHeaderWrapperComponentData(p)
|
|
2755
2755
|
}, {
|
|
2756
2756
|
default: V(() => [
|
|
2757
2757
|
h(c, {
|
|
2758
|
-
locString:
|
|
2758
|
+
locString: p.locText
|
|
2759
2759
|
}, null, 8, ["locString"])
|
|
2760
2760
|
]),
|
|
2761
2761
|
_: 2
|
|
@@ -2763,24 +2763,24 @@ const to = /* @__PURE__ */ g({
|
|
|
2763
2763
|
], 6))), 128))
|
|
2764
2764
|
])
|
|
2765
2765
|
])) : m("", !0),
|
|
2766
|
-
|
|
2767
|
-
(i(!0), u(D, null, L(e.value, (
|
|
2768
|
-
key: "row_" +
|
|
2769
|
-
class: l(
|
|
2766
|
+
v("tbody", null, [
|
|
2767
|
+
(i(!0), u(D, null, L(e.value, (p, d) => (i(), u("tr", {
|
|
2768
|
+
key: "row_" + p.name + "_" + d,
|
|
2769
|
+
class: l(p.rowClasses || void 0)
|
|
2770
2770
|
}, [
|
|
2771
|
-
N(
|
|
2772
|
-
class: l(
|
|
2773
|
-
style:
|
|
2771
|
+
N(v("td", {
|
|
2772
|
+
class: l(p.rowTextClasses),
|
|
2773
|
+
style: S({
|
|
2774
2774
|
minWidth: o.question.rowTitleWidth,
|
|
2775
2775
|
width: o.question.rowTitleWidth
|
|
2776
2776
|
})
|
|
2777
2777
|
}, [
|
|
2778
|
-
(i(), q(R(o.question.getRowHeaderWrapperComponentName(
|
|
2779
|
-
componentData: o.question.getRowHeaderWrapperComponentData(
|
|
2778
|
+
(i(), q(R(o.question.getRowHeaderWrapperComponentName(p)), {
|
|
2779
|
+
componentData: o.question.getRowHeaderWrapperComponentData(p)
|
|
2780
2780
|
}, {
|
|
2781
2781
|
default: V(() => [
|
|
2782
2782
|
h(c, {
|
|
2783
|
-
locString:
|
|
2783
|
+
locString: p.locText
|
|
2784
2784
|
}, null, 8, ["locString"])
|
|
2785
2785
|
]),
|
|
2786
2786
|
_: 2
|
|
@@ -2790,22 +2790,22 @@ const to = /* @__PURE__ */ g({
|
|
|
2790
2790
|
]),
|
|
2791
2791
|
o.question.hasCellText ? (i(!0), u(D, { key: 0 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2792
2792
|
key: k,
|
|
2793
|
-
class: l(o.question.getItemClass(
|
|
2794
|
-
onClick: (f) => t(
|
|
2793
|
+
class: l(o.question.getItemClass(p, C)),
|
|
2794
|
+
onClick: (f) => t(p, C)
|
|
2795
2795
|
}, [
|
|
2796
2796
|
h(c, {
|
|
2797
|
-
locString: o.question.getCellDisplayLocText(
|
|
2797
|
+
locString: o.question.getCellDisplayLocText(p.name, C)
|
|
2798
2798
|
}, null, 8, ["locString"])
|
|
2799
2799
|
], 10, co))), 128)) : m("", !0),
|
|
2800
2800
|
o.question.hasCellText ? m("", !0) : (i(!0), u(D, { key: 1 }, L(o.question.visibleColumns, (C, k) => (i(), u("td", {
|
|
2801
2801
|
key: k,
|
|
2802
2802
|
"data-responsive-title": C.locText.renderedHtml,
|
|
2803
2803
|
class: l(o.question.cssClasses.cell),
|
|
2804
|
-
onClick: (f) => t(
|
|
2804
|
+
onClick: (f) => t(p, C)
|
|
2805
2805
|
}, [
|
|
2806
2806
|
(i(), q(R(o.question.cellComponent), {
|
|
2807
2807
|
question: o.question,
|
|
2808
|
-
row:
|
|
2808
|
+
row: p,
|
|
2809
2809
|
column: C,
|
|
2810
2810
|
columnIndex: k
|
|
2811
2811
|
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
@@ -2846,10 +2846,10 @@ const to = /* @__PURE__ */ g({
|
|
|
2846
2846
|
ref_key: "root",
|
|
2847
2847
|
ref: n
|
|
2848
2848
|
}, [
|
|
2849
|
-
(i(!0), u(D, null, L(t.row.cells, (c,
|
|
2849
|
+
(i(!0), u(D, null, L(t.row.cells, (c, p) => (i(), q(a, {
|
|
2850
2850
|
cell: c,
|
|
2851
2851
|
question: t.question,
|
|
2852
|
-
key: t.row.id + "_" +
|
|
2852
|
+
key: t.row.id + "_" + p
|
|
2853
2853
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2854
2854
|
], 42, yo)) : m("", !0);
|
|
2855
2855
|
};
|
|
@@ -2870,7 +2870,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2870
2870
|
onMousedown: n[1] || (n[1] = (t) => s.question.onMouseDown()),
|
|
2871
2871
|
class: l(s.question.getItemClass(s.row, s.column))
|
|
2872
2872
|
}, [
|
|
2873
|
-
N(
|
|
2873
|
+
N(v("input", {
|
|
2874
2874
|
type: "radio",
|
|
2875
2875
|
class: l(s.question.cssClasses.itemValue),
|
|
2876
2876
|
name: s.row.fullName,
|
|
@@ -2889,14 +2889,14 @@ const to = /* @__PURE__ */ g({
|
|
|
2889
2889
|
}, null, 10, go), [
|
|
2890
2890
|
[ee, s.row.value]
|
|
2891
2891
|
]),
|
|
2892
|
-
|
|
2892
|
+
v("span", {
|
|
2893
2893
|
class: l(s.question.cssClasses.materialDecorator)
|
|
2894
2894
|
}, [
|
|
2895
2895
|
s.question.itemSvgIcon ? (i(), u("svg", {
|
|
2896
2896
|
key: 0,
|
|
2897
2897
|
class: l(s.question.cssClasses.itemDecorator)
|
|
2898
2898
|
}, [
|
|
2899
|
-
|
|
2899
|
+
v("use", {
|
|
2900
2900
|
"xlink:href": s.question.itemSvgIcon
|
|
2901
2901
|
}, null, 8, ho)
|
|
2902
2902
|
], 2)) : m("", !0)
|
|
@@ -2935,23 +2935,23 @@ const to = /* @__PURE__ */ g({
|
|
|
2935
2935
|
question: {}
|
|
2936
2936
|
},
|
|
2937
2937
|
setup(r) {
|
|
2938
|
-
const s = r, n =
|
|
2938
|
+
const s = r, n = I(() => s.question.renderedTable);
|
|
2939
2939
|
return B(() => n.value), (e, t) => {
|
|
2940
|
-
const o = y("survey-string"), a = y("survey-matrixheaderrequired"), c = y("survey-matrix-row"),
|
|
2940
|
+
const o = y("survey-string"), a = y("survey-matrixheaderrequired"), c = y("survey-matrix-row"), p = y("survey-matrixdropdown-cell");
|
|
2941
2941
|
return i(), u("div", {
|
|
2942
|
-
style:
|
|
2942
|
+
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2943
2943
|
class: l(e.question.cssClasses.tableWrapper)
|
|
2944
2944
|
}, [
|
|
2945
|
-
|
|
2945
|
+
v("table", {
|
|
2946
2946
|
class: l(e.question.getTableCss())
|
|
2947
2947
|
}, [
|
|
2948
2948
|
n.value.showHeader ? (i(), u("thead", ko, [
|
|
2949
|
-
|
|
2949
|
+
v("tr", null, [
|
|
2950
2950
|
(i(!0), u(D, null, L(n.value.headerRow.cells, (d) => (i(), u(D, null, [
|
|
2951
2951
|
d.hasTitle ? (i(), u("th", {
|
|
2952
2952
|
key: "header_" + d.id,
|
|
2953
2953
|
class: l(d.className),
|
|
2954
|
-
style:
|
|
2954
|
+
style: S({ minWidth: d.minWidth, width: d.width })
|
|
2955
2955
|
}, [
|
|
2956
2956
|
(i(), q(R(e.question.getColumnHeaderWrapperComponentName(d)), {
|
|
2957
2957
|
componentData: e.question.getColumnHeaderWrapperComponentData(d)
|
|
@@ -2972,12 +2972,12 @@ const to = /* @__PURE__ */ g({
|
|
|
2972
2972
|
d.hasTitle ? m("", !0) : (i(), u("td", {
|
|
2973
2973
|
class: l(d.className),
|
|
2974
2974
|
key: "header_" + d.id,
|
|
2975
|
-
style:
|
|
2975
|
+
style: S({ minWidth: d.minWidth, width: d.width })
|
|
2976
2976
|
}, null, 6))
|
|
2977
2977
|
], 64))), 256))
|
|
2978
2978
|
])
|
|
2979
2979
|
])) : m("", !0),
|
|
2980
|
-
|
|
2980
|
+
v("tbody", null, [
|
|
2981
2981
|
(i(!0), u(D, null, L(n.value.renderedRows, (d) => (i(), q(c, {
|
|
2982
2982
|
key: e.question.inputId + "_" + d.id,
|
|
2983
2983
|
row: d,
|
|
@@ -2985,8 +2985,8 @@ const to = /* @__PURE__ */ g({
|
|
|
2985
2985
|
}, null, 8, ["row", "question"]))), 128))
|
|
2986
2986
|
]),
|
|
2987
2987
|
n.value.showFooter ? (i(), u("tfoot", fo, [
|
|
2988
|
-
|
|
2989
|
-
(i(!0), u(D, null, L(n.value.footerRow.cells, (d, C) => (i(), q(
|
|
2988
|
+
v("tr", null, [
|
|
2989
|
+
(i(!0), u(D, null, L(n.value.footerRow.cells, (d, C) => (i(), q(p, {
|
|
2990
2990
|
cell: d,
|
|
2991
2991
|
question: e.question,
|
|
2992
2992
|
key: "footer_" + C
|
|
@@ -2997,7 +2997,7 @@ const to = /* @__PURE__ */ g({
|
|
|
2997
2997
|
], 6);
|
|
2998
2998
|
};
|
|
2999
2999
|
}
|
|
3000
|
-
}), Io = /* @__PURE__ */
|
|
3000
|
+
}), Io = /* @__PURE__ */ v("span", null, "\xA0", -1), So = /* @__PURE__ */ g({
|
|
3001
3001
|
__name: "MatrixHeaderRequired",
|
|
3002
3002
|
props: {
|
|
3003
3003
|
question: {},
|
|
@@ -3038,7 +3038,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3038
3038
|
};
|
|
3039
3039
|
s.question.survey.matrixAfterCellRender(s.question, k), C && C.afterRenderCore(d);
|
|
3040
3040
|
});
|
|
3041
|
-
const c =
|
|
3041
|
+
const c = I(() => {
|
|
3042
3042
|
const d = s.cell;
|
|
3043
3043
|
if (d.hasPanel) {
|
|
3044
3044
|
const C = d.panel, k = C.survey;
|
|
@@ -3049,7 +3049,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3049
3049
|
}
|
|
3050
3050
|
return "survey-panel";
|
|
3051
3051
|
}
|
|
3052
|
-
}),
|
|
3052
|
+
}), p = I(() => {
|
|
3053
3053
|
if (s.cell.hasPanel) {
|
|
3054
3054
|
const C = s.cell.panel, k = C.survey;
|
|
3055
3055
|
let f;
|
|
@@ -3069,7 +3069,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3069
3069
|
key: 0,
|
|
3070
3070
|
class: l(d.cell.className),
|
|
3071
3071
|
title: d.cell.getTitle(),
|
|
3072
|
-
style:
|
|
3072
|
+
style: S(t()),
|
|
3073
3073
|
colspan: d.cell.colSpans,
|
|
3074
3074
|
onFocusin: C[0] || (C[0] = (J) => d.cell.focusIn()),
|
|
3075
3075
|
ref_key: "root",
|
|
@@ -3088,7 +3088,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3088
3088
|
model: d.cell.item.getData(),
|
|
3089
3089
|
handleClick: !1
|
|
3090
3090
|
}, null, 8, ["model"])) : m("", !0),
|
|
3091
|
-
d.cell.hasPanel ? (i(), q(R(c.value), z(H({ key: 3 },
|
|
3091
|
+
d.cell.hasPanel ? (i(), q(R(c.value), z(H({ key: 3 }, p.value)), null, 16)) : m("", !0),
|
|
3092
3092
|
d.cell.showResponsiveTitle ? (i(), u("span", {
|
|
3093
3093
|
key: 4,
|
|
3094
3094
|
class: l(d.cell.responsiveTitleCss)
|
|
@@ -3184,7 +3184,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3184
3184
|
key: 0,
|
|
3185
3185
|
class: l(t.question.cssClasses.footer)
|
|
3186
3186
|
}, [
|
|
3187
|
-
|
|
3187
|
+
v("button", {
|
|
3188
3188
|
type: "button",
|
|
3189
3189
|
class: l(t.question.getAddRowButtonCss()),
|
|
3190
3190
|
onClick: e
|
|
@@ -3192,7 +3192,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3192
3192
|
h(a, {
|
|
3193
3193
|
locString: t.question.locAddRowText
|
|
3194
3194
|
}, null, 8, ["locString"]),
|
|
3195
|
-
|
|
3195
|
+
v("span", {
|
|
3196
3196
|
class: l(t.question.cssClasses.iconAdd)
|
|
3197
3197
|
}, null, 2)
|
|
3198
3198
|
], 2)
|
|
@@ -3205,7 +3205,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3205
3205
|
key: 2,
|
|
3206
3206
|
class: l(t.question.cssClasses.emptyRowsSection)
|
|
3207
3207
|
}, [
|
|
3208
|
-
|
|
3208
|
+
v("div", {
|
|
3209
3209
|
class: l(t.question.cssClasses.emptyRowsText)
|
|
3210
3210
|
}, [
|
|
3211
3211
|
h(a, {
|
|
@@ -3221,7 +3221,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3221
3221
|
h(a, {
|
|
3222
3222
|
locString: t.question.locAddRowText
|
|
3223
3223
|
}, null, 8, ["locString"]),
|
|
3224
|
-
|
|
3224
|
+
v("span", {
|
|
3225
3225
|
class: l(t.question.cssClasses.iconAdd)
|
|
3226
3226
|
}, null, 2)
|
|
3227
3227
|
], 2)) : m("", !0)
|
|
@@ -3230,7 +3230,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3230
3230
|
key: 3,
|
|
3231
3231
|
class: l(t.question.cssClasses.footer)
|
|
3232
3232
|
}, [
|
|
3233
|
-
|
|
3233
|
+
v("button", {
|
|
3234
3234
|
type: "button",
|
|
3235
3235
|
class: l(t.question.getAddRowButtonCss()),
|
|
3236
3236
|
onClick: e
|
|
@@ -3238,7 +3238,7 @@ const to = /* @__PURE__ */ g({
|
|
|
3238
3238
|
h(a, {
|
|
3239
3239
|
locString: t.question.locAddRowText
|
|
3240
3240
|
}, null, 8, ["locString"]),
|
|
3241
|
-
|
|
3241
|
+
v("span", {
|
|
3242
3242
|
class: l(t.question.cssClasses.iconAdd)
|
|
3243
3243
|
}, null, 2)
|
|
3244
3244
|
], 2)
|
|
@@ -3249,8 +3249,8 @@ const to = /* @__PURE__ */ g({
|
|
|
3249
3249
|
});
|
|
3250
3250
|
function le(r, s = !0) {
|
|
3251
3251
|
return {
|
|
3252
|
-
question:
|
|
3253
|
-
row: s ?
|
|
3252
|
+
question: I(() => r.item.data.question),
|
|
3253
|
+
row: s ? I(() => r.item.data.row) : void 0
|
|
3254
3254
|
};
|
|
3255
3255
|
}
|
|
3256
3256
|
const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
@@ -3271,7 +3271,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3271
3271
|
h(a, {
|
|
3272
3272
|
locString: w(n).locRemoveRowText
|
|
3273
3273
|
}, null, 8, ["locString"]),
|
|
3274
|
-
|
|
3274
|
+
v("span", {
|
|
3275
3275
|
class: l(w(n).cssClasses.iconRemove)
|
|
3276
3276
|
}, null, 2)
|
|
3277
3277
|
], 10, Do);
|
|
@@ -3288,7 +3288,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3288
3288
|
key: 0,
|
|
3289
3289
|
class: l(w(n).cssClasses.dragElementDecorator)
|
|
3290
3290
|
}, [
|
|
3291
|
-
|
|
3291
|
+
v("use", {
|
|
3292
3292
|
"xlink:href": w(n).iconDragElement
|
|
3293
3293
|
}, null, 8, Bo)
|
|
3294
3294
|
], 2)) : (i(), u("span", {
|
|
@@ -3334,14 +3334,14 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3334
3334
|
n,
|
|
3335
3335
|
(c) => {
|
|
3336
3336
|
c.panelCountChangedCallback = () => {
|
|
3337
|
-
var
|
|
3338
|
-
(
|
|
3337
|
+
var p;
|
|
3338
|
+
(p = e == null ? void 0 : e.proxy) == null || p.$forceUpdate();
|
|
3339
3339
|
}, c.currentIndexChangedCallback = () => {
|
|
3340
|
-
var
|
|
3341
|
-
(
|
|
3340
|
+
var p;
|
|
3341
|
+
(p = e == null ? void 0 : e.proxy) == null || p.$forceUpdate();
|
|
3342
3342
|
}, c.renderModeChangedCallback = () => {
|
|
3343
|
-
var
|
|
3344
|
-
(
|
|
3343
|
+
var p;
|
|
3344
|
+
(p = e == null ? void 0 : e.proxy) == null || p.$forceUpdate();
|
|
3345
3345
|
};
|
|
3346
3346
|
},
|
|
3347
3347
|
(c) => {
|
|
@@ -3352,17 +3352,17 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3352
3352
|
}
|
|
3353
3353
|
);
|
|
3354
3354
|
const t = () => s.question.showLegacyNavigation, o = (c) => {
|
|
3355
|
-
const
|
|
3356
|
-
if (
|
|
3357
|
-
const d =
|
|
3355
|
+
const p = s.question.getSurvey();
|
|
3356
|
+
if (p) {
|
|
3357
|
+
const d = p.getElementWrapperComponentName(c);
|
|
3358
3358
|
if (d)
|
|
3359
3359
|
return d;
|
|
3360
3360
|
}
|
|
3361
3361
|
return "panel";
|
|
3362
3362
|
}, a = (c) => {
|
|
3363
|
-
const
|
|
3363
|
+
const p = s.question.getSurvey();
|
|
3364
3364
|
let d;
|
|
3365
|
-
return
|
|
3365
|
+
return p && (d = p.getElementWrapperComponentData(c)), {
|
|
3366
3366
|
componentName: "survey-panel",
|
|
3367
3367
|
componentData: {
|
|
3368
3368
|
element: c,
|
|
@@ -3370,7 +3370,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3370
3370
|
}
|
|
3371
3371
|
};
|
|
3372
3372
|
};
|
|
3373
|
-
return (c,
|
|
3373
|
+
return (c, p) => {
|
|
3374
3374
|
const d = y("survey-string"), C = y("sv-paneldynamic-add-btn"), k = y("survey-paneldynamicprogress"), f = y("sv-paneldynamic-remove-btn"), _ = y("survey-paneldynamicprogress-v2");
|
|
3375
3375
|
return i(), u("div", {
|
|
3376
3376
|
class: l(c.question.cssClasses.root),
|
|
@@ -3381,7 +3381,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3381
3381
|
key: 0,
|
|
3382
3382
|
class: l(c.question.cssClasses.noEntriesPlaceholder)
|
|
3383
3383
|
}, [
|
|
3384
|
-
|
|
3384
|
+
v("span", null, [
|
|
3385
3385
|
h(d, {
|
|
3386
3386
|
locString: c.question.locNoEntriesText
|
|
3387
3387
|
}, null, 8, ["locString"])
|
|
@@ -3394,9 +3394,9 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3394
3394
|
key: 1,
|
|
3395
3395
|
class: l(c.question.cssClasses.progress)
|
|
3396
3396
|
}, [
|
|
3397
|
-
|
|
3397
|
+
v("div", {
|
|
3398
3398
|
class: l(c.question.cssClasses.progressBar),
|
|
3399
|
-
style:
|
|
3399
|
+
style: S({ width: c.question.progress }),
|
|
3400
3400
|
role: "progressbar"
|
|
3401
3401
|
}, null, 6)
|
|
3402
3402
|
], 2)) : m("", !0),
|
|
@@ -3404,13 +3404,13 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3404
3404
|
key: 2,
|
|
3405
3405
|
question: c.question
|
|
3406
3406
|
}, null, 8, ["question"])) : m("", !0),
|
|
3407
|
-
|
|
3407
|
+
v("div", {
|
|
3408
3408
|
class: l(c.question.cssClasses.panelsContainer)
|
|
3409
3409
|
}, [
|
|
3410
3410
|
(i(!0), u(D, null, L(c.question.renderedPanels, (b, A) => (i(), u(D, {
|
|
3411
3411
|
key: b.id
|
|
3412
3412
|
}, [
|
|
3413
|
-
|
|
3413
|
+
v("div", {
|
|
3414
3414
|
class: l(c.question.getPanelWrapperCss(b))
|
|
3415
3415
|
}, [
|
|
3416
3416
|
(i(), q(R(o(b)), z(te(a(b))), null, 16)),
|
|
@@ -3448,15 +3448,15 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3448
3448
|
setup(r) {
|
|
3449
3449
|
const s = r, n = () => s.question.isProgressTopShowing ? s.question.cssClasses.progressTop : s.question.cssClasses.progressBottom;
|
|
3450
3450
|
return (e, t) => {
|
|
3451
|
-
const o = y("sv-paneldynamic-prev-btn"), a = y("sv-paneldynamic-next-btn"), c = y("sv-paneldynamic-add-btn"),
|
|
3451
|
+
const o = y("sv-paneldynamic-prev-btn"), a = y("sv-paneldynamic-next-btn"), c = y("sv-paneldynamic-add-btn"), p = y("sv-paneldynamic-progress-text");
|
|
3452
3452
|
return i(), u("div", {
|
|
3453
3453
|
class: l(n())
|
|
3454
3454
|
}, [
|
|
3455
|
-
|
|
3455
|
+
v("div", {
|
|
3456
3456
|
style: { clear: "both" },
|
|
3457
3457
|
class: l(n())
|
|
3458
3458
|
}, [
|
|
3459
|
-
|
|
3459
|
+
v("div", {
|
|
3460
3460
|
class: l(e.question.cssClasses.progressContainer)
|
|
3461
3461
|
}, [
|
|
3462
3462
|
h(o, {
|
|
@@ -3466,9 +3466,9 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3466
3466
|
key: 0,
|
|
3467
3467
|
class: l(e.question.cssClasses.progress)
|
|
3468
3468
|
}, [
|
|
3469
|
-
|
|
3469
|
+
v("div", {
|
|
3470
3470
|
class: l(e.question.cssClasses.progressBar),
|
|
3471
|
-
style:
|
|
3471
|
+
style: S({ width: e.question.progress }),
|
|
3472
3472
|
role: "progressbar"
|
|
3473
3473
|
}, null, 6)
|
|
3474
3474
|
], 2)) : m("", !0),
|
|
@@ -3479,7 +3479,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3479
3479
|
h(c, {
|
|
3480
3480
|
data: { question: e.question }
|
|
3481
3481
|
}, null, 8, ["data"]),
|
|
3482
|
-
h(
|
|
3482
|
+
h(p, {
|
|
3483
3483
|
data: { question: e.question }
|
|
3484
3484
|
}, null, 8, ["data"])
|
|
3485
3485
|
], 2)
|
|
@@ -3498,16 +3498,16 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3498
3498
|
key: 0,
|
|
3499
3499
|
class: l(s.question.cssClasses.footer)
|
|
3500
3500
|
}, [
|
|
3501
|
-
|
|
3501
|
+
v("hr", {
|
|
3502
3502
|
class: l(s.question.cssClasses.separator)
|
|
3503
3503
|
}, null, 2),
|
|
3504
3504
|
s.question.isRangeShowing && s.question.isProgressBottomShowing ? (i(), u("div", {
|
|
3505
3505
|
key: 0,
|
|
3506
3506
|
class: l(s.question.cssClasses.progress)
|
|
3507
3507
|
}, [
|
|
3508
|
-
|
|
3508
|
+
v("div", {
|
|
3509
3509
|
class: l(s.question.cssClasses.progressBar),
|
|
3510
|
-
style:
|
|
3510
|
+
style: S({ width: s.question.progress }),
|
|
3511
3511
|
role: "progressbar"
|
|
3512
3512
|
}, null, 6)
|
|
3513
3513
|
], 2)) : m("", !0),
|
|
@@ -3524,7 +3524,7 @@ const Do = ["disabled"], _o = /* @__PURE__ */ g({
|
|
|
3524
3524
|
}
|
|
3525
3525
|
});
|
|
3526
3526
|
function Y(r) {
|
|
3527
|
-
return
|
|
3527
|
+
return I(
|
|
3528
3528
|
() => r.item && r.item.data.question || r.data.question
|
|
3529
3529
|
);
|
|
3530
3530
|
}
|
|
@@ -3546,7 +3546,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3546
3546
|
class: l(w(n).getAddButtonCss()),
|
|
3547
3547
|
onClick: e
|
|
3548
3548
|
}, [
|
|
3549
|
-
|
|
3549
|
+
v("span", {
|
|
3550
3550
|
class: l(w(n).cssClasses.buttonAddText)
|
|
3551
3551
|
}, [
|
|
3552
3552
|
h(a, {
|
|
@@ -3611,7 +3611,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3611
3611
|
data: {}
|
|
3612
3612
|
},
|
|
3613
3613
|
setup(r) {
|
|
3614
|
-
const s = r, n = Y(s), e =
|
|
3614
|
+
const s = r, n = Y(s), e = I(
|
|
3615
3615
|
() => s.item && s.item.data.panel || s.data.panel
|
|
3616
3616
|
), t = (o) => {
|
|
3617
3617
|
n.value.isInputReadOnly || n.value.removePanelUI(o);
|
|
@@ -3621,16 +3621,16 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3621
3621
|
return i(), u("button", {
|
|
3622
3622
|
type: "button",
|
|
3623
3623
|
class: l(w(n).getPanelRemoveButtonCss()),
|
|
3624
|
-
onClick: a[0] || (a[0] = (
|
|
3624
|
+
onClick: a[0] || (a[0] = (p) => t(e.value))
|
|
3625
3625
|
}, [
|
|
3626
|
-
|
|
3626
|
+
v("span", {
|
|
3627
3627
|
class: l(w(n).cssClasses.buttonRemoveText)
|
|
3628
3628
|
}, [
|
|
3629
3629
|
h(c, {
|
|
3630
3630
|
locString: w(n).locPanelRemoveText
|
|
3631
3631
|
}, null, 8, ["locString"])
|
|
3632
3632
|
], 2),
|
|
3633
|
-
|
|
3633
|
+
v("span", {
|
|
3634
3634
|
class: l(w(n).cssClasses.iconRemove)
|
|
3635
3635
|
}, null, 2)
|
|
3636
3636
|
], 2);
|
|
@@ -3692,7 +3692,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3692
3692
|
placeholder: s.question.renderedCommentPlaceholder,
|
|
3693
3693
|
"aria-label": s.question.ariaLabel || s.question.a11y_input_ariaLabel,
|
|
3694
3694
|
"aria-required": s.question.ariaRequired || s.question.a11y_input_ariaRequired,
|
|
3695
|
-
style:
|
|
3695
|
+
style: S({ resize: s.question.resizeStyle }),
|
|
3696
3696
|
onChange: n[0] || (n[0] = (e) => {
|
|
3697
3697
|
s.question.onCommentChange(e);
|
|
3698
3698
|
}),
|
|
@@ -3749,7 +3749,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3749
3749
|
css: {}
|
|
3750
3750
|
},
|
|
3751
3751
|
setup(r) {
|
|
3752
|
-
const s = r, n =
|
|
3752
|
+
const s = r, n = I(
|
|
3753
3753
|
() => (s.element.isPanel ? s.element.cssClasses.panel : s.element.cssClasses) || {}
|
|
3754
3754
|
);
|
|
3755
3755
|
return (e, t) => {
|
|
@@ -3797,11 +3797,11 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3797
3797
|
css: {}
|
|
3798
3798
|
},
|
|
3799
3799
|
setup(r) {
|
|
3800
|
-
const s = r, n =
|
|
3800
|
+
const s = r, n = I(() => s.element.getTitleToolbar());
|
|
3801
3801
|
return (e, t) => {
|
|
3802
3802
|
const o = y("survey-string"), a = y("survey-element-title-content"), c = y("sv-action-bar");
|
|
3803
3803
|
return i(), u("div", st, [
|
|
3804
|
-
|
|
3804
|
+
v("span", nt, [
|
|
3805
3805
|
e.element.isPage ? (i(), q(o, {
|
|
3806
3806
|
key: 0,
|
|
3807
3807
|
locString: e.element.locTitle
|
|
@@ -3827,7 +3827,7 @@ const Eo = /* @__PURE__ */ g({
|
|
|
3827
3827
|
function at(r, s) {
|
|
3828
3828
|
return i(), u("div", it, lt);
|
|
3829
3829
|
}
|
|
3830
|
-
const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */
|
|
3830
|
+
const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ v("use", null, null, -1), mt = [
|
|
3831
3831
|
dt
|
|
3832
3832
|
], ct = /* @__PURE__ */ g({
|
|
3833
3833
|
__name: "SvgIcon",
|
|
@@ -3872,13 +3872,13 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3872
3872
|
return (s, n) => {
|
|
3873
3873
|
const e = y("survey-string");
|
|
3874
3874
|
return i(), u("div", { key: s.errorKey }, [
|
|
3875
|
-
|
|
3875
|
+
v("span", {
|
|
3876
3876
|
class: l(
|
|
3877
3877
|
s.cssClasses ? s.cssClasses.error.icon || void 0 : "panel-error-icon"
|
|
3878
3878
|
),
|
|
3879
3879
|
"aria-hidden": "true"
|
|
3880
3880
|
}, null, 2),
|
|
3881
|
-
|
|
3881
|
+
v("span", {
|
|
3882
3882
|
class: l(
|
|
3883
3883
|
s.cssClasses ? s.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3884
3884
|
)
|
|
@@ -3916,9 +3916,9 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3916
3916
|
class: l(o.model.getRootCss()),
|
|
3917
3917
|
onClick: e
|
|
3918
3918
|
}, [
|
|
3919
|
-
(i(!0), u(D, null, L(w(t), (
|
|
3920
|
-
key:
|
|
3921
|
-
item:
|
|
3919
|
+
(i(!0), u(D, null, L(w(t), (p) => (i(), q(c, {
|
|
3920
|
+
key: p.id,
|
|
3921
|
+
item: p
|
|
3922
3922
|
}, null, 8, ["item"]))), 128))
|
|
3923
3923
|
], 2)) : m("", !0);
|
|
3924
3924
|
};
|
|
@@ -3929,7 +3929,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3929
3929
|
item: {}
|
|
3930
3930
|
},
|
|
3931
3931
|
setup(r) {
|
|
3932
|
-
const s = r, n =
|
|
3932
|
+
const s = r, n = I(
|
|
3933
3933
|
() => s.item.component || "sv-action-bar-item"
|
|
3934
3934
|
);
|
|
3935
3935
|
return B(() => s.item), (e, t) => {
|
|
@@ -3938,7 +3938,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3938
3938
|
class: l(e.item.getActionRootCss()),
|
|
3939
3939
|
id: e.item.id
|
|
3940
3940
|
}, [
|
|
3941
|
-
|
|
3941
|
+
v("div", qt, [
|
|
3942
3942
|
e.item.needSeparator ? (i(), q(o, { key: 0 })) : m("", !0),
|
|
3943
3943
|
(i(), q(R(n.value), { item: e.item }, null, 8, ["item"]))
|
|
3944
3944
|
])
|
|
@@ -3966,8 +3966,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
3966
3966
|
onKeyup: e[1] || (e[1] = (a) => {
|
|
3967
3967
|
a.stopPropagation();
|
|
3968
3968
|
}),
|
|
3969
|
-
onMousedown: e[2] || (e[2] = () => {
|
|
3970
|
-
n.item.doMouseDown();
|
|
3969
|
+
onMousedown: e[2] || (e[2] = (a) => {
|
|
3970
|
+
n.item.doMouseDown(a);
|
|
3971
3971
|
}),
|
|
3972
3972
|
onFocus: e[3] || (e[3] = (a) => {
|
|
3973
3973
|
n.item.doFocus(a);
|
|
@@ -4014,7 +4014,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4014
4014
|
e.dispose();
|
|
4015
4015
|
}
|
|
4016
4016
|
), (t, o) => {
|
|
4017
|
-
const a = y("sv-svg-icon"), c = y("sv-popup"),
|
|
4017
|
+
const a = y("sv-svg-icon"), c = y("sv-popup"), p = X("key2click");
|
|
4018
4018
|
return i(), u(D, null, [
|
|
4019
4019
|
N((i(), u("button", {
|
|
4020
4020
|
type: "button",
|
|
@@ -4041,7 +4041,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4041
4041
|
class: l(t.item.getActionBarItemTitleCss())
|
|
4042
4042
|
}, T(t.item.title), 3)) : m("", !0)
|
|
4043
4043
|
], 42, kt)), [
|
|
4044
|
-
[
|
|
4044
|
+
[p, { processEsc: !1, disableTabStop: t.item.disableTabStop }]
|
|
4045
4045
|
]),
|
|
4046
4046
|
h(c, {
|
|
4047
4047
|
model: t.item.popupModel,
|
|
@@ -4056,7 +4056,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4056
4056
|
item: {}
|
|
4057
4057
|
},
|
|
4058
4058
|
setup(r) {
|
|
4059
|
-
const s = r, n =
|
|
4059
|
+
const s = r, n = I(() => s.item && s.item.innerCss);
|
|
4060
4060
|
return (e, t) => (i(), u("div", {
|
|
4061
4061
|
class: l(["sv-action-bar-separator", n.value])
|
|
4062
4062
|
}, null, 2));
|
|
@@ -4068,17 +4068,17 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4068
4068
|
},
|
|
4069
4069
|
setup(r) {
|
|
4070
4070
|
const s = r, n = $(null), e = (c) => {
|
|
4071
|
-
const
|
|
4072
|
-
|
|
4071
|
+
const p = s.model;
|
|
4072
|
+
p.filterString = c.target.value;
|
|
4073
4073
|
}, t = (c) => {
|
|
4074
|
-
const
|
|
4075
|
-
|
|
4074
|
+
const p = s.model;
|
|
4075
|
+
p.filterString = c.target.value, s.model.goToItems(c);
|
|
4076
4076
|
}, o = (c) => {
|
|
4077
4077
|
s.model.onMouseMove(c);
|
|
4078
4078
|
}, a = ne(() => s.model.renderedActions);
|
|
4079
4079
|
return B(() => s.model), M(() => {
|
|
4080
4080
|
s.model.initListContainerHtmlElement(n.value);
|
|
4081
|
-
}), (c,
|
|
4081
|
+
}), (c, p) => {
|
|
4082
4082
|
const d = y("sv-svg-icon"), C = y("sv-list-item");
|
|
4083
4083
|
return i(), u("div", {
|
|
4084
4084
|
class: l(c.model.cssClasses.root),
|
|
@@ -4089,7 +4089,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4089
4089
|
key: 0,
|
|
4090
4090
|
class: l(c.model.cssClasses.filter)
|
|
4091
4091
|
}, [
|
|
4092
|
-
|
|
4092
|
+
v("div", {
|
|
4093
4093
|
class: l(c.model.cssClasses.filterIcon)
|
|
4094
4094
|
}, [
|
|
4095
4095
|
h(d, {
|
|
@@ -4097,7 +4097,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4097
4097
|
size: "auto"
|
|
4098
4098
|
})
|
|
4099
4099
|
], 2),
|
|
4100
|
-
|
|
4100
|
+
v("input", {
|
|
4101
4101
|
type: "text",
|
|
4102
4102
|
class: l(c.model.cssClasses.filterInput),
|
|
4103
4103
|
"aria-label": c.model.filterStringPlaceholder,
|
|
@@ -4108,7 +4108,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4108
4108
|
}, null, 42, St),
|
|
4109
4109
|
c.model.showSearchClearButton && !!c.model.filterString ? (i(), u("button", {
|
|
4110
4110
|
key: 0,
|
|
4111
|
-
onClick:
|
|
4111
|
+
onClick: p[0] || (p[0] = (k) => {
|
|
4112
4112
|
c.model.onClickSearchClearButton(k);
|
|
4113
4113
|
}),
|
|
4114
4114
|
class: l(c.model.cssClasses.searchClearButtonIcon)
|
|
@@ -4119,10 +4119,10 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4119
4119
|
})
|
|
4120
4120
|
], 2)) : m("", !0)
|
|
4121
4121
|
], 2)) : m("", !0),
|
|
4122
|
-
N(
|
|
4122
|
+
N(v("div", {
|
|
4123
4123
|
class: l(c.model.cssClasses.emptyContainer)
|
|
4124
4124
|
}, [
|
|
4125
|
-
|
|
4125
|
+
v("div", {
|
|
4126
4126
|
class: l(c.model.cssClasses.emptyText),
|
|
4127
4127
|
"aria-label": c.model.emptyMessage
|
|
4128
4128
|
}, T(c.model.emptyMessage), 11, Rt)
|
|
@@ -4134,11 +4134,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4134
4134
|
class: l(c.model.getListClass()),
|
|
4135
4135
|
role: "listbox",
|
|
4136
4136
|
id: c.model.elementId,
|
|
4137
|
-
onMousedown:
|
|
4137
|
+
onMousedown: p[1] || (p[1] = (k) => {
|
|
4138
4138
|
k.preventDefault();
|
|
4139
4139
|
}),
|
|
4140
4140
|
onMousemove: o,
|
|
4141
|
-
onKeydown:
|
|
4141
|
+
onKeydown: p[2] || (p[2] = (k) => {
|
|
4142
4142
|
c.model.onKeyDown(k);
|
|
4143
4143
|
})
|
|
4144
4144
|
}, [
|
|
@@ -4160,44 +4160,48 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4160
4160
|
item: {}
|
|
4161
4161
|
},
|
|
4162
4162
|
setup(r) {
|
|
4163
|
-
const s = r, n =
|
|
4164
|
-
s.model.onItemClick(s.item),
|
|
4163
|
+
const s = r, n = I(() => s.item.elementId), e = (o) => {
|
|
4164
|
+
s.model.onItemClick(s.item), o.stopPropagation();
|
|
4165
4165
|
};
|
|
4166
|
-
|
|
4166
|
+
B(() => s.item);
|
|
4167
|
+
const t = I(
|
|
4168
|
+
() => s.item.component || s.model.itemComponent
|
|
4169
|
+
);
|
|
4170
|
+
return M(() => {
|
|
4167
4171
|
setTimeout(() => {
|
|
4168
4172
|
s.model.onLastItemRended(s.item);
|
|
4169
4173
|
});
|
|
4170
|
-
}), (
|
|
4171
|
-
const
|
|
4174
|
+
}), (o, a) => {
|
|
4175
|
+
const c = X("key2click");
|
|
4172
4176
|
return N((i(), u("li", {
|
|
4173
4177
|
role: "option",
|
|
4174
|
-
"aria-selected":
|
|
4175
|
-
key:
|
|
4178
|
+
"aria-selected": o.model.isItemSelected(o.item),
|
|
4179
|
+
key: o.item.id,
|
|
4176
4180
|
id: n.value,
|
|
4177
|
-
onPointerdown:
|
|
4178
|
-
class: l(
|
|
4181
|
+
onPointerdown: a[2] || (a[2] = (p) => o.model.onPointerDown(p, o.item)),
|
|
4182
|
+
class: l(o.model.getItemClass(o.item)),
|
|
4179
4183
|
onClick: e,
|
|
4180
|
-
tabindex:
|
|
4184
|
+
tabindex: o.item.disableTabStop ? -1 : 0
|
|
4181
4185
|
}, [
|
|
4182
|
-
|
|
4186
|
+
o.item.needSeparator ? (i(), u("div", {
|
|
4183
4187
|
key: 0,
|
|
4184
|
-
class: l(
|
|
4188
|
+
class: l(o.model.cssClasses.itemSeparator)
|
|
4185
4189
|
}, null, 2)) : m("", !0),
|
|
4186
|
-
|
|
4187
|
-
style:
|
|
4188
|
-
class: l(
|
|
4189
|
-
title:
|
|
4190
|
-
onMouseover:
|
|
4191
|
-
onMouseleave:
|
|
4190
|
+
v("div", {
|
|
4191
|
+
style: S({ paddingInlineStart: o.model.getItemIndent(o.item) }),
|
|
4192
|
+
class: l(o.model.cssClasses.itemBody),
|
|
4193
|
+
title: o.item.locTitle.calculatedText,
|
|
4194
|
+
onMouseover: a[0] || (a[0] = (p) => o.model.onItemHover(o.item)),
|
|
4195
|
+
onMouseleave: a[1] || (a[1] = (p) => o.model.onItemLeave(o.item))
|
|
4192
4196
|
}, [
|
|
4193
|
-
(i(), q(R(t.
|
|
4194
|
-
item:
|
|
4195
|
-
model:
|
|
4197
|
+
(i(), q(R(t.value), {
|
|
4198
|
+
item: o.item,
|
|
4199
|
+
model: o.model
|
|
4196
4200
|
}, null, 8, ["item", "model"]))
|
|
4197
4201
|
], 46, _t)
|
|
4198
4202
|
], 42, Dt)), [
|
|
4199
|
-
[E,
|
|
4200
|
-
[
|
|
4203
|
+
[E, o.model.isItemVisible(o.item)],
|
|
4204
|
+
[c, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
4201
4205
|
]);
|
|
4202
4206
|
};
|
|
4203
4207
|
}
|
|
@@ -4239,13 +4243,13 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4239
4243
|
setup(r) {
|
|
4240
4244
|
const s = r;
|
|
4241
4245
|
return B(() => s.item), (n, e) => {
|
|
4242
|
-
const t = y("sv-
|
|
4246
|
+
const t = y("sv-popup");
|
|
4243
4247
|
return i(), u(D, null, [
|
|
4244
|
-
|
|
4248
|
+
(i(), q(R("sv-list-item-content"), {
|
|
4245
4249
|
item: n.item,
|
|
4246
4250
|
model: n.model
|
|
4247
|
-
}, null, 8, ["item", "model"]),
|
|
4248
|
-
h(
|
|
4251
|
+
}, null, 8, ["item", "model"])),
|
|
4252
|
+
h(t, {
|
|
4249
4253
|
model: n.item.popupModel
|
|
4250
4254
|
}, null, 8, ["model"])
|
|
4251
4255
|
], 64);
|
|
@@ -4319,9 +4323,9 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4319
4323
|
e.model.clickOutside(a);
|
|
4320
4324
|
})
|
|
4321
4325
|
}, [
|
|
4322
|
-
|
|
4326
|
+
v("div", {
|
|
4323
4327
|
class: "sv-popup__container",
|
|
4324
|
-
style:
|
|
4328
|
+
style: S({
|
|
4325
4329
|
left: e.model.left,
|
|
4326
4330
|
top: e.model.top,
|
|
4327
4331
|
height: e.model.height,
|
|
@@ -4330,15 +4334,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4330
4334
|
}),
|
|
4331
4335
|
onClick: n
|
|
4332
4336
|
}, [
|
|
4333
|
-
|
|
4337
|
+
v("div", Pt, [
|
|
4334
4338
|
e.model.showHeader ? (i(), q(R(e.model.popupHeaderTemplate), {
|
|
4335
4339
|
key: 0,
|
|
4336
4340
|
model: e.model
|
|
4337
4341
|
}, null, 8, ["model"])) : m("", !0),
|
|
4338
|
-
|
|
4342
|
+
v("div", Mt, [
|
|
4339
4343
|
e.model.title ? (i(), u("div", Ht, T(e.model.title), 1)) : m("", !0),
|
|
4340
|
-
|
|
4341
|
-
|
|
4344
|
+
v("div", Et, [
|
|
4345
|
+
v("div", Wt, [
|
|
4342
4346
|
(i(), q(R(e.model.contentComponentName), z(te(e.model.contentComponentData)), null, 16))
|
|
4343
4347
|
])
|
|
4344
4348
|
]),
|
|
@@ -4363,7 +4367,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4363
4367
|
setup(r) {
|
|
4364
4368
|
return (s, n) => (i(), u("span", {
|
|
4365
4369
|
class: "sv-popup__pointer",
|
|
4366
|
-
style:
|
|
4370
|
+
style: S({
|
|
4367
4371
|
left: s.model.pointerTarget.left,
|
|
4368
4372
|
top: s.model.pointerTarget.top
|
|
4369
4373
|
})
|
|
@@ -4377,7 +4381,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4377
4381
|
needRenderWrapper: {}
|
|
4378
4382
|
},
|
|
4379
4383
|
setup(r) {
|
|
4380
|
-
const s = r, n =
|
|
4384
|
+
const s = r, n = I(
|
|
4381
4385
|
() => s.survey.getContainerContent(s.container)
|
|
4382
4386
|
);
|
|
4383
4387
|
return (e, t) => n.value.length > 0 ? (i(), u(D, { key: 0 }, [
|
|
@@ -4405,23 +4409,23 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4405
4409
|
css: {}
|
|
4406
4410
|
},
|
|
4407
4411
|
setup(r) {
|
|
4408
|
-
const s = r, n =
|
|
4412
|
+
const s = r, n = I(() => s.survey.progressValue + "%"), e = (o) => ae.getProgressTextInBarCss(o), t = (o) => ae.getProgressTextUnderBarCss(o);
|
|
4409
4413
|
return (o, a) => (i(), u("div", {
|
|
4410
4414
|
class: l(o.survey.getProgressCssClasses(o.container))
|
|
4411
4415
|
}, [
|
|
4412
|
-
|
|
4416
|
+
v("div", {
|
|
4413
4417
|
class: l(o.survey.css.progressBar),
|
|
4414
|
-
style:
|
|
4418
|
+
style: S({ width: n.value }),
|
|
4415
4419
|
role: "progressbar",
|
|
4416
4420
|
"aria-valuemin": "0",
|
|
4417
4421
|
"aria-valuemax": "100",
|
|
4418
4422
|
"aria-label": "progress"
|
|
4419
4423
|
}, [
|
|
4420
|
-
|
|
4424
|
+
v("span", {
|
|
4421
4425
|
class: l(e(o.survey.css))
|
|
4422
4426
|
}, T(o.survey.progressText), 3)
|
|
4423
4427
|
], 6),
|
|
4424
|
-
|
|
4428
|
+
v("span", {
|
|
4425
4429
|
class: l(t(o.survey.css))
|
|
4426
4430
|
}, T(o.survey.progressText), 3)
|
|
4427
4431
|
], 2));
|
|
@@ -4434,15 +4438,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4434
4438
|
container: {}
|
|
4435
4439
|
},
|
|
4436
4440
|
setup(r) {
|
|
4437
|
-
const s = r, n = $(!1), e = $(!1), t = $(!1), o = $(!0), a = $(), c =
|
|
4438
|
-
let
|
|
4441
|
+
const s = r, n = $(!1), e = $(!1), t = $(!1), o = $(!0), a = $(), c = I(() => s.survey.css);
|
|
4442
|
+
let p = null;
|
|
4439
4443
|
const d = (C) => {
|
|
4440
4444
|
let k = a.value;
|
|
4441
4445
|
k.scrollLeft += (C ? -1 : 1) * 70;
|
|
4442
4446
|
};
|
|
4443
4447
|
return M(() => {
|
|
4444
4448
|
const C = a.value;
|
|
4445
|
-
|
|
4449
|
+
p = new He(s.model, C, {
|
|
4446
4450
|
onResize: (k) => {
|
|
4447
4451
|
o.value = k, e.value = !k;
|
|
4448
4452
|
},
|
|
@@ -4452,15 +4456,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4452
4456
|
onUpdateSettings: () => {
|
|
4453
4457
|
o.value = s.model.showItemTitles, t.value = !s.model.showItemTitles;
|
|
4454
4458
|
},
|
|
4455
|
-
container:
|
|
4459
|
+
container: I(() => s.container)
|
|
4456
4460
|
});
|
|
4457
4461
|
}), j(() => {
|
|
4458
|
-
|
|
4462
|
+
p.dispose();
|
|
4459
4463
|
}), (C, k) => {
|
|
4460
4464
|
const f = y("survey-string");
|
|
4461
4465
|
return i(), u("div", {
|
|
4462
4466
|
class: l(C.model.getRootCss(C.container)),
|
|
4463
|
-
style:
|
|
4467
|
+
style: S({ maxWidth: C.model.progressWidth }),
|
|
4464
4468
|
role: "progressbar",
|
|
4465
4469
|
"aria-valuemin": "0",
|
|
4466
4470
|
"aria-valuemax": "100",
|
|
@@ -4470,25 +4474,25 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4470
4474
|
key: 0,
|
|
4471
4475
|
class: l(C.survey.css.progressButtonsHeader)
|
|
4472
4476
|
}, [
|
|
4473
|
-
|
|
4477
|
+
v("div", {
|
|
4474
4478
|
class: l(C.survey.css.progressButtonsPageTitle),
|
|
4475
4479
|
title: C.model.headerText
|
|
4476
4480
|
}, T(C.model.headerText), 11, Ut)
|
|
4477
4481
|
], 2)) : m("", !0),
|
|
4478
|
-
|
|
4482
|
+
v("div", {
|
|
4479
4483
|
class: l(c.value.progressButtonsContainer)
|
|
4480
4484
|
}, [
|
|
4481
|
-
|
|
4485
|
+
v("div", {
|
|
4482
4486
|
class: l(C.model.getScrollButtonCss(n.value, !0)),
|
|
4483
4487
|
onClick: k[0] || (k[0] = (_) => d(!0)),
|
|
4484
4488
|
role: "button"
|
|
4485
4489
|
}, null, 2),
|
|
4486
|
-
|
|
4490
|
+
v("div", {
|
|
4487
4491
|
class: l(c.value.progressButtonsListContainer),
|
|
4488
4492
|
ref_key: "progressButtonsListContainer",
|
|
4489
4493
|
ref: a
|
|
4490
4494
|
}, [
|
|
4491
|
-
|
|
4495
|
+
v("ul", {
|
|
4492
4496
|
class: l(c.value.progressButtonsList)
|
|
4493
4497
|
}, [
|
|
4494
4498
|
(i(!0), u(D, null, L(C.survey.visiblePages, (_, b) => (i(), u("li", {
|
|
@@ -4497,7 +4501,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4497
4501
|
onClick: (A) => C.model.isListElementClickable(b) ? C.model.clickListElement(_) : null,
|
|
4498
4502
|
"data-page-number": C.model.getItemNumber(_)
|
|
4499
4503
|
}, [
|
|
4500
|
-
|
|
4504
|
+
v("div", {
|
|
4501
4505
|
class: l(c.value.progressButtonsConnector)
|
|
4502
4506
|
}, null, 2),
|
|
4503
4507
|
o.value ? (i(), u("div", {
|
|
@@ -4514,21 +4518,21 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4514
4518
|
class: l(c.value.progressButtonsPageDescription),
|
|
4515
4519
|
title: _.locNavigationDescription.renderedHtml
|
|
4516
4520
|
}, T(_.locNavigationDescription.renderedHtml), 11, jt)) : m("", !0),
|
|
4517
|
-
|
|
4521
|
+
v("div", {
|
|
4518
4522
|
class: l(c.value.progressButtonsButton)
|
|
4519
4523
|
}, [
|
|
4520
|
-
|
|
4524
|
+
v("div", {
|
|
4521
4525
|
class: l(c.value.progressButtonsButtonBackground)
|
|
4522
4526
|
}, null, 2),
|
|
4523
|
-
|
|
4527
|
+
v("div", {
|
|
4524
4528
|
class: l(c.value.progressButtonsButtonContent)
|
|
4525
4529
|
}, null, 2),
|
|
4526
|
-
|
|
4530
|
+
v("span", null, T(C.model.getItemNumber(_)), 1)
|
|
4527
4531
|
], 2)
|
|
4528
4532
|
], 10, Kt))), 128))
|
|
4529
4533
|
], 2)
|
|
4530
4534
|
], 2),
|
|
4531
|
-
|
|
4535
|
+
v("div", {
|
|
4532
4536
|
class: l(C.model.getScrollButtonCss(n.value, !1)),
|
|
4533
4537
|
onClick: k[1] || (k[1] = (_) => d(!1)),
|
|
4534
4538
|
role: "button"
|
|
@@ -4538,7 +4542,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4538
4542
|
key: 1,
|
|
4539
4543
|
class: l(C.survey.css.progressButtonsFooter)
|
|
4540
4544
|
}, [
|
|
4541
|
-
|
|
4545
|
+
v("div", {
|
|
4542
4546
|
class: l(C.survey.css.progressButtonsPageTitle),
|
|
4543
4547
|
title: C.model.footerText
|
|
4544
4548
|
}, T(C.model.footerText), 11, Gt)
|
|
@@ -4588,15 +4592,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4588
4592
|
survey: {}
|
|
4589
4593
|
},
|
|
4590
4594
|
setup(r) {
|
|
4591
|
-
const s = r, n = $(), e = $(""), t = $(1), o =
|
|
4595
|
+
const s = r, n = $(), e = $(""), t = $(1), o = I(() => {
|
|
4592
4596
|
const _ = s.survey ? s.survey : s.model;
|
|
4593
4597
|
return Re(_);
|
|
4594
|
-
}), a =
|
|
4598
|
+
}), a = I(() => o.value.activePage ? o.value.activePage.id : ""), c = () => {
|
|
4595
4599
|
const _ = a.value;
|
|
4596
4600
|
return !!o.value && _ + t.value.toString();
|
|
4597
|
-
},
|
|
4601
|
+
}, p = I(
|
|
4598
4602
|
() => o.value.showCompletedPage && o.value.state === "completed"
|
|
4599
|
-
), d =
|
|
4603
|
+
), d = I(() => o.value.css), C = I(() => "page" + c()), k = () => p.value ? (e.value || (e.value = o.value.processedCompletedHtml), e.value) : "", f = (_) => {
|
|
4600
4604
|
if (!!_) {
|
|
4601
4605
|
var b = n.value;
|
|
4602
4606
|
b && _.afterRenderSurvey(b), _.renderCallback = () => {
|
|
@@ -4621,25 +4625,25 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4621
4625
|
const A = y("sv-svg-bundle"), W = y("survey-popup-modal"), F = y("survey-header"), J = y("survey-page"), he = y("sv-brand-info"), Ce = y("sv-notifier");
|
|
4622
4626
|
return i(), u("div", {
|
|
4623
4627
|
class: l(o.value.getRootCss()),
|
|
4624
|
-
style:
|
|
4628
|
+
style: S(o.value.themeVariables),
|
|
4625
4629
|
lang: o.value.locale || "en",
|
|
4626
4630
|
dir: o.value.localeDir,
|
|
4627
4631
|
ref_key: "root",
|
|
4628
4632
|
ref: n
|
|
4629
4633
|
}, [
|
|
4630
4634
|
o.value.needRenderIcons ? (i(), q(A, { key: 0 })) : m("", !0),
|
|
4631
|
-
|
|
4635
|
+
v("div", {
|
|
4632
4636
|
class: l(o.value.wrapperFormCss)
|
|
4633
4637
|
}, [
|
|
4634
4638
|
h(W),
|
|
4635
4639
|
o.value.renderBackgroundImage ? (i(), u("div", {
|
|
4636
4640
|
key: 0,
|
|
4637
4641
|
class: l(d.value.rootBackgroundImage),
|
|
4638
|
-
style:
|
|
4642
|
+
style: S(o.value.backgroundImageStyle)
|
|
4639
4643
|
}, null, 6)) : m("", !0),
|
|
4640
|
-
|
|
4644
|
+
v("form", Zt, [
|
|
4641
4645
|
o.value.hasLogo ? m("", !0) : (i(), u("div", xt)),
|
|
4642
|
-
|
|
4646
|
+
v("div", {
|
|
4643
4647
|
class: l(d.value.container)
|
|
4644
4648
|
}, [
|
|
4645
4649
|
o.value.headerView === "basic" ? (i(), q(F, {
|
|
@@ -4660,15 +4664,15 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4660
4664
|
container: "left",
|
|
4661
4665
|
needRenderWrapper: !0
|
|
4662
4666
|
}, null, 8, ["survey"])),
|
|
4663
|
-
|
|
4667
|
+
v("div", ei, [
|
|
4664
4668
|
(i(), q(R("sv-components-container"), {
|
|
4665
4669
|
survey: o.value,
|
|
4666
4670
|
container: "center",
|
|
4667
4671
|
needRenderWrapper: !0
|
|
4668
4672
|
}, null, 8, ["survey"])),
|
|
4669
|
-
|
|
4673
|
+
v("div", {
|
|
4670
4674
|
class: l(o.value.bodyCss),
|
|
4671
|
-
style:
|
|
4675
|
+
style: S({ maxWidth: o.value.renderedWidth }),
|
|
4672
4676
|
id: a.value
|
|
4673
4677
|
}, [
|
|
4674
4678
|
(i(), q(R("sv-components-container"), {
|
|
@@ -4701,8 +4705,8 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4701
4705
|
container: "footer",
|
|
4702
4706
|
needRenderWrapper: !1
|
|
4703
4707
|
}, null, 8, ["survey"])),
|
|
4704
|
-
|
|
4705
|
-
|
|
4708
|
+
p.value ? (i(), u("div", ni, [
|
|
4709
|
+
v("div", {
|
|
4706
4710
|
innerHTML: k(),
|
|
4707
4711
|
class: l(o.value.completedCss)
|
|
4708
4712
|
}, null, 10, oi),
|
|
@@ -4747,11 +4751,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4747
4751
|
return n.model.isDisplayed ? (i(), u("div", {
|
|
4748
4752
|
key: 0,
|
|
4749
4753
|
class: l(n.model.css),
|
|
4750
|
-
style:
|
|
4754
|
+
style: S({ visibility: n.model.active ? "visible" : "hidden" }),
|
|
4751
4755
|
role: "alert",
|
|
4752
4756
|
"aria-live": "polite"
|
|
4753
4757
|
}, [
|
|
4754
|
-
|
|
4758
|
+
v("span", null, T(n.model.message), 1),
|
|
4755
4759
|
h(t, {
|
|
4756
4760
|
model: n.model.actionBar
|
|
4757
4761
|
}, null, 8, ["model"])
|
|
@@ -4780,7 +4784,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4780
4784
|
placeholder: s.question.otherPlaceholder,
|
|
4781
4785
|
"aria-label": s.question.ariaLabel || s.question.a11y_input_ariaLabel,
|
|
4782
4786
|
"aria-required": s.question.ariaRequired || s.question.a11y_input_ariaRequired,
|
|
4783
|
-
style:
|
|
4787
|
+
style: S({ resize: s.question.resizeStyle }),
|
|
4784
4788
|
onChange: n[0] || (n[0] = (e) => {
|
|
4785
4789
|
s.question.onOtherValueChange(e);
|
|
4786
4790
|
}),
|
|
@@ -4820,11 +4824,11 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4820
4824
|
closeOnCompleteTimeout: {}
|
|
4821
4825
|
},
|
|
4822
4826
|
setup(r) {
|
|
4823
|
-
const s = r, n = U(), e =
|
|
4824
|
-
|
|
4827
|
+
const s = r, n = U(), e = I(() => s.survey ? s.survey.getCss() : {});
|
|
4828
|
+
I(() => {
|
|
4825
4829
|
var k;
|
|
4826
4830
|
return (k = n.value) != null && k.isExpanded ? e.value.window.header.buttonCollapsed : e.value.window.header.buttonExpanded;
|
|
4827
|
-
}),
|
|
4831
|
+
}), I(() => {
|
|
4828
4832
|
var k;
|
|
4829
4833
|
return (k = n.value) == null ? void 0 : k.isExpanded;
|
|
4830
4834
|
});
|
|
@@ -4834,7 +4838,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4834
4838
|
n.value.hide(), s.onClose && s.onClose();
|
|
4835
4839
|
}, a = () => {
|
|
4836
4840
|
n.value.toggleFullScreen();
|
|
4837
|
-
}, c = () => "SurveyComponent",
|
|
4841
|
+
}, c = () => "SurveyComponent", p = () => {
|
|
4838
4842
|
n.value.onScroll();
|
|
4839
4843
|
}, d = () => {
|
|
4840
4844
|
let k = n.value.cssHeaderRoot;
|
|
@@ -4857,21 +4861,21 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4857
4861
|
const _ = y("sv-svg-icon");
|
|
4858
4862
|
return n.value.isShowing ? (i(), u("div", {
|
|
4859
4863
|
key: 0,
|
|
4860
|
-
style:
|
|
4864
|
+
style: S({ maxWidth: n.value.renderedWidth, width: n.value.renderedWidth }),
|
|
4861
4865
|
class: l(n.value.cssRoot),
|
|
4862
|
-
onScroll:
|
|
4866
|
+
onScroll: p
|
|
4863
4867
|
}, [
|
|
4864
|
-
|
|
4868
|
+
v("div", {
|
|
4865
4869
|
class: l(n.value.cssRootContent)
|
|
4866
4870
|
}, [
|
|
4867
|
-
|
|
4871
|
+
v("div", {
|
|
4868
4872
|
class: l(d())
|
|
4869
4873
|
}, [
|
|
4870
4874
|
n.value.isCollapsed && !!n.value.locTitle ? (i(), u("div", {
|
|
4871
4875
|
key: 0,
|
|
4872
4876
|
class: l(n.value.cssHeaderTitleCollapsed)
|
|
4873
4877
|
}, T(n.value.locTitle.renderedHtml), 3)) : m("", !0),
|
|
4874
|
-
|
|
4878
|
+
v("div", {
|
|
4875
4879
|
class: l(n.value.cssHeaderButtonsContainer)
|
|
4876
4880
|
}, [
|
|
4877
4881
|
n.value.allowFullScreen ? (i(), u("div", {
|
|
@@ -4890,7 +4894,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4890
4894
|
size: 16
|
|
4891
4895
|
}))
|
|
4892
4896
|
], 2)) : m("", !0),
|
|
4893
|
-
|
|
4897
|
+
v("div", {
|
|
4894
4898
|
class: l(n.value.cssHeaderCollapseButton),
|
|
4895
4899
|
onClick: t
|
|
4896
4900
|
}, [
|
|
@@ -4917,7 +4921,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4917
4921
|
], 2)) : m("", !0)
|
|
4918
4922
|
], 2)
|
|
4919
4923
|
], 2),
|
|
4920
|
-
|
|
4924
|
+
v("div", {
|
|
4921
4925
|
class: l(n.value.cssBody)
|
|
4922
4926
|
}, [
|
|
4923
4927
|
(i(), q(R(c()), { survey: k.survey }, null, 8, ["survey"]))
|
|
@@ -4933,16 +4937,16 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4933
4937
|
css: {}
|
|
4934
4938
|
},
|
|
4935
4939
|
setup(r) {
|
|
4936
|
-
const s = r, n = $(), e =
|
|
4940
|
+
const s = r, n = $(), e = I(
|
|
4937
4941
|
() => s.question.customWidget.isDefaultRender
|
|
4938
|
-
), t =
|
|
4942
|
+
), t = I(
|
|
4939
4943
|
() => !!s.question.customWidget.htmlTemplate
|
|
4940
|
-
), o =
|
|
4944
|
+
), o = I(() => s.question.customWidget.htmlTemplate), a = I(() => "survey-" + s.question.getTemplate());
|
|
4941
4945
|
return M(() => {
|
|
4942
4946
|
s.question.customWidget.afterRender(s.question, n.value);
|
|
4943
4947
|
}), j(() => {
|
|
4944
4948
|
s.question.customWidget.willUnmount(s.question, n.value);
|
|
4945
|
-
}), (c,
|
|
4949
|
+
}), (c, p) => (i(), u("div", {
|
|
4946
4950
|
ref_key: "root",
|
|
4947
4951
|
ref: n
|
|
4948
4952
|
}, [
|
|
@@ -4961,7 +4965,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4961
4965
|
__name: "PopupModal",
|
|
4962
4966
|
setup(r) {
|
|
4963
4967
|
const s = U();
|
|
4964
|
-
function n(t, o, a, c,
|
|
4968
|
+
function n(t, o, a, c, p, d, C = "popup") {
|
|
4965
4969
|
const k = We(
|
|
4966
4970
|
t,
|
|
4967
4971
|
o,
|
|
@@ -4969,7 +4973,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4969
4973
|
c,
|
|
4970
4974
|
void 0,
|
|
4971
4975
|
void 0,
|
|
4972
|
-
|
|
4976
|
+
p,
|
|
4973
4977
|
d,
|
|
4974
4978
|
C
|
|
4975
4979
|
);
|
|
@@ -4979,7 +4983,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
4979
4983
|
const a = Fe(
|
|
4980
4984
|
t,
|
|
4981
4985
|
o
|
|
4982
|
-
), c = (
|
|
4986
|
+
), c = (p, d) => {
|
|
4983
4987
|
d.isVisible || (s.value = void 0, a.dispose(), a.onVisibilityChanged.remove(c));
|
|
4984
4988
|
};
|
|
4985
4989
|
return a.onVisibilityChanged.add(c), a.model.isVisible = !0, s.value = a, a;
|
|
@@ -5020,7 +5024,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5020
5024
|
setup(r) {
|
|
5021
5025
|
const s = r, n = $(null);
|
|
5022
5026
|
P(s, n);
|
|
5023
|
-
const e =
|
|
5027
|
+
const e = I(() => s.question.contentPanel);
|
|
5024
5028
|
return (t, o) => {
|
|
5025
5029
|
const a = y("survey-panel");
|
|
5026
5030
|
return i(), q(a, {
|
|
@@ -5041,14 +5045,14 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5041
5045
|
setup(r) {
|
|
5042
5046
|
const s = r, n = $(null);
|
|
5043
5047
|
P(s, n);
|
|
5044
|
-
const e =
|
|
5048
|
+
const e = I(() => s.question.contentQuestion), t = (o) => re(o);
|
|
5045
5049
|
return (o, a) => (i(), q(R(t(e.value)), {
|
|
5046
5050
|
ref: n.value,
|
|
5047
5051
|
question: e.value,
|
|
5048
5052
|
css: o.css
|
|
5049
5053
|
}, null, 8, ["question", "css"]));
|
|
5050
5054
|
}
|
|
5051
|
-
}), hi = /* @__PURE__ */
|
|
5055
|
+
}), hi = /* @__PURE__ */ v("use", { "xlink:href": "#icon-timercircle" }, null, -1), Ci = [
|
|
5052
5056
|
hi
|
|
5053
5057
|
], pe = 440, bi = /* @__PURE__ */ g({
|
|
5054
5058
|
__name: "TimerPanel",
|
|
@@ -5057,7 +5061,7 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5057
5061
|
css: {}
|
|
5058
5062
|
},
|
|
5059
5063
|
setup(r) {
|
|
5060
|
-
const s = r, n =
|
|
5064
|
+
const s = r, n = I(() => pe * s.model.progress), e = I(() => s.model.text);
|
|
5061
5065
|
return B(() => s.model), (t, o) => t.model.isRunning && t.model.showTimerAsClock ? (i(), u("div", {
|
|
5062
5066
|
key: 0,
|
|
5063
5067
|
class: l(t.model.rootCss)
|
|
@@ -5065,12 +5069,12 @@ const ut = /* @__PURE__ */ ge(tt, [["render", at]]), dt = /* @__PURE__ */ p("use
|
|
|
5065
5069
|
t.model.showProgress ? (i(), u("svg", {
|
|
5066
5070
|
key: 0,
|
|
5067
5071
|
class: l(t.model.getProgressCss()),
|
|
5068
|
-
style:
|
|
5072
|
+
style: S({ strokeDasharray: pe, strokeDashoffset: n.value })
|
|
5069
5073
|
}, Ci, 6)) : m("", !0),
|
|
5070
|
-
|
|
5074
|
+
v("div", {
|
|
5071
5075
|
class: l(t.model.textContainerCss)
|
|
5072
5076
|
}, [
|
|
5073
|
-
|
|
5077
|
+
v("span", {
|
|
5074
5078
|
class: l(t.model.majorTextCss)
|
|
5075
5079
|
}, T(t.model.clockMajorText), 3),
|
|
5076
5080
|
t.model.clockMinorText ? (i(), u("span", {
|
|
@@ -5111,17 +5115,17 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5111
5115
|
return n.survey.headerView === "advanced" ? (i(), u("div", {
|
|
5112
5116
|
key: 0,
|
|
5113
5117
|
class: l(n.model.headerClasses),
|
|
5114
|
-
style:
|
|
5118
|
+
style: S({ height: n.model.renderedHeight })
|
|
5115
5119
|
}, [
|
|
5116
5120
|
n.model.backgroundImage ? (i(), u("div", {
|
|
5117
5121
|
key: 0,
|
|
5118
5122
|
class: l(n.model.backgroundImageClasses),
|
|
5119
|
-
style:
|
|
5123
|
+
style: S(n.model.backgroundImageStyle)
|
|
5120
5124
|
}, null, 6)) : m("", !0),
|
|
5121
5125
|
n.survey.isMobile ? m("", !0) : (i(), u("div", {
|
|
5122
5126
|
key: 1,
|
|
5123
5127
|
class: l(n.model.contentClasses),
|
|
5124
|
-
style:
|
|
5128
|
+
style: S({ maxWidth: n.model.maxWidth })
|
|
5125
5129
|
}, [
|
|
5126
5130
|
(i(!0), u(D, null, L(n.model.cells, (a, c) => (i(), q(t, {
|
|
5127
5131
|
model: a,
|
|
@@ -5147,30 +5151,30 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5147
5151
|
const e = y("survey-element-title"), t = y("survey-string");
|
|
5148
5152
|
return i(), u("div", {
|
|
5149
5153
|
class: l(s.model.css),
|
|
5150
|
-
style:
|
|
5154
|
+
style: S(s.model.style)
|
|
5151
5155
|
}, [
|
|
5152
|
-
|
|
5156
|
+
v("div", {
|
|
5153
5157
|
class: "sv-header__cell-content",
|
|
5154
|
-
style:
|
|
5158
|
+
style: S(s.model.contentStyle)
|
|
5155
5159
|
}, [
|
|
5156
5160
|
s.model.showLogo ? (i(), u("div", Ti, [
|
|
5157
|
-
|
|
5161
|
+
v("div", {
|
|
5158
5162
|
class: l(s.model.survey.logoClassNames)
|
|
5159
5163
|
}, [
|
|
5160
|
-
|
|
5164
|
+
v("img", {
|
|
5161
5165
|
class: l(s.model.survey.css.logoImage),
|
|
5162
5166
|
src: s.model.survey.locLogo.renderedHtml,
|
|
5163
5167
|
width: s.model.survey.renderedLogoWidth,
|
|
5164
5168
|
height: s.model.survey.renderedLogoHeight,
|
|
5165
5169
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5166
|
-
style:
|
|
5170
|
+
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5167
5171
|
}, null, 14, $i)
|
|
5168
5172
|
], 2)
|
|
5169
5173
|
])) : m("", !0),
|
|
5170
5174
|
s.model.showTitle ? (i(), u("div", {
|
|
5171
5175
|
key: 1,
|
|
5172
5176
|
class: "sv-header__title",
|
|
5173
|
-
style:
|
|
5177
|
+
style: S({ maxWidth: s.model.textAreaWidth })
|
|
5174
5178
|
}, [
|
|
5175
5179
|
h(e, {
|
|
5176
5180
|
element: s.model.survey,
|
|
@@ -5180,7 +5184,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5180
5184
|
s.model.showDescription ? (i(), u("div", {
|
|
5181
5185
|
key: 2,
|
|
5182
5186
|
class: "sv-header__description",
|
|
5183
|
-
style:
|
|
5187
|
+
style: S({ maxWidth: s.model.textAreaWidth })
|
|
5184
5188
|
}, [
|
|
5185
5189
|
s.model.survey.renderedHasDescription ? (i(), u("div", {
|
|
5186
5190
|
key: 0,
|
|
@@ -5208,23 +5212,23 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5208
5212
|
const e = y("survey-element-title"), t = y("survey-string");
|
|
5209
5213
|
return i(), u("div", _i, [
|
|
5210
5214
|
s.model.survey.hasLogo ? (i(), u("div", Bi, [
|
|
5211
|
-
|
|
5215
|
+
v("div", {
|
|
5212
5216
|
class: l(s.model.survey.logoClassNames)
|
|
5213
5217
|
}, [
|
|
5214
|
-
|
|
5218
|
+
v("img", {
|
|
5215
5219
|
class: l(s.model.survey.css.logoImage),
|
|
5216
5220
|
src: s.model.survey.locLogo.renderedHtml,
|
|
5217
5221
|
width: s.model.survey.renderedLogoWidth,
|
|
5218
5222
|
height: s.model.survey.renderedLogoHeight,
|
|
5219
5223
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
5220
|
-
style:
|
|
5224
|
+
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
5221
5225
|
}, null, 14, Li)
|
|
5222
5226
|
], 2)
|
|
5223
5227
|
])) : m("", !0),
|
|
5224
5228
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
5225
5229
|
key: 1,
|
|
5226
5230
|
class: "sv-header__title",
|
|
5227
|
-
style:
|
|
5231
|
+
style: S({ maxWidth: s.model.renderedtextAreaWidth })
|
|
5228
5232
|
}, [
|
|
5229
5233
|
h(e, {
|
|
5230
5234
|
element: s.model.survey,
|
|
@@ -5234,7 +5238,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5234
5238
|
s.model.survey.renderedHasDescription ? (i(), u("div", {
|
|
5235
5239
|
key: 2,
|
|
5236
5240
|
class: "sv-header__description",
|
|
5237
|
-
style:
|
|
5241
|
+
style: S({ maxWidth: s.model.renderedtextAreaWidth })
|
|
5238
5242
|
}, [
|
|
5239
5243
|
s.model.survey.renderedHasDescription ? (i(), u("div", {
|
|
5240
5244
|
key: 0,
|
|
@@ -5256,21 +5260,21 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5256
5260
|
css: {}
|
|
5257
5261
|
},
|
|
5258
5262
|
setup(r) {
|
|
5259
|
-
const s = r, n = $(), e = (
|
|
5260
|
-
const
|
|
5261
|
-
if (
|
|
5262
|
-
const d =
|
|
5263
|
+
const s = r, n = $(), e = (p) => p.isPanel ? "survey-panel" : "survey-question", t = I(() => {
|
|
5264
|
+
const p = s.element.survey;
|
|
5265
|
+
if (p) {
|
|
5266
|
+
const d = p.getElementWrapperComponentName(s.element);
|
|
5263
5267
|
if (d)
|
|
5264
5268
|
return d;
|
|
5265
5269
|
}
|
|
5266
5270
|
return e(s.element);
|
|
5267
|
-
}), o = (
|
|
5268
|
-
const
|
|
5271
|
+
}), o = (p) => p.cssClasses ? p.rootStyle : {}, a = I(() => {
|
|
5272
|
+
const p = s.element, d = p.survey;
|
|
5269
5273
|
let C;
|
|
5270
|
-
return d && (C = d.getElementWrapperComponentData(
|
|
5271
|
-
componentName: e(
|
|
5274
|
+
return d && (C = d.getElementWrapperComponentData(p)), {
|
|
5275
|
+
componentName: e(p),
|
|
5272
5276
|
componentData: {
|
|
5273
|
-
element:
|
|
5277
|
+
element: p,
|
|
5274
5278
|
survey: d,
|
|
5275
5279
|
row: s.row,
|
|
5276
5280
|
css: s.css,
|
|
@@ -5279,24 +5283,24 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5279
5283
|
};
|
|
5280
5284
|
}), c = K(
|
|
5281
5285
|
() => s.element,
|
|
5282
|
-
(
|
|
5283
|
-
d && d.setWrapperElement(void 0),
|
|
5286
|
+
(p, d) => {
|
|
5287
|
+
d && d.setWrapperElement(void 0), p.setWrapperElement(n.value);
|
|
5284
5288
|
}
|
|
5285
5289
|
);
|
|
5286
5290
|
return M(() => {
|
|
5287
5291
|
s.element.setWrapperElement(n.value);
|
|
5288
5292
|
}), O(() => {
|
|
5289
5293
|
s.element.setWrapperElement(void 0), c();
|
|
5290
|
-
}), (
|
|
5294
|
+
}), (p, d) => (i(), u("div", {
|
|
5291
5295
|
ref_key: "root",
|
|
5292
5296
|
ref: n,
|
|
5293
|
-
style:
|
|
5294
|
-
class: l(
|
|
5297
|
+
style: S(o(p.element)),
|
|
5298
|
+
class: l(p.element.cssClasses.questionWrapper)
|
|
5295
5299
|
}, [
|
|
5296
|
-
|
|
5300
|
+
p.row.isNeedRender ? (i(), q(R(t.value), z(H({ key: 0 }, a.value)), null, 16)) : p.element.skeletonComponentName ? (i(), q(R(p.element.skeletonComponentName), {
|
|
5297
5301
|
key: 1,
|
|
5298
|
-
element:
|
|
5299
|
-
css:
|
|
5302
|
+
element: p.element,
|
|
5303
|
+
css: p.css
|
|
5300
5304
|
}, null, 8, ["element", "css"])) : m("", !0)
|
|
5301
5305
|
], 6));
|
|
5302
5306
|
}
|
|
@@ -5307,7 +5311,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5307
5311
|
componentData: {}
|
|
5308
5312
|
},
|
|
5309
5313
|
setup(r) {
|
|
5310
|
-
const s = $e(), n =
|
|
5314
|
+
const s = $e(), n = I(() => !!s.default);
|
|
5311
5315
|
return (e, t) => n.value && !e.componentName ? De(e.$slots, "default", { key: 0 }) : (i(), q(R(e.componentName), z(H({ key: 1 }, e.componentData)), null, 16));
|
|
5312
5316
|
}
|
|
5313
5317
|
}), Mi = /* @__PURE__ */ g({
|
|
@@ -5324,7 +5328,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5324
5328
|
class: l(s.css),
|
|
5325
5329
|
onClick: n[0] || (n[0] = (...t) => s.question.doClean && s.question.doClean(...t))
|
|
5326
5330
|
}, [
|
|
5327
|
-
|
|
5331
|
+
v("span", null, T(s.question.clearButtonCaption), 1),
|
|
5328
5332
|
s.question.cssClasses.removeButtonIconId ? (i(), q(e, {
|
|
5329
5333
|
key: 0,
|
|
5330
5334
|
iconName: s.question.cssClasses.removeButtonIconId,
|
|
@@ -5351,7 +5355,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5351
5355
|
h(e, {
|
|
5352
5356
|
item: s.question.closeCameraAction
|
|
5353
5357
|
}, null, 8, ["item"]),
|
|
5354
|
-
|
|
5358
|
+
v("video", {
|
|
5355
5359
|
autoplay: "",
|
|
5356
5360
|
playsinline: "",
|
|
5357
5361
|
id: s.question.videoId,
|
|
@@ -5370,7 +5374,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5370
5374
|
item: {}
|
|
5371
5375
|
},
|
|
5372
5376
|
setup(r) {
|
|
5373
|
-
const s = r, n =
|
|
5377
|
+
const s = r, n = I(
|
|
5374
5378
|
() => {
|
|
5375
5379
|
var e;
|
|
5376
5380
|
return ((e = s.data) == null ? void 0 : e.question) || s.item.data.question;
|
|
@@ -5391,7 +5395,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5391
5395
|
iconName: n.value.cssClasses.chooseFileIconId,
|
|
5392
5396
|
size: "auto"
|
|
5393
5397
|
}, null, 8, ["title", "iconName"])) : m("", !0),
|
|
5394
|
-
|
|
5398
|
+
v("span", null, T(n.value.chooseButtonText), 1)
|
|
5395
5399
|
], 10, Wi)), [
|
|
5396
5400
|
[a]
|
|
5397
5401
|
]);
|
|
@@ -5418,21 +5422,21 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5418
5422
|
key: 0,
|
|
5419
5423
|
class: l(s.question.cssClasses.fileSign)
|
|
5420
5424
|
}, [
|
|
5421
|
-
|
|
5425
|
+
v("a", {
|
|
5422
5426
|
onClick: (a) => s.question.doDownloadFile(a, t),
|
|
5423
5427
|
href: t.content,
|
|
5424
5428
|
title: t.name,
|
|
5425
5429
|
download: t.name,
|
|
5426
|
-
style:
|
|
5430
|
+
style: S({ width: s.question.imageWidth })
|
|
5427
5431
|
}, T(t.name), 13, Vi)
|
|
5428
5432
|
], 2)) : m("", !0),
|
|
5429
|
-
|
|
5433
|
+
v("div", {
|
|
5430
5434
|
class: l(s.question.getImageWrapperCss(t))
|
|
5431
5435
|
}, [
|
|
5432
5436
|
s.question.canPreviewImage(t) ? (i(), u("img", {
|
|
5433
5437
|
key: 0,
|
|
5434
5438
|
src: t.content,
|
|
5435
|
-
style:
|
|
5439
|
+
style: S({
|
|
5436
5440
|
height: s.question.imageHeight,
|
|
5437
5441
|
width: s.question.imageWidth
|
|
5438
5442
|
}),
|
|
@@ -5449,7 +5453,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5449
5453
|
class: l(s.question.getRemoveButtonCss()),
|
|
5450
5454
|
onClick: (a) => s.question.doRemoveFile(t, a)
|
|
5451
5455
|
}, [
|
|
5452
|
-
|
|
5456
|
+
v("span", {
|
|
5453
5457
|
class: l(s.question.cssClasses.removeFile)
|
|
5454
5458
|
}, T(s.question.removeFileCaption), 3),
|
|
5455
5459
|
s.question.cssClasses.removeFileSvgIconId ? (i(), q(e, {
|
|
@@ -5465,12 +5469,12 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5465
5469
|
key: 1,
|
|
5466
5470
|
class: l(s.question.cssClasses.fileSignBottom)
|
|
5467
5471
|
}, [
|
|
5468
|
-
|
|
5472
|
+
v("a", {
|
|
5469
5473
|
onClick: (a) => s.question.doDownloadFile(a, t),
|
|
5470
5474
|
href: t.content,
|
|
5471
5475
|
title: t.name,
|
|
5472
5476
|
download: t.name,
|
|
5473
|
-
style:
|
|
5477
|
+
style: S({ width: s.question.imageWidth })
|
|
5474
5478
|
}, T(t.name), 13, Ui)
|
|
5475
5479
|
], 2)) : m("", !0)
|
|
5476
5480
|
], 2)), [
|
|
@@ -5511,9 +5515,9 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5511
5515
|
index: {}
|
|
5512
5516
|
},
|
|
5513
5517
|
setup(r) {
|
|
5514
|
-
const s = r, n =
|
|
5518
|
+
const s = r, n = I(
|
|
5515
5519
|
() => new Ve(s.question, s.item, s.index)
|
|
5516
|
-
), e =
|
|
5520
|
+
), e = I({
|
|
5517
5521
|
get: () => s.question.renderedValue,
|
|
5518
5522
|
set: (t) => {
|
|
5519
5523
|
const o = s.question;
|
|
@@ -5527,7 +5531,7 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5527
5531
|
class: l(n.value.css.label),
|
|
5528
5532
|
title: n.value.caption.renderedHtml
|
|
5529
5533
|
}, [
|
|
5530
|
-
N(
|
|
5534
|
+
N(v("input", {
|
|
5531
5535
|
type: "radio",
|
|
5532
5536
|
name: n.value.name,
|
|
5533
5537
|
id: n.value.id,
|
|
@@ -5538,12 +5542,12 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5538
5542
|
"aria-errormessage": n.value.describedBy,
|
|
5539
5543
|
disabled: n.value.readOnly,
|
|
5540
5544
|
class: l(n.value.css.control),
|
|
5541
|
-
"onUpdate:modelValue": o[0] || (o[0] = (
|
|
5545
|
+
"onUpdate:modelValue": o[0] || (o[0] = (p) => e.value = p),
|
|
5542
5546
|
value: n.value.value
|
|
5543
5547
|
}, null, 10, Gi), [
|
|
5544
5548
|
[ee, e.value]
|
|
5545
5549
|
]),
|
|
5546
|
-
|
|
5550
|
+
v("div", {
|
|
5547
5551
|
class: l(n.value.css.decorator)
|
|
5548
5552
|
}, [
|
|
5549
5553
|
n.value.iconName ? (i(), q(a, {
|
|
@@ -5572,17 +5576,17 @@ const Ii = /* @__PURE__ */ ge(ki, [["render", wi]]), Si = { key: 2 }, Ri = /* @_
|
|
|
5572
5576
|
data: {}
|
|
5573
5577
|
},
|
|
5574
5578
|
setup(r) {
|
|
5575
|
-
const s = r, n =
|
|
5579
|
+
const s = r, n = I(() => s.data), e = G(() => n.value.locLogo);
|
|
5576
5580
|
return (t, o) => (i(), u("div", {
|
|
5577
5581
|
class: l(n.value.logoClassNames)
|
|
5578
5582
|
}, [
|
|
5579
|
-
|
|
5583
|
+
v("img", {
|
|
5580
5584
|
class: l(n.value.css.logoImage),
|
|
5581
5585
|
src: w(e),
|
|
5582
5586
|
width: n.value.renderedLogoWidth,
|
|
5583
5587
|
height: n.value.renderedLogoHeight,
|
|
5584
5588
|
alt: n.value.locTitle.renderedHtml,
|
|
5585
|
-
style:
|
|
5589
|
+
style: S({
|
|
5586
5590
|
objectFit: n.value.logoFit,
|
|
5587
5591
|
width: n.value.renderedStyleLogoWidth,
|
|
5588
5592
|
height: n.value.renderedStyleLogoHeight
|