survey-creator-react 2.5.13 → 3.0.0-beta.0

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,"file":"survey-creator-react.js","mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;ACV+B;AACe;AACsD;AAYpG;IAAkC,uEAA0C;IAA5E;;IA6DA,CAAC;IA5DC,oCAAa,GAAb;QACE,IAAM,OAAO,GAAG,IAAI,wDAAe,EAAE;aAClC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;aAC1B,MAAM,CAAC,mBAAmB,CAAC;aAC3B,MAAM,CAAC,6BAA6B,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC5D,MAAM,CAAC,6BAA6B,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC5D,QAAQ,EAAE,CAAC;QACd,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YACxB,OAAO,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAClC,CAAC;QACD,OAAO,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxC,CAAC;IAED,uCAAgB,GAAhB,UAAiB,OAAO;QAAxB,iBAuBC;QAtBC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;YACxB,OAAO,2DAAM,SAAS,EAAE,OAAO,IAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAQ,CAAC;QAC5D,CAAC;QACD,OAAO,CACL,oGACG,gEAAe,CACd,2DACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,UAAC,CAAC;gBACT,IAAI,CAAC,KAAI,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC;oBA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AAiB,GA+BjD;;AAED,gEAAmB,CAAC,QAAQ,CAAC,eAAe,CAAC,kBAAkB,EAAE,UAAC,KAAK;IACrE,OAAO,gDAAmB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC,CAAC,CAAC;;;;;;;;;;;AC9CH,mD;;;;;;;;;;ACAA,uD;;;;;;;;;;ACAA,yD;;;;;;;;;;ACAA,iE;;;;;;;;;;ACAA,6D;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN2B;AACsB","sources":["webpack://SurveyCreator/webpack/universalModuleDefinition","webpack://SurveyCreator/./src/ActionButton.tsx","webpack://SurveyCreator/./src/AddQuestionButton.tsx","webpack://SurveyCreator/./src/ImageItemValueWrapper.tsx","webpack://SurveyCreator/./src/ItemValueWrapper.tsx","webpack://SurveyCreator/./src/LogoImage.tsx","webpack://SurveyCreator/./src/MatrixCellWrapper.tsx","webpack://SurveyCreator/./src/ModelElement.tsx","webpack://SurveyCreator/./src/Navigation.tsx","webpack://SurveyCreator/./src/PageNavigator.tsx","webpack://SurveyCreator/./src/QuestionEditorContent.tsx","webpack://SurveyCreator/./src/QuestionEmbeddedSurvey.tsx","webpack://SurveyCreator/./src/QuestionError.tsx","webpack://SurveyCreator/./src/QuestionLinkValue.tsx","webpack://SurveyCreator/./src/Results.tsx","webpack://SurveyCreator/./src/StringEditor.tsx","webpack://SurveyCreator/./src/SurveyCreator.tsx","webpack://SurveyCreator/./src/Switcher.tsx","webpack://SurveyCreator/./src/TabbedMenu.tsx","webpack://SurveyCreator/./src/adorners/CellQuestion.tsx","webpack://SurveyCreator/./src/adorners/CellQuestionDropdown.tsx","webpack://SurveyCreator/./src/adorners/Page.tsx","webpack://SurveyCreator/./src/adorners/Panel.tsx","webpack://SurveyCreator/./src/adorners/Question.tsx","webpack://SurveyCreator/./src/adorners/QuestionBanner.tsx","webpack://SurveyCreator/./src/adorners/QuestionDropdown.tsx","webpack://SurveyCreator/./src/adorners/QuestionFooter.tsx","webpack://SurveyCreator/./src/adorners/QuestionHeader.tsx","webpack://SurveyCreator/./src/adorners/QuestionImage.tsx","webpack://SurveyCreator/./src/adorners/QuestionRating.tsx","webpack://SurveyCreator/./src/adorners/QuestionWidget.tsx","webpack://SurveyCreator/./src/adorners/Row.tsx","webpack://SurveyCreator/./src/components/ComponentContainer.tsx","webpack://SurveyCreator/./src/components/Search.tsx","webpack://SurveyCreator/./src/components/SurfacePlaceholder.tsx","webpack://SurveyCreator/./src/custom-questions/BooleanSwitch.tsx","webpack://SurveyCreator/./src/custom-questions/ColorItem.tsx","webpack://SurveyCreator/./src/custom-questions/ColorQuestion.tsx","webpack://SurveyCreator/./src/custom-questions/FileEditQuestion.tsx","webpack://SurveyCreator/./src/custom-questions/SpinEditor.tsx","webpack://SurveyCreator/./src/custom-questions/TextWithResetQuestion.tsx","webpack://SurveyCreator/./src/entries/helpers.ts","webpack://SurveyCreator/./src/entries/index-wc.ts","webpack://SurveyCreator/./src/events.ts","webpack://SurveyCreator/./src/side-bar/ObjectSelector.tsx","webpack://SurveyCreator/./src/side-bar/PropertyGrid.tsx","webpack://SurveyCreator/./src/side-bar/PropertyGridPlaceholder.tsx","webpack://SurveyCreator/./src/side-bar/SideBar.tsx","webpack://SurveyCreator/./src/side-bar/SideBarDefaultHeader.tsx","webpack://SurveyCreator/./src/side-bar/SideBarHeader.tsx","webpack://SurveyCreator/./src/side-bar/SideBarPropertyGridHeader.tsx","webpack://SurveyCreator/./src/side-bar/TabButton.tsx","webpack://SurveyCreator/./src/side-bar/TabControl.tsx","webpack://SurveyCreator/./src/tabs/Designer.tsx","webpack://SurveyCreator/./src/tabs/JsonEditorAce.tsx","webpack://SurveyCreator/./src/tabs/JsonEditorTextarea.tsx","webpack://SurveyCreator/./src/tabs/JsonErrorItem.tsx","webpack://SurveyCreator/./src/tabs/Logic.tsx","webpack://SurveyCreator/./src/tabs/Preview.tsx","webpack://SurveyCreator/./src/tabs/SurveySimulator.tsx","webpack://SurveyCreator/./src/tabs/Theme.tsx","webpack://SurveyCreator/./src/tabs/logic-operator.tsx","webpack://SurveyCreator/./src/tabs/translation/TranslateFromAction.tsx","webpack://SurveyCreator/./src/tabs/translation/Translation.tsx","webpack://SurveyCreator/./src/tabs/translation/TranslationLineSkeleton.tsx","webpack://SurveyCreator/./src/toolbox/AdaptiveToolbox.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxCategory.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxItem.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxItemGroup.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxList.tsx","webpack://SurveyCreator/external umd {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","webpack://SurveyCreator/external umd {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\"}","webpack://SurveyCreator/external umd {\"root\":\"Survey\",\"commonjs2\":\"survey-core\",\"commonjs\":\"survey-core\",\"amd\":\"survey-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyCreatorCore\",\"commonjs2\":\"survey-creator-core\",\"commonjs\":\"survey-creator-core\",\"amd\":\"survey-creator-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyReact\",\"commonjs2\":\"survey-react-ui\",\"commonjs\":\"survey-react-ui\",\"amd\":\"survey-react-ui\"}","webpack://SurveyCreator/webpack/bootstrap","webpack://SurveyCreator/webpack/runtime/compat get default export","webpack://SurveyCreator/webpack/runtime/define property getters","webpack://SurveyCreator/webpack/runtime/hasOwnProperty shorthand","webpack://SurveyCreator/webpack/runtime/make namespace object","webpack://SurveyCreator/./src/entries/index.ts"],"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\"), require(\"survey-creator-core\"), require(\"survey-react-ui\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"survey-creator-react\", [\"react\", \"react-dom\", \"survey-core\", \"survey-creator-core\", \"survey-react-ui\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"survey-creator-react\"] = factory(require(\"react\"), require(\"react-dom\"), require(\"survey-core\"), require(\"survey-creator-core\"), require(\"survey-react-ui\"));\n\telse\n\t\troot[\"SurveyCreator\"] = factory(root[\"React\"], root[\"ReactDOM\"], root[\"Survey\"], root[\"SurveyCreatorCore\"], root[\"SurveyReact\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_survey_core__, __WEBPACK_EXTERNAL_MODULE_survey_creator_core__, __WEBPACK_EXTERNAL_MODULE_survey_react_ui__) => {\nreturn ","import * as React from \"react\";\nimport { CssClassBuilder } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon, } from \"survey-react-ui\";\n\ninterface IActionButtonProps {\n classes?;\n click: () => void;\n selected?: boolean;\n disabled?: boolean;\n text?: string;\n title?: string;\n iconName?: string;\n allowBubble?: boolean;\n}\nexport class ActionButton extends SurveyElementBase<IActionButtonProps, any> {\n renderElement(): React.JSX.Element {\n const classes = new CssClassBuilder()\n .append(this.props.classes)\n .append(\"svc-action-button\")\n .append(\"svc-action-button--selected\", !!this.props.selected)\n .append(\"svc-action-button--disabled\", !!this.props.disabled)\n .toString();\n if (this.props.iconName) {\n return this.renderIcon(classes);\n }\n return this.renderButtonText(classes);\n }\n\n renderButtonText(classes): React.JSX.Element {\n if (this.props.disabled) {\n return <span className={classes}>{this.props.text}</span>;\n }\n return (\n <>\n {attachKey2click(\n <span\n role=\"button\"\n className={classes}\n onClick={(e) => {\n if (!this.props.allowBubble) {\n e.stopPropagation();\n }\n this.props.click();\n }}\n title={this.props.title}\n >\n {this.props.text}\n </span>\n )}\n </>\n );\n }\n renderIcon(classes): React.JSX.Element {\n classes += \" svc-action-button--icon\";\n if (this.props.disabled) {\n return <span className={classes}><SvgIcon size={\"auto\"} iconName={this.props.iconName}></SvgIcon></span>;\n }\n return (\n <>\n {attachKey2click(\n <span className={classes}\n onClick={(e) => {\n if (!this.props.allowBubble) {\n e.stopPropagation();\n }\n this.props.click();\n }}\n title={this.props.title}\n >\n <SvgIcon size={\"auto\"} iconName={this.props.iconName}></SvgIcon>\n </span>\n )}\n </>\n );\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-action-button\", (props: any) => { return React.createElement(ActionButton, props); });","import * as React from \"react\";\nimport { Action, Base, IAction, PageModel, SurveyModel } from \"survey-core\";\nimport {\n attachKey2click,\n Popup,\n SurveyActionBar,\n ReactElementFactory,\n SurveyPage,\n SvgIcon,\n SurveyElementBase\n} from \"survey-react-ui\";\nimport { ReactMouseEvent } from \"./events\";\n\nexport class AddQuestionButtonComponent extends SurveyElementBase<{ item: Action, buttonClass?: string, renderPopup?: boolean }, any> {\n public get model() {\n return this.props.item.data;\n }\n protected renderTypeSelector(): React.JSX.Element {\n const questionTypeSelectorModel = this.model.questionTypeSelectorModel;\n return attachKey2click(<button\n type=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n questionTypeSelectorModel.action();\n }}\n className=\"svc-element__question-type-selector\"\n title={this.model.addNewQuestionText}\n role=\"button\"\n >\n <span className=\"svc-element__question-type-selector-icon\">\n <SvgIcon\n iconName={questionTypeSelectorModel.iconName}\n size={\"auto\"}\n title={this.model.addNewQuestionText}\n ></SvgIcon>\n </span>\n {this.props.renderPopup === undefined || this.props.renderPopup ?\n <Popup model={questionTypeSelectorModel.popupModel}></Popup>\n : null}\n </button>);\n }\n protected renderElement(): React.JSX.Element {\n const addButtonClass = this.props.buttonClass || \"svc-btn\";\n return <>\n {attachKey2click(<div\n className={\"svc-element__add-new-question \" + addButtonClass}\n onClick={(e) => {\n e.stopPropagation();\n this.model.addNewQuestion(this.model, new ReactMouseEvent(e));\n }}\n onMouseOver={(e) => this.model.hoverStopper && this.model.hoverStopper(e.nativeEvent, e.currentTarget)}\n >\n <SvgIcon\n className={\"svc-panel__add-new-question-icon\"}\n iconName={\"icon-add_24x24\"}\n size={\"auto\"}\n ></SvgIcon>\n <span className=\"svc-add-new-item-button__text\">\n {this.model.addNewQuestionText}\n </span>\n {this.props.renderPopup !== false ? this.renderTypeSelector() : null}\n </div>)}\n {this.props.renderPopup === false ? this.renderTypeSelector() : null}\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-add-new-question-btn\", (props) => {\n return React.createElement(AddQuestionButtonComponent, props);\n});","import { ImageItemValueWrapperViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { QuestionSelectBase, Base, ImageItemValue, QuestionImagePickerModel } from \"survey-core\";\nimport { LoadingIndicatorComponent, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport {\n attachKey2click,\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ImageItemValueAdornerComponentProps {\n element: React.JSX.Element;\n componentData: any;\n question: QuestionSelectBase;\n item: ImageItemValue;\n}\n\nexport class ImageItemValueAdornerComponent extends CreatorModelElement<\n ImageItemValueAdornerComponentProps,\n any\n> {\n model: ImageItemValueWrapperViewModel;\n private rootRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: ImageItemValueAdornerComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n this.model = new ImageItemValueWrapperViewModel(\n props.componentData.creator,\n props.question,\n props.item,\n null,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"item\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n protected get question(): QuestionImagePickerModel {\n return this.props.question as QuestionImagePickerModel;\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.model.itemsRoot = this.rootRef.current;\n }\n\n componentDidUpdate(prevProps, prevState) {\n super.componentDidUpdate(prevProps, prevState);\n this.model.itemsRoot = this.rootRef.current;\n }\n\n preventDragHandler = (e) => {\n e.preventDefault();\n };\n renderLoadingIndicator() {\n return <div className=\"svc-image-item-value__loading\"><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n\n renderNewItemControls() {\n const addButton = attachKey2click(\n <span className={this.model.addButtonCss}\n onClick={() => this.model.chooseNewFile(this.model)}>\n {this.model.showChooseButtonAsIcon ?\n <SvgIcon size={\"auto\"} iconName={\"icon-add-lg\"}\n title={this.model.addFileTitle}></SvgIcon> :\n <span>{this.model.chooseImageText}</span>\n }\n </span>);\n const placeholder = this.model.showPlaceholder ? <span className=\"svc-image-item-value__placeholder\">{this.model.placeholderText}</span> : null;\n return <>\n {placeholder}\n {addButton}\n </>;\n }\n\n render(): React.JSX.Element {\n this.model.item = this.props.item;\n const isNew = !this.props.question.isItemInList(this.props.item);\n this.model.isNew = isNew;\n const imageStyle = !this.model.getIsNewItemSingle() ? { width: this.question.renderedImageWidth, height: this.question.renderedImageHeight } : null;\n\n let content = null;\n if (isNew || this.model.isUploading) {\n content = (<>\n <div className=\"svc-image-item-value__item\">\n <div className=\"sd-imagepicker__item sd-imagepicker__item--inline\">\n <label className=\"sd-imagepicker__label\">\n <div style={imageStyle} className=\"sd-imagepicker__image\">\n {this.model.isUploading ? this.renderLoadingIndicator() : null}\n </div>\n </label>\n </div>\n </div>\n\n {this.model.allowAdd && !this.model.isUploading ?\n <div className=\"svc-image-item-value-controls\">\n {this.renderNewItemControls()}\n </div>\n : null}\n </>);\n } else {\n content = (\n <>\n <div className={\"svc-image-item-value__item\"}>\n {this.props.element}\n </div>\n\n {\n this.model.isDraggable && this.model.canRenderControls ?\n <span className=\"svc-context-button svc-image-item-value-controls__drag-area-indicator\"\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-drag-24x24\"}></SvgIcon>\n </span>\n : null\n }\n\n {\n this.model.canRenderControls ?\n <div className=\"svc-context-container svc-image-item-value-controls\">\n {this.model.allowRemove && !this.model.isUploading ? attachKey2click(<span\n className=\"svc-context-button\"\n onClick={() => this.model.chooseFile(this.model)}\n >\n <SvgIcon role=\"button\" size={\"auto\"} iconName={\"icon-choosefile\"} title={this.model.selectFileTitle}></SvgIcon>\n </span>) : null}\n {this.model.allowRemove && !this.model.isUploading ? attachKey2click(<span\n className=\"svc-context-button svc-context-button--danger\"\n onClick={() => this.model.remove(this.model)}\n >\n <SvgIcon role=\"button\" size={\"auto\"} iconName={\"icon-delete\"} title={this.model.removeFileTitle}></SvgIcon>\n </span>) : null}\n </div>\n : null\n }\n </>\n );\n }\n\n return (\n <div\n ref={this.rootRef}\n className={this.model.getRootCss()}\n key={this.props.element.key}\n data-sv-drop-target-item-value={\n this.model.isDraggable ? this.model.item.value : undefined\n }\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n onDragStart={this.preventDragHandler}\n onDrop={this.model.onDrop}\n onDragEnter={this.model.onDragEnter}\n onDragOver={this.model.onDragOver}\n onDragLeave={this.model.onDragLeave}\n >\n <div className={\"svc-image-item-value-wrapper__ghost\"} style={imageStyle}></div>\n <div className={\"svc-image-item-value-wrapper__content\"}>\n <input\n type=\"file\"\n aria-hidden=\"true\"\n tabIndex={-1}\n accept={this.model.acceptedTypes}\n className=\"svc-choose-file-input\"\n style={{\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n }}\n />\n {content}\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-image-item-value\",\n (props: ImageItemValueAdornerComponentProps) => {\n return React.createElement(ImageItemValueAdornerComponent, props);\n }\n);\n","import { ItemValueWrapperViewModel, SurveyCreatorModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { QuestionSelectBase, Base, ItemValue, PanelModel, SurveyModel } from \"survey-core\";\nimport {\n attachKey2click,\n ReactElementFactory,\n SurveyPanel,\n SvgIcon\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ItemValueAdornerComponentProps {\n element: React.JSX.Element;\n componentData: any;\n question: QuestionSelectBase;\n item: ItemValue;\n}\n\nexport class ItemValueAdornerComponent extends CreatorModelElement<\n ItemValueAdornerComponentProps,\n any\n> {\n model: ItemValueWrapperViewModel;\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n this.model = new ItemValueWrapperViewModel(\n props.componentData.creator,\n props.question,\n props.item\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"item\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private onBlur = (event: any) => {\n this.model.onFocusOut(event.nativeEvent);\n };\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n this.props.item.setRootElement(this.rootRef.current);\n if (prevProps.item !== this.props.item && prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.props.item.setRootElement(this.rootRef.current);\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.props.item.setRootElement(undefined);\n }\n\n render(): React.JSX.Element {\n this.model.item = this.props.item;\n const button = this.model.allowAdd ? (\n attachKey2click(<span\n role=\"button\"\n className=\"svc-item-value-controls__button svc-item-value-controls__add\"\n aria-label={this.model.tooltip}\n onClick={() => {\n this.model.add(this.model);\n this.model.isNew = false;\n }}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-add_16x16\"} title={this.model.tooltip}></SvgIcon>\n </span>)\n ) : (\n <>\n {\" \"}\n {this.model.isDraggable ? (\n <span\n className=\"svc-item-value-controls__button svc-item-value-controls__drag\"\n >\n <SvgIcon className=\"svc-item-value-controls__drag-icon\" size={\"auto\"} iconName={\"icon-drag-24x24\"} title={this.model.dragTooltip}></SvgIcon>\n </span>\n ) : null}\n {this.model.allowRemove ? attachKey2click(<span\n role=\"button\"\n className=\"svc-item-value-controls__button svc-item-value-controls__remove\"\n aria-label={this.model.tooltip}\n onClick={() => this.model.remove(this.model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-remove_16x16\"} title={this.model.tooltip}></SvgIcon>\n </span>) : null}\n </>\n );\n\n const itemkey = this.props.element.key + (this.model.allowAdd ? \"_new\" : \"\");\n\n return (\n <>\n <div\n ref={this.rootRef}\n className={\n \"svc-item-value-wrapper\" +\n (this.model.allowAdd ? \" svc-item-value--new\" : \"\") +\n (this.model.isDragging ? \" svc-item-value--dragging\" : \"\") +\n (this.model.isDragDropGhost ? \" svc-item-value--ghost\" : \"\") +\n (this.model.isDragDropMoveDown ? \" svc-item-value--movedown\" : \"\") +\n (this.model.isDragDropMoveUp ? \" svc-item-value--moveup\" : \"\")\n }\n key={itemkey}\n data-sv-drop-target-item-value={\n this.model.isDraggable ? this.model.item.value : undefined\n }\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n >\n <div className=\"svc-item-value__ghost\"></div>\n\n <div className=\"svc-item-value-controls\" onBlur={this.onBlur}>{button}</div>\n\n <div className={\"svc-item-value__item\"} onClick={(event) => this.model.select(this.model, event.nativeEvent)}>{this.props.element}</div>\n {this.renderPanelAction()}\n </div>\n {this.renderPanel()}\n </>\n );\n }\n private renderPanelAction(): React.JSX.Element | null {\n if (!this.model.canShowPanel()) return null;\n const isShowPanel = this.model.showPanel;\n const icName = isShowPanel ? \"icon-collapsepanel-16x16\" : \"icon-expandpanel-16x16\";\n const btn = attachKey2click(<span\n role=\"button\"\n className=\"svc-item-value-controls__button svc-item-value-controls__add svc-choice-elements-button\"\n onClick={() => {\n this.model.togglePanel();\n }}\n >\n <SvgIcon size={\"auto\"} iconName={icName}></SvgIcon>\n </span>);\n return <div className=\"svc-item-value-controls svc-choice-elements-button-container\">{btn}</div>;\n }\n private renderPanel(): React.JSX.Element | null {\n if (!this.model.showPanel) return null;\n const creator = this.model.creator;\n const survey = creator.survey;\n return <ChoiceItemPanel element={this.model.item.panel} survey={survey} creator={creator} css={survey.getCss()}></ChoiceItemPanel>;\n }\n}\n\nconst ChoiceItemPanel = React.memo(({ element, survey, creator, css }: {\n element: PanelModel,\n survey: SurveyModel,\n creator: SurveyCreatorModel,\n css: any,\n}) => {\n return <SurveyPanel element={element} survey={survey} creator={creator} cssClasses={css} />;\n});\nChoiceItemPanel.displayName = \"ChoiceItemPanel\";\n\nReactElementFactory.Instance.registerElement(\n \"svc-item-value\",\n (props: ItemValueAdornerComponentProps) => {\n return React.createElement(ItemValueAdornerComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, LogoImage, SvgIcon, attachKey2click, LoadingIndicatorComponent } from \"survey-react-ui\";\nimport { SurveyCreatorModel, LogoImageViewModel } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ILogoImageComponentProps {\n data: SurveyCreatorModel;\n}\n\nexport class LogoImageComponent extends CreatorModelElement<ILogoImageComponentProps, any> {\n private model: LogoImageViewModel;\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: ILogoImageComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n let prevRoot: HTMLDivElement = null;\n if (!!this.model) {\n prevRoot = this.model.root;\n }\n this.model = new LogoImageViewModel(props.data, prevRoot);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"data\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n componentDidMount() {\n super.componentDidMount();\n this.model.root = this.rootRef.current;\n }\n renderChooseButton() {\n return attachKey2click(<span\n className=\"svc-context-button\"\n onClick={() => this.model.chooseFile(this.model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-choosefile\"}></SvgIcon>\n </span>);\n }\n renderClearButton() {\n return attachKey2click(<span\n className=\"svc-context-button svc-context-button--danger\"\n onClick={() => this.model.remove(this.model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-clear\"}></SvgIcon>\n </span>);\n }\n renderButtons() {\n return (<div className=\"svc-context-container svc-logo-image-controls\">\n {this.renderChooseButton()}\n {this.renderClearButton()}\n </div>);\n }\n renderImage() {\n return <div className={this.model.containerCss}>\n {this.renderButtons()}\n <LogoImage data={this.props.data.survey}></LogoImage>\n </div>;\n }\n renderPlaceHolder() {\n return this.model.allowEdit && !this.model.isUploading ? attachKey2click(<div className=\"svc-logo-image-placeholder\" onClick={() => this.model.chooseFile(this.model)}><svg><use xlinkHref=\"#icon-image-48x48\"></use></svg></div>) : null;\n }\n renderInput() {\n return <input aria-hidden=\"true\" type=\"file\" tabIndex={-1} accept={this.model.acceptedTypes} className=\"svc-choose-file-input\" />;\n }\n renderLoadingIndicator() {\n return <div className=\"svc-logo-image__loading\"><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n render(): React.JSX.Element {\n let content: React.JSX.Element = null;\n if (this.model.survey.locLogo.renderedHtml && !this.model.isUploading) {\n content = this.renderImage();\n } else if (this.model.isUploading) {\n content = this.renderLoadingIndicator();\n } else {\n content = this.renderPlaceHolder();\n }\n return (\n <div ref={this.rootRef} className=\"svc-logo-image\">\n {this.renderInput()}\n {content}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-logo-image\",\n (props: ILogoImageComponentProps) => {\n return React.createElement(LogoImageComponent, props);\n }\n);","import * as React from \"react\";\nimport { QuestionSelectBase, Base, ItemValue, SurveyModel } from \"survey-core\";\nimport { MatrixCellWrapperViewModel, toggleHovered } from \"survey-creator-core\";\nimport {\n attachKey2click,\n ReactElementFactory,\n SvgIcon\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface MatrixCellAdornerComponentProps {\n element: React.JSX.Element;\n componentData: any;\n question: QuestionSelectBase;\n cell: any;\n}\n\nexport class MatrixCellAdornerComponent extends CreatorModelElement<\n MatrixCellAdornerComponentProps,\n any\n> {\n model: MatrixCellWrapperViewModel;\n protected createModel(props: any): void {\n const data = props.componentData;\n let prevIsSelected = false;\n if (!!this.model) {\n prevIsSelected = this.model.isSelected;\n }\n this.model = new MatrixCellWrapperViewModel(\n data.creator,\n data.element,\n data.question,\n data.row,\n data.column || data.element.cell?.column,\n );\n this.model.isSelected = prevIsSelected;\n }\n protected getUpdatedModelProps(): string[] {\n return [\"componentData\"];\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n const data = this.props.componentData;\n this.model.templateData = data.element;\n this.model.row = data.row;\n this.model.column = data.column || data.element?.cell?.column;\n this.model.question = data.question;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n render(): React.JSX.Element {\n let controls = null;\n if (!!this.model.isSupportCellEditor) {\n controls = <div className=\"svc-matrix-cell__question-controls\">\n {attachKey2click(<span className=\"svc-matrix-cell__question-controls-button svc-context-button\" onClick={(event: any) => this.model.editQuestion(this.model, event)}>\n <SvgIcon size={\"auto\"} iconName={\"icon-edit\"}></SvgIcon>\n </span>)}\n </div>;\n }\n\n return (\n <div\n className={\"svc-matrix-cell\"}\n tabIndex={-1}\n key={this.props.element.key}\n onClick={(e: any) => !this.props.question && this.model.selectContext(this.model, e)}\n onMouseOut={e => this.model.hover(e.nativeEvent, e.currentTarget)}\n onMouseOver={e => this.model.hover(e.nativeEvent, e.currentTarget)}\n >\n <div className={\"svc-matrix-cell--selected\" + (this.model.isSelected ? \" svc-visible\" : \"\")}></div>\n\n {this.props.element}\n\n {controls}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-matrix-cell\",\n (props: MatrixCellAdornerComponentProps) => {\n return React.createElement(MatrixCellAdornerComponent, props);\n }\n);\n","import { SurveyElementBase } from \"survey-react-ui\";\n\nexport class CreatorModelElement<P, S> extends SurveyElementBase<P, S> {\n constructor(props: P) {\n super(props);\n this.createModel(props);\n }\n shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n const result = super.shouldComponentUpdate(nextProps, nextState);\n if (result) {\n if (this.needUpdateModel(nextProps)) {\n this.createModel(nextProps);\n }\n }\n return result;\n }\n protected createModel(props: any): void { }\n protected needUpdateModel(nextProps: any): boolean {\n const names = this.getUpdatedModelProps();\n if (!Array.isArray(names)) return true;\n for (var i = 0; i < names.length; i++) {\n const key = names[i];\n if (typeof key === \"object\") {\n const currentProp = this.props[key.name];\n const nextProp = nextProps[key.name];\n if (key.deepEqual) {\n if (this.props[key.name] === nextProps[key.name]) return false;\n const currentPropKeys = Object.keys(currentProp || {});\n if (currentPropKeys.length !== Object.keys(nextProp || {}).length) return true;\n return currentPropKeys.some(key => currentProp[key] != nextProp[key]);\n } else {\n return currentProp !== nextProp;\n }\n } else {\n if (this.props[key] !== nextProps[key]) return true;\n }\n }\n return false;\n }\n protected getUpdatedModelProps(): Array<string | { name: string, deepEqual?: boolean }> {\n return undefined;\n }\n}","import { SurveyModel } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\n\nexport class SurveyNavigation extends SurveyElementBase<any, any> {\n componentDidMount() {\n super.componentDidMount();\n this.setHandler();\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.setHandler();\n }\n private setHandler() {\n if (\n !this.survey ||\n this.survey.onPropertyChanged.hasFunc(this.onPropChangedHandler)\n )\n return;\n this.survey.onPropertyChanged.add(this.onPropChangedHandler);\n }\n private onPropChangedHandler = (sender: any, options: any): any => {\n if (this.isRendering) return;\n const reactiveProps = [\n \"showProgressBar\",\n \"progressBarType\",\n \"currentPageValue\"\n ];\n if (reactiveProps.indexOf(options.name) < 0) return;\n var val: any = {};\n for (var i = 0; i < reactiveProps.length; i++) {\n var propName = reactiveProps[i];\n val[propName] = this.survey[propName];\n }\n this.setState(val);\n };\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.survey) {\n this.survey.onPropertyChanged.remove(this.onPropChangedHandler);\n }\n }\n\n protected get survey(): SurveyModel {\n return this.props.survey;\n }\n protected get location(): string {\n return this.props.location;\n }\n protected get isTop(): boolean {\n return this.location == \"top\";\n }\n protected canRender(): boolean {\n return this.isTop\n ? this.survey.isShowProgressBarOnTop\n : this.survey.isShowProgressBarOnBottom;\n }\n renderElement(): React.JSX.Element {\n return ReactElementFactory.Instance.createElement(\n this.survey.getProgressTypeComponent(),\n { survey: this.survey, css: this.survey.css, isTop: this.isTop }\n );\n }\n}\n","import {\n Base,\n IAction,\n unwrap\n} from \"survey-core\";\nimport {\n SvgIcon,\n Popup,\n attachKey2click\n} from \"survey-react-ui\";\nimport { PageNavigatorViewModel, PagesController } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ISurveyPageNavigatorProps {\n pagesController: PagesController;\n pageEditMode: string;\n}\n\nexport class SurveyPageNavigator extends CreatorModelElement<\n ISurveyPageNavigatorProps,\n any\n> {\n private model: PageNavigatorViewModel;\n private containerRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: ISurveyPageNavigatorProps) {\n super(props);\n this.containerRef = React.createRef();\n }\n protected createModel(props: any): void {\n if (this.model) {\n this.model.dispose();\n }\n this.model = new PageNavigatorViewModel(\n props.pagesController,\n props.pageEditMode\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"pagesController\", \"pageEditMode\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n componentDidMount() {\n super.componentDidMount();\n if (this.props.pageEditMode !== \"bypage\") {\n const el = this.containerRef.current as HTMLDivElement;\n this.model.attachToUI(el);\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.model.stopItemsContainerHeightObserver();\n this.model.setScrollableContainer(undefined);\n }\n renderElement(): React.JSX.Element {\n let className = \"svc-page-navigator__selector svc-page-navigator__button\";\n if (this.model.isPopupOpened)\n className += \" svc-page-navigator__button--pressed\";\n return (\n <div className=\"svc-page-navigator\" ref={this.containerRef} style={{ display: this.model.visible ? \"flex\" : \"none\" }}>\n <div>\n {attachKey2click(<div\n role=\"button\"\n className={className}\n onClick={() => this.model.togglePageSelector()}\n title={this.model.pageSelectorCaption}\n >\n <SvgIcon\n className=\"svc-page-navigator__button-icon\"\n iconName={this.model.icon}\n size={\"auto\"}\n title={this.model.pageSelectorCaption}\n ></SvgIcon>\n </div>)}\n <Popup\n model={this.model.popupModel}\n //className=\"svc-page-navigator__popup\"\n ></Popup>\n </div>\n <div>\n {this.model.visibleItems.map((item) => (\n <SurveyPageNavigatorItem\n key={item.id}\n item={item}\n ></SurveyPageNavigatorItem>\n ))}\n </div>\n </div>\n );\n }\n}\nexport class SurveyPageNavigatorItem extends CreatorModelElement<any, any> {\n protected getStateElement(): Base {\n return this.props.item as Base;\n }\n renderElement(): React.JSX.Element {\n const item = this.props.item;\n let className: string = \"svc-page-navigator-item-content\";\n if (unwrap(item.active)) {\n className += \" svc-page-navigator-item--selected\";\n }\n if (unwrap(item.disabled)) {\n className += \" svc-page-navigator-item--disabled\";\n }\n return (\n <div className=\"svc-page-navigator-item\">\n {attachKey2click(<div\n role=\"button\"\n className={className}\n onClick={(e) => {\n item.action(item);\n e.stopPropagation();\n }}\n >\n <div className=\"svc-page-navigator-item__dot\" title={item.title}><div className=\"svc-page-navigator-item__dot-content\"></div></div>\n <div className=\"svc-page-navigator-item__banner\">\n <span className=\"svc-page-navigator-item__text\">{item.title}</span>\n <span className=\"svc-page-navigator-item__dot\"><span className=\"svc-page-navigator-item__dot-content\"></span></span>\n </div>\n </div>)}\n </div>\n );\n }\n}\n","import { Base, Question, SurveyError, SurveyModel } from \"survey-core\";\nimport { ISurveyCreator, ReactElementFactory, ReactQuestionFactory, SurveyQuestion } from \"survey-react-ui\";\nimport { SurveyCreatorModel } from \"survey-creator-core\";\nimport * as React from \"react\";\n\ninterface IQuestionEditorContentComponentProps {\n creator: SurveyCreatorModel;\n survey: SurveyModel;\n style: any;\n}\n\nexport class QuestionEditorContentComponent extends React.Component<\n IQuestionEditorContentComponentProps,\n any\n> implements ISurveyCreator {\n get survey() {\n return this.props.survey;\n }\n public createQuestionElement(question: Question): React.JSX.Element {\n return ReactQuestionFactory.Instance.createQuestion(\n !question.isDefaultRendering || question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(),\n {\n question: question,\n isDisplayMode: question.isInputReadOnly,\n creator: this,\n }\n );\n }\n public questionTitleLocation(): string {\n return this.survey.questionTitleLocation;\n }\n public questionErrorLocation(): string {\n return this.survey.questionErrorLocation;\n }\n renderError(key: string, error: SurveyError, cssClasses: any): React.JSX.Element {\n return null;\n }\n\n render(): React.JSX.Element {\n const question = this.survey.getAllQuestions()[0];\n return (\n <div style={this.props.style} >\n <SurveyQuestion creator={this} element={question}></SurveyQuestion>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-editor-content\",\n (props: IQuestionEditorContentComponentProps) => {\n return React.createElement(QuestionEditorContentComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { ReactQuestionFactory, SurveyPage, ISurveyCreator, SurveyQuestionElementBase } from \"survey-react-ui\";\nimport { QuestionEmbeddedSurveyModel } from \"survey-creator-core\";\n\nexport class SurveyElementEmbeddedSurvey extends SurveyQuestionElementBase {\n protected get embeddedSurvey(): QuestionEmbeddedSurveyModel {\n return (this.props.element || this.props.question) as QuestionEmbeddedSurveyModel;\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n public render(): React.JSX.Element {\n if (!this.embeddedSurvey) return null;\n const survey = this.embeddedSurvey.embeddedSurvey;\n if (!survey || !survey.currentPage) return null;\n return <SurveyPage\n survey={survey}\n page={survey.currentPage}\n css={survey.css}\n creator={this.creator}\n />;\n\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"embeddedsurvey\", (props) => {\n return React.createElement(SurveyElementEmbeddedSurvey, props);\n});\n","import * as React from \"react\";\nimport { SurveyError } from \"survey-core\";\nimport { ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { SurveyLocStringViewer } from \"survey-react-ui\";\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(): React.JSX.Element | null {\n return (\n <div>\n <SvgIcon aria-hidden=\"true\" iconName=\"icon-alert_24x24\" size=\"24\" className={this.props.cssClasses.error.icon}></SvgIcon>\n <span className={this.props.cssClasses.error.item || undefined}>\n <SurveyLocStringViewer model={this.props.error.locText} />\n </span>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-question-error\", (props) => {\n return React.createElement(QuestionErrorComponent, props);\n});","import * as React from \"react\";\nimport {\n ReactQuestionFactory,\n SurveyQuestionElementBase\n} from \"survey-react-ui\";\nimport { editorLocalization, QuestionLinkValueModel } from \"survey-creator-core\";\nimport { ActionButton } from \"./ActionButton\";\n\nexport class SurveyQuestionLinkValue extends SurveyQuestionElementBase {\n protected get question(): QuestionLinkValueModel {\n return this.questionBase as QuestionLinkValueModel;\n }\n protected renderClear(): React.JSX.Element {\n const showClear = (this.questionBase as any).showClear;\n if (!this.questionBase.isReadOnly && showClear) {\n return (\n <ActionButton\n classes={this.question.linkClearButtonCssClasses}\n click={() => this.question.doClearClick()}\n text={editorLocalization.getString(\"pe.clear\")}\n ></ActionButton>\n );\n } else {\n return null;\n }\n }\n protected renderElement(): React.JSX.Element {\n return (\n <>\n <ActionButton\n classes={this.question.linkSetButtonCssClasses}\n click={() => this.question.doLinkClick()}\n selected={this.question.isSelected}\n disabled={!this.question.isClickable}\n text={this.question.linkValueText}\n title={this.question.tooltip}\n iconName={this.question.iconName}\n ></ActionButton>\n {this.renderClear()}\n </>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"linkvalue\", (props) => {\n return React.createElement(SurveyQuestionLinkValue, props);\n});\n","import * as React from \"react\";\nimport { Base, SurveyModel } from \"survey-core\";\nimport { SurveyResultsItemModel, SurveyResultsModel } from \"survey-creator-core\";\nimport { attachKey2click, SurveyLocStringViewer, SvgIcon } from \"survey-react-ui\";\nimport { ActionButton } from \"./ActionButton\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ISurveyResultsProps {\n survey: SurveyModel;\n}\nexport class SurveyResults extends CreatorModelElement<\n ISurveyResultsProps,\n any\n> {\n model: SurveyResultsModel;\n protected createModel(props: any): void {\n if (this.props.survey) {\n this.model = new SurveyResultsModel(props.survey);\n }\n }\n protected getUpdatedModelProps(): string[] {\n return [\"survey\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n render(): React.JSX.Element {\n if (!this.model) {\n return null;\n }\n return (\n <div className=\"svd-test-results\">\n <div className=\"svd-test-results__content\">\n <div className=\"svd-test-results__header\">\n <div className=\"svd-test-results__header-text\">{this.model.surveyResultsText}</div>\n <div className=\"svd-test-results__header-types\">\n <ActionButton\n click={() => this.model.selectTableClick()}\n text={this.model.surveyResultsTableText}\n selected={this.model.isTableSelected}\n disabled={false}\n ></ActionButton>\n <ActionButton\n click={() => this.model.selectJsonClick()}\n text={this.model.surveyResultsJsonText}\n selected={this.model.isJsonSelected}\n disabled={false}\n ></ActionButton>\n </div>\n </div>\n {this.renderResultAsText()}\n {this.renderResultAsTable()}\n </div>\n </div>\n );\n }\n renderResultAsText(): React.JSX.Element {\n if (this.model.resultViewType !== \"text\") {\n return null;\n }\n return (\n <div className=\"svd-test-results__text svd-light-bg-color\">\n <div>{this.model.resultText}</div>\n </div>\n );\n }\n renderResultAsTable(): React.JSX.Element {\n if (this.model.resultViewType !== \"table\") {\n return null;\n }\n return (\n <div className=\"svd-test-results__table svd-light-bg-color\">\n <table>\n <thead>\n <tr className=\"svd-light-background-color\">\n <th key={1} className=\"svd-dark-border-color\">\n {this.model.resultsTitle}\n </th>\n <th key={2} className=\"svd-dark-border-color\">\n {this.model.resultsDisplayValue}\n </th>\n </tr>\n </thead>\n <tbody>{SurveyResults.renderRows(this.model.resultData)}</tbody>\n </table>\n </div>\n );\n }\n static renderRows(data: Array<any>): Array<React.JSX.Element> {\n const rows = [];\n for (var i = 0; i < data.length; i++) {\n rows.push(<SurveyResultsByRow key={i + 1} row={data[i]} />);\n }\n return rows;\n }\n}\n\nexport class SurveyResultsByRow extends CreatorModelElement<any, any> {\n private get row(): SurveyResultsItemModel {\n return this.props.row;\n }\n\n protected getStateElement(): Base {\n return this.row;\n }\n\n render(): React.JSX.Element {\n return (\n <>\n {attachKey2click(<tr onClick={() => this.row.toggle()}>\n <td key={1}\n style={{ paddingLeft: this.row.textMargin }}\n className=\"svd-dark-border-color\">\n\n {this.row.isNode ? (\n <span\n style={{ left: this.row.markerMargin }}\n className={\"svd-test-results__marker \" + (this.row.collapsed ? \"\" : \"svd-test-results__marker--expanded\")}>\n <SvgIcon\n iconName={\"icon-expand_16x16\"}\n size={16}\n ></SvgIcon>\n </span>\n ) : null}\n\n {this.row.question ? <SurveyLocStringViewer model={this.row.question.locTitle} /> : <span>{this.row.title}</span>}\n </td>\n <td key={2} className={this.row.isNode ? \"svd-test-results__node-value\" : \"svd-dark-border-color\"}>\n {this.row.getString(this.row.displayValue)}\n </td>\n </tr>)}\n {this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null}\n </>\n );\n }\n}\n","import * as React from \"react\";\nimport { LocalizableString, Serializer, JsonObjectProperty, Base } from \"survey-core\";\nimport { CharacterCounterComponent, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { SurveyCreatorModel, StringEditorViewModelBase, editableStringRendererName } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\nexport class SurveyLocStringEditor extends CreatorModelElement<any, any> {\n private baseModel: StringEditorViewModelBase;\n private svStringEditorRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.state = { changed: 0 };\n this.svStringEditorRef = React.createRef();\n }\n protected createModel(props: any): void {\n if (this.baseModel) {\n this.baseModel.dispose();\n }\n this.baseModel = new StringEditorViewModelBase(this.locString, this.creator);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"locString\"];\n }\n protected get locString(): LocalizableString {\n return this.props.model.locStr;\n }\n protected get creator(): SurveyCreatorModel {\n return this.props.model.creator;\n }\n private get style(): any {\n return this.props.style;\n }\n\n protected getStateElement(): Base {\n return this.baseModel;\n }\n\n public get errorText(): string {\n return this.baseModel.errorText;\n }\n private onChangedHandler = (sender: any, options: any) => {\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\n };\n public componentDidMount() {\n super.componentDidMount();\n if (!this.locString) return;\n this.baseModel.setLocString(this.locString);\n this.baseModel.getEditorElement = () => this.svStringEditorRef.current;\n this.baseModel.blurEditor = () => {\n this.svStringEditorRef.current.blur();\n this.svStringEditorRef.current.spellcheck = false;\n };\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n if (this.locString[\"__isEditing\"]) {\n this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n }\n }\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n this.baseModel.setLocString(this.locString);\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n }\n public componentWillUnmount() {\n super.componentWillUnmount();\n this.baseModel.detachFromUI();\n if (!this.locString) return;\n this.locString.onStringChanged.remove(this.onChangedHandler);\n }\n private get placeholder(): string {\n return this.baseModel.placeholder;\n }\n private get contentEditable(): boolean {\n return this.baseModel.contentEditable;\n }\n private onBlur = (event: any) => {\n if (this.svStringEditorRef.current) {\n this.svStringEditorRef.current.spellcheck = false;\n }\n this.locString[\"__isEditing\"] = false;\n this.justFocused = false;\n this.baseModel.onBlur(event.nativeEvent);\n return this.baseModel.errorText;\n };\n private onCompositionStart = (event: any) => {\n this.baseModel.onCompositionStart(event.nativeEvent);\n };\n private onCompositionEnd = (event: any) => {\n this.baseModel.onCompositionEnd(event.nativeEvent);\n };\n private onBeforeInput = (event: any) => {\n this.baseModel.onBeforeInput(event);\n };\n private onInput = (event: any) => {\n this.baseModel.onInput(event.nativeEvent);\n };\n private onPaste = (event: any) => {\n this.baseModel.onPaste(event.nativeEvent);\n };\n private justFocused = false;\n private onFocus = (event: any) => {\n this.baseModel.onFocus(event.nativeEvent);\n this.justFocused = true;\n };\n private onKeyDown = (event: React.KeyboardEvent<HTMLSpanElement>) => {\n return this.baseModel.onKeyDown(event.nativeEvent);\n };\n private onKeyUp = (event: React.KeyboardEvent<HTMLSpanElement>) => {\n return this.baseModel.onKeyUp(event.nativeEvent);\n };\n private onMouseUp = (event: React.MouseEvent<HTMLSpanElement>): boolean => {\n return this.baseModel.onMouseUp(event.nativeEvent);\n };\n private done = (event: any) => {\n this.baseModel.done(event);\n this.locString[\"__isEditing\"] = false;\n };\n private edit = (event: any) => {\n this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n this.locString[\"__isEditing\"] = true;\n this.baseModel.onClick(event);\n };\n private get className() {\n return this.baseModel.className(this.locString.renderedHtml);\n }\n private htmlValue = {\n __html: this.locString?.renderedHtml\n };\n public render(): React.JSX.Element {\n if (!this.locString) {\n return null;\n }\n let control = null;\n if (this.locString.hasHtml) {\n if (this.htmlValue.__html !== this.locString.renderedHtml) {\n this.htmlValue = { __html: this.locString.renderedHtml };\n }\n control = (\n <span\n role=\"textbox\"\n ref={this.svStringEditorRef}\n className=\"sv-string-editor sv-string-editor--html\"\n contentEditable={this.contentEditable}\n spellCheck={false}\n aria-placeholder={this.placeholder}\n aria-label={this.placeholder || \"content editable\"}\n suppressContentEditableWarning={true}\n tabIndex={this.baseModel.tabIndex}\n // style={this.style}\n dangerouslySetInnerHTML={this.htmlValue}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n onKeyDown={this.onKeyDown}\n onMouseUp={this.onMouseUp}\n onClick={this.edit}\n ></span>\n );\n } else {\n control = (\n <span\n role=\"textbox\"\n ref={this.svStringEditorRef}\n className=\"sv-string-editor\"\n contentEditable={this.contentEditable}\n tabIndex={this.baseModel.tabIndex}\n spellCheck={false}\n aria-placeholder={this.placeholder}\n aria-label={this.placeholder || \"content editable\"}\n suppressContentEditableWarning={true}\n // style={this.style}\n key={this.locString.renderedHtml}\n onBlur={this.onBlur}\n onBeforeInput={this.onBeforeInput}\n onInput={this.onInput}\n onPaste={this.onPaste}\n onCompositionStart={this.onCompositionStart}\n onCompositionEnd={this.onCompositionEnd}\n onFocus={this.onFocus}\n onKeyDown={this.onKeyDown}\n onKeyUp={this.onKeyUp}\n onMouseUp={this.onMouseUp}\n onClick={this.edit}\n >{this.locString.renderedHtml}</span>\n );\n }\n const counter = this.baseModel.showCharacterCounter ? (<CharacterCounterComponent counter={this.baseModel.characterCounter} remainingCharacterCounter={this.baseModel.getCharacterCounterClass}></CharacterCounterComponent>) : null;\n return (\n <span className={this.className}>\n <span className=\"svc-string-editor__content\">\n <div className=\"svc-string-editor__border svc-string-editor__border--hover\"\n onClick={this.edit}\n >\n </div>\n\n <div className=\"svc-string-editor__border svc-string-editor__border--focus\"\n onClick={this.edit}\n >\n </div>\n\n <span className=\"svc-string-editor__input\">\n {control}\n <div className=\"svc-string-editor__controls\"\n onClick={this.edit}>\n </div>\n {counter}\n </span>\n </span>\n {this.errorText ? <span className=\"svc-string-editor__error\">{this.errorText}</span> : \"\"}\n </span>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n editableStringRendererName,\n (props) => {\n return React.createElement(SurveyLocStringEditor, props);\n }\n);\n","import * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\n\nimport {\n Base,\n Question,\n SurveyError,\n SurveyModel\n} from \"survey-core\";\nimport {\n NotifierComponent,\n SurveyActionBar,\n ReactElementFactory,\n ReactQuestionFactory,\n SurveyElementBase,\n SurveyLocStringViewer,\n Survey,\n SvgBundleComponent,\n PopupModal\n} from \"survey-react-ui\";\nimport {\n ICreatorOptions,\n SurveyCreatorModel,\n ITabbedMenuItem,\n assign\n} from \"survey-creator-core\";\nimport { TabbedMenuComponent } from \"./TabbedMenu\";\n\ninterface ISurveyCreatorComponentProps {\n creator: SurveyCreator;\n style?: any;\n}\n\nexport class SurveyCreatorComponent extends SurveyElementBase<\n ISurveyCreatorComponentProps,\n any\n> {\n constructor(props: ISurveyCreatorComponentProps) {\n super(props);\n this.rootNode = React.createRef();\n }\n get creator(): SurveyCreatorModel {\n return this.props.creator;\n }\n protected getStateElement(): Base {\n return this.creator;\n }\n get style(): any {\n return this.props.style;\n }\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if (this.creator !== prevProps.creator) {\n if (prevProps.creator) {\n prevProps.creator.unsubscribeRootElement();\n }\n if (this.creator && this.rootNode.current) {\n this.creator.setRootElement(this.rootNode.current);\n }\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.creator.setRootElement(this.rootNode.current);\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.creator.unsubscribeRootElement();\n }\n private rootNode: React.RefObject<HTMLDivElement>;\n\n renderElement() {\n const creator: SurveyCreatorModel = this.props.creator;\n if (creator.isCreatorDisposed) return null;\n const areaClassName = \"svc-full-container svc-creator__area svc-flex-column\" + (this.props.creator.haveCommercialLicense ? \"\" : \" svc-creator__area--with-banner\");\n const contentWrapperClassName = \"svc-creator__content-wrapper svc-flex-row\" + (this.props.creator.isMobileView ? \" svc-creator__content-wrapper--footer-toolbar\" : \"\");\n const fullContainerClassName = \"svc-flex-row svc-full-container\" + (\" svc-creator__side-bar--\" + this.creator.sidebarLocation);\n const creatorStyles = {};\n assign(creatorStyles, this.style, this.props.creator.themeVariables);\n let licenseBanner = null;\n if (!this.props.creator.haveCommercialLicense) {\n const htmlValue = { __html: this.props.creator.licenseText };\n licenseBanner = (\n <div className=\"svc-creator__banner\">\n <span className=\"svc-creator__non-commercial-text\" dangerouslySetInnerHTML={htmlValue}></span>\n </div>\n );\n }\n //AM: width unrecognized by react\n return (\n <div className={this.creator.getRootCss()} ref={this.rootNode} style={creatorStyles}>\n <SvgBundleComponent></SvgBundleComponent>\n <PopupModal></PopupModal>\n <div className={areaClassName}>\n <div className={fullContainerClassName}>\n <div className=\"svc-flex-column svc-flex-row__element svc-flex-row__element--growing\">\n <div className=\"svc-top-bar\">\n {(creator.showTabs ?\n <div className=\"svc-tabbed-menu-wrapper\">\n <TabbedMenuComponent model={creator.tabbedMenu}></TabbedMenuComponent>\n </div> : null)}\n {(creator.showToolbar ?\n <div className=\"svc-toolbar-wrapper\">\n <SurveyActionBar model={creator.toolbar}></SurveyActionBar>\n </div>\n : null)}\n </div>\n <div className={contentWrapperClassName}>\n <div className=\"svc-creator__content-holder svc-flex-column\">\n {this.renderActiveTab()}\n </div>\n </div>\n <div className=\"svc-footer-bar\">\n {(creator.isMobileView ?\n <div className=\"svc-toolbar-wrapper\">\n <SurveyActionBar model={creator.footerToolbar}></SurveyActionBar>\n </div>\n : null)}\n </div>\n </div>\n {this.renderSidebar()}\n </div>\n {licenseBanner}\n <NotifierComponent notifier={creator.notifier}></NotifierComponent>\n </div>\n </div>\n );\n }\n renderActiveTab() {\n const creator: SurveyCreatorModel = this.props.creator;\n for (var i = 0; i < creator.tabs.length; i++) {\n if (creator.tabs[i].id === creator.activeTab) {\n return this.renderCreatorTab(creator.tabs[i]);\n }\n }\n return null;\n }\n renderCreatorTab(tab: ITabbedMenuItem) {\n if (tab.visible === false) {\n return null;\n }\n const creator: SurveyCreatorModel = this.props.creator;\n const component = !!tab.renderTab\n ? tab.renderTab()\n : ReactElementFactory.Instance.createElement(tab.componentContent, {\n creator: creator,\n survey: creator.survey,\n data: tab.data.model\n });\n const className = \"svc-creator-tab\" + (creator.toolboxLocation == \"right\" ? \" svc-creator__toolbox--right\" : \"\");\n return (\n <div\n role=\"tabpanel\"\n key={tab.id}\n id={\"scrollableDiv-\" + tab.id}\n aria-labelledby={\"tab-\" + tab.id}\n className={className}\n >\n {component}\n </div>\n );\n }\n renderSidebar() {\n if (!!this.creator.isSidebarVisible) {\n return ReactElementFactory.Instance.createElement(\"svc-side-bar\", { model: this.creator.sidebar });\n } else {\n return null;\n }\n }\n}\n\nexport class SurveyCreator extends SurveyCreatorModel {\n constructor(options: ICreatorOptions = {}, options2?: ICreatorOptions) {\n super(options, options2);\n }\n public render(target: string | HTMLElement) {\n // eslint-disable-next-line no-console\n console.error(\"The render method is deprecated. Use SurveyCreatorComponent instead.\");\n }\n\n //ISurveyCreator\n public createQuestionElement(question: Question): React.JSX.Element {\n return ReactQuestionFactory.Instance.createQuestion(\n question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(),\n {\n question: question,\n isDisplayMode: question.isReadOnly,\n creator: this\n }\n );\n }\n public renderError(\n key: string,\n error: SurveyError,\n cssClasses: any\n ): React.JSX.Element {\n return (\n <div key={key}>\n <span className={cssClasses.error.icon} aria-hidden=\"true\" />\n <span className={cssClasses.error.item}>\n <SurveyLocStringViewer model={error.locText} />\n </span>\n </div>\n );\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-widget\", (props) => {\n return React.createElement(Survey, props);\n});\n","import * as React from \"react\";\nimport { Switcher } from \"survey-creator-core\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, attachKey2click, SurveyElementBase } from \"survey-react-ui\";\n\ninterface ISwitcherComponentProps {\n item: Switcher;\n}\n\nexport class SwitcherComponent extends SurveyElementBase<ISwitcherComponentProps, any> {\n get item(): Switcher {\n return this.props.item;\n }\n\n protected getStateElement(): Base {\n return this.item;\n }\n\n renderElement() {\n const tooltip = this.item.tooltip || this.item.title;\n const title = this.item.hasTitle ? <span className=\"svc-switcher__title\">{this.item.title}</span> : null;\n const button = attachKey2click(\n <button\n className={this.item.getActionBarItemCss()}\n type=\"button\"\n disabled={this.item.disabled}\n onClick={(args) => this.item.action(this.item, this.item.getIsTrusted(args))}\n title={tooltip}\n aria-checked={this.item.ariaChecked}\n aria-expanded={this.item.ariaExpanded}\n role={this.item.ariaRole}\n >\n <div className={this.item.getSwitcherIconCss()}>\n <div className=\"svc-switcher__icon-thumb\"></div>\n </div>\n {title}\n </button>, this.item, { processEsc: false });\n\n return button;\n }\n}\n\nexport default SwitcherComponent;\n\nReactElementFactory.Instance.registerElement(\"svc-switcher\", (props) => {\n return React.createElement(SwitcherComponent, props);\n});","import * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { TabbedMenuItem, TabbedMenuContainer } from \"survey-creator-core\";\nimport { Base, ResponsivityManager } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\n\nexport interface ITabbedMenuComponentProps {\n model: TabbedMenuContainer;\n}\n\nexport class TabbedMenuComponent extends SurveyElementBase<\n ITabbedMenuComponentProps,\n any\n> {\n private rootRef: React.RefObject<HTMLDivElement>;\n\n private get model() {\n return this.props.model;\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n constructor(props) {\n super(props);\n this.rootRef = React.createRef();\n }\n\n renderElement(): React.JSX.Element {\n const items = this.model.renderedActions.map((item) => <TabbedMenuItemWrapper item={item} key={item.renderedId} />);\n return (\n <div ref={this.rootRef} className=\"svc-tabbed-menu\" role=\"tablist\" style={this.model.getRootStyle()}>\n {items}\n </div>\n );\n }\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n const container: HTMLDivElement = this.rootRef.current;\n if (!container) return;\n this.model.initResponsivityManager(container);\n }\n componentDidMount() {\n super.componentDidMount();\n const container: HTMLDivElement = this.rootRef.current;\n if (!container) return;\n this.model.initResponsivityManager(container);\n }\n componentWillUnmount() {\n this.model.resetResponsivityManager();\n super.componentWillUnmount();\n }\n}\n\nclass TabbedMenuItemWrapper extends SurveyElementBase<\n any,\n any\n> {\n private ref: React.RefObject<HTMLDivElement>;\n constructor(props) {\n super(props);\n this.ref = React.createRef();\n this.state = { changed: 0 };\n }\n\n private get item(): TabbedMenuItem {\n return this.props.item;\n }\n\n protected getStateElement(): Base {\n return this.item;\n }\n\n renderElement(): React.JSX.Element {\n let css: string = \"svc-tabbed-menu-item-container\";\n if (this.item.css) {\n css += \" \" + this.item.css;\n }\n css += (!this.item.isVisible ? \" sv-action--hidden\" : \"\");\n\n const component = ReactElementFactory.Instance.createElement(\n this.item.component || \"svc-tabbed-menu-item\",\n { item: this.item }\n );\n\n return (\n <span key={this.item.id} className={css} ref={this.ref}>\n <div className=\"sv-action__content\">\n {component}\n </div>\n </span>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.item.updateModeCallback = (mode, callback) => {\n const update = () => {\n if (this.item.mode == mode) {\n this.setState({ changed: this.state.changed + 1 });\n } else {\n this.item.mode = mode;\n }\n };\n queueMicrotask(() => {\n if ((ReactDOM as any)[\"flushSync\"]) {\n (ReactDOM as any)[\"flushSync\"](() => {\n update();\n });\n } else {\n update();\n }\n queueMicrotask(() => {\n callback(mode, this.ref.current);\n });\n });\n };\n this.item.afterRender();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.item.updateModeCallback = undefined;\n }\n}\n\nexport interface ITabbedMenuItemComponentProps {\n item: TabbedMenuItem;\n}\nexport class TabbedMenuItemComponent extends SurveyElementBase<\n ITabbedMenuItemComponentProps,\n any\n> {\n get item(): TabbedMenuItem {\n return this.props.item;\n }\n protected getStateElement(): Base {\n return this.item;\n }\n\n render(): React.JSX.Element {\n const item = this.item;\n return (attachKey2click(\n <div\n role=\"tab\"\n id={\"tab-\" + item.id}\n aria-selected={item.active}\n aria-controls={\"scrollableDiv-\" + item.id}\n className={item.getRootCss()}\n onClick={() => item.doAction()}\n >\n {item.hasTitle ? <span className={item.getTitleCss()}>{item.title}</span> : null}\n {item.hasIcon ? <SvgIcon iconName={item.iconName} className={item.getIconCss()} size={\"auto\"} title={item.tooltip || item.title}></SvgIcon> : null}\n </div>\n )\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-tabbed-menu-item\",\n (props) => {\n return React.createElement(TabbedMenuItemComponent, props);\n }\n);\nexport default TabbedMenuComponent;\n","import * as React from \"react\";\nimport { Base, Question } from \"survey-core\";\nimport {\n attachKey2click,\n ReactElementFactory\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { QuestionAdornerComponentProps } from \"./Question\";\n\nexport class CellQuestionAdornerComponent extends CreatorModelElement<\n QuestionAdornerComponentProps,\n any\n> {\n model: QuestionAdornerViewModel;\n protected createModel(props: any): void {\n this.model = new QuestionAdornerViewModel(\n props.componentData,\n props.question,\n null\n );\n }\n protected getStateElement(): Base {\n return this.model;\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n render(): React.JSX.Element {\n return (\n <React.Fragment>\n <div\n data-sv-drop-target-survey-element={this.model.element.name}\n className={\"svc-question__adorner\"}\n >\n <div className={\" svc-question__content--in-popup svc-question__content\"}>\n {this.props.element}\n </div>\n </div>\n </React.Fragment>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-cell-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(CellQuestionAdornerComponent, props);\n }\n);\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, ItemValue, QuestionSelectBase, SurveyModel } from \"survey-core\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport { QuestionAdornerComponentProps } from \"./Question\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { attachKey2click } from \"survey-react-ui\";\n\nexport class CellQuestionDropdownAdornerComponent extends CreatorModelElement<\n QuestionAdornerComponentProps,\n any\n> {\n model: QuestionAdornerViewModel;\n protected createModel(props: any): void {\n this.model = new QuestionAdornerViewModel(\n props.componentData,\n props.question,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n render(): React.JSX.Element {\n const question = this.props.question as QuestionSelectBase;\n const textStyle = (this.props.question as any).textStyle;\n return (\n <React.Fragment>\n <div\n data-sv-drop-target-survey-element={this.model.element.name}\n className={\"svc-question__adorner\"}\n >\n <div className={\" svc-question__content--in-popup svc-question__content\"}>\n {this.props.element}\n\n <div className=\"svc-question__dropdown-choices\">\n {question.visibleChoices.map(\n (item: ItemValue, index: number) => (\n <div\n className=\"svc-question__dropdown-choice\"\n key={`editable_choice_${index}`}\n >\n {ReactSurveyElementsWrapper.wrapItemValue(question.survey as SurveyModel,\n ReactElementFactory.Instance.createElement(\n \"survey-radiogroup-item\",\n {\n question: question,\n cssClasses: question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: question.value === item.value\n }\n ),\n question,\n item\n )}\n </div>\n )\n )}\n </div>\n </div>\n </div>\n </React.Fragment>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-cell-dropdown-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(CellQuestionDropdownAdornerComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { Action, Base, IAction, PageModel, SurveyModel } from \"survey-core\";\nimport {\n attachKey2click,\n Popup,\n SurveyActionBar,\n ReactElementFactory,\n SurveyPage,\n SvgIcon,\n LoadingIndicatorComponent\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport {\n SurveyCreatorModel,\n PageAdorner,\n SurveyHelper,\n toggleHovered\n} from \"survey-creator-core\";\nimport { ReactMouseEvent } from \"../events\";\n\ninterface ICreatorSurveyPageComponentProps {\n creator: SurveyCreatorModel;\n survey: SurveyModel;\n page: PageModel;\n isGhost: boolean;\n}\nconst PageElementContent = React.memo(({ page, survey, creator }: {\n page: PageModel,\n survey: SurveyModel,\n creator: SurveyCreatorModel,\n}) => {\n return <SurveyPage page={page} survey={survey} creator={creator} />;\n});\nPageElementContent.displayName = \"PageElementContent\";\n\nexport class CreatorSurveyPageComponent extends CreatorModelElement<\n ICreatorSurveyPageComponentProps,\n any\n> {\n private model: PageAdorner;\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: ICreatorSurveyPageComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: ICreatorSurveyPageComponentProps): void {\n if (this.model) {\n this.model.attachToUI(props.page, this.rootRef.current);\n }\n this.model = this.createPageAdorner(props.creator, props.page);\n this.model.isGhost = this.props.isGhost;\n }\n protected createPageAdorner(creator: SurveyCreatorModel, page: PageModel): PageAdorner {\n return new PageAdorner(creator, page);\n }\n shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n const res = super.shouldComponentUpdate(nextProps, nextState);\n if (this.model) {\n this.model.isGhost = this.props.isGhost;\n }\n return res;\n }\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"page\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n componentDidMount() {\n super.componentDidMount();\n this.model.attachToUI(this.props.page, this.rootRef.current);\n this.model.isGhost = this.props.isGhost;\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.model.detachFromUI();\n }\n protected canRender(): boolean {\n return super.canRender();\n }\n renderElement(): React.JSX.Element {\n if (!this.props.page) return null;\n return (\n attachKey2click(<div\n ref={this.rootRef}\n id={this.props.page.id}\n data-sv-drop-target-survey-page={this.model.dropTargetName}\n className={\"svc-page__content \" + this.model.css}\n onClick={(e) => {\n return this.model.select(this.model, new ReactMouseEvent(e));\n }}\n onDoubleClick={e => this.model.dblclick(e.nativeEvent)}\n onMouseLeave={(e) => this.model.hover(e.nativeEvent, e.currentTarget)}\n onMouseOver={(e) => this.model.hover(e.nativeEvent, e.currentTarget)}\n >\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\n {this.renderContent()}\n {this.renderPlaceholder()}\n {this.renderHeader()}\n {this.renderFooter()}\n </div>)\n );\n }\n protected renderPlaceholder(): React.JSX.Element {\n if (!this.model.showPlaceholder) return null;\n return (\n <div className=\"svc-page__placeholder_frame\">\n <div className=\"svc-panel__placeholder_frame\">\n <div className=\"svc-panel__placeholder\">{this.model.placeholderText}</div>\n </div>\n </div>\n );\n }\n protected renderContent(): React.JSX.Element {\n if (!this.model.needRenderContent) {\n return <div className={\"svc-page__loading-content\"}><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n return (\n <PageElementContent\n page={this.props.page}\n survey={this.props.survey}\n creator={this.props.creator}\n />\n );\n }\n protected renderHeader(): React.JSX.Element {\n const actions = (<div className=\"svc-page__content-actions\">\n <SurveyActionBar model={this.model.actionContainer}></SurveyActionBar>\n {(this.model.topActionContainer.hasActions ? <SurveyActionBar model={this.model.topActionContainer}></SurveyActionBar> : null)}\n </div>);\n if (this.model.isGhost || !this.model.allowDragging) {\n return actions;\n }\n return (\n <div className={\"svc-question__drag-area\"}\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n >\n <SvgIcon className=\"svc-question__drag-element\" size={\"auto\"} iconName={\"icon-drag-area-indicator_24x16\"}></SvgIcon>\n {actions}\n </div>\n );\n }\n protected renderFooter(): React.JSX.Element {\n return <SurveyActionBar model={this.model.footerActionsBar}></SurveyActionBar>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-page\", (props) => {\n return React.createElement(CreatorSurveyPageComponent, props);\n});\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, Question } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n SurveyQuestion,\n attachKey2click,\n SvgIcon,\n Popup\n} from \"survey-react-ui\";\nimport { QuestionAdornerComponent, QuestionAdornerComponentProps } from \"./Question\";\nimport { AddQuestionButtonComponent } from \"../AddQuestionButton\";\n\nexport class PanelAdornerComponent extends QuestionAdornerComponent {\n renderElementPlaceholder(): React.JSX.Element {\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (\n <div className=\"svc-panel__placeholder_frame-wrapper\">\n <div className=\"svc-panel__placeholder_frame\">\n <div className=\"svc-panel__placeholder\">\n {this.model.placeholderText}\n </div>\n {this.model.showAddQuestionButton ? attachKey2click(<div\n className=\"svc-panel__add-new-question svc-action-button\"\n onClick={(e) => {\n e.stopPropagation();\n this.model.addNewQuestion();\n }}\n >\n <SvgIcon\n className={\"svc-panel__add-new-question-icon\"}\n iconName={\"icon-add_24x24\"}\n size={\"auto\"}\n ></SvgIcon>\n <span className=\"svc-add-new-item-button__text\">\n {this.model.addNewQuestionText}\n </span>\n </div>) : null}\n </div>\n </div>\n );\n }\n protected disableTabStop() {\n return true;\n }\n protected renderFooter(): React.JSX.Element {\n return (<React.Fragment>\n {!this.model.isEmptyElement && this.model.element.isPanel && this.model.showAddQuestionButton ? (\n <div className=\"svc-panel__add-new-question-container\">\n <div className=\"svc-panel__question-type-selector-popup\">\n <Popup model={this.model.questionTypeSelectorModel.popupModel}></Popup>\n </div>\n <div className=\"svc-panel__add-new-question-wrapper\">\n <AddQuestionButtonComponent item={{ data: this.model } as any} buttonClass={\"svc-action-button\"} renderPopup={false} />\n </div>\n </div>) : null}\n\n {super.renderFooter()}\n </React.Fragment>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-panel\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(PanelAdornerComponent, props);\n }\n);\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, PanelModel, Question, SurveyElementCore } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyQuestion,\n attachKey2click,\n SvgIcon,\n Popup,\n SurveyElementBase,\n TitleElement\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\nexport interface QuestionAdornerComponentProps {\n element: React.JSX.Element;\n question: Question;\n componentData: any;\n}\n\nfunction QuestionElementContentFunc(props: { element: React.JSX.Element }): React.ReactElement {\n return props.element;\n}\n\nconst QuestionElementContent = React.memo(QuestionElementContentFunc);\nQuestionElementContent.displayName = \"QuestionElementContent\";\n\nexport class QuestionAdornerComponent extends CreatorModelElement<\n QuestionAdornerComponentProps,\n any\n> {\n private modelValue: QuestionAdornerViewModel;\n protected rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: QuestionAdornerComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: QuestionAdornerComponentProps): void {\n if (this.model) {\n this.model.attachToUI(props.question, this.rootRef.current);\n } else {\n this.modelValue = this.createQuestionViewModel(props);\n }\n }\n protected createQuestionViewModel(props: any): QuestionAdornerViewModel {\n return new QuestionAdornerViewModel(\n props.componentData,\n props.question,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n public get model(): QuestionAdornerViewModel {\n return this.modelValue;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const allowInteractions = this.model.element\n .isInteractiveDesignElement;\n const titleForCollapsedState = this.renderQuestionTitle();\n const content = this.renderContent(allowInteractions);\n return (\n <div\n ref={this.rootRef}\n data-sv-drop-target-survey-element={this.model.element.name || null}\n className={this.model.rootCss()}\n onDoubleClick={e => { allowInteractions && this.model.dblclick(e.nativeEvent); e.stopPropagation(); }}\n onMouseLeave={e => allowInteractions && this.model.hover(e.nativeEvent, e.currentTarget)}\n onMouseOver={e => allowInteractions && this.model.hover(e.nativeEvent, e.currentTarget)}\n >\n {titleForCollapsedState}\n {content}\n </div>\n );\n }\n protected disableTabStop() {\n return true;\n }\n protected renderContent(allowInteractions: boolean): React.JSX.Element {\n var content = this.model.needToRenderContent ? this.renderElementContent() : null;\n //if (!allowInteractions) return <>{content}{this.renderFooter()}</>;\n return attachKey2click(\n <div\n className={this.model.css()}\n onClick={(e) => this.model.select(this.model, new ReactMouseEvent(e))}\n >\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\n {allowInteractions ? this.renderHeader() : null}\n {content}\n {this.model.needToRenderContent ? this.renderFooter() : null}\n </div>,\n undefined, { disableTabStop: this.disableTabStop() });\n }\n protected renderHeader(): React.JSX.Element {\n return ReactElementFactory.Instance.createElement(\"svc-question-header\", { model: this.model });\n }\n protected renderFooter(): React.JSX.Element {\n const allowInteractions = this.model.element\n .isInteractiveDesignElement;\n return allowInteractions ? ReactElementFactory.Instance.createElement(\"svc-question-footer\", { className: \"svc-question__content-actions\", model: this.model }) : null;\n }\n protected renderCarryForwardBanner(): React.JSX.Element {\n if (!this.model.isBannerShowing) return null;\n return ReactElementFactory.Instance.createElement(\"svc-question-banner\", this.model.createBannerParams());\n }\n\n protected renderQuestionTitle(): React.JSX.Element {\n if (!this.model.showHiddenTitle) return null;\n const element = this.model.element as Question | PanelModel;\n return (\n <div\n ref={node => node && (!this.model.renderedCollapsed ?\n node.setAttribute(\"inert\", \"\") : node.removeAttribute(\"inert\")\n )} className={this.model.cssCollapsedHiddenHeader} >\n {(\n element.hasTitle ?\n <TitleElement element={element} renderActions={false}></TitleElement> :\n <div\n className={this.model.cssCollapsedHiddenTitle} >\n <span className=\"svc-fake-title\">{element.name}</span>\n </div>\n )}\n </div>\n );\n }\n\n protected renderElementContent(): React.JSX.Element {\n return (\n <>\n <QuestionElementContent element={this.props.element} />\n {this.renderElementPlaceholder()}\n {this.renderCarryForwardBanner()}\n </>\n );\n }\n componentDidMount() {\n super.componentDidMount();\n this.model.attachToUI(this.props.question, this.rootRef.current);\n }\n renderElementPlaceholder(): React.JSX.Element {\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (\n <div className=\"svc-panel__placeholder_frame-wrapper\">\n <div className=\"svc-panel__placeholder_frame\">\n <div className=\"svc-panel__placeholder\">\n {this.model.placeholderText}\n </div>\n </div>\n </div>\n );\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.model.detachFromUI();\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionAdornerComponent, props);\n }\n);\n","import { QuestionBannerParams } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { ActionButton } from \"../ActionButton\";\n\nexport class QuestionBanner extends React.Component<QuestionBannerParams, any> {\n render(): React.JSX.Element {\n return (\n <div className=\"svc-carry-forward-panel-wrapper\"><div className=\"svc-carry-forward-panel\">\n <span>{this.props.text}{\" \"}</span>\n <span className=\"svc-carry-forward-panel__link\">\n <ActionButton click={() => this.props.onClick()} text={this.props.actionText}></ActionButton>\n </span>\n </div></div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-banner\",\n (props: QuestionBannerParams) => {\n return React.createElement(QuestionBanner, props);\n }\n);\n\n","import * as React from \"react\";\nimport { QuestionDropdownAdornerViewModel } from \"survey-creator-core\";\nimport { ItemValue, QuestionDropdownModel, QuestionSelectBase, SurveyModel } from \"survey-core\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport {\n QuestionAdornerComponent,\n QuestionAdornerComponentProps\n} from \"./Question\";\nimport { ActionButton } from \"../ActionButton\";\n\nexport class QuestionDropdownAdornerComponent extends QuestionAdornerComponent {\n constructor(props: QuestionAdornerComponentProps) {\n super(props);\n }\n protected createQuestionViewModel(props: any): QuestionDropdownAdornerViewModel {\n return new QuestionDropdownAdornerViewModel(\n props.componentData,\n props.question as QuestionDropdownModel,\n null\n );\n }\n public get dropdownModel(): QuestionDropdownAdornerViewModel {\n return this.model as QuestionDropdownAdornerViewModel;\n }\n public get question(): QuestionSelectBase {\n return this.dropdownModel.question as QuestionSelectBase;\n }\n\n renderElementPlaceholder(): React.JSX.Element {\n const textStyle = (this.question as any).textStyle;\n return (\n <div\n className=\"svc-question__dropdown-choices--wrapper\">\n <div>\n <div className=\"svc-question__dropdown-choices\">\n {(this.dropdownModel.getRenderedItems() || []).map(\n (item: ItemValue, index: number) => (\n <div\n className={this.dropdownModel.getChoiceCss()}\n key={`editable_choice_${index}`}\n >\n {ReactSurveyElementsWrapper.wrapItemValue(this.question.survey as SurveyModel,\n ReactElementFactory.Instance.createElement(\n this.dropdownModel.itemComponent,\n {\n key: item.value,\n question: this.question,\n cssClasses: this.question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: this.question.value === item.value\n }\n ),\n this.question,\n item\n )}\n </div>\n )\n )}\n </div>\n {this.dropdownModel.needToCollapse ?\n <ActionButton\n click={this.dropdownModel.switchCollapse}\n text={this.dropdownModel.getButtonText()}\n allowBubble={true}\n ></ActionButton> :\n null\n }\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-dropdown-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionDropdownAdornerComponent, props);\n }\n);\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n} from \"survey-react-ui\";\n\nexport interface QuestionWrapperFooterProps {\n className?: string;\n model: QuestionAdornerViewModel;\n}\nexport class QuestionWrapperFooter extends React.Component<QuestionWrapperFooterProps, any> {\n render(): React.JSX.Element {\n return (<div className={this.props.className} onFocus={(e) => this.props.model.select(this.props.model, new ReactMouseEvent(e as any))}>\n <SurveyActionBar model={this.props.model.actionContainer} handleClick={false}></SurveyActionBar>\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-footer\",\n (props: QuestionWrapperFooterProps) => {\n return React.createElement(QuestionWrapperFooter, props);\n }\n);\n\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, Question } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n SurveyQuestion,\n attachKey2click,\n SvgIcon,\n Popup\n} from \"survey-react-ui\";\n\nexport interface QuestionWrapperHeaderProps {\n className?: string;\n model: QuestionAdornerViewModel;\n}\n\nexport class QuestionWrapperHeader extends React.Component<QuestionWrapperHeaderProps, any> {\n render(): React.JSX.Element {\n if (!this.props.model.allowDragging) return null;\n return (\n <div className={\"svc-question__drag-area\"}\n onPointerDown={(event: any) =>\n this.props.model.onPointerDown(event)\n }\n >\n <SvgIcon className=\"svc-question__drag-element\" size={\"auto\"} iconName={\"icon-drag-area-indicator_24x16\"}></SvgIcon>\n <div className=\"svc-question__top-actions\">\n <SurveyActionBar model={this.props.model.topActionContainer} handleClick={false}></SurveyActionBar>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-header\",\n (props: QuestionWrapperHeaderProps) => {\n return React.createElement(QuestionWrapperHeader, props);\n }\n);\n","import {\n QuestionImageAdornerViewModel,\n QuestionAdornerViewModel\n} from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { attachKey2click, LoadingIndicatorComponent, ReactElementFactory, ReactQuestionFactory, SvgIcon } from \"survey-react-ui\";\nimport {\n QuestionAdornerComponent,\n QuestionAdornerComponentProps\n} from \"./Question\";\nimport { Base } from \"survey-core\";\n\nexport class QuestionImageAdornerComponent extends QuestionAdornerComponent {\n protected createQuestionViewModel(props: any): QuestionAdornerViewModel {\n return new QuestionImageAdornerViewModel(\n props.componentData,\n props.question as any,\n null);\n }\n public get imageModel(): QuestionImageAdornerViewModel {\n return this.model as QuestionImageAdornerViewModel;\n }\n protected renderHeader(): React.JSX.Element {\n return (<React.Fragment>\n <input\n type=\"file\"\n aria-hidden=\"true\"\n tabIndex={-1}\n accept={this.imageModel.acceptedTypes}\n className=\"svc-choose-file-input\"\n style={{\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n }}\n />\n\n {super.renderHeader()}\n </React.Fragment>);\n }\n renderLoadingPlaceholder(): React.JSX.Element {\n return (<div className=\"svc-image-question__loading-placeholder\">\n <div className=\"svc-image-question__loading\">\n <LoadingIndicatorComponent></LoadingIndicatorComponent>\n </div>\n </div>);\n }\n renderChooseButton(): React.JSX.Element {\n return (<div className=\"svc-image-question-controls\">\n {this.model.allowEdit ? attachKey2click(<span\n className=\"svc-context-button\"\n onClick={() => this.imageModel.chooseFile(this.imageModel)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-choosefile\"}></SvgIcon>\n </span>) : null}\n </div>);\n }\n renderElementPlaceholder(): React.JSX.Element {\n return this.imageModel.isUploading ? this.renderLoadingPlaceholder() : this.renderChooseButton();\n }\n protected getStateElements(): Array<Base> {\n return [this.model, this.imageModel.filePresentationModel];\n }\n\n protected renderElementContent(): React.JSX.Element {\n if (this.imageModel.isEmptyElement) {\n const fileQuestion = ReactQuestionFactory.Instance.createQuestion(\"file\", {\n creator: this.imageModel.question.survey,\n isDisplayMode: false,\n question: this.imageModel.filePresentationModel\n });\n return (<>\n {fileQuestion}\n </>);\n } else {\n return (\n <>\n {this.props.element}\n {this.renderElementPlaceholder()}\n </>\n );\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-image-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionImageAdornerComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { QuestionRatingAdornerViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { QuestionAdornerComponentProps } from \"./Question\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\nexport class QuestionRatingAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> {\n private modelValue: QuestionRatingAdornerViewModel;\n\n protected createModel(props: any): void {\n this.modelValue = this.createQuestionViewModel(props);\n }\n protected createQuestionViewModel(props: any): QuestionRatingAdornerViewModel {\n return new QuestionRatingAdornerViewModel(\n props.componentData,\n props.question as any,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n public get ratingModel(): QuestionRatingAdornerViewModel {\n return this.model as QuestionRatingAdornerViewModel;\n }\n public get model(): QuestionRatingAdornerViewModel {\n return this.modelValue;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n protected renderElement(): React.JSX.Element {\n const model = this.ratingModel;\n return (<>\n <div className=\"svc-rating-question-content\">\n <div className={model.controlsClassNames}>\n {model.allowRemove ? attachKey2click(<span\n role=\"button\"\n className={model.removeClassNames}\n aria-label={model.removeTooltip}\n onClick={() => model.removeItem(model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-remove_16x16\"} title={model.removeTooltip}></SvgIcon>\n </span>) : null}\n {model.allowAdd ? attachKey2click(<span\n role=\"button\"\n className={model.addClassNames}\n aria-label={model.addTooltip}\n onClick={() => model.addItem(model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-add_16x16\"} title={model.addTooltip}></SvgIcon>\n </span>) : null}\n </div>\n {this.props.element}\n </div>\n </>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-rating-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionRatingAdornerComponent, props);\n }\n);\nReactElementFactory.Instance.registerElement(\n \"svc-rating-question-content\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionRatingAdornerComponent, props);\n }\n);\n","import {\n QuestionAdornerViewModel\n} from \"survey-creator-core\";\nimport * as React from \"react\";\nimport {\n QuestionAdornerComponent,\n QuestionAdornerComponentProps\n} from \"./Question\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\n\nexport class QuestionWidgetAdornerComponent extends QuestionAdornerComponent {\n protected createQuestionViewModel(props: any): QuestionAdornerViewModel {\n return new QuestionAdornerViewModel(\n props.componentData,\n props.question as any,\n null\n );\n }\n public get widgetModel(): QuestionAdornerViewModel {\n return this.model as QuestionAdornerViewModel;\n }\n protected renderElementContent(): React.JSX.Element {\n return (\n <div\n className={\"svc-widget__content\"}\n >\n {this.props.element}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-widget-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionWidgetAdornerComponent, props);\n }\n);\n","import { RowViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { Base, QuestionRowModel } from \"survey-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\ninterface RowWrapperComponentProps {\n element: React.JSX.Element;\n componentData: any;\n row: QuestionRowModel;\n}\n\nexport class RowWrapper extends CreatorModelElement<\n RowWrapperComponentProps,\n any\n> {\n model: RowViewModel;\n constructor(props: RowWrapperComponentProps) {\n super(props);\n }\n protected createModel(props: any): void {\n if (!!this.model) {\n this.model.dispose();\n }\n this.model = new RowViewModel(\n props.componentData.creator,\n props.row,\n null\n );\n }\n protected getUpdatedModelProps(): Array<string | { name: string, deepEqual?: boolean }> {\n return [\"row\", { name: \"componentData\", deepEqual: true }];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.model.subscribeElementChanges();\n }\n componentWillUnmount(): void {\n this.model.unsubscribeElementChanges();\n super.componentWillUnmount();\n }\n\n render(): React.JSX.Element {\n return (\n <div\n key={\"svc-row-\" + this.props.row.id}\n className={this.model.cssClasses}\n >\n <div className=\"svc-row__drop-indicator svc-row__drop-indicator--top\"></div>\n <div className=\"svc-row__drop-indicator svc-row__drop-indicator--bottom\"></div>\n {this.props.element}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-row\",\n (props: RowWrapperComponentProps) => {\n return React.createElement(RowWrapper, props);\n }\n);\n","import * as React from \"react\";\nimport { ComponentContainerModel } from \"survey-creator-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\ninterface IComponentContainerProps {\n model: ComponentContainerModel;\n}\n\nexport class ComponentContainer extends React.Component<IComponentContainerProps, any> {\n constructor(props: IComponentContainerProps) {\n super(props);\n }\n render(): React.JSX.Element {\n return (\n <div className={this.props.model.cssClass} >\n {this.props.model.elements.map((element, index) => {\n return ReactElementFactory.Instance.createElement(element.componentName, { ...element.componentData, key: index });\n })}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-component-container\",\n (props: IComponentContainerProps) => {\n return React.createElement(ComponentContainer, props);\n }\n);","import * as React from \"react\";\nimport { Base, settings } from \"survey-core\";\nimport { SearchManager } from \"survey-creator-core\";\nimport { ReactElementFactory, SurveyActionBar, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\n\ninterface ISearchComponentProps {\n model: SearchManager;\n}\nexport class SearchComponent extends SurveyElementBase<ISearchComponentProps, any> {\n protected get model(): SearchManager {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n constructor(props: any) {\n super(props);\n this.state = {\n filterString: this.model.filterString || \"\"\n };\n }\n\n renderElement(): React.JSX.Element {\n if (!this.model.isVisible) return null;\n\n const onChange = (e: any) => {\n const { root } = settings.environment;\n if (e.target === root.activeElement) {\n this.model.filterString = e.target.value;\n }\n };\n return (\n <div className=\"svc-search\">\n <div className=\"svc-search__search-icon\">\n <SvgIcon iconName=\"icon-search\" size={\"auto\"}></SvgIcon>\n </div>\n <input type=\"text\" className=\"svc-search__input\"\n aria-label={this.model.filterStringPlaceholder}\n placeholder={this.model.filterStringPlaceholder}\n value={this.state.filterString}\n onChange={onChange} tabIndex={this.model.getTabIndex()}></input>\n <div className=\"svc-search__toolbar\">\n <div className=\"svc-search__toolbar-counter\">{(this.model as any).matchCounterText}</div>\n <SurveyActionBar model={this.model.searchActionBar}></SurveyActionBar>\n </div>\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-search\", (props) => {\n return React.createElement(\n SearchComponent,\n props as ISearchComponentProps\n );\n});\n","import * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\ninterface ISurfacePlaceholderProps {\n name: string;\n placeholderTitleText: string;\n placeholderDescriptionText: string;\n}\n\nexport class SurfacePlaceholder extends React.Component<ISurfacePlaceholderProps, any> {\n constructor(props: ISurfacePlaceholderProps) {\n super(props);\n }\n render(): React.JSX.Element {\n return (\n <div className=\"svc-surface-placeholder\" >\n <div className={\"svc-surface-placeholder__image svc-surface-placeholder__image--\" + this.props.name}></div >\n <div className=\"svc-surface-placeholder__text\">\n <div className=\"svc-surface-placeholder__title\">{this.props.placeholderTitleText}</div>\n <div className=\"svc-surface-placeholder__description\">{this.props.placeholderDescriptionText}</div>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-surface-placeholder\",\n (props: ISurfacePlaceholderProps) => {\n return React.createElement(SurfacePlaceholder, props);\n }\n);","import * as React from \"react\";\nimport { type QuestionBooleanModel, RendererFactory } from \"survey-core\";\nimport { attachKey2click, ReactQuestionFactory, SurveyElementBase, SurveyQuestionElementBase } from \"survey-react-ui\";\nexport class SurveyQuestionBooleanSwitch extends SurveyQuestionElementBase {\n protected renderElement(): React.JSX.Element {\n const button = attachKey2click(<div className={\"spg-boolean-switch__button\" + (this.questionBase.booleanValue ? \" spg-boolean-switch__button--checked\" : \"\")} tabIndex={0}\n role=\"checkbox\"\n aria-checked={this.questionBase.booleanValue || false}\n aria-required={this.questionBase.a11y_input_ariaRequired}\n aria-label={this.questionBase.a11y_input_ariaLabel}\n aria-labelledby={this.questionBase.a11y_input_ariaLabelledBy}\n aria-invalid={this.questionBase.a11y_input_ariaInvalid}\n aria-errormessage={this.questionBase.a11y_input_ariaErrormessage}\n >\n <div className=\"spg-boolean-switch__thumb\">\n <div className=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left\"></div>\n </div>\n <div className=\"spg-boolean-switch__thumb\">\n <div className=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right\"></div>\n </div>\n </div>, this.questionBase, { processEsc: false });\n\n return (\n <div className=\"spg-boolean-switch\" onClick={() => this.questionBase.booleanValue = !this.questionBase.booleanValue}>\n {button}\n <div className=\"spg-boolean-switch__caption\">\n <div className=\"spg-boolean-switch__title\" id={this.questionBase.labelRenderedAriaID}>\n {SurveyElementBase.renderLocString(this.questionBase.locTitle)}\n </div>\n </div>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-boolean-switch\",\n (props) => {\n return React.createElement(SurveyQuestionBooleanSwitch, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"boolean\",\n \"switch\",\n \"sv-boolean-switch\"\n);\n","import * as React from \"react\";\nimport { ItemValue } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\n\nclass ItemTemplateComponent extends SurveyElementBase<{ item: ItemValue }, any> {\n render() {\n const item = this.props.item;\n return (\n <>\n <span className=\"spg-color-editor__color-swatch\" style={{ backgroundColor: item.value }}></span>\n <span key={2}>{this.renderLocString(item.locTitle, undefined, \"locString\")}</span>\n </>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"color-item\",\n (props) => {\n return React.createElement(ItemTemplateComponent, props);\n }\n);","import * as React from \"react\";\nimport { QuestionColorModel } from \"survey-creator-core\";\nimport { ReactElementFactory, ReactQuestionFactory, SurveyQuestionText, SvgIcon, Popup } from \"survey-react-ui\";\n\nexport class SurveyQuestionColor extends SurveyQuestionText {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionColorModel {\n return this.questionBase as QuestionColorModel;\n }\n protected renderInput() {\n return (\n <>\n <input\n id={this.question.inputId}\n disabled={this.isDisplayMode}\n className={this.question.cssClasses.control}\n ref={(input) => (this.setControl(input))}\n placeholder={this.question.renderedPlaceholder}\n autoComplete=\"off\"\n onKeyUp={(event) => this.question.onKeyUp(event.nativeEvent)}\n onBlur={(event) => this.question.onBlur(event.nativeEvent)}\n onChange={this.question.onChange}\n onBeforeInput={event => this.question.onBeforeInput(event.nativeEvent as InputEvent)}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n />\n </>\n );\n }\n protected renderElement(): React.JSX.Element {\n return (\n <div className={this.question.cssClasses.root} onKeyDown={event => this.question.onKeyDown(event.nativeEvent)}>\n {this.renderColorSwatch()}\n {this.renderInput()}\n {this.question.showDropdownAction ? this.renderDropdownAction() : null}\n </div>\n );\n }\n protected getValueCore() {\n return this.question.renderedValue;\n }\n protected renderColorSwatch(): React.JSX.Element {\n return <label className={this.question.getSwatchCss()} style={this.question.getSwatchStyle()}>\n <SvgIcon iconName={this.question.cssClasses.swatchIcon} size={\"auto\"}></SvgIcon>\n <input type=\"color\"\n disabled={this.isDisplayMode}\n value={this.question.renderedColorValue}\n className={this.question.cssClasses.colorInput}\n onChange={(event) => this.question.onColorInputChange(event.nativeEvent)}\n tabIndex={-1}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-describedby={this.question.a11y_input_ariaDescribedBy} />\n </label>;\n }\n protected renderDropdownAction(): React.JSX.Element {\n return (\n <>\n <div aria-hidden=\"true\" className={this.question.cssClasses.choicesButtonWrapper}>\n {ReactElementFactory.Instance.createElement(\"sv-action-bar-item\", { item: this.question.dropdownAction })}\n </div>\n {this.renderPopup()}\n </>\n );\n }\n protected renderPopup(): React.JSX.Element {\n return <Popup model={this.question.dropdownAction.popupModel}></Popup>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"color\", (props) => {\n return React.createElement(SurveyQuestionColor, props);\n});","import * as React from \"react\";\nimport { QuestionFileEditorModel } from \"survey-creator-core\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon, attachKey2click } from \"survey-react-ui\";\n\nexport class SurveyQuestionFileEditor extends SurveyQuestionText {\n constructor(props: any) {\n super(props);\n }\n protected get questionFile(): QuestionFileEditorModel {\n return this.questionBase as QuestionFileEditorModel;\n }\n protected getValueCore() {\n return this.question.renderedValue;\n }\n protected renderInput() {\n return (\n <>\n <input\n disabled={this.question.isTextInputReadOnly}\n className={this.questionFile.cssClasses.control}\n placeholder={this.questionFile.renderedPlaceholder}\n ref={(input) => (this.setControl(input))}\n autoComplete=\"off\"\n type=\"text\"\n onBlur={(event) => this.questionFile.onInputBlur(event.nativeEvent)}\n onChange={(event) => this.questionFile.onInputChange(event.nativeEvent)}\n />\n </>\n );\n }\n protected renderFileInput(): React.JSX.Element {\n return (\n <input\n type=\"file\"\n disabled={this.isDisplayMode}\n className={this.questionFile.cssClasses.fileInput}\n id={this.questionFile.inputId}\n aria-required={this.questionFile.ariaRequired}\n aria-label={this.questionFile.ariaLabel}\n aria-invalid={this.questionFile.ariaInvalid}\n aria-describedby={this.questionFile.ariaDescribedBy}\n multiple={false} title={this.questionFile.inputTitle}\n accept={this.questionFile.acceptedTypes}\n tabIndex={-1}\n onChange={(event) => this.questionFile.onFileInputChange(event.nativeEvent)} />\n );\n }\n protected renderButtons(): React.JSX.Element {\n return (\n <div className={this.questionFile.cssClasses.buttonsContainer}>\n {this.renderClearButton()}\n {this.renderChooseButton()}\n </div>\n );\n }\n protected renderClearButton(): React.JSX.Element {\n return attachKey2click((\n <button\n className={this.questionFile.cssClasses.clearButton}\n title={this.questionFile.clearButtonCaption}\n disabled={this.questionFile.getIsClearButtonDisabled()}\n onClick={this.questionFile.doClean}>\n <SvgIcon iconName={this.questionFile.cssClasses.clearButtonIcon} size={\"auto\"}></SvgIcon>\n </button>\n ));\n }\n protected renderChooseButton(): React.JSX.Element {\n return (\n attachKey2click(\n <label\n onClick={event => this.questionFile.chooseFiles(event.nativeEvent)}\n className={this.questionFile.getChooseButtonCss()}\n htmlFor={this.questionFile.inputId}\n aria-label={this.questionFile.chooseButtonCaption}>\n <SvgIcon iconName={this.questionFile.cssClasses.chooseButtonIcon} size={\"auto\"} title={this.questionFile.chooseButtonCaption}></SvgIcon>\n </label>\n )\n );\n }\n protected renderElement(): React.JSX.Element {\n return (\n <div\n className={this.questionFile.cssClasses.root}\n ref={el => this.setContent(el)}\n onDragEnter={this.questionFile.onDragEnter}\n onDragOver={this.questionFile.onDragOver}\n onDrop={this.questionFile.onDrop}\n onDragLeave={this.questionFile.onDragLeave}\n onKeyDown={event => this.question.onKeyDown(event.nativeEvent)}>\n {this.renderInput()}\n {this.renderFileInput()}\n {this.renderButtons()}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"fileedit\", (props) => {\n return React.createElement(SurveyQuestionFileEditor, props);\n});","import * as React from \"react\";\nimport { QuestionSpinEditorModel } from \"survey-creator-core\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon } from \"survey-react-ui\";\n\nexport class SurveyQuestionSpinEditor extends SurveyQuestionText {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionSpinEditorModel {\n return this.questionBase as QuestionSpinEditorModel;\n }\n protected renderInput() {\n return (\n <>\n <input\n role=\"spinbutton\"\n id={this.question.inputId}\n disabled={this.isDisplayMode}\n className={this.question.cssClasses.control}\n ref={(input) => (this.setControl(input))}\n placeholder={this.question.renderedPlaceholder}\n autoComplete=\"off\"\n onBlur={(event) => this.question.onBlur(event.nativeEvent)}\n onFocus={(event) => this.question.onFocus(event.nativeEvent)}\n onChange={this.question.onChange}\n onBeforeInput={event => this.question.onBeforeInput(event.nativeEvent as InputEvent)}\n onKeyUp={(event) => this.question.onKeyUp(event.nativeEvent)}\n onKeyDown={(event) => this.question.onInputKeyDown(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 </>\n );\n }\n protected renderElement(): React.JSX.Element {\n return (\n <div className={this.question.cssClasses.root} onKeyDown={event => this.question.onKeyDown(event.nativeEvent)}>\n {this.renderInput()}\n {this.renderButtons()}\n </div>\n );\n }\n protected getValueCore() {\n return this.question.renderedValue;\n }\n protected renderButtons(): React.JSX.Element {\n return (\n <span className={this.question.cssClasses.buttonsContainer}>\n <button\n tabIndex={-1}\n aria-hidden={\"true\"}\n className={this.question.cssClasses.arrowButton}\n disabled={this.isDisplayMode}\n onClick={this.question.onDownButtonClick}\n onMouseDown={this.question.onDownButtonMouseDown}\n onMouseUp={this.question.onButtonMouseUp}\n onMouseLeave={this.question.onButtonMouseLeave}\n onBlur={event => this.question.onBlur(event.nativeEvent)}\n onFocus={event => this.question.onFocus(event.nativeEvent)}>\n <SvgIcon iconName={this.question.cssClasses.decreaseButtonIcon} size={\"auto\"}></SvgIcon>\n </button>\n <button\n tabIndex={-1}\n aria-hidden={\"true\"}\n className={this.question.cssClasses.arrowButton}\n disabled={this.isDisplayMode}\n onClick={this.question.onUpButtonClick}\n onMouseDown={this.question.onUpButtonMouseDown}\n onMouseUp={this.question.onButtonMouseUp}\n onMouseLeave={this.question.onButtonMouseLeave}\n onBlur={event => this.question.onBlur(event.nativeEvent)}\n onFocus={event => this.question.onFocus(event.nativeEvent)}>\n <SvgIcon iconName={this.question.cssClasses.increaseButtonIcon} size={\"auto\"}></SvgIcon>\n </button>\n </span>\n );\n }\n\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"spinedit\", (props) => {\n return React.createElement(SurveyQuestionSpinEditor, props);\n});\n","import * as React from \"react\";\nimport { QuestionCommentWithResetModel, QuestionTextWithResetModel } from \"survey-creator-core\";\nimport { ReactQuestionFactory, SurveyQuestionElementBase, SurveyQuestionText, SvgIcon } from \"survey-react-ui\";\n\nexport class SurveyQuestionTextWithReset extends SurveyQuestionElementBase {\n protected get question(): QuestionTextWithResetModel | QuestionCommentWithResetModel {\n return this.questionBase as unknown as (QuestionTextWithResetModel | QuestionCommentWithResetModel);\n }\n protected renderElement(): React.JSX.Element {\n const textElement = this.renderInput();\n const resetButton = this.renderResetButton();\n return (\n <div className={this.question.getRootClass()}>\n {textElement}\n {resetButton}\n </div>\n );\n }\n\n protected renderInput() {\n return ReactQuestionFactory.Instance.createQuestion(this.question.wrappedQuestionTemplate,\n {\n question: this.question,\n isDisplayMode: this.question.isInputReadOnly,\n creator: this,\n });\n }\n protected renderResetButton() {\n return (<button\n className={this.question.cssClasses.resetButton}\n disabled={this.question.resetValueAdorner.isDisabled}\n title={this.question.resetValueAdorner.caption}\n onClick={() => this.question.resetValueAdorner.resetValue()}>\n <SvgIcon iconName={this.question.cssClasses.resetButtonIcon} size={\"auto\"}></SvgIcon>\n </button>);\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"textwithreset\", (props) => {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"commentwithreset\", (props) => {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});","declare var Reflect:any;\n\nexport var __decorate = function(\n decorators: any,\n target: any,\n key: any,\n desc: any\n) {\n var c = arguments.length,\n r =\n c < 3\n ? target\n : desc === null\n ? (desc = Object.getOwnPropertyDescriptor(target, key))\n : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if ((d = decorators[i]))\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\nexport var __assign =\n Object[\"assign\"] ||\n function(target) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s)\n if (Object.prototype.hasOwnProperty.call(s, p)) target[p] = s[p];\n }\n return target;\n };\n\nexport function __extends(thisClass, baseClass) {\n for (var p in baseClass)\n if (baseClass.hasOwnProperty(p)) thisClass[p] = baseClass[p];\n function __() {\n this.constructor = thisClass;\n }\n thisClass.prototype =\n baseClass === null\n ? Object.create(baseClass)\n : ((__.prototype = baseClass.prototype), new __());\n}\n\nexport var __spreadArrays = function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n};\n","export let Version: string;\nVersion = `${process.env.VERSION}`;\n\n// import \"@survey/creator/survey-creator-core.css\";\n\nexport { SurveyCreatorComponent } from \"../SurveyCreator\";\n\nexport * from \"../adorners/Row\";\nexport * from \"../adorners/Question\";\nexport * from \"../adorners/QuestionHeader\";\nexport * from \"../adorners/QuestionFooter\";\nexport * from \"../adorners/QuestionBanner\";\nexport * from \"../adorners/QuestionDropdown\";\nexport * from \"../adorners/QuestionImage\";\nexport * from \"../adorners/QuestionRating\";\nexport * from \"../adorners/QuestionWidget\";\nexport * from \"../adorners/CellQuestion\";\nexport * from \"../adorners/CellQuestionDropdown\";\nexport * from \"../adorners/Page\";\nexport * from \"../adorners/Panel\";\n\nexport * from \"../LogoImage\";\nexport * from \"../QuestionLinkValue\";\nexport * from \"../QuestionEmbeddedSurvey\";\nexport * from \"../QuestionEditorContent\";\nexport * from \"../ItemValueWrapper\";\nexport * from \"../ImageItemValueWrapper\";\nexport * from \"../MatrixCellWrapper\";\nexport * from \"../Results\";\nexport * from \"../toolbox/ToolboxItem\";\nexport * from \"../toolbox/ToolboxItemGroup\";\nexport * from \"../toolbox/ToolboxCategory\";\nexport * from \"../toolbox/ToolboxList\";\nexport * from \"../toolbox/AdaptiveToolbox\";\nexport * from \"../TabbedMenu\";\nexport * from \"../Navigation\";\nexport * from \"../side-bar/TabControl\";\nexport * from \"../side-bar/TabButton\";\nexport * from \"../side-bar/SideBarDefaultHeader\";\nexport * from \"../side-bar/SideBarPropertyGridHeader\";\nexport * from \"../side-bar/SideBarHeader\";\nexport * from \"../side-bar/SideBar\";\nexport * from \"../tabs/translation/TranslationLineSkeleton\";\nexport * from \"../tabs/translation/TranslateFromAction\";\nexport * from \"../ActionButton\";\nexport * from \"../StringEditor\";\nexport * from \"../QuestionError\";\n\nexport * from \"../tabs/logic-operator\";\nexport * from \"../tabs/Designer\";\nexport * from \"../tabs/JsonEditorAce\";\nexport * from \"../tabs/JsonEditorTextarea\";\nexport * from \"../tabs/Logic\";\nexport * from \"../tabs/Preview\";\nexport * from \"../side-bar/PropertyGridPlaceholder\";\nexport * from \"../tabs/Theme\";\nexport * from \"../tabs/translation/Translation\";\nexport * from \"../tabs/SurveySimulator\";\n\nexport * from \"../events\";\nexport * from \"../side-bar/ObjectSelector\";\nexport * from \"../side-bar/PropertyGrid\";\nexport * from \"../components/Search\";\nexport * from \"../components/ComponentContainer\";\nexport * from \"../Switcher\";\n\nexport * from \"../tabs/JsonErrorItem\";\n\n//custom questions\nexport * from \"../custom-questions/SpinEditor\";\nexport * from \"../custom-questions/ColorItem\";\nexport * from \"../custom-questions/ColorQuestion\";\nexport * from \"../custom-questions/FileEditQuestion\";\nexport * from \"../custom-questions/TextWithResetQuestion\";\nexport * from \"../custom-questions/BooleanSwitch\";\n\nexport { editorLocalization, localization } from \"survey-creator-core\";\nexport { settings } from \"survey-creator-core\";\nexport { svgBundle } from \"survey-creator-core\";\nexport { SurveyLogic, SurveyLogicUI } from \"survey-creator-core\";\nexport { SurveyQuestionEditorDefinition } from \"survey-creator-core\";\nexport { ISurveyCreatorOptions, IPropertyGridEditor } from \"survey-creator-core\";\nexport { ToolboxToolViewModel, PropertyGridEditorCollection } from \"survey-creator-core\";\n\nimport { checkLibraryVersion } from \"survey-core\";\ncheckLibraryVersion(`${process.env.VERSION}`, \"survey-creator-react\");","import { IPortableDragEvent, IPortableMouseEvent } from \"survey-creator-core\";\n\nexport class ReactMouseEvent implements IPortableMouseEvent {\n constructor(public event: React.MouseEvent<HTMLDivElement, MouseEvent>) {}\n stopPropagation() {\n this.event.stopPropagation();\n //this.event.nativeEvent.stopPropagation();\n //this.event.nativeEvent.stopImmediatePropagation();\n }\n preventDefault() {\n this.event.preventDefault();\n //this.event.nativeEvent.preventDefault();\n }\n get cancelBubble(): boolean {\n //return this.event.cancelBubble;\n return false;\n }\n set cancelBubble(value: boolean) {\n //this.event.cancelBubble = value;\n }\n get target(): EventTarget | null {\n return this.event.target;\n }\n get currentTarget(): EventTarget | null {\n return this.event.currentTarget;\n }\n get clientX(): number {\n return this.event.clientX;\n }\n get clientY(): number {\n return this.event.clientY;\n }\n get offsetX(): number {\n return this.event.nativeEvent.offsetX;\n }\n get offsetY(): number {\n return this.event.nativeEvent.offsetY;\n }\n}\n\nexport class ReactDragEvent extends ReactMouseEvent\n implements IPortableDragEvent {\n constructor(public event: React.DragEvent<HTMLDivElement>) {\n super(event);\n }\n\n get dataTransfer(): DataTransfer {\n return this.event.dataTransfer;\n }\n}\n","import * as React from \"react\";\nimport { ObjectSelectorModel } from \"survey-creator-core\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\n\ninterface IObjectSelectorComponentProps {\n model: ObjectSelectorModel;\n}\nclass ObjectSelectorComponent extends SurveyElementBase<IObjectSelectorComponentProps, any> {\n protected get model(): ObjectSelectorModel {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderElement(): React.JSX.Element {\n if (!this.model.isVisible) return null;\n\n return (<List model={this.model.list}></List>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-object-selector\", (props) => {\n return React.createElement(\n ObjectSelectorComponent,\n props as IObjectSelectorComponentProps\n );\n});\n","import * as React from \"react\";\nimport { PropertyGridViewModel, SearchManager } from \"survey-creator-core\";\nimport { Base, SurveyModel, settings } from \"survey-core\";\nimport { Survey, SurveyElementBase, ReactQuestionFactory, SurveyQuestionButtonGroup, ReactElementFactory, SvgIcon, SurveyActionBar, Scroll } from \"survey-react-ui\";\nimport { SearchComponent } from \"../components/Search\";\n\ninterface IPropertyGridComponentProps {\n model: PropertyGridViewModel;\n}\n\nexport class PropertyGridComponent extends SurveyElementBase<IPropertyGridComponentProps, any> {\n\n get model(): PropertyGridViewModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n public canRender(): boolean {\n if (!this.model) return false;\n return super.canRender();\n }\n\n renderElement() {\n return (\n <div className={this.model.rootCss}>\n <SearchComponent model={this.model.searchManager}></SearchComponent>\n <Survey model={this.model.survey}></Survey>\n </div>\n );\n }\n}\n\nexport default PropertyGridComponent;\n\nReactElementFactory.Instance.registerElement(\"svc-property-grid\", (props) => {\n return React.createElement(PropertyGridComponent, props);\n});","import * as React from \"react\";\nimport { editorLocalization } from \"survey-creator-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\nexport class PropertyGridPlaceholderComponent extends React.Component<any, any> {\n\n render(): React.JSX.Element | null {\n return (\n <div className=\"svc-property-grid-placeholder\">\n <div className=\"svc-property-grid-placeholder__header\">\n <span className=\"svc-property-grid-placeholder__title\">{editorLocalization.getString(\"ed.propertyGridPlaceholderTitle\")}</span>\n <span className=\"svc-property-grid-placeholder__description\">{editorLocalization.getString(\"ed.propertyGridPlaceholderDescription\")}</span>\n </div>\n <div className=\"svc-property-grid-placeholder__content\">\n <div className=\"svc-property-grid-placeholder__gap\"></div>\n <div className=\"svc-property-grid-placeholder__image\"></div>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-property-grid-placeholder\", (props) => {\n return React.createElement(PropertyGridPlaceholderComponent, props);\n});","import * as React from \"react\";\nimport { SidebarPageModel, SidebarModel } from \"survey-creator-core\";\nimport { Base } from \"survey-core\";\nimport { SurveyElementBase, ReactQuestionFactory, ReactElementFactory } from \"survey-react-ui\";\n\ninterface ISidebarComponentProps {\n model: SidebarModel;\n}\n\nexport class SidebarComponent extends SurveyElementBase<ISidebarComponentProps, any> {\n private containerRef: React.RefObject<HTMLDivElement>;\n\n get model(): SidebarModel {\n return this.props.model;\n }\n\n constructor(props: ISidebarComponentProps) {\n super(props);\n this.containerRef = React.createRef();\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.model.initResizeManager(this.containerRef.current);\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.model.resetResizeManager();\n }\n public canRender(): boolean {\n if (!this.model) return false;\n return super.canRender();\n }\n\n renderElement(): React.JSX.Element {\n const style = { display: this.model.renderRoot ? \"\" : \"none\" };\n const containerStyle = { display: this.model.renderContainer ? \"\" : \"none\" };\n const items = this.model.pages.map((page) => <SidebarPage page={page} key={page.id} />);\n const headerArea = ReactElementFactory.Instance.createElement(this.model.header.component, { model: this.model.header.componentModel });\n let sideArea = null;\n if (this.model.sideAreaComponentName) {\n sideArea = ReactElementFactory.Instance.createElement(this.model.sideAreaComponentName, { model: this.model.sideAreaComponentData });\n }\n\n return (\n <div className={this.model.rootCss} style={style}>\n <div className=\"svc-side-bar__shadow\" onClick={() => this.model.collapseSidebar()} style={containerStyle}></div>\n <div className=\"svc-flex-row svc-side-bar__wrapper\">\n <div className=\"svc-side-bar__container-wrapper\" style={containerStyle}>\n <div ref={this.containerRef} className=\"svc-side-bar__container\">\n {headerArea}\n <div className=\"svc-side-bar__container-content\">{items}</div>\n </div>\n </div>\n {sideArea}\n </div>\n </div>\n );\n }\n}\n\nclass SidebarPage extends SurveyElementBase<any, any> {\n private get page(): SidebarPageModel {\n return this.props.page;\n }\n\n protected getStateElement(): Base {\n return this.page;\n }\n\n renderElement(): React.JSX.Element {\n if (!this.page.visible) return null;\n\n const component = ReactElementFactory.Instance.createElement(this.page.componentName, { model: this.page.componentData });\n\n return component;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"svc-side-bar-page\", (props) => {\n return React.createElement(SidebarPage, props);\n});\n\nexport default SidebarComponent;\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar\", (props) => {\n return React.createElement(SidebarComponent, props);\n});","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { SurveyElementBase, ReactElementFactory, SurveyActionBar } from \"survey-react-ui\";\nimport { SidebarHeaderModel } from \"survey-creator-core\";\n\ninterface ISideBarHeaderProps {\n model: SidebarHeaderModel;\n}\n\nexport class SideBarDefaultHeader extends SurveyElementBase<ISideBarHeaderProps, any> {\n get model(): SidebarHeaderModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base | null {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const title = !!this.model.title ? (\n <div className=\"svc-side-bar__container-title\">{this.model.title}</div>\n ) : null;\n return (\n <div className=\"svc-side-bar__container-header\">\n <div className=\"svc-side-bar__container-actions\">\n <SurveyActionBar model={this.model.toolbar}></SurveyActionBar>\n </div>\n {title}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar-default-header\", (props) => {\n return React.createElement(SideBarDefaultHeader, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { SidebarHeaderModel } from \"survey-creator-core\";\nimport { SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\n\ninterface ISideBarHeaderProps {\n model: SidebarHeaderModel;\n}\n\nclass SideBarHeader extends SurveyElementBase<ISideBarHeaderProps, any> {\n get model(): SidebarHeaderModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base | null {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n return (\n <div className=\"svc-side-bar__container-header svc-sidebar__header-container\">\n {(this.model.subTitle) ?\n <div className=\"svc-sidebar__header-caption\">\n <span className=\"svc-sidebar__header-title\">{this.model.title}</span>\n <span className=\"svc-sidebar__header-subtitle\">{this.model.subTitle}</span>\n </div>\n : <div className=\"svc-side-bar__container-title\">{this.model.title}</div>\n }\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar-header\", (props) => {\n return React.createElement(SideBarHeader, props);\n});","import * as React from \"react\";\nimport { Base, getActionDropdownButtonTarget } from \"survey-core\";\nimport { SurveyElementBase, ReactElementFactory, Popup, attachKey2click } from \"survey-react-ui\";\nimport { MenuButton } from \"survey-creator-core\";\n\ninterface ISideBarPropertyGridHeaderProps {\n model: MenuButton;\n}\n\nclass SideBarPropertyGridHeader extends SurveyElementBase<ISideBarPropertyGridHeaderProps, any> {\n get objectSelectionAction(): MenuButton {\n return this.props.model;\n }\n\n protected getStateElement(): Base | null {\n return this.objectSelectionAction;\n }\n\n renderElement(): React.JSX.Element {\n const button = attachKey2click(\n <div className={this.objectSelectionAction.buttonClassName} onClick={() => this.objectSelectionAction.action()}>\n <div className=\"svc-sidebar__header-caption\">\n <span className=\"svc-sidebar__header-title\">{this.objectSelectionAction.title}</span>\n <span className=\"svc-sidebar__header-subtitle\">{this.objectSelectionAction.tooltip}</span>\n </div>\n </div>, this.props.model\n );\n\n return (\n <div className=\"svc-sidebar__header svc-sidebar__header--tabbed\">\n <div className=\"svc-sidebar__header-container svc-sidebar__header-container--with-subtitle\">\n <div className=\"svc-sidebar__header-content\">\n {button}\n <Popup model={this.objectSelectionAction.popupModel}></Popup>\n </div>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar-property-grid-header\", (props) => {\n return React.createElement(SideBarPropertyGridHeader, props);\n});","\nimport * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { attachKey2click, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { MenuButton } from \"survey-creator-core\";\n\nexport class TabButtonComponent extends SurveyElementBase<{ model: MenuButton }, any> {\n constructor(props: { model: MenuButton }) {\n super(props);\n }\n\n protected getStateElement(): Base {\n return this.props.model;\n }\n\n protected renderElement(): React.JSX.Element | null {\n const model = this.props.model;\n if (!model.visible) return null;\n const button = attachKey2click(\n <div\n className={model.buttonClassName}\n title={model.tooltip}\n onClick={() => { model.action(); }}\n >\n <div className=\"svc-menu-action__icon\">\n <div className=\"svc-menu-action__icon-container\">\n <SvgIcon iconName={model.iconName} size={\"auto\"}></SvgIcon>\n </div>\n </div>\n </div>, model\n );\n return (\n <div className=\"svc-menu-action\">\n {button}\n </div>\n );\n }\n}\n","import * as React from \"react\";\nimport { Action, ActionContainer, Base } from \"survey-core\";\nimport { SurveyElementBase, ReactElementFactory, Scroll, SurveyActionBar } from \"survey-react-ui\";\nimport { MenuButton, TabControlModel } from \"survey-creator-core\";\nimport { TabButtonComponent } from \"./TabButton\";\n\ninterface ITabControlProps {\n model?: TabControlModel;\n}\n\nclass TabControl extends SurveyElementBase<any, any> {\n constructor(props: ITabControlProps) {\n super(props);\n }\n\n protected getStateElement(): Base {\n return this.props.model;\n }\n\n public canRender(): boolean {\n if (!this.props.model) return false;\n return super.canRender();\n }\n renderElement() {\n return (\n <div className={this.props.model.sideBarClassName}>\n <div className=\"svc-sidebar-tabs__top-container\">\n <div className=\"svc-sidebar-tabs__collapse-button\">\n <TabButtonComponent model={this.props.model.expandCollapseAction} ></TabButtonComponent>\n </div>\n <div className=\"svc-sidebar-tabs__separator\">\n <div></div>\n </div>\n <Scroll>\n <div className=\"svc-sidebar-tabs__items\">\n <TabsComponent model={this.props.model.topToolbar}></TabsComponent>\n </div>\n </Scroll>\n </div>\n <div className=\"svc-sidebar-tabs__bottom-container\">\n <div className=\"svc-sidebar-tabs__items\">\n <SurveyActionBar model={this.props.model.bottomToolbar}></SurveyActionBar>\n </div>\n </div>\n </div>\n );\n }\n\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-control\", (props) => {\n return React.createElement(TabControl, props);\n});\n\nclass TabsComponent extends SurveyElementBase<{ model: ActionContainer }, any> {\n constructor(props: { model: ActionContainer }) {\n super(props);\n }\n\n protected getStateElement(): Base {\n return this.props.model;\n }\n\n protected renderElement(): React.JSX.Element | null {\n return <>{this.props.model.actions.map(\n (item: Action, itemIndex: number) => <TabButtonComponent model={item as MenuButton} key={\"item\" + itemIndex}></TabButtonComponent>\n )}</>;\n }\n}\n","import * as React from \"react\";\nimport { Base, SurveyModel, PageModel } from \"survey-core\";\nimport {\n ReactElementFactory,\n Scroll,\n SurveyActionBar,\n SurveyElementBase,\n SurveyHeader\n} from \"survey-react-ui\";\nimport { SurveyCreatorModel, TabDesignerViewModel } from \"survey-creator-core\";\nimport { SurveyPageNavigator } from \"../PageNavigator\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\ninterface ITabDesignerComponentProps {\n data: TabDesignerViewModel;\n}\n\nexport class TabDesignerComponent extends SurveyElementBase<ITabDesignerComponentProps, any> {\n private get model(): TabDesignerViewModel {\n return this.props.data;\n }\n protected get creator(): SurveyCreatorModel {\n return this.model.creator;\n }\n\n private denyUpdate = () => {\n this.denyComponentUpdate();\n };\n\n private allowUpdate = () => {\n this.allowComponentUpdate();\n };\n\n private addDragDropEvents = () => {\n this.creator.onDragStart.add(this.denyUpdate);\n this.creator.onDragClear.add(this.allowUpdate);\n };\n\n private clearDragDropEvents = () => {\n this.creator.onDragStart.remove(this.denyUpdate);\n this.creator.onDragClear.remove(this.allowUpdate);\n };\n\n componentDidMount(): void {\n super.componentDidMount();\n this.addDragDropEvents();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.clearDragDropEvents();\n super.componentWillUnmount();\n }\n\n protected getStateElements(): Array<Base> {\n return [this.model, this.model.survey, this.model.pagesController];\n }\n\n protected getRenderedPages(): React.JSX.Element[] {\n const renderedPages = [];\n\n if (this.creator.pageEditMode !== \"bypage\") {\n const pages = this.model.pages;\n pages.forEach((page) => {\n renderedPages.push(this.createRenderedPage(page, \"svc-page\", page == this.model.newPage));\n });\n } else {\n const page2Display = this.model.pagesController.page2Display;\n if (!!page2Display) {\n renderedPages.push(this.createRenderedPage(page2Display, \"svc-page\", this.model.newPage === page2Display));\n }\n }\n\n return renderedPages;\n }\n protected createRenderedPage(page: PageModel | undefined, className: string, isGhostPage?: boolean): any {\n return <PageWrapperComponent key={page?.id} page={page} isGhost={isGhostPage} creator={this.creator} className={className}></PageWrapperComponent>;\n }\n renderElement(): React.JSX.Element {\n const designerTabClassName = \"svc-tab-designer \" + this.model.getRootCss();\n\n return (\n <React.Fragment>\n <div className=\"svc-flex-column\">\n {this.model.isToolboxVisible ? ReactElementFactory.Instance.createElement(\"svc-toolbox\", { model: this.creator }) : null}\n </div>\n <div className={designerTabClassName} onClick={() => this.model.clickDesigner()}>\n <Scroll>\n <div className=\"svc-tab-designer_content\">\n {this.model.showPlaceholder ? this.renderPlaceHolder() : this.renderTabContent()}\n </div>\n </Scroll>\n </div>\n </React.Fragment>\n );\n }\n\n renderHeader(condition: boolean): React.JSX.Element {\n if (!condition) return null;\n\n const survey: SurveyModel = this.creator.survey;\n return (<React.Fragment>\n <div className=\"svc-designer-header\">\n <SurveyHeader survey={survey}></SurveyHeader>\n </div>\n </React.Fragment>);\n }\n renderPlaceHolder(): React.JSX.Element {\n const surveyHeader = this.renderHeader(this.creator.showSurveyHeader && this.creator.showHeaderInEmptySurvey);\n\n return (<React.Fragment>\n {surveyHeader}\n <div className=\"svc-designer__placeholder-container\" data-sv-drop-target-survey-element={\"newGhostPage\"}>\n {this.renderPlaceHolderContent()}\n {this.createRenderedPage(this.model.newPage, \"svc-designer-placeholder-page\", true)}\n </div>\n </React.Fragment>);\n }\n renderPlaceHolderContent(): React.JSX.Element {\n return <SurfacePlaceholder name={\"designer\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n }\n renderTabContent(): React.JSX.Element {\n const survey: SurveyModel = this.creator.survey;\n const surveyHeader = this.renderHeader(this.creator.showSurveyHeader);\n const style: any = { ...this.model.surfaceCssVariables };\n style.maxWidth = survey.renderedWidth;\n\n const tabTools = this.renderTabTools();\n\n return (<React.Fragment>\n <div className={this.model.designerCss} style={style} >\n {surveyHeader}\n {/* <SurveyNavigation survey={survey} location=\"top\" /> */}\n {this.getRenderedPages()}\n {/* <SurveyNavigation\n survey={survey}\n location=\"bottom\"\n css={survey.css}\n /> */}\n </div>\n {tabTools}\n </React.Fragment>);\n }\n\n renderTabTools(): React.JSX.Element {\n if (!this.model.showSurfaceTools) return null;\n\n const pageNavigator = this.creator.showPageNavigator ?\n <div className=\"svc-tab-designer__page-navigator\"><SurveyPageNavigator\n pagesController={this.model.pagesController} pageEditMode={this.model.creator.pageEditMode}\n ></SurveyPageNavigator></div>\n : null;\n\n const surfaceToolbar = this.model.showSurfaceToolbar ?\n <SurveyActionBar model={this.model.surfaceToolbar} handleClick={false}></SurveyActionBar>\n : null;\n\n return <div className=\"svc-tab-designer__tools\">\n {pageNavigator}\n {surfaceToolbar}\n </div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-designer\", (props) => {\n return React.createElement(\n TabDesignerComponent,\n props as ITabDesignerComponentProps\n );\n});\n\ninterface IPageWrapperComponentProps {\n page?: PageModel;\n isGhost: boolean;\n creator: SurveyCreatorModel;\n className: string;\n}\nclass PageWrapperComponent extends React.Component<IPageWrapperComponentProps, any> {\n private static ID = 0;\n private id = `PageWrapperCallback_${++PageWrapperComponent.ID}`;\n constructor(props: IPageWrapperComponentProps) {\n super(props);\n this.state = { changed: 0 };\n }\n render() {\n const pageContent = !!this.props.page ? ReactElementFactory.Instance.createElement(\"svc-page\", { survey: this.props.creator.survey, page: this.props.page, creator: this.props.creator, isGhost: this.props.isGhost }) : null;\n return <div\n className={this.props.className}\n data-sv-drop-target-page={this.props.page?.name}\n data-sv-drop-target-survey-element={this.props.isGhost ? \"newGhostPage\" : this.props.page?.name}\n >\n {pageContent}\n </div>;\n }\n setupCallback(page?: PageModel) {\n if (!page) return;\n page.registerFunctionOnPropertyValueChanged(\"name\", () => {\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\n }, this.id);\n }\n clearCallback(page?: PageModel) {\n if (!page) return;\n page.unRegisterFunctionOnPropertyValueChanged(\"name\");\n }\n componentDidUpdate(prevProps: IPageWrapperComponentProps, prevState: any): void {\n if (prevProps.page !== this.props.page) {\n this.clearCallback(prevProps.page);\n this.setupCallback(this.props.page);\n }\n }\n componentDidMount(): void {\n this.setupCallback(this.props.page);\n }\n componentWillUnmount(): void {\n this.clearCallback(this.props.page);\n }\n}","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { AceJsonEditorModel } from \"survey-creator-core\";\nimport { TabJsonEditorErrorsComponent } from \"./JsonEditorTextarea\";\n\ninterface ITabJsonEditorAceComponentProps {\n data: AceJsonEditorModel;\n}\n\nexport class TabJsonEditorAceComponent extends SurveyElementBase<\n ITabJsonEditorAceComponentProps,\n any\n> {\n private aceEditorrRef: React.RefObject<HTMLDivElement>;\n constructor(props: ITabJsonEditorAceComponentProps) {\n super(props);\n this.aceEditorrRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private get model(): AceJsonEditorModel {\n return this.props.data;\n }\n componentDidMount() {\n this.model.init(ace.edit(this.aceEditorrRef.current as HTMLElement));\n }\n renderElement(): React.JSX.Element {\n const errors = <TabJsonEditorErrorsComponent data={this.model} />;\n return (\n <div className=\"svc-creator-tab__content\">\n <div className=\"svc-json-editor-tab__content\">\n <div\n className=\"svc-json-editor-tab__ace-editor\"\n ref={this.aceEditorrRef}\n ></div>\n {errors}\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-tab-json-editor-ace\",\n (props: ITabJsonEditorAceComponentProps) => {\n return React.createElement(TabJsonEditorAceComponent, props);\n }\n);\n","import { ChangeEvent } from \"react\";\nimport * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\nimport { TextareaJsonEditorModel, JsonEditorBaseModel } from \"survey-creator-core\";\n\ninterface ITabJsonEditorTextareaComponentProps {\n data: TextareaJsonEditorModel;\n}\n\ninterface ITabJsonEditorErrorsProps {\n data: JsonEditorBaseModel;\n}\n\nexport class TabJsonEditorErrorsComponent extends SurveyElementBase<ITabJsonEditorErrorsProps, any> {\n protected getStateElement(): Base {\n return this.model;\n }\n private get model(): JsonEditorBaseModel {\n return this.props.data;\n }\n renderElement(): React.JSX.Element {\n return <div className=\"svc-json-editor-tab__errros_list\" style={{ display: this.model.hasErrors ? \"block\" : \"none\" }}>\n <List model={this.model.errorList} />\n </div>;\n }\n}\n\nexport class TabJsonEditorTextareaComponent extends SurveyElementBase<\n ITabJsonEditorTextareaComponentProps,\n any\n> {\n constructor(props) {\n super(props);\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private get model(): TextareaJsonEditorModel {\n return this.props.data;\n }\n renderElement(): React.JSX.Element {\n const setControl = (el: HTMLTextAreaElement) => {\n this.model.textElement = el;\n };\n const errors = <TabJsonEditorErrorsComponent data={this.model} />;\n return (\n <div className=\"svc-creator-tab__content\">\n <div className=\"svc-json-editor-tab__content\">\n <textarea\n ref={input => (setControl(input))}\n className=\"svc-json-editor-tab__content-area\"\n value={this.model.text}\n onChange={(e: ChangeEvent<HTMLTextAreaElement>) =>\n (this.model.text = e.target.value)\n }\n onKeyDown={(e) => this.model.checkKey(e, e)}\n disabled={this.model.readOnly}\n aria-label={this.model.ariaLabel}\n ></textarea>\n {errors}\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-tab-json-editor-textarea\",\n (props: ITabJsonEditorTextareaComponentProps) => {\n return React.createElement(TabJsonEditorTextareaComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { ItemValue } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, SvgIcon, attachKey2click } from \"survey-react-ui\";\n\nclass ItemTemplateComponent extends SurveyElementBase<{ item: ItemValue }, any> {\n render() {\n const item = this.props.item;\n return (\n <>\n <SvgIcon iconName={item.iconName} size={item.iconSize} className={\"svc-json-error__icon\"} ></SvgIcon>\n <div className=\"svc-json-error__container\">\n <div className=\"svc-json-error__title\">\n <span key={2}>{this.renderLocString(item.locTitle, undefined, \"locString\")}</span>\n </div>\n {this.renderFixButton()}\n </div>\n </>\n );\n }\n renderFixButton() {\n if (!this.props.item.data.showFixButton) return null;\n const item = this.props.item;\n return (attachKey2click(<button type=\"button\" onClick={(event) => { event.stopPropagation(); item.data.fixError(); }} title={item.data.fixButtonTitle} className={\"svc-json-error__fix-button\"}>\n <SvgIcon iconName={item.data.fixButtonIcon} size={\"auto\"}></SvgIcon>\n </button>));\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"json-error-item\",\n (props) => {\n return React.createElement(ItemTemplateComponent, props);\n }\n);","import { Fragment } from \"react\";\nimport * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, Survey, attachKey2click } from \"survey-react-ui\";\nimport { SurveyLogicUI } from \"survey-creator-core\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\n\nexport class TabLogicAddButtonComponent extends SurveyElementBase<any, any> {\n private get model(): Action {\n return this.props.button;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const buttonClassName = \"svc-logic-tab__content-action svc-btn\" + ((this.model.enabled !== undefined && !this.model.enabled) ? \" svc-logic-tab__content-action--disabled\" : \"\");\n return attachKey2click(<div\n role=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n this.model.action();\n }}\n className={buttonClassName}\n title={this.model.title}\n >\n <span className=\"svc-btn__text\">\n {this.model.title}\n </span>\n </div>);\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-tab-logic-add-button\", (props) => {\n return React.createElement(TabLogicAddButtonComponent, props);\n});\n\nexport class TabLogicComponent extends SurveyElementBase<any, any> {\n private get model(): SurveyLogicUI {\n return this.props.data;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n var logic = this.model;\n var rootClass = \"svc-creator-tab__content svc-logic-tab\";\n var content = this.renderViewContent();\n return <div className={rootClass}>{content}</div>;\n }\n private renderViewContent(): React.JSX.Element {\n const logicTabClassName = \"svc-plugin-tab__content svc-logic-tab svc-logic-tab__content \" + (this.model.hasItems ? \"\" : \"svc-logic-tab--empty\");\n const addLogic = !this.model.readOnly ? <TabLogicAddButtonComponent button={this.model.addNewButton} /> : undefined;\n return (\n <Fragment>\n <div className={logicTabClassName}>\n {this.model.hasItems ?\n (<>\n <Survey model={this.model.itemsSurvey}></Survey>\n {addLogic}\n </>)\n : (<div className=\"svc-logic-tab__content-empty\" >\n <SurfacePlaceholder name={\"logic\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />\n {addLogic}\n </div>)\n }\n </div>\n </Fragment >\n );\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-tab-logic\", (props) => {\n return React.createElement(TabLogicComponent, props);\n});\n","import * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n attachKey2click\n} from \"survey-react-ui\";\nimport { TestSurveyTabViewModel } from \"survey-creator-core\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\n\nexport class TabPreviewTestSurveyAgainComponent extends SurveyElementBase<any, any> {\n private get model(): Action {\n return this.props.model.testAgainAction;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const buttonClassName = \"svc-preview__test-again svc-btn\";\n return attachKey2click(<div\n role=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n this.model.action();\n }}\n className={buttonClassName}\n title={this.model.title}\n >\n <span className=\"svc-btn__text\">\n {this.model.title}\n </span>\n </div>);\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-complete-page\", (props) => {\n return React.createElement(TabPreviewTestSurveyAgainComponent, props);\n});\n\nexport class TabPreviewSurveyComponent extends SurveyElementBase<any, any> {\n constructor(props) {\n super(props);\n }\n private get model(): TestSurveyTabViewModel {\n return this.props.data;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderPlaceholder(): React.JSX.Element {\n return <SurfacePlaceholder name={\"preview\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n }\n renderSimulator(): React.JSX.Element {\n return (<div className=\"svc-plugin-tab__content\">\n <SurveySimulator model={this.model.simulator}></SurveySimulator>\n {this.model.showResults ? <SurveyResults survey={this.model.simulator.survey} /> : null}\n </div>);\n }\n\n renderElement(): React.JSX.Element {\n const tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (\n <div className={tabContentClassName}>\n {this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator()}\n {this.getBottomToolbar()}\n </div>\n );\n }\n getBottomToolbar(): React.JSX.Element {\n if (this.model.isPageToolbarVisible) {\n return (\n <div className=\"svc-test-tab__content-actions\">\n <SurveyActionBar model={this.model.pages}></SurveyActionBar>\n </div>\n );\n } else {\n return null;\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-preview\", (props) => {\n return React.createElement(TabPreviewSurveyComponent, props);\n});\n","import { Base } from \"survey-core\";\nimport { Survey, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveySimulatorModel } from \"survey-creator-core\";\nimport * as React from \"react\";\n\nexport class SurveySimulator extends SurveyElementBase<any, any> {\n private get model(): SurveySimulatorModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const mainSimulatorClass = this.model.getRootCss();\n if (!this.model.survey) {\n return <div className={mainSimulatorClass}></div>;\n }\n if (this.model.hasFrame) {\n return (\n <div\n className={mainSimulatorClass}\n onKeyDown={e => this.model.tryToZoom(e, e)}\n onMouseEnter={this.model.device === \"desktop\" ? null : this.model.activateZoom}\n onMouseLeave={this.model.device === \"desktop\" ? null : this.model.deactivateZoom}\n >\n <div\n className=\"svd-simulator-wrapper\"\n id=\"svd-simulator-wrapper\"\n style={{\n width: this.model.simulatorFrame.frameWidth + \"px\",\n height: this.model.simulatorFrame.frameHeight + \"px\"\n }}\n >\n <div\n className=\"svd-simulator\"\n style={{\n width:\n this.model.simulatorFrame.deviceWidth + \"px\",\n height:\n this.model.simulatorFrame.deviceHeight + \"px\",\n transform:\n \"scale(\" +\n this.model.simulatorFrame.scale +\n \") translate(-50%, -50%)\"\n }}\n >\n <div className=\"svd-simulator-content\">\n <Survey model={this.model.survey}></Survey>\n </div>\n </div>\n </div>\n </div>\n );\n } else {\n return (\n <div\n className={mainSimulatorClass}>\n <div className=\"svd-simulator-content\">\n <Survey model={this.model.survey}></Survey>\n </div>\n </div>\n );\n }\n }\n}\n","import * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n attachKey2click\n} from \"survey-react-ui\";\nimport { ThemeTabViewModel } from \"survey-creator-core\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\n\nexport class TabThemeSurveyComponent extends SurveyElementBase<any, any> {\n private get model(): ThemeTabViewModel {\n return this.props.data;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderPlaceholder(): React.JSX.Element {\n return <SurfacePlaceholder name={\"theme\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n }\n renderSimulator(): React.JSX.Element {\n return (<div className=\"svc-plugin-tab__content\">\n <SurveySimulator model={this.model.simulator}></SurveySimulator>\n {this.model.showResults ? <SurveyResults survey={this.model.simulator.survey} /> : null}\n </div>);\n }\n renderElement(): React.JSX.Element {\n const tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (\n <div className={tabContentClassName}>\n {this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator()}\n {this.getBottomToolbar()}\n </div>\n );\n }\n getBottomToolbar(): React.JSX.Element {\n if (this.model.isPageToolbarVisible) {\n return (\n <div className=\"svc-test-tab__content-actions\">\n <SurveyActionBar model={this.model.pages}></SurveyActionBar>\n </div>\n );\n } else {\n return null;\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-theme\", (props) => {\n return React.createElement(TabThemeSurveyComponent, props);\n});\n","import * as React from \"react\";\nimport { QuestionDropdownModel, RendererFactory } from \"survey-core\";\nimport { initLogicOperator } from \"survey-creator-core\";\nimport { SurveyQuestionDropdown, ReactQuestionFactory } from \"survey-react-ui\";\n\nexport class SurveyLogicOpertor extends SurveyQuestionDropdown {\n constructor(props: any) {\n super(props);\n }\n\n protected renderInput(): React.JSX.Element {\n const q = this.question as QuestionDropdownModel;\n initLogicOperator(q);\n const text = (q.locReadOnlyText) ? this.renderLocString(q.locReadOnlyText) : \"\";\n const dropdownListModel = this.question.dropdownListModel;\n\n return (<div\n id={this.question.inputId}\n className={q.getControlClass()}\n tabIndex={this.question.isInputReadOnly ? 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 onChange={this.updateValueOnEvent}\n onInput={this.updateValueOnEvent}\n onKeyUp={this.keyhandler}\n role={dropdownListModel.ariaQuestionRole}\n aria-required={dropdownListModel.ariaQuestionRequired}\n aria-invalid={dropdownListModel.ariaQuestionInvalid}\n aria-errormessage={dropdownListModel.ariaQuestionErrorMessage}\n aria-expanded={dropdownListModel.ariaQuestionExpanded}\n aria-label={dropdownListModel.ariaQuestionLabel}\n aria-labelledby={dropdownListModel.ariaQuestionLabelledby}\n aria-controls={dropdownListModel.ariaQuestionControls}\n >\n <div className={this.question.cssClasses.controlValue}>\n {text}\n </div>\n </div>);\n }\n\n protected renderEditorButtons(): React.JSX.Element | null {\n return null;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"sv-logic-operator\", (props) => {\n return React.createElement(SurveyLogicOpertor, props);\n});\n\nRendererFactory.Instance.registerRenderer(\"dropdown\", \"logicoperator\", \"sv-logic-operator\");","import * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport { SurveyElementBase, SvgIcon, attachKey2click, ReactElementFactory } from \"survey-react-ui\";\n\nexport class TranslateFromAction extends SurveyElementBase<{ item: Action }, any> {\n get item(): Action {\n return this.props.item;\n }\n protected getStateElement(): Base {\n return this.item;\n }\n\n renderElement() {\n const item = this.item;\n return (\n <div className={item.data.containerCss}>\n <span className={item.data.additionalTitleCss}>{item.data.additionalTitle}</span>\n {ReactElementFactory.Instance.createElement(\"sv-action-bar-item-dropdown\", { item: this.item })}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-translate-from-action\", (props) => {\n return React.createElement(TranslateFromAction, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport {\n ReactElementFactory,\n SurveyElementBase,\n Survey\n} from \"survey-react-ui\";\nimport { Translation } from \"survey-creator-core\";\nimport { SurfacePlaceholder } from \"../../components/SurfacePlaceholder\";\n\nexport class TabTranslationComponent extends SurveyElementBase<any, any> {\n private get model(): Translation {\n return this.props.data || this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderElement(): React.JSX.Element {\n if (!this.model) return null;\n return (\n <div className={\"svc-creator-tab__content svc-translation-tab\" + (this.model.isEmpty ? \" svc-translation-tab--empty\" : \"\")}>\n {this.renderElementContent()}\n </div>\n );\n }\n renderElementContent(): React.JSX.Element {\n if (this.model.isEmpty) {\n return <SurfacePlaceholder name={\"translation\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n } else {\n return (\n <div className=\"st-content\">\n <div className=\"svc-flex-column st-strings-wrapper\">\n <div className=\"svc-flex-row st-strings-header\">\n <Survey model={this.model.stringsHeaderSurvey}></Survey>\n </div>\n <div className=\"svc-flex-row svc-plugin-tab__content st-strings\">\n <Survey model={this.model.stringsSurvey}></Survey>\n </div>\n </div>\n </div>\n );\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-translation\", (props) => {\n return React.createElement(TabTranslationComponent, props);\n});\n","import * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\nexport class TranslationLineSkeleton extends React.Component<any, any> {\n render() {\n return (\n <div className=\"sd-translation-line-skeleton\">\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sd-translation-line-skeleton\", (props: any) => {\n return React.createElement(TranslationLineSkeleton, props);\n});\n","import * as React from \"react\";\nimport { Base, VerticalResponsivityManager } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, Scroll } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nimport { SearchComponent } from \"../components/Search\";\nimport { SurveyCreatorToolboxCategory } from \"./ToolboxCategory\";\nimport { SurveyCreatorModel } from \"survey-creator-core\";\nexport interface ISurveyCreatorToolboxProps {\n model: SurveyCreatorModel;\n}\nexport class AdaptiveToolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: ISurveyCreatorToolboxProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n const container = this.rootRef.current;\n if (container) {\n this.toolbox.afterRender(container);\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n const container = this.rootRef.current;\n if (container) {\n this.toolbox.afterRender(container);\n }\n }\n componentWillUnmount() {\n this.toolbox.beforeDestroy();\n super.componentWillUnmount();\n }\n public get creator() {\n return this.props.model;\n }\n public get toolbox() {\n return this.creator.toolbox;\n }\n protected getStateElement(): Base {\n return this.toolbox;\n }\n\n renderItems(items: Array<any>, isCompact = false): Array<React.JSX.Element> {\n return items.map((item, itemIndex) => {\n return <SurveyCreatorToolboxTool item={(item as any)} creator={this.creator} parentModel={this.toolbox} isCompact={isCompact} key={item.renderedId} ></SurveyCreatorToolboxTool>;\n });\n }\n\n renderCategories() {\n return this.toolbox.categories.map((category, index) => {\n return ReactElementFactory.Instance.createElement(\"svc-toolbox-category\", {\n category,\n toolbox: this.toolbox,\n key: \"category\" + index\n });\n });\n }\n renderSearch() {\n const searchButton = this.toolbox.isCompactRendered ?\n <>\n <SurveyCreatorToolboxTool item={this.toolbox.searchItem as any} creator={this.creator} parentModel={this.toolbox} isCompact={this.toolbox.isCompactRendered} key={\"searchitem\"} ></SurveyCreatorToolboxTool>\n </> :\n null;\n return (<div className=\"svc-toolbox__search-container\">\n {searchButton}\n <SearchComponent model={this.toolbox.searchManager}></SearchComponent>\n <div className=\"svc-toolbox__category-separator svc-toolbox__category-separator--search\"></div>\n </div>);\n }\n\n render(): React.JSX.Element {\n const search = this.toolbox.showSearch ? this.renderSearch() : null;\n const placeholder = this.toolbox.showPlaceholder ? <div className=\"svc-toolbox__placeholder\">{this.toolbox.toolboxNoResultsFound}</div> : null;\n return (\n <div ref={this.rootRef} className={this.toolbox.classNames} style={this.toolbox.getRootStyle()}>\n <div onBlur={(e) => this.toolbox.focusOut(e)} className=\"svc-toolbox__panel\">\n {search}\n {placeholder}\n <Scroll>\n {(this.toolbox.showInSingleCategory) ?\n (<div className=\"svc-toolbox__category\">\n {this.renderItems(this.toolbox.renderedActions, this.toolbox.isCompactRendered)}\n </div>)\n : this.renderCategories()\n }\n </Scroll>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox\", (props) => {\n return React.createElement(AdaptiveToolbox, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { QuestionToolbox, QuestionToolboxCategory } from \"survey-creator-core\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\n\nexport interface ISurveyCreatorToolboxCategoryProps {\n category: QuestionToolboxCategory;\n toolbox: QuestionToolbox;\n}\n\nexport class SurveyCreatorToolboxCategory extends SurveyElementBase<ISurveyCreatorToolboxCategoryProps, any> {\n\n public get category() {\n return this.props.category;\n }\n public get toolbox() {\n return this.props.toolbox;\n }\n public get class() {\n return \"svc-toolbox__category\" +\n (this.category.collapsed ? \" svc-toolbox__category--collapsed\" : \"\") +\n (this.category.empty ? \" svc-toolbox__category--empty\" : \"\");\n }\n\n protected getStateElement(): Base {\n return (this.category as any);\n }\n\n render(): React.JSX.Element {\n const header = this.renderCategoryHeader();\n const items = this.renderCategoryContent();\n return (\n <div className={this.class} key={this.category.name}>\n <div className=\"svc-toolbox__category-header-wrapper\">\n {header}\n </div>\n {items}\n </div>\n );\n }\n\n renderCategoryHeader(): React.JSX.Element {\n let className = \"svc-toolbox__category-header\";\n if (this.toolbox.canCollapseCategories) {\n className += \" svc-toolbox__category-header--collapsed\";\n }\n const title = this.renderLocString(this.category.locTitle);\n return attachKey2click(\n <div className={className} onClick={e => this.category.toggleState()}>\n <span className=\"svc-toolbox__category-title\">{title}</span>\n {this.renderButton()}\n </div>\n );\n }\n\n renderButton(): React.JSX.Element {\n if (!this.toolbox.canCollapseCategories) return null;\n\n const iconName = this.category.iconName;\n return (<div className=\"svc-toolbox__category-header__controls\">\n <SvgIcon className={this.category.iconClassName} iconName={iconName} size={\"auto\"}></SvgIcon>\n </div>);\n }\n\n protected renderCategoryContent(): Array<any> {\n return this.renderItems(this.category.items);\n }\n\n renderItems(items: Array<any>, isCompact = false) {\n return items.map((item, itemIndex) =>\n <SurveyCreatorToolboxTool item={(item as any)} creator={this.toolbox.creator} parentModel={this.toolbox} isCompact={isCompact} key={\"item\" + itemIndex} ></SurveyCreatorToolboxTool>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-category\", (props) => {\n return React.createElement(SurveyCreatorToolboxCategory, props);\n});","import {\n SurveyCreatorModel,\n editorLocalization,\n IQuestionToolboxItem,\n QuestionToolboxItem\n} from \"survey-creator-core\";\nimport { CSSProperties, createElement } from \"react\";\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { ToolboxToolViewModel } from \"survey-creator-core\";\nimport {\n Action,\n ActionContainer,\n Base,\n SurveyModel\n} from \"survey-core\";\nimport {\n attachKey2click,\n ReactElementFactory,\n SvgIcon\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\nexport interface ISurveyCreatorToolboxItemProps {\n creator: SurveyCreatorModel;\n item: QuestionToolboxItem;\n model: ToolboxToolViewModel;\n parentModel: ActionContainer;\n isCompact: boolean;\n}\nexport interface ISurveyCreatorToolboxToolProps {\n creator: SurveyCreatorModel;\n item: QuestionToolboxItem;\n parentModel: ActionContainer;\n isCompact: boolean;\n}\n\nexport class SurveyCreatorToolboxTool extends CreatorModelElement<\n ISurveyCreatorToolboxToolProps,\n any\n> {\n model: ToolboxToolViewModel;\n rootRef: React.RefObject<HTMLDivElement>;\n constructor(props) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n this.model = new ToolboxToolViewModel(props.item, props.creator, props.parentModel);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"item\"];\n }\n public get item() {\n return this.props.item;\n }\n public get creator() {\n return this.props.creator;\n }\n public get isCompact() {\n return this.props.isCompact;\n }\n\n protected getStateElement(): Base {\n return (this.item as any);\n }\n\n render(): React.JSX.Element {\n const item = this.item;\n const itemComponent = ReactElementFactory.Instance.createElement(\n this.model.itemComponent,\n {\n item: item,\n creator: this.creator,\n parentModel: this.creator.toolbox,\n model: this.model,\n isCompact: this.isCompact\n }\n );\n return (\n <div className={item.css} key={item.id} ref={this.rootRef}>\n {(item.needSeparator && !this.creator.toolbox.showCategoryTitles) ? (\n <div className=\"svc-toolbox__category-separator\"></div>\n ) : null}\n <div className=\"svc-toolbox__tool-content sv-action__content\"\n onPointerDown={(event: any) => {\n event.persist();\n this.model.onPointerDown(event);\n }}\n >\n {itemComponent}\n </div>\n </div>\n );\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.item.updateModeCallback = undefined;\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.item.updateModeCallback = (mode, callback) => {\n queueMicrotask(() => {\n if ((ReactDOM as any)[\"flushSync\"]) {\n (ReactDOM as any)[\"flushSync\"](() => {\n this.item.mode = mode;\n });\n } else {\n this.item.mode = mode;\n }\n queueMicrotask(() => {\n callback(mode, this.rootRef.current);\n });\n });\n };\n this.item.afterRender();\n }\n}\n\nexport class SurveyCreatorToolboxItem extends CreatorModelElement<\n ISurveyCreatorToolboxItemProps,\n any\n> {\n constructor(props) {\n super(props);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"item\"];\n }\n public get item() {\n return this.props.item;\n }\n public get creator() {\n return this.props.creator;\n }\n public get model() {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n render(): React.JSX.Element {\n const banner = (this.props.isCompact ?\n <span className=\"svc-toolbox__item-banner\"\n onClick={(event: any) => {\n event.persist();\n this.model.click(event);\n }}>\n <SvgIcon size={\"auto\"} iconName={this.item.iconName} className=\"svc-toolbox__item-icon\" title={this.item.getTooltip()}></SvgIcon>\n <span>{this.item.title}</span>\n </span>\n :\n null\n );\n const item = attachKey2click(\n <div\n className={this.item.renderedCss}\n tabIndex={0}\n role=\"button\"\n aria-label={this.item.getTooltip()}\n onClick={(event: any) => {\n event.persist();\n this.model.click(event);\n }}\n >\n <span className=\"svc-toolbox__item-container\">\n {!!this.item.iconName ? <SvgIcon size={\"auto\"} iconName={this.item.iconName} className=\"svc-toolbox__item-icon\"></SvgIcon> : null}\n </span>\n {(this.props.isCompact ?\n null\n :\n <span className=\"svc-toolbox__item-title\">{this.item.title}</span>\n )}\n </div>, undefined, { disableTabStop: !this.model.toolboxItem.enabled });\n return (\n <>\n {item}\n {banner}\n </>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item\", (props) => {\n return createElement(SurveyCreatorToolboxItem, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { Popup, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { ISurveyCreatorToolboxItemProps, SurveyCreatorToolboxItem } from \"./ToolboxItem\";\n\nexport class SurveyCreatorToolboxItemGroup extends CreatorModelElement<ISurveyCreatorToolboxItemProps, any> {\n constructor(props) {\n super(props);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"item\"];\n }\n public get item() {\n return this.props.item;\n }\n public get model() {\n return this.props.model;\n }\n public get creator() {\n return this.props.creator;\n }\n public get isCompact() {\n return this.props.isCompact;\n }\n public get parentModel() {\n return this.props.parentModel;\n }\n\n protected getStateElement(): Base {\n return this.item;\n }\n render(): React.JSX.Element {\n return <>\n <SurveyCreatorToolboxItem item={this.item} creator={this.creator} model={this.model} parentModel={this.parentModel} isCompact={this.isCompact} ></SurveyCreatorToolboxItem >\n <div className=\"svc-toolbox__item-submenu-button\"\n onMouseOver={(event: any) => this.model.onMouseOver(this.item, event)}\n onMouseLeave={(event: any) => this.model.onMouseLeave(this.item, event)}\n >\n <SvgIcon size={\"auto\"} iconName={this.item.subitemsButtonIcon} ></SvgIcon>\n <Popup model={this.item.popupModel} />\n </div>\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item-group\", (props) => {\n return React.createElement(SurveyCreatorToolboxItemGroup, props);\n});\n","import * as React from \"react\";\nimport { ListModel } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nimport { CreatorBase } from \"survey-creator-core\";\n\ninterface IListProps {\n model: ListModel;\n creator: CreatorBase;\n}\n\nexport class ToolboxList extends SurveyElementBase<IListProps, any> {\n constructor(props: any) {\n super(props);\n }\n\n get model(): ListModel {\n return this.props.model;\n }\n get creator(): CreatorBase {\n return this.props.creator;\n }\n getStateElement() {\n return this.model;\n }\n\n render() {\n if (!this.model || !this.model.renderElements) return null;\n\n const items = this.renderItems();\n return (\n <div className={this.model.cssClasses.root}>\n {items}\n </div>\n );\n }\n renderItems() {\n const items = this.model.renderedActions;\n return items.map((item, itemIndex) =>\n <SurveyCreatorToolboxTool item={(item as any)} creator={this.creator} parentModel={this.model} isCompact={false} key={\"item\" + itemIndex} ></SurveyCreatorToolboxTool>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-list\", (props) => {\n return React.createElement(ToolboxList, props);\n});\n","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_creator_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_react_ui__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"./index-wc\";\nexport { SurveyCreator } from \"../SurveyCreator\";"],"names":[],"sourceRoot":""}
1
+ {"version":3,"file":"survey-creator-react.js","mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;;;;;;;;;;;;;;;;ACV+B;AACe;AACsD;AAYpG;IAAkC,uEAA0C;IAA5E;;IA6DA,CAAC;IA5DC,oCAAa,GAAb;QACE,IAAM,OAAO,GAAG,IAAI,wDAAe,EAAE;aAClC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;aAC1B,MAAM,CAAC,mBAAmB,CAAC;aAC3B,MAAM,CAAC,6BAA6B,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC5D,MAAM,CAAC,6BAA6B,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;aAC5D,QAAQ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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACN2B;AACsB","sources":["webpack://SurveyCreator/webpack/universalModuleDefinition","webpack://SurveyCreator/./src/ActionButton.tsx","webpack://SurveyCreator/./src/AddQuestionButton.tsx","webpack://SurveyCreator/./src/ImageItemValueWrapper.tsx","webpack://SurveyCreator/./src/ItemValueWrapper.tsx","webpack://SurveyCreator/./src/LogoImage.tsx","webpack://SurveyCreator/./src/MatrixCellWrapper.tsx","webpack://SurveyCreator/./src/ModelElement.tsx","webpack://SurveyCreator/./src/Navigation.tsx","webpack://SurveyCreator/./src/PageNavigator.tsx","webpack://SurveyCreator/./src/QuestionEditorContent.tsx","webpack://SurveyCreator/./src/QuestionEmbeddedSurvey.tsx","webpack://SurveyCreator/./src/QuestionError.tsx","webpack://SurveyCreator/./src/QuestionLinkValue.tsx","webpack://SurveyCreator/./src/Results.tsx","webpack://SurveyCreator/./src/StringEditor.tsx","webpack://SurveyCreator/./src/SurveyCreator.tsx","webpack://SurveyCreator/./src/Switcher.tsx","webpack://SurveyCreator/./src/TabbedMenu.tsx","webpack://SurveyCreator/./src/adorners/CellQuestion.tsx","webpack://SurveyCreator/./src/adorners/CellQuestionDropdown.tsx","webpack://SurveyCreator/./src/adorners/Page.tsx","webpack://SurveyCreator/./src/adorners/Panel.tsx","webpack://SurveyCreator/./src/adorners/Question.tsx","webpack://SurveyCreator/./src/adorners/QuestionBanner.tsx","webpack://SurveyCreator/./src/adorners/QuestionDropdown.tsx","webpack://SurveyCreator/./src/adorners/QuestionFooter.tsx","webpack://SurveyCreator/./src/adorners/QuestionHeader.tsx","webpack://SurveyCreator/./src/adorners/QuestionImage.tsx","webpack://SurveyCreator/./src/adorners/QuestionRating.tsx","webpack://SurveyCreator/./src/adorners/QuestionWidget.tsx","webpack://SurveyCreator/./src/adorners/Row.tsx","webpack://SurveyCreator/./src/components/ComponentContainer.tsx","webpack://SurveyCreator/./src/components/Search.tsx","webpack://SurveyCreator/./src/components/SurfacePlaceholder.tsx","webpack://SurveyCreator/./src/custom-questions/BooleanSwitch.tsx","webpack://SurveyCreator/./src/custom-questions/ColorItem.tsx","webpack://SurveyCreator/./src/custom-questions/ColorQuestion.tsx","webpack://SurveyCreator/./src/custom-questions/FileEditQuestion.tsx","webpack://SurveyCreator/./src/custom-questions/SpinEditor.tsx","webpack://SurveyCreator/./src/custom-questions/TextWithResetQuestion.tsx","webpack://SurveyCreator/./src/entries/helpers.ts","webpack://SurveyCreator/./src/entries/index-wc.ts","webpack://SurveyCreator/./src/events.ts","webpack://SurveyCreator/./src/side-bar/ObjectSelector.tsx","webpack://SurveyCreator/./src/side-bar/PropertyGrid.tsx","webpack://SurveyCreator/./src/side-bar/PropertyGridPlaceholder.tsx","webpack://SurveyCreator/./src/side-bar/SideBar.tsx","webpack://SurveyCreator/./src/side-bar/SideBarDefaultHeader.tsx","webpack://SurveyCreator/./src/side-bar/SideBarHeader.tsx","webpack://SurveyCreator/./src/side-bar/SideBarPropertyGridHeader.tsx","webpack://SurveyCreator/./src/side-bar/TabButton.tsx","webpack://SurveyCreator/./src/side-bar/TabControl.tsx","webpack://SurveyCreator/./src/tabs/Designer.tsx","webpack://SurveyCreator/./src/tabs/JsonEditorAce.tsx","webpack://SurveyCreator/./src/tabs/JsonEditorTextarea.tsx","webpack://SurveyCreator/./src/tabs/JsonErrorItem.tsx","webpack://SurveyCreator/./src/tabs/Logic.tsx","webpack://SurveyCreator/./src/tabs/Preview.tsx","webpack://SurveyCreator/./src/tabs/SurveySimulator.tsx","webpack://SurveyCreator/./src/tabs/Theme.tsx","webpack://SurveyCreator/./src/tabs/logic-operator.tsx","webpack://SurveyCreator/./src/tabs/translation/TranslateFromAction.tsx","webpack://SurveyCreator/./src/tabs/translation/Translation.tsx","webpack://SurveyCreator/./src/tabs/translation/TranslationLineSkeleton.tsx","webpack://SurveyCreator/./src/toolbox/AdaptiveToolbox.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxCategory.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxItem.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxItemGroup.tsx","webpack://SurveyCreator/./src/toolbox/ToolboxList.tsx","webpack://SurveyCreator/external umd {\"root\":\"React\",\"commonjs2\":\"react\",\"commonjs\":\"react\",\"amd\":\"react\"}","webpack://SurveyCreator/external umd {\"root\":\"ReactDOM\",\"commonjs2\":\"react-dom\",\"commonjs\":\"react-dom\",\"amd\":\"react-dom\"}","webpack://SurveyCreator/external umd {\"root\":\"Survey\",\"commonjs2\":\"survey-core\",\"commonjs\":\"survey-core\",\"amd\":\"survey-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyCreatorCore\",\"commonjs2\":\"survey-creator-core\",\"commonjs\":\"survey-creator-core\",\"amd\":\"survey-creator-core\"}","webpack://SurveyCreator/external umd {\"root\":\"SurveyReact\",\"commonjs2\":\"survey-react-ui\",\"commonjs\":\"survey-react-ui\",\"amd\":\"survey-react-ui\"}","webpack://SurveyCreator/webpack/bootstrap","webpack://SurveyCreator/webpack/runtime/compat get default export","webpack://SurveyCreator/webpack/runtime/define property getters","webpack://SurveyCreator/webpack/runtime/hasOwnProperty shorthand","webpack://SurveyCreator/webpack/runtime/make namespace object","webpack://SurveyCreator/./src/entries/index.ts"],"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\"), require(\"survey-creator-core\"), require(\"survey-react-ui\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"survey-creator-react\", [\"react\", \"react-dom\", \"survey-core\", \"survey-creator-core\", \"survey-react-ui\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"survey-creator-react\"] = factory(require(\"react\"), require(\"react-dom\"), require(\"survey-core\"), require(\"survey-creator-core\"), require(\"survey-react-ui\"));\n\telse\n\t\troot[\"SurveyCreator\"] = factory(root[\"React\"], root[\"ReactDOM\"], root[\"Survey\"], root[\"SurveyCreatorCore\"], root[\"SurveyReact\"]);\n})(this, (__WEBPACK_EXTERNAL_MODULE_react__, __WEBPACK_EXTERNAL_MODULE_react_dom__, __WEBPACK_EXTERNAL_MODULE_survey_core__, __WEBPACK_EXTERNAL_MODULE_survey_creator_core__, __WEBPACK_EXTERNAL_MODULE_survey_react_ui__) => {\nreturn ","import * as React from \"react\";\nimport { CssClassBuilder } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon, } from \"survey-react-ui\";\n\ninterface IActionButtonProps {\n classes?;\n click: () => void;\n selected?: boolean;\n disabled?: boolean;\n text?: string;\n title?: string;\n iconName?: string;\n allowBubble?: boolean;\n}\nexport class ActionButton extends SurveyElementBase<IActionButtonProps, any> {\n renderElement(): React.JSX.Element {\n const classes = new CssClassBuilder()\n .append(this.props.classes)\n .append(\"svc-action-button\")\n .append(\"svc-action-button--selected\", !!this.props.selected)\n .append(\"svc-action-button--disabled\", !!this.props.disabled)\n .toString();\n if (this.props.iconName) {\n return this.renderIcon(classes);\n }\n return this.renderButtonText(classes);\n }\n\n renderButtonText(classes): React.JSX.Element {\n if (this.props.disabled) {\n return <span className={classes}>{this.props.text}</span>;\n }\n return (\n <>\n {attachKey2click(\n <span\n role=\"button\"\n className={classes}\n onClick={(e) => {\n if (!this.props.allowBubble) {\n e.stopPropagation();\n }\n this.props.click();\n }}\n title={this.props.title}\n >\n {this.props.text}\n </span>\n )}\n </>\n );\n }\n renderIcon(classes): React.JSX.Element {\n classes += \" svc-action-button--icon\";\n if (this.props.disabled) {\n return <span className={classes}><SvgIcon size={\"auto\"} iconName={this.props.iconName}></SvgIcon></span>;\n }\n return (\n <>\n {attachKey2click(\n <span className={classes}\n onClick={(e) => {\n if (!this.props.allowBubble) {\n e.stopPropagation();\n }\n this.props.click();\n }}\n title={this.props.title}\n >\n <SvgIcon size={\"auto\"} iconName={this.props.iconName}></SvgIcon>\n </span>\n )}\n </>\n );\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-action-button\", (props: any) => { return React.createElement(ActionButton, props); });","import * as React from \"react\";\nimport { Action, Base, IAction, PageModel, SurveyModel } from \"survey-core\";\nimport {\n attachKey2click,\n Popup,\n SurveyActionBar,\n ReactElementFactory,\n SurveyPage,\n SvgIcon,\n SurveyElementBase\n} from \"survey-react-ui\";\nimport { ReactMouseEvent } from \"./events\";\n\nexport class AddQuestionButtonComponent extends SurveyElementBase<{ item: Action, buttonClass?: string, renderPopup?: boolean }, any> {\n public get model() {\n return this.props.item.data;\n }\n protected renderTypeSelector(): React.JSX.Element {\n const questionTypeSelectorModel = this.model.questionTypeSelectorModel;\n return attachKey2click(<button\n type=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n questionTypeSelectorModel.action();\n }}\n className=\"svc-element__question-type-selector\"\n title={this.model.addNewQuestionText}\n role=\"button\"\n >\n <span className=\"svc-element__question-type-selector-icon\">\n <SvgIcon\n iconName={questionTypeSelectorModel.iconName}\n size={\"auto\"}\n title={this.model.addNewQuestionText}\n ></SvgIcon>\n </span>\n {this.props.renderPopup === undefined || this.props.renderPopup ?\n <Popup model={questionTypeSelectorModel.popupModel}></Popup>\n : null}\n </button>);\n }\n protected renderElement(): React.JSX.Element {\n const addButtonClass = this.props.buttonClass || \"svc-btn\";\n return <>\n {attachKey2click(<div\n className={\"svc-element__add-new-question \" + addButtonClass}\n onClick={(e) => {\n e.stopPropagation();\n this.model.addNewQuestion(this.model, new ReactMouseEvent(e));\n }}\n onMouseOver={(e) => this.model.hoverStopper && this.model.hoverStopper(e.nativeEvent, e.currentTarget)}\n >\n <SvgIcon\n className={\"svc-panel__add-new-question-icon\"}\n iconName={\"icon-add_24x24\"}\n size={\"auto\"}\n ></SvgIcon>\n <span className=\"svc-add-new-item-button__text\">\n {this.model.addNewQuestionText}\n </span>\n {this.props.renderPopup !== false ? this.renderTypeSelector() : null}\n </div>)}\n {this.props.renderPopup === false ? this.renderTypeSelector() : null}\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-add-new-question-btn\", (props) => {\n return React.createElement(AddQuestionButtonComponent, props);\n});","import { ImageItemValueWrapperViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { QuestionSelectBase, Base, ImageItemValue, QuestionImagePickerModel } from \"survey-core\";\nimport { LoadingIndicatorComponent, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport {\n attachKey2click,\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ImageItemValueAdornerComponentProps {\n element: React.JSX.Element;\n componentData: any;\n question: QuestionSelectBase;\n item: ImageItemValue;\n}\n\nexport class ImageItemValueAdornerComponent extends CreatorModelElement<\n ImageItemValueAdornerComponentProps,\n any\n> {\n model: ImageItemValueWrapperViewModel;\n private rootRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: ImageItemValueAdornerComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n this.model = new ImageItemValueWrapperViewModel(\n props.componentData.creator,\n props.question,\n props.item,\n null,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"item\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n protected get question(): QuestionImagePickerModel {\n return this.props.question as QuestionImagePickerModel;\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.model.itemsRoot = this.rootRef.current;\n }\n\n componentDidUpdate(prevProps, prevState) {\n super.componentDidUpdate(prevProps, prevState);\n this.model.itemsRoot = this.rootRef.current;\n }\n\n preventDragHandler = (e) => {\n e.preventDefault();\n };\n renderLoadingIndicator() {\n return <div className=\"svc-image-item-value__loading\"><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n\n renderNewItemControls() {\n const addButton = attachKey2click(\n <span className={this.model.addButtonCss}\n onClick={() => this.model.chooseNewFile(this.model)}>\n {this.model.showChooseButtonAsIcon ?\n <SvgIcon size={\"auto\"} iconName={\"icon-add-lg\"}\n title={this.model.addFileTitle}></SvgIcon> :\n <span>{this.model.chooseImageText}</span>\n }\n </span>);\n const placeholder = this.model.showPlaceholder ? <span className=\"svc-image-item-value__placeholder\">{this.model.placeholderText}</span> : null;\n return <>\n {placeholder}\n {addButton}\n </>;\n }\n\n render(): React.JSX.Element {\n this.model.item = this.props.item;\n const isNew = !this.props.question.isItemInList(this.props.item);\n this.model.isNew = isNew;\n const imageStyle = !this.model.getIsNewItemSingle() ? { width: this.question.renderedImageWidth, height: this.question.renderedImageHeight } : null;\n\n let content = null;\n if (isNew || this.model.isUploading) {\n content = (<>\n <div className=\"svc-image-item-value__item\">\n <div className=\"sd-imagepicker__item sd-imagepicker__item--inline\">\n <label className=\"sd-imagepicker__label\">\n <div style={imageStyle} className=\"sd-imagepicker__image\">\n {this.model.isUploading ? this.renderLoadingIndicator() : null}\n </div>\n </label>\n </div>\n </div>\n\n {this.model.allowAdd && !this.model.isUploading ?\n <div className=\"svc-image-item-value-controls\">\n {this.renderNewItemControls()}\n </div>\n : null}\n </>);\n } else {\n content = (\n <>\n <div className={\"svc-image-item-value__item\"}>\n {this.props.element}\n </div>\n\n {\n this.model.isDraggable && this.model.canRenderControls ?\n <span className=\"svc-context-button svc-image-item-value-controls__drag-area-indicator\"\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-drag-24x24\"}></SvgIcon>\n </span>\n : null\n }\n\n {\n this.model.canRenderControls ?\n <div className=\"svc-context-container svc-image-item-value-controls\">\n {this.model.allowRemove && !this.model.isUploading ? attachKey2click(<span\n className=\"svc-context-button\"\n onClick={() => this.model.chooseFile(this.model)}\n >\n <SvgIcon role=\"button\" size={\"auto\"} iconName={\"icon-choosefile\"} title={this.model.selectFileTitle}></SvgIcon>\n </span>) : null}\n {this.model.allowRemove && !this.model.isUploading ? attachKey2click(<span\n className=\"svc-context-button svc-context-button--danger\"\n onClick={() => this.model.remove(this.model)}\n >\n <SvgIcon role=\"button\" size={\"auto\"} iconName={\"icon-delete\"} title={this.model.removeFileTitle}></SvgIcon>\n </span>) : null}\n </div>\n : null\n }\n </>\n );\n }\n\n return (\n <div\n ref={this.rootRef}\n className={this.model.getRootCss()}\n key={this.props.element.key}\n data-sv-drop-target-item-value={\n this.model.isDraggable ? this.model.item.value : undefined\n }\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n onDragStart={this.preventDragHandler}\n onDrop={this.model.onDrop}\n onDragEnter={this.model.onDragEnter}\n onDragOver={this.model.onDragOver}\n onDragLeave={this.model.onDragLeave}\n >\n <div className={\"svc-image-item-value-wrapper__ghost\"} style={imageStyle}></div>\n <div className={\"svc-image-item-value-wrapper__content\"}>\n <input\n type=\"file\"\n aria-hidden=\"true\"\n tabIndex={-1}\n accept={this.model.acceptedTypes}\n className=\"svc-choose-file-input\"\n style={{\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n }}\n />\n {content}\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-image-item-value\",\n (props: ImageItemValueAdornerComponentProps) => {\n return React.createElement(ImageItemValueAdornerComponent, props);\n }\n);\n","import { ItemValueWrapperViewModel, SurveyCreatorModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { QuestionSelectBase, Base, ItemValue, PanelModel, SurveyModel } from \"survey-core\";\nimport {\n attachKey2click,\n ReactElementFactory,\n SurveyPanel,\n SvgIcon\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ItemValueAdornerComponentProps {\n element: React.JSX.Element;\n componentData: any;\n question: QuestionSelectBase;\n item: ItemValue;\n}\n\nexport class ItemValueAdornerComponent extends CreatorModelElement<\n ItemValueAdornerComponentProps,\n any\n> {\n model: ItemValueWrapperViewModel;\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n this.model = new ItemValueWrapperViewModel(\n props.componentData.creator,\n props.question,\n props.item\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"item\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private onBlur = (event: any) => {\n this.model.onFocusOut(event.nativeEvent);\n };\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n this.props.item.setRootElement(this.rootRef.current);\n if (prevProps.item !== this.props.item && prevProps.item) {\n prevProps.item.setRootElement(undefined);\n }\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.props.item.setRootElement(this.rootRef.current);\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.props.item.setRootElement(undefined);\n }\n\n render(): React.JSX.Element {\n this.model.item = this.props.item;\n const button = this.model.allowAdd ? (\n attachKey2click(<span\n role=\"button\"\n className=\"svc-item-value-controls__button svc-item-value-controls__add\"\n aria-label={this.model.tooltip}\n onClick={() => {\n this.model.add(this.model);\n this.model.isNew = false;\n }}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-add_16x16\"} title={this.model.tooltip}></SvgIcon>\n </span>)\n ) : (\n <>\n {\" \"}\n {this.model.isDraggable ? (\n <span\n className=\"svc-item-value-controls__button svc-item-value-controls__drag\"\n >\n <SvgIcon className=\"svc-item-value-controls__drag-icon\" size={\"auto\"} iconName={\"icon-drag-24x24\"} title={this.model.dragTooltip}></SvgIcon>\n </span>\n ) : null}\n {this.model.allowRemove ? attachKey2click(<span\n role=\"button\"\n className=\"svc-item-value-controls__button svc-item-value-controls__remove\"\n aria-label={this.model.tooltip}\n onClick={() => this.model.remove(this.model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-remove_16x16\"} title={this.model.tooltip}></SvgIcon>\n </span>) : null}\n </>\n );\n\n const itemkey = this.props.element.key + (this.model.allowAdd ? \"_new\" : \"\");\n\n return (\n <>\n <div\n ref={this.rootRef}\n className={\n \"svc-item-value-wrapper\" +\n (this.model.allowAdd ? \" svc-item-value--new\" : \"\") +\n (this.model.isDragging ? \" svc-item-value--dragging\" : \"\") +\n (this.model.isDragDropGhost ? \" svc-item-value--ghost\" : \"\") +\n (this.model.isDragDropMoveDown ? \" svc-item-value--movedown\" : \"\") +\n (this.model.isDragDropMoveUp ? \" svc-item-value--moveup\" : \"\")\n }\n key={itemkey}\n data-sv-drop-target-item-value={\n this.model.isDraggable ? this.model.item.value : undefined\n }\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n >\n <div className=\"svc-item-value__ghost\"></div>\n\n <div className=\"svc-item-value-controls\" onBlur={this.onBlur}>{button}</div>\n\n <div className={\"svc-item-value__item\"} onClick={(event) => this.model.select(this.model, event.nativeEvent)}>{this.props.element}</div>\n {this.renderPanelAction()}\n </div>\n {this.renderPanel()}\n </>\n );\n }\n private renderPanelAction(): React.JSX.Element | null {\n if (!this.model.canShowPanel()) return null;\n const isShowPanel = this.model.showPanel;\n const icName = isShowPanel ? \"icon-collapsepanel-16x16\" : \"icon-expandpanel-16x16\";\n const btn = attachKey2click(<span\n role=\"button\"\n className=\"svc-item-value-controls__button svc-item-value-controls__add svc-choice-elements-button\"\n onClick={() => {\n this.model.togglePanel();\n }}\n >\n <SvgIcon size={\"auto\"} iconName={icName}></SvgIcon>\n </span>);\n return <div className=\"svc-item-value-controls svc-choice-elements-button-container\">{btn}</div>;\n }\n private renderPanel(): React.JSX.Element | null {\n if (!this.model.showPanel) return null;\n const creator = this.model.creator;\n const survey = creator.survey;\n return <ChoiceItemPanel element={this.model.item.panel} survey={survey} creator={creator} css={survey.getCss()}></ChoiceItemPanel>;\n }\n}\n\nconst ChoiceItemPanel = React.memo(({ element, survey, creator, css }: {\n element: PanelModel,\n survey: SurveyModel,\n creator: SurveyCreatorModel,\n css: any,\n}) => {\n return <SurveyPanel element={element} survey={survey} creator={creator} cssClasses={css} />;\n});\nChoiceItemPanel.displayName = \"ChoiceItemPanel\";\n\nReactElementFactory.Instance.registerElement(\n \"svc-item-value\",\n (props: ItemValueAdornerComponentProps) => {\n return React.createElement(ItemValueAdornerComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, LogoImage, SvgIcon, attachKey2click, LoadingIndicatorComponent } from \"survey-react-ui\";\nimport { SurveyCreatorModel, LogoImageViewModel } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ILogoImageComponentProps {\n data: SurveyCreatorModel;\n}\n\nexport class LogoImageComponent extends CreatorModelElement<ILogoImageComponentProps, any> {\n private model: LogoImageViewModel;\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: ILogoImageComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n let prevRoot: HTMLDivElement = null;\n if (!!this.model) {\n prevRoot = this.model.root;\n }\n this.model = new LogoImageViewModel(props.data, prevRoot);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"data\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n componentDidMount() {\n super.componentDidMount();\n this.model.root = this.rootRef.current;\n }\n renderChooseButton() {\n return attachKey2click(<span\n className=\"svc-context-button\"\n onClick={() => this.model.chooseFile(this.model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-choosefile\"}></SvgIcon>\n </span>);\n }\n renderClearButton() {\n return attachKey2click(<span\n className=\"svc-context-button svc-context-button--danger\"\n onClick={() => this.model.remove(this.model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-clear\"}></SvgIcon>\n </span>);\n }\n renderButtons() {\n return (<div className=\"svc-context-container svc-logo-image-controls\">\n {this.renderChooseButton()}\n {this.renderClearButton()}\n </div>);\n }\n renderImage() {\n return <div className={this.model.containerCss}>\n {this.renderButtons()}\n <LogoImage data={this.props.data.survey}></LogoImage>\n </div>;\n }\n renderPlaceHolder() {\n return this.model.allowEdit && !this.model.isUploading ? attachKey2click(<div className=\"svc-logo-image-placeholder\" onClick={() => this.model.chooseFile(this.model)}><svg><use xlinkHref=\"#icon-image-48x48\"></use></svg></div>) : null;\n }\n renderInput() {\n return <input aria-hidden=\"true\" type=\"file\" tabIndex={-1} accept={this.model.acceptedTypes} className=\"svc-choose-file-input\" />;\n }\n renderLoadingIndicator() {\n return <div className=\"svc-logo-image__loading\"><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n render(): React.JSX.Element {\n let content: React.JSX.Element = null;\n if (this.model.survey.locLogo.renderedHtml && !this.model.isUploading) {\n content = this.renderImage();\n } else if (this.model.isUploading) {\n content = this.renderLoadingIndicator();\n } else {\n content = this.renderPlaceHolder();\n }\n return (\n <div ref={this.rootRef} className=\"svc-logo-image\">\n {this.renderInput()}\n {content}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-logo-image\",\n (props: ILogoImageComponentProps) => {\n return React.createElement(LogoImageComponent, props);\n }\n);","import * as React from \"react\";\nimport { QuestionSelectBase, Base, ItemValue, SurveyModel } from \"survey-core\";\nimport { MatrixCellWrapperViewModel, toggleHovered } from \"survey-creator-core\";\nimport {\n attachKey2click,\n ReactElementFactory,\n SvgIcon\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface MatrixCellAdornerComponentProps {\n element: React.JSX.Element;\n componentData: any;\n question: QuestionSelectBase;\n cell: any;\n}\n\nexport class MatrixCellAdornerComponent extends CreatorModelElement<\n MatrixCellAdornerComponentProps,\n any\n> {\n model: MatrixCellWrapperViewModel;\n protected createModel(props: any): void {\n const data = props.componentData;\n let prevIsSelected = false;\n if (!!this.model) {\n prevIsSelected = this.model.isSelected;\n }\n this.model = new MatrixCellWrapperViewModel(\n data.creator,\n data.element,\n data.question,\n data.row,\n data.column || data.element.cell?.column,\n );\n this.model.isSelected = prevIsSelected;\n }\n protected getUpdatedModelProps(): string[] {\n return [\"componentData\"];\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n const data = this.props.componentData;\n this.model.templateData = data.element;\n this.model.row = data.row;\n this.model.column = data.column || data.element?.cell?.column;\n this.model.question = data.question;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n render(): React.JSX.Element {\n let controls = null;\n if (!!this.model.isSupportCellEditor) {\n controls = <div className=\"svc-matrix-cell__question-controls\">\n {attachKey2click(<span className=\"svc-matrix-cell__question-controls-button svc-context-button\" onClick={(event: any) => this.model.editQuestion(this.model, event)}>\n <SvgIcon size={\"auto\"} iconName={\"icon-edit\"}></SvgIcon>\n </span>)}\n </div>;\n }\n\n return (\n <div\n className={\"svc-matrix-cell\"}\n tabIndex={-1}\n key={this.props.element.key}\n onClick={(e: any) => !this.props.question && this.model.selectContext(this.model, e)}\n onMouseOut={e => this.model.hover(e.nativeEvent, e.currentTarget)}\n onMouseOver={e => this.model.hover(e.nativeEvent, e.currentTarget)}\n >\n <div className={\"svc-matrix-cell--selected\" + (this.model.isSelected ? \" svc-visible\" : \"\")}></div>\n\n {this.props.element}\n\n {controls}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-matrix-cell\",\n (props: MatrixCellAdornerComponentProps) => {\n return React.createElement(MatrixCellAdornerComponent, props);\n }\n);\n","import { SurveyElementBase } from \"survey-react-ui\";\n\nexport class CreatorModelElement<P, S> extends SurveyElementBase<P, S> {\n constructor(props: P) {\n super(props);\n this.createModel(props);\n }\n shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n const result = super.shouldComponentUpdate(nextProps, nextState);\n if (result) {\n if (this.needUpdateModel(nextProps)) {\n this.createModel(nextProps);\n }\n }\n return result;\n }\n protected createModel(props: any): void { }\n protected needUpdateModel(nextProps: any): boolean {\n const names = this.getUpdatedModelProps();\n if (!Array.isArray(names)) return true;\n for (var i = 0; i < names.length; i++) {\n const key = names[i];\n if (typeof key === \"object\") {\n const currentProp = this.props[key.name];\n const nextProp = nextProps[key.name];\n if (key.deepEqual) {\n if (this.props[key.name] === nextProps[key.name]) return false;\n const currentPropKeys = Object.keys(currentProp || {});\n if (currentPropKeys.length !== Object.keys(nextProp || {}).length) return true;\n return currentPropKeys.some(key => currentProp[key] != nextProp[key]);\n } else {\n return currentProp !== nextProp;\n }\n } else {\n if (this.props[key] !== nextProps[key]) return true;\n }\n }\n return false;\n }\n protected getUpdatedModelProps(): Array<string | { name: string, deepEqual?: boolean }> {\n return undefined;\n }\n}","import { SurveyModel } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\n\nexport class SurveyNavigation extends SurveyElementBase<any, any> {\n componentDidMount() {\n super.componentDidMount();\n this.setHandler();\n }\n componentDidUpdate(prevProps: any, prevState: any) {\n super.componentDidUpdate(prevProps, prevState);\n this.setHandler();\n }\n private setHandler() {\n if (\n !this.survey ||\n this.survey.onPropertyChanged.hasFunc(this.onPropChangedHandler)\n )\n return;\n this.survey.onPropertyChanged.add(this.onPropChangedHandler);\n }\n private onPropChangedHandler = (sender: any, options: any): any => {\n if (this.isRendering) return;\n const reactiveProps = [\n \"showProgressBar\",\n \"progressBarType\",\n \"currentPageValue\"\n ];\n if (reactiveProps.indexOf(options.name) < 0) return;\n var val: any = {};\n for (var i = 0; i < reactiveProps.length; i++) {\n var propName = reactiveProps[i];\n val[propName] = this.survey[propName];\n }\n this.setState(val);\n };\n componentWillUnmount() {\n super.componentWillUnmount();\n if (this.survey) {\n this.survey.onPropertyChanged.remove(this.onPropChangedHandler);\n }\n }\n\n protected get survey(): SurveyModel {\n return this.props.survey;\n }\n protected get location(): string {\n return this.props.location;\n }\n protected get isTop(): boolean {\n return this.location == \"top\";\n }\n protected canRender(): boolean {\n return this.isTop\n ? this.survey.isShowProgressBarOnTop\n : this.survey.isShowProgressBarOnBottom;\n }\n renderElement(): React.JSX.Element {\n return ReactElementFactory.Instance.createElement(\n this.survey.getProgressTypeComponent(),\n { survey: this.survey, css: this.survey.css, isTop: this.isTop }\n );\n }\n}\n","import {\n Base,\n IAction,\n unwrap\n} from \"survey-core\";\nimport {\n SvgIcon,\n Popup,\n attachKey2click\n} from \"survey-react-ui\";\nimport { PageNavigatorViewModel, PagesController } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ISurveyPageNavigatorProps {\n pagesController: PagesController;\n pageEditMode: string;\n}\n\nexport class SurveyPageNavigator extends CreatorModelElement<\n ISurveyPageNavigatorProps,\n any\n> {\n private model: PageNavigatorViewModel;\n private containerRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: ISurveyPageNavigatorProps) {\n super(props);\n this.containerRef = React.createRef();\n }\n protected createModel(props: any): void {\n if (this.model) {\n this.model.dispose();\n }\n this.model = new PageNavigatorViewModel(\n props.pagesController,\n props.pageEditMode\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"pagesController\", \"pageEditMode\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n componentDidMount() {\n super.componentDidMount();\n if (this.props.pageEditMode !== \"bypage\") {\n const el = this.containerRef.current as HTMLDivElement;\n this.model.attachToUI(el);\n }\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.model.stopItemsContainerHeightObserver();\n this.model.setScrollableContainer(undefined);\n }\n renderElement(): React.JSX.Element {\n let className = \"svc-page-navigator__selector svc-page-navigator__button\";\n if (this.model.isPopupOpened)\n className += \" svc-page-navigator__button--pressed\";\n return (\n <div className=\"svc-page-navigator\" ref={this.containerRef} style={{ display: this.model.visible ? \"flex\" : \"none\" }}>\n <div>\n {attachKey2click(<div\n role=\"button\"\n className={className}\n onClick={() => this.model.togglePageSelector()}\n title={this.model.pageSelectorCaption}\n >\n <SvgIcon\n className=\"svc-page-navigator__button-icon\"\n iconName={this.model.icon}\n size={\"auto\"}\n title={this.model.pageSelectorCaption}\n ></SvgIcon>\n </div>)}\n <Popup\n model={this.model.popupModel}\n //className=\"svc-page-navigator__popup\"\n ></Popup>\n </div>\n <div>\n {this.model.visibleItems.map((item) => (\n <SurveyPageNavigatorItem\n key={item.id}\n item={item}\n ></SurveyPageNavigatorItem>\n ))}\n </div>\n </div>\n );\n }\n}\nexport class SurveyPageNavigatorItem extends CreatorModelElement<any, any> {\n protected getStateElement(): Base {\n return this.props.item as Base;\n }\n renderElement(): React.JSX.Element {\n const item = this.props.item;\n let className: string = \"svc-page-navigator-item-content\";\n if (unwrap(item.active)) {\n className += \" svc-page-navigator-item--selected\";\n }\n if (unwrap(item.disabled)) {\n className += \" svc-page-navigator-item--disabled\";\n }\n return (\n <div className=\"svc-page-navigator-item\">\n {attachKey2click(<div\n role=\"button\"\n className={className}\n onClick={(e) => {\n item.action(item);\n e.stopPropagation();\n }}\n >\n <div className=\"svc-page-navigator-item__dot\" title={item.title}><div className=\"svc-page-navigator-item__dot-content\"></div></div>\n <div className=\"svc-page-navigator-item__banner\">\n <span className=\"svc-page-navigator-item__text\">{item.title}</span>\n <span className=\"svc-page-navigator-item__dot\"><span className=\"svc-page-navigator-item__dot-content\"></span></span>\n </div>\n </div>)}\n </div>\n );\n }\n}\n","import { Base, Question, SurveyError, SurveyModel } from \"survey-core\";\nimport { ISurveyCreator, ReactElementFactory, ReactQuestionFactory, SurveyQuestion } from \"survey-react-ui\";\nimport { SurveyCreatorModel } from \"survey-creator-core\";\nimport * as React from \"react\";\n\ninterface IQuestionEditorContentComponentProps {\n creator: SurveyCreatorModel;\n survey: SurveyModel;\n style: any;\n}\n\nexport class QuestionEditorContentComponent extends React.Component<\n IQuestionEditorContentComponentProps,\n any\n> implements ISurveyCreator {\n get survey() {\n return this.props.survey;\n }\n public createQuestionElement(question: Question): React.JSX.Element {\n return ReactQuestionFactory.Instance.createQuestion(\n !question.isDefaultRendering || question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(),\n {\n question: question,\n isDisplayMode: question.isInputReadOnly,\n creator: this,\n }\n );\n }\n public questionTitleLocation(): string {\n return this.survey.questionTitleLocation;\n }\n public questionErrorLocation(): string {\n return this.survey.questionErrorLocation;\n }\n renderError(key: string, error: SurveyError, cssClasses: any): React.JSX.Element {\n return null;\n }\n\n render(): React.JSX.Element {\n const question = this.survey.getAllQuestions()[0];\n return (\n <div style={this.props.style} >\n <SurveyQuestion creator={this} element={question}></SurveyQuestion>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-editor-content\",\n (props: IQuestionEditorContentComponentProps) => {\n return React.createElement(QuestionEditorContentComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { ReactQuestionFactory, SurveyPage, ISurveyCreator, SurveyQuestionElementBase } from \"survey-react-ui\";\nimport { QuestionEmbeddedSurveyModel } from \"survey-creator-core\";\n\nexport class SurveyElementEmbeddedSurvey extends SurveyQuestionElementBase {\n protected get embeddedSurvey(): QuestionEmbeddedSurveyModel {\n return (this.props.element || this.props.question) as QuestionEmbeddedSurveyModel;\n }\n protected get creator(): ISurveyCreator {\n return this.props.creator;\n }\n public render(): React.JSX.Element {\n if (!this.embeddedSurvey) return null;\n const survey = this.embeddedSurvey.embeddedSurvey;\n if (!survey || !survey.currentPage) return null;\n return <SurveyPage\n survey={survey}\n page={survey.currentPage}\n css={survey.css}\n creator={this.creator}\n />;\n\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"embeddedsurvey\", (props) => {\n return React.createElement(SurveyElementEmbeddedSurvey, props);\n});\n","import * as React from \"react\";\nimport { SurveyError } from \"survey-core\";\nimport { ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { SurveyLocStringViewer } from \"survey-react-ui\";\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(): React.JSX.Element | null {\n return (\n <div>\n <SvgIcon aria-hidden=\"true\" iconName=\"icon-alert_24x24\" size=\"24\" className={this.props.cssClasses.error.icon}></SvgIcon>\n <span className={this.props.cssClasses.error.item || undefined}>\n <SurveyLocStringViewer model={this.props.error.locText} />\n </span>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-question-error\", (props) => {\n return React.createElement(QuestionErrorComponent, props);\n});","import * as React from \"react\";\nimport {\n ReactQuestionFactory,\n SurveyQuestionElementBase\n} from \"survey-react-ui\";\nimport { editorLocalization, QuestionLinkValueModel } from \"survey-creator-core\";\nimport { ActionButton } from \"./ActionButton\";\n\nexport class SurveyQuestionLinkValue extends SurveyQuestionElementBase {\n protected get question(): QuestionLinkValueModel {\n return this.questionBase as QuestionLinkValueModel;\n }\n protected renderClear(): React.JSX.Element {\n const showClear = (this.questionBase as any).showClear;\n if (!this.questionBase.isReadOnly && showClear) {\n return (\n <ActionButton\n classes={this.question.linkClearButtonCssClasses}\n click={() => this.question.doClearClick()}\n text={editorLocalization.getString(\"pe.clear\")}\n ></ActionButton>\n );\n } else {\n return null;\n }\n }\n protected renderElement(): React.JSX.Element {\n return (\n <>\n <ActionButton\n classes={this.question.linkSetButtonCssClasses}\n click={() => this.question.doLinkClick()}\n selected={this.question.isSelected}\n disabled={!this.question.isClickable}\n text={this.question.linkValueText}\n title={this.question.tooltip}\n iconName={this.question.iconName}\n ></ActionButton>\n {this.renderClear()}\n </>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"linkvalue\", (props) => {\n return React.createElement(SurveyQuestionLinkValue, props);\n});\n","import * as React from \"react\";\nimport { Base, SurveyModel } from \"survey-core\";\nimport { SurveyResultsItemModel, SurveyResultsModel } from \"survey-creator-core\";\nimport { attachKey2click, SurveyLocStringViewer, SvgIcon } from \"survey-react-ui\";\nimport { ActionButton } from \"./ActionButton\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\ninterface ISurveyResultsProps {\n survey: SurveyModel;\n}\nexport class SurveyResults extends CreatorModelElement<\n ISurveyResultsProps,\n any\n> {\n model: SurveyResultsModel;\n protected createModel(props: any): void {\n if (this.props.survey) {\n this.model = new SurveyResultsModel(props.survey);\n }\n }\n protected getUpdatedModelProps(): string[] {\n return [\"survey\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n render(): React.JSX.Element {\n if (!this.model) {\n return null;\n }\n return (\n <div className=\"svd-test-results\">\n <div className=\"svd-test-results__content\">\n <div className=\"svd-test-results__header\">\n <div className=\"svd-test-results__header-text\">{this.model.surveyResultsText}</div>\n <div className=\"svd-test-results__header-types\">\n <ActionButton\n click={() => this.model.selectTableClick()}\n text={this.model.surveyResultsTableText}\n selected={this.model.isTableSelected}\n disabled={false}\n ></ActionButton>\n <ActionButton\n click={() => this.model.selectJsonClick()}\n text={this.model.surveyResultsJsonText}\n selected={this.model.isJsonSelected}\n disabled={false}\n ></ActionButton>\n </div>\n </div>\n {this.renderResultAsText()}\n {this.renderResultAsTable()}\n </div>\n </div>\n );\n }\n renderResultAsText(): React.JSX.Element {\n if (this.model.resultViewType !== \"text\") {\n return null;\n }\n return (\n <div className=\"svd-test-results__text svd-light-bg-color\">\n <div>{this.model.resultText}</div>\n </div>\n );\n }\n renderResultAsTable(): React.JSX.Element {\n if (this.model.resultViewType !== \"table\") {\n return null;\n }\n return (\n <div className=\"svd-test-results__table svd-light-bg-color\">\n <table>\n <thead>\n <tr className=\"svd-light-background-color\">\n <th key={1} className=\"svd-dark-border-color\">\n {this.model.resultsTitle}\n </th>\n <th key={2} className=\"svd-dark-border-color\">\n {this.model.resultsDisplayValue}\n </th>\n </tr>\n </thead>\n <tbody>{SurveyResults.renderRows(this.model.resultData)}</tbody>\n </table>\n </div>\n );\n }\n static renderRows(data: Array<any>): Array<React.JSX.Element> {\n const rows = [];\n for (var i = 0; i < data.length; i++) {\n rows.push(<SurveyResultsByRow key={i + 1} row={data[i]} />);\n }\n return rows;\n }\n}\n\nexport class SurveyResultsByRow extends CreatorModelElement<any, any> {\n private get row(): SurveyResultsItemModel {\n return this.props.row;\n }\n\n protected getStateElement(): Base {\n return this.row;\n }\n\n render(): React.JSX.Element {\n return (\n <>\n {attachKey2click(<tr onClick={() => this.row.toggle()}>\n <td key={1}\n style={{ paddingLeft: this.row.textMargin }}\n className=\"svd-dark-border-color\">\n\n {this.row.isNode ? (\n <span\n style={{ left: this.row.markerMargin }}\n className={\"svd-test-results__marker \" + (this.row.collapsed ? \"\" : \"svd-test-results__marker--expanded\")}>\n <SvgIcon\n iconName={\"icon-expand_16x16\"}\n size={16}\n ></SvgIcon>\n </span>\n ) : null}\n\n {this.row.question ? <SurveyLocStringViewer model={this.row.question.locTitle} /> : <span>{this.row.title}</span>}\n </td>\n <td key={2} className={this.row.isNode ? \"svd-test-results__node-value\" : \"svd-dark-border-color\"}>\n {this.row.getString(this.row.displayValue)}\n </td>\n </tr>)}\n {this.row.isNode && !this.row.collapsed ? SurveyResults.renderRows(this.row.data) : null}\n </>\n );\n }\n}\n","import * as React from \"react\";\nimport { LocalizableString, Serializer, JsonObjectProperty, Base } from \"survey-core\";\nimport { CharacterCounterComponent, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { SurveyCreatorModel, StringEditorViewModelBase, editableStringRendererName } from \"survey-creator-core\";\nimport { CreatorModelElement } from \"./ModelElement\";\n\nexport class SurveyLocStringEditor extends CreatorModelElement<any, any> {\n private baseModel: StringEditorViewModelBase;\n private svStringEditorRef: React.RefObject<HTMLDivElement>;\n constructor(props: any) {\n super(props);\n this.state = { changed: 0 };\n this.svStringEditorRef = React.createRef();\n }\n protected createModel(props: any): void {\n if (this.baseModel) {\n this.baseModel.dispose();\n }\n this.baseModel = new StringEditorViewModelBase(this.locString, this.creator);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"locString\"];\n }\n protected get locString(): LocalizableString {\n return this.props.model.locStr;\n }\n protected get creator(): SurveyCreatorModel {\n return this.props.model.creator;\n }\n private get style(): any {\n return this.props.style;\n }\n\n protected getStateElement(): Base {\n return this.baseModel;\n }\n\n public get errorText(): string {\n return this.baseModel.errorText;\n }\n private onChangedHandler = (sender: any, options: any) => {\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\n };\n public componentDidMount() {\n super.componentDidMount();\n if (!this.locString) return;\n this.baseModel.setLocString(this.locString);\n this.baseModel.getEditorElement = () => this.svStringEditorRef.current;\n this.baseModel.blurEditor = () => {\n this.svStringEditorRef.current.blur();\n this.svStringEditorRef.current.spellcheck = false;\n };\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n if (this.locString[\"__isEditing\"]) {\n this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n }\n }\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n this.baseModel.setLocString(this.locString);\n this.baseModel.afterRender();\n this.locString.onStringChanged.add(this.onChangedHandler);\n }\n public componentWillUnmount() {\n super.componentWillUnmount();\n this.baseModel.detachFromUI();\n if (!this.locString) return;\n this.locString.onStringChanged.remove(this.onChangedHandler);\n }\n private get placeholder(): string {\n return this.baseModel.placeholder;\n }\n private get contentEditable(): boolean {\n return this.baseModel.contentEditable;\n }\n private onBlur = (event: any) => {\n if (this.svStringEditorRef.current) {\n this.svStringEditorRef.current.spellcheck = false;\n }\n this.locString[\"__isEditing\"] = false;\n this.justFocused = false;\n this.baseModel.onBlur(event.nativeEvent);\n return this.baseModel.errorText;\n };\n private onCompositionStart = (event: any) => {\n this.baseModel.onCompositionStart(event.nativeEvent);\n };\n private onCompositionEnd = (event: any) => {\n this.baseModel.onCompositionEnd(event.nativeEvent);\n };\n private onBeforeInput = (event: any) => {\n this.baseModel.onBeforeInput(event);\n };\n private onInput = (event: any) => {\n this.baseModel.onInput(event.nativeEvent);\n };\n private onPaste = (event: any) => {\n this.baseModel.onPaste(event.nativeEvent);\n };\n private justFocused = false;\n private onFocus = (event: any) => {\n this.baseModel.onFocus(event.nativeEvent);\n this.justFocused = true;\n };\n private onKeyDown = (event: React.KeyboardEvent<HTMLSpanElement>) => {\n return this.baseModel.onKeyDown(event.nativeEvent);\n };\n private onKeyUp = (event: React.KeyboardEvent<HTMLSpanElement>) => {\n return this.baseModel.onKeyUp(event.nativeEvent);\n };\n private onMouseUp = (event: React.MouseEvent<HTMLSpanElement>): boolean => {\n return this.baseModel.onMouseUp(event.nativeEvent);\n };\n private done = (event: any) => {\n this.baseModel.done(event);\n this.locString[\"__isEditing\"] = false;\n };\n private edit = (event: any) => {\n this.svStringEditorRef.current.focus();\n // document.execCommand('selectAll', false, null);\n this.locString[\"__isEditing\"] = true;\n this.baseModel.onClick(event);\n };\n private get className() {\n return this.baseModel.className(this.locString.renderedHtml);\n }\n private htmlValue = {\n __html: this.locString?.renderedHtml\n };\n public render(): React.JSX.Element {\n if (!this.locString) {\n return null;\n }\n let control = null;\n if (this.locString.hasHtml) {\n if (this.htmlValue.__html !== this.locString.renderedHtml) {\n this.htmlValue = { __html: this.locString.renderedHtml };\n }\n control = (\n <span\n role=\"textbox\"\n ref={this.svStringEditorRef}\n className=\"sv-string-editor sv-string-editor--html\"\n contentEditable={this.contentEditable}\n spellCheck={false}\n aria-placeholder={this.placeholder}\n aria-label={this.placeholder || \"content editable\"}\n suppressContentEditableWarning={true}\n tabIndex={this.baseModel.tabIndex}\n // style={this.style}\n dangerouslySetInnerHTML={this.htmlValue}\n onBlur={this.onBlur}\n onFocus={this.onFocus}\n onKeyDown={this.onKeyDown}\n onMouseUp={this.onMouseUp}\n onClick={this.edit}\n ></span>\n );\n } else {\n control = (\n <span\n role=\"textbox\"\n ref={this.svStringEditorRef}\n className=\"sv-string-editor\"\n contentEditable={this.contentEditable}\n tabIndex={this.baseModel.tabIndex}\n spellCheck={false}\n aria-placeholder={this.placeholder}\n aria-label={this.placeholder || \"content editable\"}\n suppressContentEditableWarning={true}\n // style={this.style}\n key={this.locString.renderedHtml}\n onBlur={this.onBlur}\n onBeforeInput={this.onBeforeInput}\n onInput={this.onInput}\n onPaste={this.onPaste}\n onCompositionStart={this.onCompositionStart}\n onCompositionEnd={this.onCompositionEnd}\n onFocus={this.onFocus}\n onKeyDown={this.onKeyDown}\n onKeyUp={this.onKeyUp}\n onMouseUp={this.onMouseUp}\n onClick={this.edit}\n >{this.locString.renderedHtml}</span>\n );\n }\n const counter = this.baseModel.showCharacterCounter ? (<CharacterCounterComponent counter={this.baseModel.characterCounter} remainingCharacterCounter={this.baseModel.getCharacterCounterClass}></CharacterCounterComponent>) : null;\n return (\n <span className={this.className}>\n <span className=\"svc-string-editor__content\">\n <div className=\"svc-string-editor__border svc-string-editor__border--hover\"\n onClick={this.edit}\n >\n </div>\n\n <div className=\"svc-string-editor__border svc-string-editor__border--focus\"\n onClick={this.edit}\n >\n </div>\n\n <span className=\"svc-string-editor__input\">\n {control}\n <div className=\"svc-string-editor__controls\"\n onClick={this.edit}>\n </div>\n {counter}\n </span>\n </span>\n {this.errorText ? <span className=\"svc-string-editor__error\">{this.errorText}</span> : \"\"}\n </span>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n editableStringRendererName,\n (props) => {\n return React.createElement(SurveyLocStringEditor, props);\n }\n);\n","import * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\n\nimport {\n Base,\n Question,\n SurveyError,\n SurveyModel\n} from \"survey-core\";\nimport {\n NotifierComponent,\n SurveyActionBar,\n ReactElementFactory,\n ReactQuestionFactory,\n SurveyElementBase,\n SurveyLocStringViewer,\n Survey,\n SvgBundleComponent,\n PopupModal\n} from \"survey-react-ui\";\nimport {\n ICreatorOptions,\n SurveyCreatorModel,\n ITabbedMenuItem,\n assign\n} from \"survey-creator-core\";\nimport { TabbedMenuComponent } from \"./TabbedMenu\";\n\ninterface ISurveyCreatorComponentProps {\n creator: SurveyCreator;\n style?: any;\n}\n\nexport class SurveyCreatorComponent extends SurveyElementBase<\n ISurveyCreatorComponentProps,\n any\n> {\n constructor(props: ISurveyCreatorComponentProps) {\n super(props);\n this.rootNode = React.createRef();\n }\n get creator(): SurveyCreatorModel {\n return this.props.creator;\n }\n protected getStateElement(): Base {\n return this.creator;\n }\n get style(): any {\n return this.props.style;\n }\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n if (this.creator !== prevProps.creator) {\n if (prevProps.creator) {\n prevProps.creator.unsubscribeRootElement();\n }\n if (this.creator && this.rootNode.current) {\n this.creator.setRootElement(this.rootNode.current);\n }\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.creator.setRootElement(this.rootNode.current);\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.creator.unsubscribeRootElement();\n }\n private rootNode: React.RefObject<HTMLDivElement>;\n\n renderElement() {\n const creator: SurveyCreatorModel = this.props.creator;\n if (creator.isCreatorDisposed) return null;\n const areaClassName = \"svc-full-container svc-creator__area svc-flex-column\" + (this.props.creator.haveCommercialLicense ? \"\" : \" svc-creator__area--with-banner\");\n const contentWrapperClassName = \"svc-creator__content-wrapper svc-flex-row\" + (this.props.creator.isMobileView ? \" svc-creator__content-wrapper--footer-toolbar\" : \"\");\n const fullContainerClassName = \"svc-flex-row svc-full-container\" + (\" svc-creator__side-bar--\" + this.creator.sidebarLocation);\n const creatorStyles = {};\n assign(creatorStyles, this.style, this.props.creator.themeVariables);\n let licenseBanner = null;\n if (!this.props.creator.haveCommercialLicense) {\n const htmlValue = { __html: this.props.creator.licenseText };\n licenseBanner = (\n <div className=\"svc-creator__banner\">\n <span className=\"svc-creator__non-commercial-text\" dangerouslySetInnerHTML={htmlValue}></span>\n </div>\n );\n }\n //AM: width unrecognized by react\n return (\n <div className={this.creator.getRootCss()} ref={this.rootNode} style={creatorStyles}>\n <SvgBundleComponent></SvgBundleComponent>\n <PopupModal></PopupModal>\n <div className={areaClassName}>\n <div className={fullContainerClassName}>\n <div className=\"svc-flex-column svc-flex-row__element svc-flex-row__element--growing\">\n <div className=\"svc-top-bar\">\n {(creator.showTabs ?\n <div className=\"svc-tabbed-menu-wrapper\">\n <TabbedMenuComponent model={creator.tabbedMenu}></TabbedMenuComponent>\n </div> : null)}\n {(creator.showToolbar ?\n <div className=\"svc-toolbar-wrapper\">\n <SurveyActionBar model={creator.toolbar}></SurveyActionBar>\n </div>\n : null)}\n </div>\n <div className={contentWrapperClassName}>\n <div className=\"svc-creator__content-holder svc-flex-column\">\n {this.renderActiveTab()}\n </div>\n </div>\n <div className=\"svc-footer-bar\">\n {(creator.isMobileView ?\n <div className=\"svc-toolbar-wrapper\">\n <SurveyActionBar model={creator.footerToolbar}></SurveyActionBar>\n </div>\n : null)}\n </div>\n </div>\n {this.renderSidebar()}\n </div>\n {licenseBanner}\n <NotifierComponent notifier={creator.notifier}></NotifierComponent>\n </div>\n </div>\n );\n }\n renderActiveTab() {\n const creator: SurveyCreatorModel = this.props.creator;\n for (var i = 0; i < creator.tabs.length; i++) {\n if (creator.tabs[i].id === creator.activeTab) {\n return this.renderCreatorTab(creator.tabs[i]);\n }\n }\n return null;\n }\n renderCreatorTab(tab: ITabbedMenuItem) {\n if (tab.visible === false) {\n return null;\n }\n const creator: SurveyCreatorModel = this.props.creator;\n const component = !!tab.renderTab\n ? tab.renderTab()\n : ReactElementFactory.Instance.createElement(tab.componentContent, {\n creator: creator,\n survey: creator.survey,\n data: tab.data.model\n });\n const className = \"svc-creator-tab\" + (creator.toolboxLocation == \"right\" ? \" svc-creator__toolbox--right\" : \"\");\n return (\n <div\n role=\"tabpanel\"\n key={tab.id}\n id={\"scrollableDiv-\" + tab.id}\n aria-labelledby={\"tab-\" + tab.id}\n className={className}\n >\n {component}\n </div>\n );\n }\n renderSidebar() {\n if (!!this.creator.isSidebarVisible) {\n return ReactElementFactory.Instance.createElement(\"svc-side-bar\", { model: this.creator.sidebar });\n } else {\n return null;\n }\n }\n}\n\nexport class SurveyCreator extends SurveyCreatorModel {\n constructor(options: ICreatorOptions = {}, options2?: ICreatorOptions) {\n super(options, options2);\n }\n public render(target: string | HTMLElement) {\n // eslint-disable-next-line no-console\n console.error(\"The render method is deprecated. Use SurveyCreatorComponent instead.\");\n }\n\n //ISurveyCreator\n public createQuestionElement(question: Question): React.JSX.Element {\n return ReactQuestionFactory.Instance.createQuestion(\n question.isDefaultRendering()\n ? question.getTemplate()\n : question.getComponentName(),\n {\n question: question,\n isDisplayMode: question.isReadOnly,\n creator: this\n }\n );\n }\n public renderError(\n key: string,\n error: SurveyError,\n cssClasses: any\n ): React.JSX.Element {\n return (\n <div key={key}>\n <span className={cssClasses.error.icon} aria-hidden=\"true\" />\n <span className={cssClasses.error.item}>\n <SurveyLocStringViewer model={error.locText} />\n </span>\n </div>\n );\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-widget\", (props) => {\n return React.createElement(Survey, props);\n});\n","import * as React from \"react\";\nimport { Switcher } from \"survey-creator-core\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, attachKey2click, SurveyElementBase } from \"survey-react-ui\";\n\ninterface ISwitcherComponentProps {\n item: Switcher;\n}\n\nexport class SwitcherComponent extends SurveyElementBase<ISwitcherComponentProps, any> {\n get item(): Switcher {\n return this.props.item;\n }\n\n protected getStateElement(): Base {\n return this.item;\n }\n\n renderElement() {\n const tooltip = this.item.tooltip || this.item.title;\n const title = this.item.hasTitle ? <span className=\"svc-switcher__title\">{this.item.title}</span> : null;\n const button = attachKey2click(\n <button\n className={this.item.getActionBarItemCss()}\n type=\"button\"\n disabled={this.item.disabled}\n onClick={(args) => this.item.action(this.item, this.item.getIsTrusted(args))}\n title={tooltip}\n aria-checked={this.item.ariaChecked}\n aria-expanded={this.item.ariaExpanded}\n role={this.item.ariaRole}\n >\n <div className={this.item.getSwitcherIconCss()}>\n <div className=\"svc-switcher__icon-thumb\"></div>\n </div>\n {title}\n </button>, this.item, { processEsc: false });\n\n return button;\n }\n}\n\nexport default SwitcherComponent;\n\nReactElementFactory.Instance.registerElement(\"svc-switcher\", (props) => {\n return React.createElement(SwitcherComponent, props);\n});","import * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { TabbedMenuItem, TabbedMenuContainer } from \"survey-creator-core\";\nimport { Base, ResponsivityManager } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\n\nexport interface ITabbedMenuComponentProps {\n model: TabbedMenuContainer;\n}\n\nexport class TabbedMenuComponent extends SurveyElementBase<\n ITabbedMenuComponentProps,\n any\n> {\n private rootRef: React.RefObject<HTMLDivElement>;\n\n private get model() {\n return this.props.model;\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n constructor(props) {\n super(props);\n this.rootRef = React.createRef();\n }\n\n renderElement(): React.JSX.Element {\n const items = this.model.renderedActions.map((item) => <TabbedMenuItemWrapper item={item} key={item.renderedId} />);\n return (\n <div ref={this.rootRef} className=\"svc-tabbed-menu\" role=\"tablist\" style={this.model.getRootStyle()}>\n {items}\n </div>\n );\n }\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n const container: HTMLDivElement = this.rootRef.current;\n if (!container) return;\n this.model.initResponsivityManager(container);\n }\n componentDidMount() {\n super.componentDidMount();\n const container: HTMLDivElement = this.rootRef.current;\n if (!container) return;\n this.model.initResponsivityManager(container);\n }\n componentWillUnmount() {\n this.model.resetResponsivityManager();\n super.componentWillUnmount();\n }\n}\n\nclass TabbedMenuItemWrapper extends SurveyElementBase<\n any,\n any\n> {\n private ref: React.RefObject<HTMLDivElement>;\n constructor(props) {\n super(props);\n this.ref = React.createRef();\n this.state = { changed: 0 };\n }\n\n private get item(): TabbedMenuItem {\n return this.props.item;\n }\n\n protected getStateElement(): Base {\n return this.item;\n }\n\n renderElement(): React.JSX.Element {\n let css: string = \"svc-tabbed-menu-item-container\";\n if (this.item.css) {\n css += \" \" + this.item.css;\n }\n css += (!this.item.isVisible ? \" sv-action--hidden\" : \"\");\n\n const component = ReactElementFactory.Instance.createElement(\n this.item.component || \"svc-tabbed-menu-item\",\n { item: this.item }\n );\n\n return (\n <span key={this.item.id} className={css} ref={this.ref}>\n <div className=\"sv-action__content\">\n {component}\n </div>\n </span>\n );\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.item.updateModeCallback = (mode, callback) => {\n const update = () => {\n if (this.item.mode == mode) {\n this.setState({ changed: this.state.changed + 1 });\n } else {\n this.item.mode = mode;\n }\n };\n queueMicrotask(() => {\n if ((ReactDOM as any)[\"flushSync\"]) {\n (ReactDOM as any)[\"flushSync\"](() => {\n update();\n });\n } else {\n update();\n }\n queueMicrotask(() => {\n callback(mode, this.ref.current);\n });\n });\n };\n this.item.afterRender();\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.item.updateModeCallback = undefined;\n }\n}\n\nexport interface ITabbedMenuItemComponentProps {\n item: TabbedMenuItem;\n}\nexport class TabbedMenuItemComponent extends SurveyElementBase<\n ITabbedMenuItemComponentProps,\n any\n> {\n get item(): TabbedMenuItem {\n return this.props.item;\n }\n protected getStateElement(): Base {\n return this.item;\n }\n\n render(): React.JSX.Element {\n const item = this.item;\n return (attachKey2click(\n <div\n role=\"tab\"\n id={\"tab-\" + item.id}\n aria-selected={item.active}\n aria-controls={\"scrollableDiv-\" + item.id}\n className={item.getRootCss()}\n onClick={() => item.doAction()}\n >\n {item.hasTitle ? <span className={item.getTitleCss()}>{item.title}</span> : null}\n {item.hasIcon ? <SvgIcon iconName={item.iconName} className={item.getIconCss()} size={\"auto\"} title={item.tooltip || item.title}></SvgIcon> : null}\n </div>\n )\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-tabbed-menu-item\",\n (props) => {\n return React.createElement(TabbedMenuItemComponent, props);\n }\n);\nexport default TabbedMenuComponent;\n","import * as React from \"react\";\nimport { Base, Question } from \"survey-core\";\nimport {\n attachKey2click,\n ReactElementFactory\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { QuestionAdornerComponentProps } from \"./Question\";\n\nexport class CellQuestionAdornerComponent extends CreatorModelElement<\n QuestionAdornerComponentProps,\n any\n> {\n model: QuestionAdornerViewModel;\n protected createModel(props: any): void {\n this.model = new QuestionAdornerViewModel(\n props.componentData,\n props.question,\n null\n );\n }\n protected getStateElement(): Base {\n return this.model;\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n render(): React.JSX.Element {\n return (\n <React.Fragment>\n <div\n data-sv-drop-target-survey-element={this.model.element.name}\n className={\"svc-question__adorner\"}\n >\n <div className={\" svc-question__content--in-popup svc-question__content\"}>\n {this.props.element}\n </div>\n </div>\n </React.Fragment>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-cell-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(CellQuestionAdornerComponent, props);\n }\n);\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, ItemValue, QuestionSelectBase, SurveyModel } from \"survey-core\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport { QuestionAdornerComponentProps } from \"./Question\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { attachKey2click } from \"survey-react-ui\";\n\nexport class CellQuestionDropdownAdornerComponent extends CreatorModelElement<\n QuestionAdornerComponentProps,\n any\n> {\n model: QuestionAdornerViewModel;\n protected createModel(props: any): void {\n this.model = new QuestionAdornerViewModel(\n props.componentData,\n props.question,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n render(): React.JSX.Element {\n const question = this.props.question as QuestionSelectBase;\n const textStyle = (this.props.question as any).textStyle;\n return (\n <React.Fragment>\n <div\n data-sv-drop-target-survey-element={this.model.element.name}\n className={\"svc-question__adorner\"}\n >\n <div className={\" svc-question__content--in-popup svc-question__content\"}>\n {this.props.element}\n\n <div className=\"svc-question__dropdown-choices\">\n {question.visibleChoices.map(\n (item: ItemValue, index: number) => (\n <div\n className=\"svc-question__dropdown-choice\"\n key={`editable_choice_${index}`}\n >\n {ReactSurveyElementsWrapper.wrapItemValue(question.survey as SurveyModel,\n ReactElementFactory.Instance.createElement(\n \"survey-radiogroup-item\",\n {\n question: question,\n cssClasses: question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: question.value === item.value\n }\n ),\n question,\n item\n )}\n </div>\n )\n )}\n </div>\n </div>\n </div>\n </React.Fragment>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-cell-dropdown-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(CellQuestionDropdownAdornerComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { Action, Base, IAction, PageModel, SurveyModel } from \"survey-core\";\nimport {\n attachKey2click,\n Popup,\n SurveyActionBar,\n ReactElementFactory,\n SurveyPage,\n SvgIcon,\n LoadingIndicatorComponent\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport {\n SurveyCreatorModel,\n PageAdorner,\n SurveyHelper,\n toggleHovered\n} from \"survey-creator-core\";\nimport { ReactMouseEvent } from \"../events\";\n\ninterface ICreatorSurveyPageComponentProps {\n creator: SurveyCreatorModel;\n survey: SurveyModel;\n page: PageModel;\n isGhost: boolean;\n}\nconst PageElementContent = React.memo(({ page, survey, creator }: {\n page: PageModel,\n survey: SurveyModel,\n creator: SurveyCreatorModel,\n}) => {\n return <SurveyPage page={page} survey={survey} creator={creator} />;\n});\nPageElementContent.displayName = \"PageElementContent\";\n\nexport class CreatorSurveyPageComponent extends CreatorModelElement<\n ICreatorSurveyPageComponentProps,\n any\n> {\n private model: PageAdorner;\n private rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: ICreatorSurveyPageComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: ICreatorSurveyPageComponentProps): void {\n if (this.model) {\n this.model.attachToUI(props.page, this.rootRef.current);\n }\n this.model = this.createPageAdorner(props.creator, props.page);\n this.model.isGhost = this.props.isGhost;\n }\n protected createPageAdorner(creator: SurveyCreatorModel, page: PageModel): PageAdorner {\n return new PageAdorner(creator, page);\n }\n shouldComponentUpdate(nextProps: any, nextState: any): boolean {\n const res = super.shouldComponentUpdate(nextProps, nextState);\n if (this.model) {\n this.model.isGhost = this.props.isGhost;\n }\n return res;\n }\n public componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"page\"];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n componentDidMount() {\n super.componentDidMount();\n this.model.attachToUI(this.props.page, this.rootRef.current);\n this.model.isGhost = this.props.isGhost;\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.model.detachFromUI();\n }\n protected canRender(): boolean {\n return super.canRender();\n }\n renderElement(): React.JSX.Element {\n if (!this.props.page) return null;\n return (\n attachKey2click(<div\n ref={this.rootRef}\n id={this.props.page.id}\n data-sv-drop-target-survey-page={this.model.dropTargetName}\n className={\"svc-page__content \" + this.model.css}\n onClick={(e) => {\n return this.model.select(this.model, new ReactMouseEvent(e));\n }}\n onDoubleClick={e => this.model.dblclick(e.nativeEvent)}\n onMouseLeave={(e) => this.model.hover(e.nativeEvent, e.currentTarget)}\n onMouseOver={(e) => this.model.hover(e.nativeEvent, e.currentTarget)}\n >\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\n {this.renderContent()}\n {this.renderPlaceholder()}\n {this.renderHeader()}\n {this.renderFooter()}\n </div>)\n );\n }\n protected renderPlaceholder(): React.JSX.Element {\n if (!this.model.showPlaceholder) return null;\n return (\n <div className=\"svc-page__placeholder_frame\">\n <div className=\"svc-panel__placeholder_frame\">\n <div className=\"svc-panel__placeholder\">{this.model.placeholderText}</div>\n </div>\n </div>\n );\n }\n protected renderContent(): React.JSX.Element {\n if (!this.model.needRenderContent) {\n return <div className={\"svc-page__loading-content\"}><LoadingIndicatorComponent></LoadingIndicatorComponent></div>;\n }\n return (\n <PageElementContent\n page={this.props.page}\n survey={this.props.survey}\n creator={this.props.creator}\n />\n );\n }\n protected renderHeader(): React.JSX.Element {\n const actions = (<div className=\"svc-page__content-actions\">\n <SurveyActionBar model={this.model.actionContainer}></SurveyActionBar>\n {(this.model.topActionContainer.hasActions ? <SurveyActionBar model={this.model.topActionContainer}></SurveyActionBar> : null)}\n </div>);\n if (this.model.isGhost || !this.model.allowDragging) {\n return actions;\n }\n return (\n <div className={\"svc-question__drag-area\"}\n onPointerDown={(event: any) => this.model.onPointerDown(event)}\n >\n <SvgIcon className=\"svc-question__drag-element\" size={\"auto\"} iconName={\"icon-drag-area-indicator_24x16\"}></SvgIcon>\n {actions}\n </div>\n );\n }\n protected renderFooter(): React.JSX.Element {\n return <SurveyActionBar model={this.model.footerActionsBar}></SurveyActionBar>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-page\", (props) => {\n return React.createElement(CreatorSurveyPageComponent, props);\n});\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, Question } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n SurveyQuestion,\n attachKey2click,\n SvgIcon,\n Popup\n} from \"survey-react-ui\";\nimport { QuestionAdornerComponent, QuestionAdornerComponentProps } from \"./Question\";\nimport { AddQuestionButtonComponent } from \"../AddQuestionButton\";\n\nexport class PanelAdornerComponent extends QuestionAdornerComponent {\n renderElementPlaceholder(): React.JSX.Element {\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (\n <div className=\"svc-panel__placeholder_frame-wrapper\">\n <div className=\"svc-panel__placeholder_frame\">\n <div className=\"svc-panel__placeholder\">\n {this.model.placeholderText}\n </div>\n {this.model.showAddQuestionButton ? attachKey2click(<div\n className=\"svc-panel__add-new-question svc-action-button\"\n onClick={(e) => {\n e.stopPropagation();\n this.model.addNewQuestion();\n }}\n >\n <SvgIcon\n className={\"svc-panel__add-new-question-icon\"}\n iconName={\"icon-add_24x24\"}\n size={\"auto\"}\n ></SvgIcon>\n <span className=\"svc-add-new-item-button__text\">\n {this.model.addNewQuestionText}\n </span>\n </div>) : null}\n </div>\n </div>\n );\n }\n protected disableTabStop() {\n return true;\n }\n protected renderFooter(): React.JSX.Element {\n return (<React.Fragment>\n {!this.model.isEmptyElement && this.model.element.isPanel && this.model.showAddQuestionButton ? (\n <div className=\"svc-panel__add-new-question-container\">\n <div className=\"svc-panel__question-type-selector-popup\">\n <Popup model={this.model.questionTypeSelectorModel.popupModel}></Popup>\n </div>\n <div className=\"svc-panel__add-new-question-wrapper\">\n <AddQuestionButtonComponent item={{ data: this.model } as any} buttonClass={\"svc-action-button\"} renderPopup={false} />\n </div>\n </div>) : null}\n\n {super.renderFooter()}\n </React.Fragment>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-panel\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(PanelAdornerComponent, props);\n }\n);\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, PanelModel, Question, SurveyElementCore } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyQuestion,\n attachKey2click,\n SvgIcon,\n Popup,\n SurveyElementBase,\n TitleElement\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\nexport interface QuestionAdornerComponentProps {\n element: React.JSX.Element;\n question: Question;\n componentData: any;\n}\n\nfunction QuestionElementContentFunc(props: { element: React.JSX.Element }): React.ReactElement {\n return props.element;\n}\n\nconst QuestionElementContent = React.memo(QuestionElementContentFunc);\nQuestionElementContent.displayName = \"QuestionElementContent\";\n\nexport class QuestionAdornerComponent extends CreatorModelElement<\n QuestionAdornerComponentProps,\n any\n> {\n private modelValue: QuestionAdornerViewModel;\n protected rootRef: React.RefObject<HTMLDivElement>;\n constructor(props: QuestionAdornerComponentProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: QuestionAdornerComponentProps): void {\n if (this.model) {\n this.model.attachToUI(props.question, this.rootRef.current);\n } else {\n this.modelValue = this.createQuestionViewModel(props);\n }\n }\n protected createQuestionViewModel(props: any): QuestionAdornerViewModel {\n return new QuestionAdornerViewModel(\n props.componentData,\n props.question,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n public get model(): QuestionAdornerViewModel {\n return this.modelValue;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const allowInteractions = this.model.element\n .isInteractiveDesignElement;\n const titleForCollapsedState = this.renderQuestionTitle();\n const content = this.renderContent(allowInteractions);\n return (\n <div\n ref={this.rootRef}\n data-sv-drop-target-survey-element={this.model.element.name || null}\n className={this.model.rootCss()}\n onDoubleClick={e => { allowInteractions && this.model.dblclick(e.nativeEvent); e.stopPropagation(); }}\n onMouseLeave={e => allowInteractions && this.model.hover(e.nativeEvent, e.currentTarget)}\n onMouseOver={e => allowInteractions && this.model.hover(e.nativeEvent, e.currentTarget)}\n >\n {titleForCollapsedState}\n {content}\n </div>\n );\n }\n protected disableTabStop() {\n return true;\n }\n protected renderContent(allowInteractions: boolean): React.JSX.Element {\n var content = this.model.needToRenderContent ? this.renderElementContent() : null;\n //if (!allowInteractions) return <>{content}{this.renderFooter()}</>;\n return attachKey2click(\n <div\n className={this.model.css()}\n onClick={(e) => this.model.select(this.model, new ReactMouseEvent(e))}\n >\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--left\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--right\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--top\"></div>\n <div className=\"svc-question__drop-indicator svc-question__drop-indicator--bottom\"></div>\n {allowInteractions ? this.renderHeader() : null}\n {content}\n {this.model.needToRenderContent ? this.renderFooter() : null}\n </div>,\n undefined, { disableTabStop: this.disableTabStop() });\n }\n protected renderHeader(): React.JSX.Element {\n return ReactElementFactory.Instance.createElement(\"svc-question-header\", { model: this.model });\n }\n protected renderFooter(): React.JSX.Element {\n const allowInteractions = this.model.element\n .isInteractiveDesignElement;\n return allowInteractions ? ReactElementFactory.Instance.createElement(\"svc-question-footer\", { className: \"svc-question__content-actions\", model: this.model }) : null;\n }\n protected renderCarryForwardBanner(): React.JSX.Element {\n if (!this.model.isBannerShowing) return null;\n return ReactElementFactory.Instance.createElement(\"svc-question-banner\", this.model.createBannerParams());\n }\n\n protected renderQuestionTitle(): React.JSX.Element {\n if (!this.model.showHiddenTitle) return null;\n const element = this.model.element as Question | PanelModel;\n return (\n <div\n ref={node => node && (!this.model.renderedCollapsed ?\n node.setAttribute(\"inert\", \"\") : node.removeAttribute(\"inert\")\n )} className={this.model.cssCollapsedHiddenHeader} >\n {(\n element.hasTitle ?\n <TitleElement element={element} renderActions={false}></TitleElement> :\n <div\n className={this.model.cssCollapsedHiddenTitle} >\n <span className=\"svc-fake-title\">{element.name}</span>\n </div>\n )}\n </div>\n );\n }\n\n protected renderElementContent(): React.JSX.Element {\n return (\n <>\n <QuestionElementContent element={this.props.element} />\n {this.renderElementPlaceholder()}\n {this.renderCarryForwardBanner()}\n </>\n );\n }\n componentDidMount() {\n super.componentDidMount();\n this.model.attachToUI(this.props.question, this.rootRef.current);\n }\n renderElementPlaceholder(): React.JSX.Element {\n if (!this.model.isEmptyElement) {\n return null;\n }\n return (\n <div className=\"svc-panel__placeholder_frame-wrapper\">\n <div className=\"svc-panel__placeholder_frame\">\n <div className=\"svc-panel__placeholder\">\n {this.model.placeholderText}\n </div>\n </div>\n </div>\n );\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.model.detachFromUI();\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionAdornerComponent, props);\n }\n);\n","import { QuestionBannerParams } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { ActionButton } from \"../ActionButton\";\n\nexport class QuestionBanner extends React.Component<QuestionBannerParams, any> {\n render(): React.JSX.Element {\n return (\n <div className=\"svc-carry-forward-panel-wrapper\"><div className=\"svc-carry-forward-panel\">\n <span>{this.props.text}{\" \"}</span>\n <span className=\"svc-carry-forward-panel__link\">\n <ActionButton click={() => this.props.onClick()} text={this.props.actionText}></ActionButton>\n </span>\n </div></div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-banner\",\n (props: QuestionBannerParams) => {\n return React.createElement(QuestionBanner, props);\n }\n);\n\n","import * as React from \"react\";\nimport { QuestionDropdownAdornerViewModel } from \"survey-creator-core\";\nimport { ItemValue, QuestionDropdownModel, QuestionSelectBase, SurveyModel } from \"survey-core\";\nimport { ReactElementFactory, ReactSurveyElementsWrapper } from \"survey-react-ui\";\nimport {\n QuestionAdornerComponent,\n QuestionAdornerComponentProps\n} from \"./Question\";\nimport { ActionButton } from \"../ActionButton\";\n\nexport class QuestionDropdownAdornerComponent extends QuestionAdornerComponent {\n constructor(props: QuestionAdornerComponentProps) {\n super(props);\n }\n protected createQuestionViewModel(props: any): QuestionDropdownAdornerViewModel {\n return new QuestionDropdownAdornerViewModel(\n props.componentData,\n props.question as QuestionDropdownModel,\n null\n );\n }\n public get dropdownModel(): QuestionDropdownAdornerViewModel {\n return this.model as QuestionDropdownAdornerViewModel;\n }\n public get question(): QuestionSelectBase {\n return this.dropdownModel.question as QuestionSelectBase;\n }\n\n renderElementPlaceholder(): React.JSX.Element {\n const textStyle = (this.question as any).textStyle;\n return (\n <div\n className=\"svc-question__dropdown-choices--wrapper\">\n <div>\n <div className=\"svc-question__dropdown-choices\">\n {(this.dropdownModel.getRenderedItems() || []).map(\n (item: ItemValue, index: number) => (\n <div\n className={this.dropdownModel.getChoiceCss()}\n key={`editable_choice_${index}`}\n >\n {ReactSurveyElementsWrapper.wrapItemValue(this.question.survey as SurveyModel,\n ReactElementFactory.Instance.createElement(\n this.dropdownModel.itemComponent,\n {\n key: item.value,\n question: this.question,\n cssClasses: this.question.cssClasses,\n isDisplayMode: true,\n item: item,\n textStyle: textStyle,\n index: index,\n isChecked: this.question.value === item.value\n }\n ),\n this.question,\n item\n )}\n </div>\n )\n )}\n </div>\n {this.dropdownModel.needToCollapse ?\n <ActionButton\n click={this.dropdownModel.switchCollapse}\n text={this.dropdownModel.getButtonText()}\n allowBubble={true}\n ></ActionButton> :\n null\n }\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-dropdown-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionDropdownAdornerComponent, props);\n }\n);\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n} from \"survey-react-ui\";\n\nexport interface QuestionWrapperFooterProps {\n className?: string;\n model: QuestionAdornerViewModel;\n}\nexport class QuestionWrapperFooter extends React.Component<QuestionWrapperFooterProps, any> {\n render(): React.JSX.Element {\n return (<div className={this.props.className} onFocus={(e) => this.props.model.select(this.props.model, new ReactMouseEvent(e as any))}>\n <SurveyActionBar model={this.props.model.actionContainer} handleClick={false}></SurveyActionBar>\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-footer\",\n (props: QuestionWrapperFooterProps) => {\n return React.createElement(QuestionWrapperFooter, props);\n }\n);\n\n","import { QuestionAdornerViewModel, toggleHovered } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { ReactDragEvent, ReactMouseEvent } from \"../events\";\nimport { Base, Question } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n SurveyQuestion,\n attachKey2click,\n SvgIcon,\n Popup\n} from \"survey-react-ui\";\n\nexport interface QuestionWrapperHeaderProps {\n className?: string;\n model: QuestionAdornerViewModel;\n}\n\nexport class QuestionWrapperHeader extends React.Component<QuestionWrapperHeaderProps, any> {\n render(): React.JSX.Element {\n if (!this.props.model.allowDragging) return null;\n return (\n <div className={\"svc-question__drag-area\"}\n onPointerDown={(event: any) =>\n this.props.model.onPointerDown(event)\n }\n >\n <SvgIcon className=\"svc-question__drag-element\" size={\"auto\"} iconName={\"icon-drag-area-indicator_24x16\"}></SvgIcon>\n <div className=\"svc-question__top-actions\">\n <SurveyActionBar model={this.props.model.topActionContainer} handleClick={false}></SurveyActionBar>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-question-header\",\n (props: QuestionWrapperHeaderProps) => {\n return React.createElement(QuestionWrapperHeader, props);\n }\n);\n","import {\n QuestionImageAdornerViewModel,\n QuestionAdornerViewModel\n} from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { attachKey2click, LoadingIndicatorComponent, ReactElementFactory, ReactQuestionFactory, SvgIcon } from \"survey-react-ui\";\nimport {\n QuestionAdornerComponent,\n QuestionAdornerComponentProps\n} from \"./Question\";\nimport { Base } from \"survey-core\";\n\nexport class QuestionImageAdornerComponent extends QuestionAdornerComponent {\n protected createQuestionViewModel(props: any): QuestionAdornerViewModel {\n return new QuestionImageAdornerViewModel(\n props.componentData,\n props.question as any,\n null);\n }\n public get imageModel(): QuestionImageAdornerViewModel {\n return this.model as QuestionImageAdornerViewModel;\n }\n protected renderHeader(): React.JSX.Element {\n return (<React.Fragment>\n <input\n type=\"file\"\n aria-hidden=\"true\"\n tabIndex={-1}\n accept={this.imageModel.acceptedTypes}\n className=\"svc-choose-file-input\"\n style={{\n position: \"absolute\",\n opacity: 0,\n width: \"1px\",\n height: \"1px\",\n overflow: \"hidden\"\n }}\n />\n\n {super.renderHeader()}\n </React.Fragment>);\n }\n renderLoadingPlaceholder(): React.JSX.Element {\n return (<div className=\"svc-image-question__loading-placeholder\">\n <div className=\"svc-image-question__loading\">\n <LoadingIndicatorComponent></LoadingIndicatorComponent>\n </div>\n </div>);\n }\n renderChooseButton(): React.JSX.Element {\n return (<div className=\"svc-image-question-controls\">\n {this.model.allowEdit ? attachKey2click(<span\n className=\"svc-context-button\"\n onClick={() => this.imageModel.chooseFile(this.imageModel)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-choosefile\"}></SvgIcon>\n </span>) : null}\n </div>);\n }\n renderElementPlaceholder(): React.JSX.Element {\n return this.imageModel.isUploading ? this.renderLoadingPlaceholder() : this.renderChooseButton();\n }\n protected getStateElements(): Array<Base> {\n return [this.model, this.imageModel.filePresentationModel];\n }\n\n protected renderElementContent(): React.JSX.Element {\n if (this.imageModel.isEmptyElement) {\n const fileQuestion = ReactQuestionFactory.Instance.createQuestion(\"file\", {\n creator: this.imageModel.question.survey,\n isDisplayMode: false,\n question: this.imageModel.filePresentationModel\n });\n return (<>\n {fileQuestion}\n </>);\n } else {\n return (\n <>\n {this.props.element}\n {this.renderElementPlaceholder()}\n </>\n );\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-image-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionImageAdornerComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { QuestionRatingAdornerViewModel } from \"survey-creator-core\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { QuestionAdornerComponentProps } from \"./Question\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\nexport class QuestionRatingAdornerComponent extends CreatorModelElement<QuestionAdornerComponentProps, any> {\n private modelValue: QuestionRatingAdornerViewModel;\n\n protected createModel(props: any): void {\n this.modelValue = this.createQuestionViewModel(props);\n }\n protected createQuestionViewModel(props: any): QuestionRatingAdornerViewModel {\n return new QuestionRatingAdornerViewModel(\n props.componentData,\n props.question as any,\n null\n );\n }\n protected getUpdatedModelProps(): string[] {\n return [\"question\", \"componentData\"];\n }\n public get ratingModel(): QuestionRatingAdornerViewModel {\n return this.model as QuestionRatingAdornerViewModel;\n }\n public get model(): QuestionRatingAdornerViewModel {\n return this.modelValue;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n protected renderElement(): React.JSX.Element {\n const model = this.ratingModel;\n return (<>\n <div className=\"svc-rating-question-content\">\n <div className={model.controlsClassNames}>\n {model.allowRemove ? attachKey2click(<span\n role=\"button\"\n className={model.removeClassNames}\n aria-label={model.removeTooltip}\n onClick={() => model.removeItem(model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-remove_16x16\"} title={model.removeTooltip}></SvgIcon>\n </span>) : null}\n {model.allowAdd ? attachKey2click(<span\n role=\"button\"\n className={model.addClassNames}\n aria-label={model.addTooltip}\n onClick={() => model.addItem(model)}\n >\n <SvgIcon size={\"auto\"} iconName={\"icon-add_16x16\"} title={model.addTooltip}></SvgIcon>\n </span>) : null}\n </div>\n {this.props.element}\n </div>\n </>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-rating-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionRatingAdornerComponent, props);\n }\n);\nReactElementFactory.Instance.registerElement(\n \"svc-rating-question-content\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionRatingAdornerComponent, props);\n }\n);\n","import {\n QuestionAdornerViewModel\n} from \"survey-creator-core\";\nimport * as React from \"react\";\nimport {\n QuestionAdornerComponent,\n QuestionAdornerComponentProps\n} from \"./Question\";\nimport { attachKey2click, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\n\nexport class QuestionWidgetAdornerComponent extends QuestionAdornerComponent {\n protected createQuestionViewModel(props: any): QuestionAdornerViewModel {\n return new QuestionAdornerViewModel(\n props.componentData,\n props.question as any,\n null\n );\n }\n public get widgetModel(): QuestionAdornerViewModel {\n return this.model as QuestionAdornerViewModel;\n }\n protected renderElementContent(): React.JSX.Element {\n return (\n <div\n className={\"svc-widget__content\"}\n >\n {this.props.element}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-widget-question\",\n (props: QuestionAdornerComponentProps) => {\n return React.createElement(QuestionWidgetAdornerComponent, props);\n }\n);\n","import { RowViewModel } from \"survey-creator-core\";\nimport * as React from \"react\";\nimport { Base, QuestionRowModel } from \"survey-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\ninterface RowWrapperComponentProps {\n element: React.JSX.Element;\n componentData: any;\n row: QuestionRowModel;\n}\n\nexport class RowWrapper extends CreatorModelElement<\n RowWrapperComponentProps,\n any\n> {\n model: RowViewModel;\n constructor(props: RowWrapperComponentProps) {\n super(props);\n }\n protected createModel(props: any): void {\n if (!!this.model) {\n this.model.dispose();\n }\n this.model = new RowViewModel(\n props.componentData.creator,\n props.row,\n null\n );\n }\n protected getUpdatedModelProps(): Array<string | { name: string, deepEqual?: boolean }> {\n return [\"row\", { name: \"componentData\", deepEqual: true }];\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n componentDidMount(): void {\n super.componentDidMount();\n this.model.subscribeElementChanges();\n }\n componentWillUnmount(): void {\n this.model.unsubscribeElementChanges();\n super.componentWillUnmount();\n }\n\n render(): React.JSX.Element {\n return (\n <div\n key={\"svc-row-\" + this.props.row.id}\n className={this.model.cssClasses}\n >\n <div className=\"svc-row__drop-indicator svc-row__drop-indicator--top\"></div>\n <div className=\"svc-row__drop-indicator svc-row__drop-indicator--bottom\"></div>\n {this.props.element}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-row\",\n (props: RowWrapperComponentProps) => {\n return React.createElement(RowWrapper, props);\n }\n);\n","import * as React from \"react\";\nimport { ComponentContainerModel } from \"survey-creator-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\ninterface IComponentContainerProps {\n model: ComponentContainerModel;\n}\n\nexport class ComponentContainer extends React.Component<IComponentContainerProps, any> {\n constructor(props: IComponentContainerProps) {\n super(props);\n }\n render(): React.JSX.Element {\n return (\n <div className={this.props.model.cssClass} >\n {this.props.model.elements.map((element, index) => {\n return ReactElementFactory.Instance.createElement(element.componentName, { ...element.componentData, key: index });\n })}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-component-container\",\n (props: IComponentContainerProps) => {\n return React.createElement(ComponentContainer, props);\n }\n);","import * as React from \"react\";\nimport { Base, settings } from \"survey-core\";\nimport { SearchManager } from \"survey-creator-core\";\nimport { ReactElementFactory, SurveyActionBar, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\n\ninterface ISearchComponentProps {\n model: SearchManager;\n}\nexport class SearchComponent extends SurveyElementBase<ISearchComponentProps, any> {\n protected get model(): SearchManager {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n constructor(props: any) {\n super(props);\n this.state = {\n filterString: this.model.filterString || \"\"\n };\n }\n\n renderElement(): React.JSX.Element {\n if (!this.model.isVisible) return null;\n\n const onChange = (e: any) => {\n const { root } = settings.environment;\n if (e.target === root.activeElement) {\n this.model.filterString = e.target.value;\n }\n };\n return (\n <div className=\"svc-search\">\n <div className=\"svc-search__search-icon\">\n <SvgIcon iconName=\"icon-search\" size={\"auto\"}></SvgIcon>\n </div>\n <input type=\"text\" className=\"svc-search__input\"\n aria-label={this.model.filterStringPlaceholder}\n placeholder={this.model.filterStringPlaceholder}\n value={this.state.filterString}\n onChange={onChange} tabIndex={this.model.getTabIndex()}></input>\n <div className=\"svc-search__toolbar\">\n <div className=\"svc-search__toolbar-counter\">{(this.model as any).matchCounterText}</div>\n <SurveyActionBar model={this.model.searchActionBar}></SurveyActionBar>\n </div>\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-search\", (props) => {\n return React.createElement(\n SearchComponent,\n props as ISearchComponentProps\n );\n});\n","import * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\ninterface ISurfacePlaceholderProps {\n name: string;\n placeholderTitleText: string;\n placeholderDescriptionText: string;\n}\n\nexport class SurfacePlaceholder extends React.Component<ISurfacePlaceholderProps, any> {\n constructor(props: ISurfacePlaceholderProps) {\n super(props);\n }\n render(): React.JSX.Element {\n return (\n <div className=\"svc-surface-placeholder\" >\n <div className={\"svc-surface-placeholder__image svc-surface-placeholder__image--\" + this.props.name}></div >\n <div className=\"svc-surface-placeholder__text\">\n <div className=\"svc-surface-placeholder__title\">{this.props.placeholderTitleText}</div>\n <div className=\"svc-surface-placeholder__description\">{this.props.placeholderDescriptionText}</div>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-surface-placeholder\",\n (props: ISurfacePlaceholderProps) => {\n return React.createElement(SurfacePlaceholder, props);\n }\n);","import * as React from \"react\";\nimport { type QuestionBooleanModel, RendererFactory } from \"survey-core\";\nimport { attachKey2click, ReactQuestionFactory, SurveyElementBase, SurveyQuestionElementBase } from \"survey-react-ui\";\nexport class SurveyQuestionBooleanSwitch extends SurveyQuestionElementBase {\n protected renderElement(): React.JSX.Element {\n const button = attachKey2click(<div className={\"spg-boolean-switch__button\" + (this.questionBase.booleanValue ? \" spg-boolean-switch__button--checked\" : \"\")} tabIndex={0}\n role=\"checkbox\"\n aria-checked={this.questionBase.booleanValue || false}\n aria-required={this.questionBase.a11y_input_ariaRequired}\n aria-label={this.questionBase.a11y_input_ariaLabel}\n aria-labelledby={this.questionBase.a11y_input_ariaLabelledBy}\n aria-invalid={this.questionBase.a11y_input_ariaInvalid}\n aria-errormessage={this.questionBase.a11y_input_ariaErrormessage}\n >\n <div className=\"spg-boolean-switch__thumb\">\n <div className=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--left\"></div>\n </div>\n <div className=\"spg-boolean-switch__thumb\">\n <div className=\"spg-boolean-switch__thumb-circle spg-boolean-switch__thumb--right\"></div>\n </div>\n </div>, this.questionBase, { processEsc: false });\n\n return (\n <div className=\"spg-boolean-switch\" onClick={() => this.questionBase.booleanValue = !this.questionBase.booleanValue}>\n {button}\n <div className=\"spg-boolean-switch__caption\">\n <div className=\"spg-boolean-switch__title\" id={this.questionBase.labelRenderedAriaID}>\n {SurveyElementBase.renderLocString(this.questionBase.locTitle)}\n </div>\n </div>\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\n \"sv-boolean-switch\",\n (props) => {\n return React.createElement(SurveyQuestionBooleanSwitch, props);\n }\n);\n\nRendererFactory.Instance.registerRenderer(\n \"boolean\",\n \"switch\",\n \"sv-boolean-switch\"\n);\n","import * as React from \"react\";\nimport { ItemValue } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\n\nclass ItemTemplateComponent extends SurveyElementBase<{ item: ItemValue }, any> {\n render() {\n const item = this.props.item;\n return (\n <>\n <span className=\"spg-color-editor__color-swatch\" style={{ backgroundColor: item.value }}></span>\n <span key={2}>{this.renderLocString(item.locTitle, undefined, \"locString\")}</span>\n </>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"color-item\",\n (props) => {\n return React.createElement(ItemTemplateComponent, props);\n }\n);","import * as React from \"react\";\nimport { QuestionColorModel } from \"survey-creator-core\";\nimport { ReactElementFactory, ReactQuestionFactory, SurveyQuestionText, SvgIcon, Popup } from \"survey-react-ui\";\n\nexport class SurveyQuestionColor extends SurveyQuestionText {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionColorModel {\n return this.questionBase as QuestionColorModel;\n }\n protected renderInput() {\n return (\n <>\n <input\n id={this.question.inputId}\n disabled={this.isDisplayMode}\n className={this.question.cssClasses.control}\n ref={(input) => (this.setControl(input))}\n placeholder={this.question.renderedPlaceholder}\n autoComplete=\"off\"\n onKeyUp={(event) => this.question.onKeyUp(event.nativeEvent)}\n onBlur={(event) => this.question.onBlur(event.nativeEvent)}\n onChange={this.question.onChange}\n onBeforeInput={event => this.question.onBeforeInput(event.nativeEvent as InputEvent)}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-describedby={this.question.a11y_input_ariaDescribedBy}\n />\n </>\n );\n }\n protected renderElement(): React.JSX.Element {\n return (\n <div className={this.question.cssClasses.root} onKeyDown={event => this.question.onKeyDown(event.nativeEvent)}>\n {this.renderColorSwatch()}\n {this.renderInput()}\n {this.question.showDropdownAction ? this.renderDropdownAction() : null}\n </div>\n );\n }\n protected getValueCore() {\n return this.question.renderedValue;\n }\n protected renderColorSwatch(): React.JSX.Element {\n return <label className={this.question.getSwatchCss()} style={this.question.getSwatchStyle()}>\n <SvgIcon iconName={this.question.cssClasses.swatchIcon} size={\"auto\"}></SvgIcon>\n <input type=\"color\"\n disabled={this.isDisplayMode}\n value={this.question.renderedColorValue}\n className={this.question.cssClasses.colorInput}\n onChange={(event) => this.question.onColorInputChange(event.nativeEvent)}\n tabIndex={-1}\n aria-required={this.question.a11y_input_ariaRequired}\n aria-labelledby={this.question.a11y_input_ariaLabelledBy}\n aria-label={this.question.a11y_input_ariaLabel}\n aria-invalid={this.question.a11y_input_ariaInvalid}\n aria-describedby={this.question.a11y_input_ariaDescribedBy} />\n </label>;\n }\n protected renderDropdownAction(): React.JSX.Element {\n return (\n <>\n <div aria-hidden=\"true\" className={this.question.cssClasses.choicesButtonWrapper}>\n {ReactElementFactory.Instance.createElement(\"sv-action-bar-item\", { item: this.question.dropdownAction })}\n </div>\n {this.renderPopup()}\n </>\n );\n }\n protected renderPopup(): React.JSX.Element {\n return <Popup model={this.question.dropdownAction.popupModel}></Popup>;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"color\", (props) => {\n return React.createElement(SurveyQuestionColor, props);\n});","import * as React from \"react\";\nimport { QuestionFileEditorModel } from \"survey-creator-core\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon, attachKey2click } from \"survey-react-ui\";\n\nexport class SurveyQuestionFileEditor extends SurveyQuestionText {\n constructor(props: any) {\n super(props);\n }\n protected get questionFile(): QuestionFileEditorModel {\n return this.questionBase as QuestionFileEditorModel;\n }\n protected getValueCore() {\n return this.question.renderedValue;\n }\n protected renderInput() {\n return (\n <>\n <input\n disabled={this.question.isTextInputReadOnly}\n className={this.questionFile.cssClasses.control}\n placeholder={this.questionFile.renderedPlaceholder}\n ref={(input) => (this.setControl(input))}\n autoComplete=\"off\"\n type=\"text\"\n onBlur={(event) => this.questionFile.onInputBlur(event.nativeEvent)}\n onChange={(event) => this.questionFile.onInputChange(event.nativeEvent)}\n />\n </>\n );\n }\n protected renderFileInput(): React.JSX.Element {\n return (\n <input\n type=\"file\"\n disabled={this.isDisplayMode}\n className={this.questionFile.cssClasses.fileInput}\n id={this.questionFile.inputId}\n aria-required={this.questionFile.ariaRequired}\n aria-label={this.questionFile.ariaLabel}\n aria-invalid={this.questionFile.ariaInvalid}\n aria-describedby={this.questionFile.ariaDescribedBy}\n multiple={false} title={this.questionFile.inputTitle}\n accept={this.questionFile.acceptedTypes}\n tabIndex={-1}\n onChange={(event) => this.questionFile.onFileInputChange(event.nativeEvent)} />\n );\n }\n protected renderButtons(): React.JSX.Element {\n return (\n <div className={this.questionFile.cssClasses.buttonsContainer}>\n {this.renderClearButton()}\n {this.renderChooseButton()}\n </div>\n );\n }\n protected renderClearButton(): React.JSX.Element {\n return attachKey2click((\n <button\n className={this.questionFile.cssClasses.clearButton}\n title={this.questionFile.clearButtonCaption}\n disabled={this.questionFile.getIsClearButtonDisabled()}\n onClick={this.questionFile.doClean}>\n <SvgIcon iconName={this.questionFile.cssClasses.clearButtonIcon} size={\"auto\"}></SvgIcon>\n </button>\n ));\n }\n protected renderChooseButton(): React.JSX.Element {\n return (\n attachKey2click(\n <label\n onClick={event => this.questionFile.chooseFiles(event.nativeEvent)}\n className={this.questionFile.getChooseButtonCss()}\n htmlFor={this.questionFile.inputId}\n aria-label={this.questionFile.chooseButtonCaption}>\n <SvgIcon iconName={this.questionFile.cssClasses.chooseButtonIcon} size={\"auto\"} title={this.questionFile.chooseButtonCaption}></SvgIcon>\n </label>\n )\n );\n }\n protected renderElement(): React.JSX.Element {\n return (\n <div\n className={this.questionFile.cssClasses.root}\n ref={el => this.setContent(el)}\n onDragEnter={this.questionFile.onDragEnter}\n onDragOver={this.questionFile.onDragOver}\n onDrop={this.questionFile.onDrop}\n onDragLeave={this.questionFile.onDragLeave}\n onKeyDown={event => this.question.onKeyDown(event.nativeEvent)}>\n {this.renderInput()}\n {this.renderFileInput()}\n {this.renderButtons()}\n </div>\n );\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"fileedit\", (props) => {\n return React.createElement(SurveyQuestionFileEditor, props);\n});","import * as React from \"react\";\nimport { QuestionSpinEditorModel } from \"survey-creator-core\";\nimport { ReactQuestionFactory, SurveyQuestionText, SvgIcon } from \"survey-react-ui\";\n\nexport class SurveyQuestionSpinEditor extends SurveyQuestionText {\n constructor(props: any) {\n super(props);\n }\n protected get question(): QuestionSpinEditorModel {\n return this.questionBase as QuestionSpinEditorModel;\n }\n protected renderInput() {\n return (\n <>\n <input\n role=\"spinbutton\"\n id={this.question.inputId}\n disabled={this.isDisplayMode}\n className={this.question.cssClasses.control}\n ref={(input) => (this.setControl(input))}\n placeholder={this.question.renderedPlaceholder}\n autoComplete=\"off\"\n onBlur={(event) => this.question.onBlur(event.nativeEvent)}\n onFocus={(event) => this.question.onFocus(event.nativeEvent)}\n onChange={this.question.onChange}\n onBeforeInput={event => this.question.onBeforeInput(event.nativeEvent as InputEvent)}\n onKeyUp={(event) => this.question.onKeyUp(event.nativeEvent)}\n onKeyDown={(event) => this.question.onInputKeyDown(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 </>\n );\n }\n protected renderElement(): React.JSX.Element {\n return (\n <div className={this.question.cssClasses.root} onKeyDown={event => this.question.onKeyDown(event.nativeEvent)}>\n {this.renderInput()}\n {this.renderButtons()}\n </div>\n );\n }\n protected getValueCore() {\n return this.question.renderedValue;\n }\n protected renderButtons(): React.JSX.Element {\n return (\n <span className={this.question.cssClasses.buttonsContainer}>\n <button\n tabIndex={-1}\n aria-hidden={\"true\"}\n className={this.question.cssClasses.arrowButton}\n disabled={this.isDisplayMode}\n onClick={this.question.onDownButtonClick}\n onMouseDown={this.question.onDownButtonMouseDown}\n onMouseUp={this.question.onButtonMouseUp}\n onMouseLeave={this.question.onButtonMouseLeave}\n onBlur={event => this.question.onBlur(event.nativeEvent)}\n onFocus={event => this.question.onFocus(event.nativeEvent)}>\n <SvgIcon iconName={this.question.cssClasses.decreaseButtonIcon} size={\"auto\"}></SvgIcon>\n </button>\n <button\n tabIndex={-1}\n aria-hidden={\"true\"}\n className={this.question.cssClasses.arrowButton}\n disabled={this.isDisplayMode}\n onClick={this.question.onUpButtonClick}\n onMouseDown={this.question.onUpButtonMouseDown}\n onMouseUp={this.question.onButtonMouseUp}\n onMouseLeave={this.question.onButtonMouseLeave}\n onBlur={event => this.question.onBlur(event.nativeEvent)}\n onFocus={event => this.question.onFocus(event.nativeEvent)}>\n <SvgIcon iconName={this.question.cssClasses.increaseButtonIcon} size={\"auto\"}></SvgIcon>\n </button>\n </span>\n );\n }\n\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"spinedit\", (props) => {\n return React.createElement(SurveyQuestionSpinEditor, props);\n});\n","import * as React from \"react\";\nimport { QuestionCommentWithResetModel, QuestionTextWithResetModel } from \"survey-creator-core\";\nimport { ReactQuestionFactory, SurveyQuestionElementBase, SurveyQuestionText, SvgIcon } from \"survey-react-ui\";\n\nexport class SurveyQuestionTextWithReset extends SurveyQuestionElementBase {\n protected get question(): QuestionTextWithResetModel | QuestionCommentWithResetModel {\n return this.questionBase as unknown as (QuestionTextWithResetModel | QuestionCommentWithResetModel);\n }\n protected renderElement(): React.JSX.Element {\n const textElement = this.renderInput();\n const resetButton = this.renderResetButton();\n return (\n <div className={this.question.getRootClass()}>\n {textElement}\n {resetButton}\n </div>\n );\n }\n\n protected renderInput() {\n return ReactQuestionFactory.Instance.createQuestion(this.question.wrappedQuestionTemplate,\n {\n question: this.question,\n isDisplayMode: this.question.isInputReadOnly,\n creator: this,\n });\n }\n protected renderResetButton() {\n return (<button\n className={this.question.cssClasses.resetButton}\n disabled={this.question.resetValueAdorner.isDisabled}\n title={this.question.resetValueAdorner.caption}\n onClick={() => this.question.resetValueAdorner.resetValue()}>\n <SvgIcon iconName={this.question.cssClasses.resetButtonIcon} size={\"auto\"}></SvgIcon>\n </button>);\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"textwithreset\", (props) => {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});\n\nReactQuestionFactory.Instance.registerQuestion(\"commentwithreset\", (props) => {\n return React.createElement(SurveyQuestionTextWithReset, props);\n});","declare var Reflect:any;\n\nexport var __decorate = function(\n decorators: any,\n target: any,\n key: any,\n desc: any\n) {\n var c = arguments.length,\n r =\n c < 3\n ? target\n : desc === null\n ? (desc = Object.getOwnPropertyDescriptor(target, key))\n : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\n r = Reflect.decorate(decorators, target, key, desc);\n else\n for (var i = decorators.length - 1; i >= 0; i--)\n if ((d = decorators[i]))\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\nexport var __assign =\n Object[\"assign\"] ||\n function(target) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s)\n if (Object.prototype.hasOwnProperty.call(s, p)) target[p] = s[p];\n }\n return target;\n };\n\nexport function __extends(thisClass, baseClass) {\n for (var p in baseClass)\n if (baseClass.hasOwnProperty(p)) thisClass[p] = baseClass[p];\n function __() {\n this.constructor = thisClass;\n }\n thisClass.prototype =\n baseClass === null\n ? Object.create(baseClass)\n : ((__.prototype = baseClass.prototype), new __());\n}\n\nexport var __spreadArrays = function () {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n};\n","export let Version: string;\nVersion = `${process.env.VERSION}`;\n\n// import \"@survey/creator/survey-creator-core.css\";\n\nexport { SurveyCreatorComponent } from \"../SurveyCreator\";\n\nexport * from \"../adorners/Row\";\nexport * from \"../adorners/Question\";\nexport * from \"../adorners/QuestionHeader\";\nexport * from \"../adorners/QuestionFooter\";\nexport * from \"../adorners/QuestionBanner\";\nexport * from \"../adorners/QuestionDropdown\";\nexport * from \"../adorners/QuestionImage\";\nexport * from \"../adorners/QuestionRating\";\nexport * from \"../adorners/QuestionWidget\";\nexport * from \"../adorners/CellQuestion\";\nexport * from \"../adorners/CellQuestionDropdown\";\nexport * from \"../adorners/Page\";\nexport * from \"../adorners/Panel\";\n\nexport * from \"../LogoImage\";\nexport * from \"../QuestionLinkValue\";\nexport * from \"../QuestionEmbeddedSurvey\";\nexport * from \"../QuestionEditorContent\";\nexport * from \"../ItemValueWrapper\";\nexport * from \"../ImageItemValueWrapper\";\nexport * from \"../MatrixCellWrapper\";\nexport * from \"../Results\";\nexport * from \"../toolbox/ToolboxItem\";\nexport * from \"../toolbox/ToolboxItemGroup\";\nexport * from \"../toolbox/ToolboxCategory\";\nexport * from \"../toolbox/ToolboxList\";\nexport * from \"../toolbox/AdaptiveToolbox\";\nexport * from \"../TabbedMenu\";\nexport * from \"../Navigation\";\nexport * from \"../side-bar/TabControl\";\nexport * from \"../side-bar/TabButton\";\nexport * from \"../side-bar/SideBarDefaultHeader\";\nexport * from \"../side-bar/SideBarPropertyGridHeader\";\nexport * from \"../side-bar/SideBarHeader\";\nexport * from \"../side-bar/SideBar\";\nexport * from \"../tabs/translation/TranslationLineSkeleton\";\nexport * from \"../tabs/translation/TranslateFromAction\";\nexport * from \"../ActionButton\";\nexport * from \"../StringEditor\";\nexport * from \"../QuestionError\";\n\nexport * from \"../tabs/logic-operator\";\nexport * from \"../tabs/Designer\";\nexport * from \"../tabs/JsonEditorAce\";\nexport * from \"../tabs/JsonEditorTextarea\";\nexport * from \"../tabs/Logic\";\nexport * from \"../tabs/Preview\";\nexport * from \"../side-bar/PropertyGridPlaceholder\";\nexport * from \"../tabs/Theme\";\nexport * from \"../tabs/translation/Translation\";\nexport * from \"../tabs/SurveySimulator\";\n\nexport * from \"../events\";\nexport * from \"../side-bar/ObjectSelector\";\nexport * from \"../side-bar/PropertyGrid\";\nexport * from \"../components/Search\";\nexport * from \"../components/ComponentContainer\";\nexport * from \"../Switcher\";\n\nexport * from \"../tabs/JsonErrorItem\";\n\n//custom questions\nexport * from \"../custom-questions/SpinEditor\";\nexport * from \"../custom-questions/ColorItem\";\nexport * from \"../custom-questions/ColorQuestion\";\nexport * from \"../custom-questions/FileEditQuestion\";\nexport * from \"../custom-questions/TextWithResetQuestion\";\nexport * from \"../custom-questions/BooleanSwitch\";\n\nexport { editorLocalization, localization } from \"survey-creator-core\";\nexport { settings } from \"survey-creator-core\";\nexport { svgBundle } from \"survey-creator-core\";\nexport { SurveyLogic, SurveyLogicUI } from \"survey-creator-core\";\nexport { SurveyQuestionEditorDefinition } from \"survey-creator-core\";\nexport { ISurveyCreatorOptions, IPropertyGridEditor } from \"survey-creator-core\";\nexport { ToolboxToolViewModel, PropertyGridEditorCollection } from \"survey-creator-core\";\n\nimport { checkLibraryVersion } from \"survey-core\";\ncheckLibraryVersion(`${process.env.VERSION}`, \"survey-creator-react\");","import { IPortableDragEvent, IPortableMouseEvent } from \"survey-creator-core\";\n\nexport class ReactMouseEvent implements IPortableMouseEvent {\n constructor(public event: React.MouseEvent<HTMLDivElement, MouseEvent>) {}\n stopPropagation() {\n this.event.stopPropagation();\n //this.event.nativeEvent.stopPropagation();\n //this.event.nativeEvent.stopImmediatePropagation();\n }\n preventDefault() {\n this.event.preventDefault();\n //this.event.nativeEvent.preventDefault();\n }\n get cancelBubble(): boolean {\n //return this.event.cancelBubble;\n return false;\n }\n set cancelBubble(value: boolean) {\n //this.event.cancelBubble = value;\n }\n get target(): EventTarget | null {\n return this.event.target;\n }\n get currentTarget(): EventTarget | null {\n return this.event.currentTarget;\n }\n get clientX(): number {\n return this.event.clientX;\n }\n get clientY(): number {\n return this.event.clientY;\n }\n get offsetX(): number {\n return this.event.nativeEvent.offsetX;\n }\n get offsetY(): number {\n return this.event.nativeEvent.offsetY;\n }\n}\n\nexport class ReactDragEvent extends ReactMouseEvent\n implements IPortableDragEvent {\n constructor(public event: React.DragEvent<HTMLDivElement>) {\n super(event);\n }\n\n get dataTransfer(): DataTransfer {\n return this.event.dataTransfer;\n }\n}\n","import * as React from \"react\";\nimport { ObjectSelectorModel } from \"survey-creator-core\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\n\ninterface IObjectSelectorComponentProps {\n model: ObjectSelectorModel;\n}\nclass ObjectSelectorComponent extends SurveyElementBase<IObjectSelectorComponentProps, any> {\n protected get model(): ObjectSelectorModel {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderElement(): React.JSX.Element {\n if (!this.model.isVisible) return null;\n\n return (<List model={this.model.list}></List>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-object-selector\", (props) => {\n return React.createElement(\n ObjectSelectorComponent,\n props as IObjectSelectorComponentProps\n );\n});\n","import * as React from \"react\";\nimport { PropertyGridViewModel, SearchManager } from \"survey-creator-core\";\nimport { Base, SurveyModel, settings } from \"survey-core\";\nimport { Survey, SurveyElementBase, ReactQuestionFactory, SurveyQuestionButtonGroup, ReactElementFactory, SvgIcon, SurveyActionBar, Scroll } from \"survey-react-ui\";\nimport { SearchComponent } from \"../components/Search\";\n\ninterface IPropertyGridComponentProps {\n model: PropertyGridViewModel;\n}\n\nexport class PropertyGridComponent extends SurveyElementBase<IPropertyGridComponentProps, any> {\n\n get model(): PropertyGridViewModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n public canRender(): boolean {\n if (!this.model) return false;\n return super.canRender();\n }\n\n renderElement() {\n return (\n <div className={this.model.rootCss}>\n <SearchComponent model={this.model.searchManager}></SearchComponent>\n <Survey model={this.model.survey}></Survey>\n </div>\n );\n }\n}\n\nexport default PropertyGridComponent;\n\nReactElementFactory.Instance.registerElement(\"svc-property-grid\", (props) => {\n return React.createElement(PropertyGridComponent, props);\n});","import * as React from \"react\";\nimport { editorLocalization } from \"survey-creator-core\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\nexport class PropertyGridPlaceholderComponent extends React.Component<any, any> {\n\n render(): React.JSX.Element | null {\n return (\n <div className=\"svc-property-grid-placeholder\">\n <div className=\"svc-property-grid-placeholder__header\">\n <span className=\"svc-property-grid-placeholder__title\">{editorLocalization.getString(\"ed.propertyGridPlaceholderTitle\")}</span>\n <span className=\"svc-property-grid-placeholder__description\">{editorLocalization.getString(\"ed.propertyGridPlaceholderDescription\")}</span>\n </div>\n <div className=\"svc-property-grid-placeholder__content\">\n <div className=\"svc-property-grid-placeholder__gap\"></div>\n <div className=\"svc-property-grid-placeholder__image\"></div>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-property-grid-placeholder\", (props) => {\n return React.createElement(PropertyGridPlaceholderComponent, props);\n});","import * as React from \"react\";\nimport { SidebarPageModel, SidebarModel } from \"survey-creator-core\";\nimport { Base } from \"survey-core\";\nimport { SurveyElementBase, ReactQuestionFactory, ReactElementFactory } from \"survey-react-ui\";\n\ninterface ISidebarComponentProps {\n model: SidebarModel;\n}\n\nexport class SidebarComponent extends SurveyElementBase<ISidebarComponentProps, any> {\n private containerRef: React.RefObject<HTMLDivElement>;\n\n get model(): SidebarModel {\n return this.props.model;\n }\n\n constructor(props: ISidebarComponentProps) {\n super(props);\n this.containerRef = React.createRef();\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n componentDidMount() {\n super.componentDidMount();\n this.model.initResizeManager(this.containerRef.current);\n }\n componentWillUnmount() {\n super.componentWillUnmount();\n this.model.resetResizeManager();\n }\n public canRender(): boolean {\n if (!this.model) return false;\n return super.canRender();\n }\n\n renderElement(): React.JSX.Element {\n const style = { display: this.model.renderRoot ? \"\" : \"none\" };\n const containerStyle = { display: this.model.renderContainer ? \"\" : \"none\" };\n const items = this.model.pages.map((page) => <SidebarPage page={page} key={page.id} />);\n const headerArea = ReactElementFactory.Instance.createElement(this.model.header.component, { model: this.model.header.componentModel });\n let sideArea = null;\n if (this.model.sideAreaComponentName) {\n sideArea = ReactElementFactory.Instance.createElement(this.model.sideAreaComponentName, { model: this.model.sideAreaComponentData });\n }\n\n return (\n <div className={this.model.rootCss} style={style}>\n <div className=\"svc-side-bar__shadow\" onClick={() => this.model.collapseSidebar()} style={containerStyle}></div>\n <div className=\"svc-flex-row svc-side-bar__wrapper\">\n <div className=\"svc-side-bar__container-wrapper\" style={containerStyle}>\n <div ref={this.containerRef} className=\"svc-side-bar__container\">\n {headerArea}\n <div className=\"svc-side-bar__container-content\">{items}</div>\n </div>\n </div>\n {sideArea}\n </div>\n </div>\n );\n }\n}\n\nclass SidebarPage extends SurveyElementBase<any, any> {\n private get page(): SidebarPageModel {\n return this.props.page;\n }\n\n protected getStateElement(): Base {\n return this.page;\n }\n\n renderElement(): React.JSX.Element {\n if (!this.page.visible) return null;\n\n const component = ReactElementFactory.Instance.createElement(this.page.componentName, { model: this.page.componentData });\n\n return component;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"svc-side-bar-page\", (props) => {\n return React.createElement(SidebarPage, props);\n});\n\nexport default SidebarComponent;\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar\", (props) => {\n return React.createElement(SidebarComponent, props);\n});","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { SurveyElementBase, ReactElementFactory, SurveyActionBar } from \"survey-react-ui\";\nimport { SidebarHeaderModel } from \"survey-creator-core\";\n\ninterface ISideBarHeaderProps {\n model: SidebarHeaderModel;\n}\n\nexport class SideBarDefaultHeader extends SurveyElementBase<ISideBarHeaderProps, any> {\n get model(): SidebarHeaderModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base | null {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const title = !!this.model.title ? (\n <div className=\"svc-side-bar__container-title\">{this.model.title}</div>\n ) : null;\n return (\n <div className=\"svc-side-bar__container-header\">\n <div className=\"svc-side-bar__container-actions\">\n <SurveyActionBar model={this.model.toolbar}></SurveyActionBar>\n </div>\n {title}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar-default-header\", (props) => {\n return React.createElement(SideBarDefaultHeader, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { SidebarHeaderModel } from \"survey-creator-core\";\nimport { SurveyElementBase, ReactElementFactory } from \"survey-react-ui\";\n\ninterface ISideBarHeaderProps {\n model: SidebarHeaderModel;\n}\n\nclass SideBarHeader extends SurveyElementBase<ISideBarHeaderProps, any> {\n get model(): SidebarHeaderModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base | null {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n return (\n <div className=\"svc-side-bar__container-header svc-sidebar__header-container\">\n {(this.model.subTitle) ?\n <div className=\"svc-sidebar__header-caption\">\n <span className=\"svc-sidebar__header-title\">{this.model.title}</span>\n <span className=\"svc-sidebar__header-subtitle\">{this.model.subTitle}</span>\n </div>\n : <div className=\"svc-side-bar__container-title\">{this.model.title}</div>\n }\n </div>);\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar-header\", (props) => {\n return React.createElement(SideBarHeader, props);\n});","import * as React from \"react\";\nimport { Base, getActionDropdownButtonTarget } from \"survey-core\";\nimport { SurveyElementBase, ReactElementFactory, Popup, attachKey2click } from \"survey-react-ui\";\nimport { MenuButton } from \"survey-creator-core\";\n\ninterface ISideBarPropertyGridHeaderProps {\n model: MenuButton;\n}\n\nclass SideBarPropertyGridHeader extends SurveyElementBase<ISideBarPropertyGridHeaderProps, any> {\n get objectSelectionAction(): MenuButton {\n return this.props.model;\n }\n\n protected getStateElement(): Base | null {\n return this.objectSelectionAction;\n }\n\n renderElement(): React.JSX.Element {\n const button = attachKey2click(\n <div className={this.objectSelectionAction.buttonClassName} onClick={() => this.objectSelectionAction.action()}>\n <div className=\"svc-sidebar__header-caption\">\n <span className=\"svc-sidebar__header-title\">{this.objectSelectionAction.title}</span>\n <span className=\"svc-sidebar__header-subtitle\">{this.objectSelectionAction.tooltip}</span>\n </div>\n </div>, this.props.model\n );\n\n return (\n <div className=\"svc-sidebar__header svc-sidebar__header--tabbed\">\n <div className=\"svc-sidebar__header-container svc-sidebar__header-container--with-subtitle\">\n <div className=\"svc-sidebar__header-content\">\n {button}\n <Popup model={this.objectSelectionAction.popupModel}></Popup>\n </div>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-side-bar-property-grid-header\", (props) => {\n return React.createElement(SideBarPropertyGridHeader, props);\n});","\nimport * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { attachKey2click, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { MenuButton } from \"survey-creator-core\";\n\nexport class TabButtonComponent extends SurveyElementBase<{ model: MenuButton }, any> {\n constructor(props: { model: MenuButton }) {\n super(props);\n }\n\n protected getStateElement(): Base {\n return this.props.model;\n }\n\n protected renderElement(): React.JSX.Element | null {\n const model = this.props.model;\n if (!model.visible) return null;\n const button = attachKey2click(\n <div\n className={model.buttonClassName}\n title={model.tooltip}\n onClick={() => { model.action(); }}\n >\n <div className=\"svc-menu-action__icon\">\n <div className=\"svc-menu-action__icon-container\">\n <SvgIcon iconName={model.iconName} size={\"auto\"}></SvgIcon>\n </div>\n </div>\n </div>, model\n );\n return (\n <div className=\"svc-menu-action\">\n {button}\n </div>\n );\n }\n}\n","import * as React from \"react\";\nimport { Action, ActionContainer, Base } from \"survey-core\";\nimport { SurveyElementBase, ReactElementFactory, Scroll, SurveyActionBar } from \"survey-react-ui\";\nimport { MenuButton, TabControlModel } from \"survey-creator-core\";\nimport { TabButtonComponent } from \"./TabButton\";\n\ninterface ITabControlProps {\n model?: TabControlModel;\n}\n\nclass TabControl extends SurveyElementBase<any, any> {\n constructor(props: ITabControlProps) {\n super(props);\n }\n\n protected getStateElement(): Base {\n return this.props.model;\n }\n\n public canRender(): boolean {\n if (!this.props.model) return false;\n return super.canRender();\n }\n renderElement() {\n return (\n <div className={this.props.model.sideBarClassName}>\n <div className=\"svc-sidebar-tabs__top-container\">\n <div className=\"svc-sidebar-tabs__collapse-button\">\n <TabButtonComponent model={this.props.model.expandCollapseAction} ></TabButtonComponent>\n </div>\n <div className=\"svc-sidebar-tabs__separator\">\n <div></div>\n </div>\n <Scroll>\n <div className=\"svc-sidebar-tabs__items\">\n <TabsComponent model={this.props.model.topToolbar}></TabsComponent>\n </div>\n </Scroll>\n </div>\n <div className=\"svc-sidebar-tabs__bottom-container\">\n <div className=\"svc-sidebar-tabs__items\">\n <SurveyActionBar model={this.props.model.bottomToolbar}></SurveyActionBar>\n </div>\n </div>\n </div>\n );\n }\n\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-control\", (props) => {\n return React.createElement(TabControl, props);\n});\n\nclass TabsComponent extends SurveyElementBase<{ model: ActionContainer }, any> {\n constructor(props: { model: ActionContainer }) {\n super(props);\n }\n\n protected getStateElement(): Base {\n return this.props.model;\n }\n\n protected renderElement(): React.JSX.Element | null {\n return <>{this.props.model.actions.map(\n (item: Action, itemIndex: number) => <TabButtonComponent model={item as MenuButton} key={\"item\" + itemIndex}></TabButtonComponent>\n )}</>;\n }\n}\n","import * as React from \"react\";\nimport { Base, SurveyModel, PageModel } from \"survey-core\";\nimport {\n ReactElementFactory,\n Scroll,\n SurveyActionBar,\n SurveyElementBase,\n SurveyHeader\n} from \"survey-react-ui\";\nimport { SurveyCreatorModel, TabDesignerViewModel } from \"survey-creator-core\";\nimport { SurveyPageNavigator } from \"../PageNavigator\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\ninterface ITabDesignerComponentProps {\n data: TabDesignerViewModel;\n}\n\nexport class TabDesignerComponent extends SurveyElementBase<ITabDesignerComponentProps, any> {\n private get model(): TabDesignerViewModel {\n return this.props.data;\n }\n protected get creator(): SurveyCreatorModel {\n return this.model.creator;\n }\n\n private denyUpdate = () => {\n this.denyComponentUpdate();\n };\n\n private allowUpdate = () => {\n this.allowComponentUpdate();\n };\n\n private addDragDropEvents = () => {\n this.creator.onDragStart.add(this.denyUpdate);\n this.creator.onDragClear.add(this.allowUpdate);\n };\n\n private clearDragDropEvents = () => {\n this.creator.onDragStart.remove(this.denyUpdate);\n this.creator.onDragClear.remove(this.allowUpdate);\n };\n\n componentDidMount(): void {\n super.componentDidMount();\n this.addDragDropEvents();\n }\n\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.clearDragDropEvents();\n super.componentWillUnmount();\n }\n\n protected getStateElements(): Array<Base> {\n return [this.model, this.model.survey, this.model.pagesController];\n }\n\n protected getRenderedPages(): React.JSX.Element[] {\n const renderedPages = [];\n\n if (this.creator.pageEditMode !== \"bypage\") {\n const pages = this.model.pages;\n pages.forEach((page) => {\n renderedPages.push(this.createRenderedPage(page, \"svc-page\", page == this.model.newPage));\n });\n } else {\n const page2Display = this.model.pagesController.page2Display;\n if (!!page2Display) {\n renderedPages.push(this.createRenderedPage(page2Display, \"svc-page\", this.model.newPage === page2Display));\n }\n }\n\n return renderedPages;\n }\n protected createRenderedPage(page: PageModel | undefined, className: string, isGhostPage?: boolean): any {\n return <PageWrapperComponent key={page?.id} page={page} isGhost={isGhostPage} creator={this.creator} className={className}></PageWrapperComponent>;\n }\n renderElement(): React.JSX.Element {\n const designerTabClassName = \"svc-tab-designer \" + this.model.getRootCss();\n\n return (\n <React.Fragment>\n <div className=\"svc-flex-column\">\n {this.model.isToolboxVisible ? ReactElementFactory.Instance.createElement(\"svc-toolbox\", { model: this.creator }) : null}\n </div>\n <div className={designerTabClassName} onClick={() => this.model.clickDesigner()}>\n <Scroll>\n <div className=\"svc-tab-designer_content\">\n {this.model.showPlaceholder ? this.renderPlaceHolder() : this.renderTabContent()}\n </div>\n </Scroll>\n </div>\n </React.Fragment>\n );\n }\n\n renderHeader(condition: boolean): React.JSX.Element {\n if (!condition) return null;\n\n const survey: SurveyModel = this.creator.survey;\n return (<React.Fragment>\n <div className=\"svc-designer-header\">\n <SurveyHeader survey={survey}></SurveyHeader>\n </div>\n </React.Fragment>);\n }\n renderPlaceHolder(): React.JSX.Element {\n const surveyHeader = this.renderHeader(this.creator.showSurveyHeader && this.creator.showHeaderInEmptySurvey);\n\n return (<React.Fragment>\n {surveyHeader}\n <div className=\"svc-designer__placeholder-container\" data-sv-drop-target-survey-element={\"newGhostPage\"}>\n {this.renderPlaceHolderContent()}\n {this.createRenderedPage(this.model.newPage, \"svc-designer-placeholder-page\", true)}\n </div>\n </React.Fragment>);\n }\n renderPlaceHolderContent(): React.JSX.Element {\n return <SurfacePlaceholder name={\"designer\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n }\n renderTabContent(): React.JSX.Element {\n const survey: SurveyModel = this.creator.survey;\n const surveyHeader = this.renderHeader(this.creator.showSurveyHeader);\n const style: any = { ...this.model.surfaceCssVariables };\n style.maxWidth = survey.renderedWidth;\n\n const tabTools = this.renderTabTools();\n\n return (<React.Fragment>\n <div className={this.model.designerCss} style={style} >\n {surveyHeader}\n {/* <SurveyNavigation survey={survey} location=\"top\" /> */}\n {this.getRenderedPages()}\n {/* <SurveyNavigation\n survey={survey}\n location=\"bottom\"\n css={survey.css}\n /> */}\n </div>\n {tabTools}\n </React.Fragment>);\n }\n\n renderTabTools(): React.JSX.Element {\n if (!this.model.showSurfaceTools) return null;\n\n const pageNavigator = this.creator.showPageNavigator ?\n <div className=\"svc-tab-designer__page-navigator\"><SurveyPageNavigator\n pagesController={this.model.pagesController} pageEditMode={this.model.creator.pageEditMode}\n ></SurveyPageNavigator></div>\n : null;\n\n const surfaceToolbar = this.model.showSurfaceToolbar ?\n <SurveyActionBar model={this.model.surfaceToolbar} handleClick={false}></SurveyActionBar>\n : null;\n\n return <div className=\"svc-tab-designer__tools\">\n {pageNavigator}\n {surfaceToolbar}\n </div>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-designer\", (props) => {\n return React.createElement(\n TabDesignerComponent,\n props as ITabDesignerComponentProps\n );\n});\n\ninterface IPageWrapperComponentProps {\n page?: PageModel;\n isGhost: boolean;\n creator: SurveyCreatorModel;\n className: string;\n}\nclass PageWrapperComponent extends React.Component<IPageWrapperComponentProps, any> {\n private static ID = 0;\n private id = `PageWrapperCallback_${++PageWrapperComponent.ID}`;\n constructor(props: IPageWrapperComponentProps) {\n super(props);\n this.state = { changed: 0 };\n }\n render() {\n const pageContent = !!this.props.page ? ReactElementFactory.Instance.createElement(\"svc-page\", { survey: this.props.creator.survey, page: this.props.page, creator: this.props.creator, isGhost: this.props.isGhost }) : null;\n return <div\n className={this.props.className}\n data-sv-drop-target-page={this.props.page?.name}\n data-sv-drop-target-survey-element={this.props.isGhost ? \"newGhostPage\" : this.props.page?.name}\n >\n {pageContent}\n </div>;\n }\n setupCallback(page?: PageModel) {\n if (!page) return;\n page.registerFunctionOnPropertyValueChanged(\"name\", () => {\n this.setState({ changed: !!this.state && this.state.changed ? this.state.changed + 1 : 1 });\n }, this.id);\n }\n clearCallback(page?: PageModel) {\n if (!page) return;\n page.unRegisterFunctionOnPropertyValueChanged(\"name\");\n }\n componentDidUpdate(prevProps: IPageWrapperComponentProps, prevState: any): void {\n if (prevProps.page !== this.props.page) {\n this.clearCallback(prevProps.page);\n this.setupCallback(this.props.page);\n }\n }\n componentDidMount(): void {\n this.setupCallback(this.props.page);\n }\n componentWillUnmount(): void {\n this.clearCallback(this.props.page);\n }\n}","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { AceJsonEditorModel } from \"survey-creator-core\";\nimport { TabJsonEditorErrorsComponent } from \"./JsonEditorTextarea\";\n\ninterface ITabJsonEditorAceComponentProps {\n data: AceJsonEditorModel;\n}\n\nexport class TabJsonEditorAceComponent extends SurveyElementBase<\n ITabJsonEditorAceComponentProps,\n any\n> {\n private aceEditorrRef: React.RefObject<HTMLDivElement>;\n constructor(props: ITabJsonEditorAceComponentProps) {\n super(props);\n this.aceEditorrRef = React.createRef();\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private get model(): AceJsonEditorModel {\n return this.props.data;\n }\n componentDidMount() {\n this.model.init(ace.edit(this.aceEditorrRef.current as HTMLElement));\n }\n renderElement(): React.JSX.Element {\n const errors = <TabJsonEditorErrorsComponent data={this.model} />;\n return (\n <div className=\"svc-creator-tab__content\">\n <div className=\"svc-json-editor-tab__content\">\n <div\n className=\"svc-json-editor-tab__ace-editor\"\n ref={this.aceEditorrRef}\n ></div>\n {errors}\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-tab-json-editor-ace\",\n (props: ITabJsonEditorAceComponentProps) => {\n return React.createElement(TabJsonEditorAceComponent, props);\n }\n);\n","import { ChangeEvent } from \"react\";\nimport * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, List } from \"survey-react-ui\";\nimport { TextareaJsonEditorModel, JsonEditorBaseModel } from \"survey-creator-core\";\n\ninterface ITabJsonEditorTextareaComponentProps {\n data: TextareaJsonEditorModel;\n}\n\ninterface ITabJsonEditorErrorsProps {\n data: JsonEditorBaseModel;\n}\n\nexport class TabJsonEditorErrorsComponent extends SurveyElementBase<ITabJsonEditorErrorsProps, any> {\n protected getStateElement(): Base {\n return this.model;\n }\n private get model(): JsonEditorBaseModel {\n return this.props.data;\n }\n renderElement(): React.JSX.Element {\n return <div className=\"svc-json-editor-tab__errros_list\" style={{ display: this.model.hasErrors ? \"block\" : \"none\" }}>\n <List model={this.model.errorList} />\n </div>;\n }\n}\n\nexport class TabJsonEditorTextareaComponent extends SurveyElementBase<\n ITabJsonEditorTextareaComponentProps,\n any\n> {\n constructor(props) {\n super(props);\n }\n protected getStateElement(): Base {\n return this.model;\n }\n private get model(): TextareaJsonEditorModel {\n return this.props.data;\n }\n renderElement(): React.JSX.Element {\n const setControl = (el: HTMLTextAreaElement) => {\n this.model.textElement = el;\n };\n const errors = <TabJsonEditorErrorsComponent data={this.model} />;\n return (\n <div className=\"svc-creator-tab__content\">\n <div className=\"svc-json-editor-tab__content\">\n <textarea\n ref={input => (setControl(input))}\n className=\"svc-json-editor-tab__content-area\"\n value={this.model.text}\n onChange={(e: ChangeEvent<HTMLTextAreaElement>) =>\n (this.model.text = e.target.value)\n }\n onKeyDown={(e) => this.model.checkKey(e, e)}\n disabled={this.model.readOnly}\n aria-label={this.model.ariaLabel}\n ></textarea>\n {errors}\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"svc-tab-json-editor-textarea\",\n (props: ITabJsonEditorTextareaComponentProps) => {\n return React.createElement(TabJsonEditorTextareaComponent, props);\n }\n);\n","import * as React from \"react\";\nimport { ItemValue } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, SvgIcon, attachKey2click } from \"survey-react-ui\";\n\nclass ItemTemplateComponent extends SurveyElementBase<{ item: ItemValue }, any> {\n render() {\n const item = this.props.item;\n return (\n <>\n <SvgIcon iconName={item.iconName} size={item.iconSize} className={\"svc-json-error__icon\"} ></SvgIcon>\n <div className=\"svc-json-error__container\">\n <div className=\"svc-json-error__title\">\n <span key={2}>{this.renderLocString(item.locTitle, undefined, \"locString\")}</span>\n </div>\n {this.renderFixButton()}\n </div>\n </>\n );\n }\n renderFixButton() {\n if (!this.props.item.data.showFixButton) return null;\n const item = this.props.item;\n return (attachKey2click(<button type=\"button\" onClick={(event) => { event.stopPropagation(); item.data.fixError(); }} title={item.data.fixButtonTitle} className={\"svc-json-error__fix-button\"}>\n <SvgIcon iconName={item.data.fixButtonIcon} size={\"auto\"}></SvgIcon>\n </button>));\n }\n}\n\nReactElementFactory.Instance.registerElement(\n \"json-error-item\",\n (props) => {\n return React.createElement(ItemTemplateComponent, props);\n }\n);","import { Fragment } from \"react\";\nimport * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, Survey, attachKey2click } from \"survey-react-ui\";\nimport { SurveyLogicUI } from \"survey-creator-core\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\n\nexport class TabLogicAddButtonComponent extends SurveyElementBase<any, any> {\n private get model(): Action {\n return this.props.button;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const buttonClassName = \"svc-logic-tab__content-action svc-btn\" + ((this.model.enabled !== undefined && !this.model.enabled) ? \" svc-logic-tab__content-action--disabled\" : \"\");\n return attachKey2click(<div\n role=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n this.model.action();\n }}\n className={buttonClassName}\n title={this.model.title}\n >\n <span className=\"svc-btn__text\">\n {this.model.title}\n </span>\n </div>);\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-tab-logic-add-button\", (props) => {\n return React.createElement(TabLogicAddButtonComponent, props);\n});\n\nexport class TabLogicComponent extends SurveyElementBase<any, any> {\n private get model(): SurveyLogicUI {\n return this.props.data;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n var logic = this.model;\n var rootClass = \"svc-creator-tab__content svc-logic-tab\";\n var content = this.renderViewContent();\n return <div className={rootClass}>{content}</div>;\n }\n private renderViewContent(): React.JSX.Element {\n const logicTabClassName = \"svc-plugin-tab__content svc-logic-tab svc-logic-tab__content \" + (this.model.hasItems ? \"\" : \"svc-logic-tab--empty\");\n const addLogic = !this.model.readOnly ? <TabLogicAddButtonComponent button={this.model.addNewButton} /> : undefined;\n return (\n <Fragment>\n <div className={logicTabClassName}>\n {this.model.hasItems ?\n (<>\n <Survey model={this.model.itemsSurvey}></Survey>\n {addLogic}\n </>)\n : (<div className=\"svc-logic-tab__content-empty\" >\n <SurfacePlaceholder name={\"logic\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />\n {addLogic}\n </div>)\n }\n </div>\n </Fragment >\n );\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-tab-logic\", (props) => {\n return React.createElement(TabLogicComponent, props);\n});\n","import * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n attachKey2click\n} from \"survey-react-ui\";\nimport { TestSurveyTabViewModel } from \"survey-creator-core\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\n\nexport class TabPreviewTestSurveyAgainComponent extends SurveyElementBase<any, any> {\n private get model(): Action {\n return this.props.model.testAgainAction;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const buttonClassName = \"svc-preview__test-again svc-btn\";\n return attachKey2click(<div\n role=\"button\"\n onClick={(e) => {\n e.stopPropagation();\n this.model.action();\n }}\n className={buttonClassName}\n title={this.model.title}\n >\n <span className=\"svc-btn__text\">\n {this.model.title}\n </span>\n </div>);\n }\n}\nReactElementFactory.Instance.registerElement(\"svc-complete-page\", (props) => {\n return React.createElement(TabPreviewTestSurveyAgainComponent, props);\n});\n\nexport class TabPreviewSurveyComponent extends SurveyElementBase<any, any> {\n constructor(props) {\n super(props);\n }\n private get model(): TestSurveyTabViewModel {\n return this.props.data;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderPlaceholder(): React.JSX.Element {\n return <SurfacePlaceholder name={\"preview\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n }\n renderSimulator(): React.JSX.Element {\n return (<div className=\"svc-plugin-tab__content\">\n <SurveySimulator model={this.model.simulator}></SurveySimulator>\n {this.model.showResults ? <SurveyResults survey={this.model.simulator.survey} /> : null}\n </div>);\n }\n\n renderElement(): React.JSX.Element {\n const tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (\n <div className={tabContentClassName}>\n {this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator()}\n {this.getBottomToolbar()}\n </div>\n );\n }\n getBottomToolbar(): React.JSX.Element {\n if (this.model.isPageToolbarVisible) {\n return (\n <div className=\"svc-test-tab__content-actions\">\n <SurveyActionBar model={this.model.pages}></SurveyActionBar>\n </div>\n );\n } else {\n return null;\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-preview\", (props) => {\n return React.createElement(TabPreviewSurveyComponent, props);\n});\n","import { Base } from \"survey-core\";\nimport { Survey, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveySimulatorModel } from \"survey-creator-core\";\nimport * as React from \"react\";\n\nexport class SurveySimulator extends SurveyElementBase<any, any> {\n private get model(): SurveySimulatorModel {\n return this.props.model;\n }\n\n protected getStateElement(): Base {\n return this.model;\n }\n\n renderElement(): React.JSX.Element {\n const mainSimulatorClass = this.model.getRootCss();\n if (!this.model.survey) {\n return <div className={mainSimulatorClass}></div>;\n }\n if (this.model.hasFrame) {\n return (\n <div\n className={mainSimulatorClass}\n onKeyDown={e => this.model.tryToZoom(e, e)}\n onMouseEnter={this.model.device === \"desktop\" ? null : this.model.activateZoom}\n onMouseLeave={this.model.device === \"desktop\" ? null : this.model.deactivateZoom}\n >\n <div\n className=\"svd-simulator-wrapper\"\n id=\"svd-simulator-wrapper\"\n style={{\n width: this.model.simulatorFrame.frameWidth + \"px\",\n height: this.model.simulatorFrame.frameHeight + \"px\"\n }}\n >\n <div\n className=\"svd-simulator\"\n style={{\n width:\n this.model.simulatorFrame.deviceWidth + \"px\",\n height:\n this.model.simulatorFrame.deviceHeight + \"px\",\n transform:\n \"scale(\" +\n this.model.simulatorFrame.scale +\n \") translate(-50%, -50%)\"\n }}\n >\n <div className=\"svd-simulator-content\">\n <Survey model={this.model.survey}></Survey>\n </div>\n </div>\n </div>\n </div>\n );\n } else {\n return (\n <div\n className={mainSimulatorClass}>\n <div className=\"svd-simulator-content\">\n <Survey model={this.model.survey}></Survey>\n </div>\n </div>\n );\n }\n }\n}\n","import * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport {\n SurveyActionBar,\n ReactElementFactory,\n SurveyElementBase,\n attachKey2click\n} from \"survey-react-ui\";\nimport { ThemeTabViewModel } from \"survey-creator-core\";\nimport { SurveySimulator } from \"./SurveySimulator\";\nimport { SurveyResults } from \"../Results\";\nimport { SurfacePlaceholder } from \"../components/SurfacePlaceholder\";\n\nexport class TabThemeSurveyComponent extends SurveyElementBase<any, any> {\n private get model(): ThemeTabViewModel {\n return this.props.data;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderPlaceholder(): React.JSX.Element {\n return <SurfacePlaceholder name={\"theme\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n }\n renderSimulator(): React.JSX.Element {\n return (<div className=\"svc-plugin-tab__content\">\n <SurveySimulator model={this.model.simulator}></SurveySimulator>\n {this.model.showResults ? <SurveyResults survey={this.model.simulator.survey} /> : null}\n </div>);\n }\n renderElement(): React.JSX.Element {\n const tabContentClassName = \"svc-creator-tab__content svc-test-tab__content\" + (this.model.isPageToolbarVisible ? \" svc-creator-tab__content--with-toolbar\" : \"\");\n return (\n <div className={tabContentClassName}>\n {this.model.simulator.survey.isEmpty ? this.renderPlaceholder() : this.renderSimulator()}\n {this.getBottomToolbar()}\n </div>\n );\n }\n getBottomToolbar(): React.JSX.Element {\n if (this.model.isPageToolbarVisible) {\n return (\n <div className=\"svc-test-tab__content-actions\">\n <SurveyActionBar model={this.model.pages}></SurveyActionBar>\n </div>\n );\n } else {\n return null;\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-theme\", (props) => {\n return React.createElement(TabThemeSurveyComponent, props);\n});\n","import * as React from \"react\";\nimport { QuestionDropdownModel, RendererFactory } from \"survey-core\";\nimport { initLogicOperator } from \"survey-creator-core\";\nimport { SurveyQuestionDropdown, ReactQuestionFactory } from \"survey-react-ui\";\n\nexport class SurveyLogicOpertor extends SurveyQuestionDropdown {\n constructor(props: any) {\n super(props);\n }\n\n protected renderInput(): React.JSX.Element {\n const q = this.question as QuestionDropdownModel;\n initLogicOperator(q);\n const text = (q.locReadOnlyText) ? this.renderLocString(q.locReadOnlyText) : \"\";\n const dropdownListModel = this.question.dropdownListModel;\n\n return (<div\n id={this.question.inputId}\n className={q.getControlClass()}\n tabIndex={this.question.isInputReadOnly ? 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 onChange={this.updateValueOnEvent}\n onInput={this.updateValueOnEvent}\n onKeyUp={this.keyhandler}\n role={dropdownListModel.ariaQuestionRole}\n aria-required={dropdownListModel.ariaQuestionRequired}\n aria-invalid={dropdownListModel.ariaQuestionInvalid}\n aria-errormessage={dropdownListModel.ariaQuestionErrorMessage}\n aria-expanded={dropdownListModel.ariaQuestionExpanded}\n aria-label={dropdownListModel.ariaQuestionLabel}\n aria-labelledby={dropdownListModel.ariaQuestionLabelledby}\n aria-controls={dropdownListModel.ariaQuestionControls}\n >\n <div className={this.question.cssClasses.controlValue}>\n {text}\n </div>\n </div>);\n }\n\n protected renderEditorButtons(): React.JSX.Element | null {\n return null;\n }\n}\n\nReactQuestionFactory.Instance.registerQuestion(\"sv-logic-operator\", (props) => {\n return React.createElement(SurveyLogicOpertor, props);\n});\n\nRendererFactory.Instance.registerRenderer(\"dropdown\", \"logicoperator\", \"sv-logic-operator\");","import * as React from \"react\";\nimport { Action, Base } from \"survey-core\";\nimport { SurveyElementBase, SvgIcon, attachKey2click, ReactElementFactory } from \"survey-react-ui\";\n\nexport class TranslateFromAction extends SurveyElementBase<{ item: Action }, any> {\n get item(): Action {\n return this.props.item;\n }\n protected getStateElement(): Base {\n return this.item;\n }\n\n renderElement() {\n const item = this.item;\n return (\n <div className={item.data.containerCss}>\n <span className={item.data.additionalTitleCss}>{item.data.additionalTitle}</span>\n {ReactElementFactory.Instance.createElement(\"sv-action-bar-item-dropdown\", { item: this.item })}\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-translate-from-action\", (props) => {\n return React.createElement(TranslateFromAction, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport {\n ReactElementFactory,\n SurveyElementBase,\n Survey\n} from \"survey-react-ui\";\nimport { Translation } from \"survey-creator-core\";\nimport { SurfacePlaceholder } from \"../../components/SurfacePlaceholder\";\n\nexport class TabTranslationComponent extends SurveyElementBase<any, any> {\n private get model(): Translation {\n return this.props.data || this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n renderElement(): React.JSX.Element {\n if (!this.model) return null;\n return (\n <div className={\"svc-creator-tab__content svc-translation-tab\" + (this.model.isEmpty ? \" svc-translation-tab--empty\" : \"\")}>\n {this.renderElementContent()}\n </div>\n );\n }\n renderElementContent(): React.JSX.Element {\n if (this.model.isEmpty) {\n return <SurfacePlaceholder name={\"translation\"} placeholderTitleText={this.model.placeholderTitleText} placeholderDescriptionText={this.model.placeholderDescriptionText} />;\n } else {\n return (\n <div className=\"st-content\">\n <div className=\"svc-flex-column st-strings-wrapper\">\n <div className=\"svc-flex-row st-strings-header\">\n <Survey model={this.model.stringsHeaderSurvey}></Survey>\n </div>\n <div className=\"svc-flex-row svc-plugin-tab__content st-strings\">\n <Survey model={this.model.stringsSurvey}></Survey>\n </div>\n </div>\n </div>\n );\n }\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-tab-translation\", (props) => {\n return React.createElement(TabTranslationComponent, props);\n});\n","import * as React from \"react\";\nimport { ReactElementFactory } from \"survey-react-ui\";\n\nexport class TranslationLineSkeleton extends React.Component<any, any> {\n render() {\n return (\n <div className=\"sd-translation-line-skeleton\">\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"sd-translation-line-skeleton\", (props: any) => {\n return React.createElement(TranslationLineSkeleton, props);\n});\n","import * as React from \"react\";\nimport { Base, VerticalResponsivityManager } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase, Scroll } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nimport { SearchComponent } from \"../components/Search\";\nimport { SurveyCreatorToolboxCategory } from \"./ToolboxCategory\";\nimport { SurveyCreatorModel } from \"survey-creator-core\";\nexport interface ISurveyCreatorToolboxProps {\n model: SurveyCreatorModel;\n}\nexport class AdaptiveToolbox extends SurveyElementBase<ISurveyCreatorToolboxProps, any> {\n private rootRef: React.RefObject<HTMLDivElement>;\n\n constructor(props: ISurveyCreatorToolboxProps) {\n super(props);\n this.rootRef = React.createRef();\n }\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n super.componentDidUpdate(prevProps, prevState);\n const container = this.rootRef.current;\n if (container) {\n this.toolbox.afterRender(container);\n }\n }\n\n componentDidMount() {\n super.componentDidMount();\n const container = this.rootRef.current;\n if (container) {\n this.toolbox.afterRender(container);\n }\n }\n componentWillUnmount() {\n this.toolbox.beforeDestroy();\n super.componentWillUnmount();\n }\n public get creator() {\n return this.props.model;\n }\n public get toolbox() {\n return this.creator.toolbox;\n }\n protected getStateElement(): Base {\n return this.toolbox;\n }\n\n renderItems(items: Array<any>, isCompact = false): Array<React.JSX.Element> {\n return items.map((item, itemIndex) => {\n return <SurveyCreatorToolboxTool item={(item as any)} creator={this.creator} parentModel={this.toolbox} isCompact={isCompact} key={item.renderedId} ></SurveyCreatorToolboxTool>;\n });\n }\n\n renderCategories() {\n return this.toolbox.categories.map((category, index) => {\n return ReactElementFactory.Instance.createElement(\"svc-toolbox-category\", {\n category,\n toolbox: this.toolbox,\n key: \"category\" + index\n });\n });\n }\n renderSearch() {\n const searchButton = this.toolbox.isCompactRendered ?\n <>\n <SurveyCreatorToolboxTool item={this.toolbox.searchItem as any} creator={this.creator} parentModel={this.toolbox} isCompact={this.toolbox.isCompactRendered} key={\"searchitem\"} ></SurveyCreatorToolboxTool>\n </> :\n null;\n return (<div className=\"svc-toolbox__search-container\">\n {searchButton}\n <SearchComponent model={this.toolbox.searchManager}></SearchComponent>\n <div className=\"svc-toolbox__category-separator svc-toolbox__category-separator--search\"></div>\n </div>);\n }\n\n render(): React.JSX.Element {\n const search = this.toolbox.showSearch ? this.renderSearch() : null;\n const placeholder = this.toolbox.showPlaceholder ? <div className=\"svc-toolbox__placeholder\">{this.toolbox.toolboxNoResultsFound}</div> : null;\n return (\n <div ref={this.rootRef} className={this.toolbox.classNames} style={this.toolbox.getRootStyle()}>\n <div onBlur={(e) => this.toolbox.focusOut(e)} className=\"svc-toolbox__panel\">\n {search}\n {placeholder}\n <Scroll>\n {(this.toolbox.showInSingleCategory) ?\n (<div className=\"svc-toolbox__category\">\n {this.renderItems(this.toolbox.renderedActions, this.toolbox.isCompactRendered)}\n </div>)\n : this.renderCategories()\n }\n </Scroll>\n </div>\n </div>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox\", (props) => {\n return React.createElement(AdaptiveToolbox, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { attachKey2click, ReactElementFactory, SurveyElementBase, SvgIcon } from \"survey-react-ui\";\nimport { QuestionToolbox, QuestionToolboxCategory } from \"survey-creator-core\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\n\nexport interface ISurveyCreatorToolboxCategoryProps {\n category: QuestionToolboxCategory;\n toolbox: QuestionToolbox;\n}\n\nexport class SurveyCreatorToolboxCategory extends SurveyElementBase<ISurveyCreatorToolboxCategoryProps, any> {\n\n public get category() {\n return this.props.category;\n }\n public get toolbox() {\n return this.props.toolbox;\n }\n public get class() {\n return \"svc-toolbox__category\" +\n (this.category.collapsed ? \" svc-toolbox__category--collapsed\" : \"\") +\n (this.category.empty ? \" svc-toolbox__category--empty\" : \"\");\n }\n\n protected getStateElement(): Base {\n return (this.category as any);\n }\n\n render(): React.JSX.Element {\n const header = this.renderCategoryHeader();\n const items = this.renderCategoryContent();\n return (\n <div className={this.class} key={this.category.name}>\n <div className=\"svc-toolbox__category-header-wrapper\">\n {header}\n </div>\n {items}\n </div>\n );\n }\n\n renderCategoryHeader(): React.JSX.Element {\n let className = \"svc-toolbox__category-header\";\n if (this.toolbox.canCollapseCategories) {\n className += \" svc-toolbox__category-header--collapsed\";\n }\n const title = this.renderLocString(this.category.locTitle);\n return attachKey2click(\n <div className={className} onClick={e => this.category.toggleState()}>\n <span className=\"svc-toolbox__category-title\">{title}</span>\n {this.renderButton()}\n </div>\n );\n }\n\n renderButton(): React.JSX.Element {\n if (!this.toolbox.canCollapseCategories) return null;\n\n const iconName = this.category.iconName;\n return (<div className=\"svc-toolbox__category-header__controls\">\n <SvgIcon className={this.category.iconClassName} iconName={iconName} size={\"auto\"}></SvgIcon>\n </div>);\n }\n\n protected renderCategoryContent(): Array<any> {\n return this.renderItems(this.category.items);\n }\n\n renderItems(items: Array<any>, isCompact = false) {\n return items.map((item, itemIndex) =>\n <SurveyCreatorToolboxTool item={(item as any)} creator={this.toolbox.creator} parentModel={this.toolbox} isCompact={isCompact} key={\"item\" + itemIndex} ></SurveyCreatorToolboxTool>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-category\", (props) => {\n return React.createElement(SurveyCreatorToolboxCategory, props);\n});","import {\n SurveyCreatorModel,\n editorLocalization,\n IQuestionToolboxItem,\n QuestionToolboxItem\n} from \"survey-creator-core\";\nimport { CSSProperties, createElement } from \"react\";\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { ToolboxToolViewModel } from \"survey-creator-core\";\nimport {\n Action,\n ActionContainer,\n Base,\n SurveyModel\n} from \"survey-core\";\nimport {\n attachKey2click,\n ReactElementFactory,\n SvgIcon\n} from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\n\nexport interface ISurveyCreatorToolboxItemProps {\n creator: SurveyCreatorModel;\n item: QuestionToolboxItem;\n model: ToolboxToolViewModel;\n parentModel: ActionContainer;\n isCompact: boolean;\n}\nexport interface ISurveyCreatorToolboxToolProps {\n creator: SurveyCreatorModel;\n item: QuestionToolboxItem;\n parentModel: ActionContainer;\n isCompact: boolean;\n}\n\nexport class SurveyCreatorToolboxTool extends CreatorModelElement<\n ISurveyCreatorToolboxToolProps,\n any\n> {\n model: ToolboxToolViewModel;\n rootRef: React.RefObject<HTMLDivElement>;\n constructor(props) {\n super(props);\n this.rootRef = React.createRef();\n }\n protected createModel(props: any): void {\n this.model = new ToolboxToolViewModel(props.item, props.creator, props.parentModel);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"item\"];\n }\n public get item() {\n return this.props.item;\n }\n public get creator() {\n return this.props.creator;\n }\n public get isCompact() {\n return this.props.isCompact;\n }\n\n protected getStateElement(): Base {\n return (this.item as any);\n }\n\n render(): React.JSX.Element {\n const item = this.item;\n const itemComponent = ReactElementFactory.Instance.createElement(\n this.model.itemComponent,\n {\n item: item,\n creator: this.creator,\n parentModel: this.creator.toolbox,\n model: this.model,\n isCompact: this.isCompact\n }\n );\n return (\n <div className={item.css} key={item.id} ref={this.rootRef}>\n {(item.needSeparator && !this.creator.toolbox.showCategoryTitles) ? (\n <div className=\"svc-toolbox__category-separator\"></div>\n ) : null}\n <div className=\"svc-toolbox__tool-content sv-action__content\"\n onPointerDown={(event: any) => {\n event.persist();\n this.model.onPointerDown(event);\n }}\n >\n {itemComponent}\n </div>\n </div>\n );\n }\n componentWillUnmount(): void {\n super.componentWillUnmount();\n this.item.updateModeCallback = undefined;\n }\n componentDidMount(): void {\n super.componentDidMount();\n this.item.updateModeCallback = (mode, callback) => {\n queueMicrotask(() => {\n if ((ReactDOM as any)[\"flushSync\"]) {\n (ReactDOM as any)[\"flushSync\"](() => {\n this.item.mode = mode;\n });\n } else {\n this.item.mode = mode;\n }\n queueMicrotask(() => {\n callback(mode, this.rootRef.current);\n });\n });\n };\n this.item.afterRender();\n }\n}\n\nexport class SurveyCreatorToolboxItem extends CreatorModelElement<\n ISurveyCreatorToolboxItemProps,\n any\n> {\n constructor(props) {\n super(props);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"item\"];\n }\n public get item() {\n return this.props.item;\n }\n public get creator() {\n return this.props.creator;\n }\n public get model() {\n return this.props.model;\n }\n protected getStateElement(): Base {\n return this.model;\n }\n render(): React.JSX.Element {\n const banner = (this.props.isCompact ?\n <span className=\"svc-toolbox__item-banner\"\n onClick={(event: any) => {\n event.persist();\n this.model.click(event);\n }}>\n <SvgIcon size={\"auto\"} iconName={this.item.iconName} className=\"svc-toolbox__item-icon\" title={this.item.getTooltip()}></SvgIcon>\n <span>{this.item.title}</span>\n </span>\n :\n null\n );\n const item = attachKey2click(\n <div\n className={this.item.renderedCss}\n tabIndex={0}\n role=\"button\"\n aria-label={this.item.getTooltip()}\n onClick={(event: any) => {\n event.persist();\n this.model.click(event);\n }}\n >\n <span className=\"svc-toolbox__item-container\">\n {!!this.item.iconName ? <SvgIcon size={\"auto\"} iconName={this.item.iconName} className=\"svc-toolbox__item-icon\"></SvgIcon> : null}\n </span>\n {(this.props.isCompact ?\n null\n :\n <span className=\"svc-toolbox__item-title\">{this.item.title}</span>\n )}\n </div>, undefined, { disableTabStop: !this.model.toolboxItem.enabled });\n return (\n <>\n {item}\n {banner}\n </>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item\", (props) => {\n return createElement(SurveyCreatorToolboxItem, props);\n});\n","import * as React from \"react\";\nimport { Base } from \"survey-core\";\nimport { Popup, ReactElementFactory, SvgIcon } from \"survey-react-ui\";\nimport { CreatorModelElement } from \"../ModelElement\";\nimport { ISurveyCreatorToolboxItemProps, SurveyCreatorToolboxItem } from \"./ToolboxItem\";\n\nexport class SurveyCreatorToolboxItemGroup extends CreatorModelElement<ISurveyCreatorToolboxItemProps, any> {\n constructor(props) {\n super(props);\n }\n protected getUpdatedModelProps(): string[] {\n return [\"creator\", \"item\"];\n }\n public get item() {\n return this.props.item;\n }\n public get model() {\n return this.props.model;\n }\n public get creator() {\n return this.props.creator;\n }\n public get isCompact() {\n return this.props.isCompact;\n }\n public get parentModel() {\n return this.props.parentModel;\n }\n\n protected getStateElement(): Base {\n return this.item;\n }\n render(): React.JSX.Element {\n return <>\n <SurveyCreatorToolboxItem item={this.item} creator={this.creator} model={this.model} parentModel={this.parentModel} isCompact={this.isCompact} ></SurveyCreatorToolboxItem >\n <div className=\"svc-toolbox__item-submenu-button\"\n onMouseOver={(event: any) => this.model.onMouseOver(this.item, event)}\n onMouseLeave={(event: any) => this.model.onMouseLeave(this.item, event)}\n >\n <SvgIcon size={\"auto\"} iconName={this.item.subitemsButtonIcon} ></SvgIcon>\n <Popup model={this.item.popupModel} />\n </div>\n </>;\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-item-group\", (props) => {\n return React.createElement(SurveyCreatorToolboxItemGroup, props);\n});\n","import * as React from \"react\";\nimport { ListModel } from \"survey-core\";\nimport { ReactElementFactory, SurveyElementBase } from \"survey-react-ui\";\nimport { SurveyCreatorToolboxTool } from \"./ToolboxItem\";\nimport { CreatorBase } from \"survey-creator-core\";\n\ninterface IListProps {\n model: ListModel;\n creator: CreatorBase;\n}\n\nexport class ToolboxList extends SurveyElementBase<IListProps, any> {\n constructor(props: any) {\n super(props);\n }\n\n get model(): ListModel {\n return this.props.model;\n }\n get creator(): CreatorBase {\n return this.props.creator;\n }\n getStateElement() {\n return this.model;\n }\n\n render() {\n if (!this.model || !this.model.renderElements) return null;\n\n const items = this.renderItems();\n return (\n <div className={this.model.cssClasses.root}>\n {items}\n </div>\n );\n }\n renderItems() {\n const items = this.model.renderedActions;\n return items.map((item, itemIndex) =>\n <SurveyCreatorToolboxTool item={(item as any)} creator={this.creator} parentModel={this.model} isCompact={false} key={\"item\" + itemIndex} ></SurveyCreatorToolboxTool>\n );\n }\n}\n\nReactElementFactory.Instance.registerElement(\"svc-toolbox-list\", (props) => {\n return React.createElement(ToolboxList, props);\n});\n","module.exports = __WEBPACK_EXTERNAL_MODULE_react__;","module.exports = __WEBPACK_EXTERNAL_MODULE_react_dom__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_creator_core__;","module.exports = __WEBPACK_EXTERNAL_MODULE_survey_react_ui__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export * from \"./index-wc\";\nexport { SurveyCreator } from \"../SurveyCreator\";"],"names":[],"sourceRoot":""}