@bino-bi/bn-template-engine 1.0.0-alpha.5 → 1.0.0-alpha.6

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 (157) hide show
  1. package/dist/bn-template-engine/bn-template-engine.esm.js +1 -1
  2. package/dist/bn-template-engine/p-06946f44.entry.js +1 -0
  3. package/dist/bn-template-engine/p-0fabe296.entry.js +1 -0
  4. package/dist/bn-template-engine/p-1164c0b0.entry.js +1 -0
  5. package/dist/bn-template-engine/p-355abdf0.entry.js +1 -0
  6. package/dist/bn-template-engine/p-79KuA4Ox.js +1 -0
  7. package/dist/bn-template-engine/p-859cc06d.entry.js +1 -0
  8. package/dist/bn-template-engine/p-8acec99e.entry.js +1 -0
  9. package/dist/bn-template-engine/p-8f490c45.entry.js +1 -0
  10. package/dist/bn-template-engine/p-98cf512f.entry.js +1 -0
  11. package/dist/bn-template-engine/p-9a564f8f.entry.js +1 -0
  12. package/dist/bn-template-engine/{p-CL1RYuNU.js → p-B0lsgVuN.js} +1 -1
  13. package/dist/bn-template-engine/p-B7p8beYH.js +1 -0
  14. package/dist/bn-template-engine/p-BDh7GfC5.js +1 -0
  15. package/dist/bn-template-engine/p-BoMtoHJB.js +1 -0
  16. package/dist/bn-template-engine/p-Bs8BqBsb.js +1 -0
  17. package/dist/bn-template-engine/p-CYjZRKdI.js +1 -0
  18. package/dist/bn-template-engine/{p-P7pGJBgc.js → p-DG-1MR_T.js} +1 -1
  19. package/dist/bn-template-engine/p-bdd2b243.entry.js +1 -0
  20. package/dist/bn-template-engine/p-e6b24f15.entry.js +1 -0
  21. package/dist/bn-template-engine/p-f27995c9.entry.js +1 -0
  22. package/dist/bn-template-engine/{p-Bnhh02CF.js → p-sRO-lj7X.js} +1 -1
  23. package/dist/bn-template-engine/p-tzFCK9qn.js +1 -0
  24. package/dist/cjs/{Order-iG11HI4R.js → Order-BGx39pS5.js} +448 -0
  25. package/dist/cjs/{alasql.min-C_nHTuEQ.js → SVGVariancesStyleGroup-BqAdPYtL.js} +8228 -3
  26. package/dist/cjs/bn-asset_16.cjs.entry.js +9018 -0
  27. package/dist/cjs/bn-card.cjs.entry.js +3 -4
  28. package/dist/cjs/bn-chart-time.cjs.entry.js +11 -16
  29. package/dist/cjs/bn-grid.cjs.entry.js +5 -8
  30. package/dist/cjs/bn-image.cjs.entry.js +5 -8
  31. package/dist/cjs/bn-internationalization.cjs.entry.js +3 -4
  32. package/dist/cjs/bn-layout-card.cjs.entry.js +125 -6
  33. package/dist/cjs/bn-template-engine.cjs.js +1 -1
  34. package/dist/cjs/bn-template.cjs.entry.js +2 -3
  35. package/dist/cjs/bn-text.cjs.entry.js +7 -11
  36. package/dist/cjs/bn-tree.cjs.entry.js +5 -8
  37. package/dist/cjs/{formatter-DIJL_crx.js → formatter-4XCS0d2B.js} +8 -2
  38. package/dist/cjs/ibcs-chart-time.cjs.entry.js +37 -42
  39. package/dist/cjs/loader.cjs.js +1 -1
  40. package/dist/cjs/{scaling-9Tz595RQ.js → scaling-BidPsO53.js} +115 -12
  41. package/dist/cjs/{withBodyObserver-CKpSD8UT.js → withBodyObserver-C6gLgq_e.js} +3 -3
  42. package/dist/cjs/{withComponentStatus-Bw70BhO0.js → withComponentStatus-_x4LQZ0N.js} +5 -5
  43. package/dist/cjs/{withComponentStyle-aIbTCtfj.js → withComponentStyle-ClSJfCku.js} +4 -4
  44. package/dist/cjs/{utils-CwHIVbbL.js → withHasError-B8gHkfV2.js} +69 -1
  45. package/dist/cjs/{withStyled-CS1Yp4sv.js → withStyled-9tG024gQ.js} +62 -9
  46. package/dist/collection/components/bn-layout-card/bn-layout-card.css +1 -0
  47. package/dist/collection/components/bn-layout-card/bn-layout-card.js +162 -27
  48. package/dist/collection/components/bn-layout-page/bn-layout-page.css +1 -0
  49. package/dist/collection/components/bn-layout-page/bn-layout-page.js +151 -33
  50. package/dist/collection/utils/parentDimensions.js +38 -6
  51. package/dist/components/bn-layout-card.js +1 -1
  52. package/dist/components/bn-layout-page.js +1 -1
  53. package/dist/components/scaling.js +1 -1
  54. package/dist/esm/{Order-Bnhh02CF.js → Order-sRO-lj7X.js} +448 -1
  55. package/dist/esm/{alasql.min-CWu4NkIt.js → SVGVariancesStyleGroup-DOIT-zvI.js} +8212 -2
  56. package/dist/esm/bn-asset_16.entry.js +9001 -0
  57. package/dist/esm/bn-card.entry.js +4 -5
  58. package/dist/esm/bn-chart-time.entry.js +8 -13
  59. package/dist/esm/bn-grid.entry.js +6 -9
  60. package/dist/esm/bn-image.entry.js +6 -9
  61. package/dist/esm/bn-internationalization.entry.js +4 -5
  62. package/dist/esm/bn-layout-card.entry.js +126 -7
  63. package/dist/esm/bn-template-engine.js +1 -1
  64. package/dist/esm/bn-template.entry.js +2 -3
  65. package/dist/esm/bn-text.entry.js +7 -11
  66. package/dist/esm/bn-tree.entry.js +6 -9
  67. package/dist/esm/{context-protocol-BHnQsVsr.js → context-protocol-2peaD4y8.js} +1 -1
  68. package/dist/esm/editor-companion.entry.js +1 -1
  69. package/dist/esm/{formatter-DTMEZ6d8.js → formatter-BDh7GfC5.js} +6 -2
  70. package/dist/esm/ibcs-chart-time.entry.js +3 -8
  71. package/dist/esm/loader.js +1 -1
  72. package/dist/esm/{scaling-Cehc74IE.js → scaling-BOcjT8M0.js} +112 -10
  73. package/dist/esm/{withBodyObserver-FQ8NwCIz.js → withBodyObserver-DczL5ia8.js} +1 -1
  74. package/dist/esm/{withComponentStatus-DWjDYtZ7.js → withComponentStatus-DodoSXe-.js} +1 -1
  75. package/dist/esm/{withComponentStyle-9uP_hcDq.js → withComponentStyle-D3VWOsto.js} +2 -2
  76. package/dist/esm/{utils-DvvwfRQG.js → withHasError-B3QX2emi.js} +69 -1
  77. package/dist/esm/{withStyled--qQWquTH.js → withStyled-CE3_3taP.js} +57 -5
  78. package/dist/types/components/bn-layout-card/bn-layout-card.d.ts +139 -0
  79. package/dist/types/components/bn-layout-page/bn-layout-page.d.ts +154 -0
  80. package/dist/types/components.d.ts +168 -0
  81. package/dist/types/utils/parentDimensions.d.ts +6 -1
  82. package/package.json +1 -1
  83. package/dist/bn-template-engine/p-1265d8d3.entry.js +0 -1
  84. package/dist/bn-template-engine/p-15516dac.entry.js +0 -1
  85. package/dist/bn-template-engine/p-1c716641.entry.js +0 -1
  86. package/dist/bn-template-engine/p-1jFf17Vj.js +0 -1
  87. package/dist/bn-template-engine/p-27cc8dc0.entry.js +0 -1
  88. package/dist/bn-template-engine/p-3b4c7425.entry.js +0 -1
  89. package/dist/bn-template-engine/p-4426d484.entry.js +0 -1
  90. package/dist/bn-template-engine/p-51f8dc9e.entry.js +0 -1
  91. package/dist/bn-template-engine/p-53d4e690.entry.js +0 -1
  92. package/dist/bn-template-engine/p-5KQYRQLK.js +0 -1
  93. package/dist/bn-template-engine/p-7337e03d.entry.js +0 -1
  94. package/dist/bn-template-engine/p-75e97c87.entry.js +0 -1
  95. package/dist/bn-template-engine/p-7a560278.entry.js +0 -1
  96. package/dist/bn-template-engine/p-BFTU3MAI.js +0 -1
  97. package/dist/bn-template-engine/p-BYBpC0EO.js +0 -1
  98. package/dist/bn-template-engine/p-BYmPQYxx.js +0 -1
  99. package/dist/bn-template-engine/p-BfXY5dsy.js +0 -1
  100. package/dist/bn-template-engine/p-BgnHJQ9Q.js +0 -1
  101. package/dist/bn-template-engine/p-Bhd_WSML.js +0 -1
  102. package/dist/bn-template-engine/p-Bka-Z6jo.js +0 -1
  103. package/dist/bn-template-engine/p-C7dQL8CS.js +0 -1
  104. package/dist/bn-template-engine/p-CYwd_ZNM.js +0 -1
  105. package/dist/bn-template-engine/p-ChlK-T9I.js +0 -1
  106. package/dist/bn-template-engine/p-DHezf8pZ.js +0 -1
  107. package/dist/bn-template-engine/p-DlppAFq9.js +0 -1
  108. package/dist/bn-template-engine/p-DvDDgmcV.js +0 -1
  109. package/dist/bn-template-engine/p-DvvwfRQG.js +0 -1
  110. package/dist/bn-template-engine/p-abc0067c.entry.js +0 -1
  111. package/dist/bn-template-engine/p-b34eaf86.entry.js +0 -1
  112. package/dist/bn-template-engine/p-bdb8b44c.entry.js +0 -1
  113. package/dist/bn-template-engine/p-c44fcb8e.entry.js +0 -1
  114. package/dist/bn-template-engine/p-c7e1a49b.entry.js +0 -1
  115. package/dist/bn-template-engine/p-d9003041.entry.js +0 -1
  116. package/dist/bn-template-engine/p-daa7ffa3.entry.js +0 -1
  117. package/dist/bn-template-engine/p-e084f50a.entry.js +0 -1
  118. package/dist/bn-template-engine/p-eaba6658.entry.js +0 -1
  119. package/dist/bn-template-engine/p-u8igQLRZ.js +0 -1
  120. package/dist/cjs/DataFormatDigits-DKcOeLNK.js +0 -142
  121. package/dist/cjs/DateStringFactory-CSKvbS8K.js +0 -452
  122. package/dist/cjs/SVGVariancesStyleGroup-K-Tw6lOD.js +0 -7960
  123. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +0 -10
  124. package/dist/cjs/bn-asset.cjs.entry.js +0 -42
  125. package/dist/cjs/bn-body_4.cjs.entry.js +0 -748
  126. package/dist/cjs/bn-chart-structure_5.cjs.entry.js +0 -3948
  127. package/dist/cjs/bn-component-style.cjs.entry.js +0 -44
  128. package/dist/cjs/bn-dataset.cjs.entry.js +0 -306
  129. package/dist/cjs/bn-layout-page.cjs.entry.js +0 -143
  130. package/dist/cjs/bn-message.cjs.entry.js +0 -52
  131. package/dist/cjs/bn-table.cjs.entry.js +0 -981
  132. package/dist/cjs/contentDecoder-JxOldq1e.js +0 -419
  133. package/dist/cjs/emotion-hash.esm-nbbEQ0Dn.js +0 -57
  134. package/dist/cjs/ibcs-table.cjs.entry.js +0 -2276
  135. package/dist/cjs/ibcsRuleSet-DgUoXOfd.js +0 -136
  136. package/dist/cjs/index-Dm85hG6t.js +0 -65
  137. package/dist/cjs/withHasError-D7ue5vAv.js +0 -72
  138. package/dist/cjs/withTranslation-rwgyITqe.js +0 -77
  139. package/dist/esm/DataFormatDigits-oSZ1hBKE.js +0 -137
  140. package/dist/esm/DateStringFactory-CSGz6TDk.js +0 -450
  141. package/dist/esm/SVGVariancesStyleGroup-CqTjrZYg.js +0 -7950
  142. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +0 -7
  143. package/dist/esm/bn-asset.entry.js +0 -40
  144. package/dist/esm/bn-body_4.entry.js +0 -743
  145. package/dist/esm/bn-chart-structure_5.entry.js +0 -3942
  146. package/dist/esm/bn-component-style.entry.js +0 -42
  147. package/dist/esm/bn-dataset.entry.js +0 -304
  148. package/dist/esm/bn-layout-page.entry.js +0 -141
  149. package/dist/esm/bn-message.entry.js +0 -50
  150. package/dist/esm/bn-table.entry.js +0 -979
  151. package/dist/esm/contentDecoder-oMmxz6nJ.js +0 -416
  152. package/dist/esm/emotion-hash.esm-BYBpC0EO.js +0 -55
  153. package/dist/esm/ibcs-table.entry.js +0 -2274
  154. package/dist/esm/ibcsRuleSet-K4ytuA1f.js +0 -133
  155. package/dist/esm/index-DHezf8pZ.js +0 -65
  156. package/dist/esm/withHasError-FyY5mQ_3.js +0 -70
  157. package/dist/esm/withTranslation-BqD0Kp7b.js +0 -75
@@ -2,31 +2,185 @@ export declare class LayoutPage {
2
2
  private element;
3
3
  private readonly errors;
4
4
  constructor();
5
+ /**
6
+ * JSON string of component-style overrides passed through to the inner
7
+ * `<bn-page>` element. Typically set via a `ComponentStyle` manifest
8
+ * rather than directly on the component.
9
+ */
5
10
  styles?: string;
11
+ /**
12
+ * Message text displayed in the message row above the title.
13
+ * If empty, the message row is omitted.
14
+ */
6
15
  messageText: string;
16
+ /**
17
+ * URL or asset name of the image displayed in the message row.
18
+ * If the value is not an HTTP URL it is looked up in the asset store.
19
+ * If empty, the image is omitted.
20
+ *
21
+ * @example
22
+ * <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
23
+ */
7
24
  messageImage: string;
25
+ /**
26
+ * Name of the business unit displayed in the title header row.
27
+ * If empty, the business unit row is omitted.
28
+ *
29
+ * @example
30
+ * <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
31
+ */
8
32
  titleBusinessUnit: string;
33
+ /**
34
+ * List of scenarios displayed in the title header.
35
+ * <br /><br />
36
+ * Comma-separated string or omitted. If empty, the scenarios row is omitted.
37
+ * <br /><br />
38
+ * values:<br />
39
+ * ```ac // fc // py // pl```
40
+ */
9
41
  titleScenarios?: string;
42
+ /**
43
+ * List of variances calculated from the given scenarios.
44
+ * The scenarios used in the variances must also be defined in
45
+ * the `titleScenarios` property. The variance is defined as
46
+ * (ScenarioA − ScenarioB). The pos/neg/neu postfix defines
47
+ * which direction is considered "good".
48
+ * <br /><br />
49
+ * If empty, variance indicators are hidden.
50
+ * <br /><br />
51
+ * pattern:<br />
52
+ * ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
53
+ */
10
54
  titleVariances?: string;
55
+ /**
56
+ * Primary column on which the order direction is applied.
57
+ * <br /><br />
58
+ * values:<br />
59
+ * ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
60
+ */
11
61
  titleOrder: string;
62
+ /**
63
+ * Sorting order direction for the column specified by `titleOrder`.
64
+ * <br /><br />
65
+ * values:<br />
66
+ * ```asc // desc```
67
+ */
12
68
  titleOrderDirection: string;
69
+ /**
70
+ * Array of measure objects with `name` and `unit` displayed in the title.
71
+ * Passed as a JSON string. If all units are the same, redundant units are
72
+ * reduced and names concatenated. If empty, the measure row is omitted.
73
+ *
74
+ * @example
75
+ * <bn-layout-page title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-page>
76
+ */
13
77
  titleMeasures?: string;
78
+ /**
79
+ * Start date displayed in the title date row.
80
+ * Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime
81
+ * (e.g. `2024-01-01T14:30:00Z`).
82
+ */
14
83
  titleDateStart?: string;
84
+ /**
85
+ * End date displayed in the title date row.
86
+ * Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime
87
+ * (e.g. `2024-12-31T23:59:59Z`).
88
+ */
15
89
  titleDateEnd?: string;
90
+ /**
91
+ * Date display format used in the title row.
92
+ * <br /><br />
93
+ * values:<br />
94
+ * ```year // quarter // month // week // day // time // auto // none```
95
+ * <br /><br />
96
+ * `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY,
97
+ * `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss,
98
+ * `auto`: automatic detection, `none`: DD.MM.YYYY.
99
+ */
16
100
  titleDateFormat: string;
101
+ /**
102
+ * Format in which the start and end dates are linked in the title.
103
+ * If set to `none` a plain date is shown.
104
+ * <br /><br />
105
+ * values:<br />
106
+ * ```avg // interval // cum // start // end // ytd // ytg // mat // none```
107
+ * <br /><br />
108
+ * `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE],
109
+ * `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2],
110
+ * `mat`: ~[DATE], `none`: [DATE].
111
+ */
17
112
  titleDateLink: string;
113
+ /**
114
+ * Namespace used for title translations via the internationalization store.
115
+ */
18
116
  titleNamespace: string;
117
+ /**
118
+ * Page size format. Determines the pixel dimensions of the rendered page.
119
+ * <br /><br />
120
+ * values:<br />
121
+ * ```xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal```
122
+ */
19
123
  pageFormat?: string;
124
+ /**
125
+ * Page orientation. Default depends on the chosen format.
126
+ * <br /><br />
127
+ * values:<br />
128
+ * ```landscape // portrait```
129
+ */
20
130
  pageOrientation?: string;
131
+ /**
132
+ * Page number displayed in the footer. If empty, no page number is shown
133
+ * (unless `footerDisplayPageNumber` is also set).
134
+ */
21
135
  pageNumber?: string;
136
+ /**
137
+ * Text displayed in the page footer. If empty, the footer text is omitted.
138
+ */
22
139
  footerText?: string;
140
+ /**
141
+ * Whether to display the page number in the footer.
142
+ */
23
143
  footerDisplayPageNumber?: boolean;
144
+ /**
145
+ * Layout mode that controls how child components are arranged in the
146
+ * page body using CSS Grid.
147
+ * <br /><br />
148
+ * values:<br />
149
+ * ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template```
150
+ * <br /><br />
151
+ * `full`: single slot. `split-vertical`: two side-by-side slots.
152
+ * `split-horizontal`: two stacked slots. `NxN`: equal grid.
153
+ * `1-over-2`: one full-width slot on top, two below. `custom-template`:
154
+ * uses the `pageCustomTemplate` CSS grid-template-areas string.
155
+ *
156
+ * @example
157
+ * <bn-layout-page page-layout="2x2"></bn-layout-page>
158
+ */
24
159
  pageLayout: "full" | "split-vertical" | "split-horizontal" | "2x2" | "3x3" | "4x4" | "1-over-2" | "1-over-3" | "2-over-1" | "3-over-1" | "custom-template";
160
+ /**
161
+ * CSS `grid-template-areas` string used when `pageLayout` is set to
162
+ * `custom-template`. Each quoted row defines a grid row; letters map to
163
+ * slot indices in order of first appearance.
164
+ *
165
+ * @example
166
+ * <bn-layout-page page-layout="custom-template"
167
+ * page-custom-template='"a a" "b c"'></bn-layout-page>
168
+ */
25
169
  pageCustomTemplate: string;
170
+ /**
171
+ * Gap between grid cells in pixels.
172
+ */
26
173
  pageGridGap: string;
174
+ /**
175
+ * When `true`, the page body height shrinks to fit its content
176
+ * (`fit-content`). When `false`, the body stretches to fill the
177
+ * full page height (`100%`). Width is always `100%` regardless
178
+ * of this setting.
179
+ */
27
180
  pageFitToContent: boolean;
28
181
  private templateMap;
29
182
  private getCommonStyles;
183
+ private getGridTemplateRows;
30
184
  private getLayoutStyle;
31
185
  private createDivAreaStyles;
32
186
  private getSlots;
@@ -413,18 +413,24 @@ export namespace Components {
413
413
  }
414
414
  interface BnLayoutCard {
415
415
  /**
416
+ * CSS `grid-template-areas` string used when `cardLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
417
+ * @example <bn-layout-card card-layout="custom-template" card-custom-template='"a a" "b c"'></bn-layout-card>
416
418
  * @default '"a b" "c d"'
417
419
  */
418
420
  "cardCustomTemplate": string;
419
421
  /**
422
+ * When `true`, the card shrinks to fit its content (`fit-content`) for both width and height. When `false`, the card stretches to fill its parent (`100%`).
420
423
  * @default true
421
424
  */
422
425
  "cardFitToContent": boolean;
423
426
  /**
427
+ * Gap between grid cells in pixels.
424
428
  * @default "0"
425
429
  */
426
430
  "cardGridGap": string;
427
431
  /**
432
+ * Layout mode that controls how child components are arranged inside the card body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `cardCustomTemplate` CSS grid-template-areas string.
433
+ * @example <bn-layout-card card-layout="split-horizontal"></bn-layout-card>
428
434
  * @default "full"
429
435
  */
430
436
  "cardLayout": | "full"
@@ -439,78 +445,124 @@ export namespace Components {
439
445
  | "3-over-1"
440
446
  | "custom-template";
441
447
  /**
448
+ * Whether to display a visible border around the card.
442
449
  * @default true
443
450
  */
444
451
  "cardShowBorder": boolean;
445
452
  /**
453
+ * Text displayed in the card footer. If empty, the footer text is omitted.
446
454
  * @default ""
447
455
  */
448
456
  "footerText"?: string;
449
457
  "getNumberOfSlot": (name: string) => Promise<number>;
458
+ /**
459
+ * JSON string of component-style overrides passed through to the inner `<bn-card>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
460
+ */
450
461
  "styles"?: string;
451
462
  /**
463
+ * Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
464
+ * @example <bn-layout-card title-business-unit="Sales"></bn-layout-card>
452
465
  * @default ""
453
466
  */
454
467
  "titleBusinessUnit": string;
468
+ /**
469
+ * End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
470
+ */
455
471
  "titleDateEnd"?: string;
456
472
  /**
473
+ * Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
457
474
  * @default "none"
458
475
  */
459
476
  "titleDateFormat": string;
460
477
  /**
478
+ * Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
461
479
  * @default "none"
462
480
  */
463
481
  "titleDateLink": string;
482
+ /**
483
+ * Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
484
+ */
464
485
  "titleDateStart"?: string;
465
486
  /**
487
+ * URL or asset name of the image displayed next to the card title. The value is resolved via the scoped assets store: if it matches a registered asset name, the stored URL is used; otherwise the raw value is treated as a URL. The deprecated `asset:` prefix is still supported for backward compatibility. <br /><br /> If empty, the title image is omitted.
488
+ * @example <bn-layout-card title-image="company_logo"></bn-layout-card>
466
489
  * @default ""
467
490
  */
468
491
  "titleImage": string;
492
+ /**
493
+ * Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
494
+ * @example <bn-layout-card title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-card>
495
+ */
469
496
  "titleMeasures"?: string;
470
497
  /**
498
+ * Namespace used for title translations via the internationalization store.
471
499
  * @default "_system"
472
500
  */
473
501
  "titleNamespace": string;
474
502
  /**
503
+ * Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
475
504
  * @default "category"
476
505
  */
477
506
  "titleOrder": string;
478
507
  /**
508
+ * Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
479
509
  * @default "asc"
480
510
  */
481
511
  "titleOrderDirection": string;
512
+ /**
513
+ * List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
514
+ */
482
515
  "titleScenarios"?: string;
516
+ /**
517
+ * List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
518
+ */
483
519
  "titleVariances"?: string;
484
520
  }
485
521
  interface BnLayoutPage {
486
522
  /**
523
+ * Whether to display the page number in the footer.
487
524
  * @default true
488
525
  */
489
526
  "footerDisplayPageNumber"?: boolean;
527
+ /**
528
+ * Text displayed in the page footer. If empty, the footer text is omitted.
529
+ */
490
530
  "footerText"?: string;
491
531
  "getNumberOfSlot": (name: string) => Promise<number>;
492
532
  /**
533
+ * URL or asset name of the image displayed in the message row. If the value is not an HTTP URL it is looked up in the asset store. If empty, the image is omitted.
534
+ * @example <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
493
535
  * @default ""
494
536
  */
495
537
  "messageImage": string;
496
538
  /**
539
+ * Message text displayed in the message row above the title. If empty, the message row is omitted.
497
540
  * @default ""
498
541
  */
499
542
  "messageText": string;
500
543
  /**
544
+ * CSS `grid-template-areas` string used when `pageLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
545
+ * @example <bn-layout-page page-layout="custom-template" page-custom-template='"a a" "b c"'></bn-layout-page>
501
546
  * @default '"a b" "c d"'
502
547
  */
503
548
  "pageCustomTemplate": string;
504
549
  /**
550
+ * When `true`, the page body height shrinks to fit its content (`fit-content`). When `false`, the body stretches to fill the full page height (`100%`). Width is always `100%` regardless of this setting.
505
551
  * @default true
506
552
  */
507
553
  "pageFitToContent": boolean;
554
+ /**
555
+ * Page size format. Determines the pixel dimensions of the rendered page. <br /><br /> values:<br /> ```xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal```
556
+ */
508
557
  "pageFormat"?: string;
509
558
  /**
559
+ * Gap between grid cells in pixels.
510
560
  * @default "0"
511
561
  */
512
562
  "pageGridGap": string;
513
563
  /**
564
+ * Layout mode that controls how child components are arranged in the page body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `pageCustomTemplate` CSS grid-template-areas string.
565
+ * @example <bn-layout-page page-layout="2x2"></bn-layout-page>
514
566
  * @default "full"
515
567
  */
516
568
  "pageLayout": | "full"
@@ -524,37 +576,69 @@ export namespace Components {
524
576
  | "2-over-1"
525
577
  | "3-over-1"
526
578
  | "custom-template";
579
+ /**
580
+ * Page number displayed in the footer. If empty, no page number is shown (unless `footerDisplayPageNumber` is also set).
581
+ */
527
582
  "pageNumber"?: string;
583
+ /**
584
+ * Page orientation. Default depends on the chosen format. <br /><br /> values:<br /> ```landscape // portrait```
585
+ */
528
586
  "pageOrientation"?: string;
587
+ /**
588
+ * JSON string of component-style overrides passed through to the inner `<bn-page>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
589
+ */
529
590
  "styles"?: string;
530
591
  /**
592
+ * Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
593
+ * @example <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
531
594
  * @default ""
532
595
  */
533
596
  "titleBusinessUnit": string;
597
+ /**
598
+ * End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
599
+ */
534
600
  "titleDateEnd"?: string;
535
601
  /**
602
+ * Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
536
603
  * @default "none"
537
604
  */
538
605
  "titleDateFormat": string;
539
606
  /**
607
+ * Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
540
608
  * @default "none"
541
609
  */
542
610
  "titleDateLink": string;
611
+ /**
612
+ * Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
613
+ */
543
614
  "titleDateStart"?: string;
615
+ /**
616
+ * Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
617
+ * @example <bn-layout-page title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-page>
618
+ */
544
619
  "titleMeasures"?: string;
545
620
  /**
621
+ * Namespace used for title translations via the internationalization store.
546
622
  * @default "_system"
547
623
  */
548
624
  "titleNamespace": string;
549
625
  /**
626
+ * Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
550
627
  * @default "category"
551
628
  */
552
629
  "titleOrder": string;
553
630
  /**
631
+ * Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
554
632
  * @default "asc"
555
633
  */
556
634
  "titleOrderDirection": string;
635
+ /**
636
+ * List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
637
+ */
557
638
  "titleScenarios"?: string;
639
+ /**
640
+ * List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
641
+ */
558
642
  "titleVariances"?: string;
559
643
  }
560
644
  interface BnMessage {
@@ -1820,18 +1904,24 @@ declare namespace LocalJSX {
1820
1904
  }
1821
1905
  interface BnLayoutCard {
1822
1906
  /**
1907
+ * CSS `grid-template-areas` string used when `cardLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
1908
+ * @example <bn-layout-card card-layout="custom-template" card-custom-template='"a a" "b c"'></bn-layout-card>
1823
1909
  * @default '"a b" "c d"'
1824
1910
  */
1825
1911
  "cardCustomTemplate"?: string;
1826
1912
  /**
1913
+ * When `true`, the card shrinks to fit its content (`fit-content`) for both width and height. When `false`, the card stretches to fill its parent (`100%`).
1827
1914
  * @default true
1828
1915
  */
1829
1916
  "cardFitToContent"?: boolean;
1830
1917
  /**
1918
+ * Gap between grid cells in pixels.
1831
1919
  * @default "0"
1832
1920
  */
1833
1921
  "cardGridGap"?: string;
1834
1922
  /**
1923
+ * Layout mode that controls how child components are arranged inside the card body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `cardCustomTemplate` CSS grid-template-areas string.
1924
+ * @example <bn-layout-card card-layout="split-horizontal"></bn-layout-card>
1835
1925
  * @default "full"
1836
1926
  */
1837
1927
  "cardLayout"?: | "full"
@@ -1846,76 +1936,122 @@ declare namespace LocalJSX {
1846
1936
  | "3-over-1"
1847
1937
  | "custom-template";
1848
1938
  /**
1939
+ * Whether to display a visible border around the card.
1849
1940
  * @default true
1850
1941
  */
1851
1942
  "cardShowBorder"?: boolean;
1852
1943
  /**
1944
+ * Text displayed in the card footer. If empty, the footer text is omitted.
1853
1945
  * @default ""
1854
1946
  */
1855
1947
  "footerText"?: string;
1948
+ /**
1949
+ * JSON string of component-style overrides passed through to the inner `<bn-card>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
1950
+ */
1856
1951
  "styles"?: string;
1857
1952
  /**
1953
+ * Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
1954
+ * @example <bn-layout-card title-business-unit="Sales"></bn-layout-card>
1858
1955
  * @default ""
1859
1956
  */
1860
1957
  "titleBusinessUnit"?: string;
1958
+ /**
1959
+ * End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
1960
+ */
1861
1961
  "titleDateEnd"?: string;
1862
1962
  /**
1963
+ * Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
1863
1964
  * @default "none"
1864
1965
  */
1865
1966
  "titleDateFormat"?: string;
1866
1967
  /**
1968
+ * Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
1867
1969
  * @default "none"
1868
1970
  */
1869
1971
  "titleDateLink"?: string;
1972
+ /**
1973
+ * Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
1974
+ */
1870
1975
  "titleDateStart"?: string;
1871
1976
  /**
1977
+ * URL or asset name of the image displayed next to the card title. The value is resolved via the scoped assets store: if it matches a registered asset name, the stored URL is used; otherwise the raw value is treated as a URL. The deprecated `asset:` prefix is still supported for backward compatibility. <br /><br /> If empty, the title image is omitted.
1978
+ * @example <bn-layout-card title-image="company_logo"></bn-layout-card>
1872
1979
  * @default ""
1873
1980
  */
1874
1981
  "titleImage"?: string;
1982
+ /**
1983
+ * Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
1984
+ * @example <bn-layout-card title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-card>
1985
+ */
1875
1986
  "titleMeasures"?: string;
1876
1987
  /**
1988
+ * Namespace used for title translations via the internationalization store.
1877
1989
  * @default "_system"
1878
1990
  */
1879
1991
  "titleNamespace"?: string;
1880
1992
  /**
1993
+ * Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
1881
1994
  * @default "category"
1882
1995
  */
1883
1996
  "titleOrder"?: string;
1884
1997
  /**
1998
+ * Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
1885
1999
  * @default "asc"
1886
2000
  */
1887
2001
  "titleOrderDirection"?: string;
2002
+ /**
2003
+ * List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
2004
+ */
1888
2005
  "titleScenarios"?: string;
2006
+ /**
2007
+ * List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
2008
+ */
1889
2009
  "titleVariances"?: string;
1890
2010
  }
1891
2011
  interface BnLayoutPage {
1892
2012
  /**
2013
+ * Whether to display the page number in the footer.
1893
2014
  * @default true
1894
2015
  */
1895
2016
  "footerDisplayPageNumber"?: boolean;
2017
+ /**
2018
+ * Text displayed in the page footer. If empty, the footer text is omitted.
2019
+ */
1896
2020
  "footerText"?: string;
1897
2021
  /**
2022
+ * URL or asset name of the image displayed in the message row. If the value is not an HTTP URL it is looked up in the asset store. If empty, the image is omitted.
2023
+ * @example <bn-layout-page message-image="debug/concordia.png"></bn-layout-page>
1898
2024
  * @default ""
1899
2025
  */
1900
2026
  "messageImage"?: string;
1901
2027
  /**
2028
+ * Message text displayed in the message row above the title. If empty, the message row is omitted.
1902
2029
  * @default ""
1903
2030
  */
1904
2031
  "messageText"?: string;
1905
2032
  /**
2033
+ * CSS `grid-template-areas` string used when `pageLayout` is set to `custom-template`. Each quoted row defines a grid row; letters map to slot indices in order of first appearance.
2034
+ * @example <bn-layout-page page-layout="custom-template" page-custom-template='"a a" "b c"'></bn-layout-page>
1906
2035
  * @default '"a b" "c d"'
1907
2036
  */
1908
2037
  "pageCustomTemplate"?: string;
1909
2038
  /**
2039
+ * When `true`, the page body height shrinks to fit its content (`fit-content`). When `false`, the body stretches to fill the full page height (`100%`). Width is always `100%` regardless of this setting.
1910
2040
  * @default true
1911
2041
  */
1912
2042
  "pageFitToContent"?: boolean;
2043
+ /**
2044
+ * Page size format. Determines the pixel dimensions of the rendered page. <br /><br /> values:<br /> ```xga // hd // full-hd // 4k // 4k2k // a4 // a3 // a2 // a1 // a0 // letter // legal```
2045
+ */
1913
2046
  "pageFormat"?: string;
1914
2047
  /**
2048
+ * Gap between grid cells in pixels.
1915
2049
  * @default "0"
1916
2050
  */
1917
2051
  "pageGridGap"?: string;
1918
2052
  /**
2053
+ * Layout mode that controls how child components are arranged in the page body using CSS Grid. <br /><br /> values:<br /> ```full // split-vertical // split-horizontal // 2x2 // 3x3 // 4x4 // 1-over-2 // 1-over-3 // 2-over-1 // 3-over-1 // custom-template``` <br /><br /> `full`: single slot. `split-vertical`: two side-by-side slots. `split-horizontal`: two stacked slots. `NxN`: equal grid. `1-over-2`: one full-width slot on top, two below. `custom-template`: uses the `pageCustomTemplate` CSS grid-template-areas string.
2054
+ * @example <bn-layout-page page-layout="2x2"></bn-layout-page>
1919
2055
  * @default "full"
1920
2056
  */
1921
2057
  "pageLayout"?: | "full"
@@ -1929,37 +2065,69 @@ declare namespace LocalJSX {
1929
2065
  | "2-over-1"
1930
2066
  | "3-over-1"
1931
2067
  | "custom-template";
2068
+ /**
2069
+ * Page number displayed in the footer. If empty, no page number is shown (unless `footerDisplayPageNumber` is also set).
2070
+ */
1932
2071
  "pageNumber"?: string;
2072
+ /**
2073
+ * Page orientation. Default depends on the chosen format. <br /><br /> values:<br /> ```landscape // portrait```
2074
+ */
1933
2075
  "pageOrientation"?: string;
2076
+ /**
2077
+ * JSON string of component-style overrides passed through to the inner `<bn-page>` element. Typically set via a `ComponentStyle` manifest rather than directly on the component.
2078
+ */
1934
2079
  "styles"?: string;
1935
2080
  /**
2081
+ * Name of the business unit displayed in the title header row. If empty, the business unit row is omitted.
2082
+ * @example <bn-layout-page title-business-unit="Group Controlling"></bn-layout-page>
1936
2083
  * @default ""
1937
2084
  */
1938
2085
  "titleBusinessUnit"?: string;
2086
+ /**
2087
+ * End date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-12-31`) or ISO 8601 datetime (e.g. `2024-12-31T23:59:59Z`).
2088
+ */
1939
2089
  "titleDateEnd"?: string;
1940
2090
  /**
2091
+ * Date display format used in the title row. <br /><br /> values:<br /> ```year // quarter // month // week // day // time // auto // none``` <br /><br /> `year`: YYYY, `quarter`: Q[Q] YYYY, `month`: MMM YYYY, `week`: [KW]WW YYYY, `day`: DD.MM.YYYY, `time`: DD.MM.YYYY HH:mm:ss, `auto`: automatic detection, `none`: DD.MM.YYYY.
1941
2092
  * @default "none"
1942
2093
  */
1943
2094
  "titleDateFormat"?: string;
1944
2095
  /**
2096
+ * Format in which the start and end dates are linked in the title. If set to `none` a plain date is shown. <br /><br /> values:<br /> ```avg // interval // cum // start // end // ytd // ytg // mat // none``` <br /><br /> `avg`: Ø[DATE], `interval`: [DATE]..[DATE2], `start`: .[DATE], `end`: [DATE]., `ytd`: _[DATE], `ytg`: [DATE]_, `cum`: [DATE]_[DATE2], `mat`: ~[DATE], `none`: [DATE].
1945
2097
  * @default "none"
1946
2098
  */
1947
2099
  "titleDateLink"?: string;
2100
+ /**
2101
+ * Start date displayed in the title date row. Accepts `yyyy-MM-dd` (e.g. `2024-01-01`) or ISO 8601 datetime (e.g. `2024-01-01T14:30:00Z`).
2102
+ */
1948
2103
  "titleDateStart"?: string;
2104
+ /**
2105
+ * Array of measure objects with `name` and `unit` displayed in the title. Passed as a JSON string. If all units are the same, redundant units are reduced and names concatenated. If empty, the measure row is omitted.
2106
+ * @example <bn-layout-page title-measures='[{"name":"Revenue","unit":"mEUR"}]'></bn-layout-page>
2107
+ */
1949
2108
  "titleMeasures"?: string;
1950
2109
  /**
2110
+ * Namespace used for title translations via the internationalization store.
1951
2111
  * @default "_system"
1952
2112
  */
1953
2113
  "titleNamespace"?: string;
1954
2114
  /**
2115
+ * Primary column on which the order direction is applied. <br /><br /> values:<br /> ```category // categoryindex // rowgroup // rowgroupindex // ac // fc // py // pl```
1955
2116
  * @default "category"
1956
2117
  */
1957
2118
  "titleOrder"?: string;
1958
2119
  /**
2120
+ * Sorting order direction for the column specified by `titleOrder`. <br /><br /> values:<br /> ```asc // desc```
1959
2121
  * @default "asc"
1960
2122
  */
1961
2123
  "titleOrderDirection"?: string;
2124
+ /**
2125
+ * List of scenarios displayed in the title header. <br /><br /> Comma-separated string or omitted. If empty, the scenarios row is omitted. <br /><br /> values:<br /> ```ac // fc // py // pl```
2126
+ */
1962
2127
  "titleScenarios"?: string;
2128
+ /**
2129
+ * List of variances calculated from the given scenarios. The scenarios used in the variances must also be defined in the `titleScenarios` property. The variance is defined as (ScenarioA − ScenarioB). The pos/neg/neu postfix defines which direction is considered "good". <br /><br /> If empty, variance indicators are hidden. <br /><br /> pattern:<br /> ```d<scenarioB>_<scenarioA>_[pos/neg/neu]```
2130
+ */
1963
2131
  "titleVariances"?: string;
1964
2132
  }
1965
2133
  interface BnMessage {
@@ -5,9 +5,14 @@ export interface ParentDimensions {
5
5
  /**
6
6
  * Returns the available dimensions for a component.
7
7
  *
8
- * Width: parent content-box width (excluding padding).
8
+ * Width: visual parent's content-box width (excluding padding).
9
9
  * Height: walks up the DOM to find the nearest ancestor with a constrained
10
10
  * height (overflow !== 'visible' or explicit max-height). Falls back to
11
11
  * the viewport height when every ancestor auto-grows with its content.
12
+ *
13
+ * When the component is slotted into a shadow DOM (e.g. inside
14
+ * bn-layout-page or bn-layout-card), the light DOM parentElement is NOT the
15
+ * visual container. We cross the light→shadow boundary via assignedSlot to
16
+ * find the actual slot wrapper that determines layout.
12
17
  */
13
18
  export declare function getParentDimensions(element: HTMLElement): ParentDimensions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bino-bi/bn-template-engine",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.6",
4
4
  "description": "IBCS-compliant web components for business intelligence tables and charts",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",