@nocobase/app 1.9.9 → 1.9.11

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.
@@ -1,18 +0,0 @@
1
- "use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[5046],{50344:function(w,r,e){e.d(r,{Z:function(){return n}});var o=e(67294),i=e(11805);function n(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=[];return o.Children.forEach(u,function(t){t==null&&!a.keepEmpty||(Array.isArray(t)?c=c.concat(n(t)):(0,i.isFragment)(t)&&t.props?c=c.concat(n(t.props.children,a)):c.push(t))}),c}},64019:function(w,r,e){e.d(r,{Z:function(){return i}});var o=e(73935);function i(n,u,a,c){var t=o.unstable_batchedUpdates?function(h){o.unstable_batchedUpdates(a,h)}:a;return n!=null&&n.addEventListener&&n.addEventListener(u,t,c),{remove:function(){n!=null&&n.removeEventListener&&n.removeEventListener(u,t,c)}}}},27678:function(w,r,e){e.d(r,{g1:function(){return m},os:function(){return v}});var o=/margin|padding|width|height|max|min|offset/,i={left:!0,top:!0},n={cssFloat:1,styleFloat:1,float:1};function u(l){return l.nodeType===1?l.ownerDocument.defaultView.getComputedStyle(l,null):{}}function a(l,d,g){if(d=d.toLowerCase(),g==="auto"){if(d==="height")return l.offsetHeight;if(d==="width")return l.offsetWidth}return d in i||(i[d]=o.test(d)),i[d]?parseFloat(g)||0:g}function c(l,d){var g=arguments.length,C=u(l);return d=n[d]?"cssFloat"in l.style?"cssFloat":"styleFloat":d,g===1?C:a(l,d,C[d]||l.style[d])}function t(l,d,g){var C=arguments.length;if(d=n[d]?"cssFloat"in l.style?"cssFloat":"styleFloat":d,C===3)return typeof g=="number"&&o.test(d)&&(g="".concat(g,"px")),l.style[d]=g,g;for(var _ in d)d.hasOwnProperty(_)&&t(l,_,d[_]);return u(l)}function p(l){return l===document.body?document.documentElement.clientWidth:l.offsetWidth}function h(l){return l===document.body?window.innerHeight||document.documentElement.clientHeight:l.offsetHeight}function f(){var l=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),d=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:l,height:d}}function m(){var l=document.documentElement.clientWidth,d=window.innerHeight||document.documentElement.clientHeight;return{width:l,height:d}}function s(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function v(l){var d=l.getBoundingClientRect(),g=document.documentElement;return{left:d.left+(window.pageXOffset||g.scrollLeft)-(g.clientLeft||document.body.clientLeft||0),top:d.top+(window.pageYOffset||g.scrollTop)-(g.clientTop||document.body.clientTop||0)}}},34203:function(w,r,e){e.d(r,{S:function(){return n},Z:function(){return u}});var o=e(67294),i=e(73935);function n(a){return a instanceof HTMLElement||a instanceof SVGElement}function u(a){return n(a)?a:a instanceof o.Component?i.findDOMNode(a):null}},88603:function(w,r,e){e.d(r,{tS:function(){return u}});var o=e(74902),i=e(5110);function n(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,i.Z)(f)){var s=f.nodeName.toLowerCase(),v=["input","select","textarea","button"].includes(s)||f.isContentEditable||s==="a"&&!!f.getAttribute("href"),l=f.getAttribute("tabindex"),d=Number(l),g=null;return l&&!Number.isNaN(d)?g=d:v&&g===null&&(g=0),v&&f.disabled&&(g=null),g!==null&&(g>=0||m&&g<0)}return!1}function u(f){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=(0,o.Z)(f.querySelectorAll("*")).filter(function(v){return n(v,m)});return n(f,m)&&s.unshift(f),s}var a=null;function c(){a=document.activeElement}function t(){a=null}function p(){if(a)try{a.focus()}catch{}}function h(f,m){if(m.keyCode===9){var s=u(f),v=s[m.shiftKey?0:s.length-1],l=v===document.activeElement||f===document.activeElement;if(l){var d=s[m.shiftKey?s.length-1:0];d.focus(),m.preventDefault()}}}},5110:function(w,r){r.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var o=e.getBBox(),i=o.width,n=o.height;if(i||n)return!0}if(e.getBoundingClientRect){var u=e.getBoundingClientRect(),a=u.width,c=u.height;if(a||c)return!0}}return!1}},27571:function(w,r,e){e.d(r,{A:function(){return n}});function o(u){var a;return u==null||(a=u.getRootNode)===null||a===void 0?void 0:a.call(u)}function i(u){return o(u)instanceof ShadowRoot}function n(u){return i(u)?o(u):null}},15105:function(w,r){var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var n=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||n>=e.F1&&n<=e.F12)return!1;switch(n){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};r.Z=e},74204:function(w,r,e){e.d(r,{o:function(){return u}});var o;function i(a){if(typeof document>"u")return 0;if(a||o===void 0){var c=document.createElement("div");c.style.width="100%",c.style.height="200px";var t=document.createElement("div"),p=t.style;p.position="absolute",p.top="0",p.left="0",p.pointerEvents="none",p.visibility="hidden",p.width="200px",p.height="150px",p.overflow="hidden",t.appendChild(c),document.body.appendChild(t);var h=c.offsetWidth;t.style.overflow="scroll";var f=c.offsetWidth;h===f&&(f=t.clientWidth),document.body.removeChild(t),o=h-f}return o}function n(a){var c=a.match(/^(.*)px$/),t=Number(c==null?void 0:c[1]);return Number.isNaN(t)?i():t}function u(a){if(typeof document>"u"||!a||!(a instanceof Element))return{width:0,height:0};var c=getComputedStyle(a,"::-webkit-scrollbar"),t=c.width,p=c.height;return{width:n(t),height:n(p)}}},7028:function(w,r,e){var o,i=e(97685),n=e(1413),u=e(67294);function a(){var h=(0,n.Z)({},o||(o=e.t(u,2)));return h.useId}var c=0;function t(){}var p=a();r.Z=p?function(f){var m=p();return f||m}:function(f){var m=u.useState("ssr-id"),s=(0,i.Z)(m,2),v=s[0],l=s[1];return u.useEffect(function(){var d=c;c+=1,l("rc_unique_".concat(d))},[]),f||v}},31131:function(w,r){r.Z=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},98423:function(w,r,e){e.d(r,{Z:function(){return i}});var o=e(1413);function i(n,u){var a=(0,o.Z)({},n);return Array.isArray(u)&&u.forEach(function(c){delete a[c]}),a}},64217:function(w,r,e){e.d(r,{Z:function(){return p}});var o=e(1413),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
2
- alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
3
- charSet checked classID className colSpan cols content contentEditable contextMenu
4
- controls coords crossOrigin data dateTime default defer dir disabled download draggable
5
- encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
6
- headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
7
- is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
8
- mediaGroup method min minLength multiple muted name noValidate nonce open
9
- optimum pattern placeholder poster preload radioGroup readOnly rel required
10
- reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
11
- shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
12
- summary tabIndex target title type useMap value width wmode wrap`,n=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
13
- onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
14
- onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
15
- onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
16
- onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
17
- onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
18
- onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,u="".concat(i," ").concat(n).split(/[\s\n]+/),a="aria-",c="data-";function t(h,f){return h.indexOf(f)===0}function p(h){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m;f===!1?m={aria:!0,data:!0,attr:!0}:f===!0?m={aria:!0}:m=(0,o.Z)({},f);var s={};return Object.keys(h).forEach(function(v){(m.aria&&(v==="role"||t(v,a))||m.data&&t(v,c)||m.attr&&u.includes(v))&&(s[v]=h[v])}),s}},75164:function(w,r){var e=function(t){return+setTimeout(t,16)},o=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(e=function(t){return window.requestAnimationFrame(t)},o=function(t){return window.cancelAnimationFrame(t)});var i=0,n=new Map;function u(c){n.delete(c)}var a=function(t){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;i+=1;var h=i;function f(m){if(m===0)u(h),t();else{var s=e(function(){f(m-1)});n.set(h,s)}}return f(p),h};a.cancel=function(c){var t=n.get(c);return u(c),o(t)},r.Z=a},19158:function(w,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=e;function e(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}},32191:function(w,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=e;function e(o,i){if(!o)return!1;if(o.contains)return o.contains(i);for(var n=i;n;){if(n===o)return!0;n=n.parentNode}return!1}},93399:function(w,r,e){var o=e(64836).default;Object.defineProperty(r,"__esModule",{value:!0}),r.clearContainerCache=g,r.injectCSS=s,r.removeCSS=l,r.updateCSS=C;var i=o(e(19158)),n=o(e(32191)),u="data-rc-order",a="data-rc-priority",c="rc-util-key",t=new Map;function p(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},E=_.mark;return E?E.startsWith("data-")?E:"data-".concat(E):c}function h(_){if(_.attachTo)return _.attachTo;var E=document.querySelector("head");return E||document.body}function f(_){return _==="queue"?"prependQueue":_?"prepend":"append"}function m(_){return Array.from((t.get(_)||_).children).filter(function(E){return E.tagName==="STYLE"})}function s(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.default)())return null;var M=E.csp,O=E.prepend,S=E.priority,N=S===void 0?0:S,y=f(O),T=y==="prependQueue",b=document.createElement("style");b.setAttribute(u,y),T&&N&&b.setAttribute(a,"".concat(N)),M!=null&&M.nonce&&(b.nonce=M==null?void 0:M.nonce),b.innerHTML=_;var R=h(E),U=R.firstChild;if(O){if(T){var A=m(R).filter(function(P){if(!["prepend","prependQueue"].includes(P.getAttribute(u)))return!1;var L=Number(P.getAttribute(a)||0);return N>=L});if(A.length)return R.insertBefore(b,A[A.length-1].nextSibling),b}R.insertBefore(b,U)}else R.appendChild(b);return b}function v(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=h(E);return m(M).find(function(O){return O.getAttribute(p(E))===_})}function l(_){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=v(_,E);if(M){var O=h(E);O.removeChild(M)}}function d(_,E){var M=t.get(_);if(!M||!(0,n.default)(document,M)){var O=s("",E),S=O.parentNode;t.set(_,S),_.removeChild(O)}}function g(){t.clear()}function C(_,E){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},O=h(M);d(O,M);var S=v(E,M);if(S){var N,y;if((N=M.csp)!==null&&N!==void 0&&N.nonce&&S.nonce!==((y=M.csp)===null||y===void 0?void 0:y.nonce)){var T;S.nonce=(T=M.csp)===null||T===void 0?void 0:T.nonce}return S.innerHTML!==_&&(S.innerHTML=_),S}var b=s(_,M);return b.setAttribute(p(M),E),b}},63298:function(w,r){Object.defineProperty(r,"__esModule",{value:!0}),r.getShadowRoot=i,r.inShadow=o;function e(n){var u;return n==null||(u=n.getRootNode)===null||u===void 0?void 0:u.call(n)}function o(n){return e(n)instanceof ShadowRoot}function i(n){return o(n)?e(n):null}},67265:function(w,r,e){var o=e(75263).default;Object.defineProperty(r,"__esModule",{value:!0}),r.default=n;var i=o(e(67294));function n(u,a,c){var t=i.useRef({});return(!("value"in t.current)||c(t.current.condition,a))&&(t.current.value=u(),t.current.condition=a),t.current.value}},75531:function(w,r,e){var o,i=e(64836).default;o={value:!0},r.sQ=p,o=t,o=m,o=f,o=h;var n=i(e(18698)),u=e(67294),a=e(11805),c=i(e(67265));function t(s,v){typeof s=="function"?s(v):(0,n.default)(s)==="object"&&s&&"current"in s&&(s.current=v)}function p(){for(var s=arguments.length,v=new Array(s),l=0;l<s;l++)v[l]=arguments[l];var d=v.filter(function(g){return g});return d.length<=1?d[0]:function(g){v.forEach(function(C){t(C,g)})}}function h(){for(var s=arguments.length,v=new Array(s),l=0;l<s;l++)v[l]=arguments[l];return(0,c.default)(function(){return p.apply(void 0,v)},v,function(d,g){return d.length!==g.length||d.every(function(C,_){return C!==g[_]})})}function f(s){var v,l,d=(0,a.isMemo)(s)?s.type.type:s.type;return!(typeof d=="function"&&!((v=d.prototype)!==null&&v!==void 0&&v.render)||typeof s=="function"&&!((l=s.prototype)!==null&&l!==void 0&&l.render))}function m(s){return!(0,u.isValidElement)(s)||(0,a.isFragment)(s)?!1:f(s)}},45520:function(w,r){Object.defineProperty(r,"__esModule",{value:!0}),r.call=c,r.default=void 0,r.note=u,r.noteOnce=p,r.preMessage=void 0,r.resetWarned=a,r.warning=n,r.warningOnce=t;var e={},o=[],i=r.preMessage=function(m){o.push(m)};function n(f,m){if(!1)var s}function u(f,m){if(!1)var s}function a(){e={}}function c(f,m,s){!m&&!e[s]&&(f(!1,s),e[s]=!0)}function t(f,m){c(n,f,m)}function p(f,m){c(u,f,m)}t.preMessage=i,t.resetWarned=a,t.noteOnce=p;var h=r.default=t}}]);