@mj-biz-apps/orders-ng 5.47.1 → 5.48.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.
- package/dist/lib/form-panels/document-forms.module.d.ts +1 -1
- package/dist/lib/form-panels/document-forms.module.d.ts.map +1 -1
- package/dist/lib/form-panels/document-forms.module.js +1 -4
- package/dist/lib/form-panels/document-forms.module.js.map +1 -1
- package/dist/lib/form-panels/price-list-simulator.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/price-list-simulator.panel.js +3 -2
- package/dist/lib/form-panels/price-list-simulator.panel.js.map +1 -1
- package/dist/lib/form-panels/product-header.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/product-header.panel.js +13 -2
- package/dist/lib/form-panels/product-header.panel.js.map +1 -1
- package/dist/lib/form-panels/product-widget.panels.d.ts +14 -17
- package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -1
- package/dist/lib/form-panels/product-widget.panels.js +30 -58
- package/dist/lib/form-panels/product-widget.panels.js.map +1 -1
- package/dist/lib/form-panels/subscription-cancel.component.d.ts +2 -1
- package/dist/lib/form-panels/subscription-cancel.component.d.ts.map +1 -1
- package/dist/lib/form-panels/subscription-cancel.component.js +5 -4
- package/dist/lib/form-panels/subscription-cancel.component.js.map +1 -1
- package/dist/lib/form-panels/subscription-revrec.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/subscription-revrec.panel.js +3 -2
- package/dist/lib/form-panels/subscription-revrec.panel.js.map +1 -1
- package/dist/lib/form-panels/subscription-term-revrec.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/subscription-term-revrec.panel.js +3 -2
- package/dist/lib/form-panels/subscription-term-revrec.panel.js.map +1 -1
- package/dist/lib/pages/payments/account-credit.page.d.ts +6 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -1
- package/dist/lib/pages/payments/account-credit.page.js +29 -7
- package/dist/lib/pages/payments/account-credit.page.js.map +1 -1
- package/dist/lib/pages/payments/refund.page.d.ts +7 -0
- package/dist/lib/pages/payments/refund.page.d.ts.map +1 -1
- package/dist/lib/pages/payments/refund.page.js +35 -12
- package/dist/lib/pages/payments/refund.page.js.map +1 -1
- package/package.json +2 -2
|
@@ -36,7 +36,7 @@ import * as i31 from "../custom/custom-forms.module.js";
|
|
|
36
36
|
*/
|
|
37
37
|
export declare class OrdersDocumentFormsModule {
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrdersDocumentFormsModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OrdersDocumentFormsModule, [typeof i1.MJODocHeroComponent, typeof i2.MJOOverviewCardsComponent, typeof i3.PaymentHeaderPanel, typeof i4.PaymentJournalsPanel, typeof i5.SubscriptionHeaderPanel, typeof i6.MJOSubscriptionCancelComponent, typeof i7.SubscriptionTermsPanel, typeof i8.SubscriptionRevRecPanel, typeof i9.SubscriptionTermHeaderPanel, typeof i10.SubscriptionTermRevRecPanel, typeof i11.OrderAccessOverridesPanel, typeof i12.ProductHeaderPanel, typeof i13.MJOProductRevRecFieldComponent, typeof i14.ProductPricingPanel, typeof i14.ProductPromosPanel, typeof i14.ProductAccountingPanel, typeof i14.ProductFulfillmentPanel, typeof i14.ProductDetailsPanel, typeof i14.
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OrdersDocumentFormsModule, [typeof i1.MJODocHeroComponent, typeof i2.MJOOverviewCardsComponent, typeof i3.PaymentHeaderPanel, typeof i4.PaymentJournalsPanel, typeof i5.SubscriptionHeaderPanel, typeof i6.MJOSubscriptionCancelComponent, typeof i7.SubscriptionTermsPanel, typeof i8.SubscriptionRevRecPanel, typeof i9.SubscriptionTermHeaderPanel, typeof i10.SubscriptionTermRevRecPanel, typeof i11.OrderAccessOverridesPanel, typeof i12.ProductHeaderPanel, typeof i13.MJOProductRevRecFieldComponent, typeof i14.ProductPricingPanel, typeof i14.ProductPromosPanel, typeof i14.ProductAccountingPanel, typeof i14.ProductFulfillmentPanel, typeof i14.ProductDetailsPanel, typeof i14.ProductSubscriptionsPanel, typeof i15.PriceListHeaderPanel, typeof i16.PriceListSimulatorPanel, typeof i17.PromotionHeaderPanel, typeof i18.ProductTypeHeaderPanel, typeof i18.ProductCategoryHeaderPanel, typeof i18.SubscriptionTypeHeaderPanel, typeof i18.RevRecTypeHeaderPanel, typeof i18.ChargeTypeHeaderPanel, typeof i18.SalesAuthorityHeaderPanel, typeof i18.StoredValueHeaderPanel, typeof i18.PaymentProviderHeaderPanel, typeof i18.PaymentTypeHeaderPanel, typeof i19.ProductTypeOverviewPanel, typeof i19.ProductCategoryOverviewPanel, typeof i19.ProductOverviewPanel, typeof i19.SubscriptionTypeOverviewPanel, typeof i19.RevRecTypeOverviewPanel, typeof i20.PriceListOverviewPanel, typeof i20.PromotionOverviewPanel, typeof i20.ChargeTypeOverviewPanel, typeof i20.SalesAuthorityOverviewPanel, typeof i21.PaymentOverviewPanel, typeof i21.SubscriptionOverviewPanel, typeof i21.SubscriptionTermOverviewPanel, typeof i21.StoredValueOverviewPanel, typeof i21.PaymentProviderOverviewPanel, typeof i21.PaymentTypeOverviewPanel, typeof i22.ExternalInvoicesPanel, typeof i23.ChargeExceptionOrderPanel], [typeof i24.CommonModule, typeof i25.FormsModule, typeof i26.BaseFormsModule, typeof i27.MJAlertComponent, typeof i27.MJButtonDirective, typeof i28.MJOMoneyPipe, typeof i27.MJComboboxComponent, typeof i27.MJEmptyStateComponent, typeof i29.RelatedChipsComponent, typeof i30.DeferredRevenueWaterfallModule, typeof i31.CustomFormsModule], [typeof i1.MJODocHeroComponent, typeof i2.MJOOverviewCardsComponent, typeof i3.PaymentHeaderPanel, typeof i4.PaymentJournalsPanel, typeof i5.SubscriptionHeaderPanel, typeof i6.MJOSubscriptionCancelComponent, typeof i7.SubscriptionTermsPanel, typeof i8.SubscriptionRevRecPanel, typeof i9.SubscriptionTermHeaderPanel, typeof i10.SubscriptionTermRevRecPanel, typeof i11.OrderAccessOverridesPanel, typeof i12.ProductHeaderPanel, typeof i13.MJOProductRevRecFieldComponent, typeof i14.ProductPricingPanel, typeof i14.ProductPromosPanel, typeof i14.ProductAccountingPanel, typeof i14.ProductFulfillmentPanel, typeof i14.ProductDetailsPanel, typeof i14.ProductSubscriptionsPanel, typeof i15.PriceListHeaderPanel, typeof i16.PriceListSimulatorPanel, typeof i17.PromotionHeaderPanel, typeof i18.ProductTypeHeaderPanel, typeof i18.ProductCategoryHeaderPanel, typeof i18.SubscriptionTypeHeaderPanel, typeof i18.RevRecTypeHeaderPanel, typeof i18.ChargeTypeHeaderPanel, typeof i18.SalesAuthorityHeaderPanel, typeof i18.StoredValueHeaderPanel, typeof i18.PaymentProviderHeaderPanel, typeof i18.PaymentTypeHeaderPanel, typeof i19.ProductTypeOverviewPanel, typeof i19.ProductCategoryOverviewPanel, typeof i19.ProductOverviewPanel, typeof i19.SubscriptionTypeOverviewPanel, typeof i19.RevRecTypeOverviewPanel, typeof i20.PriceListOverviewPanel, typeof i20.PromotionOverviewPanel, typeof i20.ChargeTypeOverviewPanel, typeof i20.SalesAuthorityOverviewPanel, typeof i21.PaymentOverviewPanel, typeof i21.SubscriptionOverviewPanel, typeof i21.SubscriptionTermOverviewPanel, typeof i21.StoredValueOverviewPanel, typeof i21.PaymentProviderOverviewPanel, typeof i21.PaymentTypeOverviewPanel, typeof i22.ExternalInvoicesPanel, typeof i23.ChargeExceptionOrderPanel]>;
|
|
40
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<OrdersDocumentFormsModule>;
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=document-forms.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-forms.module.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/document-forms.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"document-forms.module.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/document-forms.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuHA;;;GAGG;AACH,qBAiBa,yBAAyB;yCAAzB,yBAAyB;0CAAzB,yBAAyB;0CAAzB,yBAAyB;CAAG"}
|
|
@@ -20,7 +20,7 @@ import { SubscriptionTermRevRecPanel } from './subscription-term-revrec.panel.js
|
|
|
20
20
|
import { OrderAccessOverridesPanel } from './order-access-overrides.panel.js';
|
|
21
21
|
import { ProductHeaderPanel } from './product-header.panel.js';
|
|
22
22
|
import { MJOProductRevRecFieldComponent } from './product-rev-rec-field.component.js';
|
|
23
|
-
import { ProductAccountingPanel, ProductFulfillmentPanel, ProductDetailsPanel,
|
|
23
|
+
import { ProductAccountingPanel, ProductFulfillmentPanel, ProductDetailsPanel, ProductPricingPanel, ProductPromosPanel, ProductSubscriptionsPanel, } from './product-widget.panels.js';
|
|
24
24
|
import { PriceListHeaderPanel } from './price-list-header.panel.js';
|
|
25
25
|
import { PriceListSimulatorPanel } from './price-list-simulator.panel.js';
|
|
26
26
|
import { PromotionHeaderPanel } from './promotion-header.panel.js';
|
|
@@ -50,7 +50,6 @@ const PANELS = [
|
|
|
50
50
|
ProductAccountingPanel,
|
|
51
51
|
ProductFulfillmentPanel,
|
|
52
52
|
ProductDetailsPanel,
|
|
53
|
-
ProductLifecycleClaimPanel,
|
|
54
53
|
ProductSubscriptionsPanel,
|
|
55
54
|
PriceListHeaderPanel,
|
|
56
55
|
PriceListSimulatorPanel,
|
|
@@ -137,7 +136,6 @@ export class OrdersDocumentFormsModule {
|
|
|
137
136
|
ProductAccountingPanel,
|
|
138
137
|
ProductFulfillmentPanel,
|
|
139
138
|
ProductDetailsPanel,
|
|
140
|
-
ProductLifecycleClaimPanel,
|
|
141
139
|
ProductSubscriptionsPanel,
|
|
142
140
|
PriceListHeaderPanel,
|
|
143
141
|
PriceListSimulatorPanel,
|
|
@@ -195,7 +193,6 @@ export class OrdersDocumentFormsModule {
|
|
|
195
193
|
ProductAccountingPanel,
|
|
196
194
|
ProductFulfillmentPanel,
|
|
197
195
|
ProductDetailsPanel,
|
|
198
|
-
ProductLifecycleClaimPanel,
|
|
199
196
|
ProductSubscriptionsPanel,
|
|
200
197
|
PriceListHeaderPanel,
|
|
201
198
|
PriceListSimulatorPanel,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"document-forms.module.js","sourceRoot":"","sources":["../../../src/lib/form-panels/document-forms.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACnI,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC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ACnB,yBAAyB;QACzB,oBAAoB;QACpB,uBAAuB;QACvB,oBAAoB;QACpB,sBAAsB;QACtB,0BAA0B;QAC1B,2BAA2B;QAC3B,qBAAqB;QACrB,qBAAqB;QACrB,yBAAyB;QACzB,sBAAsB;QACtB,0BAA0B;QAC1B,sBAAsB;QACtB,wBAAwB;QACxB,4BAA4B;QAC5B,oBAAoB;QACpB,6BAA6B;QAC7B,uBAAuB;QACvB,sBAAsB;QACtB,sBAAsB;QACtB,uBAAuB;QACvB,2BAA2B;QAC3B,oBAAoB;QACpB,yBAAyB;QACzB,6BAA6B;QAC7B,wBAAwB;QACxB,4BAA4B;QAC5B,wBAAwB;QACxB,qBAAqB;QACrB,yBAAyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-list-simulator.panel.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/price-list-simulator.panel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAEnF,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;;AAI3F,
|
|
1
|
+
{"version":3,"file":"price-list-simulator.panel.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/price-list-simulator.panel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AAEnF,OAAO,EAA2B,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;;AAI3F,qBAgBa,uBAAwB,SAAQ,aAAa,CAAC,8BAA8B,CAAC;IACtF,SAAgB,UAAU,eAAe;IAClC,SAAS,SAAO;IAChB,QAAQ,SAAM;IACd,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAY;IACrC,MAAM,EAAE,kBAAkB,CAA8C;IAExE,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAK/B,UAAU,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAK9B,OAAO,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI;IAKxC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAInC,OAAO,CAAC,MAAM;yCA1BL,uBAAuB;2CAAvB,uBAAuB;CA6BnC"}
|
|
@@ -110,7 +110,8 @@ PriceListSimulatorPanel = __decorate([
|
|
|
110
110
|
key: 'form-panel:PriceLists:simulator',
|
|
111
111
|
metadata: {
|
|
112
112
|
entity: 'MJ_BizApps_Orders: Price Lists',
|
|
113
|
-
|
|
113
|
+
// After-related so it stays its own rail item after Details on MJ 6.2 (see product-widget.panels.ts).
|
|
114
|
+
slot: 'after-related',
|
|
114
115
|
sortKey: 90,
|
|
115
116
|
contributionKey: SECTION_KEY,
|
|
116
117
|
},
|
|
@@ -121,5 +122,5 @@ export { PriceListSimulatorPanel };
|
|
|
121
122
|
type: Component,
|
|
122
123
|
args: [{ standalone: false, selector: 'mjo-price-list-simulator-panel', template: "<mj-collapsible-panel\n SectionKey=\"simulator\"\n SectionName=\"Volume simulator\"\n Icon=\"fa-solid fa-calculator\"\n [Form]=\"FormComponent\"\n [FormContext]=\"FormContext\"\n [DefaultExpanded]=\"true\">\n <div class=\"mjo-sim\">\n <div class=\"mjo-sim__row\">\n <label class=\"mjo-sim__field\">\n <span>Base price</span>\n <input class=\"mj-input\" type=\"number\" [value]=\"BasePrice\" (input)=\"OnBasePrice($event)\">\n </label>\n <label class=\"mjo-sim__field mjo-sim__field--grow\">\n <span>Quantity \u00B7 {{ Quantity }}</span>\n <input type=\"range\" min=\"1\" max=\"150\" [value]=\"Quantity\" (input)=\"OnQuantity($event)\">\n </label>\n </div>\n <div class=\"mjo-sim__modes\">\n <button type=\"button\" mjButton [variant]=\"Mode === 'volume' ? 'primary' : 'flat'\" size=\"sm\" (click)=\"SetMode('volume')\">\n Volume\n </button>\n <button type=\"button\" mjButton [variant]=\"Mode === 'tiered' ? 'primary' : 'flat'\" size=\"sm\" (click)=\"SetMode('tiered')\">\n Graduated\n </button>\n </div>\n <div class=\"mjo-doc-hero__stats\">\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Unit price</span>\n <span class=\"mjo-doc-stat__value\">{{ Money(Result.EffectiveUnitPrice) }}</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Total</span>\n <span class=\"mjo-doc-stat__value\">{{ Money(Result.TotalOrderAmount) }}</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Discount</span>\n <span class=\"mjo-doc-stat__value\">{{ Result.DiscountPercent.toFixed(1) }}%</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Savings</span>\n <span class=\"mjo-doc-stat__value\">{{ Money(Result.SavingsAmount) }}</span>\n </div>\n </div>\n </div>\n</mj-collapsible-panel>\n", styles: [".mjo-sim {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n}\n\n.mjo-sim__row {\n display: flex;\n flex-wrap: wrap;\n gap: var(--mj-space-4);\n align-items: flex-end;\n}\n\n.mjo-sim__field {\n display: flex;\n flex-direction: column;\n gap: 4px;\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-sm);\n}\n\n.mjo-sim__field--grow {\n flex: 1;\n min-width: 12rem;\n}\n\n.mjo-sim__field input[type='range'] {\n accent-color: var(--mj-brand-primary);\n}\n\n.mjo-sim__modes {\n display: flex;\n gap: var(--mj-space-2);\n}\n"] }]
|
|
123
124
|
}], null, null); })();
|
|
124
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PriceListSimulatorPanel, { className: "PriceListSimulatorPanel", filePath: "lib/form-panels/price-list-simulator.panel.ts", lineNumber:
|
|
125
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PriceListSimulatorPanel, { className: "PriceListSimulatorPanel", filePath: "lib/form-panels/price-list-simulator.panel.ts", lineNumber: 26 }); })();
|
|
125
126
|
//# sourceMappingURL=price-list-simulator.panel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-list-simulator.panel.js","sourceRoot":"","sources":["../../../src/lib/form-panels/price-list-simulator.panel.ts","../../../src/lib/form-panels/price-list-simulator.panel.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAA2B,MAAM,yBAAyB,CAAC;;;;AAE3F,MAAM,WAAW,GAAG,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"price-list-simulator.panel.js","sourceRoot":"","sources":["../../../src/lib/form-panels/price-list-simulator.panel.ts","../../../src/lib/form-panels/price-list-simulator.panel.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAA2B,MAAM,yBAAyB,CAAC;;;;AAE3F,MAAM,WAAW,GAAG,WAAW,CAAC;AAkBzB,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,aAA6C;IACtE,UAAU,GAAG,WAAW,CAAC;IAClC,SAAS,GAAG,GAAG,CAAC;IAChB,QAAQ,GAAG,EAAE,CAAC;IACd,IAAI,GAAwB,QAAQ,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3,"file":"product-header.panel.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/product-header.panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,OAAO,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAEtF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAGH,KAAK,4BAA4B,EACpC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAsD,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAE7H,OAAO,EAAiD,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAE3G,8EAA8E;AAC9E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,EAAE,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAOrH;AAED,
|
|
1
|
+
{"version":3,"file":"product-header.panel.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/product-header.panel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,OAAO,EAAE,MAAM,EAAU,MAAM,eAAe,CAAC;AAEtF,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAGH,KAAK,4BAA4B,EACpC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAsD,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAE7H,OAAO,EAAiD,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;AAE3G,8EAA8E;AAC9E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,EAAE,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CAOrH;AAED,qBA2Ba,kBAAmB,SAAQ,aAAa,CAAC,4BAA4B,CAAE,YAAW,MAAM,EAAE,OAAO;IACnG,cAAc,SAAO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
|
sortKey: 100,
|
|
430
430
|
contributionKey: 'header',
|
|
431
|
-
|
|
431
|
+
// The header claims the generated sections the Accounting and Subscriptions panels draw.
|
|
432
|
+
// MJ 6.2 files a panel that replaces a field section inside the Details rail item,
|
|
433
|
+
// whatever its slot or inclusion, so a panel holding its own claim loses its rail item.
|
|
434
|
+
// The header is not a rail item, so claiming here hides the duplicate fields and moves
|
|
435
|
+
// nothing into Details. (`catalogLifecycle` is claimed by the Details panel, which
|
|
436
|
+
// belongs in Details.)
|
|
437
|
+
// productIdentification: drawn by this header.
|
|
438
|
+
// financialAndAccounting: Rev-Rec / IsTaxable / TaxCategory are in the Accounting panel,
|
|
439
|
+
// CompanyID in the Details panel; StandaloneSellingPrice is deliberately left off
|
|
440
|
+
// generated forms.
|
|
441
|
+
// subscriptionAndEntitlements: every field is in the Subscriptions or Fulfillment panel.
|
|
442
|
+
replacesSectionKeys: ['productIdentification', 'financialAndAccounting', 'subscriptionAndEntitlements'],
|
|
432
443
|
},
|
|
433
444
|
})
|
|
434
445
|
], ProductHeaderPanel);
|
|
@@ -437,5 +448,5 @@ export { ProductHeaderPanel };
|
|
|
437
448
|
type: Component,
|
|
438
449
|
args: [{ standalone: false, selector: 'mjo-product-header-panel', template: "<div class=\"mjo-doc-hero\">\n <div class=\"mjo-doc-hero__identity\">\n <div class=\"mjo-doc-hero__avatar\">\n <i [class]=\"AvatarIcon\" aria-hidden=\"true\"></i>\n </div>\n <div class=\"mjo-doc-hero__copy\">\n <div class=\"mjo-doc-hero__title-row\">\n <h1 class=\"mjo-doc-hero__title\">{{ Title }}</h1>\n <span class=\"mjo-doc-chip\">{{ Record.SKU || 'SKU TBD' }}</span>\n <span class=\"mjo-doc-chip\">{{ TypeName }}</span>\n <span [class]=\"StatusClass\">{{ Record.Status || 'Draft' }}</span>\n @if (Record.Company) {\n <span class=\"mjo-doc-chip mjo-doc-chip--info\" [title]=\"'Sold by ' + Record.Company\">{{ Record.Company }}</span>\n }\n </div>\n </div>\n </div>\n <!--\n golive#433 \u2014 a Draft product is hidden from the deal and order pickers without a word, so the\n header says so and offers Activate. Activate checks for a price in force today and for Sales\n and Deferred Revenue accounts, and warns rather than blocks (g433.1 A).\n -->\n @if (IsDraft) {\n <div class=\"mjo-doc-hero__draft\">\n <mj-alert Variant=\"warning\" Size=\"sm\" Icon=\"fa-solid fa-circle-pause\">\n <span class=\"mjo-doc-hero__draft-text\">\n <b>Draft \u2014 not sellable on deals or orders.</b>\n @if (EditMode) {\n Save first, then activate it here, or set Status under Lifecycle.\n } @else if (!Record.IsSaved) {\n Save the product before activating it.\n }\n </span>\n @if (!EditMode && Record.IsSaved && !Readiness) {\n <button type=\"button\" mjButton variant=\"primary\" size=\"sm\" actions\n [disabled]=\"!CanActivate\" (click)=\"Activate()\">\n <i class=\"fa-solid fa-circle-check\" aria-hidden=\"true\"></i>\n {{ Activating ? 'Checking\u2026' : 'Activate' }}\n </button>\n }\n </mj-alert>\n @if (Readiness) {\n <div class=\"mjo-doc-hero__readiness\">\n <p>This product is not ready to sell:</p>\n <ul>\n @for (gap of Readiness.Missing; track gap) {\n <li>{{ gap }}</li>\n }\n </ul>\n <p>Activate it anyway? It will appear in the pickers, and lines for it may fail to price or to confirm until these are fixed.</p>\n <div class=\"mjo-doc-hero__readiness-actions\">\n <button type=\"button\" mjButton variant=\"flat\" size=\"sm\" (click)=\"CancelActivate()\">Cancel</button>\n <button type=\"button\" mjButton variant=\"primary\" size=\"sm\" [disabled]=\"Activating\" (click)=\"ActivateAnyway()\">Activate anyway</button>\n </div>\n </div>\n }\n @if (ActivateError) {\n <mj-alert Variant=\"error\" Icon=\"fa-solid fa-triangle-exclamation\">{{ ActivateError }}</mj-alert>\n }\n </div>\n }\n @if (!EditMode && Record.Description) {\n <p class=\"mjo-doc-hero__description\">{{ Record.Description }}</p>\n }\n <!-- The product's key facts in one strip, so the Overview below can give its width to the prices. -->\n <div class=\"mjo-doc-hero__stats\">\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">List price</span>\n <span class=\"mjo-doc-stat__value\">{{ Price }}</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Product type</span>\n <span class=\"mjo-doc-stat__value\" [title]=\"TypeName\">{{ TypeName }}</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Category</span>\n <span class=\"mjo-doc-stat__value\" [title]=\"Category\">{{ Category }}</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Available</span>\n <span class=\"mjo-doc-stat__value\" [title]=\"Availability\">{{ Availability }}</span>\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Revenue recognition</span>\n <span class=\"mjo-doc-stat__value\" [title]=\"RevRec\">{{ RevRec }}</span>\n @if (RevRecSource) {\n <span class=\"mjo-doc-stat__sub\">{{ RevRecSource }}</span>\n }\n </div>\n <div class=\"mjo-doc-stat\">\n <span class=\"mjo-doc-stat__label\">Tax</span>\n <span class=\"mjo-doc-stat__value\">{{ Record.IsTaxable ? 'Taxable' : 'Tax exempt' }}</span>\n </div>\n </div>\n <!-- This panel claims the generated `productIdentification` section, so it OWNS\n Name, SKU and Description: they render nowhere else on the form. Editing them\n has to live here, or the section's only fields are unreachable and a product\n can never be named. Same contract the Common identity headers honor. -->\n @if (EditMode) {\n <div class=\"mjo-doc-hero__edit\">\n <div class=\"mjo-doc-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Name\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"\n (Navigate)=\"FormComponent.OnFormNavigate($event)\"></mj-form-field>\n </div>\n <div class=\"mjo-doc-hero__field\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"SKU\"\n Type=\"textbox\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"\n (Navigate)=\"FormComponent.OnFormNavigate($event)\"></mj-form-field>\n </div>\n <div class=\"mjo-doc-hero__field mjo-doc-hero__field--span\">\n <mj-form-field [Record]=\"Record\" [ShowLabel]=\"true\" FieldName=\"Description\"\n Type=\"textarea\" [EditMode]=\"EditMode\" [FormContext]=\"FormContext\"\n (Navigate)=\"FormComponent.OnFormNavigate($event)\"></mj-form-field>\n </div>\n </div>\n }\n</div>\n", styles: [".mjo-doc-hero {\n display: flex;\n flex-direction: column;\n gap: var(--mj-space-4);\n padding: var(--mj-space-4) var(--mj-space-5);\n margin-bottom: var(--mj-space-4);\n background: var(--mj-bg-surface-card);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-lg);\n box-shadow: var(--mj-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.04));\n}\n\n.mjo-doc-hero__identity {\n display: flex;\n align-items: center;\n gap: var(--mj-space-4);\n min-width: 0;\n}\n\n.mjo-doc-hero__avatar {\n flex: none;\n width: 52px;\n height: 52px;\n border-radius: var(--mj-radius-md);\n display: flex;\n align-items: center;\n justify-content: center;\n background: color-mix(in srgb, var(--mj-brand-primary) 18%, var(--mj-bg-surface));\n color: var(--mj-brand-primary);\n font-size: 1.25rem;\n}\n\n.mjo-doc-hero__avatar--reverse {\n background: color-mix(in srgb, var(--mj-status-warning) 22%, var(--mj-bg-surface));\n color: var(--mj-status-warning-text);\n}\n\n.mjo-doc-hero__copy {\n min-width: 0;\n flex: 1;\n}\n\n.mjo-doc-hero__title-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--mj-space-2) var(--mj-space-3);\n}\n\n.mjo-doc-hero__title {\n margin: 0;\n font-size: var(--mj-text-lg);\n font-weight: 700;\n color: var(--mj-text-primary);\n line-height: 1.25;\n}\n\n.mjo-doc-hero__meta {\n display: flex;\n flex-wrap: wrap;\n gap: var(--mj-space-3);\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-sm);\n}\n\n.mjo-doc-hero__stats {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));\n gap: var(--mj-space-3);\n}\n\n.mjo-doc-stat {\n display: flex;\n flex-direction: column;\n gap: 2px;\n min-width: 0;\n}\n\n.mjo-doc-stat__label {\n font-size: var(--mj-text-xs);\n font-weight: 600;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-doc-stat__value {\n font-size: var(--mj-text-base);\n font-weight: 650;\n color: var(--mj-text-primary);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.mjo-doc-chip {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n padding: 2px 8px;\n border-radius: var(--mj-radius-sm);\n font-size: var(--mj-text-xs);\n font-weight: 600;\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n}\n\n.mjo-doc-chip--ok {\n background: var(--mj-status-success-bg);\n color: var(--mj-status-success-text);\n}\n\n.mjo-doc-chip--draft {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-secondary);\n}\n\n.mjo-doc-chip--error {\n background: var(--mj-status-error-bg);\n color: var(--mj-status-error-text);\n}\n\n.mjo-doc-chip--warn {\n background: var(--mj-status-warning-bg);\n color: var(--mj-status-warning-text);\n}\n\n.mjo-doc-chip--info {\n background: var(--mj-status-info-bg);\n color: var(--mj-status-info-text);\n}\n\n.mjo-doc-chip--muted {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-muted);\n}\n\n.mjo-doc-chip--on {\n background: var(--mj-status-success-bg);\n color: var(--mj-status-success-text);\n}\n\n.mjo-doc-chip--off {\n background: var(--mj-bg-surface-sunken);\n color: var(--mj-text-muted);\n}\n\n.mjo-terms-toolbar {\n display: flex;\n justify-content: flex-end;\n margin-bottom: var(--mj-space-3);\n}\n\n.mjo-term-empty {\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n padding: var(--mj-space-4);\n color: var(--mj-text-muted);\n}\n\n.mjo-doc-stat__sub {\n font-size: var(--mj-text-xs);\n color: var(--mj-text-muted);\n}\n\n.mjo-ov {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: var(--mj-space-4);\n}\n\n.mjo-ov-card {\n background: var(--mj-bg-surface);\n border: 1px solid var(--mj-border-default);\n border-radius: var(--mj-radius-lg);\n box-shadow: var(--mj-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.04));\n min-width: 0;\n}\n\n.mjo-ov-card--wide {\n grid-column: 1 / -1;\n}\n\n.mjo-ov-card__h {\n padding: var(--mj-space-3) var(--mj-space-4) var(--mj-space-2);\n}\n\n.mjo-ov-card__h h3 {\n margin: 0;\n font-size: var(--mj-text-sm);\n font-weight: 700;\n display: flex;\n align-items: center;\n gap: var(--mj-space-2);\n}\n\n.mjo-ov-card__h i {\n color: var(--mj-brand-primary);\n font-size: 12px;\n}\n\n.mjo-ov-card__b {\n padding: 4px var(--mj-space-4) var(--mj-space-4);\n}\n\n.mjo-ov-note {\n margin: 0 0 var(--mj-space-3);\n font-size: var(--mj-text-sm);\n color: var(--mj-text-secondary);\n line-height: 1.5;\n}\n\n.mjo-ov-facts {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: var(--mj-space-3) var(--mj-space-4);\n}\n\n.mjo-ov-fact__l {\n font-size: 10.5px;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-ov-fact__v {\n font-size: var(--mj-text-sm);\n font-weight: 650;\n color: var(--mj-text-primary);\n}\n\n.mjo-ov-table {\n width: 100%;\n border-collapse: collapse;\n font-size: var(--mj-text-sm);\n}\n\n.mjo-ov-table th {\n text-align: left;\n font-size: 10.5px;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n padding: 6px 8px;\n border-bottom: 1px solid var(--mj-border-default);\n}\n\n.mjo-ov-table td {\n padding: 8px;\n border-bottom: 1px solid var(--mj-border-subtle);\n color: var(--mj-text-secondary);\n}\n\n.mjo-ov-table tr:last-child td {\n border-bottom: 0;\n}\n\n.mjo-ov-table .num {\n text-align: right;\n font-variant-numeric: tabular-nums;\n white-space: nowrap;\n}\n\n.mjo-ov-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--mj-space-3);\n padding: 8px 0;\n border-bottom: 1px solid var(--mj-border-subtle);\n}\n\n.mjo-ov-row:last-child {\n border-bottom: 0;\n}\n\n.mjo-ov-row h4 {\n margin: 0;\n font-size: var(--mj-text-sm);\n font-weight: 650;\n}\n\n.mjo-ov-row p {\n margin: 2px 0 0;\n font-size: 12px;\n color: var(--mj-text-secondary);\n}\n\n@media (max-width: 800px) {\n .mjo-ov,\n .mjo-ov-facts {\n grid-template-columns: 1fr;\n }\n\n .mjo-ov-card--wide {\n grid-column: auto;\n }\n}\n\n.mjo-doc-hero__description {\n margin: 0;\n color: var(--mj-text-secondary);\n font-size: var(--mj-text-sm);\n line-height: 1.5;\n white-space: pre-wrap;\n}\n\n/* mj-form-field is display: contents \u2014 its label and control would otherwise\n become direct children of this grid. Each field sits in a wrapping cell. */\n.mjo-doc-hero__edit {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));\n gap: var(--mj-space-3) var(--mj-space-4);\n padding-top: var(--mj-space-4);\n border-top: 1px solid var(--mj-border-subtle);\n}\n\n.mjo-doc-hero__field {\n min-width: 0;\n}\n\n.mjo-doc-hero__field--span {\n grid-column: 1 / -1;\n}\n\n/* Label above the control. The shared field is a 200px | 1fr row, which needs\n ~28rem per field \u2014 far more than a hero column gets. */\n.mjo-doc-hero__field ::ng-deep .mj-forms-field {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: 4px;\n padding: 0;\n}\n\n.mjo-doc-hero__field ::ng-deep .mj-forms-field-label {\n font-size: var(--mj-text-xs);\n font-weight: var(--mj-font-bold);\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: var(--mj-text-muted);\n}\n\n.mjo-doc-hero__field ::ng-deep .mj-forms-field--editing:hover {\n margin: 0;\n padding: 0;\n}\n\n.mjo-doc-hero__field ::ng-deep .mj-forms-field-control {\n width: 100%;\n}\n\n/* golive#433 \u2014 the Draft banner and the readiness warning under it. */\n.mjo-doc-hero__draft {\n display: flex;\n flex-direction: column;\n gap: 8px;\n margin-top: 12px;\n}\n\n.mjo-doc-hero__readiness {\n border: 1px solid var(--mj-status-warning-border, #e8c27a);\n border-radius: 6px;\n padding: 10px 12px;\n font-size: 13px;\n}\n\n.mjo-doc-hero__readiness p {\n margin: 0 0 6px;\n}\n\n.mjo-doc-hero__readiness ul {\n margin: 0 0 8px;\n padding-left: 18px;\n}\n\n.mjo-doc-hero__readiness-actions {\n display: flex;\n justify-content: flex-end;\n gap: 8px;\n}\n"] }]
|
|
439
450
|
}], null, null); })();
|
|
440
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductHeaderPanel, { className: "ProductHeaderPanel", filePath: "lib/form-panels/product-header.panel.ts", lineNumber:
|
|
451
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductHeaderPanel, { className: "ProductHeaderPanel", filePath: "lib/form-panels/product-header.panel.ts", lineNumber: 51 }); })();
|
|
441
452
|
//# sourceMappingURL=product-header.panel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-header.panel.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-header.panel.ts","../../../src/lib/form-panels/product-header.panel.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAmB,MAAM,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACH,uCAAuC,EACvC,2BAA2B,GAE9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,E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,cAcC;IAdD,2CAcC;IACD,cAEC;IAFD,+CAEC;;;IAIL,6BAAqC;IAAA,YAAwB;IAAA,iBAAI;;;IAA5B,cAAwB;IAAxB,+CAAwB;;;IAwBrD,gCAAgC;IAAA,YAAkB;IAAA,iBAAO;;;IAAzB,cAAkB;IAAlB,yCAAkB;;;;IAelD,AADJ,AADJ,+BAAgC,cACK,wBAGyB;IAAlD,0MAAY,2CAAoC,KAAC;IACzD,AAD0D,iBAAgB,EACpE;IAEF,AADJ,+BAAiC,wBAGyB;IAAlD,0MAAY,2CAAoC,KAAC;IACzD,AAD0D,iBAAgB,EACpE;IAEF,AADJ,+BAA2D,wBAGD;IAAlD,0MAAY,2CAAoC,KAAC;IAE7D,AADI,AAD0D,iBAAgB,EACpE,EACJ;;;IAdiB,eAAiB;IACS,AAAtB,AADc,AAAlB,sCAAiB,mBAAmB,6BACX,mCAA4B;IAIrD,eAAiB;IACS,AAAtB,AADc,AAAlB,sCAAiB,mBAAmB,6BACX,mCAA4B;IAIrD,eAAiB;IACU,AAAtB,AADa,AAAlB,sCAAiB,mBAAmB,6BACV,mCAA4B;;ADnGrF,8EAA8E;AAC9E,MAAM,UAAU,gBAAgB,CAAC,IAAsC,EAAE,EAAoC;IACzG,MAAM,KAAK,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IACpC,MAAM,GAAG,GAAG,eAAe,CAAC,EAAE,CAAC,CAAC;IAChC,IAAI,KAAK,IAAI,GAAG;QAAE,OAAO,GAAG,KAAK,MAAM,GAAG,EAAE,CAAC;IAC7C,IAAI,KAAK;QAAE,OAAO,QAAQ,KAAK,EAAE,CAAC;IAClC,IAAI,GAAG;QAAE,OAAO,SAAS,GAAG,EAAE,CAAC;IAC/B,OAAO,QAAQ,CAAC;AACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"product-header.panel.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-header.panel.ts","../../../src/lib/form-panels/product-header.panel.html"],"names":[],"mappings":";;;;;;AAAA,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W;YAAX,+BAAW;YAIX,eAAkB;YAAlB,oCAAkB;YAAC,cAAc;YAAd,kCAAc;YAIjC,eAAkB;YAAlB,oCAAkB;YAAC,cAAc;YAAd,kCAAc;YAIjC,eAAsB;YAAtB,wCAAsB;YAAC,cAAkB;YAAlB,sCAAkB;YAIzC,eAAgB;YAAhB,kCAAgB;YAAC,cAAY;YAAZ,gCAAY;YAC/D,cAEC;YAFD,4CAEC;YAIiC,eAAiD;YAAjD,qEAAiD;YAO3F,cAkBC;YAlBD,wCAkBC;;;ADlEQ,kBAAkB;IA3B9B,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,4BAA4B;QACjC,QAAQ,EAAE;YACN,MAAM,EAAE,6BAA6B;YACrC,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,GAAG;YACZ,eAAe,EAAE,QAAQ;YACzB,yFAAyF;YACzF,mFAAmF;YACnF,wFAAwF;YACxF,uFAAuF;YACvF,mFAAmF;YACnF,uBAAuB;YACvB,iDAAiD;YACjD,2FAA2F;YAC3F,sFAAsF;YACtF,uBAAuB;YACvB,2FAA2F;YAC3F,mBAAmB,EAAE,CAAC,uBAAuB,EAAE,wBAAwB,EAAE,6BAA6B,CAAC;SAC1G;KACJ,CAAC;GAOW,kBAAkB,CA+K9B;;iFA/KY,kBAAkB;cAN9B,SAAS;6BACM,KAAK,YACP,0BAA0B;;kFAI3B,kBAAkB"}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { BaseFormPanel } from '@memberjunction/ng-base-forms';
|
|
2
2
|
import type { mjBizAppsOrdersProductEntity } from '@mj-biz-apps/orders-entities';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Rail placement on MJ 6.2. MJ 6.2 files every panel at `before-fields`/`after-fields` with no
|
|
6
|
+
* inclusion, and every panel that replaces a generated field section, inside the Details rail
|
|
7
|
+
* item. Before 6.2 Promotions, Accounting, Fulfillment and Subscriptions were rail items of their
|
|
8
|
+
* own after Details. They mount at `after-related` to stay that way (the related band sorts by
|
|
9
|
+
* `sortKey`, descending), and the generated sections they stand in for are claimed by the header
|
|
10
|
+
* panel, which is not a rail item. Pricing declares `inclusion: 'Primary'`, so it leads.
|
|
11
|
+
*/
|
|
4
12
|
export declare class ProductPricingPanel extends BaseFormPanel<mjBizAppsOrdersProductEntity> {
|
|
5
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPricingPanel, never>;
|
|
6
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductPricingPanel, "mjo-product-pricing-panel", never, {}, {}, never, never, false, never>;
|
|
@@ -26,28 +34,17 @@ export declare class ProductFulfillmentPanel extends BaseFormPanel<mjBizAppsOrde
|
|
|
26
34
|
* under the header. The header's Draft banner activates in one click; this is where any other
|
|
27
35
|
* status is set.
|
|
28
36
|
*
|
|
29
|
-
* WHY THIS CLAIMS `details` AND
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* `ProductLifecycleClaimPanel` below claims it and renders nothing.
|
|
37
|
+
* WHY THIS CLAIMS `details` AND `catalogLifecycle`. CodeGen emits a `details` section with no
|
|
38
|
+
* fields for Products, and mj-collapsible-panel hides a section only when every field it projects
|
|
39
|
+
* is unreadable, never when it projects none, so the generated Details rendered as an empty panel.
|
|
40
|
+
* Claiming it puts this panel in its place. The generated `catalogLifecycle` section is claimed too,
|
|
41
|
+
* or Status, the dates and IsSellableNew render twice; its SuccessorProductID is in Fulfillment.
|
|
42
|
+
* Both claims keep this panel in the Details rail item, which is where it belongs.
|
|
36
43
|
*/
|
|
37
44
|
export declare class ProductDetailsPanel extends BaseFormPanel<mjBizAppsOrdersProductEntity> {
|
|
38
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDetailsPanel, never>;
|
|
39
46
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDetailsPanel, "mjo-product-details-panel", never, {}, {}, never, never, false, never>;
|
|
40
47
|
}
|
|
41
|
-
/**
|
|
42
|
-
* Claims the generated `catalogLifecycle` section and renders nothing: its fields live in
|
|
43
|
-
* `ProductDetailsPanel`, which already claims the generated `details` section, and a panel can
|
|
44
|
-
* claim one section on MJ 6.1. Remove this and claim both from the Details panel with
|
|
45
|
-
* `replacesSectionKeys` once the host runs 6.2.
|
|
46
|
-
*/
|
|
47
|
-
export declare class ProductLifecycleClaimPanel extends BaseFormPanel<mjBizAppsOrdersProductEntity> {
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProductLifecycleClaimPanel, never>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductLifecycleClaimPanel, "mjo-product-lifecycle-claim-panel", never, {}, {}, never, never, false, never>;
|
|
50
|
-
}
|
|
51
48
|
export declare class ProductSubscriptionsPanel extends BaseFormPanel<mjBizAppsOrdersProductEntity> {
|
|
52
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSubscriptionsPanel, never>;
|
|
53
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSubscriptionsPanel, "mjo-product-subscriptions-panel", never, {}, {}, never, never, false, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-widget.panels.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;;AAEjF,qBAgCa,mBAAoB,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAAvE,mBAAmB;2CAAnB,mBAAmB;CAAuD;AAEvF,
|
|
1
|
+
{"version":3,"file":"product-widget.panels.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;;AAEjF;;;;;;;GAOG;AAEH,qBAgCa,mBAAoB,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAAvE,mBAAmB;2CAAnB,mBAAmB;CAAuD;AAEvF,qBA6Ba,kBAAmB,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAAtE,kBAAkB;2CAAlB,kBAAkB;CAAuD;AAEtF,qBAyFa,sBAAuB,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAA1E,sBAAsB;2CAAtB,sBAAsB;CAAuD;AAE1F,qBAmEa,uBAAwB,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAA3E,uBAAuB;2CAAvB,uBAAuB;CAAuD;AAE3F;;;;;;;;;;;;;;;GAeG;AACH,qBA8Ea,mBAAoB,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAAvE,mBAAmB;2CAAnB,mBAAmB;CAAuD;AAEvF,qBAoEa,yBAA0B,SAAQ,aAAa,CAAC,4BAA4B,CAAC;yCAA7E,yBAAyB;2CAAzB,yBAAyB;CAAuD"}
|
|
@@ -33,6 +33,14 @@ function ProductAccountingPanel_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
33
33
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
34
34
|
i0.ɵɵproperty("Record", ctx_r1.Record);
|
|
35
35
|
} }
|
|
36
|
+
/**
|
|
37
|
+
* Rail placement on MJ 6.2. MJ 6.2 files every panel at `before-fields`/`after-fields` with no
|
|
38
|
+
* inclusion, and every panel that replaces a generated field section, inside the Details rail
|
|
39
|
+
* item. Before 6.2 Promotions, Accounting, Fulfillment and Subscriptions were rail items of their
|
|
40
|
+
* own after Details. They mount at `after-related` to stay that way (the related band sorts by
|
|
41
|
+
* `sortKey`, descending), and the generated sections they stand in for are claimed by the header
|
|
42
|
+
* panel, which is not a rail item. Pricing declares `inclusion: 'Primary'`, so it leads.
|
|
43
|
+
*/
|
|
36
44
|
let ProductPricingPanel = class ProductPricingPanel extends BaseFormPanel {
|
|
37
45
|
static ɵfac = /*@__PURE__*/ (() => { let ɵProductPricingPanel_BaseFactory; return function ProductPricingPanel_Factory(__ngFactoryType__) { return (ɵProductPricingPanel_BaseFactory || (ɵProductPricingPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductPricingPanel)))(__ngFactoryType__ || ProductPricingPanel); }; })();
|
|
38
46
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductPricingPanel, selectors: [["mjo-product-pricing-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 6, consts: [["SectionKey", "pricing", "SectionName", "Pricing", "Icon", "fa-solid fa-tags", 3, "Form", "FormContext", "DefaultExpanded"], [3, "Navigate", "Product", "EditMode", "FormContext"]], template: function ProductPricingPanel_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -83,7 +91,7 @@ export { ProductPricingPanel };
|
|
|
83
91
|
`,
|
|
84
92
|
}]
|
|
85
93
|
}], null, null); })();
|
|
86
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductPricingPanel, { className: "ProductPricingPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber:
|
|
94
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductPricingPanel, { className: "ProductPricingPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 47 }); })();
|
|
87
95
|
let ProductPromosPanel = class ProductPromosPanel extends BaseFormPanel {
|
|
88
96
|
static ɵfac = /*@__PURE__*/ (() => { let ɵProductPromosPanel_BaseFactory; return function ProductPromosPanel_Factory(__ngFactoryType__) { return (ɵProductPromosPanel_BaseFactory || (ɵProductPromosPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductPromosPanel)))(__ngFactoryType__ || ProductPromosPanel); }; })();
|
|
89
97
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductPromosPanel, selectors: [["mjo-product-promos-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 5, consts: [["SectionKey", "promos", "SectionName", "Promotions", "Icon", "fa-solid fa-ticket", 3, "Form", "FormContext"], [3, "Navigate", "Product", "EditMode", "FormContext"]], template: function ProductPromosPanel_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -101,7 +109,8 @@ ProductPromosPanel = __decorate([
|
|
|
101
109
|
key: 'form-panel:Products:promos',
|
|
102
110
|
metadata: {
|
|
103
111
|
entity: 'MJ_BizApps_Orders: Products',
|
|
104
|
-
|
|
112
|
+
// After-related: see the rail note at the top of this file.
|
|
113
|
+
slot: 'after-related',
|
|
105
114
|
sortKey: 70,
|
|
106
115
|
contributionKey: 'promos',
|
|
107
116
|
},
|
|
@@ -130,7 +139,7 @@ export { ProductPromosPanel };
|
|
|
130
139
|
`,
|
|
131
140
|
}]
|
|
132
141
|
}], null, null); })();
|
|
133
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductPromosPanel, { className: "ProductPromosPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber:
|
|
142
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductPromosPanel, { className: "ProductPromosPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 78 }); })();
|
|
134
143
|
let ProductAccountingPanel = class ProductAccountingPanel extends BaseFormPanel {
|
|
135
144
|
static ɵfac = /*@__PURE__*/ (() => { let ɵProductAccountingPanel_BaseFactory; return function ProductAccountingPanel_Factory(__ngFactoryType__) { return (ɵProductAccountingPanel_BaseFactory || (ɵProductAccountingPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductAccountingPanel)))(__ngFactoryType__ || ProductAccountingPanel); }; })();
|
|
136
145
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductAccountingPanel, selectors: [["mjo-product-accounting-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 16, consts: [["SectionKey", "accounting", "SectionName", "Accounting", "Icon", "fa-solid fa-book", 3, "Form", "FormContext"], [3, "Navigate", "Product", "EditMode", "FormContext"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], [3, "Record"], ["FieldName", "IsTaxable", "Type", "checkbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext", "HideWhenEmptyInReadOnlyMode"], ["FieldName", "TaxCategory", "Type", "textbox", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext", "HideWhenEmptyInReadOnlyMode"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], [3, "Navigate", "Record"]], template: function ProductAccountingPanel_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -160,14 +169,10 @@ ProductAccountingPanel = __decorate([
|
|
|
160
169
|
key: 'form-panel:Products:accounting',
|
|
161
170
|
metadata: {
|
|
162
171
|
entity: 'MJ_BizApps_Orders: Products',
|
|
163
|
-
|
|
172
|
+
// After-related: see the rail note at the top of this file.
|
|
173
|
+
slot: 'after-related',
|
|
164
174
|
sortKey: 60,
|
|
165
175
|
contributionKey: 'accounting',
|
|
166
|
-
// Claims the generated `financialAndAccounting` section, which rendered the same
|
|
167
|
-
// Rev-Rec / IsTaxable / TaxCategory fields a second time. CompanyID renders in the
|
|
168
|
-
// Details panel; StandaloneSellingPrice is deliberately deprecated off generated forms
|
|
169
|
-
// and is not carried over.
|
|
170
|
-
replacesSectionKey: 'financialAndAccounting',
|
|
171
176
|
},
|
|
172
177
|
})
|
|
173
178
|
], ProductAccountingPanel);
|
|
@@ -254,7 +259,7 @@ export { ProductAccountingPanel };
|
|
|
254
259
|
`,
|
|
255
260
|
}]
|
|
256
261
|
}], null, null); })();
|
|
257
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductAccountingPanel, { className: "ProductAccountingPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber:
|
|
262
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductAccountingPanel, { className: "ProductAccountingPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 169 }); })();
|
|
258
263
|
let ProductFulfillmentPanel = class ProductFulfillmentPanel extends BaseFormPanel {
|
|
259
264
|
static ɵfac = /*@__PURE__*/ (() => { let ɵProductFulfillmentPanel_BaseFactory; return function ProductFulfillmentPanel_Factory(__ngFactoryType__) { return (ɵProductFulfillmentPanel_BaseFactory || (ɵProductFulfillmentPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductFulfillmentPanel)))(__ngFactoryType__ || ProductFulfillmentPanel); }; })();
|
|
260
265
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductFulfillmentPanel, selectors: [["mjo-product-fulfillment-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 18, consts: [["SectionKey", "fulfillment", "SectionName", "Fulfillment", "Icon", "fa-solid fa-truck", 3, "Form", "FormContext"], ["FieldName", "EntitlementGrantTiming", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementQuantityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SuccessorProductID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductFulfillmentPanel_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -287,11 +292,12 @@ ProductFulfillmentPanel = __decorate([
|
|
|
287
292
|
key: 'form-panel:Products:fulfillment',
|
|
288
293
|
metadata: {
|
|
289
294
|
entity: 'MJ_BizApps_Orders: Products',
|
|
290
|
-
|
|
295
|
+
// After-related: see the rail note at the top of this file.
|
|
296
|
+
slot: 'after-related',
|
|
291
297
|
sortKey: 50,
|
|
292
298
|
contributionKey: 'fulfillment',
|
|
293
299
|
// Status, AvailableFrom and AvailableTo moved to the Lifecycle panel (golive#433);
|
|
294
|
-
// SuccessorProductID stays here. The
|
|
300
|
+
// SuccessorProductID stays here. The Details panel claims `catalogLifecycle`.
|
|
295
301
|
},
|
|
296
302
|
})
|
|
297
303
|
], ProductFulfillmentPanel);
|
|
@@ -354,7 +360,7 @@ export { ProductFulfillmentPanel };
|
|
|
354
360
|
`,
|
|
355
361
|
}]
|
|
356
362
|
}], null, null); })();
|
|
357
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductFulfillmentPanel, { className: "ProductFulfillmentPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber:
|
|
363
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductFulfillmentPanel, { className: "ProductFulfillmentPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 238 }); })();
|
|
358
364
|
/**
|
|
359
365
|
* Details: the selling company, Status, the availability window and IsSellableNew.
|
|
360
366
|
*
|
|
@@ -364,13 +370,12 @@ export { ProductFulfillmentPanel };
|
|
|
364
370
|
* under the header. The header's Draft banner activates in one click; this is where any other
|
|
365
371
|
* status is set.
|
|
366
372
|
*
|
|
367
|
-
* WHY THIS CLAIMS `details` AND
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
* `ProductLifecycleClaimPanel` below claims it and renders nothing.
|
|
373
|
+
* WHY THIS CLAIMS `details` AND `catalogLifecycle`. CodeGen emits a `details` section with no
|
|
374
|
+
* fields for Products, and mj-collapsible-panel hides a section only when every field it projects
|
|
375
|
+
* is unreadable, never when it projects none, so the generated Details rendered as an empty panel.
|
|
376
|
+
* Claiming it puts this panel in its place. The generated `catalogLifecycle` section is claimed too,
|
|
377
|
+
* or Status, the dates and IsSellableNew render twice; its SuccessorProductID is in Fulfillment.
|
|
378
|
+
* Both claims keep this panel in the Details rail item, which is where it belongs.
|
|
374
379
|
*/
|
|
375
380
|
let ProductDetailsPanel = class ProductDetailsPanel extends BaseFormPanel {
|
|
376
381
|
static ɵfac = /*@__PURE__*/ (() => { let ɵProductDetailsPanel_BaseFactory; return function ProductDetailsPanel_Factory(__ngFactoryType__) { return (ɵProductDetailsPanel_BaseFactory || (ɵProductDetailsPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductDetailsPanel)))(__ngFactoryType__ || ProductDetailsPanel); }; })();
|
|
@@ -414,6 +419,7 @@ ProductDetailsPanel = __decorate([
|
|
|
414
419
|
sortKey: 200,
|
|
415
420
|
contributionKey: 'details',
|
|
416
421
|
replacesSectionKey: 'details',
|
|
422
|
+
replacesSectionKeys: ['catalogLifecycle'],
|
|
417
423
|
},
|
|
418
424
|
})
|
|
419
425
|
], ProductDetailsPanel);
|
|
@@ -487,39 +493,7 @@ export { ProductDetailsPanel };
|
|
|
487
493
|
`,
|
|
488
494
|
}]
|
|
489
495
|
}], null, null); })();
|
|
490
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductDetailsPanel, { className: "ProductDetailsPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber:
|
|
491
|
-
/**
|
|
492
|
-
* Claims the generated `catalogLifecycle` section and renders nothing: its fields live in
|
|
493
|
-
* `ProductDetailsPanel`, which already claims the generated `details` section, and a panel can
|
|
494
|
-
* claim one section on MJ 6.1. Remove this and claim both from the Details panel with
|
|
495
|
-
* `replacesSectionKeys` once the host runs 6.2.
|
|
496
|
-
*/
|
|
497
|
-
let ProductLifecycleClaimPanel = class ProductLifecycleClaimPanel extends BaseFormPanel {
|
|
498
|
-
static ɵfac = /*@__PURE__*/ (() => { let ɵProductLifecycleClaimPanel_BaseFactory; return function ProductLifecycleClaimPanel_Factory(__ngFactoryType__) { return (ɵProductLifecycleClaimPanel_BaseFactory || (ɵProductLifecycleClaimPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductLifecycleClaimPanel)))(__ngFactoryType__ || ProductLifecycleClaimPanel); }; })();
|
|
499
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductLifecycleClaimPanel, selectors: [["mjo-product-lifecycle-claim-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 0, vars: 0, template: function ProductLifecycleClaimPanel_Template(rf, ctx) { }, encapsulation: 2 });
|
|
500
|
-
};
|
|
501
|
-
ProductLifecycleClaimPanel = __decorate([
|
|
502
|
-
RegisterClassEx(BaseFormPanel, {
|
|
503
|
-
key: 'form-panel:Products:lifecycle',
|
|
504
|
-
metadata: {
|
|
505
|
-
entity: 'MJ_BizApps_Orders: Products',
|
|
506
|
-
slot: 'after-fields',
|
|
507
|
-
sortKey: 95,
|
|
508
|
-
contributionKey: 'lifecycle',
|
|
509
|
-
replacesSectionKey: 'catalogLifecycle',
|
|
510
|
-
},
|
|
511
|
-
})
|
|
512
|
-
], ProductLifecycleClaimPanel);
|
|
513
|
-
export { ProductLifecycleClaimPanel };
|
|
514
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProductLifecycleClaimPanel, [{
|
|
515
|
-
type: Component,
|
|
516
|
-
args: [{
|
|
517
|
-
standalone: false,
|
|
518
|
-
selector: 'mjo-product-lifecycle-claim-panel',
|
|
519
|
-
template: '',
|
|
520
|
-
}]
|
|
521
|
-
}], null, null); })();
|
|
522
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductLifecycleClaimPanel, { className: "ProductLifecycleClaimPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 350 }); })();
|
|
496
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductDetailsPanel, { className: "ProductDetailsPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 334 }); })();
|
|
523
497
|
let ProductSubscriptionsPanel = class ProductSubscriptionsPanel extends BaseFormPanel {
|
|
524
498
|
static ɵfac = /*@__PURE__*/ (() => { let ɵProductSubscriptionsPanel_BaseFactory; return function ProductSubscriptionsPanel_Factory(__ngFactoryType__) { return (ɵProductSubscriptionsPanel_BaseFactory || (ɵProductSubscriptionsPanel_BaseFactory = i0.ɵɵgetInheritedFactory(ProductSubscriptionsPanel)))(__ngFactoryType__ || ProductSubscriptionsPanel); }; })();
|
|
525
499
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ProductSubscriptionsPanel, selectors: [["mjo-product-subscriptions-panel"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 18, consts: [["SectionKey", "subscriptions", "SectionName", "Subscription", "Icon", "fa-solid fa-repeat", 3, "Form", "FormContext"], ["FieldName", "SubscriptionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubscriptionFamilyID", "Type", "textbox", "LinkType", "Record", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RenewalIncreasePercent", "Type", "number", 3, "Navigate", "Record", "ShowLabel", "EditMode", "FormContext"]], template: function ProductSubscriptionsPanel_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -552,12 +526,10 @@ ProductSubscriptionsPanel = __decorate([
|
|
|
552
526
|
key: 'form-panel:Products:subscriptions',
|
|
553
527
|
metadata: {
|
|
554
528
|
entity: 'MJ_BizApps_Orders: Products',
|
|
555
|
-
|
|
529
|
+
// After-related: see the rail note at the top of this file.
|
|
530
|
+
slot: 'after-related',
|
|
556
531
|
sortKey: 40,
|
|
557
532
|
contributionKey: 'subscriptions',
|
|
558
|
-
// Claims the generated `subscriptionAndEntitlements` section — every one of its five
|
|
559
|
-
// fields is already rendered by this panel or the fulfillment panel.
|
|
560
|
-
replacesSectionKey: 'subscriptionAndEntitlements',
|
|
561
533
|
},
|
|
562
534
|
})
|
|
563
535
|
], ProductSubscriptionsPanel);
|
|
@@ -623,5 +595,5 @@ export { ProductSubscriptionsPanel };
|
|
|
623
595
|
`,
|
|
624
596
|
}]
|
|
625
597
|
}], null, null); })();
|
|
626
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductSubscriptionsPanel, { className: "ProductSubscriptionsPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber:
|
|
598
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ProductSubscriptionsPanel, { className: "ProductSubscriptionsPanel", filePath: "lib/form-panels/product-widget.panels.ts", lineNumber: 404 }); })();
|
|
627
599
|
//# sourceMappingURL=product-widget.panels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-widget.panels.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"product-widget.panels.js","sourceRoot":"","sources":["../../../src/lib/form-panels/product-widget.panels.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;IA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G,gCACM;;;AAOlC,yBAAyB;IApErC,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,mCAAmC;QACxC,QAAQ,EAAE;YACN,MAAM,EAAE,6BAA6B;YACrC,4DAA4D;YAC5D,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,EAAE;YACX,eAAe,EAAE,eAAe;SACnC;KACJ,CAAC;GA2DW,yBAAyB,CAAuD;;iFAAhF,yBAAyB;cA1DrC,SAAS;eAAC;gBACP,UAAU,EAAE,KAAK;gBACjB,QAAQ,EAAE,iCAAiC;gBAC3C,kEAAkE;gBAClE,8EAA8E;gBAC9E,kEAAkE;gBAClE,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkDT;aACJ;;kFACY,yBAAyB"}
|
|
@@ -17,7 +17,8 @@ export type MJOCancelTiming = 'Type' | NonNullable<CancelSubscriptionInput['Timi
|
|
|
17
17
|
* second calculation done here. Changing the timing or the reason throws the preview away, so a
|
|
18
18
|
* stale preview can never be confirmed.
|
|
19
19
|
*
|
|
20
|
-
* Offered only to a viewer who may update subscriptions
|
|
20
|
+
* Offered only to a viewer who may update subscriptions and holds MJ.BizApps.Orders.Order.Reverse
|
|
21
|
+
* (the Finance role; the operation refuses everyone else, bc-aidp-next-golive#454), and only while the subscription is in a
|
|
21
22
|
* status it can be cancelled from. While the form is in edit mode the control is shown disabled: the
|
|
22
23
|
* form reloads the record after a cancellation, and it will not reload over unsaved edits
|
|
23
24
|
* (bizapps-orders#749).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-cancel.component.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/subscription-cancel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,YAAY,EAAyB,MAAM,eAAe,CAAC;AAClG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,
|
|
1
|
+
{"version":3,"file":"subsc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