点击回首页
我的浏览记录 | | 帮助?
当前位置:
首页>> 行业软件>> 在线考试系统>> 源文件浏览
[免费版 Free] WebForm,下载次数:404 次 | 关键字: 考试 办公 高校 竞赛 企事业单位

源码截图

源码目录树

;
当前路径:public/static/control/vendors~p__courseManger__cheakTestPaper~p__personAffair__exam__examPage~p__personAffair__news~p__pre~ba7277e5.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[4],{"/qDX":function(e,t,n){},"/thR":function(e,t,n){"use strict";var i=n("TqRt"),r=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("q1tI")),a=i(n("YCuv")),l=i(n("KQxl")),s=function(e,t){return o.createElement(l.default,Object.assign({},e,{ref:t,icon:a.default}))};s.displayName="EnterOutlined";var c=o.forwardRef(s);t.default=c},FMes:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("/thR"));function r(e){return e&&e.__esModule?e:{default:e}}var o=i;t.default=o,e.exports=o},MUZu:function(e,t,n){"use strict";var i=n("TqRt"),r=n("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("q1tI")),a=i(n("ZxNd")),l=i(n("KQxl")),s=function(e,t){return o.createElement(l.default,Object.assign({},e,{ref:t,icon:a.default}))};s.displayName="EditOutlined";var c=o.forwardRef(s);t.default=c},YCuv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"};t.default=i},ZxNd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};t.default=i},"s/wZ":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("MUZu"));function r(e){return e&&e.__esModule?e:{default:e}}var o=i;t.default=o,e.exports=o},tU7J:function(e,t,n){"use strict";n("cIOH"),n("/qDX"),n("5Dmo"),n("5NDa")},wFql:function(e,t,n){"use strict";var i=n("pVnL"),r=n.n(i),o=n("lSNA"),a=n.n(o),l=n("q1tI"),s=n("TSYQ"),c=n.n(s),p=n("H84U"),u=n("uaoM"),d=n("ID/q"),f=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n},y=function(e,t){var n=e.prefixCls,i=e.component,o=void 0===i?"article":i,s=e.className,y=e["aria-label"],h=e.setContentRef,v=e.children,m=f(e,["prefixCls","component","className","aria-label","setContentRef","children"]),g=t;return h&&(Object(u["a"])(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),g=Object(d["a"])(t,h)),l["createElement"](p["a"],null,(function(e){var t=e.getPrefixCls,i=e.direction,p=o,u=t("typography",n),d=c()(u,a()({},"".concat(u,"-rtl"),"rtl"===i),s);return l["createElement"](p,r()({className:d,"aria-label":y,ref:g},m),v)}))},h=l["forwardRef"](y);h.displayName="Typography";var v,m=h,g=m,b=n("cDf5"),x=n.n(b),E=n("RIqP"),C=n.n(E),O=n("lwsE"),w=n.n(O),S=n("W8MJ"),j=n.n(S),k=n("7W2i"),N=n.n(k),P=n("LQ03"),T=n.n(P),R=n("Zm9Q"),M=n("+QRC"),I=n.n(M),L=n("6UMo"),_=n("s/wZ"),z=n.n(_),H=n("NAnI"),A=n.n(H),D=n("0OKo"),K=n.n(D),F=n("t23M"),U=n("wEI+"),q=n("YMnH"),B=n("gDlH"),Q=n("oHiP"),W=function(e){if("undefined"!==typeof window&&window.document&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1},Z=(W(["flex","webkitFlex","Flex","msFlex"]),n("3S7+")),J=n("4IlW"),V=n("FMes"),Y=n.n(V),X=n("whJP"),G=function(e){N()(n,e);var t=T()(n);function n(){var e;return w()(this,n),e=t.apply(this,arguments),e.inComposition=!1,e.state={current:""},e.onChange=function(t){var n=t.target.value;e.setState({current:n.replace(/[\n\r]/g,"")})},e.onCompositionStart=function(){e.inComposition=!0},e.onCompositionEnd=function(){e.inComposition=!1},e.onKeyDown=function(t){var n=t.keyCode;e.inComposition||(e.lastKeyCode=n)},e.onKeyUp=function(t){var n=t.keyCode,i=t.ctrlKey,r=t.altKey,o=t.metaKey,a=t.shiftKey,l=e.props.onCancel;e.lastKeyCode!==n||e.inComposition||i||r||o||a||(n===J["a"].ENTER?e.confirmChange():n===J["a"].ESC&&l())},e.onBlur=function(){e.confirmChange()},e.confirmChange=function(){var t=e.state.current,n=e.props.onSave;n(t.trim())},e.setTextarea=function(t){e.textarea=t},e}return j()(n,[{key:"componentDidMount",value:function(){if(this.textarea&&this.textarea.resizableTextArea){var e=this.textarea.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}},{key:"render",value:function(){var e=this.state.current,t=this.props,n=t.prefixCls,i=t["aria-label"],r=t.className,o=t.style,s=t.direction,p=t.maxLength,u=t.autoSize,d=c()(n,"".concat(n,"-edit-content"),a()({},"".concat(n,"-rtl"),"rtl"===s),r);return l["createElement"]("div",{className:d,style:o},l["createElement"](X["a"],{ref:this.setTextarea,maxLength:p,value:e,onChange:this.onChange,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onCompositionStart:this.onCompositionStart,onCompositionEnd:this.onCompositionEnd,onBlur:this.onBlur,"aria-label":i,autoSize:void 0===u||u}),l["createElement"](Y.a,{className:"".concat(n,"-edit-content-confirm")}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,i=e.value,r={prevValue:i};return n!==i&&(r.current=i),r}}]),n}(l["Component"]),$=G,ee=n("i8i4"),te=1,ne=3,ie=8,re={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function oe(e){if(!e)return 0;var t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}function ae(e){var t=Array.prototype.slice.apply(e);return t.map((function(t){return"".concat(t,": ").concat(e.getPropertyValue(t),";")})).join("")}function le(e){var t=[];return e.forEach((function(e){var n=t[t.length-1];"string"===typeof e&&"string"===typeof n?t[t.length-1]+=e:t.push(e)})),t}var se=function(e,t,n,i,r){v||(v=document.createElement("div"),v.setAttribute("aria-hidden","true"),document.body.appendChild(v));var o=t.rows,a=t.suffix,s=void 0===a?"":a,c=window.getComputedStyle(e),p=ae(c),u=oe(c.lineHeight),d=Math.round(u*(o+1)+oe(c.paddingTop)+oe(c.paddingBottom));v.setAttribute("style",p),v.style.position="fixed",v.style.left="0",v.style.height="auto",v.style.minHeight="auto",v.style.maxHeight="auto",v.style.top="-999999px",v.style.zIndex="-1000",v.style.textOverflow="clip",v.style.whiteSpace="normal",v.style.webkitLineClamp="none";var f=le(Object(R["a"])(n));function y(){return v.offsetHeight<d}if(Object(ee["render"])(l["createElement"]("div",{style:re},l["createElement"]("span",{style:re},f,s),l["createElement"]("span",{style:re},i)),v),y())return Object(ee["unmountComponentAtNode"])(v),{content:n,text:v.innerHTML,ellipsis:!1};var h=Array.prototype.slice.apply(v.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((function(e){var t=e.nodeType;return t!==ie})),m=Array.prototype.slice.apply(v.childNodes[0].childNodes[1].cloneNode(!0).childNodes);Object(ee["unmountComponentAtNode"])(v);var g=[];v.innerHTML="";var b=document.createElement("span");v.appendChild(b);var x=document.createTextNode(r+s);function E(e){b.insertBefore(e,x)}function C(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=Math.floor((n+i)/2),a=t.slice(0,o);if(e.textContent=a,n>=i-1)for(var l=i;l>=n;l-=1){var s=t.slice(0,l);if(e.textContent=s,y()||!s)return l===t.length?{finished:!1,reactNode:t}:{finished:!0,reactNode:s}}return y()?C(e,t,o,i,o):C(e,t,n,o,r)}function O(e,t){var n=e.nodeType;if(n===te)return E(e),y()?{finished:!1,reactNode:f[t]}:(b.removeChild(e),{finished:!0,reactNode:null});if(n===ne){var i=e.textContent||"",r=document.createTextNode(i);return E(r),C(r,i)}return{finished:!1,reactNode:null}}return b.appendChild(x),m.forEach((function(e){v.appendChild(e)})),h.some((function(e,t){var n=O(e,t),i=n.finished,r=n.reactNode;return r&&g.push(r),i})),{content:g,text:v.innerHTML,ellipsis:!0}},ce=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n},pe=W("webkitLineClamp"),ue=W("textOverflow");function de(e,t){var n=e.mark,i=e.code,r=e.underline,o=e["delete"],a=e.strong,s=e.keyboard,c=t;function p(e,t){e&&(c=l["createElement"](t,{},c))}return p(a,"strong"),p(r,"u"),p(o,"del"),p(i,"code"),p(n,"mark"),p(s,"kbd"),c}var fe="...",ye=function(e){N()(n,e);var t=T()(n);function n(){var e;return w()(this,n),e=t.apply(this,arguments),e.contentRef=l["createRef"](),e.state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.getPrefixCls=function(){var t=e.props.prefixCls,n=e.context.getPrefixCls;return n("typography",t)},e.onExpandClick=function(t){var n=e.getEllipsis(),i=n.onExpand;e.setState({expanded:!0}),i&&i(t)},e.onEditClick=function(){e.triggerEdit(!0)},e.onEditChange=function(t){var n=e.getEditable(),i=n.onChange;i&&i(t),e.triggerEdit(!1)},e.onEditCancel=function(){e.triggerEdit(!1)},e.onCopyClick=function(){var t=e.props,n=t.children,i=t.copyable,o=r()({},"object"===x()(i)?i:null);void 0===o.text&&(o.text=String(n)),I()(o.text||""),e.setState({copied:!0},(function(){o.onCopy&&o.onCopy(),e.copyId=window.setTimeout((function(){e.setState({copied:!1})}),3e3)}))},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var n=e.getEditable(),i=n.onStart;t&&i&&i(),e.setState({edit:t},(function(){!t&&e.editIcon&&e.editIcon.focus()}))},e.resizeOnNextFrame=function(){Q["a"].cancel(e.rafId),e.rafId=Object(Q["a"])((function(){e.syncEllipsis()}))},e}return j()(n,[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(e){var t=this.props.children,n=this.getEllipsis(),i=this.getEllipsis(e);t===e.children&&n.rows===i.rows||this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),Q["a"].cancel(this.rafId)}},{key:"getEditable",value:function(e){var t=this.state.edit,n=e||this.props,i=n.editable;return i?r()({editing:t},"object"===x()(i)?i:null):{editing:t}}},{key:"getEllipsis",value:function(e){var t=e||this.props,n=t.ellipsis;return n?r()({rows:1,expandable:!1},"object"===x()(n)?n:null):{}}},{key:"canUseCSSEllipsis",value:function(){var e=this.state.clientRendered,t=this.props,n=t.editable,i=t.copyable,r=this.getEllipsis(),o=r.rows,a=r.expandable,l=r.suffix,s=r.onEllipsis;return!l&&(!(n||i||a||!e||s)&&(1===o?ue:pe))}},{key:"syncEllipsis",value:function(){var e=this.state,t=e.ellipsisText,n=e.isEllipsis,i=e.expanded,r=this.getEllipsis(),o=r.rows,a=r.suffix,l=r.onEllipsis,s=this.props.children;if(o&&!(o<0)&&this.contentRef.current&&!i&&!this.canUseCSSEllipsis()){Object(u["a"])(Object(R["a"])(s).every((function(e){return"string"===typeof e})),"Typography","`ellipsis` should use string as children only.");var c=se(this.contentRef.current,{rows:o,suffix:a},s,this.renderOperations(!0),fe),p=c.content,d=c.text,f=c.ellipsis;t===d&&n===f||(this.setState({ellipsisText:d,ellipsisContent:p,isEllipsis:f}),n!==f&&l&&l(f))}}},{key:"renderExpand",value:function(e){var t,n=this.getEllipsis(),i=n.expandable,r=n.symbol,o=this.state,a=o.expanded,s=o.isEllipsis;return i&&(e||!a&&s)?(t=r||this.expandStr,l["createElement"]("a",{key:"expand",className:"".concat(this.getPrefixCls(),"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},t)):null}},{key:"renderEdit",value:function(){var e=this.props.editable;if(e){var t=e.icon,n=e.tooltip,i=Object(R["a"])(n)[0]||this.editStr,r="string"===typeof i?i:"";return l["createElement"](Z["a"],{key:"edit",title:!1===n?"":i},l["createElement"](B["a"],{ref:this.setEditRef,className:"".concat(this.getPrefixCls(),"-edit"),onClick:this.onEditClick,"aria-label":r},t||l["createElement"](z.a,{role:"button"})))}}},{key:"renderCopy",value:function(){var e=this.state.copied,t=this.props.copyable;if(t){var n=this.getPrefixCls(),i=t.tooltips,r=Object(R["a"])(i);0===r.length&&(r=[this.copyStr,this.copiedStr]);var o=e?r[1]:r[0],a="string"===typeof o?o:"",s=Object(R["a"])(t.icon);return l["createElement"](Z["a"],{key:"copy",title:!1===i?"":o},l["createElement"](B["a"],{className:c()("".concat(n,"-copy"),e&&"".concat(n,"-copy-success")),onClick:this.onCopyClick,"aria-label":a},e?s[1]||l["createElement"](A.a,null):s[0]||l["createElement"](K.a,null)))}}},{key:"renderEditInput",value:function(){var e=this.props,t=e.children,n=e.className,i=e.style,r=this.context.direction,o=this.getEditable(),a=o.maxLength,s=o.autoSize;return l["createElement"]($,{value:"string"===typeof t?t:"",onSave:this.onEditChange,onCancel:this.onEditCancel,prefixCls:this.getPrefixCls(),className:n,style:i,direction:r,maxLength:a,autoSize:s})}},{key:"renderOperations",value:function(e){return[this.renderExpand(e),this.renderEdit(),this.renderCopy()].filter((function(e){return e}))}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.ellipsisContent,i=t.isEllipsis,o=t.expanded,s=this.props,p=s.component,u=s.children,d=s.className,f=s.type,y=s.disabled,h=s.style,v=ce(s,["component","children","className","type","disabled","style"]),m=this.context.direction,b=this.getEllipsis(),x=b.rows,E=b.suffix,O=this.getPrefixCls(),w=Object(L["default"])(v,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard"].concat(C()(U["a"]))),S=this.canUseCSSEllipsis(),j=1===x&&S,k=x&&x>1&&S,N=u;if(x&&i&&!o&&!S){var P=v.title,T=P||"";P||"string"!==typeof u&&"number"!==typeof u||(T=String(u)),T=null===T||void 0===T?void 0:T.replace(new RegExp("^".concat(n)),""),N=l["createElement"](l["Fragment"],null,n,l["createElement"]("span",{title:T,"aria-hidden":"true"},fe),E)}else N=l["createElement"](l["Fragment"],null,u,E);return N=de(this.props,N),l["createElement"](q["a"],{componentName:"Text"},(function(t){var n,i=t.edit,o=t.copy,s=t.copied,u=t.expand;return e.editStr=i,e.copyStr=o,e.copiedStr=s,e.expandStr=u,l["createElement"](F["a"],{onResize:e.resizeOnNextFrame,disabled:!x},l["createElement"](g,r()({className:c()((n={},a()(n,"".concat(O,"-").concat(f),f),a()(n,"".concat(O,"-disabled"),y),a()(n,"".concat(O,"-ellipsis"),x),a()(n,"".concat(O,"-ellipsis-single-line"),j),a()(n,"".concat(O,"-ellipsis-multiple-line"),k),n),d),style:r()(r()({},h),{WebkitLineClamp:k?x:null}),component:p,ref:e.contentRef,direction:m},w),N,e.renderOperations()))}))}},{key:"render",value:function(){var e=this.getEditable(),t=e.editing;return t?this.renderEditInput():this.renderContent()}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.children,n=e.editable;return Object(u["a"])(!n||"string"===typeof t,"Typography","When `editable` is enabled, the `children` should use string."),{}}}]),n}(l["Component"]);ye.contextType=p["b"],ye.defaultProps={children:""};var he=ye,ve=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n},me=function(e){var t=e.ellipsis,n=ve(e,["ellipsis"]);return Object(u["a"])("object"!==x()(t),"Typography.Text","`ellipsis` only supports boolean value."),l["createElement"](he,r()({},n,{ellipsis:!!t,component:"span"}))},ge=me,be=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n},xe=function(e,t){var n=e.ellipsis,i=e.rel,o=be(e,["ellipsis","rel"]);Object(u["a"])("object"!==x()(n),"Typography.Link","`ellipsis` only supports boolean value.");var a=l["useRef"](null);l["useImperativeHandle"](t,(function(){var e;return null===(e=a.current)||void 0===e?void 0:e.contentRef.current}));var s=r()(r()({},o),{rel:void 0===i&&"_blank"===o.target?"noopener noreferrer":i});return delete s.navigate,l["createElement"](he,r()({},s,{ref:a,ellipsis:!!n,component:"a"}))},Ee=l["forwardRef"](xe),Ce=n("CWQg"),Oe=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n},we=Object(Ce["b"])(1,2,3,4,5),Se=function(e){var t,n=e.level,i=void 0===n?1:n,o=Oe(e,["level"]);return-1!==we.indexOf(i)?t="h".concat(i):(Object(u["a"])(!1,"Typography.Title","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."),t="h1"),l["createElement"](he,r()({},o,{component:t}))},je=Se,ke=function(e){return l["createElement"](he,r()({},e,{component:"div"}))},Ne=ke,Pe=g;Pe.Text=ge,Pe.Link=Ee,Pe.Title=je,Pe.Paragraph=Ne;t["a"]=Pe}}]);
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途)
地址:北京市海淀区大恒科技大厦五层 邮编:100080
Floor 5th,Daheng Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2022. 京ICP备09089570号 | 京公网安备11010702000869号