@mj-biz-apps/orders-ng 5.28.0 → 5.30.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/checkout-element/main.js +5 -3
- package/dist/lib/checkout-widget/checkout-draft-line.d.ts +3 -2
- package/dist/lib/checkout-widget/checkout-draft-line.d.ts.map +1 -1
- package/dist/lib/checkout-widget/checkout-draft-line.js +6 -3
- package/dist/lib/checkout-widget/checkout-draft-line.js.map +1 -1
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +11 -1
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts.map +1 -1
- package/dist/lib/custom/OrderHeader/order-header-form.component.js +291 -244
- package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +5 -0
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +13 -7
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
- package/dist/lib/custom/Product/product-form.component.d.ts +19 -0
- package/dist/lib/custom/Product/product-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Product/product-form.component.js +47 -3
- package/dist/lib/custom/Product/product-form.component.js.map +1 -1
- package/dist/lib/custom/Product/product-save-guard-form.component.js +68 -65
- package/dist/lib/custom/Product/product-save-guard-form.component.js.map +1 -1
- package/dist/lib/custom/Product/written-key.d.ts +20 -0
- package/dist/lib/custom/Product/written-key.d.ts.map +1 -0
- package/dist/lib/custom/Product/written-key.js +22 -0
- package/dist/lib/custom/Product/written-key.js.map +1 -0
- package/dist/lib/data/orders-queries.d.ts +5 -6
- package/dist/lib/data/orders-queries.d.ts.map +1 -1
- package/dist/lib/data/orders-queries.js +12 -25
- package/dist/lib/data/orders-queries.js.map +1 -1
- package/dist/lib/form-panels/order-access-overrides.panel.d.ts +27 -6
- package/dist/lib/form-panels/order-access-overrides.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/order-access-overrides.panel.js +129 -23
- package/dist/lib/form-panels/order-access-overrides.panel.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js +8 -10
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSessionStep/mjbizappsorderscheckoutsessionstep.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSessionStep/mjbizappsorderscheckoutsessionstep.form.component.js +22 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSessionStep/mjbizappsorderscheckoutsessionstep.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersDimensionDefault/mjbizappsordersdimensiondefault.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersDimensionDefault/mjbizappsordersdimensiondefault.form.component.js +22 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersDimensionDefault/mjbizappsordersdimensiondefault.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementAccessOverride/mjbizappsordersentitlementaccessoverride.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementAccessOverride/mjbizappsordersentitlementaccessoverride.form.component.js +28 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementAccessOverride/mjbizappsordersentitlementaccessoverride.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js +9 -11
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +11 -13
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +10 -16
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalCustomer/mjbizappsordersexternalcustomer.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalCustomer/mjbizappsordersexternalcustomer.form.component.js +16 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalCustomer/mjbizappsordersexternalcustomer.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalInvoice/mjbizappsordersexternalinvoice.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalInvoice/mjbizappsordersexternalinvoice.form.component.js +28 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalInvoice/mjbizappsordersexternalinvoice.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalPayment/mjbizappsordersexternalpayment.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalPayment/mjbizappsordersexternalpayment.form.component.js +28 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersExternalPayment/mjbizappsordersexternalpayment.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCheckoutAnswer/mjbizappsordersordercheckoutanswer.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCheckoutAnswer/mjbizappsordersordercheckoutanswer.form.component.js +16 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCheckoutAnswer/mjbizappsordersordercheckoutanswer.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js +8 -14
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderConcession/mjbizappsordersorderconcession.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderConcession/mjbizappsordersorderconcession.form.component.js +28 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderConcession/mjbizappsordersorderconcession.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeaderPaymentSchedule/mjbizappsordersorderheaderpaymentschedule.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeaderPaymentSchedule/mjbizappsordersorderheaderpaymentschedule.form.component.js +39 -18
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeaderPaymentSchedule/mjbizappsordersorderheaderpaymentschedule.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +20 -22
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineChoice/mjbizappsordersorderlinechoice.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineChoice/mjbizappsordersorderlinechoice.form.component.js +16 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineChoice/mjbizappsordersorderlinechoice.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineProgressMeasurement/mjbizappsordersorderlineprogressmeasurement.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineProgressMeasurement/mjbizappsordersorderlineprogressmeasurement.form.component.js +28 -13
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLineProgressMeasurement/mjbizappsordersorderlineprogressmeasurement.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOutboundDelivery/mjbizappsordersoutbounddelivery.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOutboundDelivery/mjbizappsordersoutbounddelivery.form.component.js +22 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersOutboundDelivery/mjbizappsordersoutbounddelivery.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOutboundEvent/mjbizappsordersoutboundevent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOutboundEvent/mjbizappsordersoutboundevent.form.component.js +22 -13
- package/dist/lib/generated/Entities/mjBizAppsOrdersOutboundEvent/mjbizappsordersoutboundevent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js +8 -10
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js +24 -6
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentIntent/mjbizappsorderspaymentintent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js +10 -12
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentLine/mjbizappsorderspaymentline.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js +35 -19
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderSyncState/mjbizappsorderspaymentprovidersyncstate.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderSyncState/mjbizappsorderspaymentprovidersyncstate.form.component.js +16 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProviderSyncState/mjbizappsorderspaymentprovidersyncstate.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentWebhookDelivery/mjbizappsorderspaymentwebhookdelivery.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentWebhookDelivery/mjbizappsorderspaymentwebhookdelivery.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentWebhookDelivery/mjbizappsorderspaymentwebhookdelivery.form.component.js +108 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentWebhookDelivery/mjbizappsorderspaymentwebhookdelivery.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +69 -65
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js +35 -41
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js +17 -23
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductEntitlement/mjbizappsordersproductentitlement.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js +18 -20
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductPrice/mjbizappsordersproductprice.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js +14 -20
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductType/mjbizappsordersproducttype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js +26 -32
- package/dist/lib/generated/Entities/mjBizAppsOrdersRevenueRecognitionType/mjbizappsordersrevenuerecognitiontype.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js +19 -25
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js +11 -14
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.js +22 -13
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +7 -6
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +3 -0
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/pages/payments/account-credit.page.d.ts +1 -0
- package/dist/lib/pages/payments/account-credit.page.d.ts.map +1 -1
- package/dist/lib/pages/payments/account-credit.page.js +5 -2
- package/dist/lib/pages/payments/account-credit.page.js.map +1 -1
- package/dist/lib/panels/allocation-grid.component.d.ts +2 -0
- package/dist/lib/panels/allocation-grid.component.d.ts.map +1 -1
- package/dist/lib/panels/allocation-grid.component.js +10 -3
- package/dist/lib/panels/allocation-grid.component.js.map +1 -1
- package/dist/lib/panels/allocation-math.d.ts +8 -0
- package/dist/lib/panels/allocation-math.d.ts.map +1 -1
- package/dist/lib/panels/allocation-math.js +11 -0
- package/dist/lib/panels/allocation-math.js.map +1 -1
- package/dist/lib/panels/legal-entity-hint.d.ts +9 -0
- package/dist/lib/panels/legal-entity-hint.d.ts.map +1 -0
- package/dist/lib/panels/legal-entity-hint.js +19 -0
- package/dist/lib/panels/legal-entity-hint.js.map +1 -0
- package/package.json +39 -24
|
@@ -13,90 +13,90 @@ import { OrdersEngine } from '@mj-biz-apps/orders-entities';
|
|
|
13
13
|
import { mjBizAppsOrdersProductFormComponent } from '../../generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
16
|
-
function
|
|
16
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_35_Template(rf, ctx) { if (rf & 1) {
|
|
17
17
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
18
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
19
|
-
i0.ɵɵlistener("Navigate", function
|
|
18
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
19
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_35_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_35_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductEntitlements", $event.totalRowCount)); });
|
|
20
20
|
i0.ɵɵelementEnd()();
|
|
21
21
|
} if (rf & 2) {
|
|
22
22
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
23
23
|
i0.ɵɵadvance();
|
|
24
24
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Entitlements", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Entitlements", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductEntitlements"))("ShowToolbar", true);
|
|
25
25
|
} }
|
|
26
|
-
function
|
|
26
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_37_Template(rf, ctx) { if (rf & 1) {
|
|
27
27
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
28
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
29
|
-
i0.ɵɵlistener("Navigate", function
|
|
28
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
29
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_37_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_37_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductBundleItemsComponentProductID", $event.totalRowCount)); });
|
|
30
30
|
i0.ɵɵelementEnd()();
|
|
31
31
|
} if (rf & 2) {
|
|
32
32
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
33
33
|
i0.ɵɵadvance();
|
|
34
34
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Bundle Items", "ComponentProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Bundle Items", "ComponentProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductBundleItemsComponentProductID"))("ShowToolbar", true);
|
|
35
35
|
} }
|
|
36
|
-
function
|
|
36
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_39_Template(rf, ctx) { if (rf & 1) {
|
|
37
37
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
38
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
39
|
-
i0.ɵɵlistener("Navigate", function
|
|
38
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
39
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_39_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_39_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductBundleItemsBundleProductID", $event.totalRowCount)); });
|
|
40
40
|
i0.ɵɵelementEnd()();
|
|
41
41
|
} if (rf & 2) {
|
|
42
42
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
43
43
|
i0.ɵɵadvance();
|
|
44
44
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Bundle Items", "BundleProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Bundle Items", "BundleProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductBundleItemsBundleProductID"))("ShowToolbar", true);
|
|
45
45
|
} }
|
|
46
|
-
function
|
|
46
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_41_Template(rf, ctx) { if (rf & 1) {
|
|
47
47
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
48
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
49
|
-
i0.ɵɵlistener("Navigate", function
|
|
48
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
49
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_41_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_41_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProducts", $event.totalRowCount)); });
|
|
50
50
|
i0.ɵɵelementEnd()();
|
|
51
51
|
} if (rf & 2) {
|
|
52
52
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
53
|
i0.ɵɵadvance();
|
|
54
54
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Products", "SuccessorProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Products", "SuccessorProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProducts"))("ShowToolbar", true);
|
|
55
55
|
} }
|
|
56
|
-
function
|
|
56
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_43_Template(rf, ctx) { if (rf & 1) {
|
|
57
57
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
58
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
59
|
-
i0.ɵɵlistener("Navigate", function
|
|
58
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
59
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_43_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_43_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersOrderLinesSourceBundleProductID", $event.totalRowCount)); });
|
|
60
60
|
i0.ɵɵelementEnd()();
|
|
61
61
|
} if (rf & 2) {
|
|
62
62
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
63
63
|
i0.ɵɵadvance();
|
|
64
64
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Order Lines", "SourceBundleProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Order Lines", "SourceBundleProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersOrderLinesSourceBundleProductID"))("ShowToolbar", true);
|
|
65
65
|
} }
|
|
66
|
-
function
|
|
66
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_45_Template(rf, ctx) { if (rf & 1) {
|
|
67
67
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
68
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
69
|
-
i0.ɵɵlistener("Navigate", function
|
|
68
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
69
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_45_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_45_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersOrderLinesProductID", $event.totalRowCount)); });
|
|
70
70
|
i0.ɵɵelementEnd()();
|
|
71
71
|
} if (rf & 2) {
|
|
72
72
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
73
73
|
i0.ɵɵadvance();
|
|
74
74
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Order Lines", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Order Lines", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersOrderLinesProductID"))("ShowToolbar", true);
|
|
75
75
|
} }
|
|
76
|
-
function
|
|
76
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_47_Template(rf, ctx) { if (rf & 1) {
|
|
77
77
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
78
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
79
|
-
i0.ɵɵlistener("Navigate", function
|
|
78
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
79
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_47_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_47_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersSubscriptions", $event.totalRowCount)); });
|
|
80
80
|
i0.ɵɵelementEnd()();
|
|
81
81
|
} if (rf & 2) {
|
|
82
82
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
83
83
|
i0.ɵɵadvance();
|
|
84
84
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Subscriptions", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Subscriptions", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersSubscriptions"))("ShowToolbar", true);
|
|
85
85
|
} }
|
|
86
|
-
function
|
|
86
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_49_Template(rf, ctx) { if (rf & 1) {
|
|
87
87
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
88
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
89
|
-
i0.ɵɵlistener("Navigate", function
|
|
88
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
89
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_49_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_49_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductPrices", $event.totalRowCount)); });
|
|
90
90
|
i0.ɵɵelementEnd()();
|
|
91
91
|
} if (rf & 2) {
|
|
92
92
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
93
93
|
i0.ɵɵadvance();
|
|
94
94
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Prices", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Prices", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductPrices"))("ShowToolbar", true);
|
|
95
95
|
} }
|
|
96
|
-
function
|
|
96
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_51_Template(rf, ctx) { if (rf & 1) {
|
|
97
97
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
98
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
99
|
-
i0.ɵɵlistener("Navigate", function
|
|
98
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 44);
|
|
99
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_51_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_51_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersPromotionTargets", $event.totalRowCount)); });
|
|
100
100
|
i0.ɵɵelementEnd()();
|
|
101
101
|
} if (rf & 2) {
|
|
102
102
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -185,7 +185,7 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
static ɵfac = /*@__PURE__*/ (() => { let ɵBizAppsProductSaveGuardFormComponent_BaseFactory; return function BizAppsProductSaveGuardFormComponent_Factory(__ngFactoryType__) { return (ɵBizAppsProductSaveGuardFormComponent_BaseFactory || (ɵBizAppsProductSaveGuardFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BizAppsProductSaveGuardFormComponent)))(__ngFactoryType__ || BizAppsProductSaveGuardFormComponent); }; })();
|
|
188
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductSaveGuardFormComponent, selectors: [["bizapps-product-save-guard-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
188
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductSaveGuardFormComponent, selectors: [["bizapps-product-save-guard-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 53, vars: 170, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "productIdentification", "SectionName", "Product Identification", "Icon", "fa fa-tag", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SKU", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "productClassification", "SectionName", "Product Classification", "Icon", "fa fa-list-ul", 3, "Form", "FormContext"], ["FieldName", "ProductTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ProductCategoryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "financialAndAccounting", "SectionName", "Financial and Accounting", "Icon", "fa fa-dollar-sign", 3, "Form", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsTaxable", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TaxCategory", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "catalogLifecycle", "SectionName", "Catalog Lifecycle", "Icon", "fa fa-history", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SuccessorProductID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableFrom", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableTo", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "subscriptionAndEntitlements", "SectionName", "Subscription and Entitlements", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "SubscriptionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementGrantTiming", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementQuantityMode", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubscriptionFamilyID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RenewalIncreasePercent", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "pricingAndOrdering", "SectionName", "Pricing and Ordering", "Icon", "fa fa-dollar-sign", 3, "Form", "FormContext"], ["FieldName", "PricingDriverClass", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxQuantityPerLine", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJBizAppsOrdersProductEntitlements", "SectionName", "Entitlements", "Icon", "fa fa-box-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProductBundleItemsComponentProductID", "SectionName", "Product Bundle Items (Component Product ID)", "Icon", "fa fa-box-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProductBundleItemsBundleProductID", "SectionName", "Bundle Items", "Icon", "fa fa-box-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProducts", "SectionName", "Products", "Icon", "fa fa-box", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersOrderLinesSourceBundleProductID", "SectionName", "Order Lines (Source Bundle Product)", "Icon", "fa fa-list-ol", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersOrderLinesProductID", "SectionName", "Order Lines (Product)", "Icon", "fa fa-list-ol", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersSubscriptions", "SectionName", "Subscriptions", "Icon", "fa fa-sync-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProductPrices", "SectionName", "Product Prices", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersPromotionTargets", "SectionName", "Promotion Targets", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function BizAppsProductSaveGuardFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
189
189
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
190
190
|
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
191
191
|
i0.ɵɵelement(1, "mj-form-panel-slot", 1);
|
|
@@ -202,43 +202,44 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
202
202
|
i0.ɵɵelement(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18);
|
|
203
203
|
i0.ɵɵelementEnd();
|
|
204
204
|
i0.ɵɵelementStart(19, "mj-collapsible-panel", 19);
|
|
205
|
-
i0.ɵɵelement(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23);
|
|
205
|
+
i0.ɵɵelement(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23)(24, "mj-form-field", 24)(25, "mj-form-field", 25);
|
|
206
206
|
i0.ɵɵelementEnd();
|
|
207
|
-
i0.ɵɵelementStart(
|
|
208
|
-
i0.ɵɵelement(
|
|
207
|
+
i0.ɵɵelementStart(26, "mj-collapsible-panel", 26);
|
|
208
|
+
i0.ɵɵelement(27, "mj-form-field", 27)(28, "mj-form-field", 28);
|
|
209
209
|
i0.ɵɵelementEnd();
|
|
210
|
-
i0.ɵɵ
|
|
211
|
-
i0.ɵɵ
|
|
210
|
+
i0.ɵɵelement(29, "mj-collapsible-panel", 29);
|
|
211
|
+
i0.ɵɵelementStart(30, "mj-collapsible-panel", 30);
|
|
212
|
+
i0.ɵɵelement(31, "mj-form-field", 31)(32, "mj-form-field", 32);
|
|
212
213
|
i0.ɵɵelementEnd();
|
|
213
|
-
i0.ɵɵelement(
|
|
214
|
-
i0.ɵɵelementStart(
|
|
215
|
-
i0.ɵɵconditionalCreate(
|
|
214
|
+
i0.ɵɵelement(33, "mj-form-panel-slot", 33);
|
|
215
|
+
i0.ɵɵelementStart(34, "mj-collapsible-panel", 34);
|
|
216
|
+
i0.ɵɵconditionalCreate(35, BizAppsProductSaveGuardFormComponent_Conditional_35_Template, 2, 4, "div");
|
|
216
217
|
i0.ɵɵelementEnd();
|
|
217
|
-
i0.ɵɵelementStart(
|
|
218
|
-
i0.ɵɵconditionalCreate(
|
|
218
|
+
i0.ɵɵelementStart(36, "mj-collapsible-panel", 35);
|
|
219
|
+
i0.ɵɵconditionalCreate(37, BizAppsProductSaveGuardFormComponent_Conditional_37_Template, 2, 4, "div");
|
|
219
220
|
i0.ɵɵelementEnd();
|
|
220
|
-
i0.ɵɵelementStart(
|
|
221
|
-
i0.ɵɵconditionalCreate(
|
|
221
|
+
i0.ɵɵelementStart(38, "mj-collapsible-panel", 36);
|
|
222
|
+
i0.ɵɵconditionalCreate(39, BizAppsProductSaveGuardFormComponent_Conditional_39_Template, 2, 4, "div");
|
|
222
223
|
i0.ɵɵelementEnd();
|
|
223
|
-
i0.ɵɵelementStart(
|
|
224
|
-
i0.ɵɵconditionalCreate(
|
|
224
|
+
i0.ɵɵelementStart(40, "mj-collapsible-panel", 37);
|
|
225
|
+
i0.ɵɵconditionalCreate(41, BizAppsProductSaveGuardFormComponent_Conditional_41_Template, 2, 4, "div");
|
|
225
226
|
i0.ɵɵelementEnd();
|
|
226
|
-
i0.ɵɵelementStart(
|
|
227
|
-
i0.ɵɵconditionalCreate(
|
|
227
|
+
i0.ɵɵelementStart(42, "mj-collapsible-panel", 38);
|
|
228
|
+
i0.ɵɵconditionalCreate(43, BizAppsProductSaveGuardFormComponent_Conditional_43_Template, 2, 4, "div");
|
|
228
229
|
i0.ɵɵelementEnd();
|
|
229
|
-
i0.ɵɵelementStart(
|
|
230
|
-
i0.ɵɵconditionalCreate(
|
|
230
|
+
i0.ɵɵelementStart(44, "mj-collapsible-panel", 39);
|
|
231
|
+
i0.ɵɵconditionalCreate(45, BizAppsProductSaveGuardFormComponent_Conditional_45_Template, 2, 4, "div");
|
|
231
232
|
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵelementStart(
|
|
233
|
-
i0.ɵɵconditionalCreate(
|
|
233
|
+
i0.ɵɵelementStart(46, "mj-collapsible-panel", 40);
|
|
234
|
+
i0.ɵɵconditionalCreate(47, BizAppsProductSaveGuardFormComponent_Conditional_47_Template, 2, 4, "div");
|
|
234
235
|
i0.ɵɵelementEnd();
|
|
235
|
-
i0.ɵɵelementStart(
|
|
236
|
-
i0.ɵɵconditionalCreate(
|
|
236
|
+
i0.ɵɵelementStart(48, "mj-collapsible-panel", 41);
|
|
237
|
+
i0.ɵɵconditionalCreate(49, BizAppsProductSaveGuardFormComponent_Conditional_49_Template, 2, 4, "div");
|
|
237
238
|
i0.ɵɵelementEnd();
|
|
238
|
-
i0.ɵɵelementStart(
|
|
239
|
-
i0.ɵɵconditionalCreate(
|
|
239
|
+
i0.ɵɵelementStart(50, "mj-collapsible-panel", 42);
|
|
240
|
+
i0.ɵɵconditionalCreate(51, BizAppsProductSaveGuardFormComponent_Conditional_51_Template, 2, 4, "div");
|
|
240
241
|
i0.ɵɵelementEnd();
|
|
241
|
-
i0.ɵɵelement(
|
|
242
|
+
i0.ɵɵelement(52, "mj-form-panel-slot", 43);
|
|
242
243
|
i0.ɵɵelementEnd();
|
|
243
244
|
} if (rf & 2) {
|
|
244
245
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -289,18 +290,20 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
289
290
|
i0.ɵɵadvance();
|
|
290
291
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
291
292
|
i0.ɵɵadvance();
|
|
292
|
-
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
293
|
-
i0.ɵɵadvance();
|
|
294
293
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
295
294
|
i0.ɵɵadvance();
|
|
296
295
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
297
296
|
i0.ɵɵadvance();
|
|
297
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
298
|
+
i0.ɵɵadvance();
|
|
298
299
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
299
300
|
i0.ɵɵadvance();
|
|
300
301
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
301
302
|
i0.ɵɵadvance();
|
|
302
303
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
303
304
|
i0.ɵɵadvance();
|
|
305
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
306
|
+
i0.ɵɵadvance();
|
|
304
307
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
305
308
|
i0.ɵɵadvance();
|
|
306
309
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
@@ -309,39 +312,39 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
309
312
|
i0.ɵɵadvance();
|
|
310
313
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductEntitlements"))("DefaultExpanded", false);
|
|
311
314
|
i0.ɵɵadvance();
|
|
312
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
315
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 35 : -1);
|
|
313
316
|
i0.ɵɵadvance();
|
|
314
317
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductBundleItemsComponentProductID"))("DefaultExpanded", false);
|
|
315
318
|
i0.ɵɵadvance();
|
|
316
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
319
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 37 : -1);
|
|
317
320
|
i0.ɵɵadvance();
|
|
318
321
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductBundleItemsBundleProductID"))("DefaultExpanded", false);
|
|
319
322
|
i0.ɵɵadvance();
|
|
320
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
323
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 39 : -1);
|
|
321
324
|
i0.ɵɵadvance();
|
|
322
325
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProducts"))("DefaultExpanded", false);
|
|
323
326
|
i0.ɵɵadvance();
|
|
324
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
327
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 41 : -1);
|
|
325
328
|
i0.ɵɵadvance();
|
|
326
329
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersOrderLinesSourceBundleProductID"))("DefaultExpanded", false);
|
|
327
330
|
i0.ɵɵadvance();
|
|
328
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
331
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 43 : -1);
|
|
329
332
|
i0.ɵɵadvance();
|
|
330
333
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersOrderLinesProductID"))("DefaultExpanded", false);
|
|
331
334
|
i0.ɵɵadvance();
|
|
332
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
335
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 45 : -1);
|
|
333
336
|
i0.ɵɵadvance();
|
|
334
337
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersSubscriptions"))("DefaultExpanded", false);
|
|
335
338
|
i0.ɵɵadvance();
|
|
336
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
339
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 47 : -1);
|
|
337
340
|
i0.ɵɵadvance();
|
|
338
341
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductPrices"))("DefaultExpanded", false);
|
|
339
342
|
i0.ɵɵadvance();
|
|
340
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
343
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 49 : -1);
|
|
341
344
|
i0.ɵɵadvance();
|
|
342
345
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersPromotionTargets"))("DefaultExpanded", false);
|
|
343
346
|
i0.ɵɵadvance();
|
|
344
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
347
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 51 : -1);
|
|
345
348
|
i0.ɵɵadvance();
|
|
346
349
|
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
347
350
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i1.FormPanelSlotComponent], encapsulation: 2 });
|
|
@@ -352,7 +355,7 @@ BizAppsProductSaveGuardFormComponent = __decorate([
|
|
|
352
355
|
export { BizAppsProductSaveGuardFormComponent };
|
|
353
356
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsProductSaveGuardFormComponent, [{
|
|
354
357
|
type: Component,
|
|
355
|
-
args: [{ standalone: false, selector: 'bizapps-product-save-guard-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 <!-- Product Identification Section -->\n <mj-collapsible-panel\n SectionKey=\"productIdentification\"\n SectionName=\"Product Identification\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"SKU\"\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\n </mj-collapsible-panel>\n\n <!-- Product Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"productClassification\"\n SectionName=\"Product Classification\"\n Icon=\"fa fa-list-ul\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductTypeID\"\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=\"ProductCategoryID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Financial and Accounting Section -->\n <mj-collapsible-panel\n SectionKey=\"financialAndAccounting\"\n SectionName=\"Financial and Accounting\"\n Icon=\"fa fa-dollar-sign\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"RevenueRecognitionTypeID\"\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=\"IsTaxable\"\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=\"TaxCategory\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Catalog Lifecycle Section -->\n <mj-collapsible-panel\n SectionKey=\"catalogLifecycle\"\n SectionName=\"Catalog Lifecycle\"\n Icon=\"fa fa-history\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SuccessorProductID\"\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=\"AvailableFrom\"\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=\"AvailableTo\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Subscription and Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"subscriptionAndEntitlements\"\n SectionName=\"Subscription and Entitlements\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionTypeID\"\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=\"EntitlementGrantTiming\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementQuantityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementValidityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\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=\"PricingDriverClass\"\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=\"MaxQuantityPerLine\"\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=\"SubscriptionFamilyID\"\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=\"RenewalIncreasePercent\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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 <!-- Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductEntitlements\"\n SectionName=\"Entitlements\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductEntitlements')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductEntitlements')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductEntitlements', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Bundle Items (Component Product ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsComponentProductID\"\n SectionName=\"Product Bundle Items (Component Product ID)\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Bundle Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsBundleProductID\"\n SectionName=\"Bundle Items\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Products Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProducts\"\n SectionName=\"Products\"\n Icon=\"fa fa-box\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProducts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProducts')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProducts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Source Bundle Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesSourceBundleProductID\"\n SectionName=\"Order Lines (Source Bundle Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesProductID\"\n SectionName=\"Order Lines (Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Subscriptions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersSubscriptions\"\n SectionName=\"Subscriptions\"\n Icon=\"fa fa-sync-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersSubscriptions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersSubscriptions')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersSubscriptions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Prices Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductPrices\"\n SectionName=\"Product Prices\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductPrices')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductPrices')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductPrices', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Promotion Targets Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersPromotionTargets\"\n SectionName=\"Promotion Targets\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersPromotionTargets')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersPromotionTargets')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersPromotionTargets', $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 " }]
|
|
358
|
+
args: [{ standalone: false, selector: 'bizapps-product-save-guard-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 <!-- Product Identification Section -->\n <mj-collapsible-panel\n SectionKey=\"productIdentification\"\n SectionName=\"Product Identification\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"SKU\"\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\n </mj-collapsible-panel>\n\n <!-- Product Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"productClassification\"\n SectionName=\"Product Classification\"\n Icon=\"fa fa-list-ul\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductTypeID\"\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=\"ProductCategoryID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Financial and Accounting Section -->\n <mj-collapsible-panel\n SectionKey=\"financialAndAccounting\"\n SectionName=\"Financial and Accounting\"\n Icon=\"fa fa-dollar-sign\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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=\"RevenueRecognitionTypeID\"\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=\"IsTaxable\"\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=\"TaxCategory\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Catalog Lifecycle Section -->\n <mj-collapsible-panel\n SectionKey=\"catalogLifecycle\"\n SectionName=\"Catalog Lifecycle\"\n Icon=\"fa fa-history\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SuccessorProductID\"\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=\"AvailableFrom\"\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=\"AvailableTo\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Subscription and Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"subscriptionAndEntitlements\"\n SectionName=\"Subscription and Entitlements\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionTypeID\"\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=\"EntitlementGrantTiming\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementQuantityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementValidityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionFamilyID\"\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=\"RenewalIncreasePercent\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Pricing and Ordering Section -->\n <mj-collapsible-panel\n SectionKey=\"pricingAndOrdering\"\n SectionName=\"Pricing and Ordering\"\n Icon=\"fa fa-dollar-sign\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PricingDriverClass\"\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=\"MaxQuantityPerLine\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\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\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\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 <!-- Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductEntitlements\"\n SectionName=\"Entitlements\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductEntitlements')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductEntitlements')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductEntitlements', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Bundle Items (Component Product ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsComponentProductID\"\n SectionName=\"Product Bundle Items (Component Product ID)\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Bundle Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsBundleProductID\"\n SectionName=\"Bundle Items\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Products Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProducts\"\n SectionName=\"Products\"\n Icon=\"fa fa-box\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProducts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProducts')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProducts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Source Bundle Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesSourceBundleProductID\"\n SectionName=\"Order Lines (Source Bundle Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesProductID\"\n SectionName=\"Order Lines (Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Subscriptions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersSubscriptions\"\n SectionName=\"Subscriptions\"\n Icon=\"fa fa-sync-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersSubscriptions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersSubscriptions')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersSubscriptions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Prices Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductPrices\"\n SectionName=\"Product Prices\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductPrices')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductPrices')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductPrices', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Promotion Targets Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersPromotionTargets\"\n SectionName=\"Promotion Targets\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersPromotionTargets')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersPromotionTargets')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersPromotionTargets', $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 " }]
|
|
356
359
|
}], null, null); })();
|
|
357
360
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsProductSaveGuardFormComponent, { className: "BizAppsProductSaveGuardFormComponent", filePath: "lib/custom/Product/product-save-guard-form.component.ts", lineNumber: 60 }); })();
|
|
358
361
|
/** Tree-shaking prevention anchor function */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-save-guard-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/Product/product-save-guard-form.component.ts","../../../../src/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,uFAAuF,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"product-save-guard-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/Product/product-save-guard-form.component.ts","../../../../src/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,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;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,4EAC4C,0BAC9C;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,sEACsC,0BACxC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,sEACsC,0BACxC;YACzB,cAYC;YAZD,8CAYC;YASD,cAAa;YAGb,AADA,AADA,AADA,0BAAa,gCACc,yEACyC,0BAC3C;YACzB,cAYC;YAZD,8CAYC;YAGe,cAAmC;YAA+D,AAAvB,AAAlB,AAAzD,wBAAA,4CAAmC,CAAA,sBAAuC,sBAAuB,gCAA4B;;;ADvcxI,oCAAoC;IANhD,aAAa,CAAC,iBAAiB,EAAE,6BAA6B,EAAE,CAAC,CAAC;GAMtD,oCAAoC,CAoDhD;;iFApDY,oCAAoC;cALhD,SAAS;6BACM,KAAK,YACP,iCAAiC;;kFAGlC,oCAAoC;AAsDjD,8CAA8C;AAC9C,MAAM,UAAU,iCAAiC;IAC7C,2DAA2D;AAC/D,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CompositeKey } from '@memberjunction/core';
|
|
2
|
+
/** The parts of an IsA parent record this check reads. `BaseEntity` satisfies it. */
|
|
3
|
+
export interface IsAKeyedRecord {
|
|
4
|
+
PrimaryKey: CompositeKey;
|
|
5
|
+
LeafEntity: {
|
|
6
|
+
PrimaryKey: CompositeKey;
|
|
7
|
+
} | null;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The key to reload a just-created IsA parent under, or null when its own key is already right.
|
|
11
|
+
*
|
|
12
|
+
* On MJ 6.1.x, saving a NEW Product that carries an Event Products extension writes both rows under a
|
|
13
|
+
* key the server mints, because the GraphQL create does not send the browser's key. The leaf's own key
|
|
14
|
+
* field is re-hydrated from the save response and holds the written key. The Product the form holds
|
|
15
|
+
* keeps the browser's key in `ID`, `Get('ID')` and `PrimaryKey`, so every price row, GL link and reload
|
|
16
|
+
* the form starts from it names a Product that does not exist. Reloading the Product under the leaf's
|
|
17
|
+
* key replaces it. Once MJ sends the key on create, the two keys agree and this returns null.
|
|
18
|
+
*/
|
|
19
|
+
export declare function WrittenKeyToReload(record: IsAKeyedRecord): CompositeKey | null;
|
|
20
|
+
//# sourceMappingURL=written-key.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"written-key.d.ts","sourceRoot":"","sources":["../../../../src/lib/custom/Product/written-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,qFAAqF;AACrF,MAAM,WAAW,cAAc;IAC3B,UAAU,EAAE,YAAY,CAAC;IACzB,UAAU,EAAE;QAAE,UAAU,EAAE,YAAY,CAAA;KAAE,GAAG,IAAI,CAAC;CACnD;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,cAAc,GAAG,YAAY,GAAG,IAAI,CAU9E"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The key to reload a just-created IsA parent under, or null when its own key is already right.
|
|
3
|
+
*
|
|
4
|
+
* On MJ 6.1.x, saving a NEW Product that carries an Event Products extension writes both rows under a
|
|
5
|
+
* key the server mints, because the GraphQL create does not send the browser's key. The leaf's own key
|
|
6
|
+
* field is re-hydrated from the save response and holds the written key. The Product the form holds
|
|
7
|
+
* keeps the browser's key in `ID`, `Get('ID')` and `PrimaryKey`, so every price row, GL link and reload
|
|
8
|
+
* the form starts from it names a Product that does not exist. Reloading the Product under the leaf's
|
|
9
|
+
* key replaces it. Once MJ sends the key on create, the two keys agree and this returns null.
|
|
10
|
+
*/
|
|
11
|
+
export function WrittenKeyToReload(record) {
|
|
12
|
+
const leaf = record.LeafEntity;
|
|
13
|
+
if (!leaf || leaf === record) {
|
|
14
|
+
return null;
|
|
15
|
+
}
|
|
16
|
+
const written = leaf.PrimaryKey;
|
|
17
|
+
if (!written?.HasValue || written.Equals(record.PrimaryKey)) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
return written;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=written-key.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"written-key.js","sourceRoot":"","sources":["../../../../src/lib/custom/Product/written-key.ts"],"names":[],"mappings":"AAQA;;;;;;;;;GASG;AACH,MAAM,UAAU,kBAAkB,CAAC,MAAsB;IACrD,MAAM,IAAI,GAAG,MAAM,CAAC,UAAU,CAAC;IAC/B,IAAI,CAAC,IAAI,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC;IAChC,IAAI,CAAC,OAAO,EAAE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;QAC1D,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO,OAAO,CAAC;AACnB,CAAC"}
|
|
@@ -572,13 +572,12 @@ export interface MJOExistingHolding extends MJOSubscriptionContinuation {
|
|
|
572
572
|
SubscriptionNumber: string;
|
|
573
573
|
}
|
|
574
574
|
/**
|
|
575
|
-
* The live
|
|
576
|
-
*
|
|
575
|
+
* The live subscription to `productID` held by this organization or naming this person, or null.
|
|
576
|
+
* The rule is `FindExistingHolding` in orders-entities, shared with the server-side checks that
|
|
577
|
+
* refuse a close or confirm on an unanswered line.
|
|
577
578
|
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
* reverse. Asking when it did not need to costs a click; not asking when it did is the silent date
|
|
581
|
-
* change this exists to prevent. The line's answer is still applied by the server's own rules.
|
|
579
|
+
* A failed read is logged and returns null here: the screen then does not ask, and the server
|
|
580
|
+
* still applies its rule and the confirm reports a moved start.
|
|
582
581
|
*/
|
|
583
582
|
export declare function GetExistingHolding(productID: string, organizationID: string | null, personID: string | null, user?: UserInfo): Promise<MJOExistingHolding | null>;
|
|
584
583
|
/** What happened to a subscription, newest first. */
|