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
@@ -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-b05a7460.js";import"./p-7e73190d.js";import{S as o}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=a.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")||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{l as bcm_items}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bromcom-ui",
3
- "version": "2.5.2-rc.0",
3
+ "version": "2.5.2-rc.3",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- import{C as s}from"./p-312efff7.js";import{e as r}from"./p-a80ff3e5.js";class d{}d.isHex=s=>/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(s),d.isRgb=s=>/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.test(s),d.isRgba=s=>/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.test(s),d.isHsl=s=>/^hsl\((\d{1,3}),\s*(\d{1,3}%),\s*(\d{1,3}%)\)$/.test(s),d.isHsla=s=>/^hsla\((\d{1,3}),\s*(\d{1,3}%),\s*(\d{1,3}%),\s*(\d{1,3})\)$/.test(s),d.convertColorToHex=e=>{if(e){if(d.isHex(e))return e;if(d.isRgb(e)){const s=e.match(/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/);return"#"+(16777216+65536*parseInt(s[1])+256*parseInt(s[2])+parseInt(s[3])).toString(16).substring(1)}if(r(s,e))return r(s,e)}},d.reverseColor=s=>{const r=d.convertColorToHex(s);if(r)return(299*parseInt(r.substring(1,3),16)+587*parseInt(r.substring(3,5),16)+114*parseInt(r.substring(5,7),16))/1e3>=200?"#000000":"#FFFFFF"};export{d as C}
@@ -1 +0,0 @@
1
- import{g as t}from"./p-74df82e2.js";import{s as n}from"./p-6d018a8f.js";function s(s,o=!1){return(i,r)=>{const{connectedCallback:c,componentWillRender:e}=i;i.connectedCallback=function(){const o=t(this);if(o[r]){const t=n((()=>o.hasAttribute(s)?o.getAttribute(s).valueOf():o[s].valueOf()),null);t&&(this[r]=n((()=>"string"==typeof t?JSON.parse(t):t),[]),o.removeAttribute(s))}return c&&c.call(this)},i.componentWillRender=async function(){if(o){const i=t(this);if(o){const t=n((()=>i.hasAttribute(s)?i.getAttribute(s).valueOf():i[s].valueOf()),null);t&&t.length>0&&"string"==typeof t&&(this[s]=n((()=>JSON.parse(t)),[])),i.removeAttribute(s)}return e&&e.call(this)}}}}export{s as J}
@@ -1 +0,0 @@
1
- class a{}a.convertTimeStampToDate=a=>new Date(a);export{a as D}