(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[13],{

/***/ "../blueprint-samples/lib/component/DialogSamples.js":
/*!***********************************************************!*\
  !*** ../blueprint-samples/lib/component/DialogSamples.js ***!
  \***********************************************************/
/*! exports provided: DialogSamples, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DialogSamples", function() { return DialogSamples; });
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return DialogSamples; });
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _blueprintjs_core_lib_esm_components_dialog_dialog__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @blueprintjs/core/lib/esm/components/dialog/dialog */ "../../node_modules/@blueprintjs/core/lib/esm/components/dialog/dialog.js");
/* harmony import */ var _blueprintjs_core_lib_esm_components_button_buttons__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @blueprintjs/core/lib/esm/components/button/buttons */ "../../node_modules/@blueprintjs/core/lib/esm/components/button/buttons.js");
var __extends = (undefined && undefined.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();



var DialogSamples = /** @class */ (function (_super) {
    __extends(DialogSamples, _super);
    function DialogSamples(props) {
        var _this = _super.call(this, props) || this;
        _this._onDialogClose = function () {
            console.log("-- On Dialog Close");
            _this.setState({ open: false });
        };
        _this._onClickOpenDialog = function () {
            console.log("-- On Click Open Dialog");
            _this.setState({ open: true });
        };
        _this.state = { open: false };
        return _this;
    }
    DialogSamples.prototype.render = function () {
        return (react__WEBPACK_IMPORTED_MODULE_0__["createElement"]("div", { style: { padding: 8 } },
            react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_blueprintjs_core_lib_esm_components_button_buttons__WEBPACK_IMPORTED_MODULE_2__["Button"], { onClick: this._onClickOpenDialog, disabled: this.state.open }, "Show Dialog"),
            react__WEBPACK_IMPORTED_MODULE_0__["createElement"](_blueprintjs_core_lib_esm_components_dialog_dialog__WEBPACK_IMPORTED_MODULE_1__["Dialog"], { isOpen: this.state.open, onClose: this._onDialogClose, title: "Sample Dialog" }, "Hello, this is a dialog")));
    };
    return DialogSamples;
}(react__WEBPACK_IMPORTED_MODULE_0__["Component"]));



/***/ })

}]);
//# sourceMappingURL=13.js.map