@bino-bi/bn-template-engine 1.0.0-alpha.7 → 1.0.0-alpha.8

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 (107) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-0d41c5d8.entry.js +1 -0
  3. package/dist/bn-template-engine/p-67538176.entry.js +1 -0
  4. package/dist/bn-template-engine/p-825a07a8.entry.js +1 -0
  5. package/dist/bn-template-engine/p-916296a5.entry.js +1 -0
  6. package/dist/bn-template-engine/{p-1164c0b0.entry.js → p-96006b06.entry.js} +1 -1
  7. package/dist/bn-template-engine/p-B4JfKvVT.js +1 -0
  8. package/dist/bn-template-engine/{p-JNHhIe7t.js → p-B_d-jp99.js} +1 -1
  9. package/dist/bn-template-engine/p-Ck-NYtot.js +1 -0
  10. package/dist/bn-template-engine/p-CnDq0oVa.js +1 -0
  11. package/dist/bn-template-engine/p-DSXNgKLa.js +1 -0
  12. package/dist/bn-template-engine/p-bc711fb0.entry.js +1 -0
  13. package/dist/bn-template-engine/p-e6f646b1.entry.js +1 -0
  14. package/dist/bn-template-engine/p-f41d9242.entry.js +1 -0
  15. package/dist/bn-template-engine/{p-B0lsgVuN.js → p-gFbbuhtl.js} +1 -1
  16. package/dist/cjs/{SVGVariancesStyleGroup-BqAdPYtL.js → bn-asset_20.cjs.entry.js} +21948 -6938
  17. package/dist/cjs/bn-grid.cjs.entry.js +6 -9
  18. package/dist/cjs/bn-image.cjs.entry.js +6 -9
  19. package/dist/cjs/bn-internationalization.cjs.entry.js +5 -6
  20. package/dist/cjs/bn-template-engine.cjs.js +2 -2
  21. package/dist/cjs/bn-template.cjs.entry.js +3 -4
  22. package/dist/cjs/bn-text.cjs.entry.js +7 -10
  23. package/dist/cjs/bn-tree.cjs.entry.js +6 -9
  24. package/dist/cjs/{context-protocol-DRQWrwsA.js → context-protocol-ohYzcb5F.js} +1 -1
  25. package/dist/cjs/editor-companion.cjs.entry.js +2 -2
  26. package/dist/cjs/{index-Cjw0q6gP.js → index-CDKG4xmO.js} +1 -0
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/{scaling-BidPsO53.js → scaling-CIAClQR5.js} +3 -3
  29. package/dist/cjs/{withBodyObserver-C6gLgq_e.js → withBodyObserver-D7BKWN2N.js} +2 -2
  30. package/dist/cjs/{withHasError-B8gHkfV2.js → withHasError-Cl2gTQzA.js} +106 -2
  31. package/dist/cjs/{Order-BGx39pS5.js → withStyled-qd94SSb4.js} +648 -6
  32. package/dist/collection/components/bn-chart-structure/bn-chart-structure.js +20 -4
  33. package/dist/collection/components/bn-chart-time/bn-chart-time.js +20 -4
  34. package/dist/collection/components/bn-layout-card/bn-layout-card.js +12 -6
  35. package/dist/collection/components/bn-layout-page/bn-layout-page.js +12 -7
  36. package/dist/collection/components/bn-table/bn-table.js +25 -7
  37. package/dist/collection/components/bn-table/ibcs-table.js +68 -3
  38. package/dist/components/bn-chart-structure.js +1 -1
  39. package/dist/components/bn-chart-time.js +1 -1
  40. package/dist/components/bn-layout-card.js +1 -1
  41. package/dist/components/bn-layout-page.js +1 -1
  42. package/dist/components/bn-table.js +1 -1
  43. package/dist/components/ibcs-table2.js +1 -1
  44. package/dist/esm/{SVGVariancesStyleGroup-DOIT-zvI.js → bn-asset_20.entry.js} +22048 -7042
  45. package/dist/esm/bn-grid.entry.js +4 -7
  46. package/dist/esm/bn-image.entry.js +4 -7
  47. package/dist/esm/bn-internationalization.entry.js +4 -5
  48. package/dist/esm/bn-template-engine.js +3 -3
  49. package/dist/esm/bn-template.entry.js +2 -3
  50. package/dist/esm/bn-text.entry.js +5 -8
  51. package/dist/esm/bn-tree.entry.js +4 -7
  52. package/dist/esm/{context-protocol-2peaD4y8.js → context-protocol-DdbSplvE.js} +2 -2
  53. package/dist/esm/editor-companion.entry.js +2 -2
  54. package/dist/esm/{index-JNHhIe7t.js → index-B_d-jp99.js} +1 -1
  55. package/dist/esm/loader.js +3 -3
  56. package/dist/esm/{scaling-BOcjT8M0.js → scaling-DGKKkuL9.js} +4 -4
  57. package/dist/esm/{withBodyObserver-DczL5ia8.js → withBodyObserver-AFk2wwHT.js} +2 -2
  58. package/dist/esm/{withHasError-B3QX2emi.js → withHasError-DW_vMDUp.js} +106 -2
  59. package/dist/esm/{Order-sRO-lj7X.js → withStyled-BIkqU2w4.js} +616 -1
  60. package/dist/types/components/bn-chart-structure/bn-chart-structure.d.ts +1 -0
  61. package/dist/types/components/bn-chart-time/bn-chart-time.d.ts +1 -0
  62. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +8 -2
  63. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +8 -3
  64. package/dist/types/components/bn-table/ibcs-table.d.ts +19 -0
  65. package/dist/types/components.d.ts +8 -8
  66. package/package.json +1 -1
  67. package/dist/bn-template-engine/p-0fabe296.entry.js +0 -1
  68. package/dist/bn-template-engine/p-355abdf0.entry.js +0 -1
  69. package/dist/bn-template-engine/p-79KuA4Ox.js +0 -1
  70. package/dist/bn-template-engine/p-859cc06d.entry.js +0 -1
  71. package/dist/bn-template-engine/p-8acec99e.entry.js +0 -1
  72. package/dist/bn-template-engine/p-8f490c45.entry.js +0 -1
  73. package/dist/bn-template-engine/p-9721a5bb.entry.js +0 -1
  74. package/dist/bn-template-engine/p-9a564f8f.entry.js +0 -1
  75. package/dist/bn-template-engine/p-9cee22fa.entry.js +0 -1
  76. package/dist/bn-template-engine/p-B7p8beYH.js +0 -1
  77. package/dist/bn-template-engine/p-BDh7GfC5.js +0 -1
  78. package/dist/bn-template-engine/p-BoMtoHJB.js +0 -1
  79. package/dist/bn-template-engine/p-Bs8BqBsb.js +0 -1
  80. package/dist/bn-template-engine/p-CYjZRKdI.js +0 -1
  81. package/dist/bn-template-engine/p-DG-1MR_T.js +0 -1
  82. package/dist/bn-template-engine/p-Dnkv5rt8.js +0 -1
  83. package/dist/bn-template-engine/p-bdd2b243.entry.js +0 -1
  84. package/dist/bn-template-engine/p-f27995c9.entry.js +0 -1
  85. package/dist/bn-template-engine/p-f6ecb265.entry.js +0 -1
  86. package/dist/bn-template-engine/p-sRO-lj7X.js +0 -1
  87. package/dist/bn-template-engine/p-tzFCK9qn.js +0 -1
  88. package/dist/cjs/bn-asset_16.cjs.entry.js +0 -9099
  89. package/dist/cjs/bn-card.cjs.entry.js +0 -36
  90. package/dist/cjs/bn-chart-time.cjs.entry.js +0 -1031
  91. package/dist/cjs/bn-layout-card.cjs.entry.js +0 -279
  92. package/dist/cjs/formatter-4XCS0d2B.js +0 -221
  93. package/dist/cjs/ibcs-chart-time.cjs.entry.js +0 -4137
  94. package/dist/cjs/withComponentStatus-_x4LQZ0N.js +0 -109
  95. package/dist/cjs/withComponentStyle-ClSJfCku.js +0 -128
  96. package/dist/cjs/withInheritedProps-BH2KNER3.js +0 -157
  97. package/dist/cjs/withStyled-9tG024gQ.js +0 -522
  98. package/dist/esm/bn-asset_16.entry.js +0 -9082
  99. package/dist/esm/bn-card.entry.js +0 -34
  100. package/dist/esm/bn-chart-time.entry.js +0 -1029
  101. package/dist/esm/bn-layout-card.entry.js +0 -277
  102. package/dist/esm/formatter-BDh7GfC5.js +0 -215
  103. package/dist/esm/ibcs-chart-time.entry.js +0 -4135
  104. package/dist/esm/withComponentStatus-DodoSXe-.js +0 -107
  105. package/dist/esm/withComponentStyle-D3VWOsto.js +0 -126
  106. package/dist/esm/withInheritedProps-BlXDxhHK.js +0 -154
  107. package/dist/esm/withStyled-CE3_3taP.js +0 -495
@@ -1,36 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-Cjw0q6gP.js');
4
- var withComponentStatus = require('./withComponentStatus-_x4LQZ0N.js');
5
- var withComponentStyle = require('./withComponentStyle-ClSJfCku.js');
6
- var withHasError = require('./withHasError-B8gHkfV2.js');
7
- require('./context-protocol-DRQWrwsA.js');
8
-
9
- const bnCardCss = () => `:host{display:flex;flex-direction:column;justify-content:space-between;padding:0.25em;margin:0.5em;background-origin:content-box;font-family:var(--bn-font-family, "Noto Sans", sans-serif);font-size:var(--bn-font-size, 13.3333px);color:var(--bn-font-color, #000000)}:host(.border){box-sizing:border-box;-webkit-box-sizing:border-box;border:0.1em solid #ddd}div{color:var(--bn-font-color, black)}`;
10
-
11
- const Card = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- withComponentStatus.withComponentStatus(this);
15
- this.errors = withHasError.withHasError(this);
16
- this.componentStyle = withComponentStyle.withComponentStyle(this);
17
- }
18
- render() {
19
- return (index.h(index.Host, { key: '92bcbc010336d3a542c86e182831bbfddda2aa9b', style: this.prepareStyle() }, index.h("slot", { key: 'd836aa5443283df158dcb50345aee0df97f74a6e' })));
20
- }
21
- prepareStyle() {
22
- const pageStyle = {
23
- "font-family": this.componentStyle(($) => $.global["fontFamily"]),
24
- "font-size": `${this.componentStyle(($) => $.global["fontSizePx"])}px`,
25
- "--bn-font-family": this.componentStyle(($) => $.global["fontFamily"]) || "'Noto Sans', sans-serif",
26
- "--bn-font-size": `${this.componentStyle(($) => $.global["fontSizePx"]) || 13.3333}px`,
27
- "--bn-font-color": this.componentStyle(($) => $.global["fontColor"]) || "#000000",
28
- "--bn-font-background": this.componentStyle(($) => $.global["fontBackgroundColor"]) || "#ffffff",
29
- };
30
- return pageStyle;
31
- }
32
- get element() { return index.getElement(this); }
33
- };
34
- Card.style = bnCardCss();
35
-
36
- exports.bn_card = Card;