survey-js-ui 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm/survey-js-ui.mjs +128 -37
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +128 -36
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +2 -2
- package/typings/survey-react-ui/entries/react-ui-model.d.ts +1 -0
- package/typings/survey-react-ui/src/components/records-bar.d.ts +12 -0
- package/typings/survey-react-ui/src/imagepicker.d.ts +2 -0
- package/typings/survey-react-ui/src/page.d.ts +1 -1
- package/typings/survey-react-ui/src/panel-base.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_checkbox.d.ts +3 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdown.d.ts +2 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdropdownbase.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_matrixdynamic.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_paneldynamic.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_radiogroup.d.ts +1 -0
- package/typings/survey-react-ui/src/reactquestion_selectbase.d.ts +1 -0
package/fesm/survey-js-ui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v3.2.
|
|
2
|
+
* surveyjs - Survey JavaScript library v3.2.2
|
|
3
3
|
* Copyright (c) 2015-2026 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -644,7 +644,7 @@ class SurveyActionBarItem extends SurveyElementBase {
|
|
|
644
644
|
const className = this.item.getActionBarItemCss();
|
|
645
645
|
const buttonContent = this.renderButtonContent();
|
|
646
646
|
const tabIndex = this.item.disableTabStop ? -1 : undefined;
|
|
647
|
-
const button = attachKey2click(_$1("button", { ref: this.ref, className: className, type: "button", disabled: this.item.disabled, onMouseDown: (args) => this.item.doMouseDown(args), onFocus: (args) => this.item.doFocus(args), onClick: (args) => this.item.doAction(args), title: this.item.getTooltip(), tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, "aria-controls": this.item.ariaControls, "aria-labelledby": this.item.ariaLabelledBy, role: this.item.ariaRole }, buttonContent), this.item, { processEsc: false });
|
|
647
|
+
const button = attachKey2click(_$1("button", { ref: this.ref, className: className, type: "button", disabled: this.item.disabled, onMouseDown: (args) => this.item.doMouseDown(args), onFocus: (args) => this.item.doFocus(args), onClick: (args) => this.item.doAction(args), title: this.item.getTooltip(), tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, "aria-controls": this.item.ariaControls, "aria-labelledby": this.item.ariaLabelledBy, "aria-label": this.item.ariaLabel, role: this.item.ariaRole }, buttonContent), this.item, { processEsc: false });
|
|
648
648
|
return button;
|
|
649
649
|
}
|
|
650
650
|
componentDidMount() {
|
|
@@ -1115,6 +1115,9 @@ class PopupDropdownContainer extends PopupContainer {
|
|
|
1115
1115
|
const popupDropdownModel = popupModel;
|
|
1116
1116
|
if (!popupDropdownModel || !popupDropdownModel.showHeader)
|
|
1117
1117
|
return null;
|
|
1118
|
+
// An overlay's header is its close button, not the pointer.
|
|
1119
|
+
if (popupDropdownModel.isOverlay)
|
|
1120
|
+
return super.renderHeaderPopup(popupModel);
|
|
1118
1121
|
return (_$1("span", { style: {
|
|
1119
1122
|
left: popupDropdownModel.pointerTarget.left,
|
|
1120
1123
|
top: popupDropdownModel.pointerTarget.top,
|
|
@@ -1223,9 +1226,17 @@ function requireIconsV2 () {
|
|
|
1223
1226
|
|
|
1224
1227
|
var check_24x24 = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M19.5275 7.5275L9.5275 17.5275C9.3775 17.6775 9.1875 17.7475 8.9975 17.7475C8.8075 17.7475 8.6175 17.6775 8.4675 17.5275L4.4675 13.5275C4.1775 13.2375 4.1775 12.7575 4.4675 12.4675C4.7575 12.1775 5.2375 12.1775 5.5275 12.4675L8.9975 15.9375L18.4675 6.4675C18.7575 6.1775 19.2375 6.1775 19.5275 6.4675C19.8175 6.7575 19.8175 7.2375 19.5275 7.5275Z\"/></svg>";
|
|
1225
1228
|
|
|
1229
|
+
var chevrondoubleleft_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6.96875 3.46909C7.25875 3.17909 7.73832 3.17909 8.02832 3.46909C8.31832 3.75909 8.31832 4.23866 8.02832 4.52866L4.55859 7.99838L8.02832 11.4691C8.31832 11.7591 8.31832 12.2387 8.02832 12.5287C7.7383 12.8185 7.25869 12.8186 6.96875 12.5287L2.96875 8.52866C2.81875 8.37866 2.74902 8.18838 2.74902 7.99838C2.7491 7.80856 2.81896 7.61898 2.96875 7.46909L6.96875 3.46909Z\"/><path d=\"M10.9688 3.46909C11.2587 3.17909 11.7383 3.17909 12.0283 3.46909C12.3183 3.75909 12.3183 4.23866 12.0283 4.52866L8.55859 7.99838L12.0283 11.4691C12.3183 11.7591 12.3183 12.2387 12.0283 12.5287C11.7383 12.8185 11.2587 12.8186 10.9688 12.5287L6.96875 8.52866C6.81875 8.37866 6.74902 8.18838 6.74902 7.99838C6.7491 7.80856 6.81896 7.61898 6.96875 7.46909L10.9688 3.46909Z\"/></svg>";
|
|
1230
|
+
|
|
1231
|
+
var chevrondoubleright_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M3.96642 3.46903C4.25642 3.17903 4.73599 3.17903 5.02599 3.46903L9.02599 7.46903C9.17588 7.61892 9.2466 7.80846 9.2467 7.99832C9.2467 8.18832 9.17599 8.3786 9.02599 8.5286L5.02599 12.5286C4.73599 12.8185 4.2564 12.8186 3.96642 12.5286C3.67645 12.2386 3.6765 11.759 3.96642 11.469L7.43615 7.99832L3.96642 4.5286C3.67645 4.23862 3.6765 3.75903 3.96642 3.46903Z\"/><path d=\"M7.96642 3.46903C8.25642 3.17903 8.73599 3.17903 9.02599 3.46903L13.026 7.46903C13.1759 7.61892 13.2466 7.80846 13.2467 7.99832C13.2467 8.18832 13.176 8.3786 13.026 8.5286L9.02599 12.5286C8.73599 12.8185 8.2564 12.8186 7.96642 12.5286C7.67645 12.2386 7.6765 11.759 7.96642 11.469L11.4361 7.99832L7.96642 4.5286C7.67645 4.23862 7.6765 3.75903 7.96642 3.46903Z\"/></svg>";
|
|
1232
|
+
|
|
1233
|
+
var chevrondown_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.5275 7.5275L8.5275 10.5275C8.3775 10.6775 8.1875 10.7475 7.9975 10.7475C7.8075 10.7475 7.6175 10.6775 7.4675 10.5275L4.4675 7.5275C4.1775 7.2375 4.1775 6.7575 4.4675 6.4675C4.7575 6.1775 5.2375 6.1775 5.5275 6.4675L7.9975 8.9375L10.4675 6.4675C10.7575 6.1775 11.2375 6.1775 11.5275 6.4675C11.8175 6.7575 11.8175 7.2375 11.5275 7.5275Z\"/></svg>";
|
|
1234
|
+
|
|
1226
1235
|
var chevrondown_24x24 = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M16.5275 10.5275L12.5275 14.5275C12.3775 14.6775 12.1875 14.7475 11.9975 14.7475C11.8075 14.7475 11.6175 14.6775 11.4675 14.5275L7.4675 10.5275C7.1775 10.2375 7.1775 9.7575 7.4675 9.4675C7.7575 9.1775 8.2375 9.1775 8.5275 9.4675L11.9975 12.9375L15.4675 9.4675C15.7575 9.1775 16.2375 9.1775 16.5275 9.4675C16.8175 9.7575 16.8175 10.2375 16.5275 10.5275Z\"/></svg>";
|
|
1227
1236
|
|
|
1228
|
-
var
|
|
1237
|
+
var chevronleft_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.7687 12.5287L4.7687 8.52872C4.6187 8.37872 4.5487 8.18872 4.5487 7.99872C4.5487 7.80872 4.6187 7.61872 4.7687 7.46872L8.7687 3.46872C9.0587 3.17872 9.5387 3.17872 9.8287 3.46872C10.1187 3.75872 10.1187 4.23872 9.8287 4.52872L6.3587 7.99872L9.8287 11.4687C10.1187 11.7587 10.1187 12.2387 9.8287 12.5287C9.5387 12.8187 9.0587 12.8187 8.7687 12.5287Z\"/></svg>";
|
|
1238
|
+
|
|
1239
|
+
var chevronright_16x16 = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.22629 3.46872L11.2263 7.46872C11.3763 7.61872 11.4463 7.80872 11.4463 7.99872C11.4463 8.18872 11.3763 8.37872 11.2263 8.52872L7.22629 12.5287C6.93629 12.8187 6.45629 12.8187 6.16629 12.5287C5.87629 12.2387 5.87629 11.7587 6.16629 11.4687L9.63629 7.99872L6.16629 4.52872C5.87629 4.23872 5.87629 3.75872 6.16629 3.46872C6.45629 3.17872 6.93629 3.17872 7.22629 3.46872Z\"/></svg>";
|
|
1229
1240
|
|
|
1230
1241
|
var chevronright_24x24 = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11.2263 7.46872L15.2263 11.4687C15.3763 11.6187 15.4463 11.8087 15.4463 11.9987C15.4463 12.1887 15.3763 12.3787 15.2263 12.5287L11.2263 16.5287C10.9363 16.8187 10.4563 16.8187 10.1663 16.5287C9.87629 16.2387 9.87629 15.7587 10.1663 15.4687L13.6363 11.9987L10.1663 8.52872C9.87629 8.23872 9.87629 7.75872 10.1663 7.46872C10.4563 7.17872 10.9363 7.17872 11.2263 7.46872Z\"/></svg>";
|
|
1231
1242
|
|
|
@@ -1340,7 +1351,11 @@ function requireIconsV2 () {
|
|
|
1340
1351
|
"cancel-24x24": cancel_24x24,
|
|
1341
1352
|
"check-16x16": check_16x16,
|
|
1342
1353
|
"check-24x24": check_24x24,
|
|
1354
|
+
"chevrondoubleleft-16x16": chevrondoubleleft_16x16,
|
|
1355
|
+
"chevrondoubleright-16x16": chevrondoubleright_16x16,
|
|
1356
|
+
"chevrondown-16x16": chevrondown_16x16,
|
|
1343
1357
|
"chevrondown-24x24": chevrondown_24x24,
|
|
1358
|
+
"chevronleft-16x16": chevronleft_16x16,
|
|
1344
1359
|
"chevronright-16x16": chevronright_16x16,
|
|
1345
1360
|
"chevronright-24x24": chevronright_24x24,
|
|
1346
1361
|
"clear-16x16": clear_16x16,
|
|
@@ -1950,8 +1965,11 @@ class SurveyPanelBase extends SurveyElementBase {
|
|
|
1950
1965
|
get css() {
|
|
1951
1966
|
return this.getCss();
|
|
1952
1967
|
}
|
|
1968
|
+
getPanelFromProps(props) {
|
|
1969
|
+
return this.props.element || this.props.question;
|
|
1970
|
+
}
|
|
1953
1971
|
get panelBase() {
|
|
1954
|
-
return this.
|
|
1972
|
+
return this.getPanelFromProps(this.props);
|
|
1955
1973
|
}
|
|
1956
1974
|
getPanelBase() {
|
|
1957
1975
|
return this.props.element || this.props.question;
|
|
@@ -1972,6 +1990,9 @@ class SurveyPanelBase extends SurveyElementBase {
|
|
|
1972
1990
|
if (!!el) {
|
|
1973
1991
|
el.removeAttribute("data-rendered");
|
|
1974
1992
|
}
|
|
1993
|
+
if (this.panelBase) {
|
|
1994
|
+
this.panelBase.beforeDestroy();
|
|
1995
|
+
}
|
|
1975
1996
|
}
|
|
1976
1997
|
componentDidUpdate(prevProps, prevState) {
|
|
1977
1998
|
super.componentDidUpdate(prevProps, prevState);
|
|
@@ -1980,6 +2001,10 @@ class SurveyPanelBase extends SurveyElementBase {
|
|
|
1980
2001
|
!!this.survey.activePage &&
|
|
1981
2002
|
prevProps.page.id === this.survey.activePage.id)
|
|
1982
2003
|
return;
|
|
2004
|
+
const prevPanel = this.getPanelFromProps(prevProps);
|
|
2005
|
+
if (prevPanel) {
|
|
2006
|
+
prevPanel.beforeDestroy();
|
|
2007
|
+
}
|
|
1983
2008
|
this.doAfterRender();
|
|
1984
2009
|
}
|
|
1985
2010
|
doAfterRender() {
|
|
@@ -2219,7 +2244,7 @@ class SurveyQuestionSigleInputSummary extends ReactSurveyElement {
|
|
|
2219
2244
|
renderNoItems() {
|
|
2220
2245
|
const q = this.summary.question;
|
|
2221
2246
|
const placeholder = ReactElementFactory.Instance.createElement("sv-placeholder-" + q.getTemplate(), { cssClasses: this.css, question: q });
|
|
2222
|
-
return placeholder || _$1("div", null, this.renderLocString(this.summary.noEntry));
|
|
2247
|
+
return _$1("div", { className: this.css.summaryPlaceholder }, placeholder || _$1("div", null, this.renderLocString(this.summary.noEntry)));
|
|
2223
2248
|
}
|
|
2224
2249
|
renderItem(item, index) {
|
|
2225
2250
|
const btnEdit = item.btnEdit ?
|
|
@@ -2595,8 +2620,8 @@ class SurveyPage extends SurveyPanelBase {
|
|
|
2595
2620
|
constructor(props) {
|
|
2596
2621
|
super(props);
|
|
2597
2622
|
}
|
|
2598
|
-
|
|
2599
|
-
return
|
|
2623
|
+
getPanelFromProps(props) {
|
|
2624
|
+
return props.page;
|
|
2600
2625
|
}
|
|
2601
2626
|
get page() {
|
|
2602
2627
|
return this.panelBase;
|
|
@@ -2649,17 +2674,13 @@ class SurveyPanel extends SurveyPanelBase {
|
|
|
2649
2674
|
paddingInlineStart: this.panel.innerPaddingLeft
|
|
2650
2675
|
? `calc(${panelPaddingHorizontal} + ${this.panel.innerPaddingLeft})`
|
|
2651
2676
|
: this.panel.innerPaddingLeft,
|
|
2652
|
-
// paddingInlineEnd: this.panel.innerPaddingLeft ? panelPaddingHorizontal : undefined,
|
|
2653
|
-
display: this.panel.renderedIsExpanded ? undefined : "none",
|
|
2654
2677
|
};
|
|
2655
|
-
|
|
2656
|
-
let
|
|
2678
|
+
const className = this.panelBase.cssClasses.panel.content;
|
|
2679
|
+
let expandableContent = null;
|
|
2657
2680
|
if (this.panel.renderedIsExpanded) {
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
content = this.renderContent(style, rows, className);
|
|
2662
|
-
bottom = this.renderBottom();
|
|
2681
|
+
expandableContent = _$1("div", { className: this.panel.cssClasses.panel.expandableContent },
|
|
2682
|
+
this.renderContent(style, this.renderRows(this.panelBase.cssClasses), className),
|
|
2683
|
+
this.renderBottom());
|
|
2663
2684
|
}
|
|
2664
2685
|
const focusIn = () => {
|
|
2665
2686
|
if (this.panelBase)
|
|
@@ -2669,8 +2690,7 @@ class SurveyPanel extends SurveyPanelBase {
|
|
|
2669
2690
|
this.panel.showErrorsAbovePanel ? errors : null,
|
|
2670
2691
|
header,
|
|
2671
2692
|
this.panel.showErrorsAbovePanel ? null : errors,
|
|
2672
|
-
|
|
2673
|
-
bottom));
|
|
2693
|
+
expandableContent));
|
|
2674
2694
|
}
|
|
2675
2695
|
renderHeader() {
|
|
2676
2696
|
if (!this.panel.hasTitle && !this.panel.hasDescription) {
|
|
@@ -2846,13 +2866,14 @@ class SurveyQuestionSelectbase extends SurveyQuestionElementBase {
|
|
|
2846
2866
|
}
|
|
2847
2867
|
renderElement() {
|
|
2848
2868
|
var cssClasses = this.question.cssClasses;
|
|
2849
|
-
return (_$1("fieldset", { className: this.question.getSelectBaseRootCss(), ref: (fieldset) => (this.setControl(fieldset)), role: this.question.a11y_input_ariaRole, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage },
|
|
2869
|
+
return (_$1("fieldset", { className: this.question.getSelectBaseRootCss(), ref: (fieldset) => (this.setControl(fieldset)), onKeyDown: (event) => this.handleRootKeyDown(event), role: this.question.a11y_input_ariaRole, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage },
|
|
2850
2870
|
this.renderHeader(),
|
|
2851
2871
|
this.question.hasColumns
|
|
2852
2872
|
? this.getColumnedBody(cssClasses)
|
|
2853
2873
|
: this.getBody(cssClasses),
|
|
2854
2874
|
this.getFooter()));
|
|
2855
2875
|
}
|
|
2876
|
+
handleRootKeyDown(_event) { }
|
|
2856
2877
|
renderHeader() { return null; }
|
|
2857
2878
|
getFooter() {
|
|
2858
2879
|
if (this.question.hasFootItems) {
|
|
@@ -3018,6 +3039,10 @@ class SurveyQuestionCheckbox extends SurveyQuestionSelectbase {
|
|
|
3018
3039
|
get question() {
|
|
3019
3040
|
return this.questionBase;
|
|
3020
3041
|
}
|
|
3042
|
+
handleRootKeyDown(event) {
|
|
3043
|
+
var _a, _b;
|
|
3044
|
+
(_b = (_a = this.question).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, event);
|
|
3045
|
+
}
|
|
3021
3046
|
renderHeader() {
|
|
3022
3047
|
return _$1(k$3, null,
|
|
3023
3048
|
_$1("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
|
|
@@ -3033,6 +3058,12 @@ class SurveyQuestionCheckbox extends SurveyQuestionSelectbase {
|
|
|
3033
3058
|
class SurveyQuestionCheckboxItem extends SurveyQuestionSelectBaseItem {
|
|
3034
3059
|
constructor(props) {
|
|
3035
3060
|
super(props);
|
|
3061
|
+
this.handleOnKeyDown = (event) => {
|
|
3062
|
+
this.question.onChoiceKeyDown(event.nativeEvent);
|
|
3063
|
+
};
|
|
3064
|
+
this.handleOnBlur = (event) => {
|
|
3065
|
+
this.question.onChoiceFocusOut(event.nativeEvent);
|
|
3066
|
+
};
|
|
3036
3067
|
}
|
|
3037
3068
|
doOnItemChange(event) {
|
|
3038
3069
|
this.question.clickItemHandler(this.item, event.target.checked);
|
|
@@ -3049,9 +3080,11 @@ class SurveyQuestionCheckboxItem extends SurveyQuestionSelectBaseItem {
|
|
|
3049
3080
|
const itemClass = this.question.getItemClass(this.item);
|
|
3050
3081
|
const labelClass = this.question.getLabelClass(this.item);
|
|
3051
3082
|
const itemLabel = !this.hideCaption ? _$1("span", { className: this.cssClasses.controlLabel, id: this.question.getItemLabelId(this.item), "aria-hidden": this.question.isItemLabelAriaHidden ? "true" : undefined }, this.renderLocString(this.item.locText, this.textStyle)) : null;
|
|
3083
|
+
const shortcutKey = this.question.getChoiceKeyBadge(this.item);
|
|
3052
3084
|
return (_$1("div", { className: itemClass, role: "presentation", ref: this.rootRef },
|
|
3053
3085
|
_$1("label", { className: labelClass },
|
|
3054
|
-
_$1("
|
|
3086
|
+
shortcutKey ? _$1("span", { className: this.question.getItemShortcutKeyClass(this.item), "aria-hidden": "true" }, shortcutKey) : null,
|
|
3087
|
+
_$1("input", { className: this.cssClasses.itemControl, type: "checkbox", name: this.question.name + this.item.id, value: this.item.value, id: id, style: this.inputStyle, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, checked: isChecked, onChange: this.handleOnChange, onKeyDown: this.handleOnKeyDown, onBlur: this.handleOnBlur, required: this.question.hasRequiredError(), "aria-label": this.ariaLabel, "aria-labelledby": !this.ariaLabel && !this.hideCaption ? this.question.getItemLabelId(this.item) : undefined, "aria-keyshortcuts": this.question.getItemAriaKeyShortcuts(this.item) }),
|
|
3055
3088
|
this.cssClasses.materialDecorator ?
|
|
3056
3089
|
_$1("span", { className: this.cssClasses.materialDecorator, "aria-hidden": "true" }, this.question.itemSvgIcon ?
|
|
3057
3090
|
_$1("svg", { className: this.cssClasses.itemDecorator },
|
|
@@ -4141,6 +4174,10 @@ class SurveyQuestionRadioItem extends SurveyQuestionSelectBaseItem {
|
|
|
4141
4174
|
var _a, _b;
|
|
4142
4175
|
(_b = (_a = this.question).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, event);
|
|
4143
4176
|
};
|
|
4177
|
+
this.handleOnBlur = (event) => {
|
|
4178
|
+
var _a, _b;
|
|
4179
|
+
(_b = (_a = this.question).onChoiceFocusOut) === null || _b === void 0 ? void 0 : _b.call(_a, event.nativeEvent);
|
|
4180
|
+
};
|
|
4144
4181
|
this.handleOnMouseDown = this.handleOnMouseDown.bind(this);
|
|
4145
4182
|
}
|
|
4146
4183
|
getStateElement() {
|
|
@@ -4166,9 +4203,11 @@ class SurveyQuestionRadioItem extends SurveyQuestionSelectBaseItem {
|
|
|
4166
4203
|
var labelClass = this.question.getLabelClass(this.item);
|
|
4167
4204
|
var controlLabelClass = this.question.getControlLabelClass(this.item);
|
|
4168
4205
|
const itemLabel = !this.hideCaption ? _$1("span", { className: controlLabelClass, id: this.question.getItemLabelId(this.item), "aria-hidden": this.question.isItemLabelAriaHidden ? "true" : undefined }, this.renderLocString(this.item.locText, this.textStyle)) : null;
|
|
4206
|
+
const shortcutKey = this.question.getChoiceKeyBadge(this.item);
|
|
4169
4207
|
return (_$1("div", { className: itemClass, role: "presentation", ref: this.rootRef },
|
|
4170
4208
|
_$1("label", { onMouseDown: this.handleOnMouseDown, className: labelClass },
|
|
4171
|
-
_$1("
|
|
4209
|
+
shortcutKey ? _$1("span", { className: this.question.getItemShortcutKeyClass(this.item), "aria-hidden": "true" }, shortcutKey) : null,
|
|
4210
|
+
_$1("input", { "aria-errormessage": this.question.ariaErrormessage, className: this.cssClasses.itemControl, id: this.question.getItemId(this.item), type: "radio", name: this.question.questionName, checked: this.isChecked, value: this.item.value, disabled: !this.question.getItemEnabled(this.item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, onKeyDown: this.handleOnKeyDown, onBlur: this.handleOnBlur, "aria-label": this.ariaLabel, "aria-labelledby": !this.ariaLabel && !this.hideCaption ? this.question.getItemLabelId(this.item) : undefined, "aria-keyshortcuts": this.question.getItemAriaKeyShortcuts(this.item) }),
|
|
4172
4211
|
this.cssClasses.materialDecorator ?
|
|
4173
4212
|
_$1("span", { className: this.cssClasses.materialDecorator, "aria-hidden": "true" }, this.question.itemSvgIcon ?
|
|
4174
4213
|
_$1("svg", { className: this.cssClasses.itemDecorator },
|
|
@@ -4322,7 +4361,7 @@ class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {
|
|
|
4322
4361
|
const itemClass = this.question.getCheckboxItemCss();
|
|
4323
4362
|
const description = this.question.canRenderLabelDescription ?
|
|
4324
4363
|
SurveyElementBase.renderQuestionDescription(this.question) : null;
|
|
4325
|
-
return (_$1("div", { className: cssClasses.rootCheckbox },
|
|
4364
|
+
return (_$1("div", { className: cssClasses.rootCheckbox, onKeyDown: (event) => { var _a; return this.question.onKeyDown((_a = event.nativeEvent) !== null && _a !== void 0 ? _a : event); } },
|
|
4326
4365
|
_$1("div", { className: itemClass },
|
|
4327
4366
|
_$1("label", { className: cssClasses.checkboxLabel },
|
|
4328
4367
|
_$1("input", { ref: this.checkRef, type: "checkbox", name: this.question.name, value: this.question.booleanValue === null
|
|
@@ -4635,6 +4674,10 @@ class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {
|
|
|
4635
4674
|
renderElement() {
|
|
4636
4675
|
return this.renderTableDiv();
|
|
4637
4676
|
}
|
|
4677
|
+
// The records bar under the table: the pager.
|
|
4678
|
+
renderRecordsBar() {
|
|
4679
|
+
return ReactElementFactory.Instance.createElement("sv-records-bar", { model: this.question.recordsBar });
|
|
4680
|
+
}
|
|
4638
4681
|
renderTableDiv() {
|
|
4639
4682
|
return (_$1("div", { className: this.question.getTableWrapperCss(), ref: (root) => (this.setControl(root)) },
|
|
4640
4683
|
_$1(SurveyQuestionMatrixTable, { question: this.question, creator: this.creator, wrapCell: (cell, element, reason) => this.wrapCell(cell, element, reason) })));
|
|
@@ -4799,6 +4842,12 @@ class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {
|
|
|
4799
4842
|
constructor(props) {
|
|
4800
4843
|
super(props);
|
|
4801
4844
|
}
|
|
4845
|
+
// A fragment: a matrix that does not page renders the table alone, as before the pager.
|
|
4846
|
+
renderElement() {
|
|
4847
|
+
return (_$1(k$3, null,
|
|
4848
|
+
this.renderTableDiv(),
|
|
4849
|
+
this.renderRecordsBar()));
|
|
4850
|
+
}
|
|
4802
4851
|
}
|
|
4803
4852
|
ReactQuestionFactory.Instance.registerQuestion("matrixdropdown", props => {
|
|
4804
4853
|
return _$1(SurveyQuestionMatrixDropdown, props);
|
|
@@ -4824,7 +4873,17 @@ class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {
|
|
|
4824
4873
|
return (_$1("div", null,
|
|
4825
4874
|
this.renderTopToolbar(),
|
|
4826
4875
|
mainDiv,
|
|
4827
|
-
this.
|
|
4876
|
+
this.renderRecordsFooter()));
|
|
4877
|
+
}
|
|
4878
|
+
// The footer exists only with the pager: the bottom toolbar and the pager in one row.
|
|
4879
|
+
// Without the pager the bottom toolbar is the next sibling of the table, as without paging.
|
|
4880
|
+
renderRecordsFooter() {
|
|
4881
|
+
const toolbar = this.renderBottomToolbar();
|
|
4882
|
+
if (!this.matrix.showPager)
|
|
4883
|
+
return toolbar;
|
|
4884
|
+
return _$1("div", { className: this.matrix.getFooterCss() },
|
|
4885
|
+
toolbar,
|
|
4886
|
+
this.renderRecordsBar());
|
|
4828
4887
|
}
|
|
4829
4888
|
renderToolbar(location) {
|
|
4830
4889
|
if (!this.matrix.getShowToolbar(location))
|
|
@@ -4853,7 +4912,7 @@ class SurveyQuestionMatrixDynamicPlaceholder extends ReactSurveyElement {
|
|
|
4853
4912
|
const matrix = this.props.question;
|
|
4854
4913
|
const text = this.renderLocString(matrix.locNoRowsText);
|
|
4855
4914
|
const textDiv = _$1("div", { className: cssClasses.noRowsText }, text);
|
|
4856
|
-
const toolbar = matrix.
|
|
4915
|
+
const toolbar = matrix.getShowPlaceholderToolbar() ? ReactElementFactory.Instance.createElement("sv-action-bar", { model: matrix.toolbar }) : null;
|
|
4857
4916
|
return (_$1("div", { className: cssClasses.noRowsSection },
|
|
4858
4917
|
textDiv,
|
|
4859
4918
|
toolbar));
|
|
@@ -4912,21 +4971,24 @@ class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {
|
|
|
4912
4971
|
_$1("div", { className: this.question.cssClasses.panelsContainer }, panels),
|
|
4913
4972
|
navigation));
|
|
4914
4973
|
}
|
|
4974
|
+
// The records bar in the footer: the pager.
|
|
4975
|
+
renderRecordsBar() {
|
|
4976
|
+
return ReactElementFactory.Instance.createElement("sv-records-bar", { model: this.question.recordsBar });
|
|
4977
|
+
}
|
|
4915
4978
|
renderRange() {
|
|
4916
4979
|
return (_$1("div", { className: this.question.cssClasses.progress },
|
|
4917
4980
|
_$1("div", { className: this.question.cssClasses.progressBar, style: { width: this.question.progress }, role: "progressbar", "aria-label": this.question.progressBarAriaLabel })));
|
|
4918
4981
|
}
|
|
4919
4982
|
renderNavigator() {
|
|
4920
|
-
if (!this.question.
|
|
4983
|
+
if (!this.question.showFooter)
|
|
4921
4984
|
return null;
|
|
4922
|
-
const range = this.question.
|
|
4923
|
-
|
|
4924
|
-
return null;
|
|
4925
|
-
return (_$1("div", { className: this.question.cssClasses.footer },
|
|
4985
|
+
const range = this.question.showFooterProgress ? this.renderRange() : null;
|
|
4986
|
+
return (_$1("div", { className: this.question.getFooterCss() },
|
|
4926
4987
|
_$1("hr", { className: this.question.cssClasses.separator }),
|
|
4927
4988
|
range,
|
|
4928
|
-
this.question.
|
|
4929
|
-
_$1(SurveyActionBar, { model: this.question.footerToolbar }))) : null
|
|
4989
|
+
this.question.showFooterButtons ? (_$1("div", { className: this.question.cssClasses.footerButtonsContainer },
|
|
4990
|
+
_$1(SurveyActionBar, { model: this.question.footerToolbar }))) : null,
|
|
4991
|
+
this.renderRecordsBar()));
|
|
4930
4992
|
}
|
|
4931
4993
|
renderPlaceholder(cssClasses) {
|
|
4932
4994
|
if (this.question.getShowNoEntriesPlaceholder())
|
|
@@ -4977,7 +5039,7 @@ class SurveyQuestionPanelDynamicPlaceholder extends ReactSurveyElement {
|
|
|
4977
5039
|
const question = this.props.question;
|
|
4978
5040
|
return (_$1("div", { className: cssClasses.noEntriesPlaceholder },
|
|
4979
5041
|
_$1("span", null, this.renderLocString(question.locNoEntriesText)),
|
|
4980
|
-
_$1(SurveyActionBar, { model:
|
|
5042
|
+
question.getShowPlaceholderToolbar() ? _$1(SurveyActionBar, { model: question.footerToolbar }) : null));
|
|
4981
5043
|
}
|
|
4982
5044
|
}
|
|
4983
5045
|
ReactElementFactory.Instance.registerElement("sv-placeholder-paneldynamic", (props) => { return _$1(SurveyQuestionPanelDynamicPlaceholder, props); });
|
|
@@ -5527,7 +5589,7 @@ class SurveyQuestionImagePicker extends SurveyQuestionElementBase {
|
|
|
5527
5589
|
}
|
|
5528
5590
|
renderElement() {
|
|
5529
5591
|
var cssClasses = this.question.cssClasses;
|
|
5530
|
-
return (_$1("fieldset", { className: this.question.getSelectBaseRootCss(), style: this.question.getContainerStyle() },
|
|
5592
|
+
return (_$1("fieldset", { className: this.question.getSelectBaseRootCss(), style: this.question.getContainerStyle(), onKeyDown: (event) => { var _a, _b; return (_b = (_a = this.question).onKeyDown) === null || _b === void 0 ? void 0 : _b.call(_a, event); } },
|
|
5531
5593
|
_$1("legend", { className: "sv-hidden" }, this.question.locTitle.renderedHtml),
|
|
5532
5594
|
this.question.hasColumns ? this.getColumns(cssClasses) : this.getItems(cssClasses)));
|
|
5533
5595
|
}
|
|
@@ -5562,6 +5624,8 @@ class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
|
5562
5624
|
constructor(props) {
|
|
5563
5625
|
super(props);
|
|
5564
5626
|
this.handleOnChange = this.handleOnChange.bind(this);
|
|
5627
|
+
this.handleOnKeyDown = this.handleOnKeyDown.bind(this);
|
|
5628
|
+
this.handleOnBlur = this.handleOnBlur.bind(this);
|
|
5565
5629
|
}
|
|
5566
5630
|
getStateElement() {
|
|
5567
5631
|
return this.item;
|
|
@@ -5592,6 +5656,12 @@ class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
|
5592
5656
|
get question() {
|
|
5593
5657
|
return this.props.question;
|
|
5594
5658
|
}
|
|
5659
|
+
handleOnKeyDown(event) {
|
|
5660
|
+
this.question.onChoiceKeyDown(event.nativeEvent);
|
|
5661
|
+
}
|
|
5662
|
+
handleOnBlur(event) {
|
|
5663
|
+
this.question.onChoiceFocusOut(event.nativeEvent);
|
|
5664
|
+
}
|
|
5595
5665
|
handleOnChange(event) {
|
|
5596
5666
|
if (this.question.isReadOnlyAttr)
|
|
5597
5667
|
return;
|
|
@@ -5639,10 +5709,11 @@ class SurveyQuestionImagePickerItem extends ReactSurveyElement {
|
|
|
5639
5709
|
null));
|
|
5640
5710
|
}
|
|
5641
5711
|
const renderedItem = (_$1("div", { className: itemClass },
|
|
5642
|
-
_$1("label", { className: cssClasses.label },
|
|
5643
|
-
_$1("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, required: this.question.inputRequiredAttribute, "aria-label": item.locText.renderedHtml, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage }),
|
|
5712
|
+
_$1("label", { className: cssClasses.label, onMouseDown: () => this.question.onMouseDown() },
|
|
5713
|
+
_$1("input", { className: cssClasses.itemControl, id: this.question.getItemId(item), type: this.question.inputType, name: this.question.questionName, checked: isChecked, value: item.value, disabled: !this.question.getItemEnabled(item), readOnly: this.question.isReadOnlyAttr, onChange: this.handleOnChange, onKeyDown: this.handleOnKeyDown, onBlur: this.handleOnBlur, required: this.question.inputRequiredAttribute, "aria-label": item.locText.renderedHtml, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-keyshortcuts": this.question.getItemAriaKeyShortcuts(item) }),
|
|
5644
5714
|
_$1("div", { className: this.question.cssClasses.itemDecorator },
|
|
5645
5715
|
_$1("div", { className: this.question.cssClasses.imageContainer },
|
|
5716
|
+
this.question.getChoiceKeyBadge(item) ? _$1("span", { className: this.question.getItemShortcutKeyClass(item), "aria-hidden": "true" }, this.question.getChoiceKeyBadge(item)) : null,
|
|
5646
5717
|
!!this.question.cssClasses.checkedItemDecorator ?
|
|
5647
5718
|
_$1("span", { className: this.question.cssClasses.checkedItemDecorator, "aria-hidden": "true" }, !!this.question.cssClasses.checkedItemSvgIconId ? _$1(SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
|
|
5648
5719
|
control),
|
|
@@ -5963,6 +6034,26 @@ ReactElementFactory.Instance.registerElement("sv-action-bar-item-dropdown", (pro
|
|
|
5963
6034
|
return _$1(SurveyActionBarItemDropdown, props);
|
|
5964
6035
|
});
|
|
5965
6036
|
|
|
6037
|
+
// The bar under the records of a dynamic panel and of a matrix: the pager.
|
|
6038
|
+
class SurveyRecordsBar extends SurveyElementBase {
|
|
6039
|
+
get model() {
|
|
6040
|
+
return this.props.model;
|
|
6041
|
+
}
|
|
6042
|
+
getStateElement() {
|
|
6043
|
+
return this.model;
|
|
6044
|
+
}
|
|
6045
|
+
renderElement() {
|
|
6046
|
+
if (!this.model.isVisible)
|
|
6047
|
+
return null;
|
|
6048
|
+
const css = this.model.cssClasses;
|
|
6049
|
+
return _$1("div", { className: css.root },
|
|
6050
|
+
_$1("div", { className: css.pager }, ReactElementFactory.Instance.createElement("sv-action-bar", { model: this.model.pagerActions })));
|
|
6051
|
+
}
|
|
6052
|
+
}
|
|
6053
|
+
ReactElementFactory.Instance.registerElement("sv-records-bar", (props) => {
|
|
6054
|
+
return _$1(SurveyRecordsBar, props);
|
|
6055
|
+
});
|
|
6056
|
+
|
|
5966
6057
|
class LogoImage extends x$3 {
|
|
5967
6058
|
constructor(props) {
|
|
5968
6059
|
super(props);
|
|
@@ -6284,7 +6375,7 @@ SurveyModel.prototype["render"] = function (element = null) {
|
|
|
6284
6375
|
}
|
|
6285
6376
|
};
|
|
6286
6377
|
const preact = React;
|
|
6287
|
-
checkLibraryVersion(`${"3.2.
|
|
6378
|
+
checkLibraryVersion(`${"3.2.2"}`, "survey-js-ui");
|
|
6288
6379
|
|
|
6289
|
-
export { CharacterCounterComponent, O as Children, x$3 as Component, ComponentsContainer, k$3 as Fragment, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, N as PureComponent, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Scroll, Skeleton, SliderLabelItem, Cn as StrictMode, Survey, SurveyActionBar, SurveyActionBarItemDropdown, SurveyActionBarSeparator, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFileItem, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionBooleanSwitch, SurveyQuestionButtonGroup, SurveyQuestionButtonGroupDropdown, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImageMap, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicProgressText, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionSlider, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRow, SurveyTimerPanel, SurveyWindow, P as Suspense, B as SuspenseList, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click, _n as cloneElement, Q$2 as createContext, _$1 as createElement, dn as createFactory, $ as createPortal, b$1 as createRef, Sn as findDOMNode, En as flushSync, D as forwardRef, tn as hydrate, pn as isFragment, yn as isMemo, mn as isValidElement, z as lazy, M as memo, preact, nn as render, renderPopupSurvey, renderSurvey, R as startTransition, bn as unmountComponentAtNode, gn as unstable_batchedUpdates, q$2 as useCallback, x$2 as useContext, P$2 as useDebugValue, w as useDeferredValue, y as useEffect, g$2 as useId, F$2 as useImperativeHandle, I as useInsertionEffect, _ as useLayoutEffect, T$2 as useMemo, h as useReducer, A$2 as useRef, d as useState, C as useSyncExternalStore, k as useTransition, vn as version };
|
|
6380
|
+
export { CharacterCounterComponent, O as Children, x$3 as Component, ComponentsContainer, k$3 as Fragment, Header, HeaderCell, HeaderMobile, List, ListItemContent, ListItemGroup, LoadingIndicatorComponent, LogoImage, MatrixRow, NotifierComponent, Popup, PopupModal, PopupSurvey, N as PureComponent, QuestionErrorComponent, RatingDropdownItem, RatingItem, RatingItemSmiley, RatingItemStar, ReactElementFactory, ReactQuestionFactory, ReactSurveyElement, ReactSurveyElementsWrapper, Scroll, Skeleton, SliderLabelItem, Cn as StrictMode, Survey, SurveyActionBar, SurveyActionBarItemDropdown, SurveyActionBarSeparator, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFileItem, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionBooleanSwitch, SurveyQuestionButtonGroup, SurveyQuestionButtonGroupDropdown, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImageMap, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicProgressText, SurveyQuestionRadioItem, SurveyQuestionRadiogroup, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionSignaturePad, SurveyQuestionSlider, SurveyQuestionTagbox, SurveyQuestionTagboxItem, SurveyQuestionText, SurveyRecordsBar, SurveyRow, SurveyTimerPanel, SurveyWindow, P as Suspense, B as SuspenseList, SvgBundleComponent, SvgIcon, TagboxFilterString, TitleActions, TitleElement, attachKey2click, _n as cloneElement, Q$2 as createContext, _$1 as createElement, dn as createFactory, $ as createPortal, b$1 as createRef, Sn as findDOMNode, En as flushSync, D as forwardRef, tn as hydrate, pn as isFragment, yn as isMemo, mn as isValidElement, z as lazy, M as memo, preact, nn as render, renderPopupSurvey, renderSurvey, R as startTransition, bn as unmountComponentAtNode, gn as unstable_batchedUpdates, q$2 as useCallback, x$2 as useContext, P$2 as useDebugValue, w as useDeferredValue, y as useEffect, g$2 as useId, F$2 as useImperativeHandle, I as useInsertionEffect, _ as useLayoutEffect, T$2 as useMemo, h as useReducer, A$2 as useRef, d as useState, C as useSyncExternalStore, k as useTransition, vn as version };
|
|
6290
6381
|
//# sourceMappingURL=survey-js-ui.mjs.map
|