@para-ui/core 2.0.10 → 2.0.14
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/AutoBox/index.css +2 -0
- package/AutoBox/index.js +3 -3
- package/AutoTips/index.css +4 -0
- package/AutoTips/index.js +3 -3
- package/Breadcrumbs/index.css +2 -0
- package/Breadcrumbs/index.js +2 -2
- package/Button/index.css +4 -0
- package/Button/index.js +3 -3
- package/ButtonGroup/index.css +6 -0
- package/ButtonGroup/index.js +3 -3
- package/Cascader/index.css +2 -0
- package/Cascader/index.js +2 -2
- package/Checkbox/index.css +2 -0
- package/Checkbox/index.js +3 -3
- package/CheckboxGroup/index.css +4 -0
- package/CheckboxGroup/index.js +3 -3
- package/ColorPicker/index.css +2 -0
- package/ColorPicker/index.js +1 -1
- package/ComboSelect/index.css +28 -0
- package/ComboSelect/index.js +2 -2
- package/ComboSelect/interface.d.ts +4 -3
- package/Container/index.css +2 -0
- package/Container/index.js +2 -2
- package/DatePicker/index.css +6 -0
- package/DatePicker/index.js +2 -2
- package/Desktop/index.css +2 -0
- package/Desktop/index.js +2 -2
- package/Drawer/index.css +2 -0
- package/Drawer/index.js +3 -3
- package/Form/index.css +26 -0
- package/Form/index.js +2 -2
- package/FormItem/index.css +26 -0
- package/FormItem/index.js +3 -3
- package/FunctionModal/index.css +12 -0
- package/FunctionModal/index.js +3 -3
- package/Help/index.css +4 -0
- package/Help/index.js +3 -3
- package/IconList/index.css +2 -0
- package/IconList/index.js +3 -3
- package/InputLang/index.css +12 -0
- package/InputLang/index.js +3 -3
- package/InputNumber/index.css +10 -0
- package/InputNumber/index.js +3 -3
- package/Loading/index.css +2 -0
- package/Loading/index.js +3 -3
- package/Menu/index.css +2 -0
- package/Menu/index.js +3 -3
- package/Message/index.css +2 -0
- package/Message/index.js +3 -3
- package/Modal/Confirm/index.d.ts +4 -1
- package/Modal/index.css +10 -0
- package/Modal/index.js +3 -3
- package/MultiBox/index.css +10 -0
- package/MultiBox/index.js +3 -3
- package/PageHeader/index.css +6 -0
- package/PageHeader/index.js +3 -3
- package/Pagination/index.css +12 -0
- package/Pagination/index.js +2 -2
- package/ParauiProvider/index.css +2 -0
- package/ParauiProvider/index.js +3 -3
- package/PopConfirm/index.css +6 -0
- package/PopConfirm/index.d.ts +5 -1
- package/PopConfirm/index.js +3 -3
- package/Radio/index.css +2 -0
- package/Radio/index.js +3 -3
- package/RadioGroup/index.css +4 -0
- package/RadioGroup/index.js +3 -3
- package/Search/index.css +12 -0
- package/Search/index.js +3 -3
- package/Select/index.css +6 -0
- package/Select/index.d.ts +2 -0
- package/Select/index.js +3 -3
- package/SingleBox/index.css +10 -0
- package/SingleBox/index.js +3 -3
- package/Slider/index.css +2 -0
- package/Slider/index.js +3 -3
- package/Split/index.css +2 -0
- package/Split/index.js +3 -3
- package/Stepper/index.css +2 -0
- package/Stepper/index.js +3 -3
- package/Switch/index.css +2 -0
- package/Switch/index.js +2 -2
- package/Table/index.css +20 -0
- package/Table/index.js +3 -3
- package/Tabs/index.css +4 -0
- package/Tabs/index.js +3 -3
- package/TextField/index.css +8 -0
- package/TextField/index.js +3 -3
- package/TimePicker/index.css +6 -0
- package/TimePicker/index.js +2 -2
- package/Timeline/index.css +2 -0
- package/Timeline/index.js +3 -3
- package/ToggleButton/index.css +6 -0
- package/ToggleButton/index.js +3 -3
- package/Tooltip/index.css +2 -0
- package/Tooltip/index.js +3 -3
- package/Transfer/index.css +16 -0
- package/Transfer/index.js +3 -3
- package/Tree/index.css +8 -0
- package/Tree/index.js +2 -2
- package/Upload/index.css +12 -0
- package/Upload/index.js +3 -3
- package/index.js +2 -2
- package/package.json +4 -3
- package/style.css +19 -19
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
.paraui-tooltip>div{font-size:14px;color:#fff;background-color:rgba(46,55,67,0.701961)}.paraui-tooltip-left-right>div{margin:0 8px}.paraui-tooltip-top-bottom>div{margin:8px 0}
|
|
2
|
+
|
|
3
|
+
.paraui-auto-tips{max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-auto-tips>.auto-tips-content{display:inline;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
4
|
+
|
|
5
|
+
@keyframes rotateLoading{0%{transformOrigin:50% 50%}100%{transform:rotate(360deg)}}.paraui-loading{position:absolute;left:0;top:0;width:100%;height:100%}.paraui-loading .paraui-loading-mask{position:absolute;width:100%;height:100%;background-color:white;z-index:1}.paraui-loading .paraui-loading-box{position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:2}.paraui-loading .paraui-loading-box>svg{transition:all .3s ease-in-out;animation:rotateLoading 1s infinite linear;font-size:20px}
|
|
6
|
+
|
|
7
|
+
.paraui-text-field{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400;display:inline-block;width:100%;padding-bottom:20px}.paraui-text-field>.text-field-label{color:rgba(46,55,67,0.701961);margin-bottom:8px;display:inline-block}.paraui-text-field>.text-field-label>.text-field-required{margin-left:2px;color:#eb6054}.paraui-text-field>.text-field-content{border:1px solid;border-radius:8px;border-color:rgba(171,176,185,0.4);display:flex;width:100%;position:relative}.paraui-text-field>.text-field-content:hover{border-color:#3666d6}.paraui-text-field>.text-field-content>.text-field-content-before{color:#2e3743;padding:0 12px;border-right:1px solid rgba(171,176,185,0.4);background-color:rgba(171,176,185,0.121569);border-bottom-left-radius:8px;border-top-left-radius:8px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-before svg{font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within{position:relative;width:100%;display:flex}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon{display:flex;height:100%;align-items:center;margin-right:12px;cursor:pointer;color:rgba(46,55,67,0.701961);position:relative;z-index:1}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon svg{color:rgba(46,55,67,0.701961);font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within>.length-limit{display:flex;height:100%;align-items:center;margin-right:12px;color:rgba(46,55,67,0.701961)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input{width:100%;line-height:0}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-outer-spin-button,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-inner-spin-button{-webkit-appearance:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input[type="number"]{-moz-appearance:textfield}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{width:100%;height:100%}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{width:100% !important;padding:12px}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{font-size:14px;color:#2e3743;border:0;border-radius:8px}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-clear,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-clear{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-reveal,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-reveal{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input:disabled,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea:disabled{background-color:transparent}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{width:100%;position:absolute;left:0;top:0;height:100%;padding:0 12px;color:rgba(46,55,67,0.4);cursor:text;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder>.text-field-required{margin-left:2px;color:#eb6054}.paraui-text-field>.text-field-content>.text-field-content-after{color:#2e3743;padding:0 12px;border-left:1px solid rgba(171,176,185,0.4);background-color:rgba(171,176,185,0.121569);border-bottom-right-radius:8px;border-top-right-radius:8px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-after svg{font-size:20px}.paraui-text-field>.text-field-error-text{margin:8px 0 0 0;padding-left:12px;line-height:1}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.length-limit{height:14px;position:absolute;right:0;bottom:8px}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{padding-top:12px;line-height:1;height:calc(100% - 14px)}.paraui-text-field.text-field-disabled>.text-field-content{background-color:rgba(171,176,185,0.121569)}.paraui-text-field.text-field-disabled>.text-field-content:hover{border-color:rgba(171,176,185,0.4)}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-before{background-color:transparent}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-after{background-color:transparent}.paraui-text-field.text-field-error>.text-field-error-text{color:#eb6054}.paraui-text-field.text-field-error>.text-field-content{border-color:#eb6054}.paraui-text-field.text-field-error>.text-field-content:hover{border-color:#eb6054}.paraui-text-field.text-field-limit>.text-field-content{border-color:#eb6054 !important}.paraui-text-field.text-field-limit>.text-field-content:hover{border-color:#eb6054 !important}.paraui-text-field.text-field-focus>.text-field-content{border-color:#3666d6}.paraui-text-field.text-field-small>.text-field-content{height:28px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-before{line-height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:6px 12px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:26px}.paraui-text-field.text-field-small>.text-field-content .text-field-content-after{line-height:26px}.paraui-text-field.text-field-medium>.text-field-content{height:32px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-before{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:8px 12px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content .text-field-content-after{line-height:30px}.paraui-text-field.text-field-large>.text-field-content{height:36px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-before{line-height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:10px 12px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:34px}.paraui-text-field.text-field-large>.text-field-content .text-field-content-after{line-height:34px}.paraui-text-field-select>div{max-width:none;padding:0;background-color:white;box-shadow:0px 2px 8px 0px rgba(171,176,185,0.4);border-radius:8px;font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400}.paraui-text-field-select>div>span{color:white}.paraui-text-field-select>div .text-field-select-content{max-height:300px;overflow:auto}.paraui-text-field-select>div .text-field-select-content>.text-field-select-content-item{display:flex;cursor:pointer;color:#2e3743;padding:0 12px}.paraui-text-field-select>div .text-field-select-content>.text-field-select-content-item:hover{background-color:rgba(171,176,185,0.121569);color:#3666d6}.paraui-text-field-select>div .text-field-select-content>.text-field-select-content-item.text-field-select-content-item-keydown{background-color:rgba(171,176,185,0.121569);color:#3666d6}.paraui-text-field-select>div .text-field-select-content.text-field-select-content-loading{height:100px;position:relative;overflow:hidden}.paraui-text-field-select.paraui-text-field-select-small>div .text-field-select-content>.text-field-select-content-item{line-height:28px}.paraui-text-field-select.paraui-text-field-select-medium>div .text-field-select-content>.text-field-select-content-item{line-height:32px}.paraui-text-field-select.paraui-text-field-select-large>div .text-field-select-content>.text-field-select-content-item{line-height:36px}
|
|
8
|
+
|
|
9
|
+
.paraui-single-box{display:inline-block;width:100%;font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400;padding-bottom:20px}.paraui-single-box>.single-box-label{color:rgba(46,55,67,0.701961);margin-bottom:8px;display:inline-block}.paraui-single-box>.single-box-label>.single-box-label-required{margin-left:2px;color:#eb6054}.paraui-single-box>.single-box-content{line-height:0}.paraui-single-box>.single-box-content>.single-box-content-item{padding-bottom:15px;display:flex}.paraui-single-box>.single-box-content>.single-box-content-item>.text-field{padding-bottom:0;width:calc(100% - 30px)}.paraui-single-box>.single-box-content>.single-box-content-item>.single-box-content-item-svg{display:flex;align-items:center;justify-content:center;width:30px;cursor:pointer}.paraui-single-box>.single-box-add{text-align:center;border:1px dashed;border-color:rgba(171,176,185,0.4);display:flex;align-items:center;justify-content:center;border-radius:8px;cursor:pointer}.paraui-single-box>.single-box-add>svg{font-size:24px}.paraui-single-box>.single-box-add:hover{border-color:#3666d6;color:#3666d6}.paraui-single-box>.single-box-error{margin:8px 0 0 0;padding-left:12px;line-height:1}.paraui-single-box.single-box-small>.single-box-add{height:28px}.paraui-single-box.single-box-medium>.single-box-add{height:32px}.paraui-single-box.single-box-large>.single-box-add{height:36px}.paraui-single-box.single-box-error>.single-box-error{color:#eb6054}.paraui-single-box.single-box-disabled>.single-box-content>.single-box-content-item>.single-box-content-item-svg{cursor:not-allowed}.paraui-single-box.single-box-disabled>.single-box-content>.single-box-content-item>.single-box-content-item-svg>svg{color:rgba(46,55,67,0.701961)}.paraui-single-box.single-box-disabled>.single-box-add{border-color:rgba(171,176,185,0.4);cursor:not-allowed;background-color:rgba(171,176,185,0.121569);color:rgba(46,55,67,0.701961)}.paraui-single-box.single-box-disabled>.single-box-add>svg{color:rgba(46,55,67,0.701961)}.paraui-single-box.single-box-disabled>.single-box-add:hover{border-color:rgba(171,176,185,0.4);color:rgba(46,55,67,0.701961)}
|
|
10
|
+
|
package/SingleBox/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@material-ui/core"),require("@para-ui/icons/Delete"),require("@para-ui/icons/LoadingF"),require("@para-ui/icons/Plus"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("para-lib"),require("react")):"function"==typeof define&&define.amd?define(["@material-ui/core","@para-ui/icons/Delete","@para-ui/icons/LoadingF","@para-ui/icons/Plus","@para-ui/icons/PreviewClose","@para-ui/icons/PreviewOpen","para-lib","react"],t):"object"==typeof exports?exports.ParaUI=t(require("@material-ui/core"),require("@para-ui/icons/Delete"),require("@para-ui/icons/LoadingF"),require("@para-ui/icons/Plus"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("para-lib"),require("react")):e.ParaUI=t(e["@material-ui/core"],e["@para-ui/icons/Delete"],e["@para-ui/icons/LoadingF"],e["@para-ui/icons/Plus"],e["@para-ui/icons/PreviewClose"],e["@para-ui/icons/PreviewOpen"],e["para-lib"],e.react)}(self,(function(e,t,n,r,
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@material-ui/core"),require("@para-ui/icons/Delete"),require("@para-ui/icons/LoadingF"),require("@para-ui/icons/Plus"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("para-lib"),require("react")):"function"==typeof define&&define.amd?define(["@material-ui/core","@para-ui/icons/Delete","@para-ui/icons/LoadingF","@para-ui/icons/Plus","@para-ui/icons/PreviewClose","@para-ui/icons/PreviewOpen","para-lib","react"],t):"object"==typeof exports?exports.ParaUI=t(require("@material-ui/core"),require("@para-ui/icons/Delete"),require("@para-ui/icons/LoadingF"),require("@para-ui/icons/Plus"),require("@para-ui/icons/PreviewClose"),require("@para-ui/icons/PreviewOpen"),require("para-lib"),require("react")):e.ParaUI=t(e["@material-ui/core"],e["@para-ui/icons/Delete"],e["@para-ui/icons/LoadingF"],e["@para-ui/icons/Plus"],e["@para-ui/icons/PreviewClose"],e["@para-ui/icons/PreviewOpen"],e["para-lib"],e.react)}(self,(function(e,t,n,o,r,i,a,l){return function(){"use strict";var s={4927:function(e,t,n){function o(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=o(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function r(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=o(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{Z:function(){return r}})},4126:function(e){
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
5
5
|
@license MIT
|
|
6
6
|
*/
|
|
7
|
-
var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,
|
|
7
|
+
var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function r(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={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,l,s=r(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(s[u]=a[u]);if(t){l=t(a);for(var d=0;d<l.length;d++)o.call(a,l[d])&&(s[l[d]]=a[l[d]])}}return s}},9524:function(e,t,n){
|
|
8
8
|
/** @license React v17.0.2
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
10
10
|
*
|
|
@@ -13,4 +13,4 @@ var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.pr
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
n(4126);var r=n(9297),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)l.call(t,r)&&!s.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},7712:function(e,t,n){e.exports=n(9524)},3094:function(e,t,n){var r=n(7712),o=n(9297),i=n(6885),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};t.default=function(e){var t=e.children,n=e.placement,l=void 0===n?"bottom-start":n,s=e.tips,c=void 0===s?"":s,u=e.className,d=void 0===u?"":u,f=(0,o.useRef)(),v=(0,o.useState)(""),p=v[0],h=v[1];(0,o.useEffect)((function(){h(c)}),[c]);var x;return(0,r.jsx)("div",a({ref:f,className:(x="paraui-auto-tips",d&&(x+=" "+d),x),onMouseOver:function(e){f.current&&f.current.scrollWidth>f.current.offsetWidth?h(p||f.current.innerText):h("")}},{children:(0,r.jsx)(i.default,a({title:p,placement:l},{children:(0,r.jsx)("div",a({className:"auto-tips-content"},{children:t}),void 0)}),void 0)}),void 0)}},9011:function(e,t,n){var r=n(7712),o=n(9297),i=n(1102),a=n.n(i),l=function(){return l=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},l.apply(this,arguments)};t.default=function(e){var t=e.className,n=e.style,i=e.opacity,s=void 0===i?.7:i,c=(0,o.useRef)(null);(0,o.useEffect)((function(){c&&c.current&&c.current.parentNode&&((getComputedStyle(c.current.parentNode)||{}).position||(c.current.parentNode.style.position="relative"))}),[]);var u;return(0,r.jsxs)("div",l({className:(u="paraui-loading",t&&(u+=" "+t),u),style:n,ref:c},{children:[(0,r.jsx)("div",l({className:"paraui-loading-box"},{children:(0,r.jsx)(a(),{},void 0)}),void 0),(0,r.jsx)("div",{className:"paraui-loading-mask",style:{opacity:s}},void 0)]}),void 0)}},8901:function(e,t,n){n.r(t),n.d(t,{SingleBox:function(){return f}});var r=n(7712),o=n(9297),i=n(3672),a=n(5191),l=n.n(a),s=n(6243),c=n.n(s),u=function(){return u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)},d=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},f=function(e){var t=e.className,n=e.size,a=void 0===n?"large":n,s=e.placeholder,f=void 0===s?"":s,v=e.label,p=void 0===v?"":v,h=e.labelSign,x=e.disabled,g=void 0!==x&&x,m=e.required,y=void 0!==m&&m,b=e.error,j=void 0!==b&&b,O=e.helperText,w=void 0===O?"":O,S=e.value,N=e.onChange,C=(0,o.useState)([]),k=C[0],P=C[1];(0,o.useEffect)((function(){void 0!==e.defaultValue&&P(d([],e.defaultValue,!0))}),[]),(0,o.useEffect)((function(){void 0!==S&&P(d([],S,!0))}),[S]);var q,E=function(t){return function(){g||(k.splice(t,1),void 0===e.value&&P(d([],k,!0)),N&&N(k))}},L=function(t){return function(n){k[t]=n.target.value,void 0===e.value&&P(d([],k,!0)),N&&N(k)}};return(0,r.jsxs)("div",u({className:(q="paraui-single-box single-box",t&&(q+=" "+t),a&&(q+=" single-box-"+a),j&&(q+=" single-box-error"),g&&(q+=" single-box-disabled"),q)},{children:[p?(0,r.jsxs)("label",u({className:"single-box-label"},{children:[p,y&&(0,r.jsx)("span",u({className:"single-box-label-required"},{children:"*"}),void 0),h&&(0,r.jsx)("span",{children:h},void 0)]}),void 0):null,(0,r.jsx)("div",u({className:"single-box-content"},{children:k.map((function(e,t){return(0,r.jsxs)("div",u({className:"single-box-content-item"},{children:[(0,r.jsx)(i.default,{disabled:g,value:e,placeholder:f,size:a,onChange:L(t)},void 0),(0,r.jsx)("span",u({className:"single-box-content-item-svg"},{children:(0,r.jsx)(c(),{onClick:E(t)},void 0)}),void 0)]}),t)}))}),void 0),(0,r.jsx)("div",u({className:"single-box-add",onClick:function(){g||(k.push(""),void 0===e.value&&P(d([],k,!0)),N&&N(k))}},{children:(0,r.jsx)(l(),{},void 0)}),void 0),w&&(0,r.jsx)("p",u({className:"single-box-error"},{children:w}),void 0)]}),void 0)};t.default=f},3672:function(e,t,n){var r=n(7712),o=n(9297),i=n(1731),a=n(3094),l=n(9011),s=n(8528),c=n.n(s),u=n(6570),d=n.n(u),f=n(3475),v=function(){return v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},v.apply(this,arguments)},p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};t.default=function(e){var t=e.className,n=e.size,s=void 0===n?"large":n,u=e.labelMode,h=void 0===u?"outside":u,x=e.placeholder,g=void 0===x?"":x,m=e.label,y=void 0===m?"":m,b=e.disabled,j=void 0!==b&&b,O=e.multiline,w=void 0!==O&&O,S=e.required,N=void 0!==S&&S,C=e.labelSign,k=e.rows,P=void 0===k?2:k,q=e.error,E=void 0!==q&&q,L=e.helperText,_=void 0===L?"":L,F=e.addonBefore,I=void 0===F?"":F,D=e.addonAfter,T=void 0===D?"":D,A=(e.defaultValue,e.value),M=e.autoFocus,U=void 0!==M&&M,B=e.type,R=void 0===B?"text":B,K=e.onClickIcon,V=e.rightIcon,z=e.showRightIcon,W=void 0===z||z,H=e.limitLength,J=e.fetchSuggestions,Z=e.selectPopoverClass,$=e.renderSelectItem,Y=e.showSelectName,G=void 0===Y?"value":Y,Q=e.onBlur,X=e.onFocus,ee=e.onChange,te=e.onKeydown,ne=e.onKeyUp,re=e.onEnter,oe=e.onClickAddonBefore,ie=e.onClickAddonAfter,ae=e.onSelect,le=p(e,["className","size","labelMode","placeholder","label","disabled","multiline","required","labelSign","rows","error","helperText","addonBefore","addonAfter","defaultValue","value","autoFocus","type","onClickIcon","rightIcon","showRightIcon","limitLength","fetchSuggestions","selectPopoverClass","renderSelectItem","showSelectName","onBlur","onFocus","onChange","onKeydown","onKeyUp","onEnter","onClickAddonBefore","onClickAddonAfter","onSelect"]),se=(0,o.useState)("text-field-select-content-"+(0,f.UUID)())[0],ce=(0,o.useState)(!0),ue=ce[0],de=ce[1],fe=(0,o.useState)(""),ve=fe[0],pe=fe[1],he=(0,o.useState)(!1),xe=he[0],ge=he[1],me=(0,o.useState)("text"),ye=me[0],be=me[1],je=(0,o.useState)(!1),Oe=je[0],we=je[1],Se=(0,o.useState)(!1),Ne=Se[0],Ce=Se[1],ke=(0,o.useState)([]),Pe=ke[0],qe=ke[1],Ee=((0,o.useState)({isCompositions:!0})[0],(0,o.useRef)(null)),Le=(0,o.useRef)(null);(0,o.useEffect)((function(){void 0!==e.defaultValue&&(pe(e.defaultValue),Ie(e.defaultValue))}),[]),(0,o.useEffect)((function(){R!==ye&&be(R)}),[R]),(0,o.useEffect)((function(){void 0!==A&&(pe(A),Ie(A))}),[A]),(0,o.useEffect)((function(){de(""===ve||void 0===ve)}),[ve]),(0,o.useEffect)((function(){J&&we(xe)}),[xe,J]),(0,o.useEffect)((function(){return Oe?window.addEventListener("keydown",Me):window.removeEventListener("keydown",Me),function(){window.removeEventListener("keydown",Me)}}),[Oe]),(0,o.useEffect)((function(){if(!xe&&ve){var t=Fe(ve);if(t!==ve){var n={};n.target=Ee.current,n.target.value=t,e.onChange&&e.onChange(n)}}}),[ve,xe]);var _e,Fe=function(t){var n=t;return e.limitLength&&t.toString().length>e.limitLength&&(n=n.toString().substr(0,e.limitLength)),n},Ie=function(e){Ee&&Ee.current&&(Ee.current.value=e,Ee.current.setAttribute("value",e))},De=function(){j||(de(!1),(Ee&&Ee.current).focus())},Te=function(e){var t=e.selectDom,n=e.keyCode,r=e.currentDom,o="nextSibling",i=".text-field-select-content-item";38===n&&(o="previousSibling",i=".text-field-select-content-item:last-child"),r?(r=r[o])||(r=t.querySelector(i)):r=t.querySelector(".text-field-select-content-item"),r&&(r.classList.add("text-field-select-content-item-keydown"),Ae(r,t))},Ae=function(e,t){var n=t.clientHeight,r=e.offsetTop+e.clientHeight-n;t.scrollTop=r>0?r:0},Me=function(e){var t=document.querySelector("."+se),n=null,r=t.querySelector(".text-field-select-content-item-keydown");if(13===e.keyCode&&r){var o=r.dataset.val;Je(JSON.parse(o))(e),(Ee&&Ee.current).blur()}r&&(n=r,r.classList.remove("text-field-select-content-item-keydown")),40===e.keyCode&&Te({selectDom:t,keyCode:e.keyCode,currentDom:n}),38===e.keyCode&&Te({selectDom:t,keyCode:e.keyCode,currentDom:n})},Ue=function(e){ge(!1),""===e.target.value&&de(!0),Q&&Q(e)},Be=function(e){Ce(!0),J&&J(e,(function(e){qe(e||[]),Ce(!1)}))},Re=function(e){ge(!0),X&&X(e),Be(e.target.value)},Ke=function(t){var n=t.target.value;n&&de(!1),void 0===e.value&&(pe(n),Ie(n)),ee&&ee(t),Be(t.target.value)},Ve=function(e){13===e.keyCode&&re&&re(e),te&&te(e)},ze=function(e){ne&&ne(e)},We=function(e){"password"===R&&("text"===ye&&be("password"),"password"===ye&&be("text")),K&&K(e)},He=function(){we(!1)},Je=function(e){return function(t){ae&&ae(e)}},Ze=(0,o.useMemo)((function(){return(0,r.jsx)(r.Fragment,{children:void 0!==H&&(0,r.jsx)("span",v({className:"length-limit"},{children:(ve?ve.toString().length:0)+"/"+H}),void 0)},void 0)}),[H,ve]),$e=(0,o.useMemo)((function(){var e=V||("password"===R?"password"===ye?(0,r.jsx)(d(),{},void 0):(0,r.jsx)(c(),{},void 0):null);return(0,r.jsx)(r.Fragment,{children:W&&e&&(0,r.jsx)("span",v({className:"right-icon",onClick:We},{children:e}),void 0)},void 0)}),[W,V,R,ye]),Ye=(0,o.useMemo)((function(){return(0,r.jsxs)("div",v({className:"text-field-content-within",ref:Le},{children:[(0,r.jsxs)("div",v({className:"text-field-content-within-input"},{children:[w?(0,r.jsx)("textarea",v({ref:Ee,rows:P,onBlur:Ue,onFocus:Re,onChange:Ke,onKeyDown:Ve,onKeyUp:ze,disabled:j},le),void 0):(0,r.jsx)("input",v({ref:Ee,type:ye,onBlur:Ue,onFocus:Re,onChange:Ke,onKeyDown:Ve,onKeyUp:ze,disabled:j},le),void 0),ue&&!xe&&(0,r.jsx)("span",v({className:"text-field-label-placeholder",onClick:De},{children:"outside"===h?g:(0,r.jsxs)(r.Fragment,{children:[y||g,N&&(0,r.jsx)("span",v({className:"text-field-required"},{children:"*"}),void 0),C&&(0,r.jsx)("span",{children:C},void 0)]},void 0)}),void 0)]}),void 0),Ze,$e]}),void 0)}),[ue,xe,U,ye,ve,Ze,$e,h,g,y,j,w,P,le,ee,J]),Ge=(0,o.useMemo)((function(){var e;return(0,r.jsxs)("div",v({className:(e="text-field-select-content",Ne&&(e+=" text-field-select-content-loading"),se&&(e+=" "+se),e),style:{width:(Le&&Le.current?Le.current.offsetWidth:0)+"px"}},{children:[Pe&&Pe.map((function(e,t){return(0,r.jsx)("div",v({className:"text-field-select-content-item",onMouseDown:Je(e),"data-val":JSON.stringify(e)},{children:$?$(e):(0,r.jsx)(a.default,{children:e[G]},void 0)}),t)})),Ne&&(0,r.jsx)(l.default,{},void 0)]}),void 0)}),[Le,Oe,Pe,$,G,ae,Ne,se]),Qe=(0,o.useMemo)((function(){return(0,r.jsx)(i.Tooltip,v({open:Oe,title:Ge,onClose:He,interactive:!0,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,arrow:!0,classes:{popper:(e="paraui-text-field-select",s&&(e+=" paraui-text-field-select-"+s),Z&&(e+=" "+Z),e)}},{children:Ye}),void 0);var e}),[ue,xe,U,ye,ve,Ze,$e,h,g,y,j,w,P,le,ee,J,ae,Le,Oe,Z,s]),Xe=(0,o.useMemo)((function(){var e=Boolean(N||C||y);return(0,r.jsx)(r.Fragment,{children:"outside"===h&&e&&(0,r.jsxs)("label",v({className:"text-field-label"},{children:[y,N&&(0,r.jsx)("span",v({className:"text-field-required"},{children:"*"}),void 0),C&&(0,r.jsx)("span",{children:C},void 0)]}),void 0)},void 0)}),[h,y,C,N]);return(0,r.jsxs)("div",v({className:(_e="paraui-text-field",_e+=" text-field",s&&!w&&(_e+=" text-field-"+s),t&&(_e+=" "+t),E&&(_e+=" text-field-error"),xe&&(_e+=" text-field-focus"),j&&(_e+=" text-field-disabled"),w&&(_e+=" text-field-multiline"),e.limitLength&&ve&&ve.toString().length>e.limitLength&&(_e+=" text-field-limit"),_e)},{children:[Xe,(0,r.jsxs)("div",v({className:"text-field-content"},{children:[I&&(0,r.jsx)("div",v({className:"text-field-content-before",onClick:function(e){oe&&oe(e)}},{children:I}),void 0),J?Qe:Ye,T&&(0,r.jsx)("div",v({className:"text-field-content-after",onClick:function(e){ie&&ie(e)}},{children:T}),void 0)]}),void 0),_&&(0,r.jsx)("p",v({className:"text-field-error-text"},{children:_}),void 0)]}),void 0)}},6885:function(e,t,n){var r=n(7712),o=n(1731),i=n(4927),a=function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};t.default=function(e){var t,n=a(a({},e.classes),{popper:(0,i.Z)("paraui-tooltip",null===(t=e.classes)||void 0===t?void 0:t.popper)});return(0,r.jsx)(o.Tooltip,a({},e,{classes:n},{children:e.children}),void 0)}},1731:function(t){t.exports=e},6243:function(e){e.exports=t},1102:function(e){e.exports=n},5191:function(e){e.exports=r},6570:function(e){e.exports=o},8528:function(e){e.exports=i},3475:function(e){e.exports=a},9297:function(e){e.exports=l}},u={};function d(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={exports:{}};return c[e](n,n.exports,d),n.exports}d.m=c,s=[],d.O=function(e,t,n,r){if(!t){var o=1/0;for(l=0;l<s.length;l++){t=s[l][0],n=s[l][1],r=s[l][2];for(var i=!0,a=0;a<t.length;a++)(!1&r||o>=r)&&Object.keys(d.O).every((function(e){return d.O[e](t[a])}))?t.splice(a--,1):(i=!1,r<o&&(o=r));i&&(s.splice(l--,1),e=n())}return e}r=r||0;for(var l=s.length;l>0&&s[l-1][2]>r;l--)s[l]=s[l-1];s[l]=[t,n,r]},d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},d.d=function(e,t){for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={2576:0,1465:0,5717:0,2996:0,2823:0,9296:0};d.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,i=n[0],a=n[1],l=n[2],s=0;for(r in a)d.o(a,r)&&(d.m[r]=a[r]);if(l)var c=l(d);for(t&&t(n);s<i.length;s++)o=i[s],d.o(e,o)&&e[o]&&e[o][0](),e[i[s]]=0;return d.O(c)},n=self.webpackChunkParaUI=self.webpackChunkParaUI||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var f=d.O(void 0,[9296],(function(){return d(8901)}));return f=d.O(f)}()}));
|
|
16
|
+
n(4126);var o=n(9297),r=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;r=i("react.element"),t.Fragment=i("react.fragment")}var a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var o,i={},c=null,u=null;for(o in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)l.call(t,o)&&!s.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:c,ref:u,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},7712:function(e,t,n){e.exports=n(9524)},3094:function(e,t,n){var o=n(7712),r=n(9297),i=n(6885),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};t.default=function(e){var t=e.children,n=e.placement,l=void 0===n?"bottom-start":n,s=e.tips,c=void 0===s?"":s,u=e.className,d=void 0===u?"":u,f=(0,r.useRef)(),v=(0,r.useState)(""),p=v[0],x=v[1];(0,r.useEffect)((function(){x(c)}),[c]);var h;return(0,o.jsx)("div",a({ref:f,className:(h="paraui-auto-tips",d&&(h+=" "+d),h),onMouseOver:function(e){f.current&&f.current.scrollWidth>f.current.offsetWidth?x(c||f.current.innerText):x("")}},{children:(0,o.jsx)(i.default,a({title:p,placement:l},{children:(0,o.jsx)("div",a({className:"auto-tips-content"},{children:t}),void 0)}),void 0)}),void 0)}},9011:function(e,t,n){var o=n(7712),r=n(9297),i=n(1102),a=n.n(i),l=function(){return l=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},l.apply(this,arguments)};t.default=function(e){var t=e.className,n=e.style,i=e.opacity,s=void 0===i?.7:i,c=(0,r.useRef)(null);(0,r.useEffect)((function(){c&&c.current&&c.current.parentNode&&((getComputedStyle(c.current.parentNode)||{}).position||(c.current.parentNode.style.position="relative"))}),[]);var u;return(0,o.jsxs)("div",l({className:(u="paraui-loading",t&&(u+=" "+t),u),style:n,ref:c},{children:[(0,o.jsx)("div",l({className:"paraui-loading-box"},{children:(0,o.jsx)(a(),{},void 0)}),void 0),(0,o.jsx)("div",{className:"paraui-loading-mask",style:{opacity:s}},void 0)]}),void 0)}},3672:function(e,t,n){var o=n(7712),r=n(9297),i=n(1731),a=n(3094),l=n(9011),s=n(8528),c=n.n(s),u=n(6570),d=n.n(u),f=n(3475),v=function(){return v=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},v.apply(this,arguments)},p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};t.default=function(e){var t=e.className,n=e.size,s=void 0===n?"large":n,u=e.labelMode,x=void 0===u?"outside":u,h=e.placeholder,m=void 0===h?"":h,g=e.label,y=void 0===g?"":g,b=e.disabled,j=void 0!==b&&b,w=e.multiline,O=void 0!==w&&w,S=e.required,N=void 0!==S&&S,C=e.labelSign,P=e.rows,k=void 0===P?2:P,q=e.error,E=void 0!==q&&q,L=e.helperText,_=void 0===L?"":L,F=e.addonBefore,D=void 0===F?"":F,I=e.addonAfter,T=void 0===I?"":I,A=(e.defaultValue,e.value),M=e.autoFocus,B=void 0!==M&&M,R=e.type,U=void 0===R?"text":R,K=e.onClickIcon,V=e.rightIcon,z=e.showRightIcon,W=void 0===z||z,H=e.limitLength,J=e.fetchSuggestions,Z=e.selectPopoverClass,$=e.renderSelectItem,Y=e.showSelectName,G=void 0===Y?"value":Y,Q=e.onBlur,X=e.onFocus,ee=e.onChange,te=e.onKeydown,ne=e.onKeyUp,oe=e.onEnter,re=e.onClickAddonBefore,ie=e.onClickAddonAfter,ae=e.onSelect,le=p(e,["className","size","labelMode","placeholder","label","disabled","multiline","required","labelSign","rows","error","helperText","addonBefore","addonAfter","defaultValue","value","autoFocus","type","onClickIcon","rightIcon","showRightIcon","limitLength","fetchSuggestions","selectPopoverClass","renderSelectItem","showSelectName","onBlur","onFocus","onChange","onKeydown","onKeyUp","onEnter","onClickAddonBefore","onClickAddonAfter","onSelect"]),se=(0,r.useState)("text-field-select-content-"+(0,f.UUID)())[0],ce=(0,r.useState)(!0),ue=ce[0],de=ce[1],fe=(0,r.useState)(""),ve=fe[0],pe=fe[1],xe=(0,r.useState)(!1),he=xe[0],me=xe[1],ge=(0,r.useState)("text"),ye=ge[0],be=ge[1],je=(0,r.useState)(!1),we=je[0],Oe=je[1],Se=(0,r.useState)(!1),Ne=Se[0],Ce=Se[1],Pe=(0,r.useState)([]),ke=Pe[0],qe=Pe[1],Ee=((0,r.useState)({isCompositions:!0})[0],(0,r.useRef)(null)),Le=(0,r.useRef)(null);(0,r.useEffect)((function(){void 0!==e.defaultValue&&(pe(e.defaultValue),De(e.defaultValue))}),[]),(0,r.useEffect)((function(){U!==ye&&be(U)}),[U]),(0,r.useEffect)((function(){void 0!==A&&(pe(A),De(A))}),[A]),(0,r.useEffect)((function(){de(""===ve||void 0===ve)}),[ve]),(0,r.useEffect)((function(){J&&Oe(he)}),[he,J]),(0,r.useEffect)((function(){return we?window.addEventListener("keydown",Me):window.removeEventListener("keydown",Me),function(){window.removeEventListener("keydown",Me)}}),[we]),(0,r.useEffect)((function(){if(!he&&ve){var t=Fe(ve);if(t!==ve){var n={};n.target=Ee.current,n.target.value=t,e.onChange&&e.onChange(n)}}}),[ve,he]);var _e,Fe=function(t){var n=t;return e.limitLength&&t.toString().length>e.limitLength&&(n=n.toString().substr(0,e.limitLength)),n},De=function(e){Ee&&Ee.current&&(Ee.current.value=e,Ee.current.setAttribute("value",e))},Ie=function(){j||(de(!1),(Ee&&Ee.current).focus())},Te=function(e){var t=e.selectDom,n=e.keyCode,o=e.currentDom,r="nextSibling",i=".text-field-select-content-item";38===n&&(r="previousSibling",i=".text-field-select-content-item:last-child"),o?(o=o[r])||(o=t.querySelector(i)):o=t.querySelector(".text-field-select-content-item"),o&&(o.classList.add("text-field-select-content-item-keydown"),Ae(o,t))},Ae=function(e,t){var n=t.clientHeight,o=e.offsetTop+e.clientHeight-n;t.scrollTop=o>0?o:0},Me=function(e){var t=document.querySelector("."+se),n=null,o=t.querySelector(".text-field-select-content-item-keydown");if(13===e.keyCode&&o){var r=o.dataset.val;Je(JSON.parse(r))(e),(Ee&&Ee.current).blur()}o&&(n=o,o.classList.remove("text-field-select-content-item-keydown")),40===e.keyCode&&Te({selectDom:t,keyCode:e.keyCode,currentDom:n}),38===e.keyCode&&Te({selectDom:t,keyCode:e.keyCode,currentDom:n})},Be=function(e){me(!1),""===e.target.value&&de(!0),Q&&Q(e)},Re=function(e){Ce(!0),J&&J(e,(function(e){qe(e||[]),Ce(!1)}))},Ue=function(e){me(!0),X&&X(e),Re(e.target.value)},Ke=function(t){var n=t.target.value;n&&de(!1),void 0===e.value&&(pe(n),De(n)),ee&&ee(t),Re(t.target.value)},Ve=function(e){13===e.keyCode&&oe&&oe(e),te&&te(e)},ze=function(e){ne&&ne(e)},We=function(e){"password"===U&&("text"===ye&&be("password"),"password"===ye&&be("text")),K&&K(e)},He=function(){Oe(!1)},Je=function(e){return function(t){ae&&ae(e)}},Ze=(0,r.useMemo)((function(){return(0,o.jsx)(o.Fragment,{children:void 0!==H&&(0,o.jsx)("span",v({className:"length-limit"},{children:(ve?ve.toString().length:0)+"/"+H}),void 0)},void 0)}),[H,ve]),$e=(0,r.useMemo)((function(){var e=V||("password"===U?"password"===ye?(0,o.jsx)(d(),{},void 0):(0,o.jsx)(c(),{},void 0):null);return(0,o.jsx)(o.Fragment,{children:W&&e&&(0,o.jsx)("span",v({className:"right-icon",onClick:We},{children:e}),void 0)},void 0)}),[W,V,U,ye]),Ye=(0,r.useMemo)((function(){return(0,o.jsxs)("div",v({className:"text-field-content-within",ref:Le},{children:[(0,o.jsxs)("div",v({className:"text-field-content-within-input"},{children:[O?(0,o.jsx)("textarea",v({ref:Ee,rows:k,onBlur:Be,onFocus:Ue,onChange:Ke,onKeyDown:Ve,onKeyUp:ze,disabled:j},le),void 0):(0,o.jsx)("input",v({ref:Ee,type:ye,onBlur:Be,onFocus:Ue,onChange:Ke,onKeyDown:Ve,onKeyUp:ze,disabled:j},le),void 0),ue&&!he&&(0,o.jsx)("span",v({className:"text-field-label-placeholder",onClick:Ie},{children:"outside"===x?m:(0,o.jsxs)(o.Fragment,{children:[y||m,N&&(0,o.jsx)("span",v({className:"text-field-required"},{children:"*"}),void 0),C&&(0,o.jsx)("span",{children:C},void 0)]},void 0)}),void 0)]}),void 0),Ze,$e]}),void 0)}),[ue,he,B,ye,ve,Ze,$e,x,m,y,j,O,k,le,ee,J]),Ge=(0,r.useMemo)((function(){var e;return(0,o.jsxs)("div",v({className:(e="text-field-select-content",Ne&&(e+=" text-field-select-content-loading"),se&&(e+=" "+se),e),style:{width:(Le&&Le.current?Le.current.offsetWidth:0)+"px"}},{children:[ke&&ke.map((function(e,t){return(0,o.jsx)("div",v({className:"text-field-select-content-item",onMouseDown:Je(e),"data-val":JSON.stringify(e)},{children:$?$(e):(0,o.jsx)(a.default,{children:e[G]},void 0)}),t)})),Ne&&(0,o.jsx)(l.default,{},void 0)]}),void 0)}),[Le,we,ke,$,G,ae,Ne,se]),Qe=(0,r.useMemo)((function(){return(0,o.jsx)(i.Tooltip,v({open:we,title:Ge,onClose:He,interactive:!0,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,arrow:!0,classes:{popper:(e="paraui-text-field-select",s&&(e+=" paraui-text-field-select-"+s),Z&&(e+=" "+Z),e)}},{children:Ye}),void 0);var e}),[ue,he,B,ye,ve,Ze,$e,x,m,y,j,O,k,le,ee,J,ae,Le,we,Z,s]),Xe=(0,r.useMemo)((function(){var e=Boolean(N||C||y);return(0,o.jsx)(o.Fragment,{children:"outside"===x&&e&&(0,o.jsxs)("label",v({className:"text-field-label"},{children:[y,N&&(0,o.jsx)("span",v({className:"text-field-required"},{children:"*"}),void 0),C&&(0,o.jsx)("span",{children:C},void 0)]}),void 0)},void 0)}),[x,y,C,N]);return(0,o.jsxs)("div",v({className:(_e="paraui-text-field",_e+=" text-field",s&&!O&&(_e+=" text-field-"+s),t&&(_e+=" "+t),E&&(_e+=" text-field-error"),he&&(_e+=" text-field-focus"),j&&(_e+=" text-field-disabled"),O&&(_e+=" text-field-multiline"),e.limitLength&&ve&&ve.toString().length>e.limitLength&&(_e+=" text-field-limit"),_e)},{children:[Xe,(0,o.jsxs)("div",v({className:"text-field-content"},{children:[D&&(0,o.jsx)("div",v({className:"text-field-content-before",onClick:function(e){re&&re(e)}},{children:D}),void 0),J?Qe:Ye,T&&(0,o.jsx)("div",v({className:"text-field-content-after",onClick:function(e){ie&&ie(e)}},{children:T}),void 0)]}),void 0),_&&(0,o.jsx)("p",v({className:"text-field-error-text"},{children:_}),void 0)]}),void 0)}},6885:function(e,t,n){var o=n(7712),r=n(1731),i=n(4927),a=function(){return a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},a.apply(this,arguments)};t.default=function(e){var t,n=e.placement,l=void 0===n?"bottom":n,s=a(a({},e.classes),{popper:(0,i.Z)("paraui-tooltip",null===(t=e.classes)||void 0===t?void 0:t.popper,{"paraui-tooltip-left-right":(null==l?void 0:l.includes("left"))||(null==l?void 0:l.includes("right")),"paraui-tooltip-top-bottom":(null==l?void 0:l.includes("top"))||(null==l?void 0:l.includes("bottom"))})});return(0,o.jsx)(r.Tooltip,a({},e,{classes:s}),void 0)}},1731:function(t){t.exports=e},6243:function(e){e.exports=t},1102:function(e){e.exports=n},5191:function(e){e.exports=o},6570:function(e){e.exports=r},8528:function(e){e.exports=i},3475:function(e){e.exports=a},9297:function(e){e.exports=l}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return s[e](n,n.exports,u),n.exports}u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,{a:t}),t},u.d=function(e,t){for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return function(){u.r(d),u.d(d,{SingleBox:function(){return c}});var e=u(7712),t=u(9297),n=u(3672),o=u(5191),r=u.n(o),i=u(6243),a=u.n(i),l=function(){return l=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},l.apply(this,arguments)},s=function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},c=function(o){var i=o.className,c=o.size,u=void 0===c?"large":c,d=o.placeholder,f=void 0===d?"":d,v=o.label,p=void 0===v?"":v,x=o.labelSign,h=o.disabled,m=void 0!==h&&h,g=o.required,y=void 0!==g&&g,b=o.error,j=void 0!==b&&b,w=o.helperText,O=void 0===w?"":w,S=o.value,N=o.onChange,C=(0,t.useState)([]),P=C[0],k=C[1];(0,t.useEffect)((function(){void 0!==o.defaultValue&&k(s([],o.defaultValue,!0))}),[]),(0,t.useEffect)((function(){void 0!==S&&k(s([],S,!0))}),[S]);var q,E=function(e){return function(){m||(P.splice(e,1),void 0===o.value&&k(s([],P,!0)),N&&N(P))}},L=function(e){return function(t){P[e]=t.target.value,void 0===o.value&&k(s([],P,!0)),N&&N(P)}};return(0,e.jsxs)("div",l({className:(q="paraui-single-box single-box",i&&(q+=" "+i),u&&(q+=" single-box-"+u),j&&(q+=" single-box-error"),m&&(q+=" single-box-disabled"),q)},{children:[p?(0,e.jsxs)("label",l({className:"single-box-label"},{children:[p,y&&(0,e.jsx)("span",l({className:"single-box-label-required"},{children:"*"}),void 0),x&&(0,e.jsx)("span",{children:x},void 0)]}),void 0):null,(0,e.jsx)("div",l({className:"single-box-content"},{children:P.map((function(t,o){return(0,e.jsxs)("div",l({className:"single-box-content-item"},{children:[(0,e.jsx)(n.default,{disabled:m,value:t,placeholder:f,size:u,onChange:L(o)},void 0),(0,e.jsx)("span",l({className:"single-box-content-item-svg"},{children:(0,e.jsx)(a(),{onClick:E(o)},void 0)}),void 0)]}),o)}))}),void 0),(0,e.jsx)("div",l({className:"single-box-add",onClick:function(){m||(P.push(""),void 0===o.value&&k(s([],P,!0)),N&&N(P))}},{children:(0,e.jsx)(r(),{},void 0)}),void 0),O&&(0,e.jsx)("p",l({className:"single-box-error"},{children:O}),void 0)]}),void 0)};d.default=c}(),d}()}));
|
package/Slider/index.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.paraui-slider{position:relative;height:8px;padding:0;width:100%;border-radius:4px;touch-action:none;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.paraui-slider *{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.paraui-slider-rail{position:absolute;width:100%;background-color:rgba(171,176,185,0.2);height:8px;border-radius:4px}.paraui-slider-track{position:absolute;left:0;height:8px;border-radius:4px;background-color:#3666d6}.paraui-slider-handle{position:absolute;width:16px;height:16px;cursor:pointer;margin-top:-4px;cursor:grab;border-radius:50%;border:solid 2px #3666d6;background-color:#fff;touch-action:pan-x}.paraui-slider-handle-dragging{border-color:#3666d6;box-shadow:0 0 5px rgba(54,102,214,0.2);outline:2px solid rgba(54,102,214,0.2)}.paraui-slider-handle:focus{outline:none}.paraui-slider-handle-click-focused:focus{border-color:#3666d6;box-shadow:unset}.paraui-slider-handle:hover{border-color:#3666d6}.paraui-slider-handle:active{border-color:#3666d6;box-shadow:0 0 5px rgba(54,102,214,0.2);outline:2px solid rgba(54,102,214,0.2);cursor:grabbing}.paraui-slider-mark{position:absolute;top:18px;left:0;width:100%;font-size:12px}.paraui-slider-mark-text{position:absolute;display:inline-block;vertical-align:middle;text-align:center;cursor:pointer;color:#999}.paraui-slider-mark-text-active{color:#666}.paraui-slider-step{position:absolute;width:100%;height:4px;background:transparent}.paraui-slider-dot{position:absolute;bottom:-2px;margin-left:-4px;width:8px;height:8px;border:2px solid #e9e9e9;background-color:#fff;cursor:pointer;border-radius:50%;vertical-align:middle}.paraui-slider-dot-active{border-color:#96dbfa}.paraui-slider-dot-reverse{margin-right:-4px}.paraui-slider-disabled{background-color:#e9e9e9}.paraui-slider-disabled .paraui-slider-track{background-color:#ccc}.paraui-slider-disabled .paraui-slider-handle,.paraui-slider-disabled .paraui-slider-dot{border-color:#ccc;box-shadow:none;background-color:#fff;cursor:not-allowed}.paraui-slider-disabled .paraui-slider-mark-text,.paraui-slider-disabled .paraui-slider-dot{cursor:not-allowed !important}.paraui-slider-vertical{width:14px;height:100%;padding:0 5px}.paraui-slider-vertical .paraui-slider-rail{height:100%;width:4px}.paraui-slider-vertical .paraui-slider-track{left:5px;bottom:0;width:4px}.paraui-slider-vertical .paraui-slider-handle{margin-left:-5px;touch-action:pan-y}.paraui-slider-vertical .paraui-slider-mark{top:0;left:18px;height:100%}.paraui-slider-vertical .paraui-slider-step{height:100%;width:4px}.paraui-slider-vertical .paraui-slider-dot{left:2px;margin-bottom:-4px}.paraui-slider-vertical .paraui-slider-dot:first-child{margin-bottom:-4px}.paraui-slider-vertical .paraui-slider-dot:last-child{margin-bottom:-4px}.paraui-slider-tooltip-zoom-down-enter,.paraui-slider-tooltip-zoom-down-appear{animation-duration:0.3s;animation-fill-mode:both;display:block !important;animation-play-state:paused}.paraui-slider-tooltip-zoom-down-leave{animation-duration:0.3s;animation-fill-mode:both;display:block !important;animation-play-state:paused}.paraui-slider-tooltip-zoom-down-enter.paraui-slider-tooltip-zoom-down-enter-active,.paraui-slider-tooltip-zoom-down-appear.paraui-slider-tooltip-zoom-down-appear-active{animation-name:rcSliderTooltipZoomDownIn;animation-play-state:running}.paraui-slider-tooltip-zoom-down-leave.paraui-slider-tooltip-zoom-down-leave-active{animation-name:rcSliderTooltipZoomDownOut;animation-play-state:running}.paraui-slider-tooltip-zoom-down-enter,.paraui-slider-tooltip-zoom-down-appear{transform:scale(0, 0);animation-timing-function:cubic-bezier(0.23, 1, 0.32, 1)}.paraui-slider-tooltip-zoom-down-leave{animation-timing-function:cubic-bezier(0.755, 0.05, 0.855, 0.06)}@keyframes rcSliderTooltipZoomDownIn{0%{opacity:0;transform-origin:50% 100%;transform:scale(0, 0)}100%{transform-origin:50% 100%;transform:scale(1, 1)}}@keyframes rcSliderTooltipZoomDownOut{0%{transform-origin:50% 100%;transform:scale(1, 1)}100%{opacity:0;transform-origin:50% 100%;transform:scale(0, 0)}}.paraui-slider-tooltip{position:absolute;display:block;left:-9999px;top:-9999px;max-width:250px;z-index:1500;visibility:visible;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.paraui-slider-tooltip *{box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.paraui-slider-tooltip-hidden{display:none}.paraui-slider-tooltip-placement-top{padding:4px 0 8px 0}.paraui-slider-tooltip-inner{min-width:24px;font-size:14px;line-height:1;color:rgba(46,55,67,0.701961);text-align:center;text-decoration:none;background-color:transparent;border-radius:6px;white-space:nowrap;box-shadow:none}.paraui-slider-tooltip-arrow{display:none;position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.paraui-slider-tooltip-placement-top .paraui-slider-tooltip-arrow{bottom:4px;left:50%;margin-left:-4px;border-width:4px 4px 0;border-top-color:#6c6c6c}
|
|
2
|
+
|
package/Slider/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("rc-slider"),require("react")):"function"==typeof define&&define.amd?define(["rc-slider","react"],r):"object"==typeof exports?exports.ParaUI=r(require("rc-slider"),require("react")):e.ParaUI=r(e["rc-slider"],e.react)}(self,(function(e,r){return function(){"use strict";var t
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("rc-slider"),require("react")):"function"==typeof define&&define.amd?define(["rc-slider","react"],r):"object"==typeof exports?exports.ParaUI=r(require("rc-slider"),require("react")):e.ParaUI=r(e["rc-slider"],e.react)}(self,(function(e,r){return function(){"use strict";var t={4126:function(e){
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
5
5
|
@license MIT
|
|
6
6
|
*/
|
|
7
|
-
var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(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 r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[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 u,
|
|
7
|
+
var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(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 r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[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 a,u,f=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))t.call(a,l)&&(f[l]=a[l]);if(r){u=r(a);for(var p=0;p<u.length;p++)n.call(a,u[p])&&(f[u[p]]=a[u[p]])}}return f}},9524:function(e,r,t){
|
|
8
8
|
/** @license React v17.0.2
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
10
10
|
*
|
|
@@ -13,4 +13,4 @@ var r=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.pr
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
t(4126);var n=t(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var
|
|
16
|
+
t(4126);var n=t(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,f={key:!0,ref:!0,__self:!0,__source:!0};function c(e,r,t){var n,i={},c=null,l=null;for(n in void 0!==t&&(c=""+t),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(l=r.ref),r)u.call(r,n)&&!f.hasOwnProperty(n)&&(i[n]=r[n]);if(e&&e.defaultProps)for(n in r=e.defaultProps)void 0===i[n]&&(i[n]=r[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}r.jsx=c},7712:function(e,r,t){e.exports=t(9524)},4500:function(r){r.exports=e},9297:function(e){e.exports=r}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(r,{a:r}),r},o.d=function(e,r){for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return function(){o.r(i),o.d(i,{Slider:function(){return c}});var e=o(7712),r=o(9297),t=o.n(r),n=o(4500),a=o.n(n),u=function(){return u=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var o in r=arguments[t])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},u.apply(this,arguments)},f=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(t[n[o]]=e[n[o]])}return t},c=function(r){var o,i=r.range,c=r.step,l=f(r,["range","step"]),p="paraui-slider",s="paraui-slider-tooltip";"object"==typeof i&&(o=i.draggableTrack);var d=t().useState({}),y=d[0],b=d[1],v=function(e,r){b((function(t){var n;return u(u({},t),((n={})[e]=r,n))}))},O=function(e,r){return e||(r?"right":"top")},g=function(e){return"number"==typeof e?e.toString():""},j=function(t){var o=t.tooltipPrefixCls,i=t.info,a=i.value,c=i.index,l=i.dragging,p=f(i,["value","index","dragging"]),s=r.tipFormatter,d=void 0===s?g:s,b=r.tooltipVisible,j=r.tooltipPlacement,m=r.getTooltipPopupContainer,x=void 0===m?function(e){return e}:m,h=r.vertical,P=!!d&&(y[c]||l),_=b||void 0===b&&P;return(0,e.jsx)(n.SliderTooltip,u({prefixCls:o,overlay:d?d(a):"",visible:_,placement:O(j,h),getTooltipContainer:x,destroyTooltipOnHide:!0},{children:(0,e.jsx)(n.Handle,u({},p,{value:a,onMouseEnter:function(){return v(c,!0)},onMouseLeave:function(){return v(c,!1)}}),void 0)}),c)};return i?(0,e.jsx)(n.Range,u({},l,{step:c,pushable:l.pushable,draggableTrack:o,handle:function(e){return j({tooltipPrefixCls:s,info:e})},prefixCls:p}),void 0):(0,e.jsx)(a(),u({},l,{step:c,handle:function(e){return j({tooltipPrefixCls:s,info:e})},prefixCls:p}),void 0)};i.default=c}(),i}()}));
|
package/Split/index.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.para-split{display:flex;min-height:200px;-webkit-user-select:none;user-select:none}.para-split-left{background-color:#ffffff;position:relative;min-width:201px}.para-split-left .para-split-separator{display:flex;justify-content:center;align-items:center;position:absolute;top:0;right:0;width:6px;height:100%;background-color:white;box-shadow:0 0 2px rgba(0,0,0,0.35);cursor:col-resize}.para-split-left .para-split-separator i{display:inline-block;height:14px;width:1px;background-color:#e9e9e9;margin:0 1px}.para-split-left-content{padding:20px 34px 20px 20px}.para-split .para-split-right{background-color:#ffffff;flex:1}.para-split .para-split-right-content{padding:20px}
|
|
2
|
+
|
package/Split/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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(){"use strict";var t
|
|
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(){"use strict";var t={4126:function(e){
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
5
5
|
@license MIT
|
|
6
6
|
*/
|
|
7
|
-
var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(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 u,
|
|
7
|
+
var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(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 c,u,a=o(e),l=1;l<arguments.length;l++){for(var f in c=Object(arguments[l]))r.call(c,f)&&(a[f]=c[f]);if(t){u=t(c);for(var s=0;s<u.length;s++)n.call(c,u[s])&&(a[u[s]]=c[u[s]])}}return a}},9524:function(e,t,r){
|
|
8
8
|
/** @license React v17.0.2
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
10
10
|
*
|
|
@@ -13,4 +13,4 @@ var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.pr
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
r(4126);var n=r(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var
|
|
16
|
+
r(4126);var n=r(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var c=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,t,r){var n,i={},l=null,f=null;for(n in void 0!==r&&(l=""+r),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(f=t.ref),t)u.call(t,n)&&!a.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:o,type:e,key:l,ref:f,props:i,_owner:c.current}}t.jsx=l,t.jsxs=l},7712:function(e,t,r){e.exports=r(9524)},9297:function(t){t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[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 o={};return function(){n.r(o);var e=n(7712),t=n(9297),r=n.n(t),i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};o.default=function(t){var n,o,c,u=t.minWidth,a=void 0===u?200:u,l=t.children,f=r().useRef(null),s=r().useRef(null),d=r().useRef(null),p=r().useState({left:null,right:null}),v=p[0],m=p[1],y=function(e){n=e.clientX,c=b(d.current),o=b(s.current),document.documentElement.addEventListener("mousemove",h),document.documentElement.addEventListener("mouseup",j)},h=function(e){var t=o+e.clientX-n;c-t<=a||t<=a||(s.current.style.width=t+"px")},j=function(e){document.documentElement.removeEventListener("mousemove",h),document.documentElement.removeEventListener("mouseup",j)},b=function(e){return parseInt(e.getBoundingClientRect().width,10)};return r().useEffect((function(){var e;f.current&&(null===(e=f.current)||void 0===e||e.addEventListener("mousedown",y))}),[f]),r().useEffect((function(){if(l&&"object"==typeof l&&m({left:l,right:null}),l&&Array.isArray(l)){var e=l.slice(0,Math.floor(l.length/2)),t=l.slice(Math.floor(l.length/2),l.length);m({left:e,right:t})}}),[l]),(0,e.jsxs)("div",i({className:"para-split",ref:d},{children:[(0,e.jsxs)("div",i({className:"para-split-left"},{children:[(0,e.jsx)("div",i({className:"para-split-left-content",ref:s},{children:v.left}),void 0),(0,e.jsxs)("div",i({className:"para-split-separator",ref:f},{children:[(0,e.jsx)("i",{},void 0),(0,e.jsx)("i",{},void 0)]}),void 0)]}),void 0),(0,e.jsx)("div",i({className:"para-split-right"},{children:(0,e.jsx)("div",i({className:"para-split-right-content"},{children:v.right}),void 0)}),void 0)]}),void 0)}}(),o}()}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.paraui-stepper-step+div .paraui-stepper-connector>span{border:0;height:1px;background:linear-gradient(90deg, #3d66f8, #7793f9 74%, #d8dffa)}.paraui-stepper .paraui-stepper-step-label{margin-top:8px;color:rgba(46,55,67,0.701961);font-size:14px}.paraui-stepper .paraui-stepper-step-label--active{color:#3666d6}.paraui-stepper .paraui-stepper-step-label--completed{color:#2e3743}.paraui-stepper-step-icon{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;background-color:rgba(171,176,185,0.121569);border-radius:50%}.paraui-stepper-step-icon>svg{color:rgba(46,55,67,0.701961)}.paraui-stepper-step-icon--active{background-color:#3666d6}.paraui-stepper-step-icon--active>svg{color:#fff}.paraui-stepper-step-icon--completed{background-color:rgba(54,102,214,0.8)}.paraui-stepper-step-icon--completed>svg{color:#fff}.paraui-stepper-step-icon--one>svg{margin-left:-2px}.paraui-stepper .paraui-stepper-connector{top:15px;left:calc(-50% + 25px);right:calc(50% + 25px)}.paraui-stepper .paraui-stepper-connector>span{border-top:1px dashed rgba(171,176,185,0.4)}.paraui-stepper .paraui-stepper-connector--active>span,.paraui-stepper .paraui-stepper-connector--completed>span{border-top:1px solid rgba(171,176,185,0.4)}
|
|
2
|
+
|
package/Stepper/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@material-ui/core"),require("@para-ui/icons/Check"),require("@para-ui/icons/Eight"),require("@para-ui/icons/Five"),require("@para-ui/icons/Four"),require("@para-ui/icons/Nine"),require("@para-ui/icons/One"),require("@para-ui/icons/Seven"),require("@para-ui/icons/Six"),require("@para-ui/icons/Three"),require("@para-ui/icons/Two"),require("react")):"function"==typeof define&&define.amd?define(["@material-ui/core","@para-ui/icons/Check","@para-ui/icons/Eight","@para-ui/icons/Five","@para-ui/icons/Four","@para-ui/icons/Nine","@para-ui/icons/One","@para-ui/icons/Seven","@para-ui/icons/Six","@para-ui/icons/Three","@para-ui/icons/Two","react"],r):"object"==typeof exports?exports.ParaUI=r(require("@material-ui/core"),require("@para-ui/icons/Check"),require("@para-ui/icons/Eight"),require("@para-ui/icons/Five"),require("@para-ui/icons/Four"),require("@para-ui/icons/Nine"),require("@para-ui/icons/One"),require("@para-ui/icons/Seven"),require("@para-ui/icons/Six"),require("@para-ui/icons/Three"),require("@para-ui/icons/Two"),require("react")):e.ParaUI=r(e["@material-ui/core"],e["@para-ui/icons/Check"],e["@para-ui/icons/Eight"],e["@para-ui/icons/Five"],e["@para-ui/icons/Four"],e["@para-ui/icons/Nine"],e["@para-ui/icons/One"],e["@para-ui/icons/Seven"],e["@para-ui/icons/Six"],e["@para-ui/icons/Three"],e["@para-ui/icons/Two"],e.react)}(self,(function(e,r,n,i,o,t,a,u,
|
|
1
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@material-ui/core"),require("@para-ui/icons/Check"),require("@para-ui/icons/Eight"),require("@para-ui/icons/Five"),require("@para-ui/icons/Four"),require("@para-ui/icons/Nine"),require("@para-ui/icons/One"),require("@para-ui/icons/Seven"),require("@para-ui/icons/Six"),require("@para-ui/icons/Three"),require("@para-ui/icons/Two"),require("react")):"function"==typeof define&&define.amd?define(["@material-ui/core","@para-ui/icons/Check","@para-ui/icons/Eight","@para-ui/icons/Five","@para-ui/icons/Four","@para-ui/icons/Nine","@para-ui/icons/One","@para-ui/icons/Seven","@para-ui/icons/Six","@para-ui/icons/Three","@para-ui/icons/Two","react"],r):"object"==typeof exports?exports.ParaUI=r(require("@material-ui/core"),require("@para-ui/icons/Check"),require("@para-ui/icons/Eight"),require("@para-ui/icons/Five"),require("@para-ui/icons/Four"),require("@para-ui/icons/Nine"),require("@para-ui/icons/One"),require("@para-ui/icons/Seven"),require("@para-ui/icons/Six"),require("@para-ui/icons/Three"),require("@para-ui/icons/Two"),require("react")):e.ParaUI=r(e["@material-ui/core"],e["@para-ui/icons/Check"],e["@para-ui/icons/Eight"],e["@para-ui/icons/Five"],e["@para-ui/icons/Four"],e["@para-ui/icons/Nine"],e["@para-ui/icons/One"],e["@para-ui/icons/Seven"],e["@para-ui/icons/Six"],e["@para-ui/icons/Three"],e["@para-ui/icons/Two"],e.react)}(self,(function(e,r,n,i,o,t,a,c,u,p,s,f){return function(){"use strict";var l={4927:function(e,r,n){function i(e){var r,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(n=i(e[r]))&&(o&&(o+=" "),o+=n);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function o(){for(var e,r,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(r=i(e))&&(o&&(o+=" "),o+=r);return o}n.d(r,{Z:function(){return o}})},4126:function(e){
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
5
5
|
@license MIT
|
|
6
6
|
*/
|
|
7
|
-
var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(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 r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,u
|
|
7
|
+
var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(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 r={},n=0;n<10;n++)r["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(r).map((function(e){return r[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,c,u=o(e),p=1;p<arguments.length;p++){for(var s in a=Object(arguments[p]))n.call(a,s)&&(u[s]=a[s]);if(r){c=r(a);for(var f=0;f<c.length;f++)i.call(a,c[f])&&(u[c[f]]=a[c[f]])}}return u}},9524:function(e,r,n){
|
|
8
8
|
/** @license React v17.0.2
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
10
10
|
*
|
|
@@ -13,4 +13,4 @@ var r=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,i=Object.pr
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
n(4126);var i=n(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var t=Symbol.for;o=t("react.element"),t("react.fragment")}var a=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
16
|
+
n(4126);var i=n(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var t=Symbol.for;o=t("react.element"),t("react.fragment")}var a=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function p(e,r,n){var i,t={},p=null,s=null;for(i in void 0!==n&&(p=""+n),void 0!==r.key&&(p=""+r.key),void 0!==r.ref&&(s=r.ref),r)c.call(r,i)&&!u.hasOwnProperty(i)&&(t[i]=r[i]);if(e&&e.defaultProps)for(i in r=e.defaultProps)void 0===t[i]&&(t[i]=r[i]);return{$$typeof:o,type:e,key:p,ref:s,props:t,_owner:a.current}}r.jsx=p},7712:function(e,r,n){e.exports=n(9524)},1731:function(r){r.exports=e},6110:function(e){e.exports=r},1861:function(e){e.exports=n},2873:function(e){e.exports=i},8764:function(e){e.exports=o},1709:function(e){e.exports=t},5283:function(e){e.exports=a},1341:function(e){e.exports=c},763:function(e){e.exports=u},7214:function(e){e.exports=p},7139:function(e){e.exports=s},9297:function(e){e.exports=f}},d={};function v(e){var r=d[e];if(void 0!==r)return r.exports;var n=d[e]={exports:{}};return l[e](n,n.exports,v),n.exports}v.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return v.d(r,{a:r}),r},v.d=function(e,r){for(var n in r)v.o(r,n)&&!v.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},v.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},v.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var b={};return function(){v.r(b),v.d(b,{Stepper:function(){return C},default:function(){return k}});var e=v(7712),r=v(9297),n=v.n(r),i=v(1731),o=v(4927),t=v(5283),a=v.n(t),c=v(7139),u=v.n(c),p=v(7214),s=v.n(p),f=v(8764),l=v.n(f),d=v(2873),y=v.n(d),m=v(763),j=v.n(m),x=v(1341),O=v.n(x),h=v(1861),S=v.n(h),g=v(1709),q=v.n(g),w=v(6110),_=v.n(w),P={1:(0,e.jsx)(a(),{},void 0),2:(0,e.jsx)(u(),{},void 0),3:(0,e.jsx)(s(),{},void 0),4:(0,e.jsx)(l(),{},void 0),5:(0,e.jsx)(y(),{},void 0),6:(0,e.jsx)(j(),{},void 0),7:(0,e.jsx)(O(),{},void 0),8:(0,e.jsx)(S(),{},void 0),9:(0,e.jsx)(q(),{},void 0),done:(0,e.jsx)(_(),{},void 0)},E=function(){return E=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},E.apply(this,arguments)},N=function(e,r){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&r.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)r.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n};function T(r){var n=r.active,i=r.completed,t=r.mode,a=r.icon,c=r.iconComp,u=r.index;return(0,e.jsx)("div",E({className:(0,o.Z)("paraui-stepper-step-icon",{"paraui-stepper-step-icon--active":n,"paraui-stepper-step-icon--completed":i,"paraui-stepper-step-icon--one":"number"===t&&0===u&&n})},{children:i?P.done:"number"===t?P[String(a)]:"icon"===t?c||P.done:void 0}),void 0)}var C=function(r){var t=r.activeStep,a=void 0===t?0:t,c=r.mode,u=void 0===c?"number":c,p=r.steps,s=void 0===p?[]:p,f=r.alternativeLabel,l=void 0===f||f,d=r.orientation,v=void 0===d?"horizontal":d,b=r.className,y=N(r,["activeStep","mode","steps","alternativeLabel","orientation","className"]),m=function(r,i){return n().forwardRef((function(n,o){return(0,e.jsx)(T,E({mode:u,iconComp:r.icon,index:i},n,{ref:o}),void 0)}))};return(0,e.jsx)(i.Stepper,E({className:(0,o.Z)("paraui-stepper",b),activeStep:a,alternativeLabel:l,orientation:v},y,{connector:(0,e.jsx)(i.StepConnector,{classes:{root:"paraui-stepper-connector",active:"paraui-stepper-connector--active",completed:"paraui-stepper-connector--completed"}},void 0)},{children:(null==s?void 0:s.length)?s.map((function(r,n){var t="",c={};return"number"===u?(t=r,c.label=t):"object"==typeof r&&(t=r.label||"",c=E({},r)),(0,e.jsx)(i.Step,E({className:(0,o.Z)(a===n&&"paraui-stepper-step")},{children:(0,e.jsx)(i.StepLabel,E({StepIconComponent:m(c,n),classes:{label:"paraui-stepper-step-label",active:"paraui-stepper-step-label--active",completed:"paraui-stepper-step-label--completed"}},{children:t}),void 0)}),n)})):null}),void 0)},k=C}(),b}()}));
|
package/Switch/index.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.paraui-switch{position:relative;display:inline-block;min-width:32px;height:14px;line-height:14px;vertical-align:middle;background-color:rgba(171,176,185,0.4);border:0;border-radius:100px;cursor:pointer;transition:all .2s;user-select:none}.paraui-switch:focus{outline:0;box-shadow:none}.paraui-switch-checked:focus{box-shadow:none}.paraui-switch:focus:hover{box-shadow:none}.paraui-switch-checked{background-color:rgba(54,102,214,0.2)}.paraui-switch-loading,.paraui-switch-disabled{cursor:not-allowed;opacity:.4}.paraui-switch-loading *,.paraui-switch-disabled *{box-shadow:none;cursor:not-allowed}.paraui-switch-inner{display:block;margin:0 7px 0 25px;color:#fff;font-size:14px;transition:margin .2s}.paraui-switch-checked .paraui-switch-inner{margin:0 25px 0 7px}.paraui-switch-handle{position:absolute;top:-2px;left:-2px;width:18px;height:18px;transition:all .2s ease-in-out}.paraui-switch-handle::before{position:absolute;top:0;right:0;bottom:0;left:0;background-color:#8996AA;border-radius:9px;box-shadow:none;transition:all .2s ease-in-out;content:""}.paraui-switch-checked .paraui-switch-handle{left:calc(100% - 18px + 2px)}.paraui-switch-checked .paraui-switch-handle::before{background-color:#3666d6}.paraui-switch:not(.paraui-switch-disabled):active .paraui-switch-handle::before{right:-30%;left:0}.paraui-switch:not(.paraui-switch-disabled):active.paraui-switch-checked .paraui-switch-handle::before{right:0;left:-30%}.paraui-switch-loading-icon{position:relative;top:2px;color:#3666d6;vertical-align:top;animation:loadingCircle 1s infinite linear}.paraui-switch-checked .paraui-switch-loading-icon{color:#fff}.paraui-switch-small{min-width:28px;height:14px;line-height:14px}.paraui-switch-small .paraui-switch-inner{margin:0 5px 0 18px;font-size:14px}.paraui-switch-small .paraui-switch-handle{width:12px;height:12px}.paraui-switch-small .paraui-switch-loading-icon{top:1.5px;font-size:9px}.paraui-switch-small.paraui-switch-checked .paraui-switch-inner{margin:0 18px 0 5px}.paraui-switch-small.paraui-switch-checked .paraui-switch-handle{left:calc(100% - 12px - 2px)}@keyframes loadingCircle{100%{transform:rotate(360deg)}}
|
|
2
|
+
|
package/Switch/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(r,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@para-ui/icons/LoadingF"),require("rc-switch"),require("react")):"function"==typeof define&&define.amd?define(["@para-ui/icons/LoadingF","rc-switch","react"],e):"object"==typeof exports?exports.ParaUI=e(require("@para-ui/icons/LoadingF"),require("rc-switch"),require("react")):r.ParaUI=e(r["@para-ui/icons/LoadingF"],r["rc-switch"],r.react)}(self,(function(r,e,t){return function(){"use strict";var n
|
|
1
|
+
!function(r,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@para-ui/icons/LoadingF"),require("rc-switch"),require("react")):"function"==typeof define&&define.amd?define(["@para-ui/icons/LoadingF","rc-switch","react"],e):"object"==typeof exports?exports.ParaUI=e(require("@para-ui/icons/LoadingF"),require("rc-switch"),require("react")):r.ParaUI=e(r["@para-ui/icons/LoadingF"],r["rc-switch"],r.react)}(self,(function(r,e,t){return function(){"use strict";var n={4927:function(r,e,t){function n(r){var e,t,o="";if("string"==typeof r||"number"==typeof r)o+=r;else if("object"==typeof r)if(Array.isArray(r))for(e=0;e<r.length;e++)r[e]&&(t=n(r[e]))&&(o&&(o+=" "),o+=t);else for(e in r)r[e]&&(o&&(o+=" "),o+=e);return o}function o(){for(var r,e,t=0,o="";t<arguments.length;)(r=arguments[t++])&&(e=n(r))&&(o&&(o+=" "),o+=e);return o}t.d(e,{Z:function(){return o}})},4126:function(r){
|
|
2
2
|
/*
|
|
3
3
|
object-assign
|
|
4
4
|
(c) Sindre Sorhus
|
|
@@ -13,4 +13,4 @@ var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.pr
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
t(4126);var n=t(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function f(r,e,t){var n,i={},f=null,s=null;for(n in void 0!==t&&(f=""+t),void 0!==e.key&&(f=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,n)&&!u.hasOwnProperty(n)&&(i[n]=e[n]);if(r&&r.defaultProps)for(n in e=r.defaultProps)void 0===i[n]&&(i[n]=e[n]);return{$$typeof:o,type:r,key:f,ref:s,props:i,_owner:a.current}}e.jsx=f},7712:function(r,e,t){r.exports=t(9524)},
|
|
16
|
+
t(4126);var n=t(9297),o=60103;if(60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function f(r,e,t){var n,i={},f=null,s=null;for(n in void 0!==t&&(f=""+t),void 0!==e.key&&(f=""+e.key),void 0!==e.ref&&(s=e.ref),e)c.call(e,n)&&!u.hasOwnProperty(n)&&(i[n]=e[n]);if(r&&r.defaultProps)for(n in e=r.defaultProps)void 0===i[n]&&(i[n]=e[n]);return{$$typeof:o,type:r,key:f,ref:s,props:i,_owner:a.current}}e.jsx=f},7712:function(r,e,t){r.exports=t(9524)},1102:function(e){e.exports=r},4555:function(r){r.exports=e},9297:function(r){r.exports=t}},o={};function i(r){var e=o[r];if(void 0!==e)return e.exports;var t=o[r]={exports:{}};return n[r](t,t.exports,i),t.exports}i.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return i.d(e,{a:e}),e},i.d=function(r,e){for(var t in e)i.o(e,t)&&!i.o(r,t)&&Object.defineProperty(r,t,{enumerable:!0,get:e[t]})},i.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},i.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var a={};return function(){i.r(a),i.d(a,{Switch:function(){return s}});var r=i(7712),e=i(4555),t=i.n(e),n=i(4927),o=i(1102),c=i.n(o),u=function(){return u=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o]);return r},u.apply(this,arguments)},f=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]])}return t},s=function(e){e.compact,e.size;var o=e.loading,i=e.disabled,a=e.className,s=f(e,["compact","size","loading","disabled","className"]),l=(0,n.Z)("paraui-switch",{"paraui-switch-loading":o},a),p=(0,r.jsx)("div",u({className:"paraui-switch-handle"},{children:o&&(0,r.jsx)(c(),{className:"paraui-switch-loading-icon"},void 0)}),void 0);return(0,r.jsx)(t(),u({},s,{prefixCls:"paraui-switch",className:l,disabled:i||o,loadingIcon:p}),void 0)};a.default=s}(),a}()}));
|
package/Table/index.css
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.paraui-check-box{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400;cursor:pointer;display:inline-flex;align-items:center;line-height:14px}.paraui-check-box:hover>.paraui-check-box-label{color:#3666d6}.paraui-check-box:hover>.paraui-checkbox-box>.paraui-checkbox-box-inner{border-color:#3666d6}.paraui-check-box>.paraui-checkbox-box{position:relative}.paraui-check-box>.paraui-checkbox-box>input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer}.paraui-check-box>.paraui-checkbox-box>.paraui-checkbox-box-inner{position:relative;top:0;left:0;display:block;border-radius:2px;background-color:white;border:1px solid rgba(171,176,185,0.4)}.paraui-check-box>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{position:absolute;display:table;content:" "}.paraui-check-box>.paraui-check-box-label{color:#2e3743;padding:0 8px}.paraui-check-box.check-box-checked>.paraui-checkbox-box>.paraui-checkbox-box-inner{background-color:#3666d6}.paraui-check-box.check-box-checked>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{border:1px solid white;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%, -50%)}.paraui-check-box.check-box-checked>.paraui-check-box-label{color:#3666d6}.paraui-check-box.check-box-indeterminate>.paraui-checkbox-box>.paraui-checkbox-box-inner{background-color:#3666d6}.paraui-check-box.check-box-indeterminate>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{background-color:white;top:50%;left:50%;transform:translate(-50%, -50%) scale(1)}.paraui-check-box.check-box-indeterminate>.paraui-check-box-label{color:#3666d6}.paraui-check-box.check-box-disabled{cursor:not-allowed}.paraui-check-box.check-box-disabled>.paraui-check-box-label{color:rgba(46,55,67,0.4)}.paraui-check-box.check-box-disabled>.paraui-checkbox-box>input{cursor:not-allowed}.paraui-check-box.check-box-disabled>.paraui-checkbox-box>.paraui-checkbox-box-inner{background-color:rgba(171,176,185,0.121569);border-color:rgba(171,176,185,0.4)}.paraui-check-box.check-box-disabled.check-box-checked>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{border-color:rgba(46,55,67,0.4)}.paraui-check-box.check-box-disabled.check-box-indeterminate>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{background-color:rgba(46,55,67,0.4)}.paraui-check-box.check-box-small>.paraui-checkbox-box>.paraui-checkbox-box-inner{width:14px;height:14px}.paraui-check-box.check-box-small.check-box-checked>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{top:45%;left:21%;width:4px;height:7px}.paraui-check-box.check-box-small.check-box-indeterminate>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{width:8px;height:1px}.paraui-check-box.check-box-medium>.paraui-checkbox-box>.paraui-checkbox-box-inner{width:16px;height:16px}.paraui-check-box.check-box-medium.check-box-checked>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{top:45%;left:21%;width:5px;height:8px}.paraui-check-box.check-box-medium.check-box-indeterminate>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{width:8px;height:1px}.paraui-check-box.check-box-large>.paraui-checkbox-box>.paraui-checkbox-box-inner{width:16px;height:16px}.paraui-check-box.check-box-large.check-box-checked>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{top:45%;left:21%;width:5px;height:8px}.paraui-check-box.check-box-large.check-box-indeterminate>.paraui-checkbox-box>.paraui-checkbox-box-inner:after{width:8px;height:1px}
|
|
2
|
+
|
|
3
|
+
.paraui-tooltip>div{font-size:14px;color:#fff;background-color:rgba(46,55,67,0.701961)}.paraui-tooltip-left-right>div{margin:0 8px}.paraui-tooltip-top-bottom>div{margin:8px 0}
|
|
4
|
+
|
|
5
|
+
@keyframes loadingSpin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.paraui-button{min-width:auto;padding:0 16px;line-height:normal;text-transform:none;border-radius:8px;font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400}.paraui-button-loading{pointer-events:none}.paraui-button-contained{color:#fff;background-color:#3666d6;box-shadow:none}.paraui-button-contained:hover{background-color:rgba(54,102,214,0.8);box-shadow:none}.paraui-button-contained[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.121569);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-contained[disabled]:hover{background-color:rgba(171,176,185,0.121569)}.paraui-button-contained .btn-icon{display:inline-flex;color:inherit}.paraui-button-contained .btn-icon svg{color:inherit;font-size:16px}.paraui-button-contained .btn-icon.start-icon{margin-right:-3px}.paraui-button-contained .btn-icon.end-icon{margin-left:-3px}.paraui-button-contained .btn-icon.loading-icon{margin-right:-3px;animation:loadingSpin 1s infinite linear}.paraui-button-contained.paraui-button-dangerous{background-color:#eb6054}.paraui-button-outlined{color:rgba(46,55,67,0.701961);background-color:#fff;border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-outlined:hover{color:#3666d6;border-color:rgba(54,102,214,0.2);background-color:#fff;box-shadow:none}.paraui-button-outlined[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.121569);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-outlined[disabled]:hover{background-color:rgba(171,176,185,0.121569)}.paraui-button-outlined .btn-icon{display:inline-flex;color:inherit}.paraui-button-outlined .btn-icon svg{color:inherit;font-size:16px}.paraui-button-outlined .btn-icon.start-icon{margin-right:-3px}.paraui-button-outlined .btn-icon.end-icon{margin-left:-3px}.paraui-button-outlined .btn-icon.loading-icon{margin-right:-3px;animation:loadingSpin 1s infinite linear}.paraui-button-outlined.paraui-button-dangerous{color:#eb6054;border-color:#eb6054}.paraui-button-outlined.paraui-button-dangerous:hover{border-color:rgba(235,96,84,0.8)}.paraui-button-text{color:rgba(46,55,67,0.701961);background-color:#fff;border:1px solid rgba(171,176,185,0.4);box-shadow:none;background-color:transparent;border:none}.paraui-button-text:hover{color:#3666d6;background-color:transparent;box-shadow:none}.paraui-button-text[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.121569);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-button-text[disabled]:hover{background-color:rgba(171,176,185,0.121569)}.paraui-button-text .btn-icon{display:inline-flex;color:inherit}.paraui-button-text .btn-icon svg{color:inherit;font-size:16px}.paraui-button-text .btn-icon.start-icon{margin-right:-3px}.paraui-button-text .btn-icon.end-icon{margin-left:-3px}.paraui-button-text .btn-icon.loading-icon{margin-right:-3px;animation:loadingSpin 1s infinite linear}.paraui-button-text.paraui-button-dangerous{color:#eb6054}.paraui-button-large{height:36px}.paraui-button-medium{height:32px}.paraui-button-small{height:28px}.paraui-button--disabled{display:inline-block}.paraui-icon-button{padding:0;border-radius:8px}.paraui-icon-button-loading{pointer-events:none}.paraui-icon-button-loading .loading-icon{display:inline-flex;animation:loadingSpin 1s infinite linear}.paraui-icon-button-contained{color:#fff;background-color:#3666d6;box-shadow:none}.paraui-icon-button-contained:hover{background-color:rgba(54,102,214,0.8);box-shadow:none}.paraui-icon-button-contained[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.121569);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-icon-button-contained[disabled]:hover{background-color:rgba(171,176,185,0.121569)}.paraui-icon-button-contained svg{color:inherit;font-size:16px}.paraui-icon-button-contained.paraui-icon-button-dangerous{background-color:#eb6054}.paraui-icon-button-outlined{color:rgba(46,55,67,0.701961);background-color:#fff;border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-icon-button-outlined:hover{color:#3666d6;border-color:rgba(54,102,214,0.2);box-shadow:none;background-color:#fff}.paraui-icon-button-outlined[disabled]{color:rgba(46,55,67,0.4);background-color:rgba(171,176,185,0.121569);border:1px solid rgba(171,176,185,0.4);box-shadow:none}.paraui-icon-button-outlined[disabled]:hover{background-color:rgba(171,176,185,0.121569)}.paraui-icon-button-outlined svg{color:inherit;font-size:16px}.paraui-icon-button-outlined.paraui-icon-button-dangerous{color:#eb6054;border-color:#eb6054}.paraui-icon-button-outlined.paraui-icon-button-dangerous:hover{border-color:rgba(235,96,84,0.8)}.paraui-icon-button-text{color:#3666d6}.paraui-icon-button-text:hover{background-color:transparent}.paraui-icon-button-text[disabled]{color:rgba(46,55,67,0.4)}.paraui-icon-button-text[disabled]:hover{background-color:transparent}.paraui-icon-button-text svg{color:inherit}.paraui-icon-button-text.paraui-icon-button-dangerous{color:#eb6054}.paraui-icon-button-text.paraui-icon-button-large{width:auto;height:auto}.paraui-icon-button-text.paraui-icon-button-large svg{font-size:28px}.paraui-icon-button-text.paraui-icon-button-medium{width:auto;height:auto}.paraui-icon-button-text.paraui-icon-button-medium svg{font-size:24px}.paraui-icon-button-text.paraui-icon-button-small{width:auto;height:auto}.paraui-icon-button-text.paraui-icon-button-small svg{font-size:20px}.paraui-icon-button-large{width:36px;height:36px}.paraui-icon-button-medium{width:32px;height:32px}.paraui-icon-button-small{width:28px;height:28px}.paraui-button-split{display:inline-block}.paraui-button-split .paraui-button{height:34px}.paraui-button-split .paraui-button:hover{border-color:rgba(54,102,214,0.8)}.paraui-button-split .paraui-button-split--active{color:#3666d6;border-color:rgba(54,102,214,0.8);box-shadow:none;background-color:#fff}.paraui-button-split-list{padding:8px 0;margin-top:8px;border-radius:8px;box-shadow:0px 2px 8px 0px rgba(171,176,185,0.4);background-color:#fff}.paraui-button-split-list ul .split-li{min-width:140px;padding:11px 12px;color:#2e3743;font-size:14px;line-height:1;cursor:pointer;transition:background-color .3s, color .3s}.paraui-button-split-list ul .split-li:hover{background-color:rgba(171,176,185,0.121569)}.paraui-button-split-list ul .split-li.split-li--active{color:#3666d6}.paraui-button-split-list ul .split-li.split-li--active:hover{background-color:rgba(171,176,185,0.121569)}.paraui-button-split-list ul .split-li-group:not(:first-child){position:relative;margin-top:16px}.paraui-button-split-list ul .split-li-group:not(:first-child):before{content:'';position:absolute;top:-8px;left:8px;right:8px;border-top:1px solid rgba(171,176,185,0.2)}
|
|
6
|
+
|
|
7
|
+
.paraui-auto-tips{max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-auto-tips>.auto-tips-content{display:inline;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
8
|
+
|
|
9
|
+
.paraui-radio{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400;cursor:pointer;display:inline-flex;align-items:center;line-height:14px}.paraui-radio:hover>.paraui-radio-label{color:#3666d6}.paraui-radio:hover>.paraui-radio-box>.paraui-radio-box-inner{border-color:#3666d6}.paraui-radio>.paraui-radio-box{position:relative}.paraui-radio>.paraui-radio-box>input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;opacity:0;cursor:pointer}.paraui-radio>.paraui-radio-box>.paraui-radio-box-inner{position:relative;top:0;left:0;display:block;background-color:white;border:1px solid rgba(171,176,185,0.4);border-radius:50%;background-color:white}.paraui-radio>.paraui-radio-box>.paraui-radio-box-inner:after{position:absolute;display:table;content:" ";transform:scale(1) translate(-50%, -50%);width:6px;height:6px;border-radius:50%;left:50%;top:50%}.paraui-radio>.paraui-radio-label{color:#2e3743;padding:0 8px}.paraui-radio.radio-checked>.paraui-radio-box>.paraui-radio-box-inner{border-color:#3666d6}.paraui-radio.radio-checked>.paraui-radio-box>.paraui-radio-box-inner:after{background-color:#3666d6}.paraui-radio.radio-checked>.paraui-radio-label{color:#3666d6}.paraui-radio.radio-disabled{cursor:not-allowed}.paraui-radio.radio-disabled>.paraui-radio-label{color:rgba(46,55,67,0.4)}.paraui-radio.radio-disabled>.paraui-radio-box>input{cursor:not-allowed}.paraui-radio.radio-disabled>.paraui-radio-box>.paraui-radio-box-inner{background-color:rgba(171,176,185,0.121569);border-color:rgba(171,176,185,0.4)}.paraui-radio.radio-disabled.radio-checked>.paraui-radio-box>.paraui-radio-box-inner:after{background-color:rgba(46,55,67,0.4)}.paraui-radio.radio-small>.paraui-radio-box>.paraui-radio-box-inner{width:14px;height:14px}.paraui-radio.radio-medium>.paraui-radio-box>.paraui-radio-box-inner{width:16px;height:16px}.paraui-radio.radio-large>.paraui-radio-box>.paraui-radio-box-inner{width:16px;height:16px}
|
|
10
|
+
|
|
11
|
+
.paraui-select{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400;padding-bottom:20px;display:inline-block;vertical-align:top;width:100%}.paraui-select>.select-label{display:inline-block;margin-bottom:8px;color:rgba(46,55,67,0.701961)}.paraui-select>.select-label>.select-required{margin-left:2px;color:#eb6054}.paraui-select>.select-content{line-height:0;border:1px solid;border-radius:8px;border-color:rgba(171,176,185,0.4);padding-right:40px;position:relative;cursor:pointer}.paraui-select>.select-content:hover{border-color:#3666d6}.paraui-select>.select-content:hover>.select-svg>svg{color:#3666d6}.paraui-select>.select-content>.select-label-placeholder{width:100%;height:100%;padding:0 12px;color:rgba(46,55,67,0.4);display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;position:absolute;left:0;top:0;z-index:1}.paraui-select>.select-content>.select-label-placeholder>.select-required{margin-left:2px;color:#eb6054}.paraui-select>.select-content>.select-svg{position:absolute;right:12px;top:0;z-index:2}.paraui-select>.select-content>.select-svg>svg{font-size:20px;transition:all .3s;color:rgba(46,55,67,0.701961)}.paraui-select>.select-content>.radio-select-content{padding-left:12px;font-size:14px;line-height:16px}.paraui-select>.select-content>.radio-search-outside{position:absolute;top:0;left:0;width:100%;height:100%;padding:0 30px 0 10px;font-size:14px;cursor:pointer;color:#2e3743;border:0;border-radius:8px;background:transparent}.paraui-select>.select-content>.check-select-content{padding-left:12px;height:100%;overflow:hidden}.paraui-select>.select-content>.check-select-content>.check-select-content-item{display:inline-block;background-color:rgba(171,176,185,0.2);border-radius:4px;padding:0 12px 0 12px;color:#2e3743;margin-right:8px;vertical-align:top;max-width:100%;white-space:nowrap}.paraui-select>.select-content>.check-select-content>.check-select-content-item.check-select-content-item-more{cursor:pointer;color:#2e3743}.paraui-select>.select-content>.check-select-content>.check-select-content-item.check-select-content-item-more>span{max-width:none}.paraui-select>.select-content>.check-select-content>.check-select-content-item>span{display:inline-block;height:100%;vertical-align:top;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis}.paraui-select>.select-content>.check-select-content>.check-select-content-item>svg{cursor:pointer;margin-left:8px;color:#2e3743;font-size:16px;position:relative}.paraui-select>.select-content>.check-select-content>.check-select-content-item>svg:hover{color:#3666d6}.paraui-select>.select-content>.check-select-content>.check-select-content-item.check-select-content-item-noclose>span{max-width:none}.paraui-select>.select-content>.check-select-content>.check-search-outside{width:10px;max-width:100% !important;display:none;border:0;color:#2e3743;font-size:14px;cursor:pointer}.paraui-select>.select-error-text{margin:8px 0 0 0;padding-left:12px;line-height:1}.paraui-select.select-disabled>.select-content{background-color:rgba(171,176,185,0.121569);cursor:not-allowed}.paraui-select.select-disabled>.select-content:hover{border-color:rgba(171,176,185,0.4)}.paraui-select.select-disabled>.select-content:hover>.select-svg>svg{color:rgba(46,55,67,0.701961)}.paraui-select.select-disabled>.select-content>.check-select-content>.check-select-content-item>span{max-width:100%}.paraui-select.select-error>.select-content{border-color:#eb6054 !important}.paraui-select.select-error>.select-error-text{color:#eb6054}.paraui-select.select-open>.select-content{border-color:#3666d6}.paraui-select.select-open>.select-content>.select-svg>svg{transform:rotate(180deg);color:#3666d6}.paraui-select.select-open>.select-content>.check-select-content>.check-search-outside{display:inline-block}.paraui-select.select-small>.select-content{height:28px}.paraui-select.select-small>.select-content>.select-label-placeholder{line-height:26px}.paraui-select.select-small>.select-content>.select-svg{top:3px}.paraui-select.select-small>.select-content>.radio-select-content{padding-bottom:5px;padding-top:5px}.paraui-select.select-small>.select-content>.check-select-content{padding-bottom:3px}.paraui-select.select-small>.select-content>.check-select-content>.check-select-content-item{margin-top:3px;height:20px;line-height:20px}.paraui-select.select-small>.select-content>.check-select-content>.check-select-content-item>svg{top:2px}.paraui-select.select-small>.select-content>.check-select-content>.check-search-outside{margin-top:3px;height:20px}.paraui-select.select-medium>.select-content{height:32px}.paraui-select.select-medium>.select-content>.select-label-placeholder{line-height:30px}.paraui-select.select-medium>.select-content>.select-svg{top:6px}.paraui-select.select-medium>.select-content>.radio-select-content{padding-bottom:7px;padding-top:7px}.paraui-select.select-medium>.select-content>.check-select-content{padding-bottom:4px}.paraui-select.select-medium>.select-content>.check-select-content>.check-select-content-item{margin-top:4px;height:22px;line-height:22px}.paraui-select.select-medium>.select-content>.check-select-content>.check-select-content-item>svg{top:3px}.paraui-select.select-medium>.select-content>.check-select-content>.check-search-outside{margin-top:4px;height:22px}.paraui-select.select-large>.select-content{height:36px}.paraui-select.select-large>.select-content>.select-label-placeholder{line-height:34px}.paraui-select.select-large>.select-content>.select-svg{top:8px}.paraui-select.select-large>.select-content>.radio-select-content{padding-bottom:9px;padding-top:9px}.paraui-select.select-large>.select-content>.check-select-content{padding-bottom:5px}.paraui-select.select-large>.select-content>.check-select-content>.check-select-content-item{margin-top:5px;height:24px;line-height:24px}.paraui-select.select-large>.select-content>.check-select-content>.check-select-content-item>svg{top:3px}.paraui-select.select-large>.select-content>.check-select-content>.check-search-outside{margin-top:5px;height:24px}.paraui-select.select-over-line.select-small>.select-content{height:inherit;min-height:28px}.paraui-select.select-over-line.select-medium>.select-content{height:inherit;min-height:32px}.paraui-select.select-over-line.select-large>.select-content{height:inherit;min-height:36px}.paraui-select-popover>div{max-width:none;padding:0;background-color:white;box-shadow:0px 2px 8px 0px rgba(171,176,185,0.4);border-radius:8px}.paraui-select-popover>div>span{color:white}.paraui-select-popover>div .select-popover-content>.select-popover-search{display:flex;align-items:center;padding:0 12px;border-bottom:1px solid;border-color:rgba(171,176,185,0.2)}.paraui-select-popover>div .select-popover-content>.select-popover-search>input{border:0;outline:none;font-size:14px;color:#2e3743;width:100%}.paraui-select-popover>div .select-popover-content>.select-popover-search>input::placeholder{font-size:14px;opacity:1;color:rgba(46,55,67,0.4)}.paraui-select-popover>div .select-popover-content>.select-popover-search>svg{color:rgba(46,55,67,0.4);font-size:20px;cursor:pointer}.paraui-select-popover>div .select-popover-content>.select-popover-list{max-height:200px;overflow:auto}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item{display:flex;cursor:pointer;padding:0 12px;align-items:center}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item>.select-popover-list-item-label{width:calc(100% - 25px);color:#2e3743;font-size:14px}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item>.select-popover-list-item-svg{line-height:0;display:none}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item>.select-popover-list-item-svg>svg{font-size:20px;color:#3666d6}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-select>.select-popover-list-item-label{color:#3666d6}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-select>.select-popover-list-item-svg{display:inline-block}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-hover{background-color:rgba(171,176,185,0.121569)}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-hover>.select-popover-list-item-label{color:#3666d6}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-keydown{background-color:rgba(171,176,185,0.121569)}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-keydown>.select-popover-list-item-label{color:#3666d6}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-disabled{background-color:rgba(171,176,185,0.121569) !important;cursor:not-allowed}.paraui-select-popover>div .select-popover-content>.select-popover-list .select-popover-list-item.select-popover-list-item-disabled>.select-popover-list-item-label{color:#2e3743 !important}.paraui-select-popover>div .select-popover-content>.select-popover-list>.select-popover-list-group .select-popover-list-group-label{display:inline-block;width:100%;padding:0 12px;color:rgba(46,55,67,0.4);font-size:14px}.paraui-select-popover>div .select-popover-content>.select-popover-list>.select-popover-list-group .select-popover-list-item{padding-left:20px}.paraui-select-popover>div .select-popover-content>.select-popover-list>.select-nodata{text-align:center;font-size:14px;color:#2e3743;padding:10px}.paraui-select-popover.paraui-select-popover-radio>div .select-popover-content>.select-popover-list .select-popover-list-item>.select-popover-list-item-label{width:100%}.paraui-select-popover.paraui-select-popover-small>div .select-popover-content>.select-popover-search{height:28px}.paraui-select-popover.paraui-select-popover-small>div .select-popover-content>.select-popover-list .select-popover-list-item{line-height:28px}.paraui-select-popover.paraui-select-popover-small>div .select-popover-content>.select-popover-list>.select-popover-list-group .select-popover-list-group-label{line-height:28px}.paraui-select-popover.paraui-select-popover-medium>div .select-popover-content>.select-popover-search{height:32px}.paraui-select-popover.paraui-select-popover-medium>div .select-popover-content>.select-popover-list .select-popover-list-item{line-height:32px}.paraui-select-popover.paraui-select-popover-medium>div .select-popover-content>.select-popover-list>.select-popover-list-group .select-popover-list-group-label{line-height:32px}.paraui-select-popover.paraui-select-popover-large>div .select-popover-content>.select-popover-search{height:36px}.paraui-select-popover.paraui-select-popover-large>div .select-popover-content>.select-popover-list .select-popover-list-item{line-height:36px}.paraui-select-popover.paraui-select-popover-large>div .select-popover-content>.select-popover-list>.select-popover-list-group .select-popover-list-group-label{line-height:36px}.paraui-select-more-popover>div:nth-of-type(3),.paraui-select-more-popover>div:nth-of-type(2){margin-left:20px}.paraui-select-more-popover .select-more{width:300px}.paraui-select-more-popover .select-more>.select-more-title{font-size:14px;padding:0 12px;color:rgba(46,55,67,0.701961)}.paraui-select-more-popover .select-more>.select-more-content{max-height:300px;overflow:auto}.paraui-select-more-popover .select-more>.select-more-content>.select-more-content-item{padding:0 12px;display:flex;justify-content:space-around;align-items:center}.paraui-select-more-popover .select-more>.select-more-content>.select-more-content-item>span{width:calc(100% - 25px);display:inline-block;font-size:14px}.paraui-select-more-popover .select-more>.select-more-content>.select-more-content-item>svg{font-size:20px;position:relative;cursor:pointer;color:#2e3743}.paraui-select-more-popover .select-more>.select-more-content>.select-more-content-item>svg:hover{color:#3666d6}.paraui-select-more-popover.paraui-select-more-popover-small .select-more>.select-more-title{line-height:28px}.paraui-select-more-popover.paraui-select-more-popover-small .select-more>.select-more-content>.select-more-content-item{line-height:28px}.paraui-select-more-popover.paraui-select-more-popover-medium .select-more>.select-more-title{line-height:32px}.paraui-select-more-popover.paraui-select-more-popover-medium .select-more>.select-more-content>.select-more-content-item{line-height:32px}.paraui-select-more-popover.paraui-select-more-popover-large .select-more>.select-more-title{line-height:36px}.paraui-select-more-popover.paraui-select-more-popover-large .select-more>.select-more-content>.select-more-content-item{line-height:36px}
|
|
12
|
+
|
|
13
|
+
@keyframes rotateLoading{0%{transformOrigin:50% 50%}100%{transform:rotate(360deg)}}.paraui-loading{position:absolute;left:0;top:0;width:100%;height:100%}.paraui-loading .paraui-loading-mask{position:absolute;width:100%;height:100%;background-color:white;z-index:1}.paraui-loading .paraui-loading-box{position:absolute;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:2}.paraui-loading .paraui-loading-box>svg{transition:all .3s ease-in-out;animation:rotateLoading 1s infinite linear;font-size:20px}
|
|
14
|
+
|
|
15
|
+
.paraui-text-field{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400;display:inline-block;width:100%;padding-bottom:20px}.paraui-text-field>.text-field-label{color:rgba(46,55,67,0.701961);margin-bottom:8px;display:inline-block}.paraui-text-field>.text-field-label>.text-field-required{margin-left:2px;color:#eb6054}.paraui-text-field>.text-field-content{border:1px solid;border-radius:8px;border-color:rgba(171,176,185,0.4);display:flex;width:100%;position:relative}.paraui-text-field>.text-field-content:hover{border-color:#3666d6}.paraui-text-field>.text-field-content>.text-field-content-before{color:#2e3743;padding:0 12px;border-right:1px solid rgba(171,176,185,0.4);background-color:rgba(171,176,185,0.121569);border-bottom-left-radius:8px;border-top-left-radius:8px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-before svg{font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within{position:relative;width:100%;display:flex}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon{display:flex;height:100%;align-items:center;margin-right:12px;cursor:pointer;color:rgba(46,55,67,0.701961);position:relative;z-index:1}.paraui-text-field>.text-field-content>.text-field-content-within>.right-icon svg{color:rgba(46,55,67,0.701961);font-size:20px}.paraui-text-field>.text-field-content>.text-field-content-within>.length-limit{display:flex;height:100%;align-items:center;margin-right:12px;color:rgba(46,55,67,0.701961)}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input{width:100%;line-height:0}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-outer-spin-button,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input::-webkit-inner-spin-button{-webkit-appearance:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input input[type="number"]{-moz-appearance:textfield}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{width:100%;height:100%}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{width:100% !important;padding:12px}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{font-size:14px;color:#2e3743;border:0;border-radius:8px}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-clear,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-clear{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input::-ms-reveal,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea::-ms-reveal{display:none}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>input:disabled,.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea:disabled{background-color:transparent}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{width:100%;position:absolute;left:0;top:0;height:100%;padding:0 12px;color:rgba(46,55,67,0.4);cursor:text;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.paraui-text-field>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder>.text-field-required{margin-left:2px;color:#eb6054}.paraui-text-field>.text-field-content>.text-field-content-after{color:#2e3743;padding:0 12px;border-left:1px solid rgba(171,176,185,0.4);background-color:rgba(171,176,185,0.121569);border-bottom-right-radius:8px;border-top-right-radius:8px;white-space:nowrap;display:flex;align-items:center}.paraui-text-field>.text-field-content>.text-field-content-after svg{font-size:20px}.paraui-text-field>.text-field-error-text{margin:8px 0 0 0;padding-left:12px;line-height:1}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.length-limit{height:14px;position:absolute;right:0;bottom:8px}.paraui-text-field.text-field-multiline>.text-field-content .text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{padding-top:12px;line-height:1;height:calc(100% - 14px)}.paraui-text-field.text-field-disabled>.text-field-content{background-color:rgba(171,176,185,0.121569)}.paraui-text-field.text-field-disabled>.text-field-content:hover{border-color:rgba(171,176,185,0.4)}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-before{background-color:transparent}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>input,.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-within>.text-field-content-within-input>textarea{cursor:not-allowed}.paraui-text-field.text-field-disabled>.text-field-content>.text-field-content-after{background-color:transparent}.paraui-text-field.text-field-error>.text-field-error-text{color:#eb6054}.paraui-text-field.text-field-error>.text-field-content{border-color:#eb6054}.paraui-text-field.text-field-error>.text-field-content:hover{border-color:#eb6054}.paraui-text-field.text-field-limit>.text-field-content{border-color:#eb6054 !important}.paraui-text-field.text-field-limit>.text-field-content:hover{border-color:#eb6054 !important}.paraui-text-field.text-field-focus>.text-field-content{border-color:#3666d6}.paraui-text-field.text-field-small>.text-field-content{height:28px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-before{line-height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:26px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:6px 12px}.paraui-text-field.text-field-small>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:26px}.paraui-text-field.text-field-small>.text-field-content .text-field-content-after{line-height:26px}.paraui-text-field.text-field-medium>.text-field-content{height:32px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-before{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:30px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:8px 12px}.paraui-text-field.text-field-medium>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:30px}.paraui-text-field.text-field-medium>.text-field-content .text-field-content-after{line-height:30px}.paraui-text-field.text-field-large>.text-field-content{height:36px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-before{line-height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input{height:34px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>input{padding:10px 12px}.paraui-text-field.text-field-large>.text-field-content>.text-field-content-within>.text-field-content-within-input>.text-field-label-placeholder{line-height:34px}.paraui-text-field.text-field-large>.text-field-content .text-field-content-after{line-height:34px}.paraui-text-field-select>div{max-width:none;padding:0;background-color:white;box-shadow:0px 2px 8px 0px rgba(171,176,185,0.4);border-radius:8px;font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400}.paraui-text-field-select>div>span{color:white}.paraui-text-field-select>div .text-field-select-content{max-height:300px;overflow:auto}.paraui-text-field-select>div .text-field-select-content>.text-field-select-content-item{display:flex;cursor:pointer;color:#2e3743;padding:0 12px}.paraui-text-field-select>div .text-field-select-content>.text-field-select-content-item:hover{background-color:rgba(171,176,185,0.121569);color:#3666d6}.paraui-text-field-select>div .text-field-select-content>.text-field-select-content-item.text-field-select-content-item-keydown{background-color:rgba(171,176,185,0.121569);color:#3666d6}.paraui-text-field-select>div .text-field-select-content.text-field-select-content-loading{height:100px;position:relative;overflow:hidden}.paraui-text-field-select.paraui-text-field-select-small>div .text-field-select-content>.text-field-select-content-item{line-height:28px}.paraui-text-field-select.paraui-text-field-select-medium>div .text-field-select-content>.text-field-select-content-item{line-height:32px}.paraui-text-field-select.paraui-text-field-select-large>div .text-field-select-content>.text-field-select-content-item{line-height:36px}
|
|
16
|
+
|
|
17
|
+
.paraui-pagination{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;color:rgba(46,55,67,0.701961)}.paraui-pagination>div{display:inline-block;vertical-align:middle}.paraui-pagination>.total-num{margin-right:24px}.paraui-pagination>.current-page{margin-right:24px}.paraui-pagination>.current-page>.current-page-num{color:#2e3743;margin-right:4px;margin-left:4px}.paraui-pagination>.current-page>.current-page-sign{margin-right:3px}.paraui-pagination>.page-line-memo{margin-right:24px}.paraui-pagination>.page-line-memo>span{display:inline-block;margin-right:8px;vertical-align:middle}.paraui-pagination>.page-line-memo .paraui-select{padding-bottom:0;min-width:80px;width:inherit;vertical-align:middle}.paraui-pagination>.pagination-content{border:1px solid rgba(171,176,185,0.4);border-radius:8px;height:32px;line-height:30px;padding:0 12px}.paraui-pagination>.pagination-content>.left-page,.paraui-pagination>.pagination-content>.right-page{display:inline-block}.paraui-pagination>.pagination-content>.left-page>div,.paraui-pagination>.pagination-content>.right-page>div{display:inline-block;line-height:0;vertical-align:middle;cursor:pointer;width:20px;height:20px;border-radius:2px;margin-right:8px}.paraui-pagination>.pagination-content>.left-page>div.disabled-btn,.paraui-pagination>.pagination-content>.right-page>div.disabled-btn{cursor:not-allowed}.paraui-pagination>.pagination-content>.left-page>div.disabled-btn>svg,.paraui-pagination>.pagination-content>.right-page>div.disabled-btn>svg{color:rgba(46,55,67,0.4)}.paraui-pagination>.pagination-content>.left-page>div.disabled-btn:hover,.paraui-pagination>.pagination-content>.right-page>div.disabled-btn:hover{background-color:white}.paraui-pagination>.pagination-content>.left-page>div.disabled-btn:hover>svg,.paraui-pagination>.pagination-content>.right-page>div.disabled-btn:hover>svg{color:rgba(46,55,67,0.701961)}.paraui-pagination>.pagination-content>.left-page>div:last-child,.paraui-pagination>.pagination-content>.right-page>div:last-child{margin-right:0}.paraui-pagination>.pagination-content>.left-page>div:hover,.paraui-pagination>.pagination-content>.right-page>div:hover{background-color:rgba(171,176,185,0.121569)}.paraui-pagination>.pagination-content>.left-page>div:hover>svg,.paraui-pagination>.pagination-content>.right-page>div:hover>svg{color:#3666d6}.paraui-pagination>.pagination-content>.left-page>div>svg,.paraui-pagination>.pagination-content>.right-page>div>svg{font-size:16px;position:relative;top:2px;left:2px;color:rgba(46,55,67,0.701961)}.paraui-pagination>.pagination-content>.left-page{margin-right:8px}.paraui-pagination>.pagination-content>.rc-pagination{height:100%;display:inline-block;box-shadow:none}.paraui-pagination>.pagination-content>.rc-pagination>li{min-width:20px;height:20px;line-height:20px;display:inline-block;text-align:center;vertical-align:middle;cursor:pointer;border-radius:2px;padding:0 5px;margin:0 3px}.paraui-pagination>.pagination-content>.rc-pagination>li:first-child,.paraui-pagination>.pagination-content>.rc-pagination>li:last-child{display:none}.paraui-pagination>.pagination-content>.rc-pagination>li.rc-pagination-next{display:none}.paraui-pagination>.pagination-content>.rc-pagination>li:hover{background-color:rgba(171,176,185,0.121569);color:#3666d6}.paraui-pagination>.pagination-content>.rc-pagination>li.rc-pagination-item-active{background-color:rgba(171,176,185,0.121569);color:#3666d6}.paraui-pagination>.pagination-content>.right-page{margin-left:8px}.paraui-pagination>.skip-page-memo{margin-left:24px}.paraui-pagination>.skip-page-memo>span{margin-right:8px}.paraui-pagination>.skip-page-memo>.paraui-text-field{width:58px;padding-bottom:0}.paraui-pagination>.skip-page-memo>.paraui-text-field .right-icon{margin-right:8px}.paraui-pagination>.skip-page-memo>.paraui-text-field .text-field-content .text-field-content-within .text-field-content-within-input input{padding-left:8px;padding-right:4px}.paraui-pagination>.skip-page-memo>.paraui-text-field .text-field-content .text-field-content-within .text-field-content-within-input .text-field-label-placeholder{padding:0 8px}
|
|
18
|
+
|
|
19
|
+
.paraui-table{width:100%;height:100%;display:inline-block;overflow:auto;background-color:white;font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400}.paraui-table>.table-contain{height:100%;position:relative}.paraui-table>.table-contain .table-checkbox{width:52px;padding:0px}.paraui-table>.table-contain .table-checkbox>label{vertical-align:middle}.paraui-table>.table-contain .table-radio{width:40px;padding:0;vertical-align:middle}.paraui-table>.table-contain .table-radio>label{vertical-align:middle}.paraui-table>.table-contain .table-expandable{width:40px;padding:0}.paraui-table>.table-contain .table-expandable>svg{vertical-align:middle}.paraui-table>.table-contain>table>.table-head{width:100%;height:50px;white-space:nowrap}.paraui-table>.table-contain>table>.table-head.table-head-scroll tr th{max-width:240px}.paraui-table>.table-contain>table>.table-head tr{height:100%}.paraui-table>.table-contain>table>.table-head tr th{padding:0;font-weight:700;font-size:14px;background-color:#F8F9FB;border-color:rgba(171,176,185,0.121569)}.paraui-table>.table-contain>table>.table-head tr th:hover{background-color:#EDF1F9}.paraui-table>.table-contain>table>.table-head .table-header-box{height:49px;line-height:49px;position:relative;padding:0 10px}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title{height:100%}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title>span{height:100%;display:inline-block}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title>.table-header-title-label{width:100%;color:rgba(46,55,67,0.701961);font-weight:700;font-size:14px}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title>.table-sort-svg{line-height:0;width:12px;margin-left:5px;white-space:pre-wrap;vertical-align:top;height:inherit;padding-top:15px}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title>.table-sort-svg>svg{font-size:12px;color:rgba(46,55,67,0.701961)}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title>.table-sort-svg>.up-svg{position:relative}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-title>.table-sort-svg>.down-svg{position:relative;top:-5px}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter{position:absolute;right:0;top:0;cursor:pointer;width:28px}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter.table-header-filter-select>svg{color:#3666d6}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter.table-header-filter-show{background-color:rgba(54,102,214,0.0509804)}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter.table-header-filter-show>svg{color:#3666d6}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter:hover{background-color:#E3EAF7}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter:hover>svg{color:#3666d6}.paraui-table>.table-contain>table>.table-head .table-header-box>.table-header-filter>svg{font-size:14px;color:rgba(46,55,67,0.701961);margin-left:7px;position:relative;top:2px}.paraui-table>.table-contain>table>.table-head .table-header-box.table-header-box-sort{cursor:pointer}.paraui-table>.table-contain>table>.table-head .table-header-box.table-header-box-sort>.table-header-title>.table-header-title-label{max-width:calc(100% - 18px);width:auto}.paraui-table>.table-contain>table>.table-head .table-header-box.table-header-box-filter>.table-header-title{margin-right:18px}.paraui-table>.table-contain>table>.table-head .table-header-box.table-header-box-sort-asc>.table-header-title>.table-sort-svg>.up-svg{color:#3666d6}.paraui-table>.table-contain>table>.table-head .table-header-box.table-header-box-sort-desc>.table-header-title>.table-sort-svg>.down-svg{color:#3666d6}.paraui-table>.table-contain>table>.table-head .show-colums{width:56px;cursor:pointer;border-left:1px solid rgba(171,176,185,0.121569)}.paraui-table>.table-contain>table>.table-head .show-colums>svg{font-size:24px;color:rgba(46,55,67,0.701961);position:relative;top:5px}.paraui-table>.table-contain>table>.table-head .show-colums:hover>svg{color:#3666d6}.paraui-table>.table-contain>table>.table-head.table-head-outside tr th{background-color:white}.paraui-table>.table-contain>table>.table-head.table-head-outside .table-header-box>.table-header-filter{background-color:white}.paraui-table>.table-contain>table>.table-body{width:100%}.paraui-table>.table-contain>table>.table-body.table-body-scroll tr td{max-width:240px}.paraui-table>.table-contain>table>.table-body tr{height:56px}.paraui-table>.table-contain>table>.table-body tr:nth-of-type(2n){background-color:rgba(248,249,251,0.8)}.paraui-table>.table-contain>table>.table-body tr:hover{background-color:rgba(54,102,214,0.0509804)}.paraui-table>.table-contain>table>.table-body tr td{padding:0 10px;fontWeight:400;font-size:14px;white-space:nowrap;border:0}.paraui-table>.table-contain>table>.table-body tr .table-expandable>svg{transition:all .3s;cursor:pointer;font-size:14px;color:rgba(46,55,67,0.701961)}.paraui-table>.table-contain>table>.table-body tr .table-expandable>svg:hover{color:#3666d6}.paraui-table>.table-contain>table>.table-body tr .table-expandable>.expand{transform:rotate(180deg);color:#3666d6}.paraui-table>.table-contain>table>.table-body .more-table-row{cursor:pointer}.paraui-table>.table-contain>table>.table-body .more-table-row .more-btn{color:#3666d6;font-size:14px}.paraui-table>.paraui-table-pagination{width:100%;height:60px;padding-right:10px;display:flex;align-items:flex-end;justify-content:flex-end}.paraui-table.table-pagination>.table-contain{height:calc(100% - 60px)}.paraui-table.table-columns-outside.table-pagination>.table-contain{height:calc(100% - 60px - 50px)}.paraui-table-show-colums-popover{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400}.paraui-table-show-colums-popover>div:nth-of-type(3),.paraui-table-show-colums-popover>div:nth-of-type(2){margin-top:5px;width:200px}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item{height:36px;line-height:36px;cursor:pointer;display:flex;padding:0 4px}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item>label,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item>label{width:32px;display:flex;justify-content:center}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item>span,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item>span{color:rgba(46,55,67,0.701961);font-size:14px;display:inline-block;width:calc(100% - 32px)}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item:hover>span,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item:hover>span{color:#3666d6}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item:hover>label .rc-checkbox-inner,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item:hover>label .rc-checkbox-inner{border-color:#3666d6}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item.show-colums-select-item-select>span,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item.show-colums-select-item-select>span{color:#3666d6}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-box>.show-colums-select-item.show-colums-select-item-select>label .rc-checkbox-inner,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-box>.show-colums-select-item.show-colums-select-item-select>label .rc-checkbox-inner{border-color:#3666d6}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-footer,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-footer{height:45px;border-top:1px solid rgba(171,176,185,0.2);text-align:center}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-footer>button,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-footer>button{width:100%;height:100%;border:0}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-footer>button>span,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-footer>button>span{font-size:14px}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-footer>button>span>span,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-footer>button>span>span{margin-right:5px}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-footer>button>span>span svg,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-footer>button>span>span svg{font-size:14px;color:rgba(46,55,67,0.701961)}.paraui-table-show-colums-popover>div:nth-of-type(3)>.show-colums-select>.show-colums-select-footer>button:hover>span>span svg,.paraui-table-show-colums-popover>div:nth-of-type(2)>.show-colums-select>.show-colums-select-footer>button:hover>span>span svg{color:#3666d6}.paraui-filter-popover{font-family:Source Han Sans CN,Source Han Sans CN-Regular;font-size:14px;font-weight:400}.paraui-filter-popover>div:nth-of-type(3),.paraui-filter-popover>div:nth-of-type(2){margin-top:5px;width:200px}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item{height:36px;line-height:36px;cursor:pointer;display:flex;padding:0 4px}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item>label,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item>label{width:32px;display:flex;justify-content:center}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item>span,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item>span{color:rgba(46,55,67,0.701961);font-size:14px;display:inline-block;width:calc(100% - 32px)}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item:hover>span,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item:hover>span{color:#3666d6}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item:hover>label .rc-checkbox-inner,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item:hover>label .rc-checkbox-inner{border-color:#3666d6}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item.filter-select-item-select>span,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item.filter-select-item-select>span{color:#3666d6}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-box>.filter-select-item.filter-select-item-select>label .rc-checkbox-inner,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-box>.filter-select-item.filter-select-item-select>label .rc-checkbox-inner{border-color:#3666d6}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-footer,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-footer{height:45px;border-top:1px solid rgba(171,176,185,0.2);text-align:center}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-footer>button,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-footer>button{width:50%;height:100%;border:0}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-footer>button>span,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-footer>button>span{font-size:14px}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-footer>button>span>span,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-footer>button>span>span{margin-right:5px}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-footer>button>span>span svg,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-footer>button>span>span svg{font-size:14px;color:rgba(46,55,67,0.701961)}.paraui-filter-popover>div:nth-of-type(3)>.filter-select>.filter-select-footer>button:hover>span>span svg,.paraui-filter-popover>div:nth-of-type(2)>.filter-select>.filter-select-footer>button:hover>span>span svg{color:#3666d6}
|
|
20
|
+
|