bromcom-ui 2.5.2-rc.5 → 2.5.2-rc.6
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.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-10432aaa.entry.js → p-04503d3b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6301508b.entry.js → p-0699d3aa.entry.js} +1 -1
- package/dist/bromcom-ui/p-089d5b4b.entry.js +1 -0
- package/dist/bromcom-ui/{p-569921e0.entry.js → p-1c166462.entry.js} +1 -1
- package/dist/bromcom-ui/{p-13b465ce.entry.js → p-210f3af4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e3ae0f9d.entry.js → p-29fb3043.entry.js} +1 -1
- package/dist/bromcom-ui/p-36559e42.entry.js +1 -0
- package/dist/bromcom-ui/{p-4031b560.entry.js → p-3aac64e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a074378f.entry.js → p-467b836a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e0430c8f.entry.js → p-60813973.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8bf8abf7.js → p-7172e632.js} +1 -1
- package/dist/bromcom-ui/{p-f52c1998.entry.js → p-8e4b727c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8dd4cd1d.entry.js → p-a03819fe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b075e12d.entry.js → p-c685cc70.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7fba6b18.js → p-d7084765.js} +1 -1
- package/dist/bromcom-ui/{p-625042ee.entry.js → p-e9977b78.entry.js} +1 -1
- package/dist/bromcom-ui/{p-bdf1396a.entry.js → p-f02f6e8a.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-1d7c025c.entry.js +0 -1
- package/dist/bromcom-ui/p-44d6172f.js +0 -1
- package/dist/bromcom-ui/p-89513268.entry.js +0 -1
- package/dist/bromcom-ui/p-90378a76.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.6-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}
|