bromcom-ui 2.6.2-rc.1 → 2.6.2-rc.4

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 (55) hide show
  1. package/dist/bromcom-ui/bromcom-ui.css +1 -1
  2. package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
  3. package/dist/bromcom-ui/{p-2d1abb9c.entry.js → p-016b55b6.entry.js} +1 -1
  4. package/dist/bromcom-ui/{p-499dc051.entry.js → p-050a804f.entry.js} +1 -1
  5. package/dist/bromcom-ui/{p-ce0d01ca.entry.js → p-0e2a6011.entry.js} +1 -1
  6. package/dist/bromcom-ui/{p-2a982545.entry.js → p-14a01c99.entry.js} +1 -1
  7. package/dist/bromcom-ui/{p-ecc440c0.entry.js → p-2b2af2b7.entry.js} +1 -1
  8. package/dist/bromcom-ui/p-3d40f551.entry.js +1 -0
  9. package/dist/bromcom-ui/{p-3a16fe4c.entry.js → p-419460c7.entry.js} +1 -1
  10. package/dist/bromcom-ui/{p-a20d0bc4.entry.js → p-4308e76a.entry.js} +1 -1
  11. package/dist/bromcom-ui/{p-3eada5da.entry.js → p-4c4c041a.entry.js} +1 -1
  12. package/dist/bromcom-ui/{p-919b8d62.entry.js → p-4e1cc302.entry.js} +1 -1
  13. package/dist/bromcom-ui/p-5421ac6c.entry.js +1 -0
  14. package/dist/bromcom-ui/{p-44e3abeb.entry.js → p-559a8618.entry.js} +1 -1
  15. package/dist/bromcom-ui/p-599d3d84.entry.js +1 -0
  16. package/dist/bromcom-ui/{p-35d7a019.entry.js → p-5f329991.entry.js} +1 -1
  17. package/dist/bromcom-ui/{p-7e73190d.js → p-60271ed7.js} +1 -1
  18. package/dist/bromcom-ui/{p-32a5f072.entry.js → p-60ad80b9.entry.js} +1 -1
  19. package/dist/bromcom-ui/{p-391795a8.js → p-69bccbbc.js} +1 -1
  20. package/dist/bromcom-ui/{p-7bc3a736.js → p-7e8b7a25.js} +1 -1
  21. package/dist/bromcom-ui/p-80d10b1b.entry.js +1 -0
  22. package/dist/bromcom-ui/p-9aee8ac6.js +1 -0
  23. package/dist/bromcom-ui/{p-033d4da7.entry.js → p-9d1353f5.entry.js} +1 -1
  24. package/dist/bromcom-ui/p-9d1fb4ad.entry.js +1 -0
  25. package/dist/bromcom-ui/{p-7eda3154.entry.js → p-9e837d41.entry.js} +1 -1
  26. package/dist/bromcom-ui/{p-6201fa37.entry.js → p-a2c8f6a9.entry.js} +1 -1
  27. package/dist/bromcom-ui/{p-f847893e.entry.js → p-a489a6bd.entry.js} +1 -1
  28. package/dist/bromcom-ui/p-a62cdbe7.js +1 -0
  29. package/dist/bromcom-ui/{p-c587a419.entry.js → p-b1f64013.entry.js} +1 -1
  30. package/dist/bromcom-ui/p-b7e75cee.js +1 -0
  31. package/dist/bromcom-ui/{p-a69c842b.js → p-b8aebe79.js} +1 -1
  32. package/dist/bromcom-ui/{p-9950326d.entry.js → p-ba062e32.entry.js} +1 -1
  33. package/dist/bromcom-ui/{p-79105792.entry.js → p-bca6ad80.entry.js} +1 -1
  34. package/dist/bromcom-ui/{p-18058353.entry.js → p-c8c705d8.entry.js} +1 -1
  35. package/dist/bromcom-ui/{p-dc7fd238.entry.js → p-cc15d4c3.entry.js} +1 -1
  36. package/dist/bromcom-ui/{p-1c575d5e.entry.js → p-cf5ad9d4.entry.js} +1 -1
  37. package/dist/bromcom-ui/{p-7f278eb3.entry.js → p-d15e29c8.entry.js} +1 -1
  38. package/dist/bromcom-ui/{p-f8031360.js → p-e0182e3c.js} +1 -1
  39. package/dist/bromcom-ui/{p-d1362d26.js → p-e3137520.js} +1 -1
  40. package/dist/bromcom-ui/{p-fda217dd.entry.js → p-eff1e78e.entry.js} +1 -1
  41. package/dist/bromcom-ui/p-f06fe023.entry.js +1 -0
  42. package/dist/bromcom-ui/{p-e9b1e392.entry.js → p-f6c14afb.entry.js} +1 -1
  43. package/package.json +1 -1
  44. package/dist/bromcom-ui/p-12313045.entry.js +0 -1
  45. package/dist/bromcom-ui/p-15bf77d0.entry.js +0 -1
  46. package/dist/bromcom-ui/p-27296867.entry.js +0 -1
  47. package/dist/bromcom-ui/p-2b39c8ef.js +0 -1
  48. package/dist/bromcom-ui/p-4af1fb2b.js +0 -1
  49. package/dist/bromcom-ui/p-4d8aa25e.entry.js +0 -1
  50. package/dist/bromcom-ui/p-6f390031.js +0 -1
  51. package/dist/bromcom-ui/p-b3544e64.entry.js +0 -1
  52. package/dist/bromcom-ui/p-ccb81d54.entry.js +0 -1
  53. package/dist/bromcom-ui/p-e135888f.entry.js +0 -1
  54. package/dist/bromcom-ui/p-faaebe40.js +0 -1
  55. package/dist/bromcom-ui/p-fd48dffe.entry.js +0 -1
@@ -1 +1 @@
1
- var e,r;!function(e){e.info="info",e.error="error",e.warning="warning",e.success="success",e.default="default"}(e||(e={})),function(e){e.banner="banner",e.basic="basic"}(r||(r={}));const o=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const e=window.location.hostname;return o.includes(e)})()&&console.log("%cbromcom ui%c version: 2.6.2-rc.1-p ","color: white; background:#1890FF; font-weight: 300; font-size:10px; padding:2px 6px; border-radius: 5px","font-size:10px;");class c{}c.UID=()=>Math.random().toString(36).substr(2,9),c.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"}}},c.createComponent=(e,r,o="append-area")=>{let c=o?document.querySelector(o):document.body;o&&!c&&(c=document.createElement("div"),c.id="append-area",document.body.appendChild(c),c.style.visibility="hidden",c.style.opacity="0");let n=document.getElementById(r.id);return n||(n=document.createElement(e)),Object.keys(r).forEach((e=>{n[e]=r[e]})),c.appendChild(n),n},c.debounceInput=(e,r,o,c)=>{let n;return function(){let t=this,i=arguments;c&&c.apply(t,i);let l=function(){n=null,o||e.apply(t,i)},a=o&&!n;clearTimeout(n),n=setTimeout(l,r),a&&e.apply(t,i)}},c.flatArray=e=>e.reduce(((e,r)=>e.concat(Array.isArray(r)?c.flatArray(r):r)),[]),c.reverseNodeList=e=>{let r=[];for(let o=e.length-1;o>=0;o--)r.push(e[o]);return r},c.findEventPathWithKey=(e,r,o)=>{o=Array.isArray(o)?o:[o];let c=e.composedPath()||e.path;if(c)return void 0!==c.filter((e=>o.includes(e[r])))[0]},c.findEventTarget=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.target||e.srcElement;if(console.log(o),o)return r.includes(o)},c.findEventPathWithNodeName=(e,r)=>{let o=e.composedPath()||e.path;if(o)return o.filter((e=>e.nodeName===r))[0]},c.findEventPath=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.composedPath()||e.path;if(o)return void 0!==o.filter((e=>r.includes(e)))[0]},c.objectIsEmpty=e=>0===Object.keys(e).length&&e.constructor===Object,c.convertIdsToNestedData=(e,r)=>{let o=[],n=[];return r.forEach((r=>{e&&e.indexOf(r.id)>-1?o.push(r):r.items&&(n=c.convertIdsToNestedData(e,r.items),n.length>0&&(r.items=n,o.push(r)))})),o},c.nodeListToArray=e=>Array.prototype.slice.call(e),c.setAttributes=(e,r)=>{Object.keys(r).forEach((o=>{e.setAttribute(o,r[o])}))};export{c as G,e as S,r as T}
1
+ var e,r;!function(e){e.info="info",e.error="error",e.warning="warning",e.success="success",e.default="default"}(e||(e={})),function(e){e.banner="banner",e.basic="basic"}(r||(r={}));const o=["localhost","beta-regression.bromcomcloud.com","beta-scrum.bromcomcloud.com","beta-kanban.bromcomcloud.com"];(()=>{const e=window.location.hostname;return o.includes(e)})()&&console.log("%cbromcom ui%c version: 2.6.2-rc.4-p ","color: white; background:#1890FF; font-weight: 300; font-size:10px; padding:2px 6px; border-radius: 5px","font-size:10px;");class c{}c.UID=()=>Math.random().toString(36).substr(2,9),c.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"}}},c.createComponent=(e,r,o="append-area")=>{let c=o?document.querySelector(o):document.body;o&&!c&&(c=document.createElement("div"),c.id="append-area",document.body.appendChild(c),c.style.visibility="hidden",c.style.opacity="0");let n=document.getElementById(r.id);return n||(n=document.createElement(e)),Object.keys(r).forEach((e=>{n[e]=r[e]})),c.appendChild(n),n},c.debounceInput=(e,r,o,c)=>{let n;return function(){let t=this,i=arguments;c&&c.apply(t,i);let l=function(){n=null,o||e.apply(t,i)},a=o&&!n;clearTimeout(n),n=setTimeout(l,r),a&&e.apply(t,i)}},c.flatArray=e=>e.reduce(((e,r)=>e.concat(Array.isArray(r)?c.flatArray(r):r)),[]),c.reverseNodeList=e=>{let r=[];for(let o=e.length-1;o>=0;o--)r.push(e[o]);return r},c.findEventPathWithKey=(e,r,o)=>{o=Array.isArray(o)?o:[o];let c=e.composedPath()||e.path;if(c)return void 0!==c.filter((e=>o.includes(e[r])))[0]},c.findEventTarget=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.target||e.srcElement;if(console.log(o),o)return r.includes(o)},c.findEventPathWithNodeName=(e,r)=>{let o=e.composedPath()||e.path;if(o)return o.filter((e=>e.nodeName===r))[0]},c.findEventPath=(e,r)=>{r=Array.isArray(r)?r:[r];let o=e.composedPath()||e.path;if(o)return void 0!==o.filter((e=>r.includes(e)))[0]},c.objectIsEmpty=e=>0===Object.keys(e).length&&e.constructor===Object,c.convertIdsToNestedData=(e,r)=>{let o=[],n=[];return r.forEach((r=>{e&&e.indexOf(r.id)>-1?o.push(r):r.items&&(n=c.convertIdsToNestedData(e,r.items),n.length>0&&(r.items=n,o.push(r)))})),o},c.nodeListToArray=e=>Array.prototype.slice.call(e),c.setAttributes=(e,r)=>{Object.keys(r).forEach((o=>{e.setAttribute(o,r[o])}))};export{c as G,e as S,r as T}
@@ -1 +1 @@
1
- import{s as f}from"./p-6d018a8f.js";class a{}a.compareTwoArrayIsSame=(a,d)=>f((()=>a.length===d.length&&a.every(((f,a)=>f===d[a])))),a.isEmailValid=f=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(f),a.isUrlValid=f=>/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(f),a.isNumberValid=f=>/^[+-]?\d+$/.test(f),a.isNumberFloatValid=f=>/^\d+(\.\d+)?$/.test(f),a.isPhoneValid=f=>/^(?=.*[0-9])[- +()0-9]+$/.test(f),a.isValidate=(f,d)=>{switch(d){case"email":return a.isEmailValid(f);case"url":return a.isUrlValid(f);case"number":return a.isNumberValid(f)||a.isNumberFloatValid(f);case"phone":return a.isPhoneValid(f);default:return!0}};export{a as V}
1
+ import{s as f}from"./p-6d018a8f.js";class a{}a.compareTwoArrayIsSame=(a,d)=>f((()=>a.length===d.length&&a.every(((f,a)=>f===d[a])))),a.isEmailValid=f=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(f),a.isUrlValid=f=>/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/i.test(f),a.isNumberValid=f=>/^[+-]?\d+$/.test(f),a.isNumberFloatValid=f=>/^\d+(\.\d+)?$/.test(f),a.isPhoneValid=f=>/^(?=.*[0-9])[- +()0-9]+$/.test(f),a.pattern=(f,a)=>new RegExp(a).test(f),a.isValidate=(f,d)=>{switch(d){case"email":return a.isEmailValid(f);case"url":return a.isUrlValid(f);case"number":return a.isNumberValid(f)||a.isNumberFloatValid(f);case"phone":return a.isPhoneValid(f);default:return!0}};export{a as V}