survey-creator-vue 2.0.4 → 2.0.6

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