survey-js-ui 1.12.51 → 1.12.53
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.3.6
|
|
3
3
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
4
4
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
@@ -949,6 +949,8 @@ class PopupContainer extends SurveyElementBase {
|
|
|
949
949
|
const style = { display: this.model.isVisible ? "" : "none", };
|
|
950
950
|
return (_$1("div", { tabIndex: -1, className: className, style: style, onClick: (e) => {
|
|
951
951
|
this.model.clickOutside(e);
|
|
952
|
+
}, onBlur: (e) => {
|
|
953
|
+
this.model.blur(e);
|
|
952
954
|
}, onKeyDown: this.handleKeydown }, container));
|
|
953
955
|
}
|
|
954
956
|
componentDidMount() {
|
|
@@ -1983,7 +1985,7 @@ class PopupModal extends SurveyElementBase {
|
|
|
1983
1985
|
PopupModal.modalDescriptors = [];
|
|
1984
1986
|
|
|
1985
1987
|
/*!
|
|
1986
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
1988
|
+
* surveyjs - Survey JavaScript library v2.3.6
|
|
1987
1989
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1988
1990
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1989
1991
|
*/
|
|
@@ -2053,7 +2055,7 @@ var iconsV1 = {
|
|
|
2053
2055
|
};
|
|
2054
2056
|
|
|
2055
2057
|
/*!
|
|
2056
|
-
* surveyjs - Survey JavaScript library v2.3.
|
|
2058
|
+
* surveyjs - Survey JavaScript library v2.3.6
|
|
2057
2059
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
2058
2060
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
2059
2061
|
*/
|
|
@@ -3115,8 +3117,9 @@ class TagboxFilterString extends SurveyElementBase {
|
|
|
3115
3117
|
}
|
|
3116
3118
|
}
|
|
3117
3119
|
onChange(e) {
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
+
var _a;
|
|
3121
|
+
const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
|
|
3122
|
+
if (e.target === activeElement) {
|
|
3120
3123
|
this.model.inputStringRendered = e.target.value;
|
|
3121
3124
|
}
|
|
3122
3125
|
}
|
|
@@ -3290,7 +3293,9 @@ class SurveyQuestionDropdownBase extends SurveyQuestionUncontrolledElement {
|
|
|
3290
3293
|
const { root } = settings.environment;
|
|
3291
3294
|
const dropdownListModel = this.dropdownListModel;
|
|
3292
3295
|
const onInputChange = (e) => {
|
|
3293
|
-
|
|
3296
|
+
var _a;
|
|
3297
|
+
const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
|
|
3298
|
+
if (e.target === activeElement) {
|
|
3294
3299
|
dropdownListModel.inputStringRendered = e.target.value;
|
|
3295
3300
|
}
|
|
3296
3301
|
};
|
|
@@ -5148,8 +5153,9 @@ class List extends SurveyElementBase {
|
|
|
5148
5153
|
return null;
|
|
5149
5154
|
else {
|
|
5150
5155
|
const onChange = (e) => {
|
|
5151
|
-
|
|
5152
|
-
|
|
5156
|
+
var _a;
|
|
5157
|
+
const activeElement = (_a = e.target.getRootNode()) === null || _a === void 0 ? void 0 : _a.activeElement;
|
|
5158
|
+
if (e.target === activeElement) {
|
|
5153
5159
|
this.model.filterString = e.target.value;
|
|
5154
5160
|
}
|
|
5155
5161
|
};
|
|
@@ -6316,7 +6322,7 @@ SurveyModel.prototype["render"] = function (element = null) {
|
|
|
6316
6322
|
}
|
|
6317
6323
|
};
|
|
6318
6324
|
const preact = React;
|
|
6319
|
-
checkLibraryVersion(`${"2.3.
|
|
6325
|
+
checkLibraryVersion(`${"2.3.6"}`, "survey-js-ui");
|
|
6320
6326
|
|
|
6321
6327
|
export { CharacterCounterComponent, O as Children, x$2 as Component, ComponentsContainer, k$2 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, SurveyElementBase, SurveyElementErrors, SurveyFileChooseButton, SurveyFileItem, SurveyFilePreview, SurveyFlowPanel, SurveyHeader, SurveyLocStringEditor, SurveyLocStringViewer, SurveyNavigationBase, SurveyNavigationButton, SurveyPage, SurveyPanel, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionButtonGroup, SurveyQuestionButtonGroupDropdown, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionComment, SurveyQuestionCommentItem, SurveyQuestionComposite, SurveyQuestionCustom, SurveyQuestionDropdown, SurveyQuestionDropdownBase, SurveyQuestionDropdownSelect, SurveyQuestionElementBase, SurveyQuestionEmpty, SurveyQuestionExpression, SurveyQuestionFile, SurveyQuestionHtml, SurveyQuestionImage, SurveyQuestionImagePicker, SurveyQuestionMatrix, SurveyQuestionMatrixCell, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixRow, SurveyQuestionMultipleText, SurveyQuestionOptionItem, SurveyQuestionPanelDynamic, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicProgressText, SurveyQuestionPanelDynamicRemoveButton, 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$1 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$1 as useCallback, x$1 as useContext, P$1 as useDebugValue, w as useDeferredValue, y as useEffect, g$1 as useId, F$1 as useImperativeHandle, I as useInsertionEffect, _ as useLayoutEffect, T$1 as useMemo, h as useReducer, A$1 as useRef, d as useState, C as useSyncExternalStore, k as useTransition, vn as version };
|
|
6322
6328
|
//# sourceMappingURL=survey-js-ui.mjs.map
|