@mj-biz-apps/orders-ng 5.52.0 → 5.53.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 (64) hide show
  1. package/dist/lib/pages/payments/account-credit.page.d.ts +21 -0
  2. package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -1
  3. package/dist/lib/pages/payments/account-credit.page.js +145 -82
  4. package/dist/lib/pages/payments/account-credit.page.js.map +1 -1
  5. package/dist/lib/pages/receivables/billing-issue.d.ts +14 -0
  6. package/dist/lib/pages/receivables/billing-issue.d.ts.map +1 -0
  7. package/dist/lib/pages/receivables/billing-issue.js +17 -0
  8. package/dist/lib/pages/receivables/billing-issue.js.map +1 -0
  9. package/dist/lib/pages/receivables/billing.page.d.ts +135 -19
  10. package/dist/lib/pages/receivables/billing.page.d.ts.map +1 -1
  11. package/dist/lib/pages/receivables/billing.page.js +748 -163
  12. package/dist/lib/pages/receivables/billing.page.js.map +1 -1
  13. package/dist/lib/pages/receivables/customer-ar.page.d.ts +12 -0
  14. package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -1
  15. package/dist/lib/pages/receivables/customer-ar.page.js +40 -14
  16. package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -1
  17. package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts +157 -26
  18. package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts.map +1 -1
  19. package/dist/lib/pages/receivables/external-invoicing-queue.page.js +1278 -316
  20. package/dist/lib/pages/receivables/external-invoicing-queue.page.js.map +1 -1
  21. package/dist/lib/pages/receivables/overdue-page.model.d.ts +55 -0
  22. package/dist/lib/pages/receivables/overdue-page.model.d.ts.map +1 -0
  23. package/dist/lib/pages/receivables/overdue-page.model.js +112 -0
  24. package/dist/lib/pages/receivables/overdue-page.model.js.map +1 -0
  25. package/dist/lib/pages/receivables/overdue.page.d.ts +104 -16
  26. package/dist/lib/pages/receivables/overdue.page.d.ts.map +1 -1
  27. package/dist/lib/pages/receivables/overdue.page.js +476 -125
  28. package/dist/lib/pages/receivables/overdue.page.js.map +1 -1
  29. package/dist/lib/pages/receivables/progress.page.d.ts +69 -8
  30. package/dist/lib/pages/receivables/progress.page.d.ts.map +1 -1
  31. package/dist/lib/pages/receivables/progress.page.js +574 -248
  32. package/dist/lib/pages/receivables/progress.page.js.map +1 -1
  33. package/dist/lib/pages/receivables/worklist-view.model.d.ts +229 -0
  34. package/dist/lib/pages/receivables/worklist-view.model.d.ts.map +1 -0
  35. package/dist/lib/pages/receivables/worklist-view.model.js +402 -0
  36. package/dist/lib/pages/receivables/worklist-view.model.js.map +1 -0
  37. package/dist/lib/panels/aging-bar.component.d.ts +7 -1
  38. package/dist/lib/panels/aging-bar.component.d.ts.map +1 -1
  39. package/dist/lib/panels/aging-bar.component.js +89 -33
  40. package/dist/lib/panels/aging-bar.component.js.map +1 -1
  41. package/dist/lib/panels/side-panel.component.d.ts +41 -0
  42. package/dist/lib/panels/side-panel.component.d.ts.map +1 -0
  43. package/dist/lib/panels/side-panel.component.js +126 -0
  44. package/dist/lib/panels/side-panel.component.js.map +1 -0
  45. package/dist/lib/panels/worklist-bar.component.d.ts +81 -0
  46. package/dist/lib/panels/worklist-bar.component.d.ts.map +1 -0
  47. package/dist/lib/panels/worklist-bar.component.js +291 -0
  48. package/dist/lib/panels/worklist-bar.component.js.map +1 -0
  49. package/dist/lib/panels/worklist-table.component.d.ts +47 -5
  50. package/dist/lib/panels/worklist-table.component.d.ts.map +1 -1
  51. package/dist/lib/panels/worklist-table.component.js +283 -79
  52. package/dist/lib/panels/worklist-table.component.js.map +1 -1
  53. package/dist/lib/sections/orders-sections.component.d.ts.map +1 -1
  54. package/dist/lib/sections/orders-sections.component.js +13 -5
  55. package/dist/lib/sections/orders-sections.component.js.map +1 -1
  56. package/dist/lib/sections/section-nav.model.js +1 -1
  57. package/dist/lib/sections/section-nav.model.js.map +1 -1
  58. package/dist/lib/sections/section-shell.component.js +2 -2
  59. package/dist/lib/styles/orders-kit.css +10 -0
  60. package/dist/public-api.d.ts +2 -0
  61. package/dist/public-api.d.ts.map +1 -1
  62. package/dist/public-api.js +2 -0
  63. package/dist/public-api.js.map +1 -1
  64. package/package.json +2 -2
@@ -0,0 +1,291 @@
1
+ /**
2
+ * @fileoverview `mjo-worklist-bar` — the filter row above a Receivables worklist.
3
+ *
4
+ * Company, the page's own controls (a date window, usually), search, how many rows are listed,
5
+ * Refresh and Export, in that order on every worklist, so a person who has learned one screen has
6
+ * learned them all. The bar owns no rows: the host passes the choices and hears each change, and
7
+ * hands over a function that builds the export when it is asked for.
8
+ *
9
+ * The export is the rows as listed: what the filters hide is left out, and the order is the order
10
+ * on screen.
11
+ *
12
+ * ## Example
13
+ *
14
+ * ```html
15
+ * <mjo-worklist-bar
16
+ * [Companies]="Companies"
17
+ * [CompanyPicks]="CompanyPicks"
18
+ * [Search]="Search"
19
+ * SearchPlaceholder="Search customer or order number"
20
+ * [Summary]="Summary"
21
+ * [Loading]="Loading"
22
+ * [BuildExport]="BuildExport"
23
+ * [CanExport]="Rows.length > 0"
24
+ * (CompanyPicksChange)="OnCompanies($event)"
25
+ * (SearchChange)="OnSearch($event)"
26
+ * (RefreshRequested)="Refresh()">
27
+ * <select ...>…</select>
28
+ * </mjo-worklist-bar>
29
+ * ```
30
+ *
31
+ * @module @mj-biz-apps/orders-ng
32
+ */
33
+ import { ChangeDetectorRef, Component, EventEmitter, Input, Output, inject } from '@angular/core';
34
+ import { CommonModule } from '@angular/common';
35
+ import { CdkMenu, CdkMenuItem, CdkMenuTrigger } from '@angular/cdk/menu';
36
+ import { ExportService } from '@memberjunction/ng-export-service';
37
+ import { MJButtonDirective, MJFilterChipComponent } from '@memberjunction/ng-ui-components';
38
+ import { MJOMultiSelectComponent } from './multi-select.component.js';
39
+ import * as i0 from "@angular/core";
40
+ const _c0 = ["*"];
41
+ function MJOWorklistBarComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
42
+ const _r1 = i0.ɵɵgetCurrentView();
43
+ i0.ɵɵelementStart(0, "mjo-multi-select", 10);
44
+ i0.ɵɵlistener("SelectedChange", function MJOWorklistBarComponent_Conditional_1_Template_mjo_multi_select_SelectedChange_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.CompanyPicksChange.emit($event)); });
45
+ i0.ɵɵelementEnd();
46
+ } if (rf & 2) {
47
+ const ctx_r1 = i0.ɵɵnextContext();
48
+ i0.ɵɵproperty("Options", ctx_r1.Companies)("Selected", ctx_r1.CompanyPicks);
49
+ } }
50
+ function MJOWorklistBarComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
51
+ const _r3 = i0.ɵɵgetCurrentView();
52
+ i0.ɵɵelementStart(0, "div", 4);
53
+ i0.ɵɵelement(1, "i", 11);
54
+ i0.ɵɵelementStart(2, "input", 12, 0);
55
+ i0.ɵɵlistener("input", function MJOWorklistBarComponent_Conditional_3_Template_input_input_2_listener() { i0.ɵɵrestoreView(_r3); const search_r4 = i0.ɵɵreference(3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SearchChange.emit(search_r4.value)); });
56
+ i0.ɵɵelementEnd()();
57
+ } if (rf & 2) {
58
+ const ctx_r1 = i0.ɵɵnextContext();
59
+ i0.ɵɵadvance(2);
60
+ i0.ɵɵproperty("value", ctx_r1.Search)("placeholder", ctx_r1.SearchPlaceholder);
61
+ i0.ɵɵattribute("aria-label", ctx_r1.SearchPlaceholder);
62
+ } }
63
+ function MJOWorklistBarComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
64
+ const _r5 = i0.ɵɵgetCurrentView();
65
+ i0.ɵɵelementStart(0, "mj-filter-chip", 13);
66
+ i0.ɵɵlistener("Clicked", function MJOWorklistBarComponent_Conditional_4_Template_mj_filter_chip_Clicked_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ActiveFilterCleared.emit()); });
67
+ i0.ɵɵelementEnd();
68
+ } if (rf & 2) {
69
+ const ctx_r1 = i0.ɵɵnextContext();
70
+ i0.ɵɵproperty("Label", ctx_r1.ActiveFilter + " only")("Active", true);
71
+ } }
72
+ function MJOWorklistBarComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
73
+ i0.ɵɵelementStart(0, "span", 7);
74
+ i0.ɵɵtext(1);
75
+ i0.ɵɵelementEnd();
76
+ } if (rf & 2) {
77
+ const ctx_r1 = i0.ɵɵnextContext();
78
+ i0.ɵɵadvance();
79
+ i0.ɵɵtextInterpolate1("\u00B7 ", ctx_r1.ExportError);
80
+ } }
81
+ function MJOWorklistBarComponent_Conditional_11_ng_template_4_Template(rf, ctx) { if (rf & 1) {
82
+ const _r6 = i0.ɵɵgetCurrentView();
83
+ i0.ɵɵelementStart(0, "div", 17)(1, "button", 18);
84
+ i0.ɵɵlistener("cdkMenuItemTriggered", function MJOWorklistBarComponent_Conditional_11_ng_template_4_Template_button_cdkMenuItemTriggered_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.Export("excel")); });
85
+ i0.ɵɵelement(2, "i", 19);
86
+ i0.ɵɵtext(3, " Excel (.xlsx) ");
87
+ i0.ɵɵelementEnd();
88
+ i0.ɵɵelementStart(4, "button", 18);
89
+ i0.ɵɵlistener("cdkMenuItemTriggered", function MJOWorklistBarComponent_Conditional_11_ng_template_4_Template_button_cdkMenuItemTriggered_4_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.Export("csv")); });
90
+ i0.ɵɵelement(5, "i", 20);
91
+ i0.ɵɵtext(6, " CSV ");
92
+ i0.ɵɵelementEnd()();
93
+ } }
94
+ function MJOWorklistBarComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
95
+ i0.ɵɵelementStart(0, "button", 14);
96
+ i0.ɵɵelement(1, "i", 15);
97
+ i0.ɵɵtext(2);
98
+ i0.ɵɵelement(3, "i", 16);
99
+ i0.ɵɵelementEnd();
100
+ i0.ɵɵtemplate(4, MJOWorklistBarComponent_Conditional_11_ng_template_4_Template, 7, 0, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
101
+ } if (rf & 2) {
102
+ const exportMenu_r7 = i0.ɵɵreference(5);
103
+ const ctx_r1 = i0.ɵɵnextContext();
104
+ i0.ɵɵproperty("cdkMenuTriggerFor", exportMenu_r7)("disabled", !ctx_r1.CanExport || ctx_r1.Exporting);
105
+ i0.ɵɵadvance(2);
106
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.Exporting ? "Exporting\u2026" : "Export", " ");
107
+ } }
108
+ export class MJOWorklistBarComponent {
109
+ cdr = inject(ChangeDetectorRef);
110
+ exporter = inject(ExportService);
111
+ /** Whether the page filters by company. The filter is then always shown, reading "All" when nothing is chosen, even with one company or none to offer. */
112
+ ShowCompanies = true;
113
+ /** The companies offered: the ones with rows on the page. */
114
+ Companies = [];
115
+ /** The chosen companies. Owned by the host. */
116
+ CompanyPicks = [];
117
+ Searchable = true;
118
+ /** Current search text, controlled by the host. */
119
+ Search = '';
120
+ SearchPlaceholder = 'Search…';
121
+ /** The quick filter that is on, by name ("Past due"), shown as a chip that clears it. Null when none is. */
122
+ ActiveFilter = null;
123
+ ActiveFilterCleared = new EventEmitter();
124
+ /** How many rows are listed, in words: "12 of 40 installments shown". */
125
+ Summary = '';
126
+ /** A reload is running: the Refresh button spins and waits. */
127
+ Loading = false;
128
+ /** Builds the export of the rows listed. Omit to offer no export. */
129
+ BuildExport = null;
130
+ /** Whether there is anything to export. */
131
+ CanExport = true;
132
+ CompanyPicksChange = new EventEmitter();
133
+ SearchChange = new EventEmitter();
134
+ RefreshRequested = new EventEmitter();
135
+ Exporting = false;
136
+ /** Why the last export failed, shown beside the row count until the next one. */
137
+ ExportError = null;
138
+ async Export(format) {
139
+ if (!this.BuildExport || !this.CanExport || this.Exporting)
140
+ return;
141
+ this.Exporting = true;
142
+ this.ExportError = null;
143
+ this.cdr.detectChanges();
144
+ try {
145
+ const file = this.BuildExport(format);
146
+ // The lower-case name: it is the one every ng-export-service since 6.1 exposes (6.2 adds a capitalised alias).
147
+ const outcome = await this.exporter.exportAndDownload(file.Rows, { format, fileName: file.FileName, columns: file.Columns, includeHeaders: true });
148
+ if (!outcome.success)
149
+ this.ExportError = `The export failed: ${outcome.error ?? 'unknown error'}`;
150
+ }
151
+ catch (err) {
152
+ this.ExportError = `The export failed: ${err instanceof Error ? err.message : String(err)}`;
153
+ }
154
+ finally {
155
+ this.Exporting = false;
156
+ this.cdr.detectChanges();
157
+ }
158
+ }
159
+ static ɵfac = function MJOWorklistBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOWorklistBarComponent)(); };
160
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOWorklistBarComponent, selectors: [["mjo-worklist-bar"]], inputs: { ShowCompanies: "ShowCompanies", Companies: "Companies", CompanyPicks: "CompanyPicks", Searchable: "Searchable", Search: "Search", SearchPlaceholder: "SearchPlaceholder", ActiveFilter: "ActiveFilter", Summary: "Summary", Loading: "Loading", BuildExport: "BuildExport", CanExport: "CanExport" }, outputs: { ActiveFilterCleared: "ActiveFilterCleared", CompanyPicksChange: "CompanyPicksChange", SearchChange: "SearchChange", RefreshRequested: "RefreshRequested" }, ngContentSelectors: _c0, decls: 12, vars: 9, consts: [["search", ""], ["exportMenu", ""], [1, "mjo-wb"], ["Label", "Company", "Icon", "fa-solid fa-building", 3, "Options", "Selected"], [1, "mjo-search", "mjo-wb__search"], ["Icon", "fa-solid fa-xmark", 3, "Label", "Active"], ["role", "status", 1, "small", "muted", "mjo-wb__summary"], [1, "mjo-wb__error"], ["type", "button", "mjButton", "", "variant", "outline", "size", "sm", "title", "Reload this list", 1, "mjo-wb__button", 3, "click", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-arrows-rotate"], ["Label", "Company", "Icon", "fa-solid fa-building", 3, "SelectedChange", "Options", "Selected"], ["aria-hidden", "true", 1, "fa-solid", "fa-magnifying-glass"], [3, "input", "value", "placeholder"], ["Icon", "fa-solid fa-xmark", 3, "Clicked", "Label", "Active"], ["type", "button", "mjButton", "", "variant", "outline", "size", "sm", "title", "Export the rows listed", 1, "mjo-wb__button", 3, "cdkMenuTriggerFor", "disabled"], ["aria-hidden", "true", 1, "fa-solid", "fa-file-export"], ["aria-hidden", "true", 1, "fa-solid", "fa-chevron-down", "mjo-wb__caret"], ["cdkMenu", "", "aria-label", "Export", 1, "mjo-wb__menu"], ["type", "button", "cdkMenuItem", "", 1, "mjo-wb__menu-item", 3, "cdkMenuItemTriggered"], ["aria-hidden", "true", 1, "fa-solid", "fa-file-excel"], ["aria-hidden", "true", 1, "fa-solid", "fa-file-csv"]], template: function MJOWorklistBarComponent_Template(rf, ctx) { if (rf & 1) {
161
+ i0.ɵɵprojectionDef();
162
+ i0.ɵɵelementStart(0, "div", 2);
163
+ i0.ɵɵconditionalCreate(1, MJOWorklistBarComponent_Conditional_1_Template, 1, 2, "mjo-multi-select", 3);
164
+ i0.ɵɵprojection(2);
165
+ i0.ɵɵconditionalCreate(3, MJOWorklistBarComponent_Conditional_3_Template, 4, 3, "div", 4);
166
+ i0.ɵɵconditionalCreate(4, MJOWorklistBarComponent_Conditional_4_Template, 1, 2, "mj-filter-chip", 5);
167
+ i0.ɵɵelementStart(5, "span", 6);
168
+ i0.ɵɵtext(6);
169
+ i0.ɵɵconditionalCreate(7, MJOWorklistBarComponent_Conditional_7_Template, 2, 1, "span", 7);
170
+ i0.ɵɵelementEnd();
171
+ i0.ɵɵelementStart(8, "button", 8);
172
+ i0.ɵɵlistener("click", function MJOWorklistBarComponent_Template_button_click_8_listener() { return ctx.RefreshRequested.emit(); });
173
+ i0.ɵɵelement(9, "i", 9);
174
+ i0.ɵɵtext(10, " Refresh ");
175
+ i0.ɵɵelementEnd();
176
+ i0.ɵɵconditionalCreate(11, MJOWorklistBarComponent_Conditional_11_Template, 6, 3);
177
+ i0.ɵɵelementEnd();
178
+ } if (rf & 2) {
179
+ i0.ɵɵadvance();
180
+ i0.ɵɵconditional(ctx.ShowCompanies ? 1 : -1);
181
+ i0.ɵɵadvance(2);
182
+ i0.ɵɵconditional(ctx.Searchable ? 3 : -1);
183
+ i0.ɵɵadvance();
184
+ i0.ɵɵconditional(ctx.ActiveFilter ? 4 : -1);
185
+ i0.ɵɵadvance(2);
186
+ i0.ɵɵtextInterpolate1(" ", ctx.Summary, " ");
187
+ i0.ɵɵadvance();
188
+ i0.ɵɵconditional(ctx.ExportError ? 7 : -1);
189
+ i0.ɵɵadvance();
190
+ i0.ɵɵproperty("disabled", ctx.Loading);
191
+ i0.ɵɵadvance();
192
+ i0.ɵɵclassProp("fa-spin", ctx.Loading);
193
+ i0.ɵɵadvance(2);
194
+ i0.ɵɵconditional(ctx.BuildExport ? 11 : -1);
195
+ } }, dependencies: [CommonModule, CdkMenu, CdkMenuItem, CdkMenuTrigger, MJButtonDirective, MJFilterChipComponent, MJOMultiSelectComponent], styles: ["[_nghost-%COMP%] { display: block; }\n .mjo-wb[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n flex-wrap: wrap;\n margin-bottom: var(--mj-space-4);\n }\n .mjo-wb__search[_ngcontent-%COMP%] { min-width: 280px; }\n .mjo-wb__summary[_ngcontent-%COMP%] { margin-left: auto; white-space: nowrap; }\n .mjo-wb__error[_ngcontent-%COMP%] { color: var(--mj-status-error-text); white-space: normal; }\n .mjo-wb__button[_ngcontent-%COMP%] { flex: none; }\n .mjo-wb__caret[_ngcontent-%COMP%] { font-size: 10px; margin-left: 2px; }\n .mjo-wb__menu[_ngcontent-%COMP%] {\n min-width: 180px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n box-shadow: var(--mj-shadow-md, 0 8px 24px rgba(0, 0, 0, 0.12));\n padding: var(--mj-space-1, 4px);\n }\n .mjo-wb__menu-item[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n width: 100%;\n font: inherit;\n font-size: 13px;\n text-align: left;\n padding: 8px 10px;\n border: none;\n border-radius: var(--mj-radius-md);\n background: none;\n color: inherit;\n cursor: pointer;\n }\n .mjo-wb__menu-item[_ngcontent-%COMP%]:hover, .mjo-wb__menu-item[_ngcontent-%COMP%]:focus-visible { background: var(--mj-bg-surface-sunken); outline: none; }\n .mjo-wb__menu-item[_ngcontent-%COMP%] i[_ngcontent-%COMP%] { color: var(--mj-text-muted); width: 16px; }\n @media (max-width: 1000px) {\n .mjo-wb__search[_ngcontent-%COMP%] { min-width: 0; flex: 1 1 100%; }\n .mjo-wb__summary[_ngcontent-%COMP%] { margin-left: 0; }\n }"] });
196
+ }
197
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOWorklistBarComponent, [{
198
+ type: Component,
199
+ args: [{ selector: 'mjo-worklist-bar', standalone: true, imports: [CommonModule, CdkMenu, CdkMenuItem, CdkMenuTrigger, MJButtonDirective, MJFilterChipComponent, MJOMultiSelectComponent], template: `
200
+ <div class="mjo-wb">
201
+ @if (ShowCompanies) {
202
+ <mjo-multi-select
203
+ Label="Company"
204
+ Icon="fa-solid fa-building"
205
+ [Options]="Companies"
206
+ [Selected]="CompanyPicks"
207
+ (SelectedChange)="CompanyPicksChange.emit($event)" />
208
+ }
209
+ <ng-content />
210
+ @if (Searchable) {
211
+ <div class="mjo-search mjo-wb__search">
212
+ <i class="fa-solid fa-magnifying-glass" aria-hidden="true"></i>
213
+ <input
214
+ #search
215
+ [value]="Search"
216
+ (input)="SearchChange.emit(search.value)"
217
+ [placeholder]="SearchPlaceholder"
218
+ [attr.aria-label]="SearchPlaceholder" />
219
+ </div>
220
+ }
221
+ @if (ActiveFilter) {
222
+ <mj-filter-chip [Label]="ActiveFilter + ' only'" Icon="fa-solid fa-xmark" [Active]="true" (Clicked)="ActiveFilterCleared.emit()" />
223
+ }
224
+ <span class="small muted mjo-wb__summary" role="status">
225
+ {{ Summary }}
226
+ @if (ExportError) {
227
+ <span class="mjo-wb__error">· {{ ExportError }}</span>
228
+ }
229
+ </span>
230
+ <button type="button" mjButton variant="outline" size="sm" class="mjo-wb__button" [disabled]="Loading" (click)="RefreshRequested.emit()" title="Reload this list">
231
+ <i class="fa-solid fa-arrows-rotate" [class.fa-spin]="Loading" aria-hidden="true"></i> Refresh
232
+ </button>
233
+ @if (BuildExport) {
234
+ <button
235
+ type="button"
236
+ mjButton
237
+ variant="outline"
238
+ size="sm"
239
+ class="mjo-wb__button"
240
+ [cdkMenuTriggerFor]="exportMenu"
241
+ [disabled]="!CanExport || Exporting"
242
+ title="Export the rows listed">
243
+ <i class="fa-solid fa-file-export" aria-hidden="true"></i> {{ Exporting ? 'Exporting…' : 'Export' }}
244
+ <i class="fa-solid fa-chevron-down mjo-wb__caret" aria-hidden="true"></i>
245
+ </button>
246
+ <ng-template #exportMenu>
247
+ <div class="mjo-wb__menu" cdkMenu aria-label="Export">
248
+ <button type="button" class="mjo-wb__menu-item" cdkMenuItem (cdkMenuItemTriggered)="Export('excel')">
249
+ <i class="fa-solid fa-file-excel" aria-hidden="true"></i> Excel (.xlsx)
250
+ </button>
251
+ <button type="button" class="mjo-wb__menu-item" cdkMenuItem (cdkMenuItemTriggered)="Export('csv')">
252
+ <i class="fa-solid fa-file-csv" aria-hidden="true"></i> CSV
253
+ </button>
254
+ </div>
255
+ </ng-template>
256
+ }
257
+ </div>
258
+ `, styles: ["\n :host { display: block; }\n .mjo-wb {\n display: flex;\n align-items: center;\n gap: var(--mj-space-3);\n flex-wrap: wrap;\n margin-bottom: var(--mj-space-4);\n }\n .mjo-wb__search { min-width: 280px; }\n .mjo-wb__summary { margin-left: auto; white-space: nowrap; }\n .mjo-wb__error { color: var(--mj-status-error-text); white-space: normal; }\n .mjo-wb__button { flex: none; }\n .mjo-wb__caret { font-size: 10px; margin-left: 2px; }\n .mjo-wb__menu {\n min-width: 180px;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-md);\n box-shadow: var(--mj-shadow-md, 0 8px 24px rgba(0, 0, 0, 0.12));\n padding: var(--mj-space-1, 4px);\n }\n .mjo-wb__menu-item {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n width: 100%;\n font: inherit;\n font-size: 13px;\n text-align: left;\n padding: 8px 10px;\n border: none;\n border-radius: var(--mj-radius-md);\n background: none;\n color: inherit;\n cursor: pointer;\n }\n .mjo-wb__menu-item:hover, .mjo-wb__menu-item:focus-visible { background: var(--mj-bg-surface-sunken); outline: none; }\n .mjo-wb__menu-item i { color: var(--mj-text-muted); width: 16px; }\n @media (max-width: 1000px) {\n .mjo-wb__search { min-width: 0; flex: 1 1 100%; }\n .mjo-wb__summary { margin-left: 0; }\n }\n "] }]
259
+ }], null, { ShowCompanies: [{
260
+ type: Input
261
+ }], Companies: [{
262
+ type: Input
263
+ }], CompanyPicks: [{
264
+ type: Input
265
+ }], Searchable: [{
266
+ type: Input
267
+ }], Search: [{
268
+ type: Input
269
+ }], SearchPlaceholder: [{
270
+ type: Input
271
+ }], ActiveFilter: [{
272
+ type: Input
273
+ }], ActiveFilterCleared: [{
274
+ type: Output
275
+ }], Summary: [{
276
+ type: Input
277
+ }], Loading: [{
278
+ type: Input
279
+ }], BuildExport: [{
280
+ type: Input
281
+ }], CanExport: [{
282
+ type: Input
283
+ }], CompanyPicksChange: [{
284
+ type: Output
285
+ }], SearchChange: [{
286
+ type: Output
287
+ }], RefreshRequested: [{
288
+ type: Output
289
+ }] }); })();
290
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOWorklistBarComponent, { className: "MJOWorklistBarComponent", filePath: "lib/panels/worklist-bar.component.ts", lineNumber: 158 }); })();
291
+ //# sourceMappingURL=worklist-bar.component.js.map
@@ -0,0 +1 @@
1
+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AElE,eAuBC;YAvBD,2CAuBC;4BA1DC,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB;;iFA4GtH,uBAAuB;cA/GnC,SAAS;2BACI,kBAAkB,cAChB,IAAI,WACP,CAAC,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB,CAAC,YACtH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2DT;;kBAqDA,KAAK;;kBAEL,KAAK;;kBAEL,KAAK;;kBAEL,KAAK;;kBAEL,KAAK;;kBACL,KAAK;;kBAGL,KAAK;;kBACL,MAAM;;kBAGN,KAAK;;kBAEL,KAAK;;kBAGL,KAAK;;kBAEL,KAAK;;kBAEL,MAAM;;kBACN,MAAM;;kBACN,MAAM;;kFAhCE,uBAAuB"}
@@ -1,4 +1,4 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnChanges } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /** How a column's value is rendered. */
4
4
  export type MJOColumnKind =
@@ -13,7 +13,9 @@ export type MJOColumnKind =
13
13
  /** A `mjo-chip`; `ChipClass` picks the variant. */
14
14
  | 'chip'
15
15
  /** Monospace — document numbers and references. */
16
- | 'mono';
16
+ | 'mono'
17
+ /** Monospace, and a link: clicking it raises `LinkClicked` instead of selecting the row. */
18
+ | 'link';
17
19
  /**
18
20
  * A column definition.
19
21
  *
@@ -32,6 +34,8 @@ export interface MJOColumn<TRow = any> {
32
34
  Width?: string;
33
35
  /** Whether the header offers sorting. Index-limited in practice, so opt-in. */
34
36
  Sortable?: boolean;
37
+ /** What the column sorts on, when that is not the raw property (a computed or looked-up value). */
38
+ SortValue?: (row: TRow) => string | number | null | undefined;
35
39
  /** Muted second line under the value. */
36
40
  Secondary?: (row: TRow) => string | null;
37
41
  /** Chip variant class for `Kind: 'chip'`. */
@@ -40,6 +44,8 @@ export interface MJOColumn<TRow = any> {
40
44
  HideBelow?: 560 | 760 | 1000;
41
45
  /** Render the value differently from the raw property. */
42
46
  Format?: (row: TRow) => string;
47
+ /** For `Kind: 'link'`: the tooltip on the link, saying what it opens. */
48
+ LinkHint?: string;
43
49
  }
44
50
  /** A quick-filter chip above the table. */
45
51
  export interface MJOPreset {
@@ -92,10 +98,10 @@ export type MJORow = any;
92
98
  * (RowClicked)="openPreview($event)" />
93
99
  * ```
94
100
  */
95
- export declare class MJOWorklistTableComponent {
101
+ export declare class MJOWorklistTableComponent implements OnChanges {
96
102
  /** Column definitions, left to right. */
97
103
  Columns: MJOColumn[];
98
- /** The rows to render. Filtering and sorting happen in the query, not here. */
104
+ /** The rows to render, already filtered and sorted by the host: this table orders nothing itself. */
99
105
  Rows: MJORow[];
100
106
  /** Quick-filter chips. */
101
107
  Presets: MJOPreset[];
@@ -129,15 +135,49 @@ export declare class MJOWorklistTableComponent {
129
135
  EmptyIcon: string;
130
136
  /** Muted line under the table — where a stated caveat belongs. */
131
137
  FootNote: string | null;
138
+ /** A read is running. With no rows yet, placeholder rows are shown in place of the empty state. */
139
+ Loading: boolean;
140
+ /**
141
+ * A totals row at the foot, keyed by column: `{ CustomerName: '12 installments', Amount: '$4,200.00' }`.
142
+ * The host works the figures out, since it knows which rows they cover. Omit for no totals row.
143
+ */
144
+ Totals: Record<string, string> | null;
145
+ /**
146
+ * The tallest the list may grow before it scrolls inside its own frame, as a CSS length. With one
147
+ * set, the column headings and the totals stay in view while the rows scroll. Omit to let the list
148
+ * grow with its rows.
149
+ */
150
+ MaxHeight: string | null;
132
151
  PresetChanged: EventEmitter<string>;
133
152
  SearchChanged: EventEmitter<string>;
134
153
  SortChanged: EventEmitter<string>;
135
154
  RowClicked: EventEmitter<any>;
155
+ /** A `Kind: 'link'` cell was clicked: the row, and which column. The row is not selected by it. */
156
+ LinkClicked: EventEmitter<{
157
+ Row: MJORow;
158
+ Key: string;
159
+ }>;
160
+ /** Placeholder rows for the first load. */
161
+ protected readonly skeleton: number[];
136
162
  /** The full set of ticked keys after a change — never a delta, so the host cannot drift from the table. */
137
163
  SelectionChanged: EventEmitter<string[]>;
138
164
  protected trackRow(index: number, row: MJORow): unknown;
139
165
  protected isSelected(row: MJORow): boolean;
140
166
  protected onRowClick(row: MJORow): void;
167
+ /** Whether the open row is among the rows listed. Worked out when the inputs change, not once per row per pass. */
168
+ private openRowListed;
169
+ ngOnChanges(): void;
170
+ /**
171
+ * The ROWS are one tab stop, not one each: the open row, or the first when none is open, with the
172
+ * arrow keys moving between them. A row's own controls (its checkbox, its link) are still reached
173
+ * by Tab, as controls are.
174
+ */
175
+ protected rowTabIndex(row: MJORow, index: number): number;
176
+ /**
177
+ * Keys on a focused row: Enter or Space selects it, the arrows move to the row above or below.
178
+ * A key pressed inside a control in the row (its checkbox, its link) belongs to that control.
179
+ */
180
+ protected onRowKey(event: Event, row: MJORow): void;
141
181
  protected keyOf(row: MJORow): string;
142
182
  protected rowLabel(row: MJORow): string;
143
183
  protected canSelect(row: MJORow): boolean;
@@ -152,10 +192,12 @@ export declare class MJOWorklistTableComponent {
152
192
  * tick-all that silently cleared ticks the user could not see would be a surprise either way.
153
193
  */
154
194
  protected toggleAll(ticked: boolean): void;
195
+ /** A sortable header's `aria-sort`: which way it is sorted, or that it is not. */
196
+ protected sortState(column: MJOColumn): 'ascending' | 'descending' | 'none';
155
197
  protected hideClass(column: MJOColumn): string;
156
198
  /** A column's rendered value — its formatter if it has one, else the raw property. */
157
199
  protected display(row: MJORow, column: MJOColumn): string;
158
200
  static ɵfac: i0.ɵɵFactoryDeclaration<MJOWorklistTableComponent, never>;
159
- static ɵcmp: i0.ɵɵComponentDeclaration<MJOWorklistTableComponent, "mjo-worklist-table", never, { "Columns": { "alias": "Columns"; "required": false; }; "Rows": { "alias": "Rows"; "required": false; }; "Presets": { "alias": "Presets"; "required": false; }; "ActivePreset": { "alias": "ActivePreset"; "required": false; }; "Searchable": { "alias": "Searchable"; "required": false; }; "Search": { "alias": "Search"; "required": false; }; "SearchPlaceholder": { "alias": "SearchPlaceholder"; "required": false; }; "SortKey": { "alias": "SortKey"; "required": false; }; "SortDescending": { "alias": "SortDescending"; "required": false; }; "RowKey": { "alias": "RowKey"; "required": false; }; "SelectedKey": { "alias": "SelectedKey"; "required": false; }; "Selectable": { "alias": "Selectable"; "required": false; }; "SelectedKeys": { "alias": "SelectedKeys"; "required": false; }; "SelectableRow": { "alias": "SelectableRow"; "required": false; }; "RowLabel": { "alias": "RowLabel"; "required": false; }; "EmptyTitle": { "alias": "EmptyTitle"; "required": false; }; "EmptyHint": { "alias": "EmptyHint"; "required": false; }; "EmptyIcon": { "alias": "EmptyIcon"; "required": false; }; "FootNote": { "alias": "FootNote"; "required": false; }; }, { "PresetChanged": "PresetChanged"; "SearchChanged": "SearchChanged"; "SortChanged": "SortChanged"; "RowClicked": "RowClicked"; "SelectionChanged": "SelectionChanged"; }, never, never, true, never>;
201
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJOWorklistTableComponent, "mjo-worklist-table", never, { "Columns": { "alias": "Columns"; "required": false; }; "Rows": { "alias": "Rows"; "required": false; }; "Presets": { "alias": "Presets"; "required": false; }; "ActivePreset": { "alias": "ActivePreset"; "required": false; }; "Searchable": { "alias": "Searchable"; "required": false; }; "Search": { "alias": "Search"; "required": false; }; "SearchPlaceholder": { "alias": "SearchPlaceholder"; "required": false; }; "SortKey": { "alias": "SortKey"; "required": false; }; "SortDescending": { "alias": "SortDescending"; "required": false; }; "RowKey": { "alias": "RowKey"; "required": false; }; "SelectedKey": { "alias": "SelectedKey"; "required": false; }; "Selectable": { "alias": "Selectable"; "required": false; }; "SelectedKeys": { "alias": "SelectedKeys"; "required": false; }; "SelectableRow": { "alias": "SelectableRow"; "required": false; }; "RowLabel": { "alias": "RowLabel"; "required": false; }; "EmptyTitle": { "alias": "EmptyTitle"; "required": false; }; "EmptyHint": { "alias": "EmptyHint"; "required": false; }; "EmptyIcon": { "alias": "EmptyIcon"; "required": false; }; "FootNote": { "alias": "FootNote"; "required": false; }; "Loading": { "alias": "Loading"; "required": false; }; "Totals": { "alias": "Totals"; "required": false; }; "MaxHeight": { "alias": "MaxHeight"; "required": false; }; }, { "PresetChanged": "PresetChanged"; "SearchChanged": "SearchChanged"; "SortChanged": "SortChanged"; "RowClicked": "RowClicked"; "LinkClicked": "LinkClicked"; "SelectionChanged": "SelectionChanged"; }, never, never, true, never>;
160
202
  }
161
203
  //# sourceMappingURL=worklist-table.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"worklist-table.component.d.ts","sourceRoot":"","sources":["../../../src/lib/panels/worklist-table.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;;AAIvE,wCAAwC;AACxC,MAAM,MAAM,aAAa;AACrB,kBAAkB;AAChB,MAAM;AACR,sCAAsC;GACpC,OAAO;AACT,wCAAwC;GACtC,QAAQ;AACV,sBAAsB;GACpB,MAAM;AACR,mDAAmD;GACjD,MAAM;AACR,mDAAmD;GACjD,MAAM,CAAC;AAEb;;;;;;;;GAQG;AAEH,MAAM,WAAW,SAAS,CAAC,IAAI,GAAG,GAAG;IACjC,kEAAkE;IAClE,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,MAAM,GAAG,IAAI,CAAC;IACzC,6CAA6C;IAC7C,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,KAAK,MAAM,CAAC;IAClC,kEAAkE;IAClE,SAAS,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,IAAI,CAAC;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