bromcom-ui 2.5.1 → 2.5.2-rc.2
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-78fa50e2.entry.js → p-027e2705.entry.js} +1 -1
- package/dist/bromcom-ui/{p-313728b5.entry.js → p-1dcab991.entry.js} +1 -1
- package/dist/bromcom-ui/p-31a2ff78.entry.js +1 -0
- package/dist/bromcom-ui/{p-7f28f038.js → p-66ba7ea5.js} +1 -1
- package/dist/bromcom-ui/{p-2f84d05c.entry.js → p-72fe0286.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c6e58492.js → p-7e73190d.js} +1 -1
- package/dist/bromcom-ui/p-86aeef40.entry.js +1 -0
- package/dist/bromcom-ui/p-87a280db.js +1 -0
- package/dist/bromcom-ui/{p-65aad9e2.js → p-8d4017a2.js} +1 -1
- package/dist/bromcom-ui/p-95f779d6.entry.js +1 -0
- package/dist/bromcom-ui/{p-9105bca9.entry.js → p-a5bfd577.entry.js} +1 -1
- package/dist/bromcom-ui/{p-f0ba90d1.entry.js → p-aaa3dd17.entry.js} +1 -1
- package/dist/bromcom-ui/p-afc3eac4.entry.js +1 -0
- package/dist/bromcom-ui/{p-b45e3f70.entry.js → p-bd618d5a.entry.js} +1 -1
- package/dist/bromcom-ui/p-c34ad1b3.entry.js +1 -0
- package/dist/bromcom-ui/p-d24f379f.entry.js +1 -0
- package/dist/bromcom-ui/p-f422ec12.js +1 -0
- package/package.json +2 -2
- package/dist/bromcom-ui/p-12e7e8ec.entry.js +0 -1
- package/dist/bromcom-ui/p-14c63a9d.js +0 -1
- package/dist/bromcom-ui/p-150bea57.entry.js +0 -1
- package/dist/bromcom-ui/p-17c7c4d1.entry.js +0 -1
- package/dist/bromcom-ui/p-17e96453.js +0 -1
- package/dist/bromcom-ui/p-20d1fe2f.js +0 -1
- package/dist/bromcom-ui/p-2b39c8ef.js +0 -1
- package/dist/bromcom-ui/p-3b3667ad.entry.js +0 -1
- package/dist/bromcom-ui/p-56dbe576.entry.js +0 -1
- package/dist/bromcom-ui/p-5b45fc6a.entry.js +0 -1
- package/dist/bromcom-ui/p-7ab20b6d.entry.js +0 -1
- package/dist/bromcom-ui/p-821e061b.entry.js +0 -1
- package/dist/bromcom-ui/p-8ad406b3.js +0 -1
- package/dist/bromcom-ui/p-9d0a08a2.js +0 -1
- package/dist/bromcom-ui/p-a331ae2f.entry.js +0 -1
- package/dist/bromcom-ui/p-a5403cdb.js +0 -1
- package/dist/bromcom-ui/p-b9754409.entry.js +0 -1
- package/dist/bromcom-ui/p-c26faf31.entry.js +0 -1
- package/dist/bromcom-ui/p-c6e05daa.js +0 -1
- package/dist/bromcom-ui/p-d3311bc8.entry.js +0 -1
- package/dist/bromcom-ui/p-dbc636d2.entry.js +0 -1
- package/dist/bromcom-ui/p-dd148810.js +0 -1
- package/dist/bromcom-ui/p-e7ddd6a6.entry.js +0 -1
- package/dist/bromcom-ui/p-e7e88c89.entry.js +0 -1
- package/dist/bromcom-ui/p-e9baf97b.entry.js +0 -1
- package/dist/bromcom-ui/p-f868b573.entry.js +0 -1
- package/dist/bromcom-ui/p-fb577155.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 o}from"./p-f422ec12.js";import"./p-7e73190d.js";import{S as a}from"./p-66ba7ea5.js";import{s as d}from"./p-6d018a8f.js";const l=class{constructor(e){t(this,e),this.bcmItems=s(this,"bcm-items",7),this._id=o.UID()}connectedCallback(){if(this.el.children&&this.el.children.length>0){let t=d((()=>{var t;return Array.from(null===(t=this.el)||void 0===t?void 0:t.children).map((t=>({id:t.getAttribute("id")||o.UID(),text:t.getAttribute("text")||t.textContent.trim(),isHtmlContent:t.innerHTML.trim(),disabled:a.elementBooleanCheck(t.getAttribute("disabled")),selected:a.elementBooleanCheck(t.getAttribute("selected")),checked:a.elementBooleanCheck(t.getAttribute("checked")),readonly:a.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{l as bcm_items}
|
|
@@ -0,0 +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.2-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}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bromcom-ui",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.2-rc.2",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"build:prod": "stencil build --prod",
|
|
30
30
|
"generate:storybook": "npm run build && build-storybook -o ./storybook && npx cpy ./dist/bromcom-ui ./storybook/build",
|
|
31
31
|
"distRemove": "rm -rf ./dist/cjs && rm -rf ./dist/esm && rm -rf ./dist/types && rm -rf ./dist/collection && rm -r ./dist/index.cjs.js && rm -r ./dist/index.js",
|
|
32
|
-
"pre-version": "npm run build --prod && npm version prerelease && npm run build --prod && npm run distRemove"
|
|
32
|
+
"pre-version": "npm run build --prod && npm version prerelease --preid=rc && npm run build --prod && npm run distRemove"
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"devDependencies": {
|