survey-creator-vue 2.5.21 → 2.5.23

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