| 52133 | } |
| 52134 | } |
| 52135 | render() { |
| 52136 | return /*#__PURE__*/ _react.createElement("div", null, /*#__PURE__*/ _react.createElement((0, _sanddanceExplorer.controls).Dialog, { |
| 52137 | hidden: false, |
| 52138 | onDismiss: this.props.onDismiss, |
| 52139 | dialogContentProps: { |
| 52140 | className: `sanddance-dialog ${this.props.theme}`, |
| 52141 | type: (0, _base.base).fluentUI.DialogType.normal, |
| 52142 | title: (0, _language.strings).dialogTitleSnapshotsLocal, |
| 52143 | subText: (0, _language.strings).dialogSubtextSnapshotsLocal |
| 52144 | } |
| 52145 | }, /*#__PURE__*/ _react.createElement("section", null, /*#__PURE__*/ _react.createElement("input", { |
| 52146 | type: "file", |
| 52147 | onChange: (e)=>this.readFile(e), |
| 52148 | disabled: this.state.working |
| 52149 | }), this.state.fileFormatError && /*#__PURE__*/ _react.createElement("div", { |
| 52150 | className: "error" |
| 52151 | }, this.state.fileFormatError)))); |
| 52152 | } |
| 52153 | } |
| 52154 | class SnapshotImportRemote extends _react.Component { |
| 52155 | constructor(props){ |