survey-creator-vue 2.0.3 → 2.0.5

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,8 +1,8 @@
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 B, onMounted as E, onUnmounted as K, openBlock as l, createElementBlock as i, Fragment as w, createVNode as v, unref as s, createElementVNode as a, normalizeClass as _, normalizeStyle as F, createCommentVNode as p, renderList as R, createBlock as C, nextTick as re, withDirectives as h, toDisplayString as $, vShow as L, 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
- import { ResponsivityManager as he, CssClassBuilder as Ce, RendererFactory as ce, DropdownListModel as qe, 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 Ie, ItemValueWrapperViewModel as Be, ImageItemValueWrapperViewModel as Ee, LogoImageViewModel as Pe, PageNavigatorViewModel as Re, QuestionDropdownAdornerViewModel as Ve, editableStringRendererName as Ae } from "survey-creator-core";
5
- const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Le = { class: "svc-top-bar" }, Fe = {
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
+ import { ResponsivityManager as he, CssClassBuilder as qe, RendererFactory as ce, DropdownListModel as Ce, VerticalResponsivityManager as ke } from "survey-core";
4
+ import { editorLocalization as ue, SurveyResultsModel as $e, initLogicOperator as fe, StringEditorViewModelBase as we, ToolboxToolViewModel as Te, PageAdorner as De, RowViewModel as Ne, QuestionAdornerViewModel as ee, QuestionImageAdornerViewModel as Me, QuestionRatingAdornerViewModel as Se, MatrixCellWrapperViewModel as Be, ItemValueWrapperViewModel as Ie, ImageItemValueWrapperViewModel as Ee, LogoImageViewModel as Pe, PageNavigatorViewModel as Re, QuestionDropdownAdornerViewModel as Ve, editableStringRendererName as Ae } from "survey-creator-core";
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"
8
8
  }, Ke = ["v-show"], Ue = { class: "svc-creator__content-holder svc-flex-column" }, He = ["aria-labelledby", "id"], Oe = {
@@ -16,65 +16,65 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
16
16
  props: {
17
17
  model: {}
18
18
  },
19
- setup(u) {
20
- const t = u, e = k(() => ge(t.model)), o = B();
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
- }), K(() => {
28
+ }), F(() => {
29
29
  t.model.unsubscribeRootElement();
30
- }), (n, r) => e.value.isCreatorDisposed ? p("", !0) : (l(), i(w, { key: 0 }, [
31
- v(s(c), { is: "survey-popup-modal" }),
32
- a("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
- style: F(e.value.themeVariables),
34
+ style: z(e.value.themeVariables),
35
35
  ref_key: "root",
36
36
  ref: o
37
37
  }, [
38
- a("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
- a("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
- a("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
- a("div", ze, [
52
- a("div", Le, [
53
- e.value.showTabs ? (l(), 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 ? (l(), 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
- a("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
- a("div", Ue, [
76
- (l(!0), i(w, null, R(e.value.tabs, (d) => (l(), i(w, null, [
77
- e.value.viewType == d.id && d.visible ? (l(), 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 ze = { 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 ze = { 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 ? (l(), i("div", Oe, [
95
- a("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 ? (l(), C(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) : (l(), i("div", Ge, [
113
- a("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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
128
128
  props: {
129
129
  model: {}
130
130
  },
131
- setup(u) {
132
- const t = u;
131
+ setup(c) {
132
+ const t = c;
133
133
  let e;
134
- const o = B();
135
- return f(() => t.model), E(() => {
134
+ const o = I();
135
+ return w(() => t.model), E(() => {
136
136
  e = new he(o.value, t.model);
137
- }), K(() => {
137
+ }), F(() => {
138
138
  e.dispose(), e = void 0;
139
- }), (n, r) => (l(), 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
- (l(!0), i(w, null, R(n.model.renderedActions, (d) => (l(), C(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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
154
154
  props: {
155
155
  item: {}
156
156
  },
157
- setup(u) {
158
- const t = B(), 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
- }), K(() => {
164
+ }), F(() => {
165
165
  const o = e.item;
166
166
  o.updateModeCallback = void 0;
167
- }), (o, n) => (l(), 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
- a("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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
182
182
  props: {
183
183
  item: {}
184
184
  },
185
- setup(u) {
186
- const t = u;
187
- return f(() => t.item), (e, o) => h((l(), 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 ze = { 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 ? (l(), 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 ? (l(), C(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,54 +214,54 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
214
214
  props: {
215
215
  model: {}
216
216
  },
217
- setup(u) {
218
- const t = u, e = B();
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
- }), K(() => {
221
+ }), F(() => {
222
222
  t.model.resetResizeManager();
223
- }), (o, n) => h((l(), i("div", {
223
+ }), (o, n) => C((a(), r("div", {
224
224
  class: _(["svc-side-bar", o.model.rootCss])
225
225
  }, [
226
- h(a("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
- [L, o.model.renderContainer]
230
+ [K, o.model.renderContainer]
231
231
  ]),
232
- a("div", eo, [
233
- h(a("div", oo, [
234
- a("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
- a("div", so, [
244
- (l(!0), i(w, null, R(o.model.pages, (r, d) => (l(), C(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
- [L, o.model.renderContainer]
252
+ [K, o.model.renderContainer]
253
253
  ]),
254
- o.model.sideAreaComponentName ? (l(), C(s(c), {
254
+ o.model.sideAreaComponentName ? (a(), h(s(u), {
255
255
  key: 0,
256
256
  is: o.model.sideAreaComponentName,
257
257
  model: o.model.sideAreaComponentData
258
258
  }, null, 8, ["is", "model"])) : p("", !0)
259
259
  ])
260
260
  ], 2)), [
261
- [L, o.model.renderRoot]
261
+ [K, o.model.renderRoot]
262
262
  ]);
263
263
  }
264
- }), no = { class: "svc-side-bar__container-header" }, lo = { class: "svc-side-bar__container-actions" }, ao = {
264
+ }), no = { class: "svc-side-bar__container-header" }, ao = { class: "svc-side-bar__container-actions" }, lo = {
265
265
  key: 0,
266
266
  class: "svc-side-bar__container-title"
267
267
  }, io = /* @__PURE__ */ g({
@@ -269,16 +269,16 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
269
269
  props: {
270
270
  model: {}
271
271
  },
272
- setup(u) {
273
- const t = u;
274
- return f(() => t.model), (e, o) => (l(), i("div", no, [
275
- a("div", lo, [
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 ? (l(), i("div", ao, $(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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
286
286
  props: {
287
287
  model: {}
288
288
  },
289
- setup(u) {
290
- const t = u;
291
- return f(() => t.model), (e, o) => e.model.visible ? (l(), C(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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
299
299
  props: {
300
300
  model: {}
301
301
  },
302
- setup(u) {
303
- const t = u;
304
- return f(() => t.model), (e, o) => e.model.isVisible ? (l(), C(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,16 +312,16 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
312
312
  props: {
313
313
  model: {}
314
314
  },
315
- setup(u) {
316
- const t = u;
317
- return f(() => t.model), (e, o) => (l(), 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"]),
324
- e.model.survey ? (l(), C(s(Q), {
324
+ e.model.survey ? (a(), h(s(Q), {
325
325
  key: 0,
326
326
  survey: e.model.survey
327
327
  }, null, 8, ["survey"])) : p("", !0)
@@ -332,38 +332,38 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
332
332
  props: {
333
333
  model: {}
334
334
  },
335
- setup(u) {
336
- const t = u;
337
- return f(() => t.model), (e, o) => (l(!0), i(w, null, R(e.model.actions, (n, r) => (l(), C(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__ */ a("div", { class: "svc-sidebar-tabs__separator" }, [
344
- /* @__PURE__ */ a("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) => (l(), 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
- a("div", vo, [
356
- a("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
- a("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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
372
372
  _: 1
373
373
  })
374
374
  ]),
375
- a("div", bo, [
376
- a("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"])
@@ -382,52 +382,52 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
382
382
  ])
383
383
  ], 2));
384
384
  }
385
- }), Co = {
385
+ }), qo = {
386
386
  key: 0,
387
387
  class: "svc-menu-action"
388
- }, qo = ["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 ? (l(), i("div", Co, [
396
- h((l(), 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
- a("div", ko, [
402
- a("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"
407
407
  }, null, 8, ["iconName"])
408
408
  ])
409
409
  ])
410
- ], 10, qo)), [
410
+ ], 10, Co)), [
411
411
  [s(D), { processEsc: !1, disableTabStop: e.model.disableTabStop }]
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__ */ a("div", { class: "svc-property-grid-placeholder__content" }, [
416
- /* @__PURE__ */ a("div", { class: "svc-property-grid-placeholder__gap" }),
417
- /* @__PURE__ */ a("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) => (l(), i("div", fo, [
423
- a("div", To, [
424
- a("span", Do, $(s(t).getString("ed.propertyGridPlaceholderTitle")), 1),
425
- a("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
  ]));
429
429
  }
430
- }), Io = { class: "svc-side-bar__container-header svc-sidebar__header-container" }, Bo = {
430
+ }), Bo = { class: "svc-side-bar__container-header svc-sidebar__header-container" }, Io = {
431
431
  key: 0,
432
432
  class: "svc-side-bar__container-title"
433
433
  }, Eo = {
@@ -438,38 +438,38 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
438
438
  props: {
439
439
  model: {}
440
440
  },
441
- setup(u) {
442
- const t = u;
443
- return f(() => t.model), (e, o) => (l(), i("div", Io, [
444
- e.model.subTitle ? p("", !0) : (l(), i("div", Bo, $(e.model.title), 1)),
445
- e.model.subTitle ? (l(), i("div", Eo, [
446
- a("span", Po, $(e.model.title), 1),
447
- a("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
  }
451
- }), Ao = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, zo = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, Lo = { class: "svc-sidebar__header-content" }, Fo = { class: "svc-sidebar__header-caption" }, Ko = { class: "svc-sidebar__header-title" }, Uo = { class: "svc-sidebar__header-subtitle" }, Ho = /* @__PURE__ */ g({
451
+ }), Ao = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, Lo = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, zo = { class: "svc-sidebar__header-content" }, Fo = { class: "svc-sidebar__header-caption" }, Ko = { class: "svc-sidebar__header-title" }, Uo = { class: "svc-sidebar__header-subtitle" }, Ho = /* @__PURE__ */ g({
452
452
  __name: "SideBarPropertyGridHeader",
453
453
  props: {
454
454
  model: {}
455
455
  },
456
- setup(u) {
457
- const t = u;
458
- return f(() => t.model), (e, o) => (l(), i("div", Ao, [
459
- a("div", zo, [
460
- a("div", Lo, [
461
- h((l(), 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
- a("div", Fo, [
466
- a("span", Ko, $(e.model.title), 1),
467
- a("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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
485
485
  cssClasses: {},
486
486
  element: {}
487
487
  },
488
- setup(u) {
489
- return (t, e) => (l(), 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
- a("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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
517
517
  click: { type: Function },
518
518
  iconName: {}
519
519
  },
520
- setup(u) {
521
- const t = u, e = (n) => {
520
+ setup(c) {
521
+ const t = c, e = (n) => {
522
522
  t.click(), t.allowBubble || n.stopPropagation();
523
- }, o = () => new Ce().append(t.classes || "").append("svc-action-button").append("svc-action-button--icon", !!t.iconName).append("svc-action-button--selected", !!t.selected).append("svc-action-button--disabled", !!t.disabled).toString();
524
- return (n, r) => (l(), i(w, null, [
525
- n.iconName ? p("", !0) : (l(), i(w, { key: 0 }, [
526
- n.disabled ? (l(), i("span", {
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, 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
- h((l(), 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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
539
539
  [s(D)]
540
540
  ])
541
541
  ], 64)),
542
- n.iconName ? (l(), i(w, { key: 1 }, [
543
- n.disabled ? (l(), 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
- h((l(), 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 ze = { 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__ */ a("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 ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
581
581
  props: {
582
582
  item: {}
583
583
  },
584
- setup(u) {
585
- const t = u;
586
- return f(() => t.item), (e, o) => h((l(), 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 ze = { 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
- a("div", {
601
+ i("div", {
602
602
  class: _(e.item.getSwitcherIconCss())
603
603
  }, Yo, 2),
604
- e.item.hasTitle ? (l(), 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,68 +614,69 @@ const ze = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
614
614
  props: {
615
615
  model: {}
616
616
  },
617
- setup(u) {
618
- const t = u;
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) => (l(), 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) : (l(), 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 ? (l(), 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",
641
- style: F({
641
+ style: z({
642
642
  width: e.value.frameWidth + "px",
643
643
  height: e.value.frameHeight + "px"
644
644
  })
645
645
  }, [
646
- a("div", {
646
+ i("div", {
647
647
  class: "svd-simulator",
648
- style: F({
648
+ style: z({
649
649
  width: e.value.deviceWidth + "px",
650
650
  height: e.value.deviceHeight + "px",
651
651
  transform: "scale(" + e.value.scale + ") translate(-50%, -50%)"
652
652
  })
653
653
  }, [
654
- a("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)
661
661
  ], 4)) : p("", !0)
662
662
  ], 34));
663
663
  }
664
- }), ls = { class: "svc-surface-placeholder" }, as = { class: "svc-surface-placeholder__text" }, is = { class: "svc-surface-placeholder__title" }, rs = { class: "svc-surface-placeholder__description" }, W = /* @__PURE__ */ g({
664
+ }), as = { class: "svc-surface-placeholder" }, ls = { class: "svc-surface-placeholder__text" }, is = { class: "svc-surface-placeholder__title" }, rs = { class: "svc-surface-placeholder__description" }, W = /* @__PURE__ */ g({
665
665
  __name: "SurfacePlaceholder",
666
666
  props: {
667
667
  name: {},
668
668
  placeholderTitleText: {},
669
669
  placeholderDescriptionText: {}
670
670
  },
671
- setup(u) {
672
- return (t, e) => (l(), i("div", ls, [
673
- a("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
- a("div", as, [
677
- a("div", is, $(t.placeholderTitleText), 1),
678
- a("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,36 +688,36 @@ const ze = { 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) => (l(), 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
  }])
696
697
  }, [
697
- e.model.survey.isEmpty ? (l(), C(W, {
698
+ e.model.survey.isEmpty ? (a(), h(W, {
698
699
  key: 0,
699
700
  name: "preview",
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) : (l(), 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 ? (l(), C(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 ? (l(), 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,59 +730,59 @@ const ze = { 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) => h((l(), 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
- a("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
  }
759
760
  const vs = {
760
761
  key: 0,
761
762
  class: "svd-test-results"
762
- }, ms = { class: "svd-test-results__content" }, _s = { class: "svd-test-results__header" }, gs = { class: "svd-test-results__header-text" }, bs = { class: "svd-test-results__header-types" }, ys = { class: "svd-test-results__text svd-light-bg-color" }, hs = { class: "svd-test-results__table svd-light-bg-color" }, Cs = { class: "svd-light-background-color" }, qs = { class: "svd-dark-border-color" }, ks = { class: "svd-dark-border-color" }, $s = /* @__PURE__ */ g({
763
+ }, ms = { class: "svd-test-results__content" }, _s = { class: "svd-test-results__header" }, gs = { class: "svd-test-results__header-text" }, bs = { class: "svd-test-results__header-types" }, ys = { class: "svd-test-results__text svd-light-bg-color" }, hs = { class: "svd-test-results__table svd-light-bg-color" }, qs = { class: "svd-light-background-color" }, Cs = { class: "svd-dark-border-color" }, ks = { class: "svd-dark-border-color" }, $s = /* @__PURE__ */ g({
763
764
  __name: "SurveyResults",
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) ? (l(), i("div", vs, [
773
- a("div", ms, [
774
- a("div", _s, [
775
- a("div", gs, $(s(e).surveyResultsText), 1),
776
- a("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,67 +791,67 @@ const vs = {
790
791
  }, null, 8, ["text", "click", "selected"])
791
792
  ])
792
793
  ]),
793
- h(a("div", ys, [
794
- a("div", null, $(s(e).resultText), 1)
794
+ C(i("div", ys, [
795
+ i("div", null, $(s(e).resultText), 1)
795
796
  ], 512), [
796
- [L, s(e).resultViewType === "text"]
797
+ [K, s(e).resultViewType === "text"]
797
798
  ]),
798
- h(a("div", hs, [
799
- a("table", null, [
800
- a("thead", null, [
801
- a("tr", Cs, [
802
- a("th", qs, $(s(e).resultsTitle), 1),
803
- a("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
- a("tbody", null, [
807
- (l(!0), i(w, null, R(s(e).resultData, (r, d) => (l(), C(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
  ])
813
814
  ])
814
815
  ], 512), [
815
- [L, s(e).resultViewType === "table"]
816
+ [K, s(e).resultViewType === "table"]
816
817
  ])
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) => (l(), i(w, null, [
828
- h((l(), 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
- a("td", {
833
+ i("td", {
833
834
  class: "svd-dark-border-color",
834
- style: F({ paddingLeft: e.model.textMargin })
835
+ style: z({ paddingLeft: e.model.textMargin })
835
836
  }, [
836
- e.model.isNode ? (l(), 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
- style: F({ left: e.model.markerMargin })
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 ? (l(), C(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"])) : (l(), i("span", ws, $(e.model.title), 1))
852
+ }, null, 8, ["locString"])) : (a(), r("span", fs, $(e.model.title), 1))
852
853
  ], 4),
853
- a("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 ? (l(!0), i(w, { key: 0 }, R(e.model.data, (n, r) => (l(), C(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,87 +872,87 @@ const vs = {
871
872
  props: {
872
873
  model: {}
873
874
  },
874
- setup(u) {
875
- const t = u, e = B();
876
- return f(() => t.model), E(() => t.model.init(window.ace.edit(e.value))), (o, n) => (l(), i("div", Ts, [
877
- a("div", Ds, [
878
- a("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
- h(a("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"])
888
889
  ], 512), [
889
- [L, o.model.hasErrors]
890
+ [K, o.model.hasErrors]
890
891
  ])
891
892
  ])
892
893
  ]));
893
894
  }
894
- }), Ss = { class: "svc-creator-tab__content" }, Is = { class: "svc-json-editor-tab__content" }, Bs = ["aria-label", "disabled"], Es = { class: "svc-json-editor-tab__errros_list" }, Ps = /* @__PURE__ */ g({
895
+ }), Ss = { class: "svc-creator-tab__content" }, Bs = { class: "svc-json-editor-tab__content" }, Is = ["aria-label", "disabled"], Es = { class: "svc-json-editor-tab__errros_list" }, Ps = /* @__PURE__ */ g({
895
896
  __name: "JsonEditorTextArea",
896
897
  props: {
897
898
  model: {}
898
899
  },
899
- setup(u) {
900
- const t = u, e = B(), 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) => (l(), i("div", Ss, [
905
- a("div", Is, [
906
- h(a("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
- `, 40, Bs), [
916
+ `, 40, Is), [
916
917
  [de, s(o).text]
917
918
  ]),
918
- h(a("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"])
923
924
  ], 512), [
924
- [L, s(o).hasErrors]
925
+ [K, s(o).hasErrors]
925
926
  ])
926
927
  ])
927
928
  ]));
928
929
  }
929
- }), Rs = { class: "svc-json-error__container" }, Vs = { class: "svc-json-error__title" }, As = ["title", "aria-label"], zs = /* @__PURE__ */ g({
930
+ }), Rs = { class: "svc-json-error__container" }, Vs = { class: "svc-json-error__title" }, As = ["title", "aria-label"], Ls = /* @__PURE__ */ g({
930
931
  __name: "JsonEditorErrorItem",
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) => (l(), 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
- a("div", Rs, [
948
- a("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 ? h((l(), 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"
@@ -970,25 +971,25 @@ const vs = {
970
971
  ])
971
972
  ], 64));
972
973
  }
973
- }), Ls = { class: "svc-btn__text" }, te = /* @__PURE__ */ g({
974
+ }), zs = { class: "svc-btn__text" }, te = /* @__PURE__ */ g({
974
975
  __name: "LogicAddButton",
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) => h((l(), 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
- a("span", Ls, $(o.model.title), 1)
992
+ i("span", zs, $(o.model.title), 1)
992
993
  ], 2)), [
993
994
  [s(D)]
994
995
  ]);
@@ -1001,28 +1002,28 @@ const vs = {
1001
1002
  props: {
1002
1003
  model: {}
1003
1004
  },
1004
- setup(u) {
1005
- const t = u;
1006
- return f(() => t.model), (e, o) => (l(), i("div", Fs, [
1007
- a("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 ? (l(), 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"]),
1014
- e.model.readOnly ? p("", !0) : (l(), C(te, {
1015
+ e.model.readOnly ? p("", !0) : (a(), h(te, {
1015
1016
  key: 0,
1016
1017
  model: e.model.addNewButton
1017
1018
  }, null, 8, ["model"]))
1018
1019
  ], 64)) : p("", !0),
1019
- e.model.hasItems ? p("", !0) : (l(), 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,
1023
1024
  placeholderDescriptionText: e.model.placeholderDescriptionText
1024
1025
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"]),
1025
- e.model.readOnly ? p("", !0) : (l(), C(te, {
1026
+ e.model.readOnly ? p("", !0) : (a(), h(te, {
1026
1027
  key: 0,
1027
1028
  model: e.model.addNewButton
1028
1029
  }, null, 8, ["model"]))
@@ -1030,7 +1031,7 @@ const vs = {
1030
1031
  ], 2)
1031
1032
  ]));
1032
1033
  }
1033
- }), Hs = ["id", "required", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Os = ["id"];
1034
+ }), Hs = ["id", "required", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-errormessage", "aria-expanded"], Os = ["id"];
1034
1035
  ce.Instance.registerRenderer(
1035
1036
  "dropdown",
1036
1037
  "logicoperator",
@@ -1041,26 +1042,26 @@ const Qs = /* @__PURE__ */ g({
1041
1042
  props: {
1042
1043
  question: {}
1043
1044
  },
1044
- setup(u) {
1045
- const t = u, e = B(), o = k(() => t.question.dropdownListModel ?? new qe(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) => (l(), i("div", {
1060
+ return (m, b) => (a(), r("div", {
1060
1061
  class: _(m.question.cssClasses.selectWrapper)
1061
1062
  }, [
1062
- m.question.isReadOnly ? p("", !0) : (l(), i(w, { key: 0 }, [
1063
- a("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,
@@ -1071,25 +1072,27 @@ const Qs = /* @__PURE__ */ g({
1071
1072
  role: m.question.ariaRole,
1072
1073
  "aria-required": m.question.ariaRequired,
1073
1074
  "aria-label": m.question.ariaLabel,
1075
+ "aria-labelledby": m.question.ariaLabelledBy,
1074
1076
  "aria-invalid": m.question.ariaInvalid,
1075
- "aria-describedby": m.question.ariaDescribedBy
1077
+ "aria-errormessage": m.question.ariaErrormessage,
1078
+ "aria-expanded": m.question.ariaExpanded
1076
1079
  }, [
1077
- a("div", {
1080
+ i("div", {
1078
1081
  class: _(m.question.cssClasses.controlValue)
1079
1082
  }, [
1080
- m.question.selectedItemLocText ? (l(), C(s(c), {
1083
+ m.question.selectedItemLocText ? (a(), h(s(u), {
1081
1084
  key: 0,
1082
1085
  is: "survey-string",
1083
1086
  locString: m.question.selectedItemLocText
1084
1087
  }, null, 8, ["locString"])) : p("", !0),
1085
- a("div", null, $(m.question.readOnlyText), 1)
1088
+ i("div", null, $(m.question.readOnlyText), 1)
1086
1089
  ], 2),
1087
- m.question.allowClear && m.question.cssClasses.cleanButtonIconId ? h((l(), i("div", {
1090
+ m.question.allowClear && m.question.cssClasses.cleanButtonIconId ? C((a(), r("div", {
1088
1091
  key: 0,
1089
1092
  class: _(m.question.cssClasses.cleanButton),
1090
- onClick: r
1093
+ onClick: l
1091
1094
  }, [
1092
- v(s(c), {
1095
+ v(s(u), {
1093
1096
  is: "sv-svg-icon",
1094
1097
  class: _(m.question.cssClasses.cleanButtonSvg),
1095
1098
  iconName: m.question.cssClasses.cleanButtonIconId,
@@ -1097,26 +1100,26 @@ const Qs = /* @__PURE__ */ g({
1097
1100
  title: m.question.clearCaption
1098
1101
  }, null, 8, ["class", "iconName", "title"])
1099
1102
  ], 2)), [
1100
- [L, !m.question.isEmpty()]
1103
+ [K, !m.question.isEmpty()]
1101
1104
  ]) : p("", !0)
1102
1105
  ], 42, Hs),
1103
- v(s(c), {
1106
+ v(s(u), {
1104
1107
  is: "sv-popup",
1105
1108
  model: m.question.popupModel
1106
1109
  }, null, 8, ["model"])
1107
1110
  ], 64)),
1108
- m.question.isReadOnly ? (l(), i("div", {
1111
+ m.question.isReadOnly ? (a(), r("div", {
1109
1112
  key: 1,
1110
1113
  disabled: "",
1111
1114
  class: _(m.question.getControlClass()),
1112
1115
  id: m.question.inputId
1113
1116
  }, [
1114
- m.question.selectedItemLocText ? (l(), C(s(c), {
1117
+ m.question.selectedItemLocText ? (a(), h(s(u), {
1115
1118
  key: 0,
1116
1119
  is: "survey-string",
1117
1120
  locString: m.question.selectedItemLocText
1118
1121
  }, null, 8, ["locString"])) : p("", !0),
1119
- a("div", null, $(m.question.readOnlyText), 1)
1122
+ i("div", null, $(m.question.readOnlyText), 1)
1120
1123
  ], 10, Os)) : p("", !0)
1121
1124
  ], 2));
1122
1125
  }
@@ -1125,11 +1128,11 @@ const Qs = /* @__PURE__ */ g({
1125
1128
  props: {
1126
1129
  question: {}
1127
1130
  },
1128
- setup(u) {
1129
- const t = u, e = B();
1131
+ setup(c) {
1132
+ const t = c, e = I();
1130
1133
  H(t, e);
1131
1134
  const o = k(() => t.question.embeddedSurvey);
1132
- return (n, r) => n.question && o.value && o.value.currentPage ? (l(), C(s(c), {
1135
+ return (n, l) => n.question && o.value && o.value.currentPage ? (a(), h(s(u), {
1133
1136
  key: 0,
1134
1137
  is: "survey-page",
1135
1138
  page: o.value.currentPage,
@@ -1142,10 +1145,10 @@ const Qs = /* @__PURE__ */ g({
1142
1145
  props: {
1143
1146
  question: {}
1144
1147
  },
1145
- setup(u) {
1146
- const t = u, e = B(), o = ue.getString("pe.clear");
1147
- return H(t, e), (n, r) => (l(), i(w, null, [
1148
- 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), {
1149
1152
  is: "svc-action-button",
1150
1153
  text: n.question.linkValueText,
1151
1154
  click: n.question.doLinkClick.bind(n.question),
@@ -1155,7 +1158,7 @@ const Qs = /* @__PURE__ */ g({
1155
1158
  title: n.question.tooltip,
1156
1159
  iconName: n.question.iconName
1157
1160
  }, null, 8, ["text", "click", "selected", "disabled", "classes", "title", "iconName"]),
1158
- !n.question.isReadOnly && n.question.showClear ? (l(), C(s(c), {
1161
+ !n.question.isReadOnly && n.question.showClear ? (a(), h(s(u), {
1159
1162
  key: 0,
1160
1163
  is: "svc-action-button",
1161
1164
  text: s(o),
@@ -1173,25 +1176,25 @@ const Qs = /* @__PURE__ */ g({
1173
1176
  props: {
1174
1177
  model: {}
1175
1178
  },
1176
- setup(u) {
1177
- const t = u;
1178
- return f(() => t.model), (e, o) => (l(), i("div", {
1179
+ setup(c) {
1180
+ const t = c;
1181
+ return w(() => t.model), (e, o) => (a(), r("div", {
1179
1182
  class: _(["svc-creator-tab__content svc-translation-tab", e.model.isEmpty ? "svc-translation-tab--empty" : ""])
1180
1183
  }, [
1181
- e.model.isEmpty ? (l(), C(W, {
1184
+ e.model.isEmpty ? (a(), h(W, {
1182
1185
  key: 0,
1183
1186
  name: "translation",
1184
1187
  placeholderTitleText: e.model.placeholderTitleText,
1185
1188
  placeholderDescriptionText: e.model.placeholderDescriptionText
1186
1189
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : p("", !0),
1187
- e.model.isEmpty ? p("", !0) : (l(), i("div", js, [
1188
- a("div", Js, [
1189
- a("div", Zs, [
1190
+ e.model.isEmpty ? p("", !0) : (a(), r("div", js, [
1191
+ i("div", Js, [
1192
+ i("div", Zs, [
1190
1193
  v(s(Q), {
1191
1194
  model: e.model.stringsHeaderSurvey
1192
1195
  }, null, 8, ["model"])
1193
1196
  ]),
1194
- a("div", Xs, [
1197
+ i("div", Xs, [
1195
1198
  v(s(Q), {
1196
1199
  model: e.model.stringsSurvey
1197
1200
  }, null, 8, ["model"])
@@ -1200,37 +1203,37 @@ const Qs = /* @__PURE__ */ g({
1200
1203
  ]))
1201
1204
  ], 2));
1202
1205
  }
1203
- }), xs = (u, t) => {
1204
- const e = u.__vccOpts || u;
1206
+ }), xs = (c, t) => {
1207
+ const e = c.__vccOpts || c;
1205
1208
  for (const [o, n] of t)
1206
1209
  e[o] = n;
1207
1210
  return e;
1208
1211
  }, et = {}, ot = { class: "sd-translation-line-skeleton" };
1209
- function st(u, t) {
1210
- return l(), i("div", ot);
1212
+ function st(c, t) {
1213
+ return a(), r("div", ot);
1211
1214
  }
1212
1215
  const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1213
1216
  __name: "TranslateFromAction",
1214
1217
  props: {
1215
1218
  item: {}
1216
1219
  },
1217
- setup(u) {
1218
- return (t, e) => (l(), i("div", {
1220
+ setup(c) {
1221
+ return (t, e) => (a(), r("div", {
1219
1222
  class: _(t.item.data.containerCss)
1220
1223
  }, [
1221
- a("span", {
1224
+ i("span", {
1222
1225
  class: _(t.item.data.additionalTitleCss)
1223
1226
  }, $(t.item.data.additionalTitle), 3),
1224
- v(s(c), {
1227
+ v(s(u), {
1225
1228
  is: "sv-action-bar-item-dropdown",
1226
1229
  item: t.item
1227
1230
  }, null, 8, ["item"])
1228
1231
  ], 2));
1229
1232
  }
1230
- }), lt = {
1233
+ }), at = {
1231
1234
  key: 1,
1232
1235
  class: "svc-plugin-tab__content"
1233
- }, at = {
1236
+ }, lt = {
1234
1237
  key: 2,
1235
1238
  class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
1236
1239
  }, it = /* @__PURE__ */ g({
@@ -1238,77 +1241,83 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1238
1241
  props: {
1239
1242
  model: {}
1240
1243
  },
1241
- setup(u) {
1242
- const t = u;
1243
- return f(() => t.model), (e, o) => (l(), i("div", {
1244
+ setup(c) {
1245
+ const t = c;
1246
+ return w(() => t.model), (e, o) => (a(), r("div", {
1244
1247
  class: _(["svc-creator-tab__content svc-test-tab__content", {
1245
1248
  "svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
1246
1249
  }])
1247
1250
  }, [
1248
- e.model.survey.isEmpty ? (l(), C(W, {
1251
+ e.model.survey.isEmpty ? (a(), h(W, {
1249
1252
  key: 0,
1250
1253
  name: "theme",
1251
1254
  placeholderTitleText: e.model.placeholderTitleText,
1252
1255
  placeholderDescriptionText: e.model.placeholderDescriptionText
1253
1256
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : p("", !0),
1254
- e.model.survey.isEmpty ? p("", !0) : (l(), i("div", lt, [
1255
- v(s(c), {
1257
+ e.model.survey.isEmpty ? p("", !0) : (a(), r("div", at, [
1258
+ v(s(u), {
1256
1259
  is: "survey-simulator",
1257
1260
  model: e.model.simulator
1258
1261
  }, null, 8, ["model"]),
1259
- e.model.showResults ? (l(), C(s(c), {
1262
+ e.model.showResults ? (a(), h(s(u), {
1260
1263
  key: 0,
1261
1264
  is: "survey-results",
1262
1265
  survey: e.model.survey
1263
1266
  }, null, 8, ["survey"])) : p("", !0)
1264
1267
  ])),
1265
- e.model.isPageToolbarVisible ? (l(), i("div", at, [
1266
- v(s(c), {
1268
+ e.model.isPageToolbarVisible ? (a(), r("div", lt, [
1269
+ v(s(u), {
1267
1270
  is: "sv-action-bar",
1268
1271
  model: e.model.pages
1269
1272
  }, null, 8, ["model"])
1270
1273
  ])) : p("", !0)
1271
1274
  ], 2));
1272
1275
  }
1273
- }), rt = ["disabled", "value"], dt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], ct = /* @__PURE__ */ g({
1276
+ }), rt = ["disabled", "value", "aria-required", "aria-labelledby", "aria-label", "aria-invalid", "aria-describedby"], dt = ["disabled", "id", "placeholder", "aria-required", "aria-labelledby", "aria-label", "aria-invalid", "aria-describedby", "value"], ct = /* @__PURE__ */ g({
1274
1277
  __name: "Color",
1275
1278
  props: {
1276
1279
  question: {}
1277
1280
  },
1278
- setup(u) {
1279
- return H(u, B()), (e, o) => (l(), i("div", {
1281
+ setup(c) {
1282
+ return H(c, I()), (e, o) => (a(), r("div", {
1280
1283
  class: _(e.question.cssClasses.root),
1281
1284
  onKeydown: o[5] || (o[5] = //@ts-ignore
1282
1285
  (...n) => e.question.onKeyDown && e.question.onKeyDown(...n))
1283
1286
  }, [
1284
- a("label", {
1287
+ i("label", {
1285
1288
  class: _(e.question.getSwatchCss()),
1286
- style: F(e.question.getSwatchStyle())
1289
+ style: z(e.question.getSwatchStyle())
1287
1290
  }, [
1288
- v(s(c), {
1291
+ v(s(u), {
1289
1292
  is: "sv-svg-icon",
1290
1293
  iconName: e.question.cssClasses.swatchIcon,
1291
1294
  size: "auto"
1292
1295
  }, null, 8, ["iconName"]),
1293
- a("input", {
1296
+ i("input", {
1294
1297
  type: "color",
1295
1298
  disabled: e.question.isInputReadOnly,
1296
1299
  class: _(e.question.cssClasses.colorInput),
1297
1300
  value: e.question.renderedColorValue,
1298
1301
  tabindex: "-1",
1299
1302
  onChange: o[0] || (o[0] = //@ts-ignore
1300
- (...n) => e.question.onColorInputChange && e.question.onColorInputChange(...n))
1303
+ (...n) => e.question.onColorInputChange && e.question.onColorInputChange(...n)),
1304
+ "aria-required": e.question.a11y_input_ariaRequired,
1305
+ "aria-labelledby": e.question.a11y_input_ariaLabelledBy,
1306
+ "aria-label": e.question.a11y_input_ariaLabel,
1307
+ "aria-invalid": e.question.a11y_input_ariaInvalid,
1308
+ "aria-describedby": e.question.a11y_input_ariaDescribedBy
1301
1309
  }, null, 42, rt)
1302
1310
  ], 6),
1303
- a("input", {
1311
+ i("input", {
1304
1312
  autocomplete: "off",
1305
1313
  disabled: e.question.isInputReadOnly,
1306
1314
  id: e.question.inputId,
1307
1315
  placeholder: e.question.renderedPlaceholder,
1308
- "aria-required": e.question.ariaRequired,
1309
- "aria-label": e.question.ariaLabel,
1310
- "aria-invalid": e.question.ariaInvalid,
1311
- "aria-describedby": e.question.ariaDescribedBy,
1316
+ "aria-required": e.question.a11y_input_ariaRequired,
1317
+ "aria-labelledby": e.question.a11y_input_ariaLabelledBy,
1318
+ "aria-label": e.question.a11y_input_ariaLabel,
1319
+ "aria-invalid": e.question.a11y_input_ariaInvalid,
1320
+ "aria-describedby": e.question.a11y_input_ariaDescribedBy,
1312
1321
  onChange: o[1] || (o[1] = //@ts-ignore
1313
1322
  (...n) => e.question.onChange && e.question.onChange(...n)),
1314
1323
  onKeyup: o[2] || (o[2] = //@ts-ignore
@@ -1320,12 +1329,17 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1320
1329
  value: e.question.renderedValue,
1321
1330
  class: _(e.question.cssClasses.control)
1322
1331
  }, null, 42, dt),
1323
- e.question.showDropdownAction ? (l(), i(w, { key: 0 }, [
1324
- v(s(c), {
1325
- is: "sv-action-bar-item",
1326
- item: e.question.dropdownAction
1327
- }, null, 8, ["item"]),
1328
- v(s(c), {
1332
+ e.question.showDropdownAction ? (a(), r(f, { key: 0 }, [
1333
+ i("div", {
1334
+ "aria-hidden": "true",
1335
+ class: _(e.question.cssClasses.choicesButtonWrapper)
1336
+ }, [
1337
+ v(s(u), {
1338
+ is: "sv-action-bar-item",
1339
+ item: e.question.dropdownAction
1340
+ }, null, 8, ["item"])
1341
+ ], 2),
1342
+ v(s(u), {
1329
1343
  is: "sv-popup",
1330
1344
  model: e.question.dropdownAction.popupModel
1331
1345
  }, null, 8, ["model"])
@@ -1338,55 +1352,55 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1338
1352
  model: {},
1339
1353
  item: {}
1340
1354
  },
1341
- setup(u) {
1342
- const t = u;
1343
- f(() => t.item);
1355
+ setup(c) {
1356
+ const t = c;
1357
+ w(() => t.item);
1344
1358
  const e = () => ({ backgroundColor: t.item.value });
1345
- return (o, n) => (l(), i(w, null, [
1346
- a("span", {
1359
+ return (o, n) => (a(), r(f, null, [
1360
+ i("span", {
1347
1361
  class: "spg-color-editor__color-swatch",
1348
- style: F(e())
1362
+ style: z(e())
1349
1363
  }, null, 4),
1350
- v(s(c), {
1364
+ v(s(u), {
1351
1365
  is: "survey-string",
1352
1366
  locString: o.item.locTitle
1353
1367
  }, null, 8, ["locString"])
1354
1368
  ], 64));
1355
1369
  }
1356
- }), pt = ["disabled", "value", "placeholder"], vt = ["disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "title", "accept"], mt = ["disabled"], _t = ["for", "aria-label"], gt = /* @__PURE__ */ g({
1370
+ }), pt = ["disabled", "value", "placeholder"], vt = ["disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "title", "accept"], mt = ["title", "disabled"], _t = ["for", "aria-label"], gt = /* @__PURE__ */ g({
1357
1371
  __name: "File",
1358
1372
  props: {
1359
1373
  question: {}
1360
1374
  },
1361
- setup(u) {
1362
- const t = B();
1363
- return H(u, t), (o, n) => (l(), i("div", {
1375
+ setup(c) {
1376
+ const t = I();
1377
+ return H(c, t), (o, n) => (a(), r("div", {
1364
1378
  class: _(o.question.cssClasses.root),
1365
1379
  onDragenter: n[5] || (n[5] = //@ts-ignore
1366
- (...r) => o.question.onDragEnter && o.question.onDragEnter(...r)),
1380
+ (...l) => o.question.onDragEnter && o.question.onDragEnter(...l)),
1367
1381
  onDragover: n[6] || (n[6] = //@ts-ignore
1368
- (...r) => o.question.onDragOver && o.question.onDragOver(...r)),
1382
+ (...l) => o.question.onDragOver && o.question.onDragOver(...l)),
1369
1383
  onDrop: n[7] || (n[7] = //@ts-ignore
1370
- (...r) => o.question.onDrop && o.question.onDrop(...r)),
1384
+ (...l) => o.question.onDrop && o.question.onDrop(...l)),
1371
1385
  onDragleave: n[8] || (n[8] = //@ts-ignore
1372
- (...r) => o.question.onDragLeave && o.question.onDragLeave(...r)),
1386
+ (...l) => o.question.onDragLeave && o.question.onDragLeave(...l)),
1373
1387
  onKeydown: n[9] || (n[9] = //@ts-ignore
1374
- (...r) => o.question.onKeyDown && o.question.onKeyDown(...r)),
1388
+ (...l) => o.question.onKeyDown && o.question.onKeyDown(...l)),
1375
1389
  ref_key: "root",
1376
1390
  ref: t
1377
1391
  }, [
1378
- a("input", {
1392
+ i("input", {
1379
1393
  type: "text",
1380
1394
  disabled: o.question.isInputReadOnly,
1381
1395
  class: _(o.question.cssClasses.control),
1382
1396
  value: o.question.renderedValue || "",
1383
1397
  onChange: n[0] || (n[0] = //@ts-ignore
1384
- (...r) => o.question.onInputChange && o.question.onInputChange(...r)),
1398
+ (...l) => o.question.onInputChange && o.question.onInputChange(...l)),
1385
1399
  onBlur: n[1] || (n[1] = //@ts-ignore
1386
- (...r) => o.question.onInputBlur && o.question.onInputBlur(...r)),
1400
+ (...l) => o.question.onInputBlur && o.question.onInputBlur(...l)),
1387
1401
  placeholder: o.question.renderedPlaceholder
1388
1402
  }, null, 42, pt),
1389
- a("input", {
1403
+ i("input", {
1390
1404
  type: "file",
1391
1405
  disabled: o.question.isInputReadOnly,
1392
1406
  class: _(o.question.cssClasses.fileInput),
@@ -1400,36 +1414,34 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1400
1414
  tabindex: -1,
1401
1415
  accept: o.question.acceptedTypes,
1402
1416
  onChange: n[2] || (n[2] = //@ts-ignore
1403
- (...r) => o.question.onFileInputChange && o.question.onFileInputChange(...r))
1417
+ (...l) => o.question.onFileInputChange && o.question.onFileInputChange(...l))
1404
1418
  }, null, 42, vt),
1405
- a("div", {
1419
+ i("div", {
1406
1420
  class: _(o.question.cssClasses.buttonsContainer)
1407
1421
  }, [
1408
- h((l(), i("button", {
1409
- type: "button",
1422
+ C((a(), r("button", {
1423
+ title: o.question.clearButtonCaption,
1410
1424
  class: _(o.question.cssClasses.clearButton),
1411
1425
  disabled: o.question.getIsClearButtonDisabled(),
1412
1426
  onClick: n[3] || (n[3] = //@ts-ignore
1413
- (...r) => o.question.doClean && o.question.doClean(...r))
1427
+ (...l) => o.question.doClean && o.question.doClean(...l))
1414
1428
  }, [
1415
- v(s(c), {
1429
+ v(s(u), {
1416
1430
  is: "sv-svg-icon",
1417
1431
  iconName: o.question.cssClasses.clearButtonIcon,
1418
- size: "auto",
1419
- title: o.question.clearButtonCaption
1420
- }, null, 8, ["iconName", "title"])
1432
+ size: "auto"
1433
+ }, null, 8, ["iconName"])
1421
1434
  ], 10, mt)), [
1422
1435
  [s(D)]
1423
1436
  ]),
1424
- h((l(), i("label", {
1425
- role: "button",
1437
+ C((a(), r("label", {
1426
1438
  class: _(o.question.getChooseButtonCss()),
1427
1439
  for: o.question.inputId,
1428
1440
  "aria-label": o.question.chooseButtonCaption,
1429
1441
  onClick: n[4] || (n[4] = //@ts-ignore
1430
- (...r) => o.question.chooseFiles && o.question.chooseFiles(...r))
1442
+ (...l) => o.question.chooseFiles && o.question.chooseFiles(...l))
1431
1443
  }, [
1432
- v(s(c), {
1444
+ v(s(u), {
1433
1445
  is: "sv-svg-icon",
1434
1446
  iconName: o.question.cssClasses.chooseButtonIcon,
1435
1447
  size: "auto",
@@ -1441,26 +1453,29 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1441
1453
  ], 2)
1442
1454
  ], 34));
1443
1455
  }
1444
- }), bt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], yt = ["disabled"], ht = ["disabled"], Ct = /* @__PURE__ */ g({
1456
+ }), bt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage", "value"], yt = ["disabled"], ht = ["disabled"], qt = /* @__PURE__ */ g({
1445
1457
  __name: "SpinEditor",
1446
1458
  props: {
1447
1459
  question: {}
1448
1460
  },
1449
- setup(u) {
1450
- return H(u, B()), (e, o) => (l(), i("div", {
1461
+ setup(c) {
1462
+ return H(c, I()), (e, o) => (a(), r("div", {
1451
1463
  class: _(e.question.cssClasses.root),
1452
1464
  onKeydown: o[18] || (o[18] = //@ts-ignore
1453
1465
  (...n) => e.question.onKeyDown && e.question.onKeyDown(...n))
1454
1466
  }, [
1455
- a("input", {
1467
+ i("input", {
1468
+ role: "spinbutton",
1456
1469
  autocomplete: "off",
1457
1470
  disabled: e.question.isInputReadOnly,
1458
1471
  id: e.question.inputId,
1459
1472
  placeholder: e.question.renderedPlaceholder,
1460
- "aria-required": e.question.ariaRequired,
1461
- "aria-label": e.question.ariaLabel,
1462
- "aria-invalid": e.question.ariaInvalid,
1463
- "aria-describedby": e.question.ariaDescribedBy,
1473
+ "aria-required": e.question.a11y_input_ariaRequired,
1474
+ "aria-label": e.question.a11y_input_ariaLabel,
1475
+ "aria-labelledby": e.question.a11y_input_ariaLabelledBy,
1476
+ "aria-describedby": e.question.a11y_input_ariaDescribedBy,
1477
+ "aria-invalid": e.question.a11y_input_ariaInvalid,
1478
+ "aria-errormessage": e.question.a11y_input_ariaErrormessage,
1464
1479
  onChange: o[0] || (o[0] = //@ts-ignore
1465
1480
  (...n) => e.question.onChange && e.question.onChange(...n)),
1466
1481
  onKeydown: o[1] || (o[1] = //@ts-ignore
@@ -1476,10 +1491,11 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1476
1491
  value: e.question.renderedValue,
1477
1492
  class: _(e.question.cssClasses.control)
1478
1493
  }, null, 42, bt),
1479
- a("span", {
1494
+ i("span", {
1480
1495
  class: _(e.question.cssClasses.buttonsContainer)
1481
1496
  }, [
1482
- a("button", {
1497
+ i("button", {
1498
+ "aria-hidden": "true",
1483
1499
  disabled: e.question.isInputReadOnly,
1484
1500
  class: _(e.question.cssClasses.arrowButton),
1485
1501
  onClick: o[6] || (o[6] = //@ts-ignore
@@ -1496,13 +1512,14 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1496
1512
  (...n) => e.question.onFocus && e.question.onFocus(...n)),
1497
1513
  tabindex: "-1"
1498
1514
  }, [
1499
- v(s(c), {
1515
+ v(s(u), {
1500
1516
  is: "sv-svg-icon",
1501
1517
  iconName: e.question.cssClasses.decreaseButtonIcon,
1502
1518
  size: "auto"
1503
1519
  }, null, 8, ["iconName"])
1504
1520
  ], 42, yt),
1505
- a("button", {
1521
+ i("button", {
1522
+ "aria-hidden": "true",
1506
1523
  disabled: e.question.isInputReadOnly,
1507
1524
  class: _(e.question.cssClasses.arrowButton),
1508
1525
  onClick: o[12] || (o[12] = //@ts-ignore
@@ -1519,7 +1536,7 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1519
1536
  (...n) => e.question.onFocus && e.question.onFocus(...n)),
1520
1537
  tabindex: "-1"
1521
1538
  }, [
1522
- v(s(c), {
1539
+ v(s(u), {
1523
1540
  is: "sv-svg-icon",
1524
1541
  iconName: e.question.cssClasses.increaseButtonIcon,
1525
1542
  size: "auto"
@@ -1528,43 +1545,43 @@ const tt = /* @__PURE__ */ xs(et, [["render", st]]), nt = /* @__PURE__ */ g({
1528
1545
  ], 2)
1529
1546
  ], 34));
1530
1547
  }
1531
- }), qt = ["disabled", "title"], ne = /* @__PURE__ */ g({
1548
+ }), Ct = ["disabled", "title"], ne = /* @__PURE__ */ g({
1532
1549
  __name: "TextWithReset",
1533
1550
  props: {
1534
1551
  question: {}
1535
1552
  },
1536
- setup(u) {
1537
- const t = u, e = () => "survey-" + t.question.wrappedQuestionTemplate;
1538
- return H(t, B()), (o, n) => (l(), i("div", {
1553
+ setup(c) {
1554
+ const t = c, e = () => "survey-" + t.question.wrappedQuestionTemplate;
1555
+ return H(t, I()), (o, n) => (a(), r("div", {
1539
1556
  class: _(o.question.getRootClass())
1540
1557
  }, [
1541
- v(s(c), {
1558
+ v(s(u), {
1542
1559
  is: e(),
1543
1560
  question: o.question
1544
1561
  }, null, 8, ["is", "question"]),
1545
- a("button", {
1562
+ i("button", {
1546
1563
  class: _(o.question.cssClasses.resetButton),
1547
1564
  disabled: o.question.resetValueAdorner.isDisabled,
1548
1565
  onClick: n[0] || (n[0] = //@ts-ignore
1549
- (...r) => o.question.resetValueAdorner.resetValue && o.question.resetValueAdorner.resetValue(...r)),
1566
+ (...l) => o.question.resetValueAdorner.resetValue && o.question.resetValueAdorner.resetValue(...l)),
1550
1567
  title: o.question.resetValueAdorner.caption
1551
1568
  }, [
1552
- v(s(c), {
1569
+ v(s(u), {
1553
1570
  is: "sv-svg-icon",
1554
1571
  iconName: o.question.cssClasses.resetButtonIcon,
1555
1572
  size: "auto"
1556
1573
  }, null, 8, ["iconName"])
1557
- ], 10, qt)
1574
+ ], 10, Ct)
1558
1575
  ], 2));
1559
1576
  }
1560
- }), kt = ["aria-required", "aria-label", "aria-invalid", "aria-errormessage"], $t = /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb" }, [
1561
- /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left" })
1562
- ], -1), wt = /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb" }, [
1563
- /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right" })
1564
- ], -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 = [
1565
1582
  $t,
1566
- wt
1567
- ], Tt = { class: "spg-boolean-switch__caption" }, Dt = { class: "spg-boolean-switch__title" };
1583
+ ft
1584
+ ], Tt = { class: "spg-boolean-switch__caption" }, Dt = ["id"];
1568
1585
  ce.Instance.registerRenderer(
1569
1586
  "boolean",
1570
1587
  "switch",
@@ -1576,34 +1593,49 @@ const Nt = /* @__PURE__ */ g({
1576
1593
  props: {
1577
1594
  question: {}
1578
1595
  },
1579
- setup(u) {
1580
- const t = u, e = B(null);
1581
- return H(t, e), (o, n) => (l(), 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", {
1582
1609
  class: "spg-boolean-switch",
1583
1610
  role: "checkbox",
1584
- "aria-required": o.question.ariaRequired,
1585
- "aria-label": o.question.ariaLabel,
1586
- "aria-invalid": o.question.ariaInvalid,
1587
- "aria-errormessage": o.question.ariaErrormessage,
1588
- 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)
1589
1618
  }, [
1590
- h((l(), i("div", {
1591
- 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" : ""]),
1592
1621
  tabindex: "0"
1593
- }, ft, 2)), [
1622
+ }, wt, 2)), [
1594
1623
  [s(D), { disableTabStop: !0 }]
1595
1624
  ]),
1596
- a("div", Tt, [
1597
- a("div", Dt, [
1598
- v(s(c), {
1625
+ i("div", Tt, [
1626
+ i("div", {
1627
+ class: "spg-boolean-switch__title",
1628
+ id: n.question.labelRenderedAriaID
1629
+ }, [
1630
+ v(s(u), {
1599
1631
  is: "survey-string",
1600
- locString: o.question.locTitle
1632
+ locString: n.question.locTitle
1601
1633
  }, null, 8, ["locString"])
1602
- ])
1634
+ ], 8, Dt)
1603
1635
  ])
1604
1636
  ], 8, kt));
1605
1637
  }
1606
- }), Mt = { class: "svc-string-editor__content" }, St = /* @__PURE__ */ a("div", { class: "svc-string-editor__border svc-string-editor__border--hover" }, null, -1), It = /* @__PURE__ */ a("div", { class: "svc-string-editor__border svc-string-editor__border--focus" }, null, -1), Bt = { class: "svc-string-editor__input" }, Et = ["textContent", "aria-placeholder", "contenteditable"], Pt = ["aria-placeholder", "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 = {
1607
1639
  key: 0,
1608
1640
  class: "svc-string-editor__error"
1609
1641
  }, Vt = /* @__PURE__ */ g({
@@ -1611,10 +1643,10 @@ const Nt = /* @__PURE__ */ g({
1611
1643
  props: {
1612
1644
  locString: {}
1613
1645
  },
1614
- setup(u) {
1615
- const t = u, e = k(() => t.locString.locStr), o = k(() => t.locString.creator), n = B(), r = B(), 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(
1616
1648
  () => {
1617
- const q = new fe(
1649
+ const q = new we(
1618
1650
  e.value,
1619
1651
  o.value
1620
1652
  );
@@ -1646,14 +1678,14 @@ const Nt = /* @__PURE__ */ g({
1646
1678
  var q;
1647
1679
  return (q = d.value) == null ? void 0 : q.showCharacterCounter;
1648
1680
  }
1649
- ), z = k(
1681
+ ), L = k(
1650
1682
  () => {
1651
1683
  var q;
1652
1684
  return (q = d.value) == null ? void 0 : q.getCharacterCounterClass;
1653
1685
  }
1654
1686
  ), j = (q) => {
1655
- var T, I;
1656
- return n.value && (n.value.spellcheck = !1), e.value.__isEditing = !1, (T = d.value) == null || T.onBlur(q), (I = d.value) == null ? void 0 : I.errorText;
1687
+ var T, B;
1688
+ return n.value && (n.value.spellcheck = !1), e.value.__isEditing = !1, (T = d.value) == null || T.onBlur(q), (B = d.value) == null ? void 0 : B.errorText;
1657
1689
  }, U = (q) => {
1658
1690
  var T;
1659
1691
  (T = d.value) == null || T.onFocus(q);
@@ -1661,10 +1693,10 @@ const Nt = /* @__PURE__ */ g({
1661
1693
  var T;
1662
1694
  (T = d.value) == null || T.onPaste(q);
1663
1695
  }, se = (q) => {
1664
- var T, I;
1665
- (T = n.value) == null || T.focus(), e.value.__isEditing = !0, (I = d.value) == null || I.onClick(q);
1696
+ var T, B;
1697
+ (T = n.value) == null || T.focus(), e.value.__isEditing = !0, (B = d.value) == null || B.onClick(q);
1666
1698
  }, J = () => {
1667
- r.value = e.value.renderedHtml;
1699
+ l.value = e.value.renderedHtml;
1668
1700
  }, me = G(
1669
1701
  () => e.value,
1670
1702
  (q, T) => {
@@ -1677,16 +1709,16 @@ const Nt = /* @__PURE__ */ g({
1677
1709
  return E(() => {
1678
1710
  var q;
1679
1711
  e.value.__isEditing && ((q = n.value) == null || q.focus());
1680
- }), K(() => {
1712
+ }), F(() => {
1681
1713
  me(), e.value.onStringChanged.remove(J);
1682
- }), (q, T) => (l(), i("span", {
1714
+ }), (q, T) => (a(), r("span", {
1683
1715
  class: _(b.value)
1684
1716
  }, [
1685
- a("span", Mt, [
1717
+ i("span", Mt, [
1686
1718
  St,
1687
- It,
1688
- a("span", Bt, [
1689
- e.value.hasHtml ? p("", !0) : (l(), i("span", {
1719
+ Bt,
1720
+ i("span", It, [
1721
+ e.value.hasHtml ? p("", !0) : (a(), r("span", {
1690
1722
  key: 0,
1691
1723
  role: "textbox",
1692
1724
  class: "sv-string-editor",
@@ -1695,43 +1727,44 @@ const Nt = /* @__PURE__ */ g({
1695
1727
  onPaste: ve,
1696
1728
  onBlur: j,
1697
1729
  onInput: T[0] || (T[0] = //@ts-ignore
1698
- (...I) => {
1730
+ (...B) => {
1699
1731
  var M, S;
1700
- return ((M = s(d)) == null ? void 0 : M.onInput) && ((S = s(d)) == null ? void 0 : S.onInput(...I));
1732
+ return ((M = s(d)) == null ? void 0 : M.onInput) && ((S = s(d)) == null ? void 0 : S.onInput(...B));
1701
1733
  }),
1702
1734
  onKeydown: T[1] || (T[1] = //@ts-ignore
1703
- (...I) => {
1735
+ (...B) => {
1704
1736
  var M, S;
1705
- return ((M = s(d)) == null ? void 0 : M.onKeyDown) && ((S = s(d)) == null ? void 0 : S.onKeyDown(...I));
1737
+ return ((M = s(d)) == null ? void 0 : M.onKeyDown) && ((S = s(d)) == null ? void 0 : S.onKeyDown(...B));
1706
1738
  }),
1707
1739
  onKeyup: T[2] || (T[2] = //@ts-ignore
1708
- (...I) => {
1740
+ (...B) => {
1709
1741
  var M, S;
1710
- return ((M = s(d)) == null ? void 0 : M.onKeyUp) && ((S = s(d)) == null ? void 0 : S.onKeyUp(...I));
1742
+ return ((M = s(d)) == null ? void 0 : M.onKeyUp) && ((S = s(d)) == null ? void 0 : S.onKeyUp(...B));
1711
1743
  }),
1712
1744
  onCompositionstart: T[3] || (T[3] = //@ts-ignore
1713
- (...I) => {
1745
+ (...B) => {
1714
1746
  var M, S;
1715
- return ((M = s(d)) == null ? void 0 : M.onCompositionStart) && ((S = s(d)) == null ? void 0 : S.onCompositionStart(...I));
1747
+ return ((M = s(d)) == null ? void 0 : M.onCompositionStart) && ((S = s(d)) == null ? void 0 : S.onCompositionStart(...B));
1716
1748
  }),
1717
1749
  onCompositionend: T[4] || (T[4] = //@ts-ignore
1718
- (...I) => {
1750
+ (...B) => {
1719
1751
  var M, S;
1720
- return ((M = s(d)) == null ? void 0 : M.onCompositionEnd) && ((S = s(d)) == null ? void 0 : S.onCompositionEnd(...I));
1752
+ return ((M = s(d)) == null ? void 0 : M.onCompositionEnd) && ((S = s(d)) == null ? void 0 : S.onCompositionEnd(...B));
1721
1753
  }),
1722
1754
  onMouseup: T[5] || (T[5] = //@ts-ignore
1723
- (...I) => {
1755
+ (...B) => {
1724
1756
  var M, S;
1725
- return ((M = s(d)) == null ? void 0 : M.onMouseUp) && ((S = s(d)) == null ? void 0 : S.onMouseUp(...I));
1757
+ return ((M = s(d)) == null ? void 0 : M.onMouseUp) && ((S = s(d)) == null ? void 0 : S.onMouseUp(...B));
1726
1758
  }),
1727
1759
  onClick: se,
1728
- textContent: r.value,
1760
+ textContent: l.value,
1729
1761
  "aria-placeholder": y.value,
1762
+ "aria-label": y.value || "content editable",
1730
1763
  contenteditable: N.value,
1731
1764
  ref_key: "root",
1732
1765
  ref: n
1733
1766
  }, null, 40, Et)),
1734
- e.value.hasHtml ? (l(), i("span", {
1767
+ e.value.hasHtml ? (a(), r("span", {
1735
1768
  key: 1,
1736
1769
  role: "textbox",
1737
1770
  class: "sv-string-editor sv-string-editor--html",
@@ -1739,52 +1772,53 @@ const Nt = /* @__PURE__ */ g({
1739
1772
  onFocus: U,
1740
1773
  onBlur: j,
1741
1774
  onKeydown: T[6] || (T[6] = //@ts-ignore
1742
- (...I) => {
1775
+ (...B) => {
1743
1776
  var M, S;
1744
- return ((M = s(d)) == null ? void 0 : M.onKeyDown) && ((S = s(d)) == null ? void 0 : S.onKeyDown(...I));
1777
+ return ((M = s(d)) == null ? void 0 : M.onKeyDown) && ((S = s(d)) == null ? void 0 : S.onKeyDown(...B));
1745
1778
  }),
1746
1779
  onKeyup: T[7] || (T[7] = //@ts-ignore
1747
- (...I) => {
1780
+ (...B) => {
1748
1781
  var M, S;
1749
- return ((M = s(d)) == null ? void 0 : M.onKeyUp) && ((S = s(d)) == null ? void 0 : S.onKeyUp(...I));
1782
+ return ((M = s(d)) == null ? void 0 : M.onKeyUp) && ((S = s(d)) == null ? void 0 : S.onKeyUp(...B));
1750
1783
  }),
1751
1784
  onCompositionstart: T[8] || (T[8] = //@ts-ignore
1752
- (...I) => {
1785
+ (...B) => {
1753
1786
  var M, S;
1754
- return ((M = s(d)) == null ? void 0 : M.onCompositionStart) && ((S = s(d)) == null ? void 0 : S.onCompositionStart(...I));
1787
+ return ((M = s(d)) == null ? void 0 : M.onCompositionStart) && ((S = s(d)) == null ? void 0 : S.onCompositionStart(...B));
1755
1788
  }),
1756
1789
  onCompositionend: T[9] || (T[9] = //@ts-ignore
1757
- (...I) => {
1790
+ (...B) => {
1758
1791
  var M, S;
1759
- return ((M = s(d)) == null ? void 0 : M.onCompositionEnd) && ((S = s(d)) == null ? void 0 : S.onCompositionEnd(...I));
1792
+ return ((M = s(d)) == null ? void 0 : M.onCompositionEnd) && ((S = s(d)) == null ? void 0 : S.onCompositionEnd(...B));
1760
1793
  }),
1761
1794
  onMouseup: T[10] || (T[10] = //@ts-ignore
1762
- (...I) => {
1795
+ (...B) => {
1763
1796
  var M, S;
1764
- return ((M = s(d)) == null ? void 0 : M.onMouseUp) && ((S = s(d)) == null ? void 0 : S.onMouseUp(...I));
1797
+ return ((M = s(d)) == null ? void 0 : M.onMouseUp) && ((S = s(d)) == null ? void 0 : S.onMouseUp(...B));
1765
1798
  }),
1766
1799
  onClick: se,
1767
1800
  "aria-placeholder": y.value,
1801
+ "aria-label": y.value || "content editable",
1768
1802
  contenteditable: N.value,
1769
- innerHTML: r.value,
1803
+ innerHTML: l.value,
1770
1804
  ref_key: "root",
1771
1805
  ref: n
1772
1806
  }, null, 40, Pt)) : p("", !0),
1773
- P.value ? (l(), C(s(c), {
1807
+ P.value ? (a(), h(s(u), {
1774
1808
  key: 2,
1775
1809
  is: "sv-character-counter",
1776
1810
  counter: O.value,
1777
- remainingCharacterCounter: z.value
1811
+ remainingCharacterCounter: L.value
1778
1812
  }, null, 8, ["counter", "remainingCharacterCounter"])) : p("", !0)
1779
1813
  ])
1780
1814
  ]),
1781
- m.value ? (l(), i("span", Rt, $(m.value), 1)) : p("", !0)
1815
+ m.value ? (a(), r("span", Rt, $(m.value), 1)) : p("", !0)
1782
1816
  ], 2));
1783
1817
  }
1784
1818
  }), At = {
1785
1819
  key: 0,
1786
1820
  class: "svc-toolbox__search-container"
1787
- }, zt = /* @__PURE__ */ a("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1), Lt = {
1821
+ }, Lt = /* @__PURE__ */ i("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1), zt = {
1788
1822
  key: 1,
1789
1823
  class: "svc-toolbox__placeholder"
1790
1824
  }, Ft = {
@@ -1795,30 +1829,30 @@ const Nt = /* @__PURE__ */ g({
1795
1829
  props: {
1796
1830
  model: {}
1797
1831
  },
1798
- setup(u) {
1799
- const t = u, e = k(() => t.model.toolbox), o = B();
1800
- f(() => e.value);
1832
+ setup(c) {
1833
+ const t = c, e = k(() => t.model.toolbox), o = I();
1834
+ w(() => e.value);
1801
1835
  let n;
1802
1836
  E(() => {
1803
1837
  e.value.setRootElement(o.value), n = new ke(
1804
1838
  e.value.containerElement,
1805
1839
  e.value
1806
1840
  );
1807
- }), K(() => {
1841
+ }), F(() => {
1808
1842
  n == null || n.dispose(), e.value.setRootElement(void 0);
1809
1843
  });
1810
- const r = k(() => e.value.renderedActions);
1811
- return (d, m) => (l(), i("div", {
1844
+ const l = k(() => e.value.renderedActions);
1845
+ return (d, m) => (a(), r("div", {
1812
1846
  class: _(e.value.classNames),
1813
1847
  ref_key: "root",
1814
1848
  ref: o
1815
1849
  }, [
1816
- a("div", {
1850
+ i("div", {
1817
1851
  onFocusout: m[0] || (m[0] = (b) => e.value.focusOut(b)),
1818
1852
  class: "svc-toolbox__panel"
1819
1853
  }, [
1820
- e.value.showSearch ? (l(), i("div", At, [
1821
- e.value.isCompactRendered ? (l(), C(s(c), {
1854
+ e.value.showSearch ? (a(), r("div", At, [
1855
+ e.value.isCompactRendered ? (a(), h(s(u), {
1822
1856
  is: "svc-toolbox-tool",
1823
1857
  creator: d.model,
1824
1858
  key: "searchitem",
@@ -1826,23 +1860,23 @@ const Nt = /* @__PURE__ */ g({
1826
1860
  parentModel: e.value,
1827
1861
  isCompact: e.value.isCompactRendered
1828
1862
  }, null, 8, ["creator", "item", "parentModel", "isCompact"])) : p("", !0),
1829
- v(s(c), {
1863
+ v(s(u), {
1830
1864
  is: "svc-search",
1831
1865
  model: e.value.searchManager
1832
1866
  }, null, 8, ["model"]),
1833
- zt
1867
+ Lt
1834
1868
  ])) : p("", !0),
1835
- e.value.showPlaceholder ? (l(), i("div", Lt, $(e.value.toolboxNoResultsFound), 1)) : p("", !0),
1836
- 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" }, {
1837
1871
  default: Z(() => [
1838
- e.value.showInSingleCategory ? p("", !0) : (l(!0), i(w, { key: 0 }, R(e.value.categories, (b, y) => (l(), C(s(c), {
1872
+ e.value.showInSingleCategory ? p("", !0) : (a(!0), r(f, { key: 0 }, R(e.value.categories, (b, y) => (a(), h(s(u), {
1839
1873
  is: "svc-toolbox-category",
1840
1874
  key: y,
1841
1875
  category: b,
1842
1876
  toolbox: e.value
1843
1877
  }, null, 8, ["category", "toolbox"]))), 128)),
1844
- e.value.showInSingleCategory ? (l(), i("div", Ft, [
1845
- (l(!0), i(w, null, R(r.value, (b) => (l(), C(s(c), {
1878
+ e.value.showInSingleCategory ? (a(), r("div", Ft, [
1879
+ (a(!0), r(f, null, R(l.value, (b) => (a(), h(s(u), {
1846
1880
  key: b.renderedId,
1847
1881
  is: "svc-toolbox-tool",
1848
1882
  creator: d.model,
@@ -1868,8 +1902,8 @@ const Nt = /* @__PURE__ */ g({
1868
1902
  parentModel: {},
1869
1903
  isCompact: { type: Boolean }
1870
1904
  },
1871
- setup(u) {
1872
- const t = u, e = A(
1905
+ setup(c) {
1906
+ const t = c, e = A(
1873
1907
  () => new Te(
1874
1908
  t.item,
1875
1909
  t.creator,
@@ -1879,32 +1913,32 @@ const Nt = /* @__PURE__ */ g({
1879
1913
  (n) => {
1880
1914
  n.dispose();
1881
1915
  }
1882
- ), o = B();
1916
+ ), o = I();
1883
1917
  return E(() => {
1884
1918
  const n = t.item;
1885
- n.updateModeCallback = (r, d) => {
1886
- n.mode = r, re(() => d(r, o.value));
1919
+ n.updateModeCallback = (l, d) => {
1920
+ n.mode = l, re(() => d(l, o.value));
1887
1921
  }, n.afterRender();
1888
- }), K(() => {
1922
+ }), F(() => {
1889
1923
  const n = t.item;
1890
1924
  n.updateModeCallback = void 0;
1891
- }), f(() => t.item), (n, r) => {
1925
+ }), w(() => t.item), (n, l) => {
1892
1926
  var d;
1893
- return l(), i("div", {
1927
+ return a(), r("div", {
1894
1928
  class: _(n.item.css),
1895
1929
  ref_key: "root",
1896
1930
  ref: o
1897
1931
  }, [
1898
- n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (l(), i("div", Ut)) : p("", !0),
1899
- a("div", {
1932
+ n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (a(), r("div", Ut)) : p("", !0),
1933
+ i("div", {
1900
1934
  class: "svc-toolbox__tool-content sv-action__content",
1901
- onPointerdown: r[0] || (r[0] = //@ts-ignore
1935
+ onPointerdown: l[0] || (l[0] = //@ts-ignore
1902
1936
  (...m) => {
1903
1937
  var b, y;
1904
1938
  return ((b = s(e)) == null ? void 0 : b.onPointerDown) && ((y = s(e)) == null ? void 0 : y.onPointerDown(...m));
1905
1939
  })
1906
1940
  }, [
1907
- v(s(c), {
1941
+ v(s(u), {
1908
1942
  viewModel: s(e),
1909
1943
  is: (d = s(e)) == null ? void 0 : d.itemComponent,
1910
1944
  item: n.item,
@@ -1926,17 +1960,17 @@ const Nt = /* @__PURE__ */ g({
1926
1960
  isCompact: { type: Boolean },
1927
1961
  viewModel: {}
1928
1962
  },
1929
- setup(u) {
1930
- return (t, e) => (l(), i(w, null, [
1931
- h((l(), i("div", {
1963
+ setup(c) {
1964
+ return (t, e) => (a(), r(f, null, [
1965
+ C((a(), r("div", {
1932
1966
  class: _(["svc-toolbox__item", t.item.renderedCss]),
1933
1967
  role: "button",
1934
1968
  "aria-label": t.item.tooltip,
1935
1969
  title: t.item.tooltip,
1936
1970
  onClick: e[0] || (e[0] = (o) => t.viewModel.click(o))
1937
1971
  }, [
1938
- a("span", Qt, [
1939
- t.item.iconName ? (l(), C(s(c), {
1972
+ i("span", Qt, [
1973
+ t.item.iconName ? (a(), h(s(u), {
1940
1974
  key: 0,
1941
1975
  is: "sv-svg-icon",
1942
1976
  iconName: t.item.iconName,
@@ -1944,22 +1978,22 @@ const Nt = /* @__PURE__ */ g({
1944
1978
  class: "svc-toolbox__item-icon"
1945
1979
  }, null, 8, ["iconName"])) : p("", !0)
1946
1980
  ]),
1947
- t.isCompact ? p("", !0) : (l(), i("span", Gt, $(t.item.title), 1))
1981
+ t.isCompact ? p("", !0) : (a(), r("span", Gt, $(t.item.title), 1))
1948
1982
  ], 10, Ot)), [
1949
1983
  [s(D)]
1950
1984
  ]),
1951
- t.isCompact ? (l(), i("span", {
1985
+ t.isCompact ? (a(), r("span", {
1952
1986
  key: 0,
1953
1987
  class: "svc-toolbox__item-banner",
1954
1988
  onClick: e[1] || (e[1] = (o) => t.viewModel.click(o))
1955
1989
  }, [
1956
- v(s(c), {
1990
+ v(s(u), {
1957
1991
  is: "sv-svg-icon",
1958
1992
  iconName: t.item.iconName,
1959
1993
  size: 24,
1960
1994
  class: "svc-toolbox__item-icon"
1961
1995
  }, null, 8, ["iconName"]),
1962
- a("span", null, $(t.item.title), 1)
1996
+ i("span", null, $(t.item.title), 1)
1963
1997
  ])) : p("", !0)
1964
1998
  ], 64));
1965
1999
  }
@@ -1971,31 +2005,31 @@ const Nt = /* @__PURE__ */ g({
1971
2005
  isCompact: { type: Boolean },
1972
2006
  viewModel: {}
1973
2007
  },
1974
- setup(u) {
1975
- const t = u, e = (n) => {
2008
+ setup(c) {
2009
+ const t = c, e = (n) => {
1976
2010
  t.viewModel.onMouseOver(t.item, n);
1977
2011
  }, o = (n) => {
1978
2012
  t.viewModel.onMouseLeave(t.item, n);
1979
2013
  };
1980
- return (n, r) => (l(), i(w, null, [
1981
- v(s(c), {
2014
+ return (n, l) => (a(), r(f, null, [
2015
+ v(s(u), {
1982
2016
  is: "svc-toolbox-item",
1983
2017
  viewModel: n.viewModel,
1984
2018
  item: n.item,
1985
2019
  creator: n.creator,
1986
2020
  isCompact: n.isCompact
1987
2021
  }, null, 8, ["viewModel", "item", "creator", "isCompact"]),
1988
- a("div", {
2022
+ i("div", {
1989
2023
  class: "svc-toolbox__item-submenu-button",
1990
2024
  onMouseover: e,
1991
2025
  onMouseleave: o
1992
2026
  }, [
1993
- v(s(c), {
2027
+ v(s(u), {
1994
2028
  is: "sv-svg-icon",
1995
2029
  iconName: n.item.subitemsButtonIcon,
1996
2030
  size: "auto"
1997
2031
  }, null, 8, ["iconName"]),
1998
- v(s(c), {
2032
+ v(s(u), {
1999
2033
  is: "sv-popup",
2000
2034
  model: n.item.popupModel
2001
2035
  }, null, 8, ["model"])
@@ -2005,53 +2039,41 @@ const Nt = /* @__PURE__ */ g({
2005
2039
  }), Jt = { className: "svc-toolbox__category-header-wrapper" }, Zt = { class: "svc-toolbox__category-title" }, Xt = {
2006
2040
  key: 0,
2007
2041
  class: "svc-toolbox__category-header__controls"
2008
- }, Yt = { className: "svc-toolbox__category-header-wrapper" }, xt = /* @__PURE__ */ g({
2042
+ }, Yt = /* @__PURE__ */ g({
2009
2043
  __name: "ToolboxCategory",
2010
2044
  props: {
2011
2045
  category: {},
2012
2046
  toolbox: {}
2013
2047
  },
2014
- setup(u) {
2015
- const t = u;
2016
- return f(() => t.category), (e, o) => (l(), i("div", {
2048
+ setup(c) {
2049
+ const t = c;
2050
+ return w(() => t.category), (e, o) => (a(), r("div", {
2017
2051
  class: _(["svc-toolbox__category", {
2018
2052
  "svc-toolbox__category--collapsed": e.category.collapsed,
2019
2053
  "svc-toolbox__category--empty": e.category.empty
2020
2054
  }])
2021
2055
  }, [
2022
- a("div", Jt, [
2023
- h((l(), i("div", {
2056
+ i("div", Jt, [
2057
+ C((a(), r("div", {
2024
2058
  class: _(["svc-toolbox__category-header", {
2025
2059
  "svc-toolbox__category-header--collapsed": e.toolbox.canCollapseCategories
2026
2060
  }]),
2027
2061
  onClick: o[0] || (o[0] = (n) => e.category.toggleState())
2028
2062
  }, [
2029
- a("span", Zt, $(e.category.title), 1),
2030
- e.toolbox.canCollapseCategories ? (l(), i("div", Xt, [
2031
- a("div", Yt, [
2032
- h(v(s(c), {
2033
- is: "sv-svg-icon",
2034
- iconName: "icon-arrow-down",
2035
- class: "svc-toolbox__category-header__button svc-string-editor__button--expand",
2036
- size: "auto"
2037
- }, null, 512), [
2038
- [L, e.category.collapsed]
2039
- ])
2040
- ]),
2041
- h(v(s(c), {
2063
+ i("span", Zt, $(e.category.title), 1),
2064
+ e.toolbox.canCollapseCategories ? (a(), r("div", Xt, [
2065
+ v(s(u), {
2042
2066
  is: "sv-svg-icon",
2043
- iconName: "icon-arrow-up",
2044
- class: "svc-toolbox__category-header__button svc-string-editor__button--collapse",
2067
+ iconName: e.category.iconName,
2068
+ class: _(e.category.iconClassName),
2045
2069
  size: "auto"
2046
- }, null, 512), [
2047
- [L, !e.category.collapsed]
2048
- ])
2070
+ }, null, 8, ["iconName", "class"])
2049
2071
  ])) : p("", !0)
2050
2072
  ], 2)), [
2051
2073
  [s(D)]
2052
2074
  ])
2053
2075
  ]),
2054
- (l(!0), i(w, null, R(e.category.items, (n) => (l(), C(s(c), {
2076
+ (a(!0), r(f, null, R(e.category.items, (n) => (a(), h(s(u), {
2055
2077
  is: "svc-toolbox-tool",
2056
2078
  item: n,
2057
2079
  key: n.renderedId,
@@ -2061,86 +2083,86 @@ const Nt = /* @__PURE__ */ g({
2061
2083
  }, null, 8, ["item", "creator", "parentModel"]))), 128))
2062
2084
  ], 2));
2063
2085
  }
2064
- }), en = /* @__PURE__ */ g({
2086
+ }), xt = /* @__PURE__ */ g({
2065
2087
  __name: "ToolboxList",
2066
2088
  props: {
2067
2089
  model: {},
2068
2090
  creator: {}
2069
2091
  },
2070
- setup(u) {
2071
- const t = u;
2072
- return _e(() => t.model.renderedActions), f(() => t.model), (e, o) => (l(), i("div", {
2073
- 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)
2074
2096
  }, [
2075
- (l(!0), i(w, null, R(e.model.renderedActions, (n, r) => (l(), C(s(c), {
2076
- key: r,
2097
+ (a(!0), r(f, null, R(s(e), (l, d) => (a(), h(s(u), {
2098
+ key: d,
2077
2099
  is: "svc-toolbox-tool",
2078
- creator: e.creator,
2079
- item: n,
2080
- parentModel: e.model,
2100
+ creator: o.creator,
2101
+ item: l,
2102
+ parentModel: o.model,
2081
2103
  isCompact: !1
2082
2104
  }, null, 8, ["creator", "item", "parentModel"]))), 128))
2083
2105
  ], 2));
2084
2106
  }
2085
- }), on = { class: "svc-flex-column" }, sn = { class: "svc-tab-designer_content" }, tn = {
2107
+ }), en = { class: "svc-flex-column" }, on = { class: "svc-tab-designer_content" }, sn = {
2086
2108
  key: 0,
2087
2109
  class: "svc-designer-header"
2088
- }, nn = {
2110
+ }, tn = {
2089
2111
  class: "svc-designer__placeholder-container",
2090
2112
  "data-sv-drop-target-survey-element": "newGhostPage"
2091
- }, ln = {
2113
+ }, nn = {
2092
2114
  className: "svc-designer-placeholder-page",
2093
2115
  "data-sv-drop-target-survey-element": "newGhostPage"
2094
2116
  }, an = {
2095
2117
  key: 0,
2096
2118
  class: "svc-designer-header"
2097
- }, rn = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], dn = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], cn = {
2119
+ }, ln = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], rn = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], dn = {
2098
2120
  key: 0,
2099
2121
  class: "svc-tab-designer__tools"
2100
- }, un = {
2122
+ }, cn = {
2101
2123
  key: 0,
2102
2124
  class: "svc-tab-designer__page-navigator"
2103
- }, pn = {
2125
+ }, un = {
2104
2126
  key: 1,
2105
2127
  class: "svc-tab-designer__toolbar"
2106
- }, vn = /* @__PURE__ */ g({
2128
+ }, pn = /* @__PURE__ */ g({
2107
2129
  __name: "Designer",
2108
2130
  props: {
2109
2131
  model: {}
2110
2132
  },
2111
- setup(u) {
2112
- const t = u, e = k(() => t.model.survey);
2113
- return f(() => t.model), f(() => e.value), (o, n) => (l(), i(w, null, [
2114
- a("div", on, [
2115
- o.model.isToolboxVisible ? (l(), C(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), {
2116
2138
  key: 0,
2117
2139
  is: "svc-toolbox",
2118
2140
  model: o.model.creator
2119
2141
  }, null, 8, ["model"])) : p("", !0)
2120
2142
  ]),
2121
- a("div", {
2143
+ i("div", {
2122
2144
  class: _(["svc-tab-designer", o.model.getRootCss()]),
2123
2145
  onClick: n[0] || (n[0] = //@ts-ignore
2124
- (...r) => o.model.clickDesigner && o.model.clickDesigner(...r))
2146
+ (...l) => o.model.clickDesigner && o.model.clickDesigner(...l))
2125
2147
  }, [
2126
- v(s(c), { is: "sv-scroll" }, {
2148
+ v(s(u), { is: "sv-scroll" }, {
2127
2149
  default: Z(() => [
2128
- a("div", sn, [
2129
- o.model.showPlaceholder ? (l(), i(w, { key: 0 }, [
2130
- o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (l(), i("div", tn, [
2131
- 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), {
2132
2154
  is: "survey-header",
2133
2155
  survey: o.model.creator.survey
2134
2156
  }, null, 8, ["survey"])
2135
2157
  ])) : p("", !0),
2136
- a("div", nn, [
2158
+ i("div", tn, [
2137
2159
  v(W, {
2138
2160
  name: "designer",
2139
2161
  placeholderTitleText: o.model.placeholderTitleText,
2140
2162
  placeholderDescriptionText: o.model.placeholderDescriptionText
2141
2163
  }, null, 8, ["placeholderTitleText", "placeholderDescriptionText"]),
2142
- a("div", ln, [
2143
- v(s(c), {
2164
+ i("div", nn, [
2165
+ v(s(u), {
2144
2166
  is: "svc-page",
2145
2167
  survey: o.model.creator.survey,
2146
2168
  creator: o.model.creator,
@@ -2150,58 +2172,58 @@ const Nt = /* @__PURE__ */ g({
2150
2172
  ])
2151
2173
  ])
2152
2174
  ], 64)) : p("", !0),
2153
- o.model.showPlaceholder ? p("", !0) : (l(), i(w, { key: 1 }, [
2154
- a("div", {
2175
+ o.model.showPlaceholder ? p("", !0) : (a(), r(f, { key: 1 }, [
2176
+ i("div", {
2155
2177
  class: _(o.model.designerCss),
2156
- style: F([
2178
+ style: z([
2157
2179
  { maxWidth: o.model.survey.renderedWidth },
2158
2180
  o.model.surfaceCssVariables
2159
2181
  ])
2160
2182
  }, [
2161
- o.model.creator.allowEditSurveyTitle ? (l(), i("div", an, [
2162
- v(s(c), {
2183
+ o.model.creator.allowEditSurveyTitle ? (a(), r("div", an, [
2184
+ v(s(u), {
2163
2185
  is: "survey-header",
2164
2186
  survey: o.model.creator.survey
2165
2187
  }, null, 8, ["survey"])
2166
2188
  ])) : p("", !0),
2167
- o.model.creator.pageEditMode !== "bypage" ? (l(!0), i(w, { key: 1 }, R(o.model.pages, (r) => (l(), i("div", {
2168
- 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,
2169
2191
  class: "svc-page",
2170
- "data-sv-drop-target-survey-element": r != o.model.newPage ? r.name : "newGhostPage",
2171
- "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
2172
2194
  }, [
2173
- v(s(c), {
2195
+ v(s(u), {
2174
2196
  is: "svc-page",
2175
2197
  survey: o.model.creator.survey,
2176
2198
  creator: o.model.creator,
2177
- page: r,
2178
- isGhost: r == o.model.newPage
2199
+ page: l,
2200
+ isGhost: l == o.model.newPage
2179
2201
  }, null, 8, ["survey", "creator", "page", "isGhost"])
2180
- ], 8, rn))), 128)) : p("", !0),
2181
- o.model.pagesController.page2Display && o.model.creator.pageEditMode === "bypage" ? (l(), i("div", {
2202
+ ], 8, ln))), 128)) : p("", !0),
2203
+ o.model.pagesController.page2Display && o.model.creator.pageEditMode === "bypage" ? (a(), r("div", {
2182
2204
  key: 2,
2183
2205
  class: "svc-page",
2184
2206
  "data-sv-drop-target-survey-element": o.model.displayPageDropTarget,
2185
2207
  "data-sv-drop-target-page": o.model.pagesController.page2Display.name
2186
2208
  }, [
2187
- v(s(c), {
2209
+ v(s(u), {
2188
2210
  is: "svc-page",
2189
2211
  page: o.model.pagesController.page2Display,
2190
2212
  creator: o.model.creator,
2191
2213
  isGhost: o.model.pagesController.page2Display == o.model.newPage
2192
2214
  }, null, 8, ["page", "creator", "isGhost"])
2193
- ], 8, dn)) : p("", !0)
2215
+ ], 8, rn)) : p("", !0)
2194
2216
  ], 6),
2195
- o.model.showSurfaceTools ? (l(), i("div", cn, [
2196
- o.model.creator.showPageNavigator ? (l(), i("div", un, [
2197
- v(s(c), {
2217
+ o.model.showSurfaceTools ? (a(), r("div", dn, [
2218
+ o.model.creator.showPageNavigator ? (a(), r("div", cn, [
2219
+ v(s(u), {
2198
2220
  is: "svc-page-navigator",
2199
2221
  pagesController: o.model.pagesController,
2200
2222
  pageEditMode: o.model.creator.pageEditMode
2201
2223
  }, null, 8, ["pagesController", "pageEditMode"])
2202
2224
  ])) : p("", !0),
2203
- o.model.showSurfaceToolbar ? (l(), i("div", pn, [
2204
- v(s(c), {
2225
+ o.model.showSurfaceToolbar ? (a(), r("div", un, [
2226
+ v(s(u), {
2205
2227
  is: "sv-action-bar",
2206
2228
  model: o.model.surfaceToolbar
2207
2229
  }, null, 8, ["model"])
@@ -2215,13 +2237,13 @@ const Nt = /* @__PURE__ */ g({
2215
2237
  ], 2)
2216
2238
  ], 64));
2217
2239
  }
2218
- }), mn = ["id", "data-sv-drop-target-survey-page"], _n = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), gn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), bn = {
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 = {
2219
2241
  key: 0,
2220
2242
  class: "svc-page__placeholder_frame"
2221
- }, yn = { class: "svc-panel__placeholder_frame" }, hn = { class: "svc-panel__placeholder" }, Cn = { class: "svc-page__content-actions" }, qn = {
2243
+ }, bn = { class: "svc-panel__placeholder_frame" }, yn = { class: "svc-panel__placeholder" }, hn = { class: "svc-page__content-actions" }, qn = {
2222
2244
  key: 2,
2223
2245
  class: "svc-page__content-actions"
2224
- }, kn = /* @__PURE__ */ g({
2246
+ }, Cn = /* @__PURE__ */ g({
2225
2247
  __name: "Page",
2226
2248
  props: {
2227
2249
  creator: {},
@@ -2229,15 +2251,15 @@ const Nt = /* @__PURE__ */ g({
2229
2251
  page: {},
2230
2252
  isGhost: { type: Boolean }
2231
2253
  },
2232
- setup(u) {
2233
- const t = u, e = B(), o = A(
2254
+ setup(c) {
2255
+ const t = c, e = I(), o = A(
2234
2256
  () => {
2235
- const r = new De(t.creator, t.page);
2236
- return r.isGhost = t.isGhost, r;
2257
+ const l = new De(t.creator, t.page);
2258
+ return l.isGhost = t.isGhost, l;
2237
2259
  },
2238
2260
  [() => t.page],
2239
- (r) => {
2240
- r.dispose();
2261
+ (l) => {
2262
+ l.dispose();
2241
2263
  }
2242
2264
  );
2243
2265
  G(
@@ -2250,10 +2272,10 @@ const Nt = /* @__PURE__ */ g({
2250
2272
  }), E(() => {
2251
2273
  e.value && o.value && (o.value.rootElement = e.value);
2252
2274
  });
2253
- const n = (r) => {
2254
- o.value.hover(r, r.currentTarget);
2275
+ const n = (l) => {
2276
+ o.value.hover(l, l.currentTarget);
2255
2277
  };
2256
- return (r, d) => s(o).page ? h((l(), i("div", {
2278
+ return (l, d) => s(o).page ? C((a(), r("div", {
2257
2279
  key: s(o).page.id,
2258
2280
  id: s(o).page.id,
2259
2281
  class: _(["svc-page__content", s(o).css]),
@@ -2267,24 +2289,24 @@ const Nt = /* @__PURE__ */ g({
2267
2289
  onMouseover: n,
2268
2290
  onMouseleave: n
2269
2291
  }, [
2292
+ mn,
2270
2293
  _n,
2271
- gn,
2272
- v(s(c), {
2294
+ v(s(u), {
2273
2295
  is: "survey-page",
2274
2296
  survey: s(o).creator.survey,
2275
2297
  page: s(o).page
2276
2298
  }, null, 8, ["survey", "page"]),
2277
- s(o).showPlaceholder ? (l(), i("div", bn, [
2278
- a("div", yn, [
2279
- a("div", hn, $(s(o).placeholderText), 1)
2299
+ s(o).showPlaceholder ? (a(), r("div", gn, [
2300
+ i("div", bn, [
2301
+ i("div", yn, $(s(o).placeholderText), 1)
2280
2302
  ])
2281
2303
  ])) : p("", !0),
2282
- s(o).allowDragging && !s(o).isGhost ? (l(), i("div", {
2304
+ s(o).allowDragging && !s(o).isGhost ? (a(), r("div", {
2283
2305
  key: 1,
2284
2306
  class: "svc-question__drag-area",
2285
2307
  onPointerdown: d[0] || (d[0] = (m) => s(o).onPointerDown(m))
2286
2308
  }, [
2287
- v(s(c), V({
2309
+ v(s(u), V({
2288
2310
  is: "sv-svg-icon",
2289
2311
  class: "svc-question__drag-element"
2290
2312
  }, {
@@ -2292,65 +2314,68 @@ const Nt = /* @__PURE__ */ g({
2292
2314
  iconName: "icon-drag-area-indicator_24x16",
2293
2315
  size: "auto"
2294
2316
  }), null, 16),
2295
- a("div", Cn, [
2296
- v(s(c), {
2317
+ i("div", hn, [
2318
+ v(s(u), {
2297
2319
  is: "sv-action-bar",
2298
2320
  model: s(o).actionContainer
2299
2321
  }, null, 8, ["model"]),
2300
- s(o).topActionContainer.hasActions ? (l(), C(s(c), {
2322
+ s(o).topActionContainer.hasActions ? (a(), h(s(u), {
2301
2323
  key: 0,
2302
2324
  is: "sv-action-bar",
2303
2325
  model: s(o).topActionContainer
2304
2326
  }, null, 8, ["model"])) : p("", !0)
2305
2327
  ])
2306
2328
  ], 32)) : p("", !0),
2307
- !s(o).allowDragging || s(o).isGhost ? (l(), i("div", qn, [
2308
- v(s(c), {
2329
+ !s(o).allowDragging || s(o).isGhost ? (a(), r("div", qn, [
2330
+ v(s(u), {
2309
2331
  is: "sv-action-bar",
2310
2332
  model: s(o).actionContainer
2311
2333
  }, null, 8, ["model"]),
2312
- s(o).topActionContainer.hasActions ? (l(), C(s(c), {
2334
+ s(o).topActionContainer.hasActions ? (a(), h(s(u), {
2313
2335
  key: 0,
2314
2336
  is: "sv-action-bar",
2315
2337
  model: s(o).topActionContainer
2316
2338
  }, null, 8, ["model"])) : p("", !0)
2317
2339
  ])) : p("", !0),
2318
- v(s(c), {
2340
+ v(s(u), {
2319
2341
  is: "sv-action-bar",
2320
2342
  model: s(o).footerActionsBar
2321
2343
  }, null, 8, ["model"])
2322
- ], 42, mn)), [
2344
+ ], 42, vn)), [
2323
2345
  [s(D)]
2324
2346
  ]) : p("", !0);
2325
2347
  }
2326
- }), $n = { class: "svc-add-new-item-button__text" }, wn = /* @__PURE__ */ g({
2348
+ }), kn = { class: "svc-add-new-item-button__text" }, $n = /* @__PURE__ */ g({
2327
2349
  __name: "AddQuestion",
2328
2350
  props: {
2329
2351
  item: {},
2330
2352
  buttonClass: {},
2331
2353
  renderPopup: {}
2332
2354
  },
2333
- setup(u) {
2334
- const t = u;
2335
- f(() => t.item.data);
2336
- const e = k(() => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")), o = k(() => t.renderPopup === void 0 || t.renderPopup !== !1);
2337
- return (n, r) => (l(), i(w, null, [
2338
- h((l(), i("div", {
2355
+ setup(c) {
2356
+ const t = c;
2357
+ w(() => t.item.data);
2358
+ const e = k(
2359
+ () => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")
2360
+ ), o = k(
2361
+ () => t.renderPopup === void 0 || t.renderPopup !== !1
2362
+ );
2363
+ return (n, l) => (a(), r(f, null, [
2364
+ C((a(), r("div", {
2339
2365
  class: _(e.value),
2340
- onClick: r[0] || (r[0] = (d) => {
2366
+ onClick: l[0] || (l[0] = (d) => {
2341
2367
  n.item.data.addNewQuestion(n.item, d), d.stopPropagation();
2342
2368
  }),
2343
- onMouseover: r[1] || (r[1] = (d) => n.item.data.hoverStopper && n.item.data.hoverStopper(d, d.currentTarget)),
2344
- role: "button"
2369
+ onMouseover: l[1] || (l[1] = (d) => n.item.data.hoverStopper && n.item.data.hoverStopper(d, d.currentTarget))
2345
2370
  }, [
2346
- v(s(c), {
2371
+ v(s(u), {
2347
2372
  is: "sv-svg-icon",
2348
2373
  class: "svc-panel__add-new-question-icon",
2349
2374
  iconName: "icon-add_24x24",
2350
2375
  size: "auto"
2351
2376
  }),
2352
- a("span", $n, $(n.item.data.addNewQuestionText), 1),
2353
- o.value ? (l(), C(s(c), {
2377
+ i("span", kn, $(n.item.data.addNewQuestionText), 1),
2378
+ o.value ? (a(), h(s(u), {
2354
2379
  key: 0,
2355
2380
  is: "svc-add-question-type-selector",
2356
2381
  questionTypeSelectorModel: n.item.data.questionTypeSelectorModel,
@@ -2359,7 +2384,7 @@ const Nt = /* @__PURE__ */ g({
2359
2384
  ], 34)), [
2360
2385
  [s(D)]
2361
2386
  ]),
2362
- o.value ? p("", !0) : (l(), C(s(c), {
2387
+ o.value ? p("", !0) : (a(), h(s(u), {
2363
2388
  key: 0,
2364
2389
  is: "svc-add-question-type-selector",
2365
2390
  questionTypeSelectorModel: n.item.data.questionTypeSelectorModel,
@@ -2367,15 +2392,15 @@ const Nt = /* @__PURE__ */ g({
2367
2392
  }, null, 8, ["questionTypeSelectorModel", "renderPopup"]))
2368
2393
  ], 64));
2369
2394
  }
2370
- }), fn = ["title", "aria-label"], Tn = /* @__PURE__ */ g({
2395
+ }), fn = ["title", "aria-label"], wn = /* @__PURE__ */ g({
2371
2396
  __name: "AddQuestionTypeSelector",
2372
2397
  props: {
2373
2398
  questionTypeSelectorModel: {},
2374
2399
  renderPopup: {}
2375
2400
  },
2376
- setup(u) {
2377
- const t = u;
2378
- return f(() => t.questionTypeSelectorModel), (e, o) => h((l(), i("button", {
2401
+ setup(c) {
2402
+ const t = c;
2403
+ return w(() => t.questionTypeSelectorModel), (e, o) => C((a(), r("button", {
2379
2404
  type: "button",
2380
2405
  onClick: o[0] || (o[0] = (n) => {
2381
2406
  e.questionTypeSelectorModel.action(), n.stopPropagation();
@@ -2384,7 +2409,7 @@ const Nt = /* @__PURE__ */ g({
2384
2409
  "aria-label": e.questionTypeSelectorModel.title,
2385
2410
  class: "svc-element__question-type-selector"
2386
2411
  }, [
2387
- v(s(c), V({
2412
+ v(s(u), V({
2388
2413
  is: "sv-svg-icon",
2389
2414
  class: "svc-element__question-type-selector-icon"
2390
2415
  }, {
@@ -2392,7 +2417,7 @@ const Nt = /* @__PURE__ */ g({
2392
2417
  size: "auto",
2393
2418
  title: e.questionTypeSelectorModel.title
2394
2419
  }), null, 16),
2395
- e.renderPopup ? (l(), C(s(c), {
2420
+ e.renderPopup ? (a(), h(s(u), {
2396
2421
  key: 0,
2397
2422
  is: "sv-popup",
2398
2423
  model: e.questionTypeSelectorModel.popupModel
@@ -2401,35 +2426,35 @@ const Nt = /* @__PURE__ */ g({
2401
2426
  [s(D)]
2402
2427
  ]);
2403
2428
  }
2404
- }), Dn = /* @__PURE__ */ a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1), Nn = /* @__PURE__ */ a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1), Mn = /* @__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({
2405
2430
  __name: "Row",
2406
2431
  props: {
2407
2432
  componentData: {}
2408
2433
  },
2409
- setup(u) {
2410
- 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(
2411
2436
  () => new Ne(e.value, o.value, void 0),
2412
2437
  [() => e.value, () => o.value],
2413
- (r) => {
2414
- r.dispose();
2438
+ (l) => {
2439
+ l.dispose();
2415
2440
  }
2416
2441
  );
2417
2442
  return E(() => {
2418
2443
  n.value && n.value.subscribeElementChanges();
2419
- }), K(() => {
2444
+ }), F(() => {
2420
2445
  n.value && n.value.unsubscribeElementChanges();
2421
- }), (r, d) => (l(), i("div", {
2446
+ }), (l, d) => (a(), r("div", {
2422
2447
  class: _(s(n).cssClasses)
2423
2448
  }, [
2449
+ Tn,
2424
2450
  Dn,
2425
- Nn,
2426
- x(r.$slots, "default")
2451
+ x(l.$slots, "default")
2427
2452
  ], 2));
2428
2453
  }
2429
- }), Sn = ["data-sv-drop-target-survey-element"], In = { class: "svc-fake-title" }, Bn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), En = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), Pn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), Rn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), Vn = { class: "svc-question__top-actions" }, An = {
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 = {
2430
2455
  key: 0,
2431
2456
  class: "svc-panel__placeholder_frame-wrapper"
2432
- }, zn = { class: "svc-panel__placeholder_frame" }, Ln = {
2457
+ }, An = { class: "svc-panel__placeholder_frame" }, Ln = {
2433
2458
  class: "svc-panel__placeholder",
2434
2459
  "data-bind": "text: placeholderText"
2435
2460
  }, oe = /* @__PURE__ */ g({
@@ -2444,8 +2469,8 @@ const Nt = /* @__PURE__ */ g({
2444
2469
  componentName: {},
2445
2470
  componentData: {}
2446
2471
  },
2447
- setup(u) {
2448
- const t = u, e = B(), o = A(
2472
+ setup(c) {
2473
+ const t = c, e = I(), o = A(
2449
2474
  () => t.createModel(),
2450
2475
  [() => t.componentName, () => t.componentData],
2451
2476
  (d) => {
@@ -2459,10 +2484,10 @@ const Nt = /* @__PURE__ */ g({
2459
2484
  }), E(() => {
2460
2485
  e.value && o.value && (o.value.rootElement = e.value);
2461
2486
  });
2462
- const r = (d) => {
2487
+ const l = (d) => {
2463
2488
  o.value.select(o.value, d), d.stopPropagation();
2464
2489
  };
2465
- return (d, m) => s(o) ? (l(), i("div", {
2490
+ return (d, m) => s(o) ? (a(), r("div", {
2466
2491
  key: 0,
2467
2492
  class: _(["svc-question__adorner", s(o).rootCss()]),
2468
2493
  ref_key: "root",
@@ -2473,37 +2498,37 @@ const Nt = /* @__PURE__ */ g({
2473
2498
  "data-sv-drop-target-survey-element": s(o).element.name || null,
2474
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); } }"
2475
2500
  }, [
2476
- s(o).showHiddenTitle ? (l(), i("div", {
2501
+ s(o).showHiddenTitle ? (a(), r("div", {
2477
2502
  key: 0,
2478
2503
  class: _(s(o).cssCollapsedHiddenHeader)
2479
2504
  }, [
2480
- d.element.hasTitle ? (l(), C(s(c), {
2505
+ d.element.hasTitle ? (a(), h(s(u), {
2481
2506
  key: 0,
2482
2507
  is: "survey-element-title",
2483
2508
  element: d.element
2484
- }, null, 8, ["element"])) : (l(), i("div", {
2509
+ }, null, 8, ["element"])) : (a(), r("div", {
2485
2510
  key: 1,
2486
2511
  class: _(s(o).cssCollapsedHiddenTitle)
2487
2512
  }, [
2488
- a("span", In, $(d.element.name), 1)
2513
+ i("span", Sn, $(d.element.name), 1)
2489
2514
  ], 2))
2490
2515
  ], 2)) : p("", !0),
2491
- h((l(), i("div", {
2516
+ C((a(), r("div", {
2492
2517
  onClick: m[1] || (m[1] = (b) => {
2493
2518
  s(o).select(s(o), b), b.stopPropagation();
2494
2519
  }),
2495
2520
  class: _(s(o).css())
2496
2521
  }, [
2497
2522
  Bn,
2523
+ In,
2498
2524
  En,
2499
2525
  Pn,
2500
- Rn,
2501
- s(o).allowDragging ? (l(), i("div", {
2526
+ s(o).allowDragging ? (a(), r("div", {
2502
2527
  key: 0,
2503
2528
  class: "svc-question__drag-area",
2504
2529
  onPointerdown: m[0] || (m[0] = (b) => s(o).onPointerDown(b))
2505
2530
  }, [
2506
- v(s(c), V({
2531
+ v(s(u), V({
2507
2532
  is: "sv-svg-icon",
2508
2533
  class: "svc-question__drag-element"
2509
2534
  }, {
@@ -2511,48 +2536,48 @@ const Nt = /* @__PURE__ */ g({
2511
2536
  iconName: "icon-drag-area-indicator_24x16",
2512
2537
  size: "auto"
2513
2538
  }), null, 16),
2514
- a("div", Vn, [
2515
- v(s(c), {
2539
+ i("div", Rn, [
2540
+ v(s(u), {
2516
2541
  is: "sv-action-bar",
2517
2542
  model: s(o).topActionContainer,
2518
2543
  handleClick: !1
2519
2544
  }, null, 8, ["model"])
2520
2545
  ])
2521
2546
  ], 32)) : p("", !0),
2522
- s(o).needToRenderContent ? (l(), i(w, { key: 1 }, [
2523
- v(s(c), {
2547
+ s(o).needToRenderContent ? (a(), r(f, { key: 1 }, [
2548
+ v(s(u), {
2524
2549
  is: "sv-template-renderer",
2525
2550
  componentName: d.componentName,
2526
2551
  componentData: d.componentData
2527
2552
  }, null, 8, ["componentName", "componentData"]),
2528
- s(o).isEmptyElement && !d.showPlaceholderComponent ? (l(), i("div", An, [
2529
- a("div", zn, [
2530
- a("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)
2531
2556
  ])
2532
2557
  ])) : p("", !0),
2533
- s(o).isEmptyElement && d.showPlaceholderComponent ? (l(), C(s(c), V(
2558
+ s(o).isEmptyElement && d.showPlaceholderComponent ? (a(), h(s(u), V(
2534
2559
  {
2535
2560
  key: 1,
2536
2561
  is: d.placeholderComponent
2537
2562
  },
2538
2563
  d.getPlaceholderComponentData && d.getPlaceholderComponentData(s(o))
2539
2564
  ), null, 16, ["is"])) : p("", !0),
2540
- d.adornerComponent ? (l(), C(s(c), {
2565
+ d.adornerComponent ? (a(), h(s(u), {
2541
2566
  key: 2,
2542
2567
  is: d.adornerComponent,
2543
2568
  model: s(o),
2544
2569
  element: d.element
2545
2570
  }, null, 8, ["is", "model", "element"])) : p("", !0),
2546
- s(o).isBannerShowing ? (l(), C(s(c), {
2571
+ s(o).isBannerShowing ? (a(), h(s(u), {
2547
2572
  key: 3,
2548
2573
  is: "svc-question-banner",
2549
2574
  model: n.value
2550
2575
  }, null, 8, ["model"])) : p("", !0),
2551
- a("div", {
2576
+ i("div", {
2552
2577
  class: "svc-question__content-actions",
2553
- onFocusin: r
2578
+ onFocusin: l
2554
2579
  }, [
2555
- v(s(c), {
2580
+ v(s(u), {
2556
2581
  is: "sv-action-bar",
2557
2582
  model: s(o).actionContainer,
2558
2583
  handleClick: !1
@@ -2562,42 +2587,42 @@ const Nt = /* @__PURE__ */ g({
2562
2587
  ], 2)), [
2563
2588
  [s(D), { disableTabStop: !0 }]
2564
2589
  ])
2565
- ], 42, Sn)) : p("", !0);
2590
+ ], 42, Mn)) : p("", !0);
2566
2591
  }
2567
- }), le = /* @__PURE__ */ g({
2592
+ }), ae = /* @__PURE__ */ g({
2568
2593
  __name: "Question",
2569
2594
  props: {
2570
2595
  componentName: {},
2571
2596
  componentData: {}
2572
2597
  },
2573
- setup(u) {
2574
- const t = u, e = () => new ee(
2598
+ setup(c) {
2599
+ const t = c, e = () => new ee(
2575
2600
  t.componentData.data,
2576
2601
  t.componentData.element,
2577
2602
  null
2578
2603
  );
2579
- return (o, n) => (l(), C(oe, {
2604
+ return (o, n) => (a(), h(oe, {
2580
2605
  createModel: e,
2581
2606
  element: o.componentData.element,
2582
2607
  "component-name": o.componentName,
2583
2608
  "component-data": o.componentData
2584
2609
  }, null, 8, ["element", "component-name", "component-data"]));
2585
2610
  }
2586
- }), Fn = /* @__PURE__ */ g({
2611
+ }), zn = /* @__PURE__ */ g({
2587
2612
  __name: "QuestionImage",
2588
2613
  props: {
2589
2614
  componentName: {},
2590
2615
  componentData: {}
2591
2616
  },
2592
- setup(u) {
2593
- const t = u, e = () => new Me(
2617
+ setup(c) {
2618
+ const t = c, e = () => new Me(
2594
2619
  t.componentData.data,
2595
2620
  t.componentData.element,
2596
2621
  null
2597
2622
  ), o = (n) => ({
2598
2623
  question: n == null ? void 0 : n.filePresentationModel
2599
2624
  });
2600
- return (n, r) => (l(), C(oe, {
2625
+ return (n, l) => (a(), h(oe, {
2601
2626
  "create-model": e,
2602
2627
  element: t.componentData.element,
2603
2628
  "show-placeholder-component": !0,
@@ -2608,35 +2633,35 @@ const Nt = /* @__PURE__ */ g({
2608
2633
  "adorner-component": "svc-image-question-adorner"
2609
2634
  }, null, 8, ["element", "component-data", "component-name"]));
2610
2635
  }
2611
- }), Kn = {
2636
+ }), Fn = {
2612
2637
  key: 0,
2613
2638
  class: "svc-image-question-controls"
2614
- }, Un = ["accept"], Hn = {
2639
+ }, Kn = ["accept"], Un = {
2615
2640
  class: "svc-context-button",
2616
2641
  title: void 0,
2617
2642
  "aria-label": void 0
2618
- }, On = {
2643
+ }, Hn = {
2619
2644
  key: 1,
2620
2645
  class: "svc-image-question__loading-placeholder"
2621
- }, Qn = { class: "svc-image-question__loading" }, Gn = /* @__PURE__ */ g({
2646
+ }, On = { class: "svc-image-question__loading" }, Qn = /* @__PURE__ */ g({
2622
2647
  __name: "Image",
2623
2648
  props: {
2624
2649
  model: {},
2625
2650
  element: {}
2626
2651
  },
2627
- setup(u) {
2628
- return (t, e) => (l(), i(w, null, [
2629
- !t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div", Kn, [
2630
- t.model.allowEdit ? (l(), i(w, { key: 0 }, [
2631
- a("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", {
2632
2657
  type: "file",
2633
2658
  "aria-hidden": "true",
2634
2659
  tabindex: "-1",
2635
2660
  accept: t.model.acceptedTypes,
2636
2661
  class: "svc-choose-file-input"
2637
- }, null, 8, Un),
2638
- h((l(), i("span", Hn, [
2639
- v(s(c), {
2662
+ }, null, 8, Kn),
2663
+ C((a(), r("span", Un, [
2664
+ v(s(u), {
2640
2665
  is: "sv-svg-icon",
2641
2666
  iconName: "icon-choosefile",
2642
2667
  size: "auto",
@@ -2647,21 +2672,21 @@ const Nt = /* @__PURE__ */ g({
2647
2672
  ])
2648
2673
  ], 64)) : p("", !0)
2649
2674
  ])) : p("", !0),
2650
- t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div", On, [
2651
- a("div", Qn, [
2652
- 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" })
2653
2678
  ])
2654
2679
  ])) : p("", !0)
2655
2680
  ], 64));
2656
2681
  }
2657
- }), Wn = { class: "svc-rating-question-content" }, jn = /* @__PURE__ */ g({
2682
+ }), Gn = { class: "svc-rating-question-content" }, Wn = /* @__PURE__ */ g({
2658
2683
  __name: "Rating",
2659
2684
  props: {
2660
2685
  componentData: {},
2661
2686
  componentName: {}
2662
2687
  },
2663
- setup(u) {
2664
- const t = u, e = A(
2688
+ setup(c) {
2689
+ const t = c, e = A(
2665
2690
  () => new Se(
2666
2691
  t.componentData.data,
2667
2692
  t.componentData.question,
@@ -2670,12 +2695,12 @@ const Nt = /* @__PURE__ */ g({
2670
2695
  [() => t.componentData.data, () => t.componentData.question]
2671
2696
  );
2672
2697
  return (o, n) => {
2673
- var r, d, m, b, y, N, O, P, z;
2674
- return l(), i("div", Wn, [
2675
- a("div", {
2676
- 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)
2677
2702
  }, [
2678
- (d = s(e)) != null && d.allowRemove ? h((l(), C(s(c), {
2703
+ (d = s(e)) != null && d.allowRemove ? C((a(), h(s(u), {
2679
2704
  key: 0,
2680
2705
  is: "sv-svg-icon",
2681
2706
  iconName: "icon-remove_16x16",
@@ -2690,7 +2715,7 @@ const Nt = /* @__PURE__ */ g({
2690
2715
  }, null, 8, ["class", "title", "aria-label"])), [
2691
2716
  [s(D)]
2692
2717
  ]) : p("", !0),
2693
- (N = s(e)) != null && N.allowAdd ? h((l(), C(s(c), {
2718
+ (N = s(e)) != null && N.allowAdd ? C((a(), h(s(u), {
2694
2719
  key: 1,
2695
2720
  is: "sv-svg-icon",
2696
2721
  iconName: "icon-add_16x16",
@@ -2701,7 +2726,7 @@ const Nt = /* @__PURE__ */ g({
2701
2726
  }),
2702
2727
  class: _((O = s(e)) == null ? void 0 : O.addClassNames),
2703
2728
  title: (P = s(e)) == null ? void 0 : P.addTooltip,
2704
- "aria-label": (z = s(e)) == null ? void 0 : z.addTooltip
2729
+ "aria-label": (L = s(e)) == null ? void 0 : L.addTooltip
2705
2730
  }, null, 8, ["class", "title", "aria-label"])), [
2706
2731
  [s(D)]
2707
2732
  ]) : p("", !0)
@@ -2710,26 +2735,26 @@ const Nt = /* @__PURE__ */ g({
2710
2735
  ]);
2711
2736
  };
2712
2737
  }
2713
- }), Jn = {
2738
+ }), jn = {
2714
2739
  key: 0,
2715
2740
  class: "svc-matrix-cell__question-controls"
2716
- }, Zn = /* @__PURE__ */ g({
2741
+ }, Jn = /* @__PURE__ */ g({
2717
2742
  __name: "MatrixCell",
2718
2743
  props: {
2719
2744
  componentData: {}
2720
2745
  },
2721
- setup(u) {
2722
- 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(
2723
2748
  () => t.componentData.question
2724
2749
  ), m = A(
2725
2750
  () => {
2726
2751
  var b;
2727
- return t.componentData ? new Ie(
2752
+ return t.componentData ? new Be(
2728
2753
  e.value,
2729
- r.value,
2754
+ l.value,
2730
2755
  d.value,
2731
2756
  o.value,
2732
- n.value || ((b = r.value.cell) == null ? void 0 : b.column)
2757
+ n.value || ((b = l.value.cell) == null ? void 0 : b.column)
2733
2758
  ) : void 0;
2734
2759
  },
2735
2760
  [
@@ -2741,32 +2766,32 @@ const Nt = /* @__PURE__ */ g({
2741
2766
  );
2742
2767
  return (b, y) => {
2743
2768
  var N, O;
2744
- return l(), i("div", {
2769
+ return a(), r("div", {
2745
2770
  tabindex: "-1",
2746
2771
  class: "svc-matrix-cell",
2747
2772
  onClick: y[1] || (y[1] = (P) => {
2748
- var z;
2749
- return (z = s(m)) == null ? void 0 : z.selectContext(s(m), P);
2773
+ var L;
2774
+ return (L = s(m)) == null ? void 0 : L.selectContext(s(m), P);
2750
2775
  }),
2751
2776
  onMouseover: y[2] || (y[2] = (P) => {
2752
- var z;
2753
- return (z = s(m)) == null ? void 0 : z.hover(P, P.currentTarget);
2777
+ var L;
2778
+ return (L = s(m)) == null ? void 0 : L.hover(P, P.currentTarget);
2754
2779
  }),
2755
2780
  onMouseleave: y[3] || (y[3] = (P) => {
2756
- var z;
2757
- return (z = s(m)) == null ? void 0 : z.hover(P, P.currentTarget);
2781
+ var L;
2782
+ return (L = s(m)) == null ? void 0 : L.hover(P, P.currentTarget);
2758
2783
  })
2759
2784
  }, [
2760
- a("div", {
2785
+ i("div", {
2761
2786
  class: _(["svc-matrix-cell--selected", { "svc-visible": (N = s(m)) == null ? void 0 : N.isSelected }])
2762
2787
  }, null, 2),
2763
2788
  x(b.$slots, "default"),
2764
- (O = s(m)) != null && O.isSupportCellEditor ? (l(), i("div", Jn, [
2765
- h((l(), i("span", {
2789
+ (O = s(m)) != null && O.isSupportCellEditor ? (a(), r("div", jn, [
2790
+ C((a(), r("span", {
2766
2791
  class: "svc-matrix-cell__question-controls-button svc-context-button",
2767
2792
  onClick: y[0] || (y[0] = (P) => s(m).editQuestion(s(m), P))
2768
2793
  }, [
2769
- v(s(c), {
2794
+ v(s(u), {
2770
2795
  is: "sv-svg-icon",
2771
2796
  iconName: "icon-edit",
2772
2797
  size: "auto"
@@ -2778,36 +2803,36 @@ const Nt = /* @__PURE__ */ g({
2778
2803
  ], 32);
2779
2804
  };
2780
2805
  }
2781
- }), Xn = { class: "svc-question__adorner" }, Yn = { class: "svc-question__content svc-question__content--in-popup" }, xn = /* @__PURE__ */ g({
2806
+ }), Zn = { class: "svc-question__adorner" }, Xn = { class: "svc-question__content svc-question__content--in-popup" }, Yn = /* @__PURE__ */ g({
2782
2807
  __name: "CellQuestion",
2783
2808
  props: {
2784
2809
  componentName: {},
2785
2810
  componentData: {}
2786
2811
  },
2787
- setup(u) {
2788
- const t = u, e = k(
2812
+ setup(c) {
2813
+ const t = c, e = k(
2789
2814
  () => t.componentData.element
2790
2815
  );
2791
- return f(() => e.value), (o, n) => (l(), i("div", Xn, [
2792
- a("div", Yn, [
2793
- 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"])
2794
2819
  ])
2795
2820
  ]));
2796
2821
  }
2797
- }), el = ["data-sv-drop-target-survey-element"], ol = { class: "svc-fake-title" }, sl = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), tl = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), nl = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), ll = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), al = { class: "svc-question__top-actions" }, il = {
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 = {
2798
2823
  key: 0,
2799
2824
  class: "svc-panel__placeholder_frame-wrapper"
2800
- }, rl = { class: "svc-panel__placeholder_frame" }, dl = { class: "svc-panel__placeholder" }, cl = { class: "svc-add-new-item-button__text" }, ul = {
2825
+ }, ia = { class: "svc-panel__placeholder_frame" }, ra = { class: "svc-panel__placeholder" }, da = { class: "svc-add-new-item-button__text" }, ca = {
2801
2826
  key: 1,
2802
2827
  class: "svc-panel__add-new-question-container"
2803
- }, pl = { class: "svc-panel__question-type-selector-popup" }, vl = { class: "svc-panel__add-new-question-wrapper" }, ml = /* @__PURE__ */ g({
2828
+ }, ua = { class: "svc-panel__question-type-selector-popup" }, pa = { class: "svc-panel__add-new-question-wrapper" }, va = /* @__PURE__ */ g({
2804
2829
  __name: "Panel",
2805
2830
  props: {
2806
2831
  componentName: {},
2807
2832
  componentData: {}
2808
2833
  },
2809
- setup(u) {
2810
- const t = u, e = A(
2834
+ setup(c) {
2835
+ const t = c, e = A(
2811
2836
  () => new ee(
2812
2837
  t.componentData.data,
2813
2838
  t.componentData.element,
@@ -2820,88 +2845,88 @@ const Nt = /* @__PURE__ */ g({
2820
2845
  ), o = (n) => {
2821
2846
  n.stopPropagation(), e.value.addNewQuestion();
2822
2847
  };
2823
- return (n, r) => s(e) && !s(e).isDisposed ? (l(), i("div", {
2848
+ return (n, l) => s(e) && !s(e).isDisposed ? (a(), r("div", {
2824
2849
  key: 0,
2825
2850
  class: _(["svc-question__adorner", s(e).rootCss()]),
2826
- onDblclick: r[3] || (r[3] = (d) => s(e).dblclick(d)),
2827
- onMouseover: r[4] || (r[4] = (d) => s(e).hover(d, d.currentTarget)),
2828
- 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)),
2829
2854
  "data-sv-drop-target-survey-element": s(e).element.name || null,
2830
2855
  ref: "root"
2831
2856
  }, [
2832
- s(e).showHiddenTitle ? (l(), i("div", {
2857
+ s(e).showHiddenTitle ? (a(), r("div", {
2833
2858
  key: 0,
2834
2859
  class: _(s(e).cssCollapsedHiddenHeader)
2835
2860
  }, [
2836
- s(e).element.hasTitle ? (l(), C(s(c), {
2861
+ s(e).element.hasTitle ? (a(), h(s(u), {
2837
2862
  key: 0,
2838
2863
  is: "survey-element-title",
2839
2864
  element: s(e).element
2840
- }, null, 8, ["element"])) : (l(), i("div", {
2865
+ }, null, 8, ["element"])) : (a(), r("div", {
2841
2866
  key: 1,
2842
2867
  class: _(s(e).cssCollapsedHiddenTitle)
2843
2868
  }, [
2844
- a("span", ol, $(s(e).element.name), 1)
2869
+ i("span", ea, $(s(e).element.name), 1)
2845
2870
  ], 2))
2846
2871
  ], 2)) : p("", !0),
2847
- h((l(), i("div", {
2872
+ C((a(), r("div", {
2848
2873
  class: _(s(e).css()),
2849
- 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)
2850
2875
  }, [
2851
- sl,
2852
- tl,
2853
- nl,
2854
- ll,
2855
- s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (l(), i("div", {
2876
+ oa,
2877
+ sa,
2878
+ ta,
2879
+ na,
2880
+ s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (a(), r("div", {
2856
2881
  key: 0,
2857
2882
  class: "svc-question__drag-area",
2858
- onPointerdown: r[0] || (r[0] = (d) => s(e).onPointerDown(d))
2883
+ onPointerdown: l[0] || (l[0] = (d) => s(e).onPointerDown(d))
2859
2884
  }, [
2860
- v(s(c), {
2885
+ v(s(u), {
2861
2886
  is: "sv-svg-icon",
2862
2887
  class: "svc-question__drag-element",
2863
2888
  iconName: "icon-drag-area-indicator_24x16",
2864
2889
  size: "auto"
2865
2890
  }),
2866
- a("div", al, [
2867
- v(s(c), {
2891
+ i("div", aa, [
2892
+ v(s(u), {
2868
2893
  is: "sv-action-bar",
2869
2894
  model: s(e).topActionContainer,
2870
2895
  handleClick: !1
2871
2896
  }, null, 8, ["model"])
2872
2897
  ])
2873
2898
  ], 32)) : p("", !0),
2874
- s(e).needToRenderContent ? (l(), i(w, { key: 1 }, [
2875
- v(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
2876
- s(e).isEmptyElement ? (l(), i("div", il, [
2877
- a("div", rl, [
2878
- a("div", dl, $(s(e).placeholderText), 1),
2879
- s(e).showAddQuestionButton ? h((l(), 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", {
2880
2905
  key: 0,
2881
2906
  class: "svc-panel__add-new-question svc-action-button",
2882
2907
  onClick: o
2883
2908
  }, [
2884
- v(s(c), {
2909
+ v(s(u), {
2885
2910
  is: "sv-svg-icon",
2886
2911
  class: "svc-panel__add-new-question-icon",
2887
2912
  iconName: "icon-add_24x24",
2888
2913
  size: "auto"
2889
2914
  }),
2890
- a("span", cl, $(s(e).addNewQuestionText), 1)
2915
+ i("span", da, $(s(e).addNewQuestionText), 1)
2891
2916
  ])), [
2892
2917
  [s(D)]
2893
2918
  ]) : p("", !0)
2894
2919
  ])
2895
2920
  ])) : p("", !0),
2896
- !s(e).isEmptyElement && s(e).showAddQuestionButton ? (l(), i("div", ul, [
2897
- a("div", pl, [
2898
- v(s(c), {
2921
+ !s(e).isEmptyElement && s(e).showAddQuestionButton ? (a(), r("div", ca, [
2922
+ i("div", ua, [
2923
+ v(s(u), {
2899
2924
  is: "sv-popup",
2900
2925
  model: s(e).questionTypeSelectorModel.popupModel
2901
2926
  }, null, 8, ["model"])
2902
2927
  ]),
2903
- a("div", vl, [
2904
- v(s(c), {
2928
+ i("div", pa, [
2929
+ v(s(u), {
2905
2930
  is: "svc-add-new-question-btn",
2906
2931
  item: { data: s(e) },
2907
2932
  buttonClass: "svc-action-button",
@@ -2909,12 +2934,12 @@ const Nt = /* @__PURE__ */ g({
2909
2934
  }, null, 8, ["item"])
2910
2935
  ])
2911
2936
  ])) : p("", !0),
2912
- s(e).element.isInteractiveDesignElement ? (l(), i("div", {
2937
+ s(e).element.isInteractiveDesignElement ? (a(), r("div", {
2913
2938
  key: 2,
2914
2939
  class: "svc-question__content-actions",
2915
- 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))
2916
2941
  }, [
2917
- v(s(c), {
2942
+ v(s(u), {
2918
2943
  is: "sv-action-bar",
2919
2944
  model: s(e).actionContainer,
2920
2945
  handleClick: !1
@@ -2924,39 +2949,39 @@ const Nt = /* @__PURE__ */ g({
2924
2949
  ], 2)), [
2925
2950
  [s(D), { disableTabStop: !0 }]
2926
2951
  ])
2927
- ], 42, el)) : p("", !0);
2952
+ ], 42, xn)) : p("", !0);
2928
2953
  }
2929
- }), _l = ["data-sv-drop-target-item-value"], gl = /* @__PURE__ */ a("div", { class: "svc-item-value__ghost" }, null, -1), bl = { class: "svc-item-value-controls" }, yl = {
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 = {
2930
2955
  key: 0,
2931
2956
  class: "svc-item-value-controls__button svc-item-value-controls__drag"
2932
- }, hl = /* @__PURE__ */ g({
2957
+ }, ya = /* @__PURE__ */ g({
2933
2958
  __name: "ItemValue",
2934
2959
  props: {
2935
2960
  componentName: {},
2936
2961
  componentData: {}
2937
2962
  },
2938
- setup(u) {
2939
- const t = B(), e = u, o = k(() => e.componentData.data.creator), n = k(() => e.componentData.question), r = k(() => e.componentData.item), d = G(
2940
- () => 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,
2941
2966
  (b, y) => {
2942
2967
  b && t.value && b.setRootElement(t.value), y && y.setRootElement(void 0);
2943
2968
  }
2944
2969
  );
2945
2970
  E(() => {
2946
- t.value && r.value && r.value.setRootElement(t.value);
2947
- }), K(() => {
2948
- r.value.setRootElement(void 0);
2971
+ t.value && l.value && l.value.setRootElement(t.value);
2972
+ }), F(() => {
2973
+ l.value.setRootElement(void 0);
2949
2974
  });
2950
2975
  const m = A(
2951
- () => new Be(o.value, n.value, r.value),
2952
- [() => o.value, () => n.value, () => r.value],
2976
+ () => new Ie(o.value, n.value, l.value),
2977
+ [() => o.value, () => n.value, () => l.value],
2953
2978
  (b) => {
2954
2979
  b.dispose();
2955
2980
  }
2956
2981
  );
2957
2982
  return X(() => {
2958
2983
  d();
2959
- }), (b, y) => (l(), i("div", {
2984
+ }), (b, y) => (a(), r("div", {
2960
2985
  class: _(["svc-item-value-wrapper", {
2961
2986
  "svc-item-value--new": s(m).isNew,
2962
2987
  "svc-item-value--dragging": s(m).isDragging,
@@ -2965,14 +2990,14 @@ const Nt = /* @__PURE__ */ g({
2965
2990
  "svc-item-value--moveup": s(m).isDragDropMoveUp
2966
2991
  }]),
2967
2992
  onPointerdown: y[4] || (y[4] = (N) => s(m).onPointerDown(N)),
2968
- "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,
2969
2994
  ref_key: "root",
2970
2995
  ref: t
2971
2996
  }, [
2972
- gl,
2973
- a("div", bl, [
2974
- s(m).isDraggable ? (l(), i("span", yl, [
2975
- v(s(c), {
2997
+ _a,
2998
+ i("div", ga, [
2999
+ s(m).isDraggable ? (a(), r("span", ba, [
3000
+ v(s(u), {
2976
3001
  is: "sv-svg-icon",
2977
3002
  class: "svc-item-value-controls__drag-icon",
2978
3003
  iconName: "icon-drag-24x24",
@@ -2980,13 +3005,13 @@ const Nt = /* @__PURE__ */ g({
2980
3005
  title: s(m).dragTooltip
2981
3006
  }, null, 8, ["title"])
2982
3007
  ])) : p("", !0),
2983
- s(m).allowAdd ? h((l(), i("span", {
3008
+ s(m).allowAdd ? C((a(), r("span", {
2984
3009
  key: 1,
2985
3010
  class: "svc-item-value-controls__button svc-item-value-controls__add",
2986
3011
  onClick: y[0] || (y[0] = (N) => s(m).add(s(m))),
2987
3012
  "aria-label": void 0
2988
3013
  }, [
2989
- v(s(c), {
3014
+ v(s(u), {
2990
3015
  is: "sv-svg-icon",
2991
3016
  iconName: "icon-add_16x16",
2992
3017
  size: "auto",
@@ -2995,14 +3020,14 @@ const Nt = /* @__PURE__ */ g({
2995
3020
  ])), [
2996
3021
  [s(D)]
2997
3022
  ]) : p("", !0),
2998
- s(m).allowRemove ? h((l(), i("span", {
3023
+ s(m).allowRemove ? C((a(), r("span", {
2999
3024
  key: 2,
3000
3025
  class: "svc-item-value-controls__button svc-item-value-controls__remove",
3001
3026
  onClick: y[1] || (y[1] = (N) => s(m).remove(s(m))),
3002
3027
  onBlur: y[2] || (y[2] = (N) => s(m).onFocusOut(N)),
3003
3028
  "aria-label": void 0
3004
3029
  }, [
3005
- v(s(c), {
3030
+ v(s(u), {
3006
3031
  is: "sv-svg-icon",
3007
3032
  iconName: "icon-remove_16x16",
3008
3033
  size: "auto",
@@ -3012,31 +3037,31 @@ const Nt = /* @__PURE__ */ g({
3012
3037
  [s(D)]
3013
3038
  ]) : p("", !0)
3014
3039
  ]),
3015
- a("div", {
3040
+ i("div", {
3016
3041
  class: "svc-item-value__item",
3017
3042
  onClick: y[3] || (y[3] = (N) => s(m).select(s(m), N))
3018
3043
  }, [
3019
- 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"])
3020
3045
  ])
3021
- ], 42, _l));
3046
+ ], 42, ma));
3022
3047
  }
3023
- }), Cl = ["data-sv-drop-target-item-value"], ql = { class: "svc-image-item-value-wrapper__content" }, kl = ["accept"], $l = {
3048
+ }), ha = ["data-sv-drop-target-item-value"], qa = { class: "svc-image-item-value-wrapper__content" }, Ca = ["accept"], ka = {
3024
3049
  key: 0,
3025
3050
  class: "svc-image-item-value__item"
3026
- }, wl = {
3051
+ }, $a = {
3027
3052
  key: 2,
3028
3053
  class: "svc-context-container svc-image-item-value-controls"
3029
- }, fl = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, Tl = { class: "sd-imagepicker__label" }, Dl = {
3054
+ }, fa = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, wa = { class: "sd-imagepicker__label" }, Ta = {
3030
3055
  key: 0,
3031
3056
  class: "svc-image-item-value__loading"
3032
- }, Nl = /* @__PURE__ */ g({
3057
+ }, Da = /* @__PURE__ */ g({
3033
3058
  __name: "ImageItemValue",
3034
3059
  props: {
3035
3060
  componentName: {},
3036
3061
  componentData: {}
3037
3062
  },
3038
- setup(u) {
3039
- const t = u, e = k(() => t.componentData.data.creator), o = k(() => t.componentData.question), n = k(() => t.componentData.item), r = B(), 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(
3040
3065
  () => {
3041
3066
  const b = new Ee(
3042
3067
  e.value,
@@ -3045,7 +3070,7 @@ const Nt = /* @__PURE__ */ g({
3045
3070
  null,
3046
3071
  null
3047
3072
  );
3048
- return r != null && r.value && (b.itemsRoot = r.value), b;
3073
+ return l != null && l.value && (b.itemsRoot = l.value), b;
3049
3074
  },
3050
3075
  [() => e.value, () => o.value, () => n.value],
3051
3076
  (b) => {
@@ -3059,51 +3084,51 @@ const Nt = /* @__PURE__ */ g({
3059
3084
  };
3060
3085
  });
3061
3086
  return E(() => {
3062
- r.value && (d.value.itemsRoot = r.value);
3063
- }), (b, y) => (l(), i("div", {
3087
+ l.value && (d.value.itemsRoot = l.value);
3088
+ }), (b, y) => (a(), r("div", {
3064
3089
  onPointerdown: y[8] || (y[8] = (N) => s(d).onPointerDown(N)),
3065
3090
  class: _(s(d).getRootCss()),
3066
3091
  "data-sv-drop-target-item-value": s(d).isDraggable ? n.value.value : null,
3067
3092
  ref_key: "root",
3068
- ref: r
3093
+ ref: l
3069
3094
  }, [
3070
- a("div", {
3095
+ i("div", {
3071
3096
  class: "svc-image-item-value-wrapper__ghost",
3072
- style: F(m.value)
3097
+ style: z(m.value)
3073
3098
  }, null, 4),
3074
- a("div", ql, [
3075
- a("input", {
3099
+ i("div", qa, [
3100
+ i("input", {
3076
3101
  type: "file",
3077
3102
  "aria-hidden": "true",
3078
3103
  tabindex: "-1",
3079
3104
  accept: s(d).acceptedTypes,
3080
3105
  class: "svc-choose-file-input"
3081
- }, null, 8, kl),
3082
- !s(d).isNew && !s(d).isUploading ? (l(), i(w, { key: 0 }, [
3083
- s(d).isNew ? p("", !0) : (l(), i("div", $l, [
3084
- v(s(c), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
3106
+ }, null, 8, Ca),
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"])
3085
3110
  ])),
3086
- s(d).isDraggable && s(d).canRenderControls ? (l(), i("span", {
3111
+ s(d).isDraggable && s(d).canRenderControls ? (a(), r("span", {
3087
3112
  key: 1,
3088
3113
  class: "svc-context-button svc-image-item-value-controls__drag-area-indicator",
3089
3114
  onPointerdown: y[0] || (y[0] = (N) => s(d).onPointerDown(N)),
3090
3115
  title: void 0,
3091
3116
  "aria-label": void 0
3092
3117
  }, [
3093
- v(s(c), {
3118
+ v(s(u), {
3094
3119
  is: "sv-svg-icon",
3095
3120
  iconName: "icon-drag-24x24",
3096
3121
  size: "auto"
3097
3122
  })
3098
3123
  ], 32)) : p("", !0),
3099
- s(d).canRenderControls ? (l(), i("div", wl, [
3100
- h((l(), i("span", {
3124
+ s(d).canRenderControls ? (a(), r("div", $a, [
3125
+ C((a(), r("span", {
3101
3126
  class: "svc-context-button",
3102
3127
  onClick: y[1] || (y[1] = (N) => s(d).chooseFile(s(d))),
3103
3128
  title: void 0,
3104
3129
  "aria-label": void 0
3105
3130
  }, [
3106
- v(s(c), {
3131
+ v(s(u), {
3107
3132
  is: "sv-svg-icon",
3108
3133
  role: "button",
3109
3134
  iconName: "icon-choosefile",
@@ -3113,13 +3138,13 @@ const Nt = /* @__PURE__ */ g({
3113
3138
  ])), [
3114
3139
  [s(D)]
3115
3140
  ]),
3116
- h((l(), i("span", {
3141
+ C((a(), r("span", {
3117
3142
  class: "svc-context-button svc-context-button--danger",
3118
3143
  onClick: y[2] || (y[2] = (N) => s(d).remove(s(d))),
3119
3144
  title: void 0,
3120
3145
  "aria-label": void 0
3121
3146
  }, [
3122
- v(s(c), {
3147
+ v(s(u), {
3123
3148
  is: "sv-svg-icon",
3124
3149
  role: "button",
3125
3150
  iconName: "icon-delete",
@@ -3131,38 +3156,38 @@ const Nt = /* @__PURE__ */ g({
3131
3156
  ])
3132
3157
  ])) : p("", !0)
3133
3158
  ], 64)) : p("", !0),
3134
- s(d).isNew || s(d).isUploading ? (l(), i(w, { key: 1 }, [
3135
- a("div", {
3159
+ s(d).isNew || s(d).isUploading ? (a(), r(f, { key: 1 }, [
3160
+ i("div", {
3136
3161
  class: "svc-image-item-value__item",
3137
3162
  onDragover: y[3] || (y[3] = (N) => s(d).onDragOver(N)),
3138
3163
  onDragleave: y[4] || (y[4] = (N) => s(d).onDragLeave(N)),
3139
3164
  onDrop: y[5] || (y[5] = (N) => s(d).onDrop(N))
3140
3165
  }, [
3141
- a("div", fl, [
3142
- a("label", Tl, [
3143
- a("div", {
3144
- style: F(m.value),
3166
+ i("div", fa, [
3167
+ i("label", wa, [
3168
+ i("div", {
3169
+ style: z(m.value),
3145
3170
  class: "sd-imagepicker__image"
3146
3171
  }, [
3147
- s(d).isUploading ? (l(), i("div", Dl, [
3148
- v(s(c), { is: "sv-loading-indicator" })
3172
+ s(d).isUploading ? (a(), r("div", Ta, [
3173
+ v(s(u), { is: "sv-loading-indicator" })
3149
3174
  ])) : p("", !0)
3150
3175
  ], 4)
3151
3176
  ])
3152
3177
  ])
3153
3178
  ], 32),
3154
- a("div", {
3179
+ i("div", {
3155
3180
  class: "svc-image-item-value-controls",
3156
3181
  onPointerdown: y[7] || (y[7] = (N) => N.stopPropagation())
3157
3182
  }, [
3158
- s(d).allowAdd && !s(d).isUploading ? h((l(), i("span", {
3183
+ s(d).allowAdd && !s(d).isUploading ? C((a(), r("span", {
3159
3184
  key: 0,
3160
3185
  class: "svc-context-button svc-image-item-value-controls__add",
3161
3186
  onClick: y[6] || (y[6] = (N) => s(d).chooseNewFile(s(d))),
3162
3187
  title: void 0,
3163
3188
  "aria-label": void 0
3164
3189
  }, [
3165
- v(s(c), {
3190
+ v(s(u), {
3166
3191
  is: "sv-svg-icon",
3167
3192
  iconName: "icon-add-lg",
3168
3193
  size: "auto",
@@ -3174,30 +3199,30 @@ const Nt = /* @__PURE__ */ g({
3174
3199
  ], 32)
3175
3200
  ], 64)) : p("", !0)
3176
3201
  ])
3177
- ], 42, Cl));
3202
+ ], 42, ha));
3178
3203
  }
3179
- }), Ml = /* @__PURE__ */ g({
3204
+ }), Na = /* @__PURE__ */ g({
3180
3205
  __name: "QuestionEditor",
3181
3206
  props: {
3182
3207
  survey: {},
3183
3208
  style: {}
3184
3209
  },
3185
- setup(u) {
3186
- const t = u, e = k(() => {
3187
- var r;
3188
- 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];
3189
3214
  }), o = k(() => {
3190
- const r = t.survey;
3191
- if (r && e.value) {
3192
- const d = r.getElementWrapperComponentName(e.value);
3215
+ const l = t.survey;
3216
+ if (l && e.value) {
3217
+ const d = l.getElementWrapperComponentName(e.value);
3193
3218
  if (d)
3194
3219
  return d;
3195
3220
  }
3196
3221
  return "survey-question";
3197
3222
  }), n = k(() => {
3198
- const r = t.survey;
3223
+ const l = t.survey;
3199
3224
  let d;
3200
- return r && e.value && (d = r.getElementWrapperComponentData(e.value)), {
3225
+ return l && e.value && (d = l.getElementWrapperComponentData(e.value)), {
3201
3226
  componentName: "survey-question",
3202
3227
  componentData: {
3203
3228
  element: e.value,
@@ -3205,29 +3230,29 @@ const Nt = /* @__PURE__ */ g({
3205
3230
  }
3206
3231
  };
3207
3232
  });
3208
- return (r, d) => (l(), i("div", {
3209
- style: F(t.style)
3233
+ return (l, d) => (a(), r("div", {
3234
+ style: z(t.style)
3210
3235
  }, [
3211
- 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"])
3212
3237
  ], 4));
3213
3238
  }
3214
- }), Sl = ["accept"], Il = /* @__PURE__ */ a("svg", null, [
3215
- /* @__PURE__ */ a("use", { "xlink:href": "#icon-image-48x48" })
3216
- ], -1), Bl = [
3217
- Il
3218
- ], El = { class: "svc-context-container svc-logo-image-controls" }, Pl = {
3239
+ }), Ma = ["accept"], Sa = /* @__PURE__ */ i("svg", null, [
3240
+ /* @__PURE__ */ i("use", { "xlink:href": "#icon-image-48x48" })
3241
+ ], -1), Ba = [
3242
+ Sa
3243
+ ], Ia = { class: "svc-context-container svc-logo-image-controls" }, Ea = {
3219
3244
  key: 2,
3220
3245
  class: "svc-logo-image__loading"
3221
- }, Rl = /* @__PURE__ */ g({
3246
+ }, Pa = /* @__PURE__ */ g({
3222
3247
  __name: "Logo",
3223
3248
  props: {
3224
3249
  data: {}
3225
3250
  },
3226
- setup(u) {
3227
- const t = u, e = k(() => t.data), o = k(() => e.value.survey), n = B(), r = A(
3251
+ setup(c) {
3252
+ const t = c, e = k(() => t.data), o = k(() => e.value.survey), n = I(), l = A(
3228
3253
  () => new Pe(e.value, null),
3229
3254
  [() => e.value]
3230
- ), d = B(), m = () => {
3255
+ ), d = I(), m = () => {
3231
3256
  d.value = o.value.locLogo.renderedHtml;
3232
3257
  };
3233
3258
  return G(
@@ -3239,42 +3264,42 @@ const Nt = /* @__PURE__ */ g({
3239
3264
  immediate: !0
3240
3265
  }
3241
3266
  ), E(() => {
3242
- n.value && (r.value.root = n.value);
3243
- }), K(() => {
3244
- r.value && (r.value.root = void 0);
3245
- }), (b, y) => (l(), i("div", {
3267
+ n.value && (l.value.root = n.value);
3268
+ }), F(() => {
3269
+ l.value && (l.value.root = void 0);
3270
+ }), (b, y) => (a(), r("div", {
3246
3271
  class: "svc-logo-image",
3247
3272
  ref_key: "root",
3248
3273
  ref: n
3249
3274
  }, [
3250
- a("input", {
3275
+ i("input", {
3251
3276
  type: "file",
3252
3277
  "aria-hidden": "true",
3253
3278
  tabindex: "-1",
3254
- accept: s(r).acceptedTypes,
3279
+ accept: s(l).acceptedTypes,
3255
3280
  class: "svc-choose-file-input"
3256
- }, null, 8, Sl),
3257
- d.value ? p("", !0) : (l(), i(w, { key: 0 }, [
3258
- s(r).allowEdit && !s(r).isUploading ? h((l(), i("div", {
3281
+ }, null, 8, Ma),
3282
+ d.value ? p("", !0) : (a(), r(f, { key: 0 }, [
3283
+ s(l).allowEdit && !s(l).isUploading ? C((a(), r("div", {
3259
3284
  key: 0,
3260
3285
  class: "svc-logo-image-placeholder",
3261
- onClick: y[0] || (y[0] = (N) => s(r).chooseFile(s(r)))
3262
- }, Bl)), [
3286
+ onClick: y[0] || (y[0] = (N) => s(l).chooseFile(s(l)))
3287
+ }, Ba)), [
3263
3288
  [s(D)]
3264
3289
  ]) : p("", !0)
3265
3290
  ], 64)),
3266
- d.value && !s(r).isUploading ? (l(), i("div", {
3291
+ d.value && !s(l).isUploading ? (a(), r("div", {
3267
3292
  key: 1,
3268
- class: _(s(r).containerCss)
3293
+ class: _(s(l).containerCss)
3269
3294
  }, [
3270
- a("div", El, [
3271
- h((l(), i("span", {
3295
+ i("div", Ia, [
3296
+ C((a(), r("span", {
3272
3297
  class: "svc-context-button",
3273
- onClick: y[1] || (y[1] = (N) => s(r).chooseFile(s(r))),
3298
+ onClick: y[1] || (y[1] = (N) => s(l).chooseFile(s(l))),
3274
3299
  title: void 0,
3275
3300
  "aria-label": void 0
3276
3301
  }, [
3277
- v(s(c), {
3302
+ v(s(u), {
3278
3303
  is: "sv-svg-icon",
3279
3304
  iconName: "icon-choosefile",
3280
3305
  size: "auto"
@@ -3282,13 +3307,13 @@ const Nt = /* @__PURE__ */ g({
3282
3307
  ])), [
3283
3308
  [s(D)]
3284
3309
  ]),
3285
- h((l(), i("span", {
3310
+ C((a(), r("span", {
3286
3311
  class: "svc-context-button svc-context-button--danger",
3287
- onClick: y[2] || (y[2] = (N) => s(r).remove(s(r))),
3312
+ onClick: y[2] || (y[2] = (N) => s(l).remove(s(l))),
3288
3313
  title: void 0,
3289
3314
  "aria-label": void 0
3290
3315
  }, [
3291
- v(s(c), {
3316
+ v(s(u), {
3292
3317
  is: "sv-svg-icon",
3293
3318
  iconName: "icon-clear",
3294
3319
  size: "auto"
@@ -3297,27 +3322,27 @@ const Nt = /* @__PURE__ */ g({
3297
3322
  [s(D)]
3298
3323
  ])
3299
3324
  ]),
3300
- v(s(c), {
3325
+ v(s(u), {
3301
3326
  is: "sv-logo-image",
3302
3327
  data: o.value
3303
3328
  }, null, 8, ["data"])
3304
3329
  ], 2)) : p("", !0),
3305
- s(r).isUploading ? (l(), i("div", Pl, [
3306
- v(s(c), { is: "sv-loading-indicator" })
3330
+ s(l).isUploading ? (a(), r("div", Ea, [
3331
+ v(s(u), { is: "sv-loading-indicator" })
3307
3332
  ])) : p("", !0)
3308
3333
  ], 512));
3309
3334
  }
3310
- }), Vl = {
3335
+ }), Ra = {
3311
3336
  key: 0,
3312
3337
  class: "svc-search"
3313
- }, Al = { class: "svc-search__search-icon" }, zl = ["aria-label", "placeholder"], Ll = { class: "svc-search__toolbar" }, Fl = { class: "svc-search__toolbar-counter" }, Kl = /* @__PURE__ */ g({
3338
+ }, Va = { class: "svc-search__search-icon" }, Aa = ["aria-label", "placeholder"], La = { class: "svc-search__toolbar" }, za = { class: "svc-search__toolbar-counter" }, Fa = /* @__PURE__ */ g({
3314
3339
  __name: "Search",
3315
3340
  props: {
3316
3341
  model: {}
3317
3342
  },
3318
- setup(u) {
3319
- const t = u;
3320
- f(() => t.model);
3343
+ setup(c) {
3344
+ const t = c;
3345
+ w(() => t.model);
3321
3346
  const e = k({
3322
3347
  get: () => t.model.filterString,
3323
3348
  set: (o) => {
@@ -3325,134 +3350,133 @@ const Nt = /* @__PURE__ */ g({
3325
3350
  n.filterString = o;
3326
3351
  }
3327
3352
  });
3328
- return (o, n) => o.model.isVisible ? (l(), i("div", Vl, [
3329
- a("div", Al, [
3330
- v(s(c), {
3353
+ return (o, n) => o.model.isVisible ? (a(), r("div", Ra, [
3354
+ i("div", Va, [
3355
+ v(s(u), {
3331
3356
  is: "sv-svg-icon",
3332
3357
  iconName: "icon-search",
3333
3358
  size: "auto"
3334
3359
  })
3335
3360
  ]),
3336
- h(a("input", {
3361
+ C(i("input", {
3337
3362
  type: "text",
3338
3363
  class: "svc-search__input",
3339
- "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r),
3364
+ "onUpdate:modelValue": n[0] || (n[0] = (l) => e.value = l),
3340
3365
  "aria-label": o.model.filterStringPlaceholder,
3341
3366
  placeholder: o.model.filterStringPlaceholder
3342
- }, null, 8, zl), [
3367
+ }, null, 8, Aa), [
3343
3368
  [de, e.value]
3344
3369
  ]),
3345
- a("div", Ll, [
3346
- a("div", Fl, $(o.model.matchCounterText), 1),
3347
- v(s(c), {
3370
+ i("div", La, [
3371
+ i("div", za, $(o.model.matchCounterText), 1),
3372
+ v(s(u), {
3348
3373
  is: "sv-action-bar",
3349
3374
  model: o.model.searchActionBar
3350
3375
  }, null, 8, ["model"])
3351
3376
  ])
3352
3377
  ])) : p("", !0);
3353
3378
  }
3354
- }), Ul = ["title"], Hl = /* @__PURE__ */ g({
3379
+ }), Ka = ["title"], Ua = /* @__PURE__ */ g({
3355
3380
  __name: "PageNavigator",
3356
3381
  props: {
3357
3382
  pagesController: {},
3358
3383
  pageEditMode: {}
3359
3384
  },
3360
- setup(u) {
3361
- const t = u, e = A(
3385
+ setup(c) {
3386
+ const t = c, e = A(
3362
3387
  () => new Re(t.pagesController, t.pageEditMode),
3363
3388
  [() => t.pagesController, () => t.pageEditMode]
3364
- ), o = B();
3389
+ ), o = I();
3365
3390
  return E(() => {
3366
3391
  if (t.pageEditMode !== "bypage") {
3367
- const n = o.value;
3368
- e.value.attachToUI(n);
3392
+ const n = o.value, l = e.value;
3393
+ n && l.attachToUI(n);
3369
3394
  }
3370
3395
  }), X(() => {
3371
- o.value;
3372
3396
  const n = e.value;
3373
3397
  n.stopItemsContainerHeightObserver(), n.setScrollableContainer(void 0);
3374
- }), K(() => {
3398
+ }), F(() => {
3375
3399
  e.value.dispose();
3376
- }), (n, r) => h((l(), i("div", {
3400
+ }), (n, l) => C((a(), r("div", {
3377
3401
  class: "svc-page-navigator",
3378
3402
  ref_key: "root",
3379
3403
  ref: o
3380
3404
  }, [
3381
- h((l(), i("div", {
3405
+ C((a(), r("div", {
3382
3406
  role: "button",
3383
3407
  class: _(["svc-page-navigator__selector svc-page-navigator__button", { "svc-page-navigator__button--pressed": s(e).isPopupOpened }]),
3384
- onClick: r[0] || (r[0] = (d) => s(e).togglePageSelector(d)),
3408
+ onClick: l[0] || (l[0] = (d) => s(e).togglePageSelector(d)),
3385
3409
  title: s(e).pageSelectorCaption
3386
3410
  }, [
3387
- v(s(c), {
3411
+ v(s(u), {
3388
3412
  is: "sv-svg-icon",
3389
3413
  class: "svc-page-navigator__button-icon",
3390
3414
  iconName: s(e).icon,
3391
3415
  size: "auto"
3392
3416
  }, null, 8, ["iconName"]),
3393
- v(s(c), {
3417
+ v(s(u), {
3394
3418
  is: "sv-popup",
3395
3419
  model: s(e).popupModel
3396
3420
  }, null, 8, ["model"])
3397
- ], 10, Ul)), [
3421
+ ], 10, Ka)), [
3398
3422
  [s(D)]
3399
3423
  ]),
3400
- a("div", null, [
3401
- (l(!0), i(w, null, R(s(e).visibleItems, (d) => (l(), C(s(c), {
3424
+ i("div", null, [
3425
+ (a(!0), r(f, null, R(s(e).visibleItems, (d) => (a(), h(s(u), {
3402
3426
  is: "svc-page-navigator-item",
3403
3427
  key: d.id,
3404
3428
  model: d
3405
3429
  }, null, 8, ["model"]))), 128))
3406
3430
  ])
3407
3431
  ], 512)), [
3408
- [L, s(e).visible]
3432
+ [K, s(e).visible]
3409
3433
  ]);
3410
3434
  }
3411
- }), Ol = { class: "svc-page-navigator-item" }, Ql = ["title"], Gl = /* @__PURE__ */ a("div", { class: "svc-page-navigator-item__dot-content" }, null, -1), Wl = [
3412
- Gl
3413
- ], jl = { class: "svc-page-navigator-item__banner" }, Jl = { class: "svc-page-navigator-item__text" }, Zl = /* @__PURE__ */ a("span", { class: "svc-page-navigator-item__dot" }, [
3414
- /* @__PURE__ */ a("span", { class: "svc-page-navigator-item__dot-content" })
3415
- ], -1), Xl = /* @__PURE__ */ g({
3435
+ }), Ha = { class: "svc-page-navigator-item" }, Oa = ["title"], Qa = /* @__PURE__ */ i("div", { class: "svc-page-navigator-item__dot-content" }, null, -1), Ga = [
3436
+ Qa
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" })
3439
+ ], -1), Za = /* @__PURE__ */ g({
3416
3440
  __name: "PageNavigatorItem",
3417
3441
  props: {
3418
3442
  model: {}
3419
3443
  },
3420
- setup(u) {
3421
- const t = u;
3422
- f(() => t.model);
3444
+ setup(c) {
3445
+ const t = c;
3446
+ w(() => t.model);
3423
3447
  const e = (o) => {
3424
3448
  t.model.action(), o.stopPropagation(), o.preventDefault();
3425
3449
  };
3426
- return (o, n) => (l(), i("div", Ol, [
3427
- h((l(), i("div", {
3450
+ return (o, n) => (a(), r("div", Ha, [
3451
+ C((a(), r("div", {
3428
3452
  role: "button",
3429
3453
  class: _(["svc-page-navigator-item-content", {
3430
3454
  "svc-page-navigator-item--selected": o.model.active,
3431
3455
  "svc-page-navigator-item--disabled": o.model.disabled
3432
3456
  }]),
3433
- onClick: n[0] || (n[0] = (r) => e(r))
3457
+ onClick: n[0] || (n[0] = (l) => e(l))
3434
3458
  }, [
3435
- a("div", {
3459
+ i("div", {
3436
3460
  class: "svc-page-navigator-item__dot",
3437
3461
  title: o.model.title
3438
- }, Wl, 8, Ql),
3439
- a("div", jl, [
3440
- a("span", Jl, $(o.model.title), 1),
3441
- Zl
3462
+ }, Ga, 8, Oa),
3463
+ i("div", Wa, [
3464
+ i("span", ja, $(o.model.title), 1),
3465
+ Ja
3442
3466
  ])
3443
3467
  ], 2)), [
3444
3468
  [s(D)]
3445
3469
  ])
3446
3470
  ]));
3447
3471
  }
3448
- }), Yl = { class: "svc-question__dropdown-choices--wrapper" }, xl = { class: "svc-question__dropdown-choices" }, ea = /* @__PURE__ */ g({
3472
+ }), Xa = { class: "svc-question__dropdown-choices--wrapper" }, Ya = { class: "svc-question__dropdown-choices" }, xa = /* @__PURE__ */ g({
3449
3473
  __name: "Dropdown",
3450
3474
  props: {
3451
3475
  model: {},
3452
3476
  element: {}
3453
3477
  },
3454
- setup(u) {
3455
- 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) => ({
3456
3480
  componentName: t.model.itemComponent,
3457
3481
  componentData: {
3458
3482
  question: t.element,
@@ -3460,19 +3484,19 @@ const Nt = /* @__PURE__ */ g({
3460
3484
  data: t.element.getItemValueWrapperComponentData(n)
3461
3485
  }
3462
3486
  });
3463
- return (n, r) => (l(), i("div", Yl, [
3464
- a("div", null, [
3465
- a("div", xl, [
3466
- (l(!0), i(w, null, R(n.model.getRenderedItems(), (d) => (l(), 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", {
3467
3491
  key: d.value,
3468
3492
  class: _(n.model.getChoiceCss())
3469
3493
  }, [
3470
- v(s(c), V({
3494
+ v(s(u), V({
3471
3495
  is: e(d)
3472
3496
  }, o(d)), null, 16, ["is"])
3473
3497
  ], 2))), 128))
3474
3498
  ]),
3475
- n.model.needToCollapse ? (l(), C(s(c), {
3499
+ n.model.needToCollapse ? (a(), h(s(u), {
3476
3500
  key: 0,
3477
3501
  is: "svc-action-button",
3478
3502
  text: n.model.getButtonText(),
@@ -3482,19 +3506,19 @@ const Nt = /* @__PURE__ */ g({
3482
3506
  ])
3483
3507
  ]));
3484
3508
  }
3485
- }), oa = /* @__PURE__ */ g({
3509
+ }), el = /* @__PURE__ */ g({
3486
3510
  __name: "QuestionDropdown",
3487
3511
  props: {
3488
3512
  componentName: {},
3489
3513
  componentData: {}
3490
3514
  },
3491
- setup(u) {
3492
- const t = u, e = () => new Ve(
3515
+ setup(c) {
3516
+ const t = c, e = () => new Ve(
3493
3517
  t.componentData.data,
3494
3518
  t.componentData.element,
3495
3519
  null
3496
3520
  );
3497
- return (o, n) => (l(), C(oe, {
3521
+ return (o, n) => (a(), h(oe, {
3498
3522
  "create-model": e,
3499
3523
  element: o.componentData.element,
3500
3524
  "component-name": o.componentName,
@@ -3502,32 +3526,32 @@ const Nt = /* @__PURE__ */ g({
3502
3526
  "adorner-component": "svc-dropdown-question-adorner"
3503
3527
  }, null, 8, ["element", "component-name", "component-data"]));
3504
3528
  }
3505
- }), sa = { class: "svc-question__adorner" }, ta = { class: "svc-question__content svc-question__content--in-popup" }, na = { class: "svc-question__dropdown-choices" }, ae = "survey-radiogroup-item", la = /* @__PURE__ */ g({
3529
+ }), ol = { class: "svc-question__adorner" }, sl = { class: "svc-question__content svc-question__content--in-popup" }, tl = { class: "svc-question__dropdown-choices" }, le = "survey-radiogroup-item", nl = /* @__PURE__ */ g({
3506
3530
  __name: "CellQuestionDropdown",
3507
3531
  props: {
3508
3532
  componentName: {},
3509
3533
  componentData: {}
3510
3534
  },
3511
- setup(u) {
3512
- const t = u, e = k(
3535
+ setup(c) {
3536
+ const t = c, e = k(
3513
3537
  () => t.componentData.element
3514
- ), o = (r) => e.value.getItemValueWrapperComponentName(r) || ae, n = (r) => ({
3515
- componentName: ae,
3538
+ ), o = (l) => e.value.getItemValueWrapperComponentName(l) || le, n = (l) => ({
3539
+ componentName: le,
3516
3540
  componentData: {
3517
3541
  question: e.value,
3518
- item: r,
3519
- data: e.value.getItemValueWrapperComponentData(r)
3542
+ item: l,
3543
+ data: e.value.getItemValueWrapperComponentData(l)
3520
3544
  }
3521
3545
  });
3522
- return f(() => e.value), (r, d) => (l(), i("div", sa, [
3523
- a("div", ta, [
3524
- v(s(c), V({ is: r.componentName }, r.componentData), null, 16, ["is"]),
3525
- a("div", na, [
3526
- (l(!0), i(w, null, R(e.value.visibleChoices, (m) => (l(), 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", {
3527
3551
  key: m.value,
3528
3552
  class: "svc-question__dropdown-choice"
3529
3553
  }, [
3530
- v(s(c), V({
3554
+ v(s(u), V({
3531
3555
  is: o(m)
3532
3556
  }, n(m)), null, 16, ["is"])
3533
3557
  ]))), 128))
@@ -3535,25 +3559,25 @@ const Nt = /* @__PURE__ */ g({
3535
3559
  ])
3536
3560
  ]));
3537
3561
  }
3538
- }), aa = ["data-sv-drop-target-survey-element"], ia = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), ra = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), da = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), ca = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), ua = { class: "svc-widget__content" }, pa = {
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 = {
3539
3563
  key: 1,
3540
3564
  class: "svc-panel__placeholder_frame"
3541
- }, va = /* @__PURE__ */ a("div", {
3565
+ }, pl = /* @__PURE__ */ i("div", {
3542
3566
  class: "svc-panel__placeholder",
3543
3567
  "data-bind": "text: placeholderText"
3544
- }, null, -1), ma = [
3545
- va
3546
- ], _a = { class: "svc-question__content-actions" }, ga = {
3568
+ }, null, -1), vl = [
3569
+ pl
3570
+ ], ml = { class: "svc-question__content-actions" }, _l = {
3547
3571
  key: 0,
3548
3572
  class: "svc-panel__placeholder_frame"
3549
- }, ba = { class: "svc-panel__placeholder" }, ya = /* @__PURE__ */ g({
3573
+ }, gl = { class: "svc-panel__placeholder" }, bl = /* @__PURE__ */ g({
3550
3574
  __name: "CustomWidget",
3551
3575
  props: {
3552
3576
  componentName: {},
3553
3577
  componentData: {}
3554
3578
  },
3555
- setup(u) {
3556
- const t = u, e = B(), o = A(
3579
+ setup(c) {
3580
+ const t = c, e = I(), o = A(
3557
3581
  () => new ee(
3558
3582
  t.componentData.data,
3559
3583
  t.componentData.element,
@@ -3568,43 +3592,43 @@ const Nt = /* @__PURE__ */ g({
3568
3592
  e.value && o.value && (o.value.rootElement = e.value);
3569
3593
  }), E(() => {
3570
3594
  e.value && o.value && (o.value.rootElement = e.value);
3571
- }), (n, r) => s(o) ? (l(), i("div", {
3595
+ }), (n, l) => s(o) ? (a(), r("div", {
3572
3596
  key: 0,
3573
3597
  class: _(["svc-question__adorner", s(o).rootCss()]),
3574
- onMouseover: r[2] || (r[2] = (d) => s(o).hover(d, d.currentTarget)),
3575
- 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)),
3576
3600
  "data-sv-drop-target-survey-element": s(o).element.name || null,
3577
3601
  ref_key: "root",
3578
3602
  ref: e
3579
3603
  }, [
3580
- s(o).element.isInteractiveDesignElement ? h((l(), i("div", {
3604
+ s(o).element.isInteractiveDesignElement ? C((a(), r("div", {
3581
3605
  key: 0,
3582
3606
  class: _(["svc-question__content", s(o).css()]),
3583
- 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)),
3584
3608
  "data-bind": "clickBubble: false"
3585
3609
  }, [
3586
- ia,
3587
- ra,
3588
- da,
3589
- ca,
3590
- s(o).allowDragging ? (l(), i("div", {
3610
+ ll,
3611
+ il,
3612
+ rl,
3613
+ dl,
3614
+ s(o).allowDragging ? (a(), r("div", {
3591
3615
  key: 0,
3592
3616
  class: "svc-question__drag-area",
3593
- onPointerdown: r[0] || (r[0] = (d) => s(o).onPointerDown(d))
3617
+ onPointerdown: l[0] || (l[0] = (d) => s(o).onPointerDown(d))
3594
3618
  }, [
3595
- v(s(c), {
3619
+ v(s(u), {
3596
3620
  is: "sv-svg-icon",
3597
3621
  class: "svc-question__drag-element",
3598
3622
  iconName: "icon-drag-area-indicator_24x16",
3599
3623
  size: "auto"
3600
3624
  })
3601
3625
  ], 32)) : p("", !0),
3602
- a("div", ua, [
3603
- 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"])
3604
3628
  ]),
3605
- s(o).isEmptyElement ? (l(), i("div", pa, ma)) : p("", !0),
3606
- a("div", _a, [
3607
- v(s(c), {
3629
+ s(o).isEmptyElement ? (a(), r("div", ul, vl)) : p("", !0),
3630
+ i("div", ml, [
3631
+ v(s(u), {
3608
3632
  is: "sv-action-bar",
3609
3633
  model: s(o).actionContainer,
3610
3634
  handleClick: !1
@@ -3613,25 +3637,25 @@ const Nt = /* @__PURE__ */ g({
3613
3637
  ], 2)), [
3614
3638
  [s(D)]
3615
3639
  ]) : p("", !0),
3616
- s(o).element.isInteractiveDesignElement ? p("", !0) : (l(), i(w, { key: 1 }, [
3617
- v(s(c), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
3618
- s(o).isEmptyElement ? (l(), i("div", ga, [
3619
- a("div", ba, $(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)
3620
3644
  ])) : p("", !0)
3621
3645
  ], 64))
3622
- ], 42, aa)) : p("", !0);
3646
+ ], 42, al)) : p("", !0);
3623
3647
  }
3624
- }), ha = { class: "svc-carry-forward-panel-wrapper" }, Ca = { class: "svc-carry-forward-panel" }, qa = { class: "svc-carry-forward-panel__link" }, ka = /* @__PURE__ */ g({
3648
+ }), yl = { class: "svc-carry-forward-panel-wrapper" }, hl = { class: "svc-carry-forward-panel" }, ql = { class: "svc-carry-forward-panel__link" }, Cl = /* @__PURE__ */ g({
3625
3649
  __name: "QuestionBanner",
3626
3650
  props: {
3627
3651
  model: {}
3628
3652
  },
3629
- setup(u) {
3630
- return (t, e) => (l(), i("div", ha, [
3631
- a("div", Ca, [
3632
- a("span", null, $(t.model.text) + $(" "), 1),
3633
- a("span", qa, [
3634
- 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), {
3635
3659
  is: "svc-action-button",
3636
3660
  text: t.model.actionText,
3637
3661
  click: t.model.onClick.bind(t.model)
@@ -3641,27 +3665,27 @@ const Nt = /* @__PURE__ */ g({
3641
3665
  ]));
3642
3666
  }
3643
3667
  });
3644
- function $a(u, t, e) {
3645
- u(t, e);
3668
+ function kl(c, t, e) {
3669
+ c(t, e);
3646
3670
  }
3647
- function pe(u) {
3648
- const t = $a.bind(
3671
+ function pe(c) {
3672
+ const t = kl.bind(
3649
3673
  void 0,
3650
- u
3674
+ c
3651
3675
  );
3652
- 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", Kl), 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", Ct), 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", zs), t("svc-tab-json-editor-textarea", Ps), t("svc-tab-json-editor-ace", Ms), t("svc-tab-translation", Ys), t("sd-translation-line-skeleton", tt), t("svc-translate-from-action", nt), t("svc-tab-logic", Us), t("svc-tab-theme", it), t("svc-toolbox", Kt), t("svc-toolbox-list", en), t("svc-toolbox-category", xt), t("svc-toolbox-tool", Ht), t("svc-toolbox-item", Wt), t("svc-toolbox-item-group", jt), t(Ae, Vt), t("svc-tab-designer", vn), t("svc-page-navigator", Hl), t("svc-page-navigator-item", Xl), t("svc-page", kn), t("svc-row", Mn), t("svc-add-new-question-btn", wn), t("svc-add-question-type-selector", Tn), t("svc-question", le), t("svc-rating-question", le), t("svc-rating-question-content", jn), t("svc-image-question", Fn), t("svc-image-question-adorner", Gn), t("svc-matrix-cell", Zn), t("svc-cell-question", xn), t("svc-cell-dropdown-question", la), t("svc-question-editor-content", Ml), t("svc-logo-image", Rl), t("svc-panel", ml), t("svc-item-value", hl), t("svc-image-item-value", Nl), t("svc-dropdown-question", oa), t("svc-dropdown-question-adorner", ea), t("svc-widget-question", ya), t("svc-question-banner", ka);
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);
3653
3677
  }
3654
3678
  pe(
3655
- (u, t) => ie.Instance.registerComponent(u, t)
3679
+ (c, t) => ie.Instance.registerComponent(c, t)
3656
3680
  );
3657
- const Na = {
3658
- install(u) {
3659
- u.component("SurveyCreatorComponent", je), pe((t, e) => {
3660
- u.component(t, e), ie.Instance.registerComponent(t, t);
3681
+ const Dl = {
3682
+ install(c) {
3683
+ c.component("SurveyCreatorComponent", je), pe((t, e) => {
3684
+ c.component(t, e), ie.Instance.registerComponent(t, t);
3661
3685
  });
3662
3686
  }
3663
3687
  };
3664
3688
  export {
3665
3689
  je as SurveyCreatorComponent,
3666
- Na as surveyCreatorPlugin
3690
+ Dl as surveyCreatorPlugin
3667
3691
  };