survey-js-ui 1.12.1 → 1.12.3
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.
|
|
3
|
+
"version": "1.12.3",
|
|
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.3",
|
|
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.
|
|
2
|
+
* surveyjs - Survey JavaScript library v1.12.3
|
|
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
|
*/
|
|
@@ -102,9 +102,9 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
102
102
|
/******/ ({
|
|
103
103
|
|
|
104
104
|
/***/ "./src/entries/js-ui.ts":
|
|
105
|
-
|
|
106
|
-
!*** ./src/entries/js-ui.ts +
|
|
107
|
-
|
|
105
|
+
/*!********************************************!*\
|
|
106
|
+
!*** ./src/entries/js-ui.ts + 100 modules ***!
|
|
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
110
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
@@ -141,12 +141,12 @@ __webpack_require__.d(__webpack_exports__, "createContext", function() { return
|
|
|
141
141
|
__webpack_require__.d(__webpack_exports__, "createFactory", function() { return /* reexport */ ln; });
|
|
142
142
|
__webpack_require__.d(__webpack_exports__, "cloneElement", function() { return /* reexport */ hn; });
|
|
143
143
|
__webpack_require__.d(__webpack_exports__, "createRef", function() { return /* reexport */ m; });
|
|
144
|
-
__webpack_require__.d(__webpack_exports__, "Fragment", function() { return /* reexport */
|
|
144
|
+
__webpack_require__.d(__webpack_exports__, "Fragment", function() { return /* reexport */ b; });
|
|
145
145
|
__webpack_require__.d(__webpack_exports__, "isValidElement", function() { return /* reexport */ fn; });
|
|
146
146
|
__webpack_require__.d(__webpack_exports__, "isFragment", function() { return /* reexport */ an; });
|
|
147
147
|
__webpack_require__.d(__webpack_exports__, "isMemo", function() { return /* reexport */ sn; });
|
|
148
148
|
__webpack_require__.d(__webpack_exports__, "findDOMNode", function() { return /* reexport */ dn; });
|
|
149
|
-
__webpack_require__.d(__webpack_exports__, "Component", function() { return /* reexport */
|
|
149
|
+
__webpack_require__.d(__webpack_exports__, "Component", function() { return /* reexport */ k; });
|
|
150
150
|
__webpack_require__.d(__webpack_exports__, "PureComponent", function() { return /* reexport */ compat_module_C; });
|
|
151
151
|
__webpack_require__.d(__webpack_exports__, "memo", function() { return /* reexport */ compat_module_x; });
|
|
152
152
|
__webpack_require__.d(__webpack_exports__, "forwardRef", function() { return /* reexport */ compat_module_k; });
|
|
@@ -271,8 +271,8 @@ __webpack_require__.d(__webpack_exports__, "Model", function() { return /* reexp
|
|
|
271
271
|
// NAMESPACE OBJECT: ./node_modules/preact/compat/dist/compat.module.js
|
|
272
272
|
var compat_module_namespaceObject = {};
|
|
273
273
|
__webpack_require__.r(compat_module_namespaceObject);
|
|
274
|
-
__webpack_require__.d(compat_module_namespaceObject, "Component", function() { return
|
|
275
|
-
__webpack_require__.d(compat_module_namespaceObject, "Fragment", function() { return
|
|
274
|
+
__webpack_require__.d(compat_module_namespaceObject, "Component", function() { return k; });
|
|
275
|
+
__webpack_require__.d(compat_module_namespaceObject, "Fragment", function() { return b; });
|
|
276
276
|
__webpack_require__.d(compat_module_namespaceObject, "createContext", function() { return G; });
|
|
277
277
|
__webpack_require__.d(compat_module_namespaceObject, "createElement", function() { return preact_module_; });
|
|
278
278
|
__webpack_require__.d(compat_module_namespaceObject, "createRef", function() { return m; });
|
|
@@ -319,7 +319,7 @@ __webpack_require__.d(compat_module_namespaceObject, "useTransition", function()
|
|
|
319
319
|
__webpack_require__.d(compat_module_namespaceObject, "version", function() { return cn; });
|
|
320
320
|
|
|
321
321
|
// CONCATENATED MODULE: ./node_modules/preact/dist/preact.module.js
|
|
322
|
-
var preact_module_n,preact_module_l,preact_module_u,preact_module_t,preact_module_i,preact_module_o,preact_module_r,f,preact_module_e,preact_module_c,s,a,h={},p=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function w(n){var l=n.parentNode;l&&l.removeChild(n)}function preact_module_(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?preact_module_n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++preact_module_u:r,__i:-1,__u:0};return null==r&&null!=preact_module_l.vnode&&preact_module_l.vnode(f),f}function m(){return{current:null}}function k(n){return n.children}function b(n,l){this.props=n,this.context=l}function x(n,l){if(null==l)return n.__?x(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?x(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&preact_module_i.push(n)&&!P.__r++||preact_module_o!==preact_module_l.debounceRendering)&&((preact_module_o=preact_module_l.debounceRendering)||preact_module_r)(P)}function P(){var n,u,t,o,r,e,c,s;for(preact_module_i.sort(f);n=preact_module_i.shift();)n.__d&&(u=preact_module_i.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d({},r)).__v=r.__v+1,preact_module_l.vnode&&preact_module_l.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j(c,o,s),o.__e!=e&&C(o)),preact_module_i.length>u&&preact_module_i.sort(f));P.__r=0}function S(n,l,u,t,i,o,r,f,e,c,s){var a,v,y,d,w,_=t&&t.__k||p,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&"boolean"!=typeof y&&"function"!=typeof y&&(v=-1===y.__i?h:_[y.__i]||h,y.__i=a,O(n,y,v,i,o,r,f,e,c,s),d=y.__e,y.ref&&v.ref!=y.ref&&(v.ref&&N(v.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||v.__k===y.__k?e=I(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)r=t+a,null!=(i=n.__k[t]=null==(i=l[t])||"boolean"==typeof i||"function"==typeof i?null:"string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y(i)?g(k,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i)?(i.__=n,i.__b=n.__b+1,f=L(i,u,r,s),i.__i=f,o=null,-1!==f&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a--:f==r+1?a++:f>r?s>e-r?a+=f-r:a--:f<r&&(f==r-a?a-=f-r:a++),f!==t+a&&(i.__u|=65536))):(o=u[r])&&null==o.key&&o.__e&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o,!1),u[r]=null,s--);if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o))}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=x(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++}}return-1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||v.test(l)?u:u+"px"}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=preact_module_e,n.addEventListener(l,o?s:preact_module_c,o)):n.removeEventListener(l,o?s:preact_module_c,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=preact_module_e++;else if(u.t<t.u)return;return t(preact_module_l.event?preact_module_l.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,p,v,w,_,g,m,x,C,M,P,$,I,H,L,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=preact_module_l.__b)&&a(u);n:if("function"==typeof T)try{if(m=u.props,x="prototype"in T&&T.prototype.render,C=(a=T.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(m,M):(u.__c=h=new b(m,M),h.constructor=T,h.render=q),C&&C.sub(h),h.props=m,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,T.getDerivedStateFromProps(m,h.__s))),v=h.props,w=h.state,h.__v=u,p)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(x&&null==T.getDerivedStateFromProps&&m!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,M),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,M)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.forEach(function(n){n&&(n.__=u)}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,M),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,w,_)})}if(h.context=M,h.props=m,h.__P=n,h.__e=!1,$=preact_module_l.__r,I=0,x){for(h.state=h.__s,h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++I<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),x&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(v,w)),S(n,y(L=null!=a&&a.type===k&&null==a.key?a.props.children:a)?L:[L],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=r){for(u.__u|=c?160:32;e&&8===e.nodeType&&e.nextSibling;)e=e.nextSibling;r[r.indexOf(e)]=null,u.__e=e}else u.__e=t.__e,u.__k=t.__k;preact_module_l.__e(n,u,t)}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z(t.__e,u,t,i,o,r,f,c,s);(a=preact_module_l.diffed)&&a(u)}function j(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);preact_module_l.__c&&preact_module_l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){preact_module_l.__e(n,u.__v)}})}function z(l,u,t,i,o,r,f,e,c){var s,a,p,v,d,_,g,m=t.props,k=u.props,b=u.type;if("svg"===b?o="http://www.w3.org/2000/svg":"math"===b?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=r)for(s=0;s<r.length;s++)if((d=r[s])&&"setAttribute"in d==!!b&&(b?d.localName===b:3===d.nodeType)){l=d,r[s]=null;break}if(null==l){if(null===b)return document.createTextNode(k);l=document.createElementNS(o,b,k.is&&k),r=null,e=!1}if(null===b)m===k||e&&l.data===k||(l.data=k);else{if(r=r&&preact_module_n.call(l.childNodes),m=t.props||h,!e&&null!=r)for(m={},s=0;s<l.attributes.length;s++)m[(d=l.attributes[s]).name]=d.value;for(s in m)if(d=m[s],"children"==s);else if("dangerouslySetInnerHTML"==s)p=d;else if("key"!==s&&!(s in k)){if("value"==s&&"defaultValue"in k||"checked"==s&&"defaultChecked"in k)continue;A(l,s,null,d,o)}for(s in k)d=k[s],"children"==s?v=d:"dangerouslySetInnerHTML"==s?a=d:"value"==s?_=d:"checked"==s?g=d:"key"===s||e&&"function"!=typeof d||m[s]===d||A(l,s,d,m[s],o);if(a)e||p&&(a.__html===p.__html||a.__html===l.innerHTML)||(l.innerHTML=a.__html),u.__k=[];else if(p&&(l.innerHTML=""),S(l,y(v)?v:[v],u,t,i,"foreignObject"===b?"http://www.w3.org/1999/xhtml":o,r,f,r?r[0]:t.__k&&x(t,0),e,c),null!=r)for(s=r.length;s--;)null!=r[s]&&w(r[s]);e||(s="value",void 0!==_&&(_!==l[s]||"progress"===b&&!_||"option"===b&&_!==m[s])&&A(l,s,_,m[s],o),s="checked",void 0!==g&&g!==l[s]&&A(l,s,g,m[s],o))}return l}function N(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){preact_module_l.__e(n,t)}}function V(n,u,t){var i,o;if(preact_module_l.unmount&&preact_module_l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){preact_module_l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||null==n.__e||w(n.__e),n.__c=n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,t,i){var o,r,f,e;preact_module_l.__&&preact_module_l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=preact_module_(k,null,[u]),r||h,h,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?preact_module_n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j(f,u,e)}function D(n,l){B(n,l,D)}function E(l,u,t){var i,o,r,f,e=d({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?preact_module_n.call(arguments,2):t),g(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+a++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}preact_module_n=p.slice,preact_module_l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},preact_module_u=0,preact_module_t=function(n){return null!=n&&null==n.constructor},b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},b.prototype.render=k,preact_module_i=[],preact_module_r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,preact_module_e=0,preact_module_c=F(!1),s=F(!0),a=0;
|
|
322
|
+
var preact_module_n,preact_module_l,preact_module_u,preact_module_t,preact_module_i,preact_module_o,preact_module_r,f,preact_module_e,preact_module_c,s,a,h={},v=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function d(n,l){for(var u in l)n[u]=l[u];return n}function w(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function preact_module_(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?preact_module_n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g(l,f,i,o,null)}function g(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++preact_module_u:r,__i:-1,__u:0};return null==r&&null!=preact_module_l.vnode&&preact_module_l.vnode(f),f}function m(){return{current:null}}function b(n){return n.children}function k(n,l){this.props=n,this.context=l}function x(n,l){if(null==l)return n.__?x(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?x(n):null}function C(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C(n)}}function M(n){(!n.__d&&(n.__d=!0)&&preact_module_i.push(n)&&!P.__r++||preact_module_o!==preact_module_l.debounceRendering)&&((preact_module_o=preact_module_l.debounceRendering)||preact_module_r)(P)}function P(){var n,u,t,o,r,e,c,s;for(preact_module_i.sort(f);n=preact_module_i.shift();)n.__d&&(u=preact_module_i.length,o=void 0,e=(r=(t=n).__v).__e,c=[],s=[],t.__P&&((o=d({},r)).__v=r.__v+1,preact_module_l.vnode&&preact_module_l.vnode(o),O(t.__P,o,r,t.__n,t.__P.namespaceURI,32&r.__u?[e]:null,c,null==e?x(r):e,!!(32&r.__u),s),o.__v=r.__v,o.__.__k[o.__i]=o,j(c,o,s),o.__e!=e&&C(o)),preact_module_i.length>u&&preact_module_i.sort(f));P.__r=0}function S(n,l,u,t,i,o,r,f,e,c,s){var a,p,y,d,w,_=t&&t.__k||v,g=l.length;for(u.__d=e,$(u,l,_),e=u.__d,a=0;a<g;a++)null!=(y=u.__k[a])&&(p=-1===y.__i?h:_[y.__i]||h,y.__i=a,O(n,y,p,i,o,r,f,e,c,s),d=y.__e,y.ref&&p.ref!=y.ref&&(p.ref&&N(p.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),65536&y.__u||p.__k===y.__k?e=I(y,e,n):"function"==typeof y.type&&void 0!==y.__d?e=y.__d:d&&(e=d.nextSibling),y.__d=void 0,y.__u&=-196609);u.__d=e,u.__e=w}function $(n,l,u){var t,i,o,r,f,e=l.length,c=u.length,s=c,a=0;for(n.__k=[],t=0;t<e;t++)null!=(i=l[t])&&"boolean"!=typeof i&&"function"!=typeof i?(r=t+a,(i=n.__k[t]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?g(null,i,null,null,null):y(i)?g(b,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?g(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=n,i.__b=n.__b+1,o=null,-1!==(f=i.__i=L(i,u,r,s))&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a--:f==r+1?a++:(f>r?a--:a++,i.__u|=65536))):i=n.__k[t]=null;if(s)for(t=0;t<c;t++)null!=(o=u[t])&&0==(131072&o.__u)&&(o.__e==n.__d&&(n.__d=x(o)),V(o,o))}function I(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=I(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=x(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling}while(null!=l&&8===l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y(n)?n.some(function(n){H(n,l)}):l.push(n)),l}function L(n,l,u,t){var i=n.key,o=n.type,r=u-1,f=u+1,e=l[u];if(null===e||e&&i==e.key&&o===e.type&&0==(131072&e.__u))return u;if(t>(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f<l.length;){if(r>=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--}if(f<l.length){if((e=l[f])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return f;f++}}return-1}function T(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||p.test(l)?u:u+"px"}function A(n,l,u,t,i){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/(PointerCapture)$|Capture$/i,"$1")),l=l.toLowerCase()in n||"onFocusOut"===l||"onFocusIn"===l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?t?u.u=t.u:(u.u=preact_module_e,n.addEventListener(l,o?s:preact_module_c,o)):n.removeEventListener(l,o?s:preact_module_c,o);else{if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u))}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=preact_module_e++;else if(u.t<t.u)return;return t(preact_module_l.event?preact_module_l.event(u):u)}}}function O(n,u,t,i,o,r,f,e,c,s){var a,h,v,p,w,_,g,m,x,C,M,P,$,I,H,L,T=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),r=[e=u.__e=t.__e]),(a=preact_module_l.__b)&&a(u);n:if("function"==typeof T)try{if(m=u.props,x="prototype"in T&&T.prototype.render,C=(a=T.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?g=(h=u.__c=t.__c).__=h.__E:(x?u.__c=h=new T(m,M):(u.__c=h=new k(m,M),h.constructor=T,h.render=q),C&&C.sub(h),h.props=m,h.state||(h.state={}),h.context=M,h.__n=i,v=h.__d=!0,h.__h=[],h._sb=[]),x&&null==h.__s&&(h.__s=h.state),x&&null!=T.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d({},h.__s)),d(h.__s,T.getDerivedStateFromProps(m,h.__s))),p=h.props,w=h.state,h.__v=u,v)x&&null==T.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),x&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(x&&null==T.getDerivedStateFromProps&&m!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(m,M),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(m,h.__s,M)||u.__v===t.__v)){for(u.__v!==t.__v&&(h.props=m,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u)}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&f.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(m,h.__s,M),x&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,w,_)})}if(h.context=M,h.props=m,h.__P=n,h.__e=!1,$=preact_module_l.__r,I=0,x){for(h.state=h.__s,h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[]}else do{h.__d=!1,$&&$(u),a=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++I<25);h.state=h.__s,null!=h.getChildContext&&(i=d(d({},i),h.getChildContext())),x&&!v&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(p,w)),S(n,y(L=null!=a&&a.type===b&&null==a.key?a.props.children:a)?L:[L],u,t,i,o,r,f,e,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&f.push(h),g&&(h.__E=h.__=null)}catch(n){if(u.__v=null,c||null!=r){for(u.__u|=c?160:32;e&&8===e.nodeType&&e.nextSibling;)e=e.nextSibling;r[r.indexOf(e)]=null,u.__e=e}else u.__e=t.__e,u.__k=t.__k;preact_module_l.__e(n,u,t)}else null==r&&u.__v===t.__v?(u.__k=t.__k,u.__e=t.__e):u.__e=z(t.__e,u,t,i,o,r,f,c,s);(a=preact_module_l.diffed)&&a(u)}function j(n,u,t){u.__d=void 0;for(var i=0;i<t.length;i++)N(t[i],t[++i],t[++i]);preact_module_l.__c&&preact_module_l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){preact_module_l.__e(n,u.__v)}})}function z(u,t,i,o,r,f,e,c,s){var a,v,p,d,_,g,m,b=i.props,k=t.props,C=t.type;if("svg"===C?r="http://www.w3.org/2000/svg":"math"===C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=f)for(a=0;a<f.length;a++)if((_=f[a])&&"setAttribute"in _==!!C&&(C?_.localName===C:3===_.nodeType)){u=_,f[a]=null;break}if(null==u){if(null===C)return document.createTextNode(k);u=document.createElementNS(r,C,k.is&&k),c&&(preact_module_l.__m&&preact_module_l.__m(t,f),c=!1),f=null}if(null===C)b===k||c&&u.data===k||(u.data=k);else{if(f=f&&preact_module_n.call(u.childNodes),b=i.props||h,!c&&null!=f)for(b={},a=0;a<u.attributes.length;a++)b[(_=u.attributes[a]).name]=_.value;for(a in b)if(_=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)p=_;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;A(u,a,null,_,r)}for(a in k)_=k[a],"children"==a?d=_:"dangerouslySetInnerHTML"==a?v=_:"value"==a?g=_:"checked"==a?m=_:c&&"function"!=typeof _||b[a]===_||A(u,a,_,b[a],r);if(v)c||p&&(v.__html===p.__html||v.__html===u.innerHTML)||(u.innerHTML=v.__html),t.__k=[];else if(p&&(u.innerHTML=""),S(u,y(d)?d:[d],t,i,o,"foreignObject"===C?"http://www.w3.org/1999/xhtml":r,f,e,f?f[0]:i.__k&&x(i,0),c,s),null!=f)for(a=f.length;a--;)w(f[a]);c||(a="value","progress"===C&&null==g?u.removeAttribute("value"):void 0!==g&&(g!==u[a]||"progress"===C&&!g||"option"===C&&g!==b[a])&&A(u,a,g,b[a],r),a="checked",void 0!==m&&m!==u[a]&&A(u,a,m,b[a],r))}return u}function N(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u))}else n.current=u}catch(n){preact_module_l.__e(n,t)}}function V(n,u,t){var i,o;if(preact_module_l.unmount&&preact_module_l.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||N(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(n){preact_module_l.__e(n,u)}i.base=i.__P=null}if(i=n.__k)for(o=0;o<i.length;o++)i[o]&&V(i[o],u,t||"function"!=typeof n.type);t||w(n.__e),n.__c=n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,t,i){var o,r,f,e;preact_module_l.__&&preact_module_l.__(u,t),r=(o="function"==typeof i)?null:i&&i.__k||t.__k,f=[],e=[],O(t,u=(!o&&i||t).__k=preact_module_(b,null,[u]),r||h,h,t.namespaceURI,!o&&i?[i]:r?null:t.firstChild?preact_module_n.call(t.childNodes):null,f,!o&&i?i:r?r.__e:t.firstChild,o,e),j(f,u,e)}function D(n,l){B(n,l,D)}function E(l,u,t){var i,o,r,f,e=d({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?i=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?preact_module_n.call(arguments,2):t),g(l.type,e,i||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+a++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,M(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}preact_module_n=v.slice,preact_module_l={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l}throw n}},preact_module_u=0,preact_module_t=function(n){return null!=n&&null==n.constructor},k.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof n&&(n=n(d({},u),this.props)),n&&d(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this))},k.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this))},k.prototype.render=b,preact_module_i=[],preact_module_r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,preact_module_e=0,preact_module_c=F(!1),s=F(!0),a=0;
|
|
323
323
|
//# sourceMappingURL=preact.module.js.map
|
|
324
324
|
|
|
325
325
|
// CONCATENATED MODULE: ./node_modules/preact/hooks/dist/hooks.module.js
|
|
@@ -327,7 +327,7 @@ var hooks_module_t,hooks_module_r,hooks_module_u,hooks_module_i,hooks_module_o=0
|
|
|
327
327
|
//# sourceMappingURL=hooks.module.js.map
|
|
328
328
|
|
|
329
329
|
// CONCATENATED MODULE: ./node_modules/preact/compat/dist/compat.module.js
|
|
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};
|
|
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 k).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 k).__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_(b,null,n.fallback);return i&&(i.__u&=-33),[preact_module_(b,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 k).__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}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(k.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="18.3.1";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===b}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=b;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:"18.3.1",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:b,isValidElement:fn,isElement:En,isFragment:an,isMemo:sn,findDOMNode:dn,Component:k,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};
|
|
331
331
|
//# sourceMappingURL=compat.module.js.map
|
|
332
332
|
|
|
333
333
|
// EXTERNAL MODULE: external {"root":"Survey","commonjs2":"survey-core","commonjs":"survey-core","amd":"survey-core"}
|
|
@@ -640,7 +640,7 @@ var reactquestion_element_SurveyElementBase = /** @class */ (function (_super) {
|
|
|
640
640
|
});
|
|
641
641
|
};
|
|
642
642
|
return SurveyElementBase;
|
|
643
|
-
}(
|
|
643
|
+
}(k));
|
|
644
644
|
|
|
645
645
|
var ReactSurveyElement = /** @class */ (function (_super) {
|
|
646
646
|
__extends(ReactSurveyElement, _super);
|
|
@@ -1751,28 +1751,27 @@ var title_content_TitleContent = /** @class */ (function (_super) {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
var spans = [];
|
|
1753
1753
|
if (element.isRequireTextOnStart) {
|
|
1754
|
-
spans.push(this.renderRequireText(element
|
|
1754
|
+
spans.push(this.renderRequireText(element));
|
|
1755
1755
|
spans.push(getSpaceSpan("req-sp"));
|
|
1756
1756
|
}
|
|
1757
1757
|
var questionNumber = element.no;
|
|
1758
1758
|
if (questionNumber) {
|
|
1759
|
-
|
|
1760
|
-
spans.push(Rn.createElement("span", { "data-key": "q_num", key: "q_num", className: cssClasses.number || panelNumber, style: { position: "static" }, "aria-hidden": true }, questionNumber));
|
|
1759
|
+
spans.push(Rn.createElement("span", { "data-key": "q_num", key: "q_num", className: element.cssTitleNumber, style: { position: "static" }, "aria-hidden": true }, questionNumber));
|
|
1761
1760
|
spans.push(getSpaceSpan("num-sp"));
|
|
1762
1761
|
}
|
|
1763
1762
|
if (element.isRequireTextBeforeTitle) {
|
|
1764
|
-
spans.push(this.renderRequireText(element
|
|
1763
|
+
spans.push(this.renderRequireText(element));
|
|
1765
1764
|
spans.push(getSpaceSpan("req-sp"));
|
|
1766
1765
|
}
|
|
1767
1766
|
spans.push(reactquestion_element_SurveyElementBase.renderLocString(element.locTitle, null, "q_title"));
|
|
1768
1767
|
if (element.isRequireTextAfterTitle) {
|
|
1769
1768
|
spans.push(getSpaceSpan("req-sp"));
|
|
1770
|
-
spans.push(this.renderRequireText(element
|
|
1769
|
+
spans.push(this.renderRequireText(element));
|
|
1771
1770
|
}
|
|
1772
1771
|
return spans;
|
|
1773
1772
|
};
|
|
1774
|
-
TitleContent.prototype.renderRequireText = function (element
|
|
1775
|
-
return (Rn.createElement("span", { "data-key": "req-text", key: "req-text", className:
|
|
1773
|
+
TitleContent.prototype.renderRequireText = function (element) {
|
|
1774
|
+
return (Rn.createElement("span", { "data-key": "req-text", key: "req-text", className: element.cssRequiredText, "aria-hidden": true }, element.requiredText));
|
|
1776
1775
|
};
|
|
1777
1776
|
return TitleContent;
|
|
1778
1777
|
}(Rn.Component));
|
|
@@ -1948,6 +1947,56 @@ ReactElementFactory.Instance.registerElement("sv-character-counter", function (p
|
|
|
1948
1947
|
return Rn.createElement(character_counter_CharacterCounterComponent, props);
|
|
1949
1948
|
});
|
|
1950
1949
|
|
|
1950
|
+
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/text-area.tsx
|
|
1951
|
+
var text_area_extends = (undefined && undefined.__extends) || (function () {
|
|
1952
|
+
var extendStatics = function (d, b) {
|
|
1953
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1954
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1955
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1956
|
+
return extendStatics(d, b);
|
|
1957
|
+
};
|
|
1958
|
+
return function (d, b) {
|
|
1959
|
+
if (typeof b !== "function" && b !== null)
|
|
1960
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1961
|
+
extendStatics(d, b);
|
|
1962
|
+
function __() { this.constructor = d; }
|
|
1963
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1964
|
+
};
|
|
1965
|
+
})();
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
var text_area_TextAreaComponent = /** @class */ (function (_super) {
|
|
1970
|
+
text_area_extends(TextAreaComponent, _super);
|
|
1971
|
+
function TextAreaComponent(props) {
|
|
1972
|
+
var _this = _super.call(this, props) || this;
|
|
1973
|
+
_this.initialValue = _this.viewModel.getTextValue() || "";
|
|
1974
|
+
return _this;
|
|
1975
|
+
}
|
|
1976
|
+
Object.defineProperty(TextAreaComponent.prototype, "viewModel", {
|
|
1977
|
+
get: function () {
|
|
1978
|
+
return this.props.viewModel;
|
|
1979
|
+
},
|
|
1980
|
+
enumerable: false,
|
|
1981
|
+
configurable: true
|
|
1982
|
+
});
|
|
1983
|
+
TextAreaComponent.prototype.canRender = function () {
|
|
1984
|
+
return !!this.viewModel.question;
|
|
1985
|
+
};
|
|
1986
|
+
TextAreaComponent.prototype.renderElement = function () {
|
|
1987
|
+
var _this = this;
|
|
1988
|
+
return (Rn.createElement("textarea", { id: this.viewModel.id, className: this.viewModel.className, ref: function (textarea) { return (_this.viewModel.setElement(textarea)); }, disabled: this.viewModel.isDisabledAttr, readOnly: this.viewModel.isReadOnlyAttr, rows: this.viewModel.rows, cols: this.viewModel.cols, placeholder: this.viewModel.placeholder, maxLength: this.viewModel.maxLength, defaultValue: this.initialValue, onChange: function (event) { _this.viewModel.onTextAreaInput(event); }, onFocus: function (event) { _this.viewModel.onTextAreaFocus(event); }, onBlur: function (event) { _this.viewModel.onTextAreaBlur(event); }, onKeyDown: function (event) { _this.viewModel.onTextAreaKeyDown(event); }, "aria-required": this.viewModel.ariaRequired, "aria-label": this.viewModel.ariaLabel, "aria-labelledby": this.viewModel.ariaLabelledBy, "aria-describedby": this.viewModel.ariaDescribedBy, "aria-invalid": this.viewModel.ariaInvalid, "aria-errormessage": this.viewModel.ariaErrormessage, style: { resize: this.viewModel.question.resizeStyle } }));
|
|
1989
|
+
};
|
|
1990
|
+
TextAreaComponent.prototype.componentWillUnmount = function () {
|
|
1991
|
+
this.viewModel.dispose();
|
|
1992
|
+
};
|
|
1993
|
+
return TextAreaComponent;
|
|
1994
|
+
}(reactquestion_element_SurveyElementBase));
|
|
1995
|
+
|
|
1996
|
+
ReactElementFactory.Instance.registerElement("sv-text-area", function (props) {
|
|
1997
|
+
return Rn.createElement(text_area_TextAreaComponent, props);
|
|
1998
|
+
});
|
|
1999
|
+
|
|
1951
2000
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reactquestion_comment.tsx
|
|
1952
2001
|
var reactquestion_comment_extends = (undefined && undefined.__extends) || (function () {
|
|
1953
2002
|
var extendStatics = function (d, b) {
|
|
@@ -1974,31 +2023,21 @@ var reactquestion_comment_SurveyQuestionComment = /** @class */ (function (_supe
|
|
|
1974
2023
|
function SurveyQuestionComment(props) {
|
|
1975
2024
|
return _super.call(this, props) || this;
|
|
1976
2025
|
}
|
|
2026
|
+
SurveyQuestionComment.prototype.renderCharacterCounter = function () {
|
|
2027
|
+
var counter = null;
|
|
2028
|
+
if (!!this.question.getMaxLength()) {
|
|
2029
|
+
counter = preact_module_(character_counter_CharacterCounterComponent, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter });
|
|
2030
|
+
}
|
|
2031
|
+
return counter;
|
|
2032
|
+
};
|
|
1977
2033
|
SurveyQuestionComment.prototype.renderElement = function () {
|
|
1978
|
-
var _this = this;
|
|
1979
|
-
var onBlur = function (e) {
|
|
1980
|
-
if (!_this.question.isInputTextUpdate) {
|
|
1981
|
-
_this.updateValueOnEvent(e);
|
|
1982
|
-
}
|
|
1983
|
-
_this.question.onBlur(e);
|
|
1984
|
-
};
|
|
1985
|
-
var onInput = function (event) {
|
|
1986
|
-
if (_this.question.isInputTextUpdate) {
|
|
1987
|
-
_this.updateValueOnEvent(event);
|
|
1988
|
-
}
|
|
1989
|
-
else {
|
|
1990
|
-
_this.question.updateElement();
|
|
1991
|
-
}
|
|
1992
|
-
var newValue = event.target.value;
|
|
1993
|
-
_this.question.updateRemainingCharacterCounter(newValue);
|
|
1994
|
-
};
|
|
1995
|
-
var placeholder = this.question.renderedPlaceholder;
|
|
1996
2034
|
if (this.question.isReadOnlyRenderDiv()) {
|
|
1997
2035
|
return preact_module_("div", null, this.question.value);
|
|
1998
2036
|
}
|
|
1999
|
-
var counter =
|
|
2000
|
-
|
|
2001
|
-
|
|
2037
|
+
var counter = this.renderCharacterCounter();
|
|
2038
|
+
var textAreaModel = this.props.question.textAreaModel;
|
|
2039
|
+
return (preact_module_(b, null,
|
|
2040
|
+
preact_module_(text_area_TextAreaComponent, { viewModel: textAreaModel }),
|
|
2002
2041
|
counter));
|
|
2003
2042
|
};
|
|
2004
2043
|
return SurveyQuestionComment;
|
|
@@ -2008,61 +2047,22 @@ var reactquestion_comment_SurveyQuestionCommentItem = /** @class */ (function (_
|
|
|
2008
2047
|
reactquestion_comment_extends(SurveyQuestionCommentItem, _super);
|
|
2009
2048
|
function SurveyQuestionCommentItem(props) {
|
|
2010
2049
|
var _this = _super.call(this, props) || this;
|
|
2011
|
-
_this.
|
|
2050
|
+
_this.textAreaModel = _this.getTextAreaModel();
|
|
2012
2051
|
return _this;
|
|
2013
2052
|
}
|
|
2014
|
-
SurveyQuestionCommentItem.prototype.componentDidUpdate = function (prevProps, prevState) {
|
|
2015
|
-
_super.prototype.componentDidUpdate.call(this, prevProps, prevState);
|
|
2016
|
-
this.updateDomElement();
|
|
2017
|
-
};
|
|
2018
|
-
SurveyQuestionCommentItem.prototype.componentDidMount = function () {
|
|
2019
|
-
_super.prototype.componentDidMount.call(this);
|
|
2020
|
-
this.updateDomElement();
|
|
2021
|
-
};
|
|
2022
|
-
SurveyQuestionCommentItem.prototype.updateDomElement = function () {
|
|
2023
|
-
if (!!this.control) {
|
|
2024
|
-
var control = this.control;
|
|
2025
|
-
var newValue = this.getComment() || "";
|
|
2026
|
-
if (!external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["Helpers"].isTwoValueEquals(newValue, control.value, false, true, false)) {
|
|
2027
|
-
control.value = newValue;
|
|
2028
|
-
}
|
|
2029
|
-
}
|
|
2030
|
-
};
|
|
2031
|
-
SurveyQuestionCommentItem.prototype.setControl = function (element) {
|
|
2032
|
-
if (!!element) {
|
|
2033
|
-
this.control = element;
|
|
2034
|
-
}
|
|
2035
|
-
};
|
|
2036
2053
|
SurveyQuestionCommentItem.prototype.canRender = function () {
|
|
2037
2054
|
return !!this.props.question;
|
|
2038
2055
|
};
|
|
2039
|
-
SurveyQuestionCommentItem.prototype.
|
|
2040
|
-
this.props.question.
|
|
2041
|
-
};
|
|
2042
|
-
SurveyQuestionCommentItem.prototype.onCommentInput = function (event) {
|
|
2043
|
-
this.props.question.onCommentInput(event);
|
|
2044
|
-
};
|
|
2045
|
-
SurveyQuestionCommentItem.prototype.getComment = function () {
|
|
2046
|
-
return this.props.question.comment;
|
|
2047
|
-
};
|
|
2048
|
-
SurveyQuestionCommentItem.prototype.setComment = function (value) {
|
|
2049
|
-
this.props.question.comment = value;
|
|
2050
|
-
};
|
|
2051
|
-
SurveyQuestionCommentItem.prototype.getId = function () {
|
|
2052
|
-
return this.props.question.commentId;
|
|
2053
|
-
};
|
|
2054
|
-
SurveyQuestionCommentItem.prototype.getPlaceholder = function () {
|
|
2055
|
-
return this.props.question.renderedCommentPlaceholder;
|
|
2056
|
+
SurveyQuestionCommentItem.prototype.getTextAreaModel = function () {
|
|
2057
|
+
return this.props.question.commentTextAreaModel;
|
|
2056
2058
|
};
|
|
2057
2059
|
SurveyQuestionCommentItem.prototype.renderElement = function () {
|
|
2058
|
-
var _this = this;
|
|
2059
2060
|
var question = this.props.question;
|
|
2060
|
-
var className = this.props.otherCss || this.cssClasses.comment;
|
|
2061
2061
|
if (question.isReadOnlyRenderDiv()) {
|
|
2062
|
-
var comment = this.
|
|
2062
|
+
var comment = this.textAreaModel.getTextValue() || "";
|
|
2063
2063
|
return preact_module_("div", null, comment);
|
|
2064
2064
|
}
|
|
2065
|
-
return (preact_module_(
|
|
2065
|
+
return (preact_module_(text_area_TextAreaComponent, { viewModel: this.textAreaModel }));
|
|
2066
2066
|
};
|
|
2067
2067
|
return SurveyQuestionCommentItem;
|
|
2068
2068
|
}(ReactSurveyElement));
|
|
@@ -2072,23 +2072,8 @@ var SurveyQuestionOtherValueItem = /** @class */ (function (_super) {
|
|
|
2072
2072
|
function SurveyQuestionOtherValueItem() {
|
|
2073
2073
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
2074
2074
|
}
|
|
2075
|
-
SurveyQuestionOtherValueItem.prototype.
|
|
2076
|
-
this.props.question.
|
|
2077
|
-
};
|
|
2078
|
-
SurveyQuestionOtherValueItem.prototype.onCommentInput = function (event) {
|
|
2079
|
-
this.props.question.onOtherValueInput(event);
|
|
2080
|
-
};
|
|
2081
|
-
SurveyQuestionOtherValueItem.prototype.getComment = function () {
|
|
2082
|
-
return this.props.question.otherValue;
|
|
2083
|
-
};
|
|
2084
|
-
SurveyQuestionOtherValueItem.prototype.setComment = function (value) {
|
|
2085
|
-
this.props.question.otherValue = value;
|
|
2086
|
-
};
|
|
2087
|
-
SurveyQuestionOtherValueItem.prototype.getId = function () {
|
|
2088
|
-
return this.props.question.otherId;
|
|
2089
|
-
};
|
|
2090
|
-
SurveyQuestionOtherValueItem.prototype.getPlaceholder = function () {
|
|
2091
|
-
return this.props.question.otherPlaceholder;
|
|
2075
|
+
SurveyQuestionOtherValueItem.prototype.getTextAreaModel = function () {
|
|
2076
|
+
return this.props.question.otherTextAreaModel;
|
|
2092
2077
|
};
|
|
2093
2078
|
return SurveyQuestionOtherValueItem;
|
|
2094
2079
|
}(reactquestion_comment_SurveyQuestionCommentItem));
|
|
@@ -2369,7 +2354,7 @@ var reactquestion_SurveyQuestion = /** @class */ (function (_super) {
|
|
|
2369
2354
|
: null;
|
|
2370
2355
|
var rootStyle = question.getRootStyle();
|
|
2371
2356
|
var questionContent = this.wrapQuestionContent(this.renderQuestionContent());
|
|
2372
|
-
return (preact_module_(
|
|
2357
|
+
return (preact_module_(b, null,
|
|
2373
2358
|
preact_module_("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-labelledby": question.ariaLabelledBy, "aria-describedby": question.ariaDescribedBy, "aria-expanded": question.ariaExpanded },
|
|
2374
2359
|
errorsAboveQuestion,
|
|
2375
2360
|
headerTop,
|
|
@@ -2518,7 +2503,7 @@ var reactquestion_SurveyQuestionAndErrorsWrapped = /** @class */ (function (_sup
|
|
|
2518
2503
|
};
|
|
2519
2504
|
SurveyQuestionAndErrorsWrapped.prototype.renderContent = function () {
|
|
2520
2505
|
var renderedQuestion = this.renderQuestion();
|
|
2521
|
-
return (preact_module_(
|
|
2506
|
+
return (preact_module_(b, null, renderedQuestion));
|
|
2522
2507
|
};
|
|
2523
2508
|
SurveyQuestionAndErrorsWrapped.prototype.getShowErrors = function () {
|
|
2524
2509
|
return this.question.isVisible;
|
|
@@ -2625,7 +2610,7 @@ var reactquestion_SurveyQuestionErrorCell = /** @class */ (function (_super) {
|
|
|
2625
2610
|
return preact_module_(reactquestion_SurveyElementErrors, { element: this.question, creator: this.props.creator, cssClasses: this.question.cssClasses });
|
|
2626
2611
|
};
|
|
2627
2612
|
return SurveyQuestionErrorCell;
|
|
2628
|
-
}(
|
|
2613
|
+
}(k));
|
|
2629
2614
|
|
|
2630
2615
|
|
|
2631
2616
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/page.tsx
|
|
@@ -3114,7 +3099,7 @@ var reactSurvey_Survey = /** @class */ (function (_super) {
|
|
|
3114
3099
|
if (!this.survey.showCompletedPage)
|
|
3115
3100
|
return null;
|
|
3116
3101
|
var htmlValue = { __html: this.survey.processedCompletedHtml };
|
|
3117
|
-
return (preact_module_(
|
|
3102
|
+
return (preact_module_(b, null,
|
|
3118
3103
|
preact_module_("div", { dangerouslySetInnerHTML: htmlValue, className: this.survey.completedCss }),
|
|
3119
3104
|
preact_module_(components_container_ComponentsContainer, { survey: this.survey, container: "completePage", needRenderWrapper: false })));
|
|
3120
3105
|
};
|
|
@@ -3322,7 +3307,7 @@ var SurveyNavigationBase = /** @class */ (function (_super) {
|
|
|
3322
3307
|
}
|
|
3323
3308
|
};
|
|
3324
3309
|
return SurveyNavigationBase;
|
|
3325
|
-
}(
|
|
3310
|
+
}(k));
|
|
3326
3311
|
|
|
3327
3312
|
|
|
3328
3313
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/reacttimerpanel.tsx
|
|
@@ -3733,7 +3718,7 @@ var reactquestion_checkbox_SurveyQuestionCheckbox = /** @class */ (function (_su
|
|
|
3733
3718
|
return preact_module_("div", { className: cssClasses.rootRow }, this.getItems(cssClasses, this.question.dataChoices));
|
|
3734
3719
|
}
|
|
3735
3720
|
else
|
|
3736
|
-
return preact_module_(
|
|
3721
|
+
return preact_module_(b, null, this.getItems(cssClasses, this.question.bodyItems));
|
|
3737
3722
|
};
|
|
3738
3723
|
SurveyQuestionCheckbox.prototype.getItems = function (cssClasses, choices) {
|
|
3739
3724
|
var renderedItems = [];
|
|
@@ -4589,7 +4574,7 @@ var dropdown_base_SurveyQuestionDropdownBase = /** @class */ (function (_super)
|
|
|
4589
4574
|
this.renderReadOnlyElement());
|
|
4590
4575
|
}
|
|
4591
4576
|
else {
|
|
4592
|
-
selectElement = preact_module_(
|
|
4577
|
+
selectElement = preact_module_(b, null,
|
|
4593
4578
|
this.renderInput(this.question["dropdownListModel"]),
|
|
4594
4579
|
preact_module_(popup_Popup, { model: (_b = (_a = this.question) === null || _a === void 0 ? void 0 : _a.dropdownListModel) === null || _b === void 0 ? void 0 : _b.popupModel }));
|
|
4595
4580
|
}
|
|
@@ -5228,7 +5213,7 @@ var loading_indicator_LoadingIndicatorComponent = /** @class */ (function (_supe
|
|
|
5228
5213
|
preact_module_(svg_icon_SvgIcon, { iconName: "icon-loading", size: "auto" })));
|
|
5229
5214
|
};
|
|
5230
5215
|
return LoadingIndicatorComponent;
|
|
5231
|
-
}(
|
|
5216
|
+
}(k));
|
|
5232
5217
|
|
|
5233
5218
|
|
|
5234
5219
|
// CONCATENATED MODULE: ./packages/survey-react-ui/src/components/file/file-choose-button.tsx
|
|
@@ -5661,7 +5646,7 @@ var reactquestion_radiogroup_SurveyQuestionRadiogroup = /** @class */ (function
|
|
|
5661
5646
|
return preact_module_("div", { className: cssClasses.rootRow }, this.getItems(cssClasses, this.question.dataChoices));
|
|
5662
5647
|
}
|
|
5663
5648
|
else
|
|
5664
|
-
return preact_module_(
|
|
5649
|
+
return preact_module_(b, null, this.getItems(cssClasses, this.question.bodyItems));
|
|
5665
5650
|
};
|
|
5666
5651
|
SurveyQuestionRadiogroup.prototype.getItems = function (cssClasses, choices) {
|
|
5667
5652
|
var items = [];
|
|
@@ -5865,7 +5850,7 @@ var reactquestion_text_SurveyQuestionText = /** @class */ (function (_super) {
|
|
|
5865
5850
|
return preact_module_("div", null, this.question.inputValue);
|
|
5866
5851
|
}
|
|
5867
5852
|
var counter = !!this.question.getMaxLength() ? (preact_module_(character_counter_CharacterCounterComponent, { counter: this.question.characterCounter, remainingCharacterCounter: this.question.cssClasses.remainingCharacterCounter })) : null;
|
|
5868
|
-
return (preact_module_(
|
|
5853
|
+
return (preact_module_(b, null,
|
|
5869
5854
|
preact_module_("input", { id: this.question.inputId,
|
|
5870
5855
|
// disabled={this.isDisplayMode}
|
|
5871
5856
|
disabled: this.question.isDisabledAttr, readOnly: this.question.isReadOnlyAttr, className: inputClass, type: this.question.inputType,
|
|
@@ -6103,11 +6088,11 @@ var boolean_radio_SurveyQuestionBooleanRadio = /** @class */ (function (_super)
|
|
|
6103
6088
|
var cssClasses = this.question.cssClasses;
|
|
6104
6089
|
return (preact_module_("div", { className: cssClasses.rootRadio },
|
|
6105
6090
|
preact_module_("fieldset", { role: "presentation", className: cssClasses.radioFieldset }, !this.question.swapOrder ?
|
|
6106
|
-
(preact_module_(
|
|
6091
|
+
(preact_module_(b, null,
|
|
6107
6092
|
this.renderRadioItem(false, this.question.locLabelFalse),
|
|
6108
6093
|
this.renderRadioItem(true, this.question.locLabelTrue)))
|
|
6109
6094
|
:
|
|
6110
|
-
(preact_module_(
|
|
6095
|
+
(preact_module_(b, null,
|
|
6111
6096
|
this.renderRadioItem(true, this.question.locLabelTrue),
|
|
6112
6097
|
this.renderRadioItem(false, this.question.locLabelFalse))))));
|
|
6113
6098
|
};
|
|
@@ -6405,7 +6390,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
|
|
|
6405
6390
|
matrixrow.push(this.renderCell(cells[i], i, cssClasses, reason));
|
|
6406
6391
|
}
|
|
6407
6392
|
var key = "row" + keyValue;
|
|
6408
|
-
return (preact_module_(
|
|
6393
|
+
return (preact_module_(b, { key: key }, (reason == "row-footer") ? preact_module_("tr", null, matrixrow) : preact_module_(row_MatrixRow, { model: row, parentMatrix: this.question }, matrixrow)));
|
|
6409
6394
|
};
|
|
6410
6395
|
SurveyQuestionMatrixTable.prototype.renderCell = function (cell, index, cssClasses, reason) {
|
|
6411
6396
|
var key = "cell" + index;
|
|
@@ -6446,12 +6431,12 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
|
|
|
6446
6431
|
reason = "row-header";
|
|
6447
6432
|
var str = this.renderLocString(cell.locTitle);
|
|
6448
6433
|
var require_1 = !!cell.column ? preact_module_(reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired, { column: cell.column, question: this.question }) : null;
|
|
6449
|
-
cellContent = (preact_module_(
|
|
6434
|
+
cellContent = (preact_module_(b, null,
|
|
6450
6435
|
str,
|
|
6451
6436
|
require_1));
|
|
6452
6437
|
}
|
|
6453
6438
|
if (cell.isDragHandlerCell) {
|
|
6454
|
-
cellContent = (preact_module_(
|
|
6439
|
+
cellContent = (preact_module_(b, null,
|
|
6455
6440
|
preact_module_(drag_drop_icon_SurveyQuestionMatrixDynamicDragDropIcon, { item: { data: { row: cell.row, question: this.question } } })));
|
|
6456
6441
|
}
|
|
6457
6442
|
if (cell.isActionsCell) {
|
|
@@ -6466,7 +6451,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixTable = /** @class */ (
|
|
|
6466
6451
|
}
|
|
6467
6452
|
if (!cellContent)
|
|
6468
6453
|
return null;
|
|
6469
|
-
var readyCell = (preact_module_(
|
|
6454
|
+
var readyCell = (preact_module_(b, null, cellContent));
|
|
6470
6455
|
return this.wrapCell(cell, readyCell, reason);
|
|
6471
6456
|
};
|
|
6472
6457
|
SurveyQuestionMatrixTable.prototype.renderElement = function () {
|
|
@@ -6604,7 +6589,7 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixHeaderRequired = /** @c
|
|
|
6604
6589
|
SurveyQuestionMatrixHeaderRequired.prototype.renderElement = function () {
|
|
6605
6590
|
if (!this.column.isRenderedRequired)
|
|
6606
6591
|
return null;
|
|
6607
|
-
return (preact_module_(
|
|
6592
|
+
return (preact_module_(b, null,
|
|
6608
6593
|
preact_module_("span", null, "\u00A0"),
|
|
6609
6594
|
preact_module_("span", { className: this.question.cssClasses.cellRequiredText }, this.column.requiredText)));
|
|
6610
6595
|
};
|
|
@@ -6682,13 +6667,13 @@ var reactquestion_matrixdropdownbase_SurveyQuestionMatrixDropdownCell = /** @cla
|
|
|
6682
6667
|
SurveyQuestionMatrixDropdownCell.prototype.renderCellContent = function () {
|
|
6683
6668
|
var content = _super.prototype.renderCellContent.call(this);
|
|
6684
6669
|
var responsiveTitle = this.cell.showResponsiveTitle ? (preact_module_("span", { className: this.cell.responsiveTitleCss }, this.renderLocString(this.cell.responsiveLocTitle))) : null;
|
|
6685
|
-
return preact_module_(
|
|
6670
|
+
return preact_module_(b, null,
|
|
6686
6671
|
responsiveTitle,
|
|
6687
6672
|
content);
|
|
6688
6673
|
};
|
|
6689
6674
|
SurveyQuestionMatrixDropdownCell.prototype.renderQuestion = function () {
|
|
6690
6675
|
if (!this.question.isVisible)
|
|
6691
|
-
return preact_module_(
|
|
6676
|
+
return preact_module_(b, null);
|
|
6692
6677
|
if (!this.cell.isChoice)
|
|
6693
6678
|
return reactquestion_SurveyQuestion.renderQuestionBody(this.creator, this.question);
|
|
6694
6679
|
if (this.cell.isOtherChoice)
|
|
@@ -7216,7 +7201,7 @@ var reactquestion_paneldynamic_SurveyQuestionPanelDynamicItem = /** @class */ (f
|
|
|
7216
7201
|
var removeButton = this.renderButton();
|
|
7217
7202
|
var separator = this.question.showSeparator(this.index) ?
|
|
7218
7203
|
(preact_module_("hr", { className: this.question.cssClasses.separator })) : null;
|
|
7219
|
-
return (preact_module_(
|
|
7204
|
+
return (preact_module_(b, null,
|
|
7220
7205
|
preact_module_("div", { className: this.question.getPanelWrapperCss(this.panel) },
|
|
7221
7206
|
panel,
|
|
7222
7207
|
removeButton),
|
|
@@ -7395,7 +7380,7 @@ var progressButtons_SurveyProgressButtons = /** @class */ (function (_super) {
|
|
|
7395
7380
|
? function () { return _this.model.clickListElement(page); }
|
|
7396
7381
|
: undefined, "data-page-number": this.model.getItemNumber(page) },
|
|
7397
7382
|
preact_module_("div", { className: this.css.progressButtonsConnector }),
|
|
7398
|
-
this.state.canShowItemTitles ? preact_module_(
|
|
7383
|
+
this.state.canShowItemTitles ? preact_module_(b, null,
|
|
7399
7384
|
preact_module_("div", { className: this.css.progressButtonsPageTitle, title: page.renderedNavigationTitle }, text),
|
|
7400
7385
|
preact_module_("div", { className: this.css.progressButtonsPageDescription, title: page.navigationDescription }, page.navigationDescription)) : null,
|
|
7401
7386
|
preact_module_("div", { className: this.css.progressButtonsButton },
|
|
@@ -9397,7 +9382,7 @@ var preact = compat_module_namespaceObject;
|
|
|
9397
9382
|
|
|
9398
9383
|
|
|
9399
9384
|
|
|
9400
|
-
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.
|
|
9385
|
+
Object(external_root_Survey_commonjs2_survey_core_commonjs_survey_core_amd_survey_core_["checkLibraryVersion"])("" + "1.12.3", "survey-js-ui");
|
|
9401
9386
|
|
|
9402
9387
|
|
|
9403
9388
|
/***/ }),
|