survey-js-ui 1.11.12 → 1.11.14

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.11.12",
3
+ "version": "1.11.14",
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.11.12",
26
+ "survey-core": "1.11.14",
27
27
  "@types/react-dom": "*",
28
28
  "@types/react": "*"
29
29
  }
package/survey-js-ui.js CHANGED
@@ -1,15 +1,15 @@
1
1
  /*!
2
- * surveyjs - Survey JavaScript library v1.11.12
2
+ * surveyjs - Survey JavaScript library v1.11.14
3
3
  * Copyright (c) 2015-2024 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) {
7
7
  if(typeof exports === 'object' && typeof module === 'object')
8
- module.exports = factory(require("jquery"), require("survey-core"));
8
+ module.exports = factory((function webpackLoadOptionalExternalModule() { try { return require("jquery"); } catch(e) {} }()), require("survey-core"));
9
9
  else if(typeof define === 'function' && define.amd)
10
10
  define("survey-js-ui", ["jquery", "survey-core"], factory);
11
11
  else if(typeof exports === 'object')
12
- exports["survey-js-ui"] = factory(require("jquery"), require("survey-core"));
12
+ exports["survey-js-ui"] = factory((function webpackLoadOptionalExternalModule() { try { return require("jquery"); } catch(e) {} }()), require("survey-core"));
13
13
  else
14
14
  root["SurveyUI"] = factory(root["jQuery"], root["Survey"]);
15
15
  })(this, function(__WEBPACK_EXTERNAL_MODULE_jquery__, __WEBPACK_EXTERNAL_MODULE_survey_core__) {
@@ -107,7 +107,6 @@ return /******/ (function(modules) { // webpackBootstrap
107
107
  \*******************************************/
108
108
  /*! exports provided: useState, useId, useReducer, useEffect, useLayoutEffect, useInsertionEffect, useTransition, useDeferredValue, useSyncExternalStore, startTransition, useRef, useImperativeHandle, useMemo, useCallback, useContext, useDebugValue, version, Children, render, hydrate, unmountComponentAtNode, createPortal, createElement, createContext, createFactory, cloneElement, createRef, Fragment, isValidElement, isFragment, isMemo, findDOMNode, Component, PureComponent, memo, forwardRef, flushSync, unstable_batchedUpdates, StrictMode, Suspense, SuspenseList, lazy, renderSurvey, renderPopupSurvey, preact, Survey, attachKey2click, ReactSurveyElementsWrapper, SurveyNavigationBase, SurveyTimerPanel, SurveyPage, SurveyRow, SurveyPanel, SurveyFlowPanel, SurveyQuestion, SurveyElementErrors, SurveyQuestionAndErrorsCell, ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase, SurveyQuestionCommentItem, SurveyQuestionComment, SurveyQuestionCheckbox, SurveyQuestionCheckboxItem, SurveyQuestionRanking, SurveyQuestionRankingItem, SurveyQuestionRankingItemContent, RatingItem, RatingItemStar, RatingItemSmiley, RatingDropdownItem, TagboxFilterString, SurveyQuestionOptionItem, SurveyQuestionDropdownBase, SurveyQuestionDropdown, SurveyQuestionTagboxItem, SurveyQuestionTagbox, SurveyQuestionDropdownSelect, SurveyQuestionMatrix, SurveyQuestionMatrixRow, SurveyQuestionMatrixCell, SurveyQuestionHtml, SurveyQuestionFile, SurveyFileChooseButton, SurveyFilePreview, SurveyQuestionMultipleText, SurveyQuestionRadiogroup, SurveyQuestionRadioItem, SurveyQuestionText, SurveyQuestionBoolean, SurveyQuestionBooleanCheckbox, SurveyQuestionBooleanRadio, SurveyQuestionEmpty, SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase, SurveyQuestionMatrixDropdown, SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton, SurveyQuestionPanelDynamic, SurveyProgress, SurveyProgressButtons, SurveyProgressToc, SurveyQuestionRating, SurveyQuestionRatingDropdown, SurveyQuestionExpression, PopupSurvey, SurveyWindow, ReactQuestionFactory, ReactElementFactory, SurveyQuestionImagePicker, SurveyQuestionImage, SurveyQuestionSignaturePad, SurveyQuestionButtonGroup, SurveyQuestionCustom, SurveyQuestionComposite, Popup, ListItemContent, ListItemGroup, List, TitleActions, TitleElement, SurveyActionBar, LogoImage, SurveyHeader, SvgIcon, SurveyQuestionMatrixDynamicRemoveButton, SurveyQuestionMatrixDetailButton, SurveyQuestionMatrixDynamicDragDropIcon, SurveyQuestionPanelDynamicAddButton, SurveyQuestionPanelDynamicRemoveButton, SurveyQuestionPanelDynamicPrevButton, SurveyQuestionPanelDynamicNextButton, SurveyQuestionPanelDynamicProgressText, SurveyNavigationButton, QuestionErrorComponent, MatrixRow, Skeleton, NotifierComponent, ComponentsContainer, CharacterCounterComponent, HeaderMobile, HeaderCell, Header, SurveyLocStringViewer, SurveyLocStringEditor, LoadingIndicatorComponent, SvgBundleComponent, SurveyModel, SurveyWindowModel, settings, surveyLocalization, surveyStrings, Model */
109
109
  /*! ModuleConcatenation bailout: Cannot concat with external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"} (<- Module is not an ECMAScript module) */
110
- /*! ModuleConcatenation bailout: Cannot concat with external {"root":"jQuery","commonjs2":"jquery","commonjs":"jquery","amd":"jquery"} (<- Module is not an ECMAScript module) */
111
110
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
112
111
 
113
112
  "use strict";
@@ -331,10 +330,6 @@ var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0
331
330
  function compat_module_g(n,t){for(var e in t)n[e]=t[e];return n}function compat_module_E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function compat_module_C(n,t){this.props=n,this.context=t}function compat_module_x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:compat_module_E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,preact_module_(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(compat_module_C.prototype=new b).isPureReactComponent=!0,compat_module_C.prototype.shouldComponentUpdate=function(n,t){return compat_module_E(this.props,n)||compat_module_E(this.state,t)};var R=preact_module_l.__b;preact_module_l.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var compat_module_w="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function compat_module_k(n){function t(t){var e=compat_module_g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=compat_module_w,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var compat_module_I=function(n,t){return null==n?null:H(H(n).map(t))},compat_module_N={map:compat_module_I,forEach:compat_module_I,count:function(n){return n?H(n).length:0},only:function(n){var t=H(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:H},compat_module_M=preact_module_l.__e;preact_module_l.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);compat_module_M(n,t,e,r)};var compat_module_T=preact_module_l.unmount;function compat_module_A(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=compat_module_g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return compat_module_A(n,t,e)})),n}function compat_module_D(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return compat_module_D(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function compat_module_L(){this.__u=0,this.t=null,this.__b=null}function compat_module_O(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function compat_module_F(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return preact_module_(r,o)}return o.displayName="Lazy",o.__f=!0,o}function U(){this.u=null,this.o=null}preact_module_l.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),compat_module_T&&compat_module_T(n)},(compat_module_L.prototype=new b).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=compat_module_O(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c())};e.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=compat_module_D(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},compat_module_L.prototype.componentWillUnmount=function(){this.t=[]},compat_module_L.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=compat_module_A(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&preact_module_(k,null,n.fallback);return i&&(i.__u&=-33),[preact_module_(k,null,e.__a?null:n.children),i]};var compat_module_V=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function W(n){return this.getChildContext=function(){return n.context},n.children}function compat_module_P(n){var e=this,r=n.i;e.componentWillUnmount=function(){B(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],contains:function(){return!0},appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),B(preact_module_(W,{context:e.context},n.__v),e.l)}function compat_module_j(n,e){var r=preact_module_(compat_module_P,{__v:n,i:e});return r.containerInfo=e,r}(U.prototype=new b).__a=function(n){var t=this,e=compat_module_O(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),compat_module_V(t,n,r)):u()};e?e(o):o()}},U.prototype.render=function(n){this.u=null,this.o=new Map;var t=H(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},U.prototype.componentDidUpdate=U.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){compat_module_V(n,e,t)})};var compat_module_z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,compat_module_B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,compat_module_H=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Z=/[A-Z0-9]/g,Y="undefined"!=typeof document,compat_module_$=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function compat_module_q(n,t,e){return null==t.__k&&(t.textContent=""),B(n,t),"function"==typeof e&&e(),n?n.__c:null}function compat_module_G(n,t,e){return D(n,t),"function"==typeof e&&e(),n?n.__c:null}b.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(b.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var J=preact_module_l.event;function K(){}function Q(){return this.cancelBubble}function X(){return this.defaultPrevented}preact_module_l.event=function(n){return J&&(n=J(n)),n.persist=K,n.isPropagationStopped=Q,n.isDefaultPrevented=X,n.nativeEvent=n};var nn,tn={enumerable:!1,configurable:!0,get:function(){return this.class}},en=preact_module_l.vnode;preact_module_l.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||Y&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===l&&"no"===c?c=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||compat_module_$(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":compat_module_H.test(i)&&(i=l):l=i="oninput":o&&compat_module_B.test(i)?i=i.replace(Z,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===l&&u[i=l]&&(i="oninputCapture"),u[i]=c}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=H(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=H(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",tn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=compat_module_z,en&&en(n)};var rn=preact_module_l.__r;preact_module_l.__r=function(n){rn&&rn(n),nn=n.__c};var un=preact_module_l.diffed;preact_module_l.diffed=function(n){un&&un(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),nn=null};var on={ReactCurrentDispatcher:{current:{readContext:function(n){return nn.__n[n.__c].props.value},useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,useDeferredValue:bn,useEffect:hooks_module_y,useId:hooks_module_g,useImperativeHandle:hooks_module_F,useInsertionEffect:gn,useLayoutEffect:hooks_module_,useMemo:hooks_module_T,useReducer:hooks_module_p,useRef:hooks_module_A,useState:hooks_module_h,useSyncExternalStore:Cn,useTransition:Sn}}},cn="17.0.2";function ln(n){return preact_module_.bind(null,n)}function fn(n){return!!n&&n.$$typeof===compat_module_z}function an(n){return fn(n)&&n.type===k}function sn(n){return!!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function hn(n){return fn(n)?E.apply(null,arguments):n}function vn(n){return!!n.__k&&(B(null,n),!0)}function dn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)},mn=function(n,t){return n(t)},yn=k;function _n(n){n()}function bn(n){return n}function Sn(){return[!1,_n]}var gn=hooks_module_,En=fn;function Cn(n,t){var e=t(),r=hooks_module_h({h:{__:e,v:t}}),u=r[0].h,o=r[1];return hooks_module_(function(){u.__=e,u.v=t,xn(u)&&o({h:u})},[n,e,t]),hooks_module_y(function(){return xn(u)&&o({h:u}),n(function(){xn(u)&&o({h:u})})},[n]),e}function xn(n){var t,e,r=n.v,u=n.__;try{var o=r();return!((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return!0}}var Rn={useState:hooks_module_h,useId:hooks_module_g,useReducer:hooks_module_p,useEffect:hooks_module_y,useLayoutEffect:hooks_module_,useInsertionEffect:gn,useTransition:Sn,useDeferredValue:bn,useSyncExternalStore:Cn,startTransition:_n,useRef:hooks_module_A,useImperativeHandle:hooks_module_F,useMemo:hooks_module_T,useCallback:hooks_module_q,useContext:hooks_module_x,useDebugValue:hooks_module_P,version:"17.0.2",Children:compat_module_N,render:compat_module_q,hydrate:compat_module_G,unmountComponentAtNode:vn,createPortal:compat_module_j,createElement:preact_module_,createContext:G,createFactory:ln,cloneElement:hn,createRef:m,Fragment:k,isValidElement:fn,isElement:En,isFragment:an,isMemo:sn,findDOMNode:dn,Component:b,PureComponent:compat_module_C,memo:compat_module_x,forwardRef:compat_module_k,flushSync:mn,unstable_batchedUpdates:pn,StrictMode:yn,Suspense:compat_module_L,SuspenseList:U,lazy:compat_module_F,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:on};
332
331
  //# sourceMappingURL=compat.module.js.map
333
332
 
334
- // EXTERNAL MODULE: external {"root":"jQuery","commonjs2":"jquery","commonjs":"jquery","amd":"jquery"}
335
- var external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_ = __webpack_require__("jquery");
336
- var external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default = /*#__PURE__*/__webpack_require__.n(external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_);
337
-
338
333
  // EXTERNAL MODULE: external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"}
339
334
  var external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_ = __webpack_require__("survey-core");
340
335
 
@@ -1342,7 +1337,7 @@ var action_bar_item_SurveyActionBarItem = /** @class */ (function (_super) {
1342
1337
  var title = this.item.tooltip || this.item.title;
1343
1338
  var buttonContent = this.renderButtonContent();
1344
1339
  var tabIndex = this.item.disableTabStop ? -1 : undefined;
1345
- var button = attachKey2click(Rn.createElement("button", { className: className, type: "button", disabled: this.item.disabled, onMouseDown: function () { return _this.item.doMouseDown(); }, onFocus: function (args) { return _this.item.doFocus(args); }, onClick: function (args) { return _this.item.doAction(args); }, title: title, tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, role: this.item.ariaRole }, buttonContent), this.item, { processEsc: false });
1340
+ var button = attachKey2click(Rn.createElement("button", { className: className, type: "button", disabled: this.item.disabled, onMouseDown: function (args) { return _this.item.doMouseDown(args); }, onFocus: function (args) { return _this.item.doFocus(args); }, onClick: function (args) { return _this.item.doAction(args); }, title: title, tabIndex: tabIndex, "aria-checked": this.item.ariaChecked, "aria-expanded": this.item.ariaExpanded, role: this.item.ariaRole }, buttonContent), this.item, { processEsc: false });
1346
1341
  return button;
1347
1342
  };
1348
1343
  return SurveyActionBarItem;
@@ -2590,14 +2585,17 @@ var reactquestion_SurveyQuestionErrorCell = /** @class */ (function (_super) {
2590
2585
  SurveyQuestionErrorCell.prototype.update = function () {
2591
2586
  this.setState({ changed: this.state.changed + 1 });
2592
2587
  };
2588
+ SurveyQuestionErrorCell.prototype.getQuestionPropertiesToTrack = function () {
2589
+ return ["errors"];
2590
+ };
2593
2591
  SurveyQuestionErrorCell.prototype.registerCallback = function (question) {
2594
2592
  var _this = this;
2595
- question.registerFunctionOnPropertyValueChanged("errors", function () {
2593
+ question.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(), function () {
2596
2594
  _this.update();
2597
2595
  }, "__reactSubscription");
2598
2596
  };
2599
2597
  SurveyQuestionErrorCell.prototype.unRegisterCallback = function (question) {
2600
- question.unRegisterFunctionOnPropertyValueChanged("errors", "__reactSubscription");
2598
+ question.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(), "__reactSubscription");
2601
2599
  };
2602
2600
  SurveyQuestionErrorCell.prototype.componentDidUpdate = function (prevProps) {
2603
2601
  if (prevProps.question && prevProps.question !== this.question) {
@@ -6354,6 +6352,11 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6354
6352
  if (cell.hasQuestion) {
6355
6353
  return (preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell, { key: key, cssClasses: cssClasses, cell: cell, creator: this.creator, reason: reason }));
6356
6354
  }
6355
+ if (cell.isErrorsCell) {
6356
+ if (cell.isErrorsCell) {
6357
+ return (preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownErrorsCell, { cell: cell, key: key, keyValue: key, question: cell.question, creator: this.creator }));
6358
+ }
6359
+ }
6357
6360
  var calcReason = reason;
6358
6361
  if (!calcReason) {
6359
6362
  calcReason = cell.hasTitle ? "row-header" : "";
@@ -6401,11 +6404,6 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
6401
6404
  if (cell.hasPanel) {
6402
6405
  cellContent = (preact_module_(panel_SurveyPanel, { key: cell.panel.id, element: cell.panel, survey: this.question.survey, cssClasses: cssClasses, isDisplayMode: this.isDisplayMode, creator: this.creator }));
6403
6406
  }
6404
- if (cell.isErrorsCell) {
6405
- if (cell.isErrorsCell) {
6406
- return (preact_module_(reactquestion_SurveyQuestionErrorCell, { question: cell.question, creator: this.creator }));
6407
- }
6408
- }
6409
6407
  if (!cellContent)
6410
6408
  return null;
6411
6409
  var readyCell = (preact_module_(k, null, cellContent));
@@ -6489,6 +6487,35 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixActionsCell = /** @clas
6489
6487
  };
6490
6488
  return SurveyQuestionMatrixActionsCell;
6491
6489
  }(ReactSurveyElement));
6490
+ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownErrorsCell = /** @class */ (function (_super) {
6491
+ reactquestion_matrixdropdownbase_extends(SurveyQuestionMatrixDropdownErrorsCell, _super);
6492
+ function SurveyQuestionMatrixDropdownErrorsCell(props) {
6493
+ return _super.call(this, props) || this;
6494
+ }
6495
+ Object.defineProperty(SurveyQuestionMatrixDropdownErrorsCell.prototype, "key", {
6496
+ get: function () {
6497
+ return this.props.keyValue;
6498
+ },
6499
+ enumerable: false,
6500
+ configurable: true
6501
+ });
6502
+ Object.defineProperty(SurveyQuestionMatrixDropdownErrorsCell.prototype, "cell", {
6503
+ get: function () {
6504
+ return this.props.cell;
6505
+ },
6506
+ enumerable: false,
6507
+ configurable: true
6508
+ });
6509
+ SurveyQuestionMatrixDropdownErrorsCell.prototype.render = function () {
6510
+ if (!this.cell.isVisible)
6511
+ return null;
6512
+ return preact_module_("td", { className: this.cell.className, key: this.key, colSpan: this.cell.colSpans, title: this.cell.getTitle() }, _super.prototype.render.call(this));
6513
+ };
6514
+ SurveyQuestionMatrixDropdownErrorsCell.prototype.getQuestionPropertiesToTrack = function () {
6515
+ return _super.prototype.getQuestionPropertiesToTrack.call(this).concat(["visible"]);
6516
+ };
6517
+ return SurveyQuestionMatrixDropdownErrorsCell;
6518
+ }(reactquestion_SurveyQuestionErrorCell));
6492
6519
  ReactElementFactory.Instance.registerElement("sv-matrixdynamic-actions-cell", function (props) {
6493
6520
  return preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixActionsCell, props);
6494
6521
  });
@@ -6586,6 +6613,12 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell = /** @cla
6586
6613
  SurveyQuestionMatrixDropdownCell.prototype.getHeaderText = function () {
6587
6614
  return this.cell.headers;
6588
6615
  };
6616
+ SurveyQuestionMatrixDropdownCell.prototype.renderElement = function () {
6617
+ if (!this.cell.isVisible) {
6618
+ return null;
6619
+ }
6620
+ return _super.prototype.renderElement.call(this);
6621
+ };
6589
6622
  SurveyQuestionMatrixDropdownCell.prototype.renderCellContent = function () {
6590
6623
  var content = _super.prototype.renderCellContent.call(this);
6591
6624
  var responsiveTitle = this.cell.showResponsiveTitle ? (preact_module_("span", { className: this.cell.responsiveTitleCss }, this.renderLocString(this.cell.responsiveLocTitle))) : null;
@@ -7389,7 +7422,7 @@ var list_item_ListItem = /** @class */ (function (_super) {
7389
7422
  paddingInlineStart: this.model.getItemIndent(this.item)
7390
7423
  };
7391
7424
  var className = this.model.getItemClass(this.item);
7392
- var itemContent = this.item.component || "sv-list-item-content";
7425
+ var itemContent = this.item.component || this.model.itemComponent;
7393
7426
  var newElement = ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });
7394
7427
  var contentWrap = Rn.createElement("div", { style: contentWrapStyle, className: this.model.cssClasses.itemBody, title: this.item.locTitle.calculatedText, onMouseOver: function (event) { _this.model.onItemHover(_this.item); }, onMouseLeave: function (event) { _this.model.onItemLeave(_this.item); } }, newElement);
7395
7428
  var separator = this.item.needSeparator ? Rn.createElement("div", { className: this.model.cssClasses.itemSeparator }) : null;
@@ -9248,8 +9281,6 @@ var js_ui_assign = (undefined && undefined.__assign) || function () {
9248
9281
 
9249
9282
 
9250
9283
 
9251
-
9252
- // import jQuery from "jquery";
9253
9284
  // eslint-disable-next-line surveyjs/no-imports-from-entries
9254
9285
 
9255
9286
 
@@ -9268,8 +9299,20 @@ function doPopupSurvey(props) {
9268
9299
  renderPopupSurvey(props.model, this, props);
9269
9300
  });
9270
9301
  }
9271
- if (typeof external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a !== "undefined") {
9272
- external_root_jQuery_commonjs2_jquery_commonjs_jquery_amd_jquery_default.a["fn"].extend({
9302
+ var jQueryInst = window["jQuery"] || window["$"];
9303
+ if (typeof jQueryInst !== "undefined") {
9304
+ initJquery(jQueryInst);
9305
+ }
9306
+ else {
9307
+ try {
9308
+ jQueryInst = __webpack_require__(/*! jquery */ "jquery");
9309
+ initJquery(jQueryInst);
9310
+ }
9311
+ catch (ex) {
9312
+ }
9313
+ }
9314
+ function initJquery(instance) {
9315
+ instance["fn"].extend({
9273
9316
  Survey: function (props) {
9274
9317
  return this.each(function () {
9275
9318
  renderSurvey(props.model, this, props);
@@ -9294,7 +9337,7 @@ var preact = compat_module_namespaceObject;
9294
9337
 
9295
9338
 
9296
9339
 
9297
- Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.11.12", "survey-js-ui");
9340
+ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.11.14", "survey-js-ui");
9298
9341
 
9299
9342
 
9300
9343
  /***/ }),
@@ -9307,6 +9350,7 @@ Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_surve
9307
9350
  /*! ModuleConcatenation bailout: Module is not an ECMAScript module */
9308
9351
  /***/ (function(module, exports) {
9309
9352
 
9353
+ if(typeof __WEBPACK_EXTERNAL_MODULE_jquery__ === 'undefined') {var e = new Error("Cannot find module 'undefined'"); e.code = 'MODULE_NOT_FOUND'; throw e;}
9310
9354
  module.exports = __WEBPACK_EXTERNAL_MODULE_jquery__;
9311
9355
 
9312
9356
  /***/ }),