survey-js-ui 1.12.32 → 1.12.33

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "survey-js-ui",
3
- "version": "1.12.32",
3
+ "version": "1.12.33",
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.32",
26
+ "survey-core": "1.12.33",
27
27
  "@types/react-dom": "*",
28
28
  "@types/react": "*"
29
29
  }
package/survey-js-ui.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.12.32
2
+ * surveyjs - Survey JavaScript library v1.12.33
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
  */
@@ -110,7 +110,7 @@ return /******/ (function(modules) { // webpackBootstrap
110
110
  /***/ (function(module, exports, __webpack_require__) {
111
111
 
112
112
  /*!
113
- * surveyjs - Survey JavaScript library v1.12.32
113
+ * surveyjs - Survey JavaScript library v1.12.33
114
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
  */
@@ -1043,7 +1043,7 @@ 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.32
1046
+ * surveyjs - Survey JavaScript library v1.12.33
1047
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
  */
@@ -6082,7 +6082,7 @@ var reactquestion_ranking_SurveyQuestionRankingItem = /** @class */ (function (_
6082
6082
  };
6083
6083
  SurveyQuestionRankingItem.prototype.renderElement = function () {
6084
6084
  var itemContent = ReactElementFactory.Instance.createElement(this.question.itemComponent, { item: this.item, cssClasses: this.cssClasses });
6085
- return (_("div", { tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, "data-sv-drop-target-ranking-item": this.index },
6085
+ return (_("div", { id: this.question.getItemId(this.item), tabIndex: this.itemTabIndex, className: this.itemClass, onKeyDown: this.handleKeydown, onPointerDown: this.handlePointerDown, onPointerUp: this.handlePointerUp, "data-sv-drop-target-ranking-item": this.index },
6086
6086
  _("div", { tabIndex: -1, style: { outline: "none" } },
6087
6087
  _("div", { className: this.cssClasses.itemGhostNode }),
6088
6088
  _("div", { className: this.cssClasses.itemContent },
@@ -7346,7 +7346,7 @@ var reactquestion_file_SurveyQuestionFile = /** @class */ (function (_super) {
7346
7346
  var actionsContainer = this.question.actionsContainerVisible ? _(action_bar_SurveyActionBar, { model: this.question.actionsContainer }) : null;
7347
7347
  var noFileChosen = this.question.isEmpty() ? (_("span", { className: this.question.cssClasses.noFileChosen }, this.question.noFileChosenCaption)) : null;
7348
7348
  return (_("div", { className: this.question.getFileDecoratorCss() },
7349
- _("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)),
7349
+ this.question.showDragAreaPlaceholder ? _("span", { className: this.question.cssClasses.dragAreaPlaceholder }, this.renderLocString(this.question.locRenderedPlaceholder)) : false,
7350
7350
  _("div", { className: this.question.cssClasses.wrapper },
7351
7351
  chooseButton,
7352
7352
  actionsContainer,
@@ -7967,7 +7967,7 @@ var reactquestion_text_SurveyQuestionText = /** @class */ (function (_super) {
7967
7967
  // disabled={this.isDisplayMode}
7968
7968
  disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: inputClass, type: this.question.inputType,
7969
7969
  //ref={this.controlRef}
7970
- ref: function (input) { return (_this.setControl(input)); }, style: this.question.inputStyle, maxLength: this.question.getMaxLength(), min: this.question.renderedMin, max: this.question.renderedMax, step: this.question.renderedStep, size: this.question.inputSize, placeholder: placeholder, list: this.question.dataListId, autoComplete: this.question.autocomplete, onBlur: function (event) { _this.question.onBlur(event); }, onFocus: function (event) { _this.question.onFocus(event); }, onChange: this.question.onChange, onKeyUp: this.question.onKeyUp, onKeyDown: this.question.onKeyDown, onCompositionUpdate: function (event) { return _this.question.onCompositionUpdate(event.nativeEvent); }, "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 }),
7970
+ ref: function (input) { return (_this.setControl(input)); }, style: this.question.inputStyle, maxLength: this.question.getMaxLength(), min: this.question.renderedMin, max: this.question.renderedMax, step: this.question.renderedStep, size: this.question.inputSize, placeholder: placeholder, list: this.question.dataListId, autoComplete: this.question.autocomplete, onBlur: function (event) { _this.question.onBlur(event); }, onFocus: function (event) { _this.question.onFocus(event); }, onChange: this.question.onChange, onClick: this.question.readOnlyBlocker, onPointerDown: this.question.readOnlyBlocker, onKeyUp: this.question.onKeyUp, onKeyDown: this.question.onKeyDown, onCompositionUpdate: function (event) { return _this.question.onCompositionUpdate(event.nativeEvent); }, "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 }),
7971
7971
  counter));
7972
7972
  };
7973
7973
  SurveyQuestionText.prototype.renderElement = function () {
@@ -11494,7 +11494,7 @@ var preact = compat_module_namespaceObject;
11494
11494
 
11495
11495
 
11496
11496
 
11497
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.32", "survey-js-ui");
11497
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.33", "survey-js-ui");
11498
11498
 
11499
11499
 
11500
11500
  /***/ }),