survey-js-ui 1.12.17 → 1.12.19
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 +2 -2
- package/survey-js-ui.js +19 -16
- package/survey-js-ui.js.map +1 -1
- package/survey-js-ui.min.js +7 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.19",
|
|
4
4
|
"description": "survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Survey",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"typings": "./typings/src/entries/js-ui.d.ts",
|
|
24
24
|
"dependencies": {},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"survey-core": "1.12.
|
|
26
|
+
"survey-core": "1.12.19",
|
|
27
27
|
"@types/react-dom": "*",
|
|
28
28
|
"@types/react": "*"
|
|
29
29
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
3
|
-
* Copyright (c) 2015-
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.19
|
|
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
|
*/
|
|
6
6
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -110,8 +110,8 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
110
110
|
/***/ (function(module, exports, __webpack_require__) {
|
|
111
111
|
|
|
112
112
|
/*!
|
|
113
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
114
|
-
* Copyright (c) 2015-
|
|
113
|
+
* surveyjs - Survey JavaScript library v1.12.19
|
|
114
|
+
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
115
115
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
116
116
|
*/
|
|
117
117
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -1043,8 +1043,8 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1043
1043
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1044
1044
|
|
|
1045
1045
|
/*!
|
|
1046
|
-
* surveyjs - Survey JavaScript library v1.12.
|
|
1047
|
-
* Copyright (c) 2015-
|
|
1046
|
+
* surveyjs - Survey JavaScript library v1.12.19
|
|
1047
|
+
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
1048
1048
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
1049
1049
|
*/
|
|
1050
1050
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -6560,13 +6560,14 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
|
|
|
6560
6560
|
return g("div", null, this.question.readOnlyText);
|
|
6561
6561
|
};
|
|
6562
6562
|
SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
|
|
6563
|
+
var _this = this;
|
|
6563
6564
|
var _a, _b;
|
|
6564
6565
|
var selectElement = null;
|
|
6565
6566
|
if (this.question.isReadOnly) {
|
|
6566
6567
|
var text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : "";
|
|
6567
6568
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6568
6569
|
// @ts-ignore
|
|
6569
|
-
selectElement = g("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass() },
|
|
6570
|
+
selectElement = g("div", { id: this.question.inputId, "aria-label": this.question.a11y_input_ariaLabel, "aria-labelledby": this.question.a11y_input_ariaLabelledBy, "aria-describedby": this.question.a11y_input_ariaDescribedBy, tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } },
|
|
6570
6571
|
text,
|
|
6571
6572
|
this.renderReadOnlyElement());
|
|
6572
6573
|
}
|
|
@@ -6600,7 +6601,7 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
|
|
|
6600
6601
|
return (g("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
|
|
6601
6602
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6602
6603
|
// @ts-ignore
|
|
6603
|
-
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
|
|
6604
|
+
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
|
|
6604
6605
|
dropdownListModel.showHintPrefix ?
|
|
6605
6606
|
(g("div", { className: this.question.cssClasses.hintPrefix },
|
|
6606
6607
|
g("span", null, dropdownListModel.hintStringPrefix))) : null,
|
|
@@ -6789,7 +6790,7 @@ var reactquestion_tagbox_SurveyQuestionTagbox = /** @class */ (function (_super)
|
|
|
6789
6790
|
return (g("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
|
|
6790
6791
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6791
6792
|
// @ts-ignore
|
|
6792
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant },
|
|
6793
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: this.question.ariaRole, "aria-required": this.question.ariaRequired, "aria-label": this.question.ariaLabel, "aria-invalid": this.question.ariaInvalid, "aria-errormessage": this.question.ariaErrormessage, "aria-expanded": this.question.ariaExpanded, "aria-controls": dropdownListModel.listElementId, "aria-activedescendant": dropdownListModel.ariaActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
|
|
6793
6794
|
g("div", { className: this.question.cssClasses.controlValue },
|
|
6794
6795
|
items,
|
|
6795
6796
|
g(tagbox_filter_TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
|
|
@@ -8493,13 +8494,13 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
|
|
|
8493
8494
|
var matrixrow = [];
|
|
8494
8495
|
var cells = row.cells;
|
|
8495
8496
|
for (var i = 0; i < cells.length; i++) {
|
|
8496
|
-
matrixrow.push(this.renderCell(cells[i],
|
|
8497
|
+
matrixrow.push(this.renderCell(cells[i], cssClasses, reason));
|
|
8497
8498
|
}
|
|
8498
8499
|
var key = "row" + keyValue;
|
|
8499
8500
|
return (g(k, { key: key }, (reason == "row-footer") ? g("tr", null, matrixrow) : g(row_MatrixRow, { model: row, parentMatrix: this.question }, matrixrow)));
|
|
8500
8501
|
};
|
|
8501
|
-
SurveyQuestionMatrixTable.prototype.renderCell = function (cell,
|
|
8502
|
-
var key = "cell" +
|
|
8502
|
+
SurveyQuestionMatrixTable.prototype.renderCell = function (cell, cssClasses, reason) {
|
|
8503
|
+
var key = "cell" + cell.id;
|
|
8503
8504
|
if (cell.hasQuestion) {
|
|
8504
8505
|
return (g(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell, { key: key, cssClasses: cssClasses, cell: cell, creator: this.creator, reason: reason }));
|
|
8505
8506
|
}
|
|
@@ -8772,7 +8773,9 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell = /** @cla
|
|
|
8772
8773
|
};
|
|
8773
8774
|
SurveyQuestionMatrixDropdownCell.prototype.renderCellContent = function () {
|
|
8774
8775
|
var content = _super.prototype.renderCellContent.call(this);
|
|
8775
|
-
var responsiveTitle = this.cell.showResponsiveTitle ? (g("span", { className: this.cell.responsiveTitleCss },
|
|
8776
|
+
var responsiveTitle = this.cell.showResponsiveTitle ? (g("span", { className: this.cell.responsiveTitleCss },
|
|
8777
|
+
this.renderLocString(this.cell.responsiveLocTitle),
|
|
8778
|
+
g(reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired, { column: this.cell.column, question: this.cell.matrix }))) : null;
|
|
8776
8779
|
return g(k, null,
|
|
8777
8780
|
responsiveTitle,
|
|
8778
8781
|
content);
|
|
@@ -9572,7 +9575,7 @@ var list_item_ListItem = /** @class */ (function (_super) {
|
|
|
9572
9575
|
var className = this.model.getItemClass(this.item);
|
|
9573
9576
|
var itemContent = this.item.component || this.model.itemComponent;
|
|
9574
9577
|
var newElement = ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });
|
|
9575
|
-
var contentWrap = Rn.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.
|
|
9578
|
+
var contentWrap = Rn.createElement("div", { style: this.model.getItemStyle(this.item), className: this.model.cssClasses.itemBody, title: this.item.getTooltip(), onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
|
|
9576
9579
|
var separator = this.item.needSeparator ? Rn.createElement("div", { className: this.model.cssClasses.itemSeparator }) : null;
|
|
9577
9580
|
var isVisible = this.model.isItemVisible(this.item);
|
|
9578
9581
|
var style = {
|
|
@@ -10252,7 +10255,7 @@ var imagepicker_SurveyQuestionImagePickerItem = /** @class */ (function (_super)
|
|
|
10252
10255
|
g("div", { className: this.question.cssClasses.itemDecorator },
|
|
10253
10256
|
g("div", { className: this.question.cssClasses.imageContainer },
|
|
10254
10257
|
!!this.question.cssClasses.checkedItemDecorator ?
|
|
10255
|
-
g("span", { className: this.question.cssClasses.checkedItemDecorator }, !!this.question.cssClasses.checkedItemSvgIconId ? g(svg_icon_SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
|
|
10258
|
+
g("span", { className: this.question.cssClasses.checkedItemDecorator, "aria-hidden": "true" }, !!this.question.cssClasses.checkedItemSvgIconId ? g(svg_icon_SvgIcon, { size: "auto", className: this.question.cssClasses.checkedItemSvgIcon, iconName: this.question.cssClasses.checkedItemSvgIconId }) : null) : null,
|
|
10256
10259
|
control),
|
|
10257
10260
|
text))));
|
|
10258
10261
|
return renderedItem;
|
|
@@ -11484,7 +11487,7 @@ var preact = compat_module_namespaceObject;
|
|
|
11484
11487
|
|
|
11485
11488
|
|
|
11486
11489
|
|
|
11487
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.
|
|
11490
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.19", "survey-js-ui");
|
|
11488
11491
|
|
|
11489
11492
|
|
|
11490
11493
|
/***/ }),
|