@beaconsoftware/b-report-table 1.0.0

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 (56) hide show
  1. package/dist/b-report-table-body.d.ts +16 -0
  2. package/dist/b-report-table-body.d.ts.map +1 -0
  3. package/dist/b-report-table-body.js +28 -0
  4. package/dist/b-report-table-body.js.map +1 -0
  5. package/dist/b-report-table-cell.d.ts +23 -0
  6. package/dist/b-report-table-cell.d.ts.map +1 -0
  7. package/dist/b-report-table-cell.js +103 -0
  8. package/dist/b-report-table-cell.js.map +1 -0
  9. package/dist/b-report-table-footer-cell.d.ts +25 -0
  10. package/dist/b-report-table-footer-cell.d.ts.map +1 -0
  11. package/dist/b-report-table-footer-cell.js +125 -0
  12. package/dist/b-report-table-footer-cell.js.map +1 -0
  13. package/dist/b-report-table-footer-row.d.ts +16 -0
  14. package/dist/b-report-table-footer-row.d.ts.map +1 -0
  15. package/dist/b-report-table-footer-row.js +28 -0
  16. package/dist/b-report-table-footer-row.js.map +1 -0
  17. package/dist/b-report-table-footer.d.ts +20 -0
  18. package/dist/b-report-table-footer.d.ts.map +1 -0
  19. package/dist/b-report-table-footer.js +38 -0
  20. package/dist/b-report-table-footer.js.map +1 -0
  21. package/dist/b-report-table-header-cell.d.ts +30 -0
  22. package/dist/b-report-table-header-cell.d.ts.map +1 -0
  23. package/dist/b-report-table-header-cell.js +121 -0
  24. package/dist/b-report-table-header-cell.js.map +1 -0
  25. package/dist/b-report-table-header-row.d.ts +16 -0
  26. package/dist/b-report-table-header-row.d.ts.map +1 -0
  27. package/dist/b-report-table-header-row.js +28 -0
  28. package/dist/b-report-table-header-row.js.map +1 -0
  29. package/dist/b-report-table-header.d.ts +25 -0
  30. package/dist/b-report-table-header.d.ts.map +1 -0
  31. package/dist/b-report-table-header.js +114 -0
  32. package/dist/b-report-table-header.js.map +1 -0
  33. package/dist/b-report-table-row.d.ts +16 -0
  34. package/dist/b-report-table-row.d.ts.map +1 -0
  35. package/dist/b-report-table-row.js +32 -0
  36. package/dist/b-report-table-row.js.map +1 -0
  37. package/dist/b-report-table.d.ts +32 -0
  38. package/dist/b-report-table.d.ts.map +1 -0
  39. package/dist/b-report-table.js +74 -0
  40. package/dist/b-report-table.js.map +1 -0
  41. package/dist/index.d.ts +12 -0
  42. package/dist/index.d.ts.map +1 -0
  43. package/dist/index.js +11 -0
  44. package/dist/index.js.map +1 -0
  45. package/package.json +41 -0
  46. package/src/b-report-table-body.ts +26 -0
  47. package/src/b-report-table-cell.ts +109 -0
  48. package/src/b-report-table-footer-cell.ts +131 -0
  49. package/src/b-report-table-footer-row.ts +26 -0
  50. package/src/b-report-table-footer.ts +32 -0
  51. package/src/b-report-table-header-cell.ts +128 -0
  52. package/src/b-report-table-header-row.ts +26 -0
  53. package/src/b-report-table-header.ts +125 -0
  54. package/src/b-report-table-row.ts +30 -0
  55. package/src/b-report-table.ts +80 -0
  56. package/src/index.ts +12 -0
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * Table body component that wraps body rows.
4
+ *
5
+ * @slot - Default slot for body rows (b-report-table-row)
6
+ */
7
+ export declare class BReportTableBody extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'b-report-table-body': BReportTableBody;
14
+ }
15
+ }
16
+ //# sourceMappingURL=b-report-table-body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-body.d.ts","sourceRoot":"","sources":["../src/b-report-table-body.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAIX;IAEF,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,gBAAgB,CAAC;KACzC;CACF"}
@@ -0,0 +1,28 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement } from 'lit/decorators.js';
9
+ /**
10
+ * Table body component that wraps body rows.
11
+ *
12
+ * @slot - Default slot for body rows (b-report-table-row)
13
+ */
14
+ let BReportTableBody = class BReportTableBody extends LitElement {
15
+ render() {
16
+ return html `<slot></slot>`;
17
+ }
18
+ };
19
+ BReportTableBody.styles = css `
20
+ :host {
21
+ display: table-row-group;
22
+ }
23
+ `;
24
+ BReportTableBody = __decorate([
25
+ customElement('b-report-table-body')
26
+ ], BReportTableBody);
27
+ export { BReportTableBody };
28
+ //# sourceMappingURL=b-report-table-body.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-body.js","sourceRoot":"","sources":["../src/b-report-table-body.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;GAIG;AAEI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAO9C,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AARM,uBAAM,GAAG,GAAG,CAAA;;;;GAIlB,AAJY,CAIX;AALS,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CAU5B"}
@@ -0,0 +1,23 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A cell within a table body row.
4
+ *
5
+ * @slot - Default slot for cell content
6
+ */
7
+ export declare class BReportTableCell extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ connectedCallback(): void;
10
+ disconnectedCallback(): void;
11
+ private _findTable;
12
+ private _applyInitialConfig;
13
+ private _handleConfigChange;
14
+ private _applyConfig;
15
+ private _getColumnIndex;
16
+ render(): import("lit-html").TemplateResult<1>;
17
+ }
18
+ declare global {
19
+ interface HTMLElementTagNameMap {
20
+ 'b-report-table-cell': BReportTableCell;
21
+ }
22
+ }
23
+ //# sourceMappingURL=b-report-table-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-cell.d.ts","sourceRoot":"","sources":["../src/b-report-table-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAI5C;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BA6BX;IAGF,iBAAiB,IAAI,IAAI;IAUzB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB,CAGzB;IAEF,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,eAAe;IAOvB,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,qBAAqB,EAAE,gBAAgB,CAAC;KACzC;CACF"}
@@ -0,0 +1,103 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement } from 'lit/decorators.js';
9
+ /**
10
+ * A cell within a table body row.
11
+ *
12
+ * @slot - Default slot for cell content
13
+ */
14
+ let BReportTableCell = class BReportTableCell extends LitElement {
15
+ constructor() {
16
+ super(...arguments);
17
+ this._handleConfigChange = (event) => {
18
+ const customEvent = event;
19
+ this._applyConfig(customEvent.detail.configs);
20
+ };
21
+ }
22
+ connectedCallback() {
23
+ super.connectedCallback();
24
+ const table = this._findTable();
25
+ if (table) {
26
+ table.addEventListener('column-config-change', this._handleConfigChange);
27
+ // Check if configs are already available
28
+ this._applyInitialConfig();
29
+ }
30
+ }
31
+ disconnectedCallback() {
32
+ super.disconnectedCallback();
33
+ this._findTable()?.removeEventListener('column-config-change', this._handleConfigChange);
34
+ }
35
+ _findTable() {
36
+ return this.closest('b-report-table');
37
+ }
38
+ _applyInitialConfig() {
39
+ const table = this._findTable();
40
+ if (table?.columnConfigs) {
41
+ this._applyConfig(table.columnConfigs);
42
+ }
43
+ }
44
+ _applyConfig(configs) {
45
+ const index = this._getColumnIndex();
46
+ const config = configs.find((c) => c.index === index);
47
+ if (config) {
48
+ if (config.sticky) {
49
+ this.setAttribute('data-sticky', config.sticky);
50
+ this.style.setProperty('--sticky-offset', `${config.offset}px`);
51
+ }
52
+ else {
53
+ this.removeAttribute('data-sticky');
54
+ this.style.removeProperty('--sticky-offset');
55
+ }
56
+ }
57
+ }
58
+ _getColumnIndex() {
59
+ const row = this.parentElement;
60
+ if (!row)
61
+ return -1;
62
+ const cells = Array.from(row.querySelectorAll('b-report-table-cell'));
63
+ return cells.indexOf(this);
64
+ }
65
+ render() {
66
+ return html `<slot></slot>`;
67
+ }
68
+ };
69
+ BReportTableCell.styles = css `
70
+ :host {
71
+ display: table-cell;
72
+ padding: 12px 16px;
73
+ border-bottom: 1px solid #e2e8f0;
74
+ background: inherit;
75
+ }
76
+
77
+ :host([data-sticky='left']),
78
+ :host([data-sticky='right']) {
79
+ position: sticky;
80
+ z-index: 1;
81
+ background: #fff;
82
+ }
83
+
84
+ :host([data-sticky='left']) {
85
+ left: var(--sticky-offset, 0px);
86
+ box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.1);
87
+ }
88
+
89
+ :host([data-sticky='right']) {
90
+ right: var(--sticky-offset, 0px);
91
+ box-shadow: -2px 0 4px -2px rgba(0, 0, 0, 0.1);
92
+ }
93
+
94
+ :host-context(b-report-table-row:hover)[data-sticky='left'],
95
+ :host-context(b-report-table-row:hover)[data-sticky='right'] {
96
+ background: #f8fafc;
97
+ }
98
+ `;
99
+ BReportTableCell = __decorate([
100
+ customElement('b-report-table-cell')
101
+ ], BReportTableCell);
102
+ export { BReportTableCell };
103
+ //# sourceMappingURL=b-report-table-cell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-cell.js","sourceRoot":"","sources":["../src/b-report-table-cell.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD;;;;GAIG;AAEI,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,UAAU;IAAzC;;QA8DG,wBAAmB,GAAG,CAAC,KAAY,EAAQ,EAAE;YACnD,MAAM,WAAW,GAAG,KAAuD,CAAC;YAC5E,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAChD,CAAC,CAAC;IA2BJ,CAAC;IA3DC,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAChC,IAAI,KAAK,EAAE,CAAC;YACV,KAAK,CAAC,gBAAgB,CAAC,sBAAs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QAC/B,IAAI,CAAC,GAAG;YAAE,OAAO,CAAC,CAAC,CAAC;QACpB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,CAAC;QACtE,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AA1FM,uBAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BlB,AA7BY,CA6BX;AA9BS,gBAAgB;IAD5B,aAAa,CAAC,qBAAqB,CAAC;GACxB,gBAAgB,CA4F5B"}
@@ -0,0 +1,25 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A cell within a table footer row.
4
+ * Inherits sticky behavior from corresponding header columns.
5
+ *
6
+ * @slot - Default slot for cell content
7
+ */
8
+ export declare class BReportTableFooterCell extends LitElement {
9
+ static styles: import("lit").CSSResult;
10
+ connectedCallback(): void;
11
+ private _updateVerticalSticky;
12
+ disconnectedCallback(): void;
13
+ private _findTable;
14
+ private _applyInitialConfig;
15
+ private _handleConfigChange;
16
+ private _applyConfig;
17
+ private _getColumnIndex;
18
+ render(): import("lit-html").TemplateResult<1>;
19
+ }
20
+ declare global {
21
+ interface HTMLElementTagNameMap {
22
+ 'b-report-table-footer-cell': BReportTableFooterCell;
23
+ }
24
+ }
25
+ //# sourceMappingURL=b-report-table-footer-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-footer-cell.d.ts","sourceRoot":"","sources":["../src/b-report-table-footer-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAI5C;;;;;GAKG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,0BAuCX;IAGF,iBAAiB,IAAI,IAAI;IAYzB,OAAO,CAAC,qBAAqB;IAS7B,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB,CAGzB;IAEF,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,eAAe;IAOvB,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,sBAAsB,CAAC;KACtD;CACF"}
@@ -0,0 +1,125 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement } from 'lit/decorators.js';
9
+ /**
10
+ * A cell within a table footer row.
11
+ * Inherits sticky behavior from corresponding header columns.
12
+ *
13
+ * @slot - Default slot for cell content
14
+ */
15
+ let BReportTableFooterCell = class BReportTableFooterCell extends LitElement {
16
+ constructor() {
17
+ super(...arguments);
18
+ this._handleConfigChange = (event) => {
19
+ const customEvent = event;
20
+ this._applyConfig(customEvent.detail.configs);
21
+ };
22
+ }
23
+ connectedCallback() {
24
+ super.connectedCallback();
25
+ const table = this._findTable();
26
+ if (table) {
27
+ table.addEventListener('column-config-change', this._handleConfigChange);
28
+ // Check if configs are already available
29
+ this._applyInitialConfig();
30
+ }
31
+ // Check if parent footer has sticky attribute
32
+ this._updateVerticalSticky();
33
+ }
34
+ _updateVerticalSticky() {
35
+ const footer = this.closest('b-report-table-footer');
36
+ if (footer?.hasAttribute('sticky')) {
37
+ this.setAttribute('data-sticky-bottom', '');
38
+ }
39
+ else {
40
+ this.removeAttribute('data-sticky-bottom');
41
+ }
42
+ }
43
+ disconnectedCallback() {
44
+ super.disconnectedCallback();
45
+ this._findTable()?.removeEventListener('column-config-change', this._handleConfigChange);
46
+ }
47
+ _findTable() {
48
+ return this.closest('b-report-table');
49
+ }
50
+ _applyInitialConfig() {
51
+ const table = this._findTable();
52
+ if (table?.columnConfigs) {
53
+ this._applyConfig(table.columnConfigs);
54
+ }
55
+ }
56
+ _applyConfig(configs) {
57
+ const index = this._getColumnIndex();
58
+ const config = configs.find((c) => c.index === index);
59
+ if (config) {
60
+ if (config.sticky) {
61
+ this.setAttribute('data-sticky', config.sticky);
62
+ this.style.setProperty('--sticky-offset', `${config.offset}px`);
63
+ }
64
+ else {
65
+ this.removeAttribute('data-sticky');
66
+ this.style.removeProperty('--sticky-offset');
67
+ }
68
+ }
69
+ }
70
+ _getColumnIndex() {
71
+ const row = this.parentElement;
72
+ if (!row)
73
+ return -1;
74
+ const cells = Array.from(row.querySelectorAll('b-report-table-footer-cell'));
75
+ return cells.indexOf(this);
76
+ }
77
+ render() {
78
+ return html `<slot></slot>`;
79
+ }
80
+ };
81
+ BReportTableFooterCell.styles = css `
82
+ :host {
83
+ display: table-cell;
84
+ padding: 12px 16px;
85
+ font-weight: 600;
86
+ background: #f8fafc;
87
+ border-top: 2px solid #e2e8f0;
88
+ }
89
+
90
+ /* Vertical sticky (when parent footer has sticky attribute) */
91
+ :host([data-sticky-bottom]) {
92
+ position: sticky;
93
+ bottom: 0;
94
+ z-index: 2;
95
+ }
96
+
97
+ /* Horizontal sticky columns */
98
+ :host([data-sticky='left']),
99
+ :host([data-sticky='right']) {
100
+ position: sticky;
101
+ z-index: 2;
102
+ background: #f1f5f9;
103
+ }
104
+
105
+ /* Both vertical and horizontal sticky */
106
+ :host([data-sticky-bottom][data-sticky='left']),
107
+ :host([data-sticky-bottom][data-sticky='right']) {
108
+ z-index: 4;
109
+ }
110
+
111
+ :host([data-sticky='left']) {
112
+ left: var(--sticky-offset, 0px);
113
+ box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.1);
114
+ }
115
+
116
+ :host([data-sticky='right']) {
117
+ right: var(--sticky-offset, 0px);
118
+ box-shadow: -2px 0 4px -2px rgba(0, 0, 0, 0.1);
119
+ }
120
+ `;
121
+ BReportTableFooterCell = __decorate([
122
+ customElement('b-report-table-footer-cell')
123
+ ], BReportTableFooterCell);
124
+ export { BReportTableFooterCell };
125
+ //# sourceMappingURL=b-report-table-footer-cell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-footer-cell.js","sourceRoot":"","sources":["../src/b-report-table-footer-cell.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAGlD;;;;;GAKG;AAEI,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,UAAU;IAA/C;;QAmFG,wBAAmB,GAAG,CAAC,KAAY,EAAQ,EAAE;YACnD,MAAM,WAAW,GAAG,KAAuD,CAAC;YAC5E,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAChD,CAAC,CAAC;IA2BJ,CAAC;IAtEC,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QAChC,IAAI,KAAK,EAAE,CAAC;YACV,KAAK,CAAC,gBAAgB,CAAC,sBAAsB,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;YACzE,yCAAyC;YACzC,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAC7B,CAAC;QACD,8CAA8C;QAC9C,IAAI,CAAC,qBAAqB,EAAE,CAAC;IAC/B,CAAC;IAEO,qBAAqB;QAC3B,MAAM,MAAM,GAAG,IAAI,CAAC,OAAO,CAA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cAAc,CAAC,iBAAiB,CAAC,CAAC;YAC/C,CAAC;QACH,CAAC;IACH,CAAC;IAEO,eAAe;QACrB,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC;QAC/B,IAAI,CAAC,GAAG;YAAE,OAAO,CAAC,CAAC,CAAC;QACpB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,CAAC,CAAC;QAC7E,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AA/GM,6BAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuClB,AAvCY,CAuCX;AAxCS,sBAAsB;IADlC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,sBAAsB,CAiHlC"}
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A row within the table footer.
4
+ *
5
+ * @slot - Default slot for footer cells (b-report-table-footer-cell)
6
+ */
7
+ export declare class BReportTableFooterRow extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'b-report-table-footer-row': BReportTableFooterRow;
14
+ }
15
+ }
16
+ //# sourceMappingURL=b-report-table-footer-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-footer-row.d.ts","sourceRoot":"","sources":["../src/b-report-table-footer-row.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;GAIG;AACH,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,0BAIX;IAEF,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,2BAA2B,EAAE,qBAAqB,CAAC;KACpD;CACF"}
@@ -0,0 +1,28 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement } from 'lit/decorators.js';
9
+ /**
10
+ * A row within the table footer.
11
+ *
12
+ * @slot - Default slot for footer cells (b-report-table-footer-cell)
13
+ */
14
+ let BReportTableFooterRow = class BReportTableFooterRow extends LitElement {
15
+ render() {
16
+ return html `<slot></slot>`;
17
+ }
18
+ };
19
+ BReportTableFooterRow.styles = css `
20
+ :host {
21
+ display: table-row;
22
+ }
23
+ `;
24
+ BReportTableFooterRow = __decorate([
25
+ customElement('b-report-table-footer-row')
26
+ ], BReportTableFooterRow);
27
+ export { BReportTableFooterRow };
28
+ //# sourceMappingURL=b-report-table-footer-row.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-footer-row.js","sourceRoot":"","sources":["../src/b-report-table-footer-row.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;GAIG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,UAAU;IAOnD,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AARM,4BAAM,GAAG,GAAG,CAAA;;;;GAIlB,AAJY,CAIX;AALS,qBAAqB;IADjC,aAAa,CAAC,2BAA2B,CAAC;GAC9B,qBAAqB,CAUjC"}
@@ -0,0 +1,20 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * Table footer component that wraps footer rows.
4
+ *
5
+ * @slot - Default slot for footer rows (b-report-table-footer-row)
6
+ */
7
+ export declare class BReportTableFooter extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ /**
10
+ * Whether the footer should be sticky (fixed at the bottom when scrolling).
11
+ */
12
+ sticky: boolean;
13
+ render(): import("lit-html").TemplateResult<1>;
14
+ }
15
+ declare global {
16
+ interface HTMLElementTagNameMap {
17
+ 'b-report-table-footer': BReportTableFooter;
18
+ }
19
+ }
20
+ //# sourceMappingURL=b-report-table-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-footer.d.ts","sourceRoot":"","sources":["../src/b-report-table-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;GAIG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD,MAAM,CAAC,MAAM,0BAIX;IAEF;;OAEG;IAEH,MAAM,UAAS;IAEf,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,uBAAuB,EAAE,kBAAkB,CAAC;KAC7C;CACF"}
@@ -0,0 +1,38 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement, property } from 'lit/decorators.js';
9
+ /**
10
+ * Table footer component that wraps footer rows.
11
+ *
12
+ * @slot - Default slot for footer rows (b-report-table-footer-row)
13
+ */
14
+ let BReportTableFooter = class BReportTableFooter extends LitElement {
15
+ constructor() {
16
+ super(...arguments);
17
+ /**
18
+ * Whether the footer should be sticky (fixed at the bottom when scrolling).
19
+ */
20
+ this.sticky = false;
21
+ }
22
+ render() {
23
+ return html `<slot></slot>`;
24
+ }
25
+ };
26
+ BReportTableFooter.styles = css `
27
+ :host {
28
+ display: table-footer-group;
29
+ }
30
+ `;
31
+ __decorate([
32
+ property({ type: Boolean, reflect: true })
33
+ ], BReportTableFooter.prototype, "sticky", void 0);
34
+ BReportTableFooter = __decorate([
35
+ customElement('b-report-table-footer')
36
+ ], BReportTableFooter);
37
+ export { BReportTableFooter };
38
+ //# sourceMappingURL=b-report-table-footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-footer.js","sourceRoot":"","sources":["../src/b-report-table-footer.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;GAIG;AAEI,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,UAAU;IAA3C;;QAOL;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;IAKjB,CAAC;IAHC,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AAdM,yBAAM,GAAG,GAAG,CAAA;;;;GAIlB,AAJY,CAIX;AAMF;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;kDAC5B;AAXJ,kBAAkB;IAD9B,aAAa,CAAC,uBAAuB,CAAC;GAC1B,kBAAkB,CAgB9B"}
@@ -0,0 +1,30 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A header cell within a table header row.
4
+ *
5
+ * @slot - Default slot for cell content
6
+ */
7
+ export declare class BReportTableHeaderCell extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ /**
10
+ * Determines if this column should be sticky.
11
+ * - "left": Column sticks to the left side
12
+ * - "right": Column sticks to the right side
13
+ * - null/undefined: Column is not sticky
14
+ */
15
+ sticky: 'left' | 'right' | null;
16
+ private _offset;
17
+ connectedCallback(): void;
18
+ private _updateVerticalSticky;
19
+ disconnectedCallback(): void;
20
+ private _findTable;
21
+ private _handleConfigChange;
22
+ private _getColumnIndex;
23
+ render(): import("lit-html").TemplateResult<1>;
24
+ }
25
+ declare global {
26
+ interface HTMLElementTagNameMap {
27
+ 'b-report-table-header-cell': BReportTableHeaderCell;
28
+ }
29
+ }
30
+ //# sourceMappingURL=b-report-table-header-cell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-header-cell.d.ts","sourceRoot":"","sources":["../src/b-report-table-header-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAI5C;;;;GAIG;AACH,qBACa,sBAAuB,SAAQ,UAAU;IACpD,MAAM,CAAC,MAAM,0BAyCX;IAEF;;;;;OAKG;IAEH,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAAQ;IAGvC,OAAO,CAAC,OAAO,CAAK;IAEpB,iBAAiB,IAAI,IAAI;IAUzB,OAAO,CAAC,qBAAqB;IAS7B,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,mBAAmB,CAUzB;IAEF,OAAO,CAAC,eAAe;IASvB,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,4BAA4B,EAAE,sBAAsB,CAAC;KACtD;CACF"}
@@ -0,0 +1,121 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { LitElement, html, css } from 'lit';
8
+ import { customElement, property, state } from 'lit/decorators.js';
9
+ /**
10
+ * A header cell within a table header row.
11
+ *
12
+ * @slot - Default slot for cell content
13
+ */
14
+ let BReportTableHeaderCell = class BReportTableHeaderCell extends LitElement {
15
+ constructor() {
16
+ super(...arguments);
17
+ /**
18
+ * Determines if this column should be sticky.
19
+ * - "left": Column sticks to the left side
20
+ * - "right": Column sticks to the right side
21
+ * - null/undefined: Column is not sticky
22
+ */
23
+ this.sticky = null;
24
+ this._offset = 0;
25
+ this._handleConfigChange = (event) => {
26
+ const customEvent = event;
27
+ const configs = customEvent.detail.configs;
28
+ const index = this._getColumnIndex();
29
+ const config = configs.find((c) => c.index === index);
30
+ if (config && config.sticky) {
31
+ this._offset = config.offset;
32
+ this.style.setProperty('--sticky-offset', `${this._offset}px`);
33
+ }
34
+ };
35
+ }
36
+ connectedCallback() {
37
+ super.connectedCallback();
38
+ this._findTable()?.addEventListener('column-config-change', this._handleConfigChange);
39
+ // Check if parent header has sticky attribute
40
+ this._updateVerticalSticky();
41
+ }
42
+ _updateVerticalSticky() {
43
+ const header = this.closest('b-report-table-header');
44
+ if (header?.hasAttribute('sticky')) {
45
+ this.setAttribute('data-sticky-top', '');
46
+ }
47
+ else {
48
+ this.removeAttribute('data-sticky-top');
49
+ }
50
+ }
51
+ disconnectedCallback() {
52
+ super.disconnectedCallback();
53
+ this._findTable()?.removeEventListener('column-config-change', this._handleConfigChange);
54
+ }
55
+ _findTable() {
56
+ return this.closest('b-report-table');
57
+ }
58
+ _getColumnIndex() {
59
+ const row = this.parentElement;
60
+ if (!row)
61
+ return -1;
62
+ const cells = Array.from(row.querySelectorAll('b-report-table-header-cell'));
63
+ return cells.indexOf(this);
64
+ }
65
+ render() {
66
+ return html `<slot></slot>`;
67
+ }
68
+ };
69
+ BReportTableHeaderCell.styles = css `
70
+ :host {
71
+ display: table-cell;
72
+ padding: 12px 16px;
73
+ text-align: left;
74
+ font-weight: 600;
75
+ background: #f8fafc;
76
+ border-bottom: 2px solid #e2e8f0;
77
+ white-space: nowrap;
78
+ }
79
+
80
+ /* Vertical sticky (when parent header has sticky attribute) */
81
+ :host([data-sticky-top]) {
82
+ position: sticky;
83
+ top: 0;
84
+ z-index: 2;
85
+ }
86
+
87
+ /* Horizontal sticky columns */
88
+ :host([sticky='left']),
89
+ :host([sticky='right']) {
90
+ position: sticky;
91
+ z-index: 2;
92
+ background: #f1f5f9;
93
+ }
94
+
95
+ /* Both vertical and horizontal sticky */
96
+ :host([data-sticky-top][sticky='left']),
97
+ :host([data-sticky-top][sticky='right']) {
98
+ z-index: 4;
99
+ }
100
+
101
+ :host([sticky='left']) {
102
+ left: var(--sticky-offset, 0px);
103
+ box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.1);
104
+ }
105
+
106
+ :host([sticky='right']) {
107
+ right: var(--sticky-offset, 0px);
108
+ box-shadow: -2px 0 4px -2px rgba(0, 0, 0, 0.1);
109
+ }
110
+ `;
111
+ __decorate([
112
+ property({ type: String, reflect: true })
113
+ ], BReportTableHeaderCell.prototype, "sticky", void 0);
114
+ __decorate([
115
+ state()
116
+ ], BReportTableHeaderCell.prototype, "_offset", void 0);
117
+ BReportTableHeaderCell = __decorate([
118
+ customElement('b-report-table-header-cell')
119
+ ], BReportTableHeaderCell);
120
+ export { BReportTableHeaderCell };
121
+ //# sourceMappingURL=b-report-table-header-cell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-header-cell.js","sourceRoot":"","sources":["../src/b-report-table-header-cell.ts"],"names":[],"mappings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,QAAQ,CAAC,EAAE,CAAC;YACnC,IAAI,CAAC,YAAY,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;QAC3C,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC;QAC1C,CAAC;IACH,CAAC;IAED,oBAAoB;QAClB,KAAK,CAAC,oBAAoB,EAAE,CAAC;QAC7B,IAAI,CAAC,UAAU,EAAE,EAAE,mBAAmB,CACpC,sBAAsB,EACtB,IAAI,CAAC,mBAAmB,CACzB,CAAC;IACJ,CAAC;IAEO,UAAU;QAChB,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACxC,CAAC;IAcO,eAAe;QACrB,MAAM,GAAG,GAAG,IAAI,CAAC,aAAa,CAAC;QAC/B,IAAI,CAAC,GAAG;YAAE,OAAO,CAAC,CAAC,CAAC;QACpB,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CACtB,GAAG,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,CACnD,CAAC;QACF,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA,eAAe,CAAC;IAC7B,CAAC;;AA7GM,6BAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyClB,AAzCY,CAyCX;AASF;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;sDACH;AAG/B;IADP,KAAK,EAAE;uDACY;AAtDT,sBAAsB;IADlC,aAAa,CAAC,4BAA4B,CAAC;GAC/B,sBAAsB,CA+GlC"}
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ /**
3
+ * A row within the table header.
4
+ *
5
+ * @slot - Default slot for header cells (b-report-table-header-cell)
6
+ */
7
+ export declare class BReportTableHeaderRow extends LitElement {
8
+ static styles: import("lit").CSSResult;
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'b-report-table-header-row': BReportTableHeaderRow;
14
+ }
15
+ }
16
+ //# sourceMappingURL=b-report-table-header-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"b-report-table-header-row.d.ts","sourceRoot":"","sources":["../src/b-report-table-header-row.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;GAIG;AACH,qBACa,qBAAsB,SAAQ,UAAU;IACnD,MAAM,CAAC,MAAM,0BAIX;IAEF,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,2BAA2B,EAAE,qBAAqB,CAAC;KACpD;CACF"}