@molecule/app-data-table-ui-angular 0.0.0-stage → 0.0.1-stage

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 (35) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +982 -2
  3. package/dist/data-table-card.component.d.ts +214 -0
  4. package/dist/data-table-card.component.d.ts.map +1 -0
  5. package/dist/data-table-card.component.js +568 -0
  6. package/dist/data-table-card.component.js.map +1 -0
  7. package/dist/index.d.ts +88 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +88 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/row-with-actions.component.d.ts +76 -0
  12. package/dist/row-with-actions.component.d.ts.map +1 -0
  13. package/dist/row-with-actions.component.js +167 -0
  14. package/dist/row-with-actions.component.js.map +1 -0
  15. package/dist/slot-dom.d.ts +67 -0
  16. package/dist/slot-dom.d.ts.map +1 -0
  17. package/dist/slot-dom.js +94 -0
  18. package/dist/slot-dom.js.map +1 -0
  19. package/dist/table-empty.component.d.ts +44 -0
  20. package/dist/table-empty.component.d.ts.map +1 -0
  21. package/dist/table-empty.component.js +99 -0
  22. package/dist/table-empty.component.js.map +1 -0
  23. package/dist/table-footer.component.d.ts +55 -0
  24. package/dist/table-footer.component.d.ts.map +1 -0
  25. package/dist/table-footer.component.js +138 -0
  26. package/dist/table-footer.component.js.map +1 -0
  27. package/dist/table-toolbar.component.d.ts +77 -0
  28. package/dist/table-toolbar.component.d.ts.map +1 -0
  29. package/dist/table-toolbar.component.js +195 -0
  30. package/dist/table-toolbar.component.js.map +1 -0
  31. package/dist/types.d.ts +100 -0
  32. package/dist/types.d.ts.map +1 -0
  33. package/dist/types.js +13 -0
  34. package/dist/types.js.map +1 -0
  35. package/package.json +69 -4
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-empty.component.js","sourceRoot":"","sources":["../src/table-empty.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,g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UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,gBAAgB,CAAC;gBAC3B,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,WAAW,CAAC;gBAC5C,QAAQ,EAAE;;;;;;QAMJ;aACP;;kFACY,UAAU"}
@@ -0,0 +1,55 @@
1
+ import { type TemplateRef } from '@angular/core';
2
+ import type { UIClassMap } from '@molecule/app-ui';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * TableFooter component.
6
+ *
7
+ * Footer bar rendered below a table — the Angular counterpart of
8
+ * `@molecule/app-data-table-ui-react`'s `TableFooter`: the same props (React
9
+ * names), the same ClassMap tokens, and the same DOM for the same input. The
10
+ * host IS the outer `<div>` (`div[mol-table-footer]`), matching React's root
11
+ * exactly. Both slots always render as their own `<div>`; `left` and `right`
12
+ * are `[slot=…]` content, `TemplateRef`s, or text.
13
+ */
14
+ export declare class TableFooter {
15
+ /** Left slot — typically a summary line (a `TemplateRef` or `[slot=left]` content). */
16
+ left?: unknown;
17
+ /** Right slot — typically a pagination bar (a `TemplateRef` or `[slot=right]` content). */
18
+ right?: unknown;
19
+ /** Extra classes. */
20
+ className?: string;
21
+ /**
22
+ * The current class map.
23
+ * @returns The UIClassMap.
24
+ */
25
+ cm(): UIClassMap;
26
+ /**
27
+ * The bar's class list (`flex between/center, gap sm, wrap` + `pt-3` + the
28
+ * caller's classes).
29
+ * @returns The class string.
30
+ */
31
+ classes(): string;
32
+ /**
33
+ * The left slot's text (React's `{left}` for text).
34
+ * @returns The text, or `''` for a node slot.
35
+ */
36
+ leftText(): string;
37
+ /**
38
+ * The left slot's template, when the caller passed a node.
39
+ * @returns The template, or null.
40
+ */
41
+ leftTemplate(): TemplateRef<unknown> | null;
42
+ /**
43
+ * The right slot's text (React's `{right}` for text).
44
+ * @returns The text, or `''` for a node slot.
45
+ */
46
+ rightText(): string;
47
+ /**
48
+ * The right slot's template, when the caller passed a node.
49
+ * @returns The template, or null.
50
+ */
51
+ rightTemplate(): TemplateRef<unknown> | null;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableFooter, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableFooter, "div[mol-table-footer]", never, { "left": { "alias": "left"; "required": false; }; "right": { "alias": "right"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["[slot=left]", "[slot=right]"], true, never>;
54
+ }
55
+ //# sourceMappingURL=table-footer.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-footer.component.d.ts","sourceRoot":"","sources":["../src/table-footer.component.ts"],"names":[],"mappings":"AAOA,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAKlD;;;;;;;;;GASG;AACH,qBAqBa,WAAW;IACtB,uFAAuF;IACvF,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,2FAA2F;IAC3F,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;;OAIG;IACH,OAAO,IAAI,MAAM;IAQjB;;;OAGG;IACH,QAAQ,IAAI,MAAM;IAIlB;;;OAGG;IACH,YAAY,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;IAI3C;;;OAGG;IACH,SAAS,IAAI,MAAM;IAMnB;;;OAGG;IACH,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;yCA3DjC,WAAW;2CAAX,WAAW;CA8DvB"}
@@ -0,0 +1,138 @@
1
+ /**
2
+ * TableFooter component (React parity).
3
+ *
4
+ * @module
5
+ */
6
+ import { NgTemplateOutlet } from '@angular/common';
7
+ import { Component } from '@angular/core';
8
+ import { getClassMap } from '@molecule/app-ui';
9
+ import { templateOf, textOf } from './slot-dom.js';
10
+ import * as i0 from "@angular/core";
11
+ const _c0 = [[["", "slot", "left"]], [["", "slot", "right"]]];
12
+ const _c1 = ["[slot=left]", "[slot=right]"];
13
+ function TableFooter_Conditional_2_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementContainer(0, 0);
15
+ } if (rf & 2) {
16
+ i0.ɵɵproperty("ngTemplateOutlet", ctx);
17
+ } }
18
+ function TableFooter_Conditional_6_Template(rf, ctx) { if (rf & 1) {
19
+ i0.ɵɵelementContainer(0, 0);
20
+ } if (rf & 2) {
21
+ i0.ɵɵproperty("ngTemplateOutlet", ctx);
22
+ } }
23
+ /**
24
+ * TableFooter component.
25
+ *
26
+ * Footer bar rendered below a table — the Angular counterpart of
27
+ * `@molecule/app-data-table-ui-react`'s `TableFooter`: the same props (React
28
+ * names), the same ClassMap tokens, and the same DOM for the same input. The
29
+ * host IS the outer `<div>` (`div[mol-table-footer]`), matching React's root
30
+ * exactly. Both slots always render as their own `<div>`; `left` and `right`
31
+ * are `[slot=…]` content, `TemplateRef`s, or text.
32
+ */
33
+ export class TableFooter {
34
+ /** Left slot — typically a summary line (a `TemplateRef` or `[slot=left]` content). */
35
+ left;
36
+ /** Right slot — typically a pagination bar (a `TemplateRef` or `[slot=right]` content). */
37
+ right;
38
+ /** Extra classes. */
39
+ className;
40
+ /**
41
+ * The current class map.
42
+ * @returns The UIClassMap.
43
+ */
44
+ cm() {
45
+ return getClassMap();
46
+ }
47
+ /**
48
+ * The bar's class list (`flex between/center, gap sm, wrap` + `pt-3` + the
49
+ * caller's classes).
50
+ * @returns The class string.
51
+ */
52
+ classes() {
53
+ return this.cm().cn(this.cm().flex({ justify: 'between', align: 'center', gap: 'sm', wrap: 'wrap' }), this.cm().sp('pt', 3), this.className);
54
+ }
55
+ /**
56
+ * The left slot's text (React's `{left}` for text).
57
+ * @returns The text, or `''` for a node slot.
58
+ */
59
+ leftText() {
60
+ return typeof this.left === 'string' || typeof this.left === 'number' ? textOf(this.left) : '';
61
+ }
62
+ /**
63
+ * The left slot's template, when the caller passed a node.
64
+ * @returns The template, or null.
65
+ */
66
+ leftTemplate() {
67
+ return templateOf(this.left);
68
+ }
69
+ /**
70
+ * The right slot's text (React's `{right}` for text).
71
+ * @returns The text, or `''` for a node slot.
72
+ */
73
+ rightText() {
74
+ return typeof this.right === 'string' || typeof this.right === 'number'
75
+ ? textOf(this.right)
76
+ : '';
77
+ }
78
+ /**
79
+ * The right slot's template, when the caller passed a node.
80
+ * @returns The template, or null.
81
+ */
82
+ rightTemplate() {
83
+ return templateOf(this.right);
84
+ }
85
+ static ɵfac = function TableFooter_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableFooter)(); };
86
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableFooter, selectors: [["div", "mol-table-footer", ""]], hostVars: 2, hostBindings: function TableFooter_HostBindings(rf, ctx) { if (rf & 2) {
87
+ i0.ɵɵclassMap(ctx.classes());
88
+ } }, inputs: { left: "left", right: "right", className: "className" }, ngContentSelectors: _c1, decls: 8, vars: 4, consts: [[3, "ngTemplateOutlet"]], template: function TableFooter_Template(rf, ctx) { if (rf & 1) {
89
+ i0.ɵɵprojectionDef(_c0);
90
+ i0.ɵɵelementStart(0, "div");
91
+ i0.ɵɵprojection(1);
92
+ i0.ɵɵconditionalCreate(2, TableFooter_Conditional_2_Template, 1, 1, "ng-container", 0);
93
+ i0.ɵɵtext(3);
94
+ i0.ɵɵelementEnd();
95
+ i0.ɵɵelementStart(4, "div");
96
+ i0.ɵɵprojection(5, 1);
97
+ i0.ɵɵconditionalCreate(6, TableFooter_Conditional_6_Template, 1, 1, "ng-container", 0);
98
+ i0.ɵɵtext(7);
99
+ i0.ɵɵelementEnd();
100
+ } if (rf & 2) {
101
+ let tmp_0_0;
102
+ let tmp_2_0;
103
+ i0.ɵɵadvance(2);
104
+ i0.ɵɵconditional((tmp_0_0 = ctx.leftTemplate()) ? 2 : -1, tmp_0_0);
105
+ i0.ɵɵadvance();
106
+ i0.ɵɵtextInterpolate1(" ", ctx.leftText(), " ");
107
+ i0.ɵɵadvance(3);
108
+ i0.ɵɵconditional((tmp_2_0 = ctx.rightTemplate()) ? 6 : -1, tmp_2_0);
109
+ i0.ɵɵadvance();
110
+ i0.ɵɵtextInterpolate1(" ", ctx.rightText(), " ");
111
+ } }, dependencies: [NgTemplateOutlet], encapsulation: 2 });
112
+ }
113
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableFooter, [{
114
+ type: Component,
115
+ args: [{
116
+ selector: 'div[mol-table-footer]',
117
+ standalone: true,
118
+ imports: [NgTemplateOutlet],
119
+ inputs: ['left', 'right', 'className'],
120
+ host: { '[class]': 'classes()' },
121
+ template: `<div>
122
+ <ng-content select="[slot=left]"></ng-content>
123
+ @if (leftTemplate(); as tpl) {
124
+ <ng-container [ngTemplateOutlet]="tpl" />
125
+ }
126
+ {{ leftText() }}
127
+ </div>
128
+ <div>
129
+ <ng-content select="[slot=right]"></ng-content>
130
+ @if (rightTemplate(); as tpl) {
131
+ <ng-container [ngTemplateOutlet]="tpl" />
132
+ }
133
+ {{ rightText() }}
134
+ </div>`,
135
+ }]
136
+ }], null, null); })();
137
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableFooter, { className: "TableFooter", filePath: "table-footer.component.ts", lineNumber: 46 }); })();
138
+ //# sourceMappingURL=table-footer.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-footer.component.js","sourceRoot":"","sources":["../src/table-footer.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAA;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;;;;;IAqB1C,2BAAyC;;IAA3B,sCAAwB;;;IAOtC,2BAAyC;;IA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AfX,2BAAK;YACZ,kBAA8C;YAC9C,sFAA8B;YAG9B,YACF;YAAA,iBAAM;YACN,2BAAK;YACH,qBAA+C;YAC/C,sFAA+B;YAG/B,YACF;YAAA,iBAAM;;;;YAXJ,eAEC;YAFD,kEAEC;YACD,cACF;YADE,+CACF;YAGE,eAEC;YAFD,mEAEC;YACD,cACF;YADE,gDACF;4BAhBQ,gBAAgB;;iFAkBf,WAAW;cArBvB,SAAS;eAAC;gBACT,QAAQ,EAAE,uBAAuB;gBACjC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,gBAAgB,CAAC;gBAC3B,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,CAAC;gBACtC,IAAI,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE;gBAChC,QAAQ,EAAE;;;;;;;;;;;;;WAaD;aACV;;kFACY,WAAW"}
@@ -0,0 +1,77 @@
1
+ import { type TemplateRef } from '@angular/core';
2
+ import type { UIClassMap } from '@molecule/app-ui';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * TableToolbar component.
6
+ *
7
+ * Table top-chrome row with left/right slots and an optional bottom sub-row for
8
+ * active filter chips or tabs — the Angular counterpart of
9
+ * `@molecule/app-data-table-ui-react`'s `TableToolbar`: the same props (React
10
+ * names), the same ClassMap tokens, and the same DOM for the same input. The
11
+ * host IS the outer stack `<div>` (`div[mol-table-toolbar]`), matching React's
12
+ * root exactly. `left`, `right` and `below` are `[slot=…]` content,
13
+ * `TemplateRef`s, or text.
14
+ */
15
+ export declare class TableToolbar {
16
+ /** Left-aligned content (a `TemplateRef` or `[slot=left]` content). */
17
+ left?: unknown;
18
+ /** Right-aligned actions (a `TemplateRef` or `[slot=right]` content). */
19
+ right?: unknown;
20
+ /** Optional filter sub-row (a `TemplateRef` or `[slot=below]` content). */
21
+ below?: unknown;
22
+ /** Extra classes. */
23
+ className?: string;
24
+ /**
25
+ * The current class map.
26
+ * @returns The UIClassMap.
27
+ */
28
+ cm(): UIClassMap;
29
+ /**
30
+ * The toolbar's class list (`stack(2)` + the caller's classes).
31
+ * @returns The class string.
32
+ */
33
+ classes(): string;
34
+ /**
35
+ * The left/right row's class list (`flex between/center, gap sm, wrap`).
36
+ * @returns The class string.
37
+ */
38
+ rowClasses(): string;
39
+ /**
40
+ * One left/right section's class list (`flex center, gap sm`).
41
+ * @returns The class string.
42
+ */
43
+ sectionClasses(): string;
44
+ /**
45
+ * The left slot's text (React's `{left}` for text).
46
+ * @returns The text, or `''` for a node slot.
47
+ */
48
+ leftText(): string;
49
+ /**
50
+ * The left slot's template, when the caller passed a node.
51
+ * @returns The template, or null.
52
+ */
53
+ leftTemplate(): TemplateRef<unknown> | null;
54
+ /**
55
+ * The right slot's text (React's `{right}` for text).
56
+ * @returns The text, or `''` for a node slot.
57
+ */
58
+ rightText(): string;
59
+ /**
60
+ * The right slot's template, when the caller passed a node.
61
+ * @returns The template, or null.
62
+ */
63
+ rightTemplate(): TemplateRef<unknown> | null;
64
+ /**
65
+ * The filter row's text (React's `{below}` for text).
66
+ * @returns The text, or `''` for a node row.
67
+ */
68
+ belowText(): string;
69
+ /**
70
+ * The filter row's template, when the caller passed a node.
71
+ * @returns The template, or null.
72
+ */
73
+ belowTemplate(): TemplateRef<unknown> | null;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableToolbar, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableToolbar, "div[mol-table-toolbar]", never, { "left": { "alias": "left"; "required": false; }; "right": { "alias": "right"; "required": false; }; "below": { "alias": "below"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, ["[slot=left]", "[slot=right]", "[slot=below]"], true, never>;
76
+ }
77
+ //# sourceMappingURL=table-toolbar.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-toolbar.component.d.ts","sourceRoot":"","sources":["../src/table-toolbar.component.ts"],"names":[],"mappings":"AAOA,OAAO,EAAa,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;;AAKlD;;;;;;;;;;GAUG;AACH,qBA4Ba,YAAY;IACvB,uEAAuE;IACvE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;OAGG;IACH,EAAE,IAAI,UAAU;IAIhB;;;OAGG;IACH,OAAO,IAAI,MAAM;IAIjB;;;OAGG;IACH,UAAU,IAAI,MAAM;IAIpB;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB;;;OAGG;IACH,QAAQ,IAAI,MAAM;IAIlB;;;OAGG;IACH,YAAY,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;IAI3C;;;OAGG;IACH,SAAS,IAAI,MAAM;IAMnB;;;OAGG;IACH,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;IAI5C;;;OAGG;IACH,SAAS,IAAI,MAAM;IAMnB;;;OAGG;IACH,aAAa,IAAI,WAAW,CAAC,OAAO,CAAC,GAAG,IAAI;yCA1FjC,YAAY;2CAAZ,YAAY;CA6FxB"}
@@ -0,0 +1,195 @@
1
+ /**
2
+ * TableToolbar component (React parity).
3
+ *
4
+ * @module
5
+ */
6
+ import { NgTemplateOutlet } from '@angular/common';
7
+ import { Component } from '@angular/core';
8
+ import { getClassMap } from '@molecule/app-ui';
9
+ import { templateOf, textOf } from './slot-dom.js';
10
+ import * as i0 from "@angular/core";
11
+ const _c0 = [[["", "slot", "left"]], [["", "slot", "right"]], [["", "slot", "below"]]];
12
+ const _c1 = ["[slot=left]", "[slot=right]", "[slot=below]"];
13
+ function TableToolbar_Conditional_3_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementContainer(0, 0);
15
+ } if (rf & 2) {
16
+ i0.ɵɵproperty("ngTemplateOutlet", ctx);
17
+ } }
18
+ function TableToolbar_Conditional_7_Template(rf, ctx) { if (rf & 1) {
19
+ i0.ɵɵelementContainer(0, 0);
20
+ } if (rf & 2) {
21
+ i0.ɵɵproperty("ngTemplateOutlet", ctx);
22
+ } }
23
+ function TableToolbar_Conditional_10_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementContainer(0, 0);
25
+ } if (rf & 2) {
26
+ i0.ɵɵproperty("ngTemplateOutlet", ctx);
27
+ } }
28
+ /**
29
+ * TableToolbar component.
30
+ *
31
+ * Table top-chrome row with left/right slots and an optional bottom sub-row for
32
+ * active filter chips or tabs — the Angular counterpart of
33
+ * `@molecule/app-data-table-ui-react`'s `TableToolbar`: the same props (React
34
+ * names), the same ClassMap tokens, and the same DOM for the same input. The
35
+ * host IS the outer stack `<div>` (`div[mol-table-toolbar]`), matching React's
36
+ * root exactly. `left`, `right` and `below` are `[slot=…]` content,
37
+ * `TemplateRef`s, or text.
38
+ */
39
+ export class TableToolbar {
40
+ /** Left-aligned content (a `TemplateRef` or `[slot=left]` content). */
41
+ left;
42
+ /** Right-aligned actions (a `TemplateRef` or `[slot=right]` content). */
43
+ right;
44
+ /** Optional filter sub-row (a `TemplateRef` or `[slot=below]` content). */
45
+ below;
46
+ /** Extra classes. */
47
+ className;
48
+ /**
49
+ * The current class map.
50
+ * @returns The UIClassMap.
51
+ */
52
+ cm() {
53
+ return getClassMap();
54
+ }
55
+ /**
56
+ * The toolbar's class list (`stack(2)` + the caller's classes).
57
+ * @returns The class string.
58
+ */
59
+ classes() {
60
+ return this.cm().cn(this.cm().stack(2), this.className);
61
+ }
62
+ /**
63
+ * The left/right row's class list (`flex between/center, gap sm, wrap`).
64
+ * @returns The class string.
65
+ */
66
+ rowClasses() {
67
+ return this.cm().flex({ justify: 'between', align: 'center', gap: 'sm', wrap: 'wrap' });
68
+ }
69
+ /**
70
+ * One left/right section's class list (`flex center, gap sm`).
71
+ * @returns The class string.
72
+ */
73
+ sectionClasses() {
74
+ return this.cm().flex({ align: 'center', gap: 'sm' });
75
+ }
76
+ /**
77
+ * The left slot's text (React's `{left}` for text).
78
+ * @returns The text, or `''` for a node slot.
79
+ */
80
+ leftText() {
81
+ return typeof this.left === 'string' || typeof this.left === 'number' ? textOf(this.left) : '';
82
+ }
83
+ /**
84
+ * The left slot's template, when the caller passed a node.
85
+ * @returns The template, or null.
86
+ */
87
+ leftTemplate() {
88
+ return templateOf(this.left);
89
+ }
90
+ /**
91
+ * The right slot's text (React's `{right}` for text).
92
+ * @returns The text, or `''` for a node slot.
93
+ */
94
+ rightText() {
95
+ return typeof this.right === 'string' || typeof this.right === 'number'
96
+ ? textOf(this.right)
97
+ : '';
98
+ }
99
+ /**
100
+ * The right slot's template, when the caller passed a node.
101
+ * @returns The template, or null.
102
+ */
103
+ rightTemplate() {
104
+ return templateOf(this.right);
105
+ }
106
+ /**
107
+ * The filter row's text (React's `{below}` for text).
108
+ * @returns The text, or `''` for a node row.
109
+ */
110
+ belowText() {
111
+ return typeof this.below === 'string' || typeof this.below === 'number'
112
+ ? textOf(this.below)
113
+ : '';
114
+ }
115
+ /**
116
+ * The filter row's template, when the caller passed a node.
117
+ * @returns The template, or null.
118
+ */
119
+ belowTemplate() {
120
+ return templateOf(this.below);
121
+ }
122
+ static ɵfac = function TableToolbar_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableToolbar)(); };
123
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableToolbar, selectors: [["div", "mol-table-toolbar", ""]], hostVars: 2, hostBindings: function TableToolbar_HostBindings(rf, ctx) { if (rf & 2) {
124
+ i0.ɵɵclassMap(ctx.classes());
125
+ } }, inputs: { left: "left", right: "right", below: "below", className: "className" }, ngContentSelectors: _c1, decls: 12, vars: 12, consts: [[3, "ngTemplateOutlet"]], template: function TableToolbar_Template(rf, ctx) { if (rf & 1) {
126
+ i0.ɵɵprojectionDef(_c0);
127
+ i0.ɵɵelementStart(0, "div")(1, "div");
128
+ i0.ɵɵprojection(2);
129
+ i0.ɵɵconditionalCreate(3, TableToolbar_Conditional_3_Template, 1, 1, "ng-container", 0);
130
+ i0.ɵɵtext(4);
131
+ i0.ɵɵelementEnd();
132
+ i0.ɵɵelementStart(5, "div");
133
+ i0.ɵɵprojection(6, 1);
134
+ i0.ɵɵconditionalCreate(7, TableToolbar_Conditional_7_Template, 1, 1, "ng-container", 0);
135
+ i0.ɵɵtext(8);
136
+ i0.ɵɵelementEnd()();
137
+ i0.ɵɵprojection(9, 2);
138
+ i0.ɵɵconditionalCreate(10, TableToolbar_Conditional_10_Template, 1, 1, "ng-container", 0);
139
+ i0.ɵɵtext(11);
140
+ } if (rf & 2) {
141
+ let tmp_2_0;
142
+ let tmp_5_0;
143
+ let tmp_7_0;
144
+ i0.ɵɵclassMap(ctx.rowClasses());
145
+ i0.ɵɵadvance();
146
+ i0.ɵɵclassMap(ctx.sectionClasses());
147
+ i0.ɵɵadvance(2);
148
+ i0.ɵɵconditional((tmp_2_0 = ctx.leftTemplate()) ? 3 : -1, tmp_2_0);
149
+ i0.ɵɵadvance();
150
+ i0.ɵɵtextInterpolate1(" ", ctx.leftText(), " ");
151
+ i0.ɵɵadvance();
152
+ i0.ɵɵclassMap(ctx.sectionClasses());
153
+ i0.ɵɵadvance(2);
154
+ i0.ɵɵconditional((tmp_5_0 = ctx.rightTemplate()) ? 7 : -1, tmp_5_0);
155
+ i0.ɵɵadvance();
156
+ i0.ɵɵtextInterpolate1(" ", ctx.rightText(), " ");
157
+ i0.ɵɵadvance(2);
158
+ i0.ɵɵconditional((tmp_7_0 = ctx.belowTemplate()) ? 10 : -1, tmp_7_0);
159
+ i0.ɵɵadvance();
160
+ i0.ɵɵtextInterpolate1(" ", ctx.belowText());
161
+ } }, dependencies: [NgTemplateOutlet], encapsulation: 2 });
162
+ }
163
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableToolbar, [{
164
+ type: Component,
165
+ args: [{
166
+ selector: 'div[mol-table-toolbar]',
167
+ standalone: true,
168
+ imports: [NgTemplateOutlet],
169
+ inputs: ['left', 'right', 'below', 'className'],
170
+ host: { '[class]': 'classes()' },
171
+ template: `<div [class]="rowClasses()">
172
+ <div [class]="sectionClasses()">
173
+ <ng-content select="[slot=left]"></ng-content>
174
+ @if (leftTemplate(); as tpl) {
175
+ <ng-container [ngTemplateOutlet]="tpl" />
176
+ }
177
+ {{ leftText() }}
178
+ </div>
179
+ <div [class]="sectionClasses()">
180
+ <ng-content select="[slot=right]"></ng-content>
181
+ @if (rightTemplate(); as tpl) {
182
+ <ng-container [ngTemplateOutlet]="tpl" />
183
+ }
184
+ {{ rightText() }}
185
+ </div>
186
+ </div>
187
+ <ng-content select="[slot=below]"></ng-content>
188
+ @if (belowTemplate(); as tpl) {
189
+ <ng-container [ngTemplateOutlet]="tpl" />
190
+ }
191
+ {{ belowText() }}`,
192
+ }]
193
+ }], null, null); })();
194
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableToolbar, { className: "TableToolbar", filePath: "table-toolbar.component.ts", lineNumber: 54 }); })();
195
+ //# sourceMappingURL=table-toolbar.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-toolbar.component.js","sourceRoot":"","sources":["../src/table-toolbar.component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAClD,OAAO,EAAE,SAAS,EAAoB,MAAM,eAAe,CAAA;AAG3D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;;;;;IAuBxC,2BAAyC;;IAA3B,sCAAwB;;;IAOtC,2BAAyC;;IAA3B,sCAAwB;;;IAO1C,2BAAyC;;IAA3B,sCAAwB;;AAnC5C;;;;;;;;;;GAUG;AA6BH,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aACrB;;kFACY,YAAY"}
@@ -0,0 +1,100 @@
1
+ /**
2
+ * Types of `@molecule/app-data-table-ui-angular` — the Angular counterpart of
3
+ * `@molecule/app-data-table-ui-react`, same props and DOM.
4
+ *
5
+ * Node props (`title`, `titleAction`, `emptyMessage`, `left`, `right`, `below`,
6
+ * `actions`) are projected content in Angular (an input cannot carry a node):
7
+ * pass them as `[slot=<name>]` children, or as an input holding a `TemplateRef`
8
+ * or plain text.
9
+ *
10
+ * @module
11
+ */
12
+ import type { TemplateRef } from '@angular/core';
13
+ /**
14
+ * Column definition for a {@link DataTableCard} — specifies key, header, and
15
+ * cell renderer.
16
+ */
17
+ export interface DataTableColumn<Row> {
18
+ /** Stable key for the column. */
19
+ key: string;
20
+ /** Header label: text, or a `TemplateRef` (React's node header). */
21
+ header: unknown;
22
+ /**
23
+ * Render the cell for this column from a row — a template whose context
24
+ * carries the row as `$implicit` and `a0`.
25
+ */
26
+ cell: TemplateRef<{
27
+ $implicit: Row;
28
+ a0: Row;
29
+ }>;
30
+ /** Optional extra `<th>` / `<td>` classes (e.g. `cm.textCenter`). */
31
+ cellClassName?: string;
32
+ /** Optional extra classes on this column's `<th>`. */
33
+ headerClassName?: string;
34
+ }
35
+ /** Props for {@link DataTableCard} — the same props the React package accepts. */
36
+ export interface DataTableCardProps<Row> {
37
+ /** Optional title above the table chrome (text, a `TemplateRef`, or `[slot=title]` content). */
38
+ title?: unknown;
39
+ /** Right-aligned action in the title row (a `TemplateRef` or `[slot=titleAction]` content). */
40
+ titleAction?: unknown;
41
+ /** Column definitions. */
42
+ columns: ReadonlyArray<DataTableColumn<Row>>;
43
+ /** Rows to render. Falls back to `emptyMessage` if empty and not loading. */
44
+ rows: ReadonlyArray<Row>;
45
+ /** Pull a stable key from a row. */
46
+ rowKey: (row: Row) => string;
47
+ /** When true, renders 5 skeleton rows instead of `rows`. */
48
+ loading?: boolean;
49
+ /** Optional click handler per row. */
50
+ onRowClick?: (row: Row) => void;
51
+ /** Empty-state content (text, a `TemplateRef`, or `[slot=emptyMessage]` content). */
52
+ emptyMessage?: unknown;
53
+ /** Extra classes on the outer card. */
54
+ className?: string;
55
+ /** `data-mol-id` for AI-agent selectors. */
56
+ dataMolId?: string;
57
+ }
58
+ /** Props for {@link RowWithActions} — the same props the React package accepts. */
59
+ export interface RowWithActionsProps {
60
+ /** Row cells, projected as the element's default content. */
61
+ children?: unknown;
62
+ /** Action buttons/menu for the trailing cell (a `TemplateRef` or `[slot=actions]` content). */
63
+ actions?: unknown;
64
+ /** Called when the row body is clicked (not the actions cell), with the click event. */
65
+ onClick?: (event: MouseEvent) => void;
66
+ /** Whether the row should render in a "selected" visual state. */
67
+ selected?: boolean;
68
+ /** Extra classes on the `<tr>`. */
69
+ className?: string;
70
+ }
71
+ /** Props for {@link TableEmpty} — the same props the React package accepts. */
72
+ export interface TableEmptyProps {
73
+ /** Number of columns to span (for colspan on the td). */
74
+ colSpan: number;
75
+ /** Empty-state content, projected as the element's default content. */
76
+ children?: unknown;
77
+ /** Extra classes on the cell. */
78
+ className?: string;
79
+ }
80
+ /** Props for {@link TableFooter} — the same props the React package accepts. */
81
+ export interface TableFooterProps {
82
+ /** Left slot — typically a summary line (a `TemplateRef` or `[slot=left]` content). */
83
+ left?: unknown;
84
+ /** Right slot — typically a pagination bar (a `TemplateRef` or `[slot=right]` content). */
85
+ right?: unknown;
86
+ /** Extra classes. */
87
+ className?: string;
88
+ }
89
+ /** Props for {@link TableToolbar} — the same props the React package accepts. */
90
+ export interface TableToolbarProps {
91
+ /** Left-aligned content (a `TemplateRef` or `[slot=left]` content). */
92
+ left?: unknown;
93
+ /** Right-aligned actions (a `TemplateRef` or `[slot=right]` content). */
94
+ right?: unknown;
95
+ /** Optional filter sub-row (a `TemplateRef` or `[slot=below]` content). */
96
+ below?: unknown;
97
+ /** Extra classes. */
98
+ className?: string;
99
+ }
100
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":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AA;IAClB,+FAA+F;IAC/F,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,wFAAwF;IACxF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACrC,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,+EAA+E;AAC/E,MAAM,WAAW,eAAe;IAC9B,yDAAyD;IACzD,OAAO,EAAE,MAAM,CAAA;IACf,uEAAuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,gFAAgF;AAChF,MAAM,WAAW,gBAAgB;IAC/B,uFAAuF;IACvF,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,2FAA2F;IAC3F,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iFAAiF;AACjF,MAAM,WAAW,iBAAiB;IAChC,uEAAuE;IACvE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,2EAA2E;IAC3E,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
package/dist/types.js ADDED
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Types of `@molecule/app-data-table-ui-angular` — the Angular counterpart of
3
+ * `@molecule/app-data-table-ui-react`, same props and DOM.
4
+ *
5
+ * Node props (`title`, `titleAction`, `emptyMessage`, `left`, `right`, `below`,
6
+ * `actions`) are projected content in Angular (an input cannot carry a node):
7
+ * pass them as `[slot=<name>]` children, or as an input holding a `TemplateRef`
8
+ * or plain text.
9
+ *
10
+ * @module
11
+ */
12
+ export {};
13
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"}