@para-ui/core 2.1.21 → 2.1.24

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 (134) hide show
  1. package/Button/index.js +1 -1
  2. package/ButtonGroup/index.js +1 -1
  3. package/Cascader/index.js +3 -3
  4. package/Cascader/lang/en_US.d.ts +4 -0
  5. package/Cascader/lang/index.d.ts +9 -0
  6. package/Cascader/lang/zh_CN.d.ts +4 -0
  7. package/Checkbox/index.js +5 -5
  8. package/CheckboxGroup/index.js +5 -5
  9. package/ComboSelect/index.js +24 -11
  10. package/ComboSelect/interface.d.ts +2 -0
  11. package/ComboSelect/utils.d.ts +7 -0
  12. package/Container/index.js +3 -3
  13. package/DatePicker/index.js +11 -24
  14. package/Drawer/index.js +3 -3
  15. package/Drawer/lang/en_US.d.ts +5 -0
  16. package/Drawer/lang/index.d.ts +11 -0
  17. package/Drawer/lang/zh_CN.d.ts +5 -0
  18. package/Empty/index.js +2 -2
  19. package/Empty/lang/en_US.d.ts +6 -0
  20. package/Empty/lang/index.d.ts +13 -0
  21. package/Empty/lang/zh_CN.d.ts +6 -0
  22. package/Form/index.d.ts +72 -72
  23. package/Form/index.js +44 -31
  24. package/FormItem/index.js +44 -31
  25. package/FunctionModal/index.js +19 -19
  26. package/GlobalContext/index.d.ts +7 -0
  27. package/GlobalContext/index.js +3 -3
  28. package/HelperText/index.js +1 -1
  29. package/InputLang/index.js +16 -3
  30. package/InputNumber/index.js +1 -1
  31. package/Label/index.js +1 -1
  32. package/Menu/index.js +1 -1
  33. package/Modal/index.d.ts +6 -0
  34. package/Modal/index.js +19 -19
  35. package/Modal/lang/index.d.ts +0 -6
  36. package/MultiBox/index.js +28 -15
  37. package/OperateBtn/index.d.ts +59 -0
  38. package/OperateBtn/index.js +66 -0
  39. package/OperateBtn/lang/en_US.d.ts +4 -0
  40. package/OperateBtn/lang/index.d.ts +9 -0
  41. package/OperateBtn/lang/zh_CN.d.ts +4 -0
  42. package/PageHeader/index.js +1 -1
  43. package/Pagination/index.js +17 -4
  44. package/ParauiProvider/index.js +2 -2
  45. package/PopConfirm/index.js +1 -1
  46. package/Querying/index.js +3 -3
  47. package/Querying/lang/en_US.d.ts +4 -0
  48. package/Querying/lang/index.d.ts +9 -0
  49. package/Querying/lang/zh_CN.d.ts +4 -0
  50. package/README.md +47 -0
  51. package/Radio/index.js +5 -5
  52. package/RadioGroup/index.js +5 -5
  53. package/Search/index.d.ts +2 -0
  54. package/Search/index.js +19 -19
  55. package/Select/index.d.ts +2 -0
  56. package/Select/index.js +28 -15
  57. package/SelectInput/index.js +28 -15
  58. package/SingleBox/index.js +28 -15
  59. package/Switch/index.js +1 -1
  60. package/Table/index.js +41 -41
  61. package/Table/interface.d.ts +7 -0
  62. package/Table/lang/en_US.d.ts +2 -1
  63. package/Table/lang/index.d.ts +4 -2
  64. package/Table/lang/zh_CN.d.ts +2 -1
  65. package/Table/tableBodyInterface.d.ts +4 -0
  66. package/Tabs/index.js +1 -1
  67. package/TextField/index.d.ts +2 -0
  68. package/TextField/index.js +24 -11
  69. package/TimePicker/index.js +11 -24
  70. package/ToggleButton/index.js +1 -1
  71. package/Transfer/index.js +23 -23
  72. package/Transfer/lang/en_US.d.ts +6 -0
  73. package/Transfer/lang/index.d.ts +13 -0
  74. package/Transfer/lang/zh_CN.d.ts +6 -0
  75. package/Tree/index.js +20 -20
  76. package/Upload/ImageUpload/index.d.ts +9 -1
  77. package/Upload/index.js +16 -3
  78. package/cdn/AutoBox/index.js +1 -1
  79. package/cdn/AutoTips/index.js +1 -1
  80. package/cdn/Breadcrumbs/index.js +1 -1
  81. package/cdn/Button/index.js +2 -2
  82. package/cdn/ButtonGroup/index.js +2 -2
  83. package/cdn/Cascader/index.js +3 -3
  84. package/cdn/Checkbox/index.js +2 -2
  85. package/cdn/CheckboxGroup/index.js +2 -2
  86. package/cdn/ComboSelect/index.js +27 -14
  87. package/cdn/Container/index.js +1 -1
  88. package/cdn/DatePicker/index.js +4 -17
  89. package/cdn/Desktop/index.js +1 -1
  90. package/cdn/Drawer/index.js +4 -4
  91. package/cdn/Empty/index.js +1 -1
  92. package/cdn/Form/index.js +19 -6
  93. package/cdn/FormItem/index.js +19 -6
  94. package/cdn/FunctionModal/index.js +12 -12
  95. package/cdn/GlobalContext/index.js +1 -1
  96. package/cdn/Help/index.js +1 -1
  97. package/cdn/HelperText/index.js +1 -1
  98. package/cdn/IconList/index.js +1 -1
  99. package/cdn/InputLang/index.js +18 -5
  100. package/cdn/InputNumber/index.js +2 -2
  101. package/cdn/Label/index.js +2 -2
  102. package/cdn/Menu/index.js +2 -2
  103. package/cdn/Modal/index.js +20 -20
  104. package/cdn/MultiBox/index.js +17 -4
  105. package/cdn/OperateBtn/index.js +92 -0
  106. package/cdn/PageHeader/index.js +2 -2
  107. package/cdn/Pagination/index.js +17 -4
  108. package/cdn/ParauiProvider/index.js +2 -2
  109. package/cdn/PopConfirm/index.js +2 -2
  110. package/cdn/Popover/index.js +1 -1
  111. package/cdn/Querying/index.js +1 -1
  112. package/cdn/Radio/index.js +4 -4
  113. package/cdn/RadioGroup/index.js +2 -2
  114. package/cdn/Search/index.js +3 -3
  115. package/cdn/Select/index.js +18 -5
  116. package/cdn/SelectInput/index.js +18 -5
  117. package/cdn/SingleBox/index.js +17 -4
  118. package/cdn/Slider/index.js +1 -1
  119. package/cdn/Stepper/index.js +1 -1
  120. package/cdn/Switch/index.js +3 -3
  121. package/cdn/Table/index.js +42 -42
  122. package/cdn/Tabs/index.js +5 -5
  123. package/cdn/TextField/index.js +17 -4
  124. package/cdn/TimePicker/index.js +4 -17
  125. package/cdn/Timeline/index.js +1 -1
  126. package/cdn/ToggleButton/index.js +2 -2
  127. package/cdn/Tooltip/index.js +1 -1
  128. package/cdn/Transfer/index.js +14 -14
  129. package/cdn/Tree/index.js +3 -3
  130. package/cdn/Upload/index.js +18 -5
  131. package/index.d.ts +2 -0
  132. package/index.js +18 -18
  133. package/package.json +5 -1
  134. package/style.css +22 -20
@@ -130,4 +130,6 @@ export interface ComboSelectProps {
130
130
  required?: boolean;
131
131
  /** 空状态属性 */
132
132
  emptyProps?: EmptyProps;
133
+ /** 单选时可切换选中值 checkable 为 false 时有效 */
134
+ toggleSelectedOnSingle?: boolean;
133
135
  }
@@ -4,3 +4,10 @@ export declare const anchorOriginMap: {
4
4
  export declare const getReplaceField: (mode: string, repl: any, tableP: any, treeP: any) => any;
5
5
  export declare const toArray: (list: any) => any[];
6
6
  export declare const isRemoteLoad: (mode: string, props: any) => boolean;
7
+ export declare const getOverlaySize: (mode: string, isRemoteLoad?: boolean, maxHeight?: number | undefined) => {
8
+ height: string;
9
+ maxHeight?: undefined;
10
+ } | {
11
+ maxHeight: string;
12
+ height?: undefined;
13
+ };
@@ -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.tlr>.para-body{display:table}.para-container.tlr>.para-body>.para-body-right{display:table-cell;vertical-align:top}.para-container.tlr>.para-body>.para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb>.para-body{display:table}.para-container.tlrb>.para-body>.para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb>.para-body>.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(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,(function(t){return function(){var e={6461:function(t,e,r){(e=r(3645)(!1)).push([t.id,".para-container{width:100%;height:100%}.para-container>.para-body{overflow:auto}.para-container.tlr>.para-body{display:table}.para-container.tlr>.para-body>.para-body-right{display:table-cell;vertical-align:top}.para-container.tlr>.para-body>.para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb>.para-body{display:table}.para-container.tlrb>.para-body>.para-container-left{display:table-cell;vertical-align:top}.para-container.tlrb>.para-body>.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-top{transition:width .3s, height .3s}.para-container-left{transition:width .3s, height .3s}.para-container-right{transition:width .3s, height .3s;overflow:auto}.para-container-bottom{transition:width .3s, height .3s}\n",""]),t.exports=e},3645:function(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 a=(o=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(s," */")),i=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(i).concat([a]).join("\n")}var o,c,s;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 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<t.length;c++){var s=[].concat(t[c]);n&&a[s[0]]||(r&&(s[2]?s[2]="".concat(r," and ").concat(s[2]):s[2]=r),e.push(s))}},e}},7418:function(t){"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 e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}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,i){for(var o,c,s=a(t),l=1;l<arguments.length;l++){for(var d in o=Object(arguments[l]))r.call(o,d)&&(s[d]=o[d]);if(e){c=e(o);for(var p=0;p<c.length;p++)n.call(o,c[p])&&(s[c[p]]=o[c[p]])}}return s}},5251:function(t,e,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(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},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 h(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 f=null,v=0;function y(e,t){var r,n,a;if(t.singleton){var i=v++;r=f||(f=s(t)),n=p.bind(null,r,i,!1),a=p.bind(null,r,i,!0)}else r=s(t),n=h.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(5893),t=n(8156),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,h=void 0===p?{}:p,f=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%"},h),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 tlr "+d},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u})),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:f})),(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})),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}))]}))]}));case"tlrb":return n=i({height:u?"50px":"0",width:"100%"},h),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})),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-left",style:a},{children:f})),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b}))]})),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}));case"ltrb":return a=i({height:"100%",width:"auto"},y),n=i({height:u?"50px":"0",width:"100%"},h),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:f})),(0,e.jsxs)("div",i({className:"para-body",style:l},{children:[(0,e.jsx)("div",i({className:"para-container-top",style:n},{children:u})),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b})),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}))]}));case"trb":return n=i({height:u?"50px":"0",width:"100%"},h),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})),(0,e.jsx)("div",i({className:"para-container-right",style:o},{children:b})),(0,e.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}))}return(0,e.jsx)("div",{children:"Error Position"})}),[O,d])};a.default=o}(),a}()}));
15
+ r(7418);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,s={key:!0,ref:!0,__self:!0,__source:!0};function l(t,e,r){var n,i={},l=null,d=null;for(n in void 0!==r&&(l=""+r),void 0!==e.key&&(l=""+e.key),void 0!==e.ref&&(d=e.ref),e)c.call(e,n)&&!s.hasOwnProperty(n)&&(i[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps)void 0===i[n]&&(i[n]=e[n]);return{$$typeof:a,type:t,key:l,ref:d,props:i,_owner:o.current}}e.jsx=l,e.jsxs=l},5893:function(t,e,r){"use strict";t.exports=r(5251)},462:function(t,e,r){var n=r(3379),a=r(6461);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[t.id,a,""]]);var i={insert:("body","body"),singleton:!1};n(a,i);t.exports=a.locals||{}},3379:function(t,e,r){"use strict";var n,a=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=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]}}(),o=[];function c(t){for(var e=-1,r=0;r<o.length;r++)if(o[r].identifier===t){e=r;break}return e}function s(t,e){for(var r={},n=[],a=0;a<t.length;a++){var i=t[a],s=e.base?i[0]+e.base:i[0],l=r[s]||0,d="".concat(s," ").concat(l);r[s]=l+1;var p=c(d),u={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(o[p].references++,o[p].updater(u)):o.push({identifier:d,updater:y(u,e),references:1}),n.push(d)}return n}function l(t){var e=document.createElement("style"),n=t.attributes||{};if(void 0===n.nonce){var a=r.nc;a&&(n.nonce=a)}if(Object.keys(n).forEach((function(t){e.setAttribute(t,n[t])})),"function"==typeof t.insert)t.insert(e);else{var o=i(t.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(e)}return e}var d,p=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function u(t,e,r,n){var a=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(t.styleSheet)t.styleSheet.cssText=p(e,a);else{var i=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(i,o[e]):t.appendChild(i)}}function h(t,e,r){var n=r.css,a=r.media,i=r.sourceMap;if(a?t.setAttribute("media",a):t.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var f=null,v=0;function y(t,e){var r,n,a;if(e.singleton){var i=v++;r=f||(f=l(e)),n=u.bind(null,r,i,!1),a=u.bind(null,r,i,!0)}else r=l(e),n=h.bind(null,r,e),a=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 a()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=a());var r=s(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 a=c(r[n]);o[a].references--}for(var i=s(t,e),l=0;l<r.length;l++){var d=c(r[l]);0===o[d].references&&(o[d].updater(),o.splice(d,1))}r=i}}}},8156:function(e){"use strict";e.exports=t}},r={};function n(t){var a=r[t];if(void 0!==a)return a.exports;var i=r[t]={id:t,exports:{}};return e[t](i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(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=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return function(){"use strict";n.r(a),n.d(a,{Container:function(){return o}});var t=n(5893),e=n(8156),r=n.n(e),i=(n(462),function(){return i=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t},i.apply(this,arguments)}),o=function(e){void 0===e&&(e={});var n,a,o,c,s,l=e.className,d=void 0===l?"":l,p=e.top,u=e.topStyle,h=void 0===u?{}:u,f=e.left,v=e.leftStyle,y=void 0===v?{}:v,b=e.right,g=e.rightStyle,m=void 0===g?{}:g,j=e.bottom,x=e.bottomStyle,w=void 0===x?{}:x,N=e.type,O=void 0===N?"tlr":N;return r().useMemo((function(){switch(O){case"tlr":return n=i({height:p?"50px":"0",width:"100%"},h),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),s={width:"100%",height:"calc(100% - ".concat(n.height,")")},(0,t.jsxs)("div",i({className:"para-container tlr "+d},{children:[(0,t.jsx)("div",i({className:"para-container-top",style:n},{children:p})),(0,t.jsxs)("div",i({className:"para-body",style:s},{children:[(0,t.jsx)("div",i({className:"para-container-left",style:a},{children:f})),(0,t.jsxs)("div",i({className:"para-body-right",style:{width:"auto",height:"100%"}},{children:[(0,t.jsx)("div",i({className:"para-container-right",style:o},{children:b})),(0,t.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}))]}))]}));case"tlrb":return n=i({height:p?"50px":"0",width:"100%"},h),a=i({height:"100%",width:"auto"},y),o=i({height:"100%",width:"auto"},m),c=i({height:j?"20px":"0px",width:"100%"},w),s={width:"100%",height:"calc(100% - ".concat(n.height," - ").concat(c.height,")")},(0,t.jsxs)("div",i({className:"para-container tlrb "+d},{children:[(0,t.jsx)("div",i({className:"para-container-top",style:n},{children:p})),(0,t.jsxs)("div",i({className:"para-body",style:s},{children:[(0,t.jsx)("div",i({className:"para-container-left",style:a},{children:f})),(0,t.jsx)("div",i({className:"para-container-right",style:o},{children:b}))]})),(0,t.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}));case"ltrb":return a=i({height:"100%",width:"auto"},y),n=i({height:p?"50px":"0",width:"100%"},h),c=i({height:j?"30px":"0px",width:"100%"},w),o=i({height:"calc(100% - ".concat(n.height,"px - ").concat(c.height,")"),width:"100%"},m),s={width:"auto",height:"100%"},(0,t.jsxs)("div",i({className:"para-container ltrb "+d},{children:[(0,t.jsx)("div",i({className:"para-container-left",style:a},{children:f})),(0,t.jsxs)("div",i({className:"para-body",style:s},{children:[(0,t.jsx)("div",i({className:"para-container-top",style:n},{children:p})),(0,t.jsx)("div",i({className:"para-container-right",style:o},{children:b})),(0,t.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}))]}));case"trb":return n=i({height:p?"50px":"0",width:"100%"},h),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,t.jsxs)("div",i({className:"para-container trb "+d},{children:[(0,t.jsx)("div",i({className:"para-container-top",style:n},{children:p})),(0,t.jsx)("div",i({className:"para-container-right",style:o},{children:b})),(0,t.jsx)("div",i({className:"para-container-bottom",style:c},{children:j}))]}))}return(0,t.jsx)("div",{children:"Error Position"})}),[O,d,p,h,f,y,b,m,j,w])};a.default=o}(),a}()}));