1 line
52 KiB
JSON
1 line
52 KiB
JSON
{"ast":null,"code":"import React, { Component } from 'react';\nimport { DomHandler, ObjectUtils, classNames, ZIndexUtils } from 'primereact/utils';\nimport { Ripple } from 'primereact/ripple';\nimport { TransitionGroup } from 'react-transition-group';\nimport { CSSTransition } from 'primereact/csstransition';\nimport PrimeReact from 'primereact/api';\nimport { Portal } from 'primereact/portal';\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _createSuper$1(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct$1();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _isNativeReflectConstruct$1() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nvar ToastMessageComponent = /*#__PURE__*/function (_Component) {\n _inherits(ToastMessageComponent, _Component);\n\n var _super = _createSuper$1(ToastMessageComponent);\n\n function ToastMessageComponent(props) {\n var _this;\n\n _classCallCheck(this, ToastMessageComponent);\n\n _this = _super.call(this, props);\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(ToastMessageComponent, [{\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n if (!this.props.message.sticky) {\n this.timeout = setTimeout(function () {\n _this2.onClose(null);\n }, this.props.message.life || 3000);\n }\n }\n }, {\n key: \"onClose\",\n value: function onClose() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n\n if (this.props.onClose) {\n this.props.onClose(this.props.message);\n }\n }\n }, {\n key: \"onClick\",\n value: function onClick(event) {\n if (this.props.onClick && !(DomHandler.hasClass(event.target, 'p-toast-icon-close') || DomHandler.hasClass(event.target, 'p-toast-icon-close-icon'))) {\n this.props.onClick(this.props.message);\n }\n }\n }, {\n key: \"renderCloseIcon\",\n value: function renderCloseIcon() {\n if (this.props.message.closable !== false) {\n return /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: \"p-toast-icon-close p-link\",\n onClick: this.onClose\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-toast-icon-close-icon pi pi-times\"\n }), /*#__PURE__*/React.createElement(Ripple, null));\n }\n\n return null;\n }\n }, {\n key: \"renderMessage\",\n value: function renderMessage() {\n if (this.props.message) {\n var _this$props$message = this.props.message,\n severity = _this$props$message.severity,\n content = _this$props$message.content,\n summary = _this$props$message.summary,\n detail = _this$props$message.detail;\n var contentEl = ObjectUtils.getJSXElement(content, _objectSpread(_objectSpread({}, this.props), {}, {\n onClose: this.onClose\n }));\n var iconClassName = classNames('p-toast-message-icon pi', {\n 'pi-info-circle': severity === 'info',\n 'pi-exclamation-triangle': severity === 'warn',\n 'pi-times': severity === 'error',\n 'pi-check': severity === 'success'\n });\n return contentEl || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-toast-message-text\"\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-toast-summary\"\n }, summary), detail && /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-toast-detail\"\n }, detail)));\n }\n\n return null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var severity = this.props.message.severity;\n var contentClassName = this.props.message.contentClassName;\n var contentStyle = this.props.message.contentStyle;\n var style = this.props.message.style;\n var className = classNames('p-toast-message', {\n 'p-toast-message-info': severity === 'info',\n 'p-toast-message-warn': severity === 'warn',\n 'p-toast-message-error': severity === 'error',\n 'p-toast-message-success': severity === 'success'\n }, this.props.message.className);\n var message = this.renderMessage();\n var closeIcon = this.renderCloseIcon();\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: this.props.forwardRef,\n className: className,\n style: style,\n role: \"alert\",\n \"aria-live\": \"assertive\",\n \"aria-atomic\": \"true\",\n onClick: this.onClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames('p-toast-message-content', contentClassName),\n style: contentStyle\n }, message, closeIcon));\n }\n }]);\n\n return ToastMessageComponent;\n}(Component);\n\n_defineProperty(ToastMessageComponent, \"defaultProps\", {\n message: null,\n onClose: null,\n onClick: null\n});\n\nvar ToastMessage = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(ToastMessageComponent, _extends({\n forwardRef: ref\n }, props));\n});\n\nfunction _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n}\n\nvar messageIdx = 0;\n\nvar Toast = /*#__PURE__*/function (_Component) {\n _inherits(Toast, _Component);\n\n var _super = _createSuper(Toast);\n\n function Toast(props) {\n var _this;\n\n _classCallCheck(this, Toast);\n\n _this = _super.call(this, props);\n _this.state = {\n messages: []\n };\n _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));\n _this.onEntered = _this.onEntered.bind(_assertThisInitialized(_this));\n _this.onExited = _this.onExited.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(Toast, [{\n key: \"show\",\n value: function show(value) {\n if (value) {\n if (value) {\n var newMessages;\n\n if (Array.isArray(value)) {\n for (var i = 0; i < value.length; i++) {\n value[i].id = messageIdx++;\n newMessages = [].concat(_toConsumableArray(this.state.messages), _toConsumableArray(value));\n }\n } else {\n value.id = messageIdx++;\n newMessages = this.state.messages ? [].concat(_toConsumableArray(this.state.messages), [value]) : [value];\n }\n\n this.state.messages.length === 0 && ZIndexUtils.set('toast', this.container, PrimeReact.autoZIndex, this.props.baseZIndex || PrimeReact.zIndex['toast']);\n this.setState({\n messages: newMessages\n });\n }\n }\n }\n }, {\n key: \"clear\",\n value: function clear() {\n ZIndexUtils.clear(this.container);\n this.setState({\n messages: []\n });\n }\n }, {\n key: \"onClose\",\n value: function onClose(message) {\n var newMessages = this.state.messages.filter(function (msg) {\n return msg.id !== message.id;\n });\n this.setState({\n messages: newMessages\n });\n\n if (this.props.onRemove) {\n this.props.onRemove(message);\n }\n }\n }, {\n key: \"onEntered\",\n value: function onEntered() {\n this.props.onShow && this.props.onShow();\n }\n }, {\n key: \"onExited\",\n value: function onExited() {\n this.state.messages.length === 0 && ZIndexUtils.clear(this.container);\n this.props.onHide && this.props.onHide();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n ZIndexUtils.clear(this.container);\n }\n }, {\n key: \"renderElement\",\n value: function renderElement() {\n var _this2 = this;\n\n var className = classNames('p-toast p-component p-toast-' + this.props.position, this.props.className);\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: function ref(el) {\n _this2.container = el;\n },\n id: this.props.id,\n className: className,\n style: this.props.style\n }, /*#__PURE__*/React.createElement(TransitionGroup, null, this.state.messages.map(function (message) {\n var messageRef = /*#__PURE__*/React.createRef();\n return /*#__PURE__*/React.createElement(CSSTransition, {\n nodeRef: messageRef,\n key: message.id,\n classNames: \"p-toast-message\",\n unmountOnExit: true,\n timeout: {\n enter: 300,\n exit: 300\n },\n onEntered: _this2.onEntered,\n onExited: _this2.onExited,\n options: _this2.props.transitionOptions\n }, /*#__PURE__*/React.createElement(ToastMessage, {\n ref: messageRef,\n message: message,\n onClick: _this2.props.onClick,\n onClose: _this2.onClose\n }));\n })));\n }\n }, {\n key: \"render\",\n value: function render() {\n var element = this.renderElement();\n return /*#__PURE__*/React.createElement(Portal, {\n element: element,\n appendTo: this.props.appendTo\n });\n }\n }]);\n\n return Toast;\n}(Component);\n\n_defineProperty(Toast, \"defaultProps\", {\n id: null,\n className: null,\n style: null,\n baseZIndex: 0,\n position: 'top-right',\n transitionOptions: null,\n appendTo: 'self',\n onClick: null,\n onRemove: null,\n onShow: null,\n onHide: null\n});\n\nexport { Toast };","map":{"version":3,"names":["React","Component","DomHandler","ObjectUtils","classNames","ZIndexUtils","Ripple","TransitionGroup","CSSTransition","PrimeReact","Portal","_arrayLikeToArray","arr","len","length","i","arr2","Array","_arrayWithoutHoles","isArray","_iterableToArray","iter","Symbol","iterator","from","_unsupportedIterableToArray","o","minLen","n","Object","prototype","toString","call","slice","constructor","name","test","_nonIterableSpread","TypeError","_toConsumableArray","_classCallCheck","instance","Constructor","_defineProperties","target","props","descriptor","enumerable","configurable","writable","defineProperty","key","_createClass","protoProps","staticProps","_assertThisInitialized","self","ReferenceError","_setPrototypeOf","p","setPrototypeOf","__proto__","_inherits","subClass","superClass","create","value","_typeof","obj","_possibleConstructorReturn","_getPrototypeOf","getPrototypeOf","_defineProperty","_extends","assign","arguments","source","hasOwnProperty","apply","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","push","_objectSpread","forEach","getOwnPropertyDescriptors","defineProperties","_createSuper$1","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct$1","_createSuperInternal","Super","result","NewTarget","Reflect","construct","sham","Proxy","Boolean","valueOf","e","ToastMessageComponent","_Component","_super","_this","onClick","bind","onClose","componentWillUnmount","timeout","clearTimeout","componentDidMount","_this2","message","sticky","setTimeout","life","event","hasClass","renderCloseIcon","closable","createElement","type","className","renderMessage","_this$props$message","severity","content","summary","detail","contentEl","getJSXElement","iconClassName","Fragment","render","contentClassName","contentStyle","style","closeIcon","ref","forwardRef","role","ToastMessage","_createSuper","_isNativeReflectConstruct","messageIdx","Toast","state","messages","onEntered","onExited","show","newMessages","id","concat","set","container","autoZIndex","baseZIndex","zIndex","setState","clear","msg","onRemove","onShow","onHide","renderElement","position","el","map","messageRef","createRef","nodeRef","unmountOnExit","enter","exit","options","transitionOptions","element","appendTo"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/node_modules/primereact/toast/toast.esm.js"],"sourcesContent":["import React, { Component } from 'react';\nimport { DomHandler, ObjectUtils, classNames, ZIndexUtils } from 'primereact/utils';\nimport { Ripple } from 'primereact/ripple';\nimport { TransitionGroup } from 'react-transition-group';\nimport { CSSTransition } from 'primereact/csstransition';\nimport PrimeReact from 'primereact/api';\nimport { Portal } from 'primereact/portal';\n\nfunction _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n}\n\nfunction _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}\n\nfunction _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n Object.defineProperty(subClass, \"prototype\", {\n writable: false\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n}\n\nfunction _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n } else if (call !== void 0) {\n throw new TypeError(\"Derived constructors may only return object or undefined\");\n }\n\n return _assertThisInitialized(self);\n}\n\nfunction _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct$1() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nvar ToastMessageComponent = /*#__PURE__*/function (_Component) {\n _inherits(ToastMessageComponent, _Component);\n\n var _super = _createSuper$1(ToastMessageComponent);\n\n function ToastMessageComponent(props) {\n var _this;\n\n _classCallCheck(this, ToastMessageComponent);\n\n _this = _super.call(this, props);\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(ToastMessageComponent, [{\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n }\n }, {\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n if (!this.props.message.sticky) {\n this.timeout = setTimeout(function () {\n _this2.onClose(null);\n }, this.props.message.life || 3000);\n }\n }\n }, {\n key: \"onClose\",\n value: function onClose() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n }\n\n if (this.props.onClose) {\n this.props.onClose(this.props.message);\n }\n }\n }, {\n key: \"onClick\",\n value: function onClick(event) {\n if (this.props.onClick && !(DomHandler.hasClass(event.target, 'p-toast-icon-close') || DomHandler.hasClass(event.target, 'p-toast-icon-close-icon'))) {\n this.props.onClick(this.props.message);\n }\n }\n }, {\n key: \"renderCloseIcon\",\n value: function renderCloseIcon() {\n if (this.props.message.closable !== false) {\n return /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: \"p-toast-icon-close p-link\",\n onClick: this.onClose\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-toast-icon-close-icon pi pi-times\"\n }), /*#__PURE__*/React.createElement(Ripple, null));\n }\n\n return null;\n }\n }, {\n key: \"renderMessage\",\n value: function renderMessage() {\n if (this.props.message) {\n var _this$props$message = this.props.message,\n severity = _this$props$message.severity,\n content = _this$props$message.content,\n summary = _this$props$message.summary,\n detail = _this$props$message.detail;\n var contentEl = ObjectUtils.getJSXElement(content, _objectSpread(_objectSpread({}, this.props), {}, {\n onClose: this.onClose\n }));\n var iconClassName = classNames('p-toast-message-icon pi', {\n 'pi-info-circle': severity === 'info',\n 'pi-exclamation-triangle': severity === 'warn',\n 'pi-times': severity === 'error',\n 'pi-check': severity === 'success'\n });\n return contentEl || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"span\", {\n className: iconClassName\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-toast-message-text\"\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: \"p-toast-summary\"\n }, summary), detail && /*#__PURE__*/React.createElement(\"div\", {\n className: \"p-toast-detail\"\n }, detail)));\n }\n\n return null;\n }\n }, {\n key: \"render\",\n value: function render() {\n var severity = this.props.message.severity;\n var contentClassName = this.props.message.contentClassName;\n var contentStyle = this.props.message.contentStyle;\n var style = this.props.message.style;\n var className = classNames('p-toast-message', {\n 'p-toast-message-info': severity === 'info',\n 'p-toast-message-warn': severity === 'warn',\n 'p-toast-message-error': severity === 'error',\n 'p-toast-message-success': severity === 'success'\n }, this.props.message.className);\n var message = this.renderMessage();\n var closeIcon = this.renderCloseIcon();\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: this.props.forwardRef,\n className: className,\n style: style,\n role: \"alert\",\n \"aria-live\": \"assertive\",\n \"aria-atomic\": \"true\",\n onClick: this.onClick\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames('p-toast-message-content', contentClassName),\n style: contentStyle\n }, message, closeIcon));\n }\n }]);\n\n return ToastMessageComponent;\n}(Component);\n\n_defineProperty(ToastMessageComponent, \"defaultProps\", {\n message: null,\n onClose: null,\n onClick: null\n});\n\nvar ToastMessage = /*#__PURE__*/React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(ToastMessageComponent, _extends({\n forwardRef: ref\n }, props));\n});\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nvar messageIdx = 0;\nvar Toast = /*#__PURE__*/function (_Component) {\n _inherits(Toast, _Component);\n\n var _super = _createSuper(Toast);\n\n function Toast(props) {\n var _this;\n\n _classCallCheck(this, Toast);\n\n _this = _super.call(this, props);\n _this.state = {\n messages: []\n };\n _this.onClose = _this.onClose.bind(_assertThisInitialized(_this));\n _this.onEntered = _this.onEntered.bind(_assertThisInitialized(_this));\n _this.onExited = _this.onExited.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n _createClass(Toast, [{\n key: \"show\",\n value: function show(value) {\n if (value) {\n if (value) {\n var newMessages;\n\n if (Array.isArray(value)) {\n for (var i = 0; i < value.length; i++) {\n value[i].id = messageIdx++;\n newMessages = [].concat(_toConsumableArray(this.state.messages), _toConsumableArray(value));\n }\n } else {\n value.id = messageIdx++;\n newMessages = this.state.messages ? [].concat(_toConsumableArray(this.state.messages), [value]) : [value];\n }\n\n this.state.messages.length === 0 && ZIndexUtils.set('toast', this.container, PrimeReact.autoZIndex, this.props.baseZIndex || PrimeReact.zIndex['toast']);\n this.setState({\n messages: newMessages\n });\n }\n }\n }\n }, {\n key: \"clear\",\n value: function clear() {\n ZIndexUtils.clear(this.container);\n this.setState({\n messages: []\n });\n }\n }, {\n key: \"onClose\",\n value: function onClose(message) {\n var newMessages = this.state.messages.filter(function (msg) {\n return msg.id !== message.id;\n });\n this.setState({\n messages: newMessages\n });\n\n if (this.props.onRemove) {\n this.props.onRemove(message);\n }\n }\n }, {\n key: \"onEntered\",\n value: function onEntered() {\n this.props.onShow && this.props.onShow();\n }\n }, {\n key: \"onExited\",\n value: function onExited() {\n this.state.messages.length === 0 && ZIndexUtils.clear(this.container);\n this.props.onHide && this.props.onHide();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n ZIndexUtils.clear(this.container);\n }\n }, {\n key: \"renderElement\",\n value: function renderElement() {\n var _this2 = this;\n\n var className = classNames('p-toast p-component p-toast-' + this.props.position, this.props.className);\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: function ref(el) {\n _this2.container = el;\n },\n id: this.props.id,\n className: className,\n style: this.props.style\n }, /*#__PURE__*/React.createElement(TransitionGroup, null, this.state.messages.map(function (message) {\n var messageRef = /*#__PURE__*/React.createRef();\n return /*#__PURE__*/React.createElement(CSSTransition, {\n nodeRef: messageRef,\n key: message.id,\n classNames: \"p-toast-message\",\n unmountOnExit: true,\n timeout: {\n enter: 300,\n exit: 300\n },\n onEntered: _this2.onEntered,\n onExited: _this2.onExited,\n options: _this2.props.transitionOptions\n }, /*#__PURE__*/React.createElement(ToastMessage, {\n ref: messageRef,\n message: message,\n onClick: _this2.props.onClick,\n onClose: _this2.onClose\n }));\n })));\n }\n }, {\n key: \"render\",\n value: function render() {\n var element = this.renderElement();\n return /*#__PURE__*/React.createElement(Portal, {\n element: element,\n appendTo: this.props.appendTo\n });\n }\n }]);\n\n return Toast;\n}(Component);\n\n_defineProperty(Toast, \"defaultProps\", {\n id: null,\n className: null,\n style: null,\n baseZIndex: 0,\n position: 'top-right',\n transitionOptions: null,\n appendTo: 'self',\n onClick: null,\n onRemove: null,\n onShow: null,\n onHide: null\n});\n\nexport { Toast };\n"],"mappings":"AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,UAAT,EAAqBC,WAArB,EAAkCC,UAAlC,EAA8CC,WAA9C,QAAiE,kBAAjE;AACA,SAASC,MAAT,QAAuB,mBAAvB;AACA,SAASC,eAAT,QAAgC,wBAAhC;AACA,SAASC,aAAT,QAA8B,0BAA9B;AACA,OAAOC,UAAP,MAAuB,gBAAvB;AACA,SAASC,MAAT,QAAuB,mBAAvB;;AAEA,SAASC,iBAAT,CAA2BC,GAA3B,EAAgCC,GAAhC,EAAqC;EACnC,IAAIA,GAAG,IAAI,IAAP,IAAeA,GAAG,GAAGD,GAAG,CAACE,MAA7B,EAAqCD,GAAG,GAAGD,GAAG,CAACE,MAAV;;EAErC,KAAK,IAAIC,CAAC,GAAG,CAAR,EAAWC,IAAI,GAAG,IAAIC,KAAJ,CAAUJ,GAAV,CAAvB,EAAuCE,CAAC,GAAGF,GAA3C,EAAgDE,CAAC,EAAjD,EAAqD;IACnDC,IAAI,CAACD,CAAD,CAAJ,GAAUH,GAAG,CAACG,CAAD,CAAb;EACD;;EAED,OAAOC,IAAP;AACD;;AAED,SAASE,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