survey-js-ui 2.0.9 → 2.0.10
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 +14 -14
- package/fesm/survey-js-ui.mjs.map +1 -1
- package/package.json +2 -2
- package/survey-js-ui.js +38 -38
- 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "survey-js-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.10",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"survey-core": "2.0.
|
|
34
|
+
"survey-core": "2.0.10",
|
|
35
35
|
"@types/react-dom": "*",
|
|
36
36
|
"@types/react": "*"
|
|
37
37
|
}
|
package/survey-js-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
2
|
+
* surveyjs - Survey JavaScript library v2.0.10
|
|
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
|
*/
|
|
@@ -23,7 +23,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
23
23
|
/***/ (function(module) {
|
|
24
24
|
|
|
25
25
|
/*!
|
|
26
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
26
|
+
* surveyjs - Survey JavaScript library v2.0.10
|
|
27
27
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
28
28
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
29
29
|
*/
|
|
@@ -39,7 +39,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
39
39
|
/*!************************************!*\
|
|
40
40
|
!*** ./src/images-v1/ sync \.svg$ ***!
|
|
41
41
|
\************************************/
|
|
42
|
-
/***/ ((module, __unused_webpack_exports,
|
|
42
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_870__) => {
|
|
43
43
|
|
|
44
44
|
var map = {
|
|
45
45
|
"./ModernBooleanCheckChecked.svg": "./src/images-v1/ModernBooleanCheckChecked.svg",
|
|
@@ -108,10 +108,10 @@ var map = {
|
|
|
108
108
|
|
|
109
109
|
function webpackContext(req) {
|
|
110
110
|
var id = webpackContextResolve(req);
|
|
111
|
-
return
|
|
111
|
+
return __nested_webpack_require_870__(id);
|
|
112
112
|
}
|
|
113
113
|
function webpackContextResolve(req) {
|
|
114
|
-
if(!
|
|
114
|
+
if(!__nested_webpack_require_870__.o(map, req)) {
|
|
115
115
|
var e = new Error("Cannot find module '" + req + "'");
|
|
116
116
|
e.code = 'MODULE_NOT_FOUND';
|
|
117
117
|
throw e;
|
|
@@ -743,7 +743,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
743
743
|
/******/ var __webpack_module_cache__ = {};
|
|
744
744
|
/******/
|
|
745
745
|
/******/ // The require function
|
|
746
|
-
/******/ function
|
|
746
|
+
/******/ function __nested_webpack_require_51424__(moduleId) {
|
|
747
747
|
/******/ // Check if module is in cache
|
|
748
748
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
749
749
|
/******/ if (cachedModule !== undefined) {
|
|
@@ -757,7 +757,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
757
757
|
/******/ };
|
|
758
758
|
/******/
|
|
759
759
|
/******/ // Execute the module function
|
|
760
|
-
/******/ __webpack_modules__[moduleId](module, module.exports,
|
|
760
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_51424__);
|
|
761
761
|
/******/
|
|
762
762
|
/******/ // Return the exports of the module
|
|
763
763
|
/******/ return module.exports;
|
|
@@ -767,9 +767,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
767
767
|
/******/ /* webpack/runtime/define property getters */
|
|
768
768
|
/******/ (() => {
|
|
769
769
|
/******/ // define getter functions for harmony exports
|
|
770
|
-
/******/
|
|
770
|
+
/******/ __nested_webpack_require_51424__.d = (exports, definition) => {
|
|
771
771
|
/******/ for(var key in definition) {
|
|
772
|
-
/******/ if(
|
|
772
|
+
/******/ if(__nested_webpack_require_51424__.o(definition, key) && !__nested_webpack_require_51424__.o(exports, key)) {
|
|
773
773
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
774
774
|
/******/ }
|
|
775
775
|
/******/ }
|
|
@@ -778,13 +778,13 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
778
778
|
/******/
|
|
779
779
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
780
780
|
/******/ (() => {
|
|
781
|
-
/******/
|
|
781
|
+
/******/ __nested_webpack_require_51424__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
782
782
|
/******/ })();
|
|
783
783
|
/******/
|
|
784
784
|
/******/ /* webpack/runtime/make namespace object */
|
|
785
785
|
/******/ (() => {
|
|
786
786
|
/******/ // define __esModule on exports
|
|
787
|
-
/******/
|
|
787
|
+
/******/ __nested_webpack_require_51424__.r = (exports) => {
|
|
788
788
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
789
789
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
790
790
|
/******/ }
|
|
@@ -800,13 +800,13 @@ var __nested_webpack_exports__ = {};
|
|
|
800
800
|
/*!************************!*\
|
|
801
801
|
!*** ./src/iconsV1.ts ***!
|
|
802
802
|
\************************/
|
|
803
|
-
|
|
804
|
-
/* harmony export */
|
|
803
|
+
__nested_webpack_require_51424__.r(__nested_webpack_exports__);
|
|
804
|
+
/* harmony export */ __nested_webpack_require_51424__.d(__nested_webpack_exports__, {
|
|
805
805
|
/* harmony export */ icons: () => (/* binding */ icons)
|
|
806
806
|
/* harmony export */ });
|
|
807
807
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
808
808
|
//@ts-ignore
|
|
809
|
-
var path =
|
|
809
|
+
var path = __nested_webpack_require_51424__("./src/images-v1 sync recursive \\.svg$");
|
|
810
810
|
var icons = {};
|
|
811
811
|
path.keys().forEach(function (key) {
|
|
812
812
|
icons[key.substring(2, key.length - 4).toLowerCase()] = path(key);
|
|
@@ -830,7 +830,7 @@ path.keys().forEach(function (key) {
|
|
|
830
830
|
/***/ (function(module) {
|
|
831
831
|
|
|
832
832
|
/*!
|
|
833
|
-
* surveyjs - Survey JavaScript library v2.0.
|
|
833
|
+
* surveyjs - Survey JavaScript library v2.0.10
|
|
834
834
|
* Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
|
|
835
835
|
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
|
|
836
836
|
*/
|
|
@@ -846,7 +846,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
846
846
|
/*!************************************!*\
|
|
847
847
|
!*** ./src/images-v2/ sync \.svg$ ***!
|
|
848
848
|
\************************************/
|
|
849
|
-
/***/ ((module, __unused_webpack_exports,
|
|
849
|
+
/***/ ((module, __unused_webpack_exports, __nested_webpack_require_870__) => {
|
|
850
850
|
|
|
851
851
|
var map = {
|
|
852
852
|
"./ModernBooleanCheckChecked.svg": "./src/images-v2/ModernBooleanCheckChecked.svg",
|
|
@@ -915,10 +915,10 @@ var map = {
|
|
|
915
915
|
|
|
916
916
|
function webpackContext(req) {
|
|
917
917
|
var id = webpackContextResolve(req);
|
|
918
|
-
return
|
|
918
|
+
return __nested_webpack_require_870__(id);
|
|
919
919
|
}
|
|
920
920
|
function webpackContextResolve(req) {
|
|
921
|
-
if(!
|
|
921
|
+
if(!__nested_webpack_require_870__.o(map, req)) {
|
|
922
922
|
var e = new Error("Cannot find module '" + req + "'");
|
|
923
923
|
e.code = 'MODULE_NOT_FOUND';
|
|
924
924
|
throw e;
|
|
@@ -1550,7 +1550,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1550
1550
|
/******/ var __webpack_module_cache__ = {};
|
|
1551
1551
|
/******/
|
|
1552
1552
|
/******/ // The require function
|
|
1553
|
-
/******/ function
|
|
1553
|
+
/******/ function __nested_webpack_require_64536__(moduleId) {
|
|
1554
1554
|
/******/ // Check if module is in cache
|
|
1555
1555
|
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
1556
1556
|
/******/ if (cachedModule !== undefined) {
|
|
@@ -1564,7 +1564,7 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1564
1564
|
/******/ };
|
|
1565
1565
|
/******/
|
|
1566
1566
|
/******/ // Execute the module function
|
|
1567
|
-
/******/ __webpack_modules__[moduleId](module, module.exports,
|
|
1567
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nested_webpack_require_64536__);
|
|
1568
1568
|
/******/
|
|
1569
1569
|
/******/ // Return the exports of the module
|
|
1570
1570
|
/******/ return module.exports;
|
|
@@ -1574,9 +1574,9 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1574
1574
|
/******/ /* webpack/runtime/define property getters */
|
|
1575
1575
|
/******/ (() => {
|
|
1576
1576
|
/******/ // define getter functions for harmony exports
|
|
1577
|
-
/******/
|
|
1577
|
+
/******/ __nested_webpack_require_64536__.d = (exports, definition) => {
|
|
1578
1578
|
/******/ for(var key in definition) {
|
|
1579
|
-
/******/ if(
|
|
1579
|
+
/******/ if(__nested_webpack_require_64536__.o(definition, key) && !__nested_webpack_require_64536__.o(exports, key)) {
|
|
1580
1580
|
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
1581
1581
|
/******/ }
|
|
1582
1582
|
/******/ }
|
|
@@ -1585,13 +1585,13 @@ module.exports = "<svg viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\
|
|
|
1585
1585
|
/******/
|
|
1586
1586
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
1587
1587
|
/******/ (() => {
|
|
1588
|
-
/******/
|
|
1588
|
+
/******/ __nested_webpack_require_64536__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
1589
1589
|
/******/ })();
|
|
1590
1590
|
/******/
|
|
1591
1591
|
/******/ /* webpack/runtime/make namespace object */
|
|
1592
1592
|
/******/ (() => {
|
|
1593
1593
|
/******/ // define __esModule on exports
|
|
1594
|
-
/******/
|
|
1594
|
+
/******/ __nested_webpack_require_64536__.r = (exports) => {
|
|
1595
1595
|
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
1596
1596
|
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
1597
1597
|
/******/ }
|
|
@@ -1607,13 +1607,13 @@ var __nested_webpack_exports__ = {};
|
|
|
1607
1607
|
/*!************************!*\
|
|
1608
1608
|
!*** ./src/iconsV2.ts ***!
|
|
1609
1609
|
\************************/
|
|
1610
|
-
|
|
1611
|
-
/* harmony export */
|
|
1610
|
+
__nested_webpack_require_64536__.r(__nested_webpack_exports__);
|
|
1611
|
+
/* harmony export */ __nested_webpack_require_64536__.d(__nested_webpack_exports__, {
|
|
1612
1612
|
/* harmony export */ icons: () => (/* binding */ icons)
|
|
1613
1613
|
/* harmony export */ });
|
|
1614
1614
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
1615
1615
|
//@ts-ignore
|
|
1616
|
-
var path =
|
|
1616
|
+
var path = __nested_webpack_require_64536__("./src/images-v2 sync recursive \\.svg$");
|
|
1617
1617
|
var icons = {};
|
|
1618
1618
|
path.keys().forEach(function (key) {
|
|
1619
1619
|
icons[key.substring(2, key.length - 4).toLowerCase()] = path(key);
|
|
@@ -6012,17 +6012,17 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
|
6012
6012
|
};
|
|
6013
6013
|
SurveyQuestionDropdownBase.prototype.renderSelect = function (cssClasses) {
|
|
6014
6014
|
var _this = this;
|
|
6015
|
-
var _a, _b;
|
|
6016
6015
|
var selectElement = null;
|
|
6016
|
+
var dropdownListModel = this.question.dropdownListModel;
|
|
6017
6017
|
if (this.question.isReadOnly) {
|
|
6018
6018
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6019
6019
|
// @ts-ignore
|
|
6020
|
-
selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, "aria-label":
|
|
6020
|
+
selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, role: dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionRole, "aria-label": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel === null || dropdownListModel === void 0 ? void 0 : dropdownListModel.ariaQuestionDescribedby, "aria-expanded": "false", "aria-readonly": "true", "aria-disabled": "true", tabIndex: this.question.isDisabledAttr ? undefined : 0, className: this.question.getControlClass(), ref: function (div) { return (_this.setControl(div)); } }, this.renderReadOnlyElement());
|
|
6021
6021
|
}
|
|
6022
6022
|
else {
|
|
6023
6023
|
selectElement = react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
6024
|
-
this.renderInput(
|
|
6025
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup__WEBPACK_IMPORTED_MODULE_2__.Popup, { model:
|
|
6024
|
+
this.renderInput(dropdownListModel),
|
|
6025
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_popup_popup__WEBPACK_IMPORTED_MODULE_2__.Popup, { model: dropdownListModel.popupModel }));
|
|
6026
6026
|
}
|
|
6027
6027
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.selectWrapper, onClick: this.click },
|
|
6028
6028
|
selectElement,
|
|
@@ -6049,7 +6049,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
|
6049
6049
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
|
|
6050
6050
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6051
6051
|
// @ts-ignore
|
|
6052
|
-
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role:
|
|
6052
|
+
disabled: this.question.isDisabledAttr, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, onFocus: this.focus, role: dropdownListModel.ariaQuestionRole, "aria-required": dropdownListModel.ariaQuestionRequired, "aria-invalid": dropdownListModel.ariaQuestionInvalid, "aria-errormessage": dropdownListModel.ariaQuestionErrorMessage, "aria-expanded": dropdownListModel.ariaQuestionExpanded, "aria-label": dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel.ariaQuestionDescribedby, "aria-controls": dropdownListModel.ariaQuestionControls, "aria-activedescendant": dropdownListModel.ariaQuestionActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
|
|
6053
6053
|
dropdownListModel.showHintPrefix ?
|
|
6054
6054
|
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.hintPrefix },
|
|
6055
6055
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, dropdownListModel.hintStringPrefix))) : null,
|
|
@@ -6059,7 +6059,7 @@ var SurveyQuestionDropdownBase = /** @class */ (function (_super) {
|
|
|
6059
6059
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, dropdownListModel.inputStringRendered),
|
|
6060
6060
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, dropdownListModel.hintStringSuffix))) : null,
|
|
6061
6061
|
valueElement,
|
|
6062
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.
|
|
6062
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, role: dropdownListModel.ariaInputRole, "aria-required": dropdownListModel.ariaInputRequired, "aria-invalid": dropdownListModel.ariaInputInvalid, "aria-errormessage": dropdownListModel.ariaInputErrorMessage, "aria-expanded": dropdownListModel.ariaInputExpanded, "aria-label": dropdownListModel.ariaInputLabel, "aria-labelledby": dropdownListModel.ariaInputLabelledby, "aria-describedby": dropdownListModel.ariaInputDescribedby, "aria-controls": dropdownListModel.ariaInputControls, "aria-activedescendant": dropdownListModel.ariaInputActivedescendant, placeholder: dropdownListModel.placeholderRendered, readOnly: dropdownListModel.filterReadOnly ? true : undefined, tabIndex: dropdownListModel.noTabIndex ? undefined : -1, disabled: this.question.isDisabledAttr, inputMode: dropdownListModel.inputMode, onChange: function (e) { onInputChange(e); }, onBlur: this.blur, onFocus: this.focus })),
|
|
6063
6063
|
this.createClearButton()));
|
|
6064
6064
|
};
|
|
6065
6065
|
SurveyQuestionDropdownBase.prototype.createClearButton = function () {
|
|
@@ -6245,7 +6245,7 @@ var SurveyQuestionDropdownSelect = /** @class */ (function (_super) {
|
|
|
6245
6245
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
6246
6246
|
// @ts-ignore
|
|
6247
6247
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), disabled: true }, this.question.readOnlyText)) :
|
|
6248
|
-
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("select", { id: this.question.inputId, className: this.question.getControlClass(), ref: function (select) { return (_this.setControl(select)); }, autoComplete: this.question.autocomplete, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onClick: click, onKeyUp: keyup, "aria-required": this.question.
|
|
6248
|
+
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("select", { id: this.question.inputId, className: this.question.getControlClass(), ref: function (select) { return (_this.setControl(select)); }, autoComplete: this.question.autocomplete, onChange: this.updateValueOnEvent, onInput: this.updateValueOnEvent, onClick: click, onKeyUp: keyup, "aria-required": this.question.a11y_input_ariaRequired, "aria-label": this.question.a11y_input_ariaLabel, "aria-invalid": this.question.a11y_input_ariaInvalid, "aria-errormessage": this.question.a11y_input_ariaErrormessage, required: this.question.isRequired },
|
|
6249
6249
|
this.question.allowClear ? (react__WEBPACK_IMPORTED_MODULE_0__.createElement("option", { value: "" }, this.question.placeholder)) : null,
|
|
6250
6250
|
this.question.visibleChoices.map(function (item, i) { return react__WEBPACK_IMPORTED_MODULE_0__.createElement(_dropdown_item__WEBPACK_IMPORTED_MODULE_4__.SurveyQuestionOptionItem, { key: "item" + i, item: item }); })));
|
|
6251
6251
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: cssClasses.selectWrapper },
|
|
@@ -8439,7 +8439,7 @@ var SurveyQuestion = /** @class */ (function (_super) {
|
|
|
8439
8439
|
var singleInput = singleSummary || (question.singleInputQuestion ? this.renderSingleInputQuestion(question, cssClasses) : undefined);
|
|
8440
8440
|
var questionContent = singleInput || this.wrapQuestionContent(this.renderQuestionContent());
|
|
8441
8441
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement(react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null,
|
|
8442
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded
|
|
8442
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { ref: this.rootRef, id: question.id, className: question.getRootCss(), style: rootStyle, "data-name": question.name, role: question.ariaRole, "aria-required": this.question.ariaRequired, "aria-invalid": this.question.ariaInvalid, "aria-label": this.question.ariaLabel, "aria-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
|
|
8443
8443
|
singleBreadcrumbs,
|
|
8444
8444
|
errorsAboveQuestion,
|
|
8445
8445
|
headerTop,
|
|
@@ -12131,7 +12131,7 @@ var SurveyQuestionTagbox = /** @class */ (function (_super) {
|
|
|
12131
12131
|
return (react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { id: this.question.inputId, className: this.question.getControlClass(), tabIndex: dropdownListModel.noTabIndex ? undefined : 0,
|
|
12132
12132
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
12133
12133
|
// @ts-ignore
|
|
12134
|
-
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role:
|
|
12134
|
+
disabled: this.question.isInputReadOnly, required: this.question.isRequired, onKeyDown: this.keyhandler, onBlur: this.blur, role: dropdownListModel.ariaQuestionRole, "aria-required": dropdownListModel.ariaQuestionRequired, "aria-invalid": dropdownListModel.ariaQuestionInvalid, "aria-errormessage": dropdownListModel.ariaQuestionErrorMessage, "aria-label": dropdownListModel.ariaQuestionLabel, "aria-labelledby": dropdownListModel.ariaQuestionLabelledby, "aria-describedby": dropdownListModel.ariaQuestionDescribedby, "aria-expanded": dropdownListModel.ariaQuestionExpanded, "aria-controls": dropdownListModel.ariaQuestionControls, "aria-activedescendant": dropdownListModel.ariaQuestionActivedescendant, ref: function (div) { return (_this.setControl(div)); } },
|
|
12135
12135
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.controlValue },
|
|
12136
12136
|
items,
|
|
12137
12137
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement(_tagbox_filter__WEBPACK_IMPORTED_MODULE_4__.TagboxFilterString, { model: dropdownMultiSelectListModel, question: this.question })),
|
|
@@ -13020,7 +13020,7 @@ var TagboxFilterString = /** @class */ (function (_super) {
|
|
|
13020
13020
|
(react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: this.question.cssClasses.hintSuffix },
|
|
13021
13021
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: { visibility: "hidden" }, "data-bind": "text: model.filterString" }, this.model.inputStringRendered),
|
|
13022
13022
|
react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, this.model.hintStringSuffix))) : null,
|
|
13023
|
-
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.model.filterReadOnly ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.
|
|
13023
|
+
react__WEBPACK_IMPORTED_MODULE_0__.createElement("input", { type: "text", autoComplete: "off", id: this.question.getInputId(), inputMode: this.model.inputMode, ref: function (element) { return (_this.inputElement = element); }, className: this.question.cssClasses.filterStringInput, disabled: this.question.isInputReadOnly, readOnly: this.model.filterReadOnly ? true : undefined, size: !this.model.inputStringRendered ? 1 : undefined, role: this.model.ariaInputRole, "aria-required": this.model.ariaInputRequired, "aria-invalid": this.model.ariaInputInvalid, "aria-errormessage": this.model.ariaInputErrorMessage, "aria-expanded": this.model.ariaInputExpanded, "aria-label": this.model.ariaInputLabel, "aria-labelledby": this.model.ariaInputLabelledby, "aria-describedby": this.model.ariaInputDescribedby, "aria-controls": this.model.ariaInputControls, "aria-activedescendant": this.model.ariaInputActivedescendant, placeholder: this.model.filterStringPlaceholder, onKeyDown: function (e) { _this.keyhandler(e); }, onChange: function (e) { _this.onChange(e); }, onBlur: function (e) { _this.onBlur(e); }, onFocus: function (e) { _this.onFocus(e); } }))));
|
|
13024
13024
|
};
|
|
13025
13025
|
return TagboxFilterString;
|
|
13026
13026
|
}(_reactquestion_element__WEBPACK_IMPORTED_MODULE_3__.SurveyElementBase));
|
|
@@ -13560,7 +13560,7 @@ var preact = react__WEBPACK_IMPORTED_MODULE_0__;
|
|
|
13560
13560
|
|
|
13561
13561
|
|
|
13562
13562
|
|
|
13563
|
-
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.
|
|
13563
|
+
(0,survey_core__WEBPACK_IMPORTED_MODULE_2__.checkLibraryVersion)("".concat("2.0.10"), "survey-js-ui");
|
|
13564
13564
|
|
|
13565
13565
|
})();
|
|
13566
13566
|
|