@para-ui/core 4.0.1 → 4.0.2
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.
- package/Form/index.js +1 -1
- package/FormItem/index.js +1 -1
- package/FunctionModal/index.js +2 -2
- package/Message/index.js +2 -2
- package/Modal/index.js +2 -2
- package/Notification/index.js +2 -2
- package/PasswordRules/index.js +2 -2
- package/PopConfirm/index.js +2 -2
- package/Progress/index.js +2 -2
- package/Prompt/index.d.ts +30 -0
- package/Prompt/index.js +97 -0
- package/README.md +6 -0
- package/Status/index.js +2 -2
- package/Table/index.js +1 -1
- package/Tag/index.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +3 -2
- package/package.json +1 -1
- package/umd/ComboSelect.js +1 -1
- package/umd/DatePicker.js +1 -1
- package/umd/DynamicMultiBox.js +2 -2
- package/umd/Form.js +1 -1
- package/umd/FormItem.js +1 -1
- package/umd/Prompt.js +29 -0
- package/umd/Table.js +1 -1
- package/umd/Tag.js +1 -1
- package/umd/TimePicker.js +1 -1
- /package/_verture/{index-00dc302a.js → index-80e8eb3f.js} +0 -0
- /package/_verture/{modalContext-ea977824.js → modalContext-8982647f.js} +0 -0
package/umd/Prompt.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ParaUI=e(require("react")):t.ParaUI=e(t.react)}(self,(t=>(()=>{var e={17826:(t,e,r)=>{(e=r(23645)(!1)).push([t.id,".paraui-v4-prompt{width:100%;border-radius:4px;padding:10px 16px 10px 40px;position:relative;box-sizing:border-box}.paraui-v4-prompt.prompt-outline{border-width:1px;border-style:solid}.paraui-v4-prompt.prompt-status-feedback-close{padding-right:44px}.paraui-v4-prompt .prompt-icon{width:16px;height:16px;position:absolute;top:12px;left:16px;z-index:2}.paraui-v4-prompt .prompt-icon svg{width:16px;height:16px}.paraui-v4-prompt .prompt-btn-close{width:16px;height:16px;position:absolute;top:12px;right:12px;z-index:2;margin-left:auto;cursor:pointer}.paraui-v4-prompt .prompt-btn-close svg{width:100%;height:100%}.paraui-v4-prompt .prompt-title{width:100%;font-weight:600;height:20px;font-size:14px;color:#1d2126;line-height:20px;margin-bottom:4px}.paraui-v4-prompt .prompt-content-list .prompt-content-item{margin-top:4px;color:#1d2126}.paraui-v4-prompt .prompt-content-list .prompt-content-item:first-child{margin-top:0}.paraui-v4-prompt .prompt-content-item{width:100%;font-size:14px;color:#1d2126;line-height:20px}.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-title,.paraui-v4-prompt.prompt-status-feedback.prompt-type-info .prompt-content-item{color:#2e65e6}.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-title,.paraui-v4-prompt.prompt-status-feedback.prompt-type-error .prompt-content-item{color:#f44242}.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-title,.paraui-v4-prompt.prompt-status-feedback.prompt-type-success .prompt-content-item{color:#13bf4c}.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-title,.paraui-v4-prompt.prompt-status-feedback.prompt-type-warn .prompt-content-item{color:#ff9326}.paraui-v4-prompt.prompt-type-info{background:#f0f5ff}.paraui-v4-prompt.prompt-type-info svg{color:#2e65e6}.paraui-v4-prompt.prompt-type-info.prompt-outline{border-color:#5783eb}.paraui-v4-prompt.prompt-type-error{background:#ffebeb}.paraui-v4-prompt.prompt-type-error svg{color:#f44242}.paraui-v4-prompt.prompt-type-error.prompt-outline{border-color:#f66767}.paraui-v4-prompt.prompt-type-success{background:#e8fcef}.paraui-v4-prompt.prompt-type-success svg{color:#13bf4c}.paraui-v4-prompt.prompt-type-success.prompt-outline{border-color:#13bf4c}.paraui-v4-prompt.prompt-type-warn{background:#fff6eb}.paraui-v4-prompt.prompt-type-warn svg{color:#ff9326}.paraui-v4-prompt.prompt-type-warn.prompt-outline{border-color:#ff9326}",""]),t.exports=e},23645:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=function(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"==typeof btoa){var o=(i=n,p=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(p),"/*# ".concat(c," */")),a=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(a).concat([o]).join("\n")}var i,p,c;return[r].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var p=0;p<t.length;p++){var c=[].concat(t[p]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),e.push(c))}},e}},27418:t=>{"use strict";
|
|
2
|
+
/*
|
|
3
|
+
object-assign
|
|
4
|
+
(c) Sindre Sorhus
|
|
5
|
+
@license MIT
|
|
6
|
+
*/var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(t){return!1}}()?Object.assign:function(t,o){for(var a,i,p=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),c=1;c<arguments.length;c++){for(var s in a=Object(arguments[c]))r.call(a,s)&&(p[s]=a[s]);if(e){i=e(a);for(var l=0;l<i.length;l++)n.call(a,i[l])&&(p[i[l]]=a[i[l]])}}return p}},75251:(t,e,r)=>{"use strict";
|
|
7
|
+
/** @license React v17.0.2
|
|
8
|
+
* react-jsx-runtime.production.min.js
|
|
9
|
+
*
|
|
10
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the MIT license found in the
|
|
13
|
+
* LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/r(27418);var n=r(8156),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;o=a("react.element"),e.Fragment=a("react.fragment")}var i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,r){var n,a={},s=null,l=null;for(n in void 0!==r&&(s=""+r),void 0!==e.key&&(s=""+e.key),void 0!==e.ref&&(l=e.ref),e)p.call(e,n)&&!c.hasOwnProperty(n)&&(a[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===a[n]&&(a[n]=e[n]);return{$$typeof:o,type:t,key:s,ref:l,props:a,_owner:i.current}}e.jsx=s,e.jsxs=s},85893:(t,e,r)=>{"use strict";t.exports=r(75251)},86319:(t,e,r)=>{var n=r(93379),o=r(17826);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[t.id,o,""]]);var a={insert:"head",singleton:!1};n(o,a);t.exports=o.locals||{}},93379:(t,e,r)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},a=function(){var t={};return function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}t[e]=r}return t[e]}}(),i=[];function p(t){for(var e=-1,r=0;r<i.length;r++)if(i[r].identifier===t){e=r;break}return e}function c(t,e){for(var r={},n=[],o=0;o<t.length;o++){var a=t[o],c=e.base?a[0]+e.base:a[0],s=r[c]||0,l="".concat(c," ").concat(s);r[c]=s+1;var u=p(l),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(f)):i.push({identifier:l,updater:h(f,e),references:1}),n.push(l)}return n}function s(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(e)}return e}var l,u=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function f(t,e,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=u(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}function m(t,e,r){var n=r.css,o=r.media,a=r.sourceMap;if(o?t.setAttribute("media",o):t.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var d=null,v=0;function h(t,e){var r,n,o;if(e.singleton){var a=v++;r=d||(d=s(e)),n=f.bind(null,r,a,!1),o=f.bind(null,r,a,!0)}else r=s(e),n=m.bind(null,r,e),o=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)};return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=o());var r=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var n=0;n<r.length;n++){var o=p(r[n]);i[o].references--}for(var a=c(t,e),s=0;s<r.length;s++){var l=p(r[s]);0===i[l].references&&(i[l].updater(),i.splice(l,1))}r=a}}}},8156:e=>{"use strict";e.exports=t}},r={};function n(t){var o=r[t];if(void 0!==o)return o.exports;var a=r[t]={id:t,exports:{}};return e[t](a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.r(o),n.d(o,{Prompt:()=>v,default:()=>h});var t=n(8156),e=n.n(t);function r(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(o&&(o+=" "),o+=n);else for(e in t)t[e]&&(o&&(o+=" "),o+=e);return o}function a(){for(var t,e,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(o&&(o+=" "),o+=e);return o}var i=n(85893);!function(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}('@charset "UTF-8";\n/**\n* @author Hanz\n* @date 2021/8/25 下午3:16\n* @description icons scss\n*/\n.paraui-v4-icon {\n width: 1em;\n height: 1em;\n fill: currentColor;\n display: inline-block;\n user-select: none;\n flex-shrink: 0;\n}\n.paraui-v4-icon-primary {\n color: rgb(29, 33, 38);\n}\n.paraui-v4-icon-secondary {\n color: rgb(92, 101, 115);\n}\n.paraui-v4-icon-thirdary {\n color: rgb(161, 168, 179);\n}\n.paraui-v4-icon-info {\n color: rgb(46, 101, 230);\n}\n.paraui-v4-icon-warn {\n color: rgb(255, 147, 38);\n}\n.paraui-v4-icon-success {\n color: rgb(19, 191, 76);\n}\n.paraui-v4-icon-error {\n color: rgb(244, 66, 66);\n}\n.paraui-v4-icon-small {\n font-size: 16px;\n}\n.paraui-v4-icon-medium {\n font-size: 18px;\n}\n.paraui-v4-icon-large {\n font-size: 20px;\n}');var p=function(t){var e,r,n=t.path,o=t.className,a=t.color,p=void 0===a?"info":a,c=t.size,s=void 0===c?"small":c,l=t.dataName,u=void 0===l?"":l,f=t.style,m=
|
|
15
|
+
/*! *****************************************************************************
|
|
16
|
+
Copyright (c) Microsoft Corporation.
|
|
17
|
+
|
|
18
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
19
|
+
purpose with or without fee is hereby granted.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
22
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
23
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
24
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
25
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
26
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
27
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
28
|
+
***************************************************************************** */
|
|
29
|
+
function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["path","className","color","size","dataName","style"]),d="paraui-v4",v="primary"===p||"secondary"===p||"info"===p||"success"===p||"warn"===p||"error"===p;return(0,i.jsx)("svg",Object.assign({className:(r="".concat(d,"-icon"),r+=" svg-icon",o&&(r+=" "+o),v&&(r+=" ".concat(d,"-icon-").concat(p)),s&&(r+=" ".concat(d,"-icon-").concat(s)),r),viewBox:"0 0 1024 1024","data-name":u,style:(e=Object.assign({},f),p&&!v&&(e.color=p),e)},m,{children:n}))},c=function(t){return(0,i.jsx)(p,Object.assign({dataName:"WarningCircleF",viewBox:"0 0 24 24",path:(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("g",Object.assign({id:"WarningCircleF",transform:"translate(-182 -738)"},{children:[(0,i.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(182 738)",fill:"#fff",opacity:"0.001"}),(0,i.jsx)("path",{id:"icon",d:"M10.2,0A10.2,10.2,0,1,0,20.4,10.2,10.212,10.212,0,0,0,10.2,0m0,16.222a1.063,1.063,0,1,1,1.063-1.063A1.063,1.063,0,0,1,10.2,16.222m.792-4.393a.794.794,0,1,1-1.584,0h0L8.929,5.661A1.333,1.333,0,0,1,10.2,4.181a1.331,1.331,0,0,1,1.271,1.48Z",transform:"translate(183.8 739.8)"})]}))})},t))},s=function(t){return(0,i.jsx)(p,Object.assign({dataName:"CloseCircleF",viewBox:"0 0 24 24",path:(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("g",Object.assign({id:"CloseCircleF",transform:"translate(-70 -157)"},{children:[(0,i.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(70 157)",fill:"none"}),(0,i.jsx)("path",{id:"路径_20942","data-name":"路径 20942",d:"M81.6,0a9.6,9.6,0,1,0,9.6,9.6A9.611,9.611,0,0,0,81.6,0m3.627,13.16a.768.768,0,0,1-.56.24.786.786,0,0,1-.56-.227l-2.493-2.44L79.16,13.227a.775.775,0,0,1-.573.24.834.834,0,0,1-.56-.227.8.8,0,0,1,0-1.133l2.44-2.493L77.973,7.16a.785.785,0,0,1-.013-1.12.8.8,0,0,1,1.133-.013l2.493,2.44,2.44-2.493A.8.8,0,0,1,85.16,5.96a.813.813,0,0,1,.013,1.133L82.72,9.587l2.507,2.44a.8.8,0,0,1,0,1.133",transform:"translate(0.4 159.4)"})]}))})},t))},l=function(t){return(0,i.jsx)(p,Object.assign({dataName:"CheckCircleF",viewBox:"0 0 24 24",path:(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("g",Object.assign({id:"CheckCircleF",transform:"translate(-88 -157)"},{children:[(0,i.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(88 157)",fill:"none"}),(0,i.jsx)("path",{id:"路径_20943","data-name":"路径 20943",d:"M117.67,0a9.6,9.6,0,1,0,9.6,9.6,9.611,9.611,0,0,0-9.6-9.6m4.813,7.307-5.707,5.707a.71.71,0,0,1-.267.173.807.807,0,0,1-.293.067.8.8,0,0,1-.573-.24l-2.787-2.788a.8.8,0,0,1,1.133-1.132l2.227,2.227,5.133-5.133a.8.8,0,0,1,1.133,1.12",transform:"translate(-17.67 159.399)"})]}))})},t))},u=function(t){return(0,i.jsx)(p,Object.assign({dataName:"Close",viewBox:"0 0 24 24",path:(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("g",Object.assign({id:"Close",transform:"translate(-288 -287)"},{children:[(0,i.jsx)("rect",{id:"safe",width:"24",height:"24",transform:"translate(288 287)",fill:"none"}),(0,i.jsx)("path",{id:"icon",d:"M8.92,7.6l6.007-6.007a.933.933,0,0,0-1.32-1.32L7.6,6.28,1.593.273a.933.933,0,0,0-1.32,1.32L6.28,7.6.273,13.607a.933.933,0,0,0,1.32,1.32L7.6,8.92l6.007,6.007a.933.933,0,0,0,1.32-1.32Z",transform:"translate(292.4 291.4)"})]}))})},t))};n(86319);function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,p=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){p=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(p)throw o}}return a}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d={info:e().createElement(c,{className:"icon-info"}),error:e().createElement(s,{className:"icon-error"}),success:e().createElement(l,{className:"icon-success"}),warn:e().createElement(c,{className:"icon-warn"})},v=function(r){var n=r.className,o=r.style,i=r.status,p=void 0===i?"fixed":i,c=r.type,s=void 0===c?"info":c,l=r.icon,f=r.show,v=r.title,h=void 0===v?"":v,y=r.content,b=r.customContent,g=r.closeIcon,x=r.onClose,j=r.outline,w=m((0,t.useState)(!0),2),O=w[0],C=w[1];(0,t.useEffect)((function(){null!=f&&C(f)}),[f]);var S=(0,t.useMemo)((function(){return b||(t=y,(null!=(r=Array)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?r[Symbol.hasInstance](t):t instanceof r)?e().createElement("div",{className:"prompt-content-list"},y.map((function(t,r){return e().createElement("div",{key:r,className:"prompt-content-item"},t)}))):"string"==typeof y?e().createElement("div",{className:"prompt-content-item"},y):void 0);var t,r}),[y,b]);return O?e().createElement("div",{className:a("".concat("paraui-v4","-prompt"),n,"prompt-type-".concat(s),{"prompt-outline":j,"prompt-status-feedback":"feedback"===p,"prompt-status-feedback-close":g}),style:o},e().createElement("div",{className:"prompt-icon"},l||d[s]),g&&e().createElement("div",{className:"prompt-btn-close",onClick:function(){x&&x(),C(!1)}},e().createElement(u,null)),h&&e().createElement("div",{className:"prompt-title"},h),S):null};const h=v})(),o})()));
|