survey-creator-vue 2.0.1 → 2.0.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 +4 -4
- package/survey-creator-vue.es.js +362 -352
- package/survey-creator-vue.umd.js +2 -2
package/survey-creator-vue.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { ScrollViewModel as ke, editorLocalization as pe, SurveyResultsModel as
|
|
|
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"
|
|
8
|
-
}, Ue = ["v-show"], He = { class: "svc-creator__content-holder svc-flex-column" }, Oe = ["id"], Qe = {
|
|
8
|
+
}, Ue = ["v-show"], He = { class: "svc-creator__content-holder svc-flex-column" }, Oe = ["aria-labelledby", "id"], Qe = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "svc-footer-bar"
|
|
11
11
|
}, Ge = ["v-show"], We = {
|
|
@@ -75,10 +75,12 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
75
75
|
a("div", He, [
|
|
76
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
|
+
role: "tabpanel",
|
|
78
79
|
class: _(["svc-creator-tab", {
|
|
79
80
|
"svc-creator__toolbox--right": e.value.toolboxLocation == "right"
|
|
80
81
|
}]),
|
|
81
82
|
key: d.id,
|
|
83
|
+
"aria-labelledby": "tab-" + d.id,
|
|
82
84
|
id: "scrollableDiv-" + d.id
|
|
83
85
|
}, [
|
|
84
86
|
v(s(u), {
|
|
@@ -137,7 +139,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
137
139
|
}), (n, r) => (l(), i("div", {
|
|
138
140
|
class: "svc-tabbed-menu",
|
|
139
141
|
ref_key: "container",
|
|
140
|
-
ref: o
|
|
142
|
+
ref: o,
|
|
143
|
+
role: "tablist"
|
|
141
144
|
}, [
|
|
142
145
|
(l(!0), i(w, null, R(n.model.renderedActions, (d) => (l(), C(s(u), {
|
|
143
146
|
key: d.renderedId,
|
|
@@ -174,7 +177,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
174
177
|
])
|
|
175
178
|
], 2));
|
|
176
179
|
}
|
|
177
|
-
}), xe = /* @__PURE__ */ g({
|
|
180
|
+
}), xe = ["id", "aria-selected", "aria-controls"], eo = /* @__PURE__ */ g({
|
|
178
181
|
__name: "TabbedMenuItem",
|
|
179
182
|
props: {
|
|
180
183
|
item: {}
|
|
@@ -182,6 +185,10 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
182
185
|
setup(c) {
|
|
183
186
|
const t = c;
|
|
184
187
|
return f(() => t.item), (e, o) => h((l(), i("div", {
|
|
188
|
+
role: "tab",
|
|
189
|
+
id: "tab-" + e.item.id,
|
|
190
|
+
"aria-selected": e.item.active,
|
|
191
|
+
"aria-controls": "scrollableDiv-" + e.item.id,
|
|
185
192
|
class: _(["svc-tabbed-menu-item", e.item.getRootCss()]),
|
|
186
193
|
onClick: o[0] || (o[0] = //@ts-ignore
|
|
187
194
|
(...n) => e.item.action && e.item.action(...n))
|
|
@@ -198,11 +205,11 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
198
205
|
class: _(e.item.getIconCss()),
|
|
199
206
|
title: e.item.tooltip || e.item.title
|
|
200
207
|
}, null, 8, ["iconName", "class", "title"])) : p("", !0)
|
|
201
|
-
],
|
|
208
|
+
], 10, xe)), [
|
|
202
209
|
[s(D)]
|
|
203
210
|
]);
|
|
204
211
|
}
|
|
205
|
-
}),
|
|
212
|
+
}), oo = { class: "svc-flex-row svc-side-bar__wrapper" }, so = { class: "svc-side-bar__container-wrapper" }, to = { class: "svc-side-bar__container-content" }, no = /* @__PURE__ */ g({
|
|
206
213
|
__name: "SideBar",
|
|
207
214
|
props: {
|
|
208
215
|
model: {}
|
|
@@ -222,8 +229,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
222
229
|
}, null, 512), [
|
|
223
230
|
[F, o.model.renderContainer]
|
|
224
231
|
]),
|
|
225
|
-
a("div",
|
|
226
|
-
h(a("div",
|
|
232
|
+
a("div", oo, [
|
|
233
|
+
h(a("div", so, [
|
|
227
234
|
a("div", {
|
|
228
235
|
class: "svc-side-bar__container",
|
|
229
236
|
ref_key: "root",
|
|
@@ -233,7 +240,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
233
240
|
is: o.model.header.component,
|
|
234
241
|
model: o.model.header.componentModel
|
|
235
242
|
}, null, 8, ["is", "model"]),
|
|
236
|
-
a("div",
|
|
243
|
+
a("div", to, [
|
|
237
244
|
(l(!0), i(w, null, R(o.model.pages, (r, d) => (l(), C(s(u), {
|
|
238
245
|
key: d,
|
|
239
246
|
is: "svc-side-bar-page",
|
|
@@ -254,27 +261,27 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
254
261
|
[F, o.model.renderRoot]
|
|
255
262
|
]);
|
|
256
263
|
}
|
|
257
|
-
}),
|
|
264
|
+
}), lo = { class: "svc-side-bar__container-header" }, ao = { class: "svc-side-bar__container-actions" }, io = {
|
|
258
265
|
key: 0,
|
|
259
266
|
class: "svc-side-bar__container-title"
|
|
260
|
-
},
|
|
267
|
+
}, ro = /* @__PURE__ */ g({
|
|
261
268
|
__name: "SideBarDefaultHeader",
|
|
262
269
|
props: {
|
|
263
270
|
model: {}
|
|
264
271
|
},
|
|
265
272
|
setup(c) {
|
|
266
273
|
const t = c;
|
|
267
|
-
return f(() => t.model), (e, o) => (l(), i("div",
|
|
268
|
-
a("div",
|
|
274
|
+
return f(() => t.model), (e, o) => (l(), i("div", lo, [
|
|
275
|
+
a("div", ao, [
|
|
269
276
|
v(s(u), {
|
|
270
277
|
is: "sv-action-bar",
|
|
271
278
|
model: e.model.toolbar
|
|
272
279
|
}, null, 8, ["model"])
|
|
273
280
|
]),
|
|
274
|
-
e.model.title ? (l(), i("div",
|
|
281
|
+
e.model.title ? (l(), i("div", io, k(e.model.title), 1)) : p("", !0)
|
|
275
282
|
]));
|
|
276
283
|
}
|
|
277
|
-
}),
|
|
284
|
+
}), co = /* @__PURE__ */ g({
|
|
278
285
|
__name: "SideBarPage",
|
|
279
286
|
props: {
|
|
280
287
|
model: {}
|
|
@@ -287,7 +294,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
287
294
|
model: e.model.componentData
|
|
288
295
|
}, null, 8, ["is", "model"])) : p("", !0);
|
|
289
296
|
}
|
|
290
|
-
}),
|
|
297
|
+
}), uo = /* @__PURE__ */ g({
|
|
291
298
|
__name: "ObjectSelector",
|
|
292
299
|
props: {
|
|
293
300
|
model: {}
|
|
@@ -300,8 +307,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
300
307
|
model: e.model.list
|
|
301
308
|
}, null, 8, ["model"])) : p("", !0);
|
|
302
309
|
}
|
|
303
|
-
}),
|
|
304
|
-
|
|
310
|
+
}), po = { class: "svc-scroll__container" }, vo = /* @__PURE__ */ a("div", { class: "svc-scroll__scrollbar-sizer" }, null, -1), mo = [
|
|
311
|
+
vo
|
|
305
312
|
], W = /* @__PURE__ */ g({
|
|
306
313
|
__name: "Scroll",
|
|
307
314
|
setup(c) {
|
|
@@ -319,17 +326,17 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
319
326
|
class: "svc-scroll__scroller sv-drag-target-skipped",
|
|
320
327
|
onScroll: n[0] || (n[0] = () => s(t).onScrollContainer())
|
|
321
328
|
}, [
|
|
322
|
-
a("div",
|
|
329
|
+
a("div", po, [
|
|
323
330
|
X(o.$slots, "default")
|
|
324
331
|
])
|
|
325
332
|
], 32),
|
|
326
333
|
a("div", {
|
|
327
334
|
class: "svc-scroll__scrollbar",
|
|
328
335
|
onScroll: n[1] || (n[1] = () => s(t).onScrollScrollbar())
|
|
329
|
-
},
|
|
336
|
+
}, mo, 32)
|
|
330
337
|
], 512));
|
|
331
338
|
}
|
|
332
|
-
}),
|
|
339
|
+
}), _o = /* @__PURE__ */ g({
|
|
333
340
|
__name: "PropertyGrid",
|
|
334
341
|
props: {
|
|
335
342
|
model: {}
|
|
@@ -354,7 +361,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
354
361
|
})
|
|
355
362
|
], 2));
|
|
356
363
|
}
|
|
357
|
-
}),
|
|
364
|
+
}), go = /* @__PURE__ */ g({
|
|
358
365
|
__name: "Tabs",
|
|
359
366
|
props: {
|
|
360
367
|
model: {}
|
|
@@ -367,9 +374,9 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
367
374
|
model: n
|
|
368
375
|
}, null, 8, ["model"]))), 128));
|
|
369
376
|
}
|
|
370
|
-
}),
|
|
377
|
+
}), bo = { class: "svc-sidebar-tabs__top-container" }, yo = { class: "svc-sidebar-tabs__collapse-button" }, ho = /* @__PURE__ */ a("div", { class: "svc-sidebar-tabs__separator" }, [
|
|
371
378
|
/* @__PURE__ */ a("div")
|
|
372
|
-
], -1),
|
|
379
|
+
], -1), Co = { class: "svc-sidebar-tabs__items" }, qo = { class: "svc-sidebar-tabs__bottom-container" }, $o = { class: "svc-sidebar-tabs__items" }, ko = /* @__PURE__ */ g({
|
|
373
380
|
__name: "TabControl",
|
|
374
381
|
props: {
|
|
375
382
|
model: {}
|
|
@@ -379,17 +386,17 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
379
386
|
return f(() => t.model), (e, o) => (l(), i("div", {
|
|
380
387
|
class: _(e.model.sideBarClassName)
|
|
381
388
|
}, [
|
|
382
|
-
a("div",
|
|
383
|
-
a("div",
|
|
389
|
+
a("div", bo, [
|
|
390
|
+
a("div", yo, [
|
|
384
391
|
v(s(u), {
|
|
385
392
|
is: "svc-tab-button",
|
|
386
393
|
model: e.model.expandCollapseAction
|
|
387
394
|
}, null, 8, ["model"])
|
|
388
395
|
]),
|
|
389
|
-
|
|
396
|
+
ho,
|
|
390
397
|
v(W, null, {
|
|
391
398
|
default: Y(() => [
|
|
392
|
-
a("div",
|
|
399
|
+
a("div", Co, [
|
|
393
400
|
v(s(u), {
|
|
394
401
|
is: "svc-tabs",
|
|
395
402
|
model: e.model.topToolbar
|
|
@@ -399,8 +406,8 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
399
406
|
_: 1
|
|
400
407
|
})
|
|
401
408
|
]),
|
|
402
|
-
a("div",
|
|
403
|
-
a("div",
|
|
409
|
+
a("div", qo, [
|
|
410
|
+
a("div", $o, [
|
|
404
411
|
v(s(u), {
|
|
405
412
|
is: "svc-tabs",
|
|
406
413
|
model: e.model.bottomToolbar
|
|
@@ -409,24 +416,24 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
409
416
|
])
|
|
410
417
|
], 2));
|
|
411
418
|
}
|
|
412
|
-
}),
|
|
419
|
+
}), wo = {
|
|
413
420
|
key: 0,
|
|
414
421
|
class: "svc-menu-action"
|
|
415
|
-
},
|
|
422
|
+
}, fo = ["title"], To = { class: "svc-menu-action__icon" }, Do = { class: "svc-menu-action__icon-container" }, No = /* @__PURE__ */ g({
|
|
416
423
|
__name: "TabButton",
|
|
417
424
|
props: {
|
|
418
425
|
model: {}
|
|
419
426
|
},
|
|
420
427
|
setup(c) {
|
|
421
428
|
const t = c;
|
|
422
|
-
return f(() => t.model), (e, o) => e.model.visible ? (l(), i("div",
|
|
429
|
+
return f(() => t.model), (e, o) => e.model.visible ? (l(), i("div", wo, [
|
|
423
430
|
h((l(), i("div", {
|
|
424
431
|
class: _(e.model.buttonClassName),
|
|
425
432
|
title: e.model.tooltip,
|
|
426
433
|
onClick: o[0] || (o[0] = (n) => e.model.action())
|
|
427
434
|
}, [
|
|
428
|
-
a("div",
|
|
429
|
-
a("div",
|
|
435
|
+
a("div", To, [
|
|
436
|
+
a("div", Do, [
|
|
430
437
|
v(s(u), {
|
|
431
438
|
is: "sv-svg-icon",
|
|
432
439
|
iconName: e.model.iconName,
|
|
@@ -434,64 +441,64 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
434
441
|
}, null, 8, ["iconName"])
|
|
435
442
|
])
|
|
436
443
|
])
|
|
437
|
-
], 10,
|
|
444
|
+
], 10, fo)), [
|
|
438
445
|
[s(D), { processEsc: !1, disableTabStop: e.model.disableTabStop }]
|
|
439
446
|
])
|
|
440
447
|
])) : p("", !0);
|
|
441
448
|
}
|
|
442
|
-
}),
|
|
449
|
+
}), Mo = { class: "svc-property-grid-placeholder" }, So = { class: "svc-property-grid-placeholder__header" }, Io = { class: "svc-property-grid-placeholder__title" }, Bo = { class: "svc-property-grid-placeholder__description" }, Eo = /* @__PURE__ */ a("div", { class: "svc-property-grid-placeholder__content" }, [
|
|
443
450
|
/* @__PURE__ */ a("div", { class: "svc-property-grid-placeholder__gap" }),
|
|
444
451
|
/* @__PURE__ */ a("div", { class: "svc-property-grid-placeholder__image" })
|
|
445
|
-
], -1),
|
|
452
|
+
], -1), Po = /* @__PURE__ */ g({
|
|
446
453
|
__name: "PropertyGridPlaceholder",
|
|
447
454
|
setup(c) {
|
|
448
455
|
const t = pe;
|
|
449
|
-
return (e, o) => (l(), i("div",
|
|
450
|
-
a("div",
|
|
451
|
-
a("span",
|
|
452
|
-
a("span",
|
|
456
|
+
return (e, o) => (l(), i("div", Mo, [
|
|
457
|
+
a("div", So, [
|
|
458
|
+
a("span", Io, k(s(t).getString("ed.propertyGridPlaceholderTitle")), 1),
|
|
459
|
+
a("span", Bo, k(s(t).getString("ed.propertyGridPlaceholderDescription")), 1)
|
|
453
460
|
]),
|
|
454
|
-
|
|
461
|
+
Eo
|
|
455
462
|
]));
|
|
456
463
|
}
|
|
457
|
-
}),
|
|
464
|
+
}), Ro = { class: "svc-side-bar__container-header svc-sidebar__header-container" }, Vo = {
|
|
458
465
|
key: 0,
|
|
459
466
|
class: "svc-side-bar__container-title"
|
|
460
|
-
},
|
|
467
|
+
}, Ao = {
|
|
461
468
|
key: 1,
|
|
462
469
|
class: "svc-sidebar__header-caption"
|
|
463
|
-
},
|
|
470
|
+
}, zo = { class: "svc-sidebar__header-title" }, Lo = { class: "svc-sidebar__header-subtitle" }, Fo = /* @__PURE__ */ g({
|
|
464
471
|
__name: "SideBarHeader",
|
|
465
472
|
props: {
|
|
466
473
|
model: {}
|
|
467
474
|
},
|
|
468
475
|
setup(c) {
|
|
469
476
|
const t = c;
|
|
470
|
-
return f(() => t.model), (e, o) => (l(), i("div",
|
|
471
|
-
e.model.subTitle ? p("", !0) : (l(), i("div",
|
|
472
|
-
e.model.subTitle ? (l(), i("div",
|
|
473
|
-
a("span",
|
|
474
|
-
a("span",
|
|
477
|
+
return f(() => t.model), (e, o) => (l(), i("div", Ro, [
|
|
478
|
+
e.model.subTitle ? p("", !0) : (l(), i("div", Vo, k(e.model.title), 1)),
|
|
479
|
+
e.model.subTitle ? (l(), i("div", Ao, [
|
|
480
|
+
a("span", zo, k(e.model.title), 1),
|
|
481
|
+
a("span", Lo, k(e.model.subTitle), 1)
|
|
475
482
|
])) : p("", !0)
|
|
476
483
|
]));
|
|
477
484
|
}
|
|
478
|
-
}),
|
|
485
|
+
}), Ko = { class: "svc-sidebar__header svc-sidebar__header--tabbed" }, Uo = { class: "svc-sidebar__header-container svc-sidebar__header-container--with-subtitle" }, Ho = { class: "svc-sidebar__header-content" }, Oo = { class: "svc-sidebar__header-caption" }, Qo = { class: "svc-sidebar__header-title" }, Go = { class: "svc-sidebar__header-subtitle" }, Wo = /* @__PURE__ */ g({
|
|
479
486
|
__name: "SideBarPropertyGridHeader",
|
|
480
487
|
props: {
|
|
481
488
|
model: {}
|
|
482
489
|
},
|
|
483
490
|
setup(c) {
|
|
484
491
|
const t = c;
|
|
485
|
-
return f(() => t.model), (e, o) => (l(), i("div",
|
|
486
|
-
a("div",
|
|
487
|
-
a("div",
|
|
492
|
+
return f(() => t.model), (e, o) => (l(), i("div", Ko, [
|
|
493
|
+
a("div", Uo, [
|
|
494
|
+
a("div", Ho, [
|
|
488
495
|
h((l(), i("div", {
|
|
489
496
|
class: _(e.model.buttonClassName),
|
|
490
497
|
onClick: o[0] || (o[0] = (n) => e.model.action())
|
|
491
498
|
}, [
|
|
492
|
-
a("div",
|
|
493
|
-
a("span",
|
|
494
|
-
a("span",
|
|
499
|
+
a("div", Oo, [
|
|
500
|
+
a("span", Qo, k(e.model.title), 1),
|
|
501
|
+
a("span", Go, k(e.model.tooltip), 1)
|
|
495
502
|
])
|
|
496
503
|
], 2)), [
|
|
497
504
|
[s(D), { processEsc: !1 }]
|
|
@@ -504,7 +511,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
504
511
|
])
|
|
505
512
|
]));
|
|
506
513
|
}
|
|
507
|
-
}),
|
|
514
|
+
}), jo = /* @__PURE__ */ g({
|
|
508
515
|
__name: "QuestionError",
|
|
509
516
|
props: {
|
|
510
517
|
errorKey: {},
|
|
@@ -532,7 +539,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
532
539
|
], 2)
|
|
533
540
|
]));
|
|
534
541
|
}
|
|
535
|
-
}),
|
|
542
|
+
}), Jo = ["title"], Zo = ["title"], Xo = ["title"], Yo = ["title"], xo = /* @__PURE__ */ g({
|
|
536
543
|
__name: "ActionButton",
|
|
537
544
|
props: {
|
|
538
545
|
classes: {},
|
|
@@ -554,7 +561,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
554
561
|
key: 0,
|
|
555
562
|
class: _(["svc-action-button svc-action-button--disabled", n.classes]),
|
|
556
563
|
title: n.title
|
|
557
|
-
}, k(n.text), 11,
|
|
564
|
+
}, k(n.text), 11, Jo)) : p("", !0),
|
|
558
565
|
h((l(), i("span", {
|
|
559
566
|
role: "button",
|
|
560
567
|
class: _(["svc-action-button", o()]),
|
|
@@ -562,7 +569,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
562
569
|
title: n.title
|
|
563
570
|
}, [
|
|
564
571
|
be(k(n.text), 1)
|
|
565
|
-
], 10,
|
|
572
|
+
], 10, Zo)), [
|
|
566
573
|
[s(D)]
|
|
567
574
|
])
|
|
568
575
|
], 64)),
|
|
@@ -577,7 +584,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
577
584
|
iconName: n.iconName,
|
|
578
585
|
size: "auto"
|
|
579
586
|
}, null, 8, ["iconName"])
|
|
580
|
-
], 10,
|
|
587
|
+
], 10, Xo)) : p("", !0),
|
|
581
588
|
h((l(), i("span", {
|
|
582
589
|
role: "button",
|
|
583
590
|
onClick: e,
|
|
@@ -589,21 +596,21 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
589
596
|
iconName: n.iconName,
|
|
590
597
|
size: "auto"
|
|
591
598
|
}, null, 8, ["iconName"])
|
|
592
|
-
], 10,
|
|
599
|
+
], 10, Yo)), [
|
|
593
600
|
[s(D)]
|
|
594
601
|
])
|
|
595
602
|
], 64)) : p("", !0)
|
|
596
603
|
], 64));
|
|
597
604
|
}
|
|
598
|
-
}),
|
|
599
|
-
|
|
600
|
-
],
|
|
605
|
+
}), es = ["disabled", "title", "aria-checked", "aria-expanded", "role"], os = /* @__PURE__ */ a("div", { class: "svc-switcher__icon-thumb" }, null, -1), ss = [
|
|
606
|
+
os
|
|
607
|
+
], ts = {
|
|
601
608
|
key: 0,
|
|
602
609
|
class: "svc-switcher__title"
|
|
603
|
-
},
|
|
610
|
+
}, ns = {
|
|
604
611
|
inheritAttrs: !1
|
|
605
|
-
},
|
|
606
|
-
...
|
|
612
|
+
}, ls = /* @__PURE__ */ g({
|
|
613
|
+
...ns,
|
|
607
614
|
__name: "Switcher",
|
|
608
615
|
props: {
|
|
609
616
|
item: {}
|
|
@@ -627,16 +634,16 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
627
634
|
}, [
|
|
628
635
|
a("div", {
|
|
629
636
|
class: _(e.item.getSwitcherIconCss())
|
|
630
|
-
},
|
|
631
|
-
e.item.hasTitle ? (l(), i("span",
|
|
632
|
-
], 42,
|
|
637
|
+
}, ss, 2),
|
|
638
|
+
e.item.hasTitle ? (l(), i("span", ts, k(e.item.title), 1)) : p("", !0)
|
|
639
|
+
], 42, es)), [
|
|
633
640
|
[s(D), { processEsc: !1, disableTabStop: e.item.disableTabStop }]
|
|
634
641
|
]);
|
|
635
642
|
}
|
|
636
|
-
}),
|
|
643
|
+
}), as = {
|
|
637
644
|
key: 0,
|
|
638
645
|
class: "svd-simulator-content"
|
|
639
|
-
},
|
|
646
|
+
}, is = { class: "svd-simulator-content" }, rs = /* @__PURE__ */ g({
|
|
640
647
|
__name: "Simulator",
|
|
641
648
|
props: {
|
|
642
649
|
model: {}
|
|
@@ -655,7 +662,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
655
662
|
onMouseover: d[1] || (d[1] = (m) => o()),
|
|
656
663
|
onMouseout: d[2] || (d[2] = (m) => n())
|
|
657
664
|
}, [
|
|
658
|
-
r.model.hasFrame ? p("", !0) : (l(), i("div",
|
|
665
|
+
r.model.hasFrame ? p("", !0) : (l(), i("div", as, [
|
|
659
666
|
v(s(u), {
|
|
660
667
|
is: "survey-widget",
|
|
661
668
|
model: r.model.survey
|
|
@@ -678,7 +685,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
678
685
|
transform: "scale(" + e.value.scale + ") translate(-50%, -50%)"
|
|
679
686
|
})
|
|
680
687
|
}, [
|
|
681
|
-
a("div",
|
|
688
|
+
a("div", is, [
|
|
682
689
|
v(s(u), {
|
|
683
690
|
is: "survey-widget",
|
|
684
691
|
model: r.model.survey
|
|
@@ -688,7 +695,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
688
695
|
], 4)) : p("", !0)
|
|
689
696
|
], 34));
|
|
690
697
|
}
|
|
691
|
-
}),
|
|
698
|
+
}), ds = { class: "svc-surface-placeholder" }, cs = { class: "svc-surface-placeholder__text" }, us = { class: "svc-surface-placeholder__title" }, ps = { class: "svc-surface-placeholder__description" }, j = /* @__PURE__ */ g({
|
|
692
699
|
__name: "SurfacePlaceholder",
|
|
693
700
|
props: {
|
|
694
701
|
name: {},
|
|
@@ -696,20 +703,20 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
696
703
|
placeholderDescriptionText: {}
|
|
697
704
|
},
|
|
698
705
|
setup(c) {
|
|
699
|
-
return (t, e) => (l(), i("div",
|
|
706
|
+
return (t, e) => (l(), i("div", ds, [
|
|
700
707
|
a("div", {
|
|
701
708
|
class: _(["svc-surface-placeholder__image", "svc-surface-placeholder__image--" + t.name])
|
|
702
709
|
}, null, 2),
|
|
703
|
-
a("div",
|
|
704
|
-
a("div",
|
|
705
|
-
a("div",
|
|
710
|
+
a("div", cs, [
|
|
711
|
+
a("div", us, k(t.placeholderTitleText), 1),
|
|
712
|
+
a("div", ps, k(t.placeholderDescriptionText), 1)
|
|
706
713
|
])
|
|
707
714
|
]));
|
|
708
715
|
}
|
|
709
|
-
}),
|
|
716
|
+
}), vs = {
|
|
710
717
|
key: 2,
|
|
711
718
|
class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
|
|
712
|
-
},
|
|
719
|
+
}, ms = /* @__PURE__ */ g({
|
|
713
720
|
__name: "Test",
|
|
714
721
|
props: {
|
|
715
722
|
model: {}
|
|
@@ -742,7 +749,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
742
749
|
survey: e.model.survey
|
|
743
750
|
}, null, 8, ["survey"])) : p("", !0)
|
|
744
751
|
], 32)),
|
|
745
|
-
e.model.isPageToolbarVisible ? (l(), i("div",
|
|
752
|
+
e.model.isPageToolbarVisible ? (l(), i("div", vs, [
|
|
746
753
|
v(s(u), {
|
|
747
754
|
is: "sv-action-bar",
|
|
748
755
|
model: e.model.pages
|
|
@@ -750,7 +757,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
750
757
|
])) : p("", !0)
|
|
751
758
|
], 2));
|
|
752
759
|
}
|
|
753
|
-
}),
|
|
760
|
+
}), _s = { class: "svc-btn__text" }, gs = /* @__PURE__ */ g({
|
|
754
761
|
inheritAttrs: !1,
|
|
755
762
|
__name: "TestAgain",
|
|
756
763
|
props: {
|
|
@@ -763,7 +770,7 @@ const Le = { class: "svc-flex-column svc-flex-row__element svc-flex-row__element
|
|
|
763
770
|
class: "svc-preview__test-again svc-btn",
|
|
764
771
|
onClick: n[0] || (n[0] = (r) => e.value.action())
|
|
765
772
|
}, [
|
|
766
|
-
a("span",
|
|
773
|
+
a("span", _s, k(e.value.title), 1)
|
|
767
774
|
])), [
|
|
768
775
|
[s(D)]
|
|
769
776
|
]);
|
|
@@ -783,10 +790,10 @@ function A(c, t, e) {
|
|
|
783
790
|
n();
|
|
784
791
|
}), o;
|
|
785
792
|
}
|
|
786
|
-
const
|
|
793
|
+
const bs = {
|
|
787
794
|
key: 0,
|
|
788
795
|
class: "svd-test-results"
|
|
789
|
-
},
|
|
796
|
+
}, ys = { class: "svd-test-results__content" }, hs = { class: "svd-test-results__header" }, Cs = { class: "svd-test-results__header-text" }, qs = { class: "svd-test-results__header-types" }, $s = { class: "svd-test-results__text svd-light-bg-color" }, ks = { class: "svd-test-results__table svd-light-bg-color" }, ws = { class: "svd-light-background-color" }, fs = { class: "svd-dark-border-color" }, Ts = { class: "svd-dark-border-color" }, Ds = /* @__PURE__ */ g({
|
|
790
797
|
__name: "SurveyResults",
|
|
791
798
|
props: {
|
|
792
799
|
survey: {}
|
|
@@ -796,11 +803,11 @@ const gs = {
|
|
|
796
803
|
() => t.survey ? new we(t.survey) : void 0,
|
|
797
804
|
[() => t.survey]
|
|
798
805
|
);
|
|
799
|
-
return (o, n) => s(e) ? (l(), i("div",
|
|
800
|
-
a("div",
|
|
801
|
-
a("div",
|
|
802
|
-
a("div",
|
|
803
|
-
a("div",
|
|
806
|
+
return (o, n) => s(e) ? (l(), i("div", bs, [
|
|
807
|
+
a("div", ys, [
|
|
808
|
+
a("div", hs, [
|
|
809
|
+
a("div", Cs, k(s(e).surveyResultsText), 1),
|
|
810
|
+
a("div", qs, [
|
|
804
811
|
v(s(u), {
|
|
805
812
|
is: "svc-action-button",
|
|
806
813
|
text: s(e).surveyResultsTableText,
|
|
@@ -817,17 +824,17 @@ const gs = {
|
|
|
817
824
|
}, null, 8, ["text", "click", "selected"])
|
|
818
825
|
])
|
|
819
826
|
]),
|
|
820
|
-
h(a("div",
|
|
827
|
+
h(a("div", $s, [
|
|
821
828
|
a("div", null, k(s(e).resultText), 1)
|
|
822
829
|
], 512), [
|
|
823
830
|
[F, s(e).resultViewType === "text"]
|
|
824
831
|
]),
|
|
825
|
-
h(a("div",
|
|
832
|
+
h(a("div", ks, [
|
|
826
833
|
a("table", null, [
|
|
827
834
|
a("thead", null, [
|
|
828
|
-
a("tr",
|
|
829
|
-
a("th",
|
|
830
|
-
a("th",
|
|
835
|
+
a("tr", ws, [
|
|
836
|
+
a("th", fs, k(s(e).resultsTitle), 1),
|
|
837
|
+
a("th", Ts, k(s(e).resultsDisplayValue), 1)
|
|
831
838
|
])
|
|
832
839
|
]),
|
|
833
840
|
a("tbody", null, [
|
|
@@ -844,7 +851,7 @@ const gs = {
|
|
|
844
851
|
])
|
|
845
852
|
])) : p("", !0);
|
|
846
853
|
}
|
|
847
|
-
}),
|
|
854
|
+
}), Ns = { key: 2 }, Ms = /* @__PURE__ */ g({
|
|
848
855
|
__name: "SurveyResultsRow",
|
|
849
856
|
props: {
|
|
850
857
|
model: {}
|
|
@@ -875,7 +882,7 @@ const gs = {
|
|
|
875
882
|
key: 1,
|
|
876
883
|
is: "survey-string",
|
|
877
884
|
locString: e.model.question.locTitle
|
|
878
|
-
}, null, 8, ["locString"])) : (l(), i("span",
|
|
885
|
+
}, null, 8, ["locString"])) : (l(), i("span", Ns, k(e.model.title), 1))
|
|
879
886
|
], 4),
|
|
880
887
|
a("td", {
|
|
881
888
|
class: _({
|
|
@@ -893,21 +900,21 @@ const gs = {
|
|
|
893
900
|
}, null, 8, ["model"]))), 128)) : p("", !0)
|
|
894
901
|
], 64));
|
|
895
902
|
}
|
|
896
|
-
}),
|
|
903
|
+
}), Ss = { class: "svc-creator-tab__content" }, Is = { class: "svc-json-editor-tab__content" }, Bs = { class: "svc-json-editor-tab__errros_list" }, Es = /* @__PURE__ */ g({
|
|
897
904
|
__name: "JsonEditorAce",
|
|
898
905
|
props: {
|
|
899
906
|
model: {}
|
|
900
907
|
},
|
|
901
908
|
setup(c) {
|
|
902
909
|
const t = c, e = B();
|
|
903
|
-
return f(() => t.model), E(() => t.model.init(window.ace.edit(e.value))), (o, n) => (l(), i("div",
|
|
904
|
-
a("div",
|
|
910
|
+
return f(() => t.model), E(() => t.model.init(window.ace.edit(e.value))), (o, n) => (l(), i("div", Ss, [
|
|
911
|
+
a("div", Is, [
|
|
905
912
|
a("div", {
|
|
906
913
|
class: "svc-json-editor-tab__ace-editor",
|
|
907
914
|
ref_key: "inputEl",
|
|
908
915
|
ref: e
|
|
909
916
|
}, null, 512),
|
|
910
|
-
h(a("div",
|
|
917
|
+
h(a("div", Bs, [
|
|
911
918
|
v(s(u), {
|
|
912
919
|
is: "sv-list",
|
|
913
920
|
model: o.model.errorList
|
|
@@ -918,7 +925,7 @@ const gs = {
|
|
|
918
925
|
])
|
|
919
926
|
]));
|
|
920
927
|
}
|
|
921
|
-
}),
|
|
928
|
+
}), Ps = { class: "svc-creator-tab__content" }, Rs = { class: "svc-json-editor-tab__content" }, Vs = ["aria-label", "disabled"], As = { class: "svc-json-editor-tab__errros_list" }, zs = /* @__PURE__ */ g({
|
|
922
929
|
__name: "JsonEditorTextArea",
|
|
923
930
|
props: {
|
|
924
931
|
model: {}
|
|
@@ -928,8 +935,8 @@ const gs = {
|
|
|
928
935
|
return o.canShowErrors = !1, f(() => t.model), E(() => {
|
|
929
936
|
const n = t.model;
|
|
930
937
|
n.textElement = e.value;
|
|
931
|
-
}), (n, r) => (l(), i("div",
|
|
932
|
-
a("div",
|
|
938
|
+
}), (n, r) => (l(), i("div", Ps, [
|
|
939
|
+
a("div", Rs, [
|
|
933
940
|
h(a("textarea", {
|
|
934
941
|
class: "svc-json-editor-tab__content-area",
|
|
935
942
|
"aria-label": s(o).ariaLabel,
|
|
@@ -939,10 +946,10 @@ const gs = {
|
|
|
939
946
|
ref_key: "inputEl",
|
|
940
947
|
ref: e
|
|
941
948
|
}, `
|
|
942
|
-
`, 40,
|
|
949
|
+
`, 40, Vs), [
|
|
943
950
|
[ce, s(o).text]
|
|
944
951
|
]),
|
|
945
|
-
h(a("div",
|
|
952
|
+
h(a("div", As, [
|
|
946
953
|
v(s(u), {
|
|
947
954
|
is: "sv-list",
|
|
948
955
|
model: s(o).errorList
|
|
@@ -953,7 +960,7 @@ const gs = {
|
|
|
953
960
|
])
|
|
954
961
|
]));
|
|
955
962
|
}
|
|
956
|
-
}),
|
|
963
|
+
}), Ls = { class: "svc-json-error__container" }, Fs = { class: "svc-json-error__title" }, Ks = ["title", "aria-label"], Us = /* @__PURE__ */ g({
|
|
957
964
|
__name: "JsonEditorErrorItem",
|
|
958
965
|
props: {
|
|
959
966
|
item: {}
|
|
@@ -971,8 +978,8 @@ const gs = {
|
|
|
971
978
|
size: o.item.iconSize,
|
|
972
979
|
class: _("svc-json-error__icon")
|
|
973
980
|
}, null, 8, ["iconName", "size"]),
|
|
974
|
-
a("div",
|
|
975
|
-
a("div",
|
|
981
|
+
a("div", Ls, [
|
|
982
|
+
a("div", Fs, [
|
|
976
983
|
v(s(u), {
|
|
977
984
|
is: "survey-string",
|
|
978
985
|
locString: o.item.locTitle
|
|
@@ -991,13 +998,13 @@ const gs = {
|
|
|
991
998
|
iconName: o.item.data.fixButtonIcon,
|
|
992
999
|
size: "auto"
|
|
993
1000
|
}, null, 8, ["iconName"])
|
|
994
|
-
], 8,
|
|
1001
|
+
], 8, Ks)), [
|
|
995
1002
|
[s(D)]
|
|
996
1003
|
]) : p("", !0)
|
|
997
1004
|
])
|
|
998
1005
|
], 64));
|
|
999
1006
|
}
|
|
1000
|
-
}),
|
|
1007
|
+
}), Hs = { class: "svc-btn__text" }, ne = /* @__PURE__ */ g({
|
|
1001
1008
|
__name: "LogicAddButton",
|
|
1002
1009
|
props: {
|
|
1003
1010
|
model: {}
|
|
@@ -1015,22 +1022,22 @@ const gs = {
|
|
|
1015
1022
|
}]),
|
|
1016
1023
|
onClick: e
|
|
1017
1024
|
}, [
|
|
1018
|
-
a("span",
|
|
1025
|
+
a("span", Hs, k(o.model.title), 1)
|
|
1019
1026
|
], 2)), [
|
|
1020
1027
|
[s(D)]
|
|
1021
1028
|
]);
|
|
1022
1029
|
}
|
|
1023
|
-
}),
|
|
1030
|
+
}), Os = { class: "svc-creator-tab__content" }, Qs = {
|
|
1024
1031
|
key: 1,
|
|
1025
1032
|
class: "svc-logic-tab__content-empty"
|
|
1026
|
-
},
|
|
1033
|
+
}, Gs = /* @__PURE__ */ g({
|
|
1027
1034
|
__name: "Logic",
|
|
1028
1035
|
props: {
|
|
1029
1036
|
model: {}
|
|
1030
1037
|
},
|
|
1031
1038
|
setup(c) {
|
|
1032
1039
|
const t = c;
|
|
1033
|
-
return f(() => t.model), (e, o) => (l(), i("div",
|
|
1040
|
+
return f(() => t.model), (e, o) => (l(), i("div", Os, [
|
|
1034
1041
|
a("div", {
|
|
1035
1042
|
class: _(["svc-plugin-tab__content svc-logic-tab__content", { "svc-logic-tab--empty": !e.model.hasItems }])
|
|
1036
1043
|
}, [
|
|
@@ -1043,7 +1050,7 @@ const gs = {
|
|
|
1043
1050
|
model: e.model.addNewButton
|
|
1044
1051
|
}, null, 8, ["model"]))
|
|
1045
1052
|
], 64)) : p("", !0),
|
|
1046
|
-
e.model.hasItems ? p("", !0) : (l(), i("div",
|
|
1053
|
+
e.model.hasItems ? p("", !0) : (l(), i("div", Qs, [
|
|
1047
1054
|
v(j, {
|
|
1048
1055
|
name: "logic",
|
|
1049
1056
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
@@ -1057,13 +1064,13 @@ const gs = {
|
|
|
1057
1064
|
], 2)
|
|
1058
1065
|
]));
|
|
1059
1066
|
}
|
|
1060
|
-
}),
|
|
1067
|
+
}), Ws = ["id", "required", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], js = ["id"];
|
|
1061
1068
|
ue.Instance.registerRenderer(
|
|
1062
1069
|
"dropdown",
|
|
1063
1070
|
"logicoperator",
|
|
1064
1071
|
"sv-logic-operator"
|
|
1065
1072
|
);
|
|
1066
|
-
const
|
|
1073
|
+
const Js = /* @__PURE__ */ g({
|
|
1067
1074
|
__name: "LogicOperator",
|
|
1068
1075
|
props: {
|
|
1069
1076
|
question: {}
|
|
@@ -1126,7 +1133,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1126
1133
|
], 2)), [
|
|
1127
1134
|
[F, !m.question.isEmpty()]
|
|
1128
1135
|
]) : p("", !0)
|
|
1129
|
-
], 42,
|
|
1136
|
+
], 42, Ws),
|
|
1130
1137
|
v(s(u), {
|
|
1131
1138
|
is: "sv-popup",
|
|
1132
1139
|
model: m.question.popupModel
|
|
@@ -1144,10 +1151,10 @@ const js = /* @__PURE__ */ g({
|
|
|
1144
1151
|
locString: m.question.selectedItemLocText
|
|
1145
1152
|
}, null, 8, ["locString"])) : p("", !0),
|
|
1146
1153
|
a("div", null, k(m.question.readOnlyText), 1)
|
|
1147
|
-
], 10,
|
|
1154
|
+
], 10, js)) : p("", !0)
|
|
1148
1155
|
], 2));
|
|
1149
1156
|
}
|
|
1150
|
-
}),
|
|
1157
|
+
}), Zs = /* @__PURE__ */ g({
|
|
1151
1158
|
__name: "EmbeddedSurvey",
|
|
1152
1159
|
props: {
|
|
1153
1160
|
question: {}
|
|
@@ -1163,7 +1170,7 @@ const js = /* @__PURE__ */ g({
|
|
|
1163
1170
|
survey: o.value
|
|
1164
1171
|
}, null, 8, ["page", "survey"])) : p("", !0);
|
|
1165
1172
|
}
|
|
1166
|
-
}),
|
|
1173
|
+
}), Xs = /* @__PURE__ */ g({
|
|
1167
1174
|
inheritAttrs: !1,
|
|
1168
1175
|
__name: "LinkValue",
|
|
1169
1176
|
props: {
|
|
@@ -1192,10 +1199,10 @@ const js = /* @__PURE__ */ g({
|
|
|
1192
1199
|
}, null, 8, ["text", "click", "classes"])) : p("", !0)
|
|
1193
1200
|
], 64));
|
|
1194
1201
|
}
|
|
1195
|
-
}),
|
|
1202
|
+
}), Ys = {
|
|
1196
1203
|
key: 1,
|
|
1197
1204
|
class: "st-content"
|
|
1198
|
-
},
|
|
1205
|
+
}, xs = { class: "svc-flex-column st-strings-wrapper" }, et = { class: "svc-flex-row st-strings-header" }, ot = { class: "svc-flex-row svc-plugin-tab__content st-strings" }, st = /* @__PURE__ */ g({
|
|
1199
1206
|
__name: "Translation",
|
|
1200
1207
|
props: {
|
|
1201
1208
|
model: {}
|
|
@@ -1211,14 +1218,14 @@ const js = /* @__PURE__ */ g({
|
|
|
1211
1218
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
1212
1219
|
placeholderDescriptionText: e.model.placeholderDescriptionText
|
|
1213
1220
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : p("", !0),
|
|
1214
|
-
e.model.isEmpty ? p("", !0) : (l(), i("div",
|
|
1215
|
-
a("div",
|
|
1216
|
-
a("div",
|
|
1221
|
+
e.model.isEmpty ? p("", !0) : (l(), i("div", Ys, [
|
|
1222
|
+
a("div", xs, [
|
|
1223
|
+
a("div", et, [
|
|
1217
1224
|
v(s(Q), {
|
|
1218
1225
|
model: e.model.stringsHeaderSurvey
|
|
1219
1226
|
}, null, 8, ["model"])
|
|
1220
1227
|
]),
|
|
1221
|
-
a("div",
|
|
1228
|
+
a("div", ot, [
|
|
1222
1229
|
v(s(Q), {
|
|
1223
1230
|
model: e.model.stringsSurvey
|
|
1224
1231
|
}, null, 8, ["model"])
|
|
@@ -1227,16 +1234,16 @@ const js = /* @__PURE__ */ g({
|
|
|
1227
1234
|
]))
|
|
1228
1235
|
], 2));
|
|
1229
1236
|
}
|
|
1230
|
-
}),
|
|
1237
|
+
}), tt = (c, t) => {
|
|
1231
1238
|
const e = c.__vccOpts || c;
|
|
1232
1239
|
for (const [o, n] of t)
|
|
1233
1240
|
e[o] = n;
|
|
1234
1241
|
return e;
|
|
1235
|
-
},
|
|
1236
|
-
function
|
|
1237
|
-
return l(), i("div",
|
|
1242
|
+
}, nt = {}, lt = { class: "sd-translation-line-skeleton" };
|
|
1243
|
+
function at(c, t) {
|
|
1244
|
+
return l(), i("div", lt);
|
|
1238
1245
|
}
|
|
1239
|
-
const
|
|
1246
|
+
const it = /* @__PURE__ */ tt(nt, [["render", at]]), rt = /* @__PURE__ */ g({
|
|
1240
1247
|
__name: "TranslateFromAction",
|
|
1241
1248
|
props: {
|
|
1242
1249
|
item: {}
|
|
@@ -1254,13 +1261,13 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1254
1261
|
}, null, 8, ["item"])
|
|
1255
1262
|
], 2));
|
|
1256
1263
|
}
|
|
1257
|
-
}),
|
|
1264
|
+
}), dt = {
|
|
1258
1265
|
key: 1,
|
|
1259
1266
|
class: "svc-plugin-tab__content"
|
|
1260
|
-
},
|
|
1267
|
+
}, ct = {
|
|
1261
1268
|
key: 2,
|
|
1262
1269
|
class: "svc-plugin-tab__content-actions svc-test-tab__content-actions"
|
|
1263
|
-
},
|
|
1270
|
+
}, ut = /* @__PURE__ */ g({
|
|
1264
1271
|
__name: "Theme",
|
|
1265
1272
|
props: {
|
|
1266
1273
|
model: {}
|
|
@@ -1278,7 +1285,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1278
1285
|
placeholderTitleText: e.model.placeholderTitleText,
|
|
1279
1286
|
placeholderDescriptionText: e.model.placeholderDescriptionText
|
|
1280
1287
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"])) : p("", !0),
|
|
1281
|
-
e.model.survey.isEmpty ? p("", !0) : (l(), i("div",
|
|
1288
|
+
e.model.survey.isEmpty ? p("", !0) : (l(), i("div", dt, [
|
|
1282
1289
|
v(s(u), {
|
|
1283
1290
|
is: "survey-simulator",
|
|
1284
1291
|
model: e.model.simulator
|
|
@@ -1289,7 +1296,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1289
1296
|
survey: e.model.survey
|
|
1290
1297
|
}, null, 8, ["survey"])) : p("", !0)
|
|
1291
1298
|
])),
|
|
1292
|
-
e.model.isPageToolbarVisible ? (l(), i("div",
|
|
1299
|
+
e.model.isPageToolbarVisible ? (l(), i("div", ct, [
|
|
1293
1300
|
v(s(u), {
|
|
1294
1301
|
is: "sv-action-bar",
|
|
1295
1302
|
model: e.model.pages
|
|
@@ -1297,7 +1304,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1297
1304
|
])) : p("", !0)
|
|
1298
1305
|
], 2));
|
|
1299
1306
|
}
|
|
1300
|
-
}),
|
|
1307
|
+
}), pt = ["disabled", "value"], vt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], mt = /* @__PURE__ */ g({
|
|
1301
1308
|
__name: "Color",
|
|
1302
1309
|
props: {
|
|
1303
1310
|
question: {}
|
|
@@ -1325,7 +1332,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1325
1332
|
tabindex: "-1",
|
|
1326
1333
|
onChange: o[0] || (o[0] = //@ts-ignore
|
|
1327
1334
|
(...n) => e.question.onColorInputChange && e.question.onColorInputChange(...n))
|
|
1328
|
-
}, null, 42,
|
|
1335
|
+
}, null, 42, pt)
|
|
1329
1336
|
], 6),
|
|
1330
1337
|
a("input", {
|
|
1331
1338
|
autocomplete: "off",
|
|
@@ -1346,7 +1353,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1346
1353
|
(...n) => e.question.onBeforeInput && e.question.onBeforeInput(...n)),
|
|
1347
1354
|
value: e.question.renderedValue,
|
|
1348
1355
|
class: _(e.question.cssClasses.control)
|
|
1349
|
-
}, null, 42,
|
|
1356
|
+
}, null, 42, vt),
|
|
1350
1357
|
e.question.showDropdownAction ? (l(), i(w, { key: 0 }, [
|
|
1351
1358
|
v(s(u), {
|
|
1352
1359
|
is: "sv-action-bar-item",
|
|
@@ -1359,7 +1366,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1359
1366
|
], 64)) : p("", !0)
|
|
1360
1367
|
], 34));
|
|
1361
1368
|
}
|
|
1362
|
-
}),
|
|
1369
|
+
}), _t = /* @__PURE__ */ g({
|
|
1363
1370
|
__name: "ColorItem",
|
|
1364
1371
|
props: {
|
|
1365
1372
|
model: {},
|
|
@@ -1380,7 +1387,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1380
1387
|
}, null, 8, ["locString"])
|
|
1381
1388
|
], 64));
|
|
1382
1389
|
}
|
|
1383
|
-
}),
|
|
1390
|
+
}), gt = ["disabled", "value", "placeholder"], bt = ["disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "title", "accept"], yt = ["disabled"], ht = ["for", "aria-label"], Ct = /* @__PURE__ */ g({
|
|
1384
1391
|
__name: "File",
|
|
1385
1392
|
props: {
|
|
1386
1393
|
question: {}
|
|
@@ -1412,7 +1419,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1412
1419
|
onBlur: n[1] || (n[1] = //@ts-ignore
|
|
1413
1420
|
(...r) => o.question.onInputBlur && o.question.onInputBlur(...r)),
|
|
1414
1421
|
placeholder: o.question.renderedPlaceholder
|
|
1415
|
-
}, null, 42,
|
|
1422
|
+
}, null, 42, gt),
|
|
1416
1423
|
a("input", {
|
|
1417
1424
|
type: "file",
|
|
1418
1425
|
disabled: o.question.isInputReadOnly,
|
|
@@ -1428,7 +1435,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1428
1435
|
accept: o.question.acceptedTypes,
|
|
1429
1436
|
onChange: n[2] || (n[2] = //@ts-ignore
|
|
1430
1437
|
(...r) => o.question.onFileInputChange && o.question.onFileInputChange(...r))
|
|
1431
|
-
}, null, 42,
|
|
1438
|
+
}, null, 42, bt),
|
|
1432
1439
|
a("div", {
|
|
1433
1440
|
class: _(o.question.cssClasses.buttonsContainer)
|
|
1434
1441
|
}, [
|
|
@@ -1445,7 +1452,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1445
1452
|
size: "auto",
|
|
1446
1453
|
title: o.question.clearButtonCaption
|
|
1447
1454
|
}, null, 8, ["iconName", "title"])
|
|
1448
|
-
], 10,
|
|
1455
|
+
], 10, yt)), [
|
|
1449
1456
|
[s(D)]
|
|
1450
1457
|
]),
|
|
1451
1458
|
h((l(), i("label", {
|
|
@@ -1462,13 +1469,13 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1462
1469
|
size: "auto",
|
|
1463
1470
|
title: o.question.chooseButtonCaption
|
|
1464
1471
|
}, null, 8, ["iconName", "title"])
|
|
1465
|
-
], 10,
|
|
1472
|
+
], 10, ht)), [
|
|
1466
1473
|
[s(D)]
|
|
1467
1474
|
])
|
|
1468
1475
|
], 2)
|
|
1469
1476
|
], 34));
|
|
1470
1477
|
}
|
|
1471
|
-
}),
|
|
1478
|
+
}), qt = ["disabled", "id", "placeholder", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "value"], $t = ["disabled"], kt = ["disabled"], wt = /* @__PURE__ */ g({
|
|
1472
1479
|
__name: "SpinEditor",
|
|
1473
1480
|
props: {
|
|
1474
1481
|
question: {}
|
|
@@ -1502,7 +1509,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1502
1509
|
(...n) => e.question.onBeforeInput && e.question.onBeforeInput(...n)),
|
|
1503
1510
|
value: e.question.renderedValue,
|
|
1504
1511
|
class: _(e.question.cssClasses.control)
|
|
1505
|
-
}, null, 42,
|
|
1512
|
+
}, null, 42, qt),
|
|
1506
1513
|
a("span", {
|
|
1507
1514
|
class: _(e.question.cssClasses.buttonsContainer)
|
|
1508
1515
|
}, [
|
|
@@ -1528,7 +1535,7 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1528
1535
|
iconName: e.question.cssClasses.decreaseButtonIcon,
|
|
1529
1536
|
size: "auto"
|
|
1530
1537
|
}, null, 8, ["iconName"])
|
|
1531
|
-
], 42,
|
|
1538
|
+
], 42, $t),
|
|
1532
1539
|
a("button", {
|
|
1533
1540
|
disabled: e.question.isInputReadOnly,
|
|
1534
1541
|
class: _(e.question.cssClasses.arrowButton),
|
|
@@ -1551,11 +1558,11 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1551
1558
|
iconName: e.question.cssClasses.increaseButtonIcon,
|
|
1552
1559
|
size: "auto"
|
|
1553
1560
|
}, null, 8, ["iconName"])
|
|
1554
|
-
], 42,
|
|
1561
|
+
], 42, kt)
|
|
1555
1562
|
], 2)
|
|
1556
1563
|
], 34));
|
|
1557
1564
|
}
|
|
1558
|
-
}),
|
|
1565
|
+
}), ft = ["disabled", "title"], le = /* @__PURE__ */ g({
|
|
1559
1566
|
__name: "TextWithReset",
|
|
1560
1567
|
props: {
|
|
1561
1568
|
question: {}
|
|
@@ -1581,23 +1588,23 @@ const at = /* @__PURE__ */ st(tt, [["render", lt]]), it = /* @__PURE__ */ g({
|
|
|
1581
1588
|
iconName: o.question.cssClasses.resetButtonIcon,
|
|
1582
1589
|
size: "auto"
|
|
1583
1590
|
}, null, 8, ["iconName"])
|
|
1584
|
-
], 10,
|
|
1591
|
+
], 10, ft)
|
|
1585
1592
|
], 2));
|
|
1586
1593
|
}
|
|
1587
|
-
}),
|
|
1594
|
+
}), Tt = ["aria-required", "aria-label", "aria-invalid", "aria-errormessage"], Dt = /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb" }, [
|
|
1588
1595
|
/* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left" })
|
|
1589
|
-
], -1),
|
|
1596
|
+
], -1), Nt = /* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb" }, [
|
|
1590
1597
|
/* @__PURE__ */ a("div", { class: "spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right" })
|
|
1591
|
-
], -1),
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
],
|
|
1598
|
+
], -1), Mt = [
|
|
1599
|
+
Dt,
|
|
1600
|
+
Nt
|
|
1601
|
+
], St = { class: "spg-boolean-switch__caption" }, It = { class: "spg-boolean-switch__title" };
|
|
1595
1602
|
ue.Instance.registerRenderer(
|
|
1596
1603
|
"boolean",
|
|
1597
1604
|
"switch",
|
|
1598
1605
|
"sv-boolean-switch"
|
|
1599
1606
|
);
|
|
1600
|
-
const
|
|
1607
|
+
const Bt = /* @__PURE__ */ g({
|
|
1601
1608
|
inheritAttrs: !1,
|
|
1602
1609
|
__name: "BooleanSwitch",
|
|
1603
1610
|
props: {
|
|
@@ -1617,23 +1624,23 @@ const It = /* @__PURE__ */ g({
|
|
|
1617
1624
|
h((l(), i("div", {
|
|
1618
1625
|
class: _(["spg-boolean-switch__button", o.question.value ? "spg-boolean-switch__button--checked" : ""]),
|
|
1619
1626
|
tabindex: "0"
|
|
1620
|
-
},
|
|
1627
|
+
}, Mt, 2)), [
|
|
1621
1628
|
[s(D), { disableTabStop: !0 }]
|
|
1622
1629
|
]),
|
|
1623
|
-
a("div",
|
|
1624
|
-
a("div",
|
|
1630
|
+
a("div", St, [
|
|
1631
|
+
a("div", It, [
|
|
1625
1632
|
v(s(u), {
|
|
1626
1633
|
is: "survey-string",
|
|
1627
1634
|
locString: o.question.locTitle
|
|
1628
1635
|
}, null, 8, ["locString"])
|
|
1629
1636
|
])
|
|
1630
1637
|
])
|
|
1631
|
-
], 8,
|
|
1638
|
+
], 8, Tt));
|
|
1632
1639
|
}
|
|
1633
|
-
}),
|
|
1640
|
+
}), Et = { class: "svc-string-editor__content" }, Pt = /* @__PURE__ */ a("div", { class: "svc-string-editor__border svc-string-editor__border--hover" }, null, -1), Rt = /* @__PURE__ */ a("div", { class: "svc-string-editor__border svc-string-editor__border--focus" }, null, -1), Vt = { class: "svc-string-editor__input" }, At = ["textContent", "aria-placeholder", "contenteditable"], zt = ["aria-placeholder", "contenteditable", "innerHTML"], Lt = {
|
|
1634
1641
|
key: 0,
|
|
1635
1642
|
class: "svc-string-editor__error"
|
|
1636
|
-
},
|
|
1643
|
+
}, Ft = /* @__PURE__ */ g({
|
|
1637
1644
|
__name: "StringEditor",
|
|
1638
1645
|
props: {
|
|
1639
1646
|
locString: {}
|
|
@@ -1709,10 +1716,10 @@ const It = /* @__PURE__ */ g({
|
|
|
1709
1716
|
}), (q, T) => (l(), i("span", {
|
|
1710
1717
|
class: _(b.value)
|
|
1711
1718
|
}, [
|
|
1712
|
-
a("span",
|
|
1713
|
-
Et,
|
|
1719
|
+
a("span", Et, [
|
|
1714
1720
|
Pt,
|
|
1715
|
-
|
|
1721
|
+
Rt,
|
|
1722
|
+
a("span", Vt, [
|
|
1716
1723
|
e.value.hasHtml ? p("", !0) : (l(), i("span", {
|
|
1717
1724
|
key: 0,
|
|
1718
1725
|
role: "textbox",
|
|
@@ -1757,7 +1764,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1757
1764
|
contenteditable: N.value,
|
|
1758
1765
|
ref_key: "root",
|
|
1759
1766
|
ref: n
|
|
1760
|
-
}, null, 40,
|
|
1767
|
+
}, null, 40, At)),
|
|
1761
1768
|
e.value.hasHtml ? (l(), i("span", {
|
|
1762
1769
|
key: 1,
|
|
1763
1770
|
role: "textbox",
|
|
@@ -1796,7 +1803,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1796
1803
|
innerHTML: r.value,
|
|
1797
1804
|
ref_key: "root",
|
|
1798
1805
|
ref: n
|
|
1799
|
-
}, null, 40,
|
|
1806
|
+
}, null, 40, zt)) : p("", !0),
|
|
1800
1807
|
P.value ? (l(), C(s(u), {
|
|
1801
1808
|
key: 2,
|
|
1802
1809
|
is: "sv-character-counter",
|
|
@@ -1805,19 +1812,19 @@ const It = /* @__PURE__ */ g({
|
|
|
1805
1812
|
}, null, 8, ["counter", "remainingCharacterCounter"])) : p("", !0)
|
|
1806
1813
|
])
|
|
1807
1814
|
]),
|
|
1808
|
-
m.value ? (l(), i("span",
|
|
1815
|
+
m.value ? (l(), i("span", Lt, k(m.value), 1)) : p("", !0)
|
|
1809
1816
|
], 2));
|
|
1810
1817
|
}
|
|
1811
|
-
}),
|
|
1818
|
+
}), Kt = {
|
|
1812
1819
|
key: 0,
|
|
1813
1820
|
class: "svc-toolbox__search-container"
|
|
1814
|
-
},
|
|
1821
|
+
}, Ut = /* @__PURE__ */ a("div", { class: "svc-toolbox__category-separator svc-toolbox__category-separator--search" }, null, -1), Ht = {
|
|
1815
1822
|
key: 1,
|
|
1816
1823
|
class: "svc-toolbox__placeholder"
|
|
1817
|
-
},
|
|
1824
|
+
}, Ot = {
|
|
1818
1825
|
key: 1,
|
|
1819
1826
|
class: "svc-toolbox__category"
|
|
1820
|
-
},
|
|
1827
|
+
}, Qt = /* @__PURE__ */ g({
|
|
1821
1828
|
__name: "AdaptiveToolbox",
|
|
1822
1829
|
props: {
|
|
1823
1830
|
model: {}
|
|
@@ -1844,7 +1851,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1844
1851
|
onFocusout: m[0] || (m[0] = (b) => e.value.focusOut(b)),
|
|
1845
1852
|
class: "svc-toolbox__panel"
|
|
1846
1853
|
}, [
|
|
1847
|
-
e.value.showSearch ? (l(), i("div",
|
|
1854
|
+
e.value.showSearch ? (l(), i("div", Kt, [
|
|
1848
1855
|
e.value.isCompactRendered ? (l(), C(s(u), {
|
|
1849
1856
|
is: "svc-toolbox-tool",
|
|
1850
1857
|
creator: d.model,
|
|
@@ -1857,9 +1864,9 @@ const It = /* @__PURE__ */ g({
|
|
|
1857
1864
|
is: "svc-search",
|
|
1858
1865
|
model: e.value.searchManager
|
|
1859
1866
|
}, null, 8, ["model"]),
|
|
1860
|
-
|
|
1867
|
+
Ut
|
|
1861
1868
|
])) : p("", !0),
|
|
1862
|
-
e.value.showPlaceholder ? (l(), i("div",
|
|
1869
|
+
e.value.showPlaceholder ? (l(), i("div", Ht, k(e.value.toolboxNoResultsFound), 1)) : p("", !0),
|
|
1863
1870
|
v(W, null, {
|
|
1864
1871
|
default: Y(() => [
|
|
1865
1872
|
e.value.showInSingleCategory ? p("", !0) : (l(!0), i(w, { key: 0 }, R(e.value.categories, (b, y) => (l(), C(s(u), {
|
|
@@ -1868,7 +1875,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1868
1875
|
category: b,
|
|
1869
1876
|
toolbox: e.value
|
|
1870
1877
|
}, null, 8, ["category", "toolbox"]))), 128)),
|
|
1871
|
-
e.value.showInSingleCategory ? (l(), i("div",
|
|
1878
|
+
e.value.showInSingleCategory ? (l(), i("div", Ot, [
|
|
1872
1879
|
(l(!0), i(w, null, R(r.value, (b) => (l(), C(s(u), {
|
|
1873
1880
|
key: b.renderedId,
|
|
1874
1881
|
is: "svc-toolbox-tool",
|
|
@@ -1884,10 +1891,10 @@ const It = /* @__PURE__ */ g({
|
|
|
1884
1891
|
], 32)
|
|
1885
1892
|
], 2));
|
|
1886
1893
|
}
|
|
1887
|
-
}),
|
|
1894
|
+
}), Gt = {
|
|
1888
1895
|
key: 0,
|
|
1889
1896
|
class: "svc-toolbox__category-separator"
|
|
1890
|
-
},
|
|
1897
|
+
}, Wt = /* @__PURE__ */ g({
|
|
1891
1898
|
__name: "ToolboxTool",
|
|
1892
1899
|
props: {
|
|
1893
1900
|
creator: {},
|
|
@@ -1922,7 +1929,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1922
1929
|
ref_key: "root",
|
|
1923
1930
|
ref: o
|
|
1924
1931
|
}, [
|
|
1925
|
-
n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (l(), i("div",
|
|
1932
|
+
n.item.needSeparator && !n.creator.toolbox.showCategoryTitles ? (l(), i("div", Gt)) : p("", !0),
|
|
1926
1933
|
a("div", {
|
|
1927
1934
|
class: "svc-toolbox__tool-content sv-action__content",
|
|
1928
1935
|
onPointerdown: r[0] || (r[0] = //@ts-ignore
|
|
@@ -1942,10 +1949,10 @@ const It = /* @__PURE__ */ g({
|
|
|
1942
1949
|
], 2);
|
|
1943
1950
|
};
|
|
1944
1951
|
}
|
|
1945
|
-
}),
|
|
1952
|
+
}), jt = ["aria-label", "title"], Jt = { class: "svc-toolbox__item-container" }, Zt = {
|
|
1946
1953
|
key: 0,
|
|
1947
1954
|
class: "svc-toolbox__item-title"
|
|
1948
|
-
},
|
|
1955
|
+
}, Xt = /* @__PURE__ */ g({
|
|
1949
1956
|
__name: "ToolboxItem",
|
|
1950
1957
|
props: {
|
|
1951
1958
|
creator: {},
|
|
@@ -1962,7 +1969,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1962
1969
|
title: t.item.tooltip,
|
|
1963
1970
|
onClick: e[0] || (e[0] = (o) => t.viewModel.click(o))
|
|
1964
1971
|
}, [
|
|
1965
|
-
a("span",
|
|
1972
|
+
a("span", Jt, [
|
|
1966
1973
|
t.item.iconName ? (l(), C(s(u), {
|
|
1967
1974
|
key: 0,
|
|
1968
1975
|
is: "sv-svg-icon",
|
|
@@ -1971,8 +1978,8 @@ const It = /* @__PURE__ */ g({
|
|
|
1971
1978
|
class: "svc-toolbox__item-icon"
|
|
1972
1979
|
}, null, 8, ["iconName"])) : p("", !0)
|
|
1973
1980
|
]),
|
|
1974
|
-
t.isCompact ? p("", !0) : (l(), i("span",
|
|
1975
|
-
], 10,
|
|
1981
|
+
t.isCompact ? p("", !0) : (l(), i("span", Zt, k(t.item.title), 1))
|
|
1982
|
+
], 10, jt)), [
|
|
1976
1983
|
[s(D)]
|
|
1977
1984
|
]),
|
|
1978
1985
|
t.isCompact ? (l(), i("span", {
|
|
@@ -1990,7 +1997,7 @@ const It = /* @__PURE__ */ g({
|
|
|
1990
1997
|
])) : p("", !0)
|
|
1991
1998
|
], 64));
|
|
1992
1999
|
}
|
|
1993
|
-
}),
|
|
2000
|
+
}), Yt = /* @__PURE__ */ g({
|
|
1994
2001
|
__name: "ToolboxItemGroup",
|
|
1995
2002
|
props: {
|
|
1996
2003
|
creator: {},
|
|
@@ -2029,10 +2036,10 @@ const It = /* @__PURE__ */ g({
|
|
|
2029
2036
|
], 32)
|
|
2030
2037
|
], 64));
|
|
2031
2038
|
}
|
|
2032
|
-
}),
|
|
2039
|
+
}), xt = { className: "svc-toolbox__category-header-wrapper" }, en = { class: "svc-toolbox__category-title" }, on = {
|
|
2033
2040
|
key: 0,
|
|
2034
2041
|
class: "svc-toolbox__category-header__controls"
|
|
2035
|
-
},
|
|
2042
|
+
}, sn = { className: "svc-toolbox__category-header-wrapper" }, tn = /* @__PURE__ */ g({
|
|
2036
2043
|
__name: "ToolboxCategory",
|
|
2037
2044
|
props: {
|
|
2038
2045
|
category: {},
|
|
@@ -2046,16 +2053,16 @@ const It = /* @__PURE__ */ g({
|
|
|
2046
2053
|
"svc-toolbox__category--empty": e.category.empty
|
|
2047
2054
|
}])
|
|
2048
2055
|
}, [
|
|
2049
|
-
a("div",
|
|
2056
|
+
a("div", xt, [
|
|
2050
2057
|
h((l(), i("div", {
|
|
2051
2058
|
class: _(["svc-toolbox__category-header", {
|
|
2052
2059
|
"svc-toolbox__category-header--collapsed": e.toolbox.canCollapseCategories
|
|
2053
2060
|
}]),
|
|
2054
2061
|
onClick: o[0] || (o[0] = (n) => e.category.toggleState())
|
|
2055
2062
|
}, [
|
|
2056
|
-
a("span",
|
|
2057
|
-
e.toolbox.canCollapseCategories ? (l(), i("div",
|
|
2058
|
-
a("div",
|
|
2063
|
+
a("span", en, k(e.category.title), 1),
|
|
2064
|
+
e.toolbox.canCollapseCategories ? (l(), i("div", on, [
|
|
2065
|
+
a("div", sn, [
|
|
2059
2066
|
h(v(s(u), {
|
|
2060
2067
|
is: "sv-svg-icon",
|
|
2061
2068
|
iconName: "icon-arrow-down",
|
|
@@ -2088,7 +2095,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2088
2095
|
}, null, 8, ["item", "creator", "parentModel"]))), 128))
|
|
2089
2096
|
], 2));
|
|
2090
2097
|
}
|
|
2091
|
-
}),
|
|
2098
|
+
}), nn = /* @__PURE__ */ g({
|
|
2092
2099
|
__name: "ToolboxList",
|
|
2093
2100
|
props: {
|
|
2094
2101
|
model: {},
|
|
@@ -2108,28 +2115,28 @@ const It = /* @__PURE__ */ g({
|
|
|
2108
2115
|
}, null, 8, ["creator", "item", "parentModel"]))), 128))
|
|
2109
2116
|
], 2));
|
|
2110
2117
|
}
|
|
2111
|
-
}),
|
|
2118
|
+
}), ln = { class: "svc-flex-column" }, an = { class: "svc-tab-designer_content" }, rn = {
|
|
2112
2119
|
key: 0,
|
|
2113
2120
|
class: "svc-designer-header"
|
|
2114
|
-
},
|
|
2121
|
+
}, dn = {
|
|
2115
2122
|
class: "svc-designer__placeholder-container",
|
|
2116
2123
|
"data-sv-drop-target-survey-element": "newGhostPage"
|
|
2117
|
-
},
|
|
2124
|
+
}, cn = {
|
|
2118
2125
|
className: "svc-designer-placeholder-page",
|
|
2119
2126
|
"data-sv-drop-target-survey-element": "newGhostPage"
|
|
2120
|
-
},
|
|
2127
|
+
}, un = {
|
|
2121
2128
|
key: 0,
|
|
2122
2129
|
class: "svc-designer-header"
|
|
2123
|
-
},
|
|
2130
|
+
}, pn = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], vn = ["data-sv-drop-target-survey-element", "data-sv-drop-target-page"], mn = {
|
|
2124
2131
|
key: 0,
|
|
2125
2132
|
class: "svc-tab-designer__tools"
|
|
2126
|
-
},
|
|
2133
|
+
}, _n = {
|
|
2127
2134
|
key: 0,
|
|
2128
2135
|
class: "svc-tab-designer__page-navigator"
|
|
2129
|
-
},
|
|
2136
|
+
}, gn = {
|
|
2130
2137
|
key: 1,
|
|
2131
2138
|
class: "svc-tab-designer__toolbar"
|
|
2132
|
-
},
|
|
2139
|
+
}, bn = /* @__PURE__ */ g({
|
|
2133
2140
|
__name: "Designer",
|
|
2134
2141
|
props: {
|
|
2135
2142
|
model: {}
|
|
@@ -2137,7 +2144,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2137
2144
|
setup(c) {
|
|
2138
2145
|
const t = c, e = $(() => t.model.survey);
|
|
2139
2146
|
return f(() => t.model), f(() => e.value), (o, n) => (l(), i(w, null, [
|
|
2140
|
-
a("div",
|
|
2147
|
+
a("div", ln, [
|
|
2141
2148
|
o.model.isToolboxVisible ? (l(), C(s(u), {
|
|
2142
2149
|
key: 0,
|
|
2143
2150
|
is: "svc-toolbox",
|
|
@@ -2151,21 +2158,21 @@ const It = /* @__PURE__ */ g({
|
|
|
2151
2158
|
}, [
|
|
2152
2159
|
v(W, null, {
|
|
2153
2160
|
default: Y(() => [
|
|
2154
|
-
a("div",
|
|
2161
|
+
a("div", an, [
|
|
2155
2162
|
o.model.showPlaceholder ? (l(), i(w, { key: 0 }, [
|
|
2156
|
-
o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (l(), i("div",
|
|
2163
|
+
o.model.creator.showHeaderInEmptySurvey && o.model.creator.allowEditSurveyTitle ? (l(), i("div", rn, [
|
|
2157
2164
|
v(s(u), {
|
|
2158
2165
|
is: "survey-header",
|
|
2159
2166
|
survey: o.model.creator.survey
|
|
2160
2167
|
}, null, 8, ["survey"])
|
|
2161
2168
|
])) : p("", !0),
|
|
2162
|
-
a("div",
|
|
2169
|
+
a("div", dn, [
|
|
2163
2170
|
v(j, {
|
|
2164
2171
|
name: "designer",
|
|
2165
2172
|
placeholderTitleText: o.model.placeholderTitleText,
|
|
2166
2173
|
placeholderDescriptionText: o.model.placeholderDescriptionText
|
|
2167
2174
|
}, null, 8, ["placeholderTitleText", "placeholderDescriptionText"]),
|
|
2168
|
-
a("div",
|
|
2175
|
+
a("div", cn, [
|
|
2169
2176
|
v(s(u), {
|
|
2170
2177
|
is: "svc-page",
|
|
2171
2178
|
survey: o.model.creator.survey,
|
|
@@ -2184,7 +2191,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2184
2191
|
o.model.surfaceCssVariables
|
|
2185
2192
|
])
|
|
2186
2193
|
}, [
|
|
2187
|
-
o.model.creator.allowEditSurveyTitle ? (l(), i("div",
|
|
2194
|
+
o.model.creator.allowEditSurveyTitle ? (l(), i("div", un, [
|
|
2188
2195
|
v(s(u), {
|
|
2189
2196
|
is: "survey-header",
|
|
2190
2197
|
survey: o.model.creator.survey
|
|
@@ -2203,7 +2210,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2203
2210
|
page: r,
|
|
2204
2211
|
isGhost: r == o.model.newPage
|
|
2205
2212
|
}, null, 8, ["survey", "creator", "page", "isGhost"])
|
|
2206
|
-
], 8,
|
|
2213
|
+
], 8, pn))), 128)) : p("", !0),
|
|
2207
2214
|
o.model.pagesController.page2Display && o.model.creator.pageEditMode === "bypage" ? (l(), i("div", {
|
|
2208
2215
|
key: 2,
|
|
2209
2216
|
class: "svc-page",
|
|
@@ -2216,17 +2223,17 @@ const It = /* @__PURE__ */ g({
|
|
|
2216
2223
|
creator: o.model.creator,
|
|
2217
2224
|
isGhost: o.model.pagesController.page2Display == o.model.newPage
|
|
2218
2225
|
}, null, 8, ["page", "creator", "isGhost"])
|
|
2219
|
-
], 8,
|
|
2226
|
+
], 8, vn)) : p("", !0)
|
|
2220
2227
|
], 6),
|
|
2221
|
-
o.model.showSurfaceTools ? (l(), i("div",
|
|
2222
|
-
o.model.creator.showPageNavigator ? (l(), i("div",
|
|
2228
|
+
o.model.showSurfaceTools ? (l(), i("div", mn, [
|
|
2229
|
+
o.model.creator.showPageNavigator ? (l(), i("div", _n, [
|
|
2223
2230
|
v(s(u), {
|
|
2224
2231
|
is: "svc-page-navigator",
|
|
2225
2232
|
pagesController: o.model.pagesController,
|
|
2226
2233
|
pageEditMode: o.model.creator.pageEditMode
|
|
2227
2234
|
}, null, 8, ["pagesController", "pageEditMode"])
|
|
2228
2235
|
])) : p("", !0),
|
|
2229
|
-
o.model.showSurfaceToolbar ? (l(), i("div",
|
|
2236
|
+
o.model.showSurfaceToolbar ? (l(), i("div", gn, [
|
|
2230
2237
|
v(s(u), {
|
|
2231
2238
|
is: "sv-action-bar",
|
|
2232
2239
|
model: o.model.surfaceToolbar
|
|
@@ -2241,13 +2248,13 @@ const It = /* @__PURE__ */ g({
|
|
|
2241
2248
|
], 2)
|
|
2242
2249
|
], 64));
|
|
2243
2250
|
}
|
|
2244
|
-
}),
|
|
2251
|
+
}), yn = ["id", "data-sv-drop-target-survey-page"], hn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), Cn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), qn = {
|
|
2245
2252
|
key: 0,
|
|
2246
2253
|
class: "svc-page__placeholder_frame"
|
|
2247
|
-
},
|
|
2254
|
+
}, $n = { class: "svc-panel__placeholder_frame" }, kn = { class: "svc-panel__placeholder" }, wn = { class: "svc-page__content-actions" }, fn = {
|
|
2248
2255
|
key: 2,
|
|
2249
2256
|
class: "svc-page__content-actions"
|
|
2250
|
-
},
|
|
2257
|
+
}, Tn = /* @__PURE__ */ g({
|
|
2251
2258
|
__name: "Page",
|
|
2252
2259
|
props: {
|
|
2253
2260
|
creator: {},
|
|
@@ -2293,16 +2300,16 @@ const It = /* @__PURE__ */ g({
|
|
|
2293
2300
|
onMouseover: n,
|
|
2294
2301
|
onMouseleave: n
|
|
2295
2302
|
}, [
|
|
2296
|
-
yn,
|
|
2297
2303
|
hn,
|
|
2304
|
+
Cn,
|
|
2298
2305
|
v(s(u), {
|
|
2299
2306
|
is: "survey-page",
|
|
2300
2307
|
survey: s(o).creator.survey,
|
|
2301
2308
|
page: s(o).page
|
|
2302
2309
|
}, null, 8, ["survey", "page"]),
|
|
2303
|
-
s(o).showPlaceholder ? (l(), i("div",
|
|
2304
|
-
a("div",
|
|
2305
|
-
a("div",
|
|
2310
|
+
s(o).showPlaceholder ? (l(), i("div", qn, [
|
|
2311
|
+
a("div", $n, [
|
|
2312
|
+
a("div", kn, k(s(o).placeholderText), 1)
|
|
2306
2313
|
])
|
|
2307
2314
|
])) : p("", !0),
|
|
2308
2315
|
s(o).allowDragging && !s(o).isGhost ? (l(), i("div", {
|
|
@@ -2318,7 +2325,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2318
2325
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2319
2326
|
size: "auto"
|
|
2320
2327
|
}), null, 16),
|
|
2321
|
-
a("div",
|
|
2328
|
+
a("div", wn, [
|
|
2322
2329
|
v(s(u), {
|
|
2323
2330
|
is: "sv-action-bar",
|
|
2324
2331
|
model: s(o).actionContainer
|
|
@@ -2330,7 +2337,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2330
2337
|
}, null, 8, ["model"])) : p("", !0)
|
|
2331
2338
|
])
|
|
2332
2339
|
], 32)) : p("", !0),
|
|
2333
|
-
!s(o).allowDragging || s(o).isGhost ? (l(), i("div",
|
|
2340
|
+
!s(o).allowDragging || s(o).isGhost ? (l(), i("div", fn, [
|
|
2334
2341
|
v(s(u), {
|
|
2335
2342
|
is: "sv-action-bar",
|
|
2336
2343
|
model: s(o).actionContainer
|
|
@@ -2345,11 +2352,11 @@ const It = /* @__PURE__ */ g({
|
|
|
2345
2352
|
is: "sv-action-bar",
|
|
2346
2353
|
model: s(o).footerActionsBar
|
|
2347
2354
|
}, null, 8, ["model"])
|
|
2348
|
-
], 42,
|
|
2355
|
+
], 42, yn)), [
|
|
2349
2356
|
[s(D)]
|
|
2350
2357
|
]) : p("", !0);
|
|
2351
2358
|
}
|
|
2352
|
-
}),
|
|
2359
|
+
}), Dn = { class: "svc-add-new-item-button__text" }, Nn = /* @__PURE__ */ g({
|
|
2353
2360
|
__name: "AddQuestion",
|
|
2354
2361
|
props: {
|
|
2355
2362
|
item: {},
|
|
@@ -2366,7 +2373,8 @@ const It = /* @__PURE__ */ g({
|
|
|
2366
2373
|
onClick: r[0] || (r[0] = (d) => {
|
|
2367
2374
|
n.item.data.addNewQuestion(n.item, d), d.stopPropagation();
|
|
2368
2375
|
}),
|
|
2369
|
-
onMouseover: r[1] || (r[1] = (d) => n.item.data.hoverStopper && n.item.data.hoverStopper(d, d.currentTarget))
|
|
2376
|
+
onMouseover: r[1] || (r[1] = (d) => n.item.data.hoverStopper && n.item.data.hoverStopper(d, d.currentTarget)),
|
|
2377
|
+
role: "button"
|
|
2370
2378
|
}, [
|
|
2371
2379
|
v(s(u), {
|
|
2372
2380
|
is: "sv-svg-icon",
|
|
@@ -2374,7 +2382,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2374
2382
|
iconName: "icon-add_24x24",
|
|
2375
2383
|
size: "auto"
|
|
2376
2384
|
}),
|
|
2377
|
-
a("span",
|
|
2385
|
+
a("span", Dn, k(n.item.data.addNewQuestionText), 1),
|
|
2378
2386
|
o.value ? (l(), C(s(u), {
|
|
2379
2387
|
key: 0,
|
|
2380
2388
|
is: "svc-add-question-type-selector",
|
|
@@ -2392,7 +2400,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2392
2400
|
}, null, 8, ["questionTypeSelectorModel", "renderPopup"]))
|
|
2393
2401
|
], 64));
|
|
2394
2402
|
}
|
|
2395
|
-
}),
|
|
2403
|
+
}), Mn = ["title", "aria-label"], Sn = /* @__PURE__ */ g({
|
|
2396
2404
|
__name: "AddQuestionTypeSelector",
|
|
2397
2405
|
props: {
|
|
2398
2406
|
questionTypeSelectorModel: {},
|
|
@@ -2422,11 +2430,11 @@ const It = /* @__PURE__ */ g({
|
|
|
2422
2430
|
is: "sv-popup",
|
|
2423
2431
|
model: e.questionTypeSelectorModel.popupModel
|
|
2424
2432
|
}, null, 8, ["model"])) : p("", !0)
|
|
2425
|
-
], 8,
|
|
2433
|
+
], 8, Mn)), [
|
|
2426
2434
|
[s(D)]
|
|
2427
2435
|
]);
|
|
2428
2436
|
}
|
|
2429
|
-
}),
|
|
2437
|
+
}), In = /* @__PURE__ */ a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--top" }, null, -1), Bn = /* @__PURE__ */ a("div", { class: "svc-row__drop-indicator svc-row__drop-indicator--bottom" }, null, -1), En = /* @__PURE__ */ g({
|
|
2430
2438
|
__name: "Row",
|
|
2431
2439
|
props: {
|
|
2432
2440
|
componentData: {}
|
|
@@ -2446,15 +2454,15 @@ const It = /* @__PURE__ */ g({
|
|
|
2446
2454
|
}), (r, d) => (l(), i("div", {
|
|
2447
2455
|
class: _(s(n).cssClasses)
|
|
2448
2456
|
}, [
|
|
2449
|
-
Sn,
|
|
2450
2457
|
In,
|
|
2458
|
+
Bn,
|
|
2451
2459
|
X(r.$slots, "default")
|
|
2452
2460
|
], 2));
|
|
2453
2461
|
}
|
|
2454
|
-
}),
|
|
2462
|
+
}), Pn = ["data-sv-drop-target-survey-element"], Rn = { class: "svc-fake-title" }, Vn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), An = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), zn = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), Ln = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), Fn = { class: "svc-question__top-actions" }, Kn = {
|
|
2455
2463
|
key: 0,
|
|
2456
2464
|
class: "svc-panel__placeholder_frame-wrapper"
|
|
2457
|
-
},
|
|
2465
|
+
}, Un = { class: "svc-panel__placeholder_frame" }, Hn = {
|
|
2458
2466
|
class: "svc-panel__placeholder",
|
|
2459
2467
|
"data-bind": "text: placeholderText"
|
|
2460
2468
|
}, se = /* @__PURE__ */ g({
|
|
@@ -2510,7 +2518,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2510
2518
|
key: 1,
|
|
2511
2519
|
class: _(s(o).cssCollapsedHiddenTitle)
|
|
2512
2520
|
}, [
|
|
2513
|
-
a("span",
|
|
2521
|
+
a("span", Rn, k(d.element.name), 1)
|
|
2514
2522
|
], 2))
|
|
2515
2523
|
], 2)) : p("", !0),
|
|
2516
2524
|
h((l(), i("div", {
|
|
@@ -2519,10 +2527,10 @@ const It = /* @__PURE__ */ g({
|
|
|
2519
2527
|
}),
|
|
2520
2528
|
class: _(s(o).css())
|
|
2521
2529
|
}, [
|
|
2522
|
-
Rn,
|
|
2523
2530
|
Vn,
|
|
2524
2531
|
An,
|
|
2525
2532
|
zn,
|
|
2533
|
+
Ln,
|
|
2526
2534
|
s(o).allowDragging ? (l(), i("div", {
|
|
2527
2535
|
key: 0,
|
|
2528
2536
|
class: "svc-question__drag-area",
|
|
@@ -2536,7 +2544,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2536
2544
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2537
2545
|
size: "auto"
|
|
2538
2546
|
}), null, 16),
|
|
2539
|
-
a("div",
|
|
2547
|
+
a("div", Fn, [
|
|
2540
2548
|
v(s(u), {
|
|
2541
2549
|
is: "sv-action-bar",
|
|
2542
2550
|
model: s(o).topActionContainer,
|
|
@@ -2550,9 +2558,9 @@ const It = /* @__PURE__ */ g({
|
|
|
2550
2558
|
componentName: d.componentName,
|
|
2551
2559
|
componentData: d.componentData
|
|
2552
2560
|
}, null, 8, ["componentName", "componentData"]),
|
|
2553
|
-
s(o).isEmptyElement && !d.showPlaceholderComponent ? (l(), i("div",
|
|
2554
|
-
a("div",
|
|
2555
|
-
a("div",
|
|
2561
|
+
s(o).isEmptyElement && !d.showPlaceholderComponent ? (l(), i("div", Kn, [
|
|
2562
|
+
a("div", Un, [
|
|
2563
|
+
a("div", Hn, k(s(o).placeholderText), 1)
|
|
2556
2564
|
])
|
|
2557
2565
|
])) : p("", !0),
|
|
2558
2566
|
s(o).isEmptyElement && d.showPlaceholderComponent ? (l(), C(s(u), V(
|
|
@@ -2587,7 +2595,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2587
2595
|
], 2)), [
|
|
2588
2596
|
[s(D), { disableTabStop: !0 }]
|
|
2589
2597
|
])
|
|
2590
|
-
], 42,
|
|
2598
|
+
], 42, Pn)) : p("", !0);
|
|
2591
2599
|
}
|
|
2592
2600
|
}), ae = /* @__PURE__ */ g({
|
|
2593
2601
|
__name: "Question",
|
|
@@ -2608,7 +2616,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2608
2616
|
"component-data": o.componentData
|
|
2609
2617
|
}, null, 8, ["element", "component-name", "component-data"]));
|
|
2610
2618
|
}
|
|
2611
|
-
}),
|
|
2619
|
+
}), On = /* @__PURE__ */ g({
|
|
2612
2620
|
__name: "QuestionImage",
|
|
2613
2621
|
props: {
|
|
2614
2622
|
componentName: {},
|
|
@@ -2633,17 +2641,17 @@ const It = /* @__PURE__ */ g({
|
|
|
2633
2641
|
"adorner-component": "svc-image-question-adorner"
|
|
2634
2642
|
}, null, 8, ["element", "component-data", "component-name"]));
|
|
2635
2643
|
}
|
|
2636
|
-
}),
|
|
2644
|
+
}), Qn = {
|
|
2637
2645
|
key: 0,
|
|
2638
2646
|
class: "svc-image-question-controls"
|
|
2639
|
-
},
|
|
2647
|
+
}, Gn = ["accept"], Wn = {
|
|
2640
2648
|
class: "svc-context-button",
|
|
2641
2649
|
title: void 0,
|
|
2642
2650
|
"aria-label": void 0
|
|
2643
|
-
},
|
|
2651
|
+
}, jn = {
|
|
2644
2652
|
key: 1,
|
|
2645
2653
|
class: "svc-image-question__loading-placeholder"
|
|
2646
|
-
},
|
|
2654
|
+
}, Jn = { class: "svc-image-question__loading" }, Zn = /* @__PURE__ */ g({
|
|
2647
2655
|
__name: "Image",
|
|
2648
2656
|
props: {
|
|
2649
2657
|
model: {},
|
|
@@ -2651,7 +2659,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2651
2659
|
},
|
|
2652
2660
|
setup(c) {
|
|
2653
2661
|
return (t, e) => (l(), i(w, null, [
|
|
2654
|
-
!t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div",
|
|
2662
|
+
!t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div", Qn, [
|
|
2655
2663
|
t.model.allowEdit ? (l(), i(w, { key: 0 }, [
|
|
2656
2664
|
a("input", {
|
|
2657
2665
|
type: "file",
|
|
@@ -2659,8 +2667,8 @@ const It = /* @__PURE__ */ g({
|
|
|
2659
2667
|
tabindex: "-1",
|
|
2660
2668
|
accept: t.model.acceptedTypes,
|
|
2661
2669
|
class: "svc-choose-file-input"
|
|
2662
|
-
}, null, 8,
|
|
2663
|
-
h((l(), i("span",
|
|
2670
|
+
}, null, 8, Gn),
|
|
2671
|
+
h((l(), i("span", Wn, [
|
|
2664
2672
|
v(s(u), {
|
|
2665
2673
|
is: "sv-svg-icon",
|
|
2666
2674
|
iconName: "icon-choosefile",
|
|
@@ -2672,14 +2680,14 @@ const It = /* @__PURE__ */ g({
|
|
|
2672
2680
|
])
|
|
2673
2681
|
], 64)) : p("", !0)
|
|
2674
2682
|
])) : p("", !0),
|
|
2675
|
-
t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div",
|
|
2676
|
-
a("div",
|
|
2683
|
+
t.model.isUploading && !t.model.isEmptyElement ? (l(), i("div", jn, [
|
|
2684
|
+
a("div", Jn, [
|
|
2677
2685
|
v(s(u), { is: "sv-loading-indicator" })
|
|
2678
2686
|
])
|
|
2679
2687
|
])) : p("", !0)
|
|
2680
2688
|
], 64));
|
|
2681
2689
|
}
|
|
2682
|
-
}),
|
|
2690
|
+
}), Xn = { class: "svc-rating-question-content" }, Yn = /* @__PURE__ */ g({
|
|
2683
2691
|
__name: "Rating",
|
|
2684
2692
|
props: {
|
|
2685
2693
|
componentData: {},
|
|
@@ -2696,7 +2704,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2696
2704
|
);
|
|
2697
2705
|
return (o, n) => {
|
|
2698
2706
|
var r, d, m, b, y, N, O, P, z;
|
|
2699
|
-
return l(), i("div",
|
|
2707
|
+
return l(), i("div", Xn, [
|
|
2700
2708
|
a("div", {
|
|
2701
2709
|
class: _((r = s(e)) == null ? void 0 : r.controlsClassNames)
|
|
2702
2710
|
}, [
|
|
@@ -2735,10 +2743,10 @@ const It = /* @__PURE__ */ g({
|
|
|
2735
2743
|
]);
|
|
2736
2744
|
};
|
|
2737
2745
|
}
|
|
2738
|
-
}),
|
|
2746
|
+
}), xn = {
|
|
2739
2747
|
key: 0,
|
|
2740
2748
|
class: "svc-matrix-cell__question-controls"
|
|
2741
|
-
},
|
|
2749
|
+
}, el = /* @__PURE__ */ g({
|
|
2742
2750
|
__name: "MatrixCell",
|
|
2743
2751
|
props: {
|
|
2744
2752
|
componentData: {}
|
|
@@ -2786,7 +2794,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2786
2794
|
class: _(["svc-matrix-cell--selected", { "svc-visible": (N = s(m)) == null ? void 0 : N.isSelected }])
|
|
2787
2795
|
}, null, 2),
|
|
2788
2796
|
X(b.$slots, "default"),
|
|
2789
|
-
(O = s(m)) != null && O.isSupportCellEditor ? (l(), i("div",
|
|
2797
|
+
(O = s(m)) != null && O.isSupportCellEditor ? (l(), i("div", xn, [
|
|
2790
2798
|
h((l(), i("span", {
|
|
2791
2799
|
class: "svc-matrix-cell__question-controls-button svc-context-button",
|
|
2792
2800
|
onClick: y[0] || (y[0] = (P) => s(m).editQuestion(s(m), P))
|
|
@@ -2803,7 +2811,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2803
2811
|
], 32);
|
|
2804
2812
|
};
|
|
2805
2813
|
}
|
|
2806
|
-
}),
|
|
2814
|
+
}), ol = { class: "svc-question__adorner" }, sl = { class: "svc-question__content svc-question__content--in-popup" }, tl = /* @__PURE__ */ g({
|
|
2807
2815
|
__name: "CellQuestion",
|
|
2808
2816
|
props: {
|
|
2809
2817
|
componentName: {},
|
|
@@ -2813,19 +2821,19 @@ const It = /* @__PURE__ */ g({
|
|
|
2813
2821
|
const t = c, e = $(
|
|
2814
2822
|
() => t.componentData.element
|
|
2815
2823
|
);
|
|
2816
|
-
return f(() => e.value), (o, n) => (l(), i("div",
|
|
2817
|
-
a("div",
|
|
2824
|
+
return f(() => e.value), (o, n) => (l(), i("div", ol, [
|
|
2825
|
+
a("div", sl, [
|
|
2818
2826
|
v(s(u), V({ is: o.componentName }, o.componentData), null, 16, ["is"])
|
|
2819
2827
|
])
|
|
2820
2828
|
]));
|
|
2821
2829
|
}
|
|
2822
|
-
}),
|
|
2830
|
+
}), nl = ["data-sv-drop-target-survey-element"], ll = { class: "svc-fake-title" }, al = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), il = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), rl = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), dl = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), cl = { class: "svc-question__top-actions" }, ul = {
|
|
2823
2831
|
key: 0,
|
|
2824
2832
|
class: "svc-panel__placeholder_frame-wrapper"
|
|
2825
|
-
},
|
|
2833
|
+
}, pl = { class: "svc-panel__placeholder_frame" }, vl = { class: "svc-panel__placeholder" }, ml = { class: "svc-add-new-item-button__text" }, _l = {
|
|
2826
2834
|
key: 1,
|
|
2827
2835
|
class: "svc-panel__add-new-question-container"
|
|
2828
|
-
},
|
|
2836
|
+
}, gl = { class: "svc-panel__question-type-selector-popup" }, bl = { class: "svc-panel__add-new-question-wrapper" }, yl = /* @__PURE__ */ g({
|
|
2829
2837
|
__name: "Panel",
|
|
2830
2838
|
props: {
|
|
2831
2839
|
componentName: {},
|
|
@@ -2866,17 +2874,17 @@ const It = /* @__PURE__ */ g({
|
|
|
2866
2874
|
key: 1,
|
|
2867
2875
|
class: _(s(e).cssCollapsedHiddenTitle)
|
|
2868
2876
|
}, [
|
|
2869
|
-
a("span",
|
|
2877
|
+
a("span", ll, k(s(e).element.name), 1)
|
|
2870
2878
|
], 2))
|
|
2871
2879
|
], 2)) : p("", !0),
|
|
2872
2880
|
h((l(), i("div", {
|
|
2873
2881
|
class: _(s(e).css()),
|
|
2874
2882
|
onClick: r[2] || (r[2] = (d) => s(e).element.isInteractiveDesignElement ? s(e).select(s(e), d) : null)
|
|
2875
2883
|
}, [
|
|
2876
|
-
ll,
|
|
2877
2884
|
al,
|
|
2878
2885
|
il,
|
|
2879
2886
|
rl,
|
|
2887
|
+
dl,
|
|
2880
2888
|
s(e).allowDragging && s(e).element.isInteractiveDesignElement ? (l(), i("div", {
|
|
2881
2889
|
key: 0,
|
|
2882
2890
|
class: "svc-question__drag-area",
|
|
@@ -2888,7 +2896,7 @@ const It = /* @__PURE__ */ g({
|
|
|
2888
2896
|
iconName: "icon-drag-area-indicator_24x16",
|
|
2889
2897
|
size: "auto"
|
|
2890
2898
|
}),
|
|
2891
|
-
a("div",
|
|
2899
|
+
a("div", cl, [
|
|
2892
2900
|
v(s(u), {
|
|
2893
2901
|
is: "sv-action-bar",
|
|
2894
2902
|
model: s(e).topActionContainer,
|
|
@@ -2898,9 +2906,9 @@ const It = /* @__PURE__ */ g({
|
|
|
2898
2906
|
], 32)) : p("", !0),
|
|
2899
2907
|
s(e).needToRenderContent ? (l(), i(w, { key: 1 }, [
|
|
2900
2908
|
v(s(u), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
|
|
2901
|
-
s(e).isEmptyElement ? (l(), i("div",
|
|
2902
|
-
a("div",
|
|
2903
|
-
a("div",
|
|
2909
|
+
s(e).isEmptyElement ? (l(), i("div", ul, [
|
|
2910
|
+
a("div", pl, [
|
|
2911
|
+
a("div", vl, k(s(e).placeholderText), 1),
|
|
2904
2912
|
s(e).showAddQuestionButton ? h((l(), i("div", {
|
|
2905
2913
|
key: 0,
|
|
2906
2914
|
class: "svc-panel__add-new-question svc-action-button",
|
|
@@ -2912,20 +2920,20 @@ const It = /* @__PURE__ */ g({
|
|
|
2912
2920
|
iconName: "icon-add_24x24",
|
|
2913
2921
|
size: "auto"
|
|
2914
2922
|
}),
|
|
2915
|
-
a("span",
|
|
2923
|
+
a("span", ml, k(s(e).addNewQuestionText), 1)
|
|
2916
2924
|
])), [
|
|
2917
2925
|
[s(D)]
|
|
2918
2926
|
]) : p("", !0)
|
|
2919
2927
|
])
|
|
2920
2928
|
])) : p("", !0),
|
|
2921
|
-
!s(e).isEmptyElement && s(e).showAddQuestionButton ? (l(), i("div",
|
|
2922
|
-
a("div",
|
|
2929
|
+
!s(e).isEmptyElement && s(e).showAddQuestionButton ? (l(), i("div", _l, [
|
|
2930
|
+
a("div", gl, [
|
|
2923
2931
|
v(s(u), {
|
|
2924
2932
|
is: "sv-popup",
|
|
2925
2933
|
model: s(e).questionTypeSelectorModel.popupModel
|
|
2926
2934
|
}, null, 8, ["model"])
|
|
2927
2935
|
]),
|
|
2928
|
-
a("div",
|
|
2936
|
+
a("div", bl, [
|
|
2929
2937
|
v(s(u), {
|
|
2930
2938
|
is: "svc-add-new-question-btn",
|
|
2931
2939
|
item: { data: s(e) },
|
|
@@ -2949,12 +2957,12 @@ const It = /* @__PURE__ */ g({
|
|
|
2949
2957
|
], 2)), [
|
|
2950
2958
|
[s(D), { disableTabStop: !0 }]
|
|
2951
2959
|
])
|
|
2952
|
-
], 42,
|
|
2960
|
+
], 42, nl)) : p("", !0);
|
|
2953
2961
|
}
|
|
2954
|
-
}),
|
|
2962
|
+
}), hl = ["data-sv-drop-target-item-value"], Cl = /* @__PURE__ */ a("div", { class: "svc-item-value__ghost" }, null, -1), ql = { class: "svc-item-value-controls" }, $l = {
|
|
2955
2963
|
key: 0,
|
|
2956
2964
|
class: "svc-item-value-controls__button svc-item-value-controls__drag"
|
|
2957
|
-
},
|
|
2965
|
+
}, kl = /* @__PURE__ */ g({
|
|
2958
2966
|
__name: "ItemValue",
|
|
2959
2967
|
props: {
|
|
2960
2968
|
componentName: {},
|
|
@@ -2994,9 +3002,9 @@ const It = /* @__PURE__ */ g({
|
|
|
2994
3002
|
ref_key: "root",
|
|
2995
3003
|
ref: t
|
|
2996
3004
|
}, [
|
|
2997
|
-
|
|
2998
|
-
a("div",
|
|
2999
|
-
s(m).isDraggable ? (l(), i("span",
|
|
3005
|
+
Cl,
|
|
3006
|
+
a("div", ql, [
|
|
3007
|
+
s(m).isDraggable ? (l(), i("span", $l, [
|
|
3000
3008
|
v(s(u), {
|
|
3001
3009
|
is: "sv-svg-icon",
|
|
3002
3010
|
class: "svc-item-value-controls__drag-icon",
|
|
@@ -3043,18 +3051,18 @@ const It = /* @__PURE__ */ g({
|
|
|
3043
3051
|
}, [
|
|
3044
3052
|
v(s(u), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
|
|
3045
3053
|
])
|
|
3046
|
-
], 42,
|
|
3054
|
+
], 42, hl));
|
|
3047
3055
|
}
|
|
3048
|
-
}),
|
|
3056
|
+
}), wl = ["data-sv-drop-target-item-value"], fl = { class: "svc-image-item-value-wrapper__content" }, Tl = ["accept"], Dl = {
|
|
3049
3057
|
key: 0,
|
|
3050
3058
|
class: "svc-image-item-value__item"
|
|
3051
|
-
},
|
|
3059
|
+
}, Nl = {
|
|
3052
3060
|
key: 2,
|
|
3053
3061
|
class: "svc-context-container svc-image-item-value-controls"
|
|
3054
|
-
},
|
|
3062
|
+
}, Ml = { class: "sd-imagepicker__item sd-imagepicker__item--inline" }, Sl = { class: "sd-imagepicker__label" }, Il = {
|
|
3055
3063
|
key: 0,
|
|
3056
3064
|
class: "svc-image-item-value__loading"
|
|
3057
|
-
},
|
|
3065
|
+
}, Bl = /* @__PURE__ */ g({
|
|
3058
3066
|
__name: "ImageItemValue",
|
|
3059
3067
|
props: {
|
|
3060
3068
|
componentName: {},
|
|
@@ -3096,16 +3104,16 @@ const It = /* @__PURE__ */ g({
|
|
|
3096
3104
|
class: "svc-image-item-value-wrapper__ghost",
|
|
3097
3105
|
style: K(m.value)
|
|
3098
3106
|
}, null, 4),
|
|
3099
|
-
a("div",
|
|
3107
|
+
a("div", fl, [
|
|
3100
3108
|
a("input", {
|
|
3101
3109
|
type: "file",
|
|
3102
3110
|
"aria-hidden": "true",
|
|
3103
3111
|
tabindex: "-1",
|
|
3104
3112
|
accept: s(d).acceptedTypes,
|
|
3105
3113
|
class: "svc-choose-file-input"
|
|
3106
|
-
}, null, 8,
|
|
3114
|
+
}, null, 8, Tl),
|
|
3107
3115
|
!s(d).isNew && !s(d).isUploading ? (l(), i(w, { key: 0 }, [
|
|
3108
|
-
s(d).isNew ? p("", !0) : (l(), i("div",
|
|
3116
|
+
s(d).isNew ? p("", !0) : (l(), i("div", Dl, [
|
|
3109
3117
|
v(s(u), V({ is: b.componentName }, b.componentData), null, 16, ["is"])
|
|
3110
3118
|
])),
|
|
3111
3119
|
s(d).isDraggable && s(d).canRenderControls ? (l(), i("span", {
|
|
@@ -3121,7 +3129,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3121
3129
|
size: "auto"
|
|
3122
3130
|
})
|
|
3123
3131
|
], 32)) : p("", !0),
|
|
3124
|
-
s(d).canRenderControls ? (l(), i("div",
|
|
3132
|
+
s(d).canRenderControls ? (l(), i("div", Nl, [
|
|
3125
3133
|
h((l(), i("span", {
|
|
3126
3134
|
class: "svc-context-button",
|
|
3127
3135
|
onClick: y[1] || (y[1] = (N) => s(d).chooseFile(s(d))),
|
|
@@ -3163,13 +3171,13 @@ const It = /* @__PURE__ */ g({
|
|
|
3163
3171
|
onDragleave: y[4] || (y[4] = (N) => s(d).onDragLeave(N)),
|
|
3164
3172
|
onDrop: y[5] || (y[5] = (N) => s(d).onDrop(N))
|
|
3165
3173
|
}, [
|
|
3166
|
-
a("div",
|
|
3167
|
-
a("label",
|
|
3174
|
+
a("div", Ml, [
|
|
3175
|
+
a("label", Sl, [
|
|
3168
3176
|
a("div", {
|
|
3169
3177
|
style: K(m.value),
|
|
3170
3178
|
class: "sd-imagepicker__image"
|
|
3171
3179
|
}, [
|
|
3172
|
-
s(d).isUploading ? (l(), i("div",
|
|
3180
|
+
s(d).isUploading ? (l(), i("div", Il, [
|
|
3173
3181
|
v(s(u), { is: "sv-loading-indicator" })
|
|
3174
3182
|
])) : p("", !0)
|
|
3175
3183
|
], 4)
|
|
@@ -3199,9 +3207,9 @@ const It = /* @__PURE__ */ g({
|
|
|
3199
3207
|
], 32)
|
|
3200
3208
|
], 64)) : p("", !0)
|
|
3201
3209
|
])
|
|
3202
|
-
], 42,
|
|
3210
|
+
], 42, wl));
|
|
3203
3211
|
}
|
|
3204
|
-
}),
|
|
3212
|
+
}), El = /* @__PURE__ */ g({
|
|
3205
3213
|
__name: "QuestionEditor",
|
|
3206
3214
|
props: {
|
|
3207
3215
|
survey: {},
|
|
@@ -3236,14 +3244,14 @@ const It = /* @__PURE__ */ g({
|
|
|
3236
3244
|
v(s(u), V({ is: o.value }, n.value), null, 16, ["is"])
|
|
3237
3245
|
], 4));
|
|
3238
3246
|
}
|
|
3239
|
-
}),
|
|
3247
|
+
}), Pl = ["accept"], Rl = /* @__PURE__ */ a("svg", null, [
|
|
3240
3248
|
/* @__PURE__ */ a("use", { "xlink:href": "#icon-image-48x48" })
|
|
3241
|
-
], -1),
|
|
3242
|
-
|
|
3243
|
-
],
|
|
3249
|
+
], -1), Vl = [
|
|
3250
|
+
Rl
|
|
3251
|
+
], Al = { class: "svc-context-container svc-logo-image-controls" }, zl = {
|
|
3244
3252
|
key: 2,
|
|
3245
3253
|
class: "svc-logo-image__loading"
|
|
3246
|
-
},
|
|
3254
|
+
}, Ll = /* @__PURE__ */ g({
|
|
3247
3255
|
__name: "Logo",
|
|
3248
3256
|
props: {
|
|
3249
3257
|
data: {}
|
|
@@ -3278,13 +3286,13 @@ const It = /* @__PURE__ */ g({
|
|
|
3278
3286
|
tabindex: "-1",
|
|
3279
3287
|
accept: s(r).acceptedTypes,
|
|
3280
3288
|
class: "svc-choose-file-input"
|
|
3281
|
-
}, null, 8,
|
|
3289
|
+
}, null, 8, Pl),
|
|
3282
3290
|
d.value ? p("", !0) : (l(), i(w, { key: 0 }, [
|
|
3283
3291
|
s(r).allowEdit && !s(r).isUploading ? h((l(), i("div", {
|
|
3284
3292
|
key: 0,
|
|
3285
3293
|
class: "svc-logo-image-placeholder",
|
|
3286
3294
|
onClick: y[0] || (y[0] = (N) => s(r).chooseFile(s(r)))
|
|
3287
|
-
},
|
|
3295
|
+
}, Vl)), [
|
|
3288
3296
|
[s(D)]
|
|
3289
3297
|
]) : p("", !0)
|
|
3290
3298
|
], 64)),
|
|
@@ -3292,7 +3300,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3292
3300
|
key: 1,
|
|
3293
3301
|
class: _(s(r).containerCss)
|
|
3294
3302
|
}, [
|
|
3295
|
-
a("div",
|
|
3303
|
+
a("div", Al, [
|
|
3296
3304
|
h((l(), i("span", {
|
|
3297
3305
|
class: "svc-context-button",
|
|
3298
3306
|
onClick: y[1] || (y[1] = (N) => s(r).chooseFile(s(r))),
|
|
@@ -3327,15 +3335,15 @@ const It = /* @__PURE__ */ g({
|
|
|
3327
3335
|
data: o.value
|
|
3328
3336
|
}, null, 8, ["data"])
|
|
3329
3337
|
], 2)) : p("", !0),
|
|
3330
|
-
s(r).isUploading ? (l(), i("div",
|
|
3338
|
+
s(r).isUploading ? (l(), i("div", zl, [
|
|
3331
3339
|
v(s(u), { is: "sv-loading-indicator" })
|
|
3332
3340
|
])) : p("", !0)
|
|
3333
3341
|
], 512));
|
|
3334
3342
|
}
|
|
3335
|
-
}),
|
|
3343
|
+
}), Fl = {
|
|
3336
3344
|
key: 0,
|
|
3337
3345
|
class: "svc-search"
|
|
3338
|
-
},
|
|
3346
|
+
}, Kl = { class: "svc-search__search-icon" }, Ul = ["aria-label", "placeholder"], Hl = { class: "svc-search__toolbar" }, Ol = { class: "svc-search__toolbar-counter" }, Ql = /* @__PURE__ */ g({
|
|
3339
3347
|
__name: "Search",
|
|
3340
3348
|
props: {
|
|
3341
3349
|
model: {}
|
|
@@ -3350,8 +3358,8 @@ const It = /* @__PURE__ */ g({
|
|
|
3350
3358
|
n.filterString = o;
|
|
3351
3359
|
}
|
|
3352
3360
|
});
|
|
3353
|
-
return (o, n) => o.model.isVisible ? (l(), i("div",
|
|
3354
|
-
a("div",
|
|
3361
|
+
return (o, n) => o.model.isVisible ? (l(), i("div", Fl, [
|
|
3362
|
+
a("div", Kl, [
|
|
3355
3363
|
v(s(u), {
|
|
3356
3364
|
is: "sv-svg-icon",
|
|
3357
3365
|
iconName: "icon-search",
|
|
@@ -3364,11 +3372,11 @@ const It = /* @__PURE__ */ g({
|
|
|
3364
3372
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r),
|
|
3365
3373
|
"aria-label": o.model.filterStringPlaceholder,
|
|
3366
3374
|
placeholder: o.model.filterStringPlaceholder
|
|
3367
|
-
}, null, 8,
|
|
3375
|
+
}, null, 8, Ul), [
|
|
3368
3376
|
[ce, e.value]
|
|
3369
3377
|
]),
|
|
3370
|
-
a("div",
|
|
3371
|
-
a("div",
|
|
3378
|
+
a("div", Hl, [
|
|
3379
|
+
a("div", Ol, k(o.model.matchCounterText), 1),
|
|
3372
3380
|
v(s(u), {
|
|
3373
3381
|
is: "sv-action-bar",
|
|
3374
3382
|
model: o.model.searchActionBar
|
|
@@ -3376,7 +3384,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3376
3384
|
])
|
|
3377
3385
|
])) : p("", !0);
|
|
3378
3386
|
}
|
|
3379
|
-
}),
|
|
3387
|
+
}), Gl = ["title"], Wl = /* @__PURE__ */ g({
|
|
3380
3388
|
__name: "PageNavigator",
|
|
3381
3389
|
props: {
|
|
3382
3390
|
pagesController: {},
|
|
@@ -3404,6 +3412,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3404
3412
|
ref: o
|
|
3405
3413
|
}, [
|
|
3406
3414
|
h((l(), i("div", {
|
|
3415
|
+
role: "button",
|
|
3407
3416
|
class: _(["svc-page-navigator__selector svc-page-navigator__button", { "svc-page-navigator__button--pressed": s(e).isPopupOpened }]),
|
|
3408
3417
|
onClick: r[0] || (r[0] = (d) => s(e).togglePageSelector(d)),
|
|
3409
3418
|
title: s(e).pageSelectorCaption
|
|
@@ -3418,7 +3427,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3418
3427
|
is: "sv-popup",
|
|
3419
3428
|
model: s(e).popupModel
|
|
3420
3429
|
}, null, 8, ["model"])
|
|
3421
|
-
], 10,
|
|
3430
|
+
], 10, Gl)), [
|
|
3422
3431
|
[s(D)]
|
|
3423
3432
|
]),
|
|
3424
3433
|
a("div", null, [
|
|
@@ -3432,11 +3441,11 @@ const It = /* @__PURE__ */ g({
|
|
|
3432
3441
|
[F, s(e).visible]
|
|
3433
3442
|
]);
|
|
3434
3443
|
}
|
|
3435
|
-
}),
|
|
3436
|
-
|
|
3437
|
-
],
|
|
3444
|
+
}), jl = { class: "svc-page-navigator-item" }, Jl = ["title"], Zl = /* @__PURE__ */ a("div", { class: "svc-page-navigator-item__dot-content" }, null, -1), Xl = [
|
|
3445
|
+
Zl
|
|
3446
|
+
], Yl = { class: "svc-page-navigator-item__banner" }, xl = { class: "svc-page-navigator-item__text" }, ea = /* @__PURE__ */ a("span", { class: "svc-page-navigator-item__dot" }, [
|
|
3438
3447
|
/* @__PURE__ */ a("span", { class: "svc-page-navigator-item__dot-content" })
|
|
3439
|
-
], -1),
|
|
3448
|
+
], -1), oa = /* @__PURE__ */ g({
|
|
3440
3449
|
__name: "PageNavigatorItem",
|
|
3441
3450
|
props: {
|
|
3442
3451
|
model: {}
|
|
@@ -3447,8 +3456,9 @@ const It = /* @__PURE__ */ g({
|
|
|
3447
3456
|
const e = (o) => {
|
|
3448
3457
|
t.model.action(), o.stopPropagation(), o.preventDefault();
|
|
3449
3458
|
};
|
|
3450
|
-
return (o, n) => (l(), i("div",
|
|
3459
|
+
return (o, n) => (l(), i("div", jl, [
|
|
3451
3460
|
h((l(), i("div", {
|
|
3461
|
+
role: "button",
|
|
3452
3462
|
class: _(["svc-page-navigator-item-content", {
|
|
3453
3463
|
"svc-page-navigator-item--selected": o.model.active,
|
|
3454
3464
|
"svc-page-navigator-item--disabled": o.model.disabled
|
|
@@ -3458,17 +3468,17 @@ const It = /* @__PURE__ */ g({
|
|
|
3458
3468
|
a("div", {
|
|
3459
3469
|
class: "svc-page-navigator-item__dot",
|
|
3460
3470
|
title: o.model.title
|
|
3461
|
-
},
|
|
3462
|
-
a("div",
|
|
3463
|
-
a("span",
|
|
3464
|
-
|
|
3471
|
+
}, Xl, 8, Jl),
|
|
3472
|
+
a("div", Yl, [
|
|
3473
|
+
a("span", xl, k(o.model.title), 1),
|
|
3474
|
+
ea
|
|
3465
3475
|
])
|
|
3466
3476
|
], 2)), [
|
|
3467
3477
|
[s(D)]
|
|
3468
3478
|
])
|
|
3469
3479
|
]));
|
|
3470
3480
|
}
|
|
3471
|
-
}),
|
|
3481
|
+
}), sa = { class: "svc-question__dropdown-choices--wrapper" }, ta = { class: "svc-question__dropdown-choices" }, na = /* @__PURE__ */ g({
|
|
3472
3482
|
__name: "Dropdown",
|
|
3473
3483
|
props: {
|
|
3474
3484
|
model: {},
|
|
@@ -3483,9 +3493,9 @@ const It = /* @__PURE__ */ g({
|
|
|
3483
3493
|
data: t.element.getItemValueWrapperComponentData(n)
|
|
3484
3494
|
}
|
|
3485
3495
|
});
|
|
3486
|
-
return (n, r) => (l(), i("div",
|
|
3496
|
+
return (n, r) => (l(), i("div", sa, [
|
|
3487
3497
|
a("div", null, [
|
|
3488
|
-
a("div",
|
|
3498
|
+
a("div", ta, [
|
|
3489
3499
|
(l(!0), i(w, null, R(n.model.getRenderedItems(), (d) => (l(), i("div", {
|
|
3490
3500
|
key: d.value,
|
|
3491
3501
|
class: _(n.model.getChoiceCss())
|
|
@@ -3505,7 +3515,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3505
3515
|
])
|
|
3506
3516
|
]));
|
|
3507
3517
|
}
|
|
3508
|
-
}),
|
|
3518
|
+
}), la = /* @__PURE__ */ g({
|
|
3509
3519
|
__name: "QuestionDropdown",
|
|
3510
3520
|
props: {
|
|
3511
3521
|
componentName: {},
|
|
@@ -3525,7 +3535,7 @@ const It = /* @__PURE__ */ g({
|
|
|
3525
3535
|
"adorner-component": "svc-dropdown-question-adorner"
|
|
3526
3536
|
}, null, 8, ["element", "component-name", "component-data"]));
|
|
3527
3537
|
}
|
|
3528
|
-
}),
|
|
3538
|
+
}), aa = { class: "svc-question__adorner" }, ia = { class: "svc-question__content svc-question__content--in-popup" }, ra = { class: "svc-question__dropdown-choices" }, ie = "survey-radiogroup-item", da = /* @__PURE__ */ g({
|
|
3529
3539
|
__name: "CellQuestionDropdown",
|
|
3530
3540
|
props: {
|
|
3531
3541
|
componentName: {},
|
|
@@ -3542,10 +3552,10 @@ const It = /* @__PURE__ */ g({
|
|
|
3542
3552
|
data: e.value.getItemValueWrapperComponentData(r)
|
|
3543
3553
|
}
|
|
3544
3554
|
});
|
|
3545
|
-
return f(() => e.value), (r, d) => (l(), i("div",
|
|
3546
|
-
a("div",
|
|
3555
|
+
return f(() => e.value), (r, d) => (l(), i("div", aa, [
|
|
3556
|
+
a("div", ia, [
|
|
3547
3557
|
v(s(u), V({ is: r.componentName }, r.componentData), null, 16, ["is"]),
|
|
3548
|
-
a("div",
|
|
3558
|
+
a("div", ra, [
|
|
3549
3559
|
(l(!0), i(w, null, R(e.value.visibleChoices, (m) => (l(), i("div", {
|
|
3550
3560
|
key: m.value,
|
|
3551
3561
|
class: "svc-question__dropdown-choice"
|
|
@@ -3558,18 +3568,18 @@ const It = /* @__PURE__ */ g({
|
|
|
3558
3568
|
])
|
|
3559
3569
|
]));
|
|
3560
3570
|
}
|
|
3561
|
-
}),
|
|
3571
|
+
}), ca = ["data-sv-drop-target-survey-element"], ua = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--left" }, null, -1), pa = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--right" }, null, -1), va = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--top" }, null, -1), ma = /* @__PURE__ */ a("div", { class: "svc-question__drop-indicator svc-question__drop-indicator--bottom" }, null, -1), _a = { class: "svc-widget__content" }, ga = {
|
|
3562
3572
|
key: 1,
|
|
3563
3573
|
class: "svc-panel__placeholder_frame"
|
|
3564
|
-
},
|
|
3574
|
+
}, ba = /* @__PURE__ */ a("div", {
|
|
3565
3575
|
class: "svc-panel__placeholder",
|
|
3566
3576
|
"data-bind": "text: placeholderText"
|
|
3567
|
-
}, null, -1),
|
|
3568
|
-
|
|
3569
|
-
],
|
|
3577
|
+
}, null, -1), ya = [
|
|
3578
|
+
ba
|
|
3579
|
+
], ha = { class: "svc-question__content-actions" }, Ca = {
|
|
3570
3580
|
key: 0,
|
|
3571
3581
|
class: "svc-panel__placeholder_frame"
|
|
3572
|
-
},
|
|
3582
|
+
}, qa = { class: "svc-panel__placeholder" }, $a = /* @__PURE__ */ g({
|
|
3573
3583
|
__name: "CustomWidget",
|
|
3574
3584
|
props: {
|
|
3575
3585
|
componentName: {},
|
|
@@ -3606,10 +3616,10 @@ const It = /* @__PURE__ */ g({
|
|
|
3606
3616
|
onClick: r[1] || (r[1] = (d) => s(o).select(s(o), d)),
|
|
3607
3617
|
"data-bind": "clickBubble: false"
|
|
3608
3618
|
}, [
|
|
3609
|
-
ca,
|
|
3610
3619
|
ua,
|
|
3611
3620
|
pa,
|
|
3612
3621
|
va,
|
|
3622
|
+
ma,
|
|
3613
3623
|
s(o).allowDragging ? (l(), i("div", {
|
|
3614
3624
|
key: 0,
|
|
3615
3625
|
class: "svc-question__drag-area",
|
|
@@ -3622,11 +3632,11 @@ const It = /* @__PURE__ */ g({
|
|
|
3622
3632
|
size: "auto"
|
|
3623
3633
|
})
|
|
3624
3634
|
], 32)) : p("", !0),
|
|
3625
|
-
a("div",
|
|
3635
|
+
a("div", _a, [
|
|
3626
3636
|
v(s(u), V({ is: n.componentName }, n.componentData), null, 16, ["is"])
|
|
3627
3637
|
]),
|
|
3628
|
-
s(o).isEmptyElement ? (l(), i("div",
|
|
3629
|
-
a("div",
|
|
3638
|
+
s(o).isEmptyElement ? (l(), i("div", ga, ya)) : p("", !0),
|
|
3639
|
+
a("div", ha, [
|
|
3630
3640
|
v(s(u), {
|
|
3631
3641
|
is: "sv-action-bar",
|
|
3632
3642
|
model: s(o).actionContainer,
|
|
@@ -3638,22 +3648,22 @@ const It = /* @__PURE__ */ g({
|
|
|
3638
3648
|
]) : p("", !0),
|
|
3639
3649
|
s(o).element.isInteractiveDesignElement ? p("", !0) : (l(), i(w, { key: 1 }, [
|
|
3640
3650
|
v(s(u), V({ is: n.componentName }, n.componentData), null, 16, ["is"]),
|
|
3641
|
-
s(o).isEmptyElement ? (l(), i("div",
|
|
3642
|
-
a("div",
|
|
3651
|
+
s(o).isEmptyElement ? (l(), i("div", Ca, [
|
|
3652
|
+
a("div", qa, k(s(o).placeholderText), 1)
|
|
3643
3653
|
])) : p("", !0)
|
|
3644
3654
|
], 64))
|
|
3645
|
-
], 42,
|
|
3655
|
+
], 42, ca)) : p("", !0);
|
|
3646
3656
|
}
|
|
3647
|
-
}),
|
|
3657
|
+
}), ka = { class: "svc-carry-forward-panel-wrapper" }, wa = { class: "svc-carry-forward-panel" }, fa = { class: "svc-carry-forward-panel__link" }, Ta = /* @__PURE__ */ g({
|
|
3648
3658
|
__name: "QuestionBanner",
|
|
3649
3659
|
props: {
|
|
3650
3660
|
model: {}
|
|
3651
3661
|
},
|
|
3652
3662
|
setup(c) {
|
|
3653
|
-
return (t, e) => (l(), i("div",
|
|
3654
|
-
a("div",
|
|
3663
|
+
return (t, e) => (l(), i("div", ka, [
|
|
3664
|
+
a("div", wa, [
|
|
3655
3665
|
a("span", null, k(t.model.text) + k(" "), 1),
|
|
3656
|
-
a("span",
|
|
3666
|
+
a("span", fa, [
|
|
3657
3667
|
v(s(u), {
|
|
3658
3668
|
is: "svc-action-button",
|
|
3659
3669
|
text: t.model.actionText,
|
|
@@ -3664,20 +3674,20 @@ const It = /* @__PURE__ */ g({
|
|
|
3664
3674
|
]));
|
|
3665
3675
|
}
|
|
3666
3676
|
});
|
|
3667
|
-
function
|
|
3677
|
+
function Da(c, t, e) {
|
|
3668
3678
|
c(t, e);
|
|
3669
3679
|
}
|
|
3670
3680
|
function ve(c) {
|
|
3671
|
-
const t =
|
|
3681
|
+
const t = Da.bind(
|
|
3672
3682
|
void 0,
|
|
3673
3683
|
c
|
|
3674
3684
|
);
|
|
3675
|
-
t("svc-tabbed-menu", Ze), t("svc-tabbed-menu-item-wrapper", Ye), t("svc-tabbed-menu-item",
|
|
3685
|
+
t("svc-tabbed-menu", Ze), t("svc-tabbed-menu-item-wrapper", Ye), t("svc-tabbed-menu-item", eo), t("svc-side-bar", no), t("svc-side-bar-default-header", ro), t("svc-side-bar-page", co), t("svc-tabs", go), t("svc-tab-control", ko), t("svc-tab-button", No), t("svc-property-grid-placeholder", Po), t("svc-side-bar-header", Fo), t("svc-side-bar-property-grid-header", Wo), t("svc-property-grid", _o), t("svc-object-selector", uo), t("svc-search", Ql), t("svc-scroll", W), t("svc-switcher", ls), t("svc-action-button", xo), t("svc-question-error", jo), t("survey-embeddedsurvey", Zs), t("sv-logic-operator", Js), t("survey-linkvalue", Xs), t("survey-color", mt), t("color-item", _t), t("sv-boolean-switch", Bt), t("survey-fileedit", Ct), t("survey-spinedit", wt), t("survey-textwithreset", le), t("survey-commentwithreset", le), t("survey-widget", Q), t("survey-simulator", rs), t("svc-tab-preview", ms), t("svc-complete-page", gs), t("survey-results", Ds), t("survey-results-table-row", Ms), t("json-error-item", Us), t("svc-tab-json-editor-textarea", zs), t("svc-tab-json-editor-ace", Es), t("svc-tab-translation", st), t("sd-translation-line-skeleton", it), t("svc-translate-from-action", rt), t("svc-tab-logic", Gs), t("svc-tab-theme", ut), t("svc-toolbox", Qt), t("svc-toolbox-list", nn), t("svc-toolbox-category", tn), t("svc-toolbox-tool", Wt), t("svc-toolbox-item", Xt), t("svc-toolbox-item-group", Yt), t(ze, Ft), t("svc-tab-designer", bn), t("svc-page-navigator", Wl), t("svc-page-navigator-item", oa), t("svc-page", Tn), t("svc-row", En), t("svc-add-new-question-btn", Nn), t("svc-add-question-type-selector", Sn), t("svc-question", ae), t("svc-rating-question", ae), t("svc-rating-question-content", Yn), t("svc-image-question", On), t("svc-image-question-adorner", Zn), t("svc-matrix-cell", el), t("svc-cell-question", tl), t("svc-cell-dropdown-question", da), t("svc-question-editor-content", El), t("svc-logo-image", Ll), t("svc-panel", yl), t("svc-item-value", kl), t("svc-image-item-value", Bl), t("svc-dropdown-question", la), t("svc-dropdown-question-adorner", na), t("svc-widget-question", $a), t("svc-question-banner", Ta);
|
|
3676
3686
|
}
|
|
3677
3687
|
ve(
|
|
3678
3688
|
(c, t) => re.Instance.registerComponent(c, t)
|
|
3679
3689
|
);
|
|
3680
|
-
const
|
|
3690
|
+
const Ba = {
|
|
3681
3691
|
install(c) {
|
|
3682
3692
|
c.component("SurveyCreatorComponent", Je), ve((t, e) => {
|
|
3683
3693
|
c.component(t, e), re.Instance.registerComponent(t, t);
|
|
@@ -3686,5 +3696,5 @@ const Ia = {
|
|
|
3686
3696
|
};
|
|
3687
3697
|
export {
|
|
3688
3698
|
Je as SurveyCreatorComponent,
|
|
3689
|
-
|
|
3699
|
+
Ba as surveyCreatorPlugin
|
|
3690
3700
|
};
|