@mj-biz-apps/orders-ng 5.13.0 → 5.14.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 (67) hide show
  1. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.d.ts +24 -0
  2. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.d.ts.map +1 -0
  3. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js +196 -0
  4. package/dist/lib/custom/EventOrderLine/event-order-line-form.component.js.map +1 -0
  5. package/dist/lib/custom/OrderHeader/line-extension-fields.js +1 -1
  6. package/dist/lib/custom/OrderHeader/order-line-details-panel.component.d.ts +80 -0
  7. package/dist/lib/custom/OrderHeader/order-line-details-panel.component.d.ts.map +1 -0
  8. package/dist/lib/custom/OrderHeader/order-line-details-panel.component.js +355 -0
  9. package/dist/lib/custom/OrderHeader/order-line-details-panel.component.js.map +1 -0
  10. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +25 -1
  11. package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
  12. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +204 -127
  13. package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
  14. package/dist/lib/custom/Product/product-save-guard-form.component.js +2 -2
  15. package/dist/lib/custom/custom-forms.module.d.ts +13 -12
  16. package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
  17. package/dist/lib/custom/custom-forms.module.js +8 -2
  18. package/dist/lib/custom/custom-forms.module.js.map +1 -1
  19. package/dist/lib/data/entity-names.d.ts +8 -0
  20. package/dist/lib/data/entity-names.d.ts.map +1 -1
  21. package/dist/lib/data/entity-names.js +8 -0
  22. package/dist/lib/data/entity-names.js.map +1 -1
  23. package/dist/lib/data/orders-queries.d.ts +40 -0
  24. package/dist/lib/data/orders-queries.d.ts.map +1 -1
  25. package/dist/lib/data/orders-queries.js +54 -0
  26. package/dist/lib/data/orders-queries.js.map +1 -1
  27. package/dist/lib/form-panels/document-forms.module.d.ts +4 -3
  28. package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -1
  29. package/dist/lib/form-panels/document-forms.module.js +4 -0
  30. package/dist/lib/form-panels/document-forms.module.js.map +1 -1
  31. package/dist/lib/form-panels/subscription-header.panel.d.ts +21 -0
  32. package/dist/lib/form-panels/subscription-header.panel.d.ts.map +1 -1
  33. package/dist/lib/form-panels/subscription-header.panel.js +64 -12
  34. package/dist/lib/form-panels/subscription-header.panel.js.map +1 -1
  35. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +30 -8
  36. package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -1
  37. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts.map +1 -1
  38. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +10 -16
  39. package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -1
  40. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +9 -9
  41. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -1
  42. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +89 -85
  43. package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -1
  44. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.d.ts.map +1 -1
  45. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js +30 -34
  46. package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js.map +1 -1
  47. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.d.ts.map +1 -1
  48. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js +9 -5
  49. package/dist/lib/generated/Entities/mjBizAppsOrdersPriceTier/mjbizappsorderspricetier.form.component.js.map +1 -1
  50. package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +2 -2
  51. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts.map +1 -1
  52. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js +41 -35
  53. package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js.map +1 -1
  54. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.d.ts.map +1 -1
  55. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js +43 -46
  56. package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js.map +1 -1
  57. package/dist/lib/pages/orders/orders-dashboard.page.d.ts.map +1 -1
  58. package/dist/lib/pages/orders/orders-dashboard.page.js +6 -15
  59. package/dist/lib/pages/orders/orders-dashboard.page.js.map +1 -1
  60. package/dist/lib/pages/payments/payments-dashboard.page.d.ts.map +1 -1
  61. package/dist/lib/pages/payments/payments-dashboard.page.js +8 -19
  62. package/dist/lib/pages/payments/payments-dashboard.page.js.map +1 -1
  63. package/dist/lib/panels/day-bars.d.ts +37 -0
  64. package/dist/lib/panels/day-bars.d.ts.map +1 -0
  65. package/dist/lib/panels/day-bars.js +49 -0
  66. package/dist/lib/panels/day-bars.js.map +1 -0
  67. package/package.json +5 -4
@@ -0,0 +1,24 @@
1
+ import type { mjBizAppsOrdersEventOrderLineEntity } from '@mj-biz-apps/orders-entities';
2
+ import { mjBizAppsOrdersEventOrderLineFormComponent } from '../../generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Custom Event Order Line form component with Progressive Disclosure.
6
+ *
7
+ * Designed for both embedded order entry line cards and full record viewing.
8
+ * Keeps the primary attendee, status, and ticket tier immediately visible,
9
+ * hiding granular badging, logistics, dietary, and internal notes behind an
10
+ * expandable details disclosure so the user isn't clobbered by default.
11
+ */
12
+ export declare class BizAppsEventOrderLineFormComponent extends mjBizAppsOrdersEventOrderLineFormComponent {
13
+ record: mjBizAppsOrdersEventOrderLineEntity;
14
+ /** Tracks whether the progressive disclosure details drawer is expanded. */
15
+ DetailsExpanded: boolean;
16
+ ToggleDetails(): void;
17
+ /** Helper checking if any details fields are populated. */
18
+ get HasPopulatedDetails(): boolean;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<BizAppsEventOrderLineFormComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<BizAppsEventOrderLineFormComponent, "bizapps-event-order-line-form", never, {}, {}, never, never, false, never>;
21
+ }
22
+ /** Tree-shaking prevention anchor function */
23
+ export declare function LoadEventOrderLineFormComponent(): void;
24
+ //# sourceMappingURL=event-order-line-form.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event-order-line-form.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/EventOrderLine/event-order-line-form.component.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACxF,OAAO,EAAE,0CAA0C,EAAE,MAAM,qGAAqG,CAAC;;AAEjK;;;;;;;GAOG;AACH,qBAOa,kCAAmC,SAAQ,0CAA0C;IAC/E,MAAM,EAAE,mCAAmC,CAAC;IAE3D,4EAA4E;IACrE,eAAe,UAAS;IAExB,aAAa,IAAI,IAAI;IAI5B,2DAA2D;IAC3D,IAAW,mBAAmB,IAAI,OAAO,CAexC;yCA1BQ,kCAAkC;2CAAlC,kCAAkC;CA2B9C;AAED,8CAA8C;AAC9C,wBAAgB,+BAA+B,IAAI,IAAI,CAEtD"}
@@ -0,0 +1,196 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ import { Component } from '@angular/core';
8
+ import { RegisterClass } from '@memberjunction/global';
9
+ import { BaseFormComponent } from '@memberjunction/ng-base-forms';
10
+ import { mjBizAppsOrdersEventOrderLineFormComponent } from '../../generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js';
11
+ import * as i0 from "@angular/core";
12
+ import * as i1 from "@memberjunction/ng-base-forms";
13
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_15_Template(rf, ctx) { if (rf & 1) {
14
+ i0.ɵɵelementStart(0, "span", 15);
15
+ i0.ɵɵtext(1, "Configured");
16
+ i0.ɵɵelementEnd();
17
+ } }
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);
22
+ i0.ɵɵelementStart(4, "span");
23
+ i0.ɵɵtext(5, "Badge & Credentials");
24
+ 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)); });
27
+ 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)); });
30
+ 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)); });
33
+ 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)); });
36
+ i0.ɵɵelementEnd()()();
37
+ i0.ɵɵelementStart(11, "div", 19)(12, "div", 20);
38
+ i0.ɵɵelement(13, "i", 27);
39
+ i0.ɵɵelementStart(14, "span");
40
+ i0.ɵɵtext(15, "Seating & Logistics");
41
+ 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)); });
44
+ 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)); });
47
+ 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)); });
50
+ i0.ɵɵelementEnd()()();
51
+ i0.ɵɵelementStart(20, "div", 19)(21, "div", 20);
52
+ i0.ɵɵelement(22, "i", 32);
53
+ i0.ɵɵelementStart(23, "span");
54
+ i0.ɵɵtext(24, "Dietary & Operational Notes");
55
+ 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)); });
58
+ 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)); });
61
+ 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)); });
64
+ 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)); });
67
+ i0.ɵɵelementEnd()()()();
68
+ } if (rf & 2) {
69
+ const ctx_r1 = i0.ɵɵnextContext(2);
70
+ i0.ɵɵadvance(7);
71
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
72
+ i0.ɵɵadvance();
73
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
74
+ i0.ɵɵadvance();
75
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
76
+ i0.ɵɵadvance();
77
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
78
+ i0.ɵɵadvance(7);
79
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
80
+ i0.ɵɵadvance();
81
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
82
+ i0.ɵɵadvance();
83
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
84
+ i0.ɵɵadvance(7);
85
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
86
+ i0.ɵɵadvance();
87
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
88
+ i0.ɵɵadvance();
89
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
90
+ i0.ɵɵadvance();
91
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
92
+ } }
93
+ function BizAppsEventOrderLineFormComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
94
+ const _r1 = i0.ɵɵgetCurrentView();
95
+ i0.ɵɵelementStart(0, "mj-record-form-container", 1);
96
+ 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
+ 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)); });
100
+ 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)); });
103
+ 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)); });
106
+ 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);
112
+ i0.ɵɵelementEnd();
113
+ i0.ɵɵconditionalCreate(15, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_15_Template, 2, 0, "span", 15);
114
+ i0.ɵɵelementEnd()();
115
+ i0.ɵɵconditionalCreate(16, BizAppsEventOrderLineFormComponent_Conditional_0_Conditional_16_Template, 30, 44, "div", 16);
116
+ i0.ɵɵelementEnd();
117
+ i0.ɵɵelement(17, "mj-form-panel-slot", 17)(18, "mj-form-panel-slot", 18);
118
+ i0.ɵɵelementEnd();
119
+ } if (rf & 2) {
120
+ const ctx_r1 = i0.ɵɵnextContext();
121
+ i0.ɵɵproperty("Record", ctx_r1.record)("FormComponent", ctx_r1);
122
+ i0.ɵɵadvance();
123
+ 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);
125
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
126
+ i0.ɵɵadvance(2);
127
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
128
+ i0.ɵɵadvance(2);
129
+ i0.ɵɵproperty("Record", ctx_r1.record)("ShowLabel", true)("EditMode", ctx_r1.EditMode)("FormContext", ctx_r1.formContext);
130
+ i0.ɵɵadvance(2);
131
+ i0.ɵɵattribute("aria-expanded", ctx_r1.DetailsExpanded);
132
+ i0.ɵɵadvance();
133
+ i0.ɵɵclassProp("fa-chevron-right", !ctx_r1.DetailsExpanded)("fa-chevron-down", ctx_r1.DetailsExpanded);
134
+ i0.ɵɵadvance(2);
135
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.DetailsExpanded ? "Hide Attendee Details" : "Additional Details (Badge, Seating, Dietary & Notes)", " ");
136
+ i0.ɵɵadvance();
137
+ i0.ɵɵconditional(!ctx_r1.DetailsExpanded && ctx_r1.HasPopulatedDetails ? 15 : -1);
138
+ i0.ɵɵadvance();
139
+ i0.ɵɵconditional(ctx_r1.DetailsExpanded ? 16 : -1);
140
+ i0.ɵɵadvance();
141
+ i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
142
+ i0.ɵɵadvance();
143
+ i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx_r1.record.EntityInfo.Name))("Record", ctx_r1.record)("FormComponent", ctx_r1)("FormContext", ctx_r1.formContext);
144
+ } }
145
+ /**
146
+ * Custom Event Order Line form component with Progressive Disclosure.
147
+ *
148
+ * Designed for both embedded order entry line cards and full record viewing.
149
+ * Keeps the primary attendee, status, and ticket tier immediately visible,
150
+ * hiding granular badging, logistics, dietary, and internal notes behind an
151
+ * expandable details disclosure so the user isn't clobbered by default.
152
+ */
153
+ let BizAppsEventOrderLineFormComponent = class BizAppsEventOrderLineFormComponent extends mjBizAppsOrdersEventOrderLineFormComponent {
154
+ record;
155
+ /** Tracks whether the progressive disclosure details drawer is expanded. */
156
+ DetailsExpanded = false;
157
+ ToggleDetails() {
158
+ this.DetailsExpanded = !this.DetailsExpanded;
159
+ }
160
+ /** Helper checking if any details fields are populated. */
161
+ get HasPopulatedDetails() {
162
+ if (!this.record)
163
+ return false;
164
+ return !!(this.record.BadgeName ||
165
+ this.record.BadgeCompany ||
166
+ this.record.BadgeTitle ||
167
+ this.record.BadgePrintedAt ||
168
+ this.record.TableAssignment ||
169
+ this.record.CheckInAt ||
170
+ this.record.SpecialRequests ||
171
+ this.record.DietaryPreferences ||
172
+ this.record.Allergies ||
173
+ this.record.Comments ||
174
+ this.record.CheckInNotes);
175
+ }
176
+ 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);
179
+ } if (rf & 2) {
180
+ 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}"] });
182
+ };
183
+ BizAppsEventOrderLineFormComponent = __decorate([
184
+ RegisterClass(BaseFormComponent, 'MJ_BizApps_Orders: Event Order Lines', 10)
185
+ ], BizAppsEventOrderLineFormComponent);
186
+ export { BizAppsEventOrderLineFormComponent };
187
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsEventOrderLineFormComponent, [{
188
+ 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"] }]
190
+ }], null, null); })();
191
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsEventOrderLineFormComponent, { className: "BizAppsEventOrderLineFormComponent", filePath: "lib/custom/EventOrderLine/event-order-line-form.component.ts", lineNumber: 22 }); })();
192
+ /** Tree-shaking prevention anchor function */
193
+ export function LoadEventOrderLineFormComponent() {
194
+ // Anchors BizAppsEventOrderLineFormComponent in bundlers
195
+ }
196
+ //# sourceMappingURL=event-order-line-form.component.js.map
@@ -0,0 +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;IAC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;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"}
@@ -52,7 +52,7 @@ export function ExtensionToggleLabel(entityName) {
52
52
  export function ExtensionCollapsedHint(entityName) {
53
53
  const label = ExtensionEntityLabel(entityName).toLowerCase();
54
54
  if (label.includes('event'))
55
- return 'Person · dietary · notes';
55
+ return 'Attendee · status · tier';
56
56
  return 'More';
57
57
  }
58
58
  /** New lines start open; existing (already persisted) lines stay collapsed. */
@@ -0,0 +1,80 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { mjBizAppsOrdersOrderLineEntity } from '@mj-biz-apps/orders-entities';
3
+ import type { MJODimensionOption } from '../../data/orders-queries.js';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * The details a line has but the line card should not carry.
7
+ *
8
+ * THE GL DIMENSION IS WHY THIS EXISTS (golive #236). `OrderJournalEntryFactory` has ridden dimension
9
+ * tags onto every journal entry line an order line produces since the baseline, but an order line
10
+ * was never tagged, so order-originated entries reached the ledger carrying none. This is where the
11
+ * tag is stated.
12
+ *
13
+ * ONE TAG PER LINE. `OrderLine.DimensionID` / `.DimensionValueID` hold a single axis and a single
14
+ * point on it. A line can therefore be filed under Venture OR Product OR ARR-Type, not all of them
15
+ * — the chart-of-accounts design asks for five axes on a revenue line, and this shape carries one.
16
+ *
17
+ * A PANEL RATHER THAN A ROW ON THE CARD. The card is already dense — product, quantity, price, the
18
+ * override editor, consequence chips, term start and the extension disclosure — and the tag is
19
+ * looked at rarely. The panel shows on request and covers nothing until then.
20
+ *
21
+ * NOTHING HERE SAVES. The pickers write to the line entity in memory; the ORDER's save persists it
22
+ * with everything else, so a line added in the browser and tagged before its first save is written
23
+ * once, in one transaction, like any other field on the line.
24
+ */
25
+ export declare class MJOOrderLineDetailsPanelComponent {
26
+ private readonly cdr;
27
+ /** The line whose details are shown. Null closes the panel. */
28
+ Line: mjBizAppsOrdersOrderLineEntity | null;
29
+ /** What the header calls the line. Passed in because the catalog lives on the editor. */
30
+ ProductName: string;
31
+ ProductSKU: string;
32
+ ProductType: string;
33
+ /** Every dimension a line may be tagged with, each with the values it permits. */
34
+ Dimensions: MJODimensionOption[];
35
+ EditMode: boolean;
36
+ Closed: EventEmitter<void>;
37
+ get IsOpen(): boolean;
38
+ /**
39
+ * A booked line is frozen — trigger 51003 refuses edits once the order is Confirmed, and the
40
+ * entry its tag produced has already been written. Showing the value read-only is honest;
41
+ * offering pickers that cannot be saved is not.
42
+ */
43
+ get IsBooked(): boolean;
44
+ get CanEdit(): boolean;
45
+ Close(): void;
46
+ OnEscape(): void;
47
+ get SelectedDimensionID(): string;
48
+ get SelectedValueID(): string;
49
+ /** The values selectable right now — those of the chosen dimension, or none until one is chosen. */
50
+ get ValuesForSelectedDimension(): Array<{
51
+ ID: string;
52
+ Code: string;
53
+ Name: string;
54
+ }>;
55
+ get SelectedDimension(): MJODimensionOption | undefined;
56
+ /** Display text for the read-only rendering of a booked line. */
57
+ get SelectedValueLabel(): string;
58
+ /**
59
+ * True when an axis has been chosen but no point on it.
60
+ *
61
+ * `CK_OrderLine_DimensionPair` refuses that row, so the panel says so here rather than letting
62
+ * the order's save come back with a constraint violation naming neither the line nor the field.
63
+ * `OrderLineEntityServer.ValidateAsync` enforces the same rule for every other caller.
64
+ */
65
+ get NeedsValue(): boolean;
66
+ /**
67
+ * Choose the axis.
68
+ *
69
+ * Clearing it clears the value too, and so does CHANGING it: a value belongs to exactly one
70
+ * dimension, so the one already chosen is not a point on the new axis. Leaving it would write a
71
+ * pair that passes the both-or-neither check and is still wrong.
72
+ */
73
+ SetDimension(event: Event): void;
74
+ SetValue(event: Event): void;
75
+ /** Clear the tag entirely — both columns, so the pair check holds. */
76
+ ClearTag(): void;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<MJOOrderLineDetailsPanelComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<MJOOrderLineDetailsPanelComponent, "mjo-order-line-details-panel", never, { "Line": { "alias": "Line"; "required": false; }; "ProductName": { "alias": "ProductName"; "required": false; }; "ProductSKU": { "alias": "ProductSKU"; "required": false; }; "ProductType": { "alias": "ProductType"; "required": false; }; "Dimensions": { "alias": "Dimensions"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, { "Closed": "Closed"; }, never, never, true, never>;
79
+ }
80
+ //# sourceMappingURL=order-line-details-panel.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-line-details-panel.component.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/OrderHeader/order-line-details-panel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,EAAuC,MAAM,eAAe,CAAC;AAIhH,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;;AAEpE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,qBAOa,iCAAiC;IAC1C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IAEjD,+DAA+D;IAC/C,IAAI,EAAE,8BAA8B,GAAG,IAAI,CAAQ;IAEnE,yFAAyF;IACzE,WAAW,SAAM;IACjB,UAAU,SAAM;IAChB,WAAW,SAAM;IAEjC,kFAAkF;IAClE,UAAU,EAAE,kBAAkB,EAAE,CAAM;IAEtC,QAAQ,UAAQ;IAEf,MAAM,qBAA4B;IAEnD,IAAW,MAAM,IAAI,OAAO,CAE3B;IAED;;;;OAIG;IACH,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED,IAAW,OAAO,IAAI,OAAO,CAE5B;IAEM,KAAK,IAAI,IAAI;IAKb,QAAQ,IAAI,IAAI;IAIvB,IAAW,mBAAmB,IAAI,MAAM,CAEvC;IAED,IAAW,eAAe,IAAI,MAAM,CAEnC;IA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