survey-creator-vue 2.3.12 → 2.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- import { useBase as w, SvComponent as c, key2ClickDirective as M, SurveyComponent as O, useQuestion as H, ComponentFactory as ie } from "survey-vue3-ui";
2
- import { defineComponent as g, computed as k, toRaw as _e, ref as P, onMounted as R, onUnmounted as K, openBlock as a, createElementBlock as i, Fragment as D, createVNode as v, unref as s, createElementVNode as d, normalizeClass as m, normalizeStyle as F, createCommentVNode as p, renderList as V, createBlock as b, onUpdated as G, nextTick as re, withDirectives as h, toDisplayString as f, vShow as Q, withCtx as X, createTextVNode as ge, shallowRef as be, watch as W, onBeforeUnmount as Y, vModelText as de, mergeProps as A, renderSlot as x } from "vue";
1
+ import { useBase as w, SvComponent as c, key2ClickDirective as M, SurveyComponent as O, useQuestion as Q, ComponentFactory as ie } from "survey-vue3-ui";
2
+ import { defineComponent as g, computed as k, toRaw as _e, ref as P, onMounted as R, onUnmounted as K, openBlock as a, createElementBlock as i, Fragment as D, createVNode as v, unref as s, createElementVNode as d, normalizeClass as m, normalizeStyle as F, createCommentVNode as p, renderList as A, createBlock as b, onUpdated as G, nextTick as re, withDirectives as h, toDisplayString as f, vShow as H, withCtx as X, createTextVNode as ge, shallowRef as be, watch as W, onBeforeUnmount as Y, vModelText as de, mergeProps as V, renderSlot as x } from "vue";
3
3
  import { editorLocalization as ce, SurveyResultsModel as ye, initLogicOperator as he, StringEditorViewModelBase as Ce, ToolboxToolViewModel as qe, PageAdorner as $e, RowViewModel as ke, QuestionAdornerViewModel as ee, QuestionImageAdornerViewModel as fe, QuestionRatingAdornerViewModel as we, MatrixCellWrapperViewModel as De, ItemValueWrapperViewModel as Te, ImageItemValueWrapperViewModel as Ne, LogoImageViewModel as Me, PageNavigatorViewModel as Se, QuestionDropdownAdornerViewModel as Be, editableStringRendererName as Ie } from "survey-creator-core";
4
4
  import { CssClassBuilder as Ee, RendererFactory as ue, DropdownListModel as Pe } from "survey-core";
5
- const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Ae = { class: "svc-top-bar" }, Ve = {
5
+ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Ve = { class: "svc-top-bar" }, Ae = {
6
6
  key: 0,
7
7
  class: "svc-tabbed-menu-wrapper"
8
8
  }, ze = ["v-show"], Le = { class: "svc-creator__content-holder svc-flex-column" }, Fe = ["aria-labelledby", "id"], Ke = {
9
9
  key: 0,
10
10
  class: "svc-footer-bar"
11
- }, Ue = ["v-show"], Qe = {
11
+ }, Ue = ["v-show"], He = {
12
12
  key: 0,
13
13
  class: "svc-creator__banner"
14
- }, He = ["innerHTML"], Oe = /* @__PURE__ */ g({
14
+ }, Qe = ["innerHTML"], Oe = /* @__PURE__ */ g({
15
15
  __name: "Creator",
16
16
  props: {
17
17
  model: {}
@@ -49,8 +49,8 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
49
49
  }])
50
50
  }, [
51
51
  d("div", Re, [
52
- d("div", Ae, [
53
- e.value.showTabs ? (a(), i("div", Ve, [
52
+ d("div", Ve, [
53
+ e.value.showTabs ? (a(), i("div", Ae, [
54
54
  v(s(c), {
55
55
  is: "svc-tabbed-menu",
56
56
  model: e.value.tabbedMenu
@@ -73,7 +73,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
73
73
  }])
74
74
  }, [
75
75
  d("div", Le, [
76
- (a(!0), i(D, null, V(e.value.tabs, (l) => (a(), i(D, null, [
76
+ (a(!0), i(D, null, A(e.value.tabs, (l) => (a(), i(D, null, [
77
77
  e.value.viewType == l.id && l.visible ? (a(), i("div", {
78
78
  role: "tabpanel",
79
79
  class: m(["svc-creator-tab", {
@@ -103,17 +103,17 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
103
103
  ], 8, Ue)
104
104
  ])) : p("", !0)
105
105
  ]),
106
- e.value.sidebar ? (a(), b(s(c), {
106
+ e.value.isSidebarVisible ? (a(), b(s(c), {
107
107
  key: 0,
108
108
  is: "svc-side-bar",
109
109
  model: e.value.sidebar
110
110
  }, null, 8, ["model"])) : p("", !0)
111
111
  ], 2),
112
- e.value.haveCommercialLicense ? p("", !0) : (a(), i("div", Qe, [
112
+ e.value.haveCommercialLicense ? p("", !0) : (a(), i("div", He, [
113
113
  d("span", {
114
114
  class: "svc-creator__non-commercial-text",
115
115
  innerHTML: e.value.licenseText
116
- }, null, 8, He)
116
+ }, null, 8, Qe)
117
117
  ])),
118
118
  v(s(c), {
119
119
  is: "sv-notifier",
@@ -143,7 +143,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
143
143
  role: "tablist",
144
144
  style: F(o.model.getRootStyle())
145
145
  }, [
146
- (a(!0), i(D, null, V(o.model.renderedActions, (r) => (a(), b(s(c), {
146
+ (a(!0), i(D, null, A(o.model.renderedActions, (r) => (a(), b(s(c), {
147
147
  key: r.renderedId,
148
148
  is: "svc-tabbed-menu-item-wrapper",
149
149
  item: r
@@ -228,7 +228,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
228
228
  class: "svc-side-bar__shadow",
229
229
  onClick: n[0] || (n[0] = () => o.model.collapseSidebar())
230
230
  }, null, 512), [
231
- [Q, o.model.renderContainer]
231
+ [H, o.model.renderContainer]
232
232
  ]),
233
233
  d("div", Xe, [
234
234
  h(d("div", Ye, [
@@ -242,7 +242,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
242
242
  model: o.model.header.componentModel
243
243
  }, null, 8, ["is", "model"]),
244
244
  d("div", xe, [
245
- (a(!0), i(D, null, V(o.model.pages, (r, l) => (a(), b(s(c), {
245
+ (a(!0), i(D, null, A(o.model.pages, (r, l) => (a(), b(s(c), {
246
246
  key: l,
247
247
  is: "svc-side-bar-page",
248
248
  model: r
@@ -250,7 +250,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
250
250
  ])
251
251
  ], 512)
252
252
  ], 512), [
253
- [Q, o.model.renderContainer]
253
+ [H, o.model.renderContainer]
254
254
  ]),
255
255
  o.model.sideAreaComponentName ? (a(), b(s(c), {
256
256
  key: 0,
@@ -259,7 +259,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
259
259
  }, null, 8, ["is", "model"])) : p("", !0)
260
260
  ])
261
261
  ], 2)), [
262
- [Q, o.model.renderRoot]
262
+ [H, o.model.renderRoot]
263
263
  ]);
264
264
  }
265
265
  }), oo = { class: "svc-side-bar__container-header" }, so = { class: "svc-side-bar__container-actions" }, to = {
@@ -335,7 +335,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
335
335
  },
336
336
  setup(u) {
337
337
  const t = u;
338
- return w(() => t.model), (e, o) => (a(!0), i(D, null, V(e.model.actions, (n, r) => (a(), b(s(c), {
338
+ return w(() => t.model), (e, o) => (a(!0), i(D, null, A(e.model.actions, (n, r) => (a(), b(s(c), {
339
339
  key: r,
340
340
  is: "svc-tab-button",
341
341
  model: n
@@ -449,7 +449,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
449
449
  ])) : p("", !0)
450
450
  ]));
451
451
  }
452
- }), Po = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, Ro = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, Ao = { class: "svc-sidebar__header-content" }, Vo = { class: "svc-sidebar__header-caption" }, zo = { class: "svc-sidebar__header-title" }, Lo = { class: "svc-sidebar__header-subtitle" }, Fo = /* @__PURE__ */ g({
452
+ }), Po = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, Ro = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, Vo = { class: "svc-sidebar__header-content" }, Ao = { class: "svc-sidebar__header-caption" }, zo = { class: "svc-sidebar__header-title" }, Lo = { class: "svc-sidebar__header-subtitle" }, Fo = /* @__PURE__ */ g({
453
453
  __name: "SideBarPropertyGridHeader",
454
454
  props: {
455
455
  model: {}
@@ -458,12 +458,12 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
458
458
  const t = u;
459
459
  return w(() => t.model), (e, o) => (a(), i("div", Po, [
460
460
  d("div", Ro, [
461
- d("div", Ao, [
461
+ d("div", Vo, [
462
462
  h((a(), i("div", {
463
463
  class: m(e.model.buttonClassName),
464
464
  onClick: o[0] || (o[0] = (n) => e.model.action())
465
465
  }, [
466
- d("div", Vo, [
466
+ d("div", Ao, [
467
467
  d("span", zo, f(e.model.title), 1),
468
468
  d("span", Lo, f(e.model.tooltip), 1)
469
469
  ])
@@ -506,7 +506,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
506
506
  ], 2)
507
507
  ]));
508
508
  }
509
- }), Uo = ["title"], Qo = ["title"], Ho = ["title"], Oo = ["title"], Go = /* @__PURE__ */ g({
509
+ }), Uo = ["title"], Ho = ["title"], Qo = ["title"], Oo = ["title"], Go = /* @__PURE__ */ g({
510
510
  __name: "ActionButton",
511
511
  props: {
512
512
  classes: {},
@@ -536,7 +536,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
536
536
  title: n.title
537
537
  }, [
538
538
  ge(f(n.text), 1)
539
- ], 10, Qo)), [
539
+ ], 10, Ho)), [
540
540
  [s(M)]
541
541
  ])
542
542
  ], 64)),
@@ -551,7 +551,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
551
551
  iconName: n.iconName,
552
552
  size: "auto"
553
553
  }, null, 8, ["iconName"])
554
- ], 10, Ho)) : p("", !0),
554
+ ], 10, Qo)) : p("", !0),
555
555
  h((a(), i("span", {
556
556
  role: "button",
557
557
  onClick: e,
@@ -795,7 +795,7 @@ const cs = {
795
795
  h(d("div", _s, [
796
796
  d("div", null, f(s(e).resultText), 1)
797
797
  ], 512), [
798
- [Q, s(e).resultViewType === "text"]
798
+ [H, s(e).resultViewType === "text"]
799
799
  ]),
800
800
  h(d("div", gs, [
801
801
  d("table", null, [
@@ -806,7 +806,7 @@ const cs = {
806
806
  ])
807
807
  ]),
808
808
  d("tbody", null, [
809
- (a(!0), i(D, null, V(s(e).resultData, (r, l) => (a(), b(s(c), {
809
+ (a(!0), i(D, null, A(s(e).resultData, (r, l) => (a(), b(s(c), {
810
810
  is: "survey-results-table-row",
811
811
  model: r,
812
812
  key: l
@@ -814,7 +814,7 @@ const cs = {
814
814
  ])
815
815
  ])
816
816
  ], 512), [
817
- [Q, s(e).resultViewType === "table"]
817
+ [H, s(e).resultViewType === "table"]
818
818
  ])
819
819
  ])
820
820
  ])) : p("", !0);
@@ -861,7 +861,7 @@ const cs = {
861
861
  ])), [
862
862
  [s(M)]
863
863
  ]),
864
- e.model.isNode && !e.model.collapsed ? (a(!0), i(D, { key: 0 }, V(e.model.data, (n, r) => (a(), b(s(c), {
864
+ e.model.isNode && !e.model.collapsed ? (a(!0), i(D, { key: 0 }, A(e.model.data, (n, r) => (a(), b(s(c), {
865
865
  is: "survey-results-table-row",
866
866
  model: n,
867
867
  key: r + 1
@@ -888,7 +888,7 @@ const cs = {
888
888
  model: o.model.errorList
889
889
  }, null, 8, ["model"])
890
890
  ], 512), [
891
- [Q, o.model.hasErrors]
891
+ [H, o.model.hasErrors]
892
892
  ])
893
893
  ])
894
894
  ]));
@@ -923,7 +923,7 @@ const cs = {
923
923
  model: s(o).errorList
924
924
  }, null, 8, ["model"])
925
925
  ], 512), [
926
- [Q, s(o).hasErrors]
926
+ [H, s(o).hasErrors]
927
927
  ])
928
928
  ])
929
929
  ]));
@@ -972,7 +972,7 @@ const cs = {
972
972
  ])
973
973
  ], 64));
974
974
  }
975
- }), As = { class: "svc-btn__text" }, te = /* @__PURE__ */ g({
975
+ }), Vs = { class: "svc-btn__text" }, te = /* @__PURE__ */ g({
976
976
  __name: "LogicAddButton",
977
977
  props: {
978
978
  model: {}
@@ -990,12 +990,12 @@ const cs = {
990
990
  }]),
991
991
  onClick: e
992
992
  }, [
993
- d("span", As, f(o.model.title), 1)
993
+ d("span", Vs, f(o.model.title), 1)
994
994
  ], 2)), [
995
995
  [s(M)]
996
996
  ]);
997
997
  }
998
- }), Vs = { class: "svc-creator-tab__content" }, zs = {
998
+ }), As = { class: "svc-creator-tab__content" }, zs = {
999
999
  key: 1,
1000
1000
  class: "svc-logic-tab__content-empty"
1001
1001
  }, Ls = /* @__PURE__ */ g({
@@ -1005,7 +1005,7 @@ const cs = {
1005
1005
  },
1006
1006
  setup(u) {
1007
1007
  const t = u;
1008
- return w(() => t.model), (e, o) => (a(), i("div", Vs, [
1008
+ return w(() => t.model), (e, o) => (a(), i("div", As, [
1009
1009
  d("div", {
1010
1010
  class: m(["svc-plugin-tab__content svc-logic-tab__content", { "svc-logic-tab--empty": !e.model.hasItems }])
1011
1011
  }, [
@@ -1045,7 +1045,7 @@ const Us = /* @__PURE__ */ g({
1045
1045
  },
1046
1046
  setup(u) {
1047
1047
  const t = u, e = P(), o = k(() => t.question.dropdownListModel ?? new Pe(t.question));
1048
- H(t, e, (l) => {
1048
+ Q(t, e, (l) => {
1049
1049
  he(l);
1050
1050
  });
1051
1051
  const n = (l) => {
@@ -1105,14 +1105,14 @@ const Us = /* @__PURE__ */ g({
1105
1105
  ], 10, Ks)) : p("", !0)
1106
1106
  ], 2));
1107
1107
  }
1108
- }), Qs = /* @__PURE__ */ g({
1108
+ }), Hs = /* @__PURE__ */ g({
1109
1109
  __name: "EmbeddedSurvey",
1110
1110
  props: {
1111
1111
  question: {}
1112
1112
  },
1113
1113
  setup(u) {
1114
1114
  const t = u, e = P();
1115
- H(t, e);
1115
+ Q(t, e);
1116
1116
  const o = k(() => t.question.embeddedSurvey);
1117
1117
  return (n, r) => n.question && o.value && o.value.currentPage ? (a(), b(s(c), {
1118
1118
  key: 0,
@@ -1121,7 +1121,7 @@ const Us = /* @__PURE__ */ g({
1121
1121
  survey: o.value
1122
1122
  }, null, 8, ["page", "survey"])) : p("", !0);
1123
1123
  }
1124
- }), Hs = /* @__PURE__ */ g({
1124
+ }), Qs = /* @__PURE__ */ g({
1125
1125
  inheritAttrs: !1,
1126
1126
  __name: "LinkValue",
1127
1127
  props: {
@@ -1129,7 +1129,7 @@ const Us = /* @__PURE__ */ g({
1129
1129
  },
1130
1130
  setup(u) {
1131
1131
  const t = u, e = P(), o = ce.getString("pe.clear");
1132
- return H(t, e), (n, r) => (a(), i(D, null, [
1132
+ return Q(t, e), (n, r) => (a(), i(D, null, [
1133
1133
  v(s(c), {
1134
1134
  is: "svc-action-button",
1135
1135
  text: n.question.linkValueText,
@@ -1261,7 +1261,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
1261
1261
  question: {}
1262
1262
  },
1263
1263
  setup(u) {
1264
- return H(u, P()), (e, o) => (a(), i("div", {
1264
+ return Q(u, P()), (e, o) => (a(), i("div", {
1265
1265
  class: m(e.question.cssClasses.root),
1266
1266
  onKeydown: o[5] || (o[5] = //@ts-ignore
1267
1267
  (...n) => e.question.onKeyDown && e.question.onKeyDown(...n))
@@ -1356,7 +1356,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
1356
1356
  },
1357
1357
  setup(u) {
1358
1358
  const t = P();
1359
- return H(u, t), (o, n) => (a(), i("div", {
1359
+ return Q(u, t), (o, n) => (a(), i("div", {
1360
1360
  class: m(o.question.cssClasses.root),
1361
1361
  onDragenter: n[5] || (n[5] = //@ts-ignore
1362
1362
  (...r) => o.question.onDragEnter && o.question.onDragEnter(...r)),
@@ -1441,7 +1441,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
1441
1441
  question: {}
1442
1442
  },
1443
1443
  setup(u) {
1444
- return H(u, P()), (e, o) => (a(), i("div", {
1444
+ return Q(u, P()), (e, o) => (a(), i("div", {
1445
1445
  class: m(e.question.cssClasses.root),
1446
1446
  onKeydown: o[18] || (o[18] = //@ts-ignore
1447
1447
  (...n) => e.question.onKeyDown && e.question.onKeyDown(...n))
@@ -1534,7 +1534,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
1534
1534
  },
1535
1535
  setup(u) {
1536
1536
  const t = u, e = () => "survey-" + t.question.wrappedQuestionTemplate;
1537
- return H(t, P()), w(() => {
1537
+ return Q(t, P()), w(() => {
1538
1538
  var o;
1539
1539
  return (o = t.question) == null ? void 0 : o.resetValueAdorner;
1540
1540
  }), (o, n) => (a(), i("div", {
@@ -1580,7 +1580,7 @@ const wt = /* @__PURE__ */ g({
1580
1580
  },
1581
1581
  setup(u) {
1582
1582
  const t = u, e = P(null);
1583
- H(t, e);
1583
+ Q(t, e);
1584
1584
  const o = k({
1585
1585
  get() {
1586
1586
  return t.question.value;
@@ -1810,10 +1810,10 @@ const wt = /* @__PURE__ */ g({
1810
1810
  }), Pt = {
1811
1811
  key: 0,
1812
1812
  class: "svc-toolbox__search-container"
1813
- }, Rt = /* @__PURE__ */ d("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1), At = {
1813
+ }, Rt = /* @__PURE__ */ d("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1), Vt = {
1814
1814
  key: 1,
1815
1815
  class: "svc-toolbox__placeholder"
1816
- }, Vt = {
1816
+ }, At = {
1817
1817
  key: 1,
1818
1818
  class: "svc-toolbox__category"
1819
1819
  }, zt = /* @__PURE__ */ g({
@@ -1856,17 +1856,17 @@ const wt = /* @__PURE__ */ g({
1856
1856
  }, null, 8, ["model"]),
1857
1857
  Rt
1858
1858
  ])) : p("", !0),
1859
- e.value.showPlaceholder ? (a(), i("div", At, f(e.value.toolboxNoResultsFound), 1)) : p("", !0),
1859
+ e.value.showPlaceholder ? (a(), i("div", Vt, f(e.value.toolboxNoResultsFound), 1)) : p("", !0),
1860
1860
  v(s(c), { is: "sv-scroll" }, {
1861
1861
  default: X(() => [
1862
- e.value.showInSingleCategory ? p("", !0) : (a(!0), i(D, { key: 0 }, V(e.value.categories, (_, N) => (a(), b(s(c), {
1862
+ e.value.showInSingleCategory ? p("", !0) : (a(!0), i(D, { key: 0 }, A(e.value.categories, (_, N) => (a(), b(s(c), {
1863
1863
  is: "svc-toolbox-category",
1864
1864
  key: N,
1865
1865
  category: _,
1866
1866
  toolbox: e.value
1867
1867
  }, null, 8, ["category", "toolbox"]))), 128)),
1868
- e.value.showInSingleCategory ? (a(), i("div", Vt, [
1869
- (a(!0), i(D, null, V(n.value, (_) => (a(), b(s(c), {
1868
+ e.value.showInSingleCategory ? (a(), i("div", At, [
1869
+ (a(!0), i(D, null, A(n.value, (_) => (a(), b(s(c), {
1870
1870
  key: _.renderedId,
1871
1871
  is: "svc-toolbox-tool",
1872
1872
  creator: r.model,
@@ -1939,10 +1939,10 @@ const wt = /* @__PURE__ */ g({
1939
1939
  ], 2);
1940
1940
  };
1941
1941
  }
1942
- }), Kt = ["aria-label", "title"], Ut = { class: "svc-toolbox__item-container" }, Qt = {
1942
+ }), Kt = ["aria-label", "title"], Ut = { class: "svc-toolbox__item-container" }, Ht = {
1943
1943
  key: 0,
1944
1944
  class: "svc-toolbox__item-title"
1945
- }, Ht = /* @__PURE__ */ g({
1945
+ }, Qt = /* @__PURE__ */ g({
1946
1946
  __name: "ToolboxItem",
1947
1947
  props: {
1948
1948
  creator: {},
@@ -1955,8 +1955,8 @@ const wt = /* @__PURE__ */ g({
1955
1955
  h((a(), i("div", {
1956
1956
  class: m(["svc-toolbox__item", t.item.renderedCss]),
1957
1957
  role: "button",
1958
- "aria-label": t.item.tooltip,
1959
- title: t.item.tooltip,
1958
+ "aria-label": t.item.getTooltip(),
1959
+ title: t.item.getTooltip(),
1960
1960
  onClick: e[0] || (e[0] = (o) => t.viewModel.click(o))
1961
1961
  }, [
1962
1962
  d("span", Ut, [
@@ -1968,7 +1968,7 @@ const wt = /* @__PURE__ */ g({
1968
1968
  class: "svc-toolbox__item-icon"
1969
1969
  }, null, 8, ["iconName"])) : p("", !0)
1970
1970
  ]),
1971
- t.isCompact ? p("", !0) : (a(), i("span", Qt, f(t.item.title), 1))
1971
+ t.isCompact ? p("", !0) : (a(), i("span", Ht, f(t.item.title), 1))
1972
1972
  ], 10, Kt)), [
1973
1973
  [s(M), { disableTabStop: !t.viewModel.toolboxItem.enabled }]
1974
1974
  ]),
@@ -2063,7 +2063,7 @@ const wt = /* @__PURE__ */ g({
2063
2063
  [s(M)]
2064
2064
  ])
2065
2065
  ]),
2066
- (a(!0), i(D, null, V(e.category.items, (n) => (a(), b(s(c), {
2066
+ (a(!0), i(D, null, A(e.category.items, (n) => (a(), b(s(c), {
2067
2067
  is: "svc-toolbox-tool",
2068
2068
  item: n,
2069
2069
  key: n.renderedId,
@@ -2084,7 +2084,7 @@ const wt = /* @__PURE__ */ g({
2084
2084
  return w(() => t.model), (e, o) => (a(), i("div", {
2085
2085
  class: m(e.model.cssClasses.root)
2086
2086
  }, [
2087
- (a(!0), i(D, null, V(e.model.renderedActions, (n, r) => (a(), b(s(c), {
2087
+ (a(!0), i(D, null, A(e.model.renderedActions, (n, r) => (a(), b(s(c), {
2088
2088
  key: r,
2089
2089
  is: "svc-toolbox-tool",
2090
2090
  creator: e.creator,
@@ -2139,7 +2139,7 @@ const wt = /* @__PURE__ */ g({
2139
2139
  default: X(() => [
2140
2140
  d("div", Yt, [
2141
2141
  o.model.showPlaceholder ? (a(), i(D, { key: 0 }, [
2142
- o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (a(), i("div", xt, [
2142
+ o.model.creator.showHeaderInEmptySurvey && o.model.creator.showSurveyHeader ? (a(), i("div", xt, [
2143
2143
  v(s(c), {
2144
2144
  is: "survey-header",
2145
2145
  survey: o.model.creator.survey
@@ -2170,13 +2170,13 @@ const wt = /* @__PURE__ */ g({
2170
2170
  o.model.surfaceCssVariables
2171
2171
  ])
2172
2172
  }, [
2173
- o.model.creator.allowEditSurveyTitle ? (a(), i("div", sn, [
2173
+ o.model.creator.showSurveyHeader ? (a(), i("div", sn, [
2174
2174
  v(s(c), {
2175
2175
  is: "survey-header",
2176
2176
  survey: o.model.creator.survey
2177
2177
  }, null, 8, ["survey"])
2178
2178
  ])) : p("", !0),
2179
- o.model.creator.pageEditMode !== "bypage" ? (a(!0), i(D, { key: 1 }, V(o.model.pages, (r) => (a(), i("div", {
2179
+ o.model.creator.pageEditMode !== "bypage" ? (a(!0), i(D, { key: 1 }, A(o.model.pages, (r) => (a(), i("div", {
2180
2180
  key: r.id,
2181
2181
  class: "svc-page",
2182
2182
  "data-sv-drop-target-survey-element": r != o.model.newPage ? r.name : "newGhostPage",
@@ -2303,7 +2303,7 @@ const wt = /* @__PURE__ */ g({
2303
2303
  class: "svc-question__drag-area",
2304
2304
  onPointerdown: l[0] || (l[0] = (_) => s(o).onPointerDown(_))
2305
2305
  }, [
2306
- v(s(c), A({
2306
+ v(s(c), V({
2307
2307
  is: "sv-svg-icon",
2308
2308
  class: "svc-question__drag-element"
2309
2309
  }, {
@@ -2406,7 +2406,7 @@ const wt = /* @__PURE__ */ g({
2406
2406
  "aria-label": e.questionTypeSelectorModel.title,
2407
2407
  class: "svc-element__question-type-selector"
2408
2408
  }, [
2409
- v(s(c), A({
2409
+ v(s(c), V({
2410
2410
  is: "sv-svg-icon",
2411
2411
  class: "svc-element__question-type-selector-icon"
2412
2412
  }, {
@@ -2451,7 +2451,7 @@ const wt = /* @__PURE__ */ g({
2451
2451
  }), Tn = ["data-sv-drop-target-survey-element"], Nn = { class: "svc-fake-title" }, Mn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), Sn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), Bn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), In = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), En = { class: "svc-question__top-actions" }, Pn = {
2452
2452
  key: 0,
2453
2453
  class: "svc-panel__placeholder_frame-wrapper"
2454
- }, Rn = { class: "svc-panel__placeholder_frame" }, An = {
2454
+ }, Rn = { class: "svc-panel__placeholder_frame" }, Vn = {
2455
2455
  class: "svc-panel__placeholder",
2456
2456
  "data-bind": "text: placeholderText"
2457
2457
  }, oe = /* @__PURE__ */ g({
@@ -2526,7 +2526,7 @@ const wt = /* @__PURE__ */ g({
2526
2526
  class: "svc-question__drag-area",
2527
2527
  onPointerdown: _[0] || (_[0] = (N) => s(o).onPointerDown(N))
2528
2528
  }, [
2529
- v(s(c), A({
2529
+ v(s(c), V({
2530
2530
  is: "sv-svg-icon",
2531
2531
  class: "svc-question__drag-element"
2532
2532
  }, {
@@ -2550,10 +2550,10 @@ const wt = /* @__PURE__ */ g({
2550
2550
  }, null, 8, ["componentName", "componentData"]),
2551
2551
  s(o).isEmptyElement && !l.showPlaceholderComponent ? (a(), i("div", Pn, [
2552
2552
  d("div", Rn, [
2553
- d("div", An, f(s(o).placeholderText), 1)
2553
+ d("div", Vn, f(s(o).placeholderText), 1)
2554
2554
  ])
2555
2555
  ])) : p("", !0),
2556
- s(o).isEmptyElement && l.showPlaceholderComponent ? (a(), b(s(c), A(
2556
+ s(o).isEmptyElement && l.showPlaceholderComponent ? (a(), b(s(c), V(
2557
2557
  {
2558
2558
  key: 1,
2559
2559
  is: l.placeholderComponent
@@ -2606,7 +2606,7 @@ const wt = /* @__PURE__ */ g({
2606
2606
  "component-data": o.componentData
2607
2607
  }, null, 8, ["element", "component-name", "component-data"]));
2608
2608
  }
2609
- }), Vn = /* @__PURE__ */ g({
2609
+ }), An = /* @__PURE__ */ g({
2610
2610
  __name: "QuestionImage",
2611
2611
  props: {
2612
2612
  componentName: {},
@@ -2641,7 +2641,7 @@ const wt = /* @__PURE__ */ g({
2641
2641
  }, Kn = {
2642
2642
  key: 1,
2643
2643
  class: "svc-image-question__loading-placeholder"
2644
- }, Un = { class: "svc-image-question__loading" }, Qn = /* @__PURE__ */ g({
2644
+ }, Un = { class: "svc-image-question__loading" }, Hn = /* @__PURE__ */ g({
2645
2645
  __name: "Image",
2646
2646
  props: {
2647
2647
  model: {},
@@ -2677,7 +2677,7 @@ const wt = /* @__PURE__ */ g({
2677
2677
  ])) : p("", !0)
2678
2678
  ], 64));
2679
2679
  }
2680
- }), Hn = { class: "svc-rating-question-content" }, On = ["aria-label"], Gn = ["aria-label"], Wn = /* @__PURE__ */ g({
2680
+ }), Qn = { class: "svc-rating-question-content" }, On = ["aria-label"], Gn = ["aria-label"], Wn = /* @__PURE__ */ g({
2681
2681
  __name: "Rating",
2682
2682
  props: {
2683
2683
  componentData: {},
@@ -2694,7 +2694,7 @@ const wt = /* @__PURE__ */ g({
2694
2694
  );
2695
2695
  return (o, n) => {
2696
2696
  var r, l, _, N, $, q, C, I, L;
2697
- return a(), i("div", Hn, [
2697
+ return a(), i("div", Qn, [
2698
2698
  d("div", {
2699
2699
  class: m((r = s(e)) == null ? void 0 : r.controlsClassNames)
2700
2700
  }, [
@@ -2821,7 +2821,7 @@ const wt = /* @__PURE__ */ g({
2821
2821
  );
2822
2822
  return w(() => e.value), (o, n) => (a(), i("div", Zn, [
2823
2823
  d("div", Xn, [
2824
- v(s(c), A({ is: o.componentName }, o.componentData), null, 16, ["is"])
2824
+ v(s(c), V({ is: o.componentName }, o.componentData), null, 16, ["is"])
2825
2825
  ])
2826
2826
  ]));
2827
2827
  }
@@ -2904,7 +2904,7 @@ const wt = /* @__PURE__ */ g({
2904
2904
  ])
2905
2905
  ], 32)) : p("", !0),
2906
2906
  s(e).needToRenderContent ? (a(), i(D, { key: 1 }, [
2907
- v(s(c), A({ is: n.componentName }, n.componentData), null, 16, ["is"]),
2907
+ v(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
2908
2908
  s(e).isEmptyElement ? (a(), i("div", la, [
2909
2909
  d("div", ia, [
2910
2910
  d("div", ra, f(s(e).placeholderText), 1),
@@ -3074,7 +3074,7 @@ const wt = /* @__PURE__ */ g({
3074
3074
  class: "svc-item-value__item",
3075
3075
  onClick: C[3] || (C[3] = (I) => s(_).select(s(_), I))
3076
3076
  }, [
3077
- v(s(c), A({ is: q.componentName }, q.componentData), null, 16, ["is"])
3077
+ v(s(c), V({ is: q.componentName }, q.componentData), null, 16, ["is"])
3078
3078
  ]),
3079
3079
  s(_).canShowPanel() ? (a(), i("div", Ca, [
3080
3080
  h((a(), i("span", {
@@ -3092,7 +3092,7 @@ const wt = /* @__PURE__ */ g({
3092
3092
  ])
3093
3093
  ])) : p("", !0)
3094
3094
  ], 42, ma),
3095
- s(_).showPanel ? (a(), b(s(c), A({
3095
+ s(_).showPanel ? (a(), b(s(c), V({
3096
3096
  key: 0,
3097
3097
  is: N(r.value.panel)
3098
3098
  }, $(r.value.panel)), null, 16, ["is"])) : p("", !0)
@@ -3169,7 +3169,7 @@ const wt = /* @__PURE__ */ g({
3169
3169
  }, null, 8, fa),
3170
3170
  !s(l).isNew && !s(l).isUploading ? (a(), i(D, { key: 0 }, [
3171
3171
  s(l).isNew ? p("", !0) : (a(), i("div", wa, [
3172
- v(s(c), A({ is: $.componentName }, $.componentData), null, 16, ["is"])
3172
+ v(s(c), V({ is: $.componentName }, $.componentData), null, 16, ["is"])
3173
3173
  ])),
3174
3174
  s(l).isDraggable && s(l).canRenderControls ? (a(), i("span", {
3175
3175
  key: 1,
@@ -3290,13 +3290,13 @@ const wt = /* @__PURE__ */ g({
3290
3290
  return (r, l) => (a(), i("div", {
3291
3291
  style: F(t.style)
3292
3292
  }, [
3293
- v(s(c), A({ is: o.value }, n.value), null, 16, ["is"])
3293
+ v(s(c), V({ is: o.value }, n.value), null, 16, ["is"])
3294
3294
  ], 4));
3295
3295
  }
3296
- }), Ra = ["accept"], Aa = /* @__PURE__ */ d("svg", null, [
3296
+ }), Ra = ["accept"], Va = /* @__PURE__ */ d("svg", null, [
3297
3297
  /* @__PURE__ */ d("use", { "xlink:href": "#icon-image-48x48" })
3298
- ], -1), Va = [
3299
- Aa
3298
+ ], -1), Aa = [
3299
+ Va
3300
3300
  ], za = { class: "svc-context-container svc-logo-image-controls" }, La = {
3301
3301
  key: 2,
3302
3302
  class: "svc-logo-image__loading"
@@ -3341,7 +3341,7 @@ const wt = /* @__PURE__ */ g({
3341
3341
  key: 0,
3342
3342
  class: "svc-logo-image-placeholder",
3343
3343
  onClick: $[0] || ($[0] = (q) => s(r).chooseFile(s(r)))
3344
- }, Va)), [
3344
+ }, Aa)), [
3345
3345
  [s(M)]
3346
3346
  ]) : p("", !0)
3347
3347
  ], 64)),
@@ -3392,7 +3392,7 @@ const wt = /* @__PURE__ */ g({
3392
3392
  }), Ka = {
3393
3393
  key: 0,
3394
3394
  class: "svc-search"
3395
- }, Ua = { class: "svc-search__search-icon" }, Qa = ["aria-label", "placeholder", "tabindex"], Ha = { class: "svc-search__toolbar" }, Oa = { class: "svc-search__toolbar-counter" }, Ga = /* @__PURE__ */ g({
3395
+ }, Ua = { class: "svc-search__search-icon" }, Ha = ["aria-label", "placeholder", "tabindex"], Qa = { class: "svc-search__toolbar" }, Oa = { class: "svc-search__toolbar-counter" }, Ga = /* @__PURE__ */ g({
3396
3396
  __name: "Search",
3397
3397
  props: {
3398
3398
  model: {}
@@ -3422,10 +3422,10 @@ const wt = /* @__PURE__ */ g({
3422
3422
  "aria-label": o.model.filterStringPlaceholder,
3423
3423
  placeholder: o.model.filterStringPlaceholder,
3424
3424
  tabindex: o.model.getTabIndex()
3425
- }, null, 8, Qa), [
3425
+ }, null, 8, Ha), [
3426
3426
  [de, e.value]
3427
3427
  ]),
3428
- d("div", Ha, [
3428
+ d("div", Qa, [
3429
3429
  d("div", Oa, f(o.model.matchCounterText), 1),
3430
3430
  v(s(c), {
3431
3431
  is: "sv-action-bar",
@@ -3482,14 +3482,14 @@ const wt = /* @__PURE__ */ g({
3482
3482
  }, null, 8, ["model"])
3483
3483
  ]),
3484
3484
  d("div", null, [
3485
- (a(!0), i(D, null, V(s(e).visibleItems, (l) => (a(), b(s(c), {
3485
+ (a(!0), i(D, null, A(s(e).visibleItems, (l) => (a(), b(s(c), {
3486
3486
  is: "svc-page-navigator-item",
3487
3487
  key: l.id,
3488
3488
  model: l
3489
3489
  }, null, 8, ["model"]))), 128))
3490
3490
  ])
3491
3491
  ], 512)), [
3492
- [Q, s(e).visible]
3492
+ [H, s(e).visible]
3493
3493
  ]);
3494
3494
  }
3495
3495
  }), Ja = { class: "svc-page-navigator-item" }, Za = ["title"], Xa = /* @__PURE__ */ d("div", { class: "svc-page-navigator-item__dot-content" }, null, -1), Ya = [
@@ -3547,11 +3547,11 @@ const wt = /* @__PURE__ */ g({
3547
3547
  return (n, r) => (a(), i("div", tl, [
3548
3548
  d("div", null, [
3549
3549
  d("div", nl, [
3550
- (a(!0), i(D, null, V(n.model.getRenderedItems(), (l) => (a(), i("div", {
3550
+ (a(!0), i(D, null, A(n.model.getRenderedItems(), (l) => (a(), i("div", {
3551
3551
  key: l.value,
3552
3552
  class: m(n.model.getChoiceCss())
3553
3553
  }, [
3554
- v(s(c), A({
3554
+ v(s(c), V({
3555
3555
  is: e(l)
3556
3556
  }, o(l)), null, 16, ["is"])
3557
3557
  ], 2))), 128))
@@ -3605,13 +3605,13 @@ const wt = /* @__PURE__ */ g({
3605
3605
  });
3606
3606
  return w(() => e.value), (r, l) => (a(), i("div", il, [
3607
3607
  d("div", rl, [
3608
- v(s(c), A({ is: r.componentName }, r.componentData), null, 16, ["is"]),
3608
+ v(s(c), V({ is: r.componentName }, r.componentData), null, 16, ["is"]),
3609
3609
  d("div", dl, [
3610
- (a(!0), i(D, null, V(e.value.visibleChoices, (_) => (a(), i("div", {
3610
+ (a(!0), i(D, null, A(e.value.visibleChoices, (_) => (a(), i("div", {
3611
3611
  key: _.value,
3612
3612
  class: "svc-question__dropdown-choice"
3613
3613
  }, [
3614
- v(s(c), A({
3614
+ v(s(c), V({
3615
3615
  is: o(_)
3616
3616
  }, n(_)), null, 16, ["is"])
3617
3617
  ]))), 128))
@@ -3684,7 +3684,7 @@ const wt = /* @__PURE__ */ g({
3684
3684
  })
3685
3685
  ], 32)) : p("", !0),
3686
3686
  d("div", gl, [
3687
- v(s(c), A({ is: n.componentName }, n.componentData), null, 16, ["is"])
3687
+ v(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"])
3688
3688
  ]),
3689
3689
  s(o).isEmptyElement ? (a(), i("div", bl, hl)) : p("", !0),
3690
3690
  d("div", Cl, [
@@ -3698,7 +3698,7 @@ const wt = /* @__PURE__ */ g({
3698
3698
  [s(M)]
3699
3699
  ]) : p("", !0),
3700
3700
  s(o).element.isInteractiveDesignElement ? p("", !0) : (a(), i(D, { key: 1 }, [
3701
- v(s(c), A({ is: n.componentName }, n.componentData), null, 16, ["is"]),
3701
+ v(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
3702
3702
  s(o).isEmptyElement ? (a(), i("div", ql, [
3703
3703
  d("div", $l, f(s(o).placeholderText), 1)
3704
3704
  ])) : p("", !0)
@@ -3733,7 +3733,7 @@ function pe(u) {
3733
3733
  void 0,
3734
3734
  u
3735
3735
  );
3736
- t("svc-tabbed-menu", Ge), t("svc-tabbed-menu-item-wrapper", je), t("svc-tabbed-menu-item", Ze), t("svc-side-bar", eo), t("svc-side-bar-default-header", no), t("svc-side-bar-page", ao), t("svc-tabs", ro), t("svc-tab-control", go), t("svc-tab-button", qo), t("svc-property-grid-placeholder", To), t("svc-side-bar-header", Eo), t("svc-side-bar-property-grid-header", Fo), t("svc-property-grid", io), t("svc-object-selector", lo), t("svc-search", Ga), t("svc-switcher", Yo), t("svc-action-button", Go), t("svc-question-error", Ko), t("survey-embeddedsurvey", Qs), t("sv-logic-operator", Us), t("survey-linkvalue", Hs), t("survey-color", it), t("color-item", rt), t("sv-boolean-switch", wt), t("survey-fileedit", vt), t("survey-spinedit", bt), t("survey-textwithreset", ne), t("survey-commentwithreset", ne), t("survey-widget", O), t("survey-simulator", os), t("svc-tab-preview", is), t("svc-complete-page", ds), t("survey-results", Cs), t("survey-results-table-row", $s), t("json-error-item", Rs), t("svc-tab-json-editor-textarea", Bs), t("svc-tab-json-editor-ace", Ds), t("svc-tab-translation", Js), t("sd-translation-line-skeleton", et), t("svc-translate-from-action", ot), t("svc-tab-logic", Ls), t("svc-tab-theme", nt), t("svc-toolbox", zt), t("svc-toolbox-list", Zt), t("svc-toolbox-category", Jt), t("svc-toolbox-tool", Ft), t("svc-toolbox-item", Ht), t("svc-toolbox-item-group", Ot), t(Ie, Et), t("svc-tab-designer", dn), t("svc-page-navigator", ja), t("svc-page-navigator-item", sl), t("svc-page", hn), t("svc-row", Dn), t("svc-add-new-question-btn", qn), t("svc-add-question-type-selector", kn), t("svc-question", ae), t("svc-rating-question", ae), t("svc-rating-question-content", Wn), t("svc-image-question", Vn), t("svc-image-question-adorner", Qn), t("svc-matrix-cell", Jn), t("svc-cell-question", Yn), t("svc-cell-dropdown-question", cl), t("svc-question-editor-content", Pa), t("svc-logo-image", Fa), t("svc-panel", va), t("svc-item-value", qa), t("svc-image-item-value", Ea), t("svc-dropdown-question", ll), t("svc-dropdown-question-adorner", al), t("svc-widget-question", kl), t("svc-question-banner", Tl);
3736
+ t("svc-tabbed-menu", Ge), t("svc-tabbed-menu-item-wrapper", je), t("svc-tabbed-menu-item", Ze), t("svc-side-bar", eo), t("svc-side-bar-default-header", no), t("svc-side-bar-page", ao), t("svc-tabs", ro), t("svc-tab-control", go), t("svc-tab-button", qo), t("svc-property-grid-placeholder", To), t("svc-side-bar-header", Eo), t("svc-side-bar-property-grid-header", Fo), t("svc-property-grid", io), t("svc-object-selector", lo), t("svc-search", Ga), t("svc-switcher", Yo), t("svc-action-button", Go), t("svc-question-error", Ko), t("survey-embeddedsurvey", Hs), t("sv-logic-operator", Us), t("survey-linkvalue", Qs), t("survey-color", it), t("color-item", rt), t("sv-boolean-switch", wt), t("survey-fileedit", vt), t("survey-spinedit", bt), t("survey-textwithreset", ne), t("survey-commentwithreset", ne), t("survey-widget", O), t("survey-simulator", os), t("svc-tab-preview", is), t("svc-complete-page", ds), t("survey-results", Cs), t("survey-results-table-row", $s), t("json-error-item", Rs), t("svc-tab-json-editor-textarea", Bs), t("svc-tab-json-editor-ace", Ds), t("svc-tab-translation", Js), t("sd-translation-line-skeleton", et), t("svc-translate-from-action", ot), t("svc-tab-logic", Ls), t("svc-tab-theme", nt), t("svc-toolbox", zt), t("svc-toolbox-list", Zt), t("svc-toolbox-category", Jt), t("svc-toolbox-tool", Ft), t("svc-toolbox-item", Qt), t("svc-toolbox-item-group", Ot), t(Ie, Et), t("svc-tab-designer", dn), t("svc-page-navigator", ja), t("svc-page-navigator-item", sl), t("svc-page", hn), t("svc-row", Dn), t("svc-add-new-question-btn", qn), t("svc-add-question-type-selector", kn), t("svc-question", ae), t("svc-rating-question", ae), t("svc-rating-question-content", Wn), t("svc-image-question", An), t("svc-image-question-adorner", Hn), t("svc-matrix-cell", Jn), t("svc-cell-question", Yn), t("svc-cell-dropdown-question", cl), t("svc-question-editor-content", Pa), t("svc-logo-image", Fa), t("svc-panel", va), t("svc-item-value", qa), t("svc-image-item-value", Ea), t("svc-dropdown-question", ll), t("svc-dropdown-question-adorner", al), t("svc-widget-question", kl), t("svc-question-banner", Tl);
3737
3737
  }
3738
3738
  pe(
3739
3739
  (u, t) => ie.Instance.registerComponent(u, t)