survey-creator-vue 1.12.21 → 2.0.0-rc.0

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.
Files changed (79) hide show
  1. package/package.json +4 -4
  2. package/survey-creator-vue.es.js +1090 -1062
  3. package/survey-creator-vue.umd.js +1 -1
  4. package/types/Creator.vue.d.ts +5 -13
  5. package/types/QuestionEditor.vue.d.ts +3 -13
  6. package/types/StringEditor.vue.d.ts +5 -13
  7. package/types/adorners/CellQuestion.vue.d.ts +3 -14
  8. package/types/adorners/CellQuestionDropdown.vue.d.ts +3 -14
  9. package/types/adorners/CustomWidget.vue.d.ts +5 -14
  10. package/types/adorners/Dropdown.vue.d.ts +3 -14
  11. package/types/adorners/Image.vue.d.ts +3 -14
  12. package/types/adorners/ImageItemValue.vue.d.ts +5 -23
  13. package/types/adorners/ItemValue.vue.d.ts +5 -23
  14. package/types/adorners/MatrixCell.vue.d.ts +13 -15
  15. package/types/adorners/Panel.vue.d.ts +5 -14
  16. package/types/adorners/Question.vue.d.ts +3 -14
  17. package/types/adorners/QuestionBanner.vue.d.ts +3 -13
  18. package/types/adorners/QuestionBase.vue.d.ts +5 -20
  19. package/types/adorners/QuestionDropdown.vue.d.ts +3 -14
  20. package/types/adorners/QuestionImage.vue.d.ts +3 -14
  21. package/types/adorners/Rating.vue.d.ts +13 -19
  22. package/types/components/ActionButton.vue.d.ts +3 -20
  23. package/types/components/QuestionError.vue.d.ts +3 -16
  24. package/types/components/Scroll.vue.d.ts +16 -4
  25. package/types/components/Search.vue.d.ts +3 -13
  26. package/types/components/SurfacePlaceholder.vue.d.ts +3 -15
  27. package/types/components/Switcher.vue.d.ts +3 -12
  28. package/types/custom-questions/BooleanSwitch.vue.d.ts +3 -12
  29. package/types/custom-questions/Color.vue.d.ts +3 -13
  30. package/types/custom-questions/ColorItem.vue.d.ts +3 -13
  31. package/types/custom-questions/File.vue.d.ts +5 -13
  32. package/types/custom-questions/SpinEditor.vue.d.ts +3 -13
  33. package/types/custom-questions/TextWithReset.vue.d.ts +3 -13
  34. package/types/header/Logo.vue.d.ts +5 -13
  35. package/types/main.d.ts +1 -1
  36. package/types/page-navigator/PageNavigator.vue.d.ts +5 -14
  37. package/types/page-navigator/PageNavigatorItem.vue.d.ts +3 -13
  38. package/types/questions/EmbeddedSurvey.vue.d.ts +3 -13
  39. package/types/questions/LinkValue.vue.d.ts +3 -13
  40. package/types/questions/LogicOperator.vue.d.ts +3 -12
  41. package/types/side-bar/ObjectSelector.vue.d.ts +3 -13
  42. package/types/side-bar/PropertyGrid.vue.d.ts +3 -13
  43. package/types/side-bar/PropertyGridPlaceholder.vue.d.ts +1 -1
  44. package/types/side-bar/SideBar.vue.d.ts +5 -13
  45. package/types/side-bar/SideBarDefaultHeader.vue.d.ts +3 -13
  46. package/types/side-bar/SideBarHeader.vue.d.ts +3 -13
  47. package/types/side-bar/SideBarPage.vue.d.ts +3 -13
  48. package/types/side-bar/SideBarPropertyGridHeader.vue.d.ts +3 -13
  49. package/types/side-bar/TabButton.vue.d.ts +3 -13
  50. package/types/side-bar/TabControl.vue.d.ts +3 -13
  51. package/types/side-bar/Tabs.vue.d.ts +3 -13
  52. package/types/tabbed-menu/TabbedMenu.vue.d.ts +5 -13
  53. package/types/tabbed-menu/TabbedMenuItem.vue.d.ts +3 -13
  54. package/types/tabbed-menu/TabbedMenuItemWrapper.vue.d.ts +5 -13
  55. package/types/tabs/designer/AddQuestion.vue.d.ts +3 -15
  56. package/types/tabs/designer/AddQuestionTypeSelector.vue.d.ts +3 -14
  57. package/types/tabs/designer/Designer.vue.d.ts +3 -13
  58. package/types/tabs/designer/Page.vue.d.ts +5 -16
  59. package/types/tabs/designer/Row.vue.d.ts +13 -18
  60. package/types/tabs/json/JsonEditorAce.vue.d.ts +5 -13
  61. package/types/tabs/json/JsonEditorErrorItem.vue.d.ts +3 -13
  62. package/types/tabs/json/JsonEditorTextArea.vue.d.ts +5 -13
  63. package/types/tabs/logic/Logic.vue.d.ts +3 -13
  64. package/types/tabs/logic/LogicAddButton.vue.d.ts +3 -13
  65. package/types/tabs/preview/Simulator.vue.d.ts +3 -13
  66. package/types/tabs/preview/SurveyResults.vue.d.ts +3 -13
  67. package/types/tabs/preview/SurveyResultsRow.vue.d.ts +3 -13
  68. package/types/tabs/preview/Test.vue.d.ts +3 -13
  69. package/types/tabs/preview/TestAgain.vue.d.ts +3 -15
  70. package/types/tabs/theme/Theme.vue.d.ts +3 -13
  71. package/types/tabs/translation/TranslateFromAction.vue.d.ts +3 -13
  72. package/types/tabs/translation/Translation.vue.d.ts +3 -13
  73. package/types/tabs/translation/TranslationLineSkeleton.vue.d.ts +1 -1
  74. package/types/toolbox/AdaptiveToolbox.vue.d.ts +5 -13
  75. package/types/toolbox/ToolboxCategory.vue.d.ts +3 -14
  76. package/types/toolbox/ToolboxItem.vue.d.ts +3 -16
  77. package/types/toolbox/ToolboxItemGroup.vue.d.ts +3 -16
  78. package/types/toolbox/ToolboxList.vue.d.ts +3 -14
  79. package/types/toolbox/ToolboxTool.vue.d.ts +5 -16
@@ -1,20 +1,23 @@
1
1
  import { useBase as T, SvComponent as c, key2ClickDirective as N, SurveyComponent as Q, useQuestion as H, ComponentFactory as re } from "survey-vue3-ui";
2
- import { defineComponent as g, computed as w, toRaw as _e, ref as I, onMounted as B, onUnmounted as K, openBlock as l, createElementBlock as r, Fragment as $, createVNode as p, unref as s, createElementVNode as a, normalizeClass as _, normalizeStyle as F, withDirectives as h, vShow as L, createCommentVNode as m, renderList as R, createBlock as C, toDisplayString as k, renderSlot as Z, withCtx as Y, resolveDirective as x, createTextVNode as ge, shallowRef as be, watch as G, onBeforeUnmount as ee, vModelText as de, onUpdated as oe, mergeProps as V } from "vue";
3
- import { ResponsivityManager as ye, CssClassBuilder as he, RendererFactory as ue, DropdownListModel as qe, VerticalResponsivityManager as Ce } from "survey-core";
4
- import { ScrollViewModel as we, editorLocalization as ce, SurveyResultsModel as ke, initLogicOperator as fe, StringEditorViewModelBase as $e, ToolboxToolViewModel as Te, PageAdorner as De, RowViewModel as Ne, QuestionAdornerViewModel as se, QuestionImageAdornerViewModel as Me, QuestionRatingAdornerViewModel as Se, MatrixCellWrapperViewModel as Ee, ItemValueWrapperViewModel as Ie, ImageItemValueWrapperViewModel as Be, LogoImageViewModel as Pe, PageNavigatorViewModel as Re, QuestionDropdownAdornerViewModel as Ve, editableStringRendererName as ze } from "survey-creator-core";
5
- const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Le = { class: "svc-top-bar" }, Fe = { class: "svc-tabbed-menu-wrapper" }, Ke = ["v-show"], Ue = { class: "svc-creator__content-holder svc-flex-column" }, He = ["id"], Oe = {
2
+ import { defineComponent as g, computed as k, toRaw as ge, ref as E, onMounted as B, onUnmounted as L, openBlock as l, createElementBlock as d, Fragment as $, createVNode as m, unref as s, createElementVNode as a, normalizeClass as _, normalizeStyle as K, createCommentVNode as v, renderList as R, createBlock as q, nextTick as de, withDirectives as h, toDisplayString as f, vShow as F, renderSlot as Z, withCtx as Y, resolveDirective as x, createTextVNode as be, shallowRef as ye, watch as G, onBeforeUnmount as ee, vModelText as ue, onUpdated as oe, mergeProps as V } from "vue";
3
+ import { ResponsivityManager as he, CssClassBuilder as Ce, RendererFactory as ce, DropdownListModel as qe, VerticalResponsivityManager as ke } from "survey-core";
4
+ import { ScrollViewModel as fe, editorLocalization as ve, SurveyResultsModel as we, initLogicOperator as $e, StringEditorViewModelBase as Te, ToolboxToolViewModel as De, PageAdorner as Ne, RowViewModel as Me, QuestionAdornerViewModel as se, QuestionImageAdornerViewModel as Se, QuestionRatingAdornerViewModel as Ie, MatrixCellWrapperViewModel as Ee, ItemValueWrapperViewModel as Be, ImageItemValueWrapperViewModel as Pe, LogoImageViewModel as Re, PageNavigatorViewModel as Ve, QuestionDropdownAdornerViewModel as ze, editableStringRendererName as Ae } from "survey-creator-core";
5
+ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Fe = { class: "svc-top-bar" }, Ke = {
6
+ key: 0,
7
+ class: "svc-tabbed-menu-wrapper"
8
+ }, Ue = ["v-show"], He = { class: "svc-creator__content-holder svc-flex-column" }, Oe = ["id"], Qe = {
6
9
  key: 0,
7
10
  class: "svc-footer-bar"
8
- }, Qe = ["v-show"], Ge = {
11
+ }, Ge = ["v-show"], We = {
9
12
  key: 0,
10
13
  class: "svc-creator__banner"
11
- }, We = ["innerHTML"], je = /* @__PURE__ */ g({
14
+ }, je = ["innerHTML"], Je = /* @__PURE__ */ g({
12
15
  __name: "Creator",
13
16
  props: {
14
17
  model: {}
15
18
  },
16
19
  setup(u) {
17
- const t = u, e = w(() => _e(t.model)), o = I();
20
+ const t = u, e = k(() => ge(t.model)), o = E();
18
21
  return T(
19
22
  () => e.value,
20
23
  (n, i) => {
@@ -22,18 +25,18 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
22
25
  }
23
26
  ), B(() => {
24
27
  o.value && t.model.setRootElement(o.value);
25
- }), K(() => {
28
+ }), L(() => {
26
29
  t.model.unsubscribeRootElement();
27
- }), (n, i) => e.value.isCreatorDisposed ? m("", !0) : (l(), r($, { key: 0 }, [
28
- p(s(c), { is: "survey-popup-modal" }),
30
+ }), (n, i) => e.value.isCreatorDisposed ? v("", !0) : (l(), d($, { key: 0 }, [
31
+ m(s(c), { is: "survey-popup-modal" }),
29
32
  a("div", {
30
33
  class: _(e.value.getRootCss()),
31
- style: F(e.value.themeVariables),
34
+ style: K(e.value.themeVariables),
32
35
  ref_key: "root",
33
36
  ref: o
34
37
  }, [
35
38
  a("div", null, [
36
- p(s(c), { is: "sv-svg-bundle" })
39
+ m(s(c), { is: "sv-svg-bundle" })
37
40
  ]),
38
41
  a("div", {
39
42
  class: _(["svc-full-container svc-creator__area svc-flex-column", {
@@ -45,74 +48,72 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
45
48
  "svc-creator__side-bar--left": e.value.sidebarLocation == "left"
46
49
  }])
47
50
  }, [
48
- a("div", Ae, [
49
- a("div", Le, [
50
- h(a("div", Fe, [
51
- p(s(c), {
51
+ a("div", Le, [
52
+ a("div", Fe, [
53
+ e.value.showTabs ? (l(), d("div", Ke, [
54
+ m(s(c), {
52
55
  is: "svc-tabbed-menu",
53
56
  model: e.value.tabbedMenu
54
57
  }, null, 8, ["model"])
55
- ], 512), [
56
- [L, e.value.showTabs]
57
- ]),
58
- e.value.showToolbar ? (l(), r("div", {
59
- key: 0,
58
+ ])) : v("", !0),
59
+ e.value.showToolbar ? (l(), d("div", {
60
+ key: 1,
60
61
  class: "svc-toolbar-wrapper",
61
62
  "v-show": e.value.showToolbar
62
63
  }, [
63
- p(s(c), {
64
+ m(s(c), {
64
65
  is: "sv-action-bar",
65
66
  model: e.value.toolbar
66
67
  }, null, 8, ["model"])
67
- ], 8, Ke)) : m("", !0)
68
+ ], 8, Ue)) : v("", !0)
68
69
  ]),
69
70
  a("div", {
70
71
  class: _(["svc-creator__content-wrapper svc-flex-row", {
71
72
  "svc-creator__content-wrapper--footer-toolbar": e.value.isMobileView
72
73
  }])
73
74
  }, [
74
- a("div", Ue, [
75
- (l(!0), r($, null, R(e.value.tabs, (d) => (l(), r($, null, [
76
- e.value.viewType == d.id && d.visible ? (l(), r("div", {
75
+ a("div", He, [
76
+ (l(!0), d($, null, R(e.value.tabs, (r) => (l(), d($, null, [
77
+ e.value.viewType == r.id && r.visible ? (l(), d("div", {
77
78
  class: _(["svc-creator-tab", {
78
79
  "svc-creator__toolbox--right": e.value.toolboxLocation == "right"
79
80
  }]),
80
- key: d.id,
81
- id: "scrollableDiv-" + d.id
81
+ key: r.id,
82
+ id: "scrollableDiv-" + r.id
82
83
  }, [
83
- p(s(c), {
84
- is: d.componentContent,
85
- model: d.data.model
84
+ m(s(c), {
85
+ is: r.componentContent,
86
+ model: r.data.model
86
87
  }, null, 8, ["is", "model"])
87
- ], 10, He)) : m("", !0)
88
+ ], 10, Oe)) : v("", !0)
88
89
  ], 64))), 256))
89
90
  ])
90
91
  ], 2),
91
- e.value.isMobileView ? (l(), r("div", Oe, [
92
+ e.value.isMobileView ? (l(), d("div", Qe, [
92
93
  a("div", {
93
94
  class: "svc-toolbar-wrapper",
94
95
  "v-show": e.value.isMobileView
95
96
  }, [
96
- p(s(c), {
97
+ m(s(c), {
97
98
  is: "sv-action-bar",
98
99
  model: e.value.footerToolbar
99
100
  }, null, 8, ["model"])
100
- ], 8, Qe)
101
- ])) : m("", !0)
101
+ ], 8, Ge)
102
+ ])) : v("", !0)
102
103
  ]),
103
- e.value.sidebar ? (l(), C(s(c), {
104
+ e.value.sidebar ? (l(), q(s(c), {
104
105
  key: 0,
105
106
  is: "svc-side-bar",
106
107
  model: e.value.sidebar
107
- }, null, 8, ["model"])) : m("", !0)
108
+ }, null, 8, ["model"])) : v("", !0)
108
109
  ], 2),
109
- e.value.haveCommercialLicense ? m("", !0) : (l(), r("div", Ge, [
110
+ e.value.haveCommercialLicense ? v("", !0) : (l(), d("div", We, [
110
111
  a("span", {
111
112
  class: "svc-creator__non-commercial-text",
112
113
  innerHTML: e.value.licenseText
113
- }, null, 8, We)
114
+ }, null, 8, je)
114
115
  ])),
115
- p(s(c), {
116
+ m(s(c), {
116
117
  is: "sv-notifier",
117
118
  model: e.value.notifier
118
119
  }, null, 8, ["model"])
@@ -120,7 +121,7 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
120
121
  ], 6)
121
122
  ], 64));
122
123
  }
123
- }), Je = /* @__PURE__ */ g({
124
+ }), Ze = /* @__PURE__ */ g({
124
125
  __name: "TabbedMenu",
125
126
  props: {
126
127
  model: {}
@@ -128,179 +129,185 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
128
129
  setup(u) {
129
130
  const t = u;
130
131
  let e;
131
- const o = I();
132
+ const o = E();
132
133
  return T(() => t.model), B(() => {
133
- e = new ye(
134
- o.value,
135
- t.model,
136
- ".svc-tabbed-menu-item-container:not(.sv-dots)>.sv-action__content"
137
- );
138
- }), K(() => {
134
+ e = new he(o.value, t.model);
135
+ }), L(() => {
139
136
  e.dispose(), e = void 0;
140
- }), (n, i) => (l(), r("div", {
137
+ }), (n, i) => (l(), d("div", {
141
138
  class: "svc-tabbed-menu",
142
139
  ref_key: "container",
143
140
  ref: o
144
141
  }, [
145
- (l(!0), r($, null, R(n.model.renderedActions, (d) => (l(), C(s(c), {
146
- key: d.id,
142
+ (l(!0), d($, null, R(n.model.renderedActions, (r) => (l(), q(s(c), {
143
+ key: r.renderedId,
147
144
  is: "svc-tabbed-menu-item-wrapper",
148
- item: d
145
+ item: r
149
146
  }, null, 8, ["item"]))), 128))
150
147
  ], 512));
151
148
  }
152
- }), Ze = { class: "sv-action__content" }, Xe = /* @__PURE__ */ g({
149
+ }), Xe = { class: "sv-action__content" }, Ye = /* @__PURE__ */ g({
153
150
  __name: "TabbedMenuItemWrapper",
154
151
  props: {
155
152
  item: {}
156
153
  },
157
154
  setup(u) {
158
- const t = u;
159
- return T(() => t.item), (e, o) => (l(), r("span", {
160
- class: _(["svc-tabbed-menu-item-container", [e.item.isVisible ? "" : "sv-action--hidden", e.item.css]])
155
+ const t = E(), e = u;
156
+ return T(() => e.item), B(() => {
157
+ const o = e.item;
158
+ o.updateModeCallback = (n, i) => {
159
+ o.mode = n, de(() => i(n, t.value));
160
+ }, o.afterRender();
161
+ }), L(() => {
162
+ const o = e.item;
163
+ o.updateModeCallback = void 0;
164
+ }), (o, n) => (l(), d("span", {
165
+ class: _(["svc-tabbed-menu-item-container", [o.item.isVisible ? "" : "sv-action--hidden", o.item.css]]),
166
+ ref_key: "root",
167
+ ref: t
161
168
  }, [
162
- a("div", Ze, [
163
- p(s(c), {
164
- is: e.item.component || "svc-tabbed-menu-item",
165
- item: e.item
169
+ a("div", Xe, [
170
+ m(s(c), {
171
+ is: o.item.component || "svc-tabbed-menu-item",
172
+ item: o.item
166
173
  }, null, 8, ["is", "item"])
167
174
  ])
168
175
  ], 2));
169
176
  }
170
- }), Ye = /* @__PURE__ */ g({
177
+ }), xe = /* @__PURE__ */ g({
171
178
  __name: "TabbedMenuItem",
172
179
  props: {
173
180
  item: {}
174
181
  },
175
182
  setup(u) {
176
183
  const t = u;
177
- return T(() => t.item), (e, o) => h((l(), r("div", {
184
+ return T(() => t.item), (e, o) => h((l(), d("div", {
178
185
  class: _(["svc-tabbed-menu-item", e.item.getRootCss()]),
179
186
  onClick: o[0] || (o[0] = (...n) => e.item.action && e.item.action(...n))
180
187
  }, [
181
- e.item.hasTitle ? (l(), r("span", {
188
+ e.item.hasTitle ? (l(), d("span", {
182
189
  key: 0,
183
190
  class: _(e.item.getTitleCss())
184
- }, k(e.item.title), 3)) : m("", !0),
185
- e.item.hasIcon ? (l(), C(s(c), {
191
+ }, f(e.item.title), 3)) : v("", !0),
192
+ e.item.hasIcon ? (l(), q(s(c), {
186
193
  key: 1,
187
194
  is: "sv-svg-icon",
188
195
  iconName: e.item.iconName,
189
196
  size: "auto",
190
197
  class: _(e.item.getIconCss()),
191
198
  title: e.item.tooltip || e.item.title
192
- }, null, 8, ["iconName", "class", "title"])) : m("", !0)
199
+ }, null, 8, ["iconName", "class", "title"])) : v("", !0)
193
200
  ], 2)), [
194
201
  [s(N)]
195
202
  ]);
196
203
  }
197
- }), xe = { class: "svc-flex-row svc-side-bar__wrapper" }, eo = { class: "svc-side-bar__container-wrapper" }, oo = { class: "svc-side-bar__container-content" }, so = /* @__PURE__ */ g({
204
+ }), eo = { class: "svc-flex-row svc-side-bar__wrapper" }, oo = { class: "svc-side-bar__container-wrapper" }, so = { class: "svc-side-bar__container-content" }, to = /* @__PURE__ */ g({
198
205
  __name: "SideBar",
199
206
  props: {
200
207
  model: {}
201
208
  },
202
209
  setup(u) {
203
- const t = u, e = I();
210
+ const t = u, e = E();
204
211
  return T(() => t.model), B(() => {
205
212
  t.model.initResizeManager(e.value);
206
- }), K(() => {
213
+ }), L(() => {
207
214
  t.model.resetResizeManager();
208
- }), (o, n) => h((l(), r("div", {
215
+ }), (o, n) => h((l(), d("div", {
209
216
  class: _(["svc-side-bar", o.model.rootCss])
210
217
  }, [
211
218
  h(a("div", {
212
219
  class: "svc-side-bar__shadow",
213
220
  onClick: n[0] || (n[0] = () => o.model.collapseSidebar())
214
221
  }, null, 512), [
215
- [L, o.model.renderContainer]
222
+ [F, o.model.renderContainer]
216
223
  ]),
217
- a("div", xe, [
218
- h(a("div", eo, [
224
+ a("div", eo, [
225
+ h(a("div", oo, [
219
226
  a("div", {
220
227
  class: "svc-side-bar__container",
221
228
  ref_key: "root",
222
229
  ref: e
223
230
  }, [
224
- p(s(c), {
231
+ m(s(c), {
225
232
  is: o.model.header.component,
226
233
  model: o.model.header.componentModel
227
234
  }, null, 8, ["is", "model"]),
228
- a("div", oo, [
229
- (l(!0), r($, null, R(o.model.pages, (i, d) => (l(), C(s(c), {
230
- key: d,
235
+ a("div", so, [
236
+ (l(!0), d($, null, R(o.model.pages, (i, r) => (l(), q(s(c), {
237
+ key: r,
231
238
  is: "svc-side-bar-page",
232
239
  model: i
233
240
  }, null, 8, ["model"]))), 128))
234
241
  ])
235
242
  ], 512)
236
243
  ], 512), [
237
- [L, o.model.renderContainer]
244
+ [F, o.model.renderContainer]
238
245
  ]),
239
- o.model.sideAreaComponentName ? (l(), C(s(c), {
246
+ o.model.sideAreaComponentName ? (l(), q(s(c), {
240
247
  key: 0,
241
248
  is: o.model.sideAreaComponentName,
242
249
  model: o.model.sideAreaComponentData
243
- }, null, 8, ["is", "model"])) : m("", !0)
250
+ }, null, 8, ["is", "model"])) : v("", !0)
244
251
  ])
245
252
  ], 2)), [
246
- [L, o.model.renderRoot]
253
+ [F, o.model.renderRoot]
247
254
  ]);
248
255
  }
249
- }), to = { class: "svc-side-bar__container-header" }, no = { class: "svc-side-bar__container-actions" }, lo = {
256
+ }), no = { class: "svc-side-bar__container-header" }, lo = { class: "svc-side-bar__container-actions" }, io = {
250
257
  key: 0,
251
258
  class: "svc-side-bar__container-title"
252
- }, io = /* @__PURE__ */ g({
259
+ }, ao = /* @__PURE__ */ g({
253
260
  __name: "SideBarDefaultHeader",
254
261
  props: {
255
262
  model: {}
256
263
  },
257
264
  setup(u) {
258
265
  const t = u;
259
- return T(() => t.model), (e, o) => (l(), r("div", to, [
260
- a("div", no, [
261
- p(s(c), {
266
+ return T(() => t.model), (e, o) => (l(), d("div", no, [
267
+ a("div", lo, [
268
+ m(s(c), {
262
269
  is: "sv-action-bar",
263
270
  model: e.model.toolbar
264
271
  }, null, 8, ["model"])
265
272
  ]),
266
- e.model.title ? (l(), r("div", lo, k(e.model.title), 1)) : m("", !0)
273
+ e.model.title ? (l(), d("div", io, f(e.model.title), 1)) : v("", !0)
267
274
  ]));
268
275
  }
269
- }), ao = /* @__PURE__ */ g({
276
+ }), ro = /* @__PURE__ */ g({
270
277
  __name: "SideBarPage",
271
278
  props: {
272
279
  model: {}
273
280
  },
274
281
  setup(u) {
275
282
  const t = u;
276
- return T(() => t.model), (e, o) => e.model.visible ? (l(), C(s(c), {
283
+ return T(() => t.model), (e, o) => e.model.visible ? (l(), q(s(c), {
277
284
  key: 0,
278
285
  is: e.model.componentName,
279
286
  model: e.model.componentData
280
- }, null, 8, ["is", "model"])) : m("", !0);
287
+ }, null, 8, ["is", "model"])) : v("", !0);
281
288
  }
282
- }), ro = /* @__PURE__ */ g({
289
+ }), uo = /* @__PURE__ */ g({
283
290
  __name: "ObjectSelector",
284
291
  props: {
285
292
  model: {}
286
293
  },
287
294
  setup(u) {
288
295
  const t = u;
289
- return T(() => t.model), (e, o) => e.model.isVisible ? (l(), C(s(c), {
296
+ return T(() => t.model), (e, o) => e.model.isVisible ? (l(), q(s(c), {
290
297
  key: 0,
291
298
  is: "sv-list",
292
299
  model: e.model.list
293
- }, null, 8, ["model"])) : m("", !0);
300
+ }, null, 8, ["model"])) : v("", !0);
294
301
  }
295
- }), uo = { class: "svc-scroll__container" }, X = /* @__PURE__ */ g({
302
+ }), co = { class: "svc-scroll__container" }, X = /* @__PURE__ */ g({
296
303
  __name: "Scroll",
297
304
  setup(u) {
298
- const t = new we(), e = I();
305
+ const t = new fe(), e = E();
299
306
  return B(() => {
300
307
  t.setRootElement(e.value);
301
- }), K(() => {
308
+ }), L(() => {
302
309
  t.setRootElement(void 0), t.unsubscribeRootElement();
303
- }), (o, n) => (l(), r("div", {
310
+ }), (o, n) => (l(), d("div", {
304
311
  ref_key: "root",
305
312
  ref: e,
306
313
  class: "svc-scroll__wrapper"
@@ -309,7 +316,7 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
309
316
  class: "svc-scroll__scroller sv-drag-target-skipped",
310
317
  onScroll: n[0] || (n[0] = () => s(t).onScrollContainer())
311
318
  }, [
312
- a("div", uo, [
319
+ a("div", co, [
313
320
  Z(o.$slots, "default")
314
321
  ])
315
322
  ], 32),
@@ -321,57 +328,57 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
321
328
  ]), 32)
322
329
  ], 512));
323
330
  }
324
- }), co = /* @__PURE__ */ g({
331
+ }), vo = /* @__PURE__ */ g({
325
332
  __name: "PropertyGrid",
326
333
  props: {
327
334
  model: {}
328
335
  },
329
336
  setup(u) {
330
337
  const t = u;
331
- return T(() => t.model), (e, o) => (l(), r("div", {
338
+ return T(() => t.model), (e, o) => (l(), d("div", {
332
339
  class: _(e.model.rootCss)
333
340
  }, [
334
- p(s(c), {
341
+ m(s(c), {
335
342
  is: "svc-search",
336
343
  model: e.model.searchManager
337
344
  }, null, 8, ["model"]),
338
- p(X, null, {
345
+ m(X, null, {
339
346
  default: Y(() => [
340
- e.model.survey ? (l(), C(s(Q), {
347
+ e.model.survey ? (l(), q(s(Q), {
341
348
  key: 0,
342
349
  survey: e.model.survey
343
- }, null, 8, ["survey"])) : m("", !0)
350
+ }, null, 8, ["survey"])) : v("", !0)
344
351
  ]),
345
352
  _: 1
346
353
  })
347
354
  ], 2));
348
355
  }
349
- }), vo = /* @__PURE__ */ g({
356
+ }), po = /* @__PURE__ */ g({
350
357
  __name: "Tabs",
351
358
  props: {
352
359
  model: {}
353
360
  },
354
361
  setup(u) {
355
362
  const t = u;
356
- return T(() => t.model), (e, o) => (l(!0), r($, null, R(e.model.actions, (n, i) => (l(), C(s(c), {
363
+ return T(() => t.model), (e, o) => (l(!0), d($, null, R(e.model.actions, (n, i) => (l(), q(s(c), {
357
364
  key: i,
358
365
  is: "svc-tab-button",
359
366
  model: n
360
367
  }, null, 8, ["model"]))), 128));
361
368
  }
362
- }), po = { class: "svc-sidebar-tabs__top-container" }, mo = { class: "svc-sidebar-tabs__collapse-button" }, _o = { class: "svc-sidebar-tabs__items" }, go = { class: "svc-sidebar-tabs__bottom-container" }, bo = { class: "svc-sidebar-tabs__items" }, yo = /* @__PURE__ */ g({
369
+ }), mo = { class: "svc-sidebar-tabs__top-container" }, _o = { class: "svc-sidebar-tabs__collapse-button" }, go = { class: "svc-sidebar-tabs__items" }, bo = { class: "svc-sidebar-tabs__bottom-container" }, yo = { class: "svc-sidebar-tabs__items" }, ho = /* @__PURE__ */ g({
363
370
  __name: "TabControl",
364
371
  props: {
365
372
  model: {}
366
373
  },
367
374
  setup(u) {
368
375
  const t = u;
369
- return T(() => t.model), (e, o) => (l(), r("div", {
376
+ return T(() => t.model), (e, o) => (l(), d("div", {
370
377
  class: _(e.model.sideBarClassName)
371
378
  }, [
372
- a("div", po, [
373
- a("div", mo, [
374
- p(s(c), {
379
+ a("div", mo, [
380
+ a("div", _o, [
381
+ m(s(c), {
375
382
  is: "svc-tab-button",
376
383
  model: e.model.expandCollapseAction
377
384
  }, null, 8, ["model"])
@@ -379,16 +386,16 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
379
386
  o[0] || (o[0] = a("div", { class: "svc-sidebar-tabs__separator" }, [
380
387
  a("div")
381
388
  ], -1)),
382
- a("div", _o, [
383
- p(s(c), {
389
+ a("div", go, [
390
+ m(s(c), {
384
391
  is: "svc-tabs",
385
392
  model: e.model.topToolbar
386
393
  }, null, 8, ["model"])
387
394
  ])
388
395
  ]),
389
- a("div", go, [
390
- a("div", bo, [
391
- p(s(c), {
396
+ a("div", bo, [
397
+ a("div", yo, [
398
+ m(s(c), {
392
399
  is: "svc-tabs",
393
400
  model: e.model.bottomToolbar
394
401
  }, null, 8, ["model"])
@@ -396,7 +403,7 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
396
403
  ])
397
404
  ], 2));
398
405
  }
399
- }), ho = { class: "svc-menu-action" }, qo = ["title"], Co = { class: "svc-menu-action__icon" }, wo = { class: "svc-menu-action__icon-container" }, ko = /* @__PURE__ */ g({
406
+ }), Co = { class: "svc-menu-action" }, qo = ["title"], ko = { class: "svc-menu-action__icon" }, fo = { class: "svc-menu-action__icon-container" }, wo = /* @__PURE__ */ g({
400
407
  __name: "TabButton",
401
408
  props: {
402
409
  model: {}
@@ -405,15 +412,15 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
405
412
  const t = u;
406
413
  return T(() => t.model), (e, o) => {
407
414
  const n = x("key2click");
408
- return l(), r("div", ho, [
409
- h((l(), r("div", {
415
+ return l(), d("div", Co, [
416
+ h((l(), d("div", {
410
417
  class: _(e.model.buttonClassName),
411
418
  title: e.model.tooltip,
412
419
  onClick: o[0] || (o[0] = (i) => e.model.action())
413
420
  }, [
414
- a("div", Co, [
415
- a("div", wo, [
416
- p(s(c), {
421
+ a("div", ko, [
422
+ a("div", fo, [
423
+ m(s(c), {
417
424
  is: "sv-svg-icon",
418
425
  iconName: e.model.iconName,
419
426
  size: "auto"
@@ -426,14 +433,14 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
426
433
  ]);
427
434
  };
428
435
  }
429
- }), fo = { class: "svc-property-grid-placeholder" }, $o = { class: "svc-property-grid-placeholder__header" }, To = { class: "svc-property-grid-placeholder__title" }, Do = { class: "svc-property-grid-placeholder__description" }, No = /* @__PURE__ */ g({
436
+ }), $o = { class: "svc-property-grid-placeholder" }, To = { class: "svc-property-grid-placeholder__header" }, Do = { class: "svc-property-grid-placeholder__title" }, No = { class: "svc-property-grid-placeholder__description" }, Mo = /* @__PURE__ */ g({
430
437
  __name: "PropertyGridPlaceholder",
431
438
  setup(u) {
432
- const t = ce;
433
- return (e, o) => (l(), r("div", fo, [
434
- a("div", $o, [
435
- a("span", To, k(s(t).getString("ed.propertyGridPlaceholderTitle")), 1),
436
- a("span", Do, k(s(t).getString("ed.propertyGridPlaceholderDescription")), 1)
439
+ const t = ve;
440
+ return (e, o) => (l(), d("div", $o, [
441
+ a("div", To, [
442
+ a("span", Do, f(s(t).getString("ed.propertyGridPlaceholderTitle")), 1),
443
+ a("span", No, f(s(t).getString("ed.propertyGridPlaceholderDescription")), 1)
437
444
  ]),
438
445
  o[0] || (o[0] = a("div", { class: "svc-property-grid-placeholder__content" }, [
439
446
  a("div", { class: "svc-property-grid-placeholder__gap" }),
@@ -441,28 +448,28 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
441
448
  ], -1))
442
449
  ]));
443
450
  }
444
- }), Mo = { class: "svc-side-bar__container-header svc-sidebar__header-container" }, So = {
451
+ }), So = { class: "svc-side-bar__container-header svc-sidebar__header-container" }, Io = {
445
452
  key: 0,
446
453
  class: "svc-side-bar__container-title"
447
454
  }, Eo = {
448
455
  key: 1,
449
456
  class: "svc-sidebar__header-caption"
450
- }, Io = { class: "svc-sidebar__header-title" }, Bo = { class: "svc-sidebar__header-subtitle" }, Po = /* @__PURE__ */ g({
457
+ }, Bo = { class: "svc-sidebar__header-title" }, Po = { class: "svc-sidebar__header-subtitle" }, Ro = /* @__PURE__ */ g({
451
458
  __name: "SideBarHeader",
452
459
  props: {
453
460
  model: {}
454
461
  },
455
462
  setup(u) {
456
463
  const t = u;
457
- return T(() => t.model), (e, o) => (l(), r("div", Mo, [
458
- e.model.subTitle ? m("", !0) : (l(), r("div", So, k(e.model.title), 1)),
459
- e.model.subTitle ? (l(), r("div", Eo, [
460
- a("span", Io, k(e.model.title), 1),
461
- a("span", Bo, k(e.model.subTitle), 1)
462
- ])) : m("", !0)
464
+ return T(() => t.model), (e, o) => (l(), d("div", So, [
465
+ e.model.subTitle ? v("", !0) : (l(), d("div", Io, f(e.model.title), 1)),
466
+ e.model.subTitle ? (l(), d("div", Eo, [
467
+ a("span", Bo, f(e.model.title), 1),
468
+ a("span", Po, f(e.model.subTitle), 1)
469
+ ])) : v("", !0)
463
470
  ]));
464
471
  }
465
- }), Ro = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, Vo = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, zo = { class: "svc-sidebar__header-content" }, Ao = { class: "svc-sidebar__header-caption" }, Lo = { class: "svc-sidebar__header-title" }, Fo = { class: "svc-sidebar__header-subtitle" }, Ko = /* @__PURE__ */ g({
472
+ }), Vo = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, zo = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, Ao = { class: "svc-sidebar__header-content" }, Lo = { class: "svc-sidebar__header-caption" }, Fo = { class: "svc-sidebar__header-title" }, Ko = { class: "svc-sidebar__header-subtitle" }, Uo = /* @__PURE__ */ g({
466
473
  __name: "SideBarPropertyGridHeader",
467
474
  props: {
468
475
  model: {}
@@ -471,27 +478,27 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
471
478
  const t = u;
472
479
  return T(() => t.model), (e, o) => {
473
480
  const n = x("key2click");
474
- return l(), r("div", Ro, [
475
- a("div", Vo, [
476
- a("div", zo, [
477
- h((l(), r("div", {
481
+ return l(), d("div", Vo, [
482
+ a("div", zo, [
483
+ a("div", Ao, [
484
+ h((l(), d("div", {
478
485
  class: _(e.model.buttonClassName),
479
486
  onClick: o[0] || (o[0] = (i) => e.model.action())
480
487
  }, [
481
- a("div", Ao, [
482
- a("span", Lo, k(e.model.title), 1),
483
- a("span", Fo, k(e.model.tooltip), 1)
488
+ a("div", Lo, [
489
+ a("span", Fo, f(e.model.title), 1),
490
+ a("span", Ko, f(e.model.tooltip), 1)
484
491
  ])
485
492
  ], 2)), [
486
493
  [n, { processEsc: !1 }]
487
494
  ]),
488
- p(s(c), { is: "sv-popup" })
495
+ m(s(c), { is: "sv-popup" })
489
496
  ])
490
497
  ])
491
498
  ]);
492
499
  };
493
500
  }
494
- }), Uo = /* @__PURE__ */ g({
501
+ }), Ho = /* @__PURE__ */ g({
495
502
  __name: "QuestionError",
496
503
  props: {
497
504
  errorKey: {},
@@ -500,8 +507,8 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
500
507
  element: {}
501
508
  },
502
509
  setup(u) {
503
- return (t, e) => (l(), r("div", { key: t.errorKey }, [
504
- p(s(c), {
510
+ return (t, e) => (l(), d("div", { key: t.errorKey }, [
511
+ m(s(c), {
505
512
  is: "sv-svg-icon",
506
513
  class: _(t.cssClasses.error.icon),
507
514
  iconName: "icon-alert_24x24",
@@ -512,14 +519,14 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
512
519
  t.cssClasses ? t.cssClasses.error.item || void 0 : "panel-error-item"
513
520
  )
514
521
  }, [
515
- p(s(c), {
522
+ m(s(c), {
516
523
  is: "survey-string",
517
524
  locString: t.error.locText
518
525
  }, null, 8, ["locString"])
519
526
  ], 2)
520
527
  ]));
521
528
  }
522
- }), Ho = ["title"], Oo = ["title"], Qo = ["title"], Go = ["title"], Wo = /* @__PURE__ */ g({
529
+ }), Oo = ["title"], Qo = ["title"], Go = ["title"], Wo = ["title"], jo = /* @__PURE__ */ g({
523
530
  __name: "ActionButton",
524
531
  props: {
525
532
  classes: {},
@@ -534,68 +541,68 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
534
541
  setup(u) {
535
542
  const t = u, e = (n) => {
536
543
  t.click(), t.allowBubble || n.stopPropagation();
537
- }, o = () => new he().append(t.classes || "").append("svc-action-button").append("svc-action-button--icon", !!t.iconName).append("svc-action-button--selected", !!t.selected).append("svc-action-button--disabled", !!t.disabled).toString();
538
- return (n, i) => (l(), r($, null, [
539
- n.iconName ? m("", !0) : (l(), r($, { key: 0 }, [
540
- n.disabled ? (l(), r("span", {
544
+ }, o = () => new Ce().append(t.classes || "").append("svc-action-button").append("svc-action-button--icon", !!t.iconName).append("svc-action-button--selected", !!t.selected).append("svc-action-button--disabled", !!t.disabled).toString();
545
+ return (n, i) => (l(), d($, null, [
546
+ n.iconName ? v("", !0) : (l(), d($, { key: 0 }, [
547
+ n.disabled ? (l(), d("span", {
541
548
  key: 0,
542
549
  class: _(["svc-action-button svc-action-button--disabled", n.classes]),
543
550
  title: n.title
544
- }, k(n.text), 11, Ho)) : m("", !0),
545
- h((l(), r("span", {
551
+ }, f(n.text), 11, Oo)) : v("", !0),
552
+ h((l(), d("span", {
546
553
  role: "button",
547
554
  class: _(["svc-action-button", o()]),
548
555
  onClick: e,
549
556
  title: n.title
550
557
  }, [
551
- ge(k(n.text), 1)
552
- ], 10, Oo)), [
558
+ be(f(n.text), 1)
559
+ ], 10, Qo)), [
553
560
  [s(N)]
554
561
  ])
555
562
  ], 64)),
556
- n.iconName ? (l(), r($, { key: 1 }, [
557
- n.disabled ? (l(), r("span", {
563
+ n.iconName ? (l(), d($, { key: 1 }, [
564
+ n.disabled ? (l(), d("span", {
558
565
  key: 0,
559
566
  class: _(o()),
560
567
  title: n.title
561
568
  }, [
562
- p(s(c), {
569
+ m(s(c), {
563
570
  is: "sv-svg-icon",
564
571
  iconName: n.iconName,
565
572
  size: "auto"
566
573
  }, null, 8, ["iconName"])
567
- ], 10, Qo)) : m("", !0),
568
- h((l(), r("span", {
574
+ ], 10, Go)) : v("", !0),
575
+ h((l(), d("span", {
569
576
  role: "button",
570
577
  onClick: e,
571
578
  class: _(o()),
572
579
  title: n.title
573
580
  }, [
574
- p(s(c), {
581
+ m(s(c), {
575
582
  is: "sv-svg-icon",
576
583
  iconName: n.iconName,
577
584
  size: "auto"
578
585
  }, null, 8, ["iconName"])
579
- ], 10, Go)), [
586
+ ], 10, Wo)), [
580
587
  [s(N)]
581
588
  ])
582
- ], 64)) : m("", !0)
589
+ ], 64)) : v("", !0)
583
590
  ], 64));
584
591
  }
585
- }), jo = ["disabled", "title", "aria-checked", "aria-expanded", "role"], Jo = {
592
+ }), Jo = ["disabled", "title", "aria-checked", "aria-expanded", "role"], Zo = {
586
593
  key: 0,
587
594
  class: "svc-switcher__title"
588
- }, Zo = {
595
+ }, Xo = {
589
596
  inheritAttrs: !1
590
- }, Xo = /* @__PURE__ */ g({
591
- ...Zo,
597
+ }, Yo = /* @__PURE__ */ g({
598
+ ...Xo,
592
599
  __name: "Switcher",
593
600
  props: {
594
601
  item: {}
595
602
  },
596
603
  setup(u) {
597
604
  const t = u;
598
- return T(() => t.item), (e, o) => h((l(), r("button", {
605
+ return T(() => t.item), (e, o) => h((l(), d("button", {
599
606
  class: _(e.item.getActionBarItemCss()),
600
607
  type: "button",
601
608
  onClick: o[0] || (o[0] = (n) => {
@@ -615,15 +622,15 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
615
622
  }, o[2] || (o[2] = [
616
623
  a("div", { class: "svc-switcher__icon-thumb" }, null, -1)
617
624
  ]), 2),
618
- e.item.hasTitle ? (l(), r("span", Jo, k(e.item.title), 1)) : m("", !0)
619
- ], 42, jo)), [
625
+ e.item.hasTitle ? (l(), d("span", Zo, f(e.item.title), 1)) : v("", !0)
626
+ ], 42, Jo)), [
620
627
  [s(N), { processEsc: !1, disableTabStop: e.item.disableTabStop }]
621
628
  ]);
622
629
  }
623
- }), Yo = {
630
+ }), xo = {
624
631
  key: 0,
625
632
  class: "svd-simulator-content"
626
- }, xo = { class: "svd-simulator-content" }, es = /* @__PURE__ */ g({
633
+ }, es = { class: "svd-simulator-content" }, os = /* @__PURE__ */ g({
627
634
  __name: "Simulator",
628
635
  props: {
629
636
  model: {}
@@ -631,51 +638,51 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
631
638
  setup(u) {
632
639
  const t = u;
633
640
  T(() => t.model);
634
- const e = w(() => t.model.simulatorFrame), o = () => {
641
+ const e = k(() => t.model.simulatorFrame), o = () => {
635
642
  t.model.device !== "desktop" && t.model.activateZoom();
636
643
  }, n = () => {
637
644
  t.model.device !== "desktop" && t.model.deactivateZoom();
638
645
  };
639
- return (i, d) => (l(), r("div", {
646
+ return (i, r) => (l(), d("div", {
640
647
  class: _(i.model.getRootCss()),
641
- onKeydown: d[0] || (d[0] = (v) => i.model.tryToZoom(void 0, v)),
642
- onMouseover: d[1] || (d[1] = (v) => o()),
643
- onMouseout: d[2] || (d[2] = (v) => n())
648
+ onKeydown: r[0] || (r[0] = (p) => i.model.tryToZoom(void 0, p)),
649
+ onMouseover: r[1] || (r[1] = (p) => o()),
650
+ onMouseout: r[2] || (r[2] = (p) => n())
644
651
  }, [
645
- i.model.hasFrame ? m("", !0) : (l(), r("div", Yo, [
646
- p(s(c), {
652
+ i.model.hasFrame ? v("", !0) : (l(), d("div", xo, [
653
+ m(s(c), {
647
654
  is: "survey-widget",
648
655
  model: i.model.survey
649
656
  }, null, 8, ["model"])
650
657
  ])),
651
- i.model.hasFrame ? (l(), r("div", {
658
+ i.model.hasFrame ? (l(), d("div", {
652
659
  key: 1,
653
660
  class: "svd-simulator-wrapper",
654
661
  id: "svd-simulator-wrapper",
655
- style: F({
662
+ style: K({
656
663
  width: e.value.frameWidth + "px",
657
664
  height: e.value.frameHeight + "px"
658
665
  })
659
666
  }, [
660
667
  a("div", {
661
668
  class: "svd-simulator",
662
- style: F({
669
+ style: K({
663
670
  width: e.value.deviceWidth + "px",
664
671
  height: e.value.deviceHeight + "px",
665
672
  transform: "scale(" + e.value.scale + ") translate(-50%, -50%)"
666
673
  })
667
674
  }, [
668
- a("div", xo, [
669
- p(s(c), {
675
+ a("div", es, [
676
+ m(s(c), {
670
677
  is: "survey-widget",
671
678
  model: i.model.survey
672
679
  }, null, 8, ["model"])
673
680
  ])
674
681
  ], 4)
675
- ], 4)) : m("", !0)
682
+ ], 4)) : v("", !0)
676
683
  ], 34));
677
684
  }
678
- }), os = { class: "svc-surface-placeholder" }, ss = { class: "svc-surface-placeholder__text" }, ts = { class: "svc-surface-placeholder__title" }, ns = { class: "svc-surface-placeholder__description" }, W = /* @__PURE__ */ g({
685
+ }), ss = { class: "svc-surface-placeholder" }, ts = { class: "svc-surface-placeholder__text" }, ns = { class: "svc-surface-placeholder__title" }, ls = { class: "svc-surface-placeholder__description" }, W = /* @__PURE__ */ g({
679
686
  __name: "SurfacePlaceholder",
680
687
  props: {
681
688
  name: {},
@@ -683,85 +690,85 @@ const Ae = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
683
690
  placeholderDescriptionText: {}
684
691
  },
685
692
  setup(u) {
686
- return (t, e) => (l(), r("div", os, [
693
+ return (t, e) => (l(), d("div", ss, [
687
694
  a("div", {
688
695
  class: _(["svc-surface-placeholder__image", "svc-surface-placeholder__image--" + t.name])
689
696
  }, null, 2),
690
- a("div", ss, [
691
- a("div", ts, k(t.placeholderTitleText), 1),
692
- a("div", ns, k(t.placeholderDescriptionText), 1)
697
+ a("div", ts, [
698
+ a("div", ns, f(t.placeholderTitleText), 1),
699
+ a("div", ls, f(t.placeholderDescriptionText), 1)
693
700
  ])
694
701
  ]));
695
702
  }
696
- }), ls = {
703
+ }), is = {
697
704
  key: 0,
698
705
  class: "svc-test-tab--empty"
699
- }, is = {
706
+ }, as = {
700
707
  key: 2,
701
708
  class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
702
- }, as = /* @__PURE__ */ g({
709
+ }, rs = /* @__PURE__ */ g({
703
710
  __name: "Test",
704
711
  props: {
705
712
  model: {}
706
713
  },
707
714
  setup(u) {
708
715
  const t = u;
709
- return T(() => t.model), (e, o) => (l(), r("div", {
716
+ return T(() => t.model), (e, o) => (l(), d("div", {
710
717
  class: _(["svc-creator-tab__content svc-test-tab__content", {
711
718
  "svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
712
719
  }])
713
720
  }, [
714
- e.model.survey.isEmpty ? (l(), r("div", ls, [
715
- p(W, {
721
+ e.model.survey.isEmpty ? (l(), d("div", is, [
722
+ m(W, {
716
723
  name: "preview",
717
724
  placeholderTitleText: e.model.placeholderTitleText,
718
725
  placeholderDescriptionText: e.model.placeholderDescriptionText
719
726
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])
720
- ])) : m("", !0),
721
- e.model.survey.isEmpty ? m("", !0) : (l(), r("div", {
727
+ ])) : v("", !0),
728
+ e.model.survey.isEmpty ? v("", !0) : (l(), d("div", {
722
729
  key: 1,
723
730
  class: "svc-plugin-tab__content",
724
731
  onScroll: o[0] || (o[0] = (n) => e.model.onScroll())
725
732
  }, [
726
- p(s(c), {
733
+ m(s(c), {
727
734
  is: "survey-simulator",
728
735
  model: e.model.simulator
729
736
  }, null, 8, ["model"]),
730
- e.model.showResults ? (l(), C(s(c), {
737
+ e.model.showResults ? (l(), q(s(c), {
731
738
  key: 0,
732
739
  is: "survey-results",
733
740
  survey: e.model.survey
734
- }, null, 8, ["survey"])) : m("", !0)
741
+ }, null, 8, ["survey"])) : v("", !0)
735
742
  ], 32)),
736
- e.model.isPageToolbarVisible ? (l(), r("div", is, [
737
- p(s(c), {
743
+ e.model.isPageToolbarVisible ? (l(), d("div", as, [
744
+ m(s(c), {
738
745
  is: "sv-action-bar",
739
746
  model: e.model.pages
740
747
  }, null, 8, ["model"])
741
- ])) : m("", !0)
748
+ ])) : v("", !0)
742
749
  ], 2));
743
750
  }
744
- }), rs = { class: "svc-btn__text" }, ds = /* @__PURE__ */ g({
751
+ }), ds = { class: "svc-btn__text" }, us = /* @__PURE__ */ g({
745
752
  inheritAttrs: !1,
746
753
  __name: "TestAgain",
747
754
  props: {
748
755
  model: {}
749
756
  },
750
757
  setup(u) {
751
- const t = u, e = w(() => t.model.testAgainAction);
752
- return T(() => e.value), (o, n) => h((l(), r("div", {
758
+ const t = u, e = k(() => t.model.testAgainAction);
759
+ return T(() => e.value), (o, n) => h((l(), d("div", {
753
760
  role: "button",
754
761
  class: "svc-preview__test-again svc-btn",
755
762
  onClick: n[0] || (n[0] = (i) => e.value.action())
756
763
  }, [
757
- a("span", rs, k(e.value.title), 1)
764
+ a("span", ds, f(e.value.title), 1)
758
765
  ])), [
759
766
  [s(N)]
760
767
  ]);
761
768
  }
762
769
  });
763
770
  function z(u, t, e) {
764
- const o = be(), n = G(
771
+ const o = ye(), n = G(
765
772
  t.map((i) => () => i()),
766
773
  () => {
767
774
  o.value = u();
@@ -774,32 +781,32 @@ function z(u, t, e) {
774
781
  n();
775
782
  }), o;
776
783
  }
777
- const us = {
784
+ const cs = {
778
785
  key: 0,
779
786
  class: "svd-test-results"
780
- }, cs = { class: "svd-test-results__content" }, vs = { class: "svd-test-results__header" }, ps = { class: "svd-test-results__header-text" }, ms = { class: "svd-test-results__header-types" }, _s = { class: "svd-test-results__text svd-light-bg-color" }, gs = { class: "svd-test-results__table svd-light-bg-color" }, bs = { class: "svd-light-background-color" }, ys = { class: "svd-dark-border-color" }, hs = { class: "svd-dark-border-color" }, qs = /* @__PURE__ */ g({
787
+ }, vs = { class: "svd-test-results__content" }, ps = { class: "svd-test-results__header" }, ms = { class: "svd-test-results__header-text" }, _s = { class: "svd-test-results__header-types" }, gs = { class: "svd-test-results__text svd-light-bg-color" }, bs = { class: "svd-test-results__table svd-light-bg-color" }, ys = { class: "svd-light-background-color" }, hs = { class: "svd-dark-border-color" }, Cs = { class: "svd-dark-border-color" }, qs = /* @__PURE__ */ g({
781
788
  __name: "SurveyResults",
782
789
  props: {
783
790
  survey: {}
784
791
  },
785
792
  setup(u) {
786
793
  const t = u, e = z(
787
- () => t.survey ? new ke(t.survey) : void 0,
794
+ () => t.survey ? new we(t.survey) : void 0,
788
795
  [() => t.survey]
789
796
  );
790
- return (o, n) => s(e) ? (l(), r("div", us, [
791
- a("div", cs, [
792
- a("div", vs, [
793
- a("div", ps, k(s(e).surveyResultsText), 1),
794
- a("div", ms, [
795
- p(s(c), {
797
+ return (o, n) => s(e) ? (l(), d("div", cs, [
798
+ a("div", vs, [
799
+ a("div", ps, [
800
+ a("div", ms, f(s(e).surveyResultsText), 1),
801
+ a("div", _s, [
802
+ m(s(c), {
796
803
  is: "svc-action-button",
797
804
  text: s(e).surveyResultsTableText,
798
805
  click: s(e).selectTableClick,
799
806
  disabled: !1,
800
807
  selected: s(e).isTableSelected
801
808
  }, null, 8, ["text", "click", "selected"]),
802
- p(s(c), {
809
+ m(s(c), {
803
810
  is: "svc-action-button",
804
811
  text: s(e).surveyResultsJsonText,
805
812
  click: s(e).selectJsonClick,
@@ -808,141 +815,141 @@ const us = {
808
815
  }, null, 8, ["text", "click", "selected"])
809
816
  ])
810
817
  ]),
811
- h(a("div", _s, [
812
- a("div", null, k(s(e).resultText), 1)
818
+ h(a("div", gs, [
819
+ a("div", null, f(s(e).resultText), 1)
813
820
  ], 512), [
814
- [L, s(e).resultViewType === "text"]
821
+ [F, s(e).resultViewType === "text"]
815
822
  ]),
816
- h(a("div", gs, [
823
+ h(a("div", bs, [
817
824
  a("table", null, [
818
825
  a("thead", null, [
819
- a("tr", bs, [
820
- a("th", ys, k(s(e).resultsTitle), 1),
821
- a("th", hs, k(s(e).resultsDisplayValue), 1)
826
+ a("tr", ys, [
827
+ a("th", hs, f(s(e).resultsTitle), 1),
828
+ a("th", Cs, f(s(e).resultsDisplayValue), 1)
822
829
  ])
823
830
  ]),
824
831
  a("tbody", null, [
825
- (l(!0), r($, null, R(s(e).resultData, (i, d) => (l(), C(s(c), {
832
+ (l(!0), d($, null, R(s(e).resultData, (i, r) => (l(), q(s(c), {
826
833
  is: "survey-results-table-row",
827
834
  model: i,
828
- key: d
835
+ key: r
829
836
  }, null, 8, ["model"]))), 128))
830
837
  ])
831
838
  ])
832
839
  ], 512), [
833
- [L, s(e).resultViewType === "table"]
840
+ [F, s(e).resultViewType === "table"]
834
841
  ])
835
842
  ])
836
- ])) : m("", !0);
843
+ ])) : v("", !0);
837
844
  }
838
- }), Cs = { key: 2 }, ws = /* @__PURE__ */ g({
845
+ }), ks = { key: 2 }, fs = /* @__PURE__ */ g({
839
846
  __name: "SurveyResultsRow",
840
847
  props: {
841
848
  model: {}
842
849
  },
843
850
  setup(u) {
844
851
  const t = u;
845
- return T(() => t.model), (e, o) => (l(), r($, null, [
846
- h((l(), r("tr", {
852
+ return T(() => t.model), (e, o) => (l(), d($, null, [
853
+ h((l(), d("tr", {
847
854
  onClick: o[0] || (o[0] = (...n) => e.model.toggle && e.model.toggle(...n))
848
855
  }, [
849
856
  a("td", {
850
857
  class: "svd-dark-border-color",
851
- style: F({ paddingLeft: e.model.textMargin })
858
+ style: K({ paddingLeft: e.model.textMargin })
852
859
  }, [
853
- e.model.isNode ? (l(), r("span", {
860
+ e.model.isNode ? (l(), d("span", {
854
861
  key: 0,
855
862
  class: _(["svd-test-results__marker", { "svd-test-results__marker--expanded": !e.model.collapsed }]),
856
- style: F({ left: e.model.markerMargin })
863
+ style: K({ left: e.model.markerMargin })
857
864
  }, [
858
- p(s(c), {
865
+ m(s(c), {
859
866
  is: "sv-svg-icon",
860
867
  iconName: "icon-expand_16x16",
861
868
  size: 16
862
869
  })
863
- ], 6)) : m("", !0),
864
- e.model.question ? (l(), C(s(c), {
870
+ ], 6)) : v("", !0),
871
+ e.model.question ? (l(), q(s(c), {
865
872
  key: 1,
866
873
  is: "survey-string",
867
874
  locString: e.model.question.locTitle
868
- }, null, 8, ["locString"])) : (l(), r("span", Cs, k(e.model.title), 1))
875
+ }, null, 8, ["locString"])) : (l(), d("span", ks, f(e.model.title), 1))
869
876
  ], 4),
870
877
  a("td", {
871
878
  class: _({
872
879
  "svd-test-results__node-value": e.model.isNode,
873
880
  "svd-dark-border-color": !e.model.isNode
874
881
  })
875
- }, k(e.model.getString(e.model.displayValue)), 3)
882
+ }, f(e.model.getString(e.model.displayValue)), 3)
876
883
  ])), [
877
884
  [s(N)]
878
885
  ]),
879
- e.model.isNode && !e.model.collapsed ? (l(!0), r($, { key: 0 }, R(e.model.data, (n, i) => (l(), C(s(c), {
886
+ e.model.isNode && !e.model.collapsed ? (l(!0), d($, { key: 0 }, R(e.model.data, (n, i) => (l(), q(s(c), {
880
887
  is: "survey-results-table-row",
881
888
  model: n,
882
889
  key: i + 1
883
- }, null, 8, ["model"]))), 128)) : m("", !0)
890
+ }, null, 8, ["model"]))), 128)) : v("", !0)
884
891
  ], 64));
885
892
  }
886
- }), ks = { class: "svc-creator-tab__content" }, fs = { class: "svc-json-editor-tab__content" }, $s = { class: "svc-json-editor-tab__errros_list" }, Ts = /* @__PURE__ */ g({
893
+ }), ws = { class: "svc-creator-tab__content" }, $s = { class: "svc-json-editor-tab__content" }, Ts = { class: "svc-json-editor-tab__errros_list" }, Ds = /* @__PURE__ */ g({
887
894
  __name: "JsonEditorAce",
888
895
  props: {
889
896
  model: {}
890
897
  },
891
898
  setup(u) {
892
- const t = u, e = I();
893
- return T(() => t.model), B(() => t.model.init(window.ace.edit(e.value))), (o, n) => (l(), r("div", ks, [
894
- a("div", fs, [
899
+ const t = u, e = E();
900
+ return T(() => t.model), B(() => t.model.init(window.ace.edit(e.value))), (o, n) => (l(), d("div", ws, [
901
+ a("div", $s, [
895
902
  a("div", {
896
903
  class: "svc-json-editor-tab__ace-editor",
897
904
  ref_key: "inputEl",
898
905
  ref: e
899
906
  }, null, 512),
900
- h(a("div", $s, [
901
- p(s(c), {
907
+ h(a("div", Ts, [
908
+ m(s(c), {
902
909
  is: "sv-list",
903
910
  model: o.model.errorList
904
911
  }, null, 8, ["model"])
905
912
  ], 512), [
906
- [L, o.model.hasErrors]
913
+ [F, o.model.hasErrors]
907
914
  ])
908
915
  ])
909
916
  ]));
910
917
  }
911
- }), Ds = { class: "svc-creator-tab__content" }, Ns = { class: "svc-json-editor-tab__content" }, Ms = ["aria-label", "disabled"], Ss = { class: "svc-json-editor-tab__errros_list" }, Es = /* @__PURE__ */ g({
918
+ }), Ns = { class: "svc-creator-tab__content" }, Ms = { class: "svc-json-editor-tab__content" }, Ss = ["aria-label", "disabled"], Is = { class: "svc-json-editor-tab__errros_list" }, Es = /* @__PURE__ */ g({
912
919
  __name: "JsonEditorTextArea",
913
920
  props: {
914
921
  model: {}
915
922
  },
916
923
  setup(u) {
917
- const t = u, e = I(), o = t.model;
924
+ const t = u, e = E(), o = t.model;
918
925
  return o.canShowErrors = !1, T(() => t.model), B(() => {
919
926
  const n = t.model;
920
927
  n.textElement = e.value;
921
- }), (n, i) => (l(), r("div", Ds, [
922
- a("div", Ns, [
928
+ }), (n, i) => (l(), d("div", Ns, [
929
+ a("div", Ms, [
923
930
  h(a("textarea", {
924
931
  class: "svc-json-editor-tab__content-area",
925
932
  "aria-label": s(o).ariaLabel,
926
933
  disabled: s(o).readOnly,
927
- "onUpdate:modelValue": i[0] || (i[0] = (d) => s(o).text = d),
928
- onKeydown: i[1] || (i[1] = (d) => s(o).checkKey(s(o), d)),
934
+ "onUpdate:modelValue": i[0] || (i[0] = (r) => s(o).text = r),
935
+ onKeydown: i[1] || (i[1] = (r) => s(o).checkKey(s(o), r)),
929
936
  ref_key: "inputEl",
930
937
  ref: e
931
- }, " ", 40, Ms), [
932
- [de, s(o).text]
938
+ }, " ", 40, Ss), [
939
+ [ue, s(o).text]
933
940
  ]),
934
- h(a("div", Ss, [
935
- p(s(c), {
941
+ h(a("div", Is, [
942
+ m(s(c), {
936
943
  is: "sv-list",
937
944
  model: s(o).errorList
938
945
  }, null, 8, ["model"])
939
946
  ], 512), [
940
- [L, s(o).hasErrors]
947
+ [F, s(o).hasErrors]
941
948
  ])
942
949
  ])
943
950
  ]));
944
951
  }
945
- }), Is = { class: "svc-json-error__container" }, Bs = { class: "svc-json-error__title" }, Ps = ["title", "aria-label"], Rs = /* @__PURE__ */ g({
952
+ }), Bs = { class: "svc-json-error__container" }, Ps = { class: "svc-json-error__title" }, Rs = ["title", "aria-label"], Vs = /* @__PURE__ */ g({
946
953
  __name: "JsonEditorErrorItem",
947
954
  props: {
948
955
  item: {}
@@ -953,21 +960,21 @@ const us = {
953
960
  const e = (o) => {
954
961
  o.stopPropagation(), t.item.data.fixError();
955
962
  };
956
- return (o, n) => (l(), r($, null, [
957
- p(s(c), {
963
+ return (o, n) => (l(), d($, null, [
964
+ m(s(c), {
958
965
  is: "sv-svg-icon",
959
966
  iconName: o.item.iconName,
960
967
  size: o.item.iconSize,
961
968
  class: _("svc-json-error__icon")
962
969
  }, null, 8, ["iconName", "size"]),
963
- a("div", Is, [
964
- a("div", Bs, [
965
- p(s(c), {
970
+ a("div", Bs, [
971
+ a("div", Ps, [
972
+ m(s(c), {
966
973
  is: "survey-string",
967
974
  locString: o.item.locTitle
968
975
  }, null, 8, ["locString"])
969
976
  ]),
970
- o.item.data.showFixButton ? h((l(), r("button", {
977
+ o.item.data.showFixButton ? h((l(), d("button", {
971
978
  key: 0,
972
979
  type: "button",
973
980
  onClick: e,
@@ -975,18 +982,18 @@ const us = {
975
982
  "aria-label": o.item.data.fixButtonTitle,
976
983
  class: "svc-json-error__fix-button"
977
984
  }, [
978
- p(s(c), {
985
+ m(s(c), {
979
986
  is: "sv-svg-icon",
980
987
  iconName: o.item.data.fixButtonIcon,
981
988
  size: "auto"
982
989
  }, null, 8, ["iconName"])
983
- ], 8, Ps)), [
990
+ ], 8, Rs)), [
984
991
  [s(N)]
985
- ]) : m("", !0)
992
+ ]) : v("", !0)
986
993
  ])
987
994
  ], 64));
988
995
  }
989
- }), Vs = { class: "svc-btn__text" }, zs = /* @__PURE__ */ g({
996
+ }), zs = { class: "svc-btn__text" }, As = /* @__PURE__ */ g({
990
997
  __name: "LogicAddButton",
991
998
  props: {
992
999
  model: {}
@@ -997,168 +1004,168 @@ const us = {
997
1004
  const e = (o) => {
998
1005
  o.stopPropagation(), t.model.action();
999
1006
  };
1000
- return (o, n) => h((l(), r("div", {
1007
+ return (o, n) => h((l(), d("div", {
1001
1008
  role: "button",
1002
1009
  class: _(["svc-logic-tab__content-action svc-btn", {
1003
1010
  "svc-logic-tab__content-action--disabled": o.model.enabled !== void 0 && !o.model.enabled
1004
1011
  }]),
1005
1012
  onClick: e
1006
1013
  }, [
1007
- a("span", Vs, k(o.model.title), 1)
1014
+ a("span", zs, f(o.model.title), 1)
1008
1015
  ], 2)), [
1009
1016
  [s(N)]
1010
1017
  ]);
1011
1018
  }
1012
- }), As = { class: "svc-creator-tab__content" }, Ls = {
1019
+ }), Ls = { class: "svc-creator-tab__content" }, Fs = {
1013
1020
  key: 0,
1014
1021
  class: "svc-logic-tab__content-empty"
1015
- }, Fs = /* @__PURE__ */ g({
1022
+ }, Ks = /* @__PURE__ */ g({
1016
1023
  __name: "Logic",
1017
1024
  props: {
1018
1025
  model: {}
1019
1026
  },
1020
1027
  setup(u) {
1021
1028
  const t = u;
1022
- return T(() => t.model), (e, o) => (l(), r("div", As, [
1029
+ return T(() => t.model), (e, o) => (l(), d("div", Ls, [
1023
1030
  a("div", {
1024
1031
  class: _(["svc-plugin-tab__content svc-logic-tab__content", { "svc-logic-tab--empty": !e.model.hasItems }])
1025
1032
  }, [
1026
- p(s(Q), {
1033
+ m(s(Q), {
1027
1034
  model: e.model.itemsSurvey
1028
1035
  }, null, 8, ["model"]),
1029
- e.model.hasItems ? m("", !0) : (l(), r("div", Ls, [
1030
- p(W, {
1036
+ e.model.hasItems ? v("", !0) : (l(), d("div", Fs, [
1037
+ m(W, {
1031
1038
  name: "logic",
1032
1039
  placeholderTitleText: e.model.placeholderTitleText,
1033
1040
  placeholderDescriptionText: e.model.placeholderDescriptionText
1034
1041
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])
1035
1042
  ])),
1036
- e.model.readOnly ? m("", !0) : (l(), C(zs, {
1043
+ e.model.readOnly ? v("", !0) : (l(), q(As, {
1037
1044
  key: 1,
1038
1045
  model: e.model.addNewButton
1039
1046
  }, null, 8, ["model"]))
1040
1047
  ], 2)
1041
1048
  ]));
1042
1049
  }
1043
- }), Ks = ["id", "required", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Us = ["id"];
1044
- ue.Instance.registerRenderer(
1050
+ }), Us = ["id", "required", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Hs = ["id"];
1051
+ ce.Instance.registerRenderer(
1045
1052
  "dropdown",
1046
1053
  "logicoperator",
1047
1054
  "sv-logic-operator"
1048
1055
  );
1049
- const Hs = /* @__PURE__ */ g({
1056
+ const Os = /* @__PURE__ */ g({
1050
1057
  __name: "LogicOperator",
1051
1058
  props: {
1052
1059
  question: {}
1053
1060
  },
1054
1061
  setup(u) {
1055
- const t = u, e = I(), o = w(() => {
1056
- var v;
1057
- return (v = t.question.dropdownListModel) != null ? v : new qe(t.question);
1062
+ const t = u, e = E(), o = k(() => {
1063
+ var p;
1064
+ return (p = t.question.dropdownListModel) != null ? p : new qe(t.question);
1058
1065
  });
1059
- H(t, e, (v) => {
1060
- fe(v);
1066
+ H(t, e, (p) => {
1067
+ $e(p);
1061
1068
  });
1062
- const n = (v) => {
1069
+ const n = (p) => {
1063
1070
  var b;
1064
- (b = o.value) == null || b.onClick(v);
1065
- }, i = (v) => {
1071
+ (b = o.value) == null || b.onClick(p);
1072
+ }, i = (p) => {
1066
1073
  var b;
1067
- (b = o.value) == null || b.onClear(v);
1068
- }, d = (v) => {
1074
+ (b = o.value) == null || b.onClear(p);
1075
+ }, r = (p) => {
1069
1076
  var b;
1070
- (b = o.value) == null || b.keyHandler(v);
1077
+ (b = o.value) == null || b.keyHandler(p);
1071
1078
  };
1072
- return (v, b) => (l(), r("div", {
1073
- class: _(v.question.cssClasses.selectWrapper)
1079
+ return (p, b) => (l(), d("div", {
1080
+ class: _(p.question.cssClasses.selectWrapper)
1074
1081
  }, [
1075
- v.question.isReadOnly ? m("", !0) : (l(), r($, { key: 0 }, [
1082
+ p.question.isReadOnly ? v("", !0) : (l(), d($, { key: 0 }, [
1076
1083
  a("div", {
1077
- class: _(v.question.getControlClass()),
1084
+ class: _(p.question.getControlClass()),
1078
1085
  onClick: n,
1079
- onKeyup: d,
1080
- id: v.question.inputId,
1081
- required: v.question.isRequired,
1082
- tabindex: v.question.isInputReadOnly ? void 0 : 0,
1083
- disabled: v.question.isInputReadOnly,
1084
- role: v.question.ariaRole,
1085
- "aria-required": v.question.ariaRequired,
1086
- "aria-label": v.question.ariaLabel,
1087
- "aria-invalid": v.question.ariaInvalid,
1088
- "aria-describedby": v.question.ariaDescribedBy
1086
+ onKeyup: r,
1087
+ id: p.question.inputId,
1088
+ required: p.question.isRequired,
1089
+ tabindex: p.question.isInputReadOnly ? void 0 : 0,
1090
+ disabled: p.question.isInputReadOnly,
1091
+ role: p.question.ariaRole,
1092
+ "aria-required": p.question.ariaRequired,
1093
+ "aria-label": p.question.ariaLabel,
1094
+ "aria-invalid": p.question.ariaInvalid,
1095
+ "aria-describedby": p.question.ariaDescribedBy
1089
1096
  }, [
1090
1097
  a("div", {
1091
- class: _(v.question.cssClasses.controlValue)
1098
+ class: _(p.question.cssClasses.controlValue)
1092
1099
  }, [
1093
- v.question.selectedItemLocText ? (l(), C(s(c), {
1100
+ p.question.selectedItemLocText ? (l(), q(s(c), {
1094
1101
  key: 0,
1095
1102
  is: "survey-string",
1096
- locString: v.question.selectedItemLocText
1097
- }, null, 8, ["locString"])) : m("", !0),
1098
- a("div", null, k(v.question.readOnlyText), 1)
1103
+ locString: p.question.selectedItemLocText
1104
+ }, null, 8, ["locString"])) : v("", !0),
1105
+ a("div", null, f(p.question.readOnlyText), 1)
1099
1106
  ], 2),
1100
- v.question.allowClear && v.question.cssClasses.cleanButtonIconId ? h((l(), r("div", {
1107
+ p.question.allowClear && p.question.cssClasses.cleanButtonIconId ? h((l(), d("div", {
1101
1108
  key: 0,
1102
- class: _(v.question.cssClasses.cleanButton),
1109
+ class: _(p.question.cssClasses.cleanButton),
1103
1110
  onClick: i
1104
1111
  }, [
1105
- p(s(c), {
1112
+ m(s(c), {
1106
1113
  is: "sv-svg-icon",
1107
- class: _(v.question.cssClasses.cleanButtonSvg),
1108
- iconName: v.question.cssClasses.cleanButtonIconId,
1114
+ class: _(p.question.cssClasses.cleanButtonSvg),
1115
+ iconName: p.question.cssClasses.cleanButtonIconId,
1109
1116
  size: "auto",
1110
- title: v.question.clearCaption
1117
+ title: p.question.clearCaption
1111
1118
  }, null, 8, ["class", "iconName", "title"])
1112
1119
  ], 2)), [
1113
- [L, !v.question.isEmpty()]
1114
- ]) : m("", !0)
1115
- ], 42, Ks),
1116
- p(s(c), {
1120
+ [F, !p.question.isEmpty()]
1121
+ ]) : v("", !0)
1122
+ ], 42, Us),
1123
+ m(s(c), {
1117
1124
  is: "sv-popup",
1118
- model: v.question.popupModel
1125
+ model: p.question.popupModel
1119
1126
  }, null, 8, ["model"])
1120
1127
  ], 64)),
1121
- v.question.isReadOnly ? (l(), r("div", {
1128
+ p.question.isReadOnly ? (l(), d("div", {
1122
1129
  key: 1,
1123
1130
  disabled: "",
1124
- class: _(v.question.getControlClass()),
1125
- id: v.question.inputId
1131
+ class: _(p.question.getControlClass()),
1132
+ id: p.question.inputId
1126
1133
  }, [
1127
- v.question.selectedItemLocText ? (l(), C(s(c), {
1134
+ p.question.selectedItemLocText ? (l(), q(s(c), {
1128
1135
  key: 0,
1129
1136
  is: "survey-string",
1130
- locString: v.question.selectedItemLocText
1131
- }, null, 8, ["locString"])) : m("", !0),
1132
- a("div", null, k(v.question.readOnlyText), 1)
1133
- ], 10, Us)) : m("", !0)
1137
+ locString: p.question.selectedItemLocText
1138
+ }, null, 8, ["locString"])) : v("", !0),
1139
+ a("div", null, f(p.question.readOnlyText), 1)
1140
+ ], 10, Hs)) : v("", !0)
1134
1141
  ], 2));
1135
1142
  }
1136
- }), Os = /* @__PURE__ */ g({
1143
+ }), Qs = /* @__PURE__ */ g({
1137
1144
  __name: "EmbeddedSurvey",
1138
1145
  props: {
1139
1146
  question: {}
1140
1147
  },
1141
1148
  setup(u) {
1142
- const t = u, e = I();
1149
+ const t = u, e = E();
1143
1150
  H(t, e);
1144
- const o = w(() => t.question.embeddedSurvey);
1145
- return (n, i) => !!n.question && !!o.value && o.value.currentPage ? (l(), C(s(c), {
1151
+ const o = k(() => t.question.embeddedSurvey);
1152
+ return (n, i) => !!n.question && !!o.value && o.value.currentPage ? (l(), q(s(c), {
1146
1153
  key: 0,
1147
1154
  is: "survey-page",
1148
1155
  page: o.value.currentPage,
1149
1156
  survey: o.value
1150
- }, null, 8, ["page", "survey"])) : m("", !0);
1157
+ }, null, 8, ["page", "survey"])) : v("", !0);
1151
1158
  }
1152
- }), Qs = /* @__PURE__ */ g({
1159
+ }), Gs = /* @__PURE__ */ g({
1153
1160
  inheritAttrs: !1,
1154
1161
  __name: "LinkValue",
1155
1162
  props: {
1156
1163
  question: {}
1157
1164
  },
1158
1165
  setup(u) {
1159
- const t = u, e = I(), o = ce.getString("pe.clear");
1160
- return H(t, e), (n, i) => (l(), r($, null, [
1161
- p(s(c), {
1166
+ const t = u, e = E(), o = ve.getString("pe.clear");
1167
+ return H(t, e), (n, i) => (l(), d($, null, [
1168
+ m(s(c), {
1162
1169
  is: "svc-action-button",
1163
1170
  text: n.question.linkValueText,
1164
1171
  click: n.question.doLinkClick.bind(n.question),
@@ -1168,7 +1175,7 @@ const Hs = /* @__PURE__ */ g({
1168
1175
  title: n.question.tooltip,
1169
1176
  iconName: n.question.iconName
1170
1177
  }, null, 8, ["text", "click", "selected", "disabled", "classes", "title", "iconName"]),
1171
- !n.question.isReadOnly && n.question.showClear ? (l(), C(s(c), {
1178
+ !n.question.isReadOnly && n.question.showClear ? (l(), q(s(c), {
1172
1179
  key: 0,
1173
1180
  is: "svc-action-button",
1174
1181
  text: s(o),
@@ -1176,37 +1183,37 @@ const Hs = /* @__PURE__ */ g({
1176
1183
  selected: n.question.isSelected,
1177
1184
  disabled: !1,
1178
1185
  classes: n.question.linkClearButtonCssClasses
1179
- }, null, 8, ["text", "click", "selected", "classes"])) : m("", !0)
1186
+ }, null, 8, ["text", "click", "selected", "classes"])) : v("", !0)
1180
1187
  ], 64));
1181
1188
  }
1182
- }), Gs = {
1189
+ }), Ws = {
1183
1190
  key: 1,
1184
1191
  class: "st-content"
1185
- }, Ws = { class: "svc-flex-column st-strings-wrapper" }, js = { class: "svc-flex-row st-strings-header" }, Js = { class: "svc-flex-row svc-plugin-tab__content st-strings" }, Zs = /* @__PURE__ */ g({
1192
+ }, js = { class: "svc-flex-column st-strings-wrapper" }, Js = { class: "svc-flex-row st-strings-header" }, Zs = { class: "svc-flex-row svc-plugin-tab__content st-strings" }, Xs = /* @__PURE__ */ g({
1186
1193
  __name: "Translation",
1187
1194
  props: {
1188
1195
  model: {}
1189
1196
  },
1190
1197
  setup(u) {
1191
1198
  const t = u;
1192
- return T(() => t.model), (e, o) => (l(), r("div", {
1199
+ return T(() => t.model), (e, o) => (l(), d("div", {
1193
1200
  class: _(["svc-creator-tab__content svc-translation-tab", e.model.isEmpty ? "svc-translation-tab--empty" : ""])
1194
1201
  }, [
1195
- e.model.isEmpty ? (l(), C(W, {
1202
+ e.model.isEmpty ? (l(), q(W, {
1196
1203
  key: 0,
1197
1204
  name: "translation",
1198
1205
  placeholderTitleText: e.model.placeholderTitleText,
1199
1206
  placeholderDescriptionText: e.model.placeholderDescriptionText
1200
- }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : m("", !0),
1201
- e.model.isEmpty ? m("", !0) : (l(), r("div", Gs, [
1202
- a("div", Ws, [
1203
- a("div", js, [
1204
- p(s(Q), {
1207
+ }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : v("", !0),
1208
+ e.model.isEmpty ? v("", !0) : (l(), d("div", Ws, [
1209
+ a("div", js, [
1210
+ a("div", Js, [
1211
+ m(s(Q), {
1205
1212
  model: e.model.stringsHeaderSurvey
1206
1213
  }, null, 8, ["model"])
1207
1214
  ]),
1208
- a("div", Js, [
1209
- p(s(Q), {
1215
+ a("div", Zs, [
1216
+ m(s(Q), {
1210
1217
  model: e.model.stringsSurvey
1211
1218
  }, null, 8, ["model"])
1212
1219
  ])
@@ -1214,95 +1221,95 @@ const Hs = /* @__PURE__ */ g({
1214
1221
  ]))
1215
1222
  ], 2));
1216
1223
  }
1217
- }), Xs = (u, t) => {
1224
+ }), Ys = (u, t) => {
1218
1225
  const e = u.__vccOpts || u;
1219
1226
  for (const [o, n] of t)
1220
1227
  e[o] = n;
1221
1228
  return e;
1222
- }, Ys = {}, xs = { class: "sd-translation-line-skeleton" };
1223
- function et(u, t) {
1224
- return l(), r("div", xs);
1229
+ }, xs = {}, et = { class: "sd-translation-line-skeleton" };
1230
+ function ot(u, t) {
1231
+ return l(), d("div", et);
1225
1232
  }
1226
- const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1233
+ const st = /* @__PURE__ */ Ys(xs, [["render", ot]]), tt = /* @__PURE__ */ g({
1227
1234
  __name: "TranslateFromAction",
1228
1235
  props: {
1229
1236
  item: {}
1230
1237
  },
1231
1238
  setup(u) {
1232
- return (t, e) => (l(), r("div", {
1239
+ return (t, e) => (l(), d("div", {
1233
1240
  class: _(t.item.data.containerCss)
1234
1241
  }, [
1235
1242
  a("span", {
1236
1243
  class: _(t.item.data.additionalTitleCss)
1237
- }, k(t.item.data.additionalTitle), 3),
1238
- p(s(c), {
1244
+ }, f(t.item.data.additionalTitle), 3),
1245
+ m(s(c), {
1239
1246
  is: "sv-action-bar-item-dropdown",
1240
1247
  item: t.item
1241
1248
  }, null, 8, ["item"])
1242
1249
  ], 2));
1243
1250
  }
1244
- }), tt = {
1251
+ }), nt = {
1245
1252
  key: 0,
1246
1253
  class: "svc-test-tab--empty"
1247
- }, nt = {
1254
+ }, lt = {
1248
1255
  key: 1,
1249
1256
  class: "svc-plugin-tab__content"
1250
- }, lt = {
1257
+ }, it = {
1251
1258
  key: 2,
1252
1259
  class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
1253
- }, it = /* @__PURE__ */ g({
1260
+ }, at = /* @__PURE__ */ g({
1254
1261
  __name: "Theme",
1255
1262
  props: {
1256
1263
  model: {}
1257
1264
  },
1258
1265
  setup(u) {
1259
1266
  const t = u;
1260
- return T(() => t.model), (e, o) => (l(), r("div", {
1267
+ return T(() => t.model), (e, o) => (l(), d("div", {
1261
1268
  class: _(["svc-creator-tab__content svc-test-tab__content", {
1262
1269
  "svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
1263
1270
  }])
1264
1271
  }, [
1265
- e.model.survey.isEmpty ? (l(), r("div", tt, [
1266
- p(W, {
1272
+ e.model.survey.isEmpty ? (l(), d("div", nt, [
1273
+ m(W, {
1267
1274
  name: "theme",
1268
1275
  placeholderTitleText: e.model.placeholderTitleText,
1269
1276
  placeholderDescriptionText: e.model.placeholderDescriptionText
1270
1277
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])
1271
- ])) : m("", !0),
1272
- e.model.survey.isEmpty ? m("", !0) : (l(), r("div", nt, [
1273
- p(s(c), {
1278
+ ])) : v("", !0),
1279
+ e.model.survey.isEmpty ? v("", !0) : (l(), d("div", lt, [
1280
+ m(s(c), {
1274
1281
  is: "survey-simulator",
1275
1282
  model: e.model.simulator
1276
1283
  }, null, 8, ["model"]),
1277
- e.model.showResults ? (l(), C(s(c), {
1284
+ e.model.showResults ? (l(), q(s(c), {
1278
1285
  key: 0,
1279
1286
  is: "survey-results",
1280
1287
  survey: e.model.survey
1281
- }, null, 8, ["survey"])) : m("", !0)
1288
+ }, null, 8, ["survey"])) : v("", !0)
1282
1289
  ])),
1283
- e.model.isPageToolbarVisible ? (l(), r("div", lt, [
1284
- p(s(c), {
1290
+ e.model.isPageToolbarVisible ? (l(), d("div", it, [
1291
+ m(s(c), {
1285
1292
  is: "sv-action-bar",
1286
1293
  model: e.model.pages
1287
1294
  }, null, 8, ["model"])
1288
- ])) : m("", !0)
1295
+ ])) : v("", !0)
1289
1296
  ], 2));
1290
1297
  }
1291
- }), at = ["disabled", "value"], rt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], dt = /* @__PURE__ */ g({
1298
+ }), rt = ["disabled", "value"], dt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], ut = /* @__PURE__ */ g({
1292
1299
  __name: "Color",
1293
1300
  props: {
1294
1301
  question: {}
1295
1302
  },
1296
1303
  setup(u) {
1297
- return H(u, I()), (e, o) => (l(), r("div", {
1304
+ return H(u, E()), (e, o) => (l(), d("div", {
1298
1305
  class: _(e.question.cssClasses.root),
1299
1306
  onKeydown: o[5] || (o[5] = (...n) => e.question.onKeyDown && e.question.onKeyDown(...n))
1300
1307
  }, [
1301
1308
  a("label", {
1302
1309
  class: _(e.question.getSwatchCss()),
1303
- style: F(e.question.getSwatchStyle())
1310
+ style: K(e.question.getSwatchStyle())
1304
1311
  }, [
1305
- p(s(c), {
1312
+ m(s(c), {
1306
1313
  is: "sv-svg-icon",
1307
1314
  iconName: e.question.cssClasses.swatchIcon,
1308
1315
  size: "auto"
@@ -1314,7 +1321,7 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1314
1321
  value: e.question.renderedColorValue,
1315
1322
  tabindex: "-1",
1316
1323
  onChange: o[0] || (o[0] = (...n) => e.question.onColorInputChange && e.question.onColorInputChange(...n))
1317
- }, null, 42, at)
1324
+ }, null, 42, rt)
1318
1325
  ], 6),
1319
1326
  a("input", {
1320
1327
  autocomplete: "off",
@@ -1331,20 +1338,20 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1331
1338
  onBeforeinput: o[4] || (o[4] = (...n) => e.question.onBeforeInput && e.question.onBeforeInput(...n)),
1332
1339
  value: e.question.renderedValue,
1333
1340
  class: _(e.question.cssClasses.control)
1334
- }, null, 42, rt),
1335
- e.question.showDropdownAction ? (l(), r($, { key: 0 }, [
1336
- p(s(c), {
1341
+ }, null, 42, dt),
1342
+ e.question.showDropdownAction ? (l(), d($, { key: 0 }, [
1343
+ m(s(c), {
1337
1344
  is: "sv-action-bar-item",
1338
1345
  item: e.question.dropdownAction
1339
1346
  }, null, 8, ["item"]),
1340
- p(s(c), {
1347
+ m(s(c), {
1341
1348
  is: "sv-popup",
1342
1349
  model: e.question.dropdownAction.popupModel
1343
1350
  }, null, 8, ["model"])
1344
- ], 64)) : m("", !0)
1351
+ ], 64)) : v("", !0)
1345
1352
  ], 34));
1346
1353
  }
1347
- }), ut = /* @__PURE__ */ g({
1354
+ }), ct = /* @__PURE__ */ g({
1348
1355
  __name: "ColorItem",
1349
1356
  props: {
1350
1357
  item: {}
@@ -1353,25 +1360,25 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1353
1360
  const t = u;
1354
1361
  T(() => t.item);
1355
1362
  const e = () => ({ backgroundColor: t.item.value });
1356
- return (o, n) => (l(), r($, null, [
1363
+ return (o, n) => (l(), d($, null, [
1357
1364
  a("span", {
1358
1365
  class: "spg-color-editor__color-swatch",
1359
- style: F(e())
1366
+ style: K(e())
1360
1367
  }, null, 4),
1361
- p(s(c), {
1368
+ m(s(c), {
1362
1369
  is: "survey-string",
1363
1370
  locString: o.item.locTitle
1364
1371
  }, null, 8, ["locString"])
1365
1372
  ], 64));
1366
1373
  }
1367
- }), ct = ["disabled", "value", "placeholder"], vt = ["disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "title", "accept"], pt = ["disabled"], mt = ["for", "aria-label"], _t = /* @__PURE__ */ g({
1374
+ }), vt = ["disabled", "value", "placeholder"], pt = ["disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "title", "accept"], mt = ["disabled"], _t = ["for", "aria-label"], gt = /* @__PURE__ */ g({
1368
1375
  __name: "File",
1369
1376
  props: {
1370
1377
  question: {}
1371
1378
  },
1372
1379
  setup(u) {
1373
- const t = I();
1374
- return H(u, t), (o, n) => (l(), r("div", {
1380
+ const t = E();
1381
+ return H(u, t), (o, n) => (l(), d("div", {
1375
1382
  class: _(o.question.cssClasses.root),
1376
1383
  onDragenter: n[5] || (n[5] = (...i) => o.question.onDragEnter && o.question.onDragEnter(...i)),
1377
1384
  onDragover: n[6] || (n[6] = (...i) => o.question.onDragOver && o.question.onDragOver(...i)),
@@ -1389,7 +1396,7 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1389
1396
  onChange: n[0] || (n[0] = (...i) => o.question.onInputChange && o.question.onInputChange(...i)),
1390
1397
  onBlur: n[1] || (n[1] = (...i) => o.question.onInputBlur && o.question.onInputBlur(...i)),
1391
1398
  placeholder: o.question.renderedPlaceholder
1392
- }, null, 42, ct),
1399
+ }, null, 42, vt),
1393
1400
  a("input", {
1394
1401
  type: "file",
1395
1402
  disabled: o.question.isInputReadOnly,
@@ -1404,51 +1411,51 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1404
1411
  tabindex: -1,
1405
1412
  accept: o.question.acceptedTypes,
1406
1413
  onChange: n[2] || (n[2] = (...i) => o.question.onFileInputChange && o.question.onFileInputChange(...i))
1407
- }, null, 42, vt),
1414
+ }, null, 42, pt),
1408
1415
  a("div", {
1409
1416
  class: _(o.question.cssClasses.buttonsContainer)
1410
1417
  }, [
1411
- h((l(), r("button", {
1418
+ h((l(), d("button", {
1412
1419
  type: "button",
1413
1420
  class: _(o.question.cssClasses.clearButton),
1414
1421
  disabled: o.question.getIsClearButtonDisabled(),
1415
1422
  onClick: n[3] || (n[3] = (...i) => o.question.doClean && o.question.doClean(...i))
1416
1423
  }, [
1417
- p(s(c), {
1424
+ m(s(c), {
1418
1425
  is: "sv-svg-icon",
1419
1426
  iconName: o.question.cssClasses.clearButtonIcon,
1420
1427
  size: "auto",
1421
1428
  title: o.question.clearButtonCaption
1422
1429
  }, null, 8, ["iconName", "title"])
1423
- ], 10, pt)), [
1430
+ ], 10, mt)), [
1424
1431
  [s(N)]
1425
1432
  ]),
1426
- h((l(), r("label", {
1433
+ h((l(), d("label", {
1427
1434
  role: "button",
1428
1435
  class: _(o.question.getChooseButtonCss()),
1429
1436
  for: o.question.inputId,
1430
1437
  "aria-label": o.question.chooseButtonCaption,
1431
1438
  onClick: n[4] || (n[4] = (...i) => o.question.chooseFiles && o.question.chooseFiles(...i))
1432
1439
  }, [
1433
- p(s(c), {
1440
+ m(s(c), {
1434
1441
  is: "sv-svg-icon",
1435
1442
  iconName: o.question.cssClasses.chooseButtonIcon,
1436
1443
  size: "auto",
1437
1444
  title: o.question.chooseButtonCaption
1438
1445
  }, null, 8, ["iconName", "title"])
1439
- ], 10, mt)), [
1446
+ ], 10, _t)), [
1440
1447
  [s(N)]
1441
1448
  ])
1442
1449
  ], 2)
1443
1450
  ], 34));
1444
1451
  }
1445
- }), gt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], bt = ["disabled"], yt = ["disabled"], ht = /* @__PURE__ */ g({
1452
+ }), bt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], yt = ["disabled"], ht = ["disabled"], Ct = /* @__PURE__ */ g({
1446
1453
  __name: "SpinEditor",
1447
1454
  props: {
1448
1455
  question: {}
1449
1456
  },
1450
1457
  setup(u) {
1451
- return H(u, I()), (e, o) => (l(), r("div", {
1458
+ return H(u, E()), (e, o) => (l(), d("div", {
1452
1459
  class: _(e.question.cssClasses.root),
1453
1460
  onKeydown: o[16] || (o[16] = (...n) => e.question.onKeyDown && e.question.onKeyDown(...n))
1454
1461
  }, [
@@ -1469,7 +1476,7 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1469
1476
  onBeforeinput: o[5] || (o[5] = (...n) => e.question.onBeforeInput && e.question.onBeforeInput(...n)),
1470
1477
  value: e.question.renderedValue,
1471
1478
  class: _(e.question.cssClasses.control)
1472
- }, null, 42, gt),
1479
+ }, null, 42, bt),
1473
1480
  a("span", {
1474
1481
  class: _(e.question.cssClasses.buttonsContainer)
1475
1482
  }, [
@@ -1483,12 +1490,12 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1483
1490
  onFocus: o[10] || (o[10] = (...n) => e.question.onFocus && e.question.onFocus(...n)),
1484
1491
  tabindex: "-1"
1485
1492
  }, [
1486
- p(s(c), {
1493
+ m(s(c), {
1487
1494
  is: "sv-svg-icon",
1488
1495
  iconName: e.question.cssClasses.decreaseButtonIcon,
1489
1496
  size: "auto"
1490
1497
  }, null, 8, ["iconName"])
1491
- ], 42, bt),
1498
+ ], 42, yt),
1492
1499
  a("button", {
1493
1500
  disabled: e.question.isInputReadOnly,
1494
1501
  class: _(e.question.cssClasses.arrowButton),
@@ -1499,12 +1506,12 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1499
1506
  onFocus: o[15] || (o[15] = (...n) => e.question.onFocus && e.question.onFocus(...n)),
1500
1507
  tabindex: "-1"
1501
1508
  }, [
1502
- p(s(c), {
1509
+ m(s(c), {
1503
1510
  is: "sv-svg-icon",
1504
1511
  iconName: e.question.cssClasses.increaseButtonIcon,
1505
1512
  size: "auto"
1506
1513
  }, null, 8, ["iconName"])
1507
- ], 42, yt)
1514
+ ], 42, ht)
1508
1515
  ], 2)
1509
1516
  ], 34));
1510
1517
  }
@@ -1515,10 +1522,10 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1515
1522
  },
1516
1523
  setup(u) {
1517
1524
  const t = u, e = () => "survey-" + t.question.wrappedQuestionTemplate;
1518
- return H(t, I()), (o, n) => (l(), r("div", {
1525
+ return H(t, E()), (o, n) => (l(), d("div", {
1519
1526
  class: _(o.question.getRootClass())
1520
1527
  }, [
1521
- p(s(c), {
1528
+ m(s(c), {
1522
1529
  is: e(),
1523
1530
  question: o.question
1524
1531
  }, null, 8, ["is", "question"]),
@@ -1528,7 +1535,7 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1528
1535
  onClick: n[0] || (n[0] = (...i) => o.question.resetValueAdorner.resetValue && o.question.resetValueAdorner.resetValue(...i)),
1529
1536
  title: o.question.resetValueAdorner.caption
1530
1537
  }, [
1531
- p(s(c), {
1538
+ m(s(c), {
1532
1539
  is: "sv-svg-icon",
1533
1540
  iconName: o.question.cssClasses.resetButtonIcon,
1534
1541
  size: "auto"
@@ -1536,32 +1543,32 @@ const ot = /* @__PURE__ */ Xs(Ys, [["render", et]]), st = /* @__PURE__ */ g({
1536
1543
  ], 10, qt)
1537
1544
  ], 2));
1538
1545
  }
1539
- }), Ct = ["aria-required", "aria-label", "aria-invalid", "aria-errormessage"], wt = { class: "spg-boolean-switch__caption" }, kt = { class: "spg-boolean-switch__title" };
1540
- ue.Instance.registerRenderer(
1546
+ }), kt = ["aria-required", "aria-label", "aria-invalid", "aria-errormessage"], ft = { class: "spg-boolean-switch__caption" }, wt = { class: "spg-boolean-switch__title" };
1547
+ ce.Instance.registerRenderer(
1541
1548
  "boolean",
1542
1549
  "switch",
1543
1550
  "sv-boolean-switch"
1544
1551
  );
1545
- const ft = /* @__PURE__ */ g({
1552
+ const $t = /* @__PURE__ */ g({
1546
1553
  inheritAttrs: !1,
1547
1554
  __name: "BooleanSwitch",
1548
1555
  props: {
1549
1556
  question: {}
1550
1557
  },
1551
1558
  setup(u) {
1552
- const t = u, e = I(null);
1559
+ const t = u, e = E(null);
1553
1560
  return H(t, e), (o, n) => {
1554
1561
  const i = x("key2click");
1555
- return l(), r("div", {
1562
+ return l(), d("div", {
1556
1563
  class: "spg-boolean-switch",
1557
1564
  role: "checkbox",
1558
1565
  "aria-required": o.question.ariaRequired,
1559
1566
  "aria-label": o.question.ariaLabel,
1560
1567
  "aria-invalid": o.question.ariaInvalid,
1561
1568
  "aria-errormessage": o.question.ariaErrormessage,
1562
- onClick: n[0] || (n[0] = (d) => o.question.value = !o.question.value)
1569
+ onClick: n[0] || (n[0] = (r) => o.question.value = !o.question.value)
1563
1570
  }, [
1564
- h((l(), r("div", {
1571
+ h((l(), d("div", {
1565
1572
  class: _(["spg-boolean-switch__button", o.question.value ? "spg-boolean-switch__button--checked" : ""]),
1566
1573
  tabindex: "0"
1567
1574
  }, n[1] || (n[1] = [
@@ -1574,131 +1581,131 @@ const ft = /* @__PURE__ */ g({
1574
1581
  ]), 2)), [
1575
1582
  [i, { disableTabStop: !0 }]
1576
1583
  ]),
1577
- a("div", wt, [
1578
- a("div", kt, [
1579
- p(s(c), {
1584
+ a("div", ft, [
1585
+ a("div", wt, [
1586
+ m(s(c), {
1580
1587
  is: "survey-string",
1581
1588
  locString: o.question.locTitle
1582
1589
  }, null, 8, ["locString"])
1583
1590
  ])
1584
1591
  ])
1585
- ], 8, Ct);
1592
+ ], 8, kt);
1586
1593
  };
1587
1594
  }
1588
- }), $t = { class: "svc-string-editor__content" }, Tt = { class: "svc-string-editor__input" }, Dt = ["textContent", "aria-placeholder", "contenteditable"], Nt = ["aria-placeholder", "contenteditable", "innerHTML"], Mt = {
1595
+ }), Tt = { class: "svc-string-editor__content" }, Dt = { class: "svc-string-editor__input" }, Nt = ["textContent", "aria-placeholder", "contenteditable"], Mt = ["aria-placeholder", "contenteditable", "innerHTML"], St = {
1589
1596
  key: 0,
1590
1597
  class: "svc-string-editor__error"
1591
- }, St = /* @__PURE__ */ g({
1598
+ }, It = /* @__PURE__ */ g({
1592
1599
  __name: "StringEditor",
1593
1600
  props: {
1594
1601
  locString: {}
1595
1602
  },
1596
1603
  setup(u) {
1597
- const t = u, e = w(() => t.locString.locStr), o = w(() => t.locString.creator), n = I(), i = I(), d = z(
1604
+ const t = u, e = k(() => t.locString.locStr), o = k(() => t.locString.creator), n = E(), i = E(), r = z(
1598
1605
  () => {
1599
- const q = new $e(
1606
+ const C = new Te(
1600
1607
  e.value,
1601
1608
  o.value
1602
1609
  );
1603
- return q.setLocString(e.value), q.blurEditor = () => {
1610
+ return C.setLocString(e.value), C.blurEditor = () => {
1604
1611
  n.value && (n.value.blur(), n.value.spellcheck = !1);
1605
- }, q.getEditorElement = () => n.value, setTimeout(() => q.afterRender()), q;
1612
+ }, C.getEditorElement = () => n.value, setTimeout(() => C.afterRender()), C;
1606
1613
  },
1607
1614
  [() => o.value, () => e.value],
1608
- (q) => {
1609
- q && (q.blurEditor = void 0, q.getEditorElement = void 0, q.dispose());
1615
+ (C) => {
1616
+ C && (C.blurEditor = void 0, C.getEditorElement = void 0, C.dispose());
1610
1617
  }
1611
- ), v = w(() => {
1612
- var q;
1613
- return (q = d.value) == null ? void 0 : q.errorText;
1614
- }), b = w(() => {
1615
- var q;
1616
- return (q = d.value) == null ? void 0 : q.className(e.value.renderedHtml);
1617
- }), y = w(() => {
1618
- var q;
1619
- return (q = d.value) == null ? void 0 : q.placeholder;
1620
- }), D = w(() => {
1621
- var q;
1622
- return (q = d.value) == null ? void 0 : q.contentEditable;
1623
- }), O = w(() => {
1624
- var q;
1625
- return (q = d.value) == null ? void 0 : q.characterCounter;
1626
- }), P = w(
1618
+ ), p = k(() => {
1619
+ var C;
1620
+ return (C = r.value) == null ? void 0 : C.errorText;
1621
+ }), b = k(() => {
1622
+ var C;
1623
+ return (C = r.value) == null ? void 0 : C.className(e.value.renderedHtml);
1624
+ }), y = k(() => {
1625
+ var C;
1626
+ return (C = r.value) == null ? void 0 : C.placeholder;
1627
+ }), D = k(() => {
1628
+ var C;
1629
+ return (C = r.value) == null ? void 0 : C.contentEditable;
1630
+ }), O = k(() => {
1631
+ var C;
1632
+ return (C = r.value) == null ? void 0 : C.characterCounter;
1633
+ }), P = k(
1627
1634
  () => {
1628
- var q;
1629
- return (q = d.value) == null ? void 0 : q.showCharacterCounter;
1635
+ var C;
1636
+ return (C = r.value) == null ? void 0 : C.showCharacterCounter;
1630
1637
  }
1631
- ), A = w(
1638
+ ), A = k(
1632
1639
  () => {
1633
- var q;
1634
- return (q = d.value) == null ? void 0 : q.getCharacterCounterClass;
1640
+ var C;
1641
+ return (C = r.value) == null ? void 0 : C.getCharacterCounterClass;
1635
1642
  }
1636
- ), j = (q) => {
1637
- var f, E;
1638
- return n.value && (n.value.spellcheck = !1), e.value.__isEditing = !1, (f = d.value) == null || f.onBlur(q), (E = d.value) == null ? void 0 : E.errorText;
1639
- }, U = (q) => {
1640
- var f;
1641
- (f = d.value) == null || f.onFocus(q);
1642
- }, pe = (q) => {
1643
- var f;
1644
- (f = d.value) == null || f.onPaste(q);
1645
- }, ne = (q) => {
1646
- var f, E;
1647
- (f = n.value) == null || f.focus(), e.value.__isEditing = !0, (E = d.value) == null || E.onClick(q);
1643
+ ), j = (C) => {
1644
+ var w, I;
1645
+ return n.value && (n.value.spellcheck = !1), e.value.__isEditing = !1, (w = r.value) == null || w.onBlur(C), (I = r.value) == null ? void 0 : I.errorText;
1646
+ }, U = (C) => {
1647
+ var w;
1648
+ (w = r.value) == null || w.onFocus(C);
1649
+ }, me = (C) => {
1650
+ var w;
1651
+ (w = r.value) == null || w.onPaste(C);
1652
+ }, ne = (C) => {
1653
+ var w, I;
1654
+ (w = n.value) == null || w.focus(), e.value.__isEditing = !0, (I = r.value) == null || I.onClick(C);
1648
1655
  }, J = () => {
1649
1656
  i.value = e.value.renderedHtml;
1650
- }, me = G(
1657
+ }, _e = G(
1651
1658
  () => e.value,
1652
- (q, f) => {
1653
- f && q.onStringChanged.remove(J), q && (q.onStringChanged.add(J), J());
1659
+ (C, w) => {
1660
+ w && C.onStringChanged.remove(J), C && (C.onStringChanged.add(J), J());
1654
1661
  },
1655
1662
  {
1656
1663
  immediate: !0
1657
1664
  }
1658
1665
  );
1659
1666
  return B(() => {
1660
- var q;
1661
- e.value.__isEditing && ((q = n.value) == null || q.focus());
1662
- }), K(() => {
1663
- me(), e.value.onStringChanged.remove(J);
1664
- }), (q, f) => (l(), r("span", {
1667
+ var C;
1668
+ e.value.__isEditing && ((C = n.value) == null || C.focus());
1669
+ }), L(() => {
1670
+ _e(), e.value.onStringChanged.remove(J);
1671
+ }), (C, w) => (l(), d("span", {
1665
1672
  class: _(b.value)
1666
1673
  }, [
1667
- a("span", $t, [
1668
- f[11] || (f[11] = a("div", { class: "svc-string-editor__border svc-string-editor__border--hover" }, null, -1)),
1669
- f[12] || (f[12] = a("div", { class: "svc-string-editor__border svc-string-editor__border--focus" }, null, -1)),
1670
- a("span", Tt, [
1671
- e.value.hasHtml ? m("", !0) : (l(), r("span", {
1674
+ a("span", Tt, [
1675
+ w[11] || (w[11] = a("div", { class: "svc-string-editor__border svc-string-editor__border--hover" }, null, -1)),
1676
+ w[12] || (w[12] = a("div", { class: "svc-string-editor__border svc-string-editor__border--focus" }, null, -1)),
1677
+ a("span", Dt, [
1678
+ e.value.hasHtml ? v("", !0) : (l(), d("span", {
1672
1679
  key: 0,
1673
1680
  role: "textbox",
1674
1681
  class: "sv-string-editor",
1675
1682
  spellcheck: "false",
1676
1683
  onFocus: U,
1677
- onPaste: pe,
1684
+ onPaste: me,
1678
1685
  onBlur: j,
1679
- onInput: f[0] || (f[0] = (...E) => {
1686
+ onInput: w[0] || (w[0] = (...I) => {
1680
1687
  var M, S;
1681
- return ((M = s(d)) == null ? void 0 : M.onInput) && ((S = s(d)) == null ? void 0 : S.onInput(...E));
1688
+ return ((M = s(r)) == null ? void 0 : M.onInput) && ((S = s(r)) == null ? void 0 : S.onInput(...I));
1682
1689
  }),
1683
- onKeydown: f[1] || (f[1] = (...E) => {
1690
+ onKeydown: w[1] || (w[1] = (...I) => {
1684
1691
  var M, S;
1685
- return ((M = s(d)) == null ? void 0 : M.onKeyDown) && ((S = s(d)) == null ? void 0 : S.onKeyDown(...E));
1692
+ return ((M = s(r)) == null ? void 0 : M.onKeyDown) && ((S = s(r)) == null ? void 0 : S.onKeyDown(...I));
1686
1693
  }),
1687
- onKeyup: f[2] || (f[2] = (...E) => {
1694
+ onKeyup: w[2] || (w[2] = (...I) => {
1688
1695
  var M, S;
1689
- return ((M = s(d)) == null ? void 0 : M.onKeyUp) && ((S = s(d)) == null ? void 0 : S.onKeyUp(...E));
1696
+ return ((M = s(r)) == null ? void 0 : M.onKeyUp) && ((S = s(r)) == null ? void 0 : S.onKeyUp(...I));
1690
1697
  }),
1691
- onCompositionstart: f[3] || (f[3] = (...E) => {
1698
+ onCompositionstart: w[3] || (w[3] = (...I) => {
1692
1699
  var M, S;
1693
- return ((M = s(d)) == null ? void 0 : M.onCompositionStart) && ((S = s(d)) == null ? void 0 : S.onCompositionStart(...E));
1700
+ return ((M = s(r)) == null ? void 0 : M.onCompositionStart) && ((S = s(r)) == null ? void 0 : S.onCompositionStart(...I));
1694
1701
  }),
1695
- onCompositionend: f[4] || (f[4] = (...E) => {
1702
+ onCompositionend: w[4] || (w[4] = (...I) => {
1696
1703
  var M, S;
1697
- return ((M = s(d)) == null ? void 0 : M.onCompositionEnd) && ((S = s(d)) == null ? void 0 : S.onCompositionEnd(...E));
1704
+ return ((M = s(r)) == null ? void 0 : M.onCompositionEnd) && ((S = s(r)) == null ? void 0 : S.onCompositionEnd(...I));
1698
1705
  }),
1699
- onMouseup: f[5] || (f[5] = (...E) => {
1706
+ onMouseup: w[5] || (w[5] = (...I) => {
1700
1707
  var M, S;
1701
- return ((M = s(d)) == null ? void 0 : M.onMouseUp) && ((S = s(d)) == null ? void 0 : S.onMouseUp(...E));
1708
+ return ((M = s(r)) == null ? void 0 : M.onMouseUp) && ((S = s(r)) == null ? void 0 : S.onMouseUp(...I));
1702
1709
  }),
1703
1710
  onClick: ne,
1704
1711
  textContent: i.value,
@@ -1706,33 +1713,33 @@ const ft = /* @__PURE__ */ g({
1706
1713
  contenteditable: D.value,
1707
1714
  ref_key: "root",
1708
1715
  ref: n
1709
- }, null, 40, Dt)),
1710
- e.value.hasHtml ? (l(), r("span", {
1716
+ }, null, 40, Nt)),
1717
+ e.value.hasHtml ? (l(), d("span", {
1711
1718
  key: 1,
1712
1719
  role: "textbox",
1713
1720
  class: "sv-string-editor sv-string-editor--html",
1714
1721
  spellcheck: "false",
1715
1722
  onFocus: U,
1716
1723
  onBlur: j,
1717
- onKeydown: f[6] || (f[6] = (...E) => {
1724
+ onKeydown: w[6] || (w[6] = (...I) => {
1718
1725
  var M, S;
1719
- return ((M = s(d)) == null ? void 0 : M.onKeyDown) && ((S = s(d)) == null ? void 0 : S.onKeyDown(...E));
1726
+ return ((M = s(r)) == null ? void 0 : M.onKeyDown) && ((S = s(r)) == null ? void 0 : S.onKeyDown(...I));
1720
1727
  }),
1721
- onKeyup: f[7] || (f[7] = (...E) => {
1728
+ onKeyup: w[7] || (w[7] = (...I) => {
1722
1729
  var M, S;
1723
- return ((M = s(d)) == null ? void 0 : M.onKeyUp) && ((S = s(d)) == null ? void 0 : S.onKeyUp(...E));
1730
+ return ((M = s(r)) == null ? void 0 : M.onKeyUp) && ((S = s(r)) == null ? void 0 : S.onKeyUp(...I));
1724
1731
  }),
1725
- onCompositionstart: f[8] || (f[8] = (...E) => {
1732
+ onCompositionstart: w[8] || (w[8] = (...I) => {
1726
1733
  var M, S;
1727
- return ((M = s(d)) == null ? void 0 : M.onCompositionStart) && ((S = s(d)) == null ? void 0 : S.onCompositionStart(...E));
1734
+ return ((M = s(r)) == null ? void 0 : M.onCompositionStart) && ((S = s(r)) == null ? void 0 : S.onCompositionStart(...I));
1728
1735
  }),
1729
- onCompositionend: f[9] || (f[9] = (...E) => {
1736
+ onCompositionend: w[9] || (w[9] = (...I) => {
1730
1737
  var M, S;
1731
- return ((M = s(d)) == null ? void 0 : M.onCompositionEnd) && ((S = s(d)) == null ? void 0 : S.onCompositionEnd(...E));
1738
+ return ((M = s(r)) == null ? void 0 : M.onCompositionEnd) && ((S = s(r)) == null ? void 0 : S.onCompositionEnd(...I));
1732
1739
  }),
1733
- onMouseup: f[10] || (f[10] = (...E) => {
1740
+ onMouseup: w[10] || (w[10] = (...I) => {
1734
1741
  var M, S;
1735
- return ((M = s(d)) == null ? void 0 : M.onMouseUp) && ((S = s(d)) == null ? void 0 : S.onMouseUp(...E));
1742
+ return ((M = s(r)) == null ? void 0 : M.onMouseUp) && ((S = s(r)) == null ? void 0 : S.onMouseUp(...I));
1736
1743
  }),
1737
1744
  onClick: ne,
1738
1745
  "aria-placeholder": y.value,
@@ -1740,99 +1747,98 @@ const ft = /* @__PURE__ */ g({
1740
1747
  innerHTML: i.value,
1741
1748
  ref_key: "root",
1742
1749
  ref: n
1743
- }, null, 40, Nt)) : m("", !0),
1744
- P.value ? (l(), C(s(c), {
1750
+ }, null, 40, Mt)) : v("", !0),
1751
+ P.value ? (l(), q(s(c), {
1745
1752
  key: 2,
1746
1753
  is: "sv-character-counter",
1747
1754
  counter: O.value,
1748
1755
  remainingCharacterCounter: A.value
1749
- }, null, 8, ["counter", "remainingCharacterCounter"])) : m("", !0)
1756
+ }, null, 8, ["counter", "remainingCharacterCounter"])) : v("", !0)
1750
1757
  ])
1751
1758
  ]),
1752
- v.value ? (l(), r("span", Mt, k(v.value), 1)) : m("", !0)
1759
+ p.value ? (l(), d("span", St, f(p.value), 1)) : v("", !0)
1753
1760
  ], 2));
1754
1761
  }
1755
1762
  }), Et = {
1756
1763
  key: 0,
1757
1764
  class: "svc-toolbox__search-container"
1758
- }, It = {
1765
+ }, Bt = {
1759
1766
  key: 1,
1760
1767
  class: "svc-toolbox__placeholder"
1761
- }, Bt = {
1768
+ }, Pt = {
1762
1769
  key: 1,
1763
1770
  class: "svc-toolbox__category"
1764
- }, Pt = /* @__PURE__ */ g({
1771
+ }, Rt = /* @__PURE__ */ g({
1765
1772
  __name: "AdaptiveToolbox",
1766
1773
  props: {
1767
1774
  model: {}
1768
1775
  },
1769
1776
  setup(u) {
1770
- const t = u, e = w(() => t.model.toolbox), o = I();
1777
+ const t = u, e = k(() => t.model.toolbox), o = E();
1771
1778
  T(() => e.value);
1772
1779
  let n;
1773
1780
  B(() => {
1774
- e.value.setRootElement(o.value), n = new Ce(
1781
+ e.value.setRootElement(o.value), n = new ke(
1775
1782
  e.value.containerElement,
1776
- e.value,
1777
- e.value.itemSelector
1783
+ e.value
1778
1784
  );
1779
- }), K(() => {
1785
+ }), L(() => {
1780
1786
  n == null || n.dispose(), e.value.setRootElement(void 0);
1781
1787
  });
1782
- const i = w(() => e.value.renderedActions);
1783
- return (d, v) => (l(), r("div", {
1788
+ const i = k(() => e.value.renderedActions);
1789
+ return (r, p) => (l(), d("div", {
1784
1790
  class: _(e.value.classNames),
1785
1791
  ref_key: "root",
1786
1792
  ref: o
1787
1793
  }, [
1788
1794
  a("div", {
1789
- onFocusout: v[0] || (v[0] = (b) => e.value.focusOut(b)),
1795
+ onFocusout: p[0] || (p[0] = (b) => e.value.focusOut(b)),
1790
1796
  class: "svc-toolbox__panel"
1791
1797
  }, [
1792
- e.value.showSearch ? (l(), r("div", Et, [
1793
- e.value.isCompactRendered ? (l(), C(s(c), {
1798
+ e.value.showSearch ? (l(), d("div", Et, [
1799
+ e.value.isCompactRendered ? (l(), q(s(c), {
1794
1800
  is: "svc-toolbox-tool",
1795
- creator: d.model,
1801
+ creator: r.model,
1796
1802
  key: "searchitem",
1797
1803
  item: e.value.searchItem,
1798
1804
  parentModel: e.value,
1799
1805
  isCompact: e.value.isCompactRendered
1800
- }, null, 8, ["creator", "item", "parentModel", "isCompact"])) : m("", !0),
1801
- p(s(c), {
1806
+ }, null, 8, ["creator", "item", "parentModel", "isCompact"])) : v("", !0),
1807
+ m(s(c), {
1802
1808
  is: "svc-search",
1803
1809
  model: e.value.searchManager
1804
1810
  }, null, 8, ["model"]),
1805
- v[1] || (v[1] = a("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1))
1806
- ])) : m("", !0),
1807
- e.value.showPlaceholder ? (l(), r("div", It, k(e.value.toolboxNoResultsFound), 1)) : m("", !0),
1808
- p(X, null, {
1811
+ p[1] || (p[1] = a("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1))
1812
+ ])) : v("", !0),
1813
+ e.value.showPlaceholder ? (l(), d("div", Bt, f(e.value.toolboxNoResultsFound), 1)) : v("", !0),
1814
+ m(X, null, {
1809
1815
  default: Y(() => [
1810
- e.value.showInSingleCategory ? m("", !0) : (l(!0), r($, { key: 0 }, R(e.value.categories, (b, y) => (l(), C(s(c), {
1816
+ e.value.showInSingleCategory ? v("", !0) : (l(!0), d($, { key: 0 }, R(e.value.categories, (b, y) => (l(), q(s(c), {
1811
1817
  is: "svc-toolbox-category",
1812
1818
  key: y,
1813
1819
  category: b,
1814
1820
  toolbox: e.value
1815
1821
  }, null, 8, ["category", "toolbox"]))), 128)),
1816
- e.value.showInSingleCategory ? (l(), r("div", Bt, [
1817
- (l(!0), r($, null, R(i.value, (b, y) => (l(), C(s(c), {
1818
- key: y,
1822
+ e.value.showInSingleCategory ? (l(), d("div", Pt, [
1823
+ (l(!0), d($, null, R(i.value, (b) => (l(), q(s(c), {
1824
+ key: b.renderedId,
1819
1825
  is: "svc-toolbox-tool",
1820
- creator: d.model,
1826
+ creator: r.model,
1821
1827
  item: b,
1822
1828
  parentModel: e.value,
1823
1829
  isCompact: e.value.isCompactRendered
1824
1830
  }, null, 8, ["creator", "item", "parentModel", "isCompact"]))), 128))
1825
- ])) : m("", !0)
1831
+ ])) : v("", !0)
1826
1832
  ]),
1827
1833
  _: 1
1828
1834
  })
1829
1835
  ], 32)
1830
1836
  ], 2));
1831
1837
  }
1832
- }), Rt = {
1838
+ }), Vt = {
1833
1839
  key: 0,
1834
1840
  class: "svc-toolbox__category-separator"
1835
- }, Vt = /* @__PURE__ */ g({
1841
+ }, zt = /* @__PURE__ */ g({
1836
1842
  __name: "ToolboxTool",
1837
1843
  props: {
1838
1844
  creator: {},
@@ -1842,44 +1848,54 @@ const ft = /* @__PURE__ */ g({
1842
1848
  },
1843
1849
  setup(u) {
1844
1850
  const t = u, e = z(
1845
- () => new Te(
1851
+ () => new De(
1846
1852
  t.item,
1847
1853
  t.creator,
1848
1854
  t.parentModel
1849
1855
  ),
1850
1856
  [() => t.creator, () => t.item],
1851
- (o) => {
1852
- o.dispose();
1857
+ (n) => {
1858
+ n.dispose();
1853
1859
  }
1854
- );
1855
- return T(() => t.item), (o, n) => {
1856
- var i;
1857
- return l(), r("div", {
1858
- class: _(o.item.css)
1860
+ ), o = E();
1861
+ return B(() => {
1862
+ const n = t.item;
1863
+ n.updateModeCallback = (i, r) => {
1864
+ n.mode = i, de(() => r(i, o.value));
1865
+ }, n.afterRender();
1866
+ }), L(() => {
1867
+ const n = t.item;
1868
+ n.updateModeCallback = void 0;
1869
+ }), T(() => t.item), (n, i) => {
1870
+ var r;
1871
+ return l(), d("div", {
1872
+ class: _(n.item.css),
1873
+ ref_key: "root",
1874
+ ref: o
1859
1875
  }, [
1860
- o.item.needSeparator && !o.creator.toolbox.showCategoryTitles ? (l(), r("div", Rt)) : m("", !0),
1876
+ n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (l(), d("div", Vt)) : v("", !0),
1861
1877
  a("div", {
1862
1878
  class: "svc-toolbox__tool-content sv-action__content",
1863
- onPointerdown: n[0] || (n[0] = (...d) => {
1864
- var v, b;
1865
- return ((v = s(e)) == null ? void 0 : v.onPointerDown) && ((b = s(e)) == null ? void 0 : b.onPointerDown(...d));
1879
+ onPointerdown: i[0] || (i[0] = (...p) => {
1880
+ var b, y;
1881
+ return ((b = s(e)) == null ? void 0 : b.onPointerDown) && ((y = s(e)) == null ? void 0 : y.onPointerDown(...p));
1866
1882
  })
1867
1883
  }, [
1868
- p(s(c), {
1884
+ m(s(c), {
1869
1885
  viewModel: s(e),
1870
- is: (i = s(e)) == null ? void 0 : i.itemComponent,
1871
- item: o.item,
1872
- creator: o.creator,
1873
- isCompact: o.isCompact
1886
+ is: (r = s(e)) == null ? void 0 : r.itemComponent,
1887
+ item: n.item,
1888
+ creator: n.creator,
1889
+ isCompact: n.isCompact
1874
1890
  }, null, 8, ["viewModel", "is", "item", "creator", "isCompact"])
1875
1891
  ], 32)
1876
1892
  ], 2);
1877
1893
  };
1878
1894
  }
1879
- }), zt = ["aria-label", "title"], At = { class: "svc-toolbox__item-container" }, Lt = {
1895
+ }), At = ["aria-label", "title"], Lt = { class: "svc-toolbox__item-container" }, Ft = {
1880
1896
  key: 0,
1881
1897
  class: "svc-toolbox__item-title"
1882
- }, Ft = /* @__PURE__ */ g({
1898
+ }, Kt = /* @__PURE__ */ g({
1883
1899
  __name: "ToolboxItem",
1884
1900
  props: {
1885
1901
  creator: {},
@@ -1888,43 +1904,43 @@ const ft = /* @__PURE__ */ g({
1888
1904
  viewModel: {}
1889
1905
  },
1890
1906
  setup(u) {
1891
- return (t, e) => (l(), r($, null, [
1892
- h((l(), r("div", {
1907
+ return (t, e) => (l(), d($, null, [
1908
+ h((l(), d("div", {
1893
1909
  class: _(["svc-toolbox__item", t.item.renderedCss]),
1894
1910
  role: "button",
1895
1911
  "aria-label": t.item.tooltip,
1896
1912
  title: t.item.tooltip,
1897
1913
  onClick: e[0] || (e[0] = (o) => t.viewModel.click(o))
1898
1914
  }, [
1899
- a("span", At, [
1900
- t.item.iconName ? (l(), C(s(c), {
1915
+ a("span", Lt, [
1916
+ t.item.iconName ? (l(), q(s(c), {
1901
1917
  key: 0,
1902
1918
  is: "sv-svg-icon",
1903
1919
  iconName: t.item.iconName,
1904
1920
  size: "auto",
1905
1921
  class: "svc-toolbox__item-icon"
1906
- }, null, 8, ["iconName"])) : m("", !0)
1922
+ }, null, 8, ["iconName"])) : v("", !0)
1907
1923
  ]),
1908
- t.isCompact ? m("", !0) : (l(), r("span", Lt, k(t.item.title), 1))
1909
- ], 10, zt)), [
1924
+ t.isCompact ? v("", !0) : (l(), d("span", Ft, f(t.item.title), 1))
1925
+ ], 10, At)), [
1910
1926
  [s(N)]
1911
1927
  ]),
1912
- t.isCompact ? (l(), r("span", {
1928
+ t.isCompact ? (l(), d("span", {
1913
1929
  key: 0,
1914
1930
  class: "svc-toolbox__item-banner",
1915
1931
  onClick: e[1] || (e[1] = (o) => t.viewModel.click(o))
1916
1932
  }, [
1917
- p(s(c), {
1933
+ m(s(c), {
1918
1934
  is: "sv-svg-icon",
1919
1935
  iconName: t.item.iconName,
1920
1936
  size: 24,
1921
1937
  class: "svc-toolbox__item-icon"
1922
1938
  }, null, 8, ["iconName"]),
1923
- a("span", null, k(t.item.title), 1)
1924
- ])) : m("", !0)
1939
+ a("span", null, f(t.item.title), 1)
1940
+ ])) : v("", !0)
1925
1941
  ], 64));
1926
1942
  }
1927
- }), Kt = /* @__PURE__ */ g({
1943
+ }), Ut = /* @__PURE__ */ g({
1928
1944
  __name: "ToolboxItemGroup",
1929
1945
  props: {
1930
1946
  creator: {},
@@ -1938,8 +1954,8 @@ const ft = /* @__PURE__ */ g({
1938
1954
  }, o = (n) => {
1939
1955
  t.viewModel.onMouseLeave(t.item, n);
1940
1956
  };
1941
- return (n, i) => (l(), r($, null, [
1942
- p(s(c), {
1957
+ return (n, i) => (l(), d($, null, [
1958
+ m(s(c), {
1943
1959
  is: "svc-toolbox-item",
1944
1960
  viewModel: n.viewModel,
1945
1961
  item: n.item,
@@ -1951,22 +1967,22 @@ const ft = /* @__PURE__ */ g({
1951
1967
  onMouseover: e,
1952
1968
  onMouseleave: o
1953
1969
  }, [
1954
- p(s(c), {
1970
+ m(s(c), {
1955
1971
  is: "sv-svg-icon",
1956
1972
  iconName: n.item.subitemsButtonIcon,
1957
1973
  size: "auto"
1958
1974
  }, null, 8, ["iconName"]),
1959
- p(s(c), {
1975
+ m(s(c), {
1960
1976
  is: "sv-popup",
1961
1977
  model: n.item.popupModel
1962
1978
  }, null, 8, ["model"])
1963
1979
  ], 32)
1964
1980
  ], 64));
1965
1981
  }
1966
- }), Ut = { class: "svc-toolbox__category-title" }, Ht = {
1982
+ }), Ht = { className: "svc-toolbox__category-header-wrapper" }, Ot = { class: "svc-toolbox__category-title" }, Qt = {
1967
1983
  key: 0,
1968
1984
  class: "svc-toolbox__category-header__controls"
1969
- }, Ot = { className: "svc-toolbox__category-header-wrapper" }, Qt = /* @__PURE__ */ g({
1985
+ }, Gt = { className: "svc-toolbox__category-header-wrapper" }, Wt = /* @__PURE__ */ g({
1970
1986
  __name: "ToolboxCategory",
1971
1987
  props: {
1972
1988
  category: {},
@@ -1974,63 +1990,65 @@ const ft = /* @__PURE__ */ g({
1974
1990
  },
1975
1991
  setup(u) {
1976
1992
  const t = u;
1977
- return T(() => t.category), (e, o) => (l(), r("div", {
1993
+ return T(() => t.category), (e, o) => (l(), d("div", {
1978
1994
  class: _(["svc-toolbox__category", {
1979
1995
  "svc-toolbox__category--collapsed": e.category.collapsed,
1980
1996
  "svc-toolbox__category--empty": e.category.empty
1981
1997
  }])
1982
1998
  }, [
1983
- h((l(), r("div", {
1984
- class: _(["svc-toolbox__category-header", {
1985
- "svc-toolbox__category-header--collapsed": e.toolbox.canCollapseCategories
1986
- }]),
1987
- onClick: o[0] || (o[0] = (n) => e.category.toggleState())
1988
- }, [
1989
- a("span", Ut, k(e.category.title), 1),
1990
- e.toolbox.canCollapseCategories ? (l(), r("div", Ht, [
1991
- a("div", Ot, [
1992
- h(p(s(c), {
1999
+ a("div", Ht, [
2000
+ h((l(), d("div", {
2001
+ class: _(["svc-toolbox__category-header", {
2002
+ "svc-toolbox__category-header--collapsed": e.toolbox.canCollapseCategories
2003
+ }]),
2004
+ onClick: o[0] || (o[0] = (n) => e.category.toggleState())
2005
+ }, [
2006
+ a("span", Ot, f(e.category.title), 1),
2007
+ e.toolbox.canCollapseCategories ? (l(), d("div", Qt, [
2008
+ a("div", Gt, [
2009
+ h(m(s(c), {
2010
+ is: "sv-svg-icon",
2011
+ iconName: "icon-arrow-down",
2012
+ class: "svc-toolbox__category-header__button svc-string-editor__button--expand",
2013
+ size: "auto"
2014
+ }, null, 512), [
2015
+ [F, e.category.collapsed]
2016
+ ])
2017
+ ]),
2018
+ h(m(s(c), {
1993
2019
  is: "sv-svg-icon",
1994
- iconName: "icon-arrow-down",
1995
- class: "svc-toolbox__category-header__button svc-string-editor__button--expand",
2020
+ iconName: "icon-arrow-up",
2021
+ class: "svc-toolbox__category-header__button svc-string-editor__button--collapse",
1996
2022
  size: "auto"
1997
2023
  }, null, 512), [
1998
- [L, e.category.collapsed]
2024
+ [F, !e.category.collapsed]
1999
2025
  ])
2000
- ]),
2001
- h(p(s(c), {
2002
- is: "sv-svg-icon",
2003
- iconName: "icon-arrow-up",
2004
- class: "svc-toolbox__category-header__button svc-string-editor__button--collapse",
2005
- size: "auto"
2006
- }, null, 512), [
2007
- [L, !e.category.collapsed]
2008
- ])
2009
- ])) : m("", !0)
2010
- ], 2)), [
2011
- [s(N)]
2026
+ ])) : v("", !0)
2027
+ ], 2)), [
2028
+ [s(N)]
2029
+ ])
2012
2030
  ]),
2013
- (l(!0), r($, null, R(e.category.items, (n, i) => (l(), C(s(c), {
2031
+ (l(!0), d($, null, R(e.category.items, (n) => (l(), q(s(c), {
2014
2032
  is: "svc-toolbox-tool",
2015
2033
  item: n,
2016
- key: i,
2034
+ key: n.renderedId,
2017
2035
  creator: e.toolbox.creator,
2018
2036
  parentModel: e.toolbox,
2019
2037
  isCompact: !1
2020
2038
  }, null, 8, ["item", "creator", "parentModel"]))), 128))
2021
2039
  ], 2));
2022
2040
  }
2023
- }), Gt = /* @__PURE__ */ g({
2041
+ }), jt = /* @__PURE__ */ g({
2024
2042
  __name: "ToolboxList",
2025
2043
  props: {
2026
2044
  model: {},
2027
2045
  creator: {}
2028
2046
  },
2029
2047
  setup(u) {
2030
- return (t, e) => (l(), r("div", {
2048
+ return (t, e) => (l(), d("div", {
2031
2049
  class: _(t.model.cssClasses.root)
2032
2050
  }, [
2033
- (l(!0), r($, null, R(t.model.renderedActions, (o, n) => (l(), C(s(c), {
2051
+ (l(!0), d($, null, R(t.model.renderedActions, (o, n) => (l(), q(s(c), {
2034
2052
  key: n,
2035
2053
  is: "svc-toolbox-tool",
2036
2054
  creator: t.creator,
@@ -2040,64 +2058,64 @@ const ft = /* @__PURE__ */ g({
2040
2058
  }, null, 8, ["creator", "item", "parentModel"]))), 128))
2041
2059
  ], 2));
2042
2060
  }
2043
- }), Wt = { class: "svc-flex-column" }, jt = { class: "svc-tab-designer_content" }, Jt = {
2061
+ }), Jt = { class: "svc-flex-column" }, Zt = { class: "svc-tab-designer_content" }, Xt = {
2044
2062
  key: 0,
2045
2063
  class: "svc-designer-header"
2046
- }, Zt = {
2064
+ }, Yt = {
2047
2065
  class: "svc-designer__placeholder-container",
2048
2066
  "data-sv-drop-target-survey-element": "newGhostPage"
2049
- }, Xt = {
2067
+ }, xt = {
2050
2068
  className: "svc-designer-placeholder-page",
2051
2069
  "data-sv-drop-target-survey-element": "newGhostPage"
2052
- }, Yt = {
2070
+ }, en = {
2053
2071
  key: 0,
2054
2072
  class: "svc-designer-header"
2055
- }, xt = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], en = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], on = {
2073
+ }, on = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], sn = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], tn = {
2056
2074
  key: 0,
2057
2075
  class: "svc-tab-designer__tools"
2058
- }, sn = {
2076
+ }, nn = {
2059
2077
  key: 0,
2060
2078
  class: "svc-tab-designer__page-navigator"
2061
- }, tn = {
2079
+ }, ln = {
2062
2080
  key: 1,
2063
2081
  class: "svc-tab-designer__toolbar"
2064
- }, nn = /* @__PURE__ */ g({
2082
+ }, an = /* @__PURE__ */ g({
2065
2083
  __name: "Designer",
2066
2084
  props: {
2067
2085
  model: {}
2068
2086
  },
2069
2087
  setup(u) {
2070
- const t = u, e = w(() => t.model.survey);
2071
- return T(() => t.model), T(() => e.value), (o, n) => (l(), r($, null, [
2072
- a("div", Wt, [
2073
- o.model.isToolboxVisible ? (l(), C(s(c), {
2088
+ const t = u, e = k(() => t.model.survey);
2089
+ return T(() => t.model), T(() => e.value), (o, n) => (l(), d($, null, [
2090
+ a("div", Jt, [
2091
+ o.model.isToolboxVisible ? (l(), q(s(c), {
2074
2092
  key: 0,
2075
2093
  is: "svc-toolbox",
2076
2094
  model: o.model.creator
2077
- }, null, 8, ["model"])) : m("", !0)
2095
+ }, null, 8, ["model"])) : v("", !0)
2078
2096
  ]),
2079
2097
  a("div", {
2080
2098
  class: _(["svc-tab-designer", o.model.getRootCss()]),
2081
2099
  onClick: n[0] || (n[0] = (...i) => o.model.clickDesigner && o.model.clickDesigner(...i))
2082
2100
  }, [
2083
- p(X, null, {
2101
+ m(X, null, {
2084
2102
  default: Y(() => [
2085
- a("div", jt, [
2086
- o.model.showPlaceholder ? (l(), r($, { key: 0 }, [
2087
- o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (l(), r("div", Jt, [
2088
- p(s(c), {
2103
+ a("div", Zt, [
2104
+ o.model.showPlaceholder ? (l(), d($, { key: 0 }, [
2105
+ o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (l(), d("div", Xt, [
2106
+ m(s(c), {
2089
2107
  is: "survey-header",
2090
2108
  survey: o.model.creator.survey
2091
2109
  }, null, 8, ["survey"])
2092
- ])) : m("", !0),
2093
- a("div", Zt, [
2094
- p(W, {
2110
+ ])) : v("", !0),
2111
+ a("div", Yt, [
2112
+ m(W, {
2095
2113
  name: "designer",
2096
2114
  placeholderTitleText: o.model.placeholderTitleText,
2097
2115
  placeholderDescriptionText: o.model.placeholderDescriptionText
2098
2116
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"]),
2099
- a("div", Xt, [
2100
- p(s(c), {
2117
+ a("div", xt, [
2118
+ m(s(c), {
2101
2119
  is: "svc-page",
2102
2120
  survey: o.model.creator.survey,
2103
2121
  creator: o.model.creator,
@@ -2106,64 +2124,64 @@ const ft = /* @__PURE__ */ g({
2106
2124
  }, null, 8, ["survey", "creator", "page"])
2107
2125
  ])
2108
2126
  ])
2109
- ], 64)) : m("", !0),
2110
- o.model.showPlaceholder ? m("", !0) : (l(), r($, { key: 1 }, [
2127
+ ], 64)) : v("", !0),
2128
+ o.model.showPlaceholder ? v("", !0) : (l(), d($, { key: 1 }, [
2111
2129
  a("div", {
2112
2130
  class: _(o.model.designerCss),
2113
- style: F([
2131
+ style: K([
2114
2132
  { maxWidth: o.model.survey.renderedWidth },
2115
2133
  o.model.surveyThemeVariables
2116
2134
  ])
2117
2135
  }, [
2118
- o.model.creator.allowEditSurveyTitle ? (l(), r("div", Yt, [
2119
- p(s(c), {
2136
+ o.model.creator.allowEditSurveyTitle ? (l(), d("div", en, [
2137
+ m(s(c), {
2120
2138
  is: "survey-header",
2121
2139
  survey: o.model.creator.survey
2122
2140
  }, null, 8, ["survey"])
2123
- ])) : m("", !0),
2124
- o.model.creator.pageEditMode !== "bypage" ? (l(!0), r($, { key: 1 }, R(o.model.pages, (i) => (l(), r("div", {
2141
+ ])) : v("", !0),
2142
+ o.model.creator.pageEditMode !== "bypage" ? (l(!0), d($, { key: 1 }, R(o.model.pages, (i) => (l(), d("div", {
2125
2143
  key: i.id,
2126
2144
  class: "svc-page",
2127
2145
  "data-sv-drop-target-survey-element": i != o.model.newPage ? i.name : "newGhostPage",
2128
2146
  "data-sv-drop-target-page": i.name
2129
2147
  }, [
2130
- p(s(c), {
2148
+ m(s(c), {
2131
2149
  is: "svc-page",
2132
2150
  survey: o.model.creator.survey,
2133
2151
  creator: o.model.creator,
2134
2152
  page: i,
2135
2153
  isGhost: i == o.model.newPage
2136
2154
  }, null, 8, ["survey", "creator", "page", "isGhost"])
2137
- ], 8, xt))), 128)) : m("", !0),
2138
- o.model.pagesController.page2Display && o.model.creator.pageEditMode === "bypage" ? (l(), r("div", {
2155
+ ], 8, on))), 128)) : v("", !0),
2156
+ o.model.pagesController.page2Display && o.model.creator.pageEditMode === "bypage" ? (l(), d("div", {
2139
2157
  key: 2,
2140
2158
  class: "svc-page",
2141
2159
  "data-sv-drop-target-survey-element": o.model.displayPageDropTarget,
2142
2160
  "data-sv-drop-target-page": o.model.pagesController.page2Display.name
2143
2161
  }, [
2144
- p(s(c), {
2162
+ m(s(c), {
2145
2163
  is: "svc-page",
2146
2164
  page: o.model.pagesController.page2Display,
2147
2165
  creator: o.model.creator,
2148
2166
  isGhost: o.model.pagesController.page2Display == o.model.newPage
2149
2167
  }, null, 8, ["page", "creator", "isGhost"])
2150
- ], 8, en)) : m("", !0)
2168
+ ], 8, sn)) : v("", !0)
2151
2169
  ], 6),
2152
- o.model.showSurfaceTools ? (l(), r("div", on, [
2153
- o.model.creator.showPageNavigator ? (l(), r("div", sn, [
2154
- p(s(c), {
2170
+ o.model.showSurfaceTools ? (l(), d("div", tn, [
2171
+ o.model.creator.showPageNavigator ? (l(), d("div", nn, [
2172
+ m(s(c), {
2155
2173
  is: "svc-page-navigator",
2156
2174
  pagesController: o.model.pagesController,
2157
2175
  pageEditMode: o.model.creator.pageEditMode
2158
2176
  }, null, 8, ["pagesController", "pageEditMode"])
2159
- ])) : m("", !0),
2160
- o.model.showSurfaceToolbar ? (l(), r("div", tn, [
2161
- p(s(c), {
2177
+ ])) : v("", !0),
2178
+ o.model.showSurfaceToolbar ? (l(), d("div", ln, [
2179
+ m(s(c), {
2162
2180
  is: "sv-action-bar",
2163
2181
  model: o.model.surfaceToolbar
2164
2182
  }, null, 8, ["model"])
2165
- ])) : m("", !0)
2166
- ])) : m("", !0)
2183
+ ])) : v("", !0)
2184
+ ])) : v("", !0)
2167
2185
  ], 64))
2168
2186
  ])
2169
2187
  ]),
@@ -2172,13 +2190,13 @@ const ft = /* @__PURE__ */ g({
2172
2190
  ], 2)
2173
2191
  ], 64));
2174
2192
  }
2175
- }), ln = ["id", "data-sv-drop-target-survey-page"], an = { class: "svc-page__content-actions" }, rn = {
2193
+ }), rn = ["id", "data-sv-drop-target-survey-page"], dn = { class: "svc-page__content-actions" }, un = {
2176
2194
  key: 1,
2177
2195
  class: "svc-page__content-actions"
2178
- }, dn = {
2196
+ }, cn = {
2179
2197
  key: 2,
2180
2198
  class: "svc-page__placeholder_frame"
2181
- }, un = { class: "svc-panel__placeholder_frame" }, cn = { class: "svc-panel__placeholder" }, vn = /* @__PURE__ */ g({
2199
+ }, vn = { class: "svc-panel__placeholder_frame" }, pn = { class: "svc-panel__placeholder" }, mn = /* @__PURE__ */ g({
2182
2200
  __name: "Page",
2183
2201
  props: {
2184
2202
  creator: {},
@@ -2187,9 +2205,9 @@ const ft = /* @__PURE__ */ g({
2187
2205
  isGhost: { type: Boolean }
2188
2206
  },
2189
2207
  setup(u) {
2190
- const t = u, e = I(), o = z(
2208
+ const t = u, e = E(), o = z(
2191
2209
  () => {
2192
- const i = new De(t.creator, t.page);
2210
+ const i = new Ne(t.creator, t.page);
2193
2211
  return i.isGhost = t.isGhost, i;
2194
2212
  },
2195
2213
  [() => t.page],
@@ -2210,28 +2228,28 @@ const ft = /* @__PURE__ */ g({
2210
2228
  const n = (i) => {
2211
2229
  o.value.hover(i, i.currentTarget);
2212
2230
  };
2213
- return (i, d) => s(o).page ? h((l(), r("div", {
2231
+ return (i, r) => s(o).page ? h((l(), d("div", {
2214
2232
  key: s(o).page.id,
2215
2233
  id: s(o).page.id,
2216
2234
  class: _(["svc-page__content", s(o).css]),
2217
2235
  "data-sv-drop-target-survey-page": s(o).dropTargetName,
2218
- onClick: d[1] || (d[1] = (v) => {
2219
- s(o).select(s(o), v), v.stopPropagation();
2236
+ onClick: r[1] || (r[1] = (p) => {
2237
+ s(o).select(s(o), p), p.stopPropagation();
2220
2238
  }),
2221
2239
  ref_key: "root",
2222
2240
  ref: e,
2223
- onDblclick: d[2] || (d[2] = (v) => s(o).dblclick(v)),
2241
+ onDblclick: r[2] || (r[2] = (p) => s(o).dblclick(p)),
2224
2242
  onMouseover: n,
2225
2243
  onMouseleave: n
2226
2244
  }, [
2227
- d[3] || (d[3] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1)),
2228
- d[4] || (d[4] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1)),
2229
- s(o).allowDragging && !s(o).isGhost ? (l(), r("div", {
2245
+ r[3] || (r[3] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1)),
2246
+ r[4] || (r[4] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1)),
2247
+ s(o).allowDragging && !s(o).isGhost ? (l(), d("div", {
2230
2248
  key: 0,
2231
2249
  class: "svc-question__drag-area",
2232
- onPointerdown: d[0] || (d[0] = (v) => s(o).onPointerDown(v))
2250
+ onPointerdown: r[0] || (r[0] = (p) => s(o).onPointerDown(p))
2233
2251
  }, [
2234
- p(s(c), V({
2252
+ m(s(c), V({
2235
2253
  is: "sv-svg-icon",
2236
2254
  class: "svc-question__drag-element"
2237
2255
  }, {
@@ -2239,38 +2257,48 @@ const ft = /* @__PURE__ */ g({
2239
2257
  iconName: "icon-drag-area-indicator_24x16",
2240
2258
  size: "auto"
2241
2259
  }), null, 16),
2242
- a("div", an, [
2243
- p(s(c), {
2260
+ a("div", dn, [
2261
+ m(s(c), {
2244
2262
  is: "sv-action-bar",
2245
2263
  model: s(o).actionContainer
2246
- }, null, 8, ["model"])
2264
+ }, null, 8, ["model"]),
2265
+ s(o).topActionContainer.hasActions ? (l(), q(s(c), {
2266
+ key: 0,
2267
+ is: "sv-action-bar",
2268
+ model: s(o).topActionContainer
2269
+ }, null, 8, ["model"])) : v("", !0)
2247
2270
  ])
2248
- ], 32)) : m("", !0),
2249
- !s(o).allowDragging || s(o).isGhost ? (l(), r("div", rn, [
2250
- p(s(c), {
2271
+ ], 32)) : v("", !0),
2272
+ !s(o).allowDragging || s(o).isGhost ? (l(), d("div", un, [
2273
+ m(s(c), {
2251
2274
  is: "sv-action-bar",
2252
2275
  model: s(o).actionContainer
2253
- }, null, 8, ["model"])
2254
- ])) : m("", !0),
2255
- p(s(c), {
2276
+ }, null, 8, ["model"]),
2277
+ s(o).topActionContainer.hasActions ? (l(), q(s(c), {
2278
+ key: 0,
2279
+ is: "sv-action-bar",
2280
+ model: s(o).topActionContainer
2281
+ }, null, 8, ["model"])) : v("", !0)
2282
+ ])) : v("", !0),
2283
+ m(s(c), {
2256
2284
  is: "survey-page",
2257
2285
  survey: s(o).creator.survey,
2258
2286
  page: s(o).page
2259
2287
  }, null, 8, ["survey", "page"]),
2260
- s(o).showPlaceholder ? (l(), r("div", dn, [
2261
- a("div", un, [
2262
- a("div", cn, k(s(o).placeholderText), 1)
2288
+ s(o).showPlaceholder ? (l(), d("div", cn, [
2289
+ a("div", vn, [
2290
+ a("div", pn, f(s(o).placeholderText), 1)
2263
2291
  ])
2264
- ])) : m("", !0),
2265
- p(s(c), {
2292
+ ])) : v("", !0),
2293
+ m(s(c), {
2266
2294
  is: "sv-action-bar",
2267
2295
  model: s(o).footerActionsBar
2268
2296
  }, null, 8, ["model"])
2269
- ], 42, ln)), [
2297
+ ], 42, rn)), [
2270
2298
  [s(N)]
2271
- ]) : m("", !0);
2299
+ ]) : v("", !0);
2272
2300
  }
2273
- }), pn = { class: "svc-add-new-item-button__text" }, mn = /* @__PURE__ */ g({
2301
+ }), _n = { class: "svc-add-new-item-button__text" }, gn = /* @__PURE__ */ g({
2274
2302
  __name: "AddQuestion",
2275
2303
  props: {
2276
2304
  item: {},
@@ -2280,32 +2308,32 @@ const ft = /* @__PURE__ */ g({
2280
2308
  setup(u) {
2281
2309
  const t = u;
2282
2310
  T(() => t.item.data);
2283
- const e = w(() => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")), o = w(() => t.renderPopup === void 0 || t.renderPopup !== !1);
2284
- return (n, i) => (l(), r($, null, [
2285
- h((l(), r("div", {
2311
+ const e = k(() => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")), o = k(() => t.renderPopup === void 0 || t.renderPopup !== !1);
2312
+ return (n, i) => (l(), d($, null, [
2313
+ h((l(), d("div", {
2286
2314
  class: _(e.value),
2287
- onClick: i[0] || (i[0] = (d) => {
2288
- n.item.data.addNewQuestion(n.item, d), d.stopPropagation();
2315
+ onClick: i[0] || (i[0] = (r) => {
2316
+ n.item.data.addNewQuestion(n.item, r), r.stopPropagation();
2289
2317
  }),
2290
- onMouseover: i[1] || (i[1] = (d) => n.item.data.hoverStopper && n.item.data.hoverStopper(d, d.currentTarget))
2318
+ onMouseover: i[1] || (i[1] = (r) => n.item.data.hoverStopper && n.item.data.hoverStopper(r, r.currentTarget))
2291
2319
  }, [
2292
- p(s(c), {
2320
+ m(s(c), {
2293
2321
  is: "sv-svg-icon",
2294
2322
  class: "svc-panel__add-new-question-icon",
2295
2323
  iconName: "icon-add_24x24",
2296
2324
  size: "auto"
2297
2325
  }),
2298
- a("span", pn, k(n.item.data.addNewQuestionText), 1),
2299
- o.value ? (l(), C(s(c), {
2326
+ a("span", _n, f(n.item.data.addNewQuestionText), 1),
2327
+ o.value ? (l(), q(s(c), {
2300
2328
  key: 0,
2301
2329
  is: "svc-add-question-type-selector",
2302
2330
  questionTypeSelectorModel: n.item.data.questionTypeSelectorModel,
2303
2331
  renderPopup: o.value
2304
- }, null, 8, ["questionTypeSelectorModel", "renderPopup"])) : m("", !0)
2332
+ }, null, 8, ["questionTypeSelectorModel", "renderPopup"])) : v("", !0)
2305
2333
  ], 34)), [
2306
2334
  [s(N)]
2307
2335
  ]),
2308
- o.value ? m("", !0) : (l(), C(s(c), {
2336
+ o.value ? v("", !0) : (l(), q(s(c), {
2309
2337
  key: 0,
2310
2338
  is: "svc-add-question-type-selector",
2311
2339
  questionTypeSelectorModel: n.item.data.questionTypeSelectorModel,
@@ -2313,7 +2341,7 @@ const ft = /* @__PURE__ */ g({
2313
2341
  }, null, 8, ["questionTypeSelectorModel", "renderPopup"]))
2314
2342
  ], 64));
2315
2343
  }
2316
- }), _n = ["title", "aria-label"], gn = /* @__PURE__ */ g({
2344
+ }), bn = ["title", "aria-label"], yn = /* @__PURE__ */ g({
2317
2345
  __name: "AddQuestionTypeSelector",
2318
2346
  props: {
2319
2347
  questionTypeSelectorModel: {},
@@ -2321,7 +2349,7 @@ const ft = /* @__PURE__ */ g({
2321
2349
  },
2322
2350
  setup(u) {
2323
2351
  const t = u;
2324
- return T(() => t.questionTypeSelectorModel), (e, o) => h((l(), r("button", {
2352
+ return T(() => t.questionTypeSelectorModel), (e, o) => h((l(), d("button", {
2325
2353
  type: "button",
2326
2354
  onClick: o[0] || (o[0] = (n) => {
2327
2355
  e.questionTypeSelectorModel.action(), n.stopPropagation();
@@ -2330,7 +2358,7 @@ const ft = /* @__PURE__ */ g({
2330
2358
  "aria-label": e.questionTypeSelectorModel.title,
2331
2359
  class: "svc-element__question-type-selector"
2332
2360
  }, [
2333
- p(s(c), V({
2361
+ m(s(c), V({
2334
2362
  is: "sv-svg-icon",
2335
2363
  class: "svc-element__question-type-selector-icon"
2336
2364
  }, {
@@ -2338,23 +2366,23 @@ const ft = /* @__PURE__ */ g({
2338
2366
  size: "auto",
2339
2367
  title: e.questionTypeSelectorModel.title
2340
2368
  }), null, 16),
2341
- e.renderPopup ? (l(), C(s(c), {
2369
+ e.renderPopup ? (l(), q(s(c), {
2342
2370
  key: 0,
2343
2371
  is: "sv-popup",
2344
2372
  model: e.questionTypeSelectorModel.popupModel
2345
- }, null, 8, ["model"])) : m("", !0)
2346
- ], 8, _n)), [
2373
+ }, null, 8, ["model"])) : v("", !0)
2374
+ ], 8, bn)), [
2347
2375
  [s(N)]
2348
2376
  ]);
2349
2377
  }
2350
- }), bn = /* @__PURE__ */ g({
2378
+ }), hn = /* @__PURE__ */ g({
2351
2379
  __name: "Row",
2352
2380
  props: {
2353
2381
  componentData: {}
2354
2382
  },
2355
2383
  setup(u) {
2356
- const t = u, e = w(() => t.componentData.creator), o = w(() => t.componentData.row), n = z(
2357
- () => new Ne(e.value, o.value, void 0),
2384
+ const t = u, e = k(() => t.componentData.creator), o = k(() => t.componentData.row), n = z(
2385
+ () => new Me(e.value, o.value, void 0),
2358
2386
  [() => e.value, () => o.value],
2359
2387
  (i) => {
2360
2388
  i.dispose();
@@ -2362,20 +2390,20 @@ const ft = /* @__PURE__ */ g({
2362
2390
  );
2363
2391
  return B(() => {
2364
2392
  n.value && n.value.subscribeElementChanges();
2365
- }), K(() => {
2393
+ }), L(() => {
2366
2394
  n.value && n.value.unsubscribeElementChanges();
2367
- }), (i, d) => (l(), r("div", {
2395
+ }), (i, r) => (l(), d("div", {
2368
2396
  class: _(s(n).cssClasses)
2369
2397
  }, [
2370
- d[0] || (d[0] = a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1)),
2371
- d[1] || (d[1] = a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1)),
2398
+ r[0] || (r[0] = a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1)),
2399
+ r[1] || (r[1] = a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1)),
2372
2400
  Z(i.$slots, "default")
2373
2401
  ], 2));
2374
2402
  }
2375
- }), yn = ["data-sv-drop-target-survey-element"], hn = { class: "svc-fake-title" }, qn = { class: "svc-question__top-actions" }, Cn = {
2403
+ }), Cn = ["data-sv-drop-target-survey-element"], qn = { class: "svc-fake-title" }, kn = { class: "svc-question__top-actions" }, fn = {
2376
2404
  key: 0,
2377
2405
  class: "svc-panel__placeholder_frame-wrapper"
2378
- }, wn = { class: "svc-panel__placeholder_frame" }, kn = {
2406
+ }, wn = { class: "svc-panel__placeholder_frame" }, $n = {
2379
2407
  class: "svc-panel__placeholder",
2380
2408
  "data-bind": "text: placeholderText"
2381
2409
  }, te = /* @__PURE__ */ g({
@@ -2391,13 +2419,13 @@ const ft = /* @__PURE__ */ g({
2391
2419
  componentData: {}
2392
2420
  },
2393
2421
  setup(u) {
2394
- const t = u, e = I(), o = z(
2422
+ const t = u, e = E(), o = z(
2395
2423
  () => t.createModel(),
2396
2424
  [() => t.componentName, () => t.componentData],
2397
- (d) => {
2398
- d.dispose();
2425
+ (r) => {
2426
+ r.dispose();
2399
2427
  }
2400
- ), n = w(
2428
+ ), n = k(
2401
2429
  () => o.value.isBannerShowing ? o.value.createBannerParams() : null
2402
2430
  );
2403
2431
  oe(() => {
@@ -2405,51 +2433,51 @@ const ft = /* @__PURE__ */ g({
2405
2433
  }), B(() => {
2406
2434
  e.value && o.value && (o.value.rootElement = e.value);
2407
2435
  });
2408
- const i = (d) => {
2409
- o.value.select(o.value, d), d.stopPropagation();
2436
+ const i = (r) => {
2437
+ o.value.select(o.value, r), r.stopPropagation();
2410
2438
  };
2411
- return (d, v) => s(o) ? (l(), r("div", {
2439
+ return (r, p) => s(o) ? (l(), d("div", {
2412
2440
  key: 0,
2413
2441
  class: _(["svc-question__adorner", s(o).rootCss()]),
2414
2442
  ref_key: "root",
2415
2443
  ref: e,
2416
- onDblclick: v[2] || (v[2] = (b) => s(o).dblclick(b)),
2417
- onMouseover: v[3] || (v[3] = (b) => s(o).hover(b, b.currentTarget)),
2418
- onMouseleave: v[4] || (v[4] = (b) => s(o).hover(b, b.currentTarget)),
2444
+ onDblclick: p[2] || (p[2] = (b) => s(o).dblclick(b)),
2445
+ onMouseover: p[3] || (p[3] = (b) => s(o).hover(b, b.currentTarget)),
2446
+ onMouseleave: p[4] || (p[4] = (b) => s(o).hover(b, b.currentTarget)),
2419
2447
  "data-sv-drop-target-survey-element": s(o).element.name || null,
2420
2448
  "data-bind": "css: rootCss(), attr: { 'data-sv-drop-target-survey-element': element.name || null }, event: { mouseover: function(m, e) { hover(e, $element); }, mouseleave: function(m, e) { hover(e, $element); } }"
2421
2449
  }, [
2422
- s(o).showHiddenTitle ? (l(), r("div", {
2450
+ s(o).showHiddenTitle ? (l(), d("div", {
2423
2451
  key: 0,
2424
2452
  class: _(s(o).cssCollapsedHiddenHeader)
2425
2453
  }, [
2426
- d.element.hasTitle ? (l(), C(s(c), {
2454
+ r.element.hasTitle ? (l(), q(s(c), {
2427
2455
  key: 0,
2428
2456
  is: "survey-element-title",
2429
- element: d.element
2430
- }, null, 8, ["element"])) : (l(), r("div", {
2457
+ element: r.element
2458
+ }, null, 8, ["element"])) : (l(), d("div", {
2431
2459
  key: 1,
2432
2460
  class: _(s(o).cssCollapsedHiddenTitle)
2433
2461
  }, [
2434
- a("span", hn, k(d.element.name), 1)
2462
+ a("span", qn, f(r.element.name), 1)
2435
2463
  ], 2))
2436
- ], 2)) : m("", !0),
2437
- h((l(), r("div", {
2438
- onClick: v[1] || (v[1] = (b) => {
2464
+ ], 2)) : v("", !0),
2465
+ h((l(), d("div", {
2466
+ onClick: p[1] || (p[1] = (b) => {
2439
2467
  s(o).select(s(o), b), b.stopPropagation();
2440
2468
  }),
2441
2469
  class: _(s(o).css())
2442
2470
  }, [
2443
- v[5] || (v[5] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1)),
2444
- v[6] || (v[6] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1)),
2445
- v[7] || (v[7] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1)),
2446
- v[8] || (v[8] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1)),
2447
- s(o).allowDragging ? (l(), r("div", {
2471
+ p[5] || (p[5] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1)),
2472
+ p[6] || (p[6] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1)),
2473
+ p[7] || (p[7] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1)),
2474
+ p[8] || (p[8] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1)),
2475
+ s(o).allowDragging ? (l(), d("div", {
2448
2476
  key: 0,
2449
2477
  class: "svc-question__drag-area",
2450
- onPointerdown: v[0] || (v[0] = (b) => s(o).onPointerDown(b))
2478
+ onPointerdown: p[0] || (p[0] = (b) => s(o).onPointerDown(b))
2451
2479
  }, [
2452
- p(s(c), V({
2480
+ m(s(c), V({
2453
2481
  is: "sv-svg-icon",
2454
2482
  class: "svc-question__drag-element"
2455
2483
  }, {
@@ -2457,58 +2485,58 @@ const ft = /* @__PURE__ */ g({
2457
2485
  iconName: "icon-drag-area-indicator_24x16",
2458
2486
  size: "auto"
2459
2487
  }), null, 16),
2460
- a("div", qn, [
2461
- p(s(c), {
2488
+ a("div", kn, [
2489
+ m(s(c), {
2462
2490
  is: "sv-action-bar",
2463
2491
  model: s(o).topActionContainer,
2464
2492
  handleClick: !1
2465
2493
  }, null, 8, ["model"])
2466
2494
  ])
2467
- ], 32)) : m("", !0),
2468
- s(o).needToRenderContent ? (l(), r($, { key: 1 }, [
2469
- p(s(c), {
2495
+ ], 32)) : v("", !0),
2496
+ s(o).needToRenderContent ? (l(), d($, { key: 1 }, [
2497
+ m(s(c), {
2470
2498
  is: "sv-template-renderer",
2471
- componentName: d.componentName,
2472
- componentData: d.componentData
2499
+ componentName: r.componentName,
2500
+ componentData: r.componentData
2473
2501
  }, null, 8, ["componentName", "componentData"]),
2474
- s(o).isEmptyElement && !d.showPlaceholderComponent ? (l(), r("div", Cn, [
2502
+ s(o).isEmptyElement && !r.showPlaceholderComponent ? (l(), d("div", fn, [
2475
2503
  a("div", wn, [
2476
- a("div", kn, k(s(o).placeholderText), 1)
2504
+ a("div", $n, f(s(o).placeholderText), 1)
2477
2505
  ])
2478
- ])) : m("", !0),
2479
- s(o).isEmptyElement && d.showPlaceholderComponent ? (l(), C(s(c), V(
2506
+ ])) : v("", !0),
2507
+ s(o).isEmptyElement && r.showPlaceholderComponent ? (l(), q(s(c), V(
2480
2508
  {
2481
2509
  key: 1,
2482
- is: d.placeholderComponent
2510
+ is: r.placeholderComponent
2483
2511
  },
2484
- d.getPlaceholderComponentData && d.getPlaceholderComponentData(s(o))
2485
- ), null, 16, ["is"])) : m("", !0),
2486
- d.adornerComponent ? (l(), C(s(c), {
2512
+ r.getPlaceholderComponentData && r.getPlaceholderComponentData(s(o))
2513
+ ), null, 16, ["is"])) : v("", !0),
2514
+ r.adornerComponent ? (l(), q(s(c), {
2487
2515
  key: 2,
2488
- is: d.adornerComponent,
2516
+ is: r.adornerComponent,
2489
2517
  model: s(o),
2490
- element: d.element
2491
- }, null, 8, ["is", "model", "element"])) : m("", !0),
2492
- s(o).isBannerShowing ? (l(), C(s(c), {
2518
+ element: r.element
2519
+ }, null, 8, ["is", "model", "element"])) : v("", !0),
2520
+ s(o).isBannerShowing ? (l(), q(s(c), {
2493
2521
  key: 3,
2494
2522
  is: "svc-question-banner",
2495
2523
  model: n.value
2496
- }, null, 8, ["model"])) : m("", !0),
2524
+ }, null, 8, ["model"])) : v("", !0),
2497
2525
  a("div", {
2498
2526
  class: "svc-question__content-actions",
2499
2527
  onFocusin: i
2500
2528
  }, [
2501
- p(s(c), {
2529
+ m(s(c), {
2502
2530
  is: "sv-action-bar",
2503
2531
  model: s(o).actionContainer,
2504
2532
  handleClick: !1
2505
2533
  }, null, 8, ["model"])
2506
2534
  ], 32)
2507
- ], 64)) : m("", !0)
2535
+ ], 64)) : v("", !0)
2508
2536
  ], 2)), [
2509
2537
  [s(N), { disableTabStop: !0 }]
2510
2538
  ])
2511
- ], 42, yn)) : m("", !0);
2539
+ ], 42, Cn)) : v("", !0);
2512
2540
  }
2513
2541
  }), ie = /* @__PURE__ */ g({
2514
2542
  __name: "Question",
@@ -2522,28 +2550,28 @@ const ft = /* @__PURE__ */ g({
2522
2550
  t.componentData.element,
2523
2551
  null
2524
2552
  );
2525
- return (o, n) => (l(), C(te, {
2553
+ return (o, n) => (l(), q(te, {
2526
2554
  createModel: e,
2527
2555
  element: o.componentData.element,
2528
2556
  "component-name": o.componentName,
2529
2557
  "component-data": o.componentData
2530
2558
  }, null, 8, ["element", "component-name", "component-data"]));
2531
2559
  }
2532
- }), fn = /* @__PURE__ */ g({
2560
+ }), Tn = /* @__PURE__ */ g({
2533
2561
  __name: "QuestionImage",
2534
2562
  props: {
2535
2563
  componentName: {},
2536
2564
  componentData: {}
2537
2565
  },
2538
2566
  setup(u) {
2539
- const t = u, e = () => new Me(
2567
+ const t = u, e = () => new Se(
2540
2568
  t.componentData.data,
2541
2569
  t.componentData.element,
2542
2570
  null
2543
2571
  ), o = (n) => ({
2544
2572
  question: n == null ? void 0 : n.filePresentationModel
2545
2573
  });
2546
- return (n, i) => (l(), C(te, {
2574
+ return (n, i) => (l(), q(te, {
2547
2575
  "create-model": e,
2548
2576
  element: t.componentData.element,
2549
2577
  "show-placeholder-component": !0,
@@ -2554,35 +2582,35 @@ const ft = /* @__PURE__ */ g({
2554
2582
  "adorner-component": "svc-image-question-adorner"
2555
2583
  }, null, 8, ["element", "component-data", "component-name"]));
2556
2584
  }
2557
- }), $n = {
2585
+ }), Dn = {
2558
2586
  key: 0,
2559
2587
  class: "svc-image-question-controls"
2560
- }, Tn = ["accept"], Dn = {
2588
+ }, Nn = ["accept"], Mn = {
2561
2589
  class: "svc-context-button",
2562
2590
  title: void 0,
2563
2591
  "aria-label": void 0
2564
- }, Nn = {
2592
+ }, Sn = {
2565
2593
  key: 1,
2566
2594
  class: "svc-image-question__loading-placeholder"
2567
- }, Mn = { class: "svc-image-question__loading" }, Sn = /* @__PURE__ */ g({
2595
+ }, In = { class: "svc-image-question__loading" }, En = /* @__PURE__ */ g({
2568
2596
  __name: "Image",
2569
2597
  props: {
2570
2598
  model: {},
2571
2599
  element: {}
2572
2600
  },
2573
2601
  setup(u) {
2574
- return (t, e) => (l(), r($, null, [
2575
- !t.model.isUploading && !t.model.isEmptyElement ? (l(), r("div", $n, [
2576
- t.model.allowEdit ? (l(), r($, { key: 0 }, [
2602
+ return (t, e) => (l(), d($, null, [
2603
+ !t.model.isUploading && !t.model.isEmptyElement ? (l(), d("div", Dn, [
2604
+ t.model.allowEdit ? (l(), d($, { key: 0 }, [
2577
2605
  a("input", {
2578
2606
  type: "file",
2579
2607
  "aria-hidden": "true",
2580
2608
  tabindex: "-1",
2581
2609
  accept: t.model.acceptedTypes,
2582
2610
  class: "svc-choose-file-input"
2583
- }, null, 8, Tn),
2584
- h((l(), r("span", Dn, [
2585
- p(s(c), {
2611
+ }, null, 8, Nn),
2612
+ h((l(), d("span", Mn, [
2613
+ m(s(c), {
2586
2614
  is: "sv-svg-icon",
2587
2615
  iconName: "icon-choosefile",
2588
2616
  size: "auto",
@@ -2591,16 +2619,16 @@ const ft = /* @__PURE__ */ g({
2591
2619
  ])), [
2592
2620
  [s(N)]
2593
2621
  ])
2594
- ], 64)) : m("", !0)
2595
- ])) : m("", !0),
2596
- t.model.isUploading && !t.model.isEmptyElement ? (l(), r("div", Nn, [
2597
- a("div", Mn, [
2598
- p(s(c), { is: "sv-loading-indicator" })
2622
+ ], 64)) : v("", !0)
2623
+ ])) : v("", !0),
2624
+ t.model.isUploading && !t.model.isEmptyElement ? (l(), d("div", Sn, [
2625
+ a("div", In, [
2626
+ m(s(c), { is: "sv-loading-indicator" })
2599
2627
  ])
2600
- ])) : m("", !0)
2628
+ ])) : v("", !0)
2601
2629
  ], 64));
2602
2630
  }
2603
- }), En = { class: "svc-rating-question-content" }, In = /* @__PURE__ */ g({
2631
+ }), Bn = { class: "svc-rating-question-content" }, Pn = /* @__PURE__ */ g({
2604
2632
  __name: "Rating",
2605
2633
  props: {
2606
2634
  componentData: {},
@@ -2608,7 +2636,7 @@ const ft = /* @__PURE__ */ g({
2608
2636
  },
2609
2637
  setup(u) {
2610
2638
  const t = u, e = z(
2611
- () => new Se(
2639
+ () => new Ie(
2612
2640
  t.componentData.data,
2613
2641
  t.componentData.question,
2614
2642
  null
@@ -2616,12 +2644,12 @@ const ft = /* @__PURE__ */ g({
2616
2644
  [() => t.componentData.data, () => t.componentData.question]
2617
2645
  );
2618
2646
  return (o, n) => {
2619
- var i, d, v, b, y, D, O, P, A;
2620
- return l(), r("div", En, [
2647
+ var i, r, p, b, y, D, O, P, A;
2648
+ return l(), d("div", Bn, [
2621
2649
  a("div", {
2622
2650
  class: _((i = s(e)) == null ? void 0 : i.controlsClassNames)
2623
2651
  }, [
2624
- (d = s(e)) != null && d.allowRemove ? h((l(), C(s(c), {
2652
+ (r = s(e)) != null && r.allowRemove ? h((l(), q(s(c), {
2625
2653
  key: 0,
2626
2654
  is: "sv-svg-icon",
2627
2655
  iconName: "icon-remove_16x16",
@@ -2630,13 +2658,13 @@ const ft = /* @__PURE__ */ g({
2630
2658
  var U;
2631
2659
  return (U = s(e)) == null ? void 0 : U.removeItem(s(e));
2632
2660
  }),
2633
- class: _((v = s(e)) == null ? void 0 : v.removeClassNames),
2661
+ class: _((p = s(e)) == null ? void 0 : p.removeClassNames),
2634
2662
  title: (b = s(e)) == null ? void 0 : b.removeTooltip,
2635
2663
  "aria-label": (y = s(e)) == null ? void 0 : y.removeTooltip
2636
2664
  }, null, 8, ["class", "title", "aria-label"])), [
2637
2665
  [s(N)]
2638
- ]) : m("", !0),
2639
- (D = s(e)) != null && D.allowAdd ? h((l(), C(s(c), {
2666
+ ]) : v("", !0),
2667
+ (D = s(e)) != null && D.allowAdd ? h((l(), q(s(c), {
2640
2668
  key: 1,
2641
2669
  is: "sv-svg-icon",
2642
2670
  iconName: "icon-add_16x16",
@@ -2650,30 +2678,30 @@ const ft = /* @__PURE__ */ g({
2650
2678
  "aria-label": (A = s(e)) == null ? void 0 : A.addTooltip
2651
2679
  }, null, 8, ["class", "title", "aria-label"])), [
2652
2680
  [s(N)]
2653
- ]) : m("", !0)
2681
+ ]) : v("", !0)
2654
2682
  ], 2),
2655
2683
  Z(o.$slots, "default")
2656
2684
  ]);
2657
2685
  };
2658
2686
  }
2659
- }), Bn = {
2687
+ }), Rn = {
2660
2688
  key: 0,
2661
2689
  class: "svc-matrix-cell__question-controls"
2662
- }, Pn = /* @__PURE__ */ g({
2690
+ }, Vn = /* @__PURE__ */ g({
2663
2691
  __name: "MatrixCell",
2664
2692
  props: {
2665
2693
  componentData: {}
2666
2694
  },
2667
2695
  setup(u) {
2668
- const t = u, e = w(() => t.componentData.creator), o = w(() => t.componentData.row), n = w(() => t.componentData.column), i = w(() => t.componentData.element), d = w(
2696
+ const t = u, e = k(() => t.componentData.creator), o = k(() => t.componentData.row), n = k(() => t.componentData.column), i = k(() => t.componentData.element), r = k(
2669
2697
  () => t.componentData.question
2670
- ), v = z(
2698
+ ), p = z(
2671
2699
  () => {
2672
2700
  var b;
2673
2701
  return t.componentData ? new Ee(
2674
2702
  e.value,
2675
2703
  i.value,
2676
- d.value,
2704
+ r.value,
2677
2705
  o.value,
2678
2706
  n.value || ((b = i.value.cell) == null ? void 0 : b.column)
2679
2707
  ) : void 0;
@@ -2682,37 +2710,37 @@ const ft = /* @__PURE__ */ g({
2682
2710
  () => e.value,
2683
2711
  () => o.value,
2684
2712
  () => n.value,
2685
- () => d.value
2713
+ () => r.value
2686
2714
  ]
2687
2715
  );
2688
2716
  return (b, y) => {
2689
2717
  var D, O;
2690
- return l(), r("div", {
2718
+ return l(), d("div", {
2691
2719
  tabindex: "-1",
2692
2720
  class: "svc-matrix-cell",
2693
2721
  onClick: y[1] || (y[1] = (P) => {
2694
2722
  var A;
2695
- return (A = s(v)) == null ? void 0 : A.selectContext(s(v), P);
2723
+ return (A = s(p)) == null ? void 0 : A.selectContext(s(p), P);
2696
2724
  }),
2697
2725
  onMouseover: y[2] || (y[2] = (P) => {
2698
2726
  var A;
2699
- return (A = s(v)) == null ? void 0 : A.hover(P, P.currentTarget);
2727
+ return (A = s(p)) == null ? void 0 : A.hover(P, P.currentTarget);
2700
2728
  }),
2701
2729
  onMouseleave: y[3] || (y[3] = (P) => {
2702
2730
  var A;
2703
- return (A = s(v)) == null ? void 0 : A.hover(P, P.currentTarget);
2731
+ return (A = s(p)) == null ? void 0 : A.hover(P, P.currentTarget);
2704
2732
  })
2705
2733
  }, [
2706
2734
  a("div", {
2707
- class: _(["svc-matrix-cell--selected", { "svc-visible": (D = s(v)) == null ? void 0 : D.isSelected }])
2735
+ class: _(["svc-matrix-cell--selected", { "svc-visible": (D = s(p)) == null ? void 0 : D.isSelected }])
2708
2736
  }, null, 2),
2709
2737
  Z(b.$slots, "default"),
2710
- (O = s(v)) != null && O.isSupportCellEditor ? (l(), r("div", Bn, [
2711
- h((l(), r("span", {
2738
+ (O = s(p)) != null && O.isSupportCellEditor ? (l(), d("div", Rn, [
2739
+ h((l(), d("span", {
2712
2740
  class: "svc-matrix-cell__question-controls-button svc-context-button",
2713
- onClick: y[0] || (y[0] = (P) => s(v).editQuestion(s(v), P))
2741
+ onClick: y[0] || (y[0] = (P) => s(p).editQuestion(s(p), P))
2714
2742
  }, [
2715
- p(s(c), {
2743
+ m(s(c), {
2716
2744
  is: "sv-svg-icon",
2717
2745
  iconName: "icon-edit",
2718
2746
  size: "auto"
@@ -2720,33 +2748,33 @@ const ft = /* @__PURE__ */ g({
2720
2748
  ])), [
2721
2749
  [s(N)]
2722
2750
  ])
2723
- ])) : m("", !0)
2751
+ ])) : v("", !0)
2724
2752
  ], 32);
2725
2753
  };
2726
2754
  }
2727
- }), Rn = { class: "svc-question__adorner" }, Vn = { class: "svc-question__content svc-question__content--in-popup" }, zn = /* @__PURE__ */ g({
2755
+ }), zn = { class: "svc-question__adorner" }, An = { class: "svc-question__content svc-question__content--in-popup" }, Ln = /* @__PURE__ */ g({
2728
2756
  __name: "CellQuestion",
2729
2757
  props: {
2730
2758
  componentName: {},
2731
2759
  componentData: {}
2732
2760
  },
2733
2761
  setup(u) {
2734
- const t = u, e = w(
2762
+ const t = u, e = k(
2735
2763
  () => t.componentData.element
2736
2764
  );
2737
- return T(() => e.value), (o, n) => (l(), r("div", Rn, [
2738
- a("div", Vn, [
2739
- p(s(c), V({ is: o.componentName }, o.componentData), null, 16, ["is"])
2765
+ return T(() => e.value), (o, n) => (l(), d("div", zn, [
2766
+ a("div", An, [
2767
+ m(s(c), V({ is: o.componentName }, o.componentData), null, 16, ["is"])
2740
2768
  ])
2741
2769
  ]));
2742
2770
  }
2743
- }), An = ["data-sv-drop-target-survey-element"], Ln = { class: "svc-fake-title" }, Fn = { class: "svc-question__top-actions" }, Kn = {
2771
+ }), Fn = ["data-sv-drop-target-survey-element"], Kn = { class: "svc-fake-title" }, Un = { class: "svc-question__top-actions" }, Hn = {
2744
2772
  key: 0,
2745
2773
  class: "svc-panel__placeholder_frame-wrapper"
2746
- }, Un = { class: "svc-panel__placeholder_frame" }, Hn = { class: "svc-panel__placeholder" }, On = { class: "svc-add-new-item-button__text" }, Qn = {
2774
+ }, On = { class: "svc-panel__placeholder_frame" }, Qn = { class: "svc-panel__placeholder" }, Gn = { class: "svc-add-new-item-button__text" }, Wn = {
2747
2775
  key: 1,
2748
2776
  class: "svc-panel__add-new-question-container"
2749
- }, Gn = { class: "svc-panel__question-type-selector-popup" }, Wn = { class: "svc-panel__add-new-question-wrapper" }, jn = /* @__PURE__ */ g({
2777
+ }, jn = { class: "svc-panel__question-type-selector-popup" }, Jn = { class: "svc-panel__add-new-question-wrapper" }, Zn = /* @__PURE__ */ g({
2750
2778
  __name: "Panel",
2751
2779
  props: {
2752
2780
  componentName: {},
@@ -2766,123 +2794,123 @@ const ft = /* @__PURE__ */ g({
2766
2794
  ), o = (n) => {
2767
2795
  n.stopPropagation(), e.value.addNewQuestion();
2768
2796
  };
2769
- return (n, i) => s(e) && !s(e).isDisposed ? (l(), r("div", {
2797
+ return (n, i) => s(e) && !s(e).isDisposed ? (l(), d("div", {
2770
2798
  key: 0,
2771
2799
  class: _(["svc-question__adorner", s(e).rootCss()]),
2772
- onDblclick: i[3] || (i[3] = (d) => s(e).dblclick(d)),
2773
- onMouseover: i[4] || (i[4] = (d) => s(e).hover(d, d.currentTarget)),
2774
- onMouseleave: i[5] || (i[5] = (d) => s(e).hover(d, d.currentTarget)),
2800
+ onDblclick: i[3] || (i[3] = (r) => s(e).dblclick(r)),
2801
+ onMouseover: i[4] || (i[4] = (r) => s(e).hover(r, r.currentTarget)),
2802
+ onMouseleave: i[5] || (i[5] = (r) => s(e).hover(r, r.currentTarget)),
2775
2803
  "data-sv-drop-target-survey-element": s(e).element.name || null,
2776
2804
  ref: "root"
2777
2805
  }, [
2778
- s(e).showHiddenTitle ? (l(), r("div", {
2806
+ s(e).showHiddenTitle ? (l(), d("div", {
2779
2807
  key: 0,
2780
2808
  class: _(s(e).cssCollapsedHiddenHeader)
2781
2809
  }, [
2782
- s(e).element.hasTitle ? (l(), C(s(c), {
2810
+ s(e).element.hasTitle ? (l(), q(s(c), {
2783
2811
  key: 0,
2784
2812
  is: "survey-element-title",
2785
2813
  element: s(e).element
2786
- }, null, 8, ["element"])) : (l(), r("div", {
2814
+ }, null, 8, ["element"])) : (l(), d("div", {
2787
2815
  key: 1,
2788
2816
  class: _(s(e).cssCollapsedHiddenTitle)
2789
2817
  }, [
2790
- a("span", Ln, k(s(e).element.name), 1)
2818
+ a("span", Kn, f(s(e).element.name), 1)
2791
2819
  ], 2))
2792
- ], 2)) : m("", !0),
2793
- h((l(), r("div", {
2820
+ ], 2)) : v("", !0),
2821
+ h((l(), d("div", {
2794
2822
  class: _(s(e).css()),
2795
- onClick: i[2] || (i[2] = (d) => s(e).element.isInteractiveDesignElement ? s(e).select(s(e), d) : null)
2823
+ onClick: i[2] || (i[2] = (r) => s(e).element.isInteractiveDesignElement ? s(e).select(s(e), r) : null)
2796
2824
  }, [
2797
2825
  i[6] || (i[6] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1)),
2798
2826
  i[7] || (i[7] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1)),
2799
2827
  i[8] || (i[8] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1)),
2800
2828
  i[9] || (i[9] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1)),
2801
- s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (l(), r("div", {
2829
+ s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (l(), d("div", {
2802
2830
  key: 0,
2803
2831
  class: "svc-question__drag-area",
2804
- onPointerdown: i[0] || (i[0] = (d) => s(e).onPointerDown(d))
2832
+ onPointerdown: i[0] || (i[0] = (r) => s(e).onPointerDown(r))
2805
2833
  }, [
2806
- p(s(c), {
2834
+ m(s(c), {
2807
2835
  is: "sv-svg-icon",
2808
2836
  class: "svc-question__drag-element",
2809
2837
  iconName: "icon-drag-area-indicator_24x16",
2810
2838
  size: "auto"
2811
2839
  }),
2812
- a("div", Fn, [
2813
- p(s(c), {
2840
+ a("div", Un, [
2841
+ m(s(c), {
2814
2842
  is: "sv-action-bar",
2815
2843
  model: s(e).topActionContainer,
2816
2844
  handleClick: !1
2817
2845
  }, null, 8, ["model"])
2818
2846
  ])
2819
- ], 32)) : m("", !0),
2820
- s(e).needToRenderContent ? (l(), r($, { key: 1 }, [
2821
- p(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
2822
- s(e).isEmptyElement ? (l(), r("div", Kn, [
2823
- a("div", Un, [
2824
- a("div", Hn, k(s(e).placeholderText), 1),
2825
- s(e).showAddQuestionButton ? h((l(), r("div", {
2847
+ ], 32)) : v("", !0),
2848
+ s(e).needToRenderContent ? (l(), d($, { key: 1 }, [
2849
+ m(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
2850
+ s(e).isEmptyElement ? (l(), d("div", Hn, [
2851
+ a("div", On, [
2852
+ a("div", Qn, f(s(e).placeholderText), 1),
2853
+ s(e).showAddQuestionButton ? h((l(), d("div", {
2826
2854
  key: 0,
2827
2855
  class: "svc-panel__add-new-question svc-action-button",
2828
2856
  onClick: o
2829
2857
  }, [
2830
- p(s(c), {
2858
+ m(s(c), {
2831
2859
  is: "sv-svg-icon",
2832
2860
  class: "svc-panel__add-new-question-icon",
2833
2861
  iconName: "icon-add_24x24",
2834
2862
  size: "auto"
2835
2863
  }),
2836
- a("span", On, k(s(e).addNewQuestionText), 1)
2864
+ a("span", Gn, f(s(e).addNewQuestionText), 1)
2837
2865
  ])), [
2838
2866
  [s(N)]
2839
- ]) : m("", !0)
2867
+ ]) : v("", !0)
2840
2868
  ])
2841
- ])) : m("", !0),
2842
- !s(e).isEmptyElement && s(e).showAddQuestionButton ? (l(), r("div", Qn, [
2843
- a("div", Gn, [
2844
- p(s(c), {
2869
+ ])) : v("", !0),
2870
+ !s(e).isEmptyElement && s(e).showAddQuestionButton ? (l(), d("div", Wn, [
2871
+ a("div", jn, [
2872
+ m(s(c), {
2845
2873
  is: "sv-popup",
2846
2874
  model: s(e).questionTypeSelectorModel.popupModel
2847
2875
  }, null, 8, ["model"])
2848
2876
  ]),
2849
- a("div", Wn, [
2850
- p(s(c), {
2877
+ a("div", Jn, [
2878
+ m(s(c), {
2851
2879
  is: "svc-add-new-question-btn",
2852
2880
  item: { data: s(e) },
2853
2881
  buttonClass: "svc-action-button",
2854
2882
  renderPopup: !1
2855
2883
  }, null, 8, ["item"])
2856
2884
  ])
2857
- ])) : m("", !0),
2858
- s(e).element.isInteractiveDesignElement ? (l(), r("div", {
2885
+ ])) : v("", !0),
2886
+ s(e).element.isInteractiveDesignElement ? (l(), d("div", {
2859
2887
  key: 2,
2860
2888
  class: "svc-question__content-actions",
2861
- onFocusin: i[1] || (i[1] = (d) => s(e).select(s(e), d))
2889
+ onFocusin: i[1] || (i[1] = (r) => s(e).select(s(e), r))
2862
2890
  }, [
2863
- p(s(c), {
2891
+ m(s(c), {
2864
2892
  is: "sv-action-bar",
2865
2893
  model: s(e).actionContainer,
2866
2894
  handleClick: !1
2867
2895
  }, null, 8, ["model"])
2868
- ], 32)) : m("", !0)
2869
- ], 64)) : m("", !0)
2896
+ ], 32)) : v("", !0)
2897
+ ], 64)) : v("", !0)
2870
2898
  ], 2)), [
2871
2899
  [s(N), { disableTabStop: !0 }]
2872
2900
  ])
2873
- ], 42, An)) : m("", !0);
2901
+ ], 42, Fn)) : v("", !0);
2874
2902
  }
2875
- }), Jn = ["data-sv-drop-target-item-value"], Zn = { class: "svc-item-value-controls" }, Xn = {
2903
+ }), Xn = ["data-sv-drop-target-item-value"], Yn = { class: "svc-item-value-controls" }, xn = {
2876
2904
  key: 0,
2877
2905
  class: "svc-item-value-controls__button svc-item-value-controls__drag"
2878
- }, Yn = /* @__PURE__ */ g({
2906
+ }, el = /* @__PURE__ */ g({
2879
2907
  __name: "ItemValue",
2880
2908
  props: {
2881
2909
  componentName: {},
2882
2910
  componentData: {}
2883
2911
  },
2884
2912
  setup(u) {
2885
- const t = I(), e = u, o = w(() => e.componentData.data.creator), n = w(() => e.componentData.question), i = w(() => e.componentData.item), d = G(
2913
+ const t = E(), e = u, o = k(() => e.componentData.data.creator), n = k(() => e.componentData.question), i = k(() => e.componentData.item), r = G(
2886
2914
  () => i.value,
2887
2915
  (b, y) => {
2888
2916
  b && t.value && b.setRootElement(t.value), y && y.setRootElement(void 0);
@@ -2890,49 +2918,49 @@ const ft = /* @__PURE__ */ g({
2890
2918
  );
2891
2919
  B(() => {
2892
2920
  t.value && i.value && i.value.setRootElement(t.value);
2893
- }), K(() => {
2921
+ }), L(() => {
2894
2922
  i.value.setRootElement(void 0);
2895
2923
  });
2896
- const v = z(
2897
- () => new Ie(o.value, n.value, i.value),
2924
+ const p = z(
2925
+ () => new Be(o.value, n.value, i.value),
2898
2926
  [() => o.value, () => n.value, () => i.value],
2899
2927
  (b) => {
2900
2928
  b.dispose();
2901
2929
  }
2902
2930
  );
2903
2931
  return ee(() => {
2904
- d();
2905
- }), (b, y) => (l(), r("div", {
2932
+ r();
2933
+ }), (b, y) => (l(), d("div", {
2906
2934
  class: _(["svc-item-value-wrapper", {
2907
- "svc-item-value--new": s(v).isNew,
2908
- "svc-item-value--dragging": s(v).isDragging,
2909
- "svc-item-value--ghost": s(v).isDragDropGhost,
2910
- "svc-item-value--movedown": s(v).isDragDropMoveDown,
2911
- "svc-item-value--moveup": s(v).isDragDropMoveUp
2935
+ "svc-item-value--new": s(p).isNew,
2936
+ "svc-item-value--dragging": s(p).isDragging,
2937
+ "svc-item-value--ghost": s(p).isDragDropGhost,
2938
+ "svc-item-value--movedown": s(p).isDragDropMoveDown,
2939
+ "svc-item-value--moveup": s(p).isDragDropMoveUp
2912
2940
  }]),
2913
- onPointerdown: y[4] || (y[4] = (D) => s(v).onPointerDown(D)),
2914
- "data-sv-drop-target-item-value": s(v).isDraggable ? i.value.value : null,
2941
+ onPointerdown: y[4] || (y[4] = (D) => s(p).onPointerDown(D)),
2942
+ "data-sv-drop-target-item-value": s(p).isDraggable ? i.value.value : null,
2915
2943
  ref_key: "root",
2916
2944
  ref: t
2917
2945
  }, [
2918
2946
  y[5] || (y[5] = a("div", { class: "svc-item-value__ghost" }, null, -1)),
2919
- a("div", Zn, [
2920
- s(v).isDraggable ? (l(), r("span", Xn, [
2921
- p(s(c), {
2947
+ a("div", Yn, [
2948
+ s(p).isDraggable ? (l(), d("span", xn, [
2949
+ m(s(c), {
2922
2950
  is: "sv-svg-icon",
2923
2951
  class: "svc-item-value-controls__drag-icon",
2924
2952
  iconName: "icon-drag-24x24",
2925
2953
  size: "auto",
2926
- title: s(v).dragTooltip
2954
+ title: s(p).dragTooltip
2927
2955
  }, null, 8, ["title"])
2928
- ])) : m("", !0),
2929
- s(v).allowAdd ? h((l(), r("span", {
2956
+ ])) : v("", !0),
2957
+ s(p).allowAdd ? h((l(), d("span", {
2930
2958
  key: 1,
2931
2959
  class: "svc-item-value-controls__button svc-item-value-controls__add",
2932
- onClick: y[0] || (y[0] = (D) => s(v).add(s(v))),
2960
+ onClick: y[0] || (y[0] = (D) => s(p).add(s(p))),
2933
2961
  "aria-label": void 0
2934
2962
  }, [
2935
- p(s(c), {
2963
+ m(s(c), {
2936
2964
  is: "sv-svg-icon",
2937
2965
  iconName: "icon-add_16x16",
2938
2966
  size: "auto",
@@ -2940,15 +2968,15 @@ const ft = /* @__PURE__ */ g({
2940
2968
  })
2941
2969
  ])), [
2942
2970
  [s(N)]
2943
- ]) : m("", !0),
2944
- s(v).allowRemove ? h((l(), r("span", {
2971
+ ]) : v("", !0),
2972
+ s(p).allowRemove ? h((l(), d("span", {
2945
2973
  key: 2,
2946
2974
  class: "svc-item-value-controls__button svc-item-value-controls__remove",
2947
- onClick: y[1] || (y[1] = (D) => s(v).remove(s(v))),
2948
- onBlur: y[2] || (y[2] = (D) => s(v).onFocusOut(D)),
2975
+ onClick: y[1] || (y[1] = (D) => s(p).remove(s(p))),
2976
+ onBlur: y[2] || (y[2] = (D) => s(p).onFocusOut(D)),
2949
2977
  "aria-label": void 0
2950
2978
  }, [
2951
- p(s(c), {
2979
+ m(s(c), {
2952
2980
  is: "sv-svg-icon",
2953
2981
  iconName: "icon-remove_16x16",
2954
2982
  size: "auto",
@@ -2956,35 +2984,35 @@ const ft = /* @__PURE__ */ g({
2956
2984
  })
2957
2985
  ], 32)), [
2958
2986
  [s(N)]
2959
- ]) : m("", !0)
2987
+ ]) : v("", !0)
2960
2988
  ]),
2961
2989
  a("div", {
2962
2990
  class: "svc-item-value__item",
2963
- onClick: y[3] || (y[3] = (D) => s(v).select(s(v), D))
2991
+ onClick: y[3] || (y[3] = (D) => s(p).select(s(p), D))
2964
2992
  }, [
2965
- p(s(c), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
2993
+ m(s(c), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
2966
2994
  ])
2967
- ], 42, Jn));
2995
+ ], 42, Xn));
2968
2996
  }
2969
- }), xn = ["data-sv-drop-target-item-value"], el = { class: "svc-image-item-value-wrapper__content" }, ol = ["accept"], sl = {
2997
+ }), ol = ["data-sv-drop-target-item-value"], sl = { class: "svc-image-item-value-wrapper__content" }, tl = ["accept"], nl = {
2970
2998
  key: 0,
2971
2999
  class: "svc-image-item-value__item"
2972
- }, tl = {
3000
+ }, ll = {
2973
3001
  key: 2,
2974
3002
  class: "svc-context-container svc-image-item-value-controls"
2975
- }, nl = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, ll = { class: "sd-imagepicker__label" }, il = {
3003
+ }, il = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, al = { class: "sd-imagepicker__label" }, rl = {
2976
3004
  key: 0,
2977
3005
  class: "svc-image-item-value__loading"
2978
- }, al = /* @__PURE__ */ g({
3006
+ }, dl = /* @__PURE__ */ g({
2979
3007
  __name: "ImageItemValue",
2980
3008
  props: {
2981
3009
  componentName: {},
2982
3010
  componentData: {}
2983
3011
  },
2984
3012
  setup(u) {
2985
- const t = u, e = w(() => t.componentData.data.creator), o = w(() => t.componentData.question), n = w(() => t.componentData.item), i = I(), d = z(
3013
+ const t = u, e = k(() => t.componentData.data.creator), o = k(() => t.componentData.question), n = k(() => t.componentData.item), i = E(), r = z(
2986
3014
  () => {
2987
- const b = new Be(
3015
+ const b = new Pe(
2988
3016
  e.value,
2989
3017
  o.value,
2990
3018
  n.value,
@@ -2997,102 +3025,102 @@ const ft = /* @__PURE__ */ g({
2997
3025
  (b) => {
2998
3026
  b.dispose();
2999
3027
  }
3000
- ), v = w(() => {
3001
- const b = !d.value.getIsNewItemSingle();
3028
+ ), p = k(() => {
3029
+ const b = !r.value.getIsNewItemSingle();
3002
3030
  return {
3003
3031
  width: b ? o.value.renderedImageWidth + "px" : void 0,
3004
3032
  height: b ? o.value.renderedImageHeight + "px" : void 0
3005
3033
  };
3006
3034
  });
3007
3035
  return B(() => {
3008
- i.value && (d.value.itemsRoot = i.value);
3009
- }), (b, y) => (l(), r("div", {
3010
- onPointerdown: y[8] || (y[8] = (D) => s(d).onPointerDown(D)),
3011
- class: _(s(d).getRootCss()),
3012
- "data-sv-drop-target-item-value": s(d).isDraggable ? n.value.value : null,
3036
+ i.value && (r.value.itemsRoot = i.value);
3037
+ }), (b, y) => (l(), d("div", {
3038
+ onPointerdown: y[8] || (y[8] = (D) => s(r).onPointerDown(D)),
3039
+ class: _(s(r).getRootCss()),
3040
+ "data-sv-drop-target-item-value": s(r).isDraggable ? n.value.value : null,
3013
3041
  ref_key: "root",
3014
3042
  ref: i
3015
3043
  }, [
3016
3044
  a("div", {
3017
3045
  class: "svc-image-item-value-wrapper__ghost",
3018
- style: F(v.value)
3046
+ style: K(p.value)
3019
3047
  }, null, 4),
3020
- a("div", el, [
3048
+ a("div", sl, [
3021
3049
  a("input", {
3022
3050
  type: "file",
3023
3051
  "aria-hidden": "true",
3024
3052
  tabindex: "-1",
3025
- accept: s(d).acceptedTypes,
3053
+ accept: s(r).acceptedTypes,
3026
3054
  class: "svc-choose-file-input"
3027
- }, null, 8, ol),
3028
- !s(d).isNew && !s(d).isUploading ? (l(), r($, { key: 0 }, [
3029
- s(d).isNew ? m("", !0) : (l(), r("div", sl, [
3030
- p(s(c), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
3055
+ }, null, 8, tl),
3056
+ !s(r).isNew && !s(r).isUploading ? (l(), d($, { key: 0 }, [
3057
+ s(r).isNew ? v("", !0) : (l(), d("div", nl, [
3058
+ m(s(c), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
3031
3059
  ])),
3032
- s(d).isDraggable && s(d).canRenderControls ? (l(), r("span", {
3060
+ s(r).isDraggable && s(r).canRenderControls ? (l(), d("span", {
3033
3061
  key: 1,
3034
3062
  class: "svc-context-button svc-image-item-value-controls__drag-area-indicator",
3035
- onPointerdown: y[0] || (y[0] = (D) => s(d).onPointerDown(D)),
3063
+ onPointerdown: y[0] || (y[0] = (D) => s(r).onPointerDown(D)),
3036
3064
  title: void 0,
3037
3065
  "aria-label": void 0
3038
3066
  }, [
3039
- p(s(c), {
3067
+ m(s(c), {
3040
3068
  is: "sv-svg-icon",
3041
3069
  iconName: "icon-drag-24x24",
3042
3070
  size: "auto"
3043
3071
  })
3044
- ], 32)) : m("", !0),
3045
- s(d).canRenderControls ? (l(), r("div", tl, [
3046
- h((l(), r("span", {
3072
+ ], 32)) : v("", !0),
3073
+ s(r).canRenderControls ? (l(), d("div", ll, [
3074
+ h((l(), d("span", {
3047
3075
  class: "svc-context-button",
3048
- onClick: y[1] || (y[1] = (D) => s(d).chooseFile(s(d))),
3076
+ onClick: y[1] || (y[1] = (D) => s(r).chooseFile(s(r))),
3049
3077
  title: void 0,
3050
3078
  "aria-label": void 0
3051
3079
  }, [
3052
- p(s(c), {
3080
+ m(s(c), {
3053
3081
  is: "sv-svg-icon",
3054
3082
  role: "button",
3055
3083
  iconName: "icon-choosefile",
3056
3084
  size: "auto",
3057
- title: s(d).selectFileTitle
3085
+ title: s(r).selectFileTitle
3058
3086
  }, null, 8, ["title"])
3059
3087
  ])), [
3060
3088
  [s(N)]
3061
3089
  ]),
3062
- h((l(), r("span", {
3090
+ h((l(), d("span", {
3063
3091
  class: "svc-context-button svc-context-button--danger",
3064
- onClick: y[2] || (y[2] = (D) => s(d).remove(s(d))),
3092
+ onClick: y[2] || (y[2] = (D) => s(r).remove(s(r))),
3065
3093
  title: void 0,
3066
3094
  "aria-label": void 0
3067
3095
  }, [
3068
- p(s(c), {
3096
+ m(s(c), {
3069
3097
  is: "sv-svg-icon",
3070
3098
  role: "button",
3071
3099
  iconName: "icon-delete",
3072
3100
  size: "auto",
3073
- title: s(d).removeFileTitle
3101
+ title: s(r).removeFileTitle
3074
3102
  }, null, 8, ["title"])
3075
3103
  ])), [
3076
3104
  [s(N)]
3077
3105
  ])
3078
- ])) : m("", !0)
3079
- ], 64)) : m("", !0),
3080
- s(d).isNew || s(d).isUploading ? (l(), r($, { key: 1 }, [
3106
+ ])) : v("", !0)
3107
+ ], 64)) : v("", !0),
3108
+ s(r).isNew || s(r).isUploading ? (l(), d($, { key: 1 }, [
3081
3109
  a("div", {
3082
3110
  class: "svc-image-item-value__item",
3083
- onDragover: y[3] || (y[3] = (D) => s(d).onDragOver(D)),
3084
- onDragleave: y[4] || (y[4] = (D) => s(d).onDragLeave(D)),
3085
- onDrop: y[5] || (y[5] = (D) => s(d).onDrop(D))
3111
+ onDragover: y[3] || (y[3] = (D) => s(r).onDragOver(D)),
3112
+ onDragleave: y[4] || (y[4] = (D) => s(r).onDragLeave(D)),
3113
+ onDrop: y[5] || (y[5] = (D) => s(r).onDrop(D))
3086
3114
  }, [
3087
- a("div", nl, [
3088
- a("label", ll, [
3115
+ a("div", il, [
3116
+ a("label", al, [
3089
3117
  a("div", {
3090
- style: F(v.value),
3118
+ style: K(p.value),
3091
3119
  class: "sd-imagepicker__image"
3092
3120
  }, [
3093
- s(d).isUploading ? (l(), r("div", il, [
3094
- p(s(c), { is: "sv-loading-indicator" })
3095
- ])) : m("", !0)
3121
+ s(r).isUploading ? (l(), d("div", rl, [
3122
+ m(s(c), { is: "sv-loading-indicator" })
3123
+ ])) : v("", !0)
3096
3124
  ], 4)
3097
3125
  ])
3098
3126
  ])
@@ -3101,85 +3129,85 @@ const ft = /* @__PURE__ */ g({
3101
3129
  class: "svc-image-item-value-controls",
3102
3130
  onPointerdown: y[7] || (y[7] = (D) => D.stopPropagation())
3103
3131
  }, [
3104
- s(d).allowAdd && !s(d).isUploading ? h((l(), r("span", {
3132
+ s(r).allowAdd && !s(r).isUploading ? h((l(), d("span", {
3105
3133
  key: 0,
3106
3134
  class: "svc-context-button svc-image-item-value-controls__add",
3107
- onClick: y[6] || (y[6] = (D) => s(d).chooseNewFile(s(d))),
3135
+ onClick: y[6] || (y[6] = (D) => s(r).chooseNewFile(s(r))),
3108
3136
  title: void 0,
3109
3137
  "aria-label": void 0
3110
3138
  }, [
3111
- p(s(c), {
3139
+ m(s(c), {
3112
3140
  is: "sv-svg-icon",
3113
3141
  iconName: "icon-add-lg",
3114
3142
  size: "auto",
3115
- title: s(d).addFileTitle
3143
+ title: s(r).addFileTitle
3116
3144
  }, null, 8, ["title"])
3117
3145
  ])), [
3118
3146
  [s(N)]
3119
- ]) : m("", !0)
3147
+ ]) : v("", !0)
3120
3148
  ], 32)
3121
- ], 64)) : m("", !0)
3149
+ ], 64)) : v("", !0)
3122
3150
  ])
3123
- ], 42, xn));
3151
+ ], 42, ol));
3124
3152
  }
3125
- }), rl = /* @__PURE__ */ g({
3153
+ }), ul = /* @__PURE__ */ g({
3126
3154
  __name: "QuestionEditor",
3127
3155
  props: {
3128
3156
  survey: {}
3129
3157
  },
3130
3158
  setup(u) {
3131
- const t = u, e = w(() => {
3159
+ const t = u, e = k(() => {
3132
3160
  var i;
3133
3161
  return (i = t.survey) == null ? void 0 : i.getAllQuestions()[0];
3134
- }), o = w(() => {
3162
+ }), o = k(() => {
3135
3163
  const i = t.survey;
3136
3164
  if (i && e.value) {
3137
- const d = i.getElementWrapperComponentName(e.value);
3138
- if (d)
3139
- return d;
3165
+ const r = i.getElementWrapperComponentName(e.value);
3166
+ if (r)
3167
+ return r;
3140
3168
  }
3141
3169
  return "survey-question";
3142
- }), n = w(() => {
3170
+ }), n = k(() => {
3143
3171
  const i = t.survey;
3144
- let d;
3145
- return i && e.value && (d = i.getElementWrapperComponentData(e.value)), {
3172
+ let r;
3173
+ return i && e.value && (r = i.getElementWrapperComponentData(e.value)), {
3146
3174
  componentName: "survey-question",
3147
3175
  componentData: {
3148
3176
  element: e.value,
3149
- data: d
3177
+ data: r
3150
3178
  }
3151
3179
  };
3152
3180
  });
3153
- return (i, d) => (l(), C(s(c), V({ is: o.value }, n.value), null, 16, ["is"]));
3181
+ return (i, r) => (l(), q(s(c), V({ is: o.value }, n.value), null, 16, ["is"]));
3154
3182
  }
3155
- }), dl = ["accept"], ul = { class: "svc-context-container svc-logo-image-controls" }, cl = {
3183
+ }), cl = ["accept"], vl = { class: "svc-context-container svc-logo-image-controls" }, pl = {
3156
3184
  key: 2,
3157
3185
  class: "svc-logo-image__loading"
3158
- }, vl = /* @__PURE__ */ g({
3186
+ }, ml = /* @__PURE__ */ g({
3159
3187
  __name: "Logo",
3160
3188
  props: {
3161
3189
  data: {}
3162
3190
  },
3163
3191
  setup(u) {
3164
- const t = u, e = w(() => t.data), o = w(() => e.value.survey), n = I(), i = z(
3165
- () => new Pe(e.value, null),
3192
+ const t = u, e = k(() => t.data), o = k(() => e.value.survey), n = E(), i = z(
3193
+ () => new Re(e.value, null),
3166
3194
  [() => e.value]
3167
- ), d = I(), v = () => {
3168
- d.value = o.value.locLogo.renderedHtml;
3195
+ ), r = E(), p = () => {
3196
+ r.value = o.value.locLogo.renderedHtml;
3169
3197
  };
3170
3198
  return G(
3171
3199
  () => o.value.locLogo,
3172
3200
  (b, y) => {
3173
- v(), b && b.onStringChanged.add(v), y && b.onStringChanged.remove(v);
3201
+ p(), b && b.onStringChanged.add(p), y && b.onStringChanged.remove(p);
3174
3202
  },
3175
3203
  {
3176
3204
  immediate: !0
3177
3205
  }
3178
3206
  ), B(() => {
3179
3207
  n.value && (i.value.root = n.value);
3180
- }), K(() => {
3208
+ }), L(() => {
3181
3209
  i.value && (i.value.root = void 0);
3182
- }), (b, y) => (l(), r("div", {
3210
+ }), (b, y) => (l(), d("div", {
3183
3211
  class: "svc-logo-image",
3184
3212
  ref_key: "root",
3185
3213
  ref: n
@@ -3190,9 +3218,9 @@ const ft = /* @__PURE__ */ g({
3190
3218
  tabindex: "-1",
3191
3219
  accept: s(i).acceptedTypes,
3192
3220
  class: "svc-choose-file-input"
3193
- }, null, 8, dl),
3194
- d.value ? m("", !0) : (l(), r($, { key: 0 }, [
3195
- s(i).allowEdit && !s(i).isUploading ? h((l(), r("div", {
3221
+ }, null, 8, cl),
3222
+ r.value ? v("", !0) : (l(), d($, { key: 0 }, [
3223
+ s(i).allowEdit && !s(i).isUploading ? h((l(), d("div", {
3196
3224
  key: 0,
3197
3225
  class: "svc-logo-image-placeholder",
3198
3226
  onClick: y[0] || (y[0] = (D) => s(i).chooseFile(s(i)))
@@ -3202,20 +3230,20 @@ const ft = /* @__PURE__ */ g({
3202
3230
  ], -1)
3203
3231
  ]))), [
3204
3232
  [s(N)]
3205
- ]) : m("", !0)
3233
+ ]) : v("", !0)
3206
3234
  ], 64)),
3207
- d.value && !s(i).isUploading ? (l(), r("div", {
3235
+ r.value && !s(i).isUploading ? (l(), d("div", {
3208
3236
  key: 1,
3209
3237
  class: _(s(i).containerCss)
3210
3238
  }, [
3211
- a("div", ul, [
3212
- h((l(), r("span", {
3239
+ a("div", vl, [
3240
+ h((l(), d("span", {
3213
3241
  class: "svc-context-button",
3214
3242
  onClick: y[1] || (y[1] = (D) => s(i).chooseFile(s(i))),
3215
3243
  title: void 0,
3216
3244
  "aria-label": void 0
3217
3245
  }, [
3218
- p(s(c), {
3246
+ m(s(c), {
3219
3247
  is: "sv-svg-icon",
3220
3248
  iconName: "icon-choosefile",
3221
3249
  size: "auto"
@@ -3223,13 +3251,13 @@ const ft = /* @__PURE__ */ g({
3223
3251
  ])), [
3224
3252
  [s(N)]
3225
3253
  ]),
3226
- h((l(), r("span", {
3254
+ h((l(), d("span", {
3227
3255
  class: "svc-context-button svc-context-button--danger",
3228
3256
  onClick: y[2] || (y[2] = (D) => s(i).remove(s(i))),
3229
3257
  title: void 0,
3230
3258
  "aria-label": void 0
3231
3259
  }, [
3232
- p(s(c), {
3260
+ m(s(c), {
3233
3261
  is: "sv-svg-icon",
3234
3262
  iconName: "icon-clear",
3235
3263
  size: "auto"
@@ -3238,20 +3266,20 @@ const ft = /* @__PURE__ */ g({
3238
3266
  [s(N)]
3239
3267
  ])
3240
3268
  ]),
3241
- p(s(c), {
3269
+ m(s(c), {
3242
3270
  is: "sv-logo-image",
3243
3271
  data: o.value
3244
3272
  }, null, 8, ["data"])
3245
- ], 2)) : m("", !0),
3246
- s(i).isUploading ? (l(), r("div", cl, [
3247
- p(s(c), { is: "sv-loading-indicator" })
3248
- ])) : m("", !0)
3273
+ ], 2)) : v("", !0),
3274
+ s(i).isUploading ? (l(), d("div", pl, [
3275
+ m(s(c), { is: "sv-loading-indicator" })
3276
+ ])) : v("", !0)
3249
3277
  ], 512));
3250
3278
  }
3251
- }), pl = {
3279
+ }), _l = {
3252
3280
  key: 0,
3253
3281
  class: "svc-search"
3254
- }, ml = { class: "svc-search__search-icon" }, _l = ["aria-label", "placeholder"], gl = { class: "svc-search__toolbar" }, bl = { class: "svc-search__toolbar-counter" }, yl = /* @__PURE__ */ g({
3282
+ }, gl = { class: "svc-search__search-icon" }, bl = ["aria-label", "placeholder"], yl = { class: "svc-search__toolbar" }, hl = { class: "svc-search__toolbar-counter" }, Cl = /* @__PURE__ */ g({
3255
3283
  __name: "Search",
3256
3284
  props: {
3257
3285
  model: {}
@@ -3259,16 +3287,16 @@ const ft = /* @__PURE__ */ g({
3259
3287
  setup(u) {
3260
3288
  const t = u;
3261
3289
  T(() => t.model);
3262
- const e = w({
3290
+ const e = k({
3263
3291
  get: () => t.model.filterString,
3264
3292
  set: (o) => {
3265
3293
  const n = t.model;
3266
3294
  n.filterString = o;
3267
3295
  }
3268
3296
  });
3269
- return (o, n) => o.model.isVisible ? (l(), r("div", pl, [
3270
- a("div", ml, [
3271
- p(s(c), {
3297
+ return (o, n) => o.model.isVisible ? (l(), d("div", _l, [
3298
+ a("div", gl, [
3299
+ m(s(c), {
3272
3300
  is: "sv-svg-icon",
3273
3301
  iconName: "icon-search",
3274
3302
  size: "auto"
@@ -3280,19 +3308,19 @@ const ft = /* @__PURE__ */ g({
3280
3308
  "onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i),
3281
3309
  "aria-label": o.model.filterStringPlaceholder,
3282
3310
  placeholder: o.model.filterStringPlaceholder
3283
- }, null, 8, _l), [
3284
- [de, e.value]
3311
+ }, null, 8, bl), [
3312
+ [ue, e.value]
3285
3313
  ]),
3286
- a("div", gl, [
3287
- a("div", bl, k(o.model.matchCounterText), 1),
3288
- p(s(c), {
3314
+ a("div", yl, [
3315
+ a("div", hl, f(o.model.matchCounterText), 1),
3316
+ m(s(c), {
3289
3317
  is: "sv-action-bar",
3290
3318
  model: o.model.searchActionBar
3291
3319
  }, null, 8, ["model"])
3292
3320
  ])
3293
- ])) : m("", !0);
3321
+ ])) : v("", !0);
3294
3322
  }
3295
- }), hl = ["title"], ql = /* @__PURE__ */ g({
3323
+ }), ql = ["title"], kl = /* @__PURE__ */ g({
3296
3324
  __name: "PageNavigator",
3297
3325
  props: {
3298
3326
  pagesController: {},
@@ -3300,9 +3328,9 @@ const ft = /* @__PURE__ */ g({
3300
3328
  },
3301
3329
  setup(u) {
3302
3330
  const t = u, e = z(
3303
- () => new Re(t.pagesController, t.pageEditMode),
3331
+ () => new Ve(t.pagesController, t.pageEditMode),
3304
3332
  [() => t.pagesController, () => t.pageEditMode]
3305
- ), o = I();
3333
+ ), o = E();
3306
3334
  return B(() => {
3307
3335
  if (t.pageEditMode !== "bypage") {
3308
3336
  const n = o.value;
@@ -3312,43 +3340,43 @@ const ft = /* @__PURE__ */ g({
3312
3340
  o.value;
3313
3341
  const n = e.value;
3314
3342
  n.stopItemsContainerHeightObserver(), n.setScrollableContainer(void 0);
3315
- }), K(() => {
3343
+ }), L(() => {
3316
3344
  e.value.dispose();
3317
- }), (n, i) => h((l(), r("div", {
3345
+ }), (n, i) => h((l(), d("div", {
3318
3346
  class: "svc-page-navigator",
3319
3347
  ref_key: "root",
3320
3348
  ref: o
3321
3349
  }, [
3322
- h((l(), r("div", {
3350
+ h((l(), d("div", {
3323
3351
  class: _(["svc-page-navigator__selector svc-page-navigator__button", { "svc-page-navigator__button--pressed": s(e).isPopupOpened }]),
3324
- onClick: i[0] || (i[0] = (d) => s(e).togglePageSelector(d)),
3352
+ onClick: i[0] || (i[0] = (r) => s(e).togglePageSelector(r)),
3325
3353
  title: s(e).pageSelectorCaption
3326
3354
  }, [
3327
- p(s(c), {
3355
+ m(s(c), {
3328
3356
  is: "sv-svg-icon",
3329
3357
  class: "svc-page-navigator__button-icon",
3330
3358
  iconName: s(e).icon,
3331
3359
  size: "auto"
3332
3360
  }, null, 8, ["iconName"]),
3333
- p(s(c), {
3361
+ m(s(c), {
3334
3362
  is: "sv-popup",
3335
3363
  model: s(e).popupModel
3336
3364
  }, null, 8, ["model"])
3337
- ], 10, hl)), [
3365
+ ], 10, ql)), [
3338
3366
  [s(N)]
3339
3367
  ]),
3340
3368
  a("div", null, [
3341
- (l(!0), r($, null, R(s(e).visibleItems, (d) => (l(), C(s(c), {
3369
+ (l(!0), d($, null, R(s(e).visibleItems, (r) => (l(), q(s(c), {
3342
3370
  is: "svc-page-navigator-item",
3343
- key: d.id,
3344
- model: d
3371
+ key: r.id,
3372
+ model: r
3345
3373
  }, null, 8, ["model"]))), 128))
3346
3374
  ])
3347
3375
  ], 512)), [
3348
- [L, s(e).visible]
3376
+ [F, s(e).visible]
3349
3377
  ]);
3350
3378
  }
3351
- }), Cl = { class: "svc-page-navigator-item" }, wl = ["title"], kl = { class: "svc-page-navigator-item__banner" }, fl = { class: "svc-page-navigator-item__text" }, $l = /* @__PURE__ */ g({
3379
+ }), fl = { class: "svc-page-navigator-item" }, wl = ["title"], $l = { class: "svc-page-navigator-item__banner" }, Tl = { class: "svc-page-navigator-item__text" }, Dl = /* @__PURE__ */ g({
3352
3380
  __name: "PageNavigatorItem",
3353
3381
  props: {
3354
3382
  model: {}
@@ -3359,8 +3387,8 @@ const ft = /* @__PURE__ */ g({
3359
3387
  const e = (o) => {
3360
3388
  t.model.action(), o.stopPropagation(), o.preventDefault();
3361
3389
  };
3362
- return (o, n) => (l(), r("div", Cl, [
3363
- h((l(), r("div", {
3390
+ return (o, n) => (l(), d("div", fl, [
3391
+ h((l(), d("div", {
3364
3392
  class: _(["svc-page-navigator-item-content", {
3365
3393
  "svc-page-navigator-item--selected": o.model.active,
3366
3394
  "svc-page-navigator-item--disabled": o.model.disabled
@@ -3373,8 +3401,8 @@ const ft = /* @__PURE__ */ g({
3373
3401
  }, n[1] || (n[1] = [
3374
3402
  a("div", { class: "svc-page-navigator-item__dot-content" }, null, -1)
3375
3403
  ]), 8, wl),
3376
- a("div", kl, [
3377
- a("span", fl, k(o.model.title), 1),
3404
+ a("div", $l, [
3405
+ a("span", Tl, f(o.model.title), 1),
3378
3406
  n[2] || (n[2] = a("span", { class: "svc-page-navigator-item__dot" }, [
3379
3407
  a("span", { class: "svc-page-navigator-item__dot-content" })
3380
3408
  ], -1))
@@ -3384,7 +3412,7 @@ const ft = /* @__PURE__ */ g({
3384
3412
  ])
3385
3413
  ]));
3386
3414
  }
3387
- }), Tl = { class: "svc-question__dropdown-choices--wrapper" }, Dl = { class: "svc-question__dropdown-choices" }, Nl = /* @__PURE__ */ g({
3415
+ }), Nl = { class: "svc-question__dropdown-choices--wrapper" }, Ml = { class: "svc-question__dropdown-choices" }, Sl = /* @__PURE__ */ g({
3388
3416
  __name: "Dropdown",
3389
3417
  props: {
3390
3418
  model: {},
@@ -3399,42 +3427,42 @@ const ft = /* @__PURE__ */ g({
3399
3427
  data: t.element.getItemValueWrapperComponentData(n)
3400
3428
  }
3401
3429
  });
3402
- return (n, i) => (l(), r("div", Tl, [
3430
+ return (n, i) => (l(), d("div", Nl, [
3403
3431
  a("div", null, [
3404
- a("div", Dl, [
3405
- (l(!0), r($, null, R(n.model.getRenderedItems(), (d) => (l(), r("div", {
3406
- key: d.value,
3432
+ a("div", Ml, [
3433
+ (l(!0), d($, null, R(n.model.getRenderedItems(), (r) => (l(), d("div", {
3434
+ key: r.value,
3407
3435
  class: _(n.model.getChoiceCss())
3408
3436
  }, [
3409
- p(s(c), V({
3410
- is: e(d),
3437
+ m(s(c), V({
3438
+ is: e(r),
3411
3439
  ref_for: !0
3412
- }, o(d)), null, 16, ["is"])
3440
+ }, o(r)), null, 16, ["is"])
3413
3441
  ], 2))), 128))
3414
3442
  ]),
3415
- n.model.needToCollapse ? (l(), C(s(c), {
3443
+ n.model.needToCollapse ? (l(), q(s(c), {
3416
3444
  key: 0,
3417
3445
  is: "svc-action-button",
3418
3446
  text: n.model.getButtonText(),
3419
3447
  click: n.model.switchCollapse.bind(n.model),
3420
3448
  allowBubble: !0
3421
- }, null, 8, ["text", "click"])) : m("", !0)
3449
+ }, null, 8, ["text", "click"])) : v("", !0)
3422
3450
  ])
3423
3451
  ]));
3424
3452
  }
3425
- }), Ml = /* @__PURE__ */ g({
3453
+ }), Il = /* @__PURE__ */ g({
3426
3454
  __name: "QuestionDropdown",
3427
3455
  props: {
3428
3456
  componentName: {},
3429
3457
  componentData: {}
3430
3458
  },
3431
3459
  setup(u) {
3432
- const t = u, e = () => new Ve(
3460
+ const t = u, e = () => new ze(
3433
3461
  t.componentData.data,
3434
3462
  t.componentData.element,
3435
3463
  null
3436
3464
  );
3437
- return (o, n) => (l(), C(te, {
3465
+ return (o, n) => (l(), q(te, {
3438
3466
  "create-model": e,
3439
3467
  element: o.componentData.element,
3440
3468
  "component-name": o.componentName,
@@ -3442,14 +3470,14 @@ const ft = /* @__PURE__ */ g({
3442
3470
  "adorner-component": "svc-dropdown-question-adorner"
3443
3471
  }, null, 8, ["element", "component-name", "component-data"]));
3444
3472
  }
3445
- }), Sl = { class: "svc-question__adorner" }, El = { class: "svc-question__content svc-question__content--in-popup" }, Il = { class: "svc-question__dropdown-choices" }, ae = "survey-radiogroup-item", Bl = /* @__PURE__ */ g({
3473
+ }), El = { class: "svc-question__adorner" }, Bl = { class: "svc-question__content svc-question__content--in-popup" }, Pl = { class: "svc-question__dropdown-choices" }, ae = "survey-radiogroup-item", Rl = /* @__PURE__ */ g({
3446
3474
  __name: "CellQuestionDropdown",
3447
3475
  props: {
3448
3476
  componentName: {},
3449
3477
  componentData: {}
3450
3478
  },
3451
3479
  setup(u) {
3452
- const t = u, e = w(
3480
+ const t = u, e = k(
3453
3481
  () => t.componentData.element
3454
3482
  ), o = (i) => e.value.getItemValueWrapperComponentName(i) || ae, n = (i) => ({
3455
3483
  componentName: ae,
@@ -3459,37 +3487,37 @@ const ft = /* @__PURE__ */ g({
3459
3487
  data: e.value.getItemValueWrapperComponentData(i)
3460
3488
  }
3461
3489
  });
3462
- return T(() => e.value), (i, d) => (l(), r("div", Sl, [
3463
- a("div", El, [
3464
- p(s(c), V({ is: i.componentName }, i.componentData), null, 16, ["is"]),
3465
- a("div", Il, [
3466
- (l(!0), r($, null, R(e.value.visibleChoices, (v) => (l(), r("div", {
3467
- key: v.value,
3490
+ return T(() => e.value), (i, r) => (l(), d("div", El, [
3491
+ a("div", Bl, [
3492
+ m(s(c), V({ is: i.componentName }, i.componentData), null, 16, ["is"]),
3493
+ a("div", Pl, [
3494
+ (l(!0), d($, null, R(e.value.visibleChoices, (p) => (l(), d("div", {
3495
+ key: p.value,
3468
3496
  class: "svc-question__dropdown-choice"
3469
3497
  }, [
3470
- p(s(c), V({
3471
- is: o(v),
3498
+ m(s(c), V({
3499
+ is: o(p),
3472
3500
  ref_for: !0
3473
- }, n(v)), null, 16, ["is"])
3501
+ }, n(p)), null, 16, ["is"])
3474
3502
  ]))), 128))
3475
3503
  ])
3476
3504
  ])
3477
3505
  ]));
3478
3506
  }
3479
- }), Pl = ["data-sv-drop-target-survey-element"], Rl = { class: "svc-widget__content" }, Vl = {
3507
+ }), Vl = ["data-sv-drop-target-survey-element"], zl = { class: "svc-widget__content" }, Al = {
3480
3508
  key: 1,
3481
3509
  class: "svc-panel__placeholder_frame"
3482
- }, zl = { class: "svc-question__content-actions" }, Al = {
3510
+ }, Ll = { class: "svc-question__content-actions" }, Fl = {
3483
3511
  key: 0,
3484
3512
  class: "svc-panel__placeholder_frame"
3485
- }, Ll = { class: "svc-panel__placeholder" }, Fl = /* @__PURE__ */ g({
3513
+ }, Kl = { class: "svc-panel__placeholder" }, Ul = /* @__PURE__ */ g({
3486
3514
  __name: "CustomWidget",
3487
3515
  props: {
3488
3516
  componentName: {},
3489
3517
  componentData: {}
3490
3518
  },
3491
3519
  setup(u) {
3492
- const t = u, e = I(), o = z(
3520
+ const t = u, e = E(), o = z(
3493
3521
  () => new se(
3494
3522
  t.componentData.data,
3495
3523
  t.componentData.element,
@@ -3504,48 +3532,48 @@ const ft = /* @__PURE__ */ g({
3504
3532
  e.value && o.value && (o.value.rootElement = e.value);
3505
3533
  }), B(() => {
3506
3534
  e.value && o.value && (o.value.rootElement = e.value);
3507
- }), (n, i) => s(o) ? (l(), r("div", {
3535
+ }), (n, i) => s(o) ? (l(), d("div", {
3508
3536
  key: 0,
3509
3537
  class: _(["svc-question__adorner", s(o).rootCss()]),
3510
- onMouseover: i[2] || (i[2] = (d) => s(o).hover(d, d.currentTarget)),
3511
- onMouseleave: i[3] || (i[3] = (d) => s(o).hover(d, d.currentTarget)),
3538
+ onMouseover: i[2] || (i[2] = (r) => s(o).hover(r, r.currentTarget)),
3539
+ onMouseleave: i[3] || (i[3] = (r) => s(o).hover(r, r.currentTarget)),
3512
3540
  "data-sv-drop-target-survey-element": s(o).element.name || null,
3513
3541
  ref_key: "root",
3514
3542
  ref: e
3515
3543
  }, [
3516
- s(o).element.isInteractiveDesignElement ? h((l(), r("div", {
3544
+ s(o).element.isInteractiveDesignElement ? h((l(), d("div", {
3517
3545
  key: 0,
3518
3546
  class: _(["svc-question__content", s(o).css()]),
3519
- onClick: i[1] || (i[1] = (d) => s(o).select(s(o), d)),
3547
+ onClick: i[1] || (i[1] = (r) => s(o).select(s(o), r)),
3520
3548
  "data-bind": "clickBubble: false"
3521
3549
  }, [
3522
3550
  i[5] || (i[5] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1)),
3523
3551
  i[6] || (i[6] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1)),
3524
3552
  i[7] || (i[7] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1)),
3525
3553
  i[8] || (i[8] = a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1)),
3526
- s(o).allowDragging ? (l(), r("div", {
3554
+ s(o).allowDragging ? (l(), d("div", {
3527
3555
  key: 0,
3528
3556
  class: "svc-question__drag-area",
3529
- onPointerdown: i[0] || (i[0] = (d) => s(o).onPointerDown(d))
3557
+ onPointerdown: i[0] || (i[0] = (r) => s(o).onPointerDown(r))
3530
3558
  }, [
3531
- p(s(c), {
3559
+ m(s(c), {
3532
3560
  is: "sv-svg-icon",
3533
3561
  class: "svc-question__drag-element",
3534
3562
  iconName: "icon-drag-area-indicator_24x16",
3535
3563
  size: "auto"
3536
3564
  })
3537
- ], 32)) : m("", !0),
3538
- a("div", Rl, [
3539
- p(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"])
3565
+ ], 32)) : v("", !0),
3566
+ a("div", zl, [
3567
+ m(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"])
3540
3568
  ]),
3541
- s(o).isEmptyElement ? (l(), r("div", Vl, i[4] || (i[4] = [
3569
+ s(o).isEmptyElement ? (l(), d("div", Al, i[4] || (i[4] = [
3542
3570
  a("div", {
3543
3571
  class: "svc-panel__placeholder",
3544
3572
  "data-bind": "text: placeholderText"
3545
3573
  }, null, -1)
3546
- ]))) : m("", !0),
3547
- a("div", zl, [
3548
- p(s(c), {
3574
+ ]))) : v("", !0),
3575
+ a("div", Ll, [
3576
+ m(s(c), {
3549
3577
  is: "sv-action-bar",
3550
3578
  model: s(o).actionContainer,
3551
3579
  handleClick: !1
@@ -3553,26 +3581,26 @@ const ft = /* @__PURE__ */ g({
3553
3581
  ])
3554
3582
  ], 2)), [
3555
3583
  [s(N)]
3556
- ]) : m("", !0),
3557
- s(o).element.isInteractiveDesignElement ? m("", !0) : (l(), r($, { key: 1 }, [
3558
- p(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
3559
- s(o).isEmptyElement ? (l(), r("div", Al, [
3560
- a("div", Ll, k(s(o).placeholderText), 1)
3561
- ])) : m("", !0)
3584
+ ]) : v("", !0),
3585
+ s(o).element.isInteractiveDesignElement ? v("", !0) : (l(), d($, { key: 1 }, [
3586
+ m(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
3587
+ s(o).isEmptyElement ? (l(), d("div", Fl, [
3588
+ a("div", Kl, f(s(o).placeholderText), 1)
3589
+ ])) : v("", !0)
3562
3590
  ], 64))
3563
- ], 42, Pl)) : m("", !0);
3591
+ ], 42, Vl)) : v("", !0);
3564
3592
  }
3565
- }), Kl = { class: "svc-carry-forward-panel-wrapper" }, Ul = { class: "svc-carry-forward-panel" }, Hl = { class: "svc-carry-forward-panel__link" }, Ol = /* @__PURE__ */ g({
3593
+ }), Hl = { class: "svc-carry-forward-panel-wrapper" }, Ol = { class: "svc-carry-forward-panel" }, Ql = { class: "svc-carry-forward-panel__link" }, Gl = /* @__PURE__ */ g({
3566
3594
  __name: "QuestionBanner",
3567
3595
  props: {
3568
3596
  model: {}
3569
3597
  },
3570
3598
  setup(u) {
3571
- return (t, e) => (l(), r("div", Kl, [
3572
- a("div", Ul, [
3573
- a("span", null, k(t.model.text) + k(" "), 1),
3574
- a("span", Hl, [
3575
- p(s(c), {
3599
+ return (t, e) => (l(), d("div", Hl, [
3600
+ a("div", Ol, [
3601
+ a("span", null, f(t.model.text) + f(" "), 1),
3602
+ a("span", Ql, [
3603
+ m(s(c), {
3576
3604
  is: "svc-action-button",
3577
3605
  text: t.model.actionText,
3578
3606
  click: t.model.onClick.bind(t.model)
@@ -3582,27 +3610,27 @@ const ft = /* @__PURE__ */ g({
3582
3610
  ]));
3583
3611
  }
3584
3612
  });
3585
- function Ql(u, t, e) {
3613
+ function Wl(u, t, e) {
3586
3614
  u(t, e);
3587
3615
  }
3588
- function ve(u) {
3589
- const t = Ql.bind(
3616
+ function pe(u) {
3617
+ const t = Wl.bind(
3590
3618
  void 0,
3591
3619
  u
3592
3620
  );
3593
- t("svc-tabbed-menu", Je), t("svc-tabbed-menu-item-wrapper", Xe), t("svc-tabbed-menu-item", Ye), t("svc-side-bar", so), t("svc-side-bar-default-header", io), t("svc-side-bar-page", ao), t("svc-tabs", vo), t("svc-tab-control", yo), t("svc-tab-button", ko), t("svc-property-grid-placeholder", No), t("svc-side-bar-header", Po), t("svc-side-bar-property-grid-header", Ko), t("svc-property-grid", co), t("svc-object-selector", ro), t("svc-search", yl), t("svc-scroll", X), t("svc-switcher", Xo), t("svc-action-button", Wo), t("svc-question-error", Uo), t("survey-embeddedsurvey", Os), t("sv-logic-operator", Hs), t("survey-linkvalue", Qs), t("survey-color", dt), t("color-item", ut), t("sv-boolean-switch", ft), t("survey-fileedit", _t), t("survey-spinedit", ht), t("survey-textwithreset", le), t("survey-commentwithreset", le), t("survey-widget", Q), t("survey-simulator", es), t("svc-tab-test", as), t("svc-complete-page", ds), t("survey-results", qs), t("survey-results-table-row", ws), t("json-error-item", Rs), t("svc-tab-json-editor-textarea", Es), t("svc-tab-json-editor-ace", Ts), t("svc-tab-translation", Zs), t("sd-translation-line-skeleton", ot), t("svc-translate-from-action", st), t("svc-tab-logic", Fs), t("svc-tab-theme", it), t("svc-toolbox", Pt), t("svc-toolbox-list", Gt), t("svc-toolbox-category", Qt), t("svc-toolbox-tool", Vt), t("svc-toolbox-item", Ft), t("svc-toolbox-item-group", Kt), t(ze, St), t("svc-tab-designer", nn), t("svc-page-navigator", ql), t("svc-page-navigator-item", $l), t("svc-page", vn), t("svc-row", bn), t("svc-add-new-question-btn", mn), t("svc-add-question-type-selector", gn), t("svc-question", ie), t("svc-rating-question", ie), t("svc-rating-question-content", In), t("svc-image-question", fn), t("svc-image-question-adorner", Sn), t("svc-matrix-cell", Pn), t("svc-cell-question", zn), t("svc-cell-dropdown-question", Bl), t("svc-question-editor-content", rl), t("svc-logo-image", vl), t("svc-panel", jn), t("svc-item-value", Yn), t("svc-image-item-value", al), t("svc-dropdown-question", Ml), t("svc-dropdown-question-adorner", Nl), t("svc-widget-question", Fl), t("svc-question-banner", Ol);
3621
+ t("svc-tabbed-menu", Ze), t("svc-tabbed-menu-item-wrapper", Ye), t("svc-tabbed-menu-item", xe), t("svc-side-bar", to), t("svc-side-bar-default-header", ao), t("svc-side-bar-page", ro), t("svc-tabs", po), t("svc-tab-control", ho), t("svc-tab-button", wo), t("svc-property-grid-placeholder", Mo), t("svc-side-bar-header", Ro), t("svc-side-bar-property-grid-header", Uo), t("svc-property-grid", vo), t("svc-object-selector", uo), t("svc-search", Cl), t("svc-scroll", X), t("svc-switcher", Yo), t("svc-action-button", jo), t("svc-question-error", Ho), t("survey-embeddedsurvey", Qs), t("sv-logic-operator", Os), t("survey-linkvalue", Gs), t("survey-color", ut), t("color-item", ct), t("sv-boolean-switch", $t), t("survey-fileedit", gt), t("survey-spinedit", Ct), t("survey-textwithreset", le), t("survey-commentwithreset", le), t("survey-widget", Q), t("survey-simulator", os), t("svc-tab-preview", rs), t("svc-complete-page", us), t("survey-results", qs), t("survey-results-table-row", fs), t("json-error-item", Vs), t("svc-tab-json-editor-textarea", Es), t("svc-tab-json-editor-ace", Ds), t("svc-tab-translation", Xs), t("sd-translation-line-skeleton", st), t("svc-translate-from-action", tt), t("svc-tab-logic", Ks), t("svc-tab-theme", at), t("svc-toolbox", Rt), t("svc-toolbox-list", jt), t("svc-toolbox-category", Wt), t("svc-toolbox-tool", zt), t("svc-toolbox-item", Kt), t("svc-toolbox-item-group", Ut), t(Ae, It), t("svc-tab-designer", an), t("svc-page-navigator", kl), t("svc-page-navigator-item", Dl), t("svc-page", mn), t("svc-row", hn), t("svc-add-new-question-btn", gn), t("svc-add-question-type-selector", yn), t("svc-question", ie), t("svc-rating-question", ie), t("svc-rating-question-content", Pn), t("svc-image-question", Tn), t("svc-image-question-adorner", En), t("svc-matrix-cell", Vn), t("svc-cell-question", Ln), t("svc-cell-dropdown-question", Rl), t("svc-question-editor-content", ul), t("svc-logo-image", ml), t("svc-panel", Zn), t("svc-item-value", el), t("svc-image-item-value", dl), t("svc-dropdown-question", Il), t("svc-dropdown-question-adorner", Sl), t("svc-widget-question", Ul), t("svc-question-banner", Gl);
3594
3622
  }
3595
- ve(
3623
+ pe(
3596
3624
  (u, t) => re.Instance.registerComponent(u, t)
3597
3625
  );
3598
- const Zl = {
3626
+ const Yl = {
3599
3627
  install(u) {
3600
- u.component("SurveyCreatorComponent", je), ve((t, e) => {
3628
+ u.component("SurveyCreatorComponent", Je), pe((t, e) => {
3601
3629
  u.component(t, e), re.Instance.registerComponent(t, t);
3602
3630
  });
3603
3631
  }
3604
3632
  };
3605
3633
  export {
3606
- je as SurveyCreatorComponent,
3607
- Zl as surveyCreatorPlugin
3634
+ Je as SurveyCreatorComponent,
3635
+ Yl as surveyCreatorPlugin
3608
3636
  };