@dyedurham/search-and-file-widget 2.0.80 → 2.0.82
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/dnd-filing-shell.js +8 -10
- package/package.json +1 -1
package/dnd-filing-shell.js
CHANGED
|
@@ -57950,6 +57950,9 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
57950
57950
|
function isPrincipalAffiliation2(affiliation) {
|
|
57951
57951
|
return affiliation.kind === "PrincipalAffiliationV3";
|
|
57952
57952
|
}
|
|
57953
|
+
function getIndividualDirectors(affiliations) {
|
|
57954
|
+
return affiliations.filter((a) => isPrincipalAffiliation2(a) && a.role?.role_name === "Director" && a._participant?.participant_type === "person");
|
|
57955
|
+
}
|
|
57953
57956
|
function getAddressComponent(address, componentName) {
|
|
57954
57957
|
if (!address)
|
|
57955
57958
|
return "";
|
|
@@ -84431,7 +84434,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
84431
84434
|
const isNumberedCompany = ext._numbered_company;
|
|
84432
84435
|
const config2 = {};
|
|
84433
84436
|
const corporateName = delta?.corporateName;
|
|
84434
|
-
const directors = (task.entity.affiliations ?? [])
|
|
84437
|
+
const directors = getIndividualDirectors(task.entity.affiliations ?? []);
|
|
84435
84438
|
if (directors.length) {
|
|
84436
84439
|
const deltaDirectorsMap = delta?.directors;
|
|
84437
84440
|
const directorGroups = directors.map((director) => {
|
|
@@ -85012,7 +85015,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85012
85015
|
}
|
|
85013
85016
|
});
|
|
85014
85017
|
effect(() => {
|
|
85015
|
-
const directors = (this.task()?.entity.affiliations ?? [])
|
|
85018
|
+
const directors = getIndividualDirectors(this.task()?.entity.affiliations ?? []);
|
|
85016
85019
|
const directorOptions = directors.map((director) => ({ label: getPersonName(director.participant), value: director.participant._id }));
|
|
85017
85020
|
this.federalFormationFormInviteDirectorsToBeManagersControl = generateFederalFormationFormInviteDirectorsToBeManagersControl(directorOptions);
|
|
85018
85021
|
});
|
|
@@ -85187,11 +85190,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85187
85190
|
exclusionReason.updateValueAndValidity({ emitEvent: false });
|
|
85188
85191
|
}
|
|
85189
85192
|
getSelectableIndividualsWithSignificantControl(affiliations) {
|
|
85190
|
-
|
|
85191
|
-
if (significantControlAffiliations.length) {
|
|
85192
|
-
return significantControlAffiliations;
|
|
85193
|
-
}
|
|
85194
|
-
return affiliations.filter((a) => isPrincipalAffiliation2(a) && a._participant.participant_type === "person" && !["Contact", "Agent", "Responsible"].includes(a.role?.role_name ?? ""));
|
|
85193
|
+
return getIndividualWithSignificantControl(affiliations);
|
|
85195
85194
|
}
|
|
85196
85195
|
getFormArray(key) {
|
|
85197
85196
|
return this.form().get(key);
|
|
@@ -85540,7 +85539,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
85540
85539
|
}], () => [], null);
|
|
85541
85540
|
})();
|
|
85542
85541
|
(() => {
|
|
85543
|
-
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber:
|
|
85542
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(FederalIncorporationFormComponent, { className: "FederalIncorporationFormComponent", filePath: "src/app/components/federal/incorporation/federal-incorporation-form/federal-incorporation-form.component.ts", lineNumber: 76 });
|
|
85544
85543
|
})();
|
|
85545
85544
|
}
|
|
85546
85545
|
});
|
|
@@ -88093,7 +88092,7 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88093
88092
|
const mailingAddressUid = deltaData.registeredOfficeAddress?.mailingAddressForCorrespondenceUid;
|
|
88094
88093
|
const mailingAddress = useDifferentMailingAddress ? task.entity.addresses.find((address) => address.uid === mailingAddressUid) : void 0;
|
|
88095
88094
|
const registeredOfficeAddress = findRegisteredOfficeAddress(task);
|
|
88096
|
-
const directors = task.entity.affiliations
|
|
88095
|
+
const directors = getIndividualDirectors(task.entity.affiliations);
|
|
88097
88096
|
const incorporators = task._ext._incorporators ?? [];
|
|
88098
88097
|
const requestedDate = task._ext._future_filing_date ? new Date(task._ext._future_filing_date).toISOString().split("T")[0] : (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
88099
88098
|
const officialBusinessEmail = registeredOfficeAddress?.communications?.find((c) => c.type === "Business Email")?.value;
|
|
@@ -88405,7 +88404,6 @@ Note: Recommended intrinsic image size is calculated assuming a maximum DPR of $
|
|
|
88405
88404
|
}
|
|
88406
88405
|
var init_federal_formation_mapper = __esm({
|
|
88407
88406
|
"src/app/helpers/mappers/federal-formation.mapper.ts"() {
|
|
88408
|
-
init_ECoreInterfaces();
|
|
88409
88407
|
init_transform_utils();
|
|
88410
88408
|
init_address_utils();
|
|
88411
88409
|
init_common_utils();
|