e0a81eedf78db22e31177afb5b7755e9.json 16 KB
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport InfoCircleOutlined from '@ant-design/icons/InfoCircleOutlined';\nimport CheckCircleOutlined from '@ant-design/icons/CheckCircleOutlined';\nimport CloseCircleOutlined from '@ant-design/icons/CloseCircleOutlined';\nimport ExclamationCircleOutlined from '@ant-design/icons/ExclamationCircleOutlined';\nimport { getConfirmLocale } from './locale';\nimport { destroyFns } from './Modal';\nimport ConfirmDialog from './ConfirmDialog';\nvar defaultRootPrefixCls = 'ant';\n\nfunction getRootPrefixCls() {\n  return defaultRootPrefixCls;\n}\n\nexport default function confirm(config) {\n  var div = document.createElement('div');\n  document.body.appendChild(div); // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\n  var currentConfig = _extends(_extends({}, config), {\n    close: close,\n    visible: true\n  });\n\n  function destroy() {\n    var unmountResult = ReactDOM.unmountComponentAtNode(div);\n\n    if (unmountResult && div.parentNode) {\n      div.parentNode.removeChild(div);\n    }\n\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    var triggerCancel = args.some(function (param) {\n      return param && param.triggerCancel;\n    });\n\n    if (config.onCancel && triggerCancel) {\n      config.onCancel.apply(config, args);\n    }\n\n    for (var i = 0; i < destroyFns.length; i++) {\n      var fn = destroyFns[i]; // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\n      if (fn === close) {\n        destroyFns.splice(i, 1);\n        break;\n      }\n    }\n  }\n\n  function render(_a) {\n    var okText = _a.okText,\n        cancelText = _a.cancelText,\n        prefixCls = _a.prefixCls,\n        props = __rest(_a, [\"okText\", \"cancelText\", \"prefixCls\"]);\n    /**\n     * https://github.com/ant-design/ant-design/issues/23623\n     * Sync render blocks React event. Let's make this async.\n     */\n\n\n    setTimeout(function () {\n      var runtimeLocale = getConfirmLocale();\n      ReactDOM.render( /*#__PURE__*/React.createElement(ConfirmDialog, _extends({}, props, {\n        prefixCls: prefixCls || \"\".concat(getRootPrefixCls(), \"-modal\"),\n        rootPrefixCls: getRootPrefixCls(),\n        okText: okText || (props.okCancel ? runtimeLocale.okText : runtimeLocale.justOkText),\n        cancelText: cancelText || runtimeLocale.cancelText\n      })), div);\n    });\n  }\n\n  function close() {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    currentConfig = _extends(_extends({}, currentConfig), {\n      visible: false,\n      afterClose: destroy.bind.apply(destroy, [this].concat(args))\n    });\n    render(currentConfig);\n  }\n\n  function update(configUpdate) {\n    if (typeof configUpdate === 'function') {\n      currentConfig = configUpdate(currentConfig);\n    } else {\n      currentConfig = _extends(_extends({}, currentConfig), configUpdate);\n    }\n\n    render(currentConfig);\n  }\n\n  render(currentConfig);\n  destroyFns.push(close);\n  return {\n    destroy: close,\n    update: update\n  };\n}\nexport function withWarn(props) {\n  return _extends({\n    type: 'warning',\n    icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withInfo(props) {\n  return _extends({\n    type: 'info',\n    icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withSuccess(props) {\n  return _extends({\n    type: 'success',\n    icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withError(props) {\n  return _extends({\n    type: 'error',\n    icon: /*#__PURE__*/React.createElement(CloseCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withConfirm(props) {\n  return _extends({\n    type: 'confirm',\n    icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),\n    okCancel: true\n  }, props);\n}\nexport function globalConfig(_ref) {\n  var rootPrefixCls = _ref.rootPrefixCls;\n\n  if (rootPrefixCls) {\n    defaultRootPrefixCls = rootPrefixCls;\n  }\n}","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/antd/es/modal/confirm.js"],"names":["_extends","__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","React","ReactDOM","InfoCircleOutlined","CheckCircleOutlined","CloseCircleOutlined","ExclamationCircleOutlined","getConfirmLocale","destroyFns","ConfirmDialog","defaultRootPrefixCls","getRootPrefixCls","confirm","config","div","document","createElement","body","appendChild","currentConfig","close","visible","destroy","unmountResult","unmountComponentAtNode","parentNode","removeChild","_len","arguments","args","Array","_key","triggerCancel","some","param","onCancel","apply","fn","splice","render","_a","okText","cancelText","prefixCls","props","setTimeout","runtimeLocale","concat","rootPrefixCls","okCancel","justOkText","_len2","_key2","afterClose","bind","update","configUpdate","push","withWarn","type","icon","withInfo","withSuccess","withError","withConfirm","globalConfig","_ref"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,gCAArB;;AAEA,IAAIC,MAAM,GAAG,QAAQ,KAAKA,MAAb,IAAuB,UAAUC,CAAV,EAAaC,CAAb,EAAgB;AAClD,MAAIC,CAAC,GAAG,EAAR;;AAEA,OAAK,IAAIC,CAAT,IAAcH,CAAd,EAAiB;AACf,QAAII,MAAM,CAACC,SAAP,CAAiBC,cAAjB,CAAgCC,IAAhC,CAAqCP,CAArC,EAAwCG,CAAxC,KAA8CF,CAAC,CAACO,OAAF,CAAUL,CAAV,IAAe,CAAjE,EAAoED,CAAC,CAACC,CAAD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AApB,EAAwC,IAAxC,CAFL;AAGd8C,IAAAA,QAAQ,EAAE;AAHI,GAAD,EAIZL,KAJY,CAAf;AAKD;AACD,OAAO,SAASkB,WAAT,CAAqBlB,KAArB,EAA4B;AACjC,SAAO1D,QAAQ,CAAC;AACdyE,IAAAA,IAAI,EAAE,SADQ;AAEdC,IAAAA,IAAI,EAAE,aAAa3D,KAAK,CAACe,aAAN,CAAoBZ,mBAApB,EAAyC,IAAzC,CAFL;AAGd6C,IAAAA,QAAQ,EAAE;AAHI,GAAD,EAIZL,KAJY,CAAf;AAKD;AACD,OAAO,SAASmB,SAAT,CAAmBnB,KAAnB,EAA0B;AAC/B,SAAO1D,QAAQ,CAAC;AACdyE,IAAAA,IAAI,EAAE,OADQ;AAEdC,IAAAA,IAAI,EAAE,aAAa3D,KAAK,CAACe,aAAN,CAAoBX,mBAApB,EAAyC,IAAzC,CAFL;AAGd4C,IAAAA,QAAQ,EAAE;AAHI,GAAD,EAIZL,KAJY,CAAf;AAKD;AACD,OAAO,SAASoB,WAAT,CAAqBpB,KAArB,EAA4B;AACjC,SAAO1D,QAAQ,CAAC;AACdyE,IAAAA,IAAI,EAAE,SADQ;AAEdC,IAAAA,IAAI,EAAE,aAAa3D,KAAK,CAACe,aAAN,CAAoBV,yBAApB,EAA+C,IAA/C,CAFL;AAGd2C,IAAAA,QAAQ,EAAE;AAHI,GAAD,EAIZL,KAJY,CAAf;AAKD;AACD,OAAO,SAASqB,YAAT,CAAsBC,IAAtB,EAA4B;AACjC,MAAIlB,aAAa,GAAGkB,IAAI,CAAClB,aAAzB;;AAEA,MAAIA,aAAJ,EAAmB;AACjBtC,IAAAA,oBAAoB,GAAGsC,aAAvB;AACD;AACF","sourcesContent":["import _extends from \"@babel/runtime/helpers/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport InfoCircleOutlined from '@ant-design/icons/InfoCircleOutlined';\nimport CheckCircleOutlined from '@ant-design/icons/CheckCircleOutlined';\nimport CloseCircleOutlined from '@ant-design/icons/CloseCircleOutlined';\nimport ExclamationCircleOutlined from '@ant-design/icons/ExclamationCircleOutlined';\nimport { getConfirmLocale } from './locale';\nimport { destroyFns } from './Modal';\nimport ConfirmDialog from './ConfirmDialog';\nvar defaultRootPrefixCls = 'ant';\n\nfunction getRootPrefixCls() {\n  return defaultRootPrefixCls;\n}\n\nexport default function confirm(config) {\n  var div = document.createElement('div');\n  document.body.appendChild(div); // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\n  var currentConfig = _extends(_extends({}, config), {\n    close: close,\n    visible: true\n  });\n\n  function destroy() {\n    var unmountResult = ReactDOM.unmountComponentAtNode(div);\n\n    if (unmountResult && div.parentNode) {\n      div.parentNode.removeChild(div);\n    }\n\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    var triggerCancel = args.some(function (param) {\n      return param && param.triggerCancel;\n    });\n\n    if (config.onCancel && triggerCancel) {\n      config.onCancel.apply(config, args);\n    }\n\n    for (var i = 0; i < destroyFns.length; i++) {\n      var fn = destroyFns[i]; // eslint-disable-next-line @typescript-eslint/no-use-before-define\n\n      if (fn === close) {\n        destroyFns.splice(i, 1);\n        break;\n      }\n    }\n  }\n\n  function render(_a) {\n    var okText = _a.okText,\n        cancelText = _a.cancelText,\n        prefixCls = _a.prefixCls,\n        props = __rest(_a, [\"okText\", \"cancelText\", \"prefixCls\"]);\n    /**\n     * https://github.com/ant-design/ant-design/issues/23623\n     * Sync render blocks React event. Let's make this async.\n     */\n\n\n    setTimeout(function () {\n      var runtimeLocale = getConfirmLocale();\n      ReactDOM.render( /*#__PURE__*/React.createElement(ConfirmDialog, _extends({}, props, {\n        prefixCls: prefixCls || \"\".concat(getRootPrefixCls(), \"-modal\"),\n        rootPrefixCls: getRootPrefixCls(),\n        okText: okText || (props.okCancel ? runtimeLocale.okText : runtimeLocale.justOkText),\n        cancelText: cancelText || runtimeLocale.cancelText\n      })), div);\n    });\n  }\n\n  function close() {\n    for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n      args[_key2] = arguments[_key2];\n    }\n\n    currentConfig = _extends(_extends({}, currentConfig), {\n      visible: false,\n      afterClose: destroy.bind.apply(destroy, [this].concat(args))\n    });\n    render(currentConfig);\n  }\n\n  function update(configUpdate) {\n    if (typeof configUpdate === 'function') {\n      currentConfig = configUpdate(currentConfig);\n    } else {\n      currentConfig = _extends(_extends({}, currentConfig), configUpdate);\n    }\n\n    render(currentConfig);\n  }\n\n  render(currentConfig);\n  destroyFns.push(close);\n  return {\n    destroy: close,\n    update: update\n  };\n}\nexport function withWarn(props) {\n  return _extends({\n    type: 'warning',\n    icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withInfo(props) {\n  return _extends({\n    type: 'info',\n    icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withSuccess(props) {\n  return _extends({\n    type: 'success',\n    icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withError(props) {\n  return _extends({\n    type: 'error',\n    icon: /*#__PURE__*/React.createElement(CloseCircleOutlined, null),\n    okCancel: false\n  }, props);\n}\nexport function withConfirm(props) {\n  return _extends({\n    type: 'confirm',\n    icon: /*#__PURE__*/React.createElement(ExclamationCircleOutlined, null),\n    okCancel: true\n  }, props);\n}\nexport function globalConfig(_ref) {\n  var rootPrefixCls = _ref.rootPrefixCls;\n\n  if (rootPrefixCls) {\n    defaultRootPrefixCls = rootPrefixCls;\n  }\n}"]},"metadata":{},"sourceType":"module"}