survey-react-ui 1.12.7 → 1.12.9

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://SurveyReact/webpack/universalModuleDefinition","webpack://SurveyReact/webpack/bootstrap","webpack://SurveyReact/./packages/survey-react-ui/src/element-factory.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactsurveymodel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_element.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/element.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/row.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/panel-base.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/svg-icon/svg-icon.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar-separator.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/popup/popup.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/title/title-content.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/title/title-actions.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/title/title-element.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_factory.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/character-counter.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/text-area.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_comment.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/custom-widget.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/element-header.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/page.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/survey-header/survey-header.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/brand-info.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/notifier.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/components-container.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/svgbundle.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactSurvey.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactSurveyNavigationBase.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reacttimerpanel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/panel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/flow-panel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_checkbox.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_ranking.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-item-star.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-item-smiley.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-dropdown-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/tagbox-filter.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/dropdown-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/dropdown-base.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_dropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/tagbox-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_tagbox.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/dropdown-select.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrix.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_html.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/loading-indicator.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-choose-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_file.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-page.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-preview.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_multipletext.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_radiogroup.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_text.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/boolean.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/boolean-checkbox.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/boolean-radio.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_empty.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix/row.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrixdropdownbase.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrixdropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrixdynamic.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_paneldynamic.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/progress.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/progressButtons.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/progressToc.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_rating.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/rating-dropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_expression.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/react-popup-survey.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/imagepicker.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/image.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/signaturepad.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_buttongroup.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_custom.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list-item-content.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list-item-group.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/survey-header/logo-image.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/survey-actions/survey-nav-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/string-viewer.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/question-error.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/skeleton.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/header.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/string-editor.tsx","webpack://SurveyReact/./packages/survey-react-ui/entries/react-ui-model.ts","webpack://SurveyReact/./src/entries/react-ui.ts","webpack://SurveyReact/external {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","webpack://SurveyReact/external {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\"}","webpack://SurveyReact/external {\"root\":\"Survey\",\"commonjs2\":\"survey-core\",\"commonjs\":\"survey-core\",\"amd\":\"survey-core\"}"],"names":[],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;;QAGA;QACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AChFA;IAAA;QAEU,gBAAW,GAA6C,EAAE,CAAC;IAuBrE,CAAC;IArBQ,6CAAe,GAAtB,UACE,WAAmB,EACnB,cAA2C;QAE3C,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,GAAG,cAAc,CAAC;IACjD,CAAC;IACM,yCAAW,GAAlB;QACE,IAAI,MAAM,GAAG,IAAI,KAAK,EAAU,CAAC;QACjC,KAAK,IAAI,GAAG,IAAI,IAAI,CAAC,WAAW,EAAE;YAChC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;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ACK;AACH;AACM;AACf;AACyD;AACP;AACS;AACP;AACM;AACJ;AACA;AACO;AAC/B;AAClB;AAEjB;AACH;AACS;AACc;AACG;AACvC;AAEoB;AACA;AACmB;AAE1B;AAEtD,gDAAgD;AAChD,mFAAmF;;;ACtHjC;AAEoB;AAC8E;AAEpJ,+GAAmB,CAAC,KAAG,QAAqB,EAAE,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;ACLjE,mD;;;;;;;;;;;;ACAA,uD;;;;;;;;;;;;ACAA,yD","file":"survey-react-ui.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"), require(\"survey-core\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"survey-react-ui\", [\"react\", \"react-dom\", \"survey-core\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"survey-react-ui\"] = factory(require(\"react\"), require(\"react-dom\"), require(\"survey-core\"));\n\telse\n\t\troot[\"SurveyReact\"] = factory(root[\"React\"], root[\"ReactDOM\"], root[\"Survey\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_survey_core__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/entries/react-ui.ts\");\n","import { HashTable } from \"survey-core\";\n\nexport class ReactElementFactory {\n public static Instance: ReactElementFactory = new ReactElementFactory();\n private creatorHash: HashTable<(name: string) => JSX.Element> = {};\n\n public registerElement(\n elementType: string,\n elementCreator: (props: any) => JSX.Element\n ) {\n this.creatorHash[elementType] = elementCreator;\n }\n public getAllTypes(): Array<string> {\n var result = new Array<string>();\n for (var key in this.creatorHash) {\n result.push(key);\n }\n return result.sort();\n }\n public isElementRegistered(elementType: string) {\n return !!this.creatorHash[elementType];\n }\n public createElement(elementType: string, params: any): JSX.Element | any {\n var creator = this.creatorHash[elementType];\n if (creator == null) return null;\n return creator(params);\n }\n}\n","import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class ReactSurveyElementsWrapper {\n public static wrapRow(survey: SurveyModel, element: JSX.Element, row: QuestionRowModel): JSX.Element {\n const componentName = survey.getRowWrapperComponentName(row);\n const componentData = survey.getRowWrapperComponentData(row);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n row,\n componentData,\n });\n }\n public static wrapElement(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element {\n const componentName = survey.getElementWrapperComponentName(question);\n const componentData = survey.getElementWrapperComponentData(question);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n question,\n componentData,\n });\n }\n public static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element {\n const componentName = survey.getQuestionContentWrapperComponentName(question);\n const componentData = survey.getElementWrapperComponentData(question);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n question,\n componentData,\n });\n }\n public static wrapItemValue(survey: SurveyModel, element: JSX.Element, question: QuestionSelectBase, item: ItemValue): JSX.Element {\n const componentName = survey.getItemValueWrapperComponentName(item, question);\n const componentData = survey.getItemValueWrapperComponentData(item, question);\n return ReactElementFactory.Instance.createElement(componentName, {\n key: element?.key,\n element,\n question,\n item,\n componentData,\n });\n }\n public static wrapMatrixCell(survey: SurveyModel, element: JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason: string = \"cell\"): JSX.Element {\n const componentName = survey.getElementWrapperComponentName(cell, reason);\n const componentData = survey.getElementWrapperComponentData(cell, reason);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n cell,\n componentData,\n });\n }\n}\n\nSurveyModel.platform = \"react\";\n","import * as React from \"react\";\nimport { Base, ArrayChanges, SurveyModel, Helpers, PanelModel, LocalizableString, Question } from \"survey-core\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\n\nexport class SurveyElementBase<P, S> extends React.Component<P, S> {\n public static renderLocString(\n locStr: LocalizableString,\n style: any = null,\n key?: string\n ): JSX.Element {\n return ReactElementFactory.Instance.createElement(locStr.renderAs, {\n locStr: locStr.renderAsData,\n style: style,\n key: key,\n });\n }\n public static renderQuestionDescription(question: Question | PanelModel): JSX.Element {\n var descriptionText = SurveyElementBase.renderLocString(question.locDescription);\n return <div style={question.hasDescription ? undefined : { display: \"none\" }} id={question.ariaDescriptionId} className={question.cssDescription}>{descriptionText}</div>;\n }\n private changedStatePropNameValue: string | undefined;\n constructor(props: any) {\n super(props);\n }\n componentDidMount() {\n this.makeBaseElementsReact();\n }\n componentWillUnmount() {\n this.unMakeBaseElementsReact();\n this.disableStateElementsRerenderEvent(this.getStateElements());\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n this.makeBaseElementsReact();\n const stateElements = this.getStateElements();\n this.disableStateElementsRerenderEvent((this.prevStateElements ?? []).filter(el => !stateElements.includes(el)));\n this.prevStateElements = [];\n this.getStateElements().forEach((el) => {\n el.afterRerender();\n });\n }\n private _allowComponentUpdate = true;\n protected allowComponentUpdate() {\n this._allowComponentUpdate = true;\n this.forceUpdate();\n }\n protected denyComponentUpdate() {\n this._allowComponentUpdate = false;\n }\n private prevStateElements: Array<Base> = [];\n shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (this._allowComponentUpdate) {\n this.unMakeBaseElementsReact();\n this.prevStateElements = this.getStateElements();\n }\n return this._allowComponentUpdate;\n }\n render(): JSX.Element | null {\n if (!this.canRender()) {\n return null;\n }\n\n this.startEndRendering(1);\n var res = this.renderElement();\n this.startEndRendering(-1);\n\n if (!!res) {\n res = this.wrapElement(res);\n }\n\n this.changedStatePropNameValue = undefined;\n return res;\n }\n protected wrapElement(element: JSX.Element): JSX.Element {\n return element;\n }\n protected get isRendering(): boolean {\n var stateEls: Array<any> = this.getRenderedElements();\n for (let stateEl of stateEls) {\n if (stateEl.reactRendering > 0) return true;\n }\n return false;\n }\n protected getRenderedElements(): Base[] {\n return this.getStateElements();\n }\n private startEndRendering(val: number) {\n var stateEls: Array<any> = this.getRenderedElements();\n for (let stateEl of stateEls) {\n if (!stateEl.reactRendering) stateEl.reactRendering = 0;\n stateEl.reactRendering += val;\n }\n }\n protected canRender(): boolean {\n return true;\n }\n protected renderElement(): JSX.Element | null {\n return null;\n }\n protected get changedStatePropName(): string | undefined {\n return this.changedStatePropNameValue;\n }\n private makeBaseElementsReact() {\n var els = this.getStateElements();\n for (var i = 0; i < els.length; i++) {\n els[i].enableOnElementRerenderedEvent();\n this.makeBaseElementReact(els[i]);\n }\n }\n private unMakeBaseElementsReact() {\n var els = this.getStateElements();\n for (var i = 0; i < els.length; i++) {\n this.unMakeBaseElementReact(els[i]);\n }\n }\n protected disableStateElementsRerenderEvent(els: Array<Base>): void {\n els.forEach(el => {\n el.disableOnElementRerenderedEvent();\n });\n }\n protected getStateElements(): Array<Base> {\n var el = this.getStateElement();\n return !!el ? [el] : [];\n }\n protected getStateElement(): Base | null {\n return null;\n }\n protected get isDisplayMode(): boolean {\n const props: any = this.props;\n return props.isDisplayMode || false;\n }\n protected renderLocString(\n locStr: LocalizableString,\n style: any = null,\n key?: string\n ): JSX.Element {\n return SurveyElementBase.renderLocString(locStr, style, key);\n }\n private canMakeReact(stateElement: Base): boolean {\n return !!stateElement && !!stateElement.iteratePropertiesHash;\n }\n\n private makeBaseElementReact(stateElement: Base) {\n if (!this.canMakeReact(stateElement)) return;\n stateElement.iteratePropertiesHash((hash, key) => {\n if (!this.canUsePropInState(key)) return;\n var val: any = hash[key];\n if (Array.isArray(val)) {\n var val: any = val;\n val[\"onArrayChanged\"] = (arrayChanges: ArrayChanges) => {\n if (this.isRendering) return;\n this.changedStatePropNameValue = key;\n this.setState((state: any) => {\n var newState: { [index: string]: any } = {};\n newState[key] = val;\n return newState as S;\n });\n };\n }\n });\n stateElement.setPropertyValueCoreHandler = (\n hash: any,\n key: string,\n val: any\n ) => {\n if (hash[key] !== val) {\n hash[key] = val;\n if (!this.canUsePropInState(key)) return;\n if (this.isRendering) return;\n this.changedStatePropNameValue = key;\n this.setState((state: any) => {\n var newState: { [index: string]: any } = {};\n newState[key] = val;\n return newState as S;\n });\n }\n };\n }\n protected canUsePropInState(key: string): boolean {\n return true;\n }\n private unMakeBaseElementReact(stateElement: Base) {\n if (!this.canMakeReact(stateElement)) return;\n stateElement.setPropertyValueCoreHandler = undefined as any;\n stateElement.iteratePropertiesHash((hash, key) => {\n var val: any = hash[key];\n if (Array.isArray(val)) {\n var val: any = val;\n val[\"onArrayChanged\"] = () => { };\n }\n });\n }\n}\n\nexport class ReactSurveyElement extends SurveyElementBase<any, any> {\n constructor(props: any) {\n super(props);\n }\n protected get cssClasses(): any {\n return this.props.cssClasses;\n }\n}\n\nexport class SurveyQuestionElementBase extends SurveyElementBase<any, any> {\n control: HTMLElement;\n content: HTMLElement;\n constructor(props: any) {\n super(props);\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateDomElement();\n }\n componentDidMount() {\n super.componentDidMount();\n this.updateDomElement();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.questionBase) {\n const contentElement: HTMLElement = this.content || this.control;\n this.questionBase.beforeDestroyQuestionElement(contentElement);\n if (!!contentElement) {\n contentElement.removeAttribute(\"data-rendered\");\n }\n }\n }\n protected updateDomElement() {\n const contentElement = this.content || this.control;\n if (!!contentElement) {\n if (contentElement.getAttribute(\"data-rendered\") !== \"r\") {\n contentElement.setAttribute(\"data-rendered\", \"r\");\n this.questionBase.afterRenderQuestionElement(contentElement);\n }\n }\n }\n protected get questionBase(): Question {\n return this.props.question;\n }\n protected getRenderedElements(): Base[] {\n return [this.questionBase];\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected canRender(): boolean {\n return !!this.questionBase && !!this.creator;\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n\n return (\n !this.questionBase.customWidget ||\n !!this.questionBase.customWidgetData.isNeedRender ||\n !!this.questionBase.customWidget.widgetJson.isDefaultRender ||\n !!this.questionBase.customWidget.widgetJson.render\n );\n }\n protected get isDisplayMode(): boolean {\n const props: any = this.props;\n return (\n props.isDisplayMode ||\n (!!this.questionBase && this.questionBase.isInputReadOnly) || false\n );\n }\n protected wrapCell(\n cell: any,\n element: JSX.Element,\n reason: string\n ): JSX.Element {\n if (!reason) {\n return element;\n }\n const survey: SurveyModel = this.questionBase\n .survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapMatrixCell(survey, element, cell, reason);\n }\n return wrapper ?? element;\n }\n public setControl(element: HTMLElement | null): void {\n if (!!element) {\n this.control = element;\n }\n }\n public setContent(element: HTMLElement | null): void {\n if(!!element) {\n this.content = element;\n }\n }\n}\n\nexport class SurveyQuestionUncontrolledElement<\n T extends Question\n> extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.updateValueOnEvent = this.updateValueOnEvent.bind(this);\n }\n protected get question(): T {\n return this.questionBase as T;\n }\n updateValueOnEvent = (event: any) => {\n if (\n !Helpers.isTwoValueEquals(this.questionBase.value, event.target.value, false, true, false)\n ) {\n this.setValueCore(event.target.value);\n }\n };\n protected setValueCore(newValue: any) {\n this.questionBase.value = newValue;\n }\n protected getValueCore(): any {\n return this.questionBase.value;\n }\n protected updateDomElement() {\n if (!!this.control) {\n const control: any = this.control;\n const newValue = this.getValueCore();\n if (!Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {\n control.value = this.getValue(newValue);\n }\n }\n super.updateDomElement();\n }\n private getValue(val: any): any {\n if (Helpers.isValueEmpty(val)) return \"\";\n return val;\n }\n}\n","import * as React from \"react\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { SurveyModel, Question, QuestionRowModel, IElement, Base, PanelModel } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\n\nexport class SurveyRowElement extends SurveyElementBase<any, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n (this.element as Question).cssClasses;\n this.rootRef = React.createRef();\n }\n protected getStateElement(): any {\n return this.element;\n }\n private get element(): PanelModel | Question {\n return this.props.element as any;\n }\n private get index(): number {\n return this.props.index;\n }\n private get row(): QuestionRowModel {\n return this.props.row;\n }\n private get survey(): SurveyModel {\n return this.props.survey;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get css(): any {\n return this.props.css;\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n if(this.rootRef.current) {\n (this.element).setWrapperElement(this.rootRef.current);\n }\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.element.setWrapperElement(undefined);\n }\n\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (nextProps.element !== this.element) {\n if(nextProps.element) {\n nextProps.element.setWrapperElement(this.rootRef.current);\n }\n if(this.element) {\n this.element.setWrapperElement(undefined);\n }\n }\n\n (this.element as Question).cssClasses;\n return true;\n }\n\n protected renderElement(): JSX.Element {\n const element = this.element;\n const innerElement = this.createElement(element, this.index);\n const css = (element as Question).cssClassesValue;\n const focusIn = () => {\n const el: any = element;\n if (el && el.isQuestion) {\n el.focusIn();\n }\n };\n return (\n <div\n className={css.questionWrapper}\n style={(element as any).rootStyle}\n data-key={innerElement.key}\n key={innerElement.key}\n onFocus={focusIn}\n ref={this.rootRef}\n >\n {this.row.isNeedRender ? innerElement : ReactElementFactory.Instance.createElement(element.skeletonComponentName, { element: element, css: this.css, })}\n </div>\n );\n }\n\n protected createElement(element: IElement, elementIndex?: number): JSX.Element {\n const index = elementIndex ? \"-\" + elementIndex : 0;\n var elementType = element.getType();\n if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {\n elementType = \"question\";\n }\n return ReactElementFactory.Instance.createElement(elementType, {\n key: element.name + index,\n element: element,\n creator: this.creator,\n survey: this.survey,\n css: this.css,\n });\n }\n}\n","import * as React from \"react\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { SurveyModel, Question, QuestionRowModel, IElement, Base } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyRowElement } from \"./element\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\n\nexport class SurveyRow extends SurveyElementBase<any, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n this.recalculateCss();\n }\n private recalculateCss() {\n this.row.visibleElements.map(element => (element as Question).cssClasses);\n }\n protected getStateElement(): Base {\n return this.row;\n }\n private get row(): QuestionRowModel {\n return this.props.row;\n }\n private get survey(): SurveyModel {\n return this.props.survey;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get css(): any {\n return this.props.css;\n }\n protected canRender(): boolean {\n return !!this.row && !!this.survey && !!this.creator;\n }\n protected renderElementContent(): JSX.Element {\n const elements = this.row.visibleElements.map((element, elementIndex) => {\n const index = elementIndex ? \"-\" + elementIndex : 0;\n const key = element.name + index;\n return (\n <SurveyRowElement\n element={element}\n index={elementIndex}\n row={this.row}\n survey={this.survey}\n creator={this.creator}\n css={this.css}\n key={key}\n >\n </SurveyRowElement>\n );\n });\n\n return (\n <div ref={this.rootRef} className={this.row.getRowCss()} >\n {elements}\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n const survey: SurveyModel = this.survey as SurveyModel;\n const content = this.renderElementContent();\n const wrapper = ReactSurveyElementsWrapper.wrapRow(survey, content, this.row);\n return wrapper || content;\n }\n componentDidMount() {\n super.componentDidMount();\n var el = this.rootRef.current;\n if(this.rootRef.current) {\n this.row.setRootElement(this.rootRef.current);\n }\n if (!!el && !this.row.isNeedRender) {\n var rowContainerDiv = el;\n setTimeout(() => {\n this.row.startLazyRendering(rowContainerDiv);\n }, 10);\n }\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (nextProps.row !== this.row) {\n nextProps.row.isNeedRender = this.row.isNeedRender;\n nextProps.row.setRootElement(this.rootRef.current);\n this.row.setRootElement(undefined);\n this.stopLazyRendering();\n }\n this.recalculateCss();\n return true;\n }\n private stopLazyRendering() {\n this.row.stopLazyRendering();\n this.row.isNeedRender = !this.row.isLazyRendering();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.row.setRootElement(undefined);\n this.stopLazyRendering();\n }\n\n protected createElement(element: IElement, elementIndex?: number): JSX.Element {\n const index = elementIndex ? \"-\" + elementIndex : 0;\n var elementType = element.getType();\n if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {\n elementType = \"question\";\n }\n return ReactElementFactory.Instance.createElement(elementType, {\n key: element.name + index,\n element: element,\n creator: this.creator,\n survey: this.survey,\n css: this.css,\n });\n }\n}\n","import * as React from \"react\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { Base, SurveyModel, QuestionRowModel, PanelModel, PanelModelBase } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyRow } from \"./row\";\n\nexport class SurveyPanelBase extends SurveyElementBase<any, any> {\n protected rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.panelBase;\n }\n protected canUsePropInState(key: string): boolean {\n return key !== \"elements\" && super.canUsePropInState(key);\n }\n protected get survey(): SurveyModel | null {\n return this.getSurvey();\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get css(): any {\n return this.getCss();\n }\n public get panelBase(): PanelModelBase {\n return this.getPanelBase();\n }\n protected getPanelBase(): PanelModelBase {\n return this.props.element || this.props.question;\n }\n protected getSurvey(): SurveyModel | null {\n return (\n this.props.survey || (!!this.panelBase ? this.panelBase.survey : null)\n );\n }\n protected getCss(): any {\n return this.props.css;\n }\n componentDidMount() {\n super.componentDidMount();\n this.doAfterRender();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n var el = this.rootRef.current;\n if (!!el) {\n el.removeAttribute(\"data-rendered\");\n }\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n if (\n !!prevProps.page &&\n !!this.survey &&\n !!this.survey.activePage &&\n prevProps.page.id === this.survey.activePage.id\n )\n return;\n this.doAfterRender();\n }\n private doAfterRender() {\n var el = this.rootRef.current;\n if (el && this.survey) {\n if (this.panelBase.isPanel) {\n this.panelBase.afterRender(el);\n } else {\n this.survey.afterRenderPage(el);\n }\n }\n }\n\n protected getIsVisible() {\n return this.panelBase.isVisible;\n }\n\n protected canRender(): boolean {\n return (\n super.canRender() && !!this.survey && !!this.panelBase && !!this.panelBase.survey && this.getIsVisible()\n );\n }\n protected renderRows(css: any): Array<JSX.Element> {\n return this.panelBase.visibleRows.map((row) => this.createRow(row, css));\n }\n protected createRow(row: QuestionRowModel, css: any): JSX.Element {\n return (\n <SurveyRow\n key={row.id}\n row={row}\n survey={this.survey}\n creator={this.creator}\n css={css}\n />\n );\n }\n}\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { createSvg } from \"survey-core\";\n\nexport class SvgIcon extends React.Component<any, any> {\n private svgIconRef: any;\n constructor(props: any) {\n super(props);\n this.svgIconRef = React.createRef();\n }\n\n updateSvg() {\n if(this.props.iconName)\n createSvg(\n this.props.size,\n this.props.width,\n this.props.height,\n this.props.iconName,\n this.svgIconRef.current,\n this.props.title,\n );\n }\n componentDidUpdate() {\n this.updateSvg();\n }\n render() {\n let className = \"sv-svg-icon\";\n if(this.props.className) {\n className += \" \" + this.props.className;\n }\n return (\n this.props.iconName ?\n <svg className={ className } style={this.props.style} onClick={this.props.onClick} ref={this.svgIconRef} role=\"img\"><use></use></svg>\n : null\n );\n }\n componentDidMount() {\n this.updateSvg();\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-svg-icon\", (props) => {\n return React.createElement(SvgIcon, props);\n});\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\n\nexport class SurveyActionBarSeparator extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n }\n render() {\n var className = `sv-action-bar-separator ${this.props.cssClasses}`;\n return <div className={className}></div>;\n }\n}\nReactElementFactory.Instance.registerElement(\n \"sv-action-bar-separator\",\n (props) => {\n return React.createElement(SurveyActionBarSeparator, props);\n }\n);\n","import React from \"react\";\r\nimport { Base, Action } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { SurveyElementBase } from \"../../reactquestion_element\";\r\nimport { attachKey2click } from \"../../reactSurvey\";\r\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\r\nimport { SurveyActionBarSeparator } from \"./action-bar-separator\";\r\n\r\ninterface IActionBarItemProps {\r\n item: Action;\r\n}\r\n\r\nexport class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> {\r\n get item() {\r\n return this.props.item;\r\n }\r\n protected getStateElement(): Base {\r\n return this.item;\r\n }\r\n\r\n renderElement() {\r\n //refactor\r\n const itemClass = this.item.getActionRootCss();\r\n const separator = this.item.needSeparator ? (\r\n <SurveyActionBarSeparator></SurveyActionBarSeparator>\r\n ) : null;\r\n\r\n const itemComponent = ReactElementFactory.Instance.createElement(\r\n this.item.component || \"sv-action-bar-item\",\r\n {\r\n item: this.item,\r\n }\r\n );\r\n return (\r\n <div className={itemClass} id={this.item.id}>\r\n <div className=\"sv-action__content\">\r\n {separator}\r\n {itemComponent}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nexport class SurveyActionBarItem extends SurveyElementBase<\r\n IActionBarItemProps,\r\n any\r\n> {\r\n get item(): Action {\r\n return this.props.item;\r\n }\r\n protected getStateElement(): Base {\r\n return this.item;\r\n }\r\n\r\n renderElement() {\r\n return <>{this.renderInnerButton()}</>;\r\n }\r\n\r\n renderText() {\r\n if (!this.item.hasTitle) return null;\r\n const titleClass = this.item.getActionBarItemTitleCss();\r\n return <span className={titleClass}>{this.item.title}</span>;\r\n }\r\n\r\n renderButtonContent() {\r\n const text = this.renderText();\r\n const svgIcon = !!this.item.iconName ? (\r\n <SvgIcon\r\n className={this.item.cssClasses.itemIcon}\r\n size={this.item.iconSize}\r\n iconName={this.item.iconName}\r\n title={this.item.tooltip || this.item.title}\r\n ></SvgIcon>\r\n ) : null;\r\n return (\r\n <>\r\n {svgIcon}\r\n {text}\r\n </>\r\n );\r\n }\r\n\r\n renderInnerButton() {\r\n const className = this.item.getActionBarItemCss();\r\n const title = this.item.tooltip || this.item.title;\r\n const buttonContent = this.renderButtonContent();\r\n const tabIndex = this.item.disableTabStop ? -1 : undefined;\r\n const button = attachKey2click(\r\n <button\r\n className={className}\r\n type=\"button\"\r\n disabled={this.item.disabled}\r\n onMouseDown={(args) => this.item.doMouseDown(args)}\r\n onFocus={(args) => this.item.doFocus(args)}\r\n onClick={(args) => this.item.doAction(args)}\r\n title={title}\r\n tabIndex={tabIndex}\r\n aria-checked={this.item.ariaChecked}\r\n aria-expanded={this.item.ariaExpanded}\r\n role={this.item.ariaRole}\r\n >\r\n {buttonContent}\r\n </button>, this.item, { processEsc: false });\r\n\r\n return button;\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-action-bar-item\", (props) => {\r\n return React.createElement(SurveyActionBarItem, props);\r\n});\r\n","import ReactDOM from \"react-dom\";\nimport React from \"react\";\nimport { Base, PopupModel, PopupBaseViewModel, PopupDropdownViewModel, IDialogOptions, createDialogOptions, createPopupModalViewModel, createPopupViewModel, CssClassBuilder, settings } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { SurveyActionBar } from \"../action-bar/action-bar\";\n\ninterface IPopupProps {\n model: PopupModel;\n getTarget?: (container: HTMLElement) => HTMLElement;\n getArea?: (container: HTMLElement) => HTMLElement;\n}\n\nexport class Popup extends SurveyElementBase<IPopupProps, any> {\n private popup: PopupBaseViewModel;\n private containerRef: React.RefObject<HTMLDivElement>;\n constructor(props: IPopupProps) {\n super(props);\n this.containerRef = React.createRef();\n this.createModel();\n }\n get model(): PopupModel {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private createModel(): void {\n this.popup = createPopupViewModel(this.props.model, undefined as any);\n }\n private setTargetElement(): void {\n const container = this.containerRef.current as HTMLElement;\n this.popup.setComponentElement(\n container,\n this.props.getTarget ? this.props.getTarget(container) : undefined,\n this.props.getArea ? this.props.getArea(container) : undefined\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.setTargetElement();\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.setTargetElement();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.popup.resetComponentElement();\n }\n shouldComponentUpdate(nextProps: IPopupProps, nextState: any) {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n const isNeedUpdate = nextProps.model !== this.popup.model;\n if(isNeedUpdate) {\n this.popup?.dispose();\n this.createModel();\n }\n return isNeedUpdate;\n }\n render(): JSX.Element {\n this.popup.model = this.model;\n let popupContainer;\n if(this.model.isModal) {\n popupContainer = <PopupContainer model={this.popup}></PopupContainer>;\n } else {\n popupContainer = <PopupDropdownContainer model={this.popup}></PopupDropdownContainer>;\n }\n return <div ref={this.containerRef}>{popupContainer}</div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-popup\",\n (props: IPopupProps) => {\n return React.createElement(Popup, props);\n }\n);\n\nexport class PopupContainer extends SurveyElementBase<any, any> {\n constructor(props: any) {\n super(props);\n }\n handleKeydown = (event: any) => {\n this.model.onKeyDown(event);\n };\n get model(): PopupBaseViewModel {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n clickInside = (ev: any) => {\n ev.stopPropagation();\n };\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n if (!this.model.isPositionSet && this.model.isVisible) {\n this.model.updateOnShowing();\n }\n }\n renderContainer(popupBaseViewModel: PopupBaseViewModel): JSX.Element {\n const headerPopup = popupBaseViewModel.showHeader ? this.renderHeaderPopup(popupBaseViewModel) : null;\n const headerContent = !!popupBaseViewModel.title ? this.renderHeaderContent() : null;\n const content = this.renderContent();\n const footerContent = popupBaseViewModel.showFooter ? this.renderFooter(this.model) : null;\n return (\n <div\n className=\"sv-popup__container\"\n style={{\n left: popupBaseViewModel.left,\n top: popupBaseViewModel.top,\n height: popupBaseViewModel.height,\n width: popupBaseViewModel.width,\n minWidth: popupBaseViewModel.minWidth,\n }}\n onClick={(ev: any) => {\n this.clickInside(ev);\n }}\n >\n {headerPopup}\n <div className=\"sv-popup__body-content\">\n {headerContent}\n <div className=\"sv-popup__scrolling-content\">\n {content}\n </div>\n {footerContent}\n </div>\n </div>\n );\n }\n renderHeaderContent(): JSX.Element {\n return <div className=\"sv-popup__body-header\">{this.model.title}</div>;\n }\n renderContent(): JSX.Element {\n const contentComponent = ReactElementFactory.Instance.createElement(\n this.model.contentComponentName,\n this.model.contentComponentData\n );\n return <div className=\"sv-popup__content\">{contentComponent}</div>;\n }\n\n protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null {\n return null;\n }\n protected renderFooter(popuModel: PopupBaseViewModel): JSX.Element | null {\n return (\n <div className=\"sv-popup__body-footer\">\n <SurveyActionBar model={popuModel.footerToolbar}></SurveyActionBar>\n </div>\n );\n }\n render(): JSX.Element {\n const container = this.renderContainer(this.model);\n const className = new CssClassBuilder()\n .append(\"sv-popup\")\n .append(this.model.styleClass)\n .toString();\n const style = { display: this.model.isVisible ? \"\" : \"none\", };\n return (\n <div\n tabIndex={-1}\n className={className}\n style={style}\n onClick={(e: any) => {\n this.model.clickOutside(e);\n }}\n onKeyDown={this.handleKeydown}\n >\n {container}\n </div>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n if(this.model.isVisible) {\n this.model.updateOnShowing();\n }\n }\n}\nexport class PopupDropdownContainer extends PopupContainer {\n\n protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null {\n const popupDropdownModel = popupModel as PopupDropdownViewModel;\n if(!popupDropdownModel) return null;\n\n return (\n <span\n style={{\n left: popupDropdownModel.pointerTarget.left,\n top: popupDropdownModel.pointerTarget.top,\n }}\n className=\"sv-popup__pointer\"\n ></span>\n );\n }\n}\n\n// replace to showDialog then delete\nexport function showModal(\n componentName: string,\n data: any,\n onApply: () => boolean,\n onCancel?: () => void,\n cssClass?: string,\n title?: string,\n displayMode: \"popup\" | \"overlay\" = \"popup\"\n): PopupBaseViewModel {\n const options = createDialogOptions(\n componentName,\n data,\n onApply,\n onCancel,\n undefined,\n undefined,\n cssClass,\n title,\n displayMode\n );\n return showDialog(options);\n}\nexport function showDialog(dialogOptions: IDialogOptions, rootElement?: HTMLElement): PopupBaseViewModel {\n const popupViewModel: PopupBaseViewModel = createPopupModalViewModel(dialogOptions, rootElement);\n const onVisibilityChangedCallback = (\n _: PopupBaseViewModel,\n options: { isVisible: boolean }\n ) => {\n if (!options.isVisible) {\n if(typeof (ReactDOM as any).createRoot == \"function\") {\n if(!!root) {\n root.unmount();\n }\n } else {\n ReactDOM.unmountComponentAtNode(popupViewModel.container);\n }\n popupViewModel.dispose();\n }\n };\n popupViewModel.onVisibilityChanged.add(onVisibilityChangedCallback);\n let root: any;\n if(typeof (ReactDOM as any).createRoot == \"function\") {\n root = (ReactDOM as any).createRoot(popupViewModel.container);\n root.render(<PopupContainer model={popupViewModel} />);\n } else {\n ReactDOM.render(<PopupContainer model={popupViewModel} />, popupViewModel.container);\n }\n popupViewModel.model.isVisible = true;\n\n return popupViewModel;\n}\n\nsettings.showModal = showModal;\nsettings.showDialog = showDialog;","import React from \"react\";\r\nimport { ActionDropdownViewModel, getActionDropdownButtonTarget } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { Popup } from \"../popup/popup\";\r\nimport { SurveyActionBarItem } from \"./action-bar-item\";\r\n\r\nexport class SurveyActionBarItemDropdown extends SurveyActionBarItem {\r\n private viewModel: ActionDropdownViewModel;\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n renderInnerButton() {\r\n const button = super.renderInnerButton();\r\n return (\r\n <>\r\n {button}\r\n <Popup model={this.item.popupModel} getTarget={getActionDropdownButtonTarget}></Popup>\r\n </>\r\n );\r\n }\r\n componentDidMount(): void {\r\n this.viewModel = new ActionDropdownViewModel(this.item);\r\n }\r\n componentWillUnmount(): void {\r\n super.componentWillUnmount();\r\n this.viewModel.dispose();\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-action-bar-item-dropdown\", (props) => {\r\n return React.createElement(SurveyActionBarItemDropdown, props);\r\n});\r\n","import React from \"react\";\nimport {\n Base,\n Action,\n ActionContainer\n} from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { SurveyAction } from \"./action-bar-item\";\n\nexport * from \"./action-bar-item-dropdown\";\nexport * from \"./action-bar-separator\";\n\ninterface IActionBarProps {\n model: ActionContainer<Action>;\n handleClick?: boolean;\n}\n\nexport class SurveyActionBar extends SurveyElementBase<IActionBarProps, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: IActionBarProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n\n private get handleClick() {\n return this.props.handleClick !== undefined ? this.props.handleClick : true;\n }\n\n get model() {\n return this.props.model;\n }\n\n componentDidMount() {\n super.componentDidMount();\n if (!this.model.hasActions) return;\n const container: HTMLDivElement | null = this.rootRef.current;\n if(!!container) {\n this.model.initResponsivityManager(container, (callback) => { setTimeout(callback); });\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.model.hasActions) {\n this.model.resetResponsivityManager();\n }\n }\n componentDidUpdate(prevProps: IActionBarProps, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if(prevProps.model == this.props.model) {\n return;\n }\n if (!!this.model.hasActions) {\n this.model.resetResponsivityManager();\n const container: HTMLDivElement | null = this.rootRef.current;\n if(!!container) {\n this.model.initResponsivityManager(container, (callback) => { setTimeout(callback); });\n }\n }\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): any {\n if (!this.model.hasActions) return null;\n const items = this.renderItems();\n return (\n <div\n ref={this.rootRef}\n className={this.model.getRootCss()}\n onClick={this.handleClick ? function(event) {\n event.stopPropagation();\n } : undefined}\n >\n {items}\n </div>\n );\n }\n\n renderItems() {\n return this.model.renderedActions.map(\n (item: Action, itemIndex: number) => {\n return (\n <SurveyAction item={item} key={\"item\" + itemIndex}></SurveyAction>\n );\n }\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-action-bar\", (props) => {\n return React.createElement(\n SurveyActionBar,\n (props as any) as IActionBarProps\n );\n});\n","import React from \"react\";\nimport { SurveyElementCore, ITitleOwner } from \"survey-core\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\n\nexport class TitleContent extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n }\n\n private get cssClasses() {\n return this.props.cssClasses;\n }\n\n private get element(): SurveyElementCore {\n return this.props.element;\n }\n render(): JSX.Element {\n if(this.element.isTitleRenderedAsString)\n return SurveyElementBase.renderLocString(this.element.locTitle);\n var spans = this.renderTitleSpans(this.element.getTitleOwner(), this.cssClasses);\n return <>{spans}</>;\n }\n protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<JSX.Element> {\n var getSpaceSpan = (key: any) => {\n return (\n <span data-key={key} key={key}>\n &nbsp;\n </span>\n );\n };\n var spans: Array<JSX.Element> = [];\n if (element.isRequireTextOnStart) {\n spans.push(this.renderRequireText(element));\n spans.push(getSpaceSpan(\"req-sp\"));\n }\n var questionNumber = element.no;\n if (questionNumber) {\n spans.push(\n <span\n data-key={\"q_num\"}\n key={\"q_num\"}\n className={element.cssTitleNumber}\n style={{ position: \"static\" }}\n aria-hidden={true}\n >\n {questionNumber}\n </span>\n );\n spans.push(getSpaceSpan(\"num-sp\"));\n }\n if (element.isRequireTextBeforeTitle) {\n spans.push(this.renderRequireText(element));\n spans.push(getSpaceSpan(\"req-sp\"));\n }\n spans.push(\n SurveyElementBase.renderLocString(element.locTitle, null, \"q_title\")\n );\n if (element.isRequireTextAfterTitle) {\n spans.push(getSpaceSpan(\"req-sp\"));\n spans.push(this.renderRequireText(element));\n }\n return spans;\n }\n\n private renderRequireText(element: ITitleOwner): JSX.Element {\n return (\n <span\n data-key={\"req-text\"}\n key={\"req-text\"}\n className={element.cssRequiredText}\n aria-hidden={true}\n >\n {element.requiredText}\n </span>\n );\n }\n}\n","import React from \"react\";\nimport { SurveyElement, RendererFactory } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyActionBar } from \"../action-bar/action-bar\";\nimport { TitleContent } from \"./title-content\";\n\nexport class TitleActions extends React.Component<any, any> {\n protected get cssClasses() {\n return this.props.cssClasses;\n }\n protected get element(): SurveyElement {\n return this.props.element;\n }\n\n render(): JSX.Element {\n const titleContent: JSX.Element = <TitleContent element={this.element} cssClasses={this.cssClasses}></TitleContent>;\n if(!this.element.hasTitleActions) return titleContent;\n return (\n <div className=\"sv-title-actions\">\n <span className=\"sv-title-actions__title\">{titleContent}</span>\n <SurveyActionBar model={this.element.getTitleToolbar()}></SurveyActionBar>\n </div>\n );\n }\n}\n\nRendererFactory.Instance.registerRenderer(\n \"element\",\n \"title-actions\",\n \"sv-title-actions\"\n);\n\nReactElementFactory.Instance.registerElement(\"sv-title-actions\", (props) => {\n return React.createElement(TitleActions, props);\n});\n","import React from \"react\";\nimport { SurveyElementCore, doKey2ClickUp } from \"survey-core\";\nimport { TitleActions } from \"./title-actions\";\n\nexport class TitleElement extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n }\n private get element(): SurveyElementCore {\n return this.props.element;\n }\n render(): JSX.Element | any {\n const element = this.element;\n if (!element || !element.hasTitle) return null;\n const ariaLabel = element.titleAriaLabel || undefined;\n const titleContent = (\n <TitleActions\n element={element}\n cssClasses={element.cssClasses}\n ></TitleActions>\n );\n let onClick: undefined | ((e: any) => void) = undefined;\n let onKeyUp: undefined | ((e: any) => void) = undefined;\n if (element.hasTitleEvents) {\n onKeyUp = (evt: any) => {\n doKey2ClickUp(evt.nativeEvent);\n };\n }\n\n const CustomTag = element.titleTagName as keyof JSX.IntrinsicElements;\n return (\n <CustomTag\n className={element.cssTitle}\n id={element.ariaTitleId}\n aria-label={ariaLabel}\n tabIndex={element.titleTabIndex}\n aria-expanded={element.titleAriaExpanded}\n role={element.titleAriaRole}\n onClick={onClick}\n onKeyUp={onKeyUp}\n >\n {titleContent}\n </CustomTag>\n );\n }\n}\n","import { HashTable } from \"survey-core\";\n\nexport class ReactQuestionFactory {\n public static Instance: ReactQuestionFactory = new ReactQuestionFactory();\n private creatorHash: HashTable<(name: string) => JSX.Element> = {};\n\n public registerQuestion(\n questionType: string,\n questionCreator: (name: string) => JSX.Element\n ) {\n this.creatorHash[questionType] = questionCreator;\n }\n public getAllTypes(): Array<string> {\n var result = new Array<string>();\n for (var key in this.creatorHash) {\n result.push(key);\n }\n return result.sort();\n }\n public createQuestion(questionType: string, params: any): JSX.Element | null {\n var creator = this.creatorHash[questionType];\n if (creator == null) return null;\n return creator(params);\n }\n}\n","import React from \"react\";\nimport { Base, CharacterCounter } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\n\nexport interface ICharacterCounterComponentProps {\n counter: CharacterCounter;\n remainingCharacterCounter: string;\n}\n\nexport class CharacterCounterComponent extends SurveyElementBase<ICharacterCounterComponentProps, any> {\n protected getStateElement(): Base {\n return this.props.counter;\n }\n\n renderElement(): JSX.Element | null {\n return (<div className={this.props.remainingCharacterCounter}>{this.props.counter.remainingCharacterCounter}</div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-character-counter\", (props) => {\n return React.createElement(CharacterCounterComponent, props);\n});","import React from \"react\";\nimport { TextAreaModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\n\ninterface ITextAreaProps {\n viewModel: TextAreaModel;\n}\n\nexport class TextAreaComponent extends SurveyElementBase<ITextAreaProps, any> {\n private initialValue;\n\n constructor(props: ITextAreaProps) {\n super(props);\n this.initialValue = this.viewModel.getTextValue() || \"\";\n }\n get viewModel(): TextAreaModel {\n return this.props.viewModel;\n }\n protected canRender(): boolean {\n return !!this.viewModel.question;\n }\n\n protected renderElement(): JSX.Element {\n return (\n <textarea\n id={this.viewModel.id}\n className={this.viewModel.className}\n ref={(textarea) => (this.viewModel.setElement(textarea))}\n disabled={this.viewModel.isDisabledAttr}\n readOnly={this.viewModel.isReadOnlyAttr}\n rows={this.viewModel.rows}\n cols={this.viewModel.cols}\n placeholder={this.viewModel.placeholder}\n maxLength={this.viewModel.maxLength}\n defaultValue={this.initialValue}\n onChange={(event: any) => { this.viewModel.onTextAreaInput(event); }}\n onFocus={(event: any) => { this.viewModel.onTextAreaFocus(event); }}\n onBlur={(event: any) => { this.viewModel.onTextAreaBlur(event); }}\n onKeyDown={(event: any) => { this.viewModel.onTextAreaKeyDown(event); }}\n aria-required={this.viewModel.ariaRequired}\n aria-label={this.viewModel.ariaLabel}\n aria-labelledby={this.viewModel.ariaLabelledBy}\n aria-describedby={this.viewModel.ariaDescribedBy}\n aria-invalid={this.viewModel.ariaInvalid}\n aria-errormessage={this.viewModel.ariaErrormessage}\n style={{ resize: this.viewModel.question.resizeStyle }}\n />\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-text-area\", (props) => {\n return React.createElement(TextAreaComponent, props);\n});","import * as React from \"react\";\nimport { ReactSurveyElement, SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\nimport { QuestionCommentModel, TextAreaModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { CharacterCounterComponent } from \"./components/character-counter\";\nimport { TextAreaComponent } from \"./components/text-area\";\n\nexport class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {\n private renderCharacterCounter() : JSX.Element | null {\n let counter: JSX.Element | null = null;\n if(!!this.question.getMaxLength()) {\n counter = <CharacterCounterComponent\n counter={this.question.characterCounter}\n remainingCharacterCounter={this.question.cssClasses.remainingCharacterCounter}>\n </CharacterCounterComponent>;\n }\n return counter;\n }\n constructor(props: any) {\n super(props);\n }\n protected renderElement(): JSX.Element {\n if (this.question.isReadOnlyRenderDiv()) {\n return <div>{this.question.value}</div>;\n }\n\n const counter = this.renderCharacterCounter();\n const textAreaModel: TextAreaModel = this.props.question.textAreaModel;\n return (\n <>\n <TextAreaComponent viewModel={textAreaModel}></TextAreaComponent>\n {counter}\n </>\n );\n }\n}\n\nexport class SurveyQuestionCommentItem extends ReactSurveyElement {\n private textAreaModel: TextAreaModel;\n\n constructor(props: any) {\n super(props);\n this.textAreaModel = this.getTextAreaModel();\n }\n\n protected canRender(): boolean {\n return !!this.props.question;\n }\n\n protected getTextAreaModel(): TextAreaModel {\n return this.props.question.commentTextAreaModel;\n }\n\n protected renderElement(): JSX.Element {\n const question = this.props.question;\n if (question.isReadOnlyRenderDiv()) {\n const comment = this.textAreaModel.getTextValue() || \"\";\n return <div>{comment}</div>;\n }\n\n return (\n <TextAreaComponent viewModel={this.textAreaModel}></TextAreaComponent>\n );\n }\n}\nexport class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {\n protected getTextAreaModel(): TextAreaModel {\n return this.props.question.otherTextAreaModel;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"comment\", (props) => {\n return React.createElement(SurveyQuestionComment, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\n\nexport class SurveyCustomWidget extends SurveyQuestionElementBase {\n private widgetRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.widgetRef = React.createRef();\n }\n private _afterRender() {\n if (this.questionBase.customWidget) {\n let el = this.widgetRef.current;\n if (!!el) {\n this.questionBase.customWidget.afterRender(this.questionBase, el);\n this.questionBase.customWidgetData.isNeedRender = false;\n }\n }\n }\n componentDidMount() {\n super.componentDidMount();\n if (this.questionBase) {\n this._afterRender();\n }\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n var isDefaultRender =\n !!this.questionBase.customWidget &&\n this.questionBase.customWidget.isDefaultRender;\n if (this.questionBase && !isDefaultRender) {\n this._afterRender();\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.questionBase.customWidget) {\n let el = this.widgetRef.current;\n if (!!el) {\n this.questionBase.customWidget.willUnmount(this.questionBase, el);\n }\n }\n }\n protected canRender(): boolean {\n return super.canRender() && this.questionBase.visible;\n }\n protected renderElement(): JSX.Element {\n let customWidget = this.questionBase.customWidget;\n\n if (customWidget.isDefaultRender) {\n return (\n <div ref={this.widgetRef}>\n {this.creator.createQuestionElement(this.questionBase)}\n </div>\n );\n }\n\n let widget = null;\n if (customWidget.widgetJson.render) {\n widget = customWidget.widgetJson.render(this.questionBase);\n } else {\n if (customWidget.htmlTemplate) {\n let htmlValue = { __html: customWidget.htmlTemplate };\n return <div ref={this.widgetRef} dangerouslySetInnerHTML={htmlValue} />;\n }\n }\n return <div ref={this.widgetRef}>{widget}</div>;\n }\n}\n","import React from \"react\";\nimport { Question, PanelModel, QuestionPanelDynamicModel } from \"survey-core\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { TitleElement } from \"./components/title/title-element\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\nexport class SurveyElementHeader extends React.Component<any, any> {\n private get element(): Question | PanelModel {\n return this.props.element;\n }\n public render(): JSX.Element {\n const element = this.element;\n const title = element.hasTitle ? (\n <TitleElement element={element}></TitleElement>\n ) : null;\n const description = element.hasDescriptionUnderTitle\n ? SurveyElementBase.renderQuestionDescription(this.element)\n : null;\n\n const additionalTitleToolbarElement = element.hasAdditionalTitleToolbar ? <SurveyActionBar model={element.additionalTitleToolbar}></SurveyActionBar> : null;\n\n const headerStyle: any = { width: undefined };\n if(element instanceof Question) {\n headerStyle.width = element.titleWidth;\n }\n\n return (\n <div className={element.cssHeader} onClick={(e) => element.clickTitleFunction && element.clickTitleFunction(e.nativeEvent)} style={headerStyle}>\n {title}\n {description}\n {additionalTitleToolbarElement}\n </div>\n );\n }\n}","import * as React from \"react\";\nimport {\n Base,\n SurveyElement,\n SurveyError,\n Question,\n QuestionMatrixDropdownRenderedCell,\n SurveyModel\n} from \"survey-core\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyElementBase, ReactSurveyElement } from \"./reactquestion_element\";\nimport { SurveyQuestionCommentItem } from \"./reactquestion_comment\";\nimport { SurveyCustomWidget } from \"./custom-widget\";\nimport { SurveyElementHeader } from \"./element-header\";\n\nexport interface ISurveyCreator {\n createQuestionElement(question: Question): JSX.Element | null;\n renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;\n questionTitleLocation(): string;\n questionErrorLocation(): string;\n}\n\nexport class SurveyQuestion extends SurveyElementBase<any, any> {\n private isNeedFocus = false;\n public static renderQuestionBody(\n creator: ISurveyCreator,\n question: Question\n ): JSX.Element | any {\n // if (!question.isVisible) return null;\n var customWidget = question.customWidget;\n if (!customWidget) {\n return creator.createQuestionElement(question);\n }\n return <SurveyCustomWidget creator={creator} question={question} />;\n }\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.question;\n }\n protected get question(): Question {\n return this.props.element;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n componentDidMount() {\n super.componentDidMount();\n if (!!this.question) {\n this.question[\"react\"] = this;\n }\n this.doAfterRender();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.question) {\n this.question[\"react\"] = null;\n }\n const el = this.rootRef.current;\n if (!!el) {\n el.removeAttribute(\"data-rendered\");\n }\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.doAfterRender();\n }\n private doAfterRender() {\n if (this.isNeedFocus) {\n if (!this.question.isCollapsed) {\n this.question.clickTitleFunction();\n }\n this.isNeedFocus = false;\n }\n if (this.question) {\n var el = this.rootRef.current;\n if (el && el.getAttribute(\"data-rendered\") !== \"r\") {\n el.setAttribute(\"data-rendered\", \"r\");\n el.setAttribute(\"data-name\", this.question.name);\n if (this.question.afterRender) {\n this.question.afterRender(el);\n }\n }\n }\n }\n protected canRender(): boolean {\n return (\n super.canRender() &&\n !!this.question &&\n !!this.creator\n );\n }\n\n protected renderQuestionContent(): JSX.Element {\n let question = this.question;\n var contentStyle = {\n display: this.question.renderedIsExpanded ? \"\" : \"none\",\n };\n var cssClasses = question.cssClasses;\n var questionRender = this.renderQuestion();\n var errorsTop = this.question.showErrorOnTop\n ? this.renderErrors(cssClasses, \"top\")\n : null;\n var errorsBottom = this.question.showErrorOnBottom\n ? this.renderErrors(cssClasses, \"bottom\")\n : null;\n var comment =\n question && question.hasComment ? this.renderComment(cssClasses) : null;\n var descriptionUnderInput = question.hasDescriptionUnderInput\n ? this.renderDescription()\n : null;\n return (\n <div\n className={question.cssContent || undefined}\n style={contentStyle}\n role=\"presentation\"\n >\n {errorsTop}\n {questionRender}\n {comment}\n {errorsBottom}\n {descriptionUnderInput}\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n var question = this.question;\n var cssClasses = question.cssClasses;\n var header = this.renderHeader(question);\n var headerTop = question.hasTitleOnLeftTop ? header : null;\n var headerBottom = question.hasTitleOnBottom ? header : null;\n\n const errorsAboveQuestion = this.question.showErrorsAboveQuestion\n ? this.renderErrors(cssClasses, \"\")\n : null;\n\n const errorsBelowQuestion = this.question.showErrorsBelowQuestion\n ? this.renderErrors(cssClasses, \"\")\n : null;\n\n let rootStyle = question.getRootStyle();\n let questionContent = this.wrapQuestionContent(this.renderQuestionContent());\n\n return (\n <>\n <div\n ref={this.rootRef}\n id={question.id}\n className={question.getRootCss()}\n style={rootStyle}\n role={question.ariaRole}\n aria-required={this.question.ariaRequired}\n aria-invalid={this.question.ariaInvalid}\n aria-labelledby={question.ariaLabelledBy}\n aria-describedby={question.ariaDescribedBy}\n aria-expanded={question.ariaExpanded}\n >\n {errorsAboveQuestion}\n {headerTop}\n {questionContent}\n {headerBottom}\n {errorsBelowQuestion}\n </div>\n </>\n );\n }\n protected wrapElement(element: JSX.Element): JSX.Element {\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapElement(survey, element, this.question);\n }\n return wrapper ?? element;\n }\n protected wrapQuestionContent(element: JSX.Element): JSX.Element {\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapQuestionContent(survey, element, this.question);\n }\n return wrapper ?? element;\n }\n protected renderQuestion(): JSX.Element {\n return SurveyQuestion.renderQuestionBody(this.creator, this.question);\n }\n protected renderDescription(): JSX.Element {\n return SurveyElementBase.renderQuestionDescription(this.question);\n }\n protected renderComment(cssClasses: any): JSX.Element {\n const commentText = SurveyElementBase.renderLocString(\n this.question.locCommentText\n );\n return (\n <div className={this.question.getCommentAreaCss()}>\n <div>{commentText}</div>\n <SurveyQuestionCommentItem\n question={this.question}\n cssClasses={cssClasses}\n otherCss={cssClasses.other}\n isDisplayMode={this.question.isInputReadOnly}\n />\n </div>\n );\n }\n protected renderHeader(question: Question): JSX.Element {\n return <SurveyElementHeader element={question}></SurveyElementHeader>;\n }\n protected renderErrors(cssClasses: any, location: string): JSX.Element {\n return (\n <SurveyElementErrors\n element={this.question}\n cssClasses={cssClasses}\n creator={this.creator}\n location={location}\n id={this.question.id + \"_errors\"}\n />\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"question\", (props) => {\n return React.createElement(SurveyQuestion, props);\n});\n\nexport class SurveyElementErrors extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.state = this.getState();\n }\n protected get id(): string {\n return this.props.element.id + \"_errors\";\n }\n protected get element(): SurveyElement {\n return this.props.element;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get location(): string {\n return this.props.location;\n }\n private getState(prevState: any = null) {\n return !prevState ? { error: 0 } : { error: prevState.error + 1 };\n }\n protected canRender(): boolean {\n return !!this.element && this.element.hasVisibleErrors;\n }\n componentWillUnmount() {\n }\n protected renderElement(): JSX.Element {\n const errors: Array<JSX.Element> = [];\n for (let i = 0; i < this.element.errors.length; i++) {\n const key: string = \"error\" + i;\n errors.push(\n this.creator.renderError(key, this.element.errors[i], this.cssClasses, this.element)\n );\n }\n\n return (\n <div\n role=\"alert\"\n aria-live=\"polite\"\n className={this.element.cssError}\n id={this.id}\n >\n {errors}\n </div>\n );\n }\n}\n\nexport abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {\n [index: string]: any;\n constructor(props: any) {\n super(props);\n }\n protected getStateElement(): Base {\n return this.question;\n }\n protected get question(): Question {\n return this.getQuestion();\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected getQuestion(): Question {\n return this.props.question;\n }\n protected get itemCss(): string {\n return this.props.itemCss;\n }\n componentDidMount() {\n super.componentDidMount();\n this.doAfterRender();\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.doAfterRender();\n }\n protected doAfterRender() { }\n protected canRender(): boolean {\n return !!this.question;\n }\n protected renderContent(): JSX.Element {\n var renderedQuestion = this.renderQuestion();\n return (\n <>\n {renderedQuestion}\n </>\n );\n }\n protected abstract renderElement(): JSX.Element;\n protected getShowErrors(): boolean {\n return this.question.isVisible;\n }\n protected renderQuestion(): JSX.Element {\n return SurveyQuestion.renderQuestionBody(this.creator, this.question);\n }\n}\n\nexport class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {\n [index: string]: any;\n protected cellRef: React.RefObject<HTMLTableCellElement>;\n constructor(props: any) {\n super(props);\n this.cellRef = React.createRef();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.question) {\n var el = this.cellRef.current;\n if (!!el) {\n el.removeAttribute(\"data-rendered\");\n }\n }\n }\n protected renderCellContent(): JSX.Element {\n return (\n <div className={this.props.cell.cellQuestionWrapperClassName}>\n {this.renderQuestion()}\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n var style = this.getCellStyle();\n const cell = this.props.cell;\n const focusIn = () => { cell.focusIn(); };\n return (\n <td\n ref={this.cellRef}\n className={this.itemCss}\n colSpan={cell.colSpans}\n title={cell.getTitle()}\n style={style}\n onFocus={focusIn}\n >\n {this.wrapCell(this.props.cell, this.renderCellContent())}\n </td>\n );\n }\n protected getCellStyle(): any {\n return null;\n }\n protected getHeaderText(): string {\n return \"\";\n }\n protected wrapCell(\n cell: QuestionMatrixDropdownRenderedCell,\n element: JSX.Element\n ): JSX.Element {\n if (!cell) {\n return element;\n }\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapMatrixCell(survey, element, cell, this.props.reason);\n }\n return wrapper ?? element;\n }\n}\n\nexport class SurveyQuestionErrorCell extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n this.state = {\n changed: 0\n };\n if(this.question) {\n this.registerCallback(this.question);\n }\n }\n private get question(): Question {\n return this.props.question;\n }\n private update() {\n this.setState({ changed: this.state.changed + 1 });\n }\n protected getQuestionPropertiesToTrack(): string[] {\n return [\"errors\"];\n }\n private registerCallback(question: Question) {\n question.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(), () => {\n this.update();\n }, \"__reactSubscription\");\n }\n private unRegisterCallback(question: Question) {\n question.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(), \"__reactSubscription\");\n }\n componentDidUpdate(prevProps: Readonly<any>): void {\n if(prevProps.question && prevProps.question !== this.question) {\n this.unRegisterCallback(prevProps.cell);\n }\n if(this.question) {\n this.registerCallback(this.question);\n }\n }\n componentWillUnmount(): void {\n if(this.question) {\n this.unRegisterCallback(this.question);\n }\n }\n render(): JSX.Element {\n return <SurveyElementErrors element={this.question} creator={this.props.creator} cssClasses={this.question.cssClasses}></SurveyElementErrors>;\n }\n}\n","import * as React from \"react\";\nimport { PageModel, PanelModelBase } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyPanelBase } from \"./panel-base\";\nimport { TitleElement } from \"./components/title/title-element\";\nimport { SurveyElementErrors } from \"./reactquestion\";\n\nexport class SurveyPage extends SurveyPanelBase {\n constructor(props: any) {\n super(props);\n }\n protected getPanelBase(): PanelModelBase {\n return this.props.page;\n }\n public get page(): PageModel {\n return this.panelBase as PageModel;\n }\n\n // shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n // if(!super.shouldComponentUpdate(nextProps, nextState)) return false;\n // return true;\n // }\n\n protected renderElement(): JSX.Element {\n var title = this.renderTitle();\n var description = this.renderDescription();\n var rows = this.renderRows(this.panelBase.cssClasses);\n const errors = (\n <SurveyElementErrors\n element={this.panelBase}\n cssClasses={this.panelBase.cssClasses}\n creator={this.creator}\n />\n );\n return (\n <div ref={this.rootRef} className={this.page.cssRoot}>\n {title}\n {description}\n {errors}\n {rows}\n </div >\n );\n }\n protected renderTitle(): JSX.Element {\n return <TitleElement element={this.page}></TitleElement>;\n }\n protected renderDescription(): JSX.Element | null {\n if (!this.page._showDescription) return null;\n var text = SurveyElementBase.renderLocString(this.page.locDescription);\n return (\n <div className={this.panelBase.cssClasses.page.description}>{text}</div>\n );\n }\n}\n","import React from \"react\";\nimport { SurveyModel } from \"survey-core\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { TitleElement } from \"../title/title-element\";\n\ninterface ISurveyHeaderProps {\n survey: SurveyModel;\n}\n\nexport class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {\n constructor(props: ISurveyHeaderProps) {\n super(props);\n this.state = { changed: 0 };\n this.rootRef = React.createRef();\n }\n\n private get survey(): SurveyModel {\n return this.props.survey;\n }\n private get css(): any {\n return this.survey.css;\n }\n private rootRef: React.RefObject<HTMLDivElement>;\n\n componentDidMount() {\n const self: SurveyHeader = this;\n this.survey.afterRenderHeader(this.rootRef.current as HTMLDivElement);\n this.survey.locLogo.onChanged = function () {\n self.setState({ changed: self.state.changed + 1 });\n };\n }\n componentWillUnmount() {\n this.survey.locLogo.onChanged = function () { };\n }\n\n private renderTitle(): JSX.Element | null {\n if (!this.survey.renderedHasTitle) return null;\n const description = SurveyElementBase.renderLocString(\n this.survey.locDescription\n );\n return (\n <div\n className={this.css.headerText}\n style={{ maxWidth: this.survey.titleMaxWidth }}\n >\n <TitleElement element={this.survey}></TitleElement>\n {this.survey.renderedHasDescription ? <div className={this.css.description}>{description}</div> : null}\n </div>\n );\n }\n\n private renderLogoImage(isRender: boolean): JSX.Element | null {\n if (!isRender) return null;\n const componentName: string = this.survey.getElementWrapperComponentName(\n this.survey,\n \"logo-image\"\n );\n const componentData: any = this.survey.getElementWrapperComponentData(\n this.survey,\n \"logo-image\"\n );\n return ReactElementFactory.Instance.createElement(componentName, {\n data: componentData,\n });\n }\n public render(): JSX.Element | null {\n if (!this.survey.renderedHasHeader) return null;\n return (\n <div className={this.css.header} ref={this.rootRef}>\n {this.renderLogoImage(this.survey.isLogoBefore)}\n {this.renderTitle()}\n {this.renderLogoImage(this.survey.isLogoAfter)}\n <div className={this.css.headerClose}></div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"survey-header\",\n (props: ISurveyHeaderProps) => {\n return React.createElement(SurveyHeader, props);\n }\n);\n","import React from \"react\";\n\nexport class BrandInfo extends React.Component<any, any> {\n render() {\n return (\n <div className=\"sv-brand-info\">\n <a className=\"sv-brand-info__logo\" href=\"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page\"><img src=\"https://surveyjs.io/Content/Images/poweredby.svg\"/></a>\n <div className=\"sv-brand-info__text\">Try and see how easy it is to <a href=\"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey\">create a survey</a></div>\n <div className=\"sv-brand-info__terms\"><a href=\"https://surveyjs.io/TermsOfUse\">Terms of Use & Privacy Statement</a></div>\n </div>\n );\n }\n}\n","import React from \"react\";\nimport { Base, Notifier } from \"survey-core\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyActionBar } from \"./action-bar/action-bar\";\n\nexport interface INotifierComponentProps {\n notifier: Notifier;\n}\n\nexport class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {\n get notifier(): Notifier {\n return this.props.notifier;\n }\n protected getStateElement(): Base {\n return this.notifier;\n }\n\n renderElement(): JSX.Element | null {\n if(!this.notifier.isDisplayed) return null;\n\n const style = { visibility: this.notifier.active ? \"visible\" : \"hidden\" } as React.CSSProperties;\n\n return (\n <div className={this.notifier.css} style={style} role=\"alert\" aria-live=\"polite\">\n <span>{this.notifier.message}</span>\n <SurveyActionBar model={this.notifier.actionBar}></SurveyActionBar>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-notifier\", (props) => {\n return React.createElement(NotifierComponent, props);\n});","import React from \"react\";\nimport { ISurveyLayoutElement } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\n\nexport class ComponentsContainer extends React.Component<any, any> {\n render(): JSX.Element | null {\n const components: Array<ISurveyLayoutElement> = this.props.survey.getContainerContent(this.props.container);\n const needRenderWrapper = this.props.needRenderWrapper === false ? false : true;\n if(components.length == 0) {\n return null;\n }\n if(!needRenderWrapper) {\n return <>\n {components.map(component => {\n return ReactElementFactory.Instance.createElement(component.component as string, { survey: this.props.survey, model: component.data, container: this.props.container, key: component.id });\n })}\n </>;\n }\n return <div className={\"sv-components-column\" + \" sv-components-container-\" + this.props.container}>\n {components.map(component => {\n return ReactElementFactory.Instance.createElement(component.component as string, { survey: this.props.survey, model: component.data, container: this.props.container, key: component.id });\n })}\n </div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-components-container\", (props: any) => {\n return React.createElement(ComponentsContainer, props);\n});\n","\nimport React from \"react\";\nimport { SvgRegistry } from \"survey-core\";\n\nexport class SvgBundleComponent extends React.Component {\n private containerRef: React.RefObject<SVGSVGElement>;\n\n constructor(props: any) {\n super(props);\n this.containerRef = React.createRef();\n }\n componentDidMount() {\n if (!!this.containerRef.current) {\n this.containerRef.current.innerHTML = SvgRegistry.iconsRenderedHtml();\n }\n }\n render() {\n const svgStyle = {\n display: \"none\"\n };\n return <svg style={svgStyle} id=\"sv-icon-holder-global-container\" ref={this.containerRef}></svg>;\n }\n}","import * as React from \"react\";\nimport { Base, Question, PageModel, SurveyError, StylesManager, surveyCss, Helpers, doKey2ClickUp, SvgRegistry, SurveyModel, doKey2ClickBlur, doKey2ClickDown, IAttachKey2clickOptions } from \"survey-core\";\nimport { SurveyPage } from \"./page\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyLocStringViewer } from \"./string-viewer\";\nimport { SurveyHeader } from \"./components/survey-header/survey-header\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { BrandInfo } from \"./components/brand-info\";\nimport { NotifierComponent } from \"./components/notifier\";\nimport { ComponentsContainer } from \"./components/components-container\";\nimport { SvgBundleComponent } from \"./svgbundle\";\n\nexport class Survey extends SurveyElementBase<any, any>\n implements ISurveyCreator {\n private previousJSON = {};\n private rootRef: React.RefObject<HTMLDivElement>;\n public static get cssType(): string {\n return surveyCss.currentType;\n }\n public static set cssType(value: string) {\n StylesManager.applyTheme(value);\n }\n protected survey: SurveyModel;\n\n private rootNodeId: string; // root dom node ID attr\n private rootNodeClassName: string; // root dom node class\n\n constructor(props: any) {\n super(props);\n this.createSurvey(props);\n this.updateSurvey(props, {});\n this.rootRef = React.createRef();\n this.rootNodeId = props.id || null;\n this.rootNodeClassName = props.className || \"\";\n }\n protected getStateElement(): Base {\n return this.survey;\n }\n private isSurveyUpdated = false;\n private onSurveyUpdated() {\n if (!!this.survey) {\n const el = this.rootRef.current;\n if (!!el) this.survey.afterRenderSurvey(el);\n this.survey.startTimerFromUI();\n this.setSurveyEvents();\n }\n }\n shouldComponentUpdate(nextProps: any, nextState: any) {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (this.isModelJSONChanged(nextProps)) {\n this.destroySurvey();\n this.createSurvey(nextProps);\n this.updateSurvey(nextProps, {});\n this.isSurveyUpdated = true;\n }\n return true;\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateSurvey(this.props, prevProps);\n if(this.isSurveyUpdated) {\n this.onSurveyUpdated();\n this.isSurveyUpdated = false;\n }\n }\n componentDidMount() {\n super.componentDidMount();\n this.onSurveyUpdated();\n }\n destroySurvey() {\n if (this.survey) {\n this.survey.renderCallback = undefined as any;\n this.survey.onPartialSend.clear();\n this.survey.stopTimer();\n this.survey.destroyResizeObserver();\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.destroySurvey();\n }\n doRender(): JSX.Element {\n let renderResult: JSX.Element | null;\n if (this.survey.state == \"completed\") {\n renderResult = this.renderCompleted();\n } else if (this.survey.state == \"completedbefore\") {\n renderResult = this.renderCompletedBefore();\n } else if (this.survey.state == \"loading\") {\n renderResult = this.renderLoading();\n } else if (this.survey.state == \"empty\") {\n renderResult = this.renderEmptySurvey();\n } else {\n renderResult = this.renderSurvey();\n }\n const backgroundImage = !!this.survey.backgroundImage ? <div className={this.css.rootBackgroundImage} style={this.survey.backgroundImageStyle}></div> : null;\n const header: JSX.Element | null = this.survey.headerView === \"basic\" ? <SurveyHeader survey={this.survey}></SurveyHeader> : null;\n\n const onSubmit = function (event: React.FormEvent<HTMLFormElement>) {\n event.preventDefault();\n };\n let customHeader: JSX.Element | null = <div className=\"sv_custom_header\" />;\n if (this.survey.hasLogo) {\n customHeader = null;\n }\n const rootCss = this.survey.getRootCss();\n const cssClasses = this.rootNodeClassName ? this.rootNodeClassName + \" \" + rootCss : rootCss;\n\n return (\n <div id={this.rootNodeId} ref={this.rootRef} className={cssClasses} style={this.survey.themeVariables} lang={this.survey.locale || \"en\"} dir={this.survey.localeDir}>\n {this.survey.needRenderIcons ? <SvgBundleComponent></SvgBundleComponent> : null }\n <div className={this.survey.wrapperFormCss}>\n {backgroundImage}\n <form onSubmit={onSubmit}>\n {customHeader}\n <div className={this.css.container}>\n {header}\n <ComponentsContainer survey={this.survey} container={\"header\"} needRenderWrapper={false}></ComponentsContainer>\n {renderResult}\n <ComponentsContainer survey={this.survey} container={\"footer\"} needRenderWrapper={false}></ComponentsContainer>\n </div>\n </form>\n <NotifierComponent notifier={this.survey.notifier} ></NotifierComponent>\n </div>\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n return this.doRender();\n }\n public get css(): any {\n return this.survey.css;\n }\n public set css(value: any) {\n this.survey.css = value;\n }\n protected renderCompleted(): JSX.Element | null {\n if (!this.survey.showCompletedPage) return null;\n\n var htmlValue = { __html: this.survey.processedCompletedHtml };\n return (\n <React.Fragment>\n <div\n dangerouslySetInnerHTML={htmlValue}\n className={this.survey.completedCss}\n />\n <ComponentsContainer survey={this.survey} container={\"completePage\"} needRenderWrapper={false}></ComponentsContainer>\n </React.Fragment>\n );\n }\n protected renderCompletedBefore(): JSX.Element {\n var htmlValue = { __html: this.survey.processedCompletedBeforeHtml };\n return (\n <div dangerouslySetInnerHTML={htmlValue} className={this.survey.completedBeforeCss} />\n );\n }\n protected renderLoading(): JSX.Element {\n var htmlValue = { __html: this.survey.processedLoadingHtml };\n return (\n <div dangerouslySetInnerHTML={htmlValue} className={this.survey.loadingBodyCss} />\n );\n }\n protected renderSurvey(): JSX.Element {\n var activePage = this.survey.activePage\n ? this.renderPage(this.survey.activePage)\n : null;\n const isStaring = this.survey.isShowStartingPage;\n var pageId = this.survey.activePage ? this.survey.activePage.id : \"\";\n\n let className = this.survey.bodyCss;\n const style: any = {};\n if(!!this.survey.renderedWidth) {\n style.maxWidth = this.survey.renderedWidth;\n }\n return (\n <div className={this.survey.bodyContainerCss}>\n <ComponentsContainer survey={this.survey} container={\"left\"}></ComponentsContainer>\n <div className=\"sv-components-column sv-components-column--expandable\">\n <ComponentsContainer survey={this.survey} container={\"center\"}></ComponentsContainer>\n <div\n id={pageId}\n className={className}\n style={style}\n >\n <ComponentsContainer survey={this.survey} container={\"contentTop\"}></ComponentsContainer>\n {activePage}\n <ComponentsContainer survey={this.survey} container={\"contentBottom\"}></ComponentsContainer>\n { this.survey.showBrandInfo ? <BrandInfo/> : null }\n </div>\n </div>\n <ComponentsContainer survey={this.survey} container={\"right\"}></ComponentsContainer>\n </div>\n );\n }\n protected renderPage(page: PageModel): JSX.Element {\n return (\n <SurveyPage\n survey={this.survey}\n page={page}\n css={this.css}\n creator={this}\n />\n );\n }\n protected renderEmptySurvey(): JSX.Element {\n return <div className={this.css.bodyEmpty}>{this.survey.emptySurveyText}</div>;\n }\n protected createSurvey(newProps: any) {\n if (!newProps) newProps = {};\n this.previousJSON = {};\n if (newProps) {\n if (newProps.model) {\n this.survey = newProps.model;\n } else {\n if (newProps.json) {\n this.previousJSON = newProps.json;\n this.survey = new SurveyModel(newProps.json);\n }\n }\n } else {\n this.survey = new SurveyModel();\n }\n if (!!newProps.css) {\n this.survey.css = this.css;\n }\n }\n private isModelJSONChanged(newProps: any): boolean {\n if (!!newProps[\"model\"]) {\n return this.survey !== newProps[\"model\"];\n }\n if (!!newProps[\"json\"]) {\n return !Helpers.isTwoValueEquals(newProps[\"json\"], this.previousJSON);\n }\n return false;\n }\n protected updateSurvey(newProps: any, oldProps?: any) {\n if (!newProps) return;\n oldProps = oldProps || {};\n for (var key in newProps) {\n if (key == \"model\" || key == \"children\" || key == \"json\") {\n continue;\n }\n if (key == \"css\") {\n this.survey.mergeValues(newProps.css, this.survey.getCss());\n this.survey[\"updateNavigationCss\"]();\n this.survey[\"updateElementCss\"]();\n continue;\n }\n if (newProps[key] === oldProps[key]) continue;\n if (key.indexOf(\"on\") == 0 && this.survey[key] && this.survey[key].add) {\n if (!!oldProps[key]) {\n this.survey[key].remove(oldProps[key]);\n }\n this.survey[key].add(newProps[key]);\n } else {\n this.survey[key] = newProps[key];\n }\n }\n }\n protected setSurveyEvents() {\n var self = this;\n\n this.survey.renderCallback = function () {\n var counter =\n !!self.state && !!self.state.modelChanged ? self.state.modelChanged : 0;\n self.setState({ modelChanged: counter + 1 });\n };\n this.survey.onPartialSend.add((sender) => {\n if (!!self.state) {\n self.setState(self.state);\n }\n });\n }\n\n //ISurveyCreator\n public createQuestionElement(question: Question): JSX.Element | null {\n return ReactQuestionFactory.Instance.createQuestion(question.isDefaultRendering() ? question.getTemplate() : question.getComponentName(),\n {\n question: question,\n isDisplayMode: question.isInputReadOnly,\n creator: this,\n }\n );\n }\n public renderError(\n key: string,\n error: SurveyError,\n cssClasses: any,\n element?: any\n ): JSX.Element {\n return ReactElementFactory.Instance.createElement(this.survey.questionErrorComponent, { key: key, error, cssClasses, element });\n }\n public questionTitleLocation(): string {\n return this.survey.questionTitleLocation;\n }\n public questionErrorLocation(): string {\n return this.survey.questionErrorLocation;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey\", (props) => {\n return React.createElement(Survey, props);\n});\n\nexport function attachKey2click(element: JSX.Element, viewModel?: any, options: IAttachKey2clickOptions = { processEsc: true, disableTabStop: false }): JSX.Element {\n if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {\n return React.cloneElement(element, { tabIndex: -1 });\n }\n options = { ...options };\n return React.cloneElement(\n element,\n {\n tabIndex: 0,\n onKeyUp: (evt: KeyboardEvent) => {\n evt.preventDefault();\n evt.stopPropagation();\n doKey2ClickUp(evt, options);\n return false;\n },\n onKeyDown: (evt: any) => doKey2ClickDown(evt, options),\n onBlur: (evt: any) => doKey2ClickBlur(evt),\n }\n );\n}","import * as React from \"react\";\nimport { SurveyModel } from \"survey-core\";\n\nexport class SurveyNavigationBase extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n this.state = { update: 0 };\n }\n protected get survey(): SurveyModel {\n return this.props.survey;\n }\n protected get css(): any {\n return this.props.css || this.survey.css;\n }\n private updateStateFunction: any = null;\n componentDidMount() {\n if (this.survey) {\n var self = this;\n this.updateStateFunction = function () {\n self.setState({ update: self.state.update + 1 });\n };\n this.survey.onPageVisibleChanged.add(this.updateStateFunction);\n }\n }\n componentWillUnmount() {\n if (this.survey && this.updateStateFunction) {\n this.survey.onPageVisibleChanged.remove(this.updateStateFunction);\n this.updateStateFunction = null;\n }\n }\n}\n","import * as React from \"react\";\nimport { Base, SurveyTimerModel } from \"survey-core\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\n\nexport class SurveyTimerPanel extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected getStateElement(): Base {\n return this.timerModel;\n }\n protected get timerModel(): SurveyTimerModel {\n return this.props.model;\n }\n private readonly circleLength = 440;\n private get progress(): number {\n return -this.timerModel.progress * this.circleLength;\n }\n render(): JSX.Element | null {\n if(!this.timerModel.isRunning) {\n return null;\n }\n let result = <div className={this.timerModel.survey.getCss().timerRoot}>{this.timerModel.text}</div>;\n if(this.timerModel.showTimerAsClock) {\n let style = { strokeDasharray: this.circleLength, strokeDashoffset: this.progress };\n const progress = (this.timerModel.showProgress ? <SvgIcon className={this.timerModel.getProgressCss()} style={style} iconName={\"icon-timercircle\"} size={\"auto\"}></SvgIcon>: null);\n result =\n (<div className={this.timerModel.rootCss}>\n {progress}\n <div className={this.timerModel.textContainerCss}>\n <span className={this.timerModel.majorTextCss}>{this.timerModel.clockMajorText }</span>\n {(this.timerModel.clockMinorText ? <span className={this.timerModel.minorTextCss}>{this.timerModel.clockMinorText }</span> : null)}\n </div>\n </div>);\n }\n return result;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-timerpanel\", (props) => {\n return React.createElement(SurveyTimerPanel, props);\n});","import * as React from \"react\";\nimport { SurveyElementErrors } from \"./reactquestion\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nimport { SurveyPanelBase } from \"./panel-base\";\nimport { PanelModel, doKey2ClickUp, SurveyModel } from \"survey-core\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { TitleElement } from \"./components/title/title-element\";\nimport { SurveyElementHeader } from \"./element-header\";\n\nexport class SurveyPanel extends SurveyPanelBase {\n private hasBeenExpanded: boolean = false;\n constructor(props: any) {\n super(props);\n }\n public get panel(): PanelModel {\n return this.panelBase as PanelModel;\n }\n protected renderElement(): JSX.Element {\n const header = this.renderHeader();\n const errors = (\n <SurveyElementErrors\n element={this.panelBase}\n cssClasses={this.panelBase.cssClasses}\n creator={this.creator}\n />\n );\n const style = {\n paddingLeft: this.panel.innerPaddingLeft,\n display: this.panel.renderedIsExpanded ? undefined : \"none\",\n };\n let content: JSX.Element | null = null;\n if (this.panel.renderedIsExpanded) {\n // this.hasBeenExpanded = true;\n const rows: JSX.Element[] = this.renderRows(this.panelBase.cssClasses);\n const className: string = this.panelBase.cssClasses.panel.content;\n content = this.renderContent(style, rows, className);\n }\n const focusIn = () => {\n if(this.panelBase) (this.panelBase as PanelModel).focusIn();\n };\n return (\n <div\n ref={this.rootRef}\n className={(this.panelBase as PanelModel).getContainerCss()}\n onFocus={focusIn}\n id={this.panelBase.id}\n\n >\n {this.panel.showErrorsAbovePanel ? errors : null}\n {header}\n {this.panel.showErrorsAbovePanel ? null : errors}\n {content}\n </div>\n );\n }\n protected renderHeader() {\n if (!this.panel.hasTitle && !this.panel.hasDescription) {\n return null;\n }\n return <SurveyElementHeader element={this.panel}></SurveyElementHeader>;\n }\n protected wrapElement(element: JSX.Element): JSX.Element {\n const survey: SurveyModel = this.panel.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapElement(survey, element, this.panel);\n }\n return wrapper ?? element;\n }\n protected renderContent(style: any, rows: JSX.Element[], className: string): JSX.Element {\n const bottom: JSX.Element | null = this.renderBottom();\n return (\n <div style={style} className={className} id={this.panel.contentId}>\n {rows}\n {bottom}\n </div>\n );\n }\n protected renderTitle(): JSX.Element | null {\n if (!this.panelBase.title) return null;\n return <TitleElement element={this.panelBase}></TitleElement>;\n }\n protected renderDescription(): JSX.Element | null {\n if (!this.panelBase.description) return null;\n var text = SurveyElementBase.renderLocString(this.panelBase.locDescription);\n return (\n <div className={this.panel.cssClasses.panel.description}>{text}</div>\n );\n }\n protected renderBottom(): JSX.Element | null {\n const footerToolbar = this.panel.getFooterToolbar();\n if (!footerToolbar.hasActions) return null;\n return <SurveyActionBar model={footerToolbar}></SurveyActionBar>;\n }\n protected getIsVisible(): boolean {\n return this.panelBase.getIsContentVisible();\n }\n\n}\n\nReactElementFactory.Instance.registerElement(\"panel\", (props) => {\n return React.createElement(SurveyPanel, props);\n});\n","import * as React from \"react\";\nimport { FlowPanelModel, Question } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyPanel } from \"./panel\";\nimport { SurveyQuestion } from \"./reactquestion\";\n\nexport class SurveyFlowPanel extends SurveyPanel {\n constructor(props: any) {\n super(props);\n }\n public get flowPanel(): FlowPanelModel {\n return this.panel as FlowPanelModel;\n }\n componentDidMount() {\n super.componentDidMount();\n if (!!this.flowPanel) {\n this.flowPanel.onCustomHtmlProducing = function() {\n return \"\";\n };\n this.flowPanel.onGetHtmlForQuestion = this.renderQuestion;\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.flowPanel) {\n this.flowPanel.onCustomHtmlProducing = null as any;\n this.flowPanel.onGetHtmlForQuestion = null as any;\n }\n }\n protected getQuestion(name: string): Question {\n return this.flowPanel.getQuestionByName(name);\n }\n protected renderQuestion(question: Question): string {\n return \"<question>\" + question.name + \"</question>\";\n }\n protected renderRows(): Array<JSX.Element> {\n const result = this.renderHtml();\n if(!!result) {\n return [result];\n } else {\n return [];\n }\n }\n private renderedIndex: number;\n private getNodeIndex(): number {\n return this.renderedIndex++;\n }\n protected renderHtml(): JSX.Element | null {\n if (!this.flowPanel) return null;\n const html = \"<span>\" + this.flowPanel.produceHtml() + \"</span>\";\n if (!DOMParser) {\n const htmlValue = { __html: html };\n return <div dangerouslySetInnerHTML={htmlValue} />;\n }\n const doc = new DOMParser().parseFromString(html, \"text/xml\");\n this.renderedIndex = 0;\n return this.renderParentNode(doc);\n }\n protected renderNodes(domNodes: Array<Node>): Array<JSX.Element> {\n const nodes: Array<JSX.Element> = [];\n for (let i = 0; i < domNodes.length; i++) {\n const node = this.renderNode(domNodes[i]);\n if(!!node) {\n nodes.push(node);\n }\n }\n return nodes;\n }\n private getStyle(nodeType: string) {\n const style: any = {};\n if (nodeType.toLowerCase() === \"b\") {\n style.fontWeight = \"bold\";\n }\n if (nodeType.toLowerCase() === \"i\") {\n style.fontStyle = \"italic\";\n }\n if (nodeType.toLowerCase() === \"u\") {\n style.textDecoration = \"underline\";\n }\n return style;\n }\n protected renderParentNode(node: Node): JSX.Element {\n const nodeType = node.nodeName.toLowerCase();\n const children = this.renderNodes(this.getChildDomNodes(node));\n if (nodeType === \"div\")\n return <div key={this.getNodeIndex()}>{children}</div>;\n return (\n <span key={this.getNodeIndex()} style={this.getStyle(nodeType)}>\n {children}\n </span>\n );\n }\n protected renderNode(node: Node): JSX.Element | null {\n if (!this.hasTextChildNodesOnly(node)) {\n return this.renderParentNode(node);\n }\n const nodeType = node.nodeName.toLowerCase();\n if (nodeType === \"question\") {\n const question = this.flowPanel.getQuestionByName(node.textContent as any);\n if (!question) return null;\n const questionBody = (\n <SurveyQuestion\n key={question.name}\n element={question}\n creator={this.creator}\n css={this.css}\n />\n );\n return <span key={this.getNodeIndex()}>{questionBody}</span>;\n }\n if (nodeType === \"div\") {\n return <div key={this.getNodeIndex()}>{node.textContent}</div>;\n }\n return (\n <span key={this.getNodeIndex()} style={this.getStyle(nodeType)}>\n {node.textContent}\n </span>\n );\n }\n private getChildDomNodes(node: Node): Array<Node> {\n const domNodes: Array<Node> = [];\n for (let i = 0; i < node.childNodes.length; i++) {\n domNodes.push(node.childNodes[i]);\n }\n return domNodes;\n }\n private hasTextChildNodesOnly(node: Node): boolean {\n const nodes = node.childNodes;\n for (let i = 0; i < nodes.length; i++) {\n if (nodes[i].nodeName.toLowerCase() !== \"#text\") return false;\n }\n return true;\n }\n protected renderContent(style: any, rows: JSX.Element[]): JSX.Element {\n return React.createElement(\"f-panel\", { style: style }, rows);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"flowpanel\", props => {\n return React.createElement(SurveyFlowPanel, props);\n});\n","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { Base, ItemValue, SurveyModel, QuestionCheckboxModel } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionCheckbox extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionCheckboxModel {\n return this.questionBase as QuestionCheckboxModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n return (\n <fieldset\n className={this.question.getSelectBaseRootCss()}\n ref={(fieldset) => (this.setControl(fieldset))}\n role={this.question.a11y_input_ariaRole}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n >\n <legend className={\"sv-hidden\"}>{this.question.locTitle.renderedHtml}</legend>\n {this.getHeader()}\n {this.question.hasColumns\n ? this.getColumnedBody(cssClasses)\n : this.getBody(cssClasses)}\n {this.getFooter()}\n {this.question.isOtherSelected ? this.renderOther() : null}\n </fieldset>\n );\n }\n\n protected getHeader() {\n if (this.question.hasHeadItems) {\n return this.question.headItems.map((item: any, ii: number) =>\n this.renderItem(\n item,\n false,\n this.question.cssClasses\n )\n );\n }\n }\n protected getFooter() {\n if (this.question.hasFootItems) {\n return this.question.footItems.map((item: any, ii: number) =>\n this.renderItem(\n item,\n false,\n this.question.cssClasses\n )\n );\n }\n }\n protected getColumnedBody(cssClasses: any) {\n return (\n <div className={cssClasses.rootMultiColumn}>\n {this.getColumns(cssClasses)}\n </div>\n );\n }\n protected getColumns(cssClasses: any) {\n return this.question.columns.map((column: Array<ItemValue>, ci: number) => {\n var items = column.map((item: any, ii: number) =>\n this.renderItem(\n item,\n ci === 0 && ii === 0,\n cssClasses,\n \"\" + ci + ii\n )\n );\n return (\n <div key={\"column\" + ci + this.question.getItemsColumnKey(column)} className={this.question.getColumnClass()} role=\"presentation\">\n {items}\n </div>\n );\n });\n }\n\n protected getBody(cssClasses: any): JSX.Element {\n if (this.question.blockedRow) {\n return <div className={cssClasses.rootRow}>{this.getItems(cssClasses, this.question.dataChoices)}</div>;\n }\n else return <>{this.getItems(cssClasses, this.question.bodyItems)}</>;\n }\n protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any> {\n var renderedItems:Array<JSX.Element> = [];\n for (var i = 0; i < choices.length; i++) {\n var item = choices[i];\n var key = \"item\" + item.value;\n var renderedItem = this.renderItem(item, i == 0, cssClasses, \"\" + i);\n if(!!renderedItem) {\n renderedItems.push(renderedItem);\n }\n }\n return renderedItems;\n }\n protected get textStyle(): any {\n return null;\n }\n protected renderOther(): JSX.Element {\n let cssClasses = this.question.cssClasses;\n return (\n <div className={this.question.getCommentAreaCss(true)}>\n <SurveyQuestionOtherValueItem\n question={this.question}\n otherCss={cssClasses.other}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n />\n </div>\n );\n }\n protected renderItem(\n item: any,\n isFirst: boolean,\n cssClasses: any,\n index?: string\n ): JSX.Element {\n const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {\n key: item.value,\n question: this.question,\n cssClasses: cssClasses,\n isDisplayMode: this.isDisplayMode,\n item: item,\n textStyle: this.textStyle,\n index: index,\n isFirst: isFirst,\n });\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if (!!survey && !!renderedItem) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n}\nexport class SurveyQuestionCheckboxItem extends ReactSurveyElement {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.item;\n }\n protected get question(): QuestionCheckboxModel {\n return this.props.question;\n }\n protected get item(): ItemValue {\n return this.props.item;\n }\n protected get textStyle(): any {\n return this.props.textStyle;\n }\n protected get isFirst(): any {\n return this.props.isFirst;\n }\n protected get index(): number {\n return this.props.index;\n }\n private get hideCaption(): boolean {\n return this.props.hideCaption === true;\n }\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if (prevProps.item !== this.props.item && !this.question.isDesignMode) {\n if(this.props.item) {\n this.props.item.setRootElement(this.rootRef.current);\n }\n if(prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n }\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n return (\n !this.question.customWidget ||\n !!this.question.customWidgetData.isNeedRender ||\n !!this.question.customWidget.widgetJson.isDefaultRender ||\n !!this.question.customWidget.widgetJson.render\n );\n }\n handleOnChange = (event: any) => {\n this.question.clickItemHandler(this.item, event.target.checked);\n }\n protected canRender(): boolean {\n return !!this.item && !!this.question;\n }\n protected renderElement(): JSX.Element {\n var isChecked = this.question.isItemSelected(this.item);\n return this.renderCheckbox(isChecked, null);\n }\n protected get inputStyle(): any {\n return null;//{ marginRight: \"3px\" };\n }\n protected renderCheckbox(\n isChecked: boolean,\n otherItem: JSX.Element | null\n ): JSX.Element {\n const id = this.question.getItemId(this.item);\n const itemClass = this.question.getItemClass(this.item);\n const labelClass = this.question.getLabelClass(this.item);\n const itemLabel = !this.hideCaption ? <span className={this.cssClasses.controlLabel}>{this.renderLocString(this.item.locText, this.textStyle)}</span> : null;\n\n return (\n <div className={itemClass} role=\"presentation\" ref={this.rootRef}>\n <label className={labelClass}>\n <input\n className={this.cssClasses.itemControl}\n type=\"checkbox\"\n name={this.question.name + this.item.id}\n value={this.item.value}\n id={id}\n style={this.inputStyle}\n disabled={!this.question.getItemEnabled(this.item)}\n readOnly={this.question.isReadOnlyAttr}\n checked={isChecked}\n onChange={this.handleOnChange}\n required={this.question.hasRequiredError()}\n />\n {\n this.cssClasses.materialDecorator ?\n <span className={this.cssClasses.materialDecorator}>\n {this.question.itemSvgIcon ?\n <svg\n className={this.cssClasses.itemDecorator}\n >\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg> :\n null\n }\n </span> :\n null\n }\n {itemLabel}\n </label>\n {otherItem}\n </div>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(this.rootRef.current as HTMLElement);\n }\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(undefined as any);\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey-checkbox-item\", (props: any) => {\n return React.createElement(SurveyQuestionCheckboxItem, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"checkbox\", (props) => {\n return React.createElement(SurveyQuestionCheckbox, props);\n});\n","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyElementBase,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { QuestionRankingModel, SurveyModel, ItemValue } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionRanking extends SurveyQuestionElementBase {\n protected get question(): QuestionRankingModel {\n return this.questionBase as QuestionRankingModel;\n }\n\n protected renderElement(): JSX.Element {\n\n if (!this.question.selectToRankEnabled) {\n return (\n <div\n className={this.question.rootClass}\n ref={(root) => (this.setControl(root))}\n >\n {this.getItems()}\n </div>\n );\n } else {\n const unrankedItem = true;\n return (\n <div\n className={this.question.rootClass}\n ref={(root) => (this.setControl(root))}\n >\n <div className={this.question.getContainerClasses(\"from\")} data-ranking=\"from-container\">\n {this.getItems(this.question.renderedUnRankingChoices, unrankedItem)}\n {this.question.renderedUnRankingChoices.length === 0 ? <div className={this.question.cssClasses.containerPlaceholder}> {this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)} </div> : null}\n </div>\n\n <div className={this.question.cssClasses.containersDivider}></div>\n\n <div className={this.question.getContainerClasses(\"to\")} data-ranking=\"to-container\">\n {this.getItems()}\n {this.question.renderedRankingChoices.length === 0 ? <div className={this.question.cssClasses.containerPlaceholder}> {this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)} </div> : null}\n </div>\n </div>\n );\n }\n }\n\n protected getItems(choices: any = this.question.renderedRankingChoices, unrankedItem?: boolean): Array<any> {\n const items: Array<JSX.Element> = [];\n for (let i = 0; i < choices.length; i++) {\n const item = choices[i];\n items.push(\n this.renderItem(\n item,\n i,\n (event: PointerEvent) => {\n this.question.handleKeydown.call(this.question, event, item);\n },\n (event: any) => {\n event.persist();\n //event.preventDefault();\n this.question.handlePointerDown.call(\n this.question,\n event,\n item,\n event.currentTarget\n );\n },\n (event: any) => {\n event.persist();\n //event.preventDefault();\n this.question.handlePointerUp.call(\n this.question,\n event,\n item,\n event.currentTarget\n );\n },\n this.question.cssClasses,\n this.question.getItemClass(item),\n this.question,\n unrankedItem\n )\n );\n }\n return items;\n }\n\n protected renderItem(\n item: ItemValue,\n i: number,\n handleKeydown: (event: any) => void,\n handlePointerDown: (event: PointerEvent) => void,\n handlePointerUp: (event: PointerEvent) => void,\n cssClasses: any,\n itemClass: string,\n question: QuestionRankingModel,\n unrankedItem?: boolean\n ): JSX.Element {\n const key: string = \"id-\" + item.renderedId;\n const text: JSX.Element = this.renderLocString(item.locText);\n const index = i;\n const indexText: string = this.question.getNumberByIndex(index);\n const tabIndex: number = this.question.getItemTabIndex(item);\n\n const renderedItem = (\n <SurveyQuestionRankingItem\n key={item.value}\n text={text}\n index={index}\n indexText={indexText}\n itemTabIndex={tabIndex}\n handleKeydown={handleKeydown}\n handlePointerDown={handlePointerDown}\n handlePointerUp={handlePointerUp}\n cssClasses={cssClasses}\n itemClass={itemClass}\n question={question}\n unrankedItem={unrankedItem}\n item={item}\n />\n );\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if (!!survey) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n}\n\nexport class SurveyQuestionRankingItem extends ReactSurveyElement {\n protected get text(): string {\n return this.props.text;\n }\n protected get index(): string {\n return this.props.index;\n }\n protected get indexText(): string {\n return this.props.indexText;\n }\n protected get handleKeydown(): (event: any) => void {\n return this.props.handleKeydown;\n }\n protected get handlePointerDown(): (event: any) => void {\n return this.props.handlePointerDown;\n }\n protected get handlePointerUp(): (event: any) => void {\n return this.props.handlePointerUp;\n }\n protected get cssClasses(): any {\n return this.props.cssClasses;\n }\n protected get itemClass(): string {\n return this.props.itemClass;\n }\n protected get itemTabIndex(): number {\n return this.props.itemTabIndex;\n }\n protected get question(): any {\n return this.props.question;\n }\n protected get unrankedItem(): any {\n return this.props.unrankedItem;\n }\n protected get item(): any {\n return this.props.item;\n }\n\n protected renderEmptyIcon(): JSX.Element {\n return (\n <svg>\n <use xlinkHref={this.question.dashSvgIcon}></use>\n </svg>\n );\n }\n\n protected renderElement(): JSX.Element {\n let itemContent = ReactElementFactory.Instance.createElement(this.question.itemComponent, { item: this.item, cssClasses: this.cssClasses });\n return (\n <div\n tabIndex={this.itemTabIndex}\n className={this.itemClass}\n onKeyDown={this.handleKeydown}\n onPointerDown={this.handlePointerDown}\n onPointerUp={this.handlePointerUp}\n data-sv-drop-target-ranking-item={this.index}\n >\n <div tabIndex={-1} style={{ outline: \"none\" }}>\n <div className={this.cssClasses.itemGhostNode} />\n <div className={this.cssClasses.itemContent}>\n <div className={this.cssClasses.itemIconContainer}>\n <svg\n className={this.question.getIconHoverCss()}\n >\n <use xlinkHref={this.question.dragDropSvgIcon}></use>\n </svg>\n <svg\n className={this.question.getIconFocusCss()}\n >\n <use xlinkHref={this.question.arrowsSvgIcon}></use>\n </svg>\n </div>\n\n <div className={this.question.getItemIndexClasses(this.item)}>\n {(!this.unrankedItem && this.indexText) ? this.indexText : this.renderEmptyIcon()}\n </div>\n {itemContent}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport class SurveyQuestionRankingItemContent extends ReactSurveyElement {\n protected get item(): ItemValue {\n return this.props.item;\n }\n\n protected get cssClasses(): any {\n return this.props.cssClasses;\n }\n\n protected renderElement(): JSX.Element {\n return <div className={this.cssClasses.controlLabel}>{SurveyElementBase.renderLocString(this.item.locText)}</div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-ranking-item\", props => {\n return React.createElement(SurveyQuestionRankingItemContent, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"ranking\", (props) => {\n return React.createElement(SurveyQuestionRanking, props);\n});\n","import React from \"react\";\nimport { Base, QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\nexport interface IRatingItemProps {\n question: QuestionRatingModel;\n item: RenderedRatingItem;\n index: any;\n handleOnClick: any;\n isDisplayMode: boolean;\n}\nexport class RatingItemBase extends SurveyElementBase<IRatingItemProps, any> {\n constructor(props: any) {\n super(props);\n this.handleOnMouseDown = this.handleOnMouseDown.bind(this);\n }\n get question(): QuestionRatingModel {\n return this.props.question;\n }\n get item(): RenderedRatingItem {\n return this.props.item;\n }\n get index(): any {\n return this.props.index;\n }\n getStateElement(): Base {\n return this.item;\n }\n handleOnMouseDown(event: any) {\n this.question.onMouseDown();\n }\n}\nexport class RatingItem extends RatingItemBase {\n render(): JSX.Element | null {\n var itemText = this.renderLocString(this.item.locText);\n return (\n <label onMouseDown={this.handleOnMouseDown} className={this.question.getItemClassByText(this.item.itemValue, this.item.text)}>\n <input\n type=\"radio\"\n className=\"sv-visuallyhidden\"\n name={this.question.questionName}\n id={this.question.getInputId(this.index)}\n value={this.item.value}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.value == this.item.value}\n onClick={this.props.handleOnClick}\n onChange={() => { }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <span className={this.question.cssClasses.itemText} data-text={this.item.text}>{itemText}</span>\n </label>\n );\n }\n componentDidMount() {\n super.componentDidMount();\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-item\", (props) => {\n return React.createElement(RatingItem, props);\n});\n","import React from \"react\";\nimport { QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { IRatingItemProps, RatingItemBase } from \"./rating-item\";\n\nexport class RatingItemStar extends RatingItemBase {\n render(): JSX.Element | null {\n return (\n <label onMouseDown={this.handleOnMouseDown}\n className={this.question.getItemClass(this.item.itemValue)}\n onMouseOver={e => this.question.onItemMouseIn(this.item)}\n onMouseOut={e => this.question.onItemMouseOut(this.item)}\n >\n <input\n type=\"radio\"\n className=\"sv-visuallyhidden\"\n name={this.question.questionName}\n id={this.question.getInputId(this.index)}\n value={this.item.value}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.value == this.item.value}\n onClick={this.props.handleOnClick}\n onChange={() => { }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <SvgIcon\n className={\"sv-star\"}\n size={\"auto\"}\n iconName={this.question.itemStarIcon}\n title={this.item.text}\n ></SvgIcon>\n <SvgIcon\n className={\"sv-star-2\"}\n size={\"auto\"}\n iconName={this.question.itemStarIconAlt}\n title={this.item.text}\n ></SvgIcon>\n </label>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-item-star\", (props) => {\n return React.createElement(RatingItemStar, props);\n});\n","import React from \"react\";\nimport { QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { IRatingItemProps, RatingItemBase } from \"./rating-item\";\n\nexport class RatingItemSmiley extends RatingItemBase {\n render(): JSX.Element | null {\n return (\n <label onMouseDown={this.handleOnMouseDown}\n style={this.question.getItemStyle(this.item.itemValue, this.item.highlight) as any}\n className={this.question.getItemClass(this.item.itemValue)}\n onMouseOver={e => this.question.onItemMouseIn(this.item)}\n onMouseOut={e => this.question.onItemMouseOut(this.item)}\n >\n <input\n type=\"radio\"\n className=\"sv-visuallyhidden\"\n name={this.question.questionName}\n id={this.question.getInputId(this.index)}\n value={this.item.value}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.value == this.item.value}\n onClick={this.props.handleOnClick}\n onChange={() => { }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <SvgIcon\n size={\"auto\"}\n iconName={this.question.getItemSmileyIconName(this.item.itemValue)}\n title={this.item.text}\n ></SvgIcon>\n </label>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-item-smiley\", (props) => {\n return React.createElement(RatingItemSmiley, props);\n});\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\n\ninterface IRatingItemProps {\n item: any;\n}\n\nexport class RatingDropdownItem extends SurveyElementBase<IRatingItemProps, any> {\n get item(): any {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n render(): JSX.Element | null {\n if (!this.item) return null;\n const item = this.props.item;\n const description = this.renderDescription(item);\n\n return (\n <div className=\"sd-rating-dropdown-item\">\n <span className=\"sd-rating-dropdown-item_text\">{item.title}</span>\n {description}\n </div>\n );\n }\n renderDescription(item: any) {\n if(!item.description) return null;\n\n return (\n <div className=\"sd-rating-dropdown-item_description\">\n {this.renderLocString(item.description, undefined, \"locString\")}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-dropdown-item\", (props) => {\n return React.createElement(RatingDropdownItem, props);\n});\n","import * as React from \"react\";\nimport { DropdownMultiSelectListModel, QuestionTagboxModel, Helpers, settings } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\ninterface ITagboxFilterProps {\n model: DropdownMultiSelectListModel;\n question: QuestionTagboxModel;\n}\n\nexport class TagboxFilterString extends SurveyElementBase<ITagboxFilterProps, any> {\n inputElement: HTMLInputElement | null;\n\n get model(): DropdownMultiSelectListModel {\n return this.props.model;\n }\n get question(): QuestionTagboxModel {\n return this.props.question;\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateDomElement();\n }\n componentDidMount() {\n super.componentDidMount();\n this.updateDomElement();\n }\n updateDomElement() {\n if (!!this.inputElement) {\n const control: any = this.inputElement;\n const newValue = this.model.inputStringRendered;\n if (!Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {\n control.value = this.model.inputStringRendered;\n }\n }\n }\n onChange(e: any) {\n const { root } = settings.environment;\n if (e.target === root.activeElement) {\n this.model.inputStringRendered = e.target.value;\n }\n }\n keyhandler(e: any) {\n this.model.inputKeyHandler(e);\n }\n onBlur(e: any) {\n this.question.onBlur(e);\n }\n onFocus(e: any) {\n this.question.onFocus(e);\n }\n constructor(props: any) {\n super(props);\n }\n getStateElement() {\n return this.model;\n }\n render(): JSX.Element {\n return (\n <div className={this.question.cssClasses.hint}>\n {this.model.showHintPrefix ?\n (<div className={this.question.cssClasses.hintPrefix}>\n <span>{this.model.hintStringPrefix}</span>\n </div>) : null}\n <div className={this.question.cssClasses.hintSuffixWrapper}>\n {this.model.showHintString ?\n (<div className={this.question.cssClasses.hintSuffix}>\n <span style={{ visibility: \"hidden\" }} data-bind=\"text: model.filterString\">{this.model.inputStringRendered}</span>\n <span>{this.model.hintStringSuffix}</span>\n </div>) : null}\n\n <input type=\"text\" autoComplete=\"off\"\n id={this.question.getInputId()}\n inputMode={this.model.inputMode}\n ref={(element) => (this.inputElement = element)}\n className={this.question.cssClasses.filterStringInput}\n disabled={this.question.isInputReadOnly}\n readOnly={this.model.filterReadOnly ? true : undefined}\n size={!this.model.inputStringRendered ? 1 : undefined}\n role={this.model.filterStringEnabled ? this.question.ariaRole : undefined}\n aria-expanded={this.question.ariaExpanded}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-controls={this.model.listElementId}\n aria-activedescendant={this.model.ariaActivedescendant}\n placeholder={this.model.filterStringPlaceholder}\n onKeyDown={(e) => { this.keyhandler(e); }}\n onChange={(e) => { this.onChange(e); }}\n onBlur={(e) => { this.onBlur(e); }}\n onFocus={(e) => { this.onFocus(e); }}\n ></input>\n </div>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"sv-tagbox-filter\", (props) => {\n return React.createElement(TagboxFilterString, props);\n});","import * as React from \"react\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\nimport { Base, ItemValue } from \"survey-core\";\n\nexport class SurveyQuestionOptionItem extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.state = { changed: 0 };\n this.setupModel();\n }\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n this.setupModel();\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.setupModel();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n if (!!this.item) {\n this.item.locText.onChanged = () => { };\n }\n }\n private setupModel(): void {\n if (!this.item.locText) return;\n const self = this;\n this.item.locText.onChanged = () => {\n self.setState({ changed: self.state.changed + 1 });\n };\n }\n protected getStateElement(): Base {\n return this.item;\n }\n private get item(): ItemValue {\n return this.props.item;\n }\n protected canRender(): boolean {\n return !!this.item;\n }\n protected renderElement(): JSX.Element {\n return (\n <option value={this.item.value} disabled={!this.item.isEnabled}>\n {this.item.text}\n </option>\n );\n }\n}","import * as React from \"react\";\nimport { Helpers, Question, DropdownListModel, settings } from \"survey-core\";\nimport { Popup } from \"./components/popup/popup\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\n\nexport class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {\n inputElement: HTMLInputElement | null;\n\n click = (event: any) => {\n this.question.dropdownListModel?.onClick(event);\n };\n chevronPointerDown = (event: any) => {\n this.question.dropdownListModel?.chevronPointerDown(event);\n };\n clear = (event: any) => {\n this.question.dropdownListModel?.onClear(event);\n };\n keyhandler = (event: any) => {\n this.question.dropdownListModel?.keyHandler(event);\n };\n blur = (event: any) => {\n this.updateInputDomElement();\n this.question.onBlur(event);\n };\n focus = (event: any) => {\n this.question.onFocus(event);\n };\n protected getStateElement() {\n return this.question[\"dropdownListModel\"];\n }\n protected setValueCore(newValue: any) {\n this.questionBase.renderedValue = newValue;\n }\n protected getValueCore(): any {\n return this.questionBase.renderedValue;\n }\n protected renderReadOnlyElement(): JSX.Element | null {\n return <div>{this.question.readOnlyText}</div>;\n }\n protected renderSelect(cssClasses: any): JSX.Element {\n let selectElement: JSX.Element | null = null;\n if (this.question.isReadOnly) {\n const text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : \"\";\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n selectElement = <div id={this.question.inputId}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n tabIndex={this.question.isDisabledAttr ? undefined : 0}\n className={this.question.getControlClass()}>\n {text}\n {this.renderReadOnlyElement()}\n </div>;\n } else {\n selectElement = <>\n {this.renderInput(this.question[\"dropdownListModel\"])}\n <Popup model={this.question?.dropdownListModel?.popupModel}></Popup>\n </>;\n }\n\n return (\n <div className={cssClasses.selectWrapper} onClick={this.click}>\n {selectElement}\n {this.createChevronButton()}\n </div>\n );\n }\n\n renderValueElement(dropdownListModel: DropdownListModel): JSX.Element | null {\n if (this.question.showInputFieldComponent) {\n return ReactElementFactory.Instance.createElement(this.question.inputFieldComponentName, { item: dropdownListModel.getSelectedAction(), question: this.question });\n } else if (this.question.showSelectedItemLocText) {\n return this.renderLocString(this.question.selectedItemLocText);\n }\n return null;\n }\n\n protected renderInput(dropdownListModel: DropdownListModel): JSX.Element {\n let valueElement: JSX.Element | null = this.renderValueElement(dropdownListModel);\n const { root } = settings.environment;\n\n const onInputChange = (e: any) => {\n if (e.target === root.activeElement) {\n dropdownListModel.inputStringRendered = e.target.value;\n }\n };\n return (<div\n id={this.question.inputId}\n className={this.question.getControlClass()}\n tabIndex={dropdownListModel.noTabIndex ? undefined : 0}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n disabled={this.question.isDisabledAttr}\n required={this.question.isRequired}\n onKeyDown={this.keyhandler}\n onBlur={this.blur}\n onFocus={this.focus}\n role={this.question.ariaRole}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n aria-expanded={this.question.ariaExpanded}\n aria-controls={dropdownListModel.listElementId}\n aria-activedescendant={dropdownListModel.ariaActivedescendant}\n >\n {dropdownListModel.showHintPrefix ?\n (<div className={this.question.cssClasses.hintPrefix}>\n <span>{dropdownListModel.hintStringPrefix}</span>\n </div>) : null}\n <div className={this.question.cssClasses.controlValue}>\n {dropdownListModel.showHintString ?\n (<div className={this.question.cssClasses.hintSuffix}>\n <span style={{ visibility: \"hidden\" }} data-bind=\"text: model.filterString\">{dropdownListModel.inputStringRendered}</span>\n <span>{dropdownListModel.hintStringSuffix}</span>\n </div>) : null}\n {valueElement}\n <input type=\"text\" autoComplete=\"off\"\n id={this.question.getInputId()}\n ref={(element) => (this.inputElement = element)}\n className={this.question.cssClasses.filterStringInput}\n role={dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined}\n aria-expanded={this.question.ariaExpanded}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-controls={dropdownListModel.listElementId}\n aria-activedescendant={dropdownListModel.ariaActivedescendant}\n placeholder={dropdownListModel.placeholderRendered}\n readOnly={dropdownListModel.filterReadOnly ? true : undefined}\n tabIndex={dropdownListModel.noTabIndex ? undefined : -1}\n disabled={this.question.isDisabledAttr}\n inputMode={dropdownListModel.inputMode}\n onChange={(e) => { onInputChange(e); }}\n onBlur={this.blur}\n onFocus={this.focus}\n ></input>\n </div>\n {this.createClearButton()}\n </div>);\n }\n\n createClearButton(): JSX.Element | null {\n if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId) return null;\n\n const style = { display: !this.question.showClearButton ? \"none\" : \"\" };\n return (\n <div\n className={this.question.cssClasses.cleanButton}\n style={style}\n onClick={this.clear}\n aria-hidden=\"true\"\n >\n <SvgIcon\n className={this.question.cssClasses.cleanButtonSvg}\n iconName={this.question.cssClasses.cleanButtonIconId}\n title={this.question.clearCaption}\n size={\"auto\"}\n ></SvgIcon>\n </div>\n );\n }\n\n createChevronButton(): JSX.Element | null {\n if (!this.question.cssClasses.chevronButtonIconId) return null;\n\n return (\n <div className={this.question.cssClasses.chevronButton}\n aria-hidden=\"true\"\n onPointerDown={this.chevronPointerDown}>\n <SvgIcon\n className={this.question.cssClasses.chevronButtonSvg}\n iconName={this.question.cssClasses.chevronButtonIconId}\n size={\"auto\"}\n ></SvgIcon>\n </div>\n );\n }\n\n protected renderOther(cssClasses: any): JSX.Element {\n return (\n <div className={this.question.getCommentAreaCss(true)}>\n <SurveyQuestionOtherValueItem\n question={this.question}\n otherCss={cssClasses.other}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n isOther={true}\n />\n </div>\n );\n }\n\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateInputDomElement();\n }\n componentDidMount() {\n super.componentDidMount();\n this.updateInputDomElement();\n }\n updateInputDomElement() {\n if (!!this.inputElement) {\n const control: any = this.inputElement;\n const newValue = this.question.dropdownListModel.inputStringRendered;\n if (!Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {\n control.value = this.question.dropdownListModel.inputStringRendered;\n }\n }\n }\n}","import * as React from \"react\";\nimport { Question } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionDropdownBase } from \"./dropdown-base\";\n\nexport class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {\n constructor(props: any) {\n super(props);\n }\n\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const comment = this.question.isOtherSelected ? this.renderOther(cssClasses) : null;\n const select = this.renderSelect(cssClasses);\n return (\n <div className={this.question.renderCssRoot}>\n {select}\n {comment}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"dropdown\", (props) => {\n return React.createElement(SurveyQuestionDropdown, props);\n});","import * as React from \"react\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\nimport { Base, QuestionTagboxModel, ItemValue } from \"survey-core\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyQuestionTagboxItem extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionTagboxModel {\n return this.props.question;\n }\n protected get item(): ItemValue {\n return this.props.item;\n }\n protected canRender(): boolean {\n return !!this.item && !!this.question;\n }\n protected renderElement(): JSX.Element {\n const text = this.renderLocString(this.item.locText);\n\n const removeItem = (event: any) => {\n this.question.dropdownListModel.deselectItem(this.item.value);\n event.stopPropagation();\n };\n\n return (\n <div className=\"sv-tagbox__item\">\n <div className=\"sv-tagbox__item-text\">{text}</div>\n <div\n className={ this.question.cssClasses.cleanItemButton}\n onClick={removeItem}\n >\n <SvgIcon\n className={this.question.cssClasses.cleanItemButtonSvg}\n iconName={this.question.cssClasses.cleanItemButtonIconId}\n size={\"auto\"}\n ></SvgIcon>\n </div>\n </div>\n );\n }\n}","import * as React from \"react\";\nimport { QuestionTagboxModel, DropdownListModel, DropdownMultiSelectListModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionDropdownBase } from \"./dropdown-base\";\nimport { SurveyQuestionTagboxItem } from \"./tagbox-item\";\nimport { TagboxFilterString } from \"./tagbox-filter\";\n\nexport class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {\n constructor(props: any) {\n super(props);\n }\n\n protected renderItem(key: string, item: any): JSX.Element {\n const renderedItem = (\n <SurveyQuestionTagboxItem\n key={key}\n question={this.question}\n item={item}\n />\n );\n return renderedItem;\n }\n\n protected renderInput(dropdownListModel: DropdownListModel): JSX.Element {\n const dropdownMultiSelectListModel = dropdownListModel as DropdownMultiSelectListModel;\n const items = this.question.selectedChoices.map((choice, index) => { return this.renderItem(\"item\" + index, choice); });\n return (\n <div\n id={this.question.inputId}\n className={this.question.getControlClass()}\n tabIndex={dropdownListModel.noTabIndex ? undefined : 0}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n disabled={this.question.isInputReadOnly}\n required={this.question.isRequired}\n onKeyDown={this.keyhandler}\n onBlur={this.blur}\n role={this.question.ariaRole}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n aria-expanded={this.question.ariaExpanded}\n aria-controls={dropdownListModel.listElementId}\n aria-activedescendant={dropdownListModel.ariaActivedescendant}\n >\n <div className={this.question.cssClasses.controlValue}>\n {items}\n <TagboxFilterString model={dropdownMultiSelectListModel} question={this.question}></TagboxFilterString>\n </div>\n {this.createClearButton()}\n </div>);\n }\n\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const comment = this.question.isOtherSelected ? this.renderOther(cssClasses) : null;\n const select = this.renderSelect(cssClasses);\n return (\n <div className={this.question.renderCssRoot}>\n {select}\n {comment}\n </div>\n );\n }\n\n protected renderReadOnlyElement(): JSX.Element | null {\n if(this.question.locReadOnlyText) {\n return this.renderLocString(this.question.locReadOnlyText);\n } else {\n return null;\n }\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"tagbox\", (props) => {\n return React.createElement(SurveyQuestionTagbox, props);\n});","import * as React from \"react\";\nimport { RendererFactory, ItemValue } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionDropdown } from \"./reactquestion_dropdown\";\nimport { SurveyQuestionOptionItem } from \"./dropdown-item\";\n\nexport class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {\n constructor(props: any) {\n super(props);\n }\n\n protected renderSelect(cssClasses: any): JSX.Element {\n const click = (event: any) => {\n this.question.onClick(event);\n };\n const keyup = (event: any) => {\n this.question.onKeyUp(event);\n };\n\n const selectElement = this.isDisplayMode ? (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n <div id={this.question.inputId} className={this.question.getControlClass()} disabled>{this.question.readOnlyText}</div>) :\n (<select\n id={this.question.inputId}\n className={this.question.getControlClass()}\n ref={(select) => (this.setControl(select))}\n autoComplete={this.question.autocomplete}\n onChange={this.updateValueOnEvent}\n onInput={this.updateValueOnEvent}\n onClick={click}\n onKeyUp={keyup}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n required={this.question.isRequired}>\n {this.question.allowClear ? (<option value=\"\">{this.question.placeholder}</option>) : null}\n {this.question.visibleChoices.map((item: ItemValue, i: number) => <SurveyQuestionOptionItem key={\"item\" + i} item={item} />)}\n </select>);\n return (\n <div className={cssClasses.selectWrapper}>\n {selectElement}\n {this.createChevronButton()}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"sv-dropdown-select\", (props) => {\n return React.createElement(SurveyQuestionDropdownSelect, props);\n});\n\nRendererFactory.Instance.registerRenderer(\"dropdown\", \"select\", \"sv-dropdown-select\");","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { QuestionMatrixModel, MatrixRowModel, SurveyModel, ItemValue, Base } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionMatrix extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.state = { rowsChanged: 0 };\n }\n protected get question(): QuestionMatrixModel {\n return this.questionBase as QuestionMatrixModel;\n }\n componentDidMount() {\n super.componentDidMount();\n if (this.question) {\n var self = this;\n this.question.visibleRowsChangedCallback = function() {\n self.setState({ rowsChanged: self.state.rowsChanged + 1 });\n };\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.question) {\n this.question.visibleRowsChangedCallback = null as any;\n }\n }\n\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var rowsTH = this.question.hasRows ? <td /> : null;\n var headers:Array<JSX.Element> = [];\n for (var i = 0; i < this.question.visibleColumns.length; i++) {\n var column = this.question.visibleColumns[i];\n var key = \"column\" + i;\n var columText = this.renderLocString(column.locText);\n const style: any = {};\n if (!!this.question.columnMinWidth) {\n style.minWidth = this.question.columnMinWidth;\n style.width = this.question.columnMinWidth;\n }\n headers.push(\n <th className={this.question.cssClasses.headerCell} style={style} key={key}>\n {this.wrapCell({ column: column }, columText, \"column-header\")}\n </th>\n );\n }\n var rows:Array<JSX.Element> = [];\n var visibleRows = this.question.visibleRows;\n for (var i = 0; i < visibleRows.length; i++) {\n var row = visibleRows[i];\n var key = \"row-\" + row.name + \"-\" + i;\n rows.push(\n <SurveyQuestionMatrixRow\n key={key}\n question={this.question}\n cssClasses={cssClasses}\n row={row}\n isFirst={i == 0}\n />\n );\n }\n var header = !this.question.showHeader ? null : (\n <thead>\n <tr>\n {rowsTH}\n {headers}\n </tr>\n </thead>\n );\n return (\n <div\n className={cssClasses.tableWrapper}\n ref={root => (this.setControl(root))}\n >\n <fieldset>\n <legend className=\"sv-hidden\">{this.question.locTitle.renderedHtml}</legend>\n <table className={this.question.getTableCss()}>\n {header}\n <tbody>{rows}</tbody>\n </table>\n </fieldset>\n </div>\n );\n }\n}\n\nexport class SurveyQuestionMatrixRow extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected getStateElement(): Base | null {\n if(!!this.row) return this.row.item;\n return super.getStateElement();\n }\n private get question(): QuestionMatrixModel {\n return this.props.question;\n }\n private get row(): MatrixRowModel {\n return this.props.row;\n }\n protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element {\n if(!reason) {\n return element;\n }\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapMatrixCell(survey, element, cell, reason);\n }\n return wrapper ?? element;\n }\n protected canRender(): boolean {\n return !!this.row;\n }\n protected renderElement(): JSX.Element {\n var rowsTD: JSX.Element | null = null;\n\n if (this.question.hasRows) {\n var rowText = this.renderLocString(this.row.locText);\n const style: any = {};\n if (!!this.question.rowTitleWidth) {\n style.minWidth = this.question.rowTitleWidth;\n style.width = this.question.rowTitleWidth;\n }\n rowsTD = <td style={style} className={this.row.rowTextClasses}>\n {this.wrapCell({ row: this.row }, rowText, \"row-header\")}\n </td>;\n }\n\n var tds = this.generateTds();\n return (\n <tr className={this.row.rowClasses || undefined}>\n {rowsTD}\n {tds}\n </tr>\n );\n }\n\n generateTds(): Array<JSX.Element> {\n const tds:Array<JSX.Element> = [];\n const row = this.row;\n const cellComponent = this.question.cellComponent;\n for (var i = 0; i < this.question.visibleColumns.length; i++) {\n let td: JSX.Element | null = null;\n const column = this.question.visibleColumns[i];\n const key = \"value\" + i;\n\n let itemClass = this.question.getItemClass(row, column);\n if (this.question.hasCellText) {\n const getHandler = (column: any) => () => this.cellClick(row, column);\n td = (\n <td\n key={key}\n className={itemClass}\n onClick={getHandler ? getHandler(column) : () => {}}\n >\n {this.renderLocString(\n this.question.getCellDisplayLocText(row.name, column)\n )}\n </td>\n );\n } else {\n const renderedCell = ReactElementFactory.Instance.createElement(cellComponent, {\n question: this.question,\n row: this.row,\n column: column,\n columnIndex: i,\n cssClasses: this.cssClasses,\n cellChanged: () => { this.cellClick(this.row, column); }\n });\n td = (<td key={key} data-responsive-title={column.locText.renderedHtml} className={this.question.cssClasses.cell}>{renderedCell}</td>);\n }\n tds.push(td);\n }\n\n return tds;\n }\n cellClick(row: any, column: any): void {\n row.value = column.value;\n this.setState({ value: this.row.value });\n }\n}\n\nexport class SurveyQuestionMatrixCell extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnMouseDown = this.handleOnMouseDown.bind(this);\n this.handleOnChange = this.handleOnChange.bind(this);\n }\n handleOnChange(event: any): void {\n if(!!this.props.cellChanged) {\n this.props.cellChanged();\n }\n }\n handleOnMouseDown(event: any): void {\n this.question.onMouseDown();\n }\n private get question(): QuestionMatrixModel {\n return this.props.question;\n }\n private get row(): MatrixRowModel {\n return this.props.row;\n }\n private get column(): ItemValue {\n return this.props.column;\n }\n private get columnIndex(): number {\n return this.props.columnIndex;\n }\n protected canRender(): boolean {\n return !!this.question && !!this.row;\n }\n protected renderElement(): JSX.Element {\n const isChecked = this.row.value == this.column.value;\n const inputId = this.question.inputId + \"_\" + this.row.name + \"_\" + this.columnIndex;\n const itemClass = this.question.getItemClass(this.row, this.column);\n const mobileSpan = this.question.isMobile ?\n (<span className={this.question.cssClasses.cellResponsiveTitle}>{this.renderLocString(this.column.locText)}</span>)\n : undefined;\n return (<label onMouseDown={this.handleOnMouseDown} className={itemClass}>\n {this.renderInput(inputId, isChecked)}\n <span className={this.question.cssClasses.materialDecorator}>\n {this.question.itemSvgIcon ?\n <svg\n className={this.cssClasses.itemDecorator}\n >\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg> :\n null\n }\n </span>\n {mobileSpan}\n </label>);\n }\n protected renderInput(inputId: string, isChecked: boolean): JSX.Element {\n return (<input\n id={inputId}\n type=\"radio\"\n className={this.cssClasses.itemValue}\n name={this.row.fullName}\n value={this.column.value}\n disabled={this.row.isDisabledAttr}\n readOnly={this.row.isReadOnlyAttr}\n checked={isChecked}\n onChange={this.handleOnChange}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.getCellAriaLabel(this.row.locText.renderedHtml, this.column.locText.renderedHtml)}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n />);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey-matrix-cell\", props => {\n return React.createElement(SurveyQuestionMatrixCell, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"matrix\", props => {\n return React.createElement(SurveyQuestionMatrix, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionHtmlModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionHtml extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionHtmlModel {\n return this.questionBase as QuestionHtmlModel;\n }\n componentDidMount() {\n this.reactOnStrChanged();\n }\n componentWillUnmount() {\n this.question.locHtml.onChanged = function () {};\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n this.reactOnStrChanged();\n }\n private reactOnStrChanged() {\n this.question.locHtml.onChanged = () => {\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\n };\n }\n protected canRender(): boolean {\n return super.canRender() && !!this.question.html;\n }\n protected renderElement(): JSX.Element {\n var htmlValue = { __html: this.question.locHtml.renderedHtml };\n return (\n <div\n className={this.question.renderCssRoot}\n dangerouslySetInnerHTML={htmlValue}\n />\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"html\", (props) => {\n return React.createElement(SurveyQuestionHtml, props);\n});\n","import * as React from \"react\";\nimport { SvgIcon } from \"./svg-icon/svg-icon\";\n\nexport class LoadingIndicatorComponent extends React.Component<any, any> {\n render(): JSX.Element | null {\n return (<div className=\"sd-loading-indicator\"><SvgIcon iconName=\"icon-loading\" size=\"auto\"></SvgIcon></div>);\n }\n}","import React from \"react\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { ReactSurveyElement } from \"../../reactquestion_element\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { ReactElementFactory } from \"../../element-factory\";\n\nexport class SurveyFileChooseButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionFileModel {\n return (this.props.item && this.props.item.data.question) || this.props.data.question;\n }\n render() {\n return attachKey2click(\n <label\n tabIndex={0}\n className={this.question.getChooseFileCss()}\n htmlFor={this.question.inputId}\n aria-label={this.question.chooseButtonText}\n onClick={(e) => this.question.chooseFile(e.nativeEvent)}\n >\n {(!!this.question.cssClasses.chooseFileIconId) ? <SvgIcon title={this.question.chooseButtonText} iconName={this.question.cssClasses.chooseFileIconId} size={\"auto\"}></SvgIcon>: null }\n <span>{this.question.chooseButtonText}</span>\n </label>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-file-choose-btn\",\n (props) => {\n return React.createElement(SurveyFileChooseButton, props);\n }\n);","import * as React from \"react\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { attachKey2click } from \"./reactSurvey\";\nimport { LoadingIndicatorComponent } from \"./components/loading-indicator\";\nimport { SurveyAction } from \"./components/action-bar/action-bar-item\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyFileChooseButton } from \"./components/file/file-choose-button\";\n// import { ReactElementFactory, SurveyFileChooseButton } from \"../entries/react-ui-model\";\n\nexport class SurveyQuestionFile extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionFileModel {\n return this.questionBase as QuestionFileModel;\n }\n protected renderElement(): JSX.Element {\n const preview = this.question.allowShowPreview ? this.renderPreview() : null;\n const loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;\n const video = this.question.isPlayingVideo ? this.renderVideo() : null;\n const fileDecorator = this.question.showFileDecorator ? this.renderFileDecorator() : null;\n const clearButton = this.question.showRemoveButton ? this.renderClearButton(\n this.question.cssClasses.removeButton\n ) : null;\n const clearButtonBottom = this.question.showRemoveButtonBottom ? this.renderClearButton(\n this.question.cssClasses.removeButtonBottom\n ): null;\n const fileNavigator = this.question.fileNavigatorVisible?(<SurveyActionBar model = {this.question.fileNavigator}></SurveyActionBar>) : null;\n let fileInput;\n if (this.question.isReadOnlyAttr) {\n fileInput = <input\n readOnly\n type=\"file\"\n className={!this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss()}\n id={this.question.inputId}\n ref={input => (this.setControl(input))}\n style={!this.isDisplayMode ? {} : { color: \"transparent\" }}\n multiple={this.question.allowMultiple}\n placeholder={this.question.title}\n accept={this.question.acceptedTypes}\n />;\n } else if (this.question.isDisabledAttr) {\n fileInput = <input\n disabled\n type=\"file\"\n className={!this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss()}\n id={this.question.inputId}\n ref={input => (this.setControl(input))}\n style={!this.isDisplayMode ? {} : { color: \"transparent\" }}\n multiple={this.question.allowMultiple}\n placeholder={this.question.title}\n accept={this.question.acceptedTypes}\n />;\n } else if (this.question.hasFileUI) {\n fileInput = <input\n type=\"file\"\n disabled={this.isDisplayMode}\n tabIndex={-1}\n className={!this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss()}\n id={this.question.inputId}\n ref={input => (this.setControl(input))}\n style={!this.isDisplayMode ? {} : { color: \"transparent\" }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n multiple={this.question.allowMultiple}\n title={this.question.inputTitle}\n accept={this.question.acceptedTypes}\n capture={this.question.renderCapture}\n />;\n } else {\n fileInput = null;\n }\n\n return (\n <div className={this.question.fileRootCss} ref={el => (this.setContent(el))}>\n {fileInput}\n <div\n className={this.question.cssClasses.dragArea}\n onDrop={this.question.onDrop}\n onDragOver={this.question.onDragOver}\n onDragLeave={this.question.onDragLeave}\n onDragEnter={this.question.onDragEnter}\n >\n {fileDecorator}\n {loadingIndicator}\n {video}\n {clearButton}\n {preview}\n {clearButtonBottom}\n {fileNavigator}\n </div>\n </div>\n );\n }\n protected renderFileDecorator(): JSX.Element {\n const chooseButton = this.question.showChooseButton ? this.renderChooseButton() : null;\n const actionsContainer = this.question.actionsContainerVisible ? <SurveyActionBar model={this.question.actionsContainer}></SurveyActionBar> : null;\n const noFileChosen = this.question.isEmpty() ? (\n <span className={this.question.cssClasses.noFileChosen}>\n {this.question.noFileChosenCaption}\n </span>) : null;\n return (\n <div\n className={this.question.getFileDecoratorCss()}\n >\n <span className={this.question.cssClasses.dragAreaPlaceholder}>{this.renderLocString(this.question.locRenderedPlaceholder)}</span>\n <div className={this.question.cssClasses.wrapper}>\n {chooseButton}\n {actionsContainer}\n {noFileChosen}\n </div>\n </div>\n );\n }\n protected renderChooseButton(): JSX.Element {\n return <SurveyFileChooseButton data={{ question: this.question }}></SurveyFileChooseButton>;\n }\n protected renderClearButton(className: string): JSX.Element | null {\n return !this.question.isUploading ? (\n <button type=\"button\" onClick={this.question.doClean} className={className}>\n <span>{this.question.clearButtonCaption}</span>\n {(!!this.question.cssClasses.removeButtonIconId) ? <SvgIcon iconName={this.question.cssClasses.removeButtonIconId} size={\"auto\"} title={this.question.clearButtonCaption}></SvgIcon>: null }\n </button>\n ) : null;\n }\n protected renderPreview(): JSX.Element {\n return ReactElementFactory.Instance.createElement(\"sv-file-preview\", { question: this.question });\n }\n protected renderLoadingIndicator(): JSX.Element {\n return <div className={this.question.cssClasses.loadingIndicator}><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n protected renderVideo(): JSX.Element {\n return (<div className={this.question.cssClasses.videoContainer}>\n <SurveyAction item={this.question.changeCameraAction}></SurveyAction>\n <SurveyAction item={this.question.closeCameraAction}></SurveyAction>\n <video autoPlay playsInline id={this.question.videoId} className={this.question.cssClasses.video}></video>\n <SurveyAction item={this.question.takePictureAction}></SurveyAction>\n </div>);\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"file\", props => {\n return React.createElement(SurveyQuestionFile, props);\n});\n","import React from \"react\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\nexport class SurveyFileItem extends SurveyElementBase<{ question: QuestionFileModel, item: any }, {}> {\n\n protected get question(): QuestionFileModel {\n return this.props.question;\n }\n\n protected get item(): any {\n return this.props.item;\n }\n\n protected renderFileSign(className: string, val: any): JSX.Element | null {\n if(!className || !val.name) return null;\n return (\n <div className={className}>\n <a\n href={val.content}\n onClick={event => {\n this.question.doDownloadFile(event, val);\n }}\n title={val.name}\n download={val.name}\n style={{ width: this.question.imageWidth }}\n >\n {val.name}\n </a>\n </div>\n );\n }\n\n protected renderElement(): JSX.Element | null {\n const val = this.item;\n return (\n <span\n className={this.question.cssClasses.previewItem}\n onClick={(event) => this.question.doDownloadFileFromContainer(event as any)}\n >\n {this.renderFileSign(this.question.cssClasses.fileSign, val)}\n <div className={this.question.getImageWrapperCss(val)}>\n {this.question.canPreviewImage(val) ? (\n <img\n src={val.content}\n style={{ height: this.question.imageHeight, width: this.question.imageWidth }}\n alt=\"File preview\"\n />\n ) : (this.question.cssClasses.defaultImage?(\n <SvgIcon iconName={this.question.cssClasses.defaultImageIconId} size={\"auto\"} className={this.question.cssClasses.defaultImage}></SvgIcon>\n ):null)}\n {val.name && !this.question.isReadOnly ? (\n <div className={this.question.getRemoveButtonCss()} onClick={(event) => this.question.doRemoveFile(val, event)}>\n <span\n className={this.question.cssClasses.removeFile}\n >\n {this.question.removeFileCaption}\n </span>\n {(this.question.cssClasses.removeFileSvgIconId) ?\n (<SvgIcon title={this.question.removeFileCaption} iconName={this.question.cssClasses.removeFileSvgIconId} size={\"auto\"} className={this.question.cssClasses.removeFileSvg}></SvgIcon>): null }\n </div>\n ) : null}\n </div>\n {this.renderFileSign(this.question.cssClasses.fileSignBottom, val)}\n </span>\n );\n }\n protected canRender(): boolean {\n return this.question.showPreviewContainer;\n }\n}","import React from \"react\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { QuestionFileModel, QuestionFilePage } from \"survey-core\";\nimport { SurveyFileItem } from \"./file-item\";\n\nexport class SurveyFilePage extends SurveyElementBase<{ question: QuestionFileModel, page: QuestionFilePage }, {}> {\n protected get question(): QuestionFileModel {\n return this.props.question;\n }\n\n protected get page(): any {\n return this.props.page;\n }\n\n protected renderElement(): JSX.Element | null {\n const items = this.page.items.map((item: any, index: number) => { return (<SurveyFileItem item={item} question={this.question} key={index}></SurveyFileItem>); });\n return (\n <div className={this.page.css} id={this.page.id} >\n {items}\n </div>\n );\n }\n}","import React from \"react\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyFileItem } from \"./file-item\";\nimport { SurveyFilePage } from \"./file-page\";\n\nexport class SurveyFilePreview extends SurveyElementBase<{ question: QuestionFileModel }, {}> {\n\n protected get question(): QuestionFileModel {\n return this.props.question;\n }\n\n protected renderFileSign(className: string, val: any): JSX.Element | null {\n if(!className || !val.name) return null;\n return (\n <div className={className}>\n <a\n href={val.content}\n onClick={event => {\n this.question.doDownloadFile(event, val);\n }}\n title={val.name}\n download={val.name}\n style={{ width: this.question.imageWidth }}\n >\n {val.name}\n </a>\n </div>\n );\n }\n\n protected renderElement(): JSX.Element | null {\n const content = this.question.supportFileNavigator ? this.question.renderedPages.map((page: any, index: number) => { return (<SurveyFilePage page={page} question={this.question} key={page.id}></SurveyFilePage>); })\n : this.question.previewValue.map((item: any, index: number) => { return (<SurveyFileItem item={item} question={this.question} key={index}></SurveyFileItem>); });\n return <div className={this.question.cssClasses.fileList || undefined}>{content}</div>;\n }\n protected canRender(): boolean {\n return this.question.showPreviewContainer;\n }\n}\nReactElementFactory.Instance.registerElement(\n \"sv-file-preview\",\n (props) => {\n return React.createElement(SurveyFilePreview, props);\n }\n);","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { ISurveyCreator, SurveyQuestionAndErrorsWrapped, SurveyQuestionErrorCell } from \"./reactquestion\";\nimport { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\nimport { TitleContent } from \"./components/title/title-content\";\n\nexport class SurveyQuestionMultipleText extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionMultipleTextModel {\n return this.questionBase as QuestionMultipleTextModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var tableRows = this.question.getRows();\n var rows: Array<JSX.Element> = [];\n for (var i = 0; i < tableRows.length; i++) {\n if (tableRows[i].isVisible) {\n rows.push(this.renderRow(i, tableRows[i].cells, cssClasses));\n }\n }\n return (\n <table className={this.question.getQuestionRootCss()}>\n <tbody>{rows}</tbody>\n </table>\n );\n }\n\n protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): JSX.Element {\n let cellContent: JSX.Element;\n const focusIn = () => { cell.item.focusIn(); };\n if (cell.isErrorsCell) {\n cellContent = <SurveyQuestionErrorCell question={cell.item.editor} creator={this.creator}></SurveyQuestionErrorCell>;\n } else {\n cellContent = <SurveyMultipleTextItem question={this.question} item={cell.item} creator={this.creator} cssClasses={cssClasses}></SurveyMultipleTextItem>;\n }\n return (<td key={\"item\" + index} className={cell.className} onFocus={focusIn}>{cellContent}</td>);\n }\n\n protected renderRow(\n rowIndex: number,\n cells: Array<MultipleTextCell>,\n cssClasses: any\n ): JSX.Element {\n const key: string = \"item\" + rowIndex;\n const tds: Array<JSX.Element> = [];\n for (let i = 0; i < cells.length; i++) {\n const cell = cells[i];\n tds.push(\n this.renderCell(cell, cssClasses, i)\n );\n }\n return (\n <tr key={key} className={cssClasses.row}>\n {tds}\n </tr>\n );\n }\n}\n\nexport class SurveyMultipleTextItem extends ReactSurveyElement {\n private get question(): QuestionMultipleTextModel {\n return this.props.question;\n }\n private get item(): MultipleTextItemModel {\n return this.props.item;\n }\n protected getStateElements() {\n return [this.item, this.item.editor];\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n\n protected renderElement() {\n const item = this.item;\n const cssClasses = this.cssClasses;\n const titleStyle: any = {};\n if (!!this.question.itemTitleWidth) {\n titleStyle.minWidth = this.question.itemTitleWidth;\n titleStyle.width = this.question.itemTitleWidth;\n }\n return (<label className={this.question.getItemLabelCss(item)}>\n <span className={cssClasses.itemTitle} style={titleStyle}>\n <TitleContent element={item.editor} cssClasses={item.editor.cssClasses}></TitleContent>\n </span>\n <SurveyMultipleTextItemEditor\n cssClasses={cssClasses}\n itemCss={this.question.getItemCss()}\n question={item.editor}\n creator={this.creator}\n />\n </label>);\n }\n}\n\nexport class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {\n protected renderElement(): JSX.Element {\n return <div className={this.itemCss}>{this.renderContent()}</div>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"multipletext\", (props) => {\n return React.createElement(SurveyQuestionMultipleText, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase, ReactSurveyElement } from \"./reactquestion_element\";\nimport { QuestionRadiogroupModel, ItemValue, Base, SurveyModel } from \"survey-core\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionRadiogroupModel {\n return this.questionBase as QuestionRadiogroupModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var clearButton: JSX.Element | null = null;\n if (this.question.showClearButtonInContent) {\n clearButton = (\n <div>\n <input\n type=\"button\"\n className={this.question.cssClasses.clearButton}\n onClick={() => this.question.clearValue(true)}\n value={this.question.clearButtonCaption}\n />\n </div>\n );\n }\n return (\n <fieldset\n className={this.question.getSelectBaseRootCss()}\n ref={(fieldset) => (this.setControl(fieldset))}\n role={this.question.a11y_input_ariaRole}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n >\n {this.question.hasColumns\n ? this.getColumnedBody(cssClasses)\n : this.getBody(cssClasses)}\n {this.getFooter()}\n {this.question.isOtherSelected ? this.renderOther(cssClasses) : null}\n {clearButton}\n </fieldset>\n );\n }\n protected getFooter() {\n if (this.question.hasFootItems) {\n return this.question.footItems.map((item: any, ii: number) =>\n this.renderItem(\n item,\n false,\n this.question.cssClasses\n )\n );\n }\n }\n protected getColumnedBody(cssClasses: any) {\n return (\n <div className={cssClasses.rootMultiColumn}>\n {this.getColumns(cssClasses)}\n </div>\n );\n }\n protected getColumns(cssClasses: any) {\n var value = this.getStateValue();\n return this.question.columns.map((column: Array<ItemValue>, ci: number) => {\n var items = column.map((item: any, ii: number) =>\n this.renderItem(item, value, cssClasses, \"\" + ci + ii)\n );\n return (\n <div key={\"column\" + ci + this.question.getItemsColumnKey(column)} className={this.question.getColumnClass()} role=\"presentation\">\n {items}\n </div>\n );\n });\n }\n\n protected getBody(cssClasses: any): JSX.Element {\n if (this.question.blockedRow) {\n return <div className={cssClasses.rootRow}>{this.getItems(cssClasses, this.question.dataChoices)}</div>;\n }\n else return <>{this.getItems(cssClasses, this.question.bodyItems)}</>;\n }\n\n protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any> {\n var items: Array<JSX.Element> = [];\n var value = this.getStateValue();\n for (var i = 0; i < choices.length; i++) {\n var item = choices[i];\n var renderedItem = this.renderItem(item, value, cssClasses, \"\" + i);\n items.push(renderedItem);\n }\n return items;\n }\n protected get textStyle(): any {\n return null;//{ display: \"inline\", position: \"static\" };\n }\n protected renderOther(cssClasses: any): JSX.Element {\n return (\n <div className={this.question.getCommentAreaCss(true)}>\n <SurveyQuestionOtherValueItem\n question={this.question}\n otherCss={cssClasses.other}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n />\n </div>\n );\n }\n private renderItem(\n item: ItemValue,\n value: any,\n cssClasses: any,\n index?: string\n ): JSX.Element {\n const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {\n key: item.value,\n question: this.question,\n cssClasses: cssClasses,\n isDisplayMode: this.isDisplayMode,\n item: item,\n textStyle: this.textStyle,\n index: index,\n isChecked: value === item.value,\n });\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if (!!survey) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n private getStateValue(): any {\n return !this.question.isEmpty() ? this.question.renderedValue : \"\";\n }\n}\n\nexport class SurveyQuestionRadioItem extends ReactSurveyElement {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n this.handleOnChange = this.handleOnChange.bind(this);\n this.handleOnMouseDown = this.handleOnMouseDown.bind(this);\n }\n protected getStateElement(): Base {\n return this.item;\n }\n protected get question(): QuestionRadiogroupModel {\n return this.props.question;\n }\n protected get item(): ItemValue {\n return this.props.item;\n }\n protected get textStyle(): any {\n return this.props.textStyle;\n }\n protected get index(): number {\n return this.props.index;\n }\n protected get isChecked(): boolean {\n return this.props.isChecked;\n }\n private get hideCaption(): boolean {\n return this.props.hideCaption === true;\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (!this.question) return false;\n return (\n !this.question.customWidget ||\n !!this.question.customWidgetData.isNeedRender ||\n !!this.question.customWidget.widgetJson.isDefaultRender ||\n !!this.question.customWidget.widgetJson.render\n );\n }\n handleOnChange(event: any) {\n this.question.clickItemHandler(this.item);\n }\n handleOnMouseDown(event: any) {\n this.question.onMouseDown();\n }\n protected canRender(): boolean {\n return !!this.question && !!this.item;\n }\n\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if (prevProps.item !== this.props.item && !this.question.isDesignMode) {\n if(this.props.item) {\n this.props.item.setRootElement(this.rootRef.current);\n }\n if(prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n }\n }\n\n protected renderElement(): JSX.Element {\n var itemClass = this.question.getItemClass(this.item);\n var labelClass = this.question.getLabelClass(this.item);\n var controlLabelClass = this.question.getControlLabelClass(this.item);\n const itemLabel = !this.hideCaption ? <span className={controlLabelClass}>{this.renderLocString(this.item.locText, this.textStyle)}</span> : null;\n return (\n <div\n className={itemClass}\n role=\"presentation\"\n ref={this.rootRef}\n >\n <label onMouseDown={this.handleOnMouseDown} className={labelClass}>\n <input\n aria-errormessage={this.question.ariaErrormessage}\n className={this.cssClasses.itemControl}\n id={this.question.getItemId(this.item)}\n type=\"radio\"\n name={this.question.questionName}\n checked={this.isChecked}\n value={this.item.value}\n disabled={!this.question.getItemEnabled(this.item)}\n readOnly={this.question.isReadOnlyAttr}\n onChange={this.handleOnChange}\n />\n {\n this.cssClasses.materialDecorator ?\n <span className={this.cssClasses.materialDecorator}>\n {this.question.itemSvgIcon ?\n <svg\n className={this.cssClasses.itemDecorator}\n >\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg> :\n null\n }\n </span> :\n null\n }\n {itemLabel}\n </label>\n </div>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(this.rootRef.current as HTMLElement);\n }\n }\n public componentWillUnmount(): void {\n super.componentWillUnmount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(undefined as any);\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey-radiogroup-item\", (props: any) => {\n return React.createElement(SurveyQuestionRadioItem, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"radiogroup\", (props) => {\n return React.createElement(SurveyQuestionRadiogroup, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\nimport { QuestionTextModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { CharacterCounterComponent } from \"./components/character-counter\";\n\nexport class SurveyQuestionText extends SurveyQuestionUncontrolledElement<\n QuestionTextModel\n> {\n //controlRef: React.RefObject<HTMLInputElement>;\n constructor(props: any) {\n super(props);\n //this.controlRef = React.createRef();\n }\n protected renderInput() {\n const inputClass = (this.question as QuestionTextModel).getControlClass();\n\n const placeholder = this.question.renderedPlaceholder;\n if (this.question.isReadOnlyRenderDiv()) {\n return <div>{this.question.inputValue}</div>;\n }\n const counter = !!this.question.getMaxLength() ? (<CharacterCounterComponent counter={this.question.characterCounter} remainingCharacterCounter={this.question.cssClasses.remainingCharacterCounter}></CharacterCounterComponent>) : null;\n return (\n <>\n <input\n id={this.question.inputId}\n // disabled={this.isDisplayMode}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n className={inputClass}\n type={this.question.inputType}\n //ref={this.controlRef}\n ref={(input) => (this.setControl(input))}\n style={this.question.inputStyle}\n maxLength={this.question.getMaxLength()}\n min={this.question.renderedMin}\n max={this.question.renderedMax}\n step={this.question.renderedStep}\n size={this.question.inputSize}\n placeholder={placeholder}\n list={this.question.dataListId}\n autoComplete={this.question.autocomplete}\n onBlur={(event) => { this.question.onBlur(event); }}\n onFocus={(event) => { this.question.onFocus(event); }}\n onChange={this.question.onChange}\n onKeyUp={this.question.onKeyUp}\n onKeyDown={this.question.onKeyDown}\n onCompositionUpdate={(event) => this.question.onCompositionUpdate(event.nativeEvent)}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n />\n {counter}\n </>\n );\n }\n protected renderElement(): JSX.Element {\n return (\n this.question.dataListId ?\n <div>\n { this.renderInput() }\n { this.renderDataList() }\n </div>:\n this.renderInput()\n );\n }\n protected setValueCore(newValue: any) {\n this.question.inputValue = newValue;\n }\n protected getValueCore(): any {\n return this.question.inputValue;\n }\n private renderDataList(): JSX.Element | null {\n if (!this.question.dataListId) return null;\n var items = this.question.dataList;\n if (items.length == 0) return null;\n var options:Array<JSX.Element> = [];\n for (var i = 0; i < items.length; i++) {\n options.push(<option key={\"item\"+i} value={items[i]}></option>);\n }\n return <datalist id={this.question.dataListId}>{options}</datalist>;\n }\n // protected updateDomElement() {\n // this.control = this.controlRef.current;\n // super.updateDomElement();\n // }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"text\", (props) => {\n return React.createElement(SurveyQuestionText, props);\n});\n","import * as React from \"react\";\nimport { QuestionBooleanModel, CssClassBuilder, Base } from \"survey-core\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionBoolean extends SurveyQuestionElementBase {\n protected checkRef: React.RefObject<HTMLInputElement>;\n constructor(props: any) {\n super(props);\n this.handleOnChange = this.handleOnChange.bind(this);\n this.handleOnClick = this.handleOnClick.bind(this);\n this.handleOnLabelClick = this.handleOnLabelClick.bind(this);\n this.handleOnSwitchClick = this.handleOnSwitchClick.bind(this);\n this.handleOnKeyDown = this.handleOnKeyDown.bind(this);\n this.checkRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.question;\n }\n protected get question(): QuestionBooleanModel {\n return this.questionBase as QuestionBooleanModel;\n }\n /*\n private get allowClick(): boolean {\n return this.question.isIndeterminate && !this.isDisplayMode;\n }\n */\n private doCheck(value: boolean) {\n this.question.booleanValue = value;\n }\n handleOnChange(event: any) {\n this.doCheck(event.target.checked);\n }\n handleOnClick(event: any) {\n this.question.onLabelClick(event, true);\n }\n handleOnSwitchClick(event: any) {\n this.question.onSwitchClickModel(event.nativeEvent);\n }\n handleOnLabelClick(event: any, value: boolean) {\n this.question.onLabelClick(event, value);\n }\n handleOnKeyDown(event: any) {\n this.question.onKeyDownCore(event);\n }\n\n protected updateDomElement() {\n if (!this.question) return;\n const el = this.checkRef.current;\n if (el) {\n el.indeterminate = this.question.isIndeterminate;\n }\n this.setControl(el);\n super.updateDomElement();\n }\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const itemClass: string = this.question.getItemCss();\n return (\n <div className={cssClasses.root} onKeyDown={this.handleOnKeyDown}>\n <label className={itemClass} onClick={this.handleOnClick}>\n <input\n ref={this.checkRef}\n type=\"checkbox\"\n name={this.question.name}\n value={\n this.question.booleanValue === null\n ? \"\"\n : this.question.booleanValue\n }\n id={this.question.inputId}\n className={cssClasses.control}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.booleanValue || false}\n onChange={this.handleOnChange}\n role={this.question.a11y_input_ariaRole}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n />\n <div className={cssClasses.sliderGhost} onClick={(event) => this.handleOnLabelClick(event, this.question.swapOrder)}>\n <span className={this.question.getLabelCss(this.question.swapOrder)}>\n {this.renderLocString(this.question.locLabelLeft)}\n </span>\n </div>\n <div className={cssClasses.switch} onClick={this.handleOnSwitchClick}>\n <span className={cssClasses.slider}>\n {\n this.question.isDeterminated && cssClasses.sliderText ?\n <span className={cssClasses.sliderText}>{this.renderLocString(this.question.getCheckedLabel())}</span>\n : null\n }\n </span>\n </div>\n <div className={cssClasses.sliderGhost} onClick={(event) => this.handleOnLabelClick(event, !this.question.swapOrder)}>\n <span className={this.question.getLabelCss(!this.question.swapOrder)}>\n {this.renderLocString(this.question.locLabelRight)}\n </span>\n </div>\n </label>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"boolean\", (props) => {\n return React.createElement(SurveyQuestionBoolean, props);\n});\n","import * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionBoolean } from \"./boolean\";\nimport { TitleActions } from \"./components/title/title-actions\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\nexport class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {\n constructor(props: any) {\n super(props);\n }\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const itemClass = this.question.getCheckboxItemCss();\n const description = this.question.canRenderLabelDescription ?\n SurveyElementBase.renderQuestionDescription(this.question) : null;\n return (\n <div className={cssClasses.rootCheckbox}>\n <div className={itemClass}>\n <label className={cssClasses.checkboxLabel}>\n <input\n ref={this.checkRef}\n type=\"checkbox\"\n name={this.question.name}\n value={\n this.question.booleanValue === null\n ? \"\"\n : this.question.booleanValue\n }\n id={this.question.inputId}\n className={cssClasses.controlCheckbox}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.booleanValue || false}\n onChange={this.handleOnChange}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <span className={cssClasses.checkboxMaterialDecorator}>\n {this.question.svgIcon ?\n <svg\n className={cssClasses.checkboxItemDecorator}\n >\n <use xlinkHref={this.question.svgIcon}></use>\n </svg> : null\n }\n <span className=\"check\" />\n </span>\n {this.question.isLabelRendered && (\n <span className={cssClasses.checkboxControlLabel} id={this.question.labelRenderedAriaID}>\n <TitleActions element={this.question} cssClasses={this.question.cssClasses}></TitleActions>\n </span>\n )}\n </label>\n {description}\n </div>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-boolean-checkbox\",\n (props) => {\n return React.createElement(SurveyQuestionBooleanCheckbox, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"boolean\",\n \"checkbox\",\n \"sv-boolean-checkbox\"\n);\n","import * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionBoolean } from \"./boolean\";\n\nexport class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {\n constructor(props: any) {\n super(props);\n }\n private renderRadioItem(value: any, locText: any): JSX.Element {\n const cssClasses = this.question.cssClasses;\n return (\n <div role=\"presentation\" className={ this.question.getRadioItemClass(cssClasses, value) }>\n <label className= { cssClasses.radioLabel }>\n <input\n type=\"radio\"\n name = { this.question.name }\n value = { value }\n aria-errormessage = { this.question.ariaErrormessage }\n checked={value === this.question.booleanValueRendered}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n className = { cssClasses.itemRadioControl }\n onChange={ this.handleOnChange }\n />\n { this.question.cssClasses.materialRadioDecorator?\n (<span className={ cssClasses.materialRadioDecorator }>\n { this.question.itemSvgIcon ?\n (<svg className={cssClasses.itemRadioDecorator}>\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg>):null}\n </span>):null}\n <span className= { cssClasses.radioControlLabel }>\n { this.renderLocString(locText) }\n </span>\n </label>\n </div>\n );\n }\n handleOnChange = (event: any) => {\n this.question.booleanValue = event.nativeEvent.target.value == \"true\";\n }\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n return (\n <div className={cssClasses.rootRadio}>\n <fieldset role=\"presentation\" className= { cssClasses.radioFieldset }>\n {!this.question.swapOrder ?\n (<>{this.renderRadioItem(false, this.question.locLabelFalse)}\n {this.renderRadioItem(true, this.question.locLabelTrue)}</>)\n :\n (<>{this.renderRadioItem(true, this.question.locLabelTrue)}\n {this.renderRadioItem(false, this.question.locLabelFalse)}</>)\n }\n </fieldset>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-boolean-radio\",\n (props) => {\n return React.createElement(SurveyQuestionBooleanRadio, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"boolean\",\n \"radio\",\n \"sv-boolean-radio\"\n);\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionEmptyModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionEmpty extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.state = { value: this.question.value };\n }\n protected get question(): QuestionEmptyModel {\n return this.questionBase as QuestionEmptyModel;\n }\n protected renderElement(): JSX.Element {\n return <div />;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"empty\", (props) => {\n return React.createElement(SurveyQuestionEmpty, props);\n});\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\n\ninterface IMatrixRowProps {\n model: QuestionMatrixDropdownRenderedRow;\n parentMatrix: QuestionMatrixDropdownModelBase;\n}\n\nexport class MatrixRow extends SurveyElementBase<IMatrixRowProps, any> {\n private root: React.RefObject<HTMLTableRowElement> = React.createRef();\n constructor(props: IMatrixRowProps) {\n super(props);\n }\n get model(): QuestionMatrixDropdownRenderedRow {\n return this.props.model;\n }\n get parentMatrix(): QuestionMatrixDropdownModelBase {\n return this.props.parentMatrix;\n }\n protected getStateElement() {\n return this.model;\n }\n protected onPointerDownHandler = (event: any) => {\n this.parentMatrix.onPointerDown(event.nativeEvent, this.model.row);\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n if(this.root.current) {\n this.model.setRootElement(this.root.current);\n }\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.model.setRootElement(undefined as any);\n }\n\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (nextProps.model !== this.model) {\n if(nextProps.element) {\n nextProps.element.setRootElement(this.root.current);\n }\n if(this.model) {\n this.model.setRootElement(undefined as any);\n }\n }\n return true;\n }\n\n render() {\n const model = this.model;\n if(!model.visible) return null;\n return (\n <tr\n ref={this.root}\n className={model.className}\n data-sv-drop-target-matrix-row={model.row && model.row.id}\n onPointerDown={(event: any) => this.onPointerDownHandler(event)}\n >\n {this.props.children}\n </tr>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-row\",\n (props: IMatrixRowProps) => {\n return React.createElement(MatrixRow, props);\n }\n);\n","import React from \"react\";\nimport { QuestionMatrixDropdownModelBase } from \"survey-core\";\nimport { ReactElementFactory } from \"../../../element-factory\";\nimport { ReactSurveyElement } from \"../../../reactquestion_element\";\n\nexport class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {\n private get question(): QuestionMatrixDropdownModelBase {\n return this.props.item.data.question;\n }\n protected renderElement(): JSX.Element | null {\n return <div>{this.renderIcon()}</div>;\n }\n protected renderIcon(): JSX.Element {\n if(this.question.iconDragElement) {\n return (<svg className={this.question.cssClasses.dragElementDecorator} >\n <use xlinkHref={this.question.iconDragElement}></use>\n </svg>);\n } else {\n return (<span className={this.question.cssClasses.iconDrag} />);\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-drag-drop-icon\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixDynamicDragDropIcon, props);\n }\n);\n","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyElementBase,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { ISurveyCreator, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionErrorCell } from \"./reactquestion\";\nimport {\n QuestionMatrixDropdownModelBase,\n QuestionMatrixDropdownRenderedRow,\n QuestionMatrixDropdownRenderedCell,\n MatrixDropdownColumn,\n AdaptiveActionContainer,\n Question,\n Base,\n} from \"survey-core\";\nimport { SurveyQuestionCheckboxItem } from \"./reactquestion_checkbox\";\nimport { SurveyQuestionRadioItem } from \"./reactquestion_radiogroup\";\nimport { SurveyPanel } from \"./panel\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { MatrixRow } from \"./components/matrix/row\";\nimport { SurveyQuestionMatrixDynamicDragDropIcon } from \"./components/matrix-actions/drag-drop-icon/drag-drop-icon\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nclass SurveyQuestionMatrixTable extends SurveyElementBase<{ question: QuestionMatrixDropdownModelBase, wrapCell: (cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element, reason: string) => JSX.Element, creator: ISurveyCreator}, any> {\n protected get question() {\n return this.props.question;\n }\n protected get creator() {\n return this.props.creator;\n }\n protected get table() {\n return this.question.renderedTable;\n }\n protected getStateElement() {\n return this.table;\n }\n protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element, reason: string): JSX.Element {\n return this.props.wrapCell(cell, element, reason);\n }\n renderHeader(): JSX.Element | null {\n const table = this.question.renderedTable;\n if (!table.showHeader) return null;\n const headers: any[] = [];\n const cells = table.headerRow.cells;\n for (var i = 0; i < cells.length; i++) {\n const cell = cells[i];\n const key = \"column\" + i;\n const columnStyle: any = {};\n if (!!cell.width) {\n columnStyle.width = cell.width;\n }\n if (!!cell.minWidth) {\n columnStyle.minWidth = cell.minWidth;\n }\n const cellContent = this.renderCellContent(cell, \"column-header\", {});\n const header = cell.hasTitle ?\n <th className={cell.className} key={key} style={columnStyle}> {cellContent} </th>\n : <td className={cell.className} key={key} style={columnStyle}></td>;\n headers.push(header);\n }\n return (\n <thead>\n <tr>{headers}</tr>\n </thead>\n );\n }\n renderFooter(): JSX.Element | null {\n const table = this.question.renderedTable;\n if (!table.showFooter) return null;\n const row = this.renderRow(\n \"footer\",\n table.footerRow,\n this.question.cssClasses,\n \"row-footer\"\n );\n return <tfoot>{row}</tfoot>;\n }\n renderRows(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const rows:Array<JSX.Element> = [];\n const renderedRows = this.question.renderedTable.renderedRows;\n for (var i = 0; i < renderedRows.length; i++) {\n rows.push(\n this.renderRow(renderedRows[i].id, renderedRows[i], cssClasses)\n );\n }\n return <tbody>{rows}</tbody>;\n }\n renderRow(\n keyValue: any,\n row: QuestionMatrixDropdownRenderedRow,\n cssClasses: any,\n reason?: string\n ): JSX.Element {\n const matrixrow:Array<JSX.Element> = [];\n const cells = row.cells;\n\n for (var i = 0; i < cells.length; i++) {\n matrixrow.push(this.renderCell(cells[i], i, cssClasses, reason));\n }\n const key = \"row\" + keyValue;\n\n return (\n <React.Fragment key={key}>\n {(reason == \"row-footer\") ? <tr>{matrixrow}</tr> : <MatrixRow model={row} parentMatrix={this.question}>{matrixrow}</MatrixRow>}\n </React.Fragment>\n );\n }\n\n renderCell(\n cell: QuestionMatrixDropdownRenderedCell,\n index: number,\n cssClasses: any,\n reason?: string\n ): JSX.Element {\n const key = \"cell\" + index;\n if (cell.hasQuestion) {\n return (\n <SurveyQuestionMatrixDropdownCell\n key={key}\n cssClasses={cssClasses}\n cell={cell}\n creator={this.creator}\n reason={reason}\n />\n );\n }\n if (cell.isErrorsCell) {\n if(cell.isErrorsCell) {\n return (\n <SurveyQuestionMatrixDropdownErrorsCell\n cell={cell}\n key={key}\n keyValue={key}\n question={cell.question}\n creator={this.creator}\n >\n </SurveyQuestionMatrixDropdownErrorsCell>\n );\n }\n }\n let calcReason = reason;\n if(!calcReason) {\n calcReason = cell.hasTitle ? \"row-header\" : \"\";\n }\n const cellContent = this.renderCellContent(cell, calcReason, cssClasses);\n let cellStyle: any = null;\n if (!!cell.width || !!cell.minWidth) {\n cellStyle = {};\n if (!!cell.width) cellStyle.width = cell.width;\n if (!!cell.minWidth) cellStyle.minWidth = cell.minWidth;\n }\n return (\n <td\n className={cell.className}\n key={key}\n style={cellStyle}\n colSpan={cell.colSpans}\n title={cell.getTitle()}\n >\n {cellContent}\n </td>\n );\n }\n private renderCellContent(\n cell: QuestionMatrixDropdownRenderedCell,\n reason: string,\n cssClasses: any\n ): JSX.Element | null {\n let cellContent: JSX.Element | null = null;\n let cellStyle: any = null;\n if (!!cell.width || !!cell.minWidth) {\n cellStyle = {};\n if (!!cell.width) cellStyle.width = cell.width;\n if (!!cell.minWidth) cellStyle.minWidth = cell.minWidth;\n }\n if (cell.hasTitle) {\n reason = \"row-header\";\n const str = this.renderLocString(cell.locTitle);\n const require = !!cell.column ? <SurveyQuestionMatrixHeaderRequired column={cell.column} question={this.question}/> : null;\n cellContent = (<>{str}{require}</>);\n }\n if (cell.isDragHandlerCell) {\n cellContent = (<>\n <SurveyQuestionMatrixDynamicDragDropIcon item={{ data: { row: cell.row, question: this.question } }}/>\n </>);\n }\n if (cell.isActionsCell) {\n cellContent = (\n ReactElementFactory.Instance.createElement(\"sv-matrixdynamic-actions-cell\", {\n question: this.question, cssClasses, cell, model: cell.item.getData()\n })\n );\n }\n if (cell.hasPanel) {\n cellContent = (\n <SurveyPanel\n key={cell.panel.id}\n element={cell.panel}\n survey={this.question.survey}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n creator={this.creator}\n />\n );\n }\n if (!cellContent) return null;\n\n const readyCell = (\n <>\n {cellContent}\n </>\n );\n return this.wrapCell(cell, readyCell, reason);\n }\n protected renderElement(): JSX.Element | null {\n const header = this.renderHeader();\n const footers = this.renderFooter();\n const rows = this.renderRows();\n return (\n <table className={this.question.getTableCss()}>\n {header}\n {rows}\n {footers}\n </table>\n );\n }\n}\n\nexport class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n //Create rendered table in contructor and not on rendering\n const table = this.question.renderedTable;\n this.state = this.getState();\n }\n protected get question(): QuestionMatrixDropdownModelBase {\n return this.questionBase as QuestionMatrixDropdownModelBase;\n }\n private getState(prevState: any = null) {\n return { rowCounter: !prevState ? 0 : prevState.rowCounter + 1 };\n }\n private updateStateOnCallback() {\n if (this.isRendering) return;\n this.setState(this.getState(this.state));\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.question.onRenderedTableResetCallback = () => {\n this.updateStateOnCallback();\n };\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.question.onRenderedTableResetCallback = () => {};\n }\n protected renderElement(): JSX.Element {\n return this.renderTableDiv();\n }\n renderTableDiv(): JSX.Element {\n var divStyle = this.question.showHorizontalScroll\n ? ({ overflowX: \"scroll\" } as React.CSSProperties)\n : ({} as React.CSSProperties);\n return (\n <div style={divStyle} className={this.question.cssClasses.tableWrapper} ref={(root) => (this.setControl(root))}>\n <SurveyQuestionMatrixTable question={this.question} creator={this.creator} wrapCell={(cell, element, reason) => this.wrapCell(cell, element, reason)}></SurveyQuestionMatrixTable>\n </div>\n );\n }\n}\n\nclass SurveyQuestionMatrixActionsCell extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n get model(): AdaptiveActionContainer {\n return this.props.model;\n }\n protected renderElement(): JSX.Element {\n return (\n <SurveyActionBar model={this.model} handleClick={false}></SurveyActionBar>\n );\n }\n}\n\nclass SurveyQuestionMatrixDropdownErrorsCell extends SurveyQuestionErrorCell {\n constructor(props: any) {\n super(props);\n }\n protected get key() {\n return this.props.keyValue;\n }\n protected get cell() {\n return this.props.cell;\n }\n public render(): JSX.Element | null {\n if(!this.cell.isVisible) return null;\n return <td\n className={this.cell.className}\n key={this.key}\n colSpan={this.cell.colSpans}\n title={this.cell.getTitle()}\n >\n {super.render()}\n </td>;\n }\n protected getQuestionPropertiesToTrack(): string[] {\n return super.getQuestionPropertiesToTrack().concat([\"visible\"]);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrixdynamic-actions-cell\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixActionsCell, props);\n }\n);\nclass SurveyQuestionMatrixHeaderRequired extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n get column(): MatrixDropdownColumn {\n return this.props.column;\n }\n get question(): Question {\n return this.props.question;\n }\n protected getStateElement(): Base {\n return this.column;\n }\n protected renderElement(): JSX.Element | null {\n if(!this.column.isRenderedRequired) return null;\n return (\n <>\n <span>&nbsp;</span>\n <span className={this.question.cssClasses.cellRequiredText}>{this.column.requiredText}</span>\n </>\n );\n }\n}\n\nexport class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {\n constructor(props: any) {\n super(props);\n }\n private get cell(): QuestionMatrixDropdownRenderedCell {\n return this.props.cell;\n }\n protected get itemCss(): string {\n return !!this.cell ? this.cell.className : \"\";\n }\n protected getQuestion(): Question | any {\n var q = super.getQuestion();\n if (!!q) return q;\n return !!this.cell ? this.cell.question : null;\n }\n protected doAfterRender(): void {\n var el = this.cellRef.current;\n if (\n el &&\n this.cell &&\n this.question &&\n this.question.survey &&\n el.getAttribute(\"data-rendered\") !== \"r\"\n ) {\n el.setAttribute(\"data-rendered\", \"r\");\n const options = {\n cell: this.cell,\n cellQuestion: this.question,\n htmlElement: el,\n row: this.cell.row,\n column: this.cell.cell.column,\n };\n this.question.survey.matrixAfterCellRender(this.question, options);\n this.question.afterRenderCore(el);\n }\n }\n protected getShowErrors(): boolean {\n return (\n this.question.isVisible &&\n (!this.cell.isChoice || this.cell.isFirstChoice)\n );\n }\n protected getCellStyle(): any {\n var res: any = super.getCellStyle();\n if (!!this.cell.width || !!this.cell.minWidth) {\n if (!res) res = {};\n if (!!this.cell.width) res.width = this.cell.width;\n if (!!this.cell.minWidth) res.minWidth = this.cell.minWidth;\n }\n\n return res;\n }\n\n protected getHeaderText(): string {\n return this.cell.headers;\n }\n protected renderElement(): JSX.Element | null {\n if(!this.cell.isVisible) {\n return null;\n }\n return super.renderElement();\n }\n protected renderCellContent() {\n const content = super.renderCellContent();\n const responsiveTitle = this.cell.showResponsiveTitle ? (<span className={this.cell.responsiveTitleCss}>{this.renderLocString(this.cell.responsiveLocTitle)}</span>) : null;\n return <>\n {responsiveTitle}\n {content}\n </>;\n }\n protected renderQuestion(): JSX.Element {\n if(!this.question.isVisible) return <></>;\n if (!this.cell.isChoice)\n return SurveyQuestion.renderQuestionBody(this.creator, this.question);\n if (this.cell.isOtherChoice) return this.renderOtherComment();\n if (this.cell.isCheckbox) return this.renderCellCheckboxButton();\n return this.renderCellRadiogroupButton();\n }\n private renderOtherComment(): JSX.Element {\n const question = this.cell.question;\n const cssClasses = question.cssClasses || {};\n return <SurveyQuestionOtherValueItem question={question} cssClasses={cssClasses} otherCss={cssClasses.other} isDisplayMode={question.isInputReadOnly} />;\n }\n private renderCellCheckboxButton(): JSX.Element {\n var key = this.cell.question.id + \"item\" + this.cell.choiceIndex;\n return (\n <SurveyQuestionCheckboxItem\n key={key}\n question={this.cell.question}\n cssClasses={this.cell.question.cssClasses}\n isDisplayMode={this.cell.question.isInputReadOnly}\n item={this.cell.item}\n isFirst={this.cell.isFirstChoice}\n index={this.cell.choiceIndex.toString()}\n hideCaption={true}\n />\n );\n }\n private renderCellRadiogroupButton(): JSX.Element {\n var key = this.cell.question.id + \"item\" + this.cell.choiceIndex;\n return (\n <SurveyQuestionRadioItem\n key={key}\n question={this.cell.question}\n cssClasses={this.cell.question.cssClasses}\n isDisplayMode={this.cell.question.isInputReadOnly}\n item={this.cell.item}\n index={this.cell.choiceIndex.toString()}\n isChecked={this.cell.question.value === this.cell.item.value}\n isDisabled={this.cell.question.isReadOnly || !this.cell.item.isEnabled}\n hideCaption={true}\n />\n );\n }\n}","import * as React from \"react\";\nimport { SurveyQuestionMatrixDropdownBase } from \"./reactquestion_matrixdropdownbase\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {\n constructor(props: any) {\n super(props);\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"matrixdropdown\", props => {\n return React.createElement(SurveyQuestionMatrixDropdown, props);\n});\n","import * as React from \"react\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionMatrixDropdownBase } from \"./reactquestion_matrixdropdownbase\";\nimport { QuestionMatrixDynamicModel } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\n\nexport class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {\n constructor(props: any) {\n super(props);\n this.handleOnRowAddClick = this.handleOnRowAddClick.bind(this);\n }\n protected get matrix(): QuestionMatrixDynamicModel {\n return this.questionBase as QuestionMatrixDynamicModel;\n }\n handleOnRowAddClick(event: any) {\n this.matrix.addRowUI();\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var showTable = this.question.renderedTable.showTable;\n var mainDiv = showTable\n ? this.renderTableDiv()\n : this.renderNoRowsContent(cssClasses);\n return (\n <div>\n {this.renderAddRowButtonOnTop(cssClasses)}\n {mainDiv}\n {this.renderAddRowButtonOnBottom(cssClasses)}\n </div>\n );\n }\n protected renderAddRowButtonOnTop(cssClasses: any): JSX.Element | null {\n if (!this.matrix.renderedTable.showAddRowOnTop) return null;\n return this.renderAddRowButton(cssClasses);\n }\n protected renderAddRowButtonOnBottom(cssClasses: any): JSX.Element | null {\n if (!this.matrix.renderedTable.showAddRowOnBottom) return null;\n return this.renderAddRowButton(cssClasses);\n }\n protected renderNoRowsContent(cssClasses: any): JSX.Element {\n const text: JSX.Element = this.renderLocString(this.matrix.locEmptyRowsText);\n const textDiv: JSX.Element = <div className={cssClasses.emptyRowsText}>{text}</div>;\n const btn: JSX.Element|undefined = this.matrix.renderedTable.showAddRow ? this.renderAddRowButton(cssClasses, true) : undefined;\n return (\n <div className={cssClasses.emptyRowsSection}>\n {textDiv}\n {btn}\n </div>\n );\n }\n protected renderAddRowButton(\n cssClasses: any,\n isEmptySection: boolean = false\n ): JSX.Element {\n return ReactElementFactory.Instance.createElement(\"sv-matrixdynamic-add-btn\", {\n question: this.question, cssClasses, isEmptySection\n });\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"matrixdynamic\", (props) => {\n return React.createElement(SurveyQuestionMatrixDynamic, props);\n});\n\nexport class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnRowAddClick = this.handleOnRowAddClick.bind(this);\n }\n protected get matrix(): QuestionMatrixDynamicModel {\n return this.props.question as QuestionMatrixDynamicModel;\n }\n handleOnRowAddClick(event: any) {\n this.matrix.addRowUI();\n }\n protected renderElement(): JSX.Element {\n const addRowText: JSX.Element = this.renderLocString(this.matrix.locAddRowText);\n const addButton = (<button\n className={this.matrix.getAddRowButtonCss(this.props.isEmptySection)}\n type=\"button\"\n disabled={this.matrix.isInputReadOnly}\n onClick={\n this.matrix.isDesignMode ? undefined : this.handleOnRowAddClick\n }\n >\n {addRowText}\n <span className={this.props.cssClasses.iconAdd} />\n </button>);\n return (\n this.props.isEmptySection ? addButton : <div className={this.props.cssClasses.footer}>{addButton}</div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrixdynamic-add-btn\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixDynamicAddButton, props);\n }\n);\n","import React from \"react\";\nimport {\n QuestionPanelDynamicModel\n} from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { ReactSurveyElement } from \"../../reactquestion_element\";\n\nexport class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected get data(): any {\n return (this.props.item && this.props.item.data) || this.props.data;\n }\n protected get question(): QuestionPanelDynamicModel {\n return (this.props.item && this.props.item.data.question) || this.props.data.question;\n }\n}\n\nexport class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.addPanelUI();\n }\n protected renderElement(): JSX.Element | null {\n if (!this.question.canAddPanel) return null;\n const btnText = this.renderLocString(this.question.locPanelAddText);\n return (\n <button type=\"button\" id={this.question.addButtonId} className={this.question.getAddButtonCss()} onClick={this.handleClick} >\n <span className={this.question.cssClasses.buttonAddText}>{btnText}</span>\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-add-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicAddButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.goToNextPanel();\n }\n protected renderElement(): JSX.Element {\n return (\n <div title={this.question.panelNextText} onClick={this.handleClick} className={this.question.getNextButtonCss()}>\n <SvgIcon\n iconName={this.question.cssClasses.progressBtnIcon}\n size={\"auto\"}\n >\n </SvgIcon>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-next-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicNextButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.goToPrevPanel();\n }\n protected renderElement(): JSX.Element {\n return (\n <div title={this.question.panelPrevText} onClick={this.handleClick} className={this.question.getPrevButtonCss()}>\n <SvgIcon\n iconName={this.question.cssClasses.progressBtnIcon}\n size={\"auto\"}\n >\n </SvgIcon>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-prev-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicPrevButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {\n protected renderElement(): JSX.Element {\n return (<div className={this.question.cssClasses.progressText}>\n {this.question.progressText}\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-progress-text\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicProgressText, props);\n }\n);","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { SurveyModel, QuestionPanelDynamicModel } from \"survey-core\";\nimport { SurveyPanel } from \"./panel\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { SurveyQuestionPanelDynamicNextButton } from \"./components/paneldynamic-actions/paneldynamic-next-btn\";\nimport { SurveyQuestionPanelDynamicPrevButton } from \"./components/paneldynamic-actions/paneldynamic-prev-btn\";\nimport { SurveyQuestionPanelDynamicProgressText } from \"./components/paneldynamic-actions/paneldynamic-progress-text\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionPanelDynamicModel {\n return this.questionBase as QuestionPanelDynamicModel;\n }\n componentDidMount() {\n super.componentDidMount();\n this.setState({ panelCounter: 0 });\n const self: SurveyQuestionPanelDynamic = this;\n this.question.panelCountChangedCallback = function () {\n self.updateQuestionRendering();\n };\n this.question.currentIndexChangedCallback = function () {\n self.updateQuestionRendering();\n };\n this.question.renderModeChangedCallback = function () {\n self.updateQuestionRendering();\n };\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.question.panelCountChangedCallback = () => {};\n this.question.currentIndexChangedCallback = () => {};\n this.question.renderModeChangedCallback = () => {};\n }\n private updateQuestionRendering() {\n this.setState({\n panelCounter: this.state ? this.state.panelCounter + 1 : 1,\n });\n }\n protected renderElement(): JSX.Element {\n const panels:Array<JSX.Element> = [];\n this.question.renderedPanels.forEach((panel, index) => {\n panels.push(<SurveyQuestionPanelDynamicItem\n key={panel.id}\n element={panel}\n question={this.question}\n index={index}\n cssClasses={this.question.cssClasses}\n isDisplayMode={this.isDisplayMode}\n creator={this.creator}\n />);\n });\n const btnAdd: JSX.Element | null = this.question.isRenderModeList && this.question[\"showLegacyNavigation\"]\n ? this.renderAddRowButton()\n : null;\n const navTop: JSX.Element | null = this.question.isProgressTopShowing\n ? this.renderNavigator()\n : null;\n const navBottom: JSX.Element | null = this.question.isProgressBottomShowing\n ? this.renderNavigator()\n : null;\n\n const navV2 = this.renderNavigatorV2();\n const noEntriesPlaceholder = this.renderPlaceholder();\n return (\n <div className={this.question.cssClasses.root}>\n {noEntriesPlaceholder}\n {navTop}\n <div className={this.question.cssClasses.panelsContainer}>\n {panels}\n </div>\n {navBottom}\n {btnAdd}\n {navV2}\n </div>\n );\n }\n protected renderNavigator(): JSX.Element | null {\n if(!this.question[\"showLegacyNavigation\"]) {\n if(this.question.isRangeShowing && this.question.isProgressTopShowing) {\n return this.renderRange();\n } else {\n return null;\n }\n }\n const range: JSX.Element | null = this.question.isRangeShowing ? this.renderRange() : null;\n const btnPrev: JSX.Element = this.rendrerPrevButton();\n const btnNext: JSX.Element = this.rendrerNextButton();\n const btnAdd: JSX.Element | null = this.renderAddRowButton();\n const progressClass: string = this.question.isProgressTopShowing\n ? this.question.cssClasses.progressTop\n : this.question.cssClasses.progressBottom;\n return (\n <div className={progressClass}>\n <div style={{ clear: \"both\" }}>\n <div className={this.question.cssClasses.progressContainer}>\n {btnPrev}\n {range}\n {btnNext}\n </div>\n {btnAdd}\n {this.renderProgressText()}\n </div>\n </div>\n );\n }\n private renderProgressText(): JSX.Element {\n return (\n <SurveyQuestionPanelDynamicProgressText data={ { question: this.question }}></SurveyQuestionPanelDynamicProgressText>\n );\n }\n\n protected rendrerPrevButton() {\n return (\n <SurveyQuestionPanelDynamicPrevButton data={ { question: this.question }}></SurveyQuestionPanelDynamicPrevButton>\n );\n }\n protected rendrerNextButton() {\n return (\n <SurveyQuestionPanelDynamicNextButton data={ { question: this.question }}></SurveyQuestionPanelDynamicNextButton>\n );\n }\n\n protected renderRange(): JSX.Element {\n return (\n <div className={this.question.cssClasses.progress}>\n <div\n className={this.question.cssClasses.progressBar}\n style={{ width: this.question.progress }}\n role=\"progressbar\"\n />\n </div>\n );\n }\n protected renderAddRowButton(): JSX.Element | null {\n return ReactElementFactory.Instance.createElement(\"sv-paneldynamic-add-btn\", {\n data: { question: this.question }\n });\n }\n protected renderNavigatorV2(): JSX.Element | null {\n if (!this.question.showNavigation) return null;\n const range: JSX.Element | null = this.question.isRangeShowing && this.question.isProgressBottomShowing ? this.renderRange() : null;\n return (<div className={this.question.cssClasses.footer}>\n <hr className={this.question.cssClasses.separator} />\n {range}\n {this.question.footerToolbar.visibleActions.length ? (<div className={this.question.cssClasses.footerButtonsContainer}>\n <SurveyActionBar model={this.question.footerToolbar}></SurveyActionBar>\n </div>) : null}\n </div>);\n }\n protected renderPlaceholder(): JSX.Element | null {\n if (this.question.getShowNoEntriesPlaceholder()) {\n return (\n <div className={this.question.cssClasses.noEntriesPlaceholder}>\n <span>{this.renderLocString(this.question.locNoEntriesText)}</span>\n {this.renderAddRowButton()}\n </div>\n );\n }\n return null;\n }\n}\n\nexport class SurveyQuestionPanelDynamicItem extends SurveyPanel {\n private get question(): QuestionPanelDynamicModel {\n return this.props.question;\n }\n private get index(): number {\n return this.props.index;\n }\n protected getSurvey(): SurveyModel | null {\n return !!this.question ? (this.question.survey as SurveyModel) : null;\n }\n protected getCss(): any {\n const survey = this.getSurvey();\n return !!survey ? survey.getCss() : {};\n }\n public render() {\n const panel = super.render();\n const removeButton = this.renderButton();\n const separator: JSX.Element | null = this.question.showSeparator(this.index) ?\n (<hr className={this.question.cssClasses.separator} />) : null;\n return (\n <>\n <div className={this.question.getPanelWrapperCss(this.panel)}>\n {panel}\n {removeButton}\n </div>\n {separator}\n </>\n );\n }\n protected renderButton(): JSX.Element | null {\n if (\n this.question.panelRemoveButtonLocation !== \"right\" ||\n !this.question.canRemovePanel ||\n (this.question.isRenderModeList && this.panel.isCollapsed)\n ) {\n return null;\n }\n return ReactElementFactory.Instance.createElement(\"sv-paneldynamic-remove-btn\", {\n data: { question: this.question, panel: this.panel }\n });\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"paneldynamic\", props => {\n return React.createElement(SurveyQuestionPanelDynamic, props);\n});\n","import * as React from \"react\";\nimport { SurveyProgressModel } from \"survey-core\";\nimport { SurveyNavigationBase } from \"./reactSurveyNavigationBase\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyProgress extends SurveyNavigationBase {\n constructor(props: any) {\n super(props);\n }\n protected get isTop(): boolean {\n return this.props.isTop;\n }\n protected get progress(): number {\n return this.survey.progressValue;\n }\n protected get progressText(): string {\n return this.survey.progressText;\n }\n render(): JSX.Element {\n var progressStyle = {\n width: this.progress + \"%\",\n };\n return (\n <div className={this.survey.getProgressCssClasses(this.props.container)}>\n <div\n style={progressStyle}\n className={this.css.progressBar}\n role=\"progressbar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-label=\"progress\"\n >\n <span\n className={SurveyProgressModel.getProgressTextInBarCss(this.css)}\n >\n {this.progressText}\n </span>\n </div>\n <span\n className={SurveyProgressModel.getProgressTextUnderBarCss(this.css)}\n >\n {this.progressText}\n </span>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-progress-pages\", props => {\n return React.createElement(SurveyProgress, props);\n});\nReactElementFactory.Instance.registerElement(\"sv-progress-questions\", props => {\n return React.createElement(SurveyProgress, props);\n});\nReactElementFactory.Instance.registerElement(\n \"sv-progress-correctquestions\",\n props => {\n return React.createElement(SurveyProgress, props);\n }\n);\nReactElementFactory.Instance.registerElement(\n \"sv-progress-requiredquestions\",\n props => {\n return React.createElement(SurveyProgress, props);\n }\n);\n","import * as React from \"react\";\nimport { ProgressButtons, PageModel, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from \"survey-core\";\nimport { SurveyNavigationBase } from \"./reactSurveyNavigationBase\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\nexport class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {\n private respManager: ProgressButtonsResponsivityManager;\n private listContainerRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.listContainerRef = React.createRef();\n }\n protected get model(): ProgressButtons {\n return this.props.model;\n }\n get container(): string {\n return this.props.container;\n }\n onResize(canShowItemTitles: boolean): void {\n this.setState({ canShowItemTitles });\n this.setState({ canShowHeader: !canShowItemTitles });\n }\n onUpdateScroller(hasScroller: boolean): void {\n this.setState({ hasScroller });\n }\n onUpdateSettings(): void {\n this.setState({ canShowItemTitles: this.model.showItemTitles });\n this.setState({ canShowFooter: !this.model.showItemTitles });\n }\n render(): JSX.Element {\n return (\n <div className={this.model.getRootCss(this.props.container)} style={{ \"maxWidth\": this.model.progressWidth }} role=\"progressbar\" aria-valuemin={0} aria-valuemax={100} aria-label=\"progress\">\n {this.state.canShowHeader ? <div className={this.css.progressButtonsHeader}>\n <div className={this.css.progressButtonsPageTitle} title={this.model.headerText}>{this.model.headerText}</div>\n </div> : null}\n <div className={this.css.progressButtonsContainer}>\n <div\n className={this.model.getScrollButtonCss(this.state.hasScroller, true)}\n role=\"button\"\n onClick={() =>\n this.clickScrollButton(this.listContainerRef.current, true)\n }\n ></div>\n <div\n className={this.css.progressButtonsListContainer}\n ref={this.listContainerRef}\n >\n <ul className={this.css.progressButtonsList}>\n {this.getListElements()}\n </ul>\n </div>\n <div\n className={this.model.getScrollButtonCss(this.state.hasScroller, false)}\n role=\"button\"\n onClick={() =>\n this.clickScrollButton(this.listContainerRef.current, false)\n }\n ></div>\n </div>\n {this.state.canShowFooter ? <div className={this.css.progressButtonsFooter}>\n <div className={this.css.progressButtonsPageTitle} title={this.model.footerText}>{this.model.footerText}</div>\n </div> : null}\n </div>\n );\n }\n protected getListElements(): JSX.Element[] {\n let buttons: JSX.Element[] = [];\n this.survey.visiblePages.forEach((page: PageModel, index: number) => {\n buttons.push(this.renderListElement(page, index));\n });\n return buttons;\n }\n protected renderListElement(page: PageModel, index: number): JSX.Element {\n const text = SurveyElementBase.renderLocString(page.locNavigationTitle);\n return (\n <li\n key={\"listelement\" + index}\n className={this.model.getListElementCss(index)}\n onClick={\n this.model.isListElementClickable(index)\n ? () => this.model.clickListElement(page)\n : undefined\n }\n data-page-number={this.model.getItemNumber(page)}\n >\n <div className={this.css.progressButtonsConnector}></div>\n {this.state.canShowItemTitles ? <>\n <div\n className={this.css.progressButtonsPageTitle}\n title={page.renderedNavigationTitle}\n >\n {text}\n </div>\n <div\n className={this.css.progressButtonsPageDescription}\n title={page.navigationDescription}\n >\n {page.navigationDescription}\n </div>\n </> : null}\n <div className={this.css.progressButtonsButton}><div className={this.css.progressButtonsButtonBackground}></div><div className={this.css.progressButtonsButtonContent}></div><span>{this.model.getItemNumber(page)}</span></div>\n </li>\n );\n }\n protected clickScrollButton(\n listContainerElement: Element | null,\n isLeftScroll: boolean\n ): void {\n if (!!listContainerElement) {\n listContainerElement.scrollLeft += (isLeftScroll ? -1 : 1) * 70;\n }\n }\n componentDidMount() {\n super.componentDidMount();\n setTimeout(() => {\n this.respManager = new ProgressButtonsResponsivityManager(this.model, this.listContainerRef.current as any, this);\n }, 10);\n }\n componentWillUnmount() {\n if(!!this.respManager) {\n this.respManager.dispose();\n }\n super.componentWillUnmount();\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-progress-buttons\", (props) => {\n return React.createElement(SurveyProgressButtons, props);\n});\n","import React from \"react\";\r\nimport { ListModel } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { SurveyElementBase } from \"../../reactquestion_element\";\r\nimport { attachKey2click } from \"../../reactSurvey\";\r\n\r\ninterface IListItemProps {\r\n model: ListModel;\r\n item: any;\r\n}\r\n\r\nexport class ListItem extends SurveyElementBase<IListItemProps, any> {\r\n get model(): ListModel {\r\n return this.props.model;\r\n }\r\n get item(): any {\r\n return this.props.item;\r\n }\r\n handleKeydown = (event: any) => {\r\n this.model.onKeyDown(event);\r\n };\r\n getStateElement() {\r\n return this.item;\r\n }\r\n render(): JSX.Element | null {\r\n if (!this.item) return null;\r\n const contentWrapStyle = {\r\n paddingInlineStart: this.model.getItemIndent(this.item)\r\n };\r\n const className = this.model.getItemClass(this.item);\r\n const itemContent = this.item.component || this.model.itemComponent;\r\n const newElement = ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });\r\n const contentWrap =\r\n <div\r\n style={contentWrapStyle}\r\n className={this.model.cssClasses.itemBody}\r\n title={this.item.locTitle.calculatedText}\r\n onMouseOver={(event: any) => { this.model.onItemHover(this.item); }}\r\n onMouseLeave={(event: any) => { this.model.onItemLeave(this.item); }}\r\n >\r\n {newElement}\r\n </div>;\r\n const separator = this.item.needSeparator ? <div className = {this.model.cssClasses.itemSeparator}/>:null;\r\n const isVisible = this.model.isItemVisible(this.item);\r\n const style = {\r\n display: isVisible ? null : \"none\"\r\n };\r\n return attachKey2click(\r\n <li\r\n className={className}\r\n role=\"option\"\r\n style={style as any}\r\n id={this.item.elementId}\r\n aria-selected={this.model.isItemSelected(this.item)}\r\n onClick={(event: any) => {\r\n this.model.onItemClick(this.item);\r\n event.stopPropagation();\r\n }}\r\n onPointerDown={(event: any) => this.model.onPointerDown(event, this.item)}>\r\n {separator}\r\n {contentWrap}\r\n </li>, this.item\r\n );\r\n }\r\n componentDidMount() {\r\n super.componentDidMount();\r\n\r\n this.model.onLastItemRended(this.item);\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-list-item\", (props) => {\r\n return React.createElement(ListItem, props);\r\n});\r\n","import React from \"react\";\r\nimport { IAction, ListModel, settings } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { SurveyElementBase } from \"../../reactquestion_element\";\r\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\r\nimport { ListItem } from \"./list-item\";\r\n\r\ninterface IListProps {\r\n model: ListModel;\r\n}\r\n\r\nexport class List extends SurveyElementBase<IListProps, any> {\r\n private listContainerRef: React.RefObject<HTMLDivElement>;\r\n\r\n constructor(props: any) {\r\n super(props);\r\n this.state = {\r\n filterString: this.model.filterString || \"\"\r\n };\r\n this.listContainerRef = React.createRef();\r\n }\r\n get model(): ListModel {\r\n return this.props.model;\r\n }\r\n handleKeydown = (event: any) => {\r\n this.model.onKeyDown(event);\r\n };\r\n handleMouseMove = (event: any) => {\r\n this.model.onMouseMove(event);\r\n };\r\n getStateElement() {\r\n return this.model;\r\n }\r\n componentDidMount(): void {\r\n super.componentDidMount();\r\n if(!!this.listContainerRef && !!this.listContainerRef.current) {\r\n this.model.initListContainerHtmlElement(this.listContainerRef.current);\r\n }\r\n }\r\n public componentDidUpdate(prevProps: any, prevState: any): void {\r\n super.componentDidUpdate(prevProps, prevState);\r\n if (this.model !== prevProps.model) {\r\n if(this.model && !!this.listContainerRef?.current) {\r\n this.model.initListContainerHtmlElement(this.listContainerRef.current);\r\n }\r\n if(prevProps.model) {\r\n prevProps.model.initListContainerHtmlElement(undefined as any);\r\n }\r\n }\r\n }\r\n\r\n componentWillUnmount(): void {\r\n super.componentWillUnmount();\r\n if(!!this.model) {\r\n this.model.initListContainerHtmlElement(undefined as any);\r\n }\r\n }\r\n renderElement() {\r\n return (\r\n <div className={this.model.cssClasses.root} ref={this.listContainerRef}>\r\n {this.searchElementContent()}\r\n {this.emptyContent()}\r\n {this.renderList()}\r\n </div>\r\n );\r\n }\r\n renderList() {\r\n if(!this.model.renderElements) return null;\r\n\r\n const items = this.renderItems();\r\n const ulStyle = { display: this.model.isEmpty ? \"none\" : null };\r\n\r\n return (\r\n <ul\r\n className={this.model.getListClass()}\r\n style={ulStyle as any}\r\n role=\"listbox\"\r\n id={this.model.elementId}\r\n onMouseDown={(e) => {\r\n e.preventDefault();\r\n }}\r\n onKeyDown={this.handleKeydown}\r\n onMouseMove={this.handleMouseMove}\r\n >\r\n {items}\r\n </ul>);\r\n }\r\n renderItems() {\r\n if (!this.model) {\r\n return null;\r\n }\r\n const items = this.model.renderedActions;\r\n if (!items) {\r\n return null;\r\n }\r\n return items.map((item: IAction, itemIndex: number) => {\r\n return (\r\n <ListItem model={this.model} item={item} key={\"item\" + itemIndex}></ListItem>\r\n );\r\n });\r\n }\r\n\r\n searchElementContent() {\r\n if (!this.model.showFilter) return null;\r\n else {\r\n const onChange = (e: any) => {\r\n const { root } = settings.environment;\r\n if (e.target === root.activeElement) {\r\n this.model.filterString = e.target.value;\r\n }\r\n };\r\n const onKeyUp = (e: any) => {\r\n this.model.goToItems(e);\r\n };\r\n const clearButton = this.model.showSearchClearButton && !!this.model.filterString ?\r\n <button className={this.model.cssClasses.searchClearButtonIcon} onClick={(event) => { this.model.onClickSearchClearButton(event); }}>\r\n <SvgIcon\r\n iconName={\"icon-searchclear\"}\r\n size={\"auto\"}\r\n >\r\n </SvgIcon>\r\n </button> : null;\r\n\r\n return (\r\n <div className={this.model.cssClasses.filter}>\r\n <div className={this.model.cssClasses.filterIcon}>\r\n <SvgIcon\r\n iconName={\"icon-search\"}\r\n size={\"auto\"}\r\n >\r\n </SvgIcon>\r\n </div>\r\n <input\r\n type=\"text\"\r\n className={this.model.cssClasses.filterInput}\r\n aria-label={this.model.filterStringPlaceholder}\r\n placeholder={this.model.filterStringPlaceholder}\r\n value={this.state.filterString}\r\n onKeyUp={onKeyUp}\r\n onChange={onChange}\r\n ></input>\r\n {clearButton}\r\n </div>\r\n );\r\n }\r\n }\r\n emptyContent() {\r\n const style = { display: this.model.isEmpty ? null : \"none\" };\r\n\r\n return (<div className={this.model.cssClasses.emptyContainer} style={style as any}>\r\n <div className={this.model.cssClasses.emptyText} aria-label={this.model.emptyMessage}>{this.model.emptyMessage}</div>\r\n </div>);\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-list\", (props) => {\r\n return React.createElement(List, props);\r\n});\r\n","import * as React from \"react\";\nimport { createTOCListModel, getTocRootCss, TOCModel } from \"survey-core\";\nimport { SurveyNavigationBase } from \"./reactSurveyNavigationBase\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { List } from \"./components/list/list\";\nimport { Popup } from \"./components/popup/popup\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyProgressToc extends SurveyNavigationBase {\n render(): JSX.Element {\n const tocModel = this.props.model;\n let content: JSX.Element;\n if (tocModel.isMobile) {\n content = <div onClick={tocModel.togglePopup}>\n <SvgIcon iconName={tocModel.icon} size={24} />\n <Popup model={tocModel.popupModel} />\n </div>;\n } else {\n content = <List model={tocModel.listModel} />;\n }\n return (\n <div className={tocModel.containerCss}>\n {content}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-navigation-toc\", (props) => {\n return React.createElement(SurveyProgressToc, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionRating extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.handleOnClick = this.handleOnClick.bind(this);\n }\n protected get question(): QuestionRatingModel {\n return this.questionBase as QuestionRatingModel;\n }\n handleOnClick(event: any) {\n this.question.setValueFromClick(event.target.value);\n this.setState({ value: this.question.value });\n }\n\n protected renderItem(\n item: any,\n index: Number\n ): JSX.Element {\n const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {\n question: this.question,\n item: item,\n index: index,\n key: \"value\" + index,\n handleOnClick: this.handleOnClick,\n isDisplayMode: this.isDisplayMode\n });\n return renderedItem;\n }\n\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var minText = this.question.minRateDescription\n ? this.renderLocString(this.question.locMinRateDescription)\n : null;\n var maxText = this.question.maxRateDescription\n ? this.renderLocString(this.question.locMaxRateDescription)\n : null;\n return (\n <div className={this.question.ratingRootCss} ref={(div) => (this.setControl(div))}>\n <fieldset role=\"radiogroup\">\n <legend role=\"presentation\" className={\"sv-hidden\"}></legend>\n {!!this.question.hasMinLabel ? <span className={cssClasses.minText}>{minText}</span>: null}\n {this.question.renderedRateItems.map((item, index) => this.renderItem(item, index))}\n {!!this.question.hasMaxLabel ? <span className={cssClasses.maxText}>{maxText}</span>: null}\n </fieldset>\n </div>\n );\n }\n\n}\nReactQuestionFactory.Instance.registerQuestion(\"rating\", (props) => {\n return React.createElement(SurveyQuestionRating, props);\n});\n","import * as React from \"react\";\nimport { QuestionRatingModel, RendererFactory } from \"survey-core\";\nimport { SurveyQuestionDropdownBase } from \"./dropdown-base\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport * from \"./components/rating/rating-dropdown-item\";\n\nexport class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {\n constructor(props: any) {\n super(props);\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var select = this.renderSelect(cssClasses);\n return (\n <div className={this.question.cssClasses.rootDropdown}>\n {select}\n </div>\n );\n }\n}\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-rating-dropdown\",\n (props) => {\n return React.createElement(SurveyQuestionRatingDropdown, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"rating\",\n \"dropdown\",\n \"sv-rating-dropdown\"\n);\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionExpressionModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionExpression extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionExpressionModel {\n return this.questionBase as QuestionExpressionModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n return (\n <div\n id={this.question.inputId}\n className={cssClasses.root}\n ref={(div) => (this.setControl(div))}\n >\n {this.question.formatedValue}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"expression\", (props) => {\n return React.createElement(SurveyQuestionExpression, props);\n});\n","import * as React from \"react\";\nimport { Base, PopupSurveyModel } from \"survey-core\";\nimport { Survey } from \"./reactSurvey\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class PopupSurvey extends Survey {\n protected popup: PopupSurveyModel;\n constructor(props: any) {\n super(props);\n this.handleOnExpanded = this.handleOnExpanded.bind(this);\n }\n protected getStateElements(): Array<Base> {\n return [this.popup, this.popup.survey];\n }\n handleOnExpanded(event: any) {\n this.popup.changeExpandCollapse();\n }\n protected canRender(): boolean {\n return super.canRender() && this.popup.isShowing;\n }\n protected renderElement(): JSX.Element {\n var header = this.renderWindowHeader();\n var body = this.renderBody();\n let style: React.CSSProperties = {};\n if (!!this.popup.renderedWidth) {\n style.width = this.popup.renderedWidth;\n style.maxWidth = this.popup.renderedWidth;\n }\n return (\n <div className={this.popup.cssRoot} style={style} onScroll={() => this.popup.onScroll()}>\n <div className={this.popup.cssRootContent}>\n {header}\n {body}\n </div>\n </div>\n );\n }\n protected renderWindowHeader(): JSX.Element {\n var popup = this.popup;\n var headerCss = popup.cssHeaderRoot;\n var titleCollapsed: JSX.Element | null = null;\n var expandCollapseIcon;\n var closeButton: JSX.Element | null = null;\n var allowFullScreenButon: JSX.Element | null = null;\n\n if (popup.isCollapsed) {\n headerCss += \" \" + popup.cssRootCollapsedMod;\n titleCollapsed = this.renderTitleCollapsed(popup);\n expandCollapseIcon = this.renderExpandIcon();\n } else {\n expandCollapseIcon = this.renderCollapseIcon();\n }\n\n if (popup.allowClose) {\n closeButton = this.renderCloseButton(this.popup);\n }\n\n if (popup.allowFullScreen) {\n allowFullScreenButon = this.renderAllowFullScreenButon(this.popup);\n }\n\n return (\n <div className={popup.cssHeaderRoot}>\n {titleCollapsed}\n <div className={popup.cssHeaderButtonsContainer}>\n {allowFullScreenButon}\n <div className={popup.cssHeaderCollapseButton} onClick={this.handleOnExpanded}>\n {expandCollapseIcon}\n </div>\n {closeButton}\n </div>\n </div>\n );\n }\n protected renderTitleCollapsed(popup: PopupSurveyModel): JSX.Element | null {\n if (!popup.locTitle) return null;\n return <div className={popup.cssHeaderTitleCollapsed}>{popup.locTitle.renderedHtml}</div>;\n }\n protected renderExpandIcon(): JSX.Element {\n return <SvgIcon iconName={\"icon-restore_16x16\"} size={16}></SvgIcon>;\n }\n protected renderCollapseIcon(): JSX.Element {\n return <SvgIcon iconName={\"icon-minimize_16x16\"} size={16}></SvgIcon>;\n }\n protected renderCloseButton(popup: PopupSurveyModel): JSX.Element {\n return (\n <div className={popup.cssHeaderCloseButton} onClick={() => {\n popup.hide();\n if(typeof this.props.onClose == \"function\") {\n this.props.onClose();\n }\n }}>\n <SvgIcon iconName={\"icon-close_16x16\"} size={16}></SvgIcon>\n </div>\n );\n }\n protected renderAllowFullScreenButon(popup: PopupSurveyModel): JSX.Element {\n let Icon;\n\n if (popup.isFullScreen) {\n Icon = <SvgIcon iconName={\"icon-back-to-panel_16x16\"} size={16}></SvgIcon>;\n } else {\n Icon = <SvgIcon iconName={\"icon-full-screen_16x16\"} size={16}></SvgIcon>;\n }\n\n return (\n <div className={popup.cssHeaderFullScreenButton} onClick={() => { popup.toggleFullScreen(); }}>\n {Icon}\n </div>\n );\n }\n protected renderBody(): JSX.Element {\n return <div className={this.popup.cssBody}>{this.doRender()}</div>;\n }\n protected createSurvey(newProps: any) {\n if (!newProps) newProps = {};\n super.createSurvey(newProps);\n this.popup = new PopupSurveyModel(null, this.survey);\n if (newProps.closeOnCompleteTimeout) {\n this.popup.closeOnCompleteTimeout = newProps.closeOnCompleteTimeout;\n }\n this.popup.allowClose = newProps.allowClose;\n this.popup.allowFullScreen = newProps.allowFullScreen;\n this.popup.isShowing = true;\n if (!this.popup.isExpanded && (newProps.expanded || newProps.isExpanded))\n this.popup.expand();\n }\n}\n/**\n * Obsolete. Please use PopupSurvey\n */\nexport class SurveyWindow extends PopupSurvey {}\n","import * as React from \"react\";\nimport { ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionImagePickerModel, ImageItemValue, SurveyModel, ItemValue } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyQuestionImagePicker extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionImagePickerModel {\n return this.questionBase as QuestionImagePickerModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n return (\n <fieldset className={this.question.getSelectBaseRootCss()}>\n <legend className=\"sv-hidden\">{this.question.locTitle.renderedHtml}</legend>\n {this.question.hasColumns ? this.getColumns(cssClasses) : this.getItems(cssClasses)}\n </fieldset>\n );\n }\n\n protected getColumns(cssClasses: any) {\n return this.question.columns.map((column: Array<ItemValue>, ci: number) => {\n var items = column.map((item: any, ii: number) =>\n this.renderItem(\n \"item\" + ii,\n item,\n cssClasses\n )\n );\n return (\n <div key={\"column\" + ci + this.question.getItemsColumnKey(column)} className={this.question.getColumnClass()} role=\"presentation\">\n {items}\n </div>\n );\n });\n }\n\n protected getItems(cssClasses: any): Array<any> {\n var items:Array<JSX.Element> = [];\n for (var i = 0; i < this.question.visibleChoices.length; i++) {\n var item = this.question.visibleChoices[i];\n var key = \"item\" + i;\n items.push(this.renderItem(key, item as ImageItemValue, cssClasses));\n }\n return items;\n }\n protected get textStyle(): any {\n return { marginLeft: \"3px\", display: \"inline\", position: \"static\" };\n }\n protected renderItem(\n key: string,\n item: ImageItemValue,\n cssClasses: any\n ): JSX.Element {\n const renderedItem = <SurveyQuestionImagePickerItem key={key} question={this.question} item={item} cssClasses={cssClasses}></SurveyQuestionImagePickerItem>;\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if(!!survey) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n}\nexport class SurveyQuestionImagePickerItem extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnChange = this.handleOnChange.bind(this);\n }\n protected getStateElement() {\n return this.item;\n }\n componentDidMount() {\n super.componentDidMount();\n this.reactOnStrChanged();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.item.locImageLink.onChanged = function () {};\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.reactOnStrChanged();\n }\n private reactOnStrChanged() {\n this.item.locImageLink.onChanged = () => {\n this.setState({ locImageLinkchanged: !!this.state && this.state.locImageLink ? this.state.locImageLink + 1 : 1 });\n };\n }\n protected get cssClasses() {\n return this.props.cssClasses;\n }\n\n protected get item() {\n return this.props.item;\n }\n\n protected get question() {\n return this.props.question;\n }\n\n handleOnChange(event: any) {\n if (this.question.isReadOnlyAttr) return;\n if (this.question.multiSelect) {\n if (event.target.checked) {\n this.question.value = this.question.value.concat(event.target.value);\n } else {\n var currValue = this.question.value;\n currValue.splice(this.question.value.indexOf(event.target.value), 1);\n this.question.value = currValue;\n }\n } else {\n this.question.value = event.target.value;\n }\n this.setState({ value: this.question.value });\n }\n\n protected renderElement(): JSX.Element {\n const item = this.item;\n const question = this.question;\n const cssClasses = this.cssClasses;\n var isChecked = question.isItemSelected(item);\n var itemClass = question.getItemClass(item);\n var text: JSX.Element | null = null;\n if (question.showLabel) {\n text = (\n <span\n className={question.cssClasses.itemText}\n >\n {item.text ? SurveyElementBase.renderLocString(item.locText) : item.value}\n </span>\n );\n }\n\n var style: any = { objectFit: this.question.imageFit };\n\n var control: JSX.Element | null = null;\n if (item.locImageLink.renderedHtml && this.question.contentMode === \"image\") {\n control = (\n <img\n className={cssClasses.image}\n src={item.locImageLink.renderedHtml}\n width={ this.question.renderedImageWidth }\n height={ this.question.renderedImageHeight }\n alt={item.locText.renderedHtml}\n style={style}\n onLoad={(event: any) => { this.question[\"onContentLoaded\"](item, event.nativeEvent); }}\n onError={(event: any) => { item.onErrorHandler(item, event.nativeEvent); }}\n />\n );\n }\n if (item.locImageLink.renderedHtml && this.question.contentMode === \"video\") {\n control = (\n <video controls\n className={cssClasses.image}\n src={item.locImageLink.renderedHtml}\n width={ this.question.renderedImageWidth }\n height={ this.question.renderedImageHeight }\n style={style}\n onLoadedMetadata={(event: any) => { this.question[\"onContentLoaded\"](item, event.nativeEvent); }}\n onError={(event: any) => { item.onErrorHandler(item, event.nativeEvent); }}\n ></video>\n );\n }\n if (!item.locImageLink.renderedHtml || item.contentNotLoaded) {\n let style: any = {\n width: this.question.renderedImageWidth,\n height: this.question.renderedImageHeight,\n objectFit: this.question.imageFit\n };\n control = (\n <div\n className={cssClasses.itemNoImage}\n style={style}\n >\n {\n cssClasses.itemNoImageSvgIcon ?\n <SvgIcon\n className={cssClasses.itemNoImageSvgIcon}\n iconName={this.question.cssClasses.itemNoImageSvgIconId}\n size={48}\n ></SvgIcon>:\n null\n }\n </div>\n );\n }\n\n const renderedItem = (\n <div className={itemClass}>\n <label className={cssClasses.label}>\n <input\n className={cssClasses.itemControl}\n id={this.question.getItemId(item)}\n type={this.question.inputType}\n name={this.question.questionName}\n checked={isChecked}\n value={item.value}\n disabled={!this.question.getItemEnabled(item)}\n readOnly={this.question.isReadOnlyAttr}\n onChange={this.handleOnChange}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <div className={this.question.cssClasses.itemDecorator}>\n <div className={this.question.cssClasses.imageContainer}>\n {!!this.question.cssClasses.checkedItemDecorator ?\n <span className={this.question.cssClasses.checkedItemDecorator }>\n {!!this.question.cssClasses.checkedItemSvgIconId ? <SvgIcon size={\"auto\"} className={this.question.cssClasses.checkedItemSvgIcon} iconName={this.question.cssClasses.checkedItemSvgIconId}></SvgIcon> : null}\n </span> : null}\n {control}\n </div>\n {text}\n </div>\n </label>\n </div>\n );\n return renderedItem;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"imagepicker\", (props) => {\n return React.createElement(SurveyQuestionImagePicker, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionImageModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyQuestionImage extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n componentDidMount() {\n super.componentDidMount();\n this.question.locImageLink.onChanged = () => {\n this.forceUpdate();\n };\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.question.locImageLink.onChanged = () => { };\n }\n\n protected get question(): QuestionImageModel {\n return this.questionBase as QuestionImageModel;\n }\n\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.getImageCss();\n var style: any = { objectFit: this.question.imageFit, width: this.question.renderedStyleWidth, height: this.question.renderedStyleHeight };\n if(!this.question.imageLink || this.question.contentNotLoaded) {\n style[\"display\"] = \"none\";\n }\n var control: JSX.Element | null = null;\n if (this.question.renderedMode === \"image\") {\n control = (\n <img\n className={cssClasses}\n src={this.question.locImageLink.renderedHtml}\n alt={this.question.altText || this.question.title}\n width={this.question.renderedWidth}\n height={this.question.renderedHeight}\n //alt={item.text || item.value}\n style={style}\n onLoad={(event: any) => { this.question.onLoadHandler(); } }\n onError={(event: any) => { this.question.onErrorHandler(); } }\n />\n );\n }\n if (this.question.renderedMode === \"video\") {\n control = (\n <video controls\n className={cssClasses}\n src={this.question.locImageLink.renderedHtml}\n width={this.question.renderedWidth}\n height={this.question.renderedHeight}\n style={style}\n onLoadedMetadata={(event: any) => { this.question.onLoadHandler(); } }\n onError={(event: any) => { this.question.onErrorHandler(); } }\n ></video>\n );\n }\n if (this.question.renderedMode === \"youtube\") {\n control = (\n <iframe\n className={cssClasses}\n src={this.question.locImageLink.renderedHtml}\n width={this.question.renderedWidth}\n height={this.question.renderedHeight}\n style={style}\n ></iframe>\n );\n }\n var noImage: JSX.Element | null = null;\n if(!this.question.imageLink || this.question.contentNotLoaded) {\n noImage = (\n <div className={this.question.cssClasses.noImage}>\n <SvgIcon\n iconName={this.question.cssClasses.noImageSvgIconId}\n size={48}\n >\n </SvgIcon>\n </div>\n );\n }\n return <div className={this.question.cssClasses.root}>{control}{noImage}</div>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"image\", (props) => {\n return React.createElement(SurveyQuestionImage, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionSignaturePadModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { LoadingIndicatorComponent } from \"./components/loading-indicator\";\n\nexport class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.state = { value: this.question.value };\n }\n protected get question(): QuestionSignaturePadModel {\n return this.questionBase as QuestionSignaturePadModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n const loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;\n var clearButton = this.renderCleanButton();\n return (\n <div className={cssClasses.root} ref={(root) => (this.setControl(root))} style={{ width: this.question.renderedCanvasWidth }}>\n <div\n className={cssClasses.placeholder}\n style={{ display: this.question.needShowPlaceholder() ? \"\" : \"none\" }}\n >\n {this.renderLocString(this.question.locRenderedPlaceholder)}\n </div>\n <div>\n {this.renderBackgroundImage()}\n <canvas tabIndex={-1} className={this.question.cssClasses.canvas} onBlur={(event) => { this.question.onBlur(event); }}></canvas>\n </div>\n {clearButton}\n {loadingIndicator}\n </div>\n );\n }\n\n renderBackgroundImage(): JSX.Element | null {\n if(!this.question.backgroundImage) return null;\n\n return <img className={this.question.cssClasses.backgroundImage} src={this.question.backgroundImage} style={{ width: this.question.renderedCanvasWidth }}></img>;\n }\n protected renderLoadingIndicator(): JSX.Element {\n return <div className={this.question.cssClasses.loadingIndicator}><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n\n renderCleanButton(): JSX.Element | null {\n if(!this.question.canShowClearButton) return null;\n\n var cssClasses = this.question.cssClasses;\n return <div className={cssClasses.controls}>\n <button\n type=\"button\"\n className={cssClasses.clearButton}\n title={this.question.clearButtonCaption}\n onClick={() => this.question.clearValue(true)}\n >\n {this.question.cssClasses.clearButtonIconId ? <SvgIcon iconName={this.question.cssClasses.clearButtonIconId} size={\"auto\"}></SvgIcon> : <span>✖</span>}\n </button>\n </div>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"signaturepad\", (props) => {\n return React.createElement(SurveyQuestionSignaturePad, props);\n});\n","import { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport React from \"react\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport {\n QuestionButtonGroupModel,\n ButtonGroupItemValue,\n ButtonGroupItemModel,\n} from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionButtonGroupModel {\n return this.questionBase as QuestionButtonGroupModel;\n }\n getStateElement() {\n return this.question;\n }\n renderElement() {\n const items = this.renderItems();\n return <div className={this.question.cssClasses.root}>{items}</div>;\n }\n renderItems() {\n return this.question.visibleChoices.map(\n (item: ButtonGroupItemValue, index: number) => {\n return (\n <SurveyButtonGroupItem\n key={this.question.inputId + \"_\" + index}\n item={item}\n question={this.question}\n index={index}\n ></SurveyButtonGroupItem>\n );\n }\n );\n }\n}\n\nexport class SurveyButtonGroupItem extends SurveyElementBase<any, any> {\n public model: ButtonGroupItemModel;\n constructor(props: any) {\n super(props);\n }\n get index(): number {\n return this.props.index;\n }\n get question(): QuestionButtonGroupModel {\n return this.props.question;\n }\n get item(): ButtonGroupItemValue {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n public renderElement() {\n this.model = new ButtonGroupItemModel(this.question, this.item, this.index);\n const icon = this.renderIcon();\n const input = this.renderInput();\n const caption = this.renderCaption();\n return (\n <label\n role=\"radio\"\n className={this.model.css.label}\n title={this.model.caption.renderedHtml}\n >\n {input}\n <div className={this.model.css.decorator}>\n {icon}\n {caption}\n </div>\n </label>\n );\n }\n protected renderIcon() {\n if (!!this.model.iconName) {\n return (\n <SvgIcon\n className={this.model.css.icon}\n iconName={this.model.iconName}\n size={this.model.iconSize || 24}\n ></SvgIcon>\n );\n }\n return null;\n }\n protected renderInput() {\n return (\n <input\n className={this.model.css.control}\n id={this.model.id}\n type=\"radio\"\n name={this.model.name}\n checked={this.model.selected}\n value={this.model.value}\n disabled={this.model.readOnly}\n onChange={() => {\n this.model.onChange();\n }}\n aria-required={this.model.isRequired}\n aria-label={this.model.caption.renderedHtml}\n aria-invalid={this.model.hasErrors}\n aria-errormessage={this.model.describedBy}\n role=\"radio\"\n />\n );\n }\n protected renderCaption() {\n if (!this.model.showCaption) return null;\n let caption = this.renderLocString(this.model.caption);\n return (\n <span\n className={this.model.css.caption}\n title={this.model.caption.renderedHtml}\n >\n {caption}\n </span>\n );\n }\n}\n\n// ReactQuestionFactory.Instance.registerQuestion(\"buttongroup\", props => {\n// return React.createElement(SurveyQuestionButtonGroup, props);\n// });\n","import * as React from \"react\";\nimport { SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\nimport { SurveyQuestion } from \"./reactquestion\";\nimport { Base, QuestionCustomModel, QuestionCompositeModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyPanel } from \"./panel\";\n\nexport class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {\n constructor(props: any) {\n super(props);\n }\n protected getStateElements(): Array<Base> {\n const res = super.getStateElements();\n if(!!this.question.contentQuestion) {\n res.push(this.question.contentQuestion);\n }\n return res;\n }\n protected renderElement(): JSX.Element {\n return SurveyQuestion.renderQuestionBody(\n this.creator,\n this.question.contentQuestion\n );\n }\n}\n\nexport class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {\n constructor(props: any) {\n super(props);\n }\n protected canRender(): boolean {\n return !!this.question.contentPanel;\n }\n protected renderElement(): JSX.Element {\n return (\n <SurveyPanel\n element={this.question.contentPanel}\n creator={this.creator}\n survey={this.question.survey}\n ></SurveyPanel>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"custom\", (props) => {\n return React.createElement(SurveyQuestionCustom, props);\n});\nReactQuestionFactory.Instance.registerQuestion(\"composite\", (props) => {\n return React.createElement(SurveyQuestionComposite, props);\n});\n","import React from \"react\";\nimport { ListModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\ninterface IListItemProps {\n model: ListModel;\n item: any;\n}\n\nexport class ListItemContent extends SurveyElementBase<IListItemProps, any> {\n get model(): ListModel {\n return this.props.model;\n }\n get item(): any {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n render(): JSX.Element | null {\n if (!this.item) return null;\n\n const content: Array<JSX.Element> = [];\n const text = this.renderLocString(this.item.locTitle, undefined, \"locString\");\n if(this.item.iconName) {\n const icon = <SvgIcon\n key={\"icon\"}\n className={this.model.cssClasses.itemIcon}\n iconName={this.item.iconName}\n size={this.item.iconSize}\n aria-label={this.item.title}\n ></SvgIcon>;\n content.push(icon);\n content.push(<span key={\"text\"}>{text}</span>);\n } else {\n content.push(text);\n }\n\n if(this.item.markerIconName) {\n const icon = <SvgIcon\n key={\"marker\"}\n className={this.item.cssClasses.itemMarkerIcon}\n iconName={this.item.markerIconName}\n size={this.item.markerIconSize}\n ></SvgIcon>;\n content.push(icon);\n }\n\n return <>\n {content}\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-list-item-content\", (props) => {\n return React.createElement(ListItemContent, props);\n});\n","import React from \"react\";\nimport { ListModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { Popup } from \"../popup/popup\";\n\ninterface IListItemProps {\n model: ListModel;\n item: any;\n}\n\nexport class ListItemGroup extends SurveyElementBase<IListItemProps, any> {\n get model(): ListModel {\n return this.props.model;\n }\n get item(): any {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n render(): JSX.Element | null {\n if (!this.item) return null;\n\n const newElement = ReactElementFactory.Instance.createElement(\"sv-list-item-content\", { item: this.item, key: \"content\" + this.item.id, model: this.model });\n return <>\n {newElement}\n <Popup model={this.item?.popupModel}></Popup>\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-list-item-group\", (props) => {\n return React.createElement(ListItemGroup, props);\n});\n","import React from \"react\";\nimport { SurveyModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\n\ninterface ILogoImageProps {\n data: SurveyModel;\n}\n\nexport class LogoImage extends React.Component<ILogoImageProps, any> {\n constructor(props: ILogoImageProps) {\n super(props);\n }\n private get survey(): SurveyModel {\n return this.props.data;\n }\n public render() {\n const content: JSX.Element[] = [];\n content.push(\n <div key={\"logo-image\"} className={this.survey.logoClassNames}>\n <img\n className={this.survey.css.logoImage}\n src={this.survey.locLogo.renderedHtml}\n alt={this.survey.locTitle.renderedHtml}\n width={this.survey.renderedLogoWidth}\n height={this.survey.renderedLogoHeight}\n style={{ objectFit: this.survey.logoFit as any, width: this.survey.renderedStyleLogoWidth, height: this.survey.renderedStyleLogoHeight }}\n />\n </div>\n );\n return <>{content}</>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-logo-image\", (props: ILogoImageProps) => {\n return React.createElement(LogoImage, props);\n});\n","import React from \"react\";\nimport {\n MatrixDropdownRowModelBase,\n QuestionMatrixDropdownModelBase,\n} from \"survey-core\";\nimport { ReactElementFactory } from \"../../../element-factory\";\nimport { ReactSurveyElement } from \"../../../reactquestion_element\";\n\nexport class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnRowRemoveClick = this.handleOnRowRemoveClick.bind(this);\n }\n private get question(): QuestionMatrixDropdownModelBase {\n return this.props.item.data.question;\n }\n private get row(): MatrixDropdownRowModelBase {\n return this.props.item.data.row;\n }\n handleOnRowRemoveClick(event: any) {\n this.question.removeRowUI(this.row);\n }\n protected renderElement(): JSX.Element {\n var removeRowText = this.renderLocString(this.question.locRemoveRowText);\n return (\n <button\n className={this.question.getRemoveRowButtonCss()}\n type=\"button\"\n onClick={this.handleOnRowRemoveClick}\n disabled={this.question.isInputReadOnly}\n >\n {removeRowText}\n <span className={this.question.cssClasses.iconRemove} />\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-remove-button\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixDynamicRemoveButton, props);\n }\n);\n","import React from \"react\";\nimport { Action, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from \"survey-core\";\nimport { ReactElementFactory } from \"../../../element-factory\";\nimport { ReactSurveyElement } from \"../../../reactquestion_element\";\nimport { SvgIcon } from \"../../svg-icon/svg-icon\";\n\nexport class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnShowHideClick = this.handleOnShowHideClick.bind(this);\n }\n protected getStateElement() {\n return this.props.item;\n }\n get item(): Action {\n return this.props.item;\n }\n private get question(): QuestionMatrixDropdownModelBase {\n return this.props.item.data.question;\n }\n private get row(): MatrixDropdownRowModelBase {\n return this.props.item.data.row;\n }\n handleOnShowHideClick(event: any) {\n this.row.showHideDetailPanelClick();\n }\n protected renderElement(): JSX.Element {\n var isExpanded = this.row.isDetailPanelShowing;\n var ariaExpanded = isExpanded;\n var ariaControls = isExpanded ? this.row.detailPanelId : undefined;\n return (\n <button\n type=\"button\"\n onClick={this.handleOnShowHideClick}\n className={this.question.getDetailPanelButtonCss(this.row)}\n aria-expanded={ariaExpanded}\n aria-controls={ariaControls}\n >\n <SvgIcon\n className={this.question.getDetailPanelIconCss(this.row)}\n iconName={this.question.getDetailPanelIconId(this.row)}\n size={\"auto\"}\n >\n </SvgIcon>\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-detail-button\",\n props => {\n return React.createElement(SurveyQuestionMatrixDetailButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.removePanelUI(this.data.panel);\n }\n protected renderElement(): JSX.Element {\n const btnText = this.renderLocString(this.question.locPanelRemoveText);\n const id = this.question.getPanelRemoveButtonId(this.data.panel);\n return (\n <button id={id}\n className={this.question.getPanelRemoveButtonCss()}\n onClick={this.handleClick}\n type=\"button\">\n <span\n className={this.question.cssClasses.buttonRemoveText}\n >{btnText}</span>\n <span\n className={this.question.cssClasses.iconRemove}\n ></span>\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-remove-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicRemoveButton, props);\n }\n);\n","import React from \"react\";\nimport { Action } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { ReactSurveyElement } from \"../../reactquestion_element\";\n\nexport class SurveyNavigationButton extends ReactSurveyElement {\n protected get item(): Action {\n return this.props.item;\n }\n protected canRender(): boolean {\n return this.item.isVisible;\n }\n protected renderElement(): JSX.Element {\n return (\n <input\n className={this.item.innerCss}\n type=\"button\"\n disabled={this.item.disabled}\n onMouseDown={this.item.data && this.item.data.mouseDown}\n onClick={this.item.action}\n title={this.item.getTooltip()}\n value={this.item.title}\n />\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-nav-btn\",\n (props) => {\n return React.createElement(SurveyNavigationButton, props);\n }\n);","import React from \"react\";\r\nimport { LocalizableString } from \"survey-core\";\r\nimport { ReactElementFactory } from \"./element-factory\";\r\n\r\nexport class SurveyLocStringViewer extends React.Component<any, any> {\r\n constructor(props: any) {\r\n super(props);\r\n this.rootRef = React.createRef();\r\n }\r\n private rootRef: React.RefObject<HTMLSpanElement>;\r\n private get locStr(): LocalizableString {\r\n return this.props.locStr;\r\n }\r\n private get style(): any {\r\n return this.props.style;\r\n }\r\n componentDidMount() {\r\n this.reactOnStrChanged();\r\n }\r\n componentWillUnmount() {\r\n if (!this.locStr) return;\r\n this.locStr.onStringChanged.remove(this.onChangedHandler);\r\n }\r\n componentDidUpdate(prevProps: any, prevState: any) {\r\n if(!!prevProps.locStr) {\r\n prevProps.locStr.onStringChanged.remove(this.onChangedHandler);\r\n }\r\n this.reactOnStrChanged();\r\n }\r\n private isRendering: boolean;\r\n private onChangedHandler = (sender: any, options: any) => {\r\n if(this.isRendering) return;\r\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\r\n }\r\n private reactOnStrChanged() {\r\n if (!this.locStr) return;\r\n this.locStr.onStringChanged.add(this.onChangedHandler);\r\n }\r\n render(): JSX.Element | null {\r\n if (!this.locStr) return null;\r\n this.isRendering = true;\r\n const strEl = this.renderString();\r\n this.isRendering = false;\r\n return strEl;\r\n }\r\n protected renderString(): JSX.Element {\r\n const className = this.locStr.allowLineBreaks ? \"sv-string-viewer sv-string-viewer--multiline\" : \"sv-string-viewer\";\r\n if (this.locStr.hasHtml) {\r\n let htmlValue = { __html: this.locStr.renderedHtml };\r\n return <span ref={this.rootRef} className={className} style={this.style} dangerouslySetInnerHTML={htmlValue} />;\r\n }\r\n return <span ref={this.rootRef} className={className} style={this.style}>{this.locStr.renderedHtml}</span>;\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\r\n LocalizableString.defaultRenderer,\r\n (props) => {\r\n return React.createElement(SurveyLocStringViewer, props);\r\n }\r\n);\r\n","import React from \"react\";\nimport { SurveyError } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyLocStringViewer } from \"../string-viewer\";\n\nexport interface IQuestionErrorComponentProps {\n error: SurveyError;\n cssClasses: any;\n element: any;\n}\n\nexport class QuestionErrorComponent extends React.Component<IQuestionErrorComponentProps, any> {\n render(): JSX.Element | null {\n return (\n <div>\n <span className={this.props.cssClasses.error.icon || undefined} aria-hidden=\"true\" />\n <span className={this.props.cssClasses.error.item || undefined}>\n <SurveyLocStringViewer locStr={this.props.error.locText} />\n </span>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-question-error\", (props) => {\n return React.createElement(QuestionErrorComponent, props);\n});","import React from \"react\";\nimport { ReactElementFactory } from \"../element-factory\";\n\nexport class Skeleton extends React.Component<any, any> {\n render(): JSX.Element {\n return (\n <div className=\"sv-skeleton-element\" id={this.props.element?.id} style={{ height: this.props.element?.skeletonHeight }}>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-skeleton\", (props: any) => {\n return React.createElement(Skeleton, props);\n});\n","import React from \"react\";\nimport { Base, SurveyModel, Cover, CoverCell } from \"survey-core\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { TitleElement } from \"./title/title-element\";\n\nexport interface ILayoutElementProps<T = Base> {\n survey: SurveyModel;\n model: T;\n}\n\nexport class HeaderMobile extends React.Component<any, any> {\n get model(): Cover {\n return this.props.model;\n }\n private renderLogoImage(): JSX.Element | null {\n const componentName: string = this.model.survey.getElementWrapperComponentName(\n this.model.survey,\n \"logo-image\"\n );\n const componentData: any = this.model.survey.getElementWrapperComponentData(\n this.model.survey,\n \"logo-image\"\n );\n return ReactElementFactory.Instance.createElement(componentName, {\n data: componentData,\n });\n }\n\n render(): JSX.Element | null {\n return (<div className=\"sv-header--mobile\">\n {this.model.survey.hasLogo ? (<div className=\"sv-header__logo\">\n {this.renderLogoImage()}\n </div>) : null}\n {this.model.survey.hasTitle ? (<div className=\"sv-header__title\" style={{ maxWidth: this.model.textAreaWidth }}>\n {/* {ReactElementFactory.Instance.createElement(\"survey-element-title\", { element: this.model.survey })} */}\n <TitleElement element={this.model.survey}/>\n </div>) : null}\n {this.model.survey.renderedHasDescription ? (<div className=\"sv-header__description\" style={{ maxWidth: this.model.textAreaWidth }}>\n <div className={this.model.survey.css.description}>\n {SurveyElementBase.renderLocString(this.model.survey.locDescription)}\n </div>\n </div>) : null}\n </div>);\n }\n}\n\nexport class HeaderCell extends React.Component<any, any> {\n get model(): CoverCell {\n return this.props.model;\n }\n private renderLogoImage(): JSX.Element | null {\n const componentName: string = this.model.survey.getElementWrapperComponentName(\n this.model.survey,\n \"logo-image\"\n );\n const componentData: any = this.model.survey.getElementWrapperComponentData(\n this.model.survey,\n \"logo-image\"\n );\n return ReactElementFactory.Instance.createElement(componentName, {\n data: componentData,\n });\n }\n\n render(): JSX.Element | null {\n return (<div className={this.model.css} style={this.model.style}>\n <div className=\"sv-header__cell-content\" style={this.model.contentStyle}>\n {this.model.showLogo ? (<div className=\"sv-header__logo\">\n {this.renderLogoImage()}\n </div>) : null}\n {this.model.showTitle ? (<div className=\"sv-header__title\" style={{ maxWidth: this.model.textAreaWidth }}>\n {/* {ReactElementFactory.Instance.createElement(\"survey-element-title\", { element: this.model.survey })} */}\n <TitleElement element={this.model.survey}/>\n </div>) : null}\n {this.model.showDescription ? (<div className=\"sv-header__description\" style={{ maxWidth: this.model.textAreaWidth }}>\n <div className={this.model.survey.css.description}>\n {SurveyElementBase.renderLocString(this.model.survey.locDescription)}\n </div>\n </div>) : null}\n </div>\n </div>);\n }\n}\n\nexport class Header extends SurveyElementBase<ILayoutElementProps<Cover>, any> {\n get model(): Cover {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): JSX.Element | null {\n this.model.survey = this.props.survey;\n\n if(!(this.props.survey.headerView === \"advanced\")) {\n return null;\n }\n\n let headerContent: JSX.Element | null = null;\n if(this.props.survey.isMobile) {\n headerContent = <HeaderMobile model={this.model}/>;\n } else {\n headerContent = (<div className={this.model.contentClasses} style={{ maxWidth: this.model.maxWidth }}>\n {this.model.cells.map((cell, index) => <HeaderCell key={index} model={cell}/>)}\n </div>);\n }\n\n return (\n <div className={this.model.headerClasses} style={{ height: this.model.renderedHeight }}>\n {this.model.backgroundImage ? <div style={this.model.backgroundImageStyle} className={this.model.backgroundImageClasses}></div> : null}\n {headerContent}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-header\", (props) => {\n return React.createElement(Header, props);\n});","import React from \"react\";\r\nimport { LocalizableString } from \"survey-core\";\r\nimport { ReactElementFactory } from \"./element-factory\";\r\n\r\nexport class SurveyLocStringEditor extends React.Component<any, any> {\r\n constructor(props: any) {\r\n super(props);\r\n this.state = { changed: 0 };\r\n }\r\n private get locStr(): LocalizableString {\r\n return this.props.locStr;\r\n }\r\n private get style(): any {\r\n return this.props.style;\r\n }\r\n componentDidMount() {\r\n if (!this.locStr) return;\r\n var self = this;\r\n this.locStr.onChanged = function () {\r\n self.setState({ changed: self.state.changed + 1 });\r\n };\r\n }\r\n componentWillUnmount() {\r\n if (!this.locStr) return;\r\n this.locStr.onChanged = function () {};\r\n }\r\n onInput = (event: any) => {\r\n this.locStr.text = event.target.innerText;\r\n };\r\n onClick = (event: any) => {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n };\r\n render(): JSX.Element | null {\r\n if (!this.locStr) {\r\n return null;\r\n }\r\n if (this.locStr.hasHtml) {\r\n const htmlValue = { __html: this.locStr.renderedHtml };\r\n return (\r\n <span\r\n className=\"sv-string-editor\"\r\n contentEditable=\"true\"\r\n suppressContentEditableWarning={true}\r\n style={this.style}\r\n dangerouslySetInnerHTML={htmlValue}\r\n onBlur={this.onInput}\r\n onClick={this.onClick}\r\n />\r\n );\r\n }\r\n return (\r\n <span\r\n className=\"sv-string-editor\"\r\n contentEditable=\"true\"\r\n suppressContentEditableWarning={true}\r\n style={this.style}\r\n onBlur={this.onInput}\r\n onClick={this.onClick}\r\n >\r\n {this.locStr.renderedHtml}\r\n </span>\r\n );\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\r\n LocalizableString.editableRenderer,\r\n (props) => {\r\n return React.createElement(SurveyLocStringEditor, props);\r\n }\r\n);\r\n","// react\nexport { Survey, attachKey2click } from \"../src/reactSurvey\";\nexport { ReactSurveyElementsWrapper } from \"../src/reactsurveymodel\";\nexport { SurveyNavigationBase } from \"../src/reactSurveyNavigationBase\";\nexport { SurveyTimerPanel } from \"../src/reacttimerpanel\";\nexport { SurveyPage } from \"../src/page\";\nexport { SurveyRow } from \"../src/row\";\nexport { SurveyPanel } from \"../src/panel\";\nexport { SurveyFlowPanel } from \"../src/flow-panel\";\nexport {\n SurveyQuestion,\n SurveyElementErrors,\n SurveyQuestionAndErrorsCell,\n} from \"../src/reactquestion\";\nexport type {\n ISurveyCreator\n} from \"../src/reactquestion\";\nexport {\n ReactSurveyElement,\n SurveyElementBase,\n SurveyQuestionElementBase,\n} from \"../src/reactquestion_element\";\nexport {\n SurveyQuestionCommentItem,\n SurveyQuestionComment,\n} from \"../src/reactquestion_comment\";\nexport {\n SurveyQuestionCheckbox,\n SurveyQuestionCheckboxItem,\n} from \"../src/reactquestion_checkbox\";\nexport {\n SurveyQuestionRanking,\n SurveyQuestionRankingItem,\n SurveyQuestionRankingItemContent\n} from \"../src/reactquestion_ranking\";\n\nexport { RatingItem } from \"../src/components/rating/rating-item\";\nexport { RatingItemStar } from \"../src/components/rating/rating-item-star\";\nexport { RatingItemSmiley } from \"../src/components/rating/rating-item-smiley\";\nexport { RatingDropdownItem } from \"../src/components/rating/rating-dropdown-item\";\n\nexport { TagboxFilterString } from \"../src/tagbox-filter\";\nexport { SurveyQuestionOptionItem } from \"../src/dropdown-item\";\nexport { SurveyQuestionDropdownBase } from \"../src/dropdown-base\";\nexport { SurveyQuestionDropdown } from \"../src/reactquestion_dropdown\";\nexport { SurveyQuestionTagboxItem } from \"../src/tagbox-item\";\nexport { SurveyQuestionTagbox } from \"../src/reactquestion_tagbox\";\nexport { SurveyQuestionDropdownSelect } from \"../src/dropdown-select\";\nexport {\n SurveyQuestionMatrix,\n SurveyQuestionMatrixRow,\n SurveyQuestionMatrixCell\n} from \"../src/reactquestion_matrix\";\nexport { SurveyQuestionHtml } from \"../src/reactquestion_html\";\nexport { SurveyQuestionFile } from \"../src/reactquestion_file\";\nexport { SurveyFileChooseButton } from \"../src/components/file/file-choose-button\";\nexport { SurveyFilePreview } from \"../src/components/file/file-preview\";\nexport { SurveyQuestionMultipleText } from \"../src/reactquestion_multipletext\";\nexport { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from \"../src/reactquestion_radiogroup\";\nexport { SurveyQuestionText } from \"../src/reactquestion_text\";\nexport { SurveyQuestionBoolean } from \"../src/boolean\";\nexport { SurveyQuestionBooleanCheckbox } from \"../src/boolean-checkbox\";\nexport { SurveyQuestionBooleanRadio } from \"../src/boolean-radio\";\nexport { SurveyQuestionEmpty } from \"../src/reactquestion_empty\";\nexport { SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase } from \"../src/reactquestion_matrixdropdownbase\";\nexport { SurveyQuestionMatrixDropdown } from \"../src/reactquestion_matrixdropdown\";\nexport { SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton } from \"../src/reactquestion_matrixdynamic\";\nexport { SurveyQuestionPanelDynamic } from \"../src/reactquestion_paneldynamic\";\nexport { SurveyProgress } from \"../src/progress\";\nexport { SurveyProgressButtons } from \"../src/progressButtons\";\nexport { SurveyProgressToc } from \"../src/progressToc\";\nexport { SurveyQuestionRating } from \"../src/reactquestion_rating\";\nexport { SurveyQuestionRatingDropdown } from \"../src/rating-dropdown\";\nexport { SurveyQuestionExpression } from \"../src/reactquestion_expression\";\nexport { PopupSurvey, SurveyWindow } from \"../src/react-popup-survey\";\nexport { ReactQuestionFactory } from \"../src/reactquestion_factory\";\nexport { ReactElementFactory } from \"../src/element-factory\";\nexport { SurveyQuestionImagePicker } from \"../src/imagepicker\";\nexport { SurveyQuestionImage } from \"../src/image\";\nexport { SurveyQuestionSignaturePad } from \"../src/signaturepad\";\nexport { SurveyQuestionButtonGroup } from \"../src/reactquestion_buttongroup\";\nexport { SurveyQuestionCustom, SurveyQuestionComposite } from \"../src/reactquestion_custom\";\n\nexport { Popup } from \"../src/components/popup/popup\";\nexport { ListItemContent } from \"../src/components/list/list-item-content\";\nexport { ListItemGroup } from \"../src/components/list/list-item-group\";\nexport { List } from \"../src/components/list/list\";\nexport { TitleActions } from \"../src/components/title/title-actions\";\nexport { TitleElement } from \"../src/components/title/title-element\";\nexport { SurveyActionBar } from \"../src/components/action-bar/action-bar\";\nexport { LogoImage } from \"../src/components/survey-header/logo-image\";\nexport { SurveyHeader } from \"../src/components/survey-header/survey-header\";\nexport { SvgIcon } from \"../src/components/svg-icon/svg-icon\";\nexport { SurveyQuestionMatrixDynamicRemoveButton } from \"../src/components/matrix-actions/remove-button/remove-button\";\nexport { SurveyQuestionMatrixDetailButton } from \"../src/components/matrix-actions/detail-button/detail-button\";\nexport { SurveyQuestionMatrixDynamicDragDropIcon } from \"../src/components/matrix-actions/drag-drop-icon/drag-drop-icon\";\nexport { SurveyQuestionPanelDynamicAddButton } from \"../src/components/paneldynamic-actions/paneldynamic-add-btn\";\nexport { SurveyQuestionPanelDynamicRemoveButton } from \"../src/components/paneldynamic-actions/paneldynamic-remove-btn\";\nexport { SurveyQuestionPanelDynamicPrevButton } from \"../src/components/paneldynamic-actions/paneldynamic-prev-btn\";\nexport { SurveyQuestionPanelDynamicNextButton } from \"../src/components/paneldynamic-actions/paneldynamic-next-btn\";\nexport { SurveyQuestionPanelDynamicProgressText } from \"../src/components/paneldynamic-actions/paneldynamic-progress-text\";\nexport { SurveyNavigationButton } from \"../src/components/survey-actions/survey-nav-button\";\nexport { QuestionErrorComponent } from \"../src/components/question-error\";\n\nexport { MatrixRow } from \"../src/components/matrix/row\";\nexport { Skeleton } from \"../src/components/skeleton\";\nexport { NotifierComponent } from \"../src/components/notifier\";\nexport { ComponentsContainer } from \"../src/components/components-container\";\nexport { CharacterCounterComponent } from \"../src/components/character-counter\";\nexport * from \"../src/components/header\";\n\nexport { SurveyLocStringViewer } from \"../src/string-viewer\";\nexport { SurveyLocStringEditor } from \"../src/string-editor\";\nexport { LoadingIndicatorComponent } from \"../src/components/loading-indicator\";\n\nexport { SvgBundleComponent } from \"../src/svgbundle\";\n\n//Uncomment to include the \"date\" question type.\n//export {default as SurveyQuestionDate} from \"../plugins/react/reactquestiondate\";\n","import { checkLibraryVersion } from \"survey-core\";\n\nexport * from \"../../packages/survey-react-ui/entries/react-ui-model\";\nexport { SurveyModel, SurveyWindowModel, SurveyModel as Model, settings, ISurveyEnvironment, surveyLocalization, surveyStrings } from \"survey-core\";\n\ncheckLibraryVersion(`${process.env.VERSION}`, \"survey-react-ui\");","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://SurveyReact/webpack/universalModuleDefinition","webpack://SurveyReact/webpack/bootstrap","webpack://SurveyReact/./packages/survey-react-ui/src/element-factory.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactsurveymodel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_element.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/element.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/row.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/panel-base.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/svg-icon/svg-icon.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar-separator.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/popup/popup.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar-item-dropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/action-bar/action-bar.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/title/title-content.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/title/title-actions.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/title/title-element.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_factory.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/character-counter.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/text-area.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_comment.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/custom-widget.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/element-header.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/page.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/survey-header/survey-header.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/brand-info.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/notifier.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/components-container.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/svgbundle.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/popup/popup-modal.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactSurvey.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactSurveyNavigationBase.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reacttimerpanel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/panel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/flow-panel.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_checkbox.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_ranking.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-item-star.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-item-smiley.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/rating/rating-dropdown-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/tagbox-filter.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/dropdown-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/dropdown-base.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_dropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/tagbox-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_tagbox.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/dropdown-select.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrix.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_html.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/loading-indicator.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-choose-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_file.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-page.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/file/file-preview.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_multipletext.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_radiogroup.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_text.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/boolean.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/boolean-checkbox.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/boolean-radio.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_empty.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix/row.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix-actions/drag-drop-icon/drag-drop-icon.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrixdropdownbase.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrixdropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_matrixdynamic.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-add-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-next-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-prev-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-progress-text.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_paneldynamic.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/progress.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/progressButtons.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list-item.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/progressToc.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_rating.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/rating-dropdown.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_expression.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/react-popup-survey.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/imagepicker.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/image.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/signaturepad.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_buttongroup.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/reactquestion_custom.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list-item-content.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/list/list-item-group.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/survey-header/logo-image.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix-actions/remove-button/remove-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/matrix-actions/detail-button/detail-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/paneldynamic-actions/paneldynamic-remove-btn.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/survey-actions/survey-nav-button.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/string-viewer.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/question-error.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/skeleton.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/components/header.tsx","webpack://SurveyReact/./packages/survey-react-ui/src/string-editor.tsx","webpack://SurveyReact/./packages/survey-react-ui/entries/react-ui-model.ts","webpack://SurveyReact/./src/entries/react-ui.ts","webpack://SurveyReact/external {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","webpack://SurveyReact/external {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\"}","webpack://SurveyReact/external {\"root\":\"Survey\",\"commonjs2\":\"survey-core\",\"commonjs\":\"survey-core\",\"amd\":\"survey-core\"}"],"names":[],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;QCVA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCA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AC,MAAM,CAAC,YAAY,CACpB,CACR,CAAC;IACJ,CAAC;IACH,4BAAC;AAAD,CAAC,CA5D0C,sEAAK,CAAC,SAAS,GA4DzD;;AAED,mBAAmB,CAAC,QAAQ,CAAC,eAAe,CAC1C,qGAAiB,CAAC,gBAAgB,EAClC,UAAC,KAAK;IACJ,OAAO,sEAAK,CAAC,aAAa,CAAC,mCAAqB,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC,CACF,CAAC;;;ACvEF,QAAQ;AACqD;AACQ;AACG;AACd;AACjB;AACF;AACI;AACS;AAKtB;AAQQ;AAIA;AAIC;AAKD;AAE4B;AACS;AACI;AACI;AAEzB;AACM;AACE;AACK;AACT;AACK;AACG;AAKjC;AAC0B;AACA;AACoB;AACX;AACO;AACqB;AACrC;AACR;AACiB;AACN;AACD;AAC4D;AAC1C;AACoC;AACxC;AAC9B;AACc;AACR;AACY;AACG;AACK;AACL;AACF;AACP;AACE;AACZ;AACc;AACY;AACe;AAEtC;AACqB;AACJ;AACpB;AACkB;AACA;AACK;AACH;AACM;AACf;AACyD;AACP;AACS;AACP;AACM;AACJ;AACA;AACO;AAC/B;AAClB;AAEjB;AACH;AACS;AACc;AACG;AACvC;AAEoB;AACA;AACmB;AAE1B;AACW;AAEjE,gDAAgD;AAChD,mFAAmF;;;ACvHjC;AAEoB;AAC8E;AAEpJ,+GAAmB,CAAC,KAAG,QAAqB,EAAE,iBAAiB,CAAC,CAAC;;;;;;;;;;;;;ACLjE,mD;;;;;;;;;;;;ACAA,uD;;;;;;;;;;;;ACAA,yD","file":"survey-react-ui.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-dom\"), require(\"survey-core\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"survey-react-ui\", [\"react\", \"react-dom\", \"survey-core\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"survey-react-ui\"] = factory(require(\"react\"), require(\"react-dom\"), require(\"survey-core\"));\n\telse\n\t\troot[\"SurveyReact\"] = factory(root[\"React\"], root[\"ReactDOM\"], root[\"Survey\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_survey_core__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/entries/react-ui.ts\");\n","import { HashTable } from \"survey-core\";\n\nexport class ReactElementFactory {\n public static Instance: ReactElementFactory = new ReactElementFactory();\n private creatorHash: HashTable<(name: string) => JSX.Element> = {};\n\n public registerElement(\n elementType: string,\n elementCreator: (props: any) => JSX.Element\n ) {\n this.creatorHash[elementType] = elementCreator;\n }\n public getAllTypes(): Array<string> {\n var result = new Array<string>();\n for (var key in this.creatorHash) {\n result.push(key);\n }\n return result.sort();\n }\n public isElementRegistered(elementType: string) {\n return !!this.creatorHash[elementType];\n }\n public createElement(elementType: string, params: any): JSX.Element | any {\n var creator = this.creatorHash[elementType];\n if (creator == null) return null;\n return creator(params);\n }\n}\n","import { SurveyModel, QuestionMatrixDropdownRenderedCell, SurveyElement, QuestionRowModel, ItemValue, QuestionSelectBase } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class ReactSurveyElementsWrapper {\n public static wrapRow(survey: SurveyModel, element: JSX.Element, row: QuestionRowModel): JSX.Element {\n const componentName = survey.getRowWrapperComponentName(row);\n const componentData = survey.getRowWrapperComponentData(row);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n row,\n componentData,\n });\n }\n public static wrapElement(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element {\n const componentName = survey.getElementWrapperComponentName(question);\n const componentData = survey.getElementWrapperComponentData(question);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n question,\n componentData,\n });\n }\n public static wrapQuestionContent(survey: SurveyModel, element: JSX.Element, question: SurveyElement): JSX.Element {\n const componentName = survey.getQuestionContentWrapperComponentName(question);\n const componentData = survey.getElementWrapperComponentData(question);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n question,\n componentData,\n });\n }\n public static wrapItemValue(survey: SurveyModel, element: JSX.Element, question: QuestionSelectBase, item: ItemValue): JSX.Element {\n const componentName = survey.getItemValueWrapperComponentName(item, question);\n const componentData = survey.getItemValueWrapperComponentData(item, question);\n return ReactElementFactory.Instance.createElement(componentName, {\n key: element?.key,\n element,\n question,\n item,\n componentData,\n });\n }\n public static wrapMatrixCell(survey: SurveyModel, element: JSX.Element, cell: QuestionMatrixDropdownRenderedCell, reason: string = \"cell\"): JSX.Element {\n const componentName = survey.getElementWrapperComponentName(cell, reason);\n const componentData = survey.getElementWrapperComponentData(cell, reason);\n return ReactElementFactory.Instance.createElement(componentName, {\n element,\n cell,\n componentData,\n });\n }\n}\n\nSurveyModel.platform = \"react\";\n","import * as React from \"react\";\nimport { Base, ArrayChanges, SurveyModel, Helpers, PanelModel, LocalizableString, Question } from \"survey-core\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\n\nexport class SurveyElementBase<P, S> extends React.Component<P, S> {\n public static renderLocString(\n locStr: LocalizableString,\n style: any = null,\n key?: string\n ): JSX.Element {\n return ReactElementFactory.Instance.createElement(locStr.renderAs, {\n locStr: locStr.renderAsData,\n style: style,\n key: key,\n });\n }\n public static renderQuestionDescription(question: Question | PanelModel): JSX.Element {\n var descriptionText = SurveyElementBase.renderLocString(question.locDescription);\n return <div style={question.hasDescription ? undefined : { display: \"none\" }} id={question.ariaDescriptionId} className={question.cssDescription}>{descriptionText}</div>;\n }\n private changedStatePropNameValue: string | undefined;\n constructor(props: any) {\n super(props);\n }\n componentDidMount() {\n this.makeBaseElementsReact();\n }\n componentWillUnmount() {\n this.unMakeBaseElementsReact();\n this.disableStateElementsRerenderEvent(this.getStateElements());\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n this.makeBaseElementsReact();\n const stateElements = this.getStateElements();\n this.disableStateElementsRerenderEvent((this.prevStateElements ?? []).filter(el => !stateElements.includes(el)));\n this.prevStateElements = [];\n this.getStateElements().forEach((el) => {\n el.afterRerender();\n });\n }\n private _allowComponentUpdate = true;\n protected allowComponentUpdate() {\n this._allowComponentUpdate = true;\n this.forceUpdate();\n }\n protected denyComponentUpdate() {\n this._allowComponentUpdate = false;\n }\n private prevStateElements: Array<Base> = [];\n shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (this._allowComponentUpdate) {\n this.unMakeBaseElementsReact();\n this.prevStateElements = this.getStateElements();\n }\n return this._allowComponentUpdate;\n }\n render(): JSX.Element | null {\n if (!this.canRender()) {\n return null;\n }\n\n this.startEndRendering(1);\n var res = this.renderElement();\n this.startEndRendering(-1);\n\n if (!!res) {\n res = this.wrapElement(res);\n }\n\n this.changedStatePropNameValue = undefined;\n return res;\n }\n protected wrapElement(element: JSX.Element): JSX.Element {\n return element;\n }\n protected get isRendering(): boolean {\n var stateEls: Array<any> = this.getRenderedElements();\n for (let stateEl of stateEls) {\n if (stateEl.reactRendering > 0) return true;\n }\n return false;\n }\n protected getRenderedElements(): Base[] {\n return this.getStateElements();\n }\n private startEndRendering(val: number) {\n var stateEls: Array<any> = this.getRenderedElements();\n for (let stateEl of stateEls) {\n if (!stateEl.reactRendering) stateEl.reactRendering = 0;\n stateEl.reactRendering += val;\n }\n }\n protected canRender(): boolean {\n return true;\n }\n protected renderElement(): JSX.Element | null {\n return null;\n }\n protected get changedStatePropName(): string | undefined {\n return this.changedStatePropNameValue;\n }\n private makeBaseElementsReact() {\n var els = this.getStateElements();\n for (var i = 0; i < els.length; i++) {\n els[i].enableOnElementRerenderedEvent();\n this.makeBaseElementReact(els[i]);\n }\n }\n private unMakeBaseElementsReact() {\n var els = this.getStateElements();\n for (var i = 0; i < els.length; i++) {\n this.unMakeBaseElementReact(els[i]);\n }\n }\n protected disableStateElementsRerenderEvent(els: Array<Base>): void {\n els.forEach(el => {\n el.disableOnElementRerenderedEvent();\n });\n }\n protected getStateElements(): Array<Base> {\n var el = this.getStateElement();\n return !!el ? [el] : [];\n }\n protected getStateElement(): Base | null {\n return null;\n }\n protected get isDisplayMode(): boolean {\n const props: any = this.props;\n return props.isDisplayMode || false;\n }\n protected renderLocString(\n locStr: LocalizableString,\n style: any = null,\n key?: string\n ): JSX.Element {\n return SurveyElementBase.renderLocString(locStr, style, key);\n }\n private canMakeReact(stateElement: Base): boolean {\n return !!stateElement && !!stateElement.iteratePropertiesHash;\n }\n\n private makeBaseElementReact(stateElement: Base) {\n if (!this.canMakeReact(stateElement)) return;\n stateElement.iteratePropertiesHash((hash, key) => {\n if (!this.canUsePropInState(key)) return;\n var val: any = hash[key];\n if (Array.isArray(val)) {\n var val: any = val;\n val[\"onArrayChanged\"] = (arrayChanges: ArrayChanges) => {\n if (this.isRendering) return;\n this.changedStatePropNameValue = key;\n this.setState((state: any) => {\n var newState: { [index: string]: any } = {};\n newState[key] = val;\n return newState as S;\n });\n };\n }\n });\n stateElement.setPropertyValueCoreHandler = (\n hash: any,\n key: string,\n val: any\n ) => {\n if (hash[key] !== val) {\n hash[key] = val;\n if (!this.canUsePropInState(key)) return;\n if (this.isRendering) return;\n this.changedStatePropNameValue = key;\n this.setState((state: any) => {\n var newState: { [index: string]: any } = {};\n newState[key] = val;\n return newState as S;\n });\n }\n };\n }\n protected canUsePropInState(key: string): boolean {\n return true;\n }\n private unMakeBaseElementReact(stateElement: Base) {\n if (!this.canMakeReact(stateElement)) return;\n stateElement.setPropertyValueCoreHandler = undefined as any;\n stateElement.iteratePropertiesHash((hash, key) => {\n var val: any = hash[key];\n if (Array.isArray(val)) {\n var val: any = val;\n val[\"onArrayChanged\"] = () => { };\n }\n });\n }\n}\n\nexport class ReactSurveyElement extends SurveyElementBase<any, any> {\n constructor(props: any) {\n super(props);\n }\n protected get cssClasses(): any {\n return this.props.cssClasses;\n }\n}\n\nexport class SurveyQuestionElementBase extends SurveyElementBase<any, any> {\n control: HTMLElement;\n content: HTMLElement;\n constructor(props: any) {\n super(props);\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateDomElement();\n }\n componentDidMount() {\n super.componentDidMount();\n this.updateDomElement();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.questionBase) {\n const contentElement: HTMLElement = this.content || this.control;\n this.questionBase.beforeDestroyQuestionElement(contentElement);\n if (!!contentElement) {\n contentElement.removeAttribute(\"data-rendered\");\n }\n }\n }\n protected updateDomElement() {\n const contentElement = this.content || this.control;\n if (!!contentElement) {\n if (contentElement.getAttribute(\"data-rendered\") !== \"r\") {\n contentElement.setAttribute(\"data-rendered\", \"r\");\n this.questionBase.afterRenderQuestionElement(contentElement);\n }\n }\n }\n protected get questionBase(): Question {\n return this.props.question;\n }\n protected getRenderedElements(): Base[] {\n return [this.questionBase];\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected canRender(): boolean {\n return !!this.questionBase && !!this.creator;\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n\n return (\n !this.questionBase.customWidget ||\n !!this.questionBase.customWidgetData.isNeedRender ||\n !!this.questionBase.customWidget.widgetJson.isDefaultRender ||\n !!this.questionBase.customWidget.widgetJson.render\n );\n }\n protected get isDisplayMode(): boolean {\n const props: any = this.props;\n return (\n props.isDisplayMode ||\n (!!this.questionBase && this.questionBase.isInputReadOnly) || false\n );\n }\n protected wrapCell(\n cell: any,\n element: JSX.Element,\n reason: string\n ): JSX.Element {\n if (!reason) {\n return element;\n }\n const survey: SurveyModel = this.questionBase\n .survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapMatrixCell(survey, element, cell, reason);\n }\n return wrapper ?? element;\n }\n public setControl(element: HTMLElement | null): void {\n if (!!element) {\n this.control = element;\n }\n }\n public setContent(element: HTMLElement | null): void {\n if(!!element) {\n this.content = element;\n }\n }\n}\n\nexport class SurveyQuestionUncontrolledElement<\n T extends Question\n> extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.updateValueOnEvent = this.updateValueOnEvent.bind(this);\n }\n protected get question(): T {\n return this.questionBase as T;\n }\n updateValueOnEvent = (event: any) => {\n if (\n !Helpers.isTwoValueEquals(this.questionBase.value, event.target.value, false, true, false)\n ) {\n this.setValueCore(event.target.value);\n }\n };\n protected setValueCore(newValue: any) {\n this.questionBase.value = newValue;\n }\n protected getValueCore(): any {\n return this.questionBase.value;\n }\n protected updateDomElement() {\n if (!!this.control) {\n const control: any = this.control;\n const newValue = this.getValueCore();\n if (!Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {\n control.value = this.getValue(newValue);\n }\n }\n super.updateDomElement();\n }\n private getValue(val: any): any {\n if (Helpers.isValueEmpty(val)) return \"\";\n return val;\n }\n}\n","import * as React from \"react\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { SurveyModel, Question, QuestionRowModel, IElement, Base, PanelModel } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\n\nexport class SurveyRowElement extends SurveyElementBase<any, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n (this.element as Question).cssClasses;\n this.rootRef = React.createRef();\n }\n protected getStateElement(): any {\n return this.element;\n }\n private get element(): PanelModel | Question {\n return this.props.element as any;\n }\n private get index(): number {\n return this.props.index;\n }\n private get row(): QuestionRowModel {\n return this.props.row;\n }\n private get survey(): SurveyModel {\n return this.props.survey;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get css(): any {\n return this.props.css;\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n if(this.rootRef.current) {\n (this.element).setWrapperElement(this.rootRef.current);\n }\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.element.setWrapperElement(undefined);\n }\n\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (nextProps.element !== this.element) {\n if(nextProps.element) {\n nextProps.element.setWrapperElement(this.rootRef.current);\n }\n if(this.element) {\n this.element.setWrapperElement(undefined);\n }\n }\n\n (this.element as Question).cssClasses;\n return true;\n }\n\n protected renderElement(): JSX.Element {\n const element = this.element;\n const innerElement = this.createElement(element, this.index);\n const css = (element as Question).cssClassesValue;\n const focusIn = () => {\n const el: any = element;\n if (el && el.isQuestion) {\n el.focusIn();\n }\n };\n return (\n <div\n className={css.questionWrapper}\n style={(element as any).rootStyle}\n data-key={innerElement.key}\n key={innerElement.key}\n onFocus={focusIn}\n ref={this.rootRef}\n >\n {innerElement}\n </div>\n );\n }\n\n protected createElement(element: IElement, elementIndex?: number): JSX.Element {\n const index = elementIndex ? \"-\" + elementIndex : 0;\n if(!this.row.isNeedRender) {\n return ReactElementFactory.Instance.createElement(element.skeletonComponentName, { key: element.name + index, element: element, css: this.css, })\n }\n var elementType = element.getType();\n if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {\n elementType = \"question\";\n }\n return ReactElementFactory.Instance.createElement(elementType, {\n key: element.name + index,\n element: element,\n creator: this.creator,\n survey: this.survey,\n css: this.css,\n });\n }\n}\n","import * as React from \"react\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { SurveyModel, Question, QuestionRowModel, IElement, Base } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyRowElement } from \"./element\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\n\nexport class SurveyRow extends SurveyElementBase<any, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n this.recalculateCss();\n }\n private recalculateCss() {\n this.row.visibleElements.map(element => (element as Question).cssClasses);\n }\n protected getStateElement(): Base {\n return this.row;\n }\n private get row(): QuestionRowModel {\n return this.props.row;\n }\n private get survey(): SurveyModel {\n return this.props.survey;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get css(): any {\n return this.props.css;\n }\n protected canRender(): boolean {\n return !!this.row && !!this.survey && !!this.creator;\n }\n protected renderElementContent(): JSX.Element {\n const elements = this.row.visibleElements.map((element, elementIndex) => {\n const index = elementIndex ? \"-\" + elementIndex : 0;\n const key = element.name + index;\n return (\n <SurveyRowElement\n element={element}\n index={elementIndex}\n row={this.row}\n survey={this.survey}\n creator={this.creator}\n css={this.css}\n key={key}\n >\n </SurveyRowElement>\n );\n });\n\n return (\n <div ref={this.rootRef} className={this.row.getRowCss()} >\n {elements}\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n const survey: SurveyModel = this.survey as SurveyModel;\n const content = this.renderElementContent();\n const wrapper = ReactSurveyElementsWrapper.wrapRow(survey, content, this.row);\n return wrapper || content;\n }\n componentDidMount() {\n super.componentDidMount();\n var el = this.rootRef.current;\n if(this.rootRef.current) {\n this.row.setRootElement(this.rootRef.current);\n }\n if (!!el && !this.row.isNeedRender) {\n var rowContainerDiv = el;\n setTimeout(() => {\n this.row.startLazyRendering(rowContainerDiv);\n }, 10);\n }\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (nextProps.row !== this.row) {\n nextProps.row.isNeedRender = this.row.isNeedRender;\n nextProps.row.setRootElement(this.rootRef.current);\n this.row.setRootElement(undefined);\n this.stopLazyRendering();\n }\n this.recalculateCss();\n return true;\n }\n private stopLazyRendering() {\n this.row.stopLazyRendering();\n this.row.isNeedRender = !this.row.isLazyRendering();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.row.setRootElement(undefined);\n this.stopLazyRendering();\n }\n\n protected createElement(element: IElement, elementIndex?: number): JSX.Element {\n const index = elementIndex ? \"-\" + elementIndex : 0;\n var elementType = element.getType();\n if (!ReactElementFactory.Instance.isElementRegistered(elementType)) {\n elementType = \"question\";\n }\n return ReactElementFactory.Instance.createElement(elementType, {\n key: element.name + index,\n element: element,\n creator: this.creator,\n survey: this.survey,\n css: this.css,\n });\n }\n}\n","import * as React from \"react\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { Base, SurveyModel, QuestionRowModel, PanelModel, PanelModelBase } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyRow } from \"./row\";\n\nexport class SurveyPanelBase extends SurveyElementBase<any, any> {\n protected rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.panelBase;\n }\n protected canUsePropInState(key: string): boolean {\n return key !== \"elements\" && super.canUsePropInState(key);\n }\n protected get survey(): SurveyModel | null {\n return this.getSurvey();\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get css(): any {\n return this.getCss();\n }\n public get panelBase(): PanelModelBase {\n return this.getPanelBase();\n }\n protected getPanelBase(): PanelModelBase {\n return this.props.element || this.props.question;\n }\n protected getSurvey(): SurveyModel | null {\n return (\n this.props.survey || (!!this.panelBase ? this.panelBase.survey : null)\n );\n }\n protected getCss(): any {\n return this.props.css;\n }\n componentDidMount() {\n super.componentDidMount();\n this.doAfterRender();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n var el = this.rootRef.current;\n if (!!el) {\n el.removeAttribute(\"data-rendered\");\n }\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n if (\n !!prevProps.page &&\n !!this.survey &&\n !!this.survey.activePage &&\n prevProps.page.id === this.survey.activePage.id\n )\n return;\n this.doAfterRender();\n }\n private doAfterRender() {\n var el = this.rootRef.current;\n if (el && this.survey) {\n if (this.panelBase.isPanel) {\n this.panelBase.afterRender(el);\n } else {\n this.survey.afterRenderPage(el);\n }\n }\n }\n\n protected getIsVisible() {\n return this.panelBase.isVisible;\n }\n\n protected canRender(): boolean {\n return (\n super.canRender() && !!this.survey && !!this.panelBase && !!this.panelBase.survey && this.getIsVisible()\n );\n }\n protected renderRows(css: any): Array<JSX.Element> {\n return this.panelBase.visibleRows.map((row) => this.createRow(row, css));\n }\n protected createRow(row: QuestionRowModel, css: any): JSX.Element {\n return (\n <SurveyRow\n key={row.id}\n row={row}\n survey={this.survey}\n creator={this.creator}\n css={css}\n />\n );\n }\n}\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { createSvg } from \"survey-core\";\n\nexport class SvgIcon extends React.Component<any, any> {\n private svgIconRef: any;\n constructor(props: any) {\n super(props);\n this.svgIconRef = React.createRef();\n }\n\n updateSvg() {\n if(this.props.iconName)\n createSvg(\n this.props.size,\n this.props.width,\n this.props.height,\n this.props.iconName,\n this.svgIconRef.current,\n this.props.title,\n );\n }\n componentDidUpdate() {\n this.updateSvg();\n }\n render() {\n let className = \"sv-svg-icon\";\n if(this.props.className) {\n className += \" \" + this.props.className;\n }\n return (\n this.props.iconName ?\n <svg className={ className } style={this.props.style} onClick={this.props.onClick} ref={this.svgIconRef} role=\"img\"><use></use></svg>\n : null\n );\n }\n componentDidMount() {\n this.updateSvg();\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-svg-icon\", (props) => {\n return React.createElement(SvgIcon, props);\n});\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\n\nexport class SurveyActionBarSeparator extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n }\n render() {\n var className = `sv-action-bar-separator ${this.props.cssClasses}`;\n return <div className={className}></div>;\n }\n}\nReactElementFactory.Instance.registerElement(\n \"sv-action-bar-separator\",\n (props) => {\n return React.createElement(SurveyActionBarSeparator, props);\n }\n);\n","import React from \"react\";\r\nimport { Base, Action } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { SurveyElementBase } from \"../../reactquestion_element\";\r\nimport { attachKey2click } from \"../../reactSurvey\";\r\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\r\nimport { SurveyActionBarSeparator } from \"./action-bar-separator\";\r\n\r\ninterface IActionBarItemProps {\r\n item: Action;\r\n}\r\n\r\nexport class SurveyAction extends SurveyElementBase<IActionBarItemProps, any> {\r\n get item() {\r\n return this.props.item;\r\n }\r\n protected getStateElement(): Base {\r\n return this.item;\r\n }\r\n\r\n renderElement() {\r\n //refactor\r\n const itemClass = this.item.getActionRootCss();\r\n const separator = this.item.needSeparator ? (\r\n <SurveyActionBarSeparator></SurveyActionBarSeparator>\r\n ) : null;\r\n\r\n const itemComponent = ReactElementFactory.Instance.createElement(\r\n this.item.component || \"sv-action-bar-item\",\r\n {\r\n item: this.item,\r\n }\r\n );\r\n return (\r\n <div className={itemClass} id={this.item.id}>\r\n <div className=\"sv-action__content\">\r\n {separator}\r\n {itemComponent}\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nexport class SurveyActionBarItem extends SurveyElementBase<\r\n IActionBarItemProps,\r\n any\r\n> {\r\n get item(): Action {\r\n return this.props.item;\r\n }\r\n protected getStateElement(): Base {\r\n return this.item;\r\n }\r\n\r\n renderElement() {\r\n return <>{this.renderInnerButton()}</>;\r\n }\r\n\r\n renderText() {\r\n if (!this.item.hasTitle) return null;\r\n const titleClass = this.item.getActionBarItemTitleCss();\r\n return <span className={titleClass}>{this.item.title}</span>;\r\n }\r\n\r\n renderButtonContent() {\r\n const text = this.renderText();\r\n const svgIcon = !!this.item.iconName ? (\r\n <SvgIcon\r\n className={this.item.cssClasses.itemIcon}\r\n size={this.item.iconSize}\r\n iconName={this.item.iconName}\r\n title={this.item.tooltip || this.item.title}\r\n ></SvgIcon>\r\n ) : null;\r\n return (\r\n <>\r\n {svgIcon}\r\n {text}\r\n </>\r\n );\r\n }\r\n\r\n renderInnerButton() {\r\n const className = this.item.getActionBarItemCss();\r\n const title = this.item.tooltip || this.item.title;\r\n const buttonContent = this.renderButtonContent();\r\n const tabIndex = this.item.disableTabStop ? -1 : undefined;\r\n const button = attachKey2click(\r\n <button\r\n className={className}\r\n type=\"button\"\r\n disabled={this.item.disabled}\r\n onMouseDown={(args) => this.item.doMouseDown(args)}\r\n onFocus={(args) => this.item.doFocus(args)}\r\n onClick={(args) => this.item.doAction(args)}\r\n title={title}\r\n tabIndex={tabIndex}\r\n aria-checked={this.item.ariaChecked}\r\n aria-expanded={this.item.ariaExpanded}\r\n role={this.item.ariaRole}\r\n >\r\n {buttonContent}\r\n </button>, this.item, { processEsc: false });\r\n\r\n return button;\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-action-bar-item\", (props) => {\r\n return React.createElement(SurveyActionBarItem, props);\r\n});\r\n","import React from \"react\";\nimport { Base, PopupModel, PopupBaseViewModel, PopupDropdownViewModel, IDialogOptions, createDialogOptions, createPopupModalViewModel, createPopupViewModel, CssClassBuilder, settings } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { SurveyActionBar } from \"../action-bar/action-bar\";\n\ninterface IPopupProps {\n model: PopupModel;\n getTarget?: (container: HTMLElement) => HTMLElement;\n getArea?: (container: HTMLElement) => HTMLElement;\n}\n\nexport class Popup extends SurveyElementBase<IPopupProps, any> {\n private popup: PopupBaseViewModel;\n private containerRef: React.RefObject<HTMLDivElement>;\n constructor(props: IPopupProps) {\n super(props);\n this.containerRef = React.createRef();\n this.createModel();\n }\n get model(): PopupModel {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private createModel(): void {\n this.popup = createPopupViewModel(this.props.model, undefined as any);\n }\n private setTargetElement(): void {\n const container = this.containerRef.current as HTMLElement;\n this.popup.setComponentElement(\n container,\n this.props.getTarget ? this.props.getTarget(container) : undefined,\n this.props.getArea ? this.props.getArea(container) : undefined\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.setTargetElement();\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.setTargetElement();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.popup.resetComponentElement();\n }\n shouldComponentUpdate(nextProps: IPopupProps, nextState: any) {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n const isNeedUpdate = nextProps.model !== this.popup.model;\n if(isNeedUpdate) {\n this.popup?.dispose();\n this.createModel();\n }\n return isNeedUpdate;\n }\n render(): JSX.Element {\n this.popup.model = this.model;\n let popupContainer;\n if(this.model.isModal) {\n popupContainer = <PopupContainer model={this.popup}></PopupContainer>;\n } else {\n popupContainer = <PopupDropdownContainer model={this.popup}></PopupDropdownContainer>;\n }\n return <div ref={this.containerRef}>{popupContainer}</div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-popup\",\n (props: IPopupProps) => {\n return React.createElement(Popup, props);\n }\n);\n\nexport class PopupContainer extends SurveyElementBase<any, any> {\n constructor(props: any) {\n super(props);\n }\n handleKeydown = (event: any) => {\n this.model.onKeyDown(event);\n };\n get model(): PopupBaseViewModel {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n clickInside = (ev: any) => {\n ev.stopPropagation();\n };\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n if (!this.model.isPositionSet && this.model.isVisible) {\n this.model.updateOnShowing();\n }\n }\n renderContainer(popupBaseViewModel: PopupBaseViewModel): JSX.Element {\n const headerPopup = popupBaseViewModel.showHeader ? this.renderHeaderPopup(popupBaseViewModel) : null;\n const headerContent = !!popupBaseViewModel.title ? this.renderHeaderContent() : null;\n const content = this.renderContent();\n const footerContent = popupBaseViewModel.showFooter ? this.renderFooter(this.model) : null;\n return (\n <div\n className=\"sv-popup__container\"\n style={{\n left: popupBaseViewModel.left,\n top: popupBaseViewModel.top,\n height: popupBaseViewModel.height,\n width: popupBaseViewModel.width,\n minWidth: popupBaseViewModel.minWidth,\n }}\n onClick={(ev: any) => {\n this.clickInside(ev);\n }}\n >\n {headerPopup}\n <div className=\"sv-popup__body-content\">\n {headerContent}\n <div className=\"sv-popup__scrolling-content\">\n {content}\n </div>\n {footerContent}\n </div>\n </div>\n );\n }\n renderHeaderContent(): JSX.Element {\n return <div className=\"sv-popup__body-header\">{this.model.title}</div>;\n }\n renderContent(): JSX.Element {\n const contentComponent = ReactElementFactory.Instance.createElement(\n this.model.contentComponentName,\n this.model.contentComponentData\n );\n return <div className=\"sv-popup__content\">{contentComponent}</div>;\n }\n\n protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null {\n return null;\n }\n protected renderFooter(popuModel: PopupBaseViewModel): JSX.Element | null {\n return (\n <div className=\"sv-popup__body-footer\">\n <SurveyActionBar model={popuModel.footerToolbar}></SurveyActionBar>\n </div>\n );\n }\n render(): JSX.Element {\n const container = this.renderContainer(this.model);\n const className = new CssClassBuilder()\n .append(\"sv-popup\")\n .append(this.model.styleClass)\n .toString();\n const style = { display: this.model.isVisible ? \"\" : \"none\", };\n return (\n <div\n tabIndex={-1}\n className={className}\n style={style}\n onClick={(e: any) => {\n this.model.clickOutside(e);\n }}\n onKeyDown={this.handleKeydown}\n >\n {container}\n </div>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n if(this.model.isVisible) {\n this.model.updateOnShowing();\n }\n }\n}\nexport class PopupDropdownContainer extends PopupContainer {\n\n protected renderHeaderPopup(popupModel: PopupBaseViewModel): JSX.Element | null {\n const popupDropdownModel = popupModel as PopupDropdownViewModel;\n if(!popupDropdownModel) return null;\n\n return (\n <span\n style={{\n left: popupDropdownModel.pointerTarget.left,\n top: popupDropdownModel.pointerTarget.top,\n }}\n className=\"sv-popup__pointer\"\n ></span>\n );\n }\n}","import React from \"react\";\r\nimport { ActionDropdownViewModel, getActionDropdownButtonTarget } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { Popup } from \"../popup/popup\";\r\nimport { SurveyActionBarItem } from \"./action-bar-item\";\r\n\r\nexport class SurveyActionBarItemDropdown extends SurveyActionBarItem {\r\n private viewModel: ActionDropdownViewModel;\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n renderInnerButton() {\r\n const button = super.renderInnerButton();\r\n return (\r\n <>\r\n {button}\r\n <Popup model={this.item.popupModel} getTarget={getActionDropdownButtonTarget}></Popup>\r\n </>\r\n );\r\n }\r\n componentDidMount(): void {\r\n this.viewModel = new ActionDropdownViewModel(this.item);\r\n }\r\n componentWillUnmount(): void {\r\n super.componentWillUnmount();\r\n this.viewModel.dispose();\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-action-bar-item-dropdown\", (props) => {\r\n return React.createElement(SurveyActionBarItemDropdown, props);\r\n});\r\n","import React from \"react\";\nimport {\n Base,\n Action,\n ActionContainer\n} from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { SurveyAction } from \"./action-bar-item\";\n\nexport * from \"./action-bar-item-dropdown\";\nexport * from \"./action-bar-separator\";\n\ninterface IActionBarProps {\n model: ActionContainer<Action>;\n handleClick?: boolean;\n}\n\nexport class SurveyActionBar extends SurveyElementBase<IActionBarProps, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: IActionBarProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n\n private get handleClick() {\n return this.props.handleClick !== undefined ? this.props.handleClick : true;\n }\n\n get model() {\n return this.props.model;\n }\n\n componentDidMount() {\n super.componentDidMount();\n if (!this.model.hasActions) return;\n const container: HTMLDivElement | null = this.rootRef.current;\n if(!!container) {\n this.model.initResponsivityManager(container, (callback) => { setTimeout(callback); });\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.model.hasActions) {\n this.model.resetResponsivityManager();\n }\n }\n componentDidUpdate(prevProps: IActionBarProps, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if(prevProps.model == this.props.model) {\n return;\n }\n if (!!this.model.hasActions) {\n this.model.resetResponsivityManager();\n const container: HTMLDivElement | null = this.rootRef.current;\n if(!!container) {\n this.model.initResponsivityManager(container, (callback) => { setTimeout(callback); });\n }\n }\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): any {\n if (!this.model.hasActions) return null;\n const items = this.renderItems();\n return (\n <div\n ref={this.rootRef}\n className={this.model.getRootCss()}\n onClick={this.handleClick ? function(event) {\n event.stopPropagation();\n } : undefined}\n >\n {items}\n </div>\n );\n }\n\n renderItems() {\n return this.model.renderedActions.map(\n (item: Action, itemIndex: number) => {\n return (\n <SurveyAction item={item} key={\"item\" + itemIndex}></SurveyAction>\n );\n }\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-action-bar\", (props) => {\n return React.createElement(\n SurveyActionBar,\n (props as any) as IActionBarProps\n );\n});\n","import React from \"react\";\nimport { SurveyElementCore, ITitleOwner } from \"survey-core\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\n\nexport class TitleContent extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n }\n\n private get cssClasses() {\n return this.props.cssClasses;\n }\n\n private get element(): SurveyElementCore {\n return this.props.element;\n }\n render(): JSX.Element {\n if(this.element.isTitleRenderedAsString)\n return SurveyElementBase.renderLocString(this.element.locTitle);\n var spans = this.renderTitleSpans(this.element.getTitleOwner(), this.cssClasses);\n return <>{spans}</>;\n }\n protected renderTitleSpans(element: ITitleOwner, cssClasses: any): Array<JSX.Element> {\n var getSpaceSpan = (key: any) => {\n return (\n <span data-key={key} key={key}>\n &nbsp;\n </span>\n );\n };\n var spans: Array<JSX.Element> = [];\n if (element.isRequireTextOnStart) {\n spans.push(this.renderRequireText(element));\n spans.push(getSpaceSpan(\"req-sp\"));\n }\n var questionNumber = element.no;\n if (questionNumber) {\n spans.push(\n <span\n data-key={\"q_num\"}\n key={\"q_num\"}\n className={element.cssTitleNumber}\n style={{ position: \"static\" }}\n aria-hidden={true}\n >\n {questionNumber}\n </span>\n );\n spans.push(getSpaceSpan(\"num-sp\"));\n }\n if (element.isRequireTextBeforeTitle) {\n spans.push(this.renderRequireText(element));\n spans.push(getSpaceSpan(\"req-sp\"));\n }\n spans.push(\n SurveyElementBase.renderLocString(element.locTitle, null, \"q_title\")\n );\n if (element.isRequireTextAfterTitle) {\n spans.push(getSpaceSpan(\"req-sp\"));\n spans.push(this.renderRequireText(element));\n }\n return spans;\n }\n\n private renderRequireText(element: ITitleOwner): JSX.Element {\n return (\n <span\n data-key={\"req-text\"}\n key={\"req-text\"}\n className={element.cssRequiredText}\n aria-hidden={true}\n >\n {element.requiredText}\n </span>\n );\n }\n}\n","import React from \"react\";\nimport { SurveyElement, RendererFactory } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyActionBar } from \"../action-bar/action-bar\";\nimport { TitleContent } from \"./title-content\";\n\nexport class TitleActions extends React.Component<any, any> {\n protected get cssClasses() {\n return this.props.cssClasses;\n }\n protected get element(): SurveyElement {\n return this.props.element;\n }\n\n render(): JSX.Element {\n const titleContent: JSX.Element = <TitleContent element={this.element} cssClasses={this.cssClasses}></TitleContent>;\n if(!this.element.hasTitleActions) return titleContent;\n return (\n <div className=\"sv-title-actions\">\n <span className=\"sv-title-actions__title\">{titleContent}</span>\n <SurveyActionBar model={this.element.getTitleToolbar()}></SurveyActionBar>\n </div>\n );\n }\n}\n\nRendererFactory.Instance.registerRenderer(\n \"element\",\n \"title-actions\",\n \"sv-title-actions\"\n);\n\nReactElementFactory.Instance.registerElement(\"sv-title-actions\", (props) => {\n return React.createElement(TitleActions, props);\n});\n","import React from \"react\";\nimport { SurveyElement, SurveyElementCore, doKey2ClickUp } from \"survey-core\";\nimport { TitleActions } from \"./title-actions\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\nexport class TitleElement extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n }\n private get element(): SurveyElement {\n return this.props.element;\n }\n renderTitleExpandableSvg() {\n if (!this.element.getCssTitleExpandableSvg()) return null;\n let iconName = this.element.isExpanded ? \"icon-collapse-16x16\": \"icon-expand-16x16\";\n\n return <SvgIcon\n className={this.element.getCssTitleExpandableSvg() }\n iconName={iconName}\n size={16}\n ></SvgIcon>;\n }\n render(): JSX.Element | any {\n const element = this.element;\n if (!element || !element.hasTitle) return null;\n const ariaLabel = element.titleAriaLabel || undefined;\n\n const titleExpandableSvg = this.renderTitleExpandableSvg();\n\n const titleContent = (\n <TitleActions\n element={element}\n cssClasses={element.cssClasses}\n ></TitleActions>\n );\n\n let onClick: undefined | ((e: any) => void) = undefined;\n let onKeyUp: undefined | ((e: any) => void) = undefined;\n if (element.hasTitleEvents) {\n onKeyUp = (evt: any) => {\n doKey2ClickUp(evt.nativeEvent);\n };\n }\n\n const CustomTag = element.titleTagName as keyof JSX.IntrinsicElements;\n return (\n <CustomTag\n className={element.cssTitle}\n id={element.ariaTitleId}\n aria-label={ariaLabel}\n tabIndex={element.titleTabIndex}\n aria-expanded={element.titleAriaExpanded}\n role={element.titleAriaRole}\n onClick={onClick}\n onKeyUp={onKeyUp}\n >\n {titleExpandableSvg}\n {titleContent}\n </CustomTag>\n );\n }\n}\n","import { HashTable } from \"survey-core\";\n\nexport class ReactQuestionFactory {\n public static Instance: ReactQuestionFactory = new ReactQuestionFactory();\n private creatorHash: HashTable<(name: string) => JSX.Element> = {};\n\n public registerQuestion(\n questionType: string,\n questionCreator: (name: string) => JSX.Element\n ) {\n this.creatorHash[questionType] = questionCreator;\n }\n public getAllTypes(): Array<string> {\n var result = new Array<string>();\n for (var key in this.creatorHash) {\n result.push(key);\n }\n return result.sort();\n }\n public createQuestion(questionType: string, params: any): JSX.Element | null {\n var creator = this.creatorHash[questionType];\n if (creator == null) return null;\n return creator(params);\n }\n}\n","import React from \"react\";\nimport { Base, CharacterCounter } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\n\nexport interface ICharacterCounterComponentProps {\n counter: CharacterCounter;\n remainingCharacterCounter: string;\n}\n\nexport class CharacterCounterComponent extends SurveyElementBase<ICharacterCounterComponentProps, any> {\n protected getStateElement(): Base {\n return this.props.counter;\n }\n\n renderElement(): JSX.Element | null {\n return (<div className={this.props.remainingCharacterCounter}>{this.props.counter.remainingCharacterCounter}</div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-character-counter\", (props) => {\n return React.createElement(CharacterCounterComponent, props);\n});","import React from \"react\";\nimport { TextAreaModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\n\ninterface ITextAreaProps {\n viewModel: TextAreaModel;\n}\n\nexport class TextAreaComponent extends SurveyElementBase<ITextAreaProps, any> {\n private initialValue;\n\n constructor(props: ITextAreaProps) {\n super(props);\n this.initialValue = this.viewModel.getTextValue() || \"\";\n }\n get viewModel(): TextAreaModel {\n return this.props.viewModel;\n }\n protected canRender(): boolean {\n return !!this.viewModel.question;\n }\n\n protected renderElement(): JSX.Element {\n return (\n <textarea\n id={this.viewModel.id}\n className={this.viewModel.className}\n ref={(textarea) => (this.viewModel.setElement(textarea))}\n disabled={this.viewModel.isDisabledAttr}\n readOnly={this.viewModel.isReadOnlyAttr}\n rows={this.viewModel.rows}\n cols={this.viewModel.cols}\n placeholder={this.viewModel.placeholder}\n maxLength={this.viewModel.maxLength}\n defaultValue={this.initialValue}\n onChange={(event: any) => { this.viewModel.onTextAreaInput(event); }}\n onFocus={(event: any) => { this.viewModel.onTextAreaFocus(event); }}\n onBlur={(event: any) => { this.viewModel.onTextAreaBlur(event); }}\n onKeyDown={(event: any) => { this.viewModel.onTextAreaKeyDown(event); }}\n aria-required={this.viewModel.ariaRequired}\n aria-label={this.viewModel.ariaLabel}\n aria-labelledby={this.viewModel.ariaLabelledBy}\n aria-describedby={this.viewModel.ariaDescribedBy}\n aria-invalid={this.viewModel.ariaInvalid}\n aria-errormessage={this.viewModel.ariaErrormessage}\n style={{ resize: this.viewModel.question.resizeStyle }}\n />\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-text-area\", (props) => {\n return React.createElement(TextAreaComponent, props);\n});","import * as React from \"react\";\nimport { ReactSurveyElement, SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\nimport { QuestionCommentModel, TextAreaModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { CharacterCounterComponent } from \"./components/character-counter\";\nimport { TextAreaComponent } from \"./components/text-area\";\n\nexport class SurveyQuestionComment extends SurveyQuestionUncontrolledElement<QuestionCommentModel> {\n private renderCharacterCounter() : JSX.Element | null {\n let counter: JSX.Element | null = null;\n if(!!this.question.getMaxLength()) {\n counter = <CharacterCounterComponent\n counter={this.question.characterCounter}\n remainingCharacterCounter={this.question.cssClasses.remainingCharacterCounter}>\n </CharacterCounterComponent>;\n }\n return counter;\n }\n constructor(props: any) {\n super(props);\n }\n protected renderElement(): JSX.Element {\n if (this.question.isReadOnlyRenderDiv()) {\n return <div>{this.question.value}</div>;\n }\n\n const counter = this.renderCharacterCounter();\n const textAreaModel: TextAreaModel = this.props.question.textAreaModel;\n return (\n <>\n <TextAreaComponent viewModel={textAreaModel}></TextAreaComponent>\n {counter}\n </>\n );\n }\n}\n\nexport class SurveyQuestionCommentItem extends ReactSurveyElement {\n private textAreaModel: TextAreaModel;\n\n constructor(props: any) {\n super(props);\n this.textAreaModel = this.getTextAreaModel();\n }\n\n protected canRender(): boolean {\n return !!this.props.question;\n }\n\n protected getTextAreaModel(): TextAreaModel {\n return this.props.question.commentTextAreaModel;\n }\n\n protected renderElement(): JSX.Element {\n const question = this.props.question;\n if (question.isReadOnlyRenderDiv()) {\n const comment = this.textAreaModel.getTextValue() || \"\";\n return <div>{comment}</div>;\n }\n\n return (\n <TextAreaComponent viewModel={this.textAreaModel}></TextAreaComponent>\n );\n }\n}\nexport class SurveyQuestionOtherValueItem extends SurveyQuestionCommentItem {\n protected getTextAreaModel(): TextAreaModel {\n return this.props.question.otherTextAreaModel;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"comment\", (props) => {\n return React.createElement(SurveyQuestionComment, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\n\nexport class SurveyCustomWidget extends SurveyQuestionElementBase {\n private widgetRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.widgetRef = React.createRef();\n }\n private _afterRender() {\n if (this.questionBase.customWidget) {\n let el = this.widgetRef.current;\n if (!!el) {\n this.questionBase.customWidget.afterRender(this.questionBase, el);\n this.questionBase.customWidgetData.isNeedRender = false;\n }\n }\n }\n componentDidMount() {\n super.componentDidMount();\n if (this.questionBase) {\n this._afterRender();\n }\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n var isDefaultRender =\n !!this.questionBase.customWidget &&\n this.questionBase.customWidget.isDefaultRender;\n if (this.questionBase && !isDefaultRender) {\n this._afterRender();\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.questionBase.customWidget) {\n let el = this.widgetRef.current;\n if (!!el) {\n this.questionBase.customWidget.willUnmount(this.questionBase, el);\n }\n }\n }\n protected canRender(): boolean {\n return super.canRender() && this.questionBase.visible;\n }\n protected renderElement(): JSX.Element {\n let customWidget = this.questionBase.customWidget;\n\n if (customWidget.isDefaultRender) {\n return (\n <div ref={this.widgetRef}>\n {this.creator.createQuestionElement(this.questionBase)}\n </div>\n );\n }\n\n let widget = null;\n if (customWidget.widgetJson.render) {\n widget = customWidget.widgetJson.render(this.questionBase);\n } else {\n if (customWidget.htmlTemplate) {\n let htmlValue = { __html: customWidget.htmlTemplate };\n return <div ref={this.widgetRef} dangerouslySetInnerHTML={htmlValue} />;\n }\n }\n return <div ref={this.widgetRef}>{widget}</div>;\n }\n}\n","import React from \"react\";\nimport { Question, PanelModel, QuestionPanelDynamicModel } from \"survey-core\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { TitleElement } from \"./components/title/title-element\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\nexport class SurveyElementHeader extends React.Component<any, any> {\n private get element(): Question | PanelModel {\n return this.props.element;\n }\n public render(): JSX.Element {\n const element = this.element;\n const title = element.hasTitle ? (\n <TitleElement element={element}></TitleElement>\n ) : null;\n const description = element.hasDescriptionUnderTitle\n ? SurveyElementBase.renderQuestionDescription(this.element)\n : null;\n\n const additionalTitleToolbarElement = element.hasAdditionalTitleToolbar ? <SurveyActionBar model={element.additionalTitleToolbar}></SurveyActionBar> : null;\n\n const headerStyle: any = { width: undefined };\n if(element instanceof Question) {\n headerStyle.width = element.titleWidth;\n }\n\n return (\n <div className={element.cssHeader} onClick={(e) => element.clickTitleFunction && element.clickTitleFunction(e.nativeEvent)} style={headerStyle}>\n {title}\n {description}\n {additionalTitleToolbarElement}\n </div>\n );\n }\n}","import * as React from \"react\";\nimport {\n Base,\n SurveyElement,\n SurveyError,\n Question,\n QuestionMatrixDropdownRenderedCell,\n SurveyModel\n} from \"survey-core\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyElementBase, ReactSurveyElement } from \"./reactquestion_element\";\nimport { SurveyQuestionCommentItem } from \"./reactquestion_comment\";\nimport { SurveyCustomWidget } from \"./custom-widget\";\nimport { SurveyElementHeader } from \"./element-header\";\n\nexport interface ISurveyCreator {\n createQuestionElement(question: Question): JSX.Element | null;\n renderError(key: string, error: SurveyError, cssClasses: any, element?: any): JSX.Element;\n questionTitleLocation(): string;\n questionErrorLocation(): string;\n}\n\nexport class SurveyQuestion extends SurveyElementBase<any, any> {\n private isNeedFocus = false;\n public static renderQuestionBody(\n creator: ISurveyCreator,\n question: Question\n ): JSX.Element | any {\n // if (!question.isVisible) return null;\n var customWidget = question.customWidget;\n if (!customWidget) {\n return creator.createQuestionElement(question);\n }\n return <SurveyCustomWidget creator={creator} question={question} />;\n }\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.question;\n }\n protected get question(): Question {\n return this.props.element;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n componentDidMount() {\n super.componentDidMount();\n if (!!this.question) {\n this.question[\"react\"] = this;\n }\n this.doAfterRender();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.question) {\n this.question[\"react\"] = null;\n }\n const el = this.rootRef.current;\n if (!!el) {\n el.removeAttribute(\"data-rendered\");\n }\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.doAfterRender();\n }\n private doAfterRender() {\n if (this.isNeedFocus) {\n if (!this.question.isCollapsed) {\n this.question.clickTitleFunction();\n }\n this.isNeedFocus = false;\n }\n if (this.question) {\n var el = this.rootRef.current;\n if (el && el.getAttribute(\"data-rendered\") !== \"r\") {\n el.setAttribute(\"data-rendered\", \"r\");\n el.setAttribute(\"data-name\", this.question.name);\n if (this.question.afterRender) {\n this.question.afterRender(el);\n }\n }\n }\n }\n protected canRender(): boolean {\n return (\n super.canRender() &&\n !!this.question &&\n !!this.creator\n );\n }\n\n protected renderQuestionContent(): JSX.Element {\n let question = this.question;\n var contentStyle = {\n display: this.question.renderedIsExpanded ? \"\" : \"none\",\n };\n var cssClasses = question.cssClasses;\n var questionRender = this.renderQuestion();\n var errorsTop = this.question.showErrorOnTop\n ? this.renderErrors(cssClasses, \"top\")\n : null;\n var errorsBottom = this.question.showErrorOnBottom\n ? this.renderErrors(cssClasses, \"bottom\")\n : null;\n var comment =\n question && question.hasComment ? this.renderComment(cssClasses) : null;\n var descriptionUnderInput = question.hasDescriptionUnderInput\n ? this.renderDescription()\n : null;\n return (\n <div\n className={question.cssContent || undefined}\n style={contentStyle}\n role=\"presentation\"\n >\n {errorsTop}\n {questionRender}\n {comment}\n {errorsBottom}\n {descriptionUnderInput}\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n var question = this.question;\n var cssClasses = question.cssClasses;\n var header = this.renderHeader(question);\n var headerTop = question.hasTitleOnLeftTop ? header : null;\n var headerBottom = question.hasTitleOnBottom ? header : null;\n\n const errorsAboveQuestion = this.question.showErrorsAboveQuestion\n ? this.renderErrors(cssClasses, \"\")\n : null;\n\n const errorsBelowQuestion = this.question.showErrorsBelowQuestion\n ? this.renderErrors(cssClasses, \"\")\n : null;\n\n let rootStyle = question.getRootStyle();\n let questionContent = this.wrapQuestionContent(this.renderQuestionContent());\n\n return (\n <>\n <div\n ref={this.rootRef}\n id={question.id}\n className={question.getRootCss()}\n style={rootStyle}\n role={question.ariaRole}\n aria-required={this.question.ariaRequired}\n aria-invalid={this.question.ariaInvalid}\n aria-labelledby={question.ariaLabelledBy}\n aria-describedby={question.ariaDescribedBy}\n aria-expanded={question.ariaExpanded}\n >\n {errorsAboveQuestion}\n {headerTop}\n {questionContent}\n {headerBottom}\n {errorsBelowQuestion}\n </div>\n </>\n );\n }\n protected wrapElement(element: JSX.Element): JSX.Element {\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapElement(survey, element, this.question);\n }\n return wrapper ?? element;\n }\n protected wrapQuestionContent(element: JSX.Element): JSX.Element {\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapQuestionContent(survey, element, this.question);\n }\n return wrapper ?? element;\n }\n protected renderQuestion(): JSX.Element {\n return SurveyQuestion.renderQuestionBody(this.creator, this.question);\n }\n protected renderDescription(): JSX.Element {\n return SurveyElementBase.renderQuestionDescription(this.question);\n }\n protected renderComment(cssClasses: any): JSX.Element {\n const commentText = SurveyElementBase.renderLocString(\n this.question.locCommentText\n );\n return (\n <div className={this.question.getCommentAreaCss()}>\n <div>{commentText}</div>\n <SurveyQuestionCommentItem\n question={this.question}\n cssClasses={cssClasses}\n otherCss={cssClasses.other}\n isDisplayMode={this.question.isInputReadOnly}\n />\n </div>\n );\n }\n protected renderHeader(question: Question): JSX.Element {\n return <SurveyElementHeader element={question}></SurveyElementHeader>;\n }\n protected renderErrors(cssClasses: any, location: string): JSX.Element {\n return (\n <SurveyElementErrors\n element={this.question}\n cssClasses={cssClasses}\n creator={this.creator}\n location={location}\n id={this.question.id + \"_errors\"}\n />\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"question\", (props) => {\n return React.createElement(SurveyQuestion, props);\n});\n\nexport class SurveyElementErrors extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.state = this.getState();\n }\n protected get id(): string {\n return this.props.element.id + \"_errors\";\n }\n protected get element(): SurveyElement {\n return this.props.element;\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected get location(): string {\n return this.props.location;\n }\n private getState(prevState: any = null) {\n return !prevState ? { error: 0 } : { error: prevState.error + 1 };\n }\n protected canRender(): boolean {\n return !!this.element && this.element.hasVisibleErrors;\n }\n componentWillUnmount() {\n }\n protected renderElement(): JSX.Element {\n const errors: Array<JSX.Element> = [];\n for (let i = 0; i < this.element.errors.length; i++) {\n const key: string = \"error\" + i;\n errors.push(\n this.creator.renderError(key, this.element.errors[i], this.cssClasses, this.element)\n );\n }\n\n return (\n <div\n role=\"alert\"\n aria-live=\"polite\"\n className={this.element.cssError}\n id={this.id}\n >\n {errors}\n </div>\n );\n }\n}\n\nexport abstract class SurveyQuestionAndErrorsWrapped extends ReactSurveyElement {\n [index: string]: any;\n constructor(props: any) {\n super(props);\n }\n protected getStateElement(): Base {\n return this.question;\n }\n protected get question(): Question {\n return this.getQuestion();\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n protected getQuestion(): Question {\n return this.props.question;\n }\n protected get itemCss(): string {\n return this.props.itemCss;\n }\n componentDidMount() {\n super.componentDidMount();\n this.doAfterRender();\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.doAfterRender();\n }\n protected doAfterRender() { }\n protected canRender(): boolean {\n return !!this.question;\n }\n protected renderContent(): JSX.Element {\n var renderedQuestion = this.renderQuestion();\n return (\n <>\n {renderedQuestion}\n </>\n );\n }\n protected abstract renderElement(): JSX.Element;\n protected getShowErrors(): boolean {\n return this.question.isVisible;\n }\n protected renderQuestion(): JSX.Element {\n return SurveyQuestion.renderQuestionBody(this.creator, this.question);\n }\n}\n\nexport class SurveyQuestionAndErrorsCell extends SurveyQuestionAndErrorsWrapped {\n [index: string]: any;\n protected cellRef: React.RefObject<HTMLTableCellElement>;\n constructor(props: any) {\n super(props);\n this.cellRef = React.createRef();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.question) {\n var el = this.cellRef.current;\n if (!!el) {\n el.removeAttribute(\"data-rendered\");\n }\n }\n }\n protected renderCellContent(): JSX.Element {\n return (\n <div className={this.props.cell.cellQuestionWrapperClassName}>\n {this.renderQuestion()}\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n var style = this.getCellStyle();\n const cell = this.props.cell;\n const focusIn = () => { cell.focusIn(); };\n return (\n <td\n ref={this.cellRef}\n className={this.itemCss}\n colSpan={cell.colSpans}\n title={cell.getTitle()}\n style={style}\n onFocus={focusIn}\n >\n {this.wrapCell(this.props.cell, this.renderCellContent())}\n </td>\n );\n }\n protected getCellStyle(): any {\n return null;\n }\n protected getHeaderText(): string {\n return \"\";\n }\n protected wrapCell(\n cell: QuestionMatrixDropdownRenderedCell,\n element: JSX.Element\n ): JSX.Element {\n if (!cell) {\n return element;\n }\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapMatrixCell(survey, element, cell, this.props.reason);\n }\n return wrapper ?? element;\n }\n}\n\nexport class SurveyQuestionErrorCell extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n this.state = {\n changed: 0\n };\n if(this.question) {\n this.registerCallback(this.question);\n }\n }\n private get question(): Question {\n return this.props.question;\n }\n private update() {\n this.setState({ changed: this.state.changed + 1 });\n }\n protected getQuestionPropertiesToTrack(): string[] {\n return [\"errors\"];\n }\n private registerCallback(question: Question) {\n question.registerFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(), () => {\n this.update();\n }, \"__reactSubscription\");\n }\n private unRegisterCallback(question: Question) {\n question.unRegisterFunctionOnPropertiesValueChanged(this.getQuestionPropertiesToTrack(), \"__reactSubscription\");\n }\n componentDidUpdate(prevProps: Readonly<any>): void {\n if(prevProps.question && prevProps.question !== this.question) {\n this.unRegisterCallback(prevProps.cell);\n }\n if(this.question) {\n this.registerCallback(this.question);\n }\n }\n componentWillUnmount(): void {\n if(this.question) {\n this.unRegisterCallback(this.question);\n }\n }\n render(): JSX.Element {\n return <SurveyElementErrors element={this.question} creator={this.props.creator} cssClasses={this.question.cssClasses}></SurveyElementErrors>;\n }\n}\n","import * as React from \"react\";\nimport { PageModel, PanelModelBase } from \"survey-core\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyPanelBase } from \"./panel-base\";\nimport { TitleElement } from \"./components/title/title-element\";\nimport { SurveyElementErrors } from \"./reactquestion\";\n\nexport class SurveyPage extends SurveyPanelBase {\n constructor(props: any) {\n super(props);\n }\n protected getPanelBase(): PanelModelBase {\n return this.props.page;\n }\n public get page(): PageModel {\n return this.panelBase as PageModel;\n }\n\n // shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n // if(!super.shouldComponentUpdate(nextProps, nextState)) return false;\n // return true;\n // }\n\n protected renderElement(): JSX.Element {\n var title = this.renderTitle();\n var description = this.renderDescription();\n var rows = this.renderRows(this.panelBase.cssClasses);\n const errors = (\n <SurveyElementErrors\n element={this.panelBase}\n cssClasses={this.panelBase.cssClasses}\n creator={this.creator}\n />\n );\n return (\n <div ref={this.rootRef} className={this.page.cssRoot}>\n {title}\n {description}\n {errors}\n {rows}\n </div >\n );\n }\n protected renderTitle(): JSX.Element {\n return <TitleElement element={this.page}></TitleElement>;\n }\n protected renderDescription(): JSX.Element | null {\n if (!this.page._showDescription) return null;\n var text = SurveyElementBase.renderLocString(this.page.locDescription);\n return (\n <div className={this.panelBase.cssClasses.page.description}>{text}</div>\n );\n }\n}\n","import React from \"react\";\nimport { SurveyModel } from \"survey-core\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { TitleElement } from \"../title/title-element\";\n\ninterface ISurveyHeaderProps {\n survey: SurveyModel;\n}\n\nexport class SurveyHeader extends React.Component<ISurveyHeaderProps, any> {\n constructor(props: ISurveyHeaderProps) {\n super(props);\n this.state = { changed: 0 };\n this.rootRef = React.createRef();\n }\n\n private get survey(): SurveyModel {\n return this.props.survey;\n }\n private get css(): any {\n return this.survey.css;\n }\n private rootRef: React.RefObject<HTMLDivElement>;\n\n componentDidMount() {\n const self: SurveyHeader = this;\n this.survey.afterRenderHeader(this.rootRef.current as HTMLDivElement);\n this.survey.locLogo.onChanged = function () {\n self.setState({ changed: self.state.changed + 1 });\n };\n }\n componentWillUnmount() {\n this.survey.locLogo.onChanged = function () { };\n }\n\n private renderTitle(): JSX.Element | null {\n if (!this.survey.renderedHasTitle) return null;\n const description = SurveyElementBase.renderLocString(\n this.survey.locDescription\n );\n return (\n <div\n className={this.css.headerText}\n style={{ maxWidth: this.survey.titleMaxWidth }}\n >\n <TitleElement element={this.survey}></TitleElement>\n {this.survey.renderedHasDescription ? <div className={this.css.description}>{description}</div> : null}\n </div>\n );\n }\n\n private renderLogoImage(isRender: boolean): JSX.Element | null {\n if (!isRender) return null;\n const componentName: string = this.survey.getElementWrapperComponentName(\n this.survey,\n \"logo-image\"\n );\n const componentData: any = this.survey.getElementWrapperComponentData(\n this.survey,\n \"logo-image\"\n );\n return ReactElementFactory.Instance.createElement(componentName, {\n data: componentData,\n });\n }\n public render(): JSX.Element | null {\n if (!this.survey.renderedHasHeader) return null;\n return (\n <div className={this.css.header} ref={this.rootRef}>\n {this.renderLogoImage(this.survey.isLogoBefore)}\n {this.renderTitle()}\n {this.renderLogoImage(this.survey.isLogoAfter)}\n <div className={this.css.headerClose}></div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"survey-header\",\n (props: ISurveyHeaderProps) => {\n return React.createElement(SurveyHeader, props);\n }\n);\n","import React from \"react\";\n\nexport class BrandInfo extends React.Component<any, any> {\n render() {\n return (\n <div className=\"sv-brand-info\">\n <a className=\"sv-brand-info__logo\" href=\"https://surveyjs.io/?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=landing_page\"><img src=\"https://surveyjs.io/Content/Images/poweredby.svg\"/></a>\n <div className=\"sv-brand-info__text\">Try and see how easy it is to <a href=\"https://surveyjs.io/create-survey?utm_source=built-in_links&utm_medium=online_survey_tool&utm_campaign=create_survey\">create a survey</a></div>\n <div className=\"sv-brand-info__terms\"><a href=\"https://surveyjs.io/TermsOfUse\">Terms of Use & Privacy Statement</a></div>\n </div>\n );\n }\n}\n","import React from \"react\";\nimport { Base, Notifier } from \"survey-core\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyActionBar } from \"./action-bar/action-bar\";\n\nexport interface INotifierComponentProps {\n notifier: Notifier;\n}\n\nexport class NotifierComponent extends SurveyElementBase<INotifierComponentProps, any> {\n get notifier(): Notifier {\n return this.props.notifier;\n }\n protected getStateElement(): Base {\n return this.notifier;\n }\n\n renderElement(): JSX.Element | null {\n if(!this.notifier.isDisplayed) return null;\n\n const style = { visibility: this.notifier.active ? \"visible\" : \"hidden\" } as React.CSSProperties;\n\n return (\n <div className={this.notifier.css} style={style} role=\"alert\" aria-live=\"polite\">\n <span>{this.notifier.message}</span>\n <SurveyActionBar model={this.notifier.actionBar}></SurveyActionBar>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-notifier\", (props) => {\n return React.createElement(NotifierComponent, props);\n});","import React from \"react\";\nimport { ISurveyLayoutElement } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\n\nexport class ComponentsContainer extends React.Component<any, any> {\n render(): JSX.Element | null {\n const components: Array<ISurveyLayoutElement> = this.props.survey.getContainerContent(this.props.container);\n const needRenderWrapper = this.props.needRenderWrapper === false ? false : true;\n if(components.length == 0) {\n return null;\n }\n if(!needRenderWrapper) {\n return <>\n {components.map(component => {\n return ReactElementFactory.Instance.createElement(component.component as string, { survey: this.props.survey, model: component.data, container: this.props.container, key: component.id });\n })}\n </>;\n }\n return <div className={\"sv-components-column\" + \" sv-components-container-\" + this.props.container}>\n {components.map(component => {\n return ReactElementFactory.Instance.createElement(component.component as string, { survey: this.props.survey, model: component.data, container: this.props.container, key: component.id });\n })}\n </div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-components-container\", (props: any) => {\n return React.createElement(ComponentsContainer, props);\n});\n","\nimport React from \"react\";\nimport { SvgRegistry } from \"survey-core\";\n\nexport class SvgBundleComponent extends React.Component {\n private containerRef: React.RefObject<SVGSVGElement>;\n\n constructor(props: any) {\n super(props);\n this.containerRef = React.createRef();\n }\n componentDidMount() {\n if (!!this.containerRef.current) {\n this.containerRef.current.innerHTML = SvgRegistry.iconsRenderedHtml();\n }\n }\n render() {\n const svgStyle = {\n display: \"none\"\n };\n return <svg style={svgStyle} id=\"sv-icon-holder-global-container\" ref={this.containerRef}></svg>;\n }\n}","import { createPortal } from \"react-dom\";\nimport React from \"react\";\nimport { PopupContainer } from \"./popup\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { createDialogOptions, createPopupModalViewModel, IDialogOptions, PopupBaseViewModel, settings } from \"survey-core\";\n\ninterface IModalDescriptor { init: () => void, clean: () => void }\n\nexport class PopupModal extends SurveyElementBase<{}, any> {\n private model: PopupBaseViewModel;\n private isInitialized: boolean = false;\n private descriptor: IModalDescriptor;\n constructor(props: {}) {\n super(props);\n this.state = { changed: 0 };\n this.descriptor = {\n init: this.init,\n clean: this.clean\n };\n }\n static modalDescriptors: Array<IModalDescriptor> = [];\n static addModalDescriptor(descriptor: IModalDescriptor): void {\n if(!settings.showModal) {\n descriptor.init();\n }\n this.modalDescriptors.push(descriptor);\n }\n static removeModalDescriptor(descriptor: IModalDescriptor): void {\n descriptor.clean();\n this.modalDescriptors.splice(this.modalDescriptors.indexOf(descriptor), 1);\n if(!settings.showModal && this.modalDescriptors[0]) {\n this.modalDescriptors[0].init();\n }\n }\n protected renderElement(): JSX.Element | null {\n if(!this.model) return null;\n return createPortal(<PopupContainer model={this.model}></PopupContainer>, this.model.container);\n }\n showDialog(dialogOptions: IDialogOptions, rootElement?: HTMLElement): PopupBaseViewModel {\n this.model = createPopupModalViewModel(dialogOptions, rootElement);\n const onVisibilityChangedCallback = (_: PopupBaseViewModel, options: { isVisible: boolean }) => {\n if(!options.isVisible) {\n this.model.dispose();\n this.model = undefined as any;\n this.setState({ changed: this.state.changed + 1 });\n }\n };\n this.model.onVisibilityChanged.add(onVisibilityChangedCallback);\n this.model.model.isVisible = true;\n this.setState({ changed: this.state.changed + 1 });\n return this.model;\n }\n init: () => void = () => {\n if(!this.isInitialized) {\n settings.showModal = (\n componentName: string,\n data: any,\n onApply: () => boolean,\n onCancel?: () => void,\n cssClass?: string,\n title?: string,\n displayMode: \"popup\" | \"overlay\" = \"popup\"\n ): PopupBaseViewModel => {\n const options = createDialogOptions(\n componentName,\n data,\n onApply,\n onCancel,\n undefined,\n undefined,\n cssClass,\n title,\n displayMode\n );\n return this.showDialog(options);\n };\n\n settings.showDialog = (dialogOptions: IDialogOptions, rootElement?: HTMLElement) => {\n return this.showDialog(dialogOptions, rootElement);\n };\n this.isInitialized = true;\n }\n }\n clean: () => void = () => {\n if(this.isInitialized) {\n settings.showModal = undefined as any;\n settings.showDialog = undefined as any;\n this.isInitialized = false;\n }\n }\n componentDidMount(): void {\n PopupModal.addModalDescriptor(this.descriptor);\n }\n componentWillUnmount(): void {\n if(this.model) {\n this.model.dispose();\n this.model = undefined as any;\n }\n PopupModal.removeModalDescriptor(this.descriptor);\n }\n}","import * as React from \"react\";\nimport { Base, Question, PageModel, SurveyError, StylesManager, surveyCss, Helpers, doKey2ClickUp, SvgRegistry, SurveyModel, doKey2ClickBlur, doKey2ClickDown, IAttachKey2clickOptions } from \"survey-core\";\nimport { SurveyPage } from \"./page\";\nimport { ISurveyCreator } from \"./reactquestion\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SurveyLocStringViewer } from \"./string-viewer\";\nimport { SurveyHeader } from \"./components/survey-header/survey-header\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { BrandInfo } from \"./components/brand-info\";\nimport { NotifierComponent } from \"./components/notifier\";\nimport { ComponentsContainer } from \"./components/components-container\";\nimport { SvgBundleComponent } from \"./svgbundle\";\nimport { PopupModal } from \"./components/popup/popup-modal\";\n\nexport class Survey extends SurveyElementBase<any, any>\n implements ISurveyCreator {\n private previousJSON = {};\n private rootRef: React.RefObject<HTMLDivElement>;\n public static get cssType(): string {\n return surveyCss.currentType;\n }\n public static set cssType(value: string) {\n StylesManager.applyTheme(value);\n }\n protected survey: SurveyModel;\n\n private rootNodeId: string; // root dom node ID attr\n private rootNodeClassName: string; // root dom node class\n\n constructor(props: any) {\n super(props);\n this.createSurvey(props);\n this.updateSurvey(props, {});\n this.rootRef = React.createRef();\n this.rootNodeId = props.id || null;\n this.rootNodeClassName = props.className || \"\";\n }\n protected getStateElement(): Base {\n return this.survey;\n }\n private isSurveyUpdated = false;\n private onSurveyUpdated() {\n if (!!this.survey) {\n const el = this.rootRef.current;\n if (!!el) this.survey.afterRenderSurvey(el);\n this.survey.startTimerFromUI();\n this.setSurveyEvents();\n }\n }\n shouldComponentUpdate(nextProps: any, nextState: any) {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (this.isModelJSONChanged(nextProps)) {\n this.destroySurvey();\n this.createSurvey(nextProps);\n this.updateSurvey(nextProps, {});\n this.isSurveyUpdated = true;\n }\n return true;\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateSurvey(this.props, prevProps);\n if(this.isSurveyUpdated) {\n this.onSurveyUpdated();\n this.isSurveyUpdated = false;\n }\n }\n componentDidMount() {\n super.componentDidMount();\n this.onSurveyUpdated();\n }\n destroySurvey() {\n if (this.survey) {\n this.survey.renderCallback = undefined as any;\n this.survey.onPartialSend.clear();\n this.survey.stopTimer();\n this.survey.destroyResizeObserver();\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.destroySurvey();\n }\n doRender(): JSX.Element {\n let renderResult: JSX.Element | null;\n if (this.survey.state == \"completed\") {\n renderResult = this.renderCompleted();\n } else if (this.survey.state == \"completedbefore\") {\n renderResult = this.renderCompletedBefore();\n } else if (this.survey.state == \"loading\") {\n renderResult = this.renderLoading();\n } else if (this.survey.state == \"empty\") {\n renderResult = this.renderEmptySurvey();\n } else {\n renderResult = this.renderSurvey();\n }\n const backgroundImage = !!this.survey.backgroundImage ? <div className={this.css.rootBackgroundImage} style={this.survey.backgroundImageStyle}></div> : null;\n const header: JSX.Element | null = this.survey.headerView === \"basic\" ? <SurveyHeader survey={this.survey}></SurveyHeader> : null;\n\n const onSubmit = function (event: React.FormEvent<HTMLFormElement>) {\n event.preventDefault();\n };\n let customHeader: JSX.Element | null = <div className=\"sv_custom_header\" />;\n if (this.survey.hasLogo) {\n customHeader = null;\n }\n const rootCss = this.survey.getRootCss();\n const cssClasses = this.rootNodeClassName ? this.rootNodeClassName + \" \" + rootCss : rootCss;\n\n return (\n <div id={this.rootNodeId} ref={this.rootRef} className={cssClasses} style={this.survey.themeVariables} lang={this.survey.locale || \"en\"} dir={this.survey.localeDir}>\n {this.survey.needRenderIcons ? <SvgBundleComponent></SvgBundleComponent> : null }\n {<PopupModal></PopupModal>}\n <div className={this.survey.wrapperFormCss}>\n {backgroundImage}\n <form onSubmit={onSubmit}>\n {customHeader}\n <div className={this.css.container}>\n {header}\n <ComponentsContainer survey={this.survey} container={\"header\"} needRenderWrapper={false}></ComponentsContainer>\n {renderResult}\n <ComponentsContainer survey={this.survey} container={\"footer\"} needRenderWrapper={false}></ComponentsContainer>\n </div>\n </form>\n <NotifierComponent notifier={this.survey.notifier} ></NotifierComponent>\n </div>\n </div>\n );\n }\n protected renderElement(): JSX.Element {\n return this.doRender();\n }\n public get css(): any {\n return this.survey.css;\n }\n public set css(value: any) {\n this.survey.css = value;\n }\n protected renderCompleted(): JSX.Element | null {\n if (!this.survey.showCompletedPage) return null;\n\n var htmlValue = { __html: this.survey.processedCompletedHtml };\n return (\n <React.Fragment>\n <div\n dangerouslySetInnerHTML={htmlValue}\n className={this.survey.completedCss}\n />\n <ComponentsContainer survey={this.survey} container={\"completePage\"} needRenderWrapper={false}></ComponentsContainer>\n </React.Fragment>\n );\n }\n protected renderCompletedBefore(): JSX.Element {\n var htmlValue = { __html: this.survey.processedCompletedBeforeHtml };\n return (\n <div dangerouslySetInnerHTML={htmlValue} className={this.survey.completedBeforeCss} />\n );\n }\n protected renderLoading(): JSX.Element {\n var htmlValue = { __html: this.survey.processedLoadingHtml };\n return (\n <div dangerouslySetInnerHTML={htmlValue} className={this.survey.loadingBodyCss} />\n );\n }\n protected renderSurvey(): JSX.Element {\n var activePage = this.survey.activePage\n ? this.renderPage(this.survey.activePage)\n : null;\n const isStaring = this.survey.isShowStartingPage;\n var pageId = this.survey.activePage ? this.survey.activePage.id : \"\";\n\n let className = this.survey.bodyCss;\n const style: any = {};\n if(!!this.survey.renderedWidth) {\n style.maxWidth = this.survey.renderedWidth;\n }\n return (\n <div className={this.survey.bodyContainerCss}>\n <ComponentsContainer survey={this.survey} container={\"left\"}></ComponentsContainer>\n <div className=\"sv-components-column sv-components-column--expandable\">\n <ComponentsContainer survey={this.survey} container={\"center\"}></ComponentsContainer>\n <div\n id={pageId}\n className={className}\n style={style}\n >\n <ComponentsContainer survey={this.survey} container={\"contentTop\"}></ComponentsContainer>\n {activePage}\n <ComponentsContainer survey={this.survey} container={\"contentBottom\"}></ComponentsContainer>\n { this.survey.showBrandInfo ? <BrandInfo/> : null }\n </div>\n </div>\n <ComponentsContainer survey={this.survey} container={\"right\"}></ComponentsContainer>\n </div>\n );\n }\n protected renderPage(page: PageModel): JSX.Element {\n return (\n <SurveyPage\n survey={this.survey}\n page={page}\n css={this.css}\n creator={this}\n />\n );\n }\n protected renderEmptySurvey(): JSX.Element {\n return <div className={this.css.bodyEmpty}>{this.survey.emptySurveyText}</div>;\n }\n protected createSurvey(newProps: any) {\n if (!newProps) newProps = {};\n this.previousJSON = {};\n if (newProps) {\n if (newProps.model) {\n this.survey = newProps.model;\n } else {\n if (newProps.json) {\n this.previousJSON = newProps.json;\n this.survey = new SurveyModel(newProps.json);\n }\n }\n } else {\n this.survey = new SurveyModel();\n }\n if (!!newProps.css) {\n this.survey.css = this.css;\n }\n }\n private isModelJSONChanged(newProps: any): boolean {\n if (!!newProps[\"model\"]) {\n return this.survey !== newProps[\"model\"];\n }\n if (!!newProps[\"json\"]) {\n return !Helpers.isTwoValueEquals(newProps[\"json\"], this.previousJSON);\n }\n return false;\n }\n protected updateSurvey(newProps: any, oldProps?: any) {\n if (!newProps) return;\n oldProps = oldProps || {};\n for (var key in newProps) {\n if (key == \"model\" || key == \"children\" || key == \"json\") {\n continue;\n }\n if (key == \"css\") {\n this.survey.mergeValues(newProps.css, this.survey.getCss());\n this.survey[\"updateNavigationCss\"]();\n this.survey[\"updateElementCss\"]();\n continue;\n }\n if (newProps[key] === oldProps[key]) continue;\n if (key.indexOf(\"on\") == 0 && this.survey[key] && this.survey[key].add) {\n if (!!oldProps[key]) {\n this.survey[key].remove(oldProps[key]);\n }\n this.survey[key].add(newProps[key]);\n } else {\n this.survey[key] = newProps[key];\n }\n }\n }\n protected setSurveyEvents() {\n var self = this;\n\n this.survey.renderCallback = function () {\n var counter =\n !!self.state && !!self.state.modelChanged ? self.state.modelChanged : 0;\n self.setState({ modelChanged: counter + 1 });\n };\n this.survey.onPartialSend.add((sender) => {\n if (!!self.state) {\n self.setState(self.state);\n }\n });\n }\n\n //ISurveyCreator\n public createQuestionElement(question: Question): JSX.Element | null {\n return ReactQuestionFactory.Instance.createQuestion(question.isDefaultRendering() ? question.getTemplate() : question.getComponentName(),\n {\n question: question,\n isDisplayMode: question.isInputReadOnly,\n creator: this,\n }\n );\n }\n public renderError(\n key: string,\n error: SurveyError,\n cssClasses: any,\n element?: any\n ): JSX.Element {\n return ReactElementFactory.Instance.createElement(this.survey.questionErrorComponent, { key: key, error, cssClasses, element });\n }\n public questionTitleLocation(): string {\n return this.survey.questionTitleLocation;\n }\n public questionErrorLocation(): string {\n return this.survey.questionErrorLocation;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey\", (props) => {\n return React.createElement(Survey, props);\n});\n\nexport function attachKey2click(element: JSX.Element, viewModel?: any, options: IAttachKey2clickOptions = { processEsc: true, disableTabStop: false }): JSX.Element {\n if ((!!viewModel && viewModel.disableTabStop) || (!!options && options.disableTabStop)) {\n return React.cloneElement(element, { tabIndex: -1 });\n }\n options = { ...options };\n return React.cloneElement(\n element,\n {\n tabIndex: 0,\n onKeyUp: (evt: KeyboardEvent) => {\n evt.preventDefault();\n evt.stopPropagation();\n doKey2ClickUp(evt, options);\n return false;\n },\n onKeyDown: (evt: any) => doKey2ClickDown(evt, options),\n onBlur: (evt: any) => doKey2ClickBlur(evt),\n }\n );\n}","import * as React from \"react\";\nimport { SurveyModel } from \"survey-core\";\n\nexport class SurveyNavigationBase extends React.Component<any, any> {\n constructor(props: any) {\n super(props);\n this.state = { update: 0 };\n }\n protected get survey(): SurveyModel {\n return this.props.survey;\n }\n protected get css(): any {\n return this.props.css || this.survey.css;\n }\n private updateStateFunction: any = null;\n componentDidMount() {\n if (this.survey) {\n var self = this;\n this.updateStateFunction = function () {\n self.setState({ update: self.state.update + 1 });\n };\n this.survey.onPageVisibleChanged.add(this.updateStateFunction);\n }\n }\n componentWillUnmount() {\n if (this.survey && this.updateStateFunction) {\n this.survey.onPageVisibleChanged.remove(this.updateStateFunction);\n this.updateStateFunction = null;\n }\n }\n}\n","import * as React from \"react\";\nimport { Base, SurveyTimerModel } from \"survey-core\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\n\nexport class SurveyTimerPanel extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected getStateElement(): Base {\n return this.timerModel;\n }\n protected get timerModel(): SurveyTimerModel {\n return this.props.model;\n }\n private readonly circleLength = 440;\n private get progress(): number {\n return -this.timerModel.progress * this.circleLength;\n }\n render(): JSX.Element | null {\n if(!this.timerModel.isRunning) {\n return null;\n }\n let result = <div className={this.timerModel.survey.getCss().timerRoot}>{this.timerModel.text}</div>;\n if(this.timerModel.showTimerAsClock) {\n let style = { strokeDasharray: this.circleLength, strokeDashoffset: this.progress };\n const progress = (this.timerModel.showProgress ? <SvgIcon className={this.timerModel.getProgressCss()} style={style} iconName={\"icon-timercircle\"} size={\"auto\"}></SvgIcon>: null);\n result =\n (<div className={this.timerModel.rootCss}>\n {progress}\n <div className={this.timerModel.textContainerCss}>\n <span className={this.timerModel.majorTextCss}>{this.timerModel.clockMajorText }</span>\n {(this.timerModel.clockMinorText ? <span className={this.timerModel.minorTextCss}>{this.timerModel.clockMinorText }</span> : null)}\n </div>\n </div>);\n }\n return result;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-timerpanel\", (props) => {\n return React.createElement(SurveyTimerPanel, props);\n});","import * as React from \"react\";\nimport { SurveyElementErrors } from \"./reactquestion\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nimport { SurveyPanelBase } from \"./panel-base\";\nimport { PanelModel, doKey2ClickUp, SurveyModel } from \"survey-core\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { TitleElement } from \"./components/title/title-element\";\nimport { SurveyElementHeader } from \"./element-header\";\n\nexport class SurveyPanel extends SurveyPanelBase {\n private hasBeenExpanded: boolean = false;\n constructor(props: any) {\n super(props);\n }\n public get panel(): PanelModel {\n return this.panelBase as PanelModel;\n }\n protected renderElement(): JSX.Element {\n const header = this.renderHeader();\n const errors = (\n <SurveyElementErrors\n element={this.panelBase}\n cssClasses={this.panelBase.cssClasses}\n creator={this.creator}\n />\n );\n const style = {\n paddingLeft: this.panel.innerPaddingLeft,\n display: this.panel.renderedIsExpanded ? undefined : \"none\",\n };\n let content: JSX.Element | null = null;\n if (this.panel.renderedIsExpanded) {\n // this.hasBeenExpanded = true;\n const rows: JSX.Element[] = this.renderRows(this.panelBase.cssClasses);\n const className: string = this.panelBase.cssClasses.panel.content;\n content = this.renderContent(style, rows, className);\n }\n const focusIn = () => {\n if(this.panelBase) (this.panelBase as PanelModel).focusIn();\n };\n return (\n <div\n ref={this.rootRef}\n className={(this.panelBase as PanelModel).getContainerCss()}\n onFocus={focusIn}\n id={this.panelBase.id}\n\n >\n {this.panel.showErrorsAbovePanel ? errors : null}\n {header}\n {this.panel.showErrorsAbovePanel ? null : errors}\n {content}\n </div>\n );\n }\n protected renderHeader() {\n if (!this.panel.hasTitle && !this.panel.hasDescription) {\n return null;\n }\n return <SurveyElementHeader element={this.panel}></SurveyElementHeader>;\n }\n protected wrapElement(element: JSX.Element): JSX.Element {\n const survey: SurveyModel = this.panel.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapElement(survey, element, this.panel);\n }\n return wrapper ?? element;\n }\n protected renderContent(style: any, rows: JSX.Element[], className: string): JSX.Element {\n const bottom: JSX.Element | null = this.renderBottom();\n return (\n <div style={style} className={className} id={this.panel.contentId}>\n {rows}\n {bottom}\n </div>\n );\n }\n protected renderTitle(): JSX.Element | null {\n if (!this.panelBase.title) return null;\n return <TitleElement element={this.panelBase}></TitleElement>;\n }\n protected renderDescription(): JSX.Element | null {\n if (!this.panelBase.description) return null;\n var text = SurveyElementBase.renderLocString(this.panelBase.locDescription);\n return (\n <div className={this.panel.cssClasses.panel.description}>{text}</div>\n );\n }\n protected renderBottom(): JSX.Element | null {\n const footerToolbar = this.panel.getFooterToolbar();\n if (!footerToolbar.hasActions) return null;\n return <SurveyActionBar model={footerToolbar}></SurveyActionBar>;\n }\n protected getIsVisible(): boolean {\n return this.panelBase.getIsContentVisible();\n }\n\n}\n\nReactElementFactory.Instance.registerElement(\"panel\", (props) => {\n return React.createElement(SurveyPanel, props);\n});\n","import * as React from \"react\";\nimport { FlowPanelModel, Question } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyPanel } from \"./panel\";\nimport { SurveyQuestion } from \"./reactquestion\";\n\nexport class SurveyFlowPanel extends SurveyPanel {\n constructor(props: any) {\n super(props);\n }\n public get flowPanel(): FlowPanelModel {\n return this.panel as FlowPanelModel;\n }\n componentDidMount() {\n super.componentDidMount();\n if (!!this.flowPanel) {\n this.flowPanel.onCustomHtmlProducing = function() {\n return \"\";\n };\n this.flowPanel.onGetHtmlForQuestion = this.renderQuestion;\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (!!this.flowPanel) {\n this.flowPanel.onCustomHtmlProducing = null as any;\n this.flowPanel.onGetHtmlForQuestion = null as any;\n }\n }\n protected getQuestion(name: string): Question {\n return this.flowPanel.getQuestionByName(name);\n }\n protected renderQuestion(question: Question): string {\n return \"<question>\" + question.name + \"</question>\";\n }\n protected renderRows(): Array<JSX.Element> {\n const result = this.renderHtml();\n if(!!result) {\n return [result];\n } else {\n return [];\n }\n }\n private renderedIndex: number;\n private getNodeIndex(): number {\n return this.renderedIndex++;\n }\n protected renderHtml(): JSX.Element | null {\n if (!this.flowPanel) return null;\n const html = \"<span>\" + this.flowPanel.produceHtml() + \"</span>\";\n if (!DOMParser) {\n const htmlValue = { __html: html };\n return <div dangerouslySetInnerHTML={htmlValue} />;\n }\n const doc = new DOMParser().parseFromString(html, \"text/xml\");\n this.renderedIndex = 0;\n return this.renderParentNode(doc);\n }\n protected renderNodes(domNodes: Array<Node>): Array<JSX.Element> {\n const nodes: Array<JSX.Element> = [];\n for (let i = 0; i < domNodes.length; i++) {\n const node = this.renderNode(domNodes[i]);\n if(!!node) {\n nodes.push(node);\n }\n }\n return nodes;\n }\n private getStyle(nodeType: string) {\n const style: any = {};\n if (nodeType.toLowerCase() === \"b\") {\n style.fontWeight = \"bold\";\n }\n if (nodeType.toLowerCase() === \"i\") {\n style.fontStyle = \"italic\";\n }\n if (nodeType.toLowerCase() === \"u\") {\n style.textDecoration = \"underline\";\n }\n return style;\n }\n protected renderParentNode(node: Node): JSX.Element {\n const nodeType = node.nodeName.toLowerCase();\n const children = this.renderNodes(this.getChildDomNodes(node));\n if (nodeType === \"div\")\n return <div key={this.getNodeIndex()}>{children}</div>;\n return (\n <span key={this.getNodeIndex()} style={this.getStyle(nodeType)}>\n {children}\n </span>\n );\n }\n protected renderNode(node: Node): JSX.Element | null {\n if (!this.hasTextChildNodesOnly(node)) {\n return this.renderParentNode(node);\n }\n const nodeType = node.nodeName.toLowerCase();\n if (nodeType === \"question\") {\n const question = this.flowPanel.getQuestionByName(node.textContent as any);\n if (!question) return null;\n const questionBody = (\n <SurveyQuestion\n key={question.name}\n element={question}\n creator={this.creator}\n css={this.css}\n />\n );\n return <span key={this.getNodeIndex()}>{questionBody}</span>;\n }\n if (nodeType === \"div\") {\n return <div key={this.getNodeIndex()}>{node.textContent}</div>;\n }\n return (\n <span key={this.getNodeIndex()} style={this.getStyle(nodeType)}>\n {node.textContent}\n </span>\n );\n }\n private getChildDomNodes(node: Node): Array<Node> {\n const domNodes: Array<Node> = [];\n for (let i = 0; i < node.childNodes.length; i++) {\n domNodes.push(node.childNodes[i]);\n }\n return domNodes;\n }\n private hasTextChildNodesOnly(node: Node): boolean {\n const nodes = node.childNodes;\n for (let i = 0; i < nodes.length; i++) {\n if (nodes[i].nodeName.toLowerCase() !== \"#text\") return false;\n }\n return true;\n }\n protected renderContent(style: any, rows: JSX.Element[]): JSX.Element {\n return React.createElement(\"f-panel\", { style: style }, rows);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"flowpanel\", props => {\n return React.createElement(SurveyFlowPanel, props);\n});\n","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { Base, ItemValue, SurveyModel, QuestionCheckboxModel } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionCheckbox extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionCheckboxModel {\n return this.questionBase as QuestionCheckboxModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n return (\n <fieldset\n className={this.question.getSelectBaseRootCss()}\n ref={(fieldset) => (this.setControl(fieldset))}\n role={this.question.a11y_input_ariaRole}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n >\n <legend className={\"sv-hidden\"}>{this.question.locTitle.renderedHtml}</legend>\n {this.getHeader()}\n {this.question.hasColumns\n ? this.getColumnedBody(cssClasses)\n : this.getBody(cssClasses)}\n {this.getFooter()}\n {this.question.isOtherSelected ? this.renderOther() : null}\n </fieldset>\n );\n }\n\n protected getHeader() {\n if (this.question.hasHeadItems) {\n return this.question.headItems.map((item: any, ii: number) =>\n this.renderItem(\n item,\n false,\n this.question.cssClasses\n )\n );\n }\n }\n protected getFooter() {\n if (this.question.hasFootItems) {\n return this.question.footItems.map((item: any, ii: number) =>\n this.renderItem(\n item,\n false,\n this.question.cssClasses\n )\n );\n }\n }\n protected getColumnedBody(cssClasses: any) {\n return (\n <div className={cssClasses.rootMultiColumn}>\n {this.getColumns(cssClasses)}\n </div>\n );\n }\n protected getColumns(cssClasses: any) {\n return this.question.columns.map((column: Array<ItemValue>, ci: number) => {\n var items = column.map((item: any, ii: number) =>\n this.renderItem(\n item,\n ci === 0 && ii === 0,\n cssClasses,\n \"\" + ci + ii\n )\n );\n return (\n <div key={\"column\" + ci + this.question.getItemsColumnKey(column)} className={this.question.getColumnClass()} role=\"presentation\">\n {items}\n </div>\n );\n });\n }\n\n protected getBody(cssClasses: any): JSX.Element {\n if (this.question.blockedRow) {\n return <div className={cssClasses.rootRow}>{this.getItems(cssClasses, this.question.dataChoices)}</div>;\n }\n else return <>{this.getItems(cssClasses, this.question.bodyItems)}</>;\n }\n protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any> {\n var renderedItems:Array<JSX.Element> = [];\n for (var i = 0; i < choices.length; i++) {\n var item = choices[i];\n var key = \"item\" + item.value;\n var renderedItem = this.renderItem(item, i == 0, cssClasses, \"\" + i);\n if(!!renderedItem) {\n renderedItems.push(renderedItem);\n }\n }\n return renderedItems;\n }\n protected get textStyle(): any {\n return null;\n }\n protected renderOther(): JSX.Element {\n let cssClasses = this.question.cssClasses;\n return (\n <div className={this.question.getCommentAreaCss(true)}>\n <SurveyQuestionOtherValueItem\n question={this.question}\n otherCss={cssClasses.other}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n />\n </div>\n );\n }\n protected renderItem(\n item: any,\n isFirst: boolean,\n cssClasses: any,\n index?: string\n ): JSX.Element {\n const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {\n key: item.value,\n question: this.question,\n cssClasses: cssClasses,\n isDisplayMode: this.isDisplayMode,\n item: item,\n textStyle: this.textStyle,\n index: index,\n isFirst: isFirst,\n });\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if (!!survey && !!renderedItem) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n}\nexport class SurveyQuestionCheckboxItem extends ReactSurveyElement {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.item;\n }\n protected get question(): QuestionCheckboxModel {\n return this.props.question;\n }\n protected get item(): ItemValue {\n return this.props.item;\n }\n protected get textStyle(): any {\n return this.props.textStyle;\n }\n protected get isFirst(): any {\n return this.props.isFirst;\n }\n protected get index(): number {\n return this.props.index;\n }\n private get hideCaption(): boolean {\n return this.props.hideCaption === true;\n }\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if (prevProps.item !== this.props.item && !this.question.isDesignMode) {\n if(this.props.item) {\n this.props.item.setRootElement(this.rootRef.current);\n }\n if(prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n }\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n return (\n !this.question.customWidget ||\n !!this.question.customWidgetData.isNeedRender ||\n !!this.question.customWidget.widgetJson.isDefaultRender ||\n !!this.question.customWidget.widgetJson.render\n );\n }\n handleOnChange = (event: any) => {\n this.question.clickItemHandler(this.item, event.target.checked);\n }\n protected canRender(): boolean {\n return !!this.item && !!this.question;\n }\n protected renderElement(): JSX.Element {\n var isChecked = this.question.isItemSelected(this.item);\n return this.renderCheckbox(isChecked, null);\n }\n protected get inputStyle(): any {\n return null;//{ marginRight: \"3px\" };\n }\n protected renderCheckbox(\n isChecked: boolean,\n otherItem: JSX.Element | null\n ): JSX.Element {\n const id = this.question.getItemId(this.item);\n const itemClass = this.question.getItemClass(this.item);\n const labelClass = this.question.getLabelClass(this.item);\n const itemLabel = !this.hideCaption ? <span className={this.cssClasses.controlLabel}>{this.renderLocString(this.item.locText, this.textStyle)}</span> : null;\n\n return (\n <div className={itemClass} role=\"presentation\" ref={this.rootRef}>\n <label className={labelClass}>\n <input\n className={this.cssClasses.itemControl}\n type=\"checkbox\"\n name={this.question.name + this.item.id}\n value={this.item.value}\n id={id}\n style={this.inputStyle}\n disabled={!this.question.getItemEnabled(this.item)}\n readOnly={this.question.isReadOnlyAttr}\n checked={isChecked}\n onChange={this.handleOnChange}\n required={this.question.hasRequiredError()}\n />\n {\n this.cssClasses.materialDecorator ?\n <span className={this.cssClasses.materialDecorator}>\n {this.question.itemSvgIcon ?\n <svg\n className={this.cssClasses.itemDecorator}\n >\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg> :\n null\n }\n </span> :\n null\n }\n {itemLabel}\n </label>\n {otherItem}\n </div>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(this.rootRef.current as HTMLElement);\n }\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(undefined as any);\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey-checkbox-item\", (props: any) => {\n return React.createElement(SurveyQuestionCheckboxItem, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"checkbox\", (props) => {\n return React.createElement(SurveyQuestionCheckbox, props);\n});\n","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyElementBase,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { QuestionRankingModel, SurveyModel, ItemValue } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionRanking extends SurveyQuestionElementBase {\n protected get question(): QuestionRankingModel {\n return this.questionBase as QuestionRankingModel;\n }\n\n protected renderElement(): JSX.Element {\n\n if (!this.question.selectToRankEnabled) {\n return (\n <div\n className={this.question.rootClass}\n ref={(root) => (this.setControl(root))}\n >\n {this.getItems()}\n </div>\n );\n } else {\n const unrankedItem = true;\n return (\n <div\n className={this.question.rootClass}\n ref={(root) => (this.setControl(root))}\n >\n <div className={this.question.getContainerClasses(\"from\")} data-ranking=\"from-container\">\n {this.getItems(this.question.renderedUnRankingChoices, unrankedItem)}\n {this.question.renderedUnRankingChoices.length === 0 ? <div className={this.question.cssClasses.containerPlaceholder}> {this.renderLocString(this.question.locSelectToRankEmptyRankedAreaText)} </div> : null}\n </div>\n\n <div className={this.question.cssClasses.containersDivider}></div>\n\n <div className={this.question.getContainerClasses(\"to\")} data-ranking=\"to-container\">\n {this.getItems()}\n {this.question.renderedRankingChoices.length === 0 ? <div className={this.question.cssClasses.containerPlaceholder}> {this.renderLocString(this.question.locSelectToRankEmptyUnrankedAreaText)} </div> : null}\n </div>\n </div>\n );\n }\n }\n\n protected getItems(choices: any = this.question.renderedRankingChoices, unrankedItem?: boolean): Array<any> {\n const items: Array<JSX.Element> = [];\n for (let i = 0; i < choices.length; i++) {\n const item = choices[i];\n items.push(\n this.renderItem(\n item,\n i,\n (event: PointerEvent) => {\n this.question.handleKeydown.call(this.question, event, item);\n },\n (event: any) => {\n event.persist();\n //event.preventDefault();\n this.question.handlePointerDown.call(\n this.question,\n event,\n item,\n event.currentTarget\n );\n },\n (event: any) => {\n event.persist();\n //event.preventDefault();\n this.question.handlePointerUp.call(\n this.question,\n event,\n item,\n event.currentTarget\n );\n },\n this.question.cssClasses,\n this.question.getItemClass(item),\n this.question,\n unrankedItem\n )\n );\n }\n return items;\n }\n\n protected renderItem(\n item: ItemValue,\n i: number,\n handleKeydown: (event: any) => void,\n handlePointerDown: (event: PointerEvent) => void,\n handlePointerUp: (event: PointerEvent) => void,\n cssClasses: any,\n itemClass: string,\n question: QuestionRankingModel,\n unrankedItem?: boolean\n ): JSX.Element {\n const key: string = \"id-\" + item.renderedId;\n const text: JSX.Element = this.renderLocString(item.locText);\n const index = i;\n const indexText: string = this.question.getNumberByIndex(index);\n const tabIndex: number = this.question.getItemTabIndex(item);\n\n const renderedItem = (\n <SurveyQuestionRankingItem\n key={item.value}\n text={text}\n index={index}\n indexText={indexText}\n itemTabIndex={tabIndex}\n handleKeydown={handleKeydown}\n handlePointerDown={handlePointerDown}\n handlePointerUp={handlePointerUp}\n cssClasses={cssClasses}\n itemClass={itemClass}\n question={question}\n unrankedItem={unrankedItem}\n item={item}\n />\n );\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if (!!survey) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n}\n\nexport class SurveyQuestionRankingItem extends ReactSurveyElement {\n protected get text(): string {\n return this.props.text;\n }\n protected get index(): string {\n return this.props.index;\n }\n protected get indexText(): string {\n return this.props.indexText;\n }\n protected get handleKeydown(): (event: any) => void {\n return this.props.handleKeydown;\n }\n protected get handlePointerDown(): (event: any) => void {\n return this.props.handlePointerDown;\n }\n protected get handlePointerUp(): (event: any) => void {\n return this.props.handlePointerUp;\n }\n protected get cssClasses(): any {\n return this.props.cssClasses;\n }\n protected get itemClass(): string {\n return this.props.itemClass;\n }\n protected get itemTabIndex(): number {\n return this.props.itemTabIndex;\n }\n protected get question(): any {\n return this.props.question;\n }\n protected get unrankedItem(): any {\n return this.props.unrankedItem;\n }\n protected get item(): any {\n return this.props.item;\n }\n\n protected renderEmptyIcon(): JSX.Element {\n return (\n <svg>\n <use xlinkHref={this.question.dashSvgIcon}></use>\n </svg>\n );\n }\n\n protected renderElement(): JSX.Element {\n let itemContent = ReactElementFactory.Instance.createElement(this.question.itemComponent, { item: this.item, cssClasses: this.cssClasses });\n return (\n <div\n tabIndex={this.itemTabIndex}\n className={this.itemClass}\n onKeyDown={this.handleKeydown}\n onPointerDown={this.handlePointerDown}\n onPointerUp={this.handlePointerUp}\n data-sv-drop-target-ranking-item={this.index}\n >\n <div tabIndex={-1} style={{ outline: \"none\" }}>\n <div className={this.cssClasses.itemGhostNode} />\n <div className={this.cssClasses.itemContent}>\n <div className={this.cssClasses.itemIconContainer}>\n <svg\n className={this.question.getIconHoverCss()}\n >\n <use xlinkHref={this.question.dragDropSvgIcon}></use>\n </svg>\n <svg\n className={this.question.getIconFocusCss()}\n >\n <use xlinkHref={this.question.arrowsSvgIcon}></use>\n </svg>\n </div>\n\n <div className={this.question.getItemIndexClasses(this.item)}>\n {(!this.unrankedItem && this.indexText) ? this.indexText : this.renderEmptyIcon()}\n </div>\n {itemContent}\n </div>\n </div>\n </div>\n );\n }\n}\n\nexport class SurveyQuestionRankingItemContent extends ReactSurveyElement {\n protected get item(): ItemValue {\n return this.props.item;\n }\n\n protected get cssClasses(): any {\n return this.props.cssClasses;\n }\n\n protected renderElement(): JSX.Element {\n return <div className={this.cssClasses.controlLabel}>{SurveyElementBase.renderLocString(this.item.locText)}</div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-ranking-item\", props => {\n return React.createElement(SurveyQuestionRankingItemContent, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"ranking\", (props) => {\n return React.createElement(SurveyQuestionRanking, props);\n});\n","import React from \"react\";\nimport { Base, QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\nexport interface IRatingItemProps {\n question: QuestionRatingModel;\n item: RenderedRatingItem;\n index: any;\n handleOnClick: any;\n isDisplayMode: boolean;\n}\nexport class RatingItemBase extends SurveyElementBase<IRatingItemProps, any> {\n constructor(props: any) {\n super(props);\n this.handleOnMouseDown = this.handleOnMouseDown.bind(this);\n }\n get question(): QuestionRatingModel {\n return this.props.question;\n }\n get item(): RenderedRatingItem {\n return this.props.item;\n }\n get index(): any {\n return this.props.index;\n }\n getStateElement(): Base {\n return this.item;\n }\n handleOnMouseDown(event: any) {\n this.question.onMouseDown();\n }\n}\nexport class RatingItem extends RatingItemBase {\n render(): JSX.Element | null {\n var itemText = this.renderLocString(this.item.locText);\n return (\n <label onMouseDown={this.handleOnMouseDown} className={this.question.getItemClassByText(this.item.itemValue, this.item.text)}>\n <input\n type=\"radio\"\n className=\"sv-visuallyhidden\"\n name={this.question.questionName}\n id={this.question.getInputId(this.index)}\n value={this.item.value}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.value == this.item.value}\n onClick={this.props.handleOnClick}\n onChange={() => { }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <span className={this.question.cssClasses.itemText} data-text={this.item.text}>{itemText}</span>\n </label>\n );\n }\n componentDidMount() {\n super.componentDidMount();\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-item\", (props) => {\n return React.createElement(RatingItem, props);\n});\n","import React from \"react\";\nimport { QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { IRatingItemProps, RatingItemBase } from \"./rating-item\";\n\nexport class RatingItemStar extends RatingItemBase {\n render(): JSX.Element | null {\n return (\n <label onMouseDown={this.handleOnMouseDown}\n className={this.question.getItemClass(this.item.itemValue)}\n onMouseOver={e => this.question.onItemMouseIn(this.item)}\n onMouseOut={e => this.question.onItemMouseOut(this.item)}\n >\n <input\n type=\"radio\"\n className=\"sv-visuallyhidden\"\n name={this.question.questionName}\n id={this.question.getInputId(this.index)}\n value={this.item.value}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.value == this.item.value}\n onClick={this.props.handleOnClick}\n onChange={() => { }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <SvgIcon\n className={\"sv-star\"}\n size={\"auto\"}\n iconName={this.question.itemStarIcon}\n title={this.item.text}\n ></SvgIcon>\n <SvgIcon\n className={\"sv-star-2\"}\n size={\"auto\"}\n iconName={this.question.itemStarIconAlt}\n title={this.item.text}\n ></SvgIcon>\n </label>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-item-star\", (props) => {\n return React.createElement(RatingItemStar, props);\n});\n","import React from \"react\";\nimport { QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { IRatingItemProps, RatingItemBase } from \"./rating-item\";\n\nexport class RatingItemSmiley extends RatingItemBase {\n render(): JSX.Element | null {\n return (\n <label onMouseDown={this.handleOnMouseDown}\n style={this.question.getItemStyle(this.item.itemValue, this.item.highlight) as any}\n className={this.question.getItemClass(this.item.itemValue)}\n onMouseOver={e => this.question.onItemMouseIn(this.item)}\n onMouseOut={e => this.question.onItemMouseOut(this.item)}\n >\n <input\n type=\"radio\"\n className=\"sv-visuallyhidden\"\n name={this.question.questionName}\n id={this.question.getInputId(this.index)}\n value={this.item.value}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.value == this.item.value}\n onClick={this.props.handleOnClick}\n onChange={() => { }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <SvgIcon\n size={\"auto\"}\n iconName={this.question.getItemSmileyIconName(this.item.itemValue)}\n title={this.item.text}\n ></SvgIcon>\n </label>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-item-smiley\", (props) => {\n return React.createElement(RatingItemSmiley, props);\n});\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\n\ninterface IRatingItemProps {\n item: any;\n}\n\nexport class RatingDropdownItem extends SurveyElementBase<IRatingItemProps, any> {\n get item(): any {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n render(): JSX.Element | null {\n if (!this.item) return null;\n const item = this.props.item;\n const description = this.renderDescription(item);\n\n return (\n <div className=\"sd-rating-dropdown-item\">\n <span className=\"sd-rating-dropdown-item_text\">{item.title}</span>\n {description}\n </div>\n );\n }\n renderDescription(item: any) {\n if(!item.description) return null;\n\n return (\n <div className=\"sd-rating-dropdown-item_description\">\n {this.renderLocString(item.description, undefined, \"locString\")}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-rating-dropdown-item\", (props) => {\n return React.createElement(RatingDropdownItem, props);\n});\n","import * as React from \"react\";\nimport { DropdownMultiSelectListModel, QuestionTagboxModel, Helpers, settings } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\ninterface ITagboxFilterProps {\n model: DropdownMultiSelectListModel;\n question: QuestionTagboxModel;\n}\n\nexport class TagboxFilterString extends SurveyElementBase<ITagboxFilterProps, any> {\n inputElement: HTMLInputElement | null;\n\n get model(): DropdownMultiSelectListModel {\n return this.props.model;\n }\n get question(): QuestionTagboxModel {\n return this.props.question;\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateDomElement();\n }\n componentDidMount() {\n super.componentDidMount();\n this.updateDomElement();\n }\n updateDomElement() {\n if (!!this.inputElement) {\n const control: any = this.inputElement;\n const newValue = this.model.inputStringRendered;\n if (!Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {\n control.value = this.model.inputStringRendered;\n }\n }\n }\n onChange(e: any) {\n const { root } = settings.environment;\n if (e.target === root.activeElement) {\n this.model.inputStringRendered = e.target.value;\n }\n }\n keyhandler(e: any) {\n this.model.inputKeyHandler(e);\n }\n onBlur(e: any) {\n this.question.onBlur(e);\n }\n onFocus(e: any) {\n this.question.onFocus(e);\n }\n constructor(props: any) {\n super(props);\n }\n getStateElement() {\n return this.model;\n }\n render(): JSX.Element {\n return (\n <div className={this.question.cssClasses.hint}>\n {this.model.showHintPrefix ?\n (<div className={this.question.cssClasses.hintPrefix}>\n <span>{this.model.hintStringPrefix}</span>\n </div>) : null}\n <div className={this.question.cssClasses.hintSuffixWrapper}>\n {this.model.showHintString ?\n (<div className={this.question.cssClasses.hintSuffix}>\n <span style={{ visibility: \"hidden\" }} data-bind=\"text: model.filterString\">{this.model.inputStringRendered}</span>\n <span>{this.model.hintStringSuffix}</span>\n </div>) : null}\n\n <input type=\"text\" autoComplete=\"off\"\n id={this.question.getInputId()}\n inputMode={this.model.inputMode}\n ref={(element) => (this.inputElement = element)}\n className={this.question.cssClasses.filterStringInput}\n disabled={this.question.isInputReadOnly}\n readOnly={this.model.filterReadOnly ? true : undefined}\n size={!this.model.inputStringRendered ? 1 : undefined}\n role={this.model.filterStringEnabled ? this.question.ariaRole : undefined}\n aria-expanded={this.question.ariaExpanded}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-controls={this.model.listElementId}\n aria-activedescendant={this.model.ariaActivedescendant}\n placeholder={this.model.filterStringPlaceholder}\n onKeyDown={(e) => { this.keyhandler(e); }}\n onChange={(e) => { this.onChange(e); }}\n onBlur={(e) => { this.onBlur(e); }}\n onFocus={(e) => { this.onFocus(e); }}\n ></input>\n </div>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"sv-tagbox-filter\", (props) => {\n return React.createElement(TagboxFilterString, props);\n});","import * as React from \"react\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\nimport { Base, ItemValue } from \"survey-core\";\n\nexport class SurveyQuestionOptionItem extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.state = { changed: 0 };\n this.setupModel();\n }\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n this.setupModel();\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.setupModel();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n if (!!this.item) {\n this.item.locText.onChanged = () => { };\n }\n }\n private setupModel(): void {\n if (!this.item.locText) return;\n const self = this;\n this.item.locText.onChanged = () => {\n self.setState({ changed: self.state.changed + 1 });\n };\n }\n protected getStateElement(): Base {\n return this.item;\n }\n private get item(): ItemValue {\n return this.props.item;\n }\n protected canRender(): boolean {\n return !!this.item;\n }\n protected renderElement(): JSX.Element {\n return (\n <option value={this.item.value} disabled={!this.item.isEnabled}>\n {this.item.text}\n </option>\n );\n }\n}","import * as React from \"react\";\nimport { Helpers, Question, DropdownListModel, settings, QuestionDropdownModel } from \"survey-core\";\nimport { Popup } from \"./components/popup/popup\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\n\nexport class SurveyQuestionDropdownBase<T extends Question> extends SurveyQuestionUncontrolledElement<T> {\n inputElement: HTMLInputElement | null;\n\n click = (event: any) => {\n this.question.dropdownListModel?.onClick(event);\n };\n chevronPointerDown = (event: any) => {\n this.question.dropdownListModel?.chevronPointerDown(event);\n };\n clear = (event: any) => {\n this.question.dropdownListModel?.onClear(event);\n };\n keyhandler = (event: any) => {\n this.question.dropdownListModel?.keyHandler(event);\n };\n blur = (event: any) => {\n this.updateInputDomElement();\n this.question.onBlur(event);\n };\n focus = (event: any) => {\n this.question.onFocus(event);\n };\n protected getStateElement() {\n return this.question[\"dropdownListModel\"];\n }\n protected setValueCore(newValue: any) {\n this.questionBase.renderedValue = newValue;\n }\n protected getValueCore(): any {\n return this.questionBase.renderedValue;\n }\n protected renderReadOnlyElement(): JSX.Element | null {\n return <div>{this.question.readOnlyText}</div>;\n }\n protected renderSelect(cssClasses: any): JSX.Element {\n let selectElement: JSX.Element | null = null;\n if (this.question.isReadOnly) {\n const text = (this.question.selectedItemLocText) ? this.renderLocString(this.question.selectedItemLocText) : \"\";\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n selectElement = <div id={this.question.inputId}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n tabIndex={this.question.isDisabledAttr ? undefined : 0}\n className={this.question.getControlClass()}>\n {text}\n {this.renderReadOnlyElement()}\n </div>;\n } else {\n selectElement = <>\n {this.renderInput(this.question[\"dropdownListModel\"])}\n <Popup model={this.question?.dropdownListModel?.popupModel}></Popup>\n </>;\n }\n\n return (\n <div className={cssClasses.selectWrapper} onClick={this.click}>\n {selectElement}\n {this.createChevronButton()}\n </div>\n );\n }\n\n renderValueElement(dropdownListModel: DropdownListModel): JSX.Element | null {\n if (this.question.showInputFieldComponent) {\n return ReactElementFactory.Instance.createElement(this.question.inputFieldComponentName, { item: dropdownListModel.getSelectedAction(), question: this.question });\n } else if (this.question.showSelectedItemLocText) {\n return this.renderLocString(this.question.selectedItemLocText);\n }\n return null;\n }\n\n protected renderInput(dropdownListModel: DropdownListModel): JSX.Element {\n let valueElement: JSX.Element | null = this.renderValueElement(dropdownListModel);\n const { root } = settings.environment;\n\n const onInputChange = (e: any) => {\n if (e.target === root.activeElement) {\n dropdownListModel.inputStringRendered = e.target.value;\n }\n };\n return (<div\n id={this.question.inputId}\n className={this.question.getControlClass()}\n tabIndex={dropdownListModel.noTabIndex ? undefined : 0}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n disabled={this.question.isDisabledAttr}\n required={this.question.isRequired}\n onKeyDown={this.keyhandler}\n onBlur={this.blur}\n onFocus={this.focus}\n role={this.question.ariaRole}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n aria-expanded={this.question.ariaExpanded}\n aria-controls={dropdownListModel.listElementId}\n aria-activedescendant={dropdownListModel.ariaActivedescendant}\n >\n {dropdownListModel.showHintPrefix ?\n (<div className={this.question.cssClasses.hintPrefix}>\n <span>{dropdownListModel.hintStringPrefix}</span>\n </div>) : null}\n <div className={this.question.cssClasses.controlValue}>\n {dropdownListModel.showHintString ?\n (<div className={this.question.cssClasses.hintSuffix}>\n <span style={{ visibility: \"hidden\" }} data-bind=\"text: model.filterString\">{dropdownListModel.inputStringRendered}</span>\n <span>{dropdownListModel.hintStringSuffix}</span>\n </div>) : null}\n {valueElement}\n <input type=\"text\" autoComplete=\"off\"\n id={this.question.getInputId()}\n ref={(element) => (this.inputElement = element)}\n className={this.question.cssClasses.filterStringInput}\n role={dropdownListModel.filterStringEnabled ? this.question.ariaRole : undefined}\n aria-expanded={this.question.ariaExpanded}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-controls={dropdownListModel.listElementId}\n aria-activedescendant={dropdownListModel.ariaActivedescendant}\n placeholder={dropdownListModel.placeholderRendered}\n readOnly={dropdownListModel.filterReadOnly ? true : undefined}\n tabIndex={dropdownListModel.noTabIndex ? undefined : -1}\n disabled={this.question.isDisabledAttr}\n inputMode={dropdownListModel.inputMode}\n onChange={(e) => { onInputChange(e); }}\n onBlur={this.blur}\n onFocus={this.focus}\n ></input>\n </div>\n {this.createClearButton()}\n </div>);\n }\n\n createClearButton(): JSX.Element | null {\n if (!this.question.allowClear || !this.question.cssClasses.cleanButtonIconId) return null;\n\n const style = { display: !this.question.showClearButton ? \"none\" : \"\" };\n return (\n <div\n className={this.question.cssClasses.cleanButton}\n style={style}\n onClick={this.clear}\n aria-hidden=\"true\"\n >\n <SvgIcon\n className={this.question.cssClasses.cleanButtonSvg}\n iconName={this.question.cssClasses.cleanButtonIconId}\n title={this.question.clearCaption}\n size={\"auto\"}\n ></SvgIcon>\n </div>\n );\n }\n\n createChevronButton(): JSX.Element | null {\n if (!this.question.cssClasses.chevronButtonIconId) return null;\n\n return (\n <div className={this.question.cssClasses.chevronButton}\n aria-hidden=\"true\"\n onPointerDown={this.chevronPointerDown}>\n <SvgIcon\n className={this.question.cssClasses.chevronButtonSvg}\n iconName={this.question.cssClasses.chevronButtonIconId}\n size={\"auto\"}\n ></SvgIcon>\n </div>\n );\n }\n\n protected renderOther(cssClasses: any): JSX.Element {\n return (\n <div className={this.question.getCommentAreaCss(true)}>\n <SurveyQuestionOtherValueItem\n question={this.question}\n otherCss={cssClasses.other}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n isOther={true}\n />\n </div>\n );\n }\n\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.updateInputDomElement();\n }\n componentDidMount() {\n super.componentDidMount();\n this.updateInputDomElement();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n if (this.question.dropdownListModel) this.question.dropdownListModel.focused = false;\n }\n updateInputDomElement() {\n if (!!this.inputElement) {\n const control: any = this.inputElement;\n const newValue = this.question.dropdownListModel.inputStringRendered;\n if (!Helpers.isTwoValueEquals(newValue, control.value, false, true, false)) {\n control.value = this.question.dropdownListModel.inputStringRendered;\n }\n }\n }\n}","import * as React from \"react\";\nimport { Question } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionDropdownBase } from \"./dropdown-base\";\n\nexport class SurveyQuestionDropdown extends SurveyQuestionDropdownBase<Question> {\n constructor(props: any) {\n super(props);\n }\n\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const comment = this.question.isOtherSelected ? this.renderOther(cssClasses) : null;\n const select = this.renderSelect(cssClasses);\n return (\n <div className={this.question.renderCssRoot}>\n {select}\n {comment}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"dropdown\", (props) => {\n return React.createElement(SurveyQuestionDropdown, props);\n});","import * as React from \"react\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\nimport { Base, QuestionTagboxModel, ItemValue } from \"survey-core\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyQuestionTagboxItem extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionTagboxModel {\n return this.props.question;\n }\n protected get item(): ItemValue {\n return this.props.item;\n }\n protected canRender(): boolean {\n return !!this.item && !!this.question;\n }\n protected renderElement(): JSX.Element {\n const text = this.renderLocString(this.item.locText);\n\n const removeItem = (event: any) => {\n this.question.dropdownListModel.deselectItem(this.item.value);\n event.stopPropagation();\n };\n\n return (\n <div className=\"sv-tagbox__item\">\n <div className=\"sv-tagbox__item-text\">{text}</div>\n <div\n className={ this.question.cssClasses.cleanItemButton}\n onClick={removeItem}\n >\n <SvgIcon\n className={this.question.cssClasses.cleanItemButtonSvg}\n iconName={this.question.cssClasses.cleanItemButtonIconId}\n size={\"auto\"}\n ></SvgIcon>\n </div>\n </div>\n );\n }\n}","import * as React from \"react\";\nimport { QuestionTagboxModel, DropdownListModel, DropdownMultiSelectListModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionDropdownBase } from \"./dropdown-base\";\nimport { SurveyQuestionTagboxItem } from \"./tagbox-item\";\nimport { TagboxFilterString } from \"./tagbox-filter\";\n\nexport class SurveyQuestionTagbox extends SurveyQuestionDropdownBase<QuestionTagboxModel> {\n constructor(props: any) {\n super(props);\n }\n\n protected renderItem(key: string, item: any): JSX.Element {\n const renderedItem = (\n <SurveyQuestionTagboxItem\n key={key}\n question={this.question}\n item={item}\n />\n );\n return renderedItem;\n }\n\n protected renderInput(dropdownListModel: DropdownListModel): JSX.Element {\n const dropdownMultiSelectListModel = dropdownListModel as DropdownMultiSelectListModel;\n const items = this.question.selectedChoices.map((choice, index) => { return this.renderItem(\"item\" + index, choice); });\n return (\n <div\n id={this.question.inputId}\n className={this.question.getControlClass()}\n tabIndex={dropdownListModel.noTabIndex ? undefined : 0}\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n disabled={this.question.isInputReadOnly}\n required={this.question.isRequired}\n onKeyDown={this.keyhandler}\n onBlur={this.blur}\n role={this.question.ariaRole}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n aria-expanded={this.question.ariaExpanded}\n aria-controls={dropdownListModel.listElementId}\n aria-activedescendant={dropdownListModel.ariaActivedescendant}\n >\n <div className={this.question.cssClasses.controlValue}>\n {items}\n <TagboxFilterString model={dropdownMultiSelectListModel} question={this.question}></TagboxFilterString>\n </div>\n {this.createClearButton()}\n </div>);\n }\n\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const comment = this.question.isOtherSelected ? this.renderOther(cssClasses) : null;\n const select = this.renderSelect(cssClasses);\n return (\n <div className={this.question.renderCssRoot}>\n {select}\n {comment}\n </div>\n );\n }\n\n protected renderReadOnlyElement(): JSX.Element | null {\n if(this.question.locReadOnlyText) {\n return this.renderLocString(this.question.locReadOnlyText);\n } else {\n return null;\n }\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"tagbox\", (props) => {\n return React.createElement(SurveyQuestionTagbox, props);\n});","import * as React from \"react\";\nimport { RendererFactory, ItemValue } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionDropdown } from \"./reactquestion_dropdown\";\nimport { SurveyQuestionOptionItem } from \"./dropdown-item\";\n\nexport class SurveyQuestionDropdownSelect extends SurveyQuestionDropdown {\n constructor(props: any) {\n super(props);\n }\n\n protected renderSelect(cssClasses: any): JSX.Element {\n const click = (event: any) => {\n this.question.onClick(event);\n };\n const keyup = (event: any) => {\n this.question.onKeyUp(event);\n };\n\n const selectElement = this.isDisplayMode ? (\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n <div id={this.question.inputId} className={this.question.getControlClass()} disabled>{this.question.readOnlyText}</div>) :\n (<select\n id={this.question.inputId}\n className={this.question.getControlClass()}\n ref={(select) => (this.setControl(select))}\n autoComplete={this.question.autocomplete}\n onChange={this.updateValueOnEvent}\n onInput={this.updateValueOnEvent}\n onClick={click}\n onKeyUp={keyup}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n required={this.question.isRequired}>\n {this.question.allowClear ? (<option value=\"\">{this.question.placeholder}</option>) : null}\n {this.question.visibleChoices.map((item: ItemValue, i: number) => <SurveyQuestionOptionItem key={\"item\" + i} item={item} />)}\n </select>);\n return (\n <div className={cssClasses.selectWrapper}>\n {selectElement}\n {this.createChevronButton()}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"sv-dropdown-select\", (props) => {\n return React.createElement(SurveyQuestionDropdownSelect, props);\n});\n\nRendererFactory.Instance.registerRenderer(\"dropdown\", \"select\", \"sv-dropdown-select\");","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { QuestionMatrixModel, MatrixRowModel, SurveyModel, ItemValue, Base } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionMatrix extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.state = { rowsChanged: 0 };\n }\n protected get question(): QuestionMatrixModel {\n return this.questionBase as QuestionMatrixModel;\n }\n componentDidMount() {\n super.componentDidMount();\n if (this.question) {\n var self = this;\n this.question.visibleRowsChangedCallback = function() {\n self.setState({ rowsChanged: self.state.rowsChanged + 1 });\n };\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.question) {\n this.question.visibleRowsChangedCallback = null as any;\n }\n }\n\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var rowsTH = this.question.hasRows ? <td /> : null;\n var headers:Array<JSX.Element> = [];\n for (var i = 0; i < this.question.visibleColumns.length; i++) {\n var column = this.question.visibleColumns[i];\n var key = \"column\" + i;\n var columText = this.renderLocString(column.locText);\n const style: any = {};\n if (!!this.question.columnMinWidth) {\n style.minWidth = this.question.columnMinWidth;\n style.width = this.question.columnMinWidth;\n }\n headers.push(\n <th className={this.question.cssClasses.headerCell} style={style} key={key}>\n {this.wrapCell({ column: column }, columText, \"column-header\")}\n </th>\n );\n }\n var rows:Array<JSX.Element> = [];\n var visibleRows = this.question.visibleRows;\n for (var i = 0; i < visibleRows.length; i++) {\n var row = visibleRows[i];\n var key = \"row-\" + row.name + \"-\" + i;\n rows.push(\n <SurveyQuestionMatrixRow\n key={key}\n question={this.question}\n cssClasses={cssClasses}\n row={row}\n isFirst={i == 0}\n />\n );\n }\n var header = !this.question.showHeader ? null : (\n <thead>\n <tr>\n {rowsTH}\n {headers}\n </tr>\n </thead>\n );\n return (\n <div\n className={cssClasses.tableWrapper}\n ref={root => (this.setControl(root))}\n >\n <fieldset>\n <legend className=\"sv-hidden\">{this.question.locTitle.renderedHtml}</legend>\n <table className={this.question.getTableCss()}>\n {header}\n <tbody>{rows}</tbody>\n </table>\n </fieldset>\n </div>\n );\n }\n}\n\nexport class SurveyQuestionMatrixRow extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected getStateElement(): Base | null {\n if(!!this.row) return this.row.item;\n return super.getStateElement();\n }\n private get question(): QuestionMatrixModel {\n return this.props.question;\n }\n private get row(): MatrixRowModel {\n return this.props.row;\n }\n protected wrapCell(cell: any, element: JSX.Element, reason: string): JSX.Element {\n if(!reason) {\n return element;\n }\n const survey: SurveyModel = this.question.survey as SurveyModel;\n let wrapper: JSX.Element | null = null;\n if (survey) {\n wrapper = ReactSurveyElementsWrapper.wrapMatrixCell(survey, element, cell, reason);\n }\n return wrapper ?? element;\n }\n protected canRender(): boolean {\n return !!this.row;\n }\n protected renderElement(): JSX.Element {\n var rowsTD: JSX.Element | null = null;\n\n if (this.question.hasRows) {\n var rowText = this.renderLocString(this.row.locText);\n const style: any = {};\n if (!!this.question.rowTitleWidth) {\n style.minWidth = this.question.rowTitleWidth;\n style.width = this.question.rowTitleWidth;\n }\n rowsTD = <td style={style} className={this.row.rowTextClasses}>\n {this.wrapCell({ row: this.row }, rowText, \"row-header\")}\n </td>;\n }\n\n var tds = this.generateTds();\n return (\n <tr className={this.row.rowClasses || undefined}>\n {rowsTD}\n {tds}\n </tr>\n );\n }\n\n generateTds(): Array<JSX.Element> {\n const tds:Array<JSX.Element> = [];\n const row = this.row;\n const cellComponent = this.question.cellComponent;\n for (var i = 0; i < this.question.visibleColumns.length; i++) {\n let td: JSX.Element | null = null;\n const column = this.question.visibleColumns[i];\n const key = \"value\" + i;\n\n let itemClass = this.question.getItemClass(row, column);\n if (this.question.hasCellText) {\n const getHandler = (column: any) => () => this.cellClick(row, column);\n td = (\n <td\n key={key}\n className={itemClass}\n onClick={getHandler ? getHandler(column) : () => {}}\n >\n {this.renderLocString(\n this.question.getCellDisplayLocText(row.name, column)\n )}\n </td>\n );\n } else {\n const renderedCell = ReactElementFactory.Instance.createElement(cellComponent, {\n question: this.question,\n row: this.row,\n column: column,\n columnIndex: i,\n cssClasses: this.cssClasses,\n cellChanged: () => { this.cellClick(this.row, column); }\n });\n td = (<td key={key} data-responsive-title={column.locText.renderedHtml} className={this.question.cssClasses.cell}>{renderedCell}</td>);\n }\n tds.push(td);\n }\n\n return tds;\n }\n cellClick(row: any, column: any): void {\n row.value = column.value;\n this.setState({ value: this.row.value });\n }\n}\n\nexport class SurveyQuestionMatrixCell extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnMouseDown = this.handleOnMouseDown.bind(this);\n this.handleOnChange = this.handleOnChange.bind(this);\n }\n handleOnChange(event: any): void {\n if(!!this.props.cellChanged) {\n this.props.cellChanged();\n }\n }\n handleOnMouseDown(event: any): void {\n this.question.onMouseDown();\n }\n private get question(): QuestionMatrixModel {\n return this.props.question;\n }\n private get row(): MatrixRowModel {\n return this.props.row;\n }\n private get column(): ItemValue {\n return this.props.column;\n }\n private get columnIndex(): number {\n return this.props.columnIndex;\n }\n protected canRender(): boolean {\n return !!this.question && !!this.row;\n }\n protected renderElement(): JSX.Element {\n const isChecked = this.row.value == this.column.value;\n const inputId = this.question.inputId + \"_\" + this.row.name + \"_\" + this.columnIndex;\n const itemClass = this.question.getItemClass(this.row, this.column);\n const mobileSpan = this.question.isMobile ?\n (<span className={this.question.cssClasses.cellResponsiveTitle}>{this.renderLocString(this.column.locText)}</span>)\n : undefined;\n return (<label onMouseDown={this.handleOnMouseDown} className={itemClass}>\n {this.renderInput(inputId, isChecked)}\n <span className={this.question.cssClasses.materialDecorator}>\n {this.question.itemSvgIcon ?\n <svg\n className={this.cssClasses.itemDecorator}\n >\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg> :\n null\n }\n </span>\n {mobileSpan}\n </label>);\n }\n protected renderInput(inputId: string, isChecked: boolean): JSX.Element {\n return (<input\n id={inputId}\n type=\"radio\"\n className={this.cssClasses.itemValue}\n name={this.row.fullName}\n value={this.column.value}\n disabled={this.row.isDisabledAttr}\n readOnly={this.row.isReadOnlyAttr}\n checked={isChecked}\n onChange={this.handleOnChange}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.getCellAriaLabel(this.row.locText.renderedHtml, this.column.locText.renderedHtml)}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n />);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey-matrix-cell\", props => {\n return React.createElement(SurveyQuestionMatrixCell, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"matrix\", props => {\n return React.createElement(SurveyQuestionMatrix, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionHtmlModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionHtml extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionHtmlModel {\n return this.questionBase as QuestionHtmlModel;\n }\n componentDidMount() {\n this.reactOnStrChanged();\n }\n componentWillUnmount() {\n this.question.locHtml.onChanged = function () {};\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n this.reactOnStrChanged();\n }\n private reactOnStrChanged() {\n this.question.locHtml.onChanged = () => {\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\n };\n }\n protected canRender(): boolean {\n return super.canRender() && !!this.question.html;\n }\n protected renderElement(): JSX.Element {\n var htmlValue = { __html: this.question.locHtml.renderedHtml };\n return (\n <div\n className={this.question.renderCssRoot}\n dangerouslySetInnerHTML={htmlValue}\n />\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"html\", (props) => {\n return React.createElement(SurveyQuestionHtml, props);\n});\n","import * as React from \"react\";\nimport { SvgIcon } from \"./svg-icon/svg-icon\";\n\nexport class LoadingIndicatorComponent extends React.Component<any, any> {\n render(): JSX.Element | null {\n return (<div className=\"sd-loading-indicator\"><SvgIcon iconName=\"icon-loading\" size=\"auto\"></SvgIcon></div>);\n }\n}","import React from \"react\";\nimport { attachKey2click } from \"../../reactSurvey\";\nimport { ReactSurveyElement } from \"../../reactquestion_element\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { ReactElementFactory } from \"../../element-factory\";\n\nexport class SurveyFileChooseButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionFileModel {\n return (this.props.item && this.props.item.data.question) || this.props.data.question;\n }\n render() {\n return attachKey2click(\n <label\n tabIndex={0}\n className={this.question.getChooseFileCss()}\n htmlFor={this.question.inputId}\n aria-label={this.question.chooseButtonText}\n onClick={(e) => this.question.chooseFile(e.nativeEvent)}\n >\n {(!!this.question.cssClasses.chooseFileIconId) ? <SvgIcon title={this.question.chooseButtonText} iconName={this.question.cssClasses.chooseFileIconId} size={\"auto\"}></SvgIcon>: null }\n <span>{this.question.chooseButtonText}</span>\n </label>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-file-choose-btn\",\n (props) => {\n return React.createElement(SurveyFileChooseButton, props);\n }\n);","import * as React from \"react\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { attachKey2click } from \"./reactSurvey\";\nimport { LoadingIndicatorComponent } from \"./components/loading-indicator\";\nimport { SurveyAction } from \"./components/action-bar/action-bar-item\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyFileChooseButton } from \"./components/file/file-choose-button\";\n// import { ReactElementFactory, SurveyFileChooseButton } from \"../entries/react-ui-model\";\n\nexport class SurveyQuestionFile extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionFileModel {\n return this.questionBase as QuestionFileModel;\n }\n protected renderElement(): JSX.Element {\n const preview = this.question.allowShowPreview ? this.renderPreview() : null;\n const loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;\n const video = this.question.isPlayingVideo ? this.renderVideo() : null;\n const fileDecorator = this.question.showFileDecorator ? this.renderFileDecorator() : null;\n const clearButton = this.question.showRemoveButton ? this.renderClearButton(\n this.question.cssClasses.removeButton\n ) : null;\n const clearButtonBottom = this.question.showRemoveButtonBottom ? this.renderClearButton(\n this.question.cssClasses.removeButtonBottom\n ): null;\n const fileNavigator = this.question.fileNavigatorVisible?(<SurveyActionBar model = {this.question.fileNavigator}></SurveyActionBar>) : null;\n let fileInput;\n if (this.question.isReadOnlyAttr) {\n fileInput = <input\n readOnly\n type=\"file\"\n className={!this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss()}\n id={this.question.inputId}\n ref={input => (this.setControl(input))}\n style={!this.isDisplayMode ? {} : { color: \"transparent\" }}\n multiple={this.question.allowMultiple}\n placeholder={this.question.title}\n accept={this.question.acceptedTypes}\n />;\n } else if (this.question.isDisabledAttr) {\n fileInput = <input\n disabled\n type=\"file\"\n className={!this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss()}\n id={this.question.inputId}\n ref={input => (this.setControl(input))}\n style={!this.isDisplayMode ? {} : { color: \"transparent\" }}\n multiple={this.question.allowMultiple}\n placeholder={this.question.title}\n accept={this.question.acceptedTypes}\n />;\n } else if (this.question.hasFileUI) {\n fileInput = <input\n type=\"file\"\n disabled={this.isDisplayMode}\n tabIndex={-1}\n className={!this.isDisplayMode ? this.question.cssClasses.fileInput : this.question.getReadOnlyFileCss()}\n id={this.question.inputId}\n ref={input => (this.setControl(input))}\n style={!this.isDisplayMode ? {} : { color: \"transparent\" }}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n multiple={this.question.allowMultiple}\n title={this.question.inputTitle}\n accept={this.question.acceptedTypes}\n capture={this.question.renderCapture}\n />;\n } else {\n fileInput = null;\n }\n\n return (\n <div className={this.question.fileRootCss} ref={el => (this.setContent(el))}>\n {fileInput}\n <div\n className={this.question.cssClasses.dragArea}\n onDrop={this.question.onDrop}\n onDragOver={this.question.onDragOver}\n onDragLeave={this.question.onDragLeave}\n onDragEnter={this.question.onDragEnter}\n >\n {fileDecorator}\n {loadingIndicator}\n {video}\n {clearButton}\n {preview}\n {clearButtonBottom}\n {fileNavigator}\n </div>\n </div>\n );\n }\n protected renderFileDecorator(): JSX.Element {\n const chooseButton = this.question.showChooseButton ? this.renderChooseButton() : null;\n const actionsContainer = this.question.actionsContainerVisible ? <SurveyActionBar model={this.question.actionsContainer}></SurveyActionBar> : null;\n const noFileChosen = this.question.isEmpty() ? (\n <span className={this.question.cssClasses.noFileChosen}>\n {this.question.noFileChosenCaption}\n </span>) : null;\n return (\n <div\n className={this.question.getFileDecoratorCss()}\n >\n <span className={this.question.cssClasses.dragAreaPlaceholder}>{this.renderLocString(this.question.locRenderedPlaceholder)}</span>\n <div className={this.question.cssClasses.wrapper}>\n {chooseButton}\n {actionsContainer}\n {noFileChosen}\n </div>\n </div>\n );\n }\n protected renderChooseButton(): JSX.Element {\n return <SurveyFileChooseButton data={{ question: this.question }}></SurveyFileChooseButton>;\n }\n protected renderClearButton(className: string): JSX.Element | null {\n return !this.question.isUploading ? (\n <button type=\"button\" onClick={this.question.doClean} className={className}>\n <span>{this.question.clearButtonCaption}</span>\n {(!!this.question.cssClasses.removeButtonIconId) ? <SvgIcon iconName={this.question.cssClasses.removeButtonIconId} size={\"auto\"} title={this.question.clearButtonCaption}></SvgIcon>: null }\n </button>\n ) : null;\n }\n protected renderPreview(): JSX.Element {\n return ReactElementFactory.Instance.createElement(\"sv-file-preview\", { question: this.question });\n }\n protected renderLoadingIndicator(): JSX.Element {\n return <div className={this.question.cssClasses.loadingIndicator}><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n protected renderVideo(): JSX.Element {\n return (<div className={this.question.cssClasses.videoContainer}>\n <SurveyAction item={this.question.changeCameraAction}></SurveyAction>\n <SurveyAction item={this.question.closeCameraAction}></SurveyAction>\n <video autoPlay playsInline id={this.question.videoId} className={this.question.cssClasses.video}></video>\n <SurveyAction item={this.question.takePictureAction}></SurveyAction>\n </div>);\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"file\", props => {\n return React.createElement(SurveyQuestionFile, props);\n});\n","import React from \"react\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\nexport class SurveyFileItem extends SurveyElementBase<{ question: QuestionFileModel, item: any }, {}> {\n\n protected get question(): QuestionFileModel {\n return this.props.question;\n }\n\n protected get item(): any {\n return this.props.item;\n }\n\n protected renderFileSign(className: string, val: any): JSX.Element | null {\n if(!className || !val.name) return null;\n return (\n <div className={className}>\n <a\n href={val.content}\n onClick={event => {\n this.question.doDownloadFile(event, val);\n }}\n title={val.name}\n download={val.name}\n style={{ width: this.question.imageWidth }}\n >\n {val.name}\n </a>\n </div>\n );\n }\n\n protected renderElement(): JSX.Element | null {\n const val = this.item;\n return (\n <span\n className={this.question.cssClasses.previewItem}\n onClick={(event) => this.question.doDownloadFileFromContainer(event as any)}\n >\n {this.renderFileSign(this.question.cssClasses.fileSign, val)}\n <div className={this.question.getImageWrapperCss(val)}>\n {this.question.canPreviewImage(val) ? (\n <img\n src={val.content}\n style={{ height: this.question.imageHeight, width: this.question.imageWidth }}\n alt=\"File preview\"\n />\n ) : (this.question.cssClasses.defaultImage?(\n <SvgIcon iconName={this.question.cssClasses.defaultImageIconId} size={\"auto\"} className={this.question.cssClasses.defaultImage}></SvgIcon>\n ):null)}\n {val.name && !this.question.isReadOnly ? (\n <div className={this.question.getRemoveButtonCss()} onClick={(event) => this.question.doRemoveFile(val, event)}>\n <span\n className={this.question.cssClasses.removeFile}\n >\n {this.question.removeFileCaption}\n </span>\n {(this.question.cssClasses.removeFileSvgIconId) ?\n (<SvgIcon title={this.question.removeFileCaption} iconName={this.question.cssClasses.removeFileSvgIconId} size={\"auto\"} className={this.question.cssClasses.removeFileSvg}></SvgIcon>): null }\n </div>\n ) : null}\n </div>\n {this.renderFileSign(this.question.cssClasses.fileSignBottom, val)}\n </span>\n );\n }\n protected canRender(): boolean {\n return this.question.showPreviewContainer;\n }\n}","import React from \"react\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { QuestionFileModel, QuestionFilePage } from \"survey-core\";\nimport { SurveyFileItem } from \"./file-item\";\n\nexport class SurveyFilePage extends SurveyElementBase<{ question: QuestionFileModel, page: QuestionFilePage }, {}> {\n protected get question(): QuestionFileModel {\n return this.props.question;\n }\n\n protected get page(): any {\n return this.props.page;\n }\n\n protected renderElement(): JSX.Element | null {\n const items = this.page.items.map((item: any, index: number) => { return (<SurveyFileItem item={item} question={this.question} key={index}></SurveyFileItem>); });\n return (\n <div className={this.page.css} id={this.page.id} >\n {items}\n </div>\n );\n }\n}","import React from \"react\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { QuestionFileModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyFileItem } from \"./file-item\";\nimport { SurveyFilePage } from \"./file-page\";\n\nexport class SurveyFilePreview extends SurveyElementBase<{ question: QuestionFileModel }, {}> {\n\n protected get question(): QuestionFileModel {\n return this.props.question;\n }\n\n protected renderFileSign(className: string, val: any): JSX.Element | null {\n if(!className || !val.name) return null;\n return (\n <div className={className}>\n <a\n href={val.content}\n onClick={event => {\n this.question.doDownloadFile(event, val);\n }}\n title={val.name}\n download={val.name}\n style={{ width: this.question.imageWidth }}\n >\n {val.name}\n </a>\n </div>\n );\n }\n\n protected renderElement(): JSX.Element | null {\n const content = this.question.supportFileNavigator ? this.question.renderedPages.map((page: any, index: number) => { return (<SurveyFilePage page={page} question={this.question} key={page.id}></SurveyFilePage>); })\n : this.question.previewValue.map((item: any, index: number) => { return (<SurveyFileItem item={item} question={this.question} key={index}></SurveyFileItem>); });\n return <div className={this.question.cssClasses.fileList || undefined}>{content}</div>;\n }\n protected canRender(): boolean {\n return this.question.showPreviewContainer;\n }\n}\nReactElementFactory.Instance.registerElement(\n \"sv-file-preview\",\n (props) => {\n return React.createElement(SurveyFilePreview, props);\n }\n);","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { ISurveyCreator, SurveyQuestionAndErrorsWrapped, SurveyQuestionErrorCell } from \"./reactquestion\";\nimport { QuestionMultipleTextModel, MultipleTextItemModel, MultipleTextCell } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\nimport { TitleContent } from \"./components/title/title-content\";\n\nexport class SurveyQuestionMultipleText extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionMultipleTextModel {\n return this.questionBase as QuestionMultipleTextModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var tableRows = this.question.getRows();\n var rows: Array<JSX.Element> = [];\n for (var i = 0; i < tableRows.length; i++) {\n if (tableRows[i].isVisible) {\n rows.push(this.renderRow(i, tableRows[i].cells, cssClasses));\n }\n }\n return (\n <table className={this.question.getQuestionRootCss()}>\n <tbody>{rows}</tbody>\n </table>\n );\n }\n\n protected renderCell(cell: MultipleTextCell, cssClasses: any, index: number): JSX.Element {\n let cellContent: JSX.Element;\n const focusIn = () => { cell.item.focusIn(); };\n if (cell.isErrorsCell) {\n cellContent = <SurveyQuestionErrorCell question={cell.item.editor} creator={this.creator}></SurveyQuestionErrorCell>;\n } else {\n cellContent = <SurveyMultipleTextItem question={this.question} item={cell.item} creator={this.creator} cssClasses={cssClasses}></SurveyMultipleTextItem>;\n }\n return (<td key={\"item\" + index} className={cell.className} onFocus={focusIn}>{cellContent}</td>);\n }\n\n protected renderRow(\n rowIndex: number,\n cells: Array<MultipleTextCell>,\n cssClasses: any\n ): JSX.Element {\n const key: string = \"item\" + rowIndex;\n const tds: Array<JSX.Element> = [];\n for (let i = 0; i < cells.length; i++) {\n const cell = cells[i];\n tds.push(\n this.renderCell(cell, cssClasses, i)\n );\n }\n return (\n <tr key={key} className={cssClasses.row}>\n {tds}\n </tr>\n );\n }\n}\n\nexport class SurveyMultipleTextItem extends ReactSurveyElement {\n private get question(): QuestionMultipleTextModel {\n return this.props.question;\n }\n private get item(): MultipleTextItemModel {\n return this.props.item;\n }\n protected getStateElements() {\n return [this.item, this.item.editor];\n }\n private get creator(): ISurveyCreator {\n return this.props.creator;\n }\n\n protected renderElement() {\n const item = this.item;\n const cssClasses = this.cssClasses;\n const titleStyle: any = {};\n if (!!this.question.itemTitleWidth) {\n titleStyle.minWidth = this.question.itemTitleWidth;\n titleStyle.width = this.question.itemTitleWidth;\n }\n return (<label className={this.question.getItemLabelCss(item)}>\n <span className={cssClasses.itemTitle} style={titleStyle}>\n <TitleContent element={item.editor} cssClasses={item.editor.cssClasses}></TitleContent>\n </span>\n <SurveyMultipleTextItemEditor\n cssClasses={cssClasses}\n itemCss={this.question.getItemCss()}\n question={item.editor}\n creator={this.creator}\n />\n </label>);\n }\n}\n\nexport class SurveyMultipleTextItemEditor extends SurveyQuestionAndErrorsWrapped {\n protected renderElement(): JSX.Element {\n return <div className={this.itemCss}>{this.renderContent()}</div>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"multipletext\", (props) => {\n return React.createElement(SurveyQuestionMultipleText, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase, ReactSurveyElement } from \"./reactquestion_element\";\nimport { QuestionRadiogroupModel, ItemValue, Base, SurveyModel } from \"survey-core\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionRadiogroup extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionRadiogroupModel {\n return this.questionBase as QuestionRadiogroupModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var clearButton: JSX.Element | null = null;\n if (this.question.showClearButtonInContent) {\n clearButton = (\n <div>\n <input\n type=\"button\"\n className={this.question.cssClasses.clearButton}\n onClick={() => this.question.clearValue(true)}\n value={this.question.clearButtonCaption}\n />\n </div>\n );\n }\n return (\n <fieldset\n className={this.question.getSelectBaseRootCss()}\n ref={(fieldset) => (this.setControl(fieldset))}\n role={this.question.a11y_input_ariaRole}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n >\n {this.question.hasColumns\n ? this.getColumnedBody(cssClasses)\n : this.getBody(cssClasses)}\n {this.getFooter()}\n {this.question.isOtherSelected ? this.renderOther(cssClasses) : null}\n {clearButton}\n </fieldset>\n );\n }\n protected getFooter() {\n if (this.question.hasFootItems) {\n return this.question.footItems.map((item: any, ii: number) =>\n this.renderItem(\n item,\n false,\n this.question.cssClasses\n )\n );\n }\n }\n protected getColumnedBody(cssClasses: any) {\n return (\n <div className={cssClasses.rootMultiColumn}>\n {this.getColumns(cssClasses)}\n </div>\n );\n }\n protected getColumns(cssClasses: any) {\n var value = this.getStateValue();\n return this.question.columns.map((column: Array<ItemValue>, ci: number) => {\n var items = column.map((item: any, ii: number) =>\n this.renderItem(item, value, cssClasses, \"\" + ci + ii)\n );\n return (\n <div key={\"column\" + ci + this.question.getItemsColumnKey(column)} className={this.question.getColumnClass()} role=\"presentation\">\n {items}\n </div>\n );\n });\n }\n\n protected getBody(cssClasses: any): JSX.Element {\n if (this.question.blockedRow) {\n return <div className={cssClasses.rootRow}>{this.getItems(cssClasses, this.question.dataChoices)}</div>;\n }\n else return <>{this.getItems(cssClasses, this.question.bodyItems)}</>;\n }\n\n protected getItems(cssClasses: any, choices: Array<ItemValue>): Array<any> {\n var items: Array<JSX.Element> = [];\n var value = this.getStateValue();\n for (var i = 0; i < choices.length; i++) {\n var item = choices[i];\n var renderedItem = this.renderItem(item, value, cssClasses, \"\" + i);\n items.push(renderedItem);\n }\n return items;\n }\n protected get textStyle(): any {\n return null;//{ display: \"inline\", position: \"static\" };\n }\n protected renderOther(cssClasses: any): JSX.Element {\n return (\n <div className={this.question.getCommentAreaCss(true)}>\n <SurveyQuestionOtherValueItem\n question={this.question}\n otherCss={cssClasses.other}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n />\n </div>\n );\n }\n private renderItem(\n item: ItemValue,\n value: any,\n cssClasses: any,\n index?: string\n ): JSX.Element {\n const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {\n key: item.value,\n question: this.question,\n cssClasses: cssClasses,\n isDisplayMode: this.isDisplayMode,\n item: item,\n textStyle: this.textStyle,\n index: index,\n isChecked: value === item.value,\n });\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if (!!survey) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n private getStateValue(): any {\n return !this.question.isEmpty() ? this.question.renderedValue : \"\";\n }\n}\n\nexport class SurveyQuestionRadioItem extends ReactSurveyElement {\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.rootRef = React.createRef();\n this.handleOnChange = this.handleOnChange.bind(this);\n this.handleOnMouseDown = this.handleOnMouseDown.bind(this);\n }\n protected getStateElement(): Base {\n return this.item;\n }\n protected get question(): QuestionRadiogroupModel {\n return this.props.question;\n }\n protected get item(): ItemValue {\n return this.props.item;\n }\n protected get textStyle(): any {\n return this.props.textStyle;\n }\n protected get index(): number {\n return this.props.index;\n }\n protected get isChecked(): boolean {\n return this.props.isChecked;\n }\n private get hideCaption(): boolean {\n return this.props.hideCaption === true;\n }\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (!this.question) return false;\n return (\n !this.question.customWidget ||\n !!this.question.customWidgetData.isNeedRender ||\n !!this.question.customWidget.widgetJson.isDefaultRender ||\n !!this.question.customWidget.widgetJson.render\n );\n }\n handleOnChange(event: any) {\n this.question.clickItemHandler(this.item);\n }\n handleOnMouseDown(event: any) {\n this.question.onMouseDown();\n }\n protected canRender(): boolean {\n return !!this.question && !!this.item;\n }\n\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if (prevProps.item !== this.props.item && !this.question.isDesignMode) {\n if(this.props.item) {\n this.props.item.setRootElement(this.rootRef.current);\n }\n if(prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n }\n }\n\n protected renderElement(): JSX.Element {\n var itemClass = this.question.getItemClass(this.item);\n var labelClass = this.question.getLabelClass(this.item);\n var controlLabelClass = this.question.getControlLabelClass(this.item);\n const itemLabel = !this.hideCaption ? <span className={controlLabelClass}>{this.renderLocString(this.item.locText, this.textStyle)}</span> : null;\n return (\n <div\n className={itemClass}\n role=\"presentation\"\n ref={this.rootRef}\n >\n <label onMouseDown={this.handleOnMouseDown} className={labelClass}>\n <input\n aria-errormessage={this.question.ariaErrormessage}\n className={this.cssClasses.itemControl}\n id={this.question.getItemId(this.item)}\n type=\"radio\"\n name={this.question.questionName}\n checked={this.isChecked}\n value={this.item.value}\n disabled={!this.question.getItemEnabled(this.item)}\n readOnly={this.question.isReadOnlyAttr}\n onChange={this.handleOnChange}\n />\n {\n this.cssClasses.materialDecorator ?\n <span className={this.cssClasses.materialDecorator}>\n {this.question.itemSvgIcon ?\n <svg\n className={this.cssClasses.itemDecorator}\n >\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg> :\n null\n }\n </span> :\n null\n }\n {itemLabel}\n </label>\n </div>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(this.rootRef.current as HTMLElement);\n }\n }\n public componentWillUnmount(): void {\n super.componentWillUnmount();\n if(!this.question.isDesignMode) {\n this.item.setRootElement(undefined as any);\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"survey-radiogroup-item\", (props: any) => {\n return React.createElement(SurveyQuestionRadioItem, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"radiogroup\", (props) => {\n return React.createElement(SurveyQuestionRadiogroup, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\nimport { QuestionTextModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { CharacterCounterComponent } from \"./components/character-counter\";\n\nexport class SurveyQuestionText extends SurveyQuestionUncontrolledElement<\n QuestionTextModel\n> {\n //controlRef: React.RefObject<HTMLInputElement>;\n constructor(props: any) {\n super(props);\n //this.controlRef = React.createRef();\n }\n protected renderInput() {\n const inputClass = (this.question as QuestionTextModel).getControlClass();\n\n const placeholder = this.question.renderedPlaceholder;\n if (this.question.isReadOnlyRenderDiv()) {\n return <div>{this.question.inputValue}</div>;\n }\n const counter = !!this.question.getMaxLength() ? (<CharacterCounterComponent counter={this.question.characterCounter} remainingCharacterCounter={this.question.cssClasses.remainingCharacterCounter}></CharacterCounterComponent>) : null;\n return (\n <>\n <input\n id={this.question.inputId}\n // disabled={this.isDisplayMode}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n className={inputClass}\n type={this.question.inputType}\n //ref={this.controlRef}\n ref={(input) => (this.setControl(input))}\n style={this.question.inputStyle}\n maxLength={this.question.getMaxLength()}\n min={this.question.renderedMin}\n max={this.question.renderedMax}\n step={this.question.renderedStep}\n size={this.question.inputSize}\n placeholder={placeholder}\n list={this.question.dataListId}\n autoComplete={this.question.autocomplete}\n onBlur={(event) => { this.question.onBlur(event); }}\n onFocus={(event) => { this.question.onFocus(event); }}\n onChange={this.question.onChange}\n onKeyUp={this.question.onKeyUp}\n onKeyDown={this.question.onKeyDown}\n onCompositionUpdate={(event) => this.question.onCompositionUpdate(event.nativeEvent)}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n />\n {counter}\n </>\n );\n }\n protected renderElement(): JSX.Element {\n return (\n this.question.dataListId ?\n <div>\n { this.renderInput() }\n { this.renderDataList() }\n </div>:\n this.renderInput()\n );\n }\n protected setValueCore(newValue: any) {\n this.question.inputValue = newValue;\n }\n protected getValueCore(): any {\n return this.question.inputValue;\n }\n private renderDataList(): JSX.Element | null {\n if (!this.question.dataListId) return null;\n var items = this.question.dataList;\n if (items.length == 0) return null;\n var options:Array<JSX.Element> = [];\n for (var i = 0; i < items.length; i++) {\n options.push(<option key={\"item\"+i} value={items[i]}></option>);\n }\n return <datalist id={this.question.dataListId}>{options}</datalist>;\n }\n // protected updateDomElement() {\n // this.control = this.controlRef.current;\n // super.updateDomElement();\n // }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"text\", (props) => {\n return React.createElement(SurveyQuestionText, props);\n});\n","import * as React from \"react\";\nimport { QuestionBooleanModel, CssClassBuilder, Base } from \"survey-core\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionBoolean extends SurveyQuestionElementBase {\n protected checkRef: React.RefObject<HTMLInputElement>;\n constructor(props: any) {\n super(props);\n this.handleOnChange = this.handleOnChange.bind(this);\n this.handleOnClick = this.handleOnClick.bind(this);\n this.handleOnLabelClick = this.handleOnLabelClick.bind(this);\n this.handleOnSwitchClick = this.handleOnSwitchClick.bind(this);\n this.handleOnKeyDown = this.handleOnKeyDown.bind(this);\n this.checkRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.question;\n }\n protected get question(): QuestionBooleanModel {\n return this.questionBase as QuestionBooleanModel;\n }\n /*\n private get allowClick(): boolean {\n return this.question.isIndeterminate && !this.isDisplayMode;\n }\n */\n private doCheck(value: boolean) {\n this.question.booleanValue = value;\n }\n handleOnChange(event: any) {\n this.doCheck(event.target.checked);\n }\n handleOnClick(event: any) {\n this.question.onLabelClick(event, true);\n }\n handleOnSwitchClick(event: any) {\n this.question.onSwitchClickModel(event.nativeEvent);\n }\n handleOnLabelClick(event: any, value: boolean) {\n this.question.onLabelClick(event, value);\n }\n handleOnKeyDown(event: any) {\n this.question.onKeyDownCore(event);\n }\n\n protected updateDomElement() {\n if (!this.question) return;\n const el = this.checkRef.current;\n if (el) {\n el.indeterminate = this.question.isIndeterminate;\n }\n this.setControl(el);\n super.updateDomElement();\n }\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const itemClass: string = this.question.getItemCss();\n return (\n <div className={cssClasses.root} onKeyDown={this.handleOnKeyDown}>\n <label className={itemClass} onClick={this.handleOnClick}>\n <input\n ref={this.checkRef}\n type=\"checkbox\"\n name={this.question.name}\n value={\n this.question.booleanValue === null\n ? \"\"\n : this.question.booleanValue\n }\n id={this.question.inputId}\n className={cssClasses.control}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.booleanValue || false}\n onChange={this.handleOnChange}\n role={this.question.a11y_input_ariaRole}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-errormessage={this.question.a11y_input_ariaErrormessage}\n />\n <div className={cssClasses.sliderGhost} onClick={(event) => this.handleOnLabelClick(event, this.question.swapOrder)}>\n <span className={this.question.getLabelCss(this.question.swapOrder)}>\n {this.renderLocString(this.question.locLabelLeft)}\n </span>\n </div>\n <div className={cssClasses.switch} onClick={this.handleOnSwitchClick}>\n <span className={cssClasses.slider}>\n {\n this.question.isDeterminated && cssClasses.sliderText ?\n <span className={cssClasses.sliderText}>{this.renderLocString(this.question.getCheckedLabel())}</span>\n : null\n }\n </span>\n </div>\n <div className={cssClasses.sliderGhost} onClick={(event) => this.handleOnLabelClick(event, !this.question.swapOrder)}>\n <span className={this.question.getLabelCss(!this.question.swapOrder)}>\n {this.renderLocString(this.question.locLabelRight)}\n </span>\n </div>\n </label>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"boolean\", (props) => {\n return React.createElement(SurveyQuestionBoolean, props);\n});\n","import * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionBoolean } from \"./boolean\";\nimport { TitleActions } from \"./components/title/title-actions\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\nexport class SurveyQuestionBooleanCheckbox extends SurveyQuestionBoolean {\n constructor(props: any) {\n super(props);\n }\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const itemClass = this.question.getCheckboxItemCss();\n const description = this.question.canRenderLabelDescription ?\n SurveyElementBase.renderQuestionDescription(this.question) : null;\n return (\n <div className={cssClasses.rootCheckbox}>\n <div className={itemClass}>\n <label className={cssClasses.checkboxLabel}>\n <input\n ref={this.checkRef}\n type=\"checkbox\"\n name={this.question.name}\n value={\n this.question.booleanValue === null\n ? \"\"\n : this.question.booleanValue\n }\n id={this.question.inputId}\n className={cssClasses.controlCheckbox}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n checked={this.question.booleanValue || false}\n onChange={this.handleOnChange}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <span className={cssClasses.checkboxMaterialDecorator}>\n {this.question.svgIcon ?\n <svg\n className={cssClasses.checkboxItemDecorator}\n >\n <use xlinkHref={this.question.svgIcon}></use>\n </svg> : null\n }\n <span className=\"check\" />\n </span>\n {this.question.isLabelRendered && (\n <span className={cssClasses.checkboxControlLabel} id={this.question.labelRenderedAriaID}>\n <TitleActions element={this.question} cssClasses={this.question.cssClasses}></TitleActions>\n </span>\n )}\n </label>\n {description}\n </div>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-boolean-checkbox\",\n (props) => {\n return React.createElement(SurveyQuestionBooleanCheckbox, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"boolean\",\n \"checkbox\",\n \"sv-boolean-checkbox\"\n);\n","import * as React from \"react\";\nimport { RendererFactory } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionBoolean } from \"./boolean\";\n\nexport class SurveyQuestionBooleanRadio extends SurveyQuestionBoolean {\n constructor(props: any) {\n super(props);\n }\n private renderRadioItem(value: any, locText: any): JSX.Element {\n const cssClasses = this.question.cssClasses;\n return (\n <div role=\"presentation\" className={ this.question.getRadioItemClass(cssClasses, value) }>\n <label className= { cssClasses.radioLabel }>\n <input\n type=\"radio\"\n name = { this.question.name }\n value = { value }\n aria-errormessage = { this.question.ariaErrormessage }\n checked={value === this.question.booleanValueRendered}\n disabled={this.question.isDisabledAttr}\n readOnly={this.question.isReadOnlyAttr}\n className = { cssClasses.itemRadioControl }\n onChange={ this.handleOnChange }\n />\n { this.question.cssClasses.materialRadioDecorator?\n (<span className={ cssClasses.materialRadioDecorator }>\n { this.question.itemSvgIcon ?\n (<svg className={cssClasses.itemRadioDecorator}>\n <use xlinkHref={this.question.itemSvgIcon}></use>\n </svg>):null}\n </span>):null}\n <span className= { cssClasses.radioControlLabel }>\n { this.renderLocString(locText) }\n </span>\n </label>\n </div>\n );\n }\n handleOnChange = (event: any) => {\n this.question.booleanValue = event.nativeEvent.target.value == \"true\";\n }\n protected renderElement(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n return (\n <div className={cssClasses.rootRadio}>\n <fieldset role=\"presentation\" className= { cssClasses.radioFieldset }>\n {!this.question.swapOrder ?\n (<>{this.renderRadioItem(false, this.question.locLabelFalse)}\n {this.renderRadioItem(true, this.question.locLabelTrue)}</>)\n :\n (<>{this.renderRadioItem(true, this.question.locLabelTrue)}\n {this.renderRadioItem(false, this.question.locLabelFalse)}</>)\n }\n </fieldset>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-boolean-radio\",\n (props) => {\n return React.createElement(SurveyQuestionBooleanRadio, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"boolean\",\n \"radio\",\n \"sv-boolean-radio\"\n);\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionEmptyModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionEmpty extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.state = { value: this.question.value };\n }\n protected get question(): QuestionEmptyModel {\n return this.questionBase as QuestionEmptyModel;\n }\n protected renderElement(): JSX.Element {\n return <div />;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"empty\", (props) => {\n return React.createElement(SurveyQuestionEmpty, props);\n});\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { QuestionMatrixDropdownRenderedRow, QuestionMatrixDropdownModelBase } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\n\ninterface IMatrixRowProps {\n model: QuestionMatrixDropdownRenderedRow;\n parentMatrix: QuestionMatrixDropdownModelBase;\n}\n\nexport class MatrixRow extends SurveyElementBase<IMatrixRowProps, any> {\n private root: React.RefObject<HTMLTableRowElement> = React.createRef();\n constructor(props: IMatrixRowProps) {\n super(props);\n }\n get model(): QuestionMatrixDropdownRenderedRow {\n return this.props.model;\n }\n get parentMatrix(): QuestionMatrixDropdownModelBase {\n return this.props.parentMatrix;\n }\n protected getStateElement() {\n return this.model;\n }\n protected onPointerDownHandler = (event: any) => {\n this.parentMatrix.onPointerDown(event.nativeEvent, this.model.row);\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n if(this.root.current) {\n this.model.setRootElement(this.root.current);\n }\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.model.setRootElement(undefined as any);\n }\n\n public shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n if (!super.shouldComponentUpdate(nextProps, nextState)) return false;\n if (nextProps.model !== this.model) {\n if(nextProps.element) {\n nextProps.element.setRootElement(this.root.current);\n }\n if(this.model) {\n this.model.setRootElement(undefined as any);\n }\n }\n return true;\n }\n\n render() {\n const model = this.model;\n if(!model.visible) return null;\n return (\n <tr\n ref={this.root}\n className={model.className}\n data-sv-drop-target-matrix-row={model.row && model.row.id}\n onPointerDown={(event: any) => this.onPointerDownHandler(event)}\n >\n {this.props.children}\n </tr>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-row\",\n (props: IMatrixRowProps) => {\n return React.createElement(MatrixRow, props);\n }\n);\n","import React from \"react\";\nimport { QuestionMatrixDropdownModelBase } from \"survey-core\";\nimport { ReactElementFactory } from \"../../../element-factory\";\nimport { ReactSurveyElement } from \"../../../reactquestion_element\";\n\nexport class SurveyQuestionMatrixDynamicDragDropIcon extends ReactSurveyElement {\n private get question(): QuestionMatrixDropdownModelBase {\n return this.props.item.data.question;\n }\n protected renderElement(): JSX.Element | null {\n return <div>{this.renderIcon()}</div>;\n }\n protected renderIcon(): JSX.Element {\n if(this.question.iconDragElement) {\n return (<svg className={this.question.cssClasses.dragElementDecorator} >\n <use xlinkHref={this.question.iconDragElement}></use>\n </svg>);\n } else {\n return (<span className={this.question.cssClasses.iconDrag} />);\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-drag-drop-icon\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixDynamicDragDropIcon, props);\n }\n);\n","import * as React from \"react\";\nimport {\n ReactSurveyElement,\n SurveyElementBase,\n SurveyQuestionElementBase,\n} from \"./reactquestion_element\";\nimport { ISurveyCreator, SurveyQuestion, SurveyQuestionAndErrorsCell, SurveyQuestionErrorCell } from \"./reactquestion\";\nimport {\n QuestionMatrixDropdownModelBase,\n QuestionMatrixDropdownRenderedRow,\n QuestionMatrixDropdownRenderedCell,\n MatrixDropdownColumn,\n AdaptiveActionContainer,\n Question,\n Base,\n} from \"survey-core\";\nimport { SurveyQuestionCheckboxItem } from \"./reactquestion_checkbox\";\nimport { SurveyQuestionRadioItem } from \"./reactquestion_radiogroup\";\nimport { SurveyPanel } from \"./panel\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { MatrixRow } from \"./components/matrix/row\";\nimport { SurveyQuestionMatrixDynamicDragDropIcon } from \"./components/matrix-actions/drag-drop-icon/drag-drop-icon\";\nimport { SurveyQuestionOtherValueItem } from \"./reactquestion_comment\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nclass SurveyQuestionMatrixTable extends SurveyElementBase<{ question: QuestionMatrixDropdownModelBase, wrapCell: (cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element, reason: string) => JSX.Element, creator: ISurveyCreator}, any> {\n protected get question() {\n return this.props.question;\n }\n protected get creator() {\n return this.props.creator;\n }\n protected get table() {\n return this.question.renderedTable;\n }\n protected getStateElement() {\n return this.table;\n }\n protected wrapCell(cell: QuestionMatrixDropdownRenderedCell, element: JSX.Element, reason: string): JSX.Element {\n return this.props.wrapCell(cell, element, reason);\n }\n renderHeader(): JSX.Element | null {\n const table = this.question.renderedTable;\n if (!table.showHeader) return null;\n const headers: any[] = [];\n const cells = table.headerRow.cells;\n for (var i = 0; i < cells.length; i++) {\n const cell = cells[i];\n const key = \"column\" + i;\n const columnStyle: any = {};\n if (!!cell.width) {\n columnStyle.width = cell.width;\n }\n if (!!cell.minWidth) {\n columnStyle.minWidth = cell.minWidth;\n }\n const cellContent = this.renderCellContent(cell, \"column-header\", {});\n const header = cell.hasTitle ?\n <th className={cell.className} key={key} style={columnStyle}> {cellContent} </th>\n : <td className={cell.className} key={key} style={columnStyle}></td>;\n headers.push(header);\n }\n return (\n <thead>\n <tr>{headers}</tr>\n </thead>\n );\n }\n renderFooter(): JSX.Element | null {\n const table = this.question.renderedTable;\n if (!table.showFooter) return null;\n const row = this.renderRow(\n \"footer\",\n table.footerRow,\n this.question.cssClasses,\n \"row-footer\"\n );\n return <tfoot>{row}</tfoot>;\n }\n renderRows(): JSX.Element {\n const cssClasses = this.question.cssClasses;\n const rows:Array<JSX.Element> = [];\n const renderedRows = this.question.renderedTable.renderedRows;\n for (var i = 0; i < renderedRows.length; i++) {\n rows.push(\n this.renderRow(renderedRows[i].id, renderedRows[i], cssClasses)\n );\n }\n return <tbody>{rows}</tbody>;\n }\n renderRow(\n keyValue: any,\n row: QuestionMatrixDropdownRenderedRow,\n cssClasses: any,\n reason?: string\n ): JSX.Element {\n const matrixrow:Array<JSX.Element> = [];\n const cells = row.cells;\n\n for (var i = 0; i < cells.length; i++) {\n matrixrow.push(this.renderCell(cells[i], i, cssClasses, reason));\n }\n const key = \"row\" + keyValue;\n\n return (\n <React.Fragment key={key}>\n {(reason == \"row-footer\") ? <tr>{matrixrow}</tr> : <MatrixRow model={row} parentMatrix={this.question}>{matrixrow}</MatrixRow>}\n </React.Fragment>\n );\n }\n\n renderCell(\n cell: QuestionMatrixDropdownRenderedCell,\n index: number,\n cssClasses: any,\n reason?: string\n ): JSX.Element {\n const key = \"cell\" + index;\n if (cell.hasQuestion) {\n return (\n <SurveyQuestionMatrixDropdownCell\n key={key}\n cssClasses={cssClasses}\n cell={cell}\n creator={this.creator}\n reason={reason}\n />\n );\n }\n if (cell.isErrorsCell) {\n if(cell.isErrorsCell) {\n return (\n <SurveyQuestionMatrixDropdownErrorsCell\n cell={cell}\n key={key}\n keyValue={key}\n question={cell.question}\n creator={this.creator}\n >\n </SurveyQuestionMatrixDropdownErrorsCell>\n );\n }\n }\n let calcReason = reason;\n if(!calcReason) {\n calcReason = cell.hasTitle ? \"row-header\" : \"\";\n }\n const cellContent = this.renderCellContent(cell, calcReason, cssClasses);\n let cellStyle: any = null;\n if (!!cell.width || !!cell.minWidth) {\n cellStyle = {};\n if (!!cell.width) cellStyle.width = cell.width;\n if (!!cell.minWidth) cellStyle.minWidth = cell.minWidth;\n }\n return (\n <td\n className={cell.className}\n key={key}\n style={cellStyle}\n colSpan={cell.colSpans}\n title={cell.getTitle()}\n >\n {cellContent}\n </td>\n );\n }\n private renderCellContent(\n cell: QuestionMatrixDropdownRenderedCell,\n reason: string,\n cssClasses: any\n ): JSX.Element | null {\n let cellContent: JSX.Element | null = null;\n let cellStyle: any = null;\n if (!!cell.width || !!cell.minWidth) {\n cellStyle = {};\n if (!!cell.width) cellStyle.width = cell.width;\n if (!!cell.minWidth) cellStyle.minWidth = cell.minWidth;\n }\n if (cell.hasTitle) {\n reason = \"row-header\";\n const str = this.renderLocString(cell.locTitle);\n const require = !!cell.column ? <SurveyQuestionMatrixHeaderRequired column={cell.column} question={this.question}/> : null;\n cellContent = (<>{str}{require}</>);\n }\n if (cell.isDragHandlerCell) {\n cellContent = (<>\n <SurveyQuestionMatrixDynamicDragDropIcon item={{ data: { row: cell.row, question: this.question } }}/>\n </>);\n }\n if (cell.isActionsCell) {\n cellContent = (\n ReactElementFactory.Instance.createElement(\"sv-matrixdynamic-actions-cell\", {\n question: this.question, cssClasses, cell, model: cell.item.getData()\n })\n );\n }\n if (cell.hasPanel) {\n cellContent = (\n <SurveyPanel\n key={cell.panel.id}\n element={cell.panel}\n survey={this.question.survey}\n cssClasses={cssClasses}\n isDisplayMode={this.isDisplayMode}\n creator={this.creator}\n />\n );\n }\n if (!cellContent) return null;\n\n const readyCell = (\n <>\n {cellContent}\n </>\n );\n return this.wrapCell(cell, readyCell, reason);\n }\n protected renderElement(): JSX.Element | null {\n const header = this.renderHeader();\n const footers = this.renderFooter();\n const rows = this.renderRows();\n return (\n <table className={this.question.getTableCss()}>\n {header}\n {rows}\n {footers}\n </table>\n );\n }\n}\n\nexport class SurveyQuestionMatrixDropdownBase extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n //Create rendered table in contructor and not on rendering\n const table = this.question.renderedTable;\n this.state = this.getState();\n }\n protected get question(): QuestionMatrixDropdownModelBase {\n return this.questionBase as QuestionMatrixDropdownModelBase;\n }\n private getState(prevState: any = null) {\n return { rowCounter: !prevState ? 0 : prevState.rowCounter + 1 };\n }\n private updateStateOnCallback() {\n if (this.isRendering) return;\n this.setState(this.getState(this.state));\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.question.onRenderedTableResetCallback = () => {\n this.updateStateOnCallback();\n };\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.question.onRenderedTableResetCallback = () => {};\n }\n protected renderElement(): JSX.Element {\n return this.renderTableDiv();\n }\n renderTableDiv(): JSX.Element {\n var divStyle = this.question.showHorizontalScroll\n ? ({ overflowX: \"scroll\" } as React.CSSProperties)\n : ({} as React.CSSProperties);\n return (\n <div style={divStyle} className={this.question.cssClasses.tableWrapper} ref={(root) => (this.setControl(root))}>\n <SurveyQuestionMatrixTable question={this.question} creator={this.creator} wrapCell={(cell, element, reason) => this.wrapCell(cell, element, reason)}></SurveyQuestionMatrixTable>\n </div>\n );\n }\n}\n\nclass SurveyQuestionMatrixActionsCell extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n get model(): AdaptiveActionContainer {\n return this.props.model;\n }\n protected renderElement(): JSX.Element {\n return (\n <SurveyActionBar model={this.model} handleClick={false}></SurveyActionBar>\n );\n }\n}\n\nclass SurveyQuestionMatrixDropdownErrorsCell extends SurveyQuestionErrorCell {\n constructor(props: any) {\n super(props);\n }\n protected get key() {\n return this.props.keyValue;\n }\n protected get cell() {\n return this.props.cell;\n }\n public render(): JSX.Element | null {\n if(!this.cell.isVisible) return null;\n return <td\n className={this.cell.className}\n key={this.key}\n colSpan={this.cell.colSpans}\n title={this.cell.getTitle()}\n >\n {super.render()}\n </td>;\n }\n protected getQuestionPropertiesToTrack(): string[] {\n return super.getQuestionPropertiesToTrack().concat([\"visible\"]);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrixdynamic-actions-cell\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixActionsCell, props);\n }\n);\nclass SurveyQuestionMatrixHeaderRequired extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n get column(): MatrixDropdownColumn {\n return this.props.column;\n }\n get question(): Question {\n return this.props.question;\n }\n protected getStateElement(): Base {\n return this.column;\n }\n protected renderElement(): JSX.Element | null {\n if(!this.column.isRenderedRequired) return null;\n return (\n <>\n <span>&nbsp;</span>\n <span className={this.question.cssClasses.cellRequiredText}>{this.column.requiredText}</span>\n </>\n );\n }\n}\n\nexport class SurveyQuestionMatrixDropdownCell extends SurveyQuestionAndErrorsCell {\n constructor(props: any) {\n super(props);\n }\n private get cell(): QuestionMatrixDropdownRenderedCell {\n return this.props.cell;\n }\n protected get itemCss(): string {\n return !!this.cell ? this.cell.className : \"\";\n }\n protected getQuestion(): Question | any {\n var q = super.getQuestion();\n if (!!q) return q;\n return !!this.cell ? this.cell.question : null;\n }\n protected doAfterRender(): void {\n var el = this.cellRef.current;\n if (\n el &&\n this.cell &&\n this.question &&\n this.question.survey &&\n el.getAttribute(\"data-rendered\") !== \"r\"\n ) {\n el.setAttribute(\"data-rendered\", \"r\");\n const options = {\n cell: this.cell,\n cellQuestion: this.question,\n htmlElement: el,\n row: this.cell.row,\n column: this.cell.cell.column,\n };\n this.question.survey.matrixAfterCellRender(this.question, options);\n this.question.afterRenderCore(el);\n }\n }\n protected getShowErrors(): boolean {\n return (\n this.question.isVisible &&\n (!this.cell.isChoice || this.cell.isFirstChoice)\n );\n }\n protected getCellStyle(): any {\n var res: any = super.getCellStyle();\n if (!!this.cell.width || !!this.cell.minWidth) {\n if (!res) res = {};\n if (!!this.cell.width) res.width = this.cell.width;\n if (!!this.cell.minWidth) res.minWidth = this.cell.minWidth;\n }\n\n return res;\n }\n\n protected getHeaderText(): string {\n return this.cell.headers;\n }\n protected renderElement(): JSX.Element | null {\n if(!this.cell.isVisible) {\n return null;\n }\n return super.renderElement();\n }\n protected renderCellContent() {\n const content = super.renderCellContent();\n const responsiveTitle = this.cell.showResponsiveTitle ? (<span className={this.cell.responsiveTitleCss}>{this.renderLocString(this.cell.responsiveLocTitle)}</span>) : null;\n return <>\n {responsiveTitle}\n {content}\n </>;\n }\n protected renderQuestion(): JSX.Element {\n if(!this.question.isVisible) return <></>;\n if (!this.cell.isChoice)\n return SurveyQuestion.renderQuestionBody(this.creator, this.question);\n if (this.cell.isOtherChoice) return this.renderOtherComment();\n if (this.cell.isCheckbox) return this.renderCellCheckboxButton();\n return this.renderCellRadiogroupButton();\n }\n private renderOtherComment(): JSX.Element {\n const question = this.cell.question;\n const cssClasses = question.cssClasses || {};\n return <SurveyQuestionOtherValueItem question={question} cssClasses={cssClasses} otherCss={cssClasses.other} isDisplayMode={question.isInputReadOnly} />;\n }\n private renderCellCheckboxButton(): JSX.Element {\n var key = this.cell.question.id + \"item\" + this.cell.choiceIndex;\n return (\n <SurveyQuestionCheckboxItem\n key={key}\n question={this.cell.question}\n cssClasses={this.cell.question.cssClasses}\n isDisplayMode={this.cell.question.isInputReadOnly}\n item={this.cell.item}\n isFirst={this.cell.isFirstChoice}\n index={this.cell.choiceIndex.toString()}\n hideCaption={true}\n />\n );\n }\n private renderCellRadiogroupButton(): JSX.Element {\n var key = this.cell.question.id + \"item\" + this.cell.choiceIndex;\n return (\n <SurveyQuestionRadioItem\n key={key}\n question={this.cell.question}\n cssClasses={this.cell.question.cssClasses}\n isDisplayMode={this.cell.question.isInputReadOnly}\n item={this.cell.item}\n index={this.cell.choiceIndex.toString()}\n isChecked={this.cell.question.value === this.cell.item.value}\n isDisabled={this.cell.question.isReadOnly || !this.cell.item.isEnabled}\n hideCaption={true}\n />\n );\n }\n}","import * as React from \"react\";\nimport { SurveyQuestionMatrixDropdownBase } from \"./reactquestion_matrixdropdownbase\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionMatrixDropdown extends SurveyQuestionMatrixDropdownBase {\n constructor(props: any) {\n super(props);\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"matrixdropdown\", props => {\n return React.createElement(SurveyQuestionMatrixDropdown, props);\n});\n","import * as React from \"react\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyQuestionMatrixDropdownBase } from \"./reactquestion_matrixdropdownbase\";\nimport { QuestionMatrixDynamicModel } from \"survey-core\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { ReactSurveyElement } from \"./reactquestion_element\";\n\nexport class SurveyQuestionMatrixDynamic extends SurveyQuestionMatrixDropdownBase {\n constructor(props: any) {\n super(props);\n this.handleOnRowAddClick = this.handleOnRowAddClick.bind(this);\n }\n protected get matrix(): QuestionMatrixDynamicModel {\n return this.questionBase as QuestionMatrixDynamicModel;\n }\n handleOnRowAddClick(event: any) {\n this.matrix.addRowUI();\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var showTable = this.question.renderedTable.showTable;\n var mainDiv = showTable\n ? this.renderTableDiv()\n : this.renderNoRowsContent(cssClasses);\n return (\n <div>\n {this.renderAddRowButtonOnTop(cssClasses)}\n {mainDiv}\n {this.renderAddRowButtonOnBottom(cssClasses)}\n </div>\n );\n }\n protected renderAddRowButtonOnTop(cssClasses: any): JSX.Element | null {\n if (!this.matrix.renderedTable.showAddRowOnTop) return null;\n return this.renderAddRowButton(cssClasses);\n }\n protected renderAddRowButtonOnBottom(cssClasses: any): JSX.Element | null {\n if (!this.matrix.renderedTable.showAddRowOnBottom) return null;\n return this.renderAddRowButton(cssClasses);\n }\n protected renderNoRowsContent(cssClasses: any): JSX.Element {\n const text: JSX.Element = this.renderLocString(this.matrix.locEmptyRowsText);\n const textDiv: JSX.Element = <div className={cssClasses.emptyRowsText}>{text}</div>;\n const btn: JSX.Element|undefined = this.matrix.renderedTable.showAddRow ? this.renderAddRowButton(cssClasses, true) : undefined;\n return (\n <div className={cssClasses.emptyRowsSection}>\n {textDiv}\n {btn}\n </div>\n );\n }\n protected renderAddRowButton(\n cssClasses: any,\n isEmptySection: boolean = false\n ): JSX.Element {\n return ReactElementFactory.Instance.createElement(\"sv-matrixdynamic-add-btn\", {\n question: this.question, cssClasses, isEmptySection\n });\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"matrixdynamic\", (props) => {\n return React.createElement(SurveyQuestionMatrixDynamic, props);\n});\n\nexport class SurveyQuestionMatrixDynamicAddButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnRowAddClick = this.handleOnRowAddClick.bind(this);\n }\n protected get matrix(): QuestionMatrixDynamicModel {\n return this.props.question as QuestionMatrixDynamicModel;\n }\n handleOnRowAddClick(event: any) {\n this.matrix.addRowUI();\n }\n protected renderElement(): JSX.Element {\n const addRowText: JSX.Element = this.renderLocString(this.matrix.locAddRowText);\n const addButton = (<button\n className={this.matrix.getAddRowButtonCss(this.props.isEmptySection)}\n type=\"button\"\n disabled={this.matrix.isInputReadOnly}\n onClick={\n this.matrix.isDesignMode ? undefined : this.handleOnRowAddClick\n }\n >\n {addRowText}\n <span className={this.props.cssClasses.iconAdd} />\n </button>);\n return (\n this.props.isEmptySection ? addButton : <div className={this.props.cssClasses.footer}>{addButton}</div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrixdynamic-add-btn\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixDynamicAddButton, props);\n }\n);\n","import React from \"react\";\nimport {\n QuestionPanelDynamicModel\n} from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { ReactSurveyElement } from \"../../reactquestion_element\";\n\nexport class SurveyQuestionPanelDynamicAction extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n }\n protected get data(): any {\n return (this.props.item && this.props.item.data) || this.props.data;\n }\n protected get question(): QuestionPanelDynamicModel {\n return (this.props.item && this.props.item.data.question) || this.props.data.question;\n }\n}\n\nexport class SurveyQuestionPanelDynamicAddButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.addPanelUI();\n }\n protected renderElement(): JSX.Element | null {\n if (!this.question.canAddPanel) return null;\n const btnText = this.renderLocString(this.question.locPanelAddText);\n return (\n <button type=\"button\" id={this.question.addButtonId} className={this.question.getAddButtonCss()} onClick={this.handleClick} >\n <span className={this.question.cssClasses.buttonAddText}>{btnText}</span>\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-add-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicAddButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicNextButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.goToNextPanel();\n }\n protected renderElement(): JSX.Element {\n return (\n <div title={this.question.panelNextText} onClick={this.handleClick} className={this.question.getNextButtonCss()}>\n <SvgIcon\n iconName={this.question.cssClasses.progressBtnIcon}\n size={\"auto\"}\n >\n </SvgIcon>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-next-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicNextButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicPrevButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.goToPrevPanel();\n }\n protected renderElement(): JSX.Element {\n return (\n <div title={this.question.panelPrevText} onClick={this.handleClick} className={this.question.getPrevButtonCss()}>\n <SvgIcon\n iconName={this.question.cssClasses.progressBtnIcon}\n size={\"auto\"}\n >\n </SvgIcon>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-prev-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicPrevButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicProgressText extends SurveyQuestionPanelDynamicAction {\n protected renderElement(): JSX.Element {\n return (<div className={this.question.cssClasses.progressText}>\n {this.question.progressText}\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-progress-text\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicProgressText, props);\n }\n);","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { SurveyModel, QuestionPanelDynamicModel } from \"survey-core\";\nimport { SurveyPanel } from \"./panel\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyActionBar } from \"./components/action-bar/action-bar\";\nimport { SurveyQuestionPanelDynamicNextButton } from \"./components/paneldynamic-actions/paneldynamic-next-btn\";\nimport { SurveyQuestionPanelDynamicPrevButton } from \"./components/paneldynamic-actions/paneldynamic-prev-btn\";\nimport { SurveyQuestionPanelDynamicProgressText } from \"./components/paneldynamic-actions/paneldynamic-progress-text\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionPanelDynamic extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionPanelDynamicModel {\n return this.questionBase as QuestionPanelDynamicModel;\n }\n componentDidMount() {\n super.componentDidMount();\n this.setState({ panelCounter: 0 });\n const self: SurveyQuestionPanelDynamic = this;\n this.question.panelCountChangedCallback = function () {\n self.updateQuestionRendering();\n };\n this.question.currentIndexChangedCallback = function () {\n self.updateQuestionRendering();\n };\n this.question.renderModeChangedCallback = function () {\n self.updateQuestionRendering();\n };\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.question.panelCountChangedCallback = () => {};\n this.question.currentIndexChangedCallback = () => {};\n this.question.renderModeChangedCallback = () => {};\n }\n private updateQuestionRendering() {\n this.setState({\n panelCounter: this.state ? this.state.panelCounter + 1 : 1,\n });\n }\n protected renderElement(): JSX.Element {\n const panels:Array<JSX.Element> = [];\n this.question.renderedPanels.forEach((panel, index) => {\n panels.push(<SurveyQuestionPanelDynamicItem\n key={panel.id}\n element={panel}\n question={this.question}\n index={index}\n cssClasses={this.question.cssClasses}\n isDisplayMode={this.isDisplayMode}\n creator={this.creator}\n />);\n });\n const btnAdd: JSX.Element | null = this.question.isRenderModeList && this.question[\"showLegacyNavigation\"]\n ? this.renderAddRowButton()\n : null;\n const navTop: JSX.Element | null = this.question.isProgressTopShowing\n ? this.renderNavigator()\n : null;\n const navBottom: JSX.Element | null = this.question.isProgressBottomShowing\n ? this.renderNavigator()\n : null;\n\n const navV2 = this.renderNavigatorV2();\n const noEntriesPlaceholder = this.renderPlaceholder();\n return (\n <div className={this.question.cssClasses.root}>\n {noEntriesPlaceholder}\n {navTop}\n <div className={this.question.cssClasses.panelsContainer}>\n {panels}\n </div>\n {navBottom}\n {btnAdd}\n {navV2}\n </div>\n );\n }\n protected renderNavigator(): JSX.Element | null {\n if(!this.question[\"showLegacyNavigation\"]) {\n if(this.question.isRangeShowing && this.question.isProgressTopShowing) {\n return this.renderRange();\n } else {\n return null;\n }\n }\n const range: JSX.Element | null = this.question.isRangeShowing ? this.renderRange() : null;\n const btnPrev: JSX.Element = this.rendrerPrevButton();\n const btnNext: JSX.Element = this.rendrerNextButton();\n const btnAdd: JSX.Element | null = this.renderAddRowButton();\n const progressClass: string = this.question.isProgressTopShowing\n ? this.question.cssClasses.progressTop\n : this.question.cssClasses.progressBottom;\n return (\n <div className={progressClass}>\n <div style={{ clear: \"both\" }}>\n <div className={this.question.cssClasses.progressContainer}>\n {btnPrev}\n {range}\n {btnNext}\n </div>\n {btnAdd}\n {this.renderProgressText()}\n </div>\n </div>\n );\n }\n private renderProgressText(): JSX.Element {\n return (\n <SurveyQuestionPanelDynamicProgressText data={ { question: this.question }}></SurveyQuestionPanelDynamicProgressText>\n );\n }\n\n protected rendrerPrevButton() {\n return (\n <SurveyQuestionPanelDynamicPrevButton data={ { question: this.question }}></SurveyQuestionPanelDynamicPrevButton>\n );\n }\n protected rendrerNextButton() {\n return (\n <SurveyQuestionPanelDynamicNextButton data={ { question: this.question }}></SurveyQuestionPanelDynamicNextButton>\n );\n }\n\n protected renderRange(): JSX.Element {\n return (\n <div className={this.question.cssClasses.progress}>\n <div\n className={this.question.cssClasses.progressBar}\n style={{ width: this.question.progress }}\n role=\"progressbar\"\n />\n </div>\n );\n }\n protected renderAddRowButton(): JSX.Element | null {\n return ReactElementFactory.Instance.createElement(\"sv-paneldynamic-add-btn\", {\n data: { question: this.question }\n });\n }\n protected renderNavigatorV2(): JSX.Element | null {\n if (!this.question.showNavigation) return null;\n const range: JSX.Element | null = this.question.isRangeShowing && this.question.isProgressBottomShowing ? this.renderRange() : null;\n return (<div className={this.question.cssClasses.footer}>\n <hr className={this.question.cssClasses.separator} />\n {range}\n {this.question.footerToolbar.visibleActions.length ? (<div className={this.question.cssClasses.footerButtonsContainer}>\n <SurveyActionBar model={this.question.footerToolbar}></SurveyActionBar>\n </div>) : null}\n </div>);\n }\n protected renderPlaceholder(): JSX.Element | null {\n if (this.question.getShowNoEntriesPlaceholder()) {\n return (\n <div className={this.question.cssClasses.noEntriesPlaceholder}>\n <span>{this.renderLocString(this.question.locNoEntriesText)}</span>\n {this.renderAddRowButton()}\n </div>\n );\n }\n return null;\n }\n}\n\nexport class SurveyQuestionPanelDynamicItem extends SurveyPanel {\n private get question(): QuestionPanelDynamicModel {\n return this.props.question;\n }\n private get index(): number {\n return this.props.index;\n }\n protected getSurvey(): SurveyModel | null {\n return !!this.question ? (this.question.survey as SurveyModel) : null;\n }\n protected getCss(): any {\n const survey = this.getSurvey();\n return !!survey ? survey.getCss() : {};\n }\n public render() {\n const panel = super.render();\n const removeButton = this.renderButton();\n const separator: JSX.Element | null = this.question.showSeparator(this.index) ?\n (<hr className={this.question.cssClasses.separator} />) : null;\n return (\n <>\n <div className={this.question.getPanelWrapperCss(this.panel)}>\n {panel}\n {removeButton}\n </div>\n {separator}\n </>\n );\n }\n protected renderButton(): JSX.Element | null {\n if (\n this.question.panelRemoveButtonLocation !== \"right\" ||\n !this.question.canRemovePanel ||\n (this.question.isRenderModeList && this.panel.isCollapsed)\n ) {\n return null;\n }\n return ReactElementFactory.Instance.createElement(\"sv-paneldynamic-remove-btn\", {\n data: { question: this.question, panel: this.panel }\n });\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"paneldynamic\", props => {\n return React.createElement(SurveyQuestionPanelDynamic, props);\n});\n","import * as React from \"react\";\nimport { SurveyProgressModel } from \"survey-core\";\nimport { SurveyNavigationBase } from \"./reactSurveyNavigationBase\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyProgress extends SurveyNavigationBase {\n constructor(props: any) {\n super(props);\n }\n protected get isTop(): boolean {\n return this.props.isTop;\n }\n protected get progress(): number {\n return this.survey.progressValue;\n }\n protected get progressText(): string {\n return this.survey.progressText;\n }\n render(): JSX.Element {\n var progressStyle = {\n width: this.progress + \"%\",\n };\n return (\n <div className={this.survey.getProgressCssClasses(this.props.container)}>\n <div\n style={progressStyle}\n className={this.css.progressBar}\n role=\"progressbar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-label=\"progress\"\n >\n <span\n className={SurveyProgressModel.getProgressTextInBarCss(this.css)}\n >\n {this.progressText}\n </span>\n </div>\n <span\n className={SurveyProgressModel.getProgressTextUnderBarCss(this.css)}\n >\n {this.progressText}\n </span>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-progress-pages\", props => {\n return React.createElement(SurveyProgress, props);\n});\nReactElementFactory.Instance.registerElement(\"sv-progress-questions\", props => {\n return React.createElement(SurveyProgress, props);\n});\nReactElementFactory.Instance.registerElement(\n \"sv-progress-correctquestions\",\n props => {\n return React.createElement(SurveyProgress, props);\n }\n);\nReactElementFactory.Instance.registerElement(\n \"sv-progress-requiredquestions\",\n props => {\n return React.createElement(SurveyProgress, props);\n }\n);\n","import * as React from \"react\";\nimport { ProgressButtons, PageModel, ProgressButtonsResponsivityManager, IProgressButtonsViewModel } from \"survey-core\";\nimport { SurveyNavigationBase } from \"./reactSurveyNavigationBase\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\n\nexport class SurveyProgressButtons extends SurveyNavigationBase implements IProgressButtonsViewModel {\n private respManager: ProgressButtonsResponsivityManager;\n private listContainerRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.listContainerRef = React.createRef();\n }\n protected get model(): ProgressButtons {\n return this.props.model;\n }\n get container(): string {\n return this.props.container;\n }\n onResize(canShowItemTitles: boolean): void {\n this.setState({ canShowItemTitles });\n this.setState({ canShowHeader: !canShowItemTitles });\n }\n onUpdateScroller(hasScroller: boolean): void {\n this.setState({ hasScroller });\n }\n onUpdateSettings(): void {\n this.setState({ canShowItemTitles: this.model.showItemTitles });\n this.setState({ canShowFooter: !this.model.showItemTitles });\n }\n render(): JSX.Element {\n return (\n <div className={this.model.getRootCss(this.props.container)} style={{ \"maxWidth\": this.model.progressWidth }} role=\"progressbar\" aria-valuemin={0} aria-valuemax={100} aria-label=\"progress\">\n {this.state.canShowHeader ? <div className={this.css.progressButtonsHeader}>\n <div className={this.css.progressButtonsPageTitle} title={this.model.headerText}>{this.model.headerText}</div>\n </div> : null}\n <div className={this.css.progressButtonsContainer}>\n <div\n className={this.model.getScrollButtonCss(this.state.hasScroller, true)}\n role=\"button\"\n onClick={() =>\n this.clickScrollButton(this.listContainerRef.current, true)\n }\n ></div>\n <div\n className={this.css.progressButtonsListContainer}\n ref={this.listContainerRef}\n >\n <ul className={this.css.progressButtonsList}>\n {this.getListElements()}\n </ul>\n </div>\n <div\n className={this.model.getScrollButtonCss(this.state.hasScroller, false)}\n role=\"button\"\n onClick={() =>\n this.clickScrollButton(this.listContainerRef.current, false)\n }\n ></div>\n </div>\n {this.state.canShowFooter ? <div className={this.css.progressButtonsFooter}>\n <div className={this.css.progressButtonsPageTitle} title={this.model.footerText}>{this.model.footerText}</div>\n </div> : null}\n </div>\n );\n }\n protected getListElements(): JSX.Element[] {\n let buttons: JSX.Element[] = [];\n this.survey.visiblePages.forEach((page: PageModel, index: number) => {\n buttons.push(this.renderListElement(page, index));\n });\n return buttons;\n }\n protected renderListElement(page: PageModel, index: number): JSX.Element {\n const text = SurveyElementBase.renderLocString(page.locNavigationTitle);\n return (\n <li\n key={\"listelement\" + index}\n className={this.model.getListElementCss(index)}\n onClick={\n this.model.isListElementClickable(index)\n ? () => this.model.clickListElement(page)\n : undefined\n }\n data-page-number={this.model.getItemNumber(page)}\n >\n <div className={this.css.progressButtonsConnector}></div>\n {this.state.canShowItemTitles ? <>\n <div\n className={this.css.progressButtonsPageTitle}\n title={page.renderedNavigationTitle}\n >\n {text}\n </div>\n <div\n className={this.css.progressButtonsPageDescription}\n title={page.navigationDescription}\n >\n {page.navigationDescription}\n </div>\n </> : null}\n <div className={this.css.progressButtonsButton}><div className={this.css.progressButtonsButtonBackground}></div><div className={this.css.progressButtonsButtonContent}></div><span>{this.model.getItemNumber(page)}</span></div>\n </li>\n );\n }\n protected clickScrollButton(\n listContainerElement: Element | null,\n isLeftScroll: boolean\n ): void {\n if (!!listContainerElement) {\n listContainerElement.scrollLeft += (isLeftScroll ? -1 : 1) * 70;\n }\n }\n componentDidMount() {\n super.componentDidMount();\n setTimeout(() => {\n this.respManager = new ProgressButtonsResponsivityManager(this.model, this.listContainerRef.current as any, this);\n }, 10);\n }\n componentWillUnmount() {\n if(!!this.respManager) {\n this.respManager.dispose();\n }\n super.componentWillUnmount();\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-progress-buttons\", (props) => {\n return React.createElement(SurveyProgressButtons, props);\n});\n","import React from \"react\";\r\nimport { ListModel } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { SurveyElementBase } from \"../../reactquestion_element\";\r\nimport { attachKey2click } from \"../../reactSurvey\";\r\n\r\ninterface IListItemProps {\r\n model: ListModel;\r\n item: any;\r\n}\r\n\r\nexport class ListItem extends SurveyElementBase<IListItemProps, any> {\r\n get model(): ListModel {\r\n return this.props.model;\r\n }\r\n get item(): any {\r\n return this.props.item;\r\n }\r\n handleKeydown = (event: any) => {\r\n this.model.onKeyDown(event);\r\n };\r\n getStateElement() {\r\n return this.item;\r\n }\r\n render(): JSX.Element | null {\r\n if (!this.item) return null;\r\n const contentWrapStyle = {\r\n paddingInlineStart: this.model.getItemIndent(this.item)\r\n };\r\n const className = this.model.getItemClass(this.item);\r\n const itemContent = this.item.component || this.model.itemComponent;\r\n const newElement = ReactElementFactory.Instance.createElement(itemContent, { item: this.item, key: this.item.id, model: this.model });\r\n const contentWrap =\r\n <div\r\n style={contentWrapStyle}\r\n className={this.model.cssClasses.itemBody}\r\n title={this.item.locTitle.calculatedText}\r\n onMouseOver={(event: any) => { this.model.onItemHover(this.item); }}\r\n onMouseLeave={(event: any) => { this.model.onItemLeave(this.item); }}\r\n >\r\n {newElement}\r\n </div>;\r\n const separator = this.item.needSeparator ? <div className = {this.model.cssClasses.itemSeparator}/>:null;\r\n const isVisible = this.model.isItemVisible(this.item);\r\n const style = {\r\n display: isVisible ? null : \"none\"\r\n };\r\n return attachKey2click(\r\n <li\r\n className={className}\r\n role=\"option\"\r\n style={style as any}\r\n id={this.item.elementId}\r\n aria-selected={this.model.isItemSelected(this.item)}\r\n onClick={(event: any) => {\r\n this.model.onItemClick(this.item);\r\n event.stopPropagation();\r\n }}\r\n onPointerDown={(event: any) => this.model.onPointerDown(event, this.item)}>\r\n {separator}\r\n {contentWrap}\r\n </li>, this.item\r\n );\r\n }\r\n componentDidMount() {\r\n super.componentDidMount();\r\n\r\n this.model.onLastItemRended(this.item);\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-list-item\", (props) => {\r\n return React.createElement(ListItem, props);\r\n});\r\n","import React from \"react\";\r\nimport { IAction, ListModel, settings } from \"survey-core\";\r\nimport { ReactElementFactory } from \"../../element-factory\";\r\nimport { SurveyElementBase } from \"../../reactquestion_element\";\r\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\r\nimport { ListItem } from \"./list-item\";\r\n\r\ninterface IListProps {\r\n model: ListModel;\r\n}\r\n\r\nexport class List extends SurveyElementBase<IListProps, any> {\r\n private listContainerRef: React.RefObject<HTMLDivElement>;\r\n\r\n constructor(props: any) {\r\n super(props);\r\n this.state = {\r\n filterString: this.model.filterString || \"\"\r\n };\r\n this.listContainerRef = React.createRef();\r\n }\r\n get model(): ListModel {\r\n return this.props.model;\r\n }\r\n handleKeydown = (event: any) => {\r\n this.model.onKeyDown(event);\r\n };\r\n handleMouseMove = (event: any) => {\r\n this.model.onMouseMove(event);\r\n };\r\n getStateElement() {\r\n return this.model;\r\n }\r\n componentDidMount(): void {\r\n super.componentDidMount();\r\n if(!!this.listContainerRef && !!this.listContainerRef.current) {\r\n this.model.initListContainerHtmlElement(this.listContainerRef.current);\r\n }\r\n }\r\n public componentDidUpdate(prevProps: any, prevState: any): void {\r\n super.componentDidUpdate(prevProps, prevState);\r\n if (this.model !== prevProps.model) {\r\n if(this.model && !!this.listContainerRef?.current) {\r\n this.model.initListContainerHtmlElement(this.listContainerRef.current);\r\n }\r\n if(prevProps.model) {\r\n prevProps.model.initListContainerHtmlElement(undefined as any);\r\n }\r\n }\r\n }\r\n\r\n componentWillUnmount(): void {\r\n super.componentWillUnmount();\r\n if(!!this.model) {\r\n this.model.initListContainerHtmlElement(undefined as any);\r\n }\r\n }\r\n renderElement() {\r\n return (\r\n <div className={this.model.cssClasses.root} ref={this.listContainerRef}>\r\n {this.searchElementContent()}\r\n {this.emptyContent()}\r\n {this.renderList()}\r\n </div>\r\n );\r\n }\r\n renderList() {\r\n if(!this.model.renderElements) return null;\r\n\r\n const items = this.renderItems();\r\n const ulStyle = { display: this.model.isEmpty ? \"none\" : null };\r\n\r\n return (\r\n <ul\r\n className={this.model.getListClass()}\r\n style={ulStyle as any}\r\n role=\"listbox\"\r\n id={this.model.elementId}\r\n onMouseDown={(e) => {\r\n e.preventDefault();\r\n }}\r\n onKeyDown={this.handleKeydown}\r\n onMouseMove={this.handleMouseMove}\r\n >\r\n {items}\r\n </ul>);\r\n }\r\n renderItems() {\r\n if (!this.model) {\r\n return null;\r\n }\r\n const items = this.model.renderedActions;\r\n if (!items) {\r\n return null;\r\n }\r\n return items.map((item: IAction, itemIndex: number) => {\r\n return (\r\n <ListItem model={this.model} item={item} key={\"item\" + itemIndex}></ListItem>\r\n );\r\n });\r\n }\r\n\r\n searchElementContent() {\r\n if (!this.model.showFilter) return null;\r\n else {\r\n const onChange = (e: any) => {\r\n const { root } = settings.environment;\r\n if (e.target === root.activeElement) {\r\n this.model.filterString = e.target.value;\r\n }\r\n };\r\n const onKeyUp = (e: any) => {\r\n this.model.goToItems(e);\r\n };\r\n const clearButton = this.model.showSearchClearButton && !!this.model.filterString ?\r\n <button className={this.model.cssClasses.searchClearButtonIcon} onClick={(event) => { this.model.onClickSearchClearButton(event); }}>\r\n <SvgIcon\r\n iconName={\"icon-searchclear\"}\r\n size={\"auto\"}\r\n >\r\n </SvgIcon>\r\n </button> : null;\r\n\r\n return (\r\n <div className={this.model.cssClasses.filter}>\r\n <div className={this.model.cssClasses.filterIcon}>\r\n <SvgIcon\r\n iconName={\"icon-search\"}\r\n size={\"auto\"}\r\n >\r\n </SvgIcon>\r\n </div>\r\n <input\r\n type=\"text\"\r\n className={this.model.cssClasses.filterInput}\r\n aria-label={this.model.filterStringPlaceholder}\r\n placeholder={this.model.filterStringPlaceholder}\r\n value={this.state.filterString}\r\n onKeyUp={onKeyUp}\r\n onChange={onChange}\r\n ></input>\r\n {clearButton}\r\n </div>\r\n );\r\n }\r\n }\r\n emptyContent() {\r\n const style = { display: this.model.isEmpty ? null : \"none\" };\r\n\r\n return (<div className={this.model.cssClasses.emptyContainer} style={style as any}>\r\n <div className={this.model.cssClasses.emptyText} aria-label={this.model.emptyMessage}>{this.model.emptyMessage}</div>\r\n </div>);\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\"sv-list\", (props) => {\r\n return React.createElement(List, props);\r\n});\r\n","import * as React from \"react\";\nimport { createTOCListModel, getTocRootCss, TOCModel } from \"survey-core\";\nimport { SurveyNavigationBase } from \"./reactSurveyNavigationBase\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { List } from \"./components/list/list\";\nimport { Popup } from \"./components/popup/popup\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyProgressToc extends SurveyNavigationBase {\n render(): JSX.Element {\n const tocModel = this.props.model;\n let content: JSX.Element;\n if (tocModel.isMobile) {\n content = <div onClick={tocModel.togglePopup}>\n <SvgIcon iconName={tocModel.icon} size={24} />\n <Popup model={tocModel.popupModel} />\n </div>;\n } else {\n content = <List model={tocModel.listModel} />;\n }\n return (\n <div className={tocModel.containerCss}>\n {content}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-navigation-toc\", (props) => {\n return React.createElement(SurveyProgressToc, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionRatingModel, RenderedRatingItem } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactElementFactory } from \"./element-factory\";\n\nexport class SurveyQuestionRating extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.handleOnClick = this.handleOnClick.bind(this);\n }\n protected get question(): QuestionRatingModel {\n return this.questionBase as QuestionRatingModel;\n }\n handleOnClick(event: any) {\n this.question.setValueFromClick(event.target.value);\n this.setState({ value: this.question.value });\n }\n\n protected renderItem(\n item: any,\n index: Number\n ): JSX.Element {\n const renderedItem = ReactElementFactory.Instance.createElement(this.question.itemComponent, {\n question: this.question,\n item: item,\n index: index,\n key: \"value\" + index,\n handleOnClick: this.handleOnClick,\n isDisplayMode: this.isDisplayMode\n });\n return renderedItem;\n }\n\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var minText = this.question.minRateDescription\n ? this.renderLocString(this.question.locMinRateDescription)\n : null;\n var maxText = this.question.maxRateDescription\n ? this.renderLocString(this.question.locMaxRateDescription)\n : null;\n return (\n <div className={this.question.ratingRootCss} ref={(div) => (this.setControl(div))}>\n <fieldset role=\"radiogroup\">\n <legend role=\"presentation\" className={\"sv-hidden\"}></legend>\n {!!this.question.hasMinLabel ? <span className={cssClasses.minText}>{minText}</span>: null}\n {this.question.renderedRateItems.map((item, index) => this.renderItem(item, index))}\n {!!this.question.hasMaxLabel ? <span className={cssClasses.maxText}>{maxText}</span>: null}\n </fieldset>\n </div>\n );\n }\n\n}\nReactQuestionFactory.Instance.registerQuestion(\"rating\", (props) => {\n return React.createElement(SurveyQuestionRating, props);\n});\n","import * as React from \"react\";\nimport { QuestionRatingModel, RendererFactory } from \"survey-core\";\nimport { SurveyQuestionDropdownBase } from \"./dropdown-base\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport * from \"./components/rating/rating-dropdown-item\";\n\nexport class SurveyQuestionRatingDropdown extends SurveyQuestionDropdownBase<QuestionRatingModel> {\n constructor(props: any) {\n super(props);\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n var select = this.renderSelect(cssClasses);\n return (\n <div className={this.question.cssClasses.rootDropdown}>\n {select}\n </div>\n );\n }\n}\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-rating-dropdown\",\n (props) => {\n return React.createElement(SurveyQuestionRatingDropdown, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"rating\",\n \"dropdown\",\n \"sv-rating-dropdown\"\n);\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionExpressionModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionExpression extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionExpressionModel {\n return this.questionBase as QuestionExpressionModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n return (\n <div\n id={this.question.inputId}\n className={cssClasses.root}\n ref={(div) => (this.setControl(div))}\n >\n {this.question.formatedValue}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"expression\", (props) => {\n return React.createElement(SurveyQuestionExpression, props);\n});\n","import * as React from \"react\";\nimport { Base, PopupSurveyModel } from \"survey-core\";\nimport { Survey } from \"./reactSurvey\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class PopupSurvey extends Survey {\n protected popup: PopupSurveyModel;\n constructor(props: any) {\n super(props);\n this.handleOnExpanded = this.handleOnExpanded.bind(this);\n }\n protected getStateElements(): Array<Base> {\n return [this.popup, this.popup.survey];\n }\n handleOnExpanded(event: any) {\n this.popup.changeExpandCollapse();\n }\n protected canRender(): boolean {\n return super.canRender() && this.popup.isShowing;\n }\n protected renderElement(): JSX.Element {\n var header = this.renderWindowHeader();\n var body = this.renderBody();\n let style: React.CSSProperties = {};\n if (!!this.popup.renderedWidth) {\n style.width = this.popup.renderedWidth;\n style.maxWidth = this.popup.renderedWidth;\n }\n return (\n <div className={this.popup.cssRoot} style={style} onScroll={() => this.popup.onScroll()}>\n <div className={this.popup.cssRootContent}>\n {header}\n {body}\n </div>\n </div>\n );\n }\n protected renderWindowHeader(): JSX.Element {\n var popup = this.popup;\n var headerCss = popup.cssHeaderRoot;\n var titleCollapsed: JSX.Element | null = null;\n var expandCollapseIcon;\n var closeButton: JSX.Element | null = null;\n var allowFullScreenButon: JSX.Element | null = null;\n\n if (popup.isCollapsed) {\n headerCss += \" \" + popup.cssRootCollapsedMod;\n titleCollapsed = this.renderTitleCollapsed(popup);\n expandCollapseIcon = this.renderExpandIcon();\n } else {\n expandCollapseIcon = this.renderCollapseIcon();\n }\n\n if (popup.allowClose) {\n closeButton = this.renderCloseButton(this.popup);\n }\n\n if (popup.allowFullScreen) {\n allowFullScreenButon = this.renderAllowFullScreenButon(this.popup);\n }\n\n return (\n <div className={popup.cssHeaderRoot}>\n {titleCollapsed}\n <div className={popup.cssHeaderButtonsContainer}>\n {allowFullScreenButon}\n <div className={popup.cssHeaderCollapseButton} onClick={this.handleOnExpanded}>\n {expandCollapseIcon}\n </div>\n {closeButton}\n </div>\n </div>\n );\n }\n protected renderTitleCollapsed(popup: PopupSurveyModel): JSX.Element | null {\n if (!popup.locTitle) return null;\n return <div className={popup.cssHeaderTitleCollapsed}>{popup.locTitle.renderedHtml}</div>;\n }\n protected renderExpandIcon(): JSX.Element {\n return <SvgIcon iconName={\"icon-restore_16x16\"} size={16}></SvgIcon>;\n }\n protected renderCollapseIcon(): JSX.Element {\n return <SvgIcon iconName={\"icon-minimize_16x16\"} size={16}></SvgIcon>;\n }\n protected renderCloseButton(popup: PopupSurveyModel): JSX.Element {\n return (\n <div className={popup.cssHeaderCloseButton} onClick={() => {\n popup.hide();\n if(typeof this.props.onClose == \"function\") {\n this.props.onClose();\n }\n }}>\n <SvgIcon iconName={\"icon-close_16x16\"} size={16}></SvgIcon>\n </div>\n );\n }\n protected renderAllowFullScreenButon(popup: PopupSurveyModel): JSX.Element {\n let Icon;\n\n if (popup.isFullScreen) {\n Icon = <SvgIcon iconName={\"icon-back-to-panel_16x16\"} size={16}></SvgIcon>;\n } else {\n Icon = <SvgIcon iconName={\"icon-full-screen_16x16\"} size={16}></SvgIcon>;\n }\n\n return (\n <div className={popup.cssHeaderFullScreenButton} onClick={() => { popup.toggleFullScreen(); }}>\n {Icon}\n </div>\n );\n }\n protected renderBody(): JSX.Element {\n return <div className={this.popup.cssBody}>{this.doRender()}</div>;\n }\n protected createSurvey(newProps: any) {\n if (!newProps) newProps = {};\n super.createSurvey(newProps);\n this.popup = new PopupSurveyModel(null, this.survey);\n if (newProps.closeOnCompleteTimeout) {\n this.popup.closeOnCompleteTimeout = newProps.closeOnCompleteTimeout;\n }\n this.popup.allowClose = newProps.allowClose;\n this.popup.allowFullScreen = newProps.allowFullScreen;\n this.popup.isShowing = true;\n if (!this.popup.isExpanded && (newProps.expanded || newProps.isExpanded))\n this.popup.expand();\n }\n}\n/**\n * Obsolete. Please use PopupSurvey\n */\nexport class SurveyWindow extends PopupSurvey {}\n","import * as React from \"react\";\nimport { ReactSurveyElement, SurveyElementBase, SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionImagePickerModel, ImageItemValue, SurveyModel, ItemValue } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { ReactSurveyElementsWrapper } from \"./reactsurveymodel\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyQuestionImagePicker extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionImagePickerModel {\n return this.questionBase as QuestionImagePickerModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n return (\n <fieldset className={this.question.getSelectBaseRootCss()}>\n <legend className=\"sv-hidden\">{this.question.locTitle.renderedHtml}</legend>\n {this.question.hasColumns ? this.getColumns(cssClasses) : this.getItems(cssClasses)}\n </fieldset>\n );\n }\n\n protected getColumns(cssClasses: any) {\n return this.question.columns.map((column: Array<ItemValue>, ci: number) => {\n var items = column.map((item: any, ii: number) =>\n this.renderItem(\n \"item\" + ii,\n item,\n cssClasses\n )\n );\n return (\n <div key={\"column\" + ci + this.question.getItemsColumnKey(column)} className={this.question.getColumnClass()} role=\"presentation\">\n {items}\n </div>\n );\n });\n }\n\n protected getItems(cssClasses: any): Array<any> {\n var items:Array<JSX.Element> = [];\n for (var i = 0; i < this.question.visibleChoices.length; i++) {\n var item = this.question.visibleChoices[i];\n var key = \"item\" + i;\n items.push(this.renderItem(key, item as ImageItemValue, cssClasses));\n }\n return items;\n }\n protected get textStyle(): any {\n return { marginLeft: \"3px\", display: \"inline\", position: \"static\" };\n }\n protected renderItem(\n key: string,\n item: ImageItemValue,\n cssClasses: any\n ): JSX.Element {\n const renderedItem = <SurveyQuestionImagePickerItem key={key} question={this.question} item={item} cssClasses={cssClasses}></SurveyQuestionImagePickerItem>;\n const survey = this.question.survey as SurveyModel;\n let wrappedItem: JSX.Element | null = null;\n if(!!survey) {\n wrappedItem = ReactSurveyElementsWrapper.wrapItemValue(survey, renderedItem, this.question, item);\n }\n return wrappedItem ?? renderedItem;\n }\n}\nexport class SurveyQuestionImagePickerItem extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnChange = this.handleOnChange.bind(this);\n }\n protected getStateElement() {\n return this.item;\n }\n componentDidMount() {\n super.componentDidMount();\n this.reactOnStrChanged();\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.item.locImageLink.onChanged = function () {};\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.reactOnStrChanged();\n }\n private reactOnStrChanged() {\n this.item.locImageLink.onChanged = () => {\n this.setState({ locImageLinkchanged: !!this.state && this.state.locImageLink ? this.state.locImageLink + 1 : 1 });\n };\n }\n protected get cssClasses() {\n return this.props.cssClasses;\n }\n\n protected get item() {\n return this.props.item;\n }\n\n protected get question() {\n return this.props.question;\n }\n\n handleOnChange(event: any) {\n if (this.question.isReadOnlyAttr) return;\n if (this.question.multiSelect) {\n if (event.target.checked) {\n this.question.value = this.question.value.concat(event.target.value);\n } else {\n var currValue = this.question.value;\n currValue.splice(this.question.value.indexOf(event.target.value), 1);\n this.question.value = currValue;\n }\n } else {\n this.question.value = event.target.value;\n }\n this.setState({ value: this.question.value });\n }\n\n protected renderElement(): JSX.Element {\n const item = this.item;\n const question = this.question;\n const cssClasses = this.cssClasses;\n var isChecked = question.isItemSelected(item);\n var itemClass = question.getItemClass(item);\n var text: JSX.Element | null = null;\n if (question.showLabel) {\n text = (\n <span\n className={question.cssClasses.itemText}\n >\n {item.text ? SurveyElementBase.renderLocString(item.locText) : item.value}\n </span>\n );\n }\n\n var style: any = { objectFit: this.question.imageFit };\n\n var control: JSX.Element | null = null;\n if (item.locImageLink.renderedHtml && this.question.contentMode === \"image\") {\n control = (\n <img\n className={cssClasses.image}\n src={item.locImageLink.renderedHtml}\n width={ this.question.renderedImageWidth }\n height={ this.question.renderedImageHeight }\n alt={item.locText.renderedHtml}\n style={style}\n onLoad={(event: any) => { this.question[\"onContentLoaded\"](item, event.nativeEvent); }}\n onError={(event: any) => { item.onErrorHandler(item, event.nativeEvent); }}\n />\n );\n }\n if (item.locImageLink.renderedHtml && this.question.contentMode === \"video\") {\n control = (\n <video controls\n className={cssClasses.image}\n src={item.locImageLink.renderedHtml}\n width={ this.question.renderedImageWidth }\n height={ this.question.renderedImageHeight }\n style={style}\n onLoadedMetadata={(event: any) => { this.question[\"onContentLoaded\"](item, event.nativeEvent); }}\n onError={(event: any) => { item.onErrorHandler(item, event.nativeEvent); }}\n ></video>\n );\n }\n if (!item.locImageLink.renderedHtml || item.contentNotLoaded) {\n let style: any = {\n width: this.question.renderedImageWidth,\n height: this.question.renderedImageHeight,\n objectFit: this.question.imageFit\n };\n control = (\n <div\n className={cssClasses.itemNoImage}\n style={style}\n >\n {\n cssClasses.itemNoImageSvgIcon ?\n <SvgIcon\n className={cssClasses.itemNoImageSvgIcon}\n iconName={this.question.cssClasses.itemNoImageSvgIconId}\n size={48}\n ></SvgIcon>:\n null\n }\n </div>\n );\n }\n\n const renderedItem = (\n <div className={itemClass}>\n <label className={cssClasses.label}>\n <input\n className={cssClasses.itemControl}\n id={this.question.getItemId(item)}\n type={this.question.inputType}\n name={this.question.questionName}\n checked={isChecked}\n value={item.value}\n disabled={!this.question.getItemEnabled(item)}\n readOnly={this.question.isReadOnlyAttr}\n onChange={this.handleOnChange}\n aria-required={this.question.ariaRequired}\n aria-label={this.question.ariaLabel}\n aria-invalid={this.question.ariaInvalid}\n aria-errormessage={this.question.ariaErrormessage}\n />\n <div className={this.question.cssClasses.itemDecorator}>\n <div className={this.question.cssClasses.imageContainer}>\n {!!this.question.cssClasses.checkedItemDecorator ?\n <span className={this.question.cssClasses.checkedItemDecorator }>\n {!!this.question.cssClasses.checkedItemSvgIconId ? <SvgIcon size={\"auto\"} className={this.question.cssClasses.checkedItemSvgIcon} iconName={this.question.cssClasses.checkedItemSvgIconId}></SvgIcon> : null}\n </span> : null}\n {control}\n </div>\n {text}\n </div>\n </label>\n </div>\n );\n return renderedItem;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"imagepicker\", (props) => {\n return React.createElement(SurveyQuestionImagePicker, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionImageModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\n\nexport class SurveyQuestionImage extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n componentDidMount() {\n super.componentDidMount();\n this.question.locImageLink.onChanged = () => {\n this.forceUpdate();\n };\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.question.locImageLink.onChanged = () => { };\n }\n\n protected get question(): QuestionImageModel {\n return this.questionBase as QuestionImageModel;\n }\n\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.getImageCss();\n var style: any = { objectFit: this.question.imageFit, width: this.question.renderedStyleWidth, height: this.question.renderedStyleHeight };\n if(!this.question.imageLink || this.question.contentNotLoaded) {\n style[\"display\"] = \"none\";\n }\n var control: JSX.Element | null = null;\n if (this.question.renderedMode === \"image\") {\n control = (\n <img\n className={cssClasses}\n src={this.question.locImageLink.renderedHtml}\n alt={this.question.altText || this.question.title}\n width={this.question.renderedWidth}\n height={this.question.renderedHeight}\n //alt={item.text || item.value}\n style={style}\n onLoad={(event: any) => { this.question.onLoadHandler(); } }\n onError={(event: any) => { this.question.onErrorHandler(); } }\n />\n );\n }\n if (this.question.renderedMode === \"video\") {\n control = (\n <video controls\n className={cssClasses}\n src={this.question.locImageLink.renderedHtml}\n width={this.question.renderedWidth}\n height={this.question.renderedHeight}\n style={style}\n onLoadedMetadata={(event: any) => { this.question.onLoadHandler(); } }\n onError={(event: any) => { this.question.onErrorHandler(); } }\n ></video>\n );\n }\n if (this.question.renderedMode === \"youtube\") {\n control = (\n <iframe\n className={cssClasses}\n src={this.question.locImageLink.renderedHtml}\n width={this.question.renderedWidth}\n height={this.question.renderedHeight}\n style={style}\n ></iframe>\n );\n }\n var noImage: JSX.Element | null = null;\n if(!this.question.imageLink || this.question.contentNotLoaded) {\n noImage = (\n <div className={this.question.cssClasses.noImage}>\n <SvgIcon\n iconName={this.question.cssClasses.noImageSvgIconId}\n size={48}\n >\n </SvgIcon>\n </div>\n );\n }\n return <div className={this.question.cssClasses.root}>{control}{noImage}</div>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"image\", (props) => {\n return React.createElement(SurveyQuestionImage, props);\n});\n","import * as React from \"react\";\nimport { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport { QuestionSignaturePadModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport { LoadingIndicatorComponent } from \"./components/loading-indicator\";\n\nexport class SurveyQuestionSignaturePad extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n this.state = { value: this.question.value };\n }\n protected get question(): QuestionSignaturePadModel {\n return this.questionBase as QuestionSignaturePadModel;\n }\n protected renderElement(): JSX.Element {\n var cssClasses = this.question.cssClasses;\n const loadingIndicator = this.question.showLoadingIndicator ? this.renderLoadingIndicator() : null;\n var clearButton = this.renderCleanButton();\n return (\n <div className={cssClasses.root} ref={(root) => (this.setControl(root))} style={{ width: this.question.renderedCanvasWidth }}>\n <div\n className={cssClasses.placeholder}\n style={{ display: this.question.needShowPlaceholder() ? \"\" : \"none\" }}\n >\n {this.renderLocString(this.question.locRenderedPlaceholder)}\n </div>\n <div>\n {this.renderBackgroundImage()}\n <canvas tabIndex={-1} className={this.question.cssClasses.canvas} onBlur={(event) => { this.question.onBlur(event); }}></canvas>\n </div>\n {clearButton}\n {loadingIndicator}\n </div>\n );\n }\n\n renderBackgroundImage(): JSX.Element | null {\n if(!this.question.backgroundImage) return null;\n\n return <img className={this.question.cssClasses.backgroundImage} src={this.question.backgroundImage} style={{ width: this.question.renderedCanvasWidth }}></img>;\n }\n protected renderLoadingIndicator(): JSX.Element {\n return <div className={this.question.cssClasses.loadingIndicator}><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n\n renderCleanButton(): JSX.Element | null {\n if(!this.question.canShowClearButton) return null;\n\n var cssClasses = this.question.cssClasses;\n return <div className={cssClasses.controls}>\n <button\n type=\"button\"\n className={cssClasses.clearButton}\n title={this.question.clearButtonCaption}\n onClick={() => this.question.clearValue(true)}\n >\n {this.question.cssClasses.clearButtonIconId ? <SvgIcon iconName={this.question.cssClasses.clearButtonIconId} size={\"auto\"}></SvgIcon> : <span>✖</span>}\n </button>\n </div>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"signaturepad\", (props) => {\n return React.createElement(SurveyQuestionSignaturePad, props);\n});\n","import { SurveyQuestionElementBase } from \"./reactquestion_element\";\nimport React from \"react\";\nimport { ReactElementFactory } from \"./element-factory\";\nimport { SurveyElementBase } from \"./reactquestion_element\";\nimport { SvgIcon } from \"./components/svg-icon/svg-icon\";\nimport {\n QuestionButtonGroupModel,\n ButtonGroupItemValue,\n ButtonGroupItemModel,\n} from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\n\nexport class SurveyQuestionButtonGroup extends SurveyQuestionElementBase {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionButtonGroupModel {\n return this.questionBase as QuestionButtonGroupModel;\n }\n getStateElement() {\n return this.question;\n }\n renderElement() {\n const items = this.renderItems();\n return <div className={this.question.cssClasses.root}>{items}</div>;\n }\n renderItems() {\n return this.question.visibleChoices.map(\n (item: ButtonGroupItemValue, index: number) => {\n return (\n <SurveyButtonGroupItem\n key={this.question.inputId + \"_\" + index}\n item={item}\n question={this.question}\n index={index}\n ></SurveyButtonGroupItem>\n );\n }\n );\n }\n}\n\nexport class SurveyButtonGroupItem extends SurveyElementBase<any, any> {\n public model: ButtonGroupItemModel;\n constructor(props: any) {\n super(props);\n }\n get index(): number {\n return this.props.index;\n }\n get question(): QuestionButtonGroupModel {\n return this.props.question;\n }\n get item(): ButtonGroupItemValue {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n public renderElement() {\n this.model = new ButtonGroupItemModel(this.question, this.item, this.index);\n const icon = this.renderIcon();\n const input = this.renderInput();\n const caption = this.renderCaption();\n return (\n <label\n role=\"radio\"\n className={this.model.css.label}\n title={this.model.caption.renderedHtml}\n >\n {input}\n <div className={this.model.css.decorator}>\n {icon}\n {caption}\n </div>\n </label>\n );\n }\n protected renderIcon() {\n if (!!this.model.iconName) {\n return (\n <SvgIcon\n className={this.model.css.icon}\n iconName={this.model.iconName}\n size={this.model.iconSize || 24}\n ></SvgIcon>\n );\n }\n return null;\n }\n protected renderInput() {\n return (\n <input\n className={this.model.css.control}\n id={this.model.id}\n type=\"radio\"\n name={this.model.name}\n checked={this.model.selected}\n value={this.model.value}\n disabled={this.model.readOnly}\n onChange={() => {\n this.model.onChange();\n }}\n aria-required={this.model.isRequired}\n aria-label={this.model.caption.renderedHtml}\n aria-invalid={this.model.hasErrors}\n aria-errormessage={this.model.describedBy}\n role=\"radio\"\n />\n );\n }\n protected renderCaption() {\n if (!this.model.showCaption) return null;\n let caption = this.renderLocString(this.model.caption);\n return (\n <span\n className={this.model.css.caption}\n title={this.model.caption.renderedHtml}\n >\n {caption}\n </span>\n );\n }\n}\n\n// ReactQuestionFactory.Instance.registerQuestion(\"buttongroup\", props => {\n// return React.createElement(SurveyQuestionButtonGroup, props);\n// });\n","import * as React from \"react\";\nimport { SurveyQuestionUncontrolledElement } from \"./reactquestion_element\";\nimport { SurveyQuestion } from \"./reactquestion\";\nimport { Base, QuestionCustomModel, QuestionCompositeModel } from \"survey-core\";\nimport { ReactQuestionFactory } from \"./reactquestion_factory\";\nimport { SurveyPanel } from \"./panel\";\n\nexport class SurveyQuestionCustom extends SurveyQuestionUncontrolledElement<QuestionCustomModel> {\n constructor(props: any) {\n super(props);\n }\n protected getStateElements(): Array<Base> {\n const res = super.getStateElements();\n if(!!this.question.contentQuestion) {\n res.push(this.question.contentQuestion);\n }\n return res;\n }\n protected renderElement(): JSX.Element {\n return SurveyQuestion.renderQuestionBody(\n this.creator,\n this.question.contentQuestion\n );\n }\n}\n\nexport class SurveyQuestionComposite extends SurveyQuestionUncontrolledElement<QuestionCompositeModel> {\n constructor(props: any) {\n super(props);\n }\n protected canRender(): boolean {\n return !!this.question.contentPanel;\n }\n protected renderElement(): JSX.Element {\n return (\n <SurveyPanel\n element={this.question.contentPanel}\n creator={this.creator}\n survey={this.question.survey}\n ></SurveyPanel>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"custom\", (props) => {\n return React.createElement(SurveyQuestionCustom, props);\n});\nReactQuestionFactory.Instance.registerQuestion(\"composite\", (props) => {\n return React.createElement(SurveyQuestionComposite, props);\n});\n","import React from \"react\";\nimport { ListModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { SvgIcon } from \"../svg-icon/svg-icon\";\n\ninterface IListItemProps {\n model: ListModel;\n item: any;\n}\n\nexport class ListItemContent extends SurveyElementBase<IListItemProps, any> {\n get model(): ListModel {\n return this.props.model;\n }\n get item(): any {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n render(): JSX.Element | null {\n if (!this.item) return null;\n\n const content: Array<JSX.Element> = [];\n const text = this.renderLocString(this.item.locTitle, undefined, \"locString\");\n if(this.item.iconName) {\n const icon = <SvgIcon\n key={\"icon\"}\n className={this.model.cssClasses.itemIcon}\n iconName={this.item.iconName}\n size={this.item.iconSize}\n aria-label={this.item.title}\n ></SvgIcon>;\n content.push(icon);\n content.push(<span key={\"text\"}>{text}</span>);\n } else {\n content.push(text);\n }\n\n if(this.item.markerIconName) {\n const icon = <SvgIcon\n key={\"marker\"}\n className={this.item.cssClasses.itemMarkerIcon}\n iconName={this.item.markerIconName}\n size={this.item.markerIconSize}\n ></SvgIcon>;\n content.push(icon);\n }\n\n return <>\n {content}\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-list-item-content\", (props) => {\n return React.createElement(ListItemContent, props);\n});\n","import React from \"react\";\nimport { ListModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyElementBase } from \"../../reactquestion_element\";\nimport { Popup } from \"../popup/popup\";\n\ninterface IListItemProps {\n model: ListModel;\n item: any;\n}\n\nexport class ListItemGroup extends SurveyElementBase<IListItemProps, any> {\n get model(): ListModel {\n return this.props.model;\n }\n get item(): any {\n return this.props.item;\n }\n getStateElement() {\n return this.item;\n }\n render(): JSX.Element | null {\n if (!this.item) return null;\n\n const newElement = ReactElementFactory.Instance.createElement(\"sv-list-item-content\", { item: this.item, key: \"content\" + this.item.id, model: this.model });\n return <>\n {newElement}\n <Popup model={this.item?.popupModel}></Popup>\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-list-item-group\", (props) => {\n return React.createElement(ListItemGroup, props);\n});\n","import React from \"react\";\nimport { SurveyModel } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\n\ninterface ILogoImageProps {\n data: SurveyModel;\n}\n\nexport class LogoImage extends React.Component<ILogoImageProps, any> {\n constructor(props: ILogoImageProps) {\n super(props);\n }\n private get survey(): SurveyModel {\n return this.props.data;\n }\n public render() {\n const content: JSX.Element[] = [];\n content.push(\n <div key={\"logo-image\"} className={this.survey.logoClassNames}>\n <img\n className={this.survey.css.logoImage}\n src={this.survey.locLogo.renderedHtml}\n alt={this.survey.locTitle.renderedHtml}\n width={this.survey.renderedLogoWidth}\n height={this.survey.renderedLogoHeight}\n style={{ objectFit: this.survey.logoFit as any, width: this.survey.renderedStyleLogoWidth, height: this.survey.renderedStyleLogoHeight }}\n />\n </div>\n );\n return <>{content}</>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-logo-image\", (props: ILogoImageProps) => {\n return React.createElement(LogoImage, props);\n});\n","import React from \"react\";\nimport {\n MatrixDropdownRowModelBase,\n QuestionMatrixDropdownModelBase,\n} from \"survey-core\";\nimport { ReactElementFactory } from \"../../../element-factory\";\nimport { ReactSurveyElement } from \"../../../reactquestion_element\";\n\nexport class SurveyQuestionMatrixDynamicRemoveButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnRowRemoveClick = this.handleOnRowRemoveClick.bind(this);\n }\n private get question(): QuestionMatrixDropdownModelBase {\n return this.props.item.data.question;\n }\n private get row(): MatrixDropdownRowModelBase {\n return this.props.item.data.row;\n }\n handleOnRowRemoveClick(event: any) {\n this.question.removeRowUI(this.row);\n }\n protected renderElement(): JSX.Element {\n var removeRowText = this.renderLocString(this.question.locRemoveRowText);\n return (\n <button\n className={this.question.getRemoveRowButtonCss()}\n type=\"button\"\n onClick={this.handleOnRowRemoveClick}\n disabled={this.question.isInputReadOnly}\n >\n {removeRowText}\n <span className={this.question.cssClasses.iconRemove} />\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-remove-button\",\n (props) => {\n return React.createElement(SurveyQuestionMatrixDynamicRemoveButton, props);\n }\n);\n","import React from \"react\";\nimport { Action, MatrixDropdownRowModelBase, QuestionMatrixDropdownModelBase } from \"survey-core\";\nimport { ReactElementFactory } from \"../../../element-factory\";\nimport { ReactSurveyElement } from \"../../../reactquestion_element\";\nimport { SvgIcon } from \"../../svg-icon/svg-icon\";\n\nexport class SurveyQuestionMatrixDetailButton extends ReactSurveyElement {\n constructor(props: any) {\n super(props);\n this.handleOnShowHideClick = this.handleOnShowHideClick.bind(this);\n }\n protected getStateElement() {\n return this.props.item;\n }\n get item(): Action {\n return this.props.item;\n }\n private get question(): QuestionMatrixDropdownModelBase {\n return this.props.item.data.question;\n }\n private get row(): MatrixDropdownRowModelBase {\n return this.props.item.data.row;\n }\n handleOnShowHideClick(event: any) {\n this.row.showHideDetailPanelClick();\n }\n protected renderElement(): JSX.Element {\n var isExpanded = this.row.isDetailPanelShowing;\n var ariaExpanded = isExpanded;\n var ariaControls = isExpanded ? this.row.detailPanelId : undefined;\n return (\n <button\n type=\"button\"\n onClick={this.handleOnShowHideClick}\n className={this.question.getDetailPanelButtonCss(this.row)}\n aria-expanded={ariaExpanded}\n aria-controls={ariaControls}\n >\n <SvgIcon\n className={this.question.getDetailPanelIconCss(this.row)}\n iconName={this.question.getDetailPanelIconId(this.row)}\n size={\"auto\"}\n >\n </SvgIcon>\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-matrix-detail-button\",\n props => {\n return React.createElement(SurveyQuestionMatrixDetailButton, props);\n }\n);\n","import React from \"react\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { SurveyQuestionPanelDynamicAction } from \"./paneldynamic-add-btn\";\n\nexport class SurveyQuestionPanelDynamicRemoveButton extends SurveyQuestionPanelDynamicAction {\n protected handleClick = (event: any) => {\n this.question.removePanelUI(this.data.panel);\n }\n protected renderElement(): JSX.Element {\n const btnText = this.renderLocString(this.question.locPanelRemoveText);\n const id = this.question.getPanelRemoveButtonId(this.data.panel);\n return (\n <button id={id}\n className={this.question.getPanelRemoveButtonCss()}\n onClick={this.handleClick}\n type=\"button\">\n <span\n className={this.question.cssClasses.buttonRemoveText}\n >{btnText}</span>\n <span\n className={this.question.cssClasses.iconRemove}\n ></span>\n </button>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-paneldynamic-remove-btn\",\n (props) => {\n return React.createElement(SurveyQuestionPanelDynamicRemoveButton, props);\n }\n);\n","import React from \"react\";\nimport { Action } from \"survey-core\";\nimport { ReactElementFactory } from \"../../element-factory\";\nimport { ReactSurveyElement } from \"../../reactquestion_element\";\n\nexport class SurveyNavigationButton extends ReactSurveyElement {\n protected get item(): Action {\n return this.props.item;\n }\n protected canRender(): boolean {\n return this.item.isVisible;\n }\n protected renderElement(): JSX.Element {\n return (\n <input\n className={this.item.innerCss}\n type=\"button\"\n disabled={this.item.disabled}\n onMouseDown={this.item.data && this.item.data.mouseDown}\n onClick={this.item.action}\n title={this.item.getTooltip()}\n value={this.item.title}\n />\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"sv-nav-btn\",\n (props) => {\n return React.createElement(SurveyNavigationButton, props);\n }\n);","import React from \"react\";\r\nimport { LocalizableString } from \"survey-core\";\r\nimport { ReactElementFactory } from \"./element-factory\";\r\n\r\nexport class SurveyLocStringViewer extends React.Component<any, any> {\r\n constructor(props: any) {\r\n super(props);\r\n this.rootRef = React.createRef();\r\n }\r\n private rootRef: React.RefObject<HTMLSpanElement>;\r\n private get locStr(): LocalizableString {\r\n return this.props.locStr;\r\n }\r\n private get style(): any {\r\n return this.props.style;\r\n }\r\n componentDidMount() {\r\n this.reactOnStrChanged();\r\n }\r\n componentWillUnmount() {\r\n if (!this.locStr) return;\r\n this.locStr.onStringChanged.remove(this.onChangedHandler);\r\n }\r\n componentDidUpdate(prevProps: any, prevState: any) {\r\n if(!!prevProps.locStr) {\r\n prevProps.locStr.onStringChanged.remove(this.onChangedHandler);\r\n }\r\n this.reactOnStrChanged();\r\n }\r\n private isRendering: boolean;\r\n private onChangedHandler = (sender: any, options: any) => {\r\n if(this.isRendering) return;\r\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\r\n }\r\n private reactOnStrChanged() {\r\n if (!this.locStr) return;\r\n this.locStr.onStringChanged.add(this.onChangedHandler);\r\n }\r\n render(): JSX.Element | null {\r\n if (!this.locStr) return null;\r\n this.isRendering = true;\r\n const strEl = this.renderString();\r\n this.isRendering = false;\r\n return strEl;\r\n }\r\n protected renderString(): JSX.Element {\r\n const className = this.locStr.allowLineBreaks ? \"sv-string-viewer sv-string-viewer--multiline\" : \"sv-string-viewer\";\r\n if (this.locStr.hasHtml) {\r\n let htmlValue = { __html: this.locStr.renderedHtml };\r\n return <span ref={this.rootRef} className={className} style={this.style} dangerouslySetInnerHTML={htmlValue} />;\r\n }\r\n return <span ref={this.rootRef} className={className} style={this.style}>{this.locStr.renderedHtml}</span>;\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\r\n LocalizableString.defaultRenderer,\r\n (props) => {\r\n return React.createElement(SurveyLocStringViewer, props);\r\n }\r\n);\r\n","import React from \"react\";\nimport { SurveyError } from \"survey-core\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { SurveyLocStringViewer } from \"../string-viewer\";\n\nexport interface IQuestionErrorComponentProps {\n error: SurveyError;\n cssClasses: any;\n element: any;\n}\n\nexport class QuestionErrorComponent extends React.Component<IQuestionErrorComponentProps, any> {\n render(): JSX.Element | null {\n return (\n <div>\n <span className={this.props.cssClasses.error.icon || undefined} aria-hidden=\"true\" />\n <span className={this.props.cssClasses.error.item || undefined}>\n <SurveyLocStringViewer locStr={this.props.error.locText} />\n </span>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-question-error\", (props) => {\n return React.createElement(QuestionErrorComponent, props);\n});","import React from \"react\";\nimport { ReactElementFactory } from \"../element-factory\";\n\nexport class Skeleton extends React.Component<any, any> {\n render(): JSX.Element {\n return (\n <div className=\"sv-skeleton-element\" id={this.props.element?.id} style={{ height: this.props.element?.skeletonHeight }}>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-skeleton\", (props: any) => {\n return React.createElement(Skeleton, props);\n});\n","import React from \"react\";\nimport { Base, SurveyModel, Cover, CoverCell } from \"survey-core\";\nimport { SurveyElementBase } from \"../reactquestion_element\";\nimport { ReactElementFactory } from \"../element-factory\";\nimport { TitleElement } from \"./title/title-element\";\n\nexport interface ILayoutElementProps<T = Base> {\n survey: SurveyModel;\n model: T;\n}\n\nexport class HeaderMobile extends React.Component<any, any> {\n get model(): Cover {\n return this.props.model;\n }\n private renderLogoImage(): JSX.Element | null {\n const componentName: string = this.model.survey.getElementWrapperComponentName(\n this.model.survey,\n \"logo-image\"\n );\n const componentData: any = this.model.survey.getElementWrapperComponentData(\n this.model.survey,\n \"logo-image\"\n );\n return ReactElementFactory.Instance.createElement(componentName, {\n data: componentData,\n });\n }\n\n render(): JSX.Element | null {\n return (<div className=\"sv-header--mobile\">\n {this.model.survey.hasLogo ? (<div className=\"sv-header__logo\">\n {this.renderLogoImage()}\n </div>) : null}\n {this.model.survey.hasTitle ? (<div className=\"sv-header__title\" style={{ maxWidth: this.model.textAreaWidth }}>\n {/* {ReactElementFactory.Instance.createElement(\"survey-element-title\", { element: this.model.survey })} */}\n <TitleElement element={this.model.survey}/>\n </div>) : null}\n {this.model.survey.renderedHasDescription ? (<div className=\"sv-header__description\" style={{ maxWidth: this.model.textAreaWidth }}>\n <div className={this.model.survey.css.description}>\n {SurveyElementBase.renderLocString(this.model.survey.locDescription)}\n </div>\n </div>) : null}\n </div>);\n }\n}\n\nexport class HeaderCell extends React.Component<any, any> {\n get model(): CoverCell {\n return this.props.model;\n }\n private renderLogoImage(): JSX.Element | null {\n const componentName: string = this.model.survey.getElementWrapperComponentName(\n this.model.survey,\n \"logo-image\"\n );\n const componentData: any = this.model.survey.getElementWrapperComponentData(\n this.model.survey,\n \"logo-image\"\n );\n return ReactElementFactory.Instance.createElement(componentName, {\n data: componentData,\n });\n }\n\n render(): JSX.Element | null {\n return (<div className={this.model.css} style={this.model.style}>\n <div className=\"sv-header__cell-content\" style={this.model.contentStyle}>\n {this.model.showLogo ? (<div className=\"sv-header__logo\">\n {this.renderLogoImage()}\n </div>) : null}\n {this.model.showTitle ? (<div className=\"sv-header__title\" style={{ maxWidth: this.model.textAreaWidth }}>\n {/* {ReactElementFactory.Instance.createElement(\"survey-element-title\", { element: this.model.survey })} */}\n <TitleElement element={this.model.survey}/>\n </div>) : null}\n {this.model.showDescription ? (<div className=\"sv-header__description\" style={{ maxWidth: this.model.textAreaWidth }}>\n <div className={this.model.survey.css.description}>\n {SurveyElementBase.renderLocString(this.model.survey.locDescription)}\n </div>\n </div>) : null}\n </div>\n </div>);\n }\n}\n\nexport class Header extends SurveyElementBase<ILayoutElementProps<Cover>, any> {\n get model(): Cover {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): JSX.Element | null {\n this.model.survey = this.props.survey;\n\n if(!(this.props.survey.headerView === \"advanced\")) {\n return null;\n }\n\n let headerContent: JSX.Element | null = null;\n if(this.props.survey.isMobile) {\n headerContent = <HeaderMobile model={this.model}/>;\n } else {\n headerContent = (<div className={this.model.contentClasses} style={{ maxWidth: this.model.maxWidth }}>\n {this.model.cells.map((cell, index) => <HeaderCell key={index} model={cell}/>)}\n </div>);\n }\n\n return (\n <div className={this.model.headerClasses} style={{ height: this.model.renderedHeight }}>\n {this.model.backgroundImage ? <div style={this.model.backgroundImageStyle} className={this.model.backgroundImageClasses}></div> : null}\n {headerContent}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sv-header\", (props) => {\n return React.createElement(Header, props);\n});","import React from \"react\";\r\nimport { LocalizableString } from \"survey-core\";\r\nimport { ReactElementFactory } from \"./element-factory\";\r\n\r\nexport class SurveyLocStringEditor extends React.Component<any, any> {\r\n constructor(props: any) {\r\n super(props);\r\n this.state = { changed: 0 };\r\n }\r\n private get locStr(): LocalizableString {\r\n return this.props.locStr;\r\n }\r\n private get style(): any {\r\n return this.props.style;\r\n }\r\n componentDidMount() {\r\n if (!this.locStr) return;\r\n var self = this;\r\n this.locStr.onChanged = function () {\r\n self.setState({ changed: self.state.changed + 1 });\r\n };\r\n }\r\n componentWillUnmount() {\r\n if (!this.locStr) return;\r\n this.locStr.onChanged = function () {};\r\n }\r\n onInput = (event: any) => {\r\n this.locStr.text = event.target.innerText;\r\n };\r\n onClick = (event: any) => {\r\n event.preventDefault();\r\n event.stopPropagation();\r\n };\r\n render(): JSX.Element | null {\r\n if (!this.locStr) {\r\n return null;\r\n }\r\n if (this.locStr.hasHtml) {\r\n const htmlValue = { __html: this.locStr.renderedHtml };\r\n return (\r\n <span\r\n className=\"sv-string-editor\"\r\n contentEditable=\"true\"\r\n suppressContentEditableWarning={true}\r\n style={this.style}\r\n dangerouslySetInnerHTML={htmlValue}\r\n onBlur={this.onInput}\r\n onClick={this.onClick}\r\n />\r\n );\r\n }\r\n return (\r\n <span\r\n className=\"sv-string-editor\"\r\n contentEditable=\"true\"\r\n suppressContentEditableWarning={true}\r\n style={this.style}\r\n onBlur={this.onInput}\r\n onClick={this.onClick}\r\n >\r\n {this.locStr.renderedHtml}\r\n </span>\r\n );\r\n }\r\n}\r\n\r\nReactElementFactory.Instance.registerElement(\r\n LocalizableString.editableRenderer,\r\n (props) => {\r\n return React.createElement(SurveyLocStringEditor, props);\r\n }\r\n);\r\n","// react\nexport { Survey, attachKey2click } from \"../src/reactSurvey\";\nexport { ReactSurveyElementsWrapper } from \"../src/reactsurveymodel\";\nexport { SurveyNavigationBase } from \"../src/reactSurveyNavigationBase\";\nexport { SurveyTimerPanel } from \"../src/reacttimerpanel\";\nexport { SurveyPage } from \"../src/page\";\nexport { SurveyRow } from \"../src/row\";\nexport { SurveyPanel } from \"../src/panel\";\nexport { SurveyFlowPanel } from \"../src/flow-panel\";\nexport {\n SurveyQuestion,\n SurveyElementErrors,\n SurveyQuestionAndErrorsCell,\n} from \"../src/reactquestion\";\nexport type {\n ISurveyCreator\n} from \"../src/reactquestion\";\nexport {\n ReactSurveyElement,\n SurveyElementBase,\n SurveyQuestionElementBase,\n} from \"../src/reactquestion_element\";\nexport {\n SurveyQuestionCommentItem,\n SurveyQuestionComment,\n} from \"../src/reactquestion_comment\";\nexport {\n SurveyQuestionCheckbox,\n SurveyQuestionCheckboxItem,\n} from \"../src/reactquestion_checkbox\";\nexport {\n SurveyQuestionRanking,\n SurveyQuestionRankingItem,\n SurveyQuestionRankingItemContent\n} from \"../src/reactquestion_ranking\";\n\nexport { RatingItem } from \"../src/components/rating/rating-item\";\nexport { RatingItemStar } from \"../src/components/rating/rating-item-star\";\nexport { RatingItemSmiley } from \"../src/components/rating/rating-item-smiley\";\nexport { RatingDropdownItem } from \"../src/components/rating/rating-dropdown-item\";\n\nexport { TagboxFilterString } from \"../src/tagbox-filter\";\nexport { SurveyQuestionOptionItem } from \"../src/dropdown-item\";\nexport { SurveyQuestionDropdownBase } from \"../src/dropdown-base\";\nexport { SurveyQuestionDropdown } from \"../src/reactquestion_dropdown\";\nexport { SurveyQuestionTagboxItem } from \"../src/tagbox-item\";\nexport { SurveyQuestionTagbox } from \"../src/reactquestion_tagbox\";\nexport { SurveyQuestionDropdownSelect } from \"../src/dropdown-select\";\nexport {\n SurveyQuestionMatrix,\n SurveyQuestionMatrixRow,\n SurveyQuestionMatrixCell\n} from \"../src/reactquestion_matrix\";\nexport { SurveyQuestionHtml } from \"../src/reactquestion_html\";\nexport { SurveyQuestionFile } from \"../src/reactquestion_file\";\nexport { SurveyFileChooseButton } from \"../src/components/file/file-choose-button\";\nexport { SurveyFilePreview } from \"../src/components/file/file-preview\";\nexport { SurveyQuestionMultipleText } from \"../src/reactquestion_multipletext\";\nexport { SurveyQuestionRadiogroup, SurveyQuestionRadioItem } from \"../src/reactquestion_radiogroup\";\nexport { SurveyQuestionText } from \"../src/reactquestion_text\";\nexport { SurveyQuestionBoolean } from \"../src/boolean\";\nexport { SurveyQuestionBooleanCheckbox } from \"../src/boolean-checkbox\";\nexport { SurveyQuestionBooleanRadio } from \"../src/boolean-radio\";\nexport { SurveyQuestionEmpty } from \"../src/reactquestion_empty\";\nexport { SurveyQuestionMatrixDropdownCell, SurveyQuestionMatrixDropdownBase } from \"../src/reactquestion_matrixdropdownbase\";\nexport { SurveyQuestionMatrixDropdown } from \"../src/reactquestion_matrixdropdown\";\nexport { SurveyQuestionMatrixDynamic, SurveyQuestionMatrixDynamicAddButton } from \"../src/reactquestion_matrixdynamic\";\nexport { SurveyQuestionPanelDynamic } from \"../src/reactquestion_paneldynamic\";\nexport { SurveyProgress } from \"../src/progress\";\nexport { SurveyProgressButtons } from \"../src/progressButtons\";\nexport { SurveyProgressToc } from \"../src/progressToc\";\nexport { SurveyQuestionRating } from \"../src/reactquestion_rating\";\nexport { SurveyQuestionRatingDropdown } from \"../src/rating-dropdown\";\nexport { SurveyQuestionExpression } from \"../src/reactquestion_expression\";\nexport { PopupSurvey, SurveyWindow } from \"../src/react-popup-survey\";\nexport { ReactQuestionFactory } from \"../src/reactquestion_factory\";\nexport { ReactElementFactory } from \"../src/element-factory\";\nexport { SurveyQuestionImagePicker } from \"../src/imagepicker\";\nexport { SurveyQuestionImage } from \"../src/image\";\nexport { SurveyQuestionSignaturePad } from \"../src/signaturepad\";\nexport { SurveyQuestionButtonGroup } from \"../src/reactquestion_buttongroup\";\nexport { SurveyQuestionCustom, SurveyQuestionComposite } from \"../src/reactquestion_custom\";\n\nexport { Popup } from \"../src/components/popup/popup\";\nexport { ListItemContent } from \"../src/components/list/list-item-content\";\nexport { ListItemGroup } from \"../src/components/list/list-item-group\";\nexport { List } from \"../src/components/list/list\";\nexport { TitleActions } from \"../src/components/title/title-actions\";\nexport { TitleElement } from \"../src/components/title/title-element\";\nexport { SurveyActionBar } from \"../src/components/action-bar/action-bar\";\nexport { LogoImage } from \"../src/components/survey-header/logo-image\";\nexport { SurveyHeader } from \"../src/components/survey-header/survey-header\";\nexport { SvgIcon } from \"../src/components/svg-icon/svg-icon\";\nexport { SurveyQuestionMatrixDynamicRemoveButton } from \"../src/components/matrix-actions/remove-button/remove-button\";\nexport { SurveyQuestionMatrixDetailButton } from \"../src/components/matrix-actions/detail-button/detail-button\";\nexport { SurveyQuestionMatrixDynamicDragDropIcon } from \"../src/components/matrix-actions/drag-drop-icon/drag-drop-icon\";\nexport { SurveyQuestionPanelDynamicAddButton } from \"../src/components/paneldynamic-actions/paneldynamic-add-btn\";\nexport { SurveyQuestionPanelDynamicRemoveButton } from \"../src/components/paneldynamic-actions/paneldynamic-remove-btn\";\nexport { SurveyQuestionPanelDynamicPrevButton } from \"../src/components/paneldynamic-actions/paneldynamic-prev-btn\";\nexport { SurveyQuestionPanelDynamicNextButton } from \"../src/components/paneldynamic-actions/paneldynamic-next-btn\";\nexport { SurveyQuestionPanelDynamicProgressText } from \"../src/components/paneldynamic-actions/paneldynamic-progress-text\";\nexport { SurveyNavigationButton } from \"../src/components/survey-actions/survey-nav-button\";\nexport { QuestionErrorComponent } from \"../src/components/question-error\";\n\nexport { MatrixRow } from \"../src/components/matrix/row\";\nexport { Skeleton } from \"../src/components/skeleton\";\nexport { NotifierComponent } from \"../src/components/notifier\";\nexport { ComponentsContainer } from \"../src/components/components-container\";\nexport { CharacterCounterComponent } from \"../src/components/character-counter\";\nexport * from \"../src/components/header\";\n\nexport { SurveyLocStringViewer } from \"../src/string-viewer\";\nexport { SurveyLocStringEditor } from \"../src/string-editor\";\nexport { LoadingIndicatorComponent } from \"../src/components/loading-indicator\";\n\nexport { SvgBundleComponent } from \"../src/svgbundle\";\nexport { PopupModal } from \"../src/components/popup/popup-modal\";\n\n//Uncomment to include the \"date\" question type.\n//export {default as SurveyQuestionDate} from \"../plugins/react/reactquestiondate\";\n","import { checkLibraryVersion } from \"survey-core\";\n\nexport * from \"../../packages/survey-react-ui/entries/react-ui-model\";\nexport { SurveyModel, SurveyWindowModel, SurveyModel as Model, settings, ISurveyEnvironment, surveyLocalization, surveyStrings } from \"survey-core\";\n\ncheckLibraryVersion(`${process.env.VERSION}`, \"survey-react-ui\");","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;"],"sourceRoot":""}