@mj-biz-apps/orders-ng 5.24.0 → 5.26.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 (40) hide show
  1. package/dist/checkout-element/main.js +32 -2
  2. package/dist/lib/checkout-widget/checkout-draft-line.d.ts +14 -0
  3. package/dist/lib/checkout-widget/checkout-draft-line.d.ts.map +1 -1
  4. package/dist/lib/checkout-widget/checkout-draft-line.js +18 -0
  5. package/dist/lib/checkout-widget/checkout-draft-line.js.map +1 -1
  6. package/dist/lib/checkout-widget/checkout-public-host.component.d.ts +9 -2
  7. package/dist/lib/checkout-widget/checkout-public-host.component.d.ts.map +1 -1
  8. package/dist/lib/checkout-widget/checkout-public-host.component.js +20 -4
  9. package/dist/lib/checkout-widget/checkout-public-host.component.js.map +1 -1
  10. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.d.ts +10 -1
  11. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.d.ts.map +1 -1
  12. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js +110 -53
  13. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js.map +1 -1
  14. package/dist/lib/custom/EventOrderLine/line-event-summary.d.ts +15 -0
  15. package/dist/lib/custom/EventOrderLine/line-event-summary.d.ts.map +1 -0
  16. package/dist/lib/custom/EventOrderLine/line-event-summary.js +15 -0
  17. package/dist/lib/custom/EventOrderLine/line-event-summary.js.map +1 -0
  18. package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +7 -0
  19. package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -1
  20. package/dist/lib/custom/OrderHeader/order-header-form.component.js +278 -233
  21. package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -1
  22. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +20 -1
  23. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
  24. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +222 -63
  25. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
  26. package/dist/lib/data/orders-queries.d.ts +18 -0
  27. package/dist/lib/data/orders-queries.d.ts.map +1 -1
  28. package/dist/lib/data/orders-queries.js +30 -0
  29. package/dist/lib/data/orders-queries.js.map +1 -1
  30. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +8 -6
  31. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -1
  32. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +95 -93
  33. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -1
  34. package/dist/lib/pages/receivables/progress.page.d.ts +3 -3
  35. package/dist/lib/pages/receivables/progress.page.js +9 -9
  36. package/dist/lib/pages/receivables/progress.page.js.map +1 -1
  37. package/dist/public-api.d.ts +1 -1
  38. package/dist/public-api.d.ts.map +1 -1
  39. package/dist/public-api.js.map +1 -1
  40. package/package.json +2 -2
@@ -5,65 +5,98 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
7
  import { Component } from '@angular/core';
8
+ import { LogError } from '@memberjunction/core';
8
9
  import { RegisterClass } from '@memberjunction/global';
9
10
  import { BaseFormComponent } from '@memberjunction/ng-base-forms';
11
+ import { OrdersEngine } from '@mj-biz-apps/orders-entities';
10
12
  import { mjBizAppsOrdersEventOrderLineFormComponent } from '../../generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js';
13
+ import { DescribeLineEvent } from './line-event-summary.js';
11
14
  import * as i0 from "@angular/core";
12
15
  import * as i1 from "@memberjunction/ng-base-forms";
13
- function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
16
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
17
+ i0.ɵɵelementStart(0, "div", 19);
18
+ i0.ɵɵelement(1, "i", 21);
19
+ i0.ɵɵelementStart(2, "span", 22);
20
+ i0.ɵɵtext(3);
21
+ i0.ɵɵelementEnd();
22
+ i0.ɵɵelementStart(4, "span", 23);
23
+ i0.ɵɵtext(5);
24
+ i0.ɵɵelementEnd()();
25
+ } if (rf & 2) {
26
+ const ev_r3 = ctx;
27
+ i0.ɵɵadvance(3);
28
+ i0.ɵɵtextInterpolate(ev_r3.Name);
29
+ i0.ɵɵadvance(2);
30
+ i0.ɵɵtextInterpolate(ev_r3.Dates);
31
+ } }
32
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
33
+ i0.ɵɵelementStart(0, "div", 20);
34
+ i0.ɵɵelement(1, "i", 24);
35
+ i0.ɵɵelementStart(2, "span");
36
+ i0.ɵɵtext(3, "This product has no event record, so there are no event dates for this line.");
37
+ i0.ɵɵelementEnd()();
38
+ } }
39
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_3_Template(rf, ctx) { if (rf & 1) {
40
+ i0.ɵɵconditionalCreate(0, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_3_Conditional_0_Template, 6, 2, "div", 19)(1, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_3_Conditional_1_Template, 4, 0, "div", 20);
41
+ } if (rf & 2) {
42
+ let tmp_2_0;
43
+ const ctx_r1 = i0.ɵɵnextContext(2);
44
+ i0.ɵɵconditional((tmp_2_0 = ctx_r1.LineEvent) ? 0 : 1, tmp_2_0);
45
+ } }
46
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template(rf, ctx) { if (rf & 1) {
14
47
  i0.ɵɵelementStart(0, "span", 15);
15
48
  i0.ɵɵtext(1, "Configured");
16
49
  i0.ɵɵelementEnd();
17
50
  } }
18
- function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template(rf, ctx) { if (rf & 1) {
19
- const _r3 = i0.ɵɵgetCurrentView();
20
- i0.ɵɵelementStart(0, "div", 16)(1, "div", 19)(2, "div", 20);
21
- i0.ɵɵelement(3, "i", 21);
51
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template(rf, ctx) { if (rf & 1) {
52
+ const _r4 = i0.ɵɵgetCurrentView();
53
+ i0.ɵɵelementStart(0, "div", 16)(1, "div", 25)(2, "div", 26);
54
+ i0.ɵɵelement(3, "i", 27);
22
55
  i0.ɵɵelementStart(4, "span");
23
56
  i0.ɵɵtext(5, "Badge & Credentials");
24
57
  i0.ɵɵelementEnd()();
25
- i0.ɵɵelementStart(6, "div", 22)(7, "mj-form-field", 23);
26
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_7_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
58
+ i0.ɵɵelementStart(6, "div", 28)(7, "mj-form-field", 29);
59
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_7_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
27
60
  i0.ɵɵelementEnd();
28
- i0.ɵɵelementStart(8, "mj-form-field", 24);
29
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_8_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
61
+ i0.ɵɵelementStart(8, "mj-form-field", 30);
62
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
30
63
  i0.ɵɵelementEnd();
31
- i0.ɵɵelementStart(9, "mj-form-field", 25);
32
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
64
+ i0.ɵɵelementStart(9, "mj-form-field", 31);
65
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
33
66
  i0.ɵɵelementEnd();
34
- i0.ɵɵelementStart(10, "mj-form-field", 26);
35
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
67
+ i0.ɵɵelementStart(10, "mj-form-field", 32);
68
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
36
69
  i0.ɵɵelementEnd()()();
37
- i0.ɵɵelementStart(11, "div", 19)(12, "div", 20);
38
- i0.ɵɵelement(13, "i", 27);
70
+ i0.ɵɵelementStart(11, "div", 25)(12, "div", 26);
71
+ i0.ɵɵelement(13, "i", 33);
39
72
  i0.ɵɵelementStart(14, "span");
40
73
  i0.ɵɵtext(15, "Seating & Logistics");
41
74
  i0.ɵɵelementEnd()();
42
- i0.ɵɵelementStart(16, "div", 28)(17, "mj-form-field", 29);
43
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_17_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
75
+ i0.ɵɵelementStart(16, "div", 34)(17, "mj-form-field", 35);
76
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_17_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
44
77
  i0.ɵɵelementEnd();
45
- i0.ɵɵelementStart(18, "mj-form-field", 30);
46
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_18_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
78
+ i0.ɵɵelementStart(18, "mj-form-field", 36);
79
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_18_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
47
80
  i0.ɵɵelementEnd();
48
- i0.ɵɵelementStart(19, "mj-form-field", 31);
49
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_19_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
81
+ i0.ɵɵelementStart(19, "mj-form-field", 37);
82
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_19_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
50
83
  i0.ɵɵelementEnd()()();
51
- i0.ɵɵelementStart(20, "div", 19)(21, "div", 20);
52
- i0.ɵɵelement(22, "i", 32);
84
+ i0.ɵɵelementStart(20, "div", 25)(21, "div", 26);
85
+ i0.ɵɵelement(22, "i", 38);
53
86
  i0.ɵɵelementStart(23, "span");
54
87
  i0.ɵɵtext(24, "Dietary & Operational Notes");
55
88
  i0.ɵɵelementEnd()();
56
- i0.ɵɵelementStart(25, "div", 22)(26, "mj-form-field", 33);
57
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_26_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
89
+ i0.ɵɵelementStart(25, "div", 28)(26, "mj-form-field", 39);
90
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_26_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
58
91
  i0.ɵɵelementEnd();
59
- i0.ɵɵelementStart(27, "mj-form-field", 34);
60
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_27_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
92
+ i0.ɵɵelementStart(27, "mj-form-field", 40);
93
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_27_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
61
94
  i0.ɵɵelementEnd();
62
- i0.ɵɵelementStart(28, "mj-form-field", 35);
63
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_28_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
95
+ i0.ɵɵelementStart(28, "mj-form-field", 41);
96
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_28_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
64
97
  i0.ɵɵelementEnd();
65
- i0.ɵɵelementStart(29, "mj-form-field", 36);
66
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template_mj_form_field_Navigate_29_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
98
+ i0.ɵɵelementStart(29, "mj-form-field", 42);
99
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template_mj_form_field_Navigate_29_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
67
100
  i0.ɵɵelementEnd()()()();
68
101
  } if (rf & 2) {
69
102
  const ctx_r1 = i0.ɵɵnextContext(2);
@@ -95,33 +128,37 @@ function BizAppsEventOrderLineFormComponent_Conditional_0_Template(rf, ctx) { if
95
128
  i0.ɵɵelementStart(0, "mj-record-form-container", 1);
96
129
  i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_record_form_container_Navigate_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("DeleteRequested", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_record_form_container_DeleteRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnDeleteRequested()); })("FavoriteToggled", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_record_form_container_FavoriteToggled_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFavoriteToggled()); })("HistoryRequested", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_record_form_container_HistoryRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnHistoryRequested()); })("ListManagementRequested", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_record_form_container_ListManagementRequested_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnListManagementRequested()); });
97
130
  i0.ɵɵelement(1, "mj-form-panel-slot", 2);
98
- i0.ɵɵelementStart(2, "div", 3)(3, "div", 4)(4, "div", 5)(5, "mj-form-field", 6);
99
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_form_field_Navigate_5_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
131
+ i0.ɵɵelementStart(2, "div", 3);
132
+ i0.ɵɵconditionalCreate(3, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_3_Template, 2, 1);
133
+ i0.ɵɵelementStart(4, "div", 4)(5, "div", 5)(6, "mj-form-field", 6);
134
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_form_field_Navigate_6_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
100
135
  i0.ɵɵelementEnd()();
101
- i0.ɵɵelementStart(6, "div", 7)(7, "mj-form-field", 8);
102
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_form_field_Navigate_7_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
136
+ i0.ɵɵelementStart(7, "div", 7)(8, "mj-form-field", 8);
137
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_form_field_Navigate_8_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
103
138
  i0.ɵɵelementEnd()();
104
- i0.ɵɵelementStart(8, "div", 9)(9, "mj-form-field", 10);
105
- i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_form_field_Navigate_9_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
139
+ i0.ɵɵelementStart(9, "div", 9)(10, "mj-form-field", 10);
140
+ i0.ɵɵlistener("Navigate", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_mj_form_field_Navigate_10_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); });
106
141
  i0.ɵɵelementEnd()()();
107
- i0.ɵɵelementStart(10, "div", 11)(11, "button", 12);
108
- i0.ɵɵlistener("click", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_button_click_11_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleDetails()); });
109
- i0.ɵɵelement(12, "i", 13);
110
- i0.ɵɵelementStart(13, "span", 14);
111
- i0.ɵɵtext(14);
142
+ i0.ɵɵelementStart(11, "div", 11)(12, "button", 12);
143
+ i0.ɵɵlistener("click", function BizAppsEventOrderLineFormComponent_Conditional_0_Template_button_click_12_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.ToggleDetails()); });
144
+ i0.ɵɵelement(13, "i", 13);
145
+ i0.ɵɵelementStart(14, "span", 14);
146
+ i0.ɵɵtext(15);
112
147
  i0.ɵɵelementEnd();
113
- i0.ɵɵconditionalCreate(15, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_15_Template, 2, 0, "span", 15);
148
+ i0.ɵɵconditionalCreate(16, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template, 2, 0, "span", 15);
114
149
  i0.ɵɵelementEnd()();
115
- i0.ɵɵconditionalCreate(16, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template, 30, 44, "div", 16);
150
+ i0.ɵɵconditionalCreate(17, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_17_Template, 30, 44, "div", 16);
116
151
  i0.ɵɵelementEnd();
117
- i0.ɵɵelement(17, "mj-form-panel-slot", 17)(18, "mj-form-panel-slot", 18);
152
+ i0.ɵɵelement(18, "mj-form-panel-slot", 17)(19, "mj-form-panel-slot", 18);
118
153
  i0.ɵɵelementEnd();
119
154
  } if (rf & 2) {
120
155
  const ctx_r1 = i0.ɵɵnextContext();
121
156
  i0.ɵɵproperty("Record", ctx_r1.record)("FormComponent", ctx_r1);
122
157
  i0.ɵɵadvance();
123
158
  i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
124
- i0.ɵɵadvance(4);
159
+ i0.ɵɵadvance(2);
160
+ i0.ɵɵconditional(ctx_r1.EventLookupDone ? 3 : -1);
161
+ i0.ɵɵadvance(3);
125
162
  i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
126
163
  i0.ɵɵadvance(2);
127
164
  i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
@@ -134,9 +171,9 @@ function BizAppsEventOrderLineFormComponent_Conditional_0_Template(rf, ctx) { if
134
171
  i0.ɵɵadvance(2);
135
172
  i0.ɵɵtextInterpolate1(" ", ctx_r1.DetailsExpanded ? "Hide Attendee Details" : "Additional Details (Badge, Seating, Dietary & Notes)", " ");
136
173
  i0.ɵɵadvance();
137
- i0.ɵɵconditional(!ctx_r1.DetailsExpanded && ctx_r1.HasPopulatedDetails ? 15 : -1);
174
+ i0.ɵɵconditional(!ctx_r1.DetailsExpanded && ctx_r1.HasPopulatedDetails ? 16 : -1);
138
175
  i0.ɵɵadvance();
139
- i0.ɵɵconditional(ctx_r1.DetailsExpanded ? 16 : -1);
176
+ i0.ɵɵconditional(ctx_r1.DetailsExpanded ? 17 : -1);
140
177
  i0.ɵɵadvance();
141
178
  i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
142
179
  i0.ɵɵadvance();
@@ -154,6 +191,26 @@ let BizAppsEventOrderLineFormComponent = class BizAppsEventOrderLineFormComponen
154
191
  record;
155
192
  /** Tracks whether the progressive disclosure details drawer is expanded. */
156
193
  DetailsExpanded = false;
194
+ /** True once the OrdersEngine cache has been asked for, so the panel can say "no event record". */
195
+ EventLookupDone = false;
196
+ async ngOnInit() {
197
+ await super.ngOnInit();
198
+ try {
199
+ await OrdersEngine.Instance.EnsureLoaded();
200
+ }
201
+ catch (e) {
202
+ LogError(`Event order line could not load OrdersEngine to show the line's event: ${e}`);
203
+ }
204
+ this.EventLookupDone = true;
205
+ this.cdr.markForCheck();
206
+ }
207
+ /**
208
+ * The event this line is for. The line's product is the event: its Event Products row shares
209
+ * the product's ID and holds the event's dates. Null when the product has no such row.
210
+ */
211
+ get LineEvent() {
212
+ return DescribeLineEvent(OrdersEngine.Instance.EventProductByID(this.record?.ProductID));
213
+ }
157
214
  ToggleDetails() {
158
215
  this.DetailsExpanded = !this.DetailsExpanded;
159
216
  }
@@ -174,11 +231,11 @@ let BizAppsEventOrderLineFormComponent = class BizAppsEventOrderLineFormComponen
174
231
  this.record.CheckInNotes);
175
232
  }
176
233
  static ɵfac = /*@__PURE__*/ (() => { let ɵBizAppsEventOrderLineFormComponent_BaseFactory; return function BizAppsEventOrderLineFormComponent_Factory(__ngFactoryType__) { return (ɵBizAppsEventOrderLineFormComponent_BaseFactory || (ɵBizAppsEventOrderLineFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BizAppsEventOrderLineFormComponent)))(__ngFactoryType__ || BizAppsEventOrderLineFormComponent); }; })();
177
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsEventOrderLineFormComponent, selectors: [["bizapps-event-order-line-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "Record", "FormComponent"], [3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "mjo-eol-form"], [1, "mjo-eol-primary-grid"], [1, "mjo-eol-field", "mjo-eol-field--attendee"], ["FieldName", "PersonID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-eol-field", "mjo-eol-field--status"], ["FieldName", "AttendanceStatus", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-eol-field", "mjo-eol-field--tier"], ["FieldName", "TicketTier", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-eol-disclosure-bar"], ["type", "button", 1, "mjo-eol-toggle-btn", 3, "click"], ["aria-hidden", "true", 1, "fa-solid"], [1, "mjo-eol-toggle-label"], [1, "mjo-eol-has-data-chip"], [1, "mjo-eol-details-panel"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "mjo-eol-group"], [1, "mjo-eol-group__header"], ["aria-hidden", "true", 1, "fa-solid", "fa-id-badge"], [1, "mjo-eol-group__grid", "mjo-eol-group__grid--4"], ["FieldName", "BadgeName", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BadgeCompany", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BadgeTitle", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BadgePrintedAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["aria-hidden", "true", 1, "fa-solid", "fa-chair"], [1, "mjo-eol-group__grid", "mjo-eol-group__grid--3"], ["FieldName", "TableAssignment", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CheckInAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SpecialRequests", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["aria-hidden", "true", 1, "fa-solid", "fa-utensils"], ["FieldName", "DietaryPreferences", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Allergies", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Comments", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CheckInNotes", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function BizAppsEventOrderLineFormComponent_Template(rf, ctx) { if (rf & 1) {
178
- i0.ɵɵconditionalCreate(0, BizAppsEventOrderLineFormComponent_Conditional_0_Template, 19, 37, "mj-record-form-container", 0);
234
+ static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsEventOrderLineFormComponent, selectors: [["bizapps-event-order-line-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "Record", "FormComponent"], [3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], [1, "mjo-eol-form"], [1, "mjo-eol-primary-grid"], [1, "mjo-eol-field", "mjo-eol-field--attendee"], ["FieldName", "PersonID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-eol-field", "mjo-eol-field--status"], ["FieldName", "AttendanceStatus", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-eol-field", "mjo-eol-field--tier"], ["FieldName", "TicketTier", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [1, "mjo-eol-disclosure-bar"], ["type", "button", 1, "mjo-eol-toggle-btn", 3, "click"], ["aria-hidden", "true", 1, "fa-solid"], [1, "mjo-eol-toggle-label"], [1, "mjo-eol-has-data-chip"], [1, "mjo-eol-details-panel"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], ["data-testid", "eol-event", 1, "mjo-eol-event"], ["data-testid", "eol-event-missing", 1, "mjo-eol-event", "mjo-eol-event--missing"], ["aria-hidden", "true", 1, "fa-solid", "fa-calendar-day"], [1, "mjo-eol-event__name"], [1, "mjo-eol-event__dates"], ["aria-hidden", "true", 1, "fa-solid", "fa-circle-info"], [1, "mjo-eol-group"], [1, "mjo-eol-group__header"], ["aria-hidden", "true", 1, "fa-solid", "fa-id-badge"], [1, "mjo-eol-group__grid", "mjo-eol-group__grid--4"], ["FieldName", "BadgeName", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BadgeCompany", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BadgeTitle", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BadgePrintedAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["aria-hidden", "true", 1, "fa-solid", "fa-chair"], [1, "mjo-eol-group__grid", "mjo-eol-group__grid--3"], ["FieldName", "TableAssignment", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CheckInAt", "Type", "datepicker", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SpecialRequests", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["aria-hidden", "true", 1, "fa-solid", "fa-utensils"], ["FieldName", "DietaryPreferences", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Allergies", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Comments", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CheckInNotes", "Type", "textarea", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function BizAppsEventOrderLineFormComponent_Template(rf, ctx) { if (rf & 1) {
235
+ i0.ɵɵconditionalCreate(0, BizAppsEventOrderLineFormComponent_Conditional_0_Template, 20, 38, "mj-record-form-container", 0);
179
236
  } if (rf & 2) {
180
237
  i0.ɵɵconditional(ctx.record ? 0 : -1);
181
- } }, dependencies: [i1.MjFormFieldComponent, i1.MjRecordFormContainerComponent, i1.FormPanelSlotComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n width: 100%;\n}\n\n.mjo-eol-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 12px;\n padding: 4px 0;\n}\n\n.mjo-eol-primary-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: 2fr 1fr 1fr;\n gap: 12px;\n align-items: start;\n}\n\n@media (max-width: 768px) {\n .mjo-eol-primary-grid[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n}\n\n.mjo-eol-disclosure-bar[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n padding: 4px 0;\n}\n\n.mjo-eol-toggle-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n background: none;\n border: none;\n padding: 6px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n color: var(--mj-color-text-secondary, #64748b);\n cursor: pointer;\n transition: background 0.15s ease, color 0.15s ease;\n}\n\n.mjo-eol-toggle-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-color-surface-hover, #f1f5f9);\n color: var(--mj-color-text-primary, #0f172a);\n}\n\n.mjo-eol-has-data-chip[_ngcontent-%COMP%] {\n display: inline-block;\n padding: 2px 6px;\n border-radius: 9999px;\n font-size: 11px;\n font-weight: 600;\n background-color: var(--mj-color-primary-subtle, #eff6ff);\n color: var(--mj-color-primary, #2563eb);\n border: 1px solid var(--mj-color-primary-border, #bfdbfe);\n}\n\n.mjo-eol-details-panel[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 14px;\n background: var(--mj-color-surface-subtle, #f8fafc);\n border: 1px solid var(--mj-color-border-subtle, #e2e8f0);\n border-radius: 8px;\n animation: _ngcontent-%COMP%_mjoFadeDown 0.2s ease-out;\n}\n\n@keyframes _ngcontent-%COMP%_mjoFadeDown {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.mjo-eol-group[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mjo-eol-group__header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n font-weight: 600;\n color: var(--mj-color-text-muted, #475569);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mjo-eol-group__header[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-color-primary, #3b82f6);\n}\n\n.mjo-eol-group__grid[_ngcontent-%COMP%] {\n display: grid;\n gap: 12px;\n align-items: start;\n}\n\n.mjo-eol-group__grid--4[_ngcontent-%COMP%] {\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n}\n\n.mjo-eol-group__grid--3[_ngcontent-%COMP%] {\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n}"] });
238
+ } }, dependencies: [i1.MjFormFieldComponent, i1.MjRecordFormContainerComponent, i1.FormPanelSlotComponent], styles: ["[_nghost-%COMP%] {\n display: block;\n width: 100%;\n}\n\n.mjo-eol-form[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 12px;\n padding: 4px 0;\n}\n\n\n\n\n\n\n\n\n\n.mjo-eol-form[_ngcontent-%COMP%] .mj-forms-field {\n grid-template-columns: minmax(0, 1fr);\n gap: 4px;\n}\n\n.mjo-eol-form[_ngcontent-%COMP%] .mj-forms-field-validation {\n grid-column: 1;\n}\n\n.mjo-eol-event[_ngcontent-%COMP%] {\n display: flex;\n align-items: baseline;\n flex-wrap: wrap;\n gap: 4px 8px;\n font-size: 13px;\n color: var(--mj-text-secondary);\n}\n\n.mjo-eol-event[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 12px;\n color: var(--mj-brand-primary);\n}\n\n.mjo-eol-event__name[_ngcontent-%COMP%] {\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.mjo-eol-event--missing[_ngcontent-%COMP%], \n.mjo-eol-event--missing[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n}\n\n.mjo-eol-primary-grid[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n gap: 12px;\n align-items: start;\n}\n\n@media (max-width: 768px) {\n .mjo-eol-primary-grid[_ngcontent-%COMP%] {\n grid-template-columns: 1fr;\n }\n}\n\n.mjo-eol-disclosure-bar[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n padding: 4px 0;\n}\n\n.mjo-eol-toggle-btn[_ngcontent-%COMP%] {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n background: none;\n border: none;\n padding: 6px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n color: var(--mj-color-text-secondary, #64748b);\n cursor: pointer;\n transition: background 0.15s ease, color 0.15s ease;\n}\n\n.mjo-eol-toggle-btn[_ngcontent-%COMP%]:hover {\n background: var(--mj-color-surface-hover, #f1f5f9);\n color: var(--mj-color-text-primary, #0f172a);\n}\n\n.mjo-eol-has-data-chip[_ngcontent-%COMP%] {\n display: inline-block;\n padding: 2px 6px;\n border-radius: 9999px;\n font-size: 11px;\n font-weight: 600;\n background-color: var(--mj-color-primary-subtle, #eff6ff);\n color: var(--mj-color-primary, #2563eb);\n border: 1px solid var(--mj-color-primary-border, #bfdbfe);\n}\n\n.mjo-eol-details-panel[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 14px;\n background: var(--mj-color-surface-subtle, #f8fafc);\n border: 1px solid var(--mj-color-border-subtle, #e2e8f0);\n border-radius: 8px;\n animation: _ngcontent-%COMP%_mjoFadeDown 0.2s ease-out;\n}\n\n@keyframes _ngcontent-%COMP%_mjoFadeDown {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.mjo-eol-group[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mjo-eol-group__header[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n font-weight: 600;\n color: var(--mj-color-text-muted, #475569);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mjo-eol-group__header[_ngcontent-%COMP%] i[_ngcontent-%COMP%] {\n font-size: 11px;\n color: var(--mj-color-primary, #3b82f6);\n}\n\n.mjo-eol-group__grid[_ngcontent-%COMP%] {\n display: grid;\n gap: 12px;\n align-items: start;\n}\n\n.mjo-eol-group__grid--4[_ngcontent-%COMP%] {\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n}\n\n.mjo-eol-group__grid--3[_ngcontent-%COMP%] {\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n}"] });
182
239
  };
183
240
  BizAppsEventOrderLineFormComponent = __decorate([
184
241
  RegisterClass(BaseFormComponent, 'MJ_BizApps_Orders: Event Order Lines', 10)
@@ -186,9 +243,9 @@ BizAppsEventOrderLineFormComponent = __decorate([
186
243
  export { BizAppsEventOrderLineFormComponent };
187
244
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsEventOrderLineFormComponent, [{
188
245
  type: Component,
189
- args: [{ standalone: false, selector: 'bizapps-event-order-line-form', template: "@if (record) {\n<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <div class=\"mjo-eol-form\">\n <!-- 1. Essential / Primary Fields (Always Visible) -->\n <div class=\"mjo-eol-primary-grid\">\n <div class=\"mjo-eol-field mjo-eol-field--attendee\">\n <mj-form-field \n [Record]=\"record\" \n [ShowLabel]=\"true\" \n FieldName=\"PersonID\" \n Type=\"textbox\" \n [EditMode]=\"EditMode\" \n [FormContext]=\"formContext\" \n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-form-field>\n </div>\n <div class=\"mjo-eol-field mjo-eol-field--status\">\n <mj-form-field \n [Record]=\"record\" \n [ShowLabel]=\"true\" \n FieldName=\"AttendanceStatus\" \n Type=\"select\" \n [EditMode]=\"EditMode\" \n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-form-field>\n </div>\n <div class=\"mjo-eol-field mjo-eol-field--tier\">\n <mj-form-field \n [Record]=\"record\" \n [ShowLabel]=\"true\" \n FieldName=\"TicketTier\" \n Type=\"textbox\" \n [EditMode]=\"EditMode\" \n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-form-field>\n </div>\n </div>\n\n <!-- 2. Progressive Disclosure Toggle Button -->\n <div class=\"mjo-eol-disclosure-bar\">\n <button \n type=\"button\" \n class=\"mjo-eol-toggle-btn\" \n (click)=\"ToggleDetails()\"\n [attr.aria-expanded]=\"DetailsExpanded\">\n <i class=\"fa-solid\" [class.fa-chevron-right]=\"!DetailsExpanded\" [class.fa-chevron-down]=\"DetailsExpanded\" aria-hidden=\"true\"></i>\n <span class=\"mjo-eol-toggle-label\">\n {{ DetailsExpanded ? 'Hide Attendee Details' : 'Additional Details (Badge, Seating, Dietary & Notes)' }}\n </span>\n @if (!DetailsExpanded && HasPopulatedDetails) {\n <span class=\"mjo-eol-has-data-chip\">Configured</span>\n }\n </button>\n </div>\n\n <!-- 3. Expandable Details (Progressive Disclosure) -->\n @if (DetailsExpanded) {\n <div class=\"mjo-eol-details-panel\">\n <!-- Group A: Credential & Badge Printing -->\n <div class=\"mjo-eol-group\">\n <div class=\"mjo-eol-group__header\">\n <i class=\"fa-solid fa-id-badge\" aria-hidden=\"true\"></i>\n <span>Badge & Credentials</span>\n </div>\n <div class=\"mjo-eol-group__grid mjo-eol-group__grid--4\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgeName\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgeCompany\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgeTitle\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgePrintedAt\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n\n <!-- Group B: Seating, Logistics & Accommodations -->\n <div class=\"mjo-eol-group\">\n <div class=\"mjo-eol-group__header\">\n <i class=\"fa-solid fa-chair\" aria-hidden=\"true\"></i>\n <span>Seating & Logistics</span>\n </div>\n <div class=\"mjo-eol-group__grid mjo-eol-group__grid--3\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"TableAssignment\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"CheckInAt\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"SpecialRequests\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n\n <!-- Group C: Dietary Preferences, Allergies & Notes -->\n <div class=\"mjo-eol-group\">\n <div class=\"mjo-eol-group__header\">\n <i class=\"fa-solid fa-utensils\" aria-hidden=\"true\"></i>\n <span>Dietary & Operational Notes</span>\n </div>\n <div class=\"mjo-eol-group__grid mjo-eol-group__grid--4\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"DietaryPreferences\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Allergies\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Comments\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"CheckInNotes\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n </div>\n }\n </div>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n}\n", styles: [":host {\n display: block;\n width: 100%;\n}\n\n.mjo-eol-form {\n display: flex;\n flex-direction: column;\n gap: 12px;\n padding: 4px 0;\n}\n\n.mjo-eol-primary-grid {\n display: grid;\n grid-template-columns: 2fr 1fr 1fr;\n gap: 12px;\n align-items: start;\n}\n\n@media (max-width: 768px) {\n .mjo-eol-primary-grid {\n grid-template-columns: 1fr;\n }\n}\n\n.mjo-eol-disclosure-bar {\n display: flex;\n align-items: center;\n padding: 4px 0;\n}\n\n.mjo-eol-toggle-btn {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n background: none;\n border: none;\n padding: 6px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n color: var(--mj-color-text-secondary, #64748b);\n cursor: pointer;\n transition: background 0.15s ease, color 0.15s ease;\n}\n\n.mjo-eol-toggle-btn:hover {\n background: var(--mj-color-surface-hover, #f1f5f9);\n color: var(--mj-color-text-primary, #0f172a);\n}\n\n.mjo-eol-has-data-chip {\n display: inline-block;\n padding: 2px 6px;\n border-radius: 9999px;\n font-size: 11px;\n font-weight: 600;\n background-color: var(--mj-color-primary-subtle, #eff6ff);\n color: var(--mj-color-primary, #2563eb);\n border: 1px solid var(--mj-color-primary-border, #bfdbfe);\n}\n\n.mjo-eol-details-panel {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 14px;\n background: var(--mj-color-surface-subtle, #f8fafc);\n border: 1px solid var(--mj-color-border-subtle, #e2e8f0);\n border-radius: 8px;\n animation: mjoFadeDown 0.2s ease-out;\n}\n\n@keyframes mjoFadeDown {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.mjo-eol-group {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mjo-eol-group__header {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n font-weight: 600;\n color: var(--mj-color-text-muted, #475569);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mjo-eol-group__header i {\n font-size: 11px;\n color: var(--mj-color-primary, #3b82f6);\n}\n\n.mjo-eol-group__grid {\n display: grid;\n gap: 12px;\n align-items: start;\n}\n\n.mjo-eol-group__grid--4 {\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n}\n\n.mjo-eol-group__grid--3 {\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n}\n"] }]
246
+ args: [{ standalone: false, selector: 'bizapps-event-order-line-form', template: "@if (record) {\n<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <div class=\"mjo-eol-form\">\n <!-- 0. The event this line is for (read-only; the line's product is the event) -->\n @if (EventLookupDone) {\n @if (LineEvent; as ev) {\n <div class=\"mjo-eol-event\" data-testid=\"eol-event\">\n <i class=\"fa-solid fa-calendar-day\" aria-hidden=\"true\"></i>\n <span class=\"mjo-eol-event__name\">{{ ev.Name }}</span>\n <span class=\"mjo-eol-event__dates\">{{ ev.Dates }}</span>\n </div>\n } @else {\n <div class=\"mjo-eol-event mjo-eol-event--missing\" data-testid=\"eol-event-missing\">\n <i class=\"fa-solid fa-circle-info\" aria-hidden=\"true\"></i>\n <span>This product has no event record, so there are no event dates for this line.</span>\n </div>\n }\n }\n\n <!-- 1. Essential / Primary Fields (Always Visible) -->\n <div class=\"mjo-eol-primary-grid\">\n <div class=\"mjo-eol-field mjo-eol-field--attendee\">\n <mj-form-field \n [Record]=\"record\" \n [ShowLabel]=\"true\" \n FieldName=\"PersonID\" \n Type=\"textbox\" \n [EditMode]=\"EditMode\" \n [FormContext]=\"formContext\" \n LinkType=\"Record\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-form-field>\n </div>\n <div class=\"mjo-eol-field mjo-eol-field--status\">\n <mj-form-field \n [Record]=\"record\" \n [ShowLabel]=\"true\" \n FieldName=\"AttendanceStatus\" \n Type=\"select\" \n [EditMode]=\"EditMode\" \n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-form-field>\n </div>\n <div class=\"mjo-eol-field mjo-eol-field--tier\">\n <mj-form-field \n [Record]=\"record\" \n [ShowLabel]=\"true\" \n FieldName=\"TicketTier\" \n Type=\"textbox\" \n [EditMode]=\"EditMode\" \n [FormContext]=\"formContext\"\n (Navigate)=\"OnFormNavigate($event)\">\n </mj-form-field>\n </div>\n </div>\n\n <!-- 2. Progressive Disclosure Toggle Button -->\n <div class=\"mjo-eol-disclosure-bar\">\n <button \n type=\"button\" \n class=\"mjo-eol-toggle-btn\" \n (click)=\"ToggleDetails()\"\n [attr.aria-expanded]=\"DetailsExpanded\">\n <i class=\"fa-solid\" [class.fa-chevron-right]=\"!DetailsExpanded\" [class.fa-chevron-down]=\"DetailsExpanded\" aria-hidden=\"true\"></i>\n <span class=\"mjo-eol-toggle-label\">\n {{ DetailsExpanded ? 'Hide Attendee Details' : 'Additional Details (Badge, Seating, Dietary & Notes)' }}\n </span>\n @if (!DetailsExpanded && HasPopulatedDetails) {\n <span class=\"mjo-eol-has-data-chip\">Configured</span>\n }\n </button>\n </div>\n\n <!-- 3. Expandable Details (Progressive Disclosure) -->\n @if (DetailsExpanded) {\n <div class=\"mjo-eol-details-panel\">\n <!-- Group A: Credential & Badge Printing -->\n <div class=\"mjo-eol-group\">\n <div class=\"mjo-eol-group__header\">\n <i class=\"fa-solid fa-id-badge\" aria-hidden=\"true\"></i>\n <span>Badge & Credentials</span>\n </div>\n <div class=\"mjo-eol-group__grid mjo-eol-group__grid--4\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgeName\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgeCompany\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgeTitle\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"BadgePrintedAt\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n\n <!-- Group B: Seating, Logistics & Accommodations -->\n <div class=\"mjo-eol-group\">\n <div class=\"mjo-eol-group__header\">\n <i class=\"fa-solid fa-chair\" aria-hidden=\"true\"></i>\n <span>Seating & Logistics</span>\n </div>\n <div class=\"mjo-eol-group__grid mjo-eol-group__grid--3\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"TableAssignment\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"CheckInAt\" Type=\"datepicker\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"SpecialRequests\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n\n <!-- Group C: Dietary Preferences, Allergies & Notes -->\n <div class=\"mjo-eol-group\">\n <div class=\"mjo-eol-group__header\">\n <i class=\"fa-solid fa-utensils\" aria-hidden=\"true\"></i>\n <span>Dietary & Operational Notes</span>\n </div>\n <div class=\"mjo-eol-group__grid mjo-eol-group__grid--4\">\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"DietaryPreferences\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Allergies\" Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"Comments\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n <mj-form-field [Record]=\"record\" [ShowLabel]=\"true\" FieldName=\"CheckInNotes\" Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"formContext\" (Navigate)=\"OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n </div>\n }\n </div>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n}\n", styles: [":host {\n display: block;\n width: 100%;\n}\n\n.mjo-eol-form {\n display: flex;\n flex-direction: column;\n gap: 12px;\n padding: 4px 0;\n}\n\n/*\n * Labels sit above their controls in this form. mj-form-field lays a field out as a\n * fixed 200px label column beside the control, and only stacks them below a 640px\n * viewport. In this form's multi-column grids, and in the order line card that hosts\n * it, a column is narrower than that label plus gap, so the control was left with no\n * width: the Person lookup's input was all padding and no attendee could be typed.\n */\n.mjo-eol-form ::ng-deep .mj-forms-field {\n grid-template-columns: minmax(0, 1fr);\n gap: 4px;\n}\n\n.mjo-eol-form ::ng-deep .mj-forms-field-validation {\n grid-column: 1;\n}\n\n.mjo-eol-event {\n display: flex;\n align-items: baseline;\n flex-wrap: wrap;\n gap: 4px 8px;\n font-size: 13px;\n color: var(--mj-text-secondary);\n}\n\n.mjo-eol-event i {\n font-size: 12px;\n color: var(--mj-brand-primary);\n}\n\n.mjo-eol-event__name {\n font-weight: 600;\n color: var(--mj-text-primary);\n}\n\n.mjo-eol-event--missing,\n.mjo-eol-event--missing i {\n color: var(--mj-text-muted);\n}\n\n.mjo-eol-primary-grid {\n display: grid;\n grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);\n gap: 12px;\n align-items: start;\n}\n\n@media (max-width: 768px) {\n .mjo-eol-primary-grid {\n grid-template-columns: 1fr;\n }\n}\n\n.mjo-eol-disclosure-bar {\n display: flex;\n align-items: center;\n padding: 4px 0;\n}\n\n.mjo-eol-toggle-btn {\n display: inline-flex;\n align-items: center;\n gap: 8px;\n background: none;\n border: none;\n padding: 6px 10px;\n border-radius: 6px;\n font-size: 12px;\n font-weight: 500;\n color: var(--mj-color-text-secondary, #64748b);\n cursor: pointer;\n transition: background 0.15s ease, color 0.15s ease;\n}\n\n.mjo-eol-toggle-btn:hover {\n background: var(--mj-color-surface-hover, #f1f5f9);\n color: var(--mj-color-text-primary, #0f172a);\n}\n\n.mjo-eol-has-data-chip {\n display: inline-block;\n padding: 2px 6px;\n border-radius: 9999px;\n font-size: 11px;\n font-weight: 600;\n background-color: var(--mj-color-primary-subtle, #eff6ff);\n color: var(--mj-color-primary, #2563eb);\n border: 1px solid var(--mj-color-primary-border, #bfdbfe);\n}\n\n.mjo-eol-details-panel {\n display: flex;\n flex-direction: column;\n gap: 16px;\n padding: 14px;\n background: var(--mj-color-surface-subtle, #f8fafc);\n border: 1px solid var(--mj-color-border-subtle, #e2e8f0);\n border-radius: 8px;\n animation: mjoFadeDown 0.2s ease-out;\n}\n\n@keyframes mjoFadeDown {\n from {\n opacity: 0;\n transform: translateY(-4px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n}\n\n.mjo-eol-group {\n display: flex;\n flex-direction: column;\n gap: 8px;\n}\n\n.mjo-eol-group__header {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n font-weight: 600;\n color: var(--mj-color-text-muted, #475569);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n}\n\n.mjo-eol-group__header i {\n font-size: 11px;\n color: var(--mj-color-primary, #3b82f6);\n}\n\n.mjo-eol-group__grid {\n display: grid;\n gap: 12px;\n align-items: start;\n}\n\n.mjo-eol-group__grid--4 {\n grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n}\n\n.mjo-eol-group__grid--3 {\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n}\n"] }]
190
247
  }], null, null); })();
191
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsEventOrderLineFormComponent, { className: "BizAppsEventOrderLineFormComponent", filePath: "lib/custom/EventOrderLine/event-order-line-form.component.ts", lineNumber: 22 }); })();
248
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsEventOrderLineFormComponent, { className: "BizAppsEventOrderLineFormComponent", filePath: "lib/custom/EventOrderLine/event-order-line-form.component.ts", lineNumber: 24 }); })();
192
249
  /** Tree-shaking prevention anchor function */
193
250
  export function LoadEventOrderLineFormComponent() {
194
251
  // Anchors BizAppsEventOrderLineFormComponent in bundlers
@@ -1 +1 @@
1
- {"version":3,"file":"event-order-line-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/EventOrderLine/event-order-line-form.component.ts","../../../../src/lib/custom/EventOrderLine/event-order-line-form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,0CAA0C,EAAE,MAAM,qGAAqG,CAAC;;;;ICyD7I,gCAAoC;IAAA,0BAAU;IAAA,iBAAO;;;;IAUzD,AADJ,AAFJ,+BAAmC,cAEJ,cACY;IAC/B,wBAAuD;IACvD,4BAAM;IAAA,mCAAmB;IAC7B,AAD6B,iBAAO,EAC9B;IAEF,AADJ,+BAAwD,wBAC2H;IAApC,yOAAY,6BAAsB,KAAC;IAAC,iBAAgB;IAC/L,yCAAkL;IAApC,yOAAY,6BAAsB,KAAC;IAAC,iBAAgB;IAClM,yCAAgL;IAApC,yOAAY,6BAAsB,KAAC;IAAC,iBAAgB;IAChM,0CAAuL;IAApC,0OAAY,6BAAsB,KAAC;IAE9L,AADI,AAD2L,iBAAgB,EACrM,EACJ;IAIF,AADJ,gCAA2B,eACY;IAC/B,yBAAoD;IACpD,6BAAM;IAAA,oCAAmB;IAC7B,AAD6B,iBAAO,EAC9B;IAEF,AADJ,gCAAwD,yBACiI;IAApC,0OAAY,6BAAsB,KAAC;IAAC,iBAAgB;IACrM,0CAAkL;IAApC,0OAAY,6BAAsB,KAAC;IAAC,iBAAgB;IAClM,0CAAsL;IAApC,0OAAY,6BAAsB,KAAC;IAE7L,AADI,AAD0L,iBAAgB,EACpM,EACJ;IAIF,AADJ,gCAA2B,eACY;IAC/B,yBAAuD;IACvD,6BAAM;IAAA,4CAA2B;IACrC,AADqC,iBAAO,EACtC;IAEF,AADJ,gCAAwD,yBACoI;IAApC,0OAAY,6BAAsB,KAAC;IAAC,iBAAgB;IACxM,0CAA+K;IAApC,0OAAY,6BAAsB,KAA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;IAExB,aAAa;QAChB,IAAI,CAAC,eAAe,GAAG,CAAC,IAAI,CAAC,eAAe,CAAC;IACjD,CAAC;IAED,2DAA2D;IAC3D,IAAW,mBAAmB;QAC1B,IAAI,CAAC,IAAI,CAAC,MAAM;YAAE,OAAO,KAAK,CAAC;QAC/B,OAAO,CAAC,CAAC,CACL,IAAI,CAAC,MAAM,CAAC,SAAS;YACrB,IAAI,CAAC,MAAM,CAAC,YAAY;YACxB,IAAI,CAAC,MAAM,CAAC,UAAU;YACtB,IAAI,CAAC,MAAM,CAAC,cAAc;YAC1B,IAAI,CAAC,MAAM,CAAC,eAAe;YAC3B,IAAI,CAAC,MAAM,CAAC,SAAS;YACrB,IAAI,CAAC,MAAM,CAAC,eAAe;YAC3B,IAAI,CAAC,MAAM,CAAC,kBAAkB;YAC9B,IAAI,CAAC,MAAM,CAAC,SAAS;YACrB,IAAI,CAAC,MAAM,CAAC,QAAQ;YACpB,IAAI,CAAC,MAAM,CAAC,YAAY,CAC3B,CAAC;IACN,CAAC;qTA1BQ,kCAAkC,yBAAlC,kCAAkC;6DAAlC,kCAAkC;YCrB/C,2HAAc;;YAAd,qCAoHC;;;AD/FY,kCAAkC;IAP9C,aAAa,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,EAAE,CAAC;GAOhE,kCAAkC,CA2B9C;;iFA3BY,kCAAkC;cAN9C,SAAS;6BACM,KAAK,YACP,+BAA+B;;kFAIhC,kCAAkC;AA6B/C,8CAA8C;AAC9C,MAAM,UAAU,+BAA+B;IAC3C,yDAAyD;AAC7D,CAAC"}
1
+ {"version":3,"file":"event-order-line-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/EventOrderLine/event-order-line-form.component.ts","../../../../src/lib/custom/EventOrderLine/event-order-line-form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EA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CAAC,MAAM,CAAC,eAAe;YAC3B,IAAI,CAAC,MAAM,CAAC,SAAS;YACrB,IAAI,CAAC,MAAM,CAAC,eAAe;YAC3B,IAAI,CAAC,MAAM,CAAC,kBAAkB;YAC9B,IAAI,CAAC,MAAM,CAAC,SAAS;YACrB,IAAI,CAAC,MAAM,CAAC,QAAQ;YACpB,IAAI,CAAC,MAAM,CAAC,YAAY,CAC3B,CAAC;IACN,CAAC;qTAhDQ,kCAAkC,yBAAlC,kCAAkC;6DAAlC,kCAAkC;YCvB/C,2HAAc;;YAAd,qCAoIC;;;AD7GY,kCAAkC;IAP9C,aAAa,CAAC,iBAAiB,EAAE,sCAAsC,EAAE,EAAE,CAAC;GAOhE,kCAAkC,CAiD9C;;iFAjDY,kCAAkC;cAN9C,SAAS;6BACM,KAAK,YACP,+BAA+B;;kFAIhC,kCAAkC;AAmD/C,8CAA8C;AAC9C,MAAM,UAAU,+BAA+B;IAC3C,yDAAyD;AAC7D,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { mjBizAppsOrdersEventProductEntity } from '@mj-biz-apps/orders-entities';
2
+ /** What the Event details panel shows about the event an event order line is for. */
3
+ export interface LineEventSummary {
4
+ Name: string;
5
+ Dates: string;
6
+ }
7
+ type LineEventSource = Pick<mjBizAppsOrdersEventProductEntity, 'Name' | 'EventStartsAt' | 'EventEndsAt'>;
8
+ /**
9
+ * The event behind an order line, read from the line product's Event Products row (the product
10
+ * IS the event: the row shares the product's ID). Null when the product has no such row, which
11
+ * the panel reports rather than hides — the line then has no event dates to stamp.
12
+ */
13
+ export declare function DescribeLineEvent(event: LineEventSource | null | undefined): LineEventSummary | null;
14
+ export {};
15
+ //# sourceMappingURL=line-event-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-event-summary.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/EventOrderLine/line-event-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,8BAA8B,CAAC;AAGtF,qFAAqF;AACrF,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,KAAK,eAAe,GAAG,IAAI,CAAC,iCAAiC,EAAE,MAAM,GAAG,eAAe,GAAG,aAAa,CAAC,CAAC;AAEzG;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,GAAG,gBAAgB,GAAG,IAAI,CAMpG"}
@@ -0,0 +1,15 @@
1
+ import { FormatShortDate } from '../../form-panels/document-form.helpers.js';
2
+ /**
3
+ * The event behind an order line, read from the line product's Event Products row (the product
4
+ * IS the event: the row shares the product's ID). Null when the product has no such row, which
5
+ * the panel reports rather than hides — the line then has no event dates to stamp.
6
+ */
7
+ export function DescribeLineEvent(event) {
8
+ if (!event)
9
+ return null;
10
+ const start = FormatShortDate(event.EventStartsAt);
11
+ const end = FormatShortDate(event.EventEndsAt);
12
+ const dates = !start ? end : !end || end === start ? start : `${start} – ${end}`;
13
+ return { Name: event.Name, Dates: dates || 'No dates set' };
14
+ }
15
+ //# sourceMappingURL=line-event-summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"line-event-summary.js","sourceRoot":"","sources":["../../../../src/lib/custom/EventOrderLine/line-event-summary.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAU1E;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,KAAyC;IACvE,IAAI,CAAC,KAAK;QAAE,OAAO,IAAI,CAAC;IACxB,MAAM,KAAK,GAAG,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IACnD,MAAM,GAAG,GAAG,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAC/C,MAAM,KAAK,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,KAAK,MAAM,GAAG,EAAE,CAAC;IACjF,OAAO,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,IAAI,cAAc,EAAE,CAAC;AAChE,CAAC"}
@@ -58,6 +58,11 @@ export declare class BizAppsOrderHeaderFormComponent extends mjBizAppsOrdersOrde
58
58
  AccountingBasis: OrderJournalDateBasis;
59
59
  Confirming: boolean;
60
60
  StatusError: string | null;
61
+ /**
62
+ * One sentence per subscription line whose stated start the confirm replaced (golive #299).
63
+ * Read from the confirm's own record, so it shows right after Confirm and on every later visit.
64
+ */
65
+ DisplacedStartNotices: string[];
61
66
  PaymentTypes: mjBizAppsOrdersPaymentTypeEntity[];
62
67
  get ContextTabs(): TabConfig[];
63
68
  /**
@@ -156,6 +161,8 @@ export declare class BizAppsOrderHeaderFormComponent extends mjBizAppsOrdersOrde
156
161
  RevRecJournalEntries: mjBizAppsAccountingJournalEntryEntity[];
157
162
  /** The one fetched snapshot every accounting view is derived from. Null until the tab is opened. */
158
163
  private journalData;
164
+ /** Booked orders only. A failed read shows no notice rather than blocking the form. */
165
+ private loadDisplacedStartNotices;
159
166
  private loadPaymentTypes;
160
167
  /**
161
168
  * Load every journal behind this order, once, and derive all three views from it.
@@ -1 +1 @@
1
- {"version":3,"file":"order-header-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/OrderHeader/order-header-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EAAqB,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAoB,iBAAiB,EAAE,KAAK,QAAQ,EAAE,K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gB,4BAA4B,IAAI,IAAI,CAEnD"}
1
+ {"version":3,"file":"order-header-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/OrderHeader/order-header-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAG1D,OAAO,EAAqB,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC5F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAgD,iBAAiB,EAAE,KAAK,QAAQ,EAAE,KAAK,gCAAgC,EAAE,MAAM,8BAA8B,CAAC;AAErK,OAAO,EASH,KAAK,gBAAgB,EAErB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,uCAAuC,EAAE,MAAM,+FAA+F,CAAC;AACxJ,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,kCAAkC,CAAC;AAE9F,OAAO,EAMH,KAAK,cAAc,EACtB,MAAM,sBAAsB,CAAC;;AAE9B,+DAA+D;AAC/D,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AAEpD,6DAA6D;AAC7D,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,YAAY,GAAG,MAAM,CAAC;AAElE,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG,iBAAiB,CAAC;AAEtE,YAAY,EAAE,cAAc,EAAE,CAAC;AAE/B,uFAAuF;AACvF,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAOrE,eAAO,MAAM,mBAAmB,EAAE,SAAS,EAG1C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,SAAS,EAI5C,CAAC;AA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