@mj-biz-apps/orders-ng 5.43.0 → 5.45.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 (100) hide show
  1. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js +6 -5
  2. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js.map +1 -1
  3. package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +4 -0
  4. package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -1
  5. package/dist/lib/custom/OrderHeader/order-header-form.component.js +330 -297
  6. package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -1
  7. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +6 -0
  8. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
  9. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +130 -46
  10. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
  11. package/dist/lib/custom/PaymentHeader/change-payment-date.component.d.ts +30 -0
  12. package/dist/lib/custom/PaymentHeader/change-payment-date.component.d.ts.map +1 -0
  13. package/dist/lib/custom/PaymentHeader/change-payment-date.component.js +156 -0
  14. package/dist/lib/custom/PaymentHeader/change-payment-date.component.js.map +1 -0
  15. package/dist/lib/custom/PaymentHeader/order-payment-dates.component.d.ts +26 -0
  16. package/dist/lib/custom/PaymentHeader/order-payment-dates.component.d.ts.map +1 -0
  17. package/dist/lib/custom/PaymentHeader/order-payment-dates.component.js +149 -0
  18. package/dist/lib/custom/PaymentHeader/order-payment-dates.component.js.map +1 -0
  19. package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts +2 -0
  20. package/dist/lib/custom/PaymentHeader/payment-header-form.component.d.ts.map +1 -1
  21. package/dist/lib/custom/PaymentHeader/payment-header-form.component.js +398 -378
  22. package/dist/lib/custom/PaymentHeader/payment-header-form.component.js.map +1 -1
  23. package/dist/lib/custom/Product/product-save-guard-form.component.js +74 -72
  24. package/dist/lib/custom/Product/product-save-guard-form.component.js.map +1 -1
  25. package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js +16 -9
  26. package/dist/lib/custom/Product/widgets/product-accounting-widget.component.js.map +1 -1
  27. package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.d.ts +54 -0
  28. package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.d.ts.map +1 -0
  29. package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.js +254 -0
  30. package/dist/lib/custom/Product/widgets/product-effective-gl-accounts.component.js.map +1 -0
  31. package/dist/lib/custom/Product/widgets/product-gl-links.component.d.ts +7 -4
  32. package/dist/lib/custom/Product/widgets/product-gl-links.component.d.ts.map +1 -1
  33. package/dist/lib/custom/Product/widgets/product-gl-links.component.js +14 -5
  34. package/dist/lib/custom/Product/widgets/product-gl-links.component.js.map +1 -1
  35. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts +7 -0
  36. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts.map +1 -1
  37. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js +54 -32
  38. package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js.map +1 -1
  39. package/dist/lib/custom/custom-forms.module.d.ts +23 -20
  40. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  41. package/dist/lib/custom/custom-forms.module.js +17 -1
  42. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  43. package/dist/lib/data/orders-queries.d.ts +35 -3
  44. package/dist/lib/data/orders-queries.d.ts.map +1 -1
  45. package/dist/lib/data/orders-queries.js +56 -5
  46. package/dist/lib/data/orders-queries.js.map +1 -1
  47. package/dist/lib/form-panels/catalog-overviews.panels.js +8 -8
  48. package/dist/lib/form-panels/catalog-overviews.panels.js.map +1 -1
  49. package/dist/lib/form-panels/commercial-overviews.panels.js +5 -5
  50. package/dist/lib/form-panels/document-forms.module.d.ts +20 -19
  51. package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -1
  52. package/dist/lib/form-panels/document-forms.module.js +8 -1
  53. package/dist/lib/form-panels/document-forms.module.js.map +1 -1
  54. package/dist/lib/form-panels/document-hero.component.js +2 -2
  55. package/dist/lib/form-panels/document-overviews.panels.js +7 -7
  56. package/dist/lib/form-panels/lookup-headers.panels.js +10 -10
  57. package/dist/lib/form-panels/order-access-overrides.panel.js +2 -2
  58. package/dist/lib/form-panels/overview-cards.component.js +2 -2
  59. package/dist/lib/form-panels/payment-header.panel.js +2 -2
  60. package/dist/lib/form-panels/price-list-header.panel.js +2 -2
  61. package/dist/lib/form-panels/product-header.panel.d.ts +37 -10
  62. package/dist/lib/form-panels/product-header.panel.d.ts.map +1 -1
  63. package/dist/lib/form-panels/product-header.panel.js +253 -59
  64. package/dist/lib/form-panels/product-header.panel.js.map +1 -1
  65. package/dist/lib/form-panels/product-readiness.d.ts +34 -0
  66. package/dist/lib/form-panels/product-readiness.d.ts.map +1 -0
  67. package/dist/lib/form-panels/product-readiness.js +34 -0
  68. package/dist/lib/form-panels/product-readiness.js.map +1 -0
  69. package/dist/lib/form-panels/product-rev-rec-field.component.d.ts +29 -0
  70. package/dist/lib/form-panels/product-rev-rec-field.component.d.ts.map +1 -0
  71. package/dist/lib/form-panels/product-rev-rec-field.component.js +115 -0
  72. package/dist/lib/form-panels/product-rev-rec-field.component.js.map +1 -0
  73. package/dist/lib/form-panels/product-widget.panels.d.ts +12 -0
  74. package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -1
  75. package/dist/lib/form-panels/product-widget.panels.js +165 -75
  76. package/dist/lib/form-panels/product-widget.panels.js.map +1 -1
  77. package/dist/lib/form-panels/promotion-header.panel.js +2 -2
  78. package/dist/lib/form-panels/subscription-header.panel.js +2 -2
  79. package/dist/lib/form-panels/subscription-revrec.panel.js +2 -2
  80. package/dist/lib/form-panels/subscription-term-header.panel.js +2 -2
  81. package/dist/lib/form-panels/subscription-term-revrec.panel.js +2 -2
  82. package/dist/lib/form-panels/subscription-terms.panel.js +2 -2
  83. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +8 -6
  84. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -1
  85. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +107 -105
  86. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -1
  87. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +74 -72
  88. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -1
  89. package/dist/lib/pages/receivables/external-invoicing-queue.page.d.ts.map +1 -1
  90. package/dist/lib/pages/receivables/external-invoicing-queue.page.js +2 -1
  91. package/dist/lib/pages/receivables/external-invoicing-queue.page.js.map +1 -1
  92. package/dist/lib/pages/receivables/progress.page.d.ts +10 -7
  93. package/dist/lib/pages/receivables/progress.page.d.ts.map +1 -1
  94. package/dist/lib/pages/receivables/progress.page.js +20 -25
  95. package/dist/lib/pages/receivables/progress.page.js.map +1 -1
  96. package/dist/lib/panels/product-lookup-names.d.ts +29 -0
  97. package/dist/lib/panels/product-lookup-names.d.ts.map +1 -1
  98. package/dist/lib/panels/product-lookup-names.js +58 -2
  99. package/dist/lib/panels/product-lookup-names.js.map +1 -1
  100. package/package.json +7 -7
@@ -0,0 +1,29 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { FormNavigationEvent } from '@memberjunction/ng-base-forms';
3
+ import type { mjBizAppsOrdersProductEntity } from '@mj-biz-apps/orders-entities';
4
+ import { type ProductLookupNames } from '../panels/product-lookup-names.js';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Read-mode value of a Product's revenue recognition type in the Accounting section
8
+ * (bc-aidp-next-golive#436).
9
+ *
10
+ * `mj-form-field` shows an FK by the record's virtual `RevenueRecognitionType` name, which can
11
+ * still read the old type after the id moved (walkthrough Pin 28). The header resolved the name by
12
+ * id, so the form showed two values for one field. This shows the header's value — same lookup,
13
+ * same type-default fallback booking uses — and says when it comes from the product type. Edit mode
14
+ * keeps `mj-form-field`, whose picker writes the id.
15
+ */
16
+ export declare class MJOProductRevRecFieldComponent {
17
+ Record: mjBizAppsOrdersProductEntity;
18
+ Navigate: EventEmitter<FormNavigationEvent>;
19
+ private cdr;
20
+ private lookups;
21
+ get Names(): ProductLookupNames;
22
+ get Source(): string | null;
23
+ /** The label `mj-form-field` gives this field in edit mode, so the row reads the same in both. */
24
+ get Label(): string;
25
+ OnLinkClick(event: MouseEvent): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJOProductRevRecFieldComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJOProductRevRecFieldComponent, "mjo-product-rev-rec-field", never, { "Record": { "alias": "Record"; "required": false; }; }, { "Navigate": "Navigate"; }, never, never, false, never>;
28
+ }
29
+ //# sourceMappingURL=product-rev-rec-field.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-rev-rec-field.component.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/product-rev-rec-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,EAAyB,MAAM,eAAe,CAAC;AAElG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAEjF,OAAO,EAAsD,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;;AAE7H;;;;;;;;;GASG;AACH,qBAuDa,8BAA8B;IACvB,MAAM,EAAG,4BAA4B,CAAC;IACrC,QAAQ,oCAA2C;IAEpE,OAAO,CAAC,GAAG,CAAiD;IAC5D,OAAO,CAAC,OAAO,CAAiE;IAEhF,IAAW,KAAK,IAAI,kBAAkB,CAErC;IAED,IAAW,MAAM,IAAI,MAAM,GAAG,IAAI,CAEjC;IAED,kGAAkG;IAClG,IAAW,KAAK,IAAI,MAAM,CAMzB;IAEM,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCAxBlC,8BAA8B;2CAA9B,8BAA8B;CAoC1C"}
@@ -0,0 +1,115 @@
1
+ import { ChangeDetectorRef, Component, EventEmitter, Input, Output, inject } from '@angular/core';
2
+ import { CompositeKey, KeyValuePair } from '@memberjunction/core';
3
+ import { MJO_ENTITIES } from '../data/entity-names.js';
4
+ import { ProductLookupNamesTracker, REV_REC_FROM_TYPE_LABEL } from '../panels/product-lookup-names.js';
5
+ import * as i0 from "@angular/core";
6
+ function MJOProductRevRecFieldComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
7
+ const _r1 = i0.ɵɵgetCurrentView();
8
+ i0.ɵɵelementStart(0, "a", 5);
9
+ i0.ɵɵlistener("click", function MJOProductRevRecFieldComponent_Conditional_4_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnLinkClick($event)); });
10
+ i0.ɵɵtext(1);
11
+ i0.ɵɵelementEnd();
12
+ } if (rf & 2) {
13
+ const ctx_r1 = i0.ɵɵnextContext();
14
+ i0.ɵɵadvance();
15
+ i0.ɵɵtextInterpolate(ctx_r1.Names.RevRec);
16
+ } }
17
+ function MJOProductRevRecFieldComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
18
+ i0.ɵɵtext(0);
19
+ } if (rf & 2) {
20
+ const ctx_r1 = i0.ɵɵnextContext();
21
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.Names.RevRec, " ");
22
+ } }
23
+ function MJOProductRevRecFieldComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
24
+ i0.ɵɵelementStart(0, "span", 4);
25
+ i0.ɵɵtext(1);
26
+ i0.ɵɵelementEnd();
27
+ } if (rf & 2) {
28
+ const ctx_r1 = i0.ɵɵnextContext();
29
+ i0.ɵɵadvance();
30
+ i0.ɵɵtextInterpolate(ctx_r1.Source);
31
+ } }
32
+ /**
33
+ * Read-mode value of a Product's revenue recognition type in the Accounting section
34
+ * (bc-aidp-next-golive#436).
35
+ *
36
+ * `mj-form-field` shows an FK by the record's virtual `RevenueRecognitionType` name, which can
37
+ * still read the old type after the id moved (walkthrough Pin 28). The header resolved the name by
38
+ * id, so the form showed two values for one field. This shows the header's value — same lookup,
39
+ * same type-default fallback booking uses — and says when it comes from the product type. Edit mode
40
+ * keeps `mj-form-field`, whose picker writes the id.
41
+ */
42
+ export class MJOProductRevRecFieldComponent {
43
+ Record;
44
+ Navigate = new EventEmitter();
45
+ cdr = inject(ChangeDetectorRef, { optional: true });
46
+ lookups = new ProductLookupNamesTracker(() => this.cdr?.markForCheck());
47
+ get Names() {
48
+ return this.lookups.For(this.Record);
49
+ }
50
+ get Source() {
51
+ return this.Names.RevRecFromType ? REV_REC_FROM_TYPE_LABEL : null;
52
+ }
53
+ /** The label `mj-form-field` gives this field in edit mode, so the row reads the same in both. */
54
+ get Label() {
55
+ const field = this.Record?.EntityInfo?.Fields?.find((f) => f.Name === 'RevenueRecognitionTypeID');
56
+ const nameField = field?.RelatedEntityNameFieldMap
57
+ ? this.Record.EntityInfo.Fields.find((f) => f.Name === field.RelatedEntityNameFieldMap)
58
+ : undefined;
59
+ return nameField?.DisplayNameOrName ?? field?.DisplayNameOrName ?? 'Revenue Recognition Type';
60
+ }
61
+ OnLinkClick(event) {
62
+ event.preventDefault();
63
+ event.stopPropagation();
64
+ const id = this.Names.RevRecID;
65
+ if (!id)
66
+ return;
67
+ this.Navigate.emit({
68
+ Kind: 'record',
69
+ EntityName: MJO_ENTITIES.RevenueRecognitionType,
70
+ PrimaryKey: new CompositeKey([new KeyValuePair('ID', id)]),
71
+ OpenInNewTab: event.ctrlKey || event.metaKey,
72
+ });
73
+ }
74
+ static ɵfac = function MJOProductRevRecFieldComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MJOProductRevRecFieldComponent)(); };
75
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJOProductRevRecFieldComponent, selectors: [["mjo-product-rev-rec-field"]], inputs: { Record: "Record" }, outputs: { Navigate: "Navigate" }, standalone: false, decls: 7, vars: 3, consts: [[1, "mjo-revrec-field"], [1, "mjo-revrec-field__label"], [1, "mjo-revrec-field__value"], ["title", "View related record", 1, "mjo-revrec-field__link"], [1, "mjo-revrec-field__source"], ["title", "View related record", 1, "mjo-revrec-field__link", 3, "click"]], template: function MJOProductRevRecFieldComponent_Template(rf, ctx) { if (rf & 1) {
76
+ i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
77
+ i0.ɵɵtext(2);
78
+ i0.ɵɵelementEnd();
79
+ i0.ɵɵelementStart(3, "span", 2);
80
+ i0.ɵɵconditionalCreate(4, MJOProductRevRecFieldComponent_Conditional_4_Template, 2, 1, "a", 3)(5, MJOProductRevRecFieldComponent_Conditional_5_Template, 1, 1);
81
+ i0.ɵɵconditionalCreate(6, MJOProductRevRecFieldComponent_Conditional_6_Template, 2, 1, "span", 4);
82
+ i0.ɵɵelementEnd()();
83
+ } if (rf & 2) {
84
+ i0.ɵɵadvance(2);
85
+ i0.ɵɵtextInterpolate(ctx.Label);
86
+ i0.ɵɵadvance(2);
87
+ i0.ɵɵconditional(ctx.Names.RevRecID ? 4 : 5);
88
+ i0.ɵɵadvance(2);
89
+ i0.ɵɵconditional(ctx.Source ? 6 : -1);
90
+ } }, styles: ["\n\n .mjo-revrec-field[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 200px 1fr;\n gap: 12px;\n align-items: baseline;\n padding: 8px 0;\n min-width: 0;\n }\n .mjo-revrec-field__label[_ngcontent-%COMP%] {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-secondary);\n padding-top: 2px;\n }\n .mjo-revrec-field__value[_ngcontent-%COMP%] {\n color: var(--mj-text-primary);\n min-width: 0;\n }\n .mjo-revrec-field__link[_ngcontent-%COMP%] {\n color: var(--mj-brand-primary);\n cursor: pointer;\n text-decoration: none;\n }\n .mjo-revrec-field__link[_ngcontent-%COMP%]:hover {\n text-decoration: underline;\n }\n .mjo-revrec-field__source[_ngcontent-%COMP%] {\n margin-left: 8px;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n }"] });
91
+ }
92
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJOProductRevRecFieldComponent, [{
93
+ type: Component,
94
+ args: [{ standalone: false, selector: 'mjo-product-rev-rec-field', template: `
95
+ <div class="mjo-revrec-field">
96
+ <span class="mjo-revrec-field__label">{{ Label }}</span>
97
+ <span class="mjo-revrec-field__value">
98
+ @if (Names.RevRecID) {
99
+ <a class="mjo-revrec-field__link" (click)="OnLinkClick($event)" title="View related record">{{ Names.RevRec }}</a>
100
+ } @else {
101
+ {{ Names.RevRec }}
102
+ }
103
+ @if (Source) {
104
+ <span class="mjo-revrec-field__source">{{ Source }}</span>
105
+ }
106
+ </span>
107
+ </div>
108
+ `, styles: ["\n /* Mirrors mj-form-field's read-mode row so the field lines up with its neighbours. */\n .mjo-revrec-field {\n display: grid;\n grid-template-columns: 200px 1fr;\n gap: 12px;\n align-items: baseline;\n padding: 8px 0;\n min-width: 0;\n }\n .mjo-revrec-field__label {\n font-size: 13px;\n font-weight: 600;\n color: var(--mj-text-secondary);\n padding-top: 2px;\n }\n .mjo-revrec-field__value {\n color: var(--mj-text-primary);\n min-width: 0;\n }\n .mjo-revrec-field__link {\n color: var(--mj-brand-primary);\n cursor: pointer;\n text-decoration: none;\n }\n .mjo-revrec-field__link:hover {\n text-decoration: underline;\n }\n .mjo-revrec-field__source {\n margin-left: 8px;\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n }\n "] }]
109
+ }], null, { Record: [{
110
+ type: Input
111
+ }], Navigate: [{
112
+ type: Output
113
+ }] }); })();
114
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJOProductRevRecFieldComponent, { className: "MJOProductRevRecFieldComponent", filePath: "lib/form-panels/product-rev-rec-field.component.ts", lineNumber: 73 }); })();
115
+ //# sourceMappingURL=product-rev-rec-field.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-rev-rec-field.component.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-rev-rec-field.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGlE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAA2B,MAAM,gCAAgC,CAAC;;;;IAoBzG,4BAA4F;IAA1D,mMAAS,0BAAmB,KAAC;IAA6B,YAAkB;IAAA,iBAAI;;;IAAtB,cAAkB;IAAlB,yCAAkB;;;IAE9G,YACJ;;;IADI,oDACJ;;;IAEI,+BAAuC;IAAA,YAAY;IAAA,iBAAO;;;IAAnB,cAAY;IAAZ,mCAAY;;AAvBvE;;;;;;;;;GASG;AAwDH,MAAM,OAAO,8BAA8B;IACvB,MAAM,CAAgC;IACrC,QAAQ,GAAG,IAAI,YAAY,EAAuB,CAAC;IAE5D,GAAG,GAAG,MAAM,CAAC,iBAAiB,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IACpD,OAAO,GAAG,IAAI,yBAAyB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,GAAG,EAAE,YAAY,EAAE,CAAC,CAAC;IAEhF,IAAW,KAAK;QACZ,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACzC,CAAC;IAED,IAAW,MAAM;QACb,OAAO,IAAI,CAAC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GAAc;YAItB,AADI,iBAAO,EACL;;YAXoC,eAAW;YAAX,+BAAW;YAE7C,eAIC;YAJD,4CAIC;YACD,eAEC;YAFD,qCAEC;;;iFAyCJ,8BAA8B;cAvD1C,SAAS;6BACM,KAAK,YACP,2BAA2B,YAC3B;;;;;;;;;;;;;;KAcT;;kBAuCA,KAAK;;kBACL,MAAM;;kFAFE,8BAA8B"}
@@ -17,6 +17,18 @@ export declare class ProductFulfillmentPanel extends BaseFormPanel<mjBizAppsOrde
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductFulfillmentPanel, never>;
18
18
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductFulfillmentPanel, "mjo-product-fulfillment-panel", never, {}, {}, never, never, false, never>;
19
19
  }
20
+ /**
21
+ * Lifecycle: Status, the availability window and IsSellableNew (golive#433).
22
+ *
23
+ * Status decides whether a product is sellable: the deal and order pickers show Active products
24
+ * only. It sat under Fulfillment, where nobody looked for it, so it moved here with the dates that
25
+ * bound when the product may be sold. The header's Draft banner activates in one click; this is
26
+ * where any other status is set.
27
+ */
28
+ export declare class ProductLifecyclePanel extends BaseFormPanel<mjBizAppsOrdersProductEntity> {
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProductLifecyclePanel, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProductLifecyclePanel, "mjo-product-lifecycle-panel", never, {}, {}, never, never, false, never>;
31
+ }
20
32
  export declare class ProductSubscriptionsPanel extends BaseFormPanel<mjBizAppsOrdersProductEntity> {
21
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductSubscriptionsPanel, never>;
22
34
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductSubscriptionsPanel, "mjo-product-subscriptions-panel", never, {}, {}, never, never, false, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"product-widget.panels.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM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AAC,4BAA4B,CAAC;yCAAzE,qBAAqB;2CAArB,qBAAqB;CAAuD;AAEzF,qBAsEa,yBAA0B,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAA7E,yBAAyB;2CAAzB,yBAAyB;CAAuD"}
@@ -12,8 +12,27 @@ import * as i1 from "@memberjunction/ng-base-forms";
12
12
  import * as i2 from "../custom/Product/widgets/product-pricing-widget.component.js";
13
13
  import * as i3 from "../custom/Product/widgets/product-promotions-widget.component.js";
14
14
  import * as i4 from "../custom/Product/widgets/product-accounting-widget.component.js";
15
- import * as i5 from "../custom/Product/widgets/product-fulfillment-widget.component.js";
16
- import * as i6 from "../custom/Product/widgets/product-subscription-widget.component.js";
15
+ import * as i5 from "./product-rev-rec-field.component.js";
16
+ import * as i6 from "../custom/Product/widgets/product-fulfillment-widget.component.js";
17
+ import * as i7 from "../custom/Product/widgets/product-subscription-widget.component.js";
18
+ function ProductAccountingPanel_Conditional_3_Template(rf, ctx) { if (rf & 1) {
19
+ const _r1 = i0.ɵɵgetCurrentView();
20
+ i0.ɵɵelementStart(0, "mj-form-field", 7);
21
+ i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Conditional_3_Template_mj_form_field_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.FormComponent.OnFormNavigate($event)); });
22
+ i0.ɵɵelementEnd();
23
+ } if (rf & 2) {
24
+ const ctx_r1 = i0.ɵɵnextContext();
25
+ i0.ɵɵproperty("Record", ctx_r1.Record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.FormContext);
26
+ } }
27
+ function ProductAccountingPanel_Conditional_4_Template(rf, ctx) { if (rf & 1) {
28
+ const _r3 = i0.ɵɵgetCurrentView();
29
+ i0.ɵɵelementStart(0, "mjo-product-rev-rec-field", 8);
30
+ i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Conditional_4_Template_mjo_product_rev_rec_field_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.FormComponent.OnFormNavigate($event)); });
31
+ i0.ɵɵelementEnd();
32
+ } if (rf & 2) {
33
+ const ctx_r1 = i0.ɵɵnextContext();
34
+ i0.ɵɵproperty("Record", ctx_r1.Record);
35
+ } }
17
36
  let ProductPricingPanel = class ProductPricingPanel extends BaseFormPanel {
18
37
  static ɵfac = /*@__PURE__*/ (() => { let ɵProductPricingPanel_BaseFactory; return function ProductPricingPanel_Factory(__ngFactoryType__) { return (ɵProductPricingPanel_BaseFactory || (ɵProductPricingPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductPricingPanel)))(__ngFactoryType__ || ProductPricingPanel); }; })();
19
38
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductPricingPanel, selectors: [["mjo-product-pricing-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 6, consts: [["SectionKey", "pricing", "SectionName", "Pricing", "Icon", "fa-solid fa-tags", 3, "Form", "FormContext", "DefaultExpanded"], [3, "Navigate", "Product", "EditMode", "FormContext"]], template: function ProductPricingPanel_Template(rf, ctx) { if (rf & 1) {
@@ -114,20 +133,18 @@ export { ProductPromosPanel };
114
133
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductPromosPanel, { className: "ProductPromosPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 68 }); })();
115
134
  let ProductAccountingPanel = class ProductAccountingPanel extends BaseFormPanel {
116
135
  static ɵfac = /*@__PURE__*/ (() => { let ɵProductAccountingPanel_BaseFactory; return function ProductAccountingPanel_Factory(__ngFactoryType__) { return (ɵProductAccountingPanel_BaseFactory || (ɵProductAccountingPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductAccountingPanel)))(__ngFactoryType__ || ProductAccountingPanel); }; })();
117
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductAccountingPanel, selectors: [["mjo-product-accounting-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 21, consts: [["SectionKey", "accounting", "SectionName", "Accounting", "Icon", "fa-solid fa-book", 3, "Form", "FormContext"], [3, "Navigate", "Product", "EditMode", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsTaxable", "Type", "checkbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TaxCategory", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductAccountingPanel_Template(rf, ctx) { if (rf & 1) {
136
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductAccountingPanel, selectors: [["mjo-product-accounting-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 18, consts: [["SectionKey", "accounting", "SectionName", "Accounting", "Icon", "fa-solid fa-book", 3, "Form", "FormContext"], [3, "Navigate", "Product", "EditMode", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], [3, "Record"], ["FieldName", "IsTaxable", "Type", "checkbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TaxCategory", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [3, "Navigate", "Record"]], template: function ProductAccountingPanel_Template(rf, ctx) { if (rf & 1) {
118
137
  i0.ɵɵelementStart(0, "mj-collapsible-panel", 0)(1, "bizapps-product-accounting-widget", 1);
119
138
  i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Template_bizapps_product_accounting_widget_Navigate_1_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
120
139
  i0.ɵɵelementStart(2, "mj-form-field", 2);
121
140
  i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Template_mj_form_field_Navigate_2_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
122
141
  i0.ɵɵelementEnd();
123
- i0.ɵɵelementStart(3, "mj-form-field", 3);
124
- i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Template_mj_form_field_Navigate_3_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
125
- i0.ɵɵelementEnd();
126
- i0.ɵɵelementStart(4, "mj-form-field", 4);
127
- i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Template_mj_form_field_Navigate_4_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
128
- i0.ɵɵelementEnd();
142
+ i0.ɵɵconditionalCreate(3, ProductAccountingPanel_Conditional_3_Template, 1, 4, "mj-form-field", 3)(4, ProductAccountingPanel_Conditional_4_Template, 1, 1, "mjo-product-rev-rec-field", 4);
129
143
  i0.ɵɵelementStart(5, "mj-form-field", 5);
130
144
  i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Template_mj_form_field_Navigate_5_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
145
+ i0.ɵɵelementEnd();
146
+ i0.ɵɵelementStart(6, "mj-form-field", 6);
147
+ i0.ɵɵlistener("Navigate", function ProductAccountingPanel_Template_mj_form_field_Navigate_6_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
131
148
  i0.ɵɵelementEnd()()();
132
149
  } if (rf & 2) {
133
150
  i0.ɵɵproperty("Form", ctx.FormComponent)("FormContext", ctx.FormContext);
@@ -136,12 +153,12 @@ let ProductAccountingPanel = class ProductAccountingPanel extends BaseFormPanel
136
153
  i0.ɵɵadvance();
137
154
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
138
155
  i0.ɵɵadvance();
156
+ i0.ɵɵconditional(ctx.EditMode ? 3 : 4);
157
+ i0.ɵɵadvance(2);
139
158
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
140
159
  i0.ɵɵadvance();
141
160
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
142
- i0.ɵɵadvance();
143
- i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
144
- } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i4.BizAppsProductAccountingWidgetComponent], encapsulation: 2 });
161
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i4.BizAppsProductAccountingWidgetComponent, i5.MJOProductRevRecFieldComponent], encapsulation: 2 });
145
162
  };
146
163
  ProductAccountingPanel = __decorate([
147
164
  RegisterClassEx(BaseFormPanel, {
@@ -176,7 +193,9 @@ export { ProductAccountingPanel };
176
193
  // This used to keep its fields in the widget so the panel could never hide-when-empty
177
194
  // and take the GL links with it. That is not a risk: CompanyID and
178
195
  // RevenueRecognitionTypeID are NOT NULL, so a saved record always has a renderable field
179
- // here, and an unsaved one opens in edit mode where fields render regardless.
196
+ // here, and an unsaved one opens in edit mode where fields render regardless. In read mode
197
+ // RevenueRecognitionTypeID renders as mjo-product-rev-rec-field instead, which leaves
198
+ // CompanyID as the NOT NULL field the section always sees.
180
199
  template: `
181
200
  <mj-collapsible-panel
182
201
  SectionKey="accounting"
@@ -199,16 +218,25 @@ export { ProductAccountingPanel };
199
218
  LinkType="Record"
200
219
  (Navigate)="FormComponent.OnFormNavigate($event)">
201
220
  </mj-form-field>
202
- <mj-form-field
203
- [Record]="Record"
204
- [ShowLabel]="true"
205
- FieldName="RevenueRecognitionTypeID"
206
- Type="textbox"
207
- [EditMode]="EditMode"
208
- [FormContext]="FormContext"
209
- LinkType="Record"
210
- (Navigate)="FormComponent.OnFormNavigate($event)">
211
- </mj-form-field>
221
+ <!-- Read mode shows the name resolved by id, the value the header shows, instead of
222
+ the record's virtual name, which can lag the id (bc-aidp-next-golive#436). -->
223
+ @if (EditMode) {
224
+ <mj-form-field
225
+ [Record]="Record"
226
+ [ShowLabel]="true"
227
+ FieldName="RevenueRecognitionTypeID"
228
+ Type="textbox"
229
+ [EditMode]="EditMode"
230
+ [FormContext]="FormContext"
231
+ LinkType="Record"
232
+ (Navigate)="FormComponent.OnFormNavigate($event)">
233
+ </mj-form-field>
234
+ } @else {
235
+ <mjo-product-rev-rec-field
236
+ [Record]="Record"
237
+ (Navigate)="FormComponent.OnFormNavigate($event)">
238
+ </mjo-product-rev-rec-field>
239
+ }
212
240
  <mj-form-field
213
241
  [Record]="Record"
214
242
  [ShowLabel]="true"
@@ -232,10 +260,10 @@ export { ProductAccountingPanel };
232
260
  `,
233
261
  }]
234
262
  }], null, null); })();
235
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductAccountingPanel, { className: "ProductAccountingPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 153 }); })();
263
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductAccountingPanel, { className: "ProductAccountingPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 164 }); })();
236
264
  let ProductFulfillmentPanel = class ProductFulfillmentPanel extends BaseFormPanel {
237
265
  static ɵfac = /*@__PURE__*/ (() => { let ɵProductFulfillmentPanel_BaseFactory; return function ProductFulfillmentPanel_Factory(__ngFactoryType__) { return (ɵProductFulfillmentPanel_BaseFactory || (ɵProductFulfillmentPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductFulfillmentPanel)))(__ngFactoryType__ || ProductFulfillmentPanel); }; })();
238
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductFulfillmentPanel, selectors: [["mjo-product-fulfillment-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 30, consts: [["SectionKey", "fulfillment", "SectionName", "Fulfillment", "Icon", "fa-solid fa-truck", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableFrom", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableTo", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementGrantTiming", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementQuantityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SuccessorProductID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductFulfillmentPanel_Template(rf, ctx) { if (rf & 1) {
266
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductFulfillmentPanel, selectors: [["mjo-product-fulfillment-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 18, consts: [["SectionKey", "fulfillment", "SectionName", "Fulfillment", "Icon", "fa-solid fa-truck", 3, "Form", "FormContext"], ["FieldName", "EntitlementGrantTiming", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementQuantityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SuccessorProductID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductFulfillmentPanel_Template(rf, ctx) { if (rf & 1) {
239
267
  i0.ɵɵelementStart(0, "mj-collapsible-panel", 0)(1, "bizapps-product-fulfillment-widget")(2, "mj-form-field", 1);
240
268
  i0.ɵɵlistener("Navigate", function ProductFulfillmentPanel_Template_mj_form_field_Navigate_2_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
241
269
  i0.ɵɵelementEnd();
@@ -247,15 +275,6 @@ let ProductFulfillmentPanel = class ProductFulfillmentPanel extends BaseFormPane
247
275
  i0.ɵɵelementEnd();
248
276
  i0.ɵɵelementStart(5, "mj-form-field", 4);
249
277
  i0.ɵɵlistener("Navigate", function ProductFulfillmentPanel_Template_mj_form_field_Navigate_5_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
250
- i0.ɵɵelementEnd();
251
- i0.ɵɵelementStart(6, "mj-form-field", 5);
252
- i0.ɵɵlistener("Navigate", function ProductFulfillmentPanel_Template_mj_form_field_Navigate_6_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
253
- i0.ɵɵelementEnd();
254
- i0.ɵɵelementStart(7, "mj-form-field", 6);
255
- i0.ɵɵlistener("Navigate", function ProductFulfillmentPanel_Template_mj_form_field_Navigate_7_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
256
- i0.ɵɵelementEnd();
257
- i0.ɵɵelementStart(8, "mj-form-field", 7);
258
- i0.ɵɵlistener("Navigate", function ProductFulfillmentPanel_Template_mj_form_field_Navigate_8_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
259
278
  i0.ɵɵelementEnd()()();
260
279
  } if (rf & 2) {
261
280
  i0.ɵɵproperty("Form", ctx.FormComponent)("FormContext", ctx.FormContext);
@@ -267,13 +286,7 @@ let ProductFulfillmentPanel = class ProductFulfillmentPanel extends BaseFormPane
267
286
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
268
287
  i0.ɵɵadvance();
269
288
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
270
- i0.ɵɵadvance();
271
- i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
272
- i0.ɵɵadvance();
273
- i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
274
- i0.ɵɵadvance();
275
- i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
276
- } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i5.BizAppsProductFulfillmentWidgetComponent], encapsulation: 2 });
289
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i6.BizAppsProductFulfillmentWidgetComponent], encapsulation: 2 });
277
290
  };
278
291
  ProductFulfillmentPanel = __decorate([
279
292
  RegisterClassEx(BaseFormPanel, {
@@ -283,10 +296,8 @@ ProductFulfillmentPanel = __decorate([
283
296
  slot: 'after-fields',
284
297
  sortKey: 50,
285
298
  contributionKey: 'fulfillment',
286
- // Claims the generated `catalogLifecycle` section, which rendered
287
- // SuccessorProductID / AvailableFrom / AvailableTo a second time. Its one remaining
288
- // field (Status) moved into this panel so nothing is lost.
289
- replacesSectionKey: 'catalogLifecycle',
299
+ // Status, AvailableFrom and AvailableTo moved to the Lifecycle panel (golive#433);
300
+ // SuccessorProductID stays here. The Lifecycle panel claims `catalogLifecycle`.
290
301
  },
291
302
  })
292
303
  ], ProductFulfillmentPanel);
@@ -307,33 +318,6 @@ export { ProductFulfillmentPanel };
307
318
  [Form]="FormComponent"
308
319
  [FormContext]="FormContext">
309
320
  <bizapps-product-fulfillment-widget>
310
- <mj-form-field
311
- [Record]="Record"
312
- [ShowLabel]="true"
313
- FieldName="Status"
314
- Type="select"
315
- [EditMode]="EditMode"
316
- [FormContext]="FormContext"
317
- (Navigate)="FormComponent.OnFormNavigate($event)">
318
- </mj-form-field>
319
- <mj-form-field
320
- [Record]="Record"
321
- [ShowLabel]="true"
322
- FieldName="AvailableFrom"
323
- Type="datepicker"
324
- [EditMode]="EditMode"
325
- [FormContext]="FormContext"
326
- (Navigate)="FormComponent.OnFormNavigate($event)">
327
- </mj-form-field>
328
- <mj-form-field
329
- [Record]="Record"
330
- [ShowLabel]="true"
331
- FieldName="AvailableTo"
332
- Type="datepicker"
333
- [EditMode]="EditMode"
334
- [FormContext]="FormContext"
335
- (Navigate)="FormComponent.OnFormNavigate($event)">
336
- </mj-form-field>
337
321
  <mj-form-field
338
322
  [Record]="Record"
339
323
  [ShowLabel]="true"
@@ -376,7 +360,113 @@ export { ProductFulfillmentPanel };
376
360
  `,
377
361
  }]
378
362
  }], null, null); })();
379
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductFulfillmentPanel, { className: "ProductFulfillmentPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 250 }); })();
363
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductFulfillmentPanel, { className: "ProductFulfillmentPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 232 }); })();
364
+ /**
365
+ * Lifecycle: Status, the availability window and IsSellableNew (golive#433).
366
+ *
367
+ * Status decides whether a product is sellable: the deal and order pickers show Active products
368
+ * only. It sat under Fulfillment, where nobody looked for it, so it moved here with the dates that
369
+ * bound when the product may be sold. The header's Draft banner activates in one click; this is
370
+ * where any other status is set.
371
+ */
372
+ let ProductLifecyclePanel = class ProductLifecyclePanel extends BaseFormPanel {
373
+ static ɵfac = /*@__PURE__*/ (() => { let ɵProductLifecyclePanel_BaseFactory; return function ProductLifecyclePanel_Factory(__ngFactoryType__) { return (ɵProductLifecyclePanel_BaseFactory || (ɵProductLifecyclePanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductLifecyclePanel)))(__ngFactoryType__ || ProductLifecyclePanel); }; })();
374
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductLifecyclePanel, selectors: [["mjo-product-lifecycle-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 18, consts: [["SectionKey", "lifecycle", "SectionName", "Lifecycle", "Icon", "fa-solid fa-flag", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableFrom", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableTo", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsSellableNew", "Type", "checkbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductLifecyclePanel_Template(rf, ctx) { if (rf & 1) {
375
+ i0.ɵɵelementStart(0, "mj-collapsible-panel", 0)(1, "mj-form-field", 1);
376
+ i0.ɵɵlistener("Navigate", function ProductLifecyclePanel_Template_mj_form_field_Navigate_1_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
377
+ i0.ɵɵelementEnd();
378
+ i0.ɵɵelementStart(2, "mj-form-field", 2);
379
+ i0.ɵɵlistener("Navigate", function ProductLifecyclePanel_Template_mj_form_field_Navigate_2_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
380
+ i0.ɵɵelementEnd();
381
+ i0.ɵɵelementStart(3, "mj-form-field", 3);
382
+ i0.ɵɵlistener("Navigate", function ProductLifecyclePanel_Template_mj_form_field_Navigate_3_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
383
+ i0.ɵɵelementEnd();
384
+ i0.ɵɵelementStart(4, "mj-form-field", 4);
385
+ i0.ɵɵlistener("Navigate", function ProductLifecyclePanel_Template_mj_form_field_Navigate_4_listener($event) { return ctx.FormComponent.OnFormNavigate($event); });
386
+ i0.ɵɵelementEnd()();
387
+ } if (rf & 2) {
388
+ i0.ɵɵproperty("Form", ctx.FormComponent)("FormContext", ctx.FormContext);
389
+ i0.ɵɵadvance();
390
+ i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
391
+ i0.ɵɵadvance();
392
+ i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
393
+ i0.ɵɵadvance();
394
+ i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
395
+ i0.ɵɵadvance();
396
+ i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
397
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent], encapsulation: 2 });
398
+ };
399
+ ProductLifecyclePanel = __decorate([
400
+ RegisterClassEx(BaseFormPanel, {
401
+ key: 'form-panel:Products:lifecycle',
402
+ metadata: {
403
+ entity: 'MJ_BizApps_Orders: Products',
404
+ slot: 'after-fields',
405
+ sortKey: 95,
406
+ contributionKey: 'lifecycle',
407
+ // Claims the generated `catalogLifecycle` section, which would render these fields a
408
+ // second time. Its other field, SuccessorProductID, renders in the Fulfillment panel.
409
+ replacesSectionKey: 'catalogLifecycle',
410
+ },
411
+ })
412
+ ], ProductLifecyclePanel);
413
+ export { ProductLifecyclePanel };
414
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProductLifecyclePanel, [{
415
+ type: Component,
416
+ args: [{
417
+ standalone: false,
418
+ selector: 'mjo-product-lifecycle-panel',
419
+ // Declared directly under mj-collapsible-panel so its hide-when-empty check sees them (golive#184).
420
+ template: `
421
+ <mj-collapsible-panel
422
+ SectionKey="lifecycle"
423
+ SectionName="Lifecycle"
424
+ Icon="fa-solid fa-flag"
425
+ [Form]="FormComponent"
426
+ [FormContext]="FormContext">
427
+ <mj-form-field
428
+ [Record]="Record"
429
+ [ShowLabel]="true"
430
+ FieldName="Status"
431
+ Type="select"
432
+ [EditMode]="EditMode"
433
+ [FormContext]="FormContext"
434
+ (Navigate)="FormComponent.OnFormNavigate($event)">
435
+ </mj-form-field>
436
+ <mj-form-field
437
+ [Record]="Record"
438
+ [ShowLabel]="true"
439
+ FieldName="AvailableFrom"
440
+ Type="datepicker"
441
+ [EditMode]="EditMode"
442
+ [FormContext]="FormContext"
443
+ (Navigate)="FormComponent.OnFormNavigate($event)">
444
+ </mj-form-field>
445
+ <mj-form-field
446
+ [Record]="Record"
447
+ [ShowLabel]="true"
448
+ FieldName="AvailableTo"
449
+ Type="datepicker"
450
+ [EditMode]="EditMode"
451
+ [FormContext]="FormContext"
452
+ (Navigate)="FormComponent.OnFormNavigate($event)">
453
+ </mj-form-field>
454
+ <!-- Off for products kept for existing orders, imports and renewals: the add-product
455
+ pickers stop offering them, and pricing still accepts them (golive#360). -->
456
+ <mj-form-field
457
+ [Record]="Record"
458
+ [ShowLabel]="true"
459
+ FieldName="IsSellableNew"
460
+ Type="checkbox"
461
+ [EditMode]="EditMode"
462
+ [FormContext]="FormContext"
463
+ (Navigate)="FormComponent.OnFormNavigate($event)">
464
+ </mj-form-field>
465
+ </mj-collapsible-panel>
466
+ `,
467
+ }]
468
+ }], null, null); })();
469
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductLifecyclePanel, { className: "ProductLifecyclePanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 306 }); })();
380
470
  let ProductSubscriptionsPanel = class ProductSubscriptionsPanel extends BaseFormPanel {
381
471
  static ɵfac = /*@__PURE__*/ (() => { let ɵProductSubscriptionsPanel_BaseFactory; return function ProductSubscriptionsPanel_Factory(__ngFactoryType__) { return (ɵProductSubscriptionsPanel_BaseFactory || (ɵProductSubscriptionsPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductSubscriptionsPanel)))(__ngFactoryType__ || ProductSubscriptionsPanel); }; })();
382
472
  static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductSubscriptionsPanel, selectors: [["mjo-product-subscriptions-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 18, consts: [["SectionKey", "subscriptions", "SectionName", "Subscription", "Icon", "fa-solid fa-repeat", 3, "Form", "FormContext"], ["FieldName", "SubscriptionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubscriptionFamilyID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RenewalIncreasePercent", "Type", "number", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductSubscriptionsPanel_Template(rf, ctx) { if (rf & 1) {
@@ -402,7 +492,7 @@ let ProductSubscriptionsPanel = class ProductSubscriptionsPanel extends BaseForm
402
492
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
403
493
  i0.ɵɵadvance();
404
494
  i0.ɵɵproperty("Record", ctx.Record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.FormContext);
405
- } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i6.BizAppsProductSubscriptionWidgetComponent], encapsulation: 2 });
495
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i7.BizAppsProductSubscriptionWidgetComponent], encapsulation: 2 });
406
496
  };
407
497
  ProductSubscriptionsPanel = __decorate([
408
498
  RegisterClassEx(BaseFormPanel, {
@@ -480,5 +570,5 @@ export { ProductSubscriptionsPanel };
480
570
  `,
481
571
  }]
482
572
  }], null, null); })();
483
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductSubscriptionsPanel, { className: "ProductSubscriptionsPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 322 }); })();
573
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductSubscriptionsPanel, { className: "ProductSubscriptionsPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 378 }); })();
484
574
  //# sourceMappingURL=product-widget.panels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-widget.panels.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;AAmCvD,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,aAA2C;yPAAvE,mBAAmB,yBAAnB,mBAAmB;6DAAnB,mBAAmB;YATpB,AAPJ,+CAM6B,wCAK6B;YAAlD,oIAAY,wCAAoC,IAAC;YAEzD,AADI,iBAAiC,EACd;;YAPnB,AADA,AADA,wCAAsB,gCACK,yBACH;YAEpB,cAAkB;YAElB,AADA,AADA,oCAAkB,0BACG,gCACM;;;AAM9B,mBAAmB;IAhC/B,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,6BAA6B;QAClC,QAAQ,EAAE;YACN,MAAM,EAAE,6BAA6B;YACrC,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,EAAE;YACX,eAAe,EAAE,SAAS;YAC1B,SAAS,EAAE,SAAS;YACpB,aAAa,EAAE,mCAAmC;YAClD,gBAAgB,EAAE,WAAW;SAChC;KACJ,CAAC;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FAAhF,yBAAyB;cA1DrC,SAAS;eAAC;gBACP,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,iCAAiC;gBAC3C,kEAAkE;gBAClE,8EAA8E;gBAC9E,kEAAkE;gBAClE,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkDT;aACJ;;kFACY,yBAAyB"}
1
+ {"version":3,"file":"product-widget.panels.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;IA2H1C,wCAQsD;IAAlD,6MAAY,2CAAoC,KAAC;IACrD,iBAAgB;;;IAHZ,AADA,AAHA,AADA,sCAAiB,mBACC,6BAGG,mCACM;;;;IAK/B,oDAEsD;IAAlD,yNAAY,2CAAoC,KAAC;IACrD,iBAA4B;;;IAFxB,sCAAiB;;AApGlC,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,aAA2C;yPAAvE,mBAAmB,yBAAnB,mBAAmB;6DAAnB,mBAAmB;YATpB,AAPJ,+CAM6B,wCAK6B;YAAlD,oIAAY,wCAAoC,IAAC;YAEzD,AADI,iBAAiC,EACd;;YAPnB,AADA,AADA,wCAAsB,gCACK,yBACH;YAEpB,cAAkB;YAElB,AADA,AADA,oCAAkB,0BACG,gCACM;;;AAM9B,mBAAmB;IAhC/B,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,6BAA6B;QAClC,QAAQ,EAAE;YACN,MAAM,EAAE,6BAA6B;YACrC,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,EAAE;YACX,eAAe,EAAE,SAAS;YAC1B,SAAS,EAAE,SAAS;YACpB,aAAa,EAAE,mCAAmC;YAClD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