survey-vue3-ui 1.9.108 → 1.9.109

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.
@@ -1,5 +1,5 @@
1
- import { shallowReactive as ce, watch as Q, onBeforeUnmount as U, onMounted as A, ref as S, shallowRef as F, triggerRef as oe, unref as f, isRef as pe, defineComponent as C, computed as R, onUpdated as Z, resolveComponent as v, openBlock as t, createElementBlock as u, normalizeClass as l, createVNode as b, createCommentVNode as m, Fragment as w, renderList as T, createBlock as q, createElementVNode as p, normalizeStyle as $, onUnmounted as V, withDirectives as L, resolveDynamicComponent as N, vShow as H, toDisplayString as I, vModelCheckbox as z, vModelRadio as J, resolveDirective as Y, vModelSelect as ve, vModelText as qe, getCurrentInstance as x, withCtx as ye, createStaticVNode as ge, normalizeProps as Ce, guardReactiveProps as he, toRaw as be, Teleport as ke } from "vue";
2
- import { Base as fe, RendererFactory as G, DropdownListModel as Ie, Helpers as we, DropdownMultiSelectListModel as Se, doKey2ClickUp as de, createSvg as Re, ActionDropdownViewModel as Te, getActionDropdownButtonTarget as $e, createPopupViewModel as te, SurveyProgressModel as ie, SurveyProgressButtonsModel as Be, TOCModel as Le, SvgRegistry as De, PopupSurveyModel as Pe, settings as O, createDialogOptions as Me, createPopupModalViewModel as Ne, SurveyModel as He, doKey2ClickDown as Ae, doKey2ClickBlur as Ee } from "survey-core";
1
+ import { shallowReactive as ce, watch as Q, onBeforeUnmount as U, onMounted as A, ref as R, shallowRef as F, triggerRef as oe, unref as f, isRef as pe, defineComponent as C, computed as S, onUpdated as Z, resolveComponent as v, openBlock as t, createElementBlock as u, normalizeClass as l, createVNode as b, createCommentVNode as m, Fragment as w, renderList as T, createBlock as q, createElementVNode as p, normalizeStyle as $, onUnmounted as V, withDirectives as L, resolveDynamicComponent as M, vShow as H, toDisplayString as I, vModelCheckbox as z, vModelRadio as J, resolveDirective as Y, vModelSelect as ve, vModelText as qe, getCurrentInstance as x, withCtx as ye, createStaticVNode as ge, normalizeProps as Ce, guardReactiveProps as he, toRaw as be, Teleport as ke } from "vue";
2
+ import { Base as fe, RendererFactory as G, DropdownListModel as Ie, Helpers as we, DropdownMultiSelectListModel as Re, doKey2ClickUp as de, createSvg as Se, ActionDropdownViewModel as Te, getActionDropdownButtonTarget as $e, createPopupViewModel as te, SurveyProgressModel as ie, SurveyProgressButtonsModel as Be, TOCModel as Le, SvgRegistry as De, PopupSurveyModel as Pe, settings as O, createDialogOptions as Me, createPopupModalViewModel as Ne, SurveyModel as He, doKey2ClickDown as Ae, doKey2ClickBlur as Ee } from "survey-core";
3
3
  fe.createPropertiesHash = () => ce({});
4
4
  function Ve(r) {
5
5
  return !r || r.__vueImplemented ? !1 : (r.createArrayCoreHandler = (o, n) => {
@@ -39,7 +39,7 @@ function B(r, o, n) {
39
39
  i && (n && n(r()), le(i, s), e());
40
40
  });
41
41
  }
42
- function M(r, o, n, s) {
42
+ function N(r, o, n, s) {
43
43
  B(() => r.question, n, s), A(() => {
44
44
  r.question && r.question.afterRenderQuestionElement(o.value);
45
45
  }), U(() => {
@@ -47,7 +47,7 @@ function M(r, o, n, s) {
47
47
  });
48
48
  }
49
49
  function W(r) {
50
- const o = S(), n = (e) => {
50
+ const o = R(), n = (e) => {
51
51
  o.value = e.renderedHtml, e.onChanged = () => {
52
52
  o.value = e.renderedHtml;
53
53
  };
@@ -74,9 +74,9 @@ const Oe = /* @__PURE__ */ C({
74
74
  css: {}
75
75
  },
76
76
  setup(r) {
77
- const o = r, n = S(null);
77
+ const o = r, n = R(null);
78
78
  B(() => o.page);
79
- const s = R(() => o.page._showDescription), e = R(() => o.page.rows);
79
+ const s = S(() => o.page._showDescription), e = S(() => o.page.rows);
80
80
  return A(() => {
81
81
  o.survey && o.survey.afterRenderPage(n.value);
82
82
  }), Z(() => {
@@ -117,7 +117,7 @@ const Oe = /* @__PURE__ */ C({
117
117
  survey: {}
118
118
  },
119
119
  setup(r) {
120
- const o = r, n = S(), s = W(() => o.survey.locLogo);
120
+ const o = r, n = R(), s = W(() => o.survey.locLogo);
121
121
  return A(() => {
122
122
  var e = n.value;
123
123
  e && o.survey && o.survey.afterRenderHeader(e);
@@ -195,9 +195,9 @@ const Oe = /* @__PURE__ */ C({
195
195
  survey: {}
196
196
  },
197
197
  setup(r) {
198
- const o = r, n = R(
198
+ const o = r, n = S(
199
199
  () => o.row.visibleElements
200
- ), s = S();
200
+ ), s = R();
201
201
  return B(() => o.row), A(() => {
202
202
  if (o.row && !o.row.isNeedRender) {
203
203
  const e = s.value;
@@ -244,7 +244,7 @@ const Oe = /* @__PURE__ */ C({
244
244
  css: {}
245
245
  },
246
246
  setup(r) {
247
- const o = r, n = S(null), s = R(() => !o.element.isPanel && o.element.showErrorOnTop), e = R(() => !o.element.isPanel && o.element.showErrorOnBottom), i = (d) => d.customWidget ? "survey-customwidget" : d.getType() === "panel" || d.isDefaultRendering() ? "survey-" + d.getTemplate() : d.getComponentName(), a = (d) => d.cssContent;
247
+ const o = r, n = R(null), s = S(() => !o.element.isPanel && o.element.showErrorOnTop), e = S(() => !o.element.isPanel && o.element.showErrorOnBottom), i = (d) => d.customWidget ? "survey-customwidget" : d.getType() === "panel" || d.isDefaultRendering() ? "survey-" + d.getTemplate() : d.getComponentName(), a = (d) => d.cssContent;
248
248
  return B(() => o.element), A(() => {
249
249
  o.element.isPanel || o.element.afterRender(n.value);
250
250
  }), (d, c) => {
@@ -281,7 +281,7 @@ const Oe = /* @__PURE__ */ C({
281
281
  element: d.element,
282
282
  location: "top"
283
283
  }, null, 8, ["element"])) : m("", !0),
284
- d.element.isPanel || !d.element.isCollapsed ? (t(), q(N(i(d.element)), {
284
+ d.element.isPanel || !d.element.isCollapsed ? (t(), q(M(i(d.element)), {
285
285
  key: 1,
286
286
  question: d.element
287
287
  }, null, 8, ["question"])) : m("", !0),
@@ -325,7 +325,7 @@ const Oe = /* @__PURE__ */ C({
325
325
  element: d.element,
326
326
  location: "bottom"
327
327
  }, null, 8, ["element"])) : m("", !0)
328
- ], 42, Ke)) : d.element.skeletonComponentName ? (t(), q(N(d.element.skeletonComponentName), {
328
+ ], 42, Ke)) : d.element.skeletonComponentName ? (t(), q(M(d.element.skeletonComponentName), {
329
329
  key: 1,
330
330
  element: d.element,
331
331
  css: d.css
@@ -340,7 +340,7 @@ const Oe = /* @__PURE__ */ C({
340
340
  css: {}
341
341
  },
342
342
  setup(r) {
343
- const o = r, n = S(!1), s = S(null), e = R(() => o.question.rows), i = R(() => o.question.survey), a = R(() => n.value);
343
+ const o = r, n = R(!1), s = R(null), e = S(() => o.question.rows), i = S(() => o.question.survey), a = S(() => n.value);
344
344
  return B(() => o.question), A(() => {
345
345
  o.question.survey && o.question.survey.afterRenderPanel(o.question, s.value), n.value = o.question.isCollapsed;
346
346
  const d = o.question;
@@ -436,7 +436,7 @@ const Oe = /* @__PURE__ */ C({
436
436
  locString: {}
437
437
  },
438
438
  setup(r) {
439
- return (o, n) => (t(), q(N(o.locString.renderAs), {
439
+ return (o, n) => (t(), q(M(o.locString.renderAs), {
440
440
  locString: o.locString.renderAsData
441
441
  }, null, 8, ["locString"]));
442
442
  }
@@ -501,8 +501,8 @@ const Oe = /* @__PURE__ */ C({
501
501
  question: {}
502
502
  },
503
503
  setup(r) {
504
- const o = r, n = S(null);
505
- return M(o, n), (s, e) => {
504
+ const o = r, n = R(null);
505
+ return N(o, n), (s, e) => {
506
506
  const i = v("survey-text-input");
507
507
  return s.question.isReadOnlyRenderDiv() ? (t(), u("div", {
508
508
  key: 0,
@@ -535,7 +535,7 @@ const Oe = /* @__PURE__ */ C({
535
535
  setup(r) {
536
536
  const o = r;
537
537
  B(() => o.question);
538
- const n = R(() => o.question.inputStyle);
538
+ const n = S(() => o.question.inputStyle);
539
539
  return (s, e) => {
540
540
  const i = v("sv-character-counter");
541
541
  return s.question.getMaxLength() ? (t(), u("div", as, [
@@ -608,8 +608,8 @@ const Oe = /* @__PURE__ */ C({
608
608
  question: {}
609
609
  },
610
610
  setup(r) {
611
- const o = r, n = S(null);
612
- return M(o, n), (s, e) => {
611
+ const o = r, n = R(null);
612
+ return N(o, n), (s, e) => {
613
613
  const i = v("survey-checkbox-item"), a = v("survey-other-choice");
614
614
  return t(), u("fieldset", {
615
615
  class: l(s.question.getSelectBaseRootCss()),
@@ -688,7 +688,7 @@ const Oe = /* @__PURE__ */ C({
688
688
  hideLabel: { type: Boolean }
689
689
  },
690
690
  setup(r) {
691
- const o = r, n = R({
691
+ const o = r, n = S({
692
692
  get() {
693
693
  return o.question.isAllSelected || "";
694
694
  },
@@ -758,8 +758,8 @@ const Oe = /* @__PURE__ */ C({
758
758
  question: {}
759
759
  },
760
760
  setup(r) {
761
- const o = r, n = S(null);
762
- return M(o, n), (s, e) => {
761
+ const o = r, n = R(null);
762
+ return N(o, n), (s, e) => {
763
763
  const i = v("survey-radiogroup-item"), a = v("survey-other-choice");
764
764
  return t(), u("fieldset", {
765
765
  class: l(s.question.getSelectBaseRootCss()),
@@ -832,7 +832,7 @@ const Oe = /* @__PURE__ */ C({
832
832
  ], 10, hs);
833
833
  };
834
834
  }
835
- }), Is = { role: "presentation" }, ws = ["name", "value", "id", "aria-describedby", "disabled"], Ss = ["xlink:href"], Rs = /* @__PURE__ */ C({
835
+ }), Is = { role: "presentation" }, ws = ["name", "value", "id", "aria-describedby", "disabled"], Rs = ["xlink:href"], Ss = /* @__PURE__ */ C({
836
836
  __name: "RadiogroupItem",
837
837
  props: {
838
838
  question: {},
@@ -871,7 +871,7 @@ const Oe = /* @__PURE__ */ C({
871
871
  }, [
872
872
  p("use", {
873
873
  "xlink:href": e.question.itemSvgIcon
874
- }, null, 8, Ss)
874
+ }, null, 8, Rs)
875
875
  ], 2)) : m("", !0)
876
876
  ], 2)) : m("", !0),
877
877
  e.hideLabel ? m("", !0) : (t(), u("span", {
@@ -892,8 +892,8 @@ const Oe = /* @__PURE__ */ C({
892
892
  question: {}
893
893
  },
894
894
  setup(r) {
895
- const o = r, n = S(null);
896
- return M(o, n), (s, e) => {
895
+ const o = r, n = R(null);
896
+ return N(o, n), (s, e) => {
897
897
  const i = v("sv-svg-icon");
898
898
  return t(), u("div", {
899
899
  class: l(s.question.cssClasses.root),
@@ -951,8 +951,8 @@ const Oe = /* @__PURE__ */ C({
951
951
  question: {}
952
952
  },
953
953
  setup(r) {
954
- const o = r, n = S(null);
955
- M(o, n);
954
+ const o = r, n = R(null);
955
+ N(o, n);
956
956
  const s = W(() => o.question.locHtml);
957
957
  return (e, i) => (t(), u("div", {
958
958
  ref_key: "root",
@@ -967,8 +967,8 @@ const Oe = /* @__PURE__ */ C({
967
967
  question: {}
968
968
  },
969
969
  setup(r) {
970
- const o = r, n = S(null);
971
- M(o, n);
970
+ const o = r, n = R(null);
971
+ N(o, n);
972
972
  const s = W(() => o.question.locImageLink);
973
973
  return (e, i) => {
974
974
  const a = v("sv-svg-icon");
@@ -1049,8 +1049,8 @@ const Oe = /* @__PURE__ */ C({
1049
1049
  question: {}
1050
1050
  },
1051
1051
  setup(r) {
1052
- const o = r, n = S(null);
1053
- return M(o, n), (s, e) => (t(), u("div", {
1052
+ const o = r, n = R(null);
1053
+ return N(o, n), (s, e) => (t(), u("div", {
1054
1054
  class: l(s.question.cssClasses.text),
1055
1055
  ref_key: "root",
1056
1056
  ref: n
@@ -1062,8 +1062,8 @@ const Oe = /* @__PURE__ */ C({
1062
1062
  question: {}
1063
1063
  },
1064
1064
  setup(r) {
1065
- const o = r, n = S(null);
1066
- M(o, n);
1065
+ const o = r, n = R(null);
1066
+ N(o, n);
1067
1067
  const s = (e) => o.question.isPreviewVisible(e);
1068
1068
  return (e, i) => {
1069
1069
  const a = v("sv-loading-indicator"), d = v("sv-svg-icon"), c = v("sv-action-bar"), y = Y("key2click");
@@ -1252,8 +1252,8 @@ const Oe = /* @__PURE__ */ C({
1252
1252
  question: {}
1253
1253
  },
1254
1254
  setup(r) {
1255
- const o = r, n = S(null);
1256
- return M(o, n), (s, e) => {
1255
+ const o = r, n = R(null);
1256
+ return N(o, n), (s, e) => {
1257
1257
  const i = v("survey-imagepicker-item");
1258
1258
  return t(), u("fieldset", {
1259
1259
  class: l(s.question.getSelectBaseRootCss()),
@@ -1415,8 +1415,8 @@ const Oe = /* @__PURE__ */ C({
1415
1415
  css: {}
1416
1416
  },
1417
1417
  setup(r) {
1418
- const o = r, n = S(null);
1419
- M(o, n);
1418
+ const o = r, n = R(null);
1419
+ N(o, n);
1420
1420
  const s = (e) => {
1421
1421
  const i = o.question;
1422
1422
  i.value = e.target.value;
@@ -1495,8 +1495,8 @@ const Oe = /* @__PURE__ */ C({
1495
1495
  question: {}
1496
1496
  },
1497
1497
  setup(r) {
1498
- const o = r, n = S(null);
1499
- return M(o, n), (s, e) => {
1498
+ const o = r, n = R(null);
1499
+ return N(o, n), (s, e) => {
1500
1500
  const i = v("sv-dropdown"), a = v("survey-other-choice");
1501
1501
  return t(), u("div", {
1502
1502
  class: l(s.question.renderCssRoot),
@@ -1526,13 +1526,13 @@ const rn = /* @__PURE__ */ C({
1526
1526
  question: {}
1527
1527
  },
1528
1528
  setup(r) {
1529
- const o = r, n = S(null);
1530
- M(o, n);
1529
+ const o = r, n = R(null);
1530
+ N(o, n);
1531
1531
  const s = (a) => {
1532
1532
  o.question.onClick(a);
1533
1533
  }, e = (a) => {
1534
1534
  o.question.onKeyUp(a);
1535
- }, i = R({
1535
+ }, i = S({
1536
1536
  get() {
1537
1537
  var a;
1538
1538
  return (a = o.question.value) != null ? a : "";
@@ -1613,7 +1613,7 @@ const rn = /* @__PURE__ */ C({
1613
1613
  question: {}
1614
1614
  },
1615
1615
  setup(r) {
1616
- const o = r, n = S(null), s = R(() => {
1616
+ const o = r, n = R(null), s = S(() => {
1617
1617
  const g = o.question;
1618
1618
  return g.dropdownListModel || (g.dropdownListModel = new Ie(g)), o.question.dropdownListModel;
1619
1619
  }), e = (g) => {
@@ -1683,7 +1683,7 @@ const rn = /* @__PURE__ */ C({
1683
1683
  p("span", mn, I(s.value.inputStringRendered), 1),
1684
1684
  p("span", null, I(s.value.hintStringSuffix), 1)
1685
1685
  ], 2)) : m("", !0),
1686
- g.question.showInputFieldComponent ? (t(), q(N(g.question.inputFieldComponentName), {
1686
+ g.question.showInputFieldComponent ? (t(), q(M(g.question.inputFieldComponentName), {
1687
1687
  key: 2,
1688
1688
  item: s.value.getSelectedAction(),
1689
1689
  question: g.question
@@ -1759,8 +1759,8 @@ const rn = /* @__PURE__ */ C({
1759
1759
  question: {}
1760
1760
  },
1761
1761
  setup(r) {
1762
- const o = r, n = S(null);
1763
- return M(o, n), (s, e) => {
1762
+ const o = r, n = R(null);
1763
+ return N(o, n), (s, e) => {
1764
1764
  const i = v("sv-tagbox"), a = v("survey-other-choice");
1765
1765
  return t(), u("div", {
1766
1766
  class: l(s.question.renderCssRoot),
@@ -1781,9 +1781,9 @@ const rn = /* @__PURE__ */ C({
1781
1781
  question: {}
1782
1782
  },
1783
1783
  setup(r) {
1784
- const o = r, n = R(() => {
1784
+ const o = r, n = S(() => {
1785
1785
  const d = o.question;
1786
- return d.dropdownListModel || (d.dropdownListModel = new Se(d)), o.question.dropdownListModel;
1786
+ return d.dropdownListModel || (d.dropdownListModel = new Re(d)), o.question.dropdownListModel;
1787
1787
  }), s = (d) => {
1788
1788
  var c;
1789
1789
  (c = n.value) == null || c.onClick(d);
@@ -1982,8 +1982,8 @@ const rn = /* @__PURE__ */ C({
1982
1982
  question: {}
1983
1983
  },
1984
1984
  setup(r) {
1985
- const o = r, n = S(null);
1986
- M(o, n);
1985
+ const o = r, n = R(null);
1986
+ N(o, n);
1987
1987
  const s = (e) => o.question.getNumberByIndex(e);
1988
1988
  return (e, i) => {
1989
1989
  const a = v("survey-ranking-item");
@@ -2050,7 +2050,7 @@ const rn = /* @__PURE__ */ C({
2050
2050
  ], 2);
2051
2051
  };
2052
2052
  }
2053
- }), Sn = ["tabindex", "data-sv-drop-target-ranking-item"], Rn = {
2053
+ }), Rn = ["tabindex", "data-sv-drop-target-ranking-item"], Sn = {
2054
2054
  tabindex: "-1",
2055
2055
  style: { outline: "none" }
2056
2056
  }, Tn = /* @__PURE__ */ p("path", { d: "M6 2C6 0.9 6.9 0 8 0C9.1 0 10 0.9 10 2C10 3.1 9.1 4 8 4C6.9 4 6 3.1 6 2ZM2 0C0.9 0 0 0.9 0 2C0 3.1 0.9 4 2 4C3.1 4 4 3.1 4 2C4 0.9 3.1 0 2 0ZM8 6C6.9 6 6 6.9 6 8C6 9.1 6.9 10 8 10C9.1 10 10 9.1 10 8C10 6.9 9.1 6 8 6ZM2 6C0.9 6 0 6.9 0 8C0 9.1 0.9 10 2 10C3.1 10 4 9.1 4 8C4 6.9 3.1 6 2 6ZM8 12C6.9 12 6 12.9 6 14C6 15.1 6.9 16 8 16C9.1 16 10 15.1 10 14C10 12.9 9.1 12 8 12ZM2 12C0.9 12 0 12.9 0 14C0 15.1 0.9 16 2 16C3.1 16 4 15.1 4 14C4 12.9 3.1 12 2 12Z" }, null, -1), $n = [
@@ -2090,7 +2090,7 @@ const rn = /* @__PURE__ */ C({
2090
2090
  );
2091
2091
  })
2092
2092
  }, [
2093
- p("div", Rn, [
2093
+ p("div", Sn, [
2094
2094
  p("div", {
2095
2095
  class: l(n.cssClasses.itemGhostNode)
2096
2096
  }, null, 2),
@@ -2125,7 +2125,7 @@ const rn = /* @__PURE__ */ C({
2125
2125
  ], 2)
2126
2126
  ], 2)
2127
2127
  ])
2128
- ], 42, Sn);
2128
+ ], 42, Rn);
2129
2129
  };
2130
2130
  }
2131
2131
  }), Mn = { role: "radiogroup" }, Nn = /* @__PURE__ */ p("legend", {
@@ -2137,8 +2137,8 @@ const rn = /* @__PURE__ */ C({
2137
2137
  question: {}
2138
2138
  },
2139
2139
  setup(r) {
2140
- const o = r, n = S(null);
2141
- M(o, n);
2140
+ const o = r, n = R(null);
2141
+ N(o, n);
2142
2142
  const s = (e) => o.question.getInputId(e);
2143
2143
  return (e, i) => {
2144
2144
  const a = v("survey-string");
@@ -2157,7 +2157,7 @@ const rn = /* @__PURE__ */ C({
2157
2157
  locString: e.question.locMinRateDescription
2158
2158
  }, null, 8, ["locString"])
2159
2159
  ], 2)) : m("", !0),
2160
- (t(!0), u(w, null, T(e.question.renderedRateItems, (d, c) => (t(), q(N(e.question.itemComponentName), {
2160
+ (t(!0), u(w, null, T(e.question.renderedRateItems, (d, c) => (t(), q(M(e.question.itemComponentName), {
2161
2161
  key: s(c),
2162
2162
  item: d,
2163
2163
  index: c,
@@ -2312,8 +2312,8 @@ const zn = /* @__PURE__ */ C({
2312
2312
  question: {}
2313
2313
  },
2314
2314
  setup(r) {
2315
- const o = r, n = S(null);
2316
- return M(o, n), (s, e) => {
2315
+ const o = r, n = R(null);
2316
+ return N(o, n), (s, e) => {
2317
2317
  const i = v("sv-dropdown");
2318
2318
  return t(), u("div", {
2319
2319
  class: l(s.question.cssClasses.rootDropdown),
@@ -2330,8 +2330,8 @@ const zn = /* @__PURE__ */ C({
2330
2330
  question: {}
2331
2331
  },
2332
2332
  setup(r) {
2333
- const o = r, n = S(null);
2334
- M(o, n);
2333
+ const o = r, n = R(null);
2334
+ N(o, n);
2335
2335
  const s = (i, a) => {
2336
2336
  o.question.onLabelClick(i, a);
2337
2337
  }, e = (i) => {
@@ -2420,8 +2420,8 @@ const _n = /* @__PURE__ */ C({
2420
2420
  question: {}
2421
2421
  },
2422
2422
  setup(r) {
2423
- const o = r, n = S(null);
2424
- return M(o, n), (s, e) => {
2423
+ const o = r, n = R(null);
2424
+ return N(o, n), (s, e) => {
2425
2425
  const i = v("sv-boolean-radio-item");
2426
2426
  return t(), u("div", {
2427
2427
  class: l(s.question.cssClasses.rootRadio),
@@ -2514,8 +2514,8 @@ const xn = /* @__PURE__ */ C({
2514
2514
  css: {}
2515
2515
  },
2516
2516
  setup(r) {
2517
- const o = r, n = S(null);
2518
- return M(o, n), (s, e) => {
2517
+ const o = r, n = R(null);
2518
+ return N(o, n), (s, e) => {
2519
2519
  var c;
2520
2520
  const i = v("survey-element-title-content"), a = v("sv-title-actions"), d = v("survey-string");
2521
2521
  return t(), u("div", {
@@ -2593,8 +2593,8 @@ const xn = /* @__PURE__ */ C({
2593
2593
  question: {}
2594
2594
  },
2595
2595
  setup(r) {
2596
- const o = r, n = S(null);
2597
- return M(o, n), (s, e) => {
2596
+ const o = r, n = R(null);
2597
+ return N(o, n), (s, e) => {
2598
2598
  const i = v("survey-multipletext-item");
2599
2599
  return t(), u("table", {
2600
2600
  class: l(s.question.getQuestionRootCss()),
@@ -2633,7 +2633,7 @@ const xn = /* @__PURE__ */ C({
2633
2633
  setup(r) {
2634
2634
  const o = r, n = (e) => ee(e);
2635
2635
  B(() => o.cell.item.editor);
2636
- const s = R(() => o.cell.item);
2636
+ const s = S(() => o.cell.item);
2637
2637
  return (e, i) => {
2638
2638
  const a = v("survey-string"), d = v("survey-errors");
2639
2639
  return e.cell.isErrorsCell ? (t(), q(d, {
@@ -2665,7 +2665,7 @@ const xn = /* @__PURE__ */ C({
2665
2665
  class: l(e.question.getItemCss()),
2666
2666
  onFocusin: i[0] || (i[0] = (c) => s.value.focusIn())
2667
2667
  }, [
2668
- (t(), q(N(n(s.value.editor)), {
2668
+ (t(), q(M(n(s.value.editor)), {
2669
2669
  question: s.value.editor
2670
2670
  }, null, 8, ["question"]))
2671
2671
  ], 34))
@@ -2678,8 +2678,8 @@ const xn = /* @__PURE__ */ C({
2678
2678
  question: {}
2679
2679
  },
2680
2680
  setup(r) {
2681
- const o = r, n = S(null), s = F();
2682
- M(
2681
+ const o = r, n = R(null), s = F();
2682
+ N(
2683
2683
  o,
2684
2684
  n,
2685
2685
  (i) => {
@@ -2814,8 +2814,8 @@ const xn = /* @__PURE__ */ C({
2814
2814
  question: {}
2815
2815
  },
2816
2816
  setup(r) {
2817
- const o = r, n = S(null);
2818
- return M(o, n), (s, e) => {
2817
+ const o = r, n = R(null);
2818
+ return N(o, n), (s, e) => {
2819
2819
  const i = v("survey-matrixtable");
2820
2820
  return t(), q(i, {
2821
2821
  question: s.question,
@@ -2830,7 +2830,7 @@ const xn = /* @__PURE__ */ C({
2830
2830
  question: {}
2831
2831
  },
2832
2832
  setup(r) {
2833
- const o = r, n = R(() => o.question.renderedTable);
2833
+ const o = r, n = S(() => o.question.renderedTable);
2834
2834
  return B(
2835
2835
  () => n.value,
2836
2836
  (s) => {
@@ -2931,7 +2931,7 @@ const xn = /* @__PURE__ */ C({
2931
2931
  cell: {}
2932
2932
  },
2933
2933
  setup(r) {
2934
- const o = r, n = S(!1), s = S(), e = () => o.cell.headers, i = () => !!o.cell.width || !!o.cell.minWidth ? { width: o.cell.width, minWidth: o.cell.minWidth } : null, a = () => o.cell.index || "", d = () => n.value = o.cell.question.isVisible, c = (y) => ee(y);
2934
+ const o = r, n = R(!1), s = R(), e = () => o.cell.headers, i = () => !!o.cell.width || !!o.cell.minWidth ? { width: o.cell.width, minWidth: o.cell.minWidth } : null, a = () => o.cell.index || "", d = () => n.value = o.cell.question.isVisible, c = (y) => ee(y);
2935
2935
  return A(() => {
2936
2936
  if (!(!o.cell.hasQuestion || !o.question || !o.question.survey)) {
2937
2937
  d(), o.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
@@ -2971,7 +2971,7 @@ const xn = /* @__PURE__ */ C({
2971
2971
  model: y.cell.item.getData(),
2972
2972
  handleClick: !1
2973
2973
  }, null, 8, ["model"])) : m("", !0),
2974
- y.cell.hasPanel ? (t(), q(N(c(y.cell.panel)), {
2974
+ y.cell.hasPanel ? (t(), q(M(c(y.cell.panel)), {
2975
2975
  key: 3,
2976
2976
  question: y.cell.panel,
2977
2977
  css: y.question.cssClasses
@@ -2980,13 +2980,13 @@ const xn = /* @__PURE__ */ C({
2980
2980
  key: 4,
2981
2981
  class: l(y.question.cssClasses.cellQuestionWrapper)
2982
2982
  }, [
2983
- !y.cell.isChoice && y.cell.question.isDefaultRendering() ? L((t(), q(N(c(y.cell.question)), {
2983
+ !y.cell.isChoice && y.cell.question.isDefaultRendering() ? L((t(), q(M(c(y.cell.question)), {
2984
2984
  key: 0,
2985
2985
  question: y.cell.question
2986
2986
  }, null, 8, ["question"])), [
2987
2987
  [H, n.value]
2988
2988
  ]) : m("", !0),
2989
- !y.cell.isChoice && !y.cell.question.isDefaultRendering() ? L((t(), q(N(y.cell.question.getComponentName()), {
2989
+ !y.cell.isChoice && !y.cell.question.isDefaultRendering() ? L((t(), q(M(y.cell.question.getComponentName()), {
2990
2990
  key: 1,
2991
2991
  question: y.cell.question
2992
2992
  }, null, 8, ["question"])), [
@@ -3030,8 +3030,8 @@ const xn = /* @__PURE__ */ C({
3030
3030
  question: {}
3031
3031
  },
3032
3032
  setup(r) {
3033
- const o = r, n = S(null);
3034
- M(o, n);
3033
+ const o = r, n = R(null);
3034
+ N(o, n);
3035
3035
  const s = () => {
3036
3036
  o.question.addRowUI();
3037
3037
  };
@@ -3109,8 +3109,8 @@ const xn = /* @__PURE__ */ C({
3109
3109
  });
3110
3110
  function se(r, o = !0) {
3111
3111
  return {
3112
- question: R(() => r.item.data.question),
3113
- row: o ? R(() => r.item.data.row) : void 0
3112
+ question: S(() => r.item.data.question),
3113
+ row: o ? S(() => r.item.data.row) : void 0
3114
3114
  };
3115
3115
  }
3116
3116
  const fo = ["disabled"], Io = /* @__PURE__ */ C({
@@ -3137,7 +3137,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ C({
3137
3137
  ], 10, fo);
3138
3138
  };
3139
3139
  }
3140
- }), wo = ["xlink:href"], So = /* @__PURE__ */ C({
3140
+ }), wo = ["xlink:href"], Ro = /* @__PURE__ */ C({
3141
3141
  __name: "DragDropIcon",
3142
3142
  props: {
3143
3143
  item: {}
@@ -3156,7 +3156,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ C({
3156
3156
  class: l(f(n).cssClasses.iconDrag)
3157
3157
  }, null, 2));
3158
3158
  }
3159
- }), Ro = ["aria-expanded", "aria-controls"], To = /* @__PURE__ */ C({
3159
+ }), So = ["aria-expanded", "aria-controls"], To = /* @__PURE__ */ C({
3160
3160
  __name: "DetailButton",
3161
3161
  props: {
3162
3162
  item: {}
@@ -3177,7 +3177,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ C({
3177
3177
  iconName: f(n).getDetailPanelIconId(f(s)),
3178
3178
  size: "auto"
3179
3179
  }, null, 8, ["class", "iconName"])
3180
- ], 10, Ro);
3180
+ ], 10, So);
3181
3181
  };
3182
3182
  }
3183
3183
  }), $o = /* @__PURE__ */ C({
@@ -3187,8 +3187,8 @@ const fo = ["disabled"], Io = /* @__PURE__ */ C({
3187
3187
  css: {}
3188
3188
  },
3189
3189
  setup(r) {
3190
- const o = r, n = S(null), s = x();
3191
- M(
3190
+ const o = r, n = R(null), s = x();
3191
+ N(
3192
3192
  o,
3193
3193
  n,
3194
3194
  (a) => {
@@ -3210,7 +3210,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ C({
3210
3210
  };
3211
3211
  }
3212
3212
  );
3213
- const e = R(() => {
3213
+ const e = S(() => {
3214
3214
  if (o.question.isRenderModeList)
3215
3215
  return o.question.panels;
3216
3216
  const a = [];
@@ -3369,7 +3369,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ C({
3369
3369
  }
3370
3370
  });
3371
3371
  function K(r) {
3372
- return R(
3372
+ return S(
3373
3373
  () => r.item && r.item.data.question || r.data.question
3374
3374
  );
3375
3375
  }
@@ -3449,7 +3449,7 @@ const Do = /* @__PURE__ */ C({
3449
3449
  data: {}
3450
3450
  },
3451
3451
  setup(r) {
3452
- const o = r, n = K(o), s = R(
3452
+ const o = r, n = K(o), s = S(
3453
3453
  () => o.item && o.item.data.panel || o.data.panel
3454
3454
  ), e = (i) => {
3455
3455
  n.value.isInputReadOnly || n.value.removePanelUI(i);
@@ -3486,7 +3486,7 @@ const Do = /* @__PURE__ */ C({
3486
3486
  location: {}
3487
3487
  },
3488
3488
  setup(r) {
3489
- const o = S();
3489
+ const o = R();
3490
3490
  return (n, s) => {
3491
3491
  const e = v("survey-string");
3492
3492
  return n.element.hasVisibleErrors ? (t(), u("div", {
@@ -3559,7 +3559,7 @@ const Do = /* @__PURE__ */ C({
3559
3559
  };
3560
3560
  return (n, s) => {
3561
3561
  const e = v("survey-element-title-content"), i = v("sv-title-actions");
3562
- return n.element.hasTitle ? (t(), q(N(n.element.titleTagName), {
3562
+ return n.element.hasTitle ? (t(), q(M(n.element.titleTagName), {
3563
3563
  key: 0,
3564
3564
  class: l(n.element.cssTitle),
3565
3565
  "aria-label": n.element.titleAriaLabel,
@@ -3639,7 +3639,7 @@ const Do = /* @__PURE__ */ C({
3639
3639
  css: {}
3640
3640
  },
3641
3641
  setup(r) {
3642
- const o = r, n = R(() => o.element.getTitleToolbar());
3642
+ const o = r, n = S(() => o.element.getTitleToolbar());
3643
3643
  return (s, e) => {
3644
3644
  const i = v("survey-string"), a = v("survey-element-title-content"), d = v("sv-action-bar");
3645
3645
  return t(), u("div", Go, [
@@ -3681,8 +3681,8 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3681
3681
  title: {}
3682
3682
  },
3683
3683
  setup(r) {
3684
- const o = r, n = S(), s = () => {
3685
- Re(
3684
+ const o = r, n = R(), s = () => {
3685
+ Se(
3686
3686
  o.size,
3687
3687
  o.width,
3688
3688
  o.height,
@@ -3711,7 +3711,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3711
3711
  handleClick: { type: Boolean }
3712
3712
  },
3713
3713
  setup(r) {
3714
- const o = r, n = S(null);
3714
+ const o = r, n = R(null);
3715
3715
  return B(() => o.model), A(() => {
3716
3716
  !o.model.hasActions || o.model.initResponsivityManager(n.value);
3717
3717
  }), V(() => {
@@ -3740,7 +3740,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3740
3740
  item: {}
3741
3741
  },
3742
3742
  setup(r) {
3743
- const o = r, n = R(
3743
+ const o = r, n = S(
3744
3744
  () => o.item.component || "sv-action-bar-item"
3745
3745
  );
3746
3746
  return B(() => o.item), (s, e) => {
@@ -3751,7 +3751,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3751
3751
  }, [
3752
3752
  p("div", dt, [
3753
3753
  s.item.needSeparator ? (t(), q(i, { key: 0 })) : m("", !0),
3754
- (t(), q(N(n.value), { item: s.item }, null, 8, ["item"]))
3754
+ (t(), q(M(n.value), { item: s.item }, null, 8, ["item"]))
3755
3755
  ])
3756
3756
  ], 10, ut);
3757
3757
  };
@@ -3853,7 +3853,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3853
3853
  item: {}
3854
3854
  },
3855
3855
  setup(r) {
3856
- const o = r, n = R(() => o.item && o.item.innerCss);
3856
+ const o = r, n = S(() => o.item && o.item.innerCss);
3857
3857
  return (s, e) => (t(), u("div", {
3858
3858
  class: l(["sv-action-bar-separator", n.value])
3859
3859
  }, null, 2));
@@ -3864,7 +3864,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3864
3864
  model: {}
3865
3865
  },
3866
3866
  setup(r) {
3867
- const o = r, n = S(null), s = (a) => {
3867
+ const o = r, n = R(null), s = (a) => {
3868
3868
  const d = o.model;
3869
3869
  d.filterString = a.target.value;
3870
3870
  }, e = (a) => {
@@ -3957,7 +3957,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3957
3957
  item: {}
3958
3958
  },
3959
3959
  setup(r) {
3960
- const o = r, n = R(() => o.item.elementId), s = (e) => {
3960
+ const o = r, n = S(() => o.item.elementId), s = (e) => {
3961
3961
  o.model.onItemClick(o.item), e.stopPropagation();
3962
3962
  };
3963
3963
  return B(() => o.item), A(() => {
@@ -3993,7 +3993,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
3993
3993
  key: 1,
3994
3994
  locString: e.item.locTitle
3995
3995
  }, null, 8, ["locString"])),
3996
- e.item.component ? (t(), q(N(e.item.component), {
3996
+ e.item.component ? (t(), q(M(e.item.component), {
3997
3997
  key: 2,
3998
3998
  item: e.item
3999
3999
  }, null, 8, ["item"])) : m("", !0)
@@ -4013,7 +4013,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4013
4013
  setup(r) {
4014
4014
  const o = r, n = F(
4015
4015
  te(o.model, void 0)
4016
- ), s = S(null);
4016
+ ), s = R(null);
4017
4017
  return Q(
4018
4018
  () => o.model,
4019
4019
  (e) => {
@@ -4038,7 +4038,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4038
4038
  ], 512);
4039
4039
  };
4040
4040
  }
4041
- }), wt = { class: "sv-popup__shadow" }, St = { class: "sv-popup__body-content" }, Rt = {
4041
+ }), wt = { class: "sv-popup__shadow" }, Rt = { class: "sv-popup__body-content" }, St = {
4042
4042
  key: 0,
4043
4043
  class: "sv-popup__body-header"
4044
4044
  }, Tt = { class: "sv-popup__scrolling-content" }, $t = { class: "sv-popup__content" }, Bt = {
@@ -4082,15 +4082,15 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4082
4082
  onClick: s
4083
4083
  }, [
4084
4084
  p("div", wt, [
4085
- e.model.showHeader ? (t(), q(N(e.model.popupHeaderTemplate), {
4085
+ e.model.showHeader ? (t(), q(M(e.model.popupHeaderTemplate), {
4086
4086
  key: 0,
4087
4087
  model: e.model
4088
4088
  }, null, 8, ["model"])) : m("", !0),
4089
- p("div", St, [
4090
- e.model.title ? (t(), u("div", Rt, I(e.model.title), 1)) : m("", !0),
4089
+ p("div", Rt, [
4090
+ e.model.title ? (t(), u("div", St, I(e.model.title), 1)) : m("", !0),
4091
4091
  p("div", Tt, [
4092
4092
  p("div", $t, [
4093
- (t(), q(N(e.model.contentComponentName), Ce(he(e.model.contentComponentData)), null, 16))
4093
+ (t(), q(M(e.model.contentComponentName), Ce(he(e.model.contentComponentData)), null, 16))
4094
4094
  ])
4095
4095
  ]),
4096
4096
  e.model.showFooter ? (t(), u("div", Bt, [
@@ -4131,17 +4131,17 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4131
4131
  needRenderWrapper: {}
4132
4132
  },
4133
4133
  setup(r) {
4134
- const o = r, n = R(
4134
+ const o = r, n = S(
4135
4135
  () => o.survey.getContainerContent(o.container)
4136
4136
  );
4137
4137
  return (s, e) => n.value.length > 0 ? (t(), u(w, { key: 0 }, [
4138
4138
  s.needRenderWrapper ? (t(), u("div", Pt, [
4139
- (t(!0), u(w, null, T(n.value, (i, a) => (t(), q(N(i.component), {
4139
+ (t(!0), u(w, null, T(n.value, (i, a) => (t(), q(M(i.component), {
4140
4140
  survey: s.survey,
4141
4141
  container: s.container,
4142
4142
  model: i.data
4143
4143
  }, null, 8, ["survey", "container", "model"]))), 256))
4144
- ])) : (t(!0), u(w, { key: 1 }, T(n.value, (i, a) => (t(), q(N(i.component), {
4144
+ ])) : (t(!0), u(w, { key: 1 }, T(n.value, (i, a) => (t(), q(M(i.component), {
4145
4145
  survey: s.survey,
4146
4146
  model: i.data
4147
4147
  }, null, 8, ["survey", "model"]))), 256))
@@ -4155,7 +4155,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4155
4155
  css: {}
4156
4156
  },
4157
4157
  setup(r) {
4158
- const o = r, n = R(() => o.survey.progressValue + "%"), s = (i) => ie.getProgressTextInBarCss(i), e = (i) => ie.getProgressTextUnderBarCss(i);
4158
+ const o = r, n = S(() => o.survey.progressValue + "%"), s = (i) => ie.getProgressTextInBarCss(i), e = (i) => ie.getProgressTextUnderBarCss(i);
4159
4159
  return (i, a) => (t(), u("div", {
4160
4160
  class: l(i.survey.getProgressCssClasses(i.container))
4161
4161
  }, [
@@ -4181,7 +4181,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4181
4181
  survey: {}
4182
4182
  },
4183
4183
  setup(r) {
4184
- const o = r, n = new Be(o.survey), s = S(!1), e = S(), i = R(() => o.survey.css);
4184
+ const o = r, n = new Be(o.survey), s = R(!1), e = R(), i = S(() => o.survey.css);
4185
4185
  let a;
4186
4186
  const d = (k) => n.isListElementClickable(k), c = (k) => n.getListElementCss(k), y = (k) => {
4187
4187
  n.clickListElement(k);
@@ -4281,15 +4281,15 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4281
4281
  survey: {}
4282
4282
  },
4283
4283
  setup(r) {
4284
- const o = r, n = S(), s = S(""), e = S(1), i = R(() => {
4284
+ const o = r, n = R(), s = R(""), e = R(1), i = S(() => {
4285
4285
  const k = o.survey ? o.survey : o.model;
4286
4286
  return be(k);
4287
- }), a = R(() => i.value.activePage ? i.value.activePage.id : ""), d = () => {
4287
+ }), a = S(() => i.value.activePage ? i.value.activePage.id : ""), d = () => {
4288
4288
  const k = a.value;
4289
4289
  return !!i.value && k + e.value.toString();
4290
- }, c = R(
4290
+ }, c = S(
4291
4291
  () => i.value.showCompletedPage && i.value.state === "completed"
4292
- ), y = R(() => i.value.css), h = R(() => "page" + d()), g = () => c.value ? (s.value || (s.value = i.value.processedCompletedHtml), s.value) : "";
4292
+ ), y = S(() => i.value.css), h = S(() => "page" + d()), g = () => c.value ? (s.value || (s.value = i.value.processedCompletedHtml), s.value) : "";
4293
4293
  return B(() => i.value), A(() => {
4294
4294
  if (!!i.value) {
4295
4295
  i.value.needRenderIcons && De.renderIcons();
@@ -4321,7 +4321,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4321
4321
  class: l(y.value.container)
4322
4322
  }, [
4323
4323
  b(E, { survey: i.value }, null, 8, ["survey"]),
4324
- (t(), q(N("sv-components-container"), {
4324
+ (t(), q(M("sv-components-container"), {
4325
4325
  survey: i.value,
4326
4326
  container: "header",
4327
4327
  needRenderWrapper: !1
@@ -4330,7 +4330,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4330
4330
  key: 0,
4331
4331
  class: l(i.value.bodyContainerCss)
4332
4332
  }, [
4333
- (t(), q(N("sv-components-container"), {
4333
+ (t(), q(M("sv-components-container"), {
4334
4334
  survey: i.value,
4335
4335
  container: "left",
4336
4336
  needRenderWrapper: !0
@@ -4340,7 +4340,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4340
4340
  style: $({ maxWidth: i.value.renderedWidth }),
4341
4341
  id: a.value
4342
4342
  }, [
4343
- (t(), q(N("sv-components-container"), {
4343
+ (t(), q(M("sv-components-container"), {
4344
4344
  survey: i.value,
4345
4345
  container: "contentTop",
4346
4346
  needRenderWrapper: !0
@@ -4351,19 +4351,19 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4351
4351
  page: i.value.activePage,
4352
4352
  css: y.value
4353
4353
  }, null, 8, ["survey", "page", "css"])),
4354
- (t(), q(N("sv-components-container"), {
4354
+ (t(), q(M("sv-components-container"), {
4355
4355
  survey: i.value,
4356
4356
  container: "contentBottom",
4357
4357
  needRenderWrapper: !0
4358
4358
  }, null, 8, ["survey"]))
4359
4359
  ], 14, Wt),
4360
- (t(), q(N("sv-components-container"), {
4360
+ (t(), q(M("sv-components-container"), {
4361
4361
  survey: i.value,
4362
4362
  container: "right",
4363
4363
  needRenderWrapper: !0
4364
4364
  }, null, 8, ["survey"]))
4365
4365
  ], 2)) : m("", !0),
4366
- (t(), q(N("sv-components-container"), {
4366
+ (t(), q(M("sv-components-container"), {
4367
4367
  survey: i.value,
4368
4368
  container: "footer",
4369
4369
  needRenderWrapper: !1
@@ -4372,7 +4372,12 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4372
4372
  p("div", {
4373
4373
  innerHTML: g(),
4374
4374
  class: l(i.value.completedCss)
4375
- }, null, 10, Ut)
4375
+ }, null, 10, Ut),
4376
+ (t(), q(M("sv-components-container"), {
4377
+ survey: i.value,
4378
+ container: "completePage",
4379
+ needRenderWrapper: !0
4380
+ }, null, 8, ["survey"]))
4376
4381
  ])) : m("", !0),
4377
4382
  i.value.state === "completedbefore" ? (t(), u("div", {
4378
4383
  key: 2,
@@ -4479,10 +4484,10 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4479
4484
  closeOnCompleteTimeout: {}
4480
4485
  },
4481
4486
  setup(r) {
4482
- const o = r, n = F(), s = R(() => o.survey ? o.survey.getCss() : {}), e = R(() => {
4487
+ const o = r, n = F(), s = S(() => o.survey ? o.survey.getCss() : {}), e = S(() => {
4483
4488
  var g;
4484
4489
  return (g = n.value) != null && g.isExpanded ? s.value.window.header.buttonCollapsed : s.value.window.header.buttonExpanded;
4485
- }), i = R(() => {
4490
+ }), i = S(() => {
4486
4491
  var g;
4487
4492
  return (g = n.value) == null ? void 0 : g.isExpanded;
4488
4493
  }), a = () => {
@@ -4563,7 +4568,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4563
4568
  class: l(n.value.cssBody),
4564
4569
  onScroll: y
4565
4570
  }, [
4566
- (t(), q(N(c()), { survey: g.survey }, null, 8, ["survey"]))
4571
+ (t(), q(M(c()), { survey: g.survey }, null, 8, ["survey"]))
4567
4572
  ], 34)) : m("", !0)
4568
4573
  ], 6)) : m("", !0);
4569
4574
  };
@@ -4575,11 +4580,11 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4575
4580
  css: {}
4576
4581
  },
4577
4582
  setup(r) {
4578
- const o = r, n = S(), s = R(
4583
+ const o = r, n = R(), s = S(
4579
4584
  () => o.question.customWidget.isDefaultRender
4580
- ), e = R(
4585
+ ), e = S(
4581
4586
  () => !!o.question.customWidget.htmlTemplate
4582
- ), i = R(() => o.question.customWidget.htmlTemplate), a = R(() => "survey-" + o.question.getTemplate());
4587
+ ), i = S(() => o.question.customWidget.htmlTemplate), a = S(() => "survey-" + o.question.getTemplate());
4583
4588
  return A(() => {
4584
4589
  o.question.customWidget.afterRender(o.question, n.value);
4585
4590
  }), U(() => {
@@ -4592,7 +4597,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4592
4597
  key: 0,
4593
4598
  innerHTML: i.value
4594
4599
  }, null, 8, Yt)) : m("", !0),
4595
- s.value ? (t(), q(N(a.value), {
4600
+ s.value ? (t(), q(M(a.value), {
4596
4601
  key: 1,
4597
4602
  question: d.question,
4598
4603
  css: d.css
@@ -4660,9 +4665,9 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4660
4665
  css: {}
4661
4666
  },
4662
4667
  setup(r) {
4663
- const o = r, n = S(null);
4664
- M(o, n);
4665
- const s = R(() => o.question.contentPanel);
4668
+ const o = r, n = R(null);
4669
+ N(o, n);
4670
+ const s = S(() => o.question.contentPanel);
4666
4671
  return (e, i) => {
4667
4672
  const a = v("survey-panel");
4668
4673
  return t(), q(a, {
@@ -4680,10 +4685,10 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4680
4685
  css: {}
4681
4686
  },
4682
4687
  setup(r) {
4683
- const o = r, n = S(null);
4684
- M(o, n);
4685
- const s = R(() => o.question.contentQuestion), e = (i) => ee(i);
4686
- return (i, a) => (t(), q(N(e(s.value)), {
4688
+ const o = r, n = R(null);
4689
+ N(o, n);
4690
+ const s = S(() => o.question.contentQuestion), e = (i) => ee(i);
4691
+ return (i, a) => (t(), q(M(e(s.value)), {
4687
4692
  ref: n.value,
4688
4693
  question: s.value,
4689
4694
  css: i.css
@@ -4698,7 +4703,7 @@ const ot = /* @__PURE__ */ me(Yo, [["render", nt]]), tt = ["aria-label"], it = /
4698
4703
  css: {}
4699
4704
  },
4700
4705
  setup(r) {
4701
- const o = r, n = R(() => ue * o.model.progress), s = R(() => o.model.text);
4706
+ const o = r, n = S(() => ue * o.model.progress), s = S(() => o.model.text);
4702
4707
  return B(() => o.model), (e, i) => e.model.isRunning && e.model.showTimerAsClock ? (t(), u("div", {
4703
4708
  key: 0,
4704
4709
  class: l(e.model.rootCss)
@@ -4739,7 +4744,7 @@ function ui(r, o) {
4739
4744
  const di = /* @__PURE__ */ me(ri, [["render", ui]]);
4740
4745
  He.platform = "vue3";
4741
4746
  function mi(r) {
4742
- r.component("SurveyComponent", re), r.component("PopupSurveyComponent", ae), r.component("survey", re), r.component("popup-survey", ae), r.component("survey-header", ze), r.component("survey-page", Oe), r.component("survey-row", Ue), r.component("survey-element", _e), r.component("survey-panel", Ze), r.component("survey-element-header", Ge), r.component("survey-string", Xe), r.component("sv-string-viewer", xe), r.component("sv-string-editor", ss), r.component("sv-skeleton", os), r.component("survey-text", ls), r.component("survey-text-input", ds), r.component("survey-checkbox", ps), r.component("survey-checkbox-item", Cs), r.component("survey-radiogroup", fs), r.component("survey-radiogroup-item", Rs), r.component("survey-signaturepad", Ls), r.component("survey-html", Ps), r.component("survey-image", As), r.component("survey-expression", Es), r.component("survey-file", _s), r.component("survey-imagepicker", Qs), r.component("survey-imagepicker-item", Ys), r.component("survey-comment", sn), r.component("survey-dropdown", nn), r.component("sv-dropdown-select", rn), r.component("sv-dropdown-option-item", un), r.component("sv-dropdown", vn), r.component("survey-tagbox", qn), r.component("sv-tagbox", Cn), r.component("sv-tagbox-item", In), r.component("sv-tagbox-filter", kn), r.component("survey-ranking", wn), r.component("survey-ranking-item", Pn), r.component("survey-rating", Hn), r.component("sv-rating-item", En), r.component("sv-rating-item-smiley", On), r.component("sv-rating-item-star", Wn), r.component("sv-rating-dropdown", zn), r.component("survey-boolean", Kn), r.component("sv-boolean-radio", _n), r.component("sv-boolean-radio-item", Zn), r.component("sv-boolean-checkbox", xn), r.component("survey-multipletext", eo), r.component("survey-multipletext-item", no), r.component("survey-matrix", mo), r.component("survey-matrixdropdown", co), r.component("survey-matrixtable", yo), r.component("survey-matrixheaderrequired", Co), r.component("survey-matrixcell", bo), r.component("survey-matrixdynamic", ko), r.component("sv-matrix-remove-button", Io), r.component("sv-matrix-drag-drop-icon", So), r.component("sv-matrix-detail-button", To), r.component("survey-paneldynamic", $o), r.component("survey-paneldynamicprogress", Bo), r.component("survey-paneldynamicprogress-v2", Lo), r.component("sv-paneldynamic-add-btn", Do), r.component("sv-paneldynamic-next-btn", Mo), r.component("sv-paneldynamic-prev-btn", Ho), r.component("sv-paneldynamic-remove-btn", Ao), r.component("sv-paneldynamic-progress-text", Eo), r.component("sv-components-container", Mt), r.component("sv-progress-buttons", Et), r.component("sv-progress-toc", Vt), r.component("sv-progress-pages", j), r.component("sv-progress-questions", j), r.component("sv-progress-correctquestions", j), r.component("sv-progress-requiredquestions", j), r.component("survey-errors", Oo), r.component("survey-question-comment", zo), r.component("survey-element-title", Uo), r.component("survey-element-title-content", Zo), r.component("sv-title-actions", Jo), r.component("sv-brand-info", ot), r.component("sv-svg-icon", rt), r.component("sv-action-bar", at), r.component("sv-action", mt), r.component("sv-action-bar-item", pt), r.component("sv-action-bar-item-dropdown", qt), r.component("sv-action-bar-separator", yt), r.component("sv-list", bt), r.component("sv-list-item", ft), r.component("sv-popup", It), r.component("sv-popup-container", Lt), r.component("popup-pointer", Dt), r.component("sv-notifier", jt), r.component("survey-other-choice", Gt), r.component("sv-nav-btn", Jt), r.component("survey-customwidget", xt), r.component("survey-popup-modal", ei), r.component("sv-character-counter", si), r.component("survey-composite", ni), r.component("survey-custom", oi), r.component("sv-timerpanel", li), r.component("sv-loading-indicator", di), r.directive("key2click", {
4747
+ r.component("SurveyComponent", re), r.component("PopupSurveyComponent", ae), r.component("survey", re), r.component("popup-survey", ae), r.component("survey-header", ze), r.component("survey-page", Oe), r.component("survey-row", Ue), r.component("survey-element", _e), r.component("survey-panel", Ze), r.component("survey-element-header", Ge), r.component("survey-string", Xe), r.component("sv-string-viewer", xe), r.component("sv-string-editor", ss), r.component("sv-skeleton", os), r.component("survey-text", ls), r.component("survey-text-input", ds), r.component("survey-checkbox", ps), r.component("survey-checkbox-item", Cs), r.component("survey-radiogroup", fs), r.component("survey-radiogroup-item", Ss), r.component("survey-signaturepad", Ls), r.component("survey-html", Ps), r.component("survey-image", As), r.component("survey-expression", Es), r.component("survey-file", _s), r.component("survey-imagepicker", Qs), r.component("survey-imagepicker-item", Ys), r.component("survey-comment", sn), r.component("survey-dropdown", nn), r.component("sv-dropdown-select", rn), r.component("sv-dropdown-option-item", un), r.component("sv-dropdown", vn), r.component("survey-tagbox", qn), r.component("sv-tagbox", Cn), r.component("sv-tagbox-item", In), r.component("sv-tagbox-filter", kn), r.component("survey-ranking", wn), r.component("survey-ranking-item", Pn), r.component("survey-rating", Hn), r.component("sv-rating-item", En), r.component("sv-rating-item-smiley", On), r.component("sv-rating-item-star", Wn), r.component("sv-rating-dropdown", zn), r.component("survey-boolean", Kn), r.component("sv-boolean-radio", _n), r.component("sv-boolean-radio-item", Zn), r.component("sv-boolean-checkbox", xn), r.component("survey-multipletext", eo), r.component("survey-multipletext-item", no), r.component("survey-matrix", mo), r.component("survey-matrixdropdown", co), r.component("survey-matrixtable", yo), r.component("survey-matrixheaderrequired", Co), r.component("survey-matrixcell", bo), r.component("survey-matrixdynamic", ko), r.component("sv-matrix-remove-button", Io), r.component("sv-matrix-drag-drop-icon", Ro), r.component("sv-matrix-detail-button", To), r.component("survey-paneldynamic", $o), r.component("survey-paneldynamicprogress", Bo), r.component("survey-paneldynamicprogress-v2", Lo), r.component("sv-paneldynamic-add-btn", Do), r.component("sv-paneldynamic-next-btn", Mo), r.component("sv-paneldynamic-prev-btn", Ho), r.component("sv-paneldynamic-remove-btn", Ao), r.component("sv-paneldynamic-progress-text", Eo), r.component("sv-components-container", Mt), r.component("sv-progress-buttons", Et), r.component("sv-progress-toc", Vt), r.component("sv-progress-pages", j), r.component("sv-progress-questions", j), r.component("sv-progress-correctquestions", j), r.component("sv-progress-requiredquestions", j), r.component("survey-errors", Oo), r.component("survey-question-comment", zo), r.component("survey-element-title", Uo), r.component("survey-element-title-content", Zo), r.component("sv-title-actions", Jo), r.component("sv-brand-info", ot), r.component("sv-svg-icon", rt), r.component("sv-action-bar", at), r.component("sv-action", mt), r.component("sv-action-bar-item", pt), r.component("sv-action-bar-item-dropdown", qt), r.component("sv-action-bar-separator", yt), r.component("sv-list", bt), r.component("sv-list-item", ft), r.component("sv-popup", It), r.component("sv-popup-container", Lt), r.component("popup-pointer", Dt), r.component("sv-notifier", jt), r.component("survey-other-choice", Gt), r.component("sv-nav-btn", Jt), r.component("survey-customwidget", xt), r.component("survey-popup-modal", ei), r.component("sv-character-counter", si), r.component("survey-composite", ni), r.component("survey-custom", oi), r.component("sv-timerpanel", li), r.component("sv-loading-indicator", di), r.directive("key2click", {
4743
4748
  mounted: function(o, n) {
4744
4749
  const s = { ...n.value };
4745
4750
  s.disableTabStop || (o.tabIndex = 0), o.addEventListener("keyup", (e) => (e.preventDefault(), e.stopPropagation(), de(e, s), !1)), o.addEventListener("keydown", (e) => {
@@ -4759,5 +4764,5 @@ export {
4759
4764
  vi as surveyPlugin,
4760
4765
  B as useBase,
4761
4766
  W as useLocString,
4762
- M as useQuestion
4767
+ N as useQuestion
4763
4768
  };