survey-creator-vue 2.0.0-rc.9 → 2.0.1
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 +4 -4
- package/survey-creator-vue.es.js +213 -205
- package/survey-creator-vue.umd.js +2 -2
- package/types/QuestionEditor.vue.d.ts +1 -0
package/survey-creator-vue.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useBase as f, SvComponent as u, key2ClickDirective as D, SurveyComponent as Q, useQuestion as H, ComponentFactory as re } from "survey-vue3-ui";
|
|
2
|
-
import { defineComponent as g, computed as $, toRaw as ge, ref as B, onMounted as E, onUnmounted as L, openBlock as l, createElementBlock as i, Fragment as
|
|
2
|
+
import { defineComponent as g, computed as $, toRaw as ge, ref as B, onMounted as E, onUnmounted as L, openBlock as l, createElementBlock as i, Fragment as w, createVNode as v, unref as s, createElementVNode as a, normalizeClass as _, normalizeStyle as K, createCommentVNode as p, renderList as R, createBlock as C, nextTick as de, withDirectives as h, toDisplayString as k, vShow as F, renderSlot as X, withCtx as Y, createTextVNode as be, shallowRef as ye, watch as G, onBeforeUnmount as x, vModelText as ce, onUpdated as ee, mergeProps as V } from "vue";
|
|
3
3
|
import { ResponsivityManager as he, CssClassBuilder as Ce, RendererFactory as ue, DropdownListModel as qe, VerticalResponsivityManager as $e } from "survey-core";
|
|
4
|
-
import { ScrollViewModel as
|
|
4
|
+
import { ScrollViewModel as ke, editorLocalization as pe, SurveyResultsModel as we, initLogicOperator as fe, StringEditorViewModelBase as Te, ToolboxToolViewModel as De, PageAdorner as Ne, RowViewModel as Me, QuestionAdornerViewModel as oe, QuestionImageAdornerViewModel as Se, QuestionRatingAdornerViewModel as Ie, MatrixCellWrapperViewModel as Be, ItemValueWrapperViewModel as Ee, ImageItemValueWrapperViewModel as Pe, LogoImageViewModel as Re, PageNavigatorViewModel as Ve, QuestionDropdownAdornerViewModel as Ae, editableStringRendererName as ze } from "survey-creator-core";
|
|
5
5
|
const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element--growing" }, Fe = { class: "svc-top-bar" }, Ke = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "svc-tabbed-menu-wrapper"
|
|
@@ -27,7 +27,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
27
27
|
o.value && t.model.setRootElement(o.value);
|
|
28
28
|
}), L(() => {
|
|
29
29
|
t.model.unsubscribeRootElement();
|
|
30
|
-
}), (n, r) => e.value.isCreatorDisposed ? p("", !0) : (l(), i(
|
|
30
|
+
}), (n, r) => e.value.isCreatorDisposed ? p("", !0) : (l(), i(w, { key: 0 }, [
|
|
31
31
|
v(s(u), { is: "survey-popup-modal" }),
|
|
32
32
|
a("div", {
|
|
33
33
|
class: _(e.value.getRootCss()),
|
|
@@ -73,7 +73,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
73
73
|
}])
|
|
74
74
|
}, [
|
|
75
75
|
a("div", He, [
|
|
76
|
-
(l(!0), i(
|
|
76
|
+
(l(!0), i(w, null, R(e.value.tabs, (d) => (l(), i(w, null, [
|
|
77
77
|
e.value.viewType == d.id && d.visible ? (l(), i("div", {
|
|
78
78
|
class: _(["svc-creator-tab", {
|
|
79
79
|
"svc-creator__toolbox--right": e.value.toolboxLocation == "right"
|
|
@@ -101,7 +101,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
101
101
|
], 8, Ge)
|
|
102
102
|
])) : p("", !0)
|
|
103
103
|
]),
|
|
104
|
-
e.value.sidebar ? (l(),
|
|
104
|
+
e.value.sidebar ? (l(), C(s(u), {
|
|
105
105
|
key: 0,
|
|
106
106
|
is: "svc-side-bar",
|
|
107
107
|
model: e.value.sidebar
|
|
@@ -139,7 +139,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
139
139
|
ref_key: "container",
|
|
140
140
|
ref: o
|
|
141
141
|
}, [
|
|
142
|
-
(l(!0), i(
|
|
142
|
+
(l(!0), i(w, null, R(n.model.renderedActions, (d) => (l(), C(s(u), {
|
|
143
143
|
key: d.renderedId,
|
|
144
144
|
is: "svc-tabbed-menu-item-wrapper",
|
|
145
145
|
item: d
|
|
@@ -181,7 +181,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
181
181
|
},
|
|
182
182
|
setup(c) {
|
|
183
183
|
const t = c;
|
|
184
|
-
return f(() => t.item), (e, o) =>
|
|
184
|
+
return f(() => t.item), (e, o) => h((l(), i("div", {
|
|
185
185
|
class: _(["svc-tabbed-menu-item", e.item.getRootCss()]),
|
|
186
186
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
187
187
|
(...n) => e.item.action && e.item.action(...n))
|
|
@@ -189,8 +189,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
189
189
|
e.item.hasTitle ? (l(), i("span", {
|
|
190
190
|
key: 0,
|
|
191
191
|
class: _(e.item.getTitleCss())
|
|
192
|
-
},
|
|
193
|
-
e.item.hasIcon ? (l(),
|
|
192
|
+
}, k(e.item.title), 3)) : p("", !0),
|
|
193
|
+
e.item.hasIcon ? (l(), C(s(u), {
|
|
194
194
|
key: 1,
|
|
195
195
|
is: "sv-svg-icon",
|
|
196
196
|
iconName: e.item.iconName,
|
|
@@ -213,17 +213,17 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
213
213
|
t.model.initResizeManager(e.value);
|
|
214
214
|
}), L(() => {
|
|
215
215
|
t.model.resetResizeManager();
|
|
216
|
-
}), (o, n) =>
|
|
216
|
+
}), (o, n) => h((l(), i("div", {
|
|
217
217
|
class: _(["svc-side-bar", o.model.rootCss])
|
|
218
218
|
}, [
|
|
219
|
-
|
|
219
|
+
h(a("div", {
|
|
220
220
|
class: "svc-side-bar__shadow",
|
|
221
221
|
onClick: n[0] || (n[0] = () => o.model.collapseSidebar())
|
|
222
222
|
}, null, 512), [
|
|
223
223
|
[F, o.model.renderContainer]
|
|
224
224
|
]),
|
|
225
225
|
a("div", eo, [
|
|
226
|
-
|
|
226
|
+
h(a("div", oo, [
|
|
227
227
|
a("div", {
|
|
228
228
|
class: "svc-side-bar__container",
|
|
229
229
|
ref_key: "root",
|
|
@@ -234,7 +234,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
234
234
|
model: o.model.header.componentModel
|
|
235
235
|
}, null, 8, ["is", "model"]),
|
|
236
236
|
a("div", so, [
|
|
237
|
-
(l(!0), i(
|
|
237
|
+
(l(!0), i(w, null, R(o.model.pages, (r, d) => (l(), C(s(u), {
|
|
238
238
|
key: d,
|
|
239
239
|
is: "svc-side-bar-page",
|
|
240
240
|
model: r
|
|
@@ -244,7 +244,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
244
244
|
], 512), [
|
|
245
245
|
[F, o.model.renderContainer]
|
|
246
246
|
]),
|
|
247
|
-
o.model.sideAreaComponentName ? (l(),
|
|
247
|
+
o.model.sideAreaComponentName ? (l(), C(s(u), {
|
|
248
248
|
key: 0,
|
|
249
249
|
is: o.model.sideAreaComponentName,
|
|
250
250
|
model: o.model.sideAreaComponentData
|
|
@@ -271,7 +271,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
271
271
|
model: e.model.toolbar
|
|
272
272
|
}, null, 8, ["model"])
|
|
273
273
|
]),
|
|
274
|
-
e.model.title ? (l(), i("div", ao,
|
|
274
|
+
e.model.title ? (l(), i("div", ao, k(e.model.title), 1)) : p("", !0)
|
|
275
275
|
]));
|
|
276
276
|
}
|
|
277
277
|
}), ro = /* @__PURE__ */ g({
|
|
@@ -281,7 +281,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
281
281
|
},
|
|
282
282
|
setup(c) {
|
|
283
283
|
const t = c;
|
|
284
|
-
return f(() => t.model), (e, o) => e.model.visible ? (l(),
|
|
284
|
+
return f(() => t.model), (e, o) => e.model.visible ? (l(), C(s(u), {
|
|
285
285
|
key: 0,
|
|
286
286
|
is: e.model.componentName,
|
|
287
287
|
model: e.model.componentData
|
|
@@ -294,7 +294,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
294
294
|
},
|
|
295
295
|
setup(c) {
|
|
296
296
|
const t = c;
|
|
297
|
-
return f(() => t.model), (e, o) => e.model.isVisible ? (l(),
|
|
297
|
+
return f(() => t.model), (e, o) => e.model.isVisible ? (l(), C(s(u), {
|
|
298
298
|
key: 0,
|
|
299
299
|
is: "sv-list",
|
|
300
300
|
model: e.model.list
|
|
@@ -305,7 +305,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
305
305
|
], W = /* @__PURE__ */ g({
|
|
306
306
|
__name: "Scroll",
|
|
307
307
|
setup(c) {
|
|
308
|
-
const t = new
|
|
308
|
+
const t = new ke(), e = B();
|
|
309
309
|
return E(() => {
|
|
310
310
|
t.setRootElement(e.value);
|
|
311
311
|
}), L(() => {
|
|
@@ -345,7 +345,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
345
345
|
}, null, 8, ["model"]),
|
|
346
346
|
v(W, null, {
|
|
347
347
|
default: Y(() => [
|
|
348
|
-
e.model.survey ? (l(),
|
|
348
|
+
e.model.survey ? (l(), C(s(Q), {
|
|
349
349
|
key: 0,
|
|
350
350
|
survey: e.model.survey
|
|
351
351
|
}, null, 8, ["survey"])) : p("", !0)
|
|
@@ -361,7 +361,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
361
361
|
},
|
|
362
362
|
setup(c) {
|
|
363
363
|
const t = c;
|
|
364
|
-
return f(() => t.model), (e, o) => (l(!0), i(
|
|
364
|
+
return f(() => t.model), (e, o) => (l(!0), i(w, null, R(e.model.actions, (n, r) => (l(), C(s(u), {
|
|
365
365
|
key: r,
|
|
366
366
|
is: "svc-tab-button",
|
|
367
367
|
model: n
|
|
@@ -409,15 +409,18 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
409
409
|
])
|
|
410
410
|
], 2));
|
|
411
411
|
}
|
|
412
|
-
}),
|
|
412
|
+
}), ko = {
|
|
413
|
+
key: 0,
|
|
414
|
+
class: "svc-menu-action"
|
|
415
|
+
}, wo = ["title"], fo = { class: "svc-menu-action__icon" }, To = { class: "svc-menu-action__icon-container" }, Do = /* @__PURE__ */ g({
|
|
413
416
|
__name: "TabButton",
|
|
414
417
|
props: {
|
|
415
418
|
model: {}
|
|
416
419
|
},
|
|
417
420
|
setup(c) {
|
|
418
421
|
const t = c;
|
|
419
|
-
return f(() => t.model), (e, o) => (l(), i("div",
|
|
420
|
-
|
|
422
|
+
return f(() => t.model), (e, o) => e.model.visible ? (l(), i("div", ko, [
|
|
423
|
+
h((l(), i("div", {
|
|
421
424
|
class: _(e.model.buttonClassName),
|
|
422
425
|
title: e.model.tooltip,
|
|
423
426
|
onClick: o[0] || (o[0] = (n) => e.model.action())
|
|
@@ -431,10 +434,10 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
431
434
|
}, null, 8, ["iconName"])
|
|
432
435
|
])
|
|
433
436
|
])
|
|
434
|
-
], 10,
|
|
437
|
+
], 10, wo)), [
|
|
435
438
|
[s(D), { processEsc: !1, disableTabStop: e.model.disableTabStop }]
|
|
436
439
|
])
|
|
437
|
-
]));
|
|
440
|
+
])) : p("", !0);
|
|
438
441
|
}
|
|
439
442
|
}), No = { class: "svc-property-grid-placeholder" }, Mo = { class: "svc-property-grid-placeholder__header" }, So = { class: "svc-property-grid-placeholder__title" }, Io = { class: "svc-property-grid-placeholder__description" }, Bo = /* @__PURE__ */ a("div", { class: "svc-property-grid-placeholder__content" }, [
|
|
440
443
|
/* @__PURE__ */ a("div", { class: "svc-property-grid-placeholder__gap" }),
|
|
@@ -445,8 +448,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
445
448
|
const t = pe;
|
|
446
449
|
return (e, o) => (l(), i("div", No, [
|
|
447
450
|
a("div", Mo, [
|
|
448
|
-
a("span", So,
|
|
449
|
-
a("span", Io,
|
|
451
|
+
a("span", So, k(s(t).getString("ed.propertyGridPlaceholderTitle")), 1),
|
|
452
|
+
a("span", Io, k(s(t).getString("ed.propertyGridPlaceholderDescription")), 1)
|
|
450
453
|
]),
|
|
451
454
|
Bo
|
|
452
455
|
]));
|
|
@@ -465,10 +468,10 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
465
468
|
setup(c) {
|
|
466
469
|
const t = c;
|
|
467
470
|
return f(() => t.model), (e, o) => (l(), i("div", Po, [
|
|
468
|
-
e.model.subTitle ? p("", !0) : (l(), i("div", Ro,
|
|
471
|
+
e.model.subTitle ? p("", !0) : (l(), i("div", Ro, k(e.model.title), 1)),
|
|
469
472
|
e.model.subTitle ? (l(), i("div", Vo, [
|
|
470
|
-
a("span", Ao,
|
|
471
|
-
a("span", zo,
|
|
473
|
+
a("span", Ao, k(e.model.title), 1),
|
|
474
|
+
a("span", zo, k(e.model.subTitle), 1)
|
|
472
475
|
])) : p("", !0)
|
|
473
476
|
]));
|
|
474
477
|
}
|
|
@@ -482,13 +485,13 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
482
485
|
return f(() => t.model), (e, o) => (l(), i("div", Fo, [
|
|
483
486
|
a("div", Ko, [
|
|
484
487
|
a("div", Uo, [
|
|
485
|
-
|
|
488
|
+
h((l(), i("div", {
|
|
486
489
|
class: _(e.model.buttonClassName),
|
|
487
490
|
onClick: o[0] || (o[0] = (n) => e.model.action())
|
|
488
491
|
}, [
|
|
489
492
|
a("div", Ho, [
|
|
490
|
-
a("span", Oo,
|
|
491
|
-
a("span", Qo,
|
|
493
|
+
a("span", Oo, k(e.model.title), 1),
|
|
494
|
+
a("span", Qo, k(e.model.tooltip), 1)
|
|
492
495
|
])
|
|
493
496
|
], 2)), [
|
|
494
497
|
[s(D), { processEsc: !1 }]
|
|
@@ -545,25 +548,25 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
545
548
|
const t = c, e = (n) => {
|
|
546
549
|
t.click(), t.allowBubble || n.stopPropagation();
|
|
547
550
|
}, o = () => new Ce().append(t.classes || "").append("svc-action-button").append("svc-action-button--icon", !!t.iconName).append("svc-action-button--selected", !!t.selected).append("svc-action-button--disabled", !!t.disabled).toString();
|
|
548
|
-
return (n, r) => (l(), i(
|
|
549
|
-
n.iconName ? p("", !0) : (l(), i(
|
|
551
|
+
return (n, r) => (l(), i(w, null, [
|
|
552
|
+
n.iconName ? p("", !0) : (l(), i(w, { key: 0 }, [
|
|
550
553
|
n.disabled ? (l(), i("span", {
|
|
551
554
|
key: 0,
|
|
552
555
|
class: _(["svc-action-button svc-action-button--disabled", n.classes]),
|
|
553
556
|
title: n.title
|
|
554
|
-
},
|
|
555
|
-
|
|
557
|
+
}, k(n.text), 11, jo)) : p("", !0),
|
|
558
|
+
h((l(), i("span", {
|
|
556
559
|
role: "button",
|
|
557
560
|
class: _(["svc-action-button", o()]),
|
|
558
561
|
onClick: e,
|
|
559
562
|
title: n.title
|
|
560
563
|
}, [
|
|
561
|
-
be(
|
|
564
|
+
be(k(n.text), 1)
|
|
562
565
|
], 10, Jo)), [
|
|
563
566
|
[s(D)]
|
|
564
567
|
])
|
|
565
568
|
], 64)),
|
|
566
|
-
n.iconName ? (l(), i(
|
|
569
|
+
n.iconName ? (l(), i(w, { key: 1 }, [
|
|
567
570
|
n.disabled ? (l(), i("span", {
|
|
568
571
|
key: 0,
|
|
569
572
|
class: _(o()),
|
|
@@ -575,7 +578,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
575
578
|
size: "auto"
|
|
576
579
|
}, null, 8, ["iconName"])
|
|
577
580
|
], 10, Zo)) : p("", !0),
|
|
578
|
-
|
|
581
|
+
h((l(), i("span", {
|
|
579
582
|
role: "button",
|
|
580
583
|
onClick: e,
|
|
581
584
|
class: _(o()),
|
|
@@ -607,7 +610,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
607
610
|
},
|
|
608
611
|
setup(c) {
|
|
609
612
|
const t = c;
|
|
610
|
-
return f(() => t.item), (e, o) =>
|
|
613
|
+
return f(() => t.item), (e, o) => h((l(), i("button", {
|
|
611
614
|
class: _(e.item.getActionBarItemCss()),
|
|
612
615
|
type: "button",
|
|
613
616
|
onClick: o[0] || (o[0] = (n) => {
|
|
@@ -625,7 +628,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
625
628
|
a("div", {
|
|
626
629
|
class: _(e.item.getSwitcherIconCss())
|
|
627
630
|
}, os, 2),
|
|
628
|
-
e.item.hasTitle ? (l(), i("span", ss,
|
|
631
|
+
e.item.hasTitle ? (l(), i("span", ss, k(e.item.title), 1)) : p("", !0)
|
|
629
632
|
], 42, xo)), [
|
|
630
633
|
[s(D), { processEsc: !1, disableTabStop: e.item.disableTabStop }]
|
|
631
634
|
]);
|
|
@@ -698,8 +701,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
698
701
|
class: _(["svc-surface-placeholder__image", "svc-surface-placeholder__image--" + t.name])
|
|
699
702
|
}, null, 2),
|
|
700
703
|
a("div", ds, [
|
|
701
|
-
a("div", cs,
|
|
702
|
-
a("div", us,
|
|
704
|
+
a("div", cs, k(t.placeholderTitleText), 1),
|
|
705
|
+
a("div", us, k(t.placeholderDescriptionText), 1)
|
|
703
706
|
])
|
|
704
707
|
]));
|
|
705
708
|
}
|
|
@@ -718,7 +721,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
718
721
|
"svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
|
|
719
722
|
}])
|
|
720
723
|
}, [
|
|
721
|
-
e.model.survey.isEmpty ? (l(),
|
|
724
|
+
e.model.survey.isEmpty ? (l(), C(j, {
|
|
722
725
|
key: 0,
|
|
723
726
|
name: "preview",
|
|
724
727
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
@@ -733,7 +736,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
733
736
|
is: "survey-simulator",
|
|
734
737
|
model: e.model.simulator
|
|
735
738
|
}, null, 8, ["model"]),
|
|
736
|
-
e.model.showResults ? (l(),
|
|
739
|
+
e.model.showResults ? (l(), C(s(u), {
|
|
737
740
|
key: 0,
|
|
738
741
|
is: "survey-results",
|
|
739
742
|
survey: e.model.survey
|
|
@@ -755,12 +758,12 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
755
758
|
},
|
|
756
759
|
setup(c) {
|
|
757
760
|
const t = c, e = $(() => t.model.testAgainAction);
|
|
758
|
-
return f(() => e.value), (o, n) =>
|
|
761
|
+
return f(() => e.value), (o, n) => h((l(), i("div", {
|
|
759
762
|
role: "button",
|
|
760
763
|
class: "svc-preview__test-again svc-btn",
|
|
761
764
|
onClick: n[0] || (n[0] = (r) => e.value.action())
|
|
762
765
|
}, [
|
|
763
|
-
a("span", ms,
|
|
766
|
+
a("span", ms, k(e.value.title), 1)
|
|
764
767
|
])), [
|
|
765
768
|
[s(D)]
|
|
766
769
|
]);
|
|
@@ -783,20 +786,20 @@ function A(c, t, e) {
|
|
|
783
786
|
const gs = {
|
|
784
787
|
key: 0,
|
|
785
788
|
class: "svd-test-results"
|
|
786
|
-
}, bs = { class: "svd-test-results__content" }, ys = { class: "svd-test-results__header" }, hs = { class: "svd-test-results__header-text" }, Cs = { class: "svd-test-results__header-types" }, qs = { class: "svd-test-results__text svd-light-bg-color" }, $s = { class: "svd-test-results__table svd-light-bg-color" },
|
|
789
|
+
}, bs = { class: "svd-test-results__content" }, ys = { class: "svd-test-results__header" }, hs = { class: "svd-test-results__header-text" }, Cs = { class: "svd-test-results__header-types" }, qs = { class: "svd-test-results__text svd-light-bg-color" }, $s = { class: "svd-test-results__table svd-light-bg-color" }, ks = { class: "svd-light-background-color" }, ws = { class: "svd-dark-border-color" }, fs = { class: "svd-dark-border-color" }, Ts = /* @__PURE__ */ g({
|
|
787
790
|
__name: "SurveyResults",
|
|
788
791
|
props: {
|
|
789
792
|
survey: {}
|
|
790
793
|
},
|
|
791
794
|
setup(c) {
|
|
792
795
|
const t = c, e = A(
|
|
793
|
-
() => t.survey ? new
|
|
796
|
+
() => t.survey ? new we(t.survey) : void 0,
|
|
794
797
|
[() => t.survey]
|
|
795
798
|
);
|
|
796
799
|
return (o, n) => s(e) ? (l(), i("div", gs, [
|
|
797
800
|
a("div", bs, [
|
|
798
801
|
a("div", ys, [
|
|
799
|
-
a("div", hs,
|
|
802
|
+
a("div", hs, k(s(e).surveyResultsText), 1),
|
|
800
803
|
a("div", Cs, [
|
|
801
804
|
v(s(u), {
|
|
802
805
|
is: "svc-action-button",
|
|
@@ -814,21 +817,21 @@ const gs = {
|
|
|
814
817
|
}, null, 8, ["text", "click", "selected"])
|
|
815
818
|
])
|
|
816
819
|
]),
|
|
817
|
-
|
|
818
|
-
a("div", null,
|
|
820
|
+
h(a("div", qs, [
|
|
821
|
+
a("div", null, k(s(e).resultText), 1)
|
|
819
822
|
], 512), [
|
|
820
823
|
[F, s(e).resultViewType === "text"]
|
|
821
824
|
]),
|
|
822
|
-
|
|
825
|
+
h(a("div", $s, [
|
|
823
826
|
a("table", null, [
|
|
824
827
|
a("thead", null, [
|
|
825
|
-
a("tr",
|
|
826
|
-
a("th",
|
|
827
|
-
a("th", fs,
|
|
828
|
+
a("tr", ks, [
|
|
829
|
+
a("th", ws, k(s(e).resultsTitle), 1),
|
|
830
|
+
a("th", fs, k(s(e).resultsDisplayValue), 1)
|
|
828
831
|
])
|
|
829
832
|
]),
|
|
830
833
|
a("tbody", null, [
|
|
831
|
-
(l(!0), i(
|
|
834
|
+
(l(!0), i(w, null, R(s(e).resultData, (r, d) => (l(), C(s(u), {
|
|
832
835
|
is: "survey-results-table-row",
|
|
833
836
|
model: r,
|
|
834
837
|
key: d
|
|
@@ -848,8 +851,8 @@ const gs = {
|
|
|
848
851
|
},
|
|
849
852
|
setup(c) {
|
|
850
853
|
const t = c;
|
|
851
|
-
return f(() => t.model), (e, o) => (l(), i(
|
|
852
|
-
|
|
854
|
+
return f(() => t.model), (e, o) => (l(), i(w, null, [
|
|
855
|
+
h((l(), i("tr", {
|
|
853
856
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
854
857
|
(...n) => e.model.toggle && e.model.toggle(...n))
|
|
855
858
|
}, [
|
|
@@ -868,22 +871,22 @@ const gs = {
|
|
|
868
871
|
size: 16
|
|
869
872
|
})
|
|
870
873
|
], 6)) : p("", !0),
|
|
871
|
-
e.model.question ? (l(),
|
|
874
|
+
e.model.question ? (l(), C(s(u), {
|
|
872
875
|
key: 1,
|
|
873
876
|
is: "survey-string",
|
|
874
877
|
locString: e.model.question.locTitle
|
|
875
|
-
}, null, 8, ["locString"])) : (l(), i("span", Ds,
|
|
878
|
+
}, null, 8, ["locString"])) : (l(), i("span", Ds, k(e.model.title), 1))
|
|
876
879
|
], 4),
|
|
877
880
|
a("td", {
|
|
878
881
|
class: _({
|
|
879
882
|
"svd-test-results__node-value": e.model.isNode,
|
|
880
883
|
"svd-dark-border-color": !e.model.isNode
|
|
881
884
|
})
|
|
882
|
-
},
|
|
885
|
+
}, k(e.model.getString(e.model.displayValue)), 3)
|
|
883
886
|
])), [
|
|
884
887
|
[s(D)]
|
|
885
888
|
]),
|
|
886
|
-
e.model.isNode && !e.model.collapsed ? (l(!0), i(
|
|
889
|
+
e.model.isNode && !e.model.collapsed ? (l(!0), i(w, { key: 0 }, R(e.model.data, (n, r) => (l(), C(s(u), {
|
|
887
890
|
is: "survey-results-table-row",
|
|
888
891
|
model: n,
|
|
889
892
|
key: r + 1
|
|
@@ -904,7 +907,7 @@ const gs = {
|
|
|
904
907
|
ref_key: "inputEl",
|
|
905
908
|
ref: e
|
|
906
909
|
}, null, 512),
|
|
907
|
-
|
|
910
|
+
h(a("div", Is, [
|
|
908
911
|
v(s(u), {
|
|
909
912
|
is: "sv-list",
|
|
910
913
|
model: o.model.errorList
|
|
@@ -927,7 +930,7 @@ const gs = {
|
|
|
927
930
|
n.textElement = e.value;
|
|
928
931
|
}), (n, r) => (l(), i("div", Es, [
|
|
929
932
|
a("div", Ps, [
|
|
930
|
-
|
|
933
|
+
h(a("textarea", {
|
|
931
934
|
class: "svc-json-editor-tab__content-area",
|
|
932
935
|
"aria-label": s(o).ariaLabel,
|
|
933
936
|
disabled: s(o).readOnly,
|
|
@@ -939,7 +942,7 @@ const gs = {
|
|
|
939
942
|
`, 40, Rs), [
|
|
940
943
|
[ce, s(o).text]
|
|
941
944
|
]),
|
|
942
|
-
|
|
945
|
+
h(a("div", Vs, [
|
|
943
946
|
v(s(u), {
|
|
944
947
|
is: "sv-list",
|
|
945
948
|
model: s(o).errorList
|
|
@@ -961,7 +964,7 @@ const gs = {
|
|
|
961
964
|
const e = (o) => {
|
|
962
965
|
o.stopPropagation(), t.item.data.fixError();
|
|
963
966
|
};
|
|
964
|
-
return (o, n) => (l(), i(
|
|
967
|
+
return (o, n) => (l(), i(w, null, [
|
|
965
968
|
v(s(u), {
|
|
966
969
|
is: "sv-svg-icon",
|
|
967
970
|
iconName: o.item.iconName,
|
|
@@ -975,7 +978,7 @@ const gs = {
|
|
|
975
978
|
locString: o.item.locTitle
|
|
976
979
|
}, null, 8, ["locString"])
|
|
977
980
|
]),
|
|
978
|
-
o.item.data.showFixButton ?
|
|
981
|
+
o.item.data.showFixButton ? h((l(), i("button", {
|
|
979
982
|
key: 0,
|
|
980
983
|
type: "button",
|
|
981
984
|
onClick: e,
|
|
@@ -1005,14 +1008,14 @@ const gs = {
|
|
|
1005
1008
|
const e = (o) => {
|
|
1006
1009
|
o.stopPropagation(), t.model.action();
|
|
1007
1010
|
};
|
|
1008
|
-
return (o, n) =>
|
|
1011
|
+
return (o, n) => h((l(), i("div", {
|
|
1009
1012
|
role: "button",
|
|
1010
1013
|
class: _(["svc-logic-tab__content-action svc-btn", {
|
|
1011
1014
|
"svc-logic-tab__content-action--disabled": o.model.enabled !== void 0 && !o.model.enabled
|
|
1012
1015
|
}]),
|
|
1013
1016
|
onClick: e
|
|
1014
1017
|
}, [
|
|
1015
|
-
a("span", Us,
|
|
1018
|
+
a("span", Us, k(o.model.title), 1)
|
|
1016
1019
|
], 2)), [
|
|
1017
1020
|
[s(D)]
|
|
1018
1021
|
]);
|
|
@@ -1031,11 +1034,11 @@ const gs = {
|
|
|
1031
1034
|
a("div", {
|
|
1032
1035
|
class: _(["svc-plugin-tab__content svc-logic-tab__content", { "svc-logic-tab--empty": !e.model.hasItems }])
|
|
1033
1036
|
}, [
|
|
1034
|
-
e.model.hasItems ? (l(), i(
|
|
1037
|
+
e.model.hasItems ? (l(), i(w, { key: 0 }, [
|
|
1035
1038
|
v(s(Q), {
|
|
1036
1039
|
model: e.model.itemsSurvey
|
|
1037
1040
|
}, null, 8, ["model"]),
|
|
1038
|
-
e.model.readOnly ? p("", !0) : (l(),
|
|
1041
|
+
e.model.readOnly ? p("", !0) : (l(), C(ne, {
|
|
1039
1042
|
key: 0,
|
|
1040
1043
|
model: e.model.addNewButton
|
|
1041
1044
|
}, null, 8, ["model"]))
|
|
@@ -1046,7 +1049,7 @@ const gs = {
|
|
|
1046
1049
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
1047
1050
|
placeholderDescriptionText: e.model.placeholderDescriptionText
|
|
1048
1051
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"]),
|
|
1049
|
-
e.model.readOnly ? p("", !0) : (l(),
|
|
1052
|
+
e.model.readOnly ? p("", !0) : (l(), C(ne, {
|
|
1050
1053
|
key: 0,
|
|
1051
1054
|
model: e.model.addNewButton
|
|
1052
1055
|
}, null, 8, ["model"]))
|
|
@@ -1083,7 +1086,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1083
1086
|
return (m, b) => (l(), i("div", {
|
|
1084
1087
|
class: _(m.question.cssClasses.selectWrapper)
|
|
1085
1088
|
}, [
|
|
1086
|
-
m.question.isReadOnly ? p("", !0) : (l(), i(
|
|
1089
|
+
m.question.isReadOnly ? p("", !0) : (l(), i(w, { key: 0 }, [
|
|
1087
1090
|
a("div", {
|
|
1088
1091
|
class: _(m.question.getControlClass()),
|
|
1089
1092
|
onClick: n,
|
|
@@ -1101,14 +1104,14 @@ const js = /* @__PURE__ */ g({
|
|
|
1101
1104
|
a("div", {
|
|
1102
1105
|
class: _(m.question.cssClasses.controlValue)
|
|
1103
1106
|
}, [
|
|
1104
|
-
m.question.selectedItemLocText ? (l(),
|
|
1107
|
+
m.question.selectedItemLocText ? (l(), C(s(u), {
|
|
1105
1108
|
key: 0,
|
|
1106
1109
|
is: "survey-string",
|
|
1107
1110
|
locString: m.question.selectedItemLocText
|
|
1108
1111
|
}, null, 8, ["locString"])) : p("", !0),
|
|
1109
|
-
a("div", null,
|
|
1112
|
+
a("div", null, k(m.question.readOnlyText), 1)
|
|
1110
1113
|
], 2),
|
|
1111
|
-
m.question.allowClear && m.question.cssClasses.cleanButtonIconId ?
|
|
1114
|
+
m.question.allowClear && m.question.cssClasses.cleanButtonIconId ? h((l(), i("div", {
|
|
1112
1115
|
key: 0,
|
|
1113
1116
|
class: _(m.question.cssClasses.cleanButton),
|
|
1114
1117
|
onClick: r
|
|
@@ -1135,12 +1138,12 @@ const js = /* @__PURE__ */ g({
|
|
|
1135
1138
|
class: _(m.question.getControlClass()),
|
|
1136
1139
|
id: m.question.inputId
|
|
1137
1140
|
}, [
|
|
1138
|
-
m.question.selectedItemLocText ? (l(),
|
|
1141
|
+
m.question.selectedItemLocText ? (l(), C(s(u), {
|
|
1139
1142
|
key: 0,
|
|
1140
1143
|
is: "survey-string",
|
|
1141
1144
|
locString: m.question.selectedItemLocText
|
|
1142
1145
|
}, null, 8, ["locString"])) : p("", !0),
|
|
1143
|
-
a("div", null,
|
|
1146
|
+
a("div", null, k(m.question.readOnlyText), 1)
|
|
1144
1147
|
], 10, Ws)) : p("", !0)
|
|
1145
1148
|
], 2));
|
|
1146
1149
|
}
|
|
@@ -1153,7 +1156,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1153
1156
|
const t = c, e = B();
|
|
1154
1157
|
H(t, e);
|
|
1155
1158
|
const o = $(() => t.question.embeddedSurvey);
|
|
1156
|
-
return (n, r) => n.question && o.value && o.value.currentPage ? (l(),
|
|
1159
|
+
return (n, r) => n.question && o.value && o.value.currentPage ? (l(), C(s(u), {
|
|
1157
1160
|
key: 0,
|
|
1158
1161
|
is: "survey-page",
|
|
1159
1162
|
page: o.value.currentPage,
|
|
@@ -1168,7 +1171,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1168
1171
|
},
|
|
1169
1172
|
setup(c) {
|
|
1170
1173
|
const t = c, e = B(), o = pe.getString("pe.clear");
|
|
1171
|
-
return H(t, e), (n, r) => (l(), i(
|
|
1174
|
+
return H(t, e), (n, r) => (l(), i(w, null, [
|
|
1172
1175
|
v(s(u), {
|
|
1173
1176
|
is: "svc-action-button",
|
|
1174
1177
|
text: n.question.linkValueText,
|
|
@@ -1179,7 +1182,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1179
1182
|
title: n.question.tooltip,
|
|
1180
1183
|
iconName: n.question.iconName
|
|
1181
1184
|
}, null, 8, ["text", "click", "selected", "disabled", "classes", "title", "iconName"]),
|
|
1182
|
-
!n.question.isReadOnly && n.question.showClear ? (l(),
|
|
1185
|
+
!n.question.isReadOnly && n.question.showClear ? (l(), C(s(u), {
|
|
1183
1186
|
key: 0,
|
|
1184
1187
|
is: "svc-action-button",
|
|
1185
1188
|
text: s(o),
|
|
@@ -1202,7 +1205,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1202
1205
|
return f(() => t.model), (e, o) => (l(), i("div", {
|
|
1203
1206
|
class: _(["svc-creator-tab__content svc-translation-tab", e.model.isEmpty ? "svc-translation-tab--empty" : ""])
|
|
1204
1207
|
}, [
|
|
1205
|
-
e.model.isEmpty ? (l(),
|
|
1208
|
+
e.model.isEmpty ? (l(), C(j, {
|
|
1206
1209
|
key: 0,
|
|
1207
1210
|
name: "translation",
|
|
1208
1211
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
@@ -1244,7 +1247,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1244
1247
|
}, [
|
|
1245
1248
|
a("span", {
|
|
1246
1249
|
class: _(t.item.data.additionalTitleCss)
|
|
1247
|
-
},
|
|
1250
|
+
}, k(t.item.data.additionalTitle), 3),
|
|
1248
1251
|
v(s(u), {
|
|
1249
1252
|
is: "sv-action-bar-item-dropdown",
|
|
1250
1253
|
item: t.item
|
|
@@ -1269,7 +1272,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1269
1272
|
"svc-creator-tab__content--with-toolbar": e.model.isPageToolbarVisible
|
|
1270
1273
|
}])
|
|
1271
1274
|
}, [
|
|
1272
|
-
e.model.survey.isEmpty ? (l(),
|
|
1275
|
+
e.model.survey.isEmpty ? (l(), C(j, {
|
|
1273
1276
|
key: 0,
|
|
1274
1277
|
name: "theme",
|
|
1275
1278
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
@@ -1280,7 +1283,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1280
1283
|
is: "survey-simulator",
|
|
1281
1284
|
model: e.model.simulator
|
|
1282
1285
|
}, null, 8, ["model"]),
|
|
1283
|
-
e.model.showResults ? (l(),
|
|
1286
|
+
e.model.showResults ? (l(), C(s(u), {
|
|
1284
1287
|
key: 0,
|
|
1285
1288
|
is: "survey-results",
|
|
1286
1289
|
survey: e.model.survey
|
|
@@ -1344,7 +1347,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1344
1347
|
value: e.question.renderedValue,
|
|
1345
1348
|
class: _(e.question.cssClasses.control)
|
|
1346
1349
|
}, null, 42, pt),
|
|
1347
|
-
e.question.showDropdownAction ? (l(), i(
|
|
1350
|
+
e.question.showDropdownAction ? (l(), i(w, { key: 0 }, [
|
|
1348
1351
|
v(s(u), {
|
|
1349
1352
|
is: "sv-action-bar-item",
|
|
1350
1353
|
item: e.question.dropdownAction
|
|
@@ -1366,7 +1369,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1366
1369
|
const t = c;
|
|
1367
1370
|
f(() => t.item);
|
|
1368
1371
|
const e = () => ({ backgroundColor: t.item.value });
|
|
1369
|
-
return (o, n) => (l(), i(
|
|
1372
|
+
return (o, n) => (l(), i(w, null, [
|
|
1370
1373
|
a("span", {
|
|
1371
1374
|
class: "spg-color-editor__color-swatch",
|
|
1372
1375
|
style: K(e())
|
|
@@ -1429,7 +1432,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1429
1432
|
a("div", {
|
|
1430
1433
|
class: _(o.question.cssClasses.buttonsContainer)
|
|
1431
1434
|
}, [
|
|
1432
|
-
|
|
1435
|
+
h((l(), i("button", {
|
|
1433
1436
|
type: "button",
|
|
1434
1437
|
class: _(o.question.cssClasses.clearButton),
|
|
1435
1438
|
disabled: o.question.getIsClearButtonDisabled(),
|
|
@@ -1445,7 +1448,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1445
1448
|
], 10, bt)), [
|
|
1446
1449
|
[s(D)]
|
|
1447
1450
|
]),
|
|
1448
|
-
|
|
1451
|
+
h((l(), i("label", {
|
|
1449
1452
|
role: "button",
|
|
1450
1453
|
class: _(o.question.getChooseButtonCss()),
|
|
1451
1454
|
for: o.question.inputId,
|
|
@@ -1465,7 +1468,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1465
1468
|
], 2)
|
|
1466
1469
|
], 34));
|
|
1467
1470
|
}
|
|
1468
|
-
}), Ct = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], qt = ["disabled"], $t = ["disabled"],
|
|
1471
|
+
}), Ct = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], qt = ["disabled"], $t = ["disabled"], kt = /* @__PURE__ */ g({
|
|
1469
1472
|
__name: "SpinEditor",
|
|
1470
1473
|
props: {
|
|
1471
1474
|
question: {}
|
|
@@ -1552,7 +1555,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1552
1555
|
], 2)
|
|
1553
1556
|
], 34));
|
|
1554
1557
|
}
|
|
1555
|
-
}),
|
|
1558
|
+
}), wt = ["disabled", "title"], le = /* @__PURE__ */ g({
|
|
1556
1559
|
__name: "TextWithReset",
|
|
1557
1560
|
props: {
|
|
1558
1561
|
question: {}
|
|
@@ -1578,7 +1581,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1578
1581
|
iconName: o.question.cssClasses.resetButtonIcon,
|
|
1579
1582
|
size: "auto"
|
|
1580
1583
|
}, null, 8, ["iconName"])
|
|
1581
|
-
], 10,
|
|
1584
|
+
], 10, wt)
|
|
1582
1585
|
], 2));
|
|
1583
1586
|
}
|
|
1584
1587
|
}), ft = ["aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Tt = /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb" }, [
|
|
@@ -1611,7 +1614,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1611
1614
|
"aria-errormessage": o.question.ariaErrormessage,
|
|
1612
1615
|
onClick: n[0] || (n[0] = (r) => o.question.value = !o.question.value)
|
|
1613
1616
|
}, [
|
|
1614
|
-
|
|
1617
|
+
h((l(), i("div", {
|
|
1615
1618
|
class: _(["spg-boolean-switch__button", o.question.value ? "spg-boolean-switch__button--checked" : ""]),
|
|
1616
1619
|
tabindex: "0"
|
|
1617
1620
|
}, Nt, 2)), [
|
|
@@ -1794,7 +1797,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1794
1797
|
ref_key: "root",
|
|
1795
1798
|
ref: n
|
|
1796
1799
|
}, null, 40, At)) : p("", !0),
|
|
1797
|
-
P.value ? (l(),
|
|
1800
|
+
P.value ? (l(), C(s(u), {
|
|
1798
1801
|
key: 2,
|
|
1799
1802
|
is: "sv-character-counter",
|
|
1800
1803
|
counter: O.value,
|
|
@@ -1802,7 +1805,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1802
1805
|
}, null, 8, ["counter", "remainingCharacterCounter"])) : p("", !0)
|
|
1803
1806
|
])
|
|
1804
1807
|
]),
|
|
1805
|
-
m.value ? (l(), i("span", zt,
|
|
1808
|
+
m.value ? (l(), i("span", zt, k(m.value), 1)) : p("", !0)
|
|
1806
1809
|
], 2));
|
|
1807
1810
|
}
|
|
1808
1811
|
}), Ft = {
|
|
@@ -1842,7 +1845,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1842
1845
|
class: "svc-toolbox__panel"
|
|
1843
1846
|
}, [
|
|
1844
1847
|
e.value.showSearch ? (l(), i("div", Ft, [
|
|
1845
|
-
e.value.isCompactRendered ? (l(),
|
|
1848
|
+
e.value.isCompactRendered ? (l(), C(s(u), {
|
|
1846
1849
|
is: "svc-toolbox-tool",
|
|
1847
1850
|
creator: d.model,
|
|
1848
1851
|
key: "searchitem",
|
|
@@ -1856,17 +1859,17 @@ const It = /* @__PURE__ */ g({
|
|
|
1856
1859
|
}, null, 8, ["model"]),
|
|
1857
1860
|
Kt
|
|
1858
1861
|
])) : p("", !0),
|
|
1859
|
-
e.value.showPlaceholder ? (l(), i("div", Ut,
|
|
1862
|
+
e.value.showPlaceholder ? (l(), i("div", Ut, k(e.value.toolboxNoResultsFound), 1)) : p("", !0),
|
|
1860
1863
|
v(W, null, {
|
|
1861
1864
|
default: Y(() => [
|
|
1862
|
-
e.value.showInSingleCategory ? p("", !0) : (l(!0), i(
|
|
1865
|
+
e.value.showInSingleCategory ? p("", !0) : (l(!0), i(w, { key: 0 }, R(e.value.categories, (b, y) => (l(), C(s(u), {
|
|
1863
1866
|
is: "svc-toolbox-category",
|
|
1864
1867
|
key: y,
|
|
1865
1868
|
category: b,
|
|
1866
1869
|
toolbox: e.value
|
|
1867
1870
|
}, null, 8, ["category", "toolbox"]))), 128)),
|
|
1868
1871
|
e.value.showInSingleCategory ? (l(), i("div", Ht, [
|
|
1869
|
-
(l(!0), i(
|
|
1872
|
+
(l(!0), i(w, null, R(r.value, (b) => (l(), C(s(u), {
|
|
1870
1873
|
key: b.renderedId,
|
|
1871
1874
|
is: "svc-toolbox-tool",
|
|
1872
1875
|
creator: d.model,
|
|
@@ -1951,8 +1954,8 @@ const It = /* @__PURE__ */ g({
|
|
|
1951
1954
|
viewModel: {}
|
|
1952
1955
|
},
|
|
1953
1956
|
setup(c) {
|
|
1954
|
-
return (t, e) => (l(), i(
|
|
1955
|
-
|
|
1957
|
+
return (t, e) => (l(), i(w, null, [
|
|
1958
|
+
h((l(), i("div", {
|
|
1956
1959
|
class: _(["svc-toolbox__item", t.item.renderedCss]),
|
|
1957
1960
|
role: "button",
|
|
1958
1961
|
"aria-label": t.item.tooltip,
|
|
@@ -1960,7 +1963,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1960
1963
|
onClick: e[0] || (e[0] = (o) => t.viewModel.click(o))
|
|
1961
1964
|
}, [
|
|
1962
1965
|
a("span", jt, [
|
|
1963
|
-
t.item.iconName ? (l(),
|
|
1966
|
+
t.item.iconName ? (l(), C(s(u), {
|
|
1964
1967
|
key: 0,
|
|
1965
1968
|
is: "sv-svg-icon",
|
|
1966
1969
|
iconName: t.item.iconName,
|
|
@@ -1968,7 +1971,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1968
1971
|
class: "svc-toolbox__item-icon"
|
|
1969
1972
|
}, null, 8, ["iconName"])) : p("", !0)
|
|
1970
1973
|
]),
|
|
1971
|
-
t.isCompact ? p("", !0) : (l(), i("span", Jt,
|
|
1974
|
+
t.isCompact ? p("", !0) : (l(), i("span", Jt, k(t.item.title), 1))
|
|
1972
1975
|
], 10, Wt)), [
|
|
1973
1976
|
[s(D)]
|
|
1974
1977
|
]),
|
|
@@ -1983,7 +1986,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1983
1986
|
size: 24,
|
|
1984
1987
|
class: "svc-toolbox__item-icon"
|
|
1985
1988
|
}, null, 8, ["iconName"]),
|
|
1986
|
-
a("span", null,
|
|
1989
|
+
a("span", null, k(t.item.title), 1)
|
|
1987
1990
|
])) : p("", !0)
|
|
1988
1991
|
], 64));
|
|
1989
1992
|
}
|
|
@@ -2001,7 +2004,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2001
2004
|
}, o = (n) => {
|
|
2002
2005
|
t.viewModel.onMouseLeave(t.item, n);
|
|
2003
2006
|
};
|
|
2004
|
-
return (n, r) => (l(), i(
|
|
2007
|
+
return (n, r) => (l(), i(w, null, [
|
|
2005
2008
|
v(s(u), {
|
|
2006
2009
|
is: "svc-toolbox-item",
|
|
2007
2010
|
viewModel: n.viewModel,
|
|
@@ -2044,16 +2047,16 @@ const It = /* @__PURE__ */ g({
|
|
|
2044
2047
|
}])
|
|
2045
2048
|
}, [
|
|
2046
2049
|
a("div", Yt, [
|
|
2047
|
-
|
|
2050
|
+
h((l(), i("div", {
|
|
2048
2051
|
class: _(["svc-toolbox__category-header", {
|
|
2049
2052
|
"svc-toolbox__category-header--collapsed": e.toolbox.canCollapseCategories
|
|
2050
2053
|
}]),
|
|
2051
2054
|
onClick: o[0] || (o[0] = (n) => e.category.toggleState())
|
|
2052
2055
|
}, [
|
|
2053
|
-
a("span", xt,
|
|
2056
|
+
a("span", xt, k(e.category.title), 1),
|
|
2054
2057
|
e.toolbox.canCollapseCategories ? (l(), i("div", en, [
|
|
2055
2058
|
a("div", on, [
|
|
2056
|
-
|
|
2059
|
+
h(v(s(u), {
|
|
2057
2060
|
is: "sv-svg-icon",
|
|
2058
2061
|
iconName: "icon-arrow-down",
|
|
2059
2062
|
class: "svc-toolbox__category-header__button svc-string-editor__button--expand",
|
|
@@ -2062,7 +2065,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2062
2065
|
[F, e.category.collapsed]
|
|
2063
2066
|
])
|
|
2064
2067
|
]),
|
|
2065
|
-
|
|
2068
|
+
h(v(s(u), {
|
|
2066
2069
|
is: "sv-svg-icon",
|
|
2067
2070
|
iconName: "icon-arrow-up",
|
|
2068
2071
|
class: "svc-toolbox__category-header__button svc-string-editor__button--collapse",
|
|
@@ -2075,7 +2078,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2075
2078
|
[s(D)]
|
|
2076
2079
|
])
|
|
2077
2080
|
]),
|
|
2078
|
-
(l(!0), i(
|
|
2081
|
+
(l(!0), i(w, null, R(e.category.items, (n) => (l(), C(s(u), {
|
|
2079
2082
|
is: "svc-toolbox-tool",
|
|
2080
2083
|
item: n,
|
|
2081
2084
|
key: n.renderedId,
|
|
@@ -2095,7 +2098,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2095
2098
|
return (t, e) => (l(), i("div", {
|
|
2096
2099
|
class: _(t.model.cssClasses.root)
|
|
2097
2100
|
}, [
|
|
2098
|
-
(l(!0), i(
|
|
2101
|
+
(l(!0), i(w, null, R(t.model.renderedActions, (o, n) => (l(), C(s(u), {
|
|
2099
2102
|
key: n,
|
|
2100
2103
|
is: "svc-toolbox-tool",
|
|
2101
2104
|
creator: t.creator,
|
|
@@ -2133,9 +2136,9 @@ const It = /* @__PURE__ */ g({
|
|
|
2133
2136
|
},
|
|
2134
2137
|
setup(c) {
|
|
2135
2138
|
const t = c, e = $(() => t.model.survey);
|
|
2136
|
-
return f(() => t.model), f(() => e.value), (o, n) => (l(), i(
|
|
2139
|
+
return f(() => t.model), f(() => e.value), (o, n) => (l(), i(w, null, [
|
|
2137
2140
|
a("div", nn, [
|
|
2138
|
-
o.model.isToolboxVisible ? (l(),
|
|
2141
|
+
o.model.isToolboxVisible ? (l(), C(s(u), {
|
|
2139
2142
|
key: 0,
|
|
2140
2143
|
is: "svc-toolbox",
|
|
2141
2144
|
model: o.model.creator
|
|
@@ -2149,7 +2152,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2149
2152
|
v(W, null, {
|
|
2150
2153
|
default: Y(() => [
|
|
2151
2154
|
a("div", ln, [
|
|
2152
|
-
o.model.showPlaceholder ? (l(), i(
|
|
2155
|
+
o.model.showPlaceholder ? (l(), i(w, { key: 0 }, [
|
|
2153
2156
|
o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (l(), i("div", an, [
|
|
2154
2157
|
v(s(u), {
|
|
2155
2158
|
is: "survey-header",
|
|
@@ -2173,7 +2176,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2173
2176
|
])
|
|
2174
2177
|
])
|
|
2175
2178
|
], 64)) : p("", !0),
|
|
2176
|
-
o.model.showPlaceholder ? p("", !0) : (l(), i(
|
|
2179
|
+
o.model.showPlaceholder ? p("", !0) : (l(), i(w, { key: 1 }, [
|
|
2177
2180
|
a("div", {
|
|
2178
2181
|
class: _(o.model.designerCss),
|
|
2179
2182
|
style: K([
|
|
@@ -2187,7 +2190,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2187
2190
|
survey: o.model.creator.survey
|
|
2188
2191
|
}, null, 8, ["survey"])
|
|
2189
2192
|
])) : p("", !0),
|
|
2190
|
-
o.model.creator.pageEditMode !== "bypage" ? (l(!0), i(
|
|
2193
|
+
o.model.creator.pageEditMode !== "bypage" ? (l(!0), i(w, { key: 1 }, R(o.model.pages, (r) => (l(), i("div", {
|
|
2191
2194
|
key: r.id,
|
|
2192
2195
|
class: "svc-page",
|
|
2193
2196
|
"data-sv-drop-target-survey-element": r != o.model.newPage ? r.name : "newGhostPage",
|
|
@@ -2238,13 +2241,13 @@ const It = /* @__PURE__ */ g({
|
|
|
2238
2241
|
], 2)
|
|
2239
2242
|
], 64));
|
|
2240
2243
|
}
|
|
2241
|
-
}), bn = ["id", "data-sv-drop-target-survey-page"], yn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), hn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), Cn = {
|
|
2242
|
-
key:
|
|
2243
|
-
class: "svc-page__content-actions"
|
|
2244
|
-
}, $n = {
|
|
2245
|
-
key: 2,
|
|
2244
|
+
}), bn = ["id", "data-sv-drop-target-survey-page"], yn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), hn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), Cn = {
|
|
2245
|
+
key: 0,
|
|
2246
2246
|
class: "svc-page__placeholder_frame"
|
|
2247
|
-
},
|
|
2247
|
+
}, qn = { class: "svc-panel__placeholder_frame" }, $n = { class: "svc-panel__placeholder" }, kn = { class: "svc-page__content-actions" }, wn = {
|
|
2248
|
+
key: 2,
|
|
2249
|
+
class: "svc-page__content-actions"
|
|
2250
|
+
}, fn = /* @__PURE__ */ g({
|
|
2248
2251
|
__name: "Page",
|
|
2249
2252
|
props: {
|
|
2250
2253
|
creator: {},
|
|
@@ -2276,7 +2279,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2276
2279
|
const n = (r) => {
|
|
2277
2280
|
o.value.hover(r, r.currentTarget);
|
|
2278
2281
|
};
|
|
2279
|
-
return (r, d) => s(o).page ?
|
|
2282
|
+
return (r, d) => s(o).page ? h((l(), i("div", {
|
|
2280
2283
|
key: s(o).page.id,
|
|
2281
2284
|
id: s(o).page.id,
|
|
2282
2285
|
class: _(["svc-page__content", s(o).css]),
|
|
@@ -2292,8 +2295,18 @@ const It = /* @__PURE__ */ g({
|
|
|
2292
2295
|
}, [
|
|
2293
2296
|
yn,
|
|
2294
2297
|
hn,
|
|
2298
|
+
v(s(u), {
|
|
2299
|
+
is: "survey-page",
|
|
2300
|
+
survey: s(o).creator.survey,
|
|
2301
|
+
page: s(o).page
|
|
2302
|
+
}, null, 8, ["survey", "page"]),
|
|
2303
|
+
s(o).showPlaceholder ? (l(), i("div", Cn, [
|
|
2304
|
+
a("div", qn, [
|
|
2305
|
+
a("div", $n, k(s(o).placeholderText), 1)
|
|
2306
|
+
])
|
|
2307
|
+
])) : p("", !0),
|
|
2295
2308
|
s(o).allowDragging && !s(o).isGhost ? (l(), i("div", {
|
|
2296
|
-
key:
|
|
2309
|
+
key: 1,
|
|
2297
2310
|
class: "svc-question__drag-area",
|
|
2298
2311
|
onPointerdown: d[0] || (d[0] = (m) => s(o).onPointerDown(m))
|
|
2299
2312
|
}, [
|
|
@@ -2305,39 +2318,29 @@ const It = /* @__PURE__ */ g({
|
|
|
2305
2318
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2306
2319
|
size: "auto"
|
|
2307
2320
|
}), null, 16),
|
|
2308
|
-
a("div",
|
|
2321
|
+
a("div", kn, [
|
|
2309
2322
|
v(s(u), {
|
|
2310
2323
|
is: "sv-action-bar",
|
|
2311
2324
|
model: s(o).actionContainer
|
|
2312
2325
|
}, null, 8, ["model"]),
|
|
2313
|
-
s(o).topActionContainer.hasActions ? (l(),
|
|
2326
|
+
s(o).topActionContainer.hasActions ? (l(), C(s(u), {
|
|
2314
2327
|
key: 0,
|
|
2315
2328
|
is: "sv-action-bar",
|
|
2316
2329
|
model: s(o).topActionContainer
|
|
2317
2330
|
}, null, 8, ["model"])) : p("", !0)
|
|
2318
2331
|
])
|
|
2319
2332
|
], 32)) : p("", !0),
|
|
2320
|
-
!s(o).allowDragging || s(o).isGhost ? (l(), i("div",
|
|
2333
|
+
!s(o).allowDragging || s(o).isGhost ? (l(), i("div", wn, [
|
|
2321
2334
|
v(s(u), {
|
|
2322
2335
|
is: "sv-action-bar",
|
|
2323
2336
|
model: s(o).actionContainer
|
|
2324
2337
|
}, null, 8, ["model"]),
|
|
2325
|
-
s(o).topActionContainer.hasActions ? (l(),
|
|
2338
|
+
s(o).topActionContainer.hasActions ? (l(), C(s(u), {
|
|
2326
2339
|
key: 0,
|
|
2327
2340
|
is: "sv-action-bar",
|
|
2328
2341
|
model: s(o).topActionContainer
|
|
2329
2342
|
}, null, 8, ["model"])) : p("", !0)
|
|
2330
2343
|
])) : p("", !0),
|
|
2331
|
-
v(s(u), {
|
|
2332
|
-
is: "survey-page",
|
|
2333
|
-
survey: s(o).creator.survey,
|
|
2334
|
-
page: s(o).page
|
|
2335
|
-
}, null, 8, ["survey", "page"]),
|
|
2336
|
-
s(o).showPlaceholder ? (l(), i("div", $n, [
|
|
2337
|
-
a("div", wn, [
|
|
2338
|
-
a("div", kn, w(s(o).placeholderText), 1)
|
|
2339
|
-
])
|
|
2340
|
-
])) : p("", !0),
|
|
2341
2344
|
v(s(u), {
|
|
2342
2345
|
is: "sv-action-bar",
|
|
2343
2346
|
model: s(o).footerActionsBar
|
|
@@ -2357,8 +2360,8 @@ const It = /* @__PURE__ */ g({
|
|
|
2357
2360
|
const t = c;
|
|
2358
2361
|
f(() => t.item.data);
|
|
2359
2362
|
const e = $(() => "svc-element__add-new-question " + (t.buttonClass || "svc-btn")), o = $(() => t.renderPopup === void 0 || t.renderPopup !== !1);
|
|
2360
|
-
return (n, r) => (l(), i(
|
|
2361
|
-
|
|
2363
|
+
return (n, r) => (l(), i(w, null, [
|
|
2364
|
+
h((l(), i("div", {
|
|
2362
2365
|
class: _(e.value),
|
|
2363
2366
|
onClick: r[0] || (r[0] = (d) => {
|
|
2364
2367
|
n.item.data.addNewQuestion(n.item, d), d.stopPropagation();
|
|
@@ -2371,8 +2374,8 @@ const It = /* @__PURE__ */ g({
|
|
|
2371
2374
|
iconName: "icon-add_24x24",
|
|
2372
2375
|
size: "auto"
|
|
2373
2376
|
}),
|
|
2374
|
-
a("span", Tn,
|
|
2375
|
-
o.value ? (l(),
|
|
2377
|
+
a("span", Tn, k(n.item.data.addNewQuestionText), 1),
|
|
2378
|
+
o.value ? (l(), C(s(u), {
|
|
2376
2379
|
key: 0,
|
|
2377
2380
|
is: "svc-add-question-type-selector",
|
|
2378
2381
|
questionTypeSelectorModel: n.item.data.questionTypeSelectorModel,
|
|
@@ -2381,7 +2384,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2381
2384
|
], 34)), [
|
|
2382
2385
|
[s(D)]
|
|
2383
2386
|
]),
|
|
2384
|
-
o.value ? p("", !0) : (l(),
|
|
2387
|
+
o.value ? p("", !0) : (l(), C(s(u), {
|
|
2385
2388
|
key: 0,
|
|
2386
2389
|
is: "svc-add-question-type-selector",
|
|
2387
2390
|
questionTypeSelectorModel: n.item.data.questionTypeSelectorModel,
|
|
@@ -2397,7 +2400,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2397
2400
|
},
|
|
2398
2401
|
setup(c) {
|
|
2399
2402
|
const t = c;
|
|
2400
|
-
return f(() => t.questionTypeSelectorModel), (e, o) =>
|
|
2403
|
+
return f(() => t.questionTypeSelectorModel), (e, o) => h((l(), i("button", {
|
|
2401
2404
|
type: "button",
|
|
2402
2405
|
onClick: o[0] || (o[0] = (n) => {
|
|
2403
2406
|
e.questionTypeSelectorModel.action(), n.stopPropagation();
|
|
@@ -2414,7 +2417,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2414
2417
|
size: "auto",
|
|
2415
2418
|
title: e.questionTypeSelectorModel.title
|
|
2416
2419
|
}), null, 16),
|
|
2417
|
-
e.renderPopup ? (l(),
|
|
2420
|
+
e.renderPopup ? (l(), C(s(u), {
|
|
2418
2421
|
key: 0,
|
|
2419
2422
|
is: "sv-popup",
|
|
2420
2423
|
model: e.questionTypeSelectorModel.popupModel
|
|
@@ -2499,7 +2502,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2499
2502
|
key: 0,
|
|
2500
2503
|
class: _(s(o).cssCollapsedHiddenHeader)
|
|
2501
2504
|
}, [
|
|
2502
|
-
d.element.hasTitle ? (l(),
|
|
2505
|
+
d.element.hasTitle ? (l(), C(s(u), {
|
|
2503
2506
|
key: 0,
|
|
2504
2507
|
is: "survey-element-title",
|
|
2505
2508
|
element: d.element
|
|
@@ -2507,10 +2510,10 @@ const It = /* @__PURE__ */ g({
|
|
|
2507
2510
|
key: 1,
|
|
2508
2511
|
class: _(s(o).cssCollapsedHiddenTitle)
|
|
2509
2512
|
}, [
|
|
2510
|
-
a("span", Pn,
|
|
2513
|
+
a("span", Pn, k(d.element.name), 1)
|
|
2511
2514
|
], 2))
|
|
2512
2515
|
], 2)) : p("", !0),
|
|
2513
|
-
|
|
2516
|
+
h((l(), i("div", {
|
|
2514
2517
|
onClick: m[1] || (m[1] = (b) => {
|
|
2515
2518
|
s(o).select(s(o), b), b.stopPropagation();
|
|
2516
2519
|
}),
|
|
@@ -2541,7 +2544,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2541
2544
|
}, null, 8, ["model"])
|
|
2542
2545
|
])
|
|
2543
2546
|
], 32)) : p("", !0),
|
|
2544
|
-
s(o).needToRenderContent ? (l(), i(
|
|
2547
|
+
s(o).needToRenderContent ? (l(), i(w, { key: 1 }, [
|
|
2545
2548
|
v(s(u), {
|
|
2546
2549
|
is: "sv-template-renderer",
|
|
2547
2550
|
componentName: d.componentName,
|
|
@@ -2549,23 +2552,23 @@ const It = /* @__PURE__ */ g({
|
|
|
2549
2552
|
}, null, 8, ["componentName", "componentData"]),
|
|
2550
2553
|
s(o).isEmptyElement && !d.showPlaceholderComponent ? (l(), i("div", Fn, [
|
|
2551
2554
|
a("div", Kn, [
|
|
2552
|
-
a("div", Un,
|
|
2555
|
+
a("div", Un, k(s(o).placeholderText), 1)
|
|
2553
2556
|
])
|
|
2554
2557
|
])) : p("", !0),
|
|
2555
|
-
s(o).isEmptyElement && d.showPlaceholderComponent ? (l(),
|
|
2558
|
+
s(o).isEmptyElement && d.showPlaceholderComponent ? (l(), C(s(u), V(
|
|
2556
2559
|
{
|
|
2557
2560
|
key: 1,
|
|
2558
2561
|
is: d.placeholderComponent
|
|
2559
2562
|
},
|
|
2560
2563
|
d.getPlaceholderComponentData && d.getPlaceholderComponentData(s(o))
|
|
2561
2564
|
), null, 16, ["is"])) : p("", !0),
|
|
2562
|
-
d.adornerComponent ? (l(),
|
|
2565
|
+
d.adornerComponent ? (l(), C(s(u), {
|
|
2563
2566
|
key: 2,
|
|
2564
2567
|
is: d.adornerComponent,
|
|
2565
2568
|
model: s(o),
|
|
2566
2569
|
element: d.element
|
|
2567
2570
|
}, null, 8, ["is", "model", "element"])) : p("", !0),
|
|
2568
|
-
s(o).isBannerShowing ? (l(),
|
|
2571
|
+
s(o).isBannerShowing ? (l(), C(s(u), {
|
|
2569
2572
|
key: 3,
|
|
2570
2573
|
is: "svc-question-banner",
|
|
2571
2574
|
model: n.value
|
|
@@ -2598,7 +2601,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2598
2601
|
t.componentData.element,
|
|
2599
2602
|
null
|
|
2600
2603
|
);
|
|
2601
|
-
return (o, n) => (l(),
|
|
2604
|
+
return (o, n) => (l(), C(se, {
|
|
2602
2605
|
createModel: e,
|
|
2603
2606
|
element: o.componentData.element,
|
|
2604
2607
|
"component-name": o.componentName,
|
|
@@ -2619,7 +2622,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2619
2622
|
), o = (n) => ({
|
|
2620
2623
|
question: n == null ? void 0 : n.filePresentationModel
|
|
2621
2624
|
});
|
|
2622
|
-
return (n, r) => (l(),
|
|
2625
|
+
return (n, r) => (l(), C(se, {
|
|
2623
2626
|
"create-model": e,
|
|
2624
2627
|
element: t.componentData.element,
|
|
2625
2628
|
"show-placeholder-component": !0,
|
|
@@ -2647,9 +2650,9 @@ const It = /* @__PURE__ */ g({
|
|
|
2647
2650
|
element: {}
|
|
2648
2651
|
},
|
|
2649
2652
|
setup(c) {
|
|
2650
|
-
return (t, e) => (l(), i(
|
|
2653
|
+
return (t, e) => (l(), i(w, null, [
|
|
2651
2654
|
!t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div", On, [
|
|
2652
|
-
t.model.allowEdit ? (l(), i(
|
|
2655
|
+
t.model.allowEdit ? (l(), i(w, { key: 0 }, [
|
|
2653
2656
|
a("input", {
|
|
2654
2657
|
type: "file",
|
|
2655
2658
|
"aria-hidden": "true",
|
|
@@ -2657,7 +2660,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2657
2660
|
accept: t.model.acceptedTypes,
|
|
2658
2661
|
class: "svc-choose-file-input"
|
|
2659
2662
|
}, null, 8, Qn),
|
|
2660
|
-
|
|
2663
|
+
h((l(), i("span", Gn, [
|
|
2661
2664
|
v(s(u), {
|
|
2662
2665
|
is: "sv-svg-icon",
|
|
2663
2666
|
iconName: "icon-choosefile",
|
|
@@ -2697,7 +2700,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2697
2700
|
a("div", {
|
|
2698
2701
|
class: _((r = s(e)) == null ? void 0 : r.controlsClassNames)
|
|
2699
2702
|
}, [
|
|
2700
|
-
(d = s(e)) != null && d.allowRemove ?
|
|
2703
|
+
(d = s(e)) != null && d.allowRemove ? h((l(), C(s(u), {
|
|
2701
2704
|
key: 0,
|
|
2702
2705
|
is: "sv-svg-icon",
|
|
2703
2706
|
iconName: "icon-remove_16x16",
|
|
@@ -2712,7 +2715,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2712
2715
|
}, null, 8, ["class", "title", "aria-label"])), [
|
|
2713
2716
|
[s(D)]
|
|
2714
2717
|
]) : p("", !0),
|
|
2715
|
-
(N = s(e)) != null && N.allowAdd ?
|
|
2718
|
+
(N = s(e)) != null && N.allowAdd ? h((l(), C(s(u), {
|
|
2716
2719
|
key: 1,
|
|
2717
2720
|
is: "sv-svg-icon",
|
|
2718
2721
|
iconName: "icon-add_16x16",
|
|
@@ -2784,7 +2787,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2784
2787
|
}, null, 2),
|
|
2785
2788
|
X(b.$slots, "default"),
|
|
2786
2789
|
(O = s(m)) != null && O.isSupportCellEditor ? (l(), i("div", Yn, [
|
|
2787
|
-
|
|
2790
|
+
h((l(), i("span", {
|
|
2788
2791
|
class: "svc-matrix-cell__question-controls-button svc-context-button",
|
|
2789
2792
|
onClick: y[0] || (y[0] = (P) => s(m).editQuestion(s(m), P))
|
|
2790
2793
|
}, [
|
|
@@ -2855,7 +2858,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2855
2858
|
key: 0,
|
|
2856
2859
|
class: _(s(e).cssCollapsedHiddenHeader)
|
|
2857
2860
|
}, [
|
|
2858
|
-
s(e).element.hasTitle ? (l(),
|
|
2861
|
+
s(e).element.hasTitle ? (l(), C(s(u), {
|
|
2859
2862
|
key: 0,
|
|
2860
2863
|
is: "survey-element-title",
|
|
2861
2864
|
element: s(e).element
|
|
@@ -2863,10 +2866,10 @@ const It = /* @__PURE__ */ g({
|
|
|
2863
2866
|
key: 1,
|
|
2864
2867
|
class: _(s(e).cssCollapsedHiddenTitle)
|
|
2865
2868
|
}, [
|
|
2866
|
-
a("span", nl,
|
|
2869
|
+
a("span", nl, k(s(e).element.name), 1)
|
|
2867
2870
|
], 2))
|
|
2868
2871
|
], 2)) : p("", !0),
|
|
2869
|
-
|
|
2872
|
+
h((l(), i("div", {
|
|
2870
2873
|
class: _(s(e).css()),
|
|
2871
2874
|
onClick: r[2] || (r[2] = (d) => s(e).element.isInteractiveDesignElement ? s(e).select(s(e), d) : null)
|
|
2872
2875
|
}, [
|
|
@@ -2893,12 +2896,12 @@ const It = /* @__PURE__ */ g({
|
|
|
2893
2896
|
}, null, 8, ["model"])
|
|
2894
2897
|
])
|
|
2895
2898
|
], 32)) : p("", !0),
|
|
2896
|
-
s(e).needToRenderContent ? (l(), i(
|
|
2899
|
+
s(e).needToRenderContent ? (l(), i(w, { key: 1 }, [
|
|
2897
2900
|
v(s(u), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
|
|
2898
2901
|
s(e).isEmptyElement ? (l(), i("div", cl, [
|
|
2899
2902
|
a("div", ul, [
|
|
2900
|
-
a("div", pl,
|
|
2901
|
-
s(e).showAddQuestionButton ?
|
|
2903
|
+
a("div", pl, k(s(e).placeholderText), 1),
|
|
2904
|
+
s(e).showAddQuestionButton ? h((l(), i("div", {
|
|
2902
2905
|
key: 0,
|
|
2903
2906
|
class: "svc-panel__add-new-question svc-action-button",
|
|
2904
2907
|
onClick: o
|
|
@@ -2909,7 +2912,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2909
2912
|
iconName: "icon-add_24x24",
|
|
2910
2913
|
size: "auto"
|
|
2911
2914
|
}),
|
|
2912
|
-
a("span", vl,
|
|
2915
|
+
a("span", vl, k(s(e).addNewQuestionText), 1)
|
|
2913
2916
|
])), [
|
|
2914
2917
|
[s(D)]
|
|
2915
2918
|
]) : p("", !0)
|
|
@@ -3002,7 +3005,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3002
3005
|
title: s(m).dragTooltip
|
|
3003
3006
|
}, null, 8, ["title"])
|
|
3004
3007
|
])) : p("", !0),
|
|
3005
|
-
s(m).allowAdd ?
|
|
3008
|
+
s(m).allowAdd ? h((l(), i("span", {
|
|
3006
3009
|
key: 1,
|
|
3007
3010
|
class: "svc-item-value-controls__button svc-item-value-controls__add",
|
|
3008
3011
|
onClick: y[0] || (y[0] = (N) => s(m).add(s(m))),
|
|
@@ -3017,7 +3020,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3017
3020
|
])), [
|
|
3018
3021
|
[s(D)]
|
|
3019
3022
|
]) : p("", !0),
|
|
3020
|
-
s(m).allowRemove ?
|
|
3023
|
+
s(m).allowRemove ? h((l(), i("span", {
|
|
3021
3024
|
key: 2,
|
|
3022
3025
|
class: "svc-item-value-controls__button svc-item-value-controls__remove",
|
|
3023
3026
|
onClick: y[1] || (y[1] = (N) => s(m).remove(s(m))),
|
|
@@ -3042,7 +3045,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3042
3045
|
])
|
|
3043
3046
|
], 42, yl));
|
|
3044
3047
|
}
|
|
3045
|
-
}),
|
|
3048
|
+
}), kl = ["data-sv-drop-target-item-value"], wl = { class: "svc-image-item-value-wrapper__content" }, fl = ["accept"], Tl = {
|
|
3046
3049
|
key: 0,
|
|
3047
3050
|
class: "svc-image-item-value__item"
|
|
3048
3051
|
}, Dl = {
|
|
@@ -3093,7 +3096,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3093
3096
|
class: "svc-image-item-value-wrapper__ghost",
|
|
3094
3097
|
style: K(m.value)
|
|
3095
3098
|
}, null, 4),
|
|
3096
|
-
a("div",
|
|
3099
|
+
a("div", wl, [
|
|
3097
3100
|
a("input", {
|
|
3098
3101
|
type: "file",
|
|
3099
3102
|
"aria-hidden": "true",
|
|
@@ -3101,7 +3104,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3101
3104
|
accept: s(d).acceptedTypes,
|
|
3102
3105
|
class: "svc-choose-file-input"
|
|
3103
3106
|
}, null, 8, fl),
|
|
3104
|
-
!s(d).isNew && !s(d).isUploading ? (l(), i(
|
|
3107
|
+
!s(d).isNew && !s(d).isUploading ? (l(), i(w, { key: 0 }, [
|
|
3105
3108
|
s(d).isNew ? p("", !0) : (l(), i("div", Tl, [
|
|
3106
3109
|
v(s(u), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
|
|
3107
3110
|
])),
|
|
@@ -3119,7 +3122,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3119
3122
|
})
|
|
3120
3123
|
], 32)) : p("", !0),
|
|
3121
3124
|
s(d).canRenderControls ? (l(), i("div", Dl, [
|
|
3122
|
-
|
|
3125
|
+
h((l(), i("span", {
|
|
3123
3126
|
class: "svc-context-button",
|
|
3124
3127
|
onClick: y[1] || (y[1] = (N) => s(d).chooseFile(s(d))),
|
|
3125
3128
|
title: void 0,
|
|
@@ -3135,7 +3138,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3135
3138
|
])), [
|
|
3136
3139
|
[s(D)]
|
|
3137
3140
|
]),
|
|
3138
|
-
|
|
3141
|
+
h((l(), i("span", {
|
|
3139
3142
|
class: "svc-context-button svc-context-button--danger",
|
|
3140
3143
|
onClick: y[2] || (y[2] = (N) => s(d).remove(s(d))),
|
|
3141
3144
|
title: void 0,
|
|
@@ -3153,7 +3156,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3153
3156
|
])
|
|
3154
3157
|
])) : p("", !0)
|
|
3155
3158
|
], 64)) : p("", !0),
|
|
3156
|
-
s(d).isNew || s(d).isUploading ? (l(), i(
|
|
3159
|
+
s(d).isNew || s(d).isUploading ? (l(), i(w, { key: 1 }, [
|
|
3157
3160
|
a("div", {
|
|
3158
3161
|
class: "svc-image-item-value__item",
|
|
3159
3162
|
onDragover: y[3] || (y[3] = (N) => s(d).onDragOver(N)),
|
|
@@ -3177,7 +3180,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3177
3180
|
class: "svc-image-item-value-controls",
|
|
3178
3181
|
onPointerdown: y[7] || (y[7] = (N) => N.stopPropagation())
|
|
3179
3182
|
}, [
|
|
3180
|
-
s(d).allowAdd && !s(d).isUploading ?
|
|
3183
|
+
s(d).allowAdd && !s(d).isUploading ? h((l(), i("span", {
|
|
3181
3184
|
key: 0,
|
|
3182
3185
|
class: "svc-context-button svc-image-item-value-controls__add",
|
|
3183
3186
|
onClick: y[6] || (y[6] = (N) => s(d).chooseNewFile(s(d))),
|
|
@@ -3196,12 +3199,13 @@ const It = /* @__PURE__ */ g({
|
|
|
3196
3199
|
], 32)
|
|
3197
3200
|
], 64)) : p("", !0)
|
|
3198
3201
|
])
|
|
3199
|
-
], 42,
|
|
3202
|
+
], 42, kl));
|
|
3200
3203
|
}
|
|
3201
3204
|
}), Bl = /* @__PURE__ */ g({
|
|
3202
3205
|
__name: "QuestionEditor",
|
|
3203
3206
|
props: {
|
|
3204
|
-
survey: {}
|
|
3207
|
+
survey: {},
|
|
3208
|
+
style: {}
|
|
3205
3209
|
},
|
|
3206
3210
|
setup(c) {
|
|
3207
3211
|
const t = c, e = $(() => {
|
|
@@ -3226,7 +3230,11 @@ const It = /* @__PURE__ */ g({
|
|
|
3226
3230
|
}
|
|
3227
3231
|
};
|
|
3228
3232
|
});
|
|
3229
|
-
return (r, d) => (l(),
|
|
3233
|
+
return (r, d) => (l(), i("div", {
|
|
3234
|
+
style: K(t.style)
|
|
3235
|
+
}, [
|
|
3236
|
+
v(s(u), V({ is: o.value }, n.value), null, 16, ["is"])
|
|
3237
|
+
], 4));
|
|
3230
3238
|
}
|
|
3231
3239
|
}), El = ["accept"], Pl = /* @__PURE__ */ a("svg", null, [
|
|
3232
3240
|
/* @__PURE__ */ a("use", { "xlink:href": "#icon-image-48x48" })
|
|
@@ -3271,8 +3279,8 @@ const It = /* @__PURE__ */ g({
|
|
|
3271
3279
|
accept: s(r).acceptedTypes,
|
|
3272
3280
|
class: "svc-choose-file-input"
|
|
3273
3281
|
}, null, 8, El),
|
|
3274
|
-
d.value ? p("", !0) : (l(), i(
|
|
3275
|
-
s(r).allowEdit && !s(r).isUploading ?
|
|
3282
|
+
d.value ? p("", !0) : (l(), i(w, { key: 0 }, [
|
|
3283
|
+
s(r).allowEdit && !s(r).isUploading ? h((l(), i("div", {
|
|
3276
3284
|
key: 0,
|
|
3277
3285
|
class: "svc-logo-image-placeholder",
|
|
3278
3286
|
onClick: y[0] || (y[0] = (N) => s(r).chooseFile(s(r)))
|
|
@@ -3285,7 +3293,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3285
3293
|
class: _(s(r).containerCss)
|
|
3286
3294
|
}, [
|
|
3287
3295
|
a("div", Vl, [
|
|
3288
|
-
|
|
3296
|
+
h((l(), i("span", {
|
|
3289
3297
|
class: "svc-context-button",
|
|
3290
3298
|
onClick: y[1] || (y[1] = (N) => s(r).chooseFile(s(r))),
|
|
3291
3299
|
title: void 0,
|
|
@@ -3299,7 +3307,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3299
3307
|
])), [
|
|
3300
3308
|
[s(D)]
|
|
3301
3309
|
]),
|
|
3302
|
-
|
|
3310
|
+
h((l(), i("span", {
|
|
3303
3311
|
class: "svc-context-button svc-context-button--danger",
|
|
3304
3312
|
onClick: y[2] || (y[2] = (N) => s(r).remove(s(r))),
|
|
3305
3313
|
title: void 0,
|
|
@@ -3350,7 +3358,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3350
3358
|
size: "auto"
|
|
3351
3359
|
})
|
|
3352
3360
|
]),
|
|
3353
|
-
|
|
3361
|
+
h(a("input", {
|
|
3354
3362
|
type: "text",
|
|
3355
3363
|
class: "svc-search__input",
|
|
3356
3364
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r),
|
|
@@ -3360,7 +3368,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3360
3368
|
[ce, e.value]
|
|
3361
3369
|
]),
|
|
3362
3370
|
a("div", Ul, [
|
|
3363
|
-
a("div", Hl,
|
|
3371
|
+
a("div", Hl, k(o.model.matchCounterText), 1),
|
|
3364
3372
|
v(s(u), {
|
|
3365
3373
|
is: "sv-action-bar",
|
|
3366
3374
|
model: o.model.searchActionBar
|
|
@@ -3390,12 +3398,12 @@ const It = /* @__PURE__ */ g({
|
|
|
3390
3398
|
n.stopItemsContainerHeightObserver(), n.setScrollableContainer(void 0);
|
|
3391
3399
|
}), L(() => {
|
|
3392
3400
|
e.value.dispose();
|
|
3393
|
-
}), (n, r) =>
|
|
3401
|
+
}), (n, r) => h((l(), i("div", {
|
|
3394
3402
|
class: "svc-page-navigator",
|
|
3395
3403
|
ref_key: "root",
|
|
3396
3404
|
ref: o
|
|
3397
3405
|
}, [
|
|
3398
|
-
|
|
3406
|
+
h((l(), i("div", {
|
|
3399
3407
|
class: _(["svc-page-navigator__selector svc-page-navigator__button", { "svc-page-navigator__button--pressed": s(e).isPopupOpened }]),
|
|
3400
3408
|
onClick: r[0] || (r[0] = (d) => s(e).togglePageSelector(d)),
|
|
3401
3409
|
title: s(e).pageSelectorCaption
|
|
@@ -3414,7 +3422,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3414
3422
|
[s(D)]
|
|
3415
3423
|
]),
|
|
3416
3424
|
a("div", null, [
|
|
3417
|
-
(l(!0), i(
|
|
3425
|
+
(l(!0), i(w, null, R(s(e).visibleItems, (d) => (l(), C(s(u), {
|
|
3418
3426
|
is: "svc-page-navigator-item",
|
|
3419
3427
|
key: d.id,
|
|
3420
3428
|
model: d
|
|
@@ -3440,7 +3448,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3440
3448
|
t.model.action(), o.stopPropagation(), o.preventDefault();
|
|
3441
3449
|
};
|
|
3442
3450
|
return (o, n) => (l(), i("div", Wl, [
|
|
3443
|
-
|
|
3451
|
+
h((l(), i("div", {
|
|
3444
3452
|
class: _(["svc-page-navigator-item-content", {
|
|
3445
3453
|
"svc-page-navigator-item--selected": o.model.active,
|
|
3446
3454
|
"svc-page-navigator-item--disabled": o.model.disabled
|
|
@@ -3452,7 +3460,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3452
3460
|
title: o.model.title
|
|
3453
3461
|
}, Zl, 8, jl),
|
|
3454
3462
|
a("div", Xl, [
|
|
3455
|
-
a("span", Yl,
|
|
3463
|
+
a("span", Yl, k(o.model.title), 1),
|
|
3456
3464
|
xl
|
|
3457
3465
|
])
|
|
3458
3466
|
], 2)), [
|
|
@@ -3478,7 +3486,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3478
3486
|
return (n, r) => (l(), i("div", oa, [
|
|
3479
3487
|
a("div", null, [
|
|
3480
3488
|
a("div", sa, [
|
|
3481
|
-
(l(!0), i(
|
|
3489
|
+
(l(!0), i(w, null, R(n.model.getRenderedItems(), (d) => (l(), i("div", {
|
|
3482
3490
|
key: d.value,
|
|
3483
3491
|
class: _(n.model.getChoiceCss())
|
|
3484
3492
|
}, [
|
|
@@ -3487,7 +3495,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3487
3495
|
}, o(d)), null, 16, ["is"])
|
|
3488
3496
|
], 2))), 128))
|
|
3489
3497
|
]),
|
|
3490
|
-
n.model.needToCollapse ? (l(),
|
|
3498
|
+
n.model.needToCollapse ? (l(), C(s(u), {
|
|
3491
3499
|
key: 0,
|
|
3492
3500
|
is: "svc-action-button",
|
|
3493
3501
|
text: n.model.getButtonText(),
|
|
@@ -3509,7 +3517,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3509
3517
|
t.componentData.element,
|
|
3510
3518
|
null
|
|
3511
3519
|
);
|
|
3512
|
-
return (o, n) => (l(),
|
|
3520
|
+
return (o, n) => (l(), C(se, {
|
|
3513
3521
|
"create-model": e,
|
|
3514
3522
|
element: o.componentData.element,
|
|
3515
3523
|
"component-name": o.componentName,
|
|
@@ -3538,7 +3546,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3538
3546
|
a("div", aa, [
|
|
3539
3547
|
v(s(u), V({ is: r.componentName }, r.componentData), null, 16, ["is"]),
|
|
3540
3548
|
a("div", ia, [
|
|
3541
|
-
(l(!0), i(
|
|
3549
|
+
(l(!0), i(w, null, R(e.value.visibleChoices, (m) => (l(), i("div", {
|
|
3542
3550
|
key: m.value,
|
|
3543
3551
|
class: "svc-question__dropdown-choice"
|
|
3544
3552
|
}, [
|
|
@@ -3592,7 +3600,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3592
3600
|
ref_key: "root",
|
|
3593
3601
|
ref: e
|
|
3594
3602
|
}, [
|
|
3595
|
-
s(o).element.isInteractiveDesignElement ?
|
|
3603
|
+
s(o).element.isInteractiveDesignElement ? h((l(), i("div", {
|
|
3596
3604
|
key: 0,
|
|
3597
3605
|
class: _(["svc-question__content", s(o).css()]),
|
|
3598
3606
|
onClick: r[1] || (r[1] = (d) => s(o).select(s(o), d)),
|
|
@@ -3628,24 +3636,24 @@ const It = /* @__PURE__ */ g({
|
|
|
3628
3636
|
], 2)), [
|
|
3629
3637
|
[s(D)]
|
|
3630
3638
|
]) : p("", !0),
|
|
3631
|
-
s(o).element.isInteractiveDesignElement ? p("", !0) : (l(), i(
|
|
3639
|
+
s(o).element.isInteractiveDesignElement ? p("", !0) : (l(), i(w, { key: 1 }, [
|
|
3632
3640
|
v(s(u), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
|
|
3633
3641
|
s(o).isEmptyElement ? (l(), i("div", ha, [
|
|
3634
|
-
a("div", Ca,
|
|
3642
|
+
a("div", Ca, k(s(o).placeholderText), 1)
|
|
3635
3643
|
])) : p("", !0)
|
|
3636
3644
|
], 64))
|
|
3637
3645
|
], 42, da)) : p("", !0);
|
|
3638
3646
|
}
|
|
3639
|
-
}), $a = { class: "svc-carry-forward-panel-wrapper" },
|
|
3647
|
+
}), $a = { class: "svc-carry-forward-panel-wrapper" }, ka = { class: "svc-carry-forward-panel" }, wa = { class: "svc-carry-forward-panel__link" }, fa = /* @__PURE__ */ g({
|
|
3640
3648
|
__name: "QuestionBanner",
|
|
3641
3649
|
props: {
|
|
3642
3650
|
model: {}
|
|
3643
3651
|
},
|
|
3644
3652
|
setup(c) {
|
|
3645
3653
|
return (t, e) => (l(), i("div", $a, [
|
|
3646
|
-
a("div",
|
|
3647
|
-
a("span", null,
|
|
3648
|
-
a("span",
|
|
3654
|
+
a("div", ka, [
|
|
3655
|
+
a("span", null, k(t.model.text) + k(" "), 1),
|
|
3656
|
+
a("span", wa, [
|
|
3649
3657
|
v(s(u), {
|
|
3650
3658
|
is: "svc-action-button",
|
|
3651
3659
|
text: t.model.actionText,
|
|
@@ -3664,7 +3672,7 @@ function ve(c) {
|
|
|
3664
3672
|
void 0,
|
|
3665
3673
|
c
|
|
3666
3674
|
);
|
|
3667
|
-
t("svc-tabbed-menu", Ze), t("svc-tabbed-menu-item-wrapper", Ye), t("svc-tabbed-menu-item", xe), t("svc-side-bar", to), t("svc-side-bar-default-header", io), t("svc-side-bar-page", ro), t("svc-tabs", _o), t("svc-tab-control", $o), t("svc-tab-button", Do), t("svc-property-grid-placeholder", Eo), t("svc-side-bar-header", Lo), t("svc-side-bar-property-grid-header", Go), t("svc-property-grid", mo), t("svc-object-selector", co), t("svc-search", Ol), t("svc-scroll", W), t("svc-switcher", ns), t("svc-action-button", Yo), t("svc-question-error", Wo), t("survey-embeddedsurvey", Js), t("sv-logic-operator", js), t("survey-linkvalue", Zs), t("survey-color", vt), t("color-item", mt), t("sv-boolean-switch", It), t("survey-fileedit", ht), t("survey-spinedit",
|
|
3675
|
+
t("svc-tabbed-menu", Ze), t("svc-tabbed-menu-item-wrapper", Ye), t("svc-tabbed-menu-item", xe), t("svc-side-bar", to), t("svc-side-bar-default-header", io), t("svc-side-bar-page", ro), t("svc-tabs", _o), t("svc-tab-control", $o), t("svc-tab-button", Do), t("svc-property-grid-placeholder", Eo), t("svc-side-bar-header", Lo), t("svc-side-bar-property-grid-header", Go), t("svc-property-grid", mo), t("svc-object-selector", co), t("svc-search", Ol), t("svc-scroll", W), t("svc-switcher", ns), t("svc-action-button", Yo), t("svc-question-error", Wo), t("survey-embeddedsurvey", Js), t("sv-logic-operator", js), t("survey-linkvalue", Zs), t("survey-color", vt), t("color-item", mt), t("sv-boolean-switch", It), t("survey-fileedit", ht), t("survey-spinedit", kt), t("survey-textwithreset", le), t("survey-commentwithreset", le), t("survey-widget", Q), t("survey-simulator", is), t("svc-tab-preview", vs), t("svc-complete-page", _s), t("survey-results", Ts), t("survey-results-table-row", Ns), t("json-error-item", Ks), t("svc-tab-json-editor-textarea", As), t("svc-tab-json-editor-ace", Bs), t("svc-tab-translation", ot), t("sd-translation-line-skeleton", at), t("svc-translate-from-action", it), t("svc-tab-logic", Qs), t("svc-tab-theme", ct), t("svc-toolbox", Ot), t("svc-toolbox-list", tn), t("svc-toolbox-category", sn), t("svc-toolbox-tool", Gt), t("svc-toolbox-item", Zt), t("svc-toolbox-item-group", Xt), t(ze, Lt), t("svc-tab-designer", gn), t("svc-page-navigator", Gl), t("svc-page-navigator-item", ea), t("svc-page", fn), t("svc-row", Bn), t("svc-add-new-question-btn", Dn), t("svc-add-question-type-selector", Mn), t("svc-question", ae), t("svc-rating-question", ae), t("svc-rating-question-content", Xn), t("svc-image-question", Hn), t("svc-image-question-adorner", Jn), t("svc-matrix-cell", xn), t("svc-cell-question", sl), t("svc-cell-dropdown-question", ra), t("svc-question-editor-content", Bl), t("svc-logo-image", zl), t("svc-panel", bl), t("svc-item-value", $l), t("svc-image-item-value", Il), t("svc-dropdown-question", na), t("svc-dropdown-question-adorner", ta), t("svc-widget-question", qa), t("svc-question-banner", fa);
|
|
3668
3676
|
}
|
|
3669
3677
|
ve(
|
|
3670
3678
|
(c, t) => re.Instance.registerComponent(c, t)
|