survey-creator-vue 2.5.1 → 2.5.2
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.
- package/package.json +8 -8
- package/survey-creator-vue.es.js +457 -442
- package/survey-creator-vue.umd.js +2 -2
- package/types/components/ComponentContainer.vue.d.ts +15 -0
- package/ui-preset-editor/index.umd.js +1 -0
- package/survey-creator-vue-presets.umd.js +0 -1
- /package/{survey-creator-vue-presets.es.js → ui-preset-editor/index.es.js} +0 -0
package/survey-creator-vue.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useBase as
|
|
2
|
-
import { defineComponent as g, computed as k, toRaw as _e, ref as P, onMounted as R, onUnmounted as K, openBlock as a, createElementBlock as i, Fragment as
|
|
3
|
-
import { editorLocalization as ce, SurveyResultsModel as ye, initLogicOperator as he, StringEditorViewModelBase as Ce, ToolboxToolViewModel as qe, PageAdorner as $e, RowViewModel as ke, QuestionAdornerViewModel as ee, QuestionImageAdornerViewModel as fe, QuestionRatingAdornerViewModel as we, MatrixCellWrapperViewModel as
|
|
1
|
+
import { useBase as w, SvComponent as c, key2ClickDirective as M, SurveyComponent as O, useQuestion as Q, ComponentFactory as ie } from "survey-vue3-ui";
|
|
2
|
+
import { defineComponent as g, computed as k, toRaw as _e, ref as P, onMounted as R, onUnmounted as K, openBlock as a, createElementBlock as i, Fragment as f, createVNode as v, unref as s, createElementVNode as d, normalizeClass as m, normalizeStyle as F, createCommentVNode as p, renderList as V, createBlock as b, onUpdated as W, nextTick as re, withDirectives as h, toDisplayString as D, vShow as H, withCtx as X, createTextVNode as ge, shallowRef as be, watch as G, onBeforeUnmount as Y, vModelText as de, mergeProps as A, renderSlot as x } from "vue";
|
|
3
|
+
import { editorLocalization as ce, SurveyResultsModel as ye, initLogicOperator as he, StringEditorViewModelBase as Ce, ToolboxToolViewModel as qe, PageAdorner as $e, RowViewModel as ke, QuestionAdornerViewModel as ee, QuestionImageAdornerViewModel as fe, QuestionRatingAdornerViewModel as we, MatrixCellWrapperViewModel as De, ItemValueWrapperViewModel as Te, ImageItemValueWrapperViewModel as Ne, LogoImageViewModel as Me, PageNavigatorViewModel as Se, QuestionDropdownAdornerViewModel as Be, editableStringRendererName as Ie } from "survey-creator-core";
|
|
4
4
|
import { CssClassBuilder as Ee, RendererFactory as ue, DropdownListModel as Pe } from "survey-core";
|
|
5
5
|
const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Ve = { class: "svc-top-bar" }, Ae = {
|
|
6
6
|
key: 0,
|
|
@@ -18,7 +18,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
18
18
|
},
|
|
19
19
|
setup(u) {
|
|
20
20
|
const t = u, e = k(() => _e(t.model)), o = P();
|
|
21
|
-
return
|
|
21
|
+
return w(
|
|
22
22
|
() => e.value,
|
|
23
23
|
(n, r) => {
|
|
24
24
|
r && r.unsubscribeRootElement(), n && o.value && n.setRootElement(o.value);
|
|
@@ -27,7 +27,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
27
27
|
o.value && t.model.setRootElement(o.value);
|
|
28
28
|
}), K(() => {
|
|
29
29
|
t.model.unsubscribeRootElement();
|
|
30
|
-
}), (n, r) => e.value.isCreatorDisposed ? p("", !0) : (a(), i(
|
|
30
|
+
}), (n, r) => e.value.isCreatorDisposed ? p("", !0) : (a(), i(f, { key: 0 }, [
|
|
31
31
|
v(s(c), { is: "survey-popup-modal" }),
|
|
32
32
|
d("div", {
|
|
33
33
|
class: m(e.value.getRootCss()),
|
|
@@ -73,7 +73,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
73
73
|
}])
|
|
74
74
|
}, [
|
|
75
75
|
d("div", Le, [
|
|
76
|
-
(a(!0), i(
|
|
76
|
+
(a(!0), i(f, null, V(e.value.tabs, (l) => (a(), i(f, null, [
|
|
77
77
|
e.value.viewType == l.id && l.visible ? (a(), i("div", {
|
|
78
78
|
role: "tabpanel",
|
|
79
79
|
class: m(["svc-creator-tab", {
|
|
@@ -123,14 +123,14 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
123
123
|
], 6)
|
|
124
124
|
], 64));
|
|
125
125
|
}
|
|
126
|
-
}),
|
|
126
|
+
}), We = /* @__PURE__ */ g({
|
|
127
127
|
__name: "TabbedMenu",
|
|
128
128
|
props: {
|
|
129
129
|
model: {}
|
|
130
130
|
},
|
|
131
131
|
setup(u) {
|
|
132
132
|
const t = u, e = P();
|
|
133
|
-
return
|
|
133
|
+
return w(() => t.model), W(() => {
|
|
134
134
|
t.model.initResponsivityManager(e.value);
|
|
135
135
|
}), R(() => {
|
|
136
136
|
t.model.initResponsivityManager(e.value);
|
|
@@ -143,21 +143,21 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
143
143
|
role: "tablist",
|
|
144
144
|
style: F(o.model.getRootStyle())
|
|
145
145
|
}, [
|
|
146
|
-
(a(!0), i(
|
|
146
|
+
(a(!0), i(f, null, V(o.model.renderedActions, (r) => (a(), b(s(c), {
|
|
147
147
|
key: r.renderedId,
|
|
148
148
|
is: "svc-tabbed-menu-item-wrapper",
|
|
149
149
|
item: r
|
|
150
150
|
}, null, 8, ["item"]))), 128))
|
|
151
151
|
], 4));
|
|
152
152
|
}
|
|
153
|
-
}),
|
|
153
|
+
}), Ge = { class: "sv-action__content" }, je = /* @__PURE__ */ g({
|
|
154
154
|
__name: "TabbedMenuItemWrapper",
|
|
155
155
|
props: {
|
|
156
156
|
item: {}
|
|
157
157
|
},
|
|
158
158
|
setup(u) {
|
|
159
159
|
const t = P(), e = u;
|
|
160
|
-
return
|
|
160
|
+
return w(() => e.item), R(() => {
|
|
161
161
|
const o = e.item;
|
|
162
162
|
o.updateModeCallback = (n, r) => {
|
|
163
163
|
o.mode = n, re(() => r(n, t.value));
|
|
@@ -170,7 +170,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
170
170
|
ref_key: "root",
|
|
171
171
|
ref: t
|
|
172
172
|
}, [
|
|
173
|
-
d("div",
|
|
173
|
+
d("div", Ge, [
|
|
174
174
|
v(s(c), {
|
|
175
175
|
is: o.item.component || "svc-tabbed-menu-item",
|
|
176
176
|
item: o.item
|
|
@@ -185,7 +185,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
185
185
|
},
|
|
186
186
|
setup(u) {
|
|
187
187
|
const t = u;
|
|
188
|
-
return
|
|
188
|
+
return w(() => t.item), (e, o) => h((a(), i("div", {
|
|
189
189
|
role: "tab",
|
|
190
190
|
id: "tab-" + e.item.id,
|
|
191
191
|
"aria-selected": e.item.active,
|
|
@@ -197,7 +197,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
197
197
|
e.item.hasTitle ? (a(), i("span", {
|
|
198
198
|
key: 0,
|
|
199
199
|
class: m(e.item.getTitleCss())
|
|
200
|
-
},
|
|
200
|
+
}, D(e.item.title), 3)) : p("", !0),
|
|
201
201
|
e.item.hasIcon ? (a(), b(s(c), {
|
|
202
202
|
key: 1,
|
|
203
203
|
is: "sv-svg-icon",
|
|
@@ -217,7 +217,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
217
217
|
},
|
|
218
218
|
setup(u) {
|
|
219
219
|
const t = u, e = P();
|
|
220
|
-
return
|
|
220
|
+
return w(() => t.model), R(() => {
|
|
221
221
|
t.model.initResizeManager(e.value);
|
|
222
222
|
}), K(() => {
|
|
223
223
|
t.model.resetResizeManager();
|
|
@@ -242,7 +242,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
242
242
|
model: o.model.header.componentModel
|
|
243
243
|
}, null, 8, ["is", "model"]),
|
|
244
244
|
d("div", xe, [
|
|
245
|
-
(a(!0), i(
|
|
245
|
+
(a(!0), i(f, null, V(o.model.pages, (r, l) => (a(), b(s(c), {
|
|
246
246
|
key: l,
|
|
247
247
|
is: "svc-side-bar-page",
|
|
248
248
|
model: r
|
|
@@ -272,14 +272,14 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
272
272
|
},
|
|
273
273
|
setup(u) {
|
|
274
274
|
const t = u;
|
|
275
|
-
return
|
|
275
|
+
return w(() => t.model), (e, o) => (a(), i("div", oo, [
|
|
276
276
|
d("div", so, [
|
|
277
277
|
v(s(c), {
|
|
278
278
|
is: "sv-action-bar",
|
|
279
279
|
model: e.model.toolbar
|
|
280
280
|
}, null, 8, ["model"])
|
|
281
281
|
]),
|
|
282
|
-
e.model.title ? (a(), i("div", to,
|
|
282
|
+
e.model.title ? (a(), i("div", to, D(e.model.title), 1)) : p("", !0)
|
|
283
283
|
]));
|
|
284
284
|
}
|
|
285
285
|
}), ao = /* @__PURE__ */ g({
|
|
@@ -289,7 +289,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
289
289
|
},
|
|
290
290
|
setup(u) {
|
|
291
291
|
const t = u;
|
|
292
|
-
return
|
|
292
|
+
return w(() => t.model), (e, o) => e.model.visible ? (a(), b(s(c), {
|
|
293
293
|
key: 0,
|
|
294
294
|
is: e.model.componentName,
|
|
295
295
|
model: e.model.componentData
|
|
@@ -302,7 +302,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
302
302
|
},
|
|
303
303
|
setup(u) {
|
|
304
304
|
const t = u;
|
|
305
|
-
return
|
|
305
|
+
return w(() => t.model), (e, o) => e.model.isVisible ? (a(), b(s(c), {
|
|
306
306
|
key: 0,
|
|
307
307
|
is: "sv-list",
|
|
308
308
|
model: e.model.list
|
|
@@ -315,7 +315,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
315
315
|
},
|
|
316
316
|
setup(u) {
|
|
317
317
|
const t = u;
|
|
318
|
-
return
|
|
318
|
+
return w(() => t.model), (e, o) => (a(), i("div", {
|
|
319
319
|
class: m(e.model.rootCss)
|
|
320
320
|
}, [
|
|
321
321
|
v(s(c), {
|
|
@@ -335,7 +335,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
335
335
|
},
|
|
336
336
|
setup(u) {
|
|
337
337
|
const t = u;
|
|
338
|
-
return
|
|
338
|
+
return w(() => t.model), (e, o) => (a(!0), i(f, null, V(e.model.actions, (n, r) => (a(), b(s(c), {
|
|
339
339
|
key: r,
|
|
340
340
|
is: "svc-tab-button",
|
|
341
341
|
model: n
|
|
@@ -350,7 +350,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
350
350
|
},
|
|
351
351
|
setup(u) {
|
|
352
352
|
const t = u;
|
|
353
|
-
return
|
|
353
|
+
return w(() => t.model), (e, o) => (a(), i("div", {
|
|
354
354
|
class: m(e.model.sideBarClassName)
|
|
355
355
|
}, [
|
|
356
356
|
d("div", co, [
|
|
@@ -393,7 +393,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
393
393
|
},
|
|
394
394
|
setup(u) {
|
|
395
395
|
const t = u;
|
|
396
|
-
return
|
|
396
|
+
return w(() => t.model), (e, o) => e.model.visible ? (a(), i("div", bo, [
|
|
397
397
|
h((a(), i("div", {
|
|
398
398
|
class: m(e.model.buttonClassName),
|
|
399
399
|
title: e.model.tooltip,
|
|
@@ -413,19 +413,19 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
413
413
|
])
|
|
414
414
|
])) : p("", !0);
|
|
415
415
|
}
|
|
416
|
-
}), $o = { class: "svc-property-grid-placeholder" }, ko = { class: "svc-property-grid-placeholder__header" }, fo = { class: "svc-property-grid-placeholder__title" }, wo = { class: "svc-property-grid-placeholder__description" },
|
|
416
|
+
}), $o = { class: "svc-property-grid-placeholder" }, ko = { class: "svc-property-grid-placeholder__header" }, fo = { class: "svc-property-grid-placeholder__title" }, wo = { class: "svc-property-grid-placeholder__description" }, Do = /* @__PURE__ */ d("div", { class: "svc-property-grid-placeholder__content" }, [
|
|
417
417
|
/* @__PURE__ */ d("div", { class: "svc-property-grid-placeholder__gap" }),
|
|
418
418
|
/* @__PURE__ */ d("div", { class: "svc-property-grid-placeholder__image" })
|
|
419
|
-
], -1),
|
|
419
|
+
], -1), To = /* @__PURE__ */ g({
|
|
420
420
|
__name: "PropertyGridPlaceholder",
|
|
421
421
|
setup(u) {
|
|
422
422
|
const t = ce;
|
|
423
423
|
return (e, o) => (a(), i("div", $o, [
|
|
424
424
|
d("div", ko, [
|
|
425
|
-
d("span", fo,
|
|
426
|
-
d("span", wo,
|
|
425
|
+
d("span", fo, D(s(t).getString("ed.propertyGridPlaceholderTitle")), 1),
|
|
426
|
+
d("span", wo, D(s(t).getString("ed.propertyGridPlaceholderDescription")), 1)
|
|
427
427
|
]),
|
|
428
|
-
|
|
428
|
+
Do
|
|
429
429
|
]));
|
|
430
430
|
}
|
|
431
431
|
}), No = { class: "svc-side-bar__container-header svc-sidebar__header-container" }, Mo = {
|
|
@@ -441,11 +441,11 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
441
441
|
},
|
|
442
442
|
setup(u) {
|
|
443
443
|
const t = u;
|
|
444
|
-
return
|
|
445
|
-
e.model.subTitle ? p("", !0) : (a(), i("div", Mo,
|
|
444
|
+
return w(() => t.model), (e, o) => (a(), i("div", No, [
|
|
445
|
+
e.model.subTitle ? p("", !0) : (a(), i("div", Mo, D(e.model.title), 1)),
|
|
446
446
|
e.model.subTitle ? (a(), i("div", So, [
|
|
447
|
-
d("span", Bo,
|
|
448
|
-
d("span", Io,
|
|
447
|
+
d("span", Bo, D(e.model.title), 1),
|
|
448
|
+
d("span", Io, D(e.model.subTitle), 1)
|
|
449
449
|
])) : p("", !0)
|
|
450
450
|
]));
|
|
451
451
|
}
|
|
@@ -456,7 +456,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
456
456
|
},
|
|
457
457
|
setup(u) {
|
|
458
458
|
const t = u;
|
|
459
|
-
return
|
|
459
|
+
return w(() => t.model), (e, o) => (a(), i("div", Po, [
|
|
460
460
|
d("div", Ro, [
|
|
461
461
|
d("div", Vo, [
|
|
462
462
|
h((a(), i("div", {
|
|
@@ -464,8 +464,8 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
464
464
|
onClick: o[0] || (o[0] = (n) => e.model.action())
|
|
465
465
|
}, [
|
|
466
466
|
d("div", Ao, [
|
|
467
|
-
d("span", zo,
|
|
468
|
-
d("span", Lo,
|
|
467
|
+
d("span", zo, D(e.model.title), 1),
|
|
468
|
+
d("span", Lo, D(e.model.tooltip), 1)
|
|
469
469
|
])
|
|
470
470
|
], 2)), [
|
|
471
471
|
[s(M), { processEsc: !1 }]
|
|
@@ -506,7 +506,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
506
506
|
], 2)
|
|
507
507
|
]));
|
|
508
508
|
}
|
|
509
|
-
}), Uo = ["title"], Ho = ["title"], Qo = ["title"], Oo = ["title"],
|
|
509
|
+
}), Uo = ["title"], Ho = ["title"], Qo = ["title"], Oo = ["title"], Wo = /* @__PURE__ */ g({
|
|
510
510
|
__name: "ActionButton",
|
|
511
511
|
props: {
|
|
512
512
|
classes: {},
|
|
@@ -522,25 +522,25 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
522
522
|
const t = u, e = (n) => {
|
|
523
523
|
t.click(), t.allowBubble || n.stopPropagation();
|
|
524
524
|
}, o = () => new Ee().append(t.classes || "").append("svc-action-button").append("svc-action-button--icon", !!t.iconName).append("svc-action-button--selected", !!t.selected).append("svc-action-button--disabled", !!t.disabled).toString();
|
|
525
|
-
return (n, r) => (a(), i(
|
|
526
|
-
n.iconName ? p("", !0) : (a(), i(
|
|
525
|
+
return (n, r) => (a(), i(f, null, [
|
|
526
|
+
n.iconName ? p("", !0) : (a(), i(f, { key: 0 }, [
|
|
527
527
|
n.disabled ? (a(), i("span", {
|
|
528
528
|
key: 0,
|
|
529
529
|
class: m(["svc-action-button svc-action-button--disabled", n.classes]),
|
|
530
530
|
title: n.title
|
|
531
|
-
},
|
|
531
|
+
}, D(n.text), 11, Uo)) : p("", !0),
|
|
532
532
|
h((a(), i("span", {
|
|
533
533
|
role: "button",
|
|
534
534
|
class: m(["svc-action-button", o()]),
|
|
535
535
|
onClick: e,
|
|
536
536
|
title: n.title
|
|
537
537
|
}, [
|
|
538
|
-
ge(
|
|
538
|
+
ge(D(n.text), 1)
|
|
539
539
|
], 10, Ho)), [
|
|
540
540
|
[s(M)]
|
|
541
541
|
])
|
|
542
542
|
], 64)),
|
|
543
|
-
n.iconName ? (a(), i(
|
|
543
|
+
n.iconName ? (a(), i(f, { key: 1 }, [
|
|
544
544
|
n.disabled ? (a(), i("span", {
|
|
545
545
|
key: 0,
|
|
546
546
|
class: m(o()),
|
|
@@ -569,7 +569,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
569
569
|
], 64)) : p("", !0)
|
|
570
570
|
], 64));
|
|
571
571
|
}
|
|
572
|
-
}),
|
|
572
|
+
}), Go = ["disabled", "title", "aria-checked", "aria-expanded", "role"], jo = /* @__PURE__ */ d("div", { class: "svc-switcher__icon-thumb" }, null, -1), Jo = [
|
|
573
573
|
jo
|
|
574
574
|
], Zo = {
|
|
575
575
|
key: 0,
|
|
@@ -584,7 +584,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
584
584
|
},
|
|
585
585
|
setup(u) {
|
|
586
586
|
const t = u;
|
|
587
|
-
return
|
|
587
|
+
return w(() => t.item), (e, o) => h((a(), i("button", {
|
|
588
588
|
class: m(e.item.getActionBarItemCss()),
|
|
589
589
|
type: "button",
|
|
590
590
|
onClick: o[0] || (o[0] = (n) => {
|
|
@@ -602,8 +602,8 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
602
602
|
d("div", {
|
|
603
603
|
class: m(e.item.getSwitcherIconCss())
|
|
604
604
|
}, Jo, 2),
|
|
605
|
-
e.item.hasTitle ? (a(), i("span", Zo,
|
|
606
|
-
], 42,
|
|
605
|
+
e.item.hasTitle ? (a(), i("span", Zo, D(e.item.title), 1)) : p("", !0)
|
|
606
|
+
], 42, Go)), [
|
|
607
607
|
[s(M), { processEsc: !1, disableTabStop: e.item.disableTabStop }]
|
|
608
608
|
]);
|
|
609
609
|
}
|
|
@@ -617,7 +617,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
617
617
|
},
|
|
618
618
|
setup(u) {
|
|
619
619
|
const t = u;
|
|
620
|
-
|
|
620
|
+
w(() => t.model);
|
|
621
621
|
const e = k(() => t.model.simulatorFrame), o = () => {
|
|
622
622
|
t.model.device !== "desktop" && t.model.activateZoom();
|
|
623
623
|
}, n = () => {
|
|
@@ -662,7 +662,22 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
662
662
|
], 4)) : p("", !0)
|
|
663
663
|
], 34));
|
|
664
664
|
}
|
|
665
|
-
}), ss = { class: "svc-
|
|
665
|
+
}), ss = { class: "svc-component-container" }, ts = /* @__PURE__ */ g({
|
|
666
|
+
__name: "ComponentContainer",
|
|
667
|
+
props: {
|
|
668
|
+
model: {}
|
|
669
|
+
},
|
|
670
|
+
setup(u) {
|
|
671
|
+
const t = u;
|
|
672
|
+
return (e, o) => (a(), i("div", ss, [
|
|
673
|
+
(a(!0), i(f, null, V(t.model.elements, (n, r) => (a(), b(s(c), {
|
|
674
|
+
is: n.componentName,
|
|
675
|
+
model: n.componentData,
|
|
676
|
+
key: r
|
|
677
|
+
}, null, 8, ["is", "model"]))), 128))
|
|
678
|
+
]));
|
|
679
|
+
}
|
|
680
|
+
}), ns = { class: "svc-surface-placeholder" }, as = { class: "svc-surface-placeholder__text" }, ls = { class: "svc-surface-placeholder__title" }, is = { class: "svc-surface-placeholder__description" }, j = /* @__PURE__ */ g({
|
|
666
681
|
__name: "SurfacePlaceholder",
|
|
667
682
|
props: {
|
|
668
683
|
name: {},
|
|
@@ -671,27 +686,27 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
671
686
|
},
|
|
672
687
|
setup(u) {
|
|
673
688
|
const t = u;
|
|
674
|
-
return (e, o) => (a(), i("div",
|
|
689
|
+
return (e, o) => (a(), i("div", ns, [
|
|
675
690
|
d("div", {
|
|
676
691
|
class: m(["svc-surface-placeholder__image", "svc-surface-placeholder__image--" + e.name])
|
|
677
692
|
}, null, 2),
|
|
678
|
-
d("div",
|
|
679
|
-
d("div",
|
|
680
|
-
d("div",
|
|
693
|
+
d("div", as, [
|
|
694
|
+
d("div", ls, D(t.placeholderTitleText), 1),
|
|
695
|
+
d("div", is, D(t.placeholderDescriptionText), 1)
|
|
681
696
|
])
|
|
682
697
|
]));
|
|
683
698
|
}
|
|
684
|
-
}),
|
|
699
|
+
}), rs = {
|
|
685
700
|
key: 2,
|
|
686
701
|
class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
|
|
687
|
-
},
|
|
702
|
+
}, ds = /* @__PURE__ */ g({
|
|
688
703
|
__name: "Test",
|
|
689
704
|
props: {
|
|
690
705
|
model: {}
|
|
691
706
|
},
|
|
692
707
|
setup(u) {
|
|
693
708
|
const t = u;
|
|
694
|
-
return
|
|
709
|
+
return w(() => t.model), (e, o) => (a(), i("div", {
|
|
695
710
|
class: m(["svc-creator-tab__content svc-test-tab__content", {
|
|
696
711
|
"svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
|
|
697
712
|
}])
|
|
@@ -717,7 +732,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
717
732
|
survey: e.model.survey
|
|
718
733
|
}, null, 8, ["survey"])) : p("", !0)
|
|
719
734
|
], 32)),
|
|
720
|
-
e.model.isPageToolbarVisible ? (a(), i("div",
|
|
735
|
+
e.model.isPageToolbarVisible ? (a(), i("div", rs, [
|
|
721
736
|
v(s(c), {
|
|
722
737
|
is: "sv-action-bar",
|
|
723
738
|
model: e.model.pages
|
|
@@ -725,7 +740,7 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
725
740
|
])) : p("", !0)
|
|
726
741
|
], 2));
|
|
727
742
|
}
|
|
728
|
-
}),
|
|
743
|
+
}), cs = { class: "svc-btn__text" }, us = /* @__PURE__ */ g({
|
|
729
744
|
inheritAttrs: !1,
|
|
730
745
|
__name: "TestAgain",
|
|
731
746
|
props: {
|
|
@@ -733,19 +748,19 @@ const Re = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
733
748
|
},
|
|
734
749
|
setup(u) {
|
|
735
750
|
const t = u, e = k(() => t.model.testAgainAction);
|
|
736
|
-
return
|
|
751
|
+
return w(() => e.value), (o, n) => h((a(), i("div", {
|
|
737
752
|
role: "button",
|
|
738
753
|
class: "svc-preview__test-again svc-btn",
|
|
739
754
|
onClick: n[0] || (n[0] = (r) => e.value.action())
|
|
740
755
|
}, [
|
|
741
|
-
d("span",
|
|
756
|
+
d("span", cs, D(e.value.title), 1)
|
|
742
757
|
])), [
|
|
743
758
|
[s(M)]
|
|
744
759
|
]);
|
|
745
760
|
}
|
|
746
761
|
});
|
|
747
762
|
function z(u, t, e) {
|
|
748
|
-
const o = be(), n =
|
|
763
|
+
const o = be(), n = G(
|
|
749
764
|
t.map((r) => () => r()),
|
|
750
765
|
() => {
|
|
751
766
|
o.value = u();
|
|
@@ -754,14 +769,14 @@ function z(u, t, e) {
|
|
|
754
769
|
immediate: !0
|
|
755
770
|
}
|
|
756
771
|
);
|
|
757
|
-
return
|
|
772
|
+
return w(() => o.value, void 0, e), Y(() => {
|
|
758
773
|
n();
|
|
759
774
|
}), o;
|
|
760
775
|
}
|
|
761
|
-
const
|
|
776
|
+
const ps = {
|
|
762
777
|
key: 0,
|
|
763
778
|
class: "svd-test-results"
|
|
764
|
-
},
|
|
779
|
+
}, vs = { class: "svd-test-results__content" }, ms = { class: "svd-test-results__header" }, _s = { class: "svd-test-results__header-text" }, gs = { class: "svd-test-results__header-types" }, bs = { class: "svd-test-results__text svd-light-bg-color" }, ys = { class: "svd-test-results__table svd-light-bg-color" }, hs = { class: "svd-light-background-color" }, Cs = { class: "svd-dark-border-color" }, qs = { class: "svd-dark-border-color" }, $s = /* @__PURE__ */ g({
|
|
765
780
|
__name: "SurveyResults",
|
|
766
781
|
props: {
|
|
767
782
|
survey: {}
|
|
@@ -771,11 +786,11 @@ const cs = {
|
|
|
771
786
|
() => t.survey ? new ye(t.survey) : void 0,
|
|
772
787
|
[() => t.survey]
|
|
773
788
|
);
|
|
774
|
-
return (o, n) => s(e) ? (a(), i("div",
|
|
775
|
-
d("div",
|
|
776
|
-
d("div",
|
|
777
|
-
d("div",
|
|
778
|
-
d("div",
|
|
789
|
+
return (o, n) => s(e) ? (a(), i("div", ps, [
|
|
790
|
+
d("div", vs, [
|
|
791
|
+
d("div", ms, [
|
|
792
|
+
d("div", _s, D(s(e).surveyResultsText), 1),
|
|
793
|
+
d("div", gs, [
|
|
779
794
|
v(s(c), {
|
|
780
795
|
is: "svc-action-button",
|
|
781
796
|
text: s(e).surveyResultsTableText,
|
|
@@ -792,21 +807,21 @@ const cs = {
|
|
|
792
807
|
}, null, 8, ["text", "click", "selected"])
|
|
793
808
|
])
|
|
794
809
|
]),
|
|
795
|
-
h(d("div",
|
|
796
|
-
d("div", null,
|
|
810
|
+
h(d("div", bs, [
|
|
811
|
+
d("div", null, D(s(e).resultText), 1)
|
|
797
812
|
], 512), [
|
|
798
813
|
[H, s(e).resultViewType === "text"]
|
|
799
814
|
]),
|
|
800
|
-
h(d("div",
|
|
815
|
+
h(d("div", ys, [
|
|
801
816
|
d("table", null, [
|
|
802
817
|
d("thead", null, [
|
|
803
|
-
d("tr",
|
|
804
|
-
d("th",
|
|
805
|
-
d("th",
|
|
818
|
+
d("tr", hs, [
|
|
819
|
+
d("th", Cs, D(s(e).resultsTitle), 1),
|
|
820
|
+
d("th", qs, D(s(e).resultsDisplayValue), 1)
|
|
806
821
|
])
|
|
807
822
|
]),
|
|
808
823
|
d("tbody", null, [
|
|
809
|
-
(a(!0), i(
|
|
824
|
+
(a(!0), i(f, null, V(s(e).resultData, (r, l) => (a(), b(s(c), {
|
|
810
825
|
is: "survey-results-table-row",
|
|
811
826
|
model: r,
|
|
812
827
|
key: l
|
|
@@ -819,14 +834,14 @@ const cs = {
|
|
|
819
834
|
])
|
|
820
835
|
])) : p("", !0);
|
|
821
836
|
}
|
|
822
|
-
}),
|
|
837
|
+
}), ks = { key: 2 }, fs = /* @__PURE__ */ g({
|
|
823
838
|
__name: "SurveyResultsRow",
|
|
824
839
|
props: {
|
|
825
840
|
model: {}
|
|
826
841
|
},
|
|
827
842
|
setup(u) {
|
|
828
843
|
const t = u;
|
|
829
|
-
return
|
|
844
|
+
return w(() => t.model), (e, o) => (a(), i(f, null, [
|
|
830
845
|
h((a(), i("tr", {
|
|
831
846
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
832
847
|
(...n) => e.model.toggle && e.model.toggle(...n))
|
|
@@ -850,39 +865,39 @@ const cs = {
|
|
|
850
865
|
key: 1,
|
|
851
866
|
is: "survey-string",
|
|
852
867
|
locString: e.model.question.locTitle
|
|
853
|
-
}, null, 8, ["locString"])) : (a(), i("span",
|
|
868
|
+
}, null, 8, ["locString"])) : (a(), i("span", ks, D(e.model.title), 1))
|
|
854
869
|
], 4),
|
|
855
870
|
d("td", {
|
|
856
871
|
class: m({
|
|
857
872
|
"svd-test-results__node-value": e.model.isNode,
|
|
858
873
|
"svd-dark-border-color": !e.model.isNode
|
|
859
874
|
})
|
|
860
|
-
},
|
|
875
|
+
}, D(e.model.getString(e.model.displayValue)), 3)
|
|
861
876
|
])), [
|
|
862
877
|
[s(M)]
|
|
863
878
|
]),
|
|
864
|
-
e.model.isNode && !e.model.collapsed ? (a(!0), i(
|
|
879
|
+
e.model.isNode && !e.model.collapsed ? (a(!0), i(f, { key: 0 }, V(e.model.data, (n, r) => (a(), b(s(c), {
|
|
865
880
|
is: "survey-results-table-row",
|
|
866
881
|
model: n,
|
|
867
882
|
key: r + 1
|
|
868
883
|
}, null, 8, ["model"]))), 128)) : p("", !0)
|
|
869
884
|
], 64));
|
|
870
885
|
}
|
|
871
|
-
}),
|
|
886
|
+
}), ws = { class: "svc-creator-tab__content" }, Ds = { class: "svc-json-editor-tab__content" }, Ts = { class: "svc-json-editor-tab__errros_list" }, Ns = /* @__PURE__ */ g({
|
|
872
887
|
__name: "JsonEditorAce",
|
|
873
888
|
props: {
|
|
874
889
|
model: {}
|
|
875
890
|
},
|
|
876
891
|
setup(u) {
|
|
877
892
|
const t = u, e = P();
|
|
878
|
-
return
|
|
879
|
-
d("div",
|
|
893
|
+
return w(() => t.model), R(() => t.model.init(window.ace.edit(e.value))), (o, n) => (a(), i("div", ws, [
|
|
894
|
+
d("div", Ds, [
|
|
880
895
|
d("div", {
|
|
881
896
|
class: "svc-json-editor-tab__ace-editor",
|
|
882
897
|
ref_key: "inputEl",
|
|
883
898
|
ref: e
|
|
884
899
|
}, null, 512),
|
|
885
|
-
h(d("div",
|
|
900
|
+
h(d("div", Ts, [
|
|
886
901
|
v(s(c), {
|
|
887
902
|
is: "sv-list",
|
|
888
903
|
model: o.model.errorList
|
|
@@ -893,18 +908,18 @@ const cs = {
|
|
|
893
908
|
])
|
|
894
909
|
]));
|
|
895
910
|
}
|
|
896
|
-
}),
|
|
911
|
+
}), Ms = { class: "svc-creator-tab__content" }, Ss = { class: "svc-json-editor-tab__content" }, Bs = ["aria-label", "disabled"], Is = { class: "svc-json-editor-tab__errros_list" }, Es = /* @__PURE__ */ g({
|
|
897
912
|
__name: "JsonEditorTextArea",
|
|
898
913
|
props: {
|
|
899
914
|
model: {}
|
|
900
915
|
},
|
|
901
916
|
setup(u) {
|
|
902
917
|
const t = u, e = P(), o = t.model;
|
|
903
|
-
return o.canShowErrors = !1,
|
|
918
|
+
return o.canShowErrors = !1, w(() => t.model), R(() => {
|
|
904
919
|
const n = t.model;
|
|
905
920
|
n.textElement = e.value;
|
|
906
|
-
}), (n, r) => (a(), i("div",
|
|
907
|
-
d("div",
|
|
921
|
+
}), (n, r) => (a(), i("div", Ms, [
|
|
922
|
+
d("div", Ss, [
|
|
908
923
|
h(d("textarea", {
|
|
909
924
|
class: "svc-json-editor-tab__content-area",
|
|
910
925
|
"aria-label": s(o).ariaLabel,
|
|
@@ -914,10 +929,10 @@ const cs = {
|
|
|
914
929
|
ref_key: "inputEl",
|
|
915
930
|
ref: e
|
|
916
931
|
}, `
|
|
917
|
-
`, 40,
|
|
932
|
+
`, 40, Bs), [
|
|
918
933
|
[de, s(o).text]
|
|
919
934
|
]),
|
|
920
|
-
h(d("div",
|
|
935
|
+
h(d("div", Is, [
|
|
921
936
|
v(s(c), {
|
|
922
937
|
is: "sv-list",
|
|
923
938
|
model: s(o).errorList
|
|
@@ -928,26 +943,26 @@ const cs = {
|
|
|
928
943
|
])
|
|
929
944
|
]));
|
|
930
945
|
}
|
|
931
|
-
}),
|
|
946
|
+
}), Ps = { class: "svc-json-error__container" }, Rs = { class: "svc-json-error__title" }, Vs = ["title", "aria-label"], As = /* @__PURE__ */ g({
|
|
932
947
|
__name: "JsonEditorErrorItem",
|
|
933
948
|
props: {
|
|
934
949
|
item: {}
|
|
935
950
|
},
|
|
936
951
|
setup(u) {
|
|
937
952
|
const t = u;
|
|
938
|
-
|
|
953
|
+
w(() => t.item);
|
|
939
954
|
const e = (o) => {
|
|
940
955
|
o.stopPropagation(), t.item.data.fixError();
|
|
941
956
|
};
|
|
942
|
-
return (o, n) => (a(), i(
|
|
957
|
+
return (o, n) => (a(), i(f, null, [
|
|
943
958
|
v(s(c), {
|
|
944
959
|
is: "sv-svg-icon",
|
|
945
960
|
iconName: o.item.iconName,
|
|
946
961
|
size: o.item.iconSize,
|
|
947
962
|
class: m("svc-json-error__icon")
|
|
948
963
|
}, null, 8, ["iconName", "size"]),
|
|
949
|
-
d("div",
|
|
950
|
-
d("div",
|
|
964
|
+
d("div", Ps, [
|
|
965
|
+
d("div", Rs, [
|
|
951
966
|
v(s(c), {
|
|
952
967
|
is: "survey-string",
|
|
953
968
|
locString: o.item.locTitle
|
|
@@ -966,20 +981,20 @@ const cs = {
|
|
|
966
981
|
iconName: o.item.data.fixButtonIcon,
|
|
967
982
|
size: "auto"
|
|
968
983
|
}, null, 8, ["iconName"])
|
|
969
|
-
], 8,
|
|
984
|
+
], 8, Vs)), [
|
|
970
985
|
[s(M)]
|
|
971
986
|
]) : p("", !0)
|
|
972
987
|
])
|
|
973
988
|
], 64));
|
|
974
989
|
}
|
|
975
|
-
}),
|
|
990
|
+
}), zs = { class: "svc-btn__text" }, te = /* @__PURE__ */ g({
|
|
976
991
|
__name: "LogicAddButton",
|
|
977
992
|
props: {
|
|
978
993
|
model: {}
|
|
979
994
|
},
|
|
980
995
|
setup(u) {
|
|
981
996
|
const t = u;
|
|
982
|
-
|
|
997
|
+
w(() => t.model);
|
|
983
998
|
const e = (o) => {
|
|
984
999
|
o.stopPropagation(), t.model.action();
|
|
985
1000
|
};
|
|
@@ -990,26 +1005,26 @@ const cs = {
|
|
|
990
1005
|
}]),
|
|
991
1006
|
onClick: e
|
|
992
1007
|
}, [
|
|
993
|
-
d("span",
|
|
1008
|
+
d("span", zs, D(o.model.title), 1)
|
|
994
1009
|
], 2)), [
|
|
995
1010
|
[s(M)]
|
|
996
1011
|
]);
|
|
997
1012
|
}
|
|
998
|
-
}),
|
|
1013
|
+
}), Ls = { class: "svc-creator-tab__content" }, Fs = {
|
|
999
1014
|
key: 1,
|
|
1000
1015
|
class: "svc-logic-tab__content-empty"
|
|
1001
|
-
},
|
|
1016
|
+
}, Ks = /* @__PURE__ */ g({
|
|
1002
1017
|
__name: "Logic",
|
|
1003
1018
|
props: {
|
|
1004
1019
|
model: {}
|
|
1005
1020
|
},
|
|
1006
1021
|
setup(u) {
|
|
1007
1022
|
const t = u;
|
|
1008
|
-
return
|
|
1023
|
+
return w(() => t.model), (e, o) => (a(), i("div", Ls, [
|
|
1009
1024
|
d("div", {
|
|
1010
1025
|
class: m(["svc-plugin-tab__content svc-logic-tab__content", { "svc-logic-tab--empty": !e.model.hasItems }])
|
|
1011
1026
|
}, [
|
|
1012
|
-
e.model.hasItems ? (a(), i(
|
|
1027
|
+
e.model.hasItems ? (a(), i(f, { key: 0 }, [
|
|
1013
1028
|
v(s(O), {
|
|
1014
1029
|
model: e.model.itemsSurvey
|
|
1015
1030
|
}, null, 8, ["model"]),
|
|
@@ -1018,7 +1033,7 @@ const cs = {
|
|
|
1018
1033
|
model: e.model.addNewButton
|
|
1019
1034
|
}, null, 8, ["model"]))
|
|
1020
1035
|
], 64)) : p("", !0),
|
|
1021
|
-
e.model.hasItems ? p("", !0) : (a(), i("div",
|
|
1036
|
+
e.model.hasItems ? p("", !0) : (a(), i("div", Fs, [
|
|
1022
1037
|
v(j, {
|
|
1023
1038
|
name: "logic",
|
|
1024
1039
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
@@ -1032,13 +1047,13 @@ const cs = {
|
|
|
1032
1047
|
], 2)
|
|
1033
1048
|
]));
|
|
1034
1049
|
}
|
|
1035
|
-
}),
|
|
1050
|
+
}), Us = ["id", "required", "tabindex", "disabled", "role", "aria-required", "aria-invalid", "aria-errormessage", "aria-expanded", "aria-label", "aria-labelledby", "aria-controls"], Hs = ["id"];
|
|
1036
1051
|
ue.Instance.registerRenderer(
|
|
1037
1052
|
"dropdown",
|
|
1038
1053
|
"logicoperator",
|
|
1039
1054
|
"sv-logic-operator"
|
|
1040
1055
|
);
|
|
1041
|
-
const
|
|
1056
|
+
const Qs = /* @__PURE__ */ g({
|
|
1042
1057
|
__name: "LogicOperator",
|
|
1043
1058
|
props: {
|
|
1044
1059
|
question: {}
|
|
@@ -1058,7 +1073,7 @@ const Us = /* @__PURE__ */ g({
|
|
|
1058
1073
|
return (l, _) => (a(), i("div", {
|
|
1059
1074
|
class: m(l.question.cssClasses.selectWrapper)
|
|
1060
1075
|
}, [
|
|
1061
|
-
l.question.isReadOnly ? p("", !0) : (a(), i(
|
|
1076
|
+
l.question.isReadOnly ? p("", !0) : (a(), i(f, { key: 0 }, [
|
|
1062
1077
|
d("div", {
|
|
1063
1078
|
class: m(l.question.getControlClass()),
|
|
1064
1079
|
onClick: n,
|
|
@@ -1085,7 +1100,7 @@ const Us = /* @__PURE__ */ g({
|
|
|
1085
1100
|
locString: l.question.locReadOnlyText
|
|
1086
1101
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1087
1102
|
], 2)
|
|
1088
|
-
], 42,
|
|
1103
|
+
], 42, Us),
|
|
1089
1104
|
v(s(c), {
|
|
1090
1105
|
is: "sv-popup",
|
|
1091
1106
|
model: l.question.popupModel
|
|
@@ -1102,10 +1117,10 @@ const Us = /* @__PURE__ */ g({
|
|
|
1102
1117
|
is: "survey-string",
|
|
1103
1118
|
locString: l.question.locReadOnlyText
|
|
1104
1119
|
}, null, 8, ["locString"])) : p("", !0)
|
|
1105
|
-
], 10,
|
|
1120
|
+
], 10, Hs)) : p("", !0)
|
|
1106
1121
|
], 2));
|
|
1107
1122
|
}
|
|
1108
|
-
}),
|
|
1123
|
+
}), Os = /* @__PURE__ */ g({
|
|
1109
1124
|
__name: "EmbeddedSurvey",
|
|
1110
1125
|
props: {
|
|
1111
1126
|
question: {}
|
|
@@ -1121,7 +1136,7 @@ const Us = /* @__PURE__ */ g({
|
|
|
1121
1136
|
survey: o.value
|
|
1122
1137
|
}, null, 8, ["page", "survey"])) : p("", !0);
|
|
1123
1138
|
}
|
|
1124
|
-
}),
|
|
1139
|
+
}), Ws = /* @__PURE__ */ g({
|
|
1125
1140
|
inheritAttrs: !1,
|
|
1126
1141
|
__name: "LinkValue",
|
|
1127
1142
|
props: {
|
|
@@ -1129,7 +1144,7 @@ const Us = /* @__PURE__ */ g({
|
|
|
1129
1144
|
},
|
|
1130
1145
|
setup(u) {
|
|
1131
1146
|
const t = u, e = P(), o = ce.getString("pe.clear");
|
|
1132
|
-
return Q(t, e), (n, r) => (a(), i(
|
|
1147
|
+
return Q(t, e), (n, r) => (a(), i(f, null, [
|
|
1133
1148
|
v(s(c), {
|
|
1134
1149
|
is: "svc-action-button",
|
|
1135
1150
|
text: n.question.linkValueText,
|
|
@@ -1150,17 +1165,17 @@ const Us = /* @__PURE__ */ g({
|
|
|
1150
1165
|
}, null, 8, ["text", "click", "classes"])) : p("", !0)
|
|
1151
1166
|
], 64));
|
|
1152
1167
|
}
|
|
1153
|
-
}),
|
|
1168
|
+
}), Gs = {
|
|
1154
1169
|
key: 1,
|
|
1155
1170
|
class: "st-content"
|
|
1156
|
-
},
|
|
1171
|
+
}, 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({
|
|
1157
1172
|
__name: "Translation",
|
|
1158
1173
|
props: {
|
|
1159
1174
|
model: {}
|
|
1160
1175
|
},
|
|
1161
1176
|
setup(u) {
|
|
1162
1177
|
const t = u;
|
|
1163
|
-
return
|
|
1178
|
+
return w(() => t.model), (e, o) => (a(), i("div", {
|
|
1164
1179
|
class: m(["svc-creator-tab__content svc-translation-tab", e.model.isEmpty ? "svc-translation-tab--empty" : ""])
|
|
1165
1180
|
}, [
|
|
1166
1181
|
e.model.isEmpty ? (a(), b(j, {
|
|
@@ -1169,14 +1184,14 @@ const Us = /* @__PURE__ */ g({
|
|
|
1169
1184
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
1170
1185
|
placeholderDescriptionText: e.model.placeholderDescriptionText
|
|
1171
1186
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : p("", !0),
|
|
1172
|
-
e.model.isEmpty ? p("", !0) : (a(), i("div",
|
|
1173
|
-
d("div",
|
|
1174
|
-
d("div",
|
|
1187
|
+
e.model.isEmpty ? p("", !0) : (a(), i("div", Gs, [
|
|
1188
|
+
d("div", js, [
|
|
1189
|
+
d("div", Js, [
|
|
1175
1190
|
v(s(O), {
|
|
1176
1191
|
model: e.model.stringsHeaderSurvey
|
|
1177
1192
|
}, null, 8, ["model"])
|
|
1178
1193
|
]),
|
|
1179
|
-
d("div",
|
|
1194
|
+
d("div", Zs, [
|
|
1180
1195
|
v(s(O), {
|
|
1181
1196
|
model: e.model.stringsSurvey
|
|
1182
1197
|
}, null, 8, ["model"])
|
|
@@ -1185,16 +1200,16 @@ const Us = /* @__PURE__ */ g({
|
|
|
1185
1200
|
]))
|
|
1186
1201
|
], 2));
|
|
1187
1202
|
}
|
|
1188
|
-
}),
|
|
1203
|
+
}), Ys = (u, t) => {
|
|
1189
1204
|
const e = u.__vccOpts || u;
|
|
1190
1205
|
for (const [o, n] of t)
|
|
1191
1206
|
e[o] = n;
|
|
1192
1207
|
return e;
|
|
1193
|
-
},
|
|
1194
|
-
function
|
|
1195
|
-
return a(), i("div",
|
|
1208
|
+
}, xs = {}, et = { class: "sd-translation-line-skeleton" };
|
|
1209
|
+
function ot(u, t) {
|
|
1210
|
+
return a(), i("div", et);
|
|
1196
1211
|
}
|
|
1197
|
-
const
|
|
1212
|
+
const st = /* @__PURE__ */ Ys(xs, [["render", ot]]), tt = /* @__PURE__ */ g({
|
|
1198
1213
|
__name: "TranslateFromAction",
|
|
1199
1214
|
props: {
|
|
1200
1215
|
item: {}
|
|
@@ -1205,27 +1220,27 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1205
1220
|
}, [
|
|
1206
1221
|
d("span", {
|
|
1207
1222
|
class: m(t.item.data.additionalTitleCss)
|
|
1208
|
-
},
|
|
1223
|
+
}, D(t.item.data.additionalTitle), 3),
|
|
1209
1224
|
v(s(c), {
|
|
1210
1225
|
is: "sv-action-bar-item-dropdown",
|
|
1211
1226
|
item: t.item
|
|
1212
1227
|
}, null, 8, ["item"])
|
|
1213
1228
|
], 2));
|
|
1214
1229
|
}
|
|
1215
|
-
}),
|
|
1230
|
+
}), nt = {
|
|
1216
1231
|
key: 1,
|
|
1217
1232
|
class: "svc-plugin-tab__content"
|
|
1218
|
-
},
|
|
1233
|
+
}, at = {
|
|
1219
1234
|
key: 2,
|
|
1220
1235
|
class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
|
|
1221
|
-
},
|
|
1236
|
+
}, lt = /* @__PURE__ */ g({
|
|
1222
1237
|
__name: "Theme",
|
|
1223
1238
|
props: {
|
|
1224
1239
|
model: {}
|
|
1225
1240
|
},
|
|
1226
1241
|
setup(u) {
|
|
1227
1242
|
const t = u;
|
|
1228
|
-
return
|
|
1243
|
+
return w(() => t.model), (e, o) => (a(), i("div", {
|
|
1229
1244
|
class: m(["svc-creator-tab__content svc-test-tab__content", {
|
|
1230
1245
|
"svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
|
|
1231
1246
|
}])
|
|
@@ -1236,7 +1251,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1236
1251
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
1237
1252
|
placeholderDescriptionText: e.model.placeholderDescriptionText
|
|
1238
1253
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : p("", !0),
|
|
1239
|
-
e.model.survey.isEmpty ? p("", !0) : (a(), i("div",
|
|
1254
|
+
e.model.survey.isEmpty ? p("", !0) : (a(), i("div", nt, [
|
|
1240
1255
|
v(s(c), {
|
|
1241
1256
|
is: "survey-simulator",
|
|
1242
1257
|
model: e.model.simulator
|
|
@@ -1247,7 +1262,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1247
1262
|
survey: e.model.survey
|
|
1248
1263
|
}, null, 8, ["survey"])) : p("", !0)
|
|
1249
1264
|
])),
|
|
1250
|
-
e.model.isPageToolbarVisible ? (a(), i("div",
|
|
1265
|
+
e.model.isPageToolbarVisible ? (a(), i("div", at, [
|
|
1251
1266
|
v(s(c), {
|
|
1252
1267
|
is: "sv-action-bar",
|
|
1253
1268
|
model: e.model.pages
|
|
@@ -1255,7 +1270,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1255
1270
|
])) : p("", !0)
|
|
1256
1271
|
], 2));
|
|
1257
1272
|
}
|
|
1258
|
-
}),
|
|
1273
|
+
}), it = ["disabled", "value", "aria-required", "aria-labelledby", "aria-label", "aria-invalid", "aria-describedby"], rt = ["disabled", "id", "placeholder", "aria-required", "aria-labelledby", "aria-label", "aria-invalid", "aria-describedby", "value"], dt = /* @__PURE__ */ g({
|
|
1259
1274
|
__name: "Color",
|
|
1260
1275
|
props: {
|
|
1261
1276
|
question: {}
|
|
@@ -1288,7 +1303,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1288
1303
|
"aria-label": e.question.a11y_input_ariaLabel,
|
|
1289
1304
|
"aria-invalid": e.question.a11y_input_ariaInvalid,
|
|
1290
1305
|
"aria-describedby": e.question.a11y_input_ariaDescribedBy
|
|
1291
|
-
}, null, 42,
|
|
1306
|
+
}, null, 42, it)
|
|
1292
1307
|
], 6),
|
|
1293
1308
|
d("input", {
|
|
1294
1309
|
autocomplete: "off",
|
|
@@ -1310,8 +1325,8 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1310
1325
|
(...n) => e.question.onBeforeInput && e.question.onBeforeInput(...n)),
|
|
1311
1326
|
value: e.question.renderedValue,
|
|
1312
1327
|
class: m(e.question.cssClasses.control)
|
|
1313
|
-
}, null, 42,
|
|
1314
|
-
e.question.showDropdownAction ? (a(), i(
|
|
1328
|
+
}, null, 42, rt),
|
|
1329
|
+
e.question.showDropdownAction ? (a(), i(f, { key: 0 }, [
|
|
1315
1330
|
d("div", {
|
|
1316
1331
|
"aria-hidden": "true",
|
|
1317
1332
|
class: m(e.question.cssClasses.choicesButtonWrapper)
|
|
@@ -1328,7 +1343,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1328
1343
|
], 64)) : p("", !0)
|
|
1329
1344
|
], 34));
|
|
1330
1345
|
}
|
|
1331
|
-
}),
|
|
1346
|
+
}), ct = /* @__PURE__ */ g({
|
|
1332
1347
|
__name: "ColorItem",
|
|
1333
1348
|
props: {
|
|
1334
1349
|
model: {},
|
|
@@ -1336,9 +1351,9 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1336
1351
|
},
|
|
1337
1352
|
setup(u) {
|
|
1338
1353
|
const t = u;
|
|
1339
|
-
|
|
1354
|
+
w(() => t.item);
|
|
1340
1355
|
const e = () => ({ backgroundColor: t.item.value });
|
|
1341
|
-
return (o, n) => (a(), i(
|
|
1356
|
+
return (o, n) => (a(), i(f, null, [
|
|
1342
1357
|
d("span", {
|
|
1343
1358
|
class: "spg-color-editor__color-swatch",
|
|
1344
1359
|
style: F(e())
|
|
@@ -1349,7 +1364,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1349
1364
|
}, null, 8, ["locString"])
|
|
1350
1365
|
], 64));
|
|
1351
1366
|
}
|
|
1352
|
-
}),
|
|
1367
|
+
}), ut = ["disabled", "value", "placeholder"], pt = ["disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "title", "accept"], vt = ["title", "disabled"], mt = ["for", "aria-label"], _t = /* @__PURE__ */ g({
|
|
1353
1368
|
__name: "File",
|
|
1354
1369
|
props: {
|
|
1355
1370
|
question: {}
|
|
@@ -1381,7 +1396,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1381
1396
|
onBlur: n[1] || (n[1] = //@ts-ignore
|
|
1382
1397
|
(...r) => o.question.onInputBlur && o.question.onInputBlur(...r)),
|
|
1383
1398
|
placeholder: o.question.renderedPlaceholder
|
|
1384
|
-
}, null, 42,
|
|
1399
|
+
}, null, 42, ut),
|
|
1385
1400
|
d("input", {
|
|
1386
1401
|
type: "file",
|
|
1387
1402
|
disabled: o.question.isInputReadOnly,
|
|
@@ -1397,7 +1412,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1397
1412
|
accept: o.question.acceptedTypes,
|
|
1398
1413
|
onChange: n[2] || (n[2] = //@ts-ignore
|
|
1399
1414
|
(...r) => o.question.onFileInputChange && o.question.onFileInputChange(...r))
|
|
1400
|
-
}, null, 42,
|
|
1415
|
+
}, null, 42, pt),
|
|
1401
1416
|
d("div", {
|
|
1402
1417
|
class: m(o.question.cssClasses.buttonsContainer)
|
|
1403
1418
|
}, [
|
|
@@ -1413,7 +1428,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1413
1428
|
iconName: o.question.cssClasses.clearButtonIcon,
|
|
1414
1429
|
size: "auto"
|
|
1415
1430
|
}, null, 8, ["iconName"])
|
|
1416
|
-
], 10,
|
|
1431
|
+
], 10, vt)), [
|
|
1417
1432
|
[s(M)]
|
|
1418
1433
|
]),
|
|
1419
1434
|
h((a(), i("label", {
|
|
@@ -1429,13 +1444,13 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1429
1444
|
size: "auto",
|
|
1430
1445
|
title: o.question.chooseButtonCaption
|
|
1431
1446
|
}, null, 8, ["iconName", "title"])
|
|
1432
|
-
], 10,
|
|
1447
|
+
], 10, mt)), [
|
|
1433
1448
|
[s(M)]
|
|
1434
1449
|
])
|
|
1435
1450
|
], 2)
|
|
1436
1451
|
], 34));
|
|
1437
1452
|
}
|
|
1438
|
-
}),
|
|
1453
|
+
}), gt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-describedby", "aria-invalid", "aria-errormessage", "value"], bt = ["disabled"], yt = ["disabled"], ht = /* @__PURE__ */ g({
|
|
1439
1454
|
__name: "SpinEditor",
|
|
1440
1455
|
props: {
|
|
1441
1456
|
question: {}
|
|
@@ -1472,7 +1487,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1472
1487
|
(...n) => e.question.onBeforeInput && e.question.onBeforeInput(...n)),
|
|
1473
1488
|
value: e.question.renderedValue,
|
|
1474
1489
|
class: m(e.question.cssClasses.control)
|
|
1475
|
-
}, null, 42,
|
|
1490
|
+
}, null, 42, gt),
|
|
1476
1491
|
d("span", {
|
|
1477
1492
|
class: m(e.question.cssClasses.buttonsContainer)
|
|
1478
1493
|
}, [
|
|
@@ -1499,7 +1514,7 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1499
1514
|
iconName: e.question.cssClasses.decreaseButtonIcon,
|
|
1500
1515
|
size: "auto"
|
|
1501
1516
|
}, null, 8, ["iconName"])
|
|
1502
|
-
], 42,
|
|
1517
|
+
], 42, bt),
|
|
1503
1518
|
d("button", {
|
|
1504
1519
|
"aria-hidden": "true",
|
|
1505
1520
|
disabled: e.question.isInputReadOnly,
|
|
@@ -1523,18 +1538,18 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1523
1538
|
iconName: e.question.cssClasses.increaseButtonIcon,
|
|
1524
1539
|
size: "auto"
|
|
1525
1540
|
}, null, 8, ["iconName"])
|
|
1526
|
-
], 42,
|
|
1541
|
+
], 42, yt)
|
|
1527
1542
|
], 2)
|
|
1528
1543
|
], 34));
|
|
1529
1544
|
}
|
|
1530
|
-
}),
|
|
1545
|
+
}), Ct = ["disabled", "title"], ne = /* @__PURE__ */ g({
|
|
1531
1546
|
__name: "TextWithReset",
|
|
1532
1547
|
props: {
|
|
1533
1548
|
question: {}
|
|
1534
1549
|
},
|
|
1535
1550
|
setup(u) {
|
|
1536
1551
|
const t = u, e = () => "survey-" + t.question.wrappedQuestionTemplate;
|
|
1537
|
-
return Q(t, P()),
|
|
1552
|
+
return Q(t, P()), w(() => {
|
|
1538
1553
|
var o;
|
|
1539
1554
|
return (o = t.question) == null ? void 0 : o.resetValueAdorner;
|
|
1540
1555
|
}), (o, n) => (a(), i("div", {
|
|
@@ -1556,23 +1571,23 @@ const et = /* @__PURE__ */ Zs(Xs, [["render", xs]]), ot = /* @__PURE__ */ g({
|
|
|
1556
1571
|
iconName: o.question.cssClasses.resetButtonIcon,
|
|
1557
1572
|
size: "auto"
|
|
1558
1573
|
}, null, 8, ["iconName"])
|
|
1559
|
-
], 10,
|
|
1574
|
+
], 10, Ct)
|
|
1560
1575
|
], 2));
|
|
1561
1576
|
}
|
|
1562
|
-
}),
|
|
1577
|
+
}), qt = ["aria-checked", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-errormessage"], $t = /* @__PURE__ */ d("div", { class: "spg-boolean-switch__thumb" }, [
|
|
1563
1578
|
/* @__PURE__ */ d("div", { class: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left" })
|
|
1564
|
-
], -1),
|
|
1579
|
+
], -1), kt = /* @__PURE__ */ d("div", { class: "spg-boolean-switch__thumb" }, [
|
|
1565
1580
|
/* @__PURE__ */ d("div", { class: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right" })
|
|
1566
|
-
], -1),
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
],
|
|
1581
|
+
], -1), ft = [
|
|
1582
|
+
$t,
|
|
1583
|
+
kt
|
|
1584
|
+
], wt = { class: "spg-boolean-switch__caption" }, Dt = ["id"];
|
|
1570
1585
|
ue.Instance.registerRenderer(
|
|
1571
1586
|
"boolean",
|
|
1572
1587
|
"switch",
|
|
1573
1588
|
"sv-boolean-switch"
|
|
1574
1589
|
);
|
|
1575
|
-
const
|
|
1590
|
+
const Tt = /* @__PURE__ */ g({
|
|
1576
1591
|
inheritAttrs: !1,
|
|
1577
1592
|
__name: "BooleanSwitch",
|
|
1578
1593
|
props: {
|
|
@@ -1604,10 +1619,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
1604
1619
|
h((a(), i("div", {
|
|
1605
1620
|
class: m(["spg-boolean-switch__button", n.question.value ? "spg-boolean-switch__button--checked" : ""]),
|
|
1606
1621
|
tabindex: "0"
|
|
1607
|
-
},
|
|
1622
|
+
}, ft, 2)), [
|
|
1608
1623
|
[s(M), { disableTabStop: !0 }]
|
|
1609
1624
|
]),
|
|
1610
|
-
d("div",
|
|
1625
|
+
d("div", wt, [
|
|
1611
1626
|
d("div", {
|
|
1612
1627
|
class: "spg-boolean-switch__title",
|
|
1613
1628
|
id: n.question.labelRenderedAriaID
|
|
@@ -1616,14 +1631,14 @@ const wt = /* @__PURE__ */ g({
|
|
|
1616
1631
|
is: "survey-string",
|
|
1617
1632
|
locString: n.question.locTitle
|
|
1618
1633
|
}, null, 8, ["locString"])
|
|
1619
|
-
], 8,
|
|
1634
|
+
], 8, Dt)
|
|
1620
1635
|
])
|
|
1621
|
-
], 8,
|
|
1636
|
+
], 8, qt));
|
|
1622
1637
|
}
|
|
1623
|
-
}),
|
|
1638
|
+
}), Nt = { class: "svc-string-editor__content" }, Mt = /* @__PURE__ */ d("div", { class: "svc-string-editor__border svc-string-editor__border--hover" }, null, -1), St = /* @__PURE__ */ d("div", { class: "svc-string-editor__border svc-string-editor__border--focus" }, null, -1), Bt = { class: "svc-string-editor__input" }, It = ["textContent", "aria-placeholder", "aria-label", "contenteditable", "tabindex"], Et = ["aria-placeholder", "aria-label", "contenteditable", "tabindex", "innerHTML"], Pt = {
|
|
1624
1639
|
key: 0,
|
|
1625
1640
|
class: "svc-string-editor__error"
|
|
1626
|
-
},
|
|
1641
|
+
}, Rt = /* @__PURE__ */ g({
|
|
1627
1642
|
__name: "StringEditor",
|
|
1628
1643
|
props: {
|
|
1629
1644
|
locString: {}
|
|
@@ -1669,23 +1684,23 @@ const wt = /* @__PURE__ */ g({
|
|
|
1669
1684
|
return (y = l.value) == null ? void 0 : y.getCharacterCounterClass;
|
|
1670
1685
|
}
|
|
1671
1686
|
), J = (y) => {
|
|
1672
|
-
var
|
|
1673
|
-
return n.value && (n.value.spellcheck = !1), e.value.__isEditing = !1, (
|
|
1687
|
+
var T, E;
|
|
1688
|
+
return n.value && (n.value.spellcheck = !1), e.value.__isEditing = !1, (T = l.value) == null || T.onBlur(y), (E = l.value) == null ? void 0 : E.errorText;
|
|
1674
1689
|
}, U = (y) => {
|
|
1675
|
-
var
|
|
1676
|
-
(
|
|
1690
|
+
var T;
|
|
1691
|
+
(T = l.value) == null || T.onFocus(y);
|
|
1677
1692
|
}, ve = (y) => {
|
|
1678
|
-
var
|
|
1679
|
-
(
|
|
1693
|
+
var T;
|
|
1694
|
+
(T = l.value) == null || T.onPaste(y);
|
|
1680
1695
|
}, se = (y) => {
|
|
1681
|
-
var
|
|
1682
|
-
(
|
|
1696
|
+
var T, E;
|
|
1697
|
+
(T = n.value) == null || T.focus(), e.value.__isEditing = !0, (E = l.value) == null || E.onClick(y);
|
|
1683
1698
|
}, Z = () => {
|
|
1684
1699
|
r.value = e.value.renderedHtml;
|
|
1685
|
-
}, me =
|
|
1700
|
+
}, me = G(
|
|
1686
1701
|
() => e.value,
|
|
1687
|
-
(y,
|
|
1688
|
-
|
|
1702
|
+
(y, T) => {
|
|
1703
|
+
T && y.onStringChanged.remove(Z), y && (y.onStringChanged.add(Z), Z());
|
|
1689
1704
|
},
|
|
1690
1705
|
{
|
|
1691
1706
|
immediate: !0
|
|
@@ -1696,13 +1711,13 @@ const wt = /* @__PURE__ */ g({
|
|
|
1696
1711
|
e.value.__isEditing && ((y = n.value) == null || y.focus());
|
|
1697
1712
|
}), K(() => {
|
|
1698
1713
|
me(), e.value.onStringChanged.remove(Z);
|
|
1699
|
-
}), (y,
|
|
1714
|
+
}), (y, T) => (a(), i("span", {
|
|
1700
1715
|
class: m(N.value)
|
|
1701
1716
|
}, [
|
|
1702
|
-
d("span",
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
d("span",
|
|
1717
|
+
d("span", Nt, [
|
|
1718
|
+
Mt,
|
|
1719
|
+
St,
|
|
1720
|
+
d("span", Bt, [
|
|
1706
1721
|
e.value.hasHtml ? p("", !0) : (a(), i("span", {
|
|
1707
1722
|
key: 0,
|
|
1708
1723
|
role: "textbox",
|
|
@@ -1711,37 +1726,37 @@ const wt = /* @__PURE__ */ g({
|
|
|
1711
1726
|
onFocus: U,
|
|
1712
1727
|
onPaste: ve,
|
|
1713
1728
|
onBlur: J,
|
|
1714
|
-
onInput:
|
|
1729
|
+
onInput: T[0] || (T[0] = //@ts-ignore
|
|
1715
1730
|
(...E) => {
|
|
1716
1731
|
var S, B;
|
|
1717
1732
|
return ((S = s(l)) == null ? void 0 : S.onInput) && ((B = s(l)) == null ? void 0 : B.onInput(...E));
|
|
1718
1733
|
}),
|
|
1719
|
-
onBeforeinput:
|
|
1734
|
+
onBeforeinput: T[1] || (T[1] = //@ts-ignore
|
|
1720
1735
|
(...E) => {
|
|
1721
1736
|
var S, B;
|
|
1722
1737
|
return ((S = s(l)) == null ? void 0 : S.onBeforeInput) && ((B = s(l)) == null ? void 0 : B.onBeforeInput(...E));
|
|
1723
1738
|
}),
|
|
1724
|
-
onKeydown:
|
|
1739
|
+
onKeydown: T[2] || (T[2] = //@ts-ignore
|
|
1725
1740
|
(...E) => {
|
|
1726
1741
|
var S, B;
|
|
1727
1742
|
return ((S = s(l)) == null ? void 0 : S.onKeyDown) && ((B = s(l)) == null ? void 0 : B.onKeyDown(...E));
|
|
1728
1743
|
}),
|
|
1729
|
-
onKeyup:
|
|
1744
|
+
onKeyup: T[3] || (T[3] = //@ts-ignore
|
|
1730
1745
|
(...E) => {
|
|
1731
1746
|
var S, B;
|
|
1732
1747
|
return ((S = s(l)) == null ? void 0 : S.onKeyUp) && ((B = s(l)) == null ? void 0 : B.onKeyUp(...E));
|
|
1733
1748
|
}),
|
|
1734
|
-
onCompositionstart:
|
|
1749
|
+
onCompositionstart: T[4] || (T[4] = //@ts-ignore
|
|
1735
1750
|
(...E) => {
|
|
1736
1751
|
var S, B;
|
|
1737
1752
|
return ((S = s(l)) == null ? void 0 : S.onCompositionStart) && ((B = s(l)) == null ? void 0 : B.onCompositionStart(...E));
|
|
1738
1753
|
}),
|
|
1739
|
-
onCompositionend:
|
|
1754
|
+
onCompositionend: T[5] || (T[5] = //@ts-ignore
|
|
1740
1755
|
(...E) => {
|
|
1741
1756
|
var S, B;
|
|
1742
1757
|
return ((S = s(l)) == null ? void 0 : S.onCompositionEnd) && ((B = s(l)) == null ? void 0 : B.onCompositionEnd(...E));
|
|
1743
1758
|
}),
|
|
1744
|
-
onMouseup:
|
|
1759
|
+
onMouseup: T[6] || (T[6] = //@ts-ignore
|
|
1745
1760
|
(...E) => {
|
|
1746
1761
|
var S, B;
|
|
1747
1762
|
return ((S = s(l)) == null ? void 0 : S.onMouseUp) && ((B = s(l)) == null ? void 0 : B.onMouseUp(...E));
|
|
@@ -1754,7 +1769,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
1754
1769
|
tabindex: s(l).tabIndex,
|
|
1755
1770
|
ref_key: "root",
|
|
1756
1771
|
ref: n
|
|
1757
|
-
}, null, 40,
|
|
1772
|
+
}, null, 40, It)),
|
|
1758
1773
|
e.value.hasHtml ? (a(), i("span", {
|
|
1759
1774
|
key: 1,
|
|
1760
1775
|
role: "textbox",
|
|
@@ -1762,27 +1777,27 @@ const wt = /* @__PURE__ */ g({
|
|
|
1762
1777
|
spellcheck: "false",
|
|
1763
1778
|
onFocus: U,
|
|
1764
1779
|
onBlur: J,
|
|
1765
|
-
onKeydown:
|
|
1780
|
+
onKeydown: T[7] || (T[7] = //@ts-ignore
|
|
1766
1781
|
(...E) => {
|
|
1767
1782
|
var S, B;
|
|
1768
1783
|
return ((S = s(l)) == null ? void 0 : S.onKeyDown) && ((B = s(l)) == null ? void 0 : B.onKeyDown(...E));
|
|
1769
1784
|
}),
|
|
1770
|
-
onKeyup:
|
|
1785
|
+
onKeyup: T[8] || (T[8] = //@ts-ignore
|
|
1771
1786
|
(...E) => {
|
|
1772
1787
|
var S, B;
|
|
1773
1788
|
return ((S = s(l)) == null ? void 0 : S.onKeyUp) && ((B = s(l)) == null ? void 0 : B.onKeyUp(...E));
|
|
1774
1789
|
}),
|
|
1775
|
-
onCompositionstart:
|
|
1790
|
+
onCompositionstart: T[9] || (T[9] = //@ts-ignore
|
|
1776
1791
|
(...E) => {
|
|
1777
1792
|
var S, B;
|
|
1778
1793
|
return ((S = s(l)) == null ? void 0 : S.onCompositionStart) && ((B = s(l)) == null ? void 0 : B.onCompositionStart(...E));
|
|
1779
1794
|
}),
|
|
1780
|
-
onCompositionend:
|
|
1795
|
+
onCompositionend: T[10] || (T[10] = //@ts-ignore
|
|
1781
1796
|
(...E) => {
|
|
1782
1797
|
var S, B;
|
|
1783
1798
|
return ((S = s(l)) == null ? void 0 : S.onCompositionEnd) && ((B = s(l)) == null ? void 0 : B.onCompositionEnd(...E));
|
|
1784
1799
|
}),
|
|
1785
|
-
onMouseup:
|
|
1800
|
+
onMouseup: T[11] || (T[11] = //@ts-ignore
|
|
1786
1801
|
(...E) => {
|
|
1787
1802
|
var S, B;
|
|
1788
1803
|
return ((S = s(l)) == null ? void 0 : S.onMouseUp) && ((B = s(l)) == null ? void 0 : B.onMouseUp(...E));
|
|
@@ -1795,7 +1810,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
1795
1810
|
innerHTML: r.value,
|
|
1796
1811
|
ref_key: "root",
|
|
1797
1812
|
ref: n
|
|
1798
|
-
}, null, 40,
|
|
1813
|
+
}, null, 40, Et)) : p("", !0),
|
|
1799
1814
|
I.value ? (a(), b(s(c), {
|
|
1800
1815
|
key: 2,
|
|
1801
1816
|
is: "sv-character-counter",
|
|
@@ -1804,26 +1819,26 @@ const wt = /* @__PURE__ */ g({
|
|
|
1804
1819
|
}, null, 8, ["counter", "remainingCharacterCounter"])) : p("", !0)
|
|
1805
1820
|
])
|
|
1806
1821
|
]),
|
|
1807
|
-
_.value ? (a(), i("span",
|
|
1822
|
+
_.value ? (a(), i("span", Pt, D(_.value), 1)) : p("", !0)
|
|
1808
1823
|
], 2));
|
|
1809
1824
|
}
|
|
1810
|
-
}),
|
|
1825
|
+
}), Vt = {
|
|
1811
1826
|
key: 0,
|
|
1812
1827
|
class: "svc-toolbox__search-container"
|
|
1813
|
-
},
|
|
1828
|
+
}, At = /* @__PURE__ */ d("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1), zt = {
|
|
1814
1829
|
key: 1,
|
|
1815
1830
|
class: "svc-toolbox__placeholder"
|
|
1816
|
-
},
|
|
1831
|
+
}, Lt = {
|
|
1817
1832
|
key: 1,
|
|
1818
1833
|
class: "svc-toolbox__category"
|
|
1819
|
-
},
|
|
1834
|
+
}, Ft = /* @__PURE__ */ g({
|
|
1820
1835
|
__name: "AdaptiveToolbox",
|
|
1821
1836
|
props: {
|
|
1822
1837
|
model: {}
|
|
1823
1838
|
},
|
|
1824
1839
|
setup(u) {
|
|
1825
1840
|
const t = u, e = k(() => t.model.toolbox), o = P();
|
|
1826
|
-
|
|
1841
|
+
w(() => e.value), W(() => {
|
|
1827
1842
|
e.value.afterRender(o.value);
|
|
1828
1843
|
}), R(() => {
|
|
1829
1844
|
e.value.afterRender(o.value);
|
|
@@ -1841,7 +1856,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
1841
1856
|
onFocusout: l[0] || (l[0] = (_) => e.value.focusOut(_)),
|
|
1842
1857
|
class: "svc-toolbox__panel"
|
|
1843
1858
|
}, [
|
|
1844
|
-
e.value.showSearch ? (a(), i("div",
|
|
1859
|
+
e.value.showSearch ? (a(), i("div", Vt, [
|
|
1845
1860
|
e.value.isCompactRendered ? (a(), b(s(c), {
|
|
1846
1861
|
is: "svc-toolbox-tool",
|
|
1847
1862
|
creator: r.model,
|
|
@@ -1854,19 +1869,19 @@ const wt = /* @__PURE__ */ g({
|
|
|
1854
1869
|
is: "svc-search",
|
|
1855
1870
|
model: e.value.searchManager
|
|
1856
1871
|
}, null, 8, ["model"]),
|
|
1857
|
-
|
|
1872
|
+
At
|
|
1858
1873
|
])) : p("", !0),
|
|
1859
|
-
e.value.showPlaceholder ? (a(), i("div",
|
|
1874
|
+
e.value.showPlaceholder ? (a(), i("div", zt, D(e.value.toolboxNoResultsFound), 1)) : p("", !0),
|
|
1860
1875
|
v(s(c), { is: "sv-scroll" }, {
|
|
1861
1876
|
default: X(() => [
|
|
1862
|
-
e.value.showInSingleCategory ? p("", !0) : (a(!0), i(
|
|
1877
|
+
e.value.showInSingleCategory ? p("", !0) : (a(!0), i(f, { key: 0 }, V(e.value.categories, (_, N) => (a(), b(s(c), {
|
|
1863
1878
|
is: "svc-toolbox-category",
|
|
1864
1879
|
key: N,
|
|
1865
1880
|
category: _,
|
|
1866
1881
|
toolbox: e.value
|
|
1867
1882
|
}, null, 8, ["category", "toolbox"]))), 128)),
|
|
1868
|
-
e.value.showInSingleCategory ? (a(), i("div",
|
|
1869
|
-
(a(!0), i(
|
|
1883
|
+
e.value.showInSingleCategory ? (a(), i("div", Lt, [
|
|
1884
|
+
(a(!0), i(f, null, V(n.value, (_) => (a(), b(s(c), {
|
|
1870
1885
|
key: _.renderedId,
|
|
1871
1886
|
is: "svc-toolbox-tool",
|
|
1872
1887
|
creator: r.model,
|
|
@@ -1881,10 +1896,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
1881
1896
|
], 32)
|
|
1882
1897
|
], 6));
|
|
1883
1898
|
}
|
|
1884
|
-
}),
|
|
1899
|
+
}), Kt = {
|
|
1885
1900
|
key: 0,
|
|
1886
1901
|
class: "svc-toolbox__category-separator"
|
|
1887
|
-
},
|
|
1902
|
+
}, Ut = /* @__PURE__ */ g({
|
|
1888
1903
|
__name: "ToolboxTool",
|
|
1889
1904
|
props: {
|
|
1890
1905
|
creator: {},
|
|
@@ -1912,14 +1927,14 @@ const wt = /* @__PURE__ */ g({
|
|
|
1912
1927
|
}), K(() => {
|
|
1913
1928
|
const n = t.item;
|
|
1914
1929
|
n.updateModeCallback = void 0;
|
|
1915
|
-
}),
|
|
1930
|
+
}), w(() => t.item), (n, r) => {
|
|
1916
1931
|
var l;
|
|
1917
1932
|
return a(), i("div", {
|
|
1918
1933
|
class: m(n.item.css),
|
|
1919
1934
|
ref_key: "root",
|
|
1920
1935
|
ref: o
|
|
1921
1936
|
}, [
|
|
1922
|
-
n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (a(), i("div",
|
|
1937
|
+
n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (a(), i("div", Kt)) : p("", !0),
|
|
1923
1938
|
d("div", {
|
|
1924
1939
|
class: "svc-toolbox__tool-content sv-action__content",
|
|
1925
1940
|
onPointerdown: r[0] || (r[0] = //@ts-ignore
|
|
@@ -1939,10 +1954,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
1939
1954
|
], 2);
|
|
1940
1955
|
};
|
|
1941
1956
|
}
|
|
1942
|
-
}),
|
|
1957
|
+
}), Ht = ["aria-label", "title"], Qt = { class: "svc-toolbox__item-container" }, Ot = {
|
|
1943
1958
|
key: 0,
|
|
1944
1959
|
class: "svc-toolbox__item-title"
|
|
1945
|
-
},
|
|
1960
|
+
}, Wt = /* @__PURE__ */ g({
|
|
1946
1961
|
__name: "ToolboxItem",
|
|
1947
1962
|
props: {
|
|
1948
1963
|
creator: {},
|
|
@@ -1951,7 +1966,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
1951
1966
|
viewModel: {}
|
|
1952
1967
|
},
|
|
1953
1968
|
setup(u) {
|
|
1954
|
-
return (t, e) => (a(), i(
|
|
1969
|
+
return (t, e) => (a(), i(f, null, [
|
|
1955
1970
|
h((a(), i("div", {
|
|
1956
1971
|
class: m(["svc-toolbox__item", t.item.renderedCss]),
|
|
1957
1972
|
role: "button",
|
|
@@ -1959,7 +1974,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
1959
1974
|
title: t.item.getTooltip(),
|
|
1960
1975
|
onClick: e[0] || (e[0] = (o) => t.viewModel.click(o))
|
|
1961
1976
|
}, [
|
|
1962
|
-
d("span",
|
|
1977
|
+
d("span", Qt, [
|
|
1963
1978
|
t.item.iconName ? (a(), b(s(c), {
|
|
1964
1979
|
key: 0,
|
|
1965
1980
|
is: "sv-svg-icon",
|
|
@@ -1968,8 +1983,8 @@ const wt = /* @__PURE__ */ g({
|
|
|
1968
1983
|
class: "svc-toolbox__item-icon"
|
|
1969
1984
|
}, null, 8, ["iconName"])) : p("", !0)
|
|
1970
1985
|
]),
|
|
1971
|
-
t.isCompact ? p("", !0) : (a(), i("span",
|
|
1972
|
-
], 10,
|
|
1986
|
+
t.isCompact ? p("", !0) : (a(), i("span", Ot, D(t.item.title), 1))
|
|
1987
|
+
], 10, Ht)), [
|
|
1973
1988
|
[s(M), { disableTabStop: !t.viewModel.toolboxItem.enabled }]
|
|
1974
1989
|
]),
|
|
1975
1990
|
t.isCompact ? (a(), i("span", {
|
|
@@ -1983,11 +1998,11 @@ const wt = /* @__PURE__ */ g({
|
|
|
1983
1998
|
size: 24,
|
|
1984
1999
|
class: "svc-toolbox__item-icon"
|
|
1985
2000
|
}, null, 8, ["iconName"]),
|
|
1986
|
-
d("span", null,
|
|
2001
|
+
d("span", null, D(t.item.title), 1)
|
|
1987
2002
|
])) : p("", !0)
|
|
1988
2003
|
], 64));
|
|
1989
2004
|
}
|
|
1990
|
-
}),
|
|
2005
|
+
}), Gt = /* @__PURE__ */ g({
|
|
1991
2006
|
__name: "ToolboxItemGroup",
|
|
1992
2007
|
props: {
|
|
1993
2008
|
creator: {},
|
|
@@ -2001,7 +2016,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2001
2016
|
}, o = (n) => {
|
|
2002
2017
|
t.viewModel.onMouseLeave(t.item, n);
|
|
2003
2018
|
};
|
|
2004
|
-
return (n, r) => (a(), i(
|
|
2019
|
+
return (n, r) => (a(), i(f, null, [
|
|
2005
2020
|
v(s(c), {
|
|
2006
2021
|
is: "svc-toolbox-item",
|
|
2007
2022
|
viewModel: n.viewModel,
|
|
@@ -2026,10 +2041,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
2026
2041
|
], 32)
|
|
2027
2042
|
], 64));
|
|
2028
2043
|
}
|
|
2029
|
-
}),
|
|
2044
|
+
}), jt = { className: "svc-toolbox__category-header-wrapper" }, Jt = { class: "svc-toolbox__category-title" }, Zt = {
|
|
2030
2045
|
key: 0,
|
|
2031
2046
|
class: "svc-toolbox__category-header__controls"
|
|
2032
|
-
},
|
|
2047
|
+
}, Xt = /* @__PURE__ */ g({
|
|
2033
2048
|
__name: "ToolboxCategory",
|
|
2034
2049
|
props: {
|
|
2035
2050
|
category: {},
|
|
@@ -2037,26 +2052,26 @@ const wt = /* @__PURE__ */ g({
|
|
|
2037
2052
|
},
|
|
2038
2053
|
setup(u) {
|
|
2039
2054
|
const t = u;
|
|
2040
|
-
return
|
|
2055
|
+
return w(() => t.category), (e, o) => (a(), i("div", {
|
|
2041
2056
|
class: m(["svc-toolbox__category", {
|
|
2042
2057
|
"svc-toolbox__category--collapsed": e.category.collapsed,
|
|
2043
2058
|
"svc-toolbox__category--empty": e.category.empty
|
|
2044
2059
|
}])
|
|
2045
2060
|
}, [
|
|
2046
|
-
d("div",
|
|
2061
|
+
d("div", jt, [
|
|
2047
2062
|
h((a(), i("div", {
|
|
2048
2063
|
class: m(["svc-toolbox__category-header", {
|
|
2049
2064
|
"svc-toolbox__category-header--collapsed": e.toolbox.canCollapseCategories
|
|
2050
2065
|
}]),
|
|
2051
2066
|
onClick: o[0] || (o[0] = (n) => e.category.toggleState())
|
|
2052
2067
|
}, [
|
|
2053
|
-
d("span",
|
|
2068
|
+
d("span", Jt, [
|
|
2054
2069
|
v(s(c), {
|
|
2055
2070
|
is: "survey-string",
|
|
2056
2071
|
locString: e.category.locTitle
|
|
2057
2072
|
}, null, 8, ["locString"])
|
|
2058
2073
|
]),
|
|
2059
|
-
e.toolbox.canCollapseCategories ? (a(), i("div",
|
|
2074
|
+
e.toolbox.canCollapseCategories ? (a(), i("div", Zt, [
|
|
2060
2075
|
v(s(c), {
|
|
2061
2076
|
is: "sv-svg-icon",
|
|
2062
2077
|
iconName: e.category.iconName,
|
|
@@ -2068,7 +2083,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2068
2083
|
[s(M)]
|
|
2069
2084
|
])
|
|
2070
2085
|
]),
|
|
2071
|
-
(a(!0), i(
|
|
2086
|
+
(a(!0), i(f, null, V(e.category.items, (n) => (a(), b(s(c), {
|
|
2072
2087
|
is: "svc-toolbox-tool",
|
|
2073
2088
|
item: n,
|
|
2074
2089
|
key: n.renderedId,
|
|
@@ -2078,7 +2093,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2078
2093
|
}, null, 8, ["item", "creator", "parentModel"]))), 128))
|
|
2079
2094
|
], 2));
|
|
2080
2095
|
}
|
|
2081
|
-
}),
|
|
2096
|
+
}), Yt = /* @__PURE__ */ g({
|
|
2082
2097
|
__name: "ToolboxList",
|
|
2083
2098
|
props: {
|
|
2084
2099
|
model: {},
|
|
@@ -2086,10 +2101,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
2086
2101
|
},
|
|
2087
2102
|
setup(u) {
|
|
2088
2103
|
const t = u;
|
|
2089
|
-
return
|
|
2104
|
+
return w(() => t.model), (e, o) => (a(), i("div", {
|
|
2090
2105
|
class: m(e.model.cssClasses.root)
|
|
2091
2106
|
}, [
|
|
2092
|
-
(a(!0), i(
|
|
2107
|
+
(a(!0), i(f, null, V(e.model.renderedActions, (n, r) => (a(), b(s(c), {
|
|
2093
2108
|
key: r,
|
|
2094
2109
|
is: "svc-toolbox-tool",
|
|
2095
2110
|
creator: e.creator,
|
|
@@ -2099,36 +2114,36 @@ const wt = /* @__PURE__ */ g({
|
|
|
2099
2114
|
}, null, 8, ["creator", "item", "parentModel"]))), 128))
|
|
2100
2115
|
], 2));
|
|
2101
2116
|
}
|
|
2102
|
-
}),
|
|
2117
|
+
}), xt = { class: "svc-flex-column" }, en = { class: "svc-tab-designer_content" }, on = {
|
|
2103
2118
|
key: 0,
|
|
2104
2119
|
class: "svc-designer-header"
|
|
2105
|
-
},
|
|
2120
|
+
}, sn = {
|
|
2106
2121
|
class: "svc-designer__placeholder-container",
|
|
2107
2122
|
"data-sv-drop-target-survey-element": "newGhostPage"
|
|
2108
|
-
},
|
|
2123
|
+
}, tn = {
|
|
2109
2124
|
className: "svc-designer-placeholder-page",
|
|
2110
2125
|
"data-sv-drop-target-survey-element": "newGhostPage"
|
|
2111
|
-
},
|
|
2126
|
+
}, nn = {
|
|
2112
2127
|
key: 0,
|
|
2113
2128
|
class: "svc-designer-header"
|
|
2114
|
-
},
|
|
2129
|
+
}, an = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], ln = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], rn = {
|
|
2115
2130
|
key: 0,
|
|
2116
2131
|
class: "svc-tab-designer__tools"
|
|
2117
|
-
},
|
|
2132
|
+
}, dn = {
|
|
2118
2133
|
key: 0,
|
|
2119
2134
|
class: "svc-tab-designer__page-navigator"
|
|
2120
|
-
},
|
|
2135
|
+
}, cn = {
|
|
2121
2136
|
key: 1,
|
|
2122
2137
|
class: "svc-tab-designer__toolbar"
|
|
2123
|
-
},
|
|
2138
|
+
}, un = /* @__PURE__ */ g({
|
|
2124
2139
|
__name: "Designer",
|
|
2125
2140
|
props: {
|
|
2126
2141
|
model: {}
|
|
2127
2142
|
},
|
|
2128
2143
|
setup(u) {
|
|
2129
2144
|
const t = u, e = k(() => t.model.survey);
|
|
2130
|
-
return
|
|
2131
|
-
d("div",
|
|
2145
|
+
return w(() => t.model), w(() => e.value), w(() => t.model.pagesController), (o, n) => (a(), i(f, null, [
|
|
2146
|
+
d("div", xt, [
|
|
2132
2147
|
o.model.isToolboxVisible ? (a(), b(s(c), {
|
|
2133
2148
|
key: 0,
|
|
2134
2149
|
is: "svc-toolbox",
|
|
@@ -2142,21 +2157,21 @@ const wt = /* @__PURE__ */ g({
|
|
|
2142
2157
|
}, [
|
|
2143
2158
|
v(s(c), { is: "sv-scroll" }, {
|
|
2144
2159
|
default: X(() => [
|
|
2145
|
-
d("div",
|
|
2146
|
-
o.model.showPlaceholder ? (a(), i(
|
|
2147
|
-
o.model.creator.showHeaderInEmptySurvey && o.model.creator.showSurveyHeader ? (a(), i("div",
|
|
2160
|
+
d("div", en, [
|
|
2161
|
+
o.model.showPlaceholder ? (a(), i(f, { key: 0 }, [
|
|
2162
|
+
o.model.creator.showHeaderInEmptySurvey && o.model.creator.showSurveyHeader ? (a(), i("div", on, [
|
|
2148
2163
|
v(s(c), {
|
|
2149
2164
|
is: "survey-header",
|
|
2150
2165
|
survey: o.model.creator.survey
|
|
2151
2166
|
}, null, 8, ["survey"])
|
|
2152
2167
|
])) : p("", !0),
|
|
2153
|
-
d("div",
|
|
2168
|
+
d("div", sn, [
|
|
2154
2169
|
v(j, {
|
|
2155
2170
|
name: "designer",
|
|
2156
2171
|
placeholderTitleText: o.model.placeholderTitleText,
|
|
2157
2172
|
placeholderDescriptionText: o.model.placeholderDescriptionText
|
|
2158
2173
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"]),
|
|
2159
|
-
d("div",
|
|
2174
|
+
d("div", tn, [
|
|
2160
2175
|
v(s(c), {
|
|
2161
2176
|
is: "svc-page",
|
|
2162
2177
|
survey: o.model.creator.survey,
|
|
@@ -2167,7 +2182,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2167
2182
|
])
|
|
2168
2183
|
])
|
|
2169
2184
|
], 64)) : p("", !0),
|
|
2170
|
-
o.model.showPlaceholder ? p("", !0) : (a(), i(
|
|
2185
|
+
o.model.showPlaceholder ? p("", !0) : (a(), i(f, { key: 1 }, [
|
|
2171
2186
|
d("div", {
|
|
2172
2187
|
class: m(o.model.designerCss),
|
|
2173
2188
|
style: F([
|
|
@@ -2175,13 +2190,13 @@ const wt = /* @__PURE__ */ g({
|
|
|
2175
2190
|
o.model.surfaceCssVariables
|
|
2176
2191
|
])
|
|
2177
2192
|
}, [
|
|
2178
|
-
o.model.creator.showSurveyHeader ? (a(), i("div",
|
|
2193
|
+
o.model.creator.showSurveyHeader ? (a(), i("div", nn, [
|
|
2179
2194
|
v(s(c), {
|
|
2180
2195
|
is: "survey-header",
|
|
2181
2196
|
survey: o.model.creator.survey
|
|
2182
2197
|
}, null, 8, ["survey"])
|
|
2183
2198
|
])) : p("", !0),
|
|
2184
|
-
o.model.creator.pageEditMode !== "bypage" ? (a(!0), i(
|
|
2199
|
+
o.model.creator.pageEditMode !== "bypage" ? (a(!0), i(f, { key: 1 }, V(o.model.pages, (r) => (a(), i("div", {
|
|
2185
2200
|
key: r.id,
|
|
2186
2201
|
class: "svc-page",
|
|
2187
2202
|
"data-sv-drop-target-survey-element": r != o.model.newPage ? r.name : "newGhostPage",
|
|
@@ -2194,7 +2209,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2194
2209
|
page: r,
|
|
2195
2210
|
isGhost: r == o.model.newPage
|
|
2196
2211
|
}, null, 8, ["survey", "creator", "page", "isGhost"])
|
|
2197
|
-
], 8,
|
|
2212
|
+
], 8, an))), 128)) : p("", !0),
|
|
2198
2213
|
o.model.pagesController.page2Display && o.model.creator.pageEditMode === "bypage" ? (a(), i("div", {
|
|
2199
2214
|
key: 2,
|
|
2200
2215
|
class: "svc-page",
|
|
@@ -2207,17 +2222,17 @@ const wt = /* @__PURE__ */ g({
|
|
|
2207
2222
|
creator: o.model.creator,
|
|
2208
2223
|
isGhost: o.model.pagesController.page2Display == o.model.newPage
|
|
2209
2224
|
}, null, 8, ["page", "creator", "isGhost"])
|
|
2210
|
-
], 8,
|
|
2225
|
+
], 8, ln)) : p("", !0)
|
|
2211
2226
|
], 6),
|
|
2212
|
-
o.model.showSurfaceTools ? (a(), i("div",
|
|
2213
|
-
o.model.creator.showPageNavigator ? (a(), i("div",
|
|
2227
|
+
o.model.showSurfaceTools ? (a(), i("div", rn, [
|
|
2228
|
+
o.model.creator.showPageNavigator ? (a(), i("div", dn, [
|
|
2214
2229
|
v(s(c), {
|
|
2215
2230
|
is: "svc-page-navigator",
|
|
2216
2231
|
pagesController: o.model.pagesController,
|
|
2217
2232
|
pageEditMode: o.model.creator.pageEditMode
|
|
2218
2233
|
}, null, 8, ["pagesController", "pageEditMode"])
|
|
2219
2234
|
])) : p("", !0),
|
|
2220
|
-
o.model.showSurfaceToolbar ? (a(), i("div",
|
|
2235
|
+
o.model.showSurfaceToolbar ? (a(), i("div", cn, [
|
|
2221
2236
|
v(s(c), {
|
|
2222
2237
|
is: "sv-action-bar",
|
|
2223
2238
|
model: o.model.surfaceToolbar
|
|
@@ -2232,16 +2247,16 @@ const wt = /* @__PURE__ */ g({
|
|
|
2232
2247
|
], 2)
|
|
2233
2248
|
], 64));
|
|
2234
2249
|
}
|
|
2235
|
-
}),
|
|
2250
|
+
}), pn = ["id", "data-sv-drop-target-survey-page"], vn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), mn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), _n = {
|
|
2236
2251
|
key: 1,
|
|
2237
2252
|
class: "svc-page__loading-content"
|
|
2238
|
-
},
|
|
2253
|
+
}, gn = {
|
|
2239
2254
|
key: 2,
|
|
2240
2255
|
class: "svc-page__placeholder_frame"
|
|
2241
|
-
},
|
|
2256
|
+
}, bn = { class: "svc-panel__placeholder_frame" }, yn = { class: "svc-panel__placeholder" }, hn = { class: "svc-page__content-actions" }, Cn = {
|
|
2242
2257
|
key: 4,
|
|
2243
2258
|
class: "svc-page__content-actions"
|
|
2244
|
-
},
|
|
2259
|
+
}, qn = /* @__PURE__ */ g({
|
|
2245
2260
|
__name: "Page",
|
|
2246
2261
|
props: {
|
|
2247
2262
|
creator: {},
|
|
@@ -2260,12 +2275,12 @@ const wt = /* @__PURE__ */ g({
|
|
|
2260
2275
|
r.dispose();
|
|
2261
2276
|
}
|
|
2262
2277
|
);
|
|
2263
|
-
|
|
2278
|
+
G(
|
|
2264
2279
|
() => t.isGhost,
|
|
2265
2280
|
() => {
|
|
2266
2281
|
o.value && (o.value.isGhost = t.isGhost);
|
|
2267
2282
|
}
|
|
2268
|
-
),
|
|
2283
|
+
), W(() => {
|
|
2269
2284
|
e.value && o.value && (o.value.rootElement = e.value);
|
|
2270
2285
|
}), R(() => {
|
|
2271
2286
|
e.value && o.value && o.value.setRootElement(e.value);
|
|
@@ -2287,20 +2302,20 @@ const wt = /* @__PURE__ */ g({
|
|
|
2287
2302
|
onMouseover: n,
|
|
2288
2303
|
onMouseleave: n
|
|
2289
2304
|
}, [
|
|
2290
|
-
|
|
2291
|
-
|
|
2305
|
+
vn,
|
|
2306
|
+
mn,
|
|
2292
2307
|
s(o).needRenderContent ? (a(), b(s(c), {
|
|
2293
2308
|
key: 0,
|
|
2294
2309
|
is: "sv-page",
|
|
2295
2310
|
survey: s(o).creator.survey,
|
|
2296
2311
|
page: s(o).page
|
|
2297
2312
|
}, null, 8, ["survey", "page"])) : p("", !0),
|
|
2298
|
-
s(o).needRenderContent ? p("", !0) : (a(), i("div",
|
|
2313
|
+
s(o).needRenderContent ? p("", !0) : (a(), i("div", _n, [
|
|
2299
2314
|
v(s(c), { is: "sv-loading-indicator" })
|
|
2300
2315
|
])),
|
|
2301
|
-
s(o).showPlaceholder ? (a(), i("div",
|
|
2302
|
-
d("div",
|
|
2303
|
-
d("div",
|
|
2316
|
+
s(o).showPlaceholder ? (a(), i("div", gn, [
|
|
2317
|
+
d("div", bn, [
|
|
2318
|
+
d("div", yn, D(s(o).placeholderText), 1)
|
|
2304
2319
|
])
|
|
2305
2320
|
])) : p("", !0),
|
|
2306
2321
|
s(o).allowDragging && !s(o).isGhost ? (a(), i("div", {
|
|
@@ -2308,7 +2323,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2308
2323
|
class: "svc-question__drag-area",
|
|
2309
2324
|
onPointerdown: l[0] || (l[0] = (_) => s(o).onPointerDown(_))
|
|
2310
2325
|
}, [
|
|
2311
|
-
v(s(c),
|
|
2326
|
+
v(s(c), A({
|
|
2312
2327
|
is: "sv-svg-icon",
|
|
2313
2328
|
class: "svc-question__drag-element"
|
|
2314
2329
|
}, {
|
|
@@ -2316,7 +2331,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2316
2331
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2317
2332
|
size: "auto"
|
|
2318
2333
|
}), null, 16),
|
|
2319
|
-
d("div",
|
|
2334
|
+
d("div", hn, [
|
|
2320
2335
|
v(s(c), {
|
|
2321
2336
|
is: "sv-action-bar",
|
|
2322
2337
|
model: s(o).actionContainer
|
|
@@ -2328,7 +2343,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2328
2343
|
}, null, 8, ["model"])) : p("", !0)
|
|
2329
2344
|
])
|
|
2330
2345
|
], 32)) : p("", !0),
|
|
2331
|
-
!s(o).allowDragging || s(o).isGhost ? (a(), i("div",
|
|
2346
|
+
!s(o).allowDragging || s(o).isGhost ? (a(), i("div", Cn, [
|
|
2332
2347
|
v(s(c), {
|
|
2333
2348
|
is: "sv-action-bar",
|
|
2334
2349
|
model: s(o).actionContainer
|
|
@@ -2343,11 +2358,11 @@ const wt = /* @__PURE__ */ g({
|
|
|
2343
2358
|
is: "sv-action-bar",
|
|
2344
2359
|
model: s(o).footerActionsBar
|
|
2345
2360
|
}, null, 8, ["model"])
|
|
2346
|
-
], 42,
|
|
2361
|
+
], 42, pn)), [
|
|
2347
2362
|
[s(M)]
|
|
2348
2363
|
]) : p("", !0);
|
|
2349
2364
|
}
|
|
2350
|
-
}),
|
|
2365
|
+
}), $n = { class: "svc-add-new-item-button__text" }, kn = /* @__PURE__ */ g({
|
|
2351
2366
|
__name: "AddQuestion",
|
|
2352
2367
|
props: {
|
|
2353
2368
|
item: {},
|
|
@@ -2356,13 +2371,13 @@ const wt = /* @__PURE__ */ g({
|
|
|
2356
2371
|
},
|
|
2357
2372
|
setup(u) {
|
|
2358
2373
|
const t = u;
|
|
2359
|
-
|
|
2374
|
+
w(() => t.item.data);
|
|
2360
2375
|
const e = k(
|
|
2361
2376
|
() => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")
|
|
2362
2377
|
), o = k(
|
|
2363
2378
|
() => t.renderPopup === void 0 || t.renderPopup !== !1
|
|
2364
2379
|
);
|
|
2365
|
-
return (n, r) => (a(), i(
|
|
2380
|
+
return (n, r) => (a(), i(f, null, [
|
|
2366
2381
|
h((a(), i("div", {
|
|
2367
2382
|
class: m(e.value),
|
|
2368
2383
|
onClick: r[0] || (r[0] = (l) => {
|
|
@@ -2376,7 +2391,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2376
2391
|
iconName: "icon-add_24x24",
|
|
2377
2392
|
size: "auto"
|
|
2378
2393
|
}),
|
|
2379
|
-
d("span",
|
|
2394
|
+
d("span", $n, D(n.item.data.addNewQuestionText), 1),
|
|
2380
2395
|
o.value ? (a(), b(s(c), {
|
|
2381
2396
|
key: 0,
|
|
2382
2397
|
is: "svc-add-question-type-selector",
|
|
@@ -2394,7 +2409,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2394
2409
|
}, null, 8, ["questionTypeSelectorModel", "renderPopup"]))
|
|
2395
2410
|
], 64));
|
|
2396
2411
|
}
|
|
2397
|
-
}),
|
|
2412
|
+
}), fn = ["title", "aria-label"], wn = /* @__PURE__ */ g({
|
|
2398
2413
|
__name: "AddQuestionTypeSelector",
|
|
2399
2414
|
props: {
|
|
2400
2415
|
questionTypeSelectorModel: {},
|
|
@@ -2402,7 +2417,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2402
2417
|
},
|
|
2403
2418
|
setup(u) {
|
|
2404
2419
|
const t = u;
|
|
2405
|
-
return
|
|
2420
|
+
return w(() => t.questionTypeSelectorModel), (e, o) => h((a(), i("button", {
|
|
2406
2421
|
type: "button",
|
|
2407
2422
|
onClick: o[0] || (o[0] = (n) => {
|
|
2408
2423
|
e.questionTypeSelectorModel.action(), n.stopPropagation();
|
|
@@ -2411,7 +2426,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2411
2426
|
"aria-label": e.questionTypeSelectorModel.title,
|
|
2412
2427
|
class: "svc-element__question-type-selector"
|
|
2413
2428
|
}, [
|
|
2414
|
-
v(s(c),
|
|
2429
|
+
v(s(c), A({
|
|
2415
2430
|
is: "sv-svg-icon",
|
|
2416
2431
|
class: "svc-element__question-type-selector-icon"
|
|
2417
2432
|
}, {
|
|
@@ -2424,11 +2439,11 @@ const wt = /* @__PURE__ */ g({
|
|
|
2424
2439
|
is: "sv-popup",
|
|
2425
2440
|
model: e.questionTypeSelectorModel.popupModel
|
|
2426
2441
|
}, null, 8, ["model"])) : p("", !0)
|
|
2427
|
-
], 8,
|
|
2442
|
+
], 8, fn)), [
|
|
2428
2443
|
[s(M)]
|
|
2429
2444
|
]);
|
|
2430
2445
|
}
|
|
2431
|
-
}),
|
|
2446
|
+
}), Dn = /* @__PURE__ */ d("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1), Tn = /* @__PURE__ */ d("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1), Nn = /* @__PURE__ */ g({
|
|
2432
2447
|
__name: "Row",
|
|
2433
2448
|
props: {
|
|
2434
2449
|
componentData: {}
|
|
@@ -2448,15 +2463,15 @@ const wt = /* @__PURE__ */ g({
|
|
|
2448
2463
|
}), (r, l) => (a(), i("div", {
|
|
2449
2464
|
class: m(s(n).cssClasses)
|
|
2450
2465
|
}, [
|
|
2451
|
-
|
|
2452
|
-
|
|
2466
|
+
Dn,
|
|
2467
|
+
Tn,
|
|
2453
2468
|
x(r.$slots, "default")
|
|
2454
2469
|
], 2));
|
|
2455
2470
|
}
|
|
2456
|
-
}),
|
|
2471
|
+
}), Mn = ["data-sv-drop-target-survey-element"], Sn = { class: "svc-fake-title" }, Bn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), In = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), En = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), Pn = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), Rn = { class: "svc-question__top-actions" }, Vn = {
|
|
2457
2472
|
key: 0,
|
|
2458
2473
|
class: "svc-panel__placeholder_frame-wrapper"
|
|
2459
|
-
},
|
|
2474
|
+
}, An = { class: "svc-panel__placeholder_frame" }, zn = {
|
|
2460
2475
|
class: "svc-panel__placeholder",
|
|
2461
2476
|
"data-bind": "text: placeholderText"
|
|
2462
2477
|
}, oe = /* @__PURE__ */ g({
|
|
@@ -2481,7 +2496,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2481
2496
|
), n = k(
|
|
2482
2497
|
() => o.value.isBannerShowing ? o.value.createBannerParams() : null
|
|
2483
2498
|
);
|
|
2484
|
-
|
|
2499
|
+
W(() => {
|
|
2485
2500
|
e.value && o.value && (o.value.rootElement = e.value);
|
|
2486
2501
|
}), R(() => {
|
|
2487
2502
|
e.value && o.value && (o.value.rootElement = e.value);
|
|
@@ -2513,7 +2528,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2513
2528
|
key: 1,
|
|
2514
2529
|
class: m(s(o).cssCollapsedHiddenTitle)
|
|
2515
2530
|
}, [
|
|
2516
|
-
d("span",
|
|
2531
|
+
d("span", Sn, D(l.element.name), 1)
|
|
2517
2532
|
], 2))
|
|
2518
2533
|
], 2)) : p("", !0),
|
|
2519
2534
|
h((a(), i("div", {
|
|
@@ -2522,16 +2537,16 @@ const wt = /* @__PURE__ */ g({
|
|
|
2522
2537
|
}),
|
|
2523
2538
|
class: m(s(o).css())
|
|
2524
2539
|
}, [
|
|
2525
|
-
Mn,
|
|
2526
|
-
Sn,
|
|
2527
2540
|
Bn,
|
|
2528
2541
|
In,
|
|
2542
|
+
En,
|
|
2543
|
+
Pn,
|
|
2529
2544
|
s(o).allowDragging ? (a(), i("div", {
|
|
2530
2545
|
key: 0,
|
|
2531
2546
|
class: "svc-question__drag-area",
|
|
2532
2547
|
onPointerdown: _[0] || (_[0] = (N) => s(o).onPointerDown(N))
|
|
2533
2548
|
}, [
|
|
2534
|
-
v(s(c),
|
|
2549
|
+
v(s(c), A({
|
|
2535
2550
|
is: "sv-svg-icon",
|
|
2536
2551
|
class: "svc-question__drag-element"
|
|
2537
2552
|
}, {
|
|
@@ -2539,7 +2554,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2539
2554
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2540
2555
|
size: "auto"
|
|
2541
2556
|
}), null, 16),
|
|
2542
|
-
d("div",
|
|
2557
|
+
d("div", Rn, [
|
|
2543
2558
|
v(s(c), {
|
|
2544
2559
|
is: "sv-action-bar",
|
|
2545
2560
|
model: s(o).topActionContainer,
|
|
@@ -2547,18 +2562,18 @@ const wt = /* @__PURE__ */ g({
|
|
|
2547
2562
|
}, null, 8, ["model"])
|
|
2548
2563
|
])
|
|
2549
2564
|
], 32)) : p("", !0),
|
|
2550
|
-
s(o).needToRenderContent ? (a(), i(
|
|
2565
|
+
s(o).needToRenderContent ? (a(), i(f, { key: 1 }, [
|
|
2551
2566
|
v(s(c), {
|
|
2552
2567
|
is: "sv-template-renderer",
|
|
2553
2568
|
componentName: l.componentName,
|
|
2554
2569
|
componentData: l.componentData
|
|
2555
2570
|
}, null, 8, ["componentName", "componentData"]),
|
|
2556
|
-
s(o).isEmptyElement && !l.showPlaceholderComponent ? (a(), i("div",
|
|
2557
|
-
d("div",
|
|
2558
|
-
d("div",
|
|
2571
|
+
s(o).isEmptyElement && !l.showPlaceholderComponent ? (a(), i("div", Vn, [
|
|
2572
|
+
d("div", An, [
|
|
2573
|
+
d("div", zn, D(s(o).placeholderText), 1)
|
|
2559
2574
|
])
|
|
2560
2575
|
])) : p("", !0),
|
|
2561
|
-
s(o).isEmptyElement && l.showPlaceholderComponent ? (a(), b(s(c),
|
|
2576
|
+
s(o).isEmptyElement && l.showPlaceholderComponent ? (a(), b(s(c), A(
|
|
2562
2577
|
{
|
|
2563
2578
|
key: 1,
|
|
2564
2579
|
is: l.placeholderComponent
|
|
@@ -2590,7 +2605,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2590
2605
|
], 2)), [
|
|
2591
2606
|
[s(M), { disableTabStop: !0 }]
|
|
2592
2607
|
])
|
|
2593
|
-
], 42,
|
|
2608
|
+
], 42, Mn)) : p("", !0);
|
|
2594
2609
|
}
|
|
2595
2610
|
}), ae = /* @__PURE__ */ g({
|
|
2596
2611
|
__name: "Question",
|
|
@@ -2611,7 +2626,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2611
2626
|
"component-data": o.componentData
|
|
2612
2627
|
}, null, 8, ["element", "component-name", "component-data"]));
|
|
2613
2628
|
}
|
|
2614
|
-
}),
|
|
2629
|
+
}), Ln = /* @__PURE__ */ g({
|
|
2615
2630
|
__name: "QuestionImage",
|
|
2616
2631
|
props: {
|
|
2617
2632
|
componentName: {},
|
|
@@ -2636,34 +2651,34 @@ const wt = /* @__PURE__ */ g({
|
|
|
2636
2651
|
"adorner-component": "svc-image-question-adorner"
|
|
2637
2652
|
}, null, 8, ["element", "component-data", "component-name"]));
|
|
2638
2653
|
}
|
|
2639
|
-
}),
|
|
2654
|
+
}), Fn = {
|
|
2640
2655
|
key: 0,
|
|
2641
2656
|
class: "svc-image-question-controls"
|
|
2642
|
-
},
|
|
2657
|
+
}, Kn = ["accept"], Un = {
|
|
2643
2658
|
class: "svc-context-button",
|
|
2644
2659
|
title: void 0,
|
|
2645
2660
|
"aria-label": void 0
|
|
2646
|
-
},
|
|
2661
|
+
}, Hn = {
|
|
2647
2662
|
key: 1,
|
|
2648
2663
|
class: "svc-image-question__loading-placeholder"
|
|
2649
|
-
},
|
|
2664
|
+
}, Qn = { class: "svc-image-question__loading" }, On = /* @__PURE__ */ g({
|
|
2650
2665
|
__name: "Image",
|
|
2651
2666
|
props: {
|
|
2652
2667
|
model: {},
|
|
2653
2668
|
element: {}
|
|
2654
2669
|
},
|
|
2655
2670
|
setup(u) {
|
|
2656
|
-
return (t, e) => (a(), i(
|
|
2657
|
-
!t.model.isUploading && !t.model.isEmptyElement ? (a(), i("div",
|
|
2658
|
-
t.model.allowEdit ? (a(), i(
|
|
2671
|
+
return (t, e) => (a(), i(f, null, [
|
|
2672
|
+
!t.model.isUploading && !t.model.isEmptyElement ? (a(), i("div", Fn, [
|
|
2673
|
+
t.model.allowEdit ? (a(), i(f, { key: 0 }, [
|
|
2659
2674
|
d("input", {
|
|
2660
2675
|
type: "file",
|
|
2661
2676
|
"aria-hidden": "true",
|
|
2662
2677
|
tabindex: "-1",
|
|
2663
2678
|
accept: t.model.acceptedTypes,
|
|
2664
2679
|
class: "svc-choose-file-input"
|
|
2665
|
-
}, null, 8,
|
|
2666
|
-
h((a(), i("span",
|
|
2680
|
+
}, null, 8, Kn),
|
|
2681
|
+
h((a(), i("span", Un, [
|
|
2667
2682
|
v(s(c), {
|
|
2668
2683
|
is: "sv-svg-icon",
|
|
2669
2684
|
iconName: "icon-choosefile",
|
|
@@ -2675,14 +2690,14 @@ const wt = /* @__PURE__ */ g({
|
|
|
2675
2690
|
])
|
|
2676
2691
|
], 64)) : p("", !0)
|
|
2677
2692
|
])) : p("", !0),
|
|
2678
|
-
t.model.isUploading && !t.model.isEmptyElement ? (a(), i("div",
|
|
2679
|
-
d("div",
|
|
2693
|
+
t.model.isUploading && !t.model.isEmptyElement ? (a(), i("div", Hn, [
|
|
2694
|
+
d("div", Qn, [
|
|
2680
2695
|
v(s(c), { is: "sv-loading-indicator" })
|
|
2681
2696
|
])
|
|
2682
2697
|
])) : p("", !0)
|
|
2683
2698
|
], 64));
|
|
2684
2699
|
}
|
|
2685
|
-
}),
|
|
2700
|
+
}), Wn = { class: "svc-rating-question-content" }, Gn = ["aria-label"], jn = ["aria-label"], Jn = /* @__PURE__ */ g({
|
|
2686
2701
|
__name: "Rating",
|
|
2687
2702
|
props: {
|
|
2688
2703
|
componentData: {},
|
|
@@ -2699,7 +2714,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2699
2714
|
);
|
|
2700
2715
|
return (o, n) => {
|
|
2701
2716
|
var r, l, _, N, $, q, C, I, L;
|
|
2702
|
-
return a(), i("div",
|
|
2717
|
+
return a(), i("div", Wn, [
|
|
2703
2718
|
d("div", {
|
|
2704
2719
|
class: m((r = s(e)) == null ? void 0 : r.controlsClassNames)
|
|
2705
2720
|
}, [
|
|
@@ -2719,7 +2734,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2719
2734
|
size: "auto",
|
|
2720
2735
|
title: ($ = s(e)) == null ? void 0 : $.removeTooltip
|
|
2721
2736
|
}, null, 8, ["title"])
|
|
2722
|
-
], 10,
|
|
2737
|
+
], 10, Gn)), [
|
|
2723
2738
|
[s(M)]
|
|
2724
2739
|
]) : p("", !0),
|
|
2725
2740
|
(q = s(e)) != null && q.allowAdd ? h((a(), i("span", {
|
|
@@ -2738,7 +2753,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2738
2753
|
size: "auto",
|
|
2739
2754
|
title: (L = s(e)) == null ? void 0 : L.addTooltip
|
|
2740
2755
|
}, null, 8, ["title"])
|
|
2741
|
-
], 10,
|
|
2756
|
+
], 10, jn)), [
|
|
2742
2757
|
[s(M)]
|
|
2743
2758
|
]) : p("", !0)
|
|
2744
2759
|
], 2),
|
|
@@ -2746,10 +2761,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
2746
2761
|
]);
|
|
2747
2762
|
};
|
|
2748
2763
|
}
|
|
2749
|
-
}),
|
|
2764
|
+
}), Zn = {
|
|
2750
2765
|
key: 0,
|
|
2751
2766
|
class: "svc-matrix-cell__question-controls"
|
|
2752
|
-
},
|
|
2767
|
+
}, Xn = /* @__PURE__ */ g({
|
|
2753
2768
|
__name: "MatrixCell",
|
|
2754
2769
|
props: {
|
|
2755
2770
|
componentData: {}
|
|
@@ -2760,7 +2775,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2760
2775
|
), _ = z(
|
|
2761
2776
|
() => {
|
|
2762
2777
|
var N;
|
|
2763
|
-
return t.componentData ? new
|
|
2778
|
+
return t.componentData ? new De(
|
|
2764
2779
|
e.value,
|
|
2765
2780
|
r.value,
|
|
2766
2781
|
l.value,
|
|
@@ -2797,7 +2812,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2797
2812
|
class: m(["svc-matrix-cell--selected", { "svc-visible": (q = s(_)) == null ? void 0 : q.isSelected }])
|
|
2798
2813
|
}, null, 2),
|
|
2799
2814
|
x(N.$slots, "default"),
|
|
2800
|
-
(C = s(_)) != null && C.isSupportCellEditor ? (a(), i("div",
|
|
2815
|
+
(C = s(_)) != null && C.isSupportCellEditor ? (a(), i("div", Zn, [
|
|
2801
2816
|
h((a(), i("span", {
|
|
2802
2817
|
class: "svc-matrix-cell__question-controls-button svc-context-button",
|
|
2803
2818
|
onClick: $[0] || ($[0] = (I) => s(_).editQuestion(s(_), I))
|
|
@@ -2814,7 +2829,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2814
2829
|
], 32);
|
|
2815
2830
|
};
|
|
2816
2831
|
}
|
|
2817
|
-
}),
|
|
2832
|
+
}), Yn = { class: "svc-question__adorner" }, xn = { class: "svc-question__content svc-question__content--in-popup" }, ea = /* @__PURE__ */ g({
|
|
2818
2833
|
__name: "CellQuestion",
|
|
2819
2834
|
props: {
|
|
2820
2835
|
componentName: {},
|
|
@@ -2824,19 +2839,19 @@ const wt = /* @__PURE__ */ g({
|
|
|
2824
2839
|
const t = u, e = k(
|
|
2825
2840
|
() => t.componentData.element
|
|
2826
2841
|
);
|
|
2827
|
-
return
|
|
2828
|
-
d("div",
|
|
2829
|
-
v(s(c),
|
|
2842
|
+
return w(() => e.value), (o, n) => (a(), i("div", Yn, [
|
|
2843
|
+
d("div", xn, [
|
|
2844
|
+
v(s(c), A({ is: o.componentName }, o.componentData), null, 16, ["is"])
|
|
2830
2845
|
])
|
|
2831
2846
|
]));
|
|
2832
2847
|
}
|
|
2833
|
-
}),
|
|
2848
|
+
}), oa = ["data-sv-drop-target-survey-element"], sa = { class: "svc-fake-title" }, ta = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), na = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), aa = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), la = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), ia = { class: "svc-question__top-actions" }, ra = {
|
|
2834
2849
|
key: 0,
|
|
2835
2850
|
class: "svc-panel__placeholder_frame-wrapper"
|
|
2836
|
-
},
|
|
2851
|
+
}, da = { class: "svc-panel__placeholder_frame" }, ca = { class: "svc-panel__placeholder" }, ua = { class: "svc-add-new-item-button__text" }, pa = {
|
|
2837
2852
|
key: 1,
|
|
2838
2853
|
class: "svc-panel__add-new-question-container"
|
|
2839
|
-
},
|
|
2854
|
+
}, va = { class: "svc-panel__question-type-selector-popup" }, ma = { class: "svc-panel__add-new-question-wrapper" }, _a = /* @__PURE__ */ g({
|
|
2840
2855
|
__name: "Panel",
|
|
2841
2856
|
props: {
|
|
2842
2857
|
componentName: {},
|
|
@@ -2878,17 +2893,17 @@ const wt = /* @__PURE__ */ g({
|
|
|
2878
2893
|
key: 1,
|
|
2879
2894
|
class: m(s(e).cssCollapsedHiddenTitle)
|
|
2880
2895
|
}, [
|
|
2881
|
-
d("span",
|
|
2896
|
+
d("span", sa, D(s(e).element.name), 1)
|
|
2882
2897
|
], 2))
|
|
2883
2898
|
], 2)) : p("", !0),
|
|
2884
2899
|
h((a(), i("div", {
|
|
2885
2900
|
class: m(s(e).css()),
|
|
2886
2901
|
onClick: r[2] || (r[2] = (l) => s(e).element.isInteractiveDesignElement ? s(e).select(s(e), l) : null)
|
|
2887
2902
|
}, [
|
|
2888
|
-
oa,
|
|
2889
|
-
sa,
|
|
2890
2903
|
ta,
|
|
2891
2904
|
na,
|
|
2905
|
+
aa,
|
|
2906
|
+
la,
|
|
2892
2907
|
s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (a(), i("div", {
|
|
2893
2908
|
key: 0,
|
|
2894
2909
|
class: "svc-question__drag-area",
|
|
@@ -2900,7 +2915,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2900
2915
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2901
2916
|
size: "auto"
|
|
2902
2917
|
}),
|
|
2903
|
-
d("div",
|
|
2918
|
+
d("div", ia, [
|
|
2904
2919
|
v(s(c), {
|
|
2905
2920
|
is: "sv-action-bar",
|
|
2906
2921
|
model: s(e).topActionContainer,
|
|
@@ -2908,11 +2923,11 @@ const wt = /* @__PURE__ */ g({
|
|
|
2908
2923
|
}, null, 8, ["model"])
|
|
2909
2924
|
])
|
|
2910
2925
|
], 32)) : p("", !0),
|
|
2911
|
-
s(e).needToRenderContent ? (a(), i(
|
|
2912
|
-
v(s(c),
|
|
2913
|
-
s(e).isEmptyElement ? (a(), i("div",
|
|
2914
|
-
d("div",
|
|
2915
|
-
d("div",
|
|
2926
|
+
s(e).needToRenderContent ? (a(), i(f, { key: 1 }, [
|
|
2927
|
+
v(s(c), A({ is: n.componentName }, n.componentData), null, 16, ["is"]),
|
|
2928
|
+
s(e).isEmptyElement ? (a(), i("div", ra, [
|
|
2929
|
+
d("div", da, [
|
|
2930
|
+
d("div", ca, D(s(e).placeholderText), 1),
|
|
2916
2931
|
s(e).showAddQuestionButton ? h((a(), i("div", {
|
|
2917
2932
|
key: 0,
|
|
2918
2933
|
class: "svc-panel__add-new-question svc-action-button",
|
|
@@ -2924,20 +2939,20 @@ const wt = /* @__PURE__ */ g({
|
|
|
2924
2939
|
iconName: "icon-add_24x24",
|
|
2925
2940
|
size: "auto"
|
|
2926
2941
|
}),
|
|
2927
|
-
d("span",
|
|
2942
|
+
d("span", ua, D(s(e).addNewQuestionText), 1)
|
|
2928
2943
|
])), [
|
|
2929
2944
|
[s(M)]
|
|
2930
2945
|
]) : p("", !0)
|
|
2931
2946
|
])
|
|
2932
2947
|
])) : p("", !0),
|
|
2933
|
-
!s(e).isEmptyElement && s(e).showAddQuestionButton ? (a(), i("div",
|
|
2934
|
-
d("div",
|
|
2948
|
+
!s(e).isEmptyElement && s(e).showAddQuestionButton ? (a(), i("div", pa, [
|
|
2949
|
+
d("div", va, [
|
|
2935
2950
|
v(s(c), {
|
|
2936
2951
|
is: "sv-popup",
|
|
2937
2952
|
model: s(e).questionTypeSelectorModel.popupModel
|
|
2938
2953
|
}, null, 8, ["model"])
|
|
2939
2954
|
]),
|
|
2940
|
-
d("div",
|
|
2955
|
+
d("div", ma, [
|
|
2941
2956
|
v(s(c), {
|
|
2942
2957
|
is: "svc-add-new-question-btn",
|
|
2943
2958
|
item: { data: s(e) },
|
|
@@ -2961,22 +2976,22 @@ const wt = /* @__PURE__ */ g({
|
|
|
2961
2976
|
], 2)), [
|
|
2962
2977
|
[s(M), { disableTabStop: !0 }]
|
|
2963
2978
|
])
|
|
2964
|
-
], 42,
|
|
2979
|
+
], 42, oa)) : p("", !0);
|
|
2965
2980
|
}
|
|
2966
|
-
}),
|
|
2981
|
+
}), ga = ["data-sv-drop-target-item-value"], ba = /* @__PURE__ */ d("div", { class: "svc-item-value__ghost" }, null, -1), ya = { class: "svc-item-value-controls" }, ha = {
|
|
2967
2982
|
key: 0,
|
|
2968
2983
|
class: "svc-item-value-controls__button svc-item-value-controls__drag"
|
|
2969
|
-
},
|
|
2984
|
+
}, Ca = ["aria-label"], qa = ["aria-label"], $a = {
|
|
2970
2985
|
key: 0,
|
|
2971
2986
|
class: "svc-item-value-controls svc-choice-elements-button-container"
|
|
2972
|
-
},
|
|
2987
|
+
}, ka = /* @__PURE__ */ g({
|
|
2973
2988
|
__name: "ItemValue",
|
|
2974
2989
|
props: {
|
|
2975
2990
|
componentName: {},
|
|
2976
2991
|
componentData: {}
|
|
2977
2992
|
},
|
|
2978
2993
|
setup(u) {
|
|
2979
|
-
const t = P(), e = u, o = k(() => e.componentData.data.creator), n = k(() => e.componentData.question), r = k(() => e.componentData.item), l =
|
|
2994
|
+
const t = P(), e = u, o = k(() => e.componentData.data.creator), n = k(() => e.componentData.question), r = k(() => e.componentData.item), l = G(
|
|
2980
2995
|
() => r.value,
|
|
2981
2996
|
(q, C) => {
|
|
2982
2997
|
q && t.value && q.setRootElement(t.value), C && C.setRootElement(void 0);
|
|
@@ -2988,7 +3003,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
2988
3003
|
r.value.setRootElement(void 0);
|
|
2989
3004
|
});
|
|
2990
3005
|
const _ = z(
|
|
2991
|
-
() => new
|
|
3006
|
+
() => new Te(o.value, n.value, r.value),
|
|
2992
3007
|
[() => o.value, () => n.value, () => r.value],
|
|
2993
3008
|
(q) => {
|
|
2994
3009
|
q.dispose();
|
|
@@ -3016,7 +3031,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3016
3031
|
}
|
|
3017
3032
|
};
|
|
3018
3033
|
};
|
|
3019
|
-
return (q, C) => (a(), i(
|
|
3034
|
+
return (q, C) => (a(), i(f, null, [
|
|
3020
3035
|
d("div", {
|
|
3021
3036
|
class: m(["svc-item-value-wrapper", {
|
|
3022
3037
|
"svc-item-value--new": s(_).isNew,
|
|
@@ -3030,9 +3045,9 @@ const wt = /* @__PURE__ */ g({
|
|
|
3030
3045
|
ref_key: "root",
|
|
3031
3046
|
ref: t
|
|
3032
3047
|
}, [
|
|
3033
|
-
|
|
3034
|
-
d("div",
|
|
3035
|
-
s(_).isDraggable ? (a(), i("span",
|
|
3048
|
+
ba,
|
|
3049
|
+
d("div", ya, [
|
|
3050
|
+
s(_).isDraggable ? (a(), i("span", ha, [
|
|
3036
3051
|
v(s(c), {
|
|
3037
3052
|
is: "sv-svg-icon",
|
|
3038
3053
|
class: "svc-item-value-controls__drag-icon",
|
|
@@ -3054,7 +3069,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3054
3069
|
size: "auto",
|
|
3055
3070
|
title: s(_).tooltip
|
|
3056
3071
|
}, null, 8, ["title"])
|
|
3057
|
-
], 8,
|
|
3072
|
+
], 8, Ca)), [
|
|
3058
3073
|
[s(M)]
|
|
3059
3074
|
]) : p("", !0),
|
|
3060
3075
|
s(_).allowRemove ? h((a(), i("span", {
|
|
@@ -3071,7 +3086,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3071
3086
|
size: "auto",
|
|
3072
3087
|
title: s(_).tooltip
|
|
3073
3088
|
}, null, 8, ["title"])
|
|
3074
|
-
], 40,
|
|
3089
|
+
], 40, qa)), [
|
|
3075
3090
|
[s(M)]
|
|
3076
3091
|
]) : p("", !0)
|
|
3077
3092
|
]),
|
|
@@ -3079,9 +3094,9 @@ const wt = /* @__PURE__ */ g({
|
|
|
3079
3094
|
class: "svc-item-value__item",
|
|
3080
3095
|
onClick: C[3] || (C[3] = (I) => s(_).select(s(_), I))
|
|
3081
3096
|
}, [
|
|
3082
|
-
v(s(c),
|
|
3097
|
+
v(s(c), A({ is: q.componentName }, q.componentData), null, 16, ["is"])
|
|
3083
3098
|
]),
|
|
3084
|
-
s(_).canShowPanel() ? (a(), i("div",
|
|
3099
|
+
s(_).canShowPanel() ? (a(), i("div", $a, [
|
|
3085
3100
|
h((a(), i("span", {
|
|
3086
3101
|
role: "button",
|
|
3087
3102
|
class: "svc-item-value-controls__button svc-item-value-controls__add svc-choice-elements-button",
|
|
@@ -3096,26 +3111,26 @@ const wt = /* @__PURE__ */ g({
|
|
|
3096
3111
|
[s(M)]
|
|
3097
3112
|
])
|
|
3098
3113
|
])) : p("", !0)
|
|
3099
|
-
], 42,
|
|
3100
|
-
s(_).showPanel ? (a(), b(s(c),
|
|
3114
|
+
], 42, ga),
|
|
3115
|
+
s(_).showPanel ? (a(), b(s(c), A({
|
|
3101
3116
|
key: 0,
|
|
3102
3117
|
is: N(r.value.panel)
|
|
3103
3118
|
}, $(r.value.panel)), null, 16, ["is"])) : p("", !0)
|
|
3104
3119
|
], 64));
|
|
3105
3120
|
}
|
|
3106
|
-
}),
|
|
3121
|
+
}), fa = ["data-sv-drop-target-item-value"], wa = { class: "svc-image-item-value-wrapper__content" }, Da = ["accept"], Ta = {
|
|
3107
3122
|
key: 0,
|
|
3108
3123
|
class: "svc-image-item-value__item"
|
|
3109
|
-
},
|
|
3124
|
+
}, Na = {
|
|
3110
3125
|
key: 2,
|
|
3111
3126
|
class: "svc-context-container svc-image-item-value-controls"
|
|
3112
|
-
},
|
|
3127
|
+
}, Ma = { class: "svc-image-item-value__item" }, Sa = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, Ba = { class: "sd-imagepicker__label" }, Ia = {
|
|
3113
3128
|
key: 0,
|
|
3114
3129
|
class: "svc-image-item-value__loading"
|
|
3115
|
-
},
|
|
3130
|
+
}, Ea = {
|
|
3116
3131
|
key: 0,
|
|
3117
3132
|
class: "svc-image-item-value__placeholder"
|
|
3118
|
-
},
|
|
3133
|
+
}, Pa = { key: 1 }, Ra = /* @__PURE__ */ g({
|
|
3119
3134
|
__name: "ImageItemValue",
|
|
3120
3135
|
props: {
|
|
3121
3136
|
componentName: {},
|
|
@@ -3164,17 +3179,17 @@ const wt = /* @__PURE__ */ g({
|
|
|
3164
3179
|
class: "svc-image-item-value-wrapper__ghost",
|
|
3165
3180
|
style: F(N.value)
|
|
3166
3181
|
}, null, 4),
|
|
3167
|
-
d("div",
|
|
3182
|
+
d("div", wa, [
|
|
3168
3183
|
d("input", {
|
|
3169
3184
|
type: "file",
|
|
3170
3185
|
"aria-hidden": "true",
|
|
3171
3186
|
tabindex: "-1",
|
|
3172
3187
|
accept: s(l).acceptedTypes,
|
|
3173
3188
|
class: "svc-choose-file-input"
|
|
3174
|
-
}, null, 8,
|
|
3175
|
-
!s(l).isNew && !s(l).isUploading ? (a(), i(
|
|
3176
|
-
s(l).isNew ? p("", !0) : (a(), i("div",
|
|
3177
|
-
v(s(c),
|
|
3189
|
+
}, null, 8, Da),
|
|
3190
|
+
!s(l).isNew && !s(l).isUploading ? (a(), i(f, { key: 0 }, [
|
|
3191
|
+
s(l).isNew ? p("", !0) : (a(), i("div", Ta, [
|
|
3192
|
+
v(s(c), A({ is: $.componentName }, $.componentData), null, 16, ["is"])
|
|
3178
3193
|
])),
|
|
3179
3194
|
s(l).isDraggable && s(l).canRenderControls ? (a(), i("span", {
|
|
3180
3195
|
key: 1,
|
|
@@ -3189,7 +3204,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3189
3204
|
size: "auto"
|
|
3190
3205
|
})
|
|
3191
3206
|
], 32)) : p("", !0),
|
|
3192
|
-
s(l).canRenderControls ? (a(), i("div",
|
|
3207
|
+
s(l).canRenderControls ? (a(), i("div", Na, [
|
|
3193
3208
|
h((a(), i("span", {
|
|
3194
3209
|
class: "svc-context-button",
|
|
3195
3210
|
onClick: q[1] || (q[1] = (C) => s(l).chooseFile(s(l))),
|
|
@@ -3223,15 +3238,15 @@ const wt = /* @__PURE__ */ g({
|
|
|
3223
3238
|
[s(M)]
|
|
3224
3239
|
])
|
|
3225
3240
|
])) : p("", !0)
|
|
3226
|
-
], 64)) : (a(), i(
|
|
3227
|
-
d("div",
|
|
3228
|
-
d("div",
|
|
3229
|
-
d("label",
|
|
3241
|
+
], 64)) : (a(), i(f, { key: 1 }, [
|
|
3242
|
+
d("div", Ma, [
|
|
3243
|
+
d("div", Sa, [
|
|
3244
|
+
d("label", Ba, [
|
|
3230
3245
|
d("div", {
|
|
3231
3246
|
style: F(N.value),
|
|
3232
3247
|
class: "sd-imagepicker__image"
|
|
3233
3248
|
}, [
|
|
3234
|
-
s(l).isUploading ? (a(), i("div",
|
|
3249
|
+
s(l).isUploading ? (a(), i("div", Ia, [
|
|
3235
3250
|
v(s(c), { is: "sv-loading-indicator" })
|
|
3236
3251
|
])) : p("", !0)
|
|
3237
3252
|
], 4)
|
|
@@ -3243,7 +3258,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3243
3258
|
class: "svc-image-item-value-controls",
|
|
3244
3259
|
onPointerdown: q[4] || (q[4] = (C) => C.stopPropagation())
|
|
3245
3260
|
}, [
|
|
3246
|
-
s(l).showPlaceholder ? (a(), i("span",
|
|
3261
|
+
s(l).showPlaceholder ? (a(), i("span", Ea, D(s(l).placeholderText), 1)) : p("", !0),
|
|
3247
3262
|
h((a(), i("span", {
|
|
3248
3263
|
class: m(s(l).addButtonCss),
|
|
3249
3264
|
onClick: q[3] || (q[3] = (C) => s(l).chooseNewFile(s(l)))
|
|
@@ -3254,16 +3269,16 @@ const wt = /* @__PURE__ */ g({
|
|
|
3254
3269
|
iconName: "icon-add-lg",
|
|
3255
3270
|
size: "auto",
|
|
3256
3271
|
title: s(l).addFileTitle
|
|
3257
|
-
}, null, 8, ["title"])) : (a(), i("span",
|
|
3272
|
+
}, null, 8, ["title"])) : (a(), i("span", Pa, D(s(l).chooseImageText), 1))
|
|
3258
3273
|
], 2)), [
|
|
3259
3274
|
[s(M)]
|
|
3260
3275
|
])
|
|
3261
3276
|
], 32)) : p("", !0)
|
|
3262
3277
|
], 64))
|
|
3263
3278
|
])
|
|
3264
|
-
], 42,
|
|
3279
|
+
], 42, fa));
|
|
3265
3280
|
}
|
|
3266
|
-
}),
|
|
3281
|
+
}), Va = /* @__PURE__ */ g({
|
|
3267
3282
|
__name: "QuestionEditor",
|
|
3268
3283
|
props: {
|
|
3269
3284
|
survey: {},
|
|
@@ -3295,17 +3310,17 @@ const wt = /* @__PURE__ */ g({
|
|
|
3295
3310
|
return (r, l) => (a(), i("div", {
|
|
3296
3311
|
style: F(t.style)
|
|
3297
3312
|
}, [
|
|
3298
|
-
v(s(c),
|
|
3313
|
+
v(s(c), A({ is: o.value }, n.value), null, 16, ["is"])
|
|
3299
3314
|
], 4));
|
|
3300
3315
|
}
|
|
3301
|
-
}),
|
|
3316
|
+
}), Aa = ["accept"], za = /* @__PURE__ */ d("svg", null, [
|
|
3302
3317
|
/* @__PURE__ */ d("use", { "xlink:href": "#icon-image-48x48" })
|
|
3303
|
-
], -1),
|
|
3304
|
-
|
|
3305
|
-
],
|
|
3318
|
+
], -1), La = [
|
|
3319
|
+
za
|
|
3320
|
+
], Fa = { class: "svc-context-container svc-logo-image-controls" }, Ka = {
|
|
3306
3321
|
key: 2,
|
|
3307
3322
|
class: "svc-logo-image__loading"
|
|
3308
|
-
},
|
|
3323
|
+
}, Ua = /* @__PURE__ */ g({
|
|
3309
3324
|
__name: "Logo",
|
|
3310
3325
|
props: {
|
|
3311
3326
|
data: {}
|
|
@@ -3317,7 +3332,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3317
3332
|
), l = P(), _ = () => {
|
|
3318
3333
|
l.value = o.value.locLogo.renderedHtml;
|
|
3319
3334
|
};
|
|
3320
|
-
return
|
|
3335
|
+
return G(
|
|
3321
3336
|
() => o.value.locLogo,
|
|
3322
3337
|
(N, $) => {
|
|
3323
3338
|
_(), N && N.onStringChanged.add(_), $ && N.onStringChanged.remove(_);
|
|
@@ -3340,13 +3355,13 @@ const wt = /* @__PURE__ */ g({
|
|
|
3340
3355
|
tabindex: "-1",
|
|
3341
3356
|
accept: s(r).acceptedTypes,
|
|
3342
3357
|
class: "svc-choose-file-input"
|
|
3343
|
-
}, null, 8,
|
|
3344
|
-
l.value ? p("", !0) : (a(), i(
|
|
3358
|
+
}, null, 8, Aa),
|
|
3359
|
+
l.value ? p("", !0) : (a(), i(f, { key: 0 }, [
|
|
3345
3360
|
s(r).allowEdit && !s(r).isUploading ? h((a(), i("div", {
|
|
3346
3361
|
key: 0,
|
|
3347
3362
|
class: "svc-logo-image-placeholder",
|
|
3348
3363
|
onClick: $[0] || ($[0] = (q) => s(r).chooseFile(s(r)))
|
|
3349
|
-
},
|
|
3364
|
+
}, La)), [
|
|
3350
3365
|
[s(M)]
|
|
3351
3366
|
]) : p("", !0)
|
|
3352
3367
|
], 64)),
|
|
@@ -3354,7 +3369,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3354
3369
|
key: 1,
|
|
3355
3370
|
class: m(s(r).containerCss)
|
|
3356
3371
|
}, [
|
|
3357
|
-
d("div",
|
|
3372
|
+
d("div", Fa, [
|
|
3358
3373
|
h((a(), i("span", {
|
|
3359
3374
|
class: "svc-context-button",
|
|
3360
3375
|
onClick: $[1] || ($[1] = (q) => s(r).chooseFile(s(r))),
|
|
@@ -3389,22 +3404,22 @@ const wt = /* @__PURE__ */ g({
|
|
|
3389
3404
|
data: o.value
|
|
3390
3405
|
}, null, 8, ["data"])
|
|
3391
3406
|
], 2)) : p("", !0),
|
|
3392
|
-
s(r).isUploading ? (a(), i("div",
|
|
3407
|
+
s(r).isUploading ? (a(), i("div", Ka, [
|
|
3393
3408
|
v(s(c), { is: "sv-loading-indicator" })
|
|
3394
3409
|
])) : p("", !0)
|
|
3395
3410
|
], 512));
|
|
3396
3411
|
}
|
|
3397
|
-
}),
|
|
3412
|
+
}), Ha = {
|
|
3398
3413
|
key: 0,
|
|
3399
3414
|
class: "svc-search"
|
|
3400
|
-
},
|
|
3415
|
+
}, Qa = { class: "svc-search__search-icon" }, Oa = ["aria-label", "placeholder", "tabindex"], Wa = { class: "svc-search__toolbar" }, Ga = { class: "svc-search__toolbar-counter" }, ja = /* @__PURE__ */ g({
|
|
3401
3416
|
__name: "Search",
|
|
3402
3417
|
props: {
|
|
3403
3418
|
model: {}
|
|
3404
3419
|
},
|
|
3405
3420
|
setup(u) {
|
|
3406
3421
|
const t = u;
|
|
3407
|
-
|
|
3422
|
+
w(() => t.model);
|
|
3408
3423
|
const e = k({
|
|
3409
3424
|
get: () => t.model.filterString,
|
|
3410
3425
|
set: (o) => {
|
|
@@ -3412,8 +3427,8 @@ const wt = /* @__PURE__ */ g({
|
|
|
3412
3427
|
n.filterString = o;
|
|
3413
3428
|
}
|
|
3414
3429
|
});
|
|
3415
|
-
return (o, n) => o.model.isVisible ? (a(), i("div",
|
|
3416
|
-
d("div",
|
|
3430
|
+
return (o, n) => o.model.isVisible ? (a(), i("div", Ha, [
|
|
3431
|
+
d("div", Qa, [
|
|
3417
3432
|
v(s(c), {
|
|
3418
3433
|
is: "sv-svg-icon",
|
|
3419
3434
|
iconName: "icon-search",
|
|
@@ -3427,11 +3442,11 @@ const wt = /* @__PURE__ */ g({
|
|
|
3427
3442
|
"aria-label": o.model.filterStringPlaceholder,
|
|
3428
3443
|
placeholder: o.model.filterStringPlaceholder,
|
|
3429
3444
|
tabindex: o.model.getTabIndex()
|
|
3430
|
-
}, null, 8,
|
|
3445
|
+
}, null, 8, Oa), [
|
|
3431
3446
|
[de, e.value]
|
|
3432
3447
|
]),
|
|
3433
|
-
d("div",
|
|
3434
|
-
d("div",
|
|
3448
|
+
d("div", Wa, [
|
|
3449
|
+
d("div", Ga, D(o.model.matchCounterText), 1),
|
|
3435
3450
|
v(s(c), {
|
|
3436
3451
|
is: "sv-action-bar",
|
|
3437
3452
|
model: o.model.searchActionBar
|
|
@@ -3439,7 +3454,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3439
3454
|
])
|
|
3440
3455
|
])) : p("", !0);
|
|
3441
3456
|
}
|
|
3442
|
-
}),
|
|
3457
|
+
}), Ja = ["title"], Za = /* @__PURE__ */ g({
|
|
3443
3458
|
__name: "PageNavigator",
|
|
3444
3459
|
props: {
|
|
3445
3460
|
pagesController: {},
|
|
@@ -3478,7 +3493,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3478
3493
|
iconName: s(e).icon,
|
|
3479
3494
|
size: "auto"
|
|
3480
3495
|
}, null, 8, ["iconName"])
|
|
3481
|
-
], 10,
|
|
3496
|
+
], 10, Ja)), [
|
|
3482
3497
|
[s(M)]
|
|
3483
3498
|
]),
|
|
3484
3499
|
v(s(c), {
|
|
@@ -3487,7 +3502,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3487
3502
|
}, null, 8, ["model"])
|
|
3488
3503
|
]),
|
|
3489
3504
|
d("div", null, [
|
|
3490
|
-
(a(!0), i(
|
|
3505
|
+
(a(!0), i(f, null, V(s(e).visibleItems, (l) => (a(), b(s(c), {
|
|
3491
3506
|
is: "svc-page-navigator-item",
|
|
3492
3507
|
key: l.id,
|
|
3493
3508
|
model: l
|
|
@@ -3497,22 +3512,22 @@ const wt = /* @__PURE__ */ g({
|
|
|
3497
3512
|
[H, s(e).visible]
|
|
3498
3513
|
]);
|
|
3499
3514
|
}
|
|
3500
|
-
}),
|
|
3501
|
-
|
|
3502
|
-
],
|
|
3515
|
+
}), Xa = { class: "svc-page-navigator-item" }, Ya = ["title"], xa = /* @__PURE__ */ d("div", { class: "svc-page-navigator-item__dot-content" }, null, -1), el = [
|
|
3516
|
+
xa
|
|
3517
|
+
], ol = { class: "svc-page-navigator-item__banner" }, sl = { class: "svc-page-navigator-item__text" }, tl = /* @__PURE__ */ d("span", { class: "svc-page-navigator-item__dot" }, [
|
|
3503
3518
|
/* @__PURE__ */ d("span", { class: "svc-page-navigator-item__dot-content" })
|
|
3504
|
-
], -1),
|
|
3519
|
+
], -1), nl = /* @__PURE__ */ g({
|
|
3505
3520
|
__name: "PageNavigatorItem",
|
|
3506
3521
|
props: {
|
|
3507
3522
|
model: {}
|
|
3508
3523
|
},
|
|
3509
3524
|
setup(u) {
|
|
3510
3525
|
const t = u;
|
|
3511
|
-
|
|
3526
|
+
w(() => t.model);
|
|
3512
3527
|
const e = (o) => {
|
|
3513
3528
|
t.model.action(), o.stopPropagation(), o.preventDefault();
|
|
3514
3529
|
};
|
|
3515
|
-
return (o, n) => (a(), i("div",
|
|
3530
|
+
return (o, n) => (a(), i("div", Xa, [
|
|
3516
3531
|
h((a(), i("div", {
|
|
3517
3532
|
role: "button",
|
|
3518
3533
|
class: m(["svc-page-navigator-item-content", {
|
|
@@ -3524,17 +3539,17 @@ const wt = /* @__PURE__ */ g({
|
|
|
3524
3539
|
d("div", {
|
|
3525
3540
|
class: "svc-page-navigator-item__dot",
|
|
3526
3541
|
title: o.model.title
|
|
3527
|
-
},
|
|
3528
|
-
d("div",
|
|
3529
|
-
d("span",
|
|
3530
|
-
|
|
3542
|
+
}, el, 8, Ya),
|
|
3543
|
+
d("div", ol, [
|
|
3544
|
+
d("span", sl, D(o.model.title), 1),
|
|
3545
|
+
tl
|
|
3531
3546
|
])
|
|
3532
3547
|
], 2)), [
|
|
3533
3548
|
[s(M)]
|
|
3534
3549
|
])
|
|
3535
3550
|
]));
|
|
3536
3551
|
}
|
|
3537
|
-
}),
|
|
3552
|
+
}), al = { class: "svc-question__dropdown-choices--wrapper" }, ll = { class: "svc-question__dropdown-choices" }, il = /* @__PURE__ */ g({
|
|
3538
3553
|
__name: "Dropdown",
|
|
3539
3554
|
props: {
|
|
3540
3555
|
model: {},
|
|
@@ -3549,14 +3564,14 @@ const wt = /* @__PURE__ */ g({
|
|
|
3549
3564
|
data: t.element.getItemValueWrapperComponentData(n)
|
|
3550
3565
|
}
|
|
3551
3566
|
});
|
|
3552
|
-
return (n, r) => (a(), i("div",
|
|
3567
|
+
return (n, r) => (a(), i("div", al, [
|
|
3553
3568
|
d("div", null, [
|
|
3554
|
-
d("div",
|
|
3555
|
-
(a(!0), i(
|
|
3569
|
+
d("div", ll, [
|
|
3570
|
+
(a(!0), i(f, null, V(n.model.getRenderedItems(), (l) => (a(), i("div", {
|
|
3556
3571
|
key: l.value,
|
|
3557
3572
|
class: m(n.model.getChoiceCss())
|
|
3558
3573
|
}, [
|
|
3559
|
-
v(s(c),
|
|
3574
|
+
v(s(c), A({
|
|
3560
3575
|
is: e(l)
|
|
3561
3576
|
}, o(l)), null, 16, ["is"])
|
|
3562
3577
|
], 2))), 128))
|
|
@@ -3571,7 +3586,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3571
3586
|
])
|
|
3572
3587
|
]));
|
|
3573
3588
|
}
|
|
3574
|
-
}),
|
|
3589
|
+
}), rl = /* @__PURE__ */ g({
|
|
3575
3590
|
__name: "QuestionDropdown",
|
|
3576
3591
|
props: {
|
|
3577
3592
|
componentName: {},
|
|
@@ -3591,7 +3606,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3591
3606
|
"adorner-component": "svc-dropdown-question-adorner"
|
|
3592
3607
|
}, null, 8, ["element", "component-name", "component-data"]));
|
|
3593
3608
|
}
|
|
3594
|
-
}),
|
|
3609
|
+
}), dl = { class: "svc-question__adorner" }, cl = { class: "svc-question__content svc-question__content--in-popup" }, ul = { class: "svc-question__dropdown-choices" }, le = "survey-radiogroup-item", pl = /* @__PURE__ */ g({
|
|
3595
3610
|
__name: "CellQuestionDropdown",
|
|
3596
3611
|
props: {
|
|
3597
3612
|
componentName: {},
|
|
@@ -3608,15 +3623,15 @@ const wt = /* @__PURE__ */ g({
|
|
|
3608
3623
|
data: e.value.getItemValueWrapperComponentData(r)
|
|
3609
3624
|
}
|
|
3610
3625
|
});
|
|
3611
|
-
return
|
|
3612
|
-
d("div",
|
|
3613
|
-
v(s(c),
|
|
3614
|
-
d("div",
|
|
3615
|
-
(a(!0), i(
|
|
3626
|
+
return w(() => e.value), (r, l) => (a(), i("div", dl, [
|
|
3627
|
+
d("div", cl, [
|
|
3628
|
+
v(s(c), A({ is: r.componentName }, r.componentData), null, 16, ["is"]),
|
|
3629
|
+
d("div", ul, [
|
|
3630
|
+
(a(!0), i(f, null, V(e.value.visibleChoices, (_) => (a(), i("div", {
|
|
3616
3631
|
key: _.value,
|
|
3617
3632
|
class: "svc-question__dropdown-choice"
|
|
3618
3633
|
}, [
|
|
3619
|
-
v(s(c),
|
|
3634
|
+
v(s(c), A({
|
|
3620
3635
|
is: o(_)
|
|
3621
3636
|
}, n(_)), null, 16, ["is"])
|
|
3622
3637
|
]))), 128))
|
|
@@ -3624,18 +3639,18 @@ const wt = /* @__PURE__ */ g({
|
|
|
3624
3639
|
])
|
|
3625
3640
|
]));
|
|
3626
3641
|
}
|
|
3627
|
-
}),
|
|
3642
|
+
}), vl = ["data-sv-drop-target-survey-element"], ml = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), _l = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), gl = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), bl = /* @__PURE__ */ d("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), yl = { class: "svc-widget__content" }, hl = {
|
|
3628
3643
|
key: 1,
|
|
3629
3644
|
class: "svc-panel__placeholder_frame"
|
|
3630
|
-
},
|
|
3645
|
+
}, Cl = /* @__PURE__ */ d("div", {
|
|
3631
3646
|
class: "svc-panel__placeholder",
|
|
3632
3647
|
"data-bind": "text: placeholderText"
|
|
3633
|
-
}, null, -1),
|
|
3634
|
-
|
|
3635
|
-
],
|
|
3648
|
+
}, null, -1), ql = [
|
|
3649
|
+
Cl
|
|
3650
|
+
], $l = { class: "svc-question__content-actions" }, kl = {
|
|
3636
3651
|
key: 0,
|
|
3637
3652
|
class: "svc-panel__placeholder_frame"
|
|
3638
|
-
},
|
|
3653
|
+
}, fl = { class: "svc-panel__placeholder" }, wl = /* @__PURE__ */ g({
|
|
3639
3654
|
__name: "CustomWidget",
|
|
3640
3655
|
props: {
|
|
3641
3656
|
componentName: {},
|
|
@@ -3653,7 +3668,7 @@ const wt = /* @__PURE__ */ g({
|
|
|
3653
3668
|
n.dispose();
|
|
3654
3669
|
}
|
|
3655
3670
|
);
|
|
3656
|
-
return
|
|
3671
|
+
return W(() => {
|
|
3657
3672
|
e.value && o.value && (o.value.rootElement = e.value);
|
|
3658
3673
|
}), R(() => {
|
|
3659
3674
|
e.value && o.value && (o.value.rootElement = e.value);
|
|
@@ -3672,10 +3687,10 @@ const wt = /* @__PURE__ */ g({
|
|
|
3672
3687
|
onClick: r[1] || (r[1] = (l) => s(o).select(s(o), l)),
|
|
3673
3688
|
"data-bind": "clickBubble: false"
|
|
3674
3689
|
}, [
|
|
3675
|
-
pl,
|
|
3676
|
-
vl,
|
|
3677
3690
|
ml,
|
|
3678
3691
|
_l,
|
|
3692
|
+
gl,
|
|
3693
|
+
bl,
|
|
3679
3694
|
s(o).allowDragging ? (a(), i("div", {
|
|
3680
3695
|
key: 0,
|
|
3681
3696
|
class: "svc-question__drag-area",
|
|
@@ -3688,11 +3703,11 @@ const wt = /* @__PURE__ */ g({
|
|
|
3688
3703
|
size: "auto"
|
|
3689
3704
|
})
|
|
3690
3705
|
], 32)) : p("", !0),
|
|
3691
|
-
d("div",
|
|
3692
|
-
v(s(c),
|
|
3706
|
+
d("div", yl, [
|
|
3707
|
+
v(s(c), A({ is: n.componentName }, n.componentData), null, 16, ["is"])
|
|
3693
3708
|
]),
|
|
3694
|
-
s(o).isEmptyElement ? (a(), i("div",
|
|
3695
|
-
d("div",
|
|
3709
|
+
s(o).isEmptyElement ? (a(), i("div", hl, ql)) : p("", !0),
|
|
3710
|
+
d("div", $l, [
|
|
3696
3711
|
v(s(c), {
|
|
3697
3712
|
is: "sv-action-bar",
|
|
3698
3713
|
model: s(o).actionContainer,
|
|
@@ -3702,24 +3717,24 @@ const wt = /* @__PURE__ */ g({
|
|
|
3702
3717
|
], 2)), [
|
|
3703
3718
|
[s(M)]
|
|
3704
3719
|
]) : p("", !0),
|
|
3705
|
-
s(o).element.isInteractiveDesignElement ? p("", !0) : (a(), i(
|
|
3706
|
-
v(s(c),
|
|
3707
|
-
s(o).isEmptyElement ? (a(), i("div",
|
|
3708
|
-
d("div",
|
|
3720
|
+
s(o).element.isInteractiveDesignElement ? p("", !0) : (a(), i(f, { key: 1 }, [
|
|
3721
|
+
v(s(c), A({ is: n.componentName }, n.componentData), null, 16, ["is"]),
|
|
3722
|
+
s(o).isEmptyElement ? (a(), i("div", kl, [
|
|
3723
|
+
d("div", fl, D(s(o).placeholderText), 1)
|
|
3709
3724
|
])) : p("", !0)
|
|
3710
3725
|
], 64))
|
|
3711
|
-
], 42,
|
|
3726
|
+
], 42, vl)) : p("", !0);
|
|
3712
3727
|
}
|
|
3713
|
-
}),
|
|
3728
|
+
}), Dl = { class: "svc-carry-forward-panel-wrapper" }, Tl = { class: "svc-carry-forward-panel" }, Nl = { class: "svc-carry-forward-panel__link" }, Ml = /* @__PURE__ */ g({
|
|
3714
3729
|
__name: "QuestionBanner",
|
|
3715
3730
|
props: {
|
|
3716
3731
|
model: {}
|
|
3717
3732
|
},
|
|
3718
3733
|
setup(u) {
|
|
3719
|
-
return (t, e) => (a(), i("div",
|
|
3720
|
-
d("div",
|
|
3721
|
-
d("span", null,
|
|
3722
|
-
d("span",
|
|
3734
|
+
return (t, e) => (a(), i("div", Dl, [
|
|
3735
|
+
d("div", Tl, [
|
|
3736
|
+
d("span", null, D(t.model.text) + D(" "), 1),
|
|
3737
|
+
d("span", Nl, [
|
|
3723
3738
|
v(s(c), {
|
|
3724
3739
|
is: "svc-action-button",
|
|
3725
3740
|
text: t.model.actionText,
|
|
@@ -3730,20 +3745,20 @@ const wt = /* @__PURE__ */ g({
|
|
|
3730
3745
|
]));
|
|
3731
3746
|
}
|
|
3732
3747
|
});
|
|
3733
|
-
function
|
|
3748
|
+
function Sl(u, t, e) {
|
|
3734
3749
|
u(t, e);
|
|
3735
3750
|
}
|
|
3736
3751
|
function pe(u) {
|
|
3737
|
-
const t =
|
|
3752
|
+
const t = Sl.bind(
|
|
3738
3753
|
void 0,
|
|
3739
3754
|
u
|
|
3740
3755
|
);
|
|
3741
|
-
t("svc-tabbed-menu",
|
|
3756
|
+
t("svc-tabbed-menu", We), t("svc-tabbed-menu-item-wrapper", je), t("svc-tabbed-menu-item", Ze), t("svc-side-bar", eo), t("svc-side-bar-default-header", no), t("svc-side-bar-page", ao), t("svc-tabs", ro), t("svc-tab-control", go), t("svc-tab-button", qo), t("svc-property-grid-placeholder", To), t("svc-side-bar-header", Eo), t("svc-side-bar-property-grid-header", Fo), t("svc-property-grid", io), t("svc-object-selector", lo), t("svc-search", ja), t("svc-switcher", Yo), t("svc-action-button", Wo), t("svc-question-error", Ko), t("survey-embeddedsurvey", Os), t("sv-logic-operator", Qs), t("survey-linkvalue", Ws), t("survey-color", dt), t("color-item", ct), t("sv-boolean-switch", Tt), t("survey-fileedit", _t), t("survey-spinedit", ht), t("survey-textwithreset", ne), t("survey-commentwithreset", ne), t("survey-widget", O), t("survey-simulator", os), t("svc-tab-preview", ds), t("svc-complete-page", us), t("survey-results", $s), t("survey-results-table-row", fs), t("json-error-item", As), t("svc-tab-json-editor-textarea", Es), t("svc-tab-json-editor-ace", Ns), 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", lt), t("svc-component-container", ts), t("svc-toolbox", Ft), t("svc-toolbox-list", Yt), t("svc-toolbox-category", Xt), t("svc-toolbox-tool", Ut), t("svc-toolbox-item", Wt), t("svc-toolbox-item-group", Gt), t(Ie, Rt), t("svc-tab-designer", un), t("svc-page-navigator", Za), t("svc-page-navigator-item", nl), t("svc-page", qn), t("svc-row", Nn), t("svc-add-new-question-btn", kn), t("svc-add-question-type-selector", wn), t("svc-question", ae), t("svc-rating-question", ae), t("svc-rating-question-content", Jn), t("svc-image-question", Ln), t("svc-image-question-adorner", On), t("svc-matrix-cell", Xn), t("svc-cell-question", ea), t("svc-cell-dropdown-question", pl), t("svc-question-editor-content", Va), t("svc-logo-image", Ua), t("svc-panel", _a), t("svc-item-value", ka), t("svc-image-item-value", Ra), t("svc-dropdown-question", rl), t("svc-dropdown-question-adorner", il), t("svc-widget-question", wl), t("svc-question-banner", Ml);
|
|
3742
3757
|
}
|
|
3743
3758
|
pe(
|
|
3744
3759
|
(u, t) => ie.Instance.registerComponent(u, t)
|
|
3745
3760
|
);
|
|
3746
|
-
const
|
|
3761
|
+
const Rl = {
|
|
3747
3762
|
install(u) {
|
|
3748
3763
|
u.component("SurveyCreatorComponent", Oe), pe((t, e) => {
|
|
3749
3764
|
u.component(t, e), ie.Instance.registerComponent(t, t);
|
|
@@ -3752,5 +3767,5 @@ const El = {
|
|
|
3752
3767
|
};
|
|
3753
3768
|
export {
|
|
3754
3769
|
Oe as SurveyCreatorComponent,
|
|
3755
|
-
|
|
3770
|
+
Rl as surveyCreatorPlugin
|
|
3756
3771
|
};
|