@mj-biz-apps/sales-ng 5.1.0 → 5.2.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 (61) hide show
  1. package/LICENSE +183 -183
  2. package/dist/lib/board/deal-board.component.js +2 -2
  3. package/dist/lib/generated/Entities/mjBizAppsSalesAccountType/mjbizappssalesaccounttype.form.component.js +1 -1
  4. package/dist/lib/generated/Entities/mjBizAppsSalesBuyingRoleType/mjbizappssalesbuyingroletype.form.component.js +1 -1
  5. package/dist/lib/generated/Entities/mjBizAppsSalesDeal/mjbizappssalesdeal.form.component.js +1 -1
  6. package/dist/lib/generated/Entities/mjBizAppsSalesDealContactRole/mjbizappssalesdealcontactrole.form.component.js +1 -1
  7. package/dist/lib/generated/Entities/mjBizAppsSalesDealPaymentSchedule/mjbizappssalesdealpaymentschedule.form.component.js +1 -1
  8. package/dist/lib/generated/Entities/mjBizAppsSalesDealRole/mjbizappssalesdealrole.form.component.js +1 -1
  9. package/dist/lib/generated/Entities/mjBizAppsSalesDealSequence/mjbizappssalesdealsequence.form.component.js +1 -1
  10. package/dist/lib/generated/Entities/mjBizAppsSalesDealStageEvent/mjbizappssalesdealstageevent.form.component.js +1 -1
  11. package/dist/lib/generated/Entities/mjBizAppsSalesDealStatusType/mjbizappssalesdealstatustype.form.component.js +1 -1
  12. package/dist/lib/generated/Entities/mjBizAppsSalesDealTeamMember/mjbizappssalesdealteammember.form.component.js +1 -1
  13. package/dist/lib/generated/Entities/mjBizAppsSalesDealType/mjbizappssalesdealtype.form.component.js +1 -1
  14. package/dist/lib/generated/Entities/mjBizAppsSalesForecastCategoryType/mjbizappssalesforecastcategorytype.form.component.js +1 -1
  15. package/dist/lib/generated/Entities/mjBizAppsSalesForecastSnapshot/mjbizappssalesforecastsnapshot.form.component.js +1 -1
  16. package/dist/lib/generated/Entities/mjBizAppsSalesLeadSourceType/mjbizappssalesleadsourcetype.form.component.js +1 -1
  17. package/dist/lib/generated/Entities/mjBizAppsSalesLifecycleStageType/mjbizappssaleslifecyclestagetype.form.component.js +1 -1
  18. package/dist/lib/generated/Entities/mjBizAppsSalesLossReason/mjbizappssaleslossreason.form.component.js +1 -1
  19. package/dist/lib/generated/Entities/mjBizAppsSalesPipeline/mjbizappssalespipeline.form.component.js +1 -1
  20. package/dist/lib/generated/Entities/mjBizAppsSalesPipelineStage/mjbizappssalespipelinestage.form.component.js +1 -1
  21. package/dist/lib/generated/Entities/mjBizAppsSalesSalesAccount/mjbizappssalessalesaccount.form.component.js +1 -1
  22. package/dist/lib/generated/Entities/mjBizAppsSalesSalesContact/mjbizappssalessalescontact.form.component.js +1 -1
  23. package/dist/lib/sections/sales-section.component.js +2 -2
  24. package/dist/lib/workspace/deal-workspace.component.js +2 -2
  25. package/package.json +2 -2
  26. package/dist/lib/custom/deal-line-form.component.d.ts +0 -22
  27. package/dist/lib/custom/deal-line-form.component.d.ts.map +0 -1
  28. package/dist/lib/custom/deal-line-form.component.js +0 -129
  29. package/dist/lib/custom/deal-line-form.component.js.map +0 -1
  30. package/dist/lib/generated/Entities/mjBizAppsSalesDealLine/mjbizappssalesdealline.form.component.d.ts +0 -10
  31. package/dist/lib/generated/Entities/mjBizAppsSalesDealLine/mjbizappssalesdealline.form.component.d.ts.map +0 -1
  32. package/dist/lib/generated/Entities/mjBizAppsSalesDealLine/mjbizappssalesdealline.form.component.js +0 -95
  33. package/dist/lib/generated/Entities/mjBizAppsSalesDealLine/mjbizappssalesdealline.form.component.js.map +0 -1
  34. package/dist/lib/generated/Entities/mjBizAppsSalesDealLineType/mjbizappssalesdeallinetype.form.component.d.ts +0 -10
  35. package/dist/lib/generated/Entities/mjBizAppsSalesDealLineType/mjbizappssalesdeallinetype.form.component.d.ts.map +0 -1
  36. package/dist/lib/generated/Entities/mjBizAppsSalesDealLineType/mjbizappssalesdeallinetype.form.component.js +0 -86
  37. package/dist/lib/generated/Entities/mjBizAppsSalesDealLineType/mjbizappssalesdeallinetype.form.component.js.map +0 -1
  38. package/dist/lib/vendored/workspace-tabs/workspace-card.component.d.ts +0 -55
  39. package/dist/lib/vendored/workspace-tabs/workspace-card.component.d.ts.map +0 -1
  40. package/dist/lib/vendored/workspace-tabs/workspace-card.component.js +0 -243
  41. package/dist/lib/vendored/workspace-tabs/workspace-card.component.js.map +0 -1
  42. package/dist/lib/vendored/workspace-tabs/workspace-tab-store.d.ts +0 -47
  43. package/dist/lib/vendored/workspace-tabs/workspace-tab-store.d.ts.map +0 -1
  44. package/dist/lib/vendored/workspace-tabs/workspace-tab-store.js +0 -112
  45. package/dist/lib/vendored/workspace-tabs/workspace-tab-store.js.map +0 -1
  46. package/dist/lib/vendored/workspace-tabs/workspace-tab-strip.component.d.ts +0 -36
  47. package/dist/lib/vendored/workspace-tabs/workspace-tab-strip.component.d.ts.map +0 -1
  48. package/dist/lib/vendored/workspace-tabs/workspace-tab-strip.component.js +0 -179
  49. package/dist/lib/vendored/workspace-tabs/workspace-tab-strip.component.js.map +0 -1
  50. package/dist/lib/vendored/workspace-tabs/workspace-tabs.types.d.ts +0 -36
  51. package/dist/lib/vendored/workspace-tabs/workspace-tabs.types.d.ts.map +0 -1
  52. package/dist/lib/vendored/workspace-tabs/workspace-tabs.types.js +0 -9
  53. package/dist/lib/vendored/workspace-tabs/workspace-tabs.types.js.map +0 -1
  54. package/dist/lib/vendored/workspace-tabs/workspace-tip.directive.d.ts +0 -35
  55. package/dist/lib/vendored/workspace-tabs/workspace-tip.directive.d.ts.map +0 -1
  56. package/dist/lib/vendored/workspace-tabs/workspace-tip.directive.js +0 -124
  57. package/dist/lib/vendored/workspace-tabs/workspace-tip.directive.js.map +0 -1
  58. package/dist/lib/workspace/deal-workspace.products.d.ts +0 -61
  59. package/dist/lib/workspace/deal-workspace.products.d.ts.map +0 -1
  60. package/dist/lib/workspace/deal-workspace.products.js +0 -58
  61. package/dist/lib/workspace/deal-workspace.products.js.map +0 -1
package/LICENSE CHANGED
@@ -1,183 +1,183 @@
1
- Business Source License 1.1
2
-
3
- License text copyright (c) 2024 MariaDB plc, All Rights Reserved.
4
- "Business Source License" is a trademark of MariaDB plc.
5
-
6
- -----------------------------------------------------------------------------
7
-
8
- Parameters
9
-
10
- Licensor: Blue Cypress, Inc.
11
-
12
- Licensed Work: MemberJunction.
13
- The Licensed Work is (c) 2023-2026 Blue Cypress, Inc.
14
-
15
- Additional Use Grant: Subject to the terms of this License, Licensor grants
16
- you the following additional rights to make Production
17
- Use of the Licensed Work.
18
-
19
- 1. Internal Use
20
-
21
- You may make production use of the Licensed Work for
22
- your own internal business or organizational operations.
23
-
24
- 2. Nonprofit Use
25
-
26
- If you are a Nonprofit, you may make production use of
27
- the Licensed Work for the operations and activities of
28
- your Organizational Family.
29
-
30
- 3. MemberJunction Certified Program Use
31
-
32
- If you are authorized by Licensor under the
33
- MemberJunction Certified Program to provide professional
34
- services using the Licensed Work, you may make
35
- production use of the Licensed Work in providing such
36
- professional services to a client, provided that:
37
-
38
- (a) the Licensed Work is deployed in, and the applicable
39
- production use occurs within, an environment owned,
40
- leased, licensed, subscribed to, or otherwise controlled
41
- by that client; and
42
-
43
- (b) the production use is for that client's own internal
44
- business or organizational operations or is otherwise
45
- independently permitted to that client under this
46
- Additional Use Grant.
47
-
48
- 4. Definitions Applicable to the Additional Use Grant
49
-
50
- "Affiliate" means, with respect to a specified Person,
51
- any other Person that directly or indirectly Controls,
52
- is Controlled by, or is under common Control with such
53
- specified Person.
54
-
55
- "Control" (including the terms "Controls," "Controlled
56
- by," and "under common Control with") means the direct
57
- or indirect possession of the power to direct or cause
58
- the direction of the management and policies of a
59
- Person, whether through ownership of voting interests,
60
- by contract, or otherwise.
61
-
62
- "Organizational Family" means, with respect to a Person,
63
- (a) such Person and its Affiliates, and (b) any
64
- nonprofit organization, governmental entity, chapter,
65
- division, local affiliate, regional affiliate, state
66
- affiliate, national affiliate, or other entity that is
67
- formally affiliated with such Person through governing
68
- documents, a charter, bylaws, a membership agreement, or
69
- another written organizational instrument, and is
70
- recognized under such documents as part of the same
71
- organizational structure.
72
-
73
- "Nonprofit" means a Person recognized by the Internal
74
- Revenue Service as exempt from federal income taxation
75
- under Section 501(c)(3), 501(c)(4), 501(c)(5), or
76
- 501(c)(6) of the Internal Revenue Code, or a foreign
77
- organization recognized under substantially equivalent
78
- laws.
79
-
80
- A Person claiming eligibility as a Nonprofit shall, upon
81
- Licensor's reasonable request, provide documentation
82
- reasonably sufficient to demonstrate that it qualifies
83
- as a Nonprofit. If such Person materially misrepresents,
84
- or is unable to demonstrate, its qualification as a
85
- Nonprofit, the rights granted to such Person under
86
- Section 2 of this Additional Use Grant shall terminate.
87
-
88
- "MemberJunction Certified Program" means Licensor's
89
- then-current program for certifying and authorizing a
90
- Person to provide professional services using the
91
- Licensed Work.
92
-
93
- "Person" means any individual, corporation, limited
94
- liability company, partnership, association, nonprofit
95
- organization, governmental entity, or other legal or
96
- organizational entity.
97
-
98
- Change Date: Four (4) years from the date the Licensed Work is first
99
- made available.
100
-
101
- Change License: MIT License.
102
-
103
- For information about alternative licensing arrangements for the Licensed
104
- Work, please contact Blue Cypress, Inc.
105
-
106
- -----------------------------------------------------------------------------
107
-
108
- Terms
109
-
110
- The Licensor hereby grants you the right to copy, modify, create derivative
111
- works, redistribute, and make non-production use of the Licensed Work. The
112
- Licensor may make an Additional Use Grant, above, permitting limited
113
- production use.
114
-
115
- Effective on the Change Date, or the fourth anniversary of the first publicly
116
- available distribution of a specific version of the Licensed Work under this
117
- License, whichever comes first, the Licensor hereby grants you rights under
118
- the terms of the Change License, and the rights granted in the paragraph
119
- above terminate.
120
-
121
- If your use of the Licensed Work does not comply with the requirements
122
- currently in effect as described in this License, you must purchase a
123
- commercial license from the Licensor, its affiliated entities, or authorized
124
- resellers, or you must refrain from using the Licensed Work.
125
-
126
- All copies of the original and modified Licensed Work, and derivative works
127
- of the Licensed Work, are subject to this License. This License applies
128
- separately for each version of the Licensed Work and the Change Date may vary
129
- for each version of the Licensed Work released by Licensor.
130
-
131
- You must conspicuously display this License on each original or modified copy
132
- of the Licensed Work. If you receive the Licensed Work in original or
133
- modified form from a third party, the terms and conditions set forth in this
134
- License apply to your use of that work.
135
-
136
- Any use of the Licensed Work in violation of this License will automatically
137
- terminate your rights under this License for the current and all other
138
- versions of the Licensed Work.
139
-
140
- This License does not grant you any right in any trademark or logo of
141
- Licensor or its affiliates (provided that you may use a trademark or logo of
142
- Licensor as expressly required by this License).
143
-
144
- TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
145
- AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
146
- EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
147
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
148
- TITLE.
149
-
150
- MariaDB hereby grants you permission to use this License's text to license
151
- your works, and to refer to it using the trademark "Business Source License",
152
- as long as you comply with the Covenants of Licensor below.
153
-
154
- -----------------------------------------------------------------------------
155
-
156
- Covenants of Licensor
157
-
158
- In consideration of the right to use this License's text and the "Business
159
- Source License" name and trademark, Licensor covenants to MariaDB, and to all
160
- other recipients of the licensed work to be provided by Licensor:
161
-
162
- 1. To specify as the Change License the GPL Version 2.0 or any later version,
163
- or a license that is compatible with GPL Version 2.0 or a later version,
164
- where "compatible" means that software provided under the Change License
165
- can be included in a program with software provided under GPL Version 2.0
166
- or a later version. Licensor may specify additional Change Licenses without
167
- limitation.
168
-
169
- 2. To either: (a) specify an additional grant of rights to use that does not
170
- impose any additional restriction on the right granted in this License, as
171
- the Additional Use Grant; or (b) insert the text "None".
172
-
173
- 3. To specify a Change Date.
174
-
175
- 4. Not to modify this License in any other way.
176
-
177
- -----------------------------------------------------------------------------
178
-
179
- Notice
180
-
181
- The Business Source License (this document, or the "License") is not an Open
182
- Source license. However, the Licensed Work will eventually be made available
183
- under an Open Source License, as stated in this License.
1
+ Business Source License 1.1
2
+
3
+ License text copyright (c) 2024 MariaDB plc, All Rights Reserved.
4
+ "Business Source License" is a trademark of MariaDB plc.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ Parameters
9
+
10
+ Licensor: Blue Cypress, Inc.
11
+
12
+ Licensed Work: MemberJunction.
13
+ The Licensed Work is (c) 2023-2026 Blue Cypress, Inc.
14
+
15
+ Additional Use Grant: Subject to the terms of this License, Licensor grants
16
+ you the following additional rights to make Production
17
+ Use of the Licensed Work.
18
+
19
+ 1. Internal Use
20
+
21
+ You may make production use of the Licensed Work for
22
+ your own internal business or organizational operations.
23
+
24
+ 2. Nonprofit Use
25
+
26
+ If you are a Nonprofit, you may make production use of
27
+ the Licensed Work for the operations and activities of
28
+ your Organizational Family.
29
+
30
+ 3. MemberJunction Certified Program Use
31
+
32
+ If you are authorized by Licensor under the
33
+ MemberJunction Certified Program to provide professional
34
+ services using the Licensed Work, you may make
35
+ production use of the Licensed Work in providing such
36
+ professional services to a client, provided that:
37
+
38
+ (a) the Licensed Work is deployed in, and the applicable
39
+ production use occurs within, an environment owned,
40
+ leased, licensed, subscribed to, or otherwise controlled
41
+ by that client; and
42
+
43
+ (b) the production use is for that client's own internal
44
+ business or organizational operations or is otherwise
45
+ independently permitted to that client under this
46
+ Additional Use Grant.
47
+
48
+ 4. Definitions Applicable to the Additional Use Grant
49
+
50
+ "Affiliate" means, with respect to a specified Person,
51
+ any other Person that directly or indirectly Controls,
52
+ is Controlled by, or is under common Control with such
53
+ specified Person.
54
+
55
+ "Control" (including the terms "Controls," "Controlled
56
+ by," and "under common Control with") means the direct
57
+ or indirect possession of the power to direct or cause
58
+ the direction of the management and policies of a
59
+ Person, whether through ownership of voting interests,
60
+ by contract, or otherwise.
61
+
62
+ "Organizational Family" means, with respect to a Person,
63
+ (a) such Person and its Affiliates, and (b) any
64
+ nonprofit organization, governmental entity, chapter,
65
+ division, local affiliate, regional affiliate, state
66
+ affiliate, national affiliate, or other entity that is
67
+ formally affiliated with such Person through governing
68
+ documents, a charter, bylaws, a membership agreement, or
69
+ another written organizational instrument, and is
70
+ recognized under such documents as part of the same
71
+ organizational structure.
72
+
73
+ "Nonprofit" means a Person recognized by the Internal
74
+ Revenue Service as exempt from federal income taxation
75
+ under Section 501(c)(3), 501(c)(4), 501(c)(5), or
76
+ 501(c)(6) of the Internal Revenue Code, or a foreign
77
+ organization recognized under substantially equivalent
78
+ laws.
79
+
80
+ A Person claiming eligibility as a Nonprofit shall, upon
81
+ Licensor's reasonable request, provide documentation
82
+ reasonably sufficient to demonstrate that it qualifies
83
+ as a Nonprofit. If such Person materially misrepresents,
84
+ or is unable to demonstrate, its qualification as a
85
+ Nonprofit, the rights granted to such Person under
86
+ Section 2 of this Additional Use Grant shall terminate.
87
+
88
+ "MemberJunction Certified Program" means Licensor's
89
+ then-current program for certifying and authorizing a
90
+ Person to provide professional services using the
91
+ Licensed Work.
92
+
93
+ "Person" means any individual, corporation, limited
94
+ liability company, partnership, association, nonprofit
95
+ organization, governmental entity, or other legal or
96
+ organizational entity.
97
+
98
+ Change Date: Four (4) years from the date the Licensed Work is first
99
+ made available.
100
+
101
+ Change License: MIT License.
102
+
103
+ For information about alternative licensing arrangements for the Licensed
104
+ Work, please contact Blue Cypress, Inc.
105
+
106
+ -----------------------------------------------------------------------------
107
+
108
+ Terms
109
+
110
+ The Licensor hereby grants you the right to copy, modify, create derivative
111
+ works, redistribute, and make non-production use of the Licensed Work. The
112
+ Licensor may make an Additional Use Grant, above, permitting limited
113
+ production use.
114
+
115
+ Effective on the Change Date, or the fourth anniversary of the first publicly
116
+ available distribution of a specific version of the Licensed Work under this
117
+ License, whichever comes first, the Licensor hereby grants you rights under
118
+ the terms of the Change License, and the rights granted in the paragraph
119
+ above terminate.
120
+
121
+ If your use of the Licensed Work does not comply with the requirements
122
+ currently in effect as described in this License, you must purchase a
123
+ commercial license from the Licensor, its affiliated entities, or authorized
124
+ resellers, or you must refrain from using the Licensed Work.
125
+
126
+ All copies of the original and modified Licensed Work, and derivative works
127
+ of the Licensed Work, are subject to this License. This License applies
128
+ separately for each version of the Licensed Work and the Change Date may vary
129
+ for each version of the Licensed Work released by Licensor.
130
+
131
+ You must conspicuously display this License on each original or modified copy
132
+ of the Licensed Work. If you receive the Licensed Work in original or
133
+ modified form from a third party, the terms and conditions set forth in this
134
+ License apply to your use of that work.
135
+
136
+ Any use of the Licensed Work in violation of this License will automatically
137
+ terminate your rights under this License for the current and all other
138
+ versions of the Licensed Work.
139
+
140
+ This License does not grant you any right in any trademark or logo of
141
+ Licensor or its affiliates (provided that you may use a trademark or logo of
142
+ Licensor as expressly required by this License).
143
+
144
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
145
+ AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
146
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
147
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
148
+ TITLE.
149
+
150
+ MariaDB hereby grants you permission to use this License's text to license
151
+ your works, and to refer to it using the trademark "Business Source License",
152
+ as long as you comply with the Covenants of Licensor below.
153
+
154
+ -----------------------------------------------------------------------------
155
+
156
+ Covenants of Licensor
157
+
158
+ In consideration of the right to use this License's text and the "Business
159
+ Source License" name and trademark, Licensor covenants to MariaDB, and to all
160
+ other recipients of the licensed work to be provided by Licensor:
161
+
162
+ 1. To specify as the Change License the GPL Version 2.0 or any later version,
163
+ or a license that is compatible with GPL Version 2.0 or a later version,
164
+ where "compatible" means that software provided under the Change License
165
+ can be included in a program with software provided under GPL Version 2.0
166
+ or a later version. Licensor may specify additional Change Licenses without
167
+ limitation.
168
+
169
+ 2. To either: (a) specify an additional grant of rights to use that does not
170
+ impose any additional restriction on the right granted in this License, as
171
+ the Additional Use Grant; or (b) insert the text "None".
172
+
173
+ 3. To specify a Change Date.
174
+
175
+ 4. Not to modify this License in any other way.
176
+
177
+ -----------------------------------------------------------------------------
178
+
179
+ Notice
180
+
181
+ The Business Source License (this document, or the "License") is not an Open
182
+ Source license. However, the Licensed Work will eventually be made available
183
+ under an Open Source License, as stated in this License.
@@ -604,11 +604,11 @@ export class DealBoardComponent {
604
604
  i0.ɵɵconditional(ctx.Message ? 8 : -1);
605
605
  i0.ɵɵadvance();
606
606
  i0.ɵɵconditional(ctx.Columns.length === 0 ? 9 : 10);
607
- } }, dependencies: [CommonModule, CdkDropList, CdkDrag, i1.CurrencyPipe, i1.DatePipe], styles: ["\r\n\r\n\r\n\r\n\r\n\n\r\n\r\n.db[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.75rem;\r\n min-height: 0;\r\n}\r\n\r\n\n\r\n\r\n.db-bar[_ngcontent-%COMP%] {\r\n display: flex;\r\n align-items: center;\r\n gap: 0.75rem;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.db-bar__label[_ngcontent-%COMP%] {\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-bar__pipes[_ngcontent-%COMP%] {\r\n display: flex;\r\n gap: 0.25rem;\r\n}\r\n\r\n.db-bar__busy[_ngcontent-%COMP%] {\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-secondary);\r\n}\r\n\r\n.db-pipe[_ngcontent-%COMP%] {\r\n padding: 0.3rem 0.75rem;\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 999px;\r\n background: var(--mj-bg-surface);\r\n color: var(--mj-text-secondary);\r\n font-size: 0.8125rem;\r\n cursor: pointer;\r\n}\r\n\r\n.db-pipe[_ngcontent-%COMP%]:hover {\r\n background: var(--mj-bg-surface-hover);\r\n}\r\n\r\n.db-pipe--on[_ngcontent-%COMP%] {\r\n border-color: var(--mj-brand-primary);\r\n color: var(--mj-brand-primary);\r\n font-weight: 600;\r\n}\r\n\r\n.db-msg[_ngcontent-%COMP%] {\r\n margin: 0;\r\n padding: 0.5rem 0.75rem;\r\n border: 1px solid var(--mj-status-warning-border);\r\n border-radius: 4px;\r\n color: var(--mj-status-warning);\r\n font-size: 0.8125rem;\r\n}\r\n\r\n.db-empty[_ngcontent-%COMP%] {\r\n color: var(--mj-text-muted);\r\n font-size: 0.875rem;\r\n}\r\n\r\n\n\r\n\r\n\r\n\r\n\r\n\n\r\n.db-cols[_ngcontent-%COMP%] {\r\n display: flex;\r\n gap: 0.75rem;\r\n overflow-x: auto;\r\n padding-bottom: 0.5rem;\r\n align-items: flex-start;\r\n}\r\n\r\n.db-col[_ngcontent-%COMP%] {\r\n flex: 0 0 15rem;\r\n display: flex;\r\n flex-direction: column;\r\n background: var(--mj-bg-surface);\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 6px;\r\n min-height: 8rem;\r\n}\r\n\r\n\n\r\n.db-col--closing[_ngcontent-%COMP%] {\r\n border-style: dashed;\r\n opacity: 0.75;\r\n}\r\n\r\n.db-col__head[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.125rem;\r\n padding: 0.5rem 0.625rem;\r\n border-bottom: 1px solid var(--mj-border-default);\r\n}\r\n\r\n.db-col__name[_ngcontent-%COMP%] {\r\n font-size: 0.8125rem;\r\n font-weight: 600;\r\n color: var(--mj-text-primary);\r\n display: flex;\r\n align-items: center;\r\n gap: 0.375rem;\r\n}\r\n\r\n.db-col__lock[_ngcontent-%COMP%] {\r\n color: var(--mj-text-muted);\r\n font-size: 0.6875rem;\r\n}\r\n\r\n.db-col__meta[_ngcontent-%COMP%] {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: baseline;\r\n gap: 0.5rem;\r\n}\r\n\r\n.db-col__count[_ngcontent-%COMP%] {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-col__total[_ngcontent-%COMP%] {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-secondary);\r\n font-variant-numeric: tabular-nums;\r\n}\r\n\r\n\n\r\n.db-col__total--stated[_ngcontent-%COMP%] {\r\n font-style: italic;\r\n}\r\n\r\n.db-col__partial[_ngcontent-%COMP%] {\r\n font-size: 0.6875rem;\r\n color: var(--mj-status-warning);\r\n}\r\n\r\n.db-col__drop[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.375rem;\r\n padding: 0.5rem;\r\n min-height: 4rem;\r\n}\r\n\r\n.db-col__empty[_ngcontent-%COMP%] {\r\n margin: 0;\r\n font-size: 0.75rem;\r\n color: var(--mj-text-muted);\r\n text-align: center;\r\n padding: 0.75rem 0.25rem;\r\n}\r\n\r\n\n\r\n\r\n.db-card[_ngcontent-%COMP%] {\r\n background: var(--mj-bg-surface-card);\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 4px;\r\n padding: 0.5rem 0.625rem;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.25rem;\r\n}\r\n\r\n.db-card[_ngcontent-%COMP%]:hover {\r\n background: var(--mj-bg-surface-hover);\r\n}\r\n\r\n.db-card[_ngcontent-%COMP%]:focus-visible {\r\n outline: 2px solid var(--mj-border-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.db-card__name[_ngcontent-%COMP%] {\r\n font-size: 0.8125rem;\r\n font-weight: 600;\r\n color: var(--mj-text-primary);\r\n line-height: 1.25;\r\n}\r\n\r\n.db-card__customer[_ngcontent-%COMP%] {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-secondary);\r\n display: flex;\r\n align-items: center;\r\n gap: 0.3rem;\r\n}\r\n\r\n.db-card__figures[_ngcontent-%COMP%] {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: baseline;\r\n gap: 0.5rem;\r\n}\r\n\r\n.db-card__amount[_ngcontent-%COMP%] {\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-primary);\r\n font-variant-numeric: tabular-nums;\r\n display: flex;\r\n align-items: center;\r\n gap: 0.3rem;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\n\r\n.db-card__stated[_ngcontent-%COMP%], \r\n.db-card__noamount[_ngcontent-%COMP%], \r\n.db-card__computed[_ngcontent-%COMP%] {\r\n color: var(--mj-text-muted);\r\n font-size: 0.6875rem;\r\n}\r\n\r\n.db-card__prob[_ngcontent-%COMP%] {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-card__foot[_ngcontent-%COMP%] {\r\n display: flex;\r\n justify-content: space-between;\r\n gap: 0.5rem;\r\n font-size: 0.6875rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-card__owner[_ngcontent-%COMP%], \r\n.db-card__close[_ngcontent-%COMP%] {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.db-card__ghost[_ngcontent-%COMP%] {\r\n padding: 0.375rem 0.625rem;\r\n background: var(--mj-bg-surface-card);\r\n border: 1px solid var(--mj-brand-primary);\r\n border-radius: 4px;\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-primary);\r\n}\r\n\r\n\n\r\n\r\n.db-unstaged[_ngcontent-%COMP%] {\r\n border-top: 1px solid var(--mj-border-default);\r\n padding-top: 0.625rem;\r\n}\r\n\r\n.db-unstaged__head[_ngcontent-%COMP%] {\r\n margin: 0 0 0.375rem;\r\n font-size: 0.75rem;\r\n font-weight: 600;\r\n color: var(--mj-text-muted);\r\n display: flex;\r\n align-items: center;\r\n gap: 0.375rem;\r\n}\r\n\r\n.db-unstaged__list[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 0.375rem;\r\n}\r\n\r\n.db-chip[_ngcontent-%COMP%] {\r\n padding: 0.25rem 0.625rem;\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 999px;\r\n background: var(--mj-bg-surface);\r\n color: var(--mj-text-secondary);\r\n font-size: 0.75rem;\r\n cursor: pointer;\r\n}\r\n\r\n.db-chip[_ngcontent-%COMP%]:hover {\r\n background: var(--mj-bg-surface-hover);\r\n}"] });
607
+ } }, dependencies: [CommonModule, CdkDropList, CdkDrag, i1.CurrencyPipe, i1.DatePipe], styles: ["\n\n\n\n\n\n\n\n.db[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n min-height: 0;\n}\n\n\n\n\n.db-bar[_ngcontent-%COMP%] {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n flex-wrap: wrap;\n}\n\n.db-bar__label[_ngcontent-%COMP%] {\n font-size: 0.8125rem;\n color: var(--mj-text-muted);\n}\n\n.db-bar__pipes[_ngcontent-%COMP%] {\n display: flex;\n gap: 0.25rem;\n}\n\n.db-bar__busy[_ngcontent-%COMP%] {\n font-size: 0.8125rem;\n color: var(--mj-text-secondary);\n}\n\n.db-pipe[_ngcontent-%COMP%] {\n padding: 0.3rem 0.75rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n cursor: pointer;\n}\n\n.db-pipe[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-pipe--on[_ngcontent-%COMP%] {\n border-color: var(--mj-brand-primary);\n color: var(--mj-brand-primary);\n font-weight: 600;\n}\n\n.db-msg[_ngcontent-%COMP%] {\n margin: 0;\n padding: 0.5rem 0.75rem;\n border: 1px solid var(--mj-status-warning-border);\n border-radius: 4px;\n color: var(--mj-status-warning);\n font-size: 0.8125rem;\n}\n\n.db-empty[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: 0.875rem;\n}\n\n\n\n\n\n\n\n\n\n.db-cols[_ngcontent-%COMP%] {\n display: flex;\n gap: 0.75rem;\n overflow-x: auto;\n padding-bottom: 0.5rem;\n align-items: flex-start;\n}\n\n.db-col[_ngcontent-%COMP%] {\n flex: 0 0 15rem;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n min-height: 8rem;\n}\n\n\n\n.db-col--closing[_ngcontent-%COMP%] {\n border-style: dashed;\n opacity: 0.75;\n}\n\n.db-col__head[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.625rem;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.db-col__name[_ngcontent-%COMP%] {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-col__lock[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-col__meta[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-col__count[_ngcontent-%COMP%] {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-col__total[_ngcontent-%COMP%] {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n font-variant-numeric: tabular-nums;\n}\n\n\n\n.db-col__total--stated[_ngcontent-%COMP%] {\n font-style: italic;\n}\n\n.db-col__partial[_ngcontent-%COMP%] {\n font-size: 0.6875rem;\n color: var(--mj-status-warning);\n}\n\n.db-col__drop[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.5rem;\n min-height: 4rem;\n}\n\n.db-col__empty[_ngcontent-%COMP%] {\n margin: 0;\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n text-align: center;\n padding: 0.75rem 0.25rem;\n}\n\n\n\n\n.db-card[_ngcontent-%COMP%] {\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n padding: 0.5rem 0.625rem;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\n.db-card[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-card[_ngcontent-%COMP%]:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n.db-card__name[_ngcontent-%COMP%] {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.25;\n}\n\n.db-card__customer[_ngcontent-%COMP%] {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.db-card__figures[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-card__amount[_ngcontent-%COMP%] {\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n font-variant-numeric: tabular-nums;\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n\n\n\n\n\n\n\n\n.db-card__stated[_ngcontent-%COMP%], \n.db-card__noamount[_ngcontent-%COMP%], \n.db-card__computed[_ngcontent-%COMP%] {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-card__prob[_ngcontent-%COMP%] {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__foot[_ngcontent-%COMP%] {\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n font-size: 0.6875rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__owner[_ngcontent-%COMP%], \n.db-card__close[_ngcontent-%COMP%] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.db-card__ghost[_ngcontent-%COMP%] {\n padding: 0.375rem 0.625rem;\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-brand-primary);\n border-radius: 4px;\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n}\n\n\n\n\n.db-unstaged[_ngcontent-%COMP%] {\n border-top: 1px solid var(--mj-border-default);\n padding-top: 0.625rem;\n}\n\n.db-unstaged__head[_ngcontent-%COMP%] {\n margin: 0 0 0.375rem;\n font-size: 0.75rem;\n font-weight: 600;\n color: var(--mj-text-muted);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-unstaged__list[_ngcontent-%COMP%] {\n display: flex;\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.db-chip[_ngcontent-%COMP%] {\n padding: 0.25rem 0.625rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.75rem;\n cursor: pointer;\n}\n\n.db-chip[_ngcontent-%COMP%]:hover {\n background: var(--mj-bg-surface-hover);\n}"] });
608
608
  }
609
609
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DealBoardComponent, [{
610
610
  type: Component,
611
- args: [{ selector: 'mjs-deal-board', standalone: true, imports: [CommonModule, CdkDropList, CdkDrag], template: "<!--\r\n The pipeline board. Columns are stages in DisplayOrder; cards are deals.\r\n\r\n A closing column renders disabled with a hint rather than being hidden: hiding it would make the board\r\n lie about the pipeline's shape, and a rep looking for \"where do won deals go\" needs to see that the\r\n answer is \"not by dragging\".\r\n-->\r\n<div class=\"db\">\r\n\r\n <!-- Pipeline switcher. A pipeline defines the stages, so this is the board's one real control. -->\r\n <div class=\"db-bar\">\r\n <span class=\"db-bar__label\">Pipeline</span>\r\n <div class=\"db-bar__pipes\" role=\"tablist\" aria-label=\"Pipeline\">\r\n @for (pipeline of Pipelines; track pipeline.ID) {\r\n <button\r\n type=\"button\"\r\n role=\"tab\"\r\n class=\"db-pipe\"\r\n [class.db-pipe--on]=\"pipeline.ID === ActivePipelineID\"\r\n [attr.aria-selected]=\"pipeline.ID === ActivePipelineID\"\r\n (click)=\"SelectPipeline(pipeline.ID)\">\r\n {{ pipeline.Name }}\r\n </button>\r\n }\r\n </div>\r\n @if (Moving) {\r\n <span class=\"db-bar__busy\"><i class=\"fa-solid fa-spinner fa-spin\" aria-hidden=\"true\"></i> Moving\u2026</span>\r\n }\r\n </div>\r\n\r\n @if (Message) {\r\n <p class=\"db-msg\" role=\"status\">\r\n <i class=\"fa-solid fa-circle-info\" aria-hidden=\"true\"></i> {{ Message }}\r\n </p>\r\n }\r\n\r\n @if (Columns.length === 0) {\r\n <p class=\"db-empty\">This pipeline has no stages yet.</p>\r\n } @else {\r\n <div class=\"db-cols\">\r\n @for (column of Columns; track TrackColumn($index, column)) {\r\n <section\r\n class=\"db-col\"\r\n [class.db-col--closing]=\"column.IsClosing\"\r\n [attr.aria-label]=\"column.Label\">\r\n\r\n <header class=\"db-col__head\">\r\n <span class=\"db-col__name\">\r\n {{ column.Label }}\r\n @if (column.IsClosing) {\r\n <i class=\"fa-solid fa-lock db-col__lock\"\r\n aria-hidden=\"true\"\r\n title=\"Arriving here closes and locks the deal \u2014 close it from the workspace.\"></i>\r\n }\r\n </span>\r\n <span class=\"db-col__meta\">\r\n <span class=\"db-col__count\">{{ column.Cards.length }}</span>\r\n <!--\r\n A SUM of stored Deal.Amount values. This app prices nothing; the marker says whether the\r\n ORDERS engine did, and the currency question is separate from the provenance question.\r\n\r\n NO TOTAL WHEN THE COLUMN MIXES CURRENCIES. Adding EUR to USD produces a number that is\r\n wrong in a way nobody can see; an absent figure prompts a question instead.\r\n\r\n UNIONED, and the board branch's half needed one correction to survive: it carried\r\n `currency:'USD'`, which is the hardcoding the currency work removed. The `--stated` class\r\n is its contribution and is kept; the literal is not.\r\n -->\r\n @if (column.MixedCurrency) {\r\n <span class=\"db-col__total db-col__total--mixed\"\r\n title=\"This stage holds deals in more than one currency, so a single total would be meaningless.\">\r\n mixed currencies\r\n </span>\r\n } @else {\r\n <span class=\"db-col__total\" [class.db-col__total--stated]=\"column.Unpriced > 0\">\r\n <!-- `?? DefaultCurrency` because Currency is null in two different situations and only\r\n one of them is \"mixed\": an EMPTY column has no currency to disagree about, and its\r\n total is 0. The mixed case never reaches here \u2014 it is the @if above. -->\r\n {{ column.Total | currency:(column.Currency ?? DefaultCurrency):'symbol':'1.0-0' }}\r\n </span>\r\n }\r\n </span>\r\n @if (column.Unpriced > 0) {\r\n <!--\r\n SAYS WHICH OF THE TWO IT IS. A total nobody priced and a total that is only partly\r\n priced are different claims, and collapsing them is how a stated figure passes for an\r\n authoritative one. The wording lives in PricingNote() -- a template expression cannot\r\n hold a sentence without becoming unreadable.\r\n -->\r\n <span class=\"db-col__partial\" [title]=\"PricingNote(column)\">\r\n <i class=\"fa-solid fa-pen-nib\" aria-hidden=\"true\"></i>\r\n @if (column.NonePriced) {\r\n stated, not priced\r\n } @else {\r\n {{ column.Unpriced }} of {{ column.Cards.length }} stated\r\n }\r\n </span>\r\n }\r\n </header>\r\n\r\n <div\r\n class=\"db-col__drop\"\r\n cdkDropList\r\n [id]=\"'col-' + column.StageID\"\r\n [cdkDropListData]=\"column\"\r\n [cdkDropListConnectedTo]=\"ColumnIDs\"\r\n [cdkDropListEnterPredicate]=\"CanDropInto(column)\"\r\n (cdkDropListDropped)=\"OnDrop($event, column)\">\r\n\r\n @for (deal of column.Cards; track TrackCard($index, deal)) {\r\n <article\r\n class=\"db-card\"\r\n cdkDrag\r\n [cdkDragData]=\"deal\"\r\n [cdkDragDisabled]=\"Moving\"\r\n (click)=\"OpenCard(deal)\"\r\n (keydown.enter)=\"OpenCard(deal)\"\r\n tabindex=\"0\"\r\n role=\"button\"\r\n [attr.aria-label]=\"'Open ' + deal.Name\">\r\n\r\n <div class=\"db-card__name\">{{ deal.Name }}</div>\r\n <div class=\"db-card__customer\">\r\n <i class=\"fa-solid fa-building\" aria-hidden=\"true\"></i> {{ deal.CustomerName }}\r\n </div>\r\n\r\n <div class=\"db-card__figures\">\r\n <span class=\"db-card__amount\">\r\n @if (deal.Amount === null) {\r\n <span class=\"db-card__noamount\" title=\"No amount recorded yet\">\u2014</span>\r\n } @else {\r\n {{ deal.Amount | currency:(deal.CurrencyID ?? DefaultCurrency):'symbol':'1.0-0' }}\r\n }\r\n <!--\r\n BOTH CASES ARE MARKED, and marking only one was the defect. A calculator on the\r\n priced figure and nothing on the stated one means the reader has to notice an\r\n ABSENCE to learn anything -- and on data where nothing is priced, no card carries\r\n a marker at all, so the whole board reads as authoritative. A positive mark on\r\n each says which it is without anyone having to know the convention.\r\n -->\r\n @if (deal.Amount !== null) {\r\n @if (deal.AmountIsComputed) {\r\n <i class=\"fa-solid fa-calculator db-card__computed\"\r\n aria-hidden=\"true\"\r\n title=\"Priced by the orders engine\"></i>\r\n } @else {\r\n <i class=\"fa-solid fa-pen-nib db-card__stated\"\r\n aria-hidden=\"true\"\r\n title=\"Stated by a person, not priced by the orders engine\"></i>\r\n }\r\n }\r\n </span>\r\n @if (deal.Probability !== null) {\r\n <span class=\"db-card__prob\">{{ deal.Probability }}%</span>\r\n }\r\n </div>\r\n\r\n <div class=\"db-card__foot\">\r\n <span class=\"db-card__owner\">{{ deal.OwnerEmployee ?? 'Unassigned' }}</span>\r\n <span class=\"db-card__close\">{{ deal.ExpectedCloseDate ? (deal.ExpectedCloseDate | date:'MMM d, y') : 'No date' }}</span>\r\n </div>\r\n\r\n <div class=\"db-card__ghost\" *cdkDragPreview>{{ deal.Name }}</div>\r\n </article>\r\n }\r\n\r\n @if (column.Cards.length === 0) {\r\n <p class=\"db-col__empty\">\r\n @if (column.IsClosing) { Close deals from the workspace. } @else { Nothing here. }\r\n </p>\r\n }\r\n </div>\r\n </section>\r\n }\r\n </div>\r\n\r\n @if (Unstaged.length > 0) {\r\n <!-- Deals with no stage would otherwise be invisible on a board built from stage columns, and\r\n \"missing from the board\" is indistinguishable from \"does not exist\". -->\r\n <section class=\"db-unstaged\">\r\n <h4 class=\"db-unstaged__head\">\r\n <i class=\"fa-solid fa-circle-question\" aria-hidden=\"true\"></i>\r\n No stage set ({{ Unstaged.length }})\r\n </h4>\r\n <div class=\"db-unstaged__list\">\r\n @for (deal of Unstaged; track TrackCard($index, deal)) {\r\n <button type=\"button\" class=\"db-chip\" (click)=\"OpenCard(deal)\">\r\n {{ deal.Name }}\r\n </button>\r\n }\r\n </div>\r\n </section>\r\n }\r\n }\r\n</div>\r\n", styles: ["/*\r\n Board styles.\r\n\r\n SEMANTIC TOKENS ONLY \u2014 the same `--mj-*` set the workspace uses, so the board inherits dark mode rather\r\n than needing its own. No hardcoded colour appears in this file.\r\n*/\r\n\r\n.db {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.75rem;\r\n min-height: 0;\r\n}\r\n\r\n/* \u2500\u2500 Pipeline switcher \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\r\n\r\n.db-bar {\r\n display: flex;\r\n align-items: center;\r\n gap: 0.75rem;\r\n flex-wrap: wrap;\r\n}\r\n\r\n.db-bar__label {\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-bar__pipes {\r\n display: flex;\r\n gap: 0.25rem;\r\n}\r\n\r\n.db-bar__busy {\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-secondary);\r\n}\r\n\r\n.db-pipe {\r\n padding: 0.3rem 0.75rem;\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 999px;\r\n background: var(--mj-bg-surface);\r\n color: var(--mj-text-secondary);\r\n font-size: 0.8125rem;\r\n cursor: pointer;\r\n}\r\n\r\n.db-pipe:hover {\r\n background: var(--mj-bg-surface-hover);\r\n}\r\n\r\n.db-pipe--on {\r\n border-color: var(--mj-brand-primary);\r\n color: var(--mj-brand-primary);\r\n font-weight: 600;\r\n}\r\n\r\n.db-msg {\r\n margin: 0;\r\n padding: 0.5rem 0.75rem;\r\n border: 1px solid var(--mj-status-warning-border);\r\n border-radius: 4px;\r\n color: var(--mj-status-warning);\r\n font-size: 0.8125rem;\r\n}\r\n\r\n.db-empty {\r\n color: var(--mj-text-muted);\r\n font-size: 0.875rem;\r\n}\r\n\r\n/* \u2500\u2500 Columns \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\r\n\r\n/*\r\n Horizontal scroll lives HERE rather than on the page: a board with eight stages must not make the whole\r\n shell scroll sideways, which would drag the rail and the header out of view.\r\n*/\r\n.db-cols {\r\n display: flex;\r\n gap: 0.75rem;\r\n overflow-x: auto;\r\n padding-bottom: 0.5rem;\r\n align-items: flex-start;\r\n}\r\n\r\n.db-col {\r\n flex: 0 0 15rem;\r\n display: flex;\r\n flex-direction: column;\r\n background: var(--mj-bg-surface);\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 6px;\r\n min-height: 8rem;\r\n}\r\n\r\n/* A closing column is visibly inert \u2014 it accepts no drops, and should not invite one. */\r\n.db-col--closing {\r\n border-style: dashed;\r\n opacity: 0.75;\r\n}\r\n\r\n.db-col__head {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.125rem;\r\n padding: 0.5rem 0.625rem;\r\n border-bottom: 1px solid var(--mj-border-default);\r\n}\r\n\r\n.db-col__name {\r\n font-size: 0.8125rem;\r\n font-weight: 600;\r\n color: var(--mj-text-primary);\r\n display: flex;\r\n align-items: center;\r\n gap: 0.375rem;\r\n}\r\n\r\n.db-col__lock {\r\n color: var(--mj-text-muted);\r\n font-size: 0.6875rem;\r\n}\r\n\r\n.db-col__meta {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: baseline;\r\n gap: 0.5rem;\r\n}\r\n\r\n.db-col__count {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-col__total {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-secondary);\r\n font-variant-numeric: tabular-nums;\r\n}\r\n\r\n/* A total that nobody priced still reads as a figure -- this keeps it from reading as a FINAL one. */\r\n.db-col__total--stated {\r\n font-style: italic;\r\n}\r\n\r\n.db-col__partial {\r\n font-size: 0.6875rem;\r\n color: var(--mj-status-warning);\r\n}\r\n\r\n.db-col__drop {\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.375rem;\r\n padding: 0.5rem;\r\n min-height: 4rem;\r\n}\r\n\r\n.db-col__empty {\r\n margin: 0;\r\n font-size: 0.75rem;\r\n color: var(--mj-text-muted);\r\n text-align: center;\r\n padding: 0.75rem 0.25rem;\r\n}\r\n\r\n/* \u2500\u2500 Cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\r\n\r\n.db-card {\r\n background: var(--mj-bg-surface-card);\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 4px;\r\n padding: 0.5rem 0.625rem;\r\n cursor: pointer;\r\n display: flex;\r\n flex-direction: column;\r\n gap: 0.25rem;\r\n}\r\n\r\n.db-card:hover {\r\n background: var(--mj-bg-surface-hover);\r\n}\r\n\r\n.db-card:focus-visible {\r\n outline: 2px solid var(--mj-border-focus);\r\n outline-offset: 1px;\r\n}\r\n\r\n.db-card__name {\r\n font-size: 0.8125rem;\r\n font-weight: 600;\r\n color: var(--mj-text-primary);\r\n line-height: 1.25;\r\n}\r\n\r\n.db-card__customer {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-secondary);\r\n display: flex;\r\n align-items: center;\r\n gap: 0.3rem;\r\n}\r\n\r\n.db-card__figures {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: baseline;\r\n gap: 0.5rem;\r\n}\r\n\r\n.db-card__amount {\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-primary);\r\n font-variant-numeric: tabular-nums;\r\n display: flex;\r\n align-items: center;\r\n gap: 0.3rem;\r\n}\r\n\r\n/*\r\n * The two provenance markers are deliberately the SAME weight as each other.\r\n *\r\n * Making the stated one louder would read as an error, which it is not -- a stated amount is a\r\n * legitimate answer, just a different kind of fact from a priced one. Making it quieter would put us\r\n * back where we started, with the reader learning nothing unless they notice an absence.\r\n */\r\n.db-card__stated,\r\n.db-card__noamount,\r\n.db-card__computed {\r\n color: var(--mj-text-muted);\r\n font-size: 0.6875rem;\r\n}\r\n\r\n.db-card__prob {\r\n font-size: 0.75rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-card__foot {\r\n display: flex;\r\n justify-content: space-between;\r\n gap: 0.5rem;\r\n font-size: 0.6875rem;\r\n color: var(--mj-text-muted);\r\n}\r\n\r\n.db-card__owner,\r\n.db-card__close {\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n}\r\n\r\n.db-card__ghost {\r\n padding: 0.375rem 0.625rem;\r\n background: var(--mj-bg-surface-card);\r\n border: 1px solid var(--mj-brand-primary);\r\n border-radius: 4px;\r\n font-size: 0.8125rem;\r\n color: var(--mj-text-primary);\r\n}\r\n\r\n/* \u2500\u2500 Unstaged \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\r\n\r\n.db-unstaged {\r\n border-top: 1px solid var(--mj-border-default);\r\n padding-top: 0.625rem;\r\n}\r\n\r\n.db-unstaged__head {\r\n margin: 0 0 0.375rem;\r\n font-size: 0.75rem;\r\n font-weight: 600;\r\n color: var(--mj-text-muted);\r\n display: flex;\r\n align-items: center;\r\n gap: 0.375rem;\r\n}\r\n\r\n.db-unstaged__list {\r\n display: flex;\r\n flex-wrap: wrap;\r\n gap: 0.375rem;\r\n}\r\n\r\n.db-chip {\r\n padding: 0.25rem 0.625rem;\r\n border: 1px solid var(--mj-border-default);\r\n border-radius: 999px;\r\n background: var(--mj-bg-surface);\r\n color: var(--mj-text-secondary);\r\n font-size: 0.75rem;\r\n cursor: pointer;\r\n}\r\n\r\n.db-chip:hover {\r\n background: var(--mj-bg-surface-hover);\r\n}\r\n"] }]
611
+ args: [{ selector: 'mjs-deal-board', standalone: true, imports: [CommonModule, CdkDropList, CdkDrag], template: "<!--\n The pipeline board. Columns are stages in DisplayOrder; cards are deals.\n\n A closing column renders disabled with a hint rather than being hidden: hiding it would make the board\n lie about the pipeline's shape, and a rep looking for \"where do won deals go\" needs to see that the\n answer is \"not by dragging\".\n-->\n<div class=\"db\">\n\n <!-- Pipeline switcher. A pipeline defines the stages, so this is the board's one real control. -->\n <div class=\"db-bar\">\n <span class=\"db-bar__label\">Pipeline</span>\n <div class=\"db-bar__pipes\" role=\"tablist\" aria-label=\"Pipeline\">\n @for (pipeline of Pipelines; track pipeline.ID) {\n <button\n type=\"button\"\n role=\"tab\"\n class=\"db-pipe\"\n [class.db-pipe--on]=\"pipeline.ID === ActivePipelineID\"\n [attr.aria-selected]=\"pipeline.ID === ActivePipelineID\"\n (click)=\"SelectPipeline(pipeline.ID)\">\n {{ pipeline.Name }}\n </button>\n }\n </div>\n @if (Moving) {\n <span class=\"db-bar__busy\"><i class=\"fa-solid fa-spinner fa-spin\" aria-hidden=\"true\"></i> Moving\u2026</span>\n }\n </div>\n\n @if (Message) {\n <p class=\"db-msg\" role=\"status\">\n <i class=\"fa-solid fa-circle-info\" aria-hidden=\"true\"></i> {{ Message }}\n </p>\n }\n\n @if (Columns.length === 0) {\n <p class=\"db-empty\">This pipeline has no stages yet.</p>\n } @else {\n <div class=\"db-cols\">\n @for (column of Columns; track TrackColumn($index, column)) {\n <section\n class=\"db-col\"\n [class.db-col--closing]=\"column.IsClosing\"\n [attr.aria-label]=\"column.Label\">\n\n <header class=\"db-col__head\">\n <span class=\"db-col__name\">\n {{ column.Label }}\n @if (column.IsClosing) {\n <i class=\"fa-solid fa-lock db-col__lock\"\n aria-hidden=\"true\"\n title=\"Arriving here closes and locks the deal \u2014 close it from the workspace.\"></i>\n }\n </span>\n <span class=\"db-col__meta\">\n <span class=\"db-col__count\">{{ column.Cards.length }}</span>\n <!--\n A SUM of stored Deal.Amount values. This app prices nothing; the marker says whether the\n ORDERS engine did, and the currency question is separate from the provenance question.\n\n NO TOTAL WHEN THE COLUMN MIXES CURRENCIES. Adding EUR to USD produces a number that is\n wrong in a way nobody can see; an absent figure prompts a question instead.\n\n UNIONED, and the board branch's half needed one correction to survive: it carried\n `currency:'USD'`, which is the hardcoding the currency work removed. The `--stated` class\n is its contribution and is kept; the literal is not.\n -->\n @if (column.MixedCurrency) {\n <span class=\"db-col__total db-col__total--mixed\"\n title=\"This stage holds deals in more than one currency, so a single total would be meaningless.\">\n mixed currencies\n </span>\n } @else {\n <span class=\"db-col__total\" [class.db-col__total--stated]=\"column.Unpriced > 0\">\n <!-- `?? DefaultCurrency` because Currency is null in two different situations and only\n one of them is \"mixed\": an EMPTY column has no currency to disagree about, and its\n total is 0. The mixed case never reaches here \u2014 it is the @if above. -->\n {{ column.Total | currency:(column.Currency ?? DefaultCurrency):'symbol':'1.0-0' }}\n </span>\n }\n </span>\n @if (column.Unpriced > 0) {\n <!--\n SAYS WHICH OF THE TWO IT IS. A total nobody priced and a total that is only partly\n priced are different claims, and collapsing them is how a stated figure passes for an\n authoritative one. The wording lives in PricingNote() -- a template expression cannot\n hold a sentence without becoming unreadable.\n -->\n <span class=\"db-col__partial\" [title]=\"PricingNote(column)\">\n <i class=\"fa-solid fa-pen-nib\" aria-hidden=\"true\"></i>\n @if (column.NonePriced) {\n stated, not priced\n } @else {\n {{ column.Unpriced }} of {{ column.Cards.length }} stated\n }\n </span>\n }\n </header>\n\n <div\n class=\"db-col__drop\"\n cdkDropList\n [id]=\"'col-' + column.StageID\"\n [cdkDropListData]=\"column\"\n [cdkDropListConnectedTo]=\"ColumnIDs\"\n [cdkDropListEnterPredicate]=\"CanDropInto(column)\"\n (cdkDropListDropped)=\"OnDrop($event, column)\">\n\n @for (deal of column.Cards; track TrackCard($index, deal)) {\n <article\n class=\"db-card\"\n cdkDrag\n [cdkDragData]=\"deal\"\n [cdkDragDisabled]=\"Moving\"\n (click)=\"OpenCard(deal)\"\n (keydown.enter)=\"OpenCard(deal)\"\n tabindex=\"0\"\n role=\"button\"\n [attr.aria-label]=\"'Open ' + deal.Name\">\n\n <div class=\"db-card__name\">{{ deal.Name }}</div>\n <div class=\"db-card__customer\">\n <i class=\"fa-solid fa-building\" aria-hidden=\"true\"></i> {{ deal.CustomerName }}\n </div>\n\n <div class=\"db-card__figures\">\n <span class=\"db-card__amount\">\n @if (deal.Amount === null) {\n <span class=\"db-card__noamount\" title=\"No amount recorded yet\">\u2014</span>\n } @else {\n {{ deal.Amount | currency:(deal.CurrencyID ?? DefaultCurrency):'symbol':'1.0-0' }}\n }\n <!--\n BOTH CASES ARE MARKED, and marking only one was the defect. A calculator on the\n priced figure and nothing on the stated one means the reader has to notice an\n ABSENCE to learn anything -- and on data where nothing is priced, no card carries\n a marker at all, so the whole board reads as authoritative. A positive mark on\n each says which it is without anyone having to know the convention.\n -->\n @if (deal.Amount !== null) {\n @if (deal.AmountIsComputed) {\n <i class=\"fa-solid fa-calculator db-card__computed\"\n aria-hidden=\"true\"\n title=\"Priced by the orders engine\"></i>\n } @else {\n <i class=\"fa-solid fa-pen-nib db-card__stated\"\n aria-hidden=\"true\"\n title=\"Stated by a person, not priced by the orders engine\"></i>\n }\n }\n </span>\n @if (deal.Probability !== null) {\n <span class=\"db-card__prob\">{{ deal.Probability }}%</span>\n }\n </div>\n\n <div class=\"db-card__foot\">\n <span class=\"db-card__owner\">{{ deal.OwnerEmployee ?? 'Unassigned' }}</span>\n <span class=\"db-card__close\">{{ deal.ExpectedCloseDate ? (deal.ExpectedCloseDate | date:'MMM d, y') : 'No date' }}</span>\n </div>\n\n <div class=\"db-card__ghost\" *cdkDragPreview>{{ deal.Name }}</div>\n </article>\n }\n\n @if (column.Cards.length === 0) {\n <p class=\"db-col__empty\">\n @if (column.IsClosing) { Close deals from the workspace. } @else { Nothing here. }\n </p>\n }\n </div>\n </section>\n }\n </div>\n\n @if (Unstaged.length > 0) {\n <!-- Deals with no stage would otherwise be invisible on a board built from stage columns, and\n \"missing from the board\" is indistinguishable from \"does not exist\". -->\n <section class=\"db-unstaged\">\n <h4 class=\"db-unstaged__head\">\n <i class=\"fa-solid fa-circle-question\" aria-hidden=\"true\"></i>\n No stage set ({{ Unstaged.length }})\n </h4>\n <div class=\"db-unstaged__list\">\n @for (deal of Unstaged; track TrackCard($index, deal)) {\n <button type=\"button\" class=\"db-chip\" (click)=\"OpenCard(deal)\">\n {{ deal.Name }}\n </button>\n }\n </div>\n </section>\n }\n }\n</div>\n", styles: ["/*\n Board styles.\n\n SEMANTIC TOKENS ONLY \u2014 the same `--mj-*` set the workspace uses, so the board inherits dark mode rather\n than needing its own. No hardcoded colour appears in this file.\n*/\n\n.db {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n min-height: 0;\n}\n\n/* \u2500\u2500 Pipeline switcher \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-bar {\n display: flex;\n align-items: center;\n gap: 0.75rem;\n flex-wrap: wrap;\n}\n\n.db-bar__label {\n font-size: 0.8125rem;\n color: var(--mj-text-muted);\n}\n\n.db-bar__pipes {\n display: flex;\n gap: 0.25rem;\n}\n\n.db-bar__busy {\n font-size: 0.8125rem;\n color: var(--mj-text-secondary);\n}\n\n.db-pipe {\n padding: 0.3rem 0.75rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.8125rem;\n cursor: pointer;\n}\n\n.db-pipe:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-pipe--on {\n border-color: var(--mj-brand-primary);\n color: var(--mj-brand-primary);\n font-weight: 600;\n}\n\n.db-msg {\n margin: 0;\n padding: 0.5rem 0.75rem;\n border: 1px solid var(--mj-status-warning-border);\n border-radius: 4px;\n color: var(--mj-status-warning);\n font-size: 0.8125rem;\n}\n\n.db-empty {\n color: var(--mj-text-muted);\n font-size: 0.875rem;\n}\n\n/* \u2500\u2500 Columns \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n/*\n Horizontal scroll lives HERE rather than on the page: a board with eight stages must not make the whole\n shell scroll sideways, which would drag the rail and the header out of view.\n*/\n.db-cols {\n display: flex;\n gap: 0.75rem;\n overflow-x: auto;\n padding-bottom: 0.5rem;\n align-items: flex-start;\n}\n\n.db-col {\n flex: 0 0 15rem;\n display: flex;\n flex-direction: column;\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: 6px;\n min-height: 8rem;\n}\n\n/* A closing column is visibly inert \u2014 it accepts no drops, and should not invite one. */\n.db-col--closing {\n border-style: dashed;\n opacity: 0.75;\n}\n\n.db-col__head {\n display: flex;\n flex-direction: column;\n gap: 0.125rem;\n padding: 0.5rem 0.625rem;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.db-col__name {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-col__lock {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-col__meta {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-col__count {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-col__total {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n font-variant-numeric: tabular-nums;\n}\n\n/* A total that nobody priced still reads as a figure -- this keeps it from reading as a FINAL one. */\n.db-col__total--stated {\n font-style: italic;\n}\n\n.db-col__partial {\n font-size: 0.6875rem;\n color: var(--mj-status-warning);\n}\n\n.db-col__drop {\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n padding: 0.5rem;\n min-height: 4rem;\n}\n\n.db-col__empty {\n margin: 0;\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n text-align: center;\n padding: 0.75rem 0.25rem;\n}\n\n/* \u2500\u2500 Cards \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-card {\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: 4px;\n padding: 0.5rem 0.625rem;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n}\n\n.db-card:hover {\n background: var(--mj-bg-surface-hover);\n}\n\n.db-card:focus-visible {\n outline: 2px solid var(--mj-border-focus);\n outline-offset: 1px;\n}\n\n.db-card__name {\n font-size: 0.8125rem;\n font-weight: 600;\n color: var(--mj-text-primary);\n line-height: 1.25;\n}\n\n.db-card__customer {\n font-size: 0.75rem;\n color: var(--mj-text-secondary);\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n.db-card__figures {\n display: flex;\n justify-content: space-between;\n align-items: baseline;\n gap: 0.5rem;\n}\n\n.db-card__amount {\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n font-variant-numeric: tabular-nums;\n display: flex;\n align-items: center;\n gap: 0.3rem;\n}\n\n/*\n * The two provenance markers are deliberately the SAME weight as each other.\n *\n * Making the stated one louder would read as an error, which it is not -- a stated amount is a\n * legitimate answer, just a different kind of fact from a priced one. Making it quieter would put us\n * back where we started, with the reader learning nothing unless they notice an absence.\n */\n.db-card__stated,\n.db-card__noamount,\n.db-card__computed {\n color: var(--mj-text-muted);\n font-size: 0.6875rem;\n}\n\n.db-card__prob {\n font-size: 0.75rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__foot {\n display: flex;\n justify-content: space-between;\n gap: 0.5rem;\n font-size: 0.6875rem;\n color: var(--mj-text-muted);\n}\n\n.db-card__owner,\n.db-card__close {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.db-card__ghost {\n padding: 0.375rem 0.625rem;\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-brand-primary);\n border-radius: 4px;\n font-size: 0.8125rem;\n color: var(--mj-text-primary);\n}\n\n/* \u2500\u2500 Unstaged \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 */\n\n.db-unstaged {\n border-top: 1px solid var(--mj-border-default);\n padding-top: 0.625rem;\n}\n\n.db-unstaged__head {\n margin: 0 0 0.375rem;\n font-size: 0.75rem;\n font-weight: 600;\n color: var(--mj-text-muted);\n display: flex;\n align-items: center;\n gap: 0.375rem;\n}\n\n.db-unstaged__list {\n display: flex;\n flex-wrap: wrap;\n gap: 0.375rem;\n}\n\n.db-chip {\n padding: 0.25rem 0.625rem;\n border: 1px solid var(--mj-border-default);\n border-radius: 999px;\n background: var(--mj-bg-surface);\n color: var(--mj-text-secondary);\n font-size: 0.75rem;\n cursor: pointer;\n}\n\n.db-chip:hover {\n background: var(--mj-bg-surface-hover);\n}\n"] }]
612
612
  }], null, { Deals: [{
613
613
  type: Input
614
614
  }], Pipelines: [{
@@ -86,5 +86,5 @@ export { mjBizAppsSalesAccountTypeFormComponent };
86
86
  type: Component,
87
87
  args: [{ standalone: false, selector: 'gen-mjbizappssalesaccounttype-form', template: "<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 <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Code\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsCustomer\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsProspect\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsPartner\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayRank\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Sales Accounts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesSalesAccounts\"\n SectionName=\"Sales Accounts\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesSalesAccounts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Sales Accounts','AccountTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Sales Accounts','AccountTypeID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesSalesAccounts')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesSalesAccounts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\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 " }]
88
88
  }], null, null); })();
89
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsSalesAccountTypeFormComponent, { className: "mjBizAppsSalesAccountTypeFormComponent", filePath: "lib/generated/entities/mjbizappssalesaccounttype/mjbizappssalesaccounttype.form.component.ts", lineNumber: 13 }); })();
89
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsSalesAccountTypeFormComponent, { className: "mjBizAppsSalesAccountTypeFormComponent", filePath: "lib/generated/Entities/mjBizAppsSalesAccountType/mjbizappssalesaccounttype.form.component.ts", lineNumber: 13 }); })();
90
90
  //# sourceMappingURL=mjbizappssalesaccounttype.form.component.js.map
@@ -104,5 +104,5 @@ export { mjBizAppsSalesBuyingRoleTypeFormComponent };
104
104
  type: Component,
105
105
  args: [{ standalone: false, selector: 'gen-mjbizappssalesbuyingroletype-form', template: "<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 <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Code\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsDecisionMaker\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsBlocker\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"InfluenceWeight\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DisplayRank\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Sales Contacts Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesSalesContacts\"\n SectionName=\"Sales Contacts\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesSalesContacts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Sales Contacts','BuyingRoleTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Sales Contacts','BuyingRoleTypeID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesSalesContacts')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesSalesContacts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Deal Contact Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesDealContactRoles\"\n SectionName=\"Deal Contact Roles\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesDealContactRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Deal Contact Roles','BuyingRoleTypeID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Deal Contact Roles','BuyingRoleTypeID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesDealContactRoles')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesDealContactRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\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 " }]
106
106
  }], null, null); })();
107
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsSalesBuyingRoleTypeFormComponent, { className: "mjBizAppsSalesBuyingRoleTypeFormComponent", filePath: "lib/generated/entities/mjbizappssalesbuyingroletype/mjbizappssalesbuyingroletype.form.component.ts", lineNumber: 13 }); })();
107
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsSalesBuyingRoleTypeFormComponent, { className: "mjBizAppsSalesBuyingRoleTypeFormComponent", filePath: "lib/generated/Entities/mjBizAppsSalesBuyingRoleType/mjbizappssalesbuyingroletype.form.component.ts", lineNumber: 13 }); })();
108
108
  //# sourceMappingURL=mjbizappssalesbuyingroletype.form.component.js.map
@@ -212,5 +212,5 @@ export { mjBizAppsSalesDealFormComponent };
212
212
  type: Component,
213
213
  args: [{ standalone: false, selector: 'gen-mjbizappssalesdeal-form', template: "<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 <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DealNumber\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PipelineID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PipelineStageID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DealTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DealStatusTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AccountID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PrimaryContactID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BillingContactID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CompanyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"OwnerEmployeeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Amount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AmountIsComputed\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AmountComputedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AmountSourceHash\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CurrencyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MRR\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ARR\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TermMonths\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EstimatedProjectWeeks\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ExecutionDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"StartDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ExpectedCloseDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ActualCloseDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Probability\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ForecastCategoryTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LossReasonID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LossNotes\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"LeadSourceTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CampaignID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContractID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RenewsContractID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AutoRenew\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AnnualIncreasePctOverride\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CancellationNoticeDaysOverride\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PaymentMethod\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContractVariances\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"NextStep\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"NextStepDate\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ClosedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ClosedByUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"OrderID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"StandardAgreementModified\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Deal Contact Roles Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesDealContactRoles\"\n SectionName=\"Deal Contact Roles\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesDealContactRoles')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Deal Contact Roles','DealID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Deal Contact Roles','DealID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesDealContactRoles')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesDealContactRoles', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Deal Stage Events Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesDealStageEvents\"\n SectionName=\"Deal Stage Events\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesDealStageEvents')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Deal Stage Events','DealID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Deal Stage Events','DealID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesDealStageEvents')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesDealStageEvents', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Deal Team Members Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesDealTeamMembers\"\n SectionName=\"Deal Team Members\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesDealTeamMembers')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Deal Team Members','DealID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Deal Team Members','DealID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesDealTeamMembers')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesDealTeamMembers', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Deal Payment Schedules Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsSalesDealPaymentSchedules\"\n SectionName=\"Deal Payment Schedules\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsSalesDealPaymentSchedules')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Sales: Deal Payment Schedules','DealID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Sales: Deal Payment Schedules','DealID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsSalesDealPaymentSchedules')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsSalesDealPaymentSchedules', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\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 " }]
214
214
  }], null, null); })();
215
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsSalesDealFormComponent, { className: "mjBizAppsSalesDealFormComponent", filePath: "lib/generated/entities/mjbizappssalesdeal/mjbizappssalesdeal.form.component.ts", lineNumber: 13 }); })();
215
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsSalesDealFormComponent, { className: "mjBizAppsSalesDealFormComponent", filePath: "lib/generated/Entities/mjBizAppsSalesDeal/mjbizappssalesdeal.form.component.ts", lineNumber: 13 }); })();
216
216
  //# sourceMappingURL=mjbizappssalesdeal.form.component.js.map