survey-creator-vue 2.0.2 → 2.0.4

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