survey-js-ui 2.5.2 → 2.5.4
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 +25 -21
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +25 -21
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +1 -1
- package/survey-js-ui.min.js.LICENSE.txt +1 -1
package/fesm/survey-js-ui.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.5.4
|
|
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
|
*/
|
|
@@ -1167,7 +1167,7 @@ class PopupModal extends SurveyElementBase {
|
|
|
1167
1167
|
PopupModal.modalDescriptors = [];
|
|
1168
1168
|
|
|
1169
1169
|
/*!
|
|
1170
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
1170
|
+
* surveyjs - Survey JavaScript library v2.5.4
|
|
1171
1171
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1172
1172
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1173
1173
|
*/
|
|
@@ -1237,7 +1237,7 @@ var iconsV1 = {
|
|
|
1237
1237
|
};
|
|
1238
1238
|
|
|
1239
1239
|
/*!
|
|
1240
|
-
* surveyjs - Survey JavaScript library v2.5.
|
|
1240
|
+
* surveyjs - Survey JavaScript library v2.5.4
|
|
1241
1241
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1242
1242
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1243
1243
|
*/
|
|
@@ -1596,29 +1596,33 @@ ReactElementFactory.Instance.registerElement("survey", (props) => {
|
|
|
1596
1596
|
return _$1(Survey, props);
|
|
1597
1597
|
});
|
|
1598
1598
|
function attachKey2click(element, viewModel, options = { processEsc: true, disableTabStop: false }) {
|
|
1599
|
+
let props = {};
|
|
1599
1600
|
if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {
|
|
1600
|
-
|
|
1601
|
+
props = { tabIndex: -1 };
|
|
1601
1602
|
}
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1603
|
+
else {
|
|
1604
|
+
options = Object.assign({}, options);
|
|
1605
|
+
props = {
|
|
1606
|
+
tabIndex: 0,
|
|
1607
|
+
onKeyUp: (evt) => {
|
|
1607
1608
|
evt.preventDefault();
|
|
1608
1609
|
evt.stopPropagation();
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1610
|
+
doKey2ClickUp(evt, options);
|
|
1611
|
+
},
|
|
1612
|
+
onKeyDown: (evt) => doKey2ClickDown(evt, options),
|
|
1613
|
+
onBlur: (evt) => doKey2ClickBlur(evt),
|
|
1614
|
+
};
|
|
1615
|
+
}
|
|
1616
|
+
props["onPointerUp"] = (evt) => {
|
|
1617
|
+
if (evt.pointerType === "pen") {
|
|
1615
1618
|
evt.preventDefault();
|
|
1616
1619
|
evt.stopPropagation();
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
}
|
|
1620
|
+
const element = evt.target;
|
|
1621
|
+
if (element === null || element === void 0 ? void 0 : element.click)
|
|
1622
|
+
element.click();
|
|
1623
|
+
}
|
|
1624
|
+
};
|
|
1625
|
+
return _n(element, props);
|
|
1622
1626
|
}
|
|
1623
1627
|
|
|
1624
1628
|
class SurveyNavigationBase extends x$2 {
|
|
@@ -6273,7 +6277,7 @@ SurveyModel.prototype["render"] = function (element = null) {
|
|
|
6273
6277
|
}
|
|
6274
6278
|
};
|
|
6275
6279
|
const preact = React;
|
|
6276
|
-
checkLibraryVersion(`${"2.5.
|
|
6280
|
+
checkLibraryVersion(`${"2.5.4"}`, "survey-js-ui");
|
|
6277
6281
|
|
|
6278
6282
|
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 };
|
|
6279
6283
|
//# sourceMappingURL=survey-js-ui.mjs.map
|