bromcom-ui 2.5.2-rc.2 → 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.
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-c34ad1b3.entry.js → p-055b86a1.entry.js} +1 -1
- package/dist/bromcom-ui/p-239293c3.entry.js +1 -0
- package/dist/bromcom-ui/{p-afc3eac4.entry.js → p-89429c4f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-72fe0286.entry.js → p-921524a7.entry.js} +1 -1
- package/dist/bromcom-ui/p-9ae77d86.entry.js +1 -0
- package/dist/bromcom-ui/{p-a5bfd577.entry.js → p-abbd5624.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1dcab991.entry.js → p-ae8684f0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f422ec12.js → p-b05a7460.js} +1 -1
- package/dist/bromcom-ui/{p-bd618d5a.entry.js → p-b40ef857.entry.js} +1 -1
- package/dist/bromcom-ui/{p-aaa3dd17.entry.js → p-b4acbaaf.entry.js} +1 -1
- package/dist/bromcom-ui/p-f4fc0364.entry.js +1 -0
- package/package.json +1 -1
- package/dist/bromcom-ui/p-31a2ff78.entry.js +0 -1
- package/dist/bromcom-ui/p-95f779d6.entry.js +0 -1
- package/dist/bromcom-ui/p-d24f379f.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.
|
|
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}
|