@mj-biz-apps/sales-ng 6.34.2 → 6.34.3

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.
@@ -140,8 +140,10 @@ export interface BoardColumn {
140
140
  * vocabulary rather than growing a second.
141
141
  */
142
142
  Unpriced: number;
143
- /** True when NOTHING in the column was priced, so the footnote can say so rather than count to N. */
144
- NonePriced: boolean;
143
+ /** Deals whose amount was typed on the deal: an amount is there, and it was not calculated from product lines. */
144
+ EnteredManually: number;
145
+ /** Deals with no amount at all. They add nothing to the total, which is a different caveat from a typed amount. */
146
+ NoAmount: number;
145
147
  }
146
148
  /**
147
149
  * The tab value that shows every allowed pipeline at once, one lane per pipeline. Not a pipeline ID, so
@@ -166,6 +168,18 @@ export interface BoardLane {
166
168
  * else every pipeline, including those flagged out of the forecast, which the Board still shows.
167
169
  */
168
170
  export declare function BoardPipelines<T extends CompanyPipeline>(pipelines: readonly T[], companyIDs: readonly string[], pipelineIDs: readonly string[]): T[];
171
+ /** What a column's amount caveat needs: how many amounts were typed in, how many are absent, out of how many. */
172
+ export type StagePricingCounts = Pick<BoardColumn, 'EnteredManually' | 'NoAmount'> & {
173
+ Cards: readonly unknown[];
174
+ };
175
+ /**
176
+ * The tooltip on a stage total that is not wholly calculated. Two different caveats, each said on
177
+ * its own: an amount someone typed on the deal, and a deal with no amount, which adds nothing to
178
+ * the total.
179
+ */
180
+ export declare function StagePricingNote(column: StagePricingCounts): string;
181
+ /** The few words shown beside the total; the tooltip carries the sentences. */
182
+ export declare function StagePricingLabel(column: StagePricingCounts): string;
169
183
  export declare class DealBoardComponent implements AfterViewChecked {
170
184
  private readonly service;
171
185
  private readonly cdr;
@@ -363,6 +377,8 @@ export declare class DealBoardComponent implements AfterViewChecked {
363
377
  * a ternary inside a binding is unreadable in both places at once.
364
378
  */
365
379
  PricingNote(column: BoardColumn): string;
380
+ /** The short visible form of the same caveat, beside the column total. */
381
+ PricingLabel(column: BoardColumn): string;
366
382
  TrackColumn: (_: number, column: BoardColumn) => string;
367
383
  static ɵfac: i0.ɵɵFactoryDeclaration<DealBoardComponent, never>;
368
384
  static ɵcmp: i0.ɵɵComponentDeclaration<DealBoardComponent, "mjs-deal-board", never, { "Deals": { "alias": "Deals"; "required": false; }; "Pipelines": { "alias": "Pipelines"; "required": false; }; "Stages": { "alias": "Stages"; "required": false; }; "DealStatusTypes": { "alias": "DealStatusTypes"; "required": false; }; "StageEnteredOn": { "alias": "StageEnteredOn"; "required": false; }; "CompanyIDs": { "alias": "CompanyIDs"; "required": false; }; "PipelineIDs": { "alias": "PipelineIDs"; "required": false; }; "SelectedPipelineID": { "alias": "SelectedPipelineID"; "required": false; }; "HidePipelines": { "alias": "HidePipelines"; "required": false; }; }, { "DealOpened": "DealOpened"; "StageMoved": "StageMoved"; "SelectedPipelineIDChange": "SelectedPipelineIDChange"; }, never, never, true, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"deal-board.component.d.ts","sourceRoot":"","sources":["../../../src/lib/board/deal-board.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAW,WAAW,EAAe,MAAM,wBAAwB,CAAC;AAG3E,OAAO,EACH,gBAAgB,EAIhB,YAAY,EAKf,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAwB,wBAAwB,EAAE,KAAK,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzH,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACvG,OAAO,EAAyG,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;;AAGxK;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,IAAI,CAG/E;AAED,4DAA4D;AAC5D,KAAK,SAAS,GAAG,IAAI,CAAC,aA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AC3E,YAAY,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAY7D;;;;;;;OAOG;YACW,QAAQ;IAiBtB;;;;;;;;OAQG;YACW,SAAS;IAiBvB,mEAAmE;IAC5D,OAAO,CAAC,IAAI,EAAE,aAAa,GAAG,SAAS,GAAG,IAAI;IAKrD;;;;;;;;;;;;;;OAcG;IAEI,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM;IAIhD,0FAA0F;IAC1F,SAAgB,YAAY,sBAAgB;IAC5C,SAAgB,UAAU,oBAAc;IACxC,SAAgB,YAAY,sBAAgB;IAC5C,gEAAgE;IACzD,SAAS,GAAI,GAAG,MAAM,EAAE,MAAM,aAAa,KAAG,MAAM,CAAY;IACvE,kFAAkF;IAClF,SAAgB,eAAe,SAA4B;IAC3D;;;;;OAKG;IACI,WAAW,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM;IAI/C,0EAA0E;IACnE,YAAY,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM;IAIzC,WAAW,GAAI,GAAG,MAAM,EAAE,QAAQ,WAAW,KAAG,MAAM,CAAmB;yCAjgBvE,kBAAkB;2CAAlB,kBAAkB;CAkgB9B"}
@@ -190,26 +190,17 @@ function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_
190
190
  i0.ɵɵadvance();
191
191
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind4(2, 3, column_r11.Total, column_r11.Currency ?? ctx_r1.DefaultCurrency, "symbol", "1.0-0"), " ");
192
192
  } }
193
- function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Conditional_2_Template(rf, ctx) { if (rf & 1) {
194
- i0.ɵɵtext(0, " stated, not priced ");
195
- } }
196
- function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Conditional_3_Template(rf, ctx) { if (rf & 1) {
197
- i0.ɵɵtext(0);
198
- } if (rf & 2) {
199
- const column_r11 = i0.ɵɵnextContext(2).$implicit;
200
- i0.ɵɵtextInterpolate2(" ", column_r11.Unpriced, " of ", column_r11.Cards.length, " stated ");
201
- } }
202
193
  function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Template(rf, ctx) { if (rf & 1) {
203
194
  i0.ɵɵelementStart(0, "span", 34);
204
195
  i0.ɵɵelement(1, "i", 39);
205
- i0.ɵɵconditionalCreate(2, DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Conditional_2_Template, 1, 0)(3, DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Conditional_3_Template, 1, 2);
196
+ i0.ɵɵtext(2);
206
197
  i0.ɵɵelementEnd();
207
198
  } if (rf & 2) {
208
199
  const column_r11 = i0.ɵɵnextContext().$implicit;
209
200
  const ctx_r1 = i0.ɵɵnextContext(4);
210
201
  i0.ɵɵproperty("title", ctx_r1.PricingNote(column_r11));
211
202
  i0.ɵɵadvance(2);
212
- i0.ɵɵconditional(column_r11.NonePriced ? 2 : 3);
203
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.PricingLabel(column_r11), " ");
213
204
  } }
214
205
  function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_For_13_Conditional_8_Template(rf, ctx) { if (rf & 1) {
215
206
  i0.ɵɵelementStart(0, "span", 46);
@@ -400,7 +391,7 @@ function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Template(rf,
400
391
  i0.ɵɵelementEnd();
401
392
  i0.ɵɵconditionalCreate(8, DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_8_Template, 2, 0, "span", 32)(9, DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_9_Template, 3, 8, "span", 33);
402
393
  i0.ɵɵelementEnd();
403
- i0.ɵɵconditionalCreate(10, DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Template, 4, 2, "span", 34);
394
+ i0.ɵɵconditionalCreate(10, DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Conditional_10_Template, 3, 2, "span", 34);
404
395
  i0.ɵɵelementEnd();
405
396
  i0.ɵɵelementStart(11, "div", 35);
406
397
  i0.ɵɵlistener("cdkDropListDropped", function DealBoardComponent_Conditional_8_For_7_Conditional_4_For_2_Template_div_cdkDropListDropped_11_listener($event) { const column_r11 = i0.ɵɵrestoreView(_r10).$implicit; const ctx_r1 = i0.ɵɵnextContext(4); return i0.ɵɵresetView(ctx_r1.OnDrop($event, column_r11)); });
@@ -612,6 +603,37 @@ export function BoardPipelines(pipelines, companyIDs, pipelineIDs) {
612
603
  // A pipeline appears once per linked company; it is one tab.
613
604
  return DistinctPipelines(allowed);
614
605
  }
606
+ /**
607
+ * The tooltip on a stage total that is not wholly calculated. Two different caveats, each said on
608
+ * its own: an amount someone typed on the deal, and a deal with no amount, which adds nothing to
609
+ * the total.
610
+ */
611
+ export function StagePricingNote(column) {
612
+ if (column.Cards.length > 0 && column.EnteredManually === column.Cards.length) {
613
+ return 'All amounts were entered manually.';
614
+ }
615
+ const sentences = [];
616
+ if (column.EnteredManually === 1)
617
+ sentences.push('1 deal has an amount entered manually.');
618
+ if (column.EnteredManually > 1)
619
+ sentences.push(`${column.EnteredManually} deals have amounts entered manually.`);
620
+ if (column.NoAmount === 1)
621
+ sentences.push('1 deal has no amount set.');
622
+ if (column.NoAmount > 1)
623
+ sentences.push(`${column.NoAmount} deals have no amount set.`);
624
+ return sentences.join(' ');
625
+ }
626
+ /** The few words shown beside the total; the tooltip carries the sentences. */
627
+ export function StagePricingLabel(column) {
628
+ if (column.Cards.length > 0 && column.EnteredManually === column.Cards.length)
629
+ return 'all entered manually';
630
+ const parts = [];
631
+ if (column.EnteredManually > 0)
632
+ parts.push(`${column.EnteredManually} entered manually`);
633
+ if (column.NoAmount > 0)
634
+ parts.push(`${column.NoAmount} not set`);
635
+ return parts.join(', ');
636
+ }
615
637
  export class DealBoardComponent {
616
638
  service = inject(DealWorkspaceService);
617
639
  cdr = inject(ChangeDetectorRef);
@@ -816,7 +838,7 @@ export class DealBoardComponent {
816
838
  * The one honest caveat: on this host every deal carries `AmountIsComputed = 0`, so
817
839
  * this total is currently a sum of HAND-TYPED figures. That is a labelling problem
818
840
  * rather than an arithmetic one, and it is already disclosed -- `Unpriced`,
819
- * `NonePriced` and `PricingNote` exist for exactly that.
841
+ * `EnteredManually`, `NoAmount` and `PricingNote` exist for exactly that.
820
842
  */
821
843
  Total: cards.reduce((sum, d) => sum + (d.Amount ?? 0), 0), // money-grep-allow: a rollup of stored answers for display -- never stored, never sent. The same SUM runs in dashboard-summary.sql:41; moving it into a query is blocked on pipeline-summary.sql:36 being open-deals-only. See the note above.
822
844
  Currency: SingleCurrencyOf(cards),
@@ -827,7 +849,8 @@ export class DealBoardComponent {
827
849
  * would otherwise trust. Never a comparison on any status or stage name.
828
850
  */
829
851
  Unpriced: cards.filter((d) => !d.AmountIsComputed).length,
830
- NonePriced: cards.length > 0 && cards.every((d) => !d.AmountIsComputed),
852
+ EnteredManually: cards.filter((d) => !d.AmountIsComputed && d.Amount != null).length,
853
+ NoAmount: cards.filter((d) => !d.AmountIsComputed && d.Amount == null).length,
831
854
  };
832
855
  });
833
856
  }
@@ -1073,11 +1096,11 @@ export class DealBoardComponent {
1073
1096
  * a ternary inside a binding is unreadable in both places at once.
1074
1097
  */
1075
1098
  PricingNote(column) {
1076
- return column.NonePriced
1077
- ? 'No deal in this stage has an amount priced by Orders. Every amount in this total was '
1078
- + 'entered by hand.'
1079
- : `${column.Unpriced} of ${column.Cards.length} deals in this stage have no amount priced by `
1080
- + 'Orders, so part of this total was entered by hand or is missing.';
1099
+ return StagePricingNote(column);
1100
+ }
1101
+ /** The short visible form of the same caveat, beside the column total. */
1102
+ PricingLabel(column) {
1103
+ return StagePricingLabel(column);
1081
1104
  }
1082
1105
  TrackColumn = (_, column) => column.StageID;
1083
1106
  static ɵfac = function DealBoardComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DealBoardComponent)(); };
@@ -1088,7 +1111,7 @@ export class DealBoardComponent {
1088
1111
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.scroller = _t.first);
1089
1112
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topBar = _t.first);
1090
1113
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.topBarSpacer = _t.first);
1091
- } }, inputs: { Deals: "Deals", Pipelines: "Pipelines", Stages: "Stages", DealStatusTypes: "DealStatusTypes", StageEnteredOn: "StageEnteredOn", CompanyIDs: "CompanyIDs", PipelineIDs: "PipelineIDs", SelectedPipelineID: "SelectedPipelineID", HidePipelines: "HidePipelines" }, outputs: { DealOpened: "DealOpened", StageMoved: "StageMoved", SelectedPipelineIDChange: "SelectedPipelineIDChange" }, decls: 9, vars: 6, consts: [["topBar", ""], ["topBarSpacer", ""], ["scroller", ""], [1, "db"], [1, "db-bar"], [1, "db-bar__busy"], ["role", "status", 1, "db-msg"], ["data-testid", "db-empty", 1, "db-empty"], [1, "db-bar__label"], ["role", "tablist", "aria-label", "Pipeline", "data-testid", "db-pipeline-tabs", 1, "db-bar__pipes"], ["data-testid", "db-pipeline-one", 1, "db-bar__one"], ["type", "button", "role", "tab", "data-testid", "db-pipeline-all", 1, "db-pipe", 3, "click"], ["type", "button", "role", "tab", 1, "db-pipe", 3, "db-pipe--on"], ["type", "button", "role", "tab", 1, "db-pipe", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-spinner", "fa-spin"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-info"], ["data-testid", "db-top-scroll", "aria-hidden", "true", 1, "db-topscroll", 3, "scroll"], [1, "db-topscroll__spacer"], [1, "db-scroll", 3, "scroll"], [1, "db-lane"], ["data-testid", "db-lane-head", 1, "db-lane__head"], [1, "db-empty"], [1, "db-lane__count"], [1, "db-cols"], [1, "db-col", 3, "db-col--closing"], [1, "db-unstaged"], [1, "db-col"], [1, "db-col__head"], [1, "db-col__name"], ["aria-hidden", "true", "title", "Deals cannot be moved here. Close a deal from the deal form.", 1, "fa-solid", "fa-lock", "db-col__lock"], [1, "db-col__meta"], [1, "db-col__count"], ["title", "This stage holds deals in more than one currency, so a single total would be meaningless.", 1, "db-col__total", "db-col__total--mixed"], [1, "db-col__total", 3, "db-col__total--stated"], [1, "db-col__partial", 3, "title"], ["cdkDropList", "", 1, "db-col__drop", 3, "cdkDropListDropped", "id", "cdkDropListData", "cdkDropListConnectedTo", "cdkDropListEnterPredicate"], ["cdkDrag", "", 1, "db-card", 3, "cdkDragData", "cdkDragDisabled"], [1, "db-col__empty"], [1, "db-col__total"], ["aria-hidden", "true", 1, "fa-solid", "fa-pen-nib"], ["cdkDrag", "", 1, "db-card", 3, "click", "cdkDragData", "cdkDragDisabled"], ["type", "button", 1, "db-card__name", 3, "click"], [1, "db-card__customer"], ["aria-hidden", "true", 1, "fa-solid", "fa-building"], [1, "db-card__figures"], [1, "db-card__amount"], ["title", "No amount recorded yet", 1, "db-card__noamount"], [1, "db-card__prob"], [1, "db-card__foot"], [1, "db-card__owner"], [1, "db-card__close"], [1, "db-card__closed"], [1, "db-card__day"], [1, "db-card__idle", 3, "title"], ["class", "db-card__ghost", 4, "cdkDragPreview"], ["aria-hidden", "true", "title", "Priced by Orders", 1, "fa-solid", "fa-calculator", "db-card__computed"], ["aria-hidden", "true", "title", "Entered manually rather than priced by Orders", 1, "fa-solid", "fa-pen-nib", "db-card__stated"], ["aria-hidden", "true", 1, "fa-solid", "fa-hourglass-end"], [1, "db-card__move"], [1, "db-card__move", 3, "click", "mousedown", "keydown"], [1, "db-card__move-select", 3, "ngModelChange", "disabled", "ngModel"], ["value", ""], [3, "value"], ["type", "button", 1, "db-card__move-go", 3, "click", "disabled"], [1, "db-card__ghost"], [1, "db-unstaged__head"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-question"], [1, "db-unstaged__list"], ["type", "button", 1, "db-chip"], ["type", "button", 1, "db-chip", 3, "click"]], template: function DealBoardComponent_Template(rf, ctx) { if (rf & 1) {
1114
+ } }, inputs: { Deals: "Deals", Pipelines: "Pipelines", Stages: "Stages", DealStatusTypes: "DealStatusTypes", StageEnteredOn: "StageEnteredOn", CompanyIDs: "CompanyIDs", PipelineIDs: "PipelineIDs", SelectedPipelineID: "SelectedPipelineID", HidePipelines: "HidePipelines" }, outputs: { DealOpened: "DealOpened", StageMoved: "StageMoved", SelectedPipelineIDChange: "SelectedPipelineIDChange" }, decls: 9, vars: 6, consts: [["topBar", ""], ["topBarSpacer", ""], ["scroller", ""], [1, "db"], [1, "db-bar"], [1, "db-bar__busy"], ["role", "status", 1, "db-msg"], ["data-testid", "db-empty", 1, "db-empty"], [1, "db-bar__label"], ["role", "tablist", "aria-label", "Pipeline", "data-testid", "db-pipeline-tabs", 1, "db-bar__pipes"], ["data-testid", "db-pipeline-one", 1, "db-bar__one"], ["type", "button", "role", "tab", "data-testid", "db-pipeline-all", 1, "db-pipe", 3, "click"], ["type", "button", "role", "tab", 1, "db-pipe", 3, "db-pipe--on"], ["type", "button", "role", "tab", 1, "db-pipe", 3, "click"], ["aria-hidden", "true", 1, "fa-solid", "fa-spinner", "fa-spin"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-info"], ["data-testid", "db-top-scroll", "aria-hidden", "true", 1, "db-topscroll", 3, "scroll"], [1, "db-topscroll__spacer"], [1, "db-scroll", 3, "scroll"], [1, "db-lane"], ["data-testid", "db-lane-head", 1, "db-lane__head"], [1, "db-empty"], [1, "db-lane__count"], [1, "db-cols"], [1, "db-col", 3, "db-col--closing"], [1, "db-unstaged"], [1, "db-col"], [1, "db-col__head"], [1, "db-col__name"], ["aria-hidden", "true", "title", "Deals cannot be moved here. Close a deal from the deal form.", 1, "fa-solid", "fa-lock", "db-col__lock"], [1, "db-col__meta"], [1, "db-col__count"], ["title", "This stage holds deals in more than one currency, so a single total would be meaningless.", 1, "db-col__total", "db-col__total--mixed"], [1, "db-col__total", 3, "db-col__total--stated"], [1, "db-col__partial", 3, "title"], ["cdkDropList", "", 1, "db-col__drop", 3, "cdkDropListDropped", "id", "cdkDropListData", "cdkDropListConnectedTo", "cdkDropListEnterPredicate"], ["cdkDrag", "", 1, "db-card", 3, "cdkDragData", "cdkDragDisabled"], [1, "db-col__empty"], [1, "db-col__total"], ["aria-hidden", "true", 1, "fa-solid", "fa-pen-nib"], ["cdkDrag", "", 1, "db-card", 3, "click", "cdkDragData", "cdkDragDisabled"], ["type", "button", 1, "db-card__name", 3, "click"], [1, "db-card__customer"], ["aria-hidden", "true", 1, "fa-solid", "fa-building"], [1, "db-card__figures"], [1, "db-card__amount"], ["title", "Amount not set", 1, "db-card__noamount"], [1, "db-card__prob"], [1, "db-card__foot"], [1, "db-card__owner"], [1, "db-card__close"], [1, "db-card__closed"], [1, "db-card__day"], [1, "db-card__idle", 3, "title"], ["class", "db-card__ghost", 4, "cdkDragPreview"], ["aria-hidden", "true", "title", "Calculated automatically", 1, "fa-solid", "fa-calculator", "db-card__computed"], ["aria-hidden", "true", "title", "Entered manually", 1, "fa-solid", "fa-pen-nib", "db-card__stated"], ["aria-hidden", "true", 1, "fa-solid", "fa-hourglass-end"], [1, "db-card__move"], [1, "db-card__move", 3, "click", "mousedown", "keydown"], [1, "db-card__move-select", 3, "ngModelChange", "disabled", "ngModel"], ["value", ""], [3, "value"], ["type", "button", 1, "db-card__move-go", 3, "click", "disabled"], [1, "db-card__ghost"], [1, "db-unstaged__head"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-question"], [1, "db-unstaged__list"], ["type", "button", 1, "db-chip"], ["type", "button", 1, "db-chip", 3, "click"]], template: function DealBoardComponent_Template(rf, ctx) { if (rf & 1) {
1092
1115
  i0.ɵɵelementStart(0, "div", 3)(1, "div", 4);
1093
1116
  i0.ɵɵdeclareLet(2);
1094
1117
  i0.ɵɵconditionalCreate(3, DealBoardComponent_Conditional_3_Template, 4, 1);
@@ -1115,7 +1138,7 @@ export class DealBoardComponent {
1115
1138
  }
1116
1139
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DealBoardComponent, [{
1117
1140
  type: Component,
1118
- args: [{ selector: 'mjs-deal-board', standalone: true, imports: [CommonModule, FormsModule, CdkDropList, CdkDrag], template: "<!--\n The pipeline board. Columns are stages in DisplayOrder; cards are deals.\n\n A closing column renders disabled with a hint rather than being hidden: hiding it would make the board\n lie about the pipeline's shape, and a rep looking for \"where do won deals go\" needs to see that the\n answer is \"not by dragging\".\n-->\n<div class=\"db\">\n\n <!--\n Pipeline switcher. A pipeline defines the stages, so the Board shows one at a time, or all of them\n under the All tab. Which pipelines are tabs is the filter bar's (bc-aidp-next-golive#351); with only\n one allowed there is nothing to switch, and its name is shown instead.\n\n With the Hide pipelines setting on there is no switcher (bc-aidp-next-golive#498): its tabs could only\n be named by company, which repeated a company with two pipelines, and the filter bar's Selling company\n and Product company lists already choose the companies. The Board then shows every allowed pipeline.\n -->\n <div class=\"db-bar\">\n @let tabs = TabPipelines;\n @if (!HidePipelines) {\n <span class=\"db-bar__label\">Pipeline</span>\n @if (tabs.length > 1) {\n @let all = ShowingAll;\n <div class=\"db-bar__pipes\" role=\"tablist\" aria-label=\"Pipeline\" data-testid=\"db-pipeline-tabs\">\n <!-- Every allowed pipeline at once, one lane each: stages belong to a pipeline, so they are not merged. -->\n <button\n type=\"button\"\n role=\"tab\"\n class=\"db-pipe\"\n data-testid=\"db-pipeline-all\"\n [class.db-pipe--on]=\"all\"\n [attr.aria-selected]=\"all\"\n (click)=\"SelectPipeline(AllPipelines)\">\n All pipelines\n </button>\n @for (pipeline of tabs; track pipeline.ID) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"db-pipe\"\n [class.db-pipe--on]=\"!all && pipeline.ID === ActivePipelineID\"\n [attr.aria-selected]=\"!all && pipeline.ID === ActivePipelineID\"\n (click)=\"SelectPipeline(pipeline.ID)\">\n {{ TabLabel(pipeline) }}\n </button>\n }\n </div>\n } @else if (tabs.length === 1) {\n <span class=\"db-bar__one\" data-testid=\"db-pipeline-one\">{{ tabs[0].Name }}</span>\n }\n }\n @if (Moving) {\n <span class=\"db-bar__busy\"><i class=\"fa-solid fa-spinner fa-spin\" aria-hidden=\"true\"></i> Moving\u2026</span>\n }\n </div>\n\n @if (Message) {\n <p class=\"db-msg\" role=\"status\">\n <i class=\"fa-solid fa-circle-info\" aria-hidden=\"true\"></i> {{ Message }}\n </p>\n }\n\n @let lanes = Lanes;\n @if (lanes.length === 0) {\n <p class=\"db-empty\" data-testid=\"db-empty\">\n @if (ShowingAll) {\n No deals match these filters.\n } @else {\n {{ HidePipelines ? 'No stages are set up for this company yet.' : 'This pipeline has no stages yet.' }}\n }\n </p>\n } @else {\n <!-- A second horizontal bar above the columns, kept in step with the board's own (see the component).\n Sticky, so it stays reachable while a tall board is scrolled down. -->\n <div class=\"db-topscroll\" #topBar data-testid=\"db-top-scroll\" aria-hidden=\"true\" (scroll)=\"OnTopScroll()\">\n <div class=\"db-topscroll__spacer\" #topBarSpacer></div>\n </div>\n <div class=\"db-scroll\" #scroller (scroll)=\"OnBodyScroll()\">\n @for (lane of lanes; track lane.PipelineID) {\n @let columns = lane.Columns;\n <div class=\"db-lane\" [attr.data-pipeline]=\"lane.PipelineID\">\n @if (ShowingAll) {\n <h3 class=\"db-lane__head\" data-testid=\"db-lane-head\">\n {{ lane.Label }} <span class=\"db-lane__count\">{{ LaneCount(lane) }}</span>\n </h3>\n }\n @if (columns.length === 0) {\n <p class=\"db-empty\">{{ HidePipelines ? 'No stages are set up for this company yet.' : 'This pipeline has no stages yet.' }}</p>\n } @else {\n <div class=\"db-cols\">\n @for (column of columns; track TrackColumn($index, column)) {\n <section\n class=\"db-col\"\n [class.db-col--closing]=\"column.IsClosing\"\n [attr.data-closing]=\"column.IsClosing ? column.Label : null\"\n [attr.aria-label]=\"column.Label\">\n\n <header class=\"db-col__head\">\n <span class=\"db-col__name\">\n {{ column.Label }}\n @if (column.IsClosing) {\n <!--\n THIS SAID THE OPPOSITE OF WHAT HAPPENS. \"Arriving here closes and locks the\n deal\" describes a behaviour the server deliberately refuses: a stage whose\n status locks contributes NO status to a save, so a deal moved into this\n column keeps the status it had (`planStageDefaults` gates on `LocksDeal`).\n A rep reading the old text would think a drag closes the deal.\n\n And the drag cannot happen either: `CanDropInto` returns false for a closing\n column, with a second guard behind it. So the tooltip says what the lock icon\n actually means -- this column is not a destination -- and where closing lives,\n which is the same place the empty state below points.\n -->\n <i class=\"fa-solid fa-lock db-col__lock\"\n aria-hidden=\"true\"\n title=\"Deals cannot be moved here. Close a deal from the deal form.\"></i>\n }\n </span>\n <span class=\"db-col__meta\">\n <span class=\"db-col__count\">{{ column.Cards.length }}</span>\n <!--\n A SUM of stored Deal.Amount values. This app prices nothing; the marker says whether the\n ORDERS engine did, and the currency question is separate from the provenance question.\n\n NO TOTAL WHEN THE COLUMN MIXES CURRENCIES. Adding EUR to USD produces a number that is\n wrong in a way nobody can see; an absent figure prompts a question instead.\n\n UNIONED, and the board branch's half needed one correction to survive: it carried\n `currency:'USD'`, which is the hardcoding the currency work removed. The `--stated` class\n is its contribution and is kept; the literal is not.\n -->\n @if (column.MixedCurrency) {\n <span class=\"db-col__total db-col__total--mixed\"\n title=\"This stage holds deals in more than one currency, so a single total would be meaningless.\">\n mixed currencies\n </span>\n } @else {\n <span class=\"db-col__total\" [class.db-col__total--stated]=\"column.Unpriced > 0\">\n <!-- `?? DefaultCurrency` because Currency is null in two different situations and only\n one of them is \"mixed\": an EMPTY column has no currency to disagree about, and its\n total is 0. The mixed case never reaches here \u2014 it is the @if above. -->\n {{ column.Total | currency:(column.Currency ?? DefaultCurrency):'symbol':'1.0-0' }}\n </span>\n }\n </span>\n @if (column.Unpriced > 0) {\n <!--\n SAYS WHICH OF THE TWO IT IS. A total nobody priced and a total that is only partly\n priced are different claims, and collapsing them is how a stated figure passes for an\n authoritative one. The wording lives in PricingNote() -- a template expression cannot\n hold a sentence without becoming unreadable.\n -->\n <span class=\"db-col__partial\" [title]=\"PricingNote(column)\">\n <i class=\"fa-solid fa-pen-nib\" aria-hidden=\"true\"></i>\n @if (column.NonePriced) {\n stated, not priced\n } @else {\n {{ column.Unpriced }} of {{ column.Cards.length }} stated\n }\n </span>\n }\n </header>\n\n <div\n class=\"db-col__drop\"\n cdkDropList\n [id]=\"'col-' + column.StageID\"\n [cdkDropListData]=\"column\"\n [cdkDropListConnectedTo]=\"ColumnIDsFor(lane.PipelineID, columns)\"\n [cdkDropListEnterPredicate]=\"CanDropInto(column)\"\n (cdkDropListDropped)=\"OnDrop($event, column)\">\n\n @for (deal of column.Cards; track TrackCard($index, deal)) {\n <!--\n The card opens on a click anywhere; for the keyboard its name is a real button, so Enter\n and Space both open it (bizapps-sales#371). The card is not itself a button, because it\n also holds the \"Move to stage\" control and a button may not contain other controls.\n -->\n <article\n class=\"db-card\"\n cdkDrag\n [cdkDragData]=\"deal\"\n [cdkDragDisabled]=\"Moving || !deal.IsOpen\"\n (click)=\"OpenCard(deal)\">\n\n <button type=\"button\" class=\"db-card__name\" [attr.aria-label]=\"'Open ' + deal.Name\"\n (click)=\"$event.stopPropagation(); OpenCard(deal)\">{{ deal.Name }}</button>\n <div class=\"db-card__customer\">\n <i class=\"fa-solid fa-building\" aria-hidden=\"true\"></i> {{ deal.CustomerName }}\n </div>\n\n <div class=\"db-card__figures\">\n <span class=\"db-card__amount\">\n @if (deal.Amount === null) {\n <span class=\"db-card__noamount\" title=\"No amount recorded yet\">\u2014</span>\n } @else {\n {{ deal.Amount | currency:deal.CurrencyCode:'symbol':'1.0-0' }}\n }\n <!--\n BOTH CASES ARE MARKED, and marking only one was the defect. A calculator on the\n priced figure and nothing on the stated one means the reader has to notice an\n ABSENCE to learn anything -- and on data where nothing is priced, no card carries\n a marker at all, so the whole board reads as authoritative. A positive mark on\n each says which it is without anyone having to know the convention.\n -->\n @if (deal.Amount !== null) {\n @if (deal.AmountIsComputed) {\n <i class=\"fa-solid fa-calculator db-card__computed\"\n aria-hidden=\"true\"\n title=\"Priced by Orders\"></i>\n } @else {\n <i class=\"fa-solid fa-pen-nib db-card__stated\"\n aria-hidden=\"true\"\n title=\"Entered manually rather than priced by Orders\"></i>\n }\n }\n </span>\n @if (deal.Probability !== null) {\n <span class=\"db-card__prob\">{{ deal.Probability }}%</span>\n }\n </div>\n\n <div class=\"db-card__foot\">\n <span class=\"db-card__owner\">{{ deal.OwnerEmployee?.trim() || 'No owner' }}</span>\n <span class=\"db-card__close\">\n @if (CardClosed(deal)) {\n <span class=\"db-card__closed\">Closed</span>\n }\n <span class=\"db-card__day\">{{ CardDayLabel(deal) || 'No date' }}</span>\n </span>\n </div>\n\n @if (IdleFor(deal); as idle) {\n <!-- Past the stage's Rotting Days (bizapps-sales#450). Icon AND words, so colour is not\n the only signal, and the words are what a screen reader reads. -->\n <div class=\"db-card__idle\" [title]=\"idle.Label\">\n <i class=\"fa-solid fa-hourglass-end\" aria-hidden=\"true\"></i>\n <span>Stalled {{ idle.Days }} days (limit {{ idle.Limit }})</span>\n </div>\n }\n\n @if (MoveTargets(columns, deal); as targets) {\n @if (targets.length) {\n <!-- The keyboard path to a stage change (bizapps-sales#371). Pick, then Move: a select\n that saved on change would move the deal on a stray arrow key. Clicks and keys stay\n here, so they neither open the deal nor start a drag. -->\n <div class=\"db-card__move\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\"\n (keydown)=\"$event.stopPropagation()\">\n <select class=\"db-card__move-select\" [attr.aria-label]=\"'Stage to move ' + deal.Name + ' to'\"\n [disabled]=\"Moving\"\n [ngModel]=\"PendingMove.get(deal.ID) ?? ''\"\n (ngModelChange)=\"PendingMove.set(deal.ID, $event)\">\n <option value=\"\">Move to stage\u2026</option>\n @for (t of targets; track t.StageID) {\n <option [value]=\"t.StageID\">{{ t.Label }}</option>\n }\n </select>\n <button type=\"button\" class=\"db-card__move-go\" [disabled]=\"Moving || !PendingMove.get(deal.ID)\"\n [attr.aria-label]=\"'Move ' + deal.Name\" (click)=\"MoveToPicked(deal)\">Move</button>\n </div>\n }\n }\n\n <div class=\"db-card__ghost\" *cdkDragPreview>{{ deal.Name }}</div>\n </article>\n }\n\n @if (column.Cards.length === 0) {\n <p class=\"db-col__empty\">\n @if (column.IsClosing) { Close deals from the deal form. } @else { Nothing here. }\n </p>\n }\n </div>\n </section>\n }\n </div>\n\n @if (lane.Unstaged.length > 0) {\n <!-- Deals with no stage would otherwise be invisible on a board built from stage columns, and\n \"missing from the board\" is indistinguishable from \"does not exist\". -->\n <section class=\"db-unstaged\">\n <h4 class=\"db-unstaged__head\">\n <i class=\"fa-solid fa-circle-question\" aria-hidden=\"true\"></i>\n No stage set ({{ lane.Unstaged.length }})\n </h4>\n <div class=\"db-unstaged__list\">\n @for (deal of lane.Unstaged; track TrackCard($index, deal)) {\n <button type=\"button\" class=\"db-chip\" (click)=\"OpenCard(deal)\">\n {{ deal.Name }}\n </button>\n }\n </div>\n </section>\n }\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: ["/*\n Board styles.\n\n SEMANTIC TOKENS ONLY \u2014 the same `--mj-*` set the workspace uses, so the board inherits dark mode rather\n than needing its own. No hardcoded colour appears in this file.\n*/\n\n.db {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n min-height: 0;\n}\n\n/* \u2500\u2500 Pipeline switcher \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-bar {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n flex-wrap: wrap;\n}\n\n.db-bar__label {\n font-size: 0.8125rem;\n color: var(--mj-text-muted);\n}\n\n.db-bar__one {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.db-bar__pipes {\n display: flex;\n flex-wrap: wrap;\n gap: 0.25rem;\n}\n\n.db-bar__busy {\n font-size: 0.8125rem;\n color: var(--mj-text-secondary);\n}\n\n.db-pipe {\n padding: 0.3rem 0.75rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n cursor: pointer;\n}\n\n.db-pipe:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-pipe--on {\n border-color: var(--mj-brand-primary);\n color: var(--mj-brand-primary);\n font-weight: 600;\n}\n\n.db-msg {\n margin: 0;\n padding: 0.5rem 0.75rem;\n border: 1px solid var(--mj-status-warning-border);\n border-radius: 4px;\n color: var(--mj-status-warning);\n font-size: 0.8125rem;\n}\n\n.db-empty {\n color: var(--mj-text-muted);\n font-size: 0.875rem;\n}\n\n/* \u2500\u2500 Columns \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/*\n Horizontal scroll lives HERE rather than on the page: a board with eight stages must not make the whole\n shell scroll sideways, which would drag the rail and the header out of view.\n*/\n.db-scroll {\n overflow-x: auto;\n padding-bottom: 0.5rem;\n}\n\n/*\n The bar above the columns. It scrolls an empty spacer as wide as the board, and the component keeps it\n in step with .db-scroll. Sticky so it stays in reach while a tall board is scrolled down; hidden by the\n component when the board fits.\n*/\n.db-topscroll {\n position: sticky;\n top: 0;\n z-index: 1;\n overflow-x: auto;\n overflow-y: hidden;\n background: var(--mj-bg-page);\n}\n\n.db-topscroll__spacer {\n height: 1px;\n}\n\n/*\n Styled so the bar always shows. macOS hides an unstyled scrollbar until the area is scrolled, which\n left this one invisible, and a bar nobody can see cannot be grabbed.\n*/\n/*\n Chrome ignores the ::-webkit-scrollbar styling below whenever scrollbar-color is set, and Explorer sets\n it on an ancestor, so it is reset here. Firefox has no ::-webkit-scrollbar and takes the block after.\n*/\n.db-topscroll {\n scrollbar-color: auto;\n scrollbar-width: auto;\n}\n\n@supports not selector(::-webkit-scrollbar) {\n .db-topscroll {\n scrollbar-width: thin;\n scrollbar-color: var(--mj-border-strong) var(--mj-bg-surface-sunken);\n }\n}\n\n.db-topscroll::-webkit-scrollbar {\n height: 10px;\n}\n\n.db-topscroll::-webkit-scrollbar-track {\n background: var(--mj-bg-surface-sunken);\n border-radius: 5px;\n}\n\n.db-topscroll::-webkit-scrollbar-thumb {\n background: var(--mj-border-strong);\n border-radius: 5px;\n}\n\n/*\n Lanes stack; the scroller is as wide as the widest, so every lane scrolls together. Each lane spans\n the full scroll width so its heading can stay pinned on the left while the columns move.\n*/\n.db-lane {\n min-width: 100%;\n width: max-content;\n}\n\n.db-scroll .db-lane + .db-lane {\n margin-top: 1rem;\n}\n\n.db-lane__head {\n position: sticky;\n left: 0;\n width: fit-content;\n max-width: 48rem;\n margin: 0 0 0.5rem;\n font-size: 0.875rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.db-lane__count {\n margin-left: 0.375rem;\n font-size: 0.75rem;\n font-weight: 400;\n color: var(--mj-text-muted);\n}\n\n.db-cols {\n display: flex;\n gap: 0.75rem;\n width: max-content;\n align-items: flex-start;\n}\n\n.db-col {\n flex: 0 0 15rem;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n min-height: 8rem;\n}\n\n/*\n A closing column is visibly inert \u2014 it accepts no drops, and should not invite one. Dashed border and\n a sunken background, not opacity: fading the column lowered its text contrast (bizapps-sales#371).\n*/\n.db-col--closing {\n border-style: dashed;\n background: var(--mj-bg-surface-sunken);\n}\n\n.db-col__head {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.625rem;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.db-col__name {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-col__lock {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-col__meta {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-col__count {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-col__total {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n font-variant-numeric: tabular-nums;\n}\n\n/* A total that nobody priced still reads as a figure -- this keeps it from reading as a FINAL one. */\n.db-col__total--stated {\n font-style: italic;\n}\n\n.db-col__partial {\n font-size: 0.6875rem;\n color: var(--mj-status-warning);\n}\n\n.db-col__drop {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.5rem;\n min-height: 4rem;\n}\n\n.db-col__empty {\n margin: 0;\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n text-align: center;\n padding: 0.75rem 0.25rem;\n}\n\n/* \u2500\u2500 Cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-card {\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n padding: 0.5rem 0.625rem;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\n.db-card:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-card:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n.db-card__name {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.25;\n /* A button for the keyboard; it reads as the card's title. */\n background: none;\n border: 0;\n padding: 0;\n text-align: left;\n font-family: inherit;\n cursor: pointer;\n}\n\n.db-card__name:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n/* Past the stage's Rotting Days. Icon and words carry it; the colour only reinforces. */\n.db-card__idle {\n display: flex;\n align-items: center;\n gap: 0.3rem;\n font-size: 0.6875rem;\n color: var(--mj-status-warning);\n}\n\n.db-card__move {\n display: flex;\n gap: 0.25rem;\n margin-top: 0.125rem;\n}\n\n.db-card__move-select {\n flex: 1 1 auto;\n min-width: 0;\n padding: 0.125rem 0.25rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.6875rem;\n}\n\n.db-card__move-go {\n padding: 0.125rem 0.5rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n font-size: 0.6875rem;\n cursor: pointer;\n}\n\n.db-card__move-go:disabled {\n cursor: default;\n color: var(--mj-text-muted);\n}\n\n.db-card__customer {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.db-card__figures {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-card__amount {\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n font-variant-numeric: tabular-nums;\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n/*\n * The two provenance markers are deliberately the SAME weight as each other.\n *\n * Making the stated one louder would read as an error, which it is not -- a stated amount is a\n * legitimate answer, just a different kind of fact from a priced one. Making it quieter would put us\n * back where we started, with the reader learning nothing unless they notice an absence.\n */\n.db-card__stated,\n.db-card__noamount,\n.db-card__computed {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-card__prob {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__foot {\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n font-size: 0.6875rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__owner,\n.db-card__close {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.db-card__closed {\n margin-right: 0.25em;\n}\n\n.db-card__ghost {\n padding: 0.375rem 0.625rem;\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-brand-primary);\n border-radius: 4px;\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n}\n\n/* \u2500\u2500 Unstaged \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-unstaged {\n border-top: 1px solid var(--mj-border-default);\n padding-top: 0.625rem;\n}\n\n.db-unstaged__head {\n margin: 0 0 0.375rem;\n font-size: 0.75rem;\n font-weight: 600;\n color: var(--mj-text-muted);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-unstaged__list {\n display: flex;\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.db-chip {\n padding: 0.25rem 0.625rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.75rem;\n cursor: pointer;\n}\n\n.db-chip:hover {\n background: var(--mj-bg-surface-hover);\n}\n"] }]
1141
+ args: [{ selector: 'mjs-deal-board', standalone: true, imports: [CommonModule, FormsModule, CdkDropList, CdkDrag], template: "<!--\n The pipeline board. Columns are stages in DisplayOrder; cards are deals.\n\n A closing column renders disabled with a hint rather than being hidden: hiding it would make the board\n lie about the pipeline's shape, and a rep looking for \"where do won deals go\" needs to see that the\n answer is \"not by dragging\".\n-->\n<div class=\"db\">\n\n <!--\n Pipeline switcher. A pipeline defines the stages, so the Board shows one at a time, or all of them\n under the All tab. Which pipelines are tabs is the filter bar's (bc-aidp-next-golive#351); with only\n one allowed there is nothing to switch, and its name is shown instead.\n\n With the Hide pipelines setting on there is no switcher (bc-aidp-next-golive#498): its tabs could only\n be named by company, which repeated a company with two pipelines, and the filter bar's Selling company\n and Product company lists already choose the companies. The Board then shows every allowed pipeline.\n -->\n <div class=\"db-bar\">\n @let tabs = TabPipelines;\n @if (!HidePipelines) {\n <span class=\"db-bar__label\">Pipeline</span>\n @if (tabs.length > 1) {\n @let all = ShowingAll;\n <div class=\"db-bar__pipes\" role=\"tablist\" aria-label=\"Pipeline\" data-testid=\"db-pipeline-tabs\">\n <!-- Every allowed pipeline at once, one lane each: stages belong to a pipeline, so they are not merged. -->\n <button\n type=\"button\"\n role=\"tab\"\n class=\"db-pipe\"\n data-testid=\"db-pipeline-all\"\n [class.db-pipe--on]=\"all\"\n [attr.aria-selected]=\"all\"\n (click)=\"SelectPipeline(AllPipelines)\">\n All pipelines\n </button>\n @for (pipeline of tabs; track pipeline.ID) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"db-pipe\"\n [class.db-pipe--on]=\"!all && pipeline.ID === ActivePipelineID\"\n [attr.aria-selected]=\"!all && pipeline.ID === ActivePipelineID\"\n (click)=\"SelectPipeline(pipeline.ID)\">\n {{ TabLabel(pipeline) }}\n </button>\n }\n </div>\n } @else if (tabs.length === 1) {\n <span class=\"db-bar__one\" data-testid=\"db-pipeline-one\">{{ tabs[0].Name }}</span>\n }\n }\n @if (Moving) {\n <span class=\"db-bar__busy\"><i class=\"fa-solid fa-spinner fa-spin\" aria-hidden=\"true\"></i> Moving\u2026</span>\n }\n </div>\n\n @if (Message) {\n <p class=\"db-msg\" role=\"status\">\n <i class=\"fa-solid fa-circle-info\" aria-hidden=\"true\"></i> {{ Message }}\n </p>\n }\n\n @let lanes = Lanes;\n @if (lanes.length === 0) {\n <p class=\"db-empty\" data-testid=\"db-empty\">\n @if (ShowingAll) {\n No deals match these filters.\n } @else {\n {{ HidePipelines ? 'No stages are set up for this company yet.' : 'This pipeline has no stages yet.' }}\n }\n </p>\n } @else {\n <!-- A second horizontal bar above the columns, kept in step with the board's own (see the component).\n Sticky, so it stays reachable while a tall board is scrolled down. -->\n <div class=\"db-topscroll\" #topBar data-testid=\"db-top-scroll\" aria-hidden=\"true\" (scroll)=\"OnTopScroll()\">\n <div class=\"db-topscroll__spacer\" #topBarSpacer></div>\n </div>\n <div class=\"db-scroll\" #scroller (scroll)=\"OnBodyScroll()\">\n @for (lane of lanes; track lane.PipelineID) {\n @let columns = lane.Columns;\n <div class=\"db-lane\" [attr.data-pipeline]=\"lane.PipelineID\">\n @if (ShowingAll) {\n <h3 class=\"db-lane__head\" data-testid=\"db-lane-head\">\n {{ lane.Label }} <span class=\"db-lane__count\">{{ LaneCount(lane) }}</span>\n </h3>\n }\n @if (columns.length === 0) {\n <p class=\"db-empty\">{{ HidePipelines ? 'No stages are set up for this company yet.' : 'This pipeline has no stages yet.' }}</p>\n } @else {\n <div class=\"db-cols\">\n @for (column of columns; track TrackColumn($index, column)) {\n <section\n class=\"db-col\"\n [class.db-col--closing]=\"column.IsClosing\"\n [attr.data-closing]=\"column.IsClosing ? column.Label : null\"\n [attr.aria-label]=\"column.Label\">\n\n <header class=\"db-col__head\">\n <span class=\"db-col__name\">\n {{ column.Label }}\n @if (column.IsClosing) {\n <!--\n THIS SAID THE OPPOSITE OF WHAT HAPPENS. \"Arriving here closes and locks the\n deal\" describes a behaviour the server deliberately refuses: a stage whose\n status locks contributes NO status to a save, so a deal moved into this\n column keeps the status it had (`planStageDefaults` gates on `LocksDeal`).\n A rep reading the old text would think a drag closes the deal.\n\n And the drag cannot happen either: `CanDropInto` returns false for a closing\n column, with a second guard behind it. So the tooltip says what the lock icon\n actually means -- this column is not a destination -- and where closing lives,\n which is the same place the empty state below points.\n -->\n <i class=\"fa-solid fa-lock db-col__lock\"\n aria-hidden=\"true\"\n title=\"Deals cannot be moved here. Close a deal from the deal form.\"></i>\n }\n </span>\n <span class=\"db-col__meta\">\n <span class=\"db-col__count\">{{ column.Cards.length }}</span>\n <!--\n A SUM of stored Deal.Amount values. This app prices nothing; the marker says whether the\n ORDERS engine did, and the currency question is separate from the provenance question.\n\n NO TOTAL WHEN THE COLUMN MIXES CURRENCIES. Adding EUR to USD produces a number that is\n wrong in a way nobody can see; an absent figure prompts a question instead.\n\n UNIONED, and the board branch's half needed one correction to survive: it carried\n `currency:'USD'`, which is the hardcoding the currency work removed. The `--stated` class\n is its contribution and is kept; the literal is not.\n -->\n @if (column.MixedCurrency) {\n <span class=\"db-col__total db-col__total--mixed\"\n title=\"This stage holds deals in more than one currency, so a single total would be meaningless.\">\n mixed currencies\n </span>\n } @else {\n <span class=\"db-col__total\" [class.db-col__total--stated]=\"column.Unpriced > 0\">\n <!-- `?? DefaultCurrency` because Currency is null in two different situations and only\n one of them is \"mixed\": an EMPTY column has no currency to disagree about, and its\n total is 0. The mixed case never reaches here \u2014 it is the @if above. -->\n {{ column.Total | currency:(column.Currency ?? DefaultCurrency):'symbol':'1.0-0' }}\n </span>\n }\n </span>\n @if (column.Unpriced > 0) {\n <!--\n SAYS WHICH AMOUNTS WERE NOT CALCULATED. An amount typed in and a deal with no amount\n are different caveats on the total, so they are counted apart. The wording lives in\n PricingLabel() and PricingNote() -- a template expression cannot hold a sentence\n without becoming unreadable.\n -->\n <span class=\"db-col__partial\" [title]=\"PricingNote(column)\">\n <i class=\"fa-solid fa-pen-nib\" aria-hidden=\"true\"></i>\n {{ PricingLabel(column) }}\n </span>\n }\n </header>\n\n <div\n class=\"db-col__drop\"\n cdkDropList\n [id]=\"'col-' + column.StageID\"\n [cdkDropListData]=\"column\"\n [cdkDropListConnectedTo]=\"ColumnIDsFor(lane.PipelineID, columns)\"\n [cdkDropListEnterPredicate]=\"CanDropInto(column)\"\n (cdkDropListDropped)=\"OnDrop($event, column)\">\n\n @for (deal of column.Cards; track TrackCard($index, deal)) {\n <!--\n The card opens on a click anywhere; for the keyboard its name is a real button, so Enter\n and Space both open it (bizapps-sales#371). The card is not itself a button, because it\n also holds the \"Move to stage\" control and a button may not contain other controls.\n -->\n <article\n class=\"db-card\"\n cdkDrag\n [cdkDragData]=\"deal\"\n [cdkDragDisabled]=\"Moving || !deal.IsOpen\"\n (click)=\"OpenCard(deal)\">\n\n <button type=\"button\" class=\"db-card__name\" [attr.aria-label]=\"'Open ' + deal.Name\"\n (click)=\"$event.stopPropagation(); OpenCard(deal)\">{{ deal.Name }}</button>\n <div class=\"db-card__customer\">\n <i class=\"fa-solid fa-building\" aria-hidden=\"true\"></i> {{ deal.CustomerName }}\n </div>\n\n <div class=\"db-card__figures\">\n <span class=\"db-card__amount\">\n @if (deal.Amount === null) {\n <span class=\"db-card__noamount\" title=\"Amount not set\">\u2014</span>\n } @else {\n {{ deal.Amount | currency:deal.CurrencyCode:'symbol':'1.0-0' }}\n }\n <!--\n BOTH CASES ARE MARKED, and marking only one was the defect. A calculator on the\n priced figure and nothing on the stated one means the reader has to notice an\n ABSENCE to learn anything -- and on data where nothing is priced, no card carries\n a marker at all, so the whole board reads as authoritative. A positive mark on\n each says which it is without anyone having to know the convention.\n -->\n @if (deal.Amount !== null) {\n @if (deal.AmountIsComputed) {\n <i class=\"fa-solid fa-calculator db-card__computed\"\n aria-hidden=\"true\"\n title=\"Calculated automatically\"></i>\n } @else {\n <i class=\"fa-solid fa-pen-nib db-card__stated\"\n aria-hidden=\"true\"\n title=\"Entered manually\"></i>\n }\n }\n </span>\n @if (deal.Probability !== null) {\n <span class=\"db-card__prob\">{{ deal.Probability }}%</span>\n }\n </div>\n\n <div class=\"db-card__foot\">\n <span class=\"db-card__owner\">{{ deal.OwnerEmployee?.trim() || 'No owner' }}</span>\n <span class=\"db-card__close\">\n @if (CardClosed(deal)) {\n <span class=\"db-card__closed\">Closed</span>\n }\n <span class=\"db-card__day\">{{ CardDayLabel(deal) || 'No date' }}</span>\n </span>\n </div>\n\n @if (IdleFor(deal); as idle) {\n <!-- Past the stage's Rotting Days (bizapps-sales#450). Icon AND words, so colour is not\n the only signal, and the words are what a screen reader reads. -->\n <div class=\"db-card__idle\" [title]=\"idle.Label\">\n <i class=\"fa-solid fa-hourglass-end\" aria-hidden=\"true\"></i>\n <span>Stalled {{ idle.Days }} days (limit {{ idle.Limit }})</span>\n </div>\n }\n\n @if (MoveTargets(columns, deal); as targets) {\n @if (targets.length) {\n <!-- The keyboard path to a stage change (bizapps-sales#371). Pick, then Move: a select\n that saved on change would move the deal on a stray arrow key. Clicks and keys stay\n here, so they neither open the deal nor start a drag. -->\n <div class=\"db-card__move\" (click)=\"$event.stopPropagation()\" (mousedown)=\"$event.stopPropagation()\"\n (keydown)=\"$event.stopPropagation()\">\n <select class=\"db-card__move-select\" [attr.aria-label]=\"'Stage to move ' + deal.Name + ' to'\"\n [disabled]=\"Moving\"\n [ngModel]=\"PendingMove.get(deal.ID) ?? ''\"\n (ngModelChange)=\"PendingMove.set(deal.ID, $event)\">\n <option value=\"\">Move to stage\u2026</option>\n @for (t of targets; track t.StageID) {\n <option [value]=\"t.StageID\">{{ t.Label }}</option>\n }\n </select>\n <button type=\"button\" class=\"db-card__move-go\" [disabled]=\"Moving || !PendingMove.get(deal.ID)\"\n [attr.aria-label]=\"'Move ' + deal.Name\" (click)=\"MoveToPicked(deal)\">Move</button>\n </div>\n }\n }\n\n <div class=\"db-card__ghost\" *cdkDragPreview>{{ deal.Name }}</div>\n </article>\n }\n\n @if (column.Cards.length === 0) {\n <p class=\"db-col__empty\">\n @if (column.IsClosing) { Close deals from the deal form. } @else { Nothing here. }\n </p>\n }\n </div>\n </section>\n }\n </div>\n\n @if (lane.Unstaged.length > 0) {\n <!-- Deals with no stage would otherwise be invisible on a board built from stage columns, and\n \"missing from the board\" is indistinguishable from \"does not exist\". -->\n <section class=\"db-unstaged\">\n <h4 class=\"db-unstaged__head\">\n <i class=\"fa-solid fa-circle-question\" aria-hidden=\"true\"></i>\n No stage set ({{ lane.Unstaged.length }})\n </h4>\n <div class=\"db-unstaged__list\">\n @for (deal of lane.Unstaged; track TrackCard($index, deal)) {\n <button type=\"button\" class=\"db-chip\" (click)=\"OpenCard(deal)\">\n {{ deal.Name }}\n </button>\n }\n </div>\n </section>\n }\n }\n </div>\n }\n </div>\n }\n</div>\n", styles: ["/*\n Board styles.\n\n SEMANTIC TOKENS ONLY \u2014 the same `--mj-*` set the workspace uses, so the board inherits dark mode rather\n than needing its own. No hardcoded colour appears in this file.\n*/\n\n.db {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n min-height: 0;\n}\n\n/* \u2500\u2500 Pipeline switcher \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-bar {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n flex-wrap: wrap;\n}\n\n.db-bar__label {\n font-size: 0.8125rem;\n color: var(--mj-text-muted);\n}\n\n.db-bar__one {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.db-bar__pipes {\n display: flex;\n flex-wrap: wrap;\n gap: 0.25rem;\n}\n\n.db-bar__busy {\n font-size: 0.8125rem;\n color: var(--mj-text-secondary);\n}\n\n.db-pipe {\n padding: 0.3rem 0.75rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n cursor: pointer;\n}\n\n.db-pipe:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-pipe--on {\n border-color: var(--mj-brand-primary);\n color: var(--mj-brand-primary);\n font-weight: 600;\n}\n\n.db-msg {\n margin: 0;\n padding: 0.5rem 0.75rem;\n border: 1px solid var(--mj-status-warning-border);\n border-radius: 4px;\n color: var(--mj-status-warning);\n font-size: 0.8125rem;\n}\n\n.db-empty {\n color: var(--mj-text-muted);\n font-size: 0.875rem;\n}\n\n/* \u2500\u2500 Columns \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/*\n Horizontal scroll lives HERE rather than on the page: a board with eight stages must not make the whole\n shell scroll sideways, which would drag the rail and the header out of view.\n*/\n.db-scroll {\n overflow-x: auto;\n padding-bottom: 0.5rem;\n}\n\n/*\n The bar above the columns. It scrolls an empty spacer as wide as the board, and the component keeps it\n in step with .db-scroll. Sticky so it stays in reach while a tall board is scrolled down; hidden by the\n component when the board fits.\n*/\n.db-topscroll {\n position: sticky;\n top: 0;\n z-index: 1;\n overflow-x: auto;\n overflow-y: hidden;\n background: var(--mj-bg-page);\n}\n\n.db-topscroll__spacer {\n height: 1px;\n}\n\n/*\n Styled so the bar always shows. macOS hides an unstyled scrollbar until the area is scrolled, which\n left this one invisible, and a bar nobody can see cannot be grabbed.\n*/\n/*\n Chrome ignores the ::-webkit-scrollbar styling below whenever scrollbar-color is set, and Explorer sets\n it on an ancestor, so it is reset here. Firefox has no ::-webkit-scrollbar and takes the block after.\n*/\n.db-topscroll {\n scrollbar-color: auto;\n scrollbar-width: auto;\n}\n\n@supports not selector(::-webkit-scrollbar) {\n .db-topscroll {\n scrollbar-width: thin;\n scrollbar-color: var(--mj-border-strong) var(--mj-bg-surface-sunken);\n }\n}\n\n.db-topscroll::-webkit-scrollbar {\n height: 10px;\n}\n\n.db-topscroll::-webkit-scrollbar-track {\n background: var(--mj-bg-surface-sunken);\n border-radius: 5px;\n}\n\n.db-topscroll::-webkit-scrollbar-thumb {\n background: var(--mj-border-strong);\n border-radius: 5px;\n}\n\n/*\n Lanes stack; the scroller is as wide as the widest, so every lane scrolls together. Each lane spans\n the full scroll width so its heading can stay pinned on the left while the columns move.\n*/\n.db-lane {\n min-width: 100%;\n width: max-content;\n}\n\n.db-scroll .db-lane + .db-lane {\n margin-top: 1rem;\n}\n\n.db-lane__head {\n position: sticky;\n left: 0;\n width: fit-content;\n max-width: 48rem;\n margin: 0 0 0.5rem;\n font-size: 0.875rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.db-lane__count {\n margin-left: 0.375rem;\n font-size: 0.75rem;\n font-weight: 400;\n color: var(--mj-text-muted);\n}\n\n.db-cols {\n display: flex;\n gap: 0.75rem;\n width: max-content;\n align-items: flex-start;\n}\n\n.db-col {\n flex: 0 0 15rem;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n min-height: 8rem;\n}\n\n/*\n A closing column is visibly inert \u2014 it accepts no drops, and should not invite one. Dashed border and\n a sunken background, not opacity: fading the column lowered its text contrast (bizapps-sales#371).\n*/\n.db-col--closing {\n border-style: dashed;\n background: var(--mj-bg-surface-sunken);\n}\n\n.db-col__head {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.625rem;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.db-col__name {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-col__lock {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-col__meta {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-col__count {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-col__total {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n font-variant-numeric: tabular-nums;\n}\n\n/* A total that nobody priced still reads as a figure -- this keeps it from reading as a FINAL one. */\n.db-col__total--stated {\n font-style: italic;\n}\n\n.db-col__partial {\n font-size: 0.6875rem;\n color: var(--mj-status-warning);\n}\n\n.db-col__drop {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.5rem;\n min-height: 4rem;\n}\n\n.db-col__empty {\n margin: 0;\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n text-align: center;\n padding: 0.75rem 0.25rem;\n}\n\n/* \u2500\u2500 Cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-card {\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n padding: 0.5rem 0.625rem;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\n.db-card:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-card:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n.db-card__name {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.25;\n /* A button for the keyboard; it reads as the card's title. */\n background: none;\n border: 0;\n padding: 0;\n text-align: left;\n font-family: inherit;\n cursor: pointer;\n}\n\n.db-card__name:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n/* Past the stage's Rotting Days. Icon and words carry it; the colour only reinforces. */\n.db-card__idle {\n display: flex;\n align-items: center;\n gap: 0.3rem;\n font-size: 0.6875rem;\n color: var(--mj-status-warning);\n}\n\n.db-card__move {\n display: flex;\n gap: 0.25rem;\n margin-top: 0.125rem;\n}\n\n.db-card__move-select {\n flex: 1 1 auto;\n min-width: 0;\n padding: 0.125rem 0.25rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.6875rem;\n}\n\n.db-card__move-go {\n padding: 0.125rem 0.5rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-primary);\n font-size: 0.6875rem;\n cursor: pointer;\n}\n\n.db-card__move-go:disabled {\n cursor: default;\n color: var(--mj-text-muted);\n}\n\n.db-card__customer {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.db-card__figures {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-card__amount {\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n font-variant-numeric: tabular-nums;\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n/*\n * The two provenance markers are deliberately the SAME weight as each other.\n *\n * Making the stated one louder would read as an error, which it is not -- a stated amount is a\n * legitimate answer, just a different kind of fact from a priced one. Making it quieter would put us\n * back where we started, with the reader learning nothing unless they notice an absence.\n */\n.db-card__stated,\n.db-card__noamount,\n.db-card__computed {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-card__prob {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__foot {\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n font-size: 0.6875rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__owner,\n.db-card__close {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.db-card__closed {\n margin-right: 0.25em;\n}\n\n.db-card__ghost {\n padding: 0.375rem 0.625rem;\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-brand-primary);\n border-radius: 4px;\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n}\n\n/* \u2500\u2500 Unstaged \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-unstaged {\n border-top: 1px solid var(--mj-border-default);\n padding-top: 0.625rem;\n}\n\n.db-unstaged__head {\n margin: 0 0 0.375rem;\n font-size: 0.75rem;\n font-weight: 600;\n color: var(--mj-text-muted);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-unstaged__list {\n display: flex;\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.db-chip {\n padding: 0.25rem 0.625rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.75rem;\n cursor: pointer;\n}\n\n.db-chip:hover {\n background: var(--mj-bg-surface-hover);\n}\n"] }]
1119
1142
  }], null, { Deals: [{
1120
1143
  type: Input
1121
1144
  }], Pipelines: [{
@@ -1150,5 +1173,5 @@ export class DealBoardComponent {
1150
1173
  type: ViewChild,
1151
1174
  args: ['topBarSpacer']
1152
1175
  }] }); })();
1153
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DealBoardComponent, { className: "DealBoardComponent", filePath: "lib/board/deal-board.component.ts", lineNumber: 267 }); })();
1176
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DealBoardComponent, { className: "DealBoardComponent", filePath: "lib/board/deal-board.component.ts", lineNumber: 298 }); })();
1154
1177
  //# sourceMappingURL=deal-board.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deal-board.component.js","sourceRoot":"","sources":["../../../src/lib/board/deal-board.component.ts","../../../src/lib/board/deal-board.component.html"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAE,OAAO,EAAe,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAEH,iBAAiB,EACjB,SAAS,EAET,YAAY,EACZ,KAAK,EACL,MAAM,EACN,SAAS,EACT,MAAM,GACT,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAsB,MAAM,qCAAqC,CAAC;AACzH,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,aAAa,EAAwB,MAAM,2BAA2B,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K;;kBA8PL,SAAS;mBAAC,UAAU;;kBACpB,SAAS;mBAAC,QAAQ;;kBAClB,SAAS;mBAAC,cAAc;;kFA1ShB,kBAAkB"}
1
+ {"version":3,"file":"deal-board.component.js","sourceRoot":"","sources":["../../../src/lib/board/deal-board.component.ts","../../../src/lib/board/deal-board.component.html"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,OAAO,EAAE,OAAO,EAAe,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAEH,iBAAiB,EACjB,SAAS,EAET,YAAY,EACZ,KAAK,EACL,MAAM,EACN,SAAS,EACT,MAAM,GACT,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAsB,MAAM,qCAAqC,CAAC;AACzH,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEhF,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,aAAa,EAAwB,MAAM,2BAA2B,CAAC;AACxK,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;ICzBvC,kCAMwC;IAAtC,yOAAS,qCAA2B,KAAC;IACrC,YACF;IAAA,iBAAS;;;;;;IAJP,oFAA8D;;IAG9D,cACF;IADE,6DACF;;;;IAtBJ,kBAAqB;IAGnB,AAFF,8BAA+F,iBASpD;IAAvC,qMAAS,0CAA4B,KAAC;IACtC,+BACF;IAAA,iBAAS;IACT,qHAUC;IACH,iBAAM;;;;mBAxBN,gCAAqB;IAQjB,eAAyB;IA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BAAwB,CAAC;IAC3D;;;;;OAKG;IACI,WAAW,CAAC,MAAmB;QAClC,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACpC,CAAC;IAED,0EAA0E;IACnE,YAAY,CAAC,MAAmB;QACnC,OAAO,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAEM,WAAW,GAAG,CAAC,CAAS,EAAE,MAAmB,EAAU,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC;4GAjgBvE,kBAAkB;6DAAlB,kBAAkB;;;;;;;;YCvR7B,AAXF,8BAAgB,aAWM;YAClB,kBAAwB;YACxB,0EAAsB;YAgCtB,qFAAc;YAGhB,iBAAM;YAEN,kFAAe;YAMf,kBAAkB;YAShB,AARF,kFAA0B,oDAQjB;YAgOX,iBAAM;;YArRF,eAAwB;YAAxB,+BAAwB;YACxB,cA+BC;YA/BD,6CA+BC;YACD,cAEC;YAFD,qCAEC;YAGH,cAIC;YAJD,sCAIC;YAED,cAAkB;8BAAlB,wBAAkB;YAClB,cAuOC;YAvOD,gDAuOC;4BDFW,YAAY,EAAE,WAAW,gHAAE,WAAW,EAAE,OAAO;;iFAIhD,kBAAkB;cAP9B,SAAS;2BACI,gBAAgB,cACd,IAAI,WACP,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,CAAC;;kBAUzD,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBACL,KAAK;;kBAKL,KAAK;;kBAGL,MAAM;;kBAEN,MAAM;;kBAON,KAAK;;kBACL,KAAK;;kBAOL,KAAK;;kBACL,MAAM;;kBAON,KAAK;;kBA+PL,SAAS;mBAAC,UAAU;;kBACpB,SAAS;mBAAC,QAAQ;;kBAClB,SAAS;mBAAC,cAAc;;kFA3ShB,kBAAkB"}
@@ -16,7 +16,7 @@ export declare function DealFieldsWithHelp(): string[];
16
16
  /** Help for the fields of a deal's product line: the line editor and the line cards. */
17
17
  export declare const DEAL_LINE_HELP: {
18
18
  readonly Product: "The product or service sold. Lists only active products currently available for sale.";
19
- readonly Quantity: "The number of units sold, such as seats or licenses. Orders multiplies it by the unit price. Some products change price at higher quantities.";
19
+ readonly Quantity: "The number of units sold, such as seats or licenses. The line total is the quantity times the unit price. Some products change price at higher quantities.";
20
20
  readonly Discount: "A discount on this line, as a percent or a dollar amount. Adding or raising a discount requires a reason, and the order cannot be confirmed until the discount is approved.";
21
21
  readonly DiscountReasonCategory: "The type of reason for the discount. Required when you add or raise a discount.";
22
22
  readonly DiscountReason: "Why you are giving the discount. Required when you add or raise a discount.";
@@ -27,7 +27,7 @@ export declare const DEAL_LINE_HELP: {
27
27
  readonly ServiceStart: "The first day of service delivery. Revenue recognition uses the service period, so the order cannot be confirmed without both dates.";
28
28
  readonly ServiceEnd: "The last day of service delivery. Must fall on or after the service start.";
29
29
  readonly ExistingSubscription: "The customer already has a subscription for this product. Choose whether this line renews it or starts a separate subscription. Unless the deal is a renewal, you must choose before closing it as won.";
30
- readonly UnitPrice: "The price of one unit, calculated by Orders. To change it, choose another price or add a discount.";
31
- readonly LineTotal: "Quantity times unit price, less any discount. Calculated by Orders.";
30
+ readonly UnitPrice: "The price of one unit, calculated from the product's pricing. To change it, select another price or apply a discount.";
31
+ readonly LineTotal: "Quantity times unit price, less any discount.";
32
32
  };
33
33
  //# sourceMappingURL=deal-field-help.d.ts.map
@@ -30,12 +30,12 @@ const DEAL_FIELD_HELP = {
30
30
  LeadSourceTypeID: 'How the deal originated, such as a referral or an event. For reference only.',
31
31
  LeadSourceDetail: 'The specific source, such as the event name or the referring person. For reference only.',
32
32
  // Commercial
33
- Amount: 'The deal\'s total value. Once the deal has products, Orders calculates the amount and replaces any typed value. Type an amount only on a deal without products.',
33
+ Amount: 'The deal\'s total value. Once the deal has products, the amount is calculated automatically and replaces any typed value. Type an amount only on a deal without products.',
34
34
  CurrencyID: 'The currency of the deal\'s amounts. Defaults to the selling company\'s currency.',
35
35
  TermMonths: 'The agreement length in months. For reference only. Each product determines its own subscription term.',
36
36
  EstimatedProjectWeeks: 'The estimated project length in weeks, per the statement of work. For reference only. Does not affect terms or renewal dates.',
37
- MRR: 'Monthly recurring revenue. You enter it; Orders does not calculate it.',
38
- ARR: 'Annual recurring revenue. You enter it; Orders does not calculate it.',
37
+ MRR: 'Monthly recurring revenue. Entered manually, not calculated.',
38
+ ARR: 'Annual recurring revenue. Entered manually, not calculated.',
39
39
  StartDate: 'The expected service start. For reference only. A subscription starts on its product line\'s Term start, not on this date.',
40
40
  ExecutionDate: 'The date the agreement was signed. For reference only. Can fall after the start date when work begins before signature.',
41
41
  AutoRenew: 'Whether the agreement renews automatically when its term ends. Winning the deal copies it to the contract.',
@@ -69,7 +69,7 @@ export function DealFieldsWithHelp() {
69
69
  /** Help for the fields of a deal's product line: the line editor and the line cards. */
70
70
  export const DEAL_LINE_HELP = {
71
71
  Product: 'The product or service sold. Lists only active products currently available for sale.',
72
- Quantity: 'The number of units sold, such as seats or licenses. Orders multiplies it by the unit price. Some products change price at higher quantities.',
72
+ Quantity: 'The number of units sold, such as seats or licenses. The line total is the quantity times the unit price. Some products change price at higher quantities.',
73
73
  Discount: 'A discount on this line, as a percent or a dollar amount. Adding or raising a discount requires a reason, and the order cannot be confirmed until the discount is approved.',
74
74
  DiscountReasonCategory: 'The type of reason for the discount. Required when you add or raise a discount.',
75
75
  DiscountReason: 'Why you are giving the discount. Required when you add or raise a discount.',
@@ -80,7 +80,7 @@ export const DEAL_LINE_HELP = {
80
80
  ServiceStart: 'The first day of service delivery. Revenue recognition uses the service period, so the order cannot be confirmed without both dates.',
81
81
  ServiceEnd: 'The last day of service delivery. Must fall on or after the service start.',
82
82
  ExistingSubscription: 'The customer already has a subscription for this product. Choose whether this line renews it or starts a separate subscription. Unless the deal is a renewal, you must choose before closing it as won.',
83
- UnitPrice: 'The price of one unit, calculated by Orders. To change it, choose another price or add a discount.',
84
- LineTotal: 'Quantity times unit price, less any discount. Calculated by Orders.',
83
+ UnitPrice: 'The price of one unit, calculated from the product\'s pricing. To change it, select another price or apply a discount.',
84
+ LineTotal: 'Quantity times unit price, less any discount.',
85
85
  };
86
86
  //# sourceMappingURL=deal-field-help.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"deal-field-help.js","sourceRoot":"","sources":["../../../src/lib/form-panels/deal-field-help.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,2DAA2D;AAC3D,MAAM,eAAe,GAAqC;IACtD,mBAAmB;IACnB,SAAS,EACL,wJAAwJ;IAC5J,SAAS,EACL,oGAAoG;IACxG,eAAe,EACX,sGAAsG;IAC1G,gBAAgB,EACZ,0JAA0J;IAC9J,gBAAgB,EACZ,mJAAmJ;IAEvJ,WAAW;IACX,eAAe,EACX,8IAA8I;IAClJ,UAAU,EACN,6HAA6H;IACjI,eAAe,EACX,4MAA4M;IAChN,gBAAgB,EACZ,yIAAyI;IAC7I,UAAU,EACN,uKAAuK;IAC3K,sBAAsB,EAClB,mKAAmK;IACvK,WAAW,EACP,2LAA2L;IAC/L,YAAY,EACR,yHAAyH;IAC7H,iBAAiB,EACb,0JAA0J;IAC9J,gBAAgB,EACZ,8EAA8E;IAClF,gBAAgB,EACZ,0FAA0F;IAE9F,aAAa;IACb,MAAM,EACF,iKAAiK;IACrK,UAAU,EACN,mFAAmF;IACvF,UAAU,EACN,wGAAwG;IAC5G,qBAAqB,EACjB,+HAA+H;IACnI,GAAG,EACC,wEAAwE;IAC5E,GAAG,EACC,uEAAuE;IAC3E,SAAS,EACL,4HAA4H;IAChI,aAAa,EACT,yHAAyH;IAC7H,SAAS,EACL,4GAA4G;IAChH,aAAa,EACT,kHAAkH;IACtH,WAAW,EACP,kEAAkE;IAEtE,SAAS;IACT,QAAQ,EACJ,8GAA8G;IAClH,YAAY,EACR,oFAAoF;IACxF,OAAO,EACH,oFAAoF;IACxF,UAAU,EACN,oFAAoF;IACxF,gBAAgB,EACZ,sDAAsD;IAC1D,iBAAiB,EACb,6GAA6G;IAEjH,QAAQ;IACR,eAAe,EACX,sKAAsK;IAC1K,QAAQ,EACJ,mFAAmF;IACvF,cAAc,EACV,gFAAgF;IACpF,YAAY,EACR,0DAA0D;IAC9D,SAAS,EACL,8GAA8G;IAClH,yBAAyB,EACrB,0JAA0J;IAC9J,yBAAyB,EACrB,+KAA+K;IACnL,8BAA8B,EAC1B,oKAAoK;CAC3K,CAAC;AAEF,kEAAkE;AAClE,MAAM,UAAU,aAAa,CAAC,SAAiB;IAC3C,OAAO,eAAe,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC;AAC9C,CAAC;AAED,mGAAmG;AACnG,MAAM,UAAU,kBAAkB;IAC9B,OAAO,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;AACxC,CAAC;AAED,wFAAwF;AACxF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,OAAO,EACH,uFAAuF;IAC3F,QAAQ,EACJ,+IAA+I;IACnJ,QAAQ,EACJ,6KAA6K;IACjL,sBAAsB,EAClB,iFAAiF;IACrF,cAAc,EACV,6EAA6E;IACjF,KAAK,EACD,+GAA+G;IACnH,WAAW,EACP,wIAAwI;IAC5I,SAAS,EACL,kRAAkR;IACtR,gBAAgB,EACZ,qIAAqI;IACzI,YAAY,EACR,sIAAsI;IAC1I,UAAU,EACN,4EAA4E;IAChF,oBAAoB,EAChB,yMAAyM;IAC7M,SAAS,EACL,oGAAoG;IACxG,SAAS,EACL,qEAAqE;CACnE,CAAC"}
1
+ {"version":3,"file":"deal-field-help.js","sourceRoot":"","sources":["../../../src/lib/form-panels/deal-field-help.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,2DAA2D;AAC3D,MAAM,eAAe,GAAqC;IACtD,mBAAmB;IACnB,SAAS,EACL,wJAAwJ;IAC5J,SAAS,EACL,oGAAoG;IACxG,eAAe,EACX,sGAAsG;IAC1G,gBAAgB,EACZ,0JAA0J;IAC9J,gBAAgB,EACZ,mJAAmJ;IAEvJ,WAAW;IACX,eAAe,EACX,8IAA8I;IAClJ,UAAU,EAC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