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