@umbraco-cms/backoffice 14.0.0--preview004-c2d0176a → 14.0.0--preview004-2f33e9be
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/dist-cms/external/lodash/index.d.ts +1 -1
- package/dist-cms/external/lodash/index.js +1 -1
- package/dist-cms/packages/settings/data-types/modals/data-type-picker-flow/data-type-picker-flow-modal.element.js +11 -5
- package/dist-cms/packages/settings/data-types/modals/property-editor-ui-picker/property-editor-ui-picker-modal.element.js +8 -3
- package/dist-cms/packages/user/user-permission/components/entity-user-permission-settings-list/entity-user-permission-settings-list.element.js +5 -3
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { debounce, clamp,
|
|
1
|
+
export { debounce, clamp, camelCase } from 'lodash-es';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var hr=typeof global=="object"&&global&&global.Object===Object&&global,Se=typeof self=="object"&&self&&self.Object===Object&&self,A=hr||Se||Function("return this")(),E=A.Symbol,br=Object.prototype,Ce=br.hasOwnProperty,Ee=br.toString,F=E?E.toStringTag:void 0;function Pe(r){var e=Ce.call(r,F),n=r[F];try{r[F]=void 0;var t=!0}catch{}var a=Ee.call(r);return t&&(e?r[F]=n:delete r[F]),a}var Re=Object.prototype,we=Re.toString;function Ie(r){return we.call(r)}var Me="[object Null]",Le="[object Undefined]",vr=E?E.toStringTag:void 0;function L(r){return r==null?r===void 0?Le:Me:vr&&vr in Object(r)?Pe(r):Ie(r)}function j(r){return r!=null&&typeof r=="object"}var je="[object Symbol]";function K(r){return typeof r=="symbol"||j(r)&&L(r)==je}function Ue(r,e){for(var n=-1,t=r==null?0:r.length,a=Array(t);++n<t;)a[n]=e(r[n],n,r);return a}var T=Array.isArray,De=1/0,_r=E?E.prototype:void 0,yr=_r?_r.toString:void 0;function xr(r){if(typeof r=="string")return r;if(T(r))return Ue(r,xr)+"";if(K(r))return yr?yr.call(r):"";var e=r+"";return e=="0"&&1/r==-De?"-0":e}var Ne=/\s/;function Fe(r){for(var e=r.length;e--&&Ne.test(r.charAt(e)););return e}var ze=/^\s+/;function Ge(r){return r&&r.slice(0,Fe(r)+1).replace(ze,"")}function U(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}var Ar=0/0,He=/^[-+]0x[0-9a-f]+$/i,Be=/^0b[01]+$/i,We=/^0o[0-7]+$/i,Ze=parseInt;function z(r){if(typeof r=="number")return r;if(K(r))return Ar;if(U(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=U(e)?e+"":e}if(typeof r!="string")return r===0?r:+r;r=Ge(r);var n=Be.test(r);return n||We.test(r)?Ze(r.slice(2),n?2:8):He.test(r)?Ar:+r}function Ke(r){return r}var Je="[object AsyncFunction]",Ye="[object Function]",qe="[object GeneratorFunction]",Xe="[object Proxy]";function Tr(r){if(!U(r))return!1;var e=L(r);return e==Ye||e==qe||e==Je||e==Xe}var V=A["__core-js_shared__"],mr=function(){var r=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function Qe(r){return!!mr&&mr in r}var Ve=Function.prototype,ke=Ve.toString;function P(r){if(r!=null){try{return ke.call(r)}catch{}try{return r+""}catch{}}return""}var rn=/[\\^$.*+?()[\]{}|]/g,en=/^\[object .+?Constructor\]$/,nn=Function.prototype,tn=Object.prototype,an=nn.toString,un=tn.hasOwnProperty,fn=RegExp("^"+an.call(un).replace(rn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function on(r){if(!U(r)||Qe(r))return!1;var e=Tr(r)?fn:en;return e.test(P(r))}function sn(r,e){return r?.[e]}function R(r,e){var n=sn(r,e);return on(n)?n:void 0}var k=R(A,"WeakMap"),Or=function(){try{var r=R(Object,"defineProperty");return r({},"",{}),r}catch{}}(),cn=9007199254740991,dn=/^(?:0|[1-9]\d*)$/;function $r(r,e){var n=typeof r;return e=e??cn,!!e&&(n=="number"||n!="symbol"&&dn.test(r))&&r>-1&&r%1==0&&r<e}function ln(r,e,n){e=="__proto__"&&Or?Or(r,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):r[e]=n}function Sr(r,e){return r===e||r!==r&&e!==e}var gn=9007199254740991;function rr(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=gn}function Cr(r){return r!=null&&rr(r.length)&&!Tr(r)}var pn=Object.prototype;function hn(r){var e=r&&r.constructor,n=typeof e=="function"&&e.prototype||pn;return r===n}function bn(r,e){for(var n=-1,t=Array(r);++n<r;)t[n]=e(n);return t}var vn="[object Arguments]";function Er(r){return j(r)&&L(r)==vn}var Pr=Object.prototype,_n=Pr.hasOwnProperty,yn=Pr.propertyIsEnumerable,Rr=Er(function(){return arguments}())?Er:function(r){return j(r)&&_n.call(r,"callee")&&!yn.call(r,"callee")};function xn(){return!1}var wr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ir=wr&&typeof module=="object"&&module&&!module.nodeType&&module,An=Ir&&Ir.exports===wr,Mr=An?A.Buffer:void 0,Tn=Mr?Mr.isBuffer:void 0,er=Tn||xn,mn="[object Arguments]",On="[object Array]",$n="[object Boolean]",Sn="[object Date]",Cn="[object Error]",En="[object Function]",Pn="[object Map]",Rn="[object Number]",wn="[object Object]",In="[object RegExp]",Mn="[object Set]",Ln="[object String]",jn="[object WeakMap]",Un="[object ArrayBuffer]",Dn="[object DataView]",Nn="[object Float32Array]",Fn="[object Float64Array]",zn="[object Int8Array]",Gn="[object Int16Array]",Hn="[object Int32Array]",Bn="[object Uint8Array]",Wn="[object Uint8ClampedArray]",Zn="[object Uint16Array]",Kn="[object Uint32Array]",c={};c[Nn]=c[Fn]=c[zn]=c[Gn]=c[Hn]=c[Bn]=c[Wn]=c[Zn]=c[Kn]=!0,c[mn]=c[On]=c[Un]=c[$n]=c[Dn]=c[Sn]=c[Cn]=c[En]=c[Pn]=c[Rn]=c[wn]=c[In]=c[Mn]=c[Ln]=c[jn]=!1;function Jn(r){return j(r)&&rr(r.length)&&!!c[L(r)]}function Yn(r){return function(e){return r(e)}}var Lr=typeof exports=="object"&&exports&&!exports.nodeType&&exports,G=Lr&&typeof module=="object"&&module&&!module.nodeType&&module,qn=G&&G.exports===Lr,nr=qn&&hr.process,jr=function(){try{var r=G&&G.require&&G.require("util").types;return r||nr&&nr.binding&&nr.binding("util")}catch{}}(),Ur=jr&&jr.isTypedArray,Dr=Ur?Yn(Ur):Jn,Xn=Object.prototype,Qn=Xn.hasOwnProperty;function Vn(r,e){var n=T(r),t=!n&&Rr(r),a=!n&&!t&&er(r),u=!n&&!t&&!a&&Dr(r),i=n||t||a||u,f=i?bn(r.length,String):[],s=f.length;for(var o in r)(e||Qn.call(r,o))&&!(i&&(o=="length"||a&&(o=="offset"||o=="parent")||u&&(o=="buffer"||o=="byteLength"||o=="byteOffset")||$r(o,s)))&&f.push(o);return f}function kn(r,e){return function(n){return r(e(n))}}var rt=kn(Object.keys,Object),et=Object.prototype,nt=et.hasOwnProperty;function tt(r){if(!hn(r))return rt(r);var e=[];for(var n in Object(r))nt.call(r,n)&&n!="constructor"&&e.push(n);return e}function tr(r){return Cr(r)?Vn(r):tt(r)}var at=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ut=/^\w*$/;function ar(r,e){if(T(r))return!1;var n=typeof r;return n=="number"||n=="symbol"||n=="boolean"||r==null||K(r)?!0:ut.test(r)||!at.test(r)||e!=null&&r in Object(e)}var H=R(Object,"create");function it(){this.__data__=H?H(null):{},this.size=0}function ft(r){var e=this.has(r)&&delete this.__data__[r];return this.size-=e?1:0,e}var ot="__lodash_hash_undefined__",st=Object.prototype,ct=st.hasOwnProperty;function dt(r){var e=this.__data__;if(H){var n=e[r];return n===ot?void 0:n}return ct.call(e,r)?e[r]:void 0}var lt=Object.prototype,gt=lt.hasOwnProperty;function pt(r){var e=this.__data__;return H?e[r]!==void 0:gt.call(e,r)}var ht="__lodash_hash_undefined__";function bt(r,e){var n=this.__data__;return this.size+=this.has(r)?0:1,n[r]=H&&e===void 0?ht:e,this}function w(r){var e=-1,n=r==null?0:r.length;for(this.clear();++e<n;){var t=r[e];this.set(t[0],t[1])}}w.prototype.clear=it,w.prototype.delete=ft,w.prototype.get=dt,w.prototype.has=pt,w.prototype.set=bt;function vt(){this.__data__=[],this.size=0}function J(r,e){for(var n=r.length;n--;)if(Sr(r[n][0],e))return n;return-1}var _t=Array.prototype,yt=_t.splice;function xt(r){var e=this.__data__,n=J(e,r);if(n<0)return!1;var t=e.length-1;return n==t?e.pop():yt.call(e,n,1),--this.size,!0}function At(r){var e=this.__data__,n=J(e,r);return n<0?void 0:e[n][1]}function Tt(r){return J(this.__data__,r)>-1}function mt(r,e){var n=this.__data__,t=J(n,r);return t<0?(++this.size,n.push([r,e])):n[t][1]=e,this}function m(r){var e=-1,n=r==null?0:r.length;for(this.clear();++e<n;){var t=r[e];this.set(t[0],t[1])}}m.prototype.clear=vt,m.prototype.delete=xt,m.prototype.get=At,m.prototype.has=Tt,m.prototype.set=mt;var B=R(A,"Map");function Ot(){this.size=0,this.__data__={hash:new w,map:new(B||m),string:new w}}function $t(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}function Y(r,e){var n=r.__data__;return $t(e)?n[typeof e=="string"?"string":"hash"]:n.map}function St(r){var e=Y(this,r).delete(r);return this.size-=e?1:0,e}function Ct(r){return Y(this,r).get(r)}function Et(r){return Y(this,r).has(r)}function Pt(r,e){var n=Y(this,r),t=n.size;return n.set(r,e),this.size+=n.size==t?0:1,this}function O(r){var e=-1,n=r==null?0:r.length;for(this.clear();++e<n;){var t=r[e];this.set(t[0],t[1])}}O.prototype.clear=Ot,O.prototype.delete=St,O.prototype.get=Ct,O.prototype.has=Et,O.prototype.set=Pt;var Rt="Expected a function";function ur(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(Rt);var n=function(){var t=arguments,a=e?e.apply(this,t):t[0],u=n.cache;if(u.has(a))return u.get(a);var i=r.apply(this,t);return n.cache=u.set(a,i)||u,i};return n.cache=new(ur.Cache||O),n}ur.Cache=O;var wt=500;function It(r){var e=ur(r,function(t){return n.size===wt&&n.clear(),t}),n=e.cache;return e}var Mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/\\(\\)?/g,jt=It(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(Mt,function(n,t,a,u){e.push(a?u.replace(Lt,"$1"):t||n)}),e});function W(r){return r==null?"":xr(r)}function Nr(r,e){return T(r)?r:ar(r,e)?[r]:jt(W(r))}var Ut=1/0;function q(r){if(typeof r=="string"||K(r))return r;var e=r+"";return e=="0"&&1/r==-Ut?"-0":e}function Fr(r,e){e=Nr(e,r);for(var n=0,t=e.length;r!=null&&n<t;)r=r[q(e[n++])];return n&&n==t?r:void 0}function Dt(r,e,n){var t=r==null?void 0:Fr(r,e);return t===void 0?n:t}function Nt(r,e){for(var n=-1,t=e.length,a=r.length;++n<t;)r[a+n]=e[n];return r}function Ft(r,e,n){var t=-1,a=r.length;e<0&&(e=-e>a?0:a+e),n=n>a?a:n,n<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var u=Array(a);++t<a;)u[t]=r[t+e];return u}function zt(r,e,n){var t=r.length;return n=n===void 0?t:n,!e&&n>=t?r:Ft(r,e,n)}var Gt="\\ud800-\\udfff",Ht="\\u0300-\\u036f",Bt="\\ufe20-\\ufe2f",Wt="\\u20d0-\\u20ff",Zt=Ht+Bt+Wt,Kt="\\ufe0e\\ufe0f",Jt="\\u200d",Yt=RegExp("["+Jt+Gt+Zt+Kt+"]");function zr(r){return Yt.test(r)}function qt(r){return r.split("")}var Gr="\\ud800-\\udfff",Xt="\\u0300-\\u036f",Qt="\\ufe20-\\ufe2f",Vt="\\u20d0-\\u20ff",kt=Xt+Qt+Vt,ra="\\ufe0e\\ufe0f",ea="["+Gr+"]",ir="["+kt+"]",fr="\\ud83c[\\udffb-\\udfff]",na="(?:"+ir+"|"+fr+")",Hr="[^"+Gr+"]",Br="(?:\\ud83c[\\udde6-\\uddff]){2}",Wr="[\\ud800-\\udbff][\\udc00-\\udfff]",ta="\\u200d",Zr=na+"?",Kr="["+ra+"]?",aa="(?:"+ta+"(?:"+[Hr,Br,Wr].join("|")+")"+Kr+Zr+")*",ua=Kr+Zr+aa,ia="(?:"+[Hr+ir+"?",ir,Br,Wr,ea].join("|")+")",fa=RegExp(fr+"(?="+fr+")|"+ia+ua,"g");function oa(r){return r.match(fa)||[]}function sa(r){return zr(r)?oa(r):qt(r)}function ca(r){return function(e){e=W(e);var n=zr(e)?sa(e):void 0,t=n?n[0]:e.charAt(0),a=n?zt(n,1).join(""):e.slice(1);return t[r]()+a}}var da=ca("toUpperCase");function la(r){return da(W(r).toLowerCase())}function ga(r,e,n,t){var a=-1,u=r==null?0:r.length;for(t&&u&&(n=r[++a]);++a<u;)n=e(n,r[a],a,r);return n}function pa(r){return function(e){return r?.[e]}}var ha={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},ba=pa(ha),va=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_a="\\u0300-\\u036f",ya="\\ufe20-\\ufe2f",xa="\\u20d0-\\u20ff",Aa=_a+ya+xa,Ta="["+Aa+"]",ma=RegExp(Ta,"g");function Oa(r){return r=W(r),r&&r.replace(va,ba).replace(ma,"")}var $a=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Sa(r){return r.match($a)||[]}var Ca=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Ea(r){return Ca.test(r)}var Jr="\\ud800-\\udfff",Pa="\\u0300-\\u036f",Ra="\\ufe20-\\ufe2f",wa="\\u20d0-\\u20ff",Ia=Pa+Ra+wa,Yr="\\u2700-\\u27bf",qr="a-z\\xdf-\\xf6\\xf8-\\xff",Ma="\\xac\\xb1\\xd7\\xf7",La="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ja="\\u2000-\\u206f",Ua=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xr="A-Z\\xc0-\\xd6\\xd8-\\xde",Da="\\ufe0e\\ufe0f",Qr=Ma+La+ja+Ua,Vr="['\u2019]",kr="["+Qr+"]",Na="["+Ia+"]",re="\\d+",Fa="["+Yr+"]",ee="["+qr+"]",ne="[^"+Jr+Qr+re+Yr+qr+Xr+"]",za="\\ud83c[\\udffb-\\udfff]",Ga="(?:"+Na+"|"+za+")",Ha="[^"+Jr+"]",te="(?:\\ud83c[\\udde6-\\uddff]){2}",ae="[\\ud800-\\udbff][\\udc00-\\udfff]",D="["+Xr+"]",Ba="\\u200d",ue="(?:"+ee+"|"+ne+")",Wa="(?:"+D+"|"+ne+")",ie="(?:"+Vr+"(?:d|ll|m|re|s|t|ve))?",fe="(?:"+Vr+"(?:D|LL|M|RE|S|T|VE))?",oe=Ga+"?",se="["+Da+"]?",Za="(?:"+Ba+"(?:"+[Ha,te,ae].join("|")+")"+se+oe+")*",Ka="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ja="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ya=se+oe+Za,qa="(?:"+[Fa,te,ae].join("|")+")"+Ya,Xa=RegExp([D+"?"+ee+"+"+ie+"(?="+[kr,D,"$"].join("|")+")",Wa+"+"+fe+"(?="+[kr,D+ue,"$"].join("|")+")",D+"?"+ue+"+"+ie,D+"+"+fe,Ja,Ka,re,qa].join("|"),"g");function Qa(r){return r.match(Xa)||[]}function Va(r,e,n){return r=W(r),e=n?void 0:e,e===void 0?Ea(r)?Qa(r):Sa(r):r.match(e)||[]}var ka="['\u2019]",ru=RegExp(ka,"g");function eu(r){return function(e){return ga(Va(Oa(e).replace(ru,"")),r,"")}}var nu=eu(function(r,e,n){return e=e.toLowerCase(),r+(n?la(e):e)}),tu=nu;function au(r,e,n){return r===r&&(n!==void 0&&(r=r<=n?r:n),e!==void 0&&(r=r>=e?r:e)),r}function uu(r,e,n){return n===void 0&&(n=e,e=void 0),n!==void 0&&(n=z(n),n=n===n?n:0),e!==void 0&&(e=z(e),e=e===e?e:0),au(z(r),e,n)}function iu(){this.__data__=new m,this.size=0}function fu(r){var e=this.__data__,n=e.delete(r);return this.size=e.size,n}function ou(r){return this.__data__.get(r)}function su(r){return this.__data__.has(r)}var cu=200;function du(r,e){var n=this.__data__;if(n instanceof m){var t=n.__data__;if(!B||t.length<cu-1)return t.push([r,e]),this.size=++n.size,this;n=this.__data__=new O(t)}return n.set(r,e),this.size=n.size,this}function $(r){var e=this.__data__=new m(r);this.size=e.size}$.prototype.clear=iu,$.prototype.delete=fu,$.prototype.get=ou,$.prototype.has=su,$.prototype.set=du;function lu(r,e){for(var n=-1,t=r==null?0:r.length,a=0,u=[];++n<t;){var i=r[n];e(i,n,r)&&(u[a++]=i)}return u}function gu(){return[]}var pu=Object.prototype,hu=pu.propertyIsEnumerable,ce=Object.getOwnPropertySymbols,bu=ce?function(r){return r==null?[]:(r=Object(r),lu(ce(r),function(e){return hu.call(r,e)}))}:gu;function vu(r,e,n){var t=e(r);return T(r)?t:Nt(t,n(r))}function de(r){return vu(r,tr,bu)}var or=R(A,"DataView"),sr=R(A,"Promise"),cr=R(A,"Set"),le="[object Map]",_u="[object Object]",ge="[object Promise]",pe="[object Set]",he="[object WeakMap]",be="[object DataView]",yu=P(or),xu=P(B),Au=P(sr),Tu=P(cr),mu=P(k),I=L;(or&&I(new or(new ArrayBuffer(1)))!=be||B&&I(new B)!=le||sr&&I(sr.resolve())!=ge||cr&&I(new cr)!=pe||k&&I(new k)!=he)&&(I=function(r){var e=L(r),n=e==_u?r.constructor:void 0,t=n?P(n):"";if(t)switch(t){case yu:return be;case xu:return le;case Au:return ge;case Tu:return pe;case mu:return he}return e});var ve=I,_e=A.Uint8Array,Ou="__lodash_hash_undefined__";function $u(r){return this.__data__.set(r,Ou),this}function Su(r){return this.__data__.has(r)}function X(r){var e=-1,n=r==null?0:r.length;for(this.__data__=new O;++e<n;)this.add(r[e])}X.prototype.add=X.prototype.push=$u,X.prototype.has=Su;function Cu(r,e){for(var n=-1,t=r==null?0:r.length;++n<t;)if(e(r[n],n,r))return!0;return!1}function Eu(r,e){return r.has(e)}var Pu=1,Ru=2;function ye(r,e,n,t,a,u){var i=n&Pu,f=r.length,s=e.length;if(f!=s&&!(i&&s>f))return!1;var o=u.get(r),p=u.get(e);if(o&&p)return o==e&&p==r;var l=-1,d=!0,b=n&Ru?new X:void 0;for(u.set(r,e),u.set(e,r);++l<f;){var h=r[l],v=e[l];if(t)var y=i?t(v,h,l,e,r,u):t(h,v,l,r,e,u);if(y!==void 0){if(y)continue;d=!1;break}if(b){if(!Cu(e,function(_,x){if(!Eu(b,x)&&(h===_||a(h,_,n,t,u)))return b.push(x)})){d=!1;break}}else if(!(h===v||a(h,v,n,t,u))){d=!1;break}}return u.delete(r),u.delete(e),d}function wu(r){var e=-1,n=Array(r.size);return r.forEach(function(t,a){n[++e]=[a,t]}),n}function Iu(r){var e=-1,n=Array(r.size);return r.forEach(function(t){n[++e]=t}),n}var Mu=1,Lu=2,ju="[object Boolean]",Uu="[object Date]",Du="[object Error]",Nu="[object Map]",Fu="[object Number]",zu="[object RegExp]",Gu="[object Set]",Hu="[object String]",Bu="[object Symbol]",Wu="[object ArrayBuffer]",Zu="[object DataView]",xe=E?E.prototype:void 0,dr=xe?xe.valueOf:void 0;function Ku(r,e,n,t,a,u,i){switch(n){case Zu:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset)return!1;r=r.buffer,e=e.buffer;case Wu:return!(r.byteLength!=e.byteLength||!u(new _e(r),new _e(e)));case ju:case Uu:case Fu:return Sr(+r,+e);case Du:return r.name==e.name&&r.message==e.message;case zu:case Hu:return r==e+"";case Nu:var f=wu;case Gu:var s=tΜif(f||(f=Iu),r.size!=e.size&&!s)return!1;var o=i.get(r);if(o)return o==e;t|=Lu,i.set(r,e);var p=ye(f(r),f(e),t,a,u,i);return i.delete(r),p;case Bu:if(dr)return dr.call(r)==dr.call(e)}return!1}var Ju=1,Yu=Object.prototype,qu=Yu.hasOwnProperty;function Xu(r,e,n,t,a,u){var i=n&Ju,f=de(r),s=f.length,o=de(e),p=o.length;if(s!=p&&!i)return!1;for(var l=s;l--;){var d=f[l];if(!(i?d in e:qu.call(e,d)))return!1}var b=u.get(r),h=u.get(e);if(b&&h)return b==e&&h==r;var v=!0;u.set(r,e),u.set(e,r);for(var y=i;++l<s;){d=f[l];var _=r[d],x=e[d];if(t)var Z=i?t(x,_,d,e,r,u):t(_,x,d,r,e,u);if(!(Z===void 0?_===x||a(_,x,n,t,u):Z)){v=!1;break}y||(y=d=="constructor")}if(v&&!y){var M=r.constructor,S=e.constructor;M!=S&&"constructor"in r&&"constructor"in e&&!(typeof M=="function"&&M instanceof M&&typeof S=="function"&&S instanceof S)&&(v=!1)}return u.delete(r),u.delete(e),v}var Qu=1,Ae="[object Arguments]",Te="[object Array]",Q="[object Object]",Vu=Object.prototype,me=Vu.hasOwnProperty;function ku(r,e,n,t,a,u){var i=T(r),f=T(e),s=i?Te:ve(r),o=f?Te:ve(e);s=s==Ae?Q:s,o=o==Ae?Q:o;var p=s==Q,l=o==Q,d=s==o;if(d&&er(r)){if(!er(e))return!1;i=!0,p=!1}if(d&&!p)return u||(u=new $),i||Dr(r)?ye(r,e,n,t,a,u):Ku(r,e,s,n,t,a,u);if(!(n&Qu)){var b=p&&me.call(r,"__wrapped__"),h=l&&me.call(e,"__wrapped__");if(b||h){var v=b?r.value():r,y=h?e.value():e;return u||(u=new $),a(v,y,n,t,u)}}return d?(u||(u=new $),Xu(r,e,n,t,a,u)):!1}function lr(r,e,n,t,a){return r===e?!0:r==null||e==null||!j(r)&&!j(e)?r!==r&&e!==e:ku(r,e,n,t,lr,a)}var ri=1,ei=2;function ni(r,e,n,t){var a=n.length,u=a,i=!t;if(r==null)return!u;for(r=Object(r);a--;){var f=n[a];if(i&&f[2]?f[1]!==r[f[0]]:!(f[0]in r))return!1}for(;++a<u;){f=n[a];var s=f[0],o=r[s],p=f[1];if(i&&f[2]){if(o===void 0&&!(s in r))return!1}else{var l=new $;if(t)var d=t(o,p,s,r,e,l);if(!(d===void 0?lr(p,o,ri|ei,t,l):d))return!1}}return!0}function Oe(r){return r===r&&!U(r)}function ti(r){for(var e=tr(r),n=e.length;n--;){var t=e[n],a=r[t];e[n]=[t,a,Oe(a)]}return e}function $e(r,e){return function(n){return n==null?!1:n[r]===e&&(e!==void 0||r in Object(n))}}function ai(r){var e=ti(r);return e.length==1&&e[0][2]?$e(e[0][0],e[0][1]):function(n){return n===r||ni(n,r,e)}}function ui(r,e){return r!=null&&e in Object(r)}function ii(r,e,n){e=Nr(e,r);for(var t=-1,a=e.length,u=!1;++t<a;){var i=q(e[t]);if(!(u=r!=null&&n(r,i)))break;r=r[i]}return u||++t!=a?u:(a=r==null?0:r.length,!!a&&rr(a)&&$r(i,a)&&(T(r)||Rr(r)))}function fi(r,e){return r!=null&&ii(r,e,ui)}var oi=1,si=2;function ci(r,e){return ar(r)&&Oe(e)?$e(q(r),e):function(n){var t=Dt(n,r);return t===void 0&&t===e?fi(n,r):lr(e,t,oi|si)}}function di(r){return function(e){return e?.[r]}}function li(r){return function(e){return Fr(e,r)}}function gi(r){return ar(r)?di(q(r)):li(r)}function pi(r){return typeof r=="function"?r:r==null?Ke:typeof r=="object"?T(r)?ci(r[0],r[1]):ai(r):gi(r)}function hi(r,e,n,t){for(var a=-1,u=r==null?0:r.length;++a<u;){var i=r[a];e(t,i,n(i),r)}return t}function bi(r){return function(e,n,t){for(var a=-1,u=Object(e),i=t(e),f=i.length;f--;){var s=i[r?f:++a];if(n(u[s],s,u)===!1)break}return e}}var vi=bi();function _i(r,e){return r&&vi(r,e,tr)}function yi(r,e){return function(n,t){if(n==null)return n;if(!Cr(n))return r(n,t);for(var a=n.length,u=e?a:-1,i=Object(n);(e?u--:++u<a)&&t(i[u],u,i)!==!1;);return n}}var xi=yi(_i);function Ai(r,e,n,t){return xi(r,function(a,u,i){e(t,a,n(a),i)}),t}function Ti(r,e){return function(n,t){var a=T(n)?hi:Ai,u=e?e():{};return a(n,r,pi(t),u)}}var gr=function(){return A.Date.now()},mi="Expected a function",Oi=Math.max,$i=Math.min;function Si(r,e,n){var t,a,u,i,f,s,o=0,p=!1,l=!1,d=!0;if(typeof r!="function")throw new TypeError(mi);e=z(e)||0,U(n)&&(p=!!n.leading,l="maxWait"in n,u=l?Oi(z(n.maxWait)||0,e):u,d="trailing"in n?!!n.trailing:d);function b(g){var C=t,N=a;return t=a=void 0,o=g,i=r.apply(N,C),i}function h(g){return o=g,f=setTimeout(_,e),p?b(g):i}function v(g){var C=g-s,N=g-o,pr=e-C;return l?$i(pr,u-N):pr}function y(g){var C=g-s,N=g-o;return s===void 0||C>=e||C<0||l&&N>=u}function _(){var g=gr();if(y(g))return x(g);f=setTimeout(_,v(g))}function x(g){return f=void 0,d&&t?b(g):(t=a=void 0,i)}function Z(){f!==void 0&&clearTimeout(f),o=0,t=s=a=f=void 0}function M(){return f===void 0?i:x(gr())}function S(){var g=gr(),C=y(g);if(t=arguments,a=this,s=g,C){if(f===void 0)return h(s);if(l)return clearTimeout(f),f=setTimeout(_,e),b(s)}return f===void 0&&(f=setTimeout(_,e)),i}return S.cancel=Z,S.flush=M,S}var Ci=Object.prototype,Ei=Ci.hasOwnProperty,Pi=Ti(function(r,e,n){Ei.call(r,n)?r[n].push(e):ln(r,n,[e])}),Ri=Pi;export{tu as camelCase,uu as clamp,Si as debounce,Ri as groupBy};
|
|
1
|
+
var be=typeof global=="object"&&global&&global.Object===Object&&global,ge=typeof self=="object"&&self&&self.Object===Object&&self,U=be||ge||Function("return this")(),s=U.Symbol,M=Object.prototype,le=M.hasOwnProperty,me=M.toString,m=s?s.toStringTag:void 0;function Re(e){var r=le.call(e,m),u=e[m];try{e[m]=void 0;var t=!0}catch{}var n=me.call(e);return t&&(r?e[m]=u:delete e[m]),n}var ve=Object.prototype,Se=ve.toString;function he(e){return Se.call(e)}var ye="[object Null]",Ce="[object Undefined]",L=s?s.toStringTag:void 0;function Te(e){return e==null?e===void 0?Ce:ye:L&&L in Object(e)?Re(e):he(e)}function pe(e){return e!=null&&typeof e=="object"}var Ae="[object Symbol]";function k(e){return typeof e=="symbol"||pe(e)&&Te(e)==Ae}function Oe(e,r){for(var u=-1,t=e==null?0:e.length,n=Array(t);++u<t;)n[u]=r(e[u],u,e);return n}var $e=Array.isArray,je=1/0,N=s?s.prototype:void 0,W=N?N.toString:void 0;function z(e){if(typeof e=="string")return e;if($e(e))return Oe(e,z)+"";if(k(e))return W?W.call(e):"";var r=e+"";return r=="0"&&1/e==-je?"-0":r}var Ee=/\s/;function Ie(e){for(var r=e.length;r--&&Ee.test(e.charAt(r)););return r}var Ue=/^\s+/;function Me(e){return e&&e.slice(0,Ie(e)+1).replace(Ue,"")}function T(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var Z=0/0,Le=/^[-+]0x[0-9a-f]+$/i,ke=/^0b[01]+$/i,Ne=/^0o[0-7]+$/i,We=parseInt;function R(e){if(typeof e=="number")return e;if(k(e))return Z;if(T(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=T(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=Me(e);var u=ke.test(e);return u||Ne.test(e)?We(e.slice(2),u?2:8):Le.test(e)?Z:+e}function S(e){return e==null?"":z(e)}function ze(e,r,u){var t=-1,n=e.length;r<0&&(r=-r>n?0:n+r),u=u>n?n:u,u<0&&(u+=n),n=r>u?0:u-r>>>0,r>>>=0;for(var a=Array(n);++t<n;)a[t]=e[t+r];return a}function Ze(e,r,u){var t=e.length;return u=u===void 0?t:u,!r&&u>=t?e:ze(e,r,u)}var De="\\ud800-\\udfff",He="\\u0300-\\u036f",Pe="\\ufe20-\\ufe2f",Fe="\\u20d0-\\u20ff",Je=He+Pe+Fe,Ge="\\ufe0e\\ufe0f",Ve="\\u200d",Be=RegExp("["+Ve+De+Je+Ge+"]");function D(e){return Be.test(e)}function Ye(e){return e.split("")}var H="\\ud800-\\udfff",_e="\\u0300-\\u036f",qe="\\ufe20-\\ufe2f",Ke="\\u20d0-\\u20ff",Xe=_e+qe+Ke,we="\\ufe0e\\ufe0f",Qe="["+H+"]",p="["+Xe+"]",A="\\ud83c[\\udffb-\\udfff]",er="(?:"+p+"|"+A+")",P="[^"+H+"]",F="(?:\\ud83c[\\udde6-\\uddff]){2}",J="[\\ud800-\\udbff][\\udc00-\\udfff]",rr="\\u200d",G=er+"?",V="["+we+"]?",ur="(?:"+rr+"(?:"+[P,F,J].join("|")+")"+V+G+")*",nr=V+G+ur,tr="(?:"+[P+p+"?",p,F,J,Qe].join("|")+")",fr=RegExp(A+"(?="+A+")|"+tr+nr,"g");function ir(e){return e.match(fr)||[]}function ar(e){return D(e)?ir(e):Ye(e)}function or(e){return function(r){r=S(r);var u=D(r)?ar(r):void 0,t=u?u[0]:r.charAt(0),n=u?Ze(u,1).join(""):r.slice(1);return t[e]()+n}}var dr=or("toUpperCase");function cr(e){return dr(S(e).toLowerCase())}function sr(e,r,u,t){var n=-1,a=e==null?0:e.length;for(t&&a&&(u=e[++n]);++n<a;)u=r(u,e[n],n,e);return u}function xr(e){return function(r){return e?.[r]}}var br={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},gr=xr(br),lr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mr="\\u0300-\\u036f",Rr="\\ufe20-\\ufe2f",vr="\\u20d0-\\u20ff",Sr=mr+Rr+vr,hr="["+Sr+"]",yr=RegExp(hr,"g");function Cr(e){return e=S(e),e&&e.replace(lr,gr).replace(yr,"")}var Tr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function pr(e){return e.match(Tr)||[]}var Ar=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Or(e){return Ar.test(e)}var B="\\ud800-\\udfff",$r="\\u0300-\\u036f",jr="\\ufe20-\\ufe2f",Er="\\u20d0-\\u20ff",Ir=$r+jr+Er,Y="\\u2700-\\u27bf",_="a-z\\xdf-\\xf6\\xf8-\\xff",Ur="\\xac\\xb1\\xd7\\xf7",Mr="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Lr="\\u2000-\\u206f",kr=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",q="A-Z\\xc0-\\xd6\\xd8-\\xde",Nr="\\ufe0e\\ufe0f",K=Ur+Mr+Lr+kr,X="['\u2019]",w="["+K+"]",Wr="["+Ir+"]",Q="\\d+",zr="["+Y+"]",ee="["+_+"]",re="[^"+B+K+Q+Y+_+q+"]",Zr="\\ud83c[\\udffb-\\udfff]",Dr="(?:"+Wr+"|"+Zr+")",Hr="[^"+B+"]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",ne="[\\ud800-\\udbff][\\udc00-\\udfff]",x="["+q+"]",Pr="\\u200d",te="(?:"+ee+"|"+re+")",Fr="(?:"+x+"|"+re+")",fe="(?:"+X+"(?:d|ll|m|re|s|t|ve))?",ie="(?:"+X+"(?:D|LL|M|RE|S|T|VE))?",ae=Dr+"?",oe="["+Nr+"]?",Jr="(?:"+Pr+"(?:"+[Hr,ue,ne].join("|")+")"+oe+ae+")*",Gr="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Vr="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Br=oe+ae+Jr,Yr="(?:"+[zr,ue,ne].join("|")+")"+Br,_r=RegExp([x+"?"+ee+"+"+fe+"(?="+[w,x,"$"].join("|")+")",Fr+"+"+ie+"(?="+[w,x+te,"$"].join("|")+")",x+"?"+te+"+"+fe,x+"+"+ie,Vr,Gr,Q,Yr].join("|"),"g");function qr(e){return e.match(_r)||[]}function Kr(e,r,u){return e=S(e),r=u?void 0:r,r===void 0?Or(e)?qr(e):pr(e):e.match(r)||[]}var Xr="['\u2019]",wr=RegExp(Xr,"g");function Qr(e){return function(r){return sr(Kr(Cr(r).replace(wr,"")),e,"")}}var eu=Qr(function(e,r,u){return r=r.toLowerCase(),e+(u?cr(r):r)}),ru=eu;function uu(e,r,u){return e===e&&(u!==void 0&&(e=e<=u?e:u),r!==void 0&&(e=e>=r?e:r)),e}function nu(e,r,u){return u===void 0&&(u=r,r=void 0),u!==void 0&&(u=R(u),u=u===u?u:0),r!==void 0&&(r=R(r),r=r===r?r:0),uu(R(e),r,u)}var O=function(){return U.Date.now()},tu="Expected a function",fu=Math.max,iu=Math.min;function au(e,r,u){var t,n,a,c,i,d,b=0,$=!1,g=!1,h=!0;if(typeof e!="function")throw new TypeError(tu);r=R(r)||0,T(u)&&($=!!u.leading,g="maxWait"in u,a=g?fu(R(u.maxWait)||0,r):a,h="trailing"in u?!!u.trailing:h);function y(f){var o=t,l=n;return t=n=void 0,b=f,c=e.apply(l,o),c}function de(f){return b=f,i=setTimeout(v,r),$?y(f):c}function ce(f){var o=f-d,l=f-b,I=r-o;return g?iu(I,a-l):I}function j(f){var o=f-d,l=f-b;return d===void 0||o>=r||o<0||g&&l>=a}function v(){var f=O();if(j(f))return E(f);i=setTimeout(v,ce(f))}function E(f){return i=void 0,h&&t?y(f):(t=n=void 0,c)}function se(){i!==void 0&&clearTimeout(i),b=0,t=d=n=i=void 0}function xe(){return i===void 0?c:E(O())}function C(){var f=O(),o=j(f);if(t=arguments,n=this,d=f,o){if(i===void 0)return de(d);if(g)return clearTimeout(i),i=setTimeout(v,r),y(d)}return i===void 0&&(i=setTimeout(v,r)),c}return C.cancel=se,C.flush=xe,C}export{ru as camelCase,nu as clamp,au as debounce};
|
|
@@ -7,7 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
import { UmbDataTypeRepository } from '../../repository/data-type.repository.js';
|
|
8
8
|
import { css, html, repeat, customElement, property, state, when, nothing } from '../../../../../external/lit/index.js';
|
|
9
9
|
import { UmbTextStyles } from '../../../../../shared/style/index.js';
|
|
10
|
-
import { groupBy } from '../../../../../external/lodash/index.js';
|
|
11
10
|
import { UMB_DATA_TYPE_PICKER_FLOW_DATA_TYPE_PICKER_MODAL, UMB_WORKSPACE_MODAL, UmbModalRouteRegistrationController, } from '../../../../core/modal/index.js';
|
|
12
11
|
import { umbExtensionsRegistry } from '../../../../core/extension-registry/index.js';
|
|
13
12
|
import { UmbLitElement } from '../../../../../shared/lit-element/index.js';
|
|
@@ -97,9 +96,13 @@ export let UmbDataTypePickerFlowModalElement = class UmbDataTypePickerFlowModalE
|
|
|
97
96
|
}
|
|
98
97
|
_performFiltering() {
|
|
99
98
|
if (this.#currentFilterQuery) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
const filteredDataTypes = this.#dataTypes.filter((dataType) => dataType.name?.toLowerCase().includes(this.#currentFilterQuery));
|
|
100
|
+
/* TODO: data type items doesn't have a group property. We will need a reference to the property editor UI to get the group.
|
|
101
|
+
this is a temp solution to group them as uncategorized. The same result as with the lodash groupBy.
|
|
102
|
+
*/
|
|
103
|
+
this._groupedDataTypes = {
|
|
104
|
+
undefined: filteredDataTypes,
|
|
105
|
+
};
|
|
103
106
|
}
|
|
104
107
|
else {
|
|
105
108
|
this._groupedDataTypes = undefined;
|
|
@@ -110,7 +113,10 @@ export let UmbDataTypePickerFlowModalElement = class UmbDataTypePickerFlowModalE
|
|
|
110
113
|
return (propertyEditorUI.name.toLowerCase().includes(this.#currentFilterQuery) ||
|
|
111
114
|
propertyEditorUI.alias.toLowerCase().includes(this.#currentFilterQuery));
|
|
112
115
|
});
|
|
113
|
-
|
|
116
|
+
// TODO: groupBy is not known by TS yet
|
|
117
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
118
|
+
// @ts-expect-error
|
|
119
|
+
this._groupedPropertyEditorUIs = Object.groupBy(filteredUIs, (propertyEditorUI) => propertyEditorUI.meta.group);
|
|
114
120
|
}
|
|
115
121
|
_close() {
|
|
116
122
|
this.modalContext?.reject();
|
|
@@ -6,7 +6,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
6
6
|
};
|
|
7
7
|
import { css, html, customElement, property, state, repeat } from '../../../../../external/lit/index.js';
|
|
8
8
|
import { UmbTextStyles } from '../../../../../shared/style/index.js';
|
|
9
|
-
import { groupBy } from '../../../../../external/lodash/index.js';
|
|
10
9
|
import { umbExtensionsRegistry } from '../../../../core/extension-registry/index.js';
|
|
11
10
|
import { UmbLitElement } from '../../../../../shared/lit-element/index.js';
|
|
12
11
|
export let UmbPropertyEditorUIPickerModalElement = class UmbPropertyEditorUIPickerModalElement extends UmbLitElement {
|
|
@@ -29,7 +28,10 @@ export let UmbPropertyEditorUIPickerModalElement = class UmbPropertyEditorUIPick
|
|
|
29
28
|
this.observe(umbExtensionsRegistry.extensionsOfType('propertyEditorUi'), (propertyEditorUIs) => {
|
|
30
29
|
// Only include Property Editor UIs which has Property Editor Schema Alias
|
|
31
30
|
this._propertyEditorUIs = propertyEditorUIs.filter((propertyEditorUi) => !!propertyEditorUi.meta.propertyEditorSchemaAlias);
|
|
32
|
-
|
|
31
|
+
// TODO: groupBy is not known by TS yet
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
this._groupedPropertyEditorUIs = Object.groupBy(this._propertyEditorUIs, (propertyEditorUi) => propertyEditorUi.meta.group);
|
|
33
35
|
});
|
|
34
36
|
}
|
|
35
37
|
_handleClick(propertyEditorUi) {
|
|
@@ -46,7 +48,10 @@ export let UmbPropertyEditorUIPickerModalElement = class UmbPropertyEditorUIPick
|
|
|
46
48
|
: this._propertyEditorUIs.filter((propertyEditorUI) => {
|
|
47
49
|
return (propertyEditorUI.name.toLowerCase().includes(query) || propertyEditorUI.alias.toLowerCase().includes(query));
|
|
48
50
|
});
|
|
49
|
-
|
|
51
|
+
// TODO: groupBy is not known by TS yet
|
|
52
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
53
|
+
// @ts-expect-error
|
|
54
|
+
this._groupedPropertyEditorUIs = Object.groupBy(result, (propertyEditorUI) => propertyEditorUI.meta.group);
|
|
50
55
|
}
|
|
51
56
|
_close() {
|
|
52
57
|
this.modalContext?.reject();
|
|
@@ -5,9 +5,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { UmbSelectionChangeEvent } from '../../../../core/event/index.js';
|
|
8
|
-
import { umbExtensionsRegistry
|
|
8
|
+
import { umbExtensionsRegistry } from '../../../../core/extension-registry/index.js';
|
|
9
9
|
import { css, html, customElement, property, state, nothing, ifDefined } from '../../../../../external/lit/index.js';
|
|
10
|
-
import { groupBy } from '../../../../../external/lodash/index.js';
|
|
11
10
|
import { UmbLitElement } from '../../../../../shared/lit-element/index.js';
|
|
12
11
|
export let UmbEntityUserPermissionSettingsListElement = class UmbEntityUserPermissionSettingsListElement extends UmbLitElement {
|
|
13
12
|
constructor() {
|
|
@@ -52,7 +51,10 @@ export let UmbEntityUserPermissionSettingsListElement = class UmbEntityUserPermi
|
|
|
52
51
|
return html `${this.#renderGroupedPermissions(this._manifests)} `;
|
|
53
52
|
}
|
|
54
53
|
#renderGroupedPermissions(permissionManifests) {
|
|
55
|
-
|
|
54
|
+
// TODO: groupBy is not known by TS yet
|
|
55
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
56
|
+
// @ts-expect-error
|
|
57
|
+
const groupedPermissions = Object.groupBy(permissionManifests, (manifest) => manifest.meta.group);
|
|
56
58
|
return html `
|
|
57
59
|
${Object.entries(groupedPermissions).map(([group, manifests]) => html `
|
|
58
60
|
${group !== 'undefined'
|