@mj-biz-apps/orders-ng 5.50.2 → 5.51.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 +58 -3
- package/dist/lib/checkout-widget/checkout-public-host.component.d.ts +10 -2
- package/dist/lib/checkout-widget/checkout-public-host.component.d.ts.map +1 -1
- package/dist/lib/checkout-widget/checkout-public-host.component.js +30 -3
- package/dist/lib/checkout-widget/checkout-public-host.component.js.map +1 -1
- package/dist/lib/custom/OrderHeader/order-header-form.component.d.ts +8 -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 +257 -172
- package/dist/lib/custom/OrderHeader/order-header-form.component.js.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts +37 -2
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +178 -39
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts +9 -0
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.d.ts.map +1 -1
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js +28 -6
- package/dist/lib/custom/Product/widgets/product-pricing-widget.component.js.map +1 -1
- package/dist/lib/data/orders-queries.d.ts +25 -2
- package/dist/lib/data/orders-queries.d.ts.map +1 -1
- package/dist/lib/data/orders-queries.js +37 -5
- package/dist/lib/data/orders-queries.js.map +1 -1
- package/dist/lib/form-panels/external-invoices.panel.d.ts +4 -0
- package/dist/lib/form-panels/external-invoices.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/external-invoices.panel.js +73 -10
- package/dist/lib/form-panels/external-invoices.panel.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 +24 -6
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.js +67 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +105 -104
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +5 -2
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/pages/orders/orders-dashboard.page.d.ts +16 -1
- package/dist/lib/pages/orders/orders-dashboard.page.d.ts.map +1 -1
- package/dist/lib/pages/orders/orders-dashboard.page.js +33 -10
- package/dist/lib/pages/orders/orders-dashboard.page.js.map +1 -1
- package/dist/lib/pages/orders/return.page.d.ts +17 -1
- package/dist/lib/pages/orders/return.page.d.ts.map +1 -1
- package/dist/lib/pages/orders/return.page.js +160 -87
- package/dist/lib/pages/orders/return.page.js.map +1 -1
- package/dist/lib/pages/receivables/customer-ar.page.d.ts +8 -2
- package/dist/lib/pages/receivables/customer-ar.page.d.ts.map +1 -1
- package/dist/lib/pages/receivables/customer-ar.page.js +24 -11
- package/dist/lib/pages/receivables/customer-ar.page.js.map +1 -1
- package/dist/lib/pages/receivables/external-invoicing-queue.page.js +55 -55
- package/dist/lib/pages/receivables/external-invoicing-queue.page.js.map +1 -1
- package/dist/lib/panels/aging-bar.component.d.ts +59 -0
- package/dist/lib/panels/aging-bar.component.d.ts.map +1 -1
- package/dist/lib/panels/aging-bar.component.js +76 -1
- package/dist/lib/panels/aging-bar.component.js.map +1 -1
- package/dist/lib/services/pricing-scheduler.service.d.ts.map +1 -1
- package/dist/lib/services/pricing-scheduler.service.js +10 -3
- package/dist/lib/services/pricing-scheduler.service.js.map +1 -1
- package/dist/public-api.d.ts +6 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +6 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
|
|
|
11
11
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
12
12
|
function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
13
13
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
14
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
|
|
15
15
|
i0.ɵɵlistener("Navigate", function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_18_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 mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_18_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersOrderAdjustments", $event.totalRowCount)); });
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
17
17
|
} if (rf & 2) {
|
|
@@ -21,7 +21,7 @@ function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_18_Template(rf,
|
|
|
21
21
|
} }
|
|
22
22
|
function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
23
23
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
24
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
|
|
25
25
|
i0.ɵɵlistener("Navigate", function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_20_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 mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_20_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersOrderConcessions", $event.totalRowCount)); });
|
|
26
26
|
i0.ɵɵelementEnd()();
|
|
27
27
|
} if (rf & 2) {
|
|
@@ -29,6 +29,16 @@ function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_20_Template(rf,
|
|
|
29
29
|
i0.ɵɵadvance();
|
|
30
30
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Order Concessions", "AuthorizedBySalesAuthorityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Order Concessions", "AuthorizedBySalesAuthorityID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersOrderConcessions"))("ShowToolbar", true);
|
|
31
31
|
} }
|
|
32
|
+
function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_22_Template(rf, ctx) { if (rf & 1) {
|
|
33
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
34
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 21);
|
|
35
|
+
i0.ɵɵlistener("Navigate", function mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_22_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 mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_22_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersSalesAuthorityMixTiers", $event.totalRowCount)); });
|
|
36
|
+
i0.ɵɵelementEnd()();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Sales Authority Mix Tiers", "SalesAuthorityID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Sales Authority Mix Tiers", "SalesAuthorityID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersSalesAuthorityMixTiers"))("ShowToolbar", true);
|
|
41
|
+
} }
|
|
32
42
|
let mjBizAppsOrdersSalesAuthorityFormComponent = class mjBizAppsOrdersSalesAuthorityFormComponent extends BaseFormComponent {
|
|
33
43
|
record;
|
|
34
44
|
async ngOnInit() {
|
|
@@ -38,11 +48,12 @@ let mjBizAppsOrdersSalesAuthorityFormComponent = class mjBizAppsOrdersSalesAutho
|
|
|
38
48
|
{ sectionKey: 'authorityLimits', sectionName: 'Authority Limits', isExpanded: true },
|
|
39
49
|
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false },
|
|
40
50
|
{ sectionKey: 'mJBizAppsOrdersOrderAdjustments', sectionName: 'Order Adjustments', isExpanded: false },
|
|
41
|
-
{ sectionKey: 'mJBizAppsOrdersOrderConcessions', sectionName: 'Order Concessions', isExpanded: false }
|
|
51
|
+
{ sectionKey: 'mJBizAppsOrdersOrderConcessions', sectionName: 'Order Concessions', isExpanded: false },
|
|
52
|
+
{ sectionKey: 'mJBizAppsOrdersSalesAuthorityMixTiers', sectionName: 'Sales Authority Mix Tiers', isExpanded: false }
|
|
42
53
|
]);
|
|
43
54
|
}
|
|
44
55
|
static ɵfac = /*@__PURE__*/ (() => { let ɵmjBizAppsOrdersSalesAuthorityFormComponent_BaseFactory; return function mjBizAppsOrdersSalesAuthorityFormComponent_Factory(__ngFactoryType__) { return (ɵmjBizAppsOrdersSalesAuthorityFormComponent_BaseFactory || (ɵmjBizAppsOrdersSalesAuthorityFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(mjBizAppsOrdersSalesAuthorityFormComponent)))(__ngFactoryType__ || mjBizAppsOrdersSalesAuthorityFormComponent); }; })();
|
|
45
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: mjBizAppsOrdersSalesAuthorityFormComponent, selectors: [["gen-mjbizappsorderssalesauthority-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
56
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: mjBizAppsOrdersSalesAuthorityFormComponent, selectors: [["gen-mjbizappsorderssalesauthority-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 24, vars: 82, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "salesRepAssignment", "SectionName", "Sales Rep Assignment", "Icon", "fa fa-user", 3, "Form", "FormContext"], ["FieldName", "SalesRepUserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "authorityLimits", "SectionName", "Authority Limits", "Icon", "fa fa-lock", 3, "Form", "FormContext"], ["FieldName", "MaxDiscountPct", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxOrderValue", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AllowedPaymentTermsTypeIDs", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AllowedProductCategoryIDs", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsActive", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxConcessionValue", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxTermExtensionDays", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxConcessionPctOfContract", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "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", "mJBizAppsOrdersOrderAdjustments", "SectionName", "Order Adjustments", "Icon", "fa fa-percentage", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersOrderConcessions", "SectionName", "Order Concessions", "Icon", "fa fa-hand-holding-usd", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersSalesAuthorityMixTiers", "SectionName", "Sales Authority Mix Tiers", "Icon", "fa fa-layer-group", "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 mjBizAppsOrdersSalesAuthorityFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
46
57
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
47
58
|
i0.ɵɵlistener("Navigate", function mjBizAppsOrdersSalesAuthorityFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function mjBizAppsOrdersSalesAuthorityFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function mjBizAppsOrdersSalesAuthorityFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function mjBizAppsOrdersSalesAuthorityFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function mjBizAppsOrdersSalesAuthorityFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
48
59
|
i0.ɵɵelement(1, "mj-form-panel-slot", 1);
|
|
@@ -62,7 +73,10 @@ let mjBizAppsOrdersSalesAuthorityFormComponent = class mjBizAppsOrdersSalesAutho
|
|
|
62
73
|
i0.ɵɵelementStart(19, "mj-collapsible-panel", 18);
|
|
63
74
|
i0.ɵɵconditionalCreate(20, mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_20_Template, 2, 4, "div");
|
|
64
75
|
i0.ɵɵelementEnd();
|
|
65
|
-
i0.ɵɵ
|
|
76
|
+
i0.ɵɵelementStart(21, "mj-collapsible-panel", 19);
|
|
77
|
+
i0.ɵɵconditionalCreate(22, mjBizAppsOrdersSalesAuthorityFormComponent_Conditional_22_Template, 2, 4, "div");
|
|
78
|
+
i0.ɵɵelementEnd();
|
|
79
|
+
i0.ɵɵelement(23, "mj-form-panel-slot", 20);
|
|
66
80
|
i0.ɵɵelementEnd();
|
|
67
81
|
} if (rf & 2) {
|
|
68
82
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -107,6 +121,10 @@ let mjBizAppsOrdersSalesAuthorityFormComponent = class mjBizAppsOrdersSalesAutho
|
|
|
107
121
|
i0.ɵɵadvance();
|
|
108
122
|
i0.ɵɵconditional(ctx.record.IsSaved ? 20 : -1);
|
|
109
123
|
i0.ɵɵadvance();
|
|
124
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersSalesAuthorityMixTiers"))("DefaultExpanded", false);
|
|
125
|
+
i0.ɵɵadvance();
|
|
126
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 22 : -1);
|
|
127
|
+
i0.ɵɵadvance();
|
|
110
128
|
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
111
129
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i1.FormPanelSlotComponent], encapsulation: 2 });
|
|
112
130
|
};
|
|
@@ -116,7 +134,7 @@ mjBizAppsOrdersSalesAuthorityFormComponent = __decorate([
|
|
|
116
134
|
export { mjBizAppsOrdersSalesAuthorityFormComponent };
|
|
117
135
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(mjBizAppsOrdersSalesAuthorityFormComponent, [{
|
|
118
136
|
type: Component,
|
|
119
|
-
args: [{ standalone: false, selector: 'gen-mjbizappsorderssalesauthority-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 <!-- Sales Rep Assignment Section -->\n <mj-collapsible-panel\n SectionKey=\"salesRepAssignment\"\n SectionName=\"Sales Rep Assignment\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"SalesRepUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Authority Limits Section -->\n <mj-collapsible-panel\n SectionKey=\"authorityLimits\"\n SectionName=\"Authority Limits\"\n Icon=\"fa fa-lock\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxDiscountPct\"\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=\"MaxOrderValue\"\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=\"AllowedPaymentTermsTypeIDs\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AllowedProductCategoryIDs\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxConcessionValue\"\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=\"MaxTermExtensionDays\"\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=\"MaxConcessionPctOfContract\"\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 <!-- Order Adjustments Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderAdjustments\"\n SectionName=\"Order Adjustments\"\n Icon=\"fa fa-percentage\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderAdjustments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Adjustments','AuthorizedBySalesAuthorityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Adjustments','AuthorizedBySalesAuthorityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderAdjustments')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderAdjustments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Concessions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderConcessions\"\n SectionName=\"Order Concessions\"\n Icon=\"fa fa-hand-holding-usd\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderConcessions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Concessions','AuthorizedBySalesAuthorityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Concessions','AuthorizedBySalesAuthorityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderConcessions')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderConcessions', $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 " }]
|
|
137
|
+
args: [{ standalone: false, selector: 'gen-mjbizappsorderssalesauthority-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 <!-- Sales Rep Assignment Section -->\n <mj-collapsible-panel\n SectionKey=\"salesRepAssignment\"\n SectionName=\"Sales Rep Assignment\"\n Icon=\"fa fa-user\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"false\"\n FieldName=\"SalesRepUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Authority Limits Section -->\n <mj-collapsible-panel\n SectionKey=\"authorityLimits\"\n SectionName=\"Authority Limits\"\n Icon=\"fa fa-lock\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxDiscountPct\"\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=\"MaxOrderValue\"\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=\"AllowedPaymentTermsTypeIDs\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AllowedProductCategoryIDs\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsActive\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxConcessionValue\"\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=\"MaxTermExtensionDays\"\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=\"MaxConcessionPctOfContract\"\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 <!-- Order Adjustments Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderAdjustments\"\n SectionName=\"Order Adjustments\"\n Icon=\"fa fa-percentage\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderAdjustments')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Adjustments','AuthorizedBySalesAuthorityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Adjustments','AuthorizedBySalesAuthorityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderAdjustments')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderAdjustments', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Concessions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderConcessions\"\n SectionName=\"Order Concessions\"\n Icon=\"fa fa-hand-holding-usd\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderConcessions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Concessions','AuthorizedBySalesAuthorityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Concessions','AuthorizedBySalesAuthorityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderConcessions')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderConcessions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Sales Authority Mix Tiers Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersSalesAuthorityMixTiers\"\n SectionName=\"Sales Authority Mix Tiers\"\n Icon=\"fa fa-layer-group\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersSalesAuthorityMixTiers')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Sales Authority Mix Tiers','SalesAuthorityID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Sales Authority Mix Tiers','SalesAuthorityID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersSalesAuthorityMixTiers')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersSalesAuthorityMixTiers', $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 " }]
|
|
120
138
|
}], null, null); })();
|
|
121
139
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsOrdersSalesAuthorityFormComponent, { className: "mjBizAppsOrdersSalesAuthorityFormComponent", filePath: "lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.ts", lineNumber: 13 }); })();
|
|
122
140
|
//# sourceMappingURL=mjbizappsorderssalesauthority.form.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mjbizappsorderssalesauthority.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.ts","../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;;;ICkJtD,AADJ,2BAAK,uCAQI;IADD,AADA,iPAAY,6BAAsB,KAAC,8OAClB,0BAAmB,iCAAiC,uBAAuB,KAAC;IAGrG,AADI,iBAA+B,EAC7B;;;IARE,cAAyH;IAGzH,AADA,AADA,AADA,+IAAyH,mHACf,0EACxC,qBAC9C;;;;IAqBxB,AADJ,2BAAK,uCAQI;IADD,AADA,iPAAY,6BAAsB,KAAC,8OAClB,0BAAmB,iCAAiC,uBAAuB,KAAC;IAGrG,AADI,iBAA+B,EAC7B;;;IARE,cAAyH;IAGzH,AADA,AADA,AADA,+IAAyH,mHACf,0EACxC,qBAC9C;;
|
|
1
|
+
{"version":3,"file":"mjbizappsorderssalesauthority.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.ts","../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,S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
1
|
+
import { mjBizAppsOrdersSalesAuthorityMixTierEntity } from '@mj-biz-apps/orders-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class mjBizAppsOrdersSalesAuthorityMixTierFormComponent extends BaseFormComponent {
|
|
5
|
+
record: mjBizAppsOrdersSalesAuthorityMixTierEntity;
|
|
6
|
+
ngOnInit(): Promise<void>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<mjBizAppsOrdersSalesAuthorityMixTierFormComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<mjBizAppsOrdersSalesAuthorityMixTierFormComponent, "gen-mjbizappsorderssalesauthoritymixtier-form", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=mjbizappsorderssalesauthoritymixtier.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mjbizappsorderssalesauthoritymixtier.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0CAA0C,EAAE,MAAM,8BAA8B,CAAC;AAE1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,iDAAkD,SAAQ,iBAAiB;IAC7E,MAAM,EAAG,0CAA0C,CAAC;IAE5C,QAAQ;yCAHd,iDAAiD;2CAAjD,iDAAiD;CAU7D"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@memberjunction/ng-base-forms";
|
|
12
|
+
let mjBizAppsOrdersSalesAuthorityMixTierFormComponent = class mjBizAppsOrdersSalesAuthorityMixTierFormComponent extends BaseFormComponent {
|
|
13
|
+
record;
|
|
14
|
+
async ngOnInit() {
|
|
15
|
+
await super.ngOnInit();
|
|
16
|
+
this.initSections([
|
|
17
|
+
{ sectionKey: 'mixTierConfiguration', sectionName: 'Mix Tier Configuration', isExpanded: true },
|
|
18
|
+
{ sectionKey: 'systemMetadata', sectionName: 'System Metadata', isExpanded: false }
|
|
19
|
+
]);
|
|
20
|
+
}
|
|
21
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵmjBizAppsOrdersSalesAuthorityMixTierFormComponent_BaseFactory; return function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Factory(__ngFactoryType__) { return (ɵmjBizAppsOrdersSalesAuthorityMixTierFormComponent_BaseFactory || (ɵmjBizAppsOrdersSalesAuthorityMixTierFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(mjBizAppsOrdersSalesAuthorityMixTierFormComponent)))(__ngFactoryType__ || mjBizAppsOrdersSalesAuthorityMixTierFormComponent); }; })();
|
|
22
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: mjBizAppsOrdersSalesAuthorityMixTierFormComponent, selectors: [["gen-mjbizappsorderssalesauthoritymixtier-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 11, vars: 41, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mixTierConfiguration", "SectionName", "Mix Tier Configuration", "Icon", "fa fa-sliders-h", 3, "Form", "FormContext"], ["FieldName", "SalesAuthorityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MinProductTypes", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxConcessionPctOfContract", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "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"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"]], template: function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
24
|
+
i0.ɵɵlistener("Navigate", function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function mjBizAppsOrdersSalesAuthorityMixTierFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
25
|
+
i0.ɵɵelement(1, "mj-form-panel-slot", 1);
|
|
26
|
+
i0.ɵɵelementStart(2, "mj-collapsible-panel", 2);
|
|
27
|
+
i0.ɵɵelement(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5);
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementStart(6, "mj-collapsible-panel", 6);
|
|
30
|
+
i0.ɵɵelement(7, "mj-form-field", 7)(8, "mj-form-field", 8);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelement(9, "mj-form-panel-slot", 9)(10, "mj-form-panel-slot", 10);
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
} if (rf & 2) {
|
|
35
|
+
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
36
|
+
i0.ɵɵadvance();
|
|
37
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
38
|
+
i0.ɵɵadvance();
|
|
39
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
40
|
+
i0.ɵɵadvance();
|
|
41
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
42
|
+
i0.ɵɵadvance();
|
|
43
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
44
|
+
i0.ɵɵadvance();
|
|
45
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
48
|
+
i0.ɵɵadvance();
|
|
49
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
50
|
+
i0.ɵɵadvance();
|
|
51
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
54
|
+
i0.ɵɵadvance();
|
|
55
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
56
|
+
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.FormPanelSlotComponent], encapsulation: 2 });
|
|
57
|
+
};
|
|
58
|
+
mjBizAppsOrdersSalesAuthorityMixTierFormComponent = __decorate([
|
|
59
|
+
RegisterClass(BaseFormComponent, 'MJ_BizApps_Orders: Sales Authority Mix Tiers') // Tell MemberJunction about this class
|
|
60
|
+
], mjBizAppsOrdersSalesAuthorityMixTierFormComponent);
|
|
61
|
+
export { mjBizAppsOrdersSalesAuthorityMixTierFormComponent };
|
|
62
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(mjBizAppsOrdersSalesAuthorityMixTierFormComponent, [{
|
|
63
|
+
type: Component,
|
|
64
|
+
args: [{ standalone: false, selector: 'gen-mjbizappsorderssalesauthoritymixtier-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 <!-- Mix Tier Configuration Section -->\n <mj-collapsible-panel\n SectionKey=\"mixTierConfiguration\"\n SectionName=\"Mix Tier Configuration\"\n Icon=\"fa fa-sliders-h\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SalesAuthorityID\"\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=\"MinProductTypes\"\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=\"MaxConcessionPctOfContract\"\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 <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 " }]
|
|
65
|
+
}], null, null); })();
|
|
66
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(mjBizAppsOrdersSalesAuthorityMixTierFormComponent, { className: "mjBizAppsOrdersSalesAuthorityMixTierFormComponent", filePath: "lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.ts", lineNumber: 12 }); })();
|
|
67
|
+
//# sourceMappingURL=mjbizappsorderssalesauthoritymixtier.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mjbizappsorderssalesauthoritymixtier.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.ts","../../../../../src/lib/generated/Entities/mjBizAppsOrdersSalesAuthorityMixTier/mjbizappsorderssalesauthoritymixtier.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;;AAQ3D,IAAM,iDAAiD,GAAvD,MAAM,iDAAkD,SAAQ,iBAAiB;IAC7E,MAAM,CAA8C;IAElD,KAAK,CAAC,QAAQ;QACnB,MAAM,KAAK,CAAC,QAAQ,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC;YACd,EAAE,UAAU,EAAE,sBAAsB,EAAE,WAAW,EAAE,wBAAwB,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