UNPKG

@ywfe/materials-design

Version:
7 lines 611 kB
!function e(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("React"),require("YwDesign"),require("_"),require("moment"),require("ReactDOM"),require("icons"),require("antd")):"function"==typeof define&&define.amd?define(["React","YwDesign","_","moment","ReactDOM","icons","antd"],n):"object"==typeof exports?exports.YwDesignLowcode=n(require("React"),require("YwDesign"),require("_"),require("moment"),require("ReactDOM"),require("icons"),require("antd")):t.YwDesignLowcode=n(t.React,t.YwDesign,t._,t.moment,t.ReactDOM,t.icons,t.antd)}(window,(function(e,t,n,r,i,o,a){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function t(){return e.default}:function t(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=201)}({0:function(t,n){t.exports=e},16:function(e,t,n){(function(e){ /*! * @ywfe/ywd v0.10.55 * (c) 2023 @$ * Released under the MIT */ !function(e,r){r(t,n(0),n(202),n(166),n(34),n(204),n(208),n(209),n(25))}(this,(function(t,n,r,i,o,a,u,c,s){"use strict";function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f,p,d,h,m,g,y,v,b,w,x,k,S,E,O,P,j,T,R,C,I,A=l(n),_=l(r),N=l(o),M=l(u),D=l(s);function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t,n,r,i,o,a){try{var u=e[o](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,i)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){U(o,r,i,a,u,"next",e)}function u(e){U(o,r,i,a,u,"throw",e)}a(void 0)}))}}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function H(e,t,n){return t&&$(e.prototype,t),n&&$(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&X(e,t)}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function G(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return J(e)}function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=V(e);if(t){var i=V(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}function Q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ee(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}}(e,t)||ne(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function te(e){return function(e){if(Array.isArray(e))return re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){if(e){if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?re(e,t):void 0}}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ie=_.default(i.Table)(f||(f=Q(["\n&&& {\n clear: both;\n}\n"]))),oe=_.default(i.Space)(p||(p=Q(["\n&&& {\n clear: both;\n}\n"]))),ae=_.default(i.Form)(d||(d=Q(["\n&&& {\n clear: both;\n}\n"]))),ue=i.Form.Item,ce=_.default(ue)(h||(h=Q(["\n&&& {\n clear: both;\n}\n"]))),se=_.default(i.Input)(m||(m=Q(["\n&&& {\n clear: both;\n}\n"]))),le=_.default(i.InputNumber)(g||(g=Q(["\n&&& {\n clear: both;\n}\n"]))),fe=_.default(i.Button)(y||(y=Q(["\n&&& {\n clear: both;\n}\n"]))),pe=_.default(i.Row)(v||(v=Q(["\n&&& {\n clear: both;\n}\n"]))),de=_.default(i.Col)(b||(b=Q(["\n&&& {\n clear: both;\n}\n"])));_.default(i.Tabs)(w||(w=Q(["\n&&& {\n clear: both;\n}\n"]))),_.default(i.Dropdown)(x||(x=Q(["\n&&& {\n clear: both;\n}\n"]))),_.default(i.Menu)(k||(k=Q(["\n&&& {\n clear: both;\n}\n"])));var he,me=_.default(i.Tag)(S||(S=Q(["\n&&& {\n clear: both;\n}\n"]))),ge=_.default(i.Checkbox)(E||(E=Q(["\n&&& {\n clear: both;\n}\n"]))),ye=i.Checkbox.Group,ve=_.default(ye)(O||(O=Q(["\n&&& {\n clear: both;\n}\n"]))),be=_.default(i.DatePicker)(P||(P=Q(["\n&&& {\n clear: both;\n}\n"]))),we=_.default(i.TimePicker)(j||(j=Q(["\n&&& {\n clear: both;\n}\n"]))),xe=_.default(i.Select)(T||(T=Q(["\n&&& {\n clear: both;\n}\n"]))),ke=_.default(i.Radio)(R||(R=Q(["\n&&& {\n clear: both;\n}\n"]))),Se=_.default(i.Spin)(C||(C=Q(["\n&&& {\n clear: both;\n}\n"]))),Ee=_.default(i.Modal)(I||(I=Q(["\n&&& {\n clear: both;\n}\n"]))),Oe=_.default.div(he||(he=Q(["\n&&& {\n text-align: center;\n border-radius: 4px;\n margin-bottom: 20px;\n padding: 30px 50px;\n margin: 20px 0;\n}\n"])));function Pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var je={},Te={exports:{}};!function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(Te);var Re={},Ce={};Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.default=void 0,Ce.default={items_per_page:"\u6761/\u9875",jump_to:"\u8df3\u81f3",jump_to_confirm:"\u786e\u5b9a",page:"\u9875",prev_page:"\u4e0a\u4e00\u9875",next_page:"\u4e0b\u4e00\u9875",prev_5:"\u5411\u524d 5 \u9875",next_5:"\u5411\u540e 5 \u9875",prev_3:"\u5411\u524d 3 \u9875",next_3:"\u5411\u540e 3 \u9875",page_size:"\u9875\u7801"};var Ie={},Ae={exports:{}};!function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ae);var _e={};Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=void 0;var Ne={locale:"zh_CN",today:"\u4eca\u5929",now:"\u6b64\u523b",backToToday:"\u8fd4\u56de\u4eca\u5929",ok:"\u786e\u5b9a",timeSelect:"\u9009\u62e9\u65f6\u95f4",dateSelect:"\u9009\u62e9\u65e5\u671f",weekSelect:"\u9009\u62e9\u5468",clear:"\u6e05\u9664",month:"\u6708",year:"\u5e74",previousMonth:"\u4e0a\u4e2a\u6708 (\u7ffb\u9875\u4e0a\u952e)",nextMonth:"\u4e0b\u4e2a\u6708 (\u7ffb\u9875\u4e0b\u952e)",monthSelect:"\u9009\u62e9\u6708\u4efd",yearSelect:"\u9009\u62e9\u5e74\u4efd",decadeSelect:"\u9009\u62e9\u5e74\u4ee3",yearFormat:"YYYY\u5e74",dayFormat:"D\u65e5",dateFormat:"YYYY\u5e74M\u6708D\u65e5",dateTimeFormat:"YYYY\u5e74M\u6708D\u65e5 HH\u65f6mm\u5206ss\u79d2",previousYear:"\u4e0a\u4e00\u5e74 (Control\u952e\u52a0\u5de6\u65b9\u5411\u952e)",nextYear:"\u4e0b\u4e00\u5e74 (Control\u952e\u52a0\u53f3\u65b9\u5411\u952e)",previousDecade:"\u4e0a\u4e00\u5e74\u4ee3",nextDecade:"\u4e0b\u4e00\u5e74\u4ee3",previousCentury:"\u4e0a\u4e00\u4e16\u7eaa",nextCentury:"\u4e0b\u4e00\u4e16\u7eaa"};_e.default=Ne;var Me={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={placeholder:"\u8bf7\u9009\u62e9\u65f6\u95f4",rangePlaceholder:["\u5f00\u59cb\u65f6\u95f4","\u7ed3\u675f\u65f6\u95f4"]};e.default=t}(Me),function(e){var t=Te.exports;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(Ae.exports),r=t(_e),i=t(Me),o={lang:(0,n.default)({placeholder:"\u8bf7\u9009\u62e9\u65e5\u671f",yearPlaceholder:"\u8bf7\u9009\u62e9\u5e74\u4efd",quarterPlaceholder:"\u8bf7\u9009\u62e9\u5b63\u5ea6",monthPlaceholder:"\u8bf7\u9009\u62e9\u6708\u4efd",weekPlaceholder:"\u8bf7\u9009\u62e9\u5468",rangePlaceholder:["\u5f00\u59cb\u65e5\u671f","\u7ed3\u675f\u65e5\u671f"],rangeYearPlaceholder:["\u5f00\u59cb\u5e74\u4efd","\u7ed3\u675f\u5e74\u4efd"],rangeMonthPlaceholder:["\u5f00\u59cb\u6708\u4efd","\u7ed3\u675f\u6708\u4efd"],rangeWeekPlaceholder:["\u5f00\u59cb\u5468","\u7ed3\u675f\u5468"]},r.default),timePickerLocale:(0,n.default)({},i.default)};o.lang.ok="\u786e \u5b9a";var a=o;e.default=a}(Ie);var De={};!function(e){var t=Te.exports;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(Ie).default;e.default=n}(De),function(e){var t=Te.exports;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(Ce),r=t(Ie),i=t(Me),o=t(De),a="${label}\u4e0d\u662f\u4e00\u4e2a\u6709\u6548\u7684${type}",u={locale:"zh-cn",Pagination:n.default,DatePicker:r.default,TimePicker:i.default,Calendar:o.default,global:{placeholder:"\u8bf7\u9009\u62e9"},Table:{filterTitle:"\u7b5b\u9009",filterConfirm:"\u786e\u5b9a",filterReset:"\u91cd\u7f6e",filterEmptyText:"\u65e0\u7b5b\u9009\u9879",selectAll:"\u5168\u9009\u5f53\u9875",selectInvert:"\u53cd\u9009\u5f53\u9875",selectNone:"\u6e05\u7a7a\u6240\u6709",selectionAll:"\u5168\u9009\u6240\u6709",sortTitle:"\u6392\u5e8f",expand:"\u5c55\u5f00\u884c",collapse:"\u5173\u95ed\u884c",triggerDesc:"\u70b9\u51fb\u964d\u5e8f",triggerAsc:"\u70b9\u51fb\u5347\u5e8f",cancelSort:"\u53d6\u6d88\u6392\u5e8f"},Modal:{okText:"\u786e\u5b9a",cancelText:"\u53d6\u6d88",justOkText:"\u77e5\u9053\u4e86"},Popconfirm:{cancelText:"\u53d6\u6d88",okText:"\u786e\u5b9a"},Transfer:{searchPlaceholder:"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9",itemUnit:"\u9879",itemsUnit:"\u9879",remove:"\u5220\u9664",selectCurrent:"\u5168\u9009\u5f53\u9875",removeCurrent:"\u5220\u9664\u5f53\u9875",selectAll:"\u5168\u9009\u6240\u6709",removeAll:"\u5220\u9664\u5168\u90e8",selectInvert:"\u53cd\u9009\u5f53\u9875"},Upload:{uploading:"\u6587\u4ef6\u4e0a\u4f20\u4e2d",removeFile:"\u5220\u9664\u6587\u4ef6",uploadError:"\u4e0a\u4f20\u9519\u8bef",previewFile:"\u9884\u89c8\u6587\u4ef6",downloadFile:"\u4e0b\u8f7d\u6587\u4ef6"},Empty:{description:"\u6682\u65e0\u6570\u636e"},Icon:{icon:"\u56fe\u6807"},Text:{edit:"\u7f16\u8f91",copy:"\u590d\u5236",copied:"\u590d\u5236\u6210\u529f",expand:"\u5c55\u5f00"},PageHeader:{back:"\u8fd4\u56de"},Form:{optional:"\uff08\u53ef\u9009\uff09",defaultValidateMessages:{default:"\u5b57\u6bb5\u9a8c\u8bc1\u9519\u8bef${label}",required:"\u8bf7\u8f93\u5165${label}",enum:"${label}\u5fc5\u987b\u662f\u5176\u4e2d\u4e00\u4e2a[${enum}]",whitespace:"${label}\u4e0d\u80fd\u4e3a\u7a7a\u5b57\u7b26",date:{format:"${label}\u65e5\u671f\u683c\u5f0f\u65e0\u6548",parse:"${label}\u4e0d\u80fd\u8f6c\u6362\u4e3a\u65e5\u671f",invalid:"${label}\u662f\u4e00\u4e2a\u65e0\u6548\u65e5\u671f"},types:{string:a,method:a,array:a,object:a,number:a,date:a,boolean:a,integer:a,float:a,regexp:a,email:a,url:a,hex:a},string:{len:"${label}\u987b\u4e3a${len}\u4e2a\u5b57\u7b26",min:"${label}\u6700\u5c11${min}\u4e2a\u5b57\u7b26",max:"${label}\u6700\u591a${max}\u4e2a\u5b57\u7b26",range:"${label}\u987b\u5728${min}-${max}\u5b57\u7b26\u4e4b\u95f4"},number:{len:"${label}\u5fc5\u987b\u7b49\u4e8e${len}",min:"${label}\u6700\u5c0f\u503c\u4e3a${min}",max:"${label}\u6700\u5927\u503c\u4e3a${max}",range:"${label}\u987b\u5728${min}-${max}\u4e4b\u95f4"},array:{len:"\u987b\u4e3a${len}\u4e2a${label}",min:"\u6700\u5c11${min}\u4e2a${label}",max:"\u6700\u591a${max}\u4e2a${label}",range:"${label}\u6570\u91cf\u987b\u5728${min}-${max}\u4e4b\u95f4"},pattern:{mismatch:"${label}\u4e0e\u6a21\u5f0f\u4e0d\u5339\u914d${pattern}"}}},Image:{preview:"\u9884\u89c8"}};e.default=u}(Re),function(e){var t=Te.exports;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=t(Re).default;e.default=n}(je);var Fe,Le=Pe(je),Be=new Uint8Array(16);function Ue(){if(!Fe&&!(Fe="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Fe(Be)}var ze=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Ye(e){return"string"==typeof e&&ze.test(e)}for(var $e=[],He=0;He<256;++He)$e.push((He+256).toString(16).substr(1));function qe(e,t,n){var r=(e=e||{}).random||(e.rng||Ue)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=($e[e[t+0]]+$e[e[t+1]]+$e[e[t+2]]+$e[e[t+3]]+"-"+$e[e[t+4]]+$e[e[t+5]]+"-"+$e[e[t+6]]+$e[e[t+7]]+"-"+$e[e[t+8]]+$e[e[t+9]]+"-"+$e[e[t+10]]+$e[e[t+11]]+$e[e[t+12]]+$e[e[t+13]]+$e[e[t+14]]+$e[e[t+15]]).toLowerCase();if(!Ye(n))throw TypeError("Stringified UUID is invalid");return n}(r)}var We,Ve=n.createContext(null),Xe=function(){return n.useContext(Ve)},Ge="\u8bf7\u8f93\u5165",Je=992,Ke=768,Ze="__@__",Qe="_@_@_@_",et=5,tt=1,nt=20,rt="pageIndex",it="pageSize",ot=72,at=function(){var e=Xe(),t=e.store,n=e.request,r=e.filters,i=e.defaultTableParams,o=e.onBeforeRequest,a=e.onAfterRequest,u=ee(t(),2)[1],c;return{filterFetchData:function(){var e=z(regeneratorRuntime.mark((function e(t,c){var s,l,f,p;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof o){e.next=4;break}if("boolean"!=typeof(s=o(!1,Object.keys(r),r))||s){e.next=4;break}return e.abrupt("return");case 4:return u({type:"fetch_api_data",payload:{data:{isLoading:!0,_data:{_pageIndex:t.pageIndex||1,_pageSize:t.pageSize||20}}}}),void 0===t&&(t={pageIndex:1,pageSize:20}),(l={})[(null==i?void 0:i.apiPageIndex)||rt]=t.pageIndex,l[(null==i?void 0:i.apiPageSize)||it]=t.pageSize,p=null,e.prev=10,e.next=13,n(L(L({},r),l));case 13:f=e.sent,"function"==typeof c&&c(),p={isLoading:!1,data:f,_data:{_pageIndex:t.pageIndex||1,_pageSize:t.pageSize||20},error:{isError:!1,message:null}},e.next=22;break;case 18:e.prev=18,e.t0=e.catch(10),e.t0,p={isLoading:!1,data:f,error:{isError:!0,message:e.t0}};case 22:return e.prev=22,"function"==typeof a&&a(f),u({type:"fetch_api_data",payload:{data:p}}),e.finish(22);case 26:case"end":return e.stop()}}),e,null,[[10,18,22,26]])})));return function(t,n){return e.apply(this,arguments)}}()}},ut=_.default(i.Table)(We||(We=Q(["\n&&& th.ant-table-cell {\n line-height: 1.6;\n font-size: 13px;\n color: #333;\n }\n &&& td.ant-table-cell {\n line-height: 1.6;\n font-size: 13px;\n color: #666;\n vertical-align: top;\n }\n &&& td.ant-table-cell img {\n width: 64px;\n height: 64px;\n border: 1px solid #e4e8f0;\n border-radius: 8px;\n object-fit: contain;\n }\n &&& td.ant-table-cell button.ant-btn-link {\n padding-left: 0;\n display: block;\n margin-top: -6px;\n }\n &&& td.ant-table-selection-column,\n &&& th.ant-table-selection-column {\n padding-right: 16px;\n padding-left: 16px;\n }\n &&& .ant-table-thead > tr > th {\n background-color: #fafafa;\n border-bottom: 1px solid #e4e8f0;\n }\n &&& .ant-table-thead\n > tr\n > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: #e4e8f0;\n }\n &&& .ant-table-tbody > tr > td {\n border-bottom: 1px solid #e4e8f0;\n }\n &&& .ant-table-tbody > tr.ant-table-row:hover > td,\n &&& .ant-table-tbody > tr > td.ant-table-cell-row-hover {\n background: #f3f9ff;\n }\n"]))),ct=["isNeedPlaceholder","onReload","store","onBeforeRequest","request","onAfterRequest","filters","pagination","scroll","apiMap","tableParams","summaryConfig","useCustomPageCurrentAndSize"],st=["isNeedPlaceholder","onReload","store","onBeforeRequest","request","onAfterRequest","filters","pagination","scroll","apiMap","tableParams","summaryConfig","useCustomPageCurrentAndSize"];function lt(){return(lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pt(e,t){if(e){if("string"==typeof e)return ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ft(e,t):void 0}}function dt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}}(e,t)||pt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){ht(e,t,n[t])}))}return e}function gt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vt(e,t,n){return t&&yt(e.prototype,t),n&&yt(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function bt(e){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xt(e,t){if(t&&("object"===bt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return wt(e)}function kt(e){return(kt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function St(e,t){return(St=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Et(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&St(e,t)}var Ot={exports:{}},Pt={},jt="function"==typeof Symbol&&Symbol.for,Tt=jt?Symbol.for("react.element"):60103,Rt=jt?Symbol.for("react.portal"):60106,Ct=jt?Symbol.for("react.fragment"):60107,It=jt?Symbol.for("react.strict_mode"):60108,At=jt?Symbol.for("react.profiler"):60114,_t=jt?Symbol.for("react.provider"):60109,Nt=jt?Symbol.for("react.context"):60110,Mt=jt?Symbol.for("react.async_mode"):60111,Dt=jt?Symbol.for("react.concurrent_mode"):60111,Ft=jt?Symbol.for("react.forward_ref"):60112,Lt=jt?Symbol.for("react.suspense"):60113,Bt=jt?Symbol.for("react.suspense_list"):60120,Ut=jt?Symbol.for("react.memo"):60115,zt=jt?Symbol.for("react.lazy"):60116,Yt=jt?Symbol.for("react.block"):60121,$t=jt?Symbol.for("react.fundamental"):60117,Ht=jt?Symbol.for("react.responder"):60118,qt=jt?Symbol.for("react.scope"):60119;function Wt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Tt:switch(e=e.type){case Mt:case Dt:case Ct:case At:case It:case Lt:return e;default:switch(e=e&&e.$$typeof){case Nt:case Ft:case zt:case Ut:case _t:return e;default:return t}}case Rt:return t}}}function Vt(e){return Wt(e)===Dt}function Xt(){}function Gt(){}Pt.AsyncMode=Mt,Pt.ConcurrentMode=Dt,Pt.ContextConsumer=Nt,Pt.ContextProvider=_t,Pt.Element=Tt,Pt.ForwardRef=Ft,Pt.Fragment=Ct,Pt.Lazy=zt,Pt.Memo=Ut,Pt.Portal=Rt,Pt.Profiler=At,Pt.StrictMode=It,Pt.Suspense=Lt,Pt.isAsyncMode=function(e){return Vt(e)||Wt(e)===Mt},Pt.isConcurrentMode=Vt,Pt.isContextConsumer=function(e){return Wt(e)===Nt},Pt.isContextProvider=function(e){return Wt(e)===_t},Pt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Tt},Pt.isForwardRef=function(e){return Wt(e)===Ft},Pt.isFragment=function(e){return Wt(e)===Ct},Pt.isLazy=function(e){return Wt(e)===zt},Pt.isMemo=function(e){return Wt(e)===Ut},Pt.isPortal=function(e){return Wt(e)===Rt},Pt.isProfiler=function(e){return Wt(e)===At},Pt.isStrictMode=function(e){return Wt(e)===It},Pt.isSuspense=function(e){return Wt(e)===Lt},Pt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Ct||e===Dt||e===At||e===It||e===Lt||e===Bt||"object"==typeof e&&null!==e&&(e.$$typeof===zt||e.$$typeof===Ut||e.$$typeof===_t||e.$$typeof===Nt||e.$$typeof===Ft||e.$$typeof===$t||e.$$typeof===Ht||e.$$typeof===qt||e.$$typeof===Yt)},Pt.typeOf=Wt,Gt.resetWarningCache=Xt,Ot.exports=function(){function e(e,t,n,r,i,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Gt,resetWarningCache:Xt};return n.PropTypes=n,n}();var Jt=Ot.exports,Kt=function(e,t,n,r,i,o,a,u){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,o,a,u],l=0;(c=new Error(t.replace(/%s/g,(function(){return s[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}};function Zt(e){return function(e){if(Array.isArray(e))return ft(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Qt=function(){function e(){gt(this,e),ht(this,"refs",{})}return vt(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find((function(t){return t.node.sortableInfo.index==e.active.index}))}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(en)}}]),e}();function en(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function tn(e,t,n){return(e=e.slice()).splice(n<0?e.length+n:n,0,e.splice(t,1)[0]),e}function nn(e,t){return Object.keys(e).reduce((function(n,r){return-1===t.indexOf(r)&&(n[r]=e[r]),n}),{})}var rn={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},on=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function an(e,t){Object.keys(t).forEach((function(n){e.style[n]=t[n]}))}function un(e,t){e.style["".concat(on,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function cn(e,t){e.style["".concat(on,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function sn(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function ln(e,t,n){return Math.max(e,Math.min(n,t))}function fn(e){return"px"===e.substr(-2)?parseFloat(e):0}function pn(e){var t=window.getComputedStyle(e);return{bottom:fn(t.marginBottom),left:fn(t.marginLeft),right:fn(t.marginRight),top:fn(t.marginTop)}}function dn(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function hn(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function mn(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function gn(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}function yn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var r={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?r:yn(e.parentNode,t,r)}}function vn(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}function bn(e){var t=e.lockOffset,n=e.width,r=e.height,i=t,o=t,a="px";if("string"==typeof t){var u=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);Kt(null!==u,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),o=parseFloat(t),a=u[1]}return Kt(isFinite(i)&&isFinite(o),"lockOffset value should be a finite. Given %s",t),"%"===a&&(i=i*n/100,o=o*r/100),{x:i,y:o}}function wn(e){var t=e.height,n=e.width,r=e.lockOffset,i=Array.isArray(r)?r:[r,r];Kt(2===i.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",r);var o=dt(i,2),a=o[0],u=o[1];return[bn({height:t,lockOffset:a,width:n}),bn({height:t,lockOffset:u,width:n})]}function xn(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find((function(e){return n.test(t[e])}))}(e)?e:xn(e.parentNode):null}function kn(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:fn(t.gridColumnGap),y:fn(t.gridRowGap)}:{x:0,y:0}}var Sn=27,En=32,On=37,Pn=38,jn=39,Tn=40,Rn="A",Cn="BUTTON",In="CANVAS",An="INPUT",_n="OPTION",Nn="TEXTAREA",Mn="SELECT";function Dn(e){var t="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(t),r=e.cloneNode(!0);return Zt(r.querySelectorAll(t)).forEach((function(e,t){"file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===In&&n[t].width>0&&n[t].height>0&&e.getContext("2d").drawImage(n[t],0,0)})),r}function Fn(e){return null!=e.sortableHandle}var Ln=function(){function e(t,n){gt(this,e),this.container=t,this.onScrollCallback=n}return vt(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,r=e.minTranslate,i=e.maxTranslate,o=e.width,a=e.height,u={x:0,y:0},c={x:1,y:1},s=10,l=10,f=this.container,p=f.scrollTop,d=f.scrollLeft,h=f.scrollHeight,m=f.scrollWidth,g=0===p,y=h-p-f.clientHeight==0,v=0===d,b=m-d-f.clientWidth==0;n.y>=i.y-a/2&&!y?(u.y=1,c.y=l*Math.abs((i.y-a/2-n.y)/a)):n.x>=i.x-o/2&&!b?(u.x=1,c.x=s*Math.abs((i.x-o/2-n.x)/o)):n.y<=r.y+a/2&&!g?(u.y=-1,c.y=l*Math.abs((n.y-a/2-r.y)/a)):n.x<=r.x+o/2&&!v&&(u.x=-1,c.x=s*Math.abs((n.x-o/2-r.x)/o)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===u.x&&0===u.y||(this.interval=setInterval((function(){t.isAutoScrolling=!0;var e={left:c.x*u.x,top:c.y*u.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)}),5))}}]),e}(),Bn={axis:Jt.oneOf(["x","y","xy"]),contentWindow:Jt.any,disableAutoscroll:Jt.bool,distance:Jt.number,getContainer:Jt.func,getHelperDimensions:Jt.func,helperClass:Jt.string,helperContainer:Jt.oneOfType([Jt.func,"undefined"==typeof HTMLElement?Jt.any:Jt.instanceOf(HTMLElement)]),hideSortableGhost:Jt.bool,keyboardSortingTransitionDuration:Jt.number,lockAxis:Jt.string,lockOffset:Jt.oneOfType([Jt.number,Jt.string,Jt.arrayOf(Jt.oneOfType([Jt.number,Jt.string]))]),lockToContainerEdges:Jt.bool,onSortEnd:Jt.func,onSortMove:Jt.func,onSortOver:Jt.func,onSortStart:Jt.func,pressDelay:Jt.number,pressThreshold:Jt.number,keyCodes:Jt.shape({lift:Jt.arrayOf(Jt.number),drop:Jt.arrayOf(Jt.number),cancel:Jt.arrayOf(Jt.number),up:Jt.arrayOf(Jt.number),down:Jt.arrayOf(Jt.number)}),shouldCancelStart:Jt.func,transitionDuration:Jt.number,updateBeforeSortStart:Jt.func,useDragHandle:Jt.bool,useWindowAsScrollContainer:Jt.bool},Un={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},zn={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:Un,shouldCancelStart:function(e){return-1!==[An,Nn,Mn,_n,Cn].indexOf(e.target.tagName)||!!sn(e.target,(function(e){return"true"===e.contentEditable}))},transitionDuration:300,useWindowAsScrollContainer:!1},Yn=Object.keys(Bn);function $n(e){Kt(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}function Hn(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}function qn(e){var t,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return r=t=function(t){function r(e){var t;return gt(this,r),ht(wt(wt(t=xt(this,kt(r).call(this,e)))),"state",{}),ht(wt(wt(t)),"handleStart",(function(e){var n=t.props,r=n.distance,i=n.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=mn(e);var o=sn(e.target,(function(e){return null!=e.sortableInfo}));if(o&&o.sortableInfo&&t.nodeIsChild(o)&&!t.state.sorting){var a=t.props.useDragHandle,u=o.sortableInfo,c=u.index,s=u.collection;if(u.disabled)return;if(a&&!sn(e.target,Fn))return;t.manager.active={collection:s,index:c},gn(e)||e.target.tagName!==Rn||e.preventDefault(),r||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout((function(){return t.handlePress(e)}),t.props.pressDelay))}}})),ht(wt(wt(t)),"nodeIsChild",(function(e){return e.sortableInfo.manager===t.manager})),ht(wt(wt(t)),"handleMove",(function(e){var n=t.props,r=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var o=mn(e),a={x:t.position.x-o.x,y:t.position.y-o.y},u=Math.abs(a.x)+Math.abs(a.y);t.delta=a,r||i&&!(u>=i)?r&&u>=r&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}})),ht(wt(wt(t)),"handleEnd",(function(){t.touched=!1,t.cancel()})),ht(wt(wt(t)),"cancel",(function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)})),ht(wt(wt(t)),"handlePress",(function(e){try{var n=t.manager.getActive(),r=function(){if(n){var r=function(){var n=p.sortableInfo.index,r=pn(p),i=kn(t.container),s=t.scrollContainer.getBoundingClientRect(),m=a({index:n,node:p,collection:d});if(t.node=p,t.margin=r,t.gridGap=i,t.width=m.width,t.height=m.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=s,t.index=n,t.newIndex=n,t.axis={x:o.indexOf("x")>=0,y:o.indexOf("y")>=0},t.offsetEdge=yn(p,t.container),t.initialOffset=mn(h?mt({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(Dn(p)),an(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-r.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-r.top,"px"),width:"".concat(t.width,"px")}),h&&t.helper.focus(),c&&(t.sortableGhost=p,an(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},h){var g=f?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,y=g.top,v=g.left,b=g.width,w=y+g.height,x=v+b;t.axis.x&&(t.minTranslate.x=v-t.boundingClientRect.left,t.maxTranslate.x=x-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=y-t.boundingClientRect.top,t.maxTranslate.y=w-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(f?0:s.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(f?t.contentWindow.innerWidth:s.left+s.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(f?0:s.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(f?t.contentWindow.innerHeight:s.top+s.height)-t.boundingClientRect.top-t.height/2);u&&u.split(" ").forEach((function(e){return t.helper.classList.add(e)})),t.listenerNode=e.touches?p:t.contentWindow,h?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(rn.move.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)})),rn.end.forEach((function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)}))),t.setState({sorting:!0,sortingIndex:n}),l&&l({node:p,index:n,collection:d,isKeySorting:h,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),h&&t.keyMove(0)},i=t.props,o=i.axis,a=i.getHelperDimensions,u=i.helperClass,c=i.hideSortableGhost,s=i.updateBeforeSortStart,l=i.onSortStart,f=i.useWindowAsScrollContainer,p=n.node,d=n.collection,h=t.manager.isKeySorting,m=function(){if("function"==typeof s){t._awaitingUpdateBeforeSortStart=!0;var n=Hn((function(){var t=p.sortableInfo.index;return Promise.resolve(s({collection:d,index:t,node:p,isKeySorting:h},e)).then((function(){}))}),(function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n}));if(n&&n.then)return n.then((function(){}))}}();return m&&m.then?m.then(r):r()}}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(e){return Promise.reject(e)}})),ht(wt(wt(t)),"handleSortMove",(function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)})),ht(wt(wt(t)),"handleSortEnd",(function(e){var n=t.props,r=n.hideSortableGhost,i=n.onSortEnd,o=t.manager,a=o.active.collection,u=o.isKeySorting,c=t.manager.getOrderedRefs();t.listenerNode&&(u?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(rn.move.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)})),rn.end.forEach((function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)})))),t.helper.parentNode.removeChild(t.helper),r&&t.sortableGhost&&an(t.sortableGhost,{opacity:"",visibility:""});for(var s=0,l=c.length;s<l;s++){var f=c[s],p=f.node;f.edgeOffset=null,f.boundingClientRect=null,un(p,null),cn(p,null),f.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof i&&i({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:u,nodes:c},e),t.touched=!1})),ht(wt(wt(t)),"autoscroll",(function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var r=mt({},t.translate),i=0,o=0;return t.axis.x&&(r.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),i=t.translate.x-r.x),t.axis.y&&(r.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),o=t.translate.y-r.y),t.translate=r,un(t.helper,t.translate),t.scrollContainer.scrollLeft+=i,void(t.scrollContainer.scrollTop+=o)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}})),ht(wt(wt(t)),"onAutoScroll",(function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()})),ht(wt(wt(t)),"handleKeyDown",(function(e){var n=e.keyCode,r=t.props,i=r.shouldCancelStart,o=r.keyCodes,a=mt({},Un,void 0===o?{}:o);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||a.lift.includes(n)&&!i(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),a.lift.includes(n)&&!t.manager.active?t.keyLift(e):a.drop.includes(n)&&t.manager.active?t.keyDrop(e):a.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):a.up.includes(n)?t.keyMove(-1):a.down.includes(n)&&t.keyMove(1))})),ht(wt(wt(t)),"keyLift",(function(e){var n=e.target,r=sn(n,(function(e){return null!=e.sortableInfo})).sortableInfo,i=r.index,o=r.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:i,collection:o},t.handlePress(e)})),ht(wt(wt(t)),"keyMove",(function(e){var n=t.manager.getOrderedRefs(),r=n[n.length-1].node.sortableInfo.index,i=t.newIndex+e,o=t.newIndex;if(!(i<0||i>r)){t.prevIndex=o,t.newIndex=i;var a=vn(t.newIndex,t.prevIndex,t.index),u=n.find((function(e){return e.node.sortableInfo.index===a})),c=u.node,s=t.containerScrollDelta,l=u.boundingClientRect||hn(c,s),f=u.translate||{x:0,y:0},p=l.top+f.y-s.top,d=l.left+f.x-s.left,h=o<i,m=h&&t.axis.x?c.offsetWidth-t.width:0,g=h&&t.axis.y?c.offsetHeight-t.height:0;t.handleSortMove({pageX:d+m,pageY:p+g,ignoreTransition:0===e})}})),ht(wt(wt(t)),"keyDrop",(function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()})),ht(wt(wt(t)),"handleKeyEnd",(function(e){t.manager.active&&t.keyDrop(e)})),ht(wt(wt(t)),"isValidSortingTarget",(function(e){var n=t.props.useDragHandle,r=e.target,i=sn(r,(function(e){return null!=e.sortableInfo}));return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(n?Fn(r):r.sortableInfo)})),$n(e),t.manager=new Qt,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return Et(r,t),vt(r,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then((function(n){e.container=n,e.document=e.container.ownerDocument||document;var r=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof r?r():r,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:xn(e.container)||e.container,e.autoScroller=new Ln(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach((function(t){return rn[t].forEach((function(n){return e.container.addEventListener(n,e.events[t],!1)}))})),e.container.addEventListener("keydown",e.handleKeyDown)}))}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach((function(t){return rn[t].forEach((function(n){return e.container.removeEventListener(n,e.events[t])}))})),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,r=t.lockOffset,i=t.lockToContainerEdges,o=t.transitionDuration,a=t.keyboardSortingTransitionDuration,u=void 0===a?o:a,c=this.manager.isKeySorting,s=e.ignoreTransition,l=mn(e),f={x:l.x-this.initialOffset.x,y:l.y-this.initialOffset.y};if(f.y-=window.pageYOffset-this.initialWindowScroll.top,f.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=f,i){var p=dt(wn({height:this.height,lockOffset:r,width:this.width}),2),d=p[0],h=p[1],m={x:this.width/2-d.x,y:this.height/2-d.y},g={x:this.width/2-h.x,y:this.height/2-h.y};f.x=ln(this.minTranslate.x+m.x,this.maxTranslate.x-g.x,f.x),f.y=ln(this.minTranslate.y+m.y,this.maxTranslate.y-g.y,f.y)}"x"===n?f.y=0:"y"===n&&(f.x=0),c&&u&&!s&&cn(this.helper,u),un(this.helper,f)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,r=e.onSortOver,i=this.containerScrollDelta,o=this.windowScrollDelta,a=this.manager.getOrderedRefs(),u=this.offsetEdge.left+this.translate.x+i.left,c=this.offsetEdge.top+this.translate.y+i.top,s=this.manager.isKeySorting,l=this.newIndex;this.newIndex=null;for(var f=0,p=a.length;f<p;f++){var d=a[f].node,h=d.sortableInfo.index,m=d.offsetWidth,g=d.offsetHeight,y={height:this.height>g?g/2:this.height/2,width:this.width>m?m/2:this.width/2},v=s&&h>this.index&&h<=l,b=s&&h<this.index&&h>=l,w={x:0,y:0},x=a[f].edgeOffset;x||(x=yn(d,this.container),a[f].edgeOffset=x,s&&(a[f].boundingClientRect=hn(d,i)));var k=f<a.length-1&&a[f+1],S=f>0&&a[f-1];k&&!k.edgeOffset&&(k.edgeOffset=yn(k.node,this.container),s&&(k.boundingClientRect=hn(k.node,i))),h!==this.index?(t&&cn(d,t),this.axis.x?this.axis.y?b||h<this.index&&(u+o.left-y.width<=x.left&&c+o.top<=x.top+y.height||c+o.top+y.height<=x.top)?(w.x=this.width+this.marginOffset.x,x.left+w.x>this.containerBoundingRect.width-y.width&&k&&(w.x=k.edgeOffset.left-x.left,w.y=k.edgeOffset.top-x.top),null===this.newIndex&&(this.newIndex=h)):(v||h>this.index&&(u+o.left+y.width>=x.left&&c+o.top+y.height>=x.top||c+o.top+y.height>=x.top+g))&&(w.x=-(this.width+this.marginOffset.x),x.left+w.x<this.containerBoundingRect.left+y.width&&S&&(w.x=S.edgeOffset.left-x.left,w.y=S.edgeOffset.top-x.top),this.newIndex=h):v||h>this.index&&u+o.left+y.width>=x.left?(w.x=-(this.width+this.marginOffset.x),this.newIndex=h):(b||h<this.index&&u+o.left<=x.left+y.width)&&(w.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=h)):this.axis.y&&(v||h>this.index&&c+o.top+y.height>=x.top?(w.y=-(this.height+this.marginOffset.y),this.newIndex=h):(b||h<this.index&&c+o.top<=x.top+y.height)&&(w.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=h))),un(d,w),a[f].translate=w):n&&(this.sortableGhost=d,an(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),s&&(this.newIndex=l);var E=s?this.prevIndex:l;r&&this.newIndex!==E&&r({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:E,isKeySorting:s,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return Kt(i.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?o.findDOMNode(this):e(i.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=i.withRef?"wrappedInstance":null;return n.createElement(e,lt({ref:t},nn(this.props,Yn)))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),r}(n.Component),ht(t,"displayName",dn("sortableList",e)),ht(t,"defaultProps",zn),ht(t,"propTypes",Bn),ht(t,"childContextTypes",{manager:Jt.object.isRequired}),r}var Wn,Vn={index:Jt.number.isRequired,collection:Jt.oneOfType([Jt.number,Jt.string]),disabled:Jt.bool},Xn=Object.keys(Vn);function Gn(e){var t,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return r=t=function(t){function r(){return gt(this,r),xt(this,kt(r).apply(this,arguments))}return Et(r,t),vt(r,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,r=e.index,i=o.findDOMNode(this);i.sortableInfo={collection:t,disabled:n,index:r,manager:this.context.manager},this.node=i,this.ref={node:i},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return Kt(i.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=i.withRef?"wrappedInstance":null;return n.createElement(e,lt({ref:t},nn(this.props,Xn)))}}]),r}(n.Component),ht(t,"displayName",dn("sortableElement",e)),ht(t,"contextTypes",{manager:Jt.object.isRequired}),ht(t,"propTypes",Vn),ht(t,"defaultProps",{collection:0}),r}var Jn,Kn,Zn=_.default.div(Wn||(Wn=Q(["\n&&& {\n display: flex;\n flex-wrap: wrap;\n user-select: none;\n ",";\n ",";\n ",";\n}\n &&& .ant-upload-picture-card-wrapper {\n width: auto;\n }\n &&& .ant-upload-picture-card-wrapper.isLoading {\n pointer-events: none;\n }\n &&& .ant-upload-list-picture-card-container {\n width: auto;\n height: auto;\n margin: 0;\n }\n &&& .ant-upload.ant-upload-select-picture-card {\n margin-right: 0;\n }\n &&& .YUpload-upload-button {\n cursor: pointer;\n }\n &&& .YUpload-text-upload-wrap {\n width: 100%;\n }\n &&& .YUpload-text-upload-wrap.isLoading {\n pointer-events: none;\n }\n &&& .YUpload-list-preview-wrap {\n width: 100%;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n }\n"])),(function(e){return"uploadPicture"===e.uploadType&&e.column?"\n width: ".concat(104*e.column+8*(e.column-1),"px;\n "):""}),(function(e){return"uploadPicture"!==e.uploadType||e.disabled&&e.hidePreview||e.isMax?"":"min-height: 112px;"}),(function(e){return"uploadPicture"!==e.uploadType?"flex-wrap: wrap-reverse;":""})),Qn=_.default.img(Jn||(Jn=Q(["\n&&& {\n width: @width;\n height: @height;\n}\n"]))),er=window.icons,tr=(0,window.icons.createFromIconfontCN)({scriptUrl:"".concat(window.ywcloudIconUrl||"https://cdn.ywwl.com/bps/ywd/components/yicon/yw-cloud-icon.js","?version=").concat((new Date).toLocaleDateString()||0)}),nr=function(e){var t=e.name,n=void 0===t?"":t,r=e.type,i=e.size,o=e.width,a=e.height,u=e.color,c=e.style,s=e.onClick,l=function(e){var t="16px";return e&&(t="number"==typeof e?"".concat(e||16