bromcom-ui 2.5.2-rc.0 → 2.5.2-rc.1
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-40e819f3.entry.js → p-1d5833ab.entry.js} +1 -1
- package/dist/bromcom-ui/{p-eb04342e.entry.js → p-2a3bb329.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e610c375.js → p-41db9f49.js} +1 -1
- package/dist/bromcom-ui/{p-8b4e9fe6.entry.js → p-48d10005.entry.js} +1 -1
- package/dist/bromcom-ui/p-499b3e58.entry.js +1 -0
- package/dist/bromcom-ui/{p-c61fa5eb.js → p-6a419a2a.js} +1 -1
- package/dist/bromcom-ui/{p-176b1c3a.entry.js → p-72e53d98.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4bccb0aa.entry.js → p-754991c2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7db170be.entry.js → p-7655f9ab.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b0c2a94.entry.js → p-95508ec6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-7681ee96.entry.js → p-97661e7c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-cf13f881.entry.js → p-9772a340.entry.js} +1 -1
- package/dist/bromcom-ui/{p-42137d0a.entry.js → p-a441c04c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ea74d463.entry.js → p-f2b3a8f7.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/bromcom-ui/p-ec1e392e.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as r,g as i}from"./p-74df82e2.js";import"./p-112455b1.js";import"./p-1429a2b4.js";import{G as a}from"./p-6a419a2a.js";import"./p-c6e58492.js";import{S as o}from"./p-7f28f038.js";import{s as l}from"./p-6d018a8f.js";const d=class{constructor(e){t(this,e),this.bcmItems=s(this,"bcm-items",7),this._id=a.UID()}connectedCallback(){if(this.el.children&&this.el.children.length>0){let t=l((()=>{var t;return Array.from(null===(t=this.el)||void 0===t?void 0:t.children).map((t=>({id:t.getAttribute("id")||a.UID(),text:t.getAttribute("text")||t.textContent.trim(),isHtmlContent:t.innerHTML.trim(),disabled:o.elementBooleanCheck(t.getAttribute("disabled")),selected:o.elementBooleanCheck(t.getAttribute("selected")),checked:o.elementBooleanCheck(t.getAttribute("checked")),readonly:o.elementBooleanCheck(t.getAttribute("readonly"))})))}),[]);this.bcmItems.emit(t),this.el.remove()}}render(){return e(r,null,e("slot",null))}get el(){return i(this)}};export{d as bcm_items}
|
|
@@ -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.1-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}
|