@para-ui/core 2.0.21 → 2.1.0-alpha1

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.
Files changed (140) hide show
  1. package/Accordion/index.js +25 -1
  2. package/AutoBox/index.js +31 -3
  3. package/AutoTips/index.js +18 -3
  4. package/Breadcrumbs/index.js +31 -3
  5. package/Button/index.js +57 -3
  6. package/ButtonGroup/index.js +57 -3
  7. package/Cascader/index.js +42 -3
  8. package/Checkbox/index.js +3 -3
  9. package/CheckboxGroup/index.js +3 -3
  10. package/ColorPicker/index.js +1 -1
  11. package/ComboSelect/index.js +351 -3
  12. package/ComboSelect/interface.d.ts +4 -0
  13. package/Container/index.js +3 -3
  14. package/DatePicker/index.js +407 -3
  15. package/Desktop/index.js +26 -3
  16. package/Drawer/index.js +8 -3
  17. package/Form/index.d.ts +4 -0
  18. package/Form/index.js +205 -3
  19. package/FormItem/index.d.ts +9 -1
  20. package/FormItem/index.js +205 -3
  21. package/FormItem/itemType.d.ts +1 -1
  22. package/FunctionModal/index.js +122 -3
  23. package/GlobalContext/index.js +1 -1
  24. package/Help/index.js +31 -3
  25. package/IconList/index.js +83 -3
  26. package/InputLang/index.js +96 -3
  27. package/InputNumber/index.js +109 -3
  28. package/Loading/index.js +15 -2
  29. package/Menu/index.js +70 -3
  30. package/Message/index.js +55 -3
  31. package/Modal/index.js +122 -3
  32. package/MultiBox/index.js +83 -3
  33. package/Notification/index.js +68 -3
  34. package/PageHeader/index.js +83 -3
  35. package/Pagination/index.js +166 -3
  36. package/ParauiProvider/index.js +11 -3
  37. package/PopConfirm/index.js +109 -3
  38. package/Popover/index.js +19 -3
  39. package/Popper/index.js +3 -3
  40. package/README.md +3 -0
  41. package/Radio/index.js +3 -3
  42. package/RadioGroup/index.js +3 -3
  43. package/Search/index.js +109 -3
  44. package/Select/index.js +83 -3
  45. package/SingleBox/index.js +83 -3
  46. package/Slider/index.js +16 -3
  47. package/Split/index.js +3 -3
  48. package/Stepper/index.js +156 -3
  49. package/Switch/index.js +21 -3
  50. package/Table/index.js +257 -3
  51. package/Tabs/index.js +39 -3
  52. package/Tag/index.js +29 -3
  53. package/TextField/index.js +57 -3
  54. package/TimePicker/index.js +407 -3
  55. package/Timeline/index.js +18 -3
  56. package/ToggleButton/index.js +57 -3
  57. package/Tooltip/index.js +18 -3
  58. package/Transfer/index.js +135 -3
  59. package/Tree/index.js +135 -3
  60. package/Upload/index.js +127 -3
  61. package/index.d.ts +55 -0
  62. package/index.js +1000 -3
  63. package/package.json +38 -34
  64. package/Styles/fonts/SourceHanSansCN-Light.css +0 -8
  65. package/Styles/fonts/SourceHanSansCN-Light.otf +0 -0
  66. package/Styles/fonts/SourceHanSansCN-Medium.css +0 -8
  67. package/Styles/fonts/SourceHanSansCN-Medium.otf +0 -0
  68. package/Styles/fonts/SourceHanSansCN-Regular.css +0 -8
  69. package/Styles/fonts/SourceHanSansCN-Regular.otf +0 -0
  70. package/Styles/index.d.ts +0 -1
  71. package/Styles/index.scss +0 -63
  72. package/Styles/index.ts +0 -1
  73. package/Styles/normalize.scss +0 -348
  74. package/Styles/theme.scss +0 -57
  75. package/cdn/Accordion/index.js +0 -25
  76. package/cdn/AutoBox/index.js +0 -16
  77. package/cdn/AutoTips/index.js +0 -40
  78. package/cdn/Breadcrumbs/index.js +0 -16
  79. package/cdn/Button/index.js +0 -40
  80. package/cdn/ButtonGroup/index.js +0 -40
  81. package/cdn/Cascader/index.js +0 -14
  82. package/cdn/Checkbox/index.js +0 -1
  83. package/cdn/CheckboxGroup/index.js +0 -1
  84. package/cdn/ColorPicker/index.js +0 -1
  85. package/cdn/ComboSelect/index.js +0 -61
  86. package/cdn/Container/index.js +0 -1
  87. package/cdn/DatePicker/index.js +0 -53
  88. package/cdn/Desktop/index.js +0 -24
  89. package/cdn/Drawer/index.js +0 -6
  90. package/cdn/Form/index.js +0 -45
  91. package/cdn/FormItem/index.js +0 -45
  92. package/cdn/FunctionModal/index.js +0 -40
  93. package/cdn/GlobalContext/index.js +0 -1
  94. package/cdn/Help/index.js +0 -40
  95. package/cdn/IconList/index.js +0 -16
  96. package/cdn/InputLang/index.js +0 -40
  97. package/cdn/InputNumber/index.js +0 -40
  98. package/cdn/Loading/index.js +0 -1
  99. package/cdn/Menu/index.js +0 -16
  100. package/cdn/Message/index.js +0 -1
  101. package/cdn/Modal/index.js +0 -40
  102. package/cdn/MultiBox/index.js +0 -40
  103. package/cdn/Notification/index.js +0 -14
  104. package/cdn/PageHeader/index.js +0 -40
  105. package/cdn/Pagination/index.js +0 -45
  106. package/cdn/ParauiProvider/index.js +0 -9
  107. package/cdn/PopConfirm/index.js +0 -40
  108. package/cdn/Popover/index.js +0 -17
  109. package/cdn/Popper/index.js +0 -26
  110. package/cdn/Radio/index.js +0 -1
  111. package/cdn/RadioGroup/index.js +0 -1
  112. package/cdn/Search/index.js +0 -40
  113. package/cdn/Select/index.js +0 -40
  114. package/cdn/SingleBox/index.js +0 -40
  115. package/cdn/Slider/index.js +0 -14
  116. package/cdn/Split/index.js +0 -1
  117. package/cdn/Stepper/index.js +0 -24
  118. package/cdn/Styles/fonts/SourceHanSansCN-Light.css +0 -8
  119. package/cdn/Styles/fonts/SourceHanSansCN-Light.otf +0 -0
  120. package/cdn/Styles/fonts/SourceHanSansCN-Medium.css +0 -8
  121. package/cdn/Styles/fonts/SourceHanSansCN-Medium.otf +0 -0
  122. package/cdn/Styles/fonts/SourceHanSansCN-Regular.css +0 -8
  123. package/cdn/Styles/fonts/SourceHanSansCN-Regular.otf +0 -0
  124. package/cdn/Styles/index.scss +0 -63
  125. package/cdn/Styles/index.ts +0 -1
  126. package/cdn/Styles/normalize.scss +0 -348
  127. package/cdn/Styles/theme.scss +0 -57
  128. package/cdn/Switch/index.js +0 -6
  129. package/cdn/Table/index.js +0 -45
  130. package/cdn/Tabs/index.js +0 -48
  131. package/cdn/Tag/index.js +0 -1
  132. package/cdn/TextField/index.js +0 -40
  133. package/cdn/TimePicker/index.js +0 -53
  134. package/cdn/Timeline/index.js +0 -16
  135. package/cdn/ToggleButton/index.js +0 -40
  136. package/cdn/Tooltip/index.js +0 -40
  137. package/cdn/Transfer/index.js +0 -40
  138. package/cdn/Tree/index.js +0 -53
  139. package/cdn/Upload/index.js +0 -45
  140. package/style.css +0 -108
@@ -111,4 +111,8 @@ export interface ComboSelectProps {
111
111
  tagRender?: (option: SelectOpt) => React.ReactNode;
112
112
  /** tag 删除回调*/
113
113
  onTagRemove?: (currentOpt?: SelectOpt) => void;
114
+ /** 暴露给外部的行为,可扩展*/
115
+ action?: React.Ref<{
116
+ closePopup(): void;
117
+ }>;
114
118
  }
@@ -1,9 +1,9 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ParaUI=t(require("react")):e.ParaUI=t(e.react)}(self,(function(e){return function(){var t={6461:function(e,t,r){(t=r(3645)(!1)).push([e.id,".para-container{width:100%;height:100%}.para-container .para-body{overflow:auto}.para-container.tlf .para-body{display:table}.para-container.tlf .para-body-right{display:table-cell;vertical-align:top}.para-container.tlf .para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb .para-body{display:table}.para-container.tlrb .para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb .para-container-right{display:table-cell;vertical-align:top}.para-container.ltrb{display:table}.para-container.ltrb .para-body{display:table-cell;vertical-align:top}.para-container.ltrb .para-container-left{display:table-cell;vertical-align:top}.para-container-right{overflow:auto}\n",""]),e.exports=t},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(o=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(l," */")),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(i).concat([a]).join("\n")}var o,c,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);n&&a[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},7418:function(e){"use strict";
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ParaLib=t(require("react")):e.ParaLib=t(e.react)}(self,(function(e){return function(){var t={66461:function(e,t,r){(t=r(23645)(!1)).push([e.id,".para-container{width:100%;height:100%}.para-container .para-body{overflow:auto}.para-container.tlf .para-body{display:table}.para-container.tlf .para-body-right{display:table-cell;vertical-align:top}.para-container.tlf .para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb .para-body{display:table}.para-container.tlrb .para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb .para-container-right{display:table-cell;vertical-align:top}.para-container.ltrb{display:table}.para-container.ltrb .para-body{display:table-cell;vertical-align:top}.para-container.ltrb .para-container-left{display:table-cell;vertical-align:top}.para-container-right{overflow:auto}\n",""]),e.exports=t},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var a=(o=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(l," */")),i=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(i).concat([a]).join("\n")}var o,c,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(n)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(a[o]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);n&&a[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},27418:function(e){"use strict";
2
2
  /*
3
3
  object-assign
4
4
  (c) Sindre Sorhus
5
5
  @license MIT
6
- */var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,c,l=a(e),s=1;s<arguments.length;s++){for(var d in o=Object(arguments[s]))r.call(o,d)&&(l[d]=o[d]);if(t){c=t(o);for(var u=0;u<c.length;u++)n.call(o,c[u])&&(l[c[u]]=o[c[u]])}}return l}},5251:function(e,t,r){"use strict";
6
+ */var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,c,l=a(e),s=1;s<arguments.length;s++){for(var d in o=Object(arguments[s]))r.call(o,d)&&(l[d]=o[d]);if(t){c=t(o);for(var u=0;u<c.length;u++)n.call(o,c[u])&&(l[c[u]]=o[c[u]])}}return l}},75251:function(e,t,r){"use strict";
7
7
  /** @license React v17.0.2
8
8
  * react-jsx-runtime.production.min.js
9
9
  *
@@ -12,4 +12,4 @@ object-assign
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- r(7418);var n=r(9297),a=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;a=i("react.element"),i("react.fragment")}var o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,i={},s=null,d=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(d=t.ref),t)c.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:a,type:e,key:s,ref:d,props:i,_owner:o.current}}t.jsx=s,t.jsxs=s},5893:function(e,t,r){"use strict";e.exports=r(5251)},462:function(e,t,r){var n=r(3379),a=r(6461);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);var i={insert:("body","body"),singleton:!1};n(a,i);e.exports=a.locals||{}},3379:function(e,t,r){"use strict";var n,a=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),o=[];function c(e){for(var t=-1,r=0;r<o.length;r++)if(o[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},n=[],a=0;a<e.length;a++){var i=e[a],l=t.base?i[0]+t.base:i[0],s=r[l]||0,d="".concat(l," ").concat(s);r[l]=s+1;var u=c(d),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==u?(o[u].references++,o[u].updater(p)):o.push({identifier:d,updater:y(p,t),references:1}),n.push(d)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function p(e,t,r,n){var a=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function f(e,t,r){var n=r.css,a=r.media,i=r.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var h=null,v=0;function y(e,t){var r,n,a;if(t.singleton){var i=v++;r=h||(h=s(t)),n=p.bind(null,r,i,!1),a=p.bind(null,r,i,!0)}else r=s(t),n=f.bind(null,r,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var a=c(r[n]);o[a].references--}for(var i=l(e,t),s=0;s<r.length;s++){var d=c(r[s]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}r=i}}}},9297:function(t){"use strict";t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){"use strict";n.r(a),n.d(a,{Container:function(){return o}});var e=n(5893),t=n(9297),r=n.n(t),i=(n(462),function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)}),o=function(t){void 0===t&&(t={});var n,a,o,c,l,s=t.className,d=void 0===s?"":s,u=t.top,p=t.topStyle,f=void 0===p?{}:p,h=t.left,v=t.leftStyle,y=void 0===v?{}:v,b=t.right,g=t.rightStyle,m=void 0===g?{}:g,j=t.bottom,x=t.bottomStyle,w=void 0===x?{}:x,N=t.type,O=void 0===N?"tlr":N;return r().useMemo((function(){switch(O){case"tlr":return n=i({height:u?"50px":"0",width:"100%"},f),a=i({height:"100%",width:"auto"},y),c=i({height:j?"20px":"0",width:"100%"},w),o=i({height:"calc(100% - ".concat(c.height,")"),width:"auto"},m),l={width:"100%",height:"calc(100% - ".concat(n.height,")")},(0,e.jsxs)("div",i({className:"para-container tlf "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:h}),void 0),(0,e.jsxs)("div",i({className:"para-body-right",style:{width:"auto",height:"100%"}},{children:[(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0)]}),void 0)]}),void 0);case"tlrb":return n=i({height:u?"50px":"0",width:"100%"},f),a=i({height:"100%",width:"auto"},y),o=i({height:"100%",width:"auto"},m),c=i({height:j?"20px":"0px",width:"100%"},w),l={width:"100%",height:"calc(100% - ".concat(n.height," - ").concat(c.height,")")},(0,e.jsxs)("div",i({className:"para-container tlrb "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:h}),void 0),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0)]}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0);case"ltrb":return a=i({height:"100%",width:"auto"},y),n=i({height:u?"50px":"0",width:"100%"},f),c=i({height:j?"30px":"0px",width:"100%"},w),o=i({height:"calc(100% - ".concat(n.height,"px - ").concat(c.height,")"),width:"100%"},m),l={width:"auto",height:"100%"},(0,e.jsxs)("div",i({className:"para-container ltrb "+d},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:h}),void 0),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0)]}),void 0);case"trb":return n=i({height:u?"50px":"0",width:"100%"},f),c=i({height:j?"30px":"0px",width:"100%"},w),o=i({height:"calc(100% - ".concat(n.height,"px - ").concat(c.height,")"),width:"100%"},m),(0,e.jsxs)("div",i({className:"para-container trb "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0)}return(0,e.jsx)("div",{children:"Error Position"},void 0)}),[O,d])};a.default=o}(),a}()}));
15
+ r(27418);var n=r(8156),a=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;a=i("react.element"),i("react.fragment")}var o=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,i={},s=null,d=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(d=t.ref),t)c.call(t,n)&&!l.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:a,type:e,key:s,ref:d,props:i,_owner:o.current}}t.jsx=s,t.jsxs=s},85893:function(e,t,r){"use strict";e.exports=r(75251)},7175:function(e,t,r){var n=r(93379),a=r(66461);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.id,a,""]]);var i={insert:"head",singleton:!1};n(a,i);e.exports=a.locals||{}},93379:function(e,t,r){"use strict";var n,a=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),o=[];function c(e){for(var t=-1,r=0;r<o.length;r++)if(o[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},n=[],a=0;a<e.length;a++){var i=e[a],l=t.base?i[0]+t.base:i[0],s=r[l]||0,d="".concat(l," ").concat(s);r[l]=s+1;var u=c(d),p={css:i[1],media:i[2],sourceMap:i[3]};-1!==u?(o[u].references++,o[u].updater(p)):o.push({identifier:d,updater:y(p,t),references:1}),n.push(d)}return n}function s(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function p(e,t,r,n){var a=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,a);else{var i=document.createTextNode(a),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function f(e,t,r){var n=r.css,a=r.media,i=r.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var h=null,v=0;function y(e,t){var r,n,a;if(t.singleton){var i=v++;r=h||(h=s(t)),n=p.bind(null,r,i,!1),a=p.bind(null,r,i,!0)}else r=s(t),n=f.bind(null,r,t),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else a()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=a());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var a=c(r[n]);o[a].references--}for(var i=l(e,t),s=0;s<r.length;s++){var d=c(r[s]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}r=i}}}},8156:function(t){"use strict";t.exports=e}},r={};function n(e){var a=r[e];if(void 0!==a)return a.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){"use strict";n.r(a),n.d(a,{Container:function(){return o}});var e=n(85893),t=n(8156),r=n.n(t),i=(n(7175),function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)}),o=function(t){void 0===t&&(t={});var n,a,o,c,l,s=t.className,d=void 0===s?"":s,u=t.top,p=t.topStyle,f=void 0===p?{}:p,h=t.left,v=t.leftStyle,y=void 0===v?{}:v,b=t.right,g=t.rightStyle,m=void 0===g?{}:g,j=t.bottom,x=t.bottomStyle,w=void 0===x?{}:x,N=t.type,O=void 0===N?"tlr":N;return r().useMemo((function(){switch(O){case"tlr":return n=i({height:u?"50px":"0",width:"100%"},f),a=i({height:"100%",width:"auto"},y),c=i({height:j?"20px":"0",width:"100%"},w),o=i({height:"calc(100% - ".concat(c.height,")"),width:"auto"},m),l={width:"100%",height:"calc(100% - ".concat(n.height,")")},(0,e.jsxs)("div",i({className:"para-container tlf "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:h}),void 0),(0,e.jsxs)("div",i({className:"para-body-right",style:{width:"auto",height:"100%"}},{children:[(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0)]}),void 0)]}),void 0);case"tlrb":return n=i({height:u?"50px":"0",width:"100%"},f),a=i({height:"100%",width:"auto"},y),o=i({height:"100%",width:"auto"},m),c=i({height:j?"20px":"0px",width:"100%"},w),l={width:"100%",height:"calc(100% - ".concat(n.height," - ").concat(c.height,")")},(0,e.jsxs)("div",i({className:"para-container tlrb "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:h}),void 0),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0)]}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0);case"ltrb":return a=i({height:"100%",width:"auto"},y),n=i({height:u?"50px":"0",width:"100%"},f),c=i({height:j?"30px":"0px",width:"100%"},w),o=i({height:"calc(100% - ".concat(n.height,"px - ").concat(c.height,")"),width:"100%"},m),l={width:"auto",height:"100%"},(0,e.jsxs)("div",i({className:"para-container ltrb "+d},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:h}),void 0),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0)]}),void 0);case"trb":return n=i({height:u?"50px":"0",width:"100%"},f),c=i({height:j?"30px":"0px",width:"100%"},w),o=i({height:"calc(100% - ".concat(n.height,"px - ").concat(c.height,")"),width:"100%"},m),(0,e.jsxs)("div",i({className:"para-container trb "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u}),void 0),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}),void 0),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}),void 0)]}),void 0)}return(0,e.jsx)("div",{children:"Error Position"},void 0)}),[O,d])};a.default=o}(),a}()}));