survey-vue3-ui 1.9.122 → 1.9.124
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 +1 -1
- package/survey-vue3-ui.es.js +721 -680
- package/survey-vue3-ui.umd.js +1 -1
- package/types/App.vue.d.ts +1 -1
- package/types/BooleanCheckbox.vue.d.ts +1 -1
- package/types/BooleanRadio.vue.d.ts +1 -1
- package/types/BooleanRadioItem.vue.d.ts +1 -1
- package/types/BooleanSwitch.vue.d.ts +1 -1
- package/types/Checkbox.vue.d.ts +1 -1
- package/types/CheckboxItem.vue.d.ts +1 -1
- package/types/Comment.vue.d.ts +1 -1
- package/types/Composite.vue.d.ts +1 -1
- package/types/Custom.vue.d.ts +1 -1
- package/types/CustomWidget.vue.d.ts +1 -1
- package/types/Dropdown.vue.d.ts +1 -1
- package/types/DropdownSelect.vue.d.ts +1 -1
- package/types/Element.vue.d.ts +1 -1
- package/types/ElementHeader.vue.d.ts +1 -1
- package/types/Errors.vue.d.ts +1 -1
- package/types/Expression.vue.d.ts +1 -1
- package/types/File.vue.d.ts +1 -1
- package/types/FileCleanButton.vue.d.ts +1 -1
- package/types/FileVideo.vue.d.ts +1 -1
- package/types/Header.vue.d.ts +1 -1
- package/types/Html.vue.d.ts +1 -1
- package/types/Image.vue.d.ts +1 -1
- package/types/Imagepicker.vue.d.ts +1 -1
- package/types/ImagepickerItem.vue.d.ts +1 -1
- package/types/Logo.vue.d.ts +1 -1
- package/types/Matrix.vue.d.ts +1 -1
- package/types/MatrixCell.vue.d.ts +10 -6
- package/types/MatrixDropdown.vue.d.ts +1 -1
- package/types/MatrixDropdownCellComp.vue.d.ts +18 -0
- package/types/MatrixDynamic.vue.d.ts +1 -1
- package/types/MatrixHeaderRequired.vue.d.ts +1 -1
- package/types/MatrixTable.vue.d.ts +1 -1
- package/types/Multipletext.vue.d.ts +1 -1
- package/types/MultipletextItem.vue.d.ts +1 -1
- package/types/Notifier.vue.d.ts +1 -1
- package/types/Page.vue.d.ts +1 -1
- package/types/Panel.vue.d.ts +1 -1
- package/types/PanelDynamic.vue.d.ts +1 -1
- package/types/PanelDynamicProgress.vue.d.ts +1 -1
- package/types/PanelDynamicProgressV2.vue.d.ts +1 -1
- package/types/PopupSurvey.vue.d.ts +1 -1
- package/types/Question.vue.d.ts +1 -1
- package/types/QuestionComment.vue.d.ts +1 -1
- package/types/QuestionOther.vue.d.ts +1 -1
- package/types/Radiogroup.vue.d.ts +1 -1
- package/types/RadiogroupItem.vue.d.ts +1 -1
- package/types/Ranking.vue.d.ts +1 -1
- package/types/RankingItem.vue.d.ts +1 -1
- package/types/Rating.vue.d.ts +1 -1
- package/types/RatingDropdown.vue.d.ts +1 -1
- package/types/Row.vue.d.ts +1 -1
- package/types/SelectBase.vue.d.ts +1 -1
- package/types/Signaturepad.vue.d.ts +1 -1
- package/types/String.vue.d.ts +1 -1
- package/types/StringEditor.vue.d.ts +1 -1
- package/types/StringViewer.vue.d.ts +1 -1
- package/types/Survey.vue.d.ts +1 -1
- package/types/SvgBundle.vue.d.ts +1 -1
- package/types/Tagbox.vue.d.ts +1 -1
- package/types/TemplateRenderer.vue.d.ts +1 -1
- package/types/Text.vue.d.ts +1 -1
- package/types/TextInput.vue.d.ts +1 -1
- package/types/TimerPanel.vue.d.ts +1 -1
- package/types/base.d.ts +1 -0
- package/types/buttongroup/ButtonGroup.vue.d.ts +1 -1
- package/types/buttongroup/ButtonGroupItem.vue.d.ts +1 -1
- package/types/components/BrandInfo.vue.d.ts +1 -1
- package/types/components/CharacterCounter.vue.d.ts +1 -1
- package/types/components/Container.vue.d.ts +1 -1
- package/types/components/LoadingIndicator.vue.d.ts +1 -1
- package/types/components/Skeleton.vue.d.ts +1 -1
- package/types/components/action-bar/Action.vue.d.ts +1 -1
- package/types/components/action-bar/ActionBar.vue.d.ts +1 -1
- package/types/components/action-bar/ActionBarItem.vue.d.ts +1 -1
- package/types/components/action-bar/ActionBarItemDropdown.vue.d.ts +1 -1
- package/types/components/action-bar/ActionBarSeparator.vue.d.ts +1 -1
- package/types/components/dropdown/Dropdown.vue.d.ts +1 -1
- package/types/components/dropdown/OptionItem.vue.d.ts +1 -1
- package/types/components/file/FileChooseButton.vue.d.ts +1 -1
- package/types/components/file/FilePreview.vue.d.ts +1 -1
- package/types/components/header/Header.vue.d.ts +1 -1
- package/types/components/header/HeaderCell.vue.d.ts +1 -1
- package/types/components/header/HeaderMobile.vue.d.ts +1 -1
- package/types/components/list/List.vue.d.ts +1 -1
- package/types/components/list/ListItem.vue.d.ts +1 -1
- package/types/components/matrix-actions/detail-button/DetailButton.vue.d.ts +1 -1
- package/types/components/matrix-actions/drag-drop-icon/DragDropIcon.vue.d.ts +1 -1
- package/types/components/matrix-actions/remove-button/RemoveButton.vue.d.ts +1 -1
- package/types/components/paneldynamic-actions/PaneldynamicAddBtn.vue.d.ts +1 -1
- package/types/components/paneldynamic-actions/PaneldynamicNextBtn.vue.d.ts +1 -1
- package/types/components/paneldynamic-actions/PaneldynamicPrevBtn.vue.d.ts +1 -1
- package/types/components/paneldynamic-actions/PaneldynamicProgressText.vue.d.ts +1 -1
- package/types/components/paneldynamic-actions/PaneldynamicRemoveBtn.vue.d.ts +1 -1
- package/types/components/popup/Popup.vue.d.ts +1 -1
- package/types/components/popup/PopupContainer.vue.d.ts +1 -1
- package/types/components/popup/PopupModal.vue.d.ts +1 -1
- package/types/components/popup/PopupPointer.vue.d.ts +1 -1
- package/types/components/progress/Progress.vue.d.ts +1 -1
- package/types/components/progress/ProgressButtons.vue.d.ts +1 -1
- package/types/components/progress/ProgressToc.vue.d.ts +1 -1
- package/types/components/rating/RatingDropdownItem.vue.d.ts +1 -1
- package/types/components/rating/RatingItem.vue.d.ts +1 -1
- package/types/components/rating/RatingItemSmiley.vue.d.ts +1 -1
- package/types/components/rating/RatingItemStar.vue.d.ts +1 -1
- package/types/components/survey-actions/SurveyNavigationButton.vue.d.ts +1 -1
- package/types/components/svg-icon/SvgIcon.vue.d.ts +1 -1
- package/types/components/tagbox/Tagbox.vue.d.ts +1 -1
- package/types/components/tagbox/TagboxFilter.vue.d.ts +1 -1
- package/types/components/tagbox/TagboxItem.vue.d.ts +1 -1
- package/types/components/title/TitleActions.vue.d.ts +1 -1
- package/types/components/title/TitleContent.vue.d.ts +1 -1
- package/types/components/title/TitleElement.vue.d.ts +1 -1
- package/types/index.d.ts +1 -1
package/survey-vue3-ui.es.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { shallowReactive as
|
|
2
|
-
import { Base as
|
|
3
|
-
|
|
4
|
-
function
|
|
1
|
+
import { shallowReactive as be, watch as J, onBeforeUnmount as Q, onMounted as H, ref as _, shallowRef as z, watchEffect as ke, triggerRef as ne, unref as f, isRef as fe, defineComponent as h, computed as w, onUpdated as x, resolveComponent as p, openBlock as i, createElementBlock as u, normalizeClass as l, createVNode as C, createCommentVNode as d, Fragment as $, renderList as B, createBlock as q, resolveDynamicComponent as T, normalizeProps as F, mergeProps as W, withCtx as O, normalizeStyle as S, createElementVNode as c, onUnmounted as U, guardReactiveProps as oe, withDirectives as P, vShow as M, toDisplayString as R, vModelRadio as ee, vModelCheckbox as te, vModelSelect as Ie, vModelText as we, getCurrentInstance as ie, createStaticVNode as Se, resolveDirective as X, toRaw as Re, Teleport as Te, useSlots as $e, renderSlot as _e } from "vue";
|
|
2
|
+
import { Base as De, RendererFactory as se, DropdownListModel as Be, Helpers as Le, DropdownMultiSelectListModel as Ne, doKey2ClickUp as ge, createSvg as Pe, ActionDropdownViewModel as Ae, getActionDropdownButtonTarget as Me, createPopupViewModel as de, SurveyProgressModel as me, SurveyProgressButtonsModel as He, TOCModel as We, PopupSurveyModel as Ee, settings as j, createDialogOptions as Ve, createPopupModalViewModel as Oe, ButtonGroupItemModel as Fe, SvgRegistry as ze, SurveyModel as Ue, doKey2ClickDown as Ke, doKey2ClickBlur as je } from "survey-core";
|
|
3
|
+
De.createPropertiesHash = () => be({});
|
|
4
|
+
function Qe(r) {
|
|
5
5
|
return !r || r.__vueImplemented ? !1 : (r.createArrayCoreHandler = (s, o) => {
|
|
6
|
-
const e = [], n =
|
|
6
|
+
const e = [], n = z(e);
|
|
7
7
|
return e.onArrayChanged = () => {
|
|
8
|
-
|
|
8
|
+
ne(n);
|
|
9
9
|
}, s[o] = n, f(s[o]);
|
|
10
10
|
}, r.iteratePropertiesHash((s, o) => {
|
|
11
11
|
if (Array.isArray(s[o])) {
|
|
12
|
-
const e =
|
|
12
|
+
const e = z(s[o]);
|
|
13
13
|
s[o].onArrayChanged = () => {
|
|
14
|
-
|
|
14
|
+
ne(e);
|
|
15
15
|
}, s[o] = e;
|
|
16
16
|
}
|
|
17
17
|
}), r.getPropertyValueCoreHandler = (s, o) => f(s[o]), r.setPropertyValueCoreHandler = (s, o, e) => {
|
|
18
|
-
|
|
18
|
+
fe(s[o]) ? s[o].value = e : s[o] = e;
|
|
19
19
|
}, r.__vueImplemented = !0, !0);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function ce(r, s) {
|
|
22
22
|
!r || !s || (r.iteratePropertiesHash((o, e) => {
|
|
23
23
|
o[e] = f(o[e]), Array.isArray(o[e]) && (o[e].onArrayChanged = void 0);
|
|
24
24
|
}), delete r.__vueImplemented, r.createArrayCoreHandler = void 0, r.getPropertyValueCoreHandler = void 0, r.setPropertyValueCoreHandler = void 0);
|
|
25
25
|
}
|
|
26
26
|
function L(r, s, o) {
|
|
27
27
|
let e = !1;
|
|
28
|
-
const n =
|
|
28
|
+
const n = J(
|
|
29
29
|
r,
|
|
30
30
|
(t, a) => {
|
|
31
|
-
t && s && s(t, a), a && (
|
|
31
|
+
t && s && s(t, a), a && (ce(a, e), o && o(a)), e = Qe(t);
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
immediate: !0
|
|
35
35
|
}
|
|
36
36
|
);
|
|
37
|
-
|
|
37
|
+
Q(() => {
|
|
38
38
|
const t = r();
|
|
39
|
-
t && (
|
|
39
|
+
t && (ce(t, e), o && o(t), n());
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
function A(r, s, o, e) {
|
|
43
43
|
L(() => r.question, o, e), H(() => {
|
|
44
44
|
r.question && r.question.afterRenderQuestionElement(s.value);
|
|
45
|
-
}),
|
|
45
|
+
}), Q(() => {
|
|
46
46
|
r.question.beforeDestroyQuestionElement(s.value);
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function G(r) {
|
|
50
50
|
const s = _(), o = (n) => {
|
|
51
51
|
s.value = n.renderedHtml, n.onChanged = () => {
|
|
52
52
|
s.value = n.renderedHtml;
|
|
53
53
|
};
|
|
54
|
-
}, e =
|
|
54
|
+
}, e = J(
|
|
55
55
|
r,
|
|
56
56
|
(n, t) => {
|
|
57
57
|
t && (t.onChanged = () => {
|
|
@@ -59,14 +59,22 @@ function Q(r) {
|
|
|
59
59
|
},
|
|
60
60
|
{ immediate: !0 }
|
|
61
61
|
);
|
|
62
|
-
return
|
|
62
|
+
return Q(() => {
|
|
63
63
|
e();
|
|
64
64
|
}), s;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function re(r) {
|
|
67
67
|
return r.customWidget ? "survey-customwidget" : r.isDefaultRendering && r.isDefaultRendering() || r.isPanel ? "survey-" + r.getTemplate() : r.getComponentName();
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
function le(r) {
|
|
70
|
+
const s = z(), o = ke(() => {
|
|
71
|
+
s.value = r(), ne(s);
|
|
72
|
+
});
|
|
73
|
+
return Q(() => {
|
|
74
|
+
o();
|
|
75
|
+
}), s;
|
|
76
|
+
}
|
|
77
|
+
const Ge = /* @__PURE__ */ h({
|
|
70
78
|
__name: "Page",
|
|
71
79
|
props: {
|
|
72
80
|
survey: {},
|
|
@@ -76,42 +84,42 @@ const je = /* @__PURE__ */ h({
|
|
|
76
84
|
setup(r) {
|
|
77
85
|
const s = r, o = _(null);
|
|
78
86
|
L(() => s.page);
|
|
79
|
-
const e = w(() => s.page._showDescription)
|
|
87
|
+
const e = w(() => s.page._showDescription);
|
|
80
88
|
return H(() => {
|
|
81
89
|
s.survey && s.survey.afterRenderPage(o.value);
|
|
82
90
|
}), x(() => {
|
|
83
91
|
s.survey.afterRenderPage(o.value);
|
|
84
|
-
}), (
|
|
85
|
-
const
|
|
92
|
+
}), (n, t) => {
|
|
93
|
+
const a = p("survey-element-title"), y = p("survey-string"), m = p("survey-errors"), v = p("survey-row");
|
|
86
94
|
return i(), u("div", {
|
|
87
|
-
class: l(
|
|
95
|
+
class: l(n.page.cssRoot),
|
|
88
96
|
ref_key: "root",
|
|
89
97
|
ref: o
|
|
90
98
|
}, [
|
|
91
|
-
|
|
92
|
-
element:
|
|
93
|
-
css:
|
|
99
|
+
C(a, {
|
|
100
|
+
element: n.page,
|
|
101
|
+
css: n.css
|
|
94
102
|
}, null, 8, ["element", "css"]),
|
|
95
103
|
e.value ? (i(), u("div", {
|
|
96
104
|
key: 0,
|
|
97
|
-
class: l(
|
|
105
|
+
class: l(n.page.cssClasses.page.description)
|
|
98
106
|
}, [
|
|
99
|
-
|
|
100
|
-
locString:
|
|
107
|
+
C(y, {
|
|
108
|
+
locString: n.page.locDescription
|
|
101
109
|
}, null, 8, ["locString"])
|
|
102
110
|
], 2)) : d("", !0),
|
|
103
|
-
|
|
104
|
-
(i(!0), u($, null, B(n.
|
|
105
|
-
key:
|
|
111
|
+
C(m, { element: n.page }, null, 8, ["element"]),
|
|
112
|
+
(i(!0), u($, null, B(n.page.rows, (g, I) => (i(), q(T(n.page.getSurvey().getRowWrapperComponentName(g)), F(W({
|
|
113
|
+
key: n.page.id + "_" + I
|
|
106
114
|
}, {
|
|
107
|
-
componentData:
|
|
115
|
+
componentData: n.page.getSurvey().getRowWrapperComponentData(g)
|
|
108
116
|
})), {
|
|
109
|
-
default:
|
|
110
|
-
|
|
117
|
+
default: O(() => [
|
|
118
|
+
g.visible ? (i(), q(v, {
|
|
111
119
|
key: 0,
|
|
112
|
-
row:
|
|
113
|
-
survey:
|
|
114
|
-
css:
|
|
120
|
+
row: g,
|
|
121
|
+
survey: n.survey,
|
|
122
|
+
css: n.css
|
|
115
123
|
}, null, 8, ["row", "survey", "css"])) : d("", !0)
|
|
116
124
|
]),
|
|
117
125
|
_: 2
|
|
@@ -119,7 +127,7 @@ const je = /* @__PURE__ */ h({
|
|
|
119
127
|
], 2);
|
|
120
128
|
};
|
|
121
129
|
}
|
|
122
|
-
}),
|
|
130
|
+
}), Je = /* @__PURE__ */ h({
|
|
123
131
|
__name: "Header",
|
|
124
132
|
props: {
|
|
125
133
|
survey: {}
|
|
@@ -146,7 +154,7 @@ const je = /* @__PURE__ */ h({
|
|
|
146
154
|
class: l(e.survey.css.headerText),
|
|
147
155
|
style: S({ maxWidth: e.survey.titleMaxWidth })
|
|
148
156
|
}, [
|
|
149
|
-
|
|
157
|
+
C(t, {
|
|
150
158
|
element: e.survey,
|
|
151
159
|
css: e.survey.css
|
|
152
160
|
}, null, 8, ["element", "css"]),
|
|
@@ -154,7 +162,7 @@ const je = /* @__PURE__ */ h({
|
|
|
154
162
|
key: 0,
|
|
155
163
|
class: l(e.survey.css.description)
|
|
156
164
|
}, [
|
|
157
|
-
|
|
165
|
+
C(a, {
|
|
158
166
|
locString: e.survey.locDescription
|
|
159
167
|
}, null, 8, ["locString"])
|
|
160
168
|
], 2)) : d("", !0)
|
|
@@ -169,7 +177,7 @@ const je = /* @__PURE__ */ h({
|
|
|
169
177
|
], 2)) : d("", !0);
|
|
170
178
|
};
|
|
171
179
|
}
|
|
172
|
-
}),
|
|
180
|
+
}), Xe = /* @__PURE__ */ h({
|
|
173
181
|
__name: "Row",
|
|
174
182
|
props: {
|
|
175
183
|
row: {},
|
|
@@ -211,10 +219,10 @@ const je = /* @__PURE__ */ h({
|
|
|
211
219
|
], 2);
|
|
212
220
|
};
|
|
213
221
|
}
|
|
214
|
-
}),
|
|
222
|
+
}), Ye = ["id", "role", "aria-required", "aria-invalid", "aria-labelledby", "aria-expanded", "data-name"], Ze = {
|
|
215
223
|
inheritAttrs: !1
|
|
216
|
-
},
|
|
217
|
-
...
|
|
224
|
+
}, xe = /* @__PURE__ */ h({
|
|
225
|
+
...Ze,
|
|
218
226
|
__name: "Question",
|
|
219
227
|
props: {
|
|
220
228
|
survey: {},
|
|
@@ -222,104 +230,111 @@ const je = /* @__PURE__ */ h({
|
|
|
222
230
|
css: {}
|
|
223
231
|
},
|
|
224
232
|
setup(r) {
|
|
225
|
-
const s = r, o = _(null), e = w(() => s.element.showErrorOnTop), n = w(() => s.element.showErrorOnBottom), t = (
|
|
233
|
+
const s = r, o = _(null), e = w(() => s.element.showErrorOnTop), n = w(() => s.element.showErrorOnBottom), t = (b) => b.cssContent, a = () => s.element.getRootStyle();
|
|
226
234
|
L(() => s.element);
|
|
227
235
|
const y = () => {
|
|
228
236
|
o.value && s.element.afterRender(o.value);
|
|
229
|
-
}, m =
|
|
237
|
+
}, m = J(
|
|
230
238
|
() => o.value,
|
|
231
239
|
() => {
|
|
232
240
|
y();
|
|
233
241
|
}
|
|
234
|
-
), v = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), g = w(() => s.element.survey.getQuestionContentWrapperComponentName(s.element)
|
|
235
|
-
componentName: v.value,
|
|
242
|
+
), v = w(() => s.element.customWidget ? "survey-customwidget" : s.element.isDefaultRendering() ? "survey-" + s.element.getTemplate() : s.element.getComponentName()), g = w(() => s.element.survey.getQuestionContentWrapperComponentName(s.element)), I = w(() => ({
|
|
236
243
|
componentData: {
|
|
237
244
|
question: s.element,
|
|
238
245
|
data: s.element.survey.getElementWrapperComponentData(s.element)
|
|
239
246
|
}
|
|
240
247
|
}));
|
|
241
|
-
return
|
|
248
|
+
return U(() => {
|
|
242
249
|
m();
|
|
243
|
-
}), (
|
|
244
|
-
const k = p("survey-errors"), D = p("survey-element-header"), E = p("survey-string"),
|
|
250
|
+
}), (b, N) => {
|
|
251
|
+
const k = p("survey-errors"), D = p("survey-element-header"), E = p("survey-string"), V = p("survey-question-comment");
|
|
245
252
|
return i(), u("div", {
|
|
246
|
-
class: l(
|
|
253
|
+
class: l(b.element.getRootCss()),
|
|
247
254
|
style: S(a()),
|
|
248
255
|
ref_key: "root",
|
|
249
256
|
ref: o,
|
|
250
|
-
onFocusin: N[0] || (N[0] = (
|
|
251
|
-
id:
|
|
252
|
-
role:
|
|
253
|
-
"aria-required":
|
|
254
|
-
"aria-invalid":
|
|
255
|
-
"aria-labelledby":
|
|
256
|
-
"aria-expanded":
|
|
257
|
-
"data-name":
|
|
257
|
+
onFocusin: N[0] || (N[0] = (K) => b.element.focusIn()),
|
|
258
|
+
id: b.element.id,
|
|
259
|
+
role: b.element.ariaRole,
|
|
260
|
+
"aria-required": b.element.ariaRequired,
|
|
261
|
+
"aria-invalid": b.element.ariaInvalid,
|
|
262
|
+
"aria-labelledby": b.element.ariaLabelledBy,
|
|
263
|
+
"aria-expanded": b.element.ariaExpanded === null ? void 0 : b.element.ariaExpanded === "true",
|
|
264
|
+
"data-name": b.element.name
|
|
258
265
|
}, [
|
|
259
|
-
|
|
266
|
+
b.element.showErrorsAboveQuestion ? (i(), q(k, {
|
|
260
267
|
key: 0,
|
|
261
|
-
element:
|
|
268
|
+
element: b.element,
|
|
262
269
|
location: "top"
|
|
263
270
|
}, null, 8, ["element"])) : d("", !0),
|
|
264
|
-
|
|
271
|
+
b.element.hasTitleOnLeftTop ? (i(), q(D, {
|
|
265
272
|
key: 1,
|
|
266
|
-
element:
|
|
267
|
-
css:
|
|
273
|
+
element: b.element,
|
|
274
|
+
css: b.css
|
|
268
275
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
b(
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
276
|
+
(i(), q(T(g.value), F(oe(I.value)), {
|
|
277
|
+
default: O(() => [
|
|
278
|
+
P(c("div", {
|
|
279
|
+
class: l(t(b.element) || void 0),
|
|
280
|
+
role: "presentation"
|
|
281
|
+
}, [
|
|
282
|
+
e.value ? (i(), q(k, {
|
|
283
|
+
key: 0,
|
|
284
|
+
element: b.element,
|
|
285
|
+
location: "top"
|
|
286
|
+
}, null, 8, ["element"])) : d("", !0),
|
|
287
|
+
b.element.isCollapsed ? d("", !0) : (i(), q(T(v.value), {
|
|
288
|
+
key: 1,
|
|
289
|
+
question: b.element
|
|
290
|
+
}, null, 8, ["question"])),
|
|
291
|
+
b.element.hasComment ? (i(), u("div", {
|
|
292
|
+
key: 2,
|
|
293
|
+
class: l(b.element.getCommentAreaCss())
|
|
294
|
+
}, [
|
|
295
|
+
c("div", null, [
|
|
296
|
+
C(E, {
|
|
297
|
+
locString: b.element.locCommentText
|
|
298
|
+
}, null, 8, ["locString"])
|
|
299
|
+
]),
|
|
300
|
+
C(V, { question: b.element }, null, 8, ["question"])
|
|
301
|
+
], 2)) : d("", !0),
|
|
302
|
+
n.value ? (i(), q(k, {
|
|
303
|
+
key: 3,
|
|
304
|
+
element: b.element,
|
|
305
|
+
location: "bottom"
|
|
306
|
+
}, null, 8, ["element"])) : d("", !0),
|
|
307
|
+
b.element.hasDescriptionUnderInput ? (i(), u("div", {
|
|
308
|
+
key: 4,
|
|
309
|
+
class: l(b.element.cssClasses.descriptionUnderInput)
|
|
310
|
+
}, [
|
|
311
|
+
C(E, {
|
|
312
|
+
locString: b.element.locDescription
|
|
313
|
+
}, null, 8, ["locString"])
|
|
314
|
+
], 2)) : d("", !0)
|
|
315
|
+
], 2), [
|
|
316
|
+
[M, !b.element.isCollapsed]
|
|
317
|
+
])
|
|
318
|
+
]),
|
|
319
|
+
_: 1
|
|
320
|
+
}, 16)),
|
|
321
|
+
b.element.hasTitleOnBottom ? (i(), q(D, {
|
|
307
322
|
key: 2,
|
|
308
|
-
element:
|
|
309
|
-
css:
|
|
323
|
+
element: b.element,
|
|
324
|
+
css: b.css
|
|
310
325
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
311
|
-
|
|
326
|
+
b.element.showErrorsBelowQuestion ? (i(), q(k, {
|
|
312
327
|
key: 3,
|
|
313
|
-
element:
|
|
328
|
+
element: b.element,
|
|
314
329
|
location: "bottom"
|
|
315
330
|
}, null, 8, ["element"])) : d("", !0)
|
|
316
|
-
], 46,
|
|
331
|
+
], 46, Ye);
|
|
317
332
|
};
|
|
318
333
|
}
|
|
319
|
-
}),
|
|
334
|
+
}), es = ["id"], ss = ["id"], ns = {
|
|
320
335
|
inheritAttrs: !1
|
|
321
|
-
},
|
|
322
|
-
...
|
|
336
|
+
}, os = /* @__PURE__ */ h({
|
|
337
|
+
...ns,
|
|
323
338
|
inheritAttrs: !1,
|
|
324
339
|
__name: "Panel",
|
|
325
340
|
props: {
|
|
@@ -328,61 +343,61 @@ const je = /* @__PURE__ */ h({
|
|
|
328
343
|
css: {}
|
|
329
344
|
},
|
|
330
345
|
setup(r) {
|
|
331
|
-
const s = r, o = _(null), e = w(() => s.element.
|
|
346
|
+
const s = r, o = _(null), e = w(() => s.element.survey);
|
|
332
347
|
return L(() => s.element), H(() => {
|
|
333
348
|
s.element.survey && s.element.survey.afterRenderPanel(s.element, o.value);
|
|
334
|
-
}), (
|
|
335
|
-
const
|
|
336
|
-
return
|
|
349
|
+
}), (n, t) => {
|
|
350
|
+
const a = p("survey-errors"), y = p("survey-element-header"), m = p("survey-row"), v = p("sv-action-bar");
|
|
351
|
+
return n.element.isVisible ? (i(), u("div", {
|
|
337
352
|
key: 0,
|
|
338
|
-
class: l(
|
|
339
|
-
id:
|
|
340
|
-
onFocusin:
|
|
353
|
+
class: l(n.element.getContainerCss()),
|
|
354
|
+
id: n.element.id,
|
|
355
|
+
onFocusin: t[0] || (t[0] = (g) => n.element.focusIn()),
|
|
341
356
|
ref_key: "root",
|
|
342
357
|
ref: o
|
|
343
358
|
}, [
|
|
344
|
-
|
|
359
|
+
n.element.showErrorsAbovePanel ? (i(), q(a, {
|
|
345
360
|
key: 0,
|
|
346
|
-
element:
|
|
361
|
+
element: n.element
|
|
347
362
|
}, null, 8, ["element"])) : d("", !0),
|
|
348
|
-
|
|
363
|
+
n.element.hasTitle || n.element.hasDescription ? (i(), q(y, {
|
|
349
364
|
key: 1,
|
|
350
|
-
element:
|
|
351
|
-
css:
|
|
365
|
+
element: n.element,
|
|
366
|
+
css: n.css
|
|
352
367
|
}, null, 8, ["element", "css"])) : d("", !0),
|
|
353
|
-
|
|
368
|
+
n.element.showErrorsAbovePanel ? d("", !0) : (i(), q(a, {
|
|
354
369
|
key: 2,
|
|
355
|
-
element:
|
|
370
|
+
element: n.element
|
|
356
371
|
}, null, 8, ["element"])),
|
|
357
|
-
|
|
372
|
+
n.element.isCollapsed ? d("", !0) : (i(), u("div", {
|
|
358
373
|
key: 3,
|
|
359
|
-
id:
|
|
360
|
-
style: S({ paddingLeft:
|
|
361
|
-
class: l(
|
|
374
|
+
id: n.element.contentId,
|
|
375
|
+
style: S({ paddingLeft: n.element.innerPaddingLeft }),
|
|
376
|
+
class: l(n.element.cssClasses.panel.content)
|
|
362
377
|
}, [
|
|
363
|
-
(i(!0), u($, null, B(
|
|
364
|
-
key:
|
|
378
|
+
(i(!0), u($, null, B(n.element.rows, (g, I) => (i(), q(T(n.element.getSurvey().getRowWrapperComponentName(g)), F(W({
|
|
379
|
+
key: n.element.id + "_" + I
|
|
365
380
|
}, {
|
|
366
|
-
componentData:
|
|
381
|
+
componentData: n.element.getSurvey().getRowWrapperComponentData(g)
|
|
367
382
|
})), {
|
|
368
|
-
default:
|
|
369
|
-
|
|
383
|
+
default: O(() => [
|
|
384
|
+
g.visible ? (i(), q(m, {
|
|
370
385
|
key: 0,
|
|
371
|
-
row:
|
|
372
|
-
survey:
|
|
373
|
-
css:
|
|
386
|
+
row: g,
|
|
387
|
+
survey: e.value,
|
|
388
|
+
css: n.css
|
|
374
389
|
}, null, 8, ["row", "survey", "css"])) : d("", !0)
|
|
375
390
|
]),
|
|
376
391
|
_: 2
|
|
377
392
|
}, 1040))), 128)),
|
|
378
|
-
|
|
379
|
-
model:
|
|
393
|
+
C(v, {
|
|
394
|
+
model: n.element.getFooterToolbar()
|
|
380
395
|
}, null, 8, ["model"])
|
|
381
|
-
], 14,
|
|
382
|
-
], 42,
|
|
396
|
+
], 14, ss))
|
|
397
|
+
], 42, es)) : d("", !0);
|
|
383
398
|
};
|
|
384
399
|
}
|
|
385
|
-
}),
|
|
400
|
+
}), ts = /* @__PURE__ */ h({
|
|
386
401
|
__name: "ElementHeader",
|
|
387
402
|
props: {
|
|
388
403
|
element: {},
|
|
@@ -398,7 +413,7 @@ const je = /* @__PURE__ */ h({
|
|
|
398
413
|
class: l(e.element.cssHeader),
|
|
399
414
|
onClick: o
|
|
400
415
|
}, [
|
|
401
|
-
|
|
416
|
+
C(t, {
|
|
402
417
|
element: e.element,
|
|
403
418
|
css: e.css
|
|
404
419
|
}, null, 8, ["element", "css"]),
|
|
@@ -406,7 +421,7 @@ const je = /* @__PURE__ */ h({
|
|
|
406
421
|
key: 0,
|
|
407
422
|
class: l(e.element.cssDescription)
|
|
408
423
|
}, [
|
|
409
|
-
|
|
424
|
+
C(a, {
|
|
410
425
|
locString: e.element.locDescription
|
|
411
426
|
}, null, 8, ["locString"])
|
|
412
427
|
], 2)), [
|
|
@@ -419,7 +434,7 @@ const je = /* @__PURE__ */ h({
|
|
|
419
434
|
], 2);
|
|
420
435
|
};
|
|
421
436
|
}
|
|
422
|
-
}),
|
|
437
|
+
}), is = /* @__PURE__ */ h({
|
|
423
438
|
__name: "String",
|
|
424
439
|
props: {
|
|
425
440
|
locString: {}
|
|
@@ -429,23 +444,23 @@ const je = /* @__PURE__ */ h({
|
|
|
429
444
|
locString: s.locString.renderAsData
|
|
430
445
|
}, null, 8, ["locString"]));
|
|
431
446
|
}
|
|
432
|
-
}),
|
|
447
|
+
}), rs = ["innerHTML"], ls = {
|
|
433
448
|
key: 1,
|
|
434
449
|
class: "sv-string-viewer"
|
|
435
|
-
},
|
|
450
|
+
}, as = /* @__PURE__ */ h({
|
|
436
451
|
__name: "StringViewer",
|
|
437
452
|
props: {
|
|
438
453
|
locString: {}
|
|
439
454
|
},
|
|
440
455
|
setup(r) {
|
|
441
|
-
const s = r, o =
|
|
456
|
+
const s = r, o = G(() => s.locString);
|
|
442
457
|
return (e, n) => e.locString.hasHtml ? (i(), u("span", {
|
|
443
458
|
key: 0,
|
|
444
459
|
class: "sv-string-viewer",
|
|
445
460
|
innerHTML: f(o)
|
|
446
|
-
}, null, 8,
|
|
461
|
+
}, null, 8, rs)) : (i(), u("span", ls, R(f(o)), 1));
|
|
447
462
|
}
|
|
448
|
-
}),
|
|
463
|
+
}), us = ["innerHTML"], ds = /* @__PURE__ */ h({
|
|
449
464
|
__name: "StringEditor",
|
|
450
465
|
props: {
|
|
451
466
|
locString: {}
|
|
@@ -464,7 +479,7 @@ const je = /* @__PURE__ */ h({
|
|
|
464
479
|
innerHTML: n.locString.renderedHtml,
|
|
465
480
|
onBlur: o,
|
|
466
481
|
onClick: e
|
|
467
|
-
}, null, 40,
|
|
482
|
+
}, null, 40, us)) : (i(), u("span", {
|
|
468
483
|
key: 1,
|
|
469
484
|
class: "sv-string-editor",
|
|
470
485
|
contenteditable: "true",
|
|
@@ -472,7 +487,7 @@ const je = /* @__PURE__ */ h({
|
|
|
472
487
|
onClick: e
|
|
473
488
|
}, R(n.locString.renderedHtml), 33));
|
|
474
489
|
}
|
|
475
|
-
}),
|
|
490
|
+
}), ms = ["id"], cs = /* @__PURE__ */ h({
|
|
476
491
|
__name: "Skeleton",
|
|
477
492
|
props: {
|
|
478
493
|
element: {}
|
|
@@ -482,9 +497,9 @@ const je = /* @__PURE__ */ h({
|
|
|
482
497
|
return L(() => s.element), (o, e) => (i(), u("div", {
|
|
483
498
|
class: "sv-skeleton-element",
|
|
484
499
|
id: o.element.id
|
|
485
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, ms));
|
|
486
501
|
}
|
|
487
|
-
}),
|
|
502
|
+
}), ps = ["id"], vs = ["value"], ys = /* @__PURE__ */ h({
|
|
488
503
|
inheritAttrs: !1,
|
|
489
504
|
__name: "Text",
|
|
490
505
|
props: {
|
|
@@ -503,12 +518,12 @@ const je = /* @__PURE__ */ h({
|
|
|
503
518
|
ref_key: "root",
|
|
504
519
|
ref: o
|
|
505
520
|
}, [
|
|
506
|
-
|
|
521
|
+
C(t, { question: e.question }, null, 8, ["question"]),
|
|
507
522
|
c("datalist", {
|
|
508
523
|
id: e.question.dataListId
|
|
509
524
|
}, [
|
|
510
|
-
(i(!0), u($, null, B(e.question.dataList, (a) => (i(), u("option", { value: a }, null, 8,
|
|
511
|
-
], 8,
|
|
525
|
+
(i(!0), u($, null, B(e.question.dataList, (a) => (i(), u("option", { value: a }, null, 8, vs))), 256))
|
|
526
|
+
], 8, ps)
|
|
512
527
|
], 512)) : (i(), q(t, {
|
|
513
528
|
key: 2,
|
|
514
529
|
question: e.question,
|
|
@@ -517,7 +532,7 @@ const je = /* @__PURE__ */ h({
|
|
|
517
532
|
}, null, 8, ["question"]));
|
|
518
533
|
};
|
|
519
534
|
}
|
|
520
|
-
}),
|
|
535
|
+
}), qs = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], gs = { key: 1 }, hs = ["disabled", "type", "maxlength", "min", "max", "step", "size", "id", "list", "placeholder", "autocomplete", "value", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], Cs = /* @__PURE__ */ h({
|
|
521
536
|
__name: "TextInput",
|
|
522
537
|
props: {
|
|
523
538
|
question: {}
|
|
@@ -528,7 +543,7 @@ const je = /* @__PURE__ */ h({
|
|
|
528
543
|
const o = w(() => s.question.inputStyle);
|
|
529
544
|
return (e, n) => {
|
|
530
545
|
const t = p("sv-character-counter");
|
|
531
|
-
return e.question.getMaxLength() ? (i(), u("div",
|
|
546
|
+
return e.question.getMaxLength() ? (i(), u("div", gs, [
|
|
532
547
|
c("input", {
|
|
533
548
|
disabled: e.question.isInputReadOnly,
|
|
534
549
|
class: l(e.question.getControlClass()),
|
|
@@ -555,8 +570,8 @@ const je = /* @__PURE__ */ h({
|
|
|
555
570
|
"aria-labelledby": e.question.a11y_input_ariaLabelledBy,
|
|
556
571
|
"aria-invalid": e.question.a11y_input_ariaInvalid,
|
|
557
572
|
"aria-describedby": e.question.a11y_input_ariaDescribedBy
|
|
558
|
-
}, null, 46,
|
|
559
|
-
|
|
573
|
+
}, null, 46, hs),
|
|
574
|
+
C(t, {
|
|
560
575
|
counter: e.question.characterCounter,
|
|
561
576
|
remainingCharacterCounter: e.question.cssClasses.remainingCharacterCounter
|
|
562
577
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
@@ -587,13 +602,13 @@ const je = /* @__PURE__ */ h({
|
|
|
587
602
|
"aria-labelledby": e.question.a11y_input_ariaLabelledBy,
|
|
588
603
|
"aria-invalid": e.question.a11y_input_ariaInvalid,
|
|
589
604
|
"aria-describedby": e.question.a11y_input_ariaDescribedBy
|
|
590
|
-
}, null, 46,
|
|
605
|
+
}, null, 46, qs));
|
|
591
606
|
};
|
|
592
607
|
}
|
|
593
|
-
}),
|
|
608
|
+
}), bs = ["role", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], ks = {
|
|
594
609
|
key: 0,
|
|
595
610
|
class: "sv-hidden"
|
|
596
|
-
},
|
|
611
|
+
}, fs = { key: 7 }, Is = ["value"], he = /* @__PURE__ */ h({
|
|
597
612
|
inheritAttrs: !1,
|
|
598
613
|
__name: "SelectBase",
|
|
599
614
|
props: {
|
|
@@ -624,7 +639,7 @@ const je = /* @__PURE__ */ h({
|
|
|
624
639
|
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
625
640
|
"aria-describedby": t.question.a11y_input_ariaDescribedBy
|
|
626
641
|
}, [
|
|
627
|
-
t.showLegend ? (i(), u("legend",
|
|
642
|
+
t.showLegend ? (i(), u("legend", ks, R(t.question.locTitle.renderedHtml), 1)) : d("", !0),
|
|
628
643
|
t.question.hasHeadItems ? (i(!0), u($, { key: 1 }, B(t.question.headItems, (m) => (i(), q(T(e(m)), W({
|
|
629
644
|
key: m.value
|
|
630
645
|
}, n(m)), null, 16))), 128)) : d("", !0),
|
|
@@ -660,7 +675,7 @@ const je = /* @__PURE__ */ h({
|
|
|
660
675
|
key: 6,
|
|
661
676
|
question: t.question
|
|
662
677
|
}, null, 8, ["question"])) : d("", !0),
|
|
663
|
-
t.question.showClearButtonInContent ? (i(), u("div",
|
|
678
|
+
t.question.showClearButtonInContent ? (i(), u("div", fs, [
|
|
664
679
|
c("input", {
|
|
665
680
|
type: "button",
|
|
666
681
|
class: l(t.question.cssClasses.clearButton),
|
|
@@ -668,24 +683,24 @@ const je = /* @__PURE__ */ h({
|
|
|
668
683
|
t.question.clearValue();
|
|
669
684
|
}),
|
|
670
685
|
value: t.question.clearButtonCaption
|
|
671
|
-
}, null, 10,
|
|
686
|
+
}, null, 10, Is)
|
|
672
687
|
])) : d("", !0)
|
|
673
|
-
], 10,
|
|
688
|
+
], 10, bs);
|
|
674
689
|
};
|
|
675
690
|
}
|
|
676
|
-
}),
|
|
691
|
+
}), ws = /* @__PURE__ */ h({
|
|
677
692
|
inheritAttrs: !1,
|
|
678
693
|
__name: "Checkbox",
|
|
679
694
|
props: {
|
|
680
695
|
question: {}
|
|
681
696
|
},
|
|
682
697
|
setup(r) {
|
|
683
|
-
return (s, o) => (i(), q(
|
|
698
|
+
return (s, o) => (i(), q(he, {
|
|
684
699
|
question: s.question,
|
|
685
700
|
"show-legend": !0
|
|
686
701
|
}, null, 8, ["question"]));
|
|
687
702
|
}
|
|
688
|
-
}),
|
|
703
|
+
}), Ss = ["name", "checked", "value", "id", "disabled"], Rs = ["xlink:href"], Ts = /* @__PURE__ */ h({
|
|
689
704
|
inheritAttrs: !1,
|
|
690
705
|
__name: "CheckboxItem",
|
|
691
706
|
props: {
|
|
@@ -720,7 +735,7 @@ const je = /* @__PURE__ */ h({
|
|
|
720
735
|
id: e.question.getItemId(e.item),
|
|
721
736
|
disabled: !e.question.getItemEnabled(e.item),
|
|
722
737
|
class: l(e.question.cssClasses.itemControl)
|
|
723
|
-
}, null, 42,
|
|
738
|
+
}, null, 42, Ss),
|
|
724
739
|
e.question.cssClasses.materialDecorator ? (i(), u("span", {
|
|
725
740
|
key: 0,
|
|
726
741
|
class: l(e.question.cssClasses.materialDecorator)
|
|
@@ -731,14 +746,14 @@ const je = /* @__PURE__ */ h({
|
|
|
731
746
|
}, [
|
|
732
747
|
c("use", {
|
|
733
748
|
"xlink:href": e.question.itemSvgIcon
|
|
734
|
-
}, null, 8,
|
|
749
|
+
}, null, 8, Rs)
|
|
735
750
|
], 2)) : d("", !0)
|
|
736
751
|
], 2)) : d("", !0),
|
|
737
752
|
e.hideLabel ? d("", !0) : (i(), u("span", {
|
|
738
753
|
key: 1,
|
|
739
754
|
class: l(e.question.cssClasses.controlLabel)
|
|
740
755
|
}, [
|
|
741
|
-
|
|
756
|
+
C(t, {
|
|
742
757
|
locString: e.item.locText
|
|
743
758
|
}, null, 8, ["locString"])
|
|
744
759
|
], 2))
|
|
@@ -746,16 +761,16 @@ const je = /* @__PURE__ */ h({
|
|
|
746
761
|
], 2);
|
|
747
762
|
};
|
|
748
763
|
}
|
|
749
|
-
}),
|
|
764
|
+
}), $s = /* @__PURE__ */ h({
|
|
750
765
|
inheritAttrs: !1,
|
|
751
766
|
__name: "Radiogroup",
|
|
752
767
|
props: {
|
|
753
768
|
question: {}
|
|
754
769
|
},
|
|
755
770
|
setup(r) {
|
|
756
|
-
return (s, o) => (i(), q(
|
|
771
|
+
return (s, o) => (i(), q(he, { question: s.question }, null, 8, ["question"]));
|
|
757
772
|
}
|
|
758
|
-
}),
|
|
773
|
+
}), _s = ["name", "value", "id", "aria-describedby", "disabled"], Ds = ["xlink:href"], Bs = /* @__PURE__ */ h({
|
|
759
774
|
inheritAttrs: !1,
|
|
760
775
|
__name: "RadiogroupItem",
|
|
761
776
|
props: {
|
|
@@ -790,7 +805,7 @@ const je = /* @__PURE__ */ h({
|
|
|
790
805
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => n.value = m),
|
|
791
806
|
disabled: !t.question.getItemEnabled(t.item),
|
|
792
807
|
class: l(t.question.cssClasses.itemControl)
|
|
793
|
-
}, null, 10,
|
|
808
|
+
}, null, 10, _s), [
|
|
794
809
|
[ee, n.value]
|
|
795
810
|
]),
|
|
796
811
|
t.question.cssClasses.materialDecorator ? (i(), u("span", {
|
|
@@ -803,14 +818,14 @@ const je = /* @__PURE__ */ h({
|
|
|
803
818
|
}, [
|
|
804
819
|
c("use", {
|
|
805
820
|
"xlink:href": t.question.itemSvgIcon
|
|
806
|
-
}, null, 8,
|
|
821
|
+
}, null, 8, Ds)
|
|
807
822
|
], 2)) : d("", !0)
|
|
808
823
|
], 2)) : d("", !0),
|
|
809
824
|
t.hideLabel ? d("", !0) : (i(), u("span", {
|
|
810
825
|
key: 1,
|
|
811
826
|
class: l(e(t.item))
|
|
812
827
|
}, [
|
|
813
|
-
|
|
828
|
+
C(y, {
|
|
814
829
|
locString: t.item.locText
|
|
815
830
|
}, null, 8, ["locString"])
|
|
816
831
|
], 2))
|
|
@@ -818,7 +833,7 @@ const je = /* @__PURE__ */ h({
|
|
|
818
833
|
], 2);
|
|
819
834
|
};
|
|
820
835
|
}
|
|
821
|
-
}),
|
|
836
|
+
}), Ls = ["src"], Ns = ["title"], Ps = { key: 0 }, As = /* @__PURE__ */ h({
|
|
822
837
|
inheritAttrs: !1,
|
|
823
838
|
__name: "Signaturepad",
|
|
824
839
|
props: {
|
|
@@ -839,7 +854,7 @@ const je = /* @__PURE__ */ h({
|
|
|
839
854
|
P(c("div", {
|
|
840
855
|
class: l(e.question.cssClasses.placeholder)
|
|
841
856
|
}, [
|
|
842
|
-
|
|
857
|
+
C(t, {
|
|
843
858
|
locString: e.question.locPlaceholder
|
|
844
859
|
}, null, 8, ["locString"])
|
|
845
860
|
], 2), [
|
|
@@ -853,7 +868,7 @@ const je = /* @__PURE__ */ h({
|
|
|
853
868
|
style: S({
|
|
854
869
|
width: e.question.renderedCanvasWidth
|
|
855
870
|
})
|
|
856
|
-
}, null, 14,
|
|
871
|
+
}, null, 14, Ls)) : d("", !0),
|
|
857
872
|
c("canvas", {
|
|
858
873
|
tabindex: "0",
|
|
859
874
|
class: l(e.question.cssClasses.canvas),
|
|
@@ -872,24 +887,24 @@ const je = /* @__PURE__ */ h({
|
|
|
872
887
|
e.question.clearValue();
|
|
873
888
|
})
|
|
874
889
|
}, [
|
|
875
|
-
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span",
|
|
890
|
+
e.question.cssClasses.clearButtonIconId ? d("", !0) : (i(), u("span", Ps, "\u2716")),
|
|
876
891
|
e.question.cssClasses.clearButtonIconId ? (i(), q(a, {
|
|
877
892
|
key: 1,
|
|
878
893
|
iconName: e.question.cssClasses.clearButtonIconId,
|
|
879
894
|
size: "auto"
|
|
880
895
|
}, null, 8, ["iconName"])) : d("", !0)
|
|
881
|
-
], 10,
|
|
896
|
+
], 10, Ns)
|
|
882
897
|
], 2)) : d("", !0),
|
|
883
898
|
e.question.showLoadingIndicator ? (i(), u("div", {
|
|
884
899
|
key: 1,
|
|
885
900
|
class: l(e.question.cssClasses.loadingIndicator)
|
|
886
901
|
}, [
|
|
887
|
-
|
|
902
|
+
C(y)
|
|
888
903
|
], 2)) : d("", !0)
|
|
889
904
|
], 6);
|
|
890
905
|
};
|
|
891
906
|
}
|
|
892
|
-
}),
|
|
907
|
+
}), Ms = ["innerHTML"], Hs = /* @__PURE__ */ h({
|
|
893
908
|
inheritAttrs: !1,
|
|
894
909
|
__name: "Html",
|
|
895
910
|
props: {
|
|
@@ -898,15 +913,15 @@ const je = /* @__PURE__ */ h({
|
|
|
898
913
|
setup(r) {
|
|
899
914
|
const s = r, o = _(null);
|
|
900
915
|
A(s, o);
|
|
901
|
-
const e =
|
|
916
|
+
const e = G(() => s.question.locHtml);
|
|
902
917
|
return (n, t) => (i(), u("div", {
|
|
903
918
|
ref_key: "root",
|
|
904
919
|
ref: o,
|
|
905
920
|
class: l(n.question.renderCssRoot),
|
|
906
921
|
innerHTML: f(e)
|
|
907
|
-
}, null, 10,
|
|
922
|
+
}, null, 10, Ms));
|
|
908
923
|
}
|
|
909
|
-
}),
|
|
924
|
+
}), Ws = ["src", "alt", "width", "height"], Es = ["src", "width", "height"], Vs = ["src", "width", "height"], Os = /* @__PURE__ */ h({
|
|
910
925
|
inheritAttrs: !1,
|
|
911
926
|
__name: "Image",
|
|
912
927
|
props: {
|
|
@@ -915,7 +930,7 @@ const je = /* @__PURE__ */ h({
|
|
|
915
930
|
setup(r) {
|
|
916
931
|
const s = r, o = _(null);
|
|
917
932
|
A(s, o);
|
|
918
|
-
const e =
|
|
933
|
+
const e = G(() => s.question.locImageLink);
|
|
919
934
|
return (n, t) => {
|
|
920
935
|
const a = p("sv-svg-icon");
|
|
921
936
|
return i(), u("div", {
|
|
@@ -941,7 +956,7 @@ const je = /* @__PURE__ */ h({
|
|
|
941
956
|
onError: t[1] || (t[1] = (y) => {
|
|
942
957
|
n.question.onErrorHandler();
|
|
943
958
|
})
|
|
944
|
-
}, null, 46,
|
|
959
|
+
}, null, 46, Ws)), [
|
|
945
960
|
[M, f(e) && !n.question.contentNotLoaded]
|
|
946
961
|
]) : d("", !0),
|
|
947
962
|
n.question.renderedMode === "video" ? P((i(), u("video", {
|
|
@@ -962,7 +977,7 @@ const je = /* @__PURE__ */ h({
|
|
|
962
977
|
onError: t[3] || (t[3] = (y) => {
|
|
963
978
|
n.question.onErrorHandler();
|
|
964
979
|
})
|
|
965
|
-
}, null, 46,
|
|
980
|
+
}, null, 46, Es)), [
|
|
966
981
|
[M, f(e) && !n.question.contentNotLoaded]
|
|
967
982
|
]) : d("", !0),
|
|
968
983
|
n.question.renderedMode === "youtube" ? (i(), u("iframe", {
|
|
@@ -976,12 +991,12 @@ const je = /* @__PURE__ */ h({
|
|
|
976
991
|
width: n.question.renderedStyleWidth,
|
|
977
992
|
height: n.question.renderedStyleHeight
|
|
978
993
|
})
|
|
979
|
-
}, null, 14,
|
|
994
|
+
}, null, 14, Vs)) : d("", !0),
|
|
980
995
|
!f(e) || n.question.contentNotLoaded ? (i(), u("div", {
|
|
981
996
|
key: 3,
|
|
982
997
|
class: l(n.question.cssClasses.noImage)
|
|
983
998
|
}, [
|
|
984
|
-
|
|
999
|
+
C(a, {
|
|
985
1000
|
iconName: n.question.cssClasses.noImageSvgIconId,
|
|
986
1001
|
size: 48
|
|
987
1002
|
}, null, 8, ["iconName"])
|
|
@@ -989,7 +1004,7 @@ const je = /* @__PURE__ */ h({
|
|
|
989
1004
|
], 2);
|
|
990
1005
|
};
|
|
991
1006
|
}
|
|
992
|
-
}),
|
|
1007
|
+
}), Fs = /* @__PURE__ */ h({
|
|
993
1008
|
inheritAttrs: !1,
|
|
994
1009
|
__name: "Expression",
|
|
995
1010
|
props: {
|
|
@@ -1003,7 +1018,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1003
1018
|
ref: o
|
|
1004
1019
|
}, R(e.question.formatedValue), 3));
|
|
1005
1020
|
}
|
|
1006
|
-
}),
|
|
1021
|
+
}), zs = ["id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "multiple", "title", "accept", "capture"], Us = ["id", "multiple", "placeholder"], Ks = /* @__PURE__ */ h({
|
|
1007
1022
|
inheritAttrs: !1,
|
|
1008
1023
|
__name: "File",
|
|
1009
1024
|
props: {
|
|
@@ -1024,7 +1039,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1024
1039
|
tabindex: "-1",
|
|
1025
1040
|
type: "file",
|
|
1026
1041
|
id: e.question.inputId,
|
|
1027
|
-
onChange: n[0] || (n[0] = (...
|
|
1042
|
+
onChange: n[0] || (n[0] = (...b) => e.question.doChange && e.question.doChange(...b)),
|
|
1028
1043
|
"aria-required": e.question.ariaRequired,
|
|
1029
1044
|
"aria-label": e.question.ariaLabel,
|
|
1030
1045
|
"aria-invalid": e.question.ariaInvalid,
|
|
@@ -1033,7 +1048,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1033
1048
|
title: e.question.inputTitle,
|
|
1034
1049
|
accept: e.question.acceptedTypes,
|
|
1035
1050
|
capture: e.question.renderCapture
|
|
1036
|
-
}, null, 42,
|
|
1051
|
+
}, null, 42, zs)) : d("", !0),
|
|
1037
1052
|
e.question.isReadOnly ? (i(), u("input", {
|
|
1038
1053
|
key: 1,
|
|
1039
1054
|
type: "file",
|
|
@@ -1043,13 +1058,13 @@ const je = /* @__PURE__ */ h({
|
|
|
1043
1058
|
multiple: e.question.allowMultiple,
|
|
1044
1059
|
placeholder: e.question.title,
|
|
1045
1060
|
style: { color: "transparent" }
|
|
1046
|
-
}, null, 10,
|
|
1061
|
+
}, null, 10, Us)) : d("", !0),
|
|
1047
1062
|
c("div", {
|
|
1048
1063
|
class: l(e.question.cssClasses.dragArea),
|
|
1049
|
-
onDrop: n[1] || (n[1] = (...
|
|
1050
|
-
onDragover: n[2] || (n[2] = (...
|
|
1051
|
-
onDragleave: n[3] || (n[3] = (...
|
|
1052
|
-
onDragenter: n[4] || (n[4] = (...
|
|
1064
|
+
onDrop: n[1] || (n[1] = (...b) => e.question.onDrop && e.question.onDrop(...b)),
|
|
1065
|
+
onDragover: n[2] || (n[2] = (...b) => e.question.onDragOver && e.question.onDragOver(...b)),
|
|
1066
|
+
onDragleave: n[3] || (n[3] = (...b) => e.question.onDragLeave && e.question.onDragLeave(...b)),
|
|
1067
|
+
onDragenter: n[4] || (n[4] = (...b) => e.question.onDragEnter && e.question.onDragEnter(...b))
|
|
1053
1068
|
}, [
|
|
1054
1069
|
e.question.showFileDecorator ? (i(), u("div", {
|
|
1055
1070
|
key: 0,
|
|
@@ -1058,7 +1073,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1058
1073
|
c("span", {
|
|
1059
1074
|
class: l(e.question.cssClasses.dragAreaPlaceholder)
|
|
1060
1075
|
}, [
|
|
1061
|
-
|
|
1076
|
+
C(t, {
|
|
1062
1077
|
locString: e.question.locRenderedPlaceholder
|
|
1063
1078
|
}, null, 8, ["locString"])
|
|
1064
1079
|
], 2),
|
|
@@ -1088,7 +1103,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1088
1103
|
key: 2,
|
|
1089
1104
|
class: l(e.question.cssClasses.loadingIndicator)
|
|
1090
1105
|
}, [
|
|
1091
|
-
|
|
1106
|
+
C(v)
|
|
1092
1107
|
], 2)) : d("", !0),
|
|
1093
1108
|
e.question.isPlayingVideo ? (i(), q(g, {
|
|
1094
1109
|
key: 3,
|
|
@@ -1111,7 +1126,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1111
1126
|
], 2);
|
|
1112
1127
|
};
|
|
1113
1128
|
}
|
|
1114
|
-
}),
|
|
1129
|
+
}), js = { class: "sv-hidden" }, pe = "survey-imagepicker-item", Qs = /* @__PURE__ */ h({
|
|
1115
1130
|
inheritAttrs: !1,
|
|
1116
1131
|
__name: "Imagepicker",
|
|
1117
1132
|
props: {
|
|
@@ -1120,8 +1135,8 @@ const je = /* @__PURE__ */ h({
|
|
|
1120
1135
|
setup(r) {
|
|
1121
1136
|
const s = r, o = _(null);
|
|
1122
1137
|
A(s, o);
|
|
1123
|
-
const e = (t) => s.question.getItemValueWrapperComponentName(t) ||
|
|
1124
|
-
componentName:
|
|
1138
|
+
const e = (t) => s.question.getItemValueWrapperComponentName(t) || pe, n = (t) => ({
|
|
1139
|
+
componentName: pe,
|
|
1125
1140
|
componentData: {
|
|
1126
1141
|
question: s.question,
|
|
1127
1142
|
item: t,
|
|
@@ -1133,7 +1148,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1133
1148
|
ref_key: "root",
|
|
1134
1149
|
ref: o
|
|
1135
1150
|
}, [
|
|
1136
|
-
c("legend",
|
|
1151
|
+
c("legend", js, R(t.question.locTitle.renderedHtml), 1),
|
|
1137
1152
|
t.question.hasColumns ? d("", !0) : (i(!0), u($, { key: 0 }, B(t.question.visibleChoices, (y) => (i(), q(T(e(y)), W({
|
|
1138
1153
|
key: y.value
|
|
1139
1154
|
}, n(y)), null, 16))), 128)),
|
|
@@ -1148,7 +1163,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1148
1163
|
], 2))), 128)) : d("", !0)
|
|
1149
1164
|
], 2));
|
|
1150
1165
|
}
|
|
1151
|
-
}),
|
|
1166
|
+
}), Gs = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Js = ["name", "value", "id", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Xs = ["src", "width", "height", "alt"], Ys = ["src", "width", "height"], Zs = /* @__PURE__ */ h({
|
|
1152
1167
|
inheritAttrs: !1,
|
|
1153
1168
|
__name: "ImagepickerItem",
|
|
1154
1169
|
props: {
|
|
@@ -1158,7 +1173,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1158
1173
|
setup(r) {
|
|
1159
1174
|
const s = r, o = (n) => s.question.getItemClass(n);
|
|
1160
1175
|
L(() => s.item);
|
|
1161
|
-
const e =
|
|
1176
|
+
const e = G(() => s.item.locImageLink);
|
|
1162
1177
|
return (n, t) => {
|
|
1163
1178
|
const a = p("sv-svg-icon"), y = p("survey-string");
|
|
1164
1179
|
return i(), u("div", {
|
|
@@ -1180,8 +1195,8 @@ const je = /* @__PURE__ */ h({
|
|
|
1180
1195
|
"aria-invalid": n.question.ariaInvalid,
|
|
1181
1196
|
"aria-describedby": n.question.ariaDescribedBy,
|
|
1182
1197
|
class: l(n.question.cssClasses.itemControl)
|
|
1183
|
-
}, null, 10,
|
|
1184
|
-
[
|
|
1198
|
+
}, null, 10, Gs)), [
|
|
1199
|
+
[te, n.question.value]
|
|
1185
1200
|
]) : P((i(), u("input", {
|
|
1186
1201
|
key: 1,
|
|
1187
1202
|
type: "radio",
|
|
@@ -1195,7 +1210,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1195
1210
|
"aria-invalid": n.question.ariaInvalid,
|
|
1196
1211
|
"aria-describedby": n.question.ariaDescribedBy,
|
|
1197
1212
|
class: l(n.question.cssClasses.itemControl)
|
|
1198
|
-
}, null, 10,
|
|
1213
|
+
}, null, 10, Js)), [
|
|
1199
1214
|
[ee, n.question.value]
|
|
1200
1215
|
]),
|
|
1201
1216
|
c("div", {
|
|
@@ -1229,7 +1244,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1229
1244
|
onError: t[3] || (t[3] = (m) => {
|
|
1230
1245
|
n.item.onErrorHandler();
|
|
1231
1246
|
})
|
|
1232
|
-
}, null, 46,
|
|
1247
|
+
}, null, 46, Xs)) : d("", !0),
|
|
1233
1248
|
f(e) && !n.item.contentNotLoaded && n.question.contentMode === "video" ? (i(), u("video", {
|
|
1234
1249
|
key: 2,
|
|
1235
1250
|
controls: "",
|
|
@@ -1244,7 +1259,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1244
1259
|
onError: t[5] || (t[5] = (m) => {
|
|
1245
1260
|
n.item.onErrorHandler();
|
|
1246
1261
|
})
|
|
1247
|
-
}, null, 46,
|
|
1262
|
+
}, null, 46, Ys)) : d("", !0),
|
|
1248
1263
|
!f(e) || n.item.contentNotLoaded ? (i(), u("div", {
|
|
1249
1264
|
key: 3,
|
|
1250
1265
|
class: l(n.question.cssClasses.itemNoImage),
|
|
@@ -1254,7 +1269,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1254
1269
|
objectFit: n.question.imageFit
|
|
1255
1270
|
})
|
|
1256
1271
|
}, [
|
|
1257
|
-
|
|
1272
|
+
C(a, {
|
|
1258
1273
|
class: l(n.question.cssClasses.itemNoImageSvgIcon),
|
|
1259
1274
|
iconName: n.question.cssClasses.itemNoImageSvgIconId,
|
|
1260
1275
|
size: 48
|
|
@@ -1265,7 +1280,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1265
1280
|
key: 0,
|
|
1266
1281
|
class: l(n.question.cssClasses.itemText)
|
|
1267
1282
|
}, [
|
|
1268
|
-
|
|
1283
|
+
C(y, {
|
|
1269
1284
|
locString: n.item.locText
|
|
1270
1285
|
}, null, 8, ["locString"])
|
|
1271
1286
|
], 2)) : d("", !0)
|
|
@@ -1274,7 +1289,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1274
1289
|
], 2);
|
|
1275
1290
|
};
|
|
1276
1291
|
}
|
|
1277
|
-
}),
|
|
1292
|
+
}), xs = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], en = ["readonly", "disabled", "value", "id", "maxlength", "cols", "rows", "placeholder", "aria-required", "aria-label", "aria-labelledby", "aria-invalid", "aria-describedby"], sn = /* @__PURE__ */ h({
|
|
1278
1293
|
inheritAttrs: !1,
|
|
1279
1294
|
__name: "Comment",
|
|
1280
1295
|
props: {
|
|
@@ -1316,7 +1331,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1316
1331
|
"aria-invalid": n.question.a11y_input_ariaInvalid,
|
|
1317
1332
|
"aria-describedby": n.question.a11y_input_ariaDescribedBy,
|
|
1318
1333
|
style: S({ resize: n.question.resizeStyle })
|
|
1319
|
-
}, null, 46,
|
|
1334
|
+
}, null, 46, xs)) : !n.question.isReadOnlyRenderDiv() && n.question.getMaxLength() ? (i(), u("div", {
|
|
1320
1335
|
key: 1,
|
|
1321
1336
|
ref_key: "root",
|
|
1322
1337
|
ref: o
|
|
@@ -1344,8 +1359,8 @@ const je = /* @__PURE__ */ h({
|
|
|
1344
1359
|
"aria-invalid": n.question.a11y_input_ariaInvalid,
|
|
1345
1360
|
"aria-describedby": n.question.a11y_input_ariaDescribedBy,
|
|
1346
1361
|
style: S({ resize: n.question.resizeStyle })
|
|
1347
|
-
}, null, 46,
|
|
1348
|
-
|
|
1362
|
+
}, null, 46, en),
|
|
1363
|
+
C(a, {
|
|
1349
1364
|
counter: n.question.characterCounter,
|
|
1350
1365
|
remainingCharacterCounter: n.question.cssClasses.remainingCharacterCounter
|
|
1351
1366
|
}, null, 8, ["counter", "remainingCharacterCounter"])
|
|
@@ -1356,7 +1371,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1356
1371
|
}, R(n.question.value), 513));
|
|
1357
1372
|
};
|
|
1358
1373
|
}
|
|
1359
|
-
}),
|
|
1374
|
+
}), nn = /* @__PURE__ */ h({
|
|
1360
1375
|
inheritAttrs: !1,
|
|
1361
1376
|
__name: "Dropdown",
|
|
1362
1377
|
props: {
|
|
@@ -1371,7 +1386,7 @@ const je = /* @__PURE__ */ h({
|
|
|
1371
1386
|
ref_key: "root",
|
|
1372
1387
|
ref: o
|
|
1373
1388
|
}, [
|
|
1374
|
-
|
|
1389
|
+
C(t, { question: e.question }, null, 8, ["question"]),
|
|
1375
1390
|
e.question.isOtherSelected ? (i(), q(a, {
|
|
1376
1391
|
key: 0,
|
|
1377
1392
|
question: e.question
|
|
@@ -1379,16 +1394,16 @@ const je = /* @__PURE__ */ h({
|
|
|
1379
1394
|
], 2);
|
|
1380
1395
|
};
|
|
1381
1396
|
}
|
|
1382
|
-
}),
|
|
1397
|
+
}), on = ["id", "autocomplete", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "required"], tn = {
|
|
1383
1398
|
key: 0,
|
|
1384
1399
|
value: ""
|
|
1385
|
-
},
|
|
1400
|
+
}, rn = ["id"];
|
|
1386
1401
|
se.Instance.registerRenderer(
|
|
1387
1402
|
"dropdown",
|
|
1388
1403
|
"select",
|
|
1389
1404
|
"sv-dropdown-select"
|
|
1390
1405
|
);
|
|
1391
|
-
const
|
|
1406
|
+
const ln = /* @__PURE__ */ h({
|
|
1392
1407
|
inheritAttrs: !1,
|
|
1393
1408
|
__name: "DropdownSelect",
|
|
1394
1409
|
props: {
|
|
@@ -1426,7 +1441,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1426
1441
|
disabled: "",
|
|
1427
1442
|
id: a.question.inputId,
|
|
1428
1443
|
class: l(a.question.getControlClass())
|
|
1429
|
-
}, R(a.question.readOnlyText), 11,
|
|
1444
|
+
}, R(a.question.readOnlyText), 11, rn)) : P((i(), u("select", {
|
|
1430
1445
|
key: 0,
|
|
1431
1446
|
id: a.question.inputId,
|
|
1432
1447
|
"onUpdate:modelValue": y[0] || (y[0] = (I) => t.value = I),
|
|
@@ -1440,19 +1455,19 @@ const tn = /* @__PURE__ */ h({
|
|
|
1440
1455
|
"aria-describedby": a.question.ariaDescribedBy,
|
|
1441
1456
|
required: a.question.isRequired
|
|
1442
1457
|
}, [
|
|
1443
|
-
a.question.allowClear ? (i(), u("option",
|
|
1458
|
+
a.question.allowClear ? (i(), u("option", tn, R(a.question.placeholder), 1)) : d("", !0),
|
|
1444
1459
|
(i(!0), u($, null, B(a.question.visibleChoices, (I) => (i(), q(m, {
|
|
1445
1460
|
item: I,
|
|
1446
1461
|
key: I.id
|
|
1447
1462
|
}, null, 8, ["item"]))), 128))
|
|
1448
|
-
], 42,
|
|
1449
|
-
[
|
|
1463
|
+
], 42, on)), [
|
|
1464
|
+
[Ie, t.value]
|
|
1450
1465
|
]),
|
|
1451
1466
|
a.question.cssClasses.chevronButtonIconId ? (i(), u("div", {
|
|
1452
1467
|
key: 2,
|
|
1453
1468
|
class: l(a.question.cssClasses.chevronButton)
|
|
1454
1469
|
}, [
|
|
1455
|
-
|
|
1470
|
+
C(v, {
|
|
1456
1471
|
class: l(a.question.cssClasses.chevronButtonSvg),
|
|
1457
1472
|
iconName: a.question.cssClasses.chevronButtonIconId,
|
|
1458
1473
|
size: "auto"
|
|
@@ -1466,19 +1481,19 @@ const tn = /* @__PURE__ */ h({
|
|
|
1466
1481
|
], 2);
|
|
1467
1482
|
};
|
|
1468
1483
|
}
|
|
1469
|
-
}),
|
|
1484
|
+
}), an = ["value", "disabled"], un = /* @__PURE__ */ h({
|
|
1470
1485
|
__name: "OptionItem",
|
|
1471
1486
|
props: {
|
|
1472
1487
|
item: {}
|
|
1473
1488
|
},
|
|
1474
1489
|
setup(r) {
|
|
1475
|
-
const s = r, o =
|
|
1490
|
+
const s = r, o = G(() => s.item.locText);
|
|
1476
1491
|
return L(() => s.item), (e, n) => (i(), u("option", {
|
|
1477
1492
|
value: e.item.value,
|
|
1478
1493
|
disabled: !e.item.isEnabled
|
|
1479
|
-
}, R(f(o)), 9,
|
|
1494
|
+
}, R(f(o)), 9, an));
|
|
1480
1495
|
}
|
|
1481
|
-
}),
|
|
1496
|
+
}), dn = ["id", "disabled", "tabindex", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], mn = { style: { visibility: "hidden" } }, cn = ["disabled", "inputmode", "role", "id", "tabindex", "readonly", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "placeholder"], pn = ["id"], vn = /* @__PURE__ */ h({
|
|
1482
1497
|
__name: "Dropdown",
|
|
1483
1498
|
props: {
|
|
1484
1499
|
question: {}
|
|
@@ -1486,7 +1501,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1486
1501
|
setup(r) {
|
|
1487
1502
|
const s = r, o = _(null), e = w(() => {
|
|
1488
1503
|
const k = s.question;
|
|
1489
|
-
return k.dropdownListModel || (k.dropdownListModel = new
|
|
1504
|
+
return k.dropdownListModel || (k.dropdownListModel = new Be(k)), s.question.dropdownListModel;
|
|
1490
1505
|
}), n = (k) => {
|
|
1491
1506
|
var D;
|
|
1492
1507
|
(D = e.value) == null || D.onClick(k);
|
|
@@ -1502,7 +1517,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1502
1517
|
}, m = () => {
|
|
1503
1518
|
if (o.value) {
|
|
1504
1519
|
const k = o.value, D = e.value.inputStringRendered;
|
|
1505
|
-
|
|
1520
|
+
Le.isTwoValueEquals(D, k.value, !1, !0, !1) || (k.value = e.value.inputStringRendered);
|
|
1506
1521
|
}
|
|
1507
1522
|
}, v = (k) => {
|
|
1508
1523
|
var D;
|
|
@@ -1512,11 +1527,11 @@ const tn = /* @__PURE__ */ h({
|
|
|
1512
1527
|
(D = e.value) == null || D.onFocus(k);
|
|
1513
1528
|
}, I = (k) => {
|
|
1514
1529
|
e.value.inputStringRendered = k.target.value;
|
|
1515
|
-
},
|
|
1530
|
+
}, b = w(
|
|
1516
1531
|
() => s.question.showSelectedItemLocText
|
|
1517
1532
|
), N = w(() => s.question.selectedItemLocText);
|
|
1518
1533
|
return L(() => e.value), x(m), H(m), (k, D) => {
|
|
1519
|
-
const E = p("survey-string"),
|
|
1534
|
+
const E = p("survey-string"), V = p("sv-svg-icon"), K = p("sv-popup");
|
|
1520
1535
|
return i(), u("div", {
|
|
1521
1536
|
class: l(k.question.cssClasses.selectWrapper),
|
|
1522
1537
|
onClick: n
|
|
@@ -1548,7 +1563,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1548
1563
|
c("div", {
|
|
1549
1564
|
class: l(k.question.cssClasses.controlValue)
|
|
1550
1565
|
}, [
|
|
1551
|
-
|
|
1566
|
+
b.value ? (i(), q(E, {
|
|
1552
1567
|
key: 0,
|
|
1553
1568
|
locString: N.value
|
|
1554
1569
|
}, null, 8, ["locString"])) : d("", !0),
|
|
@@ -1556,7 +1571,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1556
1571
|
key: 1,
|
|
1557
1572
|
class: l(k.question.cssClasses.hintSuffix)
|
|
1558
1573
|
}, [
|
|
1559
|
-
c("span",
|
|
1574
|
+
c("span", mn, R(e.value.inputStringRendered), 1),
|
|
1560
1575
|
c("span", null, R(e.value.hintStringSuffix), 1)
|
|
1561
1576
|
], 2)) : d("", !0),
|
|
1562
1577
|
k.question.showInputFieldComponent ? (i(), q(T(k.question.inputFieldComponentName), {
|
|
@@ -1585,7 +1600,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1585
1600
|
onInput: I,
|
|
1586
1601
|
onBlur: v,
|
|
1587
1602
|
onFocus: g
|
|
1588
|
-
}, null, 42,
|
|
1603
|
+
}, null, 42, cn)
|
|
1589
1604
|
], 2),
|
|
1590
1605
|
k.question.allowClear && k.question.cssClasses.cleanButtonIconId ? P((i(), u("div", {
|
|
1591
1606
|
key: 1,
|
|
@@ -1593,7 +1608,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1593
1608
|
onClick: a,
|
|
1594
1609
|
"aria-hidden": "true"
|
|
1595
1610
|
}, [
|
|
1596
|
-
|
|
1611
|
+
C(V, {
|
|
1597
1612
|
class: l(k.question.cssClasses.cleanButtonSvg),
|
|
1598
1613
|
iconName: k.question.cssClasses.cleanButtonIconId,
|
|
1599
1614
|
title: k.question.clearCaption,
|
|
@@ -1602,7 +1617,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1602
1617
|
], 2)), [
|
|
1603
1618
|
[M, k.question.showClearButton]
|
|
1604
1619
|
]) : d("", !0)
|
|
1605
|
-
], 42,
|
|
1620
|
+
], 42, dn)),
|
|
1606
1621
|
k.question.isReadOnly ? (i(), u("div", {
|
|
1607
1622
|
key: 2,
|
|
1608
1623
|
disabled: "",
|
|
@@ -1614,7 +1629,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1614
1629
|
locString: k.question.selectedItemLocText
|
|
1615
1630
|
}, null, 8, ["locString"])) : d("", !0),
|
|
1616
1631
|
c("div", null, R(k.question.readOnlyText), 1)
|
|
1617
|
-
], 10,
|
|
1632
|
+
], 10, pn)) : (i(), q(K, {
|
|
1618
1633
|
key: 1,
|
|
1619
1634
|
model: k.question.dropdownListModel.popupModel
|
|
1620
1635
|
}, null, 8, ["model"])),
|
|
@@ -1624,7 +1639,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1624
1639
|
onPointerdown: t,
|
|
1625
1640
|
"aria-hidden": "true"
|
|
1626
1641
|
}, [
|
|
1627
|
-
|
|
1642
|
+
C(V, {
|
|
1628
1643
|
class: l(k.question.cssClasses.chevronButtonSvg),
|
|
1629
1644
|
iconName: k.question.cssClasses.chevronButtonIconId,
|
|
1630
1645
|
size: "auto"
|
|
@@ -1633,7 +1648,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1633
1648
|
], 2);
|
|
1634
1649
|
};
|
|
1635
1650
|
}
|
|
1636
|
-
}),
|
|
1651
|
+
}), yn = /* @__PURE__ */ h({
|
|
1637
1652
|
inheritAttrs: !1,
|
|
1638
1653
|
__name: "Tagbox",
|
|
1639
1654
|
props: {
|
|
@@ -1648,7 +1663,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1648
1663
|
ref_key: "root",
|
|
1649
1664
|
ref: o
|
|
1650
1665
|
}, [
|
|
1651
|
-
|
|
1666
|
+
C(t, { question: e.question }, null, 8, ["question"]),
|
|
1652
1667
|
e.question.isOtherSelected ? (i(), q(a, {
|
|
1653
1668
|
key: 0,
|
|
1654
1669
|
question: e.question
|
|
@@ -1656,7 +1671,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1656
1671
|
], 2);
|
|
1657
1672
|
};
|
|
1658
1673
|
}
|
|
1659
|
-
}),
|
|
1674
|
+
}), qn = ["id", "tabindex", "disabled", "role", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "aria-expanded", "aria-controls", "aria-activedescendant", "required"], gn = ["id"], hn = /* @__PURE__ */ h({
|
|
1660
1675
|
__name: "Tagbox",
|
|
1661
1676
|
props: {
|
|
1662
1677
|
question: {}
|
|
@@ -1664,7 +1679,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1664
1679
|
setup(r) {
|
|
1665
1680
|
const s = r, o = w(() => {
|
|
1666
1681
|
const v = s.question;
|
|
1667
|
-
return v.dropdownListModel || (v.dropdownListModel = new
|
|
1682
|
+
return v.dropdownListModel || (v.dropdownListModel = new Ne(v)), s.question.dropdownListModel;
|
|
1668
1683
|
}), e = (v) => {
|
|
1669
1684
|
var g;
|
|
1670
1685
|
(g = o.value) == null || g.onClick(v);
|
|
@@ -1680,9 +1695,9 @@ const tn = /* @__PURE__ */ h({
|
|
|
1680
1695
|
}, y = (v) => {
|
|
1681
1696
|
var g;
|
|
1682
1697
|
(g = o.value) == null || g.onBlur(v);
|
|
1683
|
-
}, m =
|
|
1698
|
+
}, m = le(() => s.question.selectedChoices);
|
|
1684
1699
|
return L(() => o.value), (v, g) => {
|
|
1685
|
-
const I = p("sv-tagbox-item"),
|
|
1700
|
+
const I = p("sv-tagbox-item"), b = p("sv-tagbox-filter"), N = p("sv-svg-icon"), k = p("sv-popup"), D = p("survey-string");
|
|
1686
1701
|
return i(), u("div", {
|
|
1687
1702
|
class: l(v.question.cssClasses.selectWrapper),
|
|
1688
1703
|
onClick: e
|
|
@@ -1708,12 +1723,12 @@ const tn = /* @__PURE__ */ h({
|
|
|
1708
1723
|
c("div", {
|
|
1709
1724
|
class: l(v.question.cssClasses.controlValue)
|
|
1710
1725
|
}, [
|
|
1711
|
-
(i(!0), u($, null, B(m
|
|
1712
|
-
item:
|
|
1726
|
+
(i(!0), u($, null, B(f(m), (E, V) => (i(), q(I, {
|
|
1727
|
+
item: E,
|
|
1713
1728
|
question: v.question,
|
|
1714
|
-
key: "item" +
|
|
1729
|
+
key: "item" + V
|
|
1715
1730
|
}, null, 8, ["item", "question"]))), 128)),
|
|
1716
|
-
b
|
|
1731
|
+
C(b, {
|
|
1717
1732
|
model: o.value,
|
|
1718
1733
|
question: v.question
|
|
1719
1734
|
}, null, 8, ["model", "question"])
|
|
@@ -1724,7 +1739,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1724
1739
|
onClick: t,
|
|
1725
1740
|
"aria-hidden": "true"
|
|
1726
1741
|
}, [
|
|
1727
|
-
|
|
1742
|
+
C(N, {
|
|
1728
1743
|
class: l(v.question.cssClasses.cleanButtonSvg),
|
|
1729
1744
|
iconName: v.question.cssClasses.cleanButtonIconId,
|
|
1730
1745
|
title: v.question.clearCaption,
|
|
@@ -1733,15 +1748,18 @@ const tn = /* @__PURE__ */ h({
|
|
|
1733
1748
|
], 2)), [
|
|
1734
1749
|
[M, v.question.showClearButton]
|
|
1735
1750
|
]) : d("", !0)
|
|
1736
|
-
], 42,
|
|
1751
|
+
], 42, qn)),
|
|
1737
1752
|
v.question.isReadOnly ? (i(), u("div", {
|
|
1738
1753
|
key: 2,
|
|
1739
1754
|
disabled: "",
|
|
1740
1755
|
id: v.question.inputId,
|
|
1741
1756
|
class: l(v.question.getControlClass())
|
|
1742
1757
|
}, [
|
|
1743
|
-
|
|
1744
|
-
|
|
1758
|
+
v.question.locReadOnlyText ? (i(), q(D, {
|
|
1759
|
+
key: 0,
|
|
1760
|
+
locString: v.question.locReadOnlyText
|
|
1761
|
+
}, null, 8, ["locString"])) : d("", !0)
|
|
1762
|
+
], 10, gn)) : (i(), q(k, {
|
|
1745
1763
|
key: 1,
|
|
1746
1764
|
model: o.value.popupModel
|
|
1747
1765
|
}, null, 8, ["model"])),
|
|
@@ -1751,7 +1769,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1751
1769
|
onPointerdown: n,
|
|
1752
1770
|
"aria-hidden": "true"
|
|
1753
1771
|
}, [
|
|
1754
|
-
|
|
1772
|
+
C(N, {
|
|
1755
1773
|
class: l(v.question.cssClasses.chevronButtonSvg),
|
|
1756
1774
|
iconName: v.question.cssClasses.chevronButtonIconId,
|
|
1757
1775
|
size: "auto"
|
|
@@ -1760,7 +1778,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1760
1778
|
], 2);
|
|
1761
1779
|
};
|
|
1762
1780
|
}
|
|
1763
|
-
}),
|
|
1781
|
+
}), Cn = { style: { visibility: "hidden" } }, bn = ["placeholder", "disabled", "inputmode", "role", "aria-expanded", "aria-controls", "aria-label", "aria-labelledby", "aria-activedescendant", "id", "readonly", "size"], kn = /* @__PURE__ */ h({
|
|
1764
1782
|
__name: "TagboxFilter",
|
|
1765
1783
|
props: {
|
|
1766
1784
|
question: {},
|
|
@@ -1799,7 +1817,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1799
1817
|
key: 1,
|
|
1800
1818
|
class: l(a.question.cssClasses.hintSuffix)
|
|
1801
1819
|
}, [
|
|
1802
|
-
c("span",
|
|
1820
|
+
c("span", Cn, R(a.model.inputStringRendered), 1),
|
|
1803
1821
|
c("span", null, R(a.model.hintStringSuffix), 1)
|
|
1804
1822
|
], 2)) : d("", !0),
|
|
1805
1823
|
P(c("input", {
|
|
@@ -1823,14 +1841,14 @@ const tn = /* @__PURE__ */ h({
|
|
|
1823
1841
|
onKeydown: e,
|
|
1824
1842
|
onBlur: n,
|
|
1825
1843
|
onFocus: t
|
|
1826
|
-
}, null, 42,
|
|
1827
|
-
[
|
|
1844
|
+
}, null, 42, bn), [
|
|
1845
|
+
[we, a.model.inputStringRendered]
|
|
1828
1846
|
])
|
|
1829
1847
|
], 2)
|
|
1830
1848
|
], 2);
|
|
1831
1849
|
};
|
|
1832
1850
|
}
|
|
1833
|
-
}),
|
|
1851
|
+
}), fn = { class: "sv-tagbox__item-text" }, In = /* @__PURE__ */ h({
|
|
1834
1852
|
__name: "TagboxItem",
|
|
1835
1853
|
props: {
|
|
1836
1854
|
question: {},
|
|
@@ -1846,8 +1864,8 @@ const tn = /* @__PURE__ */ h({
|
|
|
1846
1864
|
class: "sv-tagbox__item",
|
|
1847
1865
|
key: e.item.key
|
|
1848
1866
|
}, [
|
|
1849
|
-
c("div",
|
|
1850
|
-
|
|
1867
|
+
c("div", fn, [
|
|
1868
|
+
C(t, {
|
|
1851
1869
|
locString: e.item.locText
|
|
1852
1870
|
}, null, 8, ["locString"])
|
|
1853
1871
|
]),
|
|
@@ -1855,7 +1873,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1855
1873
|
class: l(e.question.cssClasses.cleanItemButton),
|
|
1856
1874
|
onClick: o
|
|
1857
1875
|
}, [
|
|
1858
|
-
|
|
1876
|
+
C(a, {
|
|
1859
1877
|
class: l(e.question.cssClasses.cleanItemButtonSvg),
|
|
1860
1878
|
iconName: e.question.cssClasses.cleanItemButtonIconId,
|
|
1861
1879
|
size: "auto"
|
|
@@ -1864,7 +1882,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1864
1882
|
]);
|
|
1865
1883
|
};
|
|
1866
1884
|
}
|
|
1867
|
-
}),
|
|
1885
|
+
}), wn = /* @__PURE__ */ h({
|
|
1868
1886
|
inheritAttrs: !1,
|
|
1869
1887
|
__name: "Ranking",
|
|
1870
1888
|
props: {
|
|
@@ -1907,7 +1925,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1907
1925
|
key: 0,
|
|
1908
1926
|
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1909
1927
|
}, [
|
|
1910
|
-
|
|
1928
|
+
C(y, {
|
|
1911
1929
|
locString: t.question.locSelectToRankEmptyRankedAreaText
|
|
1912
1930
|
}, null, 8, ["locString"])
|
|
1913
1931
|
], 2)) : d("", !0)
|
|
@@ -1928,7 +1946,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1928
1946
|
key: 0,
|
|
1929
1947
|
class: l(t.question.cssClasses.containerPlaceholder)
|
|
1930
1948
|
}, [
|
|
1931
|
-
|
|
1949
|
+
C(y, {
|
|
1932
1950
|
locString: t.question.locSelectToRankEmptyUnrankedAreaText
|
|
1933
1951
|
}, null, 8, ["locString"])
|
|
1934
1952
|
], 2)) : d("", !0)
|
|
@@ -1936,10 +1954,10 @@ const tn = /* @__PURE__ */ h({
|
|
|
1936
1954
|
], 2);
|
|
1937
1955
|
};
|
|
1938
1956
|
}
|
|
1939
|
-
}),
|
|
1957
|
+
}), Sn = ["tabindex", "data-sv-drop-target-ranking-item"], Rn = {
|
|
1940
1958
|
tabindex: "-1",
|
|
1941
1959
|
style: { outline: "none" }
|
|
1942
|
-
},
|
|
1960
|
+
}, Tn = ["xlink:href"], $n = ["xlink:href"], _n = ["xlink:href"], Dn = /* @__PURE__ */ h({
|
|
1943
1961
|
inheritAttrs: !1,
|
|
1944
1962
|
__name: "RankingItem",
|
|
1945
1963
|
props: {
|
|
@@ -1968,7 +1986,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
1968
1986
|
);
|
|
1969
1987
|
})
|
|
1970
1988
|
}, [
|
|
1971
|
-
c("div",
|
|
1989
|
+
c("div", Rn, [
|
|
1972
1990
|
c("div", {
|
|
1973
1991
|
class: l(e.question.cssClasses.itemGhostNode)
|
|
1974
1992
|
}, null, 2),
|
|
@@ -1983,14 +2001,14 @@ const tn = /* @__PURE__ */ h({
|
|
|
1983
2001
|
}, [
|
|
1984
2002
|
c("use", {
|
|
1985
2003
|
"xlink:href": e.question.dragDropSvgIcon
|
|
1986
|
-
}, null, 8,
|
|
2004
|
+
}, null, 8, Tn)
|
|
1987
2005
|
], 2)),
|
|
1988
2006
|
(i(), u("svg", {
|
|
1989
2007
|
class: l(e.question.getIconFocusCss())
|
|
1990
2008
|
}, [
|
|
1991
2009
|
c("use", {
|
|
1992
2010
|
"xlink:href": e.question.arrowsSvgIcon
|
|
1993
|
-
}, null, 8,
|
|
2011
|
+
}, null, 8, $n)
|
|
1994
2012
|
], 2))
|
|
1995
2013
|
], 2),
|
|
1996
2014
|
!e.unrankedItem && o.value ? (i(), u("div", {
|
|
@@ -2003,25 +2021,25 @@ const tn = /* @__PURE__ */ h({
|
|
|
2003
2021
|
(i(), u("svg", null, [
|
|
2004
2022
|
c("use", {
|
|
2005
2023
|
"xlink:href": e.question.dashSvgIcon
|
|
2006
|
-
}, null, 8,
|
|
2024
|
+
}, null, 8, _n)
|
|
2007
2025
|
]))
|
|
2008
2026
|
], 2)),
|
|
2009
2027
|
c("div", {
|
|
2010
2028
|
class: l(e.question.cssClasses.controlLabel)
|
|
2011
2029
|
}, [
|
|
2012
|
-
|
|
2030
|
+
C(t, {
|
|
2013
2031
|
locString: e.item.locText
|
|
2014
2032
|
}, null, 8, ["locString"])
|
|
2015
2033
|
], 2)
|
|
2016
2034
|
], 2)
|
|
2017
2035
|
])
|
|
2018
|
-
], 42,
|
|
2036
|
+
], 42, Sn);
|
|
2019
2037
|
};
|
|
2020
2038
|
}
|
|
2021
|
-
}),
|
|
2039
|
+
}), Bn = { role: "radiogroup" }, Ln = /* @__PURE__ */ c("legend", {
|
|
2022
2040
|
role: "presentation",
|
|
2023
2041
|
class: "sv-hidden"
|
|
2024
|
-
}, null, -1),
|
|
2042
|
+
}, null, -1), Nn = /* @__PURE__ */ h({
|
|
2025
2043
|
inheritAttrs: !1,
|
|
2026
2044
|
__name: "Rating",
|
|
2027
2045
|
props: {
|
|
@@ -2038,13 +2056,13 @@ const tn = /* @__PURE__ */ h({
|
|
|
2038
2056
|
ref_key: "root",
|
|
2039
2057
|
ref: o
|
|
2040
2058
|
}, [
|
|
2041
|
-
c("fieldset",
|
|
2042
|
-
|
|
2059
|
+
c("fieldset", Bn, [
|
|
2060
|
+
Ln,
|
|
2043
2061
|
n.question.hasMinLabel ? (i(), u("span", {
|
|
2044
2062
|
key: 0,
|
|
2045
2063
|
class: l(n.question.cssClasses.minText)
|
|
2046
2064
|
}, [
|
|
2047
|
-
|
|
2065
|
+
C(a, {
|
|
2048
2066
|
locString: n.question.locMinRateDescription
|
|
2049
2067
|
}, null, 8, ["locString"])
|
|
2050
2068
|
], 2)) : d("", !0),
|
|
@@ -2058,7 +2076,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2058
2076
|
key: 1,
|
|
2059
2077
|
class: l(n.question.cssClasses.maxText)
|
|
2060
2078
|
}, [
|
|
2061
|
-
|
|
2079
|
+
C(a, {
|
|
2062
2080
|
locString: n.question.locMaxRateDescription
|
|
2063
2081
|
}, null, 8, ["locString"])
|
|
2064
2082
|
], 2)) : d("", !0)
|
|
@@ -2066,7 +2084,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2066
2084
|
], 2);
|
|
2067
2085
|
};
|
|
2068
2086
|
}
|
|
2069
|
-
}),
|
|
2087
|
+
}), Pn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], An = /* @__PURE__ */ h({
|
|
2070
2088
|
__name: "RatingItem",
|
|
2071
2089
|
props: {
|
|
2072
2090
|
question: {},
|
|
@@ -2094,18 +2112,18 @@ const tn = /* @__PURE__ */ h({
|
|
|
2094
2112
|
"aria-label": o.question.ariaLabel,
|
|
2095
2113
|
"aria-invalid": o.question.ariaInvalid,
|
|
2096
2114
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2097
|
-
}, null, 8,
|
|
2115
|
+
}, null, 8, Pn),
|
|
2098
2116
|
c("span", {
|
|
2099
2117
|
class: l(o.question.cssClasses.itemText)
|
|
2100
2118
|
}, [
|
|
2101
|
-
|
|
2119
|
+
C(n, {
|
|
2102
2120
|
locString: o.item.locText
|
|
2103
2121
|
}, null, 8, ["locString"])
|
|
2104
2122
|
], 2)
|
|
2105
2123
|
], 34);
|
|
2106
2124
|
};
|
|
2107
2125
|
}
|
|
2108
|
-
}),
|
|
2126
|
+
}), Mn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Hn = /* @__PURE__ */ h({
|
|
2109
2127
|
__name: "RatingItemSmiley",
|
|
2110
2128
|
props: {
|
|
2111
2129
|
question: {},
|
|
@@ -2136,8 +2154,8 @@ const tn = /* @__PURE__ */ h({
|
|
|
2136
2154
|
"aria-label": o.question.ariaLabel,
|
|
2137
2155
|
"aria-invalid": o.question.ariaInvalid,
|
|
2138
2156
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2139
|
-
}, null, 8,
|
|
2140
|
-
|
|
2157
|
+
}, null, 8, Mn),
|
|
2158
|
+
C(n, {
|
|
2141
2159
|
iconName: o.question.getItemSmileyIconName(o.item.itemValue),
|
|
2142
2160
|
size: "auto",
|
|
2143
2161
|
title: o.item.text
|
|
@@ -2145,7 +2163,7 @@ const tn = /* @__PURE__ */ h({
|
|
|
2145
2163
|
], 38);
|
|
2146
2164
|
};
|
|
2147
2165
|
}
|
|
2148
|
-
}),
|
|
2166
|
+
}), Wn = ["name", "id", "value", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], En = /* @__PURE__ */ h({
|
|
2149
2167
|
__name: "RatingItemStar",
|
|
2150
2168
|
props: {
|
|
2151
2169
|
question: {},
|
|
@@ -2175,14 +2193,14 @@ const tn = /* @__PURE__ */ h({
|
|
|
2175
2193
|
"aria-label": o.question.ariaLabel,
|
|
2176
2194
|
"aria-invalid": o.question.ariaInvalid,
|
|
2177
2195
|
"aria-describedby": o.question.ariaDescribedBy
|
|
2178
|
-
}, null, 8,
|
|
2179
|
-
|
|
2196
|
+
}, null, 8, Wn),
|
|
2197
|
+
C(n, {
|
|
2180
2198
|
class: l("sv-star"),
|
|
2181
2199
|
iconName: o.question.itemStarIcon,
|
|
2182
2200
|
size: "auto",
|
|
2183
2201
|
title: o.item.text
|
|
2184
2202
|
}, null, 8, ["iconName", "title"]),
|
|
2185
|
-
|
|
2203
|
+
C(n, {
|
|
2186
2204
|
class: l("sv-star-2"),
|
|
2187
2205
|
iconName: o.question.itemStarIconAlt,
|
|
2188
2206
|
size: "auto",
|
|
@@ -2191,10 +2209,10 @@ const tn = /* @__PURE__ */ h({
|
|
|
2191
2209
|
], 34);
|
|
2192
2210
|
};
|
|
2193
2211
|
}
|
|
2194
|
-
}),
|
|
2212
|
+
}), Vn = { class: "sd-rating-dropdown-item" }, On = { class: "sd-rating-dropdown-item_text" }, Fn = {
|
|
2195
2213
|
key: 0,
|
|
2196
2214
|
class: "sd-rating-dropdown-item_description"
|
|
2197
|
-
},
|
|
2215
|
+
}, zn = /* @__PURE__ */ h({
|
|
2198
2216
|
__name: "RatingDropdownItem",
|
|
2199
2217
|
props: {
|
|
2200
2218
|
item: {}
|
|
@@ -2203,10 +2221,10 @@ const tn = /* @__PURE__ */ h({
|
|
|
2203
2221
|
const s = r;
|
|
2204
2222
|
return L(() => s.item), (o, e) => {
|
|
2205
2223
|
const n = p("survey-string");
|
|
2206
|
-
return i(), u("div",
|
|
2207
|
-
c("span",
|
|
2208
|
-
o.item.description ? (i(), u("div",
|
|
2209
|
-
|
|
2224
|
+
return i(), u("div", Vn, [
|
|
2225
|
+
c("span", On, R(o.item.title), 1),
|
|
2226
|
+
o.item.description ? (i(), u("div", Fn, [
|
|
2227
|
+
C(n, {
|
|
2210
2228
|
locString: o.item.description
|
|
2211
2229
|
}, null, 8, ["locString"])
|
|
2212
2230
|
])) : d("", !0)
|
|
@@ -2219,7 +2237,7 @@ se.Instance.registerRenderer(
|
|
|
2219
2237
|
"dropdown",
|
|
2220
2238
|
"sv-rating-dropdown"
|
|
2221
2239
|
);
|
|
2222
|
-
const
|
|
2240
|
+
const Un = /* @__PURE__ */ h({
|
|
2223
2241
|
inheritAttrs: !1,
|
|
2224
2242
|
__name: "RatingDropdown",
|
|
2225
2243
|
props: {
|
|
@@ -2234,11 +2252,11 @@ const Fn = /* @__PURE__ */ h({
|
|
|
2234
2252
|
ref_key: "root",
|
|
2235
2253
|
ref: o
|
|
2236
2254
|
}, [
|
|
2237
|
-
|
|
2255
|
+
C(t, { question: e.question }, null, 8, ["question"])
|
|
2238
2256
|
], 2);
|
|
2239
2257
|
};
|
|
2240
2258
|
}
|
|
2241
|
-
}),
|
|
2259
|
+
}), Kn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], jn = /* @__PURE__ */ h({
|
|
2242
2260
|
inheritAttrs: !1,
|
|
2243
2261
|
__name: "BooleanSwitch",
|
|
2244
2262
|
props: {
|
|
@@ -2277,8 +2295,8 @@ const Fn = /* @__PURE__ */ h({
|
|
|
2277
2295
|
"aria-label": t.question.ariaLabel,
|
|
2278
2296
|
"aria-invalid": t.question.ariaInvalid,
|
|
2279
2297
|
"aria-describedby": t.question.ariaDescribedBy
|
|
2280
|
-
}, null, 42,
|
|
2281
|
-
[
|
|
2298
|
+
}, null, 42, Kn), [
|
|
2299
|
+
[te, t.question.booleanValue]
|
|
2282
2300
|
]),
|
|
2283
2301
|
c("div", {
|
|
2284
2302
|
class: l(t.question.cssClasses.sliderGhost),
|
|
@@ -2287,7 +2305,7 @@ const Fn = /* @__PURE__ */ h({
|
|
|
2287
2305
|
c("span", {
|
|
2288
2306
|
class: l(t.question.getLabelCss(!1))
|
|
2289
2307
|
}, [
|
|
2290
|
-
|
|
2308
|
+
C(y, {
|
|
2291
2309
|
locString: t.question.locLabelFalse
|
|
2292
2310
|
}, null, 8, ["locString"])
|
|
2293
2311
|
], 2)
|
|
@@ -2303,7 +2321,7 @@ const Fn = /* @__PURE__ */ h({
|
|
|
2303
2321
|
key: 0,
|
|
2304
2322
|
class: l(t.question.cssClasses.sliderText)
|
|
2305
2323
|
}, [
|
|
2306
|
-
|
|
2324
|
+
C(y, {
|
|
2307
2325
|
locString: t.question.getCheckedLabel()
|
|
2308
2326
|
}, null, 8, ["locString"])
|
|
2309
2327
|
], 2)) : d("", !0)
|
|
@@ -2316,7 +2334,7 @@ const Fn = /* @__PURE__ */ h({
|
|
|
2316
2334
|
c("span", {
|
|
2317
2335
|
class: l(t.question.getLabelCss(!0))
|
|
2318
2336
|
}, [
|
|
2319
|
-
|
|
2337
|
+
C(y, {
|
|
2320
2338
|
locString: t.question.locLabelTrue
|
|
2321
2339
|
}, null, 8, ["locString"])
|
|
2322
2340
|
], 2)
|
|
@@ -2331,7 +2349,7 @@ se.Instance.registerRenderer(
|
|
|
2331
2349
|
"radio",
|
|
2332
2350
|
"sv-boolean-radio"
|
|
2333
2351
|
);
|
|
2334
|
-
const
|
|
2352
|
+
const Qn = /* @__PURE__ */ h({
|
|
2335
2353
|
inheritAttrs: !1,
|
|
2336
2354
|
__name: "BooleanRadio",
|
|
2337
2355
|
props: {
|
|
@@ -2366,7 +2384,7 @@ const Kn = /* @__PURE__ */ h({
|
|
|
2366
2384
|
], 2);
|
|
2367
2385
|
};
|
|
2368
2386
|
}
|
|
2369
|
-
}),
|
|
2387
|
+
}), Gn = ["name", "value", "checked", "aria-describedby", "disabled"], Jn = ["xlink:href"], Xn = /* @__PURE__ */ h({
|
|
2370
2388
|
__name: "BooleanRadioItem",
|
|
2371
2389
|
props: {
|
|
2372
2390
|
question: {},
|
|
@@ -2396,7 +2414,7 @@ const Kn = /* @__PURE__ */ h({
|
|
|
2396
2414
|
disabled: e.question.isInputReadOnly,
|
|
2397
2415
|
class: l(e.question.cssClasses.itemRadioControl),
|
|
2398
2416
|
onChange: o
|
|
2399
|
-
}, null, 42,
|
|
2417
|
+
}, null, 42, Gn),
|
|
2400
2418
|
e.question.cssClasses.materialRadioDecorator ? (i(), u("span", {
|
|
2401
2419
|
key: 0,
|
|
2402
2420
|
class: l(e.question.cssClasses.materialRadioDecorator)
|
|
@@ -2407,25 +2425,25 @@ const Kn = /* @__PURE__ */ h({
|
|
|
2407
2425
|
}, [
|
|
2408
2426
|
c("use", {
|
|
2409
2427
|
"xlink:href": e.question.itemSvgIcon
|
|
2410
|
-
}, null, 8,
|
|
2428
|
+
}, null, 8, Jn)
|
|
2411
2429
|
], 2)) : d("", !0)
|
|
2412
2430
|
], 2)) : d("", !0),
|
|
2413
2431
|
c("span", {
|
|
2414
2432
|
class: l(e.question.cssClasses.radioControlLabel)
|
|
2415
2433
|
}, [
|
|
2416
|
-
|
|
2434
|
+
C(t, { locString: e.locText }, null, 8, ["locString"])
|
|
2417
2435
|
], 2)
|
|
2418
2436
|
], 2)
|
|
2419
2437
|
], 2);
|
|
2420
2438
|
};
|
|
2421
2439
|
}
|
|
2422
|
-
}),
|
|
2440
|
+
}), Yn = ["name", "value", "id", ".indeterminate", "disabled", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], Zn = ["xlink:href"], xn = /* @__PURE__ */ c("span", { class: "check" }, null, -1), eo = ["id"];
|
|
2423
2441
|
se.Instance.registerRenderer(
|
|
2424
2442
|
"boolean",
|
|
2425
2443
|
"checkbox",
|
|
2426
2444
|
"sv-boolean-checkbox"
|
|
2427
2445
|
);
|
|
2428
|
-
const
|
|
2446
|
+
const so = /* @__PURE__ */ h({
|
|
2429
2447
|
inheritAttrs: !1,
|
|
2430
2448
|
__name: "BooleanCheckbox",
|
|
2431
2449
|
props: {
|
|
@@ -2461,8 +2479,8 @@ const xn = /* @__PURE__ */ h({
|
|
|
2461
2479
|
"aria-label": e.question.ariaLabel,
|
|
2462
2480
|
"aria-invalid": e.question.ariaInvalid,
|
|
2463
2481
|
"aria-describedby": e.question.ariaDescribedBy
|
|
2464
|
-
}, null, 42,
|
|
2465
|
-
[
|
|
2482
|
+
}, null, 42, Yn), [
|
|
2483
|
+
[te, e.question.booleanValue]
|
|
2466
2484
|
]),
|
|
2467
2485
|
c("span", {
|
|
2468
2486
|
class: l(e.question.cssClasses.checkboxMaterialDecorator)
|
|
@@ -2473,9 +2491,9 @@ const xn = /* @__PURE__ */ h({
|
|
|
2473
2491
|
}, [
|
|
2474
2492
|
c("use", {
|
|
2475
2493
|
"xlink:href": e.question.svgIcon
|
|
2476
|
-
}, null, 8,
|
|
2494
|
+
}, null, 8, Zn)
|
|
2477
2495
|
], 2)) : d("", !0),
|
|
2478
|
-
|
|
2496
|
+
xn
|
|
2479
2497
|
], 2),
|
|
2480
2498
|
e.question.isLabelRendered ? (i(), u("span", {
|
|
2481
2499
|
key: 0,
|
|
@@ -2492,13 +2510,13 @@ const xn = /* @__PURE__ */ h({
|
|
|
2492
2510
|
element: e.question,
|
|
2493
2511
|
css: e.css
|
|
2494
2512
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
2495
|
-
], 10,
|
|
2513
|
+
], 10, eo)) : d("", !0)
|
|
2496
2514
|
], 2),
|
|
2497
2515
|
e.question.canRenderLabelDescription ? (i(), u("div", {
|
|
2498
2516
|
key: 0,
|
|
2499
2517
|
class: l(e.question.cssDescription)
|
|
2500
2518
|
}, [
|
|
2501
|
-
|
|
2519
|
+
C(y, {
|
|
2502
2520
|
locString: e.question.locDescription
|
|
2503
2521
|
}, null, 8, ["locString"])
|
|
2504
2522
|
], 2)) : d("", !0)
|
|
@@ -2506,14 +2524,14 @@ const xn = /* @__PURE__ */ h({
|
|
|
2506
2524
|
], 2);
|
|
2507
2525
|
};
|
|
2508
2526
|
}
|
|
2509
|
-
}),
|
|
2527
|
+
}), no = /* @__PURE__ */ h({
|
|
2510
2528
|
inheritAttrs: !1,
|
|
2511
2529
|
__name: "Multipletext",
|
|
2512
2530
|
props: {
|
|
2513
2531
|
question: {}
|
|
2514
2532
|
},
|
|
2515
2533
|
setup(r) {
|
|
2516
|
-
const s = r, o = _(null), e =
|
|
2534
|
+
const s = r, o = _(null), e = le(() => s.question.getRows());
|
|
2517
2535
|
return A(s, o), (n, t) => {
|
|
2518
2536
|
const a = p("survey-multipletext-item");
|
|
2519
2537
|
return i(), u("table", {
|
|
@@ -2522,7 +2540,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2522
2540
|
ref: o
|
|
2523
2541
|
}, [
|
|
2524
2542
|
c("tbody", null, [
|
|
2525
|
-
(i(!0), u($, null, B(e
|
|
2543
|
+
(i(!0), u($, null, B(f(e), (y, m) => (i(), u($, {
|
|
2526
2544
|
key: n.question.inputId + "rowkey" + m
|
|
2527
2545
|
}, [
|
|
2528
2546
|
y.isVisible ? (i(), u("tr", {
|
|
@@ -2533,7 +2551,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2533
2551
|
key: "item" + v.item.editor.id,
|
|
2534
2552
|
class: l(v.className)
|
|
2535
2553
|
}, [
|
|
2536
|
-
|
|
2554
|
+
C(a, {
|
|
2537
2555
|
question: n.question,
|
|
2538
2556
|
cell: v
|
|
2539
2557
|
}, null, 8, ["question", "cell"])
|
|
@@ -2544,14 +2562,14 @@ const xn = /* @__PURE__ */ h({
|
|
|
2544
2562
|
], 2);
|
|
2545
2563
|
};
|
|
2546
2564
|
}
|
|
2547
|
-
}),
|
|
2565
|
+
}), oo = { key: 1 }, to = /* @__PURE__ */ h({
|
|
2548
2566
|
__name: "MultipletextItem",
|
|
2549
2567
|
props: {
|
|
2550
2568
|
question: {},
|
|
2551
2569
|
cell: {}
|
|
2552
2570
|
},
|
|
2553
2571
|
setup(r) {
|
|
2554
|
-
const s = r, o = (n) =>
|
|
2572
|
+
const s = r, o = (n) => re(n);
|
|
2555
2573
|
L(() => s.cell.item.editor);
|
|
2556
2574
|
const e = w(() => s.cell.item);
|
|
2557
2575
|
return (n, t) => {
|
|
@@ -2571,10 +2589,10 @@ const xn = /* @__PURE__ */ h({
|
|
|
2571
2589
|
key: 0,
|
|
2572
2590
|
class: l(n.question.cssClasses.requiredText)
|
|
2573
2591
|
}, R(e.value.editor.requiredText), 3)) : d("", !0),
|
|
2574
|
-
|
|
2592
|
+
C(a, {
|
|
2575
2593
|
locString: e.value.locTitle
|
|
2576
2594
|
}, null, 8, ["locString"]),
|
|
2577
|
-
e.value.editor.isRequireTextAfterTitle ? (i(), u("span",
|
|
2595
|
+
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", oo, "\xA0")) : d("", !0),
|
|
2578
2596
|
e.value.editor.isRequireTextAfterTitle ? (i(), u("span", {
|
|
2579
2597
|
key: 2,
|
|
2580
2598
|
"aria-hidden": "true",
|
|
@@ -2593,14 +2611,14 @@ const xn = /* @__PURE__ */ h({
|
|
|
2593
2611
|
], 2));
|
|
2594
2612
|
};
|
|
2595
2613
|
}
|
|
2596
|
-
}),
|
|
2614
|
+
}), io = { class: "sv-hidden" }, ro = { key: 0 }, lo = { key: 0 }, ao = ["onClick"], uo = ["data-responsive-title", "onClick"], mo = /* @__PURE__ */ h({
|
|
2597
2615
|
inheritAttrs: !1,
|
|
2598
2616
|
__name: "Matrix",
|
|
2599
2617
|
props: {
|
|
2600
2618
|
question: {}
|
|
2601
2619
|
},
|
|
2602
2620
|
setup(r) {
|
|
2603
|
-
const s = r, o = _(null), e =
|
|
2621
|
+
const s = r, o = _(null), e = z();
|
|
2604
2622
|
A(
|
|
2605
2623
|
s,
|
|
2606
2624
|
o,
|
|
@@ -2625,13 +2643,13 @@ const xn = /* @__PURE__ */ h({
|
|
|
2625
2643
|
ref: o
|
|
2626
2644
|
}, [
|
|
2627
2645
|
c("fieldset", null, [
|
|
2628
|
-
c("legend",
|
|
2646
|
+
c("legend", io, R(t.question.locTitle.renderedHtml), 1),
|
|
2629
2647
|
c("table", {
|
|
2630
2648
|
class: l(t.question.getTableCss())
|
|
2631
2649
|
}, [
|
|
2632
|
-
t.question.showHeader ? (i(), u("thead",
|
|
2650
|
+
t.question.showHeader ? (i(), u("thead", ro, [
|
|
2633
2651
|
c("tr", null, [
|
|
2634
|
-
t.question.hasRows ? (i(), u("td",
|
|
2652
|
+
t.question.hasRows ? (i(), u("td", lo)) : d("", !0),
|
|
2635
2653
|
(i(!0), u($, null, B(t.question.visibleColumns, (m, v) => (i(), u("th", {
|
|
2636
2654
|
key: v,
|
|
2637
2655
|
class: l(t.question.cssClasses.headerCell),
|
|
@@ -2643,8 +2661,8 @@ const xn = /* @__PURE__ */ h({
|
|
|
2643
2661
|
(i(), q(T(t.question.getColumnHeaderWrapperComponentName(m)), {
|
|
2644
2662
|
componentData: t.question.getColumnHeaderWrapperComponentData(m)
|
|
2645
2663
|
}, {
|
|
2646
|
-
default:
|
|
2647
|
-
|
|
2664
|
+
default: O(() => [
|
|
2665
|
+
C(y, {
|
|
2648
2666
|
locString: m.locText
|
|
2649
2667
|
}, null, 8, ["locString"])
|
|
2650
2668
|
]),
|
|
@@ -2668,8 +2686,8 @@ const xn = /* @__PURE__ */ h({
|
|
|
2668
2686
|
(i(), q(T(t.question.getRowHeaderWrapperComponentName(m)), {
|
|
2669
2687
|
componentData: t.question.getRowHeaderWrapperComponentData(m)
|
|
2670
2688
|
}, {
|
|
2671
|
-
default:
|
|
2672
|
-
|
|
2689
|
+
default: O(() => [
|
|
2690
|
+
C(y, {
|
|
2673
2691
|
locString: m.locText
|
|
2674
2692
|
}, null, 8, ["locString"])
|
|
2675
2693
|
]),
|
|
@@ -2681,60 +2699,25 @@ const xn = /* @__PURE__ */ h({
|
|
|
2681
2699
|
t.question.hasCellText ? (i(!0), u($, { key: 0 }, B(t.question.visibleColumns, (g, I) => (i(), u("td", {
|
|
2682
2700
|
key: I,
|
|
2683
2701
|
class: l(t.question.getItemClass(m, g)),
|
|
2684
|
-
onClick: (
|
|
2702
|
+
onClick: (b) => n(m, g)
|
|
2685
2703
|
}, [
|
|
2686
|
-
|
|
2704
|
+
C(y, {
|
|
2687
2705
|
locString: t.question.getCellDisplayLocText(m.name, g)
|
|
2688
2706
|
}, null, 8, ["locString"])
|
|
2689
|
-
], 10,
|
|
2707
|
+
], 10, ao))), 128)) : d("", !0),
|
|
2690
2708
|
t.question.hasCellText ? d("", !0) : (i(!0), u($, { key: 1 }, B(t.question.visibleColumns, (g, I) => (i(), u("td", {
|
|
2691
2709
|
key: I,
|
|
2692
2710
|
"data-responsive-title": g.locText.renderedHtml,
|
|
2693
2711
|
class: l(t.question.cssClasses.cell),
|
|
2694
|
-
onClick: (
|
|
2712
|
+
onClick: (b) => n(m, g)
|
|
2695
2713
|
}, [
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
name: m.fullName,
|
|
2704
|
-
"onUpdate:modelValue": (C) => m.value = C,
|
|
2705
|
-
value: g.value,
|
|
2706
|
-
disabled: t.question.isInputReadOnly,
|
|
2707
|
-
id: t.question.inputId + "_" + m.name + "_" + I,
|
|
2708
|
-
"aria-required": t.question.a11y_input_ariaRequired,
|
|
2709
|
-
"aria-label": t.question.getCellAriaLabel(m.locText.renderedHtml, g.locText.renderedHtml),
|
|
2710
|
-
"aria-invalid": t.question.a11y_input_ariaInvalid,
|
|
2711
|
-
"aria-describedby": t.question.a11y_input_ariaDescribedBy
|
|
2712
|
-
}, null, 10, ao), [
|
|
2713
|
-
[ee, m.value]
|
|
2714
|
-
]),
|
|
2715
|
-
c("span", {
|
|
2716
|
-
class: l(t.question.cssClasses.materialDecorator)
|
|
2717
|
-
}, [
|
|
2718
|
-
t.question.itemSvgIcon ? (i(), u("svg", {
|
|
2719
|
-
key: 0,
|
|
2720
|
-
class: l(t.question.cssClasses.itemDecorator)
|
|
2721
|
-
}, [
|
|
2722
|
-
c("use", {
|
|
2723
|
-
"xlink:href": t.question.itemSvgIcon
|
|
2724
|
-
}, null, 8, uo)
|
|
2725
|
-
], 2)) : d("", !0)
|
|
2726
|
-
], 2),
|
|
2727
|
-
P(c("span", {
|
|
2728
|
-
class: l(t.question.cssClasses.cellResponsiveTitle)
|
|
2729
|
-
}, [
|
|
2730
|
-
b(y, {
|
|
2731
|
-
locString: g.locText
|
|
2732
|
-
}, null, 8, ["locString"])
|
|
2733
|
-
], 2), [
|
|
2734
|
-
[M, t.question.isMobile]
|
|
2735
|
-
])
|
|
2736
|
-
], 34)
|
|
2737
|
-
], 10, lo))), 128))
|
|
2714
|
+
(i(), q(T(t.question.cellComponent), {
|
|
2715
|
+
question: t.question,
|
|
2716
|
+
row: m,
|
|
2717
|
+
column: g,
|
|
2718
|
+
columnIndex: I
|
|
2719
|
+
}, null, 8, ["question", "row", "column", "columnIndex"]))
|
|
2720
|
+
], 10, uo))), 128))
|
|
2738
2721
|
], 2))), 128))
|
|
2739
2722
|
])
|
|
2740
2723
|
], 2)
|
|
@@ -2742,7 +2725,64 @@ const xn = /* @__PURE__ */ h({
|
|
|
2742
2725
|
], 2);
|
|
2743
2726
|
};
|
|
2744
2727
|
}
|
|
2745
|
-
}), co = /* @__PURE__ */ h({
|
|
2728
|
+
}), co = ["name", "value", "disabled", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby"], po = ["xlink:href"], vo = /* @__PURE__ */ h({
|
|
2729
|
+
inheritAttrs: !1,
|
|
2730
|
+
__name: "MatrixCell",
|
|
2731
|
+
props: {
|
|
2732
|
+
question: {},
|
|
2733
|
+
row: {},
|
|
2734
|
+
column: {},
|
|
2735
|
+
columnIndex: {}
|
|
2736
|
+
},
|
|
2737
|
+
setup(r) {
|
|
2738
|
+
return (s, o) => {
|
|
2739
|
+
const e = p("survey-string");
|
|
2740
|
+
return i(), u("label", {
|
|
2741
|
+
onMousedown: o[1] || (o[1] = (n) => s.question.onMouseDown()),
|
|
2742
|
+
class: l(s.question.getItemClass(s.row, s.column))
|
|
2743
|
+
}, [
|
|
2744
|
+
P(c("input", {
|
|
2745
|
+
type: "radio",
|
|
2746
|
+
class: l(s.question.cssClasses.itemValue),
|
|
2747
|
+
name: s.row.fullName,
|
|
2748
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => s.row.value = n),
|
|
2749
|
+
value: s.column.value,
|
|
2750
|
+
disabled: s.question.isInputReadOnly,
|
|
2751
|
+
id: s.question.inputId + "_" + s.row.name + "_" + s.columnIndex,
|
|
2752
|
+
"aria-required": s.question.a11y_input_ariaRequired,
|
|
2753
|
+
"aria-label": s.question.getCellAriaLabel(
|
|
2754
|
+
s.row.locText.renderedHtml,
|
|
2755
|
+
s.column.locText.renderedHtml
|
|
2756
|
+
),
|
|
2757
|
+
"aria-invalid": s.question.a11y_input_ariaInvalid,
|
|
2758
|
+
"aria-describedby": s.question.a11y_input_ariaDescribedBy
|
|
2759
|
+
}, null, 10, co), [
|
|
2760
|
+
[ee, s.row.value]
|
|
2761
|
+
]),
|
|
2762
|
+
c("span", {
|
|
2763
|
+
class: l(s.question.cssClasses.materialDecorator)
|
|
2764
|
+
}, [
|
|
2765
|
+
s.question.itemSvgIcon ? (i(), u("svg", {
|
|
2766
|
+
key: 0,
|
|
2767
|
+
class: l(s.question.cssClasses.itemDecorator)
|
|
2768
|
+
}, [
|
|
2769
|
+
c("use", {
|
|
2770
|
+
"xlink:href": s.question.itemSvgIcon
|
|
2771
|
+
}, null, 8, po)
|
|
2772
|
+
], 2)) : d("", !0)
|
|
2773
|
+
], 2),
|
|
2774
|
+
s.question.isMobile ? (i(), u("span", {
|
|
2775
|
+
key: 0,
|
|
2776
|
+
class: l(s.question.cssClasses.cellResponsiveTitle)
|
|
2777
|
+
}, [
|
|
2778
|
+
C(e, {
|
|
2779
|
+
locString: s.column.locText
|
|
2780
|
+
}, null, 8, ["locString"])
|
|
2781
|
+
], 2)) : d("", !0)
|
|
2782
|
+
], 34);
|
|
2783
|
+
};
|
|
2784
|
+
}
|
|
2785
|
+
}), yo = /* @__PURE__ */ h({
|
|
2746
2786
|
inheritAttrs: !1,
|
|
2747
2787
|
__name: "MatrixDropdown",
|
|
2748
2788
|
props: {
|
|
@@ -2759,7 +2799,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2759
2799
|
}, null, 8, ["question"]);
|
|
2760
2800
|
};
|
|
2761
2801
|
}
|
|
2762
|
-
}),
|
|
2802
|
+
}), qo = { key: 0 }, go = ["data-sv-drop-target-matrix-row", "onPointerdown"], ho = { key: 1 }, Co = /* @__PURE__ */ h({
|
|
2763
2803
|
__name: "MatrixTable",
|
|
2764
2804
|
props: {
|
|
2765
2805
|
question: {}
|
|
@@ -2769,7 +2809,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2769
2809
|
return L(
|
|
2770
2810
|
() => o.value,
|
|
2771
2811
|
(e) => {
|
|
2772
|
-
const n =
|
|
2812
|
+
const n = ie();
|
|
2773
2813
|
e.renderedRowsChangedCallback = () => {
|
|
2774
2814
|
var t;
|
|
2775
2815
|
(t = n == null ? void 0 : n.proxy) == null || t.$forceUpdate();
|
|
@@ -2780,7 +2820,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2780
2820
|
};
|
|
2781
2821
|
}
|
|
2782
2822
|
), (e, n) => {
|
|
2783
|
-
const t = p("survey-string"), a = p("survey-matrixheaderrequired"), y = p("survey-
|
|
2823
|
+
const t = p("survey-string"), a = p("survey-matrixheaderrequired"), y = p("survey-matrixdropdown-cell");
|
|
2784
2824
|
return i(), u("div", {
|
|
2785
2825
|
style: S({ overflowX: e.question.showHorizontalScroll ? "scroll" : "" }),
|
|
2786
2826
|
class: l(e.question.cssClasses.tableWrapper)
|
|
@@ -2788,7 +2828,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2788
2828
|
c("table", {
|
|
2789
2829
|
class: l(e.question.getTableCss())
|
|
2790
2830
|
}, [
|
|
2791
|
-
o.value.showHeader ? (i(), u("thead",
|
|
2831
|
+
o.value.showHeader ? (i(), u("thead", qo, [
|
|
2792
2832
|
c("tr", null, [
|
|
2793
2833
|
(i(!0), u($, null, B(o.value.headerRow.cells, (m) => (i(), u($, null, [
|
|
2794
2834
|
m.hasTitle ? (i(), u("th", {
|
|
@@ -2799,8 +2839,8 @@ const xn = /* @__PURE__ */ h({
|
|
|
2799
2839
|
(i(), q(T(e.question.getColumnHeaderWrapperComponentName(m)), {
|
|
2800
2840
|
componentData: e.question.getColumnHeaderWrapperComponentData(m)
|
|
2801
2841
|
}, {
|
|
2802
|
-
default:
|
|
2803
|
-
|
|
2842
|
+
default: O(() => [
|
|
2843
|
+
C(t, {
|
|
2804
2844
|
locString: m.locTitle
|
|
2805
2845
|
}, null, 8, ["locString"]),
|
|
2806
2846
|
m.column ? (i(), q(a, {
|
|
@@ -2835,10 +2875,10 @@ const xn = /* @__PURE__ */ h({
|
|
|
2835
2875
|
question: e.question,
|
|
2836
2876
|
key: m.id + "_" + g
|
|
2837
2877
|
}, null, 8, ["cell", "question"]))), 128))
|
|
2838
|
-
], 42,
|
|
2878
|
+
], 42, go)) : d("", !0)
|
|
2839
2879
|
], 64))), 128))
|
|
2840
2880
|
]),
|
|
2841
|
-
o.value.showFooter ? (i(), u("tfoot",
|
|
2881
|
+
o.value.showFooter ? (i(), u("tfoot", ho, [
|
|
2842
2882
|
c("tr", null, [
|
|
2843
2883
|
(i(!0), u($, null, B(o.value.footerRow.cells, (m, v) => (i(), q(y, {
|
|
2844
2884
|
cell: m,
|
|
@@ -2851,7 +2891,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2851
2891
|
], 6);
|
|
2852
2892
|
};
|
|
2853
2893
|
}
|
|
2854
|
-
}),
|
|
2894
|
+
}), bo = /* @__PURE__ */ c("span", null, "\xA0", -1), ko = /* @__PURE__ */ h({
|
|
2855
2895
|
__name: "MatrixHeaderRequired",
|
|
2856
2896
|
props: {
|
|
2857
2897
|
question: {},
|
|
@@ -2860,42 +2900,42 @@ const xn = /* @__PURE__ */ h({
|
|
|
2860
2900
|
setup(r) {
|
|
2861
2901
|
const s = r;
|
|
2862
2902
|
return L(() => s.column), (o, e) => o.column.isRenderedRequired ? (i(), u($, { key: 0 }, [
|
|
2863
|
-
|
|
2903
|
+
bo,
|
|
2864
2904
|
o.column.isRenderedRequired ? (i(), u("span", {
|
|
2865
2905
|
key: 0,
|
|
2866
2906
|
class: l(o.question.cssClasses.cellRequiredText)
|
|
2867
2907
|
}, R(o.column.requiredText), 3)) : d("", !0)
|
|
2868
2908
|
], 64)) : d("", !0);
|
|
2869
2909
|
}
|
|
2870
|
-
}),
|
|
2871
|
-
__name: "
|
|
2910
|
+
}), fo = ["data-responsive-title", "title", "colspan"], Io = /* @__PURE__ */ h({
|
|
2911
|
+
__name: "MatrixDropdownCellComp",
|
|
2872
2912
|
props: {
|
|
2873
2913
|
question: {},
|
|
2874
2914
|
cell: {}
|
|
2875
2915
|
},
|
|
2876
2916
|
setup(r) {
|
|
2877
|
-
const s = r, o = _(!1), e = _(), n = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, a = () => o.value = s.cell.question.isVisible, y = (g) =>
|
|
2917
|
+
const s = r, o = _(!1), e = _(), n = () => s.cell.headers, t = () => !!s.cell.width || !!s.cell.minWidth ? { width: s.cell.width, minWidth: s.cell.minWidth } : null, a = () => o.value = s.cell.question.isVisible, y = (g) => re(g);
|
|
2878
2918
|
H(() => {
|
|
2879
2919
|
if (!s.cell.hasQuestion || !s.question || !s.question.survey)
|
|
2880
2920
|
return;
|
|
2881
2921
|
a(), s.cell.question.registerPropertyChangedHandlers(["isVisible"], () => {
|
|
2882
2922
|
a();
|
|
2883
2923
|
});
|
|
2884
|
-
const g = e.value, I = s.cell.question,
|
|
2924
|
+
const g = e.value, I = s.cell.question, b = {
|
|
2885
2925
|
cell: s.cell.cell,
|
|
2886
2926
|
cellQuestion: I,
|
|
2887
2927
|
htmlElement: g,
|
|
2888
2928
|
row: s.cell.row,
|
|
2889
2929
|
column: s.cell.cell.column
|
|
2890
2930
|
};
|
|
2891
|
-
s.question.survey.matrixAfterCellRender(s.question,
|
|
2931
|
+
s.question.survey.matrixAfterCellRender(s.question, b), I && I.afterRenderCore(g);
|
|
2892
2932
|
});
|
|
2893
2933
|
const m = w(() => {
|
|
2894
2934
|
const g = s.cell;
|
|
2895
2935
|
if (g.hasPanel) {
|
|
2896
|
-
const I = g.panel,
|
|
2897
|
-
if (
|
|
2898
|
-
const N =
|
|
2936
|
+
const I = g.panel, b = I.survey;
|
|
2937
|
+
if (b) {
|
|
2938
|
+
const N = b.getElementWrapperComponentName(I);
|
|
2899
2939
|
if (N)
|
|
2900
2940
|
return N;
|
|
2901
2941
|
}
|
|
@@ -2903,9 +2943,9 @@ const xn = /* @__PURE__ */ h({
|
|
|
2903
2943
|
}
|
|
2904
2944
|
}), v = w(() => {
|
|
2905
2945
|
if (s.cell.hasPanel) {
|
|
2906
|
-
const I = s.cell.panel,
|
|
2946
|
+
const I = s.cell.panel, b = I.survey;
|
|
2907
2947
|
let N;
|
|
2908
|
-
return
|
|
2948
|
+
return b && (N = b.getElementWrapperComponentData(I)), {
|
|
2909
2949
|
componentName: "survey-panel",
|
|
2910
2950
|
componentData: {
|
|
2911
2951
|
element: I,
|
|
@@ -2916,18 +2956,18 @@ const xn = /* @__PURE__ */ h({
|
|
|
2916
2956
|
}
|
|
2917
2957
|
});
|
|
2918
2958
|
return (g, I) => {
|
|
2919
|
-
const
|
|
2959
|
+
const b = p("survey-errors"), N = p("sv-matrix-drag-drop-icon"), k = p("sv-action-bar"), D = p("survey-radiogroup-item"), E = p("survey-checkbox-item"), V = p("survey-other-choice"), K = p("survey-string");
|
|
2920
2960
|
return i(), u("td", {
|
|
2921
2961
|
class: l(g.cell.className),
|
|
2922
2962
|
"data-responsive-title": n(),
|
|
2923
2963
|
title: g.cell.getTitle(),
|
|
2924
2964
|
style: S(t()),
|
|
2925
2965
|
colspan: g.cell.colSpans,
|
|
2926
|
-
onFocusin: I[0] || (I[0] = (
|
|
2966
|
+
onFocusin: I[0] || (I[0] = (ue) => g.cell.focusIn()),
|
|
2927
2967
|
ref_key: "root",
|
|
2928
2968
|
ref: e
|
|
2929
2969
|
}, [
|
|
2930
|
-
g.cell.isErrorsCell ? (i(), q(
|
|
2970
|
+
g.cell.isErrorsCell ? (i(), q(b, {
|
|
2931
2971
|
key: 0,
|
|
2932
2972
|
element: g.cell.question
|
|
2933
2973
|
}, null, 8, ["element"])) : d("", !0),
|
|
@@ -2949,7 +2989,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2949
2989
|
key: 0,
|
|
2950
2990
|
componentData: g.question.getCellWrapperComponentData(g.cell.cell)
|
|
2951
2991
|
}, {
|
|
2952
|
-
default:
|
|
2992
|
+
default: O(() => [
|
|
2953
2993
|
(i(), q(T(y(g.cell.question)), {
|
|
2954
2994
|
question: g.cell.question
|
|
2955
2995
|
}, null, 8, ["question"]))
|
|
@@ -2964,7 +3004,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2964
3004
|
key: 2,
|
|
2965
3005
|
componentData: g.question.getCellWrapperComponentData(g.cell.cell)
|
|
2966
3006
|
}, {
|
|
2967
|
-
default:
|
|
3007
|
+
default: O(() => [
|
|
2968
3008
|
g.cell.isRadio ? (i(), q(D, {
|
|
2969
3009
|
key: g.cell.item.value,
|
|
2970
3010
|
question: g.cell.question,
|
|
@@ -2980,7 +3020,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
2980
3020
|
]),
|
|
2981
3021
|
_: 1
|
|
2982
3022
|
}, 8, ["componentData"])) : d("", !0),
|
|
2983
|
-
g.cell.isOtherChoice ? (i(), q(
|
|
3023
|
+
g.cell.isOtherChoice ? (i(), q(V, {
|
|
2984
3024
|
key: 3,
|
|
2985
3025
|
question: g.cell.question
|
|
2986
3026
|
}, null, 8, ["question"])) : d("", !0)
|
|
@@ -2991,8 +3031,8 @@ const xn = /* @__PURE__ */ h({
|
|
|
2991
3031
|
key: 5,
|
|
2992
3032
|
componentData: g.question.getCellWrapperComponentData(g.cell)
|
|
2993
3033
|
}, {
|
|
2994
|
-
default:
|
|
2995
|
-
g.cell.hasTitle ? (i(), q(
|
|
3034
|
+
default: O(() => [
|
|
3035
|
+
g.cell.hasTitle ? (i(), q(K, {
|
|
2996
3036
|
key: 0,
|
|
2997
3037
|
locString: g.cell.locTitle
|
|
2998
3038
|
}, null, 8, ["locString"])) : d("", !0),
|
|
@@ -3003,10 +3043,10 @@ const xn = /* @__PURE__ */ h({
|
|
|
3003
3043
|
]),
|
|
3004
3044
|
_: 1
|
|
3005
3045
|
}, 8, ["componentData"])) : d("", !0)
|
|
3006
|
-
], 46,
|
|
3046
|
+
], 46, fo);
|
|
3007
3047
|
};
|
|
3008
3048
|
}
|
|
3009
|
-
}),
|
|
3049
|
+
}), wo = /* @__PURE__ */ h({
|
|
3010
3050
|
inheritAttrs: !1,
|
|
3011
3051
|
__name: "MatrixDynamic",
|
|
3012
3052
|
props: {
|
|
@@ -3033,7 +3073,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
3033
3073
|
class: l(n.question.getAddRowButtonCss()),
|
|
3034
3074
|
onClick: e
|
|
3035
3075
|
}, [
|
|
3036
|
-
|
|
3076
|
+
C(a, {
|
|
3037
3077
|
locString: n.question.locAddRowText
|
|
3038
3078
|
}, null, 8, ["locString"]),
|
|
3039
3079
|
c("span", {
|
|
@@ -3052,7 +3092,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
3052
3092
|
c("div", {
|
|
3053
3093
|
class: l(n.question.cssClasses.emptyRowsText)
|
|
3054
3094
|
}, [
|
|
3055
|
-
|
|
3095
|
+
C(a, {
|
|
3056
3096
|
locString: n.question.locEmptyRowsText
|
|
3057
3097
|
}, null, 8, ["locString"])
|
|
3058
3098
|
], 2),
|
|
@@ -3062,7 +3102,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
3062
3102
|
class: l(n.question.getAddRowButtonCss(!0)),
|
|
3063
3103
|
onClick: e
|
|
3064
3104
|
}, [
|
|
3065
|
-
|
|
3105
|
+
C(a, {
|
|
3066
3106
|
locString: n.question.locAddRowText
|
|
3067
3107
|
}, null, 8, ["locString"]),
|
|
3068
3108
|
c("span", {
|
|
@@ -3079,7 +3119,7 @@ const xn = /* @__PURE__ */ h({
|
|
|
3079
3119
|
class: l(n.question.getAddRowButtonCss()),
|
|
3080
3120
|
onClick: e
|
|
3081
3121
|
}, [
|
|
3082
|
-
|
|
3122
|
+
C(a, {
|
|
3083
3123
|
locString: n.question.locAddRowText
|
|
3084
3124
|
}, null, 8, ["locString"]),
|
|
3085
3125
|
c("span", {
|
|
@@ -3091,19 +3131,19 @@ const xn = /* @__PURE__ */ h({
|
|
|
3091
3131
|
};
|
|
3092
3132
|
}
|
|
3093
3133
|
});
|
|
3094
|
-
function
|
|
3134
|
+
function ae(r, s = !0) {
|
|
3095
3135
|
return {
|
|
3096
3136
|
question: w(() => r.item.data.question),
|
|
3097
3137
|
row: s ? w(() => r.item.data.row) : void 0
|
|
3098
3138
|
};
|
|
3099
3139
|
}
|
|
3100
|
-
const
|
|
3140
|
+
const So = ["disabled"], Ro = /* @__PURE__ */ h({
|
|
3101
3141
|
__name: "RemoveButton",
|
|
3102
3142
|
props: {
|
|
3103
3143
|
item: {}
|
|
3104
3144
|
},
|
|
3105
3145
|
setup(r) {
|
|
3106
|
-
const s = r, { question: o, row: e } =
|
|
3146
|
+
const s = r, { question: o, row: e } = ae(s);
|
|
3107
3147
|
return (n, t) => {
|
|
3108
3148
|
const a = p("survey-string");
|
|
3109
3149
|
return i(), u("button", {
|
|
@@ -3112,41 +3152,41 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3112
3152
|
disabled: f(o).isInputReadOnly,
|
|
3113
3153
|
onClick: t[0] || (t[0] = () => f(o).removeRowUI(f(e)))
|
|
3114
3154
|
}, [
|
|
3115
|
-
|
|
3155
|
+
C(a, {
|
|
3116
3156
|
locString: f(o).locRemoveRowText
|
|
3117
3157
|
}, null, 8, ["locString"]),
|
|
3118
3158
|
c("span", {
|
|
3119
3159
|
class: l(f(o).cssClasses.iconRemove)
|
|
3120
3160
|
}, null, 2)
|
|
3121
|
-
], 10,
|
|
3161
|
+
], 10, So);
|
|
3122
3162
|
};
|
|
3123
3163
|
}
|
|
3124
|
-
}),
|
|
3164
|
+
}), To = ["xlink:href"], $o = /* @__PURE__ */ h({
|
|
3125
3165
|
__name: "DragDropIcon",
|
|
3126
3166
|
props: {
|
|
3127
3167
|
item: {}
|
|
3128
3168
|
},
|
|
3129
3169
|
setup(r) {
|
|
3130
|
-
const s = r, { question: o } =
|
|
3170
|
+
const s = r, { question: o } = ae(s, !1);
|
|
3131
3171
|
return (e, n) => f(o).iconDragElement ? (i(), u("svg", {
|
|
3132
3172
|
key: 0,
|
|
3133
3173
|
class: l(f(o).cssClasses.dragElementDecorator)
|
|
3134
3174
|
}, [
|
|
3135
3175
|
c("use", {
|
|
3136
3176
|
"xlink:href": f(o).iconDragElement
|
|
3137
|
-
}, null, 8,
|
|
3177
|
+
}, null, 8, To)
|
|
3138
3178
|
], 2)) : (i(), u("span", {
|
|
3139
3179
|
key: 1,
|
|
3140
3180
|
class: l(f(o).cssClasses.iconDrag)
|
|
3141
3181
|
}, null, 2));
|
|
3142
3182
|
}
|
|
3143
|
-
}),
|
|
3183
|
+
}), _o = ["aria-expanded", "aria-controls"], Do = /* @__PURE__ */ h({
|
|
3144
3184
|
__name: "DetailButton",
|
|
3145
3185
|
props: {
|
|
3146
3186
|
item: {}
|
|
3147
3187
|
},
|
|
3148
3188
|
setup(r) {
|
|
3149
|
-
const s = r, { question: o, row: e } =
|
|
3189
|
+
const s = r, { question: o, row: e } = ae(s);
|
|
3150
3190
|
return (n, t) => {
|
|
3151
3191
|
const a = p("sv-svg-icon");
|
|
3152
3192
|
return i(), u("button", {
|
|
@@ -3156,15 +3196,15 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3156
3196
|
"aria-expanded": f(o).getIsDetailPanelShowing(f(e)) ? "true" : "false",
|
|
3157
3197
|
"aria-controls": f(o).getIsDetailPanelShowing(f(e)) ? f(e).detailPanelId : null
|
|
3158
3198
|
}, [
|
|
3159
|
-
|
|
3199
|
+
C(a, {
|
|
3160
3200
|
class: l(f(o).getDetailPanelIconCss(f(e))),
|
|
3161
3201
|
iconName: f(o).getDetailPanelIconId(f(e)),
|
|
3162
3202
|
size: "auto"
|
|
3163
3203
|
}, null, 8, ["class", "iconName"])
|
|
3164
|
-
], 10,
|
|
3204
|
+
], 10, _o);
|
|
3165
3205
|
};
|
|
3166
3206
|
}
|
|
3167
|
-
}),
|
|
3207
|
+
}), Bo = /* @__PURE__ */ h({
|
|
3168
3208
|
inheritAttrs: !1,
|
|
3169
3209
|
__name: "PanelDynamic",
|
|
3170
3210
|
props: {
|
|
@@ -3172,7 +3212,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3172
3212
|
css: {}
|
|
3173
3213
|
},
|
|
3174
3214
|
setup(r) {
|
|
3175
|
-
const s = r, o = _(null), e =
|
|
3215
|
+
const s = r, o = _(null), e = ie();
|
|
3176
3216
|
A(
|
|
3177
3217
|
s,
|
|
3178
3218
|
o,
|
|
@@ -3220,7 +3260,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3220
3260
|
};
|
|
3221
3261
|
};
|
|
3222
3262
|
return (m, v) => {
|
|
3223
|
-
const g = p("survey-string"), I = p("sv-paneldynamic-add-btn"),
|
|
3263
|
+
const g = p("survey-string"), I = p("sv-paneldynamic-add-btn"), b = p("survey-paneldynamicprogress"), N = p("sv-paneldynamic-remove-btn"), k = p("survey-paneldynamicprogress-v2");
|
|
3224
3264
|
return i(), u("div", {
|
|
3225
3265
|
class: l(m.question.cssClasses.root),
|
|
3226
3266
|
ref_key: "root",
|
|
@@ -3231,11 +3271,11 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3231
3271
|
class: l(m.question.cssClasses.noEntriesPlaceholder)
|
|
3232
3272
|
}, [
|
|
3233
3273
|
c("span", null, [
|
|
3234
|
-
|
|
3274
|
+
C(g, {
|
|
3235
3275
|
locString: m.question.locNoEntriesText
|
|
3236
3276
|
}, null, 8, ["locString"])
|
|
3237
3277
|
]),
|
|
3238
|
-
|
|
3278
|
+
C(I, {
|
|
3239
3279
|
data: { question: m.question }
|
|
3240
3280
|
}, null, 8, ["data"])
|
|
3241
3281
|
], 2)) : d("", !0),
|
|
@@ -3249,7 +3289,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3249
3289
|
role: "progressbar"
|
|
3250
3290
|
}, null, 6)
|
|
3251
3291
|
], 2)) : d("", !0),
|
|
3252
|
-
t() && m.question.isProgressTopShowing ? (i(), q(
|
|
3292
|
+
t() && m.question.isProgressTopShowing ? (i(), q(b, {
|
|
3253
3293
|
key: 2,
|
|
3254
3294
|
question: m.question
|
|
3255
3295
|
}, null, 8, ["question"])) : d("", !0),
|
|
@@ -3259,7 +3299,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3259
3299
|
c("div", {
|
|
3260
3300
|
class: l(m.question.getPanelWrapperCss())
|
|
3261
3301
|
}, [
|
|
3262
|
-
(i(), q(T(a(D)), F(
|
|
3302
|
+
(i(), q(T(a(D)), F(oe(y(D))), null, 16)),
|
|
3263
3303
|
m.question.panelRemoveButtonLocation === "right" && m.question.canRemovePanel && D.state !== "collapsed" ? (i(), q(N, {
|
|
3264
3304
|
key: 0,
|
|
3265
3305
|
data: { question: m.question, panel: D }
|
|
@@ -3270,7 +3310,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3270
3310
|
key: "separator" + D.id
|
|
3271
3311
|
}, null, 2)) : d("", !0)
|
|
3272
3312
|
], 64))), 128)),
|
|
3273
|
-
t() && m.question.isProgressBottomShowing ? (i(), q(
|
|
3313
|
+
t() && m.question.isProgressBottomShowing ? (i(), q(b, {
|
|
3274
3314
|
key: 3,
|
|
3275
3315
|
question: m.question
|
|
3276
3316
|
}, null, 8, ["question"])) : d("", !0),
|
|
@@ -3285,7 +3325,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3285
3325
|
], 2);
|
|
3286
3326
|
};
|
|
3287
3327
|
}
|
|
3288
|
-
}),
|
|
3328
|
+
}), Lo = /* @__PURE__ */ h({
|
|
3289
3329
|
__name: "PanelDynamicProgress",
|
|
3290
3330
|
props: {
|
|
3291
3331
|
question: {}
|
|
@@ -3304,7 +3344,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3304
3344
|
c("div", {
|
|
3305
3345
|
class: l(e.question.cssClasses.progressContainer)
|
|
3306
3346
|
}, [
|
|
3307
|
-
|
|
3347
|
+
C(t, {
|
|
3308
3348
|
data: { question: e.question }
|
|
3309
3349
|
}, null, 8, ["data"]),
|
|
3310
3350
|
e.question.isRangeShowing ? (i(), u("div", {
|
|
@@ -3317,21 +3357,21 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3317
3357
|
role: "progressbar"
|
|
3318
3358
|
}, null, 6)
|
|
3319
3359
|
], 2)) : d("", !0),
|
|
3320
|
-
|
|
3360
|
+
C(a, {
|
|
3321
3361
|
data: { question: e.question }
|
|
3322
3362
|
}, null, 8, ["data"])
|
|
3323
3363
|
], 2),
|
|
3324
|
-
|
|
3364
|
+
C(y, {
|
|
3325
3365
|
data: { question: e.question }
|
|
3326
3366
|
}, null, 8, ["data"]),
|
|
3327
|
-
|
|
3367
|
+
C(m, {
|
|
3328
3368
|
data: { question: e.question }
|
|
3329
3369
|
}, null, 8, ["data"])
|
|
3330
3370
|
], 2)
|
|
3331
3371
|
], 2);
|
|
3332
3372
|
};
|
|
3333
3373
|
}
|
|
3334
|
-
}),
|
|
3374
|
+
}), No = /* @__PURE__ */ h({
|
|
3335
3375
|
__name: "PanelDynamicProgressV2",
|
|
3336
3376
|
props: {
|
|
3337
3377
|
question: {}
|
|
@@ -3360,7 +3400,7 @@ const fo = ["disabled"], Io = /* @__PURE__ */ h({
|
|
|
3360
3400
|
key: 1,
|
|
3361
3401
|
class: l(s.question.cssClasses.footerButtonsContainer)
|
|
3362
3402
|
}, [
|
|
3363
|
-
|
|
3403
|
+
C(e, {
|
|
3364
3404
|
model: s.question.footerToolbar
|
|
3365
3405
|
}, null, 8, ["model"])
|
|
3366
3406
|
], 2)) : d("", !0)
|
|
@@ -3373,7 +3413,7 @@ function Y(r) {
|
|
|
3373
3413
|
() => r.item && r.item.data.question || r.data.question
|
|
3374
3414
|
);
|
|
3375
3415
|
}
|
|
3376
|
-
const
|
|
3416
|
+
const Po = /* @__PURE__ */ h({
|
|
3377
3417
|
__name: "PaneldynamicAddBtn",
|
|
3378
3418
|
props: {
|
|
3379
3419
|
item: {},
|
|
@@ -3394,7 +3434,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3394
3434
|
}, R(f(o).panelAddText), 3)
|
|
3395
3435
|
], 2)) : d("", !0);
|
|
3396
3436
|
}
|
|
3397
|
-
}),
|
|
3437
|
+
}), Ao = ["title"], Mo = /* @__PURE__ */ h({
|
|
3398
3438
|
__name: "PaneldynamicNextBtn",
|
|
3399
3439
|
props: {
|
|
3400
3440
|
item: {},
|
|
@@ -3411,14 +3451,14 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3411
3451
|
onClick: e,
|
|
3412
3452
|
class: l(f(o).getNextButtonCss())
|
|
3413
3453
|
}, [
|
|
3414
|
-
|
|
3454
|
+
C(a, {
|
|
3415
3455
|
iconName: f(o).cssClasses.progressBtnIcon,
|
|
3416
3456
|
size: "auto"
|
|
3417
3457
|
}, null, 8, ["iconName"])
|
|
3418
|
-
], 10,
|
|
3458
|
+
], 10, Ao);
|
|
3419
3459
|
};
|
|
3420
3460
|
}
|
|
3421
|
-
}),
|
|
3461
|
+
}), Ho = ["title"], Wo = /* @__PURE__ */ h({
|
|
3422
3462
|
__name: "PaneldynamicPrevBtn",
|
|
3423
3463
|
props: {
|
|
3424
3464
|
item: {},
|
|
@@ -3435,14 +3475,14 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3435
3475
|
onClick: e,
|
|
3436
3476
|
class: l(f(o).getPrevButtonCss())
|
|
3437
3477
|
}, [
|
|
3438
|
-
|
|
3478
|
+
C(a, {
|
|
3439
3479
|
iconName: f(o).cssClasses.progressBtnIcon,
|
|
3440
3480
|
size: "auto"
|
|
3441
3481
|
}, null, 8, ["iconName"])
|
|
3442
|
-
], 10,
|
|
3482
|
+
], 10, Ho);
|
|
3443
3483
|
};
|
|
3444
3484
|
}
|
|
3445
|
-
}),
|
|
3485
|
+
}), Eo = /* @__PURE__ */ h({
|
|
3446
3486
|
__name: "PaneldynamicRemoveBtn",
|
|
3447
3487
|
props: {
|
|
3448
3488
|
item: {},
|
|
@@ -3467,7 +3507,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3467
3507
|
}, null, 2)
|
|
3468
3508
|
], 2));
|
|
3469
3509
|
}
|
|
3470
|
-
}),
|
|
3510
|
+
}), Vo = /* @__PURE__ */ h({
|
|
3471
3511
|
__name: "PaneldynamicProgressText",
|
|
3472
3512
|
props: {
|
|
3473
3513
|
item: {},
|
|
@@ -3479,7 +3519,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3479
3519
|
class: l(f(o).cssClasses.progressText)
|
|
3480
3520
|
}, R(f(o).progressText), 3));
|
|
3481
3521
|
}
|
|
3482
|
-
}),
|
|
3522
|
+
}), Oo = ["id"], Fo = /* @__PURE__ */ h({
|
|
3483
3523
|
__name: "Errors",
|
|
3484
3524
|
props: {
|
|
3485
3525
|
element: {},
|
|
@@ -3512,21 +3552,21 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3512
3552
|
o.element.cssClasses ? o.element.cssClasses.error.item || void 0 : "panel-error-item"
|
|
3513
3553
|
)
|
|
3514
3554
|
}, [
|
|
3515
|
-
|
|
3555
|
+
C(n, {
|
|
3516
3556
|
locString: t.locText
|
|
3517
3557
|
}, null, 8, ["locString"])
|
|
3518
3558
|
], 2)
|
|
3519
3559
|
]))), 128))
|
|
3520
|
-
], 10,
|
|
3560
|
+
], 10, Oo)) : d("", !0);
|
|
3521
3561
|
};
|
|
3522
3562
|
}
|
|
3523
|
-
}),
|
|
3563
|
+
}), zo = { key: 0 }, Uo = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], Ko = /* @__PURE__ */ h({
|
|
3524
3564
|
__name: "QuestionComment",
|
|
3525
3565
|
props: {
|
|
3526
3566
|
question: {}
|
|
3527
3567
|
},
|
|
3528
3568
|
setup(r) {
|
|
3529
|
-
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
3569
|
+
return (s, o) => s.question.isReadOnlyRenderDiv() ? (i(), u("div", zo, R(s.question.comment), 1)) : (i(), u("textarea", {
|
|
3530
3570
|
key: 1,
|
|
3531
3571
|
id: s.question.commentId,
|
|
3532
3572
|
readonly: s.question.isInputReadOnly,
|
|
@@ -3544,9 +3584,9 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3544
3584
|
onInput: o[1] || (o[1] = (e) => {
|
|
3545
3585
|
s.question.onCommentInput(e);
|
|
3546
3586
|
})
|
|
3547
|
-
}, null, 46,
|
|
3587
|
+
}, null, 46, Uo));
|
|
3548
3588
|
}
|
|
3549
|
-
}),
|
|
3589
|
+
}), jo = /* @__PURE__ */ h({
|
|
3550
3590
|
__name: "TitleElement",
|
|
3551
3591
|
props: {
|
|
3552
3592
|
element: {},
|
|
@@ -3554,7 +3594,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3554
3594
|
},
|
|
3555
3595
|
setup(r) {
|
|
3556
3596
|
const s = (o) => {
|
|
3557
|
-
|
|
3597
|
+
ge(o);
|
|
3558
3598
|
};
|
|
3559
3599
|
return (o, e) => {
|
|
3560
3600
|
const n = p("survey-element-title-content"), t = p("sv-title-actions");
|
|
@@ -3570,7 +3610,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3570
3610
|
s(a);
|
|
3571
3611
|
})
|
|
3572
3612
|
}, {
|
|
3573
|
-
default:
|
|
3613
|
+
default: O(() => [
|
|
3574
3614
|
o.element.hasTitleActions ? d("", !0) : (i(), q(n, {
|
|
3575
3615
|
key: 0,
|
|
3576
3616
|
element: o.element,
|
|
@@ -3586,7 +3626,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3586
3626
|
}, 40, ["class", "aria-label", "id", "tabindex", "aria-expanded", "role"])) : d("", !0);
|
|
3587
3627
|
};
|
|
3588
3628
|
}
|
|
3589
|
-
}),
|
|
3629
|
+
}), Qo = { key: 3 }, Go = { key: 5 }, Jo = { key: 7 }, Xo = /* @__PURE__ */ h({
|
|
3590
3630
|
inheritAttrs: !1,
|
|
3591
3631
|
__name: "TitleContent",
|
|
3592
3632
|
props: {
|
|
@@ -3612,18 +3652,18 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3612
3652
|
class: l(s.element.cssTitleNumber),
|
|
3613
3653
|
"aria-hidden": !0
|
|
3614
3654
|
}, R(s.element.no), 3)) : d("", !0),
|
|
3615
|
-
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span",
|
|
3655
|
+
!s.element.isTitleRenderedAsString && s.element.no ? (i(), u("span", Qo, "\xA0")) : d("", !0),
|
|
3616
3656
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", {
|
|
3617
3657
|
key: 4,
|
|
3618
3658
|
class: l(s.element.cssClasses.requiredText),
|
|
3619
3659
|
"aria-hidden": !0
|
|
3620
3660
|
}, R(s.element.requiredText), 3)) : d("", !0),
|
|
3621
|
-
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span",
|
|
3661
|
+
!s.element.isTitleRenderedAsString && s.element.isRequireTextBeforeTitle ? (i(), u("span", Go, "\xA0")) : d("", !0),
|
|
3622
3662
|
s.element.isTitleRenderedAsString ? d("", !0) : (i(), q(e, {
|
|
3623
3663
|
key: 6,
|
|
3624
3664
|
locString: s.element.locTitle
|
|
3625
3665
|
}, null, 8, ["locString"])),
|
|
3626
|
-
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span",
|
|
3666
|
+
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span", Jo, "\xA0")) : d("", !0),
|
|
3627
3667
|
!s.element.isTitleRenderedAsString && s.element.isRequireTextAfterTitle ? (i(), u("span", {
|
|
3628
3668
|
key: 8,
|
|
3629
3669
|
class: l(s.element.cssClasses.requiredText),
|
|
@@ -3632,7 +3672,7 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3632
3672
|
], 64);
|
|
3633
3673
|
};
|
|
3634
3674
|
}
|
|
3635
|
-
}),
|
|
3675
|
+
}), Yo = { class: "sv-title-actions" }, Zo = { class: "sv-title-actions__title" }, xo = /* @__PURE__ */ h({
|
|
3636
3676
|
__name: "TitleActions",
|
|
3637
3677
|
props: {
|
|
3638
3678
|
element: {},
|
|
@@ -3642,8 +3682,8 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3642
3682
|
const s = r, o = w(() => s.element.getTitleToolbar());
|
|
3643
3683
|
return (e, n) => {
|
|
3644
3684
|
const t = p("survey-string"), a = p("survey-element-title-content"), y = p("sv-action-bar");
|
|
3645
|
-
return i(), u("div",
|
|
3646
|
-
c("span",
|
|
3685
|
+
return i(), u("div", Yo, [
|
|
3686
|
+
c("span", Zo, [
|
|
3647
3687
|
e.element.isPage ? (i(), q(t, {
|
|
3648
3688
|
key: 0,
|
|
3649
3689
|
locString: e.element.locTitle
|
|
@@ -3654,24 +3694,24 @@ const Bo = /* @__PURE__ */ h({
|
|
|
3654
3694
|
css: e.css
|
|
3655
3695
|
}, null, 8, ["element", "css"]))
|
|
3656
3696
|
]),
|
|
3657
|
-
|
|
3697
|
+
C(y, { model: o.value }, null, 8, ["model"])
|
|
3658
3698
|
]);
|
|
3659
3699
|
};
|
|
3660
3700
|
}
|
|
3661
|
-
}),
|
|
3701
|
+
}), Ce = (r, s) => {
|
|
3662
3702
|
const o = r.__vccOpts || r;
|
|
3663
3703
|
for (const [e, n] of s)
|
|
3664
3704
|
o[e] = n;
|
|
3665
3705
|
return o;
|
|
3666
|
-
},
|
|
3667
|
-
|
|
3706
|
+
}, et = {}, st = { class: "sv-brand-info" }, nt = /* @__PURE__ */ Se('<a class="sv-brand-info__logo" href="https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page"><img src="https://surveyjs.io/Content/Images/poweredby.svg"></a><div class="sv-brand-info__text"> Try and see how easy it is to <a href="https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey">create a survey</a></div><div class="sv-brand-info__terms"><a href="https://surveyjs.io/TermsOfUse">Terms of Use & Privacy Statement</a></div>', 3), ot = [
|
|
3707
|
+
nt
|
|
3668
3708
|
];
|
|
3669
|
-
function
|
|
3670
|
-
return i(), u("div",
|
|
3709
|
+
function tt(r, s) {
|
|
3710
|
+
return i(), u("div", st, ot);
|
|
3671
3711
|
}
|
|
3672
|
-
const
|
|
3673
|
-
|
|
3674
|
-
],
|
|
3712
|
+
const it = /* @__PURE__ */ Ce(et, [["render", tt]]), rt = /* @__PURE__ */ c("use", null, null, -1), lt = [
|
|
3713
|
+
rt
|
|
3714
|
+
], at = /* @__PURE__ */ h({
|
|
3675
3715
|
__name: "SvgIcon",
|
|
3676
3716
|
props: {
|
|
3677
3717
|
size: {},
|
|
@@ -3682,7 +3722,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3682
3722
|
},
|
|
3683
3723
|
setup(r) {
|
|
3684
3724
|
const s = r, o = _(), e = () => {
|
|
3685
|
-
|
|
3725
|
+
Pe(
|
|
3686
3726
|
s.size,
|
|
3687
3727
|
s.width,
|
|
3688
3728
|
s.height,
|
|
@@ -3700,9 +3740,9 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3700
3740
|
ref: o,
|
|
3701
3741
|
class: "sv-svg-icon",
|
|
3702
3742
|
role: "img"
|
|
3703
|
-
},
|
|
3743
|
+
}, lt, 512));
|
|
3704
3744
|
}
|
|
3705
|
-
}),
|
|
3745
|
+
}), ut = /* @__PURE__ */ h({
|
|
3706
3746
|
__name: "ActionBar",
|
|
3707
3747
|
props: {
|
|
3708
3748
|
model: {},
|
|
@@ -3714,10 +3754,10 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3714
3754
|
s.handleClick && t.stopPropagation();
|
|
3715
3755
|
};
|
|
3716
3756
|
L(() => s.model);
|
|
3717
|
-
const n =
|
|
3757
|
+
const n = le(() => s.model.renderedActions);
|
|
3718
3758
|
return H(() => {
|
|
3719
3759
|
!s.model.hasActions || s.model.initResponsivityManager(o.value);
|
|
3720
|
-
}),
|
|
3760
|
+
}), U(() => {
|
|
3721
3761
|
s.model.resetResponsivityManager();
|
|
3722
3762
|
}), (t, a) => {
|
|
3723
3763
|
const y = p("sv-action");
|
|
@@ -3728,14 +3768,14 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3728
3768
|
class: l(t.model.getRootCss()),
|
|
3729
3769
|
onClick: e
|
|
3730
3770
|
}, [
|
|
3731
|
-
(i(!0), u($, null, B(n
|
|
3771
|
+
(i(!0), u($, null, B(f(n), (m) => (i(), q(y, {
|
|
3732
3772
|
key: m.id,
|
|
3733
3773
|
item: m
|
|
3734
3774
|
}, null, 8, ["item"]))), 128))
|
|
3735
3775
|
], 2)) : d("", !0);
|
|
3736
3776
|
};
|
|
3737
3777
|
}
|
|
3738
|
-
}),
|
|
3778
|
+
}), dt = ["id"], mt = { class: "sv-action__content" }, ct = /* @__PURE__ */ h({
|
|
3739
3779
|
__name: "Action",
|
|
3740
3780
|
props: {
|
|
3741
3781
|
item: {}
|
|
@@ -3750,17 +3790,17 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3750
3790
|
class: l(e.item.getActionRootCss()),
|
|
3751
3791
|
id: e.item.id
|
|
3752
3792
|
}, [
|
|
3753
|
-
c("div",
|
|
3793
|
+
c("div", mt, [
|
|
3754
3794
|
e.item.needSeparator ? (i(), q(t, { key: 0 })) : d("", !0),
|
|
3755
3795
|
(i(), q(T(o.value), { item: e.item }, null, 8, ["item"]))
|
|
3756
3796
|
])
|
|
3757
|
-
], 10,
|
|
3797
|
+
], 10, dt);
|
|
3758
3798
|
};
|
|
3759
3799
|
}
|
|
3760
|
-
}),
|
|
3800
|
+
}), pt = ["disabled", "title", "aria-checked", "aria-expanded", "role"], vt = {
|
|
3761
3801
|
inheritAttrs: !1
|
|
3762
|
-
},
|
|
3763
|
-
...
|
|
3802
|
+
}, yt = /* @__PURE__ */ h({
|
|
3803
|
+
...vt,
|
|
3764
3804
|
__name: "ActionBarItem",
|
|
3765
3805
|
props: {
|
|
3766
3806
|
item: {}
|
|
@@ -3795,26 +3835,26 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3795
3835
|
key: 1,
|
|
3796
3836
|
class: l(o.item.getActionBarItemTitleCss())
|
|
3797
3837
|
}, R(o.item.title), 3)) : d("", !0)
|
|
3798
|
-
], 42,
|
|
3838
|
+
], 42, pt)), [
|
|
3799
3839
|
[t, { processEsc: !1, disableTabStop: o.item.disableTabStop }]
|
|
3800
3840
|
]);
|
|
3801
3841
|
};
|
|
3802
3842
|
}
|
|
3803
|
-
}),
|
|
3843
|
+
}), qt = ["disabled", "title", "role"], gt = {
|
|
3804
3844
|
inheritAttrs: !1
|
|
3805
|
-
},
|
|
3806
|
-
...
|
|
3845
|
+
}, ht = /* @__PURE__ */ h({
|
|
3846
|
+
...gt,
|
|
3807
3847
|
__name: "ActionBarItemDropdown",
|
|
3808
3848
|
props: {
|
|
3809
3849
|
item: {}
|
|
3810
3850
|
},
|
|
3811
3851
|
setup(r) {
|
|
3812
|
-
const s = r, o =
|
|
3852
|
+
const s = r, o = Me;
|
|
3813
3853
|
let e;
|
|
3814
3854
|
return L(
|
|
3815
3855
|
() => s.item,
|
|
3816
3856
|
(n) => {
|
|
3817
|
-
e = new
|
|
3857
|
+
e = new Ae(n);
|
|
3818
3858
|
},
|
|
3819
3859
|
() => {
|
|
3820
3860
|
e.dispose();
|
|
@@ -3846,17 +3886,17 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3846
3886
|
key: 1,
|
|
3847
3887
|
class: l(n.item.getActionBarItemTitleCss())
|
|
3848
3888
|
}, R(n.item.title), 3)) : d("", !0)
|
|
3849
|
-
], 42,
|
|
3889
|
+
], 42, qt)), [
|
|
3850
3890
|
[m, { processEsc: !1, disableTabStop: n.item.disableTabStop }]
|
|
3851
3891
|
]),
|
|
3852
|
-
|
|
3892
|
+
C(y, {
|
|
3853
3893
|
model: n.item.popupModel,
|
|
3854
3894
|
getTarget: f(o)
|
|
3855
3895
|
}, null, 8, ["model", "getTarget"])
|
|
3856
3896
|
], 64);
|
|
3857
3897
|
};
|
|
3858
3898
|
}
|
|
3859
|
-
}),
|
|
3899
|
+
}), Ct = /* @__PURE__ */ h({
|
|
3860
3900
|
__name: "ActionBarSeparator",
|
|
3861
3901
|
props: {
|
|
3862
3902
|
item: {}
|
|
@@ -3867,7 +3907,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3867
3907
|
class: l(["sv-action-bar-separator", o.value])
|
|
3868
3908
|
}, null, 2));
|
|
3869
3909
|
}
|
|
3870
|
-
}),
|
|
3910
|
+
}), bt = ["aria-label", "placeholder", "value"], kt = ["aria-label"], ft = ["id"], It = /* @__PURE__ */ h({
|
|
3871
3911
|
__name: "List",
|
|
3872
3912
|
props: {
|
|
3873
3913
|
model: {}
|
|
@@ -3898,7 +3938,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3898
3938
|
c("div", {
|
|
3899
3939
|
class: l(a.model.cssClasses.filterIcon)
|
|
3900
3940
|
}, [
|
|
3901
|
-
|
|
3941
|
+
C(m, {
|
|
3902
3942
|
iconName: "icon-search",
|
|
3903
3943
|
size: "auto"
|
|
3904
3944
|
})
|
|
@@ -3911,7 +3951,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3911
3951
|
value: a.model.filterString,
|
|
3912
3952
|
onChange: e,
|
|
3913
3953
|
onKeyup: n
|
|
3914
|
-
}, null, 42,
|
|
3954
|
+
}, null, 42, bt),
|
|
3915
3955
|
a.model.showSearchClearButton && !!a.model.filterString ? (i(), u("button", {
|
|
3916
3956
|
key: 0,
|
|
3917
3957
|
onClick: y[0] || (y[0] = (g) => {
|
|
@@ -3919,7 +3959,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3919
3959
|
}),
|
|
3920
3960
|
class: l(a.model.cssClasses.searchClearButtonIcon)
|
|
3921
3961
|
}, [
|
|
3922
|
-
|
|
3962
|
+
C(m, {
|
|
3923
3963
|
iconName: "icon-searchclear",
|
|
3924
3964
|
size: "auto"
|
|
3925
3965
|
})
|
|
@@ -3931,7 +3971,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3931
3971
|
c("div", {
|
|
3932
3972
|
class: l(a.model.cssClasses.emptyText),
|
|
3933
3973
|
"aria-label": a.model.emptyMessage
|
|
3934
|
-
}, R(a.model.emptyMessage), 11,
|
|
3974
|
+
}, R(a.model.emptyMessage), 11, kt)
|
|
3935
3975
|
], 2), [
|
|
3936
3976
|
[M, a.model.isEmpty]
|
|
3937
3977
|
]),
|
|
@@ -3953,13 +3993,13 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
3953
3993
|
model: a.model,
|
|
3954
3994
|
key: g.id
|
|
3955
3995
|
}, null, 8, ["item", "model"]))), 128))
|
|
3956
|
-
], 42,
|
|
3996
|
+
], 42, ft)), [
|
|
3957
3997
|
[M, !a.model.isEmpty]
|
|
3958
3998
|
]) : d("", !0)
|
|
3959
3999
|
], 2);
|
|
3960
4000
|
};
|
|
3961
4001
|
}
|
|
3962
|
-
}),
|
|
4002
|
+
}), wt = ["aria-selected", "id"], St = ["title"], Rt = /* @__PURE__ */ h({
|
|
3963
4003
|
__name: "ListItem",
|
|
3964
4004
|
props: {
|
|
3965
4005
|
model: {},
|
|
@@ -4008,27 +4048,27 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4008
4048
|
key: 2,
|
|
4009
4049
|
item: n.item
|
|
4010
4050
|
}, null, 8, ["item"])) : d("", !0)
|
|
4011
|
-
], 14,
|
|
4012
|
-
], 42,
|
|
4051
|
+
], 14, St)
|
|
4052
|
+
], 42, wt)), [
|
|
4013
4053
|
[M, n.model.isItemVisible(n.item)],
|
|
4014
4054
|
[m]
|
|
4015
4055
|
]);
|
|
4016
4056
|
};
|
|
4017
4057
|
}
|
|
4018
|
-
}),
|
|
4058
|
+
}), Tt = /* @__PURE__ */ h({
|
|
4019
4059
|
__name: "Popup",
|
|
4020
4060
|
props: {
|
|
4021
4061
|
getTarget: { type: Function },
|
|
4022
4062
|
model: {}
|
|
4023
4063
|
},
|
|
4024
4064
|
setup(r) {
|
|
4025
|
-
const s = r, o =
|
|
4026
|
-
|
|
4065
|
+
const s = r, o = z(
|
|
4066
|
+
de(s.model, void 0)
|
|
4027
4067
|
), e = _(null);
|
|
4028
|
-
return
|
|
4068
|
+
return J(
|
|
4029
4069
|
() => s.model,
|
|
4030
4070
|
(n) => {
|
|
4031
|
-
o.value.dispose(), o.value =
|
|
4071
|
+
o.value.dispose(), o.value = de(n, void 0);
|
|
4032
4072
|
},
|
|
4033
4073
|
{ immediate: !0 }
|
|
4034
4074
|
), L(() => o.value), H(() => {
|
|
@@ -4037,7 +4077,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4037
4077
|
n,
|
|
4038
4078
|
s.getTarget ? s.getTarget(n) : void 0
|
|
4039
4079
|
);
|
|
4040
|
-
}),
|
|
4080
|
+
}), U(() => {
|
|
4041
4081
|
o.value.dispose();
|
|
4042
4082
|
}), (n, t) => {
|
|
4043
4083
|
const a = p("sv-popup-container");
|
|
@@ -4045,17 +4085,17 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4045
4085
|
ref_key: "root",
|
|
4046
4086
|
ref: e
|
|
4047
4087
|
}, [
|
|
4048
|
-
|
|
4088
|
+
C(a, { model: o.value }, null, 8, ["model"])
|
|
4049
4089
|
], 512);
|
|
4050
4090
|
};
|
|
4051
4091
|
}
|
|
4052
|
-
}),
|
|
4092
|
+
}), $t = { class: "sv-popup__shadow" }, _t = { class: "sv-popup__body-content" }, Dt = {
|
|
4053
4093
|
key: 0,
|
|
4054
4094
|
class: "sv-popup__body-header"
|
|
4055
|
-
},
|
|
4095
|
+
}, Bt = { class: "sv-popup__scrolling-content" }, Lt = { class: "sv-popup__content" }, Nt = {
|
|
4056
4096
|
key: 1,
|
|
4057
4097
|
class: "sv-popup__body-footer"
|
|
4058
|
-
},
|
|
4098
|
+
}, Pt = /* @__PURE__ */ h({
|
|
4059
4099
|
__name: "PopupContainer",
|
|
4060
4100
|
props: {
|
|
4061
4101
|
model: {}
|
|
@@ -4094,20 +4134,20 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4094
4134
|
}),
|
|
4095
4135
|
onClick: e
|
|
4096
4136
|
}, [
|
|
4097
|
-
c("div",
|
|
4137
|
+
c("div", $t, [
|
|
4098
4138
|
n.model.showHeader ? (i(), q(T(n.model.popupHeaderTemplate), {
|
|
4099
4139
|
key: 0,
|
|
4100
4140
|
model: n.model
|
|
4101
4141
|
}, null, 8, ["model"])) : d("", !0),
|
|
4102
|
-
c("div",
|
|
4103
|
-
n.model.title ? (i(), u("div",
|
|
4104
|
-
c("div",
|
|
4105
|
-
c("div",
|
|
4106
|
-
(i(), q(T(n.model.contentComponentName), F(
|
|
4142
|
+
c("div", _t, [
|
|
4143
|
+
n.model.title ? (i(), u("div", Dt, R(n.model.title), 1)) : d("", !0),
|
|
4144
|
+
c("div", Bt, [
|
|
4145
|
+
c("div", Lt, [
|
|
4146
|
+
(i(), q(T(n.model.contentComponentName), F(oe(n.model.contentComponentData)), null, 16))
|
|
4107
4147
|
])
|
|
4108
4148
|
]),
|
|
4109
|
-
n.model.showFooter ? (i(), u("div",
|
|
4110
|
-
|
|
4149
|
+
n.model.showFooter ? (i(), u("div", Nt, [
|
|
4150
|
+
C(a, {
|
|
4111
4151
|
model: n.model.footerToolbar
|
|
4112
4152
|
}, null, 8, ["model"])
|
|
4113
4153
|
])) : d("", !0)
|
|
@@ -4119,7 +4159,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4119
4159
|
]);
|
|
4120
4160
|
};
|
|
4121
4161
|
}
|
|
4122
|
-
}),
|
|
4162
|
+
}), At = /* @__PURE__ */ h({
|
|
4123
4163
|
__name: "PopupPointer",
|
|
4124
4164
|
props: {
|
|
4125
4165
|
model: {}
|
|
@@ -4133,10 +4173,10 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4133
4173
|
})
|
|
4134
4174
|
}, null, 4));
|
|
4135
4175
|
}
|
|
4136
|
-
}),
|
|
4176
|
+
}), Mt = {
|
|
4137
4177
|
key: 0,
|
|
4138
4178
|
class: "sv-components-column"
|
|
4139
|
-
},
|
|
4179
|
+
}, Ht = /* @__PURE__ */ h({
|
|
4140
4180
|
__name: "Container",
|
|
4141
4181
|
props: {
|
|
4142
4182
|
survey: {},
|
|
@@ -4148,7 +4188,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4148
4188
|
() => s.survey.getContainerContent(s.container)
|
|
4149
4189
|
);
|
|
4150
4190
|
return (e, n) => o.value.length > 0 ? (i(), u($, { key: 0 }, [
|
|
4151
|
-
e.needRenderWrapper ? (i(), u("div",
|
|
4191
|
+
e.needRenderWrapper ? (i(), u("div", Mt, [
|
|
4152
4192
|
(i(!0), u($, null, B(o.value, (t, a) => (i(), q(T(t.component), {
|
|
4153
4193
|
survey: e.survey,
|
|
4154
4194
|
container: e.container,
|
|
@@ -4168,7 +4208,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4168
4208
|
css: {}
|
|
4169
4209
|
},
|
|
4170
4210
|
setup(r) {
|
|
4171
|
-
const s = r, o = w(() => s.survey.progressValue + "%"), e = (t) =>
|
|
4211
|
+
const s = r, o = w(() => s.survey.progressValue + "%"), e = (t) => me.getProgressTextInBarCss(t), n = (t) => me.getProgressTextUnderBarCss(t);
|
|
4172
4212
|
return (t, a) => (i(), u("div", {
|
|
4173
4213
|
class: l(t.survey.getProgressCssClasses(t.container))
|
|
4174
4214
|
}, [
|
|
@@ -4189,28 +4229,28 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4189
4229
|
}, R(t.survey.progressText), 3)
|
|
4190
4230
|
], 2));
|
|
4191
4231
|
}
|
|
4192
|
-
}),
|
|
4232
|
+
}), Wt = ["onClick"], Et = ["title"], Vt = ["title"], Ot = /* @__PURE__ */ h({
|
|
4193
4233
|
__name: "ProgressButtons",
|
|
4194
4234
|
props: {
|
|
4195
4235
|
survey: {}
|
|
4196
4236
|
},
|
|
4197
4237
|
setup(r) {
|
|
4198
|
-
const s = r, o = new
|
|
4238
|
+
const s = r, o = new He(s.survey), e = _(!1), n = _(), t = w(() => s.survey.css);
|
|
4199
4239
|
let a;
|
|
4200
|
-
const y = (
|
|
4201
|
-
o.clickListElement(
|
|
4202
|
-
}, g = (
|
|
4240
|
+
const y = (b) => o.isListElementClickable(b), m = (b) => o.getListElementCss(b), v = (b) => {
|
|
4241
|
+
o.clickListElement(b);
|
|
4242
|
+
}, g = (b, N) => o.getScrollButtonCss(b, N), I = (b) => {
|
|
4203
4243
|
let N = n.value;
|
|
4204
|
-
N.scrollLeft += (
|
|
4244
|
+
N.scrollLeft += (b ? -1 : 1) * 70;
|
|
4205
4245
|
};
|
|
4206
4246
|
return H(() => {
|
|
4207
|
-
const
|
|
4247
|
+
const b = n.value;
|
|
4208
4248
|
a = setInterval(() => {
|
|
4209
|
-
e.value =
|
|
4249
|
+
e.value = b.scrollWidth > b.offsetWidth;
|
|
4210
4250
|
}, 100);
|
|
4211
|
-
}),
|
|
4251
|
+
}), Q(() => {
|
|
4212
4252
|
typeof a < "u" && (clearInterval(a), a = void 0);
|
|
4213
|
-
}), (
|
|
4253
|
+
}), (b, N) => (i(), u("div", {
|
|
4214
4254
|
class: l(t.value.progressButtonsContainerCenter)
|
|
4215
4255
|
}, [
|
|
4216
4256
|
c("div", {
|
|
@@ -4229,7 +4269,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4229
4269
|
c("ul", {
|
|
4230
4270
|
class: l(t.value.progressButtonsList)
|
|
4231
4271
|
}, [
|
|
4232
|
-
(i(!0), u($, null, B(
|
|
4272
|
+
(i(!0), u($, null, B(b.survey.visiblePages, (k, D) => (i(), u("li", {
|
|
4233
4273
|
key: "listelement" + D,
|
|
4234
4274
|
class: l(m(D)),
|
|
4235
4275
|
onClick: (E) => y(D) ? v(D) : null
|
|
@@ -4237,12 +4277,12 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4237
4277
|
c("div", {
|
|
4238
4278
|
class: l(t.value.progressButtonsPageTitle),
|
|
4239
4279
|
title: k.renderedNavigationTitle
|
|
4240
|
-
}, R(k.renderedNavigationTitle), 11,
|
|
4280
|
+
}, R(k.renderedNavigationTitle), 11, Et),
|
|
4241
4281
|
c("div", {
|
|
4242
4282
|
class: l(t.value.progressButtonsPageDescription),
|
|
4243
4283
|
title: k.locNavigationDescription.renderedHtml
|
|
4244
|
-
}, R(k.locNavigationDescription.renderedHtml), 11,
|
|
4245
|
-
], 10,
|
|
4284
|
+
}, R(k.locNavigationDescription.renderedHtml), 11, Vt)
|
|
4285
|
+
], 10, Wt))), 128))
|
|
4246
4286
|
], 2)
|
|
4247
4287
|
], 2),
|
|
4248
4288
|
c("div", {
|
|
@@ -4253,13 +4293,13 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4253
4293
|
], 2)
|
|
4254
4294
|
], 2));
|
|
4255
4295
|
}
|
|
4256
|
-
}),
|
|
4296
|
+
}), Ft = /* @__PURE__ */ h({
|
|
4257
4297
|
__name: "ProgressToc",
|
|
4258
4298
|
props: {
|
|
4259
4299
|
survey: {}
|
|
4260
4300
|
},
|
|
4261
4301
|
setup(r) {
|
|
4262
|
-
const s = r, o = new
|
|
4302
|
+
const s = r, o = new We(s.survey);
|
|
4263
4303
|
return (e, n) => {
|
|
4264
4304
|
const t = p("sv-svg-icon"), a = p("sv-popup"), y = p("sv-list"), m = X("key2click");
|
|
4265
4305
|
return i(), u("div", {
|
|
@@ -4269,11 +4309,11 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4269
4309
|
key: 0,
|
|
4270
4310
|
onClick: n[0] || (n[0] = (...v) => f(o).togglePopup && f(o).togglePopup(...v))
|
|
4271
4311
|
}, [
|
|
4272
|
-
|
|
4312
|
+
C(t, {
|
|
4273
4313
|
iconName: f(o).icon,
|
|
4274
4314
|
size: 24
|
|
4275
4315
|
}, null, 8, ["iconName"]),
|
|
4276
|
-
|
|
4316
|
+
C(a, {
|
|
4277
4317
|
model: f(o).popupModel
|
|
4278
4318
|
}, null, 8, ["model"])
|
|
4279
4319
|
])), [
|
|
@@ -4285,10 +4325,10 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4285
4325
|
], 2);
|
|
4286
4326
|
};
|
|
4287
4327
|
}
|
|
4288
|
-
}),
|
|
4328
|
+
}), zt = { onsubmit: "return false;" }, Ut = {
|
|
4289
4329
|
key: 0,
|
|
4290
4330
|
class: "sv_custom_header"
|
|
4291
|
-
},
|
|
4331
|
+
}, Kt = { class: "sv-components-column sv-components-column--expandable" }, jt = ["id"], Qt = { key: 2 }, Gt = ["innerHTML"], Jt = ["innerHTML"], Xt = ["innerHTML"], ve = /* @__PURE__ */ h({
|
|
4292
4332
|
__name: "Survey",
|
|
4293
4333
|
props: {
|
|
4294
4334
|
model: {},
|
|
@@ -4296,26 +4336,26 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4296
4336
|
},
|
|
4297
4337
|
setup(r) {
|
|
4298
4338
|
const s = r, o = _(), e = _(""), n = _(1), t = w(() => {
|
|
4299
|
-
const
|
|
4300
|
-
return
|
|
4339
|
+
const b = s.survey ? s.survey : s.model;
|
|
4340
|
+
return Re(b);
|
|
4301
4341
|
}), a = w(() => t.value.activePage ? t.value.activePage.id : ""), y = () => {
|
|
4302
|
-
const
|
|
4303
|
-
return !!t.value &&
|
|
4342
|
+
const b = a.value;
|
|
4343
|
+
return !!t.value && b + n.value.toString();
|
|
4304
4344
|
}, m = w(
|
|
4305
4345
|
() => t.value.showCompletedPage && t.value.state === "completed"
|
|
4306
4346
|
), v = w(() => t.value.css), g = w(() => "page" + y()), I = () => m.value ? (e.value || (e.value = t.value.processedCompletedHtml), e.value) : "";
|
|
4307
4347
|
return L(() => t.value), H(() => {
|
|
4308
4348
|
if (!!t.value) {
|
|
4309
|
-
var
|
|
4310
|
-
|
|
4349
|
+
var b = o.value;
|
|
4350
|
+
b && t.value.afterRenderSurvey(b), t.value.renderCallback = () => {
|
|
4311
4351
|
var N, k;
|
|
4312
|
-
n.value++, (k = (N =
|
|
4352
|
+
n.value++, (k = (N = ie()) == null ? void 0 : N.proxy) == null || k.$forceUpdate();
|
|
4313
4353
|
}, t.value.startTimerFromUI();
|
|
4314
4354
|
}
|
|
4315
|
-
}),
|
|
4355
|
+
}), U(() => {
|
|
4316
4356
|
t.value.stopTimer(), t.value.renderCallback = void 0;
|
|
4317
|
-
}), (
|
|
4318
|
-
const k = p("sv-svg-bundle"), D = p("survey-popup-modal"), E = p("survey-header"),
|
|
4357
|
+
}), (b, N) => {
|
|
4358
|
+
const k = p("sv-svg-bundle"), D = p("survey-popup-modal"), E = p("survey-header"), V = p("survey-page"), K = p("sv-brand-info"), ue = p("sv-notifier");
|
|
4319
4359
|
return i(), u("div", {
|
|
4320
4360
|
class: l(t.value.getRootCss()),
|
|
4321
4361
|
style: S(t.value.themeVariables),
|
|
@@ -4326,14 +4366,14 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4326
4366
|
c("div", {
|
|
4327
4367
|
class: l(t.value.wrapperFormCss)
|
|
4328
4368
|
}, [
|
|
4329
|
-
|
|
4369
|
+
C(D),
|
|
4330
4370
|
t.value.renderBackgroundImage ? (i(), u("div", {
|
|
4331
4371
|
key: 0,
|
|
4332
4372
|
class: l(v.value.rootBackgroundImage),
|
|
4333
4373
|
style: S(t.value.backgroundImageStyle)
|
|
4334
4374
|
}, null, 6)) : d("", !0),
|
|
4335
|
-
c("form",
|
|
4336
|
-
t.value.hasLogo ? d("", !0) : (i(), u("div",
|
|
4375
|
+
c("form", zt, [
|
|
4376
|
+
t.value.hasLogo ? d("", !0) : (i(), u("div", Ut)),
|
|
4337
4377
|
c("div", {
|
|
4338
4378
|
class: l(v.value.container)
|
|
4339
4379
|
}, [
|
|
@@ -4355,7 +4395,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4355
4395
|
container: "left",
|
|
4356
4396
|
needRenderWrapper: !0
|
|
4357
4397
|
}, null, 8, ["survey"])),
|
|
4358
|
-
c("div",
|
|
4398
|
+
c("div", Kt, [
|
|
4359
4399
|
(i(), q(T("sv-components-container"), {
|
|
4360
4400
|
survey: t.value,
|
|
4361
4401
|
container: "center",
|
|
@@ -4371,7 +4411,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4371
4411
|
container: "contentTop",
|
|
4372
4412
|
needRenderWrapper: !0
|
|
4373
4413
|
}, null, 8, ["survey"])),
|
|
4374
|
-
(i(), q(
|
|
4414
|
+
(i(), q(V, {
|
|
4375
4415
|
key: g.value,
|
|
4376
4416
|
survey: t.value,
|
|
4377
4417
|
page: t.value.activePage,
|
|
@@ -4382,7 +4422,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4382
4422
|
container: "contentBottom",
|
|
4383
4423
|
needRenderWrapper: !0
|
|
4384
4424
|
}, null, 8, ["survey"]))
|
|
4385
|
-
], 14,
|
|
4425
|
+
], 14, jt)
|
|
4386
4426
|
]),
|
|
4387
4427
|
(i(), q(T("sv-components-container"), {
|
|
4388
4428
|
survey: t.value,
|
|
@@ -4395,11 +4435,11 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4395
4435
|
container: "footer",
|
|
4396
4436
|
needRenderWrapper: !1
|
|
4397
4437
|
}, null, 8, ["survey"])),
|
|
4398
|
-
m.value ? (i(), u("div",
|
|
4438
|
+
m.value ? (i(), u("div", Qt, [
|
|
4399
4439
|
c("div", {
|
|
4400
4440
|
innerHTML: I(),
|
|
4401
4441
|
class: l(t.value.completedCss)
|
|
4402
|
-
}, null, 10,
|
|
4442
|
+
}, null, 10, Gt),
|
|
4403
4443
|
(i(), q(T("sv-components-container"), {
|
|
4404
4444
|
survey: t.value,
|
|
4405
4445
|
container: "completePage",
|
|
@@ -4410,27 +4450,27 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4410
4450
|
key: 3,
|
|
4411
4451
|
class: l(t.value.completedBeforeCss),
|
|
4412
4452
|
innerHTML: t.value.processedCompletedBeforeHtml
|
|
4413
|
-
}, null, 10,
|
|
4453
|
+
}, null, 10, Jt)) : d("", !0),
|
|
4414
4454
|
t.value.state === "loading" ? (i(), u("div", {
|
|
4415
4455
|
key: 4,
|
|
4416
4456
|
class: l(t.value.loadingBodyCss),
|
|
4417
4457
|
innerHTML: t.value.processedLoadingHtml
|
|
4418
|
-
}, null, 10,
|
|
4458
|
+
}, null, 10, Xt)) : d("", !0),
|
|
4419
4459
|
t.value.state === "empty" ? (i(), u("div", {
|
|
4420
4460
|
key: 5,
|
|
4421
4461
|
class: l(v.value.bodyEmpty)
|
|
4422
4462
|
}, R(t.value.emptySurveyText), 3)) : d("", !0)
|
|
4423
4463
|
], 2)
|
|
4424
4464
|
]),
|
|
4425
|
-
t.value.showBrandInfo ? (i(), q(
|
|
4426
|
-
|
|
4465
|
+
t.value.showBrandInfo ? (i(), q(K, { key: 1 })) : d("", !0),
|
|
4466
|
+
C(ue, {
|
|
4427
4467
|
model: t.value.notifier
|
|
4428
4468
|
}, null, 8, ["model"])
|
|
4429
4469
|
], 2)
|
|
4430
4470
|
], 6);
|
|
4431
4471
|
};
|
|
4432
4472
|
}
|
|
4433
|
-
}),
|
|
4473
|
+
}), Yt = /* @__PURE__ */ h({
|
|
4434
4474
|
__name: "Notifier",
|
|
4435
4475
|
props: {
|
|
4436
4476
|
model: {}
|
|
@@ -4446,7 +4486,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4446
4486
|
"aria-live": "polite"
|
|
4447
4487
|
}, [
|
|
4448
4488
|
c("span", null, R(o.model.message), 1),
|
|
4449
|
-
|
|
4489
|
+
C(n, {
|
|
4450
4490
|
model: o.model.actionBar
|
|
4451
4491
|
}, null, 8, ["model"])
|
|
4452
4492
|
], 6)), [
|
|
@@ -4454,7 +4494,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4454
4494
|
]);
|
|
4455
4495
|
};
|
|
4456
4496
|
}
|
|
4457
|
-
}),
|
|
4497
|
+
}), Zt = ["id", "readonly", "disabled", "value", "maxlength", "placeholder", "aria-label", "aria-required"], xt = { key: 1 }, ei = /* @__PURE__ */ h({
|
|
4458
4498
|
__name: "QuestionOther",
|
|
4459
4499
|
props: {
|
|
4460
4500
|
question: {},
|
|
@@ -4482,11 +4522,11 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4482
4522
|
onInput: o[1] || (o[1] = (e) => {
|
|
4483
4523
|
s.question.onOtherValueInput(e);
|
|
4484
4524
|
})
|
|
4485
|
-
}, null, 46,
|
|
4486
|
-
s.question.isReadOnlyRenderDiv() ? (i(), u("div",
|
|
4525
|
+
}, null, 46, Zt)),
|
|
4526
|
+
s.question.isReadOnlyRenderDiv() ? (i(), u("div", xt, R(s.question.otherValue), 1)) : d("", !0)
|
|
4487
4527
|
], 2));
|
|
4488
4528
|
}
|
|
4489
|
-
}),
|
|
4529
|
+
}), si = ["disabled", "value", "title"], ni = /* @__PURE__ */ h({
|
|
4490
4530
|
__name: "SurveyNavigationButton",
|
|
4491
4531
|
props: {
|
|
4492
4532
|
item: {}
|
|
@@ -4502,9 +4542,9 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4502
4542
|
title: e.item.getTooltip(),
|
|
4503
4543
|
onMousedown: o,
|
|
4504
4544
|
onClick: n[0] || (n[0] = (...t) => e.item.action && e.item.action(...t))
|
|
4505
|
-
}, null, 42,
|
|
4545
|
+
}, null, 42, si)) : d("", !0);
|
|
4506
4546
|
}
|
|
4507
|
-
}),
|
|
4547
|
+
}), ye = /* @__PURE__ */ h({
|
|
4508
4548
|
__name: "PopupSurvey",
|
|
4509
4549
|
props: {
|
|
4510
4550
|
survey: {},
|
|
@@ -4512,7 +4552,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4512
4552
|
closeOnCompleteTimeout: {}
|
|
4513
4553
|
},
|
|
4514
4554
|
setup(r) {
|
|
4515
|
-
const s = r, o =
|
|
4555
|
+
const s = r, o = z(), e = w(() => s.survey ? s.survey.getCss() : {}), n = w(() => {
|
|
4516
4556
|
var I;
|
|
4517
4557
|
return (I = o.value) != null && I.isExpanded ? e.value.window.header.buttonCollapsed : e.value.window.header.buttonExpanded;
|
|
4518
4558
|
}), t = w(() => {
|
|
@@ -4526,19 +4566,19 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4526
4566
|
o.value.onScroll();
|
|
4527
4567
|
};
|
|
4528
4568
|
L(() => o.value);
|
|
4529
|
-
const g =
|
|
4569
|
+
const g = J(
|
|
4530
4570
|
() => s.survey,
|
|
4531
4571
|
(I) => {
|
|
4532
|
-
const
|
|
4533
|
-
s.isExpanded !== void 0 && (
|
|
4572
|
+
const b = new Ee(null, I);
|
|
4573
|
+
s.isExpanded !== void 0 && (b.isExpanded = s.isExpanded), s.closeOnCompleteTimeout !== void 0 && (b.closeOnCompleteTimeout = s.closeOnCompleteTimeout), b.isShowing = !0, o.value = b;
|
|
4534
4574
|
},
|
|
4535
4575
|
{
|
|
4536
4576
|
immediate: !0
|
|
4537
4577
|
}
|
|
4538
4578
|
);
|
|
4539
|
-
return
|
|
4579
|
+
return U(() => {
|
|
4540
4580
|
g();
|
|
4541
|
-
}), (I,
|
|
4581
|
+
}), (I, b) => {
|
|
4542
4582
|
const N = p("survey-string"), k = p("sv-svg-icon");
|
|
4543
4583
|
return o.value.isShowing ? (i(), u("div", {
|
|
4544
4584
|
key: 0,
|
|
@@ -4559,7 +4599,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4559
4599
|
style: { "padding-right": "10px" },
|
|
4560
4600
|
class: l(o.value.cssHeaderTitle)
|
|
4561
4601
|
}, [
|
|
4562
|
-
|
|
4602
|
+
C(N, {
|
|
4563
4603
|
locString: I.survey.locTitle
|
|
4564
4604
|
}, null, 8, ["locString"])
|
|
4565
4605
|
], 2),
|
|
@@ -4574,7 +4614,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4574
4614
|
onClick: y,
|
|
4575
4615
|
style: { transform: "rotate(45deg)", float: "right", cursor: "pointer", "user-select": "none", width: "24px", height: "24px" }
|
|
4576
4616
|
}, [
|
|
4577
|
-
|
|
4617
|
+
C(k, {
|
|
4578
4618
|
iconName: "icon-expanddetail",
|
|
4579
4619
|
size: 16
|
|
4580
4620
|
})
|
|
@@ -4585,7 +4625,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4585
4625
|
onClick: a,
|
|
4586
4626
|
style: { float: "right", cursor: "pointer", "user-select": "none", width: "24px", height: "24px" }
|
|
4587
4627
|
}, [
|
|
4588
|
-
|
|
4628
|
+
C(k, {
|
|
4589
4629
|
iconName: "icon-collapsedetail",
|
|
4590
4630
|
size: 16
|
|
4591
4631
|
})
|
|
@@ -4601,7 +4641,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4601
4641
|
], 6)) : d("", !0);
|
|
4602
4642
|
};
|
|
4603
4643
|
}
|
|
4604
|
-
}),
|
|
4644
|
+
}), oi = ["innerHTML"], ti = /* @__PURE__ */ h({
|
|
4605
4645
|
__name: "CustomWidget",
|
|
4606
4646
|
props: {
|
|
4607
4647
|
question: {},
|
|
@@ -4615,7 +4655,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4615
4655
|
), t = w(() => s.question.customWidget.htmlTemplate), a = w(() => "survey-" + s.question.getTemplate());
|
|
4616
4656
|
return H(() => {
|
|
4617
4657
|
s.question.customWidget.afterRender(s.question, o.value);
|
|
4618
|
-
}),
|
|
4658
|
+
}), Q(() => {
|
|
4619
4659
|
s.question.customWidget.willUnmount(s.question, o.value);
|
|
4620
4660
|
}), (y, m) => (i(), u("div", {
|
|
4621
4661
|
ref_key: "root",
|
|
@@ -4624,7 +4664,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4624
4664
|
n.value ? (i(), u("div", {
|
|
4625
4665
|
key: 0,
|
|
4626
4666
|
innerHTML: t.value
|
|
4627
|
-
}, null, 8,
|
|
4667
|
+
}, null, 8, oi)) : d("", !0),
|
|
4628
4668
|
e.value ? (i(), q(T(a.value), {
|
|
4629
4669
|
key: 1,
|
|
4630
4670
|
question: y.question,
|
|
@@ -4632,12 +4672,12 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4632
4672
|
}, null, 8, ["question", "css"])) : d("", !0)
|
|
4633
4673
|
], 512));
|
|
4634
4674
|
}
|
|
4635
|
-
}),
|
|
4675
|
+
}), ii = /* @__PURE__ */ h({
|
|
4636
4676
|
__name: "PopupModal",
|
|
4637
4677
|
setup(r) {
|
|
4638
|
-
const s =
|
|
4678
|
+
const s = z();
|
|
4639
4679
|
function o(n, t, a, y, m, v, g = "popup") {
|
|
4640
|
-
const I =
|
|
4680
|
+
const I = Ve(
|
|
4641
4681
|
n,
|
|
4642
4682
|
t,
|
|
4643
4683
|
a,
|
|
@@ -4654,27 +4694,27 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4654
4694
|
n.onHide = () => {
|
|
4655
4695
|
s.value = void 0, a.dispose();
|
|
4656
4696
|
};
|
|
4657
|
-
const a =
|
|
4697
|
+
const a = Oe(
|
|
4658
4698
|
n,
|
|
4659
4699
|
t
|
|
4660
4700
|
);
|
|
4661
4701
|
return a.model.isVisible = !0, s.value = a, a;
|
|
4662
4702
|
}
|
|
4663
|
-
return
|
|
4664
|
-
|
|
4665
|
-
})),
|
|
4666
|
-
|
|
4703
|
+
return j.showModal || (j.showModal = o, U(() => {
|
|
4704
|
+
j.showModal = void 0;
|
|
4705
|
+
})), j.showDialog || (j.showDialog = e, U(() => {
|
|
4706
|
+
j.showDialog = void 0;
|
|
4667
4707
|
})), (n, t) => {
|
|
4668
4708
|
const a = p("sv-popup-container");
|
|
4669
|
-
return s.value ? (i(), q(
|
|
4709
|
+
return s.value ? (i(), q(Te, {
|
|
4670
4710
|
key: 0,
|
|
4671
4711
|
to: s.value.container
|
|
4672
4712
|
}, [
|
|
4673
|
-
|
|
4713
|
+
C(a, { model: s.value }, null, 8, ["model"])
|
|
4674
4714
|
], 8, ["to"])) : d("", !0);
|
|
4675
4715
|
};
|
|
4676
4716
|
}
|
|
4677
|
-
}),
|
|
4717
|
+
}), ri = /* @__PURE__ */ h({
|
|
4678
4718
|
__name: "CharacterCounter",
|
|
4679
4719
|
props: {
|
|
4680
4720
|
counter: {},
|
|
@@ -4686,7 +4726,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4686
4726
|
class: l(o.remainingCharacterCounter)
|
|
4687
4727
|
}, R(o.counter.remainingCharacterCounter), 3));
|
|
4688
4728
|
}
|
|
4689
|
-
}),
|
|
4729
|
+
}), li = /* @__PURE__ */ h({
|
|
4690
4730
|
inheritAttrs: !1,
|
|
4691
4731
|
__name: "Composite",
|
|
4692
4732
|
props: {
|
|
@@ -4707,7 +4747,7 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4707
4747
|
}, null, 8, ["element", "css"]);
|
|
4708
4748
|
};
|
|
4709
4749
|
}
|
|
4710
|
-
}),
|
|
4750
|
+
}), ai = /* @__PURE__ */ h({
|
|
4711
4751
|
inheritAttrs: !1,
|
|
4712
4752
|
__name: "Custom",
|
|
4713
4753
|
props: {
|
|
@@ -4717,23 +4757,23 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4717
4757
|
setup(r) {
|
|
4718
4758
|
const s = r, o = _(null);
|
|
4719
4759
|
A(s, o);
|
|
4720
|
-
const e = w(() => s.question.contentQuestion), n = (t) =>
|
|
4760
|
+
const e = w(() => s.question.contentQuestion), n = (t) => re(t);
|
|
4721
4761
|
return (t, a) => (i(), q(T(n(e.value)), {
|
|
4722
4762
|
ref: o.value,
|
|
4723
4763
|
question: e.value,
|
|
4724
4764
|
css: t.css
|
|
4725
4765
|
}, null, 8, ["question", "css"]));
|
|
4726
4766
|
}
|
|
4727
|
-
}),
|
|
4728
|
-
|
|
4729
|
-
],
|
|
4767
|
+
}), ui = /* @__PURE__ */ c("use", { "xlink:href": "#icon-timercircle" }, null, -1), di = [
|
|
4768
|
+
ui
|
|
4769
|
+
], qe = 440, mi = /* @__PURE__ */ h({
|
|
4730
4770
|
__name: "TimerPanel",
|
|
4731
4771
|
props: {
|
|
4732
4772
|
model: {},
|
|
4733
4773
|
css: {}
|
|
4734
4774
|
},
|
|
4735
4775
|
setup(r) {
|
|
4736
|
-
const s = r, o = w(() =>
|
|
4776
|
+
const s = r, o = w(() => qe * s.model.progress), e = w(() => s.model.text);
|
|
4737
4777
|
return L(() => s.model), (n, t) => n.model.isRunning && n.model.showTimerAsClock ? (i(), u("div", {
|
|
4738
4778
|
key: 0,
|
|
4739
4779
|
class: l(n.model.rootCss)
|
|
@@ -4741,8 +4781,8 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4741
4781
|
n.model.showProgress ? (i(), u("svg", {
|
|
4742
4782
|
key: 0,
|
|
4743
4783
|
class: l(n.model.getProgressCss()),
|
|
4744
|
-
style: S({ strokeDasharray:
|
|
4745
|
-
},
|
|
4784
|
+
style: S({ strokeDasharray: qe, strokeDashoffset: o.value })
|
|
4785
|
+
}, di, 6)) : d("", !0),
|
|
4746
4786
|
c("div", {
|
|
4747
4787
|
class: l(n.model.textContainerCss)
|
|
4748
4788
|
}, [
|
|
@@ -4761,17 +4801,17 @@ const nt = /* @__PURE__ */ he(Yo, [["render", st]]), ot = /* @__PURE__ */ c("use
|
|
|
4761
4801
|
[M, n.model.isRunning && !n.model.showTimerAsClock]
|
|
4762
4802
|
]);
|
|
4763
4803
|
}
|
|
4764
|
-
}),
|
|
4765
|
-
function
|
|
4804
|
+
}), ci = {}, pi = { class: "sd-loading-indicator" };
|
|
4805
|
+
function vi(r, s) {
|
|
4766
4806
|
const o = p("sv-svg-icon");
|
|
4767
|
-
return i(), u("div",
|
|
4768
|
-
|
|
4807
|
+
return i(), u("div", pi, [
|
|
4808
|
+
C(o, {
|
|
4769
4809
|
iconName: "icon-loading",
|
|
4770
4810
|
size: "'auto'"
|
|
4771
4811
|
})
|
|
4772
4812
|
]);
|
|
4773
4813
|
}
|
|
4774
|
-
const
|
|
4814
|
+
const yi = /* @__PURE__ */ Ce(ci, [["render", vi]]), qi = { key: 2 }, gi = /* @__PURE__ */ h({
|
|
4775
4815
|
__name: "Header",
|
|
4776
4816
|
props: {
|
|
4777
4817
|
model: {},
|
|
@@ -4803,16 +4843,16 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4803
4843
|
key: y
|
|
4804
4844
|
}, null, 8, ["model"]))), 128))
|
|
4805
4845
|
], 6)),
|
|
4806
|
-
o.survey.isMobile ? (i(), u("div",
|
|
4807
|
-
|
|
4846
|
+
o.survey.isMobile ? (i(), u("div", qi, [
|
|
4847
|
+
C(t, { model: o.model }, null, 8, ["model"])
|
|
4808
4848
|
])) : d("", !0)
|
|
4809
4849
|
], 6);
|
|
4810
4850
|
};
|
|
4811
4851
|
}
|
|
4812
|
-
}),
|
|
4852
|
+
}), hi = {
|
|
4813
4853
|
key: 0,
|
|
4814
4854
|
class: "sv-header__logo"
|
|
4815
|
-
},
|
|
4855
|
+
}, Ci = ["src", "width", "height", "alt"], bi = /* @__PURE__ */ h({
|
|
4816
4856
|
__name: "HeaderCell",
|
|
4817
4857
|
props: {
|
|
4818
4858
|
model: {}
|
|
@@ -4828,7 +4868,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4828
4868
|
class: "sv-header__cell-content",
|
|
4829
4869
|
style: S(s.model.contentStyle)
|
|
4830
4870
|
}, [
|
|
4831
|
-
s.model.showLogo ? (i(), u("div",
|
|
4871
|
+
s.model.showLogo ? (i(), u("div", hi, [
|
|
4832
4872
|
c("div", {
|
|
4833
4873
|
class: l(s.model.survey.logoClassNames)
|
|
4834
4874
|
}, [
|
|
@@ -4839,7 +4879,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4839
4879
|
height: s.model.survey.renderedLogoHeight,
|
|
4840
4880
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4841
4881
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4842
|
-
}, null, 14,
|
|
4882
|
+
}, null, 14, Ci)
|
|
4843
4883
|
], 2)
|
|
4844
4884
|
])) : d("", !0),
|
|
4845
4885
|
s.model.showTitle ? (i(), u("div", {
|
|
@@ -4847,7 +4887,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4847
4887
|
class: "sv-header__title",
|
|
4848
4888
|
style: S({ maxWidth: s.model.textAreaWidth })
|
|
4849
4889
|
}, [
|
|
4850
|
-
|
|
4890
|
+
C(e, {
|
|
4851
4891
|
element: s.model.survey,
|
|
4852
4892
|
css: s.model.survey.css
|
|
4853
4893
|
}, null, 8, ["element", "css"])
|
|
@@ -4861,7 +4901,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4861
4901
|
key: 0,
|
|
4862
4902
|
class: l(s.model.survey.css.description)
|
|
4863
4903
|
}, [
|
|
4864
|
-
|
|
4904
|
+
C(n, {
|
|
4865
4905
|
locString: s.model.survey.locDescription
|
|
4866
4906
|
}, null, 8, ["locString"])
|
|
4867
4907
|
], 2)) : d("", !0)
|
|
@@ -4870,10 +4910,10 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4870
4910
|
], 6);
|
|
4871
4911
|
};
|
|
4872
4912
|
}
|
|
4873
|
-
}),
|
|
4913
|
+
}), ki = { class: "sv-header--mobile" }, fi = {
|
|
4874
4914
|
key: 0,
|
|
4875
4915
|
class: "sv-header__logo"
|
|
4876
|
-
},
|
|
4916
|
+
}, Ii = ["src", "width", "height", "alt"], wi = /* @__PURE__ */ h({
|
|
4877
4917
|
__name: "HeaderMobile",
|
|
4878
4918
|
props: {
|
|
4879
4919
|
model: {}
|
|
@@ -4881,8 +4921,8 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4881
4921
|
setup(r) {
|
|
4882
4922
|
return (s, o) => {
|
|
4883
4923
|
const e = p("survey-element-title"), n = p("survey-string");
|
|
4884
|
-
return i(), u("div",
|
|
4885
|
-
s.model.survey.hasLogo ? (i(), u("div",
|
|
4924
|
+
return i(), u("div", ki, [
|
|
4925
|
+
s.model.survey.hasLogo ? (i(), u("div", fi, [
|
|
4886
4926
|
c("div", {
|
|
4887
4927
|
class: l(s.model.survey.logoClassNames)
|
|
4888
4928
|
}, [
|
|
@@ -4893,7 +4933,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4893
4933
|
height: s.model.survey.renderedLogoHeight,
|
|
4894
4934
|
alt: s.model.survey.locTitle.renderedHtml,
|
|
4895
4935
|
style: S({ objectFit: s.model.survey.logoFit, width: s.model.survey.renderedStyleLogoWidth, height: s.model.survey.renderedStyleLogoHeight })
|
|
4896
|
-
}, null, 14,
|
|
4936
|
+
}, null, 14, Ii)
|
|
4897
4937
|
], 2)
|
|
4898
4938
|
])) : d("", !0),
|
|
4899
4939
|
s.model.survey.hasTitle ? (i(), u("div", {
|
|
@@ -4901,7 +4941,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4901
4941
|
class: "sv-header__title",
|
|
4902
4942
|
style: S({ maxWidth: s.model.renderedtextAreaWidth })
|
|
4903
4943
|
}, [
|
|
4904
|
-
|
|
4944
|
+
C(e, {
|
|
4905
4945
|
element: s.model.survey,
|
|
4906
4946
|
css: s.model.survey.css
|
|
4907
4947
|
}, null, 8, ["element", "css"])
|
|
@@ -4915,7 +4955,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4915
4955
|
key: 0,
|
|
4916
4956
|
class: l(s.model.survey.css.description)
|
|
4917
4957
|
}, [
|
|
4918
|
-
|
|
4958
|
+
C(n, {
|
|
4919
4959
|
locString: s.model.survey.locDescription
|
|
4920
4960
|
}, null, 8, ["locString"])
|
|
4921
4961
|
], 2)) : d("", !0)
|
|
@@ -4923,7 +4963,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4923
4963
|
]);
|
|
4924
4964
|
};
|
|
4925
4965
|
}
|
|
4926
|
-
}),
|
|
4966
|
+
}), Si = /* @__PURE__ */ h({
|
|
4927
4967
|
__name: "Element",
|
|
4928
4968
|
props: {
|
|
4929
4969
|
element: {},
|
|
@@ -4964,17 +5004,17 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4964
5004
|
}, null, 8, ["element", "css"])) : d("", !0)
|
|
4965
5005
|
], 6));
|
|
4966
5006
|
}
|
|
4967
|
-
}),
|
|
5007
|
+
}), Ri = /* @__PURE__ */ h({
|
|
4968
5008
|
__name: "TemplateRenderer",
|
|
4969
5009
|
props: {
|
|
4970
5010
|
componentName: {},
|
|
4971
5011
|
componentData: {}
|
|
4972
5012
|
},
|
|
4973
5013
|
setup(r) {
|
|
4974
|
-
const s =
|
|
4975
|
-
return (e, n) => o.value && !e.componentName ?
|
|
5014
|
+
const s = $e(), o = w(() => !!s.default);
|
|
5015
|
+
return (e, n) => o.value && !e.componentName ? _e(e.$slots, "default", { key: 0 }) : (i(), q(T(e.componentName), F(W({ key: 1 }, e.componentData)), null, 16));
|
|
4976
5016
|
}
|
|
4977
|
-
}),
|
|
5017
|
+
}), Ti = /* @__PURE__ */ h({
|
|
4978
5018
|
__name: "FileCleanButton",
|
|
4979
5019
|
props: {
|
|
4980
5020
|
question: {},
|
|
@@ -4998,7 +5038,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
4998
5038
|
], 2);
|
|
4999
5039
|
};
|
|
5000
5040
|
}
|
|
5001
|
-
}),
|
|
5041
|
+
}), $i = ["id"], _i = /* @__PURE__ */ h({
|
|
5002
5042
|
__name: "FileVideo",
|
|
5003
5043
|
props: {
|
|
5004
5044
|
question: {}
|
|
@@ -5009,10 +5049,10 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5009
5049
|
return i(), u("div", {
|
|
5010
5050
|
class: l(s.question.cssClasses.videoContainer)
|
|
5011
5051
|
}, [
|
|
5012
|
-
|
|
5052
|
+
C(e, {
|
|
5013
5053
|
item: s.question.changeCameraAction
|
|
5014
5054
|
}, null, 8, ["item"]),
|
|
5015
|
-
|
|
5055
|
+
C(e, {
|
|
5016
5056
|
item: s.question.closeCameraAction
|
|
5017
5057
|
}, null, 8, ["item"]),
|
|
5018
5058
|
c("video", {
|
|
@@ -5020,14 +5060,14 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5020
5060
|
playsinline: "",
|
|
5021
5061
|
id: s.question.videoId,
|
|
5022
5062
|
class: l(s.question.cssClasses.video)
|
|
5023
|
-
}, null, 10,
|
|
5024
|
-
|
|
5063
|
+
}, null, 10, $i),
|
|
5064
|
+
C(e, {
|
|
5025
5065
|
item: s.question.takePictureAction
|
|
5026
5066
|
}, null, 8, ["item"])
|
|
5027
5067
|
], 2);
|
|
5028
5068
|
};
|
|
5029
5069
|
}
|
|
5030
|
-
}),
|
|
5070
|
+
}), Di = ["for", "aria-label"], Bi = /* @__PURE__ */ h({
|
|
5031
5071
|
__name: "FileChooseButton",
|
|
5032
5072
|
props: {
|
|
5033
5073
|
data: {},
|
|
@@ -5055,12 +5095,12 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5055
5095
|
size: "auto"
|
|
5056
5096
|
}, null, 8, ["title", "iconName"])) : d("", !0),
|
|
5057
5097
|
c("span", null, R(o.value.chooseButtonText), 1)
|
|
5058
|
-
], 10,
|
|
5098
|
+
], 10, Di)), [
|
|
5059
5099
|
[a]
|
|
5060
5100
|
]);
|
|
5061
5101
|
};
|
|
5062
5102
|
}
|
|
5063
|
-
}),
|
|
5103
|
+
}), Li = ["onClick", "href", "title", "download"], Ni = ["src"], Pi = ["onClick"], Ai = ["onClick", "href", "title", "download"], Mi = /* @__PURE__ */ h({
|
|
5064
5104
|
__name: "FilePreview",
|
|
5065
5105
|
props: {
|
|
5066
5106
|
question: {}
|
|
@@ -5086,7 +5126,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5086
5126
|
title: n.name,
|
|
5087
5127
|
download: n.name,
|
|
5088
5128
|
style: S({ width: s.question.imageWidth })
|
|
5089
|
-
}, R(n.name), 13,
|
|
5129
|
+
}, R(n.name), 13, Li)
|
|
5090
5130
|
], 2)) : d("", !0),
|
|
5091
5131
|
c("div", {
|
|
5092
5132
|
class: l(s.question.getImageWrapperCss(n))
|
|
@@ -5099,7 +5139,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5099
5139
|
width: s.question.imageWidth
|
|
5100
5140
|
}),
|
|
5101
5141
|
alt: "File preview"
|
|
5102
|
-
}, null, 12,
|
|
5142
|
+
}, null, 12, Ni)) : d("", !0),
|
|
5103
5143
|
s.question.defaultImage(n) ? (i(), q(e, {
|
|
5104
5144
|
key: 1,
|
|
5105
5145
|
iconName: s.question.cssClasses.defaultImageIconId,
|
|
@@ -5121,7 +5161,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5121
5161
|
iconName: s.question.cssClasses.removeFileSvgIconId,
|
|
5122
5162
|
size: "auto"
|
|
5123
5163
|
}, null, 8, ["title", "class", "iconName"])) : d("", !0)
|
|
5124
|
-
], 10,
|
|
5164
|
+
], 10, Pi)) : d("", !0)
|
|
5125
5165
|
], 2),
|
|
5126
5166
|
n.name && s.question.cssClasses.fileSignBottom ? (i(), u("div", {
|
|
5127
5167
|
key: 1,
|
|
@@ -5133,7 +5173,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5133
5173
|
title: n.name,
|
|
5134
5174
|
download: n.name,
|
|
5135
5175
|
style: S({ width: s.question.imageWidth })
|
|
5136
|
-
}, R(n.name), 13,
|
|
5176
|
+
}, R(n.name), 13, Ai)
|
|
5137
5177
|
], 2)) : d("", !0)
|
|
5138
5178
|
], 2)), [
|
|
5139
5179
|
[M, n && s.question.isPreviewVisible(t)]
|
|
@@ -5141,7 +5181,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5141
5181
|
], 2)) : d("", !0);
|
|
5142
5182
|
};
|
|
5143
5183
|
}
|
|
5144
|
-
}),
|
|
5184
|
+
}), Hi = /* @__PURE__ */ h({
|
|
5145
5185
|
__name: "ButtonGroup",
|
|
5146
5186
|
props: {
|
|
5147
5187
|
question: {}
|
|
@@ -5165,7 +5205,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5165
5205
|
], 2);
|
|
5166
5206
|
};
|
|
5167
5207
|
}
|
|
5168
|
-
}),
|
|
5208
|
+
}), Wi = ["title"], Ei = ["name", "id", "aria-required", "aria-label", "aria-invalid", "aria-describedby", "disabled", "value"], Vi = ["title"], Oi = /* @__PURE__ */ h({
|
|
5169
5209
|
__name: "ButtonGroupItem",
|
|
5170
5210
|
props: {
|
|
5171
5211
|
item: {},
|
|
@@ -5174,7 +5214,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5174
5214
|
},
|
|
5175
5215
|
setup(r) {
|
|
5176
5216
|
const s = r, o = w(
|
|
5177
|
-
() => new
|
|
5217
|
+
() => new Fe(s.question, s.item, s.index)
|
|
5178
5218
|
), e = w({
|
|
5179
5219
|
get: () => s.question.renderedValue,
|
|
5180
5220
|
set: (n) => {
|
|
@@ -5202,7 +5242,7 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5202
5242
|
class: l(o.value.css.control),
|
|
5203
5243
|
"onUpdate:modelValue": t[0] || (t[0] = (m) => e.value = m),
|
|
5204
5244
|
value: o.value.value
|
|
5205
|
-
}, null, 10,
|
|
5245
|
+
}, null, 10, Ei), [
|
|
5206
5246
|
[ee, e.value]
|
|
5207
5247
|
]),
|
|
5208
5248
|
c("div", {
|
|
@@ -5219,22 +5259,22 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5219
5259
|
class: l(o.value.css.caption),
|
|
5220
5260
|
title: o.value.caption.renderedHtml
|
|
5221
5261
|
}, [
|
|
5222
|
-
|
|
5262
|
+
C(y, {
|
|
5223
5263
|
locString: o.value.caption
|
|
5224
5264
|
}, null, 8, ["locString"])
|
|
5225
|
-
], 10,
|
|
5265
|
+
], 10, Vi)) : d("", !0)
|
|
5226
5266
|
], 2)
|
|
5227
|
-
], 10,
|
|
5267
|
+
], 10, Wi);
|
|
5228
5268
|
};
|
|
5229
5269
|
}
|
|
5230
|
-
}),
|
|
5270
|
+
}), Fi = ["src", "width", "height", "alt"], zi = /* @__PURE__ */ h({
|
|
5231
5271
|
inheritAttrs: !1,
|
|
5232
5272
|
__name: "Logo",
|
|
5233
5273
|
props: {
|
|
5234
5274
|
data: {}
|
|
5235
5275
|
},
|
|
5236
5276
|
setup(r) {
|
|
5237
|
-
const s = r, o = w(() => s.data), e =
|
|
5277
|
+
const s = r, o = w(() => s.data), e = G(() => o.value.locLogo);
|
|
5238
5278
|
return (n, t) => (i(), u("div", {
|
|
5239
5279
|
class: l(o.value.logoClassNames)
|
|
5240
5280
|
}, [
|
|
@@ -5249,15 +5289,15 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5249
5289
|
width: o.value.renderedStyleLogoWidth,
|
|
5250
5290
|
height: o.value.renderedStyleLogoHeight
|
|
5251
5291
|
})
|
|
5252
|
-
}, null, 14,
|
|
5292
|
+
}, null, 14, Fi)
|
|
5253
5293
|
], 2));
|
|
5254
5294
|
}
|
|
5255
|
-
}),
|
|
5295
|
+
}), Ui = /* @__PURE__ */ h({
|
|
5256
5296
|
__name: "SvgBundle",
|
|
5257
5297
|
setup(r) {
|
|
5258
5298
|
const s = _();
|
|
5259
5299
|
return H(() => {
|
|
5260
|
-
s.value.innerHTML =
|
|
5300
|
+
s.value.innerHTML = ze.iconsRenderedHtml();
|
|
5261
5301
|
}), (o, e) => P((i(), u("svg", {
|
|
5262
5302
|
id: "sv-icon-holder-global-container",
|
|
5263
5303
|
ref_key: "root",
|
|
@@ -5267,31 +5307,32 @@ const ci = /* @__PURE__ */ he(ui, [["render", mi]]), pi = { key: 2 }, vi = /* @_
|
|
|
5267
5307
|
]);
|
|
5268
5308
|
}
|
|
5269
5309
|
});
|
|
5270
|
-
|
|
5271
|
-
function
|
|
5272
|
-
r.component("SurveyComponent",
|
|
5310
|
+
Ue.platform = "vue3";
|
|
5311
|
+
function Ki(r) {
|
|
5312
|
+
r.component("SurveyComponent", ve), r.component("sv-svg-bundle", Ui), r.component("PopupSurveyComponent", ye), r.component("survey", ve), r.component("popup-survey", ye), r.component("survey-header", Je), r.component("sv-logo-image", zi), r.component("survey-page", Ge), r.component("survey-row", Xe), r.component("survey-question", xe), r.component("survey-panel", os), r.component("survey-element-header", ts), r.component("survey-string", is), r.component("sv-string-viewer", as), r.component("sv-string-editor", ds), r.component("sv-skeleton", cs), r.component("survey-text", ys), r.component("survey-text-input", Cs), r.component("survey-checkbox", ws), r.component("survey-checkbox-item", Ts), r.component("survey-radiogroup", $s), r.component("survey-radiogroup-item", Bs), r.component("survey-signaturepad", As), r.component("survey-html", Hs), r.component("survey-image", Os), r.component("survey-expression", Fs), r.component("survey-file", Ks), r.component("sv-file-choose-btn", Bi), r.component("sv-file-clean-btn", Ti), r.component("sv-file-preview", Mi), r.component("sv-file-video", _i), r.component("survey-imagepicker", Qs), r.component("survey-imagepicker-item", Zs), r.component("survey-comment", sn), r.component("survey-dropdown", nn), r.component("sv-dropdown-select", ln), r.component("sv-dropdown-option-item", un), r.component("sv-dropdown", vn), r.component("survey-tagbox", yn), r.component("sv-tagbox", hn), r.component("sv-tagbox-item", In), r.component("sv-tagbox-filter", kn), r.component("survey-ranking", wn), r.component("survey-ranking-item", Dn), r.component("survey-rating", Nn), r.component("sv-rating-item", An), r.component("sv-rating-item-smiley", Hn), r.component("sv-rating-item-star", En), r.component("sv-rating-dropdown", Un), r.component("sv-rating-dropdown-item", zn), r.component("survey-boolean", jn), r.component("sv-boolean-radio", Qn), r.component("sv-boolean-radio-item", Xn), r.component("sv-boolean-checkbox", so), r.component("survey-multipletext", no), r.component("survey-multipletext-item", to), r.component("survey-matrix", mo), r.component("survey-matrix-cell", vo), r.component("survey-matrixdropdown", yo), r.component("survey-matrixtable", Co), r.component("survey-matrixheaderrequired", ko), r.component("survey-matrixdropdown-cell", Io), r.component("survey-matrixdynamic", wo), r.component("sv-matrix-remove-button", Ro), r.component("sv-matrix-drag-drop-icon", $o), r.component("sv-matrix-detail-button", Do), r.component("survey-paneldynamic", Bo), r.component("survey-paneldynamicprogress", Lo), r.component("survey-paneldynamicprogress-v2", No), r.component("sv-paneldynamic-add-btn", Po), r.component("sv-paneldynamic-next-btn", Mo), r.component("sv-paneldynamic-prev-btn", Wo), r.component("sv-paneldynamic-remove-btn", Eo), r.component("sv-paneldynamic-progress-text", Vo), r.component("sv-components-container", Ht), r.component("sv-progress-buttons", Ot), r.component("sv-progress-toc", Ft), r.component("sv-progress-pages", Z), r.component("sv-progress-questions", Z), r.component("sv-progress-correctquestions", Z), r.component("sv-progress-requiredquestions", Z), r.component("survey-errors", Fo), r.component("survey-question-comment", Ko), r.component("survey-element-title", jo), r.component("survey-element-title-content", Xo), r.component("sv-title-actions", xo), r.component("sv-brand-info", it), r.component("sv-svg-icon", at), r.component("sv-action-bar", ut), r.component("sv-action", ct), r.component("sv-action-bar-item", yt), r.component("sv-action-bar-item-dropdown", ht), r.component("sv-action-bar-separator", Ct), r.component("sv-list", It), r.component("sv-list-item", Rt), r.component("sv-popup", Tt), r.component("sv-popup-container", Pt), r.component("popup-pointer", At), r.component("sv-notifier", Yt), r.component("survey-other-choice", ei), r.component("sv-nav-btn", ni), r.component("survey-customwidget", ti), r.component("survey-popup-modal", ii), r.component("sv-character-counter", ri), r.component("survey-composite", li), r.component("survey-custom", ai), r.component("sv-timerpanel", mi), r.component("sv-loading-indicator", yi), r.component("sv-header", gi), r.component("sv-header-cell", bi), r.component("sv-header-mobile", wi), r.component("sv-template-renderer", Ri), r.component("survey-element", Si), r.component("survey-buttongroup", Hi), r.component("sv-button-group-item", Oi), r.directive("key2click", {
|
|
5273
5313
|
mounted: function(s, o) {
|
|
5274
5314
|
const e = { ...o.value };
|
|
5275
5315
|
if (e.disableTabStop) {
|
|
5276
5316
|
s.tabIndex = -1;
|
|
5277
5317
|
return;
|
|
5278
5318
|
}
|
|
5279
|
-
e.disableTabStop || (s.tabIndex = 0), s.addEventListener("keyup", (n) => (n.preventDefault(), n.stopPropagation(),
|
|
5280
|
-
|
|
5319
|
+
e.disableTabStop || (s.tabIndex = 0), s.addEventListener("keyup", (n) => (n.preventDefault(), n.stopPropagation(), ge(n, e), !1)), s.addEventListener("keydown", (n) => {
|
|
5320
|
+
Ke(n, e);
|
|
5281
5321
|
}), s.addEventListener("blur", (n) => {
|
|
5282
|
-
|
|
5322
|
+
je(n);
|
|
5283
5323
|
});
|
|
5284
5324
|
}
|
|
5285
5325
|
});
|
|
5286
5326
|
}
|
|
5287
|
-
const
|
|
5327
|
+
const Gi = {
|
|
5288
5328
|
install(r) {
|
|
5289
|
-
|
|
5329
|
+
Ki(r);
|
|
5290
5330
|
}
|
|
5291
5331
|
};
|
|
5292
5332
|
export {
|
|
5293
|
-
|
|
5333
|
+
Gi as surveyPlugin,
|
|
5294
5334
|
L as useBase,
|
|
5295
|
-
|
|
5335
|
+
le as useComputedArray,
|
|
5336
|
+
G as useLocString,
|
|
5296
5337
|
A as useQuestion
|
|
5297
5338
|
};
|