@mj-biz-apps/contracts-ng 0.1.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/LICENSE +183 -0
- package/dist/lib/data/entity-names.d.ts +29 -0
- package/dist/lib/data/entity-names.d.ts.map +1 -0
- package/dist/lib/data/entity-names.js +29 -0
- package/dist/lib/data/entity-names.js.map +1 -0
- package/dist/lib/data/provider.d.ts +44 -0
- package/dist/lib/data/provider.d.ts.map +1 -0
- package/dist/lib/data/provider.js +48 -0
- package/dist/lib/data/provider.js.map +1 -0
- package/dist/lib/directives/fk-navigate.directive.d.ts +63 -0
- package/dist/lib/directives/fk-navigate.directive.d.ts.map +1 -0
- package/dist/lib/directives/fk-navigate.directive.js +99 -0
- package/dist/lib/directives/fk-navigate.directive.js.map +1 -0
- package/dist/lib/form-panels/contract.panels.d.ts +124 -0
- package/dist/lib/form-panels/contract.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/contract.panels.js +1167 -0
- package/dist/lib/form-panels/contract.panels.js.map +1 -0
- package/dist/lib/form-panels/organization.panels.d.ts +23 -0
- package/dist/lib/form-panels/organization.panels.d.ts.map +1 -0
- package/dist/lib/form-panels/organization.panels.js +118 -0
- package/dist/lib/form-panels/organization.panels.js.map +1 -0
- package/dist/lib/form-panels/record-files.panel.d.ts +151 -0
- package/dist/lib/form-panels/record-files.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/record-files.panel.js +1046 -0
- package/dist/lib/form-panels/record-files.panel.js.map +1 -0
- package/dist/lib/form-panels/supersede.panel.d.ts +68 -0
- package/dist/lib/form-panels/supersede.panel.d.ts.map +1 -0
- package/dist/lib/form-panels/supersede.panel.js +415 -0
- package/dist/lib/form-panels/supersede.panel.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContract/mjbizappscontractscontract.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContract/mjbizappscontractscontract.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContract/mjbizappscontractscontract.form.component.js +196 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContract/mjbizappscontractscontract.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplate/mjbizappscontractscontracttemplate.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplate/mjbizappscontractscontracttemplate.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplate/mjbizappscontractscontracttemplate.form.component.js +120 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplate/mjbizappscontractscontracttemplate.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateModification/mjbizappscontractscontracttemplatemodification.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateModification/mjbizappscontractscontracttemplatemodification.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateModification/mjbizappscontractscontracttemplatemodification.form.component.js +79 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateModification/mjbizappscontractscontracttemplatemodification.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateProvision/mjbizappscontractscontracttemplateprovision.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateProvision/mjbizappscontractscontracttemplateprovision.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateProvision/mjbizappscontractscontracttemplateprovision.form.component.js +79 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateProvision/mjbizappscontractscontracttemplateprovision.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateType/mjbizappscontractscontracttemplatetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateType/mjbizappscontractscontracttemplatetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateType/mjbizappscontractscontracttemplatetype.form.component.js +86 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractTemplateType/mjbizappscontractscontracttemplatetype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractType/mjbizappscontractscontracttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractType/mjbizappscontractscontracttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractType/mjbizappscontractscontracttype.form.component.js +100 -0
- package/dist/lib/generated/Entities/mjBizAppsContractsContractType/mjbizappscontractscontracttype.form.component.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +23 -0
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -0
- package/dist/lib/generated/generated-forms.module.js +78 -0
- package/dist/lib/generated/generated-forms.module.js.map +1 -0
- package/dist/lib/pages/configuration.page.d.ts +83 -0
- package/dist/lib/pages/configuration.page.d.ts.map +1 -0
- package/dist/lib/pages/configuration.page.js +240 -0
- package/dist/lib/pages/configuration.page.js.map +1 -0
- package/dist/lib/pages/contract-grid.page.d.ts +169 -0
- package/dist/lib/pages/contract-grid.page.d.ts.map +1 -0
- package/dist/lib/pages/contract-grid.page.js +487 -0
- package/dist/lib/pages/contract-grid.page.js.map +1 -0
- package/dist/lib/pages/contracts-dashboard.page.d.ts +56 -0
- package/dist/lib/pages/contracts-dashboard.page.d.ts.map +1 -0
- package/dist/lib/pages/contracts-dashboard.page.js +215 -0
- package/dist/lib/pages/contracts-dashboard.page.js.map +1 -0
- package/dist/lib/pages/modifications.page.d.ts +96 -0
- package/dist/lib/pages/modifications.page.d.ts.map +1 -0
- package/dist/lib/pages/modifications.page.js +243 -0
- package/dist/lib/pages/modifications.page.js.map +1 -0
- package/dist/lib/pages/templates.page.d.ts +120 -0
- package/dist/lib/pages/templates.page.d.ts.map +1 -0
- package/dist/lib/pages/templates.page.js +258 -0
- package/dist/lib/pages/templates.page.js.map +1 -0
- package/dist/lib/sections/contracts-sections.component.d.ts +112 -0
- package/dist/lib/sections/contracts-sections.component.d.ts.map +1 -0
- package/dist/lib/sections/contracts-sections.component.js +412 -0
- package/dist/lib/sections/contracts-sections.component.js.map +1 -0
- package/dist/lib/sections/section-nav.model.d.ts +78 -0
- package/dist/lib/sections/section-nav.model.d.ts.map +1 -0
- package/dist/lib/sections/section-nav.model.js +110 -0
- package/dist/lib/sections/section-nav.model.js.map +1 -0
- package/dist/lib/sections/section-shell.component.d.ts +73 -0
- package/dist/lib/sections/section-shell.component.d.ts.map +1 -0
- package/dist/lib/sections/section-shell.component.js +170 -0
- package/dist/lib/sections/section-shell.component.js.map +1 -0
- package/dist/public-api.d.ts +44 -0
- package/dist/public-api.d.ts.map +1 -0
- package/dist/public-api.js +105 -0
- package/dist/public-api.js.map +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"record-files.panel.js","sourceRoot":"","sources":["../../../src/lib/form-panels/record-files.panel.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAU,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAc,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAuB,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AACrG,OAAO,EAAE,aAAa,EAAE,MAAM,k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B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BALzB,YAAY,uBAAE,WAAW,2DAAE,eAAe;;AAK3C,0BAA0B;IA7BtC,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,iCAAiC;QACtC,kBAAkB,EAAE,IAAI;QACxB,QAAQ,EAAE;YACN,MAAM,EAAE,0CAA0C;YAClD,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,EAAE;YACX,eAAe,EAAE,aAAa;YAC9B,6FAA6F;YAC7F,iCAAiC;YACjC,EAAE;YACF,8FAA8F;YAC9F,+FAA+F;YAC/F,8FAA8F;YAC9F,wEAAwE;YACxE,EAAE;YACF,8FAA8F;YAC9F,6FAA6F;YAC7F,mEAAmE;YACnE,WAAW,EAAE,MAAM;SACtB;KACJ,CAAC;GAQW,0BAA0B,CAAgC;;iFAA1D,0BAA0B;cAPtC,SAAS;6BACM,IAAI,WACP,CAAC,YAAY,EAAE,WAAW,EAAE,eAAe,CAAC,YAC3C,0BAA0B,YAE1B,cAAc;;kFAEf,0BAA0B"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { BaseFormPanel } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ContractEntity } from '@mj-biz-apps/contracts-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
interface Candidate {
|
|
5
|
+
ID: string;
|
|
6
|
+
ContractNumber: string;
|
|
7
|
+
ContractType: string;
|
|
8
|
+
Label: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class MJCContractSupersedePanel extends BaseFormPanel<ContractEntity> {
|
|
11
|
+
private readonly cdr;
|
|
12
|
+
PickedPredecessorID: string;
|
|
13
|
+
Busy: boolean;
|
|
14
|
+
LinkError: string;
|
|
15
|
+
/** Confirmation, so a working link is never indistinguishable from a silent no-op. */
|
|
16
|
+
LinkOk: string;
|
|
17
|
+
CandidatesLoading: boolean;
|
|
18
|
+
/** Why the candidate list is empty, when the reason is a failure rather than genuinely nothing. */
|
|
19
|
+
LoadError: string;
|
|
20
|
+
Supersedes: Array<{
|
|
21
|
+
ID: string;
|
|
22
|
+
ContractNumber: string;
|
|
23
|
+
}>;
|
|
24
|
+
private _candidates;
|
|
25
|
+
private loaded;
|
|
26
|
+
/** Eligible predecessors. Loaded on first read; no EditMode gate, because the panel is always shown. */
|
|
27
|
+
get Candidates(): Candidate[];
|
|
28
|
+
/**
|
|
29
|
+
* Re-paper: ask the SERVER to point this agreement at the contract it replaces.
|
|
30
|
+
*
|
|
31
|
+
* WHY AN OPERATION AND NOT ENTITY CALLS FROM HERE. The write targets a different record — the FK
|
|
32
|
+
* lives on the predecessor — so this panel used to load and save a foreign contract itself, which
|
|
33
|
+
* is server work done in the client. It also could not work: in the browser MJ resolves the
|
|
34
|
+
* CodeGen-generated entity class rather than the app subclass, so `ContractEntity.Supersede()` is
|
|
35
|
+
* absent client-side (MJ#4002). Server-side the app subclass resolves correctly and every rule in
|
|
36
|
+
* `ContractEntityServer.ValidateAsync()` actually runs.
|
|
37
|
+
*
|
|
38
|
+
* `RouteOperation` rather than a generated typed client: the server resolves an operation purely
|
|
39
|
+
* from the ClassFactory by key, so no `MJ: Remote Operations` metadata row and no CodeGen file run
|
|
40
|
+
* is needed for this to work. The trade is a stringly-typed key, kept in one place below.
|
|
41
|
+
*
|
|
42
|
+
* The operation RETURNS the live list, which is what fixes the stale Unlink button: this panel no
|
|
43
|
+
* longer maintains its own cached idea of what the contract supersedes.
|
|
44
|
+
*/
|
|
45
|
+
LinkSupersedes(): Promise<void>;
|
|
46
|
+
/** Release one predecessor. `null` predecessor = release everything. */
|
|
47
|
+
UnlinkSupersedes(_predecessorID: string): Promise<void>;
|
|
48
|
+
private invoke;
|
|
49
|
+
/**
|
|
50
|
+
* What this contract already replaces, and what it may replace.
|
|
51
|
+
*
|
|
52
|
+
* The same-level predicate is written two ways because `ParentContractID = NULL` matches nothing in
|
|
53
|
+
* SQL: a top-level contract's peers need `IS NULL`, a child's need an equality. Getting that wrong
|
|
54
|
+
* silently offers an empty list to every root contract, which is most of them.
|
|
55
|
+
*
|
|
56
|
+
* This mirrors `refuseCrossLevelSupersession` on the server but does not replace it: this decides
|
|
57
|
+
* what to OFFER, the server decides what is ALLOWED, and if they disagree the server wins.
|
|
58
|
+
*/
|
|
59
|
+
private load;
|
|
60
|
+
/** What this contract already replaces. Read live; the operation also returns it after a write. */
|
|
61
|
+
private loadSupersedes;
|
|
62
|
+
/** Eligible predecessors: same level, not already superseded, not this contract. */
|
|
63
|
+
private loadCandidates;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MJCContractSupersedePanel, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MJCContractSupersedePanel, "mjc-contract-supersede-panel", never, {}, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
export {};
|
|
68
|
+
//# sourceMappingURL=supersede.panel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supersede.panel.d.ts","sourceRoot":"","sources":["../../../src/lib/form-panels/supersede.panel.ts"],"names":[],"mappings":"AA0BA,OAAO,EAAE,aAAa,EAAmB,MAAM,+BAA+B,CAAC;AAG/E,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;;AAMjE,UAAU,SAAS;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,cAAc,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AAE/F,qBAkGa,yBAA0B,SAAQ,aAAa,CAAC,cAAc,CAAC;IACxE,OAAO,CAAC,QAAQ,CAAC,GAAG,CAA6B;IAE1C,mBAAmB,SAAM;IACzB,IAAI,UAAS;IACb,SAAS,SAAM;IACtB,sFAAsF;IAC/E,MAAM,SAAM;IACZ,iBAAiB,UAAS;IACjC,mGAAmG;IAC5F,SAAS,SAAM;IACf,UAAU,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAA;KAAE,CAAC,CAAM;IAEtE,OAAO,CAAC,WAAW,CAAmB;IACtC,OAAO,CAAC,MAAM,CAAS;IAEvB,wGAAwG;IACxG,IAAW,UAAU,IAAI,SAAS,EAAE,CAGnC;IAED;;;;;;;;;;;;;;;;OAgBG;IACU,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5C,wEAAwE;IAC3D,gBAAgB,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;YAItD,MAAM;IAuCpB;;;;;;;;;OASG;YACW,IAAI;IAKlB,mGAAmG;YACrF,cAAc;IAmB5B,oFAAoF;YACtE,cAAc;yCA3HnB,yBAAyB;2CAAzB,yBAAyB;CA0JrC"}
|
|
@@ -0,0 +1,415 @@
|
|
|
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
|
+
/**
|
|
8
|
+
* @fileoverview Re-papering — "this agreement supersedes …" — as a FIELD panel, not a related one.
|
|
9
|
+
*
|
|
10
|
+
* WHY IT LIVES HERE AND NOT ON LINEAGE. It started on the Lineage panel, which is where the
|
|
11
|
+
* supersession FACTS belong. But Lineage has to be a rail item, a rail item needs
|
|
12
|
+
* `Variant="related-entity"`, and that variant renders any non-AG-Grid child completely blank
|
|
13
|
+
* (MJ#3999) — so the picker was present in the DOM and invisible. Rather than fight the variant,
|
|
14
|
+
* the control moved to a plain field panel in the Details group, which has no such constraint.
|
|
15
|
+
* Lineage keeps the tree and the read-only facts.
|
|
16
|
+
*
|
|
17
|
+
* ALWAYS VISIBLE, not gated on EditMode (Marcelo, 2026-08-21). Re-papering is a deliberate act with
|
|
18
|
+
* its own confirm button that writes another record in its own save — it is not one of the form's
|
|
19
|
+
* fields, so hiding it until the form happens to be in edit mode only made it hard to find. Its
|
|
20
|
+
* button is what commits, so showing it in read mode changes nothing until pressed.
|
|
21
|
+
*
|
|
22
|
+
* THE DIRECTION, restated because it is the whole reason this panel is odd: the FK lives on the
|
|
23
|
+
* PREDECESSOR (`SupersededByContractID`), which is correct — one column there makes "superseded at
|
|
24
|
+
* most once" structurally true and keeps `Superseded` derivable from a column the base view already
|
|
25
|
+
* projects. The cost is exactly this: the successor's form reaches over and writes another record.
|
|
26
|
+
*
|
|
27
|
+
* @module @mj-biz-apps/contracts-ng
|
|
28
|
+
*/
|
|
29
|
+
import { ChangeDetectorRef, Component, ViewEncapsulation, inject } from '@angular/core';
|
|
30
|
+
import { CommonModule } from '@angular/common';
|
|
31
|
+
import { FormsModule } from '@angular/forms';
|
|
32
|
+
import { RegisterClassEx } from '@memberjunction/global';
|
|
33
|
+
import { BaseFormPanel, BaseFormsModule } from '@memberjunction/ng-base-forms';
|
|
34
|
+
import { MJComboboxComponent, MJButtonDirective, MJAlertComponent } from '@memberjunction/ng-ui-components';
|
|
35
|
+
import { MJC_ENTITIES } from '../data/entity-names';
|
|
36
|
+
import * as i0 from "@angular/core";
|
|
37
|
+
import * as i1 from "@angular/forms";
|
|
38
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
39
|
+
const _forTrack0 = ($index, $item) => $item.ID;
|
|
40
|
+
function MJCContractSupersedePanel_Conditional_5_Conditional_1_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵtext(0);
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
const p_r1 = ctx.$implicit;
|
|
44
|
+
const ɵ$index_14_r2 = ctx.$index;
|
|
45
|
+
const ɵ$count_14_r3 = ctx.$count;
|
|
46
|
+
i0.ɵɵtextInterpolate2(" ", p_r1.ContractNumber, "", ɵ$index_14_r2 === ɵ$count_14_r3 - 1 ? "" : ", ", " ");
|
|
47
|
+
} }
|
|
48
|
+
function MJCContractSupersedePanel_Conditional_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵrepeaterCreate(0, MJCContractSupersedePanel_Conditional_5_Conditional_1_For_1_Template, 1, 2, null, null, _forTrack0);
|
|
50
|
+
} if (rf & 2) {
|
|
51
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
52
|
+
i0.ɵɵrepeater(ctx_r3.Supersedes);
|
|
53
|
+
} }
|
|
54
|
+
function MJCContractSupersedePanel_Conditional_5_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵtext(0, " \u2014 ");
|
|
56
|
+
} }
|
|
57
|
+
function MJCContractSupersedePanel_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
58
|
+
i0.ɵɵelementStart(0, "span", 4);
|
|
59
|
+
i0.ɵɵconditionalCreate(1, MJCContractSupersedePanel_Conditional_5_Conditional_1_Template, 2, 0)(2, MJCContractSupersedePanel_Conditional_5_Conditional_2_Template, 1, 0);
|
|
60
|
+
i0.ɵɵelementStart(3, "span", 5);
|
|
61
|
+
i0.ɵɵtext(4);
|
|
62
|
+
i0.ɵɵelementEnd()();
|
|
63
|
+
} if (rf & 2) {
|
|
64
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
65
|
+
i0.ɵɵadvance();
|
|
66
|
+
i0.ɵɵconditional(ctx_r3.Supersedes.length ? 1 : 2);
|
|
67
|
+
i0.ɵɵadvance(3);
|
|
68
|
+
i0.ɵɵtextInterpolate1(" ", (ctx_r3.Record == null ? null : ctx_r3.Record.IsSaved) ? "finish editing to change this" : "save this contract first", " ");
|
|
69
|
+
} }
|
|
70
|
+
function MJCContractSupersedePanel_Conditional_6_For_4_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
72
|
+
i0.ɵɵelementStart(0, "button", 13);
|
|
73
|
+
i0.ɵɵlistener("click", function MJCContractSupersedePanel_Conditional_6_For_4_Template_button_click_0_listener() { const p_r7 = i0.ɵɵrestoreView(_r6).$implicit; const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.UnlinkSupersedes(p_r7.ID)); });
|
|
74
|
+
i0.ɵɵtext(1);
|
|
75
|
+
i0.ɵɵelementEnd();
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
const p_r7 = ctx.$implicit;
|
|
78
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
79
|
+
i0.ɵɵproperty("disabled", ctx_r3.Busy);
|
|
80
|
+
i0.ɵɵattribute("aria-label", "Stop superseding " + p_r7.ContractNumber);
|
|
81
|
+
i0.ɵɵadvance();
|
|
82
|
+
i0.ɵɵtextInterpolate1(" Unlink ", p_r7.ContractNumber, " ");
|
|
83
|
+
} }
|
|
84
|
+
function MJCContractSupersedePanel_Conditional_6_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
+
i0.ɵɵelement(0, "mj-alert", 10);
|
|
86
|
+
} if (rf & 2) {
|
|
87
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
88
|
+
i0.ɵɵproperty("Message", ctx_r3.LoadError);
|
|
89
|
+
} }
|
|
90
|
+
function MJCContractSupersedePanel_Conditional_6_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
+
i0.ɵɵelement(0, "mj-alert", 11);
|
|
92
|
+
} if (rf & 2) {
|
|
93
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
94
|
+
i0.ɵɵproperty("Message", ctx_r3.LinkError);
|
|
95
|
+
} }
|
|
96
|
+
function MJCContractSupersedePanel_Conditional_6_Conditional_9_Template(rf, ctx) { if (rf & 1) {
|
|
97
|
+
i0.ɵɵelement(0, "mj-alert", 12);
|
|
98
|
+
} if (rf & 2) {
|
|
99
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
100
|
+
i0.ɵɵproperty("Message", ctx_r3.LinkOk);
|
|
101
|
+
} }
|
|
102
|
+
function MJCContractSupersedePanel_Conditional_6_Conditional_10_Template(rf, ctx) { if (rf & 1) {
|
|
103
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
104
|
+
i0.ɵɵtext(1, " Nothing eligible: a predecessor must sit at the same level as this contract and must not already be superseded. ");
|
|
105
|
+
i0.ɵɵelementEnd();
|
|
106
|
+
} }
|
|
107
|
+
function MJCContractSupersedePanel_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
109
|
+
i0.ɵɵelementStart(0, "mj-combobox", 6);
|
|
110
|
+
i0.ɵɵtwoWayListener("ngModelChange", function MJCContractSupersedePanel_Conditional_6_Template_mj_combobox_ngModelChange_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r3.PickedPredecessorID, $event) || (ctx_r3.PickedPredecessorID = $event); return i0.ɵɵresetView($event); });
|
|
111
|
+
i0.ɵɵelementEnd();
|
|
112
|
+
i0.ɵɵelementStart(1, "button", 7);
|
|
113
|
+
i0.ɵɵlistener("click", function MJCContractSupersedePanel_Conditional_6_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.LinkSupersedes()); });
|
|
114
|
+
i0.ɵɵtext(2);
|
|
115
|
+
i0.ɵɵelementEnd();
|
|
116
|
+
i0.ɵɵrepeaterCreate(3, MJCContractSupersedePanel_Conditional_6_For_4_Template, 2, 3, "button", 8, _forTrack0);
|
|
117
|
+
i0.ɵɵelementStart(5, "div", 9);
|
|
118
|
+
i0.ɵɵtext(6, " Link writes the OTHER contract - it marks the one you pick as superseded by this agreement - so Save cannot do it: Save only writes this record. ");
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
i0.ɵɵconditionalCreate(7, MJCContractSupersedePanel_Conditional_6_Conditional_7_Template, 1, 1, "mj-alert", 10);
|
|
121
|
+
i0.ɵɵconditionalCreate(8, MJCContractSupersedePanel_Conditional_6_Conditional_8_Template, 1, 1, "mj-alert", 11);
|
|
122
|
+
i0.ɵɵconditionalCreate(9, MJCContractSupersedePanel_Conditional_6_Conditional_9_Template, 1, 1, "mj-alert", 12);
|
|
123
|
+
i0.ɵɵconditionalCreate(10, MJCContractSupersedePanel_Conditional_6_Conditional_10_Template, 2, 0, "div", 9);
|
|
124
|
+
} if (rf & 2) {
|
|
125
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
126
|
+
i0.ɵɵproperty("Data", ctx_r3.Candidates)("ValuePrimitive", true)("Filterable", true)("Disabled", ctx_r3.Busy);
|
|
127
|
+
i0.ɵɵtwoWayProperty("ngModel", ctx_r3.PickedPredecessorID);
|
|
128
|
+
i0.ɵɵadvance();
|
|
129
|
+
i0.ɵɵproperty("disabled", ctx_r3.Busy || !ctx_r3.PickedPredecessorID);
|
|
130
|
+
i0.ɵɵadvance();
|
|
131
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r3.Busy ? "Linking\u2026" : "Link", " ");
|
|
132
|
+
i0.ɵɵadvance();
|
|
133
|
+
i0.ɵɵrepeater(ctx_r3.Supersedes);
|
|
134
|
+
i0.ɵɵadvance(4);
|
|
135
|
+
i0.ɵɵconditional(ctx_r3.LoadError ? 7 : -1);
|
|
136
|
+
i0.ɵɵadvance();
|
|
137
|
+
i0.ɵɵconditional(ctx_r3.LinkError ? 8 : -1);
|
|
138
|
+
i0.ɵɵadvance();
|
|
139
|
+
i0.ɵɵconditional(ctx_r3.LinkOk ? 9 : -1);
|
|
140
|
+
i0.ɵɵadvance();
|
|
141
|
+
i0.ɵɵconditional(!ctx_r3.Candidates.length && !ctx_r3.CandidatesLoading && !ctx_r3.LoadError ? 10 : -1);
|
|
142
|
+
} }
|
|
143
|
+
/** The server-side operation key. One place, because RouteOperation is stringly typed. */
|
|
144
|
+
const SUPERSEDE_OP = 'Contracts.Supersede';
|
|
145
|
+
let MJCContractSupersedePanel = class MJCContractSupersedePanel extends BaseFormPanel {
|
|
146
|
+
cdr = inject(ChangeDetectorRef);
|
|
147
|
+
PickedPredecessorID = '';
|
|
148
|
+
Busy = false;
|
|
149
|
+
LinkError = '';
|
|
150
|
+
/** Confirmation, so a working link is never indistinguishable from a silent no-op. */
|
|
151
|
+
LinkOk = '';
|
|
152
|
+
CandidatesLoading = false;
|
|
153
|
+
/** Why the candidate list is empty, when the reason is a failure rather than genuinely nothing. */
|
|
154
|
+
LoadError = '';
|
|
155
|
+
Supersedes = [];
|
|
156
|
+
_candidates = [];
|
|
157
|
+
loaded = false;
|
|
158
|
+
/** Eligible predecessors. Loaded on first read; no EditMode gate, because the panel is always shown. */
|
|
159
|
+
get Candidates() {
|
|
160
|
+
if (!this.loaded && this.Record?.ID) {
|
|
161
|
+
this.loaded = true;
|
|
162
|
+
void this.load();
|
|
163
|
+
}
|
|
164
|
+
return this._candidates;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Re-paper: ask the SERVER to point this agreement at the contract it replaces.
|
|
168
|
+
*
|
|
169
|
+
* WHY AN OPERATION AND NOT ENTITY CALLS FROM HERE. The write targets a different record — the FK
|
|
170
|
+
* lives on the predecessor — so this panel used to load and save a foreign contract itself, which
|
|
171
|
+
* is server work done in the client. It also could not work: in the browser MJ resolves the
|
|
172
|
+
* CodeGen-generated entity class rather than the app subclass, so `ContractEntity.Supersede()` is
|
|
173
|
+
* absent client-side (MJ#4002). Server-side the app subclass resolves correctly and every rule in
|
|
174
|
+
* `ContractEntityServer.ValidateAsync()` actually runs.
|
|
175
|
+
*
|
|
176
|
+
* `RouteOperation` rather than a generated typed client: the server resolves an operation purely
|
|
177
|
+
* from the ClassFactory by key, so no `MJ: Remote Operations` metadata row and no CodeGen file run
|
|
178
|
+
* is needed for this to work. The trade is a stringly-typed key, kept in one place below.
|
|
179
|
+
*
|
|
180
|
+
* The operation RETURNS the live list, which is what fixes the stale Unlink button: this panel no
|
|
181
|
+
* longer maintains its own cached idea of what the contract supersedes.
|
|
182
|
+
*/
|
|
183
|
+
async LinkSupersedes() {
|
|
184
|
+
await this.invoke(this.PickedPredecessorID || null, 'Linked — that contract is now superseded by this agreement.');
|
|
185
|
+
}
|
|
186
|
+
/** Release one predecessor. `null` predecessor = release everything. */
|
|
187
|
+
async UnlinkSupersedes(_predecessorID) {
|
|
188
|
+
await this.invoke(null, 'Unlinked — that agreement is no longer superseded by this one.');
|
|
189
|
+
}
|
|
190
|
+
async invoke(predecessorID, okMessage) {
|
|
191
|
+
if (!this.Record?.ID)
|
|
192
|
+
return;
|
|
193
|
+
this.Busy = true;
|
|
194
|
+
this.LinkError = '';
|
|
195
|
+
this.LinkOk = '';
|
|
196
|
+
try {
|
|
197
|
+
const { Metadata } = await import('@memberjunction/core');
|
|
198
|
+
// RouteOperation is declared on IRemoteOperationProvider, not IMetadataProvider — the same
|
|
199
|
+
// narrowing BaseRemotableOperation.Execute() does before calling it.
|
|
200
|
+
const provider = (this.FormComponent?.ProviderToUse ?? Metadata.Provider);
|
|
201
|
+
if (typeof provider?.RouteOperation !== 'function') {
|
|
202
|
+
throw new Error('This provider cannot route remote operations, so re-papering is unavailable here.');
|
|
203
|
+
}
|
|
204
|
+
const result = await provider.RouteOperation(SUPERSEDE_OP, { SuccessorID: this.Record.ID, PredecessorID: predecessorID });
|
|
205
|
+
if (!result?.Success) {
|
|
206
|
+
throw new Error(result?.ErrorMessage || 'The server did not complete the request.');
|
|
207
|
+
}
|
|
208
|
+
const out = result.Output;
|
|
209
|
+
// Trust the server's list over anything this panel believed.
|
|
210
|
+
this.Supersedes = out?.Supersedes ?? [];
|
|
211
|
+
if (out?.Refused) {
|
|
212
|
+
this.LinkError = out.Refused;
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
this.LinkOk = okMessage + (out?.Released?.length ? ` Released ${out.Released.join(', ')}.` : '');
|
|
216
|
+
this.PickedPredecessorID = '';
|
|
217
|
+
}
|
|
218
|
+
await this.loadCandidates();
|
|
219
|
+
}
|
|
220
|
+
catch (e) {
|
|
221
|
+
this.LinkError = e instanceof Error ? e.message : String(e);
|
|
222
|
+
}
|
|
223
|
+
finally {
|
|
224
|
+
this.Busy = false;
|
|
225
|
+
this.cdr.detectChanges();
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* What this contract already replaces, and what it may replace.
|
|
230
|
+
*
|
|
231
|
+
* The same-level predicate is written two ways because `ParentContractID = NULL` matches nothing in
|
|
232
|
+
* SQL: a top-level contract's peers need `IS NULL`, a child's need an equality. Getting that wrong
|
|
233
|
+
* silently offers an empty list to every root contract, which is most of them.
|
|
234
|
+
*
|
|
235
|
+
* This mirrors `refuseCrossLevelSupersession` on the server but does not replace it: this decides
|
|
236
|
+
* what to OFFER, the server decides what is ALLOWED, and if they disagree the server wins.
|
|
237
|
+
*/
|
|
238
|
+
async load() {
|
|
239
|
+
await this.loadSupersedes();
|
|
240
|
+
await this.loadCandidates();
|
|
241
|
+
}
|
|
242
|
+
/** What this contract already replaces. Read live; the operation also returns it after a write. */
|
|
243
|
+
async loadSupersedes() {
|
|
244
|
+
const me = this.Record.ID;
|
|
245
|
+
const { ScopedRunView } = await import('../data/provider');
|
|
246
|
+
const rv = ScopedRunView(this.FormComponent?.ProviderToUse);
|
|
247
|
+
this.CandidatesLoading = true;
|
|
248
|
+
try {
|
|
249
|
+
const mine = await rv.RunView({
|
|
250
|
+
EntityName: MJC_ENTITIES.Contract,
|
|
251
|
+
Fields: ['ID', 'ContractNumber'],
|
|
252
|
+
ExtraFilter: `SupersededByContractID = '${me}'`,
|
|
253
|
+
OrderBy: 'ContractNumber ASC',
|
|
254
|
+
ResultType: 'simple',
|
|
255
|
+
});
|
|
256
|
+
this.Supersedes = mine?.Success ? mine.Results : [];
|
|
257
|
+
}
|
|
258
|
+
catch {
|
|
259
|
+
this.Supersedes = [];
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
/** Eligible predecessors: same level, not already superseded, not this contract. */
|
|
263
|
+
async loadCandidates() {
|
|
264
|
+
const me = this.Record.ID;
|
|
265
|
+
const { ScopedRunView } = await import('../data/provider');
|
|
266
|
+
const rv = ScopedRunView(this.FormComponent?.ProviderToUse);
|
|
267
|
+
this.CandidatesLoading = true;
|
|
268
|
+
try {
|
|
269
|
+
const parentID = this.Record?.ParentContractID ?? null;
|
|
270
|
+
const sameLevel = parentID === null ? 'ParentContractID IS NULL' : `ParentContractID = '${parentID}'`;
|
|
271
|
+
const r = await rv.RunView({
|
|
272
|
+
EntityName: MJC_ENTITIES.Contract,
|
|
273
|
+
Fields: ['ID', 'ContractNumber', 'ContractType'],
|
|
274
|
+
ExtraFilter: `${sameLevel} AND SupersededByContractID IS NULL AND ID <> '${me}'`,
|
|
275
|
+
OrderBy: 'ContractNumber ASC',
|
|
276
|
+
ResultType: 'simple',
|
|
277
|
+
});
|
|
278
|
+
this._candidates = (r?.Success ? r.Results : []).map((c) => ({
|
|
279
|
+
...c,
|
|
280
|
+
Label: `${c.ContractNumber} — ${c.ContractType ?? 'Contract'}`,
|
|
281
|
+
}));
|
|
282
|
+
}
|
|
283
|
+
catch (e) {
|
|
284
|
+
// Do NOT swallow this. An empty list and a failed read look identical in the UI, and the
|
|
285
|
+
// difference is the whole diagnosis — an earlier version returned [] here and the picker
|
|
286
|
+
// simply sat greyed out with nothing to explain it.
|
|
287
|
+
this._candidates = [];
|
|
288
|
+
this.LoadError = `Could not read eligible contracts: ${e instanceof Error ? e.message : String(e)}`;
|
|
289
|
+
this.loaded = false; // let the next read retry
|
|
290
|
+
}
|
|
291
|
+
finally {
|
|
292
|
+
this.CandidatesLoading = false;
|
|
293
|
+
this.cdr.detectChanges();
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
static ɵfac = /*@__PURE__*/ (() => { let ɵMJCContractSupersedePanel_BaseFactory; return function MJCContractSupersedePanel_Factory(__ngFactoryType__) { return (ɵMJCContractSupersedePanel_BaseFactory || (ɵMJCContractSupersedePanel_BaseFactory = i0.ɵɵgetInheritedFactory(MJCContractSupersedePanel)))(__ngFactoryType__ || MJCContractSupersedePanel); }; })();
|
|
297
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJCContractSupersedePanel, selectors: [["mjc-contract-supersede-panel"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 7, vars: 3, consts: [["SectionKey", "contractSupersede", "SectionName", "Re-papering", "Icon", "fa-solid fa-arrow-right-arrow-left", 3, "Form", "FormContext"], [1, "mj-forms-field"], [1, "mj-forms-field-label"], [1, "mj-forms-field-control"], [1, "mj-forms-field-value"], [1, "mjc-chip", "mjc-chip--muted"], ["TextField", "Label", "ValueField", "ID", "Placeholder", "Search contracts at this level\u2026", 3, "ngModelChange", "Data", "ValuePrimitive", "Filterable", "Disabled", "ngModel"], ["mjButton", "", "variant", "primary", "size", "sm", "type", "button", 3, "click", "disabled"], ["mjButton", "", "variant", "flat", "size", "sm", "type", "button", 3, "disabled"], [1, "mjc-hint"], ["Variant", "warning", "Size", "sm", 3, "Message"], ["Variant", "error", "Size", "sm", 3, "Message"], ["Variant", "success", "Size", "sm", 3, "Message"], ["mjButton", "", "variant", "flat", "size", "sm", "type", "button", 3, "click", "disabled"]], template: function MJCContractSupersedePanel_Template(rf, ctx) { if (rf & 1) {
|
|
298
|
+
i0.ɵɵelementStart(0, "mj-collapsible-panel", 0)(1, "div", 1)(2, "label", 2);
|
|
299
|
+
i0.ɵɵtext(3, "Supersedes");
|
|
300
|
+
i0.ɵɵelementEnd();
|
|
301
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
302
|
+
i0.ɵɵconditionalCreate(5, MJCContractSupersedePanel_Conditional_5_Template, 5, 2, "span", 4)(6, MJCContractSupersedePanel_Conditional_6_Template, 11, 11);
|
|
303
|
+
i0.ɵɵelementEnd()()();
|
|
304
|
+
} if (rf & 2) {
|
|
305
|
+
i0.ɵɵproperty("Form", ctx.FormComponent)("FormContext", ctx.FormContext);
|
|
306
|
+
i0.ɵɵadvance(5);
|
|
307
|
+
i0.ɵɵconditional(ctx.EditMode || !(ctx.Record == null ? null : ctx.Record.IsSaved) ? 5 : 6);
|
|
308
|
+
} }, dependencies: [CommonModule, FormsModule, i1.NgControlStatus, i1.NgModel, BaseFormsModule, i2.MjCollapsiblePanelComponent, MJComboboxComponent, MJButtonDirective, MJAlertComponent], encapsulation: 2 });
|
|
309
|
+
};
|
|
310
|
+
MJCContractSupersedePanel = __decorate([
|
|
311
|
+
RegisterClassEx(BaseFormPanel, {
|
|
312
|
+
key: 'contracts:supersede',
|
|
313
|
+
skipNullKeyWarning: true,
|
|
314
|
+
metadata: {
|
|
315
|
+
entity: MJC_ENTITIES.Contract,
|
|
316
|
+
// `after-fields` puts this in the FIELD-panel band, which the left-nav chrome collapses into
|
|
317
|
+
// the single "Details" rail item (FORMS_ARCHITECTURE_GUIDE §7d). That is deliberate: it is a
|
|
318
|
+
// property of this agreement, and it avoids the related-entity variant entirely.
|
|
319
|
+
slot: 'after-fields',
|
|
320
|
+
sortKey: 40,
|
|
321
|
+
contributionKey: 'supersede',
|
|
322
|
+
},
|
|
323
|
+
})
|
|
324
|
+
], MJCContractSupersedePanel);
|
|
325
|
+
export { MJCContractSupersedePanel };
|
|
326
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJCContractSupersedePanel, [{
|
|
327
|
+
type: Component,
|
|
328
|
+
args: [{
|
|
329
|
+
selector: 'mjc-contract-supersede-panel',
|
|
330
|
+
standalone: true,
|
|
331
|
+
encapsulation: ViewEncapsulation.None,
|
|
332
|
+
imports: [CommonModule, FormsModule, BaseFormsModule, MJComboboxComponent, MJButtonDirective, MJAlertComponent],
|
|
333
|
+
template: `
|
|
334
|
+
<mj-collapsible-panel
|
|
335
|
+
SectionKey="contractSupersede"
|
|
336
|
+
SectionName="Re-papering"
|
|
337
|
+
Icon="fa-solid fa-arrow-right-arrow-left"
|
|
338
|
+
[Form]="FormComponent"
|
|
339
|
+
[FormContext]="FormContext">
|
|
340
|
+
|
|
341
|
+
<!-- Mirrors mj-form-field's own markup (mj-forms-field / -label / -control / -value) so this
|
|
342
|
+
reads as an ordinary form line. It cannot BE an mj-form-field: that binds to a field on
|
|
343
|
+
THIS record, and the supersession FK lives on the predecessor. -->
|
|
344
|
+
<div class="mj-forms-field">
|
|
345
|
+
<label class="mj-forms-field-label">Supersedes</label>
|
|
346
|
+
<div class="mj-forms-field-control">
|
|
347
|
+
|
|
348
|
+
<!-- AVAILABLE WHEN NOT EDITING, unavailable while editing (Marcelo, 2026-08-21).
|
|
349
|
+
Inverted from the usual field pattern on purpose: this control does not edit a
|
|
350
|
+
field on THIS record, it writes the OTHER contract. It therefore needs this
|
|
351
|
+
contract SAVED - a predecessor cannot point at a row that does not exist yet -
|
|
352
|
+
and an in-progress edit is exactly when that is not true. So while the form is
|
|
353
|
+
dirty/editing it shows the value read-only, and the picker returns when the
|
|
354
|
+
edit is finished. -->
|
|
355
|
+
@if (EditMode || !Record?.IsSaved) {
|
|
356
|
+
<span class="mj-forms-field-value">
|
|
357
|
+
@if (Supersedes.length) {
|
|
358
|
+
@for (p of Supersedes; track p.ID) {
|
|
359
|
+
{{ p.ContractNumber }}{{ $last ? '' : ', ' }}
|
|
360
|
+
}
|
|
361
|
+
} @else {
|
|
362
|
+
—
|
|
363
|
+
}
|
|
364
|
+
<span class="mjc-chip mjc-chip--muted">
|
|
365
|
+
{{ Record?.IsSaved ? 'finish editing to change this' : 'save this contract first' }}
|
|
366
|
+
</span>
|
|
367
|
+
</span>
|
|
368
|
+
} @else {
|
|
369
|
+
<mj-combobox
|
|
370
|
+
[Data]="Candidates"
|
|
371
|
+
TextField="Label"
|
|
372
|
+
ValueField="ID"
|
|
373
|
+
[ValuePrimitive]="true"
|
|
374
|
+
[Filterable]="true"
|
|
375
|
+
[Disabled]="Busy"
|
|
376
|
+
Placeholder="Search contracts at this level…"
|
|
377
|
+
[(ngModel)]="PickedPredecessorID" />
|
|
378
|
+
|
|
379
|
+
<button mjButton variant="primary" size="sm" type="button"
|
|
380
|
+
[disabled]="Busy || !PickedPredecessorID"
|
|
381
|
+
(click)="LinkSupersedes()">
|
|
382
|
+
{{ Busy ? 'Linking…' : 'Link' }}
|
|
383
|
+
</button>
|
|
384
|
+
|
|
385
|
+
@for (p of Supersedes; track p.ID) {
|
|
386
|
+
<button mjButton variant="flat" size="sm" type="button" [disabled]="Busy"
|
|
387
|
+
(click)="UnlinkSupersedes(p.ID)"
|
|
388
|
+
[attr.aria-label]="'Stop superseding ' + p.ContractNumber">
|
|
389
|
+
Unlink {{ p.ContractNumber }}
|
|
390
|
+
</button>
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
<div class="mjc-hint">
|
|
394
|
+
Link writes the OTHER contract - it marks the one you pick as superseded by this
|
|
395
|
+
agreement - so Save cannot do it: Save only writes this record.
|
|
396
|
+
</div>
|
|
397
|
+
|
|
398
|
+
@if (LoadError) { <mj-alert Variant="warning" Size="sm" [Message]="LoadError" /> }
|
|
399
|
+
@if (LinkError) { <mj-alert Variant="error" Size="sm" [Message]="LinkError" /> }
|
|
400
|
+
@if (LinkOk) { <mj-alert Variant="success" Size="sm" [Message]="LinkOk" /> }
|
|
401
|
+
@if (!Candidates.length && !CandidatesLoading && !LoadError) {
|
|
402
|
+
<div class="mjc-hint">
|
|
403
|
+
Nothing eligible: a predecessor must sit at the same level as this contract and
|
|
404
|
+
must not already be superseded.
|
|
405
|
+
</div>
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
</div>
|
|
409
|
+
</div>
|
|
410
|
+
</mj-collapsible-panel>
|
|
411
|
+
`,
|
|
412
|
+
}]
|
|
413
|
+
}], null, null); })();
|
|
414
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJCContractSupersedePanel, { className: "MJCContractSupersedePanel", filePath: "lib/form-panels/supersede.panel.ts", lineNumber: 136 }); })();
|
|
415
|
+
//# sourceMappingURL=supersede.panel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supersede.panel.js","sourceRoot":"","sources":["../../../src/lib/form-panels/supersede.panel.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACxF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAG5G,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;;;;;;IAmDhB,YACJ;;;;;IADI,yGACJ;;;IAFA,0HAEC;;;IAFD,gCAEC;;;IAED,wBACJ;;;IAPJ,+BAAmC;IAK7B,AAJF,+FAAyB,yEAIhB;IAGT,+BAAuC;IACnC,YACJ;IACJ,AADI,iBAAO,EACJ;;;IAVH,cAMC;IAND,kDAMC;IAEG,eACJ;IADI,sJACJ;;;;IAoBA,kCAEmE;IAD3D,2NAAS,gCAAsB,KAAC;IAEpC,YACJ;IAAA,iBAAS;;;;IAJ+C,sCAAiB;;IAGrE,cACJ;IADI,2DACJ;;;IAQc,+BAA8D;;;IAAxB,0CAAqB;;;IAC3D,+BAA4D;;;IAAxB,0CAAqB;;;IAC5D,+BAA2D;;;IAArB,uCAAkB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;IAlGrC,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,qBAAqB;QAC1B,kBAAkB,EAAE,IAAI;QACxB,QAAQ,EAAE;YACN,MAAM,EAAE,YAAY,CAAC,QAAQ;YAC7B,6FAA6F;YAC7F,6FAA6F;YAC7F,iFAAiF;YACjF,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,EAAE;YACX,eAAe,EAAE,WAAW;SAC/B;KACJ,CAAC;GAsFW,yBAAyB,CA0JrC;;iFA1JY,yBAAyB;cArFrC,SAAS;eAAC;gBACP,QAAQ,EAAE,8BAA8B;gBACxC,UAAU,EAAE,IAAI;gBAChB,aAAa,EAAE,iBAAiB,CAAC,IAAI;gBACrC,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,gBAAgB,CAAC;gBAC/G,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8ET;aACJ;;kFACY,yBAAyB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { mjBizAppsContractsContractEntity } from '@mj-biz-apps/contracts-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class mjBizAppsContractsContractFormComponent extends BaseFormComponent {
|
|
5
|
+
record: mjBizAppsContractsContractEntity;
|
|
6
|
+
ngOnInit(): Promise<void>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<mjBizAppsContractsContractFormComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<mjBizAppsContractsContractFormComponent, "gen-mjbizappscontractscontract-form", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=mjbizappscontractscontract.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mjbizappscontractscontract.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/mjBizAppsContractsContract/mjbizappscontractscontract.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,iCAAiC,CAAC;AAEnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAGlE,qBAMa,uCAAwC,SAAQ,iBAAiB;IACnE,MAAM,EAAG,gCAAgC,CAAC;IAElC,QAAQ;yCAHd,uCAAuC;2CAAvC,uCAAuC;CAmBnD"}
|