@bino-bi/bn-template-engine 1.0.0-alpha.10 → 1.0.0-alpha.12

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 (124) hide show
  1. package/LICENSE +203 -21
  2. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  3. package/dist/bn-template-engine/p-230095a5.entry.js +1 -0
  4. package/dist/bn-template-engine/{p-fdb3e99a.entry.js → p-3b73ffc7.entry.js} +1 -1
  5. package/dist/bn-template-engine/p-46699464.entry.js +1 -0
  6. package/dist/bn-template-engine/{p-e783733e.entry.js → p-52097456.entry.js} +1 -1
  7. package/dist/bn-template-engine/p-637e3b8f.entry.js +1 -0
  8. package/dist/bn-template-engine/{p-c2cbb8ea.entry.js → p-67eae33e.entry.js} +1 -1
  9. package/dist/bn-template-engine/p-BVFHvEXF.js +1 -0
  10. package/dist/bn-template-engine/p-CQnZV3JG.js +1 -0
  11. package/dist/bn-template-engine/p-DHheVOfP.js +1 -0
  12. package/dist/bn-template-engine/{p-e94b4e31.entry.js → p-ab3ea8cf.entry.js} +1 -1
  13. package/dist/cjs/bn-asset_21.cjs.entry.js +640 -732
  14. package/dist/cjs/bn-grid.cjs.entry.js +2 -2
  15. package/dist/cjs/bn-image.cjs.entry.js +2 -2
  16. package/dist/cjs/bn-internationalization.cjs.entry.js +1 -1
  17. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  18. package/dist/cjs/bn-text.cjs.entry.js +3 -3
  19. package/dist/cjs/bn-tree.cjs.entry.js +2 -2
  20. package/dist/cjs/context-protocol-Op7uUwN3.js +9214 -0
  21. package/dist/cjs/editor-companion.cjs.entry.js +13 -6
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/cjs/{scaling-eyzCrFB8.js → scaling-57N4Cxb_.js} +44 -40
  24. package/dist/cjs/withStyled-C2kmGAK3.js +1405 -0
  25. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +11 -6
  26. package/dist/collection/components/bn-chart-structure/ibcs-chart-structure.js +50 -22
  27. package/dist/collection/components/bn-chart-structure/utils/StructureChart.js +51 -48
  28. package/dist/collection/components/bn-chart-structure/utils/model/StructureChartComponentConfig.js +5 -4
  29. package/dist/collection/components/bn-chart-time/bn-chart-time.js +11 -6
  30. package/dist/collection/components/bn-chart-time/ibcs-chart-time.js +47 -22
  31. package/dist/collection/components/bn-chart-time/utils/TimeChart.js +76 -60
  32. package/dist/collection/components/bn-chart-time/utils/model/TimeChartComponentConfig.js +5 -4
  33. package/dist/collection/components/bn-chart-time/utils/model/TimeChartDataRow.js +2 -0
  34. package/dist/collection/components/bn-dataset/bn-dataset.js +195 -23
  35. package/dist/collection/components/bn-datasource/bn-datasource.js +144 -12
  36. package/dist/collection/components/bn-table/bn-table.js +13 -8
  37. package/dist/collection/components/bn-table/ibcs-table.js +52 -25
  38. package/dist/collection/components/bn-table/utils/Table.js +27 -21
  39. package/dist/collection/components/bn-table/utils/factories/tableDataSetFactory.js +2 -2
  40. package/dist/collection/components/bn-table/utils/helper/DataQuery.js +52 -43
  41. package/dist/collection/components/bn-table/utils/helper/QueryGroup.js +4 -9
  42. package/dist/collection/components/bn-table/utils/model/TableComponentConfig.js +5 -4
  43. package/dist/collection/components/bn-title/ibcs-title/ibcs-title.js +1 -4
  44. package/dist/collection/components/editor-companion/editor-companion.js +12 -5
  45. package/dist/collection/context/scopedDb.js +113 -0
  46. package/dist/collection/stores/createScopedStores.js +3 -4
  47. package/dist/collection/utils/dataAnalyzer.js +14 -8
  48. package/dist/collection/utils/withDataset.js +43 -39
  49. package/dist/collection/utils/withDatasource.js +28 -18
  50. package/dist/components/DataFormatDigits.js +1 -1
  51. package/dist/components/DateStringFactory.js +1 -1
  52. package/dist/components/Order.js +1 -1
  53. package/dist/components/SVGVariancesStyleGroup.js +1 -1
  54. package/dist/components/bn-chart-structure.js +1 -1
  55. package/dist/components/bn-chart-time.js +1 -1
  56. package/dist/components/bn-dataset.js +1 -1
  57. package/dist/components/bn-datasource.js +1 -1
  58. package/dist/components/bn-table.js +1 -1
  59. package/dist/components/bn-title2.js +1 -1
  60. package/dist/components/context-protocol.js +1 -1
  61. package/dist/components/editor-companion.js +1 -1
  62. package/dist/components/ibcs-chart-structure2.js +1 -1
  63. package/dist/components/ibcs-chart-time2.js +1 -1
  64. package/dist/components/ibcs-table2.js +1 -1
  65. package/dist/components/ibcs-title2.js +1 -1
  66. package/dist/components/ibcsRuleSet.js +1 -1
  67. package/dist/components/luxon.js +1 -0
  68. package/dist/components/scaling.js +1 -1
  69. package/dist/esm/bn-asset_21.entry.js +635 -727
  70. package/dist/esm/bn-grid.entry.js +2 -2
  71. package/dist/esm/bn-image.entry.js +2 -2
  72. package/dist/esm/bn-internationalization.entry.js +1 -1
  73. package/dist/esm/bn-template-engine.js +1 -1
  74. package/dist/esm/bn-text.entry.js +3 -3
  75. package/dist/esm/bn-tree.entry.js +2 -2
  76. package/dist/esm/context-protocol-BDhzNbeD.js +9204 -0
  77. package/dist/esm/editor-companion.entry.js +13 -6
  78. package/dist/esm/loader.js +1 -1
  79. package/dist/esm/{scaling-BzbiBnuN.js → scaling-La1Ow72h.js} +44 -40
  80. package/dist/esm/withStyled-Bl9cSoRW.js +1372 -0
  81. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +4 -2
  82. package/dist/types/components/bn-chart-structure/ibcs-chart-structure.d.ts +7 -3
  83. package/dist/types/components/bn-chart-structure/utils/StructureChart.d.ts +11 -12
  84. package/dist/types/components/bn-chart-structure/utils/model/StructureChartComponentConfig.d.ts +5 -3
  85. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +4 -2
  86. package/dist/types/components/bn-chart-time/ibcs-chart-time.d.ts +7 -3
  87. package/dist/types/components/bn-chart-time/utils/TimeChart.d.ts +11 -12
  88. package/dist/types/components/bn-chart-time/utils/model/TimeChartComponentConfig.d.ts +5 -3
  89. package/dist/types/components/bn-dataset/bn-dataset.d.ts +39 -5
  90. package/dist/types/components/bn-datasource/bn-datasource.d.ts +46 -6
  91. package/dist/types/components/bn-table/bn-table.d.ts +4 -3
  92. package/dist/types/components/bn-table/ibcs-table.d.ts +11 -3
  93. package/dist/types/components/bn-table/utils/Table.d.ts +8 -6
  94. package/dist/types/components/bn-table/utils/factories/tableDataSetFactory.d.ts +2 -2
  95. package/dist/types/components/bn-table/utils/helper/DataQuery.d.ts +7 -3
  96. package/dist/types/components/bn-table/utils/helper/QueryGroup.d.ts +4 -5
  97. package/dist/types/components/bn-table/utils/model/TableComponentConfig.d.ts +5 -3
  98. package/dist/types/components/editor-companion/editor-companion.d.ts +2 -0
  99. package/dist/types/components.d.ts +160 -70
  100. package/dist/types/context/context-protocol.d.ts +4 -3
  101. package/dist/types/context/scopedDb.d.ts +37 -0
  102. package/dist/types/stores/createScopedStores.d.ts +1 -2
  103. package/dist/types/utils/DateStringFactory.d.ts +1 -1
  104. package/dist/types/utils/dataAnalyzer.d.ts +2 -1
  105. package/dist/types/utils/withDataset.d.ts +6 -2
  106. package/dist/types/utils/withDatasource.d.ts +3 -3
  107. package/package.json +3 -2
  108. package/readme.md +2 -2
  109. package/dist/bn-template-engine/p-14318b0d.entry.js +0 -1
  110. package/dist/bn-template-engine/p-2133e02b.entry.js +0 -1
  111. package/dist/bn-template-engine/p-7HSTE79g.js +0 -1
  112. package/dist/bn-template-engine/p-9b1288df.entry.js +0 -1
  113. package/dist/bn-template-engine/p-Bi2wx-el.js +0 -1
  114. package/dist/bn-template-engine/p-CWiZks2h.js +0 -1
  115. package/dist/cjs/context-protocol-B_jipZpJ.js +0 -665
  116. package/dist/cjs/withStyled-V7xz_x1c.js +0 -9535
  117. package/dist/collection/stores/datasets.js +0 -14
  118. package/dist/collection/stores/datasources.js +0 -14
  119. package/dist/components/_commonjsHelpers.js +0 -1
  120. package/dist/components/alasql.min.js +0 -1
  121. package/dist/esm/context-protocol-D-o_UZ33.js +0 -658
  122. package/dist/esm/withStyled-5RqF8WBL.js +0 -9501
  123. package/dist/types/stores/datasets.d.ts +0 -14
  124. package/dist/types/stores/datasources.d.ts +0 -14
@@ -1 +1 @@
1
- import{r as t,h as i,H as e,g as o}from"./p-B_d-jp99.js";import{w as n,a as s,g as a,p as r}from"./p-7HSTE79g.js";import{w as l,a as d}from"./p-B4JfKvVT.js";import{w as c,a as h}from"./p-CWiZks2h.js";import"./p-Bi2wx-el.js";const v=new Set(["br","b","i","strong","em","span","p","div","table","tr","td","th","thead","tbody","tfoot","ul","ol","li","h1","h2","h3","h4","h5","h6","sub","sup","small","hr","a","img"]),f=new Set(["class","style","colspan","rowspan","href","title","src","alt","width","height"]),u=/\b(__proto__|globalThis)\b|\.constructor\b/;function p(t){const i=document.createElement("div");return i.innerHTML=t,b(i),i.innerHTML}function b(t){for(const i of Array.from(t.childNodes)){if(i.nodeType!==Node.ELEMENT_NODE)continue;const e=i;if(v.has(e.tagName.toLowerCase())){for(const t of Array.from(e.attributes)){const i=t.name.toLowerCase();i.startsWith("on")||!f.has(i)?e.removeAttribute(t.name):"href"!==i&&"src"!==i||!/^\s*javascript:/i.test(t.value)?"style"===i&&/expression|javascript/i.test(t.value)&&e.removeAttribute(t.name):e.removeAttribute(t.name)}b(e)}else t.replaceChild(document.createTextNode(e.textContent||""),e)}}const m=class{constructor(i){t(this,i),this.data={},c(this),l(this),this.errors=d(this),this.t=n(this).t,s(this,((t,i)=>{this.data=Object.assign(Object.assign({},this.data),{[t]:i})})),this.componentStyle=h(this)}validateValue(t){"string"!=typeof t||""===t?this.errors.addOrReplace({id:"no_value",type:"warning",message:"Empty value"}):this.errors.remove("no_value")}validateScaling(t){if(null==t||""===t||"none"===t||"auto"===t)return void this.errors.remove("ERR_scale");const i=Number(t);isNaN(i)||i<=0?this.errors.addOrReplace({id:"ERR_scale",type:"warning",message:`Invalid scale value: "${t}". Use "none", "auto", or a positive number.`}):this.errors.remove("ERR_scale")}componentWillLoad(){this.validateValue(this.value),this.validateScaling(this.scale)}evalTemplate(t){if(!t)return"";if(u.test(t))return this.errors.addOrReplace({id:"ERR_value_eval",type:"error",message:"Template contains forbidden pattern"}),"";try{const i=new Proxy({data:this.data,t:this.t},{has:()=>!0,get:(t,i)=>i===Symbol.unscopables?void 0:t[i],set:()=>!0}),e=new Function("sandbox","with(sandbox){try{return`"+t+'`}catch(e){return""}}').call(i,i);return this.errors.remove("ERR_value_eval"),null!=e?String(e):""}catch(t){return this.errors.addOrReplace({id:"ERR_value_eval",type:"error",message:`Template evaluation failed: ${t instanceof Error?t.message:String(t)}`}),""}}prepareStyle(){return this.componentStyle((t=>{var i,e,o,n,s,a,r,l,d,c,h,v,f,u,p,b,m,g,y,w,_,$;return{fontStyles:{font:`${null!==(n=null!==(e=null===(i=t["bn-text"])||void 0===i?void 0:i.fontSizePx)&&void 0!==e?e:null===(o=t.global)||void 0===o?void 0:o.fontSizePx)&&void 0!==n?n:13.3333}px ${null!==(l=null!==(a=null===(s=t["bn-text"])||void 0===s?void 0:s.fontFamily)&&void 0!==a?a:null===(r=t.global)||void 0===r?void 0:r.fontFamily)&&void 0!==l?l:"'Noto Sans', sans-serif"}`,size:null!==(v=null!==(c=null===(d=t["bn-text"])||void 0===d?void 0:d.fontSizePx)&&void 0!==c?c:null===(h=t.global)||void 0===h?void 0:h.fontSizePx)&&void 0!==v?v:13.3333,color:null!==(b=null!==(u=null===(f=t["bn-text"])||void 0===f?void 0:f.fontColor)&&void 0!==u?u:null===(p=t.global)||void 0===p?void 0:p.fontColor)&&void 0!==b?b:"#000000",background:null!==(w=null!==(g=null===(m=t["bn-text"])||void 0===m?void 0:m.fontBackgroundColor)&&void 0!==g?g:null===(y=t.global)||void 0===y?void 0:y.fontBackgroundColor)&&void 0!==w?w:"#ffffff",leading:null!==($=null===(_=t["bn-text"])||void 0===_?void 0:_.leading)&&void 0!==$?$:1.8}}}))}applyScaling(t){const i=this.element,{mode:e,factor:o}=r(this.scale),{width:n,height:s}=a(i),l=i.scrollHeight>i.clientHeight+1?i.clientHeight:s,d=n,c=d>0&&i.scrollWidth>d+1,h=l>0&&i.scrollHeight>l+1,v=c||h;if(d<=0&&l<=0)return;if("none"===e){if(v){const t=[];c&&t.push(`w:${i.scrollWidth}>${Math.round(d)}`),h&&t.push(`h:${i.scrollHeight}>${Math.round(l)}`),this.errors.addOrReplace({id:"WARN_overflow",type:"warning",message:`Content overflows container (${t.join(", ")})`})}else this.errors.remove("WARN_overflow");return}if("factor"===e){if(v){const t=[];c&&t.push(`w:${i.scrollWidth}>${Math.round(d)}`),h&&t.push(`h:${i.scrollHeight}>${Math.round(l)}`),this.errors.addOrReplace({id:"WARN_overflow",type:"warning",message:`Content overflows with factor ${o} (${t.join(", ")})`})}else this.errors.remove("WARN_overflow");return}i.style.setProperty("--bn-font-size",`${t}px`);const f=i.scrollWidth,u=i.scrollHeight,p=i.clientHeight,b=u>p+1?p:s,m=d<=0||f<=d+1,g=b<=0||u<=b+1;if(m&&g)return void this.errors.remove("AUTO_scale");const y=Math.min(1,!m&&d>0?d/f:1,!g&&b>0?b/u:1);i.style.setProperty("--bn-font-size",t*y+"px"),"empty"===e?this.errors.addOrReplace({id:"AUTO_scale",type:"warning",message:`Auto-scaled font by factor ${y.toFixed(3)}`}):this.errors.remove("AUTO_scale")}componentDidRender(){this.container.innerHTML=p(this.evalTemplate(this.value)),this.applyScaling(this.prepareStyle().fontStyles.size)}render(){const{fontStyles:t}=this.prepareStyle(),{mode:o,factor:n}=r(this.scale),s="factor"===o?t.size*n+"px":`${t.size}px`,a={"--bn-font-family":t.font.substring(t.font.indexOf("px ")+3),"--bn-font-size":s,"--bn-font-color":t.color,"--bn-font-background":t.background};return i(e,{key:"086c3caad1f7c502e26ebbd1bf7d9044782333ab",style:a},i("div",{key:"584938536bedd3de7a6390ce9d57fb568a69191b"},i("span",{key:"b545bd809b32d2d0cac2310bd1003dab39bebc8a",class:"container",ref:t=>{this.container=t}})))}get element(){return o(this)}static get watchers(){return{value:[{validateValue:0}],scale:[{validateScaling:0}]}}};m.style=':host{padding:0.5em;display:inline-block;position:relative;overflow:hidden;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000);background-color:var(--bn-font-background, white)}span.container p{margin:0}';export{m as bn_text}
1
+ import{r as t,h as e,H as i,g as o}from"./p-B_d-jp99.js";import{w as n,a as s,g as a,p as r}from"./p-CQnZV3JG.js";import{w as l,a as d}from"./p-B4JfKvVT.js";import{w as c,a as h}from"./p-BVFHvEXF.js";import"./p-DHheVOfP.js";const v=new Set(["br","b","i","strong","em","span","p","div","table","tr","td","th","thead","tbody","tfoot","ul","ol","li","h1","h2","h3","h4","h5","h6","sub","sup","small","hr","a","img"]),f=new Set(["class","style","colspan","rowspan","href","title","src","alt","width","height"]),u=/\b(__proto__|globalThis)\b|\.constructor\b/;function p(t){const e=document.createElement("div");return e.innerHTML=t,b(e),e.innerHTML}function b(t){for(const e of Array.from(t.childNodes)){if(e.nodeType!==Node.ELEMENT_NODE)continue;const i=e;if(v.has(i.tagName.toLowerCase())){for(const t of Array.from(i.attributes)){const e=t.name.toLowerCase();e.startsWith("on")||!f.has(e)?i.removeAttribute(t.name):"href"!==e&&"src"!==e||!/^\s*javascript:/i.test(t.value)?"style"===e&&/expression|javascript/i.test(t.value)&&i.removeAttribute(t.name):i.removeAttribute(t.name)}b(i)}else t.replaceChild(document.createTextNode(i.textContent||""),i)}}const m=class{constructor(e){t(this,e),this.data={},c(this),l(this),this.errors=d(this),this.t=n(this).t,s(this,((t,e)=>{this.data=Object.assign(Object.assign({},this.data),{[t]:e})})),this.componentStyle=h(this)}validateValue(t){"string"!=typeof t||""===t?this.errors.addOrReplace({id:"no_value",type:"warning",message:"Empty value"}):this.errors.remove("no_value")}validateScaling(t){if(null==t||""===t||"none"===t||"auto"===t)return void this.errors.remove("ERR_scale");const e=Number(t);isNaN(e)||e<=0?this.errors.addOrReplace({id:"ERR_scale",type:"warning",message:`Invalid scale value: "${t}". Use "none", "auto", or a positive number.`}):this.errors.remove("ERR_scale")}componentWillLoad(){this.validateValue(this.value),this.validateScaling(this.scale)}evalTemplate(t){if(!t)return"";if(u.test(t))return this.errors.addOrReplace({id:"ERR_value_eval",type:"error",message:"Template contains forbidden pattern"}),"";try{const e=new Proxy({data:this.data,t:this.t},{has:()=>!0,get:(t,e)=>e===Symbol.unscopables?void 0:t[e],set:()=>!0}),i=new Function("sandbox","with(sandbox){try{return`"+t+'`}catch(e){return""}}').call(e,e);return this.errors.remove("ERR_value_eval"),null!=i?String(i):""}catch(t){return this.errors.addOrReplace({id:"ERR_value_eval",type:"error",message:`Template evaluation failed: ${t instanceof Error?t.message:String(t)}`}),""}}prepareStyle(){return this.componentStyle((t=>{var e,i,o,n,s,a,r,l,d,c,h,v,f,u,p,b,m,g,y,w,_,$;return{fontStyles:{font:`${null!==(n=null!==(i=null===(e=t["bn-text"])||void 0===e?void 0:e.fontSizePx)&&void 0!==i?i:null===(o=t.global)||void 0===o?void 0:o.fontSizePx)&&void 0!==n?n:13.3333}px ${null!==(l=null!==(a=null===(s=t["bn-text"])||void 0===s?void 0:s.fontFamily)&&void 0!==a?a:null===(r=t.global)||void 0===r?void 0:r.fontFamily)&&void 0!==l?l:"'Noto Sans', sans-serif"}`,size:null!==(v=null!==(c=null===(d=t["bn-text"])||void 0===d?void 0:d.fontSizePx)&&void 0!==c?c:null===(h=t.global)||void 0===h?void 0:h.fontSizePx)&&void 0!==v?v:13.3333,color:null!==(b=null!==(u=null===(f=t["bn-text"])||void 0===f?void 0:f.fontColor)&&void 0!==u?u:null===(p=t.global)||void 0===p?void 0:p.fontColor)&&void 0!==b?b:"#000000",background:null!==(w=null!==(g=null===(m=t["bn-text"])||void 0===m?void 0:m.fontBackgroundColor)&&void 0!==g?g:null===(y=t.global)||void 0===y?void 0:y.fontBackgroundColor)&&void 0!==w?w:"#ffffff",leading:null!==($=null===(_=t["bn-text"])||void 0===_?void 0:_.leading)&&void 0!==$?$:1.8}}}))}applyScaling(t){const e=this.element,{mode:i,factor:o}=r(this.scale),{width:n,height:s}=a(e),l=e.scrollHeight>e.clientHeight+1?e.clientHeight:s,d=n,c=d>0&&e.scrollWidth>d+1,h=l>0&&e.scrollHeight>l+1,v=c||h;if(d<=0&&l<=0)return;if("none"===i){if(v){const t=[];c&&t.push(`w:${e.scrollWidth}>${Math.round(d)}`),h&&t.push(`h:${e.scrollHeight}>${Math.round(l)}`),this.errors.addOrReplace({id:"WARN_overflow",type:"warning",message:`Content overflows container (${t.join(", ")})`})}else this.errors.remove("WARN_overflow");return}if("factor"===i){if(v){const t=[];c&&t.push(`w:${e.scrollWidth}>${Math.round(d)}`),h&&t.push(`h:${e.scrollHeight}>${Math.round(l)}`),this.errors.addOrReplace({id:"WARN_overflow",type:"warning",message:`Content overflows with factor ${o} (${t.join(", ")})`})}else this.errors.remove("WARN_overflow");return}e.style.setProperty("--bn-font-size",`${t}px`);const f=e.scrollWidth,u=e.scrollHeight,p=e.clientHeight,b=u>p+1?p:s,m=d<=0||f<=d+1,g=b<=0||u<=b+1;if(m&&g)return void this.errors.remove("AUTO_scale");const y=Math.min(1,!m&&d>0?d/f:1,!g&&b>0?b/u:1);e.style.setProperty("--bn-font-size",t*y+"px"),"empty"===i?this.errors.addOrReplace({id:"AUTO_scale",type:"warning",message:`Auto-scaled font by factor ${y.toFixed(3)}`}):this.errors.remove("AUTO_scale")}componentDidRender(){this.container.innerHTML=p(this.evalTemplate(this.value)),this.applyScaling(this.prepareStyle().fontStyles.size)}render(){const{fontStyles:t}=this.prepareStyle(),{mode:o,factor:n}=r(this.scale),s="factor"===o?t.size*n+"px":`${t.size}px`,a={"--bn-font-family":t.font.substring(t.font.indexOf("px ")+3),"--bn-font-size":s,"--bn-font-color":t.color,"--bn-font-background":t.background};return e(i,{key:"086c3caad1f7c502e26ebbd1bf7d9044782333ab",style:a},e("div",{key:"584938536bedd3de7a6390ce9d57fb568a69191b"},e("span",{key:"b545bd809b32d2d0cac2310bd1003dab39bebc8a",class:"container",ref:t=>{this.container=t}})))}get element(){return o(this)}static get watchers(){return{value:[{validateValue:0}],scale:[{validateScaling:0}]}}};m.style=':host{padding:0.5em;display:inline-block;position:relative;overflow:hidden;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000);background-color:var(--bn-font-background, white)}span.container p{margin:0}';export{m as bn_text}