survey-creator-vue 2.0.10 → 2.1.1

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 u, 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({
@@ -17,20 +17,20 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
17
17
  model: {}
18
18
  },
19
19
  setup(c) {
20
- const t = c, e = k(() => ge(t.model)), o = I();
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 }, [
30
+ }), (n, r) => e.value.isCreatorDisposed ? p("", !0) : (a(), i(w, { key: 0 }, [
31
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
@@ -39,24 +39,24 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
39
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, [
53
+ e.value.showTabs ? (a(), i("div", Fe, [
54
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
@@ -68,30 +68,30 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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
86
  v(s(u), {
87
- is: r.componentContent,
88
- model: r.data.model
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
@@ -100,7 +100,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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
106
  e.value.sidebar ? (a(), h(s(u), {
@@ -109,7 +109,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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
@@ -136,16 +136,16 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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(u), {
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
  }
@@ -158,14 +158,14 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
158
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
  }, [
@@ -184,25 +184,25 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
184
184
  },
185
185
  setup(c) {
186
186
  const t = c;
187
- return T(() => t.item), (e, o) => C((a(), l("div", {
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),
198
+ class: m(e.item.getTitleCss())
199
+ }, k(e.item.title), 3)) : p("", !0),
200
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)), [
@@ -220,17 +220,17 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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",
@@ -241,15 +241,15 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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(u), {
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
254
  o.model.sideAreaComponentName ? (a(), h(s(u), {
255
255
  key: 0,
@@ -258,7 +258,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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 = {
@@ -271,14 +271,14 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
271
271
  },
272
272
  setup(c) {
273
273
  const t = c;
274
- return T(() => t.model), (e, o) => (a(), l("div", no, [
274
+ return T(() => t.model), (e, o) => (a(), i("div", no, [
275
275
  d("div", ao, [
276
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({
@@ -314,14 +314,14 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
314
314
  },
315
315
  setup(c) {
316
316
  const t = c;
317
- return T(() => t.model), (e, o) => (a(), l("div", {
318
- class: _(e.model.rootCss)
317
+ return T(() => t.model), (e, o) => (a(), i("div", {
318
+ class: m(e.model.rootCss)
319
319
  }, [
320
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)
@@ -334,8 +334,8 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
334
334
  },
335
335
  setup(c) {
336
336
  const t = c;
337
- return T(() => t.model), (e, o) => (a(!0), l(w, null, V(e.model.actions, (n, i) => (a(), h(s(u), {
338
- key: i,
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));
@@ -349,8 +349,8 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
349
349
  },
350
350
  setup(c) {
351
351
  const t = c;
352
- return T(() => t.model), (e, o) => (a(), l("div", {
353
- class: _(e.model.sideBarClassName)
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, [
@@ -382,24 +382,24 @@ 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
393
  setup(c) {
394
394
  const t = c;
395
- return T(() => t.model), (e, o) => e.model.visible ? (a(), l("div", qo, [
396
- C((a(), l("div", {
397
- class: _(e.model.buttonClassName),
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, [
401
+ d("div", $o, [
402
+ d("div", ko, [
403
403
  v(s(u), {
404
404
  is: "sv-svg-icon",
405
405
  iconName: e.model.iconName,
@@ -407,7 +407,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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);
@@ -419,10 +419,10 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
419
419
  __name: "PropertyGridPlaceholder",
420
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
  ]));
@@ -440,31 +440,31 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
440
440
  },
441
441
  setup(c) {
442
442
  const t = c;
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)
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
456
  setup(c) {
457
457
  const t = c;
458
- return T(() => t.model), (e, o) => (a(), l("div", Ao, [
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 }]
@@ -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: {},
@@ -486,15 +486,15 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
486
486
  element: {}
487
487
  },
488
488
  setup(c) {
489
- return (t, e) => (a(), l("div", { key: t.errorKey }, [
489
+ return (t, e) => (a(), i("div", { key: t.errorKey }, [
490
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
  }, [
@@ -505,7 +505,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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: {},
@@ -520,29 +520,29 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
520
520
  setup(c) {
521
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
548
  v(s(u), {
@@ -551,10 +551,10 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
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
560
  v(s(u), {
@@ -583,8 +583,8 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
583
583
  },
584
584
  setup(c) {
585
585
  const t = c;
586
- return T(() => t.item), (e, o) => C((a(), l("button", {
587
- class: _(e.item.getActionBarItemCss()),
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
  ]);
@@ -617,24 +617,24 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
617
617
  setup(c) {
618
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, [
631
+ r.model.hasFrame ? p("", !0) : (a(), i("div", ss, [
632
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",
@@ -654,7 +654,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
654
654
  d("div", ts, [
655
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)
@@ -670,13 +670,13 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
670
670
  },
671
671
  setup(c) {
672
672
  const t = c;
673
- return (e, o) => (a(), l("div", as, [
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
  }
@@ -690,8 +690,8 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
690
690
  },
691
691
  setup(c) {
692
692
  const t = c;
693
- return T(() => t.model), (e, o) => (a(), l("div", {
694
- class: _(["svc-creator-tab__content svc-test-tab__content", {
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,7 +701,7 @@ 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())
@@ -716,7 +716,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
716
716
  survey: e.model.survey
717
717
  }, null, 8, ["survey"])) : p("", !0)
718
718
  ], 32)),
719
- e.model.isPageToolbarVisible ? (a(), l("div", ds, [
719
+ e.model.isPageToolbarVisible ? (a(), i("div", ds, [
720
720
  v(s(u), {
721
721
  is: "sv-action-bar",
722
722
  model: e.model.pages
@@ -731,13 +731,13 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
731
731
  model: {}
732
732
  },
733
733
  setup(c) {
734
- const t = c, e = k(() => t.model.testAgainAction);
735
- return T(() => e.value), (o, n) => C((a(), l("div", {
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
  ]);
@@ -745,7 +745,7 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
745
745
  });
746
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
750
  o.value = c();
751
751
  },
@@ -760,20 +760,20 @@ function z(c, 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
768
  setup(c) {
769
769
  const t = c, e = z(
770
- () => t.survey ? new $e(t.survey) : void 0,
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
778
  v(s(u), {
779
779
  is: "svc-action-button",
@@ -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(u), {
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);
@@ -825,8 +825,8 @@ const vs = {
825
825
  },
826
826
  setup(c) {
827
827
  const t = c;
828
- return T(() => t.model), (e, o) => (a(), l(w, null, [
829
- C((a(), l("tr", {
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,9 +834,9 @@ 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
842
  v(s(u), {
@@ -849,21 +849,21 @@ const vs = {
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(u), {
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
  }
@@ -874,20 +874,20 @@ const vs = {
874
874
  },
875
875
  setup(c) {
876
876
  const t = c, e = I();
877
- return T(() => t.model), P(() => t.model.init(window.ace.edit(e.value))), (o, n) => (a(), l("div", Ts, [
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, [
884
+ q(d("div", Ns, [
885
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
  ]));
@@ -902,27 +902,27 @@ const vs = {
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, [
919
+ q(d("div", Es, [
920
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
  ]));
@@ -938,12 +938,12 @@ const vs = {
938
938
  const e = (o) => {
939
939
  o.stopPropagation(), t.item.data.fixError();
940
940
  };
941
- return (o, n) => (a(), l(w, null, [
941
+ return (o, n) => (a(), i(w, null, [
942
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, [
@@ -952,7 +952,7 @@ const vs = {
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,
@@ -982,14 +982,14 @@ const vs = {
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
  ]);
@@ -1004,12 +1004,12 @@ const vs = {
1004
1004
  },
1005
1005
  setup(c) {
1006
1006
  const t = c;
1007
- return T(() => t.model), (e, o) => (a(), l("div", Fs, [
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
1045
  setup(c) {
1046
- const t = c, e = I(), o = k(() => t.question.dropdownListModel ?? new Ce(t.question));
1047
- O(t, e, (m) => {
1048
- fe(m);
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(u), {
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(u), {
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),
1086
+ ], 2)
1087
+ ], 42, Qs),
1105
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(u), {
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({
@@ -1128,9 +1111,9 @@ const Qs = /* @__PURE__ */ g({
1128
1111
  },
1129
1112
  setup(c) {
1130
1113
  const t = c, 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(u), {
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,
@@ -1145,7 +1128,7 @@ const Qs = /* @__PURE__ */ g({
1145
1128
  },
1146
1129
  setup(c) {
1147
1130
  const t = c, e = I(), o = ue.getString("pe.clear");
1148
- return O(t, e), (n, i) => (a(), l(w, null, [
1131
+ return H(t, e), (n, r) => (a(), i(w, null, [
1149
1132
  v(s(u), {
1150
1133
  is: "svc-action-button",
1151
1134
  text: n.question.linkValueText,
@@ -1176,8 +1159,8 @@ const Qs = /* @__PURE__ */ g({
1176
1159
  },
1177
1160
  setup(c) {
1178
1161
  const t = c;
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" : ""])
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
  ])
@@ -1208,7 +1191,7 @@ const Qs = /* @__PURE__ */ g({
1208
1191
  return e;
1209
1192
  }, et = {}, ot = { class: "sd-translation-line-skeleton" };
1210
1193
  function st(c, t) {
1211
- return a(), l("div", ot);
1194
+ return a(), i("div", ot);
1212
1195
  }
1213
1196
  const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1214
1197
  __name: "TranslateFromAction",
@@ -1216,12 +1199,12 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1216
1199
  item: {}
1217
1200
  },
1218
1201
  setup(c) {
1219
- return (t, e) => (a(), l("div", {
1220
- class: _(t.item.data.containerCss)
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),
1206
+ class: m(t.item.data.additionalTitleCss)
1207
+ }, k(t.item.data.additionalTitle), 3),
1225
1208
  v(s(u), {
1226
1209
  is: "sv-action-bar-item-dropdown",
1227
1210
  item: t.item
@@ -1241,8 +1224,8 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1241
1224
  },
1242
1225
  setup(c) {
1243
1226
  const t = c;
1244
- return T(() => t.model), (e, o) => (a(), l("div", {
1245
- class: _(["svc-creator-tab__content svc-test-tab__content", {
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,7 +1235,7 @@ 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, [
1238
+ e.model.survey.isEmpty ? p("", !0) : (a(), i("div", at, [
1256
1239
  v(s(u), {
1257
1240
  is: "survey-simulator",
1258
1241
  model: e.model.simulator
@@ -1263,7 +1246,7 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1263
1246
  survey: e.model.survey
1264
1247
  }, null, 8, ["survey"])) : p("", !0)
1265
1248
  ])),
1266
- e.model.isPageToolbarVisible ? (a(), l("div", lt, [
1249
+ e.model.isPageToolbarVisible ? (a(), i("div", lt, [
1267
1250
  v(s(u), {
1268
1251
  is: "sv-action-bar",
1269
1252
  model: e.model.pages
@@ -1277,13 +1260,13 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1277
1260
  question: {}
1278
1261
  },
1279
1262
  setup(c) {
1280
- return O(c, I()), (e, o) => (a(), l("div", {
1281
- class: _(e.question.cssClasses.root),
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
1272
  v(s(u), {
@@ -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,12 +1308,12 @@ 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
1318
  v(s(u), {
1336
1319
  is: "sv-action-bar-item",
@@ -1354,7 +1337,7 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1354
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())
@@ -1372,36 +1355,36 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1372
1355
  },
1373
1356
  setup(c) {
1374
1357
  const t = I();
1375
- return O(c, 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,17 +1395,17 @@ 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
1410
  v(s(u), {
1428
1411
  is: "sv-svg-icon",
@@ -1432,12 +1415,12 @@ 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
1425
  v(s(u), {
1443
1426
  is: "sv-svg-icon",
@@ -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
1442
  setup(c) {
1460
- return O(c, I()), (e, o) => (a(), l("div", {
1461
- class: _(e.question.cssClasses.root),
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
@@ -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
@@ -1543,25 +1526,25 @@ 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
1534
  setup(c) {
1552
1535
  const t = c, e = () => "survey-" + t.question.wrappedQuestionTemplate;
1553
- return O(t, I()), (o, n) => (a(), l("div", {
1554
- class: _(o.question.getRootClass())
1536
+ return H(t, I()), (o, n) => (a(), i("div", {
1537
+ class: m(o.question.getRootClass())
1555
1538
  }, [
1556
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
1550
  v(s(u), {
@@ -1569,15 +1552,15 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
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(
@@ -1593,17 +1576,17 @@ const Nt = /* @__PURE__ */ g({
1593
1576
  },
1594
1577
  setup(c) {
1595
1578
  const t = c, e = I(null);
1596
- O(t, e);
1597
- const o = k({
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 }]
@@ -1631,7 +1614,7 @@ const Nt = /* @__PURE__ */ g({
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,
@@ -1642,163 +1625,163 @@ const Nt = /* @__PURE__ */ g({
1642
1625
  locString: {}
1643
1626
  },
1644
1627
  setup(c) {
1645
- const t = c, e = k(() => t.locString.locStr), o = k(() => t.locString.creator), n = I(), i = I(), r = z(
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),
@@ -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 = {
@@ -1828,31 +1811,31 @@ const Nt = /* @__PURE__ */ g({
1828
1811
  model: {}
1829
1812
  },
1830
1813
  setup(c) {
1831
- const t = c, e = k(() => t.model.toolbox), o = I();
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, [
1835
+ e.value.showSearch ? (a(), i("div", At, [
1853
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,
@@ -1864,21 +1847,21 @@ const Nt = /* @__PURE__ */ g({
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),
1850
+ e.value.showPlaceholder ? (a(), i("div", Lt, k(e.value.toolboxNoResultsFound), 1)) : p("", !0),
1868
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(u), {
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(u), {
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: {},
@@ -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
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({
@@ -1959,15 +1942,15 @@ const Nt = /* @__PURE__ */ g({
1959
1942
  viewModel: {}
1960
1943
  },
1961
1944
  setup(c) {
1962
- return (t, e) => (a(), l(w, null, [
1963
- C((a(), l("div", {
1964
- class: _(["svc-toolbox__item", t.item.renderedCss]),
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, [
1953
+ d("span", Ot, [
1971
1954
  t.item.iconName ? (a(), h(s(u), {
1972
1955
  key: 0,
1973
1956
  is: "sv-svg-icon",
@@ -1976,11 +1959,11 @@ 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))
@@ -1991,7 +1974,7 @@ const Nt = /* @__PURE__ */ g({
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
  }
@@ -2009,7 +1992,7 @@ const Nt = /* @__PURE__ */ g({
2009
1992
  }, o = (n) => {
2010
1993
  t.viewModel.onMouseLeave(t.item, n);
2011
1994
  };
2012
- return (n, i) => (a(), l(w, null, [
1995
+ return (n, r) => (a(), i(w, null, [
2013
1996
  v(s(u), {
2014
1997
  is: "svc-toolbox-item",
2015
1998
  viewModel: n.viewModel,
@@ -2045,25 +2028,25 @@ const Nt = /* @__PURE__ */ g({
2045
2028
  },
2046
2029
  setup(c) {
2047
2030
  const t = c;
2048
- return T(() => t.category), (e, o) => (a(), l("div", {
2049
- class: _(["svc-toolbox__category", {
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, [
2044
+ d("span", Zt, k(e.category.title), 1),
2045
+ e.toolbox.canCollapseCategories ? (a(), i("div", Xt, [
2063
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(u), {
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,
@@ -2089,14 +2072,14 @@ const Nt = /* @__PURE__ */ g({
2089
2072
  },
2090
2073
  setup(c) {
2091
2074
  const t = c, e = _e(() => t.model.renderedActions);
2092
- return T(() => t.model), (o, n) => (a(), l("div", {
2093
- class: _(o.model.cssClasses.root)
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(u), {
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))
@@ -2129,8 +2112,8 @@ const Nt = /* @__PURE__ */ g({
2129
2112
  model: {}
2130
2113
  },
2131
2114
  setup(c) {
2132
- const t = c, e = k(() => t.model.survey);
2133
- return T(() => t.model), T(() => e.value), (o, n) => (a(), l(w, null, [
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
2118
  o.model.isToolboxVisible ? (a(), h(s(u), {
2136
2119
  key: 0,
@@ -2139,15 +2122,15 @@ const Nt = /* @__PURE__ */ g({
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
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, [
2132
+ o.model.showPlaceholder ? (a(), i(w, { key: 0 }, [
2133
+ o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (a(), i("div", sn, [
2151
2134
  v(s(u), {
2152
2135
  is: "survey-header",
2153
2136
  survey: o.model.creator.survey
@@ -2170,35 +2153,35 @@ 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, [
2164
+ o.model.creator.allowEditSurveyTitle ? (a(), i("div", an, [
2182
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
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,
@@ -2212,15 +2195,15 @@ 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, [
2198
+ o.model.showSurfaceTools ? (a(), i("div", dn, [
2199
+ o.model.creator.showPageNavigator ? (a(), i("div", cn, [
2217
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, [
2206
+ o.model.showSurfaceToolbar ? (a(), i("div", un, [
2224
2207
  v(s(u), {
2225
2208
  is: "sv-action-bar",
2226
2209
  model: o.model.surfaceToolbar
@@ -2236,12 +2219,15 @@ const Nt = /* @__PURE__ */ g({
2236
2219
  ], 64));
2237
2220
  }
2238
2221
  }), vn = ["id", "data-sv-drop-target-survey-page"], mn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), _n = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), gn = {
2239
- key: 0,
2240
- class: "svc-page__placeholder_frame"
2241
- }, bn = { class: "svc-panel__placeholder_frame" }, yn = { class: "svc-panel__placeholder" }, hn = { class: "svc-page__content-actions" }, qn = {
2222
+ key: 1,
2223
+ class: "svc-page__loading-content"
2224
+ }, bn = {
2242
2225
  key: 2,
2226
+ class: "svc-page__placeholder_frame"
2227
+ }, yn = { class: "svc-panel__placeholder_frame" }, hn = { class: "svc-panel__placeholder" }, Cn = { class: "svc-page__content-actions" }, qn = {
2228
+ key: 4,
2243
2229
  class: "svc-page__content-actions"
2244
- }, Cn = /* @__PURE__ */ g({
2230
+ }, $n = /* @__PURE__ */ g({
2245
2231
  __name: "Page",
2246
2232
  props: {
2247
2233
  creator: {},
@@ -2252,12 +2238,12 @@ const Nt = /* @__PURE__ */ g({
2252
2238
  setup(c) {
2253
2239
  const t = c, e = I(), o = z(
2254
2240
  () => {
2255
- const i = new De(t.creator, t.page);
2256
- return i.isGhost = t.isGhost, i;
2241
+ const r = new De(t.creator, t.page);
2242
+ return r.isGhost = t.isGhost, r;
2257
2243
  },
2258
2244
  [() => t.page],
2259
- (i) => {
2260
- i.dispose();
2245
+ (r) => {
2246
+ r.dispose();
2261
2247
  }
2262
2248
  );
2263
2249
  G(
@@ -2268,41 +2254,45 @@ const Nt = /* @__PURE__ */ g({
2268
2254
  ), Y(() => {
2269
2255
  e.value && o.value && (o.value.rootElement = e.value);
2270
2256
  }), P(() => {
2271
- e.value && o.value && (o.value.rootElement = e.value);
2257
+ e.value && o.value && o.value.setRootElement(e.value);
2272
2258
  });
2273
- const n = (i) => {
2274
- o.value.hover(i, i.currentTarget);
2259
+ const n = (r) => {
2260
+ o.value.hover(r, r.currentTarget);
2275
2261
  };
2276
- return (i, r) => s(o).page ? C((a(), l("div", {
2262
+ return (r, l) => s(o).page ? q((a(), i("div", {
2277
2263
  key: s(o).page.id,
2278
2264
  id: s(o).page.id,
2279
- class: _(["svc-page__content", s(o).css]),
2265
+ class: m(["svc-page__content", s(o).css]),
2280
2266
  "data-sv-drop-target-survey-page": s(o).dropTargetName,
2281
- onClick: r[1] || (r[1] = (m) => {
2282
- s(o).select(s(o), m), m.stopPropagation();
2267
+ onClick: l[1] || (l[1] = (_) => {
2268
+ s(o).select(s(o), _), _.stopPropagation();
2283
2269
  }),
2284
2270
  ref_key: "root",
2285
2271
  ref: e,
2286
- onDblclick: r[2] || (r[2] = (m) => s(o).dblclick(m)),
2272
+ onDblclick: l[2] || (l[2] = (_) => s(o).dblclick(_)),
2287
2273
  onMouseover: n,
2288
2274
  onMouseleave: n
2289
2275
  }, [
2290
2276
  mn,
2291
2277
  _n,
2292
- v(s(u), {
2278
+ s(o).needRenderContent ? (a(), h(s(u), {
2279
+ key: 0,
2293
2280
  is: "survey-page",
2294
2281
  survey: s(o).creator.survey,
2295
2282
  page: s(o).page
2296
- }, null, 8, ["survey", "page"]),
2297
- s(o).showPlaceholder ? (a(), l("div", gn, [
2298
- d("div", bn, [
2299
- d("div", yn, $(s(o).placeholderText), 1)
2283
+ }, null, 8, ["survey", "page"])) : p("", !0),
2284
+ s(o).needRenderContent ? p("", !0) : (a(), i("div", gn, [
2285
+ v(s(u), { is: "sv-loading-indicator" })
2286
+ ])),
2287
+ s(o).showPlaceholder ? (a(), i("div", bn, [
2288
+ d("div", yn, [
2289
+ d("div", hn, k(s(o).placeholderText), 1)
2300
2290
  ])
2301
2291
  ])) : p("", !0),
2302
- s(o).allowDragging && !s(o).isGhost ? (a(), l("div", {
2303
- key: 1,
2292
+ s(o).allowDragging && !s(o).isGhost ? (a(), i("div", {
2293
+ key: 3,
2304
2294
  class: "svc-question__drag-area",
2305
- onPointerdown: r[0] || (r[0] = (m) => s(o).onPointerDown(m))
2295
+ onPointerdown: l[0] || (l[0] = (_) => s(o).onPointerDown(_))
2306
2296
  }, [
2307
2297
  v(s(u), A({
2308
2298
  is: "sv-svg-icon",
@@ -2312,7 +2302,7 @@ const Nt = /* @__PURE__ */ g({
2312
2302
  iconName: "icon-drag-area-indicator_24x16",
2313
2303
  size: "auto"
2314
2304
  }), null, 16),
2315
- d("div", hn, [
2305
+ d("div", Cn, [
2316
2306
  v(s(u), {
2317
2307
  is: "sv-action-bar",
2318
2308
  model: s(o).actionContainer
@@ -2324,7 +2314,7 @@ const Nt = /* @__PURE__ */ g({
2324
2314
  }, null, 8, ["model"])) : p("", !0)
2325
2315
  ])
2326
2316
  ], 32)) : p("", !0),
2327
- !s(o).allowDragging || s(o).isGhost ? (a(), l("div", qn, [
2317
+ !s(o).allowDragging || s(o).isGhost ? (a(), i("div", qn, [
2328
2318
  v(s(u), {
2329
2319
  is: "sv-action-bar",
2330
2320
  model: s(o).actionContainer
@@ -2343,7 +2333,7 @@ const Nt = /* @__PURE__ */ g({
2343
2333
  [s(N)]
2344
2334
  ]) : p("", !0);
2345
2335
  }
2346
- }), kn = { class: "svc-add-new-item-button__text" }, $n = /* @__PURE__ */ g({
2336
+ }), kn = { class: "svc-add-new-item-button__text" }, fn = /* @__PURE__ */ g({
2347
2337
  __name: "AddQuestion",
2348
2338
  props: {
2349
2339
  item: {},
@@ -2353,18 +2343,18 @@ const Nt = /* @__PURE__ */ g({
2353
2343
  setup(c) {
2354
2344
  const t = c;
2355
2345
  T(() => t.item.data);
2356
- const e = k(
2346
+ const e = $(
2357
2347
  () => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")
2358
- ), o = k(
2348
+ ), o = $(
2359
2349
  () => t.renderPopup === void 0 || t.renderPopup !== !1
2360
2350
  );
2361
- return (n, i) => (a(), l(w, null, [
2362
- C((a(), l("div", {
2363
- class: _(e.value),
2364
- onClick: i[0] || (i[0] = (r) => {
2365
- 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();
2366
2356
  }),
2367
- 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))
2368
2358
  }, [
2369
2359
  v(s(u), {
2370
2360
  is: "sv-svg-icon",
@@ -2372,7 +2362,7 @@ const Nt = /* @__PURE__ */ g({
2372
2362
  iconName: "icon-add_24x24",
2373
2363
  size: "auto"
2374
2364
  }),
2375
- d("span", kn, $(n.item.data.addNewQuestionText), 1),
2365
+ d("span", kn, k(n.item.data.addNewQuestionText), 1),
2376
2366
  o.value ? (a(), h(s(u), {
2377
2367
  key: 0,
2378
2368
  is: "svc-add-question-type-selector",
@@ -2390,7 +2380,7 @@ const Nt = /* @__PURE__ */ g({
2390
2380
  }, null, 8, ["questionTypeSelectorModel", "renderPopup"]))
2391
2381
  ], 64));
2392
2382
  }
2393
- }), fn = ["title", "aria-label"], wn = /* @__PURE__ */ g({
2383
+ }), wn = ["title", "aria-label"], Tn = /* @__PURE__ */ g({
2394
2384
  __name: "AddQuestionTypeSelector",
2395
2385
  props: {
2396
2386
  questionTypeSelectorModel: {},
@@ -2398,7 +2388,7 @@ const Nt = /* @__PURE__ */ g({
2398
2388
  },
2399
2389
  setup(c) {
2400
2390
  const t = c;
2401
- return T(() => t.questionTypeSelectorModel), (e, o) => C((a(), l("button", {
2391
+ return T(() => t.questionTypeSelectorModel), (e, o) => q((a(), i("button", {
2402
2392
  type: "button",
2403
2393
  onClick: o[0] || (o[0] = (n) => {
2404
2394
  e.questionTypeSelectorModel.action(), n.stopPropagation();
@@ -2420,39 +2410,39 @@ const Nt = /* @__PURE__ */ g({
2420
2410
  is: "sv-popup",
2421
2411
  model: e.questionTypeSelectorModel.popupModel
2422
2412
  }, null, 8, ["model"])) : p("", !0)
2423
- ], 8, fn)), [
2413
+ ], 8, wn)), [
2424
2414
  [s(N)]
2425
2415
  ]);
2426
2416
  }
2427
- }), Tn = /* @__PURE__ */ d("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1), Dn = /* @__PURE__ */ d("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1), Nn = /* @__PURE__ */ g({
2417
+ }), Dn = /* @__PURE__ */ d("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1), Nn = /* @__PURE__ */ d("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1), Mn = /* @__PURE__ */ g({
2428
2418
  __name: "Row",
2429
2419
  props: {
2430
2420
  componentData: {}
2431
2421
  },
2432
2422
  setup(c) {
2433
- const t = c, e = k(() => t.componentData.creator), o = k(() => t.componentData.row), n = z(
2423
+ const t = c, e = $(() => t.componentData.creator), o = $(() => t.componentData.row), n = z(
2434
2424
  () => new Ne(e.value, o.value, void 0),
2435
2425
  [() => e.value, () => o.value],
2436
- (i) => {
2437
- i.dispose();
2426
+ (r) => {
2427
+ r.dispose();
2438
2428
  }
2439
2429
  );
2440
2430
  return P(() => {
2441
2431
  n.value && n.value.subscribeElementChanges();
2442
2432
  }), K(() => {
2443
2433
  n.value && n.value.unsubscribeElementChanges();
2444
- }), (i, r) => (a(), l("div", {
2445
- class: _(s(n).cssClasses)
2434
+ }), (r, l) => (a(), i("div", {
2435
+ class: m(s(n).cssClasses)
2446
2436
  }, [
2447
- Tn,
2448
2437
  Dn,
2449
- x(i.$slots, "default")
2438
+ Nn,
2439
+ x(r.$slots, "default")
2450
2440
  ], 2));
2451
2441
  }
2452
- }), Mn = ["data-sv-drop-target-survey-element"], Sn = { class: "svc-fake-title" }, Bn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), In = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), En = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), Pn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), Rn = { class: "svc-question__top-actions" }, Vn = {
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 = {
2453
2443
  key: 0,
2454
2444
  class: "svc-panel__placeholder_frame-wrapper"
2455
- }, An = { class: "svc-panel__placeholder_frame" }, zn = {
2445
+ }, zn = { class: "svc-panel__placeholder_frame" }, Ln = {
2456
2446
  class: "svc-panel__placeholder",
2457
2447
  "data-bind": "text: placeholderText"
2458
2448
  }, oe = /* @__PURE__ */ g({
@@ -2471,10 +2461,10 @@ const Nt = /* @__PURE__ */ g({
2471
2461
  const t = c, e = I(), o = z(
2472
2462
  () => t.createModel(),
2473
2463
  [() => t.componentName, () => t.componentData],
2474
- (r) => {
2475
- r.dispose();
2464
+ (l) => {
2465
+ l.dispose();
2476
2466
  }
2477
- ), n = k(
2467
+ ), n = $(
2478
2468
  () => o.value.isBannerShowing ? o.value.createBannerParams() : null
2479
2469
  );
2480
2470
  Y(() => {
@@ -2482,49 +2472,49 @@ const Nt = /* @__PURE__ */ g({
2482
2472
  }), P(() => {
2483
2473
  e.value && o.value && (o.value.rootElement = e.value);
2484
2474
  });
2485
- const i = (r) => {
2486
- o.value.select(o.value, r), r.stopPropagation();
2475
+ const r = (l) => {
2476
+ o.value.select(o.value, l), l.stopPropagation();
2487
2477
  };
2488
- return (r, m) => s(o) ? (a(), l("div", {
2478
+ return (l, _) => s(o) ? (a(), i("div", {
2489
2479
  key: 0,
2490
- class: _(["svc-question__adorner", s(o).rootCss()]),
2480
+ class: m(["svc-question__adorner", s(o).rootCss()]),
2491
2481
  ref_key: "root",
2492
2482
  ref: e,
2493
- onDblclick: m[2] || (m[2] = (b) => s(o).dblclick(b)),
2494
- onMouseover: m[3] || (m[3] = (b) => s(o).hover(b, b.currentTarget)),
2495
- 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)),
2496
2486
  "data-sv-drop-target-survey-element": s(o).element.name || null,
2497
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); } }"
2498
2488
  }, [
2499
- s(o).showHiddenTitle ? (a(), l("div", {
2489
+ s(o).showHiddenTitle ? (a(), i("div", {
2500
2490
  key: 0,
2501
- class: _(s(o).cssCollapsedHiddenHeader)
2491
+ class: m(s(o).cssCollapsedHiddenHeader)
2502
2492
  }, [
2503
- r.element.hasTitle ? (a(), h(s(u), {
2493
+ l.element.hasTitle ? (a(), h(s(u), {
2504
2494
  key: 0,
2505
2495
  is: "survey-element-title",
2506
- element: r.element
2507
- }, null, 8, ["element"])) : (a(), l("div", {
2496
+ element: l.element
2497
+ }, null, 8, ["element"])) : (a(), i("div", {
2508
2498
  key: 1,
2509
- class: _(s(o).cssCollapsedHiddenTitle)
2499
+ class: m(s(o).cssCollapsedHiddenTitle)
2510
2500
  }, [
2511
- d("span", Sn, $(r.element.name), 1)
2501
+ d("span", Bn, k(l.element.name), 1)
2512
2502
  ], 2))
2513
2503
  ], 2)) : p("", !0),
2514
- C((a(), l("div", {
2515
- onClick: m[1] || (m[1] = (b) => {
2516
- 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();
2517
2507
  }),
2518
- class: _(s(o).css())
2508
+ class: m(s(o).css())
2519
2509
  }, [
2520
- Bn,
2521
2510
  In,
2522
2511
  En,
2523
2512
  Pn,
2524
- s(o).allowDragging ? (a(), l("div", {
2513
+ Rn,
2514
+ s(o).allowDragging ? (a(), i("div", {
2525
2515
  key: 0,
2526
2516
  class: "svc-question__drag-area",
2527
- onPointerdown: m[0] || (m[0] = (b) => s(o).onPointerDown(b))
2517
+ onPointerdown: _[0] || (_[0] = (y) => s(o).onPointerDown(y))
2528
2518
  }, [
2529
2519
  v(s(u), A({
2530
2520
  is: "sv-svg-icon",
@@ -2534,7 +2524,7 @@ const Nt = /* @__PURE__ */ g({
2534
2524
  iconName: "icon-drag-area-indicator_24x16",
2535
2525
  size: "auto"
2536
2526
  }), null, 16),
2537
- d("div", Rn, [
2527
+ d("div", Vn, [
2538
2528
  v(s(u), {
2539
2529
  is: "sv-action-bar",
2540
2530
  model: s(o).topActionContainer,
@@ -2542,29 +2532,29 @@ const Nt = /* @__PURE__ */ g({
2542
2532
  }, null, 8, ["model"])
2543
2533
  ])
2544
2534
  ], 32)) : p("", !0),
2545
- s(o).needToRenderContent ? (a(), l(w, { key: 1 }, [
2535
+ s(o).needToRenderContent ? (a(), i(w, { key: 1 }, [
2546
2536
  v(s(u), {
2547
2537
  is: "sv-template-renderer",
2548
- componentName: r.componentName,
2549
- componentData: r.componentData
2538
+ componentName: l.componentName,
2539
+ componentData: l.componentData
2550
2540
  }, null, 8, ["componentName", "componentData"]),
2551
- s(o).isEmptyElement && !r.showPlaceholderComponent ? (a(), l("div", Vn, [
2552
- d("div", An, [
2553
- d("div", zn, $(s(o).placeholderText), 1)
2541
+ s(o).isEmptyElement && !l.showPlaceholderComponent ? (a(), i("div", An, [
2542
+ d("div", zn, [
2543
+ d("div", Ln, k(s(o).placeholderText), 1)
2554
2544
  ])
2555
2545
  ])) : p("", !0),
2556
- s(o).isEmptyElement && r.showPlaceholderComponent ? (a(), h(s(u), A(
2546
+ s(o).isEmptyElement && l.showPlaceholderComponent ? (a(), h(s(u), A(
2557
2547
  {
2558
2548
  key: 1,
2559
- is: r.placeholderComponent
2549
+ is: l.placeholderComponent
2560
2550
  },
2561
- r.getPlaceholderComponentData && r.getPlaceholderComponentData(s(o))
2551
+ l.getPlaceholderComponentData && l.getPlaceholderComponentData(s(o))
2562
2552
  ), null, 16, ["is"])) : p("", !0),
2563
- r.adornerComponent ? (a(), h(s(u), {
2553
+ l.adornerComponent ? (a(), h(s(u), {
2564
2554
  key: 2,
2565
- is: r.adornerComponent,
2555
+ is: l.adornerComponent,
2566
2556
  model: s(o),
2567
- element: r.element
2557
+ element: l.element
2568
2558
  }, null, 8, ["is", "model", "element"])) : p("", !0),
2569
2559
  s(o).isBannerShowing ? (a(), h(s(u), {
2570
2560
  key: 3,
@@ -2573,7 +2563,7 @@ const Nt = /* @__PURE__ */ g({
2573
2563
  }, null, 8, ["model"])) : p("", !0),
2574
2564
  d("div", {
2575
2565
  class: "svc-question__content-actions",
2576
- onFocusin: i
2566
+ onFocusin: r
2577
2567
  }, [
2578
2568
  v(s(u), {
2579
2569
  is: "sv-action-bar",
@@ -2585,7 +2575,7 @@ const Nt = /* @__PURE__ */ g({
2585
2575
  ], 2)), [
2586
2576
  [s(N), { disableTabStop: !0 }]
2587
2577
  ])
2588
- ], 42, Mn)) : p("", !0);
2578
+ ], 42, Sn)) : p("", !0);
2589
2579
  }
2590
2580
  }), ae = /* @__PURE__ */ g({
2591
2581
  __name: "Question",
@@ -2606,7 +2596,7 @@ const Nt = /* @__PURE__ */ g({
2606
2596
  "component-data": o.componentData
2607
2597
  }, null, 8, ["element", "component-name", "component-data"]));
2608
2598
  }
2609
- }), Ln = /* @__PURE__ */ g({
2599
+ }), Fn = /* @__PURE__ */ g({
2610
2600
  __name: "QuestionImage",
2611
2601
  props: {
2612
2602
  componentName: {},
@@ -2620,7 +2610,7 @@ const Nt = /* @__PURE__ */ g({
2620
2610
  ), o = (n) => ({
2621
2611
  question: n == null ? void 0 : n.filePresentationModel
2622
2612
  });
2623
- return (n, i) => (a(), h(oe, {
2613
+ return (n, r) => (a(), h(oe, {
2624
2614
  "create-model": e,
2625
2615
  element: t.componentData.element,
2626
2616
  "show-placeholder-component": !0,
@@ -2631,34 +2621,34 @@ const Nt = /* @__PURE__ */ g({
2631
2621
  "adorner-component": "svc-image-question-adorner"
2632
2622
  }, null, 8, ["element", "component-data", "component-name"]));
2633
2623
  }
2634
- }), Fn = {
2624
+ }), Kn = {
2635
2625
  key: 0,
2636
2626
  class: "svc-image-question-controls"
2637
- }, Kn = ["accept"], Un = {
2627
+ }, Un = ["accept"], Qn = {
2638
2628
  class: "svc-context-button",
2639
2629
  title: void 0,
2640
2630
  "aria-label": void 0
2641
2631
  }, Hn = {
2642
2632
  key: 1,
2643
2633
  class: "svc-image-question__loading-placeholder"
2644
- }, On = { class: "svc-image-question__loading" }, Qn = /* @__PURE__ */ g({
2634
+ }, On = { class: "svc-image-question__loading" }, Gn = /* @__PURE__ */ g({
2645
2635
  __name: "Image",
2646
2636
  props: {
2647
2637
  model: {},
2648
2638
  element: {}
2649
2639
  },
2650
2640
  setup(c) {
2651
- return (t, e) => (a(), l(w, null, [
2652
- !t.model.isUploading && !t.model.isEmptyElement ? (a(), l("div", Fn, [
2653
- t.model.allowEdit ? (a(), l(w, { key: 0 }, [
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 }, [
2654
2644
  d("input", {
2655
2645
  type: "file",
2656
2646
  "aria-hidden": "true",
2657
2647
  tabindex: "-1",
2658
2648
  accept: t.model.acceptedTypes,
2659
2649
  class: "svc-choose-file-input"
2660
- }, null, 8, Kn),
2661
- C((a(), l("span", Un, [
2650
+ }, null, 8, Un),
2651
+ q((a(), i("span", Qn, [
2662
2652
  v(s(u), {
2663
2653
  is: "sv-svg-icon",
2664
2654
  iconName: "icon-choosefile",
@@ -2670,14 +2660,14 @@ const Nt = /* @__PURE__ */ g({
2670
2660
  ])
2671
2661
  ], 64)) : p("", !0)
2672
2662
  ])) : p("", !0),
2673
- t.model.isUploading && !t.model.isEmptyElement ? (a(), l("div", Hn, [
2663
+ t.model.isUploading && !t.model.isEmptyElement ? (a(), i("div", Hn, [
2674
2664
  d("div", On, [
2675
2665
  v(s(u), { is: "sv-loading-indicator" })
2676
2666
  ])
2677
2667
  ])) : p("", !0)
2678
2668
  ], 64));
2679
2669
  }
2680
- }), Gn = { class: "svc-rating-question-content" }, Wn = /* @__PURE__ */ g({
2670
+ }), Wn = { class: "svc-rating-question-content" }, jn = ["aria-label"], Jn = ["aria-label"], Zn = /* @__PURE__ */ g({
2681
2671
  __name: "Rating",
2682
2672
  props: {
2683
2673
  componentData: {},
@@ -2693,39 +2683,47 @@ const Nt = /* @__PURE__ */ g({
2693
2683
  [() => t.componentData.data, () => t.componentData.question]
2694
2684
  );
2695
2685
  return (o, n) => {
2696
- var i, r, m, b, y, f, E, R, L;
2697
- return a(), l("div", Gn, [
2686
+ var r, l, _, y, b, f, E, R, L;
2687
+ return a(), i("div", Wn, [
2698
2688
  d("div", {
2699
- class: _((i = s(e)) == null ? void 0 : i.controlsClassNames)
2689
+ class: m((r = s(e)) == null ? void 0 : r.controlsClassNames)
2700
2690
  }, [
2701
- (r = s(e)) != null && r.allowRemove ? C((a(), h(s(u), {
2691
+ (l = s(e)) != null && l.allowRemove ? q((a(), i("span", {
2702
2692
  key: 0,
2703
- is: "sv-svg-icon",
2704
- iconName: "icon-remove_16x16",
2705
- size: "auto",
2693
+ class: m((_ = s(e)) == null ? void 0 : _.removeClassNames),
2706
2694
  onClick: n[0] || (n[0] = (j) => {
2707
- var H;
2708
- 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));
2709
2697
  }),
2710
- class: _((m = s(e)) == null ? void 0 : m.removeClassNames),
2711
- title: (b = s(e)) == null ? void 0 : b.removeTooltip,
2698
+ role: "button",
2712
2699
  "aria-label": (y = s(e)) == null ? void 0 : y.removeTooltip
2713
- }, 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)), [
2714
2708
  [s(N)]
2715
2709
  ]) : p("", !0),
2716
- (f = s(e)) != null && f.allowAdd ? C((a(), h(s(u), {
2710
+ (f = s(e)) != null && f.allowAdd ? q((a(), i("span", {
2717
2711
  key: 1,
2718
- is: "sv-svg-icon",
2719
- iconName: "icon-add_16x16",
2720
- size: "auto",
2712
+ class: m((E = s(e)) == null ? void 0 : E.addClassNames),
2721
2713
  onClick: n[1] || (n[1] = (j) => {
2722
- var H;
2723
- 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));
2724
2716
  }),
2725
- class: _((E = s(e)) == null ? void 0 : E.addClassNames),
2726
- title: (R = s(e)) == null ? void 0 : R.addTooltip,
2727
- "aria-label": (L = s(e)) == null ? void 0 : L.addTooltip
2728
- }, 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)), [
2729
2727
  [s(N)]
2730
2728
  ]) : p("", !0)
2731
2729
  ], 2),
@@ -2733,61 +2731,61 @@ const Nt = /* @__PURE__ */ g({
2733
2731
  ]);
2734
2732
  };
2735
2733
  }
2736
- }), jn = {
2734
+ }), Xn = {
2737
2735
  key: 0,
2738
2736
  class: "svc-matrix-cell__question-controls"
2739
- }, Jn = /* @__PURE__ */ g({
2737
+ }, Yn = /* @__PURE__ */ g({
2740
2738
  __name: "MatrixCell",
2741
2739
  props: {
2742
2740
  componentData: {}
2743
2741
  },
2744
2742
  setup(c) {
2745
- const t = c, e = k(() => t.componentData.creator), o = k(() => t.componentData.row), n = k(() => t.componentData.column), i = k(() => t.componentData.element), r = k(
2743
+ const t = c, e = $(() => t.componentData.creator), o = $(() => t.componentData.row), n = $(() => t.componentData.column), r = $(() => t.componentData.element), l = $(
2746
2744
  () => t.componentData.question
2747
- ), m = z(
2745
+ ), _ = z(
2748
2746
  () => {
2749
- var b;
2747
+ var y;
2750
2748
  return t.componentData ? new Be(
2751
2749
  e.value,
2752
- i.value,
2753
2750
  r.value,
2751
+ l.value,
2754
2752
  o.value,
2755
- n.value || ((b = i.value.cell) == null ? void 0 : b.column)
2753
+ n.value || ((y = r.value.cell) == null ? void 0 : y.column)
2756
2754
  ) : void 0;
2757
2755
  },
2758
2756
  [
2759
2757
  () => e.value,
2760
2758
  () => o.value,
2761
2759
  () => n.value,
2762
- () => r.value
2760
+ () => l.value
2763
2761
  ]
2764
2762
  );
2765
- return (b, y) => {
2763
+ return (y, b) => {
2766
2764
  var f, E;
2767
- return a(), l("div", {
2765
+ return a(), i("div", {
2768
2766
  tabindex: "-1",
2769
2767
  class: "svc-matrix-cell",
2770
- onClick: y[1] || (y[1] = (R) => {
2768
+ onClick: b[1] || (b[1] = (R) => {
2771
2769
  var L;
2772
- return (L = s(m)) == null ? void 0 : L.selectContext(s(m), R);
2770
+ return (L = s(_)) == null ? void 0 : L.selectContext(s(_), R);
2773
2771
  }),
2774
- onMouseover: y[2] || (y[2] = (R) => {
2772
+ onMouseover: b[2] || (b[2] = (R) => {
2775
2773
  var L;
2776
- return (L = s(m)) == null ? void 0 : L.hover(R, R.currentTarget);
2774
+ return (L = s(_)) == null ? void 0 : L.hover(R, R.currentTarget);
2777
2775
  }),
2778
- onMouseleave: y[3] || (y[3] = (R) => {
2776
+ onMouseleave: b[3] || (b[3] = (R) => {
2779
2777
  var L;
2780
- return (L = s(m)) == null ? void 0 : L.hover(R, R.currentTarget);
2778
+ return (L = s(_)) == null ? void 0 : L.hover(R, R.currentTarget);
2781
2779
  })
2782
2780
  }, [
2783
2781
  d("div", {
2784
- 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 }])
2785
2783
  }, null, 2),
2786
- x(b.$slots, "default"),
2787
- (E = s(m)) != null && E.isSupportCellEditor ? (a(), l("div", jn, [
2788
- C((a(), l("span", {
2784
+ x(y.$slots, "default"),
2785
+ (E = s(_)) != null && E.isSupportCellEditor ? (a(), i("div", Xn, [
2786
+ q((a(), i("span", {
2789
2787
  class: "svc-matrix-cell__question-controls-button svc-context-button",
2790
- onClick: y[0] || (y[0] = (R) => s(m).editQuestion(s(m), R))
2788
+ onClick: b[0] || (b[0] = (R) => s(_).editQuestion(s(_), R))
2791
2789
  }, [
2792
2790
  v(s(u), {
2793
2791
  is: "sv-svg-icon",
@@ -2801,29 +2799,29 @@ const Nt = /* @__PURE__ */ g({
2801
2799
  ], 32);
2802
2800
  };
2803
2801
  }
2804
- }), Zn = { class: "svc-question__adorner" }, Xn = { class: "svc-question__content svc-question__content--in-popup" }, Yn = /* @__PURE__ */ g({
2802
+ }), xn = { class: "svc-question__adorner" }, ea = { class: "svc-question__content svc-question__content--in-popup" }, oa = /* @__PURE__ */ g({
2805
2803
  __name: "CellQuestion",
2806
2804
  props: {
2807
2805
  componentName: {},
2808
2806
  componentData: {}
2809
2807
  },
2810
2808
  setup(c) {
2811
- const t = c, e = k(
2809
+ const t = c, e = $(
2812
2810
  () => t.componentData.element
2813
2811
  );
2814
- return T(() => e.value), (o, n) => (a(), l("div", Zn, [
2815
- d("div", Xn, [
2812
+ return T(() => e.value), (o, n) => (a(), i("div", xn, [
2813
+ d("div", ea, [
2816
2814
  v(s(u), A({ is: o.componentName }, o.componentData), null, 16, ["is"])
2817
2815
  ])
2818
2816
  ]));
2819
2817
  }
2820
- }), xn = ["data-sv-drop-target-survey-element"], ea = { class: "svc-fake-title" }, oa = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), sa = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), ta = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), na = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), aa = { class: "svc-question__top-actions" }, la = {
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 = {
2821
2819
  key: 0,
2822
2820
  class: "svc-panel__placeholder_frame-wrapper"
2823
- }, ia = { class: "svc-panel__placeholder_frame" }, ra = { class: "svc-panel__placeholder" }, da = { class: "svc-add-new-item-button__text" }, ca = {
2821
+ }, ca = { class: "svc-panel__placeholder_frame" }, ua = { class: "svc-panel__placeholder" }, pa = { class: "svc-add-new-item-button__text" }, va = {
2824
2822
  key: 1,
2825
2823
  class: "svc-panel__add-new-question-container"
2826
- }, ua = { class: "svc-panel__question-type-selector-popup" }, pa = { class: "svc-panel__add-new-question-wrapper" }, va = /* @__PURE__ */ g({
2824
+ }, ma = { class: "svc-panel__question-type-selector-popup" }, _a = { class: "svc-panel__add-new-question-wrapper" }, ga = /* @__PURE__ */ g({
2827
2825
  __name: "Panel",
2828
2826
  props: {
2829
2827
  componentName: {},
@@ -2843,42 +2841,42 @@ const Nt = /* @__PURE__ */ g({
2843
2841
  ), o = (n) => {
2844
2842
  n.stopPropagation(), e.value.addNewQuestion();
2845
2843
  };
2846
- return (n, i) => s(e) && !s(e).isDisposed ? (a(), l("div", {
2844
+ return (n, r) => s(e) && !s(e).isDisposed ? (a(), i("div", {
2847
2845
  key: 0,
2848
- class: _(["svc-question__adorner", s(e).rootCss()]),
2849
- onDblclick: i[3] || (i[3] = (r) => s(e).dblclick(r)),
2850
- onMouseover: i[4] || (i[4] = (r) => s(e).hover(r, r.currentTarget)),
2851
- 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)),
2852
2850
  "data-sv-drop-target-survey-element": s(e).element.name || null,
2853
2851
  ref: "root"
2854
2852
  }, [
2855
- s(e).showHiddenTitle ? (a(), l("div", {
2853
+ s(e).showHiddenTitle ? (a(), i("div", {
2856
2854
  key: 0,
2857
- class: _(s(e).cssCollapsedHiddenHeader)
2855
+ class: m(s(e).cssCollapsedHiddenHeader)
2858
2856
  }, [
2859
2857
  s(e).element.hasTitle ? (a(), h(s(u), {
2860
2858
  key: 0,
2861
2859
  is: "survey-element-title",
2862
2860
  element: s(e).element
2863
- }, null, 8, ["element"])) : (a(), l("div", {
2861
+ }, null, 8, ["element"])) : (a(), i("div", {
2864
2862
  key: 1,
2865
- class: _(s(e).cssCollapsedHiddenTitle)
2863
+ class: m(s(e).cssCollapsedHiddenTitle)
2866
2864
  }, [
2867
- d("span", ea, $(s(e).element.name), 1)
2865
+ d("span", ta, k(s(e).element.name), 1)
2868
2866
  ], 2))
2869
2867
  ], 2)) : p("", !0),
2870
- C((a(), l("div", {
2871
- class: _(s(e).css()),
2872
- 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)
2873
2871
  }, [
2874
- oa,
2875
- sa,
2876
- ta,
2877
2872
  na,
2878
- s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (a(), l("div", {
2873
+ aa,
2874
+ la,
2875
+ ia,
2876
+ s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (a(), i("div", {
2879
2877
  key: 0,
2880
2878
  class: "svc-question__drag-area",
2881
- onPointerdown: i[0] || (i[0] = (r) => s(e).onPointerDown(r))
2879
+ onPointerdown: r[0] || (r[0] = (l) => s(e).onPointerDown(l))
2882
2880
  }, [
2883
2881
  v(s(u), {
2884
2882
  is: "sv-svg-icon",
@@ -2886,7 +2884,7 @@ const Nt = /* @__PURE__ */ g({
2886
2884
  iconName: "icon-drag-area-indicator_24x16",
2887
2885
  size: "auto"
2888
2886
  }),
2889
- d("div", aa, [
2887
+ d("div", ra, [
2890
2888
  v(s(u), {
2891
2889
  is: "sv-action-bar",
2892
2890
  model: s(e).topActionContainer,
@@ -2894,12 +2892,12 @@ const Nt = /* @__PURE__ */ g({
2894
2892
  }, null, 8, ["model"])
2895
2893
  ])
2896
2894
  ], 32)) : p("", !0),
2897
- s(e).needToRenderContent ? (a(), l(w, { key: 1 }, [
2895
+ s(e).needToRenderContent ? (a(), i(w, { key: 1 }, [
2898
2896
  v(s(u), A({ is: n.componentName }, n.componentData), null, 16, ["is"]),
2899
- s(e).isEmptyElement ? (a(), l("div", la, [
2900
- d("div", ia, [
2901
- d("div", ra, $(s(e).placeholderText), 1),
2902
- s(e).showAddQuestionButton ? C((a(), l("div", {
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", {
2903
2901
  key: 0,
2904
2902
  class: "svc-panel__add-new-question svc-action-button",
2905
2903
  onClick: o
@@ -2910,20 +2908,20 @@ const Nt = /* @__PURE__ */ g({
2910
2908
  iconName: "icon-add_24x24",
2911
2909
  size: "auto"
2912
2910
  }),
2913
- d("span", da, $(s(e).addNewQuestionText), 1)
2911
+ d("span", pa, k(s(e).addNewQuestionText), 1)
2914
2912
  ])), [
2915
2913
  [s(N)]
2916
2914
  ]) : p("", !0)
2917
2915
  ])
2918
2916
  ])) : p("", !0),
2919
- !s(e).isEmptyElement && s(e).showAddQuestionButton ? (a(), l("div", ca, [
2920
- d("div", ua, [
2917
+ !s(e).isEmptyElement && s(e).showAddQuestionButton ? (a(), i("div", va, [
2918
+ d("div", ma, [
2921
2919
  v(s(u), {
2922
2920
  is: "sv-popup",
2923
2921
  model: s(e).questionTypeSelectorModel.popupModel
2924
2922
  }, null, 8, ["model"])
2925
2923
  ]),
2926
- d("div", pa, [
2924
+ d("div", _a, [
2927
2925
  v(s(u), {
2928
2926
  is: "svc-add-new-question-btn",
2929
2927
  item: { data: s(e) },
@@ -2932,10 +2930,10 @@ const Nt = /* @__PURE__ */ g({
2932
2930
  }, null, 8, ["item"])
2933
2931
  ])
2934
2932
  ])) : p("", !0),
2935
- s(e).element.isInteractiveDesignElement ? (a(), l("div", {
2933
+ s(e).element.isInteractiveDesignElement ? (a(), i("div", {
2936
2934
  key: 2,
2937
2935
  class: "svc-question__content-actions",
2938
- 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))
2939
2937
  }, [
2940
2938
  v(s(u), {
2941
2939
  is: "sv-action-bar",
@@ -2947,179 +2945,181 @@ const Nt = /* @__PURE__ */ g({
2947
2945
  ], 2)), [
2948
2946
  [s(N), { disableTabStop: !0 }]
2949
2947
  ])
2950
- ], 42, xn)) : p("", !0);
2948
+ ], 42, sa)) : p("", !0);
2951
2949
  }
2952
- }), ma = ["data-sv-drop-target-item-value"], _a = /* @__PURE__ */ d("div", { class: "svc-item-value__ghost" }, null, -1), ga = { class: "svc-item-value-controls" }, ba = {
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 = {
2953
2951
  key: 0,
2954
2952
  class: "svc-item-value-controls__button svc-item-value-controls__drag"
2955
- }, ya = /* @__PURE__ */ g({
2953
+ }, qa = ["aria-label"], $a = ["aria-label"], ka = /* @__PURE__ */ g({
2956
2954
  __name: "ItemValue",
2957
2955
  props: {
2958
2956
  componentName: {},
2959
2957
  componentData: {}
2960
2958
  },
2961
2959
  setup(c) {
2962
- const t = I(), e = c, o = k(() => e.componentData.data.creator), n = k(() => e.componentData.question), i = k(() => e.componentData.item), r = G(
2963
- () => i.value,
2964
- (b, y) => {
2965
- b && t.value && b.setRootElement(t.value), y && y.setRootElement(void 0);
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);
2966
2964
  }
2967
2965
  );
2968
2966
  P(() => {
2969
- t.value && i.value && i.value.setRootElement(t.value);
2967
+ t.value && r.value && r.value.setRootElement(t.value);
2970
2968
  }), K(() => {
2971
- i.value.setRootElement(void 0);
2969
+ r.value.setRootElement(void 0);
2972
2970
  });
2973
- const m = z(
2974
- () => new Ie(o.value, n.value, i.value),
2975
- [() => o.value, () => n.value, () => i.value],
2976
- (b) => {
2977
- 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();
2978
2976
  }
2979
2977
  );
2980
2978
  return X(() => {
2981
- r();
2982
- }), (b, y) => (a(), l("div", {
2983
- class: _(["svc-item-value-wrapper", {
2984
- "svc-item-value--new": s(m).isNew,
2985
- "svc-item-value--dragging": s(m).isDragging,
2986
- "svc-item-value--ghost": s(m).isDragDropGhost,
2987
- "svc-item-value--movedown": s(m).isDragDropMoveDown,
2988
- "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
2989
2987
  }]),
2990
- onPointerdown: y[4] || (y[4] = (f) => s(m).onPointerDown(f)),
2991
- "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,
2992
2990
  ref_key: "root",
2993
2991
  ref: t
2994
2992
  }, [
2995
- _a,
2996
- d("div", ga, [
2997
- s(m).isDraggable ? (a(), l("span", ba, [
2993
+ ya,
2994
+ d("div", ha, [
2995
+ s(_).isDraggable ? (a(), i("span", Ca, [
2998
2996
  v(s(u), {
2999
2997
  is: "sv-svg-icon",
3000
2998
  class: "svc-item-value-controls__drag-icon",
3001
2999
  iconName: "icon-drag-24x24",
3002
3000
  size: "auto",
3003
- title: s(m).dragTooltip
3001
+ title: s(_).dragTooltip
3004
3002
  }, null, 8, ["title"])
3005
3003
  ])) : p("", !0),
3006
- s(m).allowAdd ? C((a(), l("span", {
3004
+ s(_).allowAdd ? q((a(), i("span", {
3007
3005
  key: 1,
3008
3006
  class: "svc-item-value-controls__button svc-item-value-controls__add",
3009
- onClick: y[0] || (y[0] = (f) => s(m).add(s(m))),
3010
- "aria-label": void 0
3007
+ onClick: b[0] || (b[0] = (f) => s(_).add(s(_))),
3008
+ role: "button",
3009
+ "aria-label": s(_).tooltip
3011
3010
  }, [
3012
3011
  v(s(u), {
3013
3012
  is: "sv-svg-icon",
3014
3013
  iconName: "icon-add_16x16",
3015
3014
  size: "auto",
3016
- title: void 0
3017
- })
3018
- ])), [
3015
+ title: s(_).tooltip
3016
+ }, null, 8, ["title"])
3017
+ ], 8, qa)), [
3019
3018
  [s(N)]
3020
3019
  ]) : p("", !0),
3021
- s(m).allowRemove ? C((a(), l("span", {
3020
+ s(_).allowRemove ? q((a(), i("span", {
3022
3021
  key: 2,
3023
3022
  class: "svc-item-value-controls__button svc-item-value-controls__remove",
3024
- onClick: y[1] || (y[1] = (f) => s(m).remove(s(m))),
3025
- onBlur: y[2] || (y[2] = (f) => s(m).onFocusOut(f)),
3026
- "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
3027
3027
  }, [
3028
3028
  v(s(u), {
3029
3029
  is: "sv-svg-icon",
3030
3030
  iconName: "icon-remove_16x16",
3031
3031
  size: "auto",
3032
- title: void 0
3033
- })
3034
- ], 32)), [
3032
+ title: s(_).tooltip
3033
+ }, null, 8, ["title"])
3034
+ ], 40, $a)), [
3035
3035
  [s(N)]
3036
3036
  ]) : p("", !0)
3037
3037
  ]),
3038
3038
  d("div", {
3039
3039
  class: "svc-item-value__item",
3040
- onClick: y[3] || (y[3] = (f) => s(m).select(s(m), f))
3040
+ onClick: b[3] || (b[3] = (f) => s(_).select(s(_), f))
3041
3041
  }, [
3042
- v(s(u), A({ is: b.componentName }, b.componentData), null, 16, ["is"])
3042
+ v(s(u), A({ is: y.componentName }, y.componentData), null, 16, ["is"])
3043
3043
  ])
3044
- ], 42, ma));
3044
+ ], 42, ba));
3045
3045
  }
3046
- }), ha = ["data-sv-drop-target-item-value"], qa = { class: "svc-image-item-value-wrapper__content" }, Ca = ["accept"], ka = {
3046
+ }), fa = ["data-sv-drop-target-item-value"], wa = { class: "svc-image-item-value-wrapper__content" }, Ta = ["accept"], Da = {
3047
3047
  key: 0,
3048
3048
  class: "svc-image-item-value__item"
3049
- }, $a = {
3049
+ }, Na = {
3050
3050
  key: 2,
3051
3051
  class: "svc-context-container svc-image-item-value-controls"
3052
- }, fa = { class: "svc-image-item-value__item" }, wa = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, Ta = { class: "sd-imagepicker__label" }, Da = {
3052
+ }, Ma = { class: "svc-image-item-value__item" }, Sa = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, Ba = { class: "sd-imagepicker__label" }, Ia = {
3053
3053
  key: 0,
3054
3054
  class: "svc-image-item-value__loading"
3055
- }, Na = {
3055
+ }, Ea = {
3056
3056
  key: 0,
3057
3057
  class: "svc-image-item-value__placeholder"
3058
- }, Ma = { key: 1 }, Sa = /* @__PURE__ */ g({
3058
+ }, Pa = { key: 1 }, Ra = /* @__PURE__ */ g({
3059
3059
  __name: "ImageItemValue",
3060
3060
  props: {
3061
3061
  componentName: {},
3062
3062
  componentData: {}
3063
3063
  },
3064
3064
  setup(c) {
3065
- const t = c, e = k(() => t.componentData.data.creator), o = k(() => t.componentData.question), n = k(() => t.componentData.item), i = I(), r = z(
3065
+ const t = c, e = $(() => t.componentData.data.creator), o = $(() => t.componentData.question), n = $(() => t.componentData.item), r = I(), l = z(
3066
3066
  () => {
3067
- const y = new Ee(
3067
+ const b = new Ee(
3068
3068
  e.value,
3069
3069
  o.value,
3070
3070
  n.value,
3071
3071
  null,
3072
3072
  null
3073
3073
  );
3074
- return i != null && i.value && (y.itemsRoot = i.value), y;
3074
+ return r != null && r.value && (b.itemsRoot = r.value), b;
3075
3075
  },
3076
3076
  [() => e.value, () => o.value, () => n.value],
3077
- (y) => {
3078
- y.dispose();
3077
+ (b) => {
3078
+ b.dispose();
3079
3079
  }
3080
- ), m = (y) => {
3081
- y.preventDefault();
3082
- }, b = k(() => {
3083
- const y = !r.value.getIsNewItemSingle();
3080
+ ), _ = (b) => {
3081
+ b.preventDefault();
3082
+ }, y = $(() => {
3083
+ const b = !l.value.getIsNewItemSingle();
3084
3084
  return {
3085
- width: y ? o.value.renderedImageWidth + "px" : void 0,
3086
- 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
3087
3087
  };
3088
3088
  });
3089
3089
  return P(() => {
3090
- i.value && (r.value.itemsRoot = i.value);
3091
- }), (y, f) => (a(), l("div", {
3092
- onPointerdown: f[5] || (f[5] = (E) => s(r).onPointerDown(E)),
3093
- class: _(s(r).getRootCss()),
3094
- "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,
3095
3095
  ref_key: "root",
3096
- ref: i,
3097
- onDragstart: m,
3098
- onDragenter: f[6] || (f[6] = (E) => s(r).onDragEnter(E)),
3099
- onDragover: f[7] || (f[7] = (E) => s(r).onDragOver(E)),
3100
- onDragleave: f[8] || (f[8] = (E) => s(r).onDragLeave(E)),
3101
- 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))
3102
3102
  }, [
3103
3103
  d("div", {
3104
3104
  class: "svc-image-item-value-wrapper__ghost",
3105
- style: F(b.value)
3105
+ style: F(y.value)
3106
3106
  }, null, 4),
3107
- d("div", qa, [
3107
+ d("div", wa, [
3108
3108
  d("input", {
3109
3109
  type: "file",
3110
3110
  "aria-hidden": "true",
3111
3111
  tabindex: "-1",
3112
- accept: s(r).acceptedTypes,
3112
+ accept: s(l).acceptedTypes,
3113
3113
  class: "svc-choose-file-input"
3114
- }, null, 8, Ca),
3115
- !s(r).isNew && !s(r).isUploading ? (a(), l(w, { key: 0 }, [
3116
- s(r).isNew ? p("", !0) : (a(), l("div", ka, [
3117
- v(s(u), 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"])
3118
3118
  ])),
3119
- s(r).isDraggable && s(r).canRenderControls ? (a(), l("span", {
3119
+ s(l).isDraggable && s(l).canRenderControls ? (a(), i("span", {
3120
3120
  key: 1,
3121
3121
  class: "svc-context-button svc-image-item-value-controls__drag-area-indicator",
3122
- onPointerdown: f[0] || (f[0] = (E) => s(r).onPointerDown(E)),
3122
+ onPointerdown: f[0] || (f[0] = (E) => s(l).onPointerDown(E)),
3123
3123
  title: void 0,
3124
3124
  "aria-label": void 0
3125
3125
  }, [
@@ -3129,10 +3129,10 @@ const Nt = /* @__PURE__ */ g({
3129
3129
  size: "auto"
3130
3130
  })
3131
3131
  ], 32)) : p("", !0),
3132
- s(r).canRenderControls ? (a(), l("div", $a, [
3133
- C((a(), l("span", {
3132
+ s(l).canRenderControls ? (a(), i("div", Na, [
3133
+ q((a(), i("span", {
3134
3134
  class: "svc-context-button",
3135
- onClick: f[1] || (f[1] = (E) => s(r).chooseFile(s(r))),
3135
+ onClick: f[1] || (f[1] = (E) => s(l).chooseFile(s(l))),
3136
3136
  title: void 0,
3137
3137
  "aria-label": void 0
3138
3138
  }, [
@@ -3141,14 +3141,14 @@ const Nt = /* @__PURE__ */ g({
3141
3141
  role: "button",
3142
3142
  iconName: "icon-choosefile",
3143
3143
  size: "auto",
3144
- title: s(r).selectFileTitle
3144
+ title: s(l).selectFileTitle
3145
3145
  }, null, 8, ["title"])
3146
3146
  ])), [
3147
3147
  [s(N)]
3148
3148
  ]),
3149
- C((a(), l("span", {
3149
+ q((a(), i("span", {
3150
3150
  class: "svc-context-button svc-context-button--danger",
3151
- onClick: f[2] || (f[2] = (E) => s(r).remove(s(r))),
3151
+ onClick: f[2] || (f[2] = (E) => s(l).remove(s(l))),
3152
3152
  title: void 0,
3153
3153
  "aria-label": void 0
3154
3154
  }, [
@@ -3157,119 +3157,119 @@ const Nt = /* @__PURE__ */ g({
3157
3157
  role: "button",
3158
3158
  iconName: "icon-delete",
3159
3159
  size: "auto",
3160
- title: s(r).removeFileTitle
3160
+ title: s(l).removeFileTitle
3161
3161
  }, null, 8, ["title"])
3162
3162
  ])), [
3163
3163
  [s(N)]
3164
3164
  ])
3165
3165
  ])) : p("", !0)
3166
- ], 64)) : (a(), l(w, { key: 1 }, [
3167
- d("div", fa, [
3168
- d("div", wa, [
3169
- d("label", Ta, [
3166
+ ], 64)) : (a(), i(w, { key: 1 }, [
3167
+ d("div", Ma, [
3168
+ d("div", Sa, [
3169
+ d("label", Ba, [
3170
3170
  d("div", {
3171
- style: F(b.value),
3171
+ style: F(y.value),
3172
3172
  class: "sd-imagepicker__image"
3173
3173
  }, [
3174
- s(r).isUploading ? (a(), l("div", Da, [
3174
+ s(l).isUploading ? (a(), i("div", Ia, [
3175
3175
  v(s(u), { is: "sv-loading-indicator" })
3176
3176
  ])) : p("", !0)
3177
3177
  ], 4)
3178
3178
  ])
3179
3179
  ])
3180
3180
  ]),
3181
- s(r).allowAdd && !s(r).isUploading ? (a(), l("div", {
3181
+ s(l).allowAdd && !s(l).isUploading ? (a(), i("div", {
3182
3182
  key: 0,
3183
3183
  class: "svc-image-item-value-controls",
3184
3184
  onPointerdown: f[4] || (f[4] = (E) => E.stopPropagation())
3185
3185
  }, [
3186
- s(r).showPlaceholder ? (a(), l("span", Na, $(s(r).placeholderText), 1)) : p("", !0),
3187
- C((a(), l("span", {
3188
- class: _(s(r).addButtonCss),
3189
- 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)))
3190
3190
  }, [
3191
- s(r).showChooseButtonAsIcon ? (a(), h(s(u), {
3191
+ s(l).showChooseButtonAsIcon ? (a(), h(s(u), {
3192
3192
  key: 0,
3193
3193
  is: "sv-svg-icon",
3194
3194
  iconName: "icon-add-lg",
3195
3195
  size: "auto",
3196
- title: s(r).addFileTitle
3197
- }, null, 8, ["title"])) : (a(), l("span", Ma, $(s(r).chooseImageText), 1))
3196
+ title: s(l).addFileTitle
3197
+ }, null, 8, ["title"])) : (a(), i("span", Pa, k(s(l).chooseImageText), 1))
3198
3198
  ], 2)), [
3199
3199
  [s(N)]
3200
3200
  ])
3201
3201
  ], 32)) : p("", !0)
3202
3202
  ], 64))
3203
3203
  ])
3204
- ], 42, ha));
3204
+ ], 42, fa));
3205
3205
  }
3206
- }), Ba = /* @__PURE__ */ g({
3206
+ }), Va = /* @__PURE__ */ g({
3207
3207
  __name: "QuestionEditor",
3208
3208
  props: {
3209
3209
  survey: {},
3210
3210
  style: {}
3211
3211
  },
3212
3212
  setup(c) {
3213
- const t = c, e = k(() => {
3214
- var i;
3215
- return (i = t.survey) == null ? void 0 : i.getAllQuestions()[0];
3216
- }), o = k(() => {
3217
- const i = t.survey;
3218
- if (i && e.value) {
3219
- const r = i.getElementWrapperComponentName(e.value);
3220
- if (r)
3221
- return r;
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;
3222
3222
  }
3223
3223
  return "survey-question";
3224
- }), n = k(() => {
3225
- const i = t.survey;
3226
- let r;
3227
- 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)), {
3228
3228
  componentName: "survey-question",
3229
3229
  componentData: {
3230
3230
  element: e.value,
3231
- data: r
3231
+ data: l
3232
3232
  }
3233
3233
  };
3234
3234
  });
3235
- return (i, r) => (a(), l("div", {
3235
+ return (r, l) => (a(), i("div", {
3236
3236
  style: F(t.style)
3237
3237
  }, [
3238
3238
  v(s(u), A({ is: o.value }, n.value), null, 16, ["is"])
3239
3239
  ], 4));
3240
3240
  }
3241
- }), Ia = ["accept"], Ea = /* @__PURE__ */ d("svg", null, [
3241
+ }), Aa = ["accept"], za = /* @__PURE__ */ d("svg", null, [
3242
3242
  /* @__PURE__ */ d("use", { "xlink:href": "#icon-image-48x48" })
3243
- ], -1), Pa = [
3244
- Ea
3245
- ], Ra = { class: "svc-context-container svc-logo-image-controls" }, Va = {
3243
+ ], -1), La = [
3244
+ za
3245
+ ], Fa = { class: "svc-context-container svc-logo-image-controls" }, Ka = {
3246
3246
  key: 2,
3247
3247
  class: "svc-logo-image__loading"
3248
- }, Aa = /* @__PURE__ */ g({
3248
+ }, Ua = /* @__PURE__ */ g({
3249
3249
  __name: "Logo",
3250
3250
  props: {
3251
3251
  data: {}
3252
3252
  },
3253
3253
  setup(c) {
3254
- const t = c, e = k(() => t.data), o = k(() => e.value.survey), n = I(), i = z(
3254
+ const t = c, e = $(() => t.data), o = $(() => e.value.survey), n = I(), r = z(
3255
3255
  () => new Pe(e.value, null),
3256
3256
  [() => e.value]
3257
- ), r = I(), m = () => {
3258
- r.value = o.value.locLogo.renderedHtml;
3257
+ ), l = I(), _ = () => {
3258
+ l.value = o.value.locLogo.renderedHtml;
3259
3259
  };
3260
3260
  return G(
3261
3261
  () => o.value.locLogo,
3262
- (b, y) => {
3263
- m(), b && b.onStringChanged.add(m), y && b.onStringChanged.remove(m);
3262
+ (y, b) => {
3263
+ _(), y && y.onStringChanged.add(_), b && y.onStringChanged.remove(_);
3264
3264
  },
3265
3265
  {
3266
3266
  immediate: !0
3267
3267
  }
3268
3268
  ), P(() => {
3269
- n.value && (i.value.root = n.value);
3269
+ n.value && (r.value.root = n.value);
3270
3270
  }), K(() => {
3271
- i.value && (i.value.root = void 0);
3272
- }), (b, y) => (a(), l("div", {
3271
+ r.value && (r.value.root = void 0);
3272
+ }), (y, b) => (a(), i("div", {
3273
3273
  class: "svc-logo-image",
3274
3274
  ref_key: "root",
3275
3275
  ref: n
@@ -3278,26 +3278,26 @@ const Nt = /* @__PURE__ */ g({
3278
3278
  type: "file",
3279
3279
  "aria-hidden": "true",
3280
3280
  tabindex: "-1",
3281
- accept: s(i).acceptedTypes,
3281
+ accept: s(r).acceptedTypes,
3282
3282
  class: "svc-choose-file-input"
3283
- }, null, 8, Ia),
3284
- r.value ? p("", !0) : (a(), l(w, { key: 0 }, [
3285
- 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", {
3286
3286
  key: 0,
3287
3287
  class: "svc-logo-image-placeholder",
3288
- onClick: y[0] || (y[0] = (f) => s(i).chooseFile(s(i)))
3289
- }, Pa)), [
3288
+ onClick: b[0] || (b[0] = (f) => s(r).chooseFile(s(r)))
3289
+ }, La)), [
3290
3290
  [s(N)]
3291
3291
  ]) : p("", !0)
3292
3292
  ], 64)),
3293
- r.value && !s(i).isUploading ? (a(), l("div", {
3293
+ l.value && !s(r).isUploading ? (a(), i("div", {
3294
3294
  key: 1,
3295
- class: _(s(i).containerCss)
3295
+ class: m(s(r).containerCss)
3296
3296
  }, [
3297
- d("div", Ra, [
3298
- C((a(), l("span", {
3297
+ d("div", Fa, [
3298
+ q((a(), i("span", {
3299
3299
  class: "svc-context-button",
3300
- onClick: y[1] || (y[1] = (f) => s(i).chooseFile(s(i))),
3300
+ onClick: b[1] || (b[1] = (f) => s(r).chooseFile(s(r))),
3301
3301
  title: void 0,
3302
3302
  "aria-label": void 0
3303
3303
  }, [
@@ -3309,9 +3309,9 @@ const Nt = /* @__PURE__ */ g({
3309
3309
  ])), [
3310
3310
  [s(N)]
3311
3311
  ]),
3312
- C((a(), l("span", {
3312
+ q((a(), i("span", {
3313
3313
  class: "svc-context-button svc-context-button--danger",
3314
- onClick: y[2] || (y[2] = (f) => s(i).remove(s(i))),
3314
+ onClick: b[2] || (b[2] = (f) => s(r).remove(s(r))),
3315
3315
  title: void 0,
3316
3316
  "aria-label": void 0
3317
3317
  }, [
@@ -3329,15 +3329,15 @@ const Nt = /* @__PURE__ */ g({
3329
3329
  data: o.value
3330
3330
  }, null, 8, ["data"])
3331
3331
  ], 2)) : p("", !0),
3332
- s(i).isUploading ? (a(), l("div", Va, [
3332
+ s(r).isUploading ? (a(), i("div", Ka, [
3333
3333
  v(s(u), { is: "sv-loading-indicator" })
3334
3334
  ])) : p("", !0)
3335
3335
  ], 512));
3336
3336
  }
3337
- }), za = {
3337
+ }), Qa = {
3338
3338
  key: 0,
3339
3339
  class: "svc-search"
3340
- }, La = { class: "svc-search__search-icon" }, Fa = ["aria-label", "placeholder"], Ka = { class: "svc-search__toolbar" }, Ua = { class: "svc-search__toolbar-counter" }, Ha = /* @__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({
3341
3341
  __name: "Search",
3342
3342
  props: {
3343
3343
  model: {}
@@ -3345,32 +3345,32 @@ const Nt = /* @__PURE__ */ g({
3345
3345
  setup(c) {
3346
3346
  const t = c;
3347
3347
  T(() => t.model);
3348
- const e = k({
3348
+ const e = $({
3349
3349
  get: () => t.model.filterString,
3350
3350
  set: (o) => {
3351
3351
  const n = t.model;
3352
3352
  n.filterString = o;
3353
3353
  }
3354
3354
  });
3355
- return (o, n) => o.model.isVisible ? (a(), l("div", za, [
3356
- d("div", La, [
3355
+ return (o, n) => o.model.isVisible ? (a(), i("div", Qa, [
3356
+ d("div", Ha, [
3357
3357
  v(s(u), {
3358
3358
  is: "sv-svg-icon",
3359
3359
  iconName: "icon-search",
3360
3360
  size: "auto"
3361
3361
  })
3362
3362
  ]),
3363
- C(d("input", {
3363
+ q(d("input", {
3364
3364
  type: "text",
3365
3365
  class: "svc-search__input",
3366
- "onUpdate:modelValue": n[0] || (n[0] = (i) => e.value = i),
3366
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r),
3367
3367
  "aria-label": o.model.filterStringPlaceholder,
3368
3368
  placeholder: o.model.filterStringPlaceholder
3369
- }, null, 8, Fa), [
3369
+ }, null, 8, Oa), [
3370
3370
  [de, e.value]
3371
3371
  ]),
3372
- d("div", Ka, [
3373
- d("div", Ua, $(o.model.matchCounterText), 1),
3372
+ d("div", Ga, [
3373
+ d("div", Wa, k(o.model.matchCounterText), 1),
3374
3374
  v(s(u), {
3375
3375
  is: "sv-action-bar",
3376
3376
  model: o.model.searchActionBar
@@ -3378,7 +3378,7 @@ const Nt = /* @__PURE__ */ g({
3378
3378
  ])
3379
3379
  ])) : p("", !0);
3380
3380
  }
3381
- }), Oa = ["title"], Qa = /* @__PURE__ */ g({
3381
+ }), Ja = ["title"], Za = /* @__PURE__ */ g({
3382
3382
  __name: "PageNavigator",
3383
3383
  props: {
3384
3384
  pagesController: {},
@@ -3391,54 +3391,56 @@ const Nt = /* @__PURE__ */ g({
3391
3391
  ), o = I();
3392
3392
  return P(() => {
3393
3393
  if (t.pageEditMode !== "bypage") {
3394
- const n = o.value, i = e.value;
3395
- n && i.attachToUI(n);
3394
+ const n = o.value, r = e.value;
3395
+ n && r.attachToUI(n);
3396
3396
  }
3397
3397
  }), X(() => {
3398
3398
  const n = e.value;
3399
3399
  n.stopItemsContainerHeightObserver(), n.setScrollableContainer(void 0);
3400
3400
  }), K(() => {
3401
3401
  e.value.dispose();
3402
- }), (n, i) => C((a(), l("div", {
3402
+ }), (n, r) => q((a(), i("div", {
3403
3403
  class: "svc-page-navigator",
3404
3404
  ref_key: "root",
3405
3405
  ref: o
3406
3406
  }, [
3407
- C((a(), l("div", {
3408
- role: "button",
3409
- class: _(["svc-page-navigator__selector svc-page-navigator__button", { "svc-page-navigator__button--pressed": s(e).isPopupOpened }]),
3410
- onClick: i[0] || (i[0] = (r) => s(e).togglePageSelector(r)),
3411
- title: s(e).pageSelectorCaption
3412
- }, [
3413
- v(s(u), {
3414
- is: "sv-svg-icon",
3415
- class: "svc-page-navigator__button-icon",
3416
- iconName: s(e).icon,
3417
- size: "auto"
3418
- }, null, 8, ["iconName"]),
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
+ ]),
3419
3423
  v(s(u), {
3420
3424
  is: "sv-popup",
3421
3425
  model: s(e).popupModel
3422
3426
  }, null, 8, ["model"])
3423
- ], 10, Oa)), [
3424
- [s(N)]
3425
3427
  ]),
3426
3428
  d("div", null, [
3427
- (a(!0), l(w, null, V(s(e).visibleItems, (r) => (a(), h(s(u), {
3429
+ (a(!0), i(w, null, V(s(e).visibleItems, (l) => (a(), h(s(u), {
3428
3430
  is: "svc-page-navigator-item",
3429
- key: r.id,
3430
- model: r
3431
+ key: l.id,
3432
+ model: l
3431
3433
  }, null, 8, ["model"]))), 128))
3432
3434
  ])
3433
3435
  ], 512)), [
3434
- [U, s(e).visible]
3436
+ [Q, s(e).visible]
3435
3437
  ]);
3436
3438
  }
3437
- }), Ga = { class: "svc-page-navigator-item" }, Wa = ["title"], ja = /* @__PURE__ */ d("div", { class: "svc-page-navigator-item__dot-content" }, null, -1), Ja = [
3438
- ja
3439
- ], Za = { class: "svc-page-navigator-item__banner" }, Xa = { class: "svc-page-navigator-item__text" }, Ya = /* @__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" }, [
3440
3442
  /* @__PURE__ */ d("span", { class: "svc-page-navigator-item__dot-content" })
3441
- ], -1), xa = /* @__PURE__ */ g({
3443
+ ], -1), nl = /* @__PURE__ */ g({
3442
3444
  __name: "PageNavigatorItem",
3443
3445
  props: {
3444
3446
  model: {}
@@ -3449,29 +3451,29 @@ const Nt = /* @__PURE__ */ g({
3449
3451
  const e = (o) => {
3450
3452
  t.model.action(), o.stopPropagation(), o.preventDefault();
3451
3453
  };
3452
- return (o, n) => (a(), l("div", Ga, [
3453
- C((a(), l("div", {
3454
+ return (o, n) => (a(), i("div", Xa, [
3455
+ q((a(), i("div", {
3454
3456
  role: "button",
3455
- class: _(["svc-page-navigator-item-content", {
3457
+ class: m(["svc-page-navigator-item-content", {
3456
3458
  "svc-page-navigator-item--selected": o.model.active,
3457
3459
  "svc-page-navigator-item--disabled": o.model.disabled
3458
3460
  }]),
3459
- onClick: n[0] || (n[0] = (i) => e(i))
3461
+ onClick: n[0] || (n[0] = (r) => e(r))
3460
3462
  }, [
3461
3463
  d("div", {
3462
3464
  class: "svc-page-navigator-item__dot",
3463
3465
  title: o.model.title
3464
- }, Ja, 8, Wa),
3465
- d("div", Za, [
3466
- d("span", Xa, $(o.model.title), 1),
3467
- Ya
3466
+ }, el, 8, Ya),
3467
+ d("div", ol, [
3468
+ d("span", sl, k(o.model.title), 1),
3469
+ tl
3468
3470
  ])
3469
3471
  ], 2)), [
3470
3472
  [s(N)]
3471
3473
  ])
3472
3474
  ]));
3473
3475
  }
3474
- }), el = { class: "svc-question__dropdown-choices--wrapper" }, ol = { class: "svc-question__dropdown-choices" }, sl = /* @__PURE__ */ g({
3476
+ }), al = { class: "svc-question__dropdown-choices--wrapper" }, ll = { class: "svc-question__dropdown-choices" }, il = /* @__PURE__ */ g({
3475
3477
  __name: "Dropdown",
3476
3478
  props: {
3477
3479
  model: {},
@@ -3486,16 +3488,16 @@ const Nt = /* @__PURE__ */ g({
3486
3488
  data: t.element.getItemValueWrapperComponentData(n)
3487
3489
  }
3488
3490
  });
3489
- return (n, i) => (a(), l("div", el, [
3491
+ return (n, r) => (a(), i("div", al, [
3490
3492
  d("div", null, [
3491
- d("div", ol, [
3492
- (a(!0), l(w, null, V(n.model.getRenderedItems(), (r) => (a(), l("div", {
3493
- key: r.value,
3494
- 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())
3495
3497
  }, [
3496
3498
  v(s(u), A({
3497
- is: e(r)
3498
- }, o(r)), null, 16, ["is"])
3499
+ is: e(l)
3500
+ }, o(l)), null, 16, ["is"])
3499
3501
  ], 2))), 128))
3500
3502
  ]),
3501
3503
  n.model.needToCollapse ? (a(), h(s(u), {
@@ -3508,7 +3510,7 @@ const Nt = /* @__PURE__ */ g({
3508
3510
  ])
3509
3511
  ]));
3510
3512
  }
3511
- }), tl = /* @__PURE__ */ g({
3513
+ }), rl = /* @__PURE__ */ g({
3512
3514
  __name: "QuestionDropdown",
3513
3515
  props: {
3514
3516
  componentName: {},
@@ -3528,51 +3530,51 @@ const Nt = /* @__PURE__ */ g({
3528
3530
  "adorner-component": "svc-dropdown-question-adorner"
3529
3531
  }, null, 8, ["element", "component-name", "component-data"]));
3530
3532
  }
3531
- }), nl = { class: "svc-question__adorner" }, al = { class: "svc-question__content svc-question__content--in-popup" }, ll = { class: "svc-question__dropdown-choices" }, le = "survey-radiogroup-item", il = /* @__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({
3532
3534
  __name: "CellQuestionDropdown",
3533
3535
  props: {
3534
3536
  componentName: {},
3535
3537
  componentData: {}
3536
3538
  },
3537
3539
  setup(c) {
3538
- const t = c, e = k(
3540
+ const t = c, e = $(
3539
3541
  () => t.componentData.element
3540
- ), o = (i) => e.value.getItemValueWrapperComponentName(i) || le, n = (i) => ({
3542
+ ), o = (r) => e.value.getItemValueWrapperComponentName(r) || le, n = (r) => ({
3541
3543
  componentName: le,
3542
3544
  componentData: {
3543
3545
  question: e.value,
3544
- item: i,
3545
- data: e.value.getItemValueWrapperComponentData(i)
3546
+ item: r,
3547
+ data: e.value.getItemValueWrapperComponentData(r)
3546
3548
  }
3547
3549
  });
3548
- return T(() => e.value), (i, r) => (a(), l("div", nl, [
3549
- d("div", al, [
3550
- v(s(u), A({ is: i.componentName }, i.componentData), null, 16, ["is"]),
3551
- d("div", ll, [
3552
- (a(!0), l(w, null, V(e.value.visibleChoices, (m) => (a(), l("div", {
3553
- 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,
3554
3556
  class: "svc-question__dropdown-choice"
3555
3557
  }, [
3556
3558
  v(s(u), A({
3557
- is: o(m)
3558
- }, n(m)), null, 16, ["is"])
3559
+ is: o(_)
3560
+ }, n(_)), null, 16, ["is"])
3559
3561
  ]))), 128))
3560
3562
  ])
3561
3563
  ])
3562
3564
  ]));
3563
3565
  }
3564
- }), rl = ["data-sv-drop-target-survey-element"], dl = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), cl = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), ul = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), pl = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), vl = { class: "svc-widget__content" }, ml = {
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 = {
3565
3567
  key: 1,
3566
3568
  class: "svc-panel__placeholder_frame"
3567
- }, _l = /* @__PURE__ */ d("div", {
3569
+ }, Cl = /* @__PURE__ */ d("div", {
3568
3570
  class: "svc-panel__placeholder",
3569
3571
  "data-bind": "text: placeholderText"
3570
- }, null, -1), gl = [
3571
- _l
3572
- ], bl = { class: "svc-question__content-actions" }, yl = {
3572
+ }, null, -1), ql = [
3573
+ Cl
3574
+ ], $l = { class: "svc-question__content-actions" }, kl = {
3573
3575
  key: 0,
3574
3576
  class: "svc-panel__placeholder_frame"
3575
- }, hl = { class: "svc-panel__placeholder" }, ql = /* @__PURE__ */ g({
3577
+ }, fl = { class: "svc-panel__placeholder" }, wl = /* @__PURE__ */ g({
3576
3578
  __name: "CustomWidget",
3577
3579
  props: {
3578
3580
  componentName: {},
@@ -3594,29 +3596,29 @@ const Nt = /* @__PURE__ */ g({
3594
3596
  e.value && o.value && (o.value.rootElement = e.value);
3595
3597
  }), P(() => {
3596
3598
  e.value && o.value && (o.value.rootElement = e.value);
3597
- }), (n, i) => s(o) ? (a(), l("div", {
3599
+ }), (n, r) => s(o) ? (a(), i("div", {
3598
3600
  key: 0,
3599
- class: _(["svc-question__adorner", s(o).rootCss()]),
3600
- onMouseover: i[2] || (i[2] = (r) => s(o).hover(r, r.currentTarget)),
3601
- 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)),
3602
3604
  "data-sv-drop-target-survey-element": s(o).element.name || null,
3603
3605
  ref_key: "root",
3604
3606
  ref: e
3605
3607
  }, [
3606
- s(o).element.isInteractiveDesignElement ? C((a(), l("div", {
3608
+ s(o).element.isInteractiveDesignElement ? q((a(), i("div", {
3607
3609
  key: 0,
3608
- class: _(["svc-question__content", s(o).css()]),
3609
- 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)),
3610
3612
  "data-bind": "clickBubble: false"
3611
3613
  }, [
3612
- dl,
3613
- cl,
3614
- ul,
3615
- pl,
3616
- s(o).allowDragging ? (a(), l("div", {
3614
+ ml,
3615
+ _l,
3616
+ gl,
3617
+ bl,
3618
+ s(o).allowDragging ? (a(), i("div", {
3617
3619
  key: 0,
3618
3620
  class: "svc-question__drag-area",
3619
- onPointerdown: i[0] || (i[0] = (r) => s(o).onPointerDown(r))
3621
+ onPointerdown: r[0] || (r[0] = (l) => s(o).onPointerDown(l))
3620
3622
  }, [
3621
3623
  v(s(u), {
3622
3624
  is: "sv-svg-icon",
@@ -3625,11 +3627,11 @@ const Nt = /* @__PURE__ */ g({
3625
3627
  size: "auto"
3626
3628
  })
3627
3629
  ], 32)) : p("", !0),
3628
- d("div", vl, [
3630
+ d("div", yl, [
3629
3631
  v(s(u), A({ is: n.componentName }, n.componentData), null, 16, ["is"])
3630
3632
  ]),
3631
- s(o).isEmptyElement ? (a(), l("div", ml, gl)) : p("", !0),
3632
- d("div", bl, [
3633
+ s(o).isEmptyElement ? (a(), i("div", hl, ql)) : p("", !0),
3634
+ d("div", $l, [
3633
3635
  v(s(u), {
3634
3636
  is: "sv-action-bar",
3635
3637
  model: s(o).actionContainer,
@@ -3639,24 +3641,24 @@ const Nt = /* @__PURE__ */ g({
3639
3641
  ], 2)), [
3640
3642
  [s(N)]
3641
3643
  ]) : p("", !0),
3642
- s(o).element.isInteractiveDesignElement ? p("", !0) : (a(), l(w, { key: 1 }, [
3644
+ s(o).element.isInteractiveDesignElement ? p("", !0) : (a(), i(w, { key: 1 }, [
3643
3645
  v(s(u), A({ is: n.componentName }, n.componentData), null, 16, ["is"]),
3644
- s(o).isEmptyElement ? (a(), l("div", yl, [
3645
- d("div", hl, $(s(o).placeholderText), 1)
3646
+ s(o).isEmptyElement ? (a(), i("div", kl, [
3647
+ d("div", fl, k(s(o).placeholderText), 1)
3646
3648
  ])) : p("", !0)
3647
3649
  ], 64))
3648
- ], 42, rl)) : p("", !0);
3650
+ ], 42, vl)) : p("", !0);
3649
3651
  }
3650
- }), Cl = { class: "svc-carry-forward-panel-wrapper" }, kl = { class: "svc-carry-forward-panel" }, $l = { class: "svc-carry-forward-panel__link" }, fl = /* @__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({
3651
3653
  __name: "QuestionBanner",
3652
3654
  props: {
3653
3655
  model: {}
3654
3656
  },
3655
3657
  setup(c) {
3656
- return (t, e) => (a(), l("div", Cl, [
3657
- d("div", kl, [
3658
- d("span", null, $(t.model.text) + $(" "), 1),
3659
- d("span", $l, [
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, [
3660
3662
  v(s(u), {
3661
3663
  is: "svc-action-button",
3662
3664
  text: t.model.actionText,
@@ -3667,20 +3669,20 @@ const Nt = /* @__PURE__ */ g({
3667
3669
  ]));
3668
3670
  }
3669
3671
  });
3670
- function wl(c, t, e) {
3672
+ function Sl(c, t, e) {
3671
3673
  c(t, e);
3672
3674
  }
3673
3675
  function pe(c) {
3674
- const t = wl.bind(
3676
+ const t = Sl.bind(
3675
3677
  void 0,
3676
3678
  c
3677
3679
  );
3678
- 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", Ha), 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", Qa), t("svc-page-navigator-item", xa), t("svc-page", Cn), t("svc-row", Nn), t("svc-add-new-question-btn", $n), t("svc-add-question-type-selector", wn), t("svc-question", ae), t("svc-rating-question", ae), t("svc-rating-question-content", Wn), t("svc-image-question", Ln), t("svc-image-question-adorner", Qn), t("svc-matrix-cell", Jn), t("svc-cell-question", Yn), t("svc-cell-dropdown-question", il), t("svc-question-editor-content", Ba), t("svc-logo-image", Aa), t("svc-panel", va), t("svc-item-value", ya), t("svc-image-item-value", Sa), t("svc-dropdown-question", tl), t("svc-dropdown-question-adorner", sl), t("svc-widget-question", ql), t("svc-question-banner", fl);
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);
3679
3681
  }
3680
3682
  pe(
3681
3683
  (c, t) => ie.Instance.registerComponent(c, t)
3682
3684
  );
3683
- const Sl = {
3685
+ const Rl = {
3684
3686
  install(c) {
3685
3687
  c.component("SurveyCreatorComponent", je), pe((t, e) => {
3686
3688
  c.component(t, e), ie.Instance.registerComponent(t, t);
@@ -3689,5 +3691,5 @@ const Sl = {
3689
3691
  };
3690
3692
  export {
3691
3693
  je as SurveyCreatorComponent,
3692
- Sl as surveyCreatorPlugin
3694
+ Rl as surveyCreatorPlugin
3693
3695
  };