bromcom-ui 2.5.2-rc.0 → 2.5.2-rc.3

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.
Files changed (41) hide show
  1. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  2. package/dist/bromcom-ui/{p-78fa50e2.entry.js → p-027e2705.entry.js} +1 -1
  3. package/dist/bromcom-ui/{p-1b0c2a94.entry.js → p-055b86a1.entry.js} +1 -1
  4. package/dist/bromcom-ui/p-239293c3.entry.js +1 -0
  5. package/dist/bromcom-ui/{p-7f28f038.js → p-66ba7ea5.js} +1 -1
  6. package/dist/bromcom-ui/{p-c6e58492.js → p-7e73190d.js} +1 -1
  7. package/dist/bromcom-ui/p-86aeef40.entry.js +1 -0
  8. package/dist/bromcom-ui/p-87a280db.js +1 -0
  9. package/dist/bromcom-ui/p-89429c4f.entry.js +1 -0
  10. package/dist/bromcom-ui/{p-65aad9e2.js → p-8d4017a2.js} +1 -1
  11. package/dist/bromcom-ui/{p-eb04342e.entry.js → p-921524a7.entry.js} +1 -1
  12. package/dist/bromcom-ui/p-9ae77d86.entry.js +1 -0
  13. package/dist/bromcom-ui/{p-176b1c3a.entry.js → p-abbd5624.entry.js} +1 -1
  14. package/dist/bromcom-ui/{p-4bccb0aa.entry.js → p-ae8684f0.entry.js} +1 -1
  15. package/dist/bromcom-ui/{p-c61fa5eb.js → p-b05a7460.js} +1 -1
  16. package/dist/bromcom-ui/{p-cf13f881.entry.js → p-b40ef857.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-40e819f3.entry.js → p-b4acbaaf.entry.js} +1 -1
  18. package/dist/bromcom-ui/p-f4fc0364.entry.js +1 -0
  19. package/package.json +1 -1
  20. package/dist/bromcom-ui/p-17e96453.js +0 -1
  21. package/dist/bromcom-ui/p-20d1fe2f.js +0 -1
  22. package/dist/bromcom-ui/p-2b39c8ef.js +0 -1
  23. package/dist/bromcom-ui/p-42137d0a.entry.js +0 -1
  24. package/dist/bromcom-ui/p-56dbe576.entry.js +0 -1
  25. package/dist/bromcom-ui/p-5b45fc6a.entry.js +0 -1
  26. package/dist/bromcom-ui/p-7681ee96.entry.js +0 -1
  27. package/dist/bromcom-ui/p-7db170be.entry.js +0 -1
  28. package/dist/bromcom-ui/p-8ad406b3.js +0 -1
  29. package/dist/bromcom-ui/p-8b4e9fe6.entry.js +0 -1
  30. package/dist/bromcom-ui/p-9d0a08a2.js +0 -1
  31. package/dist/bromcom-ui/p-a331ae2f.entry.js +0 -1
  32. package/dist/bromcom-ui/p-a5403cdb.js +0 -1
  33. package/dist/bromcom-ui/p-c26faf31.entry.js +0 -1
  34. package/dist/bromcom-ui/p-dbc636d2.entry.js +0 -1
  35. package/dist/bromcom-ui/p-dd148810.js +0 -1
  36. package/dist/bromcom-ui/p-e610c375.js +0 -1
  37. package/dist/bromcom-ui/p-e7ddd6a6.entry.js +0 -1
  38. package/dist/bromcom-ui/p-e7e88c89.entry.js +0 -1
  39. package/dist/bromcom-ui/p-ea74d463.entry.js +0 -1
  40. package/dist/bromcom-ui/p-ec1e392e.entry.js +0 -1
  41. package/dist/bromcom-ui/p-fb577155.entry.js +0 -1
@@ -1 +1 @@
1
- import{S as e}from"./p-1429a2b4.js";const r=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const e=window.location.hostname;return r.includes(e)})()&&console.log("%cbromcom ui%c version: 2.5.2-rc.0-p ","color: white; background:#1890FF; font-weight: 300; font-size:10px; padding:2px 6px; border-radius: 5px","font-size:10px;");class o{}o.UID=()=>Math.random().toString(36).substr(2,9),o.getIconAttrWithStatusType=(r,o=!1)=>{if(o)return{icon:"loading",color:"blue-6"};switch(r){case e.info:return{color:"blue-6",icon:"info-circle"};case e.error:return{color:"red-6",icon:"close-circle"};case e.warning:return{color:"warmyellow-6",icon:"exclamation-circle"};case e.success:return{color:"green-6",icon:"check-circle"}}},o.createComponent=(e,r)=>{let o=document.getElementById("append-area");o||(o=document.createElement("div"),o.id="append-area",document.body.appendChild(o)),o.style.visibility="hidden",o.style.opacity="0";let c=document.getElementById(r.id);return c||(c=document.createElement(e)),Object.keys(r).forEach((e=>{c[e]=r[e]})),o.appendChild(c),c},o.debounceInput=(e,r,o,c)=>{let t;return function(){let n=this,l=arguments;c&&c.apply(n,l);let i=function(){t=null,o||e.apply(n,l)},a=o&&!t;clearTimeout(t),t=setTimeout(i,r),a&&e.apply(n,l)}},o.flatArray=e=>e.reduce(((e,r)=>e.concat(Array.isArray(r)?o.flatArray(r):r)),[]),o.reverseNodeList=e=>{let r=[];for(let o=e.length-1;o>=0;o--)r.push(e[o]);return r},o.findEventPathWithKey=(e,r,o)=>{o=Array.isArray(o)?o:[o];let c=e.path||e.composedPath();if(c)return void 0!==c.filter((e=>o.includes(e[r])))[0]},o.findEventTarget=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.target||e.srcElement;if(console.log(o),o)return r.includes(o)},o.findEventPath=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.path||e.composedPath();if(o)return void 0!==o.filter((e=>r.includes(e)))[0]},o.objectIsEmpty=e=>0===Object.keys(e).length&&e.constructor===Object,o.convertIdsToNestedData=(e,r)=>{let c=[],t=[];return r.forEach((r=>{e.indexOf(r.id)>-1?c.push(r):r.items&&(t=o.convertIdsToNestedData(e,r.items),t.length>0&&(r.items=t,c.push(r)))})),c},o.nodeListToArray=e=>Array.prototype.slice.call(e),o.setAttributes=(e,r)=>{Object.keys(r).forEach((o=>{e.setAttribute(o,r[o])}))};export{o as G}
1
+ import{S as e}from"./p-1429a2b4.js";const r=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const e=window.location.hostname;return r.includes(e)})()&&console.log("%cbromcom ui%c version: 2.5.2-rc.3-p ","color: white; background:#1890FF; font-weight: 300; font-size:10px; padding:2px 6px; border-radius: 5px","font-size:10px;");class o{}o.UID=()=>Math.random().toString(36).substr(2,9),o.getIconAttrWithStatusType=(r,o=!1)=>{if(o)return{icon:"loading",color:"blue-6"};switch(r){case e.info:return{color:"blue-6",icon:"info-circle"};case e.error:return{color:"red-6",icon:"close-circle"};case e.warning:return{color:"warmyellow-6",icon:"exclamation-circle"};case e.success:return{color:"green-6",icon:"check-circle"}}},o.createComponent=(e,r)=>{let o=document.getElementById("append-area");o||(o=document.createElement("div"),o.id="append-area",document.body.appendChild(o)),o.style.visibility="hidden",o.style.opacity="0";let c=document.getElementById(r.id);return c||(c=document.createElement(e)),Object.keys(r).forEach((e=>{c[e]=r[e]})),o.appendChild(c),c},o.debounceInput=(e,r,o,c)=>{let t;return function(){let n=this,l=arguments;c&&c.apply(n,l);let i=function(){t=null,o||e.apply(n,l)},a=o&&!t;clearTimeout(t),t=setTimeout(i,r),a&&e.apply(n,l)}},o.flatArray=e=>e.reduce(((e,r)=>e.concat(Array.isArray(r)?o.flatArray(r):r)),[]),o.reverseNodeList=e=>{let r=[];for(let o=e.length-1;o>=0;o--)r.push(e[o]);return r},o.findEventPathWithKey=(e,r,o)=>{o=Array.isArray(o)?o:[o];let c=e.path||e.composedPath();if(c)return void 0!==c.filter((e=>o.includes(e[r])))[0]},o.findEventTarget=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.target||e.srcElement;if(console.log(o),o)return r.includes(o)},o.findEventPath=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.path||e.composedPath();if(o)return void 0!==o.filter((e=>r.includes(e)))[0]},o.objectIsEmpty=e=>0===Object.keys(e).length&&e.constructor===Object,o.convertIdsToNestedData=(e,r)=>{let c=[],t=[];return r.forEach((r=>{e&&e.indexOf(r.id)>-1?c.push(r):r.items&&(t=o.convertIdsToNestedData(e,r.items),t.length>0&&(r.items=t,c.push(r)))})),c},o.nodeListToArray=e=>Array.prototype.slice.call(e),o.setAttributes=(e,r)=>{Object.keys(r).forEach((o=>{e.setAttribute(o,r[o])}))};export{o as G}