survey-vue3-ui 2.3.4 → 2.3.6
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 +118 -113
- package/survey-vue3-ui.umd.js +3 -3
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Me = Object.defineProperty;
|
|
2
2
|
var Ie = (u, e, n) => e in u ? Me(u, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : u[e] = n;
|
|
3
3
|
var J = (u, e, n) => (Ie(u, typeof e != "symbol" ? e + "" : e, n), n);
|
|
4
|
-
import { defineComponent as y, computed as
|
|
4
|
+
import { defineComponent as y, computed as H, openBlock as i, createBlock as g, resolveDynamicComponent as ce, normalizeProps as ue, guardReactiveProps as de, createSlots as Ve, renderList as V, withCtx as D, renderSlot as x, shallowReactive as Se, watch as W, onBeforeUnmount as O, onMounted as B, ref as f, shallowRef as E, watchEffect as Re, triggerRef as te, unref as w, isRef as Te, nextTick as ge, createElementBlock as a, normalizeClass as r, createVNode as c, createCommentVNode as p, Fragment as M, mergeProps as $, normalizeStyle as k, createElementVNode as v, onUnmounted as P, withDirectives as Z, vShow as A, toDisplayString as I, vModelCheckbox as oe, vModelRadio as ye, vModelSelect as Be, onUpdated as z, vModelText as Ze, getCurrentInstance as he, createStaticVNode as $e, toRaw as De, Teleport as Ae, useSlots as Pe } from "vue";
|
|
5
5
|
import { Base as Ne, ScrollViewModel as Ee, RendererFactory as G, Helpers as We, DropdownMultiSelectListModel as Fe, doKey2ClickUp as qe, createSvg as Oe, doKey2ClickDown as ze, doKey2ClickBlur as Ue, ActionDropdownViewModel as Qe, createPopupViewModel as Ke, SurveyProgressModel as me, ProgressButtonsResponsivityManager as je, addIconsToThemeSet as we, SvgRegistry as _, PopupSurveyModel as Ge, settings as ne, createPopupModalViewModel as Xe, ButtonGroupItemModel as Je, SurveyModel as Ye } from "survey-core";
|
|
6
6
|
const ee = class ee {
|
|
7
7
|
constructor() {
|
|
@@ -32,7 +32,7 @@ const m = /* @__PURE__ */ y({
|
|
|
32
32
|
is: {}
|
|
33
33
|
},
|
|
34
34
|
setup(u) {
|
|
35
|
-
const e = u, n =
|
|
35
|
+
const e = u, n = H(
|
|
36
36
|
() => F.Instance.getComponent(e.is)
|
|
37
37
|
);
|
|
38
38
|
return (s, o) => (i(), g(ce(n.value), ue(de(s.$attrs)), Ve({ _: 2 }, [
|
|
@@ -150,7 +150,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
150
150
|
setup(u) {
|
|
151
151
|
const e = u, n = f(null), s = () => {
|
|
152
152
|
e.survey && n.value && e.survey.afterRenderPage(n.value);
|
|
153
|
-
}, o =
|
|
153
|
+
}, o = H(() => e.page._showDescription);
|
|
154
154
|
return S(
|
|
155
155
|
() => e.page,
|
|
156
156
|
() => {
|
|
@@ -181,7 +181,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
181
181
|
is: "survey-errors",
|
|
182
182
|
element: t.page
|
|
183
183
|
}, null, 8, ["element"]),
|
|
184
|
-
(i(!0), a(
|
|
184
|
+
(i(!0), a(M, null, V(t.page.visibleRows, (d) => (i(), g(m, $({
|
|
185
185
|
key: d.id,
|
|
186
186
|
is: t.page.getSurvey().getRowWrapperComponentName(d)
|
|
187
187
|
}, {
|
|
@@ -280,7 +280,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
280
280
|
ref_key: "root",
|
|
281
281
|
ref: n
|
|
282
282
|
}, [
|
|
283
|
-
(i(!0), a(
|
|
283
|
+
(i(!0), a(M, null, V(o.row.visibleElements, (l) => (i(), g(m, {
|
|
284
284
|
is: "survey-element",
|
|
285
285
|
row: o.row,
|
|
286
286
|
css: o.css,
|
|
@@ -300,7 +300,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
300
300
|
css: {}
|
|
301
301
|
},
|
|
302
302
|
setup(u) {
|
|
303
|
-
const e = u, n = f(null), s = (q) => q.cssContent, o = () => e.element.getRootStyle(), t =
|
|
303
|
+
const e = u, n = f(null), s = (q) => q.cssContent, o = () => e.element.getRootStyle(), t = H(() => e.element.singleInputQuestion);
|
|
304
304
|
S(() => e.element);
|
|
305
305
|
const l = () => {
|
|
306
306
|
n.value && e.element.afterRender(n.value);
|
|
@@ -309,7 +309,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
309
309
|
() => {
|
|
310
310
|
l();
|
|
311
311
|
}
|
|
312
|
-
), C =
|
|
312
|
+
), C = H(() => e.element.customWidget ? "survey-customwidget" : e.element.isDefaultRendering() ? "survey-" + e.element.getTemplate() : e.element.getComponentName()), L = H(() => e.element.survey.getQuestionContentWrapperComponentName(e.element)), h = H(() => ({
|
|
313
313
|
componentData: {
|
|
314
314
|
question: e.element,
|
|
315
315
|
data: e.element.survey.getElementWrapperComponentData(e.element)
|
|
@@ -432,7 +432,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
432
432
|
css: {}
|
|
433
433
|
},
|
|
434
434
|
setup(u) {
|
|
435
|
-
const e = u, n = f(null), s =
|
|
435
|
+
const e = u, n = f(null), s = H(() => e.element.survey);
|
|
436
436
|
return S(() => e.element), B(() => {
|
|
437
437
|
e.element.survey && e.element.afterRender(n.value);
|
|
438
438
|
}), (o, t) => o.element.getIsContentVisible() ? (i(), a("div", {
|
|
@@ -468,7 +468,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
468
468
|
"aria-labelledby": o.element.ariaLabelledBy,
|
|
469
469
|
"aria-label": o.element.ariaLabel
|
|
470
470
|
}, [
|
|
471
|
-
(i(!0), a(
|
|
471
|
+
(i(!0), a(M, null, V(o.element.visibleRows, (l) => (i(), g(m, $({
|
|
472
472
|
key: l.id,
|
|
473
473
|
is: o.element.getSurvey().getRowWrapperComponentName(l)
|
|
474
474
|
}, {
|
|
@@ -662,7 +662,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
662
662
|
v("datalist", {
|
|
663
663
|
id: s.question.dataListId
|
|
664
664
|
}, [
|
|
665
|
-
(i(!0), a(
|
|
665
|
+
(i(!0), a(M, null, V(s.question.dataList, (t, l) => (i(), a("option", {
|
|
666
666
|
key: l,
|
|
667
667
|
value: t
|
|
668
668
|
}, null, 8, Is))), 128))
|
|
@@ -687,7 +687,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
687
687
|
n.getRef && n.getRef(l);
|
|
688
688
|
}, o = f(null);
|
|
689
689
|
e({ root: o }), S(() => n.question);
|
|
690
|
-
const t =
|
|
690
|
+
const t = H(() => n.question.inputStyle);
|
|
691
691
|
return (l, d) => l.question.getMaxLength() ? (i(), a("div", {
|
|
692
692
|
key: 1,
|
|
693
693
|
ref: (C) => s(C)
|
|
@@ -812,11 +812,11 @@ const ss = /* @__PURE__ */ y({
|
|
|
812
812
|
"aria-errormessage": t.question.a11y_input_ariaErrormessage
|
|
813
813
|
}, [
|
|
814
814
|
t.showLegend ? (i(), a("legend", Zs, I(t.question.locTitle.renderedHtml), 1)) : p("", !0),
|
|
815
|
-
t.question.hasHeadItems ? (i(!0), a(
|
|
815
|
+
t.question.hasHeadItems ? (i(!0), a(M, { key: 1 }, V(t.question.headItems, (d) => (i(), g(m, $({
|
|
816
816
|
key: d.value,
|
|
817
817
|
is: s(d)
|
|
818
818
|
}, o(d)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
819
|
-
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), a(
|
|
819
|
+
!t.question.hasColumns && !t.question.blockedRow ? (i(!0), a(M, { key: 2 }, V(t.question.bodyItems, (d) => (i(), g(m, $({
|
|
820
820
|
key: d.value,
|
|
821
821
|
is: s(d)
|
|
822
822
|
}, o(d)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -824,7 +824,7 @@ const ss = /* @__PURE__ */ y({
|
|
|
824
824
|
key: 3,
|
|
825
825
|
class: r(t.question.cssClasses.rootRow)
|
|
826
826
|
}, [
|
|
827
|
-
!t.question.hasColumns && t.question.blockedRow ? (i(!0), a(
|
|
827
|
+
!t.question.hasColumns && t.question.blockedRow ? (i(!0), a(M, { key: 0 }, V(t.question.dataChoices, (d) => (i(), g(m, $({
|
|
828
828
|
key: d.value,
|
|
829
829
|
is: s(d)
|
|
830
830
|
}, o(d)), null, 16, ["is"]))), 128)) : p("", !0)
|
|
@@ -833,18 +833,18 @@ const ss = /* @__PURE__ */ y({
|
|
|
833
833
|
key: 4,
|
|
834
834
|
class: r(t.question.cssClasses.rootMultiColumn)
|
|
835
835
|
}, [
|
|
836
|
-
t.question.hasColumns ? (i(!0), a(
|
|
836
|
+
t.question.hasColumns ? (i(!0), a(M, { key: 0 }, V(t.question.columns, (d, C) => (i(), a("div", {
|
|
837
837
|
key: C,
|
|
838
838
|
class: r(t.question.getColumnClass()),
|
|
839
839
|
role: "presentation"
|
|
840
840
|
}, [
|
|
841
|
-
(i(!0), a(
|
|
841
|
+
(i(!0), a(M, null, V(d, (L) => (i(), g(m, $({
|
|
842
842
|
key: L.value,
|
|
843
843
|
is: s(L)
|
|
844
844
|
}, o(L)), null, 16, ["is"]))), 128))
|
|
845
845
|
], 2))), 128)) : p("", !0)
|
|
846
846
|
], 2)) : p("", !0),
|
|
847
|
-
t.question.hasFootItems ? (i(!0), a(
|
|
847
|
+
t.question.hasFootItems ? (i(!0), a(M, { key: 5 }, V(t.question.footItems, (d) => (i(), g(m, $({
|
|
848
848
|
key: d.value,
|
|
849
849
|
is: s(d)
|
|
850
850
|
}, o(d)), null, 16, ["is"]))), 128)) : p("", !0),
|
|
@@ -901,7 +901,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
901
901
|
const s = (o) => {
|
|
902
902
|
n.question.clickItemHandler(n.item, o.target.checked);
|
|
903
903
|
};
|
|
904
|
-
return (o, t) => (i(), a(
|
|
904
|
+
return (o, t) => (i(), a(M, null, [
|
|
905
905
|
v("div", {
|
|
906
906
|
role: "presentation",
|
|
907
907
|
class: r(o.question.getItemClass(o.item)),
|
|
@@ -984,7 +984,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
984
984
|
() => n.item,
|
|
985
985
|
() => n.question,
|
|
986
986
|
e
|
|
987
|
-
), (l, d) => (i(), a(
|
|
987
|
+
), (l, d) => (i(), a(M, null, [
|
|
988
988
|
v("div", {
|
|
989
989
|
role: "presentation",
|
|
990
990
|
class: r(l.question.getItemClass(l.item)),
|
|
@@ -1359,16 +1359,16 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1359
1359
|
ref: n
|
|
1360
1360
|
}, [
|
|
1361
1361
|
v("legend", r1, I(t.question.locTitle.renderedHtml), 1),
|
|
1362
|
-
t.question.hasColumns ? p("", !0) : (i(!0), a(
|
|
1362
|
+
t.question.hasColumns ? p("", !0) : (i(!0), a(M, { key: 0 }, V(t.question.visibleChoices, (d) => (i(), g(m, $({
|
|
1363
1363
|
key: d.value,
|
|
1364
1364
|
is: s(d)
|
|
1365
1365
|
}, o(d)), null, 16, ["is"]))), 128)),
|
|
1366
|
-
t.question.hasColumns ? (i(!0), a(
|
|
1366
|
+
t.question.hasColumns ? (i(!0), a(M, { key: 1 }, V(t.question.columns, (d, C) => (i(), a("div", {
|
|
1367
1367
|
class: r(t.question.getColumnClass()),
|
|
1368
1368
|
key: C,
|
|
1369
1369
|
role: "presentation"
|
|
1370
1370
|
}, [
|
|
1371
|
-
(i(!0), a(
|
|
1371
|
+
(i(!0), a(M, null, V(d, (L) => (i(), g(m, $({
|
|
1372
1372
|
key: L.value,
|
|
1373
1373
|
is: s(L)
|
|
1374
1374
|
}, o(L)), null, 16, ["is"]))), 128))
|
|
@@ -1383,7 +1383,7 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1383
1383
|
item: {}
|
|
1384
1384
|
},
|
|
1385
1385
|
setup(u) {
|
|
1386
|
-
const e = u, n = (t) => e.question.getItemClass(t), s =
|
|
1386
|
+
const e = u, n = (t) => e.question.getItemClass(t), s = H({
|
|
1387
1387
|
get() {
|
|
1388
1388
|
return e.question.value;
|
|
1389
1389
|
},
|
|
@@ -1556,20 +1556,22 @@ const Ps = ["name", "checked", "value", "id", "disabled", "readonly", "required"
|
|
|
1556
1556
|
},
|
|
1557
1557
|
setup(u) {
|
|
1558
1558
|
const e = u, n = f(null);
|
|
1559
|
-
|
|
1560
|
-
|
|
1559
|
+
T(e, n);
|
|
1560
|
+
const s = H(() => e.question.selectedItem), o = H(() => e.question.isShowingChoiceComment);
|
|
1561
|
+
return (t, l) => (i(), a("div", {
|
|
1562
|
+
class: r(t.question.renderCssRoot),
|
|
1561
1563
|
ref_key: "root",
|
|
1562
1564
|
ref: n
|
|
1563
1565
|
}, [
|
|
1564
1566
|
c(m, {
|
|
1565
1567
|
is: "sv-dropdown",
|
|
1566
|
-
question:
|
|
1568
|
+
question: t.question
|
|
1567
1569
|
}, null, 8, ["question"]),
|
|
1568
|
-
|
|
1570
|
+
o.value ? (i(), g(m, {
|
|
1569
1571
|
key: 0,
|
|
1570
1572
|
is: "survey-other-choice",
|
|
1571
|
-
question:
|
|
1572
|
-
item: s.
|
|
1573
|
+
question: t.question,
|
|
1574
|
+
item: s.value
|
|
1573
1575
|
}, null, 8, ["question", "item"])) : p("", !0)
|
|
1574
1576
|
], 2));
|
|
1575
1577
|
}
|
|
@@ -1595,7 +1597,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1595
1597
|
e.question.onClick(l);
|
|
1596
1598
|
}, o = (l) => {
|
|
1597
1599
|
e.question.onKeyUp(l);
|
|
1598
|
-
}, t =
|
|
1600
|
+
}, t = H({
|
|
1599
1601
|
get() {
|
|
1600
1602
|
return e.question.value ?? "";
|
|
1601
1603
|
},
|
|
@@ -1632,7 +1634,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1632
1634
|
required: l.question.isRequired
|
|
1633
1635
|
}, [
|
|
1634
1636
|
l.question.allowClear ? (i(), a("option", g1, I(l.question.placeholder), 1)) : p("", !0),
|
|
1635
|
-
(i(!0), a(
|
|
1637
|
+
(i(!0), a(M, null, V(l.question.visibleChoices, (C) => (i(), g(m, {
|
|
1636
1638
|
is: "sv-dropdown-option-item",
|
|
1637
1639
|
item: C,
|
|
1638
1640
|
key: C.id
|
|
@@ -1679,7 +1681,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1679
1681
|
question: {}
|
|
1680
1682
|
},
|
|
1681
1683
|
setup(u) {
|
|
1682
|
-
const e = u, n = f(null), s =
|
|
1684
|
+
const e = u, n = f(null), s = H(() => e.question.dropdownListModel), o = (b) => {
|
|
1683
1685
|
var R;
|
|
1684
1686
|
(R = s.value) == null || R.onClick(b);
|
|
1685
1687
|
}, t = (b) => {
|
|
@@ -1696,9 +1698,9 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1696
1698
|
e.question.onFocus(b);
|
|
1697
1699
|
}, L = (b) => {
|
|
1698
1700
|
s.value.inputStringRendered = b.target.value;
|
|
1699
|
-
}, h =
|
|
1701
|
+
}, h = H(
|
|
1700
1702
|
() => e.question.showSelectedItemLocText
|
|
1701
|
-
), q =
|
|
1703
|
+
), q = H(() => e.question.selectedItemLocText);
|
|
1702
1704
|
return S(() => s.value), z(l), B(l), (b, R) => {
|
|
1703
1705
|
var N, K, j, ae;
|
|
1704
1706
|
return i(), a("div", {
|
|
@@ -1851,7 +1853,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1851
1853
|
question: {}
|
|
1852
1854
|
},
|
|
1853
1855
|
setup(u) {
|
|
1854
|
-
const e = u, n =
|
|
1856
|
+
const e = u, n = H(() => {
|
|
1855
1857
|
const d = e.question;
|
|
1856
1858
|
return d.dropdownListModel || (d.dropdownListModel = new Fe(d)), e.question.dropdownListModel;
|
|
1857
1859
|
}), s = (d) => {
|
|
@@ -1893,7 +1895,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1893
1895
|
v("div", {
|
|
1894
1896
|
class: r(d.question.cssClasses.controlValue)
|
|
1895
1897
|
}, [
|
|
1896
|
-
(i(!0), a(
|
|
1898
|
+
(i(!0), a(M, null, V(w(l), (R, N) => (i(), g(m, {
|
|
1897
1899
|
is: "sv-tagbox-item",
|
|
1898
1900
|
item: R,
|
|
1899
1901
|
question: d.question,
|
|
@@ -1962,7 +1964,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
1962
1964
|
e.question.onBlur(d);
|
|
1963
1965
|
}, t = (d) => {
|
|
1964
1966
|
e.question.onFocus(d);
|
|
1965
|
-
}, l =
|
|
1967
|
+
}, l = H({
|
|
1966
1968
|
get() {
|
|
1967
1969
|
return e.model.inputStringRendered ?? "";
|
|
1968
1970
|
},
|
|
@@ -2083,7 +2085,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2083
2085
|
ref_key: "root",
|
|
2084
2086
|
ref: n
|
|
2085
2087
|
}, [
|
|
2086
|
-
t.question.selectToRankEnabled ? p("", !0) : (i(!0), a(
|
|
2088
|
+
t.question.selectToRankEnabled ? p("", !0) : (i(!0), a(M, { key: 0 }, V(t.question.renderedRankingChoices, (d, C) => (i(), g(m, $({
|
|
2087
2089
|
key: d.value + "-" + C + "-item",
|
|
2088
2090
|
is: s(d)
|
|
2089
2091
|
}, o(d, C)), null, 16, ["is"]))), 128)),
|
|
@@ -2092,7 +2094,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2092
2094
|
class: r(t.question.getContainerClasses("from")),
|
|
2093
2095
|
"data-ranking": "from-container"
|
|
2094
2096
|
}, [
|
|
2095
|
-
(i(!0), a(
|
|
2097
|
+
(i(!0), a(M, null, V(t.question.renderedUnRankingChoices, (d, C) => (i(), g(m, $({
|
|
2096
2098
|
key: d.value + "-" + C + "-item",
|
|
2097
2099
|
is: s(d)
|
|
2098
2100
|
}, o(d, C, !0)), null, 16, ["is"]))), 128)),
|
|
@@ -2115,7 +2117,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2115
2117
|
class: r(t.question.getContainerClasses("to")),
|
|
2116
2118
|
"data-ranking": "to-container"
|
|
2117
2119
|
}, [
|
|
2118
|
-
(i(!0), a(
|
|
2120
|
+
(i(!0), a(M, null, V(t.question.renderedRankingChoices, (d, C) => (i(), g(m, $({
|
|
2119
2121
|
key: d.value + "-" + C + "-item",
|
|
2120
2122
|
is: s(d)
|
|
2121
2123
|
}, o(d, C)), null, 16, ["is"]))), 128)),
|
|
@@ -2144,7 +2146,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2144
2146
|
unrankedItem: { type: Boolean }
|
|
2145
2147
|
},
|
|
2146
2148
|
setup(u) {
|
|
2147
|
-
const e = u, n =
|
|
2149
|
+
const e = u, n = H(() => e.question.getNumberByIndex(e.index));
|
|
2148
2150
|
return S(() => e.item), (s, o) => (i(), a("div", {
|
|
2149
2151
|
id: s.question.getItemId(s.item),
|
|
2150
2152
|
tabindex: s.question.getItemTabIndex(s.item),
|
|
@@ -2271,7 +2273,7 @@ const h1 = /* @__PURE__ */ y({
|
|
|
2271
2273
|
locString: o.question.locMinRateDescription
|
|
2272
2274
|
}, null, 8, ["locString"])
|
|
2273
2275
|
], 2)) : p("", !0),
|
|
2274
|
-
(i(!0), a(
|
|
2276
|
+
(i(!0), a(M, null, V(o.question.renderedRateItems, (l, d) => (i(), g(m, {
|
|
2275
2277
|
key: s(d),
|
|
2276
2278
|
is: o.question.itemComponent,
|
|
2277
2279
|
item: l,
|
|
@@ -2745,14 +2747,14 @@ const hn = /* @__PURE__ */ y({
|
|
|
2745
2747
|
ref: n
|
|
2746
2748
|
}, [
|
|
2747
2749
|
v("tbody", null, [
|
|
2748
|
-
(i(!0), a(
|
|
2750
|
+
(i(!0), a(M, null, V(w(s), (l, d) => (i(), a(M, {
|
|
2749
2751
|
key: o.question.inputId + "rowkey" + d
|
|
2750
2752
|
}, [
|
|
2751
2753
|
l.isVisible ? (i(), a("tr", {
|
|
2752
2754
|
key: 0,
|
|
2753
2755
|
class: r(o.question.cssClasses.row)
|
|
2754
2756
|
}, [
|
|
2755
|
-
(i(!0), a(
|
|
2757
|
+
(i(!0), a(M, null, V(l.cells, (C) => (i(), a("td", {
|
|
2756
2758
|
key: "item" + C.item.editor.id,
|
|
2757
2759
|
class: r(C.className)
|
|
2758
2760
|
}, [
|
|
@@ -2776,7 +2778,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2776
2778
|
setup(u) {
|
|
2777
2779
|
const e = u, n = (o) => ie(o);
|
|
2778
2780
|
S(() => e.cell.item.editor);
|
|
2779
|
-
const s =
|
|
2781
|
+
const s = H(() => e.cell.item);
|
|
2780
2782
|
return (o, t) => o.cell.isErrorsCell ? (i(), g(m, {
|
|
2781
2783
|
key: 1,
|
|
2782
2784
|
is: "survey-errors",
|
|
@@ -2833,7 +2835,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2833
2835
|
key: 0,
|
|
2834
2836
|
class: r(n.css.breadcrumbsRoot)
|
|
2835
2837
|
}, [
|
|
2836
|
-
(i(!0), a(
|
|
2838
|
+
(i(!0), a(M, null, V(n.model.actions, (o, t) => (i(), a(M, {
|
|
2837
2839
|
key: o.renderedId
|
|
2838
2840
|
}, [
|
|
2839
2841
|
t ? (i(), g(m, {
|
|
@@ -2857,7 +2859,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2857
2859
|
css: {}
|
|
2858
2860
|
},
|
|
2859
2861
|
setup(u) {
|
|
2860
|
-
const e = u, n =
|
|
2862
|
+
const e = u, n = H(() => "survey-placeholder-" + e.summary.question.getTemplate()), s = H(() => F.Instance.isComponentRegistered(n.value));
|
|
2861
2863
|
return (o, t) => o.summary.isEmpty() ? (i(), a("div", Mn, [
|
|
2862
2864
|
s.value ? (i(), g(m, {
|
|
2863
2865
|
key: 0,
|
|
@@ -2874,7 +2876,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2874
2876
|
key: 0,
|
|
2875
2877
|
class: r(o.css.summary)
|
|
2876
2878
|
}, [
|
|
2877
|
-
(i(!0), a(
|
|
2879
|
+
(i(!0), a(M, null, V(o.summary.items, (l, d) => (i(), a("div", {
|
|
2878
2880
|
key: d,
|
|
2879
2881
|
class: r(o.css.summaryRow)
|
|
2880
2882
|
}, [
|
|
@@ -2976,7 +2978,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
2976
2978
|
class: r(o.question.cssClasses.rangeTrack),
|
|
2977
2979
|
style: k({ left: o.question.getTrackPercentLeft() + "%", right: o.question.getTrackPercentRight() + "%" })
|
|
2978
2980
|
}, null, 6),
|
|
2979
|
-
(i(!0), a(
|
|
2981
|
+
(i(!0), a(M, null, V(o.question.renderedValue, (l, d) => (i(), a(M, { key: d }, [
|
|
2980
2982
|
v("input", {
|
|
2981
2983
|
class: r(o.question.cssClasses.input),
|
|
2982
2984
|
id: "sjs-slider-input-" + d,
|
|
@@ -3046,7 +3048,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3046
3048
|
class: r(o.question.cssClasses.labelsContainer)
|
|
3047
3049
|
}, [
|
|
3048
3050
|
v("div", null, [
|
|
3049
|
-
(i(!0), a(
|
|
3051
|
+
(i(!0), a(M, null, V(o.question.renderedLabels, (l) => (i(), g(m, {
|
|
3050
3052
|
key: l.id,
|
|
3051
3053
|
is: "sv-slider-label-item",
|
|
3052
3054
|
item: l,
|
|
@@ -3125,7 +3127,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3125
3127
|
t.question.showHeader ? (i(), a("thead", Dn, [
|
|
3126
3128
|
v("tr", null, [
|
|
3127
3129
|
t.question.hasRows ? (i(), a("td", An)) : p("", !0),
|
|
3128
|
-
(i(!0), a(
|
|
3130
|
+
(i(!0), a(M, null, V(t.question.visibleColumns, (d, C) => (i(), a("th", {
|
|
3129
3131
|
key: C,
|
|
3130
3132
|
class: r(t.question.cssClasses.headerCell),
|
|
3131
3133
|
style: k({
|
|
@@ -3149,7 +3151,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3149
3151
|
])
|
|
3150
3152
|
])) : p("", !0),
|
|
3151
3153
|
v("tbody", null, [
|
|
3152
|
-
(i(!0), a(
|
|
3154
|
+
(i(!0), a(M, null, V(s.value, (d, C) => (i(), a("tr", {
|
|
3153
3155
|
key: "row_" + d.name + "_" + C,
|
|
3154
3156
|
class: r(d.rowClasses || void 0)
|
|
3155
3157
|
}, [
|
|
@@ -3175,7 +3177,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3175
3177
|
], 6), [
|
|
3176
3178
|
[A, t.question.hasRows]
|
|
3177
3179
|
]),
|
|
3178
|
-
t.question.hasCellText ? (i(!0), a(
|
|
3180
|
+
t.question.hasCellText ? (i(!0), a(M, { key: 0 }, V(t.question.visibleColumns, (L, h) => (i(), a("td", {
|
|
3179
3181
|
key: h,
|
|
3180
3182
|
class: r(t.question.getItemClass(d, L)),
|
|
3181
3183
|
onClick: (q) => o(d, L)
|
|
@@ -3185,7 +3187,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3185
3187
|
locString: t.question.getCellDisplayLocText(d.name, L)
|
|
3186
3188
|
}, null, 8, ["locString"])
|
|
3187
3189
|
], 10, Pn))), 128)) : p("", !0),
|
|
3188
|
-
t.question.hasCellText ? p("", !0) : (i(!0), a(
|
|
3190
|
+
t.question.hasCellText ? p("", !0) : (i(!0), a(M, { key: 1 }, V(t.question.visibleColumns, (L, h) => (i(), a("td", {
|
|
3189
3191
|
key: h,
|
|
3190
3192
|
"data-responsive-title": L.locText.renderedHtml,
|
|
3191
3193
|
class: r(t.question.cssClasses.cell)
|
|
@@ -3231,7 +3233,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3231
3233
|
ref_key: "root",
|
|
3232
3234
|
ref: n
|
|
3233
3235
|
}, [
|
|
3234
|
-
(i(!0), a(
|
|
3236
|
+
(i(!0), a(M, null, V(o.row.cells, (l) => (i(), g(m, {
|
|
3235
3237
|
is: "survey-matrixdropdown-cell",
|
|
3236
3238
|
cell: l,
|
|
3237
3239
|
question: o.question,
|
|
@@ -3252,7 +3254,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3252
3254
|
const e = u, n = () => {
|
|
3253
3255
|
const o = e.row, t = e.column;
|
|
3254
3256
|
o.cellClick(t);
|
|
3255
|
-
}, s =
|
|
3257
|
+
}, s = H(() => e.question.getItemSvgIcon(e.row, e.column));
|
|
3256
3258
|
return (o, t) => (i(), a("label", {
|
|
3257
3259
|
onMousedown: t[0] || (t[0] = (l) => o.question.onMouseDown()),
|
|
3258
3260
|
class: r(o.question.getItemClass(o.row, o.column))
|
|
@@ -3314,7 +3316,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3314
3316
|
question: {}
|
|
3315
3317
|
},
|
|
3316
3318
|
setup(u) {
|
|
3317
|
-
const e = u, n =
|
|
3319
|
+
const e = u, n = H(() => e.question.renderedTable);
|
|
3318
3320
|
return S(() => n.value), (s, o) => (i(), a("div", {
|
|
3319
3321
|
style: k({ overflowX: s.question.showHorizontalScroll ? "scroll" : "" }),
|
|
3320
3322
|
class: r(s.question.cssClasses.tableWrapper)
|
|
@@ -3324,7 +3326,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3324
3326
|
}, [
|
|
3325
3327
|
n.value.showHeader ? (i(), a("thead", Kn, [
|
|
3326
3328
|
v("tr", null, [
|
|
3327
|
-
(i(!0), a(
|
|
3329
|
+
(i(!0), a(M, null, V(n.value.headerRow.cells, (t) => (i(), a(M, null, [
|
|
3328
3330
|
t.hasTitle ? (i(), a("th", {
|
|
3329
3331
|
key: "header_" + t.id,
|
|
3330
3332
|
class: r(t.className),
|
|
@@ -3358,7 +3360,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3358
3360
|
])
|
|
3359
3361
|
])) : p("", !0),
|
|
3360
3362
|
v("tbody", null, [
|
|
3361
|
-
(i(!0), a(
|
|
3363
|
+
(i(!0), a(M, null, V(n.value.renderedRows, (t) => (i(), g(m, {
|
|
3362
3364
|
key: s.question.inputId + "_" + t.id,
|
|
3363
3365
|
is: "survey-matrix-row",
|
|
3364
3366
|
row: t,
|
|
@@ -3367,7 +3369,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3367
3369
|
]),
|
|
3368
3370
|
n.value.showFooter ? (i(), a("tfoot", jn, [
|
|
3369
3371
|
v("tr", null, [
|
|
3370
|
-
(i(!0), a(
|
|
3372
|
+
(i(!0), a(M, null, V(n.value.footerRow.cells, (t, l) => (i(), g(m, {
|
|
3371
3373
|
is: "survey-matrixdropdown-cell",
|
|
3372
3374
|
cell: t,
|
|
3373
3375
|
question: s.question,
|
|
@@ -3386,7 +3388,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3386
3388
|
},
|
|
3387
3389
|
setup(u) {
|
|
3388
3390
|
const e = u;
|
|
3389
|
-
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(
|
|
3391
|
+
return S(() => e.column), (n, s) => n.column.isRenderedRequired ? (i(), a(M, { key: 0 }, [
|
|
3390
3392
|
Xn,
|
|
3391
3393
|
n.column.isRenderedRequired ? (i(), a("span", {
|
|
3392
3394
|
key: 0,
|
|
@@ -3419,7 +3421,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3419
3421
|
};
|
|
3420
3422
|
e.question.survey.matrixAfterCellRender(b), q && q.afterRenderCore(h);
|
|
3421
3423
|
});
|
|
3422
|
-
const C =
|
|
3424
|
+
const C = H(() => {
|
|
3423
3425
|
const h = e.cell;
|
|
3424
3426
|
if (h.hasPanel) {
|
|
3425
3427
|
const q = h.panel, b = q.survey;
|
|
@@ -3430,7 +3432,7 @@ const hn = /* @__PURE__ */ y({
|
|
|
3430
3432
|
}
|
|
3431
3433
|
return "survey-panel";
|
|
3432
3434
|
}
|
|
3433
|
-
}), L =
|
|
3435
|
+
}), L = H(() => {
|
|
3434
3436
|
if (e.cell.hasPanel) {
|
|
3435
3437
|
const q = e.cell.panel, b = q.survey;
|
|
3436
3438
|
let R;
|
|
@@ -3666,8 +3668,8 @@ const hn = /* @__PURE__ */ y({
|
|
|
3666
3668
|
});
|
|
3667
3669
|
function re(u, e = !0) {
|
|
3668
3670
|
return {
|
|
3669
|
-
question:
|
|
3670
|
-
row: e ?
|
|
3671
|
+
question: H(() => u.item.data.question),
|
|
3672
|
+
row: e ? H(() => u.item.data.row) : void 0
|
|
3671
3673
|
};
|
|
3672
3674
|
}
|
|
3673
3675
|
const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
@@ -3816,7 +3818,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3816
3818
|
v("div", {
|
|
3817
3819
|
class: r(l.question.cssClasses.panelsContainer)
|
|
3818
3820
|
}, [
|
|
3819
|
-
(i(!0), a(
|
|
3821
|
+
(i(!0), a(M, null, V(l.question.renderedPanels, (C, L) => (i(), a(M, {
|
|
3820
3822
|
key: C.id
|
|
3821
3823
|
}, [
|
|
3822
3824
|
v("div", {
|
|
@@ -3950,7 +3952,7 @@ const st = ["disabled"], nt = /* @__PURE__ */ y({
|
|
|
3950
3952
|
}
|
|
3951
3953
|
});
|
|
3952
3954
|
function X(u) {
|
|
3953
|
-
return
|
|
3955
|
+
return H(
|
|
3954
3956
|
() => u.item && u.item.data.question || u.data.question
|
|
3955
3957
|
);
|
|
3956
3958
|
}
|
|
@@ -4032,7 +4034,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4032
4034
|
data: {}
|
|
4033
4035
|
},
|
|
4034
4036
|
setup(u) {
|
|
4035
|
-
const e = u, n = X(e), s =
|
|
4037
|
+
const e = u, n = X(e), s = H(
|
|
4036
4038
|
() => e.item && e.item.data.panel || e.data.panel
|
|
4037
4039
|
), o = (l) => n.value.getPanelRemoveButtonId(l), t = (l) => {
|
|
4038
4040
|
n.value.isInputReadOnly || n.value.removePanelUI(l);
|
|
@@ -4083,7 +4085,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4083
4085
|
ref_key: "root",
|
|
4084
4086
|
ref: e
|
|
4085
4087
|
}, [
|
|
4086
|
-
(i(!0), a(
|
|
4088
|
+
(i(!0), a(M, null, V(n.element.errors, (o, t) => (i(), g(m, {
|
|
4087
4089
|
is: n.element.survey.questionErrorComponent,
|
|
4088
4090
|
element: n.element,
|
|
4089
4091
|
key: "error_" + t,
|
|
@@ -4166,7 +4168,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4166
4168
|
css: {}
|
|
4167
4169
|
},
|
|
4168
4170
|
setup(u) {
|
|
4169
|
-
return (e, n) => (i(), a(
|
|
4171
|
+
return (e, n) => (i(), a(M, null, [
|
|
4170
4172
|
e.element.isTitleRenderedAsString ? (i(), g(m, {
|
|
4171
4173
|
key: 0,
|
|
4172
4174
|
is: "survey-string",
|
|
@@ -4211,7 +4213,7 @@ const Ct = ["id"], ct = /* @__PURE__ */ y({
|
|
|
4211
4213
|
css: {}
|
|
4212
4214
|
},
|
|
4213
4215
|
setup(u) {
|
|
4214
|
-
const e = u, n =
|
|
4216
|
+
const e = u, n = H(() => e.element.getTitleToolbar());
|
|
4215
4217
|
return (s, o) => (i(), a("div", Zt, [
|
|
4216
4218
|
v("span", $t, [
|
|
4217
4219
|
s.element.isPage ? (i(), g(m, {
|
|
@@ -4334,7 +4336,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4334
4336
|
class: r(l.model.getRootCss()),
|
|
4335
4337
|
onClick: s
|
|
4336
4338
|
}, [
|
|
4337
|
-
(i(!0), a(
|
|
4339
|
+
(i(!0), a(M, null, V(w(o), (C) => (i(), g(m, {
|
|
4338
4340
|
is: "sv-action",
|
|
4339
4341
|
key: C.renderedId,
|
|
4340
4342
|
item: C
|
|
@@ -4347,7 +4349,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4347
4349
|
item: {}
|
|
4348
4350
|
},
|
|
4349
4351
|
setup(u) {
|
|
4350
|
-
const e = f(), n = u, s =
|
|
4352
|
+
const e = f(), n = u, s = H(
|
|
4351
4353
|
() => n.item.component || "sv-action-bar-item"
|
|
4352
4354
|
);
|
|
4353
4355
|
return S(() => n.item), B(() => {
|
|
@@ -4462,7 +4464,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4462
4464
|
() => {
|
|
4463
4465
|
n.dispose();
|
|
4464
4466
|
}
|
|
4465
|
-
), (s, o) => (i(), a(
|
|
4467
|
+
), (s, o) => (i(), a(M, null, [
|
|
4466
4468
|
Z((i(), a("button", {
|
|
4467
4469
|
type: "button",
|
|
4468
4470
|
class: r(s.item.getActionBarItemCss()),
|
|
@@ -4503,7 +4505,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4503
4505
|
item: {}
|
|
4504
4506
|
},
|
|
4505
4507
|
setup(u) {
|
|
4506
|
-
const e = u, n =
|
|
4508
|
+
const e = u, n = H(() => e.item && e.item.innerCss);
|
|
4507
4509
|
return (s, o) => (i(), a("div", {
|
|
4508
4510
|
class: r(["sv-action-bar-separator", n.value])
|
|
4509
4511
|
}, null, 2));
|
|
@@ -4592,7 +4594,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4592
4594
|
d.model.onKeyDown(L);
|
|
4593
4595
|
})
|
|
4594
4596
|
}, [
|
|
4595
|
-
(i(!0), a(
|
|
4597
|
+
(i(!0), a(M, null, V(w(l), (L) => (i(), g(m, {
|
|
4596
4598
|
is: "sv-list-item",
|
|
4597
4599
|
item: L,
|
|
4598
4600
|
model: d.model,
|
|
@@ -4610,11 +4612,11 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4610
4612
|
item: {}
|
|
4611
4613
|
},
|
|
4612
4614
|
setup(u) {
|
|
4613
|
-
const e = u, n =
|
|
4615
|
+
const e = u, n = H(() => e.item.elementId), s = (t) => {
|
|
4614
4616
|
e.model.onItemClick(e.item), t.stopPropagation();
|
|
4615
4617
|
};
|
|
4616
4618
|
S(() => e.item);
|
|
4617
|
-
const o =
|
|
4619
|
+
const o = H(
|
|
4618
4620
|
() => e.item.component || e.model.itemComponent
|
|
4619
4621
|
);
|
|
4620
4622
|
return B(() => {
|
|
@@ -4662,7 +4664,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4662
4664
|
},
|
|
4663
4665
|
setup(u) {
|
|
4664
4666
|
const e = u;
|
|
4665
|
-
return S(() => e.item), (n, s) => (i(), a(
|
|
4667
|
+
return S(() => e.item), (n, s) => (i(), a(M, null, [
|
|
4666
4668
|
n.item.iconName ? (i(), g(m, {
|
|
4667
4669
|
key: 0,
|
|
4668
4670
|
is: "sv-svg-icon",
|
|
@@ -4691,7 +4693,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4691
4693
|
},
|
|
4692
4694
|
setup(u) {
|
|
4693
4695
|
const e = u;
|
|
4694
|
-
return S(() => e.item), (n, s) => (i(), a(
|
|
4696
|
+
return S(() => e.item), (n, s) => (i(), a(M, null, [
|
|
4695
4697
|
c(m, {
|
|
4696
4698
|
is: "sv-list-item-content",
|
|
4697
4699
|
item: n.item,
|
|
@@ -4759,7 +4761,10 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4759
4761
|
onKeydown: o[0] || (o[0] = (t) => {
|
|
4760
4762
|
s.model.onKeyDown(t);
|
|
4761
4763
|
}),
|
|
4762
|
-
|
|
4764
|
+
onFocusout: o[1] || (o[1] = (t) => {
|
|
4765
|
+
s.model.blur(t);
|
|
4766
|
+
}),
|
|
4767
|
+
onClick: o[2] || (o[2] = (t) => {
|
|
4763
4768
|
s.model.clickOutside(t);
|
|
4764
4769
|
})
|
|
4765
4770
|
}, [
|
|
@@ -4822,22 +4827,22 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4822
4827
|
needRenderWrapper: {}
|
|
4823
4828
|
},
|
|
4824
4829
|
setup(u) {
|
|
4825
|
-
const e = u, n =
|
|
4830
|
+
const e = u, n = H(
|
|
4826
4831
|
() => e.survey.getContainerContent(e.container)
|
|
4827
4832
|
);
|
|
4828
|
-
return (s, o) => n.value.length > 0 ? (i(), a(
|
|
4833
|
+
return (s, o) => n.value.length > 0 ? (i(), a(M, { key: 0 }, [
|
|
4829
4834
|
s.needRenderWrapper ? (i(), a("div", {
|
|
4830
4835
|
key: 0,
|
|
4831
4836
|
class: r(["sv-components-column", "sv-components-container-" + s.container])
|
|
4832
4837
|
}, [
|
|
4833
|
-
(i(!0), a(
|
|
4838
|
+
(i(!0), a(M, null, V(n.value, (t) => (i(), g(m, {
|
|
4834
4839
|
key: t.id,
|
|
4835
4840
|
is: t.component,
|
|
4836
4841
|
survey: s.survey,
|
|
4837
4842
|
container: s.container,
|
|
4838
4843
|
model: t.data
|
|
4839
4844
|
}, null, 8, ["is", "survey", "container", "model"]))), 128))
|
|
4840
|
-
], 2)) : (i(!0), a(
|
|
4845
|
+
], 2)) : (i(!0), a(M, { key: 1 }, V(n.value, (t) => (i(), g(m, {
|
|
4841
4846
|
key: t.id,
|
|
4842
4847
|
is: t.component,
|
|
4843
4848
|
survey: s.survey,
|
|
@@ -4854,7 +4859,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4854
4859
|
css: {}
|
|
4855
4860
|
},
|
|
4856
4861
|
setup(u) {
|
|
4857
|
-
const e = u, n =
|
|
4862
|
+
const e = u, n = H(() => e.survey.progressValue + "%"), s = (t) => me.getProgressTextInBarCss(t), o = (t) => me.getProgressTextUnderBarCss(t);
|
|
4858
4863
|
return (t, l) => (i(), a("div", {
|
|
4859
4864
|
class: r(t.survey.getProgressCssClasses(t.container))
|
|
4860
4865
|
}, [
|
|
@@ -4883,7 +4888,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4883
4888
|
container: {}
|
|
4884
4889
|
},
|
|
4885
4890
|
setup(u) {
|
|
4886
|
-
const e = u, n = f(!1), s = f(!1), o = f(!1), t = f(!0), l = f(), d =
|
|
4891
|
+
const e = u, n = f(!1), s = f(!1), o = f(!1), t = f(!0), l = f(), d = H(() => e.survey.css);
|
|
4887
4892
|
let C = null;
|
|
4888
4893
|
const L = (h) => {
|
|
4889
4894
|
let q = l.value;
|
|
@@ -4901,7 +4906,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4901
4906
|
onUpdateSettings: () => {
|
|
4902
4907
|
t.value = e.model.showItemTitles, o.value = !e.model.showItemTitles;
|
|
4903
4908
|
},
|
|
4904
|
-
container:
|
|
4909
|
+
container: H(() => e.container)
|
|
4905
4910
|
});
|
|
4906
4911
|
}), O(() => {
|
|
4907
4912
|
C.dispose();
|
|
@@ -4938,7 +4943,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
4938
4943
|
v("ul", {
|
|
4939
4944
|
class: r(d.value.progressButtonsList)
|
|
4940
4945
|
}, [
|
|
4941
|
-
(i(!0), a(
|
|
4946
|
+
(i(!0), a(M, null, V(h.survey.visiblePages, (b, R) => (i(), a("li", {
|
|
4942
4947
|
key: "listelement" + R,
|
|
4943
4948
|
class: r(h.model.getListElementCss(R)),
|
|
4944
4949
|
onClick: (N) => h.model.isListElementClickable(R) ? h.model.clickListElement(b) : null,
|
|
@@ -5031,7 +5036,7 @@ const Ot = /* @__PURE__ */ At(Pt, [["render", Ft]]), zt = /* @__PURE__ */ v("use
|
|
|
5031
5036
|
}
|
|
5032
5037
|
});
|
|
5033
5038
|
/*!
|
|
5034
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5039
|
+
* surveyjs - Survey JavaScript library v2.3.6
|
|
5035
5040
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5036
5041
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5037
5042
|
*/
|
|
@@ -5099,7 +5104,7 @@ var Bo = {
|
|
|
5099
5104
|
"smiley-rate9-24x24": '<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 24C6.85767 24 1.15509 20.96 0.0145752 14.16C-0.0354475 13.87 0.0445888 13.57 0.234675 13.35C0.424761 13.13 0.704888 13 0.995019 13H23.005C23.2951 13 23.5752 13.13 23.7653 13.35C23.9554 13.57 24.0354 13.87 23.9854 14.16C22.8549 20.95 17.1423 24 11.99 24H12.01ZM2.25559 15C3.61621 19.82 8.0182 22 12.01 22C16.0018 22 20.4038 19.82 21.7644 15H2.25559ZM8.00819 6V2C8.00819 1.45 7.55799 1 7.00774 1C6.45749 1 6.00729 1.45 6.00729 2V6C6.00729 6.55 6.45749 7 7.00774 7C7.55799 7 8.00819 6.55 8.00819 6ZM18.0127 6V2C18.0127 1.45 17.5625 1 17.0123 1C16.462 1 16.0118 1.45 16.0118 2V6C16.0118 6.55 16.462 7 17.0123 7C17.5625 7 18.0127 6.55 18.0127 6Z"></path></svg>'
|
|
5100
5105
|
};
|
|
5101
5106
|
/*!
|
|
5102
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
5107
|
+
* surveyjs - Survey JavaScript library v2.3.6
|
|
5103
5108
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
5104
5109
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5105
5110
|
*/
|
|
@@ -5180,15 +5185,15 @@ const le = /* @__PURE__ */ y({
|
|
|
5180
5185
|
survey: {}
|
|
5181
5186
|
},
|
|
5182
5187
|
setup(u) {
|
|
5183
|
-
const e = u, n = f(), s = f(""), o = f(1), t =
|
|
5188
|
+
const e = u, n = f(), s = f(""), o = f(1), t = H(() => {
|
|
5184
5189
|
const R = e.survey ? e.survey : e.model;
|
|
5185
5190
|
return De(R);
|
|
5186
|
-
}), l =
|
|
5191
|
+
}), l = H(() => t.value.activePage ? t.value.activePage.id : ""), d = () => {
|
|
5187
5192
|
const R = l.value;
|
|
5188
5193
|
return !!t.value && R + o.value.toString();
|
|
5189
|
-
}, C =
|
|
5194
|
+
}, C = H(
|
|
5190
5195
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
5191
|
-
), L =
|
|
5196
|
+
), L = H(() => t.value.css), h = H(() => "page" + d()), q = () => C.value ? (s.value || (s.value = t.value.processedCompletedHtml), s.value) : "", b = (R) => {
|
|
5192
5197
|
if (R) {
|
|
5193
5198
|
var N = n.value;
|
|
5194
5199
|
N && R.afterRenderSurvey(N), R.renderCallback = () => {
|
|
@@ -5535,11 +5540,11 @@ const le = /* @__PURE__ */ y({
|
|
|
5535
5540
|
css: {}
|
|
5536
5541
|
},
|
|
5537
5542
|
setup(u) {
|
|
5538
|
-
const e = u, n = f(), s =
|
|
5543
|
+
const e = u, n = f(), s = H(
|
|
5539
5544
|
() => e.question.customWidget.isDefaultRender
|
|
5540
|
-
), o =
|
|
5545
|
+
), o = H(
|
|
5541
5546
|
() => !!e.question.customWidget.htmlTemplate
|
|
5542
|
-
), t =
|
|
5547
|
+
), t = H(() => e.question.customWidget.htmlTemplate), l = H(() => "survey-" + e.question.getTemplate());
|
|
5543
5548
|
return B(() => {
|
|
5544
5549
|
e.question.customWidget.afterRender(e.question, n.value);
|
|
5545
5550
|
}), O(() => {
|
|
@@ -5596,7 +5601,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5596
5601
|
null
|
|
5597
5602
|
), s = function(t) {
|
|
5598
5603
|
n.value = t, e.getRef && e.getRef(t);
|
|
5599
|
-
}, o =
|
|
5604
|
+
}, o = H(() => e.model.getTextValue() || "");
|
|
5600
5605
|
return B(() => {
|
|
5601
5606
|
e.model.setElement(n.value);
|
|
5602
5607
|
}), z(() => {
|
|
@@ -5660,7 +5665,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5660
5665
|
setup(u) {
|
|
5661
5666
|
const e = u, n = f(null);
|
|
5662
5667
|
T(e, n);
|
|
5663
|
-
const s =
|
|
5668
|
+
const s = H(() => e.question.contentPanel);
|
|
5664
5669
|
return (o, t) => (i(), g(m, {
|
|
5665
5670
|
is: "survey-panel",
|
|
5666
5671
|
ref_key: "root",
|
|
@@ -5679,7 +5684,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5679
5684
|
setup(u) {
|
|
5680
5685
|
const e = u, n = f(null);
|
|
5681
5686
|
T(e, n);
|
|
5682
|
-
const s =
|
|
5687
|
+
const s = H(() => e.question.contentQuestion), o = (t) => ie(t);
|
|
5683
5688
|
return (t, l) => (i(), g(m, {
|
|
5684
5689
|
ref: n.value,
|
|
5685
5690
|
is: o(s.value),
|
|
@@ -5696,7 +5701,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5696
5701
|
css: {}
|
|
5697
5702
|
},
|
|
5698
5703
|
setup(u) {
|
|
5699
|
-
const e = u, n =
|
|
5704
|
+
const e = u, n = H(() => Ce * e.model.progress), s = H(() => e.model.text);
|
|
5700
5705
|
return S(() => e.model), (o, t) => o.model.isRunning && o.model.showTimerAsClock ? (i(), a("div", {
|
|
5701
5706
|
key: 0,
|
|
5702
5707
|
class: r(o.model.rootCss)
|
|
@@ -5765,7 +5770,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5765
5770
|
class: r(n.model.contentClasses),
|
|
5766
5771
|
style: k({ maxWidth: n.model.maxWidth })
|
|
5767
5772
|
}, [
|
|
5768
|
-
(i(!0), a(
|
|
5773
|
+
(i(!0), a(M, null, V(n.model.cells, (o, t) => (i(), g(m, {
|
|
5769
5774
|
is: "sv-header-cell",
|
|
5770
5775
|
model: o,
|
|
5771
5776
|
key: t
|
|
@@ -5899,7 +5904,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5899
5904
|
css: {}
|
|
5900
5905
|
},
|
|
5901
5906
|
setup(u) {
|
|
5902
|
-
const e = u, n = f(), s = (C) => C.isPanel ? "survey-panel" : "survey-question", o =
|
|
5907
|
+
const e = u, n = f(), s = (C) => C.isPanel ? "survey-panel" : "survey-question", o = H(() => {
|
|
5903
5908
|
const C = e.element.survey;
|
|
5904
5909
|
if (C) {
|
|
5905
5910
|
const L = C.getElementWrapperComponentName(e.element);
|
|
@@ -5907,7 +5912,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5907
5912
|
return L;
|
|
5908
5913
|
}
|
|
5909
5914
|
return s(e.element);
|
|
5910
|
-
}), t = (C) => C.cssClasses ? C.rootStyle : {}, l =
|
|
5915
|
+
}), t = (C) => C.cssClasses ? C.rootStyle : {}, l = H(() => {
|
|
5911
5916
|
const C = e.element, L = C.survey;
|
|
5912
5917
|
let h;
|
|
5913
5918
|
return L && (h = L.getElementWrapperComponentData(C)), {
|
|
@@ -5954,7 +5959,7 @@ const le = /* @__PURE__ */ y({
|
|
|
5954
5959
|
componentData: {}
|
|
5955
5960
|
},
|
|
5956
5961
|
setup(u) {
|
|
5957
|
-
const e = Pe(), n =
|
|
5962
|
+
const e = Pe(), n = H(() => !!e.default);
|
|
5958
5963
|
return (s, o) => n.value && !s.componentName ? x(s.$slots, "default", { key: 0 }) : (i(), g(m, $({
|
|
5959
5964
|
key: 1,
|
|
5960
5965
|
is: s.componentName
|
|
@@ -6019,7 +6024,7 @@ const le = /* @__PURE__ */ y({
|
|
|
6019
6024
|
item: {}
|
|
6020
6025
|
},
|
|
6021
6026
|
setup(u) {
|
|
6022
|
-
const e = u, n =
|
|
6027
|
+
const e = u, n = H(
|
|
6023
6028
|
() => {
|
|
6024
6029
|
var s, o;
|
|
6025
6030
|
return ((s = e.data) == null ? void 0 : s.question) || ((o = e.item) == null ? void 0 : o.data.question);
|
|
@@ -6054,7 +6059,7 @@ const le = /* @__PURE__ */ y({
|
|
|
6054
6059
|
key: 0,
|
|
6055
6060
|
class: r(e.question.cssClasses.fileList || void 0)
|
|
6056
6061
|
}, [
|
|
6057
|
-
(i(!0), a(
|
|
6062
|
+
(i(!0), a(M, null, V(e.question.renderedPages, (s) => (i(), g(m, {
|
|
6058
6063
|
is: "sv-file-page",
|
|
6059
6064
|
key: s.id,
|
|
6060
6065
|
page: s,
|
|
@@ -6075,7 +6080,7 @@ const le = /* @__PURE__ */ y({
|
|
|
6075
6080
|
ref_key: "root",
|
|
6076
6081
|
ref: n
|
|
6077
6082
|
}, [
|
|
6078
|
-
(i(!0), a(
|
|
6083
|
+
(i(!0), a(M, null, V(s.question.visibleChoices, (t, l) => (i(), g(m, {
|
|
6079
6084
|
is: "sv-button-group-item",
|
|
6080
6085
|
question: s.question,
|
|
6081
6086
|
key: l,
|
|
@@ -6092,9 +6097,9 @@ const le = /* @__PURE__ */ y({
|
|
|
6092
6097
|
index: {}
|
|
6093
6098
|
},
|
|
6094
6099
|
setup(u) {
|
|
6095
|
-
const e = u, n =
|
|
6100
|
+
const e = u, n = H(
|
|
6096
6101
|
() => new Je(e.question, e.item, e.index)
|
|
6097
|
-
), s =
|
|
6102
|
+
), s = H({
|
|
6098
6103
|
get: () => e.question.renderedValue,
|
|
6099
6104
|
set: (o) => {
|
|
6100
6105
|
const t = e.question;
|
|
@@ -6175,7 +6180,7 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6175
6180
|
data: {}
|
|
6176
6181
|
},
|
|
6177
6182
|
setup(u) {
|
|
6178
|
-
const e = u, n =
|
|
6183
|
+
const e = u, n = H(() => e.data), s = U(() => n.value.locLogo);
|
|
6179
6184
|
return (o, t) => (i(), a("div", {
|
|
6180
6185
|
class: r(n.value.logoClassNames)
|
|
6181
6186
|
}, [
|
|
@@ -6223,7 +6228,7 @@ const Vi = /* @__PURE__ */ y({
|
|
|
6223
6228
|
class: r(n.page.css),
|
|
6224
6229
|
id: n.page.id
|
|
6225
6230
|
}, [
|
|
6226
|
-
(i(!0), a(
|
|
6231
|
+
(i(!0), a(M, null, V(n.page.items, (o) => (i(), g(m, {
|
|
6227
6232
|
is: "sv-file-item",
|
|
6228
6233
|
key: o,
|
|
6229
6234
|
item: o,
|