survey-creator-vue 2.0.0-rc.1 → 2.0.0-rc.3

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